diff --git a/.eslintrc.json b/.eslintrc.json index 4dfa939d385d4..2ef47b8d3847f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -100,17 +100,8 @@ } ], "no-use-before-define": "off", - "@typescript-eslint/no-use-before-define": [ - "warn", - { - "functions": true, - "classes": true, - "variables": true, - "enums": true, - "typedefs": true - } - ], "no-useless-constructor": "off", + "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-useless-constructor": "warn", "@typescript-eslint/prefer-literal-enum-member": "error" } @@ -318,14 +309,7 @@ "ignoreRestSiblings": true } ], - "no-use-before-define": [ - "warn", - { - "functions": false, - "classes": false, - "variables": false - } - ], + "no-use-before-define": "off", "no-useless-computed-key": "warn", "no-useless-concat": "warn", "no-useless-constructor": "warn", diff --git a/.github/actions/needs-triage/action.yaml b/.github/actions/needs-triage/action.yaml index 41bac297eb8d0..e32b61a897d95 100644 --- a/.github/actions/needs-triage/action.yaml +++ b/.github/actions/needs-triage/action.yaml @@ -2,5 +2,5 @@ name: 'Issue auto label' description: 'vercel/next.js specific auto-labeling action' author: 'Next.js team' runs: - using: 'node16' + using: 'node20' main: 'index.js' diff --git a/.github/actions/next-stats-action/Dockerfile b/.github/actions/next-stats-action/Dockerfile index c4cece13794ec..acdb4b43b92ff 100644 --- a/.github/actions/next-stats-action/Dockerfile +++ b/.github/actions/next-stats-action/Dockerfile @@ -9,7 +9,7 @@ RUN apt install unzip wget curl nano htop screen build-essential pkg-config libs RUN ln $(which python3) /usr/bin/python -RUN curl -sfLS https://install-node.vercel.app/v18 | bash -s -- -f +RUN curl -sfLS https://install-node.vercel.app/v18.17.0 | bash -s -- -f RUN corepack enable WORKDIR /next-stats diff --git a/.github/actions/next-stats-action/package.json b/.github/actions/next-stats-action/package.json index d5e4c5384aba5..71dafeb94e48f 100644 --- a/.github/actions/next-stats-action/package.json +++ b/.github/actions/next-stats-action/package.json @@ -18,7 +18,7 @@ "typescript": "5.1.6" }, "engines": { - "node": ">=16.14.0", + "node": ">=18.17.0", "pnpm": "8.9.0" }, "packageManager": "pnpm@8.9.0" diff --git a/.github/actions/validate-docs-links/src/index.ts b/.github/actions/validate-docs-links/src/index.ts index da89f094adb01..de6e2eb8d8c6f 100644 --- a/.github/actions/validate-docs-links/src/index.ts +++ b/.github/actions/validate-docs-links/src/index.ts @@ -189,7 +189,7 @@ async function prepareDocumentMapEntry( // Checks if the links point to existing documents function validateInternalLink(errors: Errors, href: string): void { // /docs/api/example#heading -> ["api/example", "heading""] - const [link, hash] = href.replace(DOCS_PATH, '').split('#') + const [link, hash] = href.replace(DOCS_PATH, '').split('#', 2) let foundPage diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 0547c39f95d7f..599ba653c36c1 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -8,8 +8,7 @@ on: env: NAPI_CLI_VERSION: 2.16.2 TURBO_VERSION: 1.10.9 - NODE_MAINTENANCE_VERSION: 16 - NODE_LTS_VERSION: 18 + NODE_LTS_VERSION: 20 CARGO_PROFILE_RELEASE_LTO: 'true' TURBO_TEAM: 'vercel' TURBO_REMOTE_ONLY: 'true' diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 1f4d50d639ed3..37b1639ceedf7 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -9,8 +9,7 @@ on: env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.10.9 - NODE_MAINTENANCE_VERSION: 16 - NODE_LTS_VERSION: 18 + NODE_LTS_VERSION: 20 TEST_CONCURRENCY: 8 # disable backtrace for test snapshots RUST_BACKTRACE: 0 @@ -147,7 +146,7 @@ jobs: group: [1, 2, 3, 4, 5] uses: ./.github/workflows/build_reusable.yml with: - nodeVersion: 16 + nodeVersion: 18.17.0 skipForDocsOnly: 'yes' afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.json" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --type integration secrets: inherit @@ -212,7 +211,7 @@ jobs: uses: ./.github/workflows/build_reusable.yml with: - nodeVersion: 16 + nodeVersion: 18.17.0 skipForDocsOnly: 'yes' afterBuild: node run-tests.js --timings -g ${{ matrix.group }}/12 -c ${TEST_CONCURRENCY} --type integration secrets: inherit diff --git a/.github/workflows/build_reusable.yml b/.github/workflows/build_reusable.yml index be5bc2afa1e45..849580725961a 100644 --- a/.github/workflows/build_reusable.yml +++ b/.github/workflows/build_reusable.yml @@ -57,8 +57,7 @@ on: env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.10.9 - NODE_MAINTENANCE_VERSION: 16 - NODE_LTS_VERSION: 18 + NODE_LTS_VERSION: 20 TEST_CONCURRENCY: 8 # disable backtrace for test snapshots RUST_BACKTRACE: 0 diff --git a/.github/workflows/code_freeze.yml b/.github/workflows/code_freeze.yml index 3c4c8b23f6bf4..e7813a5b1868e 100644 --- a/.github/workflows/code_freeze.yml +++ b/.github/workflows/code_freeze.yml @@ -18,8 +18,7 @@ name: Code Freeze env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.10.9 - NODE_MAINTENANCE_VERSION: 16 - NODE_LTS_VERSION: 18 + NODE_LTS_VERSION: 20 jobs: start: diff --git a/.github/workflows/pull_request_stats.yml b/.github/workflows/pull_request_stats.yml index a4e60b6cfac11..c88e5a76ad256 100644 --- a/.github/workflows/pull_request_stats.yml +++ b/.github/workflows/pull_request_stats.yml @@ -7,8 +7,7 @@ name: Generate Pull Request Stats env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.10.9 - NODE_MAINTENANCE_VERSION: 16 - NODE_LTS_VERSION: 18 + NODE_LTS_VERSION: 20 TEST_CONCURRENCY: 6 TURBO_TEAM: 'vercel' diff --git a/.github/workflows/test_e2e_deploy.yml b/.github/workflows/test_e2e_deploy.yml index 91862bb3b1e50..c906b4487afae 100644 --- a/.github/workflows/test_e2e_deploy.yml +++ b/.github/workflows/test_e2e_deploy.yml @@ -10,14 +10,14 @@ on: jobs: build: runs-on: ubuntu-latest + env: VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }} VERCEL_TEST_TEAM: vtest314-next-e2e-tests DATADOG_API_KEY: ${{ secrets.DATA_DOG_API_KEY }} NAPI_CLI_VERSION: 2.16.2 TURBO_VERSION: 1.10.9 - NODE_MAINTENANCE_VERSION: 16 - NODE_LTS_VERSION: 18 + NODE_LTS_VERSION: 20 CARGO_PROFILE_RELEASE_LTO: 'true' TURBO_TEAM: 'vercel' TURBO_REMOTE_ONLY: 'true' @@ -50,7 +50,7 @@ jobs: - run: RESET_VC_PROJECT=true node scripts/reset-vercel-project.mjs name: Reset test project - - run: docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.35.1-jammy /bin/bash -c "cd /work && NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && corepack enable > /dev/null && DATADOG_TRACE_NEXTJS_TEST=TRUE DATADOG_API_KEY=${DATADOG_API_KEY} DD_ENV=ci VERCEL_TEST_TOKEN=${{ secrets.VERCEL_TEST_TOKEN }} VERCEL_TEST_TEAM=vtest314-next-e2e-tests NEXT_TEST_JOB=1 NEXT_TEST_MODE=deploy TEST_TIMINGS_TOKEN=${{ secrets.TEST_TIMINGS_TOKEN }} NEXT_TEST_CONTINUE_ON_ERROR=1 xvfb-run node run-tests.js --type e2e --timings -g ${{ matrix.group }}/2 -c 2 >> /proc/1/fd/1" + - run: docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.35.1-jammy /bin/bash -c "cd /work && NODE_VERSION=${{ env.NODE_LTS_VERSION }} ./scripts/setup-node.sh && corepack enable > /dev/null && DATADOG_TRACE_NEXTJS_TEST=TRUE DATADOG_API_KEY=${DATADOG_API_KEY} DD_ENV=ci VERCEL_TEST_TOKEN=${{ secrets.VERCEL_TEST_TOKEN }} VERCEL_TEST_TEAM=vtest314-next-e2e-tests NEXT_TEST_JOB=1 NEXT_TEST_MODE=deploy TEST_TIMINGS_TOKEN=${{ secrets.TEST_TIMINGS_TOKEN }} NEXT_TEST_CONTINUE_ON_ERROR=1 xvfb-run node run-tests.js --type e2e --timings -g ${{ matrix.group }}/2 -c 1 >> /proc/1/fd/1" name: Run test/e2e (deploy) - name: Upload test trace diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index 11518dd209b22..be97239a4296c 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - node: [16, 18] + node: [18, 20] steps: - uses: actions/checkout@v3 with: @@ -37,7 +37,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 check-latest: true - run: corepack enable diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index 6faec5b1c37ea..cac8403d282a7 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -30,8 +30,7 @@ name: Trigger Release env: NAPI_CLI_VERSION: 2.14.7 TURBO_VERSION: 1.10.9 - NODE_MAINTENANCE_VERSION: 16 - NODE_LTS_VERSION: 18 + NODE_LTS_VERSION: 20 jobs: start: diff --git a/.github/workflows/update_fonts_data.yml b/.github/workflows/update_fonts_data.yml index 18b53609aa77c..c47e205bf75c9 100644 --- a/.github/workflows/update_fonts_data.yml +++ b/.github/workflows/update_fonts_data.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - NODE_LTS_VERSION: 18 + NODE_LTS_VERSION: 20 jobs: create-pull-request: diff --git a/Cargo.lock b/Cargo.lock index 0133cf263a80f..3f591ab5ce8b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "auto-hash-map" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "serde", "smallvec", @@ -521,9 +521,9 @@ dependencies = [ [[package]] name = "binding_macros" -version = "0.57.26" +version = "0.60.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6caf54b6448f05c25096a528c2a3b292e38fb59298c118edcf9da45ff05515" +checksum = "be6c12f02a22c583432408b7726ed405c693964dd4d13e212f06b829a80c6a17" dependencies = [ "anyhow", "console_error_panic_hook", @@ -1301,19 +1301,24 @@ dependencies = [ [[package]] name = "cssparser" -version = "0.29.6" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa" +checksum = "9be934d936a0fbed5bcdc01042b770de1398bf79d0e192f49fa7faea0e99281e" dependencies = [ "cssparser-macros", "dtoa-short", "itoa", - "matches", "phf", - "proc-macro2", - "quote", "smallvec", - "syn 1.0.109", +] + +[[package]] +name = "cssparser-color" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "556c099a61d85989d7af52b692e35a8d68a57e7df8c6d07563dc0778b3960c9f" +dependencies = [ + "cssparser", ] [[package]] @@ -1474,10 +1479,11 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" dependencies = [ + "powerfmt", "serde", ] @@ -2847,14 +2853,15 @@ dependencies = [ [[package]] name = "lightningcss" -version = "1.0.0-alpha.46" +version = "1.0.0-alpha.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dfe5176488bc25fda36d65ef3570d378a7c48d5ae22a63c030b443e9943b8eb" +checksum = "06476660ee1e593a2672e4a342a1289708fd9936dcdf3e74433ad078145e9e3d" dependencies = [ "ahash 0.7.6", "bitflags 2.4.0", "const-str", "cssparser", + "cssparser-color", "dashmap", "data-encoding", "itertools", @@ -2867,13 +2874,14 @@ dependencies = [ "rayon", "serde", "smallvec", + "static-self", ] [[package]] name = "lightningcss-derive" -version = "1.0.0-alpha.40" +version = "1.0.0-alpha.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fcce94c3a34f43e83e1f92a81eca61697c298149a56489bba1b02ebb93fa607" +checksum = "8f02a09f0b79d31f1ee13ea55e2f7021037c6b72e0a3ab6c1cb0e9bd7ac8a295" dependencies = [ "proc-macro2", "quote", @@ -3007,9 +3015,9 @@ dependencies = [ [[package]] name = "mdxjs" -version = "0.1.17" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c73de74452171e35ed9d82961e403b8b197dcf752b45a51072d83e4813d42d53" +checksum = "7572e57307a72a93fed80bf5aaa0a81cca3a47d7faaf65af4f0d3ac4d84a1715" dependencies = [ "markdown", "serde", @@ -3206,9 +3214,9 @@ dependencies = [ [[package]] name = "modularize_imports" -version = "0.48.0" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e1070d9027b5d1eb4e54d81c86dfd26fd1e1370916ce5881c498361799e9a14" +checksum = "1ab7951af2a437aeb38e89975f331f09dcb247c21bd923ef3e7039b1bae841e2" dependencies = [ "convert_case 0.5.0", "handlebars", @@ -3250,9 +3258,9 @@ dependencies = [ [[package]] name = "napi" -version = "2.12.5" +version = "2.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69b29acdc6cc5c918c3eabd51d241b1c6dfa8914f3552fcfd76e1d7536934581" +checksum = "fd063c93b900149304e3ba96ce5bf210cd4f81ef5eb80ded0d100df3e85a3ac0" dependencies = [ "anyhow", "bitflags 2.4.0", @@ -3273,10 +3281,11 @@ checksum = "882a73d9ef23e8dc2ebbffb6a6ae2ef467c0f18ac10711e4cc59c5485d41df0e" [[package]] name = "napi-derive" -version = "2.12.3" +version = "2.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af2ac63101a19228b0881694cac07468d642fd10e4f943a9c9feebeebf1a4787" +checksum = "da1c6a8fa84d549aa8708fcd062372bf8ec6e849de39016ab921067d21bde367" dependencies = [ + "cfg-if 1.0.0", "convert_case 0.6.0", "napi-derive-backend", "proc-macro2", @@ -3286,9 +3295,9 @@ dependencies = [ [[package]] name = "napi-derive-backend" -version = "1.0.49" +version = "1.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e32b5bc4d803e40b783b0aa3fe488eac8711cfaa4c5c9915293dfd3d0b99925" +checksum = "20bbc7c69168d06a848f925ec5f0e0997f98e8c8d4f2cc30157f0da51c009e17" dependencies = [ "convert_case 0.6.0", "once_cell", @@ -3440,6 +3449,7 @@ dependencies = [ "either", "fxhash", "hex", + "next-transform-dynamic", "next-transform-font", "once_cell", "pathdiff", @@ -3482,6 +3492,7 @@ dependencies = [ "tracing-subscriber", "turbo-tasks", "turbopack-binding", + "url", ] [[package]] @@ -3516,7 +3527,7 @@ dependencies = [ [[package]] name = "node-file-trace" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "serde", @@ -3799,9 +3810,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "parcel_selectors" -version = "0.26.1" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b1aa68e6c4bf7a49302b9c711c880c1cc2a7dc5c5184042cc724e4124e0d95f" +checksum = "0f000cdd23df6cebe999cf2b02a3bf40d55758f74883d7fd43a33690565618c8" dependencies = [ "bitflags 2.4.0", "cssparser", @@ -3811,6 +3822,7 @@ dependencies = [ "phf_codegen", "precomputed-hash", "smallvec", + "static-self", ] [[package]] @@ -4105,6 +4117,12 @@ dependencies = [ "serde", ] +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -4430,9 +4448,9 @@ dependencies = [ [[package]] name = "react_remove_properties" -version = "0.3.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dc14dca06a6d0f4796dde331bf9ae17fcb93b9f2d8c8fca8bdc0bd28ff2bd07" +checksum = "438fc3e0d739395c34f7741aa7b8ff1e19b7c18139fb1b083600dd9e3a2a05df" dependencies = [ "serde", "swc_atoms", @@ -4573,9 +4591,9 @@ checksum = "c707298afce11da2efef2f600116fa93ffa7a032b5d7b628aa17711ec81383ca" [[package]] name = "remove_console" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61b0da70a7bee5f2d9cdb94977225dac1d64946ec65aa2b30386a0a1f5bc5006" +checksum = "77f2663c3a81f6d6d0cdb15c6505287f3baade5c36bcb324180e857e39e7d09d" dependencies = [ "serde", "swc_atoms", @@ -4809,9 +4827,9 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "ryu-js" -version = "0.2.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6518fc26bced4d53678a22d6e423e9d8716377def84545fe328236e3af070e7f" +checksum = "4950d85bc52415f8432144c97c4791bd0c4f7954de32a7270ee9cccd3c22b12b" [[package]] name = "same-file" @@ -4995,16 +5013,16 @@ dependencies = [ "serde", "serde_json", "thiserror", - "time 0.3.26", + "time 0.3.30", "url", "uuid", ] [[package]] name = "serde" -version = "1.0.171" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9" +checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" dependencies = [ "serde_derive", ] @@ -5041,9 +5059,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.171" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682" +checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" dependencies = [ "proc-macro2", "quote", @@ -5126,7 +5144,7 @@ dependencies = [ "serde", "serde_json", "serde_with_macros", - "time 0.3.26", + "time 0.3.30", ] [[package]] @@ -5209,7 +5227,7 @@ checksum = "970538704756fd0bb4ec8cb89f80674afb661e7c0fe716f9ba5be57717742300" dependencies = [ "const_format", "is_debug", - "time 0.3.26", + "time 0.3.30", "tzdb", ] @@ -5455,6 +5473,27 @@ dependencies = [ "syn 2.0.32", ] +[[package]] +name = "static-self" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2978fa810a31711d7162d0bb843df1f36d84e393e335ce31ec2c485b2464c44" +dependencies = [ + "smallvec", + "static-self-derive", +] + +[[package]] +name = "static-self-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc53c080b79432d9babd26457df68fb4b002cc7d2ce36a1a5195091cf9fecc14" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "static_assertions" version = "1.1.0" @@ -5563,9 +5602,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "styled_components" -version = "0.75.0" +version = "0.77.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93b77bf37c113d7401b11d87ec48d264b6200c8167e647c9f2bf5f7368d2abf" +checksum = "2efe2ad3cd5fe8868b2fa9d7b2619110313c19c3c304733651cd90d11b6e201a" dependencies = [ "Inflector", "once_cell", @@ -5581,9 +5620,9 @@ dependencies = [ [[package]] name = "styled_jsx" -version = "0.52.0" +version = "0.54.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "786d784207110496555ca76ee3a29bfea8fd24c2e8a7669ae1796bddd7f50e2b" +checksum = "e77c71053b7d8f0334864053e883bc96a14fcbc97a97e8c10b3b4c1f0614762a" dependencies = [ "easy-error", "lightningcss", @@ -5641,9 +5680,9 @@ dependencies = [ [[package]] name = "swc" -version = "0.266.26" +version = "0.269.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518128b65105b48a58bf81e718a915ad60daebb89ccdf966d11cc616bfd0fd28" +checksum = "129ee8c5cb4b521004a19943440b9431c153b49ee7f727a1e76b26fabbb5c679" dependencies = [ "anyhow", "base64 0.13.1", @@ -5665,6 +5704,7 @@ dependencies = [ "swc_atoms", "swc_cached", "swc_common", + "swc_compiler_base", "swc_config", "swc_ecma_ast", "swc_ecma_codegen", @@ -5692,9 +5732,9 @@ dependencies = [ [[package]] name = "swc_atoms" -version = "0.5.9" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f54563d7dcba626d4acfe14ed12def7ecc28e004debe3ecd2c3ee07cc47e449" +checksum = "ebf7a12229f0c0efb654a6a0f8cbfd94fbd320a57c764857a82d8abe9342b450" dependencies = [ "bytecheck", "once_cell", @@ -5708,9 +5748,9 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.220.20" +version = "0.222.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c1ddf4d7fc3c4da744561ca2a984f537888fe65ce9e8d2d207372e054c351e2" +checksum = "1685da3c84410231f19d60cfedd273cdbe7bdfc306afb8c04445678577950530" dependencies = [ "anyhow", "crc", @@ -5754,9 +5794,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.32.1" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c84742fc22df1c293da5354c1cc8a5b45a045e9dc941005c1fd9cb4e9bdabc1" +checksum = "490e199e25d2aa3fbef675524fa81408651f4e7178b51110470ddd1b3e3bbe75" dependencies = [ "ahash 0.8.3", "anyhow", @@ -5786,6 +5826,30 @@ dependencies = [ "url", ] +[[package]] +name = "swc_compiler_base" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de0359c44fa960798a80815ce10f25302fa05a1d477ee9c2ab74baa926a754a" +dependencies = [ + "anyhow", + "base64 0.13.1", + "napi", + "napi-derive", + "pathdiff", + "serde", + "sourcemap", + "swc_atoms", + "swc_common", + "swc_config", + "swc_ecma_ast", + "swc_ecma_codegen", + "swc_ecma_minifier", + "swc_ecma_parser", + "swc_ecma_visit", + "swc_timer", +] + [[package]] name = "swc_config" version = "0.1.7" @@ -5813,9 +5877,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "0.83.28" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e826020b0481212a0ba4f20d5c74bbe71b6cee6949583896788ca8d98039851" +checksum = "d40c049be93138bf3f521dd42500301762fdd5f5d326e11de012588dcd8135ca" dependencies = [ "binding_macros", "swc", @@ -5855,9 +5919,9 @@ dependencies = [ [[package]] name = "swc_css_ast" -version = "0.139.1" +version = "0.140.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fab824eff88884673de1d6b84cdb5d3d71c0b903fcef62a3ec1f44f40477433f" +checksum = "fa155c888b70f7a1bc1de995006bda7c4b2c501712d8a88a1d6d9406b04be359" dependencies = [ "is-macro", "serde", @@ -5868,9 +5932,9 @@ dependencies = [ [[package]] name = "swc_css_codegen" -version = "0.149.1" +version = "0.151.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aef989abd4b9ccf3caf6a4ab0ceb9f9e7d6a27c08585a20a7fc7b9db6c73a341" +checksum = "cd94d4f6b939a7643d29fd9322d87a0c6fd9488fd9a508472239e02abcfb3f29" dependencies = [ "auto_impl", "bitflags 2.4.0", @@ -5898,9 +5962,9 @@ dependencies = [ [[package]] name = "swc_css_compat" -version = "0.25.1" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ee1b2b77e7daaf389237ca2656df01cf8c1a6f2d9b158459921b202a661f8a" +checksum = "b77d8336003883f2590b400bc103c735eaa32d0a16beb3bcc87bc93f9e28065a" dependencies = [ "bitflags 2.4.0", "once_cell", @@ -5915,9 +5979,9 @@ dependencies = [ [[package]] name = "swc_css_minifier" -version = "0.114.1" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21db6b6ef607d47d09a7e2fd0b8fd5ec29d05d1182f8d3d5eebef0f1b94c3f4d" +checksum = "5861fcaa5a392d38a5f21f013a16c4e6f4b0f1dd2a0db8351f33588974169e63" dependencies = [ "serde", "swc_atoms", @@ -5929,9 +5993,9 @@ dependencies = [ [[package]] name = "swc_css_modules" -version = "0.27.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac80e62e3221cb2abc0edd33886c74c7d2a64ca3756adce0047527026dff71ca" +checksum = "0c3c9990c49999331738343387696c6a8d7379af694c3bab4707d9b43f91921c" dependencies = [ "rustc-hash", "serde", @@ -5945,9 +6009,9 @@ dependencies = [ [[package]] name = "swc_css_parser" -version = "0.148.1" +version = "0.150.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b02a3c11508487249aa571a908e673c540191de97d5139bb78ab03188dd57e26" +checksum = "04bce69bb9c68681ea4467d7c02906fd01245e9838b70c92dad4512e7ad23b2d" dependencies = [ "lexical", "serde", @@ -5958,9 +6022,9 @@ dependencies = [ [[package]] name = "swc_css_prefixer" -version = "0.151.1" +version = "0.153.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "274da87a8f0117ef86382b132812aa6a1b700b31c37ef95ce3bbde7e05f8c098" +checksum = "440823e50ce60fb4ece4d7e241849f32344676726f66324adfd38e9762ca07fe" dependencies = [ "once_cell", "preset_env_base", @@ -5975,9 +6039,9 @@ dependencies = [ [[package]] name = "swc_css_utils" -version = "0.136.1" +version = "0.137.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eead47672e3c832e2e3fc3e523490c4822d80a7fc8c50e87a66f9ab7003b517" +checksum = "dc71e4976bb516112b6d9d3da37989256e0fc6da84e3fe65c049ea1871515069" dependencies = [ "once_cell", "serde", @@ -5990,9 +6054,9 @@ dependencies = [ [[package]] name = "swc_css_visit" -version = "0.138.1" +version = "0.139.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83f01449a09b8a87ab4bd2ea6cbaaf74e39f9bfba3842a2918e998c5f9b428a4" +checksum = "c94eb9e33d88fa3315464660a89873ff021ab940f56902d9961a06f85bdd1886" dependencies = [ "serde", "swc_atoms", @@ -6003,9 +6067,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.109.1" +version = "0.110.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e063a1614daed3ea8be56e5dd8edb17003409088d2fc9ce4aca3378879812607" +checksum = "5cbbf9918976a7e7fbdb4f76fe659d08e291a8b56b524b424183fc67d1189679" dependencies = [ "bitflags 2.4.0", "bytecheck", @@ -6022,9 +6086,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.145.5" +version = "0.146.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "547ed57b827ea4df3e2c27cea153482f8b2ce2d271ae30c456fbb2d5a5ecc19d" +checksum = "1fba119c76654599b71099a0150094f5790f00db63aab6cda1790e731f42c98f" dependencies = [ "memchr", "num-bigint", @@ -6052,11 +6116,204 @@ dependencies = [ "syn 2.0.32", ] +[[package]] +name = "swc_ecma_compat_bugfixes" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e86fbe39425c5135fbef3bd8ffbbb6d24f8d53942d21914cf765ff43d09be19" +dependencies = [ + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_compat_es2015", + "swc_ecma_transforms_base", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_common" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ecceb5d816d6f416bff1c13aea1814e27f43a25551066c66c0fdbd834be67bf" +dependencies = [ + "swc_common", + "swc_ecma_ast", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", +] + +[[package]] +name = "swc_ecma_compat_es2015" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "000318f4ef8ad1b1e417120b630530a453165b9c6f85052010ce28d01e078e15" +dependencies = [ + "arrayvec", + "indexmap 1.9.3", + "is-macro", + "serde", + "serde_derive", + "smallvec", + "swc_atoms", + "swc_common", + "swc_config", + "swc_ecma_ast", + "swc_ecma_compat_common", + "swc_ecma_transforms_base", + "swc_ecma_transforms_classes", + "swc_ecma_transforms_macros", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_es2016" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "145df6ac733548dae7f31aa21264e8609e5deb0f0a46019a3fc8e4a70c8cbf3a" +dependencies = [ + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_transforms_macros", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_es2017" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11b1d15155a9d1608e49a8d67e134d6d03e43eaa3f0e2b5eae465d84288c85f5" +dependencies = [ + "serde", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_transforms_macros", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_es2018" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "047286ba45b3afb868452b947cef646ef66d410c269935f30d494d0489c2321c" +dependencies = [ + "serde", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_compat_common", + "swc_ecma_transforms_base", + "swc_ecma_transforms_macros", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_es2019" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cbbafa9873cd396980b0dbb34304545191f630b822659e7de13eedaa4ec6e26" +dependencies = [ + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_es2020" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a22db764b289d87676997d6a3c3c00e00fe965711940aedce93a09097b742c3" +dependencies = [ + "serde", + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_es2021" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7ded8f71201833cca75ff0eb490e5d9237e7e1808c9ca204e6e70da545829f" +dependencies = [ + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_es2022" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e82e116ad390b63a72250b0624100f9f0052fa0a5053bb6cd78cd11ce1636575" +dependencies = [ + "swc_atoms", + "swc_common", + "swc_ecma_ast", + "swc_ecma_compat_common", + "swc_ecma_transforms_base", + "swc_ecma_transforms_classes", + "swc_ecma_transforms_macros", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + +[[package]] +name = "swc_ecma_compat_es3" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2546a901da8f8570c1964961eb6d49962dcf1b3b95791e8c5899b4f53c46283a" +dependencies = [ + "swc_common", + "swc_ecma_ast", + "swc_ecma_transforms_base", + "swc_ecma_utils", + "swc_ecma_visit", + "swc_trace_macro", + "tracing", +] + [[package]] name = "swc_ecma_ext_transforms" -version = "0.109.0" +version = "0.110.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d995f94740b4cde4919e6e03d982230f755f49dac9dac52f0218254a1fd69f2b" +checksum = "1c47c85a90f01607fe136be5fb15cc5033e1eb0bbe16c89855bad5e0d0915159" dependencies = [ "phf", "swc_atoms", @@ -6068,9 +6325,9 @@ dependencies = [ [[package]] name = "swc_ecma_lints" -version = "0.88.6" +version = "0.89.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300ae29c0fc98ed0364aa2fd4aa7702d6dc67d411dd4894e7e60d40e99c4ef19" +checksum = "f09ea9e797559ccdf30db36403d3a2097e3c750c86c576b001b2dfc24c244265" dependencies = [ "auto_impl", "dashmap", @@ -6088,9 +6345,9 @@ dependencies = [ [[package]] name = "swc_ecma_loader" -version = "0.44.4" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b2b3a3ec38fc9c691b787d32ac2aa5eb6871d1fe74ac4a10638fbd9b9bc407b" +checksum = "a7fe06d942fe20a5a81cc14f4a53e64a5efdc851fa895a869224b2d41df73276" dependencies = [ "anyhow", "dashmap", @@ -6109,9 +6366,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.187.20" +version = "0.189.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8458b755f90a0152a8cbb48b299956ce388eb6d96aa333f9efe243776fefb9c9" +checksum = "57524e1f80b1facd4332aea354365a42772addc484a571130173f4512a18c902" dependencies = [ "arrayvec", "indexmap 1.9.3", @@ -6144,9 +6401,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.140.0" +version = "0.141.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c968599841fcecfdc2e490188ad93251897a1bb912882547e6889e14a368399" +checksum = "a26e535c623db7beb04ba8ebfa821c287b72a23f9fb523990b54db6c1355c990" dependencies = [ "either", "num-bigint", @@ -6164,9 +6421,9 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.201.21" +version = "0.203.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aac45044af56b9be44aed5664238b6c1076c5a1c0bf4fd17ae83826f4b19ff1" +checksum = "bfc6a6b74e0136460cf3938a873d158e02ac226c22ee8c1c002c91672cfbaeda" dependencies = [ "anyhow", "dashmap", @@ -6189,9 +6446,9 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "0.51.0" +version = "0.52.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b028b0675ad45b79b163c70e192f25b59d72366a2864c5d369dce707a38a1597" +checksum = "687e5944bd1ccf5729104c2ed11c182b1f679d18d620980da442bfe326391ddf" dependencies = [ "anyhow", "pmutil", @@ -6207,9 +6464,9 @@ dependencies = [ [[package]] name = "swc_ecma_testing" -version = "0.21.1" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b776795afd44c8df3977391e239a8dedbe2139c5eeb1ea053c1e29314b6d8a7" +checksum = "57c456e2c330c0049f77780cd412e61d9c9d0ae7ff9b6c0e4f8262270b7c718e" dependencies = [ "anyhow", "hex", @@ -6220,9 +6477,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.224.19" +version = "0.226.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66f893871042dbe3eb3f9cb4fb878d24163fd0e568896d68f02a8952d2c9d9a5" +checksum = "f989184c2b223d1c0d00e0c4abe2e60ce04c7cbc3be80fc28ef403799d7d00ae" dependencies = [ "swc_atoms", "swc_common", @@ -6240,9 +6497,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.133.5" +version = "0.134.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "496e3957e19c22e61cd7ff020a87e1fe94c9334f4fa11267f08614fd5f85ba67" +checksum = "37d30c5aa540b6516875d507d3dc2ca7edf77a30fe9e070868ccd2d90b85a3a3" dependencies = [ "better_scoped_tls", "bitflags 2.4.0", @@ -6264,9 +6521,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "0.122.5" +version = "0.123.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "519ffccc874b8bb39db0fceec06c172b1d7a6e812ac6f4b0a000e5d3c295e495" +checksum = "abc1dd56c4f76505604c081ff540b3137da6098f0055515af7150e2f0d265af2" dependencies = [ "swc_atoms", "swc_common", @@ -6278,9 +6535,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "0.159.11" +version = "0.160.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83bf11f8c486856ea9c8d24d84e5e8629afbd49919be519fddda67d3d440a9be" +checksum = "413a57c78f02d51af95100928ce62af0c832169ad38c73e46c77015cbe3785f9" dependencies = [ "arrayvec", "indexmap 1.9.3", @@ -6293,6 +6550,17 @@ dependencies = [ "swc_common", "swc_config", "swc_ecma_ast", + "swc_ecma_compat_bugfixes", + "swc_ecma_compat_common", + "swc_ecma_compat_es2015", + "swc_ecma_compat_es2016", + "swc_ecma_compat_es2017", + "swc_ecma_compat_es2018", + "swc_ecma_compat_es2019", + "swc_ecma_compat_es2020", + "swc_ecma_compat_es2021", + "swc_ecma_compat_es2022", + "swc_ecma_compat_es3", "swc_ecma_transforms_base", "swc_ecma_transforms_classes", "swc_ecma_transforms_macros", @@ -6317,9 +6585,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.176.14" +version = "0.177.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5239cdd86eb8a99d04473dfaceb778ec080be9644ae9d53bc92b6967a3eea60b" +checksum = "7551406c42c22444cec84d35a19bfdc3d3030262a736b5bec06c8fc6c2f4a7bb" dependencies = [ "Inflector", "anyhow", @@ -6344,9 +6612,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.193.19" +version = "0.195.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47028d59dbb4635f4881393f19644bc3f3808536c901551a73ed0a454160d077" +checksum = "3d6de1cd412b1bf59f1c71f61c6399a89faab1f2a99657cffcf889cde5cce09f" dependencies = [ "dashmap", "indexmap 1.9.3", @@ -6369,9 +6637,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.167.13" +version = "0.168.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e896e6d01b1618f4f2061c6ab4c5f74e98b47d93f80bd81731243e880aa721a" +checksum = "67728d832bdb7d7ff44f8bfb93830df7ec1e3fe516c3022525949b92f822d8c8" dependencies = [ "either", "rustc-hash", @@ -6389,9 +6657,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.179.14" +version = "0.180.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eff59ce7151b51e5eaf0c961cf3a264258f179abe5ca1de6d0c5843020784d" +checksum = "417f343e75a3c0c0df0504651947c012b4f8de1519d14c9e7cc7fb847326ced8" dependencies = [ "base64 0.13.1", "dashmap", @@ -6414,9 +6682,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "0.136.5" +version = "0.137.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef0636ec69f3de36ed0155a05e338b6ee294b115fafa15e13996f1ca7f2af6c3" +checksum = "06b02eb5f5972cc9000aedf436aefdd1723d6f7235fc829eb1a2f29fcff38f86" dependencies = [ "ansi_term", "anyhow", @@ -6440,9 +6708,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.183.18" +version = "0.185.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "705566ab5897223937008a759556d562044a195f2ee8597fa0d9b2af4ca32495" +checksum = "935b5d1dfe618b72c760edd5dfbb9f95d7e5dddfcf11f83a08e851682b0ab20f" dependencies = [ "ryu-js", "serde", @@ -6457,9 +6725,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.19.0" +version = "0.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71dc9b35f1f137c72badbadb705a2325d161ff603224ab0e07e6834774ea281" +checksum = "d71bbc022658f28e9455c6199069d48dc54b487bc883343f4b265b0f4c44966e" dependencies = [ "indexmap 1.9.3", "rustc-hash", @@ -6474,9 +6742,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.123.0" +version = "0.124.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b6d6b59ebd31b25fe2692ff705c806961e7856de8b7e91fd0942328886cd315" +checksum = "4d5dd053e9a21c433504664d7083869c9d02394eb5141b101c81067067536471" dependencies = [ "indexmap 1.9.3", "num_cpus", @@ -6493,9 +6761,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.95.1" +version = "0.96.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2774848b306e17fa280c598ecb192cc2c72a1163942b02d48606514336e9e7c5" +checksum = "47081acd84cdb2d49d6340ed3204e17738b444da10a3e1dd1eb3d7c8e4d47091" dependencies = [ "num-bigint", "serde", @@ -6508,9 +6776,9 @@ dependencies = [ [[package]] name = "swc_emotion" -version = "0.51.0" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1a13c3241b2812f15e751687924b0458b55ca7c3576a752b939e954cb4b0ba" +checksum = "43150c60e1fbb43010427afe474246189bc426c5ee833cc413b558a41f0836cd" dependencies = [ "base64 0.13.1", "byteorder", @@ -6544,9 +6812,9 @@ dependencies = [ [[package]] name = "swc_error_reporters" -version = "0.16.1" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c76b479ad1a69bec65b261354b8e2dec8ed0f9ed43c7b54ab053dc4923e1c90e" +checksum = "015cbdf2b13ccc76eb12d1702a90fb9aae7b3cddacaf2c56a1b1a4a02f9fcd81" dependencies = [ "anyhow", "miette", @@ -6557,9 +6825,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2f7297cdefdb54d8d09e0294c1aec3826825b1feefd0c25978365aa7f447a1c" +checksum = "b97e69e9617913611e39284cf724a412ab7fc6081708d0ef2820855774da5357" dependencies = [ "indexmap 1.9.3", "petgraph", @@ -6569,9 +6837,9 @@ dependencies = [ [[package]] name = "swc_graph_analyzer" -version = "0.21.1" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d20a18d45da54ba15698d5ce1f6a0a97684f4035922730393e98e47b44fc3573" +checksum = "0f59cccef405565b041a8fa1fc2e7059856149f7fc658544c4bafd1a001ea483" dependencies = [ "auto_impl", "petgraph", @@ -6594,9 +6862,9 @@ dependencies = [ [[package]] name = "swc_node_comments" -version = "0.19.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2b9597573f1ab8bae72329eef550d214ced0955c7a4f1b6b4ae5e216219e710" +checksum = "cf250afa389a40c4856a250d63f5b1f8d46b513446299b72166c870c7641c365" dependencies = [ "dashmap", "swc_atoms", @@ -6630,9 +6898,9 @@ dependencies = [ [[package]] name = "swc_plugin_proxy" -version = "0.38.1" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76ccadcc63a459e096f332730b2d4e09548fc10e0be63df9f3bacecdf5332fe" +checksum = "55e32ea3aeb4930d0b6fcf1f052d33a4bb115a9d58e32bf3baade3316ef6bdd3" dependencies = [ "better_scoped_tls", "rkyv", @@ -6644,9 +6912,9 @@ dependencies = [ [[package]] name = "swc_plugin_runner" -version = "0.102.1" +version = "0.104.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5626614e11d835b3e8631a7dde4da044d143dc20fd8da3d7ab8d05aaf3cd6b" +checksum = "86c58e6dfbcc59185e9c557d952f431c5140ed546cfebc053ad0b082c4a3e4e4" dependencies = [ "anyhow", "enumset", @@ -6668,9 +6936,9 @@ dependencies = [ [[package]] name = "swc_relay" -version = "0.23.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b74826cb88703713c9c081f5968324490eed925217813ffa1de22da711a80a9" +checksum = "5dfcf5ebeb56cf35ddfcab86338ee9a776ccde2e27b44a63a2b41271572d9f8c" dependencies = [ "once_cell", "regex", @@ -6686,9 +6954,9 @@ dependencies = [ [[package]] name = "swc_timer" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b740ce6b402ed04176bd28dc4f4f92c764fe0defe8437c2f3b6e1b5818b4e10c" +checksum = "77a6e150f91760ccaca6f6b797b95ffb00bbc245a71311c483b84a7bc700e9c4" dependencies = [ "tracing", ] @@ -6854,9 +7122,9 @@ dependencies = [ [[package]] name = "testing" -version = "0.34.1" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc31f7f4a7baef94495386462c2a55caa0f0885b61b28c120f783132d14938ed" +checksum = "e149694212e0152671c616dc21e4029a0f39710085f32705b2fb07fda89e437f" dependencies = [ "ansi_term", "cargo_metadata", @@ -6962,24 +7230,25 @@ dependencies = [ [[package]] name = "time" -version = "0.3.26" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a79d09ac6b08c1ab3906a2f7cc2e81a0e27c7ae89c63812df75e52bef0751e07" +checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" dependencies = [ "deranged", "itoa", "libc", "num_threads", + "powerfmt", "serde", "time-core", - "time-macros 0.2.12", + "time-macros 0.2.15", ] [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" @@ -6993,9 +7262,9 @@ dependencies = [ [[package]] name = "time-macros" -version = "0.2.12" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75c65469ed6b3a4809d987a41eb1dc918e9bc1d92211cbad7ae82931846f7451" +checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" dependencies = [ "time-core", ] @@ -7369,7 +7638,7 @@ dependencies = [ [[package]] name = "turbo-tasks" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "async-trait", @@ -7401,7 +7670,7 @@ dependencies = [ [[package]] name = "turbo-tasks-build" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "cargo-lock", @@ -7413,7 +7682,7 @@ dependencies = [ [[package]] name = "turbo-tasks-bytes" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "bytes", @@ -7428,7 +7697,7 @@ dependencies = [ [[package]] name = "turbo-tasks-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "dotenvs", @@ -7442,7 +7711,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fetch" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7459,7 +7728,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "auto-hash-map", @@ -7489,7 +7758,7 @@ dependencies = [ [[package]] name = "turbo-tasks-hash" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "base16", "hex", @@ -7501,7 +7770,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "convert_case 0.6.0", @@ -7515,7 +7784,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros-shared" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "proc-macro2", "quote", @@ -7525,7 +7794,7 @@ dependencies = [ [[package]] name = "turbo-tasks-malloc" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "mimalloc", ] @@ -7533,7 +7802,7 @@ dependencies = [ [[package]] name = "turbo-tasks-memory" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "auto-hash-map", @@ -7558,7 +7827,7 @@ dependencies = [ [[package]] name = "turbopack" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "async-recursion", @@ -7589,7 +7858,7 @@ dependencies = [ [[package]] name = "turbopack-binding" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "auto-hash-map", "mdxjs", @@ -7629,7 +7898,7 @@ dependencies = [ [[package]] name = "turbopack-build" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7651,7 +7920,7 @@ dependencies = [ [[package]] name = "turbopack-cli-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "clap 4.4.2", @@ -7675,7 +7944,7 @@ dependencies = [ [[package]] name = "turbopack-core" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "async-recursion", @@ -7705,7 +7974,7 @@ dependencies = [ [[package]] name = "turbopack-css" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "async-trait", @@ -7727,7 +7996,7 @@ dependencies = [ [[package]] name = "turbopack-dev" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7751,7 +8020,7 @@ dependencies = [ [[package]] name = "turbopack-dev-server" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "async-compression", @@ -7788,7 +8057,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "async-trait", @@ -7822,7 +8091,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-hmr-protocol" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "serde", "serde_json", @@ -7833,7 +8102,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-plugins" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "async-trait", @@ -7856,7 +8125,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-runtime" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "indoc", @@ -7873,7 +8142,7 @@ dependencies = [ [[package]] name = "turbopack-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7889,7 +8158,7 @@ dependencies = [ [[package]] name = "turbopack-image" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "base64 0.21.4", @@ -7909,7 +8178,7 @@ dependencies = [ [[package]] name = "turbopack-json" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "serde", @@ -7924,7 +8193,7 @@ dependencies = [ [[package]] name = "turbopack-mdx" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "mdxjs", @@ -7939,7 +8208,7 @@ dependencies = [ [[package]] name = "turbopack-node" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "async-stream", @@ -7974,7 +8243,7 @@ dependencies = [ [[package]] name = "turbopack-static" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "serde", @@ -7990,7 +8259,7 @@ dependencies = [ [[package]] name = "turbopack-swc-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "swc_core", "turbo-tasks", @@ -8001,7 +8270,7 @@ dependencies = [ [[package]] name = "turbopack-wasm" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231013.3#1e7c4b84f11561db5c6c671480e55e6cc8d9f481" +source = "git+https://github.com/vercel/turbo.git?tag=turbopack-231020.3#2df370f8a18291864f1241e8b8b52d999dfaa80f" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -8241,7 +8510,7 @@ dependencies = [ "getset", "rustversion", "thiserror", - "time 0.3.26", + "time 0.3.30", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d8f5ed3050deb..f8e9b1e969537 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,18 +33,18 @@ next-transform-dynamic = { path = "packages/next-swc/crates/next-transform-dynam next-transform-strip-page-exports = { path = "packages/next-swc/crates/next-transform-strip-page-exports" } # SWC crates -swc_core = { version = "0.83.28", features = [ +swc_core = { version = "0.86.1", features = [ "ecma_loader_lru", "ecma_loader_parking_lot", ] } -testing = { version = "0.34.1" } +testing = { version = "0.35.0" } # Turbo crates -turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231013.3" } +turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231020.3" } # [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros.. -turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231013.3" } +turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231020.3" } # [TODO]: need to refactor embed_directory! macro usage in next-core -turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231013.3" } +turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-231020.3" } # General Deps diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 21603e2d97239..a4a63e68955c0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -34,7 +34,7 @@ pr: variables: PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store NEXT_TELEMETRY_DISABLED: '1' - node_16_version: ^16.14.0 + node_version: ^18.17.0 stages: - stage: Test @@ -45,7 +45,7 @@ stages: steps: - task: NodeTool@0 inputs: - versionSpec: $(node_16_version) + versionSpec: $(node_version) displayName: 'Install Node.js' - bash: | @@ -84,7 +84,7 @@ stages: - task: NodeTool@0 inputs: - versionSpec: $(node_16_version) + versionSpec: $(node_version) displayName: 'Install Node.js' - bash: | @@ -117,7 +117,7 @@ stages: steps: - task: NodeTool@0 inputs: - versionSpec: $(node_16_version) + versionSpec: $(node_version) displayName: 'Install Node.js' - bash: | @@ -154,7 +154,7 @@ stages: steps: - task: NodeTool@0 inputs: - versionSpec: $(node_16_version) + versionSpec: $(node_version) displayName: 'Install Node.js' - bash: | diff --git a/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx b/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx index d52e1f1e83373..236b7e88200ee 100644 --- a/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx +++ b/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx @@ -377,7 +377,7 @@ For example, the following submit button: ```tsx filename="app/submit-button.tsx" switcher 'use client' -import { experimental_useFormStatus as useFormStatus } from 'react-dom' +import { useFormStatus } from 'react-dom' export function SubmitButton() { const { pending } = useFormStatus() @@ -393,7 +393,7 @@ export function SubmitButton() { ```jsx filename="app/submit-button.jsx" switcher 'use client' -import { experimental_useFormStatus as useFormStatus } from 'react-dom' +import { useFormStatus } from 'react-dom' export function SubmitButton() { const { pending } = useFormStatus() @@ -557,8 +557,7 @@ Then, from a Client Component, you can read this value and display an error mess ```tsx filename="app/add-form.tsx" switcher 'use client' -import { experimental_useFormState as useFormState } from 'react-dom' -import { experimental_useFormStatus as useFormStatus } from 'react-dom' +import { useFormState, useFormStatus } from 'react-dom' import { createTodo } from '@/app/actions' const initialState = { @@ -594,8 +593,7 @@ export function AddForm() { ```jsx filename="app/add-form.jsx" switcher 'use client' -import { experimental_useFormState as useFormState } from 'react-dom' -import { experimental_useFormStatus as useFormStatus } from 'react-dom' +import { useFormState, useFormStatus } from 'react-dom' import { createTodo } from '@/app/actions' const initialState = { diff --git a/docs/02-app/01-building-your-application/06-optimizing/04-metadata.mdx b/docs/02-app/01-building-your-application/06-optimizing/04-metadata.mdx index deb9f0e9233bd..7a38cd5e2c652 100644 --- a/docs/02-app/01-building-your-application/06-optimizing/04-metadata.mdx +++ b/docs/02-app/01-building-your-application/06-optimizing/04-metadata.mdx @@ -248,10 +248,10 @@ The `ImageResponse` constructor allows you to generate dynamic images using JSX `ImageResponse` uses the [Edge Runtime](/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes#edge-runtime), and Next.js automatically adds the correct headers to cached images at the edge, helping improve performance and reducing recomputation. -To use it, you can import `ImageResponse` from `next/server`: +To use it, you can import `ImageResponse` from `next/og`: ```jsx filename="app/about/route.js" -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const runtime = 'edge' diff --git a/docs/02-app/01-building-your-application/07-configuring/03-environment-variables.mdx b/docs/02-app/01-building-your-application/07-configuring/03-environment-variables.mdx index 813aa2946ed0c..7015c00dc6c98 100644 --- a/docs/02-app/01-building-your-application/07-configuring/03-environment-variables.mdx +++ b/docs/02-app/01-building-your-application/07-configuring/03-environment-variables.mdx @@ -48,7 +48,24 @@ export async function getStaticProps() { -This loads `process.env.DB_HOST`, `process.env.DB_USER`, and `process.env.DB_PASS` into the Node.js environment automatically allowing you to use them in [Route Handlers](/docs/app/building-your-application/routing/route-handlers). +> **Note**: Next.js also supports multiline variables inside of your `.env*` files: +> +> ```bash +> # .env.local +> +> # you can write with line breaks +> PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY----- +> ... +> Kh9NV... +> ... +> -----END DSA PRIVATE KEY-----" +> +> # or with `\n` inside double quotes +> PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nKh9NV...\n-----END DSA PRIVATE KEY-----\n" +> ``` + +> **Note**: If you are using a `/src` folder, please note that Next.js will load the .env files **only** from the parent folder and **not** from the `/src` folder. +> This loads `process.env.DB_HOST`, `process.env.DB_USER`, and `process.env.DB_PASS` into the Node.js environment automatically allowing you to use them in [Route Handlers](/docs/app/building-your-application/routing/route-handlers). For example: @@ -180,3 +197,9 @@ For example, if `NODE_ENV` is `development` and you define a variable in both `. - If you are using a [`/src` directory](/docs/app/building-your-application/configuring/src-directory), `.env.*` files should remain in the root of your project. - If the environment variable `NODE_ENV` is unassigned, Next.js automatically assigns `development` when running the `next dev` command, or `production` for all other commands. + +## Version History + +| Version | Changes | +| -------- | --------------------------------------------- | +| `v9.4.0` | Support `.env` and `NEXT_PUBLIC_` introduced. | diff --git a/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx b/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx index 6b16ba73d3514..f758c7c7912a3 100644 --- a/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx +++ b/docs/02-app/01-building-your-application/07-configuring/05-mdx.mdx @@ -185,7 +185,7 @@ export async function getStaticProps() { const res = await fetch('https:...') const mdxText = await res.text() const mdxSource = await serialize(mdxText) - return { props: { source: mdxSource } } + return { props: { mdxSource } } } ``` @@ -202,7 +202,7 @@ export async function getStaticProps() { const res = await fetch('https:...') const mdxText = await res.text() const mdxSource = await serialize(mdxText) - return { props: { source: mdxSource } } + return { props: { mdxSource } } } ``` diff --git a/docs/02-app/02-api-reference/01-components/image.mdx b/docs/02-app/02-api-reference/01-components/image.mdx index d7d0121fe5ad0..534cbe941065b 100644 --- a/docs/02-app/02-api-reference/01-components/image.mdx +++ b/docs/02-app/02-api-reference/01-components/image.mdx @@ -40,24 +40,24 @@ export default function Page() { Here's a summary of the props available for the Image Component:
-| Prop | Example | Type | Required | -| ----------------------------------------- | ------------------------------------ | --------------- | -------- | -| [`src`](#src) | `src="/profile.png"` | String | Yes | -| [`width`](#width) | `width={500}` | Integer (px) | Yes | -| [`height`](#height) | `height={500}` | Integer (px) | Yes | -| [`alt`](#alt) | `alt="Picture of the author"` | String | Yes | -| [`loader`](#loader) | `loader={imageLoader}` | Function | - | -| [`fill`](#fill) | `fill={true}` | Boolean | - | -| [`sizes`](#sizes) | `sizes="(max-width: 768px) 100vw"` | String | - | -| [`quality`](#quality) | `quality={80}` | Integer (1-100) | - | -| [`priority`](#priority) | `priority={true}` | Boolean | - | -| [`placeholder`](#placeholder) | `placeholder="blur"` | String | - | -| [`style`](#style) | `style={{objectFit: "contain"}}` | Object | - | -| [`onLoadingComplete`](#onloadingcomplete) | `onLoadingComplete={img => done())}` | Function | - | -| [`onLoad`](#onload) | `onLoad={event => done())}` | Function | - | -| [`onError`](#onerror) | `onError(event => fail()}` | Function | - | -| [`loading`](#loading) | `loading="lazy"` | String | - | -| [`blurDataURL`](#blurdataurl) | `blurDataURL="data:image/jpeg..."` | String | - | +| Prop | Example | Type | Status | +| ----------------------------------------- | ---------------------------------------- | --------------- | ---------- | +| [`src`](#src) | `src="/profile.png"` | String | Required | +| [`width`](#width) | `width={500}` | Integer (px) | Required | +| [`height`](#height) | `height={500}` | Integer (px) | Required | +| [`alt`](#alt) | `alt="Picture of the author"` | String | Required | +| [`loader`](#loader) | `loader={imageLoader}` | Function | - | +| [`fill`](#fill) | `fill={true}` | Boolean | - | +| [`sizes`](#sizes) | `sizes="(max-width: 768px) 100vw, 33vw"` | String | - | +| [`quality`](#quality) | `quality={80}` | Integer (1-100) | - | +| [`priority`](#priority) | `priority={true}` | Boolean | - | +| [`placeholder`](#placeholder) | `placeholder="blur"` | String | - | +| [`style`](#style) | `style={{objectFit: "contain"}}` | Object | - | +| [`onLoadingComplete`](#onloadingcomplete) | `onLoadingComplete={img => done())}` | Function | Deprecated | +| [`onLoad`](#onload) | `onLoad={event => done())}` | Function | - | +| [`onError`](#onerror) | `onError(event => fail()}` | Function | - | +| [`loading`](#loading) | `loading="lazy"` | String | - | +| [`blurDataURL`](#blurdataurl) | `blurDataURL="data:image/jpeg..."` | String | - |
## Required Props @@ -286,6 +286,8 @@ Remember that the required width and height props can interact with your styling console.log(img.naturalWidth)} /> ``` +> **Warning**: Deprecated since Next.js 14 in favor of [`onLoad`](#onload). + A callback function that is invoked once the image is completely loaded and the [placeholder](#placeholder) has been removed. The callback function will be called with one argument, a reference to the underlying `` element. @@ -302,9 +304,9 @@ The callback function will be called with one argument, a reference to the under console.log(e.target.naturalWidth)} /> ``` -A callback function that is invoked when the image is loaded. +A callback function that is invoked once the image is completely loaded and the [placeholder](#placeholder) has been removed. -The load event might occur before the image placeholder is removed and the image is fully decoded. If you want to wait until the image has fully loaded, use [`onLoadingComplete`](#onloadingcomplete) instead. +The callback function will be called with one argument, the Event which has a `target` that references the underlying `` element. @@ -445,7 +447,7 @@ The `**` syntax does not work in the middle of the pattern. ### `domains` -> **Warning**: We recommend configuring strict [`remotePatterns`](#remotepatterns) instead of `domains` in order to protect your application from malicious users. Only use `domains` if you own all the content served from the domain. +> **Warning**: Deprecated since Next.js 14 in favor of strict [`remotePatterns`](#remotepatterns) in order to protect your application from malicious users. Only use `domains` if you own all the content served from the domain. Similar to [`remotePatterns`](#remotepatterns), the `domains` configuration can be used to provide a list of allowed hostnames for external images. @@ -803,6 +805,7 @@ This `next/image` component uses browser native [lazy loading](https://caniuse.c | Version | Changes | | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `v14.0.0` | `onLoadingComplete` prop and `domains` config deprecated. | | `v13.4.14` | `placeholder` prop support for `data:/image...` | | `v13.2.0` | `contentDispositionType` configuration added. | | `v13.0.6` | `ref` prop added. | diff --git a/docs/02-app/02-api-reference/02-file-conventions/01-metadata/app-icons.mdx b/docs/02-app/02-api-reference/02-file-conventions/01-metadata/app-icons.mdx index 3b12b6eee58bf..21c92ecb046ab 100644 --- a/docs/02-app/02-api-reference/02-file-conventions/01-metadata/app-icons.mdx +++ b/docs/02-app/02-api-reference/02-file-conventions/01-metadata/app-icons.mdx @@ -78,10 +78,10 @@ Generate an app icon by creating an `icon` or `apple-icon` route that default ex | `icon` | `.js`, `.ts`, `.tsx` | | `apple-icon` | `.js`, `.ts`, `.tsx` | -The easiest way to generate an icon is to use the [`ImageResponse`](/docs/app/api-reference/functions/image-response) API from `next/server`. +The easiest way to generate an icon is to use the [`ImageResponse`](/docs/app/api-reference/functions/image-response) API from `next/og`. ```tsx filename="app/icon.tsx" switcher -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' // Route segment config export const runtime = 'edge' diff --git a/docs/02-app/02-api-reference/02-file-conventions/01-metadata/opengraph-image.mdx b/docs/02-app/02-api-reference/02-file-conventions/01-metadata/opengraph-image.mdx index 63428a6823840..8b07aff325265 100644 --- a/docs/02-app/02-api-reference/02-file-conventions/01-metadata/opengraph-image.mdx +++ b/docs/02-app/02-api-reference/02-file-conventions/01-metadata/opengraph-image.mdx @@ -90,7 +90,7 @@ Generate a route segment's shared image by creating an `opengraph-image` or `twi The easiest way to generate an image is to use the [ImageResponse](/docs/app/api-reference/functions/image-response) API from `next/server`. ```tsx filename="app/about/opengraph-image.tsx" switcher -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' // Route segment config export const runtime = 'edge' @@ -342,7 +342,7 @@ This example uses the `params` object and external data to generate the image. > By default, this generated image will be [statically optimized](/docs/app/building-your-application/rendering/server-components#static-rendering-default). You can configure the individual `fetch` [`options`](/docs/app/api-reference/functions/fetch) or route segments [options](/docs/app/api-reference/file-conventions/route-segment-config#revalidate) to change this behavior. ```tsx filename="app/posts/[slug]/opengraph-image.tsx" switcher -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const runtime = 'edge' @@ -382,7 +382,7 @@ export default async function Image({ params }: { params: { slug: string } }) { ``` ```jsx filename="app/posts/[slug]/opengraph-image.js" switcher -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const runtime = 'edge' diff --git a/docs/02-app/02-api-reference/04-functions/generate-image-metadata.mdx b/docs/02-app/02-api-reference/04-functions/generate-image-metadata.mdx index 9a706e2a52c1c..27a7036cf7a39 100644 --- a/docs/02-app/02-api-reference/04-functions/generate-image-metadata.mdx +++ b/docs/02-app/02-api-reference/04-functions/generate-image-metadata.mdx @@ -54,7 +54,7 @@ The `generateImageMetadata` function should return an `array` of objects contain | `contentType` | `string` | ```tsx filename="icon.tsx" switcher -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export function generateImageMetadata() { return [ @@ -94,7 +94,7 @@ export default function Icon({ id }: { id: string }) { ``` ```jsx filename="icon.js" switcher -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export function generateImageMetadata() { return [ @@ -140,7 +140,7 @@ export default function Icon({ id }) { This example uses the `params` object and external data to generate multiple [Open Graph images](/docs/app/api-reference/file-conventions/metadata/opengraph-image) for a route segment. ```tsx filename="app/products/[id]/opengraph-image.tsx" switcher -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' import { getCaptionForImage, getOGImages } from '@/app/utils/images' export async function generateImageMetadata({ @@ -186,7 +186,7 @@ export default async function Image({ ``` ```jsx filename="app/products/[id]/opengraph-image.js" switcher -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' import { getCaptionForImage, getOGImages } from '@/app/utils/images' export async function generateImageMetadata({ params }) { diff --git a/docs/02-app/02-api-reference/04-functions/image-response.mdx b/docs/02-app/02-api-reference/04-functions/image-response.mdx index e255a4aea8af0..0d35b059e8ba2 100644 --- a/docs/02-app/02-api-reference/04-functions/image-response.mdx +++ b/docs/02-app/02-api-reference/04-functions/image-response.mdx @@ -8,7 +8,7 @@ The `ImageResponse` constructor allows you to generate dynamic images using JSX The following options are available for `ImageResponse`: ```jsx -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' new ImageResponse( element: ReactElement, @@ -38,7 +38,8 @@ Please refer to [Satori’s documentation](https://github.com/vercel/satori#css) ## Version History -| Version | Changes | -| --------- | ---------------------------------------------------- | -| `v13.3.0` | `ImageResponse` can be imported from `next/server`. | -| `v13.0.0` | `ImageResponse` introduced via `@vercel/og` package. | +| Version | Changes | +| --------- | ----------------------------------------------------- | +| `v14.0.0` | `ImageResponse` moved from `next/server` to `next/og` | +| `v13.3.0` | `ImageResponse` can be imported from `next/server`. | +| `v13.0.0` | `ImageResponse` introduced via `@vercel/og` package. | diff --git a/docs/03-pages/02-api-reference/01-components/image-legacy.mdx b/docs/03-pages/02-api-reference/01-components/image-legacy.mdx index 12d97c2e37a7c..74f2ae04d7d0b 100644 --- a/docs/03-pages/02-api-reference/01-components/image-legacy.mdx +++ b/docs/03-pages/02-api-reference/01-components/image-legacy.mdx @@ -396,7 +396,7 @@ The `**` syntax does not work in the middle of the pattern. ### Domains -> **Warning**: We recommend configuring strict [`remotePatterns`](#remote-patterns) instead of `domains` in order to protect your application from malicious users. Only use `domains` if you own all the content served from the domain. +> **Warning**: Deprecated since Next.js 14 in favor of strict [`remotePatterns`](#remote-patterns) in order to protect your application from malicious users. Only use `domains` if you own all the content served from the domain. Similar to [`remotePatterns`](#remote-patterns), the `domains` configuration can be used to provide a list of allowed hostnames for external images. diff --git a/docs/04-architecture/supported-browsers.mdx b/docs/04-architecture/supported-browsers.mdx index 1d5f7eb53d49d..1ad6841388ffe 100644 --- a/docs/04-architecture/supported-browsers.mdx +++ b/docs/04-architecture/supported-browsers.mdx @@ -57,10 +57,6 @@ Next.js allows you to use the latest JavaScript features out of the box. In addi - [Class Fields](https://github.com/tc39/proposal-class-fields) and [Static Properties](https://github.com/tc39/proposal-static-class-features) (part of stage 3 proposal) - and more! -### Server-Side Polyfills - -In addition to `fetch()` on the client-side, Next.js polyfills `fetch()` in the Node.js environment where it's not yet available. It uses `undici`, the same implementation that Node.js itself uses. You can use `fetch()` in your server code (such as `getStaticProps`/`getServerSideProps`) without using polyfills such as `isomorphic-unfetch` or `node-fetch`. - ### TypeScript Features Next.js has built-in TypeScript support. [Learn more here](/docs/pages/building-your-application/configuring/typescript). diff --git a/errors/duplicate-sass.mdx b/errors/duplicate-sass.mdx index 6a621efa73a41..d339589a18720 100644 --- a/errors/duplicate-sass.mdx +++ b/errors/duplicate-sass.mdx @@ -5,9 +5,9 @@ title: Duplicate Sass Dependencies ## Why This Error Occurred Your project has a direct dependency on both `sass` and `node-sass`, two -different package that both compile Sass files! +different packages that both compile Sass files! -Next.js will only use one of these, so it is suggested you remove one or the +Next.js will only use one of these, so it is suggested that you remove one or the other. ## Possible Ways to Fix It diff --git a/errors/invalid-images-config.mdx b/errors/invalid-images-config.mdx index 4c170d4fcdb80..4f14b668eb3a0 100644 --- a/errors/invalid-images-config.mdx +++ b/errors/invalid-images-config.mdx @@ -17,7 +17,7 @@ module.exports = { deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840], // limit of 25 imageSizes values imageSizes: [16, 32, 48, 64, 96, 128, 256, 384], - // limit of 50 domains values + // limit of 50 domains values (deprecated) domains: [], // path prefix for Image Optimization API, useful with `loader` path: '/_next/image', diff --git a/examples/active-class-name/.gitignore b/examples/active-class-name/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/active-class-name/.gitignore +++ b/examples/active-class-name/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/amp-first/.gitignore b/examples/amp-first/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/amp-first/.gitignore +++ b/examples/amp-first/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/amp-story/.gitignore b/examples/amp-story/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/amp-story/.gitignore +++ b/examples/amp-story/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/amp/.gitignore b/examples/amp/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/amp/.gitignore +++ b/examples/amp/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/analyze-bundles/.gitignore b/examples/analyze-bundles/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/analyze-bundles/.gitignore +++ b/examples/analyze-bundles/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes-apollo-server-and-client-auth/.gitignore b/examples/api-routes-apollo-server-and-client-auth/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes-apollo-server-and-client-auth/.gitignore +++ b/examples/api-routes-apollo-server-and-client-auth/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes-apollo-server-and-client/.gitignore b/examples/api-routes-apollo-server-and-client/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes-apollo-server-and-client/.gitignore +++ b/examples/api-routes-apollo-server-and-client/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes-apollo-server/.gitignore b/examples/api-routes-apollo-server/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes-apollo-server/.gitignore +++ b/examples/api-routes-apollo-server/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes-cors/.gitignore b/examples/api-routes-cors/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes-cors/.gitignore +++ b/examples/api-routes-cors/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes-graphql/.gitignore b/examples/api-routes-graphql/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes-graphql/.gitignore +++ b/examples/api-routes-graphql/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes-middleware/.gitignore b/examples/api-routes-middleware/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes-middleware/.gitignore +++ b/examples/api-routes-middleware/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes-rate-limit/.gitignore b/examples/api-routes-rate-limit/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes-rate-limit/.gitignore +++ b/examples/api-routes-rate-limit/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes-rest/.gitignore b/examples/api-routes-rest/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes-rest/.gitignore +++ b/examples/api-routes-rest/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/api-routes/.gitignore b/examples/api-routes/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/api-routes/.gitignore +++ b/examples/api-routes/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/app-dir-i18n-routing/.gitignore b/examples/app-dir-i18n-routing/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/app-dir-i18n-routing/.gitignore +++ b/examples/app-dir-i18n-routing/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/app-dir-mdx/.gitignore b/examples/app-dir-mdx/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/app-dir-mdx/.gitignore +++ b/examples/app-dir-mdx/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/auth-with-stytch/.gitignore b/examples/auth-with-stytch/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/auth-with-stytch/.gitignore +++ b/examples/auth-with-stytch/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/auth-with-stytch/README.md b/examples/auth-with-stytch/README.md index 3bc135c7f3652..07e5bfdcb3281 100644 --- a/examples/auth-with-stytch/README.md +++ b/examples/auth-with-stytch/README.md @@ -1,6 +1,6 @@ # Stytch + Next.js example app on Vercel -This is a [Stytch](https://stytch.com) + [Next.js](https://nextjs.org/) project that showcases how to enable elegant authentication in your applicaiton. +This is a [Stytch](https://stytch.com) + [Next.js](https://nextjs.org/) project that showcases how to enable elegant authentication in your application.

stytch

diff --git a/examples/auth0/.gitignore b/examples/auth0/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/auth0/.gitignore +++ b/examples/auth0/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/authsignal/.gitignore b/examples/authsignal/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/authsignal/.gitignore +++ b/examples/authsignal/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/authsignal/passwordless-login/.gitignore b/examples/authsignal/passwordless-login/.gitignore index 46f26a804bbe1..4361234094c11 100755 --- a/examples/authsignal/passwordless-login/.gitignore +++ b/examples/authsignal/passwordless-login/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/basic-css/.gitignore b/examples/basic-css/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/basic-css/.gitignore +++ b/examples/basic-css/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/basic-export/.gitignore b/examples/basic-export/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/basic-export/.gitignore +++ b/examples/basic-export/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/blog-starter-typescript/.gitignore b/examples/blog-starter-typescript/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/blog-starter-typescript/.gitignore +++ b/examples/blog-starter-typescript/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/blog-starter/.gitignore b/examples/blog-starter/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/blog-starter/.gitignore +++ b/examples/blog-starter/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/blog-with-comment/.gitignore b/examples/blog-with-comment/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/blog-with-comment/.gitignore +++ b/examples/blog-with-comment/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/blog/.gitignore b/examples/blog/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/blog/.gitignore +++ b/examples/blog/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/catch-all-routes/.gitignore b/examples/catch-all-routes/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/catch-all-routes/.gitignore +++ b/examples/catch-all-routes/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cloudflare-turnstile/.gitignore b/examples/cloudflare-turnstile/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cloudflare-turnstile/.gitignore +++ b/examples/cloudflare-turnstile/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-agilitycms/.gitignore b/examples/cms-agilitycms/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-agilitycms/.gitignore +++ b/examples/cms-agilitycms/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-builder-io/.gitignore b/examples/cms-builder-io/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-builder-io/.gitignore +++ b/examples/cms-builder-io/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-builder-io/next.config.js b/examples/cms-builder-io/next.config.js index 873fcfa221c09..4b85878bba786 100644 --- a/examples/cms-builder-io/next.config.js +++ b/examples/cms-builder-io/next.config.js @@ -1,7 +1,14 @@ /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: ['cdn.builder.io'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'cdn.builder.io', + port: '', + pathname: '/my-account/**', + }, + ], }, async headers() { return [ diff --git a/examples/cms-buttercms/.gitignore b/examples/cms-buttercms/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-buttercms/.gitignore +++ b/examples/cms-buttercms/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-buttercms/next.config.js b/examples/cms-buttercms/next.config.js index ab4e7c5d91dd5..0ec3e61ea58a4 100644 --- a/examples/cms-buttercms/next.config.js +++ b/examples/cms-buttercms/next.config.js @@ -31,6 +31,13 @@ module.exports = { })) }, images: { - domains: ['cdn.buttercms.com'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'cdn.buttercms.com', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/cms-contentful/.gitignore b/examples/cms-contentful/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-contentful/.gitignore +++ b/examples/cms-contentful/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-cosmic/.gitignore b/examples/cms-cosmic/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-cosmic/.gitignore +++ b/examples/cms-cosmic/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-cosmic/next.config.js b/examples/cms-cosmic/next.config.js index 2ffe34808dc13..0686d7806e2ee 100644 --- a/examples/cms-cosmic/next.config.js +++ b/examples/cms-cosmic/next.config.js @@ -1,6 +1,13 @@ /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: ['imgix.cosmicjs.com'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'imgix.cosmicjs.com', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/cms-datocms/.gitignore b/examples/cms-datocms/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-datocms/.gitignore +++ b/examples/cms-datocms/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-datocms/next.config.js b/examples/cms-datocms/next.config.js index a7240c74c00d1..c9f97ae353258 100644 --- a/examples/cms-datocms/next.config.js +++ b/examples/cms-datocms/next.config.js @@ -1,6 +1,13 @@ /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: ['www.datocms-assets.com'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'www.datocms-assets.com', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/cms-dotcms/.gitignore b/examples/cms-dotcms/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-dotcms/.gitignore +++ b/examples/cms-dotcms/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-drupal/.env.local.example b/examples/cms-drupal/.env.local.example index 6f3c4a77a734b..2e4bd8a558c16 100644 --- a/examples/cms-drupal/.env.local.example +++ b/examples/cms-drupal/.env.local.example @@ -1,5 +1,4 @@ NEXT_PUBLIC_DRUPAL_BASE_URL=http://localhost:8080 -NEXT_IMAGE_DOMAIN=localhost DRUPAL_SITE_ID= DRUPAL_CLIENT_ID= DRUPAL_CLIENT_SECRET= diff --git a/examples/cms-drupal/.gitignore b/examples/cms-drupal/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-drupal/.gitignore +++ b/examples/cms-drupal/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-enterspeed/.gitignore b/examples/cms-enterspeed/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-enterspeed/.gitignore +++ b/examples/cms-enterspeed/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-enterspeed/next.config.js b/examples/cms-enterspeed/next.config.js index 24fda5c4059e9..de4b2fcd720d8 100644 --- a/examples/cms-enterspeed/next.config.js +++ b/examples/cms-enterspeed/next.config.js @@ -1,5 +1,12 @@ module.exports = { images: { - domains: ['res.cloudinary.com'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'res.cloudinary.com', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/cms-ghost/.gitignore b/examples/cms-ghost/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-ghost/.gitignore +++ b/examples/cms-ghost/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-ghost/next.config.js b/examples/cms-ghost/next.config.js index f60a457f98f3d..5401ac6aca578 100644 --- a/examples/cms-ghost/next.config.js +++ b/examples/cms-ghost/next.config.js @@ -1,6 +1,13 @@ /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: ['static.ghost.org'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'static.ghost.org', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/cms-graphcms/.gitignore b/examples/cms-graphcms/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-graphcms/.gitignore +++ b/examples/cms-graphcms/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-graphcms/next.config.js b/examples/cms-graphcms/next.config.js index a6f6d9553f73e..38e8ed659e4a0 100644 --- a/examples/cms-graphcms/next.config.js +++ b/examples/cms-graphcms/next.config.js @@ -1,6 +1,13 @@ /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: ['media.graphcms.com'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'media.graphcms.com', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/cms-keystonejs-embedded/.gitignore b/examples/cms-keystonejs-embedded/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-keystonejs-embedded/.gitignore +++ b/examples/cms-keystonejs-embedded/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-kontent-ai/.gitignore b/examples/cms-kontent-ai/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-kontent-ai/.gitignore +++ b/examples/cms-kontent-ai/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-makeswift/.gitignore b/examples/cms-makeswift/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-makeswift/.gitignore +++ b/examples/cms-makeswift/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-payload/.env.example b/examples/cms-payload/.env.example index ecd2377395e9e..93144e970c4f3 100644 --- a/examples/cms-payload/.env.example +++ b/examples/cms-payload/.env.example @@ -6,7 +6,7 @@ PAYLOAD_PUBLIC_CMS_URL=http://localhost:3000 S3_ACCESS_KEY_ID= S3_SECRET_ACCESS_KEY= S3_REGION= -NEXT_PUBLIC_S3_ENDPOINT= +NEXT_PUBLIC_S3_HOSTNAME= NEXT_PUBLIC_S3_BUCKET= PAYLOAD_PRIVATE_REGENERATION_SECRET= NEXT_PRIVATE_REGENERATION_SECRET= \ No newline at end of file diff --git a/examples/cms-payload/components/Media/Image/index.tsx b/examples/cms-payload/components/Media/Image/index.tsx index 1693ea4790fc9..7833d08bc6fa9 100644 --- a/examples/cms-payload/components/Media/Image/index.tsx +++ b/examples/cms-payload/components/Media/Image/index.tsx @@ -39,7 +39,7 @@ export const Image: React.FC = (props) => { let filename = fullFilename - src = `${process.env.NEXT_PUBLIC_S3_ENDPOINT}/${process.env.NEXT_PUBLIC_S3_BUCKET}/${filename}` + src = `https://${process.env.NEXT_PUBLIC_S3_HOSTNAME}/${process.env.NEXT_PUBLIC_S3_BUCKET}/${filename}` } // NOTE: this is used by the browser to determine which image to download at different screen sizes diff --git a/examples/cms-payload/next.config.js b/examples/cms-payload/next.config.js index 0ae05a0fbdfbe..1d5a0b1ceac38 100644 --- a/examples/cms-payload/next.config.js +++ b/examples/cms-payload/next.config.js @@ -7,11 +7,19 @@ const nextConfig = withPayload( reactStrictMode: true, rewrites: [{ source: '/admin/(.*)', destination: '/admin/index.html' }], images: { - domains: [ - 'localhost', - 'nextjs-vercel.payloadcms.com', - process.env.NEXT_PUBLIC_APP_URL ? process.env.NEXT_PUBLIC_APP_URL : '', - `${process.env.NEXT_PUBLIC_S3_ENDPOINT}`.replace('https://', ''), + remotePatterns: [ + { + protocol: 'https', + hostname: 'nextjs-vercel.payloadcms.com', + port: '', + pathname: '/my-account/**', + }, + { + protocol: 'https', + hostname: process.env.NEXT_PUBLIC_S3_HOSTNAME, + port: '', + pathname: `/${process.env.NEXT_PUBLIC_S3_BUCKET}/**`, + }, ], }, }, diff --git a/examples/cms-payload/payload/payload.config.ts b/examples/cms-payload/payload/payload.config.ts index 8fbd7624b9346..ed5b325d1217d 100644 --- a/examples/cms-payload/payload/payload.config.ts +++ b/examples/cms-payload/payload/payload.config.ts @@ -9,7 +9,7 @@ import { Media } from './collections/Media' const adapter = s3Adapter({ config: { - endpoint: process.env.NEXT_PUBLIC_S3_ENDPOINT, + endpoint: `https://${process.env.NEXT_PUBLIC_S3_HOSTNAME}`, region: process.env.S3_REGION, forcePathStyle: true, credentials: { diff --git a/examples/cms-plasmic/.gitignore b/examples/cms-plasmic/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-plasmic/.gitignore +++ b/examples/cms-plasmic/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-prepr/.gitignore b/examples/cms-prepr/.gitignore index 97c794b353740..653085865dd80 100644 --- a/examples/cms-prepr/.gitignore +++ b/examples/cms-prepr/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-prepr/next.config.js b/examples/cms-prepr/next.config.js index ea88b2e19123c..fe495f36b6dbe 100644 --- a/examples/cms-prepr/next.config.js +++ b/examples/cms-prepr/next.config.js @@ -1,10 +1,19 @@ /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: [ - 'b-cdn.net', - 'prepr-example-content-demo-patterns.stream.prepr.io', - 'demo-site-patterns.stream.prepr.io', + remotePatterns: [ + { + protocol: 'https', + hostname: 'b-cdn.net', + port: '', + pathname: '/my-account/**', + }, + { + protocol: 'https', + hostname: '*.stream.prepr.io', + port: '', + pathname: '/my-account/**', + }, ], }, } diff --git a/examples/cms-prismic/.gitignore b/examples/cms-prismic/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-prismic/.gitignore +++ b/examples/cms-prismic/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-prismic/next.config.js b/examples/cms-prismic/next.config.js index ecad4e78e6106..0447ca94618c0 100644 --- a/examples/cms-prismic/next.config.js +++ b/examples/cms-prismic/next.config.js @@ -1,6 +1,13 @@ /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: ['images.prismic.io'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'images.prismic.io', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/cms-sanity/.gitignore b/examples/cms-sanity/.gitignore index 9429d5d2b9656..8206c2b32acda 100644 --- a/examples/cms-sanity/.gitignore +++ b/examples/cms-sanity/.gitignore @@ -5,6 +5,7 @@ /studio/node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-sanity/studio/.gitignore b/examples/cms-sanity/studio/.gitignore index d620205eda6ce..d0c88091a7f2e 100644 --- a/examples/cms-sanity/studio/.gitignore +++ b/examples/cms-sanity/studio/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-sitefinity/.gitignore b/examples/cms-sitefinity/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-sitefinity/.gitignore +++ b/examples/cms-sitefinity/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-storyblok/.gitignore b/examples/cms-storyblok/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-storyblok/.gitignore +++ b/examples/cms-storyblok/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-strapi/.gitignore b/examples/cms-strapi/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-strapi/.gitignore +++ b/examples/cms-strapi/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-takeshape/.gitignore b/examples/cms-takeshape/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-takeshape/.gitignore +++ b/examples/cms-takeshape/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-tina/.gitignore b/examples/cms-tina/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-tina/.gitignore +++ b/examples/cms-tina/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-umbraco-heartcore/.gitignore b/examples/cms-umbraco-heartcore/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-umbraco-heartcore/.gitignore +++ b/examples/cms-umbraco-heartcore/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-umbraco-heartcore/next.config.js b/examples/cms-umbraco-heartcore/next.config.js index bacc937a63fe3..a2166e08cb310 100644 --- a/examples/cms-umbraco-heartcore/next.config.js +++ b/examples/cms-umbraco-heartcore/next.config.js @@ -1,6 +1,13 @@ /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: ['media.umbraco.io'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'media.umbraco.io', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/cms-webiny/.gitignore b/examples/cms-webiny/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-webiny/.gitignore +++ b/examples/cms-webiny/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-webiny/next.config.js b/examples/cms-webiny/next.config.js index 83cbeeed8995c..0f0006d097210 100644 --- a/examples/cms-webiny/next.config.js +++ b/examples/cms-webiny/next.config.js @@ -1,5 +1,11 @@ module.exports = { images: { - domains: ['d16nhgqznszc7v.cloudfront.net'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'myaccount.cloudfront.net', + port: '', + }, + ], }, } diff --git a/examples/cms-wordpress/.gitignore b/examples/cms-wordpress/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/cms-wordpress/.gitignore +++ b/examples/cms-wordpress/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/cms-wordpress/next.config.js b/examples/cms-wordpress/next.config.js index 8b9c50dd5731d..868a6455e1266 100644 --- a/examples/cms-wordpress/next.config.js +++ b/examples/cms-wordpress/next.config.js @@ -1,19 +1,24 @@ -if (!process.env.WORDPRESS_API_URL) { +if (!URL.canParse(process.env.WORDPRESS_API_URL)) { throw new Error(` Please provide a valid WordPress instance URL. Add to your environment variables WORDPRESS_API_URL. `) } +const { protocol, hostname, port, pathname } = new URL( + process.env.WORDPRESS_API_URL +) + /** @type {import('next').NextConfig} */ module.exports = { images: { - domains: [ - process.env.WORDPRESS_API_URL.match(/(?!(w+)\.)\w*(?:\w+\.)+\w+/)[0], // Valid WP Image domain. - '0.gravatar.com', - '1.gravatar.com', - '2.gravatar.com', - 'secure.gravatar.com', + remotePatterns: [ + { + protocol: protocol.slice(0, -1), + hostname, + port, + pathname: `${pathname}/**`, + }, ], }, } diff --git a/examples/convex/.gitignore b/examples/convex/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/convex/.gitignore +++ b/examples/convex/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/custom-routes-proxying/.gitignore b/examples/custom-routes-proxying/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/custom-routes-proxying/.gitignore +++ b/examples/custom-routes-proxying/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/custom-server-typescript/.gitignore b/examples/custom-server-typescript/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/custom-server-typescript/.gitignore +++ b/examples/custom-server-typescript/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/custom-server/.gitignore b/examples/custom-server/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/custom-server/.gitignore +++ b/examples/custom-server/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/data-fetch/.gitignore b/examples/data-fetch/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/data-fetch/.gitignore +++ b/examples/data-fetch/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/dynamic-routing/.gitignore b/examples/dynamic-routing/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/dynamic-routing/.gitignore +++ b/examples/dynamic-routing/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/environment-variables/.gitignore b/examples/environment-variables/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/environment-variables/.gitignore +++ b/examples/environment-variables/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/evm-multichain-dapp/.gitignore b/examples/evm-multichain-dapp/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/evm-multichain-dapp/.gitignore +++ b/examples/evm-multichain-dapp/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/evm-multichain-dapp/next.config.js b/examples/evm-multichain-dapp/next.config.js index 6405745e2c679..c7fa36527e067 100644 --- a/examples/evm-multichain-dapp/next.config.js +++ b/examples/evm-multichain-dapp/next.config.js @@ -1,8 +1,14 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - reactStrictMode: true, images: { - domains: ['raw.githubusercontent.com'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'raw.githubusercontent.com', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/fast-refresh-demo/.gitignore b/examples/fast-refresh-demo/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/fast-refresh-demo/.gitignore +++ b/examples/fast-refresh-demo/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/github-pages/.gitignore b/examples/github-pages/.gitignore index b416b8c2c91a7..35cb4825c0437 100644 --- a/examples/github-pages/.gitignore +++ b/examples/github-pages/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/head-elements/.gitignore b/examples/head-elements/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/head-elements/.gitignore +++ b/examples/head-elements/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/headers/.gitignore b/examples/headers/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/headers/.gitignore +++ b/examples/headers/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/hello-world-esm/.gitignore b/examples/hello-world-esm/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/hello-world-esm/.gitignore +++ b/examples/hello-world-esm/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/hello-world/.gitignore b/examples/hello-world/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/hello-world/.gitignore +++ b/examples/hello-world/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/i18n-routing/.gitignore b/examples/i18n-routing/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/i18n-routing/.gitignore +++ b/examples/i18n-routing/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/image-component/.gitignore b/examples/image-component/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/image-component/.gitignore +++ b/examples/image-component/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/image-legacy-component/.gitignore b/examples/image-legacy-component/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/image-legacy-component/.gitignore +++ b/examples/image-legacy-component/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/layout-component/.gitignore b/examples/layout-component/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/layout-component/.gitignore +++ b/examples/layout-component/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/markdoc/.gitignore b/examples/markdoc/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/markdoc/.gitignore +++ b/examples/markdoc/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/middleware-matcher/.gitignore b/examples/middleware-matcher/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100755 --- a/examples/middleware-matcher/.gitignore +++ b/examples/middleware-matcher/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/middleware/.gitignore b/examples/middleware/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100755 --- a/examples/middleware/.gitignore +++ b/examples/middleware/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/modularize-imports/.gitignore b/examples/modularize-imports/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/modularize-imports/.gitignore +++ b/examples/modularize-imports/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/nested-components/.gitignore b/examples/nested-components/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/nested-components/.gitignore +++ b/examples/nested-components/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/next-css/.gitignore b/examples/next-css/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/next-css/.gitignore +++ b/examples/next-css/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/next-forms/.gitignore b/examples/next-forms/.gitignore index 210939dd745af..1f8bd8e654d76 100644 --- a/examples/next-forms/.gitignore +++ b/examples/next-forms/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/next-forms/app/add-form.tsx b/examples/next-forms/app/add-form.tsx index 8fb469731baf9..45725efe1f4dc 100644 --- a/examples/next-forms/app/add-form.tsx +++ b/examples/next-forms/app/add-form.tsx @@ -1,7 +1,7 @@ 'use client' import { experimental_useFormState as useFormState } from 'react-dom' -import { experimental_useFormStatus as useFormStatus } from 'react-dom' +import { useFormStatus } from 'react-dom' import { createTodo } from '@/app/actions' const initialState = { diff --git a/examples/next-forms/app/delete-form.tsx b/examples/next-forms/app/delete-form.tsx index f3901143b2e85..221b11f1a5442 100644 --- a/examples/next-forms/app/delete-form.tsx +++ b/examples/next-forms/app/delete-form.tsx @@ -1,7 +1,6 @@ 'use client' -import { experimental_useFormState as useFormState } from 'react-dom' -import { experimental_useFormStatus as useFormStatus } from 'react-dom' +import { useFormState, useFormStatus } from 'react-dom' import { deleteTodo } from '@/app/actions' const initialState = { diff --git a/examples/next-offline/.gitignore b/examples/next-offline/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/next-offline/.gitignore +++ b/examples/next-offline/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/page-transitions/.gitignore b/examples/page-transitions/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/page-transitions/.gitignore +++ b/examples/page-transitions/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/panda-css/.gitignore b/examples/panda-css/.gitignore index 1eff574fcb83e..5402c47d2251e 100644 --- a/examples/panda-css/.gitignore +++ b/examples/panda-css/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/parameterized-routing/.gitignore b/examples/parameterized-routing/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/parameterized-routing/.gitignore +++ b/examples/parameterized-routing/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/progressive-render/.gitignore b/examples/progressive-render/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/progressive-render/.gitignore +++ b/examples/progressive-render/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/progressive-web-app/.gitignore b/examples/progressive-web-app/.gitignore index 5970b82b5a28d..b538ae758accd 100644 --- a/examples/progressive-web-app/.gitignore +++ b/examples/progressive-web-app/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/radix-ui/.gitignore b/examples/radix-ui/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/radix-ui/.gitignore +++ b/examples/radix-ui/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/react-remove-properties/.gitignore b/examples/react-remove-properties/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/react-remove-properties/.gitignore +++ b/examples/react-remove-properties/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/redirects/.gitignore b/examples/redirects/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/redirects/.gitignore +++ b/examples/redirects/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/remove-console/.gitignore b/examples/remove-console/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/remove-console/.gitignore +++ b/examples/remove-console/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/reproduction-template-pages/.gitignore b/examples/reproduction-template-pages/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/reproduction-template-pages/.gitignore +++ b/examples/reproduction-template-pages/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/reproduction-template/.gitignore b/examples/reproduction-template/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/reproduction-template/.gitignore +++ b/examples/reproduction-template/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/rewrites/.gitignore b/examples/rewrites/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/rewrites/.gitignore +++ b/examples/rewrites/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/script-component/.gitignore b/examples/script-component/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/script-component/.gitignore +++ b/examples/script-component/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/ssr-caching/.gitignore b/examples/ssr-caching/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/ssr-caching/.gitignore +++ b/examples/ssr-caching/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/svg-components/.gitignore b/examples/svg-components/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/svg-components/.gitignore +++ b/examples/svg-components/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/using-preact/.gitignore b/examples/using-preact/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/using-preact/.gitignore +++ b/examples/using-preact/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/using-router/.gitignore b/examples/using-router/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/using-router/.gitignore +++ b/examples/using-router/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-ably/.gitignore b/examples/with-ably/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-ably/.gitignore +++ b/examples/with-ably/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-absolute-imports/.gitignore b/examples/with-absolute-imports/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-absolute-imports/.gitignore +++ b/examples/with-absolute-imports/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-algolia-react-instantsearch/.gitignore b/examples/with-algolia-react-instantsearch/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-algolia-react-instantsearch/.gitignore +++ b/examples/with-algolia-react-instantsearch/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-ant-design/.gitignore b/examples/with-ant-design/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-ant-design/.gitignore +++ b/examples/with-ant-design/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-aphrodite/.gitignore b/examples/with-aphrodite/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-aphrodite/.gitignore +++ b/examples/with-aphrodite/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-apivideo/.gitignore b/examples/with-apivideo/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-apivideo/.gitignore +++ b/examples/with-apivideo/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-apivideo/next.config.js b/examples/with-apivideo/next.config.js index 53ccc2150a88e..f738e06f431d3 100644 --- a/examples/with-apivideo/next.config.js +++ b/examples/with-apivideo/next.config.js @@ -1,11 +1,17 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - reactStrictMode: false, compiler: { styledComponents: true, }, images: { - domains: ['vod.api.video'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'vod.api.video', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/with-apollo-and-redux/.gitignore b/examples/with-apollo-and-redux/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-apollo-and-redux/.gitignore +++ b/examples/with-apollo-and-redux/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-apollo-neo4j-graphql/.gitignore b/examples/with-apollo-neo4j-graphql/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-apollo-neo4j-graphql/.gitignore +++ b/examples/with-apollo-neo4j-graphql/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-apollo/.gitignore b/examples/with-apollo/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-apollo/.gitignore +++ b/examples/with-apollo/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-app-layout/.gitignore b/examples/with-app-layout/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-app-layout/.gitignore +++ b/examples/with-app-layout/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-aws-amplify-typescript/.gitignore b/examples/with-aws-amplify-typescript/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-aws-amplify-typescript/.gitignore +++ b/examples/with-aws-amplify-typescript/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-aws-amplify/.gitignore b/examples/with-aws-amplify/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-aws-amplify/.gitignore +++ b/examples/with-aws-amplify/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-axiom/.gitignore b/examples/with-axiom/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-axiom/.gitignore +++ b/examples/with-axiom/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-azure-cosmos/.gitignore b/examples/with-azure-cosmos/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-azure-cosmos/.gitignore +++ b/examples/with-azure-cosmos/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-babel-macros/.gitignore b/examples/with-babel-macros/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-babel-macros/.gitignore +++ b/examples/with-babel-macros/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-chakra-ui-typescript/.gitignore b/examples/with-chakra-ui-typescript/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-chakra-ui-typescript/.gitignore +++ b/examples/with-chakra-ui-typescript/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-chakra-ui/.gitignore b/examples/with-chakra-ui/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-chakra-ui/.gitignore +++ b/examples/with-chakra-ui/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-clerk/.gitignore b/examples/with-clerk/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-clerk/.gitignore +++ b/examples/with-clerk/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-cloudinary/.gitignore b/examples/with-cloudinary/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-cloudinary/.gitignore +++ b/examples/with-cloudinary/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-cloudinary/components/SharedModal.tsx b/examples/with-cloudinary/components/SharedModal.tsx index 5d738b114fc29..42f102dd50d4d 100644 --- a/examples/with-cloudinary/components/SharedModal.tsx +++ b/examples/with-cloudinary/components/SharedModal.tsx @@ -81,7 +81,7 @@ export default function SharedModal({ height={navigation ? 853 : 1280} priority alt="Next.js Conf image" - onLoadingComplete={() => setLoaded(true)} + onLoad={() => setLoaded(true)} /> diff --git a/examples/with-cloudinary/next.config.js b/examples/with-cloudinary/next.config.js index 8a5b9da7f8927..daf383499bc5c 100644 --- a/examples/with-cloudinary/next.config.js +++ b/examples/with-cloudinary/next.config.js @@ -1,6 +1,13 @@ module.exports = { images: { formats: ['image/avif', 'image/webp'], - domains: ['res.cloudinary.com'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'res.cloudinary.com', + port: '', + pathname: '/my-account/**', + }, + ], }, } diff --git a/examples/with-compiled-css/.gitignore b/examples/with-compiled-css/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-compiled-css/.gitignore +++ b/examples/with-compiled-css/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-contentlayer/.gitignore b/examples/with-contentlayer/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-contentlayer/.gitignore +++ b/examples/with-contentlayer/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-context-api/.gitignore b/examples/with-context-api/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-context-api/.gitignore +++ b/examples/with-context-api/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-cookie-auth-fauna/.gitignore b/examples/with-cookie-auth-fauna/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-cookie-auth-fauna/.gitignore +++ b/examples/with-cookie-auth-fauna/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-cookie-auth/.gitignore b/examples/with-cookie-auth/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-cookie-auth/.gitignore +++ b/examples/with-cookie-auth/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-cookies-next/.gitignore b/examples/with-cookies-next/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-cookies-next/.gitignore +++ b/examples/with-cookies-next/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-couchbase/.gitignore b/examples/with-couchbase/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-couchbase/.gitignore +++ b/examples/with-couchbase/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-cssed/.gitignore b/examples/with-cssed/.gitignore index 08ab8cc46797f..81f5791e7575d 100644 --- a/examples/with-cssed/.gitignore +++ b/examples/with-cssed/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-custom-babel-config/.gitignore b/examples/with-custom-babel-config/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-custom-babel-config/.gitignore +++ b/examples/with-custom-babel-config/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-cxs/.gitignore b/examples/with-cxs/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-cxs/.gitignore +++ b/examples/with-cxs/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-cypress/.gitignore b/examples/with-cypress/.gitignore index ed173028d7860..5b4e0506dd0d1 100644 --- a/examples/with-cypress/.gitignore +++ b/examples/with-cypress/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-deta-base/.gitignore b/examples/with-deta-base/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-deta-base/.gitignore +++ b/examples/with-deta-base/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-docker-compose/.gitignore b/examples/with-docker-compose/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-docker-compose/.gitignore +++ b/examples/with-docker-compose/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-docker-compose/next-app/.gitignore b/examples/with-docker-compose/next-app/.gitignore index 1437c53f70bc2..083967fec71ac 100644 --- a/examples/with-docker-compose/next-app/.gitignore +++ b/examples/with-docker-compose/next-app/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-docker-multi-env/.gitignore b/examples/with-docker-multi-env/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-docker-multi-env/.gitignore +++ b/examples/with-docker-multi-env/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-docker/.gitignore b/examples/with-docker/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-docker/.gitignore +++ b/examples/with-docker/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-dotenv/.gitignore b/examples/with-dotenv/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-dotenv/.gitignore +++ b/examples/with-dotenv/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-draft-js/.gitignore b/examples/with-draft-js/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-draft-js/.gitignore +++ b/examples/with-draft-js/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-dynamic-import/.gitignore b/examples/with-dynamic-import/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-dynamic-import/.gitignore +++ b/examples/with-dynamic-import/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-edgedb/.gitignore b/examples/with-edgedb/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-edgedb/.gitignore +++ b/examples/with-edgedb/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-elasticsearch/.gitignore b/examples/with-elasticsearch/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-elasticsearch/.gitignore +++ b/examples/with-elasticsearch/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-electron-typescript/.gitignore b/examples/with-electron-typescript/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-electron-typescript/.gitignore +++ b/examples/with-electron-typescript/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-electron/.gitignore b/examples/with-electron/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-electron/.gitignore +++ b/examples/with-electron/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-emotion-swc/.gitignore b/examples/with-emotion-swc/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-emotion-swc/.gitignore +++ b/examples/with-emotion-swc/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-emotion-vanilla/.gitignore b/examples/with-emotion-vanilla/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-emotion-vanilla/.gitignore +++ b/examples/with-emotion-vanilla/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-emotion/.gitignore b/examples/with-emotion/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-emotion/.gitignore +++ b/examples/with-emotion/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-env-from-next-config-js/.gitignore b/examples/with-env-from-next-config-js/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-env-from-next-config-js/.gitignore +++ b/examples/with-env-from-next-config-js/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-eslint/.gitignore b/examples/with-eslint/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-eslint/.gitignore +++ b/examples/with-eslint/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-expo-typescript/.gitignore b/examples/with-expo-typescript/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-expo-typescript/.gitignore +++ b/examples/with-expo-typescript/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-expo-typescript/package.json b/examples/with-expo-typescript/package.json index 91bdf546cbaa7..91179172bfe08 100644 --- a/examples/with-expo-typescript/package.json +++ b/examples/with-expo-typescript/package.json @@ -21,7 +21,7 @@ "react-native-web": "~0.11.7" }, "devDependencies": { - "@babel/core": "^7.8.6", + "@babel/core": "7.22.5", "@expo/next-adapter": "2.1.9", "@types/node": "14.0.4", "@types/react": "16.9.35", diff --git a/examples/with-expo/.gitignore b/examples/with-expo/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-expo/.gitignore +++ b/examples/with-expo/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-facebook-pixel/.gitignore b/examples/with-facebook-pixel/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-facebook-pixel/.gitignore +++ b/examples/with-facebook-pixel/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-fauna/.gitignore b/examples/with-fauna/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-fauna/.gitignore +++ b/examples/with-fauna/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-fauna/components/EntryForm.tsx b/examples/with-fauna/components/EntryForm.tsx index 71d8675905967..5f3cea173b20c 100644 --- a/examples/with-fauna/components/EntryForm.tsx +++ b/examples/with-fauna/components/EntryForm.tsx @@ -3,8 +3,7 @@ import cn from 'classnames' import { createEntryAction } from '@/actions/entry' // @ts-ignore -import { experimental_useFormState as useFormState } from 'react-dom' -import { experimental_useFormStatus as useFormStatus } from 'react-dom' +import { useFormState, useFormStatus } from 'react-dom' import LoadingSpinner from '@/components/LoadingSpinner' import SuccessMessage from '@/components/SuccessMessage' import ErrorMessage from '@/components/ErrorMessage' @@ -26,7 +25,7 @@ export default function EntryForm() { return ( <> -
+ setLoading(false)} + onLoad={() => setLoading(false)} />
diff --git a/examples/with-sfcc/next.config.js b/examples/with-sfcc/next.config.js index d4c379978d999..a143f0f4effad 100644 --- a/examples/with-sfcc/next.config.js +++ b/examples/with-sfcc/next.config.js @@ -1,6 +1,12 @@ module.exports = { reactStrictMode: true, images: { - domains: ['zzte-003.dx.commercecloud.salesforce.com'], + remotePatterns: [ + { + protocol: 'https', + hostname: 'myaccount.dx.commercecloud.salesforce.com', + port: '', + }, + ], }, } diff --git a/examples/with-shallow-routing/.gitignore b/examples/with-shallow-routing/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-shallow-routing/.gitignore +++ b/examples/with-shallow-routing/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-sitemap/.gitignore b/examples/with-sitemap/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-sitemap/.gitignore +++ b/examples/with-sitemap/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-skynexui-components/.gitignore b/examples/with-skynexui-components/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-skynexui-components/.gitignore +++ b/examples/with-skynexui-components/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-slate/.gitignore b/examples/with-slate/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-slate/.gitignore +++ b/examples/with-slate/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-static-export/.gitignore b/examples/with-static-export/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-static-export/.gitignore +++ b/examples/with-static-export/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-stencil/.gitignore b/examples/with-stencil/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-stencil/.gitignore +++ b/examples/with-stencil/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-stitches/.gitignore b/examples/with-stitches/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-stitches/.gitignore +++ b/examples/with-stitches/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-stomp/.gitignore b/examples/with-stomp/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-stomp/.gitignore +++ b/examples/with-stomp/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-storybook-styled-jsx-scss/.gitignore b/examples/with-storybook-styled-jsx-scss/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-storybook-styled-jsx-scss/.gitignore +++ b/examples/with-storybook-styled-jsx-scss/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-storybook-styled-jsx-scss/package.json b/examples/with-storybook-styled-jsx-scss/package.json index 7935e25efb740..e2f265881dc55 100644 --- a/examples/with-storybook-styled-jsx-scss/package.json +++ b/examples/with-storybook-styled-jsx-scss/package.json @@ -14,7 +14,7 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@babel/core": "^7.12.3", + "@babel/core": "7.22.5", "@storybook/addon-actions": "^6.1.11", "@storybook/addon-essentials": "^6.1.11", "@storybook/addon-links": "^6.1.11", diff --git a/examples/with-storybook/.gitignore b/examples/with-storybook/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-storybook/.gitignore +++ b/examples/with-storybook/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-strict-csp-hash/.gitignore b/examples/with-strict-csp-hash/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-strict-csp-hash/.gitignore +++ b/examples/with-strict-csp-hash/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-strict-csp/.gitignore b/examples/with-strict-csp/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-strict-csp/.gitignore +++ b/examples/with-strict-csp/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-stripe-typescript/.gitignore b/examples/with-stripe-typescript/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-stripe-typescript/.gitignore +++ b/examples/with-stripe-typescript/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-styled-components-babel/.gitignore b/examples/with-styled-components-babel/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-styled-components-babel/.gitignore +++ b/examples/with-styled-components-babel/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-styled-components-rtl/.gitignore b/examples/with-styled-components-rtl/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-styled-components-rtl/.gitignore +++ b/examples/with-styled-components-rtl/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-styled-components/.gitignore b/examples/with-styled-components/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-styled-components/.gitignore +++ b/examples/with-styled-components/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-styled-jsx-plugins/.gitignore b/examples/with-styled-jsx-plugins/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-styled-jsx-plugins/.gitignore +++ b/examples/with-styled-jsx-plugins/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-styled-jsx-postcss/.gitignore b/examples/with-styled-jsx-postcss/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-styled-jsx-postcss/.gitignore +++ b/examples/with-styled-jsx-postcss/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-styled-jsx-scss/.gitignore b/examples/with-styled-jsx-scss/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-styled-jsx-scss/.gitignore +++ b/examples/with-styled-jsx-scss/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-styled-jsx/.gitignore b/examples/with-styled-jsx/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-styled-jsx/.gitignore +++ b/examples/with-styled-jsx/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-styletron/.gitignore b/examples/with-styletron/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-styletron/.gitignore +++ b/examples/with-styletron/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-supabase/.gitignore b/examples/with-supabase/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-supabase/.gitignore +++ b/examples/with-supabase/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-supertokens/.gitignore b/examples/with-supertokens/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-supertokens/.gitignore +++ b/examples/with-supertokens/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-sw-precache/.gitignore b/examples/with-sw-precache/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-sw-precache/.gitignore +++ b/examples/with-sw-precache/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-tailwindcss-emotion/.gitignore b/examples/with-tailwindcss-emotion/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-tailwindcss-emotion/.gitignore +++ b/examples/with-tailwindcss-emotion/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-tailwindcss-emotion/package.json b/examples/with-tailwindcss-emotion/package.json index c90d802184867..0ef56cd299972 100644 --- a/examples/with-tailwindcss-emotion/package.json +++ b/examples/with-tailwindcss-emotion/package.json @@ -13,7 +13,7 @@ "tailwindcss-filters": "3.0.0" }, "devDependencies": { - "@babel/core": "^7.13.15", + "@babel/core": "7.22.5", "@emotion/babel-plugin": "11.7.2", "autoprefixer": "^10.4.4", "next": "latest", diff --git a/examples/with-tailwindcss/.gitignore b/examples/with-tailwindcss/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-tailwindcss/.gitignore +++ b/examples/with-tailwindcss/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-temporal/.gitignore b/examples/with-temporal/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-temporal/.gitignore +++ b/examples/with-temporal/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-temporal/package.json b/examples/with-temporal/package.json index 6de6cd21d8db4..cfe16dabbdb57 100644 --- a/examples/with-temporal/package.json +++ b/examples/with-temporal/package.json @@ -18,7 +18,7 @@ "temporalio": "^0.17.2" }, "devDependencies": { - "@babel/core": "^7.15.0", + "@babel/core": "7.22.5", "@tsconfig/node16": "^1.0.0", "@types/node": "^12.12.21", "@types/node-fetch": "^3.0.3", diff --git a/examples/with-tesfy/.gitignore b/examples/with-tesfy/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-tesfy/.gitignore +++ b/examples/with-tesfy/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-three-js/.gitignore b/examples/with-three-js/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-three-js/.gitignore +++ b/examples/with-three-js/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-tigris/.gitignore b/examples/with-tigris/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-tigris/.gitignore +++ b/examples/with-tigris/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-trpc/.gitignore b/examples/with-trpc/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-trpc/.gitignore +++ b/examples/with-trpc/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-turbo/.gitignore b/examples/with-turbo/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-turbo/.gitignore +++ b/examples/with-turbo/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-turbopack-loaders/.gitignore b/examples/with-turbopack-loaders/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-turbopack-loaders/.gitignore +++ b/examples/with-turbopack-loaders/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-turbopack/.gitignore b/examples/with-turbopack/.gitignore index e5eaca3da5ccf..ed16a406004f2 100755 --- a/examples/with-turbopack/.gitignore +++ b/examples/with-turbopack/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-typescript-graphql/.gitignore b/examples/with-typescript-graphql/.gitignore index 8debe628d16fd..213ad251e900f 100644 --- a/examples/with-typescript-graphql/.gitignore +++ b/examples/with-typescript-graphql/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-typescript-styled-components/.gitignore b/examples/with-typescript-styled-components/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-typescript-styled-components/.gitignore +++ b/examples/with-typescript-styled-components/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-typescript-types/.gitignore b/examples/with-typescript-types/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-typescript-types/.gitignore +++ b/examples/with-typescript-types/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-typescript/.gitignore b/examples/with-typescript/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-typescript/.gitignore +++ b/examples/with-typescript/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-typestyle/.gitignore b/examples/with-typestyle/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-typestyle/.gitignore +++ b/examples/with-typestyle/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-universal-configuration-build-time/.gitignore b/examples/with-universal-configuration-build-time/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-universal-configuration-build-time/.gitignore +++ b/examples/with-universal-configuration-build-time/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-universal-configuration-runtime/.gitignore b/examples/with-universal-configuration-runtime/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-universal-configuration-runtime/.gitignore +++ b/examples/with-universal-configuration-runtime/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-unsplash/.gitignore b/examples/with-unsplash/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-unsplash/.gitignore +++ b/examples/with-unsplash/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-unstated/.gitignore b/examples/with-unstated/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-unstated/.gitignore +++ b/examples/with-unstated/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-urql/.gitignore b/examples/with-urql/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-urql/.gitignore +++ b/examples/with-urql/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-userbase/.gitignore b/examples/with-userbase/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-userbase/.gitignore +++ b/examples/with-userbase/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-vanilla-extract/.gitignore b/examples/with-vanilla-extract/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-vanilla-extract/.gitignore +++ b/examples/with-vanilla-extract/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-vercel-fetch/.gitignore b/examples/with-vercel-fetch/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-vercel-fetch/.gitignore +++ b/examples/with-vercel-fetch/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-videojs/.gitignore b/examples/with-videojs/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-videojs/.gitignore +++ b/examples/with-videojs/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-vitest/.gitignore b/examples/with-vitest/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-vitest/.gitignore +++ b/examples/with-vitest/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-web-worker/.gitignore b/examples/with-web-worker/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-web-worker/.gitignore +++ b/examples/with-web-worker/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-webassembly/.gitignore b/examples/with-webassembly/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-webassembly/.gitignore +++ b/examples/with-webassembly/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-why-did-you-render/.gitignore b/examples/with-why-did-you-render/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-why-did-you-render/.gitignore +++ b/examples/with-why-did-you-render/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-windicss/.gitignore b/examples/with-windicss/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-windicss/.gitignore +++ b/examples/with-windicss/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-xstate/.gitignore b/examples/with-xstate/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-xstate/.gitignore +++ b/examples/with-xstate/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-yarn-workspaces/.gitignore b/examples/with-yarn-workspaces/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-yarn-workspaces/.gitignore +++ b/examples/with-yarn-workspaces/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-yoga/.gitignore b/examples/with-yoga/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-yoga/.gitignore +++ b/examples/with-yoga/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-zones/.gitignore b/examples/with-zones/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-zones/.gitignore +++ b/examples/with-zones/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/examples/with-zustand/.gitignore b/examples/with-zustand/.gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/examples/with-zustand/.gitignore +++ b/examples/with-zustand/.gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/jest.config.js b/jest.config.js index 96c993dd8be03..f9c466d56ea3d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,6 +7,9 @@ const createJestConfig = nextJest() const customJestConfig = { testMatch: ['**/*.test.js', '**/*.test.ts', '**/*.test.jsx', '**/*.test.tsx'], setupFilesAfterEnv: ['/jest-setup-after-env.ts'], + snapshotFormat: { + printBasicPrototype: false, + }, verbose: true, rootDir: 'test', roots: [ @@ -17,9 +20,6 @@ const customJestConfig = { modulePathIgnorePatterns: ['/\\.next/'], modulePaths: ['/lib'], transformIgnorePatterns: ['/next[/\\\\]dist/', '/\\.next/'], - globals: { - AbortSignal: global.AbortSignal, - }, moduleNameMapper: { '@next/font/(.*)': '@next/font/$1', }, diff --git a/lerna.json b/lerna.json index 9d87d813db8c9..69200f9f4241f 100644 --- a/lerna.json +++ b/lerna.json @@ -16,5 +16,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "13.5.5" + "version": "13.5.7-canary.12" } diff --git a/package.json b/package.json index 308ea40e9d7f4..8e48a09a027ff 100644 --- a/package.json +++ b/package.json @@ -59,13 +59,13 @@ }, "devDependencies": { "@actions/core": "1.10.1", - "@babel/core": "7.18.0", - "@babel/eslint-parser": "7.18.2", - "@babel/generator": "7.18.0", - "@babel/parser": "7.12.11", - "@babel/plugin-proposal-object-rest-spread": "7.14.7", - "@babel/preset-flow": "7.14.5", - "@babel/preset-react": "7.14.5", + "@babel/core": "7.22.5", + "@babel/eslint-parser": "7.22.5", + "@babel/generator": "7.22.5", + "@babel/parser": "7.22.5", + "@babel/plugin-proposal-object-rest-spread": "7.20.7", + "@babel/preset-flow": "7.22.5", + "@babel/preset-react": "7.22.5", "@edge-runtime/jest-environment": "2.3.4", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.1", @@ -97,11 +97,11 @@ "@types/glob": "7.1.1", "@types/html-validator": "5.0.3", "@types/http-proxy": "1.17.3", - "@types/jest": "27.4.1", + "@types/jest": "29.5.5", "@types/node": "20.2.5", "@types/node-fetch": "2.6.1", - "@types/react": "18.2.8", - "@types/react-dom": "18.2.4", + "@types/react": "18.2.28", + "@types/react-dom": "18.2.13", "@types/relay-runtime": "14.1.13", "@types/selenium-webdriver": "4.0.15", "@types/sharp": "0.29.3", @@ -146,7 +146,6 @@ "find-up": "4.1.0", "firebase": "7.14.5", "flat": "5.0.2", - "form-data": "4.0.0", "fs-extra": "9.0.0", "get-port": "5.1.1", "get-port-please": "3.1.1", @@ -158,8 +157,9 @@ "image-size": "0.9.3", "is-animated": "2.0.2", "isomorphic-unfetch": "3.0.0", - "jest": "27.0.6", - "jest-extended": "1.2.1", + "jest": "29.7.0", + "jest-environment-jsdom": "29.7.0", + "jest-extended": "4.0.2", "jest-junit": "16.0.0", "json5": "2.2.3", "ky": "0.19.1", @@ -193,16 +193,16 @@ "random-seed": "0.3.0", "react": "18.2.0", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@18.3.0-canary-d900fadbf-20230929", + "react-builtin": "npm:react@18.3.0-canary-d803f519e-20231020", "react-dom": "18.2.0", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@18.3.0-canary-d900fadbf-20230929", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-d900fadbf-20230929", - "react-experimental-builtin": "npm:react@0.0.0-experimental-d900fadbf-20230929", - "react-server-dom-turbopack": "18.3.0-canary-d900fadbf-20230929", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-d900fadbf-20230929", - "react-server-dom-webpack": "18.3.0-canary-d900fadbf-20230929", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-d900fadbf-20230929", + "react-dom-builtin": "npm:react-dom@18.3.0-canary-d803f519e-20231020", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-d803f519e-20231020", + "react-experimental-builtin": "npm:react@0.0.0-experimental-d803f519e-20231020", + "react-server-dom-turbopack": "18.3.0-canary-d803f519e-20231020", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-d803f519e-20231020", + "react-server-dom-webpack": "18.3.0-canary-d803f519e-20231020", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-d803f519e-20231020", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -212,8 +212,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.6", - "scheduler-builtin": "npm:scheduler@0.24.0-canary-d900fadbf-20230929", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-d900fadbf-20230929", + "scheduler-builtin": "npm:scheduler@0.24.0-canary-d803f519e-20231020", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-d803f519e-20231020", "seedrandom": "3.0.5", "selenium-webdriver": "4.0.0-beta.4", "semver": "7.3.7", @@ -241,15 +241,15 @@ "browserslist": "4.20.2", "caniuse-lite": "1.0.30001406", "@types/node": "20.2.5", - "@babel/core": "7.18.0", - "@babel/parser": "7.18.0", - "@babel/types": "7.18.0", - "@babel/traverse": "7.18.0", - "@types/react": "18.2.7", - "@types/react-dom": "18.2.4" + "@babel/core": "7.22.5", + "@babel/parser": "7.22.5", + "@babel/types": "7.22.5", + "@babel/traverse": "7.22.5", + "@types/react": "18.2.28", + "@types/react-dom": "18.2.13" }, "engines": { - "node": ">=16.14.0", + "node": ">=18.17.0", "pnpm": "8.9.0" }, "packageManager": "pnpm@8.9.0" diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 3e4f08875ee1b..c0b73ee07dcfd 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "13.5.5", + "version": "13.5.7-canary.12", "keywords": [ "react", "next", @@ -52,6 +52,6 @@ "validate-npm-package-name": "3.0.0" }, "engines": { - "node": ">=16.14.0" + "node": ">=18.17.0" } } diff --git a/packages/create-next-app/templates/app-tw/js/gitignore b/packages/create-next-app/templates/app-tw/js/gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/packages/create-next-app/templates/app-tw/js/gitignore +++ b/packages/create-next-app/templates/app-tw/js/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/create-next-app/templates/app-tw/ts/gitignore b/packages/create-next-app/templates/app-tw/ts/gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/packages/create-next-app/templates/app-tw/ts/gitignore +++ b/packages/create-next-app/templates/app-tw/ts/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/create-next-app/templates/app/js/gitignore b/packages/create-next-app/templates/app/js/gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/packages/create-next-app/templates/app/js/gitignore +++ b/packages/create-next-app/templates/app/js/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/create-next-app/templates/app/ts/gitignore b/packages/create-next-app/templates/app/ts/gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/packages/create-next-app/templates/app/ts/gitignore +++ b/packages/create-next-app/templates/app/ts/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/create-next-app/templates/default-tw/js/gitignore b/packages/create-next-app/templates/default-tw/js/gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/packages/create-next-app/templates/default-tw/js/gitignore +++ b/packages/create-next-app/templates/default-tw/js/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/create-next-app/templates/default-tw/ts/gitignore b/packages/create-next-app/templates/default-tw/ts/gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/packages/create-next-app/templates/default-tw/ts/gitignore +++ b/packages/create-next-app/templates/default-tw/ts/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/create-next-app/templates/default/js/gitignore b/packages/create-next-app/templates/default/js/gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/packages/create-next-app/templates/default/js/gitignore +++ b/packages/create-next-app/templates/default/js/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/create-next-app/templates/default/ts/gitignore b/packages/create-next-app/templates/default/ts/gitignore index 8f322f0d8f495..fd3dbb571a12a 100644 --- a/packages/create-next-app/templates/default/ts/gitignore +++ b/packages/create-next-app/templates/default/ts/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/create-next-app/templates/index.ts b/packages/create-next-app/templates/index.ts index 8d49ab441aee5..0acc200fee636 100644 --- a/packages/create-next-app/templates/index.ts +++ b/packages/create-next-app/templates/index.ts @@ -8,7 +8,7 @@ import fs from 'fs/promises' import path from 'path' import { cyan, bold } from 'picocolors' import { Sema } from 'async-sema' -import { version } from '../package.json' +import pkg from '../package.json' import { GetTemplateFileArgs, InstallTemplateArgs } from './types' @@ -167,6 +167,9 @@ export const installTemplate = async ({ } } + /** Copy the version from package.json or override for tests. */ + const version = process.env.NEXT_PRIVATE_TEST_VERSION ?? pkg.version + /** Create a package.json for the new project and write it to disk. */ const packageJson: any = { name: appName, @@ -184,7 +187,7 @@ export const installTemplate = async ({ dependencies: { react: '^18', 'react-dom': '^18', - next: process.env.NEXT_PRIVATE_TEST_VERSION ?? version, + next: version, }, devDependencies: {}, } diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index dac86a43dfb3c..57d1249361e2c 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "13.5.5", + "version": "13.5.7-canary.12", "description": "ESLint configuration used by Next.js.", "main": "index.js", "license": "MIT", @@ -10,7 +10,7 @@ }, "homepage": "https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config", "dependencies": { - "@next/eslint-plugin-next": "13.5.5", + "@next/eslint-plugin-next": "13.5.7-canary.12", "@rushstack/eslint-patch": "^1.3.3", "@typescript-eslint/parser": "^5.4.2 || ^6.0.0", "eslint-import-resolver-node": "^0.3.6", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 6ae848a1df65a..357c59c097a40 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "13.5.5", + "version": "13.5.7-canary.12", "description": "ESLint plugin for Next.js.", "main": "dist/index.js", "license": "MIT", diff --git a/packages/eslint-plugin-next/src/rules/google-font-display.ts b/packages/eslint-plugin-next/src/rules/google-font-display.ts index 5913d4a2025ac..1883ad437ccee 100644 --- a/packages/eslint-plugin-next/src/rules/google-font-display.ts +++ b/packages/eslint-plugin-next/src/rules/google-font-display.ts @@ -33,7 +33,7 @@ export = defineRule({ hrefValue.startsWith('https://fonts.googleapis.com/css') if (isGoogleFont) { - const params = new URLSearchParams(hrefValue.split('?')[1]) + const params = new URLSearchParams(hrefValue.split('?', 2)[1]) const displayValue = params.get('display') if (!params.has('display')) { diff --git a/packages/eslint-plugin-next/src/rules/no-before-interactive-script-outside-document.ts b/packages/eslint-plugin-next/src/rules/no-before-interactive-script-outside-document.ts index 63220dc77db36..6cb82c6849237 100644 --- a/packages/eslint-plugin-next/src/rules/no-before-interactive-script-outside-document.ts +++ b/packages/eslint-plugin-next/src/rules/no-before-interactive-script-outside-document.ts @@ -66,7 +66,7 @@ export = defineRule({ return } - const document = context.getFilename().split('pages')[1] + const document = context.getFilename().split('pages', 2)[1] if (document && path.parse(document).name.startsWith('_document')) { return } diff --git a/packages/eslint-plugin-next/src/rules/no-head-import-in-document.ts b/packages/eslint-plugin-next/src/rules/no-head-import-in-document.ts index 2d480c7c6648b..d87712d4fa3de 100644 --- a/packages/eslint-plugin-next/src/rules/no-head-import-in-document.ts +++ b/packages/eslint-plugin-next/src/rules/no-head-import-in-document.ts @@ -20,7 +20,7 @@ export = defineRule({ return } - const document = context.getFilename().split('pages')[1] + const document = context.getFilename().split('pages', 2)[1] if (!document) { return } diff --git a/packages/eslint-plugin-next/src/rules/no-styled-jsx-in-document.ts b/packages/eslint-plugin-next/src/rules/no-styled-jsx-in-document.ts index 42f4a4b899bb9..741d8ba81dcee 100644 --- a/packages/eslint-plugin-next/src/rules/no-styled-jsx-in-document.ts +++ b/packages/eslint-plugin-next/src/rules/no-styled-jsx-in-document.ts @@ -16,7 +16,7 @@ export = defineRule({ create(context) { return { JSXOpeningElement(node) { - const document = context.getFilename().split('pages')[1] + const document = context.getFilename().split('pages', 2)[1] if (!document) { return } diff --git a/packages/eslint-plugin-next/src/rules/no-typos.ts b/packages/eslint-plugin-next/src/rules/no-typos.ts index 9882746d0b601..030d5a186ba6a 100644 --- a/packages/eslint-plugin-next/src/rules/no-typos.ts +++ b/packages/eslint-plugin-next/src/rules/no-typos.ts @@ -73,7 +73,7 @@ export = defineRule({ } return { ExportNamedDeclaration(node) { - const page = context.getFilename().split('pages')[1] + const page = context.getFilename().split('pages', 2)[1] if (!page || path.parse(page).dir.startsWith('/api')) { return } diff --git a/packages/eslint-plugin-next/src/utils/url.ts b/packages/eslint-plugin-next/src/utils/url.ts index ab70eb8e0d8a5..7634414372b72 100644 --- a/packages/eslint-plugin-next/src/utils/url.ts +++ b/packages/eslint-plugin-next/src/utils/url.ts @@ -43,8 +43,8 @@ export function normalizeURL(url: string) { if (!url) { return } - url = url.split('?')[0] - url = url.split('#')[0] + url = url.split('?', 1)[0] + url = url.split('#', 1)[0] url = url = url.replace(/(\/index\.html)$/, '/') // Empty URLs should not be trailed with `/`, e.g. `#heading` if (url === '') { diff --git a/packages/font/package.json b/packages/font/package.json index e8daf9b46893d..5bb28709232ad 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -1,6 +1,6 @@ { "name": "@next/font", - "version": "13.5.5", + "version": "13.5.7-canary.12", "repository": { "url": "vercel/next.js", "directory": "packages/font" @@ -20,8 +20,10 @@ "ncc-fontkit": "ncc build ./fontkit.js -o dist/fontkit" }, "devDependencies": { + "@types/async-retry": "1.4.2", "@types/fontkit": "2.0.0", "@vercel/ncc": "0.34.0", + "async-retry": "1.3.3", "fontkit": "2.0.2" } } diff --git a/packages/font/src/google/fetch-css-from-google-fonts.ts b/packages/font/src/google/fetch-css-from-google-fonts.ts index 5c6fedf21349c..386357e793d2b 100644 --- a/packages/font/src/google/fetch-css-from-google-fonts.ts +++ b/packages/font/src/google/fetch-css-from-google-fonts.ts @@ -2,22 +2,7 @@ import fetch from 'next/dist/compiled/node-fetch' import { nextFontError } from '../next-font-error' import { getProxyAgent } from './get-proxy-agent' - -async function retry(fn: () => Promise, attempts: number): Promise { - let cnt = attempts - while (true) { - try { - return await fn() - } catch (err) { - cnt-- - if (cnt <= 0) throw err - console.error( - (err as Error).message + `\n\nRetrying ${attempts - cnt}/3...` - ) - await new Promise((resolve) => setTimeout(resolve, 100)) - } - } -} +import { retry } from './retry' /** * Fetches the CSS containing the @font-face declarations from Google Fonts. diff --git a/packages/font/src/google/fetch-font-file.ts b/packages/font/src/google/fetch-font-file.ts index c399a993f6878..22080bda32993 100644 --- a/packages/font/src/google/fetch-font-file.ts +++ b/packages/font/src/google/fetch-font-file.ts @@ -1,6 +1,7 @@ // @ts-ignore import fetch from 'next/dist/compiled/node-fetch' import { getProxyAgent } from './get-proxy-agent' +import { retry } from './retry' /** * Fetch the url and return a buffer with the font file. @@ -16,16 +17,18 @@ export async function fetchFontFile(url: string, isDev: boolean) { return Buffer.from(url) } - const controller = new AbortController() - const timeoutId = setTimeout(() => controller.abort(), 3000) - const arrayBuffer = await fetch(url, { - agent: getProxyAgent(), - // Add a timeout in dev - signal: isDev ? controller.signal : undefined, - }) - .then((r: any) => r.arrayBuffer()) - .finally(() => { - clearTimeout(timeoutId) + return await retry(async () => { + const controller = new AbortController() + const timeoutId = setTimeout(() => controller.abort(), 3000) + const arrayBuffer = await fetch(url, { + agent: getProxyAgent(), + // Add a timeout in dev + signal: isDev ? controller.signal : undefined, }) - return Buffer.from(arrayBuffer) + .then((r: any) => r.arrayBuffer()) + .finally(() => { + clearTimeout(timeoutId) + }) + return Buffer.from(arrayBuffer) + }, 3) } diff --git a/packages/font/src/google/font-data.json b/packages/font/src/google/font-data.json index 7d9e4378c4339..7b3eb52f9b0be 100644 --- a/packages/font/src/google/font-data.json +++ b/packages/font/src/google/font-data.json @@ -10495,6 +10495,29 @@ "styles": ["normal", "italic"], "subsets": ["cyrillic", "latin", "latin-ext", "vietnamese"] }, + "Playpen Sans": { + "weights": [ + "100", + "200", + "300", + "400", + "500", + "600", + "700", + "800", + "variable" + ], + "styles": ["normal"], + "axes": [ + { + "tag": "wght", + "min": 100, + "max": 800, + "defaultValue": 400 + } + ], + "subsets": ["latin", "latin-ext", "math", "symbols", "vietnamese"] + }, "Plus Jakarta Sans": { "weights": ["200", "300", "400", "500", "600", "700", "800", "variable"], "styles": ["normal", "italic"], @@ -11122,8 +11145,27 @@ ] }, "Roboto Condensed": { - "weights": ["300", "400", "700"], + "weights": [ + "100", + "200", + "300", + "400", + "500", + "600", + "700", + "800", + "900", + "variable" + ], "styles": ["normal", "italic"], + "axes": [ + { + "tag": "wght", + "min": 100, + "max": 900, + "defaultValue": 400 + } + ], "subsets": [ "cyrillic", "cyrillic-ext", @@ -12216,6 +12258,19 @@ "styles": ["normal"], "subsets": ["latin"] }, + "Sometype Mono": { + "weights": ["400", "500", "600", "700", "variable"], + "styles": ["normal", "italic"], + "axes": [ + { + "tag": "wght", + "min": 400, + "max": 700, + "defaultValue": 400 + } + ], + "subsets": ["latin", "latin-ext"] + }, "Song Myung": { "weights": ["400"], "styles": ["normal"], diff --git a/packages/font/src/google/index.ts b/packages/font/src/google/index.ts index ac1987902e635..2269aa0cb8abf 100644 --- a/packages/font/src/google/index.ts +++ b/packages/font/src/google/index.ts @@ -17952,6 +17952,28 @@ export declare function Playfair_Display_SC< adjustFontFallback?: boolean subsets?: Array<'cyrillic' | 'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Playpen_Sans< + T extends CssVariable | undefined = undefined +>(options?: { + weight?: + | '100' + | '200' + | '300' + | '400' + | '500' + | '600' + | '700' + | '800' + | 'variable' + | Array<'100' | '200' | '300' | '400' | '500' | '600' | '700' | '800'> + style?: 'normal' | Array<'normal'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'latin' | 'latin-ext' | 'math' | 'symbols' | 'vietnamese'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Plus_Jakarta_Sans< T extends CssVariable | undefined = undefined >(options?: { @@ -19116,8 +19138,21 @@ export declare function Roboto< }): T extends undefined ? NextFont : NextFontWithVariable export declare function Roboto_Condensed< T extends CssVariable | undefined = undefined ->(options: { - weight: '300' | '400' | '700' | Array<'300' | '400' | '700'> +>(options?: { + weight?: + | '100' + | '200' + | '300' + | '400' + | '500' + | '600' + | '700' + | '800' + | '900' + | 'variable' + | Array< + '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' + > style?: 'normal' | 'italic' | Array<'normal' | 'italic'> display?: Display variable?: T @@ -21099,6 +21134,24 @@ export declare function Solway< adjustFontFallback?: boolean subsets?: Array<'latin'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Sometype_Mono< + T extends CssVariable | undefined = undefined +>(options?: { + weight?: + | '400' + | '500' + | '600' + | '700' + | 'variable' + | Array<'400' | '500' | '600' | '700'> + style?: 'normal' | 'italic' | Array<'normal' | 'italic'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'latin' | 'latin-ext'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Song_Myung< T extends CssVariable | undefined = undefined >(options: { diff --git a/packages/font/src/google/loader.ts b/packages/font/src/google/loader.ts index ec670b208acab..9e57e064e618c 100644 --- a/packages/font/src/google/loader.ts +++ b/packages/font/src/google/loader.ts @@ -95,7 +95,7 @@ const nextFontGoogleFontLoader: FontLoader = async ({ } // CSS Variables may be set on a body tag, ignore them to keep the CSS module pure - fontFaceDeclarations = fontFaceDeclarations.split('body {')[0] + fontFaceDeclarations = fontFaceDeclarations.split('body {', 1)[0] // Find font files to download, provide the array of subsets we want to preload if preloading is enabled const fontFiles = findFontFilesInCss( diff --git a/packages/font/src/google/retry.ts b/packages/font/src/google/retry.ts new file mode 100644 index 0000000000000..555f95b34b150 --- /dev/null +++ b/packages/font/src/google/retry.ts @@ -0,0 +1,17 @@ +// eslint-disable-next-line import/no-extraneous-dependencies +import asyncRetry from 'async-retry' + +export async function retry( + fn: asyncRetry.RetryFunction, + retries: number +) { + return await asyncRetry(fn, { + retries, + onRetry(e, attempt) { + console.error( + (e as Error).message + `\n\nRetrying ${attempt}/${retries}...` + ) + }, + minTimeout: 100, + }) +} diff --git a/packages/font/src/google/sort-fonts-variant-values.ts b/packages/font/src/google/sort-fonts-variant-values.ts index 73e363a4d7ed5..61f10ea69990e 100644 --- a/packages/font/src/google/sort-fonts-variant-values.ts +++ b/packages/font/src/google/sort-fonts-variant-values.ts @@ -7,8 +7,8 @@ export function sortFontsVariantValues(valA: string, valB: string) { // If both values contain commas, it indicates they are in "ital,wght" format if (valA.includes(',') && valB.includes(',')) { // Split the values into prefix and suffix - const [aPrefix, aSuffix] = valA.split(',') - const [bPrefix, bSuffix] = valB.split(',') + const [aPrefix, aSuffix] = valA.split(',', 2) + const [bPrefix, bSuffix] = valB.split(',', 2) // Compare the prefixes (ital values) if (aPrefix === bPrefix) { diff --git a/packages/font/src/local/loader.test.ts b/packages/font/src/local/loader.test.ts index 0a0b3d1aa3b6d..9332cbde84533 100644 --- a/packages/font/src/local/loader.test.ts +++ b/packages/font/src/local/loader.test.ts @@ -82,7 +82,7 @@ describe('next/font/local loader', () => { expect(css).toMatchInlineSnapshot(` "@font-face { - font-feature-settings: \\"smcp\\" on; + font-feature-settings: "smcp" on; ascent-override: 90%; font-family: myFont; src: url(/_next/static/media/my-font.woff2) format('woff2'); diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index 7c961c69583e0..bef7fe11c142d 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "13.5.5", + "version": "13.5.7-canary.12", "main": "index.js", "types": "index.d.ts", "license": "MIT", diff --git a/packages/next-codemod/lib/cra-to-next/gitignore b/packages/next-codemod/lib/cra-to-next/gitignore index 1437c53f70bc2..083967fec71ac 100644 --- a/packages/next-codemod/lib/cra-to-next/gitignore +++ b/packages/next-codemod/lib/cra-to-next/gitignore @@ -4,6 +4,7 @@ /node_modules /.pnp .pnp.js +.yarn/install-state.gz # testing /coverage diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index e0c1edda19e57..989dab1c737f1 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "13.5.5", + "version": "13.5.7-canary.12", "license": "MIT", "repository": { "type": "git", diff --git a/packages/next-codemod/transforms/__testfixtures__/next-og-import/mixed-import.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-og-import/mixed-import.input.tsx new file mode 100644 index 0000000000000..359a6c51a35ce --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-og-import/mixed-import.input.tsx @@ -0,0 +1,6 @@ +import { ImageResponse, NextResponse } from "next/server"; + +export { + ImageResponse, + NextResponse +} \ No newline at end of file diff --git a/packages/next-codemod/transforms/__testfixtures__/next-og-import/mixed-import.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-og-import/mixed-import.output.tsx new file mode 100644 index 0000000000000..b65fa69f7732b --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-og-import/mixed-import.output.tsx @@ -0,0 +1,7 @@ +import { ImageResponse } from "next/og"; +import { NextResponse } from "next/server"; + +export { + ImageResponse, + NextResponse +} \ No newline at end of file diff --git a/packages/next-codemod/transforms/__testfixtures__/next-og-import/next-server-only-import.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-og-import/next-server-only-import.input.tsx new file mode 100644 index 0000000000000..fc1af00a2a694 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-og-import/next-server-only-import.input.tsx @@ -0,0 +1,5 @@ +import { NextResponse } from "next/server"; + +export { + NextResponse +} \ No newline at end of file diff --git a/packages/next-codemod/transforms/__testfixtures__/next-og-import/next-server-only-import.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-og-import/next-server-only-import.output.tsx new file mode 100644 index 0000000000000..fc1af00a2a694 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-og-import/next-server-only-import.output.tsx @@ -0,0 +1,5 @@ +import { NextResponse } from "next/server"; + +export { + NextResponse +} \ No newline at end of file diff --git a/packages/next-codemod/transforms/__testfixtures__/next-og-import/og-only-import.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-og-import/og-only-import.input.tsx new file mode 100644 index 0000000000000..6780d4641b17e --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-og-import/og-only-import.input.tsx @@ -0,0 +1,5 @@ +import { ImageResponse } from "next/server"; + +export { + ImageResponse +} \ No newline at end of file diff --git a/packages/next-codemod/transforms/__testfixtures__/next-og-import/og-only-import.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-og-import/og-only-import.output.tsx new file mode 100644 index 0000000000000..f11ad23619439 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-og-import/og-only-import.output.tsx @@ -0,0 +1,5 @@ +import { ImageResponse } from "next/og"; + +export { + ImageResponse +} \ No newline at end of file diff --git a/packages/next-codemod/transforms/__tests__/next-og-import.test.js b/packages/next-codemod/transforms/__tests__/next-og-import.test.js new file mode 100644 index 0000000000000..95471af841c6e --- /dev/null +++ b/packages/next-codemod/transforms/__tests__/next-og-import.test.js @@ -0,0 +1,16 @@ +/* global jest */ +jest.autoMockOff() +const defineTest = require('jscodeshift/dist/testUtils').defineTest +const { readdirSync } = require('fs') +const { join } = require('path') + +const fixtureDir = 'next-og-import' +const fixtureDirPath = join(__dirname, '..', '__testfixtures__', fixtureDir) +const fixtures = readdirSync(fixtureDirPath) + .filter(file => file.endsWith('.input.tsx')) + .map(file => file.replace('.input.tsx', '')) + +for (const fixture of fixtures) { + const prefix = `${fixtureDir}/${fixture}`; + defineTest(__dirname, fixtureDir, null, prefix, { parser: 'tsx' }); +} diff --git a/packages/next-codemod/transforms/next-og-import.ts b/packages/next-codemod/transforms/next-og-import.ts new file mode 100644 index 0000000000000..074fe4e625ad1 --- /dev/null +++ b/packages/next-codemod/transforms/next-og-import.ts @@ -0,0 +1,51 @@ +import type { API, FileInfo } from 'jscodeshift' + +const importToChange = 'ImageResponse' + +export default function transformer(file: FileInfo, api: API) { + const j = api.jscodeshift + + // Find import declarations that match the pattern + file.source = j(file.source) + .find(j.ImportDeclaration, { + source: { + value: 'next/server', + }, + }) + .forEach((path) => { + const importSpecifiers = path.node.specifiers + const importNamesToChange = importSpecifiers.filter( + (specifier) => specifier.local.name === importToChange + ) + const importsNamesRemained = importSpecifiers.filter( + (specifier) => specifier.local.name !== importToChange + ) + + // If the import includes the specified import name, create a new import for it from 'next/og' + + if (importNamesToChange.length > 0) { + // Replace the original import with the remaining specifiers + // path.node.specifiers = remainingSpecifiers + const newImportStatement = j.importDeclaration( + importNamesToChange, + j.stringLiteral('next/og') + ) + path.insertBefore(newImportStatement) + } + if (importsNamesRemained.length > 0) { + const remainingSpecifiers = importSpecifiers.filter( + (specifier) => specifier.local.name !== importToChange + ) + + const nextServerRemainImportsStatement = j.importDeclaration( + remainingSpecifiers, + j.stringLiteral('next/server') + ) + path.insertBefore(nextServerRemainImportsStatement) + } + j(path).remove() + }) + .toSource() + + return file.source +} diff --git a/packages/next-env/package.json b/packages/next-env/package.json index eea98a1b94276..077a9526707de 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "13.5.5", + "version": "13.5.7-canary.12", "keywords": [ "react", "next", @@ -30,7 +30,7 @@ }, "devDependencies": { "@vercel/ncc": "0.34.0", - "dotenv": "10.0.0", - "dotenv-expand": "8.0.1" + "dotenv": "16.3.1", + "dotenv-expand": "10.0.0" } } diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index c3821233412a8..3766ca1d78b07 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "13.5.5", + "version": "13.5.7-canary.12", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index c8c702d3d7c92..9bf86717dfbe2 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "13.5.5", + "version": "13.5.7-canary.12", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index 106c3124c5825..4826621472cc0 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "13.5.5", + "version": "13.5.7-canary.12", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index 0698bfaf3a49b..9b0fce616917e 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "13.5.5", + "version": "13.5.7-canary.12", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next-swc/crates/core/Cargo.toml b/packages/next-swc/crates/core/Cargo.toml index de1f102f2115f..0cef530b461ca 100644 --- a/packages/next-swc/crates/core/Cargo.toml +++ b/packages/next-swc/crates/core/Cargo.toml @@ -15,7 +15,6 @@ either = "1" fxhash = "0.2.1" hex = "0.4.3" once_cell = { workspace = true } -next-transform-font = {workspace = true} pathdiff = "0.2.0" regex = "1.5" rustc-hash = "1" @@ -24,6 +23,9 @@ serde_json = "1" sha1 = "0.10.1" tracing = { version = "0.1.37" } +next-transform-dynamic = { workspace = true } +next-transform-font = { workspace = true } + turbopack-binding = { workspace = true, features = [ "__swc_core", "__swc_core_next_core", @@ -33,8 +35,8 @@ turbopack-binding = { workspace = true, features = [ "__swc_transform_modularize_imports", "__swc_transform_relay", ] } -react_remove_properties = "0.3.0" -remove_console = "0.4.0" +react_remove_properties = "0.5.0" +remove_console = "0.6.0" [dev-dependencies] turbopack-binding = { workspace = true, features = [ diff --git a/packages/next-swc/crates/core/src/cjs_optimizer.rs b/packages/next-swc/crates/core/src/cjs_optimizer.rs index 7139a63909545..53a0a1b3a5ca0 100644 --- a/packages/next-swc/crates/core/src/cjs_optimizer.rs +++ b/packages/next-swc/crates/core/src/cjs_optimizer.rs @@ -233,7 +233,7 @@ impl VisitMut for CjsOptimizer { self.data.imports.insert( key, ImportRecord { - module_specifier: v.value.clone().into(), + module_specifier: v.value.clone(), }, ); } diff --git a/packages/next-swc/crates/core/src/lib.rs b/packages/next-swc/crates/core/src/lib.rs index 82bf191047d80..f810a4ceb0eb9 100644 --- a/packages/next-swc/crates/core/src/lib.rs +++ b/packages/next-swc/crates/core/src/lib.rs @@ -37,6 +37,7 @@ use std::{cell::RefCell, path::PathBuf, rc::Rc, sync::Arc}; use auto_cjs::contains_cjs; use either::Either; use fxhash::FxHashSet; +use next_transform_dynamic::{next_dynamic, NextDynamicMode}; use next_transform_font::next_font_loaders; use serde::Deserialize; use turbopack_binding::swc::{ @@ -58,7 +59,6 @@ mod auto_cjs; pub mod cjs_optimizer; pub mod disallow_re_export_all_in_page; pub mod named_import_transform; -pub mod next_dynamic; pub mod next_ssg; pub mod optimize_barrel; pub mod optimize_server_react; @@ -226,7 +226,7 @@ where !opts.disable_next_ssg ), amp_attributes::amp_attributes(), - next_dynamic::next_dynamic( + next_dynamic( opts.is_development, opts.is_server, match &opts.server_components { @@ -238,6 +238,7 @@ where }, _ => false, }, + NextDynamicMode::Webpack, file.name.clone(), opts.pages_dir.clone() ), diff --git a/packages/next-swc/crates/core/src/next_dynamic.rs b/packages/next-swc/crates/core/src/next_dynamic.rs deleted file mode 100644 index 7539c6945319f..0000000000000 --- a/packages/next-swc/crates/core/src/next_dynamic.rs +++ /dev/null @@ -1,325 +0,0 @@ -use std::path::{Path, PathBuf}; - -use pathdiff::diff_paths; -use turbopack_binding::swc::core::{ - common::{errors::HANDLER, FileName, DUMMY_SP}, - ecma::{ - ast::{ - ArrayLit, ArrowExpr, BinExpr, BinaryOp, BlockStmtOrExpr, Bool, CallExpr, Callee, Expr, - ExprOrSpread, Id, Ident, ImportDecl, ImportSpecifier, KeyValueProp, Lit, MemberExpr, - MemberProp, Null, ObjectLit, Prop, PropName, PropOrSpread, Str, Tpl, - }, - atoms::js_word, - utils::ExprFactory, - visit::{Fold, FoldWith}, - }, -}; - -pub fn next_dynamic( - is_development: bool, - is_server: bool, - is_server_components: bool, - filename: FileName, - pages_dir: Option, -) -> impl Fold { - NextDynamicPatcher { - is_development, - is_server, - is_server_components, - pages_dir, - filename, - dynamic_bindings: vec![], - is_next_dynamic_first_arg: false, - dynamically_imported_specifier: None, - } -} - -#[derive(Debug)] -struct NextDynamicPatcher { - is_development: bool, - is_server: bool, - is_server_components: bool, - pages_dir: Option, - filename: FileName, - dynamic_bindings: Vec, - is_next_dynamic_first_arg: bool, - dynamically_imported_specifier: Option, -} - -impl Fold for NextDynamicPatcher { - fn fold_import_decl(&mut self, decl: ImportDecl) -> ImportDecl { - let ImportDecl { - ref src, - ref specifiers, - .. - } = decl; - if &src.value == "next/dynamic" { - for specifier in specifiers { - if let ImportSpecifier::Default(default_specifier) = specifier { - self.dynamic_bindings.push(default_specifier.local.to_id()); - } - } - } - - decl - } - - fn fold_call_expr(&mut self, expr: CallExpr) -> CallExpr { - if self.is_next_dynamic_first_arg { - if let Callee::Import(..) = &expr.callee { - match &*expr.args[0].expr { - Expr::Lit(Lit::Str(Str { value, .. })) => { - self.dynamically_imported_specifier = Some(value.to_string()); - } - Expr::Tpl(Tpl { exprs, quasis, .. }) if exprs.is_empty() => { - self.dynamically_imported_specifier = Some(quasis[0].raw.to_string()); - } - _ => {} - } - } - return expr.fold_children_with(self); - } - let mut expr = expr.fold_children_with(self); - if let Callee::Expr(i) = &expr.callee { - if let Expr::Ident(identifier) = &**i { - if self.dynamic_bindings.contains(&identifier.to_id()) { - if expr.args.is_empty() { - HANDLER.with(|handler| { - handler - .struct_span_err( - identifier.span, - "next/dynamic requires at least one argument", - ) - .emit() - }); - return expr; - } else if expr.args.len() > 2 { - HANDLER.with(|handler| { - handler - .struct_span_err( - identifier.span, - "next/dynamic only accepts 2 arguments", - ) - .emit() - }); - return expr; - } - if expr.args.len() == 2 { - match &*expr.args[1].expr { - Expr::Object(_) => {} - _ => { - HANDLER.with(|handler| { - handler - .struct_span_err( - identifier.span, - "next/dynamic options must be an object literal.\nRead more: https://nextjs.org/docs/messages/invalid-dynamic-options-type", - ) - .emit(); - }); - return expr; - } - } - } - - self.is_next_dynamic_first_arg = true; - expr.args[0].expr = expr.args[0].expr.clone().fold_with(self); - self.is_next_dynamic_first_arg = false; - - if self.dynamically_imported_specifier.is_none() { - return expr; - } - - // dev client or server: - // loadableGenerated: { - // modules: - // ["/project/src/file-being-transformed.js -> " + '../components/hello'] } - - // prod client - // loadableGenerated: { - // webpack: () => [require.resolveWeak('../components/hello')], - let generated = Box::new(Expr::Object(ObjectLit { - span: DUMMY_SP, - props: if self.is_development || self.is_server { - vec![PropOrSpread::Prop(Box::new(Prop::KeyValue(KeyValueProp { - key: PropName::Ident(Ident::new("modules".into(), DUMMY_SP)), - value: Box::new(Expr::Array(ArrayLit { - elems: vec![Some(ExprOrSpread { - expr: Box::new(Expr::Bin(BinExpr { - span: DUMMY_SP, - op: BinaryOp::Add, - left: Box::new(Expr::Lit(Lit::Str(Str { - value: format!( - "{} -> ", - rel_filename( - self.pages_dir.as_deref(), - &self.filename - ) - ) - .into(), - span: DUMMY_SP, - raw: None, - }))), - right: Box::new(Expr::Lit(Lit::Str(Str { - value: self - .dynamically_imported_specifier - .as_ref() - .unwrap() - .clone() - .into(), - span: DUMMY_SP, - raw: None, - }))), - })), - spread: None, - })], - span: DUMMY_SP, - })), - })))] - } else { - vec![PropOrSpread::Prop(Box::new(Prop::KeyValue(KeyValueProp { - key: PropName::Ident(Ident::new("webpack".into(), DUMMY_SP)), - value: Box::new(Expr::Arrow(ArrowExpr { - params: vec![], - body: Box::new(BlockStmtOrExpr::Expr(Box::new(Expr::Array( - ArrayLit { - elems: vec![Some(ExprOrSpread { - expr: Box::new(Expr::Call(CallExpr { - callee: Callee::Expr(Box::new(Expr::Member( - MemberExpr { - obj: Box::new(Expr::Ident(Ident { - sym: js_word!("require"), - span: DUMMY_SP, - optional: false, - })), - prop: MemberProp::Ident(Ident { - sym: "resolveWeak".into(), - span: DUMMY_SP, - optional: false, - }), - span: DUMMY_SP, - }, - ))), - args: vec![ExprOrSpread { - expr: Box::new(Expr::Lit(Lit::Str(Str { - value: self - .dynamically_imported_specifier - .as_ref() - .unwrap() - .clone() - .into(), - span: DUMMY_SP, - raw: None, - }))), - spread: None, - }], - span: DUMMY_SP, - type_args: None, - })), - spread: None, - })], - span: DUMMY_SP, - }, - )))), - is_async: false, - is_generator: false, - span: DUMMY_SP, - return_type: None, - type_params: None, - })), - })))] - }, - })); - - let mut props = - vec![PropOrSpread::Prop(Box::new(Prop::KeyValue(KeyValueProp { - key: PropName::Ident(Ident::new("loadableGenerated".into(), DUMMY_SP)), - value: generated, - })))]; - - let mut has_ssr_false = false; - - if expr.args.len() == 2 { - if let Expr::Object(ObjectLit { - props: options_props, - .. - }) = &*expr.args[1].expr - { - for prop in options_props.iter() { - if let Some(KeyValueProp { key, value }) = match prop { - PropOrSpread::Prop(prop) => match &**prop { - Prop::KeyValue(key_value_prop) => Some(key_value_prop), - _ => None, - }, - _ => None, - } { - if let Some(Ident { - sym, - span: _, - optional: _, - }) = match key { - PropName::Ident(ident) => Some(ident), - _ => None, - } { - if sym == "ssr" { - if let Some(Lit::Bool(Bool { - value: false, - span: _, - })) = value.as_lit() - { - has_ssr_false = true - } - } - } - } - } - props.extend(options_props.iter().cloned()); - } - } - - if has_ssr_false && self.is_server && !self.is_server_components { - expr.args[0] = Lit::Null(Null { span: DUMMY_SP }).as_arg(); - } - - let second_arg = ExprOrSpread { - spread: None, - expr: Box::new(Expr::Object(ObjectLit { - span: DUMMY_SP, - props, - })), - }; - - if expr.args.len() == 2 { - expr.args[1] = second_arg; - } else { - expr.args.push(second_arg) - } - self.dynamically_imported_specifier = None; - } - } - } - expr - } -} - -fn rel_filename(base: Option<&Path>, file: &FileName) -> String { - let base = match base { - Some(v) => v, - None => return file.to_string(), - }; - - let file = match file { - FileName::Real(v) => v, - _ => { - return file.to_string(); - } - }; - - let rel_path = diff_paths(file, base); - - let rel_path = match rel_path { - Some(v) => v, - None => return file.display().to_string(), - }; - - rel_path.display().to_string() -} diff --git a/packages/next-swc/crates/core/src/optimize_server_react.rs b/packages/next-swc/crates/core/src/optimize_server_react.rs index 1d1f662eef65b..df23b16b46cd6 100644 --- a/packages/next-swc/crates/core/src/optimize_server_react.rs +++ b/packages/next-swc/crates/core/src/optimize_server_react.rs @@ -68,7 +68,7 @@ impl Fold for OptimizeServerReact { new_items.push(item.clone().fold_with(self)); if let ModuleItem::ModuleDecl(ModuleDecl::Import(import_decl)) = &item { - if import_decl.src.value.to_string() != "react" { + if import_decl.src.value != "react" { continue; } for specifier in &import_decl.specifiers { @@ -119,9 +119,7 @@ impl Fold for OptimizeServerReact { if &f.to_id() == react_ident { if let MemberProp::Ident(i) = &member.prop { // Remove `React.useEffect` and `React.useLayoutEffect` calls - if i.sym.to_string() == "useEffect" - || i.sym.to_string() == "useLayoutEffect" - { + if i.sym == "useEffect" || i.sym == "useLayoutEffect" { return Expr::Lit(Lit::Null(Null { span: DUMMY_SP })); } } diff --git a/packages/next-swc/crates/core/src/page_config.rs b/packages/next-swc/crates/core/src/page_config.rs index 2cd97f79783bd..495eb0abaff31 100644 --- a/packages/next-swc/crates/core/src/page_config.rs +++ b/packages/next-swc/crates/core/src/page_config.rs @@ -77,7 +77,7 @@ impl Fold for PageConfig { for decl in &var_decl.decls { let mut is_config = false; if let Pat::Ident(ident) = &decl.name { - if &ident.id.sym == CONFIG_KEY { + if ident.id.sym == CONFIG_KEY { is_config = true; } } @@ -151,14 +151,14 @@ impl Fold for PageConfig { match &specifier.exported { Some(ident) => { if let ModuleExportName::Ident(ident) = ident { - if &ident.sym == CONFIG_KEY { + if ident.sym == CONFIG_KEY { self.handle_error("Config cannot be re-exported.", specifier.span) } } } None => { if let ModuleExportName::Ident(ident) = &specifier.orig { - if &ident.sym == CONFIG_KEY { + if ident.sym == CONFIG_KEY { self.handle_error("Config cannot be re-exported.", specifier.span) } } diff --git a/packages/next-swc/crates/core/src/react_server_components.rs b/packages/next-swc/crates/core/src/react_server_components.rs index 8d136e78b09d8..e383df5e4f4c5 100644 --- a/packages/next-swc/crates/core/src/react_server_components.rs +++ b/packages/next-swc/crates/core/src/react_server_components.rs @@ -612,8 +612,8 @@ pub fn server_components( JsWord::from("findDOMNode"), JsWord::from("flushSync"), JsWord::from("unstable_batchedUpdates"), - JsWord::from("experimental_useFormStatus"), - JsWord::from("experimental_useFormState"), + JsWord::from("useFormStatus"), + JsWord::from("useFormState"), ], invalid_server_react_apis: vec![ JsWord::from("Component"), diff --git a/packages/next-swc/crates/core/tests/errors.rs b/packages/next-swc/crates/core/tests/errors.rs index 5ea07faf0ccf9..1bc4b09d92fba 100644 --- a/packages/next-swc/crates/core/tests/errors.rs +++ b/packages/next-swc/crates/core/tests/errors.rs @@ -2,13 +2,13 @@ use std::path::PathBuf; use next_swc::{ disallow_re_export_all_in_page::disallow_re_export_all_in_page, - next_dynamic::next_dynamic, next_ssg::next_ssg, react_server_components::server_components, server_actions::{ server_actions, {self}, }, }; +use next_transform_dynamic::{next_dynamic, NextDynamicMode}; use next_transform_font::{next_font_loaders, Config as FontLoaderConfig}; use turbopack_binding::swc::{ core::{ @@ -56,6 +56,7 @@ fn next_dynamic_errors(input: PathBuf) { true, false, false, + NextDynamicMode::Webpack, FileName::Real(PathBuf::from("/some-project/src/some-file.js")), Some("/some-project/src".into()), ) diff --git a/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/input.js b/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/input.js index d29c808451c59..3b7a161c4b373 100644 --- a/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/input.js +++ b/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/input.js @@ -1,9 +1,6 @@ import { findDOMNode, flushSync, unstable_batchedUpdates } from 'react-dom' -import { - experimental_useFormStatus, - experimental_useFormState, -} from 'react-dom' +import { useFormStatus, useFormState } from 'react-dom' export default function () { return null diff --git a/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/output.js b/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/output.js index 8df6e6178d5de..742749a85ed92 100644 --- a/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/output.js +++ b/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/output.js @@ -1,5 +1,5 @@ import { findDOMNode, flushSync, unstable_batchedUpdates } from 'react-dom'; -import { experimental_useFormStatus, experimental_useFormState } from 'react-dom'; +import { useFormStatus, useFormState } from 'react-dom'; export default function() { return null; } diff --git a/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/output.stderr b/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/output.stderr index 786dd9f145dc8..7f4365f073eb7 100644 --- a/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/output.stderr +++ b/packages/next-swc/crates/core/tests/errors/react-server-components/server-graph/react-dom-api/output.stderr @@ -17,18 +17,18 @@ : ^^^^^^^^^^^^^^^^^^^^^^^ `---- - x NEXT_RSC_ERR_REACT_API: experimental_useFormStatus + x NEXT_RSC_ERR_REACT_API: useFormStatus ,-[input.js:3:1] 3 | import { - 4 | experimental_useFormStatus, + 4 | useFormStatus, : ^^^^^^^^^^^^^^^^^^^^^^^^^^ - 5 | experimental_useFormState, + 5 | useFormState, `---- - x NEXT_RSC_ERR_REACT_API: experimental_useFormState + x NEXT_RSC_ERR_REACT_API: useFormState ,-[input.js:4:1] - 4 | experimental_useFormStatus, - 5 | experimental_useFormState, + 4 | useFormStatus, + 5 | useFormState, : ^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | } from 'react-dom' `---- diff --git a/packages/next-swc/crates/core/tests/fixture.rs b/packages/next-swc/crates/core/tests/fixture.rs index b4b3ccdce78ff..61177ccf0f75c 100644 --- a/packages/next-swc/crates/core/tests/fixture.rs +++ b/packages/next-swc/crates/core/tests/fixture.rs @@ -4,7 +4,6 @@ use next_swc::{ amp_attributes::amp_attributes, cjs_optimizer::cjs_optimizer, named_import_transform::named_import_transform, - next_dynamic::next_dynamic, next_ssg::next_ssg, optimize_barrel::optimize_barrel, optimize_server_react::optimize_server_react, @@ -15,6 +14,7 @@ use next_swc::{ }, shake_exports::{shake_exports, Config as ShakeExportsConfig}, }; +use next_transform_dynamic::{next_dynamic, NextDynamicMode}; use next_transform_font::{next_font_loaders, Config as FontLoaderConfig}; use serde::de::DeserializeOwned; use turbopack_binding::swc::{ @@ -64,6 +64,7 @@ fn next_dynamic_fixture(input: PathBuf) { true, false, false, + NextDynamicMode::Webpack, FileName::Real(PathBuf::from("/some-project/src/some-file.js")), Some("/some-project/src".into()), ) @@ -79,6 +80,7 @@ fn next_dynamic_fixture(input: PathBuf) { false, false, false, + NextDynamicMode::Webpack, FileName::Real(PathBuf::from("/some-project/src/some-file.js")), Some("/some-project/src".into()), ) @@ -94,6 +96,7 @@ fn next_dynamic_fixture(input: PathBuf) { false, true, false, + NextDynamicMode::Webpack, FileName::Real(PathBuf::from("/some-project/src/some-file.js")), Some("/some-project/src".into()), ) @@ -116,6 +119,7 @@ fn app_dir_next_dynamic_fixture(input: PathBuf) { true, false, true, + NextDynamicMode::Webpack, FileName::Real(PathBuf::from("/some-project/src/some-file.js")), Some("/some-project/src".into()), ) @@ -131,6 +135,7 @@ fn app_dir_next_dynamic_fixture(input: PathBuf) { false, false, true, + NextDynamicMode::Webpack, FileName::Real(PathBuf::from("/some-project/src/some-file.js")), Some("/some-project/src".into()), ) @@ -146,6 +151,7 @@ fn app_dir_next_dynamic_fixture(input: PathBuf) { false, true, true, + NextDynamicMode::Webpack, FileName::Real(PathBuf::from("/some-project/src/some-file.js")), Some("/some-project/src".into()), ) diff --git a/packages/next-swc/crates/core/tests/fixture/react-server-components/server-graph-no-checks/react-dom-api/input.js b/packages/next-swc/crates/core/tests/fixture/react-server-components/server-graph-no-checks/react-dom-api/input.js index d29c808451c59..3b7a161c4b373 100644 --- a/packages/next-swc/crates/core/tests/fixture/react-server-components/server-graph-no-checks/react-dom-api/input.js +++ b/packages/next-swc/crates/core/tests/fixture/react-server-components/server-graph-no-checks/react-dom-api/input.js @@ -1,9 +1,6 @@ import { findDOMNode, flushSync, unstable_batchedUpdates } from 'react-dom' -import { - experimental_useFormStatus, - experimental_useFormState, -} from 'react-dom' +import { useFormStatus, useFormState } from 'react-dom' export default function () { return null diff --git a/packages/next-swc/crates/core/tests/fixture/react-server-components/server-graph-no-checks/react-dom-api/output.js b/packages/next-swc/crates/core/tests/fixture/react-server-components/server-graph-no-checks/react-dom-api/output.js index 9621b75b305da..c8a9310228464 100644 --- a/packages/next-swc/crates/core/tests/fixture/react-server-components/server-graph-no-checks/react-dom-api/output.js +++ b/packages/next-swc/crates/core/tests/fixture/react-server-components/server-graph-no-checks/react-dom-api/output.js @@ -1,5 +1,5 @@ import { findDOMNode, flushSync, unstable_batchedUpdates } from 'react-dom'; -import { experimental_useFormStatus, experimental_useFormState } from 'react-dom'; +import { useFormStatus, useFormState } from 'react-dom'; export default function() { return null; diff --git a/packages/next-swc/crates/napi/Cargo.toml b/packages/next-swc/crates/napi/Cargo.toml index 4e2fdcc75b459..255979b3bb1d7 100644 --- a/packages/next-swc/crates/napi/Cargo.toml +++ b/packages/next-swc/crates/napi/Cargo.toml @@ -75,6 +75,7 @@ turbopack-binding = { workspace = true, features = [ "__turbopack", "__turbopack_ecmascript_hmr_protocol", ] } +url = {workspace = true} [target.'cfg(not(all(target_os = "linux", target_env = "musl", target_arch = "aarch64")))'.dependencies] turbopack-binding = { workspace = true, features = ["__turbo_tasks_malloc"] } diff --git a/packages/next-swc/crates/napi/src/next_api/project.rs b/packages/next-swc/crates/napi/src/next_api/project.rs index a8376b88f4078..ecc72bdbf1be8 100644 --- a/packages/next-swc/crates/napi/src/next_api/project.rs +++ b/packages/next-swc/crates/napi/src/next_api/project.rs @@ -1,6 +1,6 @@ use std::{path::PathBuf, sync::Arc, time::Duration}; -use anyhow::{anyhow, Context, Result}; +use anyhow::{anyhow, bail, Context, Result}; use napi::{ bindgen_prelude::External, threadsafe_function::{ThreadsafeFunction, ThreadsafeFunctionCallMode}, @@ -18,7 +18,10 @@ use tracing_subscriber::{ }; use turbo_tasks::{TransientInstance, TurboTasks, UpdateInfo, Vc}; use turbopack_binding::{ - turbo::tasks_memory::MemoryBackend, + turbo::{ + tasks_fs::{FileContent, FileSystem}, + tasks_memory::MemoryBackend, + }, turbopack::{ cli_utils::{ exit::ExitGuard, @@ -28,11 +31,13 @@ use turbopack_binding::{ }, core::{ error::PrettyPrintError, + source_map::{GenerateSourceMap, Token}, version::{PartialUpdate, TotalUpdate, Update}, }, ecmascript_hmr_protocol::{ClientUpdateInstruction, ResourceIdentifier}, }, }; +use url::Url; use super::{ endpoint::ExternalEndpoint, @@ -607,3 +612,125 @@ pub fn project_update_info_subscribe( }); Ok(()) } + +#[turbo_tasks::value] +#[derive(Debug)] +#[napi(object)] +pub struct StackFrame { + pub file: String, + pub method_name: Option, + pub line: u32, + pub column: Option, +} + +#[napi] +pub async fn project_trace_source( + #[napi(ts_arg_type = "{ __napiType: \"Project\" }")] project: External, + frame: StackFrame, +) -> napi::Result> { + let turbo_tasks = project.turbo_tasks.clone(); + let traced_frame = turbo_tasks + .run_once(async move { + let file = match Url::parse(&frame.file) { + Ok(url) => match url.scheme() { + "file" => url.path().to_string(), + _ => bail!("Unknown url scheme"), + }, + Err(_) => frame.file.to_string(), + }; + + let Some(chunk_base) = file.strip_prefix( + &(format!( + "{}/{}", + project.container.project().await?.root_path, + project.container.project().dist_dir().await? + )), + ) else { + // File doesn't exist within the dist dir + return Ok(None); + }; + + let chunk_path = format!( + "{}{}", + project + .container + .project() + .client_relative_path() + .await? + .path, + chunk_base + ); + + let path = project + .container + .project() + .client_root() + .fs() + .root() + .join(chunk_path); + + let Some(generatable): Option>> = + Vc::try_resolve_sidecast(project.container.get_versioned_content(path)).await? + else { + return Ok(None); + }; + + let map = generatable + .generate_source_map() + .await? + .context("Chunk is missing a sourcemap")?; + + let token = map + .lookup_token(frame.line as usize, frame.column.unwrap_or(0) as usize) + .await? + .clone_value() + .context("Unable to trace token from sourcemap")?; + + let Token::Original(token) = token else { + return Ok(None); + }; + + let Some(source_file) = token.original_file.strip_prefix("/turbopack/[project]/") + else { + bail!("Original file outside project") + }; + + Ok(Some(StackFrame { + file: source_file.to_string(), + method_name: token.name, + line: token.original_line as u32, + column: Some(token.original_column as u32), + })) + }) + .await + .map_err(|e| napi::Error::from_reason(PrettyPrintError(&e).to_string()))?; + Ok(traced_frame) +} + +#[napi] +pub async fn project_get_source_for_asset( + #[napi(ts_arg_type = "{ __napiType: \"Project\" }")] project: External, + file_path: String, +) -> napi::Result> { + let turbo_tasks = project.turbo_tasks.clone(); + let source = turbo_tasks + .run_once(async move { + let source_content = &*project + .container + .project() + .project_path() + .join(file_path.to_string()) + .read() + .await?; + + let FileContent::Content(source_content) = source_content else { + return Ok(None); + }; + + Ok(Some(source_content.content().to_str()?.to_string())) + }) + .await + .map_err(|e| napi::Error::from_reason(PrettyPrintError(&e).to_string()))?; + + Ok(source) +} diff --git a/packages/next-swc/crates/next-api/src/app.rs b/packages/next-swc/crates/next-api/src/app.rs index b7d70260e6a4d..7cd5bfd1b2163 100644 --- a/packages/next-swc/crates/next-api/src/app.rs +++ b/packages/next-swc/crates/next-api/src/app.rs @@ -1,3 +1,5 @@ +use std::collections::HashMap; + use anyhow::{bail, Context, Result}; use next_core::{ app_structure::{ @@ -21,7 +23,8 @@ use next_core::{ next_edge::route_regex::get_named_middleware_regex, next_manifests::{ AppBuildManifest, AppPathsManifest, BuildManifest, ClientReferenceManifest, - EdgeFunctionDefinition, MiddlewareMatcher, MiddlewaresManifestV2, PagesManifest, Regions, + EdgeFunctionDefinition, LoadableManifest, MiddlewareMatcher, MiddlewaresManifestV2, + PagesManifest, Regions, }, next_server::{ get_server_module_options_context, get_server_resolve_options_context, @@ -39,7 +42,7 @@ use turbopack_binding::{ turbopack::{ core::{ asset::{Asset, AssetContent}, - chunk::{ChunkingContext, EvaluatableAssets}, + chunk::{availability_info::AvailabilityInfo, ChunkingContext, EvaluatableAssets}, file_source::FileSource, module::Module, output::{OutputAsset, OutputAssets}, @@ -53,6 +56,10 @@ use turbopack_binding::{ }; use crate::{ + dynamic_imports::{ + collect_chunk_group, collect_evaluated_chunk_group, collect_next_dynamic_imports, + DynamicImportedChunks, + }, project::Project, route::{Endpoint, Route, Routes, WrittenEndpoint}, server_actions::create_server_actions_manifest, @@ -679,6 +686,67 @@ impl AppEndpoint { ))) } + async fn create_react_loadable_manifest( + dynamic_import_entries: Vc, + ty: &'static str, + node_root: Vc, + pathname: &str, + ) -> Result> { + let dynamic_import_entries = &*dynamic_import_entries.await?; + + let mut output = vec![]; + let mut loadable_manifest: HashMap = Default::default(); + + for (origin, dynamic_imports) in dynamic_import_entries.into_iter() { + let origin_path = &*origin.ident().path().await?; + + for (import, chunk_output) in dynamic_imports { + let chunk_output = chunk_output.await?; + output.extend(chunk_output.iter().copied()); + + let id = format!("{} -> {}", origin_path, import); + + let server_path = node_root.join("server".to_string()); + let server_path_value = server_path.await?; + let files = chunk_output + .iter() + .map(move |&file| { + let server_path_value = server_path_value.clone(); + async move { + Ok(server_path_value + .get_path_to(&*file.ident().path().await?) + .map(|path| path.to_string())) + } + }) + .try_flat_join() + .await?; + + let manifest_item = LoadableManifest { + id: id.clone(), + files, + }; + + loadable_manifest.insert(id, manifest_item); + } + } + + let loadable_path_prefix = get_asset_prefix_from_pathname(pathname); + let loadable_manifest = Vc::upcast(VirtualOutputAsset::new( + node_root.join(format!( + "server/app{loadable_path_prefix}/{ty}/react-loadable-manifest.json", + )), + AssetContent::file( + FileContent::Content(File::from(serde_json::to_string_pretty( + &loadable_manifest, + )?)) + .cell(), + ), + )); + + output.push(loadable_manifest); + Ok(Vc::cell(output)) + } + let endpoint_output = match app_entry.config.await?.runtime.unwrap_or_default() { NextRuntime::Edge => { // create edge chunks @@ -714,7 +782,7 @@ impl AppEndpoint { let files = chunking_context.evaluated_chunk_group( app_entry.rsc_entry.ident(), - Vc::cell(evaluatable_assets), + Vc::cell(evaluatable_assets.clone()), ); server_assets.extend(files.await?.iter().copied()); @@ -801,6 +869,24 @@ impl AppEndpoint { )?; server_assets.push(app_paths_manifest_output); + // create react-loadable-manifest for next/dynamic + let dynamic_import_modules = + collect_next_dynamic_imports(app_entry.rsc_entry).await?; + let dynamic_import_entries = collect_evaluated_chunk_group( + chunking_context, + dynamic_import_modules, + Vc::cell(evaluatable_assets), + ) + .await?; + let loadable_manifest_output = create_react_loadable_manifest( + dynamic_import_entries, + ty, + node_root, + &app_entry.pathname, + ) + .await?; + server_assets.extend(loadable_manifest_output.await?.iter().copied()); + AppEndpointOutput::Edge { files, server_assets: Vc::cell(server_assets), @@ -857,6 +943,25 @@ impl AppEndpoint { )?; server_assets.push(app_paths_manifest_output); + // create react-loadable-manifest for next/dynamic + let availability_info = Value::new(AvailabilityInfo::Root); + let dynamic_import_modules = + collect_next_dynamic_imports(app_entry.rsc_entry).await?; + let dynamic_import_entries = collect_chunk_group( + this.app_project.project().rsc_chunking_context(), + dynamic_import_modules, + availability_info, + ) + .await?; + let loadable_manifest_output = create_react_loadable_manifest( + dynamic_import_entries, + ty, + node_root, + &app_entry.pathname, + ) + .await?; + server_assets.extend(loadable_manifest_output.await?.iter().copied()); + AppEndpointOutput::NodeJs { rsc_chunk, server_assets: Vc::cell(server_assets), diff --git a/packages/next-swc/crates/next-api/src/dynamic_imports.rs b/packages/next-swc/crates/next-api/src/dynamic_imports.rs new file mode 100644 index 0000000000000..982fbe129acce --- /dev/null +++ b/packages/next-swc/crates/next-api/src/dynamic_imports.rs @@ -0,0 +1,319 @@ +use std::collections::HashMap; + +use anyhow::{bail, Result}; +use indexmap::IndexMap; +use turbo_tasks::{ + graph::{GraphTraversal, NonDeterministic}, + Value, Vc, +}; +use turbopack_binding::{ + swc::core::ecma::{ + ast::{CallExpr, Callee, Expr, Ident, Lit}, + visit::{Visit, VisitWith}, + }, + turbopack::{ + build::BuildChunkingContext, + core::{ + chunk::{ + availability_info::AvailabilityInfo, ChunkableModule, ChunkingContext, + EvaluatableAssets, + }, + issue::IssueSeverity, + module::Module, + output::OutputAssets, + reference::primary_referenced_modules, + reference_type::EcmaScriptModulesReferenceSubType, + resolve::{origin::PlainResolveOrigin, parse::Request, pattern::Pattern}, + }, + ecmascript::{ + chunk::{EcmascriptChunkPlaceable, EcmascriptChunkingContext}, + parse::ParseResult, + resolve::esm_resolve, + EcmascriptModuleAsset, + }, + }, +}; + +async fn collect_chunk_group_inner( + dynamic_import_entries: IndexMap>, DynamicImportedModules>, + build_chunk: F, +) -> Result> +where + F: Fn(Vc>) -> Vc, +{ + let mut chunks_hash: HashMap> = HashMap::new(); + let mut dynamic_import_chunks = IndexMap::new(); + + // Iterate over the collected import mappings, and create a chunk for each + // dynamic import. + for (origin_module, dynamic_imports) in dynamic_import_entries { + for (imported_raw_str, imported_module) in dynamic_imports { + let chunk = if let Some(chunk) = chunks_hash.get(&imported_raw_str) { + *chunk + } else { + let Some(chunk_item) = + Vc::try_resolve_sidecast::>(imported_module).await? + else { + bail!("module must be evaluatable"); + }; + + // [Note]: this seems to create duplicated chunks for the same module to the original import() call + // and the explicit chunk we ask in here. So there'll be at least 2 + // chunks for the same module, relying on + // naive hash to have additonal + // chunks in case if there are same modules being imported in differnt + // origins. + let chunk_group = build_chunk(chunk_item); + chunks_hash.insert(imported_raw_str.to_string(), chunk_group); + chunk_group + }; + + dynamic_import_chunks + .entry(origin_module) + .or_insert_with(Vec::new) + .push((imported_raw_str.clone(), chunk)); + } + } + + Ok(Vc::cell(dynamic_import_chunks)) +} + +pub(crate) async fn collect_chunk_group( + chunking_context: Vc, + dynamic_import_entries: IndexMap>, DynamicImportedModules>, + availability_info: Value, +) -> Result> { + collect_chunk_group_inner(dynamic_import_entries, |chunk_item| { + chunking_context.chunk_group(chunk_item, availability_info) + }) + .await +} + +pub(crate) async fn collect_evaluated_chunk_group( + chunking_context: Vc>, + dynamic_import_entries: IndexMap>, DynamicImportedModules>, + evaluatable_assets: Vc, +) -> Result> { + collect_chunk_group_inner(dynamic_import_entries, |chunk_item| { + chunking_context.evaluated_chunk_group(chunk_item.ident(), evaluatable_assets) + }) + .await +} + +/// Returns a mapping of the dynamic imports for each module, if the import is +/// wrapped in `next/dynamic`'s `dynamic()`. Refer https://nextjs.org/docs/pages/building-your-application/optimizing/lazy-loading#with-named-exports for the usecases. +/// +/// If an import is specified as dynamic, next.js does few things: +/// - Runs a next_dynamic transform to the source file (https://github.com/vercel/next.js/blob/ae1b89984d26b2af3658001fa19a19e1e77c312d/packages/next-swc/crates/next-transform-dynamic/src/lib.rs#L22) +/// - This transform will inject `loadableGenerated` property, which contains the list of the import ids in the form of `${origin} -> ${imported}`. +/// (https://github.com/vercel/next.js/blob/ae1b89984d26b2af3658001fa19a19e1e77c312d/packages/next-swc/crates/next-transform-dynamic/tests/fixture/wrapped-import/output-webpack-dev.js#L5) +/// - Emits `react-loadable-manifest.json` which contains the mapping of the +/// import ids to the chunk ids. +/// - Webpack: (https://github.com/vercel/next.js/blob/ae1b89984d26b2af3658001fa19a19e1e77c312d/packages/next/src/build/webpack/plugins/react-loadable-plugin.ts) +/// - Turbopack: ( https://github.com/vercel/next.js/pull/56389/files#diff-3cac9d9bfe73e0619e6407f21f6fe652da0719d0ec9074ff813ad3e416d0eb1a +/// / https://github.com/vercel/next.js/pull/56389/files#diff-791951bbe1fa09bcbad9be9173412d0848168f7d658758f11b6e8888a021552c +/// / https://github.com/vercel/next.js/pull/56389/files#diff-c33f6895801329243dd3f627c69da259bcab95c2c9d12993152842591931ff01R557 +/// ) +/// - When running an application, +/// - Server reads generated `react-loadable-manifest.json`, sets dynamicImportIds with the mapping of the import ids, and dynamicImports to the actual corresponding chunks. +/// (https://github.com/vercel/next.js/blob/ad42b610c25b72561ad367b82b1c7383fd2a5dd2/packages/next/src/server/load-components.ts#L119 / +/// https://github.com/vercel/next.js/blob/ad42b610c25b72561ad367b82b1c7383fd2a5dd2/packages/next/src/server/render.tsx#L1417C7-L1420) +/// - Server embeds those into __NEXT_DATA__ and sent to the client. (https://github.com/vercel/next.js/blob/ad42b610c25b72561ad367b82b1c7383fd2a5dd2/packages/next/src/server/render.tsx#L1453) +/// - When client boots up, pass it to the client preload (https://github.com/vercel/next.js/blob/ad42b610c25b72561ad367b82b1c7383fd2a5dd2/packages/next/src/client/index.tsx#L943) +/// - Loadable runtime injects preload fn to wait until all the dynamic components are being loaded, this ensures hydration mismatch won't occur +/// (https://github.com/vercel/next.js/blob/ad42b610c25b72561ad367b82b1c7383fd2a5dd2/packages/next/src/shared/lib/loadable.shared-runtime.tsx#L281) +pub(crate) async fn collect_next_dynamic_imports( + entry: Vc>, +) -> Result>, DynamicImportedModules>> { + // Traverse referenced modules graph, collect all of the dynamic imports: + // - Read the Program AST of the Module, this is the origin (A) + // - If there's `dynamic(import(B))`, then B is the module that is being + // imported + // Returned import mappings are in the form of + // (Module, Vec<(B, Module)>) (where B is the raw import source string, + // and Module is the actual resolved Module) + let imported_modules_mapping = NonDeterministic::new() + .skip_duplicates() + .visit([Vc::upcast(entry)], get_referenced_modules) + .await + .completed()? + .into_inner() + .into_iter() + .map(build_dynamic_imports_map_for_module); + + // Consolidate import mappings into a single indexmap + let mut import_mappings: IndexMap>, DynamicImportedModules> = + IndexMap::new(); + + for module_mapping in imported_modules_mapping { + if let Some(module_mapping) = &*module_mapping.await? { + let (origin_module, dynamic_imports) = &*module_mapping.await?; + import_mappings + .entry(*origin_module) + .or_insert_with(Vec::new) + .append(&mut dynamic_imports.clone()) + } + } + + Ok(import_mappings) +} + +async fn get_referenced_modules( + parent: Vc>, +) -> Result>> + Send> { + primary_referenced_modules(parent) + .await + .map(|modules| modules.clone_value().into_iter()) +} + +#[turbo_tasks::function] +async fn build_dynamic_imports_map_for_module( + module: Vc>, +) -> Result> { + let Some(ecmascript_asset) = + Vc::try_resolve_downcast_type::(module).await? + else { + return Ok(OptionDynamicImportsMap::none()); + }; + + // https://github.com/vercel/next.js/pull/56389#discussion_r1349336374 + // don't emit specific error as we expect there's a parse error already reported + let ParseResult::Ok { program, .. } = &*ecmascript_asset.parse().await? else { + return Ok(OptionDynamicImportsMap::none()); + }; + + // Reading the Program AST, collect raw imported module str if it's wrapped in + // dynamic() + let mut visitor = DynamicImportVisitor::new(); + program.visit_with(&mut visitor); + + if visitor.import_sources.is_empty() { + return Ok(OptionDynamicImportsMap::none()); + } + + let mut import_sources = vec![]; + for import in visitor.import_sources.drain(..) { + // Using the given `Module` which is the origin of the dynamic import, trying to + // resolve the module that is being imported. + let dynamic_imported_resolved_module = *esm_resolve( + Vc::upcast(PlainResolveOrigin::new( + ecmascript_asset.await?.asset_context, + module.ident().path(), + )), + Request::parse(Value::new(Pattern::Constant(import.to_string()))), + Value::new(EcmaScriptModulesReferenceSubType::Undefined), + None, + IssueSeverity::Error.cell(), + ) + .first_module() + .await?; + + if let Some(dynamic_imported_resolved_module) = dynamic_imported_resolved_module { + import_sources.push((import, dynamic_imported_resolved_module)); + } + } + + Ok(Vc::cell(Some(Vc::cell((module, import_sources))))) +} + +/// A visitor to check if there's import to `next/dynamic`, then collecting the +/// import wrapped with dynamic() via CollectImportSourceVisitor. +struct DynamicImportVisitor { + dynamic_ident: Option, + pub import_sources: Vec, +} + +impl DynamicImportVisitor { + fn new() -> Self { + Self { + import_sources: vec![], + dynamic_ident: None, + } + } +} + +impl Visit for DynamicImportVisitor { + fn visit_import_decl(&mut self, decl: &turbopack_binding::swc::core::ecma::ast::ImportDecl) { + // find import decl from next/dynamic, i.e import dynamic from 'next/dynamic' + if decl.src.value == *"next/dynamic" { + if let Some(specifier) = decl.specifiers.first().and_then(|s| s.as_default()) { + self.dynamic_ident = Some(specifier.local.clone()); + } + } + } + + fn visit_call_expr(&mut self, call_expr: &CallExpr) { + // Collect imports if the import call is wrapped in the call dynamic() + if let Callee::Expr(ident) = &call_expr.callee { + if let Expr::Ident(ident) = &**ident { + if let Some(dynamic_ident) = &self.dynamic_ident { + if ident.sym == *dynamic_ident.sym { + let mut collect_import_source_visitor = CollectImportSourceVisitor::new(); + call_expr.visit_children_with(&mut collect_import_source_visitor); + + if let Some(import_source) = collect_import_source_visitor.import_source { + self.import_sources.push(import_source); + } + } + } + } + } + + call_expr.visit_children_with(self); + } +} + +/// A visitor to collect import source string from import('path/to/module') +struct CollectImportSourceVisitor { + import_source: Option, +} + +impl CollectImportSourceVisitor { + fn new() -> Self { + Self { + import_source: None, + } + } +} + +impl Visit for CollectImportSourceVisitor { + fn visit_call_expr(&mut self, call_expr: &CallExpr) { + // find import source from import('path/to/module') + // [NOTE]: Turbopack does not support webpack-specific comment directives, i.e + // import(/* webpackChunkName: 'hello1' */ '../../components/hello3') + // Renamed chunk in the comment will be ignored. + if let Callee::Import(_import) = call_expr.callee { + if let Some(arg) = call_expr.args.first() { + if let Expr::Lit(Lit::Str(str_)) = &*arg.expr { + self.import_source = Some(str_.value.to_string()); + } + } + } + + // Don't need to visit children, we expect import() won't have any + // nested calls as dynamic() should be statically analyzable import. + } +} + +pub type DynamicImportedModules = Vec<(String, Vc>)>; +pub type DynamicImportedOutputAssets = Vec<(String, Vc)>; + +/// A struct contains mapping for the dynamic imports to construct chunk per +/// each individual module (Origin Module, Vec<(ImportSourceString, Module)>) +#[turbo_tasks::value(transparent)] +pub struct DynamicImportsMap(pub (Vc>, DynamicImportedModules)); + +/// An Option wrapper around [DynamicImportsMap]. +#[turbo_tasks::value(transparent)] +pub struct OptionDynamicImportsMap(Option>); + +#[turbo_tasks::value_impl] +impl OptionDynamicImportsMap { + #[turbo_tasks::function] + pub fn none() -> Vc { + Vc::cell(None) + } +} + +#[turbo_tasks::value(transparent)] +pub struct DynamicImportedChunks(pub IndexMap>, DynamicImportedOutputAssets>); diff --git a/packages/next-swc/crates/next-api/src/lib.rs b/packages/next-swc/crates/next-api/src/lib.rs index 2a83ab2d75eba..0e7d7c7b04e6b 100644 --- a/packages/next-swc/crates/next-api/src/lib.rs +++ b/packages/next-swc/crates/next-api/src/lib.rs @@ -3,6 +3,7 @@ #![feature(async_fn_in_trait)] mod app; +mod dynamic_imports; mod entrypoints; mod middleware; mod pages; diff --git a/packages/next-swc/crates/next-api/src/pages.rs b/packages/next-swc/crates/next-api/src/pages.rs index b3fd51f922442..2275513a81fd5 100644 --- a/packages/next-swc/crates/next-api/src/pages.rs +++ b/packages/next-swc/crates/next-api/src/pages.rs @@ -1,3 +1,5 @@ +use std::collections::HashMap; + use anyhow::{bail, Context, Result}; use indexmap::IndexMap; use next_core::{ @@ -11,8 +13,8 @@ use next_core::{ next_dynamic::NextDynamicTransition, next_edge::route_regex::get_named_middleware_regex, next_manifests::{ - BuildManifest, EdgeFunctionDefinition, MiddlewareMatcher, MiddlewaresManifestV2, - PagesManifest, + BuildManifest, EdgeFunctionDefinition, LoadableManifest, MiddlewareMatcher, + MiddlewaresManifestV2, PagesManifest, }, next_pages::create_page_ssr_entry_module, next_server::{ @@ -37,10 +39,10 @@ use turbopack_binding::{ build::BuildChunkingContext, core::{ asset::AssetContent, - chunk::{ChunkingContext, EvaluatableAssets}, + chunk::{availability_info::AvailabilityInfo, ChunkingContext, EvaluatableAssets}, context::AssetContext, file_source::FileSource, - issue::{IssueSeverity, OptionIssueSource}, + issue::IssueSeverity, module::Module, output::{OutputAsset, OutputAssets}, reference_type::{ @@ -63,6 +65,10 @@ use turbopack_binding::{ }; use crate::{ + dynamic_imports::{ + collect_chunk_group, collect_evaluated_chunk_group, collect_next_dynamic_imports, + DynamicImportedChunks, + }, project::Project, route::{Endpoint, Route, Routes, WrittenEndpoint}, server_paths::all_server_paths, @@ -533,7 +539,7 @@ impl PageEndpoint { "next/dist/client/next-dev-turbopack.js".to_string(), ))), Value::new(EcmaScriptModulesReferenceSubType::Undefined), - OptionIssueSource::none(), + None, IssueSeverity::Error.cell(), ) .first_module() @@ -609,9 +615,21 @@ impl PageEndpoint { evaluatable_assets.push(evaluatable); let edge_files = edge_chunking_context - .evaluated_chunk_group(ssr_module.ident(), Vc::cell(evaluatable_assets)); + .evaluated_chunk_group(ssr_module.ident(), Vc::cell(evaluatable_assets.clone())); + + let dynamic_import_modules = collect_next_dynamic_imports(ssr_module).await?; + let dynamic_import_entries = collect_evaluated_chunk_group( + edge_chunking_context, + dynamic_import_modules, + Vc::cell(evaluatable_assets.clone()), + ) + .await?; - Ok(SsrChunk::Edge { files: edge_files }.cell()) + Ok(SsrChunk::Edge { + files: edge_files, + dynamic_import_entries, + } + .cell()) } else { let ssr_module = create_page_ssr_entry_module( this.pathname, @@ -633,8 +651,15 @@ impl PageEndpoint { runtime_entries, ); + let availability_info = Value::new(AvailabilityInfo::Root); + let dynamic_import_modules = collect_next_dynamic_imports(ssr_module).await?; + let dynamic_import_entries = + collect_chunk_group(chunking_context, dynamic_import_modules, availability_info) + .await?; + Ok(SsrChunk::NodeJs { entry: ssr_entry_chunk, + dynamic_import_entries, } .cell()) } @@ -728,6 +753,78 @@ impl PageEndpoint { ))) } + #[turbo_tasks::function] + async fn react_loadable_manifest( + self: Vc, + dynamic_import_entries: Vc, + ) -> Result> { + let this = self.await?; + let node_root = this.pages_project.project().node_root(); + let pages_dir = this.pages_project.pages_dir().await?; + + let dynamic_import_entries = &*dynamic_import_entries.await?; + + let mut output = vec![]; + let mut loadable_manifest: HashMap = Default::default(); + for (origin, dynamic_imports) in dynamic_import_entries.into_iter() { + let origin_path = &*origin.ident().path().await?; + + for (import, chunk_output) in dynamic_imports { + let chunk_output = chunk_output.await?; + output.extend(chunk_output.iter().copied()); + + // https://github.com/vercel/next.js/blob/b7c85b87787283d8fb86f705f67bdfabb6b654bb/packages/next-swc/crates/next-transform-dynamic/src/lib.rs#L230 + // For the pages dir, next_dynamic transform puts relative paths to the pages + // dir for the origin import. + let id = format!( + "{} -> {}", + pages_dir + .get_path_to(origin_path) + .map_or_else(|| origin_path.to_string(), |path| path.to_string()), + import + ); + + let server_path = node_root.join("server".to_string()); + let server_path_value = server_path.await?; + let files = chunk_output + .iter() + .map(move |file| { + let server_path_value = server_path_value.clone(); + async move { + Ok(server_path_value + .get_path_to(&*file.ident().path().await?) + .map(|path| path.to_string())) + } + }) + .try_flat_join() + .await?; + + let manifest_item = LoadableManifest { + id: id.clone(), + files, + }; + + loadable_manifest.insert(id, manifest_item); + } + } + + let loadable_path_prefix = get_asset_prefix_from_pathname(&this.pathname.await?); + let loadable_manifest = Vc::upcast(VirtualOutputAsset::new( + node_root.join(format!( + "server/pages{loadable_path_prefix}/react-loadable-manifest.json" + )), + AssetContent::file( + FileContent::Content(File::from(serde_json::to_string_pretty( + &loadable_manifest, + )?)) + .cell(), + ), + )); + + output.push(loadable_manifest); + Ok(Vc::cell(output)) + } + #[turbo_tasks::function] async fn build_manifest( self: Vc, @@ -796,18 +893,27 @@ impl PageEndpoint { }; let page_output = match *ssr_chunk.await? { - SsrChunk::NodeJs { entry } => { + SsrChunk::NodeJs { + entry, + dynamic_import_entries, + } => { let pages_manifest = self.pages_manifest(entry); server_assets.push(pages_manifest); server_assets.push(entry); + let loadable_manifest_output = self.react_loadable_manifest(dynamic_import_entries); + server_assets.extend(loadable_manifest_output.await?.iter().copied()); + PageEndpointOutput::NodeJs { entry_chunk: entry, server_assets: Vc::cell(server_assets), client_assets: Vc::cell(client_assets), } } - SsrChunk::Edge { files } => { + SsrChunk::Edge { + files, + dynamic_import_entries, + } => { let node_root = this.pages_project.project().node_root(); let files_value = files.await?; if let Some(&file) = files_value.first() { @@ -867,6 +973,9 @@ impl PageEndpoint { )); server_assets.push(middleware_manifest_v2); + let loadable_manifest_output = self.react_loadable_manifest(dynamic_import_entries); + server_assets.extend(loadable_manifest_output.await?.iter().copied()); + PageEndpointOutput::Edge { files, server_assets: Vc::cell(server_assets), @@ -1001,6 +1110,12 @@ impl PageEndpointOutput { #[turbo_tasks::value] pub enum SsrChunk { - NodeJs { entry: Vc> }, - Edge { files: Vc }, + NodeJs { + entry: Vc>, + dynamic_import_entries: Vc, + }, + Edge { + files: Vc, + dynamic_import_entries: Vc, + }, } diff --git a/packages/next-swc/crates/next-api/src/project.rs b/packages/next-swc/crates/next-api/src/project.rs index 5d231a409fd05..fe445e59adde0 100644 --- a/packages/next-swc/crates/next-api/src/project.rs +++ b/packages/next-swc/crates/next-api/src/project.rs @@ -255,13 +255,22 @@ impl ProjectContainer { pub fn hmr_identifiers(self: Vc) -> Vc> { self.project().hmr_identifiers() } + + #[turbo_tasks::function] + pub async fn get_versioned_content( + self: Vc, + file_path: Vc, + ) -> Result>> { + let this = self.await?; + Ok(this.versioned_content_map.get(file_path)) + } } #[turbo_tasks::value] pub struct Project { /// A root path from which all files must be nested under. Trying to access /// a file outside this root will fail. Think of this as a chroot. - root_path: String, + pub root_path: String, /// A path where to emit the build outputs. next.config.js's distDir. dist_dir: String, @@ -374,13 +383,18 @@ impl Project { } #[turbo_tasks::function] - pub(super) async fn node_root(self: Vc) -> Result> { + pub async fn dist_dir(self: Vc) -> Result> { + Ok(Vc::cell(self.await?.dist_dir.to_string())) + } + + #[turbo_tasks::function] + pub async fn node_root(self: Vc) -> Result> { let this = self.await?; Ok(self.node_fs().root().join(this.dist_dir.to_string())) } #[turbo_tasks::function] - pub(super) fn client_root(self: Vc) -> Vc { + pub fn client_root(self: Vc) -> Vc { self.client_fs().root() } @@ -399,7 +413,7 @@ impl Project { } #[turbo_tasks::function] - pub(super) async fn client_relative_path(self: Vc) -> Result> { + pub async fn client_relative_path(self: Vc) -> Result> { let next_config = self.next_config().await?; Ok(self.client_root().join(format!( "{}/_next", @@ -411,7 +425,7 @@ impl Project { } #[turbo_tasks::function] - pub(super) async fn project_path(self: Vc) -> Result> { + pub async fn project_path(self: Vc) -> Result> { let this = self.await?; let root = self.project_root_path(); let project_relative = this.project_path.strip_prefix(&this.root_path).unwrap(); diff --git a/packages/next-swc/crates/next-core/src/app_segment_config.rs b/packages/next-swc/crates/next-core/src/app_segment_config.rs index cd72090407aa6..aff04977736ad 100644 --- a/packages/next-swc/crates/next-core/src/app_segment_config.rs +++ b/packages/next-swc/crates/next-core/src/app_segment_config.rs @@ -204,7 +204,7 @@ impl Issue for NextSegmentConfigParsingIssue { #[turbo_tasks::function] fn source(&self) -> Vc { - OptionIssueSource::some(self.source) + Vc::cell(Some(self.source)) } } diff --git a/packages/next-swc/crates/next-core/src/next_client/runtime_entry.rs b/packages/next-swc/crates/next-core/src/next_client/runtime_entry.rs index ea3f7cab5c0c1..d255789a96a1b 100644 --- a/packages/next-swc/crates/next-core/src/next_client/runtime_entry.rs +++ b/packages/next-swc/crates/next-core/src/next_client/runtime_entry.rs @@ -6,7 +6,7 @@ use turbopack_binding::{ core::{ chunk::{EvaluatableAsset, EvaluatableAssetExt, EvaluatableAssets}, context::AssetContext, - issue::{IssueSeverity, OptionIssueSource}, + issue::IssueSeverity, module::Module, resolve::{origin::PlainResolveOrigin, parse::Request}, source::Source, @@ -40,7 +40,7 @@ impl RuntimeEntry { let modules = cjs_resolve( Vc::upcast(PlainResolveOrigin::new(context, path)), request, - OptionIssueSource::none(), + None, IssueSeverity::Error.cell(), ) .primary_modules() diff --git a/packages/next-swc/crates/next-core/src/next_config.rs b/packages/next-swc/crates/next-core/src/next_config.rs index 5576234070065..cf8787db59dc7 100644 --- a/packages/next-swc/crates/next-core/src/next_config.rs +++ b/packages/next-swc/crates/next-core/src/next_config.rs @@ -486,6 +486,7 @@ pub struct ExperimentalConfig { /// Using this feature will enable the `react@experimental` for the `app` /// directory. ppr: Option, + taint: Option, proxy_timeout: Option, /// Allows adjusting body parser size limit for server actions. server_actions_body_size_limit: Option, diff --git a/packages/next-swc/crates/next-core/src/next_import_map.rs b/packages/next-swc/crates/next-core/src/next_import_map.rs index 6b99cb88438db..51423ab506dac 100644 --- a/packages/next-swc/crates/next-core/src/next_import_map.rs +++ b/packages/next-swc/crates/next-core/src/next_import_map.rs @@ -399,6 +399,7 @@ pub async fn get_next_edge_import_map( "next/router" => "next/dist/esm/client/router".to_string(), "next/script" => "next/dist/esm/client/script".to_string(), "next/server" => "next/dist/esm/server/web/exports/index".to_string(), + "next/og" => "next/dist/esm/server/og/image-response".to_string(), "next/dist/client/components/headers" => "next/dist/esm/client/components/headers".to_string(), "next/dist/client/components/navigation" => "next/dist/esm/client/components/navigation".to_string(), @@ -410,6 +411,7 @@ pub async fn get_next_edge_import_map( "next/dist/shared/lib/dynamic" => "next/dist/esm/shared/lib/dynamic".to_string(), "next/dist/shared/lib/head" => "next/dist/esm/shared/lib/head".to_string(), "next/dist/shared/lib/image-external" => "next/dist/esm/shared/lib/image-external".to_string(), + "dist/server/og/image-response" => "next/dist/esm/server/og/image-response".to_string(), }, ); diff --git a/packages/next-swc/crates/next-core/src/next_manifests/mod.rs b/packages/next-swc/crates/next-core/src/next_manifests/mod.rs index 5d6a452be39e6..86042ed18fe2f 100644 --- a/packages/next-swc/crates/next-core/src/next_manifests/mod.rs +++ b/packages/next-swc/crates/next-core/src/next_manifests/mod.rs @@ -145,6 +145,17 @@ pub struct AppPathsManifest { pub node_server_app_paths: PagesManifest, } +// A struct represent a single entry in react-loadable-manifest.json. +// The manifest is in a format of: +// { [`${origin} -> ${imported}`]: { id: `${origin} -> ${imported}`, files: +// string[] } } +#[derive(Serialize, Default, Debug)] +#[serde(rename_all = "camelCase")] +pub struct LoadableManifest { + pub id: String, + pub files: Vec, +} + #[derive(Serialize, Default, Debug)] #[serde(rename_all = "camelCase")] pub struct ServerReferenceManifest { diff --git a/packages/next-swc/crates/next-core/src/next_shared/transforms/next_dynamic.rs b/packages/next-swc/crates/next-core/src/next_shared/transforms/next_dynamic.rs index 588ad932c600d..c0267fb1d0191 100644 --- a/packages/next-swc/crates/next-core/src/next_shared/transforms/next_dynamic.rs +++ b/packages/next-swc/crates/next-core/src/next_shared/transforms/next_dynamic.rs @@ -65,12 +65,7 @@ impl CustomTransformer for NextJsDynamic { }, self.is_server, self.is_server_components, - NextDynamicMode::Turbopack { - dynamic_transition_name: match self.mode { - NextMode::Development => "next-client-chunks".to_string(), - NextMode::Build => "next-dynamic".to_string(), - }, - }, + NextDynamicMode::Webpack, FileName::Real(ctx.file_path_str.into()), self.pages_dir.clone(), )); diff --git a/packages/next-swc/crates/next-core/src/next_shared/transforms/swc_ecma_transform_plugins.rs b/packages/next-swc/crates/next-core/src/next_shared/transforms/swc_ecma_transform_plugins.rs index 2bbadcd54b317..51c5c04cf7804 100644 --- a/packages/next-swc/crates/next-core/src/next_shared/transforms/swc_ecma_transform_plugins.rs +++ b/packages/next-swc/crates/next-core/src/next_shared/transforms/swc_ecma_transform_plugins.rs @@ -39,7 +39,7 @@ pub async fn get_swc_ecma_transform_plugin_impl( use turbopack_binding::turbopack::{ core::{ asset::Asset, - issue::{IssueSeverity, OptionIssueSource}, + issue::IssueSeverity, reference_type::ReferenceType, resolve::{handle_resolve_error, parse::Request, pattern::Pattern, resolve}, }, @@ -73,7 +73,7 @@ pub async fn get_swc_ecma_transform_plugin_impl( project_path, request, resolve_options, - OptionIssueSource::none(), + None, IssueSeverity::Error.cell(), ) .await?; diff --git a/packages/next-swc/crates/next-transform-dynamic/src/lib.rs b/packages/next-swc/crates/next-transform-dynamic/src/lib.rs index fc630e6c44113..9136fd78a336d 100644 --- a/packages/next-swc/crates/next-transform-dynamic/src/lib.rs +++ b/packages/next-swc/crates/next-transform-dynamic/src/lib.rs @@ -19,6 +19,11 @@ use swc_core::{ quote, }; +/// Creates a SWC visitor to transform `next/dynamic` calls to have the +/// corresponding `loadableGenerated` property. +/// +/// [NOTE] We do not use `NextDynamicMode::Turbopack` yet. It isn't compatible +/// with current loadable manifest, which causes hydration errors. pub fn next_dynamic( is_development: bool, is_server: bool, @@ -89,6 +94,7 @@ enum NextDynamicPatcherState { Webpack, /// In Turbo mode, contains a list of modules that need to be imported with /// the given transition under a particular ident. + #[allow(unused)] Turbopack { dynamic_transition_name: String, imports: Vec, diff --git a/packages/next-swc/package.json b/packages/next-swc/package.json index 8fc9bea0c8514..8d2e8ad92b6fa 100644 --- a/packages/next-swc/package.json +++ b/packages/next-swc/package.json @@ -1,6 +1,6 @@ { "name": "@next/swc", - "version": "13.5.5", + "version": "13.5.7-canary.12", "private": true, "scripts": { "clean": "node ../../scripts/rm.mjs native", diff --git a/packages/next/cache.d.ts b/packages/next/cache.d.ts index 998b438f51fb3..2f0e6fd1f1810 100644 --- a/packages/next/cache.d.ts +++ b/packages/next/cache.d.ts @@ -1,3 +1,4 @@ export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache' export { revalidatePath } from 'next/dist/server/web/spec-extension/revalidate-path' export { revalidateTag } from 'next/dist/server/web/spec-extension/revalidate-tag' +export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store' diff --git a/packages/next/cache.js b/packages/next/cache.js index 0c0c589b2b748..96f73f3f8c947 100644 --- a/packages/next/cache.js +++ b/packages/next/cache.js @@ -5,6 +5,9 @@ const cacheExports = { .revalidateTag, revalidatePath: require('next/dist/server/web/spec-extension/revalidate-path') .revalidatePath, + unstable_noStore: + require('next/dist/server/web/spec-extension/unstable-no-store') + .unstable_noStore, } // https://nodejs.org/api/esm.html#commonjs-namespaces @@ -15,3 +18,4 @@ module.exports = cacheExports exports.unstable_cache = cacheExports.unstable_cache exports.revalidatePath = cacheExports.revalidatePath exports.revalidateTag = cacheExports.revalidateTag +exports.unstable_noStore = cacheExports.unstable_noStore diff --git a/packages/next/og.d.ts b/packages/next/og.d.ts new file mode 100644 index 0000000000000..f7d7968e79676 --- /dev/null +++ b/packages/next/og.d.ts @@ -0,0 +1 @@ +export * from './dist/server/og/image-response' diff --git a/packages/next/og.js b/packages/next/og.js new file mode 100644 index 0000000000000..a9684e7768ac0 --- /dev/null +++ b/packages/next/og.js @@ -0,0 +1 @@ +module.exports = require('./dist/server/og/image-response') diff --git a/packages/next/package.json b/packages/next/package.json index 667f7734541cf..84d0b7f30dc70 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "13.5.5", + "version": "13.5.7-canary.12", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -47,6 +47,8 @@ "jest.d.ts", "amp.js", "amp.d.ts", + "og.js", + "og.d.ts", "index.d.ts", "types/index.d.ts", "types/global.d.ts", @@ -90,7 +92,7 @@ ] }, "dependencies": { - "@next/env": "13.5.5", + "@next/env": "13.5.7-canary.12", "@swc/helpers": "0.5.2", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001406", @@ -114,28 +116,28 @@ }, "devDependencies": { "@ampproject/toolbox-optimizer": "2.8.3", - "@babel/code-frame": "7.12.11", - "@babel/core": "7.18.0", - "@babel/eslint-parser": "7.18.2", - "@babel/generator": "7.18.0", - "@babel/plugin-proposal-class-properties": "7.14.5", - "@babel/plugin-proposal-export-namespace-from": "7.14.5", - "@babel/plugin-proposal-numeric-separator": "7.14.5", - "@babel/plugin-proposal-object-rest-spread": "7.14.7", + "@babel/code-frame": "7.22.5", + "@babel/core": "7.22.5", + "@babel/eslint-parser": "7.22.5", + "@babel/generator": "7.22.5", + "@babel/plugin-proposal-class-properties": "7.18.6", + "@babel/plugin-proposal-export-namespace-from": "7.18.9", + "@babel/plugin-proposal-numeric-separator": "7.18.6", + "@babel/plugin-proposal-object-rest-spread": "7.20.7", "@babel/plugin-syntax-bigint": "7.8.3", "@babel/plugin-syntax-dynamic-import": "7.8.3", - "@babel/plugin-syntax-import-assertions": "7.16.7", - "@babel/plugin-syntax-jsx": "7.14.5", - "@babel/plugin-transform-modules-commonjs": "7.18.0", - "@babel/plugin-transform-runtime": "7.18.0", - "@babel/preset-env": "7.18.0", - "@babel/preset-react": "7.14.5", - "@babel/preset-typescript": "7.17.12", - "@babel/runtime": "7.15.4", - "@babel/traverse": "7.18.0", - "@babel/types": "7.18.0", + "@babel/plugin-syntax-import-assertions": "7.22.5", + "@babel/plugin-syntax-jsx": "7.22.5", + "@babel/plugin-transform-modules-commonjs": "7.22.5", + "@babel/plugin-transform-runtime": "7.22.5", + "@babel/preset-env": "7.22.5", + "@babel/preset-react": "7.22.5", + "@babel/preset-typescript": "7.22.5", + "@babel/runtime": "7.22.5", + "@babel/traverse": "7.22.5", + "@babel/types": "7.22.5", "@capsizecss/metrics": "1.1.0", - "@edge-runtime/cookies": "4.0.1", + "@edge-runtime/cookies": "4.0.2", "@edge-runtime/ponyfill": "2.4.1", "@edge-runtime/primitives": "4.0.2", "@hapi/accept": "5.0.2", @@ -144,11 +146,11 @@ "@mswjs/interceptors": "0.23.0", "@napi-rs/cli": "2.16.2", "@napi-rs/triples": "1.1.0", - "@next/polyfill-module": "13.5.5", - "@next/polyfill-nomodule": "13.5.5", - "@next/react-dev-overlay": "13.5.5", - "@next/react-refresh-utils": "13.5.5", - "@next/swc": "13.5.5", + "@next/polyfill-module": "13.5.7-canary.12", + "@next/polyfill-nomodule": "13.5.7-canary.12", + "@next/react-dev-overlay": "13.5.7-canary.12", + "@next/react-refresh-utils": "13.5.7-canary.12", + "@next/swc": "13.5.7-canary.12", "@opentelemetry/api": "1.4.1", "@playwright/test": "^1.35.1", "@taskr/clear": "1.1.0", @@ -191,7 +193,7 @@ "@types/ws": "8.2.0", "@vercel/ncc": "0.34.0", "@vercel/nft": "0.22.6", - "@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231013.3", + "@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231020.3", "acorn": "8.5.0", "amphtml-validator": "1.0.35", "anser": "1.4.9", @@ -302,7 +304,6 @@ "timers-browserify": "2.0.12", "tty-browserify": "0.0.1", "ua-parser-js": "1.0.35", - "undici": "5.26.3", "unistore": "3.4.1", "util": "0.12.4", "uuid": "8.3.2", @@ -316,6 +317,6 @@ "zod": "3.22.3" }, "engines": { - "node": ">=16.14.0" + "node": ">=18.17.0" } } diff --git a/packages/next/src/bin/next.ts b/packages/next/src/bin/next.ts index 2bde7eb71a911..9f84b7d1774e3 100755 --- a/packages/next/src/bin/next.ts +++ b/packages/next/src/bin/next.ts @@ -94,22 +94,6 @@ if (process.env.NODE_ENV) { ;(process.env as any).NODE_ENV = process.env.NODE_ENV || defaultEnv ;(process.env as any).NEXT_RUNTIME = 'nodejs' -// x-ref: https://github.com/vercel/next.js/pull/34688#issuecomment-1047994505 -if (process.versions.pnp === '3') { - const nodeVersionParts = process.versions.node - .split('.') - .map((v) => Number(v)) - - if ( - nodeVersionParts[0] < 16 || - (nodeVersionParts[0] === 16 && nodeVersionParts[1] < 14) - ) { - log.warn( - 'Node.js 16.14+ is required for Yarn PnP 3.20+. More info: https://github.com/vercel/next.js/pull/34688#issuecomment-1047994505' - ) - } -} - // Make sure commands gracefully respect termination signals (e.g. from Docker) // Allow the graceful termination to be manually configurable if (!process.env.NEXT_MANUAL_SIG_HANDLE && command !== 'dev') { diff --git a/packages/next/src/build/babel/plugins/next-page-config.ts b/packages/next/src/build/babel/plugins/next-page-config.ts index ceae6f8dd952d..d3a20d4f04dc7 100644 --- a/packages/next/src/build/babel/plugins/next-page-config.ts +++ b/packages/next/src/build/babel/plugins/next-page-config.ts @@ -51,10 +51,8 @@ export default function nextPageConfig({ { ExportDeclaration(exportPath, exportState) { if ( - BabelTypes.isExportNamedDeclaration(exportPath) && - ( - exportPath.node as BabelTypes.ExportNamedDeclaration - ).specifiers?.some((specifier) => { + BabelTypes.isExportNamedDeclaration(exportPath.node) && + exportPath.node.specifiers?.some((specifier) => { return ( (t.isIdentifier(specifier.exported) ? specifier.exported.name diff --git a/packages/next/src/build/babel/plugins/next-ssg-transform.ts b/packages/next/src/build/babel/plugins/next-ssg-transform.ts index db6be10944b94..266fe056d17d7 100644 --- a/packages/next/src/build/babel/plugins/next-ssg-transform.ts +++ b/packages/next/src/build/babel/plugins/next-ssg-transform.ts @@ -329,8 +329,8 @@ export default function nextTransformSsg({ ++count if ( - t.isAssignmentExpression(sweepPath.parentPath) || - t.isVariableDeclarator(sweepPath.parentPath) + t.isAssignmentExpression(sweepPath.parentPath.node) || + t.isVariableDeclarator(sweepPath.parentPath.node) ) { sweepPath.parentPath.remove() } else { diff --git a/packages/next/src/build/babel/plugins/optimize-hook-destructuring.ts b/packages/next/src/build/babel/plugins/optimize-hook-destructuring.ts index 63e9ccd7abe11..deeb43284768f 100644 --- a/packages/next/src/build/babel/plugins/optimize-hook-destructuring.ts +++ b/packages/next/src/build/babel/plugins/optimize-hook-destructuring.ts @@ -57,7 +57,14 @@ export default function ({ } return patterns.concat( - t.objectProperty(t.numericLiteral(i), element) + t.objectProperty( + t.numericLiteral(i), + // TODO: fix this + element as Exclude< + typeof element, + BabelTypes.MemberExpression | BabelTypes.TSParameterProperty + > + ) ) }, [] diff --git a/packages/next/src/build/collect-build-traces.ts b/packages/next/src/build/collect-build-traces.ts index c1fb4cc983672..07481a4575eb3 100644 --- a/packages/next/src/build/collect-build-traces.ts +++ b/packages/next/src/build/collect-build-traces.ts @@ -25,9 +25,44 @@ import { nodeFileTrace } from 'next/dist/compiled/@vercel/nft' import { normalizePagePath } from '../shared/lib/page-path/normalize-page-path' import { normalizeAppPath } from '../shared/lib/router/utils/app-paths' import isError from '../lib/is-error' +import type { NodeFileTraceReasons } from '@vercel/nft' const debug = debugOriginal('next:build:build-traces') +function shouldIgnore( + file: string, + serverIgnoreFn: (file: string) => boolean, + reasons: NodeFileTraceReasons, + cachedIgnoreFiles: Map +) { + if (cachedIgnoreFiles.has(file)) { + return cachedIgnoreFiles.get(file) + } + + if (serverIgnoreFn(file)) { + cachedIgnoreFiles.set(file, true) + return true + } + + const reason = reasons.get(file) + if (!reason || reason.parents.size === 0 || reason.type.includes('initial')) { + cachedIgnoreFiles.set(file, false) + return false + } + + if ( + [...reason.parents.values()].every((parent) => + shouldIgnore(parent, serverIgnoreFn, reasons, cachedIgnoreFiles) + ) + ) { + cachedIgnoreFiles.set(file, true) + return true + } + + cachedIgnoreFiles.set(file, false) + return false +} + export async function collectBuildTraces({ dir, config, @@ -234,9 +269,19 @@ export async function collectBuildTraces({ }) } } - const serverIgnores = [ + + const sharedIgnores = [ '**/*.d.ts', '**/*.map', + '**/next/dist/compiled/next-server/**/*.dev.js', + '**/node_modules/react{,-dom,-dom-server-turbopack}/**/*.development.js', + + ...additionalIgnores, + ...(config.experimental.outputFileTracingIgnores || []), + ] + + const serverIgnores = [ + ...sharedIgnores, isStandalone ? null : '**/next/dist/compiled/jest-worker/**/*', '**/next/dist/compiled/webpack/(bundle4|bundle5).js', '**/node_modules/webpack5/**/*', @@ -257,19 +302,29 @@ export async function collectBuildTraces({ ? ['**/next/dist/compiled/@ampproject/toolbox-optimizer/**/*'] : []), - ...additionalIgnores, - ...(isStandalone ? [] : TRACE_IGNORES), - - ...(config.experimental.outputFileTracingIgnores || []), ].filter(nonNullable) - const serverIgnoreFn = (pathname: string) => { + const minimalServerIgnores = [ + ...serverIgnores, + '**/next/dist/compiled/edge-runtime/**/*', + '**/next/dist/server/web/sandbox/**/*', + '**/next/dist/server/post-process.js', + ] + + const routesIgnores = [ + ...sharedIgnores, + '**/next/dist/compiled/next-server/**/*', + '**/next/dist/server/optimize-amp.js', + '**/next/dist/server/post-process.js', + ] + + const makeIgnoreFn = (ignores: string[]) => (pathname: string) => { if (path.isAbsolute(pathname) && !pathname.startsWith(root)) { return true } - return isMatch(pathname, serverIgnores, { + return isMatch(pathname, ignores, { contains: true, dot: true, }) @@ -324,7 +379,13 @@ export async function collectBuildTraces({ [minimalServerTracedFiles, minimalFiles], ] as [Set, string[]][]) { for (const file of files) { - if (!serverIgnoreFn(path.join(traceContext, file))) { + if ( + !makeIgnoreFn( + set === minimalServerTracedFiles + ? minimalServerIgnores + : serverIgnores + )(path.join(traceContext, file)) + ) { addToTracedFiles(traceContext, file, set) } } @@ -345,11 +406,10 @@ export async function collectBuildTraces({ return await fs.readFile(p, 'utf8') } catch (e) { if (isError(e) && (e.code === 'ENOENT' || e.code === 'EISDIR')) { - // handle temporary internal webpack files - if (p.match(/static[/\\]media/)) { - return '' - } - return null + // since tracing runs in parallel with static generation server + // files might be removed from that step so tolerate ENOENT + // errors gracefully + return '' } throw e } @@ -382,11 +442,13 @@ export async function collectBuildTraces({ }) const reasons = result.reasons const fileList = result.fileList - for (const file of result.esmFileList) { fileList.add(file) } + const parentFilesMap = getFilesMapFromReasons(fileList, reasons) + const cachedLookupIgnore = new Map() + const cachedLookupIgnoreMinimal = new Map() for (const [entries, tracedFiles] of [ [serverEntries, serverTracedFiles], @@ -401,7 +463,20 @@ export async function collectBuildTraces({ for (const curFile of curFiles || []) { const filePath = path.join(outputFileTracingRoot, curFile) - if (!serverIgnoreFn(filePath)) { + if ( + !shouldIgnore( + curFile, + makeIgnoreFn( + tracedFiles === minimalServerTracedFiles + ? minimalServerIgnores + : serverIgnores + ), + reasons, + tracedFiles === minimalServerTracedFiles + ? cachedLookupIgnoreMinimal + : cachedLookupIgnore + ) + ) { tracedFiles.add( path.relative(distDir, filePath).replace(/\\/g, '/') ) @@ -412,6 +487,8 @@ export async function collectBuildTraces({ const { entryNameFilesMap } = buildTraceContext?.chunksTrace || {} + const cachedLookupIgnoreRoutes = new Map() + await Promise.all( [ ...(entryNameFilesMap @@ -451,14 +528,20 @@ export async function collectBuildTraces({ path.relative(outputFileTracingRoot, file) ) for (const curFile of curFiles || []) { - curTracedFiles.add( - path - .relative( - traceOutputDir, - path.join(outputFileTracingRoot, curFile) - ) + if ( + !shouldIgnore( + curFile, + makeIgnoreFn(routesIgnores), + reasons, + cachedLookupIgnoreRoutes + ) + ) { + const filePath = path.join(outputFileTracingRoot, curFile) + const outputFile = path + .relative(traceOutputDir, filePath) .replace(/\\/g, '/') - ) + curTracedFiles.add(outputFile) + } } } @@ -493,8 +576,10 @@ export async function collectBuildTraces({ for (const item of await fs.readdir(contextDir)) { const itemPath = path.relative(root, path.join(contextDir, item)) - addToTracedFiles(root, itemPath, serverTracedFiles) - addToTracedFiles(root, itemPath, minimalServerTracedFiles) + if (!makeIgnoreFn(serverIgnores)(itemPath)) { + addToTracedFiles(root, itemPath, serverTracedFiles) + addToTracedFiles(root, itemPath, minimalServerTracedFiles) + } } addToTracedFiles(root, relativeModulePath, serverTracedFiles) addToTracedFiles(root, relativeModulePath, minimalServerTracedFiles) diff --git a/packages/next/src/build/handle-externals.ts b/packages/next/src/build/handle-externals.ts index 2e0eb816b1495..853ab2e3c68ab 100644 --- a/packages/next/src/build/handle-externals.ts +++ b/packages/next/src/build/handle-externals.ts @@ -44,7 +44,6 @@ export async function resolveExternal( context: string, request: string, isEsmRequested: boolean, - hasAppDir: boolean, getResolve: ( options: any ) => ( @@ -66,11 +65,7 @@ export async function resolveExternal( let preferEsmOptions = esmExternals && isEsmRequested ? [true, false] : [false] - // Disable esm resolving for app/ and pages/ so for esm package using under pages/ - // won't load react through esm loader - if (hasAppDir) { - preferEsmOptions = [false] - } + for (const preferEsm of preferEsmOptions) { const resolve = getResolve( preferEsm ? esmResolveOptions : nodeResolveOptions @@ -135,12 +130,10 @@ export function makeExternalHandler({ config, optOutBundlingPackageRegex, dir, - hasAppDir, }: { config: NextConfigComplete optOutBundlingPackageRegex: RegExp dir: string - hasAppDir: boolean }) { let resolvedExternalPackageDirs: Map const looseEsmExternals = config.experimental?.esmExternals === 'loose' @@ -293,7 +286,6 @@ export function makeExternalHandler({ context, request, isEsmRequested, - hasAppDir, getResolve, isLocal ? resolveNextExternal : undefined ) @@ -353,7 +345,6 @@ export function makeExternalHandler({ config.experimental.esmExternals, context, pkg + '/package.json', - hasAppDir, isEsmRequested, getResolve, isLocal ? resolveNextExternal : undefined diff --git a/packages/next/src/build/index.ts b/packages/next/src/build/index.ts index 3eca074f8a65b..a303509952fac 100644 --- a/packages/next/src/build/index.ts +++ b/packages/next/src/build/index.ts @@ -1207,6 +1207,7 @@ export default async function build( return new Worker(staticWorkerPath, { timeout: timeout * 1000, + logger: Log, onRestart: (method, [arg], attempts) => { if (method === 'exportPage') { const pagePath = arg.path diff --git a/packages/next/src/build/swc/index.ts b/packages/next/src/build/swc/index.ts index b838a158c9ee2..0f76524b4cb60 100644 --- a/packages/next/src/build/swc/index.ts +++ b/packages/next/src/build/swc/index.ts @@ -519,6 +519,13 @@ export interface HmrIdentifiers { identifiers: string[] } +export interface StackFrame { + file: string + methodName: string | null + line: number + column: number | null +} + export interface UpdateInfo { duration: number tasks: number @@ -540,6 +547,8 @@ export interface Project { hmrIdentifiersSubscribe(): AsyncIterableIterator< TurbopackResult > + getSourceForAsset(filePath: string): Promise + traceSource(stackFrame: StackFrame): Promise updateInfoSubscribe(): AsyncIterableIterator> } @@ -916,6 +925,14 @@ function bindingToApi(binding: any, _wasm: boolean) { return subscription } + traceSource(stackFrame: StackFrame): Promise { + return binding.projectTraceSource(this._nativeProject, stackFrame) + } + + getSourceForAsset(filePath: string): Promise { + return binding.projectGetSourceForAsset(this._nativeProject, filePath) + } + updateInfoSubscribe() { const subscription = subscribe>( true, diff --git a/packages/next/src/build/templates/app-route.ts b/packages/next/src/build/templates/app-route.ts index 2b8f9d101aeed..ab90b75a286da 100644 --- a/packages/next/src/build/templates/app-route.ts +++ b/packages/next/src/build/templates/app-route.ts @@ -1,5 +1,3 @@ -import '../../server/node-polyfill-headers' - import { AppRouteRouteModule, type AppRouteRouteModuleOptions, diff --git a/packages/next/src/build/utils.ts b/packages/next/src/build/utils.ts index beb14976125d3..2efe6b1e9aee7 100644 --- a/packages/next/src/build/utils.ts +++ b/packages/next/src/build/utils.ts @@ -18,10 +18,8 @@ import type { WebpackLayerName } from '../lib/constants' import type { AppPageModule } from '../server/future/route-modules/app-page/module' import '../server/require-hook' -import '../server/node-polyfill-fetch' import '../server/node-polyfill-crypto' import '../server/node-environment' -import '../lib/polyfill-promise-with-resolvers' import { green, yellow, red, cyan, bold, underline } from '../lib/picocolors' import getGzipSize from 'next/dist/compiled/gzip-size' diff --git a/packages/next/src/build/webpack-config-rules/resolve.ts b/packages/next/src/build/webpack-config-rules/resolve.ts new file mode 100644 index 0000000000000..f50f6c92ee629 --- /dev/null +++ b/packages/next/src/build/webpack-config-rules/resolve.ts @@ -0,0 +1,40 @@ +import { + COMPILER_NAMES, + type CompilerNameValues, +} from '../../shared/lib/constants' + +// exports. +export const edgeConditionNames = [ + 'edge-light', + 'worker', + // inherits the default conditions + '...', +] + +const mainFieldsPerCompiler: Record< + CompilerNameValues | 'app-router-server', + string[] +> = { + // For default case, prefer CJS over ESM on server side. e.g. pages dir SSR + [COMPILER_NAMES.server]: ['main', 'module'], + [COMPILER_NAMES.client]: ['browser', 'module', 'main'], + [COMPILER_NAMES.edgeServer]: edgeConditionNames, + // For app router since everything is bundled, prefer ESM over CJS + 'app-router-server': ['module', 'main'], +} + +export function getMainField( + pageType: 'app' | 'pages', + compilerType: CompilerNameValues +) { + if (compilerType === COMPILER_NAMES.edgeServer) { + return edgeConditionNames + } else if (compilerType === COMPILER_NAMES.client) { + return mainFieldsPerCompiler[COMPILER_NAMES.client] + } + + // Prefer module fields over main fields for isomorphic packages on server layer + return pageType === 'app' + ? mainFieldsPerCompiler['app-router-server'] + : mainFieldsPerCompiler[COMPILER_NAMES.server] +} diff --git a/packages/next/src/build/webpack-config.ts b/packages/next/src/build/webpack-config.ts index bf6ea0bb5b2a9..c6cec8330e4a5 100644 --- a/packages/next/src/build/webpack-config.ts +++ b/packages/next/src/build/webpack-config.ts @@ -74,6 +74,11 @@ import { needsExperimentalReact } from '../lib/needs-experimental-react' import { getDefineEnvPlugin } from './webpack/plugins/define-env-plugin' import type { SWCLoaderOptions } from './webpack/loaders/next-swc-loader' import { isResourceInPackages, makeExternalHandler } from './handle-externals' +import { + getMainField, + edgeConditionNames, +} from './webpack-config-rules/resolve' +import { OptionalPeerDependencyResolverPlugin } from './webpack/plugins/optional-peer-dependency-resolve-plugin' type ExcludesFalse = (x: T | false) => x is T type ClientEntries = { @@ -104,21 +109,6 @@ const babelIncludeRegexes: RegExp[] = [ const asyncStoragesRegex = /next[\\/]dist[\\/](esm[\\/])?client[\\/]components[\\/](static-generation-async-storage|action-async-storage|request-async-storage)/ -// exports. -const edgeConditionNames = [ - 'edge-light', - 'worker', - // inherits the default conditions - '...', -] - -// packageJson. -const mainFieldsPerCompiler: Record = { - [COMPILER_NAMES.server]: ['main', 'module'], - [COMPILER_NAMES.client]: ['browser', 'module', 'main'], - [COMPILER_NAMES.edgeServer]: edgeConditionNames, -} - // Support for NODE_PATH const nodePathList = (process.env.NODE_PATH || '') .split(process.platform === 'win32' ? ';' : ':') @@ -811,7 +801,7 @@ export default async function getBaseWebpackConfig( ], alias: { // Alias 3rd party @vercel/og package to vendored og image package to reduce bundle size - '@vercel/og': 'next/dist/server/web/spec-extension/image-response', + '@vercel/og': 'next/dist/server/og/image-response', // Alias next/dist imports to next/dist/esm assets, // let this alias hit before `next` alias. @@ -827,6 +817,8 @@ export default async function getBaseWebpackConfig( // Alias the usage of next public APIs [path.join(NEXT_PROJECT_ROOT, 'server')]: 'next/dist/esm/server/web/exports/index', + [path.join(NEXT_PROJECT_ROOT, 'og')]: + 'next/dist/esm/server/og/image-response', [path.join(NEXT_PROJECT_ROOT_DIST, 'client', 'link')]: 'next/dist/esm/client/link', [path.join( @@ -934,11 +926,14 @@ export default async function getBaseWebpackConfig( }, } : undefined), - mainFields: mainFieldsPerCompiler[compilerType], + // default main fields use pages dir ones, and customize app router ones in loaders. + mainFields: getMainField('pages', compilerType), ...(isEdgeServer && { conditionNames: edgeConditionNames, }), - plugins: [], + plugins: [ + isNodeServer ? new OptionalPeerDependencyResolverPlugin() : undefined, + ].filter(Boolean) as webpack.ResolvePluginInstance[], } const terserOptions: any = { @@ -1042,7 +1037,6 @@ export default async function getBaseWebpackConfig( config, optOutBundlingPackageRegex, dir, - hasAppDir, }) const shouldIncludeExternalDirs = @@ -1613,6 +1607,7 @@ export default async function getBaseWebpackConfig( ], }, resolve: { + mainFields: getMainField('app', compilerType), conditionNames: reactServerCondition, // If missing the alias override here, the default alias will be used which aliases // react to the direct file path, not the package name. In that case the condition @@ -1757,6 +1752,9 @@ export default async function getBaseWebpackConfig( ], exclude: [codeCondition.exclude], use: swcLoaderForClientLayer, + resolve: { + mainFields: getMainField('app', compilerType), + }, }, ] : []), @@ -1903,7 +1901,7 @@ export default async function getBaseWebpackConfig( { // Mark `image-response.js` as side-effects free to make sure we can // tree-shake it if not used. - test: /[\\/]next[\\/]dist[\\/](esm[\\/])?server[\\/]web[\\/]exports[\\/]image-response\.js/, + test: /[\\/]next[\\/]dist[\\/](esm[\\/])?server[\\/]og[\\/]image-response\.js/, sideEffects: false, }, ].filter(Boolean), diff --git a/packages/next/src/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.ts b/packages/next/src/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.ts index cef1810ac0b88..e7fe9a5943385 100644 --- a/packages/next/src/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.ts +++ b/packages/next/src/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.ts @@ -329,8 +329,7 @@ const plugin = (options: any = {}) => { return parsedDeclaration } - const splittedUrl = url.split(/(\?)?#/) - const [pathname, query, hashOrQuery] = splittedUrl + const [pathname, query, hashOrQuery] = url.split(/(\?)?#/, 3) let hash = query ? '?' : '' hash += hashOrQuery ? `#${hashOrQuery}` : '' diff --git a/packages/next/src/build/webpack/loaders/metadata/resolve-route-data.test.ts b/packages/next/src/build/webpack/loaders/metadata/resolve-route-data.test.ts index 0a949991f973e..37ac4b5a60bf3 100644 --- a/packages/next/src/build/webpack/loaders/metadata/resolve-route-data.test.ts +++ b/packages/next/src/build/webpack/loaders/metadata/resolve-route-data.test.ts @@ -87,8 +87,8 @@ describe('resolveRouteData', () => { }, ]) ).toMatchInlineSnapshot(` - " - + " + https://example.com 2021-01-01 diff --git a/packages/next/src/build/webpack/loaders/next-app-loader.ts b/packages/next/src/build/webpack/loaders/next-app-loader.ts index acc3bc4ea6dfb..73c6db1fdcd20 100644 --- a/packages/next/src/build/webpack/loaders/next-app-loader.ts +++ b/packages/next/src/build/webpack/loaders/next-app-loader.ts @@ -178,7 +178,7 @@ async function createTreeCodeFromPath( rootLayout: string | undefined globalError: string | undefined }> { - const splittedPath = pagePath.split(/[\\/]/) + const splittedPath = pagePath.split(/[\\/]/, 1) const isNotFoundRoute = page === '/_not-found' const isDefaultNotFound = isAppBuiltinNotFoundPage(pagePath) const appDirPrefix = isDefaultNotFound ? APP_DIR_ALIAS : splittedPath[0] diff --git a/packages/next/src/build/webpack/loaders/next-metadata-route-loader.ts b/packages/next/src/build/webpack/loaders/next-metadata-route-loader.ts index d160cbafaad62..a566eb3d2e7bc 100644 --- a/packages/next/src/build/webpack/loaders/next-metadata-route-loader.ts +++ b/packages/next/src/build/webpack/loaders/next-metadata-route-loader.ts @@ -16,7 +16,7 @@ type MetadataRouteLoaderOptions = { export function getFilenameAndExtension(resourcePath: string) { const filename = path.basename(resourcePath) - const [name, ext] = filename.split('.') + const [name, ext] = filename.split('.', 2) return { name, ext } } diff --git a/packages/next/src/build/webpack/loaders/resolve-url-loader/index.ts b/packages/next/src/build/webpack/loaders/resolve-url-loader/index.ts index 7ed29a382e6f6..9ea093563119b 100644 --- a/packages/next/src/build/webpack/loaders/resolve-url-loader/index.ts +++ b/packages/next/src/build/webpack/loaders/resolve-url-loader/index.ts @@ -97,7 +97,7 @@ export default async function resolveUrlLoader( (typeof exception === 'string' && exception) || (exception instanceof Error && [ exception.message, - (exception as any).stack.split('\n')[1].trim(), + (exception as any).stack.split('\n', 2)[1].trim(), ]) || [] ) diff --git a/packages/next/src/build/webpack/plugins/define-env-plugin.ts b/packages/next/src/build/webpack/plugins/define-env-plugin.ts index b579f8f605919..57ae2cbd9e2d9 100644 --- a/packages/next/src/build/webpack/plugins/define-env-plugin.ts +++ b/packages/next/src/build/webpack/plugins/define-env-plugin.ts @@ -213,7 +213,7 @@ export function getDefineEnv({ } : undefined), 'process.env.TURBOPACK': JSON.stringify(false), - ...(isNodeServer + ...(isNodeOrEdgeCompilation ? { 'process.env.__NEXT_EXPERIMENTAL_REACT': JSON.stringify( needsExperimentalReact(config) diff --git a/packages/next/src/build/webpack/plugins/middleware-plugin.ts b/packages/next/src/build/webpack/plugins/middleware-plugin.ts index 17fe1c6cb6754..a273c42ddcfad 100644 --- a/packages/next/src/build/webpack/plugins/middleware-plugin.ts +++ b/packages/next/src/build/webpack/plugins/middleware-plugin.ts @@ -587,7 +587,7 @@ function getExtractMetadata(params: { const resource = module.resource const hasOGImageGeneration = resource && - /[\\/]node_modules[\\/]@vercel[\\/]og[\\/]dist[\\/]index\.(edge|node)\.js$|[\\/]next[\\/]dist[\\/](esm[\\/])?server[\\/]web[\\/]spec-extension[\\/]image-response\.js$/.test( + /[\\/]node_modules[\\/]@vercel[\\/]og[\\/]dist[\\/]index\.(edge|node)\.js$|[\\/]next[\\/]dist[\\/](esm[\\/])?server[\\/]og[\\/]image-response\.js$/.test( resource ) diff --git a/packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts b/packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts index 1f61d3520d29d..5ea193152a283 100644 --- a/packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts +++ b/packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts @@ -743,7 +743,6 @@ export class TraceEntryPointsPlugin implements webpack.WebpackPluginInstance { context, request, isEsmRequested, - !!this.appDirEnabled, (options) => (_: string, resRequest: string) => { return getResolve(options)(parent, resRequest, job) }, diff --git a/packages/next/src/build/webpack/plugins/optional-peer-dependency-resolve-plugin.ts b/packages/next/src/build/webpack/plugins/optional-peer-dependency-resolve-plugin.ts new file mode 100644 index 0000000000000..8a1be4d9fbece --- /dev/null +++ b/packages/next/src/build/webpack/plugins/optional-peer-dependency-resolve-plugin.ts @@ -0,0 +1,53 @@ +import type { Resolver } from 'webpack' + +const pluginSymbol = Symbol('OptionalPeerDependencyResolverPlugin') + +export class OptionalPeerDependencyResolverPlugin { + apply(resolver: Resolver) { + const target = resolver.ensureHook('raw-module') + target.tapAsync( + 'OptionalPeerDependencyResolverPlugin', + (request, resolveContext, callback) => { + // if we've already recursed into this plugin, we want to skip it + if ((request as any)[pluginSymbol]) { + return callback() + } + + // popping the stack to prevent the recursion check + resolveContext.stack?.delete(Array.from(resolveContext.stack).pop()!) + + resolver.doResolve( + target, + // when we call doResolve again, we need to make sure we don't + // recurse into this plugin again + { ...request, [pluginSymbol]: true } as any, + null, + resolveContext, + (err, result) => { + if ( + !result && + request?.descriptionFileData?.peerDependenciesMeta && + request.request + ) { + const peerDependenciesMeta = request.descriptionFileData + .peerDependenciesMeta as Record + + const isOptional = + peerDependenciesMeta && + peerDependenciesMeta[request.request] && + peerDependenciesMeta[request.request].optional + + if (isOptional) { + return callback(null, { + path: false, + }) + } + } + + return callback(err, result) + } + ) + } + ) + } +} diff --git a/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/index.ts b/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/index.ts index 953ba57db0e23..ffe51e0e99e7d 100644 --- a/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/index.ts +++ b/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/index.ts @@ -7,6 +7,19 @@ export class WellKnownErrorsPlugin { apply(compiler: webpack.Compiler) { compiler.hooks.compilation.tap(NAME, (compilation) => { compilation.hooks.afterSeal.tapPromise(NAME, async () => { + if (compilation.warnings?.length) { + await Promise.all( + compilation.warnings.map(async (warn, i) => { + if ( + warn.name === 'ModuleDependencyWarning' && + warn.module.context?.includes('node_modules') + ) { + delete compilation.warnings[i] + } + }) + ) + } + if (compilation.errors?.length) { await Promise.all( compilation.errors.map(async (err, i) => { diff --git a/packages/next/src/cli/next-info.ts b/packages/next/src/cli/next-info.ts index 282f742368f79..902e39b44c594 100755 --- a/packages/next/src/cli/next-info.ts +++ b/packages/next/src/cli/next-info.ts @@ -4,9 +4,6 @@ import os from 'os' import childProcess from 'child_process' import { bold, cyan, yellow } from '../lib/picocolors' -const { fetch } = require('next/dist/compiled/undici') as { - fetch: typeof global.fetch -} import type { CliCommand } from '../lib/commands' import { PHASE_INFO } from '../shared/lib/constants' import loadConfig from '../server/config' diff --git a/packages/next/src/client/app-index.tsx b/packages/next/src/client/app-index.tsx index c4053df4e82be..43a57aa3551db 100644 --- a/packages/next/src/client/app-index.tsx +++ b/packages/next/src/client/app-index.tsx @@ -299,7 +299,7 @@ export function hydrate() { React.startTransition(() => (ReactDOMClient as any).hydrateRoot(appElement, reactEl, { ...options, - experimental_formState: initialFormStateData, + formState: initialFormStateData, }) ) } diff --git a/packages/next/src/client/app-link-gc.ts b/packages/next/src/client/app-link-gc.ts index 74a58a1195766..383a1abda0015 100644 --- a/packages/next/src/client/app-link-gc.ts +++ b/packages/next/src/client/app-link-gc.ts @@ -13,7 +13,7 @@ export function linkGc() { if (link.dataset.precedence?.startsWith('next')) { const href = link.getAttribute('href') if (href) { - const [resource, version] = href.split('?v=') + const [resource, version] = href.split('?v=', 2) if (version) { const currentOrigin = window.location.origin const allLinks = [ @@ -35,7 +35,7 @@ export function linkGc() { if (otherLink.dataset.precedence?.startsWith('next')) { const otherHref = otherLink.getAttribute('href') if (otherHref) { - const [, otherVersion] = otherHref.split('?v=') + const [, otherVersion] = otherHref.split('?v=', 2) if (!otherVersion || +otherVersion < +version) { // Delay the removal of the stylesheet to avoid FOUC // caused by `@font-face` rules, as they seem to be diff --git a/packages/next/src/client/components/react-dev-overlay/internal/components/Terminal/Terminal.tsx b/packages/next/src/client/components/react-dev-overlay/internal/components/Terminal/Terminal.tsx index 3d9bb386fb486..e3d56b97adf7a 100644 --- a/packages/next/src/client/components/react-dev-overlay/internal/components/Terminal/Terminal.tsx +++ b/packages/next/src/client/components/react-dev-overlay/internal/components/Terminal/Terminal.tsx @@ -8,7 +8,7 @@ export type TerminalProps = { content: string } function getFile(lines: string[]) { const contentFileName = lines.shift() if (!contentFileName) return null - const [fileName, line, column] = contentFileName.split(':') + const [fileName, line, column] = contentFileName.split(':', 3) const parsedLine = Number(line) const parsedColumn = Number(column) diff --git a/packages/next/src/client/components/react-dev-overlay/internal/helpers/get-socket-url.ts b/packages/next/src/client/components/react-dev-overlay/internal/helpers/get-socket-url.ts index d95d0d25c18ee..69e3eb7af9c7c 100644 --- a/packages/next/src/client/components/react-dev-overlay/internal/helpers/get-socket-url.ts +++ b/packages/next/src/client/components/react-dev-overlay/internal/helpers/get-socket-url.ts @@ -19,7 +19,7 @@ export function getSocketUrl(assetPrefix: string): string { }` if (normalizedAssetPrefix.startsWith('http')) { - url = `${protocol}://${normalizedAssetPrefix.split('://')[1]}` + url = `${protocol}://${normalizedAssetPrefix.split('://', 2)[1]}` } return url diff --git a/packages/next/src/client/components/react-dev-overlay/internal/helpers/parse-component-stack.ts b/packages/next/src/client/components/react-dev-overlay/internal/helpers/parse-component-stack.ts index 69d94a73a43ec..938a8abe14988 100644 --- a/packages/next/src/client/components/react-dev-overlay/internal/helpers/parse-component-stack.ts +++ b/packages/next/src/client/components/react-dev-overlay/internal/helpers/parse-component-stack.ts @@ -26,7 +26,7 @@ export function parseComponentStack( /^(webpack-internal:\/\/\/|file:\/\/)(\(.*\)\/)?/, '' ) - const [file, lineNumber, column] = modulePath?.split(':') ?? [] + const [file, lineNumber, column] = modulePath?.split(':', 3) ?? [] componentStackFrames.push({ component, diff --git a/packages/next/src/client/components/react-dev-overlay/internal/helpers/stack-frame.ts b/packages/next/src/client/components/react-dev-overlay/internal/helpers/stack-frame.ts index a213da0579787..9122e5784160d 100644 --- a/packages/next/src/client/components/react-dev-overlay/internal/helpers/stack-frame.ts +++ b/packages/next/src/client/components/react-dev-overlay/internal/helpers/stack-frame.ts @@ -85,10 +85,9 @@ export function getOriginalStackFrame( } if ( - !( - source.file?.startsWith('webpack-internal:') || - source.file?.startsWith('file:') - ) + source.file === '' || + source.file?.match(/^node:/) || + source.file?.match(/https?:\/\//) ) { return Promise.resolve({ error: false, diff --git a/packages/next/src/client/components/redirect.ts b/packages/next/src/client/components/redirect.ts index b9a2cfebd883f..cce1c01d67b63 100644 --- a/packages/next/src/client/components/redirect.ts +++ b/packages/next/src/client/components/redirect.ts @@ -104,5 +104,5 @@ export function getRedirectTypeFromError( throw new Error('Not a redirect error') } - return error.digest.split(';', 3)[1] as RedirectType + return error.digest.split(';', 2)[1] as RedirectType } diff --git a/packages/next/src/client/components/router-reducer/fill-cache-with-data-property.test.tsx b/packages/next/src/client/components/router-reducer/fill-cache-with-data-property.test.tsx index 5aacf327c2270..4f84fdcf70d94 100644 --- a/packages/next/src/client/components/router-reducer/fill-cache-with-data-property.test.tsx +++ b/packages/next/src/client/components/router-reducer/fill-cache-with-data-property.test.tsx @@ -73,15 +73,15 @@ describe('fillCacheWithDataProperty', () => { ) expect(cache).toMatchInlineSnapshot(` - Object { + { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "" => Object { + "" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -96,7 +96,7 @@ describe('fillCacheWithDataProperty', () => { Linking , }, - "dashboard" => Object { + "dashboard" => { "data": Promise { "status": "pending", }, diff --git a/packages/next/src/client/components/router-reducer/handle-mutable.ts b/packages/next/src/client/components/router-reducer/handle-mutable.ts index 37b7f23066177..11d434226ee60 100644 --- a/packages/next/src/client/components/router-reducer/handle-mutable.ts +++ b/packages/next/src/client/components/router-reducer/handle-mutable.ts @@ -41,8 +41,8 @@ export function handleMutable( false, onlyHashChange: !!mutable.hashFragment && - state.canonicalUrl.split('#')[0] === - mutable.canonicalUrl?.split('#')[0], + state.canonicalUrl.split('#', 1)[0] === + mutable.canonicalUrl?.split('#', 1)[0], hashFragment: shouldScroll ? // Empty hash should trigger default behavior of scrolling layout into view. // #top is handled in layout-router. diff --git a/packages/next/src/client/components/router-reducer/reducers/navigate-reducer.test.tsx b/packages/next/src/client/components/router-reducer/reducers/navigate-reducer.test.tsx index 6b2e9f0d343db..aacc58c8e3a79 100644 --- a/packages/next/src/client/components/router-reducer/reducers/navigate-reducer.test.tsx +++ b/packages/next/src/client/components/router-reducer/reducers/navigate-reducer.test.tsx @@ -202,17 +202,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -220,11 +220,11 @@ describe('navigateReducer', () => { Linking page , }, - "about" => Object { + "about" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "head": @@ -260,12 +260,12 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "/linking/about", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": true, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [ - Array [ + "segmentPaths": [ + [ "children", "linking", "children", @@ -277,22 +277,22 @@ describe('navigateReducer', () => { }, "nextUrl": "/linking/about", "prefetchCache": Map { - "/linking/about" => Object { + "/linking/about" => { "data": Promise { "status": "fulfilled", - "value": Array [ - Array [ - Array [ + "value": [ + [ + [ "children", "linking", "children", "about", - Array [ + [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -312,15 +312,15 @@ describe('navigateReducer', () => { "kind": "temporary", "lastUsedTime": 1690329600000, "prefetchTime": 1690329600000, - "treeAtTimeOfPrefetch": Array [ + "treeAtTimeOfPrefetch": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -331,22 +331,22 @@ describe('navigateReducer', () => { ], }, }, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -448,17 +448,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -466,11 +466,11 @@ describe('navigateReducer', () => { Linking page </React.Fragment>, }, - "about" => Object { + "about" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "head": <React.Fragment> <title> @@ -506,12 +506,12 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "/linking/about", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": true, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [ - Array [ + "segmentPaths": [ + [ "children", "linking", "children", @@ -523,22 +523,22 @@ describe('navigateReducer', () => { }, "nextUrl": "/linking/about", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -643,17 +643,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -679,27 +679,27 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "https://example.vercel.sh/", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": false, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [], + "segmentPaths": [], }, "nextUrl": "/linking", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": true, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -802,17 +802,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -838,27 +838,27 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "https://example.vercel.sh/", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": false, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [], + "segmentPaths": [], }, "nextUrl": "/linking", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": true, "pendingPush": false, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -958,17 +958,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -976,22 +976,22 @@ describe('navigateReducer', () => { Linking page </React.Fragment>, }, - "about" => Object { + "about" => { "data": Promise { "status": "fulfilled", - "value": Array [ - Array [ - Array [ + "value": [ + [ + [ "children", "linking", "children", "about", - Array [ + [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -1030,30 +1030,30 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "/linking/about", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": true, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [], + "segmentPaths": [], }, "nextUrl": "/linking/about", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, , @@ -1157,17 +1157,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -1193,27 +1193,27 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": false, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [], + "segmentPaths": [], }, "nextUrl": "/linking", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": true, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -1350,17 +1350,17 @@ describe('navigateReducer', () => { await prom expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -1368,11 +1368,11 @@ describe('navigateReducer', () => { Linking page </React.Fragment>, }, - "about" => Object { + "about" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "head": <React.Fragment> <title> @@ -1408,12 +1408,12 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "/linking/about", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": true, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [ - Array [ + "segmentPaths": [ + [ "children", "linking", "children", @@ -1425,22 +1425,22 @@ describe('navigateReducer', () => { }, "nextUrl": "/linking/about", "prefetchCache": Map { - "/linking/about" => Object { + "/linking/about" => { "data": Promise { "status": "fulfilled", - "value": Array [ - Array [ - Array [ + "value": [ + [ + [ "children", "linking", "children", "about", - Array [ + [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -1460,15 +1460,15 @@ describe('navigateReducer', () => { "kind": "auto", "lastUsedTime": null, "prefetchTime": 1690329600000, - "treeAtTimeOfPrefetch": Array [ + "treeAtTimeOfPrefetch": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -1479,22 +1479,22 @@ describe('navigateReducer', () => { ], }, }, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -1640,17 +1640,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "parallel-tab-bar" => Object { + "parallel-tab-bar" => { "data": null, "parallelRoutes": Map { "audience" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -1658,11 +1658,11 @@ describe('navigateReducer', () => { Audience Page </React.Fragment>, }, - "demographics" => Object { + "demographics" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "head": <React.Fragment> <title> @@ -1680,7 +1680,7 @@ describe('navigateReducer', () => { }, }, "views" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -1690,7 +1690,7 @@ describe('navigateReducer', () => { }, }, "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -1714,12 +1714,12 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "/parallel-tab-bar/demographics", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": true, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [ - Array [ + "segmentPaths": [ + [ "children", "parallel-tab-bar", "audience", @@ -1731,32 +1731,32 @@ describe('navigateReducer', () => { }, "nextUrl": "/parallel-tab-bar/demographics", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "parallel-tab-bar", - Object { - "audience": Array [ + { + "audience": [ "demographics", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], - "children": Array [ + "children": [ "__PAGE__", - Object {}, + {}, ], - "views": Array [ + "views": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -1850,17 +1850,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -1886,27 +1886,27 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "/linking#hash", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": false, "hashFragment": "hash", "onlyHashChange": true, - "segmentPaths": Array [], + "segmentPaths": [], }, "nextUrl": "/linking", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -1992,17 +1992,17 @@ describe('navigateReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -2010,11 +2010,11 @@ describe('navigateReducer', () => { Linking page </React.Fragment>, }, - "about" => Object { + "about" => { "data": null, "parallelRoutes": Map { "children" => Map { - "__PAGE__" => Object { + "__PAGE__" => { "data": null, "head": <React.Fragment> <title> @@ -2050,12 +2050,12 @@ describe('navigateReducer', () => { </html>, }, "canonicalUrl": "/linking/about#hash", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": true, "hashFragment": "hash", "onlyHashChange": false, - "segmentPaths": Array [ - Array [ + "segmentPaths": [ + [ "children", "linking", "children", @@ -2067,22 +2067,22 @@ describe('navigateReducer', () => { }, "nextUrl": "/linking/about", "prefetchCache": Map { - "/linking/about" => Object { + "/linking/about" => { "data": Promise { "status": "fulfilled", - "value": Array [ - Array [ - Array [ + "value": [ + [ + [ "children", "linking", "children", "about", - Array [ + [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -2102,15 +2102,15 @@ describe('navigateReducer', () => { "kind": "temporary", "lastUsedTime": 1690329600000, "prefetchTime": 1690329600000, - "treeAtTimeOfPrefetch": Array [ + "treeAtTimeOfPrefetch": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], @@ -2121,22 +2121,22 @@ describe('navigateReducer', () => { ], }, }, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "about", - Object { - "children": Array [ + { + "children": [ "__PAGE__", - Object {}, + {}, ], }, ], diff --git a/packages/next/src/client/components/router-reducer/reducers/server-patch-reducer.test.tsx b/packages/next/src/client/components/router-reducer/reducers/server-patch-reducer.test.tsx index c1349a2740afc..f687c58c55ded 100644 --- a/packages/next/src/client/components/router-reducer/reducers/server-patch-reducer.test.tsx +++ b/packages/next/src/client/components/router-reducer/reducers/server-patch-reducer.test.tsx @@ -189,17 +189,17 @@ describe('serverPatchReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "" => Object { + "" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -207,11 +207,11 @@ describe('serverPatchReducer', () => { Linking page </React.Fragment>, }, - "somewhere-else" => Object { + "somewhere-else" => { "data": null, "parallelRoutes": Map { "children" => Map { - "" => Object { + "" => { "data": null, "head": <React.Fragment> <title> @@ -247,30 +247,30 @@ describe('serverPatchReducer', () => { </html>, }, "canonicalUrl": "/linking/about", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": false, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [], + "segmentPaths": [], }, "nextUrl": "/linking/somewhere-else", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": false, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "somewhere-else", - Object { - "children": Array [ + { + "children": [ "", - Object {}, + {}, ], }, ], @@ -382,17 +382,17 @@ describe('serverPatchReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "" => Object { + "" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -418,30 +418,30 @@ describe('serverPatchReducer', () => { </html>, }, "canonicalUrl": "/linking/about", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": false, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [], + "segmentPaths": [], }, "nextUrl": "/linking/about", "prefetchCache": Map {}, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": false, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "about", - Object { - "children": Array [ + { + "children": [ "", - Object {}, + {}, ], }, ], @@ -561,17 +561,17 @@ describe('serverPatchReducer', () => { ) expect(newState).toMatchInlineSnapshot(` - Object { + { "buildId": "development", - "cache": Object { + "cache": { "data": null, "parallelRoutes": Map { "children" => Map { - "linking" => Object { + "linking" => { "data": null, "parallelRoutes": Map { "children" => Map { - "" => Object { + "" => { "data": null, "parallelRoutes": Map {}, "status": "READY", @@ -579,11 +579,11 @@ describe('serverPatchReducer', () => { Linking page </React.Fragment>, }, - "about" => Object { + "about" => { "data": null, "parallelRoutes": Map { "children" => Map { - "" => Object { + "" => { "data": null, "head": <React.Fragment> <title> @@ -601,11 +601,11 @@ describe('serverPatchReducer', () => { About Page! </h1>, }, - "somewhere-else" => Object { + "somewhere-else" => { "data": null, "parallelRoutes": Map { "children" => Map { - "" => Object { + "" => { "data": null, "head": <React.Fragment> <title> @@ -641,12 +641,12 @@ describe('serverPatchReducer', () => { </html>, }, "canonicalUrl": "/linking/about", - "focusAndScrollRef": Object { + "focusAndScrollRef": { "apply": true, "hashFragment": null, "onlyHashChange": false, - "segmentPaths": Array [ - Array [ + "segmentPaths": [ + [ "children", "linking", "children", @@ -658,22 +658,22 @@ describe('serverPatchReducer', () => { }, "nextUrl": "/linking/somewhere-else", "prefetchCache": Map { - "/linking/about" => Object { + "/linking/about" => { "data": Promise { "status": "fulfilled", - "value": Array [ - Array [ - Array [ + "value": [ + [ + [ "children", "linking", "children", "about", - Array [ + [ "about", - Object { - "children": Array [ + { + "children": [ "", - Object {}, + {}, ], }, ], @@ -693,18 +693,18 @@ describe('serverPatchReducer', () => { "kind": "temporary", "lastUsedTime": 1690329600000, "prefetchTime": 1690329600000, - "treeAtTimeOfPrefetch": Array [ + "treeAtTimeOfPrefetch": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "about", - Object { - "children": Array [ + { + "children": [ "", - Object {}, + {}, ], }, ], @@ -717,22 +717,22 @@ describe('serverPatchReducer', () => { ], }, }, - "pushRef": Object { + "pushRef": { "mpaNavigation": false, "pendingPush": true, }, - "tree": Array [ + "tree": [ "", - Object { - "children": Array [ + { + "children": [ "linking", - Object { - "children": Array [ + { + "children": [ "somewhere-else", - Object { - "children": Array [ + { + "children": [ "", - Object {}, + {}, ], }, ], diff --git a/packages/next/src/client/components/static-generation-async-storage.external.ts b/packages/next/src/client/components/static-generation-async-storage.external.ts index 5caec74a52ff2..89aca3a0e6687 100644 --- a/packages/next/src/client/components/static-generation-async-storage.external.ts +++ b/packages/next/src/client/components/static-generation-async-storage.external.ts @@ -12,6 +12,7 @@ export interface StaticGenerationStore { readonly isOnDemandRevalidate?: boolean readonly isPrerendering?: boolean readonly isRevalidate?: boolean + readonly isUnstableCacheCallback?: boolean forceDynamic?: boolean fetchCache?: diff --git a/packages/next/src/client/dev/dev-build-watcher.ts b/packages/next/src/client/dev/dev-build-watcher.ts index 231c3536cfbe9..9566ab78f51fd 100644 --- a/packages/next/src/client/dev/dev-build-watcher.ts +++ b/packages/next/src/client/dev/dev-build-watcher.ts @@ -16,7 +16,7 @@ export default function initializeBuildWatcher( position = 'bottom-right' ) { const shadowHost = document.createElement('div') - const [verticalProperty, horizontalProperty] = position.split('-') as [ + const [verticalProperty, horizontalProperty] = position.split('-', 2) as [ VerticalPosition, HorizonalPosition ] diff --git a/packages/next/src/client/dev/error-overlay/websocket.ts b/packages/next/src/client/dev/error-overlay/websocket.ts index b59cc8052d0e0..07d9fbec6036e 100644 --- a/packages/next/src/client/dev/error-overlay/websocket.ts +++ b/packages/next/src/client/dev/error-overlay/websocket.ts @@ -71,7 +71,7 @@ export function connectHMR(options: { path: string; assetPrefix: string }) { }` if (assetPrefix.startsWith('http')) { - url = `${protocol}://${assetPrefix.split('://')[1]}` + url = `${protocol}://${assetPrefix.split('://', 2)[1]}` } source = new window.WebSocket(`${url}${options.path}`) diff --git a/packages/next/src/client/image-component.tsx b/packages/next/src/client/image-component.tsx index 321b07ecd0a5f..6f9c3510fe007 100644 --- a/packages/next/src/client/image-component.tsx +++ b/packages/next/src/client/image-component.tsx @@ -163,7 +163,7 @@ function handleLoading( function getDynamicProps( fetchPriority?: string ): Record<string, string | undefined> { - const [majorStr, minorStr] = version.split('.') + const [majorStr, minorStr] = version.split('.', 2) const major = parseInt(majorStr, 10) const minor = parseInt(minorStr, 10) if (major > 18 || (major === 18 && minor >= 3)) { diff --git a/packages/next/src/client/resolve-href.ts b/packages/next/src/client/resolve-href.ts index af4458f270e20..ab700f2d65423 100644 --- a/packages/next/src/client/resolve-href.ts +++ b/packages/next/src/client/resolve-href.ts @@ -39,7 +39,7 @@ export function resolveHref( ? urlAsString.slice(urlProtoMatch[0].length) : urlAsString - const urlParts = urlAsStringNoProto.split('?') + const urlParts = urlAsStringNoProto.split('?', 1) if ((urlParts[0] || '').match(/(\/\/|\\)/)) { console.error( diff --git a/packages/next/src/compiled/@babel/runtime/README.md b/packages/next/src/compiled/@babel/runtime/README.md index 119c99d95d2d1..be27e83476f3d 100644 --- a/packages/next/src/compiled/@babel/runtime/README.md +++ b/packages/next/src/compiled/@babel/runtime/README.md @@ -15,5 +15,5 @@ npm install --save @babel/runtime or using yarn: ```sh -yarn add @babel/runtime +yarn add @babel/runtime ``` diff --git a/packages/next/src/compiled/@babel/runtime/helpers/AsyncGenerator.js b/packages/next/src/compiled/@babel/runtime/helpers/AsyncGenerator.js index cdca7f5505a63..c3379a9ccd063 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/AsyncGenerator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/AsyncGenerator.js @@ -1,38 +1,17 @@ -var AwaitValue = require("./AwaitValue.js"); - +var OverloadYield = require("./OverloadYield.js"); function AsyncGenerator(gen) { var front, back; - - function send(key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null - }; - - if (back) { - back = back.next = request; - } else { - front = back = request; - resume(key, arg); - } - }); - } - function resume(key, arg) { try { - var result = gen[key](arg); - var value = result.value; - var wrappedAwait = value instanceof AwaitValue; - Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) { - if (wrappedAwait) { - resume(key === "return" ? "return" : "next", arg); - return; + var result = gen[key](arg), + value = result.value, + overloaded = value instanceof OverloadYield; + Promise.resolve(overloaded ? value.v : value).then(function (arg) { + if (overloaded) { + var nextKey = "return" === key ? "return" : "next"; + if (!value.k || arg.done) return resume(nextKey, arg); + arg = gen[nextKey](arg).value; } - settle(result.done ? "return" : "normal", arg); }, function (err) { resume("throw", err); @@ -41,59 +20,45 @@ function AsyncGenerator(gen) { settle("throw", err); } } - function settle(type, value) { switch (type) { case "return": front.resolve({ value: value, - done: true + done: !0 }); break; - case "throw": front.reject(value); break; - default: front.resolve({ value: value, - done: false + done: !1 }); - break; - } - - front = front.next; - - if (front) { - resume(front.key, front.arg); - } else { - back = null; } + (front = front.next) ? resume(front.key, front.arg) : back = null; } - - this._invoke = send; - - if (typeof gen["return"] !== "function") { - this["return"] = undefined; - } + this._invoke = function (key, arg) { + return new Promise(function (resolve, reject) { + var request = { + key: key, + arg: arg, + resolve: resolve, + reject: reject, + next: null + }; + back ? back = back.next = request : (front = back = request, resume(key, arg)); + }); + }, "function" != typeof gen["return"] && (this["return"] = void 0); } - -AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { +AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; -}; - -AsyncGenerator.prototype.next = function (arg) { +}, AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); -}; - -AsyncGenerator.prototype["throw"] = function (arg) { +}, AsyncGenerator.prototype["throw"] = function (arg) { return this._invoke("throw", arg); -}; - -AsyncGenerator.prototype["return"] = function (arg) { +}, AsyncGenerator.prototype["return"] = function (arg) { return this._invoke("return", arg); }; - -module.exports = AsyncGenerator; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = AsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/AwaitValue.js b/packages/next/src/compiled/@babel/runtime/helpers/AwaitValue.js index d36df6ec3c5eb..7681c2dfd35ac 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/AwaitValue.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/AwaitValue.js @@ -1,6 +1,4 @@ function _AwaitValue(value) { this.wrapped = value; } - -module.exports = _AwaitValue; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _AwaitValue, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/OverloadYield.js b/packages/next/src/compiled/@babel/runtime/helpers/OverloadYield.js new file mode 100644 index 0000000000000..b1331134ee56e --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/OverloadYield.js @@ -0,0 +1,4 @@ +function _OverloadYield(value, kind) { + this.v = value, this.k = kind; +} +module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/applyDecoratedDescriptor.js b/packages/next/src/compiled/@babel/runtime/helpers/applyDecoratedDescriptor.js index feaeab8d26447..98810d6177c18 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/applyDecoratedDescriptor.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/applyDecoratedDescriptor.js @@ -5,27 +5,20 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; - if ('value' in desc || desc.initializer) { desc.writable = true; } - desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); - if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } - if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } - return desc; } - -module.exports = _applyDecoratedDescriptor; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _applyDecoratedDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/applyDecs.js b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs.js new file mode 100644 index 0000000000000..68a08c26bb068 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs.js @@ -0,0 +1,236 @@ +var _typeof = require("./typeof.js")["default"]; +function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { + return { + getMetadata: function getMetadata(key) { + old_assertNotFinished(decoratorFinishedRef, "getMetadata"), old_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 setMetadata(key, value) { + old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_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 old_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 < metadataKeys.length; i++) { + var key = metadataKeys[i], + metaForKey = metadataMap[key], + parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, + pub = metaForKey["public"], + parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; + pub && parentPub && Object.setPrototypeOf(pub, parentPub); + var priv = metaForKey["private"]; + if (priv) { + var privArr = Array.from(priv.values()), + parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; + parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey["private"] = privArr; + } + parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey); + } + parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")] = metadataMap; + } +} +function old_createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + old_assertNotFinished(decoratorFinishedRef, "addInitializer"), old_assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; +} +function old_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 metadataKind, + metadataName, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + isStatic: isStatic, + isPrivate: isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + if (0 !== kind && (ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) { + metadataKind = 2, metadataName = Symbol(name); + var access = {}; + 0 === kind ? (access.get = desc.get, access.set = desc.set) : 2 === kind ? access.get = function () { + return desc.value; + } : (1 !== kind && 3 !== kind || (access.get = function () { + return desc.get.call(this); + }), 1 !== kind && 4 !== kind || (access.set = function (v) { + desc.set.call(this, v); + })), ctx.access = access; + } else metadataKind = 1, metadataName = name; + try { + return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); + } finally { + decoratorFinishedRef.v = !0; + } +} +function old_assertNotFinished(decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); +} +function old_assertMetadataKey(key) { + if ("symbol" != _typeof(key)) throw new TypeError("Metadata keys must be symbols, received: " + key); +} +function old_assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); +} +function old_assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && old_assertCallable(value.get, "accessor.get"), void 0 !== value.set && old_assertCallable(value.set, "accessor.set"), void 0 !== value.init && old_assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && old_assertCallable(value.initializer, "accessor.initializer"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } +} +function old_getInit(desc) { + var initializer; + return null == (initializer = desc.init) && (initializer = desc.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), initializer; +} +function old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) { + var desc, + initializer, + value, + newValue, + get, + set, + decs = decInfo[0]; + if (isPrivate ? desc = 0 === kind || 1 === kind ? { + get: decInfo[3], + set: decInfo[4] + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = old_memberDec(decs, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value)) && (old_assertValidReturnValue(kind, newValue), 0 === kind ? initializer = newValue : 1 === kind ? (initializer = old_getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { + var newInit; + if (void 0 !== (newValue = old_memberDec(decs[i], name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value))) old_assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = old_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 initializer(instance, init) { + return init; + };else if ("function" != typeof initializer) { + var ownInitializers = initializer; + initializer = function initializer(instance, init) { + for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = initializer; + initializer = function initializer(instance, init) { + return originalInitializer.call(instance, init); + }; + } + ret.push(initializer); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); +} +function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { + for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + metadataMap, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + 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); + } + old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); + } + } + old_pushInitializers(ret, protoInitializers), old_pushInitializers(ret, staticInitializers); +} +function old_pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); +} +function old_applyClassDecs(ret, targetClass, metadataMap, classDecs) { + if (classDecs.length > 0) { + 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: old_createAddInitializerMethod(initializers, decoratorFinishedRef) + }, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)), + nextNewClass = classDecs[i](newClass, ctx); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (old_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 = [], + staticMetadataMap = {}, + protoMetadataMap = {}; + return old_applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs), old_convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap), old_applyClassDecs(ret, targetClass, staticMetadataMap, classDecs), old_convertMetadataMapToFinal(targetClass, staticMetadataMap), ret; +} +module.exports = applyDecs, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2203.js b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2203.js new file mode 100644 index 0000000000000..b15c00197c580 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2203.js @@ -0,0 +1,187 @@ +var _typeof = require("./typeof.js")["default"]; +function applyDecs2203Factory() { + function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + !function (decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); + }(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; + } + function memberDec(dec, name, desc, 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 get, + set, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + "static": isStatic, + "private": isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { + return this[name]; + }, set = function set(v) { + this[name] = v; + }) : 2 === kind ? get = function get() { + return desc.value; + } : (1 !== kind && 3 !== kind || (get = function get() { + return desc.get.call(this); + }), 1 !== kind && 4 !== kind || (set = function set(v) { + desc.set.call(this, v); + })), ctx.access = get && set ? { + get: get, + set: set + } : get ? { + get: get + } : { + set: set + }; + try { + return dec(value, ctx); + } finally { + decoratorFinishedRef.v = !0; + } + } + function assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); + } + function assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } + } + function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) { + var desc, + init, + value, + newValue, + get, + set, + decs = decInfo[0]; + if (isPrivate ? desc = 0 === kind || 1 === kind ? { + get: decInfo[3], + set: decInfo[4] + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { + var newInit; + if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); + } + if (0 === kind || 1 === kind) { + if (void 0 === init) init = function init(instance, _init) { + return _init; + };else if ("function" != typeof init) { + var ownInitializers = init; + init = function init(instance, _init2) { + for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = init; + init = function init(instance, _init3) { + return originalInitializer.call(instance, _init3); + }; + } + ret.push(init); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); + } + function pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); + } + return function (targetClass, memberDecs, classDecs) { + var ret = []; + return function (ret, Class, decInfos) { + for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + isStatic = kind >= 5; + if (isStatic ? (base = Class, 0 != (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 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, initializers); + } + } + pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers); + }(ret, targetClass, memberDecs), function (ret, targetClass, classDecs) { + if (classDecs.length > 0) { + for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { + var decoratorFinishedRef = { + v: !1 + }; + try { + var nextNewClass = classDecs[i](newClass, { + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); + } + ret.push(newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }); + } + }(ret, targetClass, classDecs), ret; + }; +} +var applyDecs2203Impl; +function applyDecs2203(targetClass, memberDecs, classDecs) { + return (applyDecs2203Impl = applyDecs2203Impl || applyDecs2203Factory())(targetClass, memberDecs, classDecs); +} +module.exports = applyDecs2203, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2203R.js b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2203R.js new file mode 100644 index 0000000000000..ef0ece5f3bfd5 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2203R.js @@ -0,0 +1,191 @@ +var _typeof = require("./typeof.js")["default"]; +function applyDecs2203RFactory() { + function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + !function (decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); + }(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; + } + function memberDec(dec, name, desc, 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 get, + set, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + "static": isStatic, + "private": isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { + return this[name]; + }, set = function set(v) { + this[name] = v; + }) : 2 === kind ? get = function get() { + return desc.value; + } : (1 !== kind && 3 !== kind || (get = function get() { + return desc.get.call(this); + }), 1 !== kind && 4 !== kind || (set = function set(v) { + desc.set.call(this, v); + })), ctx.access = get && set ? { + get: get, + set: set + } : get ? { + get: get + } : { + set: set + }; + try { + return dec(value, ctx); + } finally { + decoratorFinishedRef.v = !0; + } + } + function assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); + } + function assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } + } + function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) { + var desc, + init, + value, + newValue, + get, + set, + decs = decInfo[0]; + if (isPrivate ? desc = 0 === kind || 1 === kind ? { + get: decInfo[3], + set: decInfo[4] + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { + var newInit; + if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); + } + if (0 === kind || 1 === kind) { + if (void 0 === init) init = function init(instance, _init) { + return _init; + };else if ("function" != typeof init) { + var ownInitializers = init; + init = function init(instance, _init2) { + for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = init; + init = function init(instance, _init3) { + return originalInitializer.call(instance, _init3); + }; + } + ret.push(init); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); + } + function applyMemberDecs(Class, decInfos) { + for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + isStatic = kind >= 5; + if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 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, initializers); + } + } + return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret; + } + function pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); + } + return function (targetClass, memberDecs, classDecs) { + return { + e: applyMemberDecs(targetClass, memberDecs), + get c() { + return function (targetClass, classDecs) { + if (classDecs.length > 0) { + for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { + var decoratorFinishedRef = { + v: !1 + }; + try { + var nextNewClass = classDecs[i](newClass, { + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); + } + return [newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }]; + } + }(targetClass, classDecs); + } + }; + }; +} +function applyDecs2203R(targetClass, memberDecs, classDecs) { + return (module.exports = applyDecs2203R = applyDecs2203RFactory(), module.exports.__esModule = true, module.exports["default"] = module.exports)(targetClass, memberDecs, classDecs); +} +module.exports = applyDecs2203R, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2301.js b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2301.js new file mode 100644 index 0000000000000..bcec93e4b4d3c --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2301.js @@ -0,0 +1,222 @@ +var _typeof = require("./typeof.js")["default"]; +var checkInRHS = require("./checkInRHS.js"); +function applyDecs2301Factory() { + function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + !function (decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); + }(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; + } + function assertInstanceIfPrivate(has, target) { + if (!has(target)) throw new TypeError("Attempted to access private element on non-instance"); + } + function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand) { + 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 get, + set, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + "static": isStatic, + "private": isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate || 0 !== kind && 2 !== kind) { + if (2 === kind) get = function get(target) { + return assertInstanceIfPrivate(hasPrivateBrand, target), desc.value; + };else { + var t = 0 === kind || 1 === kind; + (t || 3 === kind) && (get = isPrivate ? function (target) { + return assertInstanceIfPrivate(hasPrivateBrand, target), desc.get.call(target); + } : function (target) { + return desc.get.call(target); + }), (t || 4 === kind) && (set = isPrivate ? function (target, value) { + assertInstanceIfPrivate(hasPrivateBrand, target), desc.set.call(target, value); + } : function (target, value) { + desc.set.call(target, value); + }); + } + } else get = function get(target) { + return target[name]; + }, 0 === kind && (set = function set(target, v) { + target[name] = v; + }); + var has = isPrivate ? hasPrivateBrand.bind() : function (target) { + return name in target; + }; + ctx.access = get && set ? { + get: get, + set: set, + has: has + } : get ? { + get: get, + has: has + } : { + set: set, + has: has + }; + try { + return dec(value, ctx); + } finally { + decoratorFinishedRef.v = !0; + } + } + function assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); + } + function assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } + } + function curryThis2(fn) { + return function (value) { + fn(this, value); + }; + } + function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers, hasPrivateBrand) { + var desc, + init, + value, + fn, + newValue, + get, + set, + decs = decInfo[0]; + if (isPrivate ? desc = 0 === kind || 1 === kind ? { + get: (fn = decInfo[3], function () { + return fn(this); + }), + set: curryThis2(decInfo[4]) + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { + var newInit; + if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); + } + if (0 === kind || 1 === kind) { + if (void 0 === init) init = function init(instance, _init) { + return _init; + };else if ("function" != typeof init) { + var ownInitializers = init; + init = function init(instance, _init2) { + for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = init; + init = function init(instance, _init3) { + return originalInitializer.call(instance, _init3); + }; + } + ret.push(init); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); + } + function applyMemberDecs(Class, decInfos, instanceBrand) { + for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + isStatic = kind >= 5, + hasPrivateBrand = instanceBrand; + if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function staticBrand(_) { + return checkInRHS(_) === Class; + }), hasPrivateBrand = staticBrand) : (base = Class.prototype, 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, initializers, hasPrivateBrand); + } + } + return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret; + } + function pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); + } + return function (targetClass, memberDecs, classDecs, instanceBrand) { + return { + e: applyMemberDecs(targetClass, memberDecs, instanceBrand), + get c() { + return function (targetClass, classDecs) { + if (classDecs.length > 0) { + for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { + var decoratorFinishedRef = { + v: !1 + }; + try { + var nextNewClass = classDecs[i](newClass, { + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); + } + return [newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }]; + } + }(targetClass, classDecs); + } + }; + }; +} +function applyDecs2301(targetClass, memberDecs, classDecs, instanceBrand) { + return (module.exports = applyDecs2301 = applyDecs2301Factory(), module.exports.__esModule = true, module.exports["default"] = module.exports)(targetClass, memberDecs, classDecs, instanceBrand); +} +module.exports = applyDecs2301, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2305.js b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2305.js new file mode 100644 index 0000000000000..2da2c80a9fe90 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/applyDecs2305.js @@ -0,0 +1,220 @@ +var _typeof = require("./typeof.js")["default"]; +var checkInRHS = require("./checkInRHS.js"); +function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; +} +function assertInstanceIfPrivate(has, target) { + if (!has(target)) throw new TypeError("Attempted to access private element on non-instance"); +} +function memberDec(dec, thisArg, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand) { + 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 get, + set, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + "static": isStatic, + "private": isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate || 0 !== kind && 2 !== kind) { + if (2 === kind) get = function get(target) { + return assertInstanceIfPrivate(hasPrivateBrand, target), desc.value; + };else { + var t = 0 === kind || 1 === kind; + (t || 3 === kind) && (get = isPrivate ? function (target) { + return assertInstanceIfPrivate(hasPrivateBrand, target), desc.get.call(target); + } : function (target) { + return desc.get.call(target); + }), (t || 4 === kind) && (set = isPrivate ? function (target, value) { + assertInstanceIfPrivate(hasPrivateBrand, target), desc.set.call(target, value); + } : function (target, value) { + desc.set.call(target, value); + }); + } + } else get = function get(target) { + return target[name]; + }, 0 === kind && (set = function set(target, v) { + target[name] = v; + }); + var has = isPrivate ? hasPrivateBrand.bind() : function (target) { + return name in target; + }; + ctx.access = get && set ? { + get: get, + set: set, + has: has + } : get ? { + get: get, + has: has + } : { + set: set, + has: has + }; + try { + return dec.call(thisArg, value, ctx); + } finally { + decoratorFinishedRef.v = !0; + } +} +function assertNotFinished(decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); +} +function assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); +} +function assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 5 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } +} +function curryThis1(fn) { + return function () { + return fn(this); + }; +} +function curryThis2(fn) { + return function (value) { + fn(this, value); + }; +} +function applyMemberDec(ret, base, decInfo, decoratorsHaveThis, name, kind, isStatic, isPrivate, initializers, hasPrivateBrand) { + var desc, + init, + value, + newValue, + get, + set, + decs = decInfo[0]; + decoratorsHaveThis || Array.isArray(decs) || (decs = [decs]), isPrivate ? desc = 0 === kind || 1 === kind ? { + get: curryThis1(decInfo[3]), + set: curryThis2(decInfo[4]) + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set); + for (var inc = decoratorsHaveThis ? 2 : 1, i = decs.length - 1; i >= 0; i -= inc) { + var newInit; + if (void 0 !== (newValue = memberDec(decs[i], decoratorsHaveThis ? decs[i - 1] : void 0, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); + } + if (0 === kind || 1 === kind) { + if (void 0 === init) init = function init(instance, _init) { + return _init; + };else if ("function" != typeof init) { + var ownInitializers = init; + init = function init(instance, _init2) { + for (var value = _init2, i = ownInitializers.length - 1; i >= 0; i--) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = init; + init = function init(instance, _init3) { + return originalInitializer.call(instance, _init3); + }; + } + ret.push(init); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); +} +function applyMemberDecs(Class, decInfos, instanceBrand) { + for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + decoratorsHaveThis = 16 & kind, + isStatic = !!(8 & kind), + hasPrivateBrand = instanceBrand; + if (kind &= 7, isStatic ? (base = Class, 0 !== kind && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function staticBrand(_) { + return checkInRHS(_) === Class; + }), hasPrivateBrand = staticBrand) : (base = Class.prototype, 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); + existingNonFields.set(name, !(!existingKind && kind > 2) || kind); + } + applyMemberDec(ret, base, decInfo, decoratorsHaveThis, name, kind, isStatic, isPrivate, initializers, hasPrivateBrand); + } + } + return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret; +} +function pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); +} +function applyClassDecs(targetClass, classDecs, decoratorsHaveThis) { + if (classDecs.length) { + for (var initializers = [], newClass = targetClass, name = targetClass.name, inc = decoratorsHaveThis ? 2 : 1, i = classDecs.length - 1; i >= 0; i -= inc) { + var decoratorFinishedRef = { + v: !1 + }; + try { + var nextNewClass = classDecs[i].call(decoratorsHaveThis ? classDecs[i - 1] : void 0, newClass, { + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (assertValidReturnValue(5, nextNewClass), newClass = nextNewClass); + } + return [newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }]; + } +} +function applyDecs2305(targetClass, memberDecs, classDecs, classDecsHaveThis, instanceBrand) { + return { + e: applyMemberDecs(targetClass, memberDecs, instanceBrand), + get c() { + return applyClassDecs(targetClass, classDecs, classDecsHaveThis); + } + }; +} +module.exports = applyDecs2305, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/arrayLikeToArray.js b/packages/next/src/compiled/@babel/runtime/helpers/arrayLikeToArray.js index a459c8ead7cbc..36865401957aa 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/arrayLikeToArray.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/arrayLikeToArray.js @@ -1,12 +1,6 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; - - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } - -module.exports = _arrayLikeToArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/arrayWithHoles.js b/packages/next/src/compiled/@babel/runtime/helpers/arrayWithHoles.js index 9a36e2aa02535..ad0cc6b9423cf 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/arrayWithHoles.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/arrayWithHoles.js @@ -1,6 +1,4 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } - -module.exports = _arrayWithHoles; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/arrayWithoutHoles.js b/packages/next/src/compiled/@babel/runtime/helpers/arrayWithoutHoles.js index aac913f108704..6d4b76deba3f6 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/arrayWithoutHoles.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/arrayWithoutHoles.js @@ -1,8 +1,5 @@ var arrayLikeToArray = require("./arrayLikeToArray.js"); - function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } - -module.exports = _arrayWithoutHoles; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/assertThisInitialized.js b/packages/next/src/compiled/@babel/runtime/helpers/assertThisInitialized.js index 352e1e6087613..71487e574e8c2 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/assertThisInitialized.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/assertThisInitialized.js @@ -2,9 +2,6 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } - return self; } - -module.exports = _assertThisInitialized; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/asyncGeneratorDelegate.js b/packages/next/src/compiled/@babel/runtime/helpers/asyncGeneratorDelegate.js index 91f6d61bdc894..c272bcdeed59a 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/asyncGeneratorDelegate.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/asyncGeneratorDelegate.js @@ -1,57 +1,24 @@ -function _asyncGeneratorDelegate(inner, awaitWrap) { +var OverloadYield = require("./OverloadYield.js"); +function _asyncGeneratorDelegate(inner) { var iter = {}, - waiting = false; - + waiting = !1; function pump(key, value) { - waiting = true; - value = new Promise(function (resolve) { + return waiting = !0, value = new Promise(function (resolve) { resolve(inner[key](value)); - }); - return { - done: false, - value: awaitWrap(value) + }), { + done: !1, + value: new OverloadYield(value, 1) }; } - - ; - - iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () { + return iter["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { return this; - }; - - iter.next = function (value) { - if (waiting) { - waiting = false; - return value; - } - - return pump("next", value); - }; - - if (typeof inner["throw"] === "function") { - iter["throw"] = function (value) { - if (waiting) { - waiting = false; - throw value; - } - - return pump("throw", value); - }; - } - - if (typeof inner["return"] === "function") { - iter["return"] = function (value) { - if (waiting) { - waiting = false; - return value; - } - - return pump("return", value); - }; - } - - return iter; + }, iter.next = function (value) { + return waiting ? (waiting = !1, value) : pump("next", value); + }, "function" == typeof inner["throw"] && (iter["throw"] = function (value) { + if (waiting) throw waiting = !1, value; + return pump("throw", value); + }), "function" == typeof inner["return"] && (iter["return"] = function (value) { + return waiting ? (waiting = !1, value) : pump("return", value); + }), iter; } - -module.exports = _asyncGeneratorDelegate; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _asyncGeneratorDelegate, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/asyncIterator.js b/packages/next/src/compiled/@babel/runtime/helpers/asyncIterator.js index d59aa99d3781f..420ef0807f4fd 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/asyncIterator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/asyncIterator.js @@ -1,16 +1,45 @@ function _asyncIterator(iterable) { - var method; - - if (typeof Symbol !== "undefined") { - if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator]; - if (method == null && Symbol.iterator) method = iterable[Symbol.iterator]; + var method, + async, + sync, + retry = 2; + for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { + if (async && null != (method = iterable[async])) return method.call(iterable); + if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); + async = "@@asyncIterator", sync = "@@iterator"; } - - if (method == null) method = iterable["@@asyncIterator"]; - if (method == null) method = iterable["@@iterator"]; - if (method == null) throw new TypeError("Object is not async iterable"); - return method.call(iterable); + throw new TypeError("Object is not async iterable"); } - -module.exports = _asyncIterator; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +function AsyncFromSyncIterator(s) { + function AsyncFromSyncIteratorContinuation(r) { + if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); + var done = r.done; + return Promise.resolve(r.value).then(function (value) { + return { + value: value, + done: done + }; + }); + } + return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { + this.s = s, this.n = s.next; + }, AsyncFromSyncIterator.prototype = { + s: null, + n: null, + next: function next() { + return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); + }, + "return": function _return(value) { + var ret = this.s["return"]; + return void 0 === ret ? Promise.resolve({ + value: value, + done: !0 + }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); + }, + "throw": function _throw(value) { + var thr = this.s["return"]; + return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); + } + }, new AsyncFromSyncIterator(s); +} +module.exports = _asyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/asyncToGenerator.js b/packages/next/src/compiled/@babel/runtime/helpers/asyncToGenerator.js index ec5daa8cedd99..6b9697af17d60 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/asyncToGenerator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/asyncToGenerator.js @@ -6,33 +6,26 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { 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; + 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); }); }; } - -module.exports = _asyncToGenerator; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/awaitAsyncGenerator.js b/packages/next/src/compiled/@babel/runtime/helpers/awaitAsyncGenerator.js index c338fee0db306..7d4e951187605 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/awaitAsyncGenerator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/awaitAsyncGenerator.js @@ -1,8 +1,5 @@ -var AwaitValue = require("./AwaitValue.js"); - +var OverloadYield = require("./OverloadYield.js"); function _awaitAsyncGenerator(value) { - return new AwaitValue(value); + return new OverloadYield(value, 0); } - -module.exports = _awaitAsyncGenerator; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _awaitAsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/checkInRHS.js b/packages/next/src/compiled/@babel/runtime/helpers/checkInRHS.js new file mode 100644 index 0000000000000..e6ba638944188 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/checkInRHS.js @@ -0,0 +1,6 @@ +var _typeof = require("./typeof.js")["default"]; +function _checkInRHS(value) { + if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? _typeof(value) : "null")); + return value; +} +module.exports = _checkInRHS, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/checkPrivateRedeclaration.js b/packages/next/src/compiled/@babel/runtime/helpers/checkPrivateRedeclaration.js index 9bdefaf58fad6..1bbfd346581a3 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/checkPrivateRedeclaration.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/checkPrivateRedeclaration.js @@ -3,6 +3,4 @@ function _checkPrivateRedeclaration(obj, privateCollection) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } - -module.exports = _checkPrivateRedeclaration; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js b/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js index 521c1e07c418c..3ebfed87c4820 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js @@ -5,19 +5,14 @@ function _classApplyDescriptorDestructureSet(receiver, descriptor) { set value(v) { descriptor.set.call(receiver, v); } - }; } - return descriptor.__destrObj; } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } - return descriptor; } } - -module.exports = _classApplyDescriptorDestructureSet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classApplyDescriptorDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorGet.js b/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorGet.js index f750596119e4e..af3555da48d3f 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorGet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorGet.js @@ -2,9 +2,6 @@ function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } - return descriptor.value; } - -module.exports = _classApplyDescriptorGet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classApplyDescriptorGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorSet.js b/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorSet.js index 997b264934dd2..71bbf1df4102d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classApplyDescriptorSet.js @@ -5,10 +5,7 @@ function _classApplyDescriptorSet(receiver, descriptor, value) { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } - descriptor.value = value; } } - -module.exports = _classApplyDescriptorSet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classCallCheck.js b/packages/next/src/compiled/@babel/runtime/helpers/classCallCheck.js index 026da41c1c888..eab7e5203c8ee 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classCallCheck.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classCallCheck.js @@ -3,6 +3,4 @@ function _classCallCheck(instance, Constructor) { throw new TypeError("Cannot call a class as a function"); } } - -module.exports = _classCallCheck; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classCheckPrivateStaticAccess.js b/packages/next/src/compiled/@babel/runtime/helpers/classCheckPrivateStaticAccess.js index 67373aaeb75ce..348768432a29d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classCheckPrivateStaticAccess.js @@ -3,6 +3,4 @@ function _classCheckPrivateStaticAccess(receiver, classConstructor) { throw new TypeError("Private static access of wrong provenance"); } } - -module.exports = _classCheckPrivateStaticAccess; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classCheckPrivateStaticAccess, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js b/packages/next/src/compiled/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js index 3b934721ddf50..b937d15e6ae88 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js @@ -3,6 +3,4 @@ function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { throw new TypeError("attempted to " + action + " private static field before its declaration"); } } - -module.exports = _classCheckPrivateStaticFieldDescriptor; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classCheckPrivateStaticFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classExtractFieldDescriptor.js b/packages/next/src/compiled/@babel/runtime/helpers/classExtractFieldDescriptor.js index aaaac8cdb916f..e6f4725a2d010 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classExtractFieldDescriptor.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classExtractFieldDescriptor.js @@ -2,9 +2,6 @@ function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } - return privateMap.get(receiver); } - -module.exports = _classExtractFieldDescriptor; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classNameTDZError.js b/packages/next/src/compiled/@babel/runtime/helpers/classNameTDZError.js index bf740fadd7eef..9f84697a8a5bd 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classNameTDZError.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classNameTDZError.js @@ -1,6 +1,4 @@ function _classNameTDZError(name) { - throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); + throw new ReferenceError("Class \"" + name + "\" cannot be referenced in computed property keys."); } - -module.exports = _classNameTDZError; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classNameTDZError, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldDestructureSet.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldDestructureSet.js index 50b9fb01dbb6d..07f777df6bb54 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldDestructureSet.js @@ -1,11 +1,7 @@ var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js"); - var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); - function _classPrivateFieldDestructureSet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } - -module.exports = _classPrivateFieldDestructureSet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldGet.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldGet.js index df559699cea31..a67951e1a912c 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldGet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldGet.js @@ -1,11 +1,7 @@ var classApplyDescriptorGet = require("./classApplyDescriptorGet.js"); - var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); - function _classPrivateFieldGet(receiver, privateMap) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); return classApplyDescriptorGet(receiver, descriptor); } - -module.exports = _classPrivateFieldGet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateFieldGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldInitSpec.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldInitSpec.js index f154d82f80665..e55873a12483e 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldInitSpec.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldInitSpec.js @@ -1,9 +1,6 @@ var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js"); - function _classPrivateFieldInitSpec(obj, privateMap, value) { checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); } - -module.exports = _classPrivateFieldInitSpec; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateFieldInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldLooseBase.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldLooseBase.js index 3acdb7b0fabd0..bb16c0bcecfac 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldLooseBase.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldLooseBase.js @@ -2,9 +2,6 @@ function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } - return receiver; } - -module.exports = _classPrivateFieldBase; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldLooseKey.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldLooseKey.js index 3c0c552b7590f..b3d546f1ceed5 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldLooseKey.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldLooseKey.js @@ -1,8 +1,5 @@ var id = 0; - function _classPrivateFieldKey(name) { return "__private_" + id++ + "_" + name; } - -module.exports = _classPrivateFieldKey; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldSet.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldSet.js index d4a59b0b7e75f..ffb73a1076569 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateFieldSet.js @@ -1,12 +1,8 @@ var classApplyDescriptorSet = require("./classApplyDescriptorSet.js"); - var classExtractFieldDescriptor = require("./classExtractFieldDescriptor.js"); - function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); classApplyDescriptorSet(receiver, descriptor, value); return value; } - -module.exports = _classPrivateFieldSet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateFieldSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodGet.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodGet.js index d2f8ab1549ead..6a8436dabcd9b 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodGet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodGet.js @@ -2,9 +2,6 @@ function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } - return fn; } - -module.exports = _classPrivateMethodGet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodInitSpec.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodInitSpec.js index 6e2837cadb7ab..31064767b2421 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodInitSpec.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodInitSpec.js @@ -1,9 +1,6 @@ var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js"); - function _classPrivateMethodInitSpec(obj, privateSet) { checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); } - -module.exports = _classPrivateMethodInitSpec; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateMethodInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodSet.js b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodSet.js index f500d16befc0f..a44fd785361f8 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classPrivateMethodSet.js @@ -1,6 +1,4 @@ function _classPrivateMethodSet() { throw new TypeError("attempted to reassign private method"); } - -module.exports = _classPrivateMethodSet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classPrivateMethodSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js index 57e2c7faed650..734aaafa05b7d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js @@ -1,14 +1,9 @@ var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js"); - var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); - var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); - function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) { classCheckPrivateStaticAccess(receiver, classConstructor); classCheckPrivateStaticFieldDescriptor(descriptor, "set"); return classApplyDescriptorDestructureSet(receiver, descriptor); } - -module.exports = _classStaticPrivateFieldDestructureSet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classStaticPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js index 136c1f66ead0f..e8e295f439774 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js @@ -1,14 +1,9 @@ var classApplyDescriptorGet = require("./classApplyDescriptorGet.js"); - var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); - var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); - function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { classCheckPrivateStaticAccess(receiver, classConstructor); classCheckPrivateStaticFieldDescriptor(descriptor, "get"); return classApplyDescriptorGet(receiver, descriptor); } - -module.exports = _classStaticPrivateFieldSpecGet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classStaticPrivateFieldSpecGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js index e6ecfa4b144f6..b02e4c018ca5f 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js @@ -1,15 +1,10 @@ var classApplyDescriptorSet = require("./classApplyDescriptorSet.js"); - var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); - var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js"); - function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { classCheckPrivateStaticAccess(receiver, classConstructor); classCheckPrivateStaticFieldDescriptor(descriptor, "set"); classApplyDescriptorSet(receiver, descriptor, value); return value; } - -module.exports = _classStaticPrivateFieldSpecSet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classStaticPrivateFieldSpecSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateMethodGet.js b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateMethodGet.js index 5bc41fc74c20e..d3bb9968e548c 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateMethodGet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateMethodGet.js @@ -1,9 +1,6 @@ var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); - function _classStaticPrivateMethodGet(receiver, classConstructor, method) { classCheckPrivateStaticAccess(receiver, classConstructor); return method; } - -module.exports = _classStaticPrivateMethodGet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classStaticPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateMethodSet.js b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateMethodSet.js index 06cfcc16316cf..72560e6607e03 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateMethodSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/classStaticPrivateMethodSet.js @@ -1,6 +1,4 @@ function _classStaticPrivateMethodSet() { throw new TypeError("attempted to set read only static private field"); } - -module.exports = _classStaticPrivateMethodSet; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _classStaticPrivateMethodSet, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/construct.js b/packages/next/src/compiled/@babel/runtime/helpers/construct.js index 108b39a734776..3d3c232dcb226 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/construct.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/construct.js @@ -1,11 +1,8 @@ var setPrototypeOf = require("./setPrototypeOf.js"); - var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); - function _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { - module.exports = _construct = Reflect.construct; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; } else { module.exports = _construct = function _construct(Parent, args, Class) { var a = [null]; @@ -14,13 +11,8 @@ function _construct(Parent, args, Class) { var instance = new Constructor(); if (Class) setPrototypeOf(instance, Class.prototype); return instance; - }; - - module.exports["default"] = module.exports, module.exports.__esModule = true; + }, module.exports.__esModule = true, module.exports["default"] = module.exports; } - return _construct.apply(null, arguments); } - -module.exports = _construct; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/createClass.js b/packages/next/src/compiled/@babel/runtime/helpers/createClass.js index 293bd612fcdc6..201dcdf4f3f94 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/createClass.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/createClass.js @@ -1,18 +1,19 @@ +var toPropertyKey = require("./toPropertyKey.js"); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); } } - function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); return Constructor; } - -module.exports = _createClass; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/createForOfIteratorHelper.js b/packages/next/src/compiled/@babel/runtime/helpers/createForOfIteratorHelper.js index 90988658f9036..19b6f141b1968 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/createForOfIteratorHelper.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/createForOfIteratorHelper.js @@ -1,15 +1,11 @@ var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); - function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (!it) { if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; - var F = function F() {}; - return { s: F, n: function n() { @@ -27,13 +23,11 @@ function _createForOfIteratorHelper(o, allowArrayLike) { f: F }; } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - var normalCompletion = true, - didErr = false, - err; + didErr = false, + err; return { s: function s() { it = it.call(o); @@ -56,6 +50,4 @@ function _createForOfIteratorHelper(o, allowArrayLike) { } }; } - -module.exports = _createForOfIteratorHelper; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/createForOfIteratorHelperLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/createForOfIteratorHelperLoose.js index 2dedbc99a5f88..b8eb550776fa5 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/createForOfIteratorHelperLoose.js @@ -1,9 +1,7 @@ var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); - function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; @@ -17,9 +15,6 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) { }; }; } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - -module.exports = _createForOfIteratorHelperLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _createForOfIteratorHelperLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/createSuper.js b/packages/next/src/compiled/@babel/runtime/helpers/createSuper.js index 0acdd513badba..bd72679c4337b 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/createSuper.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/createSuper.js @@ -1,25 +1,18 @@ var getPrototypeOf = require("./getPrototypeOf.js"); - var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); - var possibleConstructorReturn = require("./possibleConstructorReturn.js"); - function _createSuper(Derived) { var hasNativeReflectConstruct = isNativeReflectConstruct(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), - result; - + result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } - return possibleConstructorReturn(this, result); }; } - -module.exports = _createSuper; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _createSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/decorate.js b/packages/next/src/compiled/@babel/runtime/helpers/decorate.js index 80d1751656091..457741fba37a6 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/decorate.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/decorate.js @@ -1,16 +1,12 @@ var toArray = require("./toArray.js"); - var toPropertyKey = require("./toPropertyKey.js"); - function _decorate(decorators, factory, superClass, mixins) { var api = _getDecoratorsApi(); - if (mixins) { for (var i = 0; i < mixins.length; i++) { api = mixins[i](api); } } - var r = factory(function initialize(O) { api.initializeInstanceElements(O, decorated.elements); }, superClass); @@ -18,12 +14,10 @@ function _decorate(decorators, factory, superClass, mixins) { api.initializeClassElements(r.F, decorated.elements); return api.runClassFinishers(r.F, decorated.finishers); } - function _getDecoratorsApi() { _getDecoratorsApi = function _getDecoratorsApi() { return api; }; - var api = { elementsDefinitionOrder: [["method"], ["field"]], initializeInstanceElements: function initializeInstanceElements(O, elements) { @@ -40,7 +34,6 @@ function _getDecoratorsApi() { ["method", "field"].forEach(function (kind) { elements.forEach(function (element) { var placement = element.placement; - if (element.kind === kind && (placement === "static" || placement === "prototype")) { var receiver = placement === "static" ? F : proto; this.defineClassElement(receiver, element); @@ -50,7 +43,6 @@ function _getDecoratorsApi() { }, defineClassElement: function defineClassElement(receiver, element) { var descriptor = element.descriptor; - if (element.kind === "field") { var initializer = element.initializer; descriptor = { @@ -60,7 +52,6 @@ function _getDecoratorsApi() { value: initializer === void 0 ? void 0 : initializer.call(receiver) }; } - Object.defineProperty(receiver, element.key, descriptor); }, decorateClass: function decorateClass(elements, decorators) { @@ -81,14 +72,12 @@ function _getDecoratorsApi() { newElements.push.apply(newElements, elementFinishersExtras.extras); finishers.push.apply(finishers, elementFinishersExtras.finishers); }, this); - if (!decorators) { return { elements: newElements, finishers: finishers }; } - var result = this.decorateConstructor(newElements, decorators); finishers.push.apply(finishers, result.finishers); result.finishers = finishers; @@ -96,17 +85,14 @@ function _getDecoratorsApi() { }, addElementPlacement: function addElementPlacement(element, placements, silent) { var keys = placements[element.placement]; - if (!silent && keys.indexOf(element.key) !== -1) { throw new TypeError("Duplicated element (" + element.key + ")"); } - keys.push(element.key); }, decorateElement: function decorateElement(element, placements) { var extras = []; var finishers = []; - for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { var keys = placements[element.placement]; keys.splice(keys.indexOf(element.key), 1); @@ -114,22 +100,17 @@ function _getDecoratorsApi() { var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); element = elementFinisherExtras.element; this.addElementPlacement(element, placements); - if (elementFinisherExtras.finisher) { finishers.push(elementFinisherExtras.finisher); } - var newExtras = elementFinisherExtras.extras; - if (newExtras) { for (var j = 0; j < newExtras.length; j++) { this.addElementPlacement(newExtras[j], placements); } - extras.push.apply(extras, newExtras); } } - return { element: element, finishers: finishers, @@ -138,18 +119,14 @@ function _getDecoratorsApi() { }, decorateConstructor: function decorateConstructor(elements, decorators) { var finishers = []; - for (var i = decorators.length - 1; i >= 0; i--) { var obj = this.fromClassDescriptor(elements); var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); - if (elementsAndFinisher.finisher !== undefined) { finishers.push(elementsAndFinisher.finisher); } - if (elementsAndFinisher.elements !== undefined) { elements = elementsAndFinisher.elements; - for (var j = 0; j < elements.length - 1; j++) { for (var k = j + 1; k < elements.length; k++) { if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { @@ -159,7 +136,6 @@ function _getDecoratorsApi() { } } } - return { elements: elements, finishers: finishers @@ -191,18 +167,14 @@ function _getDecoratorsApi() { }, toElementDescriptor: function toElementDescriptor(elementObject) { var kind = String(elementObject.kind); - if (kind !== "method" && kind !== "field") { throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); } - var key = toPropertyKey(elementObject.key); var placement = String(elementObject.placement); - if (placement !== "static" && placement !== "prototype" && placement !== "own") { throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); } - var descriptor = elementObject.descriptor; this.disallowProperty(elementObject, "elements", "An element descriptor"); var element = { @@ -211,7 +183,6 @@ function _getDecoratorsApi() { placement: placement, descriptor: Object.assign({}, descriptor) }; - if (kind !== "field") { this.disallowProperty(elementObject, "initializer", "A method descriptor"); } else { @@ -220,14 +191,11 @@ function _getDecoratorsApi() { this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); element.initializer = elementObject.initializer; } - return element; }, toElementFinisherExtras: function toElementFinisherExtras(elementObject) { var element = this.toElementDescriptor(elementObject); - var finisher = _optionalCallableProperty(elementObject, "finisher"); - var extras = this.toElementDescriptors(elementObject.extras); return { element: element, @@ -249,19 +217,15 @@ function _getDecoratorsApi() { }, toClassDescriptor: function toClassDescriptor(obj) { var kind = String(obj.kind); - if (kind !== "class") { throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); } - this.disallowProperty(obj, "key", "A class descriptor"); this.disallowProperty(obj, "placement", "A class descriptor"); this.disallowProperty(obj, "descriptor", "A class descriptor"); this.disallowProperty(obj, "initializer", "A class descriptor"); this.disallowProperty(obj, "extras", "A class descriptor"); - var finisher = _optionalCallableProperty(obj, "finisher"); - var elements = this.toElementDescriptors(obj.elements); return { elements: elements, @@ -271,16 +235,13 @@ function _getDecoratorsApi() { runClassFinishers: function runClassFinishers(constructor, finishers) { for (var i = 0; i < finishers.length; i++) { var newConstructor = (0, finishers[i])(constructor); - if (newConstructor !== undefined) { if (typeof newConstructor !== "function") { throw new TypeError("Finishers must return a constructor."); } - constructor = newConstructor; } } - return constructor; }, disallowProperty: function disallowProperty(obj, name, objectType) { @@ -291,11 +252,9 @@ function _getDecoratorsApi() { }; return api; } - function _createElementDescriptor(def) { var key = toPropertyKey(def.key); var descriptor; - if (def.kind === "method") { descriptor = { value: def.value, @@ -322,7 +281,6 @@ function _createElementDescriptor(def) { enumerable: true }; } - var element = { kind: def.kind === "field" ? "field" : "method", key: key, @@ -333,7 +291,6 @@ function _createElementDescriptor(def) { if (def.kind === "field") element.initializer = def.value; return element; } - function _coalesceGetterSetter(element, other) { if (element.descriptor.get !== undefined) { other.descriptor.get = element.descriptor.get; @@ -341,61 +298,46 @@ function _coalesceGetterSetter(element, other) { other.descriptor.set = element.descriptor.set; } } - function _coalesceClassElements(elements) { var newElements = []; - var isSameElement = function isSameElement(other) { return other.kind === "method" && other.key === element.key && other.placement === element.placement; }; - for (var i = 0; i < elements.length; i++) { var element = elements[i]; var other; - if (element.kind === "method" && (other = newElements.find(isSameElement))) { if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { if (_hasDecorators(element) || _hasDecorators(other)) { throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); } - other.descriptor = element.descriptor; } else { if (_hasDecorators(element)) { if (_hasDecorators(other)) { throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); } - other.decorators = element.decorators; } - _coalesceGetterSetter(element, other); } } else { newElements.push(element); } } - return newElements; } - function _hasDecorators(element) { return element.decorators && element.decorators.length; } - function _isDataDescriptor(desc) { return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); } - function _optionalCallableProperty(obj, name) { var value = obj[name]; - if (value !== undefined && typeof value !== "function") { throw new TypeError("Expected '" + name + "' to be a function"); } - return value; } - -module.exports = _decorate; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _decorate, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/defaults.js b/packages/next/src/compiled/@babel/runtime/helpers/defaults.js index 576c5a4b4218f..86641e9c08515 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/defaults.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/defaults.js @@ -1,17 +1,12 @@ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); - for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); - if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } - return obj; } - -module.exports = _defaults; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _defaults, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/defineAccessor.js b/packages/next/src/compiled/@babel/runtime/helpers/defineAccessor.js new file mode 100644 index 0000000000000..c72242710483e --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/defineAccessor.js @@ -0,0 +1,8 @@ +function _defineAccessor(type, obj, key, fn) { + var desc = { + configurable: !0, + enumerable: !0 + }; + return desc[type] = fn, Object.defineProperty(obj, key, desc); +} +module.exports = _defineAccessor, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/defineEnumerableProperties.js b/packages/next/src/compiled/@babel/runtime/helpers/defineEnumerableProperties.js index 4fe90c3c970fd..a04e6028777fa 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/defineEnumerableProperties.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/defineEnumerableProperties.js @@ -5,10 +5,8 @@ function _defineEnumerableProperties(obj, descs) { if ("value" in desc) desc.writable = true; Object.defineProperty(obj, key, desc); } - if (Object.getOwnPropertySymbols) { var objectSymbols = Object.getOwnPropertySymbols(descs); - for (var i = 0; i < objectSymbols.length; i++) { var sym = objectSymbols[i]; var desc = descs[sym]; @@ -17,9 +15,6 @@ function _defineEnumerableProperties(obj, descs) { Object.defineProperty(obj, sym, desc); } } - return obj; } - -module.exports = _defineEnumerableProperties; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _defineEnumerableProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/defineProperty.js b/packages/next/src/compiled/@babel/runtime/helpers/defineProperty.js index 1cd65ac26116b..8762046da3990 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/defineProperty.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/defineProperty.js @@ -1,4 +1,6 @@ +var toPropertyKey = require("./toPropertyKey.js"); function _defineProperty(obj, key, value) { + key = toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, @@ -9,9 +11,6 @@ function _defineProperty(obj, key, value) { } else { obj[key] = value; } - return obj; } - -module.exports = _defineProperty; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/dispose.js b/packages/next/src/compiled/@babel/runtime/helpers/dispose.js new file mode 100644 index 0000000000000..862f8b095d90c --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/dispose.js @@ -0,0 +1,31 @@ +function dispose_SuppressedError(suppressed, error) { + return "undefined" != typeof SuppressedError ? dispose_SuppressedError = SuppressedError : (dispose_SuppressedError = function dispose_SuppressedError(suppressed, error) { + this.suppressed = suppressed, this.error = error, this.stack = new Error().stack; + }, dispose_SuppressedError.prototype = Object.create(Error.prototype, { + constructor: { + value: dispose_SuppressedError, + writable: !0, + configurable: !0 + } + })), new dispose_SuppressedError(suppressed, error); +} +function _dispose(stack, error, hasError) { + function next() { + if (0 !== stack.length) { + var r = stack.pop(); + if (r.a) return Promise.resolve(r.d.call(r.v)).then(next, err); + try { + r.d.call(r.v); + } catch (e) { + return err(e); + } + return next(); + } + if (hasError) throw error; + } + function err(e) { + return error = hasError ? new dispose_SuppressedError(e, error) : e, hasError = !0, next(); + } + return next(); +} +module.exports = _dispose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/AsyncGenerator.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/AsyncGenerator.js index 919aab8758760..5df93d443fbca 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/AsyncGenerator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/AsyncGenerator.js @@ -1,37 +1,17 @@ -import AwaitValue from "./AwaitValue.js"; +import OverloadYield from "./OverloadYield.js"; export default function AsyncGenerator(gen) { var front, back; - - function send(key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null - }; - - if (back) { - back = back.next = request; - } else { - front = back = request; - resume(key, arg); - } - }); - } - function resume(key, arg) { try { - var result = gen[key](arg); - var value = result.value; - var wrappedAwait = value instanceof AwaitValue; - Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) { - if (wrappedAwait) { - resume(key === "return" ? "return" : "next", arg); - return; + var result = gen[key](arg), + value = result.value, + overloaded = value instanceof OverloadYield; + Promise.resolve(overloaded ? value.v : value).then(function (arg) { + if (overloaded) { + var nextKey = "return" === key ? "return" : "next"; + if (!value.k || arg.done) return resume(nextKey, arg); + arg = gen[nextKey](arg).value; } - settle(result.done ? "return" : "normal", arg); }, function (err) { resume("throw", err); @@ -40,56 +20,44 @@ export default function AsyncGenerator(gen) { settle("throw", err); } } - function settle(type, value) { switch (type) { case "return": front.resolve({ value: value, - done: true + done: !0 }); break; - case "throw": front.reject(value); break; - default: front.resolve({ value: value, - done: false + done: !1 }); - break; } - - front = front.next; - - if (front) { - resume(front.key, front.arg); - } else { - back = null; - } - } - - this._invoke = send; - - if (typeof gen["return"] !== "function") { - this["return"] = undefined; + (front = front.next) ? resume(front.key, front.arg) : back = null; } + this._invoke = function (key, arg) { + return new Promise(function (resolve, reject) { + var request = { + key: key, + arg: arg, + resolve: resolve, + reject: reject, + next: null + }; + back ? back = back.next = request : (front = back = request, resume(key, arg)); + }); + }, "function" != typeof gen["return"] && (this["return"] = void 0); } - -AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { +AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; -}; - -AsyncGenerator.prototype.next = function (arg) { +}, AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); -}; - -AsyncGenerator.prototype["throw"] = function (arg) { +}, AsyncGenerator.prototype["throw"] = function (arg) { return this._invoke("throw", arg); -}; - -AsyncGenerator.prototype["return"] = function (arg) { +}, AsyncGenerator.prototype["return"] = function (arg) { return this._invoke("return", arg); }; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/OverloadYield.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/OverloadYield.js new file mode 100644 index 0000000000000..0dd12e0124c97 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/OverloadYield.js @@ -0,0 +1,3 @@ +export default function _OverloadYield(value, kind) { + this.v = value, this.k = kind; +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js index 84b59617c0764..5137e85f2ab1a 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js @@ -5,24 +5,19 @@ export default function _applyDecoratedDescriptor(target, property, decorators, }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; - if ('value' in desc || desc.initializer) { desc.writable = true; } - desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); - if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } - if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } - return desc; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs.js new file mode 100644 index 0000000000000..84988df35308b --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs.js @@ -0,0 +1,235 @@ +import _typeof from "./typeof.js"; +function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { + return { + getMetadata: function getMetadata(key) { + old_assertNotFinished(decoratorFinishedRef, "getMetadata"), old_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 setMetadata(key, value) { + old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_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 old_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 < metadataKeys.length; i++) { + var key = metadataKeys[i], + metaForKey = metadataMap[key], + parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, + pub = metaForKey["public"], + parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; + pub && parentPub && Object.setPrototypeOf(pub, parentPub); + var priv = metaForKey["private"]; + if (priv) { + var privArr = Array.from(priv.values()), + parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; + parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey["private"] = privArr; + } + parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey); + } + parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol["for"]("Symbol.metadata")] = metadataMap; + } +} +function old_createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + old_assertNotFinished(decoratorFinishedRef, "addInitializer"), old_assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; +} +function old_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 metadataKind, + metadataName, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + isStatic: isStatic, + isPrivate: isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + if (0 !== kind && (ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) { + metadataKind = 2, metadataName = Symbol(name); + var access = {}; + 0 === kind ? (access.get = desc.get, access.set = desc.set) : 2 === kind ? access.get = function () { + return desc.value; + } : (1 !== kind && 3 !== kind || (access.get = function () { + return desc.get.call(this); + }), 1 !== kind && 4 !== kind || (access.set = function (v) { + desc.set.call(this, v); + })), ctx.access = access; + } else metadataKind = 1, metadataName = name; + try { + return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); + } finally { + decoratorFinishedRef.v = !0; + } +} +function old_assertNotFinished(decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); +} +function old_assertMetadataKey(key) { + if ("symbol" != _typeof(key)) throw new TypeError("Metadata keys must be symbols, received: " + key); +} +function old_assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); +} +function old_assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && old_assertCallable(value.get, "accessor.get"), void 0 !== value.set && old_assertCallable(value.set, "accessor.set"), void 0 !== value.init && old_assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && old_assertCallable(value.initializer, "accessor.initializer"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } +} +function old_getInit(desc) { + var initializer; + return null == (initializer = desc.init) && (initializer = desc.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), initializer; +} +function old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) { + var desc, + initializer, + value, + newValue, + get, + set, + decs = decInfo[0]; + if (isPrivate ? desc = 0 === kind || 1 === kind ? { + get: decInfo[3], + set: decInfo[4] + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = old_memberDec(decs, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value)) && (old_assertValidReturnValue(kind, newValue), 0 === kind ? initializer = newValue : 1 === kind ? (initializer = old_getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { + var newInit; + if (void 0 !== (newValue = old_memberDec(decs[i], name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value))) old_assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = old_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 initializer(instance, init) { + return init; + };else if ("function" != typeof initializer) { + var ownInitializers = initializer; + initializer = function initializer(instance, init) { + for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = initializer; + initializer = function initializer(instance, init) { + return originalInitializer.call(instance, init); + }; + } + ret.push(initializer); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); +} +function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { + for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + metadataMap, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + 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); + } + old_applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); + } + } + old_pushInitializers(ret, protoInitializers), old_pushInitializers(ret, staticInitializers); +} +function old_pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); +} +function old_applyClassDecs(ret, targetClass, metadataMap, classDecs) { + if (classDecs.length > 0) { + 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: old_createAddInitializerMethod(initializers, decoratorFinishedRef) + }, old_createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)), + nextNewClass = classDecs[i](newClass, ctx); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (old_assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); + } + ret.push(newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }); + } +} +export default function applyDecs(targetClass, memberDecs, classDecs) { + var ret = [], + staticMetadataMap = {}, + protoMetadataMap = {}; + return old_applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs), old_convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap), old_applyClassDecs(ret, targetClass, staticMetadataMap, classDecs), old_convertMetadataMapToFinal(targetClass, staticMetadataMap), ret; +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2203.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2203.js new file mode 100644 index 0000000000000..3f2f8b8c276ad --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2203.js @@ -0,0 +1,186 @@ +import _typeof from "./typeof.js"; +function applyDecs2203Factory() { + function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + !function (decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); + }(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; + } + function memberDec(dec, name, desc, 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 get, + set, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + "static": isStatic, + "private": isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { + return this[name]; + }, set = function set(v) { + this[name] = v; + }) : 2 === kind ? get = function get() { + return desc.value; + } : (1 !== kind && 3 !== kind || (get = function get() { + return desc.get.call(this); + }), 1 !== kind && 4 !== kind || (set = function set(v) { + desc.set.call(this, v); + })), ctx.access = get && set ? { + get: get, + set: set + } : get ? { + get: get + } : { + set: set + }; + try { + return dec(value, ctx); + } finally { + decoratorFinishedRef.v = !0; + } + } + function assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); + } + function assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } + } + function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) { + var desc, + init, + value, + newValue, + get, + set, + decs = decInfo[0]; + if (isPrivate ? desc = 0 === kind || 1 === kind ? { + get: decInfo[3], + set: decInfo[4] + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { + var newInit; + if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); + } + if (0 === kind || 1 === kind) { + if (void 0 === init) init = function init(instance, _init) { + return _init; + };else if ("function" != typeof init) { + var ownInitializers = init; + init = function init(instance, _init2) { + for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = init; + init = function init(instance, _init3) { + return originalInitializer.call(instance, _init3); + }; + } + ret.push(init); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); + } + function pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); + } + return function (targetClass, memberDecs, classDecs) { + var ret = []; + return function (ret, Class, decInfos) { + for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + isStatic = kind >= 5; + if (isStatic ? (base = Class, 0 != (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 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, initializers); + } + } + pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers); + }(ret, targetClass, memberDecs), function (ret, targetClass, classDecs) { + if (classDecs.length > 0) { + for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { + var decoratorFinishedRef = { + v: !1 + }; + try { + var nextNewClass = classDecs[i](newClass, { + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); + } + ret.push(newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }); + } + }(ret, targetClass, classDecs), ret; + }; +} +var applyDecs2203Impl; +export default function applyDecs2203(targetClass, memberDecs, classDecs) { + return (applyDecs2203Impl = applyDecs2203Impl || applyDecs2203Factory())(targetClass, memberDecs, classDecs); +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2203R.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2203R.js new file mode 100644 index 0000000000000..ed1bc20345399 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2203R.js @@ -0,0 +1,190 @@ +import _typeof from "./typeof.js"; +function applyDecs2203RFactory() { + function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + !function (decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); + }(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; + } + function memberDec(dec, name, desc, 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 get, + set, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + "static": isStatic, + "private": isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { + return this[name]; + }, set = function set(v) { + this[name] = v; + }) : 2 === kind ? get = function get() { + return desc.value; + } : (1 !== kind && 3 !== kind || (get = function get() { + return desc.get.call(this); + }), 1 !== kind && 4 !== kind || (set = function set(v) { + desc.set.call(this, v); + })), ctx.access = get && set ? { + get: get, + set: set + } : get ? { + get: get + } : { + set: set + }; + try { + return dec(value, ctx); + } finally { + decoratorFinishedRef.v = !0; + } + } + function assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); + } + function assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } + } + function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) { + var desc, + init, + value, + newValue, + get, + set, + decs = decInfo[0]; + if (isPrivate ? desc = 0 === kind || 1 === kind ? { + get: decInfo[3], + set: decInfo[4] + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { + var newInit; + if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); + } + if (0 === kind || 1 === kind) { + if (void 0 === init) init = function init(instance, _init) { + return _init; + };else if ("function" != typeof init) { + var ownInitializers = init; + init = function init(instance, _init2) { + for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = init; + init = function init(instance, _init3) { + return originalInitializer.call(instance, _init3); + }; + } + ret.push(init); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); + } + function applyMemberDecs(Class, decInfos) { + for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + isStatic = kind >= 5; + if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 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, initializers); + } + } + return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret; + } + function pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); + } + return function (targetClass, memberDecs, classDecs) { + return { + e: applyMemberDecs(targetClass, memberDecs), + get c() { + return function (targetClass, classDecs) { + if (classDecs.length > 0) { + for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { + var decoratorFinishedRef = { + v: !1 + }; + try { + var nextNewClass = classDecs[i](newClass, { + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); + } + return [newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }]; + } + }(targetClass, classDecs); + } + }; + }; +} +export default function applyDecs2203R(targetClass, memberDecs, classDecs) { + return (applyDecs2203R = applyDecs2203RFactory())(targetClass, memberDecs, classDecs); +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2301.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2301.js new file mode 100644 index 0000000000000..c0e612bb1e897 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2301.js @@ -0,0 +1,221 @@ +import _typeof from "./typeof.js"; +import checkInRHS from "./checkInRHS.js"; +function applyDecs2301Factory() { + function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + !function (decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); + }(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; + } + function assertInstanceIfPrivate(has, target) { + if (!has(target)) throw new TypeError("Attempted to access private element on non-instance"); + } + function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand) { + 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 get, + set, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + "static": isStatic, + "private": isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate || 0 !== kind && 2 !== kind) { + if (2 === kind) get = function get(target) { + return assertInstanceIfPrivate(hasPrivateBrand, target), desc.value; + };else { + var t = 0 === kind || 1 === kind; + (t || 3 === kind) && (get = isPrivate ? function (target) { + return assertInstanceIfPrivate(hasPrivateBrand, target), desc.get.call(target); + } : function (target) { + return desc.get.call(target); + }), (t || 4 === kind) && (set = isPrivate ? function (target, value) { + assertInstanceIfPrivate(hasPrivateBrand, target), desc.set.call(target, value); + } : function (target, value) { + desc.set.call(target, value); + }); + } + } else get = function get(target) { + return target[name]; + }, 0 === kind && (set = function set(target, v) { + target[name] = v; + }); + var has = isPrivate ? hasPrivateBrand.bind() : function (target) { + return name in target; + }; + ctx.access = get && set ? { + get: get, + set: set, + has: has + } : get ? { + get: get, + has: has + } : { + set: set, + has: has + }; + try { + return dec(value, ctx); + } finally { + decoratorFinishedRef.v = !0; + } + } + function assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); + } + function assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } + } + function curryThis2(fn) { + return function (value) { + fn(this, value); + }; + } + function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers, hasPrivateBrand) { + var desc, + init, + value, + fn, + newValue, + get, + set, + decs = decInfo[0]; + if (isPrivate ? desc = 0 === kind || 1 === kind ? { + get: (fn = decInfo[3], function () { + return fn(this); + }), + set: curryThis2(decInfo[4]) + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) { + var newInit; + if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); + } + if (0 === kind || 1 === kind) { + if (void 0 === init) init = function init(instance, _init) { + return _init; + };else if ("function" != typeof init) { + var ownInitializers = init; + init = function init(instance, _init2) { + for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = init; + init = function init(instance, _init3) { + return originalInitializer.call(instance, _init3); + }; + } + ret.push(init); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); + } + function applyMemberDecs(Class, decInfos, instanceBrand) { + for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + isStatic = kind >= 5, + hasPrivateBrand = instanceBrand; + if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function staticBrand(_) { + return checkInRHS(_) === Class; + }), hasPrivateBrand = staticBrand) : (base = Class.prototype, 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, initializers, hasPrivateBrand); + } + } + return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret; + } + function pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); + } + return function (targetClass, memberDecs, classDecs, instanceBrand) { + return { + e: applyMemberDecs(targetClass, memberDecs, instanceBrand), + get c() { + return function (targetClass, classDecs) { + if (classDecs.length > 0) { + for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) { + var decoratorFinishedRef = { + v: !1 + }; + try { + var nextNewClass = classDecs[i](newClass, { + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass); + } + return [newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }]; + } + }(targetClass, classDecs); + } + }; + }; +} +export default function applyDecs2301(targetClass, memberDecs, classDecs, instanceBrand) { + return (applyDecs2301 = applyDecs2301Factory())(targetClass, memberDecs, classDecs, instanceBrand); +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2305.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2305.js new file mode 100644 index 0000000000000..95e8b23ced079 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/applyDecs2305.js @@ -0,0 +1,219 @@ +import _typeof from "./typeof.js"; +import checkInRHS from "./checkInRHS.js"; +function createAddInitializerMethod(initializers, decoratorFinishedRef) { + return function (initializer) { + assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer); + }; +} +function assertInstanceIfPrivate(has, target) { + if (!has(target)) throw new TypeError("Attempted to access private element on non-instance"); +} +function memberDec(dec, thisArg, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand) { + 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 get, + set, + ctx = { + kind: kindStr, + name: isPrivate ? "#" + name : name, + "static": isStatic, + "private": isPrivate + }, + decoratorFinishedRef = { + v: !1 + }; + if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate || 0 !== kind && 2 !== kind) { + if (2 === kind) get = function get(target) { + return assertInstanceIfPrivate(hasPrivateBrand, target), desc.value; + };else { + var t = 0 === kind || 1 === kind; + (t || 3 === kind) && (get = isPrivate ? function (target) { + return assertInstanceIfPrivate(hasPrivateBrand, target), desc.get.call(target); + } : function (target) { + return desc.get.call(target); + }), (t || 4 === kind) && (set = isPrivate ? function (target, value) { + assertInstanceIfPrivate(hasPrivateBrand, target), desc.set.call(target, value); + } : function (target, value) { + desc.set.call(target, value); + }); + } + } else get = function get(target) { + return target[name]; + }, 0 === kind && (set = function set(target, v) { + target[name] = v; + }); + var has = isPrivate ? hasPrivateBrand.bind() : function (target) { + return name in target; + }; + ctx.access = get && set ? { + get: get, + set: set, + has: has + } : get ? { + get: get, + has: has + } : { + set: set, + has: has + }; + try { + return dec.call(thisArg, value, ctx); + } finally { + decoratorFinishedRef.v = !0; + } +} +function assertNotFinished(decoratorFinishedRef, fnName) { + if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished"); +} +function assertCallable(fn, hint) { + if ("function" != typeof fn) throw new TypeError(hint + " must be a function"); +} +function assertValidReturnValue(kind, value) { + var type = _typeof(value); + if (1 === kind) { + if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); + void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"); + } else if ("function" !== type) { + var hint; + throw hint = 0 === kind ? "field" : 5 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0"); + } +} +function curryThis1(fn) { + return function () { + return fn(this); + }; +} +function curryThis2(fn) { + return function (value) { + fn(this, value); + }; +} +function applyMemberDec(ret, base, decInfo, decoratorsHaveThis, name, kind, isStatic, isPrivate, initializers, hasPrivateBrand) { + var desc, + init, + value, + newValue, + get, + set, + decs = decInfo[0]; + decoratorsHaveThis || Array.isArray(decs) || (decs = [decs]), isPrivate ? desc = 0 === kind || 1 === kind ? { + get: curryThis1(decInfo[3]), + set: curryThis2(decInfo[4]) + } : 3 === kind ? { + get: decInfo[3] + } : 4 === kind ? { + set: decInfo[3] + } : { + value: decInfo[3] + } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { + get: desc.get, + set: desc.set + } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set); + for (var inc = decoratorsHaveThis ? 2 : 1, i = decs.length - 1; i >= 0; i -= inc) { + var newInit; + if (void 0 !== (newValue = memberDec(decs[i], decoratorsHaveThis ? decs[i - 1] : void 0, name, desc, initializers, kind, isStatic, isPrivate, value, hasPrivateBrand))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = { + get: get, + set: set + }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : "function" == typeof init ? init = [init, newInit] : init.push(newInit)); + } + if (0 === kind || 1 === kind) { + if (void 0 === init) init = function init(instance, _init) { + return _init; + };else if ("function" != typeof init) { + var ownInitializers = init; + init = function init(instance, _init2) { + for (var value = _init2, i = ownInitializers.length - 1; i >= 0; i--) value = ownInitializers[i].call(instance, value); + return value; + }; + } else { + var originalInitializer = init; + init = function init(instance, _init3) { + return originalInitializer.call(instance, _init3); + }; + } + ret.push(init); + } + 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) { + return value.get.call(instance, args); + }), ret.push(function (instance, args) { + return value.set.call(instance, args); + })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) { + return value.call(instance, args); + }) : Object.defineProperty(base, name, desc)); +} +function applyMemberDecs(Class, decInfos, instanceBrand) { + for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { + var decInfo = decInfos[i]; + if (Array.isArray(decInfo)) { + var base, + initializers, + kind = decInfo[1], + name = decInfo[2], + isPrivate = decInfo.length > 3, + decoratorsHaveThis = 16 & kind, + isStatic = !!(8 & kind), + hasPrivateBrand = instanceBrand; + if (kind &= 7, isStatic ? (base = Class, 0 !== kind && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function staticBrand(_) { + return checkInRHS(_) === Class; + }), hasPrivateBrand = staticBrand) : (base = Class.prototype, 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); + existingNonFields.set(name, !(!existingKind && kind > 2) || kind); + } + applyMemberDec(ret, base, decInfo, decoratorsHaveThis, name, kind, isStatic, isPrivate, initializers, hasPrivateBrand); + } + } + return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret; +} +function pushInitializers(ret, initializers) { + initializers && ret.push(function (instance) { + for (var i = 0; i < initializers.length; i++) initializers[i].call(instance); + return instance; + }); +} +function applyClassDecs(targetClass, classDecs, decoratorsHaveThis) { + if (classDecs.length) { + for (var initializers = [], newClass = targetClass, name = targetClass.name, inc = decoratorsHaveThis ? 2 : 1, i = classDecs.length - 1; i >= 0; i -= inc) { + var decoratorFinishedRef = { + v: !1 + }; + try { + var nextNewClass = classDecs[i].call(decoratorsHaveThis ? classDecs[i - 1] : void 0, newClass, { + kind: "class", + name: name, + addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef) + }); + } finally { + decoratorFinishedRef.v = !0; + } + void 0 !== nextNewClass && (assertValidReturnValue(5, nextNewClass), newClass = nextNewClass); + } + return [newClass, function () { + for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass); + }]; + } +} +export default function applyDecs2305(targetClass, memberDecs, classDecs, classDecsHaveThis, instanceBrand) { + return { + e: applyMemberDecs(targetClass, memberDecs, instanceBrand), + get c() { + return applyClassDecs(targetClass, classDecs, classDecsHaveThis); + } + }; +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/arrayLikeToArray.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/arrayLikeToArray.js index edbeb8ee38416..8a9fad8ab1198 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/arrayLikeToArray.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/arrayLikeToArray.js @@ -1,9 +1,5 @@ export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; - - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/assertThisInitialized.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/assertThisInitialized.js index bbf849ca50e66..1f8fcf4b5da16 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/assertThisInitialized.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/assertThisInitialized.js @@ -2,6 +2,5 @@ export default function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } - return self; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js index a7ccd67547d80..d393d55bbdd6a 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js @@ -1,54 +1,23 @@ -export default function _asyncGeneratorDelegate(inner, awaitWrap) { +import OverloadYield from "./OverloadYield.js"; +export default function _asyncGeneratorDelegate(inner) { var iter = {}, - waiting = false; - + waiting = !1; function pump(key, value) { - waiting = true; - value = new Promise(function (resolve) { + return waiting = !0, value = new Promise(function (resolve) { resolve(inner[key](value)); - }); - return { - done: false, - value: awaitWrap(value) + }), { + done: !1, + value: new OverloadYield(value, 1) }; } - - ; - - iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () { + return iter["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { return this; - }; - - iter.next = function (value) { - if (waiting) { - waiting = false; - return value; - } - - return pump("next", value); - }; - - if (typeof inner["throw"] === "function") { - iter["throw"] = function (value) { - if (waiting) { - waiting = false; - throw value; - } - - return pump("throw", value); - }; - } - - if (typeof inner["return"] === "function") { - iter["return"] = function (value) { - if (waiting) { - waiting = false; - return value; - } - - return pump("return", value); - }; - } - - return iter; + }, iter.next = function (value) { + return waiting ? (waiting = !1, value) : pump("next", value); + }, "function" == typeof inner["throw"] && (iter["throw"] = function (value) { + if (waiting) throw waiting = !1, value; + return pump("throw", value); + }), "function" == typeof inner["return"] && (iter["return"] = function (value) { + return waiting ? (waiting = !1, value) : pump("return", value); + }), iter; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncIterator.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncIterator.js index 91ddb42dc1de9..ae8aa397e6194 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncIterator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncIterator.js @@ -1,13 +1,44 @@ export default function _asyncIterator(iterable) { - var method; - - if (typeof Symbol !== "undefined") { - if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator]; - if (method == null && Symbol.iterator) method = iterable[Symbol.iterator]; + var method, + async, + sync, + retry = 2; + for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { + if (async && null != (method = iterable[async])) return method.call(iterable); + if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); + async = "@@asyncIterator", sync = "@@iterator"; } - - if (method == null) method = iterable["@@asyncIterator"]; - if (method == null) method = iterable["@@iterator"]; - if (method == null) throw new TypeError("Object is not async iterable"); - return method.call(iterable); + throw new TypeError("Object is not async iterable"); +} +function AsyncFromSyncIterator(s) { + function AsyncFromSyncIteratorContinuation(r) { + if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); + var done = r.done; + return Promise.resolve(r.value).then(function (value) { + return { + value: value, + done: done + }; + }); + } + return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { + this.s = s, this.n = s.next; + }, AsyncFromSyncIterator.prototype = { + s: null, + n: null, + next: function next() { + return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); + }, + "return": function _return(value) { + var ret = this.s["return"]; + return void 0 === ret ? Promise.resolve({ + value: value, + done: !0 + }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); + }, + "throw": function _throw(value) { + var thr = this.s["return"]; + return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); + } + }, new AsyncFromSyncIterator(s); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncToGenerator.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncToGenerator.js index 2a25f543bfedb..c37aa2c7ac8f0 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncToGenerator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/asyncToGenerator.js @@ -6,29 +6,24 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { reject(error); return; } - if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } - export default function _asyncToGenerator(fn) { return function () { var self = this, - args = arguments; + 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); }); }; diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/awaitAsyncGenerator.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/awaitAsyncGenerator.js index ccca65e53c84c..cfa05220fd866 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/awaitAsyncGenerator.js @@ -1,4 +1,4 @@ -import AwaitValue from "./AwaitValue.js"; +import OverloadYield from "./OverloadYield.js"; export default function _awaitAsyncGenerator(value) { - return new AwaitValue(value); + return new OverloadYield(value, 0); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/checkInRHS.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/checkInRHS.js new file mode 100644 index 0000000000000..928d53d28f169 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/checkInRHS.js @@ -0,0 +1,5 @@ +import _typeof from "./typeof.js"; +export default function _checkInRHS(value) { + if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? _typeof(value) : "null")); + return value; +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js index 4472adc640f6b..68684f2385092 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js @@ -5,16 +5,13 @@ export default function _classApplyDescriptorDestructureSet(receiver, descriptor set value(v) { descriptor.set.call(receiver, v); } - }; } - return descriptor.__destrObj; } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } - return descriptor; } } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorGet.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorGet.js index 0fad169d50c0f..727e9e9b8f9fe 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorGet.js @@ -2,6 +2,5 @@ export default function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } - return descriptor.value; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorSet.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorSet.js index f295f3e364d1f..b4df6d302f59b 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/classApplyDescriptorSet.js @@ -5,7 +5,6 @@ export default function _classApplyDescriptorSet(receiver, descriptor, value) { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } - descriptor.value = value; } } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js index 8dabe9a32c42f..1a8d71bad4e34 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js @@ -2,6 +2,5 @@ export default function _classExtractFieldDescriptor(receiver, privateMap, actio if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } - return privateMap.get(receiver); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/classNameTDZError.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/classNameTDZError.js index f7b6dd5787e9f..46eea93ac6b9d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/classNameTDZError.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/classNameTDZError.js @@ -1,3 +1,3 @@ export default function _classNameTDZError(name) { - throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); + throw new ReferenceError("Class \"" + name + "\" cannot be referenced in computed property keys."); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js index 5b10916f478af..09e93304f970e 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js @@ -2,6 +2,5 @@ export default function _classPrivateFieldBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } - return receiver; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/classPrivateMethodGet.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/classPrivateMethodGet.js index 38b9d584dea1e..f32a3da81e619 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/classPrivateMethodGet.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/classPrivateMethodGet.js @@ -2,6 +2,5 @@ export default function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } - return fn; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/construct.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/construct.js index 0c39835d2dc47..3860bdd07e331 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/construct.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/construct.js @@ -2,7 +2,7 @@ import setPrototypeOf from "./setPrototypeOf.js"; import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; export default function _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { - _construct = Reflect.construct; + _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; @@ -13,6 +13,5 @@ export default function _construct(Parent, args, Class) { return instance; }; } - return _construct.apply(null, arguments); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/createClass.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/createClass.js index d6cf412203b6c..bbacdfec2a3d6 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/createClass.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/createClass.js @@ -1,15 +1,18 @@ +import toPropertyKey from "./toPropertyKey.js"; function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); } } - export default function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); return Constructor; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/createForOfIteratorHelper.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/createForOfIteratorHelper.js index a7a2a50adc0ac..5e0e0f1900785 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/createForOfIteratorHelper.js @@ -1,14 +1,11 @@ import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; export default function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (!it) { if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; - var F = function F() {}; - return { s: F, n: function n() { @@ -26,13 +23,11 @@ export default function _createForOfIteratorHelper(o, allowArrayLike) { f: F }; } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - var normalCompletion = true, - didErr = false, - err; + didErr = false, + err; return { s: function s() { it = it.call(o); diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js index 640ec68310cf6..043857dc98f62 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js @@ -2,7 +2,6 @@ import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; @@ -16,6 +15,5 @@ export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { }; }; } - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/createSuper.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/createSuper.js index ea5ea99552a53..7c962976302d9 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/createSuper.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/createSuper.js @@ -5,15 +5,13 @@ export default function _createSuper(Derived) { var hasNativeReflectConstruct = isNativeReflectConstruct(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), - result; - + result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } - return possibleConstructorReturn(this, result); }; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/decorate.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/decorate.js index daf56da209aea..e511dfe6e4eb3 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/decorate.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/decorate.js @@ -2,13 +2,11 @@ import toArray from "./toArray.js"; import toPropertyKey from "./toPropertyKey.js"; export default function _decorate(decorators, factory, superClass, mixins) { var api = _getDecoratorsApi(); - if (mixins) { for (var i = 0; i < mixins.length; i++) { api = mixins[i](api); } } - var r = factory(function initialize(O) { api.initializeInstanceElements(O, decorated.elements); }, superClass); @@ -16,12 +14,10 @@ export default function _decorate(decorators, factory, superClass, mixins) { api.initializeClassElements(r.F, decorated.elements); return api.runClassFinishers(r.F, decorated.finishers); } - function _getDecoratorsApi() { _getDecoratorsApi = function _getDecoratorsApi() { return api; }; - var api = { elementsDefinitionOrder: [["method"], ["field"]], initializeInstanceElements: function initializeInstanceElements(O, elements) { @@ -38,7 +34,6 @@ function _getDecoratorsApi() { ["method", "field"].forEach(function (kind) { elements.forEach(function (element) { var placement = element.placement; - if (element.kind === kind && (placement === "static" || placement === "prototype")) { var receiver = placement === "static" ? F : proto; this.defineClassElement(receiver, element); @@ -48,7 +43,6 @@ function _getDecoratorsApi() { }, defineClassElement: function defineClassElement(receiver, element) { var descriptor = element.descriptor; - if (element.kind === "field") { var initializer = element.initializer; descriptor = { @@ -58,7 +52,6 @@ function _getDecoratorsApi() { value: initializer === void 0 ? void 0 : initializer.call(receiver) }; } - Object.defineProperty(receiver, element.key, descriptor); }, decorateClass: function decorateClass(elements, decorators) { @@ -79,14 +72,12 @@ function _getDecoratorsApi() { newElements.push.apply(newElements, elementFinishersExtras.extras); finishers.push.apply(finishers, elementFinishersExtras.finishers); }, this); - if (!decorators) { return { elements: newElements, finishers: finishers }; } - var result = this.decorateConstructor(newElements, decorators); finishers.push.apply(finishers, result.finishers); result.finishers = finishers; @@ -94,17 +85,14 @@ function _getDecoratorsApi() { }, addElementPlacement: function addElementPlacement(element, placements, silent) { var keys = placements[element.placement]; - if (!silent && keys.indexOf(element.key) !== -1) { throw new TypeError("Duplicated element (" + element.key + ")"); } - keys.push(element.key); }, decorateElement: function decorateElement(element, placements) { var extras = []; var finishers = []; - for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { var keys = placements[element.placement]; keys.splice(keys.indexOf(element.key), 1); @@ -112,22 +100,17 @@ function _getDecoratorsApi() { var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); element = elementFinisherExtras.element; this.addElementPlacement(element, placements); - if (elementFinisherExtras.finisher) { finishers.push(elementFinisherExtras.finisher); } - var newExtras = elementFinisherExtras.extras; - if (newExtras) { for (var j = 0; j < newExtras.length; j++) { this.addElementPlacement(newExtras[j], placements); } - extras.push.apply(extras, newExtras); } } - return { element: element, finishers: finishers, @@ -136,18 +119,14 @@ function _getDecoratorsApi() { }, decorateConstructor: function decorateConstructor(elements, decorators) { var finishers = []; - for (var i = decorators.length - 1; i >= 0; i--) { var obj = this.fromClassDescriptor(elements); var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); - if (elementsAndFinisher.finisher !== undefined) { finishers.push(elementsAndFinisher.finisher); } - if (elementsAndFinisher.elements !== undefined) { elements = elementsAndFinisher.elements; - for (var j = 0; j < elements.length - 1; j++) { for (var k = j + 1; k < elements.length; k++) { if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { @@ -157,7 +136,6 @@ function _getDecoratorsApi() { } } } - return { elements: elements, finishers: finishers @@ -189,18 +167,14 @@ function _getDecoratorsApi() { }, toElementDescriptor: function toElementDescriptor(elementObject) { var kind = String(elementObject.kind); - if (kind !== "method" && kind !== "field") { throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); } - var key = toPropertyKey(elementObject.key); var placement = String(elementObject.placement); - if (placement !== "static" && placement !== "prototype" && placement !== "own") { throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); } - var descriptor = elementObject.descriptor; this.disallowProperty(elementObject, "elements", "An element descriptor"); var element = { @@ -209,7 +183,6 @@ function _getDecoratorsApi() { placement: placement, descriptor: Object.assign({}, descriptor) }; - if (kind !== "field") { this.disallowProperty(elementObject, "initializer", "A method descriptor"); } else { @@ -218,14 +191,11 @@ function _getDecoratorsApi() { this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); element.initializer = elementObject.initializer; } - return element; }, toElementFinisherExtras: function toElementFinisherExtras(elementObject) { var element = this.toElementDescriptor(elementObject); - var finisher = _optionalCallableProperty(elementObject, "finisher"); - var extras = this.toElementDescriptors(elementObject.extras); return { element: element, @@ -247,19 +217,15 @@ function _getDecoratorsApi() { }, toClassDescriptor: function toClassDescriptor(obj) { var kind = String(obj.kind); - if (kind !== "class") { throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); } - this.disallowProperty(obj, "key", "A class descriptor"); this.disallowProperty(obj, "placement", "A class descriptor"); this.disallowProperty(obj, "descriptor", "A class descriptor"); this.disallowProperty(obj, "initializer", "A class descriptor"); this.disallowProperty(obj, "extras", "A class descriptor"); - var finisher = _optionalCallableProperty(obj, "finisher"); - var elements = this.toElementDescriptors(obj.elements); return { elements: elements, @@ -269,16 +235,13 @@ function _getDecoratorsApi() { runClassFinishers: function runClassFinishers(constructor, finishers) { for (var i = 0; i < finishers.length; i++) { var newConstructor = (0, finishers[i])(constructor); - if (newConstructor !== undefined) { if (typeof newConstructor !== "function") { throw new TypeError("Finishers must return a constructor."); } - constructor = newConstructor; } } - return constructor; }, disallowProperty: function disallowProperty(obj, name, objectType) { @@ -289,11 +252,9 @@ function _getDecoratorsApi() { }; return api; } - function _createElementDescriptor(def) { var key = toPropertyKey(def.key); var descriptor; - if (def.kind === "method") { descriptor = { value: def.value, @@ -320,7 +281,6 @@ function _createElementDescriptor(def) { enumerable: true }; } - var element = { kind: def.kind === "field" ? "field" : "method", key: key, @@ -331,7 +291,6 @@ function _createElementDescriptor(def) { if (def.kind === "field") element.initializer = def.value; return element; } - function _coalesceGetterSetter(element, other) { if (element.descriptor.get !== undefined) { other.descriptor.get = element.descriptor.get; @@ -339,58 +298,45 @@ function _coalesceGetterSetter(element, other) { other.descriptor.set = element.descriptor.set; } } - function _coalesceClassElements(elements) { var newElements = []; - var isSameElement = function isSameElement(other) { return other.kind === "method" && other.key === element.key && other.placement === element.placement; }; - for (var i = 0; i < elements.length; i++) { var element = elements[i]; var other; - if (element.kind === "method" && (other = newElements.find(isSameElement))) { if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { if (_hasDecorators(element) || _hasDecorators(other)) { throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); } - other.descriptor = element.descriptor; } else { if (_hasDecorators(element)) { if (_hasDecorators(other)) { throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); } - other.decorators = element.decorators; } - _coalesceGetterSetter(element, other); } } else { newElements.push(element); } } - return newElements; } - function _hasDecorators(element) { return element.decorators && element.decorators.length; } - function _isDataDescriptor(desc) { return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); } - function _optionalCallableProperty(obj, name) { var value = obj[name]; - if (value !== undefined && typeof value !== "function") { throw new TypeError("Expected '" + name + "' to be a function"); } - return value; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/defaults.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/defaults.js index 3de1d8ecfeced..9e59e9a8845a8 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/defaults.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/defaults.js @@ -1,14 +1,11 @@ export default function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); - for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); - if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } - return obj; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/defineAccessor.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/defineAccessor.js new file mode 100644 index 0000000000000..154271d1525f1 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/defineAccessor.js @@ -0,0 +1,7 @@ +export default function _defineAccessor(type, obj, key, fn) { + var desc = { + configurable: !0, + enumerable: !0 + }; + return desc[type] = fn, Object.defineProperty(obj, key, desc); +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/defineEnumerableProperties.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/defineEnumerableProperties.js index 7981acd48ff5f..0c04128a6068d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/defineEnumerableProperties.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/defineEnumerableProperties.js @@ -5,10 +5,8 @@ export default function _defineEnumerableProperties(obj, descs) { if ("value" in desc) desc.writable = true; Object.defineProperty(obj, key, desc); } - if (Object.getOwnPropertySymbols) { var objectSymbols = Object.getOwnPropertySymbols(descs); - for (var i = 0; i < objectSymbols.length; i++) { var sym = objectSymbols[i]; var desc = descs[sym]; @@ -17,6 +15,5 @@ export default function _defineEnumerableProperties(obj, descs) { Object.defineProperty(obj, sym, desc); } } - return obj; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/defineProperty.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/defineProperty.js index 7cf6e59fdf648..56c06a2508e21 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/defineProperty.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/defineProperty.js @@ -1,4 +1,6 @@ +import toPropertyKey from "./toPropertyKey.js"; export default function _defineProperty(obj, key, value) { + key = toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, @@ -9,6 +11,5 @@ export default function _defineProperty(obj, key, value) { } else { obj[key] = value; } - return obj; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/dispose.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/dispose.js new file mode 100644 index 0000000000000..dd4fe135a0799 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/dispose.js @@ -0,0 +1,30 @@ +function dispose_SuppressedError(suppressed, error) { + return "undefined" != typeof SuppressedError ? dispose_SuppressedError = SuppressedError : (dispose_SuppressedError = function dispose_SuppressedError(suppressed, error) { + this.suppressed = suppressed, this.error = error, this.stack = new Error().stack; + }, dispose_SuppressedError.prototype = Object.create(Error.prototype, { + constructor: { + value: dispose_SuppressedError, + writable: !0, + configurable: !0 + } + })), new dispose_SuppressedError(suppressed, error); +} +export default function _dispose(stack, error, hasError) { + function next() { + if (0 !== stack.length) { + var r = stack.pop(); + if (r.a) return Promise.resolve(r.d.call(r.v)).then(next, err); + try { + r.d.call(r.v); + } catch (e) { + return err(e); + } + return next(); + } + if (hasError) throw error; + } + function err(e) { + return error = hasError ? new dispose_SuppressedError(e, error) : e, hasError = !0, next(); + } + return next(); +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/extends.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/extends.js index b9b138d829758..ab17131f66cb8 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/extends.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/extends.js @@ -1,17 +1,14 @@ 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) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } - return target; }; - return _extends.apply(this, arguments); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/get.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/get.js index 1bce02077c369..0705d5fc46be6 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/get.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/get.js @@ -1,20 +1,17 @@ import superPropBase from "./superPropBase.js"; -export default function _get(target, property, receiver) { +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); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.get) { - return desc.get.call(receiver); + return desc.get.call(arguments.length < 3 ? target : receiver); } - return desc.value; }; } - - return _get(target, property, receiver || target); + return _get.apply(this, arguments); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/getPrototypeOf.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/getPrototypeOf.js index 5abafe381f4a4..e9bb1d54f7d63 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/getPrototypeOf.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/getPrototypeOf.js @@ -1,5 +1,5 @@ export default function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/identity.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/identity.js new file mode 100644 index 0000000000000..a1e7e4cda8d8d --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/identity.js @@ -0,0 +1,3 @@ +export default function _identity(x) { + return x; +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/inherits.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/inherits.js index aee0f102c7069..0b0a0eacf5891 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/inherits.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/inherits.js @@ -3,7 +3,6 @@ export default function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } - subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, @@ -11,5 +10,8 @@ export default function _inherits(subClass, superClass) { configurable: true } }); + Object.defineProperty(subClass, "prototype", { + writable: false + }); if (superClass) setPrototypeOf(subClass, superClass); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/initializerWarningHelper.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/initializerWarningHelper.js index 30d518cfd60c1..99d0b417ee2cd 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/initializerWarningHelper.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/initializerWarningHelper.js @@ -1,3 +1,3 @@ export default function _initializerWarningHelper(descriptor, context) { - throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); + throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/interopRequireWildcard.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/interopRequireWildcard.js index 7b911d6090c3a..6ec63091e3730 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/interopRequireWildcard.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/interopRequireWildcard.js @@ -1,5 +1,4 @@ -import _typeof from "next/dist/compiled/@babel/runtime/helpers/typeof"; - +import _typeof from "./typeof.js"; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); @@ -8,31 +7,24 @@ function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - export default function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } - if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { return cache.get(obj); } - var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; - if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { @@ -40,12 +32,9 @@ export default function _interopRequireWildcard(obj, nodeInterop) { } } } - newObj["default"] = obj; - if (cache) { cache.set(obj, newObj); } - return newObj; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/isNativeReflectConstruct.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/isNativeReflectConstruct.js index 0da1624ecf0f2..6184080708ea6 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/isNativeReflectConstruct.js @@ -2,7 +2,6 @@ export default function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; - try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/iterableToArrayLimit.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/iterableToArrayLimit.js index c72ca94b7b9a6..5c31a59351e4d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/iterableToArrayLimit.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/iterableToArrayLimit.js @@ -1,29 +1,27 @@ export default function _iterableToArrayLimit(arr, i) { - var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; - - if (_i == null) return; - var _arr = []; - var _n = true; - var _d = false; - - var _s, _e; - - try { - for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { + var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; + if (null != _i) { + var _s, + _e, + _x, + _r, + _arr = [], + _n = !0, + _d = !1; try { - if (!_n && _i["return"] != null) _i["return"](); + if (_x = (_i = _i.call(arr)).next, 0 === i) { + if (Object(_i) !== _i) return; + _n = !1; + } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); + } catch (err) { + _d = !0, _e = err; } finally { - if (_d) throw _e; + try { + if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; + } finally { + if (_d) throw _e; + } } + return _arr; } - - return _arr; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js index 27c15e0986a40..9237c307735c1 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js @@ -1,14 +1,9 @@ export default function _iterableToArrayLimitLoose(arr, i) { - var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); - - if (_i == null) return; - var _arr = []; - - for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) { - _arr.push(_step.value); - - if (i && _arr.length === i) break; + var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]); + if (null != _i) { + var _s, + _arr = []; + for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) _arr.push(_s.value); + return _arr; } - - return _arr; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/jsx.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/jsx.js index 328fadf056b08..742afd5c2833b 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/jsx.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/jsx.js @@ -1,44 +1,19 @@ var REACT_ELEMENT_TYPE; export default function _createRawReactElement(type, props, key, children) { - if (!REACT_ELEMENT_TYPE) { - REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; - } - - var defaultProps = type && type.defaultProps; - var childrenLength = arguments.length - 3; - - if (!props && childrenLength !== 0) { - props = { - children: void 0 - }; - } - - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = new Array(childrenLength); - - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 3]; - } - + REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol["for"] && Symbol["for"]("react.element") || 60103); + var defaultProps = type && type.defaultProps, + childrenLength = arguments.length - 3; + if (props || 0 === childrenLength || (props = { + children: void 0 + }), 1 === childrenLength) props.children = children;else if (childrenLength > 1) { + for (var childArray = new Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 3]; props.children = childArray; } - - if (props && defaultProps) { - for (var propName in defaultProps) { - if (props[propName] === void 0) { - props[propName] = defaultProps[propName]; - } - } - } else if (!props) { - props = defaultProps || {}; - } - + if (props && defaultProps) for (var propName in defaultProps) void 0 === props[propName] && (props[propName] = defaultProps[propName]);else props || (props = defaultProps || {}); return { $$typeof: REACT_ELEMENT_TYPE, type: type, - key: key === undefined ? null : "" + key, + key: void 0 === key ? null : "" + key, ref: null, props: props, _owner: null diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/maybeArrayLike.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/maybeArrayLike.js index f6879592679de..38fd78fb1a81d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/maybeArrayLike.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/maybeArrayLike.js @@ -4,6 +4,5 @@ export default function _maybeArrayLike(next, arr, i) { var len = arr.length; return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); } - return next(arr, i); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectDestructuringEmpty.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectDestructuringEmpty.js index 82b67d2cba706..251b859584364 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectDestructuringEmpty.js @@ -1,3 +1,3 @@ export default function _objectDestructuringEmpty(obj) { - if (obj == null) throw new TypeError("Cannot destructure undefined"); + if (obj == null) throw new TypeError("Cannot destructure " + obj); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectSpread.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectSpread.js index 889a5f0e4a617..a4e05e5694bb8 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectSpread.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectSpread.js @@ -3,17 +3,14 @@ export default function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); - if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } - ownKeys.forEach(function (key) { defineProperty(target, key, source[key]); }); } - return target; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectSpread2.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectSpread2.js index be42b4d7b86f1..7d69accd7cd94 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectSpread2.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectSpread2.js @@ -1,39 +1,22 @@ import defineProperty from "./defineProperty.js"; - function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); - if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); - - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } - - keys.push.apply(keys, symbols); + enumerableOnly && (symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + })), keys.push.apply(keys, symbols); } - return keys; } - export default function _objectSpread2(target) { for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } + var source = null != arguments[i] ? arguments[i] : {}; + i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { + defineProperty(target, key, source[key]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); } - return target; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectWithoutProperties.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectWithoutProperties.js index 0fef321925bfd..36804a39bacad 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectWithoutProperties.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectWithoutProperties.js @@ -3,10 +3,8 @@ export default function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = objectWithoutPropertiesLoose(source, excluded); var key, i; - if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; @@ -14,6 +12,5 @@ export default function _objectWithoutProperties(source, excluded) { target[key] = source[key]; } } - return target; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js index c36815cebe835..4b308bde5e9fe 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js @@ -3,12 +3,10 @@ export default function _objectWithoutPropertiesLoose(source, excluded) { 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; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/possibleConstructorReturn.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/possibleConstructorReturn.js index f5f9a0b0a753a..877882442b65e 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/possibleConstructorReturn.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/possibleConstructorReturn.js @@ -1,4 +1,4 @@ -import _typeof from "next/dist/compiled/@babel/runtime/helpers/typeof"; +import _typeof from "./typeof.js"; import assertThisInitialized from "./assertThisInitialized.js"; export default function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { @@ -6,6 +6,5 @@ export default function _possibleConstructorReturn(self, call) { } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } - return assertThisInitialized(self); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/regeneratorRuntime.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/regeneratorRuntime.js new file mode 100644 index 0000000000000..5bf8fcf0ebe1e --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/regeneratorRuntime.js @@ -0,0 +1,303 @@ +import _typeof from "./typeof.js"; +export default function _regeneratorRuntime() { + "use strict"; /*! next/dist/compiled/regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ + _regeneratorRuntime = function _regeneratorRuntime() { + return exports; + }; + var exports = {}, + Op = Object.prototype, + hasOwn = Op.hasOwnProperty, + defineProperty = Object.defineProperty || function (obj, key, desc) { + obj[key] = desc.value; + }, + $Symbol = "function" == typeof Symbol ? Symbol : {}, + iteratorSymbol = $Symbol.iterator || "@@iterator", + asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", + toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + function define(obj, key, value) { + return Object.defineProperty(obj, key, { + value: value, + enumerable: !0, + configurable: !0, + writable: !0 + }), obj[key]; + } + try { + define({}, ""); + } catch (err) { + define = function define(obj, key, value) { + return obj[key] = value; + }; + } + function wrap(innerFn, outerFn, self, tryLocsList) { + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, + generator = Object.create(protoGenerator.prototype), + context = new Context(tryLocsList || []); + return defineProperty(generator, "_invoke", { + value: makeInvokeMethod(innerFn, self, context) + }), generator; + } + function tryCatch(fn, obj, arg) { + try { + return { + type: "normal", + arg: fn.call(obj, arg) + }; + } catch (err) { + return { + type: "throw", + arg: err + }; + } + } + exports.wrap = wrap; + var ContinueSentinel = {}; + function Generator() {} + function GeneratorFunction() {} + function GeneratorFunctionPrototype() {} + var IteratorPrototype = {}; + define(IteratorPrototype, iteratorSymbol, function () { + return this; + }); + var getProto = Object.getPrototypeOf, + NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); + var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function (method) { + define(prototype, method, function (arg) { + return this._invoke(method, arg); + }); + }); + } + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + if ("throw" !== record.type) { + var result = record.arg, + value = result.value; + return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { + invoke("next", value, resolve, reject); + }, function (err) { + invoke("throw", err, resolve, reject); + }) : PromiseImpl.resolve(value).then(function (unwrapped) { + result.value = unwrapped, resolve(result); + }, function (error) { + return invoke("throw", error, resolve, reject); + }); + } + reject(record.arg); + } + var previousPromise; + defineProperty(this, "_invoke", { + value: function value(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function (resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); + } + }); + } + function makeInvokeMethod(innerFn, self, context) { + var state = "suspendedStart"; + return function (method, arg) { + if ("executing" === state) throw new Error("Generator is already running"); + if ("completed" === state) { + if ("throw" === method) throw arg; + return doneResult(); + } + for (context.method = method, context.arg = arg;;) { + var delegate = context.delegate; + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { + if ("suspendedStart" === state) throw state = "completed", context.arg; + context.dispatchException(context.arg); + } else "return" === context.method && context.abrupt("return", context.arg); + state = "executing"; + var record = tryCatch(innerFn, self, context); + if ("normal" === record.type) { + if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; + return { + value: record.arg, + done: context.done + }; + } + "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); + } + }; + } + function maybeInvokeDelegate(delegate, context) { + var methodName = context.method, + method = delegate.iterator[methodName]; + if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; + var record = tryCatch(method, delegate.iterator, context.arg); + if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; + var info = record.arg; + return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); + } + function pushTryEntry(locs) { + var entry = { + tryLoc: locs[0] + }; + 1 in locs && (entry.catchLoc = locs[1]), 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(!0); + } + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + if (iteratorMethod) return iteratorMethod.call(iterable); + if ("function" == typeof iterable.next) return iterable; + if (!isNaN(iterable.length)) { + var i = -1, + next = function next() { + for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; + return next.value = undefined, next.done = !0, next; + }; + return next.next = next; + } + } + return { + next: doneResult + }; + } + function doneResult() { + return { + value: undefined, + done: !0 + }; + } + return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { + value: GeneratorFunctionPrototype, + configurable: !0 + }), defineProperty(GeneratorFunctionPrototype, "constructor", { + value: GeneratorFunction, + configurable: !0 + }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { + var ctor = "function" == typeof genFun && genFun.constructor; + return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); + }, exports.mark = function (genFun) { + return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; + }, exports.awrap = function (arg) { + return { + __await: arg + }; + }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { + return this; + }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { + void 0 === PromiseImpl && (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(); + }); + }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { + return this; + }), define(Gp, "toString", function () { + return "[object Generator]"; + }), exports.keys = function (val) { + var object = Object(val), + keys = []; + for (var key in object) keys.push(key); + return keys.reverse(), function next() { + for (; keys.length;) { + var key = keys.pop(); + if (key in object) return next.value = key, next.done = !1, next; + } + return next.done = !0, next; + }; + }, exports.values = values, Context.prototype = { + constructor: Context, + reset: function reset(skipTempReset) { + if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); + }, + stop: function stop() { + this.done = !0; + var rootRecord = this.tryEntries[0].completion; + if ("throw" === rootRecord.type) throw rootRecord.arg; + return this.rval; + }, + dispatchException: function dispatchException(exception) { + if (this.done) throw exception; + var context = this; + function handle(loc, caught) { + return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; + } + for (var i = this.tryEntries.length - 1; 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 < entry.catchLoc) return handle(entry.catchLoc, !0); + if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); + } else if (hasCatch) { + if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); + } else { + if (!hasFinally) throw new Error("try statement without catch or finally"); + if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); + } + } + } + }, + abrupt: function abrupt(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; + } + } + finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); + var record = finallyEntry ? finallyEntry.completion : {}; + return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); + }, + complete: function complete(record, afterLoc) { + if ("throw" === record.type) throw record.arg; + return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; + }, + finish: function finish(finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; + } + }, + "catch": function _catch(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 delegateYield(iterable, resultName, nextLoc) { + return this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }, "next" === this.method && (this.arg = undefined), ContinueSentinel; + } + }, exports; +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/set.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/set.js index 9c54773906dfe..c9ee6c724e82d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/set.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/set.js @@ -1,6 +1,5 @@ import superPropBase from "./superPropBase.js"; import defineProperty from "./defineProperty.js"; - function set(target, property, value, receiver) { if (typeof Reflect !== "undefined" && Reflect.set) { set = Reflect.set; @@ -8,10 +7,8 @@ function set(target, property, value, receiver) { set = function set(target, property, value, receiver) { var base = superPropBase(target, property); var desc; - if (base) { desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.set) { desc.set.call(receiver, value); return true; @@ -19,33 +16,25 @@ function set(target, property, value, receiver) { return false; } } - desc = Object.getOwnPropertyDescriptor(receiver, property); - if (desc) { if (!desc.writable) { return false; } - desc.value = value; Object.defineProperty(receiver, property, desc); } else { defineProperty(receiver, property, value); } - return true; }; } - return set(target, property, value, receiver); } - export default function _set(target, property, value, receiver, isStrict) { var s = set(target, property, value, receiver || target); - if (!s && isStrict) { - throw new Error('failed to set property'); + throw new TypeError('failed to set property'); } - return value; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/setPrototypeOf.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/setPrototypeOf.js index e6ef03e5983d6..905e13c0d343a 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/setPrototypeOf.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/setPrototypeOf.js @@ -1,8 +1,7 @@ export default function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; - return _setPrototypeOf(o, p); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/superPropBase.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/superPropBase.js index feffe6f7e9122..605724d78a314 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/superPropBase.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/superPropBase.js @@ -4,6 +4,5 @@ export default function _superPropBase(object, property) { object = getPrototypeOf(object); if (object === null) break; } - return object; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/taggedTemplateLiteral.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/taggedTemplateLiteral.js index 421f18abde733..990d5e438e904 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/taggedTemplateLiteral.js @@ -2,7 +2,6 @@ export default function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } - return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js index c8f081e9ee40a..9fcba323fe8af 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js @@ -2,7 +2,6 @@ export default function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } - strings.raw = raw; return strings; } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/toPrimitive.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/toPrimitive.js index bc06d27430625..cbfabb7fbe009 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/toPrimitive.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/toPrimitive.js @@ -1,13 +1,11 @@ -import _typeof from "next/dist/compiled/@babel/runtime/helpers/typeof"; +import _typeof from "./typeof.js"; export default function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } - return (hint === "string" ? String : Number)(input); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/toPropertyKey.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/toPropertyKey.js index 899eb89cf5875..0fcc93b3ee6b4 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/toPropertyKey.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/toPropertyKey.js @@ -1,4 +1,4 @@ -import _typeof from "next/dist/compiled/@babel/runtime/helpers/typeof"; +import _typeof from "./typeof.js"; import toPrimitive from "./toPrimitive.js"; export default function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/typeof.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/typeof.js index eb444f73d8f5d..92100c66f9418 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/typeof.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/typeof.js @@ -1,15 +1,9 @@ export default function _typeof(obj) { "@babel/helpers - typeof"; - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - _typeof = function _typeof(obj) { - return typeof obj; - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }; - } - - return _typeof(obj); + 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); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/using.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/using.js new file mode 100644 index 0000000000000..1c59afa339cfd --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/using.js @@ -0,0 +1,12 @@ +import _typeof from "./typeof.js"; +export default function _using(stack, value, isAwait) { + if (null == value) return value; + if ("object" != _typeof(value)) throw new TypeError("using decarations can only be used with objects, null, or undefined."); + if (isAwait) var dispose = value[Symbol.asyncDispose || Symbol["for"]("Symbol.asyncDispose")]; + if (null == dispose && (dispose = value[Symbol.dispose || Symbol["for"]("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function."); + return stack.push({ + v: value, + d: dispose, + a: isAwait + }), value; +} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/wrapNativeSuper.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/wrapNativeSuper.js index 512630d0ea7b5..43d0ded7a351c 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/wrapNativeSuper.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/wrapNativeSuper.js @@ -4,24 +4,18 @@ import isNativeFunction from "./isNativeFunction.js"; import construct from "./construct.js"; export default function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; - _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !isNativeFunction(Class)) return Class; - if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } - if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); - _cache.set(Class, Wrapper); } - function Wrapper() { return construct(Class, arguments, getPrototypeOf(this).constructor); } - Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, @@ -32,6 +26,5 @@ export default function _wrapNativeSuper(Class) { }); return setPrototypeOf(Wrapper, Class); }; - return _wrapNativeSuper(Class); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/esm/wrapRegExp.js b/packages/next/src/compiled/@babel/runtime/helpers/esm/wrapRegExp.js index a8cd1a02f1a19..620d84c794c4c 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/esm/wrapRegExp.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/esm/wrapRegExp.js @@ -1,65 +1,50 @@ -import _typeof from "next/dist/compiled/@babel/runtime/helpers/typeof"; +import _typeof from "./typeof.js"; import setPrototypeOf from "./setPrototypeOf.js"; import inherits from "./inherits.js"; export default function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(re, groups) { - return new BabelRegExp(re, undefined, groups); + return new BabelRegExp(re, void 0, groups); }; - - var _super = RegExp.prototype; - - var _groups = new WeakMap(); - + var _super = RegExp.prototype, + _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); - - _groups.set(_this, groups || _groups.get(re)); - - return setPrototypeOf(_this, BabelRegExp.prototype); + return _groups.set(_this, groups || _groups.get(re)), setPrototypeOf(_this, BabelRegExp.prototype); } - - inherits(BabelRegExp, RegExp); - - BabelRegExp.prototype.exec = function (str) { + function buildGroups(result, re) { + var g = _groups.get(re); + return Object.keys(g).reduce(function (groups, name) { + var i = g[name]; + if ("number" == typeof i) groups[name] = result[i];else { + for (var k = 0; void 0 === result[i[k]] && k + 1 < i.length;) k++; + groups[name] = result[i[k]]; + } + return groups; + }, Object.create(null)); + } + return inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); - - if (result) result.groups = buildGroups(result, this); + if (result) { + result.groups = buildGroups(result, this); + var indices = result.indices; + indices && (indices.groups = buildGroups(indices, this)); + } return result; - }; - - BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { - if (typeof substitution === "string") { + }, 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]; + var group = groups[name]; + return "$" + (Array.isArray(group) ? group.join("$") : group); })); - } else if (typeof substitution === "function") { + } + if ("function" == typeof substitution) { var _this = this; - return _super[Symbol.replace].call(this, str, function () { var args = arguments; - - if (_typeof(args[args.length - 1]) !== "object") { - args = [].slice.call(args); - args.push(buildGroups(args, _this)); - } - - return substitution.apply(this, args); + return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); }); - } else { - return _super[Symbol.replace].call(this, str, substitution); } - }; - - function buildGroups(result, re) { - var g = _groups.get(re); - - return Object.keys(g).reduce(function (groups, name) { - groups[name] = result[g[name]]; - return groups; - }, Object.create(null)); - } - - return _wrapRegExp.apply(this, arguments); + return _super[Symbol.replace].call(this, str, substitution); + }, _wrapRegExp.apply(this, arguments); } \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/extends.js b/packages/next/src/compiled/@babel/runtime/helpers/extends.js index eaf954719de63..bb1116077931f 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/extends.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/extends.js @@ -1,21 +1,15 @@ function _extends() { - module.exports = _extends = Object.assign || function (target) { + module.exports = _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) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } - return target; - }; - - module.exports["default"] = module.exports, module.exports.__esModule = true; + }, module.exports.__esModule = true, module.exports["default"] = module.exports; return _extends.apply(this, arguments); } - -module.exports = _extends; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/get.js b/packages/next/src/compiled/@babel/runtime/helpers/get.js index 3ed600f20c374..9b44d2fbcbff7 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/get.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/get.js @@ -1,27 +1,18 @@ var superPropBase = require("./superPropBase.js"); - -function _get(target, property, receiver) { +function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { - module.exports = _get = Reflect.get; - module.exports["default"] = module.exports, module.exports.__esModule = true; + module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; } else { module.exports = _get = function _get(target, property, receiver) { var base = superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.get) { - return desc.get.call(receiver); + return desc.get.call(arguments.length < 3 ? target : receiver); } - return desc.value; - }; - - module.exports["default"] = module.exports, module.exports.__esModule = true; + }, module.exports.__esModule = true, module.exports["default"] = module.exports; } - - return _get(target, property, receiver || target); + return _get.apply(this, arguments); } - -module.exports = _get; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/getPrototypeOf.js b/packages/next/src/compiled/@babel/runtime/helpers/getPrototypeOf.js index a6916ebc1fae7..0639a65504cca 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/getPrototypeOf.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/getPrototypeOf.js @@ -1,10 +1,7 @@ function _getPrototypeOf(o) { - module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); - }; - module.exports["default"] = module.exports, module.exports.__esModule = true; + }, module.exports.__esModule = true, module.exports["default"] = module.exports; return _getPrototypeOf(o); } - -module.exports = _getPrototypeOf; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/identity.js b/packages/next/src/compiled/@babel/runtime/helpers/identity.js new file mode 100644 index 0000000000000..7dd82dc79af00 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/identity.js @@ -0,0 +1,4 @@ +function _identity(x) { + return x; +} +module.exports = _identity, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/inherits.js b/packages/next/src/compiled/@babel/runtime/helpers/inherits.js index 3003e015d02d3..6521cce38bb8a 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/inherits.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/inherits.js @@ -1,10 +1,8 @@ var setPrototypeOf = require("./setPrototypeOf.js"); - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } - subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, @@ -12,8 +10,9 @@ function _inherits(subClass, superClass) { configurable: true } }); + Object.defineProperty(subClass, "prototype", { + writable: false + }); if (superClass) setPrototypeOf(subClass, superClass); } - -module.exports = _inherits; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/inheritsLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/inheritsLoose.js index 93e4305967f9e..19a60c938c9f8 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/inheritsLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/inheritsLoose.js @@ -1,10 +1,7 @@ var setPrototypeOf = require("./setPrototypeOf.js"); - function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; setPrototypeOf(subClass, superClass); } - -module.exports = _inheritsLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/initializerDefineProperty.js b/packages/next/src/compiled/@babel/runtime/helpers/initializerDefineProperty.js index 6b1069e6d5c84..7f35d5038e715 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/initializerDefineProperty.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/initializerDefineProperty.js @@ -7,6 +7,4 @@ function _initializerDefineProperty(target, property, descriptor, context) { value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); } - -module.exports = _initializerDefineProperty; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _initializerDefineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/initializerWarningHelper.js b/packages/next/src/compiled/@babel/runtime/helpers/initializerWarningHelper.js index 9d02886547add..061f420a8a18d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/initializerWarningHelper.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/initializerWarningHelper.js @@ -1,6 +1,4 @@ function _initializerWarningHelper(descriptor, context) { - throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); + throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); } - -module.exports = _initializerWarningHelper; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _initializerWarningHelper, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/instanceof.js b/packages/next/src/compiled/@babel/runtime/helpers/instanceof.js index 654ebc8a17f4e..bc3d9e7f9b11d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/instanceof.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/instanceof.js @@ -5,6 +5,4 @@ function _instanceof(left, right) { return left instanceof right; } } - -module.exports = _instanceof; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _instanceof, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/interopRequireDefault.js b/packages/next/src/compiled/@babel/runtime/helpers/interopRequireDefault.js index 6a2136859bad1..429b270d637f5 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/interopRequireDefault.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/interopRequireDefault.js @@ -3,6 +3,4 @@ function _interopRequireDefault(obj) { "default": obj }; } - -module.exports = _interopRequireDefault; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/interopRequireWildcard.js b/packages/next/src/compiled/@babel/runtime/helpers/interopRequireWildcard.js index d5b946ef8d639..3765dcc72dc9d 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/interopRequireWildcard.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/interopRequireWildcard.js @@ -1,5 +1,4 @@ -var _typeof = require("next/dist/compiled/@babel/runtime/helpers/typeof")["default"]; - +var _typeof = require("./typeof.js")["default"]; function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); @@ -8,31 +7,24 @@ function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } - if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { return cache.get(obj); } - var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; - if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { @@ -40,15 +32,10 @@ function _interopRequireWildcard(obj, nodeInterop) { } } } - newObj["default"] = obj; - if (cache) { cache.set(obj, newObj); } - return newObj; } - -module.exports = _interopRequireWildcard; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/isNativeFunction.js b/packages/next/src/compiled/@babel/runtime/helpers/isNativeFunction.js index 50eb8f5b022fc..ea595353b4b2f 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/isNativeFunction.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/isNativeFunction.js @@ -1,6 +1,4 @@ function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } - -module.exports = _isNativeFunction; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/isNativeReflectConstruct.js b/packages/next/src/compiled/@babel/runtime/helpers/isNativeReflectConstruct.js index 3a201a6d99476..6b4e73f02d3eb 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/isNativeReflectConstruct.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/isNativeReflectConstruct.js @@ -2,7 +2,6 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; - try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; @@ -10,6 +9,4 @@ function _isNativeReflectConstruct() { return false; } } - -module.exports = _isNativeReflectConstruct; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/iterableToArray.js b/packages/next/src/compiled/@babel/runtime/helpers/iterableToArray.js index 03f955d68ef8e..89607526d498a 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/iterableToArray.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/iterableToArray.js @@ -1,6 +1,4 @@ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } - -module.exports = _iterableToArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/iterableToArrayLimit.js b/packages/next/src/compiled/@babel/runtime/helpers/iterableToArrayLimit.js index da9cee0c4a02a..20a18351c6f03 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/iterableToArrayLimit.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/iterableToArrayLimit.js @@ -1,32 +1,28 @@ function _iterableToArrayLimit(arr, i) { - var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; - - if (_i == null) return; - var _arr = []; - var _n = true; - var _d = false; - - var _s, _e; - - try { - for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { + var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; + if (null != _i) { + var _s, + _e, + _x, + _r, + _arr = [], + _n = !0, + _d = !1; try { - if (!_n && _i["return"] != null) _i["return"](); + if (_x = (_i = _i.call(arr)).next, 0 === i) { + if (Object(_i) !== _i) return; + _n = !1; + } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); + } catch (err) { + _d = !0, _e = err; } finally { - if (_d) throw _e; + try { + if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; + } finally { + if (_d) throw _e; + } } + return _arr; } - - return _arr; } - -module.exports = _iterableToArrayLimit; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/iterableToArrayLimitLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/iterableToArrayLimitLoose.js index fb05b126e607c..c56bebdb18dbc 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/iterableToArrayLimitLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/iterableToArrayLimitLoose.js @@ -1,17 +1,10 @@ function _iterableToArrayLimitLoose(arr, i) { - var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); - - if (_i == null) return; - var _arr = []; - - for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) { - _arr.push(_step.value); - - if (i && _arr.length === i) break; + var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]); + if (null != _i) { + var _s, + _arr = []; + for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) _arr.push(_s.value); + return _arr; } - - return _arr; } - -module.exports = _iterableToArrayLimitLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _iterableToArrayLimitLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/jsx.js b/packages/next/src/compiled/@babel/runtime/helpers/jsx.js index 21ac8470f066c..8c6de76579cbb 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/jsx.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/jsx.js @@ -1,50 +1,22 @@ var REACT_ELEMENT_TYPE; - function _createRawReactElement(type, props, key, children) { - if (!REACT_ELEMENT_TYPE) { - REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; - } - - var defaultProps = type && type.defaultProps; - var childrenLength = arguments.length - 3; - - if (!props && childrenLength !== 0) { - props = { - children: void 0 - }; - } - - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = new Array(childrenLength); - - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 3]; - } - + REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol["for"] && Symbol["for"]("react.element") || 60103); + var defaultProps = type && type.defaultProps, + childrenLength = arguments.length - 3; + if (props || 0 === childrenLength || (props = { + children: void 0 + }), 1 === childrenLength) props.children = children;else if (childrenLength > 1) { + for (var childArray = new Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 3]; props.children = childArray; } - - if (props && defaultProps) { - for (var propName in defaultProps) { - if (props[propName] === void 0) { - props[propName] = defaultProps[propName]; - } - } - } else if (!props) { - props = defaultProps || {}; - } - + if (props && defaultProps) for (var propName in defaultProps) void 0 === props[propName] && (props[propName] = defaultProps[propName]);else props || (props = defaultProps || {}); return { $$typeof: REACT_ELEMENT_TYPE, type: type, - key: key === undefined ? null : "" + key, + key: void 0 === key ? null : "" + key, ref: null, props: props, _owner: null }; } - -module.exports = _createRawReactElement; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _createRawReactElement, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/maybeArrayLike.js b/packages/next/src/compiled/@babel/runtime/helpers/maybeArrayLike.js index 3ab618be0aad8..5d0009759b28a 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/maybeArrayLike.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/maybeArrayLike.js @@ -1,13 +1,9 @@ var arrayLikeToArray = require("./arrayLikeToArray.js"); - function _maybeArrayLike(next, arr, i) { if (arr && !Array.isArray(arr) && typeof arr.length === "number") { var len = arr.length; return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); } - return next(arr, i); } - -module.exports = _maybeArrayLike; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _maybeArrayLike, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/newArrowCheck.js b/packages/next/src/compiled/@babel/runtime/helpers/newArrowCheck.js index 8d7570b6a611c..9c680c8d4940e 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/newArrowCheck.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/newArrowCheck.js @@ -3,6 +3,4 @@ function _newArrowCheck(innerThis, boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } - -module.exports = _newArrowCheck; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _newArrowCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/nonIterableRest.js b/packages/next/src/compiled/@babel/runtime/helpers/nonIterableRest.js index 22be4f53763a1..95265ba32fd12 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/nonIterableRest.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/nonIterableRest.js @@ -1,6 +1,4 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - -module.exports = _nonIterableRest; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/nonIterableSpread.js b/packages/next/src/compiled/@babel/runtime/helpers/nonIterableSpread.js index 4ba722d09a587..3fcf23f04315e 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/nonIterableSpread.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/nonIterableSpread.js @@ -1,6 +1,4 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - -module.exports = _nonIterableSpread; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/objectDestructuringEmpty.js b/packages/next/src/compiled/@babel/runtime/helpers/objectDestructuringEmpty.js index 1bb88acd73f8a..5b405e00a7846 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/objectDestructuringEmpty.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/objectDestructuringEmpty.js @@ -1,6 +1,4 @@ function _objectDestructuringEmpty(obj) { - if (obj == null) throw new TypeError("Cannot destructure undefined"); + if (obj == null) throw new TypeError("Cannot destructure " + obj); } - -module.exports = _objectDestructuringEmpty; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _objectDestructuringEmpty, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/objectSpread.js b/packages/next/src/compiled/@babel/runtime/helpers/objectSpread.js index 6b340b44045b4..f3934031703bd 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/objectSpread.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/objectSpread.js @@ -1,23 +1,17 @@ var defineProperty = require("./defineProperty.js"); - function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); - if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } - ownKeys.forEach(function (key) { defineProperty(target, key, source[key]); }); } - return target; } - -module.exports = _objectSpread; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _objectSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/objectSpread2.js b/packages/next/src/compiled/@babel/runtime/helpers/objectSpread2.js index 337d30e51059b..214f9e044e421 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/objectSpread2.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/objectSpread2.js @@ -1,42 +1,23 @@ var defineProperty = require("./defineProperty.js"); - function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); - if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); - - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } - - keys.push.apply(keys, symbols); + enumerableOnly && (symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + })), keys.push.apply(keys, symbols); } - return keys; } - function _objectSpread2(target) { for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } + var source = null != arguments[i] ? arguments[i] : {}; + i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { + defineProperty(target, key, source[key]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); } - return target; } - -module.exports = _objectSpread2; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/objectWithoutProperties.js b/packages/next/src/compiled/@babel/runtime/helpers/objectWithoutProperties.js index c000db73cf577..cf526bc8940aa 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/objectWithoutProperties.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/objectWithoutProperties.js @@ -1,13 +1,10 @@ var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose.js"); - function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = objectWithoutPropertiesLoose(source, excluded); var key, i; - if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; @@ -15,9 +12,6 @@ function _objectWithoutProperties(source, excluded) { target[key] = source[key]; } } - return target; } - -module.exports = _objectWithoutProperties; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/objectWithoutPropertiesLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/objectWithoutPropertiesLoose.js index d9a73de0a3fd9..3c65a9db60e27 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/objectWithoutPropertiesLoose.js @@ -3,15 +3,11 @@ function _objectWithoutPropertiesLoose(source, excluded) { 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; } - -module.exports = _objectWithoutPropertiesLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/possibleConstructorReturn.js b/packages/next/src/compiled/@babel/runtime/helpers/possibleConstructorReturn.js index ce7c427f1645b..b2424b0004977 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/possibleConstructorReturn.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/possibleConstructorReturn.js @@ -1,16 +1,11 @@ -var _typeof = require("next/dist/compiled/@babel/runtime/helpers/typeof")["default"]; - +var _typeof = require("./typeof.js")["default"]; var assertThisInitialized = require("./assertThisInitialized.js"); - function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } - return assertThisInitialized(self); } - -module.exports = _possibleConstructorReturn; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/readOnlyError.js b/packages/next/src/compiled/@babel/runtime/helpers/readOnlyError.js index e805f89c088f1..6637a0e08ba86 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/readOnlyError.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/readOnlyError.js @@ -1,6 +1,4 @@ function _readOnlyError(name) { throw new TypeError("\"" + name + "\" is read-only"); } - -module.exports = _readOnlyError; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/regeneratorRuntime.js b/packages/next/src/compiled/@babel/runtime/helpers/regeneratorRuntime.js new file mode 100644 index 0000000000000..541dfe0a185c1 --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/regeneratorRuntime.js @@ -0,0 +1,304 @@ +var _typeof = require("./typeof.js")["default"]; +function _regeneratorRuntime() { + "use strict"; /*! next/dist/compiled/regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ + module.exports = _regeneratorRuntime = function _regeneratorRuntime() { + return exports; + }, module.exports.__esModule = true, module.exports["default"] = module.exports; + var exports = {}, + Op = Object.prototype, + hasOwn = Op.hasOwnProperty, + defineProperty = Object.defineProperty || function (obj, key, desc) { + obj[key] = desc.value; + }, + $Symbol = "function" == typeof Symbol ? Symbol : {}, + iteratorSymbol = $Symbol.iterator || "@@iterator", + asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", + toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + function define(obj, key, value) { + return Object.defineProperty(obj, key, { + value: value, + enumerable: !0, + configurable: !0, + writable: !0 + }), obj[key]; + } + try { + define({}, ""); + } catch (err) { + define = function define(obj, key, value) { + return obj[key] = value; + }; + } + function wrap(innerFn, outerFn, self, tryLocsList) { + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, + generator = Object.create(protoGenerator.prototype), + context = new Context(tryLocsList || []); + return defineProperty(generator, "_invoke", { + value: makeInvokeMethod(innerFn, self, context) + }), generator; + } + function tryCatch(fn, obj, arg) { + try { + return { + type: "normal", + arg: fn.call(obj, arg) + }; + } catch (err) { + return { + type: "throw", + arg: err + }; + } + } + exports.wrap = wrap; + var ContinueSentinel = {}; + function Generator() {} + function GeneratorFunction() {} + function GeneratorFunctionPrototype() {} + var IteratorPrototype = {}; + define(IteratorPrototype, iteratorSymbol, function () { + return this; + }); + var getProto = Object.getPrototypeOf, + NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); + var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function (method) { + define(prototype, method, function (arg) { + return this._invoke(method, arg); + }); + }); + } + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + if ("throw" !== record.type) { + var result = record.arg, + value = result.value; + return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { + invoke("next", value, resolve, reject); + }, function (err) { + invoke("throw", err, resolve, reject); + }) : PromiseImpl.resolve(value).then(function (unwrapped) { + result.value = unwrapped, resolve(result); + }, function (error) { + return invoke("throw", error, resolve, reject); + }); + } + reject(record.arg); + } + var previousPromise; + defineProperty(this, "_invoke", { + value: function value(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function (resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); + } + }); + } + function makeInvokeMethod(innerFn, self, context) { + var state = "suspendedStart"; + return function (method, arg) { + if ("executing" === state) throw new Error("Generator is already running"); + if ("completed" === state) { + if ("throw" === method) throw arg; + return doneResult(); + } + for (context.method = method, context.arg = arg;;) { + var delegate = context.delegate; + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { + if ("suspendedStart" === state) throw state = "completed", context.arg; + context.dispatchException(context.arg); + } else "return" === context.method && context.abrupt("return", context.arg); + state = "executing"; + var record = tryCatch(innerFn, self, context); + if ("normal" === record.type) { + if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; + return { + value: record.arg, + done: context.done + }; + } + "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); + } + }; + } + function maybeInvokeDelegate(delegate, context) { + var methodName = context.method, + method = delegate.iterator[methodName]; + if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; + var record = tryCatch(method, delegate.iterator, context.arg); + if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; + var info = record.arg; + return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); + } + function pushTryEntry(locs) { + var entry = { + tryLoc: locs[0] + }; + 1 in locs && (entry.catchLoc = locs[1]), 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(!0); + } + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + if (iteratorMethod) return iteratorMethod.call(iterable); + if ("function" == typeof iterable.next) return iterable; + if (!isNaN(iterable.length)) { + var i = -1, + next = function next() { + for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; + return next.value = undefined, next.done = !0, next; + }; + return next.next = next; + } + } + return { + next: doneResult + }; + } + function doneResult() { + return { + value: undefined, + done: !0 + }; + } + return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { + value: GeneratorFunctionPrototype, + configurable: !0 + }), defineProperty(GeneratorFunctionPrototype, "constructor", { + value: GeneratorFunction, + configurable: !0 + }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { + var ctor = "function" == typeof genFun && genFun.constructor; + return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); + }, exports.mark = function (genFun) { + return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; + }, exports.awrap = function (arg) { + return { + __await: arg + }; + }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { + return this; + }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { + void 0 === PromiseImpl && (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(); + }); + }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { + return this; + }), define(Gp, "toString", function () { + return "[object Generator]"; + }), exports.keys = function (val) { + var object = Object(val), + keys = []; + for (var key in object) keys.push(key); + return keys.reverse(), function next() { + for (; keys.length;) { + var key = keys.pop(); + if (key in object) return next.value = key, next.done = !1, next; + } + return next.done = !0, next; + }; + }, exports.values = values, Context.prototype = { + constructor: Context, + reset: function reset(skipTempReset) { + if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); + }, + stop: function stop() { + this.done = !0; + var rootRecord = this.tryEntries[0].completion; + if ("throw" === rootRecord.type) throw rootRecord.arg; + return this.rval; + }, + dispatchException: function dispatchException(exception) { + if (this.done) throw exception; + var context = this; + function handle(loc, caught) { + return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; + } + for (var i = this.tryEntries.length - 1; 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 < entry.catchLoc) return handle(entry.catchLoc, !0); + if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); + } else if (hasCatch) { + if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); + } else { + if (!hasFinally) throw new Error("try statement without catch or finally"); + if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); + } + } + } + }, + abrupt: function abrupt(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; + } + } + finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); + var record = finallyEntry ? finallyEntry.completion : {}; + return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); + }, + complete: function complete(record, afterLoc) { + if ("throw" === record.type) throw record.arg; + return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; + }, + finish: function finish(finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; + } + }, + "catch": function _catch(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 delegateYield(iterable, resultName, nextLoc) { + return this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }, "next" === this.method && (this.arg = undefined), ContinueSentinel; + } + }, exports; +} +module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/set.js b/packages/next/src/compiled/@babel/runtime/helpers/set.js index b7d184dc5430c..e1356241b8a3f 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/set.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/set.js @@ -1,7 +1,5 @@ var superPropBase = require("./superPropBase.js"); - var defineProperty = require("./defineProperty.js"); - function set(target, property, value, receiver) { if (typeof Reflect !== "undefined" && Reflect.set) { set = Reflect.set; @@ -9,10 +7,8 @@ function set(target, property, value, receiver) { set = function set(target, property, value, receiver) { var base = superPropBase(target, property); var desc; - if (base) { desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.set) { desc.set.call(receiver, value); return true; @@ -20,36 +16,26 @@ function set(target, property, value, receiver) { return false; } } - desc = Object.getOwnPropertyDescriptor(receiver, property); - if (desc) { if (!desc.writable) { return false; } - desc.value = value; Object.defineProperty(receiver, property, desc); } else { defineProperty(receiver, property, value); } - return true; }; } - return set(target, property, value, receiver); } - function _set(target, property, value, receiver, isStrict) { var s = set(target, property, value, receiver || target); - if (!s && isStrict) { - throw new Error('failed to set property'); + throw new TypeError('failed to set property'); } - return value; } - -module.exports = _set; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _set, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/setPrototypeOf.js b/packages/next/src/compiled/@babel/runtime/helpers/setPrototypeOf.js index 415797b3a037d..e0d8b5183bdb3 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/setPrototypeOf.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/setPrototypeOf.js @@ -1,12 +1,8 @@ function _setPrototypeOf(o, p) { - module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; - }; - - module.exports["default"] = module.exports, module.exports.__esModule = true; + }, module.exports.__esModule = true, module.exports["default"] = module.exports; return _setPrototypeOf(o, p); } - -module.exports = _setPrototypeOf; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/skipFirstGeneratorNext.js b/packages/next/src/compiled/@babel/runtime/helpers/skipFirstGeneratorNext.js index ed605859d3c98..ca269aad3bc24 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/skipFirstGeneratorNext.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/skipFirstGeneratorNext.js @@ -5,6 +5,4 @@ function _skipFirstGeneratorNext(fn) { return it; }; } - -module.exports = _skipFirstGeneratorNext; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _skipFirstGeneratorNext, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/slicedToArray.js b/packages/next/src/compiled/@babel/runtime/helpers/slicedToArray.js index 101f404b1756c..534b61aac1317 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/slicedToArray.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/slicedToArray.js @@ -1,14 +1,8 @@ var arrayWithHoles = require("./arrayWithHoles.js"); - var iterableToArrayLimit = require("./iterableToArrayLimit.js"); - var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); - var nonIterableRest = require("./nonIterableRest.js"); - function _slicedToArray(arr, i) { return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); } - -module.exports = _slicedToArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/slicedToArrayLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/slicedToArrayLoose.js index 188db631de237..b1989b48976d0 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/slicedToArrayLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/slicedToArrayLoose.js @@ -1,14 +1,8 @@ var arrayWithHoles = require("./arrayWithHoles.js"); - var iterableToArrayLimitLoose = require("./iterableToArrayLimitLoose.js"); - var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); - var nonIterableRest = require("./nonIterableRest.js"); - function _slicedToArrayLoose(arr, i) { return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); } - -module.exports = _slicedToArrayLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _slicedToArrayLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/superPropBase.js b/packages/next/src/compiled/@babel/runtime/helpers/superPropBase.js index ce12a88617c47..e43a029389e54 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/superPropBase.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/superPropBase.js @@ -1,13 +1,9 @@ var getPrototypeOf = require("./getPrototypeOf.js"); - function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = getPrototypeOf(object); if (object === null) break; } - return object; } - -module.exports = _superPropBase; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/taggedTemplateLiteral.js b/packages/next/src/compiled/@babel/runtime/helpers/taggedTemplateLiteral.js index 1a524b387fc4a..1ab0e7a21a856 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/taggedTemplateLiteral.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/taggedTemplateLiteral.js @@ -2,13 +2,10 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } - return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -module.exports = _taggedTemplateLiteral; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/taggedTemplateLiteralLoose.js b/packages/next/src/compiled/@babel/runtime/helpers/taggedTemplateLiteralLoose.js index ab78e62fd29f5..904e1a7d0945a 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/taggedTemplateLiteralLoose.js @@ -2,10 +2,7 @@ function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } - strings.raw = raw; return strings; } - -module.exports = _taggedTemplateLiteralLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _taggedTemplateLiteralLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/tdz.js b/packages/next/src/compiled/@babel/runtime/helpers/tdz.js index a5b35a6b6bbe9..0641c76da07c8 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/tdz.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/tdz.js @@ -1,6 +1,4 @@ function _tdzError(name) { throw new ReferenceError(name + " is not defined - temporal dead zone"); } - -module.exports = _tdzError; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _tdzError, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/temporalRef.js b/packages/next/src/compiled/@babel/runtime/helpers/temporalRef.js index d4e9460656bbb..a9be53d283ce5 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/temporalRef.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/temporalRef.js @@ -1,10 +1,6 @@ var temporalUndefined = require("./temporalUndefined.js"); - var tdz = require("./tdz.js"); - function _temporalRef(val, name) { return val === temporalUndefined ? tdz(name) : val; } - -module.exports = _temporalRef; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _temporalRef, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/temporalUndefined.js b/packages/next/src/compiled/@babel/runtime/helpers/temporalUndefined.js index aeae645a0fdaf..f8def80021dbb 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/temporalUndefined.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/temporalUndefined.js @@ -1,4 +1,2 @@ function _temporalUndefined() {} - -module.exports = _temporalUndefined; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _temporalUndefined, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/toArray.js b/packages/next/src/compiled/@babel/runtime/helpers/toArray.js index 3b911bda31044..5c808c2e8a3ae 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/toArray.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/toArray.js @@ -1,14 +1,8 @@ var arrayWithHoles = require("./arrayWithHoles.js"); - var iterableToArray = require("./iterableToArray.js"); - var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); - var nonIterableRest = require("./nonIterableRest.js"); - function _toArray(arr) { return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); } - -module.exports = _toArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/toConsumableArray.js b/packages/next/src/compiled/@babel/runtime/helpers/toConsumableArray.js index f084cd1bcda0e..547c6c444d06b 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/toConsumableArray.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/toConsumableArray.js @@ -1,14 +1,8 @@ var arrayWithoutHoles = require("./arrayWithoutHoles.js"); - var iterableToArray = require("./iterableToArray.js"); - var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); - var nonIterableSpread = require("./nonIterableSpread.js"); - function _toConsumableArray(arr) { return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); } - -module.exports = _toConsumableArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/toPrimitive.js b/packages/next/src/compiled/@babel/runtime/helpers/toPrimitive.js index 78cf9f7598164..adf63bb5f1e46 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/toPrimitive.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/toPrimitive.js @@ -1,17 +1,12 @@ -var _typeof = require("next/dist/compiled/@babel/runtime/helpers/typeof")["default"]; - +var _typeof = require("./typeof.js")["default"]; function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } - return (hint === "string" ? String : Number)(input); } - -module.exports = _toPrimitive; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/toPropertyKey.js b/packages/next/src/compiled/@babel/runtime/helpers/toPropertyKey.js index 56ca27793aea6..320bb2b9d77ea 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/toPropertyKey.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/toPropertyKey.js @@ -1,11 +1,7 @@ -var _typeof = require("next/dist/compiled/@babel/runtime/helpers/typeof")["default"]; - +var _typeof = require("./typeof.js")["default"]; var toPrimitive = require("./toPrimitive.js"); - function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } - -module.exports = _toPropertyKey; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/typeof.js b/packages/next/src/compiled/@babel/runtime/helpers/typeof.js index 02a5d8a8c564e..aa88477c91f03 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/typeof.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/typeof.js @@ -1,22 +1,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - module.exports = _typeof = function _typeof(obj) { - return typeof obj; - }; - - module.exports["default"] = module.exports, module.exports.__esModule = true; - } else { - module.exports = _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }; - - module.exports["default"] = module.exports, module.exports.__esModule = true; - } - - return _typeof(obj); + return (module.exports = _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; + }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj); } - -module.exports = _typeof; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/unsupportedIterableToArray.js b/packages/next/src/compiled/@babel/runtime/helpers/unsupportedIterableToArray.js index 11bca7b566113..b7d18c6a25a5f 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/unsupportedIterableToArray.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/unsupportedIterableToArray.js @@ -1,5 +1,4 @@ var arrayLikeToArray = require("./arrayLikeToArray.js"); - function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return arrayLikeToArray(o, minLen); @@ -8,6 +7,4 @@ function _unsupportedIterableToArray(o, minLen) { if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } - -module.exports = _unsupportedIterableToArray; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/using.js b/packages/next/src/compiled/@babel/runtime/helpers/using.js new file mode 100644 index 0000000000000..de3fcc3d81b2d --- /dev/null +++ b/packages/next/src/compiled/@babel/runtime/helpers/using.js @@ -0,0 +1,13 @@ +var _typeof = require("./typeof.js")["default"]; +function _using(stack, value, isAwait) { + if (null == value) return value; + if ("object" != _typeof(value)) throw new TypeError("using decarations can only be used with objects, null, or undefined."); + if (isAwait) var dispose = value[Symbol.asyncDispose || Symbol["for"]("Symbol.asyncDispose")]; + if (null == dispose && (dispose = value[Symbol.dispose || Symbol["for"]("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function."); + return stack.push({ + v: value, + d: dispose, + a: isAwait + }), value; +} +module.exports = _using, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/wrapAsyncGenerator.js b/packages/next/src/compiled/@babel/runtime/helpers/wrapAsyncGenerator.js index 057cd196b8735..a62dcf0282712 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/wrapAsyncGenerator.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/wrapAsyncGenerator.js @@ -1,10 +1,7 @@ var AsyncGenerator = require("./AsyncGenerator.js"); - function _wrapAsyncGenerator(fn) { return function () { return new AsyncGenerator(fn.apply(this, arguments)); }; } - -module.exports = _wrapAsyncGenerator; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _wrapAsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/wrapNativeSuper.js b/packages/next/src/compiled/@babel/runtime/helpers/wrapNativeSuper.js index 981c8dd4e04db..b6ea60c64d28b 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/wrapNativeSuper.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/wrapNativeSuper.js @@ -1,31 +1,21 @@ var getPrototypeOf = require("./getPrototypeOf.js"); - var setPrototypeOf = require("./setPrototypeOf.js"); - var isNativeFunction = require("./isNativeFunction.js"); - var construct = require("./construct.js"); - function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; - module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !isNativeFunction(Class)) return Class; - if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } - if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); - _cache.set(Class, Wrapper); } - function Wrapper() { return construct(Class, arguments, getPrototypeOf(this).constructor); } - Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, @@ -35,11 +25,7 @@ function _wrapNativeSuper(Class) { } }); return setPrototypeOf(Wrapper, Class); - }; - - module.exports["default"] = module.exports, module.exports.__esModule = true; + }, module.exports.__esModule = true, module.exports["default"] = module.exports; return _wrapNativeSuper(Class); } - -module.exports = _wrapNativeSuper; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/wrapRegExp.js b/packages/next/src/compiled/@babel/runtime/helpers/wrapRegExp.js index 435b97edb8249..da710f8353b27 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/wrapRegExp.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/wrapRegExp.js @@ -1,72 +1,51 @@ -var _typeof = require("next/dist/compiled/@babel/runtime/helpers/typeof")["default"]; - +var _typeof = require("./typeof.js")["default"]; var setPrototypeOf = require("./setPrototypeOf.js"); - var inherits = require("./inherits.js"); - function _wrapRegExp() { module.exports = _wrapRegExp = function _wrapRegExp(re, groups) { - return new BabelRegExp(re, undefined, groups); - }; - - module.exports["default"] = module.exports, module.exports.__esModule = true; - var _super = RegExp.prototype; - - var _groups = new WeakMap(); - + return new BabelRegExp(re, void 0, groups); + }, module.exports.__esModule = true, module.exports["default"] = module.exports; + var _super = RegExp.prototype, + _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); - - _groups.set(_this, groups || _groups.get(re)); - - return setPrototypeOf(_this, BabelRegExp.prototype); + return _groups.set(_this, groups || _groups.get(re)), setPrototypeOf(_this, BabelRegExp.prototype); } - - inherits(BabelRegExp, RegExp); - - BabelRegExp.prototype.exec = function (str) { + function buildGroups(result, re) { + var g = _groups.get(re); + return Object.keys(g).reduce(function (groups, name) { + var i = g[name]; + if ("number" == typeof i) groups[name] = result[i];else { + for (var k = 0; void 0 === result[i[k]] && k + 1 < i.length;) k++; + groups[name] = result[i[k]]; + } + return groups; + }, Object.create(null)); + } + return inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); - - if (result) result.groups = buildGroups(result, this); + if (result) { + result.groups = buildGroups(result, this); + var indices = result.indices; + indices && (indices.groups = buildGroups(indices, this)); + } return result; - }; - - BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { - if (typeof substitution === "string") { + }, 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]; + var group = groups[name]; + return "$" + (Array.isArray(group) ? group.join("$") : group); })); - } else if (typeof substitution === "function") { + } + if ("function" == typeof substitution) { var _this = this; - return _super[Symbol.replace].call(this, str, function () { var args = arguments; - - if (_typeof(args[args.length - 1]) !== "object") { - args = [].slice.call(args); - args.push(buildGroups(args, _this)); - } - - return substitution.apply(this, args); + return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); }); - } else { - return _super[Symbol.replace].call(this, str, substitution); } - }; - - function buildGroups(result, re) { - var g = _groups.get(re); - - return Object.keys(g).reduce(function (groups, name) { - groups[name] = result[g[name]]; - return groups; - }, Object.create(null)); - } - - return _wrapRegExp.apply(this, arguments); + return _super[Symbol.replace].call(this, str, substitution); + }, _wrapRegExp.apply(this, arguments); } - -module.exports = _wrapRegExp; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _wrapRegExp, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/helpers/writeOnlyError.js b/packages/next/src/compiled/@babel/runtime/helpers/writeOnlyError.js index 6751a74d58c8d..c66c6f29d51fd 100644 --- a/packages/next/src/compiled/@babel/runtime/helpers/writeOnlyError.js +++ b/packages/next/src/compiled/@babel/runtime/helpers/writeOnlyError.js @@ -1,6 +1,4 @@ function _writeOnlyError(name) { throw new TypeError("\"" + name + "\" is write-only"); } - -module.exports = _writeOnlyError; -module.exports["default"] = module.exports, module.exports.__esModule = true; \ No newline at end of file +module.exports = _writeOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/package.json b/packages/next/src/compiled/@babel/runtime/package.json index 4e0c51745e156..7b6bb48d6a76f 100644 --- a/packages/next/src/compiled/@babel/runtime/package.json +++ b/packages/next/src/compiled/@babel/runtime/package.json @@ -1 +1 @@ -{"name":"@babel/runtime","version":"7.15.4","description":"babel's modular runtime helpers","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-runtime"},"homepage":"https://babel.dev/docs/en/next/babel-runtime","author":"The Babel Team (https://babel.dev/team)","dependencies":{},"exports":{"./helpers/jsx":[{"node":"./helpers/jsx.js","import":"./helpers/esm/jsx.js","default":"./helpers/jsx.js"},"./helpers/jsx.js"],"./helpers/esm/jsx":"./helpers/esm/jsx.js","./helpers/objectSpread2":[{"node":"./helpers/objectSpread2.js","import":"./helpers/esm/objectSpread2.js","default":"./helpers/objectSpread2.js"},"./helpers/objectSpread2.js"],"./helpers/esm/objectSpread2":"./helpers/esm/objectSpread2.js","./helpers/typeof":[{"node":"./helpers/typeof.js","import":"./helpers/esm/typeof.js","default":"./helpers/typeof.js"},"./helpers/typeof.js"],"./helpers/esm/typeof":"./helpers/esm/typeof.js","./helpers/wrapRegExp":[{"node":"./helpers/wrapRegExp.js","import":"./helpers/esm/wrapRegExp.js","default":"./helpers/wrapRegExp.js"},"./helpers/wrapRegExp.js"],"./helpers/esm/wrapRegExp":"./helpers/esm/wrapRegExp.js","./helpers/asyncIterator":[{"node":"./helpers/asyncIterator.js","import":"./helpers/esm/asyncIterator.js","default":"./helpers/asyncIterator.js"},"./helpers/asyncIterator.js"],"./helpers/esm/asyncIterator":"./helpers/esm/asyncIterator.js","./helpers/AwaitValue":[{"node":"./helpers/AwaitValue.js","import":"./helpers/esm/AwaitValue.js","default":"./helpers/AwaitValue.js"},"./helpers/AwaitValue.js"],"./helpers/esm/AwaitValue":"./helpers/esm/AwaitValue.js","./helpers/AsyncGenerator":[{"node":"./helpers/AsyncGenerator.js","import":"./helpers/esm/AsyncGenerator.js","default":"./helpers/AsyncGenerator.js"},"./helpers/AsyncGenerator.js"],"./helpers/esm/AsyncGenerator":"./helpers/esm/AsyncGenerator.js","./helpers/wrapAsyncGenerator":[{"node":"./helpers/wrapAsyncGenerator.js","import":"./helpers/esm/wrapAsyncGenerator.js","default":"./helpers/wrapAsyncGenerator.js"},"./helpers/wrapAsyncGenerator.js"],"./helpers/esm/wrapAsyncGenerator":"./helpers/esm/wrapAsyncGenerator.js","./helpers/awaitAsyncGenerator":[{"node":"./helpers/awaitAsyncGenerator.js","import":"./helpers/esm/awaitAsyncGenerator.js","default":"./helpers/awaitAsyncGenerator.js"},"./helpers/awaitAsyncGenerator.js"],"./helpers/esm/awaitAsyncGenerator":"./helpers/esm/awaitAsyncGenerator.js","./helpers/asyncGeneratorDelegate":[{"node":"./helpers/asyncGeneratorDelegate.js","import":"./helpers/esm/asyncGeneratorDelegate.js","default":"./helpers/asyncGeneratorDelegate.js"},"./helpers/asyncGeneratorDelegate.js"],"./helpers/esm/asyncGeneratorDelegate":"./helpers/esm/asyncGeneratorDelegate.js","./helpers/asyncToGenerator":[{"node":"./helpers/asyncToGenerator.js","import":"./helpers/esm/asyncToGenerator.js","default":"./helpers/asyncToGenerator.js"},"./helpers/asyncToGenerator.js"],"./helpers/esm/asyncToGenerator":"./helpers/esm/asyncToGenerator.js","./helpers/classCallCheck":[{"node":"./helpers/classCallCheck.js","import":"./helpers/esm/classCallCheck.js","default":"./helpers/classCallCheck.js"},"./helpers/classCallCheck.js"],"./helpers/esm/classCallCheck":"./helpers/esm/classCallCheck.js","./helpers/createClass":[{"node":"./helpers/createClass.js","import":"./helpers/esm/createClass.js","default":"./helpers/createClass.js"},"./helpers/createClass.js"],"./helpers/esm/createClass":"./helpers/esm/createClass.js","./helpers/defineEnumerableProperties":[{"node":"./helpers/defineEnumerableProperties.js","import":"./helpers/esm/defineEnumerableProperties.js","default":"./helpers/defineEnumerableProperties.js"},"./helpers/defineEnumerableProperties.js"],"./helpers/esm/defineEnumerableProperties":"./helpers/esm/defineEnumerableProperties.js","./helpers/defaults":[{"node":"./helpers/defaults.js","import":"./helpers/esm/defaults.js","default":"./helpers/defaults.js"},"./helpers/defaults.js"],"./helpers/esm/defaults":"./helpers/esm/defaults.js","./helpers/defineProperty":[{"node":"./helpers/defineProperty.js","import":"./helpers/esm/defineProperty.js","default":"./helpers/defineProperty.js"},"./helpers/defineProperty.js"],"./helpers/esm/defineProperty":"./helpers/esm/defineProperty.js","./helpers/extends":[{"node":"./helpers/extends.js","import":"./helpers/esm/extends.js","default":"./helpers/extends.js"},"./helpers/extends.js"],"./helpers/esm/extends":"./helpers/esm/extends.js","./helpers/objectSpread":[{"node":"./helpers/objectSpread.js","import":"./helpers/esm/objectSpread.js","default":"./helpers/objectSpread.js"},"./helpers/objectSpread.js"],"./helpers/esm/objectSpread":"./helpers/esm/objectSpread.js","./helpers/inherits":[{"node":"./helpers/inherits.js","import":"./helpers/esm/inherits.js","default":"./helpers/inherits.js"},"./helpers/inherits.js"],"./helpers/esm/inherits":"./helpers/esm/inherits.js","./helpers/inheritsLoose":[{"node":"./helpers/inheritsLoose.js","import":"./helpers/esm/inheritsLoose.js","default":"./helpers/inheritsLoose.js"},"./helpers/inheritsLoose.js"],"./helpers/esm/inheritsLoose":"./helpers/esm/inheritsLoose.js","./helpers/getPrototypeOf":[{"node":"./helpers/getPrototypeOf.js","import":"./helpers/esm/getPrototypeOf.js","default":"./helpers/getPrototypeOf.js"},"./helpers/getPrototypeOf.js"],"./helpers/esm/getPrototypeOf":"./helpers/esm/getPrototypeOf.js","./helpers/setPrototypeOf":[{"node":"./helpers/setPrototypeOf.js","import":"./helpers/esm/setPrototypeOf.js","default":"./helpers/setPrototypeOf.js"},"./helpers/setPrototypeOf.js"],"./helpers/esm/setPrototypeOf":"./helpers/esm/setPrototypeOf.js","./helpers/isNativeReflectConstruct":[{"node":"./helpers/isNativeReflectConstruct.js","import":"./helpers/esm/isNativeReflectConstruct.js","default":"./helpers/isNativeReflectConstruct.js"},"./helpers/isNativeReflectConstruct.js"],"./helpers/esm/isNativeReflectConstruct":"./helpers/esm/isNativeReflectConstruct.js","./helpers/construct":[{"node":"./helpers/construct.js","import":"./helpers/esm/construct.js","default":"./helpers/construct.js"},"./helpers/construct.js"],"./helpers/esm/construct":"./helpers/esm/construct.js","./helpers/isNativeFunction":[{"node":"./helpers/isNativeFunction.js","import":"./helpers/esm/isNativeFunction.js","default":"./helpers/isNativeFunction.js"},"./helpers/isNativeFunction.js"],"./helpers/esm/isNativeFunction":"./helpers/esm/isNativeFunction.js","./helpers/wrapNativeSuper":[{"node":"./helpers/wrapNativeSuper.js","import":"./helpers/esm/wrapNativeSuper.js","default":"./helpers/wrapNativeSuper.js"},"./helpers/wrapNativeSuper.js"],"./helpers/esm/wrapNativeSuper":"./helpers/esm/wrapNativeSuper.js","./helpers/instanceof":[{"node":"./helpers/instanceof.js","import":"./helpers/esm/instanceof.js","default":"./helpers/instanceof.js"},"./helpers/instanceof.js"],"./helpers/esm/instanceof":"./helpers/esm/instanceof.js","./helpers/interopRequireDefault":[{"node":"./helpers/interopRequireDefault.js","import":"./helpers/esm/interopRequireDefault.js","default":"./helpers/interopRequireDefault.js"},"./helpers/interopRequireDefault.js"],"./helpers/esm/interopRequireDefault":"./helpers/esm/interopRequireDefault.js","./helpers/interopRequireWildcard":[{"node":"./helpers/interopRequireWildcard.js","import":"./helpers/esm/interopRequireWildcard.js","default":"./helpers/interopRequireWildcard.js"},"./helpers/interopRequireWildcard.js"],"./helpers/esm/interopRequireWildcard":"./helpers/esm/interopRequireWildcard.js","./helpers/newArrowCheck":[{"node":"./helpers/newArrowCheck.js","import":"./helpers/esm/newArrowCheck.js","default":"./helpers/newArrowCheck.js"},"./helpers/newArrowCheck.js"],"./helpers/esm/newArrowCheck":"./helpers/esm/newArrowCheck.js","./helpers/objectDestructuringEmpty":[{"node":"./helpers/objectDestructuringEmpty.js","import":"./helpers/esm/objectDestructuringEmpty.js","default":"./helpers/objectDestructuringEmpty.js"},"./helpers/objectDestructuringEmpty.js"],"./helpers/esm/objectDestructuringEmpty":"./helpers/esm/objectDestructuringEmpty.js","./helpers/objectWithoutPropertiesLoose":[{"node":"./helpers/objectWithoutPropertiesLoose.js","import":"./helpers/esm/objectWithoutPropertiesLoose.js","default":"./helpers/objectWithoutPropertiesLoose.js"},"./helpers/objectWithoutPropertiesLoose.js"],"./helpers/esm/objectWithoutPropertiesLoose":"./helpers/esm/objectWithoutPropertiesLoose.js","./helpers/objectWithoutProperties":[{"node":"./helpers/objectWithoutProperties.js","import":"./helpers/esm/objectWithoutProperties.js","default":"./helpers/objectWithoutProperties.js"},"./helpers/objectWithoutProperties.js"],"./helpers/esm/objectWithoutProperties":"./helpers/esm/objectWithoutProperties.js","./helpers/assertThisInitialized":[{"node":"./helpers/assertThisInitialized.js","import":"./helpers/esm/assertThisInitialized.js","default":"./helpers/assertThisInitialized.js"},"./helpers/assertThisInitialized.js"],"./helpers/esm/assertThisInitialized":"./helpers/esm/assertThisInitialized.js","./helpers/possibleConstructorReturn":[{"node":"./helpers/possibleConstructorReturn.js","import":"./helpers/esm/possibleConstructorReturn.js","default":"./helpers/possibleConstructorReturn.js"},"./helpers/possibleConstructorReturn.js"],"./helpers/esm/possibleConstructorReturn":"./helpers/esm/possibleConstructorReturn.js","./helpers/createSuper":[{"node":"./helpers/createSuper.js","import":"./helpers/esm/createSuper.js","default":"./helpers/createSuper.js"},"./helpers/createSuper.js"],"./helpers/esm/createSuper":"./helpers/esm/createSuper.js","./helpers/superPropBase":[{"node":"./helpers/superPropBase.js","import":"./helpers/esm/superPropBase.js","default":"./helpers/superPropBase.js"},"./helpers/superPropBase.js"],"./helpers/esm/superPropBase":"./helpers/esm/superPropBase.js","./helpers/get":[{"node":"./helpers/get.js","import":"./helpers/esm/get.js","default":"./helpers/get.js"},"./helpers/get.js"],"./helpers/esm/get":"./helpers/esm/get.js","./helpers/set":[{"node":"./helpers/set.js","import":"./helpers/esm/set.js","default":"./helpers/set.js"},"./helpers/set.js"],"./helpers/esm/set":"./helpers/esm/set.js","./helpers/taggedTemplateLiteral":[{"node":"./helpers/taggedTemplateLiteral.js","import":"./helpers/esm/taggedTemplateLiteral.js","default":"./helpers/taggedTemplateLiteral.js"},"./helpers/taggedTemplateLiteral.js"],"./helpers/esm/taggedTemplateLiteral":"./helpers/esm/taggedTemplateLiteral.js","./helpers/taggedTemplateLiteralLoose":[{"node":"./helpers/taggedTemplateLiteralLoose.js","import":"./helpers/esm/taggedTemplateLiteralLoose.js","default":"./helpers/taggedTemplateLiteralLoose.js"},"./helpers/taggedTemplateLiteralLoose.js"],"./helpers/esm/taggedTemplateLiteralLoose":"./helpers/esm/taggedTemplateLiteralLoose.js","./helpers/readOnlyError":[{"node":"./helpers/readOnlyError.js","import":"./helpers/esm/readOnlyError.js","default":"./helpers/readOnlyError.js"},"./helpers/readOnlyError.js"],"./helpers/esm/readOnlyError":"./helpers/esm/readOnlyError.js","./helpers/writeOnlyError":[{"node":"./helpers/writeOnlyError.js","import":"./helpers/esm/writeOnlyError.js","default":"./helpers/writeOnlyError.js"},"./helpers/writeOnlyError.js"],"./helpers/esm/writeOnlyError":"./helpers/esm/writeOnlyError.js","./helpers/classNameTDZError":[{"node":"./helpers/classNameTDZError.js","import":"./helpers/esm/classNameTDZError.js","default":"./helpers/classNameTDZError.js"},"./helpers/classNameTDZError.js"],"./helpers/esm/classNameTDZError":"./helpers/esm/classNameTDZError.js","./helpers/temporalUndefined":[{"node":"./helpers/temporalUndefined.js","import":"./helpers/esm/temporalUndefined.js","default":"./helpers/temporalUndefined.js"},"./helpers/temporalUndefined.js"],"./helpers/esm/temporalUndefined":"./helpers/esm/temporalUndefined.js","./helpers/tdz":[{"node":"./helpers/tdz.js","import":"./helpers/esm/tdz.js","default":"./helpers/tdz.js"},"./helpers/tdz.js"],"./helpers/esm/tdz":"./helpers/esm/tdz.js","./helpers/temporalRef":[{"node":"./helpers/temporalRef.js","import":"./helpers/esm/temporalRef.js","default":"./helpers/temporalRef.js"},"./helpers/temporalRef.js"],"./helpers/esm/temporalRef":"./helpers/esm/temporalRef.js","./helpers/slicedToArray":[{"node":"./helpers/slicedToArray.js","import":"./helpers/esm/slicedToArray.js","default":"./helpers/slicedToArray.js"},"./helpers/slicedToArray.js"],"./helpers/esm/slicedToArray":"./helpers/esm/slicedToArray.js","./helpers/slicedToArrayLoose":[{"node":"./helpers/slicedToArrayLoose.js","import":"./helpers/esm/slicedToArrayLoose.js","default":"./helpers/slicedToArrayLoose.js"},"./helpers/slicedToArrayLoose.js"],"./helpers/esm/slicedToArrayLoose":"./helpers/esm/slicedToArrayLoose.js","./helpers/toArray":[{"node":"./helpers/toArray.js","import":"./helpers/esm/toArray.js","default":"./helpers/toArray.js"},"./helpers/toArray.js"],"./helpers/esm/toArray":"./helpers/esm/toArray.js","./helpers/toConsumableArray":[{"node":"./helpers/toConsumableArray.js","import":"./helpers/esm/toConsumableArray.js","default":"./helpers/toConsumableArray.js"},"./helpers/toConsumableArray.js"],"./helpers/esm/toConsumableArray":"./helpers/esm/toConsumableArray.js","./helpers/arrayWithoutHoles":[{"node":"./helpers/arrayWithoutHoles.js","import":"./helpers/esm/arrayWithoutHoles.js","default":"./helpers/arrayWithoutHoles.js"},"./helpers/arrayWithoutHoles.js"],"./helpers/esm/arrayWithoutHoles":"./helpers/esm/arrayWithoutHoles.js","./helpers/arrayWithHoles":[{"node":"./helpers/arrayWithHoles.js","import":"./helpers/esm/arrayWithHoles.js","default":"./helpers/arrayWithHoles.js"},"./helpers/arrayWithHoles.js"],"./helpers/esm/arrayWithHoles":"./helpers/esm/arrayWithHoles.js","./helpers/maybeArrayLike":[{"node":"./helpers/maybeArrayLike.js","import":"./helpers/esm/maybeArrayLike.js","default":"./helpers/maybeArrayLike.js"},"./helpers/maybeArrayLike.js"],"./helpers/esm/maybeArrayLike":"./helpers/esm/maybeArrayLike.js","./helpers/iterableToArray":[{"node":"./helpers/iterableToArray.js","import":"./helpers/esm/iterableToArray.js","default":"./helpers/iterableToArray.js"},"./helpers/iterableToArray.js"],"./helpers/esm/iterableToArray":"./helpers/esm/iterableToArray.js","./helpers/iterableToArrayLimit":[{"node":"./helpers/iterableToArrayLimit.js","import":"./helpers/esm/iterableToArrayLimit.js","default":"./helpers/iterableToArrayLimit.js"},"./helpers/iterableToArrayLimit.js"],"./helpers/esm/iterableToArrayLimit":"./helpers/esm/iterableToArrayLimit.js","./helpers/iterableToArrayLimitLoose":[{"node":"./helpers/iterableToArrayLimitLoose.js","import":"./helpers/esm/iterableToArrayLimitLoose.js","default":"./helpers/iterableToArrayLimitLoose.js"},"./helpers/iterableToArrayLimitLoose.js"],"./helpers/esm/iterableToArrayLimitLoose":"./helpers/esm/iterableToArrayLimitLoose.js","./helpers/unsupportedIterableToArray":[{"node":"./helpers/unsupportedIterableToArray.js","import":"./helpers/esm/unsupportedIterableToArray.js","default":"./helpers/unsupportedIterableToArray.js"},"./helpers/unsupportedIterableToArray.js"],"./helpers/esm/unsupportedIterableToArray":"./helpers/esm/unsupportedIterableToArray.js","./helpers/arrayLikeToArray":[{"node":"./helpers/arrayLikeToArray.js","import":"./helpers/esm/arrayLikeToArray.js","default":"./helpers/arrayLikeToArray.js"},"./helpers/arrayLikeToArray.js"],"./helpers/esm/arrayLikeToArray":"./helpers/esm/arrayLikeToArray.js","./helpers/nonIterableSpread":[{"node":"./helpers/nonIterableSpread.js","import":"./helpers/esm/nonIterableSpread.js","default":"./helpers/nonIterableSpread.js"},"./helpers/nonIterableSpread.js"],"./helpers/esm/nonIterableSpread":"./helpers/esm/nonIterableSpread.js","./helpers/nonIterableRest":[{"node":"./helpers/nonIterableRest.js","import":"./helpers/esm/nonIterableRest.js","default":"./helpers/nonIterableRest.js"},"./helpers/nonIterableRest.js"],"./helpers/esm/nonIterableRest":"./helpers/esm/nonIterableRest.js","./helpers/createForOfIteratorHelper":[{"node":"./helpers/createForOfIteratorHelper.js","import":"./helpers/esm/createForOfIteratorHelper.js","default":"./helpers/createForOfIteratorHelper.js"},"./helpers/createForOfIteratorHelper.js"],"./helpers/esm/createForOfIteratorHelper":"./helpers/esm/createForOfIteratorHelper.js","./helpers/createForOfIteratorHelperLoose":[{"node":"./helpers/createForOfIteratorHelperLoose.js","import":"./helpers/esm/createForOfIteratorHelperLoose.js","default":"./helpers/createForOfIteratorHelperLoose.js"},"./helpers/createForOfIteratorHelperLoose.js"],"./helpers/esm/createForOfIteratorHelperLoose":"./helpers/esm/createForOfIteratorHelperLoose.js","./helpers/skipFirstGeneratorNext":[{"node":"./helpers/skipFirstGeneratorNext.js","import":"./helpers/esm/skipFirstGeneratorNext.js","default":"./helpers/skipFirstGeneratorNext.js"},"./helpers/skipFirstGeneratorNext.js"],"./helpers/esm/skipFirstGeneratorNext":"./helpers/esm/skipFirstGeneratorNext.js","./helpers/toPrimitive":[{"node":"./helpers/toPrimitive.js","import":"./helpers/esm/toPrimitive.js","default":"./helpers/toPrimitive.js"},"./helpers/toPrimitive.js"],"./helpers/esm/toPrimitive":"./helpers/esm/toPrimitive.js","./helpers/toPropertyKey":[{"node":"./helpers/toPropertyKey.js","import":"./helpers/esm/toPropertyKey.js","default":"./helpers/toPropertyKey.js"},"./helpers/toPropertyKey.js"],"./helpers/esm/toPropertyKey":"./helpers/esm/toPropertyKey.js","./helpers/initializerWarningHelper":[{"node":"./helpers/initializerWarningHelper.js","import":"./helpers/esm/initializerWarningHelper.js","default":"./helpers/initializerWarningHelper.js"},"./helpers/initializerWarningHelper.js"],"./helpers/esm/initializerWarningHelper":"./helpers/esm/initializerWarningHelper.js","./helpers/initializerDefineProperty":[{"node":"./helpers/initializerDefineProperty.js","import":"./helpers/esm/initializerDefineProperty.js","default":"./helpers/initializerDefineProperty.js"},"./helpers/initializerDefineProperty.js"],"./helpers/esm/initializerDefineProperty":"./helpers/esm/initializerDefineProperty.js","./helpers/applyDecoratedDescriptor":[{"node":"./helpers/applyDecoratedDescriptor.js","import":"./helpers/esm/applyDecoratedDescriptor.js","default":"./helpers/applyDecoratedDescriptor.js"},"./helpers/applyDecoratedDescriptor.js"],"./helpers/esm/applyDecoratedDescriptor":"./helpers/esm/applyDecoratedDescriptor.js","./helpers/classPrivateFieldLooseKey":[{"node":"./helpers/classPrivateFieldLooseKey.js","import":"./helpers/esm/classPrivateFieldLooseKey.js","default":"./helpers/classPrivateFieldLooseKey.js"},"./helpers/classPrivateFieldLooseKey.js"],"./helpers/esm/classPrivateFieldLooseKey":"./helpers/esm/classPrivateFieldLooseKey.js","./helpers/classPrivateFieldLooseBase":[{"node":"./helpers/classPrivateFieldLooseBase.js","import":"./helpers/esm/classPrivateFieldLooseBase.js","default":"./helpers/classPrivateFieldLooseBase.js"},"./helpers/classPrivateFieldLooseBase.js"],"./helpers/esm/classPrivateFieldLooseBase":"./helpers/esm/classPrivateFieldLooseBase.js","./helpers/classPrivateFieldGet":[{"node":"./helpers/classPrivateFieldGet.js","import":"./helpers/esm/classPrivateFieldGet.js","default":"./helpers/classPrivateFieldGet.js"},"./helpers/classPrivateFieldGet.js"],"./helpers/esm/classPrivateFieldGet":"./helpers/esm/classPrivateFieldGet.js","./helpers/classPrivateFieldSet":[{"node":"./helpers/classPrivateFieldSet.js","import":"./helpers/esm/classPrivateFieldSet.js","default":"./helpers/classPrivateFieldSet.js"},"./helpers/classPrivateFieldSet.js"],"./helpers/esm/classPrivateFieldSet":"./helpers/esm/classPrivateFieldSet.js","./helpers/classPrivateFieldDestructureSet":[{"node":"./helpers/classPrivateFieldDestructureSet.js","import":"./helpers/esm/classPrivateFieldDestructureSet.js","default":"./helpers/classPrivateFieldDestructureSet.js"},"./helpers/classPrivateFieldDestructureSet.js"],"./helpers/esm/classPrivateFieldDestructureSet":"./helpers/esm/classPrivateFieldDestructureSet.js","./helpers/classExtractFieldDescriptor":[{"node":"./helpers/classExtractFieldDescriptor.js","import":"./helpers/esm/classExtractFieldDescriptor.js","default":"./helpers/classExtractFieldDescriptor.js"},"./helpers/classExtractFieldDescriptor.js"],"./helpers/esm/classExtractFieldDescriptor":"./helpers/esm/classExtractFieldDescriptor.js","./helpers/classStaticPrivateFieldSpecGet":[{"node":"./helpers/classStaticPrivateFieldSpecGet.js","import":"./helpers/esm/classStaticPrivateFieldSpecGet.js","default":"./helpers/classStaticPrivateFieldSpecGet.js"},"./helpers/classStaticPrivateFieldSpecGet.js"],"./helpers/esm/classStaticPrivateFieldSpecGet":"./helpers/esm/classStaticPrivateFieldSpecGet.js","./helpers/classStaticPrivateFieldSpecSet":[{"node":"./helpers/classStaticPrivateFieldSpecSet.js","import":"./helpers/esm/classStaticPrivateFieldSpecSet.js","default":"./helpers/classStaticPrivateFieldSpecSet.js"},"./helpers/classStaticPrivateFieldSpecSet.js"],"./helpers/esm/classStaticPrivateFieldSpecSet":"./helpers/esm/classStaticPrivateFieldSpecSet.js","./helpers/classStaticPrivateMethodGet":[{"node":"./helpers/classStaticPrivateMethodGet.js","import":"./helpers/esm/classStaticPrivateMethodGet.js","default":"./helpers/classStaticPrivateMethodGet.js"},"./helpers/classStaticPrivateMethodGet.js"],"./helpers/esm/classStaticPrivateMethodGet":"./helpers/esm/classStaticPrivateMethodGet.js","./helpers/classStaticPrivateMethodSet":[{"node":"./helpers/classStaticPrivateMethodSet.js","import":"./helpers/esm/classStaticPrivateMethodSet.js","default":"./helpers/classStaticPrivateMethodSet.js"},"./helpers/classStaticPrivateMethodSet.js"],"./helpers/esm/classStaticPrivateMethodSet":"./helpers/esm/classStaticPrivateMethodSet.js","./helpers/classApplyDescriptorGet":[{"node":"./helpers/classApplyDescriptorGet.js","import":"./helpers/esm/classApplyDescriptorGet.js","default":"./helpers/classApplyDescriptorGet.js"},"./helpers/classApplyDescriptorGet.js"],"./helpers/esm/classApplyDescriptorGet":"./helpers/esm/classApplyDescriptorGet.js","./helpers/classApplyDescriptorSet":[{"node":"./helpers/classApplyDescriptorSet.js","import":"./helpers/esm/classApplyDescriptorSet.js","default":"./helpers/classApplyDescriptorSet.js"},"./helpers/classApplyDescriptorSet.js"],"./helpers/esm/classApplyDescriptorSet":"./helpers/esm/classApplyDescriptorSet.js","./helpers/classApplyDescriptorDestructureSet":[{"node":"./helpers/classApplyDescriptorDestructureSet.js","import":"./helpers/esm/classApplyDescriptorDestructureSet.js","default":"./helpers/classApplyDescriptorDestructureSet.js"},"./helpers/classApplyDescriptorDestructureSet.js"],"./helpers/esm/classApplyDescriptorDestructureSet":"./helpers/esm/classApplyDescriptorDestructureSet.js","./helpers/classStaticPrivateFieldDestructureSet":[{"node":"./helpers/classStaticPrivateFieldDestructureSet.js","import":"./helpers/esm/classStaticPrivateFieldDestructureSet.js","default":"./helpers/classStaticPrivateFieldDestructureSet.js"},"./helpers/classStaticPrivateFieldDestructureSet.js"],"./helpers/esm/classStaticPrivateFieldDestructureSet":"./helpers/esm/classStaticPrivateFieldDestructureSet.js","./helpers/classCheckPrivateStaticAccess":[{"node":"./helpers/classCheckPrivateStaticAccess.js","import":"./helpers/esm/classCheckPrivateStaticAccess.js","default":"./helpers/classCheckPrivateStaticAccess.js"},"./helpers/classCheckPrivateStaticAccess.js"],"./helpers/esm/classCheckPrivateStaticAccess":"./helpers/esm/classCheckPrivateStaticAccess.js","./helpers/classCheckPrivateStaticFieldDescriptor":[{"node":"./helpers/classCheckPrivateStaticFieldDescriptor.js","import":"./helpers/esm/classCheckPrivateStaticFieldDescriptor.js","default":"./helpers/classCheckPrivateStaticFieldDescriptor.js"},"./helpers/classCheckPrivateStaticFieldDescriptor.js"],"./helpers/esm/classCheckPrivateStaticFieldDescriptor":"./helpers/esm/classCheckPrivateStaticFieldDescriptor.js","./helpers/decorate":[{"node":"./helpers/decorate.js","import":"./helpers/esm/decorate.js","default":"./helpers/decorate.js"},"./helpers/decorate.js"],"./helpers/esm/decorate":"./helpers/esm/decorate.js","./helpers/classPrivateMethodGet":[{"node":"./helpers/classPrivateMethodGet.js","import":"./helpers/esm/classPrivateMethodGet.js","default":"./helpers/classPrivateMethodGet.js"},"./helpers/classPrivateMethodGet.js"],"./helpers/esm/classPrivateMethodGet":"./helpers/esm/classPrivateMethodGet.js","./helpers/checkPrivateRedeclaration":[{"node":"./helpers/checkPrivateRedeclaration.js","import":"./helpers/esm/checkPrivateRedeclaration.js","default":"./helpers/checkPrivateRedeclaration.js"},"./helpers/checkPrivateRedeclaration.js"],"./helpers/esm/checkPrivateRedeclaration":"./helpers/esm/checkPrivateRedeclaration.js","./helpers/classPrivateFieldInitSpec":[{"node":"./helpers/classPrivateFieldInitSpec.js","import":"./helpers/esm/classPrivateFieldInitSpec.js","default":"./helpers/classPrivateFieldInitSpec.js"},"./helpers/classPrivateFieldInitSpec.js"],"./helpers/esm/classPrivateFieldInitSpec":"./helpers/esm/classPrivateFieldInitSpec.js","./helpers/classPrivateMethodInitSpec":[{"node":"./helpers/classPrivateMethodInitSpec.js","import":"./helpers/esm/classPrivateMethodInitSpec.js","default":"./helpers/classPrivateMethodInitSpec.js"},"./helpers/classPrivateMethodInitSpec.js"],"./helpers/esm/classPrivateMethodInitSpec":"./helpers/esm/classPrivateMethodInitSpec.js","./helpers/classPrivateMethodSet":[{"node":"./helpers/classPrivateMethodSet.js","import":"./helpers/esm/classPrivateMethodSet.js","default":"./helpers/classPrivateMethodSet.js"},"./helpers/classPrivateMethodSet.js"],"./helpers/esm/classPrivateMethodSet":"./helpers/esm/classPrivateMethodSet.js","./package":"./package.json","./package.json":"./package.json","./regenerator":"./regenerator/index.js","./regenerator/*.js":"./regenerator/*.js","./regenerator/":"./regenerator/"},"engines":{"node":">=6.9.0"}} \ No newline at end of file +{"name":"@babel/runtime","version":"7.22.5","description":"babel's modular runtime helpers","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-runtime"},"homepage":"https://babel.dev/docs/en/next/babel-runtime","author":"The Babel Team (https://babel.dev/team)","dependencies":{},"exports":{"./helpers/AsyncGenerator":[{"node":"./helpers/AsyncGenerator.js","import":"./helpers/esm/AsyncGenerator.js","default":"./helpers/AsyncGenerator.js"},"./helpers/AsyncGenerator.js"],"./helpers/esm/AsyncGenerator":"./helpers/esm/AsyncGenerator.js","./helpers/OverloadYield":[{"node":"./helpers/OverloadYield.js","import":"./helpers/esm/OverloadYield.js","default":"./helpers/OverloadYield.js"},"./helpers/OverloadYield.js"],"./helpers/esm/OverloadYield":"./helpers/esm/OverloadYield.js","./helpers/applyDecs":[{"node":"./helpers/applyDecs.js","import":"./helpers/esm/applyDecs.js","default":"./helpers/applyDecs.js"},"./helpers/applyDecs.js"],"./helpers/esm/applyDecs":"./helpers/esm/applyDecs.js","./helpers/applyDecs2203":[{"node":"./helpers/applyDecs2203.js","import":"./helpers/esm/applyDecs2203.js","default":"./helpers/applyDecs2203.js"},"./helpers/applyDecs2203.js"],"./helpers/esm/applyDecs2203":"./helpers/esm/applyDecs2203.js","./helpers/applyDecs2203R":[{"node":"./helpers/applyDecs2203R.js","import":"./helpers/esm/applyDecs2203R.js","default":"./helpers/applyDecs2203R.js"},"./helpers/applyDecs2203R.js"],"./helpers/esm/applyDecs2203R":"./helpers/esm/applyDecs2203R.js","./helpers/applyDecs2301":[{"node":"./helpers/applyDecs2301.js","import":"./helpers/esm/applyDecs2301.js","default":"./helpers/applyDecs2301.js"},"./helpers/applyDecs2301.js"],"./helpers/esm/applyDecs2301":"./helpers/esm/applyDecs2301.js","./helpers/applyDecs2305":[{"node":"./helpers/applyDecs2305.js","import":"./helpers/esm/applyDecs2305.js","default":"./helpers/applyDecs2305.js"},"./helpers/applyDecs2305.js"],"./helpers/esm/applyDecs2305":"./helpers/esm/applyDecs2305.js","./helpers/asyncGeneratorDelegate":[{"node":"./helpers/asyncGeneratorDelegate.js","import":"./helpers/esm/asyncGeneratorDelegate.js","default":"./helpers/asyncGeneratorDelegate.js"},"./helpers/asyncGeneratorDelegate.js"],"./helpers/esm/asyncGeneratorDelegate":"./helpers/esm/asyncGeneratorDelegate.js","./helpers/asyncIterator":[{"node":"./helpers/asyncIterator.js","import":"./helpers/esm/asyncIterator.js","default":"./helpers/asyncIterator.js"},"./helpers/asyncIterator.js"],"./helpers/esm/asyncIterator":"./helpers/esm/asyncIterator.js","./helpers/awaitAsyncGenerator":[{"node":"./helpers/awaitAsyncGenerator.js","import":"./helpers/esm/awaitAsyncGenerator.js","default":"./helpers/awaitAsyncGenerator.js"},"./helpers/awaitAsyncGenerator.js"],"./helpers/esm/awaitAsyncGenerator":"./helpers/esm/awaitAsyncGenerator.js","./helpers/checkInRHS":[{"node":"./helpers/checkInRHS.js","import":"./helpers/esm/checkInRHS.js","default":"./helpers/checkInRHS.js"},"./helpers/checkInRHS.js"],"./helpers/esm/checkInRHS":"./helpers/esm/checkInRHS.js","./helpers/defineAccessor":[{"node":"./helpers/defineAccessor.js","import":"./helpers/esm/defineAccessor.js","default":"./helpers/defineAccessor.js"},"./helpers/defineAccessor.js"],"./helpers/esm/defineAccessor":"./helpers/esm/defineAccessor.js","./helpers/dispose":[{"node":"./helpers/dispose.js","import":"./helpers/esm/dispose.js","default":"./helpers/dispose.js"},"./helpers/dispose.js"],"./helpers/esm/dispose":"./helpers/esm/dispose.js","./helpers/iterableToArrayLimit":[{"node":"./helpers/iterableToArrayLimit.js","import":"./helpers/esm/iterableToArrayLimit.js","default":"./helpers/iterableToArrayLimit.js"},"./helpers/iterableToArrayLimit.js"],"./helpers/esm/iterableToArrayLimit":"./helpers/esm/iterableToArrayLimit.js","./helpers/iterableToArrayLimitLoose":[{"node":"./helpers/iterableToArrayLimitLoose.js","import":"./helpers/esm/iterableToArrayLimitLoose.js","default":"./helpers/iterableToArrayLimitLoose.js"},"./helpers/iterableToArrayLimitLoose.js"],"./helpers/esm/iterableToArrayLimitLoose":"./helpers/esm/iterableToArrayLimitLoose.js","./helpers/jsx":[{"node":"./helpers/jsx.js","import":"./helpers/esm/jsx.js","default":"./helpers/jsx.js"},"./helpers/jsx.js"],"./helpers/esm/jsx":"./helpers/esm/jsx.js","./helpers/objectSpread2":[{"node":"./helpers/objectSpread2.js","import":"./helpers/esm/objectSpread2.js","default":"./helpers/objectSpread2.js"},"./helpers/objectSpread2.js"],"./helpers/esm/objectSpread2":"./helpers/esm/objectSpread2.js","./helpers/regeneratorRuntime":[{"node":"./helpers/regeneratorRuntime.js","import":"./helpers/esm/regeneratorRuntime.js","default":"./helpers/regeneratorRuntime.js"},"./helpers/regeneratorRuntime.js"],"./helpers/esm/regeneratorRuntime":"./helpers/esm/regeneratorRuntime.js","./helpers/typeof":[{"node":"./helpers/typeof.js","import":"./helpers/esm/typeof.js","default":"./helpers/typeof.js"},"./helpers/typeof.js"],"./helpers/esm/typeof":"./helpers/esm/typeof.js","./helpers/using":[{"node":"./helpers/using.js","import":"./helpers/esm/using.js","default":"./helpers/using.js"},"./helpers/using.js"],"./helpers/esm/using":"./helpers/esm/using.js","./helpers/wrapRegExp":[{"node":"./helpers/wrapRegExp.js","import":"./helpers/esm/wrapRegExp.js","default":"./helpers/wrapRegExp.js"},"./helpers/wrapRegExp.js"],"./helpers/esm/wrapRegExp":"./helpers/esm/wrapRegExp.js","./helpers/AwaitValue":[{"node":"./helpers/AwaitValue.js","import":"./helpers/esm/AwaitValue.js","default":"./helpers/AwaitValue.js"},"./helpers/AwaitValue.js"],"./helpers/esm/AwaitValue":"./helpers/esm/AwaitValue.js","./helpers/wrapAsyncGenerator":[{"node":"./helpers/wrapAsyncGenerator.js","import":"./helpers/esm/wrapAsyncGenerator.js","default":"./helpers/wrapAsyncGenerator.js"},"./helpers/wrapAsyncGenerator.js"],"./helpers/esm/wrapAsyncGenerator":"./helpers/esm/wrapAsyncGenerator.js","./helpers/asyncToGenerator":[{"node":"./helpers/asyncToGenerator.js","import":"./helpers/esm/asyncToGenerator.js","default":"./helpers/asyncToGenerator.js"},"./helpers/asyncToGenerator.js"],"./helpers/esm/asyncToGenerator":"./helpers/esm/asyncToGenerator.js","./helpers/classCallCheck":[{"node":"./helpers/classCallCheck.js","import":"./helpers/esm/classCallCheck.js","default":"./helpers/classCallCheck.js"},"./helpers/classCallCheck.js"],"./helpers/esm/classCallCheck":"./helpers/esm/classCallCheck.js","./helpers/createClass":[{"node":"./helpers/createClass.js","import":"./helpers/esm/createClass.js","default":"./helpers/createClass.js"},"./helpers/createClass.js"],"./helpers/esm/createClass":"./helpers/esm/createClass.js","./helpers/defineEnumerableProperties":[{"node":"./helpers/defineEnumerableProperties.js","import":"./helpers/esm/defineEnumerableProperties.js","default":"./helpers/defineEnumerableProperties.js"},"./helpers/defineEnumerableProperties.js"],"./helpers/esm/defineEnumerableProperties":"./helpers/esm/defineEnumerableProperties.js","./helpers/defaults":[{"node":"./helpers/defaults.js","import":"./helpers/esm/defaults.js","default":"./helpers/defaults.js"},"./helpers/defaults.js"],"./helpers/esm/defaults":"./helpers/esm/defaults.js","./helpers/defineProperty":[{"node":"./helpers/defineProperty.js","import":"./helpers/esm/defineProperty.js","default":"./helpers/defineProperty.js"},"./helpers/defineProperty.js"],"./helpers/esm/defineProperty":"./helpers/esm/defineProperty.js","./helpers/extends":[{"node":"./helpers/extends.js","import":"./helpers/esm/extends.js","default":"./helpers/extends.js"},"./helpers/extends.js"],"./helpers/esm/extends":"./helpers/esm/extends.js","./helpers/objectSpread":[{"node":"./helpers/objectSpread.js","import":"./helpers/esm/objectSpread.js","default":"./helpers/objectSpread.js"},"./helpers/objectSpread.js"],"./helpers/esm/objectSpread":"./helpers/esm/objectSpread.js","./helpers/inherits":[{"node":"./helpers/inherits.js","import":"./helpers/esm/inherits.js","default":"./helpers/inherits.js"},"./helpers/inherits.js"],"./helpers/esm/inherits":"./helpers/esm/inherits.js","./helpers/inheritsLoose":[{"node":"./helpers/inheritsLoose.js","import":"./helpers/esm/inheritsLoose.js","default":"./helpers/inheritsLoose.js"},"./helpers/inheritsLoose.js"],"./helpers/esm/inheritsLoose":"./helpers/esm/inheritsLoose.js","./helpers/getPrototypeOf":[{"node":"./helpers/getPrototypeOf.js","import":"./helpers/esm/getPrototypeOf.js","default":"./helpers/getPrototypeOf.js"},"./helpers/getPrototypeOf.js"],"./helpers/esm/getPrototypeOf":"./helpers/esm/getPrototypeOf.js","./helpers/setPrototypeOf":[{"node":"./helpers/setPrototypeOf.js","import":"./helpers/esm/setPrototypeOf.js","default":"./helpers/setPrototypeOf.js"},"./helpers/setPrototypeOf.js"],"./helpers/esm/setPrototypeOf":"./helpers/esm/setPrototypeOf.js","./helpers/isNativeReflectConstruct":[{"node":"./helpers/isNativeReflectConstruct.js","import":"./helpers/esm/isNativeReflectConstruct.js","default":"./helpers/isNativeReflectConstruct.js"},"./helpers/isNativeReflectConstruct.js"],"./helpers/esm/isNativeReflectConstruct":"./helpers/esm/isNativeReflectConstruct.js","./helpers/construct":[{"node":"./helpers/construct.js","import":"./helpers/esm/construct.js","default":"./helpers/construct.js"},"./helpers/construct.js"],"./helpers/esm/construct":"./helpers/esm/construct.js","./helpers/isNativeFunction":[{"node":"./helpers/isNativeFunction.js","import":"./helpers/esm/isNativeFunction.js","default":"./helpers/isNativeFunction.js"},"./helpers/isNativeFunction.js"],"./helpers/esm/isNativeFunction":"./helpers/esm/isNativeFunction.js","./helpers/wrapNativeSuper":[{"node":"./helpers/wrapNativeSuper.js","import":"./helpers/esm/wrapNativeSuper.js","default":"./helpers/wrapNativeSuper.js"},"./helpers/wrapNativeSuper.js"],"./helpers/esm/wrapNativeSuper":"./helpers/esm/wrapNativeSuper.js","./helpers/instanceof":[{"node":"./helpers/instanceof.js","import":"./helpers/esm/instanceof.js","default":"./helpers/instanceof.js"},"./helpers/instanceof.js"],"./helpers/esm/instanceof":"./helpers/esm/instanceof.js","./helpers/interopRequireDefault":[{"node":"./helpers/interopRequireDefault.js","import":"./helpers/esm/interopRequireDefault.js","default":"./helpers/interopRequireDefault.js"},"./helpers/interopRequireDefault.js"],"./helpers/esm/interopRequireDefault":"./helpers/esm/interopRequireDefault.js","./helpers/interopRequireWildcard":[{"node":"./helpers/interopRequireWildcard.js","import":"./helpers/esm/interopRequireWildcard.js","default":"./helpers/interopRequireWildcard.js"},"./helpers/interopRequireWildcard.js"],"./helpers/esm/interopRequireWildcard":"./helpers/esm/interopRequireWildcard.js","./helpers/newArrowCheck":[{"node":"./helpers/newArrowCheck.js","import":"./helpers/esm/newArrowCheck.js","default":"./helpers/newArrowCheck.js"},"./helpers/newArrowCheck.js"],"./helpers/esm/newArrowCheck":"./helpers/esm/newArrowCheck.js","./helpers/objectDestructuringEmpty":[{"node":"./helpers/objectDestructuringEmpty.js","import":"./helpers/esm/objectDestructuringEmpty.js","default":"./helpers/objectDestructuringEmpty.js"},"./helpers/objectDestructuringEmpty.js"],"./helpers/esm/objectDestructuringEmpty":"./helpers/esm/objectDestructuringEmpty.js","./helpers/objectWithoutPropertiesLoose":[{"node":"./helpers/objectWithoutPropertiesLoose.js","import":"./helpers/esm/objectWithoutPropertiesLoose.js","default":"./helpers/objectWithoutPropertiesLoose.js"},"./helpers/objectWithoutPropertiesLoose.js"],"./helpers/esm/objectWithoutPropertiesLoose":"./helpers/esm/objectWithoutPropertiesLoose.js","./helpers/objectWithoutProperties":[{"node":"./helpers/objectWithoutProperties.js","import":"./helpers/esm/objectWithoutProperties.js","default":"./helpers/objectWithoutProperties.js"},"./helpers/objectWithoutProperties.js"],"./helpers/esm/objectWithoutProperties":"./helpers/esm/objectWithoutProperties.js","./helpers/assertThisInitialized":[{"node":"./helpers/assertThisInitialized.js","import":"./helpers/esm/assertThisInitialized.js","default":"./helpers/assertThisInitialized.js"},"./helpers/assertThisInitialized.js"],"./helpers/esm/assertThisInitialized":"./helpers/esm/assertThisInitialized.js","./helpers/possibleConstructorReturn":[{"node":"./helpers/possibleConstructorReturn.js","import":"./helpers/esm/possibleConstructorReturn.js","default":"./helpers/possibleConstructorReturn.js"},"./helpers/possibleConstructorReturn.js"],"./helpers/esm/possibleConstructorReturn":"./helpers/esm/possibleConstructorReturn.js","./helpers/createSuper":[{"node":"./helpers/createSuper.js","import":"./helpers/esm/createSuper.js","default":"./helpers/createSuper.js"},"./helpers/createSuper.js"],"./helpers/esm/createSuper":"./helpers/esm/createSuper.js","./helpers/superPropBase":[{"node":"./helpers/superPropBase.js","import":"./helpers/esm/superPropBase.js","default":"./helpers/superPropBase.js"},"./helpers/superPropBase.js"],"./helpers/esm/superPropBase":"./helpers/esm/superPropBase.js","./helpers/get":[{"node":"./helpers/get.js","import":"./helpers/esm/get.js","default":"./helpers/get.js"},"./helpers/get.js"],"./helpers/esm/get":"./helpers/esm/get.js","./helpers/set":[{"node":"./helpers/set.js","import":"./helpers/esm/set.js","default":"./helpers/set.js"},"./helpers/set.js"],"./helpers/esm/set":"./helpers/esm/set.js","./helpers/taggedTemplateLiteral":[{"node":"./helpers/taggedTemplateLiteral.js","import":"./helpers/esm/taggedTemplateLiteral.js","default":"./helpers/taggedTemplateLiteral.js"},"./helpers/taggedTemplateLiteral.js"],"./helpers/esm/taggedTemplateLiteral":"./helpers/esm/taggedTemplateLiteral.js","./helpers/taggedTemplateLiteralLoose":[{"node":"./helpers/taggedTemplateLiteralLoose.js","import":"./helpers/esm/taggedTemplateLiteralLoose.js","default":"./helpers/taggedTemplateLiteralLoose.js"},"./helpers/taggedTemplateLiteralLoose.js"],"./helpers/esm/taggedTemplateLiteralLoose":"./helpers/esm/taggedTemplateLiteralLoose.js","./helpers/readOnlyError":[{"node":"./helpers/readOnlyError.js","import":"./helpers/esm/readOnlyError.js","default":"./helpers/readOnlyError.js"},"./helpers/readOnlyError.js"],"./helpers/esm/readOnlyError":"./helpers/esm/readOnlyError.js","./helpers/writeOnlyError":[{"node":"./helpers/writeOnlyError.js","import":"./helpers/esm/writeOnlyError.js","default":"./helpers/writeOnlyError.js"},"./helpers/writeOnlyError.js"],"./helpers/esm/writeOnlyError":"./helpers/esm/writeOnlyError.js","./helpers/classNameTDZError":[{"node":"./helpers/classNameTDZError.js","import":"./helpers/esm/classNameTDZError.js","default":"./helpers/classNameTDZError.js"},"./helpers/classNameTDZError.js"],"./helpers/esm/classNameTDZError":"./helpers/esm/classNameTDZError.js","./helpers/temporalUndefined":[{"node":"./helpers/temporalUndefined.js","import":"./helpers/esm/temporalUndefined.js","default":"./helpers/temporalUndefined.js"},"./helpers/temporalUndefined.js"],"./helpers/esm/temporalUndefined":"./helpers/esm/temporalUndefined.js","./helpers/tdz":[{"node":"./helpers/tdz.js","import":"./helpers/esm/tdz.js","default":"./helpers/tdz.js"},"./helpers/tdz.js"],"./helpers/esm/tdz":"./helpers/esm/tdz.js","./helpers/temporalRef":[{"node":"./helpers/temporalRef.js","import":"./helpers/esm/temporalRef.js","default":"./helpers/temporalRef.js"},"./helpers/temporalRef.js"],"./helpers/esm/temporalRef":"./helpers/esm/temporalRef.js","./helpers/slicedToArray":[{"node":"./helpers/slicedToArray.js","import":"./helpers/esm/slicedToArray.js","default":"./helpers/slicedToArray.js"},"./helpers/slicedToArray.js"],"./helpers/esm/slicedToArray":"./helpers/esm/slicedToArray.js","./helpers/slicedToArrayLoose":[{"node":"./helpers/slicedToArrayLoose.js","import":"./helpers/esm/slicedToArrayLoose.js","default":"./helpers/slicedToArrayLoose.js"},"./helpers/slicedToArrayLoose.js"],"./helpers/esm/slicedToArrayLoose":"./helpers/esm/slicedToArrayLoose.js","./helpers/toArray":[{"node":"./helpers/toArray.js","import":"./helpers/esm/toArray.js","default":"./helpers/toArray.js"},"./helpers/toArray.js"],"./helpers/esm/toArray":"./helpers/esm/toArray.js","./helpers/toConsumableArray":[{"node":"./helpers/toConsumableArray.js","import":"./helpers/esm/toConsumableArray.js","default":"./helpers/toConsumableArray.js"},"./helpers/toConsumableArray.js"],"./helpers/esm/toConsumableArray":"./helpers/esm/toConsumableArray.js","./helpers/arrayWithoutHoles":[{"node":"./helpers/arrayWithoutHoles.js","import":"./helpers/esm/arrayWithoutHoles.js","default":"./helpers/arrayWithoutHoles.js"},"./helpers/arrayWithoutHoles.js"],"./helpers/esm/arrayWithoutHoles":"./helpers/esm/arrayWithoutHoles.js","./helpers/arrayWithHoles":[{"node":"./helpers/arrayWithHoles.js","import":"./helpers/esm/arrayWithHoles.js","default":"./helpers/arrayWithHoles.js"},"./helpers/arrayWithHoles.js"],"./helpers/esm/arrayWithHoles":"./helpers/esm/arrayWithHoles.js","./helpers/maybeArrayLike":[{"node":"./helpers/maybeArrayLike.js","import":"./helpers/esm/maybeArrayLike.js","default":"./helpers/maybeArrayLike.js"},"./helpers/maybeArrayLike.js"],"./helpers/esm/maybeArrayLike":"./helpers/esm/maybeArrayLike.js","./helpers/iterableToArray":[{"node":"./helpers/iterableToArray.js","import":"./helpers/esm/iterableToArray.js","default":"./helpers/iterableToArray.js"},"./helpers/iterableToArray.js"],"./helpers/esm/iterableToArray":"./helpers/esm/iterableToArray.js","./helpers/unsupportedIterableToArray":[{"node":"./helpers/unsupportedIterableToArray.js","import":"./helpers/esm/unsupportedIterableToArray.js","default":"./helpers/unsupportedIterableToArray.js"},"./helpers/unsupportedIterableToArray.js"],"./helpers/esm/unsupportedIterableToArray":"./helpers/esm/unsupportedIterableToArray.js","./helpers/arrayLikeToArray":[{"node":"./helpers/arrayLikeToArray.js","import":"./helpers/esm/arrayLikeToArray.js","default":"./helpers/arrayLikeToArray.js"},"./helpers/arrayLikeToArray.js"],"./helpers/esm/arrayLikeToArray":"./helpers/esm/arrayLikeToArray.js","./helpers/nonIterableSpread":[{"node":"./helpers/nonIterableSpread.js","import":"./helpers/esm/nonIterableSpread.js","default":"./helpers/nonIterableSpread.js"},"./helpers/nonIterableSpread.js"],"./helpers/esm/nonIterableSpread":"./helpers/esm/nonIterableSpread.js","./helpers/nonIterableRest":[{"node":"./helpers/nonIterableRest.js","import":"./helpers/esm/nonIterableRest.js","default":"./helpers/nonIterableRest.js"},"./helpers/nonIterableRest.js"],"./helpers/esm/nonIterableRest":"./helpers/esm/nonIterableRest.js","./helpers/createForOfIteratorHelper":[{"node":"./helpers/createForOfIteratorHelper.js","import":"./helpers/esm/createForOfIteratorHelper.js","default":"./helpers/createForOfIteratorHelper.js"},"./helpers/createForOfIteratorHelper.js"],"./helpers/esm/createForOfIteratorHelper":"./helpers/esm/createForOfIteratorHelper.js","./helpers/createForOfIteratorHelperLoose":[{"node":"./helpers/createForOfIteratorHelperLoose.js","import":"./helpers/esm/createForOfIteratorHelperLoose.js","default":"./helpers/createForOfIteratorHelperLoose.js"},"./helpers/createForOfIteratorHelperLoose.js"],"./helpers/esm/createForOfIteratorHelperLoose":"./helpers/esm/createForOfIteratorHelperLoose.js","./helpers/skipFirstGeneratorNext":[{"node":"./helpers/skipFirstGeneratorNext.js","import":"./helpers/esm/skipFirstGeneratorNext.js","default":"./helpers/skipFirstGeneratorNext.js"},"./helpers/skipFirstGeneratorNext.js"],"./helpers/esm/skipFirstGeneratorNext":"./helpers/esm/skipFirstGeneratorNext.js","./helpers/toPrimitive":[{"node":"./helpers/toPrimitive.js","import":"./helpers/esm/toPrimitive.js","default":"./helpers/toPrimitive.js"},"./helpers/toPrimitive.js"],"./helpers/esm/toPrimitive":"./helpers/esm/toPrimitive.js","./helpers/toPropertyKey":[{"node":"./helpers/toPropertyKey.js","import":"./helpers/esm/toPropertyKey.js","default":"./helpers/toPropertyKey.js"},"./helpers/toPropertyKey.js"],"./helpers/esm/toPropertyKey":"./helpers/esm/toPropertyKey.js","./helpers/initializerWarningHelper":[{"node":"./helpers/initializerWarningHelper.js","import":"./helpers/esm/initializerWarningHelper.js","default":"./helpers/initializerWarningHelper.js"},"./helpers/initializerWarningHelper.js"],"./helpers/esm/initializerWarningHelper":"./helpers/esm/initializerWarningHelper.js","./helpers/initializerDefineProperty":[{"node":"./helpers/initializerDefineProperty.js","import":"./helpers/esm/initializerDefineProperty.js","default":"./helpers/initializerDefineProperty.js"},"./helpers/initializerDefineProperty.js"],"./helpers/esm/initializerDefineProperty":"./helpers/esm/initializerDefineProperty.js","./helpers/applyDecoratedDescriptor":[{"node":"./helpers/applyDecoratedDescriptor.js","import":"./helpers/esm/applyDecoratedDescriptor.js","default":"./helpers/applyDecoratedDescriptor.js"},"./helpers/applyDecoratedDescriptor.js"],"./helpers/esm/applyDecoratedDescriptor":"./helpers/esm/applyDecoratedDescriptor.js","./helpers/classPrivateFieldLooseKey":[{"node":"./helpers/classPrivateFieldLooseKey.js","import":"./helpers/esm/classPrivateFieldLooseKey.js","default":"./helpers/classPrivateFieldLooseKey.js"},"./helpers/classPrivateFieldLooseKey.js"],"./helpers/esm/classPrivateFieldLooseKey":"./helpers/esm/classPrivateFieldLooseKey.js","./helpers/classPrivateFieldLooseBase":[{"node":"./helpers/classPrivateFieldLooseBase.js","import":"./helpers/esm/classPrivateFieldLooseBase.js","default":"./helpers/classPrivateFieldLooseBase.js"},"./helpers/classPrivateFieldLooseBase.js"],"./helpers/esm/classPrivateFieldLooseBase":"./helpers/esm/classPrivateFieldLooseBase.js","./helpers/classPrivateFieldGet":[{"node":"./helpers/classPrivateFieldGet.js","import":"./helpers/esm/classPrivateFieldGet.js","default":"./helpers/classPrivateFieldGet.js"},"./helpers/classPrivateFieldGet.js"],"./helpers/esm/classPrivateFieldGet":"./helpers/esm/classPrivateFieldGet.js","./helpers/classPrivateFieldSet":[{"node":"./helpers/classPrivateFieldSet.js","import":"./helpers/esm/classPrivateFieldSet.js","default":"./helpers/classPrivateFieldSet.js"},"./helpers/classPrivateFieldSet.js"],"./helpers/esm/classPrivateFieldSet":"./helpers/esm/classPrivateFieldSet.js","./helpers/classPrivateFieldDestructureSet":[{"node":"./helpers/classPrivateFieldDestructureSet.js","import":"./helpers/esm/classPrivateFieldDestructureSet.js","default":"./helpers/classPrivateFieldDestructureSet.js"},"./helpers/classPrivateFieldDestructureSet.js"],"./helpers/esm/classPrivateFieldDestructureSet":"./helpers/esm/classPrivateFieldDestructureSet.js","./helpers/classExtractFieldDescriptor":[{"node":"./helpers/classExtractFieldDescriptor.js","import":"./helpers/esm/classExtractFieldDescriptor.js","default":"./helpers/classExtractFieldDescriptor.js"},"./helpers/classExtractFieldDescriptor.js"],"./helpers/esm/classExtractFieldDescriptor":"./helpers/esm/classExtractFieldDescriptor.js","./helpers/classStaticPrivateFieldSpecGet":[{"node":"./helpers/classStaticPrivateFieldSpecGet.js","import":"./helpers/esm/classStaticPrivateFieldSpecGet.js","default":"./helpers/classStaticPrivateFieldSpecGet.js"},"./helpers/classStaticPrivateFieldSpecGet.js"],"./helpers/esm/classStaticPrivateFieldSpecGet":"./helpers/esm/classStaticPrivateFieldSpecGet.js","./helpers/classStaticPrivateFieldSpecSet":[{"node":"./helpers/classStaticPrivateFieldSpecSet.js","import":"./helpers/esm/classStaticPrivateFieldSpecSet.js","default":"./helpers/classStaticPrivateFieldSpecSet.js"},"./helpers/classStaticPrivateFieldSpecSet.js"],"./helpers/esm/classStaticPrivateFieldSpecSet":"./helpers/esm/classStaticPrivateFieldSpecSet.js","./helpers/classStaticPrivateMethodGet":[{"node":"./helpers/classStaticPrivateMethodGet.js","import":"./helpers/esm/classStaticPrivateMethodGet.js","default":"./helpers/classStaticPrivateMethodGet.js"},"./helpers/classStaticPrivateMethodGet.js"],"./helpers/esm/classStaticPrivateMethodGet":"./helpers/esm/classStaticPrivateMethodGet.js","./helpers/classStaticPrivateMethodSet":[{"node":"./helpers/classStaticPrivateMethodSet.js","import":"./helpers/esm/classStaticPrivateMethodSet.js","default":"./helpers/classStaticPrivateMethodSet.js"},"./helpers/classStaticPrivateMethodSet.js"],"./helpers/esm/classStaticPrivateMethodSet":"./helpers/esm/classStaticPrivateMethodSet.js","./helpers/classApplyDescriptorGet":[{"node":"./helpers/classApplyDescriptorGet.js","import":"./helpers/esm/classApplyDescriptorGet.js","default":"./helpers/classApplyDescriptorGet.js"},"./helpers/classApplyDescriptorGet.js"],"./helpers/esm/classApplyDescriptorGet":"./helpers/esm/classApplyDescriptorGet.js","./helpers/classApplyDescriptorSet":[{"node":"./helpers/classApplyDescriptorSet.js","import":"./helpers/esm/classApplyDescriptorSet.js","default":"./helpers/classApplyDescriptorSet.js"},"./helpers/classApplyDescriptorSet.js"],"./helpers/esm/classApplyDescriptorSet":"./helpers/esm/classApplyDescriptorSet.js","./helpers/classApplyDescriptorDestructureSet":[{"node":"./helpers/classApplyDescriptorDestructureSet.js","import":"./helpers/esm/classApplyDescriptorDestructureSet.js","default":"./helpers/classApplyDescriptorDestructureSet.js"},"./helpers/classApplyDescriptorDestructureSet.js"],"./helpers/esm/classApplyDescriptorDestructureSet":"./helpers/esm/classApplyDescriptorDestructureSet.js","./helpers/classStaticPrivateFieldDestructureSet":[{"node":"./helpers/classStaticPrivateFieldDestructureSet.js","import":"./helpers/esm/classStaticPrivateFieldDestructureSet.js","default":"./helpers/classStaticPrivateFieldDestructureSet.js"},"./helpers/classStaticPrivateFieldDestructureSet.js"],"./helpers/esm/classStaticPrivateFieldDestructureSet":"./helpers/esm/classStaticPrivateFieldDestructureSet.js","./helpers/classCheckPrivateStaticAccess":[{"node":"./helpers/classCheckPrivateStaticAccess.js","import":"./helpers/esm/classCheckPrivateStaticAccess.js","default":"./helpers/classCheckPrivateStaticAccess.js"},"./helpers/classCheckPrivateStaticAccess.js"],"./helpers/esm/classCheckPrivateStaticAccess":"./helpers/esm/classCheckPrivateStaticAccess.js","./helpers/classCheckPrivateStaticFieldDescriptor":[{"node":"./helpers/classCheckPrivateStaticFieldDescriptor.js","import":"./helpers/esm/classCheckPrivateStaticFieldDescriptor.js","default":"./helpers/classCheckPrivateStaticFieldDescriptor.js"},"./helpers/classCheckPrivateStaticFieldDescriptor.js"],"./helpers/esm/classCheckPrivateStaticFieldDescriptor":"./helpers/esm/classCheckPrivateStaticFieldDescriptor.js","./helpers/decorate":[{"node":"./helpers/decorate.js","import":"./helpers/esm/decorate.js","default":"./helpers/decorate.js"},"./helpers/decorate.js"],"./helpers/esm/decorate":"./helpers/esm/decorate.js","./helpers/classPrivateMethodGet":[{"node":"./helpers/classPrivateMethodGet.js","import":"./helpers/esm/classPrivateMethodGet.js","default":"./helpers/classPrivateMethodGet.js"},"./helpers/classPrivateMethodGet.js"],"./helpers/esm/classPrivateMethodGet":"./helpers/esm/classPrivateMethodGet.js","./helpers/checkPrivateRedeclaration":[{"node":"./helpers/checkPrivateRedeclaration.js","import":"./helpers/esm/checkPrivateRedeclaration.js","default":"./helpers/checkPrivateRedeclaration.js"},"./helpers/checkPrivateRedeclaration.js"],"./helpers/esm/checkPrivateRedeclaration":"./helpers/esm/checkPrivateRedeclaration.js","./helpers/classPrivateFieldInitSpec":[{"node":"./helpers/classPrivateFieldInitSpec.js","import":"./helpers/esm/classPrivateFieldInitSpec.js","default":"./helpers/classPrivateFieldInitSpec.js"},"./helpers/classPrivateFieldInitSpec.js"],"./helpers/esm/classPrivateFieldInitSpec":"./helpers/esm/classPrivateFieldInitSpec.js","./helpers/classPrivateMethodInitSpec":[{"node":"./helpers/classPrivateMethodInitSpec.js","import":"./helpers/esm/classPrivateMethodInitSpec.js","default":"./helpers/classPrivateMethodInitSpec.js"},"./helpers/classPrivateMethodInitSpec.js"],"./helpers/esm/classPrivateMethodInitSpec":"./helpers/esm/classPrivateMethodInitSpec.js","./helpers/classPrivateMethodSet":[{"node":"./helpers/classPrivateMethodSet.js","import":"./helpers/esm/classPrivateMethodSet.js","default":"./helpers/classPrivateMethodSet.js"},"./helpers/classPrivateMethodSet.js"],"./helpers/esm/classPrivateMethodSet":"./helpers/esm/classPrivateMethodSet.js","./helpers/identity":[{"node":"./helpers/identity.js","import":"./helpers/esm/identity.js","default":"./helpers/identity.js"},"./helpers/identity.js"],"./helpers/esm/identity":"./helpers/esm/identity.js","./package":"./package.json","./package.json":"./package.json","./regenerator":"./regenerator/index.js","./regenerator/*.js":"./regenerator/*.js","./regenerator/":"./regenerator/"},"engines":{"node":">=6.9.0"},"type":"commonjs"} \ No newline at end of file diff --git a/packages/next/src/compiled/@babel/runtime/regenerator/index.js b/packages/next/src/compiled/@babel/runtime/regenerator/index.js index f149e46397226..5881357364f41 100644 --- a/packages/next/src/compiled/@babel/runtime/regenerator/index.js +++ b/packages/next/src/compiled/@babel/runtime/regenerator/index.js @@ -1 +1,15 @@ -module.exports = require("next/dist/compiled/regenerator-runtime"); +// TODO(Babel 8): Remove this file. + +var runtime = require("../helpers/regeneratorRuntime")(); +module.exports = runtime; + +// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= +try { + regeneratorRuntime = runtime; +} catch (accidentalStrictMode) { + if (typeof globalThis === "object") { + globalThis.regeneratorRuntime = runtime; + } else { + Function("r", "regeneratorRuntime = r")(runtime); + } +} diff --git a/packages/next/src/compiled/@edge-runtime/cookies/index.js b/packages/next/src/compiled/@edge-runtime/cookies/index.js index e02e1c992b3e8..a8863193013c5 100644 --- a/packages/next/src/compiled/@edge-runtime/cookies/index.js +++ b/packages/next/src/compiled/@edge-runtime/cookies/index.js @@ -111,6 +111,57 @@ function parsePriority(string) { string = string.toLowerCase(); return PRIORITY.includes(string) ? string : void 0; } +function splitCookiesString(cookiesString) { + if (!cookiesString) + return []; + var cookiesStrings = []; + var pos = 0; + var start; + var ch; + var lastComma; + var nextStart; + var cookiesSeparatorFound; + function skipWhitespace() { + while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) { + pos += 1; + } + return pos < cookiesString.length; + } + function notSpecialChar() { + ch = cookiesString.charAt(pos); + return ch !== "=" && ch !== ";" && ch !== ","; + } + while (pos < cookiesString.length) { + start = pos; + cookiesSeparatorFound = false; + while (skipWhitespace()) { + ch = cookiesString.charAt(pos); + if (ch === ",") { + lastComma = pos; + pos += 1; + skipWhitespace(); + nextStart = pos; + while (pos < cookiesString.length && notSpecialChar()) { + pos += 1; + } + if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") { + cookiesSeparatorFound = true; + pos = nextStart; + cookiesStrings.push(cookiesString.substring(start, lastComma)); + start = pos; + } else { + pos = lastComma + 1; + } + } else { + pos += 1; + } + } + if (!cookiesSeparatorFound || pos >= cookiesString.length) { + cookiesStrings.push(cookiesString.substring(start, cookiesString.length)); + } + } + return cookiesStrings; +} // src/request-cookies.ts var RequestCookies = class { @@ -196,8 +247,10 @@ var ResponseCookies = class { constructor(responseHeaders) { /** @internal */ this._parsed = /* @__PURE__ */ new Map(); + var _a, _b, _c; this._headers = responseHeaders; - const cookieStrings = responseHeaders.getSetCookie(); + const setCookie = (_c = (_b = (_a = responseHeaders.getSetCookie) == null ? void 0 : _a.call(responseHeaders)) != null ? _b : responseHeaders.get("set-cookie")) != null ? _c : []; + const cookieStrings = Array.isArray(setCookie) ? setCookie : splitCookiesString(setCookie); for (const cookieString of cookieStrings) { const parsed = parseSetCookie(cookieString); if (parsed) diff --git a/packages/next/src/compiled/@edge-runtime/cookies/package.json b/packages/next/src/compiled/@edge-runtime/cookies/package.json index db2b1b50104b0..e3b8088040316 100644 --- a/packages/next/src/compiled/@edge-runtime/cookies/package.json +++ b/packages/next/src/compiled/@edge-runtime/cookies/package.json @@ -1 +1 @@ -{"name":"@edge-runtime/cookies","version":"4.0.1","main":"./index.js","license":"MPL-2.0"} +{"name":"@edge-runtime/cookies","version":"4.0.2","main":"./index.js","license":"MPL-2.0"} diff --git a/packages/next/src/compiled/@vercel/og/package.json b/packages/next/src/compiled/@vercel/og/package.json index 0819f6806b758..d2abbe21c723d 100644 --- a/packages/next/src/compiled/@vercel/og/package.json +++ b/packages/next/src/compiled/@vercel/og/package.json @@ -1,5 +1,6 @@ { "name": "@vercel/og", + "version": "0.5.15", "LICENSE": "MLP-2.0", "type": "module", "main": "./index.node.js", @@ -9,6 +10,7 @@ "import": "./index.node.js", "node": "./index.node.js", "default": "./index.node.js" - } + }, + "./package.json": "./package.json" } } \ No newline at end of file diff --git a/packages/next/src/compiled/babel-packages/packages-bundle.js b/packages/next/src/compiled/babel-packages/packages-bundle.js index 185c7078a1ca8..2267a78919a5a 100644 --- a/packages/next/src/compiled/babel-packages/packages-bundle.js +++ b/packages/next/src/compiled/babel-packages/packages-bundle.js @@ -1,116 +1,233 @@ -(()=>{var e={5700:(e,t,r)=>{e.exports=r(5585)},8895:(e,t,r)=>{e.exports=r(9696)},4234:(e,t,r)=>{e.exports=r(9009)},8533:(e,t,r)=>{e.exports=r(266)},6616:(e,t,r)=>{e.exports=r(4943)},9974:(e,t,r)=>{e.exports=r(7385)},5346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=annotateAsPure;var s=r(8622);const{addComment:a}=s;const n="#__PURE__";const isPureAnnotated=({leadingComments:e})=>!!e&&e.some((e=>/[@#]__PURE__/.test(e.value)));function annotateAsPure(e){const t=e["node"]||e;if(isPureAnnotated(t)){return}a(t,"leading",n)}},6825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=r(2407);var a=r(8622);const{assignmentExpression:n,sequenceExpression:o}=a;function _default(e){const{build:t,operator:r}=e;const a={AssignmentExpression(e){const{node:a,scope:i}=e;if(a.operator!==r+"=")return;const l=[];const c=(0,s.default)(a.left,l,this,i);l.push(n("=",c.ref,t(c.uid,a.right)));e.replaceWith(o(l))},BinaryExpression(e){const{node:s}=e;if(s.operator===r){e.replaceWith(t(s.left,s.right))}}};return a}},3402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var s=r(7849);var a=r(3180);var n=r(9898);function getInclusionReasons(e,t,r){const o=r[e]||{};return Object.keys(t).reduce(((e,r)=>{const i=(0,n.getLowestImplementedVersion)(o,r);const l=t[r];if(!i){e[r]=(0,a.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(i,r);const o=(0,n.isUnreleasedVersion)(l,r);if(!o&&(t||s.lt(l.toString(),(0,n.semverify)(i)))){e[r]=(0,a.prettifyVersion)(l)}}return e}),{})}},9043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=filterItems;t.isRequired=isRequired;t.targetsSupported=targetsSupported;var s=r(7849);var a=r(9974);var n=r(9898);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const a=r.filter((r=>{const a=(0,n.getLowestImplementedVersion)(t,r);if(!a){return true}const o=e[r];if((0,n.isUnreleasedVersion)(o,r)){return false}if((0,n.isUnreleasedVersion)(a,r)){return true}if(!s.valid(o.toString())){throw new Error(`Invalid version passed for target "${r}": "${o}". `+"Versions must be in semver format (major.minor.patch)")}return s.gt((0,n.semverify)(a),o.toString())}));return a.length===0}function isRequired(e,t,{compatData:r=a,includes:s,excludes:n}={}){if(n!=null&&n.has(e))return false;if(s!=null&&s.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,s,a,n,o){const i=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,s,l)){i.add(t)}else if(o){const e=o.get(t);if(e){i.add(e)}}}if(a){a.forEach((e=>!r.has(e)&&i.add(e)))}if(n){n.forEach((e=>!t.has(e)&&i.delete(e)))}return i}},7490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});t["default"]=getTargets;Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return u.getInclusionReasons}});t.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return p.isRequired}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return i.unreleasedLabels}});var s=r(4907);var a=r(46);var n=r(4234);var o=r(9898);var i=r(5598);var l=r(9090);var c=r(3180);var u=r(3402);var p=r(9043);const d=n["es6.module"];const f=new a.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(f.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,a.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,t)=>{const[r,s]=t.split(" ");const a=i.browserNameMap[r];if(!a){return e}try{const t=s.split("-")[0].toLowerCase();const n=(0,o.isUnreleasedVersion)(t,r);if(!e[a]){e[a]=n?t:(0,o.semverify)(t);return e}const i=e[a];const l=(0,o.isUnreleasedVersion)(i,r);if(l&&n){e[a]=(0,o.getLowestUnreleased)(i,t,r)}else if(l){e[a]=(0,o.semverify)(t)}else if(!l&&!n){const r=(0,o.semverify)(t);e[a]=(0,o.semverMin)(i,r)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:t})=>console.warn(` ${e}: ${t}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,o.semverify)(t)}catch(r){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,o.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e,t){const r=s(e,{mobileToDesktop:true,env:t});return getLowestVersions(r)}function getTargets(e={},t={}){var r;let{browsers:a,esmodules:n}=e;const{configPath:i="."}=t;validateBrowsers(a);const l=generateTargets(e);let c=validateTargetNames(l);const u=!!a;const p=u||Object.keys(c).length>0;const f=!t.ignoreBrowserslistConfig&&!p;if(!a&&f){a=s.loadConfig({config:t.configFile,path:i,env:t.browserslistEnv});if(a==null){{a=[]}}}if(n&&(n!=="intersect"||!((r=a)!=null&&r.length))){a=Object.keys(d).map((e=>`${e} >= ${d[e]}`)).join(", ");n=false}if(a){const e=resolveTargets(a,t.browserslistEnv);if(n==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(d[t]){e[t]=(0,o.getHighestUnreleased)(r,(0,o.semverify)(d[t]),t)}else{delete e[t]}}}c=Object.assign(e,c)}const g={};const h=[];for(const e of Object.keys(c).sort()){var b;const t=c[e];if(typeof t==="number"&&t%1!==0){h.push({target:e,value:t})}const r=(b=y[e])!=null?b:y.__default;const[s,a]=r(e,t);if(a){g[s]=a}}outputDecimalWarning(h);return g}},9090:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=r},3180:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyTargets=prettifyTargets;t.prettifyVersion=prettifyVersion;var s=r(7849);var a=r(5598);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[s.major(e)];const r=s.minor(e);const a=s.patch(e);if(r||a){t.push(r)}if(a){t.push(a)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((t,r)=>{let s=e[r];const n=a.unreleasedLabels[r];if(typeof s==="string"&&n!==s){s=prettifyVersion(s)}t[r]=s;return t}),{})}},5598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unreleasedLabels=t.browserNameMap=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const s={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=s},9898:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;t.getLowestUnreleased=getLowestUnreleased;t.isUnreleasedVersion=isUnreleasedVersion;t.semverMin=semverMin;t.semverify=semverify;var s=r(7849);var a=r(46);var n=r(5598);const o=/^(\d+|\d+.\d+)$/;const i=new a.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&s.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&s.valid(e)){return e}i.invariant(typeof e==="number"||typeof e==="string"&&o.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=n.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const s=n.unreleasedLabels[r];const a=[e,t].some((e=>e===s));if(a){return e===a?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},7266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var s=r(7849);var a=r(112);var n=r(8886);function getInclusionReasons(e,t,r){const o=r[e]||{};return Object.keys(t).reduce(((e,r)=>{const i=(0,n.getLowestImplementedVersion)(o,r);const l=t[r];if(!i){e[r]=(0,a.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(i,r);const o=(0,n.isUnreleasedVersion)(l,r);if(!o&&(t||s.lt(l.toString(),(0,n.semverify)(i)))){e[r]=(0,a.prettifyVersion)(l)}}return e}),{})}},1372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=filterItems;t.isRequired=isRequired;t.targetsSupported=targetsSupported;var s=r(7849);var a=r(9974);var n=r(8886);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const a=r.filter((r=>{const a=(0,n.getLowestImplementedVersion)(t,r);if(!a){return true}const o=e[r];if((0,n.isUnreleasedVersion)(o,r)){return false}if((0,n.isUnreleasedVersion)(a,r)){return true}if(!s.valid(o.toString())){throw new Error(`Invalid version passed for target "${r}": "${o}". `+"Versions must be in semver format (major.minor.patch)")}return s.gt((0,n.semverify)(a),o.toString())}));return a.length===0}function isRequired(e,t,{compatData:r=a,includes:s,excludes:n}={}){if(n!=null&&n.has(e))return false;if(s!=null&&s.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,s,a,n,o){const i=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,s,l)){i.add(t)}else if(o){const e=o.get(t);if(e){i.add(e)}}}if(a){a.forEach((e=>!r.has(e)&&i.add(e)))}if(n){n.forEach((e=>!t.has(e)&&i.delete(e)))}return i}},8479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});t["default"]=getTargets;Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return u.getInclusionReasons}});t.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return p.isRequired}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return i.unreleasedLabels}});var s=r(4907);var a=r(46);var n=r(4234);var o=r(8886);var i=r(7093);var l=r(3746);var c=r(112);var u=r(7266);var p=r(1372);const d=n["es6.module"];const f=new a.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(f.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,a.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,t)=>{const[r,s]=t.split(" ");const a=i.browserNameMap[r];if(!a){return e}try{const t=s.split("-")[0].toLowerCase();const n=(0,o.isUnreleasedVersion)(t,r);if(!e[a]){e[a]=n?t:(0,o.semverify)(t);return e}const i=e[a];const l=(0,o.isUnreleasedVersion)(i,r);if(l&&n){e[a]=(0,o.getLowestUnreleased)(i,t,r)}else if(l){e[a]=(0,o.semverify)(t)}else if(!l&&!n){const r=(0,o.semverify)(t);e[a]=(0,o.semverMin)(i,r)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:t})=>console.warn(` ${e}: ${t}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,o.semverify)(t)}catch(r){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,o.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e,t){const r=s(e,{mobileToDesktop:true,env:t});return getLowestVersions(r)}function getTargets(e={},t={}){var r,a;let{browsers:n,esmodules:i}=e;const{configPath:l="."}=t;validateBrowsers(n);const c=generateTargets(e);let u=validateTargetNames(c);const p=!!n;const f=p||Object.keys(u).length>0;const g=!t.ignoreBrowserslistConfig&&!f;if(!n&&g){n=s.loadConfig({config:t.configFile,path:l,env:t.browserslistEnv});if(n==null){{n=[]}}}if(i&&(i!=="intersect"||!((r=n)!=null&&r.length))){n=Object.keys(d).map((e=>`${e} >= ${d[e]}`)).join(", ");i=false}if((a=n)!=null&&a.length){const e=resolveTargets(n,t.browserslistEnv);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(d[t]){e[t]=(0,o.getHighestUnreleased)(r,(0,o.semverify)(d[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const h={};const b=[];for(const e of Object.keys(u).sort()){var x;const t=u[e];if(typeof t==="number"&&t%1!==0){b.push({target:e,value:t})}const r=(x=y[e])!=null?x:y.__default;const[s,a]=r(e,t);if(a){h[s]=a}}outputDecimalWarning(b);return h}},3746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=r},112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyTargets=prettifyTargets;t.prettifyVersion=prettifyVersion;var s=r(7849);var a=r(7093);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[s.major(e)];const r=s.minor(e);const a=s.patch(e);if(r||a){t.push(r)}if(a){t.push(a)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((t,r)=>{let s=e[r];const n=a.unreleasedLabels[r];if(typeof s==="string"&&n!==s){s=prettifyVersion(s)}t[r]=s;return t}),{})}},7093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unreleasedLabels=t.browserNameMap=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const s={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=s},8886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;t.getLowestUnreleased=getLowestUnreleased;t.isUnreleasedVersion=isUnreleasedVersion;t.semverMin=semverMin;t.semverify=semverify;var s=r(7849);var a=r(46);var n=r(7093);const o=/^(\d+|\d+.\d+)$/;const i=new a.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&s.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&s.valid(e)){return e}i.invariant(typeof e==="number"||typeof e==="string"&&o.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=n.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const s=n.unreleasedLabels[r];const a=[e,t].some((e=>e===s));if(a){return e===a?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},6080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildDecoratedClass=buildDecoratedClass;t.hasDecorators=hasDecorators;t.hasOwnDecorators=hasOwnDecorators;var s=r(8304);var a=r(7328);var n=r(571);function hasOwnDecorators(e){return!!(e.decorators&&e.decorators.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return s.types.objectProperty(s.types.identifier(e),t)}function method(e,t){return s.types.objectMethod("method",s.types.identifier(e),[],s.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=s.types.arrayExpression(e.decorators.map((e=>e.expression)))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(s.types.isIdentifier(e.key)){return s.types.stringLiteral(e.key.name)}else{return s.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,r,o){const i=o.isClassMethod();if(o.isPrivate()){throw o.buildCodeFrameError(`Private ${i?"methods":"fields"} in decorated classes are not supported yet.`)}if(o.node.type==="ClassAccessorProperty"){throw o.buildCodeFrameError(`Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}if(o.node.type==="StaticBlock"){throw o.buildCodeFrameError(`Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}const{node:l,scope:c}=o;new a.default({methodPath:o,objectRef:t,superRef:r,file:e,refToPreserve:t}).replace();const u=[prop("kind",s.types.stringLiteral(s.types.isClassMethod(l)?l.kind:"field")),prop("decorators",takeDecorators(l)),prop("static",l.static&&s.types.booleanLiteral(true)),prop("key",getKey(l))].filter(Boolean);if(s.types.isClassMethod(l)){const e=l.computed?null:l.key;s.types.toExpression(l);u.push(prop("value",(0,n.default)({node:l,id:e,scope:c})||l))}else if(s.types.isClassProperty(l)&&l.value){u.push(method("value",s.template.statements.ast`return ${l.value}`))}else{u.push(prop("value",c.buildUndefinedNode()))}o.remove();return s.types.objectExpression(u)}function addDecorateHelper(e){try{return e.addHelper("decorate")}catch(e){if(e.code==="BABEL_HELPER_UNKNOWN"){e.message+="\n '@babel/plugin-transform-decorators' in non-legacy mode"+" requires '@babel/core' version ^7.0.2 and you appear to be using"+" an older version."}throw e}}function buildDecoratedClass(e,t,r,a){const{node:n,scope:o}=t;const i=o.generateUidIdentifier("initialize");const l=n.id&&t.isDeclaration();const c=t.isInStrictMode();const{superClass:u}=n;n.type="ClassDeclaration";if(!n.id)n.id=s.types.cloneNode(e);let p;if(u){p=o.generateUidIdentifierBasedOnNode(n.superClass,"super");n.superClass=p}const d=takeDecorators(n);const f=s.types.arrayExpression(r.filter((e=>!e.node.abstract&&e.node.type!=="TSIndexSignature")).map((e=>extractElementDescriptor(a,n.id,p,e))));const y=s.template.expression.ast` +(()=>{var e={2569:(e,r,t)=>{"use strict";r.__esModule=true;r.presetEnvSilentDebugHeader=void 0;r.stringifyTargets=stringifyTargets;r.stringifyTargetsMultiline=stringifyTargetsMultiline;var s=t(8522);const a="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";r.presetEnvSilentDebugHeader=a;function stringifyTargetsMultiline(e){return JSON.stringify((0,s.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},6429:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=_interopRequireWildcard(t(8304));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:a}=s.default||s;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,r,t){const s=this._normalizeKey(e,r);const n=this._ensure(this._anonymousImports,e,Set);if(n.has(s))return;const o=t(e.node.sourceType==="script",a.stringLiteral(this._resolver(r)));n.add(s);this._injectImport(e,o)}storeNamed(e,r,t,s){const n=this._normalizeKey(e,r,t);const o=this._ensure(this._imports,e,Map);if(!o.has(n)){const{node:i,name:l}=s(e.node.sourceType==="script",a.stringLiteral(this._resolver(r)),a.identifier(t));o.set(n,l);this._injectImport(e,i)}return a.identifier(o.get(n))}_injectImport(e,r){const t=this._lastImports.get(e);let s;if(t&&t.node&&t.parent===e.node&&t.container===e.node.body){s=t.insertAfter(r)}else{s=e.unshiftContainer("body",r)}const a=s[s.length-1];this._lastImports.set(e,a)}_ensure(e,r,t){let s=e.get(r);if(!s){s=new t;e.set(r,s)}return s}_normalizeKey(e,r,t=""){const{sourceType:s}=e.node;return`${t&&s}::${r}::${t}`}}r["default"]=ImportsCache},4992:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=definePolyfillProvider;var s=t(5389);var a=_interopRequireWildcard(t(8522));var n=t(3970);var o=_interopRequireDefault(t(6429));var i=t(2569);var l=t(9667);var c=_interopRequireWildcard(t(264));var d=_interopRequireWildcard(t(9275));var u=_interopRequireDefault(t(8926));const p=["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}function _objectWithoutPropertiesLoose(e,r){if(e==null)return{};var t={};var s=Object.keys(e);var a,n;for(n=0;n<s.length;n++){a=s[n];if(r.indexOf(a)>=0)continue;t[a]=e[a]}return t}const f=a.default.default||a.default;function resolveOptions(e,r){const{method:t,targets:s,ignoreBrowserslistConfig:a,configPath:n,debug:o,shouldInjectPolyfill:i,absoluteImports:l}=e,c=_objectWithoutPropertiesLoose(e,p);if(isEmpty(e)){throw new Error(`This plugin requires options, for example:\n {\n "plugins": [\n ["<plugin name>", { method: "usage-pure" }]\n ]\n }\n\nSee more options at https://github.com/babel/babel-polyfills/blob/main/docs/usage.md`)}let d;if(t==="usage-global")d="usageGlobal";else if(t==="entry-global")d="entryGlobal";else if(t==="usage-pure")d="usagePure";else if(typeof t!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(t)})`)}if(typeof i==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(i!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(i)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let u;if(s||n||a){const e=typeof s==="string"||Array.isArray(s)?{browsers:s}:s;u=f(e,{ignoreBrowserslistConfig:a,configPath:n})}else{u=r.targets()}return{method:t,methodName:d,targets:u,absoluteImports:l!=null?l:false,shouldInjectPolyfill:i,debug:!!o,providerOptions:c}}function instantiateProvider(e,r,t,s,i,c){const{method:p,methodName:f,targets:y,debug:g,shouldInjectPolyfill:h,providerOptions:b,absoluteImports:x}=resolveOptions(r,c);const v=(0,n.createUtilsGetter)(new o.default((e=>d.resolve(s,e,x))));let j,w;let E;let _;let S;const k=new Map;const C={babel:c,getUtils:v,method:r.method,targets:y,createMetaResolver:u.default,shouldInjectPolyfill(r){if(_===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!_.has(r)){console.warn(`Internal error in the ${D} provider: `+`unknown polyfill "${r}".`)}if(S&&!S(r))return false;let t=(0,a.isRequired)(r,y,{compatData:E,includes:j,excludes:w});if(h){t=h(r,t);if(typeof t!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return t},debug(e){var r,t;i().found=true;if(!g||!e)return;if(i().polyfills.has(D))return;i().polyfills.add(e);(t=(r=i()).polyfillsSupport)!=null?t:r.polyfillsSupport=E},assertDependency(e,r="*"){if(t===false)return;if(x){return}const a=r==="*"?e:`${e}@^${r}`;const n=t.all?false:mapGetOr(k,`${e} :: ${s}`,(()=>d.has(s,e)));if(!n){i().missingDeps.add(a)}}};const P=e(C,b,s);const D=P.name||e.name;if(typeof P[f]!=="function"){throw new Error(`The "${D}" provider doesn't support the "${p}" polyfilling method.`)}if(Array.isArray(P.polyfills)){_=new Set(P.polyfills);S=P.filterPolyfills}else if(P.polyfills){_=new Set(Object.keys(P.polyfills));E=P.polyfills;S=P.filterPolyfills}else{_=new Set}({include:j,exclude:w}=(0,l.validateIncludeExclude)(D,_,b.include||[],b.exclude||[]));return{debug:g,method:p,targets:y,provider:P,providerName:D,callProvider(e,r){const t=v(r);P[f](e,t,r)}}}function definePolyfillProvider(e){return(0,s.declare)(((r,t,s)=>{r.assertVersion(7);const{traverse:n}=r;let o;const u=(0,l.applyMissingDependenciesDefaults)(t,r);const{debug:p,method:f,targets:y,provider:g,providerName:h,callProvider:b}=instantiateProvider(e,t,u,s,(()=>o),r);const x=f==="entry-global"?c.entry:c.usage;const v=g.visitor?n.visitors.merge([x(b),g.visitor]):x(b);if(p&&p!==i.presetEnvSilentDebugHeader){console.log(`${h}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,i.stringifyTargetsMultiline)(y)}`);console.log(`\nUsing polyfills with \`${f}\` method:`)}const{runtimeName:j}=g;return{name:"inject-polyfills",visitor:v,pre(e){var r;if(j){if(e.get("runtimeHelpersModuleName")&&e.get("runtimeHelpersModuleName")!==j){console.warn(`Two different polyfill providers`+` (${e.get("runtimeHelpersModuleProvider")}`+` and ${h}) are trying to define two`+` conflicting @babel/runtime alternatives:`+` ${e.get("runtimeHelpersModuleName")} and ${j}.`+` The second one will be ignored.`)}else{e.set("runtimeHelpersModuleName",j);e.set("runtimeHelpersModuleProvider",h)}}o={polyfills:new Set,polyfillsSupport:undefined,found:false,providers:new Set,missingDeps:new Set};(r=g.pre)==null?void 0:r.apply(this,arguments)},post(){var e;(e=g.post)==null?void 0:e.apply(this,arguments);if(u!==false){if(u.log==="per-file"){d.logMissing(o.missingDeps)}else{d.laterLogMissing(o.missingDeps)}}if(!p)return;if(this.filename)console.log(`\n[${this.filename}]`);if(o.polyfills.size===0){console.log(f==="entry-global"?o.found?`Based on your targets, the ${h} polyfill did not add any polyfill.`:`The entry point for the ${h} polyfill has not been found.`:`Based on your code and targets, the ${h} polyfill did not add any polyfill.`);return}if(f==="entry-global"){console.log(`The ${h} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${h} polyfill added the following polyfills:`)}for(const e of o.polyfills){var r;if((r=o.polyfillsSupport)!=null&&r[e]){const r=(0,a.getInclusionReasons)(e,y,o.polyfillsSupport);const t=JSON.stringify(r).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${t}`)}else{console.log(` ${e}`)}}}}}))}function mapGetOr(e,r,t){let s=e.get(r);if(s===undefined){s=t();e.set(r,s)}return s}function isEmpty(e){return Object.keys(e).length===0}},8926:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=createMetaResolver;var s=t(3970);const a=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:r,instance:t,global:n}=e;return e=>{if(e.kind==="global"&&n&&(0,s.has)(n,e.name)){return{kind:"global",desc:n[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:o,object:i,key:l}=e;if(i&&o==="static"){if(n&&a.has(i)&&(0,s.has)(n,l)){return{kind:"global",desc:n[l],name:l}}if(r&&(0,s.has)(r,i)&&(0,s.has)(r[i],l)){return{kind:"static",desc:r[i][l],name:`${i}$${l}`}}}if(t&&(0,s.has)(t,l)){return{kind:"instance",desc:t[l],name:`${l}`}}}}}},9275:(e,r,t)=>{"use strict";r.__esModule=true;r.has=has;r.laterLogMissing=laterLogMissing;r.logMissing=logMissing;r.resolve=resolve;var s=_interopRequireDefault(t(1017));var a=_interopRequireDefault(t(3079));var n=_interopRequireDefault(t(5066));var o=t(8188);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=parseFloat(process.versions.node)>=8.9;function myResolve(e,r){if(i){return require.resolve(e,{paths:[r]}).replace(/\\/g,"/")}else{return n.default.sync(e,{basedir:r}).replace(/\\/g,"/")}}function resolve(e,r,t){if(t===false)return r;let a=e;if(typeof t==="string"){a=s.default.resolve(a,t)}try{return myResolve(r,a)}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;throw Object.assign(new Error(`Failed to resolve "${r}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:r,dirname:e})}}function has(e,r){try{myResolve(r,e);return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const r=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${r}\n`+`\tyarn add ${r}\n`);process.exitCode=1}let l=new Set;const c=(0,a.default)((()=>{logMissing(l);l=new Set}),100);function laterLogMissing(e){if(e.size===0)return;e.forEach((e=>l.add(e)));c()}},9667:(e,r,t)=>{"use strict";r.__esModule=true;r.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;r.validateIncludeExclude=validateIncludeExclude;var s=t(3970);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,r){if(!r.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+r.map((e=>` ${String(e)}\n`)).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,(e=>` ${e}\n`)).join("")}function validateIncludeExclude(e,r,t,a){let n;const filter=e=>{const t=patternToRegExp(e);if(!t)return false;let s=false;for(const e of r){if(t.test(e)){s=true;n.add(e)}}return!s};const o=n=new Set;const i=Array.from(t).filter(filter);const l=n=new Set;const c=Array.from(a).filter(filter);const d=(0,s.intersection)(o,l);if(d.size>0||i.length>0||c.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",i)+buildUnusedError("exclude",c)+buldDuplicatesError(d))}return{include:o,exclude:l}}function applyMissingDependenciesDefaults(e,r){const{missingDependencies:t={}}=e;if(t===false)return false;const s=r.caller((e=>e==null?void 0:e.name));const{log:a="deferred",inject:n=(s==="rollup-plugin-babel"?"throw":"import"),all:o=false}=t;return{log:a,inject:n,all:o}}},3970:(e,r,t)=>{"use strict";r.__esModule=true;r.createUtilsGetter=createUtilsGetter;r.getImportSource=getImportSource;r.getRequireSource=getRequireSource;r.has=has;r.intersection=intersection;r.resolveKey=resolveKey;r.resolveSource=resolveSource;var s=_interopRequireWildcard(t(8304));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:a,template:n}=s.default||s;function intersection(e,r){const t=new Set;e.forEach((e=>r.has(e)&&t.add(e)));return t}function has(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:r}=e.evaluate();if(r&&r.isIdentifier()){return r.node.name}}function resolveKey(e,r=false){const{scope:t}=e;if(e.isStringLiteral())return e.node.value;const s=e.isIdentifier();if(s&&!(r||e.parent.computed)){return e.node.name}if(r&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!t.hasBinding("Symbol",true)){const r=resolveKey(e.get("property"),e.node.computed);if(r)return"Symbol."+r}if(!s||t.hasBinding(e.node.name,true)){const{value:r}=e.evaluate();if(typeof r==="string")return r}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const r=resolveId(e.get("object"));if(r){return{id:r,placement:"prototype"}}return{id:null,placement:null}}const r=resolveId(e);if(r){return{id:r,placement:"static"}}const{value:t}=e.evaluate();if(t!==undefined){return{id:getType(t),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!a.isExpressionStatement(e))return;const{expression:r}=e;if(a.isCallExpression(r)&&a.isIdentifier(r.callee)&&r.callee.name==="require"&&r.arguments.length===1&&a.isStringLiteral(r.arguments[0])){return r.arguments[0].value}}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return r=>{const t=r.findParent((e=>e.isProgram()));return{injectGlobalImport(r){e.storeAnonymous(t,r,((e,r)=>e?n.statement.ast`require(${r})`:a.importDeclaration([],r)))},injectNamedImport(r,s,o=s){return e.storeNamed(t,r,s,((e,r,s)=>{const i=t.scope.generateUidIdentifier(o);return{node:e?hoist(n.statement.ast` + var ${i} = require(${r}).${s} + `):a.importDeclaration([a.importSpecifier(i,s)],r),name:i.name}}))},injectDefaultImport(r,s=r){return e.storeNamed(t,r,"default",((e,r)=>{const o=t.scope.generateUidIdentifier(s);return{node:e?hoist(n.statement.ast`var ${o} = require(${r})`):a.importDeclaration([a.importDefaultSpecifier(o)],r),name:o.name}}))}}}}},1919:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>({ImportDeclaration(r){const t=(0,s.getImportSource)(r);if(!t)return;e({kind:"import",source:t},r)},Program(r){r.get("body").forEach((r=>{const t=(0,s.getRequireSource)(r);if(!t)return;e({kind:"import",source:t},r)}))}});r["default"]=_default},264:(e,r,t)=>{"use strict";r.__esModule=true;r.usage=r.entry=void 0;var s=_interopRequireDefault(t(8850));r.usage=s.default;var a=_interopRequireDefault(t(1919));r.entry=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},8850:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>{function property(r,t,s,a){return e({kind:"property",object:r,key:t,placement:s},a)}return{ReferencedIdentifier(r){const{node:{name:t},scope:s}=r;if(s.getBindingIdentifier(t))return;e({kind:"global",name:t},r)},MemberExpression(e){const r=(0,s.resolveKey)(e.get("property"),e.node.computed);if(!r||r==="prototype")return;const t=e.get("object");if(t.isIdentifier()){const e=t.scope.getBinding(t.node.name);if(e&&e.path.isImportNamespaceSpecifier())return}const a=(0,s.resolveSource)(t);return property(a.id,r,a.placement,e)},ObjectPattern(e){const{parentPath:r,parent:t}=e;let a;if(r.isVariableDeclarator()){a=r.get("init")}else if(r.isAssignmentExpression()){a=r.get("right")}else if(r.isFunction()){const s=r.parentPath;if(s.isCallExpression()||s.isNewExpression()){if(s.node.callee===t){a=s.get("arguments")[e.key]}}}let n=null;let o=null;if(a)({id:n,placement:o}=(0,s.resolveSource)(a));for(const r of e.get("properties")){if(r.isObjectProperty()){const e=(0,s.resolveKey)(r.get("key"));if(e)property(n,e,o,r)}}},BinaryExpression(r){if(r.node.operator!=="in")return;const t=(0,s.resolveSource)(r.get("right"));const a=(0,s.resolveKey)(r.get("left"),true);if(!a)return;e({kind:"in",object:t.id,key:a,placement:t.placement},r)}}};r["default"]=_default},3975:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-async-generators",manipulateOptions(e,r){r.plugins.push("asyncGenerators")}}}));r["default"]=a},799:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-bigint",manipulateOptions(e,r){r.plugins.push("bigInt")}}}));r["default"]=a},3412:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-properties",manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}}));r["default"]=a},5491:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-static-block",manipulateOptions(e,r){r.plugins.push("classStaticBlock")}}}));r["default"]=a},7802:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,r){r.plugins.push("dynamicImport")}}}));r["default"]=a},301:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,r){r.plugins.push("exportNamespaceFrom")}}}));r["default"]=a},8845:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-meta",manipulateOptions(e,r){r.plugins.push("importMeta")}}}));r["default"]=a},915:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,r){r.plugins.push("jsonStrings")}}}));r["default"]=a},647:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,r){r.plugins.push("logicalAssignment")}}}));r["default"]=a},7779:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,r){r.plugins.push("nullishCoalescingOperator")}}}));r["default"]=a},4100:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,r){r.plugins.push("numericSeparator")}}}));r["default"]=a},3322:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,r){r.plugins.push("objectRestSpread")}}}));r["default"]=a},3720:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,r){r.plugins.push("optionalCatchBinding")}}}));r["default"]=a},9430:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,r){r.plugins.push("optionalChaining")}}}));r["default"]=a},6775:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-private-property-in-object",manipulateOptions(e,r){r.plugins.push("privateIn")}}}));r["default"]=a},1712:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,r){r.plugins.push("topLevelAwait")}}}));r["default"]=a},8256:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;const t={allowInsertArrow:false,specCompliant:false};var _default=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(r){if(r.node.async&&r.findParent(e.isClassMethod)){r.arrowFunctionToExpression(t)}}}});r["default"]=_default;e.exports=r.default},4516:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>{const isArrowParent=r=>r.parentKey==="params"&&r.parentPath&&e.isArrowFunctionExpression(r.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const r=e.find(isArrowParent);if(r&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};r["default"]=_default;e.exports=r.default},3693:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(r){if(!r.node.id&&e.isIdentifier(r.parent.id)){const t=e.cloneNode(r.parent.id);const s=r.scope.getBinding(t.name);if(s==null?void 0:s.constantViolations.length){r.scope.rename(t.name)}r.node.id=t}}}}});r["default"]=_default;e.exports=r.default},3032:(e,r)=>{"use strict";r.__esModule=true;r["default"]=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(r){const t=r.parent.kind;if(t!=="let"&&t!=="const")return;const s=r.scope.block;if(e.isFunction(s)||e.isProgram(s))return;const a=e.getOuterBindingIdentifiers(r.node.id);for(const t of Object.keys(a)){let s=r.scope;if(!s.hasOwnBinding(t))continue;while(s=s.parent){if(s.hasOwnBinding(t)){r.scope.rename(t);break}if(e.isFunction(s.block)||e.isProgram(s.block)){break}}}}}}}e.exports=r.default},449:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;function handle(e){if(!e.isVariableDeclaration())return;const r=e.getFunctionParent();const{name:t}=e.node.declarations[0].id;if(r&&r.scope.hasOwnBinding(t)&&r.scope.getOwnBinding(t).kind==="param"){e.scope.rename(t)}}var _default=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});r["default"]=_default;e.exports=r.default},3057:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(r,t){let s=t.get("processed");if(!s){s=new WeakSet;t.set("processed",s)}if(s.has(r.node))return r.skip();const a=r.node.quasi.expressions;let n=t.get("identity");if(!n){n=r.scope.getProgramParent().generateDeclaredUidIdentifier("_");t.set("identity",n);const s=r.scope.getBinding(n.name);s.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const o=e.taggedTemplateExpression(e.cloneNode(n),e.templateLiteral(r.node.quasi.quasis,a.map((()=>e.numericLiteral(0)))));s.add(o);const i=r.scope.getProgramParent().generateDeclaredUidIdentifier("t");r.scope.getBinding(i.name).path.parent.kind="let";const l=e.logicalExpression("||",i,e.assignmentExpression("=",e.cloneNode(i),o));const c=e.callExpression(r.node.tag,[l,...a]);r.replaceWith(c)}}});r["default"]=_default;e.exports=r.default},8684:function(e,r,t){e=t.nmd(e); +/*! + * regjsgen 0.5.2 + * Copyright 2014-2020 Benjamin Tan <https://ofcr.se/> + * Available under the MIT license <https://github.com/bnjmnt4n/regjsgen/blob/master/LICENSE-MIT.txt> + */(function(){"use strict";var t={function:true,object:true};var s=t[typeof window]&&window||this;var a=t[typeof r]&&r&&!r.nodeType&&r;var n=t["object"]&&e&&!e.nodeType;var o=a&&n&&typeof global=="object"&&global;if(o&&(o.global===o||o.window===o||o.self===o)){s=o}var i=Object.prototype.hasOwnProperty;function fromCodePoint(){var e=Number(arguments[0]);if(!isFinite(e)||e<0||e>1114111||Math.floor(e)!=e){throw RangeError("Invalid code point: "+e)}if(e<=65535){return String.fromCharCode(e)}else{e-=65536;var r=(e>>10)+55296;var t=e%1024+56320;return String.fromCharCode(r,t)}}var l={};function assertType(e,r){if(r.indexOf("|")==-1){if(e==r){return}throw Error("Invalid node type: "+e+"; expected type: "+r)}r=i.call(l,r)?l[r]:l[r]=RegExp("^(?:"+r+")$");if(r.test(e)){return}throw Error("Invalid node type: "+e+"; expected types: "+r)}function generate(e){var r=e.type;if(i.call(d,r)){return d[r](e)}throw Error("Invalid node type: "+r)}function generateSequence(e,r,t){var s=-1,a=r.length,n="",o;while(++s<a){o=r[s];if(t&&s>0)n+=t;if(s+1<a&&r[s].type=="value"&&r[s].kind=="null"&&r[s+1].type=="value"&&r[s+1].kind=="symbol"&&r[s+1].codePoint>=48&&r[s+1].codePoint<=57){n+="\\000";continue}n+=e(o)}return n}function generateAlternative(e){assertType(e.type,"alternative");return generateSequence(generateTerm,e.body)}function generateAnchor(e){assertType(e.type,"anchor");switch(e.kind){case"start":return"^";case"end":return"$";case"boundary":return"\\b";case"not-boundary":return"\\B";default:throw Error("Invalid assertion")}}var c="anchor|characterClass|characterClassEscape|dot|group|reference|unicodePropertyEscape|value";function generateAtom(e){assertType(e.type,c);return generate(e)}function generateCharacterClass(e){assertType(e.type,"characterClass");var r=e.kind;var t=r==="intersection"?"&&":r==="subtraction"?"--":"";return"["+(e.negative?"^":"")+generateSequence(generateClassAtom,e.body,t)+"]"}function generateCharacterClassEscape(e){assertType(e.type,"characterClassEscape");return"\\"+e.value}function generateCharacterClassRange(e){assertType(e.type,"characterClassRange");var r=e.min,t=e.max;if(r.type=="characterClassRange"||t.type=="characterClassRange"){throw Error("Invalid character class range")}return generateClassAtom(r)+"-"+generateClassAtom(t)}function generateClassAtom(e){assertType(e.type,"anchor|characterClass|characterClassEscape|characterClassRange|dot|value|unicodePropertyEscape|classStrings");return generate(e)}function generateClassStrings(e){assertType(e.type,"classStrings");return"\\q{"+generateSequence(generateClassString,e.strings,"|")+"}"}function generateClassString(e){assertType(e.type,"classString");return generateSequence(generate,e.characters)}function generateDisjunction(e){assertType(e.type,"disjunction");return generateSequence(generate,e.body,"|")}function generateDot(e){assertType(e.type,"dot");return"."}function generateGroup(e){assertType(e.type,"group");var r="";switch(e.behavior){case"normal":if(e.name){r+="?<"+generateIdentifier(e.name)+">"}break;case"ignore":if(e.modifierFlags){r+="?";if(e.modifierFlags.enabling)r+=e.modifierFlags.enabling;if(e.modifierFlags.disabling)r+="-"+e.modifierFlags.disabling;r+=":"}else{r+="?:"}break;case"lookahead":r+="?=";break;case"negativeLookahead":r+="?!";break;case"lookbehind":r+="?<=";break;case"negativeLookbehind":r+="?<!";break;default:throw Error("Invalid behaviour: "+e.behaviour)}r+=generateSequence(generate,e.body);return"("+r+")"}function generateIdentifier(e){assertType(e.type,"identifier");return e.value}function generateQuantifier(e){assertType(e.type,"quantifier");var r="",t=e.min,s=e.max;if(s==null){if(t==0){r="*"}else if(t==1){r="+"}else{r="{"+t+",}"}}else if(t==s){r="{"+t+"}"}else if(t==0&&s==1){r="?"}else{r="{"+t+","+s+"}"}if(!e.greedy){r+="?"}return generateAtom(e.body[0])+r}function generateReference(e){assertType(e.type,"reference");if(e.matchIndex){return"\\"+e.matchIndex}if(e.name){return"\\k<"+generateIdentifier(e.name)+">"}throw new Error("Unknown reference type")}function generateTerm(e){assertType(e.type,c+"|empty|quantifier");return generate(e)}function generateUnicodePropertyEscape(e){assertType(e.type,"unicodePropertyEscape");return"\\"+(e.negative?"P":"p")+"{"+e.value+"}"}function generateValue(e){assertType(e.type,"value");var r=e.kind,t=e.codePoint;if(typeof t!="number"){throw new Error("Invalid code point: "+t)}switch(r){case"controlLetter":return"\\c"+fromCodePoint(t+64);case"hexadecimalEscape":return"\\x"+("00"+t.toString(16).toUpperCase()).slice(-2);case"identifier":return"\\"+fromCodePoint(t);case"null":return"\\"+t;case"octal":return"\\"+("000"+t.toString(8)).slice(-3);case"singleEscape":switch(t){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 11:return"\\v";case 12:return"\\f";case 13:return"\\r";case 45:return"\\-";default:throw Error("Invalid code point: "+t)}case"symbol":return fromCodePoint(t);case"unicodeEscape":return"\\u"+("0000"+t.toString(16).toUpperCase()).slice(-4);case"unicodeCodePointEscape":return"\\u{"+t.toString(16).toUpperCase()+"}";default:throw Error("Unsupported node kind: "+r)}}var d={alternative:generateAlternative,anchor:generateAnchor,characterClass:generateCharacterClass,characterClassEscape:generateCharacterClassEscape,characterClassRange:generateCharacterClassRange,classStrings:generateClassStrings,disjunction:generateDisjunction,dot:generateDot,group:generateGroup,quantifier:generateQuantifier,reference:generateReference,unicodePropertyEscape:generateUnicodePropertyEscape,value:generateValue};var u={generate:generate};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return u}));s.regjsgen=u}else if(a&&n){a.generate=generate}else{s.regjsgen=u}}).call(this)},8535:(e,r,t)=>{"use strict";e=t.nmd(e);const s=t(9054);const wrapAnsi16=(e,r)=>function(){const t=e.apply(s,arguments);return`[${t+r}m`};const wrapAnsi256=(e,r)=>function(){const t=e.apply(s,arguments);return`[${38+r};5;${t}m`};const wrapAnsi16m=(e,r)=>function(){const t=e.apply(s,arguments);return`[${38+r};2;${t[0]};${t[1]};${t[2]}m`};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],gray:[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.grey=r.color.gray;for(const t of Object.keys(r)){const s=r[t];for(const t of Object.keys(s)){const a=s[t];r[t]={open:`[${a[0]}m`,close:`[${a[1]}m`};s[t]=r[t];e.set(a[0],a[1])}Object.defineProperty(r,t,{value:s,enumerable:false});Object.defineProperty(r,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,r,t)=>[e,r,t];r.color.close="";r.bgColor.close="";r.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};r.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};r.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};r.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};r.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};r.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(s)){if(typeof s[e]!=="object"){continue}const t=s[e];if(e==="ansi16"){e="ansi"}if("ansi16"in t){r.color.ansi[e]=wrapAnsi16(t.ansi16,0);r.bgColor.ansi[e]=wrapAnsi16(t.ansi16,10)}if("ansi256"in t){r.color.ansi256[e]=wrapAnsi256(t.ansi256,0);r.bgColor.ansi256[e]=wrapAnsi256(t.ansi256,10)}if("rgb"in t){r.color.ansi16m[e]=wrapAnsi16m(t.rgb,0);r.bgColor.ansi16m[e]=wrapAnsi16m(t.rgb,10)}}return r}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},9891:(e,r)=>{"use strict";r.__esModule=true;r["default"]=_default;function _extends(){_extends=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var s in t){if(Object.prototype.hasOwnProperty.call(t,s)){e[s]=t[s]}}}return e};return _extends.apply(this,arguments)}const t={"web.timers":{},"web.immediate":{},"web.dom.iterable":{}};const s={"es6.parse-float":{},"es6.parse-int":{},"es7.string.at":{}};function _default(e,r,a){const n=Object.keys(e);const o=!n.length;const i=n.some((e=>e!=="node"));return _extends({},a,r==="usage-pure"?s:null,o||i?t:null)}},5331:(e,r,t)=>{"use strict";r.__esModule=true;r.StaticProperties=r.InstanceProperties=r.CommonIterators=r.BuiltIns=void 0;var s=_interopRequireDefault(t(8626));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const define=(e,r,t=[],s)=>({name:e,pure:r,global:t,meta:s});const pureAndGlobal=(e,r,t=null)=>define(r[0],e,r,{minRuntimeVersion:t});const globalOnly=e=>define(e[0],null,e);const pureOnly=(e,r)=>define(r,e,[]);const a=["es6.object.to-string","es6.array.iterator","web.dom.iterable"];const n=["es6.string.iterator",...a];r.CommonIterators=n;const o=["es6.object.to-string","es6.promise"];const i={DataView:globalOnly(["es6.typed.data-view"]),Float32Array:globalOnly(["es6.typed.float32-array"]),Float64Array:globalOnly(["es6.typed.float64-array"]),Int8Array:globalOnly(["es6.typed.int8-array"]),Int16Array:globalOnly(["es6.typed.int16-array"]),Int32Array:globalOnly(["es6.typed.int32-array"]),Map:pureAndGlobal("map",["es6.map",...n]),Number:globalOnly(["es6.number.constructor"]),Promise:pureAndGlobal("promise",o),RegExp:globalOnly(["es6.regexp.constructor"]),Set:pureAndGlobal("set",["es6.set",...n]),Symbol:pureAndGlobal("symbol/index",["es6.symbol"]),Uint8Array:globalOnly(["es6.typed.uint8-array"]),Uint8ClampedArray:globalOnly(["es6.typed.uint8-clamped-array"]),Uint16Array:globalOnly(["es6.typed.uint16-array"]),Uint32Array:globalOnly(["es6.typed.uint32-array"]),WeakMap:pureAndGlobal("weak-map",["es6.weak-map",...n]),WeakSet:pureAndGlobal("weak-set",["es6.weak-set",...n]),setImmediate:pureOnly("set-immediate","web.immediate"),clearImmediate:pureOnly("clear-immediate","web.immediate"),parseFloat:pureOnly("parse-float","es6.parse-float"),parseInt:pureOnly("parse-int","es6.parse-int")};r.BuiltIns=i;const l={__defineGetter__:globalOnly(["es7.object.define-getter"]),__defineSetter__:globalOnly(["es7.object.define-setter"]),__lookupGetter__:globalOnly(["es7.object.lookup-getter"]),__lookupSetter__:globalOnly(["es7.object.lookup-setter"]),anchor:globalOnly(["es6.string.anchor"]),big:globalOnly(["es6.string.big"]),bind:globalOnly(["es6.function.bind"]),blink:globalOnly(["es6.string.blink"]),bold:globalOnly(["es6.string.bold"]),codePointAt:globalOnly(["es6.string.code-point-at"]),copyWithin:globalOnly(["es6.array.copy-within"]),endsWith:globalOnly(["es6.string.ends-with"]),entries:globalOnly(a),every:globalOnly(["es6.array.every"]),fill:globalOnly(["es6.array.fill"]),filter:globalOnly(["es6.array.filter"]),finally:globalOnly(["es7.promise.finally",...o]),find:globalOnly(["es6.array.find"]),findIndex:globalOnly(["es6.array.find-index"]),fixed:globalOnly(["es6.string.fixed"]),flags:globalOnly(["es6.regexp.flags"]),flatMap:globalOnly(["es7.array.flat-map"]),fontcolor:globalOnly(["es6.string.fontcolor"]),fontsize:globalOnly(["es6.string.fontsize"]),forEach:globalOnly(["es6.array.for-each"]),includes:globalOnly(["es6.string.includes","es7.array.includes"]),indexOf:globalOnly(["es6.array.index-of"]),italics:globalOnly(["es6.string.italics"]),keys:globalOnly(a),lastIndexOf:globalOnly(["es6.array.last-index-of"]),link:globalOnly(["es6.string.link"]),map:globalOnly(["es6.array.map"]),match:globalOnly(["es6.regexp.match"]),name:globalOnly(["es6.function.name"]),padStart:globalOnly(["es7.string.pad-start"]),padEnd:globalOnly(["es7.string.pad-end"]),reduce:globalOnly(["es6.array.reduce"]),reduceRight:globalOnly(["es6.array.reduce-right"]),repeat:globalOnly(["es6.string.repeat"]),replace:globalOnly(["es6.regexp.replace"]),search:globalOnly(["es6.regexp.search"]),small:globalOnly(["es6.string.small"]),some:globalOnly(["es6.array.some"]),sort:globalOnly(["es6.array.sort"]),split:globalOnly(["es6.regexp.split"]),startsWith:globalOnly(["es6.string.starts-with"]),strike:globalOnly(["es6.string.strike"]),sub:globalOnly(["es6.string.sub"]),sup:globalOnly(["es6.string.sup"]),toISOString:globalOnly(["es6.date.to-iso-string"]),toJSON:globalOnly(["es6.date.to-json"]),toString:globalOnly(["es6.object.to-string","es6.date.to-string","es6.regexp.to-string"]),trim:globalOnly(["es6.string.trim"]),trimEnd:globalOnly(["es7.string.trim-right"]),trimLeft:globalOnly(["es7.string.trim-left"]),trimRight:globalOnly(["es7.string.trim-right"]),trimStart:globalOnly(["es7.string.trim-left"]),values:globalOnly(a)};r.InstanceProperties=l;if("es6.array.slice"in s.default){l.slice=globalOnly(["es6.array.slice"])}const c={Array:{from:pureAndGlobal("array/from",["es6.symbol","es6.array.from",...n]),isArray:pureAndGlobal("array/is-array",["es6.array.is-array"]),of:pureAndGlobal("array/of",["es6.array.of"])},Date:{now:pureAndGlobal("date/now",["es6.date.now"])},JSON:{stringify:pureOnly("json/stringify","es6.symbol")},Math:{acosh:pureAndGlobal("math/acosh",["es6.math.acosh"],"7.0.1"),asinh:pureAndGlobal("math/asinh",["es6.math.asinh"],"7.0.1"),atanh:pureAndGlobal("math/atanh",["es6.math.atanh"],"7.0.1"),cbrt:pureAndGlobal("math/cbrt",["es6.math.cbrt"],"7.0.1"),clz32:pureAndGlobal("math/clz32",["es6.math.clz32"],"7.0.1"),cosh:pureAndGlobal("math/cosh",["es6.math.cosh"],"7.0.1"),expm1:pureAndGlobal("math/expm1",["es6.math.expm1"],"7.0.1"),fround:pureAndGlobal("math/fround",["es6.math.fround"],"7.0.1"),hypot:pureAndGlobal("math/hypot",["es6.math.hypot"],"7.0.1"),imul:pureAndGlobal("math/imul",["es6.math.imul"],"7.0.1"),log1p:pureAndGlobal("math/log1p",["es6.math.log1p"],"7.0.1"),log10:pureAndGlobal("math/log10",["es6.math.log10"],"7.0.1"),log2:pureAndGlobal("math/log2",["es6.math.log2"],"7.0.1"),sign:pureAndGlobal("math/sign",["es6.math.sign"],"7.0.1"),sinh:pureAndGlobal("math/sinh",["es6.math.sinh"],"7.0.1"),tanh:pureAndGlobal("math/tanh",["es6.math.tanh"],"7.0.1"),trunc:pureAndGlobal("math/trunc",["es6.math.trunc"],"7.0.1")},Number:{EPSILON:pureAndGlobal("number/epsilon",["es6.number.epsilon"]),MIN_SAFE_INTEGER:pureAndGlobal("number/min-safe-integer",["es6.number.min-safe-integer"]),MAX_SAFE_INTEGER:pureAndGlobal("number/max-safe-integer",["es6.number.max-safe-integer"]),isFinite:pureAndGlobal("number/is-finite",["es6.number.is-finite"]),isInteger:pureAndGlobal("number/is-integer",["es6.number.is-integer"]),isSafeInteger:pureAndGlobal("number/is-safe-integer",["es6.number.is-safe-integer"]),isNaN:pureAndGlobal("number/is-nan",["es6.number.is-nan"]),parseFloat:pureAndGlobal("number/parse-float",["es6.number.parse-float"]),parseInt:pureAndGlobal("number/parse-int",["es6.number.parse-int"])},Object:{assign:pureAndGlobal("object/assign",["es6.object.assign"]),create:pureAndGlobal("object/create",["es6.object.create"]),defineProperties:pureAndGlobal("object/define-properties",["es6.object.define-properties"]),defineProperty:pureAndGlobal("object/define-property",["es6.object.define-property"]),entries:pureAndGlobal("object/entries",["es7.object.entries"]),freeze:pureAndGlobal("object/freeze",["es6.object.freeze"]),getOwnPropertyDescriptor:pureAndGlobal("object/get-own-property-descriptor",["es6.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:pureAndGlobal("object/get-own-property-descriptors",["es7.object.get-own-property-descriptors"]),getOwnPropertyNames:pureAndGlobal("object/get-own-property-names",["es6.object.get-own-property-names"]),getOwnPropertySymbols:pureAndGlobal("object/get-own-property-symbols",["es6.symbol"]),getPrototypeOf:pureAndGlobal("object/get-prototype-of",["es6.object.get-prototype-of"]),is:pureAndGlobal("object/is",["es6.object.is"]),isExtensible:pureAndGlobal("object/is-extensible",["es6.object.is-extensible"]),isFrozen:pureAndGlobal("object/is-frozen",["es6.object.is-frozen"]),isSealed:pureAndGlobal("object/is-sealed",["es6.object.is-sealed"]),keys:pureAndGlobal("object/keys",["es6.object.keys"]),preventExtensions:pureAndGlobal("object/prevent-extensions",["es6.object.prevent-extensions"]),seal:pureAndGlobal("object/seal",["es6.object.seal"]),setPrototypeOf:pureAndGlobal("object/set-prototype-of",["es6.object.set-prototype-of"]),values:pureAndGlobal("object/values",["es7.object.values"])},Promise:{all:globalOnly(n),race:globalOnly(n)},Reflect:{apply:pureAndGlobal("reflect/apply",["es6.reflect.apply"]),construct:pureAndGlobal("reflect/construct",["es6.reflect.construct"]),defineProperty:pureAndGlobal("reflect/define-property",["es6.reflect.define-property"]),deleteProperty:pureAndGlobal("reflect/delete-property",["es6.reflect.delete-property"]),get:pureAndGlobal("reflect/get",["es6.reflect.get"]),getOwnPropertyDescriptor:pureAndGlobal("reflect/get-own-property-descriptor",["es6.reflect.get-own-property-descriptor"]),getPrototypeOf:pureAndGlobal("reflect/get-prototype-of",["es6.reflect.get-prototype-of"]),has:pureAndGlobal("reflect/has",["es6.reflect.has"]),isExtensible:pureAndGlobal("reflect/is-extensible",["es6.reflect.is-extensible"]),ownKeys:pureAndGlobal("reflect/own-keys",["es6.reflect.own-keys"]),preventExtensions:pureAndGlobal("reflect/prevent-extensions",["es6.reflect.prevent-extensions"]),set:pureAndGlobal("reflect/set",["es6.reflect.set"]),setPrototypeOf:pureAndGlobal("reflect/set-prototype-of",["es6.reflect.set-prototype-of"])},String:{at:pureOnly("string/at","es7.string.at"),fromCodePoint:pureAndGlobal("string/from-code-point",["es6.string.from-code-point"]),raw:pureAndGlobal("string/raw",["es6.string.raw"])},Symbol:{asyncIterator:globalOnly(["es6.symbol","es7.symbol.async-iterator"]),for:pureOnly("symbol/for","es6.symbol"),hasInstance:pureOnly("symbol/has-instance","es6.symbol"),isConcatSpreadable:pureOnly("symbol/is-concat-spreadable","es6.symbol"),iterator:define("es6.symbol","symbol/iterator",n),keyFor:pureOnly("symbol/key-for","es6.symbol"),match:pureAndGlobal("symbol/match",["es6.regexp.match"]),replace:pureOnly("symbol/replace","es6.symbol"),search:pureOnly("symbol/search","es6.symbol"),species:pureOnly("symbol/species","es6.symbol"),split:pureOnly("symbol/split","es6.symbol"),toPrimitive:pureOnly("symbol/to-primitive","es6.symbol"),toStringTag:pureOnly("symbol/to-string-tag","es6.symbol"),unscopables:pureOnly("symbol/unscopables","es6.symbol")}};r.StaticProperties=c},7524:(e,r,t)=>{"use strict";r.__esModule=true;r.hasMinVersion=hasMinVersion;var s=_interopRequireDefault(t(7849));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hasMinVersion(e,r){if(!r||!e)return true;if(s.default.valid(r))r=`^${r}`;return!s.default.intersects(`<${e}`,r)&&!s.default.intersects(`>=8.0.0`,r)}},7300:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=_interopRequireDefault(t(8626));var a=t(5331);var n=_interopRequireDefault(t(9891));var o=t(7524);var i=_interopRequireDefault(t(4992));var l=_interopRequireWildcard(t(8304));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const{types:c}=l.default||l;const d="@babel/runtime-corejs2";const u="#__secret_key__@babel/preset-env__compatibility";const p="#__secret_key__@babel/runtime__compatibility";const f=Function.call.bind(Object.hasOwnProperty);var y=(0,i.default)((function(e,{[u]:{entryInjectRegenerator:r=false,noRuntimeName:t=false}={},[p]:{useBabelRuntime:i=false,runtimeVersion:l="",ext:y=".js"}={}}){const g=e.createMetaResolver({global:a.BuiltIns,static:a.StaticProperties,instance:a.InstanceProperties});const{debug:h,shouldInjectPolyfill:b,method:x}=e;const v=(0,n.default)(e.targets,x,s.default);const j=i?`${d}/core-js`:x==="usage-pure"?"core-js/library/fn":"core-js/modules";function inject(e,r){if(typeof e==="string"){if(f(v,e)&&b(e)){h(e);r.injectGlobalImport(`${j}/${e}.js`)}return}e.forEach((e=>inject(e,r)))}function maybeInjectPure(e,r,t){let{pure:s,meta:a,name:n}=e;if(!s||!b(n))return;if(l&&a&&a.minRuntimeVersion&&!(0,o.hasMinVersion)(a&&a.minRuntimeVersion,l)){return}if(i&&s==="symbol/index")s="symbol";return t.injectDefaultImport(`${j}/${s}${y}`,r)}return{name:"corejs2",runtimeName:t?null:d,polyfills:v,entryGlobal(e,t,s){if(e.kind==="import"&&e.source==="core-js"){h(null);inject(Object.keys(v),t);if(r){t.injectGlobalImport("regenerator-runtime/runtime.js")}s.remove()}},usageGlobal(e,r){const t=g(e);if(!t)return;let s=t.desc.global;if(t.kind!=="global"&&"object"in e&&e.object&&e.placement==="prototype"){const r=e.object.toLowerCase();s=s.filter((e=>e.includes(r)))}inject(s,r)},usagePure(e,r,t){if(e.kind==="in"){if(e.key==="Symbol.iterator"){t.replaceWith(c.callExpression(r.injectDefaultImport(`${j}/is-iterable${y}`,"isIterable"),[t.node.right]))}return}if(t.parentPath.isUnaryExpression({operator:"delete"}))return;if(e.kind==="property"){if(!t.isMemberExpression())return;if(!t.isReferenced())return;if(e.key==="Symbol.iterator"&&b("es6.symbol")&&t.parentPath.isCallExpression({callee:t.node})&&t.parentPath.node.arguments.length===0){t.parentPath.replaceWith(c.callExpression(r.injectDefaultImport(`${j}/get-iterator${y}`,"getIterator"),[t.node.object]));t.skip();return}}const s=g(e);if(!s)return;const a=maybeInjectPure(s.desc,s.name,r);if(a)t.replaceWith(a)},visitor:x==="usage-global"&&{YieldExpression(r){if(r.node.delegate){inject("web.dom.iterable",e.getUtils(r))}},"ForOfStatement|ArrayPattern"(r){a.CommonIterators.forEach((t=>inject(t,e.getUtils(r))))}}}}));r["default"]=y},2803:(e,r,t)=>{e.exports=t(7618)},662:(e,r,t)=>{e.exports=t(4996)},7159:(e,r,t)=>{e.exports=t(9747)},3599:(e,r,t)=>{"use strict";r.__esModule=true;r.StaticProperties=r.PromiseDependenciesWithIterators=r.PromiseDependencies=r.InstanceProperties=r.CommonIterators=r.BuiltIns=void 0;var s=_interopRequireDefault(t(2803));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a={};Object.keys(s.default).forEach(((e,r)=>{a[e]=r}));const define=(e,r,t=r[0],s)=>({name:t,pure:e,global:r.sort(((e,r)=>a[e]-a[r])),exclude:s});const typed=e=>define(null,[e,...u]);const n=["es.array.iterator","web.dom-collections.iterator"];const o=["es.string.iterator",...n];r.CommonIterators=o;const i=["es.object.to-string",...n];const l=["es.object.to-string",...o];const c=["es.error.cause","es.error.to-string"];const d=["esnext.suppressed-error.constructor",...c];const u=["es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.object.to-string","es.array.iterator","es.array-buffer.slice","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.typed-array.filter-reject","esnext.typed-array.group-by","esnext.typed-array.to-spliced","esnext.typed-array.unique-by"];const p=["es.promise","es.object.to-string"];r.PromiseDependencies=p;const f=[...p,...o];r.PromiseDependenciesWithIterators=f;const y=["es.symbol","es.symbol.description","es.object.to-string"];const g=["es.map","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.includes","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update",...l];const h=["es.set","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.difference.v2","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.intersection","esnext.set.intersection.v2","esnext.set.is-disjoint-from","esnext.set.is-disjoint-from.v2","esnext.set.is-subset-of","esnext.set.is-subset-of.v2","esnext.set.is-superset-of","esnext.set.is-superset-of.v2","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.symmetric-difference.v2","esnext.set.union","esnext.set.union.v2",...l];const b=["es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.emplace",...l];const x=["es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all",...l];const v=["web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","es.error.to-string"];const j=["web.url-search-params","web.url-search-params.size",...l];const w=["esnext.async-iterator.constructor",...p];const E=["esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some"];const _=["esnext.iterator.constructor","es.object.to-string"];const S={from:define(null,["es.typed-array.from"]),fromAsync:define(null,["esnext.typed-array.from-async",...f]),of:define(null,["es.typed-array.of"])};const k={AsyncDisposableStack:define("async-disposable-stack",["esnext.async-disposable-stack.constructor","es.object.to-string","esnext.async-iterator.async-dispose","esnext.iterator.dispose",...p,...d]),AsyncIterator:define("async-iterator/index",w),AggregateError:define("aggregate-error",["es.aggregate-error",...c,...l,"es.aggregate-error.cause"]),ArrayBuffer:define(null,["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"]),DataView:define(null,["es.data-view","es.array-buffer.slice","es.object.to-string"]),Date:define(null,["es.date.to-string"]),DOMException:define("dom-exception",v),DisposableStack:define("disposable-stack",["esnext.disposable-stack.constructor","es.object.to-string","esnext.iterator.dispose",...d]),Error:define(null,c),EvalError:define(null,c),Float32Array:typed("es.typed-array.float32-array"),Float64Array:typed("es.typed-array.float64-array"),Int8Array:typed("es.typed-array.int8-array"),Int16Array:typed("es.typed-array.int16-array"),Int32Array:typed("es.typed-array.int32-array"),Iterator:define("iterator/index",_),Uint8Array:typed("es.typed-array.uint8-array"),Uint8ClampedArray:typed("es.typed-array.uint8-clamped-array"),Uint16Array:typed("es.typed-array.uint16-array"),Uint32Array:typed("es.typed-array.uint32-array"),Map:define("map/index",g),Number:define(null,["es.number.constructor"]),Observable:define("observable/index",["esnext.observable","esnext.symbol.observable","es.object.to-string",...l]),Promise:define("promise/index",p),RangeError:define(null,c),ReferenceError:define(null,c),Reflect:define(null,["es.reflect.to-string-tag","es.object.to-string"]),RegExp:define(null,["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky","es.regexp.to-string"]),Set:define("set/index",h),SuppressedError:define("suppressed-error",d),Symbol:define("symbol/index",y),SyntaxError:define(null,c),TypeError:define(null,c),URIError:define(null,c),URL:define("url/index",["web.url",...j]),URLSearchParams:define("url-search-params/index",j),WeakMap:define("weak-map/index",b),WeakSet:define("weak-set/index",x),atob:define("atob",["web.atob",...v]),btoa:define("btoa",["web.btoa",...v]),clearImmediate:define("clear-immediate",["web.immediate"]),compositeKey:define("composite-key",["esnext.composite-key"]),compositeSymbol:define("composite-symbol",["esnext.composite-symbol"]),escape:define("escape",["es.escape"]),fetch:define(null,p),globalThis:define("global-this",["es.global-this"]),parseFloat:define("parse-float",["es.parse-float"]),parseInt:define("parse-int",["es.parse-int"]),queueMicrotask:define("queue-microtask",["web.queue-microtask"]),self:define("self",["web.self"]),setImmediate:define("set-immediate",["web.immediate"]),setInterval:define("set-interval",["web.timers"]),setTimeout:define("set-timeout",["web.timers"]),structuredClone:define("structured-clone",["web.structured-clone",...v,"es.array.iterator","es.object.keys","es.object.to-string","es.map","es.set"]),unescape:define("unescape",["es.unescape"])};r.BuiltIns=k;const C={AsyncIterator:{from:define("async-iterator/from",["esnext.async-iterator.from",...w,...E,...o])},Array:{from:define("array/from",["es.array.from","es.string.iterator"]),fromAsync:define("array/from-async",["esnext.array.from-async",...f]),isArray:define("array/is-array",["es.array.is-array"]),isTemplateObject:define("array/is-template-object",["esnext.array.is-template-object"]),of:define("array/of",["es.array.of"])},ArrayBuffer:{isView:define(null,["es.array-buffer.is-view"])},BigInt:{range:define("bigint/range",["esnext.bigint.range","es.object.to-string"])},Date:{now:define("date/now",["es.date.now"])},Function:{isCallable:define("function/is-callable",["esnext.function.is-callable"]),isConstructor:define("function/is-constructor",["esnext.function.is-constructor"])},Iterator:{from:define("iterator/from",["esnext.iterator.from",..._,...o]),range:define("iterator/range",["esnext.iterator.range","es.object.to-string"])},JSON:{isRawJSON:define("json/is-raw-json",["esnext.json.is-raw-json"]),parse:define("json/parse",["esnext.json.parse","es.object.keys"]),rawJSON:define("json/raw-json",["esnext.json.raw-json","es.object.create","es.object.freeze"]),stringify:define("json/stringify",["es.json.stringify"],"es.symbol")},Math:{DEG_PER_RAD:define("math/deg-per-rad",["esnext.math.deg-per-rad"]),RAD_PER_DEG:define("math/rad-per-deg",["esnext.math.rad-per-deg"]),acosh:define("math/acosh",["es.math.acosh"]),asinh:define("math/asinh",["es.math.asinh"]),atanh:define("math/atanh",["es.math.atanh"]),cbrt:define("math/cbrt",["es.math.cbrt"]),clamp:define("math/clamp",["esnext.math.clamp"]),clz32:define("math/clz32",["es.math.clz32"]),cosh:define("math/cosh",["es.math.cosh"]),degrees:define("math/degrees",["esnext.math.degrees"]),expm1:define("math/expm1",["es.math.expm1"]),fround:define("math/fround",["es.math.fround"]),fscale:define("math/fscale",["esnext.math.fscale"]),hypot:define("math/hypot",["es.math.hypot"]),iaddh:define("math/iaddh",["esnext.math.iaddh"]),imul:define("math/imul",["es.math.imul"]),imulh:define("math/imulh",["esnext.math.imulh"]),isubh:define("math/isubh",["esnext.math.isubh"]),log10:define("math/log10",["es.math.log10"]),log1p:define("math/log1p",["es.math.log1p"]),log2:define("math/log2",["es.math.log2"]),radians:define("math/radians",["esnext.math.radians"]),scale:define("math/scale",["esnext.math.scale"]),seededPRNG:define("math/seeded-prng",["esnext.math.seeded-prng"]),sign:define("math/sign",["es.math.sign"]),signbit:define("math/signbit",["esnext.math.signbit"]),sinh:define("math/sinh",["es.math.sinh"]),tanh:define("math/tanh",["es.math.tanh"]),trunc:define("math/trunc",["es.math.trunc"]),umulh:define("math/umulh",["esnext.math.umulh"])},Map:{from:define(null,["esnext.map.from",...g]),groupBy:define(null,["esnext.map.group-by",...g]),keyBy:define(null,["esnext.map.key-by",...g]),of:define(null,["esnext.map.of",...g])},Number:{EPSILON:define("number/epsilon",["es.number.epsilon"]),MAX_SAFE_INTEGER:define("number/max-safe-integer",["es.number.max-safe-integer"]),MIN_SAFE_INTEGER:define("number/min-safe-integer",["es.number.min-safe-integer"]),fromString:define("number/from-string",["esnext.number.from-string"]),isFinite:define("number/is-finite",["es.number.is-finite"]),isInteger:define("number/is-integer",["es.number.is-integer"]),isNaN:define("number/is-nan",["es.number.is-nan"]),isSafeInteger:define("number/is-safe-integer",["es.number.is-safe-integer"]),parseFloat:define("number/parse-float",["es.number.parse-float"]),parseInt:define("number/parse-int",["es.number.parse-int"]),range:define("number/range",["esnext.number.range","es.object.to-string"])},Object:{assign:define("object/assign",["es.object.assign"]),create:define("object/create",["es.object.create"]),defineProperties:define("object/define-properties",["es.object.define-properties"]),defineProperty:define("object/define-property",["es.object.define-property"]),entries:define("object/entries",["es.object.entries"]),freeze:define("object/freeze",["es.object.freeze"]),fromEntries:define("object/from-entries",["es.object.from-entries","es.array.iterator"]),getOwnPropertyDescriptor:define("object/get-own-property-descriptor",["es.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:define("object/get-own-property-descriptors",["es.object.get-own-property-descriptors"]),getOwnPropertyNames:define("object/get-own-property-names",["es.object.get-own-property-names"]),getOwnPropertySymbols:define("object/get-own-property-symbols",["es.symbol"]),getPrototypeOf:define("object/get-prototype-of",["es.object.get-prototype-of"]),hasOwn:define("object/has-own",["es.object.has-own"]),is:define("object/is",["es.object.is"]),isExtensible:define("object/is-extensible",["es.object.is-extensible"]),isFrozen:define("object/is-frozen",["es.object.is-frozen"]),isSealed:define("object/is-sealed",["es.object.is-sealed"]),keys:define("object/keys",["es.object.keys"]),preventExtensions:define("object/prevent-extensions",["es.object.prevent-extensions"]),seal:define("object/seal",["es.object.seal"]),setPrototypeOf:define("object/set-prototype-of",["es.object.set-prototype-of"]),values:define("object/values",["es.object.values"])},Promise:{all:define(null,f),allSettled:define(null,["es.promise.all-settled",...f]),any:define(null,["es.promise.any","es.aggregate-error",...f]),race:define(null,f),try:define(null,["esnext.promise.try",...f])},Reflect:{apply:define("reflect/apply",["es.reflect.apply"]),construct:define("reflect/construct",["es.reflect.construct"]),defineMetadata:define("reflect/define-metadata",["esnext.reflect.define-metadata"]),defineProperty:define("reflect/define-property",["es.reflect.define-property"]),deleteMetadata:define("reflect/delete-metadata",["esnext.reflect.delete-metadata"]),deleteProperty:define("reflect/delete-property",["es.reflect.delete-property"]),get:define("reflect/get",["es.reflect.get"]),getMetadata:define("reflect/get-metadata",["esnext.reflect.get-metadata"]),getMetadataKeys:define("reflect/get-metadata-keys",["esnext.reflect.get-metadata-keys"]),getOwnMetadata:define("reflect/get-own-metadata",["esnext.reflect.get-own-metadata"]),getOwnMetadataKeys:define("reflect/get-own-metadata-keys",["esnext.reflect.get-own-metadata-keys"]),getOwnPropertyDescriptor:define("reflect/get-own-property-descriptor",["es.reflect.get-own-property-descriptor"]),getPrototypeOf:define("reflect/get-prototype-of",["es.reflect.get-prototype-of"]),has:define("reflect/has",["es.reflect.has"]),hasMetadata:define("reflect/has-metadata",["esnext.reflect.has-metadata"]),hasOwnMetadata:define("reflect/has-own-metadata",["esnext.reflect.has-own-metadata"]),isExtensible:define("reflect/is-extensible",["es.reflect.is-extensible"]),metadata:define("reflect/metadata",["esnext.reflect.metadata"]),ownKeys:define("reflect/own-keys",["es.reflect.own-keys"]),preventExtensions:define("reflect/prevent-extensions",["es.reflect.prevent-extensions"]),set:define("reflect/set",["es.reflect.set"]),setPrototypeOf:define("reflect/set-prototype-of",["es.reflect.set-prototype-of"])},Set:{from:define(null,["esnext.set.from",...h]),of:define(null,["esnext.set.of",...h])},String:{cooked:define("string/cooked",["esnext.string.cooked"]),dedent:define("string/dedent",["esnext.string.dedent","es.string.from-code-point","es.weak-map"]),fromCodePoint:define("string/from-code-point",["es.string.from-code-point"]),raw:define("string/raw",["es.string.raw"])},Symbol:{asyncDispose:define("symbol/async-dispose",["esnext.symbol.async-dispose","esnext.async-iterator.async-dispose"]),asyncIterator:define("symbol/async-iterator",["es.symbol.async-iterator"]),dispose:define("symbol/dispose",["esnext.symbol.dispose","esnext.iterator.dispose"]),for:define("symbol/for",[],"es.symbol"),hasInstance:define("symbol/has-instance",["es.symbol.has-instance","es.function.has-instance"]),isConcatSpreadable:define("symbol/is-concat-spreadable",["es.symbol.is-concat-spreadable","es.array.concat"]),isRegistered:define("symbol/is-registered",["esnext.symbol.is-registered","es.symbol"]),isWellKnown:define("symbol/is-well-known",["esnext.symbol.is-well-known","es.symbol"]),iterator:define("symbol/iterator",["es.symbol.iterator",...l]),keyFor:define("symbol/key-for",[],"es.symbol"),match:define("symbol/match",["es.symbol.match","es.string.match"]),matcher:define("symbol/matcher",["esnext.symbol.matcher"]),matchAll:define("symbol/match-all",["es.symbol.match-all","es.string.match-all"]),metadata:define("symbol/metadata",["esnext.symbol.metadata"]),metadataKey:define("symbol/metadata-key",["esnext.symbol.metadata-key"]),observable:define("symbol/observable",["esnext.symbol.observable"]),patternMatch:define("symbol/pattern-match",["esnext.symbol.pattern-match"]),replace:define("symbol/replace",["es.symbol.replace","es.string.replace"]),search:define("symbol/search",["es.symbol.search","es.string.search"]),species:define("symbol/species",["es.symbol.species","es.array.species"]),split:define("symbol/split",["es.symbol.split","es.string.split"]),toPrimitive:define("symbol/to-primitive",["es.symbol.to-primitive","es.date.to-primitive"]),toStringTag:define("symbol/to-string-tag",["es.symbol.to-string-tag","es.object.to-string","es.math.to-string-tag","es.json.to-string-tag"]),unscopables:define("symbol/unscopables",["es.symbol.unscopables"])},URL:{canParse:define("url/can-parse",["web.url.can-parse","web.url"])},WeakMap:{from:define(null,["esnext.weak-map.from",...b]),of:define(null,["esnext.weak-map.of",...b])},WeakSet:{from:define(null,["esnext.weak-set.from",...x]),of:define(null,["esnext.weak-set.of",...x])},Int8Array:S,Uint8Array:S,Uint8ClampedArray:S,Int16Array:S,Uint16Array:S,Int32Array:S,Uint32Array:S,Float32Array:S,Float64Array:S,WebAssembly:{CompileError:define(null,c),LinkError:define(null,c),RuntimeError:define(null,c)}};r.StaticProperties=C;const P={asIndexedPairs:define("instance/asIndexedPairs",["esnext.async-iterator.as-indexed-pairs",...w,"esnext.iterator.as-indexed-pairs",..._]),at:define("instance/at",["esnext.string.at","es.string.at-alternative","es.array.at"]),anchor:define(null,["es.string.anchor"]),big:define(null,["es.string.big"]),bind:define("instance/bind",["es.function.bind"]),blink:define(null,["es.string.blink"]),bold:define(null,["es.string.bold"]),codePointAt:define("instance/code-point-at",["es.string.code-point-at"]),codePoints:define("instance/code-points",["esnext.string.code-points"]),concat:define("instance/concat",["es.array.concat"],undefined,["String"]),copyWithin:define("instance/copy-within",["es.array.copy-within"]),demethodize:define("instance/demethodize",["esnext.function.demethodize"]),description:define(null,["es.symbol","es.symbol.description"]),dotAll:define(null,["es.regexp.dot-all"]),drop:define("instance/drop",["esnext.async-iterator.drop",...w,"esnext.iterator.drop",..._]),emplace:define("instance/emplace",["esnext.map.emplace","esnext.weak-map.emplace"]),endsWith:define("instance/ends-with",["es.string.ends-with"]),entries:define("instance/entries",i),every:define("instance/every",["es.array.every","esnext.async-iterator.every","esnext.iterator.every",..._]),exec:define(null,["es.regexp.exec"]),fill:define("instance/fill",["es.array.fill"]),filter:define("instance/filter",["es.array.filter","esnext.async-iterator.filter","esnext.iterator.filter",..._]),filterReject:define("instance/filterReject",["esnext.array.filter-reject"]),finally:define(null,["es.promise.finally",...p]),find:define("instance/find",["es.array.find","esnext.async-iterator.find","esnext.iterator.find",..._]),findIndex:define("instance/find-index",["es.array.find-index"]),findLast:define("instance/find-last",["es.array.find-last"]),findLastIndex:define("instance/find-last-index",["es.array.find-last-index"]),fixed:define(null,["es.string.fixed"]),flags:define("instance/flags",["es.regexp.flags"]),flatMap:define("instance/flat-map",["es.array.flat-map","es.array.unscopables.flat-map","esnext.async-iterator.flat-map","esnext.iterator.flat-map",..._]),flat:define("instance/flat",["es.array.flat","es.array.unscopables.flat"]),getYear:define(null,["es.date.get-year"]),group:define("instance/group",["esnext.array.group"]),groupBy:define("instance/group-by",["esnext.array.group-by"]),groupByToMap:define("instance/group-by-to-map",["esnext.array.group-by-to-map","es.map","es.object.to-string"]),groupToMap:define("instance/group-to-map",["esnext.array.group-to-map","es.map","es.object.to-string"]),fontcolor:define(null,["es.string.fontcolor"]),fontsize:define(null,["es.string.fontsize"]),forEach:define("instance/for-each",["es.array.for-each","esnext.async-iterator.for-each","esnext.iterator.for-each",..._,"web.dom-collections.for-each"]),includes:define("instance/includes",["es.array.includes","es.string.includes"]),indexed:define("instance/indexed",["esnext.async-iterator.indexed",...w,"esnext.iterator.indexed",..._]),indexOf:define("instance/index-of",["es.array.index-of"]),isWellFormed:define("instance/is-well-formed",["esnext.string.is-well-formed"]),italic:define(null,["es.string.italics"]),join:define(null,["es.array.join"]),keys:define("instance/keys",i),lastIndex:define(null,["esnext.array.last-index"]),lastIndexOf:define("instance/last-index-of",["es.array.last-index-of"]),lastItem:define(null,["esnext.array.last-item"]),link:define(null,["es.string.link"]),map:define("instance/map",["es.array.map","esnext.async-iterator.map","esnext.iterator.map"]),match:define(null,["es.string.match","es.regexp.exec"]),matchAll:define("instance/match-all",["es.string.match-all","es.regexp.exec"]),name:define(null,["es.function.name"]),padEnd:define("instance/pad-end",["es.string.pad-end"]),padStart:define("instance/pad-start",["es.string.pad-start"]),push:define("instance/push",["es.array.push"]),reduce:define("instance/reduce",["es.array.reduce","esnext.async-iterator.reduce","esnext.iterator.reduce",..._]),reduceRight:define("instance/reduce-right",["es.array.reduce-right"]),repeat:define("instance/repeat",["es.string.repeat"]),replace:define(null,["es.string.replace","es.regexp.exec"]),replaceAll:define("instance/replace-all",["es.string.replace-all","es.string.replace","es.regexp.exec"]),reverse:define("instance/reverse",["es.array.reverse"]),search:define(null,["es.string.search","es.regexp.exec"]),setYear:define(null,["es.date.set-year"]),slice:define("instance/slice",["es.array.slice"]),small:define(null,["es.string.small"]),some:define("instance/some",["es.array.some","esnext.async-iterator.some","esnext.iterator.some",..._]),sort:define("instance/sort",["es.array.sort"]),splice:define("instance/splice",["es.array.splice"]),split:define(null,["es.string.split","es.regexp.exec"]),startsWith:define("instance/starts-with",["es.string.starts-with"]),sticky:define(null,["es.regexp.sticky"]),strike:define(null,["es.string.strike"]),sub:define(null,["es.string.sub"]),substr:define(null,["es.string.substr"]),sup:define(null,["es.string.sup"]),take:define("instance/take",["esnext.async-iterator.take",...w,"esnext.iterator.take",..._]),test:define(null,["es.regexp.test","es.regexp.exec"]),toArray:define("instance/to-array",["esnext.async-iterator.to-array",...w,"esnext.iterator.to-array",..._]),toAsync:define(null,["esnext.iterator.to-async",..._,...w,...E]),toExponential:define(null,["es.number.to-exponential"]),toFixed:define(null,["es.number.to-fixed"]),toGMTString:define(null,["es.date.to-gmt-string"]),toISOString:define(null,["es.date.to-iso-string"]),toJSON:define(null,["es.date.to-json","web.url.to-json"]),toPrecision:define(null,["es.number.to-precision"]),toReversed:define("instance/to-reversed",["es.array.to-reversed"]),toSorted:define("instance/to-sorted",["es.array.to-sorted","es.array.sort"]),toSpliced:define("instance/to-spliced",["es.array.to-spliced"]),toString:define(null,["es.object.to-string","es.error.to-string","es.date.to-string","es.regexp.to-string"]),toWellFormed:define("instance/to-well-formed",["esnext.string.to-well-formed"]),trim:define("instance/trim",["es.string.trim"]),trimEnd:define("instance/trim-end",["es.string.trim-end"]),trimLeft:define("instance/trim-left",["es.string.trim-start"]),trimRight:define("instance/trim-right",["es.string.trim-end"]),trimStart:define("instance/trim-start",["es.string.trim-start"]),uniqueBy:define("instance/unique-by",["esnext.array.unique-by","es.map"]),unshift:define("instance/unshift",["es.array.unshift"]),unThis:define("instance/un-this",["esnext.function.un-this"]),values:define("instance/values",i),with:define("instance/with",["es.array.with"]),__defineGetter__:define(null,["es.object.define-getter"]),__defineSetter__:define(null,["es.object.define-setter"]),__lookupGetter__:define(null,["es.object.lookup-getter"]),__lookupSetter__:define(null,["es.object.lookup-setter"]),["__proto__"]:define(null,["es.object.proto"])};r.InstanceProperties=P},6427:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=_interopRequireDefault(t(2803));var a=_interopRequireDefault(t(7293));var n=_interopRequireDefault(t(7159));var o=t(3599);var i=_interopRequireDefault(t(7112));var l=_interopRequireWildcard(t(8304));var c=t(3658);var d=_interopRequireDefault(t(4992));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){_extends=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var s in t){if(Object.prototype.hasOwnProperty.call(t,s)){e[s]=t[s]}}}return e};return _extends.apply(this,arguments)}const{types:u}=l.default||l;const p="#__secret_key__@babel/preset-env__compatibility";const f="#__secret_key__@babel/runtime__compatibility";const y=["array","string","iterator","async-iterator","dom-collections"].map((e=>new RegExp(`[a-z]*\\.${e}\\..*`)));const esnextFallback=(e,r)=>{if(r(e))return true;if(!e.startsWith("es."))return false;const t=`esnext.${e.slice(3)}`;if(!s.default[t])return false;return r(t)};var g=(0,d.default)((function({getUtils:e,method:r,shouldInjectPolyfill:t,createMetaResolver:l,debug:d,babel:g},{version:h=3,proposals:b,shippedProposals:x,[p]:{noRuntimeName:v=false}={},[f]:{useBabelRuntime:j=false,ext:w=".js"}={}}){const E=g.caller((e=>(e==null?void 0:e.name)==="babel-loader"));const _=l({global:o.BuiltIns,static:o.StaticProperties,instance:o.InstanceProperties});const S=new Set((0,n.default)(h));function getCoreJSPureBase(e){return j?e?`${c.BABEL_RUNTIME}/core-js`:`${c.BABEL_RUNTIME}/core-js-stable`:e?"core-js-pure/features":"core-js-pure/stable"}function maybeInjectGlobalImpl(e,r){if(t(e)){d(e);r.injectGlobalImport((0,c.coreJSModule)(e));return true}return false}function maybeInjectGlobal(e,r,t=true){for(const s of e){if(t){esnextFallback(s,(e=>maybeInjectGlobalImpl(e,r)))}else{maybeInjectGlobalImpl(s,r)}}}function maybeInjectPure(e,r,s,a){if(e.pure&&!(a&&e.exclude&&e.exclude.includes(a))&&esnextFallback(e.name,t)){const{name:t}=e;let a=false;if(b||x&&t.startsWith("esnext.")){a=true}else if(t.startsWith("es.")&&!S.has(t)){a=true}const n=getCoreJSPureBase(a);return s.injectDefaultImport(`${n}/${e.pure}${w}`,r)}}function isFeatureStable(e){if(e.startsWith("esnext.")){const r=`es.${e.slice(7)}`;return r in s.default}return true}return{name:"corejs3",runtimeName:v?null:c.BABEL_RUNTIME,polyfills:s.default,filterPolyfills(e){if(!S.has(e))return false;if(b||r==="entry-global")return true;if(x&&a.default.has(e)){return true}return isFeatureStable(e)},entryGlobal(e,r,s){if(e.kind!=="import")return;const a=(0,c.isCoreJSSource)(e.source);if(!a)return;if(a.length===1&&e.source===(0,c.coreJSModule)(a[0])&&t(a[0])){d(null);return}const n=new Set(a);const o=a.filter((e=>{if(!e.startsWith("esnext."))return true;const r=e.replace("esnext.","es.");if(n.has(r)&&t(r)){return false}return true}));maybeInjectGlobal(o,r,false);s.remove()},usageGlobal(e,r,t){const s=_(e);if(!s)return;if((0,i.default)(s.desc,t))return;let a=s.desc.global;if(s.kind!=="global"&&"object"in e&&e.object&&e.placement==="prototype"){const r=e.object.toLowerCase();a=a.filter((e=>y.some((r=>r.test(e)))?e.includes(r):true))}maybeInjectGlobal(a,r)},usagePure(e,r,s){if(e.kind==="in"){if(e.key==="Symbol.iterator"){s.replaceWith(u.callExpression(r.injectDefaultImport((0,c.coreJSPureHelper)("is-iterable",j,w),"isIterable"),[s.node.right]))}return}if(s.parentPath.isUnaryExpression({operator:"delete"}))return;if(e.kind==="property"){if(!s.isMemberExpression())return;if(!s.isReferenced())return;if(s.parentPath.isUpdateExpression())return;if(u.isSuper(s.node.object)){return}if(e.key==="Symbol.iterator"){if(!t("es.symbol.iterator"))return;const{parent:e,node:a}=s;if(u.isCallExpression(e,{callee:a})){if(e.arguments.length===0){s.parentPath.replaceWith(u.callExpression(r.injectDefaultImport((0,c.coreJSPureHelper)("get-iterator",j,w),"getIterator"),[a.object]));s.skip()}else{(0,c.callMethod)(s,r.injectDefaultImport((0,c.coreJSPureHelper)("get-iterator-method",j,w),"getIteratorMethod"))}}else{s.replaceWith(u.callExpression(r.injectDefaultImport((0,c.coreJSPureHelper)("get-iterator-method",j,w),"getIteratorMethod"),[s.node.object]))}return}}let a=_(e);if(!a)return;if((0,i.default)(a.desc,s))return;if(j&&a.desc.pure&&a.desc.pure.slice(-6)==="/index"){a=_extends({},a,{desc:_extends({},a.desc,{pure:a.desc.pure.slice(0,-6)})})}if(a.kind==="global"){const e=maybeInjectPure(a.desc,a.name,r);if(e)s.replaceWith(e)}else if(a.kind==="static"){const t=maybeInjectPure(a.desc,a.name,r,e.object);if(t)s.replaceWith(t)}else if(a.kind==="instance"){const t=maybeInjectPure(a.desc,`${a.name}InstanceProperty`,r,e.object);if(!t)return;const{node:n}=s;if(u.isCallExpression(s.parent,{callee:n})){(0,c.callMethod)(s,t)}else{s.replaceWith(u.callExpression(t,[n.object]))}}},visitor:r==="usage-global"&&{CallExpression(r){if(r.get("callee").isImport()){const t=e(r);if(E){maybeInjectGlobal(o.PromiseDependenciesWithIterators,t)}else{maybeInjectGlobal(o.PromiseDependencies,t)}}},Function(r){if(r.node.async){maybeInjectGlobal(o.PromiseDependencies,e(r))}},"ForOfStatement|ArrayPattern"(r){maybeInjectGlobal(o.CommonIterators,e(r))},SpreadElement(r){if(!r.parentPath.isObjectExpression()){maybeInjectGlobal(o.CommonIterators,e(r))}},YieldExpression(r){if(r.node.delegate){maybeInjectGlobal(o.CommonIterators,e(r))}}}}}));r["default"]=g},7293:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var t=new Set(["esnext.array.from-async","esnext.array.group","esnext.array.group-to-map","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.set.difference.v2","esnext.set.intersection.v2","esnext.set.is-disjoint-from.v2","esnext.set.is-subset-of.v2","esnext.set.is-superset-of.v2","esnext.set.symmetric-difference.v2","esnext.set.union.v2","esnext.string.is-well-formed","esnext.string.to-well-formed"]);r["default"]=t},7112:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=canSkipPolyfill;var s=_interopRequireWildcard(t(8304));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:a}=s.default||s;function canSkipPolyfill(e,r){const{node:t,parent:s}=r;switch(e.name){case"es.string.split":{if(!a.isCallExpression(s,{callee:t}))return false;if(s.arguments.length<1)return true;const e=s.arguments[0];return a.isStringLiteral(e)||a.isTemplateLiteral(e)}}}},3658:(e,r,t)=>{"use strict";r.__esModule=true;r.BABEL_RUNTIME=void 0;r.callMethod=callMethod;r.coreJSModule=coreJSModule;r.coreJSPureHelper=coreJSPureHelper;r.isCoreJSSource=isCoreJSSource;var s=_interopRequireWildcard(t(8304));var a=_interopRequireDefault(t(662));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:n}=s.default||s;const o="@babel/runtime-corejs3";r.BABEL_RUNTIME=o;function callMethod(e,r){const{object:t}=e.node;let s,a;if(n.isIdentifier(t)){s=t;a=n.cloneNode(t)}else{s=e.scope.generateDeclaredUidIdentifier("context");a=n.assignmentExpression("=",n.cloneNode(s),t)}e.replaceWith(n.memberExpression(n.callExpression(r,[a]),n.identifier("call")));e.parentPath.unshiftContainer("arguments",s)}function isCoreJSSource(e){if(typeof e==="string"){e=e.replace(/\\/g,"/").replace(/(\/(index)?)?(\.js)?$/i,"").toLowerCase()}return Object.prototype.hasOwnProperty.call(a.default,e)&&a.default[e]}function coreJSModule(e){return`core-js/modules/${e}.js`}function coreJSPureHelper(e,r,t){return r?`${o}/core-js/${e}${t}`:`core-js-pure/features/${e}.js`}},9373:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=_interopRequireDefault(t(4992));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a="#__secret_key__@babel/runtime__compatibility";var n=(0,s.default)((({debug:e,targets:r,babel:t},s)=>{if(!shallowEqual(r,t.targets())){throw new Error("This plugin does not use the targets option. Only preset-env's targets"+" or top-level targets need to be configured for this plugin to work."+" See https://github.com/babel/babel-polyfills/issues/36 for more"+" details.")}const{[a]:{useBabelRuntime:n=false}={}}=s;return{name:"regenerator",polyfills:["regenerator-runtime"],usageGlobal(r,t){if(isRegenerator(r)){e("regenerator-runtime");t.injectGlobalImport("regenerator-runtime/runtime.js")}},usagePure(e,r,t){if(isRegenerator(e)){let e="regenerator-runtime";if(n){var s;const r=(s=t.hub.file.get("runtimeHelpersModuleName"))!=null?s:"@babel/runtime";e=`${r}/regenerator`}t.replaceWith(r.injectDefaultImport(e,"regenerator-runtime"))}}}}));r["default"]=n;const isRegenerator=e=>e.kind==="global"&&e.name==="regeneratorRuntime";function shallowEqual(e,r){return JSON.stringify(e)===JSON.stringify(r)}},2099:(e,r,t)=>{"use strict";const s=t(6491);const{get:a,has:n,find:o}=t(1788);const getSortedObjectPaths=e=>{if(!e){return[]}return s(e).paths().filter((e=>e.length)).map((e=>e.join("."))).sort(((e,r)=>r.length-e.length))};const replaceAndEvaluateNode=(e,r,t)=>{r.replaceWith(e(t));if(r.parentPath.isBinaryExpression()){const t=r.parentPath.evaluate();if(t.confident){r.parentPath.replaceWith(e(t.value))}}};const processNode=(e,r,t,s)=>{const i=o(getSortedObjectPaths(e),(e=>s(r,e)));if(n(e,i)){replaceAndEvaluateNode(t,r,a(e,i))}};const memberExpressionComparator=(e,r)=>e.matchesPattern(r);const identifierComparator=(e,r)=>e.node.name===r;const unaryExpressionComparator=(e,r)=>e.node.argument.name===r;const i="typeof ";const plugin=function({types:e}){return{visitor:{MemberExpression(r,t){processNode(t.opts,r,e.valueToNode,memberExpressionComparator)},Identifier(r,t){processNode(t.opts,r,e.valueToNode,identifierComparator)},UnaryExpression(r,t){if(r.node.operator!=="typeof"){return}const{opts:s}=t;const a=Object.keys(s);const n={};a.forEach((e=>{if(e.substring(0,i.length)===i){n[e.substring(i.length)]=s[e]}}));processNode(n,r,e.valueToNode,unaryExpressionComparator)}}}};e.exports=plugin;e.exports["default"]=plugin;e.exports.getSortedObjectPaths=getSortedObjectPaths},9282:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=_interopRequireDefault(t(8504));var a=_interopRequireDefault(t(5259));var n=_interopRequireDefault(t(9616));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};var s=Object.keys(t);if(typeof Object.getOwnPropertySymbols==="function"){s=s.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))}s.forEach((function(r){_defineProperty(e,r,t[r])}))}return e}function _defineProperty(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function isPathReactClass(e,r){var t=e.node;var s=r.classNameMatchers;if(e.matchesPattern("React.Component")||e.matchesPattern("React.PureComponent")){return true}if(t&&(t.name==="Component"||t.name==="PureComponent")){return true}if(t&&s&&s.test(t.name)){return true}return false}function isReactClass(e,r,t){if(!e.node){return false}var s=false;if(isPathReactClass(e,t)){s=true}else if(e.node.name){var a=e.node.name;var n=r.getBinding(a);if(!n){s=false}else{var o=n.path.get("superClass");if(isPathReactClass(o,t)){s=true}}}return s}function areSetsEqual(e,r){if(e===r){return true}if(e.size!==r.size){return false}return!Array.from(e).some((function(e){return!r.has(e)}))}function memberExpressionRootIdentifier(e){var r=e.findParent((function(e){return!e.isMemberExpression()}));var t=r.node.type;var s;if(t==="ObjectProperty"){s=r.get("value")}if(!s||s.type!=="MemberExpression"){return null}while(s.node.object.type==="MemberExpression"){s=s.get("object")}return s.get("object")}function _default(e){var r=e.template,t=e.types,o=e.traverse;var i=new Set;var l=new WeakSet;var c={Identifier:function Identifier(e){if(e.parent.type==="MemberExpression"){var r=memberExpressionRootIdentifier(e);if(r){i.add(r.node.name)}return}if(e.parent.type==="ObjectProperty"&&(e.parent.key===e.node||e.parent.shorthand)){return}i.add(e.node.name)}};return{visitor:{Program:function Program(d,u){var p;var f;if(u.opts.ignoreFilenames){p=new RegExp(u.opts.ignoreFilenames.join("|"),"i")}else{p=undefined}if(u.opts.classNameMatchers){f=new RegExp(u.opts.classNameMatchers.join("|"))}else{f=undefined}var y={visitedKey:"transform-react-remove-prop-types".concat(Date.now()),unsafeWrapTemplate:r('\n if (process.env.NODE_ENV !== "production") {\n NODE;\n }\n ',{placeholderPattern:/^NODE$/}),wrapTemplate:function wrapTemplate(e){var s=e.LEFT,a=e.RIGHT;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=n.as,i=o===void 0?"assignmentExpression":o;var l=r.expression('\n process.env.NODE_ENV !== "production" ? RIGHT : {}\n ',{placeholderPattern:/^(LEFT|RIGHT)$/})({RIGHT:a});switch(i){case"variableDeclarator":return t.variableDeclarator(s,l);case"assignmentExpression":return t.assignmentExpression("=",s,l);default:throw new Error("unrecognized template type ".concat(i))}},mode:u.opts.mode||"remove",ignoreFilenames:p,types:t,removeImport:u.opts.removeImport||false,libraries:(u.opts.additionalLibraries||[]).concat("prop-types"),classNameMatchers:f,createReactClassName:u.opts.createReactClassName||"createReactClass"};if(u.opts.plugins){var g=u;var h=u.opts.plugins.map((function(r){var t=typeof r==="string"?r:r[0];if(typeof r!=="string"){g.opts=_objectSpread({},g.opts,r[1])}var s=require(t);if(typeof s!=="function"){s=s.default}return s(e).visitor}));o(d.parent,o.visitors.merge(h),d.scope,g,d.parentPath)}d.traverse({ObjectProperty:{exit:function exit(e){var r=e.node;if(r.computed||r.key.name!=="propTypes"){return}var t=e.findParent((function(e){if(e.type!=="CallExpression"){return false}return e.get("callee").node.name===y.createReactClassName||e.get("callee").node.property&&e.get("callee").node.property.name==="createClass"}));if(t){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"createClass"})}}},ClassProperty:function ClassProperty(e){var r=e.node,t=e.scope;if(r.key.name==="propTypes"){var s=t.path;if(isReactClass(s.get("superClass"),t,y)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"class static",pathClassDeclaration:s})}}},AssignmentExpression:function AssignmentExpression(e){var r=e.node,t=e.scope;if(r.left.computed||!r.left.property||r.left.property.name!=="propTypes"){return}var o=(0,s.default)(e.node.left);if(o){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"});return}var i=r.left.object.name;var d=t.getBinding(i);if(!d){return}if(d.path.isClassDeclaration()){var u=d.path.get("superClass");if(isReactClass(u,t,y)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"})}}else if((0,a.default)(d.path)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"})}}});var b=0;var x={VariableDeclarator:function VariableDeclarator(e){if(e.scope.block.type!=="Program"){return}if(["ObjectPattern","ArrayPattern"].includes(e.node.id.type)){return}var r=e.node.id.name;if(!i.has(r)){return}var t=e.scope.getBinding(r),s=t.referencePaths;var a=s.some((function(e){var r=e.find((function(e){return l.has(e)}));return!r}));if(a){b+=1;return}l.add(e);i.delete(r);e.get("init").traverse(c);(0,n.default)(e,y,{type:"declarator"})}};var v=new Set;while(!areSetsEqual(i,v)&&i.size>0&&b<i.size){v=new Set(i);b=0;d.scope.crawl();d.traverse(x)}if(y.removeImport){if(y.mode==="remove"){d.scope.crawl();d.traverse({ImportDeclaration:function ImportDeclaration(e){var r=e.node,t=r.source,s=r.specifiers;var a=y.libraries.some((function(e){if(e instanceof RegExp){return e.test(t.value)}return t.value===e}));if(!a){return}var n=s.some((function(r){var t=r.local.name;var s=e.scope.getBinding(t),a=s.referencePaths;return a.length>0}));if(!n){e.remove()}}})}else{throw new Error('transform-react-remove-prop-type: removeImport = true and mode != "remove" can not be used at the same time.')}}}}}}},8504:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isAnnotatedForRemoval;function isAnnotatedForRemoval(e){var r=e.trailingComments||[];return Boolean(r.find((function(e){var r=e.value;return r.trim()==="remove-proptypes"})))}},5259:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isStatelessComponent;var t=Symbol("traversed");function isJSXElementOrReactCreateElement(e){var r=false;e.traverse({CallExpression:function CallExpression(e){var t=e.get("callee");if(t.matchesPattern("React.createElement")||t.matchesPattern("React.cloneElement")||t.node.name==="cloneElement"){r=true}},JSXElement:function JSXElement(){r=true}});return r}function isReturningJSXElement(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;if(e.node.init&&e.node.init.body&&isJSXElementOrReactCreateElement(e)){return true}if(r>20){throw new Error("transform-react-remove-prop-type: infinite loop detected.")}var s=false;e.traverse({ReturnStatement:function ReturnStatement(a){if(s){return}var n=a.get("argument");if(!n.node){return}if(isJSXElementOrReactCreateElement(a)){s=true;return}if(n.node.type==="CallExpression"){var o=n.get("callee").node.name;var i=e.scope.getBinding(o);if(!i){return}if(i.path[t]){return}i.path[t]=true;if(isReturningJSXElement(i.path,r+1)){s=true}}}});return s}var s=["VariableDeclarator","FunctionDeclaration"];function isStatelessComponent(e){if(s.indexOf(e.node.type)===-1){return false}if(isReturningJSXElement(e)){return true}return false}},9616:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=remove;function isInside(e,r){if(!e.hub.file.opts){return true}var t=e.hub.file.opts.filename;if(!t){return true}if(!r){return false}return r.test(t)}function remove(e,r,t){var s=r.visitedKey,a=r.unsafeWrapTemplate,n=r.wrapTemplate,o=r.mode,i=r.ignoreFilenames,l=r.types;if(i&&isInside(e.scope,i)){return}if(e.node[s]){return}e.node[s]=true;if(o==="remove"){if(e.parentPath.type==="ConditionalExpression"){e.replaceWith(l.unaryExpression("void",l.numericLiteral(0)))}else{e.remove()}return}if(o==="wrap"||o==="unsafe-wrap"){switch(t.type){case"createClass":break;case"class static":{var c;var d=t.pathClassDeclaration;if(!d.isClassExpression()&&d.node.id){c=d.node.id}else{return}var u=l.expressionStatement(l.assignmentExpression("=",l.memberExpression(c,e.node.key),e.node.value));if(d.parentPath.isExportDeclaration()){d=d.parentPath}d.insertAfter(u);e.remove();break}case"assign":if(o==="unsafe-wrap"){e.replaceWith(a({NODE:e.node}))}else{e.replaceWith(n({LEFT:e.node.left,RIGHT:e.node.right}))}e.node[s]=true;break;case"declarator":e.replaceWith(n({LEFT:e.node.id,RIGHT:e.node.init},{as:"variableDeclarator"}));e.node[s]=true;break;default:break}return}throw new Error("transform-react-remove-prop-type: unsupported mode ".concat(o,"."))}},6148:(e,r,t)=>{"use strict";const s=t(7379);const a=t(8535);const n=t(7220).stdout;const o=t(5299);const i=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const c=new Set(["gray"]);const d=Object.create(null);function applyOptions(e,r){r=r||{};const t=n?n.level:0;e.level=r.level===undefined?t:r.level;e.enabled="enabled"in r?r.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const r={};applyOptions(r,e);r.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[r.template].concat(e))};Object.setPrototypeOf(r,Chalk.prototype);Object.setPrototypeOf(r.template,r);r.template.constructor=Chalk;return r.template}applyOptions(this,e)}if(i){a.blue.open=""}for(const e of Object.keys(a)){a[e].closeRe=new RegExp(s(a[e].close),"g");d[e]={get(){const r=a[e];return build.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}d.visible={get(){return build.call(this,this._styles||[],true,"visible")}};a.color.closeRe=new RegExp(s(a.color.close),"g");for(const e of Object.keys(a.color.ansi)){if(c.has(e)){continue}d[e]={get(){const r=this.level;return function(){const t=a.color[l[r]][e].apply(null,arguments);const s={open:t,close:a.color.close,closeRe:a.color.closeRe};return build.call(this,this._styles?this._styles.concat(s):[s],this._empty,e)}}}}a.bgColor.closeRe=new RegExp(s(a.bgColor.close),"g");for(const e of Object.keys(a.bgColor.ansi)){if(c.has(e)){continue}const r="bg"+e[0].toUpperCase()+e.slice(1);d[r]={get(){const r=this.level;return function(){const t=a.bgColor[l[r]][e].apply(null,arguments);const s={open:t,close:a.bgColor.close,closeRe:a.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(s):[s],this._empty,e)}}}}const u=Object.defineProperties((()=>{}),d);function build(e,r,t){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=r;const s=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return s.level},set(e){s.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return s.enabled},set(e){s.enabled=e}});builder.hasGrey=this.hasGrey||t==="gray"||t==="grey";builder.__proto__=u;return builder}function applyStyle(){const e=arguments;const r=e.length;let t=String(arguments[0]);if(r===0){return""}if(r>1){for(let s=1;s<r;s++){t+=" "+e[s]}}if(!this.enabled||this.level<=0||!t){return this._empty?"":t}const s=a.dim.open;if(i&&this.hasGrey){a.dim.open=""}for(const e of this._styles.slice().reverse()){t=e.open+t.replace(e.closeRe,e.open)+e.close;t=t.replace(/\r?\n/g,`${e.close}$&${e.open}`)}a.dim.open=s;return t}function chalkTag(e,r){if(!Array.isArray(r)){return[].slice.call(arguments,1).join(" ")}const t=[].slice.call(arguments,2);const s=[r.raw[0]];for(let e=1;e<r.length;e++){s.push(String(t[e-1]).replace(/[{}\\]/g,"\\$&"));s.push(String(r.raw[e]))}return o(e,s.join(""))}Object.defineProperties(Chalk.prototype,d);e.exports=Chalk();e.exports.supportsColor=n;e.exports["default"]=e.exports},5299:e=>{"use strict";const r=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const t=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const s=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const n=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return n.get(e)||e}function parseArguments(e,r){const t=[];const n=r.trim().split(/\s*,\s*/g);let o;for(const r of n){if(!isNaN(r)){t.push(Number(r))}else if(o=r.match(s)){t.push(o[2].replace(a,((e,r,t)=>r?unescape(r):t)))}else{throw new Error(`Invalid Chalk template style argument: ${r} (in style '${e}')`)}}return t}function parseStyle(e){t.lastIndex=0;const r=[];let s;while((s=t.exec(e))!==null){const e=s[1];if(s[2]){const t=parseArguments(e,s[2]);r.push([e].concat(t))}else{r.push([e])}}return r}function buildStyle(e,r){const t={};for(const e of r){for(const r of e.styles){t[r[0]]=e.inverse?null:r.slice(1)}}let s=e;for(const e of Object.keys(t)){if(Array.isArray(t[e])){if(!(e in s)){throw new Error(`Unknown Chalk style: ${e}`)}if(t[e].length>0){s=s[e].apply(s,t[e])}else{s=s[e]}}}return s}e.exports=(e,t)=>{const s=[];const a=[];let n=[];t.replace(r,((r,t,o,i,l,c)=>{if(t){n.push(unescape(t))}else if(i){const r=n.join("");n=[];a.push(s.length===0?r:buildStyle(e,s)(r));s.push({inverse:o,styles:parseStyle(i)})}else if(l){if(s.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(e,s)(n.join("")));n=[];s.pop()}else{n.push(c)}}));a.push(n.join(""));if(s.length>0){const e=`Chalk template literal is missing ${s.length} closing bracket${s.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return a.join("")}},4117:(e,r,t)=>{var s=t(2251);var a={};for(var n in s){if(s.hasOwnProperty(n)){a[s[n]]=n}}var o=e.exports={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"]}};for(var i in o){if(o.hasOwnProperty(i)){if(!("channels"in o[i])){throw new Error("missing channels property: "+i)}if(!("labels"in o[i])){throw new Error("missing channel labels property: "+i)}if(o[i].labels.length!==o[i].channels){throw new Error("channel and label counts mismatch: "+i)}var l=o[i].channels;var c=o[i].labels;delete o[i].channels;delete o[i].labels;Object.defineProperty(o[i],"channels",{value:l});Object.defineProperty(o[i],"labels",{value:c})}}o.rgb.hsl=function(e){var r=e[0]/255;var t=e[1]/255;var s=e[2]/255;var a=Math.min(r,t,s);var n=Math.max(r,t,s);var o=n-a;var i;var l;var c;if(n===a){i=0}else if(r===n){i=(t-s)/o}else if(t===n){i=2+(s-r)/o}else if(s===n){i=4+(r-t)/o}i=Math.min(i*60,360);if(i<0){i+=360}c=(a+n)/2;if(n===a){l=0}else if(c<=.5){l=o/(n+a)}else{l=o/(2-n-a)}return[i,l*100,c*100]};o.rgb.hsv=function(e){var r;var t;var s;var a;var n;var o=e[0]/255;var i=e[1]/255;var l=e[2]/255;var c=Math.max(o,i,l);var d=c-Math.min(o,i,l);var diffc=function(e){return(c-e)/6/d+1/2};if(d===0){a=n=0}else{n=d/c;r=diffc(o);t=diffc(i);s=diffc(l);if(o===c){a=s-t}else if(i===c){a=1/3+r-s}else if(l===c){a=2/3+t-r}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,n*100,c*100]};o.rgb.hwb=function(e){var r=e[0];var t=e[1];var s=e[2];var a=o.rgb.hsl(e)[0];var n=1/255*Math.min(r,Math.min(t,s));s=1-1/255*Math.max(r,Math.max(t,s));return[a,n*100,s*100]};o.rgb.cmyk=function(e){var r=e[0]/255;var t=e[1]/255;var s=e[2]/255;var a;var n;var o;var i;i=Math.min(1-r,1-t,1-s);a=(1-r-i)/(1-i)||0;n=(1-t-i)/(1-i)||0;o=(1-s-i)/(1-i)||0;return[a*100,n*100,o*100,i*100]};function comparativeDistance(e,r){return Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2)+Math.pow(e[2]-r[2],2)}o.rgb.keyword=function(e){var r=a[e];if(r){return r}var t=Infinity;var n;for(var o in s){if(s.hasOwnProperty(o)){var i=s[o];var l=comparativeDistance(e,i);if(l<t){t=l;n=o}}}return n};o.keyword.rgb=function(e){return s[e]};o.rgb.xyz=function(e){var r=e[0]/255;var t=e[1]/255;var s=e[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var a=r*.4124+t*.3576+s*.1805;var n=r*.2126+t*.7152+s*.0722;var o=r*.0193+t*.1192+s*.9505;return[a*100,n*100,o*100]};o.rgb.lab=function(e){var r=o.rgb.xyz(e);var t=r[0];var s=r[1];var a=r[2];var n;var i;var l;t/=95.047;s/=100;a/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;a=a>.008856?Math.pow(a,1/3):7.787*a+16/116;n=116*s-16;i=500*(t-s);l=200*(s-a);return[n,i,l]};o.hsl.rgb=function(e){var r=e[0]/360;var t=e[1]/100;var s=e[2]/100;var a;var n;var o;var i;var l;if(t===0){l=s*255;return[l,l,l]}if(s<.5){n=s*(1+t)}else{n=s+t-s*t}a=2*s-n;i=[0,0,0];for(var c=0;c<3;c++){o=r+1/3*-(c-1);if(o<0){o++}if(o>1){o--}if(6*o<1){l=a+(n-a)*6*o}else if(2*o<1){l=n}else if(3*o<2){l=a+(n-a)*(2/3-o)*6}else{l=a}i[c]=l*255}return i};o.hsl.hsv=function(e){var r=e[0];var t=e[1]/100;var s=e[2]/100;var a=t;var n=Math.max(s,.01);var o;var i;s*=2;t*=s<=1?s:2-s;a*=n<=1?n:2-n;i=(s+t)/2;o=s===0?2*a/(n+a):2*t/(s+t);return[r,o*100,i*100]};o.hsv.rgb=function(e){var r=e[0]/60;var t=e[1]/100;var s=e[2]/100;var a=Math.floor(r)%6;var n=r-Math.floor(r);var o=255*s*(1-t);var i=255*s*(1-t*n);var l=255*s*(1-t*(1-n));s*=255;switch(a){case 0:return[s,l,o];case 1:return[i,s,o];case 2:return[o,s,l];case 3:return[o,i,s];case 4:return[l,o,s];case 5:return[s,o,i]}};o.hsv.hsl=function(e){var r=e[0];var t=e[1]/100;var s=e[2]/100;var a=Math.max(s,.01);var n;var o;var i;i=(2-t)*s;n=(2-t)*a;o=t*a;o/=n<=1?n:2-n;o=o||0;i/=2;return[r,o*100,i*100]};o.hwb.rgb=function(e){var r=e[0]/360;var t=e[1]/100;var s=e[2]/100;var a=t+s;var n;var o;var i;var l;if(a>1){t/=a;s/=a}n=Math.floor(6*r);o=1-s;i=6*r-n;if((n&1)!==0){i=1-i}l=t+i*(o-t);var c;var d;var u;switch(n){default:case 6:case 0:c=o;d=l;u=t;break;case 1:c=l;d=o;u=t;break;case 2:c=t;d=o;u=l;break;case 3:c=t;d=l;u=o;break;case 4:c=l;d=t;u=o;break;case 5:c=o;d=t;u=l;break}return[c*255,d*255,u*255]};o.cmyk.rgb=function(e){var r=e[0]/100;var t=e[1]/100;var s=e[2]/100;var a=e[3]/100;var n;var o;var i;n=1-Math.min(1,r*(1-a)+a);o=1-Math.min(1,t*(1-a)+a);i=1-Math.min(1,s*(1-a)+a);return[n*255,o*255,i*255]};o.xyz.rgb=function(e){var r=e[0]/100;var t=e[1]/100;var s=e[2]/100;var a;var n;var o;a=r*3.2406+t*-1.5372+s*-.4986;n=r*-.9689+t*1.8758+s*.0415;o=r*.0557+t*-.204+s*1.057;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*12.92;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;a=Math.min(Math.max(0,a),1);n=Math.min(Math.max(0,n),1);o=Math.min(Math.max(0,o),1);return[a*255,n*255,o*255]};o.xyz.lab=function(e){var r=e[0];var t=e[1];var s=e[2];var a;var n;var o;r/=95.047;t/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;a=116*t-16;n=500*(r-t);o=200*(t-s);return[a,n,o]};o.lab.xyz=function(e){var r=e[0];var t=e[1];var s=e[2];var a;var n;var o;n=(r+16)/116;a=t/500+n;o=n-s/200;var i=Math.pow(n,3);var l=Math.pow(a,3);var c=Math.pow(o,3);n=i>.008856?i:(n-16/116)/7.787;a=l>.008856?l:(a-16/116)/7.787;o=c>.008856?c:(o-16/116)/7.787;a*=95.047;n*=100;o*=108.883;return[a,n,o]};o.lab.lch=function(e){var r=e[0];var t=e[1];var s=e[2];var a;var n;var o;a=Math.atan2(s,t);n=a*360/2/Math.PI;if(n<0){n+=360}o=Math.sqrt(t*t+s*s);return[r,o,n]};o.lch.lab=function(e){var r=e[0];var t=e[1];var s=e[2];var a;var n;var o;o=s/360*2*Math.PI;a=t*Math.cos(o);n=t*Math.sin(o);return[r,a,n]};o.rgb.ansi16=function(e){var r=e[0];var t=e[1];var s=e[2];var a=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];a=Math.round(a/50);if(a===0){return 30}var n=30+(Math.round(s/255)<<2|Math.round(t/255)<<1|Math.round(r/255));if(a===2){n+=60}return n};o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])};o.rgb.ansi256=function(e){var r=e[0];var t=e[1];var s=e[2];if(r===t&&t===s){if(r<8){return 16}if(r>248){return 231}return Math.round((r-8)/247*24)+232}var a=16+36*Math.round(r/255*5)+6*Math.round(t/255*5)+Math.round(s/255*5);return a};o.ansi16.rgb=function(e){var r=e%10;if(r===0||r===7){if(e>50){r+=3.5}r=r/10.5*255;return[r,r,r]}var t=(~~(e>50)+1)*.5;var s=(r&1)*t*255;var a=(r>>1&1)*t*255;var n=(r>>2&1)*t*255;return[s,a,n]};o.ansi256.rgb=function(e){if(e>=232){var r=(e-232)*10+8;return[r,r,r]}e-=16;var t;var s=Math.floor(e/36)/5*255;var a=Math.floor((t=e%36)/6)/5*255;var n=t%6/5*255;return[s,a,n]};o.rgb.hex=function(e){var r=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var t=r.toString(16).toUpperCase();return"000000".substring(t.length)+t};o.hex.rgb=function(e){var r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r){return[0,0,0]}var t=r[0];if(r[0].length===3){t=t.split("").map((function(e){return e+e})).join("")}var s=parseInt(t,16);var a=s>>16&255;var n=s>>8&255;var o=s&255;return[a,n,o]};o.rgb.hcg=function(e){var r=e[0]/255;var t=e[1]/255;var s=e[2]/255;var a=Math.max(Math.max(r,t),s);var n=Math.min(Math.min(r,t),s);var o=a-n;var i;var l;if(o<1){i=n/(1-o)}else{i=0}if(o<=0){l=0}else if(a===r){l=(t-s)/o%6}else if(a===t){l=2+(s-r)/o}else{l=4+(r-t)/o+4}l/=6;l%=1;return[l*360,o*100,i*100]};o.hsl.hcg=function(e){var r=e[1]/100;var t=e[2]/100;var s=1;var a=0;if(t<.5){s=2*r*t}else{s=2*r*(1-t)}if(s<1){a=(t-.5*s)/(1-s)}return[e[0],s*100,a*100]};o.hsv.hcg=function(e){var r=e[1]/100;var t=e[2]/100;var s=r*t;var a=0;if(s<1){a=(t-s)/(1-s)}return[e[0],s*100,a*100]};o.hcg.rgb=function(e){var r=e[0]/360;var t=e[1]/100;var s=e[2]/100;if(t===0){return[s*255,s*255,s*255]}var a=[0,0,0];var n=r%1*6;var o=n%1;var i=1-o;var l=0;switch(Math.floor(n)){case 0:a[0]=1;a[1]=o;a[2]=0;break;case 1:a[0]=i;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=o;break;case 3:a[0]=0;a[1]=i;a[2]=1;break;case 4:a[0]=o;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=i}l=(1-t)*s;return[(t*a[0]+l)*255,(t*a[1]+l)*255,(t*a[2]+l)*255]};o.hcg.hsv=function(e){var r=e[1]/100;var t=e[2]/100;var s=r+t*(1-r);var a=0;if(s>0){a=r/s}return[e[0],a*100,s*100]};o.hcg.hsl=function(e){var r=e[1]/100;var t=e[2]/100;var s=t*(1-r)+.5*r;var a=0;if(s>0&&s<.5){a=r/(2*s)}else if(s>=.5&&s<1){a=r/(2*(1-s))}return[e[0],a*100,s*100]};o.hcg.hwb=function(e){var r=e[1]/100;var t=e[2]/100;var s=r+t*(1-r);return[e[0],(s-r)*100,(1-s)*100]};o.hwb.hcg=function(e){var r=e[1]/100;var t=e[2]/100;var s=1-t;var a=s-r;var n=0;if(a<1){n=(s-a)/(1-a)}return[e[0],a*100,n*100]};o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]};o.gray.hwb=function(e){return[0,100,e[0]]};o.gray.cmyk=function(e){return[0,0,0,e[0]]};o.gray.lab=function(e){return[e[0],0,0]};o.gray.hex=function(e){var r=Math.round(e[0]/100*255)&255;var t=(r<<16)+(r<<8)+r;var s=t.toString(16).toUpperCase();return"000000".substring(s.length)+s};o.rgb.gray=function(e){var r=(e[0]+e[1]+e[2])/3;return[r/255*100]}},9054:(e,r,t)=>{var s=t(4117);var a=t(6528);var n={};var o=Object.keys(s);function wrapRaw(e){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}return e(r)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(r){if(r===undefined||r===null){return r}if(arguments.length>1){r=Array.prototype.slice.call(arguments)}var t=e(r);if(typeof t==="object"){for(var s=t.length,a=0;a<s;a++){t[a]=Math.round(t[a])}}return t};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}o.forEach((function(e){n[e]={};Object.defineProperty(n[e],"channels",{value:s[e].channels});Object.defineProperty(n[e],"labels",{value:s[e].labels});var r=a(e);var t=Object.keys(r);t.forEach((function(t){var s=r[t];n[e][t]=wrapRounded(s);n[e][t].raw=wrapRaw(s)}))}));e.exports=n},6528:(e,r,t)=>{var s=t(4117);function buildGraph(){var e={};var r=Object.keys(s);for(var t=r.length,a=0;a<t;a++){e[r[a]]={distance:-1,parent:null}}return e}function deriveBFS(e){var r=buildGraph();var t=[e];r[e].distance=0;while(t.length){var a=t.pop();var n=Object.keys(s[a]);for(var o=n.length,i=0;i<o;i++){var l=n[i];var c=r[l];if(c.distance===-1){c.distance=r[a].distance+1;c.parent=a;t.unshift(l)}}}return r}function link(e,r){return function(t){return r(e(t))}}function wrapConversion(e,r){var t=[r[e].parent,e];var a=s[r[e].parent][e];var n=r[e].parent;while(r[n].parent){t.unshift(r[n].parent);a=link(s[r[n].parent][n],a);n=r[n].parent}a.conversion=t;return a}e.exports=function(e){var r=deriveBFS(e);var t={};var s=Object.keys(r);for(var a=s.length,n=0;n<a;n++){var o=s[n];var i=r[o];if(i.parent===null){continue}t[o]=wrapConversion(o,r)}return t}},2251: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]}},9747:(e,r,t)=>{"use strict";const{compare:s,intersection:a,semver:n}=t(7197);const o=t(9648);const i=t(5033);e.exports=function(e){const r=n(e);if(r.major!==3){throw RangeError("This version of `core-js-compat` works only with `core-js@3`.")}const t=[];for(const e of Object.keys(o)){if(s(e,"<=",r)){t.push(...o[e])}}return a(t,i)}},7197:e=>{"use strict";const r=Object.hasOwn||Function.call.bind({}.hasOwnProperty);function semver(e){if(e instanceof semver)return e;if(!(this instanceof semver))return new semver(e);const r=/(\d+)(?:\.(\d+))?(?:\.(\d+))?/.exec(e);if(!r)throw TypeError(`Invalid version: ${e}`);const[,t,s,a]=r;this.major=+t;this.minor=s?+s:0;this.patch=a?+a:0}semver.prototype.toString=function(){return`${this.major}.${this.minor}.${this.patch}`};function compare(e,r,t){const s=semver(e);const a=semver(t);for(const e of["major","minor","patch"]){if(s[e]<a[e])return r==="<"||r==="<="||r==="!=";if(s[e]>a[e])return r===">"||r===">="||r==="!="}return r==="=="||r==="<="||r===">="}function filterOutStabilizedProposals(e){const r=new Set(e);for(const e of r){if(e.startsWith("esnext.")&&r.has(e.replace(/^esnext\./,"es."))){r.delete(e)}}return[...r]}function intersection(e,r){const t=e instanceof Set?e:new Set(e);return r.filter((e=>t.has(e)))}function sortObjectByKey(e,r){return Object.keys(e).sort(r).reduce(((r,t)=>{r[t]=e[t];return r}),{})}e.exports={compare:compare,filterOutStabilizedProposals:filterOutStabilizedProposals,has:r,intersection:intersection,semver:semver,sortObjectByKey:sortObjectByKey}},7379:e=>{"use strict";var r=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(r,"\\$&")}},4494:(e,r,t)=>{"use strict";const s=t(529);class Definition{constructor(e,r,t,s,a,n){this.type=e;this.name=r;this.node=t;this.parent=s;this.index=a;this.kind=n}}class ParameterDefinition extends Definition{constructor(e,r,t,a){super(s.Parameter,e,r,null,t,null);this.rest=a}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},2836:(e,r,t)=>{"use strict";const s=t(9491);const a=t(680);const n=t(8648);const o=t(1621);const i=t(529);const l=t(8802).Scope;const c=t(3348).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 t in r){if(Object.prototype.hasOwnProperty.call(r,t)){const s=r[t];if(isHashObject(s)){if(isHashObject(e[t])){updateDeeply(e[t],s)}else{e[t]=updateDeeply({},s)}}else{e[t]=s}}}return e}function analyze(e,r){const t=updateDeeply(defaultOptions(),r);const o=new a(t);const i=new n(t,o);i.visit(e);s(o.__currentScope===null,"currentScope should be null.");return o}e.exports={version:c,Reference:o,Variable:i,Scope:l,ScopeManager:a,analyze:analyze}},2999:(e,r,t)=>{"use strict";const s=t(2205).Syntax;const a=t(1396);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends a.Visitor{static isPattern(e){const r=e.type;return r===s.Identifier||r===s.ObjectPattern||r===s.ArrayPattern||r===s.SpreadElement||r===s.RestElement||r===s.AssignmentPattern}constructor(e,r,t){super(null,e);this.rootPattern=r;this.callback=t;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,t=e.elements.length;r<t;++r){const t=e.elements[r];this.visit(t)}}AssignmentPattern(e){this.assignments.push(e);this.visit(e.left);this.rightHandNodes.push(e.right);this.assignments.pop()}RestElement(e){this.restElements.push(e);this.visit(e.argument);this.restElements.pop()}MemberExpression(e){if(e.computed){this.rightHandNodes.push(e.property)}this.rightHandNodes.push(e.object)}SpreadElement(e){this.visit(e.argument)}ArrayExpression(e){e.elements.forEach(this.visit,this)}AssignmentExpression(e){this.assignments.push(e);this.visit(e.left);this.rightHandNodes.push(e.right);this.assignments.pop()}CallExpression(e){e.arguments.forEach((e=>{this.rightHandNodes.push(e)}));this.visit(e.callee)}}e.exports=PatternVisitor},1621:e=>{"use strict";const r=1;const t=2;const s=r|t;class Reference{constructor(e,r,t,s,a,n,o){this.identifier=e;this.from=r;this.tainted=false;this.resolved=null;this.flag=t;if(this.isWrite()){this.writeExpr=s;this.partial=n;this.init=o}this.__maybeImplicitGlobal=a}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=t;Reference.RW=s;e.exports=Reference},8648:(e,r,t)=>{"use strict";const s=t(2205).Syntax;const a=t(1396);const n=t(1621);const o=t(529);const i=t(2999);const l=t(4494);const c=t(9491);const d=l.ParameterDefinition;const u=l.Definition;function traverseIdentifierInPattern(e,r,t,s){const a=new i(e,r,s);a.visit(r);if(t!==null&&t!==undefined){a.rightHandNodes.forEach(t.visit,t)}}class Importer extends a.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 u(o.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 a.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,t,s){const a=this.currentScope();r.forEach((r=>{a.__referencing(e,n.WRITE,r.right,t,e!==r.left,s)}))}visitPattern(e,r,t){let s=r;let a=t;if(typeof r==="function"){a=r;s={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,s.processRightHandNodes?this:null,a)}visitFunction(e){let r,t;if(e.type===s.FunctionDeclaration){this.currentScope().__define(e.id,new u(o.FunctionName,e.id,e,null,null,null))}if(e.type===s.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const a=this;function visitPatternCallback(t,s){a.currentScope().__define(t,new d(t,e,r,s.rest));a.referencingDefaultValue(t,s.assignments,null,true)}for(r=0,t=e.params.length;r<t;++r){this.visitPattern(e.params[r],{processRightHandNodes:true},visitPatternCallback)}if(e.rest){this.visitPattern({type:"RestElement",argument:e.rest},(r=>{this.currentScope().__define(r,new d(r,e,e.params.length,true))}))}if(e.body){if(e.body.type===s.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===s.ClassDeclaration){this.currentScope().__define(e.id,new u(o.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new u(o.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let r;if(e.computed){this.visit(e.key)}const t=e.type===s.MethodDefinition;if(t){r=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(t){this.popInnerMethodDefinition(r)}}visitForIn(e){if(e.left.type===s.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===s.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,(r=>{this.currentScope().__referencing(r,n.WRITE,e.right,null,true,true)}))}else{this.visitPattern(e.left,{processRightHandNodes:true},((r,t)=>{let s=null;if(!this.currentScope().isStrict){s={pattern:r,node:e}}this.referencingDefaultValue(r,t.assignments,s,false);this.currentScope().__referencing(r,n.WRITE,e.right,s,true,false)}))}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,r,t,s){const a=t.declarations[s];const o=a.init;this.visitPattern(a.id,{processRightHandNodes:true},((i,l)=>{e.__define(i,new u(r,i,a,t,s,t.kind));this.referencingDefaultValue(i,l.assignments,null,true);if(o){this.currentScope().__referencing(i,n.WRITE,o,null,!l.topLevel,true)}}))}AssignmentExpression(e){if(i.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},((r,t)=>{let s=null;if(!this.currentScope().isStrict){s={pattern:r,node:e}}this.referencingDefaultValue(r,t.assignments,s,false);this.currentScope().__referencing(r,n.WRITE,e.right,s,!t.topLevel,false)}))}else{this.currentScope().__referencing(e.left,n.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,t)=>{this.currentScope().__define(r,new u(o.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(r,t.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(i.isPattern(e.argument)){this.currentScope().__referencing(e.argument,n.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===s.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===s.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 t=0,s=e.declarations.length;t<s;++t){const s=e.declarations[t];this.visitVariableDeclaration(r,o.Variable,e,t);if(s.init){this.visit(s.init)}}}SwitchStatement(e){this.visit(e.discriminant);if(this.scopeManager.__isES6()){this.scopeManager.__nestSwitchScope(e)}for(let r=0,t=e.cases.length;r<t;++r){this.visit(e.cases[r])}this.close(e)}FunctionDeclaration(e){this.visitFunction(e)}FunctionExpression(e){this.visitFunction(e)}ForOfStatement(e){this.visitForIn(e)}ForInStatement(e){this.visitForIn(e)}ArrowFunctionExpression(e){this.visitFunction(e)}ImportDeclaration(e){c(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context.");const r=new Importer(e,this);r.visit(e)}visitExportDeclaration(e){if(e.source){return}if(e.declaration){this.visit(e.declaration);return}this.visitChildren(e)}ExportDeclaration(e){this.visitExportDeclaration(e)}ExportAllDeclaration(e){this.visitExportDeclaration(e)}ExportDefaultDeclaration(e){this.visitExportDeclaration(e)}ExportNamedDeclaration(e){this.visitExportDeclaration(e)}ExportSpecifier(e){const r=e.id||e.local;this.visit(r)}MetaProperty(){}}e.exports=Referencer},680:(e,r,t)=>{"use strict";const s=t(8802);const a=t(9491);const n=s.GlobalScope;const o=s.CatchScope;const i=s.WithScope;const l=s.ModuleScope;const c=s.ClassScope;const d=s.SwitchScope;const u=s.FunctionScope;const p=s.ForScope;const f=s.FunctionExpressionNameScope;const y=s.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 t=this.__get(e);if(!t||t.length===0){return null}if(t.length===1){return t[0]}if(r){for(let e=t.length-1;e>=0;--e){const r=t[e];if(predicate(r)){return r}}}else{for(let e=0,r=t.length;e<r;++e){const r=t[e];if(predicate(r)){return r}}}return null}acquireAll(e){return this.__get(e)}release(e,r){const t=this.__get(e);if(t&&t.length){const e=t[0].upper;if(!e){return null}return this.acquire(e.block,r)}return null}attach(){}detach(){}__nestScope(e){if(e instanceof n){a(this.__currentScope===null);this.globalScope=e}this.__currentScope=e;return e}__nestGlobalScope(e){return this.__nestScope(new n(this,e))}__nestBlockScope(e){return this.__nestScope(new y(this,this.__currentScope,e))}__nestFunctionScope(e,r){return this.__nestScope(new u(this,this.__currentScope,e,r))}__nestForScope(e){return this.__nestScope(new p(this,this.__currentScope,e))}__nestCatchScope(e){return this.__nestScope(new o(this,this.__currentScope,e))}__nestWithScope(e){return this.__nestScope(new i(this,this.__currentScope,e))}__nestClassScope(e){return this.__nestScope(new c(this,this.__currentScope,e))}__nestSwitchScope(e){return this.__nestScope(new d(this,this.__currentScope,e))}__nestModuleScope(e){return this.__nestScope(new l(this,this.__currentScope,e))}__nestFunctionExpressionNameScope(e){return this.__nestScope(new f(this,this.__currentScope,e))}__isES6(){return this.__options.ecmaVersion>=6}}e.exports=ScopeManager},8802:(e,r,t)=>{"use strict";const s=t(2205).Syntax;const a=t(1621);const n=t(529);const o=t(4494).Definition;const i=t(9491);function isStrictScope(e,r,t,a){let n;if(e.upper&&e.upper.isStrict){return true}if(t){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===s.ArrowFunctionExpression&&r.body.type!==s.BlockStatement){return false}if(r.type===s.Program){n=r}else{n=r.body}if(!n){return false}}else if(e.type==="global"){n=r}else{return false}if(a){for(let e=0,r=n.body.length;e<r;++e){const r=n.body[e];if(r.type!==s.DirectiveStatement){break}if(r.raw==='"use strict"'||r.raw==="'use strict'"){return true}}}else{for(let e=0,r=n.body.length;e<r;++e){const r=n.body[e];if(r.type!==s.ExpressionStatement){break}const t=r.expression;if(t.type!==s.Literal||typeof t.value!=="string"){break}if(t.raw!==null&&t.raw!==undefined){if(t.raw==='"use strict"'||t.raw==="'use strict'"){return true}}else{if(t.value==="use strict"){return true}}}}return false}function registerScope(e,r){e.scopes.push(r);const t=e.__nodeToScope.get(r.block);if(t){t.push(r)}else{e.__nodeToScope.set(r.block,[r])}}function shouldBeStatically(e){return e.type===n.ClassName||e.type===n.Variable&&e.parent.kind!=="var"}class Scope{constructor(e,r,t,s,a){this.type=r;this.set=new Map;this.taints=new Map;this.dynamic=this.type==="global"||this.type==="with";this.block=s;this.through=[];this.variables=[];this.references=[];this.variableScope=this.type==="global"||this.type==="function"||this.type==="module"?this:t.variableScope;this.functionExpressionScope=false;this.directCallToEvalScope=false;this.thisFound=false;this.__left=[];this.upper=t;this.isStrict=isStrictScope(this,s,a,e.__useDirective());this.childScopes=[];if(this.upper){this.upper.childScopes.push(this)}this.__declaredVariables=e.__declaredVariables;registerScope(e,this)}__shouldStaticallyClose(e){return!this.dynamic||e.__isOptimistic()}__shouldStaticallyCloseForGlobal(e){const r=e.identifier.name;if(!this.set.has(r)){return false}const t=this.set.get(r);const s=t.defs;return s.length>0&&s.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,t=this.__left.length;e<t;++e){const t=this.__left[e];r.call(this,t)}this.__left=null;return this.upper}__isValidResolution(e,r){return true}__resolve(e){const r=e.identifier.name;if(!this.set.has(r)){return false}const t=this.set.get(r);if(!this.__isValidResolution(e,t)){return false}t.references.push(e);t.stack=t.stack&&e.from.variableScope===this.variableScope;if(e.tainted){t.tainted=true;this.taints.set(t.name,true)}e.resolved=t;return true}__delegateToUpperScope(e){if(this.upper){this.upper.__left.push(e)}this.through.push(e)}__addDeclaredVariablesOfNode(e,r){if(r===null||r===undefined){return}let t=this.__declaredVariables.get(r);if(t===null||t===undefined){t=[];this.__declaredVariables.set(r,t)}if(t.indexOf(e)===-1){t.push(e)}}__defineGeneric(e,r,t,s,a){let o;o=r.get(e);if(!o){o=new n(e,this);r.set(e,o);t.push(o)}if(a){o.defs.push(a);this.__addDeclaredVariablesOfNode(o,a.node);this.__addDeclaredVariablesOfNode(o,a.parent)}if(s){o.identifiers.push(s)}}__define(e,r){if(e&&e.type===s.Identifier){this.__defineGeneric(e.name,this.set,this.variables,e,r)}}__referencing(e,r,t,n,o,i){if(!e||e.type!==s.Identifier){return}if(e.name==="super"){return}const l=new a(e,this,r||a.READ,t,n,!!o,!!i);this.references.push(l);this.__left.push(l)}__detectEval(){let e=this;this.directCallToEvalScope=true;do{e.dynamic=true;e=e.upper}while(e)}__detectThis(){this.thisFound=true}__isClosed(){return this.__left===null}resolve(e){let r,t,a;i(this.__isClosed(),"Scope should be closed.");i(e.type===s.Identifier,"Target should be identifier.");for(t=0,a=this.references.length;t<a;++t){r=this.references[t];if(r.identifier===e){return r}}return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return true}isThisMaterialized(){return true}isUsedName(e){if(this.set.has(e)){return true}for(let r=0,t=this.through.length;r<t;++r){if(this.through[r].identifier.name===e){return true}}return false}}class GlobalScope extends Scope{constructor(e,r){super(e,"global",null,r,false);this.implicit={set:new Map,variables:[],left:[]}}__close(e){const r=[];for(let e=0,t=this.__left.length;e<t;++e){const t=this.__left[e];if(t.__maybeImplicitGlobal&&!this.set.has(t.identifier.name)){r.push(t.__maybeImplicitGlobal)}}for(let e=0,t=r.length;e<t;++e){const t=r[e];this.__defineImplicit(t.pattern,new o(n.ImplicitGlobalVariable,t.pattern,t.node,null,null,null))}this.implicit.left=this.__left;return super.__close(e)}__defineImplicit(e,r){if(e&&e.type===s.Identifier){this.__defineGeneric(e.name,this.implicit.set,this.implicit.variables,e,r)}}}class ModuleScope extends Scope{constructor(e,r,t){super(e,"module",r,t,false)}}class FunctionExpressionNameScope extends Scope{constructor(e,r,t){super(e,"function-expression-name",r,t,false);this.__define(t.id,new o(n.FunctionName,t.id,t,null,null,null));this.functionExpressionScope=true}}class CatchScope extends Scope{constructor(e,r,t){super(e,"catch",r,t,false)}}class WithScope extends Scope{constructor(e,r,t){super(e,"with",r,t,false)}__close(e){if(this.__shouldStaticallyClose(e)){return super.__close(e)}for(let e=0,r=this.__left.length;e<r;++e){const r=this.__left[e];r.tainted=true;this.__delegateToUpperScope(r)}this.__left=null;return this.upper}}class BlockScope extends Scope{constructor(e,r,t){super(e,"block",r,t,false)}}class SwitchScope extends Scope{constructor(e,r,t){super(e,"switch",r,t,false)}}class FunctionScope extends Scope{constructor(e,r,t,a){super(e,"function",r,t,a);if(this.block.type!==s.ArrowFunctionExpression){this.__defineArguments()}}isArgumentsMaterialized(){if(this.block.type===s.ArrowFunctionExpression){return false}if(!this.isStatic()){return true}const e=this.set.get("arguments");i(e,"Always have arguments variable.");return e.tainted||e.references.length!==0}isThisMaterialized(){if(!this.isStatic()){return true}return this.thisFound}__defineArguments(){this.__defineGeneric("arguments",this.set,this.variables,null,null);this.taints.set("arguments",true)}__isValidResolution(e,r){if(this.block.type==="Program"){return true}const t=this.block.body.range[0];return!(r.scope===this&&e.identifier.range[0]<t&&r.defs.every((e=>e.name.range[0]>=t)))}}class ForScope extends Scope{constructor(e,r,t){super(e,"for",r,t,false)}}class ClassScope extends Scope{constructor(e,r,t){super(e,"class",r,t,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}},529: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},3553:(e,r,t)=>{"use strict";const s=t(7137);const a=Object.freeze(Object.keys(s));for(const e of a){Object.freeze(s[e])}Object.freeze(s);const n=new Set(["parent","leadingComments","trailingComments"]);function filterKey(e){return!n.has(e)&&e[0]!=="_"}e.exports=Object.freeze({KEYS:s,getKeys(e){return Object.keys(e).filter(filterKey)},unionWith(e){const r=Object.assign({},s);for(const t of Object.keys(e)){if(r.hasOwnProperty(t)){const s=new Set(e[t]);for(const e of r[t]){s.add(e)}r[t]=Object.freeze(Array.from(s))}else{r[t]=Object.freeze(Array.from(e[t]))}}return Object.freeze(r)}})},1396:(e,r,t)=>{(function(){"use strict";var e=t(1731);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(r,t){return(r===e.Syntax.ObjectExpression||r===e.Syntax.ObjectPattern)&&t==="properties"}function Visitor(r,t){t=t||{};this.__visitor=r||this;this.__childVisitorKeys=t.childVisitorKeys?Object.assign({},e.VisitorKeys,t.childVisitorKeys):e.VisitorKeys;if(t.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof t.fallback==="function"){this.__fallback=t.fallback}}Visitor.prototype.visitChildren=function(r){var t,s,a,n,o,i,l;if(r==null){return}t=r.type||e.Syntax.Property;s=this.__childVisitorKeys[t];if(!s){if(this.__fallback){s=this.__fallback(r)}else{throw new Error("Unknown node type "+t+".")}}for(a=0,n=s.length;a<n;++a){l=r[s[a]];if(l){if(Array.isArray(l)){for(o=0,i=l.length;o<i;++o){if(l[o]){if(isNode(l[o])||isProperty(t,s[a])){this.visit(l[o])}}}}else if(isNode(l)){this.visit(l)}}}};Visitor.prototype.visit=function(r){var t;if(r==null){return}t=r.type||e.Syntax.Property;if(this.__visitor[t]){this.__visitor[t].call(this,r);return}this.visitChildren(r)};r.version=t(4730).version;r.Visitor=Visitor;r.visit=function(e,r,t){var s=new Visitor(r,t);s.visit(e)}})()},2205:(e,r,t)=>{(function clone(e){"use strict";var r,s,a,n,o,i;function deepCopy(e){var r={},t,s;for(t in e){if(e.hasOwnProperty(t)){s=e[t];if(typeof s==="object"&&s!==null){r[t]=deepCopy(s)}else{r[t]=s}}}return r}function upperBound(e,r){var t,s,a,n;s=e.length;a=0;while(s){t=s>>>1;n=a+t;if(r(e[n])){s=t}else{a=n+1;s-=t+1}}return a}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"};a={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"]};n={};o={};i={};s={Break:n,Skip:o,Remove:i};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,t,s){this.node=e;this.path=r;this.wrap=t;this.ref=s}function Controller(){}Controller.prototype.path=function path(){var e,r,t,s,a,n;function addToPath(e,r){if(Array.isArray(r)){for(t=0,s=r.length;t<s;++t){e.push(r[t])}}else{e.push(r)}}if(!this.__current.path){return null}a=[];for(e=2,r=this.__leavelist.length;e<r;++e){n=this.__leavelist[e];addToPath(a,n.path)}addToPath(a,this.__current.path);return a};Controller.prototype.type=function(){var e=this.current();return e.type||this.__current.wrap};Controller.prototype.parents=function parents(){var e,r,t;t=[];for(e=1,r=this.__leavelist.length;e<r;++e){t.push(this.__leavelist[e].node)}return t};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(e,r){var t,s;s=undefined;t=this.__current;this.__current=r;this.__state=null;if(e){s=e.call(this,r.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=t;return s};Controller.prototype.notify=function notify(e){this.__state=e};Controller.prototype.skip=function(){this.notify(o)};Controller.prototype["break"]=function(){this.notify(n)};Controller.prototype.remove=function(){this.notify(i)};Controller.prototype.__initialize=function(e,r){this.visitor=r;this.root=e;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(r.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof r.fallback==="function"){this.__fallback=r.fallback}this.__keys=a;if(r.keys){this.__keys=Object.assign(Object.create(this.__keys),r.keys)}};function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(e,t){return(e===r.ObjectExpression||e===r.ObjectPattern)&&"properties"===t}Controller.prototype.traverse=function traverse(e,r){var t,s,a,i,l,c,d,u,p,f,y,g;this.__initialize(e,r);g={};t=this.__worklist;s=this.__leavelist;t.push(new Element(e,null,null,null));s.push(new Element(null,null,null,null));while(t.length){a=t.pop();if(a===g){a=s.pop();c=this.__execute(r.leave,a);if(this.__state===n||c===n){return}continue}if(a.node){c=this.__execute(r.enter,a);if(this.__state===n||c===n){return}t.push(g);s.push(a);if(this.__state===o||c===o){continue}i=a.node;l=i.type||a.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){d=f[u];y=i[d];if(!y){continue}if(Array.isArray(y)){p=y.length;while((p-=1)>=0){if(!y[p]){continue}if(isProperty(l,f[u])){a=new Element(y[p],[d,p],"Property",null)}else if(isNode(y[p])){a=new Element(y[p],[d,p],null,null)}else{continue}t.push(a)}}else if(isNode(y)){t.push(new Element(y,d,null,null))}}}}};Controller.prototype.replace=function replace(e,r){var t,s,a,l,c,d,u,p,f,y,g,h,b;function removeElem(e){var r,s,a,n;if(e.ref.remove()){s=e.ref.key;n=e.ref.parent;r=t.length;while(r--){a=t[r];if(a.ref&&a.ref.parent===n){if(a.ref.key<s){break}--a.ref.key}}}}this.__initialize(e,r);g={};t=this.__worklist;s=this.__leavelist;h={root:e};d=new Element(e,null,null,new Reference(h,"root"));t.push(d);s.push(d);while(t.length){d=t.pop();if(d===g){d=s.pop();c=this.__execute(r.leave,d);if(c!==undefined&&c!==n&&c!==o&&c!==i){d.ref.replace(c)}if(this.__state===i||c===i){removeElem(d)}if(this.__state===n||c===n){return h.root}continue}c=this.__execute(r.enter,d);if(c!==undefined&&c!==n&&c!==o&&c!==i){d.ref.replace(c);d.node=c}if(this.__state===i||c===i){removeElem(d);d.node=null}if(this.__state===n||c===n){return h.root}a=d.node;if(!a){continue}t.push(g);s.push(d);if(this.__state===o||c===o){continue}l=a.type||d.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(a)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){b=f[u];y=a[b];if(!y){continue}if(Array.isArray(y)){p=y.length;while((p-=1)>=0){if(!y[p]){continue}if(isProperty(l,f[u])){d=new Element(y[p],[b,p],"Property",new Reference(y,p))}else if(isNode(y[p])){d=new Element(y[p],[b,p],null,new Reference(y,p))}else{continue}t.push(d)}}else if(isNode(y)){t.push(new Element(y,b,null,new Reference(a,b)))}}}return h.root};function traverse(e,r){var t=new Controller;return t.traverse(e,r)}function replace(e,r){var t=new Controller;return t.replace(e,r)}function extendCommentRange(e,r){var t;t=upperBound(r,(function search(r){return r.range[0]>e.range[0]}));e.extendedRange=[e.range[0],e.range[1]];if(t!==r.length){e.extendedRange[1]=r[t].range[0]}t-=1;if(t>=0){e.extendedRange[0]=r[t].range[1]}return e}function attachComments(e,r,t){var a=[],n,o,i,l;if(!e.range){throw new Error("attachComments needs range information")}if(!t.length){if(r.length){for(i=0,o=r.length;i<o;i+=1){n=deepCopy(r[i]);n.extendedRange=[0,e.range[0]];a.push(n)}e.leadingComments=a}return e}for(i=0,o=r.length;i<o;i+=1){a.push(extendCommentRange(deepCopy(r[i]),t))}l=0;traverse(e,{enter:function(e){var r;while(l<a.length){r=a[l];if(r.extendedRange[1]>e.range[0]){break}if(r.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(r);a.splice(l,1)}else{l+=1}}if(l===a.length){return s.Break}if(a[l].extendedRange[0]>e.range[1]){return s.Skip}}});l=0;traverse(e,{leave:function(e){var r;while(l<a.length){r=a[l];if(e.range[1]<r.extendedRange[0]){break}if(e.range[1]===r.extendedRange[0]){if(!e.trailingComments){e.trailingComments=[]}e.trailingComments.push(r);a.splice(l,1)}else{l+=1}}if(l===a.length){return s.Break}if(a[l].extendedRange[0]>e.range[1]){return s.Skip}}});return e}e.version=t(1752).i8;e.Syntax=r;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=a;e.VisitorOption=s;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(r)},1731:(e,r)=>{(function clone(e){"use strict";var r,t,s,a,n,o;function deepCopy(e){var r={},t,s;for(t in e){if(e.hasOwnProperty(t)){s=e[t];if(typeof s==="object"&&s!==null){r[t]=deepCopy(s)}else{r[t]=s}}}return r}function upperBound(e,r){var t,s,a,n;s=e.length;a=0;while(s){t=s>>>1;n=a+t;if(r(e[n])){s=t}else{a=n+1;s-=t+1}}return a}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",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",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"};s={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"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["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"]};a={};n={};o={};t={Break:a,Skip:n,Remove:o};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,t,s){this.node=e;this.path=r;this.wrap=t;this.ref=s}function Controller(){}Controller.prototype.path=function path(){var e,r,t,s,a,n;function addToPath(e,r){if(Array.isArray(r)){for(t=0,s=r.length;t<s;++t){e.push(r[t])}}else{e.push(r)}}if(!this.__current.path){return null}a=[];for(e=2,r=this.__leavelist.length;e<r;++e){n=this.__leavelist[e];addToPath(a,n.path)}addToPath(a,this.__current.path);return a};Controller.prototype.type=function(){var e=this.current();return e.type||this.__current.wrap};Controller.prototype.parents=function parents(){var e,r,t;t=[];for(e=1,r=this.__leavelist.length;e<r;++e){t.push(this.__leavelist[e].node)}return t};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(e,r){var t,s;s=undefined;t=this.__current;this.__current=r;this.__state=null;if(e){s=e.call(this,r.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=t;return s};Controller.prototype.notify=function notify(e){this.__state=e};Controller.prototype.skip=function(){this.notify(n)};Controller.prototype["break"]=function(){this.notify(a)};Controller.prototype.remove=function(){this.notify(o)};Controller.prototype.__initialize=function(e,r){this.visitor=r;this.root=e;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(r.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof r.fallback==="function"){this.__fallback=r.fallback}this.__keys=s;if(r.keys){this.__keys=Object.assign(Object.create(this.__keys),r.keys)}};function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(e,t){return(e===r.ObjectExpression||e===r.ObjectPattern)&&"properties"===t}function candidateExistsInLeaveList(e,r){for(var t=e.length-1;t>=0;--t){if(e[t].node===r){return true}}return false}Controller.prototype.traverse=function traverse(e,r){var t,s,o,i,l,c,d,u,p,f,y,g;this.__initialize(e,r);g={};t=this.__worklist;s=this.__leavelist;t.push(new Element(e,null,null,null));s.push(new Element(null,null,null,null));while(t.length){o=t.pop();if(o===g){o=s.pop();c=this.__execute(r.leave,o);if(this.__state===a||c===a){return}continue}if(o.node){c=this.__execute(r.enter,o);if(this.__state===a||c===a){return}t.push(g);s.push(o);if(this.__state===n||c===n){continue}i=o.node;l=i.type||o.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){d=f[u];y=i[d];if(!y){continue}if(Array.isArray(y)){p=y.length;while((p-=1)>=0){if(!y[p]){continue}if(candidateExistsInLeaveList(s,y[p])){continue}if(isProperty(l,f[u])){o=new Element(y[p],[d,p],"Property",null)}else if(isNode(y[p])){o=new Element(y[p],[d,p],null,null)}else{continue}t.push(o)}}else if(isNode(y)){if(candidateExistsInLeaveList(s,y)){continue}t.push(new Element(y,d,null,null))}}}}};Controller.prototype.replace=function replace(e,r){var t,s,i,l,c,d,u,p,f,y,g,h,b;function removeElem(e){var r,s,a,n;if(e.ref.remove()){s=e.ref.key;n=e.ref.parent;r=t.length;while(r--){a=t[r];if(a.ref&&a.ref.parent===n){if(a.ref.key<s){break}--a.ref.key}}}}this.__initialize(e,r);g={};t=this.__worklist;s=this.__leavelist;h={root:e};d=new Element(e,null,null,new Reference(h,"root"));t.push(d);s.push(d);while(t.length){d=t.pop();if(d===g){d=s.pop();c=this.__execute(r.leave,d);if(c!==undefined&&c!==a&&c!==n&&c!==o){d.ref.replace(c)}if(this.__state===o||c===o){removeElem(d)}if(this.__state===a||c===a){return h.root}continue}c=this.__execute(r.enter,d);if(c!==undefined&&c!==a&&c!==n&&c!==o){d.ref.replace(c);d.node=c}if(this.__state===o||c===o){removeElem(d);d.node=null}if(this.__state===a||c===a){return h.root}i=d.node;if(!i){continue}t.push(g);s.push(d);if(this.__state===n||c===n){continue}l=i.type||d.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}u=f.length;while((u-=1)>=0){b=f[u];y=i[b];if(!y){continue}if(Array.isArray(y)){p=y.length;while((p-=1)>=0){if(!y[p]){continue}if(isProperty(l,f[u])){d=new Element(y[p],[b,p],"Property",new Reference(y,p))}else if(isNode(y[p])){d=new Element(y[p],[b,p],null,new Reference(y,p))}else{continue}t.push(d)}}else if(isNode(y)){t.push(new Element(y,b,null,new Reference(i,b)))}}}return h.root};function traverse(e,r){var t=new Controller;return t.traverse(e,r)}function replace(e,r){var t=new Controller;return t.replace(e,r)}function extendCommentRange(e,r){var t;t=upperBound(r,(function search(r){return r.range[0]>e.range[0]}));e.extendedRange=[e.range[0],e.range[1]];if(t!==r.length){e.extendedRange[1]=r[t].range[0]}t-=1;if(t>=0){e.extendedRange[0]=r[t].range[1]}return e}function attachComments(e,r,s){var a=[],n,o,i,l;if(!e.range){throw new Error("attachComments needs range information")}if(!s.length){if(r.length){for(i=0,o=r.length;i<o;i+=1){n=deepCopy(r[i]);n.extendedRange=[0,e.range[0]];a.push(n)}e.leadingComments=a}return e}for(i=0,o=r.length;i<o;i+=1){a.push(extendCommentRange(deepCopy(r[i]),s))}l=0;traverse(e,{enter:function(e){var r;while(l<a.length){r=a[l];if(r.extendedRange[1]>e.range[0]){break}if(r.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(r);a.splice(l,1)}else{l+=1}}if(l===a.length){return t.Break}if(a[l].extendedRange[0]>e.range[1]){return t.Skip}}});l=0;traverse(e,{leave:function(e){var r;while(l<a.length){r=a[l];if(e.range[1]<r.extendedRange[0]){break}if(e.range[1]===r.extendedRange[0]){if(!e.trailingComments){e.trailingComments=[]}e.trailingComments.push(r);a.splice(l,1)}else{l+=1}}if(l===a.length){return t.Break}if(a[l].extendedRange[0]>e.range[1]){return t.Skip}}});return e}e.Syntax=r;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=s;e.VisitorOption=t;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(r)},2426:e=>{"use strict";var r="Function.prototype.bind called on incompatible ";var t=Array.prototype.slice;var s=Object.prototype.toString;var a="[object Function]";e.exports=function bind(e){var n=this;if(typeof n!=="function"||s.call(n)!==a){throw new TypeError(r+n)}var o=t.call(arguments,1);var i;var binder=function(){if(this instanceof i){var r=n.apply(this,o.concat(t.call(arguments)));if(Object(r)===r){return r}return this}else{return n.apply(e,o.concat(t.call(arguments)))}};var l=Math.max(0,n.length-o.length);var c=[];for(var d=0;d<l;d++){c.push("$"+d)}i=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(binder);if(n.prototype){var u=function Empty(){};u.prototype=n.prototype;i.prototype=new u;u.prototype=null}return i}},2174:(e,r,t)=>{"use strict";var s=t(2426);e.exports=Function.prototype.bind||s},6929:(e,r,t)=>{"use strict";e.exports=t(3676)},5343:e=>{"use strict";e.exports=(e,r)=>{r=r||process.argv;const t=e.startsWith("-")?"":e.length===1?"-":"--";const s=r.indexOf(t+e);const a=r.indexOf("--");return s!==-1&&(a===-1?true:s<a)}},101:(e,r,t)=>{"use strict";var s=t(2174);e.exports=s.call(Function.call,Object.prototype.hasOwnProperty)},2794:(e,r,t)=>{"use strict";var s=t(101);function specifierIncluded(e,r){var t=e.split(".");var s=r.split(" ");var a=s.length>1?s[0]:"=";var n=(s.length>1?s[1]:s[0]).split(".");for(var o=0;o<3;++o){var i=parseInt(t[o]||0,10);var l=parseInt(n[o]||0,10);if(i===l){continue}if(a==="<"){return i<l}if(a===">="){return i>=l}return false}return a===">="}function matchesRange(e,r){var t=r.split(/ ?&& ?/);if(t.length===0){return false}for(var s=0;s<t.length;++s){if(!specifierIncluded(e,t[s])){return false}}return true}function versionIncluded(e,r){if(typeof r==="boolean"){return r}var t=typeof e==="undefined"?process.versions&&process.versions.node:e;if(typeof t!=="string"){throw new TypeError(typeof e==="undefined"?"Unable to determine current node version":"If provided, a valid node version is required")}if(r&&typeof r==="object"){for(var s=0;s<r.length;++s){if(matchesRange(t,r[s])){return true}}return false}return matchesRange(t,r)}var a=t(4055);e.exports=function isCore(e,r){return s(a,e)&&versionIncluded(r,a[e])}},8874:(e,r)=>{Object.defineProperty(r,"__esModule",{value:true});r["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;r.matchToToken=function(e){var r={type:"invalid",value:e[0],closed:undefined};if(e[1])r.type="string",r.closed=!!(e[3]||e[4]);else if(e[5])r.type="comment";else if(e[6])r.type="comment",r.closed=!!e[7];else if(e[8])r.type="regex";else if(e[9])r.type="number";else if(e[10])r.type="name";else if(e[11])r.type="punctuator";else if(e[12])r.type="whitespace";return r}},3079:e=>{var r="Expected a function";var t=0/0;var s="[object Symbol]";var a=/^\s+|\s+$/g;var n=/^[-+]0x[0-9a-f]+$/i;var o=/^0b[01]+$/i;var i=/^0o[0-7]+$/i;var l=parseInt;var c=typeof global=="object"&&global&&global.Object===Object&&global;var d=typeof self=="object"&&self&&self.Object===Object&&self;var u=c||d||Function("return this")();var p=Object.prototype;var f=p.toString;var y=Math.max,g=Math.min;var now=function(){return u.Date.now()};function debounce(e,t,s){var a,n,o,i,l,c,d=0,u=false,p=false,f=true;if(typeof e!="function"){throw new TypeError(r)}t=toNumber(t)||0;if(isObject(s)){u=!!s.leading;p="maxWait"in s;o=p?y(toNumber(s.maxWait)||0,t):o;f="trailing"in s?!!s.trailing:f}function invokeFunc(r){var t=a,s=n;a=n=undefined;d=r;i=e.apply(s,t);return i}function leadingEdge(e){d=e;l=setTimeout(timerExpired,t);return u?invokeFunc(e):i}function remainingWait(e){var r=e-c,s=e-d,a=t-r;return p?g(a,o-s):a}function shouldInvoke(e){var r=e-c,s=e-d;return c===undefined||r>=t||r<0||p&&s>=o}function timerExpired(){var e=now();if(shouldInvoke(e)){return trailingEdge(e)}l=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){l=undefined;if(f&&a){return invokeFunc(e)}a=n=undefined;return i}function cancel(){if(l!==undefined){clearTimeout(l)}d=0;a=c=n=l=undefined}function flush(){return l===undefined?i:trailingEdge(now())}function debounced(){var e=now(),r=shouldInvoke(e);a=arguments;n=this;c=e;if(r){if(l===undefined){return leadingEdge(c)}if(p){l=setTimeout(timerExpired,t);return invokeFunc(c)}}if(l===undefined){l=setTimeout(timerExpired,t)}return i}debounced.cancel=cancel;debounced.flush=flush;return debounced}function isObject(e){var r=typeof e;return!!e&&(r=="object"||r=="function")}function isObjectLike(e){return!!e&&typeof e=="object"}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&f.call(e)==s}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return t}if(isObject(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(r)?r+"":r}if(typeof e!="string"){return e===0?e:+e}e=e.replace(a,"");var s=o.test(e);return s||i.test(e)?l(e.slice(2),s?2:8):n.test(e)?t:+e}e.exports=debounce},1788:function(e,r,t){e=t.nmd(e); +/** + * @license + * Lodash <https://lodash.com/> + * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> + * Released under MIT license <https://lodash.com/license> + * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */(function(){var t;var s="4.17.21";var a=200;var n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",i="Invalid `variable` option passed into `_.template`";var l="__lodash_hash_undefined__";var c=500;var d="__lodash_placeholder__";var u=1,p=2,f=4;var y=1,g=2;var h=1,b=2,x=4,v=8,j=16,w=32,E=64,_=128,S=256,k=512;var C=30,P="...";var D=800,I=16;var A=1,O=2,R=3;var F=1/0,M=9007199254740991,N=17976931348623157e292,L=0/0;var B=4294967295,W=B-1,U=B>>>1;var q=[["ary",_],["bind",h],["bindKey",b],["curry",v],["curryRight",j],["flip",k],["partial",w],["partialRight",E],["rearg",S]];var V="[object Arguments]",$="[object Array]",G="[object AsyncFunction]",H="[object Boolean]",z="[object Date]",K="[object DOMException]",Y="[object Error]",X="[object Function]",J="[object GeneratorFunction]",Z="[object Map]",Q="[object Number]",ee="[object Null]",re="[object Object]",te="[object Promise]",se="[object Proxy]",ae="[object RegExp]",ne="[object Set]",oe="[object String]",ie="[object Symbol]",le="[object Undefined]",ce="[object WeakMap]",de="[object WeakSet]";var ue="[object ArrayBuffer]",pe="[object DataView]",fe="[object Float32Array]",ye="[object Float64Array]",me="[object Int8Array]",ge="[object Int16Array]",he="[object Int32Array]",be="[object Uint8Array]",xe="[object Uint8ClampedArray]",ve="[object Uint16Array]",je="[object Uint32Array]";var we=/\b__p \+= '';/g,Ee=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var Se=/&(?:amp|lt|gt|quot|#39);/g,ke=/[&<>"']/g,Ce=RegExp(Se.source),Pe=RegExp(ke.source);var De=/<%-([\s\S]+?)%>/g,Ie=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g;var Oe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Re=/^\w*$/,Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Fe=/[\\^$.*+?()[\]{}|]/g,Me=RegExp(Fe.source);var Ne=/^\s+/;var Le=/\s/;var Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,We=/\{\n\/\* \[wrapped with (.+)\] \*/,Ue=/,? & /;var qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Ve=/[()=,{}\[\]\/\s]/;var $e=/\\(\\)?/g;var Ge=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var He=/\w*$/;var ze=/^[-+]0x[0-9a-f]+$/i;var Ke=/^0b[01]+$/i;var Ye=/^\[object .+?Constructor\]$/;var Xe=/^0o[0-7]+$/i;var Je=/^(?:0|[1-9]\d*)$/;var Ze=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var Qe=/($^)/;var er=/['\n\r\u2028\u2029\\]/g;var rr="\\ud800-\\udfff",tr="\\u0300-\\u036f",sr="\\ufe20-\\ufe2f",ar="\\u20d0-\\u20ff",nr=tr+sr+ar,or="\\u2700-\\u27bf",ir="a-z\\xdf-\\xf6\\xf8-\\xff",lr="\\xac\\xb1\\xd7\\xf7",cr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dr="\\u2000-\\u206f",ur=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pr="A-Z\\xc0-\\xd6\\xd8-\\xde",fr="\\ufe0e\\ufe0f",yr=lr+cr+dr+ur;var mr="['’]",gr="["+rr+"]",hr="["+yr+"]",br="["+nr+"]",xr="\\d+",vr="["+or+"]",jr="["+ir+"]",wr="[^"+rr+yr+xr+or+ir+pr+"]",Er="\\ud83c[\\udffb-\\udfff]",_r="(?:"+br+"|"+Er+")",Sr="[^"+rr+"]",kr="(?:\\ud83c[\\udde6-\\uddff]){2}",Cr="[\\ud800-\\udbff][\\udc00-\\udfff]",Pr="["+pr+"]",Dr="\\u200d";var Ir="(?:"+jr+"|"+wr+")",Ar="(?:"+Pr+"|"+wr+")",Or="(?:"+mr+"(?:d|ll|m|re|s|t|ve))?",Rr="(?:"+mr+"(?:D|LL|M|RE|S|T|VE))?",Tr=_r+"?",Fr="["+fr+"]?",Mr="(?:"+Dr+"(?:"+[Sr,kr,Cr].join("|")+")"+Fr+Tr+")*",Nr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Lr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Br=Fr+Tr+Mr,Wr="(?:"+[vr,kr,Cr].join("|")+")"+Br,Ur="(?:"+[Sr+br+"?",br,kr,Cr,gr].join("|")+")";var qr=RegExp(mr,"g");var Vr=RegExp(br,"g");var $r=RegExp(Er+"(?="+Er+")|"+Ur+Br,"g");var Gr=RegExp([Pr+"?"+jr+"+"+Or+"(?="+[hr,Pr,"$"].join("|")+")",Ar+"+"+Rr+"(?="+[hr,Pr+Ir,"$"].join("|")+")",Pr+"?"+Ir+"+"+Or,Pr+"+"+Rr,Lr,Nr,xr,Wr].join("|"),"g");var Hr=RegExp("["+Dr+rr+nr+fr+"]");var zr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Kr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Yr=-1;var Xr={};Xr[fe]=Xr[ye]=Xr[me]=Xr[ge]=Xr[he]=Xr[be]=Xr[xe]=Xr[ve]=Xr[je]=true;Xr[V]=Xr[$]=Xr[ue]=Xr[H]=Xr[pe]=Xr[z]=Xr[Y]=Xr[X]=Xr[Z]=Xr[Q]=Xr[re]=Xr[ae]=Xr[ne]=Xr[oe]=Xr[ce]=false;var Jr={};Jr[V]=Jr[$]=Jr[ue]=Jr[pe]=Jr[H]=Jr[z]=Jr[fe]=Jr[ye]=Jr[me]=Jr[ge]=Jr[he]=Jr[Z]=Jr[Q]=Jr[re]=Jr[ae]=Jr[ne]=Jr[oe]=Jr[ie]=Jr[be]=Jr[xe]=Jr[ve]=Jr[je]=true;Jr[Y]=Jr[X]=Jr[ce]=false;var Zr={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var Qr={"&":"&","<":"<",">":">",'"':""","'":"'"};var et={"&":"&","<":"<",">":">",""":'"',"'":"'"};var rt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var tt=parseFloat,st=parseInt;var at=typeof global=="object"&&global&&global.Object===Object&&global;var nt=typeof self=="object"&&self&&self.Object===Object&&self;var ot=at||nt||Function("return this")();var lt=true&&r&&!r.nodeType&&r;var ct=lt&&"object"=="object"&&e&&!e.nodeType&&e;var dt=ct&&ct.exports===lt;var ut=dt&&at.process;var pt=function(){try{var e=ct&&ct.require&&ct.require("util").types;if(e){return e}return ut&&ut.binding&&ut.binding("util")}catch(e){}}();var ft=pt&&pt.isArrayBuffer,yt=pt&&pt.isDate,mt=pt&&pt.isMap,gt=pt&&pt.isRegExp,ht=pt&&pt.isSet,bt=pt&&pt.isTypedArray;function apply(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}function arrayAggregator(e,r,t,s){var a=-1,n=e==null?0:e.length;while(++a<n){var o=e[a];r(s,o,t(o),e)}return s}function arrayEach(e,r){var t=-1,s=e==null?0:e.length;while(++t<s){if(r(e[t],t,e)===false){break}}return e}function arrayEachRight(e,r){var t=e==null?0:e.length;while(t--){if(r(e[t],t,e)===false){break}}return e}function arrayEvery(e,r){var t=-1,s=e==null?0:e.length;while(++t<s){if(!r(e[t],t,e)){return false}}return true}function arrayFilter(e,r){var t=-1,s=e==null?0:e.length,a=0,n=[];while(++t<s){var o=e[t];if(r(o,t,e)){n[a++]=o}}return n}function arrayIncludes(e,r){var t=e==null?0:e.length;return!!t&&baseIndexOf(e,r,0)>-1}function arrayIncludesWith(e,r,t){var s=-1,a=e==null?0:e.length;while(++s<a){if(t(r,e[s])){return true}}return false}function arrayMap(e,r){var t=-1,s=e==null?0:e.length,a=Array(s);while(++t<s){a[t]=r(e[t],t,e)}return a}function arrayPush(e,r){var t=-1,s=r.length,a=e.length;while(++t<s){e[a+t]=r[t]}return e}function arrayReduce(e,r,t,s){var a=-1,n=e==null?0:e.length;if(s&&n){t=e[++a]}while(++a<n){t=r(t,e[a],a,e)}return t}function arrayReduceRight(e,r,t,s){var a=e==null?0:e.length;if(s&&a){t=e[--a]}while(a--){t=r(t,e[a],a,e)}return t}function arraySome(e,r){var t=-1,s=e==null?0:e.length;while(++t<s){if(r(e[t],t,e)){return true}}return false}var xt=baseProperty("length");function asciiToArray(e){return e.split("")}function asciiWords(e){return e.match(qe)||[]}function baseFindKey(e,r,t){var s;t(e,(function(e,t,a){if(r(e,t,a)){s=t;return false}}));return s}function baseFindIndex(e,r,t,s){var a=e.length,n=t+(s?1:-1);while(s?n--:++n<a){if(r(e[n],n,e)){return n}}return-1}function baseIndexOf(e,r,t){return r===r?strictIndexOf(e,r,t):baseFindIndex(e,baseIsNaN,t)}function baseIndexOfWith(e,r,t,s){var a=t-1,n=e.length;while(++a<n){if(s(e[a],r)){return a}}return-1}function baseIsNaN(e){return e!==e}function baseMean(e,r){var t=e==null?0:e.length;return t?baseSum(e,r)/t:L}function baseProperty(e){return function(r){return r==null?t:r[e]}}function basePropertyOf(e){return function(r){return e==null?t:e[r]}}function baseReduce(e,r,t,s,a){a(e,(function(e,a,n){t=s?(s=false,e):r(t,e,a,n)}));return t}function baseSortBy(e,r){var t=e.length;e.sort(r);while(t--){e[t]=e[t].value}return e}function baseSum(e,r){var s,a=-1,n=e.length;while(++a<n){var o=r(e[a]);if(o!==t){s=s===t?o:s+o}}return s}function baseTimes(e,r){var t=-1,s=Array(e);while(++t<e){s[t]=r(t)}return s}function baseToPairs(e,r){return arrayMap(r,(function(r){return[r,e[r]]}))}function baseTrim(e){return e?e.slice(0,trimmedEndIndex(e)+1).replace(Ne,""):e}function baseUnary(e){return function(r){return e(r)}}function baseValues(e,r){return arrayMap(r,(function(r){return e[r]}))}function cacheHas(e,r){return e.has(r)}function charsStartIndex(e,r){var t=-1,s=e.length;while(++t<s&&baseIndexOf(r,e[t],0)>-1){}return t}function charsEndIndex(e,r){var t=e.length;while(t--&&baseIndexOf(r,e[t],0)>-1){}return t}function countHolders(e,r){var t=e.length,s=0;while(t--){if(e[t]===r){++s}}return s}var vt=basePropertyOf(Zr);var jt=basePropertyOf(Qr);function escapeStringChar(e){return"\\"+rt[e]}function getValue(e,r){return e==null?t:e[r]}function hasUnicode(e){return Hr.test(e)}function hasUnicodeWord(e){return zr.test(e)}function iteratorToArray(e){var r,t=[];while(!(r=e.next()).done){t.push(r.value)}return t}function mapToArray(e){var r=-1,t=Array(e.size);e.forEach((function(e,s){t[++r]=[s,e]}));return t}function overArg(e,r){return function(t){return e(r(t))}}function replaceHolders(e,r){var t=-1,s=e.length,a=0,n=[];while(++t<s){var o=e[t];if(o===r||o===d){e[t]=d;n[a++]=t}}return n}function setToArray(e){var r=-1,t=Array(e.size);e.forEach((function(e){t[++r]=e}));return t}function setToPairs(e){var r=-1,t=Array(e.size);e.forEach((function(e){t[++r]=[e,e]}));return t}function strictIndexOf(e,r,t){var s=t-1,a=e.length;while(++s<a){if(e[s]===r){return s}}return-1}function strictLastIndexOf(e,r,t){var s=t+1;while(s--){if(e[s]===r){return s}}return s}function stringSize(e){return hasUnicode(e)?unicodeSize(e):xt(e)}function stringToArray(e){return hasUnicode(e)?unicodeToArray(e):asciiToArray(e)}function trimmedEndIndex(e){var r=e.length;while(r--&&Le.test(e.charAt(r))){}return r}var wt=basePropertyOf(et);function unicodeSize(e){var r=$r.lastIndex=0;while($r.test(e)){++r}return r}function unicodeToArray(e){return e.match($r)||[]}function unicodeWords(e){return e.match(Gr)||[]}var Et=function runInContext(e){e=e==null?ot:_t.defaults(ot.Object(),e,_t.pick(ot,Kr));var r=e.Array,Le=e.Date,qe=e.Error,rr=e.Function,tr=e.Math,sr=e.Object,ar=e.RegExp,nr=e.String,or=e.TypeError;var ir=r.prototype,lr=rr.prototype,cr=sr.prototype;var dr=e["__core-js_shared__"];var ur=lr.toString;var pr=cr.hasOwnProperty;var fr=0;var yr=function(){var e=/[^.]+$/.exec(dr&&dr.keys&&dr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var mr=cr.toString;var gr=ur.call(sr);var hr=ot._;var br=ar("^"+ur.call(pr).replace(Fe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var xr=dt?e.Buffer:t,vr=e.Symbol,jr=e.Uint8Array,wr=xr?xr.allocUnsafe:t,Er=overArg(sr.getPrototypeOf,sr),_r=sr.create,Sr=cr.propertyIsEnumerable,kr=ir.splice,Cr=vr?vr.isConcatSpreadable:t,Pr=vr?vr.iterator:t,Dr=vr?vr.toStringTag:t;var Ir=function(){try{var e=getNative(sr,"defineProperty");e({},"",{});return e}catch(e){}}();var Ar=e.clearTimeout!==ot.clearTimeout&&e.clearTimeout,Or=Le&&Le.now!==ot.Date.now&&Le.now,Rr=e.setTimeout!==ot.setTimeout&&e.setTimeout;var Tr=tr.ceil,Fr=tr.floor,Mr=sr.getOwnPropertySymbols,Nr=xr?xr.isBuffer:t,Lr=e.isFinite,Br=ir.join,Wr=overArg(sr.keys,sr),Ur=tr.max,$r=tr.min,Gr=Le.now,Hr=e.parseInt,zr=tr.random,Zr=ir.reverse;var Qr=getNative(e,"DataView"),et=getNative(e,"Map"),rt=getNative(e,"Promise"),at=getNative(e,"Set"),nt=getNative(e,"WeakMap"),lt=getNative(sr,"create");var ct=nt&&new nt;var ut={};var pt=toSource(Qr),xt=toSource(et),Et=toSource(rt),St=toSource(at),kt=toSource(nt);var Ct=vr?vr.prototype:t,Pt=Ct?Ct.valueOf:t,Dt=Ct?Ct.toString:t;function lodash(e){if(isObjectLike(e)&&!Rs(e)&&!(e instanceof LazyWrapper)){if(e instanceof LodashWrapper){return e}if(pr.call(e,"__wrapped__")){return wrapperClone(e)}}return new LodashWrapper(e)}var It=function(){function object(){}return function(e){if(!isObject(e)){return{}}if(_r){return _r(e)}object.prototype=e;var r=new object;object.prototype=t;return r}}();function baseLodash(){}function LodashWrapper(e,r){this.__wrapped__=e;this.__actions__=[];this.__chain__=!!r;this.__index__=0;this.__values__=t}lodash.templateSettings={escape:De,evaluate:Ie,interpolate:Ae,variable:"",imports:{_:lodash}};lodash.prototype=baseLodash.prototype;lodash.prototype.constructor=lodash;LodashWrapper.prototype=It(baseLodash.prototype);LodashWrapper.prototype.constructor=LodashWrapper;function LazyWrapper(e){this.__wrapped__=e;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=B;this.__views__=[]}function lazyClone(){var e=new LazyWrapper(this.__wrapped__);e.__actions__=copyArray(this.__actions__);e.__dir__=this.__dir__;e.__filtered__=this.__filtered__;e.__iteratees__=copyArray(this.__iteratees__);e.__takeCount__=this.__takeCount__;e.__views__=copyArray(this.__views__);return e}function lazyReverse(){if(this.__filtered__){var e=new LazyWrapper(this);e.__dir__=-1;e.__filtered__=true}else{e=this.clone();e.__dir__*=-1}return e}function lazyValue(){var e=this.__wrapped__.value(),r=this.__dir__,t=Rs(e),s=r<0,a=t?e.length:0,n=getView(0,a,this.__views__),o=n.start,i=n.end,l=i-o,c=s?i:o-1,d=this.__iteratees__,u=d.length,p=0,f=$r(l,this.__takeCount__);if(!t||!s&&a==l&&f==l){return baseWrapperValue(e,this.__actions__)}var y=[];e:while(l--&&p<f){c+=r;var g=-1,h=e[c];while(++g<u){var b=d[g],x=b.iteratee,v=b.type,j=x(h);if(v==O){h=j}else if(!j){if(v==A){continue e}else{break e}}}y[p++]=h}return y}LazyWrapper.prototype=It(baseLodash.prototype);LazyWrapper.prototype.constructor=LazyWrapper;function Hash(e){var r=-1,t=e==null?0:e.length;this.clear();while(++r<t){var s=e[r];this.set(s[0],s[1])}}function hashClear(){this.__data__=lt?lt(null):{};this.size=0}function hashDelete(e){var r=this.has(e)&&delete this.__data__[e];this.size-=r?1:0;return r}function hashGet(e){var r=this.__data__;if(lt){var s=r[e];return s===l?t:s}return pr.call(r,e)?r[e]:t}function hashHas(e){var r=this.__data__;return lt?r[e]!==t:pr.call(r,e)}function hashSet(e,r){var s=this.__data__;this.size+=this.has(e)?0:1;s[e]=lt&&r===t?l:r;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(e){var r=-1,t=e==null?0:e.length;this.clear();while(++r<t){var s=e[r];this.set(s[0],s[1])}}function listCacheClear(){this.__data__=[];this.size=0}function listCacheDelete(e){var r=this.__data__,t=assocIndexOf(r,e);if(t<0){return false}var s=r.length-1;if(t==s){r.pop()}else{kr.call(r,t,1)}--this.size;return true}function listCacheGet(e){var r=this.__data__,s=assocIndexOf(r,e);return s<0?t:r[s][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,r){var t=this.__data__,s=assocIndexOf(t,e);if(s<0){++this.size;t.push([e,r])}else{t[s][1]=r}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var r=-1,t=e==null?0:e.length;this.clear();while(++r<t){var s=e[r];this.set(s[0],s[1])}}function mapCacheClear(){this.size=0;this.__data__={hash:new Hash,map:new(et||ListCache),string:new Hash}}function mapCacheDelete(e){var r=getMapData(this,e)["delete"](e);this.size-=r?1:0;return r}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,r){var t=getMapData(this,e),s=t.size;t.set(e,r);this.size+=t.size==s?0:1;return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function SetCache(e){var r=-1,t=e==null?0:e.length;this.__data__=new MapCache;while(++r<t){this.add(e[r])}}function setCacheAdd(e){this.__data__.set(e,l);return this}function setCacheHas(e){return this.__data__.has(e)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function Stack(e){var r=this.__data__=new ListCache(e);this.size=r.size}function stackClear(){this.__data__=new ListCache;this.size=0}function stackDelete(e){var r=this.__data__,t=r["delete"](e);this.size=r.size;return t}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}function stackSet(e,r){var t=this.__data__;if(t instanceof ListCache){var s=t.__data__;if(!et||s.length<a-1){s.push([e,r]);this.size=++t.size;return this}t=this.__data__=new MapCache(s)}t.set(e,r);this.size=t.size;return this}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function arrayLikeKeys(e,r){var t=Rs(e),s=!t&&Os(e),a=!t&&!s&&Fs(e),n=!t&&!s&&!a&&Ws(e),o=t||s||a||n,i=o?baseTimes(e.length,nr):[],l=i.length;for(var c in e){if((r||pr.call(e,c))&&!(o&&(c=="length"||a&&(c=="offset"||c=="parent")||n&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||isIndex(c,l)))){i.push(c)}}return i}function arraySample(e){var r=e.length;return r?e[baseRandom(0,r-1)]:t}function arraySampleSize(e,r){return shuffleSelf(copyArray(e),baseClamp(r,0,e.length))}function arrayShuffle(e){return shuffleSelf(copyArray(e))}function assignMergeValue(e,r,s){if(s!==t&&!eq(e[r],s)||s===t&&!(r in e)){baseAssignValue(e,r,s)}}function assignValue(e,r,s){var a=e[r];if(!(pr.call(e,r)&&eq(a,s))||s===t&&!(r in e)){baseAssignValue(e,r,s)}}function assocIndexOf(e,r){var t=e.length;while(t--){if(eq(e[t][0],r)){return t}}return-1}function baseAggregator(e,r,t,s){At(e,(function(e,a,n){r(s,e,t(e),n)}));return s}function baseAssign(e,r){return e&©Object(r,keys(r),e)}function baseAssignIn(e,r){return e&©Object(r,keysIn(r),e)}function baseAssignValue(e,r,t){if(r=="__proto__"&&Ir){Ir(e,r,{configurable:true,enumerable:true,value:t,writable:true})}else{e[r]=t}}function baseAt(e,s){var a=-1,n=s.length,o=r(n),i=e==null;while(++a<n){o[a]=i?t:get(e,s[a])}return o}function baseClamp(e,r,s){if(e===e){if(s!==t){e=e<=s?e:s}if(r!==t){e=e>=r?e:r}}return e}function baseClone(e,r,s,a,n,o){var i,l=r&u,c=r&p,d=r&f;if(s){i=n?s(e,a,n,o):s(e)}if(i!==t){return i}if(!isObject(e)){return e}var y=Rs(e);if(y){i=initCloneArray(e);if(!l){return copyArray(e,i)}}else{var g=Vt(e),h=g==X||g==J;if(Fs(e)){return cloneBuffer(e,l)}if(g==re||g==V||h&&!n){i=c||h?{}:initCloneObject(e);if(!l){return c?copySymbolsIn(e,baseAssignIn(i,e)):copySymbols(e,baseAssign(i,e))}}else{if(!Jr[g]){return n?e:{}}i=initCloneByTag(e,g,l)}}o||(o=new Stack);var b=o.get(e);if(b){return b}o.set(e,i);if(Bs(e)){e.forEach((function(t){i.add(baseClone(t,r,s,t,e,o))}))}else if(Ns(e)){e.forEach((function(t,a){i.set(a,baseClone(t,r,s,a,e,o))}))}var x=d?c?getAllKeysIn:getAllKeys:c?keysIn:keys;var v=y?t:x(e);arrayEach(v||e,(function(t,a){if(v){a=t;t=e[a]}assignValue(i,a,baseClone(t,r,s,a,e,o))}));return i}function baseConforms(e){var r=keys(e);return function(t){return baseConformsTo(t,e,r)}}function baseConformsTo(e,r,s){var a=s.length;if(e==null){return!a}e=sr(e);while(a--){var n=s[a],o=r[n],i=e[n];if(i===t&&!(n in e)||!o(i)){return false}}return true}function baseDelay(e,r,s){if(typeof e!="function"){throw new or(o)}return Ht((function(){e.apply(t,s)}),r)}function baseDifference(e,r,t,s){var n=-1,o=arrayIncludes,i=true,l=e.length,c=[],d=r.length;if(!l){return c}if(t){r=arrayMap(r,baseUnary(t))}if(s){o=arrayIncludesWith;i=false}else if(r.length>=a){o=cacheHas;i=false;r=new SetCache(r)}e:while(++n<l){var u=e[n],p=t==null?u:t(u);u=s||u!==0?u:0;if(i&&p===p){var f=d;while(f--){if(r[f]===p){continue e}}c.push(u)}else if(!o(r,p,s)){c.push(u)}}return c}var At=createBaseEach(baseForOwn);var Ot=createBaseEach(baseForOwnRight,true);function baseEvery(e,r){var t=true;At(e,(function(e,s,a){t=!!r(e,s,a);return t}));return t}function baseExtremum(e,r,s){var a=-1,n=e.length;while(++a<n){var o=e[a],i=r(o);if(i!=null&&(l===t?i===i&&!isSymbol(i):s(i,l))){var l=i,c=o}}return c}function baseFill(e,r,s,a){var n=e.length;s=toInteger(s);if(s<0){s=-s>n?0:n+s}a=a===t||a>n?n:toInteger(a);if(a<0){a+=n}a=s>a?0:toLength(a);while(s<a){e[s++]=r}return e}function baseFilter(e,r){var t=[];At(e,(function(e,s,a){if(r(e,s,a)){t.push(e)}}));return t}function baseFlatten(e,r,t,s,a){var n=-1,o=e.length;t||(t=isFlattenable);a||(a=[]);while(++n<o){var i=e[n];if(r>0&&t(i)){if(r>1){baseFlatten(i,r-1,t,s,a)}else{arrayPush(a,i)}}else if(!s){a[a.length]=i}}return a}var Rt=createBaseFor();var Tt=createBaseFor(true);function baseForOwn(e,r){return e&&Rt(e,r,keys)}function baseForOwnRight(e,r){return e&&Tt(e,r,keys)}function baseFunctions(e,r){return arrayFilter(r,(function(r){return isFunction(e[r])}))}function baseGet(e,r){r=castPath(r,e);var s=0,a=r.length;while(e!=null&&s<a){e=e[toKey(r[s++])]}return s&&s==a?e:t}function baseGetAllKeys(e,r,t){var s=r(e);return Rs(e)?s:arrayPush(s,t(e))}function baseGetTag(e){if(e==null){return e===t?le:ee}return Dr&&Dr in sr(e)?getRawTag(e):objectToString(e)}function baseGt(e,r){return e>r}function baseHas(e,r){return e!=null&&pr.call(e,r)}function baseHasIn(e,r){return e!=null&&r in sr(e)}function baseInRange(e,r,t){return e>=$r(r,t)&&e<Ur(r,t)}function baseIntersection(e,s,a){var n=a?arrayIncludesWith:arrayIncludes,o=e[0].length,i=e.length,l=i,c=r(i),d=Infinity,u=[];while(l--){var p=e[l];if(l&&s){p=arrayMap(p,baseUnary(s))}d=$r(p.length,d);c[l]=!a&&(s||o>=120&&p.length>=120)?new SetCache(l&&p):t}p=e[0];var f=-1,y=c[0];e:while(++f<o&&u.length<d){var g=p[f],h=s?s(g):g;g=a||g!==0?g:0;if(!(y?cacheHas(y,h):n(u,h,a))){l=i;while(--l){var b=c[l];if(!(b?cacheHas(b,h):n(e[l],h,a))){continue e}}if(y){y.push(h)}u.push(g)}}return u}function baseInverter(e,r,t,s){baseForOwn(e,(function(e,a,n){r(s,t(e),a,n)}));return s}function baseInvoke(e,r,s){r=castPath(r,e);e=parent(e,r);var a=e==null?e:e[toKey(last(r))];return a==null?t:apply(a,e,s)}function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==V}function baseIsArrayBuffer(e){return isObjectLike(e)&&baseGetTag(e)==ue}function baseIsDate(e){return isObjectLike(e)&&baseGetTag(e)==z}function baseIsEqual(e,r,t,s,a){if(e===r){return true}if(e==null||r==null||!isObjectLike(e)&&!isObjectLike(r)){return e!==e&&r!==r}return baseIsEqualDeep(e,r,t,s,baseIsEqual,a)}function baseIsEqualDeep(e,r,t,s,a,n){var o=Rs(e),i=Rs(r),l=o?$:Vt(e),c=i?$:Vt(r);l=l==V?re:l;c=c==V?re:c;var d=l==re,u=c==re,p=l==c;if(p&&Fs(e)){if(!Fs(r)){return false}o=true;d=false}if(p&&!d){n||(n=new Stack);return o||Ws(e)?equalArrays(e,r,t,s,a,n):equalByTag(e,r,l,t,s,a,n)}if(!(t&y)){var f=d&&pr.call(e,"__wrapped__"),g=u&&pr.call(r,"__wrapped__");if(f||g){var h=f?e.value():e,b=g?r.value():r;n||(n=new Stack);return a(h,b,t,s,n)}}if(!p){return false}n||(n=new Stack);return equalObjects(e,r,t,s,a,n)}function baseIsMap(e){return isObjectLike(e)&&Vt(e)==Z}function baseIsMatch(e,r,s,a){var n=s.length,o=n,i=!a;if(e==null){return!o}e=sr(e);while(n--){var l=s[n];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e)){return false}}while(++n<o){l=s[n];var c=l[0],d=e[c],u=l[1];if(i&&l[2]){if(d===t&&!(c in e)){return false}}else{var p=new Stack;if(a){var f=a(d,u,c,e,r,p)}if(!(f===t?baseIsEqual(u,d,y|g,a,p):f)){return false}}}return true}function baseIsNative(e){if(!isObject(e)||isMasked(e)){return false}var r=isFunction(e)?br:Ye;return r.test(toSource(e))}function baseIsRegExp(e){return isObjectLike(e)&&baseGetTag(e)==ae}function baseIsSet(e){return isObjectLike(e)&&Vt(e)==ne}function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!Xr[baseGetTag(e)]}function baseIteratee(e){if(typeof e=="function"){return e}if(e==null){return identity}if(typeof e=="object"){return Rs(e)?baseMatchesProperty(e[0],e[1]):baseMatches(e)}return property(e)}function baseKeys(e){if(!isPrototype(e)){return Wr(e)}var r=[];for(var t in sr(e)){if(pr.call(e,t)&&t!="constructor"){r.push(t)}}return r}function baseKeysIn(e){if(!isObject(e)){return nativeKeysIn(e)}var r=isPrototype(e),t=[];for(var s in e){if(!(s=="constructor"&&(r||!pr.call(e,s)))){t.push(s)}}return t}function baseLt(e,r){return e<r}function baseMap(e,t){var s=-1,a=isArrayLike(e)?r(e.length):[];At(e,(function(e,r,n){a[++s]=t(e,r,n)}));return a}function baseMatches(e){var r=getMatchData(e);if(r.length==1&&r[0][2]){return matchesStrictComparable(r[0][0],r[0][1])}return function(t){return t===e||baseIsMatch(t,e,r)}}function baseMatchesProperty(e,r){if(isKey(e)&&isStrictComparable(r)){return matchesStrictComparable(toKey(e),r)}return function(s){var a=get(s,e);return a===t&&a===r?hasIn(s,e):baseIsEqual(r,a,y|g)}}function baseMerge(e,r,s,a,n){if(e===r){return}Rt(r,(function(o,i){n||(n=new Stack);if(isObject(o)){baseMergeDeep(e,r,i,s,baseMerge,a,n)}else{var l=a?a(safeGet(e,i),o,i+"",e,r,n):t;if(l===t){l=o}assignMergeValue(e,i,l)}}),keysIn)}function baseMergeDeep(e,r,s,a,n,o,i){var l=safeGet(e,s),c=safeGet(r,s),d=i.get(c);if(d){assignMergeValue(e,s,d);return}var u=o?o(l,c,s+"",e,r,i):t;var p=u===t;if(p){var f=Rs(c),y=!f&&Fs(c),g=!f&&!y&&Ws(c);u=c;if(f||y||g){if(Rs(l)){u=l}else if(isArrayLikeObject(l)){u=copyArray(l)}else if(y){p=false;u=cloneBuffer(c,true)}else if(g){p=false;u=cloneTypedArray(c,true)}else{u=[]}}else if(isPlainObject(c)||Os(c)){u=l;if(Os(l)){u=toPlainObject(l)}else if(!isObject(l)||isFunction(l)){u=initCloneObject(c)}}else{p=false}}if(p){i.set(c,u);n(u,c,a,o,i);i["delete"](c)}assignMergeValue(e,s,u)}function baseNth(e,r){var s=e.length;if(!s){return}r+=r<0?s:0;return isIndex(r,s)?e[r]:t}function baseOrderBy(e,r,t){if(r.length){r=arrayMap(r,(function(e){if(Rs(e)){return function(r){return baseGet(r,e.length===1?e[0]:e)}}return e}))}else{r=[identity]}var s=-1;r=arrayMap(r,baseUnary(getIteratee()));var a=baseMap(e,(function(e,t,a){var n=arrayMap(r,(function(r){return r(e)}));return{criteria:n,index:++s,value:e}}));return baseSortBy(a,(function(e,r){return compareMultiple(e,r,t)}))}function basePick(e,r){return basePickBy(e,r,(function(r,t){return hasIn(e,t)}))}function basePickBy(e,r,t){var s=-1,a=r.length,n={};while(++s<a){var o=r[s],i=baseGet(e,o);if(t(i,o)){baseSet(n,castPath(o,e),i)}}return n}function basePropertyDeep(e){return function(r){return baseGet(r,e)}}function basePullAll(e,r,t,s){var a=s?baseIndexOfWith:baseIndexOf,n=-1,o=r.length,i=e;if(e===r){r=copyArray(r)}if(t){i=arrayMap(e,baseUnary(t))}while(++n<o){var l=0,c=r[n],d=t?t(c):c;while((l=a(i,d,l,s))>-1){if(i!==e){kr.call(i,l,1)}kr.call(e,l,1)}}return e}function basePullAt(e,r){var t=e?r.length:0,s=t-1;while(t--){var a=r[t];if(t==s||a!==n){var n=a;if(isIndex(a)){kr.call(e,a,1)}else{baseUnset(e,a)}}}return e}function baseRandom(e,r){return e+Fr(zr()*(r-e+1))}function baseRange(e,t,s,a){var n=-1,o=Ur(Tr((t-e)/(s||1)),0),i=r(o);while(o--){i[a?o:++n]=e;e+=s}return i}function baseRepeat(e,r){var t="";if(!e||r<1||r>M){return t}do{if(r%2){t+=e}r=Fr(r/2);if(r){e+=e}}while(r);return t}function baseRest(e,r){return zt(overRest(e,r,identity),e+"")}function baseSample(e){return arraySample(values(e))}function baseSampleSize(e,r){var t=values(e);return shuffleSelf(t,baseClamp(r,0,t.length))}function baseSet(e,r,s,a){if(!isObject(e)){return e}r=castPath(r,e);var n=-1,o=r.length,i=o-1,l=e;while(l!=null&&++n<o){var c=toKey(r[n]),d=s;if(c==="__proto__"||c==="constructor"||c==="prototype"){return e}if(n!=i){var u=l[c];d=a?a(u,c,l):t;if(d===t){d=isObject(u)?u:isIndex(r[n+1])?[]:{}}}assignValue(l,c,d);l=l[c]}return e}var Ft=!ct?identity:function(e,r){ct.set(e,r);return e};var Mt=!Ir?identity:function(e,r){return Ir(e,"toString",{configurable:true,enumerable:false,value:constant(r),writable:true})};function baseShuffle(e){return shuffleSelf(values(e))}function baseSlice(e,t,s){var a=-1,n=e.length;if(t<0){t=-t>n?0:n+t}s=s>n?n:s;if(s<0){s+=n}n=t>s?0:s-t>>>0;t>>>=0;var o=r(n);while(++a<n){o[a]=e[a+t]}return o}function baseSome(e,r){var t;At(e,(function(e,s,a){t=r(e,s,a);return!t}));return!!t}function baseSortedIndex(e,r,t){var s=0,a=e==null?s:e.length;if(typeof r=="number"&&r===r&&a<=U){while(s<a){var n=s+a>>>1,o=e[n];if(o!==null&&!isSymbol(o)&&(t?o<=r:o<r)){s=n+1}else{a=n}}return a}return baseSortedIndexBy(e,r,identity,t)}function baseSortedIndexBy(e,r,s,a){var n=0,o=e==null?0:e.length;if(o===0){return 0}r=s(r);var i=r!==r,l=r===null,c=isSymbol(r),d=r===t;while(n<o){var u=Fr((n+o)/2),p=s(e[u]),f=p!==t,y=p===null,g=p===p,h=isSymbol(p);if(i){var b=a||g}else if(d){b=g&&(a||f)}else if(l){b=g&&f&&(a||!y)}else if(c){b=g&&f&&!y&&(a||!h)}else if(y||h){b=false}else{b=a?p<=r:p<r}if(b){n=u+1}else{o=u}}return $r(o,W)}function baseSortedUniq(e,r){var t=-1,s=e.length,a=0,n=[];while(++t<s){var o=e[t],i=r?r(o):o;if(!t||!eq(i,l)){var l=i;n[a++]=o===0?0:o}}return n}function baseToNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return L}return+e}function baseToString(e){if(typeof e=="string"){return e}if(Rs(e)){return arrayMap(e,baseToString)+""}if(isSymbol(e)){return Dt?Dt.call(e):""}var r=e+"";return r=="0"&&1/e==-F?"-0":r}function baseUniq(e,r,t){var s=-1,n=arrayIncludes,o=e.length,i=true,l=[],c=l;if(t){i=false;n=arrayIncludesWith}else if(o>=a){var d=r?null:Bt(e);if(d){return setToArray(d)}i=false;n=cacheHas;c=new SetCache}else{c=r?[]:l}e:while(++s<o){var u=e[s],p=r?r(u):u;u=t||u!==0?u:0;if(i&&p===p){var f=c.length;while(f--){if(c[f]===p){continue e}}if(r){c.push(p)}l.push(u)}else if(!n(c,p,t)){if(c!==l){c.push(p)}l.push(u)}}return l}function baseUnset(e,r){r=castPath(r,e);e=parent(e,r);return e==null||delete e[toKey(last(r))]}function baseUpdate(e,r,t,s){return baseSet(e,r,t(baseGet(e,r)),s)}function baseWhile(e,r,t,s){var a=e.length,n=s?a:-1;while((s?n--:++n<a)&&r(e[n],n,e)){}return t?baseSlice(e,s?0:n,s?n+1:a):baseSlice(e,s?n+1:0,s?a:n)}function baseWrapperValue(e,r){var t=e;if(t instanceof LazyWrapper){t=t.value()}return arrayReduce(r,(function(e,r){return r.func.apply(r.thisArg,arrayPush([e],r.args))}),t)}function baseXor(e,t,s){var a=e.length;if(a<2){return a?baseUniq(e[0]):[]}var n=-1,o=r(a);while(++n<a){var i=e[n],l=-1;while(++l<a){if(l!=n){o[n]=baseDifference(o[n]||i,e[l],t,s)}}}return baseUniq(baseFlatten(o,1),t,s)}function baseZipObject(e,r,s){var a=-1,n=e.length,o=r.length,i={};while(++a<n){var l=a<o?r[a]:t;s(i,e[a],l)}return i}function castArrayLikeObject(e){return isArrayLikeObject(e)?e:[]}function castFunction(e){return typeof e=="function"?e:identity}function castPath(e,r){if(Rs(e)){return e}return isKey(e,r)?[e]:Kt(toString(e))}var Nt=baseRest;function castSlice(e,r,s){var a=e.length;s=s===t?a:s;return!r&&s>=a?e:baseSlice(e,r,s)}var Lt=Ar||function(e){return ot.clearTimeout(e)};function cloneBuffer(e,r){if(r){return e.slice()}var t=e.length,s=wr?wr(t):new e.constructor(t);e.copy(s);return s}function cloneArrayBuffer(e){var r=new e.constructor(e.byteLength);new jr(r).set(new jr(e));return r}function cloneDataView(e,r){var t=r?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}function cloneRegExp(e){var r=new e.constructor(e.source,He.exec(e));r.lastIndex=e.lastIndex;return r}function cloneSymbol(e){return Pt?sr(Pt.call(e)):{}}function cloneTypedArray(e,r){var t=r?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function compareAscending(e,r){if(e!==r){var s=e!==t,a=e===null,n=e===e,o=isSymbol(e);var i=r!==t,l=r===null,c=r===r,d=isSymbol(r);if(!l&&!d&&!o&&e>r||o&&i&&c&&!l&&!d||a&&i&&c||!s&&c||!n){return 1}if(!a&&!o&&!d&&e<r||d&&s&&n&&!a&&!o||l&&s&&n||!i&&n||!c){return-1}}return 0}function compareMultiple(e,r,t){var s=-1,a=e.criteria,n=r.criteria,o=a.length,i=t.length;while(++s<o){var l=compareAscending(a[s],n[s]);if(l){if(s>=i){return l}var c=t[s];return l*(c=="desc"?-1:1)}}return e.index-r.index}function composeArgs(e,t,s,a){var n=-1,o=e.length,i=s.length,l=-1,c=t.length,d=Ur(o-i,0),u=r(c+d),p=!a;while(++l<c){u[l]=t[l]}while(++n<i){if(p||n<o){u[s[n]]=e[n]}}while(d--){u[l++]=e[n++]}return u}function composeArgsRight(e,t,s,a){var n=-1,o=e.length,i=-1,l=s.length,c=-1,d=t.length,u=Ur(o-l,0),p=r(u+d),f=!a;while(++n<u){p[n]=e[n]}var y=n;while(++c<d){p[y+c]=t[c]}while(++i<l){if(f||n<o){p[y+s[i]]=e[n++]}}return p}function copyArray(e,t){var s=-1,a=e.length;t||(t=r(a));while(++s<a){t[s]=e[s]}return t}function copyObject(e,r,s,a){var n=!s;s||(s={});var o=-1,i=r.length;while(++o<i){var l=r[o];var c=a?a(s[l],e[l],l,s,e):t;if(c===t){c=e[l]}if(n){baseAssignValue(s,l,c)}else{assignValue(s,l,c)}}return s}function copySymbols(e,r){return copyObject(e,Ut(e),r)}function copySymbolsIn(e,r){return copyObject(e,qt(e),r)}function createAggregator(e,r){return function(t,s){var a=Rs(t)?arrayAggregator:baseAggregator,n=r?r():{};return a(t,e,getIteratee(s,2),n)}}function createAssigner(e){return baseRest((function(r,s){var a=-1,n=s.length,o=n>1?s[n-1]:t,i=n>2?s[2]:t;o=e.length>3&&typeof o=="function"?(n--,o):t;if(i&&isIterateeCall(s[0],s[1],i)){o=n<3?t:o;n=1}r=sr(r);while(++a<n){var l=s[a];if(l){e(r,l,a,o)}}return r}))}function createBaseEach(e,r){return function(t,s){if(t==null){return t}if(!isArrayLike(t)){return e(t,s)}var a=t.length,n=r?a:-1,o=sr(t);while(r?n--:++n<a){if(s(o[n],n,o)===false){break}}return t}}function createBaseFor(e){return function(r,t,s){var a=-1,n=sr(r),o=s(r),i=o.length;while(i--){var l=o[e?i:++a];if(t(n[l],l,n)===false){break}}return r}}function createBind(e,r,t){var s=r&h,a=createCtor(e);function wrapper(){var r=this&&this!==ot&&this instanceof wrapper?a:e;return r.apply(s?t:this,arguments)}return wrapper}function createCaseFirst(e){return function(r){r=toString(r);var s=hasUnicode(r)?stringToArray(r):t;var a=s?s[0]:r.charAt(0);var n=s?castSlice(s,1).join(""):r.slice(1);return a[e]()+n}}function createCompounder(e){return function(r){return arrayReduce(words(deburr(r).replace(qr,"")),e,"")}}function createCtor(e){return function(){var r=arguments;switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3]);case 5:return new e(r[0],r[1],r[2],r[3],r[4]);case 6:return new e(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new e(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var t=It(e.prototype),s=e.apply(t,r);return isObject(s)?s:t}}function createCurry(e,s,a){var n=createCtor(e);function wrapper(){var o=arguments.length,i=r(o),l=o,c=getHolder(wrapper);while(l--){i[l]=arguments[l]}var d=o<3&&i[0]!==c&&i[o-1]!==c?[]:replaceHolders(i,c);o-=d.length;if(o<a){return createRecurry(e,s,createHybrid,wrapper.placeholder,t,i,d,t,t,a-o)}var u=this&&this!==ot&&this instanceof wrapper?n:e;return apply(u,this,i)}return wrapper}function createFind(e){return function(r,s,a){var n=sr(r);if(!isArrayLike(r)){var o=getIteratee(s,3);r=keys(r);s=function(e){return o(n[e],e,n)}}var i=e(r,s,a);return i>-1?n[o?r[i]:i]:t}}function createFlow(e){return flatRest((function(r){var s=r.length,a=s,n=LodashWrapper.prototype.thru;if(e){r.reverse()}while(a--){var i=r[a];if(typeof i!="function"){throw new or(o)}if(n&&!l&&getFuncName(i)=="wrapper"){var l=new LodashWrapper([],true)}}a=l?a:s;while(++a<s){i=r[a];var c=getFuncName(i),d=c=="wrapper"?Wt(i):t;if(d&&isLaziable(d[0])&&d[1]==(_|v|w|S)&&!d[4].length&&d[9]==1){l=l[getFuncName(d[0])].apply(l,d[3])}else{l=i.length==1&&isLaziable(i)?l[c]():l.thru(i)}}return function(){var e=arguments,t=e[0];if(l&&e.length==1&&Rs(t)){return l.plant(t).value()}var a=0,n=s?r[a].apply(this,e):t;while(++a<s){n=r[a].call(this,n)}return n}}))}function createHybrid(e,s,a,n,o,i,l,c,d,u){var p=s&_,f=s&h,y=s&b,g=s&(v|j),x=s&k,w=y?t:createCtor(e);function wrapper(){var t=arguments.length,h=r(t),b=t;while(b--){h[b]=arguments[b]}if(g){var v=getHolder(wrapper),j=countHolders(h,v)}if(n){h=composeArgs(h,n,o,g)}if(i){h=composeArgsRight(h,i,l,g)}t-=j;if(g&&t<u){var E=replaceHolders(h,v);return createRecurry(e,s,createHybrid,wrapper.placeholder,a,h,E,c,d,u-t)}var _=f?a:this,S=y?_[e]:e;t=h.length;if(c){h=reorder(h,c)}else if(x&&t>1){h.reverse()}if(p&&d<t){h.length=d}if(this&&this!==ot&&this instanceof wrapper){S=w||createCtor(S)}return S.apply(_,h)}return wrapper}function createInverter(e,r){return function(t,s){return baseInverter(t,e,r(s),{})}}function createMathOperation(e,r){return function(s,a){var n;if(s===t&&a===t){return r}if(s!==t){n=s}if(a!==t){if(n===t){return a}if(typeof s=="string"||typeof a=="string"){s=baseToString(s);a=baseToString(a)}else{s=baseToNumber(s);a=baseToNumber(a)}n=e(s,a)}return n}}function createOver(e){return flatRest((function(r){r=arrayMap(r,baseUnary(getIteratee()));return baseRest((function(t){var s=this;return e(r,(function(e){return apply(e,s,t)}))}))}))}function createPadding(e,r){r=r===t?" ":baseToString(r);var s=r.length;if(s<2){return s?baseRepeat(r,e):r}var a=baseRepeat(r,Tr(e/stringSize(r)));return hasUnicode(r)?castSlice(stringToArray(a),0,e).join(""):a.slice(0,e)}function createPartial(e,t,s,a){var n=t&h,o=createCtor(e);function wrapper(){var t=-1,i=arguments.length,l=-1,c=a.length,d=r(c+i),u=this&&this!==ot&&this instanceof wrapper?o:e;while(++l<c){d[l]=a[l]}while(i--){d[l++]=arguments[++t]}return apply(u,n?s:this,d)}return wrapper}function createRange(e){return function(r,s,a){if(a&&typeof a!="number"&&isIterateeCall(r,s,a)){s=a=t}r=toFinite(r);if(s===t){s=r;r=0}else{s=toFinite(s)}a=a===t?r<s?1:-1:toFinite(a);return baseRange(r,s,a,e)}}function createRelationalOperation(e){return function(r,t){if(!(typeof r=="string"&&typeof t=="string")){r=toNumber(r);t=toNumber(t)}return e(r,t)}}function createRecurry(e,r,s,a,n,o,i,l,c,d){var u=r&v,p=u?i:t,f=u?t:i,y=u?o:t,g=u?t:o;r|=u?w:E;r&=~(u?E:w);if(!(r&x)){r&=~(h|b)}var j=[e,r,n,y,p,g,f,l,c,d];var _=s.apply(t,j);if(isLaziable(e)){Gt(_,j)}_.placeholder=a;return setWrapToString(_,e,r)}function createRound(e){var r=tr[e];return function(e,t){e=toNumber(e);t=t==null?0:$r(toInteger(t),292);if(t&&Lr(e)){var s=(toString(e)+"e").split("e"),a=r(s[0]+"e"+(+s[1]+t));s=(toString(a)+"e").split("e");return+(s[0]+"e"+(+s[1]-t))}return r(e)}}var Bt=!(at&&1/setToArray(new at([,-0]))[1]==F)?noop:function(e){return new at(e)};function createToPairs(e){return function(r){var t=Vt(r);if(t==Z){return mapToArray(r)}if(t==ne){return setToPairs(r)}return baseToPairs(r,e(r))}}function createWrap(e,r,s,a,n,i,l,c){var d=r&b;if(!d&&typeof e!="function"){throw new or(o)}var u=a?a.length:0;if(!u){r&=~(w|E);a=n=t}l=l===t?l:Ur(toInteger(l),0);c=c===t?c:toInteger(c);u-=n?n.length:0;if(r&E){var p=a,f=n;a=n=t}var y=d?t:Wt(e);var g=[e,r,s,a,n,p,f,i,l,c];if(y){mergeData(g,y)}e=g[0];r=g[1];s=g[2];a=g[3];n=g[4];c=g[9]=g[9]===t?d?0:e.length:Ur(g[9]-u,0);if(!c&&r&(v|j)){r&=~(v|j)}if(!r||r==h){var x=createBind(e,r,s)}else if(r==v||r==j){x=createCurry(e,r,c)}else if((r==w||r==(h|w))&&!n.length){x=createPartial(e,r,s,a)}else{x=createHybrid.apply(t,g)}var _=y?Ft:Gt;return setWrapToString(_(x,g),e,r)}function customDefaultsAssignIn(e,r,s,a){if(e===t||eq(e,cr[s])&&!pr.call(a,s)){return r}return e}function customDefaultsMerge(e,r,s,a,n,o){if(isObject(e)&&isObject(r)){o.set(r,e);baseMerge(e,r,t,customDefaultsMerge,o);o["delete"](r)}return e}function customOmitClone(e){return isPlainObject(e)?t:e}function equalArrays(e,r,s,a,n,o){var i=s&y,l=e.length,c=r.length;if(l!=c&&!(i&&c>l)){return false}var d=o.get(e);var u=o.get(r);if(d&&u){return d==r&&u==e}var p=-1,f=true,h=s&g?new SetCache:t;o.set(e,r);o.set(r,e);while(++p<l){var b=e[p],x=r[p];if(a){var v=i?a(x,b,p,r,e,o):a(b,x,p,e,r,o)}if(v!==t){if(v){continue}f=false;break}if(h){if(!arraySome(r,(function(e,r){if(!cacheHas(h,r)&&(b===e||n(b,e,s,a,o))){return h.push(r)}}))){f=false;break}}else if(!(b===x||n(b,x,s,a,o))){f=false;break}}o["delete"](e);o["delete"](r);return f}function equalByTag(e,r,t,s,a,n,o){switch(t){case pe:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset){return false}e=e.buffer;r=r.buffer;case ue:if(e.byteLength!=r.byteLength||!n(new jr(e),new jr(r))){return false}return true;case H:case z:case Q:return eq(+e,+r);case Y:return e.name==r.name&&e.message==r.message;case ae:case oe:return e==r+"";case Z:var i=mapToArray;case ne:var l=s&y;i||(i=setToArray);if(e.size!=r.size&&!l){return false}var c=o.get(e);if(c){return c==r}s|=g;o.set(e,r);var d=equalArrays(i(e),i(r),s,a,n,o);o["delete"](e);return d;case ie:if(Pt){return Pt.call(e)==Pt.call(r)}}return false}function equalObjects(e,r,s,a,n,o){var i=s&y,l=getAllKeys(e),c=l.length,d=getAllKeys(r),u=d.length;if(c!=u&&!i){return false}var p=c;while(p--){var f=l[p];if(!(i?f in r:pr.call(r,f))){return false}}var g=o.get(e);var h=o.get(r);if(g&&h){return g==r&&h==e}var b=true;o.set(e,r);o.set(r,e);var x=i;while(++p<c){f=l[p];var v=e[f],j=r[f];if(a){var w=i?a(j,v,f,r,e,o):a(v,j,f,e,r,o)}if(!(w===t?v===j||n(v,j,s,a,o):w)){b=false;break}x||(x=f=="constructor")}if(b&&!x){var E=e.constructor,_=r.constructor;if(E!=_&&("constructor"in e&&"constructor"in r)&&!(typeof E=="function"&&E instanceof E&&typeof _=="function"&&_ instanceof _)){b=false}}o["delete"](e);o["delete"](r);return b}function flatRest(e){return zt(overRest(e,t,flatten),e+"")}function getAllKeys(e){return baseGetAllKeys(e,keys,Ut)}function getAllKeysIn(e){return baseGetAllKeys(e,keysIn,qt)}var Wt=!ct?noop:function(e){return ct.get(e)};function getFuncName(e){var r=e.name+"",t=ut[r],s=pr.call(ut,r)?t.length:0;while(s--){var a=t[s],n=a.func;if(n==null||n==e){return a.name}}return r}function getHolder(e){var r=pr.call(lodash,"placeholder")?lodash:e;return r.placeholder}function getIteratee(){var e=lodash.iteratee||iteratee;e=e===iteratee?baseIteratee:e;return arguments.length?e(arguments[0],arguments[1]):e}function getMapData(e,r){var t=e.__data__;return isKeyable(r)?t[typeof r=="string"?"string":"hash"]:t.map}function getMatchData(e){var r=keys(e),t=r.length;while(t--){var s=r[t],a=e[s];r[t]=[s,a,isStrictComparable(a)]}return r}function getNative(e,r){var s=getValue(e,r);return baseIsNative(s)?s:t}function getRawTag(e){var r=pr.call(e,Dr),s=e[Dr];try{e[Dr]=t;var a=true}catch(e){}var n=mr.call(e);if(a){if(r){e[Dr]=s}else{delete e[Dr]}}return n}var Ut=!Mr?stubArray:function(e){if(e==null){return[]}e=sr(e);return arrayFilter(Mr(e),(function(r){return Sr.call(e,r)}))};var qt=!Mr?stubArray:function(e){var r=[];while(e){arrayPush(r,Ut(e));e=Er(e)}return r};var Vt=baseGetTag;if(Qr&&Vt(new Qr(new ArrayBuffer(1)))!=pe||et&&Vt(new et)!=Z||rt&&Vt(rt.resolve())!=te||at&&Vt(new at)!=ne||nt&&Vt(new nt)!=ce){Vt=function(e){var r=baseGetTag(e),s=r==re?e.constructor:t,a=s?toSource(s):"";if(a){switch(a){case pt:return pe;case xt:return Z;case Et:return te;case St:return ne;case kt:return ce}}return r}}function getView(e,r,t){var s=-1,a=t.length;while(++s<a){var n=t[s],o=n.size;switch(n.type){case"drop":e+=o;break;case"dropRight":r-=o;break;case"take":r=$r(r,e+o);break;case"takeRight":e=Ur(e,r-o);break}}return{start:e,end:r}}function getWrapDetails(e){var r=e.match(We);return r?r[1].split(Ue):[]}function hasPath(e,r,t){r=castPath(r,e);var s=-1,a=r.length,n=false;while(++s<a){var o=toKey(r[s]);if(!(n=e!=null&&t(e,o))){break}e=e[o]}if(n||++s!=a){return n}a=e==null?0:e.length;return!!a&&isLength(a)&&isIndex(o,a)&&(Rs(e)||Os(e))}function initCloneArray(e){var r=e.length,t=new e.constructor(r);if(r&&typeof e[0]=="string"&&pr.call(e,"index")){t.index=e.index;t.input=e.input}return t}function initCloneObject(e){return typeof e.constructor=="function"&&!isPrototype(e)?It(Er(e)):{}}function initCloneByTag(e,r,t){var s=e.constructor;switch(r){case ue:return cloneArrayBuffer(e);case H:case z:return new s(+e);case pe:return cloneDataView(e,t);case fe:case ye:case me:case ge:case he:case be:case xe:case ve:case je:return cloneTypedArray(e,t);case Z:return new s;case Q:case oe:return new s(e);case ae:return cloneRegExp(e);case ne:return new s;case ie:return cloneSymbol(e)}}function insertWrapDetails(e,r){var t=r.length;if(!t){return e}var s=t-1;r[s]=(t>1?"& ":"")+r[s];r=r.join(t>2?", ":" ");return e.replace(Be,"{\n/* [wrapped with "+r+"] */\n")}function isFlattenable(e){return Rs(e)||Os(e)||!!(Cr&&e&&e[Cr])}function isIndex(e,r){var t=typeof e;r=r==null?M:r;return!!r&&(t=="number"||t!="symbol"&&Je.test(e))&&(e>-1&&e%1==0&&e<r)}function isIterateeCall(e,r,t){if(!isObject(t)){return false}var s=typeof r;if(s=="number"?isArrayLike(t)&&isIndex(r,t.length):s=="string"&&r in t){return eq(t[r],e)}return false}function isKey(e,r){if(Rs(e)){return false}var t=typeof e;if(t=="number"||t=="symbol"||t=="boolean"||e==null||isSymbol(e)){return true}return Re.test(e)||!Oe.test(e)||r!=null&&e in sr(r)}function isKeyable(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function isLaziable(e){var r=getFuncName(e),t=lodash[r];if(typeof t!="function"||!(r in LazyWrapper.prototype)){return false}if(e===t){return true}var s=Wt(t);return!!s&&e===s[0]}function isMasked(e){return!!yr&&yr in e}var $t=dr?isFunction:stubFalse;function isPrototype(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||cr;return e===t}function isStrictComparable(e){return e===e&&!isObject(e)}function matchesStrictComparable(e,r){return function(s){if(s==null){return false}return s[e]===r&&(r!==t||e in sr(s))}}function memoizeCapped(e){var r=memoize(e,(function(e){if(t.size===c){t.clear()}return e}));var t=r.cache;return r}function mergeData(e,r){var t=e[1],s=r[1],a=t|s,n=a<(h|b|_);var o=s==_&&t==v||s==_&&t==S&&e[7].length<=r[8]||s==(_|S)&&r[7].length<=r[8]&&t==v;if(!(n||o)){return e}if(s&h){e[2]=r[2];a|=t&h?0:x}var i=r[3];if(i){var l=e[3];e[3]=l?composeArgs(l,i,r[4]):i;e[4]=l?replaceHolders(e[3],d):r[4]}i=r[5];if(i){l=e[5];e[5]=l?composeArgsRight(l,i,r[6]):i;e[6]=l?replaceHolders(e[5],d):r[6]}i=r[7];if(i){e[7]=i}if(s&_){e[8]=e[8]==null?r[8]:$r(e[8],r[8])}if(e[9]==null){e[9]=r[9]}e[0]=r[0];e[1]=a;return e}function nativeKeysIn(e){var r=[];if(e!=null){for(var t in sr(e)){r.push(t)}}return r}function objectToString(e){return mr.call(e)}function overRest(e,s,a){s=Ur(s===t?e.length-1:s,0);return function(){var t=arguments,n=-1,o=Ur(t.length-s,0),i=r(o);while(++n<o){i[n]=t[s+n]}n=-1;var l=r(s+1);while(++n<s){l[n]=t[n]}l[s]=a(i);return apply(e,this,l)}}function parent(e,r){return r.length<2?e:baseGet(e,baseSlice(r,0,-1))}function reorder(e,r){var s=e.length,a=$r(r.length,s),n=copyArray(e);while(a--){var o=r[a];e[a]=isIndex(o,s)?n[o]:t}return e}function safeGet(e,r){if(r==="constructor"&&typeof e[r]==="function"){return}if(r=="__proto__"){return}return e[r]}var Gt=shortOut(Ft);var Ht=Rr||function(e,r){return ot.setTimeout(e,r)};var zt=shortOut(Mt);function setWrapToString(e,r,t){var s=r+"";return zt(e,insertWrapDetails(s,updateWrapDetails(getWrapDetails(s),t)))}function shortOut(e){var r=0,s=0;return function(){var a=Gr(),n=I-(a-s);s=a;if(n>0){if(++r>=D){return arguments[0]}}else{r=0}return e.apply(t,arguments)}}function shuffleSelf(e,r){var s=-1,a=e.length,n=a-1;r=r===t?a:r;while(++s<r){var o=baseRandom(s,n),i=e[o];e[o]=e[s];e[s]=i}e.length=r;return e}var Kt=memoizeCapped((function(e){var r=[];if(e.charCodeAt(0)===46){r.push("")}e.replace(Te,(function(e,t,s,a){r.push(s?a.replace($e,"$1"):t||e)}));return r}));function toKey(e){if(typeof e=="string"||isSymbol(e)){return e}var r=e+"";return r=="0"&&1/e==-F?"-0":r}function toSource(e){if(e!=null){try{return ur.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function updateWrapDetails(e,r){arrayEach(q,(function(t){var s="_."+t[0];if(r&t[1]&&!arrayIncludes(e,s)){e.push(s)}}));return e.sort()}function wrapperClone(e){if(e instanceof LazyWrapper){return e.clone()}var r=new LodashWrapper(e.__wrapped__,e.__chain__);r.__actions__=copyArray(e.__actions__);r.__index__=e.__index__;r.__values__=e.__values__;return r}function chunk(e,s,a){if(a?isIterateeCall(e,s,a):s===t){s=1}else{s=Ur(toInteger(s),0)}var n=e==null?0:e.length;if(!n||s<1){return[]}var o=0,i=0,l=r(Tr(n/s));while(o<n){l[i++]=baseSlice(e,o,o+=s)}return l}function compact(e){var r=-1,t=e==null?0:e.length,s=0,a=[];while(++r<t){var n=e[r];if(n){a[s++]=n}}return a}function concat(){var e=arguments.length;if(!e){return[]}var t=r(e-1),s=arguments[0],a=e;while(a--){t[a-1]=arguments[a]}return arrayPush(Rs(s)?copyArray(s):[s],baseFlatten(t,1))}var Yt=baseRest((function(e,r){return isArrayLikeObject(e)?baseDifference(e,baseFlatten(r,1,isArrayLikeObject,true)):[]}));var Xt=baseRest((function(e,r){var s=last(r);if(isArrayLikeObject(s)){s=t}return isArrayLikeObject(e)?baseDifference(e,baseFlatten(r,1,isArrayLikeObject,true),getIteratee(s,2)):[]}));var Jt=baseRest((function(e,r){var s=last(r);if(isArrayLikeObject(s)){s=t}return isArrayLikeObject(e)?baseDifference(e,baseFlatten(r,1,isArrayLikeObject,true),t,s):[]}));function drop(e,r,s){var a=e==null?0:e.length;if(!a){return[]}r=s||r===t?1:toInteger(r);return baseSlice(e,r<0?0:r,a)}function dropRight(e,r,s){var a=e==null?0:e.length;if(!a){return[]}r=s||r===t?1:toInteger(r);r=a-r;return baseSlice(e,0,r<0?0:r)}function dropRightWhile(e,r){return e&&e.length?baseWhile(e,getIteratee(r,3),true,true):[]}function dropWhile(e,r){return e&&e.length?baseWhile(e,getIteratee(r,3),true):[]}function fill(e,r,t,s){var a=e==null?0:e.length;if(!a){return[]}if(t&&typeof t!="number"&&isIterateeCall(e,r,t)){t=0;s=a}return baseFill(e,r,t,s)}function findIndex(e,r,t){var s=e==null?0:e.length;if(!s){return-1}var a=t==null?0:toInteger(t);if(a<0){a=Ur(s+a,0)}return baseFindIndex(e,getIteratee(r,3),a)}function findLastIndex(e,r,s){var a=e==null?0:e.length;if(!a){return-1}var n=a-1;if(s!==t){n=toInteger(s);n=s<0?Ur(a+n,0):$r(n,a-1)}return baseFindIndex(e,getIteratee(r,3),n,true)}function flatten(e){var r=e==null?0:e.length;return r?baseFlatten(e,1):[]}function flattenDeep(e){var r=e==null?0:e.length;return r?baseFlatten(e,F):[]}function flattenDepth(e,r){var s=e==null?0:e.length;if(!s){return[]}r=r===t?1:toInteger(r);return baseFlatten(e,r)}function fromPairs(e){var r=-1,t=e==null?0:e.length,s={};while(++r<t){var a=e[r];s[a[0]]=a[1]}return s}function head(e){return e&&e.length?e[0]:t}function indexOf(e,r,t){var s=e==null?0:e.length;if(!s){return-1}var a=t==null?0:toInteger(t);if(a<0){a=Ur(s+a,0)}return baseIndexOf(e,r,a)}function initial(e){var r=e==null?0:e.length;return r?baseSlice(e,0,-1):[]}var Zt=baseRest((function(e){var r=arrayMap(e,castArrayLikeObject);return r.length&&r[0]===e[0]?baseIntersection(r):[]}));var Qt=baseRest((function(e){var r=last(e),s=arrayMap(e,castArrayLikeObject);if(r===last(s)){r=t}else{s.pop()}return s.length&&s[0]===e[0]?baseIntersection(s,getIteratee(r,2)):[]}));var es=baseRest((function(e){var r=last(e),s=arrayMap(e,castArrayLikeObject);r=typeof r=="function"?r:t;if(r){s.pop()}return s.length&&s[0]===e[0]?baseIntersection(s,t,r):[]}));function join(e,r){return e==null?"":Br.call(e,r)}function last(e){var r=e==null?0:e.length;return r?e[r-1]:t}function lastIndexOf(e,r,s){var a=e==null?0:e.length;if(!a){return-1}var n=a;if(s!==t){n=toInteger(s);n=n<0?Ur(a+n,0):$r(n,a-1)}return r===r?strictLastIndexOf(e,r,n):baseFindIndex(e,baseIsNaN,n,true)}function nth(e,r){return e&&e.length?baseNth(e,toInteger(r)):t}var rs=baseRest(pullAll);function pullAll(e,r){return e&&e.length&&r&&r.length?basePullAll(e,r):e}function pullAllBy(e,r,t){return e&&e.length&&r&&r.length?basePullAll(e,r,getIteratee(t,2)):e}function pullAllWith(e,r,s){return e&&e.length&&r&&r.length?basePullAll(e,r,t,s):e}var ts=flatRest((function(e,r){var t=e==null?0:e.length,s=baseAt(e,r);basePullAt(e,arrayMap(r,(function(e){return isIndex(e,t)?+e:e})).sort(compareAscending));return s}));function remove(e,r){var t=[];if(!(e&&e.length)){return t}var s=-1,a=[],n=e.length;r=getIteratee(r,3);while(++s<n){var o=e[s];if(r(o,s,e)){t.push(o);a.push(s)}}basePullAt(e,a);return t}function reverse(e){return e==null?e:Zr.call(e)}function slice(e,r,s){var a=e==null?0:e.length;if(!a){return[]}if(s&&typeof s!="number"&&isIterateeCall(e,r,s)){r=0;s=a}else{r=r==null?0:toInteger(r);s=s===t?a:toInteger(s)}return baseSlice(e,r,s)}function sortedIndex(e,r){return baseSortedIndex(e,r)}function sortedIndexBy(e,r,t){return baseSortedIndexBy(e,r,getIteratee(t,2))}function sortedIndexOf(e,r){var t=e==null?0:e.length;if(t){var s=baseSortedIndex(e,r);if(s<t&&eq(e[s],r)){return s}}return-1}function sortedLastIndex(e,r){return baseSortedIndex(e,r,true)}function sortedLastIndexBy(e,r,t){return baseSortedIndexBy(e,r,getIteratee(t,2),true)}function sortedLastIndexOf(e,r){var t=e==null?0:e.length;if(t){var s=baseSortedIndex(e,r,true)-1;if(eq(e[s],r)){return s}}return-1}function sortedUniq(e){return e&&e.length?baseSortedUniq(e):[]}function sortedUniqBy(e,r){return e&&e.length?baseSortedUniq(e,getIteratee(r,2)):[]}function tail(e){var r=e==null?0:e.length;return r?baseSlice(e,1,r):[]}function take(e,r,s){if(!(e&&e.length)){return[]}r=s||r===t?1:toInteger(r);return baseSlice(e,0,r<0?0:r)}function takeRight(e,r,s){var a=e==null?0:e.length;if(!a){return[]}r=s||r===t?1:toInteger(r);r=a-r;return baseSlice(e,r<0?0:r,a)}function takeRightWhile(e,r){return e&&e.length?baseWhile(e,getIteratee(r,3),false,true):[]}function takeWhile(e,r){return e&&e.length?baseWhile(e,getIteratee(r,3)):[]}var ss=baseRest((function(e){return baseUniq(baseFlatten(e,1,isArrayLikeObject,true))}));var as=baseRest((function(e){var r=last(e);if(isArrayLikeObject(r)){r=t}return baseUniq(baseFlatten(e,1,isArrayLikeObject,true),getIteratee(r,2))}));var ns=baseRest((function(e){var r=last(e);r=typeof r=="function"?r:t;return baseUniq(baseFlatten(e,1,isArrayLikeObject,true),t,r)}));function uniq(e){return e&&e.length?baseUniq(e):[]}function uniqBy(e,r){return e&&e.length?baseUniq(e,getIteratee(r,2)):[]}function uniqWith(e,r){r=typeof r=="function"?r:t;return e&&e.length?baseUniq(e,t,r):[]}function unzip(e){if(!(e&&e.length)){return[]}var r=0;e=arrayFilter(e,(function(e){if(isArrayLikeObject(e)){r=Ur(e.length,r);return true}}));return baseTimes(r,(function(r){return arrayMap(e,baseProperty(r))}))}function unzipWith(e,r){if(!(e&&e.length)){return[]}var s=unzip(e);if(r==null){return s}return arrayMap(s,(function(e){return apply(r,t,e)}))}var os=baseRest((function(e,r){return isArrayLikeObject(e)?baseDifference(e,r):[]}));var is=baseRest((function(e){return baseXor(arrayFilter(e,isArrayLikeObject))}));var ls=baseRest((function(e){var r=last(e);if(isArrayLikeObject(r)){r=t}return baseXor(arrayFilter(e,isArrayLikeObject),getIteratee(r,2))}));var cs=baseRest((function(e){var r=last(e);r=typeof r=="function"?r:t;return baseXor(arrayFilter(e,isArrayLikeObject),t,r)}));var ds=baseRest(unzip);function zipObject(e,r){return baseZipObject(e||[],r||[],assignValue)}function zipObjectDeep(e,r){return baseZipObject(e||[],r||[],baseSet)}var us=baseRest((function(e){var r=e.length,s=r>1?e[r-1]:t;s=typeof s=="function"?(e.pop(),s):t;return unzipWith(e,s)}));function chain(e){var r=lodash(e);r.__chain__=true;return r}function tap(e,r){r(e);return e}function thru(e,r){return r(e)}var ps=flatRest((function(e){var r=e.length,s=r?e[0]:0,a=this.__wrapped__,interceptor=function(r){return baseAt(r,e)};if(r>1||this.__actions__.length||!(a instanceof LazyWrapper)||!isIndex(s)){return this.thru(interceptor)}a=a.slice(s,+s+(r?1:0));a.__actions__.push({func:thru,args:[interceptor],thisArg:t});return new LodashWrapper(a,this.__chain__).thru((function(e){if(r&&!e.length){e.push(t)}return e}))}));function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){if(this.__values__===t){this.__values__=toArray(this.value())}var e=this.__index__>=this.__values__.length,r=e?t:this.__values__[this.__index__++];return{done:e,value:r}}function wrapperToIterator(){return this}function wrapperPlant(e){var r,s=this;while(s instanceof baseLodash){var a=wrapperClone(s);a.__index__=0;a.__values__=t;if(r){n.__wrapped__=a}else{r=a}var n=a;s=s.__wrapped__}n.__wrapped__=e;return r}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var r=e;if(this.__actions__.length){r=new LazyWrapper(this)}r=r.reverse();r.__actions__.push({func:thru,args:[reverse],thisArg:t});return new LodashWrapper(r,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var fs=createAggregator((function(e,r,t){if(pr.call(e,t)){++e[t]}else{baseAssignValue(e,t,1)}}));function every(e,r,s){var a=Rs(e)?arrayEvery:baseEvery;if(s&&isIterateeCall(e,r,s)){r=t}return a(e,getIteratee(r,3))}function filter(e,r){var t=Rs(e)?arrayFilter:baseFilter;return t(e,getIteratee(r,3))}var ys=createFind(findIndex);var ms=createFind(findLastIndex);function flatMap(e,r){return baseFlatten(map(e,r),1)}function flatMapDeep(e,r){return baseFlatten(map(e,r),F)}function flatMapDepth(e,r,s){s=s===t?1:toInteger(s);return baseFlatten(map(e,r),s)}function forEach(e,r){var t=Rs(e)?arrayEach:At;return t(e,getIteratee(r,3))}function forEachRight(e,r){var t=Rs(e)?arrayEachRight:Ot;return t(e,getIteratee(r,3))}var gs=createAggregator((function(e,r,t){if(pr.call(e,t)){e[t].push(r)}else{baseAssignValue(e,t,[r])}}));function includes(e,r,t,s){e=isArrayLike(e)?e:values(e);t=t&&!s?toInteger(t):0;var a=e.length;if(t<0){t=Ur(a+t,0)}return isString(e)?t<=a&&e.indexOf(r,t)>-1:!!a&&baseIndexOf(e,r,t)>-1}var hs=baseRest((function(e,t,s){var a=-1,n=typeof t=="function",o=isArrayLike(e)?r(e.length):[];At(e,(function(e){o[++a]=n?apply(t,e,s):baseInvoke(e,t,s)}));return o}));var bs=createAggregator((function(e,r,t){baseAssignValue(e,t,r)}));function map(e,r){var t=Rs(e)?arrayMap:baseMap;return t(e,getIteratee(r,3))}function orderBy(e,r,s,a){if(e==null){return[]}if(!Rs(r)){r=r==null?[]:[r]}s=a?t:s;if(!Rs(s)){s=s==null?[]:[s]}return baseOrderBy(e,r,s)}var xs=createAggregator((function(e,r,t){e[t?0:1].push(r)}),(function(){return[[],[]]}));function reduce(e,r,t){var s=Rs(e)?arrayReduce:baseReduce,a=arguments.length<3;return s(e,getIteratee(r,4),t,a,At)}function reduceRight(e,r,t){var s=Rs(e)?arrayReduceRight:baseReduce,a=arguments.length<3;return s(e,getIteratee(r,4),t,a,Ot)}function reject(e,r){var t=Rs(e)?arrayFilter:baseFilter;return t(e,negate(getIteratee(r,3)))}function sample(e){var r=Rs(e)?arraySample:baseSample;return r(e)}function sampleSize(e,r,s){if(s?isIterateeCall(e,r,s):r===t){r=1}else{r=toInteger(r)}var a=Rs(e)?arraySampleSize:baseSampleSize;return a(e,r)}function shuffle(e){var r=Rs(e)?arrayShuffle:baseShuffle;return r(e)}function size(e){if(e==null){return 0}if(isArrayLike(e)){return isString(e)?stringSize(e):e.length}var r=Vt(e);if(r==Z||r==ne){return e.size}return baseKeys(e).length}function some(e,r,s){var a=Rs(e)?arraySome:baseSome;if(s&&isIterateeCall(e,r,s)){r=t}return a(e,getIteratee(r,3))}var vs=baseRest((function(e,r){if(e==null){return[]}var t=r.length;if(t>1&&isIterateeCall(e,r[0],r[1])){r=[]}else if(t>2&&isIterateeCall(r[0],r[1],r[2])){r=[r[0]]}return baseOrderBy(e,baseFlatten(r,1),[])}));var js=Or||function(){return ot.Date.now()};function after(e,r){if(typeof r!="function"){throw new or(o)}e=toInteger(e);return function(){if(--e<1){return r.apply(this,arguments)}}}function ary(e,r,s){r=s?t:r;r=e&&r==null?e.length:r;return createWrap(e,_,t,t,t,t,r)}function before(e,r){var s;if(typeof r!="function"){throw new or(o)}e=toInteger(e);return function(){if(--e>0){s=r.apply(this,arguments)}if(e<=1){r=t}return s}}var ws=baseRest((function(e,r,t){var s=h;if(t.length){var a=replaceHolders(t,getHolder(ws));s|=w}return createWrap(e,s,r,t,a)}));var Es=baseRest((function(e,r,t){var s=h|b;if(t.length){var a=replaceHolders(t,getHolder(Es));s|=w}return createWrap(r,s,e,t,a)}));function curry(e,r,s){r=s?t:r;var a=createWrap(e,v,t,t,t,t,t,r);a.placeholder=curry.placeholder;return a}function curryRight(e,r,s){r=s?t:r;var a=createWrap(e,j,t,t,t,t,t,r);a.placeholder=curryRight.placeholder;return a}function debounce(e,r,s){var a,n,i,l,c,d,u=0,p=false,f=false,y=true;if(typeof e!="function"){throw new or(o)}r=toNumber(r)||0;if(isObject(s)){p=!!s.leading;f="maxWait"in s;i=f?Ur(toNumber(s.maxWait)||0,r):i;y="trailing"in s?!!s.trailing:y}function invokeFunc(r){var s=a,o=n;a=n=t;u=r;l=e.apply(o,s);return l}function leadingEdge(e){u=e;c=Ht(timerExpired,r);return p?invokeFunc(e):l}function remainingWait(e){var t=e-d,s=e-u,a=r-t;return f?$r(a,i-s):a}function shouldInvoke(e){var s=e-d,a=e-u;return d===t||s>=r||s<0||f&&a>=i}function timerExpired(){var e=js();if(shouldInvoke(e)){return trailingEdge(e)}c=Ht(timerExpired,remainingWait(e))}function trailingEdge(e){c=t;if(y&&a){return invokeFunc(e)}a=n=t;return l}function cancel(){if(c!==t){Lt(c)}u=0;a=d=n=c=t}function flush(){return c===t?l:trailingEdge(js())}function debounced(){var e=js(),s=shouldInvoke(e);a=arguments;n=this;d=e;if(s){if(c===t){return leadingEdge(d)}if(f){Lt(c);c=Ht(timerExpired,r);return invokeFunc(d)}}if(c===t){c=Ht(timerExpired,r)}return l}debounced.cancel=cancel;debounced.flush=flush;return debounced}var _s=baseRest((function(e,r){return baseDelay(e,1,r)}));var Ss=baseRest((function(e,r,t){return baseDelay(e,toNumber(r)||0,t)}));function flip(e){return createWrap(e,k)}function memoize(e,r){if(typeof e!="function"||r!=null&&typeof r!="function"){throw new or(o)}var memoized=function(){var t=arguments,s=r?r.apply(this,t):t[0],a=memoized.cache;if(a.has(s)){return a.get(s)}var n=e.apply(this,t);memoized.cache=a.set(s,n)||a;return n};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function negate(e){if(typeof e!="function"){throw new or(o)}return function(){var r=arguments;switch(r.length){case 0:return!e.call(this);case 1:return!e.call(this,r[0]);case 2:return!e.call(this,r[0],r[1]);case 3:return!e.call(this,r[0],r[1],r[2])}return!e.apply(this,r)}}function once(e){return before(2,e)}var ks=Nt((function(e,r){r=r.length==1&&Rs(r[0])?arrayMap(r[0],baseUnary(getIteratee())):arrayMap(baseFlatten(r,1),baseUnary(getIteratee()));var t=r.length;return baseRest((function(s){var a=-1,n=$r(s.length,t);while(++a<n){s[a]=r[a].call(this,s[a])}return apply(e,this,s)}))}));var Cs=baseRest((function(e,r){var s=replaceHolders(r,getHolder(Cs));return createWrap(e,w,t,r,s)}));var Ps=baseRest((function(e,r){var s=replaceHolders(r,getHolder(Ps));return createWrap(e,E,t,r,s)}));var Ds=flatRest((function(e,r){return createWrap(e,S,t,t,t,r)}));function rest(e,r){if(typeof e!="function"){throw new or(o)}r=r===t?r:toInteger(r);return baseRest(e,r)}function spread(e,r){if(typeof e!="function"){throw new or(o)}r=r==null?0:Ur(toInteger(r),0);return baseRest((function(t){var s=t[r],a=castSlice(t,0,r);if(s){arrayPush(a,s)}return apply(e,this,a)}))}function throttle(e,r,t){var s=true,a=true;if(typeof e!="function"){throw new or(o)}if(isObject(t)){s="leading"in t?!!t.leading:s;a="trailing"in t?!!t.trailing:a}return debounce(e,r,{leading:s,maxWait:r,trailing:a})}function unary(e){return ary(e,1)}function wrap(e,r){return Cs(castFunction(r),e)}function castArray(){if(!arguments.length){return[]}var e=arguments[0];return Rs(e)?e:[e]}function clone(e){return baseClone(e,f)}function cloneWith(e,r){r=typeof r=="function"?r:t;return baseClone(e,f,r)}function cloneDeep(e){return baseClone(e,u|f)}function cloneDeepWith(e,r){r=typeof r=="function"?r:t;return baseClone(e,u|f,r)}function conformsTo(e,r){return r==null||baseConformsTo(e,r,keys(r))}function eq(e,r){return e===r||e!==e&&r!==r}var Is=createRelationalOperation(baseGt);var As=createRelationalOperation((function(e,r){return e>=r}));var Os=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&pr.call(e,"callee")&&!Sr.call(e,"callee")};var Rs=r.isArray;var Ts=ft?baseUnary(ft):baseIsArrayBuffer;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}function isBoolean(e){return e===true||e===false||isObjectLike(e)&&baseGetTag(e)==H}var Fs=Nr||stubFalse;var Ms=yt?baseUnary(yt):baseIsDate;function isElement(e){return isObjectLike(e)&&e.nodeType===1&&!isPlainObject(e)}function isEmpty(e){if(e==null){return true}if(isArrayLike(e)&&(Rs(e)||typeof e=="string"||typeof e.splice=="function"||Fs(e)||Ws(e)||Os(e))){return!e.length}var r=Vt(e);if(r==Z||r==ne){return!e.size}if(isPrototype(e)){return!baseKeys(e).length}for(var t in e){if(pr.call(e,t)){return false}}return true}function isEqual(e,r){return baseIsEqual(e,r)}function isEqualWith(e,r,s){s=typeof s=="function"?s:t;var a=s?s(e,r):t;return a===t?baseIsEqual(e,r,t,s):!!a}function isError(e){if(!isObjectLike(e)){return false}var r=baseGetTag(e);return r==Y||r==K||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}function isFinite(e){return typeof e=="number"&&Lr(e)}function isFunction(e){if(!isObject(e)){return false}var r=baseGetTag(e);return r==X||r==J||r==G||r==se}function isInteger(e){return typeof e=="number"&&e==toInteger(e)}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=M}function isObject(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}var Ns=mt?baseUnary(mt):baseIsMap;function isMatch(e,r){return e===r||baseIsMatch(e,r,getMatchData(r))}function isMatchWith(e,r,s){s=typeof s=="function"?s:t;return baseIsMatch(e,r,getMatchData(r),s)}function isNaN(e){return isNumber(e)&&e!=+e}function isNative(e){if($t(e)){throw new qe(n)}return baseIsNative(e)}function isNull(e){return e===null}function isNil(e){return e==null}function isNumber(e){return typeof e=="number"||isObjectLike(e)&&baseGetTag(e)==Q}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=re){return false}var r=Er(e);if(r===null){return true}var t=pr.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&ur.call(t)==gr}var Ls=gt?baseUnary(gt):baseIsRegExp;function isSafeInteger(e){return isInteger(e)&&e>=-M&&e<=M}var Bs=ht?baseUnary(ht):baseIsSet;function isString(e){return typeof e=="string"||!Rs(e)&&isObjectLike(e)&&baseGetTag(e)==oe}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==ie}var Ws=bt?baseUnary(bt):baseIsTypedArray;function isUndefined(e){return e===t}function isWeakMap(e){return isObjectLike(e)&&Vt(e)==ce}function isWeakSet(e){return isObjectLike(e)&&baseGetTag(e)==de}var Us=createRelationalOperation(baseLt);var qs=createRelationalOperation((function(e,r){return e<=r}));function toArray(e){if(!e){return[]}if(isArrayLike(e)){return isString(e)?stringToArray(e):copyArray(e)}if(Pr&&e[Pr]){return iteratorToArray(e[Pr]())}var r=Vt(e),t=r==Z?mapToArray:r==ne?setToArray:values;return t(e)}function toFinite(e){if(!e){return e===0?e:0}e=toNumber(e);if(e===F||e===-F){var r=e<0?-1:1;return r*N}return e===e?e:0}function toInteger(e){var r=toFinite(e),t=r%1;return r===r?t?r-t:r:0}function toLength(e){return e?baseClamp(toInteger(e),0,B):0}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return L}if(isObject(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(r)?r+"":r}if(typeof e!="string"){return e===0?e:+e}e=baseTrim(e);var t=Ke.test(e);return t||Xe.test(e)?st(e.slice(2),t?2:8):ze.test(e)?L:+e}function toPlainObject(e){return copyObject(e,keysIn(e))}function toSafeInteger(e){return e?baseClamp(toInteger(e),-M,M):e===0?e:0}function toString(e){return e==null?"":baseToString(e)}var Vs=createAssigner((function(e,r){if(isPrototype(r)||isArrayLike(r)){copyObject(r,keys(r),e);return}for(var t in r){if(pr.call(r,t)){assignValue(e,t,r[t])}}}));var $s=createAssigner((function(e,r){copyObject(r,keysIn(r),e)}));var Gs=createAssigner((function(e,r,t,s){copyObject(r,keysIn(r),e,s)}));var Hs=createAssigner((function(e,r,t,s){copyObject(r,keys(r),e,s)}));var zs=flatRest(baseAt);function create(e,r){var t=It(e);return r==null?t:baseAssign(t,r)}var Ks=baseRest((function(e,r){e=sr(e);var s=-1;var a=r.length;var n=a>2?r[2]:t;if(n&&isIterateeCall(r[0],r[1],n)){a=1}while(++s<a){var o=r[s];var i=keysIn(o);var l=-1;var c=i.length;while(++l<c){var d=i[l];var u=e[d];if(u===t||eq(u,cr[d])&&!pr.call(e,d)){e[d]=o[d]}}}return e}));var Ys=baseRest((function(e){e.push(t,customDefaultsMerge);return apply(ea,t,e)}));function findKey(e,r){return baseFindKey(e,getIteratee(r,3),baseForOwn)}function findLastKey(e,r){return baseFindKey(e,getIteratee(r,3),baseForOwnRight)}function forIn(e,r){return e==null?e:Rt(e,getIteratee(r,3),keysIn)}function forInRight(e,r){return e==null?e:Tt(e,getIteratee(r,3),keysIn)}function forOwn(e,r){return e&&baseForOwn(e,getIteratee(r,3))}function forOwnRight(e,r){return e&&baseForOwnRight(e,getIteratee(r,3))}function functions(e){return e==null?[]:baseFunctions(e,keys(e))}function functionsIn(e){return e==null?[]:baseFunctions(e,keysIn(e))}function get(e,r,s){var a=e==null?t:baseGet(e,r);return a===t?s:a}function has(e,r){return e!=null&&hasPath(e,r,baseHas)}function hasIn(e,r){return e!=null&&hasPath(e,r,baseHasIn)}var Xs=createInverter((function(e,r,t){if(r!=null&&typeof r.toString!="function"){r=mr.call(r)}e[r]=t}),constant(identity));var Js=createInverter((function(e,r,t){if(r!=null&&typeof r.toString!="function"){r=mr.call(r)}if(pr.call(e,r)){e[r].push(t)}else{e[r]=[t]}}),getIteratee);var Zs=baseRest(baseInvoke);function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}function keysIn(e){return isArrayLike(e)?arrayLikeKeys(e,true):baseKeysIn(e)}function mapKeys(e,r){var t={};r=getIteratee(r,3);baseForOwn(e,(function(e,s,a){baseAssignValue(t,r(e,s,a),e)}));return t}function mapValues(e,r){var t={};r=getIteratee(r,3);baseForOwn(e,(function(e,s,a){baseAssignValue(t,s,r(e,s,a))}));return t}var Qs=createAssigner((function(e,r,t){baseMerge(e,r,t)}));var ea=createAssigner((function(e,r,t,s){baseMerge(e,r,t,s)}));var ra=flatRest((function(e,r){var t={};if(e==null){return t}var s=false;r=arrayMap(r,(function(r){r=castPath(r,e);s||(s=r.length>1);return r}));copyObject(e,getAllKeysIn(e),t);if(s){t=baseClone(t,u|p|f,customOmitClone)}var a=r.length;while(a--){baseUnset(t,r[a])}return t}));function omitBy(e,r){return pickBy(e,negate(getIteratee(r)))}var ta=flatRest((function(e,r){return e==null?{}:basePick(e,r)}));function pickBy(e,r){if(e==null){return{}}var t=arrayMap(getAllKeysIn(e),(function(e){return[e]}));r=getIteratee(r);return basePickBy(e,t,(function(e,t){return r(e,t[0])}))}function result(e,r,s){r=castPath(r,e);var a=-1,n=r.length;if(!n){n=1;e=t}while(++a<n){var o=e==null?t:e[toKey(r[a])];if(o===t){a=n;o=s}e=isFunction(o)?o.call(e):o}return e}function set(e,r,t){return e==null?e:baseSet(e,r,t)}function setWith(e,r,s,a){a=typeof a=="function"?a:t;return e==null?e:baseSet(e,r,s,a)}var sa=createToPairs(keys);var aa=createToPairs(keysIn);function transform(e,r,t){var s=Rs(e),a=s||Fs(e)||Ws(e);r=getIteratee(r,4);if(t==null){var n=e&&e.constructor;if(a){t=s?new n:[]}else if(isObject(e)){t=isFunction(n)?It(Er(e)):{}}else{t={}}}(a?arrayEach:baseForOwn)(e,(function(e,s,a){return r(t,e,s,a)}));return t}function unset(e,r){return e==null?true:baseUnset(e,r)}function update(e,r,t){return e==null?e:baseUpdate(e,r,castFunction(t))}function updateWith(e,r,s,a){a=typeof a=="function"?a:t;return e==null?e:baseUpdate(e,r,castFunction(s),a)}function values(e){return e==null?[]:baseValues(e,keys(e))}function valuesIn(e){return e==null?[]:baseValues(e,keysIn(e))}function clamp(e,r,s){if(s===t){s=r;r=t}if(s!==t){s=toNumber(s);s=s===s?s:0}if(r!==t){r=toNumber(r);r=r===r?r:0}return baseClamp(toNumber(e),r,s)}function inRange(e,r,s){r=toFinite(r);if(s===t){s=r;r=0}else{s=toFinite(s)}e=toNumber(e);return baseInRange(e,r,s)}function random(e,r,s){if(s&&typeof s!="boolean"&&isIterateeCall(e,r,s)){r=s=t}if(s===t){if(typeof r=="boolean"){s=r;r=t}else if(typeof e=="boolean"){s=e;e=t}}if(e===t&&r===t){e=0;r=1}else{e=toFinite(e);if(r===t){r=e;e=0}else{r=toFinite(r)}}if(e>r){var a=e;e=r;r=a}if(s||e%1||r%1){var n=zr();return $r(e+n*(r-e+tt("1e-"+((n+"").length-1))),r)}return baseRandom(e,r)}var na=createCompounder((function(e,r,t){r=r.toLowerCase();return e+(t?capitalize(r):r)}));function capitalize(e){return pa(toString(e).toLowerCase())}function deburr(e){e=toString(e);return e&&e.replace(Ze,vt).replace(Vr,"")}function endsWith(e,r,s){e=toString(e);r=baseToString(r);var a=e.length;s=s===t?a:baseClamp(toInteger(s),0,a);var n=s;s-=r.length;return s>=0&&e.slice(s,n)==r}function escape(e){e=toString(e);return e&&Pe.test(e)?e.replace(ke,jt):e}function escapeRegExp(e){e=toString(e);return e&&Me.test(e)?e.replace(Fe,"\\$&"):e}var oa=createCompounder((function(e,r,t){return e+(t?"-":"")+r.toLowerCase()}));var ia=createCompounder((function(e,r,t){return e+(t?" ":"")+r.toLowerCase()}));var la=createCaseFirst("toLowerCase");function pad(e,r,t){e=toString(e);r=toInteger(r);var s=r?stringSize(e):0;if(!r||s>=r){return e}var a=(r-s)/2;return createPadding(Fr(a),t)+e+createPadding(Tr(a),t)}function padEnd(e,r,t){e=toString(e);r=toInteger(r);var s=r?stringSize(e):0;return r&&s<r?e+createPadding(r-s,t):e}function padStart(e,r,t){e=toString(e);r=toInteger(r);var s=r?stringSize(e):0;return r&&s<r?createPadding(r-s,t)+e:e}function parseInt(e,r,t){if(t||r==null){r=0}else if(r){r=+r}return Hr(toString(e).replace(Ne,""),r||0)}function repeat(e,r,s){if(s?isIterateeCall(e,r,s):r===t){r=1}else{r=toInteger(r)}return baseRepeat(toString(e),r)}function replace(){var e=arguments,r=toString(e[0]);return e.length<3?r:r.replace(e[1],e[2])}var ca=createCompounder((function(e,r,t){return e+(t?"_":"")+r.toLowerCase()}));function split(e,r,s){if(s&&typeof s!="number"&&isIterateeCall(e,r,s)){r=s=t}s=s===t?B:s>>>0;if(!s){return[]}e=toString(e);if(e&&(typeof r=="string"||r!=null&&!Ls(r))){r=baseToString(r);if(!r&&hasUnicode(e)){return castSlice(stringToArray(e),0,s)}}return e.split(r,s)}var da=createCompounder((function(e,r,t){return e+(t?" ":"")+pa(r)}));function startsWith(e,r,t){e=toString(e);t=t==null?0:baseClamp(toInteger(t),0,e.length);r=baseToString(r);return e.slice(t,t+r.length)==r}function template(e,r,s){var a=lodash.templateSettings;if(s&&isIterateeCall(e,r,s)){r=t}e=toString(e);r=Gs({},r,a,customDefaultsAssignIn);var n=Gs({},r.imports,a.imports,customDefaultsAssignIn),o=keys(n),l=baseValues(n,o);var c,d,u=0,p=r.interpolate||Qe,f="__p += '";var y=ar((r.escape||Qe).source+"|"+p.source+"|"+(p===Ae?Ge:Qe).source+"|"+(r.evaluate||Qe).source+"|$","g");var g="//# sourceURL="+(pr.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Yr+"]")+"\n";e.replace(y,(function(r,t,s,a,n,o){s||(s=a);f+=e.slice(u,o).replace(er,escapeStringChar);if(t){c=true;f+="' +\n__e("+t+") +\n'"}if(n){d=true;f+="';\n"+n+";\n__p += '"}if(s){f+="' +\n((__t = ("+s+")) == null ? '' : __t) +\n'"}u=o+r.length;return r}));f+="';\n";var h=pr.call(r,"variable")&&r.variable;if(!h){f="with (obj) {\n"+f+"\n}\n"}else if(Ve.test(h)){throw new qe(i)}f=(d?f.replace(we,""):f).replace(Ee,"$1").replace(_e,"$1;");f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(c?", __e = _.escape":"")+(d?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=fa((function(){return rr(o,g+"return "+f).apply(t,l)}));b.source=f;if(isError(b)){throw b}return b}function toLower(e){return toString(e).toLowerCase()}function toUpper(e){return toString(e).toUpperCase()}function trim(e,r,s){e=toString(e);if(e&&(s||r===t)){return baseTrim(e)}if(!e||!(r=baseToString(r))){return e}var a=stringToArray(e),n=stringToArray(r),o=charsStartIndex(a,n),i=charsEndIndex(a,n)+1;return castSlice(a,o,i).join("")}function trimEnd(e,r,s){e=toString(e);if(e&&(s||r===t)){return e.slice(0,trimmedEndIndex(e)+1)}if(!e||!(r=baseToString(r))){return e}var a=stringToArray(e),n=charsEndIndex(a,stringToArray(r))+1;return castSlice(a,0,n).join("")}function trimStart(e,r,s){e=toString(e);if(e&&(s||r===t)){return e.replace(Ne,"")}if(!e||!(r=baseToString(r))){return e}var a=stringToArray(e),n=charsStartIndex(a,stringToArray(r));return castSlice(a,n).join("")}function truncate(e,r){var s=C,a=P;if(isObject(r)){var n="separator"in r?r.separator:n;s="length"in r?toInteger(r.length):s;a="omission"in r?baseToString(r.omission):a}e=toString(e);var o=e.length;if(hasUnicode(e)){var i=stringToArray(e);o=i.length}if(s>=o){return e}var l=s-stringSize(a);if(l<1){return a}var c=i?castSlice(i,0,l).join(""):e.slice(0,l);if(n===t){return c+a}if(i){l+=c.length-l}if(Ls(n)){if(e.slice(l).search(n)){var d,u=c;if(!n.global){n=ar(n.source,toString(He.exec(n))+"g")}n.lastIndex=0;while(d=n.exec(u)){var p=d.index}c=c.slice(0,p===t?l:p)}}else if(e.indexOf(baseToString(n),l)!=l){var f=c.lastIndexOf(n);if(f>-1){c=c.slice(0,f)}}return c+a}function unescape(e){e=toString(e);return e&&Ce.test(e)?e.replace(Se,wt):e}var ua=createCompounder((function(e,r,t){return e+(t?" ":"")+r.toUpperCase()}));var pa=createCaseFirst("toUpperCase");function words(e,r,s){e=toString(e);r=s?t:r;if(r===t){return hasUnicodeWord(e)?unicodeWords(e):asciiWords(e)}return e.match(r)||[]}var fa=baseRest((function(e,r){try{return apply(e,t,r)}catch(e){return isError(e)?e:new qe(e)}}));var ya=flatRest((function(e,r){arrayEach(r,(function(r){r=toKey(r);baseAssignValue(e,r,ws(e[r],e))}));return e}));function cond(e){var r=e==null?0:e.length,t=getIteratee();e=!r?[]:arrayMap(e,(function(e){if(typeof e[1]!="function"){throw new or(o)}return[t(e[0]),e[1]]}));return baseRest((function(t){var s=-1;while(++s<r){var a=e[s];if(apply(a[0],this,t)){return apply(a[1],this,t)}}}))}function conforms(e){return baseConforms(baseClone(e,u))}function constant(e){return function(){return e}}function defaultTo(e,r){return e==null||e!==e?r:e}var ma=createFlow();var ga=createFlow(true);function identity(e){return e}function iteratee(e){return baseIteratee(typeof e=="function"?e:baseClone(e,u))}function matches(e){return baseMatches(baseClone(e,u))}function matchesProperty(e,r){return baseMatchesProperty(e,baseClone(r,u))}var ha=baseRest((function(e,r){return function(t){return baseInvoke(t,e,r)}}));var ba=baseRest((function(e,r){return function(t){return baseInvoke(e,t,r)}}));function mixin(e,r,t){var s=keys(r),a=baseFunctions(r,s);if(t==null&&!(isObject(r)&&(a.length||!s.length))){t=r;r=e;e=this;a=baseFunctions(r,keys(r))}var n=!(isObject(t)&&"chain"in t)||!!t.chain,o=isFunction(e);arrayEach(a,(function(t){var s=r[t];e[t]=s;if(o){e.prototype[t]=function(){var r=this.__chain__;if(n||r){var t=e(this.__wrapped__),a=t.__actions__=copyArray(this.__actions__);a.push({func:s,args:arguments,thisArg:e});t.__chain__=r;return t}return s.apply(e,arrayPush([this.value()],arguments))}}}));return e}function noConflict(){if(ot._===this){ot._=hr}return this}function noop(){}function nthArg(e){e=toInteger(e);return baseRest((function(r){return baseNth(r,e)}))}var xa=createOver(arrayMap);var va=createOver(arrayEvery);var ja=createOver(arraySome);function property(e){return isKey(e)?baseProperty(toKey(e)):basePropertyDeep(e)}function propertyOf(e){return function(r){return e==null?t:baseGet(e,r)}}var wa=createRange();var Ea=createRange(true);function stubArray(){return[]}function stubFalse(){return false}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return true}function times(e,r){e=toInteger(e);if(e<1||e>M){return[]}var t=B,s=$r(e,B);r=getIteratee(r);e-=B;var a=baseTimes(s,r);while(++t<e){r(t)}return a}function toPath(e){if(Rs(e)){return arrayMap(e,toKey)}return isSymbol(e)?[e]:copyArray(Kt(toString(e)))}function uniqueId(e){var r=++fr;return toString(e)+r}var _a=createMathOperation((function(e,r){return e+r}),0);var Sa=createRound("ceil");var ka=createMathOperation((function(e,r){return e/r}),1);var Ca=createRound("floor");function max(e){return e&&e.length?baseExtremum(e,identity,baseGt):t}function maxBy(e,r){return e&&e.length?baseExtremum(e,getIteratee(r,2),baseGt):t}function mean(e){return baseMean(e,identity)}function meanBy(e,r){return baseMean(e,getIteratee(r,2))}function min(e){return e&&e.length?baseExtremum(e,identity,baseLt):t}function minBy(e,r){return e&&e.length?baseExtremum(e,getIteratee(r,2),baseLt):t}var Pa=createMathOperation((function(e,r){return e*r}),1);var Da=createRound("round");var Ia=createMathOperation((function(e,r){return e-r}),0);function sum(e){return e&&e.length?baseSum(e,identity):0}function sumBy(e,r){return e&&e.length?baseSum(e,getIteratee(r,2)):0}lodash.after=after;lodash.ary=ary;lodash.assign=Vs;lodash.assignIn=$s;lodash.assignInWith=Gs;lodash.assignWith=Hs;lodash.at=zs;lodash.before=before;lodash.bind=ws;lodash.bindAll=ya;lodash.bindKey=Es;lodash.castArray=castArray;lodash.chain=chain;lodash.chunk=chunk;lodash.compact=compact;lodash.concat=concat;lodash.cond=cond;lodash.conforms=conforms;lodash.constant=constant;lodash.countBy=fs;lodash.create=create;lodash.curry=curry;lodash.curryRight=curryRight;lodash.debounce=debounce;lodash.defaults=Ks;lodash.defaultsDeep=Ys;lodash.defer=_s;lodash.delay=Ss;lodash.difference=Yt;lodash.differenceBy=Xt;lodash.differenceWith=Jt;lodash.drop=drop;lodash.dropRight=dropRight;lodash.dropRightWhile=dropRightWhile;lodash.dropWhile=dropWhile;lodash.fill=fill;lodash.filter=filter;lodash.flatMap=flatMap;lodash.flatMapDeep=flatMapDeep;lodash.flatMapDepth=flatMapDepth;lodash.flatten=flatten;lodash.flattenDeep=flattenDeep;lodash.flattenDepth=flattenDepth;lodash.flip=flip;lodash.flow=ma;lodash.flowRight=ga;lodash.fromPairs=fromPairs;lodash.functions=functions;lodash.functionsIn=functionsIn;lodash.groupBy=gs;lodash.initial=initial;lodash.intersection=Zt;lodash.intersectionBy=Qt;lodash.intersectionWith=es;lodash.invert=Xs;lodash.invertBy=Js;lodash.invokeMap=hs;lodash.iteratee=iteratee;lodash.keyBy=bs;lodash.keys=keys;lodash.keysIn=keysIn;lodash.map=map;lodash.mapKeys=mapKeys;lodash.mapValues=mapValues;lodash.matches=matches;lodash.matchesProperty=matchesProperty;lodash.memoize=memoize;lodash.merge=Qs;lodash.mergeWith=ea;lodash.method=ha;lodash.methodOf=ba;lodash.mixin=mixin;lodash.negate=negate;lodash.nthArg=nthArg;lodash.omit=ra;lodash.omitBy=omitBy;lodash.once=once;lodash.orderBy=orderBy;lodash.over=xa;lodash.overArgs=ks;lodash.overEvery=va;lodash.overSome=ja;lodash.partial=Cs;lodash.partialRight=Ps;lodash.partition=xs;lodash.pick=ta;lodash.pickBy=pickBy;lodash.property=property;lodash.propertyOf=propertyOf;lodash.pull=rs;lodash.pullAll=pullAll;lodash.pullAllBy=pullAllBy;lodash.pullAllWith=pullAllWith;lodash.pullAt=ts;lodash.range=wa;lodash.rangeRight=Ea;lodash.rearg=Ds;lodash.reject=reject;lodash.remove=remove;lodash.rest=rest;lodash.reverse=reverse;lodash.sampleSize=sampleSize;lodash.set=set;lodash.setWith=setWith;lodash.shuffle=shuffle;lodash.slice=slice;lodash.sortBy=vs;lodash.sortedUniq=sortedUniq;lodash.sortedUniqBy=sortedUniqBy;lodash.split=split;lodash.spread=spread;lodash.tail=tail;lodash.take=take;lodash.takeRight=takeRight;lodash.takeRightWhile=takeRightWhile;lodash.takeWhile=takeWhile;lodash.tap=tap;lodash.throttle=throttle;lodash.thru=thru;lodash.toArray=toArray;lodash.toPairs=sa;lodash.toPairsIn=aa;lodash.toPath=toPath;lodash.toPlainObject=toPlainObject;lodash.transform=transform;lodash.unary=unary;lodash.union=ss;lodash.unionBy=as;lodash.unionWith=ns;lodash.uniq=uniq;lodash.uniqBy=uniqBy;lodash.uniqWith=uniqWith;lodash.unset=unset;lodash.unzip=unzip;lodash.unzipWith=unzipWith;lodash.update=update;lodash.updateWith=updateWith;lodash.values=values;lodash.valuesIn=valuesIn;lodash.without=os;lodash.words=words;lodash.wrap=wrap;lodash.xor=is;lodash.xorBy=ls;lodash.xorWith=cs;lodash.zip=ds;lodash.zipObject=zipObject;lodash.zipObjectDeep=zipObjectDeep;lodash.zipWith=us;lodash.entries=sa;lodash.entriesIn=aa;lodash.extend=$s;lodash.extendWith=Gs;mixin(lodash,lodash);lodash.add=_a;lodash.attempt=fa;lodash.camelCase=na;lodash.capitalize=capitalize;lodash.ceil=Sa;lodash.clamp=clamp;lodash.clone=clone;lodash.cloneDeep=cloneDeep;lodash.cloneDeepWith=cloneDeepWith;lodash.cloneWith=cloneWith;lodash.conformsTo=conformsTo;lodash.deburr=deburr;lodash.defaultTo=defaultTo;lodash.divide=ka;lodash.endsWith=endsWith;lodash.eq=eq;lodash.escape=escape;lodash.escapeRegExp=escapeRegExp;lodash.every=every;lodash.find=ys;lodash.findIndex=findIndex;lodash.findKey=findKey;lodash.findLast=ms;lodash.findLastIndex=findLastIndex;lodash.findLastKey=findLastKey;lodash.floor=Ca;lodash.forEach=forEach;lodash.forEachRight=forEachRight;lodash.forIn=forIn;lodash.forInRight=forInRight;lodash.forOwn=forOwn;lodash.forOwnRight=forOwnRight;lodash.get=get;lodash.gt=Is;lodash.gte=As;lodash.has=has;lodash.hasIn=hasIn;lodash.head=head;lodash.identity=identity;lodash.includes=includes;lodash.indexOf=indexOf;lodash.inRange=inRange;lodash.invoke=Zs;lodash.isArguments=Os;lodash.isArray=Rs;lodash.isArrayBuffer=Ts;lodash.isArrayLike=isArrayLike;lodash.isArrayLikeObject=isArrayLikeObject;lodash.isBoolean=isBoolean;lodash.isBuffer=Fs;lodash.isDate=Ms;lodash.isElement=isElement;lodash.isEmpty=isEmpty;lodash.isEqual=isEqual;lodash.isEqualWith=isEqualWith;lodash.isError=isError;lodash.isFinite=isFinite;lodash.isFunction=isFunction;lodash.isInteger=isInteger;lodash.isLength=isLength;lodash.isMap=Ns;lodash.isMatch=isMatch;lodash.isMatchWith=isMatchWith;lodash.isNaN=isNaN;lodash.isNative=isNative;lodash.isNil=isNil;lodash.isNull=isNull;lodash.isNumber=isNumber;lodash.isObject=isObject;lodash.isObjectLike=isObjectLike;lodash.isPlainObject=isPlainObject;lodash.isRegExp=Ls;lodash.isSafeInteger=isSafeInteger;lodash.isSet=Bs;lodash.isString=isString;lodash.isSymbol=isSymbol;lodash.isTypedArray=Ws;lodash.isUndefined=isUndefined;lodash.isWeakMap=isWeakMap;lodash.isWeakSet=isWeakSet;lodash.join=join;lodash.kebabCase=oa;lodash.last=last;lodash.lastIndexOf=lastIndexOf;lodash.lowerCase=ia;lodash.lowerFirst=la;lodash.lt=Us;lodash.lte=qs;lodash.max=max;lodash.maxBy=maxBy;lodash.mean=mean;lodash.meanBy=meanBy;lodash.min=min;lodash.minBy=minBy;lodash.stubArray=stubArray;lodash.stubFalse=stubFalse;lodash.stubObject=stubObject;lodash.stubString=stubString;lodash.stubTrue=stubTrue;lodash.multiply=Pa;lodash.nth=nth;lodash.noConflict=noConflict;lodash.noop=noop;lodash.now=js;lodash.pad=pad;lodash.padEnd=padEnd;lodash.padStart=padStart;lodash.parseInt=parseInt;lodash.random=random;lodash.reduce=reduce;lodash.reduceRight=reduceRight;lodash.repeat=repeat;lodash.replace=replace;lodash.result=result;lodash.round=Da;lodash.runInContext=runInContext;lodash.sample=sample;lodash.size=size;lodash.snakeCase=ca;lodash.some=some;lodash.sortedIndex=sortedIndex;lodash.sortedIndexBy=sortedIndexBy;lodash.sortedIndexOf=sortedIndexOf;lodash.sortedLastIndex=sortedLastIndex;lodash.sortedLastIndexBy=sortedLastIndexBy;lodash.sortedLastIndexOf=sortedLastIndexOf;lodash.startCase=da;lodash.startsWith=startsWith;lodash.subtract=Ia;lodash.sum=sum;lodash.sumBy=sumBy;lodash.template=template;lodash.times=times;lodash.toFinite=toFinite;lodash.toInteger=toInteger;lodash.toLength=toLength;lodash.toLower=toLower;lodash.toNumber=toNumber;lodash.toSafeInteger=toSafeInteger;lodash.toString=toString;lodash.toUpper=toUpper;lodash.trim=trim;lodash.trimEnd=trimEnd;lodash.trimStart=trimStart;lodash.truncate=truncate;lodash.unescape=unescape;lodash.uniqueId=uniqueId;lodash.upperCase=ua;lodash.upperFirst=pa;lodash.each=forEach;lodash.eachRight=forEachRight;lodash.first=head;mixin(lodash,function(){var e={};baseForOwn(lodash,(function(r,t){if(!pr.call(lodash.prototype,t)){e[t]=r}}));return e}(),{chain:false});lodash.VERSION=s;arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){lodash[e].placeholder=lodash}));arrayEach(["drop","take"],(function(e,r){LazyWrapper.prototype[e]=function(s){s=s===t?1:Ur(toInteger(s),0);var a=this.__filtered__&&!r?new LazyWrapper(this):this.clone();if(a.__filtered__){a.__takeCount__=$r(s,a.__takeCount__)}else{a.__views__.push({size:$r(s,B),type:e+(a.__dir__<0?"Right":"")})}return a};LazyWrapper.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}));arrayEach(["filter","map","takeWhile"],(function(e,r){var t=r+1,s=t==A||t==R;LazyWrapper.prototype[e]=function(e){var r=this.clone();r.__iteratees__.push({iteratee:getIteratee(e,3),type:t});r.__filtered__=r.__filtered__||s;return r}}));arrayEach(["head","last"],(function(e,r){var t="take"+(r?"Right":"");LazyWrapper.prototype[e]=function(){return this[t](1).value()[0]}}));arrayEach(["initial","tail"],(function(e,r){var t="drop"+(r?"":"Right");LazyWrapper.prototype[e]=function(){return this.__filtered__?new LazyWrapper(this):this[t](1)}}));LazyWrapper.prototype.compact=function(){return this.filter(identity)};LazyWrapper.prototype.find=function(e){return this.filter(e).head()};LazyWrapper.prototype.findLast=function(e){return this.reverse().find(e)};LazyWrapper.prototype.invokeMap=baseRest((function(e,r){if(typeof e=="function"){return new LazyWrapper(this)}return this.map((function(t){return baseInvoke(t,e,r)}))}));LazyWrapper.prototype.reject=function(e){return this.filter(negate(getIteratee(e)))};LazyWrapper.prototype.slice=function(e,r){e=toInteger(e);var s=this;if(s.__filtered__&&(e>0||r<0)){return new LazyWrapper(s)}if(e<0){s=s.takeRight(-e)}else if(e){s=s.drop(e)}if(r!==t){r=toInteger(r);s=r<0?s.dropRight(-r):s.take(r-e)}return s};LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(B)};baseForOwn(LazyWrapper.prototype,(function(e,r){var s=/^(?:filter|find|map|reject)|While$/.test(r),a=/^(?:head|last)$/.test(r),n=lodash[a?"take"+(r=="last"?"Right":""):r],o=a||/^find/.test(r);if(!n){return}lodash.prototype[r]=function(){var r=this.__wrapped__,i=a?[1]:arguments,l=r instanceof LazyWrapper,c=i[0],d=l||Rs(r);var interceptor=function(e){var r=n.apply(lodash,arrayPush([e],i));return a&&u?r[0]:r};if(d&&s&&typeof c=="function"&&c.length!=1){l=d=false}var u=this.__chain__,p=!!this.__actions__.length,f=o&&!u,y=l&&!p;if(!o&&d){r=y?r:new LazyWrapper(this);var g=e.apply(r,i);g.__actions__.push({func:thru,args:[interceptor],thisArg:t});return new LodashWrapper(g,u)}if(f&&y){return e.apply(this,i)}g=this.thru(interceptor);return f?a?g.value()[0]:g.value():g}}));arrayEach(["pop","push","shift","sort","splice","unshift"],(function(e){var r=ir[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);lodash.prototype[e]=function(){var e=arguments;if(s&&!this.__chain__){var a=this.value();return r.apply(Rs(a)?a:[],e)}return this[t]((function(t){return r.apply(Rs(t)?t:[],e)}))}}));baseForOwn(LazyWrapper.prototype,(function(e,r){var t=lodash[r];if(t){var s=t.name+"";if(!pr.call(ut,s)){ut[s]=[]}ut[s].push({name:r,func:t})}}));ut[createHybrid(t,b).name]=[{name:"wrapper",func:t}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=ps;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;if(Pr){lodash.prototype[Pr]=wrapperToIterator}return lodash};var _t=Et();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){ot._=_t;define((function(){return _t}))}else if(ct){(ct.exports=_t)._=_t;lt._=_t}else{ot._=_t}}).call(this)},1894:e=>{"use strict";var r=process.platform==="win32";var t=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;var s={};function win32SplitPath(e){return t.exec(e).slice(1)}s.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 a=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;var n={};function posixSplitPath(e){return a.exec(e).slice(1)}n.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=s.parse;else e.exports=n.parse;e.exports.posix=n.parse;e.exports.win32=s.parse},1068:function(e,r,t){e=t.nmd(e); +/*! https://mths.be/regenerate v1.4.2 by @mathias | MIT license */(function(t){var s=true&&r;var a=true&&e&&e.exports==s&&e;var n=typeof global=="object"&&global;if(n.global===n||n.window===n){t=n}var o={rangeOrder:"A range’s `stop` value must be greater than or equal "+"to the `start` value.",codePointRange:"Invalid code point value. Code points range from "+"U+000000 to U+10FFFF."};var i=55296;var l=56319;var c=56320;var d=57343;var u=/\\x00([^0123456789]|$)/g;var p={};var f=p.hasOwnProperty;var extend=function(e,r){var t;for(t in r){if(f.call(r,t)){e[t]=r[t]}}return e};var forEach=function(e,r){var t=-1;var s=e.length;while(++t<s){r(e[t],t)}};var y=p.toString;var isArray=function(e){return y.call(e)=="[object Array]"};var isNumber=function(e){return typeof e=="number"||y.call(e)=="[object Number]"};var g="0000";var pad=function(e,r){var t=String(e);return t.length<r?(g+t).slice(-r):t};var hex=function(e){return Number(e).toString(16).toUpperCase()};var h=[].slice;var dataFromCodePoints=function(e){var r=-1;var t=e.length;var s=t-1;var a=[];var n=true;var o;var i=0;while(++r<t){o=e[r];if(n){a.push(o);i=o;n=false}else{if(o==i+1){if(r!=s){i=o;continue}else{n=true;a.push(o+1)}}else{a.push(i+1,o);i=o}}}if(!n){a.push(o+1)}return a};var dataRemove=function(e,r){var t=0;var s;var a;var n=e.length;while(t<n){s=e[t];a=e[t+1];if(r>=s&&r<a){if(r==s){if(a==s+1){e.splice(t,2);return e}else{e[t]=r+1;return e}}else if(r==a-1){e[t+1]=r;return e}else{e.splice(t,2,s,r,r+1,a);return e}}t+=2}return e};var dataRemoveRange=function(e,r,t){if(t<r){throw Error(o.rangeOrder)}var s=0;var a;var n;while(s<e.length){a=e[s];n=e[s+1]-1;if(a>t){return e}if(r<=a&&t>=n){e.splice(s,2);continue}if(r>=a&&t<n){if(r==a){e[s]=t+1;e[s+1]=n+1;return e}e.splice(s,2,a,r,t+1,n+1);return e}if(r>=a&&r<=n){e[s+1]=r}else if(t>=a&&t<=n){e[s]=t+1;return e}s+=2}return e};var dataAdd=function(e,r){var t=0;var s;var a;var n=null;var i=e.length;if(r<0||r>1114111){throw RangeError(o.codePointRange)}while(t<i){s=e[t];a=e[t+1];if(r>=s&&r<a){return e}if(r==s-1){e[t]=r;return e}if(s>r){e.splice(n!=null?n+2:0,0,r,r+1);return e}if(r==a){if(r+1==e[t+2]){e.splice(t,4,s,e[t+3]);return e}e[t+1]=r+1;return e}n=t;t+=2}e.push(r,r+1);return e};var dataAddData=function(e,r){var t=0;var s;var a;var n=e.slice();var o=r.length;while(t<o){s=r[t];a=r[t+1]-1;if(s==a){n=dataAdd(n,s)}else{n=dataAddRange(n,s,a)}t+=2}return n};var dataRemoveData=function(e,r){var t=0;var s;var a;var n=e.slice();var o=r.length;while(t<o){s=r[t];a=r[t+1]-1;if(s==a){n=dataRemove(n,s)}else{n=dataRemoveRange(n,s,a)}t+=2}return n};var dataAddRange=function(e,r,t){if(t<r){throw Error(o.rangeOrder)}if(r<0||r>1114111||t<0||t>1114111){throw RangeError(o.codePointRange)}var s=0;var a;var n;var i=false;var l=e.length;while(s<l){a=e[s];n=e[s+1];if(i){if(a==t+1){e.splice(s-1,2);return e}if(a>t){return e}if(a>=r&&a<=t){if(n>r&&n-1<=t){e.splice(s,2);s-=2}else{e.splice(s-1,2);s-=2}}}else if(a==t+1||a==t){e[s]=r;return e}else if(a>t){e.splice(s,0,r,t+1);return e}else if(r>=a&&r<n&&t+1<=n){return e}else if(r>=a&&r<n||n==r){e[s+1]=t+1;i=true}else if(r<=a&&t+1>=n){e[s]=r;e[s+1]=t+1;i=true}s+=2}if(!i){e.push(r,t+1)}return e};var dataContains=function(e,r){var t=0;var s=e.length;var a=e[t];var n=e[s-1];if(s>=2){if(r<a||r>n){return false}}while(t<s){a=e[t];n=e[t+1];if(r>=a&&r<n){return true}t+=2}return false};var dataIntersection=function(e,r){var t=0;var s=r.length;var a;var n=[];while(t<s){a=r[t];if(dataContains(e,a)){n.push(a)}++t}return dataFromCodePoints(n)};var dataIsEmpty=function(e){return!e.length};var dataIsSingleton=function(e){return e.length==2&&e[0]+1==e[1]};var dataToArray=function(e){var r=0;var t;var s;var a=[];var n=e.length;while(r<n){t=e[r];s=e[r+1];while(t<s){a.push(t);++t}r+=2}return a};var b=Math.floor;var highSurrogate=function(e){return parseInt(b((e-65536)/1024)+i,10)};var lowSurrogate=function(e){return parseInt((e-65536)%1024+c,10)};var x=String.fromCharCode;var codePointToString=function(e){var r;if(e==9){r="\\t"}else if(e==10){r="\\n"}else if(e==12){r="\\f"}else if(e==13){r="\\r"}else if(e==45){r="\\x2D"}else if(e==92){r="\\\\"}else if(e==36||e>=40&&e<=43||e==46||e==47||e==63||e>=91&&e<=94||e>=123&&e<=125){r="\\"+x(e)}else if(e>=32&&e<=126){r=x(e)}else if(e<=255){r="\\x"+pad(hex(e),2)}else{r="\\u"+pad(hex(e),4)}return r};var codePointToStringUnicode=function(e){if(e<=65535){return codePointToString(e)}return"\\u{"+e.toString(16).toUpperCase()+"}"};var symbolToCodePoint=function(e){var r=e.length;var t=e.charCodeAt(0);var s;if(t>=i&&t<=l&&r>1){s=e.charCodeAt(1);return(t-i)*1024+s-c+65536}return t};var createBMPCharacterClasses=function(e){var r="";var t=0;var s;var a;var n=e.length;if(dataIsSingleton(e)){return codePointToString(e[0])}while(t<n){s=e[t];a=e[t+1]-1;if(s==a){r+=codePointToString(s)}else if(s+1==a){r+=codePointToString(s)+codePointToString(a)}else{r+=codePointToString(s)+"-"+codePointToString(a)}t+=2}return"["+r+"]"};var createUnicodeCharacterClasses=function(e){var r="";var t=0;var s;var a;var n=e.length;if(dataIsSingleton(e)){return codePointToStringUnicode(e[0])}while(t<n){s=e[t];a=e[t+1]-1;if(s==a){r+=codePointToStringUnicode(s)}else if(s+1==a){r+=codePointToStringUnicode(s)+codePointToStringUnicode(a)}else{r+=codePointToStringUnicode(s)+"-"+codePointToStringUnicode(a)}t+=2}return"["+r+"]"};var splitAtBMP=function(e){var r=[];var t=[];var s=[];var a=[];var n=0;var o;var u;var p=e.length;while(n<p){o=e[n];u=e[n+1]-1;if(o<i){if(u<i){s.push(o,u+1)}if(u>=i&&u<=l){s.push(o,i);r.push(i,u+1)}if(u>=c&&u<=d){s.push(o,i);r.push(i,l+1);t.push(c,u+1)}if(u>d){s.push(o,i);r.push(i,l+1);t.push(c,d+1);if(u<=65535){s.push(d+1,u+1)}else{s.push(d+1,65535+1);a.push(65535+1,u+1)}}}else if(o>=i&&o<=l){if(u>=i&&u<=l){r.push(o,u+1)}if(u>=c&&u<=d){r.push(o,l+1);t.push(c,u+1)}if(u>d){r.push(o,l+1);t.push(c,d+1);if(u<=65535){s.push(d+1,u+1)}else{s.push(d+1,65535+1);a.push(65535+1,u+1)}}}else if(o>=c&&o<=d){if(u>=c&&u<=d){t.push(o,u+1)}if(u>d){t.push(o,d+1);if(u<=65535){s.push(d+1,u+1)}else{s.push(d+1,65535+1);a.push(65535+1,u+1)}}}else if(o>d&&o<=65535){if(u<=65535){s.push(o,u+1)}else{s.push(o,65535+1);a.push(65535+1,u+1)}}else{a.push(o,u+1)}n+=2}return{loneHighSurrogates:r,loneLowSurrogates:t,bmp:s,astral:a}};var optimizeSurrogateMappings=function(e){var r=[];var t=[];var s=false;var a;var n;var o;var i;var l;var c;var d=-1;var u=e.length;while(++d<u){a=e[d];n=e[d+1];if(!n){r.push(a);continue}o=a[0];i=a[1];l=n[0];c=n[1];t=i;while(l&&o[0]==l[0]&&o[1]==l[1]){if(dataIsSingleton(c)){t=dataAdd(t,c[0])}else{t=dataAddRange(t,c[0],c[1]-1)}++d;a=e[d];o=a[0];i=a[1];n=e[d+1];l=n&&n[0];c=n&&n[1];s=true}r.push([o,s?t:i]);s=false}return optimizeByLowSurrogates(r)};var optimizeByLowSurrogates=function(e){if(e.length==1){return e}var r=-1;var t=-1;while(++r<e.length){var s=e[r];var a=s[1];var n=a[0];var o=a[1];t=r;while(++t<e.length){var i=e[t];var l=i[1];var c=l[0];var d=l[1];if(n==c&&o==d&&l.length===2){if(dataIsSingleton(i[0])){s[0]=dataAdd(s[0],i[0][0])}else{s[0]=dataAddRange(s[0],i[0][0],i[0][1]-1)}e.splice(t,1);--t}}}return e};var surrogateSet=function(e){if(!e.length){return[]}var r=0;var t;var s;var a;var n;var o;var i;var l=[];var u=e.length;while(r<u){t=e[r];s=e[r+1]-1;a=highSurrogate(t);n=lowSurrogate(t);o=highSurrogate(s);i=lowSurrogate(s);var p=n==c;var f=i==d;var y=false;if(a==o||p&&f){l.push([[a,o+1],[n,i+1]]);y=true}else{l.push([[a,a+1],[n,d+1]])}if(!y&&a+1<o){if(f){l.push([[a+1,o+1],[c,i+1]]);y=true}else{l.push([[a+1,o],[c,d+1]])}}if(!y){l.push([[o,o+1],[c,i+1]])}r+=2}return optimizeSurrogateMappings(l)};var createSurrogateCharacterClasses=function(e){var r=[];forEach(e,(function(e){var t=e[0];var s=e[1];r.push(createBMPCharacterClasses(t)+createBMPCharacterClasses(s))}));return r.join("|")};var createCharacterClassesFromData=function(e,r,t){if(t){return createUnicodeCharacterClasses(e)}var s=[];var a=splitAtBMP(e);var n=a.loneHighSurrogates;var o=a.loneLowSurrogates;var i=a.bmp;var l=a.astral;var c=!dataIsEmpty(n);var d=!dataIsEmpty(o);var u=surrogateSet(l);if(r){i=dataAddData(i,n);c=false;i=dataAddData(i,o);d=false}if(!dataIsEmpty(i)){s.push(createBMPCharacterClasses(i))}if(u.length){s.push(createSurrogateCharacterClasses(u))}if(c){s.push(createBMPCharacterClasses(n)+"(?![\\uDC00-\\uDFFF])")}if(d){s.push("(?:[^\\uD800-\\uDBFF]|^)"+createBMPCharacterClasses(o))}return s.join("|")};var regenerate=function(e){if(arguments.length>1){e=h.call(arguments)}if(this instanceof regenerate){this.data=[];return e?this.add(e):this}return(new regenerate).add(e)};regenerate.version="1.4.2";var v=regenerate.prototype;extend(v,{add:function(e){var r=this;if(e==null){return r}if(e instanceof regenerate){r.data=dataAddData(r.data,e.data);return r}if(arguments.length>1){e=h.call(arguments)}if(isArray(e)){forEach(e,(function(e){r.add(e)}));return r}r.data=dataAdd(r.data,isNumber(e)?e:symbolToCodePoint(e));return r},remove:function(e){var r=this;if(e==null){return r}if(e instanceof regenerate){r.data=dataRemoveData(r.data,e.data);return r}if(arguments.length>1){e=h.call(arguments)}if(isArray(e)){forEach(e,(function(e){r.remove(e)}));return r}r.data=dataRemove(r.data,isNumber(e)?e:symbolToCodePoint(e));return r},addRange:function(e,r){var t=this;t.data=dataAddRange(t.data,isNumber(e)?e:symbolToCodePoint(e),isNumber(r)?r:symbolToCodePoint(r));return t},removeRange:function(e,r){var t=this;var s=isNumber(e)?e:symbolToCodePoint(e);var a=isNumber(r)?r:symbolToCodePoint(r);t.data=dataRemoveRange(t.data,s,a);return t},intersection:function(e){var r=this;var t=e instanceof regenerate?dataToArray(e.data):e;r.data=dataIntersection(r.data,t);return r},contains:function(e){return dataContains(this.data,isNumber(e)?e:symbolToCodePoint(e))},clone:function(){var e=new regenerate;e.data=this.data.slice(0);return e},toString:function(e){var r=createCharacterClassesFromData(this.data,e?e.bmpOnly:false,e?e.hasUnicodeFlag:false);if(!r){return"[]"}return r.replace(u,"\\0$1")},toRegExp:function(e){var r=this.toString(e&&e.indexOf("u")!=-1?{hasUnicodeFlag:true}:null);return RegExp(r,e||"")},valueOf:function(){return dataToArray(this.data)}});v.toArray=v.valueOf;if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return regenerate}))}else if(s&&!s.nodeType){if(a){a.exports=regenerate}else{s.regenerate=regenerate}}else{t.regenerate=regenerate}})(this)},9978:(e,r,t)=>{"use strict";var s=t(378);var a=s(t(9491));var n=_interopRequireWildcard(t(6226));var o=_interopRequireWildcard(t(4342));var i=_interopRequireWildcard(t(8631));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s["default"]=e;if(t){t.set(e,s)}return s}var l=Object.prototype.hasOwnProperty;function Emitter(e){a["default"].ok(this instanceof Emitter);i.getTypes().assertIdentifier(e);this.nextTempId=0;this.contextId=e;this.listing=[];this.marked=[true];this.insertedLocs=new Set;this.finalLoc=this.loc();this.tryEntries=[];this.leapManager=new n.LeapManager(this)}var c=Emitter.prototype;r.Emitter=Emitter;var d=Number.MAX_VALUE;c.loc=function(){var e=i.getTypes().numericLiteral(d);this.insertedLocs.add(e);return e};c.getInsertedLocs=function(){return this.insertedLocs};c.getContextId=function(){return i.getTypes().clone(this.contextId)};c.mark=function(e){i.getTypes().assertLiteral(e);var r=this.listing.length;if(e.value===d){e.value=r}else{a["default"].strictEqual(e.value,r)}this.marked[r]=true;return e};c.emit=function(e){var r=i.getTypes();if(r.isExpression(e)){e=r.expressionStatement(e)}r.assertStatement(e);this.listing.push(e)};c.emitAssign=function(e,r){this.emit(this.assign(e,r));return e};c.assign=function(e,r){var t=i.getTypes();return t.expressionStatement(t.assignmentExpression("=",t.cloneDeep(e),r))};c.contextProperty=function(e,r){var t=i.getTypes();return t.memberExpression(this.getContextId(),r?t.stringLiteral(e):t.identifier(e),!!r)};c.stop=function(e){if(e){this.setReturnValue(e)}this.jump(this.finalLoc)};c.setReturnValue=function(e){i.getTypes().assertExpression(e.value);this.emitAssign(this.contextProperty("rval"),this.explodeExpression(e))};c.clearPendingException=function(e,r){var t=i.getTypes();t.assertLiteral(e);var s=t.callExpression(this.contextProperty("catch",true),[t.clone(e)]);if(r){this.emitAssign(r,s)}else{this.emit(s)}};c.jump=function(e){this.emitAssign(this.contextProperty("next"),e);this.emit(i.getTypes().breakStatement())};c.jumpIf=function(e,r){var t=i.getTypes();t.assertExpression(e);t.assertLiteral(r);this.emit(t.ifStatement(e,t.blockStatement([this.assign(this.contextProperty("next"),r),t.breakStatement()])))};c.jumpIfNot=function(e,r){var t=i.getTypes();t.assertExpression(e);t.assertLiteral(r);var s;if(t.isUnaryExpression(e)&&e.operator==="!"){s=e.argument}else{s=t.unaryExpression("!",e)}this.emit(t.ifStatement(s,t.blockStatement([this.assign(this.contextProperty("next"),r),t.breakStatement()])))};c.makeTempVar=function(){return this.contextProperty("t"+this.nextTempId++)};c.getContextFunction=function(e){var r=i.getTypes();return r.functionExpression(e||null,[this.getContextId()],r.blockStatement([this.getDispatchLoop()]),false,false)};c.getDispatchLoop=function(){var e=this;var r=i.getTypes();var t=[];var s;var a=false;e.listing.forEach((function(n,o){if(e.marked.hasOwnProperty(o)){t.push(r.switchCase(r.numericLiteral(o),s=[]));a=false}if(!a){s.push(n);if(r.isCompletionStatement(n))a=true}}));this.finalLoc.value=this.listing.length;t.push(r.switchCase(this.finalLoc,[]),r.switchCase(r.stringLiteral("end"),[r.returnStatement(r.callExpression(this.contextProperty("stop"),[]))]));return r.whileStatement(r.numericLiteral(1),r.switchStatement(r.assignmentExpression("=",this.contextProperty("prev"),this.contextProperty("next")),t))};c.getTryLocsList=function(){if(this.tryEntries.length===0){return null}var e=i.getTypes();var r=0;return e.arrayExpression(this.tryEntries.map((function(t){var s=t.firstLoc.value;a["default"].ok(s>=r,"try entries out of order");r=s;var n=t.catchEntry;var o=t.finallyEntry;var i=[t.firstLoc,n?n.firstLoc:null];if(o){i[2]=o.firstLoc;i[3]=o.afterLoc}return e.arrayExpression(i.map((function(r){return r&&e.clone(r)})))})))};c.explode=function(e,r){var t=i.getTypes();var s=e.node;var a=this;t.assertNode(s);if(t.isDeclaration(s))throw getDeclError(s);if(t.isStatement(s))return a.explodeStatement(e);if(t.isExpression(s))return a.explodeExpression(e,r);switch(s.type){case"Program":return e.get("body").map(a.explodeStatement,a);case"VariableDeclarator":throw getDeclError(s);case"Property":case"SwitchCase":case"CatchClause":throw new Error(s.type+" nodes should be handled by their parents");default:throw new Error("unknown Node of type "+JSON.stringify(s.type))}};function getDeclError(e){return new Error("all declarations should have been transformed into "+"assignments before the Exploder began its work: "+JSON.stringify(e))}c.explodeStatement=function(e,r){var t=i.getTypes();var s=e.node;var l=this;var c,p,f;t.assertStatement(s);if(r){t.assertIdentifier(r)}else{r=null}if(t.isBlockStatement(s)){e.get("body").forEach((function(e){l.explodeStatement(e)}));return}if(!o.containsLeap(s)){l.emit(s);return}switch(s.type){case"ExpressionStatement":l.explodeExpression(e.get("expression"),true);break;case"LabeledStatement":p=this.loc();l.leapManager.withEntry(new n.LabeledEntry(p,s.label),(function(){l.explodeStatement(e.get("body"),s.label)}));l.mark(p);break;case"WhileStatement":c=this.loc();p=this.loc();l.mark(c);l.jumpIfNot(l.explodeExpression(e.get("test")),p);l.leapManager.withEntry(new n.LoopEntry(p,c,r),(function(){l.explodeStatement(e.get("body"))}));l.jump(c);l.mark(p);break;case"DoWhileStatement":var y=this.loc();var g=this.loc();p=this.loc();l.mark(y);l.leapManager.withEntry(new n.LoopEntry(p,g,r),(function(){l.explode(e.get("body"))}));l.mark(g);l.jumpIf(l.explodeExpression(e.get("test")),y);l.mark(p);break;case"ForStatement":f=this.loc();var h=this.loc();p=this.loc();if(s.init){l.explode(e.get("init"),true)}l.mark(f);if(s.test){l.jumpIfNot(l.explodeExpression(e.get("test")),p)}else{}l.leapManager.withEntry(new n.LoopEntry(p,h,r),(function(){l.explodeStatement(e.get("body"))}));l.mark(h);if(s.update){l.explode(e.get("update"),true)}l.jump(f);l.mark(p);break;case"TypeCastExpression":return l.explodeExpression(e.get("expression"));case"ForInStatement":f=this.loc();p=this.loc();var b=l.makeTempVar();l.emitAssign(b,t.callExpression(i.runtimeProperty("keys"),[l.explodeExpression(e.get("right"))]));l.mark(f);var x=l.makeTempVar();l.jumpIf(t.memberExpression(t.assignmentExpression("=",x,t.callExpression(t.cloneDeep(b),[])),t.identifier("done"),false),p);l.emitAssign(s.left,t.memberExpression(t.cloneDeep(x),t.identifier("value"),false));l.leapManager.withEntry(new n.LoopEntry(p,f,r),(function(){l.explodeStatement(e.get("body"))}));l.jump(f);l.mark(p);break;case"BreakStatement":l.emitAbruptCompletion({type:"break",target:l.leapManager.getBreakLoc(s.label)});break;case"ContinueStatement":l.emitAbruptCompletion({type:"continue",target:l.leapManager.getContinueLoc(s.label)});break;case"SwitchStatement":var v=l.emitAssign(l.makeTempVar(),l.explodeExpression(e.get("discriminant")));p=this.loc();var j=this.loc();var w=j;var E=[];var _=s.cases||[];for(var S=_.length-1;S>=0;--S){var k=_[S];t.assertSwitchCase(k);if(k.test){w=t.conditionalExpression(t.binaryExpression("===",t.cloneDeep(v),k.test),E[S]=this.loc(),w)}else{E[S]=j}}var C=e.get("discriminant");i.replaceWithOrRemove(C,w);l.jump(l.explodeExpression(C));l.leapManager.withEntry(new n.SwitchEntry(p),(function(){e.get("cases").forEach((function(e){var r=e.key;l.mark(E[r]);e.get("consequent").forEach((function(e){l.explodeStatement(e)}))}))}));l.mark(p);if(j.value===d){l.mark(j);a["default"].strictEqual(p.value,j.value)}break;case"IfStatement":var P=s.alternate&&this.loc();p=this.loc();l.jumpIfNot(l.explodeExpression(e.get("test")),P||p);l.explodeStatement(e.get("consequent"));if(P){l.jump(p);l.mark(P);l.explodeStatement(e.get("alternate"))}l.mark(p);break;case"ReturnStatement":l.emitAbruptCompletion({type:"return",value:l.explodeExpression(e.get("argument"))});break;case"WithStatement":throw new Error("WithStatement not supported in generator functions.");case"TryStatement":p=this.loc();var D=s.handler;var I=D&&this.loc();var A=I&&new n.CatchEntry(I,D.param);var O=s.finalizer&&this.loc();var R=O&&new n.FinallyEntry(O,p);var F=new n.TryEntry(l.getUnmarkedCurrentLoc(),A,R);l.tryEntries.push(F);l.updateContextPrevLoc(F.firstLoc);l.leapManager.withEntry(F,(function(){l.explodeStatement(e.get("block"));if(I){if(O){l.jump(O)}else{l.jump(p)}l.updateContextPrevLoc(l.mark(I));var r=e.get("handler.body");var s=l.makeTempVar();l.clearPendingException(F.firstLoc,s);r.traverse(u,{getSafeParam:function getSafeParam(){return t.cloneDeep(s)},catchParamName:D.param.name});l.leapManager.withEntry(A,(function(){l.explodeStatement(r)}))}if(O){l.updateContextPrevLoc(l.mark(O));l.leapManager.withEntry(R,(function(){l.explodeStatement(e.get("finalizer"))}));l.emit(t.returnStatement(t.callExpression(l.contextProperty("finish"),[R.firstLoc])))}}));l.mark(p);break;case"ThrowStatement":l.emit(t.throwStatement(l.explodeExpression(e.get("argument"))));break;case"ClassDeclaration":l.emit(l.explodeClass(e));break;default:throw new Error("unknown Statement of type "+JSON.stringify(s.type))}};var u={Identifier:function Identifier(e,r){if(e.node.name===r.catchParamName&&i.isReference(e)){i.replaceWithOrRemove(e,r.getSafeParam())}},Scope:function Scope(e,r){if(e.scope.hasOwnBinding(r.catchParamName)){e.skip()}}};c.emitAbruptCompletion=function(e){if(!isValidCompletion(e)){a["default"].ok(false,"invalid completion record: "+JSON.stringify(e))}a["default"].notStrictEqual(e.type,"normal","normal completions are not abrupt");var r=i.getTypes();var t=[r.stringLiteral(e.type)];if(e.type==="break"||e.type==="continue"){r.assertLiteral(e.target);t[1]=this.insertedLocs.has(e.target)?e.target:r.cloneDeep(e.target)}else if(e.type==="return"||e.type==="throw"){if(e.value){r.assertExpression(e.value);t[1]=this.insertedLocs.has(e.value)?e.value:r.cloneDeep(e.value)}}this.emit(r.returnStatement(r.callExpression(this.contextProperty("abrupt"),t)))};function isValidCompletion(e){var r=e.type;if(r==="normal"){return!l.call(e,"target")}if(r==="break"||r==="continue"){return!l.call(e,"value")&&i.getTypes().isLiteral(e.target)}if(r==="return"||r==="throw"){return l.call(e,"value")&&!l.call(e,"target")}return false}c.getUnmarkedCurrentLoc=function(){return i.getTypes().numericLiteral(this.listing.length)};c.updateContextPrevLoc=function(e){var r=i.getTypes();if(e){r.assertLiteral(e);if(e.value===d){e.value=this.listing.length}else{a["default"].strictEqual(e.value,this.listing.length)}}else{e=this.getUnmarkedCurrentLoc()}this.emitAssign(this.contextProperty("prev"),e)};c.explodeViaTempVar=function(e,r,t,s){a["default"].ok(!s||!e,"Ignoring the result of a child expression but forcing it to "+"be assigned to a temporary variable?");var n=i.getTypes();var o=this.explodeExpression(r,s);if(s){}else if(e||t&&!n.isLiteral(o)){o=this.emitAssign(e||this.makeTempVar(),o)}return o};c.explodeExpression=function(e,r){var t=i.getTypes();var s=e.node;if(s){t.assertExpression(s)}else{return s}var n=this;var l;var c;function finish(e){t.assertExpression(e);if(r){n.emit(e)}return e}if(!o.containsLeap(s)){return finish(s)}var d=o.containsLeap.onlyChildren(s);switch(s.type){case"MemberExpression":return finish(t.memberExpression(n.explodeExpression(e.get("object")),s.computed?n.explodeViaTempVar(null,e.get("property"),d):s.property,s.computed));case"CallExpression":var u=e.get("callee");var p=e.get("arguments");var f;var y;var g=p.some((function(e){return o.containsLeap(e.node)}));var h=null;if(t.isMemberExpression(u.node)){if(g){var b=n.explodeViaTempVar(n.makeTempVar(),u.get("object"),d);var x=u.node.computed?n.explodeViaTempVar(null,u.get("property"),d):u.node.property;h=b;f=t.memberExpression(t.memberExpression(t.cloneDeep(b),x,u.node.computed),t.identifier("call"),false)}else{f=n.explodeExpression(u)}}else{f=n.explodeViaTempVar(null,u,d);if(t.isMemberExpression(f)){f=t.sequenceExpression([t.numericLiteral(0),t.cloneDeep(f)])}}if(g){y=p.map((function(e){return n.explodeViaTempVar(null,e,d)}));if(h)y.unshift(h);y=y.map((function(e){return t.cloneDeep(e)}))}else{y=e.node.arguments}return finish(t.callExpression(f,y));case"NewExpression":return finish(t.newExpression(n.explodeViaTempVar(null,e.get("callee"),d),e.get("arguments").map((function(e){return n.explodeViaTempVar(null,e,d)}))));case"ObjectExpression":return finish(t.objectExpression(e.get("properties").map((function(e){if(e.isObjectProperty()){return t.objectProperty(e.node.key,n.explodeViaTempVar(null,e.get("value"),d),e.node.computed)}else{return e.node}}))));case"ArrayExpression":return finish(t.arrayExpression(e.get("elements").map((function(e){if(!e.node){return null}if(e.isSpreadElement()){return t.spreadElement(n.explodeViaTempVar(null,e.get("argument"),d))}else{return n.explodeViaTempVar(null,e,d)}}))));case"SequenceExpression":var v=s.expressions.length-1;e.get("expressions").forEach((function(e){if(e.key===v){l=n.explodeExpression(e,r)}else{n.explodeExpression(e,true)}}));return l;case"LogicalExpression":c=this.loc();if(!r){l=n.makeTempVar()}var j=n.explodeViaTempVar(l,e.get("left"),d);if(s.operator==="&&"){n.jumpIfNot(j,c)}else{a["default"].strictEqual(s.operator,"||");n.jumpIf(j,c)}n.explodeViaTempVar(l,e.get("right"),d,r);n.mark(c);return l;case"ConditionalExpression":var w=this.loc();c=this.loc();var E=n.explodeExpression(e.get("test"));n.jumpIfNot(E,w);if(!r){l=n.makeTempVar()}n.explodeViaTempVar(l,e.get("consequent"),d,r);n.jump(c);n.mark(w);n.explodeViaTempVar(l,e.get("alternate"),d,r);n.mark(c);return l;case"UnaryExpression":return finish(t.unaryExpression(s.operator,n.explodeExpression(e.get("argument")),!!s.prefix));case"BinaryExpression":return finish(t.binaryExpression(s.operator,n.explodeViaTempVar(null,e.get("left"),d),n.explodeViaTempVar(null,e.get("right"),d)));case"AssignmentExpression":if(s.operator==="="){return finish(t.assignmentExpression(s.operator,n.explodeExpression(e.get("left")),n.explodeExpression(e.get("right"))))}var _=n.explodeExpression(e.get("left"));var S=n.emitAssign(n.makeTempVar(),_);return finish(t.assignmentExpression("=",t.cloneDeep(_),t.assignmentExpression(s.operator,t.cloneDeep(S),n.explodeExpression(e.get("right")))));case"UpdateExpression":return finish(t.updateExpression(s.operator,n.explodeExpression(e.get("argument")),s.prefix));case"YieldExpression":c=this.loc();var k=s.argument&&n.explodeExpression(e.get("argument"));if(k&&s.delegate){var C=n.makeTempVar();var P=t.returnStatement(t.callExpression(n.contextProperty("delegateYield"),[k,t.stringLiteral(C.property.name),c]));P.loc=s.loc;n.emit(P);n.mark(c);return C}n.emitAssign(n.contextProperty("next"),c);var D=t.returnStatement(t.cloneDeep(k)||null);D.loc=s.loc;n.emit(D);n.mark(c);return n.contextProperty("sent");case"ClassExpression":return finish(n.explodeClass(e));default:throw new Error("unknown Expression of type "+JSON.stringify(s.type))}};c.explodeClass=function(e){var r=[];if(e.node.superClass){r.push(e.get("superClass"))}e.get("body.body").forEach((function(e){if(e.node.computed){r.push(e.get("key"))}}));var t=r.some((function(e){return o.containsLeap(e)}));for(var s=0;s<r.length;s++){var a=r[s];var n=s===r.length-1;if(n){a.replaceWith(this.explodeExpression(a))}else{a.replaceWith(this.explodeViaTempVar(null,a,t))}}return e.node}},9201:(e,r,t)=>{"use strict";var s=_interopRequireWildcard(t(8631));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s["default"]=e;if(t){t.set(e,s)}return s}var a=Object.prototype.hasOwnProperty;r.hoist=function(e){var r=s.getTypes();r.assertFunction(e.node);var t={};function varDeclToExpr(e,s){var a=e.node,n=e.scope;r.assertVariableDeclaration(a);var o=[];a.declarations.forEach((function(e){t[e.id.name]=r.identifier(e.id.name);n.removeBinding(e.id.name);if(e.init){o.push(r.assignmentExpression("=",e.id,e.init))}else if(s){o.push(e.id)}}));if(o.length===0)return null;if(o.length===1)return o[0];return r.sequenceExpression(o)}e.get("body").traverse({VariableDeclaration:{exit:function exit(e){var t=varDeclToExpr(e,false);if(t===null){e.remove()}else{s.replaceWithOrRemove(e,r.expressionStatement(t))}e.skip()}},ForStatement:function ForStatement(e){var r=e.get("init");if(r.isVariableDeclaration()){s.replaceWithOrRemove(r,varDeclToExpr(r,false))}},ForXStatement:function ForXStatement(e){var r=e.get("left");if(r.isVariableDeclaration()){s.replaceWithOrRemove(r,varDeclToExpr(r,true))}},FunctionDeclaration:function FunctionDeclaration(e){var a=e.node;t[a.id.name]=a.id;var n=r.expressionStatement(r.assignmentExpression("=",r.clone(a.id),r.functionExpression(e.scope.generateUidIdentifierBasedOnNode(a),a.params,a.body,a.generator,a.expression)));if(e.parentPath.isBlockStatement()){e.parentPath.unshiftContainer("body",n);e.remove()}else{s.replaceWithOrRemove(e,n)}e.scope.removeBinding(a.id.name);e.skip()},FunctionExpression:function FunctionExpression(e){e.skip()},ArrowFunctionExpression:function ArrowFunctionExpression(e){e.skip()}});var n={};e.get("params").forEach((function(e){var t=e.node;if(r.isIdentifier(t)){n[t.name]=t}else{}}));var o=[];Object.keys(t).forEach((function(e){if(!a.call(n,e)){o.push(r.variableDeclarator(t[e],null))}}));if(o.length===0){return null}return r.variableDeclaration("var",o)}},9982:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=_default;var s=t(4212);function _default(e){var r={visitor:(0,s.getVisitor)(e)};var t=e&&e.version;if(t&&parseInt(t,10)>=7){r.name="regenerator-transform"}return r}},6226:(e,r,t)=>{"use strict";var s=t(378);var a=s(t(9491));var n=t(9978);var o=t(3837);var i=t(8631);function Entry(){a["default"].ok(this instanceof Entry)}function FunctionEntry(e){Entry.call(this);(0,i.getTypes)().assertLiteral(e);this.returnLoc=e}(0,o.inherits)(FunctionEntry,Entry);r.FunctionEntry=FunctionEntry;function LoopEntry(e,r,t){Entry.call(this);var s=(0,i.getTypes)();s.assertLiteral(e);s.assertLiteral(r);if(t){s.assertIdentifier(t)}else{t=null}this.breakLoc=e;this.continueLoc=r;this.label=t}(0,o.inherits)(LoopEntry,Entry);r.LoopEntry=LoopEntry;function SwitchEntry(e){Entry.call(this);(0,i.getTypes)().assertLiteral(e);this.breakLoc=e}(0,o.inherits)(SwitchEntry,Entry);r.SwitchEntry=SwitchEntry;function TryEntry(e,r,t){Entry.call(this);var s=(0,i.getTypes)();s.assertLiteral(e);if(r){a["default"].ok(r instanceof CatchEntry)}else{r=null}if(t){a["default"].ok(t instanceof FinallyEntry)}else{t=null}a["default"].ok(r||t);this.firstLoc=e;this.catchEntry=r;this.finallyEntry=t}(0,o.inherits)(TryEntry,Entry);r.TryEntry=TryEntry;function CatchEntry(e,r){Entry.call(this);var t=(0,i.getTypes)();t.assertLiteral(e);t.assertIdentifier(r);this.firstLoc=e;this.paramId=r}(0,o.inherits)(CatchEntry,Entry);r.CatchEntry=CatchEntry;function FinallyEntry(e,r){Entry.call(this);var t=(0,i.getTypes)();t.assertLiteral(e);t.assertLiteral(r);this.firstLoc=e;this.afterLoc=r}(0,o.inherits)(FinallyEntry,Entry);r.FinallyEntry=FinallyEntry;function LabeledEntry(e,r){Entry.call(this);var t=(0,i.getTypes)();t.assertLiteral(e);t.assertIdentifier(r);this.breakLoc=e;this.label=r}(0,o.inherits)(LabeledEntry,Entry);r.LabeledEntry=LabeledEntry;function LeapManager(e){a["default"].ok(this instanceof LeapManager);a["default"].ok(e instanceof n.Emitter);this.emitter=e;this.entryStack=[new FunctionEntry(e.finalLoc)]}var l=LeapManager.prototype;r.LeapManager=LeapManager;l.withEntry=function(e,r){a["default"].ok(e instanceof Entry);this.entryStack.push(e);try{r.call(this.emitter)}finally{var t=this.entryStack.pop();a["default"].strictEqual(t,e)}};l._findLeapLocation=function(e,r){for(var t=this.entryStack.length-1;t>=0;--t){var s=this.entryStack[t];var a=s[e];if(a){if(r){if(s.label&&s.label.name===r.name){return a}}else if(s instanceof LabeledEntry){}else{return a}}}return null};l.getBreakLoc=function(e){return this._findLeapLocation("breakLoc",e)};l.getContinueLoc=function(e){return this._findLeapLocation("continueLoc",e)}},4342:(e,r,t)=>{"use strict";var s=t(378);var a=s(t(9491));var n=t(8631);var o=new WeakMap;function m(e){if(!o.has(e)){o.set(e,{})}return o.get(e)}var i=Object.prototype.hasOwnProperty;function makePredicate(e,r){function onlyChildren(e){var r=(0,n.getTypes)();r.assertNode(e);var t=false;function check(e){if(t){}else if(Array.isArray(e)){e.some(check)}else if(r.isNode(e)){a["default"].strictEqual(t,false);t=predicate(e)}return t}var s=r.VISITOR_KEYS[e.type];if(s){for(var o=0;o<s.length;o++){var i=s[o];var l=e[i];check(l)}}return t}function predicate(t){(0,n.getTypes)().assertNode(t);var s=m(t);if(i.call(s,e))return s[e];if(i.call(l,t.type))return s[e]=false;if(i.call(r,t.type))return s[e]=true;return s[e]=onlyChildren(t)}predicate.onlyChildren=onlyChildren;return predicate}var l={FunctionExpression:true,ArrowFunctionExpression:true};var c={CallExpression:true,ForInStatement:true,UnaryExpression:true,BinaryExpression:true,AssignmentExpression:true,UpdateExpression:true,NewExpression:true};var d={YieldExpression:true,BreakStatement:true,ContinueStatement:true,ReturnStatement:true,ThrowStatement:true};for(var u in d){if(i.call(d,u)){c[u]=d[u]}}r.hasSideEffects=makePredicate("hasSideEffects",c);r.containsLeap=makePredicate("containsLeap",d)},7352:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=replaceShorthandObjectMethod;var s=_interopRequireWildcard(t(8631));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s["default"]=e;if(t){t.set(e,s)}return s}function replaceShorthandObjectMethod(e){var r=s.getTypes();if(!e.node||!r.isFunction(e.node)){throw new Error("replaceShorthandObjectMethod can only be called on Function AST node paths.")}if(!r.isObjectMethod(e.node)){return e}if(!e.node.generator){return e}var t=e.node.params.map((function(e){return r.cloneDeep(e)}));var a=r.functionExpression(null,t,r.cloneDeep(e.node.body),e.node.generator,e.node.async);s.replaceWithOrRemove(e,r.objectProperty(r.cloneDeep(e.node.key),a,e.node.computed,false));return e.get("value")}},8631:(e,r)=>{"use strict";r.__esModule=true;r.getTypes=getTypes;r.isReference=isReference;r.replaceWithOrRemove=replaceWithOrRemove;r.runtimeProperty=runtimeProperty;r.wrapWithTypes=wrapWithTypes;var t=null;function wrapWithTypes(e,r){return function(){var s=t;t=e;try{for(var a=arguments.length,n=new Array(a),o=0;o<a;o++){n[o]=arguments[o]}return r.apply(this,n)}finally{t=s}}}function getTypes(){return t}function runtimeProperty(e){var r=getTypes();return r.memberExpression(r.identifier("regeneratorRuntime"),r.identifier(e),false)}function isReference(e){return e.isReferenced()||e.parentPath.isAssignmentExpression({left:e.node})}function replaceWithOrRemove(e,r){if(r){e.replaceWith(r)}else{e.remove()}}},4212:(e,r,t)=>{"use strict";var s=t(378);var a=s(t(9491));var n=t(9201);var o=t(9978);var i=s(t(7352));var l=_interopRequireWildcard(t(8631));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s["default"]=e;if(t){t.set(e,s)}return s}r.getVisitor=function(e){var r=e.types;return{Method:function Method(e,t){var s=e.node;if(!shouldRegenerate(s,t))return;var a=r.functionExpression(null,[],r.cloneNode(s.body,false),s.generator,s.async);e.get("body").set("body",[r.returnStatement(r.callExpression(a,[]))]);s.async=false;s.generator=false;e.get("body.body.0.argument.callee").unwrapFunctionEnvironment()},Function:{exit:l.wrapWithTypes(r,(function(e,t){var s=e.node;if(!shouldRegenerate(s,t))return;e=(0,i["default"])(e);s=e.node;var a=e.scope.generateUidIdentifier("context");var c=e.scope.generateUidIdentifier("args");e.ensureBlock();var f=e.get("body");if(s.async){f.traverse(p)}f.traverse(u,{context:a});var y=[];var g=[];f.get("body").forEach((function(e){var t=e.node;if(r.isExpressionStatement(t)&&r.isStringLiteral(t.expression)){y.push(t)}else if(t&&t._blockHoist!=null){y.push(t)}else{g.push(t)}}));if(y.length>0){f.node.body=g}var h=getOuterFnExpr(e);r.assertIdentifier(s.id);var b=r.identifier(s.id.name+"$");var x=(0,n.hoist)(e);var v={usesThis:false,usesArguments:false,getArgsId:function getArgsId(){return r.clone(c)}};e.traverse(d,v);if(v.usesArguments){x=x||r.variableDeclaration("var",[]);x.declarations.push(r.variableDeclarator(r.clone(c),r.identifier("arguments")))}var j=new o.Emitter(a);j.explode(e.get("body"));if(x&&x.declarations.length>0){y.push(x)}var w=[j.getContextFunction(b)];var E=j.getTryLocsList();if(s.generator){w.push(h)}else if(v.usesThis||E||s.async){w.push(r.nullLiteral())}if(v.usesThis){w.push(r.thisExpression())}else if(E||s.async){w.push(r.nullLiteral())}if(E){w.push(E)}else if(s.async){w.push(r.nullLiteral())}if(s.async){var _=e.scope;do{if(_.hasOwnBinding("Promise"))_.rename("Promise")}while(_=_.parent);w.push(r.identifier("Promise"))}var S=r.callExpression(l.runtimeProperty(s.async?"async":"wrap"),w);y.push(r.returnStatement(S));s.body=r.blockStatement(y);e.get("body.body").forEach((function(e){return e.scope.registerDeclaration(e)}));var k=f.node.directives;if(k){s.body.directives=k}var C=s.generator;if(C){s.generator=false}if(s.async){s.async=false}if(C&&r.isExpression(s)){l.replaceWithOrRemove(e,r.callExpression(l.runtimeProperty("mark"),[s]));e.addComment("leading","#__PURE__")}var P=j.getInsertedLocs();e.traverse({NumericLiteral:function NumericLiteral(e){if(!P.has(e.node)){return}e.replaceWith(r.numericLiteral(e.node.value))}});e.requeue()}))}}};function shouldRegenerate(e,r){if(e.generator){if(e.async){return r.opts.asyncGenerators!==false}else{return r.opts.generators!==false}}else if(e.async){return r.opts.async!==false}else{return false}}function getOuterFnExpr(e){var r=l.getTypes();var t=e.node;r.assertFunction(t);if(!t.id){t.id=e.scope.parent.generateUidIdentifier("callee")}if(t.generator&&r.isFunctionDeclaration(t)){return getMarkedFunctionId(e)}return r.clone(t.id)}var c=new WeakMap;function getMarkInfo(e){if(!c.has(e)){c.set(e,{})}return c.get(e)}function getMarkedFunctionId(e){var r=l.getTypes();var t=e.node;r.assertIdentifier(t.id);var s=e.findParent((function(e){return e.isProgram()||e.isBlockStatement()}));if(!s){return t.id}var n=s.node;a["default"].ok(Array.isArray(n.body));var o=getMarkInfo(n);if(!o.decl){o.decl=r.variableDeclaration("var",[]);s.unshiftContainer("body",o.decl);o.declPath=s.get("body.0")}a["default"].strictEqual(o.declPath.node,o.decl);var i=s.scope.generateUidIdentifier("marked");var c=r.callExpression(l.runtimeProperty("mark"),[r.clone(t.id)]);var d=o.decl.declarations.push(r.variableDeclarator(i,c))-1;var u=o.declPath.get("declarations."+d+".init");a["default"].strictEqual(u.node,c);u.addComment("leading","#__PURE__");return r.clone(i)}var d={"FunctionExpression|FunctionDeclaration|Method":function FunctionExpressionFunctionDeclarationMethod(e){e.skip()},Identifier:function Identifier(e,r){if(e.node.name==="arguments"&&l.isReference(e)){l.replaceWithOrRemove(e,r.getArgsId());r.usesArguments=true}},ThisExpression:function ThisExpression(e,r){r.usesThis=true}};var u={MetaProperty:function MetaProperty(e){var r=e.node;if(r.meta.name==="function"&&r.property.name==="sent"){var t=l.getTypes();l.replaceWithOrRemove(e,t.memberExpression(t.clone(this.context),t.identifier("_sent")))}}};var p={Function:function Function(e){e.skip()},AwaitExpression:function AwaitExpression(e){var r=l.getTypes();var t=e.node.argument;l.replaceWithOrRemove(e,r.yieldExpression(r.callExpression(l.runtimeProperty("awrap"),[t]),false))}}},8383:(e,r,t)=>{"use strict";const s=t(1068);r.REGULAR=new Map([["d",s().addRange(48,57)],["D",s().addRange(0,47).addRange(58,65535)],["s",s(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",s().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535)],["w",s(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",s(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)]]);r.UNICODE=new Map([["d",s().addRange(48,57)],["D",s().addRange(0,47).addRange(58,1114111)],["s",s(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",s().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",s(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",s(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)]]);r.UNICODE_IGNORE_CASE=new Map([["d",s().addRange(48,57)],["D",s().addRange(0,47).addRange(58,1114111)],["s",s(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",s().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",s(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122)],["W",s(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,382).addRange(384,8489).addRange(8491,1114111)]])},7553:e=>{e.exports=new Map([[75,8490],[83,383],[107,8490],[115,383],[181,924],[197,8491],[223,7838],[229,8491],[383,83],[452,453],[453,452],[455,456],[456,455],[458,459],[459,458],[497,498],[498,497],[837,8126],[914,976],[917,1013],[920,1012],[921,8126],[922,1008],[924,181],[928,982],[929,1009],[931,962],[934,981],[937,8486],[952,1012],[962,931],[969,8486],[976,914],[977,1012],[981,934],[982,928],[1008,922],[1009,929],[1012,[920,977,952]],[1013,917],[1042,7296],[1044,7297],[1054,7298],[1057,7299],[1058,7301],[1066,7302],[1122,7303],[7296,1042],[7297,1044],[7298,1054],[7299,1057],[7300,7301],[7301,[1058,7300]],[7302,1066],[7303,1122],[7304,42570],[7776,7835],[7835,7776],[7838,223],[8064,8072],[8065,8073],[8066,8074],[8067,8075],[8068,8076],[8069,8077],[8070,8078],[8071,8079],[8072,8064],[8073,8065],[8074,8066],[8075,8067],[8076,8068],[8077,8069],[8078,8070],[8079,8071],[8080,8088],[8081,8089],[8082,8090],[8083,8091],[8084,8092],[8085,8093],[8086,8094],[8087,8095],[8088,8080],[8089,8081],[8090,8082],[8091,8083],[8092,8084],[8093,8085],[8094,8086],[8095,8087],[8096,8104],[8097,8105],[8098,8106],[8099,8107],[8100,8108],[8101,8109],[8102,8110],[8103,8111],[8104,8096],[8105,8097],[8106,8098],[8107,8099],[8108,8100],[8109,8101],[8110,8102],[8111,8103],[8115,8124],[8124,8115],[8126,[837,921]],[8131,8140],[8140,8131],[8179,8188],[8188,8179],[8486,[937,969]],[8490,75],[8491,[197,229]],[42570,7304],[66560,66600],[66561,66601],[66562,66602],[66563,66603],[66564,66604],[66565,66605],[66566,66606],[66567,66607],[66568,66608],[66569,66609],[66570,66610],[66571,66611],[66572,66612],[66573,66613],[66574,66614],[66575,66615],[66576,66616],[66577,66617],[66578,66618],[66579,66619],[66580,66620],[66581,66621],[66582,66622],[66583,66623],[66584,66624],[66585,66625],[66586,66626],[66587,66627],[66588,66628],[66589,66629],[66590,66630],[66591,66631],[66592,66632],[66593,66633],[66594,66634],[66595,66635],[66596,66636],[66597,66637],[66598,66638],[66599,66639],[66600,66560],[66601,66561],[66602,66562],[66603,66563],[66604,66564],[66605,66565],[66606,66566],[66607,66567],[66608,66568],[66609,66569],[66610,66570],[66611,66571],[66612,66572],[66613,66573],[66614,66574],[66615,66575],[66616,66576],[66617,66577],[66618,66578],[66619,66579],[66620,66580],[66621,66581],[66622,66582],[66623,66583],[66624,66584],[66625,66585],[66626,66586],[66627,66587],[66628,66588],[66629,66589],[66630,66590],[66631,66591],[66632,66592],[66633,66593],[66634,66594],[66635,66595],[66636,66596],[66637,66597],[66638,66598],[66639,66599],[66736,66776],[66737,66777],[66738,66778],[66739,66779],[66740,66780],[66741,66781],[66742,66782],[66743,66783],[66744,66784],[66745,66785],[66746,66786],[66747,66787],[66748,66788],[66749,66789],[66750,66790],[66751,66791],[66752,66792],[66753,66793],[66754,66794],[66755,66795],[66756,66796],[66757,66797],[66758,66798],[66759,66799],[66760,66800],[66761,66801],[66762,66802],[66763,66803],[66764,66804],[66765,66805],[66766,66806],[66767,66807],[66768,66808],[66769,66809],[66770,66810],[66771,66811],[66776,66736],[66777,66737],[66778,66738],[66779,66739],[66780,66740],[66781,66741],[66782,66742],[66783,66743],[66784,66744],[66785,66745],[66786,66746],[66787,66747],[66788,66748],[66789,66749],[66790,66750],[66791,66751],[66792,66752],[66793,66753],[66794,66754],[66795,66755],[66796,66756],[66797,66757],[66798,66758],[66799,66759],[66800,66760],[66801,66761],[66802,66762],[66803,66763],[66804,66764],[66805,66765],[66806,66766],[66807,66767],[66808,66768],[66809,66769],[66810,66770],[66811,66771],[66928,66967],[66929,66968],[66930,66969],[66931,66970],[66932,66971],[66933,66972],[66934,66973],[66935,66974],[66936,66975],[66937,66976],[66938,66977],[66940,66979],[66941,66980],[66942,66981],[66943,66982],[66944,66983],[66945,66984],[66946,66985],[66947,66986],[66948,66987],[66949,66988],[66950,66989],[66951,66990],[66952,66991],[66953,66992],[66954,66993],[66956,66995],[66957,66996],[66958,66997],[66959,66998],[66960,66999],[66961,67e3],[66962,67001],[66964,67003],[66965,67004],[66967,66928],[66968,66929],[66969,66930],[66970,66931],[66971,66932],[66972,66933],[66973,66934],[66974,66935],[66975,66936],[66976,66937],[66977,66938],[66979,66940],[66980,66941],[66981,66942],[66982,66943],[66983,66944],[66984,66945],[66985,66946],[66986,66947],[66987,66948],[66988,66949],[66989,66950],[66990,66951],[66991,66952],[66992,66953],[66993,66954],[66995,66956],[66996,66957],[66997,66958],[66998,66959],[66999,66960],[67e3,66961],[67001,66962],[67003,66964],[67004,66965],[68736,68800],[68737,68801],[68738,68802],[68739,68803],[68740,68804],[68741,68805],[68742,68806],[68743,68807],[68744,68808],[68745,68809],[68746,68810],[68747,68811],[68748,68812],[68749,68813],[68750,68814],[68751,68815],[68752,68816],[68753,68817],[68754,68818],[68755,68819],[68756,68820],[68757,68821],[68758,68822],[68759,68823],[68760,68824],[68761,68825],[68762,68826],[68763,68827],[68764,68828],[68765,68829],[68766,68830],[68767,68831],[68768,68832],[68769,68833],[68770,68834],[68771,68835],[68772,68836],[68773,68837],[68774,68838],[68775,68839],[68776,68840],[68777,68841],[68778,68842],[68779,68843],[68780,68844],[68781,68845],[68782,68846],[68783,68847],[68784,68848],[68785,68849],[68786,68850],[68800,68736],[68801,68737],[68802,68738],[68803,68739],[68804,68740],[68805,68741],[68806,68742],[68807,68743],[68808,68744],[68809,68745],[68810,68746],[68811,68747],[68812,68748],[68813,68749],[68814,68750],[68815,68751],[68816,68752],[68817,68753],[68818,68754],[68819,68755],[68820,68756],[68821,68757],[68822,68758],[68823,68759],[68824,68760],[68825,68761],[68826,68762],[68827,68763],[68828,68764],[68829,68765],[68830,68766],[68831,68767],[68832,68768],[68833,68769],[68834,68770],[68835,68771],[68836,68772],[68837,68773],[68838,68774],[68839,68775],[68840,68776],[68841,68777],[68842,68778],[68843,68779],[68844,68780],[68845,68781],[68846,68782],[68847,68783],[68848,68784],[68849,68785],[68850,68786],[71840,71872],[71841,71873],[71842,71874],[71843,71875],[71844,71876],[71845,71877],[71846,71878],[71847,71879],[71848,71880],[71849,71881],[71850,71882],[71851,71883],[71852,71884],[71853,71885],[71854,71886],[71855,71887],[71856,71888],[71857,71889],[71858,71890],[71859,71891],[71860,71892],[71861,71893],[71862,71894],[71863,71895],[71864,71896],[71865,71897],[71866,71898],[71867,71899],[71868,71900],[71869,71901],[71870,71902],[71871,71903],[71872,71840],[71873,71841],[71874,71842],[71875,71843],[71876,71844],[71877,71845],[71878,71846],[71879,71847],[71880,71848],[71881,71849],[71882,71850],[71883,71851],[71884,71852],[71885,71853],[71886,71854],[71887,71855],[71888,71856],[71889,71857],[71890,71858],[71891,71859],[71892,71860],[71893,71861],[71894,71862],[71895,71863],[71896,71864],[71897,71865],[71898,71866],[71899,71867],[71900,71868],[71901,71869],[71902,71870],[71903,71871],[93760,93792],[93761,93793],[93762,93794],[93763,93795],[93764,93796],[93765,93797],[93766,93798],[93767,93799],[93768,93800],[93769,93801],[93770,93802],[93771,93803],[93772,93804],[93773,93805],[93774,93806],[93775,93807],[93776,93808],[93777,93809],[93778,93810],[93779,93811],[93780,93812],[93781,93813],[93782,93814],[93783,93815],[93784,93816],[93785,93817],[93786,93818],[93787,93819],[93788,93820],[93789,93821],[93790,93822],[93791,93823],[93792,93760],[93793,93761],[93794,93762],[93795,93763],[93796,93764],[93797,93765],[93798,93766],[93799,93767],[93800,93768],[93801,93769],[93802,93770],[93803,93771],[93804,93772],[93805,93773],[93806,93774],[93807,93775],[93808,93776],[93809,93777],[93810,93778],[93811,93779],[93812,93780],[93813,93781],[93814,93782],[93815,93783],[93816,93784],[93817,93785],[93818,93786],[93819,93787],[93820,93788],[93821,93789],[93822,93790],[93823,93791],[125184,125218],[125185,125219],[125186,125220],[125187,125221],[125188,125222],[125189,125223],[125190,125224],[125191,125225],[125192,125226],[125193,125227],[125194,125228],[125195,125229],[125196,125230],[125197,125231],[125198,125232],[125199,125233],[125200,125234],[125201,125235],[125202,125236],[125203,125237],[125204,125238],[125205,125239],[125206,125240],[125207,125241],[125208,125242],[125209,125243],[125210,125244],[125211,125245],[125212,125246],[125213,125247],[125214,125248],[125215,125249],[125216,125250],[125217,125251],[125218,125184],[125219,125185],[125220,125186],[125221,125187],[125222,125188],[125223,125189],[125224,125190],[125225,125191],[125226,125192],[125227,125193],[125228,125194],[125229,125195],[125230,125196],[125231,125197],[125232,125198],[125233,125199],[125234,125200],[125235,125201],[125236,125202],[125237,125203],[125238,125204],[125239,125205],[125240,125206],[125241,125207],[125242,125208],[125243,125209],[125244,125210],[125245,125211],[125246,125212],[125247,125213],[125248,125214],[125249,125215],[125250,125216],[125251,125217]])},8498:(e,r,t)=>{"use strict";const s=t(8684).generate;const a=t(7396).parse;const n=t(1068);const o=t(1288);const i=t(1071);const l=t(7553);const c=t(8383);function flatMap(e,r){const t=[];e.forEach((e=>{const s=r(e);if(Array.isArray(s)){t.push.apply(t,s)}else{t.push(s)}}));return t}const d=/([\\^$.*+?()[\]{}|])/g;const u=n().addRange(0,1114111);const p=n().addRange(65536,1114111);const f=n().add(10,13,8232,8233);const y=u.clone().remove(f);const getCharacterClassEscapeSet=(e,r,t)=>{if(r){if(t){return c.UNICODE_IGNORE_CASE.get(e)}return c.UNICODE.get(e)}return c.REGULAR.get(e)};const getUnicodeDotSet=e=>e?u:y;const getUnicodePropertyValueSet=(e,r)=>{const t=r?`${e}/${r}`:`Binary_Property/${e}`;try{return require(`regenerate-unicode-properties/${t}.js`)}catch(t){throw new Error(`Failed to recognize value \`${r}\` for property `+`\`${e}\`.`)}};const handleLoneUnicodePropertyNameOrValue=e=>{try{const r="General_Category";const t=i(r,e);return getUnicodePropertyValueSet(r,t)}catch(e){}try{return getUnicodePropertyValueSet("Property_of_Strings",e)}catch(e){}const r=o(e);return getUnicodePropertyValueSet(r)};const getUnicodePropertyEscapeSet=(e,r)=>{const t=e.split("=");const s=t[0];let a;if(t.length==1){a=handleLoneUnicodePropertyNameOrValue(s)}else{const e=o(s);const r=i(e,t[1]);a=getUnicodePropertyValueSet(e,r)}if(r){if(a.strings){throw new Error("Cannot negate Unicode property of strings")}return{characters:u.clone().remove(a.characters),strings:new Set}}return{characters:a.characters.clone(),strings:a.strings?new Set(a.strings.map((e=>e.replace(d,"\\$1")))):new Set}};const getUnicodePropertyEscapeCharacterClassData=(e,r)=>{const t=getUnicodePropertyEscapeSet(e,r);const s=getCharacterClassEmptyData();s.singleChars=t.characters;if(t.strings.size>0){s.longStrings=t.strings;s.maybeIncludesStrings=true}return s};function configNeedCaseFoldAscii(){return!!g.modifiersData.i}function configNeedCaseFoldUnicode(){if(g.modifiersData.i===false)return false;if(!g.transform.unicodeFlag)return false;return Boolean(g.modifiersData.i||g.flags.ignoreCase)}n.prototype.iuAddRange=function(e,r){const t=this;do{const r=caseFold(e,configNeedCaseFoldAscii(),configNeedCaseFoldUnicode());if(r){t.add(r)}}while(++e<=r);return t};n.prototype.iuRemoveRange=function(e,r){const t=this;do{const r=caseFold(e,configNeedCaseFoldAscii(),configNeedCaseFoldUnicode());if(r){t.remove(r)}}while(++e<=r);return t};const update=(e,r)=>{let t=a(r,g.useUnicodeFlag?"u":"",{lookbehind:true,namedGroups:true,unicodePropertyEscape:true,unicodeSet:true,modifiers:true});switch(t.type){case"characterClass":case"group":case"value":break;default:t=wrap(t,r)}Object.assign(e,t)};const wrap=(e,r)=>({type:"group",behavior:"ignore",body:[e],raw:`(?:${r})`});const caseFold=(e,r,t)=>{let s=(t?l.get(e):undefined)||[];if(typeof s==="number")s=[s];if(r){if(e>=65&&e<=90){s.push(e+32)}else if(e>=97&&e<=122){s.push(e-32)}}return s.length==0?false:s};const buildHandler=e=>{switch(e){case"union":return{single:(e,r)=>{e.singleChars.add(r)},regSet:(e,r)=>{e.singleChars.add(r)},range:(e,r,t)=>{e.singleChars.addRange(r,t)},iuRange:(e,r,t)=>{e.singleChars.iuAddRange(r,t)},nested:(e,r)=>{e.singleChars.add(r.singleChars);for(const t of r.longStrings)e.longStrings.add(t);if(r.maybeIncludesStrings)e.maybeIncludesStrings=true}};case"union-negative":{const regSet=(e,r)=>{e.singleChars=u.clone().remove(r).add(e.singleChars)};return{single:(e,r)=>{const t=u.clone();e.singleChars=e.singleChars.contains(r)?t:t.remove(r)},regSet:regSet,range:(e,r,t)=>{e.singleChars=u.clone().removeRange(r,t).add(e.singleChars)},iuRange:(e,r,t)=>{e.singleChars=u.clone().iuRemoveRange(r,t).add(e.singleChars)},nested:(e,r)=>{regSet(e,r.singleChars);if(r.maybeIncludesStrings)throw new Error("ASSERTION ERROR")}}}case"intersection":{const regSet=(e,r)=>{if(e.first)e.singleChars=r;else e.singleChars.intersection(r)};return{single:(e,r)=>{e.singleChars=e.first||e.singleChars.contains(r)?n(r):n();e.longStrings.clear();e.maybeIncludesStrings=false},regSet:(e,r)=>{regSet(e,r);e.longStrings.clear();e.maybeIncludesStrings=false},range:(e,r,t)=>{if(e.first)e.singleChars.addRange(r,t);else e.singleChars.intersection(n().addRange(r,t));e.longStrings.clear();e.maybeIncludesStrings=false},iuRange:(e,r,t)=>{if(e.first)e.singleChars.iuAddRange(r,t);else e.singleChars.intersection(n().iuAddRange(r,t));e.longStrings.clear();e.maybeIncludesStrings=false},nested:(e,r)=>{regSet(e,r.singleChars);if(e.first){e.longStrings=r.longStrings;e.maybeIncludesStrings=r.maybeIncludesStrings}else{for(const t of e.longStrings){if(!r.longStrings.has(t))e.longStrings.delete(t)}if(!r.maybeIncludesStrings)e.maybeIncludesStrings=false}}}}case"subtraction":{const regSet=(e,r)=>{if(e.first)e.singleChars.add(r);else e.singleChars.remove(r)};return{single:(e,r)=>{if(e.first)e.singleChars.add(r);else e.singleChars.remove(r)},regSet:regSet,range:(e,r,t)=>{if(e.first)e.singleChars.addRange(r,t);else e.singleChars.removeRange(r,t)},iuRange:(e,r,t)=>{if(e.first)e.singleChars.iuAddRange(r,t);else e.singleChars.iuRemoveRange(r,t)},nested:(e,r)=>{regSet(e,r.singleChars);if(e.first){e.longStrings=r.longStrings;e.maybeIncludesStrings=r.maybeIncludesStrings}else{for(const t of e.longStrings){if(r.longStrings.has(t))e.longStrings.delete(t)}}}}}default:throw new Error(`Unknown set action: ${characterClassItem.kind}`)}};const getCharacterClassEmptyData=()=>({transformed:g.transform.unicodeFlag,singleChars:n(),longStrings:new Set,hasEmptyString:false,first:true,maybeIncludesStrings:false});const maybeFold=e=>{const r=configNeedCaseFoldAscii();const t=configNeedCaseFoldUnicode();if(r||t){const s=caseFold(e,r,t);if(s){return[e,s]}}return[e]};const computeClassStrings=(e,r)=>{let t=getCharacterClassEmptyData();const a=configNeedCaseFoldAscii();const o=configNeedCaseFoldUnicode();for(const i of e.strings){if(i.characters.length===1){maybeFold(i.characters[0].codePoint).forEach((e=>{t.singleChars.add(e)}))}else{let e;if(o||a){e="";for(const t of i.characters){let s=n(t.codePoint);const a=maybeFold(t.codePoint);if(a)s.add(a);e+=s.toString(r)}}else{e=i.characters.map((e=>s(e))).join("")}t.longStrings.add(e);t.maybeIncludesStrings=true}}return t};const computeCharacterClass=(e,r)=>{let t=getCharacterClassEmptyData();let s;let a;switch(e.kind){case"union":s=buildHandler("union");a=buildHandler("union-negative");break;case"intersection":s=buildHandler("intersection");a=buildHandler("subtraction");if(g.transform.unicodeSetsFlag)t.transformed=true;break;case"subtraction":s=buildHandler("subtraction");a=buildHandler("intersection");if(g.transform.unicodeSetsFlag)t.transformed=true;break;default:throw new Error(`Unknown character class kind: ${e.kind}`)}const n=configNeedCaseFoldAscii();const o=configNeedCaseFoldUnicode();for(const i of e.body){switch(i.type){case"value":maybeFold(i.codePoint).forEach((e=>{s.single(t,e)}));break;case"characterClassRange":const e=i.min.codePoint;const l=i.max.codePoint;s.range(t,e,l);if(n||o){s.iuRange(t,e,l);t.transformed=true}break;case"characterClassEscape":s.regSet(t,getCharacterClassEscapeSet(i.value,g.flags.unicode,g.flags.ignoreCase));break;case"unicodePropertyEscape":const c=getUnicodePropertyEscapeCharacterClassData(i.value,i.negative);s.nested(t,c);t.transformed=t.transformed||g.transform.unicodePropertyEscapes||g.transform.unicodeSetsFlag&&c.maybeIncludesStrings;break;case"characterClass":const d=i.negative?a:s;const u=computeCharacterClass(i,r);d.nested(t,u);t.transformed=true;break;case"classStrings":s.nested(t,computeClassStrings(i,r));t.transformed=true;break;default:throw new Error(`Unknown term type: ${i.type}`)}t.first=false}if(e.negative&&t.maybeIncludesStrings){throw new SyntaxError("Cannot negate set containing strings")}return t};const processCharacterClass=(e,r,t=computeCharacterClass(e,r))=>{const s=e.negative;const{singleChars:a,transformed:n,longStrings:o}=t;if(n){const t=a.toString(r);if(s){if(g.useUnicodeFlag){update(e,`[^${t[0]==="["?t.slice(1,-1):t}]`)}else{if(g.flags.unicode){if(g.flags.ignoreCase){const t=a.clone().intersection(p);const s=a.clone().remove(t).addRange(55296,57343).toString({bmpOnly:true});const n=p.clone().remove(t).toString(r);update(e,`(?!${s})[\\s\\S]|${n}`)}else{update(e,u.clone().remove(a).toString(r))}}else{update(e,`(?!${t})[\\s\\S]`)}}}else{const r=o.has("");const s=Array.from(o).sort(((e,r)=>r.length-e.length));if(t!=="[]"||o.size===0){s.splice(s.length-(r?1:0),0,t)}update(e,s.join("|"))}}return e};const assertNoUnmatchedReferences=e=>{const r=Object.keys(e.unmatchedReferences);if(r.length>0){throw new Error(`Unknown group names: ${r}`)}};const processModifiers=(e,r,t)=>{const s=e.modifierFlags.enabling;const a=e.modifierFlags.disabling;delete e.modifierFlags;e.behavior="ignore";const n=Object.assign({},g.modifiersData);s.split("").forEach((e=>{g.modifiersData[e]=true}));a.split("").forEach((e=>{g.modifiersData[e]=false}));e.body=e.body.map((e=>processTerm(e,r,t)));g.modifiersData=n;return e};const processTerm=(e,r,t)=>{switch(e.type){case"dot":if(g.transform.unicodeFlag){update(e,getUnicodeDotSet(g.flags.dotAll||g.modifiersData.s).toString(r))}else if(g.transform.dotAllFlag||g.modifiersData.s){update(e,"[\\s\\S]")}break;case"characterClass":e=processCharacterClass(e,r);break;case"unicodePropertyEscape":const s=getUnicodePropertyEscapeCharacterClassData(e.value,e.negative);if(s.maybeIncludesStrings){if(!g.flags.unicodeSets){throw new Error("Properties of strings are only supported when using the unicodeSets (v) flag.")}if(g.transform.unicodeSetsFlag){s.transformed=true;e=processCharacterClass(e,r,s)}}else if(g.transform.unicodePropertyEscapes){update(e,s.singleChars.toString(r))}break;case"characterClassEscape":if(g.transform.unicodeFlag){update(e,getCharacterClassEscapeSet(e.value,true,g.flags.ignoreCase).toString(r))}break;case"group":if(e.behavior=="normal"){t.lastIndex++}if(e.name){const r=e.name.value;if(t.namesConflicts[r]){throw new Error(`Group '${r}' has already been defined in this context.`)}t.namesConflicts[r]=true;if(g.transform.namedGroups){delete e.name}const s=t.lastIndex;if(!t.names[r]){t.names[r]=[]}t.names[r].push(s);if(t.onNamedGroup){t.onNamedGroup.call(null,r,s)}if(t.unmatchedReferences[r]){delete t.unmatchedReferences[r]}}if(e.modifierFlags&&g.transform.modifiers){return processModifiers(e,r,t)}case"quantifier":e.body=e.body.map((e=>processTerm(e,r,t)));break;case"disjunction":const a=t.namesConflicts;e.body=e.body.map((e=>{t.namesConflicts=Object.create(a);return processTerm(e,r,t)}));break;case"alternative":e.body=flatMap(e.body,(e=>{const s=processTerm(e,r,t);return s.type==="alternative"?s.body:s}));break;case"value":const o=e.codePoint;const i=n(o);const l=maybeFold(o);i.add(l);update(e,i.toString(r));break;case"reference":if(e.name){const r=e.name.value;const s=t.names[r];if(!s){t.unmatchedReferences[r]=true}if(g.transform.namedGroups){if(s){const e=s.map((e=>({type:"reference",matchIndex:e,raw:"\\"+e})));if(e.length===1){return e[0]}return{type:"alternative",body:e,raw:e.map((e=>e.raw)).join("")}}return{type:"group",behavior:"ignore",body:[],raw:"(?:)"}}}break;case"anchor":if(g.modifiersData.m){if(e.kind=="start"){update(e,`(?:^|(?<=${f.toString()}))`)}else if(e.kind=="end"){update(e,`(?:$|(?=${f.toString()}))`)}}case"empty":break;default:throw new Error(`Unknown term type: ${e.type}`)}return e};const g={flags:{ignoreCase:false,unicode:false,unicodeSets:false,dotAll:false,multiline:false},transform:{dotAllFlag:false,unicodeFlag:false,unicodeSetsFlag:false,unicodePropertyEscapes:false,namedGroups:false,modifiers:false},modifiersData:{i:undefined,s:undefined,m:undefined},get useUnicodeFlag(){return(this.flags.unicode||this.flags.unicodeSets)&&!this.transform.unicodeFlag}};const validateOptions=e=>{if(!e)return;for(const r of Object.keys(e)){const t=e[r];switch(r){case"dotAllFlag":case"unicodeFlag":case"unicodePropertyEscapes":case"namedGroups":if(t!=null&&t!==false&&t!=="transform"){throw new Error(`.${r} must be false (default) or 'transform'.`)}break;case"modifiers":case"unicodeSetsFlag":if(t!=null&&t!==false&&t!=="parse"&&t!=="transform"){throw new Error(`.${r} must be false (default), 'parse' or 'transform'.`)}break;case"onNamedGroup":case"onNewFlags":if(t!=null&&typeof t!=="function"){throw new Error(`.${r} must be a function.`)}break;default:throw new Error(`.${r} is not a valid regexpu-core option.`)}}};const hasFlag=(e,r)=>e?e.includes(r):false;const transform=(e,r)=>e?e[r]==="transform":false;const rewritePattern=(e,r,t)=>{validateOptions(t);g.flags.unicode=hasFlag(r,"u");g.flags.unicodeSets=hasFlag(r,"v");g.flags.ignoreCase=hasFlag(r,"i");g.flags.dotAll=hasFlag(r,"s");g.flags.multiline=hasFlag(r,"m");g.transform.dotAllFlag=g.flags.dotAll&&transform(t,"dotAllFlag");g.transform.unicodeFlag=(g.flags.unicode||g.flags.unicodeSets)&&transform(t,"unicodeFlag");g.transform.unicodeSetsFlag=g.flags.unicodeSets&&transform(t,"unicodeSetsFlag");g.transform.unicodePropertyEscapes=g.flags.unicode&&(transform(t,"unicodeFlag")||transform(t,"unicodePropertyEscapes"));g.transform.namedGroups=transform(t,"namedGroups");g.transform.modifiers=transform(t,"modifiers");g.modifiersData.i=undefined;g.modifiersData.s=undefined;g.modifiersData.m=undefined;const n={unicodeSet:Boolean(t&&t.unicodeSetsFlag),modifiers:Boolean(t&&t.modifiers),unicodePropertyEscape:true,namedGroups:true,lookbehind:true};const o={hasUnicodeFlag:g.useUnicodeFlag,bmpOnly:!g.flags.unicode};const i={onNamedGroup:t&&t.onNamedGroup,lastIndex:0,names:Object.create(null),namesConflicts:Object.create(null),unmatchedReferences:Object.create(null)};const l=a(e,r,n);if(g.transform.modifiers){if(/\(\?[a-z]*-[a-z]+:/.test(e)){const e=Object.create(null);const r=[l];let t;while(t=r.pop(),t!=undefined){if(Array.isArray(t)){Array.prototype.push.apply(r,t)}else if(typeof t=="object"&&t!=null){for(const s of Object.keys(t)){const a=t[s];if(s=="modifierFlags"){if(a.disabling.length>0){a.disabling.split("").forEach((r=>{e[r]=true}))}}else if(typeof a=="object"&&a!=null){r.push(a)}}}}for(const r of Object.keys(e)){g.modifiersData[r]=true}}}processTerm(l,o,i);assertNoUnmatchedReferences(i);const c=t&&t.onNewFlags;if(c){let e=r.split("").filter((e=>!g.modifiersData[e])).join("");if(g.transform.unicodeSetsFlag){e=e.replace("v","u")}if(g.transform.unicodeFlag){e=e.replace("u","")}if(g.transform.dotAllFlag==="transform"){e=e.replace("s","")}c(e)}return s(l)};e.exports=rewritePattern},7396:e=>{"use strict";(function(){var r=String.fromCodePoint||function(){var e=String.fromCharCode;var r=Math.floor;return function fromCodePoint(){var t=16384;var s=[];var a;var n;var o=-1;var i=arguments.length;if(!i){return""}var l="";while(++o<i){var c=Number(arguments[o]);if(!isFinite(c)||c<0||c>1114111||r(c)!=c){throw RangeError("Invalid code point: "+c)}if(c<=65535){s.push(c)}else{c-=65536;a=(c>>10)+55296;n=c%1024+56320;s.push(a,n)}if(o+1==i||s.length>t){l+=e.apply(null,s);s.length=0}}return l}}();function parse(e,t,s){if(!s){s={}}function addRaw(r){r.raw=e.substring(r.range[0],r.range[1]);return r}function updateRawStart(e,r){e.range[0]=r;return addRaw(e)}function createAnchor(e,r){return addRaw({type:"anchor",kind:e,range:[u-r,u]})}function createValue(e,r,t,s){return addRaw({type:"value",kind:e,codePoint:r,range:[t,s]})}function createEscaped(e,r,t,s){s=s||0;return createValue(e,r,u-(t.length+s),u)}function createCharacter(e){var r=e[0];var t=r.charCodeAt(0);if(d){var s;if(r.length===1&&t>=55296&&t<=56319){s=lookahead().charCodeAt(0);if(s>=56320&&s<=57343){u++;return createValue("symbol",(t-55296)*1024+s-56320+65536,u-2,u)}}}return createValue("symbol",t,u-1,u)}function createDisjunction(e,r,t){return addRaw({type:"disjunction",body:e,range:[r,t]})}function createDot(){return addRaw({type:"dot",range:[u-1,u]})}function createCharacterClassEscape(e){return addRaw({type:"characterClassEscape",value:e,range:[u-2,u]})}function createReference(e){return addRaw({type:"reference",matchIndex:parseInt(e,10),range:[u-1-e.length,u]})}function createNamedReference(e){return addRaw({type:"reference",name:e,range:[e.range[0]-3,u]})}function createGroup(e,r,t,s){return addRaw({type:"group",behavior:e,body:r,range:[t,s]})}function createQuantifier(e,r,t,s,a){if(s==null){t=u-1;s=u}return addRaw({type:"quantifier",min:e,max:r,greedy:true,body:null,symbol:a,range:[t,s]})}function createAlternative(e,r,t){return addRaw({type:"alternative",body:e,range:[r,t]})}function createCharacterClass(e,r,t,s){return addRaw({type:"characterClass",kind:e.kind,body:e.body,negative:r,range:[t,s]})}function createClassRange(e,r,t,s){if(e.codePoint>r.codePoint){bail("invalid range in character class",e.raw+"-"+r.raw,t,s)}return addRaw({type:"characterClassRange",min:e,max:r,range:[t,s]})}function createClassStrings(e,r,t){return addRaw({type:"classStrings",strings:e,range:[r,t]})}function createClassString(e,r,t){return addRaw({type:"classString",characters:e,range:[r,t]})}function flattenBody(e){if(e.type==="alternative"){return e.body}else{return[e]}}function incr(r){r=r||1;var t=e.substring(u,u+r);u+=r||1;return t}function skip(e){if(!match(e)){bail("character",e)}}function match(r){if(e.indexOf(r,u)===u){return incr(r.length)}}function lookahead(){return e[u]}function current(r){return e.indexOf(r,u)===u}function next(r){return e[u+1]===r}function matchReg(r){var t=e.substring(u);var s=t.match(r);if(s){s.range=[];s.range[0]=u;incr(s[0].length);s.range[1]=u}return s}function parseDisjunction(){var e=[],r=u;e.push(parseAlternative());while(match("|")){e.push(parseAlternative())}if(e.length===1){return e[0]}return createDisjunction(e,r,u)}function parseAlternative(){var e=[],r=u;var t;while(t=parseTerm()){e.push(t)}if(e.length===1){return e[0]}return createAlternative(e,r,u)}function parseTerm(){if(u>=e.length||current("|")||current(")")){return null}var r=parseAnchor();if(r){return r}var t=parseAtomAndExtendedAtom();var s;if(!t){var a=u;s=parseQuantifier()||false;if(s){u=a;bail("Expected atom")}var n;if(!d&&(n=matchReg(/^{/))){t=createCharacter(n)}else{bail("Expected atom")}}s=parseQuantifier()||false;if(s){s.body=flattenBody(t);updateRawStart(s,t.range[0]);return s}return t}function parseGroup(e,r,t,s){var a=null,n=u;if(match(e)){a=r}else if(match(t)){a=s}else{return false}return finishGroup(a,n)}function finishGroup(e,r){var t=parseDisjunction();if(!t){bail("Expected disjunction")}skip(")");var s=createGroup(e,flattenBody(t),r,u);if(e=="normal"){if(o){n++}}return s}function parseAnchor(){if(match("^")){return createAnchor("start",1)}else if(match("$")){return createAnchor("end",1)}else if(match("\\b")){return createAnchor("boundary",2)}else if(match("\\B")){return createAnchor("not-boundary",2)}else{return parseGroup("(?=","lookahead","(?!","negativeLookahead")}}function parseQuantifier(){var e,r=u;var t;var s,a;if(match("*")){t=createQuantifier(0,undefined,undefined,undefined,"*")}else if(match("+")){t=createQuantifier(1,undefined,undefined,undefined,"+")}else if(match("?")){t=createQuantifier(0,1,undefined,undefined,"?")}else if(e=matchReg(/^\{([0-9]+)\}/)){s=parseInt(e[1],10);t=createQuantifier(s,s,e.range[0],e.range[1])}else if(e=matchReg(/^\{([0-9]+),\}/)){s=parseInt(e[1],10);t=createQuantifier(s,undefined,e.range[0],e.range[1])}else if(e=matchReg(/^\{([0-9]+),([0-9]+)\}/)){s=parseInt(e[1],10);a=parseInt(e[2],10);if(s>a){bail("numbers out of order in {} quantifier","",r,u)}t=createQuantifier(s,a,e.range[0],e.range[1])}if(s&&!Number.isSafeInteger(s)||a&&!Number.isSafeInteger(a)){bail("iterations outside JS safe integer range in quantifier","",r,u)}if(t){if(match("?")){t.greedy=false;t.range[1]+=1}}return t}function parseAtomAndExtendedAtom(){var r;if(r=matchReg(/^[^^$\\.*+?()[\]{}|]/)){return createCharacter(r)}else if(!d&&(r=matchReg(/^(?:]|})/))){return createCharacter(r)}else if(match(".")){return createDot()}else if(match("\\")){r=parseAtomEscape();if(!r){if(!d&&lookahead()=="c"){return createValue("symbol",92,u-1,u)}bail("atomEscape")}return r}else if(r=parseCharacterClass()){return r}else if(s.lookbehind&&(r=parseGroup("(?<=","lookbehind","(?<!","negativeLookbehind"))){return r}else if(s.namedGroups&&match("(?<")){var t=parseIdentifier();skip(">");var a=finishGroup("normal",t.range[0]-3);a.name=t;return a}else if(s.modifiers&&e.indexOf("(?")==u&&e[u+2]!=":"){return parseModifiersGroup()}else{return parseGroup("(?:","ignore","(","normal")}}function parseModifiersGroup(){function hasDupChar(e){var r=0;while(r<e.length){if(e.indexOf(e[r],r+1)!=-1){return true}r++}return false}var e=u;incr(2);var r=matchReg(/^[sim]+/);var t;if(match("-")){t=matchReg(/^[sim]+/);if(!t){bail("Invalid flags for modifiers group")}}else if(!r){bail("Invalid flags for modifiers group")}r=r?r[0]:"";t=t?t[0]:"";var s=r+t;if(s.length>3||hasDupChar(s)){bail("flags cannot be duplicated for modifiers group")}skip(":");var a=finishGroup("ignore",e);a.modifierFlags={enabling:r,disabling:t};return a}function parseUnicodeSurrogatePairEscape(e){if(d){var r,t;if(e.kind=="unicodeEscape"&&(r=e.codePoint)>=55296&&r<=56319&¤t("\\")&&next("u")){var s=u;u++;var a=parseClassEscape();if(a.kind=="unicodeEscape"&&(t=a.codePoint)>=56320&&t<=57343){e.range[1]=a.range[1];e.codePoint=(r-55296)*1024+t-56320+65536;e.type="value";e.kind="unicodeCodePointEscape";addRaw(e)}else{u=s}}}return e}function parseClassEscape(){return parseAtomEscape(true)}function parseAtomEscape(e){var r,t=u;r=parseDecimalEscape(e)||parseNamedReference();if(r){return r}if(e){if(match("b")){return createEscaped("singleEscape",8,"\\b")}else if(match("B")){bail("\\B not possible inside of CharacterClass","",t)}else if(!d&&(r=matchReg(/^c([0-9])/))){return createEscaped("controlLetter",r[1]+16,r[1],2)}else if(!d&&(r=matchReg(/^c_/))){return createEscaped("controlLetter",31,"_",2)}if(d&&match("-")){return createEscaped("singleEscape",45,"\\-")}}r=parseCharacterClassEscape()||parseCharacterEscape();return r}function parseDecimalEscape(e){var r,t,s=u;if(r=matchReg(/^(?!0)\d+/)){t=r[0];var l=parseInt(r[0],10);if(l<=n&&!e){return createReference(r[0])}else{a.push(l);if(o){i=true}else{bailOctalEscapeIfUnicode(s,u)}incr(-r[0].length);if(r=matchReg(/^[0-7]{1,3}/)){return createEscaped("octal",parseInt(r[0],8),r[0],1)}else{r=createCharacter(matchReg(/^[89]/));return updateRawStart(r,r.range[0]-1)}}}else if(r=matchReg(/^[0-7]{1,3}/)){t=r[0];if(t!=="0"){bailOctalEscapeIfUnicode(s,u)}if(/^0{1,3}$/.test(t)){return createEscaped("null",0,"0",t.length)}else{return createEscaped("octal",parseInt(t,8),t,1)}}return false}function bailOctalEscapeIfUnicode(e,r){if(d){bail("Invalid decimal escape in unicode mode",null,e,r)}}function parseCharacterClassEscape(){var e;if(e=matchReg(/^[dDsSwW]/)){return createCharacterClassEscape(e[0])}else if(s.unicodePropertyEscape&&d&&(e=matchReg(/^([pP])\{([^\}]+)\}/))){return addRaw({type:"unicodePropertyEscape",negative:e[1]==="P",value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]})}else if(s.unicodeSet&&c&&match("q{")){return parseClassStrings()}return false}function parseNamedReference(){if(s.namedGroups&&matchReg(/^k<(?=.*?>)/)){var e=parseIdentifier();skip(">");return createNamedReference(e)}}function parseRegExpUnicodeEscapeSequence(){var e;if(e=matchReg(/^u([0-9a-fA-F]{4})/)){return parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2))}else if(d&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))){return createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4)}}function parseCharacterEscape(){var e;var r=u;if(e=matchReg(/^[fnrtv]/)){var t=0;switch(e[0]){case"t":t=9;break;case"n":t=10;break;case"v":t=11;break;case"f":t=12;break;case"r":t=13;break}return createEscaped("singleEscape",t,"\\"+e[0])}else if(e=matchReg(/^c([a-zA-Z])/)){return createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2)}else if(e=matchReg(/^x([0-9a-fA-F]{2})/)){return createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2)}else if(e=parseRegExpUnicodeEscapeSequence()){if(!e||e.codePoint>1114111){bail("Invalid escape sequence",null,r,u)}return e}else{return parseIdentityEscape()}}function parseIdentifierAtom(t){var s=lookahead();var a=u;if(s==="\\"){incr();var n=parseRegExpUnicodeEscapeSequence();if(!n||!t(n.codePoint)){bail("Invalid escape sequence",null,a,u)}return r(n.codePoint)}var o=s.charCodeAt(0);if(o>=55296&&o<=56319){s+=e[u+1];var i=s.charCodeAt(1);if(i>=56320&&i<=57343){o=(o-55296)*1024+i-56320+65536}}if(!t(o))return;incr();if(o>65535)incr();return s}function parseIdentifier(){var e=u;var r=parseIdentifierAtom(isIdentifierStart);if(!r){bail("Invalid identifier")}var t;while(t=parseIdentifierAtom(isIdentifierPart)){r+=t}return addRaw({type:"identifier",value:r,range:[e,u]})}function isIdentifierStart(e){var t=/[\$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\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\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-\u1878\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\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\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-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\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-\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-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDF00-\uDF1C\uDF27\uDF30-\uDF45]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\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-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2]|\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[\uDE40-\uDE7F\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\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]/;return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=128&&t.test(r(e))}function isIdentifierPart(e){var t=/[0-9_\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\u08D3-\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\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\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\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\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-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\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\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\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\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]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDD30-\uDD39\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC66-\uDC6F\uDC7F-\uDC82\uDCB0-\uDCBA\uDCF0-\uDCF9\uDD00-\uDD02\uDD27-\uDD34\uDD36-\uDD3F\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDD0-\uDDD9\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC50-\uDC59\uDC5E\uDCB0-\uDCC3\uDCD0-\uDCD9\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDE50-\uDE59\uDEAB-\uDEB7\uDEC0-\uDEC9\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC2C-\uDC3A\uDCE0-\uDCE9\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC50-\uDC59\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD50-\uDD59\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDDA0-\uDDA9\uDEF3-\uDEF6]|\uD81A[\uDE60-\uDE69\uDEF0-\uDEF4\uDF30-\uDF36\uDF50-\uDF59]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\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[\uDCD0-\uDCD6\uDD44-\uDD4A\uDD50-\uDD59]|\uDB40[\uDD00-\uDDEF]/;return isIdentifierStart(e)||e>=48&&e<=57||e>=128&&t.test(r(e))}function parseIdentityEscape(){var e;var r=lookahead();if(d&&/[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/.test(r)||!d&&r!=="c"){if(r==="k"&&s.lookbehind){return null}e=incr();return createEscaped("identifier",e.charCodeAt(0),e,1)}return null}function parseCharacterClass(){var e,r=u;if(e=matchReg(/^\[\^/)){e=parseClassRanges();skip("]");return createCharacterClass(e,true,r,u)}else if(match("[")){e=parseClassRanges();skip("]");return createCharacterClass(e,false,r,u)}return null}function parseClassRanges(){var e;if(current("]")){return{kind:"union",body:[]}}else if(c){return parseClassContents()}else{e=parseNonemptyClassRanges();if(!e){bail("nonEmptyClassRanges")}return{kind:"union",body:e}}}function parseHelperClassRanges(e){var r,t,s,a,n;if(current("-")&&!next("]")){r=e.range[0];n=createCharacter(match("-"));a=parseClassAtom();if(!a){bail("classAtom")}t=u;var o=parseClassRanges();if(!o){bail("classRanges")}if(!("codePoint"in e)||!("codePoint"in a)){if(!d){s=[e,n,a]}else{bail("invalid character class")}}else{s=[createClassRange(e,a,r,t)]}if(o.type==="empty"){return s}return s.concat(o.body)}s=parseNonemptyClassRangesNoDash();if(!s){bail("nonEmptyClassRangesNoDash")}return[e].concat(s)}function parseNonemptyClassRanges(){var e=parseClassAtom();if(!e){bail("classAtom")}if(current("]")){return[e]}return parseHelperClassRanges(e)}function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();if(!e){bail("classAtom")}if(current("]")){return e}return parseHelperClassRanges(e)}function parseClassAtom(){if(match("-")){return createCharacter("-")}else{return parseClassAtomNoDash()}}function parseClassAtomNoDash(){var e;if(e=matchReg(/^[^\\\]-]/)){return createCharacter(e[0])}else if(match("\\")){e=parseClassEscape();if(!e){bail("classEscape")}return parseUnicodeSurrogatePairEscape(e)}}function parseClassContents(){var e=[];var r;var t=parseClassOperand(true);e.push(t);if(t.type==="classRange"){r="union"}else if(current("&")){r="intersection"}else if(current("-")){r="subtraction"}else{r="union"}while(!current("]")){if(r==="intersection"){skip("&");skip("&");if(current("&")){bail("&& cannot be followed by &. Wrap it in brackets: &&[&].")}}else if(r==="subtraction"){skip("-");skip("-")}t=parseClassOperand(r==="union");e.push(t)}return{kind:r,body:e}}function parseClassOperand(e){var r=u;var t,s;if(match("\\")){if(s=parseClassEscape()){t=s}else if(s=parseClassCharacterEscapedHelper()){return s}else{bail("Invalid escape","\\"+lookahead(),r)}}else if(s=parseClassCharacterUnescapedHelper()){t=s}else if(s=parseCharacterClass()){return s}else{bail("Invalid character",lookahead())}if(e&¤t("-")&&!next("-")){skip("-");if(s=parseClassCharacter()){return createClassRange(t,s,r,u)}bail("Invalid range end",lookahead())}return t}function parseClassCharacter(){if(match("\\")){var e,r=u;if(e=parseClassCharacterEscapedHelper()){return e}else{bail("Invalid escape","\\"+lookahead(),r)}}return parseClassCharacterUnescapedHelper()}function parseClassCharacterUnescapedHelper(){var e;if(e=matchReg(/^[^()[\]{}/\-\\|]/)){return createCharacter(e)}}function parseClassCharacterEscapedHelper(){var e;if(match("b")){return createEscaped("singleEscape",8,"\\b")}else if(match("B")){bail("\\B not possible inside of ClassContents","",u-2)}else if(e=matchReg(/^[&\-!#%,:;<=>@_`~]/)){return createEscaped("identifier",e[0].codePointAt(0),e[0])}else if(e=parseCharacterEscape()){return e}else{return null}}function parseClassStrings(){var e=u-3;var r=[];do{r.push(parseClassString())}while(match("|"));skip("}");return createClassStrings(r,e,u)}function parseClassString(){var e=[],r=u;var t;while(t=parseClassCharacter()){e.push(t)}return createClassString(e,r,u)}function bail(r,t,s,a){s=s==null?u:s;a=a==null?s:a;var n=Math.max(0,s-10);var o=Math.min(a+10,e.length);var i=" "+e.substring(n,o);var l=" "+new Array(s-n+1).join(" ")+"^";throw SyntaxError(r+" at position "+s+(t?": "+t:"")+"\n"+i+"\n"+l)}var a=[];var n=0;var o=true;var i=false;var l=(t||"").indexOf("u")!==-1;var c=(t||"").indexOf("v")!==-1;var d=l||c;var u=0;if(c&&!s.unicodeSet){throw new Error('The "v" flag is only supported when the .unicodeSet option is enabled.')}if(l&&c){throw new Error('The "u" and "v" flags are mutually exclusive.')}e=String(e);if(e===""){e="(?:)"}var p=parseDisjunction();if(p.range[1]!==e.length){bail("Could not parse entire input - got stuck","",p.range[1])}i=i||a.some((function(e){return e<=n}));if(i){u=0;o=false;return parseDisjunction()}return p}var t={parse:parse};if(true&&e.exports){e.exports=t}else{window.regjsparser=t}})()},5066:(e,r,t)=>{var s=t(9873);s.core=t(6938);s.isCore=t(3564);s.sync=t(9152);e.exports=s},9873:(e,r,t)=>{var s=t(7147);var a=t(385);var n=t(1017);var o=t(4515);var i=t(1538);var l=t(5413);var c=t(2794);var d=process.platform!=="win32"&&s.realpath&&typeof s.realpath.native==="function"?s.realpath.native:s.realpath;var u=a();var defaultPaths=function(){return[n.join(u,".node_modules"),n.join(u,".node_libraries")]};var p=function isFile(e,r){s.stat(e,(function(e,t){if(!e){return r(null,t.isFile()||t.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return r(null,false);return r(e)}))};var f=function isDirectory(e,r){s.stat(e,(function(e,t){if(!e){return r(null,t.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return r(null,false);return r(e)}))};var y=function realpath(e,r){d(e,(function(t,s){if(t&&t.code!=="ENOENT")r(t);else r(null,t?e:s)}))};var g=function maybeRealpath(e,r,t,s){if(t&&t.preserveSymlinks===false){e(r,s)}else{s(null,r)}};var h=function defaultReadPackage(e,r,t){e(r,(function(e,r){if(e)t(e);else{try{var s=JSON.parse(r);t(null,s)}catch(e){t(null)}}}))};var b=function getPackageCandidates(e,r,t){var s=i(r,t,e);for(var a=0;a<s.length;a++){s[a]=n.join(s[a],e)}return s};e.exports=function resolve(e,r,t){var a=t;var i=r;if(typeof r==="function"){a=i;i={}}if(typeof e!=="string"){var d=new TypeError("Path must be a string.");return process.nextTick((function(){a(d)}))}i=l(e,i);var u=i.isFile||p;var x=i.isDirectory||f;var v=i.readFile||s.readFile;var j=i.realpath||y;var w=i.readPackage||h;if(i.readFile&&i.readPackage){var E=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){a(E)}))}var _=i.packageIterator;var S=i.extensions||[".js"];var k=i.includeCoreModules!==false;var C=i.basedir||n.dirname(o());var P=i.filename||C;i.paths=i.paths||defaultPaths();var D=n.resolve(C);g(j,D,i,(function(e,r){if(e)a(e);else init(r)}));var I;function init(r){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){I=n.resolve(r,e);if(e==="."||e===".."||e.slice(-1)==="/")I+="/";if(/\/$/.test(e)&&I===r){loadAsDirectory(I,i.package,onfile)}else loadAsFile(I,i.package,onfile)}else if(k&&c(e)){return a(null,e)}else loadNodeModules(e,r,(function(r,t,s){if(r)a(r);else if(t){return g(j,t,i,(function(e,r){if(e){a(e)}else{a(null,r,s)}}))}else{var n=new Error("Cannot find module '"+e+"' from '"+P+"'");n.code="MODULE_NOT_FOUND";a(n)}}))}function onfile(r,t,s){if(r)a(r);else if(t)a(null,t,s);else loadAsDirectory(I,(function(r,t,s){if(r)a(r);else if(t){g(j,t,i,(function(e,r){if(e){a(e)}else{a(null,r,s)}}))}else{var n=new Error("Cannot find module '"+e+"' from '"+P+"'");n.code="MODULE_NOT_FOUND";a(n)}}))}function loadAsFile(e,r,t){var s=r;var a=t;if(typeof s==="function"){a=s;s=undefined}var o=[""].concat(S);load(o,e,s);function load(e,r,t){if(e.length===0)return a(null,undefined,t);var s=r+e[0];var o=t;if(o)onpkg(null,o);else loadpkg(n.dirname(s),onpkg);function onpkg(t,l,c){o=l;if(t)return a(t);if(c&&o&&i.pathFilter){var d=n.relative(c,s);var p=d.slice(0,d.length-e[0].length);var f=i.pathFilter(o,r,p);if(f)return load([""].concat(S.slice()),n.resolve(c,f),o)}u(s,onex)}function onex(t,n){if(t)return a(t);if(n)return a(null,s,o);load(e.slice(1),r,o)}}}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);g(j,e,i,(function(t,s){if(t)return loadpkg(n.dirname(e),r);var a=n.join(s,"package.json");u(a,(function(t,s){if(!s)return loadpkg(n.dirname(e),r);w(v,a,(function(t,s){if(t)r(t);var n=s;if(n&&i.packageFilter){n=i.packageFilter(n,a)}r(null,n,e)}))}))}))}function loadAsDirectory(e,r,t){var s=t;var a=r;if(typeof a==="function"){s=a;a=i.package}g(j,e,i,(function(r,t){if(r)return s(r);var o=n.join(t,"package.json");u(o,(function(r,t){if(r)return s(r);if(!t)return loadAsFile(n.join(e,"index"),a,s);w(v,o,(function(r,t){if(r)return s(r);var a=t;if(a&&i.packageFilter){a=i.packageFilter(a,o)}if(a&&a.main){if(typeof a.main!=="string"){var l=new TypeError("package “"+a.name+"” `main` must be a string");l.code="INVALID_PACKAGE_MAIN";return s(l)}if(a.main==="."||a.main==="./"){a.main="index"}loadAsFile(n.resolve(e,a.main),a,(function(r,t,a){if(r)return s(r);if(t)return s(null,t,a);if(!a)return loadAsFile(n.join(e,"index"),a,s);var o=n.resolve(e,a.main);loadAsDirectory(o,a,(function(r,t,a){if(r)return s(r);if(t)return s(null,t,a);loadAsFile(n.join(e,"index"),a,s)}))}));return}loadAsFile(n.join(e,"/index"),a,s)}))}))}))}function processDirs(e,r){if(r.length===0)return e(null,undefined);var t=r[0];x(n.dirname(t),isdir);function isdir(s,a){if(s)return e(s);if(!a)return processDirs(e,r.slice(1));loadAsFile(t,i.package,onfile)}function onfile(r,s,a){if(r)return e(r);if(s)return e(null,s,a);loadAsDirectory(t,i.package,ondir)}function ondir(t,s,a){if(t)return e(t);if(s)return e(null,s,a);processDirs(e,r.slice(1))}}function loadNodeModules(e,r,t){var thunk=function(){return b(e,r,i)};processDirs(t,_?_(e,r,thunk,i):thunk())}}},4515: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()}},6938:(e,r,t)=>{"use strict";var s=t(2794);var a=t(2950);var n={};for(var o in a){if(Object.prototype.hasOwnProperty.call(a,o)){n[o]=s(o)}}e.exports=n},385:(e,r,t)=>{"use strict";var s=t(2037);e.exports=s.homedir||function homedir(){var e=process.env.HOME;var r=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;if(process.platform==="win32"){return process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||e||null}if(process.platform==="darwin"){return e||(r?"/Users/"+r:null)}if(process.platform==="linux"){return e||(process.getuid()===0?"/root":r?"/home/"+r:null)}return e||null}},3564:(e,r,t)=>{var s=t(2794);e.exports=function isCore(e){return s(e)}},1538:(e,r,t)=>{var s=t(1017);var a=s.parse||t(1894);var n=function getNodeModulesDirs(e,r){var t="/";if(/^([A-Za-z]:)/.test(e)){t=""}else if(/^\\\\/.test(e)){t="\\\\"}var n=[e];var o=a(e);while(o.dir!==n[n.length-1]){n.push(o.dir);o=a(o.dir)}return n.reduce((function(e,a){return e.concat(r.map((function(e){return s.resolve(t,a,e)})))}),[])};e.exports=function nodeModulesPaths(e,r,t){var s=r&&r.moduleDirectory?[].concat(r.moduleDirectory):["node_modules"];if(r&&typeof r.paths==="function"){return r.paths(t,e,(function(){return n(e,s)}),r)}var a=n(e,s);return r&&r.paths?a.concat(r.paths):a}},5413:e=>{e.exports=function(e,r){return r||{}}},9152:(e,r,t)=>{var s=t(2794);var a=t(7147);var n=t(1017);var o=t(385);var i=t(4515);var l=t(1538);var c=t(5413);var d=process.platform!=="win32"&&a.realpathSync&&typeof a.realpathSync.native==="function"?a.realpathSync.native:a.realpathSync;var u=o();var defaultPaths=function(){return[n.join(u,".node_modules"),n.join(u,".node_libraries")]};var p=function isFile(e){try{var r=a.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!r&&(r.isFile()||r.isFIFO())};var f=function isDirectory(e){try{var r=a.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!r&&r.isDirectory()};var y=function realpathSync(e){try{return d(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var g=function maybeRealpathSync(e,r,t){if(t&&t.preserveSymlinks===false){return e(r)}return r};var h=function defaultReadPackageSync(e,r){var t=e(r);try{var s=JSON.parse(t);return s}catch(e){}};var b=function getPackageCandidates(e,r,t){var s=l(r,t,e);for(var a=0;a<s.length;a++){s[a]=n.join(s[a],e)}return s};e.exports=function resolveSync(e,r){if(typeof e!=="string"){throw new TypeError("Path must be a string.")}var t=c(e,r);var o=t.isFile||p;var l=t.readFileSync||a.readFileSync;var d=t.isDirectory||f;var u=t.realpathSync||y;var x=t.readPackageSync||h;if(t.readFileSync&&t.readPackageSync){throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.")}var v=t.packageIterator;var j=t.extensions||[".js"];var w=t.includeCoreModules!==false;var E=t.basedir||n.dirname(i());var _=t.filename||E;t.paths=t.paths||defaultPaths();var S=g(u,n.resolve(E),t);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var k=n.resolve(S,e);if(e==="."||e===".."||e.slice(-1)==="/")k+="/";var C=loadAsFileSync(k)||loadAsDirectorySync(k);if(C)return g(u,C,t)}else if(w&&s(e)){return e}else{var P=loadNodeModulesSync(e,S);if(P)return g(u,P,t)}var D=new Error("Cannot find module '"+e+"' from '"+_+"'");D.code="MODULE_NOT_FOUND";throw D;function loadAsFileSync(e){var r=loadpkg(n.dirname(e));if(r&&r.dir&&r.pkg&&t.pathFilter){var s=n.relative(r.dir,e);var a=t.pathFilter(r.pkg,e,s);if(a){e=n.resolve(r.dir,a)}}if(o(e)){return e}for(var i=0;i<j.length;i++){var l=e+j[i];if(o(l)){return l}}}function loadpkg(e){if(e===""||e==="/")return;if(process.platform==="win32"&&/^\w:[/\\]*$/.test(e)){return}if(/[/\\]node_modules[/\\]*$/.test(e))return;var r=n.join(g(u,e,t),"package.json");if(!o(r)){return loadpkg(n.dirname(e))}var s=x(l,r);if(s&&t.packageFilter){s=t.packageFilter(s,e)}return{pkg:s,dir:e}}function loadAsDirectorySync(e){var r=n.join(g(u,e,t),"/package.json");if(o(r)){try{var s=x(l,r)}catch(e){}if(s&&t.packageFilter){s=t.packageFilter(s,e)}if(s&&s.main){if(typeof s.main!=="string"){var a=new TypeError("package “"+s.name+"” `main` must be a string");a.code="INVALID_PACKAGE_MAIN";throw a}if(s.main==="."||s.main==="./"){s.main="index"}try{var i=loadAsFileSync(n.resolve(e,s.main));if(i)return i;var c=loadAsDirectorySync(n.resolve(e,s.main));if(c)return c}catch(e){}}}return loadAsFileSync(n.join(e,"/index"))}function loadNodeModulesSync(e,r){var thunk=function(){return b(e,r,t)};var s=v?v(e,r,thunk,t):thunk();for(var a=0;a<s.length;a++){var o=s[a];if(d(n.dirname(o))){var i=loadAsFileSync(o);if(i)return i;var l=loadAsDirectorySync(o);if(l)return l}}}}},7220:(e,r,t)=>{"use strict";const s=t(2037);const a=t(5343);const n=process.env;let o;if(a("no-color")||a("no-colors")||a("color=false")){o=false}else if(a("color")||a("colors")||a("color=true")||a("color=always")){o=true}if("FORCE_COLOR"in n){o=n.FORCE_COLOR.length===0||parseInt(n.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(o===false){return 0}if(a("color=16m")||a("color=full")||a("color=truecolor")){return 3}if(a("color=256")){return 2}if(e&&!e.isTTY&&o!==true){return 0}const r=o?1:0;if(process.platform==="win32"){const e=s.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in n){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in n))||n.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in n){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0}if(n.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in n){const e=parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(n.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)){return 1}if("COLORTERM"in n){return 1}if(n.TERM==="dumb"){return r}return r}function getSupportLevel(e){const r=supportsColor(e);return translateLevel(r)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},6491:e=>{var r=e.exports=function(e){return new Traverse(e)};function Traverse(e){this.value=e}Traverse.prototype.get=function(e){var r=this.value;for(var t=0;t<e.length;t++){var s=e[t];if(!r||!a.call(r,s)){r=undefined;break}r=r[s]}return r};Traverse.prototype.has=function(e){var r=this.value;for(var t=0;t<e.length;t++){var s=e[t];if(!r||!a.call(r,s)){return false}r=r[s]}return true};Traverse.prototype.set=function(e,r){var t=this.value;for(var s=0;s<e.length-1;s++){var n=e[s];if(!a.call(t,n))t[n]={};t=t[n]}t[e[s]]=r;return r};Traverse.prototype.map=function(e){return walk(this.value,e,true)};Traverse.prototype.forEach=function(e){this.value=walk(this.value,e,false);return this.value};Traverse.prototype.reduce=function(e,r){var t=arguments.length===1;var s=t?this.value:r;this.forEach((function(r){if(!this.isRoot||!t){s=e.call(this,s,r)}}));return s};Traverse.prototype.paths=function(){var e=[];this.forEach((function(r){e.push(this.path)}));return e};Traverse.prototype.nodes=function(){var e=[];this.forEach((function(r){e.push(this.node)}));return e};Traverse.prototype.clone=function(){var e=[],r=[];return function clone(s){for(var a=0;a<e.length;a++){if(e[a]===s){return r[a]}}if(typeof s==="object"&&s!==null){var n=copy(s);e.push(s);r.push(n);forEach(t(s),(function(e){n[e]=clone(s[e])}));e.pop();r.pop();return n}else{return s}}(this.value)};function walk(e,r,n){var o=[];var i=[];var l=true;return function walker(e){var c=n?copy(e):e;var d={};var u=true;var p={node:c,node_:e,path:[].concat(o),parent:i[i.length-1],parents:i,key:o.slice(-1)[0],isRoot:o.length===0,level:o.length,circular:null,update:function(e,r){if(!p.isRoot){p.parent.node[p.key]=e}p.node=e;if(r)u=false},delete:function(e){delete p.parent.node[p.key];if(e)u=false},remove:function(e){if(s(p.parent.node)){p.parent.node.splice(p.key,1)}else{delete p.parent.node[p.key]}if(e)u=false},keys:null,before:function(e){d.before=e},after:function(e){d.after=e},pre:function(e){d.pre=e},post:function(e){d.post=e},stop:function(){l=false},block:function(){u=false}};if(!l)return p;function updateState(){if(typeof p.node==="object"&&p.node!==null){if(!p.keys||p.node_!==p.node){p.keys=t(p.node)}p.isLeaf=p.keys.length==0;for(var r=0;r<i.length;r++){if(i[r].node_===e){p.circular=i[r];break}}}else{p.isLeaf=true;p.keys=null}p.notLeaf=!p.isLeaf;p.notRoot=!p.isRoot}updateState();var f=r.call(p,p.node);if(f!==undefined&&p.update)p.update(f);if(d.before)d.before.call(p,p.node);if(!u)return p;if(typeof p.node=="object"&&p.node!==null&&!p.circular){i.push(p);updateState();forEach(p.keys,(function(e,r){o.push(e);if(d.pre)d.pre.call(p,p.node[e],e);var t=walker(p.node[e]);if(n&&a.call(p.node,e)){p.node[e]=t.node}t.isLast=r==p.keys.length-1;t.isFirst=r==0;if(d.post)d.post.call(p,t);o.pop()}));i.pop()}if(d.after)d.after.call(p,p.node);return p}(e).node}function copy(e){if(typeof e==="object"&&e!==null){var r;if(s(e)){r=[]}else if(isDate(e)){r=new Date(e.getTime?e.getTime():e)}else if(isRegExp(e)){r=new RegExp(e)}else if(isError(e)){r={message:e.message}}else if(isBoolean(e)){r=new Boolean(e)}else if(isNumber(e)){r=new Number(e)}else if(isString(e)){r=new String(e)}else if(Object.create&&Object.getPrototypeOf){r=Object.create(Object.getPrototypeOf(e))}else if(e.constructor===Object){r={}}else{var a=e.constructor&&e.constructor.prototype||e.__proto__||{};var T=function(){};T.prototype=a;r=new T}forEach(t(e),(function(t){r[t]=e[t]}));return r}else return e}var t=Object.keys||function keys(e){var r=[];for(var t in e)r.push(t);return r};function toS(e){return Object.prototype.toString.call(e)}function isDate(e){return toS(e)==="[object Date]"}function isRegExp(e){return toS(e)==="[object RegExp]"}function isError(e){return toS(e)==="[object Error]"}function isBoolean(e){return toS(e)==="[object Boolean]"}function isNumber(e){return toS(e)==="[object Number]"}function isString(e){return toS(e)==="[object String]"}var s=Array.isArray||function isArray(e){return Object.prototype.toString.call(e)==="[object Array]"};var forEach=function(e,r){if(e.forEach)return e.forEach(r);else for(var t=0;t<e.length;t++){r(e[t],t,e)}};forEach(t(Traverse.prototype),(function(e){r[e]=function(r){var t=[].slice.call(arguments,1);var s=new Traverse(r);return s[e].apply(s,t)}}));var a=Object.hasOwnProperty||function(e,r){return r in e}},4737:e=>{e.exports=new Set(["General_Category","Script","Script_Extensions","Alphabetic","Any","ASCII","ASCII_Hex_Digit","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extended_Pictographic","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","ID_Continue","ID_Start","Ideographic","IDS_Binary_Operator","IDS_Trinary_Operator","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"])},1288:(e,r,t)=>{"use strict";const s=t(4737);const a=t(5274);const matchProperty=function(e){if(s.has(e)){return e}if(a.has(e)){return a.get(e)}throw new Error(`Unknown property: ${e}`)};e.exports=matchProperty},4545:e=>{e.exports=new Map([["General_Category",new Map([["C","Other"],["Cc","Control"],["cntrl","Control"],["Cf","Format"],["Cn","Unassigned"],["Co","Private_Use"],["Cs","Surrogate"],["L","Letter"],["LC","Cased_Letter"],["Ll","Lowercase_Letter"],["Lm","Modifier_Letter"],["Lo","Other_Letter"],["Lt","Titlecase_Letter"],["Lu","Uppercase_Letter"],["M","Mark"],["Combining_Mark","Mark"],["Mc","Spacing_Mark"],["Me","Enclosing_Mark"],["Mn","Nonspacing_Mark"],["N","Number"],["Nd","Decimal_Number"],["digit","Decimal_Number"],["Nl","Letter_Number"],["No","Other_Number"],["P","Punctuation"],["punct","Punctuation"],["Pc","Connector_Punctuation"],["Pd","Dash_Punctuation"],["Pe","Close_Punctuation"],["Pf","Final_Punctuation"],["Pi","Initial_Punctuation"],["Po","Other_Punctuation"],["Ps","Open_Punctuation"],["S","Symbol"],["Sc","Currency_Symbol"],["Sk","Modifier_Symbol"],["Sm","Math_Symbol"],["So","Other_Symbol"],["Z","Separator"],["Zl","Line_Separator"],["Zp","Paragraph_Separator"],["Zs","Space_Separator"],["Other","Other"],["Control","Control"],["Format","Format"],["Unassigned","Unassigned"],["Private_Use","Private_Use"],["Surrogate","Surrogate"],["Letter","Letter"],["Cased_Letter","Cased_Letter"],["Lowercase_Letter","Lowercase_Letter"],["Modifier_Letter","Modifier_Letter"],["Other_Letter","Other_Letter"],["Titlecase_Letter","Titlecase_Letter"],["Uppercase_Letter","Uppercase_Letter"],["Mark","Mark"],["Spacing_Mark","Spacing_Mark"],["Enclosing_Mark","Enclosing_Mark"],["Nonspacing_Mark","Nonspacing_Mark"],["Number","Number"],["Decimal_Number","Decimal_Number"],["Letter_Number","Letter_Number"],["Other_Number","Other_Number"],["Punctuation","Punctuation"],["Connector_Punctuation","Connector_Punctuation"],["Dash_Punctuation","Dash_Punctuation"],["Close_Punctuation","Close_Punctuation"],["Final_Punctuation","Final_Punctuation"],["Initial_Punctuation","Initial_Punctuation"],["Other_Punctuation","Other_Punctuation"],["Open_Punctuation","Open_Punctuation"],["Symbol","Symbol"],["Currency_Symbol","Currency_Symbol"],["Modifier_Symbol","Modifier_Symbol"],["Math_Symbol","Math_Symbol"],["Other_Symbol","Other_Symbol"],["Separator","Separator"],["Line_Separator","Line_Separator"],["Paragraph_Separator","Paragraph_Separator"],["Space_Separator","Space_Separator"]])],["Script",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Chrs","Chorasmian"],["Copt","Coptic"],["Qaac","Coptic"],["Cpmn","Cypro_Minoan"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Diak","Dives_Akuru"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Elym","Elymaic"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hmnp","Nyiakeng_Puachue_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Kawi","Kawi"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Kits","Khitan_Small_Script"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Nagm","Nag_Mundari"],["Nand","Nandinagari"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Ougr","Old_Uyghur"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Tnsa","Tangsa"],["Toto","Toto"],["Ugar","Ugaritic"],["Vaii","Vai"],["Vith","Vithkuqi"],["Wara","Warang_Citi"],["Wcho","Wancho"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yezi","Yezidi"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Chorasmian","Chorasmian"],["Coptic","Coptic"],["Cypro_Minoan","Cypro_Minoan"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dives_Akuru","Dives_Akuru"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Elymaic","Elymaic"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Nyiakeng_Puachue_Hmong","Nyiakeng_Puachue_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Khitan_Small_Script","Khitan_Small_Script"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Nag_Mundari","Nag_Mundari"],["Nandinagari","Nandinagari"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Old_Uyghur","Old_Uyghur"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Tangsa","Tangsa"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Vithkuqi","Vithkuqi"],["Warang_Citi","Warang_Citi"],["Wancho","Wancho"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yezidi","Yezidi"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])],["Script_Extensions",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Chrs","Chorasmian"],["Copt","Coptic"],["Qaac","Coptic"],["Cpmn","Cypro_Minoan"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Diak","Dives_Akuru"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Elym","Elymaic"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hmnp","Nyiakeng_Puachue_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Kawi","Kawi"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Kits","Khitan_Small_Script"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Nagm","Nag_Mundari"],["Nand","Nandinagari"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Ougr","Old_Uyghur"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Tnsa","Tangsa"],["Toto","Toto"],["Ugar","Ugaritic"],["Vaii","Vai"],["Vith","Vithkuqi"],["Wara","Warang_Citi"],["Wcho","Wancho"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yezi","Yezidi"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Chorasmian","Chorasmian"],["Coptic","Coptic"],["Cypro_Minoan","Cypro_Minoan"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dives_Akuru","Dives_Akuru"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Elymaic","Elymaic"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Nyiakeng_Puachue_Hmong","Nyiakeng_Puachue_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Khitan_Small_Script","Khitan_Small_Script"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Nag_Mundari","Nag_Mundari"],["Nandinagari","Nandinagari"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Old_Uyghur","Old_Uyghur"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Tangsa","Tangsa"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Vithkuqi","Vithkuqi"],["Warang_Citi","Warang_Citi"],["Wancho","Wancho"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yezidi","Yezidi"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])]])},1071:(e,r,t)=>{"use strict";const s=t(4545);const matchPropertyValue=function(e,r){const t=s.get(e);if(!t){throw new Error(`Unknown property \`${e}\`.`)}const a=t.get(r);if(a){return a}throw new Error(`Unknown value \`${r}\` for property \`${e}\`.`)};e.exports=matchPropertyValue},5274:e=>{e.exports=new Map([["scx","Script_Extensions"],["sc","Script"],["gc","General_Category"],["AHex","ASCII_Hex_Digit"],["Alpha","Alphabetic"],["Bidi_C","Bidi_Control"],["Bidi_M","Bidi_Mirrored"],["Cased","Cased"],["CI","Case_Ignorable"],["CWCF","Changes_When_Casefolded"],["CWCM","Changes_When_Casemapped"],["CWKCF","Changes_When_NFKC_Casefolded"],["CWL","Changes_When_Lowercased"],["CWT","Changes_When_Titlecased"],["CWU","Changes_When_Uppercased"],["Dash","Dash"],["Dep","Deprecated"],["DI","Default_Ignorable_Code_Point"],["Dia","Diacritic"],["EBase","Emoji_Modifier_Base"],["EComp","Emoji_Component"],["EMod","Emoji_Modifier"],["Emoji","Emoji"],["EPres","Emoji_Presentation"],["Ext","Extender"],["ExtPict","Extended_Pictographic"],["Gr_Base","Grapheme_Base"],["Gr_Ext","Grapheme_Extend"],["Hex","Hex_Digit"],["IDC","ID_Continue"],["Ideo","Ideographic"],["IDS","ID_Start"],["IDSB","IDS_Binary_Operator"],["IDST","IDS_Trinary_Operator"],["Join_C","Join_Control"],["LOE","Logical_Order_Exception"],["Lower","Lowercase"],["Math","Math"],["NChar","Noncharacter_Code_Point"],["Pat_Syn","Pattern_Syntax"],["Pat_WS","Pattern_White_Space"],["QMark","Quotation_Mark"],["Radical","Radical"],["RI","Regional_Indicator"],["SD","Soft_Dotted"],["STerm","Sentence_Terminal"],["Term","Terminal_Punctuation"],["UIdeo","Unified_Ideograph"],["Upper","Uppercase"],["VS","Variation_Selector"],["WSpace","White_Space"],["space","White_Space"],["XIDC","XID_Continue"],["XIDS","XID_Start"]])},1403:(e,r,t)=>{function eslintParser(){return t(8166)}function pluginProposalClassProperties(){return t(5806)}function pluginProposalExportNamespaceFrom(){return t(4578)}function pluginProposalNumericSeparator(){return t(4206)}function pluginProposalObjectRestSpread(){return t(9050)}function pluginSyntaxBigint(){return t(799)}function pluginSyntaxDynamicImport(){return t(7802)}function pluginSyntaxImportAssertions(){return t(5579)}function pluginSyntaxJsx(){return t(6085)}function pluginTransformDefine(){return t(2099)}function pluginTransformModulesCommonjs(){return t(8417)}function pluginTransformReactRemovePropTypes(){return t(9282)}function pluginTransformRuntime(){return t(1390)}function presetEnv(){return t(6341)}function presetReact(){return t(6780)}function presetTypescript(){return t(5432)}e.exports={eslintParser:eslintParser,pluginProposalClassProperties:pluginProposalClassProperties,pluginProposalExportNamespaceFrom:pluginProposalExportNamespaceFrom,pluginProposalNumericSeparator:pluginProposalNumericSeparator,pluginProposalObjectRestSpread:pluginProposalObjectRestSpread,pluginSyntaxBigint:pluginSyntaxBigint,pluginSyntaxDynamicImport:pluginSyntaxDynamicImport,pluginSyntaxImportAssertions:pluginSyntaxImportAssertions,pluginSyntaxJsx:pluginSyntaxJsx,pluginTransformDefine:pluginTransformDefine,pluginTransformModulesCommonjs:pluginTransformModulesCommonjs,pluginTransformReactRemovePropTypes:pluginTransformReactRemovePropTypes,pluginTransformRuntime:pluginTransformRuntime,presetEnv:presetEnv,presetReact:presetReact,presetTypescript:presetTypescript}},9491:e=>{"use strict";e.exports=require("assert")},7147:e=>{"use strict";e.exports=require("fs")},8188:e=>{"use strict";e.exports=require("module")},8304:e=>{"use strict";e.exports=require("next/dist/compiled/babel/core")},6949:e=>{"use strict";e.exports=require("next/dist/compiled/babel/parser")},7369:e=>{"use strict";e.exports=require("next/dist/compiled/babel/traverse")},8622:e=>{"use strict";e.exports=require("next/dist/compiled/babel/types")},4907:e=>{"use strict";e.exports=require("next/dist/compiled/browserslist")},7330:e=>{"use strict";e.exports=require("next/dist/compiled/lru-cache")},7849:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},3837:e=>{"use strict";e.exports=require("util")},1267:e=>{"use strict";e.exports=require("worker_threads")},3327:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.codeFrameColumns=codeFrameColumns;r["default"]=_default;var s=t(6448);var a=_interopRequireWildcard(t(6148),true);function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}let n=undefined;function getChalk(e){if(e){var r;(r=n)!=null?r:n=new a.default.constructor({enabled:true,level:1});return n}return a.default}let o=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,r,t){const s=Object.assign({column:0,line:-1},e.start);const a=Object.assign({},s,e.end);const{linesAbove:n=2,linesBelow:o=3}=t||{};const i=s.line;const l=s.column;const c=a.line;const d=a.column;let u=Math.max(i-(n+1),0);let p=Math.min(r.length,c+o);if(i===-1){u=0}if(c===-1){p=r.length}const f=c-i;const y={};if(f){for(let e=0;e<=f;e++){const t=e+i;if(!l){y[t]=true}else if(e===0){const e=r[t-1].length;y[t]=[l,e-l+1]}else if(e===f){y[t]=[0,d]}else{const s=r[t-e].length;y[t]=[0,s]}}}else{if(l===d){if(l){y[i]=[l,0]}else{y[i]=true}}else{y[i]=[l,d-l]}}return{start:u,end:p,markerLines:y}}function codeFrameColumns(e,r,t={}){const a=(t.highlightCode||t.forceColor)&&(0,s.shouldHighlight)(t);const n=getChalk(t.forceColor);const o=getDefs(n);const maybeHighlight=(e,r)=>a?e(r):r;const l=e.split(i);const{start:c,end:d,markerLines:u}=getMarkerLines(r,l,t);const p=r.start&&typeof r.start.column==="number";const f=String(d).length;const y=a?(0,s.default)(e,t):e;let g=y.split(i,d).slice(c,d).map(((e,r)=>{const s=c+1+r;const a=` ${s}`.slice(-f);const n=` ${a} |`;const i=u[s];const l=!u[s+1];if(i){let r="";if(Array.isArray(i)){const s=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," ");const a=i[1]||1;r=["\n ",maybeHighlight(o.gutter,n.replace(/\d/g," "))," ",s,maybeHighlight(o.marker,"^").repeat(a)].join("");if(l&&t.message){r+=" "+maybeHighlight(o.message,t.message)}}return[maybeHighlight(o.marker,">"),maybeHighlight(o.gutter,n),e.length>0?` ${e}`:"",r].join("")}else{return` ${maybeHighlight(o.gutter,n)}${e.length>0?` ${e}`:""}`}})).join("\n");if(t.message&&!p){g=`${" ".repeat(f+1)}${t.message}\n${g}`}if(a){return n.reset(g)}else{return g}}function _default(e,r,t,s={}){if(!o){o=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const r=new Error(e);r.name="DeprecationWarning";console.warn(new Error(e))}}t=Math.max(t,0);const a={start:{column:t,line:r}};return codeFrameColumns(e,a,s)}},2430:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.codeFrameColumns=codeFrameColumns;r["default"]=_default;var s=t(6448);let a=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,r,t){const s=Object.assign({column:0,line:-1},e.start);const a=Object.assign({},s,e.end);const{linesAbove:n=2,linesBelow:o=3}=t||{};const i=s.line;const l=s.column;const c=a.line;const d=a.column;let u=Math.max(i-(n+1),0);let p=Math.min(r.length,c+o);if(i===-1){u=0}if(c===-1){p=r.length}const f=c-i;const y={};if(f){for(let e=0;e<=f;e++){const t=e+i;if(!l){y[t]=true}else if(e===0){const e=r[t-1].length;y[t]=[l,e-l+1]}else if(e===f){y[t]=[0,d]}else{const s=r[t-e].length;y[t]=[0,s]}}}else{if(l===d){if(l){y[i]=[l,0]}else{y[i]=true}}else{y[i]=[l,d-l]}}return{start:u,end:p,markerLines:y}}function codeFrameColumns(e,r,t={}){const a=(t.highlightCode||t.forceColor)&&(0,s.shouldHighlight)(t);const o=(0,s.getChalk)(t);const i=getDefs(o);const maybeHighlight=(e,r)=>a?e(r):r;const l=e.split(n);const{start:c,end:d,markerLines:u}=getMarkerLines(r,l,t);const p=r.start&&typeof r.start.column==="number";const f=String(d).length;const y=a?(0,s.default)(e,t):e;let g=y.split(n,d).slice(c,d).map(((e,r)=>{const s=c+1+r;const a=` ${s}`.slice(-f);const n=` ${a} |`;const o=u[s];const l=!u[s+1];if(o){let r="";if(Array.isArray(o)){const s=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," ");const a=o[1]||1;r=["\n ",maybeHighlight(i.gutter,n.replace(/\d/g," "))," ",s,maybeHighlight(i.marker,"^").repeat(a)].join("");if(l&&t.message){r+=" "+maybeHighlight(i.message,t.message)}}return[maybeHighlight(i.marker,">"),maybeHighlight(i.gutter,n),e.length>0?` ${e}`:"",r].join("")}else{return` ${maybeHighlight(i.gutter,n)}${e.length>0?` ${e}`:""}`}})).join("\n");if(t.message&&!p){g=`${" ".repeat(f+1)}${t.message}\n${g}`}if(a){return o.reset(g)}else{return g}}function _default(e,r,t,s={}){if(!a){a=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const r=new Error(e);r.name="DeprecationWarning";console.warn(new Error(e))}}t=Math.max(t,0);const n={start:{column:t,line:r}};return codeFrameColumns(e,n,s)}},4549:(e,r,t)=>{e.exports=t(82)},1371:(e,r,t)=>{e.exports=t(212)},3661:(e,r,t)=>{e.exports=t(650)},9827:(e,r,t)=>{e.exports=t(1195)},2204:(e,r,t)=>{e.exports=t(2735)},8626:(e,r,t)=>{e.exports=t(2152)},7301:(e,r,t)=>{e.exports=t(5626)},7796:(e,r,t)=>{e.exports=t(2945)},4198:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=annotateAsPure;var s=t(8622);const{addComment:a}=s;const n="#__PURE__";const isPureAnnotated=({leadingComments:e})=>!!e&&e.some((e=>/[@#]__PURE__/.test(e.value)));function annotateAsPure(e){const r=e["node"]||e;if(isPureAnnotated(r)){return}a(r,"leading",n)}},365:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=annotateAsPure;var s=t(8622);const{addComment:a}=s;const n="#__PURE__";const isPureAnnotated=({leadingComments:e})=>!!e&&e.some((e=>/[@#]__PURE__/.test(e.value)));function annotateAsPure(e){const r=e["node"]||e;if(isPureAnnotated(r)){return}a(r,"leading",n)}},5866:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=explode;var s=t(8622);const{assignmentExpression:a,cloneNode:n,isIdentifier:o,isLiteral:i,isMemberExpression:l,isPrivateName:c,isPureish:d,isSuper:u,memberExpression:p,toComputedKey:f}=s;function getObjRef(e,r,t){let s;if(o(e)){if(t.hasBinding(e.name)){return e}else{s=e}}else if(l(e)){s=e.object;if(u(s)||o(s)&&t.hasBinding(s.name)){return s}}else{throw new Error(`We can't explode this node type ${e["type"]}`)}const i=t.generateUidIdentifierBasedOnNode(s);t.push({id:i});r.push(a("=",n(i),n(s)));return i}function getPropRef(e,r,t){const s=e.property;if(c(s)){throw new Error("We can't generate property ref for private name, please install `@babel/plugin-transform-class-properties`")}const o=f(e,s);if(i(o)&&d(o))return o;const l=t.generateUidIdentifierBasedOnNode(s);t.push({id:l});r.push(a("=",n(l),n(s)));return l}function explode(e,r,t){const s=getObjRef(e,r,t);let a,l;if(o(e)){a=n(e);l=s}else{const o=getPropRef(e,r,t);const c=e.computed||i(o);l=p(n(s),n(o),c);a=p(n(s),n(o),c)}return{uid:l,ref:a}}},5227:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(8622);var a=t(5866);const{assignmentExpression:n,sequenceExpression:o}=s;function _default(e){const{build:r,operator:t}=e;const s={AssignmentExpression(e){const{node:s,scope:i}=e;if(s.operator!==t+"=")return;const l=[];const c=(0,a.default)(s.left,l,i);l.push(n("=",c.ref,r(c.uid,s.right)));e.replaceWith(o(l))},BinaryExpression(e){const{node:s}=e;if(s.operator===t){e.replaceWith(r(s.left,s.right))}}};return s}},8288:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getInclusionReasons=getInclusionReasons;var s=t(7849);var a=t(6783);var n=t(2423);function getInclusionReasons(e,r,t){const o=t[e]||{};return Object.keys(r).reduce(((e,t)=>{const i=(0,n.getLowestImplementedVersion)(o,t);const l=r[t];if(!i){e[t]=(0,a.prettifyVersion)(l)}else{const r=(0,n.isUnreleasedVersion)(i,t);const o=(0,n.isUnreleasedVersion)(l,t);if(!o&&(r||s.lt(l.toString(),(0,n.semverify)(i)))){e[t]=(0,a.prettifyVersion)(l)}}return e}),{})}},6743:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=filterItems;r.isRequired=isRequired;r.targetsSupported=targetsSupported;var s=t(7849);var a=t(2204);var n=t(2423);function targetsSupported(e,r){const t=Object.keys(e);if(t.length===0){return false}const a=t.filter((t=>{const a=(0,n.getLowestImplementedVersion)(r,t);if(!a){return true}const o=e[t];if((0,n.isUnreleasedVersion)(o,t)){return false}if((0,n.isUnreleasedVersion)(a,t)){return true}if(!s.valid(o.toString())){throw new Error(`Invalid version passed for target "${t}": "${o}". `+"Versions must be in semver format (major.minor.patch)")}return s.gt((0,n.semverify)(a),o.toString())}));return a.length===0}function isRequired(e,r,{compatData:t=a,includes:s,excludes:n}={}){if(n!=null&&n.has(e))return false;if(s!=null&&s.has(e))return true;return!targetsSupported(r,t[e])}function filterItems(e,r,t,s,a,n,o){const i=new Set;const l={compatData:e,includes:r,excludes:t};for(const r in e){if(isRequired(r,s,l)){i.add(r)}else if(o){const e=o.get(r);if(e){i.add(e)}}}a==null?void 0:a.forEach((e=>!t.has(e)&&i.add(e)));n==null?void 0:n.forEach((e=>!r.has(e)&&i.delete(e)));return i}},900:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"TargetNames",{enumerable:true,get:function(){return c.TargetNames}});r["default"]=getTargets;Object.defineProperty(r,"filterItems",{enumerable:true,get:function(){return p.default}});Object.defineProperty(r,"getInclusionReasons",{enumerable:true,get:function(){return u.getInclusionReasons}});r.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(r,"isRequired",{enumerable:true,get:function(){return p.isRequired}});Object.defineProperty(r,"prettifyTargets",{enumerable:true,get:function(){return d.prettifyTargets}});Object.defineProperty(r,"unreleasedLabels",{enumerable:true,get:function(){return l.unreleasedLabels}});var s=t(4907);var a=t(4716);var n=t(1371);var o=t(7330);var i=t(2423);var l=t(3519);var c=t(9376);var d=t(6783);var u=t(8288);var p=t(6743);const f=n["es6.module"];const y=new a.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const r=Object.keys(c.TargetNames);for(const t of Object.keys(e)){if(!(t in c.TargetNames)){throw new Error(y.formatMessage(`'${t}' is not a valid target\n- Did you mean '${(0,a.findSuggestion)(t,r)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){y.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,r)=>{const[t,s]=r.split(" ");const a=l.browserNameMap[t];if(!a){return e}try{const r=s.split("-")[0].toLowerCase();const t=(0,i.isUnreleasedVersion)(r,a);if(!e[a]){e[a]=t?r:(0,i.semverify)(r);return e}const n=e[a];const o=(0,i.isUnreleasedVersion)(n,a);if(o&&t){e[a]=(0,i.getLowestUnreleased)(n,r,a)}else if(o){e[a]=(0,i.semverify)(r)}else if(!o&&!t){const t=(0,i.semverify)(r);e[a]=(0,i.semverMin)(n,t)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:r})=>console.warn(` ${e}: ${r}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,r){try{return(0,i.semverify)(r)}catch(t){throw new Error(y.formatMessage(`'${r}' is not a valid value for 'targets.${e}'.`))}}function nodeTargetParser(e){const r=e===true||e==="current"?process.versions.node:semverifyTarget("node",e);return["node",r]}function defaultTargetParser(e,r){const t=(0,i.isUnreleasedVersion)(r,e)?r.toLowerCase():semverifyTarget(e,r);return[e,t]}function generateTargets(e){const r=Object.assign({},e);delete r.esmodules;delete r.browsers;return r}function resolveTargets(e,r){const t=s(e,{mobileToDesktop:true,env:r});return getLowestVersions(t)}const g=new o({max:64});function resolveTargetsCached(e,r){const t=typeof e==="string"?e:e.join()+r;let s=g.get(t);if(!s){s=resolveTargets(e,r);g.set(t,s)}return Object.assign({},s)}function getTargets(e={},r={}){var t,a;let{browsers:n,esmodules:o}=e;const{configPath:l="."}=r;validateBrowsers(n);const c=generateTargets(e);let d=validateTargetNames(c);const u=!!n;const p=u||Object.keys(d).length>0;const y=!r.ignoreBrowserslistConfig&&!p;if(!n&&y){n=s.loadConfig({config:r.configFile,path:l,env:r.browserslistEnv});if(n==null){{n=[]}}}if(o&&(o!=="intersect"||!((t=n)!=null&&t.length))){n=Object.keys(f).map((e=>`${e} >= ${f[e]}`)).join(", ");o=false}if((a=n)!=null&&a.length){const e=resolveTargetsCached(n,r.browserslistEnv);if(o==="intersect"){for(const r of Object.keys(e)){if(r!=="deno"&&r!=="ie"){const t=f[r==="opera_mobile"?"op_mob":r];if(t){const s=e[r];e[r]=(0,i.getHighestUnreleased)(s,(0,i.semverify)(t),r)}else{delete e[r]}}else{delete e[r]}}}d=Object.assign(e,d)}const g={};const h=[];for(const e of Object.keys(d).sort()){const r=d[e];if(typeof r==="number"&&r%1!==0){h.push({target:e,value:r})}const[t,s]=e==="node"?nodeTargetParser(r):defaultTargetParser(e,r);if(s){g[t]=s}}outputDecimalWarning(h);return g}},9376:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.TargetNames=void 0;const t={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino",opera_mobile:"opera_mobile"};r.TargetNames=t},6783:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.prettifyTargets=prettifyTargets;r.prettifyVersion=prettifyVersion;var s=t(7849);var a=t(3519);function prettifyVersion(e){if(typeof e!=="string"){return e}const{major:r,minor:t,patch:a}=s.parse(e);const n=[r];if(t||a){n.push(t)}if(a){n.push(a)}return n.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((r,t)=>{let s=e[t];const n=a.unreleasedLabels[t];if(typeof s==="string"&&n!==s){s=prettifyVersion(s)}r[t]=s;return r}),{})}},3519:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.unreleasedLabels=r.browserNameMap=void 0;const t={safari:"tp"};r.unreleasedLabels=t;const s={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"};r.browserNameMap=s},2423:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getHighestUnreleased=getHighestUnreleased;r.getLowestImplementedVersion=getLowestImplementedVersion;r.getLowestUnreleased=getLowestUnreleased;r.isUnreleasedVersion=isUnreleasedVersion;r.semverMin=semverMin;r.semverify=semverify;var s=t(7849);var a=t(4716);var n=t(3519);const o=/^(\d+|\d+.\d+)$/;const i=new a.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,r){return e&&s.lt(e,r)?e:r}function semverify(e){if(typeof e==="string"&&s.valid(e)){return e}i.invariant(typeof e==="number"||typeof e==="string"&&o.test(e),`'${e}' is not a valid version`);e=e.toString();let r=0;let t=0;while((r=e.indexOf(".",r+1))>0){t++}return e+".0".repeat(2-t)}function isUnreleasedVersion(e,r){const t=n.unreleasedLabels[r];return!!t&&t===e.toString().toLowerCase()}function getLowestUnreleased(e,r,t){const s=n.unreleasedLabels[t];if(e===s){return r}if(r===s){return e}return semverMin(e,r)}function getHighestUnreleased(e,r,t){return getLowestUnreleased(e,r,t)===e?r:e}function getLowestImplementedVersion(e,r){const t=e[r];if(!t&&r==="android"){return e.chrome}return t}},9036:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getInclusionReasons=getInclusionReasons;var s=t(7849);var a=t(1644);var n=t(7857);function getInclusionReasons(e,r,t){const o=t[e]||{};return Object.keys(r).reduce(((e,t)=>{const i=(0,n.getLowestImplementedVersion)(o,t);const l=r[t];if(!i){e[t]=(0,a.prettifyVersion)(l)}else{const r=(0,n.isUnreleasedVersion)(i,t);const o=(0,n.isUnreleasedVersion)(l,t);if(!o&&(r||s.lt(l.toString(),(0,n.semverify)(i)))){e[t]=(0,a.prettifyVersion)(l)}}return e}),{})}},2957:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=filterItems;r.isRequired=isRequired;r.targetsSupported=targetsSupported;var s=t(7849);var a=t(7796);var n=t(7857);function targetsSupported(e,r){const t=Object.keys(e);if(t.length===0){return false}const a=t.filter((t=>{const a=(0,n.getLowestImplementedVersion)(r,t);if(!a){return true}const o=e[t];if((0,n.isUnreleasedVersion)(o,t)){return false}if((0,n.isUnreleasedVersion)(a,t)){return true}if(!s.valid(o.toString())){throw new Error(`Invalid version passed for target "${t}": "${o}". `+"Versions must be in semver format (major.minor.patch)")}return s.gt((0,n.semverify)(a),o.toString())}));return a.length===0}function isRequired(e,r,{compatData:t=a,includes:s,excludes:n}={}){if(n!=null&&n.has(e))return false;if(s!=null&&s.has(e))return true;return!targetsSupported(r,t[e])}function filterItems(e,r,t,s,a,n,o){const i=new Set;const l={compatData:e,includes:r,excludes:t};for(const r in e){if(isRequired(r,s,l)){i.add(r)}else if(o){const e=o.get(r);if(e){i.add(e)}}}if(a){a.forEach((e=>!t.has(e)&&i.add(e)))}if(n){n.forEach((e=>!r.has(e)&&i.delete(e)))}return i}},8522:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"TargetNames",{enumerable:true,get:function(){return c.TargetNames}});r["default"]=getTargets;Object.defineProperty(r,"filterItems",{enumerable:true,get:function(){return p.default}});Object.defineProperty(r,"getInclusionReasons",{enumerable:true,get:function(){return u.getInclusionReasons}});r.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(r,"isRequired",{enumerable:true,get:function(){return p.isRequired}});Object.defineProperty(r,"prettifyTargets",{enumerable:true,get:function(){return d.prettifyTargets}});Object.defineProperty(r,"unreleasedLabels",{enumerable:true,get:function(){return l.unreleasedLabels}});var s=t(4907);var a=t(2445);var n=t(7301);var o=t(7330);var i=t(7857);var l=t(9352);var c=t(8208);var d=t(1644);var u=t(9036);var p=t(2957);const f=n["es6.module"];const y=new a.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const r=Object.keys(c.TargetNames);for(const t of Object.keys(e)){if(!(t in c.TargetNames)){throw new Error(y.formatMessage(`'${t}' is not a valid target\n- Did you mean '${(0,a.findSuggestion)(t,r)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){y.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,r)=>{const[t,s]=r.split(" ");const a=l.browserNameMap[t];if(!a){return e}try{const r=s.split("-")[0].toLowerCase();const t=(0,i.isUnreleasedVersion)(r,a);if(!e[a]){e[a]=t?r:(0,i.semverify)(r);return e}const n=e[a];const o=(0,i.isUnreleasedVersion)(n,a);if(o&&t){e[a]=(0,i.getLowestUnreleased)(n,r,a)}else if(o){e[a]=(0,i.semverify)(r)}else if(!o&&!t){const t=(0,i.semverify)(r);e[a]=(0,i.semverMin)(n,t)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:r})=>console.warn(` ${e}: ${r}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,r){try{return(0,i.semverify)(r)}catch(t){throw new Error(y.formatMessage(`'${r}' is not a valid value for 'targets.${e}'.`))}}function nodeTargetParser(e){const r=e===true||e==="current"?process.versions.node:semverifyTarget("node",e);return["node",r]}function defaultTargetParser(e,r){const t=(0,i.isUnreleasedVersion)(r,e)?r.toLowerCase():semverifyTarget(e,r);return[e,t]}function generateTargets(e){const r=Object.assign({},e);delete r.esmodules;delete r.browsers;return r}function resolveTargets(e,r){const t=s(e,{mobileToDesktop:true,env:r});return getLowestVersions(t)}const g=new o({max:64});function resolveTargetsCached(e,r){const t=typeof e==="string"?e:e.join()+r;let s=g.get(t);if(!s){s=resolveTargets(e,r);g.set(t,s)}return Object.assign({},s)}function getTargets(e={},r={}){var t,a;let{browsers:n,esmodules:o}=e;const{configPath:l="."}=r;validateBrowsers(n);const c=generateTargets(e);let d=validateTargetNames(c);const u=!!n;const p=u||Object.keys(d).length>0;const y=!r.ignoreBrowserslistConfig&&!p;if(!n&&y){n=s.loadConfig({config:r.configFile,path:l,env:r.browserslistEnv});if(n==null){{n=[]}}}if(o&&(o!=="intersect"||!((t=n)!=null&&t.length))){n=Object.keys(f).map((e=>`${e} >= ${f[e]}`)).join(", ");o=false}if((a=n)!=null&&a.length){const e=resolveTargetsCached(n,r.browserslistEnv);if(o==="intersect"){for(const r of Object.keys(e)){const t=e[r];const s=f[r];if(s){e[r]=(0,i.getHighestUnreleased)(t,(0,i.semverify)(s),r)}else{delete e[r]}}}d=Object.assign(e,d)}const g={};const h=[];for(const e of Object.keys(d).sort()){const r=d[e];if(typeof r==="number"&&r%1!==0){h.push({target:e,value:r})}const[t,s]=e==="node"?nodeTargetParser(r):defaultTargetParser(e,r);if(s){g[t]=s}}outputDecimalWarning(h);return g}},8208:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.TargetNames=void 0;const t={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};r.TargetNames=t},1644:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.prettifyTargets=prettifyTargets;r.prettifyVersion=prettifyVersion;var s=t(7849);var a=t(9352);function prettifyVersion(e){if(typeof e!=="string"){return e}const{major:r,minor:t,patch:a}=s.parse(e);const n=[r];if(t||a){n.push(t)}if(a){n.push(a)}return n.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((r,t)=>{let s=e[t];const n=a.unreleasedLabels[t];if(typeof s==="string"&&n!==s){s=prettifyVersion(s)}r[t]=s;return r}),{})}},9352:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.unreleasedLabels=r.browserNameMap=void 0;const t={safari:"tp"};r.unreleasedLabels=t;const s={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};r.browserNameMap=s},7857:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getHighestUnreleased=getHighestUnreleased;r.getLowestImplementedVersion=getLowestImplementedVersion;r.getLowestUnreleased=getLowestUnreleased;r.isUnreleasedVersion=isUnreleasedVersion;r.semverMin=semverMin;r.semverify=semverify;var s=t(7849);var a=t(2445);var n=t(9352);const o=/^(\d+|\d+.\d+)$/;const i=new a.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,r){return e&&s.lt(e,r)?e:r}function semverify(e){if(typeof e==="string"&&s.valid(e)){return e}i.invariant(typeof e==="number"||typeof e==="string"&&o.test(e),`'${e}' is not a valid version`);e=e.toString();let r=0;let t=0;while((r=e.indexOf(".",r+1))>0){t++}return e+".0".repeat(2-t)}function isUnreleasedVersion(e,r){const t=n.unreleasedLabels[r];return!!t&&t===e.toString().toLowerCase()}function getLowestUnreleased(e,r,t){const s=n.unreleasedLabels[t];if(e===s){return r}if(r===s){return e}return semverMin(e,r)}function getHighestUnreleased(e,r,t){return getLowestUnreleased(e,r,t)===e?r:e}function getLowestImplementedVersion(e,r){const t=e[r];if(!t&&r==="android"){return e.chrome}return t}},327:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildDecoratedClass=buildDecoratedClass;r.hasDecorators=hasDecorators;r.hasOwnDecorators=hasOwnDecorators;var s=t(8304);var a=t(9775);var n=t(4940);function hasOwnDecorators(e){var r;return!!((r=e.decorators)!=null&&r.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,r){if(!r)return null;return s.types.objectProperty(s.types.identifier(e),r)}function method(e,r){return s.types.objectMethod("method",s.types.identifier(e),[],s.types.blockStatement(r))}function takeDecorators(e){let r;if(e.decorators&&e.decorators.length>0){r=s.types.arrayExpression(e.decorators.map((e=>e.expression)))}e.decorators=undefined;return r}function getKey(e){if(e.computed){return e.key}else if(s.types.isIdentifier(e.key)){return s.types.stringLiteral(e.key.name)}else{return s.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,r,t,o){const i=o.isClassMethod();if(o.isPrivate()){throw o.buildCodeFrameError(`Private ${i?"methods":"fields"} in decorated classes are not supported yet.`)}if(o.node.type==="ClassAccessorProperty"){throw o.buildCodeFrameError(`Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}if(o.node.type==="StaticBlock"){throw o.buildCodeFrameError(`Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}const{node:l,scope:c}=o;if(!o.isTSDeclareMethod()){new a.default({methodPath:o,objectRef:r,superRef:t,file:e,refToPreserve:r}).replace()}const d=[prop("kind",s.types.stringLiteral(s.types.isClassMethod(l)?l.kind:"field")),prop("decorators",takeDecorators(l)),prop("static",l.static&&s.types.booleanLiteral(true)),prop("key",getKey(l))].filter(Boolean);if(s.types.isClassMethod(l)){const e=l.computed?null:l.key;const r=s.types.toExpression(l);d.push(prop("value",(0,n.default)({node:r,id:e,scope:c})||r))}else if(s.types.isClassProperty(l)&&l.value){d.push(method("value",s.template.statements.ast`return ${l.value}`))}else{d.push(prop("value",c.buildUndefinedNode()))}o.remove();return s.types.objectExpression(d)}function addDecorateHelper(e){return e.addHelper("decorate")}function buildDecoratedClass(e,r,t,a){const{node:n,scope:o}=r;const i=o.generateUidIdentifier("initialize");const l=n.id&&r.isDeclaration();const c=r.isInStrictMode();const{superClass:d}=n;n.type="ClassDeclaration";if(!n.id)n.id=s.types.cloneNode(e);let u;if(d){u=o.generateUidIdentifierBasedOnNode(n.superClass,"super");n.superClass=u}const p=takeDecorators(n);const f=s.types.arrayExpression(t.filter((e=>!e.node.abstract&&e.node.type!=="TSIndexSignature")).map((e=>extractElementDescriptor(a,n.id,u,e))));const y=s.template.expression.ast` ${addDecorateHelper(a)}( - ${d||s.types.nullLiteral()}, - function (${i}, ${u?s.types.cloneNode(p):null}) { + ${p||s.types.nullLiteral()}, + function (${i}, ${d?s.types.cloneNode(u):null}) { ${n} return { F: ${s.types.cloneNode(n.id)}, d: ${f} }; }, - ${u} + ${d} ) - `;if(!c){y.arguments[1].body.directives.push(s.types.directive(s.types.directiveLiteral("use strict")))}let g=y;let h="arguments.1.body.body.0";if(l){g=s.template.statement.ast`let ${e} = ${y}`;h="declarations.0.init."+h}return{instanceNodes:[s.template.statement.ast`${s.types.cloneNode(i)}(this)`],wrapClass(e){e.replaceWith(g);return e.get(h)}}}},2690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FEATURES=void 0;t.enableFeature=enableFeature;t.isLoose=isLoose;t.shouldTransform=shouldTransform;var s=r(6080);const a=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});t.FEATURES=a;const n=new Map([[a.fields,"@babel/plugin-proposal-class-properties"],[a.privateMethods,"@babel/plugin-proposal-private-methods"],[a.privateIn,"@babel/plugin-proposal-private-property-in-object"]]);const o="@babel/plugin-class-features/featuresKey";const i="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,r){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(o,e.get(o)|t);if(r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,r)}}let s;let a;for(const[t,r]of n){if(!hasFeature(e,t))continue;const n=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(s===!n){throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, "+"@babel/plugin-proposal-private-methods and "+"@babel/plugin-proposal-private-property-in-object (when they are enabled).")}else{s=n;a=r}}if(s!==undefined){for(const[t,r]of n){if(hasFeature(e,t)&&isLoose(e,t)!==s){setLoose(e,t,s);console.warn(`Though the "loose" option was set to "${!s}" in your @babel/preset-env `+`config, it will not be used for ${r} since the "loose" mode option was set to `+`"${s}" for ${a}.\nThe "loose" option must be the `+`same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods `+`and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${r}", { "loose": ${s} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(o)&t)}function isLoose(e,t){return!!(e.get(i)&t)}function setLoose(e,t,r){if(r)e.set(i,e.get(i)|t);else e.set(i,e.get(i)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function shouldTransform(e,t){let r=null;let n=null;let o=null;let i=null;let l=null;if((0,s.hasOwnDecorators)(e.node)){r=e.get("decorators.0")}for(const t of e.get("body.body")){if(!r&&(0,s.hasOwnDecorators)(t.node)){r=t.get("decorators.0")}if(!n&&t.isClassProperty()){n=t}if(!o&&t.isClassPrivateProperty()){o=t}if(!i&&t.isClassPrivateMethod!=null&&t.isClassPrivateMethod()){i=t}if(!l&&t.isStaticBlock!=null&&t.isStaticBlock()){l=t}}if(r&&o){throw o.buildCodeFrameError("Private fields in decorated classes are not supported yet.")}if(r&&i){throw i.buildCodeFrameError("Private methods in decorated classes are not supported yet.")}if(r&&!hasFeature(t,a.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "legacy": true }], '+'make sure it comes *before* "@babel/plugin-proposal-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "legacy": true }]\n'+'\t["@babel/plugin-proposal-class-properties", { "loose": true }]')}if(i&&!hasFeature(t,a.privateMethods)){throw i.buildCodeFrameError("Class private methods are not enabled. "+"Please add `@babel/plugin-proposal-private-methods` to your configuration.")}if((n||o)&&!hasFeature(t,a.fields)&&!hasFeature(t,a.privateMethods)){throw e.buildCodeFrameError("Class fields are not enabled. "+"Please add `@babel/plugin-proposal-class-properties` to your configuration.")}if(l&&!hasFeature(t,a.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-proposal-class-static-block` to your configuration.")}if(r||i||l){return true}if((n||o)&&hasFeature(t,a.fields)){return true}return false}},2980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildFieldsInitNodes=buildFieldsInitNodes;t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;var s=r(8304);var a=r(7328);var n=r(5166);var o=r(6971);var i=r(5462);var l=r(5346);var c=r(9061);function buildPrivateNamesMap(e){const t=new Map;for(const r of e){if(r.isPrivate()){const{name:e}=r.node.key.id;const s=t.has(e)?t.get(e):{id:r.scope.generateUidIdentifier(e),static:r.node.static,method:!r.isProperty()};if(r.isClassPrivateMethod()){if(r.node.kind==="get"){s.getId=r.scope.generateUidIdentifier(`get_${e}`)}else if(r.node.kind==="set"){s.setId=r.scope.generateUidIdentifier(`set_${e}`)}else if(r.node.kind==="method"){s.methodId=r.scope.generateUidIdentifier(e)}}t.set(e,s)}}return t}function buildPrivateNamesNodes(e,t,r){const a=[];for(const[n,o]of e){const{static:e,method:i,getId:c,setId:u}=o;const p=c||u;const d=s.types.cloneNode(o.id);let f;if(t){f=s.types.callExpression(r.addHelper("classPrivateFieldLooseKey"),[s.types.stringLiteral(n)])}else if(!e){f=s.types.newExpression(s.types.identifier(!i||p?"WeakMap":"WeakSet"),[])}if(f){(0,l.default)(f);a.push(s.template.statement.ast`var ${d} = ${f}`)}}return a}function privateNameVisitorFactory(e){const t=Object.assign({},e,{Class(e){const{privateNamesMap:s}=this;const a=e.get("body.body");const n=new Map(s);const o=[];for(const e of a){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;n.delete(t);o.push(t)}if(!o.length){return}e.get("body").traverse(r,Object.assign({},this,{redeclared:o}));e.traverse(t,Object.assign({},this,{privateNamesMap:n}));e.skipKey("body")}});const r=s.traverse.visitors.merge([Object.assign({},e),n.default]);return t}const u=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:r,redeclared:s}=this;const{node:a,parentPath:n}=e;if(!n.isMemberExpression({property:a})&&!n.isOptionalMemberExpression({property:a})){return}const{name:o}=a.id;if(!r.has(o))return;if(s&&s.includes(o))return;this.handle(n,t)}});function unshadow(e,t,r){while((s=t)!=null&&s.hasBinding(e)&&!t.bindingIdentifierEquals(e,r)){var s;t.rename(e);t=t.parent}}const p=privateNameVisitorFactory({BinaryExpression(e){const{operator:t,left:r,right:a}=e.node;if(t!=="in")return;if(!s.types.isPrivateName(r))return;const{privateFieldsAsProperties:n,privateNamesMap:o,redeclared:i}=this;const{name:l}=r.id;if(!o.has(l))return;if(i&&i.includes(l))return;unshadow(this.classRef.name,e.scope,this.innerBinding);if(n){const{id:t}=o.get(l);e.replaceWith(s.template.expression.ast` - Object.prototype.hasOwnProperty.call(${a}, ${s.types.cloneNode(t)}) - `);return}const{id:c,static:u}=o.get(l);if(u){e.replaceWith(s.template.expression.ast`${a} === ${this.classRef}`);return}e.replaceWith(s.template.expression.ast`${s.types.cloneNode(c)}.has(${a})`)}});const d={memoise(e,t){const{scope:r}=e;const{object:s}=e.node;const a=r.maybeGenerateMemoised(s);if(!a){return}this.memoiser.set(s,a,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return s.types.cloneNode(this.memoiser.get(t))}return s.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:r,file:a,innerBinding:n}=this;const{name:o}=e.node.property.id;const{id:i,static:l,method:c,methodId:u,getId:p,setId:d}=r.get(o);const f=p||d;if(l){const r=c&&!f?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";unshadow(t.name,e.scope,n);return s.types.callExpression(a.addHelper(r),[this.receiver(e),s.types.cloneNode(t),s.types.cloneNode(i)])}if(c){if(f){if(!p&&d){if(a.availableHelper("writeOnlyError")){return s.types.sequenceExpression([this.receiver(e),s.types.callExpression(a.addHelper("writeOnlyError"),[s.types.stringLiteral(`#${o}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return s.types.callExpression(a.addHelper("classPrivateFieldGet"),[this.receiver(e),s.types.cloneNode(i)])}return s.types.callExpression(a.addHelper("classPrivateMethodGet"),[this.receiver(e),s.types.cloneNode(i),s.types.cloneNode(u)])}return s.types.callExpression(a.addHelper("classPrivateFieldGet"),[this.receiver(e),s.types.cloneNode(i)])},boundGet(e){this.memoise(e,1);return s.types.callExpression(s.types.memberExpression(this.get(e),s.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:r,privateNamesMap:a,file:n}=this;const{name:o}=e.node.property.id;const{id:i,static:l,method:c,setId:u,getId:p}=a.get(o);const d=p||u;if(l){const a=c&&!d?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return s.types.callExpression(n.addHelper(a),[this.receiver(e),s.types.cloneNode(r),s.types.cloneNode(i),t])}if(c){if(u){return s.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),s.types.cloneNode(i),t])}return s.types.sequenceExpression([this.receiver(e),t,s.types.callExpression(n.addHelper("readOnlyError"),[s.types.stringLiteral(`#${o}`)])])}return s.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),s.types.cloneNode(i),t])},destructureSet(e){const{classRef:t,privateNamesMap:r,file:a}=this;const{name:n}=e.node.property.id;const{id:o,static:i}=r.get(n);if(i){try{var l=a.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return s.types.memberExpression(s.types.callExpression(l,[this.receiver(e),s.types.cloneNode(t),s.types.cloneNode(o)]),s.types.identifier("value"))}return s.types.memberExpression(s.types.callExpression(a.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),s.types.cloneNode(o)]),s.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,i.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,i.default)(this.get(e),this.receiver(e),t,true)}};const f={get(e){const{privateNamesMap:t,file:r}=this;const{object:a}=e.node;const{name:n}=e.node.property.id;return s.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:s.types.cloneNode(a),PROP:s.types.cloneNode(t.get(n).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return s.types.callExpression(s.types.memberExpression(this.get(e),s.types.identifier("bind")),[s.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return s.types.callExpression(this.get(e),t)},optionalCall(e,t){return s.types.optionalCallExpression(this.get(e),t,true)}};function transformPrivateNamesUsage(e,t,r,{privateFieldsAsProperties:s,noDocumentAll:a,innerBinding:n},i){if(!r.size)return;const l=t.get("body");const c=s?f:d;(0,o.default)(l,u,Object.assign({privateNamesMap:r,classRef:e,file:i},c,{noDocumentAll:a,innerBinding:n}));l.traverse(p,{privateNamesMap:r,classRef:e,file:i,privateFieldsAsProperties:s,innerBinding:n})}function buildPrivateFieldInitLoose(e,t,r){const{id:a}=r.get(t.node.key.id.name);const n=t.node.value||t.scope.buildUndefinedNode();return s.template.statement.ast` - Object.defineProperty(${e}, ${s.types.cloneNode(a)}, { - // configurable is false by default - // enumerable is false by default - writable: true, - value: ${n} - }); - `}function buildPrivateInstanceFieldInitSpec(e,t,r,a){const{id:n}=r.get(t.node.key.id.name);const o=t.node.value||t.scope.buildUndefinedNode();{if(!a.availableHelper("classPrivateFieldInitSpec")){return s.template.statement.ast`${s.types.cloneNode(n)}.set(${e}, { - // configurable is always false for private elements - // enumerable is always false for private elements + `;if(!c){y.arguments[1].body.directives.push(s.types.directive(s.types.directiveLiteral("use strict")))}let g=y;let h="arguments.1.body.body.0";if(l){g=s.template.statement.ast`let ${e} = ${y}`;h="declarations.0.init."+h}return{instanceNodes:[s.template.statement.ast`${s.types.cloneNode(i)}(this)`],wrapClass(e){e.replaceWith(g);return e.get(h)}}}},5929:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.isLoose=isLoose;r.shouldTransform=shouldTransform;var s=t(327);const a=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});r.FEATURES=a;const n=new Map([[a.fields,"@babel/plugin-transform-class-properties"],[a.privateMethods,"@babel/plugin-transform-private-methods"],[a.privateIn,"@babel/plugin-transform-private-property-in-object"]]);const o="@babel/plugin-class-features/featuresKey";const i="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,r,t){if(!hasFeature(e,r)||canIgnoreLoose(e,r)){e.set(o,e.get(o)|r);if(t==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,r,true);e.set(l,e.get(l)|r)}else if(t==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,r,false);e.set(l,e.get(l)|r)}else{setLoose(e,r,t)}}let s;let a;for(const[r,t]of n){if(!hasFeature(e,r))continue;const n=isLoose(e,r);if(canIgnoreLoose(e,r)){continue}else if(s===!n){throw new Error("'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, "+"@babel/plugin-transform-private-methods and "+"@babel/plugin-transform-private-property-in-object (when they are enabled).")}else{s=n;a=t}}if(s!==undefined){for(const[r,t]of n){if(hasFeature(e,r)&&isLoose(e,r)!==s){setLoose(e,r,s);console.warn(`Though the "loose" option was set to "${!s}" in your @babel/preset-env `+`config, it will not be used for ${t} since the "loose" mode option was set to `+`"${s}" for ${a}.\nThe "loose" option must be the `+`same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods `+`and @babel/plugin-transform-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${t}", { "loose": ${s} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,r){return!!(e.get(o)&r)}function isLoose(e,r){return!!(e.get(i)&r)}function setLoose(e,r,t){if(t)e.set(i,e.get(i)|r);else e.set(i,e.get(i)&~r);e.set(l,e.get(l)&~r)}function canIgnoreLoose(e,r){return!!(e.get(l)&r)}function shouldTransform(e,r){let t=null;let n=null;let o=null;let i=null;let l=null;if((0,s.hasOwnDecorators)(e.node)){t=e.get("decorators.0")}for(const r of e.get("body.body")){if(!t&&(0,s.hasOwnDecorators)(r.node)){t=r.get("decorators.0")}if(!n&&r.isClassProperty()){n=r}if(!o&&r.isClassPrivateProperty()){o=r}if(!i&&r.isClassPrivateMethod!=null&&r.isClassPrivateMethod()){i=r}if(!l&&r.isStaticBlock!=null&&r.isStaticBlock()){l=r}}if(t&&o){throw o.buildCodeFrameError("Private fields in decorated classes are not supported yet.")}if(t&&i){throw i.buildCodeFrameError("Private methods in decorated classes are not supported yet.")}if(t&&!hasFeature(r,a.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "version": "legacy" }], '+'make sure it comes *before* "@babel/plugin-transform-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "version": "legacy" }]\n'+'\t["@babel/plugin-transform-class-properties", { "loose": true }]')}if(i&&!hasFeature(r,a.privateMethods)){throw i.buildCodeFrameError("Class private methods are not enabled. "+"Please add `@babel/plugin-transform-private-methods` to your configuration.")}if((n||o)&&!hasFeature(r,a.fields)&&!hasFeature(r,a.privateMethods)){throw e.buildCodeFrameError("Class fields are not enabled. "+"Please add `@babel/plugin-transform-class-properties` to your configuration.")}if(l&&!hasFeature(r,a.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-transform-class-static-block` to your configuration.")}if(t||i||l){return true}if((n||o)&&hasFeature(r,a.fields)){return true}return false}},9076:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildCheckInRHS=buildCheckInRHS;r.buildFieldsInitNodes=buildFieldsInitNodes;r.buildPrivateNamesMap=buildPrivateNamesMap;r.buildPrivateNamesNodes=buildPrivateNamesNodes;r.transformPrivateNamesUsage=transformPrivateNamesUsage;var s=t(8304);var a=t(9775);var n=t(8552);var o=t(3590);var i=t(1475);var l=t(365);var c=t(9769);var d=t(5963);function buildPrivateNamesMap(e){const r=new Map;for(const t of e){if(t.isPrivate()){const{name:e}=t.node.key.id;const s=r.has(e)?r.get(e):{id:t.scope.generateUidIdentifier(e),static:t.node.static,method:!t.isProperty()};if(t.isClassPrivateMethod()){if(t.node.kind==="get"){s.getId=t.scope.generateUidIdentifier(`get_${e}`)}else if(t.node.kind==="set"){s.setId=t.scope.generateUidIdentifier(`set_${e}`)}else if(t.node.kind==="method"){s.methodId=t.scope.generateUidIdentifier(e)}}r.set(e,s)}}return r}function buildPrivateNamesNodes(e,r,t,a){const n=[];for(const[o,i]of e){const{static:e,method:c,getId:d,setId:u}=i;const p=d||u;const f=s.types.cloneNode(i.id);let y;if(r){y=s.types.callExpression(a.addHelper("classPrivateFieldLooseKey"),[s.types.stringLiteral(o)])}else if(t){y=s.types.callExpression(s.types.identifier("Symbol"),[s.types.stringLiteral(o)])}else if(!e){y=s.types.newExpression(s.types.identifier(!c||p?"WeakMap":"WeakSet"),[])}if(y){(0,l.default)(y);n.push(s.template.statement.ast`var ${f} = ${y}`)}}return n}function privateNameVisitorFactory(e){const r=s.traverse.visitors.merge([Object.assign({},e),n.default]);const t=Object.assign({},e,{Class(e){const{privateNamesMap:s}=this;const a=e.get("body.body");const n=new Map(s);const o=[];for(const e of a){if(!e.isPrivate())continue;const{name:r}=e.node.key.id;n.delete(r);o.push(r)}if(!o.length){return}e.get("body").traverse(r,Object.assign({},this,{redeclared:o}));e.traverse(t,Object.assign({},this,{privateNamesMap:n}));e.skipKey("body")}});return t}const u=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:r}){const{privateNamesMap:t,redeclared:s}=this;const{node:a,parentPath:n}=e;if(!n.isMemberExpression({property:a})&&!n.isOptionalMemberExpression({property:a})){return}const{name:o}=a.id;if(!t.has(o))return;if(s&&s.includes(o))return;this.handle(n,r)}});function unshadow(e,r,t){while((s=r)!=null&&s.hasBinding(e)&&!r.bindingIdentifierEquals(e,t)){var s;r.rename(e);r=r.parent}}function buildCheckInRHS(e,r,t){if(t||!(r.availableHelper!=null&&r.availableHelper("checkInRHS")))return e;return s.types.callExpression(r.addHelper("checkInRHS"),[e])}const p=privateNameVisitorFactory({BinaryExpression(e,{file:r}){const{operator:t,left:a,right:n}=e.node;if(t!=="in")return;if(!s.types.isPrivateName(a))return;const{privateFieldsAsProperties:o,privateNamesMap:i,redeclared:l}=this;const{name:c}=a.id;if(!i.has(c))return;if(l&&l.includes(c))return;unshadow(this.classRef.name,e.scope,this.innerBinding);if(o){const{id:t}=i.get(c);e.replaceWith(s.template.expression.ast` + Object.prototype.hasOwnProperty.call(${buildCheckInRHS(n,r)}, ${s.types.cloneNode(t)}) + `);return}const{id:d,static:u}=i.get(c);if(u){e.replaceWith(s.template.expression.ast`${buildCheckInRHS(n,r)} === ${s.types.cloneNode(this.classRef)}`);return}e.replaceWith(s.template.expression.ast`${s.types.cloneNode(d)}.has(${buildCheckInRHS(n,r)})`)}});const f={memoise(e,r){const{scope:t}=e;const{object:s}=e.node;const a=t.maybeGenerateMemoised(s);if(!a){return}this.memoiser.set(s,a,r)},receiver(e){const{object:r}=e.node;if(this.memoiser.has(r)){return s.types.cloneNode(this.memoiser.get(r))}return s.types.cloneNode(r)},get(e){const{classRef:r,privateNamesMap:t,file:a,innerBinding:n}=this;const{name:o}=e.node.property.id;const{id:i,static:l,method:c,methodId:d,getId:u,setId:p}=t.get(o);const f=u||p;if(l){const t=c&&!f?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";unshadow(r.name,e.scope,n);return s.types.callExpression(a.addHelper(t),[this.receiver(e),s.types.cloneNode(r),s.types.cloneNode(i)])}if(c){if(f){if(!u&&p){if(a.availableHelper("writeOnlyError")){return s.types.sequenceExpression([this.receiver(e),s.types.callExpression(a.addHelper("writeOnlyError"),[s.types.stringLiteral(`#${o}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return s.types.callExpression(a.addHelper("classPrivateFieldGet"),[this.receiver(e),s.types.cloneNode(i)])}return s.types.callExpression(a.addHelper("classPrivateMethodGet"),[this.receiver(e),s.types.cloneNode(i),s.types.cloneNode(d)])}return s.types.callExpression(a.addHelper("classPrivateFieldGet"),[this.receiver(e),s.types.cloneNode(i)])},boundGet(e){this.memoise(e,1);return s.types.callExpression(s.types.memberExpression(this.get(e),s.types.identifier("bind")),[this.receiver(e)])},set(e,r){const{classRef:t,privateNamesMap:a,file:n}=this;const{name:o}=e.node.property.id;const{id:i,static:l,method:c,setId:d,getId:u}=a.get(o);const p=u||d;if(l){const a=c&&!p?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return s.types.callExpression(n.addHelper(a),[this.receiver(e),s.types.cloneNode(t),s.types.cloneNode(i),r])}if(c){if(d){return s.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),s.types.cloneNode(i),r])}return s.types.sequenceExpression([this.receiver(e),r,s.types.callExpression(n.addHelper("readOnlyError"),[s.types.stringLiteral(`#${o}`)])])}return s.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),s.types.cloneNode(i),r])},destructureSet(e){const{classRef:r,privateNamesMap:t,file:a}=this;const{name:n}=e.node.property.id;const{id:o,static:i}=t.get(n);if(i){try{var l=a.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return s.types.memberExpression(s.types.callExpression(l,[this.receiver(e),s.types.cloneNode(r),s.types.cloneNode(o)]),s.types.identifier("value"))}return s.types.memberExpression(s.types.callExpression(a.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),s.types.cloneNode(o)]),s.types.identifier("value"))},call(e,r){this.memoise(e,1);return(0,i.default)(this.get(e),this.receiver(e),r,false)},optionalCall(e,r){this.memoise(e,1);return(0,i.default)(this.get(e),this.receiver(e),r,true)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};const y={get(e){const{privateNamesMap:r,file:t}=this;const{object:a}=e.node;const{name:n}=e.node.property.id;return s.template.expression`BASE(REF, PROP)[PROP]`({BASE:t.addHelper("classPrivateFieldLooseBase"),REF:s.types.cloneNode(a),PROP:s.types.cloneNode(r.get(n).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return s.types.callExpression(s.types.memberExpression(this.get(e),s.types.identifier("bind")),[s.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,r){return s.types.callExpression(this.get(e),r)},optionalCall(e,r){return s.types.optionalCallExpression(this.get(e),r,true)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function transformPrivateNamesUsage(e,r,t,{privateFieldsAsProperties:s,noDocumentAll:a,innerBinding:n},i){if(!t.size)return;const l=r.get("body");const c=s?y:f;(0,o.default)(l,u,Object.assign({privateNamesMap:t,classRef:e,file:i},c,{noDocumentAll:a,innerBinding:n}));l.traverse(p,{privateNamesMap:t,classRef:e,file:i,privateFieldsAsProperties:s,innerBinding:n})}function buildPrivateFieldInitLoose(e,r,t){const{id:a}=t.get(r.node.key.id.name);const n=r.node.value||r.scope.buildUndefinedNode();return inheritPropComments(s.template.statement.ast` + Object.defineProperty(${e}, ${s.types.cloneNode(a)}, { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${n} + }); + `,r)}function buildPrivateInstanceFieldInitSpec(e,r,t,a){const{id:n}=t.get(r.node.key.id.name);const o=r.node.value||r.scope.buildUndefinedNode();{if(!a.availableHelper("classPrivateFieldInitSpec")){return inheritPropComments(s.template.statement.ast`${s.types.cloneNode(n)}.set(${e}, { + // configurable is always false for private elements + // enumerable is always false for private elements + writable: true, + value: ${o}, + })`,r)}}const i=a.addHelper("classPrivateFieldInitSpec");return inheritPropComments(s.template.statement.ast`${i}( + ${s.types.thisExpression()}, + ${s.types.cloneNode(n)}, + { writable: true, - value: ${o}, - })`}}const i=a.addHelper("classPrivateFieldInitSpec");return s.template.statement.ast`${i}( - ${s.types.thisExpression()}, - ${s.types.cloneNode(n)}, - { - writable: true, - value: ${o} - }, - )`}function buildPrivateStaticFieldInitSpec(e,t){const r=t.get(e.node.key.id.name);const{id:a,getId:n,setId:o,initAdded:i}=r;const l=n||o;if(!e.isProperty()&&(i||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},r,{initAdded:true}));return s.template.statement.ast` + value: ${o} + }, + )`,r)}function buildPrivateStaticFieldInitSpec(e,r){const t=r.get(e.node.key.id.name);const{id:a,getId:n,setId:o,initAdded:i}=t;const l=n||o;if(!e.isProperty()&&(i||!l))return;if(l){r.set(e.node.key.id.name,Object.assign({},t,{initAdded:true}));return inheritPropComments(s.template.statement.ast` + var ${s.types.cloneNode(a)} = { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${n?n.name:e.scope.buildUndefinedNode()}, + set: ${o?o.name:e.scope.buildUndefinedNode()} + } + `,e)}const c=e.node.value||e.scope.buildUndefinedNode();return inheritPropComments(s.template.statement.ast` var ${s.types.cloneNode(a)} = { // configurable is false by default // enumerable is false by default - // writable is false by default - get: ${n?n.name:e.scope.buildUndefinedNode()}, - set: ${o?o.name:e.scope.buildUndefinedNode()} - } - `}const c=e.node.value||e.scope.buildUndefinedNode();return s.template.statement.ast` - var ${s.types.cloneNode(a)} = { - // configurable is false by default - // enumerable is false by default - writable: true, - value: ${c} - }; - `}function buildPrivateMethodInitLoose(e,t,r){const a=r.get(t.node.key.id.name);const{methodId:n,id:o,getId:i,setId:l,initAdded:c}=a;if(c)return;if(n){return s.template.statement.ast` + writable: true, + value: ${c} + }; + `,e)}function buildPrivateMethodInitLoose(e,r,t){const a=t.get(r.node.key.id.name);const{methodId:n,id:o,getId:i,setId:l,initAdded:c}=a;if(c)return;if(n){return inheritPropComments(s.template.statement.ast` Object.defineProperty(${e}, ${o}, { // configurable is false by default // enumerable is false by default // writable is false by default value: ${n.name} }); - `}const u=i||l;if(u){r.set(t.node.key.id.name,Object.assign({},a,{initAdded:true}));return s.template.statement.ast` + `,r)}const d=i||l;if(d){t.set(r.node.key.id.name,Object.assign({},a,{initAdded:true}));return inheritPropComments(s.template.statement.ast` + Object.defineProperty(${e}, ${o}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${i?i.name:r.scope.buildUndefinedNode()}, + set: ${l?l.name:r.scope.buildUndefinedNode()} + }); + `,r)}}function buildPrivateInstanceMethodInitSpec(e,r,t,s){const a=t.get(r.node.key.id.name);const{getId:n,setId:o,initAdded:i}=a;if(i)return;const l=n||o;if(l){return buildPrivateAccessorInitialization(e,r,t,s)}return buildPrivateInstanceMethodInitialization(e,r,t,s)}function buildPrivateAccessorInitialization(e,r,t,a){const n=t.get(r.node.key.id.name);const{id:o,getId:i,setId:l}=n;t.set(r.node.key.id.name,Object.assign({},n,{initAdded:true}));{if(!a.availableHelper("classPrivateFieldInitSpec")){return inheritPropComments(s.template.statement.ast` + ${o}.set(${e}, { + get: ${i?i.name:r.scope.buildUndefinedNode()}, + set: ${l?l.name:r.scope.buildUndefinedNode()} + }); + `,r)}}const c=a.addHelper("classPrivateFieldInitSpec");return inheritPropComments(s.template.statement.ast`${c}( + ${s.types.thisExpression()}, + ${s.types.cloneNode(o)}, + { + get: ${i?i.name:r.scope.buildUndefinedNode()}, + set: ${l?l.name:r.scope.buildUndefinedNode()} + }, + )`,r)}function buildPrivateInstanceMethodInitialization(e,r,t,a){const n=t.get(r.node.key.id.name);const{id:o}=n;{if(!a.availableHelper("classPrivateMethodInitSpec")){return inheritPropComments(s.template.statement.ast`${o}.add(${e})`,r)}}const i=a.addHelper("classPrivateMethodInitSpec");return inheritPropComments(s.template.statement.ast`${i}( + ${s.types.thisExpression()}, + ${s.types.cloneNode(o)} + )`,r)}function buildPublicFieldInitLoose(e,r){const{key:t,computed:a}=r.node;const n=r.node.value||r.scope.buildUndefinedNode();return inheritPropComments(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(e,t,a||s.types.isLiteral(t)),n)),r)}function buildPublicFieldInitSpec(e,r,t){const{key:a,computed:n}=r.node;const o=r.node.value||r.scope.buildUndefinedNode();return inheritPropComments(s.types.expressionStatement(s.types.callExpression(t.addHelper("defineProperty"),[e,n||s.types.isLiteral(a)?a:s.types.stringLiteral(a.name),o])),r)}function buildPrivateStaticMethodInitLoose(e,r,t,a){const n=a.get(r.node.key.id.name);const{id:o,methodId:i,getId:l,setId:c,initAdded:d}=n;if(d)return;const u=l||c;if(u){a.set(r.node.key.id.name,Object.assign({},n,{initAdded:true}));return inheritPropComments(s.template.statement.ast` + Object.defineProperty(${e}, ${o}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${l?l.name:r.scope.buildUndefinedNode()}, + set: ${c?c.name:r.scope.buildUndefinedNode()} + }) + `,r)}return inheritPropComments(s.template.statement.ast` Object.defineProperty(${e}, ${o}, { // configurable is false by default // enumerable is false by default // writable is false by default - get: ${i?i.name:t.scope.buildUndefinedNode()}, - set: ${l?l.name:t.scope.buildUndefinedNode()} + value: ${i.name} }); - `}}function buildPrivateInstanceMethodInitSpec(e,t,r,s){const a=r.get(t.node.key.id.name);const{getId:n,setId:o,initAdded:i}=a;if(i)return;const l=n||o;if(l){return buildPrivateAccessorInitialization(e,t,r,s)}return buildPrivateInstanceMethodInitalization(e,t,r,s)}function buildPrivateAccessorInitialization(e,t,r,a){const n=r.get(t.node.key.id.name);const{id:o,getId:i,setId:l}=n;r.set(t.node.key.id.name,Object.assign({},n,{initAdded:true}));{if(!a.availableHelper("classPrivateFieldInitSpec")){return s.template.statement.ast` - ${o}.set(${e}, { - get: ${i?i.name:t.scope.buildUndefinedNode()}, - set: ${l?l.name:t.scope.buildUndefinedNode()} + `,r)}function buildPrivateMethodDeclaration(e,r,t=false){const a=r.get(e.node.key.id.name);const{id:n,methodId:o,getId:i,setId:l,getterDeclared:c,setterDeclared:d,static:u}=a;const{params:p,body:f,generator:y,async:g}=e.node;const h=i&&!c&&p.length===0;const b=l&&!d&&p.length>0;let x=o;if(h){r.set(e.node.key.id.name,Object.assign({},a,{getterDeclared:true}));x=i}else if(b){r.set(e.node.key.id.name,Object.assign({},a,{setterDeclared:true}));x=l}else if(u&&!t){x=n}return inheritPropComments(s.types.functionDeclaration(s.types.cloneNode(x),p,f,y,g),e)}const g=s.traverse.visitors.merge([{UnaryExpression(e){const{node:r}=e;if(r.operator==="delete"){const t=(0,c.skipTransparentExprWrapperNodes)(r.argument);if(s.types.isThisExpression(t)){e.replaceWith(s.types.booleanLiteral(true))}}},ThisExpression(e,r){r.needsClassRef=true;e.replaceWith(s.types.cloneNode(r.classRef))},MetaProperty(e){const{node:r,scope:t}=e;if(r.meta.name==="new"&&r.property.name==="target"){e.replaceWith(t.buildUndefinedNode())}}},n.default]);const h={ReferencedIdentifier(e,r){if(e.scope.bindingIdentifierEquals(e.node.name,r.innerBinding)){r.needsClassRef=true;e.node.name=r.classRef.name}}};function replaceThisContext(e,r,t){var s;const a={classRef:r,needsClassRef:false,innerBinding:t};if(!e.isMethod()){e.traverse(g,a)}if(t!=null&&(s=a.classRef)!=null&&s.name&&a.classRef.name!==t.name){e.traverse(h,a)}return a.needsClassRef}function isNameOrLength({key:e,computed:r}){if(e.type==="Identifier"){return!r&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,r){s.types.inheritLeadingComments(e,r.node);s.types.inheritInnerComments(e,r.node);return e}function buildFieldsInitNodes(e,r,t,n,o,i,l,c,u){var p,f;let y=0;let g;const h=[];const b=[];const x=[];let v=null;const j=s.types.isIdentifier(r)?()=>r:()=>{var e;(e=g)!=null?e:g=t[0].scope.generateUidIdentifierBasedOnNode(r);return g};const w=(p=e)!=null?p:t[0].scope.generateUidIdentifier("class");(f=e)!=null?f:e=s.types.cloneNode(u);for(const r of t){r.isClassProperty()&&d.assertFieldTransformed(r);const t=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(r.node))&&r.node.static;const p=!t;const f=r.isPrivate();const g=!f;const v=r.isProperty();const E=!v;const _=r.isStaticBlock==null?void 0:r.isStaticBlock();if(t)y|=1;if(t||E&&f||_){new a.default({methodPath:r,constantSuper:c,file:o,refToPreserve:u,getSuperRef:j,getObjectRef(){y|=2;if(t||_){return w}else{return s.types.memberExpression(w,s.types.identifier("prototype"))}}}).replace();const e=replaceThisContext(r,w,u);if(e){y|=2}}switch(true){case _:{const e=r.node.body;if(e.length===1&&s.types.isExpressionStatement(e[0])){h.push(inheritPropComments(e[0],r))}else{h.push(s.types.inheritsComments(s.template.statement.ast`(() => { ${e} })()`,r.node))}break}case t&&f&&v&&l:h.push(buildPrivateFieldInitLoose(s.types.cloneNode(e),r,n));break;case t&&f&&v&&!l:h.push(buildPrivateStaticFieldInitSpec(r,n));break;case t&&g&&v&&i:if(!isNameOrLength(r.node)){h.push(buildPublicFieldInitLoose(s.types.cloneNode(e),r));break}case t&&g&&v&&!i:h.push(buildPublicFieldInitSpec(s.types.cloneNode(e),r,o));break;case p&&f&&v&&l:b.push(buildPrivateFieldInitLoose(s.types.thisExpression(),r,n));break;case p&&f&&v&&!l:b.push(buildPrivateInstanceFieldInitSpec(s.types.thisExpression(),r,n,o));break;case p&&f&&E&&l:b.unshift(buildPrivateMethodInitLoose(s.types.thisExpression(),r,n));x.push(buildPrivateMethodDeclaration(r,n,l));break;case p&&f&&E&&!l:b.unshift(buildPrivateInstanceMethodInitSpec(s.types.thisExpression(),r,n,o));x.push(buildPrivateMethodDeclaration(r,n,l));break;case t&&f&&E&&!l:h.unshift(buildPrivateStaticFieldInitSpec(r,n));x.push(buildPrivateMethodDeclaration(r,n,l));break;case t&&f&&E&&l:h.unshift(buildPrivateStaticMethodInitLoose(s.types.cloneNode(e),r,o,n));x.push(buildPrivateMethodDeclaration(r,n,l));break;case p&&g&&v&&i:b.push(buildPublicFieldInitLoose(s.types.thisExpression(),r));break;case p&&g&&v&&!i:b.push(buildPublicFieldInitSpec(s.types.thisExpression(),r,o));break;default:throw new Error("Unreachable.")}}if(y&2&&u!=null){v=s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(w),s.types.cloneNode(u)))}return{staticNodes:h.filter(Boolean),instanceNodes:b.filter(Boolean),pureStaticNodes:x.filter(Boolean),classBindingNode:v,wrapClass(r){for(const e of t){e.node.leadingComments=null;e.remove()}if(g){r.scope.push({id:s.types.cloneNode(g)});r.set("superClass",s.types.assignmentExpression("=",g,r.node.superClass))}if(y!==0){if(r.isClassExpression()){r.scope.push({id:e});r.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(e),r.node))}else{if(u==null){r.node.id=e}if(v!=null){r.scope.push({id:w})}}}return r}}}},269:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"FEATURES",{enumerable:true,get:function(){return d.FEATURES}});Object.defineProperty(r,"buildCheckInRHS",{enumerable:true,get:function(){return i.buildCheckInRHS}});r.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(r,"enableFeature",{enumerable:true,get:function(){return d.enableFeature}});Object.defineProperty(r,"injectInitialization",{enumerable:true,get:function(){return c.injectInitialization}});var s=t(8304);var a=t(4940);var n=t(4097);var o=t(7849);var i=t(9076);var l=t(327);var c=t(1822);var d=t(5929);var u=t(5963);const p="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:r,loose:t,manipulateOptions:f,api:y,inherits:g}){{var h;(h=y)!=null?h:y={assumption:()=>void 0}}const b=y.assumption("setPublicClassFields");const x=y.assumption("privateFieldsAsSymbols");const v=y.assumption("privateFieldsAsProperties");const j=y.assumption("constantSuper");const w=y.assumption("noDocumentAll");if(v&&x){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const E=v||x;if(t===true){const r=[];if(b!==undefined){r.push(`"setPublicClassFields"`)}if(v!==undefined){r.push(`"privateFieldsAsProperties"`)}if(x!==undefined){r.push(`"privateFieldsAsSymbols"`)}if(r.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${r.join(" and ")}`+` assumption${r.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:f,inherits:g,pre(e){(0,d.enableFeature)(e,r,t);{if(typeof e.get(p)==="number"){e.set(p,"7.22.15");return}}if(!e.get(p)||o.lt(e.get(p),"7.22.15")){e.set(p,"7.22.15")}},visitor:{Class(e,{file:t}){var n;if(t.get(p)!=="7.22.15")return;if(!(0,d.shouldTransform)(e,t))return;const o=e.isClassDeclaration();if(o)(0,u.assertFieldTransformed)(e);const f=(0,d.isLoose)(t,r);let y;const g=(0,l.hasDecorators)(e.node);const h=[];const _=[];const S=[];const k=new Set;const C=e.get("body");for(const e of C.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){S.push(e)}if(e.isPrivate()){const{name:r}=e.node.key.id;const t=`get ${r}`;const s=`set ${r}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(k.has(t)||k.has(r)&&!k.has(s)){throw e.buildCodeFrameError("Duplicate private field")}k.add(t).add(r)}else if(e.node.kind==="set"){if(k.has(s)||k.has(r)&&!k.has(t)){throw e.buildCodeFrameError("Duplicate private field")}k.add(s).add(r)}}else{if(k.has(r)&&!k.has(t)&&!k.has(s)||k.has(r)&&(k.has(t)||k.has(s))){throw e.buildCodeFrameError("Duplicate private field")}k.add(r)}}if(e.isClassMethod({kind:"constructor"})){y=e}else{_.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){h.push(e)}}}{if(!h.length&&!g)return}const P=e.node.id;let D;if(!P||!o){(0,a.default)(e);D=e.scope.generateUidIdentifier("class")}const I=(n=D)!=null?n:s.types.cloneNode(P);const A=(0,i.buildPrivateNamesMap)(h);const O=(0,i.buildPrivateNamesNodes)(A,v!=null?v:f,x!=null?x:false,t);(0,i.transformPrivateNamesUsage)(I,e,A,{privateFieldsAsProperties:E!=null?E:f,noDocumentAll:w,innerBinding:P},t);let R,F,M,N,L,B;{if(g){F=N=R=[];({instanceNodes:M,wrapClass:B}=(0,l.buildDecoratedClass)(I,e,_,t))}else{R=(0,c.extractComputedKeys)(e,S,t);({staticNodes:F,pureStaticNodes:N,instanceNodes:M,classBindingNode:L,wrapClass:B}=(0,i.buildFieldsInitNodes)(D,e.node.superClass,h,A,t,b!=null?b:f,E!=null?E:f,j!=null?j:f,P))}}if(M.length>0){(0,c.injectInitialization)(e,y,M,((e,r)=>{{if(g)return}for(const t of h){if(s.types.isStaticBlock!=null&&s.types.isStaticBlock(t.node)||t.node.static)continue;t.traverse(e,r)}}))}const W=B(e);W.insertBefore([...O,...R]);if(F.length>0){W.insertAfter(F)}if(N.length>0){W.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(N)}if(L!=null&&o){W.insertAfter(L)}},ExportDefaultDeclaration(e,{file:r}){{if(r.get(p)!=="7.22.15")return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,l.hasDecorators)(t.node)){if(t.node.id){(0,n.default)(e)}else{t.node.type="ClassExpression"}}}}}}}},1822:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.extractComputedKeys=extractComputedKeys;r.injectInitialization=injectInitialization;var s=t(8304);var a=t(8552);const n=s.traverse.visitors.merge([{Super(e){const{node:r,parentPath:t}=e;if(t.isCallExpression({callee:r})){this.push(t)}}},a.default]);const o={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:r}){if(r.hasOwnBinding(e.node.name)){r.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,r){if(r.classBinding&&r.classBinding===e.scope.getBinding(e.node.name)){const t=r.file.addHelper("classNameTDZError");const a=s.types.callExpression(t,[s.types.stringLiteral(e.node.name)]);e.replaceWith(s.types.sequenceExpression([a,e.node]));e.skip()}}const i={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,r,t,a){if(!t.length)return;const i=!!e.node.superClass;if(!r){const t=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));if(i){t.params=[s.types.restElement(s.types.identifier("args"))];t.body.body.push(s.template.statement.ast`super(...args)`)}[r]=e.get("body").unshiftContainer("body",t)}if(a){a(o,{scope:r.scope})}if(i){const e=[];r.traverse(n,e);let a=true;for(const r of e){if(a){r.insertAfter(t);a=false}else{r.insertAfter(t.map((e=>s.types.cloneNode(e))))}}}else{r.get("body").unshiftContainer("body",t)}}function extractComputedKeys(e,r,t){const a=[];const n={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:t};for(const t of r){const r=t.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,n)}else{r.traverse(i,n)}const o=t.node;if(!r.isConstantExpression()){const r=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:r,kind:"let"});a.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(r),o.key)));o.key=s.types.cloneNode(r)}}return a}},5963:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},7081:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildDecoratedClass=buildDecoratedClass;r.hasDecorators=hasDecorators;r.hasOwnDecorators=hasOwnDecorators;var s=t(8304);var a=t(7537);var n=t(7345);function hasOwnDecorators(e){return!!(e.decorators&&e.decorators.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,r){if(!r)return null;return s.types.objectProperty(s.types.identifier(e),r)}function method(e,r){return s.types.objectMethod("method",s.types.identifier(e),[],s.types.blockStatement(r))}function takeDecorators(e){let r;if(e.decorators&&e.decorators.length>0){r=s.types.arrayExpression(e.decorators.map((e=>e.expression)))}e.decorators=undefined;return r}function getKey(e){if(e.computed){return e.key}else if(s.types.isIdentifier(e.key)){return s.types.stringLiteral(e.key.name)}else{return s.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,r,t,o){const i=o.isClassMethod();if(o.isPrivate()){throw o.buildCodeFrameError(`Private ${i?"methods":"fields"} in decorated classes are not supported yet.`)}if(o.node.type==="ClassAccessorProperty"){throw o.buildCodeFrameError(`Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}if(o.node.type==="StaticBlock"){throw o.buildCodeFrameError(`Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}const{node:l,scope:c}=o;if(!o.isTSDeclareMethod()){new a.default({methodPath:o,objectRef:r,superRef:t,file:e,refToPreserve:r}).replace()}const d=[prop("kind",s.types.stringLiteral(s.types.isClassMethod(l)?l.kind:"field")),prop("decorators",takeDecorators(l)),prop("static",l.static&&s.types.booleanLiteral(true)),prop("key",getKey(l))].filter(Boolean);if(s.types.isClassMethod(l)){const e=l.computed?null:l.key;const r=s.types.toExpression(l);d.push(prop("value",(0,n.default)({node:r,id:e,scope:c})||r))}else if(s.types.isClassProperty(l)&&l.value){d.push(method("value",s.template.statements.ast`return ${l.value}`))}else{d.push(prop("value",c.buildUndefinedNode()))}o.remove();return s.types.objectExpression(d)}function addDecorateHelper(e){return e.addHelper("decorate")}function buildDecoratedClass(e,r,t,a){const{node:n,scope:o}=r;const i=o.generateUidIdentifier("initialize");const l=n.id&&r.isDeclaration();const c=r.isInStrictMode();const{superClass:d}=n;n.type="ClassDeclaration";if(!n.id)n.id=s.types.cloneNode(e);let u;if(d){u=o.generateUidIdentifierBasedOnNode(n.superClass,"super");n.superClass=u}const p=takeDecorators(n);const f=s.types.arrayExpression(t.filter((e=>!e.node.abstract&&e.node.type!=="TSIndexSignature")).map((e=>extractElementDescriptor(a,n.id,u,e))));const y=s.template.expression.ast` + ${addDecorateHelper(a)}( + ${p||s.types.nullLiteral()}, + function (${i}, ${d?s.types.cloneNode(u):null}) { + ${n} + return { F: ${s.types.cloneNode(n.id)}, d: ${f} }; + }, + ${d} + ) + `;if(!c){y.arguments[1].body.directives.push(s.types.directive(s.types.directiveLiteral("use strict")))}let g=y;let h="arguments.1.body.body.0";if(l){g=s.template.statement.ast`let ${e} = ${y}`;h="declarations.0.init."+h}return{instanceNodes:[s.template.statement.ast`${s.types.cloneNode(i)}(this)`],wrapClass(e){e.replaceWith(g);return e.get(h)}}}},2532:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.isLoose=isLoose;r.shouldTransform=shouldTransform;var s=t(7081);const a=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});r.FEATURES=a;const n=new Map([[a.fields,"@babel/plugin-transform-class-properties"],[a.privateMethods,"@babel/plugin-transform-private-methods"],[a.privateIn,"@babel/plugin-transform-private-property-in-object"]]);const o="@babel/plugin-class-features/featuresKey";const i="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,r,t){if(!hasFeature(e,r)||canIgnoreLoose(e,r)){e.set(o,e.get(o)|r);if(t==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,r,true);e.set(l,e.get(l)|r)}else if(t==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,r,false);e.set(l,e.get(l)|r)}else{setLoose(e,r,t)}}let s;let a;for(const[r,t]of n){if(!hasFeature(e,r))continue;const n=isLoose(e,r);if(canIgnoreLoose(e,r)){continue}else if(s===!n){throw new Error("'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, "+"@babel/plugin-transform-private-methods and "+"@babel/plugin-transform-private-property-in-object (when they are enabled).")}else{s=n;a=t}}if(s!==undefined){for(const[r,t]of n){if(hasFeature(e,r)&&isLoose(e,r)!==s){setLoose(e,r,s);console.warn(`Though the "loose" option was set to "${!s}" in your @babel/preset-env `+`config, it will not be used for ${t} since the "loose" mode option was set to `+`"${s}" for ${a}.\nThe "loose" option must be the `+`same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods `+`and @babel/plugin-transform-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${t}", { "loose": ${s} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,r){return!!(e.get(o)&r)}function isLoose(e,r){return!!(e.get(i)&r)}function setLoose(e,r,t){if(t)e.set(i,e.get(i)|r);else e.set(i,e.get(i)&~r);e.set(l,e.get(l)&~r)}function canIgnoreLoose(e,r){return!!(e.get(l)&r)}function shouldTransform(e,r){let t=null;let n=null;let o=null;let i=null;let l=null;if((0,s.hasOwnDecorators)(e.node)){t=e.get("decorators.0")}for(const r of e.get("body.body")){if(!t&&(0,s.hasOwnDecorators)(r.node)){t=r.get("decorators.0")}if(!n&&r.isClassProperty()){n=r}if(!o&&r.isClassPrivateProperty()){o=r}if(!i&&r.isClassPrivateMethod!=null&&r.isClassPrivateMethod()){i=r}if(!l&&r.isStaticBlock!=null&&r.isStaticBlock()){l=r}}if(t&&o){throw o.buildCodeFrameError("Private fields in decorated classes are not supported yet.")}if(t&&i){throw i.buildCodeFrameError("Private methods in decorated classes are not supported yet.")}if(t&&!hasFeature(r,a.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "version": "legacy" }], '+'make sure it comes *before* "@babel/plugin-transform-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "version": "legacy" }]\n'+'\t["@babel/plugin-transform-class-properties", { "loose": true }]')}if(i&&!hasFeature(r,a.privateMethods)){throw i.buildCodeFrameError("Class private methods are not enabled. "+"Please add `@babel/plugin-transform-private-methods` to your configuration.")}if((n||o)&&!hasFeature(r,a.fields)&&!hasFeature(r,a.privateMethods)){throw e.buildCodeFrameError("Class fields are not enabled. "+"Please add `@babel/plugin-transform-class-properties` to your configuration.")}if(l&&!hasFeature(r,a.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-transform-class-static-block` to your configuration.")}if(t||i||l){return true}if((n||o)&&hasFeature(r,a.fields)){return true}return false}},2736:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildCheckInRHS=buildCheckInRHS;r.buildFieldsInitNodes=buildFieldsInitNodes;r.buildPrivateNamesMap=buildPrivateNamesMap;r.buildPrivateNamesNodes=buildPrivateNamesNodes;r.transformPrivateNamesUsage=transformPrivateNamesUsage;var s=t(8304);var a=t(7537);var n=t(6982);var o=t(6981);var i=t(6392);var l=t(4198);var c=t(5385);var d=t(3678);function buildPrivateNamesMap(e){const r=new Map;for(const t of e){if(t.isPrivate()){const{name:e}=t.node.key.id;const s=r.has(e)?r.get(e):{id:t.scope.generateUidIdentifier(e),static:t.node.static,method:!t.isProperty()};if(t.isClassPrivateMethod()){if(t.node.kind==="get"){s.getId=t.scope.generateUidIdentifier(`get_${e}`)}else if(t.node.kind==="set"){s.setId=t.scope.generateUidIdentifier(`set_${e}`)}else if(t.node.kind==="method"){s.methodId=t.scope.generateUidIdentifier(e)}}r.set(e,s)}}return r}function buildPrivateNamesNodes(e,r,t,a){const n=[];for(const[o,i]of e){const{static:e,method:c,getId:d,setId:u}=i;const p=d||u;const f=s.types.cloneNode(i.id);let y;if(r){y=s.types.callExpression(a.addHelper("classPrivateFieldLooseKey"),[s.types.stringLiteral(o)])}else if(t){y=s.types.callExpression(s.types.identifier("Symbol"),[s.types.stringLiteral(o)])}else if(!e){y=s.types.newExpression(s.types.identifier(!c||p?"WeakMap":"WeakSet"),[])}if(y){(0,l.default)(y);n.push(s.template.statement.ast`var ${f} = ${y}`)}}return n}function privateNameVisitorFactory(e){const r=s.traverse.visitors.merge([Object.assign({},e),n.default]);const t=Object.assign({},e,{Class(e){const{privateNamesMap:s}=this;const a=e.get("body.body");const n=new Map(s);const o=[];for(const e of a){if(!e.isPrivate())continue;const{name:r}=e.node.key.id;n.delete(r);o.push(r)}if(!o.length){return}e.get("body").traverse(r,Object.assign({},this,{redeclared:o}));e.traverse(t,Object.assign({},this,{privateNamesMap:n}));e.skipKey("body")}});return t}const u=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:r}){const{privateNamesMap:t,redeclared:s}=this;const{node:a,parentPath:n}=e;if(!n.isMemberExpression({property:a})&&!n.isOptionalMemberExpression({property:a})){return}const{name:o}=a.id;if(!t.has(o))return;if(s&&s.includes(o))return;this.handle(n,r)}});function unshadow(e,r,t){while((s=r)!=null&&s.hasBinding(e)&&!r.bindingIdentifierEquals(e,t)){var s;r.rename(e);r=r.parent}}function buildCheckInRHS(e,r,t){if(t||!(r.availableHelper!=null&&r.availableHelper("checkInRHS")))return e;return s.types.callExpression(r.addHelper("checkInRHS"),[e])}const p=privateNameVisitorFactory({BinaryExpression(e,{file:r}){const{operator:t,left:a,right:n}=e.node;if(t!=="in")return;if(!s.types.isPrivateName(a))return;const{privateFieldsAsProperties:o,privateNamesMap:i,redeclared:l}=this;const{name:c}=a.id;if(!i.has(c))return;if(l&&l.includes(c))return;unshadow(this.classRef.name,e.scope,this.innerBinding);if(o){const{id:t}=i.get(c);e.replaceWith(s.template.expression.ast` + Object.prototype.hasOwnProperty.call(${buildCheckInRHS(n,r)}, ${s.types.cloneNode(t)}) + `);return}const{id:d,static:u}=i.get(c);if(u){e.replaceWith(s.template.expression.ast`${buildCheckInRHS(n,r)} === ${s.types.cloneNode(this.classRef)}`);return}e.replaceWith(s.template.expression.ast`${s.types.cloneNode(d)}.has(${buildCheckInRHS(n,r)})`)}});const f={memoise(e,r){const{scope:t}=e;const{object:s}=e.node;const a=t.maybeGenerateMemoised(s);if(!a){return}this.memoiser.set(s,a,r)},receiver(e){const{object:r}=e.node;if(this.memoiser.has(r)){return s.types.cloneNode(this.memoiser.get(r))}return s.types.cloneNode(r)},get(e){const{classRef:r,privateNamesMap:t,file:a,innerBinding:n}=this;const{name:o}=e.node.property.id;const{id:i,static:l,method:c,methodId:d,getId:u,setId:p}=t.get(o);const f=u||p;if(l){const t=c&&!f?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";unshadow(r.name,e.scope,n);return s.types.callExpression(a.addHelper(t),[this.receiver(e),s.types.cloneNode(r),s.types.cloneNode(i)])}if(c){if(f){if(!u&&p){if(a.availableHelper("writeOnlyError")){return s.types.sequenceExpression([this.receiver(e),s.types.callExpression(a.addHelper("writeOnlyError"),[s.types.stringLiteral(`#${o}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return s.types.callExpression(a.addHelper("classPrivateFieldGet"),[this.receiver(e),s.types.cloneNode(i)])}return s.types.callExpression(a.addHelper("classPrivateMethodGet"),[this.receiver(e),s.types.cloneNode(i),s.types.cloneNode(d)])}return s.types.callExpression(a.addHelper("classPrivateFieldGet"),[this.receiver(e),s.types.cloneNode(i)])},boundGet(e){this.memoise(e,1);return s.types.callExpression(s.types.memberExpression(this.get(e),s.types.identifier("bind")),[this.receiver(e)])},set(e,r){const{classRef:t,privateNamesMap:a,file:n}=this;const{name:o}=e.node.property.id;const{id:i,static:l,method:c,setId:d,getId:u}=a.get(o);const p=u||d;if(l){const a=c&&!p?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return s.types.callExpression(n.addHelper(a),[this.receiver(e),s.types.cloneNode(t),s.types.cloneNode(i),r])}if(c){if(d){return s.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),s.types.cloneNode(i),r])}return s.types.sequenceExpression([this.receiver(e),r,s.types.callExpression(n.addHelper("readOnlyError"),[s.types.stringLiteral(`#${o}`)])])}return s.types.callExpression(n.addHelper("classPrivateFieldSet"),[this.receiver(e),s.types.cloneNode(i),r])},destructureSet(e){const{classRef:r,privateNamesMap:t,file:a}=this;const{name:n}=e.node.property.id;const{id:o,static:i}=t.get(n);if(i){try{var l=a.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return s.types.memberExpression(s.types.callExpression(l,[this.receiver(e),s.types.cloneNode(r),s.types.cloneNode(o)]),s.types.identifier("value"))}return s.types.memberExpression(s.types.callExpression(a.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),s.types.cloneNode(o)]),s.types.identifier("value"))},call(e,r){this.memoise(e,1);return(0,i.default)(this.get(e),this.receiver(e),r,false)},optionalCall(e,r){this.memoise(e,1);return(0,i.default)(this.get(e),this.receiver(e),r,true)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};const y={get(e){const{privateNamesMap:r,file:t}=this;const{object:a}=e.node;const{name:n}=e.node.property.id;return s.template.expression`BASE(REF, PROP)[PROP]`({BASE:t.addHelper("classPrivateFieldLooseBase"),REF:s.types.cloneNode(a),PROP:s.types.cloneNode(r.get(n).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return s.types.callExpression(s.types.memberExpression(this.get(e),s.types.identifier("bind")),[s.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,r){return s.types.callExpression(this.get(e),r)},optionalCall(e,r){return s.types.optionalCallExpression(this.get(e),r,true)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function transformPrivateNamesUsage(e,r,t,{privateFieldsAsProperties:s,noDocumentAll:a,innerBinding:n},i){if(!t.size)return;const l=r.get("body");const c=s?y:f;(0,o.default)(l,u,Object.assign({privateNamesMap:t,classRef:e,file:i},c,{noDocumentAll:a,innerBinding:n}));l.traverse(p,{privateNamesMap:t,classRef:e,file:i,privateFieldsAsProperties:s,innerBinding:n})}function buildPrivateFieldInitLoose(e,r,t){const{id:a}=t.get(r.node.key.id.name);const n=r.node.value||r.scope.buildUndefinedNode();return inheritPropComments(s.template.statement.ast` + Object.defineProperty(${e}, ${s.types.cloneNode(a)}, { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${n} }); - `}}const c=a.addHelper("classPrivateFieldInitSpec");return s.template.statement.ast`${c}( - ${s.types.thisExpression()}, - ${s.types.cloneNode(o)}, - { - get: ${i?i.name:t.scope.buildUndefinedNode()}, - set: ${l?l.name:t.scope.buildUndefinedNode()} - }, - )`}function buildPrivateInstanceMethodInitalization(e,t,r,a){const n=r.get(t.node.key.id.name);const{id:o}=n;{if(!a.availableHelper("classPrivateMethodInitSpec")){return s.template.statement.ast`${o}.add(${e})`}}const i=a.addHelper("classPrivateMethodInitSpec");return s.template.statement.ast`${i}( - ${s.types.thisExpression()}, - ${s.types.cloneNode(o)} - )`}function buildPublicFieldInitLoose(e,t){const{key:r,computed:a}=t.node;const n=t.node.value||t.scope.buildUndefinedNode();return s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(e,r,a||s.types.isLiteral(r)),n))}function buildPublicFieldInitSpec(e,t,r){const{key:a,computed:n}=t.node;const o=t.node.value||t.scope.buildUndefinedNode();return s.types.expressionStatement(s.types.callExpression(r.addHelper("defineProperty"),[e,n||s.types.isLiteral(a)?a:s.types.stringLiteral(a.name),o]))}function buildPrivateStaticMethodInitLoose(e,t,r,a){const n=a.get(t.node.key.id.name);const{id:o,methodId:i,getId:l,setId:c,initAdded:u}=n;if(u)return;const p=l||c;if(p){a.set(t.node.key.id.name,Object.assign({},n,{initAdded:true}));return s.template.statement.ast` + `,r)}function buildPrivateInstanceFieldInitSpec(e,r,t,a){const{id:n}=t.get(r.node.key.id.name);const o=r.node.value||r.scope.buildUndefinedNode();{if(!a.availableHelper("classPrivateFieldInitSpec")){return inheritPropComments(s.template.statement.ast`${s.types.cloneNode(n)}.set(${e}, { + // configurable is always false for private elements + // enumerable is always false for private elements + writable: true, + value: ${o}, + })`,r)}}const i=a.addHelper("classPrivateFieldInitSpec");return inheritPropComments(s.template.statement.ast`${i}( + ${s.types.thisExpression()}, + ${s.types.cloneNode(n)}, + { + writable: true, + value: ${o} + }, + )`,r)}function buildPrivateStaticFieldInitSpec(e,r){const t=r.get(e.node.key.id.name);const{id:a,getId:n,setId:o,initAdded:i}=t;const l=n||o;if(!e.isProperty()&&(i||!l))return;if(l){r.set(e.node.key.id.name,Object.assign({},t,{initAdded:true}));return inheritPropComments(s.template.statement.ast` + var ${s.types.cloneNode(a)} = { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${n?n.name:e.scope.buildUndefinedNode()}, + set: ${o?o.name:e.scope.buildUndefinedNode()} + } + `,e)}const c=e.node.value||e.scope.buildUndefinedNode();return inheritPropComments(s.template.statement.ast` + var ${s.types.cloneNode(a)} = { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${c} + }; + `,e)}function buildPrivateMethodInitLoose(e,r,t){const a=t.get(r.node.key.id.name);const{methodId:n,id:o,getId:i,setId:l,initAdded:c}=a;if(c)return;if(n){return inheritPropComments(s.template.statement.ast` + Object.defineProperty(${e}, ${o}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + value: ${n.name} + }); + `,r)}const d=i||l;if(d){t.set(r.node.key.id.name,Object.assign({},a,{initAdded:true}));return inheritPropComments(s.template.statement.ast` + Object.defineProperty(${e}, ${o}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${i?i.name:r.scope.buildUndefinedNode()}, + set: ${l?l.name:r.scope.buildUndefinedNode()} + }); + `,r)}}function buildPrivateInstanceMethodInitSpec(e,r,t,s){const a=t.get(r.node.key.id.name);const{getId:n,setId:o,initAdded:i}=a;if(i)return;const l=n||o;if(l){return buildPrivateAccessorInitialization(e,r,t,s)}return buildPrivateInstanceMethodInitialization(e,r,t,s)}function buildPrivateAccessorInitialization(e,r,t,a){const n=t.get(r.node.key.id.name);const{id:o,getId:i,setId:l}=n;t.set(r.node.key.id.name,Object.assign({},n,{initAdded:true}));{if(!a.availableHelper("classPrivateFieldInitSpec")){return inheritPropComments(s.template.statement.ast` + ${o}.set(${e}, { + get: ${i?i.name:r.scope.buildUndefinedNode()}, + set: ${l?l.name:r.scope.buildUndefinedNode()} + }); + `,r)}}const c=a.addHelper("classPrivateFieldInitSpec");return inheritPropComments(s.template.statement.ast`${c}( + ${s.types.thisExpression()}, + ${s.types.cloneNode(o)}, + { + get: ${i?i.name:r.scope.buildUndefinedNode()}, + set: ${l?l.name:r.scope.buildUndefinedNode()} + }, + )`,r)}function buildPrivateInstanceMethodInitialization(e,r,t,a){const n=t.get(r.node.key.id.name);const{id:o}=n;{if(!a.availableHelper("classPrivateMethodInitSpec")){return inheritPropComments(s.template.statement.ast`${o}.add(${e})`,r)}}const i=a.addHelper("classPrivateMethodInitSpec");return inheritPropComments(s.template.statement.ast`${i}( + ${s.types.thisExpression()}, + ${s.types.cloneNode(o)} + )`,r)}function buildPublicFieldInitLoose(e,r){const{key:t,computed:a}=r.node;const n=r.node.value||r.scope.buildUndefinedNode();return inheritPropComments(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(e,t,a||s.types.isLiteral(t)),n)),r)}function buildPublicFieldInitSpec(e,r,t){const{key:a,computed:n}=r.node;const o=r.node.value||r.scope.buildUndefinedNode();return inheritPropComments(s.types.expressionStatement(s.types.callExpression(t.addHelper("defineProperty"),[e,n||s.types.isLiteral(a)?a:s.types.stringLiteral(a.name),o])),r)}function buildPrivateStaticMethodInitLoose(e,r,t,a){const n=a.get(r.node.key.id.name);const{id:o,methodId:i,getId:l,setId:c,initAdded:d}=n;if(d)return;const u=l||c;if(u){a.set(r.node.key.id.name,Object.assign({},n,{initAdded:true}));return inheritPropComments(s.template.statement.ast` + Object.defineProperty(${e}, ${o}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${l?l.name:r.scope.buildUndefinedNode()}, + set: ${c?c.name:r.scope.buildUndefinedNode()} + }) + `,r)}return inheritPropComments(s.template.statement.ast` Object.defineProperty(${e}, ${o}, { // configurable is false by default // enumerable is false by default // writable is false by default - get: ${l?l.name:t.scope.buildUndefinedNode()}, - set: ${c?c.name:t.scope.buildUndefinedNode()} - }) - `}return s.template.statement.ast` - Object.defineProperty(${e}, ${o}, { - // configurable is false by default - // enumerable is false by default - // writable is false by default - value: ${i.name} - }); - `}function buildPrivateMethodDeclaration(e,t,r=false){const a=t.get(e.node.key.id.name);const{id:n,methodId:o,getId:i,setId:l,getterDeclared:c,setterDeclared:u,static:p}=a;const{params:d,body:f,generator:y,async:g}=e.node;const h=i&&!c&&d.length===0;const b=l&&!u&&d.length>0;let x=o;if(h){t.set(e.node.key.id.name,Object.assign({},a,{getterDeclared:true}));x=i}else if(b){t.set(e.node.key.id.name,Object.assign({},a,{setterDeclared:true}));x=l}else if(p&&!r){x=n}return s.types.functionDeclaration(s.types.cloneNode(x),d,f,y,g)}const y=s.traverse.visitors.merge([{ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(s.types.cloneNode(t.classRef))},MetaProperty(e){const t=e.get("meta");const r=e.get("property");const{scope:s}=e;if(t.isIdentifier({name:"new"})&&r.isIdentifier({name:"target"})){e.replaceWith(s.buildUndefinedNode())}}},n.default]);const g={ReferencedIdentifier(e,t){if(e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)){t.needsClassRef=true;e.node.name=t.classRef.name}}};function replaceThisContext(e,t,r,n,o,i,l){var c;const u={classRef:t,needsClassRef:false,innerBinding:l};const p=new a.default({methodPath:e,constantSuper:i,file:n,refToPreserve:t,getSuperRef:r,getObjectRef(){u.needsClassRef=true;return s.types.isStaticBlock!=null&&s.types.isStaticBlock(e.node)||e.node.static?t:s.types.memberExpression(t,s.types.identifier("prototype"))}});p.replace();if(o||e.isProperty()){e.traverse(y,u)}if(l!=null&&(c=u.classRef)!=null&&c.name&&u.classRef.name!==(l==null?void 0:l.name)){e.traverse(g,u)}return u.needsClassRef}function isNameOrLength({key:e,computed:t}){if(e.type==="Identifier"){return!t&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function buildFieldsInitNodes(e,t,r,a,n,o,i,l,u){let p=false;let d;const f=[];const y=[];const g=[];const h=s.types.isIdentifier(t)?()=>t:()=>{var e;(e=d)!=null?e:d=r[0].scope.generateUidIdentifierBasedOnNode(t);return d};for(const t of r){t.isClassProperty()&&c.assertFieldTransformed(t);const r=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(t.node))&&t.node.static;const d=!r;const b=t.isPrivate();const x=!b;const v=t.isProperty();const j=!v;const E=t.isStaticBlock==null?void 0:t.isStaticBlock();if(r||j&&b||E){const r=replaceThisContext(t,e,h,n,E,l,u);p=p||r}switch(true){case E:{const e=t.node.body;if(e.length===1&&s.types.isExpressionStatement(e[0])){f.push(e[0])}else{f.push(s.template.statement.ast`(() => { ${e} })()`)}break}case r&&b&&v&&i:p=true;f.push(buildPrivateFieldInitLoose(s.types.cloneNode(e),t,a));break;case r&&b&&v&&!i:p=true;f.push(buildPrivateStaticFieldInitSpec(t,a));break;case r&&x&&v&&o:if(!isNameOrLength(t.node)){p=true;f.push(buildPublicFieldInitLoose(s.types.cloneNode(e),t));break}case r&&x&&v&&!o:p=true;f.push(buildPublicFieldInitSpec(s.types.cloneNode(e),t,n));break;case d&&b&&v&&i:y.push(buildPrivateFieldInitLoose(s.types.thisExpression(),t,a));break;case d&&b&&v&&!i:y.push(buildPrivateInstanceFieldInitSpec(s.types.thisExpression(),t,a,n));break;case d&&b&&j&&i:y.unshift(buildPrivateMethodInitLoose(s.types.thisExpression(),t,a));g.push(buildPrivateMethodDeclaration(t,a,i));break;case d&&b&&j&&!i:y.unshift(buildPrivateInstanceMethodInitSpec(s.types.thisExpression(),t,a,n));g.push(buildPrivateMethodDeclaration(t,a,i));break;case r&&b&&j&&!i:p=true;f.unshift(buildPrivateStaticFieldInitSpec(t,a));g.push(buildPrivateMethodDeclaration(t,a,i));break;case r&&b&&j&&i:p=true;f.unshift(buildPrivateStaticMethodInitLoose(s.types.cloneNode(e),t,n,a));g.push(buildPrivateMethodDeclaration(t,a,i));break;case d&&x&&v&&o:y.push(buildPublicFieldInitLoose(s.types.thisExpression(),t));break;case d&&x&&v&&!o:y.push(buildPublicFieldInitSpec(s.types.thisExpression(),t,n));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:g.filter(Boolean),wrapClass(t){for(const e of r){e.remove()}if(d){t.scope.push({id:s.types.cloneNode(d)});t.set("superClass",s.types.assignmentExpression("=",d,t.node.superClass))}if(!p)return t;if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(e),t.node))}else if(!t.node.id){t.node.id=e}return t}}}},2425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return c.FEATURES}});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"enableFeature",{enumerable:true,get:function(){return c.enableFeature}});Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return l.injectInitialization}});var s=r(8304);var a=r(571);var n=r(1705);var o=r(2980);var i=r(6080);var l=r(3713);var c=r(2690);var u=r(9061);const p="7.18.0".split(".").reduce(((e,t)=>e*1e5+ +t),0);const d="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:r,manipulateOptions:f,api:y={assumption:()=>void 0},inherits:g}){const h=y.assumption("setPublicClassFields");const b=y.assumption("privateFieldsAsProperties");const x=y.assumption("constantSuper");const v=y.assumption("noDocumentAll");if(r===true){const t=[];if(h!==undefined){t.push(`"setPublicClassFields"`)}if(b!==undefined){t.push(`"privateFieldsAsProperties"`)}if(t.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${t.join(" and ")}`+` assumption${t.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsProperties": true\n`+`\t}`)}}return{name:e,manipulateOptions:f,inherits:g,pre(e){(0,c.enableFeature)(e,t,r);if(!e.get(d)||e.get(d)<p){e.set(d,p)}},visitor:{Class(e,{file:r}){if(r.get(d)!==p)return;if(!(0,c.shouldTransform)(e,r))return;if(e.isClassDeclaration())(0,u.assertFieldTransformed)(e);const n=(0,c.isLoose)(r,t);let f;const y=(0,i.hasDecorators)(e.node);const g=[];const j=[];const E=[];const w=new Set;const _=e.get("body");for(const e of _.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){E.push(e)}if(e.isPrivate()){const{name:t}=e.node.key.id;const r=`get ${t}`;const s=`set ${t}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(w.has(r)||w.has(t)&&!w.has(s)){throw e.buildCodeFrameError("Duplicate private field")}w.add(r).add(t)}else if(e.node.kind==="set"){if(w.has(s)||w.has(t)&&!w.has(r)){throw e.buildCodeFrameError("Duplicate private field")}w.add(s).add(t)}}else{if(w.has(t)&&!w.has(r)&&!w.has(s)||w.has(t)&&(w.has(r)||w.has(s))){throw e.buildCodeFrameError("Duplicate private field")}w.add(t)}}if(e.isClassMethod({kind:"constructor"})){f=e}else{j.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){g.push(e)}}}if(!g.length&&!y)return;const S=e.node.id;let k;if(!S||e.isClassExpression()){(0,a.default)(e);k=e.scope.generateUidIdentifier("class")}else{k=s.types.cloneNode(e.node.id)}const I=(0,o.buildPrivateNamesMap)(g);const D=(0,o.buildPrivateNamesNodes)(I,b!=null?b:n,r);(0,o.transformPrivateNamesUsage)(k,e,I,{privateFieldsAsProperties:b!=null?b:n,noDocumentAll:v,innerBinding:S},r);let C,P,O,A,R;if(y){P=A=C=[];({instanceNodes:O,wrapClass:R}=(0,i.buildDecoratedClass)(k,e,j,r))}else{C=(0,l.extractComputedKeys)(e,E,r);({staticNodes:P,pureStaticNodes:A,instanceNodes:O,wrapClass:R}=(0,o.buildFieldsInitNodes)(k,e.node.superClass,g,I,r,h!=null?h:n,b!=null?b:n,x!=null?x:n,S))}if(O.length>0){(0,l.injectInitialization)(e,f,O,((e,t)=>{if(y)return;for(const r of g){if(s.types.isStaticBlock!=null&&s.types.isStaticBlock(r.node)||r.node.static)continue;r.traverse(e,t)}}))}const M=R(e);M.insertBefore([...D,...C]);if(P.length>0){M.insertAfter(P)}if(A.length>0){M.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(A)}},ExportDefaultDeclaration(e,{file:t}){if(t.get(d)!==p)return;const r=e.get("declaration");if(r.isClassDeclaration()&&(0,i.hasDecorators)(r.node)){if(r.node.id){(0,n.default)(e)}else{r.node.type="ClassExpression"}}}}}}},3713:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extractComputedKeys=extractComputedKeys;t.injectInitialization=injectInitialization;var s=r(8304);var a=r(5166);const n=s.traverse.visitors.merge([{Super(e){const{node:t,parentPath:r}=e;if(r.isCallExpression({callee:t})){this.push(r)}}},a.default]);const o={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:t}){if(t.hasOwnBinding(e.node.name)){t.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const r=t.file.addHelper("classNameTDZError");const a=s.types.callExpression(r,[s.types.stringLiteral(e.node.name)]);e.replaceWith(s.types.sequenceExpression([a,e.node]));e.skip()}}const i={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,r,a){if(!r.length)return;const i=!!e.node.superClass;if(!t){const r=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));if(i){r.params=[s.types.restElement(s.types.identifier("args"))];r.body.body.push(s.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",r)}if(a){a(o,{scope:t.scope})}if(i){const e=[];t.traverse(n,e);let a=true;for(const t of e){if(a){t.insertAfter(r);a=false}else{t.insertAfter(r.map((e=>s.types.cloneNode(e))))}}}else{t.get("body").unshiftContainer("body",r)}}function extractComputedKeys(e,t,r){const a=[];const n={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:r};for(const r of t){const t=r.get("key");if(t.isReferencedIdentifier()){handleClassTDZ(t,n)}else{t.traverse(i,n)}const o=r.node;if(!t.isConstantExpression()){const t=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:t,kind:"let"});a.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(t),o.key)));o.key=s.types.cloneNode(t)}}return a}},9061:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-proposal-class-properties\n`+` - @babel/plugin-proposal-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},5041:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FEATURES=void 0;t.enableFeature=enableFeature;t.featuresKey=void 0;t.hasFeature=hasFeature;t.runtimeKey=void 0;const r=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5});t.FEATURES=r;const s="@babel/plugin-regexp-features/featuresKey";t.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";t.runtimeKey=a;function enableFeature(e,t){return e|t}function hasFeature(e,t){return!!(e&t)}},2449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=r(8498);var a=r(5041);var n=r(1255);var o=r(8304);var i=r(4198);const l="7.17.12".split(".").reduce(((e,t)=>e*1e5+ +t),0);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:t,options:r={},manipulateOptions:u=(()=>{})}){return{name:e,manipulateOptions:u,pre(){var e;const{file:s}=this;const n=(e=s.get(a.featuresKey))!=null?e:0;let o=(0,a.enableFeature)(n,a.FEATURES[t]);const{useUnicodeFlag:i,runtime:u=true}=r;if(i===false){o=(0,a.enableFeature)(o,a.FEATURES.unicodeFlag)}if(o!==n){s.set(a.featuresKey,o)}if(!u){s.set(a.runtimeKey,false)}if(!s.has(c)||s.get(c)<l){s.set(c,l)}},visitor:{RegExpLiteral(e){var t;const{node:r}=e;const{file:l}=this;const c=l.get(a.featuresKey);const u=(t=l.get(a.runtimeKey))!=null?t:true;const p=(0,n.generateRegexpuOptions)(c);if((0,n.canSkipRegexpu)(r,p))return;const d={};if(p.namedGroups==="transform"){p.onNamedGroup=(e,t)=>{d[e]=t}}r.pattern=s(r.pattern,r.flags,p);if(p.namedGroups==="transform"&&Object.keys(d).length>0&&u&&!isRegExpTest(e)){const t=o.types.callExpression(this.addHelper("wrapRegExp"),[r,o.types.valueToNode(d)]);(0,i.default)(t);e.replaceWith(t)}r.flags=(0,n.transformFlags)(p,r.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},1255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.canSkipRegexpu=canSkipRegexpu;t.generateRegexpuOptions=generateRegexpuOptions;t.transformFlags=transformFlags;var s=r(5041);function generateRegexpuOptions(e){const feat=(t,r="transform")=>(0,s.hasFeature)(e,s.FEATURES[t])?r:false;return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||feat("unicodeSetsFlag_syntax","parse"),dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups"),onNamedGroup:()=>{}}}function canSkipRegexpu(e,t){const{flags:r,pattern:s}=e;if(r.includes("v")){if(t.unicodeSetsFlag==="transform")return false}if(r.includes("u")){if(t.unicodeFlag==="transform")return false;if(t.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(r.includes("s")){if(t.dotAllFlag==="transform")return false}if(t.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}return true}function transformFlags(e,t){if(e.unicodeSetsFlag==="transform"){t=t.replace("v","u")}if(e.unicodeFlag==="transform"){t=t.replace("u","")}if(e.dotAllFlag==="transform"){t=t.replace("s","")}return t}},8692:(e,t,r)=>{"use strict";t.__esModule=true;t.stringifyTargetsMultiline=stringifyTargetsMultiline;t.stringifyTargets=stringifyTargets;t.presetEnvSilentDebugHeader=void 0;var s=r(1430);const a="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";t.presetEnvSilentDebugHeader=a;function stringifyTargetsMultiline(e){return JSON.stringify((0,s.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},1195:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var s=_interopRequireWildcard(r(8304));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var n=s?Object.getOwnPropertyDescriptor(e,a):null;if(n&&(n.get||n.set)){Object.defineProperty(r,a,n)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:a}=s.default||s;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,t,r){const s=this._normalizeKey(e,t);const n=this._ensure(this._anonymousImports,e,Set);if(n.has(s))return;const o=r(e.node.sourceType==="script",a.stringLiteral(this._resolver(t)));n.add(s);this._injectImport(e,o)}storeNamed(e,t,r,s){const n=this._normalizeKey(e,t,r);const o=this._ensure(this._imports,e,Map);if(!o.has(n)){const{node:i,name:l}=s(e.node.sourceType==="script",a.stringLiteral(this._resolver(t)),a.identifier(r));o.set(n,l);this._injectImport(e,i)}return a.identifier(o.get(n))}_injectImport(e,t){let r=this._lastImports.get(e);if(r&&r.node&&r.parent===e.node&&r.container===e.node.body){r=r.insertAfter(t)}else{r=e.unshiftContainer("body",t)}r=r[r.length-1];this._lastImports.set(e,r)}_ensure(e,t,r){let s=e.get(t);if(!s){s=new r;e.set(t,s)}return s}_normalizeKey(e,t,r=""){const{sourceType:s}=e.node;return`${r&&s}::${t}::${r}`}}t["default"]=ImportsCache},9083:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=definePolyfillProvider;var s=r(6770);var a=_interopRequireWildcard(r(1430));var n=r(2531);var o=_interopRequireDefault(r(1195));var i=r(8692);var l=r(3285);var c=_interopRequireWildcard(r(5533));var u=_interopRequireWildcard(r(1805));var p=_interopRequireDefault(r(1035));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var n=s?Object.getOwnPropertyDescriptor(e,a):null;if(n&&(n.get||n.set)){Object.defineProperty(r,a,n)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var s=Object.keys(e);var a,n;for(n=0;n<s.length;n++){a=s[n];if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}const d=a.default.default||a.default;function resolveOptions(e,t){const{method:r,targets:s,ignoreBrowserslistConfig:a,configPath:n,debug:o,shouldInjectPolyfill:i,absoluteImports:l}=e,c=_objectWithoutPropertiesLoose(e,["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"]);let u;if(r==="usage-global")u="usageGlobal";else if(r==="entry-global")u="entryGlobal";else if(r==="usage-pure")u="usagePure";else if(typeof r!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(r)})`)}if(typeof i==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(i!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(i)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let p;if(s||n||a){const e=typeof s==="string"||Array.isArray(s)?{browsers:s}:s;p=d(e,{ignoreBrowserslistConfig:a,configPath:n})}else{p=t.targets()}return{method:r,methodName:u,targets:p,absoluteImports:l!=null?l:false,shouldInjectPolyfill:i,debug:!!o,providerOptions:c}}function instantiateProvider(e,t,r,s,i,c){const{method:d,methodName:f,targets:y,debug:g,shouldInjectPolyfill:h,providerOptions:b,absoluteImports:x}=resolveOptions(t,c);const v=(0,n.createUtilsGetter)(new o.default((e=>u.resolve(s,e,x))));let j,E;let w;let _;let S;const k=new Map;const I={babel:c,getUtils:v,method:t.method,targets:y,createMetaResolver:p.default,shouldInjectPolyfill(t){if(_===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!_.has(t)){console.warn(`Internal error in the ${D.name} provider: `+`unknown polyfill "${t}".`)}if(S&&!S(t))return false;let r=(0,a.isRequired)(t,y,{compatData:w,includes:j,excludes:E});if(h){r=h(t,r);if(typeof r!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return r},debug(e){i().found=true;if(!g||!e)return;if(i().polyfills.has(D.name))return;i().polyfills.set(e,w&&e&&w[e])},assertDependency(e,t="*"){if(r===false)return;if(x){return}const a=t==="*"?e:`${e}@^${t}`;const n=r.all?false:mapGetOr(k,`${e} :: ${s}`,(()=>u.has(s,e)));if(!n){i().missingDeps.add(a)}}};const D=e(I,b,s);if(typeof D[f]!=="function"){throw new Error(`The "${D.name||e.name}" provider doesn't `+`support the "${d}" polyfilling method.`)}if(Array.isArray(D.polyfills)){_=new Set(D.polyfills);S=D.filterPolyfills}else if(D.polyfills){_=new Set(Object.keys(D.polyfills));w=D.polyfills;S=D.filterPolyfills}else{_=new Set}({include:j,exclude:E}=(0,l.validateIncludeExclude)(D.name||e.name,_,b.include||[],b.exclude||[]));return{debug:g,method:d,targets:y,provider:D,callProvider(e,t){const r=v(t);D[f](e,r,t)}}}function definePolyfillProvider(e){return(0,s.declare)(((t,r,s)=>{t.assertVersion(7);const{traverse:n}=t;let o;const p=(0,l.applyMissingDependenciesDefaults)(r,t);const{debug:d,method:f,targets:y,provider:g,callProvider:h}=instantiateProvider(e,r,p,s,(()=>o),t);const b=f==="entry-global"?c.entry:c.usage;const x=g.visitor?n.visitors.merge([b(h),g.visitor]):b(h);if(d&&d!==i.presetEnvSilentDebugHeader){console.log(`${g.name}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,i.stringifyTargetsMultiline)(y)}`);console.log(`\nUsing polyfills with \`${f}\` method:`)}return{name:"inject-polyfills",visitor:x,pre(){var e;o={polyfills:new Map,found:false,providers:new Set,missingDeps:new Set};(e=g.pre)==null?void 0:e.apply(this,arguments)},post(){var e;(e=g.post)==null?void 0:e.apply(this,arguments);if(p!==false){if(p.log==="per-file"){u.logMissing(o.missingDeps)}else{u.laterLogMissing(o.missingDeps)}}if(!d)return;if(this.filename)console.log(`\n[${this.filename}]`);if(o.polyfills.size===0){console.log(f==="entry-global"?o.found?`Based on your targets, the ${g.name} polyfill did not add any polyfill.`:`The entry point for the ${g.name} polyfill has not been found.`:`Based on your code and targets, the ${g.name} polyfill did not add any polyfill.`);return}if(f==="entry-global"){console.log(`The ${g.name} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${g.name} polyfill added the following polyfills:`)}for(const[e,t]of o.polyfills){if(t){const r=(0,a.getInclusionReasons)(e,y,t);const s=JSON.stringify(r).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${s}`)}else{console.log(` ${e}`)}}}}}))}function mapGetOr(e,t,r){let s=e.get(t);if(s===undefined){s=r();e.set(t,s)}return s}},1035:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=createMetaResolver;var s=r(2531);const a=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:t,instance:r,global:n}=e;return e=>{if(e.kind==="global"&&n&&(0,s.has)(n,e.name)){return{kind:"global",desc:n[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:o,object:i,key:l}=e;if(i&&o==="static"){if(n&&a.has(i)&&(0,s.has)(n,l)){return{kind:"global",desc:n[l],name:l}}if(t&&(0,s.has)(t,i)&&(0,s.has)(t[i],l)){return{kind:"static",desc:t[i][l],name:`${i}$${l}`}}}if(r&&(0,s.has)(r,l)){return{kind:"instance",desc:r[l],name:`${l}`}}}}}},1805:(e,t,r)=>{"use strict";t.__esModule=true;t.resolve=resolve;t.has=has;t.logMissing=logMissing;t.laterLogMissing=laterLogMissing;var s=_interopRequireDefault(r(1017));var a=_interopRequireDefault(r(3079));var n=_interopRequireDefault(r(9936));var o=r(8188);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=parseFloat(process.versions.node)>=8.9;function resolve(e,t,r){if(r===false)return t;let a=e;if(typeof r==="string"){a=s.default.resolve(a,r)}try{if(i){return require.resolve(t,{paths:[a]})}else{return n.default.sync(t,{basedir:a})}}catch(r){if(r.code!=="MODULE_NOT_FOUND")throw r;throw Object.assign(new Error(`Failed to resolve "${t}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:t,dirname:e})}}function has(e,t){try{if(i){require.resolve(t,{paths:[e]})}else{n.default.sync(t,{basedir:e})}return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const t=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${t}\n`+`\tyarn add ${t}\n`);process.exitCode=1}let l=new Set;const c=(0,a.default)((()=>{logMissing(l);l=new Set}),100);function laterLogMissing(e){if(e.size===0)return;e.forEach((e=>l.add(e)));c()}},3285:(e,t,r)=>{"use strict";t.__esModule=true;t.validateIncludeExclude=validateIncludeExclude;t.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;var s=r(2531);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,t){if(!t.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+t.map((e=>` ${String(e)}\n`)).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,(e=>` ${e}\n`)).join("")}function validateIncludeExclude(e,t,r,a){let n;const filter=e=>{const r=patternToRegExp(e);if(!r)return false;let s=false;for(const e of t){if(r.test(e)){s=true;n.add(e)}}return!s};const o=n=new Set;const i=Array.from(r).filter(filter);const l=n=new Set;const c=Array.from(a).filter(filter);const u=(0,s.intersection)(o,l);if(u.size>0||i.length>0||c.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",i)+buildUnusedError("exclude",c)+buldDuplicatesError(u))}return{include:o,exclude:l}}function applyMissingDependenciesDefaults(e,t){const{missingDependencies:r={}}=e;if(r===false)return false;const s=t.caller((e=>e==null?void 0:e.name));const{log:a="deferred",inject:n=(s==="rollup-plugin-babel"?"throw":"import"),all:o=false}=r;return{log:a,inject:n,all:o}}},2531:(e,t,r)=>{"use strict";t.__esModule=true;t.intersection=intersection;t.has=has;t.resolveKey=resolveKey;t.resolveSource=resolveSource;t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.createUtilsGetter=createUtilsGetter;var s=_interopRequireWildcard(r(8304));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var n=s?Object.getOwnPropertyDescriptor(e,a):null;if(n&&(n.get||n.set)){Object.defineProperty(r,a,n)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:a,template:n}=s.default||s;function intersection(e,t){const r=new Set;e.forEach((e=>t.has(e)&&r.add(e)));return r}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:t}=e.evaluate();if(t&&t.isIdentifier()){return t.node.name}}function resolveKey(e,t=false){const{node:r,parent:s,scope:a}=e;if(e.isStringLiteral())return r.value;const{name:n}=r;const o=e.isIdentifier();if(o&&!(t||s.computed))return n;if(t&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!a.hasBinding("Symbol",true)){const t=resolveKey(e.get("property"),e.node.computed);if(t)return"Symbol."+t}if(!o||a.hasBinding(n,true)){const{value:t}=e.evaluate();if(typeof t==="string")return t}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const t=resolveId(e.get("object"));if(t){return{id:t,placement:"prototype"}}return{id:null,placement:null}}const t=resolveId(e);if(t){return{id:t,placement:"static"}}const{value:r}=e.evaluate();if(r!==undefined){return{id:getType(r),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!a.isExpressionStatement(e))return;const{expression:t}=e;const r=a.isCallExpression(t)&&a.isIdentifier(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&a.isStringLiteral(t.arguments[0]);if(r)return t.arguments[0].value}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return t=>{const r=t.findParent((e=>e.isProgram()));return{injectGlobalImport(t){e.storeAnonymous(r,t,((e,t)=>e?n.statement.ast`require(${t})`:a.importDeclaration([],t)))},injectNamedImport(t,s,o=s){return e.storeNamed(r,t,s,((e,t,s)=>{const i=r.scope.generateUidIdentifier(o);return{node:e?hoist(n.statement.ast` - var ${i} = require(${t}).${s} - `):a.importDeclaration([a.importSpecifier(i,s)],t),name:i.name}}))},injectDefaultImport(t,s=t){return e.storeNamed(r,t,"default",((e,t)=>{const o=r.scope.generateUidIdentifier(s);return{node:e?hoist(n.statement.ast`var ${o} = require(${t})`):a.importDeclaration([a.importDefaultSpecifier(o)],t),name:o.name}}))}}}}},7887:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var s=r(2531);var _default=e=>({ImportDeclaration(t){const r=(0,s.getImportSource)(t);if(!r)return;e({kind:"import",source:r},t)},Program(t){t.get("body").forEach((t=>{const r=(0,s.getRequireSource)(t);if(!r)return;e({kind:"import",source:r},t)}))}});t["default"]=_default},5533:(e,t,r)=>{"use strict";t.__esModule=true;t.entry=t.usage=void 0;var s=_interopRequireDefault(r(5987));t.usage=s.default;var a=_interopRequireDefault(r(7887));t.entry=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},5987:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var s=r(2531);var _default=e=>{function property(t,r,s,a){return e({kind:"property",object:t,key:r,placement:s},a)}return{ReferencedIdentifier(t){const{node:{name:r},scope:s}=t;if(s.getBindingIdentifier(r))return;e({kind:"global",name:r},t)},MemberExpression(e){const t=(0,s.resolveKey)(e.get("property"),e.node.computed);if(!t||t==="prototype")return;const r=e.get("object");const a=r.scope.getBinding(r.node.name);if(a&&a.path.isImportNamespaceSpecifier())return;const n=(0,s.resolveSource)(r);return property(n.id,t,n.placement,e)},ObjectPattern(e){const{parentPath:t,parent:r}=e;let a;if(t.isVariableDeclarator()){a=t.get("init")}else if(t.isAssignmentExpression()){a=t.get("right")}else if(t.isFunction()){const s=t.parentPath;if(s.isCallExpression()||s.isNewExpression()){if(s.node.callee===r){a=s.get("arguments")[e.key]}}}let n=null;let o=null;if(a)({id:n,placement:o}=(0,s.resolveSource)(a));for(const t of e.get("properties")){if(t.isObjectProperty()){const e=(0,s.resolveKey)(t.get("key"));if(e)property(n,e,o,t)}}},BinaryExpression(t){if(t.node.operator!=="in")return;const r=(0,s.resolveSource)(t.get("right"));const a=(0,s.resolveKey)(t.get("left"),true);if(!a)return;e({kind:"in",object:r.id,key:a,placement:r.placement},t)}}};t["default"]=_default},5166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;t.skipAllButComputedKey=skipAllButComputedKey;function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}function requeueComputedKeyAndDecorators(e){const{context:t,node:r}=e;if(r.computed){t.maybeQueue(e.get("key"))}if(r.decorators){for(const r of e.get("decorators")){t.maybeQueue(r)}}}const r={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=r;t["default"]=s},571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=r(6719);var a=r(8622);const{NOT_LOCAL_BINDING:n,cloneNode:o,identifier:i,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:u,isIdentifier:p,isLiteral:d,isNullLiteral:f,isObjectMethod:y,isObjectProperty:g,isRegExpLiteral:h,isRestElement:b,isTemplateLiteral:x,isVariableDeclarator:v,toBindingIdentifierName:j}=a;function getFunctionArity(e){const t=e.params.findIndex((e=>c(e)||b(e)));return t===-1?e.params.length:t}const E=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const w=(0,s.default)(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,s){if(e.selfReference){if(s.hasBinding(r.name)&&!s.hasGlobal(r.name)){s.rename(r.name)}else{if(!u(t))return;let e=E;if(t.generator){e=w}const a=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:s.generateUidIdentifier(r.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,r=getFunctionArity(t);e<r;e++){n.push(s.generateUidIdentifier("x"))}return a}}t.id=r;s.getProgramParent().references[r.name]=true}function visit(e,t,r){const s={selfAssignment:false,selfReference:false,outerDeclar:r.getBindingIdentifier(t),references:[],name:t};const a=r.getOwnBinding(t);if(a){if(a.kind==="param"){s.selfReference=true}else{}}else if(s.outerDeclar||r.hasGlobal(t)){r.traverse(e,_,s)}return s}function _default({node:e,parent:t,scope:r,id:s},a=false,c=false){if(e.id)return;if((g(t)||y(t,{kind:"method"}))&&(!t.computed||d(t.key))){s=t.key}else if(v(t)){s=t.id;if(p(s)&&!a){const t=r.parent.getBinding(s.name);if(t&&t.constant&&r.getBinding(s.name)===t){e.id=o(s);e.id[n]=true;return}}}else if(l(t,{operator:"="})){s=t.left}else if(!s){return}let f;if(s&&d(s)){f=getNameFromLiteralId(s)}else if(s&&p(s)){f=s.name}if(f===undefined){return}if(!c&&u(e)&&/[\uD800-\uDFFF]/.test(f)){return}f=j(f);s=i(f);s[n]=true;const h=visit(e,f,r);return wrap(h,e,s,r)||e}},3959:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=hoistVariables;var s=r(8622);const{assignmentExpression:a,expressionStatement:n,identifier:o}=s;const i={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[];const s=e.get("declarations");let i;for(const e of s){i=e.node.id;if(e.node.init){r.push(n(a("=",e.node.id,e.node.init)))}for(const r of Object.keys(e.getBindingIdentifiers())){t.emit(o(r),r,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(i)}else{e.replaceWithMultiple(r)}}};function hoistVariables(e,t,r="var"){e.traverse(i,{kind:r,emit:t})}},6971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach((function(r){if(r!=="default"){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:true,get:function(){return e[r]}})}}))}t["default"]=e;return Object.freeze(t)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:s}=t;if(s.isLogicalExpression()){const{operator:e,right:t}=s.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===r){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:r})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:r})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:u,cloneNode:p,conditionalExpression:d,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:E,optionalMemberExpression:w,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return i("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(h(r)){return v(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const{object:s}=r.node;const a=e.scope.maybeGenerateMemoised(s)||s;r.get("object").replaceWith(i("=",a,s));return u(v(t,f("call")),[a,...e.node.arguments])}return u(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:s}=e;const a=t.node;if(s){if(r!==a[s])return true}else{if(r!==a)return true}e=t}return false}const k={memoise(){},handle(e,t){const{node:r,parent:s,parentPath:a,scope:v}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const n=e.find((({node:t,parent:r})=>{if(h(r)){return r.optional||r.object!==t}if(g(r)){return t!==e.node&&r.optional||r.callee!==t}return true}));if(v.path.isPattern()){n.replaceWith(u(o([],n.node),[]));return}const b=willPathCastToBoolean(n);const _=n.parentPath;if(_.isUpdateExpression({argument:r})||_.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const S=_.isUnaryExpression({operator:"delete"});if(S&&n.isOptionalMemberExpression()&&n.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let k=e;for(;;){if(k.isOptionalMemberExpression()){if(k.node.optional)break;k=k.get("object");continue}else if(k.isOptionalCallExpression()){if(k.node.optional)break;k=k.get("callee");continue}throw new Error(`Internal error: unexpected ${k.node.type}`)}const I=k.isOptionalMemberExpression()?"object":"callee";const D=k.node[I];const C=v.maybeGenerateMemoised(D);const P=C!=null?C:D;const O=a.isOptionalCallExpression({callee:r});const isOptionalCall=e=>O;const A=a.isCallExpression({callee:r});k.replaceWith(toNonOptional(k,P));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(A){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}let R=e.node;for(let t=e;t!==n;){const e=t.parentPath;if(e===n&&isOptionalCall()&&s.optional){R=e.node;break}R=toNonOptional(e,R);t=e}let M;const N=n.parentPath;if(y(R)&&N.isOptionalCallExpression({callee:n.node,optional:true})){const{object:t}=R;M=e.scope.maybeGenerateMemoised(t);if(M){R.object=i("=",M,t)}}let F=n;if(S){F=N;R=N.node}const L=C?i("=",p(P),p(D)):p(P);if(b){let e;if(t){e=l("!=",L,j())}else{e=x("&&",l("!==",L,j()),l("!==",p(P),v.buildUndefinedNode()))}F.replaceWith(x("&&",e,R))}else{let e;if(t){e=l("==",L,j())}else{e=x("||",l("===",L,j()),l("===",p(P),v.buildUndefinedNode()))}F.replaceWith(d(e,S?c(true):v.buildUndefinedNode(),R))}if(M){const e=N.node;N.replaceWith(E(w(e.callee,f("call"),false,true),[p(M),...e.arguments],false))}return}if(b(s,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:n}=s;this.memoise(e,2);const o=v.generateUidIdentifierBasedOnNode(r);v.push({id:o});const l=[i("=",p(o),this.get(e))];if(n){l.push(S(t,p(o),n));const r=_(l);a.replaceWith(this.set(e,r));return}else{const s=v.generateUidIdentifierBasedOnNode(r);v.push({id:s});l.push(i("=",p(s),S(t,p(o),n)),p(o));const c=_(l);a.replaceWith(_([this.set(e,c),p(s)]));return}}if(a.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=a.node;if(t==="="){a.replaceWith(this.set(e,r))}else{const s=t.slice(0,-1);if(n.includes(s)){this.memoise(e,1);a.replaceWith(x(s,this.get(e),this.set(e,r)))}else{this.memoise(e,2);a.replaceWith(this.set(e,l(s,this.get(e),r)))}}return}if(a.isCallExpression({callee:r})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:r})){if(v.path.isPattern()){a.replaceWith(u(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(a.isForXStatement({left:r})||a.isObjectProperty({value:r})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:r})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:r})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},k,r,{memoiser:new AssignmentMemoiser}))}t["default"]=memberExpressionToFunctions},2186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(9491);var a=r(8622);const{callExpression:n,cloneNode:o,expressionStatement:i,identifier:l,importDeclaration:c,importDefaultSpecifier:u,importNamespaceSpecifier:p,importSpecifier:d,memberExpression:f,stringLiteral:y,variableDeclaration:g,variableDeclarator:h}=a;class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],y(this._importedSource)));return this}require(){this._statements.push(i(n(l("require"),[y(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];s(r.type==="ImportDeclaration");s(r.specifiers.length===0);r.specifiers=[p(t)];this._resultName=o(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[u(e)];this._resultName=o(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];s(r.type==="ImportDeclaration");s(r.specifiers.length===0);r.specifiers=[d(e,l(t))];this._resultName=o(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){s(this._resultName);t=i(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=g("var",[h(e,t.expression)]);this._resultName=o(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=n(e,[t.expression])}else if(t.type==="VariableDeclaration"){s(t.declarations.length===1);t.declarations[0].init=n(e,[t.declarations[0].init])}else{s.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=f(t.expression,l(e))}else if(t.type==="VariableDeclaration"){s(t.declarations.length===1);t.declarations[0].init=f(t.declarations[0].init,l(e))}else{s.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=f(this._resultName,l(e))}}t["default"]=ImportBuilder},4959:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(9491);var a=r(8622);var n=r(2186);var o=r(8235);const{numericLiteral:i,sequenceExpression:l}=a;class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const s=e.find((e=>e.isProgram()));this._programPath=s;this._programScope=s.scope;this._hub=s.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){s(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const a=[];if(typeof e==="string"){a.push({importedSource:e});a.push(t)}else{s(!t,"Unexpected secondary arguments.");a.push(e)}const n=Object.assign({},this._defaultOpts);for(const e of a){if(!e)continue;Object.keys(n).forEach((t=>{if(e[t]!==undefined)n[t]=e[t]}));if(!r){if(e.nameHint!==undefined)n.nameHint=e.nameHint;if(e.blockHoist!==undefined)n.blockHoist=e.blockHoist}}return n}_generateImport(e,t){const r=t==="default";const s=!!t&&!r;const a=t===null;const{importedSource:c,importedType:u,importedInterop:p,importingInterop:d,ensureLiveReference:f,ensureNoContext:y,nameHint:g,importPosition:h,blockHoist:b}=e;let x=g||t;const v=(0,o.default)(this._programPath);const j=v&&d==="node";const E=v&&d==="babel";if(h==="after"&&!v){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(c,this._programScope,this._hub);if(u==="es6"){if(!j&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(a){w.namespace(g||c)}else if(r||s){w.named(x,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(j){x=x!=="default"?x:c;const e=`${c}$es6Default`;w.import();if(a){w.default(e).var(x||c).wildcardInterop()}else if(r){if(f){w.default(e).var(x||c).defaultInterop().read("default")}else{w.default(e).var(x).defaultInterop().prop(t)}}else if(s){w.default(e).read(t)}}else if(E){w.import();if(a){w.namespace(x||c)}else if(r||s){w.named(x,t)}}else{w.require();if(a){w.var(x||c).wildcardInterop()}else if((r||s)&&f){if(r){x=x!=="default"?x:c;w.var(x).read(t);w.defaultInterop()}else{w.var(c).read(t)}}else if(r){w.var(x).defaultInterop().prop(t)}else if(s){w.var(x).prop(t)}}}else if(p==="compiled"){if(j){w.import();if(a){w.default(x||c)}else if(r||s){w.default(c).read(x)}}else if(E){w.import();if(a){w.namespace(x||c)}else if(r||s){w.named(x,t)}}else{w.require();if(a){w.var(x||c)}else if(r||s){if(f){w.var(c).read(x)}else{w.prop(t).var(x)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(j){w.import();if(a){w.default(x||c)}else if(r){w.default(x)}else if(s){w.default(c).read(x)}}else if(E){w.import();if(a){w.default(x||c)}else if(r){w.default(x)}else if(s){w.named(x,t)}}else{w.require();if(a){w.var(x||c)}else if(r){w.var(x)}else if(s){if(f){w.var(c).read(x)}else{w.var(x).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:_,resultName:S}=w.done();this._insertStatements(_,h,b);if((r||s)&&y&&S.type!=="Identifier"){return l([i(0),S])}return S}_insertStatements(e,t="before",r=3){const s=this._programPath.get("body");if(t==="after"){for(let t=s.length-1;t>=0;t--){if(s[t].isImportDeclaration()){s[t].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=r}));const t=s.find((e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4}));if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t["default"]=ImportInjector},2056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return s.default}});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.default}});var s=r(4959);var a=r(8235);function addDefault(e,t,r){return new s.default(e).addDefault(t,r)}function addNamed(e,t,r,a){return new s.default(e).addNamed(t,r,a)}function addNamespace(e,t,r){return new s.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new s.default(e).addSideEffect(t,r)}},8235:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getModuleName;{const e=getModuleName;t["default"]=getModuleName=function getModuleName(t,r){var s,a,n,o;return e(t,{moduleId:(s=r.moduleId)!=null?s:t.moduleId,moduleIds:(a=r.moduleIds)!=null?a:t.moduleIds,getModuleId:(n=r.getModuleId)!=null?n:t.getModuleId,moduleRoot:(o=r.moduleRoot)!=null?o:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:s=r,sourceRoot:a=t.moduleRoot}=e;const{moduleId:n,moduleIds:o=!!n,getModuleId:i,moduleRoot:l=a}=t;if(!o)return null;if(n!=null&&!i){return n}let c=l!=null?l+"/":"";if(s){const e=a!=null?new RegExp("^"+a+"/?"):"";c+=s.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(i){return i(c)||c}else{return c}}},1914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildNamespaceInitStatements=buildNamespaceInitStatements;t.ensureStatementsHoisted=ensureStatementsHoisted;Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return o.isModule}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return i.default}});t.wrapInterop=wrapInterop;var s=r(9491);var a=r(8622);var n=r(9767);var o=r(2056);var i=r(9094);var l=r(2329);var c=r(6943);var u=r(349);const{booleanLiteral:p,callExpression:d,cloneNode:f,directive:y,directiveLiteral:g,expressionStatement:h,identifier:b,isIdentifier:x,memberExpression:v,stringLiteral:j,valueToNode:E,variableDeclaration:w,variableDeclarator:_}=a;function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:a,allowTopLevelThis:n,strictMode:u,noInterop:p,importInterop:d=(p?"none":"babel"),lazy:f,esNamespaceOnly:h,filename:b,constantReexports:x=t,enumerableModuleMeta:v=t,noIncompleteNsImportDetection:j}){(0,c.validateImportInteropOption)(d);s((0,o.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const E=(0,c.default)(e,r,{importInterop:d,initializeReexports:x,lazy:f,esNamespaceOnly:h,filename:b});if(!n){(0,i.default)(e)}(0,l.default)(e,E);if(u!==false){const t=e.node.directives.some((e=>e.value.value==="use strict"));if(!t){e.unshiftContainer("directives",y(g("use strict")))}}const w=[];if((0,c.hasExports)(E)&&!a){w.push(buildESModuleHeader(E,v))}const _=buildExportNameListDeclaration(e,E);if(_){E.exportNameListName=_.name;w.push(_.statement)}w.push(...buildExportInitializationStatements(e,E,x,j));return{meta:E,headers:w}}function ensureStatementsHoisted(e){e.forEach((e=>{e._blockHoist=3}))}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return d(e.hub.addHelper("interopRequireWildcard"),[t,p(true)])}else if(r==="node-default"){return null}let s;if(r==="default"){s="interopRequireDefault"}else if(r==="namespace"){s="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return d(e.hub.addHelper(s),[t])}function buildNamespaceInitStatements(e,t,r=false){const s=[];let a=b(t.name);if(t.lazy)a=d(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;s.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:f(a)}))}if(r){s.push(...buildReexportsFromMeta(e,t,true))}for(const r of t.reexportNamespace){s.push((t.lazy?n.default.statement` + value: ${i.name} + }); + `,r)}function buildPrivateMethodDeclaration(e,r,t=false){const a=r.get(e.node.key.id.name);const{id:n,methodId:o,getId:i,setId:l,getterDeclared:c,setterDeclared:d,static:u}=a;const{params:p,body:f,generator:y,async:g}=e.node;const h=i&&!c&&p.length===0;const b=l&&!d&&p.length>0;let x=o;if(h){r.set(e.node.key.id.name,Object.assign({},a,{getterDeclared:true}));x=i}else if(b){r.set(e.node.key.id.name,Object.assign({},a,{setterDeclared:true}));x=l}else if(u&&!t){x=n}return inheritPropComments(s.types.functionDeclaration(s.types.cloneNode(x),p,f,y,g),e)}const g=s.traverse.visitors.merge([{ThisExpression(e,r){const t=e.findParent((e=>!(0,c.isTransparentExprWrapper)(e.node)));if(s.types.isUnaryExpression(t.node,{operator:"delete"})){e.parentPath.replaceWith(s.types.booleanLiteral(true));return}r.needsClassRef=true;e.replaceWith(s.types.cloneNode(r.classRef))},MetaProperty(e){const r=e.get("meta");const t=e.get("property");const{scope:s}=e;if(r.isIdentifier({name:"new"})&&t.isIdentifier({name:"target"})){e.replaceWith(s.buildUndefinedNode())}}},n.default]);const h={ReferencedIdentifier(e,r){if(e.scope.bindingIdentifierEquals(e.node.name,r.innerBinding)){r.needsClassRef=true;e.node.name=r.classRef.name}}};function replaceThisContext(e,r,t,n,o,i,l){var c;const d={classRef:r,needsClassRef:false,innerBinding:l};const u=new a.default({methodPath:e,constantSuper:i,file:n,refToPreserve:r,getSuperRef:t,getObjectRef(){d.needsClassRef=true;return s.types.isStaticBlock!=null&&s.types.isStaticBlock(e.node)||e.node.static?r:s.types.memberExpression(r,s.types.identifier("prototype"))}});u.replace();if(o||e.isProperty()){e.traverse(g,d)}if(l!=null&&(c=d.classRef)!=null&&c.name&&d.classRef.name!==(l==null?void 0:l.name)){e.traverse(h,d)}return d.needsClassRef}function isNameOrLength({key:e,computed:r}){if(e.type==="Identifier"){return!r&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,r){s.types.inheritLeadingComments(e,r.node);s.types.inheritInnerComments(e,r.node);return e}function buildFieldsInitNodes(e,r,t,a,n,o,i,l,c){let u=false;let p;const f=[];const y=[];const g=[];const h=s.types.isIdentifier(r)?()=>r:()=>{var e;(e=p)!=null?e:p=t[0].scope.generateUidIdentifierBasedOnNode(r);return p};for(const r of t){r.isClassProperty()&&d.assertFieldTransformed(r);const t=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(r.node))&&r.node.static;const p=!t;const b=r.isPrivate();const x=!b;const v=r.isProperty();const j=!v;const w=r.isStaticBlock==null?void 0:r.isStaticBlock();if(t||j&&b||w){const t=replaceThisContext(r,e,h,n,w,l,c);u=u||t}switch(true){case w:{const e=r.node.body;if(e.length===1&&s.types.isExpressionStatement(e[0])){f.push(inheritPropComments(e[0],r))}else{f.push(s.types.inheritsComments(s.template.statement.ast`(() => { ${e} })()`,r.node))}break}case t&&b&&v&&i:u=true;f.push(buildPrivateFieldInitLoose(s.types.cloneNode(e),r,a));break;case t&&b&&v&&!i:u=true;f.push(buildPrivateStaticFieldInitSpec(r,a));break;case t&&x&&v&&o:if(!isNameOrLength(r.node)){u=true;f.push(buildPublicFieldInitLoose(s.types.cloneNode(e),r));break}case t&&x&&v&&!o:u=true;f.push(buildPublicFieldInitSpec(s.types.cloneNode(e),r,n));break;case p&&b&&v&&i:y.push(buildPrivateFieldInitLoose(s.types.thisExpression(),r,a));break;case p&&b&&v&&!i:y.push(buildPrivateInstanceFieldInitSpec(s.types.thisExpression(),r,a,n));break;case p&&b&&j&&i:y.unshift(buildPrivateMethodInitLoose(s.types.thisExpression(),r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&b&&j&&!i:y.unshift(buildPrivateInstanceMethodInitSpec(s.types.thisExpression(),r,a,n));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&!i:u=true;f.unshift(buildPrivateStaticFieldInitSpec(r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&i:u=true;f.unshift(buildPrivateStaticMethodInitLoose(s.types.cloneNode(e),r,n,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&x&&v&&o:y.push(buildPublicFieldInitLoose(s.types.thisExpression(),r));break;case p&&x&&v&&!o:y.push(buildPublicFieldInitSpec(s.types.thisExpression(),r,n));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:g.filter(Boolean),wrapClass(r){for(const e of t){e.node.leadingComments=null;e.remove()}if(p){r.scope.push({id:s.types.cloneNode(p)});r.set("superClass",s.types.assignmentExpression("=",p,r.node.superClass))}if(!u)return r;if(r.isClassExpression()){r.scope.push({id:e});r.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(e),r.node))}else if(!r.node.id){r.node.id=e}return r}}}},7953:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"FEATURES",{enumerable:true,get:function(){return d.FEATURES}});Object.defineProperty(r,"buildCheckInRHS",{enumerable:true,get:function(){return i.buildCheckInRHS}});r.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(r,"enableFeature",{enumerable:true,get:function(){return d.enableFeature}});Object.defineProperty(r,"injectInitialization",{enumerable:true,get:function(){return c.injectInitialization}});var s=t(8304);var a=t(7345);var n=t(7696);var o=t(7849);var i=t(2736);var l=t(7081);var c=t(4510);var d=t(2532);var u=t(3678);const p="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:r,loose:t,manipulateOptions:f,api:y,inherits:g}){{var h;(h=y)!=null?h:y={assumption:()=>void 0}}const b=y.assumption("setPublicClassFields");const x=y.assumption("privateFieldsAsSymbols");const v=y.assumption("privateFieldsAsProperties");const j=y.assumption("constantSuper");const w=y.assumption("noDocumentAll");if(v&&x){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const E=v||x;if(t===true){const r=[];if(b!==undefined){r.push(`"setPublicClassFields"`)}if(v!==undefined){r.push(`"privateFieldsAsProperties"`)}if(x!==undefined){r.push(`"privateFieldsAsSymbols"`)}if(r.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${r.join(" and ")}`+` assumption${r.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:f,inherits:g,pre(e){(0,d.enableFeature)(e,r,t);{if(typeof e.get(p)==="number"){e.set(p,"7.22.1");return}}if(!e.get(p)||o.lt(e.get(p),"7.22.1")){e.set(p,"7.22.1")}},visitor:{Class(e,{file:t}){if(t.get(p)!=="7.22.1")return;if(!(0,d.shouldTransform)(e,t))return;if(e.isClassDeclaration())(0,u.assertFieldTransformed)(e);const n=(0,d.isLoose)(t,r);let o;const f=(0,l.hasDecorators)(e.node);const y=[];const g=[];const h=[];const _=new Set;const S=e.get("body");for(const e of S.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){h.push(e)}if(e.isPrivate()){const{name:r}=e.node.key.id;const t=`get ${r}`;const s=`set ${r}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(_.has(t)||_.has(r)&&!_.has(s)){throw e.buildCodeFrameError("Duplicate private field")}_.add(t).add(r)}else if(e.node.kind==="set"){if(_.has(s)||_.has(r)&&!_.has(t)){throw e.buildCodeFrameError("Duplicate private field")}_.add(s).add(r)}}else{if(_.has(r)&&!_.has(t)&&!_.has(s)||_.has(r)&&(_.has(t)||_.has(s))){throw e.buildCodeFrameError("Duplicate private field")}_.add(r)}}if(e.isClassMethod({kind:"constructor"})){o=e}else{g.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){y.push(e)}}}{if(!y.length&&!f)return}const k=e.node.id;let C;if(!k||e.isClassExpression()){(0,a.default)(e);C=e.scope.generateUidIdentifier("class")}else{C=s.types.cloneNode(e.node.id)}const P=(0,i.buildPrivateNamesMap)(y);const D=(0,i.buildPrivateNamesNodes)(P,v!=null?v:n,x!=null?x:false,t);(0,i.transformPrivateNamesUsage)(C,e,P,{privateFieldsAsProperties:E!=null?E:n,noDocumentAll:w,innerBinding:k},t);let I,A,O,R,F;{if(f){A=R=I=[];({instanceNodes:O,wrapClass:F}=(0,l.buildDecoratedClass)(C,e,g,t))}else{I=(0,c.extractComputedKeys)(e,h,t);({staticNodes:A,pureStaticNodes:R,instanceNodes:O,wrapClass:F}=(0,i.buildFieldsInitNodes)(C,e.node.superClass,y,P,t,b!=null?b:n,E!=null?E:n,j!=null?j:n,k))}}if(O.length>0){(0,c.injectInitialization)(e,o,O,((e,r)=>{{if(f)return}for(const t of y){if(s.types.isStaticBlock!=null&&s.types.isStaticBlock(t.node)||t.node.static)continue;t.traverse(e,r)}}))}const M=F(e);M.insertBefore([...D,...I]);if(A.length>0){M.insertAfter(A)}if(R.length>0){M.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(R)}},ExportDefaultDeclaration(e,{file:r}){{if(r.get(p)!=="7.22.1")return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,l.hasDecorators)(t.node)){if(t.node.id){(0,n.default)(e)}else{t.node.type="ClassExpression"}}}}}}}},4510:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.extractComputedKeys=extractComputedKeys;r.injectInitialization=injectInitialization;var s=t(8304);var a=t(6982);const n=s.traverse.visitors.merge([{Super(e){const{node:r,parentPath:t}=e;if(t.isCallExpression({callee:r})){this.push(t)}}},a.default]);const o={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:r}){if(r.hasOwnBinding(e.node.name)){r.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,r){if(r.classBinding&&r.classBinding===e.scope.getBinding(e.node.name)){const t=r.file.addHelper("classNameTDZError");const a=s.types.callExpression(t,[s.types.stringLiteral(e.node.name)]);e.replaceWith(s.types.sequenceExpression([a,e.node]));e.skip()}}const i={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,r,t,a){if(!t.length)return;const i=!!e.node.superClass;if(!r){const t=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));if(i){t.params=[s.types.restElement(s.types.identifier("args"))];t.body.body.push(s.template.statement.ast`super(...args)`)}[r]=e.get("body").unshiftContainer("body",t)}if(a){a(o,{scope:r.scope})}if(i){const e=[];r.traverse(n,e);let a=true;for(const r of e){if(a){r.insertAfter(t);a=false}else{r.insertAfter(t.map((e=>s.types.cloneNode(e))))}}}else{r.get("body").unshiftContainer("body",t)}}function extractComputedKeys(e,r,t){const a=[];const n={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:t};for(const t of r){const r=t.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,n)}else{r.traverse(i,n)}const o=t.node;if(!r.isConstantExpression()){const r=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:r,kind:"let"});a.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(r),o.key)));o.key=s.types.cloneNode(r)}}return a}},3678:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},9810:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});r.FEATURES=t;const s="@babel/plugin-regexp-features/featuresKey";r.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";r.runtimeKey=a;function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},9626:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(365);var o=t(7849);var i=t(9810);var l=t(8755);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.22.15");return}}if(!s.get(c)||o.lt(s.get(c),"7.22.15")){s.set(c,"7.22.15")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},8755:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(9810);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},2161:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});r.FEATURES=t;const s="@babel/plugin-regexp-features/featuresKey";r.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";r.runtimeKey=a;function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},176:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(4198);var o=t(7849);var i=t(2161);var l=t(4559);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.22.1");return}}if(!s.get(c)||o.lt(s.get(c),"7.22.1")){s.set(c,"7.22.1")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},4559:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(2161);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},6982:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{{{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},8552:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},7345:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(6719);var a=t(8622);const{NOT_LOCAL_BINDING:n,cloneNode:o,identifier:i,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:d,isIdentifier:u,isLiteral:p,isNullLiteral:f,isObjectMethod:y,isObjectProperty:g,isRegExpLiteral:h,isRestElement:b,isTemplateLiteral:x,isVariableDeclarator:v,toBindingIdentifierName:j}=a;function getFunctionArity(e){const r=e.params.findIndex((e=>c(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);e<t;e++){n.push(s.generateUidIdentifier("x"))}return a}}r.id=t;s.getProgramParent().references[t.name]=true}function visit(e,r,t){const s={selfAssignment:false,selfReference:false,outerDeclar:t.getBindingIdentifier(r),name:r};const a=t.getOwnBinding(r);if(a){if(a.kind==="param"){s.selfReference=true}else{}}else if(s.outerDeclar||t.hasGlobal(r)){t.traverse(e,_,s)}return s}function _default({node:e,parent:r,scope:t,id:s},a=false,c=false){if(e.id)return;if((g(r)||y(r,{kind:"method"}))&&(!r.computed||p(r.key))){s=r.key}else if(v(r)){s=r.id;if(u(s)&&!a){const r=t.parent.getBinding(s.name);if(r&&r.constant&&t.getBinding(s.name)===r){e.id=o(s);e.id[n]=true;return}}}else if(l(r,{operator:"="})){s=r.left}else if(!s){return}let f;if(s&&p(s)){f=getNameFromLiteralId(s)}else if(s&&u(s)){f=s.name}if(f===undefined){return}if(!c&&d(e)&&/[\uD800-\uDFFF]/.test(f)){return}f=j(f);const h=i(f);h[n]=true;const b=visit(e,f,t);return wrap(b,e,h,t)||e}},4940:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(9128);var a=t(8622);const{NOT_LOCAL_BINDING:n,cloneNode:o,identifier:i,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:d,isIdentifier:u,isLiteral:p,isNullLiteral:f,isObjectMethod:y,isObjectProperty:g,isRegExpLiteral:h,isRestElement:b,isTemplateLiteral:x,isVariableDeclarator:v,toBindingIdentifierName:j}=a;function getFunctionArity(e){const r=e.params.findIndex((e=>c(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);e<t;e++){n.push(s.generateUidIdentifier("x"))}return a}}r.id=t;s.getProgramParent().references[t.name]=true}function visit(e,r,t){const s={selfAssignment:false,selfReference:false,outerDeclar:t.getBindingIdentifier(r),name:r};const a=t.getOwnBinding(r);if(a){if(a.kind==="param"){s.selfReference=true}else{}}else if(s.outerDeclar||t.hasGlobal(r)){t.traverse(e,_,s)}return s}function _default({node:e,parent:r,scope:t,id:s},a=false,c=false){if(e.id)return;if((g(r)||y(r,{kind:"method"}))&&(!r.computed||p(r.key))){s=r.key}else if(v(r)){s=r.id;if(u(s)&&!a){const r=t.parent.getBinding(s.name);if(r&&r.constant&&t.getBinding(s.name)===r){e.id=o(s);e.id[n]=true;return}}}else if(l(r,{operator:"="})){s=r.left}else if(!s){return}let f;if(s&&p(s)){f=getNameFromLiteralId(s)}else if(s&&u(s)){f=s.name}if(f===undefined){return}if(!c&&d(e)&&/[\uD800-\uDFFF]/.test(f)){return}f=j(f);const h=i(f);h[n]=true;const b=visit(e,f,t);return wrap(b,e,h,t)||e}},405:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=hoistVariables;var s=t(8622);const{assignmentExpression:a,expressionStatement:n,identifier:o}=s;const i={Scope(e,r){if(r.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,r){if(r.kind&&e.node.kind!==r.kind)return;const t=[];const s=e.get("declarations");let i;for(const e of s){i=e.node.id;if(e.node.init){t.push(n(a("=",e.node.id,e.node.init)))}for(const t of Object.keys(e.getBindingIdentifiers())){r.emit(o(t),t,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(i)}else{e.replaceWithMultiple(t)}}};function hoistVariables(e,r,t="var"){e.traverse(i,{kind:t,emit:r})}},6981:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r["default"]=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:v}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const n=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(v.path.isPattern()){n.replaceWith(d(o([],n.node),[]));return}const b=willPathCastToBoolean(n);const _=n.parentPath;if(_.isUpdateExpression({argument:t})||_.isAssignmentExpression({left:t})){throw e.buildCodeFrameError(`can't handle assignment`)}const S=_.isUnaryExpression({operator:"delete"});if(S&&n.isOptionalMemberExpression()&&n.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let k=e;for(;;){if(k.isOptionalMemberExpression()){if(k.node.optional)break;k=k.get("object");continue}else if(k.isOptionalCallExpression()){if(k.node.optional)break;k=k.get("callee");continue}throw new Error(`Internal error: unexpected ${k.node.type}`)}const C=k.isOptionalMemberExpression()?k.node.object:k.node.callee;const P=v.maybeGenerateMemoised(C);const D=P!=null?P:C;const I=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>I;const A=a.isCallExpression({callee:t});k.replaceWith(toNonOptional(k,D));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(A){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else{e.replaceWith(this.get(e))}let O=e.node;for(let r=e;r!==n;){const e=r.parentPath;if(e===n&&isOptionalCall()&&s.optional){O=e.node;break}O=toNonOptional(e,O);r=e}let R;const F=n.parentPath;if(y(O)&&F.isOptionalCallExpression({callee:n.node,optional:true})){const{object:r}=O;R=e.scope.maybeGenerateMemoised(r);if(R){O.object=i("=",R,r)}}let M=n;if(S){M=F;O=F.node}const N=P?i("=",u(D),u(C)):u(D);if(b){let e;if(r){e=l("!=",N,j())}else{e=x("&&",l("!==",N,j()),l("!==",u(D),v.buildUndefinedNode()))}M.replaceWith(x("&&",e,O))}else{let e;if(r){e=l("==",N,j())}else{e=x("||",l("===",N,j()),l("===",u(D),v.buildUndefinedNode()))}M.replaceWith(p(e,S?c(true):v.buildUndefinedNode(),O))}if(R){const e=F.node;F.replaceWith(w(E(e.callee,f("call"),false,true),[u(R),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:n}=s;this.memoise(e,2);const o=v.generateUidIdentifierBasedOnNode(t);v.push({id:o});const l=[i("=",u(o),this.get(e))];if(n){l.push(S(r,u(o),n));const t=_(l);a.replaceWith(this.set(e,t));return}else{const s=v.generateUidIdentifierBasedOnNode(t);v.push({id:s});l.push(i("=",u(s),S(r,u(o),n)),u(o));const c=_(l);a.replaceWith(_([this.set(e,c),u(s)]));return}}if(a.isAssignmentExpression({left:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,right:t}=a.node;if(r==="="){a.replaceWith(this.set(e,t))}else{const s=r.slice(0,-1);if(n.includes(s)){this.memoise(e,1);a.replaceWith(x(s,this.get(e),this.set(e,t)))}else{this.memoise(e,2);a.replaceWith(this.set(e,l(s,this.get(e),t)))}}return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(v.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},3590:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r.default=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:n}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const b=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(n.path.isPattern()){b.replaceWith(d(o([],b.node),[]));return}const v=willPathCastToBoolean(b);const _=b.parentPath;if(_.isUpdateExpression({argument:t})){throw e.buildCodeFrameError(`can't handle update expression`)}const S=_.isAssignmentExpression({left:b.node});const k=_.isUnaryExpression({operator:"delete"});if(k&&b.isOptionalMemberExpression()&&b.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let C=e;for(;;){if(C.isOptionalMemberExpression()){if(C.node.optional)break;C=C.get("object");continue}else if(C.isOptionalCallExpression()){if(C.node.optional)break;C=C.get("callee");continue}throw new Error(`Internal error: unexpected ${C.node.type}`)}const P=C.isOptionalMemberExpression()?C.node.object:C.node.callee;const D=n.maybeGenerateMemoised(P);const I=D!=null?D:P;const A=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>A;const O=a.isCallExpression({callee:t});C.replaceWith(toNonOptional(C,I));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(O){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else if(a.isAssignmentExpression()){handleAssignment(this,e,a)}else{e.replaceWith(this.get(e))}let R=e.node;for(let r=e;r!==b;){const e=r.parentPath;if(e===b&&isOptionalCall()&&s.optional){R=e.node;break}R=toNonOptional(e,R);r=e}let F;const M=b.parentPath;if(y(R)&&M.isOptionalCallExpression({callee:b.node,optional:true})){const{object:r}=R;F=e.scope.maybeGenerateMemoised(r);if(F){R.object=i("=",F,r)}}let N=b;if(k||S){N=M;R=M.node}const L=D?i("=",u(I),u(P)):u(I);if(v){let e;if(r){e=l("!=",L,j())}else{e=x("&&",l("!==",L,j()),l("!==",u(I),n.buildUndefinedNode()))}N.replaceWith(x("&&",e,R))}else{let e;if(r){e=l("==",L,j())}else{e=x("||",l("===",L,j()),l("===",u(I),n.buildUndefinedNode()))}N.replaceWith(p(e,k?c(true):n.buildUndefinedNode(),R))}if(F){const e=M.node;M.replaceWith(w(E(e.callee,f("call"),false,true),[u(F),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:o}=s;this.memoise(e,2);const l=n.generateUidIdentifierBasedOnNode(t);n.push({id:l});const c=[i("=",u(l),this.get(e))];if(o){c.push(S(r,u(l),o));const t=_(c);a.replaceWith(this.set(e,t));return}else{const s=n.generateUidIdentifierBasedOnNode(t);n.push({id:s});c.push(i("=",u(s),S(r,u(l),o)),u(l));const d=_(c);a.replaceWith(_([this.set(e,d),u(s)]));return}}if(a.isAssignmentExpression({left:t})){handleAssignment(this,e,a);return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(n.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,r,t){if(e.simpleSet){r.replaceWith(e.simpleSet(r));return}const{operator:s,right:a}=t.node;if(s==="="){t.replaceWith(e.set(r,a))}else{const o=s.slice(0,-1);if(n.includes(o)){e.memoise(r,1);t.replaceWith(x(o,e.get(r),e.set(r,a)))}else{e.memoise(r,2);t.replaceWith(e.set(r,l(o,e.get(r),a)))}}}function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},4835:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);const{callExpression:n,cloneNode:o,expressionStatement:i,identifier:l,importDeclaration:c,importDefaultSpecifier:d,importNamespaceSpecifier:u,importSpecifier:p,memberExpression:f,stringLiteral:y,variableDeclaration:g,variableDeclarator:h}=a;class ImportBuilder{constructor(e,r,t){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=r;this._hub=t;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],y(this._importedSource)));return this}require(){this._statements.push(i(n(l("require"),[y(this._importedSource)])));return this}namespace(e="namespace"){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[u(r)];this._resultName=o(r);return this}default(e){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[d(r)];this._resultName=o(r);return this}named(e,r){if(r==="default")return this.default(e);const t=this._scope.generateUidIdentifier(e);const a=this._statements[this._statements.length-1];s(a.type==="ImportDeclaration");s(a.specifiers.length===0);a.specifiers=[p(t,l(r))];this._resultName=o(t);return this}var(e){const r=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){s(this._resultName);t=i(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=g("var",[h(r,t.expression)]);this._resultName=o(r);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=n(e,[r.expression])}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=n(e,[r.declarations[0].init])}else{s.fail("Unexpected type.")}return this}prop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=f(r.expression,l(e))}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=f(r.declarations[0].init,l(e))}else{s.fail("Unexpected type:"+r.type)}return this}read(e){this._resultName=f(this._resultName,l(e))}}r["default"]=ImportBuilder},8539:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);var n=t(4835);var o=t(8089);const{numericLiteral:i,sequenceExpression:l}=a;class ImportInjector{constructor(e,r,t){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const s=e.find((e=>e.isProgram()));this._programPath=s;this._programScope=s.scope;this._hub=s.hub;this._defaultOpts=this._applyDefaults(r,t,true)}addDefault(e,r){return this.addNamed("default",e,r)}addNamed(e,r,t){s(typeof e==="string");return this._generateImport(this._applyDefaults(r,t),e)}addNamespace(e,r){return this._generateImport(this._applyDefaults(e,r),null)}addSideEffect(e,r){return this._generateImport(this._applyDefaults(e,r),void 0)}_applyDefaults(e,r,t=false){let a;if(typeof e==="string"){a=Object.assign({},this._defaultOpts,{importedSource:e},r)}else{s(!r,"Unexpected secondary arguments.");a=Object.assign({},this._defaultOpts,e)}if(!t&&r){if(r.nameHint!==undefined)a.nameHint=r.nameHint;if(r.blockHoist!==undefined)a.blockHoist=r.blockHoist}return a}_generateImport(e,r){const t=r==="default";const s=!!r&&!t;const a=r===null;const{importedSource:c,importedType:d,importedInterop:u,importingInterop:p,ensureLiveReference:f,ensureNoContext:y,nameHint:g,importPosition:h,blockHoist:b}=e;let x=g||r;const v=(0,o.default)(this._programPath);const j=v&&p==="node";const w=v&&p==="babel";if(h==="after"&&!v){throw new Error(`"importPosition": "after" is only supported in modules`)}const E=new n.default(c,this._programScope,this._hub);if(d==="es6"){if(!j&&!w){throw new Error("Cannot import an ES6 module from CommonJS")}E.import();if(a){E.namespace(g||c)}else if(t||s){E.named(x,r)}}else if(d!=="commonjs"){throw new Error(`Unexpected interopType "${d}"`)}else if(u==="babel"){if(j){x=x!=="default"?x:c;const e=`${c}$es6Default`;E.import();if(a){E.default(e).var(x||c).wildcardInterop()}else if(t){if(f){E.default(e).var(x||c).defaultInterop().read("default")}else{E.default(e).var(x).defaultInterop().prop(r)}}else if(s){E.default(e).read(r)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c).wildcardInterop()}else if((t||s)&&f){if(t){x=x!=="default"?x:c;E.var(x).read(r);E.defaultInterop()}else{E.var(c).read(r)}}else if(t){E.var(x).defaultInterop().prop(r)}else if(s){E.var(x).prop(r)}}}else if(u==="compiled"){if(j){E.import();if(a){E.default(x||c)}else if(t||s){E.default(c).read(x)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t||s){if(f){E.var(c).read(x)}else{E.prop(r).var(x)}}}}else if(u==="uncompiled"){if(t&&f){throw new Error("No live reference for commonjs default")}if(j){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.default(c).read(x)}}else if(w){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t){E.var(x)}else if(s){if(f){E.var(c).read(x)}else{E.var(x).prop(r)}}}}else{throw new Error(`Unknown importedInterop "${u}".`)}const{statements:_,resultName:S}=E.done();this._insertStatements(_,h,b);if((t||s)&&y&&S.type!=="Identifier"){return l([i(0),S])}return S}_insertStatements(e,r="before",t=3){const s=this._programPath.get("body");if(r==="after"){for(let r=s.length-1;r>=0;r--){if(s[r].isImportDeclaration()){s[r].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=t}));const r=s.find((e=>{const r=e.node._blockHoist;return Number.isFinite(r)&&r<4}));if(r){r.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}r["default"]=ImportInjector},3380:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"ImportInjector",{enumerable:true,get:function(){return s.default}});r.addDefault=addDefault;r.addNamed=addNamed;r.addNamespace=addNamespace;r.addSideEffect=addSideEffect;Object.defineProperty(r,"isModule",{enumerable:true,get:function(){return a.default}});var s=t(8539);var a=t(8089);function addDefault(e,r,t){return new s.default(e).addDefault(r,t)}function addNamed(e,r,t,a){return new s.default(e).addNamed(r,t,a)}function addNamespace(e,r,t){return new s.default(e).addNamespace(r,t)}function addSideEffect(e,r,t){return new s.default(e).addSideEffect(r,t)}},8089:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},3664:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildDynamicImport=buildDynamicImport;var s=t(8304);{r.getDynamicImportSource=function getDynamicImportSource(e){const[r]=e.arguments;return s.types.isStringLiteral(r)||s.types.isTemplateLiteral(r)?r:s.template.expression.ast`\`\${${r}}\``}}function buildDynamicImport(e,r,t,a){const n=s.types.isCallExpression(e)?e.arguments[0]:e.source;if(s.types.isStringLiteral(n)||s.types.isTemplateLiteral(n)&&n.quasis.length===0){if(r){return s.template.expression.ast` + Promise.resolve().then(() => ${a(n)}) + `}else return a(n)}const o=s.types.isTemplateLiteral(n)?s.types.identifier("specifier"):s.types.templateLiteral([s.types.templateElement({raw:""}),s.types.templateElement({raw:""})],[s.types.identifier("specifier")]);if(r){return s.template.expression.ast` + (specifier => + new Promise(r => r(${o})) + .then(s => ${a(s.types.identifier("s"))}) + )(${n}) + `}else if(t){return s.template.expression.ast` + (specifier => + new Promise(r => r(${a(o)})) + )(${n}) + `}else{return s.template.expression.ast` + (specifier => ${a(o)})(${n}) + `}}},7406:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=getModuleName;{const e=getModuleName;r["default"]=getModuleName=function getModuleName(r,t){var s,a,n,o;return e(r,{moduleId:(s=t.moduleId)!=null?s:r.moduleId,moduleIds:(a=t.moduleIds)!=null?a:r.moduleIds,getModuleId:(n=t.getModuleId)!=null?n:r.getModuleId,moduleRoot:(o=t.moduleRoot)!=null?o:r.moduleRoot})}}function getModuleName(e,r){const{filename:t,filenameRelative:s=t,sourceRoot:a=r.moduleRoot}=e;const{moduleId:n,moduleIds:o=!!n,getModuleId:i,moduleRoot:l=a}=r;if(!o)return null;if(n!=null&&!i){return n}let c=l!=null?l+"/":"";if(s){const e=a!=null?new RegExp("^"+a+"/?"):"";c+=s.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(i){return i(c)||c}else{return c}}},6646:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"buildDynamicImport",{enumerable:true,get:function(){return d.buildDynamicImport}});r.buildNamespaceInitStatements=buildNamespaceInitStatements;r.ensureStatementsHoisted=ensureStatementsHoisted;Object.defineProperty(r,"getModuleName",{enumerable:true,get:function(){return u.default}});Object.defineProperty(r,"hasExports",{enumerable:true,get:function(){return l.hasExports}});Object.defineProperty(r,"isModule",{enumerable:true,get:function(){return n.isModule}});Object.defineProperty(r,"isSideEffectImport",{enumerable:true,get:function(){return l.isSideEffectImport}});r.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;Object.defineProperty(r,"rewriteThis",{enumerable:true,get:function(){return o.default}});r.wrapInterop=wrapInterop;var s=t(9491);var a=t(8304);var n=t(3380);var o=t(4585);var i=t(7258);var l=t(4042);var c=t(8652);var d=t(3664);var u=t(7406);const{booleanLiteral:p,callExpression:f,cloneNode:y,directive:g,directiveLiteral:h,expressionStatement:b,identifier:x,isIdentifier:v,memberExpression:j,stringLiteral:w,valueToNode:E,variableDeclaration:_,variableDeclarator:S}=a.types;{r.getDynamicImportSource=t(3664).getDynamicImportSource}function rewriteModuleStatementsAndPrepareHeader(e,{exportName:r,strict:t,allowTopLevelThis:a,strictMode:d,noInterop:u,importInterop:p=(u?"none":"babel"),lazy:f,getWrapperPayload:y=c.toGetWrapperPayload(f!=null?f:false),wrapReference:b=c.wrapReference,esNamespaceOnly:x,filename:v,constantReexports:j=arguments[1].loose,enumerableModuleMeta:w=arguments[1].loose,noIncompleteNsImportDetection:E}){(0,l.validateImportInteropOption)(p);s((0,n.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const _=(0,l.default)(e,r,{importInterop:p,initializeReexports:j,getWrapperPayload:y,esNamespaceOnly:x,filename:v});if(!a){(0,o.default)(e)}(0,i.default)(e,_,b);if(d!==false){const r=e.node.directives.some((e=>e.value.value==="use strict"));if(!r){e.unshiftContainer("directives",g(h("use strict")))}}const S=[];if((0,l.hasExports)(_)&&!t){S.push(buildESModuleHeader(_,w))}const k=buildExportNameListDeclaration(e,_);if(k){_.exportNameListName=k.name;S.push(k.statement)}S.push(...buildExportInitializationStatements(e,_,b,j,E));return{meta:_,headers:S}}function ensureStatementsHoisted(e){e.forEach((e=>{e._blockHoist=3}))}function wrapInterop(e,r,t){if(t==="none"){return null}if(t==="node-namespace"){return f(e.hub.addHelper("interopRequireWildcard"),[r,p(true)])}else if(t==="node-default"){return null}let s;if(t==="default"){s="interopRequireDefault"}else if(t==="namespace"){s="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${t}`)}return f(e.hub.addHelper(s),[r])}function buildNamespaceInitStatements(e,r,t=false,s=c.wrapReference){var n;const o=[];const i=x(r.name);for(const e of r.importsNamespace){if(e===r.name)continue;o.push(a.template.statement`var NAME = SOURCE;`({NAME:e,SOURCE:y(i)}))}const l=(n=s(i,r.wrap))!=null?n:i;if(t){o.push(...buildReexportsFromMeta(e,r,true,s))}for(const t of r.reexportNamespace){o.push((!a.types.isIdentifier(l)?a.template.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:f(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,f(a),r);n.loc=t.reexportAll.loc;s.push(n)}return s}const S={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:n.default.statement` + `:a.template.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:t,NAMESPACE:y(l)}))}if(r.reexportAll){const s=buildNamespaceReexport(e,y(l),t);s.loc=r.reexportAll.loc;o.push(s)}return o}const k={constant:a.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:a.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:a.template.statement` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const buildReexportsFromMeta=(e,t,r)=>{const s=t.lazy?d(b(t.name),[]):b(t.name);const{stringSpecifiers:a}=e;return Array.from(t.reexports,(([n,o])=>{let i=f(s);if(o==="default"&&t.interop==="node-default"){}else if(a.has(o)){i=v(i,j(o),true)}else{i=v(i,b(o))}const l={EXPORTS:e.exportName,EXPORT_NAME:n,NAMESPACE_IMPORT:i};if(r||x(i)){if(a.has(n)){return S.constantComputed(l)}else{return S.constant(l)}}else{return S.spec(l)}}))};function buildESModuleHeader(e,t=false){return(t?n.default.statement` + `};function buildReexportsFromMeta(e,r,t,s){var a;let n=x(r.name);n=(a=s(n,r.wrap))!=null?a:n;const{stringSpecifiers:o}=e;return Array.from(r.reexports,(([s,a])=>{let i=y(n);if(a==="default"&&r.interop==="node-default"){}else if(o.has(a)){i=j(i,w(a),true)}else{i=j(i,x(a))}const l={EXPORTS:e.exportName,EXPORT_NAME:s,NAMESPACE_IMPORT:i};if(t||v(i)){if(o.has(s)){return k.constantComputed(l)}else{return k.constant(l)}}else{return k.spec(l)}}))}function buildESModuleHeader(e,r=false){return(r?a.template.statement` EXPORTS.__esModule = true; - `:n.default.statement` + `:a.template.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?n.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,r,t){return(t?a.template.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -118,7 +235,7 @@ EXPORTS[key] = NAMESPACE[key]; }); - `:n.default.statement` + `:a.template.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -131,17 +248,29 @@ }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` + `)({NAMESPACE:r,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,a.template)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let s=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}s=s||!!e.reexportAll}if(!s||Object.keys(r).length===0)return null;const a=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:a.name,statement:w("var",[_(a,E(r))])}}function buildExportInitializationStatements(e,t,r=false,s=false){const a=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){a.push([r.names[0],buildInitStatement(t,r.names,b(e))])}else if(!s){for(const e of r.names){a.push([e,null])}}}for(const e of t.source.values()){if(!r){const r=buildReexportsFromMeta(t,e,false);const s=[...e.reexports.keys()];for(let e=0;e<r.length;e++){a.push([s[e],r[e]])}}if(!s){for(const t of e.reexportNamespace){a.push([t,null])}}}a.sort((([e],[t])=>{if(e<t)return-1;if(t<e)return 1;return 0}));const n=[];if(s){for(const[,e]of a){n.push(e)}}else{const r=100;for(let s=0;s<a.length;s+=r){let o=[];for(let i=0;i<r&&s+i<a.length;i++){const[r,l]=a[s+i];if(l!==null){if(o.length>0){n.push(buildInitStatement(t,o,e.scope.buildUndefinedNode()));o=[]}n.push(l)}else{o.push(r)}}if(o.length>0){n.push(buildInitStatement(t,o,e.scope.buildUndefinedNode()))}}}return n}const k={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:s,exportName:a}=e;return h(t.reduce(((e,t)=>{const r={EXPORTS:a,NAME:t,VALUE:e};if(s.has(t)){return k.computed(r)}else{return k.default(r)}}),r))}},6943:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeModuleAndLoadMetadata;t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;var s=r(1017);var a=r(7239);var n=r(1705);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t,r){if(typeof e==="function"){return validateImportInteropOption(e(t,r))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:s=false,lazy:a=false,esNamespaceOnly:n=false,filename:o}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const i=new Set;nameAnonymousExports(e);const{local:l,source:c,hasExports:u}=getModuleMetadata(e,{initializeReexports:s,lazy:a},i);removeModuleDeclarations(e);for(const[,e]of c){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source,o);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:l,source:c,stringSpecifiers:i}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,a.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},a){const n=getLocalExportMetadata(e,r,a);const o=new Map;const getData=t=>{const r=t.value;let a=o.get(r);if(!a){a={name:e.scope.generateUidIdentifier((0,s.basename)(r,(0,s.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};o.set(r,a)}return a};let i=false;e.get("body").forEach((e=>{if(e.isImportDeclaration()){const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const s=n.get(r);if(s){n.delete(r);s.names.forEach((e=>{t.reexports.set(e,"default")}))}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const s=n.get(r);if(s){n.delete(r);s.names.forEach((e=>{t.reexportNamespace.add(e)}))}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),a);const s=e.get("local").node.name;t.imports.set(s,r);const o=n.get(s);if(o){n.delete(s);o.names.forEach((e=>{t.reexports.set(e,r)}))}}}))}else if(e.isExportAllDeclaration()){i=true;const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){i=true;const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),a);const s=getExportSpecifierName(e.get("exported"),a);t.reexports.set(s,r);if(s==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}}))}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){i=true}}));for(const e of o.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const s of e.imports.values()){if(s==="default")t=true;else r=true}for(const s of e.reexports.values()){if(s==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of o){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:i,local:n,source:o}}function getLocalExportMetadata(e,t,r){const s=new Map;e.get("body").forEach((e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach((e=>{assertExportSpecifier(e);s.set(e.get("local").node.name,"block")}));return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach((e=>{s.set(e,r)}))}));const a=new Map;const getLocalMetadata=e=>{const t=e.node.name;let r=a.get(t);if(!r){const n=s.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:n};a.set(t,r)}return r};e.get("body").forEach((e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach((e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}getLocalMetadata(r[e]).names.push(e)}))}else{e.get("specifiers").forEach((e=>{const t=e.get("local");const s=e.get("exported");const a=getLocalMetadata(t);const n=getExportSpecifierName(s,r);if(n==="__esModule"){throw s.buildCodeFrameError('Illegal export "__esModule".')}a.names.push(n)}))}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){getLocalMetadata(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}}));return a}function nameAnonymousExports(e){e.get("body").forEach((e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)}))}function removeModuleDeclarations(e){e.get("body").forEach((e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}}))}},2329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteLiveReferences;var s=r(9491);var a=r(8622);var n=r(9767);var o=r(7798);const{assignmentExpression:i,callExpression:l,cloneNode:c,expressionStatement:u,getOuterBindingIdentifiers:p,identifier:d,isMemberExpression:f,isVariableDeclaration:y,jsxIdentifier:g,jsxMemberExpression:h,memberExpression:b,numericLiteral:x,sequenceExpression:v,stringLiteral:j,variableDeclaration:E,variableDeclarator:w}=a;function isInType(e){do{switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:if(e.parentPath.isStatement()||e.parentPath.isExpression()){return false}}}while(e=e.parentPath)}function rewriteLiveReferences(e,t){const r=new Map;const s=new Map;const requeueInParent=t=>{e.requeue(t)};for(const[e,s]of t.source){for(const[t,a]of s.imports){r.set(t,[e,a,null])}for(const t of s.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=s.get(e);if(!t){t=[];s.set(e,t)}t.push(...r.names)}const a={metadata:t,requeueInParent:requeueInParent,scope:e.scope,exported:s};e.traverse(_,a);(0,o.default)(e,new Set([...Array.from(r.keys()),...Array.from(s.keys())]),false);const n={seen:new WeakSet,metadata:t,requeueInParent:requeueInParent,scope:e.scope,imported:r,exported:s,buildImportReference:([e,r,s],a)=>{const n=t.source.get(e);if(s){if(n.lazy)a=l(a,[]);return a}let o=d(n.name);if(n.lazy)o=l(o,[]);if(r==="default"&&n.interop==="node-default"){return o}const i=t.stringSpecifiers.has(r);return b(o,i?j(r):d(r),i)}};e.traverse(S,n)}const _={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:s}=this;const{id:a}=e.node;if(!a)throw new Error("Expected class to have a name");const n=a.name;const o=r.get(n)||[];if(o.length>0){const r=u(buildBindingExportAssignmentExpression(s,o,d(n)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:s}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach((a=>{const n=r.get(a)||[];if(n.length>0){const r=u(buildBindingExportAssignmentExpression(s,n,d(a)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}}))}};const buildBindingExportAssignmentExpression=(e,t,r)=>(t||[]).reduce(((t,r)=>{const{stringSpecifiers:s}=e;const a=s.has(r);return i("=",b(d(e.exportName),a?j(r):d(r),a),t)}),r);const buildImportThrow=e=>n.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,r){const t=Object.create(null);for(const e of r.local.values()){for(const r of e.names){t[r]=true}}let s=false;for(const e of r.source.values()){for(const r of e.reexports.keys()){t[r]=true}for(const r of e.reexportNamespace){t[r]=true}s=s||!!e.reexportAll}if(!s||Object.keys(t).length===0)return null;const a=e.scope.generateUidIdentifier("exportNames");delete t.default;return{name:a.name,statement:_("var",[S(a,E(t))])}}function buildExportInitializationStatements(e,r,t,s=false,a=false){const n=[];for(const[e,t]of r.local){if(t.kind==="import"){}else if(t.kind==="hoisted"){n.push([t.names[0],buildInitStatement(r,t.names,x(e))])}else if(!a){for(const e of t.names){n.push([e,null])}}}for(const e of r.source.values()){if(!s){const s=buildReexportsFromMeta(r,e,false,t);const a=[...e.reexports.keys()];for(let e=0;e<s.length;e++){n.push([a[e],s[e]])}}if(!a){for(const r of e.reexportNamespace){n.push([r,null])}}}n.sort((([e],[r])=>{if(e<r)return-1;if(r<e)return 1;return 0}));const o=[];if(a){for(const[,e]of n){o.push(e)}}else{const t=100;for(let s=0;s<n.length;s+=t){let a=[];for(let i=0;i<t&&s+i<n.length;i++){const[t,l]=n[s+i];if(l!==null){if(a.length>0){o.push(buildInitStatement(r,a,e.scope.buildUndefinedNode()));a=[]}o.push(l)}else{a.push(t)}}if(a.length>0){o.push(buildInitStatement(r,a,e.scope.buildUndefinedNode()))}}}return o}const C={computed:a.template.expression`EXPORTS["NAME"] = VALUE`,default:a.template.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,r,t){const{stringSpecifiers:s,exportName:a}=e;return b(r.reduce(((e,r)=>{const t={EXPORTS:a,NAME:r,VALUE:e};if(s.has(r)){return C.computed(t)}else{return C.default(t)}}),t))}},8652:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.toGetWrapperPayload=toGetWrapperPayload;r.wrapReference=wrapReference;var s=t(8304);var a=t(4042);function toGetWrapperPayload(e){return(r,t)=>{if(e===false)return null;if((0,a.isSideEffectImport)(t)||t.reexportAll)return null;if(e===true){return/\./.test(r)?null:"lazy"}if(Array.isArray(e)){return e.indexOf(r)===-1?null:"lazy"}if(typeof e==="function"){return e(r)?"lazy":null}throw new Error(`.lazy must be a boolean, string array, or function`)}}function wrapReference(e,r){if(r==="lazy")return s.types.callExpression(e,[]);return null}},4042:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=normalizeModuleAndLoadMetadata;r.hasExports=hasExports;r.isSideEffectImport=isSideEffectImport;r.validateImportInteropOption=validateImportInteropOption;var s=t(1017);var a=t(4975);var n=t(4097);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,r,t){if(typeof e==="function"){return validateImportInteropOption(e(r,t))}return e}function normalizeModuleAndLoadMetadata(e,r,{importInterop:t,initializeReexports:s=false,getWrapperPayload:a,esNamespaceOnly:n=false,filename:o}){if(!r){r=e.scope.generateUidIdentifier("exports").name}const i=new Set;nameAnonymousExports(e);const{local:l,sources:c,hasExports:d}=getModuleMetadata(e,{initializeReexports:s,getWrapperPayload:a},i);removeImportExportDeclarations(e);for(const[e,r]of c){const{importsNamespace:s,imports:a}=r;if(s.size>0&&a.size===0){const[e]=s;r.name=e}const i=resolveImportInterop(t,e,o);if(i==="none"){r.interop="none"}else if(i==="node"&&r.interop==="namespace"){r.interop="node-namespace"}else if(i==="node"&&r.interop==="default"){r.interop="node-default"}else if(n&&r.interop==="namespace"){r.interop="default"}}return{exportName:r,exportNameListName:null,hasExports:d,local:l,source:c,stringSpecifiers:i}}function getExportSpecifierName(e,r){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const t=e.node.value;if(!(0,a.isIdentifierName)(t)){r.add(t)}return t}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{getWrapperPayload:r,initializeReexports:t},a){const n=getLocalExportMetadata(e,t,a);const o=new Map;const i=new Map;const getData=(r,t)=>{const a=r.value;let n=i.get(a);if(!n){n={name:e.scope.generateUidIdentifier((0,s.basename)(a,(0,s.extname)(a))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:false};i.set(a,n);o.set(a,[t])}else{o.get(a).push(t)}return n};let l=false;e.get("body").forEach((e=>{if(e.isImportDeclaration()){const r=getData(e.node.source,e.node);if(!r.loc)r.loc=e.node.loc;e.get("specifiers").forEach((e=>{if(e.isImportDefaultSpecifier()){const t=e.get("local").node.name;r.imports.set(t,"default");const s=n.get(t);if(s){n.delete(t);s.names.forEach((e=>{r.reexports.set(e,"default")}));r.referenced=true}}else if(e.isImportNamespaceSpecifier()){const t=e.get("local").node.name;r.importsNamespace.add(t);const s=n.get(t);if(s){n.delete(t);s.names.forEach((e=>{r.reexportNamespace.add(e)}));r.referenced=true}}else if(e.isImportSpecifier()){const t=getExportSpecifierName(e.get("imported"),a);const s=e.get("local").node.name;r.imports.set(s,t);const o=n.get(s);if(o){n.delete(s);o.names.forEach((e=>{r.reexports.set(e,t)}));r.referenced=true}}}))}else if(e.isExportAllDeclaration()){l=true;const r=getData(e.node.source,e.node);if(!r.loc)r.loc=e.node.loc;r.reexportAll={loc:e.node.loc};r.referenced=true}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const r=getData(e.node.source,e.node);if(!r.loc)r.loc=e.node.loc;e.get("specifiers").forEach((e=>{assertExportSpecifier(e);const t=getExportSpecifierName(e.get("local"),a);const s=getExportSpecifierName(e.get("exported"),a);r.reexports.set(s,t);r.referenced=true;if(s==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}}))}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}}));for(const e of i.values()){let r=false;let t=false;if(e.importsNamespace.size>0){r=true;t=true}if(e.reexportAll){t=true}for(const s of e.imports.values()){if(s==="default")r=true;else t=true}for(const s of e.reexports.values()){if(s==="default")r=true;else t=true}if(r&&t){e.interop="namespace"}else if(r){e.interop="default"}}if(r){for(const[e,t]of i){t.wrap=r(e,t,o.get(e))}}return{hasExports:l,local:n,sources:i}}function getLocalExportMetadata(e,r,t){const s=new Map;e.get("body").forEach((e=>{let t;if(e.isImportDeclaration()){t="import"}else{if(e.isExportDefaultDeclaration()){e=e.get("declaration")}if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(r&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach((e=>{assertExportSpecifier(e);s.set(e.get("local").node.name,"block")}));return}}if(e.isFunctionDeclaration()){t="hoisted"}else if(e.isClassDeclaration()){t="block"}else if(e.isVariableDeclaration({kind:"var"})){t="var"}else if(e.isVariableDeclaration()){t="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach((e=>{s.set(e,t)}))}));const a=new Map;const getLocalMetadata=e=>{const r=e.node.name;let t=a.get(r);if(!t){const n=s.get(r);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${r}", which is not declared.`)}t={names:[],kind:n};a.set(r,t)}return t};e.get("body").forEach((e=>{if(e.isExportNamedDeclaration()&&(r||!e.node.source)){if(e.node.declaration){const r=e.get("declaration");const t=r.getOuterBindingIdentifierPaths();Object.keys(t).forEach((e=>{if(e==="__esModule"){throw r.buildCodeFrameError('Illegal export "__esModule".')}getLocalMetadata(t[e]).names.push(e)}))}else{e.get("specifiers").forEach((e=>{const r=e.get("local");const s=e.get("exported");const a=getLocalMetadata(r);const n=getExportSpecifierName(s,t);if(n==="__esModule"){throw s.buildCodeFrameError('Illegal export "__esModule".')}a.names.push(n)}))}}else if(e.isExportDefaultDeclaration()){const r=e.get("declaration");if(r.isFunctionDeclaration()||r.isClassDeclaration()){getLocalMetadata(r.get("id")).names.push("default")}else{throw r.buildCodeFrameError("Unexpected default expression export.")}}}));return a}function nameAnonymousExports(e){e.get("body").forEach((e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)}))}function removeImportExportDeclarations(e){e.get("body").forEach((e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const r=e.get("declaration");if(r.isFunctionDeclaration()||r.isClassDeclaration()){r._blockHoist=e.node._blockHoist;e.replaceWith(r)}else{throw r.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}}))}},7258:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=rewriteLiveReferences;var s=t(9491);var a=t(8304);var n=t(6118);const{assignmentExpression:o,cloneNode:i,expressionStatement:l,getOuterBindingIdentifiers:c,identifier:d,isArrowFunctionExpression:u,isClassExpression:p,isFunctionExpression:f,isIdentifier:y,isMemberExpression:g,isVariableDeclaration:h,jsxIdentifier:b,jsxMemberExpression:x,memberExpression:v,numericLiteral:j,sequenceExpression:w,stringLiteral:E,variableDeclaration:_,variableDeclarator:S}=a.types;function isInType(e){do{switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:if(e.parentPath.isStatement()||e.parentPath.isExpression()){return false}}}while(e=e.parentPath)}function rewriteLiveReferences(e,r,t){const s=new Map;const a=new Map;const requeueInParent=r=>{e.requeue(r)};for(const[e,t]of r.source){for(const[r,a]of t.imports){s.set(r,[e,a,null])}for(const r of t.importsNamespace){s.set(r,[e,null,r])}}for(const[e,t]of r.local){let r=a.get(e);if(!r){r=[];a.set(e,r)}r.push(...t.names)}const o={metadata:r,requeueInParent:requeueInParent,scope:e.scope,exported:a};e.traverse(k,o);const i=new Set([...Array.from(s.keys()),...Array.from(a.keys())]);{(0,n.default)(e,i,false)}const l={seen:new WeakSet,metadata:r,requeueInParent:requeueInParent,scope:e.scope,imported:s,exported:a,buildImportReference([e,s,a],n){const o=r.source.get(e);o.referenced=true;if(a){if(o.wrap){var i;n=(i=t(n,o.wrap))!=null?i:n}return n}let l=d(o.name);if(o.wrap){var c;l=(c=t(l,o.wrap))!=null?c:l}if(s==="default"&&o.interop==="node-default"){return l}const u=r.stringSpecifiers.has(s);return v(l,u?E(s):d(s),u)}};e.traverse(C,l)}const k={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:r,exported:t,metadata:s}=this;const{id:a}=e.node;if(!a)throw new Error("Expected class to have a name");const n=a.name;const o=t.get(n)||[];if(o.length>0){const t=l(buildBindingExportAssignmentExpression(s,o,d(n),e.scope));t._blockHoist=e.node._blockHoist;r(e.insertAfter(t)[0])}},VariableDeclaration(e){const{requeueInParent:r,exported:t,metadata:s}=this;const a=e.node.kind==="var";for(const n of e.get("declarations")){const{id:o}=n.node;let{init:i}=n.node;if(y(o)&&t.has(o.name)&&!u(i)&&(!f(i)||i.id)&&(!p(i)||i.id)){if(!i){if(a){continue}else{i=e.scope.buildUndefinedNode()}}n.node.init=buildBindingExportAssignmentExpression(s,t.get(o.name),i,e.scope);r(n.get("init"))}else{for(const a of Object.keys(n.getOuterBindingIdentifiers())){if(t.has(a)){const n=l(buildBindingExportAssignmentExpression(s,t.get(a),d(a),e.scope));n._blockHoist=e.node._blockHoist;r(e.insertAfter(n)[0])}}}}}};const buildBindingExportAssignmentExpression=(e,r,t,s)=>{const a=e.exportName;for(let e=s;e!=null;e=e.parent){if(e.hasOwnBinding(a)){e.rename(a)}}return(r||[]).reduce(((r,t)=>{const{stringSpecifiers:s}=e;const n=s.has(t);return o("=",v(d(a),n?E(t):d(t),n),r)}),t)};const buildImportThrow=e=>a.template.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `;const S={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:s,imported:a,requeueInParent:n}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const i=a.get(o);if(i){if(isInType(e)){throw e.buildCodeFrameError(`Cannot transform the imported binding "${o}" since it's also used in a type annotation. `+`Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`)}const t=e.scope.getBinding(o);const a=s.getBinding(o);if(a!==t)return;const l=r(i,e.node);l.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&f(l)){e.replaceWith(v([x(0),l]))}else if(e.isJSXIdentifier()&&f(l)){const{object:t,property:r}=l;e.replaceWith(h(g(t.name),g(r.name)))}else{e.replaceWith(l)}n(e);e.skip()}},UpdateExpression(e){const{scope:t,seen:r,imported:s,exported:a,requeueInParent:n,buildImportReference:o}=this;if(r.has(e.node))return;r.add(e.node);const l=e.get("argument");if(l.isMemberExpression())return;const u=e.node;if(l.isIdentifier()){const r=l.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const n=a.get(r);const p=s.get(r);if((n==null?void 0:n.length)>0||p){if(p){e.replaceWith(i(u.operator[0]+"=",o(p,l.node),buildImportThrow(r)))}else if(u.prefix){e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,n,c(u)))}else{const s=t.generateDeclaredUidIdentifier(r);e.replaceWith(v([i("=",c(s),c(u)),buildBindingExportAssignmentExpression(this.metadata,n,d(r)),c(s)]))}}}n(e);e.skip()},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:a,exported:n,requeueInParent:o,buildImportReference:i}=this;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(l.isMemberExpression())return;if(l.isIdentifier()){const r=l.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=n.get(r);const u=a.get(r);if((c==null?void 0:c.length)>0||u){s(e.node.operator==="=","Path was not simplified");const t=e.node;if(u){t.left=i(u,t.left);t.right=v([t.right,buildImportThrow(r)])}e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,c,t));o(e)}}else{const r=l.getOuterBindingIdentifiers();const s=Object.keys(r).filter((r=>t.getBinding(r)===e.scope.getBinding(r)));const i=s.find((e=>a.has(e)));if(i){e.node.right=v([e.node.right,buildImportThrow(i)])}const c=[];s.forEach((e=>{const t=n.get(e)||[];if(t.length>0){c.push(buildBindingExportAssignmentExpression(this.metadata,t,d(e)))}}));if(c.length>0){let t=v(c);if(e.parentPath.isExpressionStatement()){t=u(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:s}=r;const{exported:a,imported:n,scope:o}=this;if(!y(s)){let r=false,l;const d=e.get("body").scope;for(const e of Object.keys(p(s))){if(o.getBinding(e)===t.getBinding(e)){if(a.has(e)){r=true;if(d.hasOwnBinding(e)){d.rename(e)}}if(n.has(e)&&!l){l=e}}}if(!r&&!l){return}e.ensureBlock();const f=e.get("body");const y=t.generateUidIdentifierBasedOnNode(s);e.get("left").replaceWith(E("let",[w(c(y))]));t.registerDeclaration(e.get("left"));if(r){f.unshiftContainer("body",u(i("=",s,y)))}if(l){f.unshiftContainer("body",u(buildImportThrow(l)))}}}}},9094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteThis;var s=r(5166);var a=r(7369);var n=r(8622);const{numericLiteral:o,unaryExpression:i}=n;function rewriteThis(e){(0,a.default)(e.node,Object.assign({},l,{noScope:true}))}const l=a.default.visitors.merge([s.default,{ThisExpression(e){e.replaceWith(i("void",o(0),true))}}])},5462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=optimiseCallExpression;var s=r(8622);const{callExpression:a,identifier:n,isIdentifier:o,isSpreadElement:i,memberExpression:l,optionalCallExpression:c,optionalMemberExpression:u}=s;function optimiseCallExpression(e,t,r,s){if(r.length===1&&i(r[0])&&o(r[0].argument,{name:"arguments"})){if(s){return c(u(e,n("apply"),false,true),[t,r[0].argument],false)}return a(l(e,n("apply")),[t,r[0].argument])}else{if(s){return c(u(e,n("call"),false,true),[t,...r],false)}return a(l(e,n("call")),[t,...r])}}},1715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;function declare(e){return(t,s,a)=>{var n;let o;for(const e of Object.keys(r)){var i;if(t[e])continue;o=(i=o)!=null?i:copyApiObject(t);o[e]=r[e](o)}return e((n=o)!=null?n:t,s||{},a)}}const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>({}),assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let s;if(t.slice(0,2)==="7."){s=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{s=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},8123:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;t.declarePreset=void 0;function declare(e){return(t,r,a)=>{var n;let o;for(const e of Object.keys(s)){var i;if(t[e])continue;o=(i=o)!=null?i:copyApiObject(t);o[e]=s[e](o)}return e((n=o)!=null?n:t,r||{},a)}}const r=declare;t.declarePreset=r;const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>({}),assumption:()=>()=>{}};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let s;if(t.slice(0,2)==="7."){s=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{s=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},2495:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=r(8450);var a=r(4198);var n=r(8622);const{callExpression:o,cloneNode:i,isIdentifier:l,isThisExpression:c,yieldExpression:u}=n;const p={Function(e){e.skip()},AwaitExpression(e,{wrapAwait:t}){const r=e.get("argument");e.replaceWith(u(t?o(i(t),[r.node]):r.node))}};function _default(e,t,r,n){e.traverse(p,{wrapAwait:t.wrapAwait});const o=checkIsIIFE(e);e.node.async=false;e.node.generator=true;(0,s.default)(e,i(t.wrapAsync),r,n);const u=e.isObjectMethod()||e.isClassMethod()||e.parentPath.isObjectProperty()||e.parentPath.isClassProperty();if(!u&&!o&&e.isExpression()){(0,a.default)(e)}function checkIsIIFE(e){if(e.parentPath.isCallExpression({callee:e.node})){return true}const{parentPath:t}=e;if(t.isMemberExpression()&&l(t.node.property,{name:"bind"})){const{parentPath:e}=t;return e.isCallExpression()&&e.node.arguments.length===1&&c(e.node.arguments[0])&&e.parentPath.isCallExpression({callee:e.node})}return false}}},7328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;Object.defineProperty(t,"environmentVisitor",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"skipAllButComputedKey",{enumerable:true,get:function(){return o.skipAllButComputedKey}});var s=r(7369);var a=r(6981);var n=r(6392);var o=r(6982);var i=r(8622);const{assignmentExpression:l,booleanLiteral:c,callExpression:u,cloneNode:p,identifier:d,memberExpression:f,sequenceExpression:y,stringLiteral:g,thisExpression:h}=i;function getPrototypeOfExpression(e,t,r,s){e=p(e);const a=t||s?e:f(e,d("prototype"));return u(r.addHelper("getPrototypeOf"),[a])}const b=s.default.visitors.merge([o.default,{Super(e,t){const{node:r,parentPath:s}=e;if(!s.isMemberExpression({object:r}))return;t.handle(s)}}]);const x=s.default.visitors.merge([o.default,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const v={memoise(e,t){const{scope:r,node:s}=e;const{computed:a,property:n}=s;if(!a){return}const o=r.maybeGenerateMemoised(n);if(!o){return}this.memoiser.set(n,o,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return p(this.memoiser.get(r))}if(t){return p(r)}return g(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return u(this.file.addHelper("get"),[t.memo?y([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:h()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:l("=",e,h()),this:p(e)}},set(e,t){const r=this._getThisRefs();const s=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return u(this.file.addHelper("set"),[r.memo?y([r.memo,s]):s,this.prop(e),t,r.this,c(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,n.default)(this._get(e,r),p(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,n.default)(this._get(e,r),p(r.this),t,true)}};const j=Object.assign({},v,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return p(this.memoiser.get(t))}return p(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:s}=e.node;const a=this.prop(e);let n;if(t){var o;n=(o=r())!=null?o:f(d("Function"),d("prototype"))}else{var i;n=f((i=r())!=null?i:d("Object"),d("prototype"))}return f(n,a,s)},set(e,t){const{computed:r}=e.node;const s=this.prop(e);return l("=",f(h(),s,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return f(h(),r,t)},call(e,t){return(0,n.default)(this.get(e),h(),t,false)},optionalCall(e,t){return(0,n.default)(this.get(e),h(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return p(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return p(this.opts.superRef);if(this.opts.getSuperRef)return p(this.opts.getSuperRef())}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(x,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?j:v;(0,a.default)(this.methodPath,b,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t["default"]=ReplaceSupers},7798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=simplifyAccess;var s=r(8622);const{LOGICAL_OPERATORS:a,assignmentExpression:n,binaryExpression:o,cloneNode:i,identifier:l,logicalExpression:c,numericLiteral:u,sequenceExpression:p,unaryExpression:d}=s;function simplifyAccess(e,t,r=true){e.traverse(f,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:r})}const f={UpdateExpression:{exit(e){const{scope:t,bindingNames:r,includeUpdateExpression:s}=this;if(!s){return}const a=e.get("argument");if(!a.isIdentifier())return;const c=a.node.name;if(!r.has(c))return;if(t.getBinding(c)!==e.scope.getBinding(c)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n(t,a.node,u(1)))}else if(e.node.prefix){e.replaceWith(n("=",l(c),o(e.node.operator[0],d("+",a.node),u(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(a.node,"old");const r=t.name;e.scope.push({id:t});const s=o(e.node.operator[0],l(r),u(1));e.replaceWith(p([n("=",l(r),d("+",a.node)),n("=",i(a.node),s),l(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const u=l.node.name;if(!s.has(u))return;if(t.getBinding(u)!==e.scope.getBinding(u)){return}const p=e.node.operator.slice(0,-1);if(a.includes(p)){e.replaceWith(c(p,e.node.left,n("=",i(e.node.left),e.node.right)))}else{e.node.right=o(p,i(e.node.left),e.node.right);e.node.operator="="}}}}},9692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTransparentExprWrapper=isTransparentExprWrapper;t.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;t.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=r(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSTypeAssertion:i,isTypeCastExpression:l}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||o(e)||l(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},1705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=splitExportDeclaration;var s=r(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const r=e.get("declaration");const s=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||s;const u=r.isScope()?r.scope.parent:r.scope;let p=r.node.id;let d=false;if(!p){d=true;p=u.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=a(p)}}const f=t?r:l("var",[c(a(p),r.node)]);const y=n(null,[o(a(p),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(d){u.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const u=r.getOuterBindingIdentifiers();const p=Object.keys(u).map((e=>o(i(e),i(e))));const d=n(null,p);e.insertAfter(d);e.replaceWith(r.node);return e}},8676:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let s=[],a=[],n,o;const i=e.length,l=t.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===t[o-1]?s[o-1]:r(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,t){const s=t.map((t=>levenshtein(t,e)));return t[s.indexOf(r(...s))]}},46:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=r(3952);var a=r(8676)},3952:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var s=r(8676);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},7343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(6454);function shouldTransform(e){const{node:t}=e;const r=t.id;if(!r)return false;const s=r.name;const a=e.scope.getOwnBinding(s);if(a===undefined){return false}if(a.kind!=="param"){return false}if(a.identifier===a.path.node){return false}return s}var a=s.declare((e=>{e.assertVersion("^7.16.0");return{name:"plugin-bugfix-safari-id-destructuring-collision-in-function-expression",visitor:{FunctionExpression(e){const t=shouldTransform(e);if(t){const{scope:r}=e;const s=r.generateUid(t);r.rename(t,s)}}}}}));t["default"]=a},660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(6454);var a=r(9350);var n=r(9692);var o=r(8304);function matchAffectedArguments(e){const t=e.findIndex((e=>o.types.isSpreadElement(e)));return t>=0&&t!==e.length-1}function shouldTransform(e){let t=e;const r=[];while(t.isOptionalMemberExpression()||t.isOptionalCallExpression()){const{node:e}=t;r.push(e);if(t.isOptionalMemberExpression()){t=n.skipTransparentExprWrappers(t.get("object"))}else if(t.isOptionalCallExpression()){t=n.skipTransparentExprWrappers(t.get("callee"))}}for(let e=0;e<r.length;e++){const t=r[e];if(o.types.isOptionalCallExpression(t)&&matchAffectedArguments(t.arguments)){if(t.optional){return true}const s=r[e+1];if(o.types.isOptionalMemberExpression(s,{optional:true})){return true}}}return false}var i=s.declare((e=>{var t,r;e.assertVersion(7);const s=(t=e.assumption("noDocumentAll"))!=null?t:false;const n=(r=e.assumption("pureGetters"))!=null?r:false;return{name:"bugfix-v8-spread-parameters-in-optional-chaining",visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){if(shouldTransform(e)){a.transform(e,{noDocumentAll:s,pureGetters:n})}}}}}));t["default"]=i},9890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=r(8304);const a=(0,s.template)(`\n async function wrapper() {\n var ITERATOR_ABRUPT_COMPLETION = false;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY;\n ITERATOR_ABRUPT_COMPLETION = !(STEP_KEY = await ITERATOR_KEY.next()).done;\n ITERATOR_ABRUPT_COMPLETION = false\n ) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (ITERATOR_ABRUPT_COMPLETION && ITERATOR_KEY.return != null) {\n await ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n`);function _default(e,{getAsyncIterator:t}){const{node:r,scope:n,parent:o}=e;const i=n.generateUidIdentifier("step");const l=s.types.memberExpression(i,s.types.identifier("value"));const c=r.left;let u;if(s.types.isIdentifier(c)||s.types.isPattern(c)||s.types.isMemberExpression(c)){u=s.types.expressionStatement(s.types.assignmentExpression("=",c,l))}else if(s.types.isVariableDeclaration(c)){u=s.types.variableDeclaration(c.kind,[s.types.variableDeclarator(c.declarations[0].id,l)])}let p=a({ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_ABRUPT_COMPLETION:n.generateUidIdentifier("iteratorAbruptCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:n.generateUidIdentifier("iterator"),GET_ITERATOR:t,OBJECT:r.right,STEP_KEY:s.types.cloneNode(i)});p=p.body.body;const d=s.types.isLabeledStatement(o);const f=p[3].block.body;const y=f[0];if(d){f[0]=s.types.labeledStatement(o.label,y)}return{replaceParent:d,node:p,declar:u,loop:y}}},9428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(2495);var n=r(3578);var o=r(8304);var i=r(9890);var l=(0,s.declare)((e=>{e.assertVersion(7);const t={Function(e){e.skip()},YieldExpression({node:e},t){if(!e.delegate)return;const r=t.addHelper("asyncGeneratorDelegate");e.argument=o.types.callExpression(r,[o.types.callExpression(t.addHelper("asyncIterator"),[e.argument]),t.addHelper("awaitAsyncGenerator")])}};const r={Function(e){e.skip()},ForOfStatement(e,{file:t}){const{node:r}=e;if(!r.await)return;const s=(0,i.default)(e,{getAsyncIterator:t.addHelper("asyncIterator")});const{declar:a,loop:n}=s;const l=n.body;e.ensureBlock();if(a){l.body.push(a)}l.body.push(...r.body.body);o.types.inherits(n,r);o.types.inherits(n.body,r.body);if(s.replaceParent){e.parentPath.replaceWithMultiple(s.node)}else{e.replaceWithMultiple(s.node)}}};const s={Function(e,s){if(!e.node.async)return;e.traverse(r,s);if(!e.node.generator)return;e.traverse(t,s);(0,a.default)(e,{wrapAsync:s.addHelper("wrapAsyncGenerator"),wrapAwait:s.addHelper("awaitAsyncGenerator")})}};return{name:"proposal-async-generator-functions",inherits:n.default,visitor:{Program(e,t){e.traverse(s,t)}}}}));t["default"]=l},8736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(8123);var a=r(2425);var n=(0,s.declare)(((e,t)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:a.FEATURES.fields,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties")}})}));t["default"]=n},1688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(2425);var n=(0,s.declare)(((e,t)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:a.FEATURES.fields,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties")}})}));t["default"]=n},4417:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(5839);var n=r(2425);function generateUid(e,t){const r="";let s;let a=1;do{s=e._generateUid(r,a);a++}while(t.has(s));return s}var o=(0,s.declare)((({types:e,template:t,assertVersion:r})=>{r("^7.12.0");return{name:"proposal-class-static-block",inherits:a.default,pre(){(0,n.enableFeature)(this.file,n.FEATURES.staticBlocks,false)},visitor:{ClassBody(r){const{scope:s}=r;const a=new Set;const n=r.get("body");for(const e of n){if(e.isPrivate()){a.add(e.get("key.id").node.name)}}for(const r of n){if(!r.isStaticBlock())continue;const n=generateUid(s,a);a.add(n);const o=e.privateName(e.identifier(n));let i;const l=r.node.body;if(l.length===1&&e.isExpressionStatement(l[0])){i=l[0].expression}else{i=t.expression.ast`(() => { ${l} })()`}r.replaceWith(e.classPrivateProperty(o,i,[],true))}}}}}));t["default"]=o},3205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6215);var a=r(3477);const n=["commonjs","amd","systemjs"];const o=`@babel/plugin-proposal-dynamic-import depends on a modules\ntransform plugin. Supported plugins are:\n - @babel/plugin-transform-modules-commonjs ^7.4.0\n - @babel/plugin-transform-modules-amd ^7.4.0\n - @babel/plugin-transform-modules-systemjs ^7.4.0\n\nIf you are using Webpack or Rollup and thus don't want\nBabel to transpile your imports and exports, you can use\nthe @babel/plugin-syntax-dynamic-import plugin and let your\nbundler handle dynamic imports.\n`;var i=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-dynamic-import",inherits:a.default,pre(){this.file.set("@babel/plugin-proposal-dynamic-import","7.16.7")},visitor:{Program(){const e=this.file.get("@babel/plugin-transform-modules-*");if(!n.includes(e)){throw new Error(o)}}}}}));t["default"]=i},1186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(6529);var n=r(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:a.default,visitor:{ExportNamedDeclaration(e){var t;const{node:r,scope:s}=e;const{specifiers:a}=r;const o=n.types.isExportDefaultSpecifier(a[0])?1:0;if(!n.types.isExportNamespaceSpecifier(a[o]))return;const i=[];if(o===1){i.push(n.types.exportNamedDeclaration(null,[a.shift()],r.source))}const l=a.shift();const{exported:c}=l;const u=s.generateUidIdentifier((t=c.name)!=null?t:c.value);i.push(n.types.importDeclaration([n.types.importNamespaceSpecifier(u)],n.types.cloneNode(r.source)),n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(u),c)]));if(r.specifiers.length>=1){i.push(r)}const[p]=e.replaceWithMultiple(i);e.scope.registerDeclaration(p)}}}}));t["default"]=o},6976:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(6529);var n=r(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:a.default,visitor:{ExportNamedDeclaration(e){var t;const{node:r,scope:s}=e;const{specifiers:a}=r;const o=n.types.isExportDefaultSpecifier(a[0])?1:0;if(!n.types.isExportNamespaceSpecifier(a[o]))return;const i=[];if(o===1){i.push(n.types.exportNamedDeclaration(null,[a.shift()],r.source))}const l=a.shift();const{exported:c}=l;const u=s.generateUidIdentifier((t=c.name)!=null?t:c.value);i.push(n.types.importDeclaration([n.types.importNamespaceSpecifier(u)],n.types.cloneNode(r.source)),n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(u),c)]));if(r.specifiers.length>=1){i.push(r)}const[p]=e.replaceWithMultiple(i);e.scope.registerDeclaration(p)}}}}));t["default"]=o},2547:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(5099);var n=(0,s.declare)((e=>{e.assertVersion(7);const t=/(\\*)([\u2028\u2029])/g;function replace(e,t,r){const s=t.length%2===1;if(s)return e;return`${t}\\u${r.charCodeAt(0).toString(16)}`}return{name:"proposal-json-strings",inherits:a.default,visitor:{"DirectiveLiteral|StringLiteral"({node:e}){const{extra:r}=e;if(!(r!=null&&r.raw))return;r.raw=r.raw.replace(t,replace)}}}}));t["default"]=n},9163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(4379);var n=r(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-logical-assignment-operators",inherits:a.default,visitor:{AssignmentExpression(e){const{node:t,scope:r}=e;const{operator:s,left:a,right:o}=t;const i=s.slice(0,-1);if(!n.types.LOGICAL_OPERATORS.includes(i)){return}const l=n.types.cloneNode(a);if(n.types.isMemberExpression(a)){const{object:e,property:t,computed:s}=a;const o=r.maybeGenerateMemoised(e);if(o){a.object=o;l.object=n.types.assignmentExpression("=",n.types.cloneNode(o),e)}if(s){const e=r.maybeGenerateMemoised(t);if(e){a.property=e;l.property=n.types.assignmentExpression("=",n.types.cloneNode(e),t)}}}e.replaceWith(n.types.logicalExpression(i,l,n.types.assignmentExpression("=",a,o)))}}}}));t["default"]=o},7234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(4714);var n=r(8304);var o=(0,s.declare)(((e,{loose:t=false})=>{var r;e.assertVersion(7);const s=(r=e.assumption("noDocumentAll"))!=null?r:t;return{name:"proposal-nullish-coalescing-operator",inherits:a.default,visitor:{LogicalExpression(e){const{node:t,scope:r}=e;if(t.operator!=="??"){return}let a;let o;if(r.isStatic(t.left)){a=t.left;o=n.types.cloneNode(t.left)}else if(r.path.isPattern()){e.replaceWith(n.template.statement.ast`(() => ${e.node})()`);return}else{a=r.generateUidIdentifierBasedOnNode(t.left);r.push({id:n.types.cloneNode(a)});o=n.types.assignmentExpression("=",a,t.left)}e.replaceWith(n.types.conditionalExpression(s?n.types.binaryExpression("!=",o,n.types.nullLiteral()):n.types.logicalExpression("&&",n.types.binaryExpression("!==",o,n.types.nullLiteral()),n.types.binaryExpression("!==",n.types.cloneNode(a),r.buildUndefinedNode())),n.types.cloneNode(a),t.right))}}}}));t["default"]=o},2155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(1026);function remover({node:e}){var t;const{extra:r}=e;if(r!=null&&(t=r.raw)!=null&&t.includes("_")){r.raw=r.raw.replace(/_/g,"")}}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:a.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}}));t["default"]=n},4470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6215);var a=r(1026);function remover({node:e}){var t;const{extra:r}=e;if(r!=null&&(t=r.raw)!=null&&t.includes("_")){r.raw=r.raw.replace(/_/g,"")}}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:a.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}}));t["default"]=n},4095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(1715);var a=r(1801);var n=r(8304);var o=r(4141);var i=r(7490);var l=r(5700);const c=(()=>{const e=n.types.identifier("a");const t=n.types.objectProperty(n.types.identifier("key"),e);const r=n.types.objectPattern([t]);return n.types.isReferenced(e,t,r)?1:0})();var u=(0,s.declare)(((e,t)=>{var r,s,u,p;e.assertVersion(7);const d=e.targets();const f=!(0,i.isRequired)("es6.object.assign",d,{compatData:l});const{useBuiltIns:y=f,loose:g=false}=t;if(typeof g!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const h=(r=e.assumption("ignoreFunctionLength"))!=null?r:g;const b=(s=e.assumption("objectRestNoSymbols"))!=null?s:g;const x=(u=e.assumption("pureGetters"))!=null?u:g;const v=(p=e.assumption("setSpreadProperties"))!=null?p:g;function getExtendsHelper(e){return y?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let t=false;visitRestElements(e,(e=>{t=true;e.stop()}));return t}function hasObjectPatternRestElement(e){let t=false;visitRestElements(e,(e=>{if(e.parentPath.isObjectPattern()){t=true;e.stop()}}));return t}function visitRestElements(e,t){e.traverse({Expression(e){const t=e.parent.type;if(t==="AssignmentPattern"&&e.key==="right"||t==="ObjectProperty"&&e.parent.computed&&e.key==="key"){e.skip()}},RestElement:t})}function hasSpread(e){for(const t of e.properties){if(n.types.isSpreadElement(t)){return true}}return false}function extractNormalizedKeys(e){const t=e.node.properties;const r=[];let s=true;let a=false;for(const e of t){if(n.types.isIdentifier(e.key)&&!e.computed){r.push(n.types.stringLiteral(e.key.name))}else if(n.types.isTemplateLiteral(e.key)){r.push(n.types.cloneNode(e.key));a=true}else if(n.types.isLiteral(e.key)){r.push(n.types.stringLiteral(String(e.key.value)))}else{r.push(n.types.cloneNode(e.key));s=false}}return{keys:r,allLiteral:s,hasTemplateLiteral:a}}function replaceImpureComputedKeys(e,t){const r=[];for(const s of e){const e=s.get("key");if(s.node.computed&&!e.isPure()){const s=t.generateUidBasedOnNode(e.node);const a=n.types.variableDeclarator(n.types.identifier(s),e.node);r.push(a);e.replaceWith(n.types.identifier(s))}}return r}function removeUnusedExcludedKeys(e){const t=e.getOuterBindingIdentifierPaths();Object.keys(t).forEach((r=>{const s=t[r].parentPath;if(e.scope.getBinding(r).references>c||!s.isObjectProperty()){return}s.remove()}))}function createObjectRest(e,t,r){const s=e.get("properties");const a=s[s.length-1];n.types.assertRestElement(a.node);const o=n.types.cloneNode(a.node);a.remove();const i=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:u}=extractNormalizedKeys(e);if(l.length===0){return[i,o.argument,n.types.callExpression(getExtendsHelper(t),[n.types.objectExpression([]),n.types.cloneNode(r)])]}let p;if(!c){p=n.types.callExpression(n.types.memberExpression(n.types.arrayExpression(l),n.types.identifier("map")),[t.addHelper("toPropertyKey")])}else{p=n.types.arrayExpression(l);if(!u&&!n.types.isProgram(e.scope.block)){const t=e.findParent((e=>e.isProgram()));const r=e.scope.generateUidIdentifier("excluded");t.scope.push({id:r,init:p,kind:"const"});p=n.types.cloneNode(r)}}return[i,o.argument,n.types.callExpression(t.addHelper(`objectWithoutProperties${b?"Loose":""}`),[n.types.cloneNode(r),p])]}function replaceRestElement(e,t,r){if(t.isAssignmentPattern()){replaceRestElement(e,t.get("left"),r);return}if(t.isArrayPattern()&&hasRestElement(t)){const s=t.get("elements");for(let t=0;t<s.length;t++){replaceRestElement(e,s[t],r)}}if(t.isObjectPattern()&&hasRestElement(t)){const s=e.scope.generateUidIdentifier("ref");const a=n.types.variableDeclaration("let",[n.types.variableDeclarator(t.node,s)]);if(r){r.push(a)}else{e.ensureBlock();e.get("body").unshiftContainer("body",a)}t.replaceWith(n.types.cloneNode(s))}}return{name:"proposal-object-rest-spread",inherits:a.default,visitor:{Function(e){const t=e.get("params");const r=new Set;const s=new Set;for(let e=0;e<t.length;++e){const a=t[e];if(hasRestElement(a)){r.add(e);for(const e of Object.keys(a.getBindingIdentifiers())){s.add(e)}}}let a=false;const IdentifierHandler=function(e,t){const r=e.node.name;if(e.scope.getBinding(r)===t.getBinding(r)&&s.has(r)){a=true;e.stop()}};let n;for(n=0;n<t.length&&!a;++n){const s=t[n];if(!r.has(n)){if(s.isReferencedIdentifier()||s.isBindingIdentifier()){IdentifierHandler(e,e.scope)}else{s.traverse({"Scope|TypeAnnotation|TSTypeAnnotation":e=>e.skip(),"ReferencedIdentifier|BindingIdentifier":IdentifierHandler},e.scope)}}}if(!a){for(let e=0;e<t.length;++e){const s=t[e];if(r.has(e)){replaceRestElement(s.parentPath,s)}}}else{const shouldTransformParam=e=>e>=n-1||r.has(e);(0,o.convertFunctionParams)(e,h,shouldTransformParam,replaceRestElement)}},VariableDeclarator(e,t){if(!e.get("id").isObjectPattern()){return}let r=e;const s=e;visitRestElements(e.get("id"),(e=>{if(!e.parentPath.isObjectPattern()){return}if(s.node.id.properties.length>1&&!n.types.isIdentifier(s.node.init)){const t=e.scope.generateUidIdentifierBasedOnNode(s.node.init,"ref");s.insertBefore(n.types.variableDeclarator(t,s.node.init));s.replaceWith(n.types.variableDeclarator(s.node.id,n.types.cloneNode(t)));return}let a=s.node.init;const o=[];let i;e.findParent((e=>{if(e.isObjectProperty()){o.unshift(e)}else if(e.isVariableDeclarator()){i=e.parentPath.node.kind;return true}}));const l=replaceImpureComputedKeys(o,e.scope);o.forEach((e=>{const{node:t}=e;a=n.types.memberExpression(a,n.types.cloneNode(t.key),t.computed||n.types.isLiteral(t.key))}));const c=e.findParent((e=>e.isObjectPattern()));const[u,p,d]=createObjectRest(c,t,a);if(x){removeUnusedExcludedKeys(c)}n.types.assertIdentifier(p);r.insertBefore(u);r.insertBefore(l);r.insertAfter(n.types.variableDeclarator(p,d));r=r.getSibling(r.key+1);e.scope.registerBinding(i,r);if(c.node.properties.length===0){c.findParent((e=>e.isObjectProperty()||e.isVariableDeclarator())).remove()}}))},ExportNamedDeclaration(e){const t=e.get("declaration");if(!t.isVariableDeclaration())return;const r=t.get("declarations").some((e=>hasObjectPatternRestElement(e.get("id"))));if(!r)return;const s=[];for(const t of Object.keys(e.getOuterBindingIdentifiers(e))){s.push(n.types.exportSpecifier(n.types.identifier(t),n.types.identifier(t)))}e.replaceWith(t.node);e.insertAfter(n.types.exportNamedDeclaration(null,s))},CatchClause(e){const t=e.get("param");replaceRestElement(t.parentPath,t)},AssignmentExpression(e,t){const r=e.get("left");if(r.isObjectPattern()&&hasRestElement(r)){const s=[];const a=e.scope.generateUidBasedOnNode(e.node.right,"ref");s.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(a),e.node.right)]));const[o,i,l]=createObjectRest(r,t,n.types.identifier(a));if(o.length>0){s.push(n.types.variableDeclaration("var",o))}const c=n.types.cloneNode(e.node);c.right=n.types.identifier(a);s.push(n.types.expressionStatement(c));s.push(n.types.toStatement(n.types.assignmentExpression("=",i,l)));s.push(n.types.expressionStatement(n.types.identifier(a)));e.replaceWithMultiple(s)}},ForXStatement(e){const{node:t,scope:r}=e;const s=e.get("left");const a=t.left;if(!hasObjectPatternRestElement(s)){return}if(!n.types.isVariableDeclaration(a)){const s=r.generateUidIdentifier("ref");t.left=n.types.variableDeclaration("var",[n.types.variableDeclarator(s)]);e.ensureBlock();if(t.body.body.length===0&&e.isCompletionRecord()){t.body.body.unshift(n.types.expressionStatement(r.buildUndefinedNode()))}t.body.body.unshift(n.types.expressionStatement(n.types.assignmentExpression("=",a,n.types.cloneNode(s))))}else{const s=a.declarations[0].id;const o=r.generateUidIdentifier("ref");t.left=n.types.variableDeclaration(a.kind,[n.types.variableDeclarator(o,null)]);e.ensureBlock();t.body.body.unshift(n.types.variableDeclaration(t.left.kind,[n.types.variableDeclarator(s,n.types.cloneNode(o))]))}},ArrayPattern(e){const t=[];visitRestElements(e,(e=>{if(!e.parentPath.isObjectPattern()){return}const r=e.parentPath;const s=e.scope.generateUidIdentifier("ref");t.push(n.types.variableDeclarator(r.node,s));r.replaceWith(n.types.cloneNode(s));e.skip()}));if(t.length>0){const r=e.getStatementParent();r.insertAfter(n.types.variableDeclaration(r.node.kind||"var",t))}},ObjectExpression(e,t){if(!hasSpread(e.node))return;let r;if(v){r=getExtendsHelper(t)}else{try{r=t.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;r=t.addHelper("objectSpread")}}let s=null;let a=[];function make(){const e=a.length>0;const t=n.types.objectExpression(a);a=[];if(!s){s=n.types.callExpression(r,[t]);return}if(x){if(e){s.arguments.push(t)}return}s=n.types.callExpression(n.types.cloneNode(r),[s,...e?[n.types.objectExpression([]),t]:[]])}for(const t of e.node.properties){if(n.types.isSpreadElement(t)){make();s.arguments.push(t.argument)}else{a.push(t)}}if(a.length)make();e.replaceWith(s)}}}}));t["default"]=u},2807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(6454);var a=r(1801);var n=r(8304);var o=r(4013);var i=r(815);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var l=_interopDefaultLegacy(a);var c={"es6.array.copy-within":{chrome:"45",opera:"32",edge:"12",firefox:"32",safari:"9",node:"4",ios:"9",samsung:"5",rhino:"1.7.13",electron:"0.31"},"es6.array.every":{chrome:"5",opera:"10.10",edge:"12",firefox:"2",safari:"3.1",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.array.fill":{chrome:"45",opera:"32",edge:"12",firefox:"31",safari:"7.1",node:"4",ios:"8",samsung:"5",rhino:"1.7.13",electron:"0.31"},"es6.array.filter":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.array.find":{chrome:"45",opera:"32",edge:"12",firefox:"25",safari:"7.1",node:"4",ios:"8",samsung:"5",rhino:"1.7.13",electron:"0.31"},"es6.array.find-index":{chrome:"45",opera:"32",edge:"12",firefox:"25",safari:"7.1",node:"4",ios:"8",samsung:"5",rhino:"1.7.13",electron:"0.31"},"es7.array.flat-map":{chrome:"69",opera:"56",edge:"79",firefox:"62",safari:"12",node:"11",ios:"12",samsung:"10",electron:"4.0"},"es6.array.for-each":{chrome:"5",opera:"10.10",edge:"12",firefox:"2",safari:"3.1",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.array.from":{chrome:"51",opera:"38",edge:"15",firefox:"36",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es7.array.includes":{chrome:"47",opera:"34",edge:"14",firefox:"43",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.36"},"es6.array.index-of":{chrome:"5",opera:"10.10",edge:"12",firefox:"2",safari:"3.1",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.array.is-array":{chrome:"5",opera:"10.50",edge:"12",firefox:"4",safari:"4",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.array.iterator":{chrome:"66",opera:"53",edge:"12",firefox:"60",safari:"9",node:"10",ios:"9",samsung:"9",rhino:"1.7.13",electron:"3.0"},"es6.array.last-index-of":{chrome:"5",opera:"10.10",edge:"12",firefox:"2",safari:"3.1",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.array.map":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.array.of":{chrome:"45",opera:"32",edge:"12",firefox:"25",safari:"9",node:"4",ios:"9",samsung:"5",rhino:"1.7.13",electron:"0.31"},"es6.array.reduce":{chrome:"5",opera:"10.50",edge:"12",firefox:"3",safari:"4",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.array.reduce-right":{chrome:"5",opera:"10.50",edge:"12",firefox:"3",safari:"4",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.array.slice":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.array.some":{chrome:"5",opera:"10.10",edge:"12",firefox:"2",safari:"3.1",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.array.sort":{chrome:"63",opera:"50",edge:"12",firefox:"5",safari:"12",node:"10",ie:"9",ios:"12",samsung:"8",rhino:"1.7.13",electron:"3.0"},"es6.array.species":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.date.now":{chrome:"5",opera:"10.50",edge:"12",firefox:"2",safari:"4",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.date.to-iso-string":{chrome:"5",opera:"10.50",edge:"12",firefox:"3.5",safari:"4",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.date.to-json":{chrome:"5",opera:"12.10",edge:"12",firefox:"4",safari:"10",node:"0.10",ie:"9",android:"4",ios:"10",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.date.to-primitive":{chrome:"47",opera:"34",edge:"15",firefox:"44",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.36"},"es6.date.to-string":{chrome:"5",opera:"10.50",edge:"12",firefox:"2",safari:"3.1",node:"0.10",ie:"10",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.function.bind":{chrome:"7",opera:"12",edge:"12",firefox:"4",safari:"5.1",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.function.has-instance":{chrome:"51",opera:"38",edge:"15",firefox:"50",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.function.name":{chrome:"5",opera:"10.50",edge:"14",firefox:"2",safari:"4",node:"0.10",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.map":{chrome:"51",opera:"38",edge:"15",firefox:"53",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.math.acosh":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.asinh":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.atanh":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.cbrt":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.clz32":{chrome:"38",opera:"25",edge:"12",firefox:"31",safari:"9",node:"0.12",ios:"9",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.cosh":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.expm1":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.fround":{chrome:"38",opera:"25",edge:"12",firefox:"26",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.hypot":{chrome:"38",opera:"25",edge:"12",firefox:"27",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.imul":{chrome:"30",opera:"17",edge:"12",firefox:"23",safari:"7",node:"0.12",android:"4.4",ios:"7",samsung:"2",rhino:"1.7.13",electron:"0.20"},"es6.math.log1p":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.log10":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.log2":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.sign":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"9",node:"0.12",ios:"9",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.sinh":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.tanh":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.math.trunc":{chrome:"38",opera:"25",edge:"12",firefox:"25",safari:"7.1",node:"0.12",ios:"8",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.number.constructor":{chrome:"41",opera:"28",edge:"12",firefox:"36",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.number.epsilon":{chrome:"34",opera:"21",edge:"12",firefox:"25",safari:"9",node:"0.12",ios:"9",samsung:"2",rhino:"1.7.14",electron:"0.20"},"es6.number.is-finite":{chrome:"19",opera:"15",edge:"12",firefox:"16",safari:"9",node:"0.12",android:"4.1",ios:"9",samsung:"1.5",rhino:"1.7.13",electron:"0.20"},"es6.number.is-integer":{chrome:"34",opera:"21",edge:"12",firefox:"16",safari:"9",node:"0.12",ios:"9",samsung:"2",rhino:"1.7.13",electron:"0.20"},"es6.number.is-nan":{chrome:"19",opera:"15",edge:"12",firefox:"15",safari:"9",node:"0.12",android:"4.1",ios:"9",samsung:"1.5",rhino:"1.7.13",electron:"0.20"},"es6.number.is-safe-integer":{chrome:"34",opera:"21",edge:"12",firefox:"32",safari:"9",node:"0.12",ios:"9",samsung:"2",rhino:"1.7.13",electron:"0.20"},"es6.number.max-safe-integer":{chrome:"34",opera:"21",edge:"12",firefox:"31",safari:"9",node:"0.12",ios:"9",samsung:"2",rhino:"1.7.13",electron:"0.20"},"es6.number.min-safe-integer":{chrome:"34",opera:"21",edge:"12",firefox:"31",safari:"9",node:"0.12",ios:"9",samsung:"2",rhino:"1.7.13",electron:"0.20"},"es6.number.parse-float":{chrome:"34",opera:"21",edge:"12",firefox:"25",safari:"9",node:"0.12",ios:"9",samsung:"2",rhino:"1.7.14",electron:"0.20"},"es6.number.parse-int":{chrome:"34",opera:"21",edge:"12",firefox:"25",safari:"9",node:"0.12",ios:"9",samsung:"2",rhino:"1.7.14",electron:"0.20"},"es6.object.assign":{chrome:"49",opera:"36",edge:"13",firefox:"36",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.object.create":{chrome:"5",opera:"12",edge:"12",firefox:"4",safari:"4",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es7.object.define-getter":{chrome:"62",opera:"49",edge:"16",firefox:"48",safari:"9",node:"8.10",ios:"9",samsung:"8",electron:"3.0"},"es7.object.define-setter":{chrome:"62",opera:"49",edge:"16",firefox:"48",safari:"9",node:"8.10",ios:"9",samsung:"8",electron:"3.0"},"es6.object.define-property":{chrome:"5",opera:"12",edge:"12",firefox:"4",safari:"5.1",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.object.define-properties":{chrome:"5",opera:"12",edge:"12",firefox:"4",safari:"4",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es7.object.entries":{chrome:"54",opera:"41",edge:"14",firefox:"47",safari:"10.1",node:"7",ios:"10.3",samsung:"6",rhino:"1.7.14",electron:"1.4"},"es6.object.freeze":{chrome:"44",opera:"31",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"4",rhino:"1.7.13",electron:"0.30"},"es6.object.get-own-property-descriptor":{chrome:"44",opera:"31",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"4",rhino:"1.7.13",electron:"0.30"},"es7.object.get-own-property-descriptors":{chrome:"54",opera:"41",edge:"15",firefox:"50",safari:"10.1",node:"7",ios:"10.3",samsung:"6",electron:"1.4"},"es6.object.get-own-property-names":{chrome:"40",opera:"27",edge:"12",firefox:"33",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.object.get-prototype-of":{chrome:"44",opera:"31",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"4",rhino:"1.7.13",electron:"0.30"},"es7.object.lookup-getter":{chrome:"62",opera:"49",edge:"79",firefox:"36",safari:"9",node:"8.10",ios:"9",samsung:"8",electron:"3.0"},"es7.object.lookup-setter":{chrome:"62",opera:"49",edge:"79",firefox:"36",safari:"9",node:"8.10",ios:"9",samsung:"8",electron:"3.0"},"es6.object.prevent-extensions":{chrome:"44",opera:"31",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"4",rhino:"1.7.13",electron:"0.30"},"es6.object.to-string":{chrome:"57",opera:"44",edge:"15",firefox:"51",safari:"10",node:"8",ios:"10",samsung:"7",electron:"1.7"},"es6.object.is":{chrome:"19",opera:"15",edge:"12",firefox:"22",safari:"9",node:"0.12",android:"4.1",ios:"9",samsung:"1.5",rhino:"1.7.13",electron:"0.20"},"es6.object.is-frozen":{chrome:"44",opera:"31",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"4",rhino:"1.7.13",electron:"0.30"},"es6.object.is-sealed":{chrome:"44",opera:"31",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"4",rhino:"1.7.13",electron:"0.30"},"es6.object.is-extensible":{chrome:"44",opera:"31",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"4",rhino:"1.7.13",electron:"0.30"},"es6.object.keys":{chrome:"40",opera:"27",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.object.seal":{chrome:"44",opera:"31",edge:"12",firefox:"35",safari:"9",node:"4",ios:"9",samsung:"4",rhino:"1.7.13",electron:"0.30"},"es6.object.set-prototype-of":{chrome:"34",opera:"21",edge:"12",firefox:"31",safari:"9",node:"0.12",ie:"11",ios:"9",samsung:"2",rhino:"1.7.13",electron:"0.20"},"es7.object.values":{chrome:"54",opera:"41",edge:"14",firefox:"47",safari:"10.1",node:"7",ios:"10.3",samsung:"6",rhino:"1.7.14",electron:"1.4"},"es6.promise":{chrome:"51",opera:"38",edge:"14",firefox:"45",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es7.promise.finally":{chrome:"63",opera:"50",edge:"18",firefox:"58",safari:"11.1",node:"10",ios:"11.3",samsung:"8",electron:"3.0"},"es6.reflect.apply":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.construct":{chrome:"49",opera:"36",edge:"13",firefox:"49",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.define-property":{chrome:"49",opera:"36",edge:"13",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.delete-property":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.get":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.get-own-property-descriptor":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.get-prototype-of":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.has":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.is-extensible":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.own-keys":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.prevent-extensions":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.set":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.reflect.set-prototype-of":{chrome:"49",opera:"36",edge:"12",firefox:"42",safari:"10",node:"6",ios:"10",samsung:"5",electron:"0.37"},"es6.regexp.constructor":{chrome:"50",opera:"37",edge:"79",firefox:"40",safari:"10",node:"6",ios:"10",samsung:"5",electron:"1.1"},"es6.regexp.flags":{chrome:"49",opera:"36",edge:"79",firefox:"37",safari:"9",node:"6",ios:"9",samsung:"5",electron:"0.37"},"es6.regexp.match":{chrome:"50",opera:"37",edge:"79",firefox:"49",safari:"10",node:"6",ios:"10",samsung:"5",rhino:"1.7.13",electron:"1.1"},"es6.regexp.replace":{chrome:"50",opera:"37",edge:"79",firefox:"49",safari:"10",node:"6",ios:"10",samsung:"5",electron:"1.1"},"es6.regexp.split":{chrome:"50",opera:"37",edge:"79",firefox:"49",safari:"10",node:"6",ios:"10",samsung:"5",electron:"1.1"},"es6.regexp.search":{chrome:"50",opera:"37",edge:"79",firefox:"49",safari:"10",node:"6",ios:"10",samsung:"5",rhino:"1.7.13",electron:"1.1"},"es6.regexp.to-string":{chrome:"50",opera:"37",edge:"79",firefox:"39",safari:"10",node:"6",ios:"10",samsung:"5",electron:"1.1"},"es6.set":{chrome:"51",opera:"38",edge:"15",firefox:"53",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.symbol":{chrome:"51",opera:"38",edge:"79",firefox:"51",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es7.symbol.async-iterator":{chrome:"63",opera:"50",edge:"79",firefox:"57",safari:"12",node:"10",ios:"12",samsung:"8",electron:"3.0"},"es6.string.anchor":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.big":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.blink":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.bold":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.code-point-at":{chrome:"41",opera:"28",edge:"12",firefox:"29",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.string.ends-with":{chrome:"41",opera:"28",edge:"12",firefox:"29",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.string.fixed":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.fontcolor":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.fontsize":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.from-code-point":{chrome:"41",opera:"28",edge:"12",firefox:"29",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.string.includes":{chrome:"41",opera:"28",edge:"12",firefox:"40",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.string.italics":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.iterator":{chrome:"38",opera:"25",edge:"12",firefox:"36",safari:"9",node:"0.12",ios:"9",samsung:"3",rhino:"1.7.13",electron:"0.20"},"es6.string.link":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es7.string.pad-start":{chrome:"57",opera:"44",edge:"15",firefox:"48",safari:"10",node:"8",ios:"10",samsung:"7",rhino:"1.7.13",electron:"1.7"},"es7.string.pad-end":{chrome:"57",opera:"44",edge:"15",firefox:"48",safari:"10",node:"8",ios:"10",samsung:"7",rhino:"1.7.13",electron:"1.7"},"es6.string.raw":{chrome:"41",opera:"28",edge:"12",firefox:"34",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.14",electron:"0.21"},"es6.string.repeat":{chrome:"41",opera:"28",edge:"12",firefox:"24",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.string.small":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.starts-with":{chrome:"41",opera:"28",edge:"12",firefox:"29",safari:"9",node:"4",ios:"9",samsung:"3.4",rhino:"1.7.13",electron:"0.21"},"es6.string.strike":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.sub":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.sup":{chrome:"5",opera:"15",edge:"12",firefox:"17",safari:"6",node:"0.10",android:"4",ios:"7",phantom:"2",samsung:"1",rhino:"1.7.14",electron:"0.20"},"es6.string.trim":{chrome:"5",opera:"10.50",edge:"12",firefox:"3.5",safari:"4",node:"0.10",ie:"9",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es7.string.trim-left":{chrome:"66",opera:"53",edge:"79",firefox:"61",safari:"12",node:"10",ios:"12",samsung:"9",rhino:"1.7.13",electron:"3.0"},"es7.string.trim-right":{chrome:"66",opera:"53",edge:"79",firefox:"61",safari:"12",node:"10",ios:"12",samsung:"9",rhino:"1.7.13",electron:"3.0"},"es6.typed.array-buffer":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.data-view":{chrome:"5",opera:"12",edge:"12",firefox:"15",safari:"5.1",node:"0.10",ie:"10",android:"4",ios:"6",phantom:"2",samsung:"1",rhino:"1.7.13",electron:"0.20"},"es6.typed.int8-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.uint8-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.uint8-clamped-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.int16-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.uint16-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.int32-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.uint32-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.float32-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.typed.float64-array":{chrome:"51",opera:"38",edge:"13",firefox:"48",safari:"10",node:"6.5",ios:"10",samsung:"5",electron:"1.2"},"es6.weak-map":{chrome:"51",opera:"38",edge:"15",firefox:"53",safari:"9",node:"6.5",ios:"9",samsung:"5",electron:"1.2"},"es6.weak-set":{chrome:"51",opera:"38",edge:"15",firefox:"53",safari:"9",node:"6.5",ios:"9",samsung:"5",electron:"1.2"}};var u=c;const{isObjectProperty:p,isArrayPattern:d,isObjectPattern:f,isAssignmentPattern:y,isRestElement:g,isIdentifier:h}=n.types;function shouldStoreRHSInTemporaryVariable(e){if(d(e)){const t=e.elements.filter((e=>e!==null));if(t.length>1)return true;else return shouldStoreRHSInTemporaryVariable(t[0])}else if(f(e)){const{properties:t}=e;if(t.length>1)return true;else if(t.length===0)return false;else{const e=t[0];if(p(e)){return shouldStoreRHSInTemporaryVariable(e.value)}else{return shouldStoreRHSInTemporaryVariable(e)}}}else if(y(e)){return shouldStoreRHSInTemporaryVariable(e.left)}else if(g(e)){if(h(e.argument))return true;return shouldStoreRHSInTemporaryVariable(e.argument)}else{return false}}const{isAssignmentPattern:b,isObjectProperty:x}=n.types;{const e=n.types.identifier("a");const t=n.types.objectProperty(n.types.identifier("key"),e);const r=n.types.objectPattern([t]);var v=n.types.isReferenced(e,t,r)?1:0}var j=s.declare(((e,t)=>{var r,s,a,c;e.assertVersion(7);const p=e.targets();const d=!i.isRequired("es6.object.assign",p,{compatData:u});const{useBuiltIns:f=d,loose:y=false}=t;if(typeof y!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const g=(r=e.assumption("ignoreFunctionLength"))!=null?r:y;const h=(s=e.assumption("objectRestNoSymbols"))!=null?s:y;const j=(a=e.assumption("pureGetters"))!=null?a:y;const E=(c=e.assumption("setSpreadProperties"))!=null?c:y;function getExtendsHelper(e){return f?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let t=false;visitRestElements(e,(e=>{t=true;e.stop()}));return t}function hasObjectPatternRestElement(e){let t=false;visitRestElements(e,(e=>{if(e.parentPath.isObjectPattern()){t=true;e.stop()}}));return t}function visitRestElements(e,t){e.traverse({Expression(e){const{parent:t,key:r}=e;if(b(t)&&r==="right"||x(t)&&t.computed&&r==="key"){e.skip()}},RestElement:t})}function hasSpread(e){for(const t of e.properties){if(n.types.isSpreadElement(t)){return true}}return false}function extractNormalizedKeys(e){const t=e.properties;const r=[];let s=true;let a=false;for(const e of t){if(n.types.isIdentifier(e.key)&&!e.computed){r.push(n.types.stringLiteral(e.key.name))}else if(n.types.isTemplateLiteral(e.key)){r.push(n.types.cloneNode(e.key));a=true}else if(n.types.isLiteral(e.key)){r.push(n.types.stringLiteral(String(e.key.value)))}else{r.push(n.types.cloneNode(e.key));s=false}}return{keys:r,allLiteral:s,hasTemplateLiteral:a}}function replaceImpureComputedKeys(e,t){const r=[];for(const s of e){const e=s.get("key");if(s.node.computed&&!e.isPure()){const s=t.generateUidBasedOnNode(e.node);const a=n.types.variableDeclarator(n.types.identifier(s),e.node);r.push(a);e.replaceWith(n.types.identifier(s))}}return r}function removeUnusedExcludedKeys(e){const t=e.getOuterBindingIdentifierPaths();Object.keys(t).forEach((r=>{const s=t[r].parentPath;if(e.scope.getBinding(r).references>v||!s.isObjectProperty()){return}s.remove()}))}function createObjectRest(e,t,r){const s=e.get("properties");const a=s[s.length-1];n.types.assertRestElement(a.node);const o=n.types.cloneNode(a.node);a.remove();const i=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:u}=extractNormalizedKeys(e.node);if(l.length===0){return[i,o.argument,n.types.callExpression(getExtendsHelper(t),[n.types.objectExpression([]),n.types.cloneNode(r)])]}let p;if(!c){p=n.types.callExpression(n.types.memberExpression(n.types.arrayExpression(l),n.types.identifier("map")),[t.addHelper("toPropertyKey")])}else{p=n.types.arrayExpression(l);if(!u&&!n.types.isProgram(e.scope.block)){const t=e.findParent((e=>e.isProgram()));const r=e.scope.generateUidIdentifier("excluded");t.scope.push({id:r,init:p,kind:"const"});p=n.types.cloneNode(r)}}return[i,o.argument,n.types.callExpression(t.addHelper(`objectWithoutProperties${h?"Loose":""}`),[n.types.cloneNode(r),p])]}function replaceRestElement(e,t,r){if(t.isAssignmentPattern()){replaceRestElement(e,t.get("left"),r);return}if(t.isArrayPattern()&&hasRestElement(t)){const s=t.get("elements");for(let t=0;t<s.length;t++){replaceRestElement(e,s[t],r)}}if(t.isObjectPattern()&&hasRestElement(t)){const s=e.scope.generateUidIdentifier("ref");const a=n.types.variableDeclaration("let",[n.types.variableDeclarator(t.node,s)]);if(r){r.push(a)}else{e.ensureBlock();e.get("body").unshiftContainer("body",a)}t.replaceWith(n.types.cloneNode(s))}}return{name:"proposal-object-rest-spread",inherits:l["default"].default,visitor:{Function(e){const t=e.get("params");const r=new Set;const s=new Set;for(let e=0;e<t.length;++e){const a=t[e];if(hasRestElement(a)){r.add(e);for(const e of Object.keys(a.getBindingIdentifiers())){s.add(e)}}}let a=false;const IdentifierHandler=function(e,t){const r=e.node.name;if(e.scope.getBinding(r)===t.getBinding(r)&&s.has(r)){a=true;e.stop()}};let n;for(n=0;n<t.length&&!a;++n){const s=t[n];if(!r.has(n)){if(s.isReferencedIdentifier()||s.isBindingIdentifier()){IdentifierHandler(e,e.scope)}else{s.traverse({"Scope|TypeAnnotation|TSTypeAnnotation":e=>e.skip(),"ReferencedIdentifier|BindingIdentifier":IdentifierHandler},e.scope)}}}if(!a){for(let s=0;s<t.length;++s){const a=t[s];if(r.has(s)){replaceRestElement(e,a)}}}else{const shouldTransformParam=e=>e>=n-1||r.has(e);o.convertFunctionParams(e,g,shouldTransformParam,replaceRestElement)}},VariableDeclarator(e,t){if(!e.get("id").isObjectPattern()){return}let r=e;const s=e;visitRestElements(e.get("id"),(e=>{if(!e.parentPath.isObjectPattern()){return}if(shouldStoreRHSInTemporaryVariable(s.node.id)&&!n.types.isIdentifier(s.node.init)){const t=e.scope.generateUidIdentifierBasedOnNode(s.node.init,"ref");s.insertBefore(n.types.variableDeclarator(t,s.node.init));s.replaceWith(n.types.variableDeclarator(s.node.id,n.types.cloneNode(t)));return}let a=s.node.init;const o=[];let i;e.findParent((e=>{if(e.isObjectProperty()){o.unshift(e)}else if(e.isVariableDeclarator()){i=e.parentPath.node.kind;return true}}));const l=replaceImpureComputedKeys(o,e.scope);o.forEach((e=>{const{node:t}=e;a=n.types.memberExpression(a,n.types.cloneNode(t.key),t.computed||n.types.isLiteral(t.key))}));const c=e.findParent((e=>e.isObjectPattern()));const[u,p,d]=createObjectRest(c,t,a);if(j){removeUnusedExcludedKeys(c)}n.types.assertIdentifier(p);r.insertBefore(u);r.insertBefore(l);r=r.insertAfter(n.types.variableDeclarator(p,d))[0];e.scope.registerBinding(i,r);if(c.node.properties.length===0){c.findParent((e=>e.isObjectProperty()||e.isVariableDeclarator())).remove()}}))},ExportNamedDeclaration(e){const t=e.get("declaration");if(!t.isVariableDeclaration())return;const r=t.get("declarations").some((e=>hasObjectPatternRestElement(e.get("id"))));if(!r)return;const s=[];for(const t of Object.keys(e.getOuterBindingIdentifiers(true))){s.push(n.types.exportSpecifier(n.types.identifier(t),n.types.identifier(t)))}e.replaceWith(t.node);e.insertAfter(n.types.exportNamedDeclaration(null,s))},CatchClause(e){const t=e.get("param");replaceRestElement(e,t)},AssignmentExpression(e,t){const r=e.get("left");if(r.isObjectPattern()&&hasRestElement(r)){const s=[];const a=e.scope.generateUidBasedOnNode(e.node.right,"ref");s.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(a),e.node.right)]));const[o,i,l]=createObjectRest(r,t,n.types.identifier(a));if(o.length>0){s.push(n.types.variableDeclaration("var",o))}const c=n.types.cloneNode(e.node);c.right=n.types.identifier(a);s.push(n.types.expressionStatement(c));s.push(n.types.toStatement(n.types.assignmentExpression("=",i,l)));s.push(n.types.expressionStatement(n.types.identifier(a)));e.replaceWithMultiple(s)}},ForXStatement(e){const{node:t,scope:r}=e;const s=e.get("left");const a=t.left;if(!hasObjectPatternRestElement(s)){return}if(!n.types.isVariableDeclaration(a)){const s=r.generateUidIdentifier("ref");t.left=n.types.variableDeclaration("var",[n.types.variableDeclarator(s)]);e.ensureBlock();const o=t.body;if(o.body.length===0&&e.isCompletionRecord()){o.body.unshift(n.types.expressionStatement(r.buildUndefinedNode()))}o.body.unshift(n.types.expressionStatement(n.types.assignmentExpression("=",a,n.types.cloneNode(s))))}else{const s=a.declarations[0].id;const o=r.generateUidIdentifier("ref");t.left=n.types.variableDeclaration(a.kind,[n.types.variableDeclarator(o,null)]);e.ensureBlock();const i=t.body;i.body.unshift(n.types.variableDeclaration(t.left.kind,[n.types.variableDeclarator(s,n.types.cloneNode(o))]))}},ArrayPattern(e){const t=[];visitRestElements(e,(e=>{if(!e.parentPath.isObjectPattern()){return}const r=e.parentPath;const s=e.scope.generateUidIdentifier("ref");t.push(n.types.variableDeclarator(r.node,s));r.replaceWith(n.types.cloneNode(s));e.skip()}));if(t.length>0){const r=e.getStatementParent();const s=r.node;const a=s.type==="VariableDeclaration"?s.kind:"var";r.insertAfter(n.types.variableDeclaration(a,t))}},ObjectExpression(e,t){if(!hasSpread(e.node))return;let r;if(E){r=getExtendsHelper(t)}else{try{r=t.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;r=t.addHelper("objectSpread")}}let s=null;let a=[];function make(){const e=a.length>0;const t=n.types.objectExpression(a);a=[];if(!s){s=n.types.callExpression(r,[t]);return}if(j){if(e){s.arguments.push(t)}return}s=n.types.callExpression(n.types.cloneNode(r),[s,...e?[n.types.objectExpression([]),t]:[]])}for(const t of e.node.properties){if(n.types.isSpreadElement(t)){make();s.arguments.push(t.argument)}else{a.push(t)}}if(a.length)make();e.replaceWith(s)}}}}));t["default"]=j},335:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(9583);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-optional-catch-binding",inherits:a.default,visitor:{CatchClause(e){if(!e.node.param){const t=e.scope.generateUidIdentifier("unused");const r=e.get("param");r.replaceWith(t)}}}}}));t["default"]=n},9350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(6770);var a=r(7022);var n=r(8304);var o=r(9692);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var i=_interopDefaultLegacy(a);function willPathCastToBoolean(e){const t=findOutermostTransparentParent(e);const{node:r,parentPath:s}=t;if(s.isLogicalExpression()){const{operator:e,right:t}=s.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===r){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:r})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:r})}function findOutermostTransparentParent(e){let t=e;e.findParent((e=>{if(!o.isTransparentExprWrapper(e.node))return true;t=e}));return t}const{ast:l}=n.template.expression;function isSimpleMemberExpression(e){e=o.skipTransparentExprWrapperNodes(e);return n.types.isIdentifier(e)||n.types.isSuper(e)||n.types.isMemberExpression(e)&&!e.computed&&isSimpleMemberExpression(e.object)}function needsMemoize(e){let t=e;const{scope:r}=e;while(t.isOptionalMemberExpression()||t.isOptionalCallExpression()){const{node:e}=t;const s=t.isOptionalMemberExpression()?"object":"callee";const a=o.skipTransparentExprWrappers(t.get(s));if(e.optional){return!r.isStatic(a.node)}t=a}}function transform(e,{pureGetters:t,noDocumentAll:r}){const{scope:s}=e;const a=findOutermostTransparentParent(e);const{parentPath:i}=a;const c=willPathCastToBoolean(a);let u=false;const p=i.isCallExpression({callee:a.node})&&e.isOptionalMemberExpression();const d=[];let f=e;if(s.path.isPattern()&&needsMemoize(f)){e.replaceWith(n.template.ast`(() => ${e.node})()`);return}while(f.isOptionalMemberExpression()||f.isOptionalCallExpression()){const{node:e}=f;if(e.optional){d.push(e)}if(f.isOptionalMemberExpression()){f.node.type="MemberExpression";f=o.skipTransparentExprWrappers(f.get("object"))}else if(f.isOptionalCallExpression()){f.node.type="CallExpression";f=o.skipTransparentExprWrappers(f.get("callee"))}}let y=e;if(i.isUnaryExpression({operator:"delete"})){y=i;u=true}for(let e=d.length-1;e>=0;e--){const a=d[e];const i=n.types.isCallExpression(a);const f=i?"callee":"object";const h=a[f];const b=o.skipTransparentExprWrapperNodes(h);let x;let v;if(i&&n.types.isIdentifier(b,{name:"eval"})){v=x=b;a[f]=n.types.sequenceExpression([n.types.numericLiteral(0),x])}else if(t&&i&&isSimpleMemberExpression(b)){v=x=h}else{x=s.maybeGenerateMemoised(b);if(x){v=n.types.assignmentExpression("=",n.types.cloneNode(x),h);a[f]=x}else{v=x=h}}if(i&&n.types.isMemberExpression(b)){if(t&&isSimpleMemberExpression(b)){a.callee=h}else{const{object:e}=b;let t=s.maybeGenerateMemoised(e);if(t){b.object=n.types.assignmentExpression("=",t,e)}else if(n.types.isSuper(e)){t=n.types.thisExpression()}else{t=e}a.arguments.unshift(n.types.cloneNode(t));a.callee=n.types.memberExpression(a.callee,n.types.identifier("call"))}}let j=y.node;if(e===0&&p){var g;const e=o.skipTransparentExprWrapperNodes(j.object);let r;if(!t||!isSimpleMemberExpression(e)){r=s.maybeGenerateMemoised(e);if(r){j.object=n.types.assignmentExpression("=",r,e)}}j=n.types.callExpression(n.types.memberExpression(j,n.types.identifier("bind")),[n.types.cloneNode((g=r)!=null?g:e)])}if(c){const e=r?l`${n.types.cloneNode(v)} != null`:l` - ${n.types.cloneNode(v)} !== null && ${n.types.cloneNode(x)} !== void 0`;y.replaceWith(n.types.logicalExpression("&&",e,j));y=o.skipTransparentExprWrappers(y.get("right"))}else{const e=r?l`${n.types.cloneNode(v)} == null`:l` - ${n.types.cloneNode(v)} === null || ${n.types.cloneNode(x)} === void 0`;const t=u?l`true`:l`void 0`;y.replaceWith(n.types.conditionalExpression(e,t,j));y=o.skipTransparentExprWrappers(y.get("alternate"))}}}var c=s.declare(((e,t)=>{var r,s;e.assertVersion(7);const{loose:a=false}=t;const n=(r=e.assumption("noDocumentAll"))!=null?r:a;const o=(s=e.assumption("pureGetters"))!=null?s:a;return{name:"proposal-optional-chaining",inherits:i["default"].default,visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){transform(e,{noDocumentAll:n,pureGetters:o})}}}}));t["default"]=c;t.transform=transform},2486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(2425);var n=(0,s.declare)(((e,t)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"proposal-private-methods",api:e,feature:a.FEATURES.privateMethods,loose:t.loose,manipulateOptions(e,t){t.plugins.push("classPrivateMethods")}})}));t["default"]=n},6203:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(2998);var n=r(2425);var o=r(5346);var i=(0,s.declare)(((e,t)=>{e.assertVersion(7);const{types:r,template:s}=e;const{loose:i}=t;const l=new WeakMap;const c=new WeakMap;function unshadow(e,t,r){while(r!==t){if(r.hasOwnBinding(e))r.rename(e);r=r.parent}}function injectToFieldInit(e,t,s=false){if(e.node.value){if(s){e.get("value").insertBefore(t)}else{e.get("value").insertAfter(t)}}else{e.set("value",r.unaryExpression("void",t))}}function injectInitialization(e,t){let s;let a;for(const t of e.get("body.body")){if((t.isClassProperty()||t.isClassPrivateProperty())&&!t.node.static){s=t;break}if(!a&&t.isClassMethod({kind:"constructor"})){a=t}}if(s){injectToFieldInit(s,t,true)}else{(0,n.injectInitialization)(e,a,[r.expressionStatement(t)])}}function getWeakSetId(e,t,a,n="",i){let c=l.get(a.node);if(!c){c=t.scope.generateUidIdentifier(`${n||""} brandCheck`);l.set(a.node,c);i(a,s.expression.ast`${r.cloneNode(c)}.add(this)`);const e=r.newExpression(r.identifier("WeakSet"),[]);(0,o.default)(e);t.insertBefore(s.ast`var ${c} = ${e}`)}return r.cloneNode(c)}return{name:"proposal-private-property-in-object",inherits:a.default,pre(){(0,n.enableFeature)(this.file,n.FEATURES.privateIn,i)},visitor:{BinaryExpression(e){const{node:t}=e;if(t.operator!=="in")return;if(!r.isPrivateName(t.left))return;const{name:a}=t.left.id;let n;const o=e.findParent((e=>{if(!e.isClass())return false;n=e.get("body.body").find((({node:e})=>r.isPrivate(e)&&e.key.id.name===a));return!!n}));if(o.parentPath.scope.path.isPattern()){o.replaceWith(s.ast`(() => ${o.node})()`);return}if(n.isMethod()){if(n.node.static){if(o.node.id){unshadow(o.node.id.name,o.scope,e.scope)}else{o.set("id",e.scope.generateUidIdentifier("class"))}e.replaceWith(s.expression.ast` - ${r.cloneNode(o.node.id)} === ${e.node.right} - `)}else{var i;const t=getWeakSetId(l,o,o,(i=o.node.id)==null?void 0:i.name,injectInitialization);e.replaceWith(s.expression.ast`${t}.has(${e.node.right})`)}}else{const t=getWeakSetId(c,o,n,n.node.key.id.name,injectToFieldInit);e.replaceWith(s.expression.ast`${t}.has(${e.node.right})`)}}}}}));t["default"]=i},2491:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(2449);var a=r(6454);var n=(0,a.declare)(((e,t)=>{e.assertVersion(7);const{useUnicodeFlag:r=true}=t;if(typeof r!=="boolean"){throw new Error(".useUnicodeFlag must be a boolean, or undefined")}return(0,s.createRegExpFeaturePlugin)({name:"proposal-unicode-property-regex",feature:"unicodePropertyEscape",options:{useUnicodeFlag:r}})}));t["default"]=n},3578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-async-generators",manipulateOptions(e,t){t.plugins.push("asyncGenerators")}}}));t["default"]=a},5731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-bigint",manipulateOptions(e,t){t.plugins.push("bigInt")}}}));t["default"]=a},6348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-properties",manipulateOptions(e,t){t.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}}));t["default"]=a},5839:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-static-block",manipulateOptions(e,t){t.plugins.push("classStaticBlock")}}}));t["default"]=a},3477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,t){t.plugins.push("dynamicImport")}}}));t["default"]=a},6529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,t){t.plugins.push("exportNamespaceFrom")}}}));t["default"]=a},7393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(8123);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-assertions",manipulateOptions(e,t){t.plugins.push(["importAssertions"])}}}));t["default"]=a},5539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-assertions",manipulateOptions(e,t){t.plugins.push("importAssertions")}}}));t["default"]=a},5099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,t){t.plugins.push("jsonStrings")}}}));t["default"]=a},7672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){if(t.plugins.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}t.plugins.push("jsx")}}}));t["default"]=a},4379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,t){t.plugins.push("logicalAssignment")}}}));t["default"]=a},4714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,t){t.plugins.push("nullishCoalescingOperator")}}}));t["default"]=a},1026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,t){t.plugins.push("numericSeparator")}}}));t["default"]=a},1801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6215);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,t){t.plugins.push("objectRestSpread")}}}));t["default"]=a},9583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,t){t.plugins.push("optionalCatchBinding")}}}));t["default"]=a},7022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6770);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,t){t.plugins.push("optionalChaining")}}}));t["default"]=a},2998:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-private-property-in-object",manipulateOptions(e,t){t.plugins.push("privateIn")}}}));t["default"]=a},4086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,t){t.plugins.push("topLevelAwait")}}}));t["default"]=a},952:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6770);function removePlugin(e,t){const r=[];e.forEach(((e,s)=>{const a=Array.isArray(e)?e[0]:e;if(a===t){r.unshift(s)}}));for(const t of r){e.splice(t,1)}}var a=(0,s.declare)(((e,{isTSX:t,disallowAmbiguousJSXLike:r})=>{e.assertVersion(7);return{name:"syntax-typescript",manipulateOptions(e,s){const{plugins:a}=s;removePlugin(a,"flow");removePlugin(a,"jsx");a.push(["typescript",{disallowAmbiguousJSXLike:r}],"classProperties");{a.push("objectRestSpread")}if(t){a.push("jsx")}}}}));t["default"]=a},4380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)(((e,t)=>{var r;e.assertVersion(7);const s=(r=e.assumption("noNewArrows"))!=null?r:!t.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:s,specCompliant:!s})}}}}));t["default"]=a},6668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(2495);var n=r(6185);var o=r(8304);var i=(0,s.declare)(((e,t)=>{var r,s;e.assertVersion(7);const{method:i,module:l}=t;const c=(r=e.assumption("noNewArrows"))!=null?r:true;const u=(s=e.assumption("ignoreFunctionLength"))!=null?s:false;if(i&&l){return{name:"transform-async-to-generator",visitor:{Function(e,t){if(!e.node.async||e.node.generator)return;let r=t.methodWrapper;if(r){r=o.types.cloneNode(r)}else{r=t.methodWrapper=(0,n.addNamed)(e,i,l)}(0,a.default)(e,{wrapAsync:r},c,u)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,t){if(!e.node.async||e.node.generator)return;(0,a.default)(e,{wrapAsync:t.addHelper("asyncToGenerator")},c,u)}}}}));t["default"]=i},2968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);function statementList(e,t){const r=t.get(e);for(const e of r){const t=e.node;if(!e.isFunctionDeclaration())continue;const r=a.types.variableDeclaration("let",[a.types.variableDeclarator(t.id,a.types.toExpression(t))]);r._blockHoist=2;t.id=null;e.replaceWith(r)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:t,parent:r}=e;if(a.types.isFunction(r,{body:t})||a.types.isExportDeclaration(r)){return}statementList("body",e)},SwitchCase(e){statementList("consequent",e)}}}}));t["default"]=n},7024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(4006);var n=r(8304);const o=new WeakSet;var i=(0,s.declare)(((e,t)=>{e.assertVersion(7);const{throwIfClosureRequired:r=false,tdz:s=false}=t;if(typeof r!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof s!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:{VariableDeclaration(e){const{node:t,parent:r,scope:s}=e;if(!isBlockScoped(t))return;convertBlockScopedToVar(e,null,r,s,true);if(t._tdzThis){const r=[t];for(let e=0;e<t.declarations.length;e++){const a=t.declarations[e];const o=n.types.assignmentExpression("=",n.types.cloneNode(a.id),a.init||s.buildUndefinedNode());o._ignoreBlockScopingTDZ=true;r.push(n.types.expressionStatement(o));a.init=this.addHelper("temporalUndefined")}t._blockHoist=2;if(e.isCompletionRecord()){r.push(n.types.expressionStatement(s.buildUndefinedNode()))}e.replaceWithMultiple(r)}},Loop(e,t){const{parent:a,scope:n}=e;e.ensureBlock();const o=new BlockScoping(e,e.get("body"),a,n,r,s,t);const i=o.run();if(i)e.replaceWith(i)},CatchClause(e,t){const{parent:a,scope:n}=e;const o=new BlockScoping(null,e.get("body"),a,n,r,s,t);o.run()},"BlockStatement|SwitchStatement|Program"(e,t){if(!ignoreBlock(e)){const a=new BlockScoping(null,e,e.parent,e.scope,r,s,t);a.run()}}}}}));t["default"]=i;function ignoreBlock(e){return n.types.isLoop(e.parent)||n.types.isCatchClause(e.parent)}const l=(0,n.template)(`\n if (typeof RETURN === "object") return RETURN.v;\n`);function isBlockScoped(e){if(!n.types.isVariableDeclaration(e))return false;if(e[n.types.BLOCK_SCOPED_SYMBOL])return true;if(e.kind!=="let"&&e.kind!=="const")return false;return true}function isInLoop(e){const t=e.find((e=>e.isLoop()||e.isFunction()));return t==null?void 0:t.isLoop()}function convertBlockScopedToVar(e,t,r,s,a=false){if(!t){t=e.node}if(isInLoop(e)&&!n.types.isFor(r)){for(let e=0;e<t.declarations.length;e++){const r=t.declarations[e];r.init=r.init||s.buildUndefinedNode()}}t[n.types.BLOCK_SCOPED_SYMBOL]=true;t.kind="var";if(a){const t=s.getFunctionParent()||s.getProgramParent();for(const r of Object.keys(e.getBindingIdentifiers())){const e=s.getOwnBinding(r);if(e)e.kind="var";s.moveBindingTo(r,t)}}}function isVar(e){return n.types.isVariableDeclaration(e,{kind:"var"})&&!isBlockScoped(e)}const c=n.traverse.visitors.merge([{Loop:{enter(e,t){t.loopDepth++},exit(e,t){t.loopDepth--}},FunctionParent(e,t){if(t.loopDepth>0){e.traverse(u,t)}else{e.traverse(a.visitor,t)}return e.skip()}},a.visitor]);const u=n.traverse.visitors.merge([{ReferencedIdentifier(e,t){const r=t.letReferences.get(e.node.name);if(!r)return;const s=e.scope.getBindingIdentifier(e.node.name);if(s&&s!==r)return;t.closurify=true}},a.visitor]);const p={enter(e,t){if(e.isForStatement()){const{node:r}=e;if(isVar(r.init)){const e=t.pushDeclar(r.init);if(e.length===1){r.init=e[0]}else{r.init=n.types.sequenceExpression(e)}}}else if(e.isForInStatement()||e.isForOfStatement()){const{node:r}=e;if(isVar(r.left)){t.pushDeclar(r.left);r.left=r.left.declarations[0].id}}else if(isVar(e.node)){e.replaceWithMultiple(t.pushDeclar(e.node).map((e=>n.types.expressionStatement(e))))}else if(e.isFunction()){return e.skip()}}};const d={LabeledStatement({node:e},t){t.innerLabels.push(e.label.name)}};const f={enter(e,t){if(e.isAssignmentExpression()||e.isUpdateExpression()){for(const r of Object.keys(e.getBindingIdentifiers())){if(t.outsideReferences.get(r)!==e.scope.getBindingIdentifier(r)){continue}t.reassignments[r]=true}}else if(e.isReturnStatement()){t.returnStatements.push(e)}}};function loopNodeTo(e){if(n.types.isBreakStatement(e)){return"break"}else if(n.types.isContinueStatement(e)){return"continue"}}const y={Loop(e,t){const r=t.ignoreLabeless;t.ignoreLabeless=true;e.traverse(y,t);t.ignoreLabeless=r;e.skip()},Function(e){e.skip()},SwitchCase(e,t){const r=t.inSwitchCase;t.inSwitchCase=true;e.traverse(y,t);t.inSwitchCase=r;e.skip()},"BreakStatement|ContinueStatement|ReturnStatement"(e,t){const{node:r,scope:s}=e;if(t.loopIgnored.has(r))return;let a;let o=loopNodeTo(r);if(o){if(n.types.isReturnStatement(r)){throw new Error("Internal error: unexpected return statement with `loopText`")}if(r.label){if(t.innerLabels.indexOf(r.label.name)>=0){return}o=`${o}|${r.label.name}`}else{if(t.ignoreLabeless)return;if(n.types.isBreakStatement(r)&&t.inSwitchCase)return}t.hasBreakContinue=true;t.map[o]=r;a=n.types.stringLiteral(o)}if(n.types.isReturnStatement(r)){t.hasReturn=true;a=n.types.objectExpression([n.types.objectProperty(n.types.identifier("v"),r.argument||s.buildUndefinedNode())])}if(a){a=n.types.returnStatement(a);t.loopIgnored.add(a);e.skip();e.replaceWith(n.types.inherits(a,r))}}};function isStrict(e){return!!e.find((({node:e})=>{if(n.types.isProgram(e)){if(e.sourceType==="module")return true}else if(!n.types.isBlockStatement(e))return false;return e.directives.some((e=>e.value.value==="use strict"))}))}class BlockScoping{constructor(e,t,r,s,a,o,i){this.parent=void 0;this.state=void 0;this.scope=void 0;this.throwIfClosureRequired=void 0;this.tdzEnabled=void 0;this.blockPath=void 0;this.block=void 0;this.outsideLetReferences=void 0;this.hasLetReferences=void 0;this.letReferences=void 0;this.body=void 0;this.loopParent=void 0;this.loopLabel=void 0;this.loopPath=void 0;this.loop=void 0;this.has=void 0;this.parent=r;this.scope=s;this.state=i;this.throwIfClosureRequired=a;this.tdzEnabled=o;this.blockPath=t;this.block=t.node;this.outsideLetReferences=new Map;this.hasLetReferences=false;this.letReferences=new Map;this.body=[];if(e){this.loopParent=e.parent;this.loopLabel=n.types.isLabeledStatement(this.loopParent)&&this.loopParent.label;this.loopPath=e;this.loop=e.node}}run(){const e=this.block;if(o.has(e))return;o.add(e);const t=this.getLetReferences();this.checkConstants();if(n.types.isFunction(this.parent)||n.types.isProgram(this.block)){this.updateScopeInfo();return}if(!this.hasLetReferences)return;if(t){this.wrapClosure()}else{this.remap()}this.updateScopeInfo(t);if(this.loopLabel&&!n.types.isLabeledStatement(this.loopParent)){return n.types.labeledStatement(this.loopLabel,this.loop)}}checkConstants(){const e=this.scope;const t=this.state;for(const r of Object.keys(e.bindings)){const s=e.bindings[r];if(s.kind!=="const")continue;for(const e of s.constantViolations){const s=t.addHelper("readOnlyError");const a=n.types.callExpression(s,[n.types.stringLiteral(r)]);if(e.isAssignmentExpression()){const{operator:t}=e.node;if(t==="="){e.replaceWith(n.types.sequenceExpression([e.get("right").node,a]))}else if(["&&=","||=","??="].includes(t)){e.replaceWith(n.types.logicalExpression(t.slice(0,-1),e.get("left").node,n.types.sequenceExpression([e.get("right").node,a])))}else{e.replaceWith(n.types.sequenceExpression([n.types.binaryExpression(t.slice(0,-1),e.get("left").node,e.get("right").node),a]))}}else if(e.isUpdateExpression()){e.replaceWith(n.types.sequenceExpression([n.types.unaryExpression("+",e.get("argument").node),a]))}else if(e.isForXStatement()){e.ensureBlock();e.get("left").replaceWith(n.types.variableDeclaration("var",[n.types.variableDeclarator(e.scope.generateUidIdentifier(r))]));e.node.body.body.unshift(n.types.expressionStatement(a))}}}}updateScopeInfo(e){const t=this.blockPath.scope;const r=t.getFunctionParent()||t.getProgramParent();const s=this.letReferences;for(const a of s.keys()){const n=s.get(a);const o=t.getBinding(n.name);if(!o)continue;if(o.kind==="let"||o.kind==="const"){o.kind="var";if(e){if(t.hasOwnBinding(n.name)){t.removeBinding(n.name)}}else{t.moveBindingTo(n.name,r)}}}}remap(){const e=this.letReferences;const t=this.outsideLetReferences;const r=this.scope;const s=this.blockPath.scope;for(const t of e.keys()){const a=e.get(t);if(r.parentHasBinding(t)||r.hasGlobal(t)){const e=r.getOwnBinding(t);if(e){const s=r.parent.getOwnBinding(t);if(e.kind==="hoisted"&&!e.path.node.async&&!e.path.node.generator&&(!s||isVar(s.path.parent))&&!isStrict(e.path.parentPath)){continue}r.rename(a.name)}if(s.hasOwnBinding(t)){s.rename(a.name)}}}for(const r of t.keys()){const t=e.get(r);if(isInLoop(this.blockPath)&&s.hasOwnBinding(r)){s.rename(t.name)}}}wrapClosure(){if(this.throwIfClosureRequired){throw this.blockPath.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}const e=this.block;const t=this.outsideLetReferences;if(this.loop){for(const e of Array.from(t.keys())){const r=t.get(e);if(this.scope.hasGlobal(r.name)||this.scope.parentHasBinding(r.name)){t.delete(r.name);this.letReferences.delete(r.name);this.scope.rename(r.name);this.letReferences.set(r.name,r);t.set(r.name,r)}}}this.has=this.checkLoop();this.hoistVarDeclarations();const r=Array.from(t.values(),(e=>n.types.cloneNode(e)));const s=r.map((e=>n.types.cloneNode(e)));const a=this.blockPath.isSwitchStatement();const o=n.types.functionExpression(null,s,n.types.blockStatement(a?[e]:e.body));this.addContinuations(o);let i=n.types.callExpression(n.types.nullLiteral(),r);let l=".callee";const c=n.traverse.hasType(o.body,"YieldExpression",n.types.FUNCTION_TYPES);if(c){o.generator=true;i=n.types.yieldExpression(i,true);l=".argument"+l}const u=n.traverse.hasType(o.body,"AwaitExpression",n.types.FUNCTION_TYPES);if(u){o.async=true;i=n.types.awaitExpression(i);l=".argument"+l}let p;let d;if(this.has.hasReturn||this.has.hasBreakContinue){const e=this.scope.generateUid("ret");this.body.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(e),i)]));p="declarations.0.init"+l;d=this.body.length-1;this.buildHas(e)}else{this.body.push(n.types.expressionStatement(i));p="expression"+l;d=this.body.length-1}let f;if(a){const{parentPath:e,listKey:t,key:r}=this.blockPath;this.blockPath.replaceWithMultiple(this.body);f=e.get(t)[r+d]}else{e.body=this.body;f=this.blockPath.get("body")[d]}const y=f.get(p);let g;if(this.loop){const e=this.scope.generateUid("loop");const t=this.loopPath.insertBefore(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(e),o)]));y.replaceWith(n.types.identifier(e));g=t[0].get("declarations.0.init")}else{y.replaceWith(o);g=y}g.unwrapFunctionEnvironment()}addContinuations(e){const t={reassignments:{},returnStatements:[],outsideReferences:this.outsideLetReferences};this.scope.traverse(e,f,t);for(let r=0;r<e.params.length;r++){const s=e.params[r];if(!t.reassignments[s.name])continue;const a=s.name;const o=this.scope.generateUid(s.name);e.params[r]=n.types.identifier(o);this.scope.rename(a,o,e);t.returnStatements.forEach((e=>{e.insertBefore(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.identifier(a),n.types.identifier(o))))}));e.body.body.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.identifier(a),n.types.identifier(o))))}}getLetReferences(){const e=this.block;const t=[];if(this.loop){const e=this.loop.left||this.loop.init;if(isBlockScoped(e)){t.push(e);const r=n.types.getBindingIdentifiers(e);for(const e of Object.keys(r)){this.outsideLetReferences.set(e,r[e])}}}const addDeclarationsFromChild=(r,s)=>{s=s||r.node;if(n.types.isClassDeclaration(s)||n.types.isFunctionDeclaration(s)||isBlockScoped(s)){if(isBlockScoped(s)){convertBlockScopedToVar(r,s,e,this.scope)}if(s.declarations){for(let e=0;e<s.declarations.length;e++){t.push(s.declarations[e])}}else{t.push(s)}}if(n.types.isLabeledStatement(s)){addDeclarationsFromChild(r.get("body"),s.body)}};if(e.body){const t=this.blockPath.get("body");for(let r=0;r<e.body.length;r++){addDeclarationsFromChild(t[r])}}if(e.cases){const t=this.blockPath.get("cases");for(let r=0;r<e.cases.length;r++){const s=e.cases[r].consequent;for(let e=0;e<s.length;e++){const a=s[e];addDeclarationsFromChild(t[r],a)}}}for(let e=0;e<t.length;e++){const r=t[e];const s=n.types.getBindingIdentifiers(r,false,true);for(const e of Object.keys(s)){this.letReferences.set(e,s[e])}this.hasLetReferences=true}if(!this.hasLetReferences)return;const r={letReferences:this.letReferences,closurify:false,loopDepth:0,tdzEnabled:this.tdzEnabled,addHelper:e=>this.state.addHelper(e)};if(isInLoop(this.blockPath)){r.loopDepth++}this.blockPath.traverse(c,r);return r.closurify}checkLoop(){const e={hasBreakContinue:false,ignoreLabeless:false,inSwitchCase:false,innerLabels:[],hasReturn:false,isLoop:!!this.loop,map:{},loopIgnored:new WeakSet};this.blockPath.traverse(d,e);this.blockPath.traverse(y,e);return e}hoistVarDeclarations(){this.blockPath.traverse(p,this)}pushDeclar(e){const t=[];const r=n.types.getBindingIdentifiers(e);for(const e of Object.keys(r)){t.push(n.types.variableDeclarator(r[e]))}this.body.push(n.types.variableDeclaration(e.kind,t));const s=[];for(let t=0;t<e.declarations.length;t++){const r=e.declarations[t];if(!r.init)continue;const a=n.types.assignmentExpression("=",n.types.cloneNode(r.id),n.types.cloneNode(r.init));s.push(n.types.inherits(a,r))}return s}buildHas(e){const t=this.body;const r=this.has;if(r.hasBreakContinue){for(const s of Object.keys(r.map)){t.push(n.types.ifStatement(n.types.binaryExpression("===",n.types.identifier(e),n.types.stringLiteral(s)),r.map[s]))}}if(r.hasReturn){t.push(l({RETURN:n.types.identifier(e)}))}}}},4006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.visitor=void 0;var s=r(8304);function getTDZStatus(e,t){const r=t._guessExecutionStatusRelativeTo(e);if(r==="before"){return"outside"}else if(r==="after"){return"inside"}else{return"maybe"}}function buildTDZAssert(e,t){return s.types.callExpression(t.addHelper("temporalRef"),[e,s.types.stringLiteral(e.name)])}function isReference(e,t,r){const s=r.letReferences.get(e.name);if(!s)return false;return t.getBindingIdentifier(e.name)===s}const a=new WeakSet;const n={ReferencedIdentifier(e,t){if(!t.tdzEnabled)return;const{node:r,parent:n,scope:o}=e;if(e.parentPath.isFor({left:r}))return;if(!isReference(r,o,t))return;const i=o.getBinding(r.name).path;if(i.isFunctionDeclaration())return;const l=getTDZStatus(e,i);if(l==="outside")return;if(l==="maybe"){if(a.has(r)){return}a.add(r);const o=buildTDZAssert(r,t);i.parent._tdzThis=true;if(e.parentPath.isUpdateExpression()){if(n._ignoreBlockScopingTDZ)return;e.parentPath.replaceWith(s.types.sequenceExpression([o,n]))}else{e.replaceWith(o)}}else if(l==="inside"){e.replaceWith(s.template.ast`${t.addHelper("tdz")}("${r.name}")`)}},AssignmentExpression:{exit(e,t){if(!t.tdzEnabled)return;const{node:r}=e;if(r._ignoreBlockScopingTDZ)return;const a=[];const n=e.getBindingIdentifiers();for(const r of Object.keys(n)){const s=n[r];if(isReference(s,e.scope,t)){a.push(s)}}if(a.length){r._ignoreBlockScopingTDZ=true;a.push(r);e.replaceWithMultiple(a.map((e=>s.types.expressionStatement(e))))}}}};t.visitor=n},2879:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(5346);var n=r(571);var o=r(1705);var i=r(8304);var l=r(6929);var c=r(3107);const getBuiltinClasses=e=>Object.keys(l[e]).filter((e=>/^[A-Z]/.test(e)));const u=new Set([...getBuiltinClasses("builtin"),...getBuiltinClasses("browser")]);var p=(0,s.declare)(((e,t)=>{var r,s,l,p;e.assertVersion(7);const{loose:d=false}=t;const f=(r=e.assumption("setClassMethods"))!=null?r:d;const y=(s=e.assumption("constantSuper"))!=null?s:d;const g=(l=e.assumption("superIsCallableConstructor"))!=null?l:d;const h=(p=e.assumption("noClassCalls"))!=null?p:d;const b=new WeakSet;return{name:"transform-classes",visitor:{ExportDefaultDeclaration(e){if(!e.get("declaration").isClassDeclaration())return;(0,o.default)(e)},ClassDeclaration(e){const{node:t}=e;const r=t.id||e.scope.generateUidIdentifier("class");e.replaceWith(i.types.variableDeclaration("let",[i.types.variableDeclarator(r,i.types.toExpression(t))]))},ClassExpression(e,t){const{node:r}=e;if(b.has(r))return;const s=(0,n.default)(e);if(s&&s!==r){e.replaceWith(s);return}b.add(r);e.replaceWith((0,c.default)(e,t.file,u,d,{setClassMethods:f,constantSuper:y,superIsCallableConstructor:g,noClassCalls:h}));if(e.isCallExpression()){(0,a.default)(e);const t=e.get("callee");if(t.isArrowFunctionExpression()){t.arrowFunctionToExpression()}}}}}}));t["default"]=p},5037:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addCreateSuperHelper;var s=r(8304);const a=new WeakMap;function addCreateSuperHelper(e){if(a.has(e)){return(s.types.cloneNode||s.types.clone)(a.get(e))}try{return e.addHelper("createSuper")}catch(e){}const t=e.scope.generateUidIdentifier("createSuper");a.set(e,t);const r=n({CREATE_SUPER:t,GET_PROTOTYPE_OF:e.addHelper("getPrototypeOf"),POSSIBLE_CONSTRUCTOR_RETURN:e.addHelper("possibleConstructorReturn")});e.path.unshiftContainer("body",[r]);e.scope.registerDeclaration(e.path.get("body.0"));return s.types.cloneNode(t)}const n=s.template.statement` + `;const C={ReferencedIdentifier(e){const{seen:r,buildImportReference:t,scope:s,imported:a,requeueInParent:n}=this;if(r.has(e.node))return;r.add(e.node);const o=e.node.name;const i=a.get(o);if(i){if(isInType(e)){throw e.buildCodeFrameError(`Cannot transform the imported binding "${o}" since it's also used in a type annotation. `+`Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`)}const r=e.scope.getBinding(o);const a=s.getBinding(o);if(a!==r)return;const l=t(i,e.node);l.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&g(l)){e.replaceWith(w([j(0),l]))}else if(e.isJSXIdentifier()&&g(l)){const{object:r,property:t}=l;e.replaceWith(x(b(r.name),b(t.name)))}else{e.replaceWith(l)}n(e);e.skip()}},UpdateExpression(e){const{scope:r,seen:t,imported:s,exported:a,requeueInParent:n,buildImportReference:l}=this;if(t.has(e.node))return;t.add(e.node);const c=e.get("argument");if(c.isMemberExpression())return;const u=e.node;if(c.isIdentifier()){const t=c.node.name;if(r.getBinding(t)!==e.scope.getBinding(t)){return}const n=a.get(t);const p=s.get(t);if((n==null?void 0:n.length)>0||p){if(p){e.replaceWith(o(u.operator[0]+"=",l(p,c.node),buildImportThrow(t)))}else if(u.prefix){e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,n,i(u),e.scope))}else{const s=r.generateDeclaredUidIdentifier(t);e.replaceWith(w([o("=",i(s),i(u)),buildBindingExportAssignmentExpression(this.metadata,n,d(t),e.scope),i(s)]))}}}n(e);e.skip()},AssignmentExpression:{exit(e){const{scope:r,seen:t,imported:a,exported:n,requeueInParent:o,buildImportReference:i}=this;if(t.has(e.node))return;t.add(e.node);const c=e.get("left");if(c.isMemberExpression())return;if(c.isIdentifier()){const t=c.node.name;if(r.getBinding(t)!==e.scope.getBinding(t)){return}const l=n.get(t);const d=a.get(t);if((l==null?void 0:l.length)>0||d){s(e.node.operator==="=","Path was not simplified");const r=e.node;if(d){r.left=i(d,c.node);r.right=w([r.right,buildImportThrow(t)])}e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,l,r,e.scope));o(e)}}else{const t=c.getOuterBindingIdentifiers();const s=Object.keys(t).filter((t=>r.getBinding(t)===e.scope.getBinding(t)));const i=s.find((e=>a.has(e)));if(i){e.node.right=w([e.node.right,buildImportThrow(i)])}const u=[];s.forEach((r=>{const t=n.get(r)||[];if(t.length>0){u.push(buildBindingExportAssignmentExpression(this.metadata,t,d(r),e.scope))}}));if(u.length>0){let r=w(u);if(e.parentPath.isExpressionStatement()){r=l(r);r._blockHoist=e.parentPath.node._blockHoist}const t=e.insertAfter(r)[0];o(t)}}}},"ForOfStatement|ForInStatement"(e){const{scope:r,node:t}=e;const{left:s}=t;const{exported:a,imported:n,scope:d}=this;if(!h(s)){let t=false,u;const p=e.get("body").scope;for(const e of Object.keys(c(s))){if(d.getBinding(e)===r.getBinding(e)){if(a.has(e)){t=true;if(p.hasOwnBinding(e)){p.rename(e)}}if(n.has(e)&&!u){u=e}}}if(!t&&!u){return}e.ensureBlock();const f=e.get("body");const y=r.generateUidIdentifierBasedOnNode(s);e.get("left").replaceWith(_("let",[S(i(y))]));r.registerDeclaration(e.get("left"));if(t){f.unshiftContainer("body",l(o("=",s,y)))}if(u){f.unshiftContainer("body",l(buildImportThrow(u)))}}}}},4585:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=rewriteThis;var s=t(8552);var a=t(8304);const{numericLiteral:n,unaryExpression:o}=a.types;const i=a.traverse.visitors.merge([s.default,{ThisExpression(e){e.replaceWith(o("void",n(0),true))}}]);function rewriteThis(e){(0,a.traverse)(e.node,Object.assign({},i,{noScope:true}))}},6392:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=optimiseCallExpression;var s=t(8622);const{callExpression:a,identifier:n,isIdentifier:o,isSpreadElement:i,memberExpression:l,optionalCallExpression:c,optionalMemberExpression:d}=s;function optimiseCallExpression(e,r,t,s){if(t.length===1&&i(t[0])&&o(t[0].argument,{name:"arguments"})){if(s){return c(d(e,n("apply"),false,true),[r,t[0].argument],false)}return a(l(e,n("apply")),[r,t[0].argument])}else{if(s){return c(d(e,n("call"),false,true),[r,...t],false)}return a(l(e,n("call")),[r,...t])}}},1475:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=optimiseCallExpression;var s=t(8622);const{callExpression:a,identifier:n,isIdentifier:o,isSpreadElement:i,memberExpression:l,optionalCallExpression:c,optionalMemberExpression:d}=s;function optimiseCallExpression(e,r,t,s){if(t.length===1&&i(t[0])&&o(t[0].argument,{name:"arguments"})){if(s){return c(d(e,n("apply"),false,true),[r,t[0].argument],false)}return a(l(e,n("apply")),[r,t[0].argument])}else{if(s){return c(d(e,n("call"),false,true),[r,...t],false)}return a(l(e,n("call")),[r,...t])}}},6454:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.declare=declare;r.declarePreset=void 0;function declare(e){return(r,t,a)=>{var n;let o;for(const e of Object.keys(s)){var i;if(r[e])continue;o=(i=o)!=null?i:copyApiObject(r);o[e]=s[e](o)}return e((n=o)!=null?n:r,t||{},a)}}const t=declare;r.declarePreset=t;const s={assertVersion:e=>r=>{throwVersionError(r,e.version)},targets:()=>()=>({}),assumption:()=>()=>undefined};function copyApiObject(e){let r=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){r=Object.getPrototypeOf(e);if(r&&(!has(r,"version")||!has(r,"transform")||!has(r,"template")||!has(r,"types"))){r=null}}return Object.assign({},r,e)}function has(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function throwVersionError(e,r){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}let s;if(r.slice(0,2)==="7."){s=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${r}". `+`You'll need to update your @babel/core version.`)}else{s=new Error(`Requires Babel "${e}", but was loaded with "${r}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r,range:e})}},6770:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.declare=declare;r.declarePreset=void 0;const t={assertVersion:e=>r=>{throwVersionError(r,e.version)}};{Object.assign(t,{targets:()=>()=>({}),assumption:()=>()=>undefined})}function declare(e){return(r,s,a)=>{var n;let o;for(const e of Object.keys(t)){var i;if(r[e])continue;(i=o)!=null?i:o=copyApiObject(r);o[e]=t[e](o)}return e((n=o)!=null?n:r,s||{},a)}}const s=declare;r.declarePreset=s;function copyApiObject(e){let r=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){r=Object.getPrototypeOf(e);if(r&&(!has(r,"version")||!has(r,"transform")||!has(r,"template")||!has(r,"types"))){r=null}}return Object.assign({},r,e)}function has(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function throwVersionError(e,r){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}let s;if(r.slice(0,2)==="7."){s=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${r}". `+`You'll need to update your @babel/core version.`)}else{s=new Error(`Requires Babel "${e}", but was loaded with "${r}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r,range:e})}},5389:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.declare=declare;r.declarePreset=void 0;const t={assertVersion:e=>r=>{throwVersionError(r,e.version)}};{Object.assign(t,{targets:()=>()=>({}),assumption:()=>()=>undefined})}function declare(e){return(r,s,a)=>{var n;let o;for(const e of Object.keys(t)){var i;if(r[e])continue;(i=o)!=null?i:o=copyApiObject(r);o[e]=t[e](o)}return e((n=o)!=null?n:r,s||{},a)}}const s=declare;r.declarePreset=s;function copyApiObject(e){let r=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){r=Object.getPrototypeOf(e);if(r&&(!has(r,"version")||!has(r,"transform")||!has(r,"template")||!has(r,"types"))){r=null}}return Object.assign({},r,e)}function has(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function throwVersionError(e,r){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}let s;if(r.slice(0,2)==="7."){s=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${r}". `+`You'll need to update your @babel/core version.`)}else{s=new Error(`Requires Babel "${e}", but was loaded with "${r}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:r,range:e})}},322:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(1340);var a=t(365);var n=t(8552);var o=t(8304);const{callExpression:i,cloneNode:l,isIdentifier:c,isThisExpression:d,yieldExpression:u}=o.types;const p=o.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},AwaitExpression(e,{wrapAwait:r}){const t=e.get("argument");e.replaceWith(u(r?i(l(r),[t.node]):t.node))}},n.default]);function _default(e,r,t,n){e.traverse(p,{wrapAwait:r.wrapAwait});const o=checkIsIIFE(e);e.node.async=false;e.node.generator=true;(0,s.default)(e,l(r.wrapAsync),t,n);const i=e.isObjectMethod()||e.isClassMethod()||e.parentPath.isObjectProperty()||e.parentPath.isClassProperty();if(!i&&!o&&e.isExpression()){(0,a.default)(e)}function checkIsIIFE(e){if(e.parentPath.isCallExpression({callee:e.node})){return true}const{parentPath:r}=e;if(r.isMemberExpression()&&c(r.node.property,{name:"bind"})){const{parentPath:e}=r;return e.isCallExpression()&&e.node.arguments.length===1&&d(e.node.arguments[0])&&e.parentPath.isCallExpression({callee:e.node})}return false}}},7537:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6982);var a=t(6981);var n=t(6392);var o=t(6719);var i=t(7369);var l=t(8622);const{assignmentExpression:c,booleanLiteral:d,callExpression:u,cloneNode:p,identifier:f,memberExpression:y,sequenceExpression:g,stringLiteral:h,thisExpression:b}=l;{{{const e=t(6982);r.environmentVisitor=e.default;r.skipAllButComputedKey=e.skipAllButComputedKey}}}function getPrototypeOfExpression(e,r,t,s){e=p(e);const a=r||s?e:y(e,f("prototype"));return u(t.addHelper("getPrototypeOf"),[a])}const x=i.default.visitors.merge([s.default,{Super(e,r){const{node:t,parentPath:s}=e;if(!s.isMemberExpression({object:t}))return;r.handle(s)}}]);const v=i.default.visitors.merge([s.default,{Scopable(e,{refName:r}){const t=e.scope.getOwnBinding(r);if(t&&t.identifier.name===r){e.scope.rename(r)}}}]);const j={memoise(e,r){const{scope:t,node:s}=e;const{computed:a,property:n}=s;if(!a){return}const o=t.maybeGenerateMemoised(n);if(!o){return}this.memoiser.set(n,o,r)},prop(e){const{computed:r,property:t}=e.node;if(this.memoiser.has(t)){return p(this.memoiser.get(t))}if(r){return p(t)}return h(t.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,r){const t=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return u(this.file.addHelper("get"),[r.memo?g([r.memo,t]):t,this.prop(e),r.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:b()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:c("=",e,b()),this:p(e)}},set(e,r){const t=this._getThisRefs();const s=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return u(this.file.addHelper("set"),[t.memo?g([t.memo,s]):s,this.prop(e),r,t.this,d(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,r){const t=this._getThisRefs();return(0,n.default)(this._get(e,t),p(t.this),r,false)},optionalCall(e,r){const t=this._getThisRefs();return(0,n.default)(this._get(e,t),p(t.this),r,true)},delete(e){if(e.node.computed){return g([u(this.file.addHelper("toPropertyKey"),[p(e.node.property)]),o.default.expression.ast` + function () { throw new ReferenceError("'delete super[expr]' is invalid"); }() + `])}else{return o.default.expression.ast` + function () { throw new ReferenceError("'delete super.prop' is invalid"); }() + `}}};const w=Object.assign({},j,{prop(e){const{property:r}=e.node;if(this.memoiser.has(r)){return p(this.memoiser.get(r))}return p(r)},get(e){const{isStatic:r,getSuperRef:t}=this;const{computed:s}=e.node;const a=this.prop(e);let n;if(r){var o;n=(o=t())!=null?o:y(f("Function"),f("prototype"))}else{var i;n=y((i=t())!=null?i:f("Object"),f("prototype"))}return y(n,a,s)},set(e,r){const{computed:t}=e.node;const s=this.prop(e);return c("=",y(b(),s,t),r)},destructureSet(e){const{computed:r}=e.node;const t=this.prop(e);return y(b(),t,r)},call(e,r){return(0,n.default)(this.get(e),b(),r,false)},optionalCall(e,r){return(0,n.default)(this.get(e),b(),r,true)}});class ReplaceSupers{constructor(e){var r;const t=e.methodPath;this.methodPath=t;this.isDerivedConstructor=t.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=t.isObjectMethod()||t.node.static||(t.isStaticBlock==null?void 0:t.isStaticBlock());this.isPrivateMethod=t.isPrivate()&&t.isMethod();this.file=e.file;this.constantSuper=(r=e.constantSuper)!=null?r:e.isLoose;this.opts=e}getObjectRef(){return p(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return p(this.opts.superRef);if(this.opts.getSuperRef){return p(this.opts.getSuperRef())}}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(v,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?w:j;(0,a.default)(this.methodPath,x,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}r["default"]=ReplaceSupers},9775:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8552);var a=t(3590);var n=t(1475);var o=t(8304);const{assignmentExpression:i,booleanLiteral:l,callExpression:c,cloneNode:d,identifier:u,memberExpression:p,sequenceExpression:f,stringLiteral:y,thisExpression:g}=o.types;{const e=t(8552);r.environmentVisitor=e.default;r.skipAllButComputedKey=e.skipAllButComputedKey}function getPrototypeOfExpression(e,r,t,s){e=d(e);const a=r||s?e:p(e,u("prototype"));return c(t.addHelper("getPrototypeOf"),[a])}const h=o.traverse.visitors.merge([s.default,{Super(e,r){const{node:t,parentPath:s}=e;if(!s.isMemberExpression({object:t}))return;r.handle(s)}}]);const b=o.traverse.visitors.merge([s.default,{Scopable(e,{refName:r}){const t=e.scope.getOwnBinding(r);if(t&&t.identifier.name===r){e.scope.rename(r)}}}]);const x={memoise(e,r){const{scope:t,node:s}=e;const{computed:a,property:n}=s;if(!a){return}const o=t.maybeGenerateMemoised(n);if(!o){return}this.memoiser.set(n,o,r)},prop(e){const{computed:r,property:t}=e.node;if(this.memoiser.has(t)){return d(this.memoiser.get(t))}if(r){return d(t)}return y(t.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,r){const t=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return c(this.file.addHelper("get"),[r.memo?f([r.memo,t]):t,this.prop(e),r.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:g()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:i("=",e,g()),this:d(e)}},set(e,r){const t=this._getThisRefs();const s=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return c(this.file.addHelper("set"),[t.memo?f([t.memo,s]):s,this.prop(e),r,t.this,l(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,r){const t=this._getThisRefs();return(0,n.default)(this._get(e,t),d(t.this),r,false)},optionalCall(e,r){const t=this._getThisRefs();return(0,n.default)(this._get(e,t),d(t.this),r,true)},delete(e){if(e.node.computed){return f([c(this.file.addHelper("toPropertyKey"),[d(e.node.property)]),o.template.expression.ast` + function () { throw new ReferenceError("'delete super[expr]' is invalid"); }() + `])}else{return o.template.expression.ast` + function () { throw new ReferenceError("'delete super.prop' is invalid"); }() + `}}};const v=Object.assign({},x,{prop(e){const{property:r}=e.node;if(this.memoiser.has(r)){return d(this.memoiser.get(r))}return d(r)},get(e){const{isStatic:r,getSuperRef:t}=this;const{computed:s}=e.node;const a=this.prop(e);let n;if(r){var o;n=(o=t())!=null?o:p(u("Function"),u("prototype"))}else{var i;n=p((i=t())!=null?i:u("Object"),u("prototype"))}return p(n,a,s)},set(e,r){const{computed:t}=e.node;const s=this.prop(e);return i("=",p(g(),s,t),r)},destructureSet(e){const{computed:r}=e.node;const t=this.prop(e);return p(g(),t,r)},call(e,r){return(0,n.default)(this.get(e),g(),r,false)},optionalCall(e,r){return(0,n.default)(this.get(e),g(),r,true)}});class ReplaceSupers{constructor(e){var r;const t=e.methodPath;this.methodPath=t;this.isDerivedConstructor=t.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=t.isObjectMethod()||t.node.static||(t.isStaticBlock==null?void 0:t.isStaticBlock());this.isPrivateMethod=t.isPrivate()&&t.isMethod();this.file=e.file;this.constantSuper=(r=e.constantSuper)!=null?r:e.isLoose;this.opts=e}getObjectRef(){return d(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return d(this.opts.superRef);if(this.opts.getSuperRef){return d(this.opts.getSuperRef())}}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(b,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?v:x;(0,a.default)(this.methodPath,h,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}r["default"]=ReplaceSupers},6118:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=simplifyAccess;var s=t(8622);const{LOGICAL_OPERATORS:a,assignmentExpression:n,binaryExpression:o,cloneNode:i,identifier:l,logicalExpression:c,numericLiteral:d,sequenceExpression:u,unaryExpression:p}=s;const f={AssignmentExpression:{exit(e){const{scope:r,seen:t,bindingNames:s}=this;if(e.node.operator==="=")return;if(t.has(e.node))return;t.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const d=l.node.name;if(!s.has(d))return;if(r.getBinding(d)!==e.scope.getBinding(d)){return}const u=e.node.operator.slice(0,-1);if(a.includes(u)){e.replaceWith(c(u,e.node.left,n("=",i(e.node.left),e.node.right)))}else{e.node.right=o(u,i(e.node.left),e.node.right);e.node.operator="="}}}};{f.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:r,bindingNames:t}=this;const s=e.get("argument");if(!s.isIdentifier())return;const a=s.node.name;if(!t.has(a))return;if(r.getBinding(a)!==e.scope.getBinding(a)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const r=e.node.operator=="++"?"+=":"-=";e.replaceWith(n(r,s.node,d(1)))}else if(e.node.prefix){e.replaceWith(n("=",l(a),o(e.node.operator[0],p("+",s.node),d(1))))}else{const r=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const t=r.name;e.scope.push({id:r});const a=o(e.node.operator[0],l(t),d(1));e.replaceWith(u([n("=",l(t),p("+",s.node)),n("=",i(s.node),a),l(t)]))}}}}function simplifyAccess(e,r){{var t;e.traverse(f,{scope:e.scope,bindingNames:r,seen:new WeakSet,includeUpdateExpression:(t=arguments[2])!=null?t:true})}}},5385:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9769:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},7696:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isScope()?r.scope.parent:r.scope;let d=r.node.id;let u=false;if(!d){u=true;d=s.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=a(d)}}const p=t?r.node:l("var",[c(a(d),r.node)]);const f=n(null,[o(a(d),i("default"))]);e.insertAfter(f);e.replaceWith(p);if(u){s.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4097:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4387:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[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,20,1,64,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[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,81,2,71,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,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;s<a;s+=2){t+=r[s];if(t>e)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t<e.length;t++){let s=e.charCodeAt(t);if((s&64512)===55296&&t+1<e.length){const r=e.charCodeAt(++t);if((r&64512)===56320){s=65536+((s&1023)<<10)+(r&1023)}}if(r){r=false;if(!isIdentifierStart(s)){return false}}else if(!isIdentifierChar(s)){return false}}return!r}},4975:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(4387);var a=t(4348)},4348:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},3530:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},2445:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(7657);var a=t(3530)},7657:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(3530);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},8112:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},4716:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(2729);var a=t(8112)},2729:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(8112);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},1340:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=wrapFunction;var s=t(4940);var a=t(9128);var n=t(8622);const{blockStatement:o,callExpression:i,functionExpression:l,isAssignmentPattern:c,isFunctionDeclaration:d,isRestElement:u,returnStatement:p,isCallExpression:f}=n;const y=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const g=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const h=a.default.statements(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,r){const t=e.node;const s=t.body;const a=l(null,[],o(s.body),true);s.body=[p(i(i(r,[a]),[]))];t.async=false;t.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,r,t,a){let n=e;let o;let l=null;const p=e.node.params;if(n.isArrowFunctionExpression()){{var b;n=(b=n.arrowFunctionToExpression({noNewArrows:t}))!=null?b:n}o=n.node}else{o=n.node}const x=d(o);let v=o;if(!f(o)){l=o.id;o.id=null;o.type="FunctionExpression";v=i(r,[o])}const j=[];for(const e of p){if(c(e)||u(e)){break}j.push(n.scope.generateUidIdentifier("x"))}const w={NAME:l||null,REF:n.scope.generateUidIdentifier(l?l.name:"ref"),FUNCTION:v,PARAMS:j};if(x){const e=h(w);n.replaceWith(e[0]);n.insertAfter(e[1])}else{let e;if(l){e=g(w)}else{e=y(w);const r=e.callee.body.body[1].argument;(0,s.default)({node:r,parent:n.parent,scope:n.scope});l=r.id}if(l||!a&&j.length){n.replaceWith(e)}else{n.replaceWith(v)}}}function wrapFunction(e,r,t=true,s=false){if(e.isMethod()){classOrObjectMethod(e,r)}else{plainFunction(e,r,t,s)}}},6448:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=highlight;r.shouldHighlight=shouldHighlight;var s=t(8874);var a=t(4975);var n=_interopRequireWildcard(t(6148),true);function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t: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 t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const o=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(r,t,s){if(r.type==="name"){if((0,a.isKeyword)(r.value)||(0,a.isStrictReservedWord)(r.value,true)||o.has(r.value)){return"keyword"}if(e.test(r.value)&&(s[t-1]==="<"||s.slice(t-2,t)=="</")){return"jsxIdentifier"}if(r.value[0]!==r.value[0].toLowerCase()){return"capitalized"}}if(r.type==="punctuator"&&l.test(r.value)){return"bracket"}if(r.type==="invalid"&&(r.value==="@"||r.value==="#")){return"punctuator"}return r.type};c=function*(e){let r;while(r=s.default.exec(e)){const t=s.matchToToken(r);yield{type:getTokenType(t,r.index,e),value:t.value}}}}function highlightTokens(e,r){let t="";for(const{type:s,value:a}of c(r)){const r=e[s];if(r){t+=a.split(i).map((e=>r(e))).join("\n")}else{t+=a}}return t}function shouldHighlight(e){return n.default.level>0||e.forceColor}let d=undefined;function getChalk(e){if(e){var r;(r=d)!=null?r:d=new n.default.constructor({enabled:true,level:1});return d}return n.default}{r.getChalk=e=>getChalk(e.forceColor)}function highlight(e,r={}){if(e!==""&&shouldHighlight(r)){const t=getDefs(getChalk(r.forceColor));return highlightTokens(t,e)}else{return e}}},3636:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);function shouldTransform(e){const{node:r}=e;const t=r.id;if(!t)return false;const s=t.name;const a=e.scope.getOwnBinding(s);if(a===undefined){return false}if(a.kind!=="param"){return false}if(a.identifier===a.path.node){return false}return s}var a=s.declare((e=>{e.assertVersion("^7.16.0");return{name:"plugin-bugfix-safari-id-destructuring-collision-in-function-expression",visitor:{FunctionExpression(e){const r=shouldTransform(e);if(r){const{scope:t}=e;const s=t.generateUid(r);t.rename(r,s)}}}}}));r["default"]=a},3257:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(3107);var n=t(9769);var o=t(8304);function matchAffectedArguments(e){const r=e.findIndex((e=>o.types.isSpreadElement(e)));return r>=0&&r!==e.length-1}function shouldTransform(e){let r=e;const t=[];for(;;){if(r.isOptionalMemberExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("object"))}else if(r.isOptionalCallExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("callee"))}else{break}}for(let e=0;e<t.length;e++){const r=t[e];if(o.types.isOptionalCallExpression(r)&&matchAffectedArguments(r.arguments)){if(r.optional){return true}const s=t[e+1];if(o.types.isOptionalMemberExpression(s,{optional:true})){return true}}}return false}var i=s.declare((e=>{var r,t;e.assertVersion(7);const s=(r=e.assumption("noDocumentAll"))!=null?r:false;const n=(t=e.assumption("pureGetters"))!=null?t:false;return{name:"bugfix-v8-spread-parameters-in-optional-chaining",visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){if(shouldTransform(e)){a.transform(e,{noDocumentAll:s,pureGetters:n})}}}}}));r["default"]=i},5806:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(7953);var n=(0,s.declare)(((e,r)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:a.FEATURES.fields,loose:r.loose,manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties")}})}));r["default"]=n},4578:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(301);var n=t(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:a.default,visitor:{ExportNamedDeclaration(e){var r;const{node:t,scope:s}=e;const{specifiers:a}=t;const o=n.types.isExportDefaultSpecifier(a[0])?1:0;if(!n.types.isExportNamespaceSpecifier(a[o]))return;const i=[];if(o===1){i.push(n.types.exportNamedDeclaration(null,[a.shift()],t.source))}const l=a.shift();const{exported:c}=l;const d=s.generateUidIdentifier((r=c.name)!=null?r:c.value);i.push(n.types.importDeclaration([n.types.importNamespaceSpecifier(d)],n.types.cloneNode(t.source)),n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(d),c)]));if(t.specifiers.length>=1){i.push(t)}const[u]=e.replaceWithMultiple(i);e.scope.registerDeclaration(u)}}}}));r["default"]=o},4206:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(4100);function remover({node:e}){var r;const{extra:t}=e;if(t!=null&&(r=t.raw)!=null&&r.includes("_")){t.raw=t.raw.replace(/_/g,"")}}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:a.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}}));r["default"]=n},9050:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(6770);var a=t(3322);var n=t(8304);var o=t(7255);var i=t(8522);var l=t(8626);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var c=_interopDefaultLegacy(l);const{isObjectProperty:d,isArrayPattern:u,isObjectPattern:p,isAssignmentPattern:f,isRestElement:y,isIdentifier:g}=n.types;function shouldStoreRHSInTemporaryVariable(e){if(u(e)){const r=e.elements.filter((e=>e!==null));if(r.length>1)return true;else return shouldStoreRHSInTemporaryVariable(r[0])}else if(p(e)){const{properties:r}=e;if(r.length>1)return true;else if(r.length===0)return false;else{const e=r[0];if(d(e)){return shouldStoreRHSInTemporaryVariable(e.value)}else{return shouldStoreRHSInTemporaryVariable(e)}}}else if(f(e)){return shouldStoreRHSInTemporaryVariable(e.left)}else if(y(e)){if(g(e.argument))return true;return shouldStoreRHSInTemporaryVariable(e.argument)}else{return false}}const{isAssignmentPattern:h,isObjectProperty:b}=n.types;{const e=n.types.identifier("a");const r=n.types.objectProperty(n.types.identifier("key"),e);const t=n.types.objectPattern([r]);var x=n.types.isReferenced(e,r,t)?1:0}var v=s.declare(((e,r)=>{var t,s,l,d;e.assertVersion(7);const u=e.targets();const p=!i.isRequired("es6.object.assign",u,{compatData:c["default"]});const{useBuiltIns:f=p,loose:y=false}=r;if(typeof y!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const g=(t=e.assumption("ignoreFunctionLength"))!=null?t:y;const v=(s=e.assumption("objectRestNoSymbols"))!=null?s:y;const j=(l=e.assumption("pureGetters"))!=null?l:y;const w=(d=e.assumption("setSpreadProperties"))!=null?d:y;function getExtendsHelper(e){return f?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let r=false;visitRestElements(e,(e=>{r=true;e.stop()}));return r}function hasObjectPatternRestElement(e){let r=false;visitRestElements(e,(e=>{if(e.parentPath.isObjectPattern()){r=true;e.stop()}}));return r}function visitRestElements(e,r){e.traverse({Expression(e){const{parent:r,key:t}=e;if(h(r)&&t==="right"||b(r)&&r.computed&&t==="key"){e.skip()}},RestElement:r})}function hasSpread(e){for(const r of e.properties){if(n.types.isSpreadElement(r)){return true}}return false}function extractNormalizedKeys(e){const r=e.properties;const t=[];let s=true;let a=false;for(const e of r){if(n.types.isIdentifier(e.key)&&!e.computed){t.push(n.types.stringLiteral(e.key.name))}else if(n.types.isTemplateLiteral(e.key)){t.push(n.types.cloneNode(e.key));a=true}else if(n.types.isLiteral(e.key)){t.push(n.types.stringLiteral(String(e.key.value)))}else{t.push(n.types.cloneNode(e.key));s=false}}return{keys:t,allLiteral:s,hasTemplateLiteral:a}}function replaceImpureComputedKeys(e,r){const t=[];for(const s of e){const e=s.get("key");if(s.node.computed&&!e.isPure()){const s=r.generateUidBasedOnNode(e.node);const a=n.types.variableDeclarator(n.types.identifier(s),e.node);t.push(a);e.replaceWith(n.types.identifier(s))}}return t}function removeUnusedExcludedKeys(e){const r=e.getOuterBindingIdentifierPaths();Object.keys(r).forEach((t=>{const s=r[t].parentPath;if(e.scope.getBinding(t).references>x||!s.isObjectProperty()){return}s.remove()}))}function createObjectRest(e,r,t){const s=e.get("properties");const a=s[s.length-1];n.types.assertRestElement(a.node);const o=n.types.cloneNode(a.node);a.remove();const i=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:d}=extractNormalizedKeys(e.node);if(l.length===0){return[i,o.argument,n.types.callExpression(getExtendsHelper(r),[n.types.objectExpression([]),n.types.sequenceExpression([n.types.callExpression(r.addHelper("objectDestructuringEmpty"),[n.types.cloneNode(t)]),n.types.cloneNode(t)])])]}let u;if(!c){u=n.types.callExpression(n.types.memberExpression(n.types.arrayExpression(l),n.types.identifier("map")),[r.addHelper("toPropertyKey")])}else{u=n.types.arrayExpression(l);if(!d&&!n.types.isProgram(e.scope.block)){const r=e.findParent((e=>e.isProgram()));const t=e.scope.generateUidIdentifier("excluded");r.scope.push({id:t,init:u,kind:"const"});u=n.types.cloneNode(t)}}return[i,o.argument,n.types.callExpression(r.addHelper(`objectWithoutProperties${v?"Loose":""}`),[n.types.cloneNode(t),u])]}function replaceRestElement(e,r,t){if(r.isAssignmentPattern()){replaceRestElement(e,r.get("left"),t);return}if(r.isArrayPattern()&&hasRestElement(r)){const s=r.get("elements");for(let r=0;r<s.length;r++){replaceRestElement(e,s[r],t)}}if(r.isObjectPattern()&&hasRestElement(r)){const s=e.scope.generateUidIdentifier("ref");const a=n.types.variableDeclaration("let",[n.types.variableDeclarator(r.node,s)]);if(t){t.push(a)}else{e.ensureBlock();e.get("body").unshiftContainer("body",a)}r.replaceWith(n.types.cloneNode(s))}}return{name:"proposal-object-rest-spread",inherits:a.default,visitor:{Function(e){const r=e.get("params");const t=new Set;const s=new Set;for(let e=0;e<r.length;++e){const a=r[e];if(hasRestElement(a)){t.add(e);for(const e of Object.keys(a.getBindingIdentifiers())){s.add(e)}}}let a=false;const IdentifierHandler=function(e,r){const t=e.node.name;if(e.scope.getBinding(t)===r.getBinding(t)&&s.has(t)){a=true;e.stop()}};let n;for(n=0;n<r.length&&!a;++n){const s=r[n];if(!t.has(n)){if(s.isReferencedIdentifier()||s.isBindingIdentifier()){IdentifierHandler(s,e.scope)}else{s.traverse({"Scope|TypeAnnotation|TSTypeAnnotation":e=>e.skip(),"ReferencedIdentifier|BindingIdentifier":IdentifierHandler},e.scope)}}}if(!a){for(let s=0;s<r.length;++s){const a=r[s];if(t.has(s)){replaceRestElement(e,a)}}}else{const shouldTransformParam=e=>e>=n-1||t.has(e);o.convertFunctionParams(e,g,shouldTransformParam,replaceRestElement)}},VariableDeclarator(e,r){if(!e.get("id").isObjectPattern()){return}let t=e;const s=e;visitRestElements(e.get("id"),(e=>{if(!e.parentPath.isObjectPattern()){return}if(shouldStoreRHSInTemporaryVariable(s.node.id)&&!n.types.isIdentifier(s.node.init)){const r=e.scope.generateUidIdentifierBasedOnNode(s.node.init,"ref");s.insertBefore(n.types.variableDeclarator(r,s.node.init));s.replaceWith(n.types.variableDeclarator(s.node.id,n.types.cloneNode(r)));return}let a=s.node.init;const o=[];let i;e.findParent((e=>{if(e.isObjectProperty()){o.unshift(e)}else if(e.isVariableDeclarator()){i=e.parentPath.node.kind;return true}}));const l=replaceImpureComputedKeys(o,e.scope);o.forEach((e=>{const{node:r}=e;a=n.types.memberExpression(a,n.types.cloneNode(r.key),r.computed||n.types.isLiteral(r.key))}));const c=e.findParent((e=>e.isObjectPattern()));const[d,u,p]=createObjectRest(c,r,a);if(j){removeUnusedExcludedKeys(c)}n.types.assertIdentifier(u);t.insertBefore(d);t.insertBefore(l);t=t.insertAfter(n.types.variableDeclarator(u,p))[0];e.scope.registerBinding(i,t);if(c.node.properties.length===0){c.findParent((e=>e.isObjectProperty()||e.isVariableDeclarator())).remove()}}))},ExportNamedDeclaration(e){const r=e.get("declaration");if(!r.isVariableDeclaration())return;const t=r.get("declarations").some((e=>hasObjectPatternRestElement(e.get("id"))));if(!t)return;const s=[];for(const r of Object.keys(e.getOuterBindingIdentifiers(true))){s.push(n.types.exportSpecifier(n.types.identifier(r),n.types.identifier(r)))}e.replaceWith(r.node);e.insertAfter(n.types.exportNamedDeclaration(null,s))},CatchClause(e){const r=e.get("param");replaceRestElement(e,r)},AssignmentExpression(e,r){const t=e.get("left");if(t.isObjectPattern()&&hasRestElement(t)){const s=[];const a=e.scope.generateUidBasedOnNode(e.node.right,"ref");s.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(a),e.node.right)]));const[o,i,l]=createObjectRest(t,r,n.types.identifier(a));if(o.length>0){s.push(n.types.variableDeclaration("var",o))}const c=n.types.cloneNode(e.node);c.right=n.types.identifier(a);s.push(n.types.expressionStatement(c));s.push(n.types.expressionStatement(n.types.assignmentExpression("=",i,l)));s.push(n.types.expressionStatement(n.types.identifier(a)));e.replaceWithMultiple(s)}},ForXStatement(e){const{node:r,scope:t}=e;const s=e.get("left");const a=r.left;if(!hasObjectPatternRestElement(s)){return}if(!n.types.isVariableDeclaration(a)){const s=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration("var",[n.types.variableDeclarator(s)]);e.ensureBlock();const o=e.node.body;if(o.body.length===0&&e.isCompletionRecord()){o.body.unshift(n.types.expressionStatement(t.buildUndefinedNode()))}o.body.unshift(n.types.expressionStatement(n.types.assignmentExpression("=",a,n.types.cloneNode(s))))}else{const s=a.declarations[0].id;const o=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration(a.kind,[n.types.variableDeclarator(o,null)]);e.ensureBlock();const i=r.body;i.body.unshift(n.types.variableDeclaration(r.left.kind,[n.types.variableDeclarator(s,n.types.cloneNode(o))]))}},ArrayPattern(e){const r=[];visitRestElements(e,(e=>{if(!e.parentPath.isObjectPattern()){return}const t=e.parentPath;const s=e.scope.generateUidIdentifier("ref");r.push(n.types.variableDeclarator(t.node,s));t.replaceWith(n.types.cloneNode(s));e.skip()}));if(r.length>0){const t=e.getStatementParent();const s=t.node;const a=s.type==="VariableDeclaration"?s.kind:"var";t.insertAfter(n.types.variableDeclaration(a,r))}},ObjectExpression(e,r){if(!hasSpread(e.node))return;let t;if(w){t=getExtendsHelper(r)}else{try{t=r.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;t=r.addHelper("objectSpread")}}let s=null;let a=[];function make(){const e=a.length>0;const r=n.types.objectExpression(a);a=[];if(!s){s=n.types.callExpression(t,[r]);return}if(j){if(e){s.arguments.push(r)}return}s=n.types.callExpression(n.types.cloneNode(t),[s,...e?[n.types.objectExpression([]),r]:[]])}for(const r of e.node.properties){if(n.types.isSpreadElement(r)){make();s.arguments.push(r.argument)}else{a.push(r)}}if(a.length)make();e.replaceWith(s)}}}}));r["default"]=v},5579:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-assertions",manipulateOptions(e,r){r.plugins.push("importAssertions")}}}));r["default"]=a},4810:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,{deprecatedAssertSyntax:r})=>{e.assertVersion("^7.22.0");if(r!=null&&typeof r!=="boolean"){throw new Error("'deprecatedAssertSyntax' must be a boolean, if specified.")}return{name:"syntax-import-attributes",manipulateOptions({parserOpts:e,generatorOpts:t}){var s;(s=t.importAttributesKeyword)!=null?s:t.importAttributesKeyword="with";e.plugins.push(["importAttributes",{deprecatedAssertSyntax:Boolean(r)}])}}}));r["default"]=a},6085:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,r){{if(r.plugins.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}}r.plugins.push("jsx")}}}));r["default"]=a},6141:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);{var removePlugin=function(e,r){const t=[];e.forEach(((e,s)=>{const a=Array.isArray(e)?e[0]:e;if(a===r){t.unshift(s)}}));for(const r of t){e.splice(r,1)}}}var a=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{disallowAmbiguousJSXLike:t,dts:s}=r;{var{isTSX:a}=r}return{name:"syntax-typescript",manipulateOptions(e,r){{const{plugins:e}=r;removePlugin(e,"flow");removePlugin(e,"jsx");e.push("objectRestSpread","classProperties");if(a){e.push("jsx")}}r.plugins.push(["typescript",{disallowAmbiguousJSXLike:t,dts:s}])}}}));r["default"]=a},6237:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(176);var a=t(5389);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"syntax-unicode-sets-regex",feature:"unicodeSetsFlag_syntax",manipulateOptions(e,r){r.plugins.push("regexpUnicodeSets")}})}));r["default"]=n},3628:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,r)=>{var t;e.assertVersion(7);const s=(t=e.assumption("noNewArrows"))!=null?t:!r.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;{e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:s,specCompliant:!s})}}}}}));r["default"]=a},1971:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(8304);const a=(0,s.template)(`\n async function wrapper() {\n var ITERATOR_ABRUPT_COMPLETION = false;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY;\n ITERATOR_ABRUPT_COMPLETION = !(STEP_KEY = await ITERATOR_KEY.next()).done;\n ITERATOR_ABRUPT_COMPLETION = false\n ) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (ITERATOR_ABRUPT_COMPLETION && ITERATOR_KEY.return != null) {\n await ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n`);function _default(e,{getAsyncIterator:r}){const{node:t,scope:n,parent:o}=e;const i=n.generateUidIdentifier("step");const l=s.types.memberExpression(i,s.types.identifier("value"));const c=t.left;let d;if(s.types.isIdentifier(c)||s.types.isPattern(c)||s.types.isMemberExpression(c)){d=s.types.expressionStatement(s.types.assignmentExpression("=",c,l))}else if(s.types.isVariableDeclaration(c)){d=s.types.variableDeclaration(c.kind,[s.types.variableDeclarator(c.declarations[0].id,l)])}let u=a({ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_ABRUPT_COMPLETION:n.generateUidIdentifier("iteratorAbruptCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:n.generateUidIdentifier("iterator"),GET_ITERATOR:r,OBJECT:t.right,STEP_KEY:s.types.cloneNode(i)});u=u.body.body;const p=s.types.isLabeledStatement(o);const f=u[3].block.body;const y=f[0];if(p){f[0]=s.types.labeledStatement(o.label,y)}return{replaceParent:p,node:u,declar:d,loop:y}}},4766:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(8304);var o=t(1971);var i=t(8552);var l=(0,s.declare)((e=>{e.assertVersion(7);const r=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},YieldExpression({node:e},r){if(!e.delegate)return;const t=n.types.callExpression(r.addHelper("asyncIterator"),[e.argument]);e.argument=n.types.callExpression(r.addHelper("asyncGeneratorDelegate"),[t,r.addHelper("awaitAsyncGenerator")])}},i.default]);const s=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},ForOfStatement(e,{file:r}){const{node:t}=e;if(!t.await)return;const s=(0,o.default)(e,{getAsyncIterator:r.addHelper("asyncIterator")});const{declar:a,loop:i}=s;const l=i.body;e.ensureBlock();if(a){l.body.push(a);if(e.node.body.body.length){l.body.push(n.types.blockStatement(e.node.body.body))}}else{l.body.push(...e.node.body.body)}n.types.inherits(i,t);n.types.inherits(i.body,t.body);const c=s.replaceParent?e.parentPath:e;c.replaceWithMultiple(s.node);c.scope.parent.crawl()}},i.default]);const l={Function(e,t){if(!e.node.async)return;e.traverse(s,t);if(!e.node.generator)return;e.traverse(r,t);(0,a.default)(e,{wrapAsync:t.addHelper("wrapAsyncGenerator"),wrapAwait:t.addHelper("awaitAsyncGenerator")})}};return{name:"transform-async-generator-functions",inherits:t(3975)["default"],visitor:{Program(e,r){e.traverse(l,r)}}}}));r["default"]=l},3055:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(3380);var o=t(8304);var i=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const{method:i,module:l}=r;const c=(t=e.assumption("noNewArrows"))!=null?t:true;const d=(s=e.assumption("ignoreFunctionLength"))!=null?s:false;if(i&&l){return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;let t=r.methodWrapper;if(t){t=o.types.cloneNode(t)}else{t=r.methodWrapper=(0,n.addNamed)(e,i,l)}(0,a.default)(e,{wrapAsync:t},c,d)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;(0,a.default)(e,{wrapAsync:r.addHelper("asyncToGenerator")},c,d)}}}}));r["default"]=i},1242:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);function transformStatementList(e){for(const r of e){if(!r.isFunctionDeclaration())continue;const e=r.node;const t=a.types.variableDeclaration("let",[a.types.variableDeclarator(e.id,a.types.toExpression(e))]);t._blockHoist=2;e.id=null;r.replaceWith(t)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:r,parent:t}=e;if(a.types.isFunction(t,{body:r})||a.types.isExportDeclaration(t)){return}transformStatementList(e.get("body"))},SwitchCase(e){transformStatementList(e.get("consequent"))}}}}));r["default"]=n},4700:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.annexB33FunctionsVisitor=void 0;r.isVarScope=isVarScope;var s=t(8304);const a={VariableDeclaration(e){if(isStrict(e))return;if(e.node.kind!=="var")return;const r=e.scope.getFunctionParent()||e.scope.getProgramParent();r.path.traverse(n,{names:Object.keys(e.getBindingIdentifiers())})},BlockStatement(e){if(isStrict(e))return;if(s.types.isFunction(e.parent,{body:e.node}))return;transformStatementList(e.get("body"))},SwitchCase(e){if(isStrict(e))return;transformStatementList(e.get("consequent"))}};r.annexB33FunctionsVisitor=a;function transformStatementList(e){e:for(const r of e){if(!r.isFunctionDeclaration())continue;if(r.node.async||r.node.generator)return;const{scope:e}=r.parentPath;if(isVarScope(e))return;const{name:t}=r.node.id;let s=e;do{if(s.parent.hasOwnBinding(t))continue e;s=s.parent}while(!isVarScope(s));maybeTransformBlockScopedFunction(r)}}function maybeTransformBlockScopedFunction(e){const{node:r,parentPath:{scope:t}}=e;const{id:a}=r;t.removeOwnBinding(a.name);r.id=null;const n=s.types.variableDeclaration("var",[s.types.variableDeclarator(a,s.types.toExpression(r))]);n._blockHoist=2;const[o]=e.replaceWith(n);t.registerDeclaration(o)}const n={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){maybeTransformBlockScopedFunction(r.path)}}},"Expression|Declaration"(e){e.skip()}};function isVarScope(e){return e.path.isFunctionParent()||e.path.isProgram()}function isStrict(e){return!!e.find((({node:e})=>{var r;if(s.types.isProgram(e)){if(e.sourceType==="module")return true}else if(s.types.isClass(e)){return true}else if(!s.types.isBlockStatement(e)){return false}return(r=e.directives)==null?void 0:r.some((e=>e.value.value==="use strict"))}))}},6383:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=t(6713);var o=t(8643);var i=t(4700);var l=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{throwIfClosureRequired:t=false,tdz:s=false}=r;if(typeof t!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof s!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:a.traverse.visitors.merge([i.annexB33FunctionsVisitor,{Loop(e,r){const a=e.isForStatement();const o=a?e.get("init"):e.isForXStatement()?e.get("left"):null;let i=false;const markNeedsBodyWrap=()=>{if(t){throw e.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}i=true};const l=e.get("body");let c;if(l.isBlockStatement()){c=l.scope;const r=(0,n.getLoopBodyBindings)(e);for(const t of r){const{capturedInClosure:r}=(0,n.getUsageInBody)(t,e);if(r)markNeedsBodyWrap()}}const d=[];const u=new Map;if(o&&isBlockScoped(o.node)){const r=Object.keys(o.getBindingIdentifiers());const t=o.scope;for(let s of r){var p;if((p=c)!=null&&p.hasOwnBinding(s))continue;let r=t.getOwnBinding(s);if(!r){t.crawl();r=t.getOwnBinding(s)}const{usages:o,capturedInClosure:i,hasConstantViolations:l}=(0,n.getUsageInBody)(r,e);if(t.parent.hasBinding(s)||t.parent.hasGlobal(s)){const e=t.generateUid(s);t.rename(s,e);s=e}if(i){markNeedsBodyWrap();d.push(s)}if(a&&l){u.set(s,o)}}}if(i){const t=(0,n.wrapLoopBody)(e,d,u);if(o!=null&&o.isVariableDeclaration()){transformBlockScopedVariable(o,r,s)}t.get("declarations.0.init").unwrapFunctionEnvironment()}},VariableDeclaration(e,r){transformBlockScopedVariable(e,r,s)},ClassDeclaration(e){const{id:r}=e.node;if(!r)return;const{scope:t}=e.parentPath;if(!(0,i.isVarScope)(t)&&t.parent.hasBinding(r.name,{noUids:true})){e.scope.rename(r.name)}}}])}}));r["default"]=l;const c={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){e.scope.rename(t)}}},"Expression|Declaration"(e){e.skip()}};function transformBlockScopedVariable(e,r,t){if(!isBlockScoped(e.node))return;const s=(0,o.validateUsage)(e,r,t);e.node.kind="var";const i=Object.keys(e.getBindingIdentifiers());for(const r of i){const t=e.scope.getOwnBinding(r);if(!t)continue;t.kind="var"}if(isInLoop(e)&&!(0,n.isVarInLoopHead)(e)||s.length>0){for(const r of e.node.declarations){var l;(l=r.init)!=null?l:r.init=e.scope.buildUndefinedNode()}}const d=e.scope;const u=d.getFunctionParent()||d.getProgramParent();if(u!==d){for(const e of i){let r=e;if(d.parent.hasBinding(e,{noUids:true})||d.parent.hasGlobal(e)){r=d.generateUid(e);d.rename(e,r)}d.moveBindingTo(r,u)}}d.path.traverse(c,{names:i});for(const t of s){e.scope.push({id:a.types.identifier(t),init:r.addHelper("temporalUndefined")})}}function isLetOrConst(e){return e==="let"||e==="const"}function isInLoop(e){if(!e.parentPath)return false;if(e.parentPath.isLoop())return true;if(e.parentPath.isFunctionParent())return false;return isInLoop(e.parentPath)}function isBlockScoped(e){if(!a.types.isVariableDeclaration(e))return false;if(e[a.types.BLOCK_SCOPED_SYMBOL]){return true}if(!isLetOrConst(e.kind)&&e.kind!=="using"){return false}return true}},6713:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getLoopBodyBindings=getLoopBodyBindings;r.getUsageInBody=getUsageInBody;r.isVarInLoopHead=isVarInLoopHead;r.wrapLoopBody=wrapLoopBody;var s=t(8304);const a={"Expression|Declaration|Loop"(e){e.skip()},Scope(e,r){if(e.isFunctionParent())e.skip();const{bindings:t}=e.scope;for(const e of Object.keys(t)){const s=t[e];if(s.kind==="let"||s.kind==="const"||s.kind==="hoisted"){r.blockScoped.push(s)}}}};function getLoopBodyBindings(e){const r={blockScoped:[]};e.traverse(a,r);return r.blockScoped}function getUsageInBody(e,r){const t=new WeakSet;let s=false;const a=filterMap(e.constantViolations,(e=>{const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);const o=e.isUpdateExpression()?e.get("argument"):e.isAssignmentExpression()?e.get("left"):null;if(o)t.add(o.node);return o}));const n=filterMap(e.referencePaths,(e=>{if(t.has(e.node))return null;const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);return e}));return{capturedInClosure:s,hasConstantViolations:a.length>0,usages:n.concat(a)}}function relativeLoopLocation(e,r){const t=r.get("body");let s=false;for(let a=e;a;a=a.parentPath){if(a.isFunction()||a.isClass()||a.isMethod()){s=true}if(a===t){return{inBody:true,inClosure:s}}else if(a===r){return{inBody:false,inClosure:s}}}throw new Error("Internal Babel error: path is not in loop. Please report this as a bug.")}const n={Function(e){e.skip()},LabeledStatement:{enter({node:e},r){r.labelsStack.push(e.label.name)},exit({node:e},r){const t=r.labelsStack.pop();if(t!==e.label.name){throw new Error("Assertion failure. Please report this bug to Babel.")}}},Loop:{enter(e,r){r.labellessContinueTargets++;r.labellessBreakTargets++},exit(e,r){r.labellessContinueTargets--;r.labellessBreakTargets--}},SwitchStatement:{enter(e,r){r.labellessBreakTargets++},exit(e,r){r.labellessBreakTargets--}},"BreakStatement|ContinueStatement"(e,r){const{label:t}=e.node;if(t){if(r.labelsStack.includes(t.name))return}else if(e.isBreakStatement()?r.labellessBreakTargets>0:r.labellessContinueTargets>0){return}r.breaksContinues.push(e)},ReturnStatement(e,r){r.returns.push(e)},VariableDeclaration(e,r){if(e.parent===r.loopNode&&isVarInLoopHead(e))return;if(e.node.kind==="var")r.vars.push(e)}};function wrapLoopBody(e,r,t){const a=e.node;const o={breaksContinues:[],returns:[],labelsStack:[],labellessBreakTargets:0,labellessContinueTargets:0,vars:[],loopNode:a};e.traverse(n,o);const i=[];const l=[];const c=[];for(const[r,a]of t){i.push(s.types.identifier(r));const t=e.scope.generateUid(r);l.push(s.types.identifier(t));c.push(s.types.assignmentExpression("=",s.types.identifier(r),s.types.identifier(t)));for(const e of a)e.replaceWith(s.types.identifier(t))}for(const e of r){if(t.has(e))continue;i.push(s.types.identifier(e));l.push(s.types.identifier(e))}const d=e.scope.generateUid("loop");const u=s.types.functionExpression(null,l,s.types.toBlock(a.body));let p=s.types.callExpression(s.types.identifier(d),i);const f=e.findParent((e=>e.isFunction()));if(f){const{async:e,generator:r}=f.node;u.async=e;u.generator=r;if(r)p=s.types.yieldExpression(p,true);else if(e)p=s.types.awaitExpression(p)}const y=c.length>0?s.types.expressionStatement(s.types.sequenceExpression(c)):null;if(y)u.body.body.push(y);const[g]=e.insertBefore(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(d),u)]));const h=[];const b=[];for(const e of o.vars){const r=[];for(const t of e.node.declarations){b.push(...Object.keys(s.types.getBindingIdentifiers(t.id)));if(t.init){r.push(s.types.assignmentExpression("=",t.id,t.init))}}if(r.length>0){let t=r.length===1?r[0]:s.types.sequenceExpression(r);if(!s.types.isForStatement(e.parent,{init:e.node})&&!s.types.isForXStatement(e.parent,{left:e.node})){t=s.types.expressionStatement(t)}e.replaceWith(t)}else{e.remove()}}if(b.length){g.pushContainer("declarations",b.map((e=>s.types.variableDeclarator(s.types.identifier(e)))))}const x=o.breaksContinues.length;const v=o.returns.length;if(x+v===0){h.push(s.types.expressionStatement(p))}else if(x===1&&v===0){for(const e of o.breaksContinues){const{node:r}=e;const{type:t,label:a}=r;let n=t==="BreakStatement"?"break":"continue";if(a)n+=" "+a.name;e.replaceWith(s.types.addComment(s.types.returnStatement(s.types.numericLiteral(1)),"trailing"," "+n,true));if(y)e.insertBefore(s.types.cloneNode(y));h.push(s.template.statement.ast` + if (${p}) ${r} + `)}}else{const r=e.scope.generateUid("ret");if(g.isVariableDeclaration()){g.pushContainer("declarations",[s.types.variableDeclarator(s.types.identifier(r))]);h.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.identifier(r),p)))}else{h.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(r),p)]))}const t=[];for(const e of o.breaksContinues){const{node:a}=e;const{type:n,label:o}=a;let i=n==="BreakStatement"?"break":"continue";if(o)i+=" "+o.name;let l=t.indexOf(i);const c=l!==-1;if(!c){t.push(i);l=t.length-1}e.replaceWith(s.types.addComment(s.types.returnStatement(s.types.numericLiteral(l)),"trailing"," "+i,true));if(y)e.insertBefore(s.types.cloneNode(y));if(c)continue;h.push(s.template.statement.ast` + if (${s.types.identifier(r)} === ${s.types.numericLiteral(l)}) ${a} + `)}if(v){for(const e of o.returns){const r=e.node.argument||e.scope.buildUndefinedNode();e.replaceWith(s.template.statement.ast` + return { v: ${r} }; + `)}h.push(s.template.statement.ast` + if (${s.types.identifier(r)}) return ${s.types.identifier(r)}.v; + `)}}a.body=s.types.blockStatement(h);return g}function isVarInLoopHead(e){if(s.types.isForStatement(e.parent))return e.key==="init";if(s.types.isForXStatement(e.parent))return e.key==="left";return false}function filterMap(e,r){const t=[];for(const s of e){const e=r(s);if(e)t.push(e)}return t}},8643:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.validateUsage=validateUsage;var s=t(8304);function validateUsage(e,r,t){const s=[];for(const a of Object.keys(e.getBindingIdentifiers())){const n=e.scope.getBinding(a);if(!n)continue;if(t){if(injectTDZChecks(n,r))s.push(a)}if(e.node.kind==="const"){disallowConstantViolations(a,n,r)}}return s}function disallowConstantViolations(e,r,t){for(const a of r.constantViolations){const r=t.addHelper("readOnlyError");const n=s.types.callExpression(r,[s.types.stringLiteral(e)]);if(a.isAssignmentExpression()){const{operator:e,left:r,right:t}=a.node;if(e==="="){const e=[t];e.push(n);a.replaceWith(s.types.sequenceExpression(e))}else if(["&&=","||=","??="].includes(e)){a.replaceWith(s.types.logicalExpression(e.slice(0,-1),r,s.types.sequenceExpression([t,n])))}else{a.replaceWith(s.types.sequenceExpression([s.types.binaryExpression(e.slice(0,-1),r,t),n]))}}else if(a.isUpdateExpression()){a.replaceWith(s.types.sequenceExpression([s.types.unaryExpression("+",a.get("argument").node),n]))}else if(a.isForXStatement()){a.ensureBlock();a.get("left").replaceWith(s.types.variableDeclaration("var",[s.types.variableDeclarator(a.scope.generateUidIdentifier(e))]));a.node.body.body.unshift(s.types.expressionStatement(n))}}}function getTDZStatus(e,r){const t=r._guessExecutionStatusRelativeTo(e);if(t==="before"){return"outside"}else if(t==="after"){return"inside"}else{return"maybe"}}const a=new WeakSet;function buildTDZAssert(e,r,t){if(e==="maybe"){const e=s.types.cloneNode(r);a.add(e);return s.types.callExpression(t.addHelper("temporalRef"),[e,s.types.stringLiteral(r.name)])}else{return s.types.callExpression(t.addHelper("tdz"),[s.types.stringLiteral(r.name)])}}function getTDZReplacement(e,r,t=e.node){var s;if(a.has(t))return;a.add(t);const n=(s=e.scope.getBinding(t.name))==null?void 0:s.path;if(!n||n.isFunctionDeclaration())return;const o=getTDZStatus(e,n);if(o==="outside")return;if(o==="maybe"){n.parent._tdzThis=true}return{status:o,node:buildTDZAssert(o,t,r)}}function injectTDZChecks(e,r){const t=new Set(e.referencePaths);e.constantViolations.forEach(t.add,t);let n=false;for(const t of e.constantViolations){const{node:e}=t;if(a.has(e))continue;a.add(e);if(t.isUpdateExpression()){const e=t.get("argument");const s=getTDZReplacement(t,r,e.node);if(!s)continue;if(s.status==="maybe"){n=true;t.insertBefore(s.node)}else{t.replaceWith(s.node)}}else if(t.isAssignmentExpression()){const e=[];const a=t.getBindingIdentifiers();for(const o of Object.keys(a)){const i=getTDZReplacement(t,r,a[o]);if(i){e.push(s.types.expressionStatement(i.node));if(i.status==="inside")break;if(i.status==="maybe")n=true}}if(e.length>0)t.insertBefore(e)}}for(const t of e.referencePaths){if(t.parentPath.isUpdateExpression())continue;if(t.parentPath.isFor({left:t.node}))continue;const e=getTDZReplacement(t,r);if(!e)continue;if(e.status==="maybe")n=true;t.replaceWith(e.node)}return n}},9394:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(269);var n=(0,s.declare)(((e,r)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"transform-class-properties",api:e,feature:a.FEATURES.fields,loose:r.loose,manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties")}})}));r["default"]=n},4927:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(269);function generateUid(e,r){const t="";let s;let a=1;do{s=e._generateUid(t,a);a++}while(r.has(s));return s}var n=(0,s.declare)((({types:e,template:r,assertVersion:s})=>{s("^7.12.0");return{name:"transform-class-static-block",inherits:t(5491)["default"],pre(){(0,a.enableFeature)(this.file,a.FEATURES.staticBlocks,false)},visitor:{ClassBody(t){const{scope:s}=t;const a=new Set;const n=t.get("body");for(const e of n){if(e.isPrivate()){a.add(e.get("key.id").node.name)}}for(const t of n){if(!t.isStaticBlock())continue;const n=generateUid(s,a);a.add(n);const o=e.privateName(e.identifier(n));let i;const l=t.node.body;if(l.length===1&&e.isExpressionStatement(l[0])){i=e.inheritsComments(l[0].expression,l[0])}else{i=r.expression.ast`(() => { ${l} })()`}t.replaceWith(e.classPrivateProperty(o,i,[],true))}}}}}));r["default"]=n},0:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(900);var n=t(365);var o=t(4940);var i=t(4097);var l=t(8304);var c=t(6929);var d=t(1643);const getBuiltinClasses=e=>Object.keys(c[e]).filter((e=>/^[A-Z]/.test(e)));const u=new Set([...getBuiltinClasses("builtin"),...getBuiltinClasses("browser")]);var p=(0,s.declare)(((e,r)=>{var t,s,c,p;e.assertVersion(7);const{loose:f=false}=r;const y=(t=e.assumption("setClassMethods"))!=null?t:f;const g=(s=e.assumption("constantSuper"))!=null?s:f;const h=(c=e.assumption("superIsCallableConstructor"))!=null?c:f;const b=(p=e.assumption("noClassCalls"))!=null?p:f;const x=!(0,a.isRequired)("transform-unicode-escapes",e.targets());const v=new WeakSet;return{name:"transform-classes",visitor:{ExportDefaultDeclaration(e){if(!e.get("declaration").isClassDeclaration())return;(0,i.default)(e)},ClassDeclaration(e){const{node:r}=e;const t=r.id||e.scope.generateUidIdentifier("class");e.replaceWith(l.types.variableDeclaration("let",[l.types.variableDeclarator(t,l.types.toExpression(r))]))},ClassExpression(e,r){const{node:t}=e;if(v.has(t))return;const s=(0,o.default)(e,undefined,x);if(s&&s!==t){e.replaceWith(s);return}v.add(t);const[a]=e.replaceWith((0,d.default)(e,r.file,u,f,{setClassMethods:y,constantSuper:g,superIsCallableConstructor:h,noClassCalls:b},x));if(a.isCallExpression()){(0,n.default)(a);const e=a.get("callee");if(e.isArrowFunctionExpression()){e.arrowFunctionToExpression()}}}}}}));r["default"]=p},85:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=addCreateSuperHelper;var s=t(8304);const a=s.template.statement` function CREATE_SUPER(Derived) { function isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; @@ -180,16 +309,22 @@ return POSSIBLE_CONSTRUCTOR_RETURN(this, result); } } -`},3107:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transformClass;var s=r(571);var a=r(7328);var n=r(5166);var o=r(5462);var i=r(8304);var l=r(5346);var c=r(5037);function buildConstructor(e,t,r){const s=i.types.functionDeclaration(i.types.cloneNode(e),[],t);i.types.inherits(s,r);return s}function transformClass(e,t,r,u,p){const d={parent:undefined,scope:undefined,node:undefined,path:undefined,file:undefined,classId:undefined,classRef:undefined,superFnId:undefined,superName:undefined,superReturns:[],isDerived:false,extendsNative:false,construct:undefined,constructorBody:undefined,userConstructor:undefined,userConstructorPath:undefined,hasConstructor:false,staticPropBody:[],body:[],superThises:[],pushedConstructor:false,pushedInherits:false,pushedCreateClass:false,protoAlias:null,isLoose:false,dynamicKeys:new Map,methods:{instance:{hasComputed:false,list:[],map:new Map},static:{hasComputed:false,list:[],map:new Map}}};const setState=e=>{Object.assign(d,e)};const f=i.traverse.visitors.merge([n.default,{ThisExpression(e){d.superThises.push(e)}}]);function createClassHelper(e){return i.types.callExpression(d.file.addHelper("createClass"),e)}function maybeCreateConstructor(){let e=false;const t=d.path.get("body.body");for(const r of t){e=r.equals("kind","constructor");if(e)break}if(e)return;let r,s;if(d.isDerived){const e=i.template.expression.ast` +`;const n=new WeakMap;function addCreateSuperHelper(e){if(n.has(e)){return(s.types.cloneNode||s.types.clone)(n.get(e))}try{return e.addHelper("createSuper")}catch(e){}const r=e.scope.generateUidIdentifier("createSuper");n.set(e,r);const t=a({CREATE_SUPER:r,GET_PROTOTYPE_OF:e.addHelper("getPrototypeOf"),POSSIBLE_CONSTRUCTOR_RETURN:e.addHelper("possibleConstructorReturn")});e.path.unshiftContainer("body",[t]);e.scope.registerDeclaration(e.path.get("body.0"));return s.types.cloneNode(r)}},1643:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=transformClass;var s=t(4940);var a=t(9775);var n=t(8552);var o=t(1475);var i=t(8304);var l=t(365);var c=t(85);function buildConstructor(e,r,t){const s=i.types.functionDeclaration(i.types.cloneNode(e),[],r);i.types.inherits(s,t);return s}function transformClass(e,r,t,d,u,p){const f={parent:undefined,scope:undefined,node:undefined,path:undefined,file:undefined,classId:undefined,classRef:undefined,superFnId:undefined,superName:null,superReturns:[],isDerived:false,extendsNative:false,construct:undefined,constructorBody:undefined,userConstructor:undefined,userConstructorPath:undefined,hasConstructor:false,body:[],superThises:[],pushedConstructor:false,pushedInherits:false,pushedCreateClass:false,protoAlias:null,isLoose:false,dynamicKeys:new Map,methods:{instance:{hasComputed:false,list:[],map:new Map},static:{hasComputed:false,list:[],map:new Map}}};const setState=e=>{Object.assign(f,e)};const y=i.traverse.visitors.merge([n.default,{ThisExpression(e){f.superThises.push(e)}}]);function createClassHelper(e){return i.types.callExpression(f.file.addHelper("createClass"),e)}function maybeCreateConstructor(){const e=f.path.get("body");for(const r of e.get("body")){if(r.isClassMethod({kind:"constructor"}))return}let r,t;if(f.isDerived){const e=i.template.expression.ast` (function () { super(...arguments); }) - `;r=e.params;s=e.body}else{r=[];s=i.types.blockStatement([])}d.path.get("body").unshiftContainer("body",i.types.classMethod("constructor",i.types.identifier("constructor"),r,s))}function buildBody(){maybeCreateConstructor();pushBody();verifyConstructor();if(d.userConstructor){const{constructorBody:e,userConstructor:t,construct:r}=d;e.body.push(...t.body.body);i.types.inherits(r,t);i.types.inherits(e,t.body)}pushDescriptors()}function pushBody(){const e=d.path.get("body.body");for(const t of e){const e=t.node;if(t.isClassProperty()){throw t.buildCodeFrameError("Missing class properties transform.")}if(e.decorators){throw t.buildCodeFrameError("Method has decorators, put the decorator plugin before the classes one.")}if(i.types.isClassMethod(e)){const r=e.kind==="constructor";const s=new a.default({methodPath:t,objectRef:d.classRef,superRef:d.superName,constantSuper:p.constantSuper,file:d.file,refToPreserve:d.classRef});s.replace();const o=[];t.traverse(i.traverse.visitors.merge([n.default,{ReturnStatement(e){if(!e.getFunctionParent().isArrowFunctionExpression()){o.push(e)}}}]));if(r){pushConstructor(o,e,t)}else{pushMethod(e,t)}}}}function pushDescriptors(){pushInheritsToBody();const{body:e}=d;const t={instance:null,static:null};for(const e of["static","instance"]){if(d.methods[e].list.length){t[e]=d.methods[e].list.map((e=>{const t=i.types.objectExpression([i.types.objectProperty(i.types.identifier("key"),e.key)]);for(const r of["get","set","value"]){if(e[r]!=null){t.properties.push(i.types.objectProperty(i.types.identifier(r),e[r]))}}return t}))}}if(t.instance||t.static){let r=[i.types.cloneNode(d.classRef),t.instance?i.types.arrayExpression(t.instance):i.types.nullLiteral(),t.static?i.types.arrayExpression(t.static):i.types.nullLiteral()];let s=0;for(let e=0;e<r.length;e++){if(!i.types.isNullLiteral(r[e]))s=e}r=r.slice(0,s+1);e.push(i.types.expressionStatement(createClassHelper(r)));d.pushedCreateClass=true}}function wrapSuperCall(e,t,r,s){const a=e.node;let n;if(p.superIsCallableConstructor){a.arguments.unshift(i.types.thisExpression());if(a.arguments.length===2&&i.types.isSpreadElement(a.arguments[1])&&i.types.isIdentifier(a.arguments[1].argument,{name:"arguments"})){a.arguments[1]=a.arguments[1].argument;a.callee=i.types.memberExpression(i.types.cloneNode(t),i.types.identifier("apply"))}else{a.callee=i.types.memberExpression(i.types.cloneNode(t),i.types.identifier("call"))}n=i.types.logicalExpression("||",a,i.types.thisExpression())}else{n=(0,o.default)(i.types.cloneNode(d.superFnId),i.types.thisExpression(),a.arguments,false)}if(e.parentPath.isExpressionStatement()&&e.parentPath.container===s.node.body&&s.node.body.length-1===e.parentPath.key){if(d.superThises.length){n=i.types.assignmentExpression("=",r(),n)}e.parentPath.replaceWith(i.types.returnStatement(n))}else{e.replaceWith(i.types.assignmentExpression("=",r(),n))}}function verifyConstructor(){if(!d.isDerived)return;const e=d.userConstructorPath;const t=e.get("body");e.traverse(f);let thisRef=function(){const t=e.scope.generateDeclaredUidIdentifier("this");thisRef=()=>i.types.cloneNode(t);return t};for(const e of d.superThises){const{node:t,parentPath:r}=e;if(r.isMemberExpression({object:t})){e.replaceWith(thisRef());continue}e.replaceWith(i.types.callExpression(d.file.addHelper("assertThisInitialized"),[thisRef()]))}const r=new Set;e.traverse(i.traverse.visitors.merge([n.default,{Super(e){const{node:t,parentPath:s}=e;if(s.isCallExpression({callee:t})){r.add(s)}}}]));let s=!!r.size;for(const a of r){wrapSuperCall(a,d.superName,thisRef,t);if(s){a.find((function(t){if(t===e){return true}if(t.isLoop()||t.isConditional()||t.isArrowFunctionExpression()){s=false;return true}}))}}let a;if(d.isLoose){a=e=>{const t=i.types.callExpression(d.file.addHelper("assertThisInitialized"),[thisRef()]);return e?i.types.logicalExpression("||",e,t):t}}else{a=e=>i.types.callExpression(d.file.addHelper("possibleConstructorReturn"),[thisRef()].concat(e||[]))}const o=t.get("body");if(!o.length||!o.pop().isReturnStatement()){t.pushContainer("body",i.types.returnStatement(s?thisRef():a()))}for(const e of d.superReturns){e.get("argument").replaceWith(a(e.node.argument))}}function pushMethod(e,t){const r=t?t.scope:d.scope;if(e.kind==="method"){if(processMethod(e,r))return}const a=e.static?"static":"instance";const n=d.methods[a];const o=e.kind==="method"?"value":e.kind;const l=i.types.isNumericLiteral(e.key)||i.types.isBigIntLiteral(e.key)?i.types.stringLiteral(String(e.key.value)):i.types.toComputedKey(e);let c=i.types.toExpression(e);if(i.types.isStringLiteral(l)){if(e.kind==="method"){c=(0,s.default)({id:l,node:e,scope:r})}}else{n.hasComputed=true}let u;if(!n.hasComputed&&n.map.has(l.value)){u=n.map.get(l.value);u[o]=c;if(o==="value"){u.get=null;u.set=null}else{u.value=null}}else{u={key:l,[o]:c};n.list.push(u);if(!n.hasComputed){n.map.set(l.value,u)}}}function processMethod(e,t){if(p.setClassMethods&&!e.decorators){let{classRef:r}=d;if(!e.static){insertProtoAliasOnce();r=d.protoAlias}const a=i.types.memberExpression(i.types.cloneNode(r),e.key,e.computed||i.types.isLiteral(e.key));let n=i.types.functionExpression(null,e.params,e.body,e.generator,e.async);i.types.inherits(n,e);const o=i.types.toComputedKey(e,e.key);if(i.types.isStringLiteral(o)){n=(0,s.default)({node:n,id:o,scope:t})}const l=i.types.expressionStatement(i.types.assignmentExpression("=",a,n));i.types.inheritsComments(l,e);d.body.push(l);return true}return false}function insertProtoAliasOnce(){if(d.protoAlias===null){setState({protoAlias:d.scope.generateUidIdentifier("proto")});const e=i.types.memberExpression(d.classRef,i.types.identifier("prototype"));const t=i.types.variableDeclaration("var",[i.types.variableDeclarator(d.protoAlias,e)]);d.body.push(t)}}function pushConstructor(e,t,r){setState({userConstructorPath:r,userConstructor:t,hasConstructor:true,superReturns:e});const{construct:s}=d;i.types.inheritsComments(s,t);s.params=t.params;i.types.inherits(s.body,t.body);s.body.directives=t.body.directives;pushConstructorToBody()}function pushConstructorToBody(){if(d.pushedConstructor)return;d.pushedConstructor=true;if(d.hasInstanceDescriptors||d.hasStaticDescriptors){pushDescriptors()}d.body.push(d.construct);pushInheritsToBody()}function pushInheritsToBody(){if(!d.isDerived||d.pushedInherits)return;const t=e.scope.generateUidIdentifier("super");setState({pushedInherits:true,superFnId:t});if(!p.superIsCallableConstructor){d.body.unshift(i.types.variableDeclaration("var",[i.types.variableDeclarator(t,i.types.callExpression((0,c.default)(d.file),[i.types.cloneNode(d.classRef)]))]))}d.body.unshift(i.types.expressionStatement(i.types.callExpression(d.file.addHelper(d.isLoose?"inheritsLoose":"inherits"),[i.types.cloneNode(d.classRef),i.types.cloneNode(d.superName)])))}function extractDynamicKeys(){const{dynamicKeys:e,node:t,scope:r}=d;for(const s of t.body.body){if(!i.types.isClassMethod(s)||!s.computed)continue;if(r.isPure(s.key,true))continue;const t=r.generateUidIdentifierBasedOnNode(s.key);e.set(t.name,s.key);s.key=t}}function setupClosureParamsArgs(){const{superName:e,dynamicKeys:t}=d;const r=[];const s=[];if(d.isDerived){let t=i.types.cloneNode(e);if(d.extendsNative){t=i.types.callExpression(d.file.addHelper("wrapNativeSuper"),[t]);(0,l.default)(t)}const a=d.scope.generateUidIdentifierBasedOnNode(e);r.push(a);s.push(t);setState({superName:i.types.cloneNode(a)})}for(const[e,a]of t){r.push(i.types.identifier(e));s.push(a)}return{closureParams:r,closureArgs:s}}function classTransformer(e,t,r,s){setState({parent:e.parent,scope:e.scope,node:e.node,path:e,file:t,isLoose:s});setState({classId:d.node.id,classRef:d.node.id?i.types.identifier(d.node.id.name):d.scope.generateUidIdentifier("class"),superName:d.node.superClass,isDerived:!!d.node.superClass,constructorBody:i.types.blockStatement([])});setState({extendsNative:d.isDerived&&r.has(d.superName.name)&&!d.scope.hasBinding(d.superName.name,true)});const{classRef:a,node:n,constructorBody:o}=d;setState({construct:buildConstructor(a,o,n)});extractDynamicKeys();const{body:l}=d;const{closureParams:c,closureArgs:u}=setupClosureParamsArgs();buildBody();if(!p.noClassCalls){o.body.unshift(i.types.expressionStatement(i.types.callExpression(d.file.addHelper("classCallCheck"),[i.types.thisExpression(),i.types.cloneNode(d.classRef)])))}l.push(...d.staticPropBody.map((e=>e(i.types.cloneNode(d.classRef)))));const f=e.isInStrictMode();let y=d.classId&&l.length===1;if(y&&!f){for(const e of d.construct.params){if(!i.types.isIdentifier(e)){y=false;break}}}const g=y?l[0].body.directives:[];if(!f){g.push(i.types.directive(i.types.directiveLiteral("use strict")))}if(y){const e=i.types.toExpression(l[0]);return d.isLoose?e:createClassHelper([e])}let h=i.types.cloneNode(d.classRef);if(!d.pushedCreateClass&&!d.isLoose){h=createClassHelper([h])}l.push(i.types.returnStatement(h));const b=i.types.arrowFunctionExpression(c,i.types.blockStatement(l,g));return i.types.callExpression(b,u)}return classTransformer(e,t,r,u)}},2617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)(((e,t)=>{var r;e.assertVersion(7);const s=(r=e.assumption("setComputedProperties"))!=null?r:t.loose;const n=s?pushComputedPropsLoose:pushComputedPropsSpec;const o=(0,a.template)(`\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n `);function getValue(e){if(a.types.isObjectProperty(e)){return e.value}else if(a.types.isObjectMethod(e)){return a.types.functionExpression(null,e.params,e.body,e.generator,e.async)}}function pushAssign(e,t,r){if(t.kind==="get"&&t.kind==="set"){pushMutatorDefine(e,t)}else{r.push(a.types.expressionStatement(a.types.assignmentExpression("=",a.types.memberExpression(a.types.cloneNode(e),t.key,t.computed||a.types.isLiteral(t.key)),getValue(t))))}}function pushMutatorDefine({body:e,getMutatorId:t,scope:r},s){let n=!s.computed&&a.types.isIdentifier(s.key)?a.types.stringLiteral(s.key.name):s.key;const i=r.maybeGenerateMemoised(n);if(i){e.push(a.types.expressionStatement(a.types.assignmentExpression("=",i,n)));n=i}e.push(...o({MUTATOR_MAP_REF:t(),KEY:a.types.cloneNode(n),VALUE:getValue(s),KIND:a.types.identifier(s.kind)}))}function pushComputedPropsLoose(e){for(const t of e.computedProps){if(t.kind==="get"||t.kind==="set"){pushMutatorDefine(e,t)}else{pushAssign(a.types.cloneNode(e.objId),t,e.body)}}}function pushComputedPropsSpec(e){const{objId:t,body:r,computedProps:s,state:n}=e;for(const o of s){const i=a.types.toComputedKey(o);if(o.kind==="get"||o.kind==="set"){pushMutatorDefine(e,o)}else{if(s.length===1){return a.types.callExpression(n.addHelper("defineProperty"),[e.initPropExpression,i,getValue(o)])}else{r.push(a.types.expressionStatement(a.types.callExpression(n.addHelper("defineProperty"),[a.types.cloneNode(t),i,getValue(o)])))}}}}return{name:"transform-computed-properties",visitor:{ObjectExpression:{exit(e,t){const{node:r,parent:s,scope:o}=e;let i=false;for(const e of r.properties){i=e.computed===true;if(i)break}if(!i)return;const l=[];const c=[];let u=false;for(const e of r.properties){if(e.computed){u=true}if(u){c.push(e)}else{l.push(e)}}const p=o.generateUidIdentifierBasedOnNode(s);const d=a.types.objectExpression(l);const f=[];f.push(a.types.variableDeclaration("var",[a.types.variableDeclarator(p,d)]));let y;const getMutatorId=function(){if(!y){y=o.generateUidIdentifier("mutatorMap");f.push(a.types.variableDeclaration("var",[a.types.variableDeclarator(y,a.types.objectExpression([]))]))}return a.types.cloneNode(y)};const g=n({scope:o,objId:p,body:f,computedProps:c,initPropExpression:d,getMutatorId:getMutatorId,state:t});if(y){f.push(a.types.expressionStatement(a.types.callExpression(t.addHelper("defineEnumerableProperties"),[a.types.cloneNode(p),a.types.cloneNode(y)])))}if(g){e.replaceWith(g)}else{f.push(a.types.expressionStatement(a.types.cloneNode(p)));e.replaceWithMultiple(f)}}}}}}));t["default"]=n},1137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(6454);var a=r(8304);function unshiftForXStatementBody(e,t){e.ensureBlock();const{scope:r,node:s}=e;const n=e.get("body").scope.bindings;const o=Object.keys(n).some((e=>r.hasBinding(e)));if(o){s.body=a.types.blockStatement([...t,s.body])}else{s.body.body.unshift(...t)}}function hasArrayRest(e){return e.elements.some((e=>a.types.isRestElement(e)))}function hasObjectRest(e){return e.properties.some((e=>a.types.isRestElement(e)))}const n={};const arrayUnpackVisitor=(e,t,r)=>{if(!t.length){return}if(a.types.isIdentifier(e)&&a.types.isReferenced(e,t[t.length-1].node)&&r.bindings[e.name]){r.deopt=true;throw n}};class DestructuringTransformer{constructor(e){this.blockHoist=void 0;this.operator=void 0;this.arrayRefSet=void 0;this.nodes=void 0;this.scope=void 0;this.kind=void 0;this.iterableIsArray=void 0;this.arrayLikeIsIterable=void 0;this.objectRestNoSymbols=void 0;this.useBuiltIns=void 0;this.addHelper=void 0;this.blockHoist=e.blockHoist;this.operator=e.operator;this.arrayRefSet=new Set;this.nodes=e.nodes||[];this.scope=e.scope;this.kind=e.kind;this.iterableIsArray=e.iterableIsArray;this.arrayLikeIsIterable=e.arrayLikeIsIterable;this.objectRestNoSymbols=e.objectRestNoSymbols;this.useBuiltIns=e.useBuiltIns;this.addHelper=e.addHelper}getExtendsHelper(){return this.useBuiltIns?a.types.memberExpression(a.types.identifier("Object"),a.types.identifier("assign")):this.addHelper("extends")}buildVariableAssignment(e,t){let r=this.operator;if(a.types.isMemberExpression(e))r="=";let s;if(r){s=a.types.expressionStatement(a.types.assignmentExpression(r,e,a.types.cloneNode(t)||this.scope.buildUndefinedNode()))}else{let r;if(this.kind==="const"&&t===null){r=this.scope.buildUndefinedNode()}else{r=a.types.cloneNode(t)}s=a.types.variableDeclaration(this.kind,[a.types.variableDeclarator(e,r)])}s._blockHoist=this.blockHoist;return s}buildVariableDeclaration(e,t){const r=a.types.variableDeclaration("var",[a.types.variableDeclarator(a.types.cloneNode(e),a.types.cloneNode(t))]);r._blockHoist=this.blockHoist;return r}push(e,t){const r=a.types.cloneNode(t);if(a.types.isObjectPattern(e)){this.pushObjectPattern(e,r)}else if(a.types.isArrayPattern(e)){this.pushArrayPattern(e,r)}else if(a.types.isAssignmentPattern(e)){this.pushAssignmentPattern(e,r)}else{this.nodes.push(this.buildVariableAssignment(e,r))}}toArray(e,t){if(this.iterableIsArray||a.types.isIdentifier(e)&&this.arrayRefSet.has(e.name)){return e}else{return this.scope.toArray(e,t,this.arrayLikeIsIterable)}}pushAssignmentPattern({left:e,right:t},r){if(r===null){this.push(e,t);return}const s=this.scope.generateUidIdentifierBasedOnNode(r);this.nodes.push(this.buildVariableDeclaration(s,r));const n=a.types.conditionalExpression(a.types.binaryExpression("===",a.types.cloneNode(s),this.scope.buildUndefinedNode()),t,a.types.cloneNode(s));if(a.types.isPattern(e)){let t;let r;if(this.kind==="const"||this.kind==="let"){t=this.scope.generateUidIdentifier(s.name);r=this.buildVariableDeclaration(t,n)}else{t=s;r=a.types.expressionStatement(a.types.assignmentExpression("=",a.types.cloneNode(s),n))}this.nodes.push(r);this.push(e,t)}else{this.nodes.push(this.buildVariableAssignment(e,n))}}pushObjectRest(e,t,r,s){const a=buildObjectExcludingKeys(e.properties.slice(0,s),t,this.scope,(e=>this.addHelper(e)),this.objectRestNoSymbols,this.useBuiltIns);this.nodes.push(this.buildVariableAssignment(r.argument,a))}pushObjectProperty(e,t){if(a.types.isLiteral(e.key))e.computed=true;const r=e.value;const s=a.types.memberExpression(a.types.cloneNode(t),e.key,e.computed);if(a.types.isPattern(r)){this.push(r,s)}else{this.nodes.push(this.buildVariableAssignment(r,s))}}pushObjectPattern(e,t){if(!e.properties.length||t===null){this.nodes.push(a.types.expressionStatement(a.types.callExpression(this.addHelper("objectDestructuringEmpty"),t!==null?[t]:[])));return}if(e.properties.length>1&&!this.scope.isStatic(t)){const e=this.scope.generateUidIdentifierBasedOnNode(t);this.nodes.push(this.buildVariableDeclaration(e,t));t=e}if(hasObjectRest(e)){let t;for(let r=0;r<e.properties.length;r++){const s=e.properties[r];if(a.types.isRestElement(s)){break}const n=s.key;if(s.computed&&!this.scope.isPure(n)){const s=this.scope.generateUidIdentifierBasedOnNode(n);this.nodes.push(this.buildVariableDeclaration(s,n));if(!t){t=e=Object.assign({},e,{properties:e.properties.slice()})}t.properties[r]=Object.assign({},t.properties[r],{key:s})}}}for(let r=0;r<e.properties.length;r++){const s=e.properties[r];if(a.types.isRestElement(s)){this.pushObjectRest(e,t,s,r)}else{this.pushObjectProperty(s,t)}}}canUnpackArrayPattern(e,t){if(!a.types.isArrayExpression(t))return false;if(e.elements.length>t.elements.length)return;if(e.elements.length<t.elements.length&&!hasArrayRest(e)){return false}for(const t of e.elements){if(!t)return false;if(a.types.isMemberExpression(t))return false}for(const e of t.elements){if(a.types.isSpreadElement(e))return false;if(a.types.isCallExpression(e))return false;if(a.types.isMemberExpression(e))return false}const r=a.types.getBindingIdentifiers(e);const s={deopt:false,bindings:r};try{a.types.traverse(t,arrayUnpackVisitor,s)}catch(e){if(e!==n)throw e}return!s.deopt}pushUnpackedArrayPattern(e,t){for(let r=0;r<e.elements.length;r++){const s=e.elements[r];if(a.types.isRestElement(s)){this.push(s.argument,a.types.arrayExpression(t.elements.slice(r)))}else{this.push(s,t.elements[r])}}}pushArrayPattern(e,t){if(t===null){this.nodes.push(a.types.expressionStatement(a.types.callExpression(this.addHelper("objectDestructuringEmpty"),[])));return}if(!e.elements)return;if(this.canUnpackArrayPattern(e,t)){return this.pushUnpackedArrayPattern(e,t)}const r=!hasArrayRest(e)&&e.elements.length;const s=this.toArray(t,r);if(a.types.isIdentifier(s)){t=s}else{t=this.scope.generateUidIdentifierBasedOnNode(t);this.arrayRefSet.add(t.name);this.nodes.push(this.buildVariableDeclaration(t,s))}for(let r=0;r<e.elements.length;r++){const s=e.elements[r];if(!s)continue;let n;if(a.types.isRestElement(s)){n=this.toArray(t);n=a.types.callExpression(a.types.memberExpression(n,a.types.identifier("slice")),[a.types.numericLiteral(r)]);this.push(s.argument,n)}else{n=a.types.memberExpression(t,a.types.numericLiteral(r),true);this.push(s,n)}}}init(e,t){if(!a.types.isArrayExpression(t)&&!a.types.isMemberExpression(t)){const e=this.scope.maybeGenerateMemoised(t,true);if(e){this.nodes.push(this.buildVariableDeclaration(e,a.types.cloneNode(t)));t=e}}this.push(e,t);return this.nodes}}function buildObjectExcludingKeys(e,t,r,s,n,o){const i=[];let l=true;let c=false;for(let t=0;t<e.length;t++){const r=e[t];const s=r.key;if(a.types.isIdentifier(s)&&!r.computed){i.push(a.types.stringLiteral(s.name))}else if(a.types.isTemplateLiteral(s)){i.push(a.types.cloneNode(s));c=true}else if(a.types.isLiteral(s)){i.push(a.types.stringLiteral(String(s.value)))}else if(a.types.isPrivateName(s));else{i.push(a.types.cloneNode(s));l=false}}let u;if(i.length===0){const e=o?a.types.memberExpression(a.types.identifier("Object"),a.types.identifier("assign")):s("extends");u=a.types.callExpression(e,[a.types.objectExpression([]),a.types.cloneNode(t)])}else{let e=a.types.arrayExpression(i);if(!l){e=a.types.callExpression(a.types.memberExpression(e,a.types.identifier("map")),[s("toPropertyKey")])}else if(!c&&!a.types.isProgram(r.block)){const t=r.getProgramParent();const s=t.generateUidIdentifier("excluded");t.push({id:s,init:e,kind:"const"});e=a.types.cloneNode(s)}u=a.types.callExpression(s(`objectWithoutProperties${n?"Loose":""}`),[a.types.cloneNode(t),e])}return u}function convertVariableDeclaration(e,t,r,s,n,o){const{node:i,scope:l}=e;const c=i.kind;const u=i.loc;const p=[];for(let e=0;e<i.declarations.length;e++){const c=i.declarations[e];const u=c.init;const d=c.id;const f=new DestructuringTransformer({blockHoist:i._blockHoist,nodes:p,scope:l,kind:i.kind,iterableIsArray:s,arrayLikeIsIterable:r,useBuiltIns:o,objectRestNoSymbols:n,addHelper:t});if(a.types.isPattern(d)){f.init(d,u);if(+e!==i.declarations.length-1){a.types.inherits(p[p.length-1],c)}}else{p.push(a.types.inherits(f.buildVariableAssignment(d,u),c))}}let d=null;const f=[];for(const e of p){if(d!==null&&a.types.isVariableDeclaration(e)){d.declarations.push(...e.declarations)}else{e.kind=c;if(!e.loc){e.loc=u}f.push(e);d=a.types.isVariableDeclaration(e)?e:null}}if(f.length===1){e.replaceWith(f[0])}else{e.replaceWithMultiple(f)}l.crawl()}function convertAssignmentExpression(e,t,r,s,n,o){const{node:i,scope:l,parentPath:c}=e;const u=[];const p=new DestructuringTransformer({operator:i.operator,scope:l,nodes:u,arrayLikeIsIterable:r,iterableIsArray:s,objectRestNoSymbols:n,useBuiltIns:o,addHelper:t});let d;if(!c.isExpressionStatement()&&!c.isSequenceExpression()||e.isCompletionRecord()){d=l.generateUidIdentifierBasedOnNode(i.right,"ref");u.push(a.types.variableDeclaration("var",[a.types.variableDeclarator(d,i.right)]));if(a.types.isArrayExpression(i.right)){p.arrayRefSet.add(d.name)}}p.init(i.left,d||i.right);if(d){if(c.isArrowFunctionExpression()){e.replaceWith(a.types.blockStatement([]));u.push(a.types.returnStatement(a.types.cloneNode(d)))}else{u.push(a.types.expressionStatement(a.types.cloneNode(d)))}}e.replaceWithMultiple(u);l.crawl()}function variableDeclarationHasPattern(e){for(const t of e.declarations){if(a.types.isPattern(t.id)){return true}}return false}var o=s.declare(((e,t)=>{var r,s,n,o,i,l;e.assertVersion(7);const{useBuiltIns:c=false}=t;const u=(r=(s=e.assumption("iterableIsArray"))!=null?s:t.loose)!=null?r:false;const p=(n=(o=t.allowArrayLike)!=null?o:e.assumption("arrayLikeIsIterable"))!=null?n:false;const d=(i=(l=e.assumption("objectRestNoSymbols"))!=null?l:t.loose)!=null?i:false;return{name:"transform-destructuring",visitor:{ExportNamedDeclaration(e){const t=e.get("declaration");if(!t.isVariableDeclaration())return;if(!variableDeclarationHasPattern(t.node))return;const r=[];for(const t of Object.keys(e.getOuterBindingIdentifiers())){r.push(a.types.exportSpecifier(a.types.identifier(t),a.types.identifier(t)))}e.replaceWith(t.node);e.insertAfter(a.types.exportNamedDeclaration(null,r));e.scope.crawl()},ForXStatement(e){const{node:t,scope:r}=e;const s=t.left;if(a.types.isPattern(s)){const n=r.generateUidIdentifier("ref");t.left=a.types.variableDeclaration("var",[a.types.variableDeclarator(n)]);e.ensureBlock();const o=t.body.body;const i=[];if(o.length===0&&e.isCompletionRecord()){i.unshift(a.types.expressionStatement(r.buildUndefinedNode()))}i.unshift(a.types.expressionStatement(a.types.assignmentExpression("=",s,a.types.cloneNode(n))));unshiftForXStatementBody(e,i);r.crawl();return}if(!a.types.isVariableDeclaration(s))return;const n=s.declarations[0].id;if(!a.types.isPattern(n))return;const o=r.generateUidIdentifier("ref");t.left=a.types.variableDeclaration(s.kind,[a.types.variableDeclarator(o,null)]);const i=[];const l=new DestructuringTransformer({kind:s.kind,scope:r,nodes:i,arrayLikeIsIterable:p,iterableIsArray:u,objectRestNoSymbols:d,useBuiltIns:c,addHelper:e=>this.addHelper(e)});l.init(n,o);unshiftForXStatementBody(e,i);r.crawl()},CatchClause({node:e,scope:t}){const r=e.param;if(!a.types.isPattern(r))return;const s=t.generateUidIdentifier("ref");e.param=s;const n=[];const o=new DestructuringTransformer({kind:"let",scope:t,nodes:n,arrayLikeIsIterable:p,iterableIsArray:u,objectRestNoSymbols:d,useBuiltIns:c,addHelper:e=>this.addHelper(e)});o.init(r,s);e.body.body=n.concat(e.body.body);t.crawl()},AssignmentExpression(e,t){if(!a.types.isPattern(e.node.left))return;convertAssignmentExpression(e,(e=>t.addHelper(e)),p,u,d,c)},VariableDeclaration(e,t){const{node:r,parent:s}=e;if(a.types.isForXStatement(s))return;if(!s||!e.container)return;if(!variableDeclarationHasPattern(r))return;convertVariableDeclaration(e,(e=>t.addHelper(e)),p,u,d,c)}}}}));t.buildObjectExcludingKeys=buildObjectExcludingKeys;t["default"]=o;t.unshiftForXStatementBody=unshiftForXStatementBody},3644:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(2449);var a=r(6454);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"transform-dotall-regex",feature:"dotAllFlag"})}));t["default"]=n},162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);function getName(e){if(a.types.isIdentifier(e)){return e.name}return e.value.toString()}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-duplicate-keys",visitor:{ObjectExpression(e){const{node:t}=e;const r=t.properties.filter((e=>!a.types.isSpreadElement(e)&&!e.computed));const s=Object.create(null);const n=Object.create(null);const o=Object.create(null);for(const e of r){const t=getName(e.key);let r=false;switch(e.kind){case"get":if(s[t]||n[t]){r=true}n[t]=true;break;case"set":if(s[t]||o[t]){r=true}o[t]=true;break;default:if(s[t]||n[t]||o[t]){r=true}s[t]=true}if(r){e.computed=true;e.key=a.types.stringLiteral(t)}}}}}}));t["default"]=n},7901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(6825);var n=r(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-exponentiation-operator",visitor:(0,a.default)({operator:"**",build(e,t){return n.types.callExpression(n.types.memberExpression(n.types.identifier("Math"),n.types.identifier("pow")),[e,t])}})}}));t["default"]=o},7662:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=r(9490);function buildLoopBody(e,t,r){let s;const n=e.get("body");const o=r!=null?r:n.node;if(a.types.isBlockStatement(o)&&Object.keys(e.getBindingIdentifiers()).some((e=>n.scope.hasOwnBinding(e)))){s=a.types.blockStatement([t,o])}else{s=a.types.toBlock(o);s.body.unshift(t)}return s}var o=(0,s.declare)(((e,t)=>{var r,s,o;e.assertVersion(7);{const{assumeArray:r,allowArrayLike:s,loose:a}=t;if(a===true&&r===true){throw new Error(`The loose and assumeArray options cannot be used together in @babel/plugin-transform-for-of`)}if(r===true&&s===true){throw new Error(`The assumeArray and allowArrayLike options cannot be used together in @babel/plugin-transform-for-of`)}if(s&&/^7\.\d\./.test(e.version)){throw new Error(`The allowArrayLike is only supported when using @babel/core@^7.10.0`)}}const i=(r=t.assumeArray)!=null?r:!t.loose&&e.assumption("iterableIsArray");const l=(s=t.allowArrayLike)!=null?s:e.assumption("arrayLikeIsIterable");const c=(o=e.assumption("skipForOfIteratorClosing"))!=null?o:t.loose;if(i&&l){throw new Error(`The "iterableIsArray" and "arrayLikeIsIterable" assumptions are not compatible.`)}if(i){return{name:"transform-for-of",visitor:{ForOfStatement(e){const{scope:t}=e;const{left:r,right:s,await:n}=e.node;if(n){return}const o=t.generateUidIdentifier("i");let i=t.maybeGenerateMemoised(s,true);const l=[a.types.variableDeclarator(o,a.types.numericLiteral(0))];if(i){l.push(a.types.variableDeclarator(i,s))}else{i=s}const c=a.types.memberExpression(a.types.cloneNode(i),a.types.cloneNode(o),true);let u;if(a.types.isVariableDeclaration(r)){u=r;u.declarations[0].init=c}else{u=a.types.expressionStatement(a.types.assignmentExpression("=",r,c))}e.replaceWith(a.types.forStatement(a.types.variableDeclaration("let",l),a.types.binaryExpression("<",a.types.cloneNode(o),a.types.memberExpression(a.types.cloneNode(i),a.types.identifier("length"))),a.types.updateExpression("++",a.types.cloneNode(o)),buildLoopBody(e,u)))}}}}const u=(0,a.template)` + `;r=e.params;t=e.body}else{r=[];t=i.types.blockStatement([])}e.unshiftContainer("body",i.types.classMethod("constructor",i.types.identifier("constructor"),r,t))}function buildBody(){maybeCreateConstructor();pushBody();verifyConstructor();if(f.userConstructor){const{constructorBody:e,userConstructor:r,construct:t}=f;e.body.push(...r.body.body);i.types.inherits(t,r);i.types.inherits(e,r.body)}pushDescriptors()}function pushBody(){const e=f.path.get("body.body");for(const r of e){const e=r.node;if(r.isClassProperty()){throw r.buildCodeFrameError("Missing class properties transform.")}if(e.decorators){throw r.buildCodeFrameError("Method has decorators, put the decorator plugin before the classes one.")}if(i.types.isClassMethod(e)){const t=e.kind==="constructor";const s=new a.default({methodPath:r,objectRef:f.classRef,superRef:f.superName,constantSuper:u.constantSuper,file:f.file,refToPreserve:f.classRef});s.replace();const o=[];r.traverse(i.traverse.visitors.merge([n.default,{ReturnStatement(e){if(!e.getFunctionParent().isArrowFunctionExpression()){o.push(e)}}}]));if(t){pushConstructor(o,e,r)}else{pushMethod(e,r)}}}}function pushDescriptors(){pushInheritsToBody();const{body:e}=f;const r={instance:null,static:null};for(const e of["static","instance"]){if(f.methods[e].list.length){r[e]=f.methods[e].list.map((e=>{const r=i.types.objectExpression([i.types.objectProperty(i.types.identifier("key"),e.key)]);for(const t of["get","set","value"]){if(e[t]!=null){r.properties.push(i.types.objectProperty(i.types.identifier(t),e[t]))}}return r}))}}if(r.instance||r.static){let t=[i.types.cloneNode(f.classRef),r.instance?i.types.arrayExpression(r.instance):i.types.nullLiteral(),r.static?i.types.arrayExpression(r.static):i.types.nullLiteral()];let s=0;for(let e=0;e<t.length;e++){if(!i.types.isNullLiteral(t[e]))s=e}t=t.slice(0,s+1);e.push(i.types.expressionStatement(createClassHelper(t)));f.pushedCreateClass=true}}function wrapSuperCall(e,r,t,s){const a=e.node;let n;if(u.superIsCallableConstructor){a.arguments.unshift(i.types.thisExpression());if(a.arguments.length===2&&i.types.isSpreadElement(a.arguments[1])&&i.types.isIdentifier(a.arguments[1].argument,{name:"arguments"})){a.arguments[1]=a.arguments[1].argument;a.callee=i.types.memberExpression(i.types.cloneNode(r),i.types.identifier("apply"))}else{a.callee=i.types.memberExpression(i.types.cloneNode(r),i.types.identifier("call"))}n=i.types.logicalExpression("||",a,i.types.thisExpression())}else{n=(0,o.default)(i.types.cloneNode(f.superFnId),i.types.thisExpression(),a.arguments,false)}if(e.parentPath.isExpressionStatement()&&e.parentPath.container===s.node.body&&s.node.body.length-1===e.parentPath.key){if(f.superThises.length){n=i.types.assignmentExpression("=",t(),n)}e.parentPath.replaceWith(i.types.returnStatement(n))}else{e.replaceWith(i.types.assignmentExpression("=",t(),n))}}function verifyConstructor(){if(!f.isDerived)return;const e=f.userConstructorPath;const r=e.get("body");e.traverse(y);let thisRef=function(){const r=e.scope.generateDeclaredUidIdentifier("this");thisRef=()=>i.types.cloneNode(r);return r};for(const e of f.superThises){const{node:r,parentPath:t}=e;if(t.isMemberExpression({object:r})){e.replaceWith(thisRef());continue}e.replaceWith(i.types.callExpression(f.file.addHelper("assertThisInitialized"),[thisRef()]))}const t=[];e.traverse(i.traverse.visitors.merge([n.default,{Super(e){const{node:r,parentPath:s}=e;if(s.isCallExpression({callee:r})){t.unshift(s)}}}]));let s=!!t.length;for(const a of t){wrapSuperCall(a,f.superName,thisRef,r);if(s){a.find((function(r){if(r===e){return true}if(r.isLoop()||r.isConditional()||r.isArrowFunctionExpression()){s=false;return true}}))}}let a;if(f.isLoose){a=e=>{const r=i.types.callExpression(f.file.addHelper("assertThisInitialized"),[thisRef()]);return e?i.types.logicalExpression("||",e,r):r}}else{a=e=>{const r=[thisRef()];if(e!=null){r.push(e)}return i.types.callExpression(f.file.addHelper("possibleConstructorReturn"),r)}}const o=r.get("body");if(!o.length||!o.pop().isReturnStatement()){r.pushContainer("body",i.types.returnStatement(s?thisRef():a()))}for(const e of f.superReturns){e.get("argument").replaceWith(a(e.node.argument))}}function pushMethod(e,r){const t=r?r.scope:f.scope;if(e.kind==="method"){if(processMethod(e,t))return}const a=e.static?"static":"instance";const n=f.methods[a];const o=e.kind==="method"?"value":e.kind;const l=i.types.isNumericLiteral(e.key)||i.types.isBigIntLiteral(e.key)?i.types.stringLiteral(String(e.key.value)):i.types.toComputedKey(e);let c=i.types.toExpression(e);if(i.types.isStringLiteral(l)){if(e.kind==="method"){var d;c=(d=(0,s.default)({id:l,node:e,scope:t},undefined,p))!=null?d:c}}else{n.hasComputed=true}let u;if(!n.hasComputed&&n.map.has(l.value)){u=n.map.get(l.value);u[o]=c;if(o==="value"){u.get=null;u.set=null}else{u.value=null}}else{u={key:l,[o]:c};n.list.push(u);if(!n.hasComputed){n.map.set(l.value,u)}}}function processMethod(e,r){if(u.setClassMethods&&!e.decorators){let{classRef:a}=f;if(!e.static){insertProtoAliasOnce();a=f.protoAlias}const n=i.types.memberExpression(i.types.cloneNode(a),e.key,e.computed||i.types.isLiteral(e.key));let o=i.types.functionExpression(null,e.params,e.body,e.generator,e.async);i.types.inherits(o,e);const l=i.types.toComputedKey(e,e.key);if(i.types.isStringLiteral(l)){var t;o=(t=(0,s.default)({node:o,id:l,scope:r},undefined,p))!=null?t:o}const c=i.types.expressionStatement(i.types.assignmentExpression("=",n,o));i.types.inheritsComments(c,e);f.body.push(c);return true}return false}function insertProtoAliasOnce(){if(f.protoAlias===null){setState({protoAlias:f.scope.generateUidIdentifier("proto")});const e=i.types.memberExpression(f.classRef,i.types.identifier("prototype"));const r=i.types.variableDeclaration("var",[i.types.variableDeclarator(f.protoAlias,e)]);f.body.push(r)}}function pushConstructor(e,r,t){setState({userConstructorPath:t,userConstructor:r,hasConstructor:true,superReturns:e});const{construct:s}=f;i.types.inheritsComments(s,r);s.params=r.params;i.types.inherits(s.body,r.body);s.body.directives=r.body.directives;pushConstructorToBody()}function pushConstructorToBody(){if(f.pushedConstructor)return;f.pushedConstructor=true;if(f.hasInstanceDescriptors||f.hasStaticDescriptors){pushDescriptors()}f.body.push(f.construct);pushInheritsToBody()}function pushInheritsToBody(){if(!f.isDerived||f.pushedInherits)return;const r=e.scope.generateUidIdentifier("super");setState({pushedInherits:true,superFnId:r});if(!u.superIsCallableConstructor){f.body.unshift(i.types.variableDeclaration("var",[i.types.variableDeclarator(r,i.types.callExpression((0,c.default)(f.file),[i.types.cloneNode(f.classRef)]))]))}f.body.unshift(i.types.expressionStatement(i.types.callExpression(f.file.addHelper(f.isLoose?"inheritsLoose":"inherits"),[i.types.cloneNode(f.classRef),i.types.cloneNode(f.superName)])))}function extractDynamicKeys(){const{dynamicKeys:e,node:r,scope:t}=f;for(const s of r.body.body){if(!i.types.isClassMethod(s)||!s.computed)continue;if(t.isPure(s.key,true))continue;const r=t.generateUidIdentifierBasedOnNode(s.key);e.set(r.name,s.key);s.key=r}}function setupClosureParamsArgs(){const{superName:e,dynamicKeys:r}=f;const t=[];const s=[];if(f.isDerived){let r=i.types.cloneNode(e);if(f.extendsNative){r=i.types.callExpression(f.file.addHelper("wrapNativeSuper"),[r]);(0,l.default)(r)}const a=f.scope.generateUidIdentifierBasedOnNode(e);t.push(a);s.push(r);setState({superName:i.types.cloneNode(a)})}for(const[e,a]of r){t.push(i.types.identifier(e));s.push(a)}return{closureParams:t,closureArgs:s}}function classTransformer(e,r,t,s){setState({parent:e.parent,scope:e.scope,node:e.node,path:e,file:r,isLoose:s});setState({classId:f.node.id,classRef:f.node.id?i.types.identifier(f.node.id.name):f.scope.generateUidIdentifier("class"),superName:f.node.superClass,isDerived:!!f.node.superClass,constructorBody:i.types.blockStatement([])});setState({extendsNative:i.types.isIdentifier(f.superName)&&t.has(f.superName.name)&&!f.scope.hasBinding(f.superName.name,true)});const{classRef:a,node:n,constructorBody:o}=f;setState({construct:buildConstructor(a,o,n)});extractDynamicKeys();const{body:l}=f;const{closureParams:c,closureArgs:d}=setupClosureParamsArgs();buildBody();if(!u.noClassCalls){o.body.unshift(i.types.expressionStatement(i.types.callExpression(f.file.addHelper("classCallCheck"),[i.types.thisExpression(),i.types.cloneNode(f.classRef)])))}const p=e.isInStrictMode();let y=f.classId&&l.length===1;if(y&&!p){for(const e of f.construct.params){if(!i.types.isIdentifier(e)){y=false;break}}}const g=y?l[0].body.directives:[];if(!p){g.push(i.types.directive(i.types.directiveLiteral("use strict")))}if(y){const e=i.types.toExpression(l[0]);return f.isLoose?e:createClassHelper([e])}let h=i.types.cloneNode(f.classRef);if(!f.pushedCreateClass&&!f.isLoose){h=createClassHelper([h])}l.push(i.types.returnStatement(h));const b=i.types.arrowFunctionExpression(c,i.types.blockStatement(l,g));return i.types.callExpression(b,d)}return classTransformer(e,r,t,d)}},3051:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8304);var a=t(5389);var n=t(9128);{var o=n.default.expression.ast` + function (type, obj, key, fn) { + var desc = { configurable: true, enumerable: true }; + desc[type] = fn; + return Object.defineProperty(obj, key, desc); + } + `;o._compact=true}var i=(0,a.declare)(((e,r)=>{var t;e.assertVersion(7);const a=(t=e.assumption("setComputedProperties"))!=null?t:r.loose;const n=a?pushComputedPropsLoose:pushComputedPropsSpec;function buildDefineAccessor(e,r,t,a,n){{let i;if(e.availableHelper("defineAccessor")){i=e.addHelper("defineAccessor")}else{const r=e.file;i=r.get("fallbackDefineAccessorHelper");if(!i){const e=r.scope.generateUidIdentifier("defineAccessor");r.scope.push({id:e,init:o});r.set("fallbackDefineAccessorHelper",i=e)}i=s.types.cloneNode(i)}return s.types.callExpression(i,[s.types.stringLiteral(r),t,a,n])}}function getValue(e){if(s.types.isObjectProperty(e)){return e.value}else if(s.types.isObjectMethod(e)){return s.types.functionExpression(null,e.params,e.body,e.generator,e.async)}}function pushAssign(e,r,t){t.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.memberExpression(s.types.cloneNode(e),r.key,r.computed||s.types.isLiteral(r.key)),getValue(r))))}function pushAccessorDefine({body:e,computedProps:r,initPropExpression:t,objId:a,state:n},o){const i=o.kind;const l=!o.computed&&s.types.isIdentifier(o.key)?s.types.stringLiteral(o.key.name):o.key;const c=getValue(o);if(r.length===1){return buildDefineAccessor(n,i,t,l,c)}else{e.push(s.types.expressionStatement(buildDefineAccessor(n,i,s.types.cloneNode(a),l,c)))}}function pushComputedPropsLoose(e){for(const r of e.computedProps){if(s.types.isObjectMethod(r)&&(r.kind==="get"||r.kind==="set")){const t=pushAccessorDefine(e,r);if(t)return t}else{pushAssign(s.types.cloneNode(e.objId),r,e.body)}}}function pushComputedPropsSpec(e){const{objId:r,body:t,computedProps:a,state:n}=e;for(const o of a){const i=s.types.toComputedKey(o);if(s.types.isObjectMethod(o)&&(o.kind==="get"||o.kind==="set")){const r=pushAccessorDefine(e,o);if(r)return r}else{const l=getValue(o);if(a.length===1){return s.types.callExpression(n.addHelper("defineProperty"),[e.initPropExpression,i,l])}else{t.push(s.types.expressionStatement(s.types.callExpression(n.addHelper("defineProperty"),[s.types.cloneNode(r),i,l])))}}}}return{name:"transform-computed-properties",visitor:{ObjectExpression:{exit(e,r){const{node:t,parent:a,scope:o}=e;let i=false;for(const e of t.properties){i=e.computed===true;if(i)break}if(!i)return;const l=[];const c=[];let d=false;for(const e of t.properties){if(s.types.isSpreadElement(e)){continue}if(e.computed){d=true}if(d){c.push(e)}else{l.push(e)}}const u=o.generateUidIdentifierBasedOnNode(a);const p=s.types.objectExpression(l);const f=[];f.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(u,p)]));const y=n({scope:o,objId:u,body:f,computedProps:c,initPropExpression:p,state:r});if(y){e.replaceWith(y)}else{f.push(s.types.expressionStatement(s.types.cloneNode(u)));e.replaceWithMultiple(f)}}}}}}));r["default"]=i},3675:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(8304);function isPureVoid(e){return a.types.isUnaryExpression(e)&&e.operator==="void"&&a.types.isPureish(e.argument)}function unshiftForXStatementBody(e,r){e.ensureBlock();const{scope:t,node:s}=e;const n=e.get("body").scope.bindings;const o=Object.keys(n).some((e=>t.hasBinding(e)));if(o){s.body=a.types.blockStatement([...r,s.body])}else{s.body.body.unshift(...r)}}function hasArrayRest(e){return e.elements.some((e=>a.types.isRestElement(e)))}function hasObjectRest(e){return e.properties.some((e=>a.types.isRestElement(e)))}const n={};const arrayUnpackVisitor=(e,r,t)=>{if(!r.length){return}if(a.types.isIdentifier(e)&&a.types.isReferenced(e,r[r.length-1].node)&&t.bindings[e.name]){t.deopt=true;throw n}};class DestructuringTransformer{constructor(e){this.blockHoist=void 0;this.operator=void 0;this.arrayRefSet=void 0;this.nodes=void 0;this.scope=void 0;this.kind=void 0;this.iterableIsArray=void 0;this.arrayLikeIsIterable=void 0;this.objectRestNoSymbols=void 0;this.useBuiltIns=void 0;this.addHelper=void 0;this.blockHoist=e.blockHoist;this.operator=e.operator;this.arrayRefSet=new Set;this.nodes=e.nodes||[];this.scope=e.scope;this.kind=e.kind;this.iterableIsArray=e.iterableIsArray;this.arrayLikeIsIterable=e.arrayLikeIsIterable;this.objectRestNoSymbols=e.objectRestNoSymbols;this.useBuiltIns=e.useBuiltIns;this.addHelper=e.addHelper}getExtendsHelper(){return this.useBuiltIns?a.types.memberExpression(a.types.identifier("Object"),a.types.identifier("assign")):this.addHelper("extends")}buildVariableAssignment(e,r){let t=this.operator;if(a.types.isMemberExpression(e)||a.types.isOptionalMemberExpression(e))t="=";let s;if(t){s=a.types.expressionStatement(a.types.assignmentExpression(t,e,a.types.cloneNode(r)||this.scope.buildUndefinedNode()))}else{let t;if((this.kind==="const"||this.kind==="using")&&r===null){t=this.scope.buildUndefinedNode()}else{t=a.types.cloneNode(r)}s=a.types.variableDeclaration(this.kind,[a.types.variableDeclarator(e,t)])}s._blockHoist=this.blockHoist;return s}buildVariableDeclaration(e,r){const t=a.types.variableDeclaration("var",[a.types.variableDeclarator(a.types.cloneNode(e),a.types.cloneNode(r))]);t._blockHoist=this.blockHoist;return t}push(e,r){const t=a.types.cloneNode(r);if(a.types.isObjectPattern(e)){this.pushObjectPattern(e,t)}else if(a.types.isArrayPattern(e)){this.pushArrayPattern(e,t)}else if(a.types.isAssignmentPattern(e)){this.pushAssignmentPattern(e,t)}else{this.nodes.push(this.buildVariableAssignment(e,t))}}toArray(e,r){if(this.iterableIsArray||a.types.isIdentifier(e)&&this.arrayRefSet.has(e.name)){return e}else{return this.scope.toArray(e,r,this.arrayLikeIsIterable)}}pushAssignmentPattern({left:e,right:r},t){if(isPureVoid(t)){this.push(e,r);return}const s=this.scope.generateUidIdentifierBasedOnNode(t);this.nodes.push(this.buildVariableDeclaration(s,t));const n=a.types.conditionalExpression(a.types.binaryExpression("===",a.types.cloneNode(s),this.scope.buildUndefinedNode()),r,a.types.cloneNode(s));if(a.types.isPattern(e)){let r;let t;if(this.kind==="const"||this.kind==="let"||this.kind==="using"){r=this.scope.generateUidIdentifier(s.name);t=this.buildVariableDeclaration(r,n)}else{r=s;t=a.types.expressionStatement(a.types.assignmentExpression("=",a.types.cloneNode(s),n))}this.nodes.push(t);this.push(e,r)}else{this.nodes.push(this.buildVariableAssignment(e,n))}}pushObjectRest(e,r,t,s){const a=buildObjectExcludingKeys(e.properties.slice(0,s),r,this.scope,(e=>this.addHelper(e)),this.objectRestNoSymbols,this.useBuiltIns);this.nodes.push(this.buildVariableAssignment(t.argument,a))}pushObjectProperty(e,r){if(a.types.isLiteral(e.key))e.computed=true;const t=e.value;const s=a.types.memberExpression(a.types.cloneNode(r),e.key,e.computed);if(a.types.isPattern(t)){this.push(t,s)}else{this.nodes.push(this.buildVariableAssignment(t,s))}}pushObjectPattern(e,r){if(!e.properties.length){this.nodes.push(a.types.expressionStatement(a.types.callExpression(this.addHelper("objectDestructuringEmpty"),isPureVoid(r)?[]:[r])));return}if(e.properties.length>1&&!this.scope.isStatic(r)){const e=this.scope.generateUidIdentifierBasedOnNode(r);this.nodes.push(this.buildVariableDeclaration(e,r));r=e}if(hasObjectRest(e)){let r;for(let t=0;t<e.properties.length;t++){const s=e.properties[t];if(a.types.isRestElement(s)){break}const n=s.key;if(s.computed&&!this.scope.isPure(n)){const a=this.scope.generateUidIdentifierBasedOnNode(n);this.nodes.push(this.buildVariableDeclaration(a,n));if(!r){r=e=Object.assign({},e,{properties:e.properties.slice()})}r.properties[t]=Object.assign({},s,{key:a})}}}for(let t=0;t<e.properties.length;t++){const s=e.properties[t];if(a.types.isRestElement(s)){this.pushObjectRest(e,r,s,t)}else{this.pushObjectProperty(s,r)}}}canUnpackArrayPattern(e,r){if(!a.types.isArrayExpression(r))return false;if(e.elements.length>r.elements.length)return;if(e.elements.length<r.elements.length&&!hasArrayRest(e)){return false}for(const r of e.elements){if(!r)return false;if(a.types.isMemberExpression(r))return false}for(const e of r.elements){if(a.types.isSpreadElement(e))return false;if(a.types.isCallExpression(e))return false;if(a.types.isMemberExpression(e))return false}const t=a.types.getBindingIdentifiers(e);const s={deopt:false,bindings:t};try{a.types.traverse(r,arrayUnpackVisitor,s)}catch(e){if(e!==n)throw e}return!s.deopt}pushUnpackedArrayPattern(e,r){const holeToUndefined=e=>e!=null?e:this.scope.buildUndefinedNode();for(let t=0;t<e.elements.length;t++){const s=e.elements[t];if(a.types.isRestElement(s)){this.push(s.argument,a.types.arrayExpression(r.elements.slice(t).map(holeToUndefined)))}else{this.push(s,holeToUndefined(r.elements[t]))}}}pushArrayPattern(e,r){if(r===null){this.nodes.push(a.types.expressionStatement(a.types.callExpression(this.addHelper("objectDestructuringEmpty"),[])));return}if(!e.elements)return;if(this.canUnpackArrayPattern(e,r)){this.pushUnpackedArrayPattern(e,r);return}const t=!hasArrayRest(e)&&e.elements.length;const s=this.toArray(r,t);if(a.types.isIdentifier(s)){r=s}else{r=this.scope.generateUidIdentifierBasedOnNode(r);this.arrayRefSet.add(r.name);this.nodes.push(this.buildVariableDeclaration(r,s))}for(let t=0;t<e.elements.length;t++){const s=e.elements[t];if(!s)continue;let n;if(a.types.isRestElement(s)){n=this.toArray(r);n=a.types.callExpression(a.types.memberExpression(n,a.types.identifier("slice")),[a.types.numericLiteral(t)]);this.push(s.argument,n)}else{n=a.types.memberExpression(r,a.types.numericLiteral(t),true);this.push(s,n)}}}init(e,r){if(!a.types.isArrayExpression(r)&&!a.types.isMemberExpression(r)){const e=this.scope.maybeGenerateMemoised(r,true);if(e){this.nodes.push(this.buildVariableDeclaration(e,a.types.cloneNode(r)));r=e}}this.push(e,r);return this.nodes}}function buildObjectExcludingKeys(e,r,t,s,n,o){const i=[];let l=true;let c=false;for(let r=0;r<e.length;r++){const t=e[r];const s=t.key;if(a.types.isIdentifier(s)&&!t.computed){i.push(a.types.stringLiteral(s.name))}else if(a.types.isTemplateLiteral(s)){i.push(a.types.cloneNode(s));c=true}else if(a.types.isLiteral(s)){i.push(a.types.stringLiteral(String(s.value)))}else if(a.types.isPrivateName(s));else{i.push(a.types.cloneNode(s));l=false}}let d;if(i.length===0){const e=o?a.types.memberExpression(a.types.identifier("Object"),a.types.identifier("assign")):s("extends");d=a.types.callExpression(e,[a.types.objectExpression([]),a.types.sequenceExpression([a.types.callExpression(s("objectDestructuringEmpty"),[a.types.cloneNode(r)]),a.types.cloneNode(r)])])}else{let e=a.types.arrayExpression(i);if(!l){e=a.types.callExpression(a.types.memberExpression(e,a.types.identifier("map")),[s("toPropertyKey")])}else if(!c&&!a.types.isProgram(t.block)){const r=t.getProgramParent();const s=r.generateUidIdentifier("excluded");r.push({id:s,init:e,kind:"const"});e=a.types.cloneNode(s)}d=a.types.callExpression(s(`objectWithoutProperties${n?"Loose":""}`),[a.types.cloneNode(r),e])}return d}function convertVariableDeclaration(e,r,t,s,n,o){const{node:i,scope:l}=e;const c=i.kind;const d=i.loc;const u=[];for(let e=0;e<i.declarations.length;e++){const c=i.declarations[e];const d=c.init;const p=c.id;const f=new DestructuringTransformer({blockHoist:i._blockHoist,nodes:u,scope:l,kind:i.kind,iterableIsArray:s,arrayLikeIsIterable:t,useBuiltIns:o,objectRestNoSymbols:n,addHelper:r});if(a.types.isPattern(p)){f.init(p,d);if(+e!==i.declarations.length-1){a.types.inherits(u[u.length-1],c)}}else{u.push(a.types.inherits(f.buildVariableAssignment(p,d),c))}}let p=null;let f=[];for(const e of u){if(a.types.isVariableDeclaration(e)){if(p!==null){p.declarations.push(...e.declarations);continue}else{e.kind=c;p=e}}else{p=null}if(!e.loc){e.loc=d}f.push(e)}if(f.length===2&&a.types.isVariableDeclaration(f[0])&&a.types.isExpressionStatement(f[1])&&a.types.isCallExpression(f[1].expression)&&f[0].declarations.length===1){const e=f[1].expression;e.arguments=[f[0].declarations[0].init];f=[e]}else{if(a.types.isForStatement(e.parent,{init:i})&&!f.some((e=>a.types.isVariableDeclaration(e)))){for(let e=0;e<f.length;e++){const r=f[e];if(a.types.isExpressionStatement(r)){f[e]=r.expression}}}}if(f.length===1){e.replaceWith(f[0])}else{e.replaceWithMultiple(f)}l.crawl()}function convertAssignmentExpression(e,r,t,s,n,o){const{node:i,scope:l,parentPath:c}=e;const d=[];const u=new DestructuringTransformer({operator:i.operator,scope:l,nodes:d,arrayLikeIsIterable:t,iterableIsArray:s,objectRestNoSymbols:n,useBuiltIns:o,addHelper:r});let p;if(!c.isExpressionStatement()&&!c.isSequenceExpression()||e.isCompletionRecord()){p=l.generateUidIdentifierBasedOnNode(i.right,"ref");d.push(a.types.variableDeclaration("var",[a.types.variableDeclarator(p,i.right)]));if(a.types.isArrayExpression(i.right)){u.arrayRefSet.add(p.name)}}u.init(i.left,p||i.right);if(p){if(c.isArrowFunctionExpression()){e.replaceWith(a.types.blockStatement([]));d.push(a.types.returnStatement(a.types.cloneNode(p)))}else{d.push(a.types.expressionStatement(a.types.cloneNode(p)))}}e.replaceWithMultiple(d);l.crawl()}function variableDeclarationHasPattern(e){for(const r of e.declarations){if(a.types.isPattern(r.id)){return true}}return false}var o=s.declare(((e,r)=>{var t,s,n,o,i,l;e.assertVersion(7);const{useBuiltIns:c=false}=r;const d=(t=(s=e.assumption("iterableIsArray"))!=null?s:r.loose)!=null?t:false;const u=(n=(o=r.allowArrayLike)!=null?o:e.assumption("arrayLikeIsIterable"))!=null?n:false;const p=(i=(l=e.assumption("objectRestNoSymbols"))!=null?l:r.loose)!=null?i:false;return{name:"transform-destructuring",visitor:{ExportNamedDeclaration(e){const r=e.get("declaration");if(!r.isVariableDeclaration())return;if(!variableDeclarationHasPattern(r.node))return;const t=[];for(const r of Object.keys(e.getOuterBindingIdentifiers())){t.push(a.types.exportSpecifier(a.types.identifier(r),a.types.identifier(r)))}e.replaceWith(r.node);e.insertAfter(a.types.exportNamedDeclaration(null,t));e.scope.crawl()},ForXStatement(e){const{node:r,scope:t}=e;const s=r.left;if(a.types.isPattern(s)){const n=t.generateUidIdentifier("ref");r.left=a.types.variableDeclaration("var",[a.types.variableDeclarator(n)]);e.ensureBlock();const o=e.node.body.body;const i=[];if(o.length===0&&e.isCompletionRecord()){i.unshift(a.types.expressionStatement(t.buildUndefinedNode()))}i.unshift(a.types.expressionStatement(a.types.assignmentExpression("=",s,a.types.cloneNode(n))));unshiftForXStatementBody(e,i);t.crawl();return}if(!a.types.isVariableDeclaration(s))return;const n=s.declarations[0].id;if(!a.types.isPattern(n))return;const o=t.generateUidIdentifier("ref");r.left=a.types.variableDeclaration(s.kind,[a.types.variableDeclarator(o,null)]);const i=[];const l=new DestructuringTransformer({kind:s.kind,scope:t,nodes:i,arrayLikeIsIterable:u,iterableIsArray:d,objectRestNoSymbols:p,useBuiltIns:c,addHelper:e=>this.addHelper(e)});l.init(n,o);unshiftForXStatementBody(e,i);t.crawl()},CatchClause({node:e,scope:r}){const t=e.param;if(!a.types.isPattern(t))return;const s=r.generateUidIdentifier("ref");e.param=s;const n=[];const o=new DestructuringTransformer({kind:"let",scope:r,nodes:n,arrayLikeIsIterable:u,iterableIsArray:d,objectRestNoSymbols:p,useBuiltIns:c,addHelper:e=>this.addHelper(e)});o.init(t,s);e.body.body=[...n,...e.body.body];r.crawl()},AssignmentExpression(e,r){if(!a.types.isPattern(e.node.left))return;convertAssignmentExpression(e,(e=>r.addHelper(e)),u,d,p,c)},VariableDeclaration(e,r){const{node:t,parent:s}=e;if(a.types.isForXStatement(s))return;if(!s||!e.container)return;if(!variableDeclarationHasPattern(t))return;convertVariableDeclaration(e,(e=>r.addHelper(e)),u,d,p,c)}}}}));r.buildObjectExcludingKeys=buildObjectExcludingKeys;r["default"]=o;r.unshiftForXStatementBody=unshiftForXStatementBody},1985:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9626);var a=t(5389);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"transform-dotall-regex",feature:"dotAllFlag"})}));r["default"]=n},99:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);function getName(e){if(a.types.isIdentifier(e)){return e.name}return e.value.toString()}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-duplicate-keys",visitor:{ObjectExpression(e){const{node:r}=e;const t=r.properties.filter((e=>!a.types.isSpreadElement(e)&&!e.computed));const s=Object.create(null);const n=Object.create(null);const o=Object.create(null);for(const e of t){const r=getName(e.key);let t=false;switch(e.kind){case"get":if(s[r]||n[r]){t=true}n[r]=true;break;case"set":if(s[r]||o[r]){t=true}o[r]=true;break;default:if(s[r]||n[r]||o[r]){t=true}s[r]=true}if(t){e.computed=true;e.key=a.types.stringLiteral(r)}}}}}}));r["default"]=n},7422:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);const a=["commonjs","amd","systemjs"];const n=`@babel/plugin-transform-dynamic-import depends on a modules\ntransform plugin. Supported plugins are:\n - @babel/plugin-transform-modules-commonjs ^7.4.0\n - @babel/plugin-transform-modules-amd ^7.4.0\n - @babel/plugin-transform-modules-systemjs ^7.4.0\n\nIf you are using Webpack or Rollup and thus don't want\nBabel to transpile your imports and exports, you can use\nthe @babel/plugin-syntax-dynamic-import plugin and let your\nbundler handle dynamic imports.\n`;var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-dynamic-import",inherits:t(7802)["default"],pre(){this.file.set("@babel/plugin-proposal-dynamic-import","7.22.11")},visitor:{Program(){const e=this.file.get("@babel/plugin-transform-modules-*");if(!a.includes(e)){throw new Error(n)}}}}}));r["default"]=o},5427:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(5227);var n=t(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-exponentiation-operator",visitor:(0,a.default)({operator:"**",build(e,r){return n.types.callExpression(n.types.memberExpression(n.types.identifier("Math"),n.types.identifier("pow")),[e,r])}})}}));r["default"]=o},9962:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-export-namespace-from",inherits:t(301)["default"],visitor:{ExportNamedDeclaration(e){var r;const{node:t,scope:s}=e;const{specifiers:n}=t;const o=a.types.isExportDefaultSpecifier(n[0])?1:0;if(!a.types.isExportNamespaceSpecifier(n[o]))return;const i=[];if(o===1){i.push(a.types.exportNamedDeclaration(null,[n.shift()],t.source))}const l=n.shift();const{exported:c}=l;const d=s.generateUidIdentifier((r=c.name)!=null?r:c.value);i.push(a.types.importDeclaration([a.types.importNamespaceSpecifier(d)],a.types.cloneNode(t.source)),a.types.exportNamedDeclaration(null,[a.types.exportSpecifier(a.types.cloneNode(d),c)]));if(t.specifiers.length>=1){i.push(t)}const[u]=e.replaceWithMultiple(i);e.scope.registerDeclaration(u)}}}}));r["default"]=n},8644:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=t(7286);function buildLoopBody(e,r,t){let s;const n=e.get("body");const o=t!=null?t:n.node;if(a.types.isBlockStatement(o)&&Object.keys(e.getBindingIdentifiers()).some((e=>n.scope.hasOwnBinding(e)))){s=a.types.blockStatement([r,o])}else{s=a.types.toBlock(o);s.body.unshift(r)}return s}var o=(0,s.declare)(((e,r)=>{var t,s,o;e.assertVersion(7);{const{assumeArray:t,allowArrayLike:s,loose:a}=r;if(a===true&&t===true){throw new Error(`The loose and assumeArray options cannot be used together in @babel/plugin-transform-for-of`)}if(t===true&&s===true){throw new Error(`The assumeArray and allowArrayLike options cannot be used together in @babel/plugin-transform-for-of`)}{if(s&&/^7\.\d\./.test(e.version)){throw new Error(`The allowArrayLike is only supported when using @babel/core@^7.10.0`)}}}const i=(t=r.assumeArray)!=null?t:!r.loose&&e.assumption("iterableIsArray");const l=(s=r.allowArrayLike)!=null?s:e.assumption("arrayLikeIsIterable");const c=(o=e.assumption("skipForOfIteratorClosing"))!=null?o:r.loose;if(i&&l){throw new Error(`The "iterableIsArray" and "arrayLikeIsIterable" assumptions are not compatible.`)}if(i){return{name:"transform-for-of",visitor:{ForOfStatement(e){const{scope:r}=e;const{left:t,right:s,await:n}=e.node;if(n){return}const o=r.generateUidIdentifier("i");let i=r.maybeGenerateMemoised(s,true);const l=[a.types.variableDeclarator(o,a.types.numericLiteral(0))];if(i){l.push(a.types.variableDeclarator(i,s))}else{i=s}const c=a.types.memberExpression(a.types.cloneNode(i),a.types.cloneNode(o),true);let d;if(a.types.isVariableDeclaration(t)){d=t;d.declarations[0].init=c}else{d=a.types.expressionStatement(a.types.assignmentExpression("=",t,c))}e.replaceWith(a.types.forStatement(a.types.variableDeclaration("let",l),a.types.binaryExpression("<",a.types.cloneNode(o),a.types.memberExpression(a.types.cloneNode(i),a.types.identifier("length"))),a.types.updateExpression("++",a.types.cloneNode(o)),buildLoopBody(e,d)))}}}}const d=(0,a.template)` for (var KEY = 0, NAME = ARR; KEY < NAME.length; KEY++) BODY; - `;const p=a.template.statements` + `;const u=a.template.statements` for (var ITERATOR_HELPER = CREATE_ITERATOR_HELPER(OBJECT, ARRAY_LIKE_IS_ITERABLE), STEP_KEY; !(STEP_KEY = ITERATOR_HELPER()).done;) BODY; - `;const d=a.template.statements` + `;const p=a.template.statements` var ITERATOR_HELPER = CREATE_ITERATOR_HELPER(OBJECT, ARRAY_LIKE_IS_ITERABLE), STEP_KEY; try { for (ITERATOR_HELPER.s(); !(STEP_KEY = ITERATOR_HELPER.n()).done;) BODY; @@ -198,109 +333,67 @@ } finally { ITERATOR_HELPER.f(); } - `;const f=c?{build:p,helper:"createForOfIteratorHelperLoose",getContainer:e=>e}:{build:d,helper:"createForOfIteratorHelper",getContainer:e=>e[1].block.body};function _ForOfStatementArray(e){const{node:t,scope:r}=e;const s=r.generateUidIdentifierBasedOnNode(t.right,"arr");const n=r.generateUidIdentifier("i");const o=u({BODY:t.body,KEY:n,NAME:s,ARR:t.right});a.types.inherits(o,t);const i=a.types.memberExpression(a.types.cloneNode(s),a.types.cloneNode(n),true);let l;const c=t.left;if(a.types.isVariableDeclaration(c)){c.declarations[0].init=i;l=c}else{l=a.types.expressionStatement(a.types.assignmentExpression("=",c,i))}o.body=buildLoopBody(e,l,o.body);return o}return{name:"transform-for-of",visitor:{ForOfStatement(e,t){const r=e.get("right");if(r.isArrayExpression()||r.isGenericType("Array")||a.types.isArrayTypeAnnotation(r.getTypeAnnotation())){e.replaceWith(_ForOfStatementArray(e));return}if(!t.availableHelper(f.helper)){(0,n.default)(c,e,t);return}const{node:s,parent:o,scope:i}=e;const u=s.left;let p;const d=i.generateUid("step");const y=a.types.memberExpression(a.types.identifier(d),a.types.identifier("value"));if(a.types.isVariableDeclaration(u)){p=a.types.variableDeclaration(u.kind,[a.types.variableDeclarator(u.declarations[0].id,y)])}else{p=a.types.expressionStatement(a.types.assignmentExpression("=",u,y))}const g=f.build({CREATE_ITERATOR_HELPER:t.addHelper(f.helper),ITERATOR_HELPER:i.generateUidIdentifier("iterator"),ARRAY_LIKE_IS_ITERABLE:l?a.types.booleanLiteral(true):null,STEP_KEY:a.types.identifier(d),OBJECT:s.right,BODY:buildLoopBody(e,p)});const h=f.getContainer(g);a.types.inherits(h[0],s);a.types.inherits(h[0].body,s.body);if(a.types.isLabeledStatement(o)){h[0]=a.types.labeledStatement(o.label,h[0]);e.parentPath.replaceWithMultiple(g);e.skip()}else{e.replaceWithMultiple(g)}}}}}));t["default"]=o},9490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transformWithoutHelper;var s=r(8304);function transformWithoutHelper(e,t,r){const a=e?pushComputedPropsLoose:pushComputedPropsSpec;const{node:n}=t;const o=a(t,r);const i=o.declar;const l=o.loop;const c=l.body;t.ensureBlock();if(i){c.body.push(i)}c.body.push(...n.body.body);s.types.inherits(l,n);s.types.inherits(l.body,n.body);if(o.replaceParent){t.parentPath.replaceWithMultiple(o.node);t.remove()}else{t.replaceWithMultiple(o.node)}}const a=(0,s.template)(`\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n INTERMEDIATE;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n`);const n=(0,s.template)(`\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (\n var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY;\n !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done);\n ITERATOR_COMPLETION = true\n ) {}\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return != null) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n`);function pushComputedPropsLoose(e,t){const{node:r,scope:n,parent:o}=e;const{left:i}=r;let l,c,u;if(s.types.isIdentifier(i)||s.types.isPattern(i)||s.types.isMemberExpression(i)){c=i;u=null}else if(s.types.isVariableDeclaration(i)){c=n.generateUidIdentifier("ref");l=s.types.variableDeclaration(i.kind,[s.types.variableDeclarator(i.declarations[0].id,s.types.identifier(c.name))]);u=s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(c.name))])}else{throw t.buildCodeFrameError(i,`Unknown node type ${i.type} in ForStatement`)}const p=n.generateUidIdentifier("iterator");const d=n.generateUidIdentifier("isArray");const f=a({LOOP_OBJECT:p,IS_ARRAY:d,OBJECT:r.right,INDEX:n.generateUidIdentifier("i"),ID:c,INTERMEDIATE:u});const y=s.types.isLabeledStatement(o);let g;if(y){g=s.types.labeledStatement(o.label,f)}return{replaceParent:y,declar:l,node:g||f,loop:f}}function pushComputedPropsSpec(e,t){const{node:r,scope:a,parent:o}=e;const i=r.left;let l;const c=a.generateUid("step");const u=s.types.memberExpression(s.types.identifier(c),s.types.identifier("value"));if(s.types.isIdentifier(i)||s.types.isPattern(i)||s.types.isMemberExpression(i)){l=s.types.expressionStatement(s.types.assignmentExpression("=",i,u))}else if(s.types.isVariableDeclaration(i)){l=s.types.variableDeclaration(i.kind,[s.types.variableDeclarator(i.declarations[0].id,u)])}else{throw t.buildCodeFrameError(i,`Unknown node type ${i.type} in ForStatement`)}const p=n({ITERATOR_HAD_ERROR_KEY:a.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:a.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:a.generateUidIdentifier("iteratorError"),ITERATOR_KEY:a.generateUidIdentifier("iterator"),STEP_KEY:s.types.identifier(c),OBJECT:r.right});const d=s.types.isLabeledStatement(o);const f=p[3].block.body;const y=f[0];if(d){f[0]=s.types.labeledStatement(o.label,y)}return{replaceParent:d,declar:l,loop:y,node:p}}},5762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(815);var a=r(6454);var n=r(571);var o=(0,a.declare)((e=>{e.assertVersion(7);const t=!(0,s.isRequired)("transform-unicode-escapes",e.targets());return{name:"transform-function-name",visitor:{FunctionExpression:{exit(e){if(e.key!=="value"&&!e.parentPath.isObjectProperty()){const t=(0,n.default)(e);if(t)e.replaceWith(t)}}},ObjectProperty(e){const r=e.get("value");if(r.isFunction()){const e=(0,n.default)(r,false,t);if(e)r.replaceWith(e)}}}}}));t["default"]=o},2405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-literals",visitor:{NumericLiteral({node:e}){if(e.extra&&/^0[ob]/i.test(e.extra.raw)){e.extra=undefined}},StringLiteral({node:e}){if(e.extra&&/\\[u]/gi.test(e.extra.raw)){e.extra=undefined}}}}}));t["default"]=a},2884:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-member-expression-literals",visitor:{MemberExpression:{exit({node:e}){const t=e.property;if(!e.computed&&a.types.isIdentifier(t)&&!a.types.isValidES3Identifier(t.name)){e.property=a.types.stringLiteral(t.name);e.computed=true}}}}}}));t["default"]=n},9110:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(108);var n=r(8304);var o=r(9261);const i=(0,n.template)(`\n define(MODULE_NAME, AMD_ARGUMENTS, function(IMPORT_NAMES) {\n })\n`);const l=(0,n.template)(`\n define(["require"], function(REQUIRE) {\n })\n`);function injectWrapper(e,t){const{body:r,directives:s}=e.node;e.node.directives=[];e.node.body=[];const a=e.pushContainer("body",t)[0];const n=a.get("expression.arguments").filter((e=>e.isFunctionExpression()))[0].get("body");n.pushContainer("directives",s);n.pushContainer("body",r)}var c=(0,s.declare)(((e,t)=>{var r,s;e.assertVersion(7);const{allowTopLevelThis:c,strict:u,strictMode:p,importInterop:d,noInterop:f}=t;const y=(r=e.assumption("constantReexports"))!=null?r:t.loose;const g=(s=e.assumption("enumerableModuleMeta"))!=null?s:t.loose;return{name:"transform-modules-amd",pre(){this.file.set("@babel/plugin-transform-modules-*","amd")},visitor:{CallExpression(e,t){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!e.get("callee").isImport())return;let{requireId:r,resolveId:s,rejectId:i}=t;if(!r){r=e.scope.generateUidIdentifier("require");t.requireId=r}if(!s||!i){s=e.scope.generateUidIdentifier("resolve");i=e.scope.generateUidIdentifier("reject");t.resolveId=s;t.rejectId=i}let l=n.types.identifier("imported");if(!f)l=(0,a.wrapInterop)(e,l,"namespace");e.replaceWith(n.template.expression.ast` - new Promise((${s}, ${i}) => - ${r}( - [${(0,o.getImportSource)(n.types,e.node)}], - imported => ${n.types.cloneNode(s)}(${l}), - ${n.types.cloneNode(i)} + `;const f=c?{build:u,helper:"createForOfIteratorHelperLoose",getContainer:e=>e}:{build:p,helper:"createForOfIteratorHelper",getContainer:e=>e[1].block.body};function _ForOfStatementArray(e){const{node:r,scope:t}=e;const s=t.generateUidIdentifierBasedOnNode(r.right,"arr");const n=t.generateUidIdentifier("i");const o=d({BODY:r.body,KEY:n,NAME:s,ARR:r.right});a.types.inherits(o,r);const i=a.types.memberExpression(a.types.cloneNode(s),a.types.cloneNode(n),true);let l;const c=r.left;if(a.types.isVariableDeclaration(c)){c.declarations[0].init=i;l=c}else{l=a.types.expressionStatement(a.types.assignmentExpression("=",c,i))}o.body=buildLoopBody(e,l,o.body);return o}return{name:"transform-for-of",visitor:{ForOfStatement(e,r){const t=e.get("right");if(t.isArrayExpression()||t.isGenericType("Array")||a.types.isArrayTypeAnnotation(t.getTypeAnnotation())){e.replaceWith(_ForOfStatementArray(e));return}{if(!r.availableHelper(f.helper)){(0,n.default)(c,e,r);return}}const{node:s,parent:o,scope:i}=e;const d=s.left;let u;const p=i.generateUid("step");const y=a.types.memberExpression(a.types.identifier(p),a.types.identifier("value"));if(a.types.isVariableDeclaration(d)){u=a.types.variableDeclaration(d.kind,[a.types.variableDeclarator(d.declarations[0].id,y)])}else{u=a.types.expressionStatement(a.types.assignmentExpression("=",d,y))}const g=f.build({CREATE_ITERATOR_HELPER:r.addHelper(f.helper),ITERATOR_HELPER:i.generateUidIdentifier("iterator"),ARRAY_LIKE_IS_ITERABLE:l?a.types.booleanLiteral(true):null,STEP_KEY:a.types.identifier(p),OBJECT:s.right,BODY:buildLoopBody(e,u)});const h=f.getContainer(g);a.types.inherits(h[0],s);a.types.inherits(h[0].body,s.body);if(a.types.isLabeledStatement(o)){h[0]=a.types.labeledStatement(o.label,h[0]);e.parentPath.replaceWithMultiple(g);e.skip()}else{e.replaceWithMultiple(g)}}}}}));r["default"]=o},7286:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=transformWithoutHelper;var s=t(8304);function transformWithoutHelper(e,r,t){const a=e?pushComputedPropsLoose:pushComputedPropsSpec;const{node:n}=r;const o=a(r,t);const i=o.declar;const l=o.loop;const c=l.body;r.ensureBlock();if(i){c.body.push(i)}c.body.push(...n.body.body);s.types.inherits(l,n);s.types.inherits(l.body,n.body);if(o.replaceParent){r.parentPath.replaceWithMultiple(o.node);r.remove()}else{r.replaceWithMultiple(o.node)}}const a=s.template.statement(`\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n INTERMEDIATE;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n`);const n=s.template.statements(`\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (\n var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY;\n !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done);\n ITERATOR_COMPLETION = true\n ) {}\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return != null) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n`);function pushComputedPropsLoose(e,r){const{node:t,scope:n,parent:o}=e;const{left:i}=t;let l,c,d;if(s.types.isIdentifier(i)||s.types.isPattern(i)||s.types.isMemberExpression(i)){c=i;d=null}else if(s.types.isVariableDeclaration(i)){c=n.generateUidIdentifier("ref");l=s.types.variableDeclaration(i.kind,[s.types.variableDeclarator(i.declarations[0].id,s.types.identifier(c.name))]);d=s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(c.name))])}else{throw r.buildCodeFrameError(i,`Unknown node type ${i.type} in ForStatement`)}const u=n.generateUidIdentifier("iterator");const p=n.generateUidIdentifier("isArray");const f=a({LOOP_OBJECT:u,IS_ARRAY:p,OBJECT:t.right,INDEX:n.generateUidIdentifier("i"),ID:c,INTERMEDIATE:d});const y=s.types.isLabeledStatement(o);let g;if(y){g=s.types.labeledStatement(o.label,f)}return{replaceParent:y,declar:l,node:g||f,loop:f}}function pushComputedPropsSpec(e,r){const{node:t,scope:a,parent:o}=e;const i=t.left;let l;const c=a.generateUid("step");const d=s.types.memberExpression(s.types.identifier(c),s.types.identifier("value"));if(s.types.isIdentifier(i)||s.types.isPattern(i)||s.types.isMemberExpression(i)){l=s.types.expressionStatement(s.types.assignmentExpression("=",i,d))}else if(s.types.isVariableDeclaration(i)){l=s.types.variableDeclaration(i.kind,[s.types.variableDeclarator(i.declarations[0].id,d)])}else{throw r.buildCodeFrameError(i,`Unknown node type ${i.type} in ForStatement`)}const u=n({ITERATOR_HAD_ERROR_KEY:a.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:a.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:a.generateUidIdentifier("iteratorError"),ITERATOR_KEY:a.generateUidIdentifier("iterator"),STEP_KEY:s.types.identifier(c),OBJECT:t.right});const p=s.types.isLabeledStatement(o);const f=u[3].block.body;const y=f[0];if(p){f[0]=s.types.labeledStatement(o.label,y)}return{replaceParent:p,declar:l,loop:y,node:u}}},3105:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(900);var a=t(5389);var n=t(4940);var o=(0,a.declare)((e=>{e.assertVersion(7);const r=!(0,s.isRequired)("transform-unicode-escapes",e.targets());return{name:"transform-function-name",visitor:{FunctionExpression:{exit(e){if(e.key!=="value"&&!e.parentPath.isObjectProperty()){const r=(0,n.default)(e);if(r)e.replaceWith(r)}}},ObjectProperty(e){const t=e.get("value");if(t.isFunction()){const e=(0,n.default)(t,false,r);if(e)t.replaceWith(e)}}}}}));r["default"]=o},1997:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);const r=/(\\*)([\u2028\u2029])/g;function replace(e,r,t){const s=r.length%2===1;if(s)return e;return`${r}\\u${t.charCodeAt(0).toString(16)}`}return{name:"transform-json-strings",inherits:t(915)["default"],visitor:{"DirectiveLiteral|StringLiteral"({node:e}){const{extra:t}=e;if(!(t!=null&&t.raw))return;t.raw=t.raw.replace(r,replace)}}}}));r["default"]=a},4284:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-literals",visitor:{NumericLiteral({node:e}){if(e.extra&&/^0[ob]/i.test(e.extra.raw)){e.extra=undefined}},StringLiteral({node:e}){if(e.extra&&/\\[u]/gi.test(e.extra.raw)){e.extra=undefined}}}}}));r["default"]=a},5953:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-logical-assignment-operators",inherits:t(647)["default"],visitor:{AssignmentExpression(e){const{node:r,scope:t}=e;const{operator:s,left:n,right:o}=r;const i=s.slice(0,-1);if(!a.types.LOGICAL_OPERATORS.includes(i)){return}const l=a.types.cloneNode(n);if(a.types.isMemberExpression(n)){const{object:e,property:r,computed:s}=n;const o=t.maybeGenerateMemoised(e);if(o){n.object=o;l.object=a.types.assignmentExpression("=",a.types.cloneNode(o),e)}if(s){const e=t.maybeGenerateMemoised(r);if(e){n.property=e;l.property=a.types.assignmentExpression("=",a.types.cloneNode(e),r)}}}e.replaceWith(a.types.logicalExpression(i,l,a.types.assignmentExpression("=",n,o)))}}}}));r["default"]=n},8597:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-member-expression-literals",visitor:{MemberExpression:{exit({node:e}){const r=e.property;if(!e.computed&&a.types.isIdentifier(r)&&!a.types.isValidES3Identifier(r.name)){e.property=a.types.stringLiteral(r.name);e.computed=true}}}}}}));r["default"]=n},7868:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(6646);var n=t(8304);const o=n.template.statement(`\n define(MODULE_NAME, AMD_ARGUMENTS, function(IMPORT_NAMES) {\n })\n`);const i=n.template.statement(`\n define(["require"], function(REQUIRE) {\n })\n`);function injectWrapper(e,r){const{body:t,directives:s}=e.node;e.node.directives=[];e.node.body=[];const a=e.pushContainer("body",r)[0].get("expression");const n=a.get("arguments");const o=n[n.length-1].get("body");o.pushContainer("directives",s);o.pushContainer("body",t)}var l=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const{allowTopLevelThis:l,strict:c,strictMode:d,importInterop:u,noInterop:p}=r;const f=(t=e.assumption("constantReexports"))!=null?t:r.loose;const y=(s=e.assumption("enumerableModuleMeta"))!=null?s:r.loose;return{name:"transform-modules-amd",pre(){this.file.set("@babel/plugin-transform-modules-*","amd")},visitor:{["CallExpression"+(e.types.importExpression?"|ImportExpression":"")](e,r){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(e.isCallExpression()&&!e.get("callee").isImport())return;let{requireId:t,resolveId:s,rejectId:o}=r;if(!t){t=e.scope.generateUidIdentifier("require");r.requireId=t}if(!s||!o){s=e.scope.generateUidIdentifier("resolve");o=e.scope.generateUidIdentifier("reject");r.resolveId=s;r.rejectId=o}let i=n.types.identifier("imported");if(!p){i=(0,a.wrapInterop)(this.file.path,i,"namespace")}e.replaceWith((0,a.buildDynamicImport)(e.node,false,false,(e=>n.template.expression.ast` + new Promise((${s}, ${o}) => + ${t}( + [${e}], + imported => ${n.types.cloneNode(s)}(${i}), + ${n.types.cloneNode(o)} + ) ) - )`)},Program:{exit(e,{requireId:r}){if(!(0,a.isModule)(e)){if(r){injectWrapper(e,l({REQUIRE:n.types.cloneNode(r)}))}return}const s=[];const o=[];if(r){s.push(n.types.stringLiteral("require"));o.push(n.types.cloneNode(r))}let h=(0,a.getModuleName)(this.file.opts,t);if(h)h=n.types.stringLiteral(h);const{meta:b,headers:x}=(0,a.rewriteModuleStatementsAndPrepareHeader)(e,{enumerableModuleMeta:g,constantReexports:y,strict:u,strictMode:p,allowTopLevelThis:c,importInterop:d,noInterop:f,filename:this.file.opts.filename});if((0,a.hasExports)(b)){s.push(n.types.stringLiteral("exports"));o.push(n.types.identifier(b.exportName))}for(const[t,r]of b.source){s.push(n.types.stringLiteral(t));o.push(n.types.identifier(r.name));if(!(0,a.isSideEffectImport)(r)){const t=(0,a.wrapInterop)(e,n.types.identifier(r.name),r.interop);if(t){const e=n.types.expressionStatement(n.types.assignmentExpression("=",n.types.identifier(r.name),t));e.loc=r.loc;x.push(e)}}x.push(...(0,a.buildNamespaceInitStatements)(b,r,y))}(0,a.ensureStatementsHoisted)(x);e.unshiftContainer("body",x);injectWrapper(e,i({MODULE_NAME:h,AMD_ARGUMENTS:n.types.arrayExpression(s),IMPORT_NAMES:o}))}}}}}));t["default"]=c},6824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(8123);var a=r(1914);var n=r(7798);var o=r(8304);var i=r(9261);var l=(0,s.declare)(((e,t)=>{var r,s,l;e.assertVersion(7);const c=(0,i.createDynamicImportTransform)(e);const{strictNamespace:u=false,mjsStrictNamespace:p=u,allowTopLevelThis:d,strict:f,strictMode:y,noInterop:g,importInterop:h,lazy:b=false,allowCommonJSExports:x=true,loose:v=false}=t;const j=(r=e.assumption("constantReexports"))!=null?r:v;const E=(s=e.assumption("enumerableModuleMeta"))!=null?s:v;const w=(l=e.assumption("noIncompleteNsImportDetection"))!=null?l:false;if(typeof b!=="boolean"&&typeof b!=="function"&&(!Array.isArray(b)||!b.every((e=>typeof e==="string")))){throw new Error(`.lazy must be a boolean, array of strings, or a function`)}if(typeof u!=="boolean"){throw new Error(`.strictNamespace must be a boolean, or undefined`)}if(typeof p!=="boolean"){throw new Error(`.mjsStrictNamespace must be a boolean, or undefined`)}const getAssertion=e=>o.template.expression.ast` + `)))},Program:{exit(e,{requireId:t}){if(!(0,a.isModule)(e)){if(t){injectWrapper(e,i({REQUIRE:n.types.cloneNode(t)}))}return}const s=[];const g=[];if(t){s.push(n.types.stringLiteral("require"));g.push(n.types.cloneNode(t))}let h=(0,a.getModuleName)(this.file.opts,r);if(h)h=n.types.stringLiteral(h);const{meta:b,headers:x}=(0,a.rewriteModuleStatementsAndPrepareHeader)(e,{enumerableModuleMeta:y,constantReexports:f,strict:c,strictMode:d,allowTopLevelThis:l,importInterop:u,noInterop:p,filename:this.file.opts.filename});if((0,a.hasExports)(b)){s.push(n.types.stringLiteral("exports"));g.push(n.types.identifier(b.exportName))}for(const[r,t]of b.source){s.push(n.types.stringLiteral(r));g.push(n.types.identifier(t.name));if(!(0,a.isSideEffectImport)(t)){const r=(0,a.wrapInterop)(e,n.types.identifier(t.name),t.interop);if(r){const e=n.types.expressionStatement(n.types.assignmentExpression("=",n.types.identifier(t.name),r));e.loc=t.loc;x.push(e)}}x.push(...(0,a.buildNamespaceInitStatements)(b,t,f))}(0,a.ensureStatementsHoisted)(x);e.unshiftContainer("body",x);injectWrapper(e,o({MODULE_NAME:h,AMD_ARGUMENTS:n.types.arrayExpression(s),IMPORT_NAMES:g}))}}}}}));r["default"]=l},9511:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.transformDynamicImport=transformDynamicImport;var s=t(8304);var a=t(6646);const requireNoInterop=e=>s.template.expression.ast`require(${e})`;const requireInterop=(e,r)=>s.types.callExpression(r.addHelper("interopRequireWildcard"),[requireNoInterop(e)]);function transformDynamicImport(e,r,t){const s=r?requireNoInterop:requireInterop;e.replaceWith((0,a.buildDynamicImport)(e.node,true,false,(e=>s(e,t))))}},8417:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(6646);var n=t(6118);var o=t(8304);var i=t(9511);var l=(0,s.declare)(((e,r)=>{var t,s,l;e.assertVersion(7);const{strictNamespace:c=false,mjsStrictNamespace:d=c,allowTopLevelThis:u,strict:p,strictMode:f,noInterop:y,importInterop:g,lazy:h=false,allowCommonJSExports:b=true,loose:x=false}=r;const v=(t=e.assumption("constantReexports"))!=null?t:x;const j=(s=e.assumption("enumerableModuleMeta"))!=null?s:x;const w=(l=e.assumption("noIncompleteNsImportDetection"))!=null?l:false;if(typeof h!=="boolean"&&typeof h!=="function"&&(!Array.isArray(h)||!h.every((e=>typeof e==="string")))){throw new Error(`.lazy must be a boolean, array of strings, or a function`)}if(typeof c!=="boolean"){throw new Error(`.strictNamespace must be a boolean, or undefined`)}if(typeof d!=="boolean"){throw new Error(`.mjsStrictNamespace must be a boolean, or undefined`)}const getAssertion=e=>o.template.expression.ast` (function(){ throw new Error( "The CommonJS '" + "${e}" + "' variable is not available in ES6 modules." + "Consider setting setting sourceType:script or sourceType:unambiguous in your " + "Babel config for this file."); })() - `;const _={ReferencedIdentifier(e){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const r=e.scope.getBinding(t);const s=this.scope.getBinding(t);if(s!==r||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})){return}e.replaceWith(getAssertion(t))},UpdateExpression(e){const t=e.get("argument");const r=t.node.name;if(r!=="module"&&r!=="exports")return;const s=e.scope.getBinding(r);const a=this.scope.getBinding(r);if(a!==s)return;e.replaceWith(o.types.assignmentExpression(e.node.operator[0]+"=",t.node,getAssertion(r)))},AssignmentExpression(e){const t=e.get("left");if(t.isIdentifier()){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const r=e.scope.getBinding(t);const s=this.scope.getBinding(t);if(s!==r)return;const a=e.get("right");a.replaceWith(o.types.sequenceExpression([a.node,getAssertion(t)]))}else if(t.isPattern()){const r=t.getOuterBindingIdentifiers();const s=Object.keys(r).filter((t=>{if(t!=="module"&&t!=="exports")return false;return this.scope.getBinding(t)===e.scope.getBinding(t)}))[0];if(s){const t=e.get("right");t.replaceWith(o.types.sequenceExpression([t.node,getAssertion(s)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression(e){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!e.get("callee").isImport())return;let{scope:t}=e;do{t.rename("require")}while(t=t.parent);c(this,e.get("callee"))},Program:{exit(e,r){if(!(0,a.isModule)(e))return;e.scope.rename("exports");e.scope.rename("module");e.scope.rename("require");e.scope.rename("__filename");e.scope.rename("__dirname");if(!x){(0,n.default)(e,new Set(["module","exports"]),false);e.traverse(_,{scope:e.scope})}let s=(0,a.getModuleName)(this.file.opts,t);if(s)s=o.types.stringLiteral(s);const{meta:i,headers:l}=(0,a.rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",constantReexports:j,enumerableModuleMeta:E,strict:f,strictMode:y,allowTopLevelThis:d,noInterop:g,importInterop:h,lazy:b,esNamespaceOnly:typeof r.filename==="string"&&/\.mjs$/.test(r.filename)?p:u,noIncompleteNsImportDetection:w,filename:this.file.opts.filename});for(const[t,r]of i.source){const s=o.types.callExpression(o.types.identifier("require"),[o.types.stringLiteral(t)]);let n;if((0,a.isSideEffectImport)(r)){if(r.lazy)throw new Error("Assertion failure");n=o.types.expressionStatement(s)}else{const t=(0,a.wrapInterop)(e,s,r.interop)||s;if(r.lazy){n=o.template.ast` - function ${r.name}() { - const data = ${t}; - ${r.name} = function(){ return data; }; + `;const E={ReferencedIdentifier(e){const r=e.node.name;if(r!=="module"&&r!=="exports")return;const t=e.scope.getBinding(r);const s=this.scope.getBinding(r);if(s!==t||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})){return}e.replaceWith(getAssertion(r))},UpdateExpression(e){const r=e.get("argument");if(!r.isIdentifier())return;const t=r.node.name;if(t!=="module"&&t!=="exports")return;const s=e.scope.getBinding(t);const a=this.scope.getBinding(t);if(a!==s)return;e.replaceWith(o.types.assignmentExpression(e.node.operator[0]+"=",r.node,getAssertion(t)))},AssignmentExpression(e){const r=e.get("left");if(r.isIdentifier()){const t=r.node.name;if(t!=="module"&&t!=="exports")return;const s=e.scope.getBinding(t);const a=this.scope.getBinding(t);if(a!==s)return;const n=e.get("right");n.replaceWith(o.types.sequenceExpression([n.node,getAssertion(t)]))}else if(r.isPattern()){const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).filter((r=>{if(r!=="module"&&r!=="exports")return false;return this.scope.getBinding(r)===e.scope.getBinding(r)}))[0];if(s){const r=e.get("right");r.replaceWith(o.types.sequenceExpression([r.node,getAssertion(s)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression(e){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!o.types.isImport(e.node.callee))return;let{scope:r}=e;do{r.rename("require")}while(r=r.parent);(0,i.transformDynamicImport)(e,y,this.file)},Program:{exit(e,t){if(!(0,a.isModule)(e))return;e.scope.rename("exports");e.scope.rename("module");e.scope.rename("require");e.scope.rename("__filename");e.scope.rename("__dirname");if(!b){{(0,n.default)(e,new Set(["module","exports"]),false)}e.traverse(E,{scope:e.scope})}let s=(0,a.getModuleName)(this.file.opts,r);if(s)s=o.types.stringLiteral(s);const{meta:i,headers:l}=(0,a.rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",constantReexports:v,enumerableModuleMeta:j,strict:p,strictMode:f,allowTopLevelThis:u,noInterop:y,importInterop:g,lazy:h,esNamespaceOnly:typeof t.filename==="string"&&/\.mjs$/.test(t.filename)?d:c,noIncompleteNsImportDetection:w,filename:this.file.opts.filename});for(const[r,t]of i.source){const s=o.types.callExpression(o.types.identifier("require"),[o.types.stringLiteral(r)]);let n;if((0,a.isSideEffectImport)(t)){if(t.lazy)throw new Error("Assertion failure");n=o.types.expressionStatement(s)}else{if(t.lazy&&!t.referenced){continue}const r=(0,a.wrapInterop)(e,s,t.interop)||s;if(t.lazy){n=o.template.statement.ast` + function ${t.name}() { + const data = ${r}; + ${t.name} = function(){ return data; }; return data; } - `}else{n=o.template.ast` - var ${r.name} = ${t}; - `}}n.loc=r.loc;l.push(n);l.push(...(0,a.buildNamespaceInitStatements)(i,r,j))}(0,a.ensureStatementsHoisted)(l);e.unshiftContainer("body",l);e.get("body").forEach((e=>{if(l.indexOf(e.node)===-1)return;if(e.isVariableDeclaration()){e.scope.registerDeclaration(e)}}))}}}}}));t["default"]=l},5185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.getExportSpecifierName=getExportSpecifierName;var s=r(6454);var a=r(3959);var n=r(8304);var o=r(9261);var i=r(108);var l=r(7239);const c=n.template.statement(`\n SYSTEM_REGISTER(MODULE_NAME, SOURCES, function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: SETTERS,\n execute: EXECUTE,\n };\n });\n`);const u=n.template.statement(`\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n`);const p=`WARNING: Dynamic import() transformation must be enabled using the\n @babel/plugin-proposal-dynamic-import plugin. Babel 8 will\n no longer transform import() without using that plugin.\n`;const d=null&&`ERROR: Dynamic import() transformation must be enabled using the\n @babel/plugin-proposal-dynamic-import plugin. Babel 8\n no longer transforms import() without using that plugin.\n`;function getExportSpecifierName(e,t){if(e.type==="Identifier"){return e.name}else if(e.type==="StringLiteral"){const r=e.value;if(!(0,l.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.type}`)}}function constructExportCall(e,t,r,s,a,o){const i=[];if(!a){if(r.length===1){i.push(n.types.expressionStatement(n.types.callExpression(t,[n.types.stringLiteral(r[0]),s[0]])))}else{const e=[];for(let t=0;t<r.length;t++){const a=r[t];const i=s[t];e.push(n.types.objectProperty(o.has(a)?n.types.stringLiteral(a):n.types.identifier(a),i))}i.push(n.types.expressionStatement(n.types.callExpression(t,[n.types.objectExpression(e)])))}}else{const o=e.scope.generateUid("exportObj");i.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(o),n.types.objectExpression([]))]));i.push(u({KEY:e.scope.generateUidIdentifier("key"),EXPORT_OBJ:n.types.identifier(o),TARGET:a}));for(let e=0;e<r.length;e++){const t=r[e];const a=s[e];i.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(n.types.identifier(o),n.types.identifier(t)),a)))}i.push(n.types.expressionStatement(n.types.callExpression(t,[n.types.identifier(o)])))}return i}var f=(0,s.declare)(((e,t)=>{e.assertVersion(7);const{systemGlobal:r="System",allowTopLevelThis:s=false}=t;const l=new WeakSet;const u={"AssignmentExpression|UpdateExpression"(e){if(l.has(e.node))return;l.add(e.node);const t=e.isAssignmentExpression()?e.get("left"):e.get("argument");if(t.isObjectPattern()||t.isArrayPattern()){const r=[e.node];for(const s of Object.keys(t.getBindingIdentifiers())){if(this.scope.getBinding(s)!==e.scope.getBinding(s)){return}const t=this.exports[s];if(!t)return;for(const e of t){r.push(this.buildCall(e,n.types.identifier(s)).expression)}}e.replaceWith(n.types.sequenceExpression(r));return}if(!t.isIdentifier())return;const r=t.node.name;if(this.scope.getBinding(r)!==e.scope.getBinding(r))return;const s=this.exports[r];if(!s)return;let a=e.node;const o=n.types.isUpdateExpression(a,{prefix:false});if(o){a=n.types.binaryExpression(a.operator[0],n.types.unaryExpression("+",n.types.cloneNode(a.argument)),n.types.numericLiteral(1))}for(const e of s){a=this.buildCall(e,a).expression}if(o){a=n.types.sequenceExpression([a,e.node])}e.replaceWith(a)}};return{name:"transform-modules-systemjs",pre(){this.file.set("@babel/plugin-transform-modules-*","systemjs")},visitor:{CallExpression(e,t){if(n.types.isImport(e.node.callee)){if(!this.file.has("@babel/plugin-proposal-dynamic-import")){{console.warn(p)}}e.replaceWith(n.types.callExpression(n.types.memberExpression(n.types.identifier(t.contextIdent),n.types.identifier("import")),[(0,o.getImportSource)(n.types,e.node)]))}},MetaProperty(e,t){if(e.node.meta.name==="import"&&e.node.property.name==="meta"){e.replaceWith(n.types.memberExpression(n.types.identifier(t.contextIdent),n.types.identifier("meta")))}},ReferencedIdentifier(e,t){if(e.node.name==="__moduleName"&&!e.scope.hasBinding("__moduleName")){e.replaceWith(n.types.memberExpression(n.types.identifier(t.contextIdent),n.types.identifier("id")))}},Program:{enter(e,t){t.contextIdent=e.scope.generateUid("context");t.stringSpecifiers=new Set;if(!s){(0,i.rewriteThis)(e)}},exit(e,s){const o=e.scope;const l=o.generateUid("export");const{contextIdent:p,stringSpecifiers:d}=s;const f=Object.create(null);const y=[];const g=[];const h=[];const b=[];const x=[];const v=[];function addExportName(e,t){f[e]=f[e]||[];f[e].push(t)}function pushModule(e,t,r){let s;y.forEach((function(t){if(t.key===e){s=t}}));if(!s){y.push(s={key:e,imports:[],exports:[]})}s[t]=s[t].concat(r)}function buildExportCall(e,t){return n.types.expressionStatement(n.types.callExpression(n.types.identifier(l),[n.types.stringLiteral(e),t]))}const j=[];const E=[];const w=e.get("body");for(const e of w){if(e.isFunctionDeclaration()){g.push(e.node);v.push(e)}else if(e.isClassDeclaration()){x.push(n.types.cloneNode(e.node.id));e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(e.node.id),n.types.toExpression(e.node))))}else if(e.isVariableDeclaration()){e.node.kind="var"}else if(e.isImportDeclaration()){const t=e.node.source.value;pushModule(t,"imports",e.node.specifiers);for(const t of Object.keys(e.getBindingIdentifiers())){o.removeBinding(t);x.push(n.types.identifier(t))}e.remove()}else if(e.isExportAllDeclaration()){pushModule(e.node.source.value,"exports",e.node);e.remove()}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()){const r=t.node.id;if(r){j.push("default");E.push(o.buildUndefinedNode());x.push(n.types.cloneNode(r));addExportName(r.name,"default");e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(r),n.types.toExpression(t.node))))}else{j.push("default");E.push(n.types.toExpression(t.node));v.push(e)}}else if(t.isFunctionDeclaration()){const r=t.node.id;if(r){g.push(t.node);j.push("default");E.push(n.types.cloneNode(r));addExportName(r.name,"default")}else{j.push("default");E.push(n.types.toExpression(t.node))}v.push(e)}else{e.replaceWith(buildExportCall("default",t.node))}}else if(e.isExportNamedDeclaration()){const t=e.get("declaration");if(t.node){e.replaceWith(t);if(t.isFunction()){const r=t.node;const s=r.id.name;addExportName(s,s);g.push(r);j.push(s);E.push(n.types.cloneNode(r.id));v.push(e)}else if(t.isClass()){const r=t.node.id.name;j.push(r);E.push(o.buildUndefinedNode());x.push(n.types.cloneNode(t.node.id));e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(t.node.id),n.types.toExpression(t.node))));addExportName(r,r)}else{if(t.isVariableDeclaration()){t.node.kind="var"}for(const e of Object.keys(t.getBindingIdentifiers())){addExportName(e,e)}}}else{const t=e.node.specifiers;if(t!=null&&t.length){if(e.node.source){pushModule(e.node.source.value,"exports",t);e.remove()}else{const r=[];for(const e of t){const{local:t,exported:s}=e;const a=o.getBinding(t.name);const i=getExportSpecifierName(s,d);if(a&&n.types.isFunctionDeclaration(a.path.node)){j.push(i);E.push(n.types.cloneNode(t))}else if(!a){r.push(buildExportCall(i,t))}addExportName(t.name,i)}e.replaceWithMultiple(r)}}else{e.remove()}}}}y.forEach((function(t){const r=[];const s=o.generateUid(t.key);for(let e of t.imports){if(n.types.isImportNamespaceSpecifier(e)){r.push(n.types.expressionStatement(n.types.assignmentExpression("=",e.local,n.types.identifier(s))))}else if(n.types.isImportDefaultSpecifier(e)){e=n.types.importSpecifier(e.local,n.types.identifier("default"))}if(n.types.isImportSpecifier(e)){const{imported:t}=e;r.push(n.types.expressionStatement(n.types.assignmentExpression("=",e.local,n.types.memberExpression(n.types.identifier(s),e.imported,t.type==="StringLiteral"))))}}if(t.exports.length){const a=[];const o=[];let i=false;for(const e of t.exports){if(n.types.isExportAllDeclaration(e)){i=true}else if(n.types.isExportSpecifier(e)){const t=getExportSpecifierName(e.exported,d);a.push(t);o.push(n.types.memberExpression(n.types.identifier(s),e.local,n.types.isStringLiteral(e.local)))}else{}}r.push(...constructExportCall(e,n.types.identifier(l),a,o,i?n.types.identifier(s):null,d))}b.push(n.types.stringLiteral(t.key));h.push(n.types.functionExpression(null,[n.types.identifier(s)],n.types.blockStatement(r)))}));let _=(0,i.getModuleName)(this.file.opts,t);if(_)_=n.types.stringLiteral(_);(0,a.default)(e,((e,t,r)=>{x.push(e);if(!r&&t in f){for(const e of f[t]){j.push(e);E.push(o.buildUndefinedNode())}}}));if(x.length){g.unshift(n.types.variableDeclaration("var",x.map((e=>n.types.variableDeclarator(e)))))}if(j.length){g.push(...constructExportCall(e,n.types.identifier(l),j,E,null,d))}e.traverse(u,{exports:f,buildCall:buildExportCall,scope:o});for(const e of v){e.remove()}let S=false;e.traverse({AwaitExpression(e){S=true;e.stop()},Function(e){e.skip()},noScope:true});e.node.body=[c({SYSTEM_REGISTER:n.types.memberExpression(n.types.identifier(r),n.types.identifier("register")),BEFORE_BODY:g,MODULE_NAME:_,SETTERS:n.types.arrayExpression(h),EXECUTE:n.types.functionExpression(null,[],n.types.blockStatement(e.node.body),false,S),SOURCES:n.types.arrayExpression(b),EXPORT_IDENTIFIER:n.types.identifier(l),CONTEXT_IDENTIFIER:n.types.identifier(p)})]}}}}}));t["default"]=f},272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(1017);var n=r(108);var o=r(8304);const i=(0,o.template)(`\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n`);const l=(0,o.template)(`\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMONJS_ARGUMENTS);\n } else {\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n\n GLOBAL_TO_ASSIGN;\n }\n })(\n typeof globalThis !== "undefined" ? globalThis\n : typeof self !== "undefined" ? self\n : this,\n function(IMPORT_NAMES) {\n })\n`);var c=(0,s.declare)(((e,t)=>{var r,s;e.assertVersion(7);const{globals:c,exactGlobals:u,allowTopLevelThis:p,strict:d,strictMode:f,noInterop:y,importInterop:g}=t;const h=(r=e.assumption("constantReexports"))!=null?r:t.loose;const b=(s=e.assumption("enumerableModuleMeta"))!=null?s:t.loose;function buildBrowserInit(e,t,r,s){const n=s?s.value:(0,a.basename)(r,(0,a.extname)(r));let l=o.types.memberExpression(o.types.identifier("global"),o.types.identifier(o.types.toIdentifier(n)));let c=[];if(t){const t=e[n];if(t){c=[];const e=t.split(".");l=e.slice(1).reduce(((e,t)=>{c.push(i({GLOBAL_REFERENCE:o.types.cloneNode(e)}));return o.types.memberExpression(e,o.types.identifier(t))}),o.types.memberExpression(o.types.identifier("global"),o.types.identifier(e[0])))}}c.push(o.types.expressionStatement(o.types.assignmentExpression("=",l,o.types.memberExpression(o.types.identifier("mod"),o.types.identifier("exports")))));return c}function buildBrowserArg(e,t,r){let s;if(t){const t=e[r];if(t){s=t.split(".").reduce(((e,t)=>o.types.memberExpression(e,o.types.identifier(t))),o.types.identifier("global"))}else{s=o.types.memberExpression(o.types.identifier("global"),o.types.identifier(o.types.toIdentifier(r)))}}else{const t=(0,a.basename)(r,(0,a.extname)(r));const n=e[t]||t;s=o.types.memberExpression(o.types.identifier("global"),o.types.identifier(o.types.toIdentifier(n)))}return s}return{name:"transform-modules-umd",visitor:{Program:{exit(e){if(!(0,n.isModule)(e))return;const r=c||{};let s=(0,n.getModuleName)(this.file.opts,t);if(s)s=o.types.stringLiteral(s);const{meta:a,headers:i}=(0,n.rewriteModuleStatementsAndPrepareHeader)(e,{constantReexports:h,enumerableModuleMeta:b,strict:d,strictMode:f,allowTopLevelThis:p,noInterop:y,importInterop:g,filename:this.file.opts.filename});const x=[];const v=[];const j=[];const E=[];if((0,n.hasExports)(a)){x.push(o.types.stringLiteral("exports"));v.push(o.types.identifier("exports"));j.push(o.types.memberExpression(o.types.identifier("mod"),o.types.identifier("exports")));E.push(o.types.identifier(a.exportName))}for(const[t,s]of a.source){x.push(o.types.stringLiteral(t));v.push(o.types.callExpression(o.types.identifier("require"),[o.types.stringLiteral(t)]));j.push(buildBrowserArg(r,u,t));E.push(o.types.identifier(s.name));if(!(0,n.isSideEffectImport)(s)){const t=(0,n.wrapInterop)(e,o.types.identifier(s.name),s.interop);if(t){const e=o.types.expressionStatement(o.types.assignmentExpression("=",o.types.identifier(s.name),t));e.loc=a.loc;i.push(e)}}i.push(...(0,n.buildNamespaceInitStatements)(a,s,h))}(0,n.ensureStatementsHoisted)(i);e.unshiftContainer("body",i);const{body:w,directives:_}=e.node;e.node.directives=[];e.node.body=[];const S=e.pushContainer("body",[l({MODULE_NAME:s,AMD_ARGUMENTS:o.types.arrayExpression(x),COMMONJS_ARGUMENTS:v,BROWSER_ARGUMENTS:j,IMPORT_NAMES:E,GLOBAL_TO_ASSIGN:buildBrowserInit(r,u,this.filename||"unknown",s)})])[0];const k=S.get("expression.arguments")[1].get("body");k.pushContainer("directives",_);k.pushContainer("body",w)}}}}}));t["default"]=c},1570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(2449);var a=r(6454);var n=(0,a.declare)(((e,t)=>{const{runtime:r=true}=t;if(typeof r!=="boolean"){throw new Error("The 'runtime' option must be boolean")}return(0,s.createRegExpFeaturePlugin)({name:"transform-named-capturing-groups-regex",feature:"namedCaptureGroups",options:{runtime:r}})}));t["default"]=n},7429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-new-target",visitor:{MetaProperty(e){const t=e.get("meta");const r=e.get("property");const{scope:s}=e;if(t.isIdentifier({name:"new"})&&r.isIdentifier({name:"target"})){const t=e.findParent((e=>{if(e.isClass())return true;if(e.isFunction()&&!e.isArrowFunctionExpression()){if(e.isClassMethod({kind:"constructor"})){return false}return true}return false}));if(!t){throw e.buildCodeFrameError("new.target must be under a (non-arrow) function or a class.")}const{node:r}=t;if(a.types.isMethod(r)){e.replaceWith(s.buildUndefinedNode());return}if(!r.id){r.id=s.generateUidIdentifier("target")}const n=a.types.memberExpression(a.types.thisExpression(),a.types.identifier("constructor"));if(t.isClass()){e.replaceWith(n);return}e.replaceWith(a.types.conditionalExpression(a.types.binaryExpression("instanceof",a.types.thisExpression(),a.types.cloneNode(r.id)),n,s.buildUndefinedNode()))}}}}}));t["default"]=n},3403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(7328);var n=r(8304);function replacePropertySuper(e,t,r){const s=new a.default({getObjectRef:t,methodPath:e,file:r});s.replace()}var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-object-super",visitor:{ObjectExpression(e,t){let r;const getObjectRef=()=>r=r||e.scope.generateUidIdentifier("obj");e.get("properties").forEach((e=>{if(!e.isMethod())return;replacePropertySuper(e,getObjectRef,t)}));if(r){e.scope.push({id:n.types.cloneNode(r)});e.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(r),e.node))}}}}}));t["default"]=o},4141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"convertFunctionParams",{enumerable:true,get:function(){return a.default}});t["default"]=void 0;var s=r(6454);var a=r(6650);var n=r(1839);var o=(0,s.declare)(((e,t)=>{var r;e.assertVersion(7);const s=(r=e.assumption("ignoreFunctionLength"))!=null?r:t.loose;const o=e.assumption("noNewArrows");return{name:"transform-parameters",visitor:{Function(e){if(e.isArrowFunctionExpression()&&e.get("params").some((e=>e.isRestElement()||e.isAssignmentPattern()))){e.arrowFunctionToExpression({noNewArrows:o})}const t=(0,n.default)(e);const r=(0,a.default)(e,s);if(t||r){e.scope.crawl()}}}}}));t["default"]=o},6650:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=convertFunctionParams;var s=r(8304);const a=(0,s.template)(`\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n`);const n=(0,s.template)(`\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n`);const o=(0,s.template)(`\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n`);const i=(0,s.template)(`\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){const{scope:r,node:s}=e;const{name:a}=s;if(a==="eval"||r.getBinding(a)===t.scope.parent.getBinding(a)&&t.scope.hasOwnBinding(a)){t.needsOuterBinding=true;e.stop()}},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()};function convertFunctionParams(e,t,r,c){const u=e.get("params");const p=u.every((e=>e.isIdentifier()));if(p)return false;const{node:d,scope:f}=e;const y={stop:false,needsOuterBinding:false,scope:f};const g=[];const h=new Set;for(const e of u){for(const t of Object.keys(e.getBindingIdentifiers())){var b;const e=(b=f.bindings[t])==null?void 0:b.constantViolations;if(e){for(const r of e){const e=r.node;switch(e.type){case"VariableDeclarator":{if(e.init===null){const e=r.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){r.remove();break}}h.add(t);break}case"FunctionDeclaration":h.add(t);break}}}}}if(h.size===0){for(const e of u){if(!e.isIdentifier())e.traverse(l,y);if(y.needsOuterBinding)break}}let x=null;for(let l=0;l<u.length;l++){const p=u[l];if(r&&!r(l)){continue}const y=[];if(c){c(p.parentPath,p,y)}const h=p.isAssignmentPattern();if(h&&(t||d.kind==="set")){const e=p.get("left");const t=p.get("right");const r=f.buildUndefinedNode();if(e.isIdentifier()){g.push(n({ASSIGNMENT_IDENTIFIER:s.types.cloneNode(e.node),DEFAULT_VALUE:t.node,UNDEFINED:r}));p.replaceWith(e.node)}else if(e.isObjectPattern()||e.isArrayPattern()){const a=f.generateUidIdentifier();g.push(o({ASSIGNMENT_IDENTIFIER:e.node,DEFAULT_VALUE:t.node,PARAMETER_NAME:s.types.cloneNode(a),UNDEFINED:r}));p.replaceWith(a)}}else if(h){if(x===null)x=l;const e=p.get("left");const t=p.get("right");const r=a({VARIABLE_NAME:e.node,DEFAULT_VALUE:t.node,ARGUMENT_KEY:s.types.numericLiteral(l)});g.push(r)}else if(x!==null){const e=i([p.node,s.types.numericLiteral(l)]);g.push(e)}else if(p.isObjectPattern()||p.isArrayPattern()){const t=e.scope.generateUidIdentifier("ref");const r=s.types.variableDeclaration("let",[s.types.variableDeclarator(p.node,t)]);g.push(r);p.replaceWith(s.types.cloneNode(t))}if(y){for(const e of y){g.push(e)}}}if(x!==null){d.params=d.params.slice(0,x)}e.ensureBlock();if(y.needsOuterBinding||h.size>0){g.push(buildScopeIIFE(h,e.get("body").node));e.set("body",s.types.blockStatement(g));const t=e.get("body.body");const r=t[t.length-1].get("argument.callee");r.arrowFunctionToExpression();r.node.generator=e.node.generator;r.node.async=e.node.async;e.node.generator=false}else{e.get("body").unshiftContainer("body",g)}return true}function buildScopeIIFE(e,t){const r=[];const a=[];for(const t of e){r.push(s.types.identifier(t));a.push(s.types.identifier(t))}return s.types.returnStatement(s.types.callExpression(s.types.arrowFunctionExpression(a,t),r))}},1839:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=convertFunctionRest;var s=r(8304);const a=(0,s.template)(`\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n`);const n=(0,s.template)(`\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n`);const o=(0,s.template)(`\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n`);const i=(0,s.template)(`\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n`);function referencesRest(e,t){if(e.node.name===t.name){return e.scope.bindingIdentifierEquals(t.name,t.outerBinding)}return false}const l={Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.name,t.outerBinding)){e.skip()}},Flow(e){if(e.isTypeCastExpression())return;e.skip()},Function(e,t){const r=t.noOptimise;t.noOptimise=true;e.traverse(l,t);t.noOptimise=r;e.skip()},ReferencedIdentifier(e,t){const{node:r}=e;if(r.name==="arguments"){t.deopted=true}if(!referencesRest(e,t))return;if(t.noOptimise){t.deopted=true}else{const{parentPath:s}=e;if(s.listKey==="params"&&s.key<t.offset){return}if(s.isMemberExpression({object:r})){const r=s.parentPath;const a=!t.deopted&&!(r.isAssignmentExpression()&&s.node===r.node.left||r.isLVal()||r.isForXStatement()||r.isUpdateExpression()||r.isUnaryExpression({operator:"delete"})||(r.isCallExpression()||r.isNewExpression())&&s.node===r.node.callee);if(a){if(s.node.computed){if(s.get("property").isBaseType("number")){t.candidates.push({cause:"indexGetter",path:e});return}}else if(s.node.property.name==="length"){t.candidates.push({cause:"lengthGetter",path:e});return}}}if(t.offset===0&&s.isSpreadElement()){const r=s.parentPath;if(r.isCallExpression()&&r.node.arguments.length===1){t.candidates.push({cause:"argSpread",path:e});return}}t.references.push(e)}},BindingIdentifier(e,t){if(referencesRest(e,t)){t.deopted=true}}};function getParamsCount(e){let t=e.params.length;if(t>0&&s.types.isIdentifier(e.params[0],{name:"this"})){t-=1}return t}function hasRest(e){const t=e.params.length;return t>0&&s.types.isRestElement(e.params[t-1])}function optimiseIndexGetter(e,t,r){const a=s.types.numericLiteral(r);let i;if(s.types.isNumericLiteral(e.parent.property)){i=s.types.numericLiteral(e.parent.property.value+r)}else if(r===0){i=e.parent.property}else{i=s.types.binaryExpression("+",e.parent.property,s.types.cloneNode(a))}const{scope:l}=e;if(!l.isPure(i)){const r=l.generateUidIdentifierBasedOnNode(i);l.push({id:r,kind:"var"});e.parentPath.replaceWith(o({ARGUMENTS:t,OFFSET:a,INDEX:i,REF:s.types.cloneNode(r)}))}else{const r=e.parentPath;r.replaceWith(n({ARGUMENTS:t,OFFSET:a,INDEX:i}));const s=r.get("test").get("left");const o=s.evaluate();if(o.confident){if(o.value===true){r.replaceWith(r.scope.buildUndefinedNode())}else{r.get("test").replaceWith(r.get("test").get("right"))}}}}function optimiseLengthGetter(e,t,r){if(r){e.parentPath.replaceWith(i({ARGUMENTS:t,OFFSET:s.types.numericLiteral(r)}))}else{e.replaceWith(t)}}function convertFunctionRest(e){const{node:t,scope:r}=e;if(!hasRest(t))return false;let n=t.params.pop().argument;const o=s.types.identifier("arguments");if(s.types.isPattern(n)){const e=n;n=r.generateUidIdentifier("ref");const a=s.types.variableDeclaration("let",[s.types.variableDeclarator(e,n)]);t.body.body.unshift(a)}const i=getParamsCount(t);const c={references:[],offset:i,argumentsNode:o,outerBinding:r.getBindingIdentifier(n.name),candidates:[],name:n.name,deopted:false};e.traverse(l,c);if(!c.deopted&&!c.references.length){for(const{path:e,cause:t}of c.candidates){const r=s.types.cloneNode(o);switch(t){case"indexGetter":optimiseIndexGetter(e,r,c.offset);break;case"lengthGetter":optimiseLengthGetter(e,r,c.offset);break;default:e.replaceWith(r)}}return true}c.references=c.references.concat(c.candidates.map((({path:e})=>e)));const u=s.types.numericLiteral(i);const p=r.generateUidIdentifier("key");const d=r.generateUidIdentifier("len");let f,y;if(i){f=s.types.binaryExpression("-",s.types.cloneNode(p),s.types.cloneNode(u));y=s.types.conditionalExpression(s.types.binaryExpression(">",s.types.cloneNode(d),s.types.cloneNode(u)),s.types.binaryExpression("-",s.types.cloneNode(d),s.types.cloneNode(u)),s.types.numericLiteral(0))}else{f=s.types.identifier(p.name);y=s.types.identifier(d.name)}const g=a({ARGUMENTS:o,ARRAY_KEY:f,ARRAY_LEN:y,START:u,ARRAY:n,KEY:p,LEN:d});if(c.deopted){t.body.body.unshift(g)}else{let t=e.getEarliestCommonAncestorFrom(c.references).getStatementParent();t.findParent((e=>{if(e.isLoop()){t=e}else{return e.isFunction()}}));t.insertBefore(g)}return true}},4013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"convertFunctionParams",{enumerable:true,get:function(){return a.default}});t["default"]=void 0;var s=r(6454);var a=r(5960);var n=r(9748);var o=(0,s.declare)(((e,t)=>{var r,s;e.assertVersion(7);const o=(r=e.assumption("ignoreFunctionLength"))!=null?r:t.loose;const i=(s=e.assumption("noNewArrows"))!=null?s:true;return{name:"transform-parameters",visitor:{Function(e){if(e.isArrowFunctionExpression()&&e.get("params").some((e=>e.isRestElement()||e.isAssignmentPattern()))){e.arrowFunctionToExpression({noNewArrows:i});if(!e.isFunctionExpression())return}const t=(0,n.default)(e);const r=(0,a.default)(e,o);if(t||r){e.scope.crawl()}}}}}));t["default"]=o},5960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=convertFunctionParams;var s=r(8304);const a=(0,s.template)(`\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n`);const n=(0,s.template)(`\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n`);const o=(0,s.template)(`\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n`);const i=(0,s.template)(`\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n`);const l={"ReferencedIdentifier|BindingIdentifier"(e,t){const{scope:r,node:s}=e;const{name:a}=s;if(a==="eval"||r.getBinding(a)===t.scope.parent.getBinding(a)&&t.scope.hasOwnBinding(a)){t.needsOuterBinding=true;e.stop()}},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()};function convertFunctionParams(e,t,r,c){const u=e.get("params");const p=u.every((e=>e.isIdentifier()));if(p)return false;const{node:d,scope:f}=e;const y={stop:false,needsOuterBinding:false,scope:f};const g=[];const h=new Set;for(const e of u){for(const t of Object.keys(e.getBindingIdentifiers())){var b;const e=(b=f.bindings[t])==null?void 0:b.constantViolations;if(e){for(const r of e){const e=r.node;switch(e.type){case"VariableDeclarator":{if(e.init===null){const e=r.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){r.remove();break}}h.add(t);break}case"FunctionDeclaration":h.add(t);break}}}}}if(h.size===0){for(const e of u){if(!e.isIdentifier())e.traverse(l,y);if(y.needsOuterBinding)break}}let x=null;for(let l=0;l<u.length;l++){const p=u[l];if(r&&!r(l)){continue}const y=[];if(c){c(p.parentPath,p,y)}const h=p.isAssignmentPattern();if(h&&(t||d.kind==="set")){const e=p.get("left");const t=p.get("right");const r=f.buildUndefinedNode();if(e.isIdentifier()){g.push(n({ASSIGNMENT_IDENTIFIER:s.types.cloneNode(e.node),DEFAULT_VALUE:t.node,UNDEFINED:r}));p.replaceWith(e.node)}else if(e.isObjectPattern()||e.isArrayPattern()){const a=f.generateUidIdentifier();g.push(o({ASSIGNMENT_IDENTIFIER:e.node,DEFAULT_VALUE:t.node,PARAMETER_NAME:s.types.cloneNode(a),UNDEFINED:r}));p.replaceWith(a)}}else if(h){if(x===null)x=l;const e=p.get("left");const t=p.get("right");const r=a({VARIABLE_NAME:e.node,DEFAULT_VALUE:t.node,ARGUMENT_KEY:s.types.numericLiteral(l)});g.push(r)}else if(x!==null){const e=i([p.node,s.types.numericLiteral(l)]);g.push(e)}else if(p.isObjectPattern()||p.isArrayPattern()){const t=e.scope.generateUidIdentifier("ref");const r=s.types.variableDeclaration("let",[s.types.variableDeclarator(p.node,t)]);g.push(r);p.replaceWith(s.types.cloneNode(t))}if(y){for(const e of y){g.push(e)}}}if(x!==null){d.params=d.params.slice(0,x)}e.ensureBlock();if(y.needsOuterBinding||h.size>0){g.push(buildScopeIIFE(h,e.get("body").node));e.set("body",s.types.blockStatement(g));const t=e.get("body.body");const r=t[t.length-1].get("argument.callee");r.arrowFunctionToExpression();r.node.generator=e.node.generator;r.node.async=e.node.async;e.node.generator=false}else{e.get("body").unshiftContainer("body",g)}return true}function buildScopeIIFE(e,t){const r=[];const a=[];for(const t of e){r.push(s.types.identifier(t));a.push(s.types.identifier(t))}return s.types.returnStatement(s.types.callExpression(s.types.arrowFunctionExpression(a,t),r))}},9748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=convertFunctionRest;var s=r(8304);const a=(0,s.template)(`\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n`);const n=(0,s.template)(`\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n`);const o=(0,s.template)(`\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n`);const i=(0,s.template)(`\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n`);function referencesRest(e,t){if(e.node.name===t.name){return e.scope.bindingIdentifierEquals(t.name,t.outerBinding)}return false}const l={Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.name,t.outerBinding)){e.skip()}},Flow(e){if(e.isTypeCastExpression())return;e.skip()},Function(e,t){const r=t.noOptimise;t.noOptimise=true;e.traverse(l,t);t.noOptimise=r;e.skip()},ReferencedIdentifier(e,t){const{node:r}=e;if(r.name==="arguments"){t.deopted=true}if(!referencesRest(e,t))return;if(t.noOptimise){t.deopted=true}else{const{parentPath:s}=e;if(s.listKey==="params"&&s.key<t.offset){return}if(s.isMemberExpression({object:r})){const r=s.parentPath;const a=!t.deopted&&!(r.isAssignmentExpression()&&s.node===r.node.left||r.isLVal()||r.isForXStatement()||r.isUpdateExpression()||r.isUnaryExpression({operator:"delete"})||(r.isCallExpression()||r.isNewExpression())&&s.node===r.node.callee);if(a){if(s.node.computed){if(s.get("property").isBaseType("number")){t.candidates.push({cause:"indexGetter",path:e});return}}else if(s.node.property.name==="length"){t.candidates.push({cause:"lengthGetter",path:e});return}}}if(t.offset===0&&s.isSpreadElement()){const r=s.parentPath;if(r.isCallExpression()&&r.node.arguments.length===1){t.candidates.push({cause:"argSpread",path:e});return}}t.references.push(e)}},BindingIdentifier(e,t){if(referencesRest(e,t)){t.deopted=true}}};function getParamsCount(e){let t=e.params.length;if(t>0&&s.types.isIdentifier(e.params[0],{name:"this"})){t-=1}return t}function hasRest(e){const t=e.params.length;return t>0&&s.types.isRestElement(e.params[t-1])}function optimiseIndexGetter(e,t,r){const a=s.types.numericLiteral(r);let i;if(s.types.isNumericLiteral(e.parent.property)){i=s.types.numericLiteral(e.parent.property.value+r)}else if(r===0){i=e.parent.property}else{i=s.types.binaryExpression("+",e.parent.property,s.types.cloneNode(a))}const{scope:l}=e;if(!l.isPure(i)){const r=l.generateUidIdentifierBasedOnNode(i);l.push({id:r,kind:"var"});e.parentPath.replaceWith(o({ARGUMENTS:t,OFFSET:a,INDEX:i,REF:s.types.cloneNode(r)}))}else{const r=e.parentPath;r.replaceWith(n({ARGUMENTS:t,OFFSET:a,INDEX:i}));const s=r.get("test").get("left");const o=s.evaluate();if(o.confident){if(o.value===true){r.replaceWith(r.scope.buildUndefinedNode())}else{r.get("test").replaceWith(r.get("test").get("right"))}}}}function optimiseLengthGetter(e,t,r){if(r){e.parentPath.replaceWith(i({ARGUMENTS:t,OFFSET:s.types.numericLiteral(r)}))}else{e.replaceWith(t)}}function convertFunctionRest(e){const{node:t,scope:r}=e;if(!hasRest(t))return false;let n=t.params.pop().argument;if(n.name==="arguments")r.rename(n.name);const o=s.types.identifier("arguments");if(s.types.isPattern(n)){const e=n;n=r.generateUidIdentifier("ref");const a=s.types.variableDeclaration("let",[s.types.variableDeclarator(e,n)]);t.body.body.unshift(a)}const i=getParamsCount(t);const c={references:[],offset:i,argumentsNode:o,outerBinding:r.getBindingIdentifier(n.name),candidates:[],name:n.name,deopted:false};e.traverse(l,c);if(!c.deopted&&!c.references.length){for(const{path:e,cause:t}of c.candidates){const r=s.types.cloneNode(o);switch(t){case"indexGetter":optimiseIndexGetter(e,r,c.offset);break;case"lengthGetter":optimiseLengthGetter(e,r,c.offset);break;default:e.replaceWith(r)}}return true}c.references.push(...c.candidates.map((({path:e})=>e)));const u=s.types.numericLiteral(i);const p=r.generateUidIdentifier("key");const d=r.generateUidIdentifier("len");let f,y;if(i){f=s.types.binaryExpression("-",s.types.cloneNode(p),s.types.cloneNode(u));y=s.types.conditionalExpression(s.types.binaryExpression(">",s.types.cloneNode(d),s.types.cloneNode(u)),s.types.binaryExpression("-",s.types.cloneNode(d),s.types.cloneNode(u)),s.types.numericLiteral(0))}else{f=s.types.identifier(p.name);y=s.types.identifier(d.name)}const g=a({ARGUMENTS:o,ARRAY_KEY:f,ARRAY_LEN:y,START:u,ARRAY:n,KEY:p,LEN:d});if(c.deopted){t.body.body.unshift(g)}else{let t=e.getEarliestCommonAncestorFrom(c.references).getStatementParent();t.findParent((e=>{if(e.isLoop()){t=e}else{return e.isFunction()}}));t.insertBefore(g)}return true}},4727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-property-literals",visitor:{ObjectProperty:{exit({node:e}){const t=e.key;if(!e.computed&&a.types.isIdentifier(t)&&!a.types.isValidES3Identifier(t.name)){e.key=a.types.stringLiteral(t.name)}}}}}}));t["default"]=n},119:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(1017);var n=r(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);function addDisplayName(e,t){const r=t.arguments[0].properties;let s=true;for(let e=0;e<r.length;e++){const t=r[e];const a=n.types.toComputedKey(t);if(n.types.isLiteral(a,{value:"displayName"})){s=false;break}}if(s){r.unshift(n.types.objectProperty(n.types.identifier("displayName"),n.types.stringLiteral(e)))}}const t=n.types.buildMatchMemberExpression("React.createClass");const isCreateClassAddon=e=>e.name==="createReactClass";function isCreateClass(e){if(!e||!n.types.isCallExpression(e))return false;if(!t(e.callee)&&!isCreateClassAddon(e.callee)){return false}const r=e.arguments;if(r.length!==1)return false;const s=r[0];if(!n.types.isObjectExpression(s))return false;return true}return{name:"transform-react-display-name",visitor:{ExportDefaultDeclaration({node:e},t){if(isCreateClass(e.declaration)){const r=t.filename||"unknown";let s=a.basename(r,a.extname(r));if(s==="index"){s=a.basename(a.dirname(r))}addDisplayName(s,e.declaration)}},CallExpression(e){const{node:t}=e;if(!isCreateClass(t))return;let r;e.find((function(e){if(e.isAssignmentExpression()){r=e.node.left}else if(e.isObjectProperty()){r=e.node.key}else if(e.isVariableDeclarator()){r=e.node.id}else if(e.isStatement()){return true}if(r)return true}));if(!r)return;if(n.types.isMemberExpression(r)){r=r.property}if(n.types.isIdentifier(r)){addDisplayName(r.name,t)}}}}}));t["default"]=o},1638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"default",{enumerable:true,get:function(){return s.default}});var s=r(8350)},297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createPlugin;var s=r(6140);var a=r(6454);var n=r(8304);var o=r(2056);var i=r(5346);const l={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"};const c=/\*?\s*@jsxImportSource\s+([^\s]+)/;const u=/\*?\s*@jsxRuntime\s+([^\s]+)/;const p=/\*?\s*@jsx\s+([^\s]+)/;const d=/\*?\s*@jsxFrag\s+([^\s]+)/;const get=(e,t)=>e.get(`@babel/plugin-react-jsx/${t}`);const set=(e,t,r)=>e.set(`@babel/plugin-react-jsx/${t}`,r);function createPlugin({name:e,development:t}){return(0,a.declare)(((r,a)=>{const{pure:o,throwIfNamespace:f=true,filter:y,runtime:g=(t?"automatic":"classic"),importSource:h=l.importSource,pragma:b=l.pragma,pragmaFrag:x=l.pragmaFrag}=a;{var{useSpread:v=false,useBuiltIns:j=false}=a;if(g==="classic"){if(typeof v!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useSpread (defaults to false)")}if(typeof j!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useBuiltIns (defaults to false)")}if(v&&j){throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread "+"but not both")}}}const E={JSXOpeningElement(e,t){for(const t of e.get("attributes")){if(!t.isJSXElement())continue;const{name:r}=t.node.name;if(r==="__source"||r==="__self"){throw e.buildCodeFrameError(`__source and __self should not be defined in props and are reserved for internal usage.`)}}const r=n.types.jsxAttribute(n.types.jsxIdentifier("__self"),n.types.jsxExpressionContainer(n.types.thisExpression()));const s=n.types.jsxAttribute(n.types.jsxIdentifier("__source"),n.types.jsxExpressionContainer(makeSource(e,t)));e.pushContainer("attributes",[r,s])}};return{name:e,inherits:s.default,visitor:{JSXNamespacedName(e){if(f){throw e.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set \`throwIfNamespace: false\` to bypass this warning.`)}},JSXSpreadChild(e){throw e.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(e,r){const{file:s}=r;let o=g;let i=h;let f=b;let y=x;let v=!!a.importSource;let j=!!a.pragma;let w=!!a.pragmaFrag;if(s.ast.comments){for(const e of s.ast.comments){const t=c.exec(e.value);if(t){i=t[1];v=true}const r=u.exec(e.value);if(r){o=r[1]}const s=p.exec(e.value);if(s){f=s[1];j=true}const a=d.exec(e.value);if(a){y=a[1];w=true}}}set(r,"runtime",o);if(o==="classic"){if(v){throw e.buildCodeFrameError(`importSource cannot be set when runtime is classic.`)}const t=toMemberExpression(f);const s=toMemberExpression(y);set(r,"id/createElement",(()=>n.types.cloneNode(t)));set(r,"id/fragment",(()=>n.types.cloneNode(s)));set(r,"defaultPure",f===l.pragma)}else if(o==="automatic"){if(j||w){throw e.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`)}const define=(t,s)=>set(r,t,createImportLazily(r,e,s,i));define("id/jsx",t?"jsxDEV":"jsx");define("id/jsxs",t?"jsxDEV":"jsxs");define("id/createElement","createElement");define("id/fragment","Fragment");set(r,"defaultPure",i===l.importSource)}else{throw e.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`)}if(t){e.traverse(E,r)}}},JSXElement:{exit(e,t){let r;if(get(t,"runtime")==="classic"||shouldUseCreateElement(e)){r=buildCreateElementCall(e,t)}else{r=buildJSXElementCall(e,t)}e.replaceWith(n.types.inherits(r,e.node))}},JSXFragment:{exit(e,t){let r;if(get(t,"runtime")==="classic"){r=buildCreateElementFragmentCall(e,t)}else{r=buildJSXFragmentCall(e,t)}e.replaceWith(n.types.inherits(r,e.node))}},JSXAttribute(e){if(n.types.isJSXElement(e.node.value)){e.node.value=n.types.jsxExpressionContainer(e.node.value)}}}};function call(e,t,r){const s=n.types.callExpression(get(e,`id/${t}`)(),r);if(o!=null?o:get(e,"defaultPure"))(0,i.default)(s);return s}function shouldUseCreateElement(e){const t=e.get("openingElement");const r=t.node.attributes;let s=false;for(let e=0;e<r.length;e++){const t=r[e];if(s&&n.types.isJSXAttribute(t)&&t.name.name==="key"){return true}else if(n.types.isJSXSpreadAttribute(t)){s=true}}return false}function convertJSXIdentifier(e,t){if(n.types.isJSXIdentifier(e)){if(e.name==="this"&&n.types.isReferenced(e,t)){return n.types.thisExpression()}else if(n.types.isValidIdentifier(e.name,false)){e.type="Identifier"}else{return n.types.stringLiteral(e.name)}}else if(n.types.isJSXMemberExpression(e)){return n.types.memberExpression(convertJSXIdentifier(e.object,e),convertJSXIdentifier(e.property,e))}else if(n.types.isJSXNamespacedName(e)){return n.types.stringLiteral(`${e.namespace.name}:${e.name.name}`)}return e}function convertAttributeValue(e){if(n.types.isJSXExpressionContainer(e)){return e.expression}else{return e}}function accumulateAttribute(e,t){if(n.types.isJSXSpreadAttribute(t.node)){const r=t.node.argument;if(n.types.isObjectExpression(r)){e.push(...r.properties)}else{e.push(n.types.spreadElement(r))}return e}const r=convertAttributeValue(t.node.name.name!=="key"?t.node.value||n.types.booleanLiteral(true):t.node.value);if(t.node.name.name==="key"&&r===null){throw t.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}if(n.types.isStringLiteral(r)&&!n.types.isJSXExpressionContainer(t.node.value)){var s;r.value=r.value.replace(/\n\s+/g," ");(s=r.extra)==null?true:delete s.raw}if(n.types.isJSXNamespacedName(t.node.name)){t.node.name=n.types.stringLiteral(t.node.name.namespace.name+":"+t.node.name.name.name)}else if(n.types.isValidIdentifier(t.node.name.name,false)){t.node.name.type="Identifier"}else{t.node.name=n.types.stringLiteral(t.node.name.name)}e.push(n.types.inherits(n.types.objectProperty(t.node.name,r),t.node));return e}function buildChildrenProperty(e){let t;if(e.length===1){t=e[0]}else if(e.length>1){t=n.types.arrayExpression(e)}else{return undefined}return n.types.objectProperty(n.types.identifier("children"),t)}function buildJSXElementCall(e,r){const s=e.get("openingElement");const a=[getTag(s)];const o=[];const i=Object.create(null);for(const t of s.get("attributes")){if(t.isJSXAttribute()&&n.types.isJSXIdentifier(t.node.name)){const{name:r}=t.node.name;switch(r){case"__source":case"__self":if(i[r])throw sourceSelfError(e,r);case"key":{const e=convertAttributeValue(t.node.value);if(e===null){throw t.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}i[r]=e;break}default:o.push(t)}}else{o.push(t)}}const l=n.types.react.buildChildren(e.node);let c;if(o.length||l.length){c=buildJSXOpeningElementAttributes(o,r,l)}else{c=n.types.objectExpression([])}a.push(c);if(t){var u,p,d;a.push((u=i.key)!=null?u:e.scope.buildUndefinedNode(),n.types.booleanLiteral(l.length>1),(p=i.__source)!=null?p:e.scope.buildUndefinedNode(),(d=i.__self)!=null?d:n.types.thisExpression())}else if(i.key!==undefined){a.push(i.key)}return call(r,l.length>1?"jsxs":"jsx",a)}function buildJSXOpeningElementAttributes(e,t,r){const s=e.reduce(accumulateAttribute,[]);if((r==null?void 0:r.length)>0){s.push(buildChildrenProperty(r))}return n.types.objectExpression(s)}function buildJSXFragmentCall(e,r){const s=[get(r,"id/fragment")()];const a=n.types.react.buildChildren(e.node);s.push(n.types.objectExpression(a.length>0?[buildChildrenProperty(a)]:[]));if(t){s.push(e.scope.buildUndefinedNode(),n.types.booleanLiteral(a.length>1))}return call(r,a.length>1?"jsxs":"jsx",s)}function buildCreateElementFragmentCall(e,t){if(y&&!y(e.node,t))return;return call(t,"createElement",[get(t,"id/fragment")(),n.types.nullLiteral(),...n.types.react.buildChildren(e.node)])}function buildCreateElementCall(e,t){const r=e.get("openingElement");return call(t,"createElement",[getTag(r),buildCreateElementOpeningElementAttributes(t,e,r.get("attributes")),...n.types.react.buildChildren(e.node)])}function getTag(e){const t=convertJSXIdentifier(e.node.name,e.node);let r;if(n.types.isIdentifier(t)){r=t.name}else if(n.types.isLiteral(t)){r=t.value}if(n.types.react.isCompatTag(r)){return n.types.stringLiteral(r)}else{return t}}function buildCreateElementOpeningElementAttributes(e,t,r){const s=get(e,"runtime");{if(s!=="automatic"){const t=[];const s=r.reduce(accumulateAttribute,[]);if(!v){let e=0;s.forEach(((r,a)=>{if(n.types.isSpreadElement(r)){if(a>e){t.push(n.types.objectExpression(s.slice(e,a)))}t.push(r.argument);e=a+1}}));if(s.length>e){t.push(n.types.objectExpression(s.slice(e)))}}else if(s.length){t.push(n.types.objectExpression(s))}if(!t.length){return n.types.nullLiteral()}if(t.length===1){return t[0]}if(!n.types.isObjectExpression(t[0])){t.unshift(n.types.objectExpression([]))}const a=j?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends");return n.types.callExpression(a,t)}}const a=[];const o=Object.create(null);for(const e of r){const r=n.types.isJSXAttribute(e)&&n.types.isJSXIdentifier(e.name)&&e.name.name;if(s==="automatic"&&(r==="__source"||r==="__self")){if(o[r])throw sourceSelfError(t,r);o[r]=true}accumulateAttribute(a,e)}return a.length===1&&n.types.isSpreadElement(a[0])?a[0].argument:a.length>0?n.types.objectExpression(a):n.types.nullLiteral()}}));function getSource(e,r){switch(r){case"Fragment":return`${e}/${t?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function createImportLazily(e,t,r,s){return()=>{const a=getSource(s,r);if((0,o.isModule)(t)){let s=get(e,`imports/${r}`);if(s)return n.types.cloneNode(s);s=(0,o.addNamed)(t,r,a,{importedInterop:"uncompiled",importPosition:"after"});set(e,`imports/${r}`,s);return s}else{let s=get(e,`requires/${a}`);if(s){s=n.types.cloneNode(s)}else{s=(0,o.addNamespace)(t,a,{importedInterop:"uncompiled"});set(e,`requires/${a}`,s)}return n.types.memberExpression(s,n.types.identifier(r))}}}}function toMemberExpression(e){return e.split(".").map((e=>n.types.identifier(e))).reduce(((e,t)=>n.types.memberExpression(e,t)))}function makeSource(e,t){const r=e.node.loc;if(!r){return e.scope.buildUndefinedNode()}if(!t.fileNameIdentifier){const{filename:r=""}=t;const s=e.scope.generateUidIdentifier("_jsxFileName");const a=e.hub.getScope();if(a){a.push({id:s,init:n.types.stringLiteral(r)})}t.fileNameIdentifier=s}return makeTrace(n.types.cloneNode(t.fileNameIdentifier),r.start.line,r.start.column)}function makeTrace(e,t,r){const s=t!=null?n.types.numericLiteral(t):n.types.nullLiteral();const a=r!=null?n.types.numericLiteral(r+1):n.types.nullLiteral();const o=n.types.objectProperty(n.types.identifier("fileName"),e);const i=n.types.objectProperty(n.types.identifier("lineNumber"),s);const l=n.types.objectProperty(n.types.identifier("columnNumber"),a);return n.types.objectExpression([o,i,l])}function sourceSelfError(e,t){const r=`transform-react-jsx-${t.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${t} prop found. You are most likely using the deprecated ${r} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},8350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(297);var a=(0,s.default)({name:"transform-react-jsx/development",development:true});t["default"]=a},3863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(297);var a=(0,s.default)({name:"transform-react-jsx",development:false});t["default"]=a},8536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(5346);var n=r(8304);const o=new Map([["react",["cloneElement","createContext","createElement","createFactory","createRef","forwardRef","isValidElement","memo","lazy"]],["react-dom",["createPortal"]]]);var i=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-react-pure-annotations",visitor:{CallExpression(e){if(isReactCall(e)){(0,a.default)(e)}}}}}));t["default"]=i;function isReactCall(e){if(!n.types.isMemberExpression(e.node.callee)){const t=e.get("callee");for(const[e,r]of o){for(const s of r){if(t.referencesImport(e,s)){return true}}}return false}for(const[t,r]of o){const s=e.get("callee.object");if(s.referencesImport(t,"default")||s.referencesImport(t,"*")){for(const t of r){if(n.types.isIdentifier(e.node.callee.property,{name:t})){return true}}return false}}return false}},116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(4982);var n=(0,s.declare)((({types:e,assertVersion:t})=>{t(7);return{name:"transform-regenerator",inherits:a.default,visitor:{MemberExpression(t){var r;if(!((r=this.availableHelper)!=null&&r.call(this,"regeneratorRuntime"))){return}const s=t.get("object");if(s.isIdentifier({name:"regeneratorRuntime"})){const t=this.addHelper("regeneratorRuntime");if(e.isArrowFunctionExpression(t)){s.replaceWith(t.body);return}s.replaceWith(e.callExpression(t,[]))}}}}}));t["default"]=n},519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-reserved-words",visitor:{"BindingIdentifier|ReferencedIdentifier"(e){if(!a.types.isValidES3Identifier(e.node.name)){e.scope.rename(e.node.name)}}}}}));t["default"]=n},1631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;t.resolveFSPath=resolveFSPath;var s=r(1017);var a=r(8188);function _default(e,t,r){if(r===false)return e;return resolveAbsoluteRuntime(e,s.resolve(t,r===true?".":r))}function resolveAbsoluteRuntime(e,t){try{return s.dirname((((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},s=r(8188))=>{let a=s._findPath(e,s._nodeModulePaths(t).concat(t));if(a)return a;a=new Error(`Cannot resolve module '${e}'`);a.code="MODULE_NOT_FOUND";throw a})(`${e}/package.json`,{paths:[t]})).replace(/\\/g,"/")}catch(r){if(r.code!=="MODULE_NOT_FOUND")throw r;throw Object.assign(new Error(`Failed to resolve "${e}" relative to "${t}"`),{code:"BABEL_RUNTIME_NOT_FOUND",runtime:e,dirname:t})}}function resolveFSPath(e){return require.resolve(e).replace(/\\/g,"/")}},5092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasMinVersion=hasMinVersion;var s=r(7849);function hasMinVersion(e,t){if(!t)return true;if(s.valid(t))t=`^${t}`;return!s.intersects(`<${e}`,t)&&!s.intersects(`>=8.0.0`,t)}},2179:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(8123);var a=r(2056);var n=r(8304);var o=r(5092);var i=r(1631);var l=r(9068);var c=r(6619);var u=r(6880);const p=l.default||l;const d=c.default||c;const f=u.default||u;const y="#__secret_key__@babel/runtime__compatibility";function supportsStaticESM(e){return!!(e!=null&&e.supportsStaticESM)}var g=(0,s.declare)(((e,t,r)=>{e.assertVersion(7);const{corejs:s,helpers:l=true,regenerator:c=true,useESModules:u=false,version:g="7.0.0-beta.0",absoluteRuntime:h=false}=t;let b=false;let x;if(typeof s==="object"&&s!==null){x=s.version;b=Boolean(s.proposals)}else{x=s}const v=x?Number(x):false;if(![false,2,3].includes(v)){throw new Error(`The \`core-js\` version must be false, 2 or 3, but got ${JSON.stringify(x)}.`)}if(b&&(!v||v<3)){throw new Error("The 'proposals' option is only supported when using 'corejs: 3'")}if(typeof c!=="boolean"){throw new Error("The 'regenerator' option must be undefined, or a boolean.")}if(typeof l!=="boolean"){throw new Error("The 'helpers' option must be undefined, or a boolean.")}if(typeof u!=="boolean"&&u!=="auto"){throw new Error("The 'useESModules' option must be undefined, or a boolean, or 'auto'.")}if(typeof h!=="boolean"&&typeof h!=="string"){throw new Error("The 'absoluteRuntime' option must be undefined, a boolean, or a string.")}if(typeof g!=="string"){throw new Error(`The 'version' option must be a version string.`)}{const e="7.13.0";var j=(0,o.hasMinVersion)(e,g)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}if(has(t,"useBuiltIns")){if(t["useBuiltIns"]){throw new Error("The 'useBuiltIns' option has been removed. The @babel/runtime "+"module now uses builtins by default.")}else{throw new Error("The 'useBuiltIns' option has been removed. Use the 'corejs'"+"option to polyfill with `core-js` via @babel/runtime.")}}if(has(t,"polyfill")){if(t["polyfill"]===false){throw new Error("The 'polyfill' option has been removed. The @babel/runtime "+"module now skips polyfilling by default.")}else{throw new Error("The 'polyfill' option has been removed. Use the 'corejs'"+"option to polyfill with `core-js` via @babel/runtime.")}}if(has(t,"moduleName")){throw new Error("The 'moduleName' option has been removed. @babel/transform-runtime "+"no longer supports arbitrary runtimes. If you were using this to "+"set an absolute path for Babel's standard runtimes, please use the "+"'absoluteRuntime' option.")}const E=u==="auto"?e.caller(supportsStaticESM):u;const w=v===2;const _=v===3;const S=_?"@babel/runtime-corejs3":w?"@babel/runtime-corejs2":"@babel/runtime";const k=["interopRequireWildcard","interopRequireDefault"];const I=(0,i.default)(S,r,h);function createCorejsPlgin(e,t,r){return(s,a,n)=>Object.assign({},e(s,t,n),{inherits:r})}function createRegeneratorPlugin(e){if(!c)return undefined;return(t,r,s)=>f(t,e,s)}return{name:"transform-runtime",inherits:w?createCorejsPlgin(p,{method:"usage-pure",absoluteImports:h?I:false,[y]:{runtimeVersion:g,useBabelRuntime:I,ext:""}},createRegeneratorPlugin({method:"usage-pure",absoluteImports:h?I:false,[y]:{useBabelRuntime:I}})):_?createCorejsPlgin(d,{method:"usage-pure",version:3,proposals:b,absoluteImports:h?I:false,[y]:{useBabelRuntime:I,ext:""}},createRegeneratorPlugin({method:"usage-pure",absoluteImports:h?I:false,[y]:{useBabelRuntime:I}})):createRegeneratorPlugin({method:"usage-pure",absoluteImports:h?I:false,[y]:{useBabelRuntime:I}}),pre(e){if(!l)return;e.set("helperGenerator",(t=>{if(!(e.availableHelper!=null&&e.availableHelper(t,g))){if(t==="regeneratorRuntime"){return n.types.arrowFunctionExpression([],n.types.identifier("regeneratorRuntime"))}return}const r=k.indexOf(t)!==-1;const s=r&&!(0,a.isModule)(e.path)?4:undefined;const o=E&&e.path.node.sourceType==="module"?"helpers/esm":"helpers";let l=`${I}/${o}/${t}`;if(h)l=(0,i.resolveFSPath)(l);return addDefaultImport(l,t,s,true)}));const t=new Map;function addDefaultImport(r,s,o,i=false){const l=(0,a.isModule)(e.path);const c=`${r}:${s}:${l||""}`;let u=t.get(c);if(u){u=n.types.cloneNode(u)}else{u=(0,a.addDefault)(e.path,r,{importedInterop:i&&j?"compiled":"uncompiled",nameHint:s,blockHoist:o});t.set(c,u)}return u}}}}));t["default"]=g},4674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-shorthand-properties",visitor:{ObjectMethod(e){const{node:t}=e;if(t.kind==="method"){const r=a.types.functionExpression(null,t.params,t.body,t.generator,t.async);r.returnType=t.returnType;const s=a.types.toComputedKey(t);if(a.types.isStringLiteral(s,{value:"__proto__"})){e.replaceWith(a.types.objectProperty(s,r,true))}else{e.replaceWith(a.types.objectProperty(t.key,r,t.computed))}}},ObjectProperty(e){const{node:t}=e;if(t.shorthand){const r=a.types.toComputedKey(t);if(a.types.isStringLiteral(r,{value:"__proto__"})){e.replaceWith(a.types.objectProperty(r,t.value,true))}else{t.shorthand=false}}}}}}));t["default"]=n},6342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(9692);var n=r(8304);var o=(0,s.declare)(((e,t)=>{var r,s;e.assertVersion(7);const o=(r=e.assumption("iterableIsArray"))!=null?r:t.loose;const i=(s=t.allowArrayLike)!=null?s:e.assumption("arrayLikeIsIterable");function getSpreadLiteral(e,t){if(o&&!n.types.isIdentifier(e.argument,{name:"arguments"})){return e.argument}else{return t.toArray(e.argument,true,i)}}function hasHole(e){return e.elements.some((e=>e===null))}function hasSpread(e){for(let t=0;t<e.length;t++){if(n.types.isSpreadElement(e[t])){return true}}return false}function push(e,t){if(!e.length)return e;t.push(n.types.arrayExpression(e));return[]}function build(e,t,r){const s=[];let a=[];for(const o of e){if(n.types.isSpreadElement(o)){a=push(a,s);let e=getSpreadLiteral(o,t);if(n.types.isArrayExpression(e)&&hasHole(e)){e=n.types.callExpression(r.addHelper("arrayWithoutHoles"),[e])}s.push(e)}else{a.push(o)}}push(a,s);return s}return{name:"transform-spread",visitor:{ArrayExpression(e){const{node:t,scope:r}=e;const s=t.elements;if(!hasSpread(s))return;const a=build(s,r,this.file);let o=a[0];if(a.length===1&&o!==s[0].argument){e.replaceWith(o);return}if(!n.types.isArrayExpression(o)){o=n.types.arrayExpression([])}else{a.shift()}e.replaceWith(n.types.callExpression(n.types.memberExpression(o,n.types.identifier("concat")),a))},CallExpression(e){const{node:t,scope:r}=e;const s=t.arguments;if(!hasSpread(s))return;const o=(0,a.skipTransparentExprWrappers)(e.get("callee"));if(o.isSuper()){throw e.buildCodeFrameError("It's not possible to compile spread arguments in `super()` without compiling classes.\n"+"Please add '@babel/plugin-transform-classes' to your Babel configuration.")}let i=r.buildUndefinedNode();t.arguments=[];let l;if(s.length===1&&n.types.isIdentifier(s[0].argument,{name:"arguments"})){l=[s[0].argument]}else{l=build(s,r,this.file)}const c=l.shift();if(l.length){t.arguments.push(n.types.callExpression(n.types.memberExpression(c,n.types.identifier("concat")),l))}else{t.arguments.push(c)}const u=o.node;if(n.types.isMemberExpression(u)){const e=r.maybeGenerateMemoised(u.object);if(e){u.object=n.types.assignmentExpression("=",e,u.object);i=e}else{i=n.types.cloneNode(u.object)}}t.callee=n.types.memberExpression(t.callee,n.types.identifier("apply"));if(n.types.isSuper(i)){i=n.types.thisExpression()}t.arguments.unshift(n.types.cloneNode(i))},NewExpression(e){const{node:t,scope:r}=e;if(!hasSpread(t.arguments))return;const s=build(t.arguments,r,this.file);const a=s.shift();let o;if(s.length){o=n.types.callExpression(n.types.memberExpression(a,n.types.identifier("concat")),s)}else{o=a}e.replaceWith(n.types.callExpression(e.hub.addHelper("construct"),[t.callee,o]))}}}}));t["default"]=o},1227:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-sticky-regex",visitor:{RegExpLiteral(e){const{node:t}=e;if(!t.flags.includes("y"))return;e.replaceWith(a.types.newExpression(a.types.identifier("RegExp"),[a.types.stringLiteral(t.pattern),a.types.stringLiteral(t.flags)]))}}}}));t["default"]=n},1912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)(((e,t)=>{var r,s;e.assertVersion(7);const n=(r=e.assumption("ignoreToPrimitiveHint"))!=null?r:t.loose;const o=(s=e.assumption("mutableTemplateObject"))!=null?s:t.loose;let i="taggedTemplateLiteral";if(o)i+="Loose";function buildConcatCallExpressions(e){let t=true;return e.reduce((function(e,r){let s=a.types.isLiteral(r);if(!s&&t){s=true;t=false}if(s&&a.types.isCallExpression(e)){e.arguments.push(r);return e}return a.types.callExpression(a.types.memberExpression(e,a.types.identifier("concat")),[r])}))}return{name:"transform-template-literals",visitor:{TaggedTemplateExpression(e){const{node:t}=e;const{quasi:r}=t;const s=[];const n=[];let o=true;for(const t of r.quasis){const{raw:r,cooked:i}=t.value;const l=i==null?e.scope.buildUndefinedNode():a.types.stringLiteral(i);s.push(l);n.push(a.types.stringLiteral(r));if(r!==i){o=false}}const l=[a.types.arrayExpression(s)];if(!o){l.push(a.types.arrayExpression(n))}const c=e.scope.generateUidIdentifier("templateObject");e.scope.getProgramParent().push({id:a.types.cloneNode(c)});e.replaceWith(a.types.callExpression(t.tag,[a.template.expression.ast` + `}else{n=o.template.statement.ast` + var ${t.name} = ${r}; + `}}n.loc=t.loc;l.push(n);l.push(...(0,a.buildNamespaceInitStatements)(i,t,v))}(0,a.ensureStatementsHoisted)(l);e.unshiftContainer("body",l);e.get("body").forEach((e=>{if(l.indexOf(e.node)===-1)return;if(e.isVariableDeclaration()){e.scope.registerDeclaration(e)}}))}}}}}));r["default"]=l},7346:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.getExportSpecifierName=getExportSpecifierName;var s=t(5389);var a=t(405);var n=t(8304);var o=t(6646);var i=t(4975);const l=n.template.statement(`\n SYSTEM_REGISTER(MODULE_NAME, SOURCES, function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: SETTERS,\n execute: EXECUTE,\n };\n });\n`);const c=n.template.statement(`\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n`);const d=`WARNING: Dynamic import() transformation must be enabled using the\n @babel/plugin-transform-dynamic-import plugin. Babel 8 will\n no longer transform import() without using that plugin.\n`;const u=`ERROR: Dynamic import() transformation must be enabled using the\n @babel/plugin-transform-dynamic-import plugin. Babel 8\n no longer transforms import() without using that plugin.\n`;function getExportSpecifierName(e,r){if(e.type==="Identifier"){return e.name}else if(e.type==="StringLiteral"){const t=e.value;if(!(0,i.isIdentifierName)(t)){r.add(t)}return t}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.type}`)}}function constructExportCall(e,r,t,s,a,o){const i=[];if(!a){if(t.length===1){i.push(n.types.expressionStatement(n.types.callExpression(r,[n.types.stringLiteral(t[0]),s[0]])))}else{const e=[];for(let r=0;r<t.length;r++){const a=t[r];const i=s[r];e.push(n.types.objectProperty(o.has(a)?n.types.stringLiteral(a):n.types.identifier(a),i))}i.push(n.types.expressionStatement(n.types.callExpression(r,[n.types.objectExpression(e)])))}}else{const o=e.scope.generateUid("exportObj");i.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(o),n.types.objectExpression([]))]));i.push(c({KEY:e.scope.generateUidIdentifier("key"),EXPORT_OBJ:n.types.identifier(o),TARGET:a}));for(let e=0;e<t.length;e++){const r=t[e];const a=s[e];i.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(n.types.identifier(o),n.types.identifier(r)),a)))}i.push(n.types.expressionStatement(n.types.callExpression(r,[n.types.identifier(o)])))}return i}var p=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{systemGlobal:t="System",allowTopLevelThis:s=false}=r;const i=new WeakSet;const c={"AssignmentExpression|UpdateExpression"(e){if(i.has(e.node))return;i.add(e.node);const r=e.isAssignmentExpression()?e.get("left"):e.get("argument");if(r.isObjectPattern()||r.isArrayPattern()){const t=[e.node];for(const s of Object.keys(r.getBindingIdentifiers())){if(this.scope.getBinding(s)!==e.scope.getBinding(s)){return}const r=this.exports[s];if(!r)continue;for(const e of r){t.push(this.buildCall(e,n.types.identifier(s)).expression)}}e.replaceWith(n.types.sequenceExpression(t));return}if(!r.isIdentifier())return;const t=r.node.name;if(this.scope.getBinding(t)!==e.scope.getBinding(t))return;const s=this.exports[t];if(!s)return;let a=e.node;const o=n.types.isUpdateExpression(a,{prefix:false});if(o){a=n.types.binaryExpression(a.operator[0],n.types.unaryExpression("+",n.types.cloneNode(a.argument)),n.types.numericLiteral(1))}for(const e of s){a=this.buildCall(e,a).expression}if(o){a=n.types.sequenceExpression([a,e.node])}e.replaceWith(a)}};return{name:"transform-modules-systemjs",pre(){this.file.set("@babel/plugin-transform-modules-*","systemjs")},visitor:{["CallExpression"+(e.types.importExpression?"|ImportExpression":"")](e,r){if(e.isCallExpression()&&!n.types.isImport(e.node.callee))return;if(e.isCallExpression()){if(!this.file.has("@babel/plugin-proposal-dynamic-import")){{console.warn(d)}}}else{if(!this.file.has("@babel/plugin-proposal-dynamic-import")){throw new Error(u)}}e.replaceWith((0,o.buildDynamicImport)(e.node,false,true,(e=>n.types.callExpression(n.types.memberExpression(n.types.identifier(r.contextIdent),n.types.identifier("import")),[e]))))},MetaProperty(e,r){if(e.node.meta.name==="import"&&e.node.property.name==="meta"){e.replaceWith(n.types.memberExpression(n.types.identifier(r.contextIdent),n.types.identifier("meta")))}},ReferencedIdentifier(e,r){if(e.node.name==="__moduleName"&&!e.scope.hasBinding("__moduleName")){e.replaceWith(n.types.memberExpression(n.types.identifier(r.contextIdent),n.types.identifier("id")))}},Program:{enter(e,r){r.contextIdent=e.scope.generateUid("context");r.stringSpecifiers=new Set;if(!s){(0,o.rewriteThis)(e)}},exit(e,s){const i=e.scope;const d=i.generateUid("export");const{contextIdent:u,stringSpecifiers:p}=s;const f=Object.create(null);const y=[];const g=[];const h=[];const b=[];const x=[];const v=[];function addExportName(e,r){f[e]=f[e]||[];f[e].push(r)}function pushModule(e,r,t){let s;y.forEach((function(r){if(r.key===e){s=r}}));if(!s){y.push(s={key:e,imports:[],exports:[]})}s[r]=s[r].concat(t)}function buildExportCall(e,r){return n.types.expressionStatement(n.types.callExpression(n.types.identifier(d),[n.types.stringLiteral(e),r]))}const j=[];const w=[];const E=e.get("body");for(const e of E){if(e.isFunctionDeclaration()){g.push(e.node);v.push(e)}else if(e.isClassDeclaration()){x.push(n.types.cloneNode(e.node.id));e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(e.node.id),n.types.toExpression(e.node))))}else if(e.isVariableDeclaration()){e.node.kind="var"}else if(e.isImportDeclaration()){const r=e.node.source.value;pushModule(r,"imports",e.node.specifiers);for(const r of Object.keys(e.getBindingIdentifiers())){i.removeBinding(r);x.push(n.types.identifier(r))}e.remove()}else if(e.isExportAllDeclaration()){pushModule(e.node.source.value,"exports",e.node);e.remove()}else if(e.isExportDefaultDeclaration()){const r=e.node.declaration;if(n.types.isClassDeclaration(r)){const t=r.id;if(t){j.push("default");w.push(i.buildUndefinedNode());x.push(n.types.cloneNode(t));addExportName(t.name,"default");e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(t),n.types.toExpression(r))))}else{j.push("default");w.push(n.types.toExpression(r));v.push(e)}}else if(n.types.isFunctionDeclaration(r)){const t=r.id;if(t){g.push(r);j.push("default");w.push(n.types.cloneNode(t));addExportName(t.name,"default")}else{j.push("default");w.push(n.types.toExpression(r))}v.push(e)}else{e.replaceWith(buildExportCall("default",r))}}else if(e.isExportNamedDeclaration()){const r=e.node.declaration;if(r){e.replaceWith(r);if(n.types.isFunction(r)){const t=r.id.name;addExportName(t,t);g.push(r);j.push(t);w.push(n.types.cloneNode(r.id));v.push(e)}else if(n.types.isClass(r)){const t=r.id.name;j.push(t);w.push(i.buildUndefinedNode());x.push(n.types.cloneNode(r.id));e.replaceWith(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(r.id),n.types.toExpression(r))));addExportName(t,t)}else{if(n.types.isVariableDeclaration(r)){r.kind="var"}for(const e of Object.keys(n.types.getBindingIdentifiers(r))){addExportName(e,e)}}}else{const r=e.node.specifiers;if(r!=null&&r.length){if(e.node.source){pushModule(e.node.source.value,"exports",r);e.remove()}else{const t=[];for(const e of r){const{local:r,exported:s}=e;const a=i.getBinding(r.name);const o=getExportSpecifierName(s,p);if(a&&n.types.isFunctionDeclaration(a.path.node)){j.push(o);w.push(n.types.cloneNode(r))}else if(!a){t.push(buildExportCall(o,r))}addExportName(r.name,o)}e.replaceWithMultiple(t)}}else{e.remove()}}}}y.forEach((function(r){const t=[];const s=i.generateUid(r.key);for(let e of r.imports){if(n.types.isImportNamespaceSpecifier(e)){t.push(n.types.expressionStatement(n.types.assignmentExpression("=",e.local,n.types.identifier(s))))}else if(n.types.isImportDefaultSpecifier(e)){e=n.types.importSpecifier(e.local,n.types.identifier("default"))}if(n.types.isImportSpecifier(e)){const{imported:r}=e;t.push(n.types.expressionStatement(n.types.assignmentExpression("=",e.local,n.types.memberExpression(n.types.identifier(s),e.imported,r.type==="StringLiteral"))))}}if(r.exports.length){const a=[];const o=[];let i=false;for(const e of r.exports){if(n.types.isExportAllDeclaration(e)){i=true}else if(n.types.isExportSpecifier(e)){const r=getExportSpecifierName(e.exported,p);a.push(r);o.push(n.types.memberExpression(n.types.identifier(s),e.local,n.types.isStringLiteral(e.local)))}else{}}t.push(...constructExportCall(e,n.types.identifier(d),a,o,i?n.types.identifier(s):null,p))}b.push(n.types.stringLiteral(r.key));h.push(n.types.functionExpression(null,[n.types.identifier(s)],n.types.blockStatement(t)))}));let _=(0,o.getModuleName)(this.file.opts,r);if(_)_=n.types.stringLiteral(_);(0,a.default)(e,((e,r,t)=>{x.push(e);if(!t&&r in f){for(const e of f[r]){j.push(e);w.push(i.buildUndefinedNode())}}}));if(x.length){g.unshift(n.types.variableDeclaration("var",x.map((e=>n.types.variableDeclarator(e)))))}if(j.length){g.push(...constructExportCall(e,n.types.identifier(d),j,w,null,p))}e.traverse(c,{exports:f,buildCall:buildExportCall,scope:i});for(const e of v){e.remove()}let S=false;e.traverse({AwaitExpression(e){S=true;e.stop()},Function(e){e.skip()},noScope:true});e.node.body=[l({SYSTEM_REGISTER:n.types.memberExpression(n.types.identifier(t),n.types.identifier("register")),BEFORE_BODY:g,MODULE_NAME:_,SETTERS:n.types.arrayExpression(h),EXECUTE:n.types.functionExpression(null,[],n.types.blockStatement(e.node.body),false,S),SOURCES:n.types.arrayExpression(b),EXPORT_IDENTIFIER:n.types.identifier(d),CONTEXT_IDENTIFIER:n.types.identifier(u)})]}}}}}));r["default"]=p},1110:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(1017);var n=t(6646);var o=t(8304);const i=(0,o.template)(`\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n`);const l=(0,o.template)(`\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMONJS_ARGUMENTS);\n } else {\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n\n GLOBAL_TO_ASSIGN;\n }\n })(\n typeof globalThis !== "undefined" ? globalThis\n : typeof self !== "undefined" ? self\n : this,\n function(IMPORT_NAMES) {\n })\n`);var c=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const{globals:c,exactGlobals:d,allowTopLevelThis:u,strict:p,strictMode:f,noInterop:y,importInterop:g}=r;const h=(t=e.assumption("constantReexports"))!=null?t:r.loose;const b=(s=e.assumption("enumerableModuleMeta"))!=null?s:r.loose;function buildBrowserInit(e,r,t,s){const n=s?s.value:(0,a.basename)(t,(0,a.extname)(t));let l=o.types.memberExpression(o.types.identifier("global"),o.types.identifier(o.types.toIdentifier(n)));let c=[];if(r){const r=e[n];if(r){c=[];const e=r.split(".");l=e.slice(1).reduce(((e,r)=>{c.push(i({GLOBAL_REFERENCE:o.types.cloneNode(e)}));return o.types.memberExpression(e,o.types.identifier(r))}),o.types.memberExpression(o.types.identifier("global"),o.types.identifier(e[0])))}}c.push(o.types.expressionStatement(o.types.assignmentExpression("=",l,o.types.memberExpression(o.types.identifier("mod"),o.types.identifier("exports")))));return c}function buildBrowserArg(e,r,t){let s;if(r){const r=e[t];if(r){s=r.split(".").reduce(((e,r)=>o.types.memberExpression(e,o.types.identifier(r))),o.types.identifier("global"))}else{s=o.types.memberExpression(o.types.identifier("global"),o.types.identifier(o.types.toIdentifier(t)))}}else{const r=(0,a.basename)(t,(0,a.extname)(t));const n=e[r]||r;s=o.types.memberExpression(o.types.identifier("global"),o.types.identifier(o.types.toIdentifier(n)))}return s}return{name:"transform-modules-umd",visitor:{Program:{exit(e){if(!(0,n.isModule)(e))return;const t=c||{};const s=(0,n.getModuleName)(this.file.opts,r);let a;if(s)a=o.types.stringLiteral(s);const{meta:i,headers:x}=(0,n.rewriteModuleStatementsAndPrepareHeader)(e,{constantReexports:h,enumerableModuleMeta:b,strict:p,strictMode:f,allowTopLevelThis:u,noInterop:y,importInterop:g,filename:this.file.opts.filename});const v=[];const j=[];const w=[];const E=[];if((0,n.hasExports)(i)){v.push(o.types.stringLiteral("exports"));j.push(o.types.identifier("exports"));w.push(o.types.memberExpression(o.types.identifier("mod"),o.types.identifier("exports")));E.push(o.types.identifier(i.exportName))}for(const[r,s]of i.source){v.push(o.types.stringLiteral(r));j.push(o.types.callExpression(o.types.identifier("require"),[o.types.stringLiteral(r)]));w.push(buildBrowserArg(t,d,r));E.push(o.types.identifier(s.name));if(!(0,n.isSideEffectImport)(s)){const r=(0,n.wrapInterop)(e,o.types.identifier(s.name),s.interop);if(r){const e=o.types.expressionStatement(o.types.assignmentExpression("=",o.types.identifier(s.name),r));e.loc=i.loc;x.push(e)}}x.push(...(0,n.buildNamespaceInitStatements)(i,s,h))}(0,n.ensureStatementsHoisted)(x);e.unshiftContainer("body",x);const{body:_,directives:S}=e.node;e.node.directives=[];e.node.body=[];const k=e.pushContainer("body",[l({MODULE_NAME:a,AMD_ARGUMENTS:o.types.arrayExpression(v),COMMONJS_ARGUMENTS:j,BROWSER_ARGUMENTS:w,IMPORT_NAMES:E,GLOBAL_TO_ASSIGN:buildBrowserInit(t,d,this.filename||"unknown",a)})])[0];const C=k.get("expression.arguments")[1].get("body");C.pushContainer("directives",S);C.pushContainer("body",_)}}}}}));r["default"]=c},584:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9626);var a=t(5389);var n=(0,a.declare)(((e,r)=>{const{runtime:t}=r;if(t!==undefined&&typeof t!=="boolean"){throw new Error("The 'runtime' option must be boolean")}return(0,s.createRegExpFeaturePlugin)({name:"transform-named-capturing-groups-regex",feature:"namedCaptureGroups",options:{runtime:t}})}));r["default"]=n},5669:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-new-target",visitor:{MetaProperty(e){const r=e.get("meta");const t=e.get("property");const{scope:s}=e;if(r.isIdentifier({name:"new"})&&t.isIdentifier({name:"target"})){const r=e.findParent((e=>{if(e.isClass())return true;if(e.isFunction()&&!e.isArrowFunctionExpression()){if(e.isClassMethod({kind:"constructor"})){return false}return true}return false}));if(!r){throw e.buildCodeFrameError("new.target must be under a (non-arrow) function or a class.")}const{node:t}=r;if(a.types.isMethod(t)){e.replaceWith(s.buildUndefinedNode());return}const n=a.types.memberExpression(a.types.thisExpression(),a.types.identifier("constructor"));if(r.isClass()){e.replaceWith(n);return}if(!t.id){t.id=s.generateUidIdentifier("target")}else{let s=e.scope;const a=t.id.name;while(s!==r.parentPath.scope){if(s.hasOwnBinding(a)&&!s.bindingIdentifierEquals(a,t.id)){s.rename(a)}s=s.parent}}e.replaceWith(a.types.conditionalExpression(a.types.binaryExpression("instanceof",a.types.thisExpression(),a.types.cloneNode(t.id)),n,s.buildUndefinedNode()))}}}}}));r["default"]=n},9325:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)(((e,{loose:r=false})=>{var s;e.assertVersion(7);const n=(s=e.assumption("noDocumentAll"))!=null?s:r;return{name:"transform-nullish-coalescing-operator",inherits:t(7779)["default"],visitor:{LogicalExpression(e){const{node:r,scope:t}=e;if(r.operator!=="??"){return}let s;let o;if(t.isStatic(r.left)){s=r.left;o=a.types.cloneNode(r.left)}else if(t.path.isPattern()){e.replaceWith(a.template.statement.ast`(() => ${e.node})()`);return}else{s=t.generateUidIdentifierBasedOnNode(r.left);t.push({id:a.types.cloneNode(s)});o=a.types.assignmentExpression("=",s,r.left)}e.replaceWith(a.types.conditionalExpression(n?a.types.binaryExpression("!=",o,a.types.nullLiteral()):a.types.logicalExpression("&&",a.types.binaryExpression("!==",o,a.types.nullLiteral()),a.types.binaryExpression("!==",a.types.cloneNode(s),t.buildUndefinedNode())),a.types.cloneNode(s),r.right))}}}}));r["default"]=n},3613:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);function remover({node:e}){var r;const{extra:t}=e;if(t!=null&&(r=t.raw)!=null&&r.includes("_")){t.raw=t.raw.replace(/_/g,"")}}var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-numeric-separator",inherits:t(4100)["default"],visitor:{NumericLiteral:remover,BigIntLiteral:remover}}}));r["default"]=a},143:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(8304);var n=t(3892);var o=t(900);var i=t(4549);function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var l=_interopDefault(i);const{isObjectProperty:c,isArrayPattern:d,isObjectPattern:u,isAssignmentPattern:p,isRestElement:f,isIdentifier:y}=a.types;function shouldStoreRHSInTemporaryVariable(e){if(d(e)){const r=e.elements.filter((e=>e!==null));if(r.length>1)return true;else return shouldStoreRHSInTemporaryVariable(r[0])}else if(u(e)){const{properties:r}=e;if(r.length>1)return true;else if(r.length===0)return false;else{const e=r[0];if(c(e)){return shouldStoreRHSInTemporaryVariable(e.value)}else{return shouldStoreRHSInTemporaryVariable(e)}}}else if(p(e)){return shouldStoreRHSInTemporaryVariable(e.left)}else if(f(e)){if(y(e.argument))return true;return shouldStoreRHSInTemporaryVariable(e.argument)}else{return false}}const{isAssignmentPattern:g,isObjectProperty:h}=a.types;{const e=a.types.identifier("a");const r=a.types.objectProperty(a.types.identifier("key"),e);const t=a.types.objectPattern([r]);var b=a.types.isReferenced(e,r,t)?1:0}var x=s.declare(((e,r)=>{var s,i,c,d;e.assertVersion(7);const u=e.targets();const p=!o.isRequired("es6.object.assign",u,{compatData:l.default});const{useBuiltIns:f=p,loose:y=false}=r;if(typeof y!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const x=(s=e.assumption("ignoreFunctionLength"))!=null?s:y;const v=(i=e.assumption("objectRestNoSymbols"))!=null?i:y;const j=(c=e.assumption("pureGetters"))!=null?c:y;const w=(d=e.assumption("setSpreadProperties"))!=null?d:y;function getExtendsHelper(e){return f?a.types.memberExpression(a.types.identifier("Object"),a.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let r=false;visitRestElements(e,(e=>{r=true;e.stop()}));return r}function hasObjectPatternRestElement(e){let r=false;visitRestElements(e,(e=>{if(e.parentPath.isObjectPattern()){r=true;e.stop()}}));return r}function visitRestElements(e,r){e.traverse({Expression(e){const{parent:r,key:t}=e;if(g(r)&&t==="right"||h(r)&&r.computed&&t==="key"){e.skip()}},RestElement:r})}function hasSpread(e){for(const r of e.properties){if(a.types.isSpreadElement(r)){return true}}return false}function extractNormalizedKeys(e){const r=e.properties;const t=[];let s=true;let n=false;for(const e of r){if(a.types.isIdentifier(e.key)&&!e.computed){t.push(a.types.stringLiteral(e.key.name))}else if(a.types.isTemplateLiteral(e.key)){t.push(a.types.cloneNode(e.key));n=true}else if(a.types.isLiteral(e.key)){t.push(a.types.stringLiteral(String(e.key.value)))}else{t.push(a.types.cloneNode(e.key));s=false}}return{keys:t,allLiteral:s,hasTemplateLiteral:n}}function replaceImpureComputedKeys(e,r){const t=[];for(const s of e){const e=s.get("key");if(s.node.computed&&!e.isPure()){const s=r.generateUidBasedOnNode(e.node);const n=a.types.variableDeclarator(a.types.identifier(s),e.node);t.push(n);e.replaceWith(a.types.identifier(s))}}return t}function removeUnusedExcludedKeys(e){const r=e.getOuterBindingIdentifierPaths();Object.keys(r).forEach((t=>{const s=r[t].parentPath;if(e.scope.getBinding(t).references>b||!s.isObjectProperty()){return}s.remove()}))}function createObjectRest(e,r,t){const s=e.get("properties");const n=s[s.length-1];a.types.assertRestElement(n.node);const o=a.types.cloneNode(n.node);n.remove();const i=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:d}=extractNormalizedKeys(e.node);if(l.length===0){return[i,o.argument,a.types.callExpression(getExtendsHelper(r),[a.types.objectExpression([]),a.types.sequenceExpression([a.types.callExpression(r.addHelper("objectDestructuringEmpty"),[a.types.cloneNode(t)]),a.types.cloneNode(t)])])]}let u;if(!c){u=a.types.callExpression(a.types.memberExpression(a.types.arrayExpression(l),a.types.identifier("map")),[r.addHelper("toPropertyKey")])}else{u=a.types.arrayExpression(l);if(!d&&!a.types.isProgram(e.scope.block)){const r=e.findParent((e=>e.isProgram()));const t=e.scope.generateUidIdentifier("excluded");r.scope.push({id:t,init:u,kind:"const"});u=a.types.cloneNode(t)}}return[i,o.argument,a.types.callExpression(r.addHelper(`objectWithoutProperties${v?"Loose":""}`),[a.types.cloneNode(t),u])]}function replaceRestElement(e,r,t){if(r.isAssignmentPattern()){replaceRestElement(e,r.get("left"),t);return}if(r.isArrayPattern()&&hasRestElement(r)){const s=r.get("elements");for(let r=0;r<s.length;r++){replaceRestElement(e,s[r],t)}}if(r.isObjectPattern()&&hasRestElement(r)){const s=e.scope.generateUidIdentifier("ref");const n=a.types.variableDeclaration("let",[a.types.variableDeclarator(r.node,s)]);if(t){t.push(n)}else{e.ensureBlock();e.get("body").unshiftContainer("body",n)}r.replaceWith(a.types.cloneNode(s))}}return{name:"transform-object-rest-spread",inherits:t(3322)["default"],visitor:{Function(e){const r=e.get("params");const t=new Set;const s=new Set;for(let e=0;e<r.length;++e){const a=r[e];if(hasRestElement(a)){t.add(e);for(const e of Object.keys(a.getBindingIdentifiers())){s.add(e)}}}let a=false;const IdentifierHandler=function(e,r){const t=e.node.name;if(e.scope.getBinding(t)===r.getBinding(t)&&s.has(t)){a=true;e.stop()}};let o;for(o=0;o<r.length&&!a;++o){const s=r[o];if(!t.has(o)){if(s.isReferencedIdentifier()||s.isBindingIdentifier()){IdentifierHandler(s,e.scope)}else{s.traverse({"Scope|TypeAnnotation|TSTypeAnnotation":e=>e.skip(),"ReferencedIdentifier|BindingIdentifier":IdentifierHandler},e.scope)}}}if(!a){for(let s=0;s<r.length;++s){const a=r[s];if(t.has(s)){replaceRestElement(e,a)}}}else{const shouldTransformParam=e=>e>=o-1||t.has(e);n.convertFunctionParams(e,x,shouldTransformParam,replaceRestElement)}},VariableDeclarator(e,r){if(!e.get("id").isObjectPattern()){return}let t=e;const s=e;visitRestElements(e.get("id"),(e=>{if(!e.parentPath.isObjectPattern()){return}if(shouldStoreRHSInTemporaryVariable(s.node.id)&&!a.types.isIdentifier(s.node.init)){const r=e.scope.generateUidIdentifierBasedOnNode(s.node.init,"ref");s.insertBefore(a.types.variableDeclarator(r,s.node.init));s.replaceWith(a.types.variableDeclarator(s.node.id,a.types.cloneNode(r)));return}let n=s.node.init;const o=[];let i;e.findParent((e=>{if(e.isObjectProperty()){o.unshift(e)}else if(e.isVariableDeclarator()){i=e.parentPath.node.kind;return true}}));const l=replaceImpureComputedKeys(o,e.scope);o.forEach((e=>{const{node:r}=e;n=a.types.memberExpression(n,a.types.cloneNode(r.key),r.computed||a.types.isLiteral(r.key))}));const c=e.findParent((e=>e.isObjectPattern()));const[d,u,p]=createObjectRest(c,r,n);if(j){removeUnusedExcludedKeys(c)}a.types.assertIdentifier(u);t.insertBefore(d);t.insertBefore(l);t=t.insertAfter(a.types.variableDeclarator(u,p))[0];e.scope.registerBinding(i,t);if(c.node.properties.length===0){c.findParent((e=>e.isObjectProperty()||e.isVariableDeclarator())).remove()}}))},ExportNamedDeclaration(e){const r=e.get("declaration");if(!r.isVariableDeclaration())return;const t=r.get("declarations").some((e=>hasObjectPatternRestElement(e.get("id"))));if(!t)return;const s=[];for(const r of Object.keys(e.getOuterBindingIdentifiers(true))){s.push(a.types.exportSpecifier(a.types.identifier(r),a.types.identifier(r)))}e.replaceWith(r.node);e.insertAfter(a.types.exportNamedDeclaration(null,s))},CatchClause(e){const r=e.get("param");replaceRestElement(e,r)},AssignmentExpression(e,r){const t=e.get("left");if(t.isObjectPattern()&&hasRestElement(t)){const s=[];const n=e.scope.generateUidBasedOnNode(e.node.right,"ref");s.push(a.types.variableDeclaration("var",[a.types.variableDeclarator(a.types.identifier(n),e.node.right)]));const[o,i,l]=createObjectRest(t,r,a.types.identifier(n));if(o.length>0){s.push(a.types.variableDeclaration("var",o))}const c=a.types.cloneNode(e.node);c.right=a.types.identifier(n);s.push(a.types.expressionStatement(c));s.push(a.types.expressionStatement(a.types.assignmentExpression("=",i,l)));s.push(a.types.expressionStatement(a.types.identifier(n)));e.replaceWithMultiple(s)}},ForXStatement(e){const{node:r,scope:t}=e;const s=e.get("left");const n=r.left;if(!hasObjectPatternRestElement(s)){return}if(!a.types.isVariableDeclaration(n)){const s=t.generateUidIdentifier("ref");r.left=a.types.variableDeclaration("var",[a.types.variableDeclarator(s)]);e.ensureBlock();const o=e.node.body;if(o.body.length===0&&e.isCompletionRecord()){o.body.unshift(a.types.expressionStatement(t.buildUndefinedNode()))}o.body.unshift(a.types.expressionStatement(a.types.assignmentExpression("=",n,a.types.cloneNode(s))))}else{const s=n.declarations[0].id;const o=t.generateUidIdentifier("ref");r.left=a.types.variableDeclaration(n.kind,[a.types.variableDeclarator(o,null)]);e.ensureBlock();const i=r.body;i.body.unshift(a.types.variableDeclaration(r.left.kind,[a.types.variableDeclarator(s,a.types.cloneNode(o))]))}},ArrayPattern(e){const r=[];visitRestElements(e,(e=>{if(!e.parentPath.isObjectPattern()){return}const t=e.parentPath;const s=e.scope.generateUidIdentifier("ref");r.push(a.types.variableDeclarator(t.node,s));t.replaceWith(a.types.cloneNode(s));e.skip()}));if(r.length>0){const t=e.getStatementParent();const s=t.node;const n=s.type==="VariableDeclaration"?s.kind:"var";t.insertAfter(a.types.variableDeclaration(n,r))}},ObjectExpression(e,r){if(!hasSpread(e.node))return;let t;if(w){t=getExtendsHelper(r)}else{try{t=r.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;t=r.addHelper("objectSpread")}}let s=null;let n=[];function make(){const e=n.length>0;const r=a.types.objectExpression(n);n=[];if(!s){s=a.types.callExpression(t,[r]);return}if(j){if(e){s.arguments.push(r)}return}s=a.types.callExpression(a.types.cloneNode(t),[s,...e?[a.types.objectExpression([]),r]:[]])}for(const r of e.node.properties){if(a.types.isSpreadElement(r)){make();s.arguments.push(r.argument)}else{n.push(r)}}if(n.length)make();e.replaceWith(s)}}}}));r["default"]=x},538:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(9775);var n=t(8304);function replacePropertySuper(e,r,t){const s=new a.default({getObjectRef:r,methodPath:e,file:t});s.replace()}var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-object-super",visitor:{ObjectExpression(e,r){let t;const getObjectRef=()=>t=t||e.scope.generateUidIdentifier("obj");e.get("properties").forEach((e=>{if(!e.isMethod())return;replacePropertySuper(e,getObjectRef,r.file)}));if(t){e.scope.push({id:n.types.cloneNode(t)});e.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(t),e.node))}}}}}));r["default"]=o},5549:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-optional-catch-binding",inherits:t(3720)["default"],visitor:{CatchClause(e){if(!e.node.param){const r=e.scope.generateUidIdentifier("unused");const t=e.get("param");t.replaceWith(r)}}}}}));r["default"]=a},3107:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(8304);var n=t(9769);function willPathCastToBoolean(e){const r=findOutermostTransparentParent(e);const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}function findOutermostTransparentParent(e){let r=e;e.findParent((e=>{if(!n.isTransparentExprWrapper(e.node))return true;r=e}));return r}const last=e=>e[e.length-1];function isSimpleMemberExpression(e){e=n.skipTransparentExprWrapperNodes(e);return a.types.isIdentifier(e)||a.types.isSuper(e)||a.types.isMemberExpression(e)&&!e.computed&&isSimpleMemberExpression(e.object)}function needsMemoize(e){let r=e;const{scope:t}=e;while(r.isOptionalMemberExpression()||r.isOptionalCallExpression()){const{node:e}=r;const s=n.skipTransparentExprWrappers(r.isOptionalMemberExpression()?r.get("object"):r.get("callee"));if(e.optional){return!t.isStatic(s.node)}r=s}}const o=a.template.expression(`%%check%% === null || %%ref%% === void 0`);const i=a.template.expression(`%%check%% == null`);const l=a.template.expression(`%%check%% !== null && %%ref%% !== void 0`);const c=a.template.expression(`%%check%% != null`);function transformOptionalChain(e,{pureGetters:r,noDocumentAll:t},s,d,u){const{scope:p}=e;if(p.path.isPattern()&&needsMemoize(e)){s.replaceWith(a.template.expression.ast`(() => ${s.node})()`);return}const f=[];let y=e;while(y.isOptionalMemberExpression()||y.isOptionalCallExpression()){const{node:e}=y;if(e.optional){f.push(e)}if(y.isOptionalMemberExpression()){y.node.type="MemberExpression";y=n.skipTransparentExprWrappers(y.get("object"))}else if(y.isOptionalCallExpression()){y.node.type="CallExpression";y=n.skipTransparentExprWrappers(y.get("callee"))}}if(f.length===0){return}const g=[];let h;for(let e=f.length-1;e>=0;e--){const t=f[e];const s=a.types.isCallExpression(t);const o=s?t.callee:t.object;const i=n.skipTransparentExprWrapperNodes(o);let l;let c;if(s&&a.types.isIdentifier(i,{name:"eval"})){c=l=i;t.callee=a.types.sequenceExpression([a.types.numericLiteral(0),l])}else if(r&&s&&isSimpleMemberExpression(i)){c=l=t.callee}else if(p.isStatic(i)){c=l=o}else{if(!h||s){h=p.generateUidIdentifierBasedOnNode(i);p.push({id:a.types.cloneNode(h)})}l=h;c=a.types.assignmentExpression("=",a.types.cloneNode(h),o);s?t.callee=l:t.object=l}if(s&&a.types.isMemberExpression(i)){if(r&&isSimpleMemberExpression(i)){t.callee=o}else{const{object:e}=i;let r;if(a.types.isSuper(e)){r=a.types.thisExpression()}else{const t=p.maybeGenerateMemoised(e);if(t){r=t;i.object=a.types.assignmentExpression("=",t,e)}else{r=e}}t.arguments.unshift(a.types.cloneNode(r));t.callee=a.types.memberExpression(t.callee,a.types.identifier("call"))}}const d={check:a.types.cloneNode(c),ref:a.types.cloneNode(l)};Object.defineProperty(d,"ref",{enumerable:false});g.push(d)}let b=s.node;if(u)b=u(b);const x=a.types.isBooleanLiteral(d);const v=x&&d.value===false;const j=!x&&a.types.isUnaryExpression(d,{operator:"void"});const w=a.types.isExpressionStatement(s.parent)&&!s.isCompletionRecord()||a.types.isSequenceExpression(s.parent)&&last(s.parent.expressions)!==s.node;const E=v?t?c:l:t?i:o;const _=v?"&&":"||";const S=g.map(E).reduce(((e,r)=>a.types.logicalExpression(_,e,r)));s.replaceWith(x||j&&w?a.types.logicalExpression(_,S,b):a.types.conditionalExpression(S,d,b))}function transform(e,r){const{scope:t}=e;const s=findOutermostTransparentParent(e);const{parentPath:o}=s;if(o.isUnaryExpression({operator:"delete"})){transformOptionalChain(e,r,o,a.types.booleanLiteral(true))}else{let i;if(o.isCallExpression({callee:s.node})&&e.isOptionalMemberExpression()){i=e=>{var s;const o=n.skipTransparentExprWrapperNodes(e.object);let i;if(!r.pureGetters||!isSimpleMemberExpression(o)){i=t.maybeGenerateMemoised(o);if(i){e.object=a.types.assignmentExpression("=",i,o)}}return a.types.callExpression(a.types.memberExpression(e,a.types.identifier("bind")),[a.types.cloneNode((s=i)!=null?s:o)])}}transformOptionalChain(e,r,e,willPathCastToBoolean(s)?a.types.booleanLiteral(false):t.buildUndefinedNode(),i)}}var d=s.declare(((e,r)=>{var s,a;e.assertVersion(7);const{loose:n=false}=r;const o=(s=e.assumption("noDocumentAll"))!=null?s:n;const i=(a=e.assumption("pureGetters"))!=null?a:n;return{name:"transform-optional-chaining",inherits:t(9430)["default"],visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){transform(e,{noDocumentAll:o,pureGetters:i})}}}}));r["default"]=d;r.transform=transform;r.transformOptionalChain=transformOptionalChain},3892:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"convertFunctionParams",{enumerable:true,get:function(){return a.default}});r["default"]=void 0;var s=t(5389);var a=t(5022);var n=t(5852);var o=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const o=(t=e.assumption("ignoreFunctionLength"))!=null?t:r.loose;const i=(s=e.assumption("noNewArrows"))!=null?s:true;return{name:"transform-parameters",visitor:{Function(e){if(e.isArrowFunctionExpression()&&e.get("params").some((e=>e.isRestElement()||e.isAssignmentPattern()))){e.arrowFunctionToExpression({allowInsertArrowWithRest:false,noNewArrows:i});if(!e.isFunctionExpression())return}const r=(0,n.default)(e);const t=(0,a.default)(e,o);if(r||t){e.scope.crawl()}}}}}));r["default"]=o},5022:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=convertFunctionParams;var s=t(8304);var a=t(5705);const n=s.template.statement(`\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n`);const o=s.template.statement(`\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n`);const i=s.template.statement(`\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n`);const l=s.template.statement(`\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n`);function convertFunctionParams(e,r,t,c){const d=e.get("params");const u=d.every((e=>e.isIdentifier()));if(u)return false;const{node:p,scope:f}=e;const y=[];const g=new Set;for(const e of d){(0,a.collectShadowedParamsNames)(e,f,g)}const h={needsOuterBinding:false,scope:f};if(g.size===0){for(const e of d){if(!e.isIdentifier())e.traverse(a.iifeVisitor,h);if(h.needsOuterBinding)break}}let b=null;for(let a=0;a<d.length;a++){const u=d[a];if(t&&!t(a)){continue}const g=[];if(c){c(e,u,g)}const h=u.isAssignmentPattern();if(h&&(r||s.types.isMethod(p,{kind:"set"}))){const e=u.get("left");const r=u.get("right");const t=f.buildUndefinedNode();if(e.isIdentifier()){y.push(o({ASSIGNMENT_IDENTIFIER:s.types.cloneNode(e.node),DEFAULT_VALUE:r.node,UNDEFINED:t}));u.replaceWith(e.node)}else if(e.isObjectPattern()||e.isArrayPattern()){const a=f.generateUidIdentifier();y.push(i({ASSIGNMENT_IDENTIFIER:e.node,DEFAULT_VALUE:r.node,PARAMETER_NAME:s.types.cloneNode(a),UNDEFINED:t}));u.replaceWith(a)}}else if(h){if(b===null)b=a;const e=u.get("left");const r=u.get("right");const t=n({VARIABLE_NAME:e.node,DEFAULT_VALUE:r.node,ARGUMENT_KEY:s.types.numericLiteral(a)});y.push(t)}else if(b!==null){const e=l([u.node,s.types.numericLiteral(a)]);y.push(e)}else if(u.isObjectPattern()||u.isArrayPattern()){const r=e.scope.generateUidIdentifier("ref");r.typeAnnotation=u.node.typeAnnotation;const t=s.types.variableDeclaration("let",[s.types.variableDeclarator(u.node,r)]);y.push(t);u.replaceWith(s.types.cloneNode(r))}if(g){for(const e of g){y.push(e)}}}if(b!==null){p.params=p.params.slice(0,b)}e.ensureBlock();const{async:x,generator:v}=p;if(v||h.needsOuterBinding||g.size>0){y.push((0,a.buildScopeIIFE)(g,e.node.body));e.set("body",s.types.blockStatement(y));const r=e.get("body.body");const t=r[r.length-1].get("argument.callee");t.arrowFunctionToExpression();t.node.generator=v;t.node.async=x;p.generator=false;p.async=false;if(x){e.node.body=s.template.statement.ast`{ + try { + ${e.node.body.body} + } catch (e) { + return Promise.reject(e); + } + }`}}else{e.get("body").unshiftContainer("body",y)}return true}},5852:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=convertFunctionRest;var s=t(8304);var a=t(5705);const n=s.template.statement(`\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n`);const o=s.template.expression(`\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n`);const i=s.template.expression(`\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n`);const l=s.template.expression(`\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n`);function referencesRest(e,r){if(e.node.name===r.name){return e.scope.bindingIdentifierEquals(r.name,r.outerBinding)}return false}const c={Scope(e,r){if(!e.scope.bindingIdentifierEquals(r.name,r.outerBinding)){e.skip()}},Flow(e){if(e.isTypeCastExpression())return;e.skip()},Function(e,r){const t=r.noOptimise;r.noOptimise=true;e.traverse(c,r);r.noOptimise=t;e.skip()},ReferencedIdentifier(e,r){const{node:t}=e;if(t.name==="arguments"){r.deopted=true}if(!referencesRest(e,r))return;if(r.noOptimise){r.deopted=true}else{const{parentPath:s}=e;if(s.listKey==="params"&&s.key<r.offset){return}if(s.isMemberExpression({object:t})){const t=s.parentPath;const a=!r.deopted&&!(t.isAssignmentExpression()&&s.node===t.node.left||t.isLVal()||t.isForXStatement()||t.isUpdateExpression()||t.isUnaryExpression({operator:"delete"})||(t.isCallExpression()||t.isNewExpression())&&s.node===t.node.callee);if(a){if(s.node.computed){if(s.get("property").isBaseType("number")){r.candidates.push({cause:"indexGetter",path:e});return}}else if(s.node.property.name==="length"){r.candidates.push({cause:"lengthGetter",path:e});return}}}if(r.offset===0&&s.isSpreadElement()){const t=s.parentPath;if(t.isCallExpression()&&t.node.arguments.length===1){r.candidates.push({cause:"argSpread",path:e});return}}r.references.push(e)}},BindingIdentifier(e,r){if(referencesRest(e,r)){r.deopted=true}}};function getParamsCount(e){let r=e.params.length;if(r>0&&s.types.isIdentifier(e.params[0],{name:"this"})){r-=1}return r}function hasRest(e){const r=e.params.length;return r>0&&s.types.isRestElement(e.params[r-1])}function optimiseIndexGetter(e,r,t){const a=s.types.numericLiteral(t);let n;const l=e.parent;if(s.types.isNumericLiteral(l.property)){n=s.types.numericLiteral(l.property.value+t)}else if(t===0){n=l.property}else{n=s.types.binaryExpression("+",l.property,s.types.cloneNode(a))}const{scope:c,parentPath:d}=e;if(!c.isPure(n)){const e=c.generateUidIdentifierBasedOnNode(n);c.push({id:e,kind:"var"});d.replaceWith(i({ARGUMENTS:r,OFFSET:a,INDEX:n,REF:s.types.cloneNode(e)}))}else{d.replaceWith(o({ARGUMENTS:r,OFFSET:a,INDEX:n}));const e=d;const t=e.get("test");const s=t.get("left").evaluate();if(s.confident){if(s.value===true){e.replaceWith(c.buildUndefinedNode())}else{t.replaceWith(t.get("right"))}}}}function optimiseLengthGetter(e,r,t){if(t){e.parentPath.replaceWith(l({ARGUMENTS:r,OFFSET:s.types.numericLiteral(t)}))}else{e.replaceWith(r)}}function convertFunctionRest(e){const{node:r,scope:t}=e;if(!hasRest(r))return false;const o=e.get(`params.${r.params.length-1}.argument`);if(!o.isIdentifier()){const r=new Set;(0,a.collectShadowedParamsNames)(o,e.scope,r);let n=r.size>0;if(!n){const e={needsOuterBinding:false,scope:t};o.traverse(a.iifeVisitor,e);n=e.needsOuterBinding}if(n){e.ensureBlock();e.set("body",s.types.blockStatement([(0,a.buildScopeIIFE)(r,e.node.body)]))}}let i=o.node;r.params.pop();if(s.types.isPattern(i)){const a=i;i=t.generateUidIdentifier("ref");const n=s.types.variableDeclaration("let",[s.types.variableDeclarator(a,i)]);e.ensureBlock();r.body.body.unshift(n)}else if(i.name==="arguments"){t.rename(i.name)}const l=s.types.identifier("arguments");const d=getParamsCount(r);const u={references:[],offset:d,argumentsNode:l,outerBinding:t.getBindingIdentifier(i.name),candidates:[],name:i.name,deopted:false};e.traverse(c,u);if(!u.deopted&&!u.references.length){for(const{path:e,cause:r}of u.candidates){const t=s.types.cloneNode(l);switch(r){case"indexGetter":optimiseIndexGetter(e,t,u.offset);break;case"lengthGetter":optimiseLengthGetter(e,t,u.offset);break;default:e.replaceWith(t)}}return true}u.references.push(...u.candidates.map((({path:e})=>e)));const p=s.types.numericLiteral(d);const f=t.generateUidIdentifier("key");const y=t.generateUidIdentifier("len");let g,h;if(d){g=s.types.binaryExpression("-",s.types.cloneNode(f),s.types.cloneNode(p));h=s.types.conditionalExpression(s.types.binaryExpression(">",s.types.cloneNode(y),s.types.cloneNode(p)),s.types.binaryExpression("-",s.types.cloneNode(y),s.types.cloneNode(p)),s.types.numericLiteral(0))}else{g=s.types.identifier(f.name);h=s.types.identifier(y.name)}const b=n({ARGUMENTS:l,ARRAY_KEY:g,ARRAY_LEN:h,START:p,ARRAY:i,KEY:f,LEN:y});if(u.deopted){r.body.body.unshift(b)}else{let r=e.getEarliestCommonAncestorFrom(u.references).getStatementParent();r.findParent((e=>{if(e.isLoop()){r=e}else{return e.isFunction()}}));r.insertBefore(b)}return true}},5705:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildScopeIIFE=buildScopeIIFE;r.collectShadowedParamsNames=collectShadowedParamsNames;r.iifeVisitor=void 0;var s=t(8304);const a={"ReferencedIdentifier|BindingIdentifier"(e,r){const{scope:t,node:s}=e;const{name:a}=s;if(a==="eval"||t.getBinding(a)===r.scope.parent.getBinding(a)&&r.scope.hasOwnBinding(a)){r.needsOuterBinding=true;e.stop()}},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()};r.iifeVisitor=a;function collectShadowedParamsNames(e,r,t){for(const a of Object.keys(e.getBindingIdentifiers())){var s;const e=(s=r.bindings[a])==null?void 0:s.constantViolations;if(e){for(const r of e){const e=r.node;switch(e.type){case"VariableDeclarator":{if(e.init===null){const e=r.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){r.remove();break}}t.add(a);break}case"FunctionDeclaration":t.add(a);break}}}}}function buildScopeIIFE(e,r){const t=[];const a=[];for(const r of e){t.push(s.types.identifier(r));a.push(s.types.identifier(r))}return s.types.returnStatement(s.types.callExpression(s.types.arrowFunctionExpression(a,r),t))}},7255:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"convertFunctionParams",{enumerable:true,get:function(){return a.default}});r["default"]=void 0;var s=t(6770);var a=t(9302);var n=t(3962);var o=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const o=(t=e.assumption("ignoreFunctionLength"))!=null?t:r.loose;const i=(s=e.assumption("noNewArrows"))!=null?s:true;return{name:"transform-parameters",visitor:{Function(e){if(e.isArrowFunctionExpression()&&e.get("params").some((e=>e.isRestElement()||e.isAssignmentPattern()))){e.arrowFunctionToExpression({allowInsertArrowWithRest:false,noNewArrows:i});if(!e.isFunctionExpression())return}const r=(0,n.default)(e);const t=(0,a.default)(e,o);if(r||t){e.scope.crawl()}}}}}));r["default"]=o},9302:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=convertFunctionParams;var s=t(8304);var a=t(897);const n=s.template.statement(`\n let VARIABLE_NAME =\n arguments.length > ARGUMENT_KEY && arguments[ARGUMENT_KEY] !== undefined ?\n arguments[ARGUMENT_KEY]\n :\n DEFAULT_VALUE;\n`);const o=s.template.statement(`\n if (ASSIGNMENT_IDENTIFIER === UNDEFINED) {\n ASSIGNMENT_IDENTIFIER = DEFAULT_VALUE;\n }\n`);const i=s.template.statement(`\n let ASSIGNMENT_IDENTIFIER = PARAMETER_NAME === UNDEFINED ? DEFAULT_VALUE : PARAMETER_NAME ;\n`);const l=s.template.statement(`\n let $0 = arguments.length > $1 ? arguments[$1] : undefined;\n`);function convertFunctionParams(e,r,t,c){const d=e.get("params");const u=d.every((e=>e.isIdentifier()));if(u)return false;const{node:p,scope:f}=e;const y=[];const g=new Set;for(const e of d){(0,a.collectShadowedParamsNames)(e,f,g)}const h={needsOuterBinding:false,scope:f};if(g.size===0){for(const e of d){if(!e.isIdentifier())e.traverse(a.iifeVisitor,h);if(h.needsOuterBinding)break}}let b=null;for(let a=0;a<d.length;a++){const u=d[a];if(t&&!t(a)){continue}const g=[];if(c){c(e,u,g)}const h=u.isAssignmentPattern();if(h&&(r||s.types.isMethod(p,{kind:"set"}))){const e=u.get("left");const r=u.get("right");const t=f.buildUndefinedNode();if(e.isIdentifier()){y.push(o({ASSIGNMENT_IDENTIFIER:s.types.cloneNode(e.node),DEFAULT_VALUE:r.node,UNDEFINED:t}));u.replaceWith(e.node)}else if(e.isObjectPattern()||e.isArrayPattern()){const a=f.generateUidIdentifier();y.push(i({ASSIGNMENT_IDENTIFIER:e.node,DEFAULT_VALUE:r.node,PARAMETER_NAME:s.types.cloneNode(a),UNDEFINED:t}));u.replaceWith(a)}}else if(h){if(b===null)b=a;const e=u.get("left");const r=u.get("right");const t=n({VARIABLE_NAME:e.node,DEFAULT_VALUE:r.node,ARGUMENT_KEY:s.types.numericLiteral(a)});y.push(t)}else if(b!==null){const e=l([u.node,s.types.numericLiteral(a)]);y.push(e)}else if(u.isObjectPattern()||u.isArrayPattern()){const r=e.scope.generateUidIdentifier("ref");r.typeAnnotation=u.node.typeAnnotation;const t=s.types.variableDeclaration("let",[s.types.variableDeclarator(u.node,r)]);y.push(t);u.replaceWith(s.types.cloneNode(r))}if(g){for(const e of g){y.push(e)}}}if(b!==null){p.params=p.params.slice(0,b)}e.ensureBlock();const{async:x,generator:v}=p;if(v||h.needsOuterBinding||g.size>0){y.push((0,a.buildScopeIIFE)(g,e.node.body));e.set("body",s.types.blockStatement(y));const r=e.get("body.body");const t=r[r.length-1].get("argument.callee");t.arrowFunctionToExpression();t.node.generator=v;t.node.async=x;p.generator=false;p.async=false;if(x){e.node.body=s.template.statement.ast`{ + try { + ${e.node.body.body} + } catch (e) { + return Promise.reject(e); + } + }`}}else{e.get("body").unshiftContainer("body",y)}return true}},3962:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=convertFunctionRest;var s=t(8304);var a=t(897);const n=s.template.statement(`\n for (var LEN = ARGUMENTS.length,\n ARRAY = new Array(ARRAY_LEN),\n KEY = START;\n KEY < LEN;\n KEY++) {\n ARRAY[ARRAY_KEY] = ARGUMENTS[KEY];\n }\n`);const o=s.template.expression(`\n (INDEX < OFFSET || ARGUMENTS.length <= INDEX) ? undefined : ARGUMENTS[INDEX]\n`);const i=s.template.expression(`\n REF = INDEX, (REF < OFFSET || ARGUMENTS.length <= REF) ? undefined : ARGUMENTS[REF]\n`);const l=s.template.expression(`\n ARGUMENTS.length <= OFFSET ? 0 : ARGUMENTS.length - OFFSET\n`);function referencesRest(e,r){if(e.node.name===r.name){return e.scope.bindingIdentifierEquals(r.name,r.outerBinding)}return false}const c={Scope(e,r){if(!e.scope.bindingIdentifierEquals(r.name,r.outerBinding)){e.skip()}},Flow(e){if(e.isTypeCastExpression())return;e.skip()},Function(e,r){const t=r.noOptimise;r.noOptimise=true;e.traverse(c,r);r.noOptimise=t;e.skip()},ReferencedIdentifier(e,r){const{node:t}=e;if(t.name==="arguments"){r.deopted=true}if(!referencesRest(e,r))return;if(r.noOptimise){r.deopted=true}else{const{parentPath:s}=e;if(s.listKey==="params"&&s.key<r.offset){return}if(s.isMemberExpression({object:t})){const t=s.parentPath;const a=!r.deopted&&!(t.isAssignmentExpression()&&s.node===t.node.left||t.isLVal()||t.isForXStatement()||t.isUpdateExpression()||t.isUnaryExpression({operator:"delete"})||(t.isCallExpression()||t.isNewExpression())&&s.node===t.node.callee);if(a){if(s.node.computed){if(s.get("property").isBaseType("number")){r.candidates.push({cause:"indexGetter",path:e});return}}else if(s.node.property.name==="length"){r.candidates.push({cause:"lengthGetter",path:e});return}}}if(r.offset===0&&s.isSpreadElement()){const t=s.parentPath;if(t.isCallExpression()&&t.node.arguments.length===1){r.candidates.push({cause:"argSpread",path:e});return}}r.references.push(e)}},BindingIdentifier(e,r){if(referencesRest(e,r)){r.deopted=true}}};function getParamsCount(e){let r=e.params.length;if(r>0&&s.types.isIdentifier(e.params[0],{name:"this"})){r-=1}return r}function hasRest(e){const r=e.params.length;return r>0&&s.types.isRestElement(e.params[r-1])}function optimiseIndexGetter(e,r,t){const a=s.types.numericLiteral(t);let n;const l=e.parent;if(s.types.isNumericLiteral(l.property)){n=s.types.numericLiteral(l.property.value+t)}else if(t===0){n=l.property}else{n=s.types.binaryExpression("+",l.property,s.types.cloneNode(a))}const{scope:c,parentPath:d}=e;if(!c.isPure(n)){const e=c.generateUidIdentifierBasedOnNode(n);c.push({id:e,kind:"var"});d.replaceWith(i({ARGUMENTS:r,OFFSET:a,INDEX:n,REF:s.types.cloneNode(e)}))}else{d.replaceWith(o({ARGUMENTS:r,OFFSET:a,INDEX:n}));const e=d;const t=e.get("test");const s=t.get("left").evaluate();if(s.confident){if(s.value===true){e.replaceWith(c.buildUndefinedNode())}else{t.replaceWith(t.get("right"))}}}}function optimiseLengthGetter(e,r,t){if(t){e.parentPath.replaceWith(l({ARGUMENTS:r,OFFSET:s.types.numericLiteral(t)}))}else{e.replaceWith(r)}}function convertFunctionRest(e){const{node:r,scope:t}=e;if(!hasRest(r))return false;const o=e.get(`params.${r.params.length-1}.argument`);if(!o.isIdentifier()){const r=new Set;(0,a.collectShadowedParamsNames)(o,e.scope,r);let n=r.size>0;if(!n){const e={needsOuterBinding:false,scope:t};o.traverse(a.iifeVisitor,e);n=e.needsOuterBinding}if(n){e.ensureBlock();e.set("body",s.types.blockStatement([(0,a.buildScopeIIFE)(r,e.node.body)]))}}let i=o.node;r.params.pop();if(s.types.isPattern(i)){const a=i;i=t.generateUidIdentifier("ref");const n=s.types.variableDeclaration("let",[s.types.variableDeclarator(a,i)]);e.ensureBlock();r.body.body.unshift(n)}else if(i.name==="arguments"){t.rename(i.name)}const l=s.types.identifier("arguments");const d=getParamsCount(r);const u={references:[],offset:d,argumentsNode:l,outerBinding:t.getBindingIdentifier(i.name),candidates:[],name:i.name,deopted:false};e.traverse(c,u);if(!u.deopted&&!u.references.length){for(const{path:e,cause:r}of u.candidates){const t=s.types.cloneNode(l);switch(r){case"indexGetter":optimiseIndexGetter(e,t,u.offset);break;case"lengthGetter":optimiseLengthGetter(e,t,u.offset);break;default:e.replaceWith(t)}}return true}u.references.push(...u.candidates.map((({path:e})=>e)));const p=s.types.numericLiteral(d);const f=t.generateUidIdentifier("key");const y=t.generateUidIdentifier("len");let g,h;if(d){g=s.types.binaryExpression("-",s.types.cloneNode(f),s.types.cloneNode(p));h=s.types.conditionalExpression(s.types.binaryExpression(">",s.types.cloneNode(y),s.types.cloneNode(p)),s.types.binaryExpression("-",s.types.cloneNode(y),s.types.cloneNode(p)),s.types.numericLiteral(0))}else{g=s.types.identifier(f.name);h=s.types.identifier(y.name)}const b=n({ARGUMENTS:l,ARRAY_KEY:g,ARRAY_LEN:h,START:p,ARRAY:i,KEY:f,LEN:y});if(u.deopted){r.body.body.unshift(b)}else{let r=e.getEarliestCommonAncestorFrom(u.references).getStatementParent();r.findParent((e=>{if(e.isLoop()){r=e}else{return e.isFunction()}}));r.insertBefore(b)}return true}},897:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildScopeIIFE=buildScopeIIFE;r.collectShadowedParamsNames=collectShadowedParamsNames;r.iifeVisitor=void 0;var s=t(8304);const a={"ReferencedIdentifier|BindingIdentifier"(e,r){const{scope:t,node:s}=e;const{name:a}=s;if(a==="eval"||t.getBinding(a)===r.scope.parent.getBinding(a)&&r.scope.hasOwnBinding(a)){r.needsOuterBinding=true;e.stop()}},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()};r.iifeVisitor=a;function collectShadowedParamsNames(e,r,t){for(const a of Object.keys(e.getBindingIdentifiers())){var s;const e=(s=r.bindings[a])==null?void 0:s.constantViolations;if(e){for(const r of e){const e=r.node;switch(e.type){case"VariableDeclarator":{if(e.init===null){const e=r.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){r.remove();break}}t.add(a);break}case"FunctionDeclaration":t.add(a);break}}}}}function buildScopeIIFE(e,r){const t=[];const a=[];for(const r of e){t.push(s.types.identifier(r));a.push(s.types.identifier(r))}return s.types.returnStatement(s.types.callExpression(s.types.arrowFunctionExpression(a,r),t))}},7818:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(269);var n=(0,s.declare)(((e,r)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"transform-private-methods",api:e,feature:a.FEATURES.privateMethods,loose:r.loose,manipulateOptions(e,r){r.plugins.push("classPrivateMethods")}})}));r["default"]=n},1472:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(269);var n=t(365);var o=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{types:s,template:o}=e;const{loose:i}=r;const l=new WeakMap;const c=new WeakMap;function unshadow(e,r,t){while(t!==r){if(t.hasOwnBinding(e))t.rename(e);t=t.parent}}function injectToFieldInit(e,r,t=false){if(e.node.value){const s=e.get("value");if(t){s.insertBefore(r)}else{s.insertAfter(r)}}else{e.set("value",s.unaryExpression("void",r))}}function injectInitialization(e,r){let t;let n;for(const r of e.get("body.body")){if((r.isClassProperty()||r.isClassPrivateProperty())&&!r.node.static){t=r;break}if(!n&&r.isClassMethod({kind:"constructor"})){n=r}}if(t){injectToFieldInit(t,r,true)}else{(0,a.injectInitialization)(e,n,[s.expressionStatement(r)])}}function getWeakSetId(e,r,t,a="",i){let l=e.get(t.node);if(!l){l=r.scope.generateUidIdentifier(`${a||""} brandCheck`);e.set(t.node,l);i(t,o.expression.ast`${s.cloneNode(l)}.add(this)`);const c=s.newExpression(s.identifier("WeakSet"),[]);(0,n.default)(c);r.insertBefore(o.ast`var ${l} = ${c}`)}return s.cloneNode(l)}return{name:"transform-private-property-in-object",inherits:t(6775)["default"],pre(){(0,a.enableFeature)(this.file,a.FEATURES.privateIn,i)},visitor:{BinaryExpression(e,r){const{node:t}=e;const{file:n}=r;if(t.operator!=="in")return;if(!s.isPrivateName(t.left))return;const{name:i}=t.left.id;let d;const u=e.findParent((e=>{if(!e.isClass())return false;d=e.get("body.body").find((({node:e})=>s.isPrivate(e)&&e.key.id.name===i));return!!d}));if(u.parentPath.scope.path.isPattern()){u.replaceWith(o.ast`(() => ${u.node})()`);return}if(d.node.type==="ClassPrivateMethod"){if(d.node.static){if(u.node.id){unshadow(u.node.id.name,u.scope,e.scope)}else{u.set("id",e.scope.generateUidIdentifier("class"))}e.replaceWith(o.expression.ast` + ${s.cloneNode(u.node.id)} === ${(0,a.buildCheckInRHS)(t.right,n)} + `)}else{var p;const r=getWeakSetId(l,u,u,(p=u.node.id)==null?void 0:p.name,injectInitialization);e.replaceWith(o.expression.ast`${r}.has(${(0,a.buildCheckInRHS)(t.right,n)})`)}}else{const r=getWeakSetId(c,u,d,d.node.key.id.name,injectToFieldInit);e.replaceWith(o.expression.ast`${r}.has(${(0,a.buildCheckInRHS)(t.right,n)})`)}}}}}));r["default"]=o},2914:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-property-literals",visitor:{ObjectProperty:{exit({node:e}){const r=e.key;if(!e.computed&&a.types.isIdentifier(r)&&!a.types.isValidES3Identifier(r.name)){e.key=a.types.stringLiteral(r.name)}}}}}}));r["default"]=n},2523:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(1017);var n=t(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);function addDisplayName(e,r){const t=r.arguments[0].properties;let s=true;for(let e=0;e<t.length;e++){const r=t[e];if(n.types.isSpreadElement(r)){continue}const a=n.types.toComputedKey(r);if(n.types.isStringLiteral(a,{value:"displayName"})){s=false;break}}if(s){t.unshift(n.types.objectProperty(n.types.identifier("displayName"),n.types.stringLiteral(e)))}}const r=n.types.buildMatchMemberExpression("React.createClass");const isCreateClassAddon=e=>n.types.isIdentifier(e,{name:"createReactClass"});function isCreateClass(e){if(!e||!n.types.isCallExpression(e))return false;if(!r(e.callee)&&!isCreateClassAddon(e.callee)){return false}const t=e.arguments;if(t.length!==1)return false;const s=t[0];if(!n.types.isObjectExpression(s))return false;return true}return{name:"transform-react-display-name",visitor:{ExportDefaultDeclaration({node:e},r){if(isCreateClass(e.declaration)){const t=r.filename||"unknown";let s=a.basename(t,a.extname(t));if(s==="index"){s=a.basename(a.dirname(t))}addDisplayName(s,e.declaration)}},CallExpression(e){const{node:r}=e;if(!isCreateClass(r))return;let t;e.find((function(e){if(e.isAssignmentExpression()){t=e.node.left}else if(e.isObjectProperty()){t=e.node.key}else if(e.isVariableDeclarator()){t=e.node.id}else if(e.isStatement()){return true}if(t)return true}));if(!t)return;if(n.types.isMemberExpression(t)){t=t.property}if(n.types.isIdentifier(t)){addDisplayName(t.name,r)}}}}}));r["default"]=o},3019:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"default",{enumerable:true,get:function(){return s.default}});var s=t(3898)},5447:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=createPlugin;var s=t(6085);var a=t(5389);var n=t(8304);var o=t(3380);var i=t(365);const l={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"};const c=/^\s*\*?\s*@jsxImportSource\s+([^\s]+)\s*$/m;const d=/^\s*\*?\s*@jsxRuntime\s+([^\s]+)\s*$/m;const u=/^\s*\*?\s*@jsx\s+([^\s]+)\s*$/m;const p=/^\s*\*?\s*@jsxFrag\s+([^\s]+)\s*$/m;const get=(e,r)=>e.get(`@babel/plugin-react-jsx/${r}`);const set=(e,r,t)=>e.set(`@babel/plugin-react-jsx/${r}`,t);function hasProto(e){return e.properties.some((e=>n.types.isObjectProperty(e,{computed:false,shorthand:false})&&(n.types.isIdentifier(e.key,{name:"__proto__"})||n.types.isStringLiteral(e.key,{value:"__proto__"}))))}function createPlugin({name:e,development:r}){return(0,a.declare)(((t,a)=>{const{pure:o,throwIfNamespace:f=true,filter:y,runtime:g=(r?"automatic":"classic"),importSource:h=l.importSource,pragma:b=l.pragma,pragmaFrag:x=l.pragmaFrag}=a;{var{useSpread:v=false,useBuiltIns:j=false}=a;if(g==="classic"){if(typeof v!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useSpread (defaults to false)")}if(typeof j!=="boolean"){throw new Error("transform-react-jsx currently only accepts a boolean option for "+"useBuiltIns (defaults to false)")}if(v&&j){throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread "+"but not both")}}}const w={JSXOpeningElement(e,r){const t=[];if(isThisAllowed(e.scope)){t.push(n.types.jsxAttribute(n.types.jsxIdentifier("__self"),n.types.jsxExpressionContainer(n.types.thisExpression())))}t.push(n.types.jsxAttribute(n.types.jsxIdentifier("__source"),n.types.jsxExpressionContainer(makeSource(e,r))));e.pushContainer("attributes",t)}};return{name:e,inherits:s.default,visitor:{JSXNamespacedName(e){if(f){throw e.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set \`throwIfNamespace: false\` to bypass this warning.`)}},JSXSpreadChild(e){throw e.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(e,t){const{file:s}=t;let o=g;let i=h;let f=b;let y=x;let v=!!a.importSource;let j=!!a.pragma;let E=!!a.pragmaFrag;if(s.ast.comments){for(const e of s.ast.comments){const r=c.exec(e.value);if(r){i=r[1];v=true}const t=d.exec(e.value);if(t){o=t[1]}const s=u.exec(e.value);if(s){f=s[1];j=true}const a=p.exec(e.value);if(a){y=a[1];E=true}}}set(t,"runtime",o);if(o==="classic"){if(v){throw e.buildCodeFrameError(`importSource cannot be set when runtime is classic.`)}const r=toMemberExpression(f);const s=toMemberExpression(y);set(t,"id/createElement",(()=>n.types.cloneNode(r)));set(t,"id/fragment",(()=>n.types.cloneNode(s)));set(t,"defaultPure",f===l.pragma)}else if(o==="automatic"){if(j||E){throw e.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`)}const define=(r,s)=>set(t,r,createImportLazily(t,e,s,i));define("id/jsx",r?"jsxDEV":"jsx");define("id/jsxs",r?"jsxDEV":"jsxs");define("id/createElement","createElement");define("id/fragment","Fragment");set(t,"defaultPure",i===l.importSource)}else{throw e.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`)}if(r){e.traverse(w,t)}}},JSXFragment:{exit(e,r){let t;if(get(r,"runtime")==="classic"){t=buildCreateElementFragmentCall(e,r)}else{t=buildJSXFragmentCall(e,r)}e.replaceWith(n.types.inherits(t,e.node))}},JSXElement:{exit(e,r){let t;if(get(r,"runtime")==="classic"||shouldUseCreateElement(e)){t=buildCreateElementCall(e,r)}else{t=buildJSXElementCall(e,r)}e.replaceWith(n.types.inherits(t,e.node))}},JSXAttribute(e){if(n.types.isJSXElement(e.node.value)){e.node.value=n.types.jsxExpressionContainer(e.node.value)}}}};function isDerivedClass(e){return e.node.superClass!==null}function isThisAllowed(e){do{const{path:r}=e;if(r.isFunctionParent()&&!r.isArrowFunctionExpression()){if(!r.isMethod()){return true}if(r.node.kind!=="constructor"){return true}return!isDerivedClass(r.parentPath.parentPath)}if(r.isTSModuleBlock()){return false}}while(e=e.parent);return true}function call(e,r,t){const s=n.types.callExpression(get(e,`id/${r}`)(),t);if(o!=null?o:get(e,"defaultPure"))(0,i.default)(s);return s}function shouldUseCreateElement(e){const r=e.get("openingElement");const t=r.node.attributes;let s=false;for(let e=0;e<t.length;e++){const r=t[e];if(s&&n.types.isJSXAttribute(r)&&r.name.name==="key"){return true}else if(n.types.isJSXSpreadAttribute(r)){s=true}}return false}function convertJSXIdentifier(e,r){if(n.types.isJSXIdentifier(e)){if(e.name==="this"&&n.types.isReferenced(e,r)){return n.types.thisExpression()}else if(n.types.isValidIdentifier(e.name,false)){e.type="Identifier";return e}else{return n.types.stringLiteral(e.name)}}else if(n.types.isJSXMemberExpression(e)){return n.types.memberExpression(convertJSXIdentifier(e.object,e),convertJSXIdentifier(e.property,e))}else if(n.types.isJSXNamespacedName(e)){return n.types.stringLiteral(`${e.namespace.name}:${e.name.name}`)}return e}function convertAttributeValue(e){if(n.types.isJSXExpressionContainer(e)){return e.expression}else{return e}}function accumulateAttribute(e,r){if(n.types.isJSXSpreadAttribute(r.node)){const t=r.node.argument;if(n.types.isObjectExpression(t)&&!hasProto(t)){e.push(...t.properties)}else{e.push(n.types.spreadElement(t))}return e}const t=convertAttributeValue(r.node.name.name!=="key"?r.node.value||n.types.booleanLiteral(true):r.node.value);if(r.node.name.name==="key"&&t===null){throw r.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}if(n.types.isStringLiteral(t)&&!n.types.isJSXExpressionContainer(r.node.value)){var s;t.value=t.value.replace(/\n\s+/g," ");(s=t.extra)==null||delete s.raw}if(n.types.isJSXNamespacedName(r.node.name)){r.node.name=n.types.stringLiteral(r.node.name.namespace.name+":"+r.node.name.name.name)}else if(n.types.isValidIdentifier(r.node.name.name,false)){r.node.name.type="Identifier"}else{r.node.name=n.types.stringLiteral(r.node.name.name)}e.push(n.types.inherits(n.types.objectProperty(r.node.name,t),r.node));return e}function buildChildrenProperty(e){let r;if(e.length===1){r=e[0]}else if(e.length>1){r=n.types.arrayExpression(e)}else{return undefined}return n.types.objectProperty(n.types.identifier("children"),r)}function buildJSXElementCall(e,t){const s=e.get("openingElement");const a=[getTag(s)];const o=[];const i=Object.create(null);for(const r of s.get("attributes")){if(r.isJSXAttribute()&&n.types.isJSXIdentifier(r.node.name)){const{name:t}=r.node.name;switch(t){case"__source":case"__self":if(i[t])throw sourceSelfError(e,t);case"key":{const e=convertAttributeValue(r.node.value);if(e===null){throw r.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.')}i[t]=e;break}default:o.push(r)}}else{o.push(r)}}const l=n.types.react.buildChildren(e.node);let c;if(o.length||l.length){c=buildJSXOpeningElementAttributes(o,l)}else{c=n.types.objectExpression([])}a.push(c);if(r){var d;a.push((d=i.key)!=null?d:e.scope.buildUndefinedNode(),n.types.booleanLiteral(l.length>1));if(i.__source){a.push(i.__source);if(i.__self)a.push(i.__self)}else if(i.__self){a.push(e.scope.buildUndefinedNode(),i.__self)}}else if(i.key!==undefined){a.push(i.key)}return call(t,l.length>1?"jsxs":"jsx",a)}function buildJSXOpeningElementAttributes(e,r){const t=e.reduce(accumulateAttribute,[]);if((r==null?void 0:r.length)>0){t.push(buildChildrenProperty(r))}return n.types.objectExpression(t)}function buildJSXFragmentCall(e,t){const s=[get(t,"id/fragment")()];const a=n.types.react.buildChildren(e.node);s.push(n.types.objectExpression(a.length>0?[buildChildrenProperty(a)]:[]));if(r){s.push(e.scope.buildUndefinedNode(),n.types.booleanLiteral(a.length>1))}return call(t,a.length>1?"jsxs":"jsx",s)}function buildCreateElementFragmentCall(e,r){if(y&&!y(e.node,r))return;return call(r,"createElement",[get(r,"id/fragment")(),n.types.nullLiteral(),...n.types.react.buildChildren(e.node)])}function buildCreateElementCall(e,r){const t=e.get("openingElement");return call(r,"createElement",[getTag(t),buildCreateElementOpeningElementAttributes(r,e,t.get("attributes")),...n.types.react.buildChildren(e.node)])}function getTag(e){const r=convertJSXIdentifier(e.node.name,e.node);let t;if(n.types.isIdentifier(r)){t=r.name}else if(n.types.isStringLiteral(r)){t=r.value}if(n.types.react.isCompatTag(t)){return n.types.stringLiteral(t)}else{return r}}function buildCreateElementOpeningElementAttributes(e,r,t){const s=get(e,"runtime");{if(s!=="automatic"){const r=[];const s=t.reduce(accumulateAttribute,[]);if(!v){let e=0;s.forEach(((t,a)=>{if(n.types.isSpreadElement(t)){if(a>e){r.push(n.types.objectExpression(s.slice(e,a)))}r.push(t.argument);e=a+1}}));if(s.length>e){r.push(n.types.objectExpression(s.slice(e)))}}else if(s.length){r.push(n.types.objectExpression(s))}if(!r.length){return n.types.nullLiteral()}if(r.length===1){if(!(n.types.isSpreadElement(s[0])&&n.types.isObjectExpression(s[0].argument))){return r[0]}}if(!n.types.isObjectExpression(r[0])){r.unshift(n.types.objectExpression([]))}const a=j?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends");return n.types.callExpression(a,r)}}const a=[];const o=Object.create(null);for(const e of t){const{node:t}=e;const i=n.types.isJSXAttribute(t)&&n.types.isJSXIdentifier(t.name)&&t.name.name;if(s==="automatic"&&(i==="__source"||i==="__self")){if(o[i])throw sourceSelfError(r,i);o[i]=true}accumulateAttribute(a,e)}return a.length===1&&n.types.isSpreadElement(a[0])&&!n.types.isObjectExpression(a[0].argument)?a[0].argument:a.length>0?n.types.objectExpression(a):n.types.nullLiteral()}}));function getSource(e,t){switch(t){case"Fragment":return`${e}/${r?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${e}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${e}/jsx-runtime`;case"createElement":return e}}function createImportLazily(e,r,t,s){return()=>{const a=getSource(s,t);if((0,o.isModule)(r)){let s=get(e,`imports/${t}`);if(s)return n.types.cloneNode(s);s=(0,o.addNamed)(r,t,a,{importedInterop:"uncompiled",importPosition:"after"});set(e,`imports/${t}`,s);return s}else{let s=get(e,`requires/${a}`);if(s){s=n.types.cloneNode(s)}else{s=(0,o.addNamespace)(r,a,{importedInterop:"uncompiled"});set(e,`requires/${a}`,s)}return n.types.memberExpression(s,n.types.identifier(t))}}}}function toMemberExpression(e){return e.split(".").map((e=>n.types.identifier(e))).reduce(((e,r)=>n.types.memberExpression(e,r)))}function makeSource(e,r){const t=e.node.loc;if(!t){return e.scope.buildUndefinedNode()}if(!r.fileNameIdentifier){const{filename:t=""}=r;const s=e.scope.generateUidIdentifier("_jsxFileName");e.scope.getProgramParent().push({id:s,init:n.types.stringLiteral(t)});r.fileNameIdentifier=s}return makeTrace(n.types.cloneNode(r.fileNameIdentifier),t.start.line,t.start.column)}function makeTrace(e,r,t){const s=r!=null?n.types.numericLiteral(r):n.types.nullLiteral();const a=t!=null?n.types.numericLiteral(t+1):n.types.nullLiteral();return n.template.expression.ast`{ + fileName: ${e}, + lineNumber: ${s}, + columnNumber: ${a}, + }`}function sourceSelfError(e,r){const t=`transform-react-jsx-${r.slice(2)}`;return e.buildCodeFrameError(`Duplicate ${r} prop found. You are most likely using the deprecated ${t} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},3898:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5447);var a=(0,s.default)({name:"transform-react-jsx/development",development:true});r["default"]=a},3985:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5447);var a=(0,s.default)({name:"transform-react-jsx",development:false});r["default"]=a},2146:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(365);var n=t(8304);const o=[["react",new Set(["cloneElement","createContext","createElement","createFactory","createRef","forwardRef","isValidElement","memo","lazy"])],["react-dom",new Set(["createPortal"])]];var i=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-react-pure-annotations",visitor:{CallExpression(e){if(isReactCall(e)){(0,a.default)(e)}}}}}));r["default"]=i;function isReactCall(e){const r=e.get("callee");if(!r.isMemberExpression()){for(const[e,t]of o){for(const s of t){if(r.referencesImport(e,s)){return true}}}return false}const t=r.get("object");const s=r.node;if(!s.computed&&n.types.isIdentifier(s.property)){const e=s.property.name;for(const[r,s]of o){if(t.referencesImport(r,"default")||t.referencesImport(r,"*")){return s.has(e)}}}return false}},4057:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(9982);var n=(0,s.declare)((({types:e,assertVersion:r})=>{r(7);return{name:"transform-regenerator",inherits:a.default,visitor:{MemberExpression(r){{var t;if(!((t=this.availableHelper)!=null&&t.call(this,"regeneratorRuntime"))){return}}const s=r.get("object");if(s.isIdentifier({name:"regeneratorRuntime"})){const r=this.addHelper("regeneratorRuntime");{if(e.isArrowFunctionExpression(r)){s.replaceWith(r.body);return}}s.replaceWith(e.callExpression(r,[]))}}}}}));r["default"]=n},418:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-reserved-words",visitor:{"BindingIdentifier|ReferencedIdentifier"(e){if(!a.types.isValidES3Identifier(e.node.name)){e.scope.rename(e.node.name)}}}}}));r["default"]=n},6043:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;r.resolveFSPath=resolveFSPath;var s=t(1017);var a=t(8188);function _default(e,r,t){if(t===false)return e;return resolveAbsoluteRuntime(e,s.resolve(r,t===true?".":t))}function resolveAbsoluteRuntime(e,r){try{return s.dirname((((e,r)=>(e=e.split("."),r=r.split("."),+e[0]>+r[0]||e[0]==r[0]&&+e[1]>=+r[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[r]},s=t(8188))=>{let a=s._findPath(e,s._nodeModulePaths(r).concat(r));if(a)return a;a=new Error(`Cannot resolve module '${e}'`);a.code="MODULE_NOT_FOUND";throw a})(`${e}/package.json`,{paths:[r]})).replace(/\\/g,"/")}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;throw Object.assign(new Error(`Failed to resolve "${e}" relative to "${r}"`),{code:"BABEL_RUNTIME_NOT_FOUND",runtime:e,dirname:r})}}function resolveFSPath(e){return require.resolve(e).replace(/\\/g,"/")}},9257:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.hasMinVersion=hasMinVersion;var s=t(7849);function hasMinVersion(e,r){if(!r)return true;if(s.valid(r))r=`^${r}`;return!s.intersects(`<${e}`,r)&&!s.intersects(`>=8.0.0`,r)}},1390:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(3380);var n=t(8304);var o=t(9257);var i=t(6043);var l=t(3555);function supportsStaticESM(e){return!!(e!=null&&e.supportsStaticESM)}var c=(0,s.declare)(((e,r,t)=>{e.assertVersion(7);const{helpers:s=true,useESModules:c=false,version:d="7.0.0-beta.0",absoluteRuntime:u=false}=r;if(typeof s!=="boolean"){throw new Error("The 'helpers' option must be undefined, or a boolean.")}if(typeof c!=="boolean"&&c!=="auto"){throw new Error("The 'useESModules' option must be undefined, or a boolean, or 'auto'.")}if(typeof u!=="boolean"&&typeof u!=="string"){throw new Error("The 'absoluteRuntime' option must be undefined, a boolean, or a string.")}if(typeof d!=="string"){throw new Error(`The 'version' option must be a version string.`)}{const e="7.13.0";var p=(0,o.hasMinVersion)(e,d)}function has(e,r){return Object.prototype.hasOwnProperty.call(e,r)}if(has(r,"useBuiltIns")){if(r["useBuiltIns"]){throw new Error("The 'useBuiltIns' option has been removed. The @babel/runtime "+"module now uses builtins by default.")}else{throw new Error("The 'useBuiltIns' option has been removed. Use the 'corejs'"+"option to polyfill with `core-js` via @babel/runtime.")}}if(has(r,"polyfill")){if(r["polyfill"]===false){throw new Error("The 'polyfill' option has been removed. The @babel/runtime "+"module now skips polyfilling by default.")}else{throw new Error("The 'polyfill' option has been removed. Use the 'corejs'"+"option to polyfill with `core-js` via @babel/runtime.")}}if(has(r,"moduleName")){throw new Error("The 'moduleName' option has been removed. @babel/transform-runtime "+"no longer supports arbitrary runtimes. If you were using this to "+"set an absolute path for Babel's standard runtimes, please use the "+"'absoluteRuntime' option.")}const f=c==="auto"?e.caller(supportsStaticESM):c;const y=["interopRequireWildcard","interopRequireDefault"];return{name:"transform-runtime",inherits:(0,l.createBasePolyfillsPlugin)(r,d,u),pre(e){if(!s)return;let r;e.set("helperGenerator",(s=>{var o,l;(o=r)!=null?o:r=(0,i.default)((l=e.get("runtimeHelpersModuleName"))!=null?l:"@babel/runtime",t,u);{if(!(e.availableHelper!=null&&e.availableHelper(s,d))){if(s==="regeneratorRuntime"){return n.types.arrowFunctionExpression([],n.types.identifier("regeneratorRuntime"))}return}}const c=y.indexOf(s)!==-1;const p=c&&!(0,a.isModule)(e.path)?4:undefined;const g=f&&e.path.node.sourceType==="module"?"helpers/esm":"helpers";let h=`${r}/${g}/${s}`;if(u)h=(0,i.resolveFSPath)(h);return addDefaultImport(h,s,p,true)}));const o=new Map;function addDefaultImport(r,t,s,i=false){const l=(0,a.isModule)(e.path);const c=`${r}:${t}:${l||""}`;let d=o.get(c);if(d){d=n.types.cloneNode(d)}else{d=(0,a.addDefault)(e.path,r,{importedInterop:i&&p?"compiled":"uncompiled",nameHint:t,blockHoist:s});o.set(c,d)}return d}}}}));r["default"]=c},3555:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createBasePolyfillsPlugin=createBasePolyfillsPlugin;var s=t(7300);var a=t(6427);var n=t(9373);const o=s.default||s;const i=a.default||a;const l=n.default||n;const c="#__secret_key__@babel/runtime__compatibility";function createCorejsPlugin(e,r,t){return(s,a,n)=>Object.assign({},e(s,r,n),{inherits:t})}function createRegeneratorPlugin(e,r){if(!r)return undefined;return(r,t,s)=>l(r,e,s)}function createBasePolyfillsPlugin({corejs:e,regenerator:r=true},t,s){let a=false;let n;if(typeof e==="object"&&e!==null){n=e.version;a=Boolean(e.proposals)}else{n=e}const l=n?Number(n):false;if(![false,2,3].includes(l)){throw new Error(`The \`core-js\` version must be false, 2 or 3, but got ${JSON.stringify(n)}.`)}if(a&&(!l||l<3)){throw new Error("The 'proposals' option is only supported when using 'corejs: 3'")}if(typeof r!=="boolean"){throw new Error("The 'regenerator' option must be undefined, or a boolean.")}const d={method:"usage-pure",absoluteImports:s,[c]:{useBabelRuntime:true,runtimeVersion:t,ext:""}};return l===2?createCorejsPlugin(o,d,createRegeneratorPlugin(d,r)):l===3?createCorejsPlugin(i,Object.assign({version:3,proposals:a},d),createRegeneratorPlugin(d,r)):createRegeneratorPlugin(d,r)}},5316:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-shorthand-properties",visitor:{ObjectMethod(e){const{node:r}=e;if(r.kind==="method"){const t=a.types.functionExpression(null,r.params,r.body,r.generator,r.async);t.returnType=r.returnType;const s=a.types.toComputedKey(r);if(a.types.isStringLiteral(s,{value:"__proto__"})){e.replaceWith(a.types.objectProperty(s,t,true))}else{e.replaceWith(a.types.objectProperty(r.key,t,r.computed))}}},ObjectProperty(e){const{node:r}=e;if(r.shorthand){const t=a.types.toComputedKey(r);if(a.types.isStringLiteral(t,{value:"__proto__"})){e.replaceWith(a.types.objectProperty(t,r.value,true))}else{r.shorthand=false}}}}}}));r["default"]=n},1743:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(9769);var n=t(8304);var o=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const o=(t=e.assumption("iterableIsArray"))!=null?t:r.loose;const i=(s=r.allowArrayLike)!=null?s:e.assumption("arrayLikeIsIterable");function getSpreadLiteral(e,r){if(o&&!n.types.isIdentifier(e.argument,{name:"arguments"})){return e.argument}else{return r.toArray(e.argument,true,i)}}function hasHole(e){return e.elements.some((e=>e===null))}function hasSpread(e){for(let r=0;r<e.length;r++){if(n.types.isSpreadElement(e[r])){return true}}return false}function push(e,r){if(!e.length)return e;r.push(n.types.arrayExpression(e));return[]}function build(e,r,t){const s=[];let a=[];for(const o of e){if(n.types.isSpreadElement(o)){a=push(a,s);let e=getSpreadLiteral(o,r);if(n.types.isArrayExpression(e)&&hasHole(e)){e=n.types.callExpression(t.addHelper("arrayWithoutHoles"),[e])}s.push(e)}else{a.push(o)}}push(a,s);return s}return{name:"transform-spread",visitor:{ArrayExpression(e){const{node:r,scope:t}=e;const s=r.elements;if(!hasSpread(s))return;const a=build(s,t,this.file);let o=a[0];if(a.length===1&&o!==s[0].argument){e.replaceWith(o);return}if(!n.types.isArrayExpression(o)){o=n.types.arrayExpression([])}else{a.shift()}e.replaceWith(n.types.callExpression(n.types.memberExpression(o,n.types.identifier("concat")),a))},CallExpression(e){const{node:r,scope:t}=e;const s=r.arguments;if(!hasSpread(s))return;const o=(0,a.skipTransparentExprWrappers)(e.get("callee"));if(o.isSuper()){throw e.buildCodeFrameError("It's not possible to compile spread arguments in `super()` without compiling classes.\n"+"Please add '@babel/plugin-transform-classes' to your Babel configuration.")}let i=t.buildUndefinedNode();r.arguments=[];let l;if(s.length===1&&n.types.isIdentifier(s[0].argument,{name:"arguments"})){l=[s[0].argument]}else{l=build(s,t,this.file)}const c=l.shift();if(l.length){r.arguments.push(n.types.callExpression(n.types.memberExpression(c,n.types.identifier("concat")),l))}else{r.arguments.push(c)}const d=o.node;if(n.types.isMemberExpression(d)){const e=t.maybeGenerateMemoised(d.object);if(e){d.object=n.types.assignmentExpression("=",e,d.object);i=e}else{i=n.types.cloneNode(d.object)}}r.callee=n.types.memberExpression(r.callee,n.types.identifier("apply"));if(n.types.isSuper(i)){i=n.types.thisExpression()}r.arguments.unshift(n.types.cloneNode(i))},NewExpression(e){const{node:r,scope:t}=e;if(!hasSpread(r.arguments))return;const s=build(r.arguments,t,this.file);const a=s.shift();let o;if(s.length){o=n.types.callExpression(n.types.memberExpression(a,n.types.identifier("concat")),s)}else{o=a}e.replaceWith(n.types.callExpression(e.hub.addHelper("construct"),[r.callee,o]))}}}}));r["default"]=o},7584:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-sticky-regex",visitor:{RegExpLiteral(e){const{node:r}=e;if(!r.flags.includes("y"))return;e.replaceWith(a.types.newExpression(a.types.identifier("RegExp"),[a.types.stringLiteral(r.pattern),a.types.stringLiteral(r.flags)]))}}}}));r["default"]=n},1005:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const n=(t=e.assumption("ignoreToPrimitiveHint"))!=null?t:r.loose;const o=(s=e.assumption("mutableTemplateObject"))!=null?s:r.loose;let i="taggedTemplateLiteral";if(o)i+="Loose";function buildConcatCallExpressions(e){let r=true;return e.reduce((function(e,t){let s=a.types.isLiteral(t);if(!s&&r){s=true;r=false}if(s&&a.types.isCallExpression(e)){e.arguments.push(t);return e}return a.types.callExpression(a.types.memberExpression(e,a.types.identifier("concat")),[t])}))}return{name:"transform-template-literals",visitor:{TaggedTemplateExpression(e){const{node:r}=e;const{quasi:t}=r;const s=[];const n=[];let o=true;for(const r of t.quasis){const{raw:t,cooked:i}=r.value;const l=i==null?e.scope.buildUndefinedNode():a.types.stringLiteral(i);s.push(l);n.push(a.types.stringLiteral(t));if(t!==i){o=false}}const l=[a.types.arrayExpression(s)];if(!o){l.push(a.types.arrayExpression(n))}const c=e.scope.generateUidIdentifier("templateObject");e.scope.getProgramParent().push({id:a.types.cloneNode(c)});e.replaceWith(a.types.callExpression(r.tag,[a.template.expression.ast` ${a.types.cloneNode(c)} || ( ${c} = ${this.addHelper(i)}(${l}) ) - `,...r.expressions]))},TemplateLiteral(e){if(e.parent.type==="TSLiteralType"){return}const t=[];const r=e.get("expressions");let s=0;for(const n of e.node.quasis){if(n.value.cooked){t.push(a.types.stringLiteral(n.value.cooked))}if(s<r.length){const e=r[s++];const n=e.node;if(!a.types.isStringLiteral(n,{value:""})){t.push(n)}}}if(!a.types.isStringLiteral(t[0])&&!(n&&a.types.isStringLiteral(t[1]))){t.unshift(a.types.stringLiteral(""))}let o=t[0];if(n){for(let e=1;e<t.length;e++){o=a.types.binaryExpression("+",o,t[e])}}else if(t.length>1){o=buildConcatCallExpressions(t)}e.replaceWith(o)}}}}));t["default"]=n},582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-typeof-symbol",visitor:{Scope({scope:e}){if(!e.getBinding("Symbol")){return}e.rename("Symbol")},UnaryExpression(e){const{node:t,parent:r}=e;if(t.operator!=="typeof")return;if(e.parentPath.isBinaryExpression()&&a.types.EQUALITY_BINARY_OPERATORS.indexOf(r.operator)>=0){const t=e.getOpposite();if(t.isStringLiteral()&&t.node.value!=="symbol"&&t.node.value!=="object"){return}}let s=e.findParent((e=>{if(e.isFunction()){var t;return((t=e.get("body.directives.0"))==null?void 0:t.node.value.value)==="@babel/helpers - typeof"}}));if(s)return;const n=this.addHelper("typeof");s=e.findParent((e=>e.isVariableDeclarator()&&e.node.id===n||e.isFunctionDeclaration()&&e.node.id&&e.node.id.name===n.name));if(s){return}const o=a.types.callExpression(n,[t.argument]);const i=e.get("argument");if(i.isIdentifier()&&!e.scope.hasBinding(i.node.name,true)){const r=a.types.unaryExpression("typeof",a.types.cloneNode(t.argument));e.replaceWith(a.types.conditionalExpression(a.types.binaryExpression("===",r,a.types.stringLiteral("undefined")),a.types.stringLiteral("undefined"),o))}else{e.replaceWith(o)}}}}}));t["default"]=n},6195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileConstEnum;var s=r(8612);function transpileConstEnum(e,t){const{name:r}=e.node.id;const a=e.parentPath.isExportNamedDeclaration();let n=a;if(!n&&t.isProgram(e.parent)){n=e.parent.body.some((e=>t.isExportNamedDeclaration(e)&&!e.source&&e.specifiers.some((e=>t.isExportSpecifier(e)&&e.local.name===r))))}const o=(0,s.translateEnumValues)(e,t);if(n){const s=t.objectExpression(o.map((([e,r])=>t.objectProperty(t.isValidIdentifier(e)?t.identifier(e):t.stringLiteral(e),r))));if(e.scope.hasOwnBinding(r)){(a?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,s])))}else{e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,s)]));e.scope.registerDeclaration(e)}return}const i=new Map(o);e.scope.path.traverse({Scope(e){if(e.scope.hasOwnBinding(r))e.skip()},MemberExpression(e){if(!t.isIdentifier(e.node.object,{name:r}))return;let s;if(e.node.computed){if(t.isStringLiteral(e.node.property)){s=e.node.property.value}else{return}}else if(t.isIdentifier(e.node.property)){s=e.node.property.name}else{return}if(!i.has(s))return;e.replaceWith(t.cloneNode(i.get(s)))}});e.remove()}},8612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileEnum;t.translateEnumValues=translateEnumValues;var s=r(8304);var a=r(9491);function transpileEnum(e,t){const{node:r}=e;if(r.declare){e.remove();return}const s=r.id.name;const a=enumFill(e,t,r.id);switch(e.parent.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{e.insertAfter(a);if(seen(e.parentPath)){e.remove()}else{const s=t.isProgram(e.parent);e.scope.registerDeclaration(e.replaceWith(makeVar(r.id,t,s?"var":"let"))[0])}break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function seen(e){if(e.isExportDeclaration()){return seen(e.parentPath)}if(e.getData(s)){return true}else{e.setData(s,true);return false}}}function makeVar(e,t,r){return t.variableDeclaration(r,[t.variableDeclarator(e)])}const n=(0,s.template)(`\n (function (ID) {\n ASSIGNMENTS;\n })(ID || (ID = {}));\n`);const o=(0,s.template)(`\n ENUM["NAME"] = VALUE;\n`);const i=(0,s.template)(`\n ENUM[ENUM["NAME"] = VALUE] = "NAME";\n`);const buildEnumMember=(e,t)=>(e?o:i)(t);function enumFill(e,t,r){const s=translateEnumValues(e,t);const a=s.map((([e,s])=>buildEnumMember(t.isStringLiteral(s),{ENUM:t.cloneNode(r),NAME:e,VALUE:s})));return n({ID:t.cloneNode(r),ASSIGNMENTS:a})}function ReferencedIdentifier(e,t){const{seen:r,path:s,t:a}=t;const n=e.node.name;if(r.has(n)&&!e.scope.hasOwnBinding(n)){e.replaceWith(a.memberExpression(a.cloneNode(s.node.id),a.cloneNode(e.node)));e.skip()}}const l={ReferencedIdentifier:ReferencedIdentifier};function translateEnumValues(e,t){const r=new Map;let s=-1;let n;return e.get("members").map((o=>{const i=o.node;const c=t.isIdentifier(i.id)?i.id.name:i.id.value;const u=i.initializer;let p;if(u){s=evaluate(u,r);if(s!==undefined){r.set(c,s);if(typeof s==="number"){p=t.numericLiteral(s)}else{a(typeof s==="string");p=t.stringLiteral(s)}}else{const s=o.get("initializer");if(s.isReferencedIdentifier()){ReferencedIdentifier(s,{t:t,seen:r,path:e})}else{s.traverse(l,{t:t,seen:r,path:e})}p=s.node;r.set(c,undefined)}}else if(typeof s==="number"){s+=1;p=t.numericLiteral(s);r.set(c,s)}else if(typeof s==="string"){throw e.buildCodeFrameError("Enum member must have initializer.")}else{const s=t.memberExpression(t.cloneNode(e.node.id),t.stringLiteral(n),true);p=t.binaryExpression("+",t.numericLiteral(1),s);r.set(c,undefined)}n=c;return[c,p]}))}function evaluate(e,t){return evalConstant(e);function evalConstant(e){switch(e.type){case"StringLiteral":return e.value;case"UnaryExpression":return evalUnaryExpression(e);case"BinaryExpression":return evalBinaryExpression(e);case"NumericLiteral":return e.value;case"ParenthesizedExpression":return evalConstant(e.expression);case"Identifier":return t.get(e.name);case"TemplateLiteral":if(e.quasis.length===1){return e.quasis[0].value.cooked}default:return undefined}}function evalUnaryExpression({argument:e,operator:t}){const r=evalConstant(e);if(r===undefined){return undefined}switch(t){case"+":return r;case"-":return-r;case"~":return~r;default:return undefined}}function evalBinaryExpression(e){const t=evalConstant(e.left);if(t===undefined){return undefined}const r=evalConstant(e.right);if(r===undefined){return undefined}switch(e.operator){case"|":return t|r;case"&":return t&r;case">>":return t>>r;case">>>":return t>>>r;case"<<":return t<<r;case"^":return t^r;case"*":return t*r;case"/":return t/r;case"+":return t+r;case"-":return t-r;case"%":return t%r;default:return undefined}}}},2996:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(952);var n=r(8304);var o=r(2425);var i=r(6195);var l=r(8612);var c=r(4161);function isInType(e){switch(e.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:return false}}const u=new WeakMap;const p=new WeakMap;const d=new WeakSet;function isGlobalType(e,t){const r=e.find((e=>e.isProgram())).node;if(e.scope.hasOwnBinding(t))return false;if(u.get(r).has(t))return true;console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker\n`+`as a JavaScript value binding, and "@babel/plugin-transform-typescript"\n`+`never encountered it as a TypeScript type declaration.\n`+`It will be treated as a JavaScript value.\n\n`+`This problem is likely caused by another plugin injecting\n`+`"${t}" without registering it in the scope tracker. If you are the author\n`+` of that plugin, please use "scope.registerDeclaration(declarationPath)".`);return false}function registerGlobalType(e,t){u.get(e).add(t)}var f=(0,s.declare)(((e,t)=>{e.assertVersion(7);const r=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/;const{allowNamespaces:s=true,jsxPragma:f="React.createElement",jsxPragmaFrag:y="React.Fragment",onlyRemoveTypeImports:g=false,optimizeConstEnums:h=false}=t;{var{allowDeclareFields:b=false}=t}const x={field(e){const{node:t}=e;{if(!b&&t.declare){throw e.buildCodeFrameError(`The 'declare' modifier is only allowed when the 'allowDeclareFields' option of `+`@babel/plugin-transform-typescript or @babel/preset-typescript is enabled.`)}}if(t.declare){if(t.value){throw e.buildCodeFrameError(`Fields with the 'declare' modifier cannot be initialized here, but only in the constructor`)}if(!t.decorators){e.remove()}}else if(t.definite){if(t.value){throw e.buildCodeFrameError(`Definitely assigned fields cannot be initialized here, but only in the constructor`)}{if(!b&&!t.decorators){e.remove()}}}else{if(!b&&!t.value&&!t.decorators&&!n.types.isClassPrivateProperty(t)){e.remove()}}if(t.accessibility)t.accessibility=null;if(t.abstract)t.abstract=null;if(t.readonly)t.readonly=null;if(t.optional)t.optional=null;if(t.typeAnnotation)t.typeAnnotation=null;if(t.definite)t.definite=null;if(t.declare)t.declare=null;if(t.override)t.override=null},method({node:e}){if(e.accessibility)e.accessibility=null;if(e.abstract)e.abstract=null;if(e.optional)e.optional=null;if(e.override)e.override=null},constructor(e,t){if(e.node.accessibility)e.node.accessibility=null;const r=[];const{scope:s}=e;for(const t of e.get("params")){const e=t.node;if(e.type==="TSParameterProperty"){const a=e.parameter;if(d.has(a))continue;d.add(a);let o;if(n.types.isIdentifier(a)){o=a}else if(n.types.isAssignmentPattern(a)&&n.types.isIdentifier(a.left)){o=a.left}else{throw t.buildCodeFrameError("Parameter properties can not be destructuring patterns.")}r.push(n.template.statement.ast` - this.${n.types.cloneNode(o)} = ${n.types.cloneNode(o)}`);t.replaceWith(t.get("parameter"));s.registerBinding("param",t)}}(0,o.injectInitialization)(t,e,r)}};return{name:"transform-typescript",inherits:a.default,visitor:{Pattern:visitPattern,Identifier:visitPattern,RestElement:visitPattern,Program:{enter(e,t){const{file:s}=t;let a=null;let n=null;const o=e.node;if(!u.has(o)){u.set(o,new Set)}if(s.ast.comments){for(const e of s.ast.comments){const t=r.exec(e.value);if(t){if(t[1]){n=t[2]}else{a=t[2]}}}}let i=a||f;if(i){[i]=i.split(".")}let l=n||y;if(l){[l]=l.split(".")}for(let r of e.get("body")){if(r.isImportDeclaration()){if(!p.has(t.file.ast.program)){p.set(t.file.ast.program,true)}if(r.node.importKind==="type"){for(const e of r.node.specifiers){registerGlobalType(o,e.local.name)}r.remove();continue}const s=new Set;const a=r.node.specifiers.length;const isAllSpecifiersElided=()=>a>0&&a===s.size;for(const e of r.node.specifiers){if(e.type==="ImportSpecifier"&&e.importKind==="type"){registerGlobalType(o,e.local.name);const t=r.scope.getBinding(e.local.name);if(t){s.add(t.path)}}}if(g){p.set(e.node,false)}else{if(r.node.specifiers.length===0){p.set(e.node,false);continue}for(const t of r.node.specifiers){const a=r.scope.getBinding(t.local.name);if(a&&!s.has(a.path)){if(isImportTypeOnly({binding:a,programPath:e,pragmaImportName:i,pragmaFragImportName:l})){s.add(a.path)}else{p.set(e.node,false)}}}}if(isAllSpecifiersElided()){r.remove()}else{for(const e of s){e.remove()}}continue}if(r.isExportDeclaration()){r=r.get("declaration")}if(r.isVariableDeclaration({declare:true})){for(const e of Object.keys(r.getBindingIdentifiers())){registerGlobalType(o,e)}}else if(r.isTSTypeAliasDeclaration()||r.isTSDeclareFunction()&&r.get("id").isIdentifier()||r.isTSInterfaceDeclaration()||r.isClassDeclaration({declare:true})||r.isTSEnumDeclaration({declare:true})||r.isTSModuleDeclaration({declare:true})&&r.get("id").isIdentifier()){registerGlobalType(o,r.node.id.name)}}},exit(e){if(e.node.sourceType==="module"&&p.get(e.node)){e.pushContainer("body",n.types.exportNamedDeclaration())}}},ExportNamedDeclaration(e,t){if(!p.has(t.file.ast.program)){p.set(t.file.ast.program,true)}if(e.node.exportKind==="type"){e.remove();return}if(e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((e=>e.type==="ExportSpecifier"&&e.exportKind==="type"))){e.remove();return}if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((t=>n.types.isExportSpecifier(t)&&isGlobalType(e,t.local.name)))){e.remove();return}p.set(t.file.ast.program,false)},ExportSpecifier(e){const t=e.parent;if(!t.source&&isGlobalType(e,e.node.local.name)||e.node.exportKind==="type"){e.remove()}},ExportDefaultDeclaration(e,t){if(!p.has(t.file.ast.program)){p.set(t.file.ast.program,true)}if(n.types.isIdentifier(e.node.declaration)&&isGlobalType(e,e.node.declaration.name)){e.remove();return}p.set(t.file.ast.program,false)},TSDeclareFunction(e){e.remove()},TSDeclareMethod(e){e.remove()},VariableDeclaration(e){if(e.node.declare){e.remove()}},VariableDeclarator({node:e}){if(e.definite)e.definite=null},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:t}=e;if(t.declare){e.remove();return}},Class(e){const{node:t}=e;if(t.typeParameters)t.typeParameters=null;if(t.superTypeParameters)t.superTypeParameters=null;if(t.implements)t.implements=null;if(t.abstract)t.abstract=null;e.get("body.body").forEach((t=>{if(t.isClassMethod()||t.isClassPrivateMethod()){if(t.node.kind==="constructor"){x.constructor(t,e)}else{x.method(t)}}else if(t.isClassProperty()||t.isClassPrivateProperty()){x.field(t)}}))},Function(e){const{node:t}=e;if(t.typeParameters)t.typeParameters=null;if(t.returnType)t.returnType=null;const r=t.params;if(r.length>0&&n.types.isIdentifier(r[0],{name:"this"})){r.shift()}},TSModuleDeclaration(e){(0,c.default)(e,n.types,s)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){if(h&&e.node.const){(0,i.default)(e,n.types)}else{(0,l.default)(e,n.types)}},TSImportEqualsDeclaration(e){if(n.types.isTSExternalModuleReference(e.node.moduleReference)){throw e.buildCodeFrameError(`\`import ${e.node.id.name} = require('${e.node.moduleReference.expression.value}')\` `+"is not supported by @babel/plugin-transform-typescript\n"+"Please consider using "+`\`import ${e.node.id.name} from '${e.node.moduleReference.expression.value}';\` alongside `+"Typescript's --allowSyntheticDefaultImports option.")}e.replaceWith(n.types.variableDeclaration("var",[n.types.variableDeclarator(e.node.id,entityNameToExpr(e.node.moduleReference))]))},TSExportAssignment(e){throw e.buildCodeFrameError("`export =` is not supported by @babel/plugin-transform-typescript\n"+"Please consider using `export <value>;`.")},TSTypeAssertion(e){e.replaceWith(e.node.expression)},TSAsExpression(e){let{node:t}=e;do{t=t.expression}while(n.types.isTSAsExpression(t));e.replaceWith(t)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function entityNameToExpr(e){if(n.types.isTSQualifiedName(e)){return n.types.memberExpression(entityNameToExpr(e.left),e.right)}return e}function visitPattern({node:e}){if(e.typeAnnotation)e.typeAnnotation=null;if(n.types.isIdentifier(e)&&e.optional)e.optional=null}function isImportTypeOnly({binding:e,programPath:t,pragmaImportName:r,pragmaFragImportName:s}){for(const t of e.referencePaths){if(!isInType(t)){return false}}if(e.identifier.name!==r&&e.identifier.name!==s){return true}let a=false;t.traverse({"JSXElement|JSXFragment"(e){a=true;e.stop()}});return!a}}));t["default"]=f},4161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileNamespace;var s=r(8304);function transpileNamespace(e,t,r){if(e.node.declare||e.node.id.type==="StringLiteral"){e.remove();return}if(!r){throw e.hub.file.buildCodeFrameError(e.node.id,"Namespace not marked type-only declare."+" Non-declarative namespaces are only supported experimentally in Babel."+" To enable and review caveats see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const s=e.node.id.name;const a=handleNested(e,t,t.cloneDeep(e.node));const n=e.scope.hasOwnBinding(s);if(e.parent.type==="ExportNamedDeclaration"){if(!n){e.parentPath.insertAfter(a);e.replaceWith(getDeclaration(t,s));e.scope.registerDeclaration(e.parentPath)}else{e.parentPath.replaceWith(a)}}else if(n){e.replaceWith(a)}else{e.scope.registerDeclaration(e.replaceWithMultiple([getDeclaration(t,s),a])[0])}}function getDeclaration(e,t){return e.variableDeclaration("let",[e.variableDeclarator(e.identifier(t))])}function getMemberExpression(e,t,r){return e.memberExpression(e.identifier(t),e.identifier(r))}function handleVariableDeclaration(e,t,r){if(e.kind!=="const"){throw r.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel."+" Change to const or see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const{declarations:a}=e;if(a.every((e=>s.types.isIdentifier(e.id)))){for(const e of a){e.init=s.types.assignmentExpression("=",getMemberExpression(s.types,t,e.id.name),e.init)}return[e]}const n=s.types.getBindingIdentifiers(e);const o=[];for(const e in n){o.push(s.types.assignmentExpression("=",getMemberExpression(s.types,t,e),s.types.cloneNode(n[e])))}return[e,s.types.expressionStatement(s.types.sequenceExpression(o))]}function buildNestedAmbiendModuleError(e,t){throw e.hub.buildError(t,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function handleNested(e,t,r,a){const n=new Set;const o=r.id;t.assertIdentifier(o);const i=e.scope.generateUid(o.name);const l=t.isTSModuleBlock(r.body)?r.body.body:[t.exportNamedDeclaration(r.body)];for(let r=0;r<l.length;r++){const s=l[r];switch(s.type){case"TSModuleDeclaration":{if(!t.isIdentifier(s.id)){throw buildNestedAmbiendModuleError(e,s)}const a=handleNested(e,t,s);const o=s.id.name;if(n.has(o)){l[r]=a}else{n.add(o);l.splice(r++,1,getDeclaration(t,o),a)}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":n.add(s.id.name);continue;case"VariableDeclaration":{for(const e in t.getBindingIdentifiers(s)){n.add(e)}continue}default:continue;case"ExportNamedDeclaration":}switch(s.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{const e=s.declaration.id.name;n.add(e);l.splice(r++,1,s.declaration,t.expressionStatement(t.assignmentExpression("=",getMemberExpression(t,i,e),t.identifier(e))));break}case"VariableDeclaration":{const t=handleVariableDeclaration(s.declaration,i,e.hub);l.splice(r,t.length,...t);r+=t.length-1;break}case"TSModuleDeclaration":{if(!t.isIdentifier(s.declaration.id)){throw buildNestedAmbiendModuleError(e,s.declaration)}const a=handleNested(e,t,s.declaration,t.identifier(i));const o=s.declaration.id.name;if(n.has(o)){l[r]=a}else{n.add(o);l.splice(r++,1,getDeclaration(t,o),a)}}}}let c=t.objectExpression([]);if(a){const e=t.memberExpression(a,o);c=s.template.expression.ast` - ${t.cloneNode(e)} || - (${t.cloneNode(e)} = ${c}) + `,...t.expressions]))},TemplateLiteral(e){if(e.parent.type==="TSLiteralType"){return}const r=[];const t=e.get("expressions");let s=0;for(const n of e.node.quasis){if(n.value.cooked){r.push(a.types.stringLiteral(n.value.cooked))}if(s<t.length){const e=t[s++];const n=e.node;if(!a.types.isStringLiteral(n,{value:""})){r.push(n)}}}if(!a.types.isStringLiteral(r[0])&&!(n&&a.types.isStringLiteral(r[1]))){r.unshift(a.types.stringLiteral(""))}let o=r[0];if(n){for(let e=1;e<r.length;e++){o=a.types.binaryExpression("+",o,r[e])}}else if(r.length>1){o=buildConcatCallExpressions(r)}e.replaceWith(o)}}}}));r["default"]=n},6182:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"transform-typeof-symbol",visitor:{Scope({scope:e}){if(!e.getBinding("Symbol")){return}e.rename("Symbol")},UnaryExpression(e){const{node:r,parent:t}=e;if(r.operator!=="typeof")return;if(e.parentPath.isBinaryExpression()&&a.types.EQUALITY_BINARY_OPERATORS.indexOf(t.operator)>=0){const r=e.getOpposite();if(r.isStringLiteral()&&r.node.value!=="symbol"&&r.node.value!=="object"){return}}let s=e.findParent((e=>{if(e.isFunction()){var r;return((r=e.get("body.directives.0"))==null?void 0:r.node.value.value)==="@babel/helpers - typeof"}}));if(s)return;const n=this.addHelper("typeof");s=e.findParent((e=>e.isVariableDeclarator()&&e.node.id===n||e.isFunctionDeclaration()&&e.node.id&&e.node.id.name===n.name));if(s){return}const o=a.types.callExpression(n,[r.argument]);const i=e.get("argument");if(i.isIdentifier()&&!e.scope.hasBinding(i.node.name,true)){const t=a.types.unaryExpression("typeof",a.types.cloneNode(r.argument));e.replaceWith(a.types.conditionalExpression(a.types.binaryExpression("===",t,a.types.stringLiteral("undefined")),a.types.stringLiteral("undefined"),o))}else{e.replaceWith(o)}}}}}));r["default"]=n},6969:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=transpileConstEnum;var s=t(7812);function transpileConstEnum(e,r){const{name:t}=e.node.id;const a=e.parentPath.isExportNamedDeclaration();let n=a;if(!n&&r.isProgram(e.parent)){n=e.parent.body.some((e=>r.isExportNamedDeclaration(e)&&e.exportKind!=="type"&&!e.source&&e.specifiers.some((e=>r.isExportSpecifier(e)&&e.exportKind!=="type"&&e.local.name===t))))}const{enumValues:o}=(0,s.translateEnumValues)(e,r);if(n){const s=r.objectExpression(o.map((([e,t])=>r.objectProperty(r.isValidIdentifier(e)?r.identifier(e):r.stringLiteral(e),t))));if(e.scope.hasOwnBinding(t)){(a?e.parentPath:e).replaceWith(r.expressionStatement(r.callExpression(r.memberExpression(r.identifier("Object"),r.identifier("assign")),[e.node.id,s])))}else{e.replaceWith(r.variableDeclaration("var",[r.variableDeclarator(e.node.id,s)]));e.scope.registerDeclaration(e)}return}const i=new Map(o);e.scope.path.traverse({Scope(e){if(e.scope.hasOwnBinding(t))e.skip()},MemberExpression(e){if(!r.isIdentifier(e.node.object,{name:t}))return;let s;if(e.node.computed){if(r.isStringLiteral(e.node.property)){s=e.node.property.value}else{return}}else if(r.isIdentifier(e.node.property)){s=e.node.property.name}else{return}if(!i.has(s))return;e.replaceWith(r.cloneNode(i.get(s)))}});e.remove()}},7812:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=transpileEnum;r.translateEnumValues=translateEnumValues;var s=t(8304);var a=t(9491);var n=t(365);const o=new WeakMap;const i=s.template.expression(`\n (function (ID) {\n ASSIGNMENTS;\n return ID;\n })(INIT)\n `);function transpileEnum(e,r){const{node:t,parentPath:s}=e;if(t.declare){e.remove();return}const a=t.id.name;const{fill:l,data:c,isPure:d}=enumFill(e,r,t.id);switch(s.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{const u=r.isProgram(e.parent);const p=seen(s);let f=r.objectExpression([]);if(p||u){f=r.logicalExpression("||",r.cloneNode(l.ID),f)}const y=i(Object.assign({},l,{INIT:f}));if(d)(0,n.default)(y);if(p){const a=s.isExportDeclaration()?s:e;a.replaceWith(r.expressionStatement(r.assignmentExpression("=",r.cloneNode(t.id),y)))}else{e.scope.registerDeclaration(e.replaceWith(r.variableDeclaration(u?"var":"let",[r.variableDeclarator(t.id,y)]))[0])}o.set(e.scope.getBindingIdentifier(a),c);break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function seen(e){if(e.isExportDeclaration()){return seen(e.parentPath)}if(e.getData(a)){return true}else{e.setData(a,true);return false}}}const l=(0,s.template)(`\n ENUM["NAME"] = VALUE;\n`);const c=(0,s.template)(`\n ENUM[ENUM["NAME"] = VALUE] = "NAME";\n`);const buildEnumMember=(e,r)=>(e?l:c)(r);function enumFill(e,r,t){const{enumValues:s,data:a,isPure:n}=translateEnumValues(e,r);const o=s.map((([e,s])=>buildEnumMember(r.isStringLiteral(s),{ENUM:r.cloneNode(t),NAME:e,VALUE:s})));return{fill:{ID:r.cloneNode(t),ASSIGNMENTS:o},data:a,isPure:n}}function ReferencedIdentifier(e,r){const{seen:t,path:s,t:a}=r;const n=e.node.name;if(t.has(n)&&!e.scope.hasOwnBinding(n)){e.replaceWith(a.memberExpression(a.cloneNode(s.node.id),a.cloneNode(e.node)));e.skip()}}const d={ReferencedIdentifier:ReferencedIdentifier};function translateEnumValues(e,r){const t=new Map;let s=-1;let n;let o=true;const i=e.get("members").map((i=>{const l=i.node;const c=r.isIdentifier(l.id)?l.id.name:l.id.value;const u=i.get("initializer");const p=l.initializer;let f;if(p){s=computeConstantValue(u,t);if(s!==undefined){t.set(c,s);a(typeof s==="number"||typeof s==="string");if(s===Infinity||Number.isNaN(s)){f=r.identifier(String(s))}else if(s===-Infinity){f=r.unaryExpression("-",r.identifier("Infinity"))}else{f=r.valueToNode(s)}}else{o&&(o=u.isPure());if(u.isReferencedIdentifier()){ReferencedIdentifier(u,{t:r,seen:t,path:e})}else{u.traverse(d,{t:r,seen:t,path:e})}f=u.node;t.set(c,undefined)}}else if(typeof s==="number"){s+=1;f=r.numericLiteral(s);t.set(c,s)}else if(typeof s==="string"){throw e.buildCodeFrameError("Enum member must have initializer.")}else{const s=r.memberExpression(r.cloneNode(e.node.id),r.stringLiteral(n),true);f=r.binaryExpression("+",r.numericLiteral(1),s);t.set(c,undefined)}n=c;return[c,f]}));return{isPure:o,data:t,enumValues:i}}function computeConstantValue(e,r,t=new Set){return evaluate(e);function evaluate(e){const s=e.node;switch(s.type){case"MemberExpression":return evaluateRef(e,r,t);case"StringLiteral":return s.value;case"UnaryExpression":return evalUnaryExpression(e);case"BinaryExpression":return evalBinaryExpression(e);case"NumericLiteral":return s.value;case"ParenthesizedExpression":return evaluate(e.get("expression"));case"Identifier":return evaluateRef(e,r,t);case"TemplateLiteral":{if(s.quasis.length===1){return s.quasis[0].value.cooked}const a=e.get("expressions");const n=s.quasis;let o="";for(let e=0;e<n.length;e++){o+=n[e].value.cooked;if(e+1<n.length){const s=evaluateRef(a[e],r,t);if(s===undefined)return undefined;o+=s}}return o}default:return undefined}}function evaluateRef(e,r,t){if(e.isMemberExpression()){const r=e.node;const t=r.object;const a=r.property;if(!s.types.isIdentifier(t)||(r.computed?!s.types.isStringLiteral(a):!s.types.isIdentifier(a))){return}const n=e.scope.getBindingIdentifier(t.name);const i=o.get(n);if(!i)return;return i.get(a.computed?a.value:a.name)}else if(e.isIdentifier()){const s=e.node.name;if(["Infinity","NaN"].includes(s)){return Number(s)}let a=r==null?void 0:r.get(s);if(a!==undefined){return a}if(t.has(e.node))return;const n=e.resolve();if(n){t.add(e.node);a=computeConstantValue(n,undefined,t);r==null?void 0:r.set(s,a);return a}}}function evalUnaryExpression(e){const r=evaluate(e.get("argument"));if(r===undefined){return undefined}switch(e.node.operator){case"+":return r;case"-":return-r;case"~":return~r;default:return undefined}}function evalBinaryExpression(e){const r=evaluate(e.get("left"));if(r===undefined){return undefined}const t=evaluate(e.get("right"));if(t===undefined){return undefined}switch(e.node.operator){case"|":return r|t;case"&":return r&t;case">>":return r>>t;case">>>":return r>>>t;case"<<":return r<<t;case"^":return r^t;case"*":return r*t;case"/":return r/t;case"+":return r+t;case"-":return r-t;case"%":return r%t;case"**":return Math.pow(r,t);default:return undefined}}}},7167:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(6141);var n=t(269);var o=t(6969);var i=t(7812);var l=t(2274);function isInType(e){switch(e.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return true;case"TSQualifiedName":return e.parentPath.findParent((e=>e.type!=="TSQualifiedName")).type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return e.parent.exportKind==="type"||e.parentPath.parent.exportKind==="type";default:return false}}const c=new WeakMap;const d=new WeakMap;const u=new WeakSet;function isGlobalType({scope:e},r){if(e.hasBinding(r))return false;if(c.get(e).has(r))return true;console.warn(`The exported identifier "${r}" is not declared in Babel's scope tracker\n`+`as a JavaScript value binding, and "@babel/plugin-transform-typescript"\n`+`never encountered it as a TypeScript type declaration.\n`+`It will be treated as a JavaScript value.\n\n`+`This problem is likely caused by another plugin injecting\n`+`"${r}" without registering it in the scope tracker. If you are the author\n`+` of that plugin, please use "scope.registerDeclaration(declarationPath)".`);return false}function registerGlobalType(e,r){c.get(e).add(r)}function safeRemove(e){const r=e.getBindingIdentifiers();for(const t of Object.keys(r)){const s=e.scope.getBinding(t);if(s&&s.identifier===r[t]){s.scope.removeBinding(t)}}e.opts.noScope=true;e.remove();e.opts.noScope=false}function assertCjsTransformEnabled(e,r,t,s,a=""){if(r.file.get("@babel/plugin-transform-modules-*")!=="commonjs"){throw e.buildCodeFrameError(`\`${t}\` is only supported when compiling modules to CommonJS.\n`+`Please consider using \`${s}\`${a}, or add `+`@babel/plugin-transform-modules-commonjs to your Babel config.`)}}var p=(0,s.declare)(((e,r)=>{const{types:t,template:s}=e;e.assertVersion(7);const p=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/;const{allowNamespaces:f=true,jsxPragma:y="React.createElement",jsxPragmaFrag:g="React.Fragment",onlyRemoveTypeImports:h=false,optimizeConstEnums:b=false}=r;{var{allowDeclareFields:x=false}=r}const v={field(e){const{node:r}=e;{if(!x&&r.declare){throw e.buildCodeFrameError(`The 'declare' modifier is only allowed when the 'allowDeclareFields' option of `+`@babel/plugin-transform-typescript or @babel/preset-typescript is enabled.`)}}if(r.declare){if(r.value){throw e.buildCodeFrameError(`Fields with the 'declare' modifier cannot be initialized here, but only in the constructor`)}if(!r.decorators){e.remove()}}else if(r.definite){if(r.value){throw e.buildCodeFrameError(`Definitely assigned fields cannot be initialized here, but only in the constructor`)}{if(!x&&!r.decorators&&!t.isClassPrivateProperty(r)){e.remove()}}}else if(r.abstract){e.remove()}else{if(!x&&!r.value&&!r.decorators&&!t.isClassPrivateProperty(r)){e.remove()}}if(r.accessibility)r.accessibility=null;if(r.abstract)r.abstract=null;if(r.readonly)r.readonly=null;if(r.optional)r.optional=null;if(r.typeAnnotation)r.typeAnnotation=null;if(r.definite)r.definite=null;if(r.declare)r.declare=null;if(r.override)r.override=null},method({node:e}){if(e.accessibility)e.accessibility=null;if(e.abstract)e.abstract=null;if(e.optional)e.optional=null;if(e.override)e.override=null},constructor(e,r){if(e.node.accessibility)e.node.accessibility=null;const a=[];const{scope:o}=e;for(const r of e.get("params")){const e=r.node;if(e.type==="TSParameterProperty"){const n=e.parameter;if(u.has(n))continue;u.add(n);let i;if(t.isIdentifier(n)){i=n}else if(t.isAssignmentPattern(n)&&t.isIdentifier(n.left)){i=n.left}else{throw r.buildCodeFrameError("Parameter properties can not be destructuring patterns.")}a.push(s.statement.ast` + this.${t.cloneNode(i)} = ${t.cloneNode(i)}`);r.replaceWith(r.get("parameter"));o.registerBinding("param",r)}}(0,n.injectInitialization)(r,e,a)}};return{name:"transform-typescript",inherits:a.default,visitor:{Pattern:visitPattern,Identifier:visitPattern,RestElement:visitPattern,Program:{enter(e,r){const{file:t}=r;let s=null;let a=null;const n=e.scope;if(!c.has(n)){c.set(n,new Set)}if(t.ast.comments){for(const e of t.ast.comments){const r=p.exec(e.value);if(r){if(r[1]){a=r[2]}else{s=r[2]}}}}let o=s||y;if(o){[o]=o.split(".")}let i=a||g;if(i){[i]=i.split(".")}for(let t of e.get("body")){if(t.isImportDeclaration()){if(!d.has(r.file.ast.program)){d.set(r.file.ast.program,true)}if(t.node.importKind==="type"){for(const e of t.node.specifiers){registerGlobalType(n,e.local.name)}t.remove();continue}const s=new Set;const a=t.node.specifiers.length;const isAllSpecifiersElided=()=>a>0&&a===s.size;for(const e of t.node.specifiers){if(e.type==="ImportSpecifier"&&e.importKind==="type"){registerGlobalType(n,e.local.name);const r=t.scope.getBinding(e.local.name);if(r){s.add(r.path)}}}if(h){d.set(e.node,false)}else{if(t.node.specifiers.length===0){d.set(e.node,false);continue}for(const r of t.node.specifiers){const a=t.scope.getBinding(r.local.name);if(a&&!s.has(a.path)){if(isImportTypeOnly({binding:a,programPath:e,pragmaImportName:o,pragmaFragImportName:i})){s.add(a.path)}else{d.set(e.node,false)}}}}if(isAllSpecifiersElided()&&!h){t.remove()}else{for(const e of s){e.remove()}}continue}if(t.isExportDeclaration()){t=t.get("declaration")}if(t.isVariableDeclaration({declare:true})){for(const e of Object.keys(t.getBindingIdentifiers())){registerGlobalType(n,e)}}else if(t.isTSTypeAliasDeclaration()||t.isTSDeclareFunction()&&t.get("id").isIdentifier()||t.isTSInterfaceDeclaration()||t.isClassDeclaration({declare:true})||t.isTSEnumDeclaration({declare:true})||t.isTSModuleDeclaration({declare:true})&&t.get("id").isIdentifier()){registerGlobalType(n,t.node.id.name)}}},exit(e){if(e.node.sourceType==="module"&&d.get(e.node)){e.pushContainer("body",t.exportNamedDeclaration())}}},ExportNamedDeclaration(e,r){if(!d.has(r.file.ast.program)){d.set(r.file.ast.program,true)}if(e.node.exportKind==="type"){e.remove();return}if(e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((e=>e.type==="ExportSpecifier"&&e.exportKind==="type"))){e.remove();return}if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((r=>t.isExportSpecifier(r)&&isGlobalType(e,r.local.name)))){e.remove();return}if(t.isTSModuleDeclaration(e.node.declaration)){const r=e.node.declaration;const{id:s}=r;if(t.isIdentifier(s)){if(e.scope.hasOwnBinding(s.name)){e.replaceWith(r)}else{const[a]=e.replaceWithMultiple([t.exportNamedDeclaration(t.variableDeclaration("let",[t.variableDeclarator(t.cloneNode(s))])),r]);e.scope.registerDeclaration(a)}}}d.set(r.file.ast.program,false)},ExportAllDeclaration(e){if(e.node.exportKind==="type")e.remove()},ExportSpecifier(e){const r=e.parent;if(!r.source&&isGlobalType(e,e.node.local.name)||e.node.exportKind==="type"){e.remove()}},ExportDefaultDeclaration(e,r){if(!d.has(r.file.ast.program)){d.set(r.file.ast.program,true)}if(t.isIdentifier(e.node.declaration)&&isGlobalType(e,e.node.declaration.name)){e.remove();return}d.set(r.file.ast.program,false)},TSDeclareFunction(e){safeRemove(e)},TSDeclareMethod(e){safeRemove(e)},VariableDeclaration(e){if(e.node.declare){safeRemove(e)}},VariableDeclarator({node:e}){if(e.definite)e.definite=null},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:r}=e;if(r.declare){safeRemove(e)}},Class(e){const{node:r}=e;if(r.typeParameters)r.typeParameters=null;if(r.superTypeParameters)r.superTypeParameters=null;if(r.implements)r.implements=null;if(r.abstract)r.abstract=null;e.get("body.body").forEach((r=>{if(r.isClassMethod()||r.isClassPrivateMethod()){if(r.node.kind==="constructor"){v.constructor(r,e)}else{v.method(r)}}else if(r.isClassProperty()||r.isClassPrivateProperty()||r.isClassAccessorProperty()){v.field(r)}}))},Function(e){const{node:r}=e;if(r.typeParameters)r.typeParameters=null;if(r.returnType)r.returnType=null;const s=r.params;if(s.length>0&&t.isIdentifier(s[0],{name:"this"})){s.shift()}},TSModuleDeclaration(e){(0,l.default)(e,f)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){if(b&&e.node.const){(0,o.default)(e,t)}else{(0,i.default)(e,t)}},TSImportEqualsDeclaration(e,r){const{id:s,moduleReference:a}=e.node;let n;let o;if(t.isTSExternalModuleReference(a)){assertCjsTransformEnabled(e,r,`import ${s.name} = require(...);`,`import ${s.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option");n=t.callExpression(t.identifier("require"),[a.expression]);o="const"}else{n=entityNameToExpr(a);o="var"}e.replaceWith(t.variableDeclaration(o,[t.variableDeclarator(s,n)]));e.scope.registerDeclaration(e)},TSExportAssignment(e,r){assertCjsTransformEnabled(e,r,`export = <value>;`,`export default <value>;`);e.replaceWith(s.statement.ast`module.exports = ${e.node.expression}`)},TSTypeAssertion(e){e.replaceWith(e.node.expression)},[`TSAsExpression${t.tsSatisfiesExpression?"|TSSatisfiesExpression":""}`](e){let{node:r}=e;do{r=r.expression}while(t.isTSAsExpression(r)||t.isTSSatisfiesExpression!=null&&t.isTSSatisfiesExpression(r));e.replaceWith(r)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function entityNameToExpr(e){if(t.isTSQualifiedName(e)){return t.memberExpression(entityNameToExpr(e.left),e.right)}return e}function visitPattern({node:e}){if(e.typeAnnotation)e.typeAnnotation=null;if(t.isIdentifier(e)&&e.optional)e.optional=null}function isImportTypeOnly({binding:e,programPath:r,pragmaImportName:t,pragmaFragImportName:s}){for(const r of e.referencePaths){if(!isInType(r)){return false}}if(e.identifier.name!==t&&e.identifier.name!==s){return true}let a=false;r.traverse({"JSXElement|JSXFragment"(e){a=true;e.stop()}});return!a}}));r["default"]=p},2274:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=transpileNamespace;var s=t(8304);function transpileNamespace(e,r){if(e.node.declare||e.node.id.type==="StringLiteral"){e.remove();return}if(!r){throw e.get("id").buildCodeFrameError("Namespace not marked type-only declare."+" Non-declarative namespaces are only supported experimentally in Babel."+" To enable and review caveats see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const t=e.node.id.name;const a=handleNested(e,s.types.cloneNode(e.node,true));if(a===null){e.remove()}else if(e.scope.hasOwnBinding(t)){e.replaceWith(a)}else{e.scope.registerDeclaration(e.replaceWithMultiple([getDeclaration(t),a])[0])}}function getDeclaration(e){return s.types.variableDeclaration("let",[s.types.variableDeclarator(s.types.identifier(e))])}function getMemberExpression(e,r){return s.types.memberExpression(s.types.identifier(e),s.types.identifier(r))}function handleVariableDeclaration(e,r,t){if(e.kind!=="const"){throw t.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel."+" Change to const or see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const{declarations:a}=e;if(a.every((e=>s.types.isIdentifier(e.id)))){for(const e of a){e.init=s.types.assignmentExpression("=",getMemberExpression(r,e.id.name),e.init)}return[e]}const n=s.types.getBindingIdentifiers(e);const o=[];for(const e in n){o.push(s.types.assignmentExpression("=",getMemberExpression(r,e),s.types.cloneNode(n[e])))}return[e,s.types.expressionStatement(s.types.sequenceExpression(o))]}function buildNestedAmbientModuleError(e,r){return e.hub.buildError(r,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function handleNested(e,r,t){const a=new Set;const n=r.id;s.types.assertIdentifier(n);const o=e.scope.generateUid(n.name);const i=s.types.isTSModuleBlock(r.body)?r.body.body:[s.types.exportNamedDeclaration(r.body)];let l=true;for(let r=0;r<i.length;r++){const t=i[r];switch(t.type){case"TSModuleDeclaration":{if(!s.types.isIdentifier(t.id)){throw buildNestedAmbientModuleError(e,t)}const n=handleNested(e,t);if(n!==null){l=false;const e=t.id.name;if(a.has(e)){i[r]=n}else{a.add(e);i.splice(r++,1,getDeclaration(e),n)}}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":l=false;a.add(t.id.name);continue;case"VariableDeclaration":{l=false;for(const e in s.types.getBindingIdentifiers(t)){a.add(e)}continue}default:l&&(l=s.types.isTypeScript(t));continue;case"ExportNamedDeclaration":}if("declare"in t.declaration&&t.declaration.declare){continue}switch(t.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{l=false;const e=t.declaration.id.name;a.add(e);i.splice(r++,1,t.declaration,s.types.expressionStatement(s.types.assignmentExpression("=",getMemberExpression(o,e),s.types.identifier(e))));break}case"VariableDeclaration":{l=false;const s=handleVariableDeclaration(t.declaration,o,e.hub);i.splice(r,s.length,...s);r+=s.length-1;break}case"TSModuleDeclaration":{if(!s.types.isIdentifier(t.declaration.id)){throw buildNestedAmbientModuleError(e,t.declaration)}const n=handleNested(e,t.declaration,s.types.identifier(o));if(n!==null){l=false;const e=t.declaration.id.name;if(a.has(e)){i[r]=n}else{a.add(e);i.splice(r++,1,getDeclaration(e),n)}}else{i.splice(r,1);r--}}}}if(l)return null;let c=s.types.objectExpression([]);if(t){const e=s.types.memberExpression(t,n);c=s.template.expression.ast` + ${s.types.cloneNode(e)} || + (${s.types.cloneNode(e)} = ${c}) `}return s.template.statement.ast` - (function (${t.identifier(i)}) { - ${l} - })(${o} || (${t.cloneNode(o)} = ${c})); - `}},5982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6454);var a=r(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);const t=/[\ud800-\udfff]/g;const r=/(\\+)u\{([0-9a-fA-F]+)\}/g;function escape(e){let t=e.toString(16);while(t.length<4)t="0"+t;return"\\u"+t}function replacer(e,t,r){if(t.length%2===0){return e}const s=String.fromCodePoint(parseInt(r,16));const a=t.slice(0,-1)+escape(s.charCodeAt(0));return s.length===1?a:a+escape(s.charCodeAt(1))}function replaceUnicodeEscapes(e){return e.replace(r,replacer)}function getUnicodeEscape(e){let t;while(t=r.exec(e)){if(t[1].length%2===0)continue;r.lastIndex=0;return t[0]}return null}return{name:"transform-unicode-escapes",manipulateOptions({generatorOpts:e}){var t,r;if(!e.jsescOption){e.jsescOption={}}(r=(t=e.jsescOption).minimal)!=null?r:t.minimal=false},visitor:{Identifier(e){const{node:r,key:s}=e;const{name:n}=r;const o=n.replace(t,(e=>`_u${e.charCodeAt(0).toString(16)}`));if(n===o)return;const i=a.types.inherits(a.types.stringLiteral(n),r);if(s==="key"){e.replaceWith(i);return}const{parentPath:l,scope:c}=e;if(l.isMemberExpression({property:r})||l.isOptionalMemberExpression({property:r})){l.node.computed=true;e.replaceWith(i);return}const u=c.getBinding(n);if(u){c.rename(n,c.generateUid(o));return}throw e.buildCodeFrameError(`Can't reference '${n}' as a bare identifier`)},"StringLiteral|DirectiveLiteral"(e){const{node:t}=e;const{extra:r}=t;if(r!=null&&r.raw)r.raw=replaceUnicodeEscapes(r.raw)},TemplateElement(e){const{node:t,parentPath:r}=e;const{value:s}=t;const a=getUnicodeEscape(s.raw);if(!a)return;const n=r.parentPath;if(n.isTaggedTemplateExpression()){throw e.buildCodeFrameError(`Can't replace Unicode escape '${a}' inside tagged template literals. You can enable '@babel/plugin-transform-template-literals' to compile them to classic strings.`)}s.raw=replaceUnicodeEscapes(s.raw)}}}}));t["default"]=n},7746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(2449);var a=r(6454);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"transform-unicode-regex",feature:"unicodeFlag"})}));t["default"]=n},842:e=>{const t=new Set;const r=["syntax-import-assertions"];const s={"proposal-async-generator-functions":"syntax-async-generators","proposal-class-properties":"syntax-class-properties","proposal-class-static-block":"syntax-class-static-block","proposal-json-strings":"syntax-json-strings","proposal-nullish-coalescing-operator":"syntax-nullish-coalescing-operator","proposal-numeric-separator":"syntax-numeric-separator","proposal-object-rest-spread":"syntax-object-rest-spread","proposal-optional-catch-binding":"syntax-optional-catch-binding","proposal-optional-chaining":"syntax-optional-chaining","proposal-private-methods":"syntax-class-properties","proposal-private-property-in-object":"syntax-private-property-in-object","proposal-unicode-property-regex":null};const a=Object.keys(s).map((function(e){return[e,s[e]]}));const n=new Map(a);e.exports={pluginSyntaxMap:n,proposalPlugins:t,proposalSyntaxPlugins:r}},3734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.minVersions=t["default"]=void 0;var s=r(3578);var a=r(6348);var n=r(5839);var o=r(3477);var i=r(6529);var l=r(5539);var c=r(5099);var u=r(4379);var p=r(4714);var d=r(1026);var f=r(1801);var y=r(9583);var g=r(7022);var h=r(2998);var b=r(4086);var x=r(9428);var v=r(1688);var j=r(4417);var E=r(3205);var w=r(6976);var _=r(2547);var S=r(9163);var k=r(7234);var I=r(4470);var D=r(2807);var C=r(335);var P=r(9350);var O=r(2486);var A=r(6203);var R=r(2491);var M=r(6668);var N=r(4380);var F=r(2968);var L=r(7024);var B=r(2879);var U=r(2617);var W=r(1137);var V=r(3644);var $=r(162);var G=r(7901);var q=r(7662);var H=r(5762);var z=r(2405);var K=r(2884);var X=r(9110);var Y=r(6824);var J=r(5185);var Q=r(272);var Z=r(1570);var ee=r(7429);var te=r(3403);var re=r(4013);var se=r(4727);var ae=r(116);var ne=r(519);var oe=r(4674);var ie=r(6342);var le=r(1227);var ce=r(1912);var ue=r(582);var pe=r(5982);var de=r(7746);var fe=r(7822);var ye=r(1279);var me=r(4758);var ge=r(9683);var he=r(9827);var be=r(6806);var xe=r(7343);var ve=r(660);var je={"bugfix/transform-async-arrows-in-class":()=>fe,"bugfix/transform-edge-default-parameters":()=>ye,"bugfix/transform-edge-function-name":()=>me,"bugfix/transform-safari-block-shadowing":()=>he,"bugfix/transform-safari-for-shadowing":()=>be,"bugfix/transform-safari-id-destructuring-collision-in-function-expression":()=>xe.default,"bugfix/transform-tagged-template-caching":()=>ge,"bugfix/transform-v8-spread-parameters-in-optional-chaining":()=>ve.default,"proposal-async-generator-functions":()=>x.default,"proposal-class-properties":()=>v.default,"proposal-class-static-block":()=>j.default,"proposal-dynamic-import":()=>E.default,"proposal-export-namespace-from":()=>w.default,"proposal-json-strings":()=>_.default,"proposal-logical-assignment-operators":()=>S.default,"proposal-nullish-coalescing-operator":()=>k.default,"proposal-numeric-separator":()=>I.default,"proposal-object-rest-spread":()=>D.default,"proposal-optional-catch-binding":()=>C.default,"proposal-optional-chaining":()=>P.default,"proposal-private-methods":()=>O.default,"proposal-private-property-in-object":()=>A.default,"proposal-unicode-property-regex":()=>R.default,"syntax-async-generators":()=>s,"syntax-class-properties":()=>a,"syntax-class-static-block":()=>n,"syntax-dynamic-import":()=>o,"syntax-export-namespace-from":()=>i,"syntax-import-assertions":()=>l.default,"syntax-json-strings":()=>c,"syntax-logical-assignment-operators":()=>u,"syntax-nullish-coalescing-operator":()=>p,"syntax-numeric-separator":()=>d,"syntax-object-rest-spread":()=>f,"syntax-optional-catch-binding":()=>y,"syntax-optional-chaining":()=>g,"syntax-private-property-in-object":()=>h,"syntax-top-level-await":()=>b,"transform-arrow-functions":()=>N.default,"transform-async-to-generator":()=>M.default,"transform-block-scoped-functions":()=>F.default,"transform-block-scoping":()=>L.default,"transform-classes":()=>B.default,"transform-computed-properties":()=>U.default,"transform-destructuring":()=>W.default,"transform-dotall-regex":()=>V.default,"transform-duplicate-keys":()=>$.default,"transform-exponentiation-operator":()=>G.default,"transform-for-of":()=>q.default,"transform-function-name":()=>H.default,"transform-literals":()=>z.default,"transform-member-expression-literals":()=>K.default,"transform-modules-amd":()=>X.default,"transform-modules-commonjs":()=>Y.default,"transform-modules-systemjs":()=>J.default,"transform-modules-umd":()=>Q.default,"transform-named-capturing-groups-regex":()=>Z.default,"transform-new-target":()=>ee.default,"transform-object-super":()=>te.default,"transform-parameters":()=>re.default,"transform-property-literals":()=>se.default,"transform-regenerator":()=>ae.default,"transform-reserved-words":()=>ne.default,"transform-shorthand-properties":()=>oe.default,"transform-spread":()=>ie.default,"transform-sticky-regex":()=>le.default,"transform-template-literals":()=>ce.default,"transform-typeof-symbol":()=>ue.default,"transform-unicode-escapes":()=>pe.default,"transform-unicode-regex":()=>de.default};t["default"]=je;const Ee={"bugfix/transform-safari-id-destructuring-collision-in-function-expression":"7.16.0","proposal-class-static-block":"7.12.0","proposal-private-property-in-object":"7.10.0"};t.minVersions=Ee},7018:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logPlugin=void 0;var s=r(8479);const logPlugin=(e,t,r)=>{const a=(0,s.getInclusionReasons)(e,t,r);const n=r[e];if(!n){console.log(` ${e}`);return}let o=`{`;let i=true;for(const e of Object.keys(a)){if(!i)o+=`,`;i=false;o+=` ${e}`;if(n[e])o+=` < ${n[e]}`}o+=` }`;console.log(` ${e} ${o}`)};t.logPlugin=logPlugin},1298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addProposalSyntaxPlugins=addProposalSyntaxPlugins;t.removeUnnecessaryItems=removeUnnecessaryItems;t.removeUnsupportedItems=removeUnsupportedItems;var s=r(7849);var a=r(3734);const n=Function.call.bind(Object.hasOwnProperty);function addProposalSyntaxPlugins(e,t){t.forEach((t=>{e.add(t)}))}function removeUnnecessaryItems(e,t){e.forEach((r=>{var s;(s=t[r])==null?void 0:s.forEach((t=>e.delete(t)))}))}function removeUnsupportedItems(e,t){e.forEach((r=>{if(n(a.minVersions,r)&&(0,s.lt)(t,a.minVersions[r])){e.delete(r)}}))}},2336:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;const r=["transform-typeof-symbol"];function _default({loose:e}){return e?r:null}},5954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPolyfillPlugins=t.getModulesPluginNames=t["default"]=void 0;t.isPluginRequired=isPluginRequired;t.transformIncludesAndExcludes=void 0;var s=r(7849);var a=r(7018);var n=r(2336);var o=r(1298);var i=r(3649);var l=r(271);var c=r(842);var u=r(1567);var p=r(8533);var d=r(8570);var f=r(597);var y=r(9068);var g=r(6619);var h=r(6880);var b=r(8479);var x=r(3734);var v=r(8123);const j=y.default||y;const E=g.default||g;const w=h.default||h;function isPluginRequired(e,t){return(0,b.isRequired)("fake-name",e,{compatData:{"fake-name":t}})}function filterStageFromList(e,t){return Object.keys(e).reduce(((r,s)=>{if(!t.has(s)){r[s]=e[s]}return r}),{})}const _={withProposals:{withoutBugfixes:u.plugins,withBugfixes:Object.assign({},u.plugins,u.pluginsBugfixes)},withoutProposals:{withoutBugfixes:filterStageFromList(u.plugins,c.proposalPlugins),withBugfixes:filterStageFromList(Object.assign({},u.plugins,u.pluginsBugfixes),c.proposalPlugins)}};function getPluginList(e,t){if(e){if(t)return _.withProposals.withBugfixes;else return _.withProposals.withoutBugfixes}else{if(t)return _.withoutProposals.withBugfixes;else return _.withoutProposals.withoutBugfixes}}const getPlugin=e=>{const t=x.default[e]();if(!t){throw new Error(`Could not find plugin "${e}". Ensure there is an entry in ./available-plugins.js for it.`)}return t};const transformIncludesAndExcludes=e=>e.reduce(((e,t)=>{const r=t.match(/^(es|es6|es7|esnext|web)\./)?"builtIns":"plugins";e[r].add(t);return e}),{all:e,plugins:new Set,builtIns:new Set});t.transformIncludesAndExcludes=transformIncludesAndExcludes;const getModulesPluginNames=({modules:e,transformations:t,shouldTransformESM:r,shouldTransformDynamicImport:s,shouldTransformExportNamespaceFrom:a,shouldParseTopLevelAwait:n})=>{const o=[];if(e!==false&&t[e]){if(r){o.push(t[e])}if(s&&r&&e!=="umd"){o.push("proposal-dynamic-import")}else{if(s){console.warn("Dynamic import can only be supported when transforming ES modules"+" to AMD, CommonJS or SystemJS. Only the parser plugin will be enabled.")}o.push("syntax-dynamic-import")}}else{o.push("syntax-dynamic-import")}if(a){o.push("proposal-export-namespace-from")}else{o.push("syntax-export-namespace-from")}if(n){o.push("syntax-top-level-await")}return o};t.getModulesPluginNames=getModulesPluginNames;const getPolyfillPlugins=({useBuiltIns:e,corejs:t,polyfillTargets:r,include:s,exclude:a,proposals:n,shippedProposals:o,regenerator:i,debug:l})=>{const c=[];if(e==="usage"||e==="entry"){const u={method:`${e}-global`,version:t?t.toString():undefined,targets:r,include:s,exclude:a,proposals:n,shippedProposals:o,debug:l};if(t){if(e==="usage"){if(t.major===2){c.push([j,u],[f.default,{usage:true}])}else{c.push([E,u],[f.default,{usage:true,deprecated:true}])}if(i){c.push([w,{method:"usage-global",debug:l}])}}else{if(t.major===2){c.push([f.default,{regenerator:i}],[j,u])}else{c.push([E,u],[f.default,{deprecated:true}]);if(!i){c.push([d.default,u])}}}}}return c};t.getPolyfillPlugins=getPolyfillPlugins;function getLocalTargets(e,t,r,s){if(e!=null&&e.esmodules&&e.browsers){console.warn(`\n@babel/preset-env: esmodules and browsers targets have been specified together.\n\`browsers\` target, \`${e.browsers.toString()}\` will be ignored.\n`)}return(0,b.default)(e,{ignoreBrowserslistConfig:t,configPath:r,browserslistEnv:s})}function supportsStaticESM(e){return!!(e!=null&&e.supportsStaticESM)}function supportsDynamicImport(e){return!!(e!=null&&e.supportsDynamicImport)}function supportsExportNamespaceFrom(e){return!!(e!=null&&e.supportsExportNamespaceFrom)}function supportsTopLevelAwait(e){return!!(e!=null&&e.supportsTopLevelAwait)}var S=(0,v.declarePreset)(((e,t)=>{e.assertVersion(7);const r=e.targets();const{bugfixes:u,configPath:d,debug:f,exclude:y,forceAllTransforms:g,ignoreBrowserslistConfig:h,include:x,loose:v,modules:j,shippedProposals:E,spec:w,targets:_,useBuiltIns:S,corejs:{version:k,proposals:I},browserslistEnv:D}=(0,l.default)(t);let C=r;if((0,s.lt)(e.version,"7.13.0")||t.targets||t.configPath||t.browserslistEnv||t.ignoreBrowserslistConfig){{var P=false;if(_!=null&&_.uglify){P=true;delete _.uglify;console.warn(`\nThe uglify target has been deprecated. Set the top level\noption \`forceAllTransforms: true\` instead.\n`)}}C=getLocalTargets(_,h,d,D)}const O=g||P?{}:C;const A=transformIncludesAndExcludes(x);const R=transformIncludesAndExcludes(y);const M=getPluginList(E,u);const N=j==="auto"&&(e.caller==null?void 0:e.caller(supportsExportNamespaceFrom))||j===false&&!(0,b.isRequired)("proposal-export-namespace-from",O,{compatData:M,includes:A.plugins,excludes:R.plugins});const F=getModulesPluginNames({modules:j,transformations:i.default,shouldTransformESM:j!=="auto"||!(e.caller!=null&&e.caller(supportsStaticESM)),shouldTransformDynamicImport:j!=="auto"||!(e.caller!=null&&e.caller(supportsDynamicImport)),shouldTransformExportNamespaceFrom:!N,shouldParseTopLevelAwait:!e.caller||e.caller(supportsTopLevelAwait)});const L=(0,b.filterItems)(M,A.plugins,R.plugins,O,F,(0,n.default)({loose:v}),c.pluginSyntaxMap);(0,o.removeUnnecessaryItems)(L,p);(0,o.removeUnsupportedItems)(L,e.version);if(E){(0,o.addProposalSyntaxPlugins)(L,c.proposalSyntaxPlugins)}const B=getPolyfillPlugins({useBuiltIns:S,corejs:k,polyfillTargets:C,include:A.builtIns,exclude:R.builtIns,proposals:I,shippedProposals:E,regenerator:L.has("transform-regenerator"),debug:f});const U=S!==false;const W=Array.from(L).map((e=>{if(e==="proposal-class-properties"||e==="proposal-private-methods"||e==="proposal-private-property-in-object"){return[getPlugin(e),{loose:v?"#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error":"#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"}]}return[getPlugin(e),{spec:w,loose:v,useBuiltIns:U}]})).concat(B);if(f){console.log("@babel/preset-env: `DEBUG` option");console.log("\nUsing targets:");console.log(JSON.stringify((0,b.prettifyTargets)(C),null,2));console.log(`\nUsing modules transform: ${j.toString()}`);console.log("\nUsing plugins:");L.forEach((e=>{(0,a.logPlugin)(e,C,M)}));if(!S){console.log("\nUsing polyfills: No polyfills were added, since the `useBuiltIns` option was not set.")}}return{plugins:W}}));t["default"]=S},3649:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r={auto:"transform-modules-commonjs",amd:"transform-modules-amd",commonjs:"transform-modules-commonjs",cjs:"transform-modules-commonjs",systemjs:"transform-modules-systemjs",umd:"transform-modules-umd"};t["default"]=r},271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.checkDuplicateIncludeExcludes=void 0;t["default"]=normalizeOptions;t.normalizeCoreJSOption=normalizeCoreJSOption;t.validateUseBuiltInsOption=t.validateModulesOption=t.normalizePluginName=void 0;var s=r(4073);var a=r(7849);var n=r(8895);var o=r(1567);var i=r(3649);var l=r(7688);var c=r(46);const u=["web.timers","web.immediate","web.dom.iterable"];const p=new c.OptionValidator("@babel/preset-env");const d=Object.keys(o.plugins);const f=["proposal-dynamic-import",...Object.keys(i.default).map((e=>i.default[e]))];const getValidIncludesAndExcludes=(e,t)=>new Set([...d,...e==="exclude"?f:[],...t?t==2?[...Object.keys(n),...u]:Object.keys(s):[]]);const pluginToRegExp=e=>{if(e instanceof RegExp)return e;try{return new RegExp(`^${normalizePluginName(e)}$`)}catch(e){return null}};const selectPlugins=(e,t,r)=>Array.from(getValidIncludesAndExcludes(t,r)).filter((t=>e instanceof RegExp&&e.test(t)));const flatten=e=>[].concat(...e);const expandIncludesAndExcludes=(e=[],t,r)=>{if(e.length===0)return[];const s=e.map((e=>selectPlugins(pluginToRegExp(e),t,r)));const a=e.filter(((e,t)=>s[t].length===0));p.invariant(a.length===0,`The plugins/built-ins '${a.join(", ")}' passed to the '${t}' option are not\n valid. Please check data/[plugin-features|built-in-features].js in babel-preset-env`);return flatten(s)};const normalizePluginName=e=>e.replace(/^(@babel\/|babel-)(plugin-)?/,"");t.normalizePluginName=normalizePluginName;const checkDuplicateIncludeExcludes=(e=[],t=[])=>{const r=e.filter((e=>t.indexOf(e)>=0));p.invariant(r.length===0,`The plugins/built-ins '${r.join(", ")}' were found in both the "include" and\n "exclude" options.`)};t.checkDuplicateIncludeExcludes=checkDuplicateIncludeExcludes;const normalizeTargets=e=>{if(typeof e==="string"||Array.isArray(e)){return{browsers:e}}return Object.assign({},e)};const validateModulesOption=(e=l.ModulesOption.auto)=>{p.invariant(l.ModulesOption[e.toString()]||e===l.ModulesOption.false,`The 'modules' option must be one of \n`+` - 'false' to indicate no module processing\n`+` - a specific module type: 'commonjs', 'amd', 'umd', 'systemjs'`+` - 'auto' (default) which will automatically select 'false' if the current\n`+` process is known to support ES module syntax, or "commonjs" otherwise\n`);return e};t.validateModulesOption=validateModulesOption;const validateUseBuiltInsOption=(e=false)=>{p.invariant(l.UseBuiltInsOption[e.toString()]||e===l.UseBuiltInsOption.false,`The 'useBuiltIns' option must be either\n 'false' (default) to indicate no polyfill,\n '"entry"' to indicate replacing the entry polyfill, or\n '"usage"' to import only used polyfills per file`);return e};t.validateUseBuiltInsOption=validateUseBuiltInsOption;function normalizeCoreJSOption(e,t){let r=false;let s;if(t&&e===undefined){s=2;console.warn("\nWARNING (@babel/preset-env): We noticed you're using the `useBuiltIns` option without declaring a "+"core-js version. Currently, we assume version 2.x when no version "+"is passed. Since this default version will likely change in future "+"versions of Babel, we recommend explicitly setting the core-js version "+"you are using via the `corejs` option.\n"+"\nYou should also be sure that the version you pass to the `corejs` "+"option matches the version specified in your `package.json`'s "+"`dependencies` section. If it doesn't, you need to run one of the "+"following commands:\n\n"+" npm install --save core-js@2 npm install --save core-js@3\n"+" yarn add core-js@2 yarn add core-js@3\n\n"+"More info about useBuiltIns: https://babeljs.io/docs/en/babel-preset-env#usebuiltins\n"+"More info about core-js: https://babeljs.io/docs/en/babel-preset-env#corejs")}else if(typeof e==="object"&&e!==null){s=e.version;r=Boolean(e.proposals)}else{s=e}const n=s?(0,a.coerce)(String(s)):false;if(!t&&n){console.warn("\nWARNING (@babel/preset-env): The `corejs` option only has an effect when the `useBuiltIns` option is not `false`\n")}if(t&&(!n||n.major<2||n.major>3)){throw new RangeError("Invalid Option: The version passed to `corejs` is invalid. Currently, "+"only core-js@2 and core-js@3 are supported.")}return{version:n,proposals:r}}function normalizeOptions(e){p.validateTopLevelOptions(e,l.TopLevelOptions);const t=validateUseBuiltInsOption(e.useBuiltIns);const r=normalizeCoreJSOption(e.corejs,t);const s=expandIncludesAndExcludes(e.include,l.TopLevelOptions.include,!!r.version&&r.version.major);const a=expandIncludesAndExcludes(e.exclude,l.TopLevelOptions.exclude,!!r.version&&r.version.major);checkDuplicateIncludeExcludes(s,a);return{bugfixes:p.validateBooleanOption(l.TopLevelOptions.bugfixes,e.bugfixes,false),configPath:p.validateStringOption(l.TopLevelOptions.configPath,e.configPath,process.cwd()),corejs:r,debug:p.validateBooleanOption(l.TopLevelOptions.debug,e.debug,false),include:s,exclude:a,forceAllTransforms:p.validateBooleanOption(l.TopLevelOptions.forceAllTransforms,e.forceAllTransforms,false),ignoreBrowserslistConfig:p.validateBooleanOption(l.TopLevelOptions.ignoreBrowserslistConfig,e.ignoreBrowserslistConfig,false),loose:p.validateBooleanOption(l.TopLevelOptions.loose,e.loose),modules:validateModulesOption(e.modules),shippedProposals:p.validateBooleanOption(l.TopLevelOptions.shippedProposals,e.shippedProposals,false),spec:p.validateBooleanOption(l.TopLevelOptions.spec,e.spec,false),targets:normalizeTargets(e.targets),useBuiltIns:t,browserslistEnv:p.validateStringOption(l.TopLevelOptions.browserslistEnv,e.browserslistEnv)}}},7688:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UseBuiltInsOption=t.TopLevelOptions=t.ModulesOption=void 0;const r={bugfixes:"bugfixes",configPath:"configPath",corejs:"corejs",debug:"debug",exclude:"exclude",forceAllTransforms:"forceAllTransforms",ignoreBrowserslistConfig:"ignoreBrowserslistConfig",include:"include",loose:"loose",modules:"modules",shippedProposals:"shippedProposals",spec:"spec",targets:"targets",useBuiltIns:"useBuiltIns",browserslistEnv:"browserslistEnv"};t.TopLevelOptions=r;const s={false:false,auto:"auto",amd:"amd",commonjs:"commonjs",cjs:"cjs",systemjs:"systemjs",umd:"umd"};t.ModulesOption=s;const a={false:false,entry:"entry",usage:"usage"};t.UseBuiltInsOption=a},1567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pluginsBugfixes=t.plugins=void 0;var s=r(9974);var a=r(6616);var n=r(3734);const o={};t.plugins=o;const i={};t.pluginsBugfixes=i;for(const e of Object.keys(s)){if(Object.hasOwnProperty.call(n.default,e)){o[e]=s[e]}}for(const e of Object.keys(a)){if(Object.hasOwnProperty.call(n.default,e)){i[e]=a[e]}}},597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=r(4605);const a=`\n \`@babel/polyfill\` is deprecated. Please, use required parts of \`core-js\`\n and \`regenerator-runtime/runtime\` separately`;const n=`\n When setting \`useBuiltIns: 'usage'\`, polyfills are automatically imported when needed.\n Please remove the direct import of \`SPECIFIER\` or use \`useBuiltIns: 'entry'\` instead.`;function _default({template:e},{regenerator:t,deprecated:r,usage:o}){return{name:"preset-env/replace-babel-polyfill",visitor:{ImportDeclaration(i){const l=(0,s.getImportSource)(i);if(o&&(0,s.isPolyfillSource)(l)){console.warn(n.replace("SPECIFIER",l));if(!r)i.remove()}else if(l==="@babel/polyfill"){if(r){console.warn(a)}else if(t){i.replaceWithMultiple(e.ast` + (function (${s.types.identifier(o)}) { + ${i} + })(${n} || (${s.types.cloneNode(n)} = ${c})); + `}},8892:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);const r=/[\ud800-\udfff]/g;const t=/(\\+)u\{([0-9a-fA-F]+)\}/g;function escape(e){{let r=e.toString(16);while(r.length<4)r="0"+r;return"\\u"+r}}function replacer(e,r,t){if(r.length%2===0){return e}const s=String.fromCodePoint(parseInt(t,16));const a=r.slice(0,-1)+escape(s.charCodeAt(0));return s.length===1?a:a+escape(s.charCodeAt(1))}function replaceUnicodeEscapes(e){return e.replace(t,replacer)}function getUnicodeEscape(e){let r;while(r=t.exec(e)){if(r[1].length%2===0)continue;t.lastIndex=0;return r[0]}return null}return{name:"transform-unicode-escapes",manipulateOptions({generatorOpts:e}){var r,t;if(!e.jsescOption){e.jsescOption={}}(t=(r=e.jsescOption).minimal)!=null?t:r.minimal=false},visitor:{Identifier(e){const{node:t,key:s}=e;const{name:n}=t;const o=n.replace(r,(e=>`_u${e.charCodeAt(0).toString(16)}`));if(n===o)return;const i=a.types.inherits(a.types.stringLiteral(n),t);if(s==="key"){e.replaceWith(i);return}const{parentPath:l,scope:c}=e;if(l.isMemberExpression({property:t})||l.isOptionalMemberExpression({property:t})){l.node.computed=true;e.replaceWith(i);return}const d=c.getBinding(n);if(d){c.rename(n,c.generateUid(o));return}throw e.buildCodeFrameError(`Can't reference '${n}' as a bare identifier`)},"StringLiteral|DirectiveLiteral"(e){const{node:r}=e;const{extra:t}=r;if(t!=null&&t.raw)t.raw=replaceUnicodeEscapes(t.raw)},TemplateElement(e){const{node:r,parentPath:t}=e;const{value:s}=r;const a=getUnicodeEscape(s.raw);if(!a)return;const n=t.parentPath;if(n.isTaggedTemplateExpression()){throw e.buildCodeFrameError(`Can't replace Unicode escape '${a}' inside tagged template literals. You can enable '@babel/plugin-transform-template-literals' to compile them to classic strings.`)}s.raw=replaceUnicodeEscapes(s.raw)}}}}));r["default"]=n},2020:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9626);var a=t(5389);var n=(0,a.declare)(((e,r)=>{e.assertVersion(7);const{useUnicodeFlag:t=true}=r;if(typeof t!=="boolean"){throw new Error(".useUnicodeFlag must be a boolean, or undefined")}return(0,s.createRegExpFeaturePlugin)({name:"transform-unicode-property-regex",feature:"unicodePropertyEscape",options:{useUnicodeFlag:t}})}));r["default"]=n},938:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9626);var a=t(5389);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"transform-unicode-regex",feature:"unicodeFlag"})}));r["default"]=n},1834:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9626);var a=t(5389);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"transform-unicode-sets-regex",feature:"unicodeSetsFlag",manipulateOptions(e,r){r.plugins.push("regexpUnicodeSets")}})}));r["default"]=n},8161:(e,r,t)=>{e.exports=t(7618)},458:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.minVersions=r["default"]=void 0;var s=t(3975);var a=t(3412);var n=t(5491);var o=t(7802);var i=t(301);var l=t(5579);var c=t(4810);var d=t(8845);var u=t(915);var p=t(647);var f=t(7779);var y=t(4100);var g=t(3322);var h=t(3720);var b=t(9430);var x=t(6775);var v=t(1712);var j=t(4766);var w=t(9394);var E=t(4927);var _=t(7422);var S=t(9962);var k=t(1997);var C=t(5953);var P=t(9325);var D=t(3613);var I=t(143);var A=t(5549);var O=t(3107);var R=t(7818);var F=t(1472);var M=t(2020);var N=t(3055);var L=t(3628);var B=t(1242);var W=t(6383);var U=t(0);var q=t(3051);var V=t(3675);var $=t(1985);var G=t(99);var H=t(5427);var z=t(8644);var K=t(3105);var Y=t(4284);var X=t(8597);var J=t(7868);var Z=t(8417);var Q=t(7346);var ee=t(1110);var re=t(584);var te=t(5669);var se=t(538);var ae=t(3892);var ne=t(2914);var oe=t(4057);var ie=t(418);var le=t(5316);var ce=t(1743);var de=t(7584);var ue=t(1005);var pe=t(6182);var fe=t(8892);var ye=t(938);var me=t(1834);var ge=t(8256);var he=t(4516);var be=t(3693);var xe=t(3057);var ve=t(3032);var je=t(449);var we=t(3636);var Ee=t(3257);var _e={"bugfix/transform-async-arrows-in-class":()=>ge,"bugfix/transform-edge-default-parameters":()=>he,"bugfix/transform-edge-function-name":()=>be,"bugfix/transform-safari-block-shadowing":()=>ve,"bugfix/transform-safari-for-shadowing":()=>je,"bugfix/transform-safari-id-destructuring-collision-in-function-expression":()=>we.default,"bugfix/transform-tagged-template-caching":()=>xe,"bugfix/transform-v8-spread-parameters-in-optional-chaining":()=>Ee.default,"syntax-async-generators":()=>s,"syntax-class-properties":()=>a,"syntax-class-static-block":()=>n,"syntax-dynamic-import":()=>o,"syntax-export-namespace-from":()=>i,"syntax-import-assertions":()=>l.default,"syntax-import-attributes":()=>c.default,"syntax-import-meta":()=>d,"syntax-json-strings":()=>u,"syntax-logical-assignment-operators":()=>p,"syntax-nullish-coalescing-operator":()=>f,"syntax-numeric-separator":()=>y,"syntax-object-rest-spread":()=>g,"syntax-optional-catch-binding":()=>h,"syntax-optional-chaining":()=>b,"syntax-private-property-in-object":()=>x,"syntax-top-level-await":()=>v,"syntax-unicode-sets-regex":()=>t(6237),"transform-arrow-functions":()=>L.default,"transform-async-generator-functions":()=>j.default,"transform-async-to-generator":()=>N.default,"transform-block-scoped-functions":()=>B.default,"transform-block-scoping":()=>W.default,"transform-class-properties":()=>w.default,"transform-class-static-block":()=>E.default,"transform-classes":()=>U.default,"transform-computed-properties":()=>q.default,"transform-destructuring":()=>V.default,"transform-dotall-regex":()=>$.default,"transform-duplicate-keys":()=>G.default,"transform-dynamic-import":()=>_.default,"transform-exponentiation-operator":()=>H.default,"transform-export-namespace-from":()=>S.default,"transform-for-of":()=>z.default,"transform-function-name":()=>K.default,"transform-json-strings":()=>k.default,"transform-literals":()=>Y.default,"transform-logical-assignment-operators":()=>C.default,"transform-member-expression-literals":()=>X.default,"transform-modules-amd":()=>J.default,"transform-modules-commonjs":()=>Z.default,"transform-modules-systemjs":()=>Q.default,"transform-modules-umd":()=>ee.default,"transform-named-capturing-groups-regex":()=>re.default,"transform-new-target":()=>te.default,"transform-nullish-coalescing-operator":()=>P.default,"transform-numeric-separator":()=>D.default,"transform-object-rest-spread":()=>I.default,"transform-object-super":()=>se.default,"transform-optional-catch-binding":()=>A.default,"transform-optional-chaining":()=>O.default,"transform-parameters":()=>ae.default,"transform-private-methods":()=>R.default,"transform-private-property-in-object":()=>F.default,"transform-property-literals":()=>ne.default,"transform-regenerator":()=>oe.default,"transform-reserved-words":()=>ie.default,"transform-shorthand-properties":()=>le.default,"transform-spread":()=>ce.default,"transform-sticky-regex":()=>de.default,"transform-template-literals":()=>ue.default,"transform-typeof-symbol":()=>pe.default,"transform-unicode-escapes":()=>fe.default,"transform-unicode-property-regex":()=>M.default,"transform-unicode-regex":()=>ye.default,"transform-unicode-sets-regex":()=>me.default};r["default"]=_e;const Se={"bugfix/transform-safari-id-destructuring-collision-in-function-expression":"7.16.0","syntax-import-attributes":"7.22.0","transform-class-static-block":"7.12.0","transform-private-property-in-object":"7.10.0"};r.minVersions=Se},714:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.logPlugin=void 0;var s=t(900);var a=t(2204);const logPlugin=(e,r,t)=>{const n=(0,s.getInclusionReasons)(e,r,t);const o=t[e];{if(e.startsWith("transform-")){const r=`proposal-${e.slice(10)}`;if(r==="proposal-dynamic-import"||Object.prototype.hasOwnProperty.call(a,r)){e=r}}}if(!o){console.log(` ${e}`);return}let i=`{`;let l=true;for(const e of Object.keys(n)){if(!l)i+=`,`;l=false;i+=` ${e}`;if(o[e])i+=` < ${o[e]}`}i+=` }`;console.log(` ${e} ${i}`)};r.logPlugin=logPlugin},5746:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.addProposalSyntaxPlugins=addProposalSyntaxPlugins;r.removeUnnecessaryItems=removeUnnecessaryItems;r.removeUnsupportedItems=removeUnsupportedItems;var s=t(7849);var a=t(458);const n=Function.call.bind(Object.hasOwnProperty);function addProposalSyntaxPlugins(e,r){r.forEach((r=>{e.add(r)}))}function removeUnnecessaryItems(e,r){e.forEach((t=>{var s;(s=r[t])==null?void 0:s.forEach((r=>e.delete(r)))}))}function removeUnsupportedItems(e,r){e.forEach((t=>{if(n(a.minVersions,t)&&s.lt(r,a.minVersions[t])){e.delete(t)}}))}},1606:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;const t=["transform-typeof-symbol"];function _default({loose:e}){return e?t:null}},6341:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getPolyfillPlugins=r.getModulesPluginNames=r["default"]=void 0;r.isPluginRequired=isPluginRequired;r.transformIncludesAndExcludes=void 0;var s=t(7849);var a=t(714);var n=t(1606);var o=t(5746);var i=t(2847);var l=t(6963);var c=t(9583);var d=t(3959);var u=t(1282);var p=t(694);var f=t(7300);var y=t(6427);var g=t(9373);var h=t(900);var b=t(458);var x=t(5389);const v=f.default||f;const j=y.default||y;const w=g.default||g;function isPluginRequired(e,r){return(0,h.isRequired)("fake-name",e,{compatData:{"fake-name":r}})}function filterStageFromList(e,r){return Object.keys(e).reduce(((t,s)=>{if(!r.has(s)){t[s]=e[s]}return t}),{})}const E={withProposals:{withoutBugfixes:d.plugins,withBugfixes:Object.assign({},d.plugins,d.pluginsBugfixes)},withoutProposals:{withoutBugfixes:filterStageFromList(d.plugins,c.proposalPlugins),withBugfixes:filterStageFromList(Object.assign({},d.plugins,d.pluginsBugfixes),c.proposalPlugins)}};function getPluginList(e,r){if(e){if(r)return E.withProposals.withBugfixes;else return E.withProposals.withoutBugfixes}else{if(r)return E.withoutProposals.withBugfixes;else return E.withoutProposals.withoutBugfixes}}const getPlugin=e=>{const r=b.default[e]();if(!r){throw new Error(`Could not find plugin "${e}". Ensure there is an entry in ./available-plugins.js for it.`)}return r};const transformIncludesAndExcludes=e=>e.reduce(((e,r)=>{const t=r.match(/^(es|es6|es7|esnext|web)\./)?"builtIns":"plugins";e[t].add(r);return e}),{all:e,plugins:new Set,builtIns:new Set});r.transformIncludesAndExcludes=transformIncludesAndExcludes;const getModulesPluginNames=({modules:e,transformations:r,shouldTransformESM:t,shouldTransformDynamicImport:s,shouldTransformExportNamespaceFrom:a,shouldParseTopLevelAwait:n})=>{const o=[];if(e!==false&&r[e]){if(t){o.push(r[e])}if(s&&t&&e!=="umd"){o.push("transform-dynamic-import")}else{if(s){console.warn("Dynamic import can only be supported when transforming ES modules"+" to AMD, CommonJS or SystemJS. Only the parser plugin will be enabled.")}o.push("syntax-dynamic-import")}}else{o.push("syntax-dynamic-import")}if(a){o.push("transform-export-namespace-from")}else{o.push("syntax-export-namespace-from")}if(n){o.push("syntax-top-level-await")}o.push("syntax-import-meta");return o};r.getModulesPluginNames=getModulesPluginNames;const getPolyfillPlugins=({useBuiltIns:e,corejs:r,polyfillTargets:t,include:s,exclude:a,proposals:n,shippedProposals:o,regenerator:i,debug:l})=>{const c=[];if(e==="usage"||e==="entry"){const d={method:`${e}-global`,version:r?r.toString():undefined,targets:t,include:s,exclude:a,proposals:n,shippedProposals:o,debug:l,"#__secret_key__@babel/preset-env__compatibility":{noRuntimeName:true}};if(r){if(e==="usage"){if(r.major===2){c.push([v,d],[p.default,{usage:true}])}else{c.push([j,d],[p.default,{usage:true,deprecated:true}])}if(i){c.push([w,{method:"usage-global",debug:l}])}}else{if(r.major===2){c.push([p.default,{regenerator:i}],[v,d])}else{c.push([j,d],[p.default,{deprecated:true}]);if(!i){c.push([u.default,d])}}}}}return c};r.getPolyfillPlugins=getPolyfillPlugins;function getLocalTargets(e,r,t,s){if(e!=null&&e.esmodules&&e.browsers){console.warn(`\n@babel/preset-env: esmodules and browsers targets have been specified together.\n\`browsers\` target, \`${e.browsers.toString()}\` will be ignored.\n`)}return(0,h.default)(e,{ignoreBrowserslistConfig:r,configPath:t,browserslistEnv:s})}function supportsStaticESM(e){return!!(e!=null&&e.supportsStaticESM)}function supportsDynamicImport(e){return!!(e!=null&&e.supportsDynamicImport)}function supportsExportNamespaceFrom(e){return!!(e!=null&&e.supportsExportNamespaceFrom)}function supportsTopLevelAwait(e){return!!(e!=null&&e.supportsTopLevelAwait)}var _=(0,x.declarePreset)(((e,r)=>{e.assertVersion(7);const t=e.targets();const{bugfixes:u,configPath:p,debug:f,exclude:y,forceAllTransforms:g,ignoreBrowserslistConfig:b,include:x,loose:v,modules:j,shippedProposals:w,spec:E,targets:_,useBuiltIns:S,corejs:{version:k,proposals:C},browserslistEnv:P}=(0,l.default)(r);let D=t;if(s.lt(e.version,"7.13.0")||r.targets||r.configPath||r.browserslistEnv||r.ignoreBrowserslistConfig){{var I=false;if(_!=null&&_.uglify){I=true;delete _.uglify;console.warn(`\nThe uglify target has been deprecated. Set the top level\noption \`forceAllTransforms: true\` instead.\n`)}}D=getLocalTargets(_,b,p,P)}const A=g||I?{}:D;const O=transformIncludesAndExcludes(x);const R=transformIncludesAndExcludes(y);const F=getPluginList(w,u);const M=j==="auto"&&(e.caller==null?void 0:e.caller(supportsExportNamespaceFrom))||j===false&&!(0,h.isRequired)("transform-export-namespace-from",A,{compatData:F,includes:O.plugins,excludes:R.plugins});const N=getModulesPluginNames({modules:j,transformations:i.default,shouldTransformESM:j!=="auto"||!(e.caller!=null&&e.caller(supportsStaticESM)),shouldTransformDynamicImport:j!=="auto"||!(e.caller!=null&&e.caller(supportsDynamicImport)),shouldTransformExportNamespaceFrom:!M,shouldParseTopLevelAwait:!e.caller||e.caller(supportsTopLevelAwait)});const L=(0,h.filterItems)(F,O.plugins,R.plugins,A,N,(0,n.default)({loose:v}),c.pluginSyntaxMap);if(w){(0,o.addProposalSyntaxPlugins)(L,c.proposalSyntaxPlugins)}(0,o.removeUnsupportedItems)(L,e.version);(0,o.removeUnnecessaryItems)(L,d.overlappingPlugins);const B=getPolyfillPlugins({useBuiltIns:S,corejs:k,polyfillTargets:D,include:O.builtIns,exclude:R.builtIns,proposals:C,shippedProposals:w,regenerator:L.has("transform-regenerator"),debug:f});const W=S!==false;const U=Array.from(L).map((e=>{if(e==="transform-class-properties"||e==="transform-private-methods"||e==="transform-private-property-in-object"){return[getPlugin(e),{loose:v?"#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error":"#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"}]}if(e==="syntax-import-attributes"){return[getPlugin(e),{deprecatedAssertSyntax:true}]}return[getPlugin(e),{spec:E,loose:v,useBuiltIns:W}]})).concat(B);if(f){console.log("@babel/preset-env: `DEBUG` option");console.log("\nUsing targets:");console.log(JSON.stringify((0,h.prettifyTargets)(D),null,2));console.log(`\nUsing modules transform: ${j.toString()}`);console.log("\nUsing plugins:");L.forEach((e=>{(0,a.logPlugin)(e,D,F)}));if(!S){console.log("\nUsing polyfills: No polyfills were added, since the `useBuiltIns` option was not set.")}}return{plugins:U}}));r["default"]=_},2847:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var t={auto:"transform-modules-commonjs",amd:"transform-modules-amd",commonjs:"transform-modules-commonjs",cjs:"transform-modules-commonjs",systemjs:"transform-modules-systemjs",umd:"transform-modules-umd"};r["default"]=t},6963:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.checkDuplicateIncludeExcludes=void 0;r["default"]=normalizeOptions;r.normalizeCoreJSOption=normalizeCoreJSOption;r.validateUseBuiltInsOption=r.validateModulesOption=r.normalizePluginName=void 0;var s=t(7849);var a=t(4549);var n=t(8161);var o=t(3959);var i=t(2847);var l=t(3633);var c=t(4716);const d=["web.timers","web.immediate","web.dom.iterable"];const u=new c.OptionValidator("@babel/preset-env");const p=Object.keys(o.plugins);const f=["transform-dynamic-import",...Object.keys(i.default).map((e=>i.default[e]))];const getValidIncludesAndExcludes=(e,r)=>Array.from(new Set([...p,...e==="exclude"?f:[],...r?r==2?[...Object.keys(a),...d]:Object.keys(n):[]]));function flatMap(e,r){return Array.prototype.concat.apply([],e.map(r))}const normalizePluginName=e=>e.replace(/^(@babel\/|babel-)(plugin-)?/,"");r.normalizePluginName=normalizePluginName;const expandIncludesAndExcludes=(e=[],r,t)=>{if(e.length===0)return[];const s=getValidIncludesAndExcludes(r,t);const a=[];const n=flatMap(e,(e=>{let r;if(typeof e==="string"){try{r=new RegExp(`^${normalizePluginName(e)}$`)}catch(r){a.push(e);return[]}}else{r=e}const t=s.filter((e=>r.test(e)||r.test(e.replace(/^transform-/,"proposal-"))));if(t.length===0)a.push(e);return t}));u.invariant(a.length===0,`The plugins/built-ins '${a.join(", ")}' passed to the '${r}' option are not\n valid. Please check data/[plugin-features|built-in-features].js in babel-preset-env`);return n};const checkDuplicateIncludeExcludes=(e=[],r=[])=>{const t=e.filter((e=>r.indexOf(e)>=0));u.invariant(t.length===0,`The plugins/built-ins '${t.join(", ")}' were found in both the "include" and\n "exclude" options.`)};r.checkDuplicateIncludeExcludes=checkDuplicateIncludeExcludes;const normalizeTargets=e=>{if(typeof e==="string"||Array.isArray(e)){return{browsers:e}}return Object.assign({},e)};const validateModulesOption=(e=l.ModulesOption.auto)=>{u.invariant(l.ModulesOption[e.toString()]||e===l.ModulesOption.false,`The 'modules' option must be one of \n`+` - 'false' to indicate no module processing\n`+` - a specific module type: 'commonjs', 'amd', 'umd', 'systemjs'`+` - 'auto' (default) which will automatically select 'false' if the current\n`+` process is known to support ES module syntax, or "commonjs" otherwise\n`);return e};r.validateModulesOption=validateModulesOption;const validateUseBuiltInsOption=(e=false)=>{u.invariant(l.UseBuiltInsOption[e.toString()]||e===l.UseBuiltInsOption.false,`The 'useBuiltIns' option must be either\n 'false' (default) to indicate no polyfill,\n '"entry"' to indicate replacing the entry polyfill, or\n '"usage"' to import only used polyfills per file`);return e};r.validateUseBuiltInsOption=validateUseBuiltInsOption;function normalizeCoreJSOption(e,r){let t=false;let a;if(r&&e===undefined){a=2;console.warn("\nWARNING (@babel/preset-env): We noticed you're using the `useBuiltIns` option without declaring a "+"core-js version. Currently, we assume version 2.x when no version "+"is passed. Since this default version will likely change in future "+"versions of Babel, we recommend explicitly setting the core-js version "+"you are using via the `corejs` option.\n"+"\nYou should also be sure that the version you pass to the `corejs` "+"option matches the version specified in your `package.json`'s "+"`dependencies` section. If it doesn't, you need to run one of the "+"following commands:\n\n"+" npm install --save core-js@2 npm install --save core-js@3\n"+" yarn add core-js@2 yarn add core-js@3\n\n"+"More info about useBuiltIns: https://babeljs.io/docs/en/babel-preset-env#usebuiltins\n"+"More info about core-js: https://babeljs.io/docs/en/babel-preset-env#corejs")}else if(typeof e==="object"&&e!==null){a=e.version;t=Boolean(e.proposals)}else{a=e}const n=a?s.coerce(String(a)):false;if(!r&&n){console.warn("\nWARNING (@babel/preset-env): The `corejs` option only has an effect when the `useBuiltIns` option is not `false`\n")}if(r&&(!n||n.major<2||n.major>3)){throw new RangeError("Invalid Option: The version passed to `corejs` is invalid. Currently, "+"only core-js@2 and core-js@3 are supported.")}return{version:n,proposals:t}}function normalizeOptions(e){u.validateTopLevelOptions(e,l.TopLevelOptions);const r=validateUseBuiltInsOption(e.useBuiltIns);const t=normalizeCoreJSOption(e.corejs,r);const s=expandIncludesAndExcludes(e.include,l.TopLevelOptions.include,!!t.version&&t.version.major);const a=expandIncludesAndExcludes(e.exclude,l.TopLevelOptions.exclude,!!t.version&&t.version.major);checkDuplicateIncludeExcludes(s,a);return{bugfixes:u.validateBooleanOption(l.TopLevelOptions.bugfixes,e.bugfixes,false),configPath:u.validateStringOption(l.TopLevelOptions.configPath,e.configPath,process.cwd()),corejs:t,debug:u.validateBooleanOption(l.TopLevelOptions.debug,e.debug,false),include:s,exclude:a,forceAllTransforms:u.validateBooleanOption(l.TopLevelOptions.forceAllTransforms,e.forceAllTransforms,false),ignoreBrowserslistConfig:u.validateBooleanOption(l.TopLevelOptions.ignoreBrowserslistConfig,e.ignoreBrowserslistConfig,false),loose:u.validateBooleanOption(l.TopLevelOptions.loose,e.loose),modules:validateModulesOption(e.modules),shippedProposals:u.validateBooleanOption(l.TopLevelOptions.shippedProposals,e.shippedProposals,false),spec:u.validateBooleanOption(l.TopLevelOptions.spec,e.spec,false),targets:normalizeTargets(e.targets),useBuiltIns:r,browserslistEnv:u.validateStringOption(l.TopLevelOptions.browserslistEnv,e.browserslistEnv)}}},3633:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.UseBuiltInsOption=r.TopLevelOptions=r.ModulesOption=void 0;const t={bugfixes:"bugfixes",configPath:"configPath",corejs:"corejs",debug:"debug",exclude:"exclude",forceAllTransforms:"forceAllTransforms",ignoreBrowserslistConfig:"ignoreBrowserslistConfig",include:"include",loose:"loose",modules:"modules",shippedProposals:"shippedProposals",spec:"spec",targets:"targets",useBuiltIns:"useBuiltIns",browserslistEnv:"browserslistEnv"};r.TopLevelOptions=t;const s={false:false,auto:"auto",amd:"amd",commonjs:"commonjs",cjs:"cjs",systemjs:"systemjs",umd:"umd"};r.ModulesOption=s;const a={false:false,entry:"entry",usage:"usage"};r.UseBuiltInsOption=a},3959:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.pluginsBugfixes=r.plugins=r.overlappingPlugins=void 0;var s=t(2204);var a=t(9827);var n=t(3661);var o=t(458);const i=Object.keys;const l=filterAvailable(s);r.plugins=l;const c=filterAvailable(a);r.pluginsBugfixes=c;const d=filterAvailable(n);r.overlappingPlugins=d;d["syntax-import-attributes"]=["syntax-import-assertions"];function filterAvailable(e){const r={};for(const t of i(e)){if(Object.hasOwnProperty.call(o.default,t)){r[t]=e[t]}}return r}},694:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(9218);const a=`\n \`@babel/polyfill\` is deprecated. Please, use required parts of \`core-js\`\n and \`regenerator-runtime/runtime\` separately`;const n=`\n When setting \`useBuiltIns: 'usage'\`, polyfills are automatically imported when needed.\n Please remove the direct import of \`SPECIFIER\` or use \`useBuiltIns: 'entry'\` instead.`;function _default({template:e},{regenerator:r,deprecated:t,usage:o}){return{name:"preset-env/replace-babel-polyfill",visitor:{ImportDeclaration(i){const l=(0,s.getImportSource)(i);if(o&&(0,s.isPolyfillSource)(l)){console.warn(n.replace("SPECIFIER",l));if(!t)i.remove()}else if(l==="@babel/polyfill"){if(t){console.warn(a)}else if(r){i.replaceWithMultiple(e.ast` import "core-js"; import "regenerator-runtime/runtime.js"; `)}else{i.replaceWith(e.ast` import "core-js"; - `)}}},Program(i){i.get("body").forEach((i=>{const l=(0,s.getRequireSource)(i);if(o&&(0,s.isPolyfillSource)(l)){console.warn(n.replace("SPECIFIER",l));if(!r)i.remove()}else if(l==="@babel/polyfill"){if(r){console.warn(a)}else if(t){i.replaceWithMultiple(e.ast` + `)}}},Program(i){i.get("body").forEach((i=>{const l=(0,s.getRequireSource)(i);if(o&&(0,s.isPolyfillSource)(l)){console.warn(n.replace("SPECIFIER",l));if(!t)i.remove()}else if(l==="@babel/polyfill"){if(t){console.warn(a)}else if(r){i.replaceWithMultiple(e.ast` require("core-js"); require("regenerator-runtime/runtime.js"); `)}else{i.replaceWith(e.ast` require("core-js"); - `)}}}))}}}}},8570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=r(4605);function isRegeneratorSource(e){return e==="regenerator-runtime/runtime"||e==="regenerator-runtime/runtime.js"}function _default(){const e={ImportDeclaration(e){if(isRegeneratorSource((0,s.getImportSource)(e))){this.regeneratorImportExcluded=true;e.remove()}},Program(e){e.get("body").forEach((e=>{if(isRegeneratorSource((0,s.getRequireSource)(e))){this.regeneratorImportExcluded=true;e.remove()}}))}};return{name:"preset-env/remove-regenerator",visitor:e,pre(){this.regeneratorImportExcluded=false},post(){if(this.opts.debug&&this.regeneratorImportExcluded){let e=this.file.opts.filename;if(process.env.BABEL_ENV==="test"){e=e.replace(/\\/g,"/")}console.log(`\n[${e}] Based on your targets, regenerator-runtime import excluded.`)}}}}},4605:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getImportSource=getImportSource;t.getRequireSource=getRequireSource;t.isPolyfillSource=isPolyfillSource;var s=r(8622);const{isCallExpression:a,isExpressionStatement:n,isIdentifier:o,isStringLiteral:i}=s;function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!n(e))return;const{expression:t}=e;if(a(t)&&o(t.callee)&&t.callee.name==="require"&&t.arguments.length===1&&i(t.arguments[0])){return t.arguments[0].value}}function isPolyfillSource(e){return e==="@babel/polyfill"||e==="core-js"}},7822:(e,t)=>{"use strict";t.__esModule=true;t["default"]=void 0;const r={allowInsertArrow:false,specCompliant:false};var _default=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(t){if(t.node.async&&t.findParent(e.isClassMethod)){t.arrowFunctionToExpression(r)}}}});t["default"]=_default;e.exports=t.default},1279:(e,t)=>{"use strict";t.__esModule=true;t["default"]=void 0;var _default=({types:e})=>{const isArrowParent=t=>t.parentKey==="params"&&t.parentPath&&e.isArrowFunctionExpression(t.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const t=e.find(isArrowParent);if(t&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};t["default"]=_default;e.exports=t.default},4758:(e,t)=>{"use strict";t.__esModule=true;t["default"]=void 0;var _default=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(t){if(!t.node.id&&e.isIdentifier(t.parent.id)){const r=e.cloneNode(t.parent.id);const s=t.scope.getBinding(r.name);if(s==null?void 0:s.constantViolations.length){t.scope.rename(r.name)}t.node.id=r}}}}});t["default"]=_default;e.exports=t.default},9827:(e,t)=>{"use strict";t.__esModule=true;t["default"]=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(t){const r=t.parent.kind;if(r!=="let"&&r!=="const")return;const s=t.scope.block;if(e.isFunction(s)||e.isProgram(s))return;const a=e.getOuterBindingIdentifiers(t.node.id);for(const r of Object.keys(a)){let s=t.scope;if(!s.hasOwnBinding(r))continue;while(s=s.parent){if(s.hasOwnBinding(r)){t.scope.rename(r);break}if(e.isFunction(s.block)||e.isProgram(s.block)){break}}}}}}}e.exports=t.default},6806:(e,t)=>{"use strict";t.__esModule=true;t["default"]=void 0;function handle(e){if(!e.isVariableDeclaration())return;const t=e.getFunctionParent();const{name:r}=e.node.declarations[0].id;if(t&&t.scope.hasOwnBinding(r)&&t.scope.getOwnBinding(r).kind==="param"){e.scope.rename(r)}}var _default=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});t["default"]=_default;e.exports=t.default},9683:(e,t)=>{"use strict";t.__esModule=true;t["default"]=void 0;var _default=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(t,r){let s=r.get("processed");if(!s){s=new WeakSet;r.set("processed",s)}if(s.has(t.node))return t.skip();const a=t.node.quasi.expressions;let n=r.get("identity");if(!n){n=t.scope.getProgramParent().generateDeclaredUidIdentifier("_");r.set("identity",n);const s=t.scope.getBinding(n.name);s.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const o=e.taggedTemplateExpression(e.cloneNode(n),e.templateLiteral(t.node.quasi.quasis,a.map((()=>e.numericLiteral(0)))));s.add(o);const i=t.scope.getProgramParent().generateDeclaredUidIdentifier("t");t.scope.getBinding(i.name).path.parent.kind="let";const l=e.logicalExpression("||",i,e.assignmentExpression("=",e.cloneNode(i),o));const c=e.callExpression(t.node.tag,[l,...a]);t.replaceWith(c)}}});t["default"]=_default;e.exports=t.default},5331:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(1715);var a=r(3863);var n=r(1638);var o=r(119);var i=r(8536);var l=r(46);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var c=_interopDefaultLegacy(a);var u=_interopDefaultLegacy(n);var p=_interopDefaultLegacy(o);var d=_interopDefaultLegacy(i);new l.OptionValidator("@babel/preset-react");function normalizeOptions(e={}){{let{pragma:t,pragmaFrag:r}=e;const{pure:s,throwIfNamespace:a=true,runtime:n="classic",importSource:o,useBuiltIns:i,useSpread:l}=e;if(n==="classic"){t=t||"React.createElement";r=r||"React.Fragment"}const c=!!e.development;return{development:c,importSource:o,pragma:t,pragmaFrag:r,pure:s,runtime:n,throwIfNamespace:a,useBuiltIns:i,useSpread:l}}}var f=s.declare(((e,t)=>{e.assertVersion(7);const{development:r,importSource:s,pragma:a,pragmaFrag:n,pure:o,runtime:i,throwIfNamespace:l}=normalizeOptions(t);return{plugins:[[r?u["default"]:c["default"],{importSource:s,pragma:a,pragmaFrag:n,runtime:i,throwIfNamespace:l,pure:o,useBuiltIns:!!t.useBuiltIns,useSpread:t.useSpread}],p["default"],o!==false&&d["default"]].filter(Boolean)}}));t["default"]=f},3775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(8123);var a=r(2996);var n=r(46);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var o=_interopDefaultLegacy(a);const i=new n.OptionValidator("@babel/preset-typescript");function normalizeOptions(e={}){let{allowNamespaces:t=true,jsxPragma:r,onlyRemoveTypeImports:s}=e;const a={allExtensions:"allExtensions",allowNamespaces:"allowNamespaces",disallowAmbiguousJSXLike:"disallowAmbiguousJSXLike",isTSX:"isTSX",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums"};const n=i.validateStringOption(a.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");const o=i.validateBooleanOption(a.allExtensions,e.allExtensions,false);const l=i.validateBooleanOption(a.isTSX,e.isTSX,false);if(l){i.invariant(o,"isTSX:true requires allExtensions:true")}const c=i.validateBooleanOption(a.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,false);if(c){i.invariant(o,"disallowAmbiguousJSXLike:true requires allExtensions:true")}const u=i.validateBooleanOption(a.optimizeConstEnums,e.optimizeConstEnums,false);return{allExtensions:o,allowNamespaces:t,disallowAmbiguousJSXLike:c,isTSX:l,jsxPragma:r,jsxPragmaFrag:n,onlyRemoveTypeImports:s,optimizeConstEnums:u}}var l=s.declarePreset(((e,t)=>{e.assertVersion(7);const{allExtensions:r,allowNamespaces:s,disallowAmbiguousJSXLike:a,isTSX:n,jsxPragma:i,jsxPragmaFrag:l,onlyRemoveTypeImports:c,optimizeConstEnums:u}=normalizeOptions(t);const pluginOptions=(e,r)=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:r,isTSX:e,jsxPragma:i,jsxPragmaFrag:l,onlyRemoveTypeImports:c,optimizeConstEnums:u});return{overrides:r?[{plugins:[[o["default"],pluginOptions(n,a)]]}]:[{test:/\.ts$/,plugins:[[o["default"],pluginOptions(false,false)]]},{test:/\.mts$/,sourceType:"module",plugins:[[o["default"],pluginOptions(false,true)]]},{test:/\.cts$/,sourceType:"script",plugins:[[o["default"],pluginOptions(false,true)]]},{test:/\.tsx$/,plugins:[[o["default"],pluginOptions(true,false)]]}]}}));t["default"]=l},8684:function(e,t,r){e=r.nmd(e); -/*! - * regjsgen 0.5.2 - * Copyright 2014-2020 Benjamin Tan <https://ofcr.se/> - * Available under the MIT license <https://github.com/bnjmnt4n/regjsgen/blob/master/LICENSE-MIT.txt> - */(function(){"use strict";var r={function:true,object:true};var s=r[typeof window]&&window||this;var a=r[typeof t]&&t&&!t.nodeType&&t;var n=r["object"]&&e&&!e.nodeType;var o=a&&n&&typeof global=="object"&&global;if(o&&(o.global===o||o.window===o||o.self===o)){s=o}var i=Object.prototype.hasOwnProperty;function fromCodePoint(){var e=Number(arguments[0]);if(!isFinite(e)||e<0||e>1114111||Math.floor(e)!=e){throw RangeError("Invalid code point: "+e)}if(e<=65535){return String.fromCharCode(e)}else{e-=65536;var t=(e>>10)+55296;var r=e%1024+56320;return String.fromCharCode(t,r)}}var l={};function assertType(e,t){if(t.indexOf("|")==-1){if(e==t){return}throw Error("Invalid node type: "+e+"; expected type: "+t)}t=i.call(l,t)?l[t]:l[t]=RegExp("^(?:"+t+")$");if(t.test(e)){return}throw Error("Invalid node type: "+e+"; expected types: "+t)}function generate(e){var t=e.type;if(i.call(u,t)){return u[t](e)}throw Error("Invalid node type: "+t)}function generateSequence(e,t,r){var s=-1,a=t.length,n="",o;while(++s<a){o=t[s];if(r&&s>0)n+=r;if(s+1<a&&t[s].type=="value"&&t[s].kind=="null"&&t[s+1].type=="value"&&t[s+1].kind=="symbol"&&t[s+1].codePoint>=48&&t[s+1].codePoint<=57){n+="\\000";continue}n+=e(o)}return n}function generateAlternative(e){assertType(e.type,"alternative");return generateSequence(generateTerm,e.body)}function generateAnchor(e){assertType(e.type,"anchor");switch(e.kind){case"start":return"^";case"end":return"$";case"boundary":return"\\b";case"not-boundary":return"\\B";default:throw Error("Invalid assertion")}}var c="anchor|characterClass|characterClassEscape|dot|group|reference|unicodePropertyEscape|value";function generateAtom(e){assertType(e.type,c);return generate(e)}function generateCharacterClass(e){assertType(e.type,"characterClass");var t=e.kind;var r=t==="intersection"?"&&":t==="subtraction"?"--":"";return"["+(e.negative?"^":"")+generateSequence(generateClassAtom,e.body,r)+"]"}function generateCharacterClassEscape(e){assertType(e.type,"characterClassEscape");return"\\"+e.value}function generateCharacterClassRange(e){assertType(e.type,"characterClassRange");var t=e.min,r=e.max;if(t.type=="characterClassRange"||r.type=="characterClassRange"){throw Error("Invalid character class range")}return generateClassAtom(t)+"-"+generateClassAtom(r)}function generateClassAtom(e){assertType(e.type,"anchor|characterClass|characterClassEscape|characterClassRange|dot|value|unicodePropertyEscape|classStrings");return generate(e)}function generateClassStrings(e){assertType(e.type,"classStrings");return"\\q{"+generateSequence(generateClassString,e.strings,"|")+"}"}function generateClassString(e){assertType(e.type,"classString");return generateSequence(generate,e.characters)}function generateDisjunction(e){assertType(e.type,"disjunction");return generateSequence(generate,e.body,"|")}function generateDot(e){assertType(e.type,"dot");return"."}function generateGroup(e){assertType(e.type,"group");var t="";switch(e.behavior){case"normal":if(e.name){t+="?<"+generateIdentifier(e.name)+">"}break;case"ignore":if(e.modifierFlags){t+="?";if(e.modifierFlags.enabling)t+=e.modifierFlags.enabling;if(e.modifierFlags.disabling)t+="-"+e.modifierFlags.disabling;t+=":"}else{t+="?:"}break;case"lookahead":t+="?=";break;case"negativeLookahead":t+="?!";break;case"lookbehind":t+="?<=";break;case"negativeLookbehind":t+="?<!";break;default:throw Error("Invalid behaviour: "+e.behaviour)}t+=generateSequence(generate,e.body);return"("+t+")"}function generateIdentifier(e){assertType(e.type,"identifier");return e.value}function generateQuantifier(e){assertType(e.type,"quantifier");var t="",r=e.min,s=e.max;if(s==null){if(r==0){t="*"}else if(r==1){t="+"}else{t="{"+r+",}"}}else if(r==s){t="{"+r+"}"}else if(r==0&&s==1){t="?"}else{t="{"+r+","+s+"}"}if(!e.greedy){t+="?"}return generateAtom(e.body[0])+t}function generateReference(e){assertType(e.type,"reference");if(e.matchIndex){return"\\"+e.matchIndex}if(e.name){return"\\k<"+generateIdentifier(e.name)+">"}throw new Error("Unknown reference type")}function generateTerm(e){assertType(e.type,c+"|empty|quantifier");return generate(e)}function generateUnicodePropertyEscape(e){assertType(e.type,"unicodePropertyEscape");return"\\"+(e.negative?"P":"p")+"{"+e.value+"}"}function generateValue(e){assertType(e.type,"value");var t=e.kind,r=e.codePoint;if(typeof r!="number"){throw new Error("Invalid code point: "+r)}switch(t){case"controlLetter":return"\\c"+fromCodePoint(r+64);case"hexadecimalEscape":return"\\x"+("00"+r.toString(16).toUpperCase()).slice(-2);case"identifier":return"\\"+fromCodePoint(r);case"null":return"\\"+r;case"octal":return"\\"+("000"+r.toString(8)).slice(-3);case"singleEscape":switch(r){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 11:return"\\v";case 12:return"\\f";case 13:return"\\r";case 45:return"\\-";default:throw Error("Invalid code point: "+r)}case"symbol":return fromCodePoint(r);case"unicodeEscape":return"\\u"+("0000"+r.toString(16).toUpperCase()).slice(-4);case"unicodeCodePointEscape":return"\\u{"+r.toString(16).toUpperCase()+"}";default:throw Error("Unsupported node kind: "+t)}}var u={alternative:generateAlternative,anchor:generateAnchor,characterClass:generateCharacterClass,characterClassEscape:generateCharacterClassEscape,characterClassRange:generateCharacterClassRange,classStrings:generateClassStrings,disjunction:generateDisjunction,dot:generateDot,group:generateGroup,quantifier:generateQuantifier,reference:generateReference,unicodePropertyEscape:generateUnicodePropertyEscape,value:generateValue};var p={generate:generate};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return p}));s.regjsgen=p}else if(a&&n){a.generate=generate}else{s.regjsgen=p}}).call(this)},5277:e=>{function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e.exports=_interopRequireDefault;e.exports["default"]=e.exports,e.exports.__esModule=true},8535:(e,t,r)=>{"use strict";e=r.nmd(e);const s=r(9054);const wrapAnsi16=(e,t)=>function(){const r=e.apply(s,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(s,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(s,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={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],gray:[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]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const s=t[r];for(const r of Object.keys(s)){const a=s[r];t[r]={open:`[${a[0]}m`,close:`[${a[1]}m`};s[r]=t[r];e.set(a[0],a[1])}Object.defineProperty(t,r,{value:s,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="";t.bgColor.close="";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(s)){if(typeof s[e]!=="object"){continue}const r=s[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},2760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=function(){function sliceIterator(e,t){var r=[];var s=true;var a=false;var n=undefined;try{for(var o=e[Symbol.iterator](),i;!(s=(i=o.next()).done);s=true){r.push(i.value);if(t&&r.length===t)break}}catch(e){a=true;n=e}finally{try{if(!s&&o["return"])o["return"]()}finally{if(a)throw n}}return r}return function(e,t){if(Array.isArray(e)){return e}else if(Symbol.iterator in Object(e)){return sliceIterator(e,t)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();t.getImportSource=getImportSource;t.createDynamicImportTransform=createDynamicImportTransform;function getImportSource(e,t){var s=t.arguments;var a=r(s,1),n=a[0];var o=e.isStringLiteral(n)||e.isTemplateLiteral(n);if(o){e.removeComments(n);return n}return e.templateLiteral([e.templateElement({raw:"",cooked:""}),e.templateElement({raw:"",cooked:""},true)],s)}function createDynamicImportTransform(e){var t=e.template,r=e.types;var s={static:{interop:t("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:t("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:t("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:t("Promise.resolve(SOURCE).then(s => require(s))")}};var a=typeof WeakSet==="function"&&new WeakSet;var n=function isString(e){return r.isStringLiteral(e)||r.isTemplateLiteral(e)&&e.expressions.length===0};return function(e,t){if(a){if(a.has(t)){return}a.add(t)}var o=getImportSource(r,t.parent);var i=n(o)?s["static"]:s.dynamic;var l=e.opts.noInterop?i.noInterop({SOURCE:o}):i.interop({SOURCE:o,INTEROP:e.addHelper("interopRequireWildcard")});t.parentPath.replaceWith(l)}}},9261:(e,t,r)=>{e.exports=r(2760)},7265:(e,t)=>{"use strict";t.__esModule=true;t["default"]=_default;function _extends(){_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r){if(Object.prototype.hasOwnProperty.call(r,s)){e[s]=r[s]}}}return e};return _extends.apply(this,arguments)}const r={"web.timers":{},"web.immediate":{},"web.dom.iterable":{}};const s={"es6.parse-float":{},"es6.parse-int":{},"es7.string.at":{}};function _default(e,t,a){const n=Object.keys(e);const o=!n.length;const i=n.some((e=>e!=="node"));return _extends({},a,t==="usage-pure"?s:null,o||i?r:null)}},87:(e,t,r)=>{"use strict";t.__esModule=true;t.StaticProperties=t.InstanceProperties=t.BuiltIns=t.CommonIterators=void 0;var s=_interopRequireDefault(r(8895));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const define=(e,t,r=[],s)=>({name:e,pure:t,global:r,meta:s});const pureAndGlobal=(e,t,r=null)=>define(t[0],e,t,{minRuntimeVersion:r});const globalOnly=e=>define(e[0],null,e);const pureOnly=(e,t)=>define(t,e,[]);const a=["es6.object.to-string","es6.array.iterator","web.dom.iterable"];const n=["es6.string.iterator",...a];t.CommonIterators=n;const o=["es6.object.to-string","es6.promise"];const i={DataView:globalOnly(["es6.typed.data-view"]),Float32Array:globalOnly(["es6.typed.float32-array"]),Float64Array:globalOnly(["es6.typed.float64-array"]),Int8Array:globalOnly(["es6.typed.int8-array"]),Int16Array:globalOnly(["es6.typed.int16-array"]),Int32Array:globalOnly(["es6.typed.int32-array"]),Map:pureAndGlobal("map",["es6.map",...n]),Number:globalOnly(["es6.number.constructor"]),Promise:pureAndGlobal("promise",o),RegExp:globalOnly(["es6.regexp.constructor"]),Set:pureAndGlobal("set",["es6.set",...n]),Symbol:pureAndGlobal("symbol",["es6.symbol"]),Uint8Array:globalOnly(["es6.typed.uint8-array"]),Uint8ClampedArray:globalOnly(["es6.typed.uint8-clamped-array"]),Uint16Array:globalOnly(["es6.typed.uint16-array"]),Uint32Array:globalOnly(["es6.typed.uint32-array"]),WeakMap:pureAndGlobal("weak-map",["es6.weak-map",...n]),WeakSet:pureAndGlobal("weak-set",["es6.weak-set",...n]),setImmediate:pureOnly("set-immediate","web.immediate"),clearImmediate:pureOnly("clear-immediate","web.immediate"),parseFloat:pureOnly("parse-float","es6.parse-float"),parseInt:pureOnly("parse-int","es6.parse-int")};t.BuiltIns=i;const l={__defineGetter__:globalOnly(["es7.object.define-getter"]),__defineSetter__:globalOnly(["es7.object.define-setter"]),__lookupGetter__:globalOnly(["es7.object.lookup-getter"]),__lookupSetter__:globalOnly(["es7.object.lookup-setter"]),anchor:globalOnly(["es6.string.anchor"]),big:globalOnly(["es6.string.big"]),bind:globalOnly(["es6.function.bind"]),blink:globalOnly(["es6.string.blink"]),bold:globalOnly(["es6.string.bold"]),codePointAt:globalOnly(["es6.string.code-point-at"]),copyWithin:globalOnly(["es6.array.copy-within"]),endsWith:globalOnly(["es6.string.ends-with"]),entries:globalOnly(a),every:globalOnly(["es6.array.every"]),fill:globalOnly(["es6.array.fill"]),filter:globalOnly(["es6.array.filter"]),finally:globalOnly(["es7.promise.finally",...o]),find:globalOnly(["es6.array.find"]),findIndex:globalOnly(["es6.array.find-index"]),fixed:globalOnly(["es6.string.fixed"]),flags:globalOnly(["es6.regexp.flags"]),flatMap:globalOnly(["es7.array.flat-map"]),fontcolor:globalOnly(["es6.string.fontcolor"]),fontsize:globalOnly(["es6.string.fontsize"]),forEach:globalOnly(["es6.array.for-each"]),includes:globalOnly(["es6.string.includes","es7.array.includes"]),indexOf:globalOnly(["es6.array.index-of"]),italics:globalOnly(["es6.string.italics"]),keys:globalOnly(a),lastIndexOf:globalOnly(["es6.array.last-index-of"]),link:globalOnly(["es6.string.link"]),map:globalOnly(["es6.array.map"]),match:globalOnly(["es6.regexp.match"]),name:globalOnly(["es6.function.name"]),padStart:globalOnly(["es7.string.pad-start"]),padEnd:globalOnly(["es7.string.pad-end"]),reduce:globalOnly(["es6.array.reduce"]),reduceRight:globalOnly(["es6.array.reduce-right"]),repeat:globalOnly(["es6.string.repeat"]),replace:globalOnly(["es6.regexp.replace"]),search:globalOnly(["es6.regexp.search"]),small:globalOnly(["es6.string.small"]),some:globalOnly(["es6.array.some"]),sort:globalOnly(["es6.array.sort"]),split:globalOnly(["es6.regexp.split"]),startsWith:globalOnly(["es6.string.starts-with"]),strike:globalOnly(["es6.string.strike"]),sub:globalOnly(["es6.string.sub"]),sup:globalOnly(["es6.string.sup"]),toISOString:globalOnly(["es6.date.to-iso-string"]),toJSON:globalOnly(["es6.date.to-json"]),toString:globalOnly(["es6.object.to-string","es6.date.to-string","es6.regexp.to-string"]),trim:globalOnly(["es6.string.trim"]),trimEnd:globalOnly(["es7.string.trim-right"]),trimLeft:globalOnly(["es7.string.trim-left"]),trimRight:globalOnly(["es7.string.trim-right"]),trimStart:globalOnly(["es7.string.trim-left"]),values:globalOnly(a)};t.InstanceProperties=l;if("es6.array.slice"in s.default){l.slice=globalOnly(["es6.array.slice"])}const c={Array:{from:pureAndGlobal("array/from",["es6.symbol","es6.array.from",...n]),isArray:pureAndGlobal("array/is-array",["es6.array.is-array"]),of:pureAndGlobal("array/of",["es6.array.of"])},Date:{now:pureAndGlobal("date/now",["es6.date.now"])},JSON:{stringify:pureOnly("json/stringify","es6.symbol")},Math:{acosh:pureAndGlobal("math/acosh",["es6.math.acosh"],"7.0.1"),asinh:pureAndGlobal("math/asinh",["es6.math.asinh"],"7.0.1"),atanh:pureAndGlobal("math/atanh",["es6.math.atanh"],"7.0.1"),cbrt:pureAndGlobal("math/cbrt",["es6.math.cbrt"],"7.0.1"),clz32:pureAndGlobal("math/clz32",["es6.math.clz32"],"7.0.1"),cosh:pureAndGlobal("math/cosh",["es6.math.cosh"],"7.0.1"),expm1:pureAndGlobal("math/expm1",["es6.math.expm1"],"7.0.1"),fround:pureAndGlobal("math/fround",["es6.math.fround"],"7.0.1"),hypot:pureAndGlobal("math/hypot",["es6.math.hypot"],"7.0.1"),imul:pureAndGlobal("math/imul",["es6.math.imul"],"7.0.1"),log1p:pureAndGlobal("math/log1p",["es6.math.log1p"],"7.0.1"),log10:pureAndGlobal("math/log10",["es6.math.log10"],"7.0.1"),log2:pureAndGlobal("math/log2",["es6.math.log2"],"7.0.1"),sign:pureAndGlobal("math/sign",["es6.math.sign"],"7.0.1"),sinh:pureAndGlobal("math/sinh",["es6.math.sinh"],"7.0.1"),tanh:pureAndGlobal("math/tanh",["es6.math.tanh"],"7.0.1"),trunc:pureAndGlobal("math/trunc",["es6.math.trunc"],"7.0.1")},Number:{EPSILON:pureAndGlobal("number/epsilon",["es6.number.epsilon"]),MIN_SAFE_INTEGER:pureAndGlobal("number/min-safe-integer",["es6.number.min-safe-integer"]),MAX_SAFE_INTEGER:pureAndGlobal("number/max-safe-integer",["es6.number.max-safe-integer"]),isFinite:pureAndGlobal("number/is-finite",["es6.number.is-finite"]),isInteger:pureAndGlobal("number/is-integer",["es6.number.is-integer"]),isSafeInteger:pureAndGlobal("number/is-safe-integer",["es6.number.is-safe-integer"]),isNaN:pureAndGlobal("number/is-nan",["es6.number.is-nan"]),parseFloat:pureAndGlobal("number/parse-float",["es6.number.parse-float"]),parseInt:pureAndGlobal("number/parse-int",["es6.number.parse-int"])},Object:{assign:pureAndGlobal("object/assign",["es6.object.assign"]),create:pureAndGlobal("object/create",["es6.object.create"]),defineProperties:pureAndGlobal("object/define-properties",["es6.object.define-properties"]),defineProperty:pureAndGlobal("object/define-property",["es6.object.define-property"]),entries:pureAndGlobal("object/entries",["es7.object.entries"]),freeze:pureAndGlobal("object/freeze",["es6.object.freeze"]),getOwnPropertyDescriptor:pureAndGlobal("object/get-own-property-descriptor",["es6.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:pureAndGlobal("object/get-own-property-descriptors",["es7.object.get-own-property-descriptors"]),getOwnPropertyNames:pureAndGlobal("object/get-own-property-names",["es6.object.get-own-property-names"]),getOwnPropertySymbols:pureAndGlobal("object/get-own-property-symbols",["es6.symbol"]),getPrototypeOf:pureAndGlobal("object/get-prototype-of",["es6.object.get-prototype-of"]),is:pureAndGlobal("object/is",["es6.object.is"]),isExtensible:pureAndGlobal("object/is-extensible",["es6.object.is-extensible"]),isFrozen:pureAndGlobal("object/is-frozen",["es6.object.is-frozen"]),isSealed:pureAndGlobal("object/is-sealed",["es6.object.is-sealed"]),keys:pureAndGlobal("object/keys",["es6.object.keys"]),preventExtensions:pureAndGlobal("object/prevent-extensions",["es6.object.prevent-extensions"]),seal:pureAndGlobal("object/seal",["es6.object.seal"]),setPrototypeOf:pureAndGlobal("object/set-prototype-of",["es6.object.set-prototype-of"]),values:pureAndGlobal("object/values",["es7.object.values"])},Promise:{all:globalOnly(n),race:globalOnly(n)},Reflect:{apply:pureAndGlobal("reflect/apply",["es6.reflect.apply"]),construct:pureAndGlobal("reflect/construct",["es6.reflect.construct"]),defineProperty:pureAndGlobal("reflect/define-property",["es6.reflect.define-property"]),deleteProperty:pureAndGlobal("reflect/delete-property",["es6.reflect.delete-property"]),get:pureAndGlobal("reflect/get",["es6.reflect.get"]),getOwnPropertyDescriptor:pureAndGlobal("reflect/get-own-property-descriptor",["es6.reflect.get-own-property-descriptor"]),getPrototypeOf:pureAndGlobal("reflect/get-prototype-of",["es6.reflect.get-prototype-of"]),has:pureAndGlobal("reflect/has",["es6.reflect.has"]),isExtensible:pureAndGlobal("reflect/is-extensible",["es6.reflect.is-extensible"]),ownKeys:pureAndGlobal("reflect/own-keys",["es6.reflect.own-keys"]),preventExtensions:pureAndGlobal("reflect/prevent-extensions",["es6.reflect.prevent-extensions"]),set:pureAndGlobal("reflect/set",["es6.reflect.set"]),setPrototypeOf:pureAndGlobal("reflect/set-prototype-of",["es6.reflect.set-prototype-of"])},String:{at:pureOnly("string/at","es7.string.at"),fromCodePoint:pureAndGlobal("string/from-code-point",["es6.string.from-code-point"]),raw:pureAndGlobal("string/raw",["es6.string.raw"])},Symbol:{asyncIterator:globalOnly(["es6.symbol","es7.symbol.async-iterator"]),for:pureOnly("symbol/for","es6.symbol"),hasInstance:pureOnly("symbol/has-instance","es6.symbol"),isConcatSpreadable:pureOnly("symbol/is-concat-spreadable","es6.symbol"),iterator:define("es6.symbol","symbol/iterator",n),keyFor:pureOnly("symbol/key-for","es6.symbol"),match:pureAndGlobal("symbol/match",["es6.regexp.match"]),replace:pureOnly("symbol/replace","es6.symbol"),search:pureOnly("symbol/search","es6.symbol"),species:pureOnly("symbol/species","es6.symbol"),split:pureOnly("symbol/split","es6.symbol"),toPrimitive:pureOnly("symbol/to-primitive","es6.symbol"),toStringTag:pureOnly("symbol/to-string-tag","es6.symbol"),unscopables:pureOnly("symbol/unscopables","es6.symbol")}};t.StaticProperties=c},9436:(e,t,r)=>{"use strict";t.__esModule=true;t.hasMinVersion=hasMinVersion;var s=_interopRequireDefault(r(7849));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hasMinVersion(e,t){if(!t||!e)return true;if(s.default.valid(t))t=`^${t}`;return!s.default.intersects(`<${e}`,t)&&!s.default.intersects(`>=8.0.0`,t)}},9068:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var s=_interopRequireDefault(r(8895));var a=r(87);var n=_interopRequireDefault(r(7265));var o=r(9436);var i=_interopRequireDefault(r(9083));var l=_interopRequireWildcard(r(8304));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var n=s?Object.getOwnPropertyDescriptor(e,a):null;if(n&&(n.get||n.set)){Object.defineProperty(r,a,n)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const{types:c}=l.default||l;const u="#__secret_key__@babel/preset-env__compatibility";const p="#__secret_key__@babel/runtime__compatibility";const d=Function.call.bind(Object.hasOwnProperty);var f=(0,i.default)((function(e,{[u]:{entryInjectRegenerator:t}={},[p]:{useBabelRuntime:r,runtimeVersion:i,ext:l=".js"}={}}){const f=e.createMetaResolver({global:a.BuiltIns,static:a.StaticProperties,instance:a.InstanceProperties});const{debug:y,shouldInjectPolyfill:g,method:h}=e;const b=(0,n.default)(e.targets,h,s.default);const x=r?`${r}/core-js`:h==="usage-pure"?"core-js/library/fn":"core-js/modules";function inject(e,t){if(typeof e==="string"){if(d(b,e)&&g(e)){y(e);t.injectGlobalImport(`${x}/${e}.js`)}return}e.forEach((e=>inject(e,t)))}function maybeInjectPure(e,t,r){const{pure:s,meta:a,name:n}=e;if(!s||!g(n))return;if(i&&a&&a.minRuntimeVersion&&!(0,o.hasMinVersion)(a&&a.minRuntimeVersion,i)){return}return r.injectDefaultImport(`${x}/${s}${l}`,t)}return{name:"corejs2",polyfills:b,entryGlobal(e,r,s){if(e.kind==="import"&&e.source==="core-js"){y(null);inject(Object.keys(b),r);if(t){r.injectGlobalImport("regenerator-runtime/runtime.js")}s.remove()}},usageGlobal(e,t){const r=f(e);if(!r)return;let s=r.desc.global;if(r.kind!=="global"&&e.object&&e.placement==="prototype"){const t=e.object.toLowerCase();s=s.filter((e=>e.includes(t)))}inject(s,t)},usagePure(e,t,r){if(e.kind==="in"){if(e.key==="Symbol.iterator"){r.replaceWith(c.callExpression(t.injectDefaultImport(`${x}/is-iterable${l}`,"isIterable"),[r.node.right]))}return}if(r.parentPath.isUnaryExpression({operator:"delete"}))return;if(e.kind==="property"){if(!r.isMemberExpression())return;if(!r.isReferenced())return;if(e.key==="Symbol.iterator"&&g("es6.symbol")&&r.parentPath.isCallExpression({callee:r.node})&&r.parent.arguments.length===0){r.parentPath.replaceWith(c.callExpression(t.injectDefaultImport(`${x}/get-iterator${l}`,"getIterator"),[r.node.object]));r.skip();return}}const s=f(e);if(!s)return;const a=maybeInjectPure(s.desc,s.name,t);if(a)r.replaceWith(a)},visitor:h==="usage-global"&&{YieldExpression(t){if(t.node.delegate){inject("web.dom.iterable",e.getUtils(t))}},"ForOfStatement|ArrayPattern"(t){a.CommonIterators.forEach((r=>inject(r,e.getUtils(t))))}}}}));t["default"]=f},6192:(e,t,r)=>{e.exports=r(4073)},2816:(e,t,r)=>{e.exports=r(2856)},4528:(e,t,r)=>{e.exports=r(4290)},2059:(e,t,r)=>{"use strict";t.__esModule=true;t.CommonInstanceDependencies=t.InstanceProperties=t.StaticProperties=t.BuiltIns=t.PromiseDependenciesWithIterators=t.PromiseDependencies=t.CommonIterators=void 0;var s=_interopRequireDefault(r(6192));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a={};Object.keys(s.default).forEach(((e,t)=>{a[e]=t}));const define=(e,t,r=t[0],s)=>({name:r,pure:e,global:t.sort(((e,t)=>a[e]-a[t])),exclude:s});const typed=e=>define(null,[e,...u]);const n=["es.array.iterator","web.dom-collections.iterator"];const o=["es.string.iterator",...n];t.CommonIterators=o;const i=["es.object.to-string",...n];const l=["es.object.to-string",...o];const c=["es.error.cause","es.error.to-string"];const u=["es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.object.to-string","es.array.iterator","es.array-buffer.slice","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"];const p=["es.promise","es.object.to-string"];t.PromiseDependencies=p;const d=[...p,...o];t.PromiseDependenciesWithIterators=d;const f=["es.symbol","es.symbol.description","es.object.to-string"];const y=["es.map","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.includes","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update",...l];const g=["es.set","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union",...l];const h=["es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.emplace",...l];const b=["es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all",...l];const x=["web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","es.error.to-string"];const v=["web.url-search-params",...l];const j=["esnext.async-iterator.constructor",...p];const E=["esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some"];const w=["esnext.iterator.constructor","es.object.to-string"];const _={from:define(null,["es.typed-array.from"]),fromAsync:define(null,["esnext.typed-array.from-async",...d]),of:define(null,["es.typed-array.of"])};const S={AsyncIterator:define("async-iterator/index",j),AggregateError:define("aggregate-error",["es.aggregate-error",...c,...l,"es.aggregate-error.cause"]),ArrayBuffer:define(null,["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"]),DataView:define(null,["es.data-view","es.array-buffer.slice","es.object.to-string"]),Date:define(null,["es.date.to-string"]),DOMException:define("dom-exception",x),Error:define(null,c),EvalError:define(null,c),Float32Array:typed("es.typed-array.float32-array"),Float64Array:typed("es.typed-array.float64-array"),Int8Array:typed("es.typed-array.int8-array"),Int16Array:typed("es.typed-array.int16-array"),Int32Array:typed("es.typed-array.int32-array"),Iterator:define("iterator/index",w),Uint8Array:typed("es.typed-array.uint8-array"),Uint8ClampedArray:typed("es.typed-array.uint8-clamped-array"),Uint16Array:typed("es.typed-array.uint16-array"),Uint32Array:typed("es.typed-array.uint32-array"),Map:define("map/index",y),Number:define(null,["es.number.constructor"]),Observable:define("observable/index",["esnext.observable","esnext.symbol.observable","es.object.to-string",...l]),Promise:define("promise/index",p),RangeError:define(null,c),ReferenceError:define(null,c),Reflect:define(null,["es.reflect.to-string-tag","es.object.to-string"]),RegExp:define(null,["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky","es.regexp.to-string"]),Set:define("set/index",g),Symbol:define("symbol/index",f),SyntaxError:define(null,c),TypeError:define(null,c),URIError:define(null,c),URL:define("url/index",["web.url",...v]),URLSearchParams:define("url-search-params/index",v),WeakMap:define("weak-map/index",h),WeakSet:define("weak-set/index",b),atob:define("atob",["web.atob",...x]),btoa:define("btoa",["web.btoa",...x]),clearImmediate:define("clear-immediate",["web.immediate"]),compositeKey:define("composite-key",["esnext.composite-key"]),compositeSymbol:define("composite-symbol",["esnext.composite-symbol"]),escape:define("escape",["es.escape"]),fetch:define(null,p),globalThis:define("global-this",["es.global-this"]),parseFloat:define("parse-float",["es.parse-float"]),parseInt:define("parse-int",["es.parse-int"]),queueMicrotask:define("queue-microtask",["web.queue-microtask"]),setImmediate:define("set-immediate",["web.immediate"]),setInterval:define("set-interval",["web.timers"]),setTimeout:define("set-timeout",["web.timers"]),structuredClone:define("structured-clone",["web.structured-clone",...x,"es.array.iterator","es.object.keys","es.object.to-string","es.map","es.set"]),unescape:define("unescape",["es.unescape"])};t.BuiltIns=S;const k={AsyncIterator:{from:define("async-iterator/from",["esnext.async-iterator.from",...j,...E,...o])},Array:{from:define("array/from",["es.array.from","es.string.iterator"]),fromAsync:define("array/from-async",["esnext.array.from-async",...d]),isArray:define("array/is-array",["es.array.is-array"]),isTemplateObject:define("array/is-template-object",["esnext.array.is-template-object"]),of:define("array/of",["es.array.of"])},ArrayBuffer:{isView:define(null,["es.array-buffer.is-view"])},BigInt:{range:define("bigint/range",["esnext.bigint.range","es.object.to-string"])},Date:{now:define("date/now",["es.date.now"])},Function:{isCallable:define("function/is-callable",["esnext.function.is-callable"]),isConstructor:define("function/is-constructor",["esnext.function.is-constructor"])},Iterator:{from:define("iterator/from",["esnext.iterator.from",...w,...o])},JSON:{stringify:define("json/stringify",["es.json.stringify"],"es.symbol")},Math:{DEG_PER_RAD:define("math/deg-per-rad",["esnext.math.deg-per-rad"]),RAD_PER_DEG:define("math/rad-per-deg",["esnext.math.rad-per-deg"]),acosh:define("math/acosh",["es.math.acosh"]),asinh:define("math/asinh",["es.math.asinh"]),atanh:define("math/atanh",["es.math.atanh"]),cbrt:define("math/cbrt",["es.math.cbrt"]),clamp:define("math/clamp",["esnext.math.clamp"]),clz32:define("math/clz32",["es.math.clz32"]),cosh:define("math/cosh",["es.math.cosh"]),degrees:define("math/degrees",["esnext.math.degrees"]),expm1:define("math/expm1",["es.math.expm1"]),fround:define("math/fround",["es.math.fround"]),fscale:define("math/fscale",["esnext.math.fscale"]),hypot:define("math/hypot",["es.math.hypot"]),iaddh:define("math/iaddh",["esnext.math.iaddh"]),imul:define("math/imul",["es.math.imul"]),imulh:define("math/imulh",["esnext.math.imulh"]),isubh:define("math/isubh",["esnext.math.isubh"]),log10:define("math/log10",["es.math.log10"]),log1p:define("math/log1p",["es.math.log1p"]),log2:define("math/log2",["es.math.log2"]),radians:define("math/radians",["esnext.math.radians"]),scale:define("math/scale",["esnext.math.scale"]),seededPRNG:define("math/seeded-prng",["esnext.math.seeded-prng"]),sign:define("math/sign",["es.math.sign"]),signbit:define("math/signbit",["esnext.math.signbit"]),sinh:define("math/sinh",["es.math.sinh"]),tanh:define("math/tanh",["es.math.tanh"]),trunc:define("math/trunc",["es.math.trunc"]),umulh:define("math/umulh",["esnext.math.umulh"])},Map:{from:define(null,["esnext.map.from",...y]),groupBy:define(null,["esnext.map.group-by",...y]),keyBy:define(null,["esnext.map.key-by",...y]),of:define(null,["esnext.map.of",...y])},Number:{EPSILON:define("number/epsilon",["es.number.epsilon"]),MAX_SAFE_INTEGER:define("number/max-safe-integer",["es.number.max-safe-integer"]),MIN_SAFE_INTEGER:define("number/min-safe-integer",["es.number.min-safe-integer"]),fromString:define("number/from-string",["esnext.number.from-string"]),isFinite:define("number/is-finite",["es.number.is-finite"]),isInteger:define("number/is-integer",["es.number.is-integer"]),isNaN:define("number/is-nan",["es.number.is-nan"]),isSafeInteger:define("number/is-safe-integer",["es.number.is-safe-integer"]),parseFloat:define("number/parse-float",["es.number.parse-float"]),parseInt:define("number/parse-int",["es.number.parse-int"]),range:define("number/range",["esnext.number.range","es.object.to-string"])},Object:{assign:define("object/assign",["es.object.assign"]),create:define("object/create",["es.object.create"]),defineProperties:define("object/define-properties",["es.object.define-properties"]),defineProperty:define("object/define-property",["es.object.define-property"]),entries:define("object/entries",["es.object.entries"]),freeze:define("object/freeze",["es.object.freeze"]),fromEntries:define("object/from-entries",["es.object.from-entries","es.array.iterator"]),getOwnPropertyDescriptor:define("object/get-own-property-descriptor",["es.object.get-own-property-descriptor"]),getOwnPropertyDescriptors:define("object/get-own-property-descriptors",["es.object.get-own-property-descriptors"]),getOwnPropertyNames:define("object/get-own-property-names",["es.object.get-own-property-names"]),getOwnPropertySymbols:define("object/get-own-property-symbols",["es.symbol"]),getPrototypeOf:define("object/get-prototype-of",["es.object.get-prototype-of"]),hasOwn:define("object/has-own",["es.object.has-own"]),is:define("object/is",["es.object.is"]),isExtensible:define("object/is-extensible",["es.object.is-extensible"]),isFrozen:define("object/is-frozen",["es.object.is-frozen"]),isSealed:define("object/is-sealed",["es.object.is-sealed"]),keys:define("object/keys",["es.object.keys"]),preventExtensions:define("object/prevent-extensions",["es.object.prevent-extensions"]),seal:define("object/seal",["es.object.seal"]),setPrototypeOf:define("object/set-prototype-of",["es.object.set-prototype-of"]),values:define("object/values",["es.object.values"])},Promise:{all:define(null,d),allSettled:define(null,["es.promise.all-settled",...d]),any:define(null,["es.promise.any","es.aggregate-error",...d]),race:define(null,d),try:define(null,["esnext.promise.try",...d])},Reflect:{apply:define("reflect/apply",["es.reflect.apply"]),construct:define("reflect/construct",["es.reflect.construct"]),defineMetadata:define("reflect/define-metadata",["esnext.reflect.define-metadata"]),defineProperty:define("reflect/define-property",["es.reflect.define-property"]),deleteMetadata:define("reflect/delete-metadata",["esnext.reflect.delete-metadata"]),deleteProperty:define("reflect/delete-property",["es.reflect.delete-property"]),get:define("reflect/get",["es.reflect.get"]),getMetadata:define("reflect/get-metadata",["esnext.reflect.get-metadata"]),getMetadataKeys:define("reflect/get-metadata-keys",["esnext.reflect.get-metadata-keys"]),getOwnMetadata:define("reflect/get-own-metadata",["esnext.reflect.get-own-metadata"]),getOwnMetadataKeys:define("reflect/get-own-metadata-keys",["esnext.reflect.get-own-metadata-keys"]),getOwnPropertyDescriptor:define("reflect/get-own-property-descriptor",["es.reflect.get-own-property-descriptor"]),getPrototypeOf:define("reflect/get-prototype-of",["es.reflect.get-prototype-of"]),has:define("reflect/has",["es.reflect.has"]),hasMetadata:define("reflect/has-metadata",["esnext.reflect.has-metadata"]),hasOwnMetadata:define("reflect/has-own-metadata",["esnext.reflect.has-own-metadata"]),isExtensible:define("reflect/is-extensible",["es.reflect.is-extensible"]),metadata:define("reflect/metadata",["esnext.reflect.metadata"]),ownKeys:define("reflect/own-keys",["es.reflect.own-keys"]),preventExtensions:define("reflect/prevent-extensions",["es.reflect.prevent-extensions"]),set:define("reflect/set",["es.reflect.set"]),setPrototypeOf:define("reflect/set-prototype-of",["es.reflect.set-prototype-of"])},Set:{from:define(null,["esnext.set.from",...g]),of:define(null,["esnext.set.of",...g])},String:{cooked:define("string/cooked",["esnext.string.cooked"]),fromCodePoint:define("string/from-code-point",["es.string.from-code-point"]),raw:define("string/raw",["es.string.raw"])},Symbol:{asyncDispose:define("symbol/async-dispose",["esnext.symbol.async-dispose"]),asyncIterator:define("symbol/async-iterator",["es.symbol.async-iterator"]),dispose:define("symbol/dispose",["esnext.symbol.dispose"]),for:define("symbol/for",[],"es.symbol"),hasInstance:define("symbol/has-instance",["es.symbol.has-instance","es.function.has-instance"]),isConcatSpreadable:define("symbol/is-concat-spreadable",["es.symbol.is-concat-spreadable","es.array.concat"]),iterator:define("symbol/iterator",["es.symbol.iterator",...l]),keyFor:define("symbol/key-for",[],"es.symbol"),match:define("symbol/match",["es.symbol.match","es.string.match"]),matcher:define("symbol/matcher",["esnext.symbol.matcher"]),matchAll:define("symbol/match-all",["es.symbol.match-all","es.string.match-all"]),metadata:define("symbol/metadata",["esnext.symbol.metadata"]),observable:define("symbol/observable",["esnext.symbol.observable"]),patternMatch:define("symbol/pattern-match",["esnext.symbol.pattern-match"]),replace:define("symbol/replace",["es.symbol.replace","es.string.replace"]),search:define("symbol/search",["es.symbol.search","es.string.search"]),species:define("symbol/species",["es.symbol.species","es.array.species"]),split:define("symbol/split",["es.symbol.split","es.string.split"]),toPrimitive:define("symbol/to-primitive",["es.symbol.to-primitive","es.date.to-primitive"]),toStringTag:define("symbol/to-string-tag",["es.symbol.to-string-tag","es.object.to-string","es.math.to-string-tag","es.json.to-string-tag"]),unscopables:define("symbol/unscopables",["es.symbol.unscopables"])},WeakMap:{from:define(null,["esnext.weak-map.from",...h]),of:define(null,["esnext.weak-map.of",...h])},WeakSet:{from:define(null,["esnext.weak-set.from",...b]),of:define(null,["esnext.weak-set.of",...b])},Int8Array:_,Uint8Array:_,Uint8ClampedArray:_,Int16Array:_,Uint16Array:_,Int32Array:_,Uint32Array:_,Float32Array:_,Float64Array:_,WebAssembly:{CompileError:define(null,c),LinkError:define(null,c),RuntimeError:define(null,c)}};t.StaticProperties=k;const I={asIndexedPairs:define("instance/asIndexedPairs",["esnext.async-iterator.as-indexed-pairs",...j,"esnext.iterator.as-indexed-pairs",...w]),at:define("instance/at",["esnext.string.at","es.string.at-alternative","es.array.at"]),anchor:define(null,["es.string.anchor"]),big:define(null,["es.string.big"]),bind:define("instance/bind",["es.function.bind"]),blink:define(null,["es.string.blink"]),bold:define(null,["es.string.bold"]),codePointAt:define("instance/code-point-at",["es.string.code-point-at"]),codePoints:define("instance/code-points",["esnext.string.code-points"]),concat:define("instance/concat",["es.array.concat"],undefined,["String"]),copyWithin:define("instance/copy-within",["es.array.copy-within"]),description:define(null,["es.symbol","es.symbol.description"]),dotAll:define("instance/dot-all",["es.regexp.dot-all"]),drop:define("instance/drop",["esnext.async-iterator.drop",...j,"esnext.iterator.drop",...w]),emplace:define("instance/emplace",["esnext.map.emplace","esnext.weak-map.emplace"]),endsWith:define("instance/ends-with",["es.string.ends-with"]),entries:define("instance/entries",i),every:define("instance/every",["es.array.every","esnext.async-iterator.every","esnext.iterator.every",...w]),exec:define(null,["es.regexp.exec"]),fill:define("instance/fill",["es.array.fill"]),filter:define("instance/filter",["es.array.filter","esnext.async-iterator.filter","esnext.iterator.filter",...w]),filterReject:define("instance/filterReject",["esnext.array.filter-reject"]),finally:define(null,["es.promise.finally",...p]),find:define("instance/find",["es.array.find","esnext.async-iterator.find","esnext.iterator.find",...w]),findIndex:define("instance/find-index",["es.array.find-index"]),findLast:define("instance/find-last",["esnext.array.find-last"]),findLastIndex:define("instance/find-last-index",["esnext.array.find-last-index"]),fixed:define(null,["es.string.fixed"]),flags:define("instance/flags",["es.regexp.flags"]),flatMap:define("instance/flat-map",["es.array.flat-map","es.array.unscopables.flat-map","esnext.async-iterator.flat-map","esnext.iterator.flat-map",...w]),flat:define("instance/flat",["es.array.flat","es.array.unscopables.flat"]),getYear:define(null,["es.date.get-year"]),groupBy:define("instance/group-by",["esnext.array.group-by"]),groupByToMap:define("instance/group-by-to-map",["esnext.array.group-by-to-map","es.map","es.object.to-string"]),fontcolor:define(null,["es.string.fontcolor"]),fontsize:define(null,["es.string.fontsize"]),forEach:define("instance/for-each",["es.array.for-each","esnext.async-iterator.for-each","esnext.iterator.for-each",...w,"web.dom-collections.for-each"]),includes:define("instance/includes",["es.array.includes","es.string.includes"]),indexOf:define("instance/index-of",["es.array.index-of"]),italic:define(null,["es.string.italics"]),join:define(null,["es.array.join"]),keys:define("instance/keys",i),lastIndex:define(null,["esnext.array.last-index"]),lastIndexOf:define("instance/last-index-of",["es.array.last-index-of"]),lastItem:define(null,["esnext.array.last-item"]),link:define(null,["es.string.link"]),map:define("instance/map",["es.array.map","esnext.async-iterator.map","esnext.iterator.map"]),match:define(null,["es.string.match","es.regexp.exec"]),matchAll:define("instance/match-all",["es.string.match-all","es.regexp.exec"]),name:define(null,["es.function.name"]),padEnd:define("instance/pad-end",["es.string.pad-end"]),padStart:define("instance/pad-start",["es.string.pad-start"]),reduce:define("instance/reduce",["es.array.reduce","esnext.async-iterator.reduce","esnext.iterator.reduce",...w]),reduceRight:define("instance/reduce-right",["es.array.reduce-right"]),repeat:define("instance/repeat",["es.string.repeat"]),replace:define(null,["es.string.replace","es.regexp.exec"]),replaceAll:define("instance/replace-all",["es.string.replace-all","es.string.replace","es.regexp.exec"]),reverse:define("instance/reverse",["es.array.reverse"]),search:define(null,["es.string.search","es.regexp.exec"]),setYear:define(null,["es.date.set-year"]),slice:define("instance/slice",["es.array.slice"]),small:define(null,["es.string.small"]),some:define("instance/some",["es.array.some","esnext.async-iterator.some","esnext.iterator.some",...w]),sort:define("instance/sort",["es.array.sort"]),splice:define("instance/splice",["es.array.splice"]),split:define(null,["es.string.split","es.regexp.exec"]),startsWith:define("instance/starts-with",["es.string.starts-with"]),sticky:define("instance/sticky",["es.regexp.sticky"]),strike:define(null,["es.string.strike"]),sub:define(null,["es.string.sub"]),substr:define(null,["es.string.substr"]),sup:define(null,["es.string.sup"]),take:define("instance/take",["esnext.async-iterator.take",...j,"esnext.iterator.take",...w]),test:define("instance/test",["es.regexp.test","es.regexp.exec"]),toArray:define("instance/to-array",["esnext.async-iterator.to-array",...j,"esnext.iterator.to-array",...w]),toAsync:define(null,["esnext.iterator.to-async",...w,...j,...E]),toExponential:define(null,["es.number.to-exponential"]),toFixed:define(null,["es.number.to-fixed"]),toGMTString:define(null,["es.date.to-gmt-string"]),toISOString:define(null,["es.date.to-iso-string"]),toJSON:define(null,["es.date.to-json","web.url.to-json"]),toPrecision:define(null,["es.number.to-precision"]),toReversed:define("instance/to-reversed",["esnext.array.to-reversed"]),toSorted:define("instance/to-sorted",["esnext.array.to-sorted","es.array.sort"]),toSpliced:define("instance/to-reversed",["esnext.array.to-spliced"]),toString:define(null,["es.object.to-string","es.error.to-string","es.date.to-string","es.regexp.to-string"]),trim:define("instance/trim",["es.string.trim"]),trimEnd:define("instance/trim-end",["es.string.trim-end"]),trimLeft:define("instance/trim-left",["es.string.trim-start"]),trimRight:define("instance/trim-right",["es.string.trim-end"]),trimStart:define("instance/trim-start",["es.string.trim-start"]),uniqueBy:define("instance/unique-by",["esnext.array.unique-by","es.map"]),unThis:define("instance/un-this",["esnext.function.un-this"]),values:define("instance/values",i),with:define("instance/with",["esnext.array.with"]),__defineGetter__:define(null,["es.object.define-getter"]),__defineSetter__:define(null,["es.object.define-setter"]),__lookupGetter__:define(null,["es.object.lookup-getter"]),__lookupSetter__:define(null,["es.object.lookup-setter"])};t.InstanceProperties=I;const D=new Set(["es.object.to-string","es.object.define-getter","es.object.define-setter","es.object.lookup-getter","es.object.lookup-setter","es.regexp.exec"]);t.CommonInstanceDependencies=D},6619:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var s=_interopRequireDefault(r(6192));var a=_interopRequireDefault(r(5348));var n=_interopRequireDefault(r(4528));var o=r(2059);var i=_interopRequireWildcard(r(8304));var l=r(8599);var c=_interopRequireDefault(r(9083));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var n=s?Object.getOwnPropertyDescriptor(e,a):null;if(n&&(n.get||n.set)){Object.defineProperty(r,a,n)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r){if(Object.prototype.hasOwnProperty.call(r,s)){e[s]=r[s]}}}return e};return _extends.apply(this,arguments)}const{types:u}=i.default||i;const p="#__secret_key__@babel/runtime__compatibility";const esnextFallback=(e,t)=>{if(t(e))return true;if(!e.startsWith("es."))return false;const r=`esnext.${e.slice(3)}`;if(!s.default[r])return false;return t(r)};var d=(0,c.default)((function({getUtils:e,method:t,shouldInjectPolyfill:r,createMetaResolver:i,debug:c,babel:d},{version:f=3,proposals:y,shippedProposals:g,[p]:{useBabelRuntime:h,ext:b=".js"}={}}){const x=d.caller((e=>(e==null?void 0:e.name)==="babel-loader"));const v=i({global:o.BuiltIns,static:o.StaticProperties,instance:o.InstanceProperties});const j=new Set((0,n.default)(f));function getCoreJSPureBase(e){return h?e?`${h}/core-js`:`${h}/core-js-stable`:e?"core-js-pure/features":"core-js-pure/stable"}function maybeInjectGlobalImpl(e,t){if(r(e)){c(e);t.injectGlobalImport((0,l.coreJSModule)(e));return true}return false}function maybeInjectGlobal(e,t,r=true){for(const s of e){if(r){esnextFallback(s,(e=>maybeInjectGlobalImpl(e,t)))}else{maybeInjectGlobalImpl(s,t)}}}function maybeInjectPure(e,t,s,a){if(e.pure&&!(a&&e.exclude&&e.exclude.includes(a))&&esnextFallback(e.name,r)){const{name:r}=e;let a=false;if(y||g&&r.startsWith("esnext.")){a=true}else if(r.startsWith("es.")&&!j.has(r)){a=true}const n=getCoreJSPureBase(a);return s.injectDefaultImport(`${n}/${e.pure}${b}`,t)}}function isFeatureStable(e){if(e.startsWith("esnext.")){const t=`es.${e.slice(7)}`;return t in s.default}return true}return{name:"corejs3",polyfills:s.default,filterPolyfills(e){if(!j.has(e))return false;if(y||t==="entry-global")return true;if(g&&a.default.has(e)){return true}return isFeatureStable(e)},entryGlobal(e,t,s){if(e.kind!=="import")return;const a=(0,l.isCoreJSSource)(e.source);if(!a)return;if(a.length===1&&e.source===(0,l.coreJSModule)(a[0])&&r(a[0])){c(null);return}const n=new Set(a);const o=a.filter((e=>{if(!e.startsWith("esnext."))return true;const t=e.replace("esnext.","es.");if(n.has(t)&&r(t)){return false}return true}));maybeInjectGlobal(o,t,false);s.remove()},usageGlobal(e,t){const r=v(e);if(!r)return;let s=r.desc.global;if(r.kind!=="global"&&e.object&&e.placement==="prototype"){const t=e.object.toLowerCase();s=s.filter((e=>e.includes(t)||o.CommonInstanceDependencies.has(e)))}maybeInjectGlobal(s,t)},usagePure(e,t,s){if(e.kind==="in"){if(e.key==="Symbol.iterator"){s.replaceWith(u.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("is-iterable",h,b),"isIterable"),[s.node.right]))}return}if(s.parentPath.isUnaryExpression({operator:"delete"}))return;let a;if(e.kind==="property"){if(!s.isMemberExpression())return;if(!s.isReferenced())return;a=s.parentPath.isCallExpression({callee:s.node});if(e.key==="Symbol.iterator"){if(!r("es.symbol.iterator"))return;if(a){if(s.parent.arguments.length===0){s.parentPath.replaceWith(u.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator",h,b),"getIterator"),[s.node.object]));s.skip()}else{(0,l.callMethod)(s,t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator-method",h,b),"getIteratorMethod"))}}else{s.replaceWith(u.callExpression(t.injectDefaultImport((0,l.coreJSPureHelper)("get-iterator-method",h,b),"getIteratorMethod"),[s.node.object]))}return}}let n=v(e);if(!n)return;if(h&&n.desc.pure&&n.desc.pure.slice(-6)==="/index"){n=_extends({},n,{desc:_extends({},n.desc,{pure:n.desc.pure.slice(0,-6)})})}if(n.kind==="global"){const e=maybeInjectPure(n.desc,n.name,t);if(e)s.replaceWith(e)}else if(n.kind==="static"){const r=maybeInjectPure(n.desc,n.name,t,e.object);if(r)s.replaceWith(r)}else if(n.kind==="instance"){const r=maybeInjectPure(n.desc,`${n.name}InstanceProperty`,t,e.object);if(!r)return;if(a){(0,l.callMethod)(s,r)}else{s.replaceWith(u.callExpression(r,[s.node.object]))}}},visitor:t==="usage-global"&&{CallExpression(t){if(t.get("callee").isImport()){const r=e(t);if(x){maybeInjectGlobal(o.PromiseDependenciesWithIterators,r)}else{maybeInjectGlobal(o.PromiseDependencies,r)}}},Function(t){if(t.node.async){maybeInjectGlobal(o.PromiseDependencies,e(t))}},"ForOfStatement|ArrayPattern"(t){maybeInjectGlobal(o.CommonIterators,e(t))},SpreadElement(t){if(!t.parentPath.isObjectExpression()){maybeInjectGlobal(o.CommonIterators,e(t))}},YieldExpression(t){if(t.node.delegate){maybeInjectGlobal(o.CommonIterators,e(t))}}}}}));t["default"]=d},5348:(e,t)=>{"use strict";t.__esModule=true;t["default"]=void 0;var r=new Set(["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index"]);t["default"]=r},8599:(e,t,r)=>{"use strict";t.__esModule=true;t.callMethod=callMethod;t.isCoreJSSource=isCoreJSSource;t.coreJSModule=coreJSModule;t.coreJSPureHelper=coreJSPureHelper;var s=_interopRequireWildcard(r(8304));var a=_interopRequireDefault(r(2816));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){var n=s?Object.getOwnPropertyDescriptor(e,a):null;if(n&&(n.get||n.set)){Object.defineProperty(r,a,n)}else{r[a]=e[a]}}}r.default=e;if(t){t.set(e,r)}return r}const{types:n}=s.default||s;function callMethod(e,t){const{object:r}=e.node;let s,a;if(n.isIdentifier(r)){s=r;a=n.cloneNode(r)}else{s=e.scope.generateDeclaredUidIdentifier("context");a=n.assignmentExpression("=",n.cloneNode(s),r)}e.replaceWith(n.memberExpression(n.callExpression(t,[a]),n.identifier("call")));e.parentPath.unshiftContainer("arguments",s)}function isCoreJSSource(e){if(typeof e==="string"){e=e.replace(/\\/g,"/").replace(/(\/(index)?)?(\.js)?$/i,"").toLowerCase()}return hasOwnProperty.call(a.default,e)&&a.default[e]}function coreJSModule(e){return`core-js/modules/${e}.js`}function coreJSPureHelper(e,t,r){return t?`${t}/core-js/${e}${r}`:`core-js-pure/features/${e}.js`}},6880:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var s=_interopRequireDefault(r(9083));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const a="#__secret_key__@babel/runtime__compatibility";var n=(0,s.default)((({debug:e},t)=>{const{[a]:{useBabelRuntime:r}={}}=t;const s=r?`${r}/regenerator`:"regenerator-runtime";return{name:"regenerator",polyfills:["regenerator-runtime"],usageGlobal(t,r){if(isRegenerator(t)){e("regenerator-runtime");r.injectGlobalImport("regenerator-runtime/runtime.js")}},usagePure(e,t,r){if(isRegenerator(e)){r.replaceWith(t.injectDefaultImport(s,"regenerator-runtime"))}}}}));t["default"]=n;const isRegenerator=e=>e.kind==="global"&&e.name==="regeneratorRuntime"},2099:(e,t,r)=>{"use strict";const s=r(6491);const{get:a,has:n,find:o}=r(1788);const getSortedObjectPaths=e=>{if(!e){return[]}return s(e).paths().filter((e=>e.length)).map((e=>e.join("."))).sort(((e,t)=>t.length-e.length))};const replaceAndEvaluateNode=(e,t,r)=>{t.replaceWith(e(r));if(t.parentPath.isBinaryExpression()){const r=t.parentPath.evaluate();if(r.confident){t.parentPath.replaceWith(e(r.value))}}};const processNode=(e,t,r,s)=>{const i=o(getSortedObjectPaths(e),(e=>s(t,e)));if(n(e,i)){replaceAndEvaluateNode(r,t,a(e,i))}};const memberExpressionComparator=(e,t)=>e.matchesPattern(t);const identifierComparator=(e,t)=>e.node.name===t;const unaryExpressionComparator=(e,t)=>e.node.argument.name===t;const i="typeof ";const plugin=function({types:e}){return{visitor:{MemberExpression(t,r){processNode(r.opts,t,e.valueToNode,memberExpressionComparator)},Identifier(t,r){processNode(r.opts,t,e.valueToNode,identifierComparator)},UnaryExpression(t,r){if(t.node.operator!=="typeof"){return}const{opts:s}=r;const a=Object.keys(s);const n={};a.forEach((e=>{if(e.substring(0,i.length)===i){n[e.substring(i.length)]=s[e]}}));processNode(n,t,e.valueToNode,unaryExpressionComparator)}}}};e.exports=plugin;e.exports["default"]=plugin;e.exports.getSortedObjectPaths=getSortedObjectPaths},9282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=_interopRequireDefault(r(8504));var a=_interopRequireDefault(r(5259));var n=_interopRequireDefault(r(9616));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};var s=Object.keys(r);if(typeof Object.getOwnPropertySymbols==="function"){s=s.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))}s.forEach((function(t){_defineProperty(e,t,r[t])}))}return e}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function isPathReactClass(e,t){var r=e.node;var s=t.classNameMatchers;if(e.matchesPattern("React.Component")||e.matchesPattern("React.PureComponent")){return true}if(r&&(r.name==="Component"||r.name==="PureComponent")){return true}if(r&&s&&s.test(r.name)){return true}return false}function isReactClass(e,t,r){if(!e.node){return false}var s=false;if(isPathReactClass(e,r)){s=true}else if(e.node.name){var a=e.node.name;var n=t.getBinding(a);if(!n){s=false}else{var o=n.path.get("superClass");if(isPathReactClass(o,r)){s=true}}}return s}function areSetsEqual(e,t){if(e===t){return true}if(e.size!==t.size){return false}return!Array.from(e).some((function(e){return!t.has(e)}))}function memberExpressionRootIdentifier(e){var t=e.findParent((function(e){return!e.isMemberExpression()}));var r=t.node.type;var s;if(r==="ObjectProperty"){s=t.get("value")}if(!s||s.type!=="MemberExpression"){return null}while(s.node.object.type==="MemberExpression"){s=s.get("object")}return s.get("object")}function _default(e){var t=e.template,r=e.types,o=e.traverse;var i=new Set;var l=new WeakSet;var c={Identifier:function Identifier(e){if(e.parent.type==="MemberExpression"){var t=memberExpressionRootIdentifier(e);if(t){i.add(t.node.name)}return}if(e.parent.type==="ObjectProperty"&&(e.parent.key===e.node||e.parent.shorthand)){return}i.add(e.node.name)}};return{visitor:{Program:function Program(u,p){var d;var f;if(p.opts.ignoreFilenames){d=new RegExp(p.opts.ignoreFilenames.join("|"),"i")}else{d=undefined}if(p.opts.classNameMatchers){f=new RegExp(p.opts.classNameMatchers.join("|"))}else{f=undefined}var y={visitedKey:"transform-react-remove-prop-types".concat(Date.now()),unsafeWrapTemplate:t('\n if (process.env.NODE_ENV !== "production") {\n NODE;\n }\n ',{placeholderPattern:/^NODE$/}),wrapTemplate:function wrapTemplate(e){var s=e.LEFT,a=e.RIGHT;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=n.as,i=o===void 0?"assignmentExpression":o;var l=t.expression('\n process.env.NODE_ENV !== "production" ? RIGHT : {}\n ',{placeholderPattern:/^(LEFT|RIGHT)$/})({RIGHT:a});switch(i){case"variableDeclarator":return r.variableDeclarator(s,l);case"assignmentExpression":return r.assignmentExpression("=",s,l);default:throw new Error("unrecognized template type ".concat(i))}},mode:p.opts.mode||"remove",ignoreFilenames:d,types:r,removeImport:p.opts.removeImport||false,libraries:(p.opts.additionalLibraries||[]).concat("prop-types"),classNameMatchers:f,createReactClassName:p.opts.createReactClassName||"createReactClass"};if(p.opts.plugins){var g=p;var h=p.opts.plugins.map((function(t){var r=typeof t==="string"?t:t[0];if(typeof t!=="string"){g.opts=_objectSpread({},g.opts,t[1])}var s=require(r);if(typeof s!=="function"){s=s.default}return s(e).visitor}));o(u.parent,o.visitors.merge(h),u.scope,g,u.parentPath)}u.traverse({ObjectProperty:{exit:function exit(e){var t=e.node;if(t.computed||t.key.name!=="propTypes"){return}var r=e.findParent((function(e){if(e.type!=="CallExpression"){return false}return e.get("callee").node.name===y.createReactClassName||e.get("callee").node.property&&e.get("callee").node.property.name==="createClass"}));if(r){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"createClass"})}}},ClassProperty:function ClassProperty(e){var t=e.node,r=e.scope;if(t.key.name==="propTypes"){var s=r.path;if(isReactClass(s.get("superClass"),r,y)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"class static",pathClassDeclaration:s})}}},AssignmentExpression:function AssignmentExpression(e){var t=e.node,r=e.scope;if(t.left.computed||!t.left.property||t.left.property.name!=="propTypes"){return}var o=(0,s.default)(e.node.left);if(o){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"});return}var i=t.left.object.name;var u=r.getBinding(i);if(!u){return}if(u.path.isClassDeclaration()){var p=u.path.get("superClass");if(isReactClass(p,r,y)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"})}}else if((0,a.default)(u.path)){e.traverse(c);l.add(e);(0,n.default)(e,y,{type:"assign"})}}});var b=0;var x={VariableDeclarator:function VariableDeclarator(e){if(e.scope.block.type!=="Program"){return}if(["ObjectPattern","ArrayPattern"].includes(e.node.id.type)){return}var t=e.node.id.name;if(!i.has(t)){return}var r=e.scope.getBinding(t),s=r.referencePaths;var a=s.some((function(e){var t=e.find((function(e){return l.has(e)}));return!t}));if(a){b+=1;return}l.add(e);i.delete(t);e.get("init").traverse(c);(0,n.default)(e,y,{type:"declarator"})}};var v=new Set;while(!areSetsEqual(i,v)&&i.size>0&&b<i.size){v=new Set(i);b=0;u.scope.crawl();u.traverse(x)}if(y.removeImport){if(y.mode==="remove"){u.scope.crawl();u.traverse({ImportDeclaration:function ImportDeclaration(e){var t=e.node,r=t.source,s=t.specifiers;var a=y.libraries.some((function(e){if(e instanceof RegExp){return e.test(r.value)}return r.value===e}));if(!a){return}var n=s.some((function(t){var r=t.local.name;var s=e.scope.getBinding(r),a=s.referencePaths;return a.length>0}));if(!n){e.remove()}}})}else{throw new Error('transform-react-remove-prop-type: removeImport = true and mode != "remove" can not be used at the same time.')}}}}}}},8504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isAnnotatedForRemoval;function isAnnotatedForRemoval(e){var t=e.trailingComments||[];return Boolean(t.find((function(e){var t=e.value;return t.trim()==="remove-proptypes"})))}},5259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isStatelessComponent;var r=Symbol("traversed");function isJSXElementOrReactCreateElement(e){var t=false;e.traverse({CallExpression:function CallExpression(e){var r=e.get("callee");if(r.matchesPattern("React.createElement")||r.matchesPattern("React.cloneElement")||r.node.name==="cloneElement"){t=true}},JSXElement:function JSXElement(){t=true}});return t}function isReturningJSXElement(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;if(e.node.init&&e.node.init.body&&isJSXElementOrReactCreateElement(e)){return true}if(t>20){throw new Error("transform-react-remove-prop-type: infinite loop detected.")}var s=false;e.traverse({ReturnStatement:function ReturnStatement(a){if(s){return}var n=a.get("argument");if(!n.node){return}if(isJSXElementOrReactCreateElement(a)){s=true;return}if(n.node.type==="CallExpression"){var o=n.get("callee").node.name;var i=e.scope.getBinding(o);if(!i){return}if(i.path[r]){return}i.path[r]=true;if(isReturningJSXElement(i.path,t+1)){s=true}}}});return s}var s=["VariableDeclarator","FunctionDeclaration"];function isStatelessComponent(e){if(s.indexOf(e.node.type)===-1){return false}if(isReturningJSXElement(e)){return true}return false}},9616:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=remove;function isInside(e,t){if(!e.hub.file.opts){return true}var r=e.hub.file.opts.filename;if(!r){return true}if(!t){return false}return t.test(r)}function remove(e,t,r){var s=t.visitedKey,a=t.unsafeWrapTemplate,n=t.wrapTemplate,o=t.mode,i=t.ignoreFilenames,l=t.types;if(i&&isInside(e.scope,i)){return}if(e.node[s]){return}e.node[s]=true;if(o==="remove"){if(e.parentPath.type==="ConditionalExpression"){e.replaceWith(l.unaryExpression("void",l.numericLiteral(0)))}else{e.remove()}return}if(o==="wrap"||o==="unsafe-wrap"){switch(r.type){case"createClass":break;case"class static":{var c;var u=r.pathClassDeclaration;if(!u.isClassExpression()&&u.node.id){c=u.node.id}else{return}var p=l.expressionStatement(l.assignmentExpression("=",l.memberExpression(c,e.node.key),e.node.value));if(u.parentPath.isExportDeclaration()){u=u.parentPath}u.insertAfter(p);e.remove();break}case"assign":if(o==="unsafe-wrap"){e.replaceWith(a({NODE:e.node}))}else{e.replaceWith(n({LEFT:e.node.left,RIGHT:e.node.right}))}e.node[s]=true;break;case"declarator":e.replaceWith(n({LEFT:e.node.id,RIGHT:e.node.init},{as:"variableDeclarator"}));e.node[s]=true;break;default:break}return}throw new Error("transform-react-remove-prop-type: unsupported mode ".concat(o,"."))}},6148:(e,t,r)=>{"use strict";const s=r(7379);const a=r(8535);const n=r(7220).stdout;const o=r(5299);const i=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const c=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=n?n.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(i){a.blue.open=""}for(const e of Object.keys(a)){a[e].closeRe=new RegExp(s(a[e].close),"g");u[e]={get(){const t=a[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}u.visible={get(){return build.call(this,this._styles||[],true,"visible")}};a.color.closeRe=new RegExp(s(a.color.close),"g");for(const e of Object.keys(a.color.ansi)){if(c.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=a.color[l[t]][e].apply(null,arguments);const s={open:r,close:a.color.close,closeRe:a.color.closeRe};return build.call(this,this._styles?this._styles.concat(s):[s],this._empty,e)}}}}a.bgColor.closeRe=new RegExp(s(a.bgColor.close),"g");for(const e of Object.keys(a.bgColor.ansi)){if(c.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=a.bgColor[l[t]][e].apply(null,arguments);const s={open:r,close:a.bgColor.close,closeRe:a.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(s):[s],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),u);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const s=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return s.level},set(e){s.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return s.enabled},set(e){s.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=p;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let s=1;s<t;s++){r+=" "+e[s]}}if(!this.enabled||this.level<=0||!r){return this._empty?"":r}const s=a.dim.open;if(i&&this.hasGrey){a.dim.open=""}for(const e of this._styles.slice().reverse()){r=e.open+r.replace(e.closeRe,e.open)+e.close;r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`)}a.dim.open=s;return r}function chalkTag(e,t){if(!Array.isArray(t)){return[].slice.call(arguments,1).join(" ")}const r=[].slice.call(arguments,2);const s=[t.raw[0]];for(let e=1;e<t.length;e++){s.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"));s.push(String(t.raw[e]))}return o(e,s.join(""))}Object.defineProperties(Chalk.prototype,u);e.exports=Chalk();e.exports.supportsColor=n;e.exports["default"]=e.exports},5299:e=>{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const s=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const a=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const n=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return n.get(e)||e}function parseArguments(e,t){const r=[];const n=t.trim().split(/\s*,\s*/g);let o;for(const t of n){if(!isNaN(t)){r.push(Number(t))}else if(o=t.match(s)){r.push(o[2].replace(a,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let s;while((s=r.exec(e))!==null){const e=s[1];if(s[2]){const r=parseArguments(e,s[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let s=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in s)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){s=s[e].apply(s,r[e])}else{s=s[e]}}}return s}e.exports=(e,r)=>{const s=[];const a=[];let n=[];r.replace(t,((t,r,o,i,l,c)=>{if(r){n.push(unescape(r))}else if(i){const t=n.join("");n=[];a.push(s.length===0?t:buildStyle(e,s)(t));s.push({inverse:o,styles:parseStyle(i)})}else if(l){if(s.length===0){throw new Error("Found extraneous } in Chalk template literal")}a.push(buildStyle(e,s)(n.join("")));n=[];s.pop()}else{n.push(c)}}));a.push(n.join(""));if(s.length>0){const e=`Chalk template literal is missing ${s.length} closing bracket${s.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return a.join("")}},4117:(e,t,r)=>{var s=r(2251);var a={};for(var n in s){if(s.hasOwnProperty(n)){a[s[n]]=n}}var o=e.exports={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"]}};for(var i in o){if(o.hasOwnProperty(i)){if(!("channels"in o[i])){throw new Error("missing channels property: "+i)}if(!("labels"in o[i])){throw new Error("missing channel labels property: "+i)}if(o[i].labels.length!==o[i].channels){throw new Error("channel and label counts mismatch: "+i)}var l=o[i].channels;var c=o[i].labels;delete o[i].channels;delete o[i].labels;Object.defineProperty(o[i],"channels",{value:l});Object.defineProperty(o[i],"labels",{value:c})}}o.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var s=e[2]/255;var a=Math.min(t,r,s);var n=Math.max(t,r,s);var o=n-a;var i;var l;var c;if(n===a){i=0}else if(t===n){i=(r-s)/o}else if(r===n){i=2+(s-t)/o}else if(s===n){i=4+(t-r)/o}i=Math.min(i*60,360);if(i<0){i+=360}c=(a+n)/2;if(n===a){l=0}else if(c<=.5){l=o/(n+a)}else{l=o/(2-n-a)}return[i,l*100,c*100]};o.rgb.hsv=function(e){var t;var r;var s;var a;var n;var o=e[0]/255;var i=e[1]/255;var l=e[2]/255;var c=Math.max(o,i,l);var u=c-Math.min(o,i,l);var diffc=function(e){return(c-e)/6/u+1/2};if(u===0){a=n=0}else{n=u/c;t=diffc(o);r=diffc(i);s=diffc(l);if(o===c){a=s-r}else if(i===c){a=1/3+t-s}else if(l===c){a=2/3+r-t}if(a<0){a+=1}else if(a>1){a-=1}}return[a*360,n*100,c*100]};o.rgb.hwb=function(e){var t=e[0];var r=e[1];var s=e[2];var a=o.rgb.hsl(e)[0];var n=1/255*Math.min(t,Math.min(r,s));s=1-1/255*Math.max(t,Math.max(r,s));return[a,n*100,s*100]};o.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var s=e[2]/255;var a;var n;var o;var i;i=Math.min(1-t,1-r,1-s);a=(1-t-i)/(1-i)||0;n=(1-r-i)/(1-i)||0;o=(1-s-i)/(1-i)||0;return[a*100,n*100,o*100,i*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}o.rgb.keyword=function(e){var t=a[e];if(t){return t}var r=Infinity;var n;for(var o in s){if(s.hasOwnProperty(o)){var i=s[o];var l=comparativeDistance(e,i);if(l<r){r=l;n=o}}}return n};o.keyword.rgb=function(e){return s[e]};o.rgb.xyz=function(e){var t=e[0]/255;var r=e[1]/255;var s=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var a=t*.4124+r*.3576+s*.1805;var n=t*.2126+r*.7152+s*.0722;var o=t*.0193+r*.1192+s*.9505;return[a*100,n*100,o*100]};o.rgb.lab=function(e){var t=o.rgb.xyz(e);var r=t[0];var s=t[1];var a=t[2];var n;var i;var l;r/=95.047;s/=100;a/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;a=a>.008856?Math.pow(a,1/3):7.787*a+16/116;n=116*s-16;i=500*(r-s);l=200*(s-a);return[n,i,l]};o.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var s=e[2]/100;var a;var n;var o;var i;var l;if(r===0){l=s*255;return[l,l,l]}if(s<.5){n=s*(1+r)}else{n=s+r-s*r}a=2*s-n;i=[0,0,0];for(var c=0;c<3;c++){o=t+1/3*-(c-1);if(o<0){o++}if(o>1){o--}if(6*o<1){l=a+(n-a)*6*o}else if(2*o<1){l=n}else if(3*o<2){l=a+(n-a)*(2/3-o)*6}else{l=a}i[c]=l*255}return i};o.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var s=e[2]/100;var a=r;var n=Math.max(s,.01);var o;var i;s*=2;r*=s<=1?s:2-s;a*=n<=1?n:2-n;i=(s+r)/2;o=s===0?2*a/(n+a):2*r/(s+r);return[t,o*100,i*100]};o.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var s=e[2]/100;var a=Math.floor(t)%6;var n=t-Math.floor(t);var o=255*s*(1-r);var i=255*s*(1-r*n);var l=255*s*(1-r*(1-n));s*=255;switch(a){case 0:return[s,l,o];case 1:return[i,s,o];case 2:return[o,s,l];case 3:return[o,i,s];case 4:return[l,o,s];case 5:return[s,o,i]}};o.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var s=e[2]/100;var a=Math.max(s,.01);var n;var o;var i;i=(2-r)*s;n=(2-r)*a;o=r*a;o/=n<=1?n:2-n;o=o||0;i/=2;return[t,o*100,i*100]};o.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var s=e[2]/100;var a=r+s;var n;var o;var i;var l;if(a>1){r/=a;s/=a}n=Math.floor(6*t);o=1-s;i=6*t-n;if((n&1)!==0){i=1-i}l=r+i*(o-r);var c;var u;var p;switch(n){default:case 6:case 0:c=o;u=l;p=r;break;case 1:c=l;u=o;p=r;break;case 2:c=r;u=o;p=l;break;case 3:c=r;u=l;p=o;break;case 4:c=l;u=r;p=o;break;case 5:c=o;u=r;p=l;break}return[c*255,u*255,p*255]};o.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var s=e[2]/100;var a=e[3]/100;var n;var o;var i;n=1-Math.min(1,t*(1-a)+a);o=1-Math.min(1,r*(1-a)+a);i=1-Math.min(1,s*(1-a)+a);return[n*255,o*255,i*255]};o.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var s=e[2]/100;var a;var n;var o;a=t*3.2406+r*-1.5372+s*-.4986;n=t*-.9689+r*1.8758+s*.0415;o=t*.0557+r*-.204+s*1.057;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*12.92;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;a=Math.min(Math.max(0,a),1);n=Math.min(Math.max(0,n),1);o=Math.min(Math.max(0,o),1);return[a*255,n*255,o*255]};o.xyz.lab=function(e){var t=e[0];var r=e[1];var s=e[2];var a;var n;var o;t/=95.047;r/=100;s/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;a=116*r-16;n=500*(t-r);o=200*(r-s);return[a,n,o]};o.lab.xyz=function(e){var t=e[0];var r=e[1];var s=e[2];var a;var n;var o;n=(t+16)/116;a=r/500+n;o=n-s/200;var i=Math.pow(n,3);var l=Math.pow(a,3);var c=Math.pow(o,3);n=i>.008856?i:(n-16/116)/7.787;a=l>.008856?l:(a-16/116)/7.787;o=c>.008856?c:(o-16/116)/7.787;a*=95.047;n*=100;o*=108.883;return[a,n,o]};o.lab.lch=function(e){var t=e[0];var r=e[1];var s=e[2];var a;var n;var o;a=Math.atan2(s,r);n=a*360/2/Math.PI;if(n<0){n+=360}o=Math.sqrt(r*r+s*s);return[t,o,n]};o.lch.lab=function(e){var t=e[0];var r=e[1];var s=e[2];var a;var n;var o;o=s/360*2*Math.PI;a=r*Math.cos(o);n=r*Math.sin(o);return[t,a,n]};o.rgb.ansi16=function(e){var t=e[0];var r=e[1];var s=e[2];var a=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];a=Math.round(a/50);if(a===0){return 30}var n=30+(Math.round(s/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(a===2){n+=60}return n};o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])};o.rgb.ansi256=function(e){var t=e[0];var r=e[1];var s=e[2];if(t===r&&r===s){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var a=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(s/255*5);return a};o.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var s=(t&1)*r*255;var a=(t>>1&1)*r*255;var n=(t>>2&1)*r*255;return[s,a,n]};o.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var s=Math.floor(e/36)/5*255;var a=Math.floor((r=e%36)/6)/5*255;var n=r%6/5*255;return[s,a,n]};o.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var s=parseInt(r,16);var a=s>>16&255;var n=s>>8&255;var o=s&255;return[a,n,o]};o.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var s=e[2]/255;var a=Math.max(Math.max(t,r),s);var n=Math.min(Math.min(t,r),s);var o=a-n;var i;var l;if(o<1){i=n/(1-o)}else{i=0}if(o<=0){l=0}else if(a===t){l=(r-s)/o%6}else if(a===r){l=2+(s-t)/o}else{l=4+(t-r)/o+4}l/=6;l%=1;return[l*360,o*100,i*100]};o.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var s=1;var a=0;if(r<.5){s=2*t*r}else{s=2*t*(1-r)}if(s<1){a=(r-.5*s)/(1-s)}return[e[0],s*100,a*100]};o.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var s=t*r;var a=0;if(s<1){a=(r-s)/(1-s)}return[e[0],s*100,a*100]};o.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var s=e[2]/100;if(r===0){return[s*255,s*255,s*255]}var a=[0,0,0];var n=t%1*6;var o=n%1;var i=1-o;var l=0;switch(Math.floor(n)){case 0:a[0]=1;a[1]=o;a[2]=0;break;case 1:a[0]=i;a[1]=1;a[2]=0;break;case 2:a[0]=0;a[1]=1;a[2]=o;break;case 3:a[0]=0;a[1]=i;a[2]=1;break;case 4:a[0]=o;a[1]=0;a[2]=1;break;default:a[0]=1;a[1]=0;a[2]=i}l=(1-r)*s;return[(r*a[0]+l)*255,(r*a[1]+l)*255,(r*a[2]+l)*255]};o.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var s=t+r*(1-t);var a=0;if(s>0){a=t/s}return[e[0],a*100,s*100]};o.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var s=r*(1-t)+.5*t;var a=0;if(s>0&&s<.5){a=t/(2*s)}else if(s>=.5&&s<1){a=t/(2*(1-s))}return[e[0],a*100,s*100]};o.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var s=t+r*(1-t);return[e[0],(s-t)*100,(1-s)*100]};o.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var s=1-r;var a=s-t;var n=0;if(a<1){n=(s-a)/(1-a)}return[e[0],a*100,n*100]};o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]};o.gray.hwb=function(e){return[0,100,e[0]]};o.gray.cmyk=function(e){return[0,0,0,e[0]]};o.gray.lab=function(e){return[e[0],0,0]};o.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var s=r.toString(16).toUpperCase();return"000000".substring(s.length)+s};o.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},9054:(e,t,r)=>{var s=r(4117);var a=r(6528);var n={};var o=Object.keys(s);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var s=r.length,a=0;a<s;a++){r[a]=Math.round(r[a])}}return r};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}o.forEach((function(e){n[e]={};Object.defineProperty(n[e],"channels",{value:s[e].channels});Object.defineProperty(n[e],"labels",{value:s[e].labels});var t=a(e);var r=Object.keys(t);r.forEach((function(r){var s=t[r];n[e][r]=wrapRounded(s);n[e][r].raw=wrapRaw(s)}))}));e.exports=n},6528:(e,t,r)=>{var s=r(4117);function buildGraph(){var e={};var t=Object.keys(s);for(var r=t.length,a=0;a<r;a++){e[t[a]]={distance:-1,parent:null}}return e}function deriveBFS(e){var t=buildGraph();var r=[e];t[e].distance=0;while(r.length){var a=r.pop();var n=Object.keys(s[a]);for(var o=n.length,i=0;i<o;i++){var l=n[i];var c=t[l];if(c.distance===-1){c.distance=t[a].distance+1;c.parent=a;r.unshift(l)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){var r=[t[e].parent,e];var a=s[t[e].parent][e];var n=t[e].parent;while(t[n].parent){r.unshift(t[n].parent);a=link(s[t[n].parent][n],a);n=t[n].parent}a.conversion=r;return a}e.exports=function(e){var t=deriveBFS(e);var r={};var s=Object.keys(t);for(var a=s.length,n=0;n<a;n++){var o=s[n];var i=t[o];if(i.parent===null){continue}r[o]=wrapConversion(o,t)}return r}},2251: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]}},4290:(e,t,r)=>{"use strict";const{compare:s,intersection:a,semver:n}=r(1275);const o=r(4232);const i=r(1335);e.exports=function(e){const t=n(e);if(t.major!==3){throw RangeError("This version of `core-js-compat` works only with `core-js@3`.")}const r=[];for(const e of Object.keys(o)){if(s(e,"<=",t)){r.push(...o[e])}}return a(r,i)}},1275:(e,t,r)=>{"use strict";const s=r(3128);const a=r(9324);const n=Function.call.bind({}.hasOwnProperty);function compare(e,t,r){return s(a(e),t,a(r))}function filterOutStabilizedProposals(e){const t=new Set(e);for(const e of t){if(e.startsWith("esnext.")&&t.has(e.replace(/^esnext\./,"es."))){t.delete(e)}}return[...t]}function intersection(e,t){const r=e instanceof Set?e:new Set(e);return t.filter((e=>r.has(e)))}function sortObjectByKey(e,t){return Object.keys(e).sort(t).reduce(((t,r)=>{t[r]=e[r];return t}),{})}e.exports={compare:compare,filterOutStabilizedProposals:filterOutStabilizedProposals,has:n,intersection:intersection,semver:a,sortObjectByKey:sortObjectByKey}},7379:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},4494:(e,t,r)=>{"use strict";const s=r(529);class Definition{constructor(e,t,r,s,a,n){this.type=e;this.name=t;this.node=r;this.parent=s;this.index=a;this.kind=n}}class ParameterDefinition extends Definition{constructor(e,t,r,a){super(s.Parameter,e,t,null,r,null);this.rest=a}}e.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},2836:(e,t,r)=>{"use strict";const s=r(9491);const a=r(680);const n=r(8648);const o=r(1621);const i=r(529);const l=r(8802).Scope;const c=r(3348).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(e,t){function isHashObject(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(const r in t){if(Object.prototype.hasOwnProperty.call(t,r)){const s=t[r];if(isHashObject(s)){if(isHashObject(e[r])){updateDeeply(e[r],s)}else{e[r]=updateDeeply({},s)}}else{e[r]=s}}}return e}function analyze(e,t){const r=updateDeeply(defaultOptions(),t);const o=new a(r);const i=new n(r,o);i.visit(e);s(o.__currentScope===null,"currentScope should be null.");return o}e.exports={version:c,Reference:o,Variable:i,Scope:l,ScopeManager:a,analyze:analyze}},2999:(e,t,r)=>{"use strict";const s=r(2205).Syntax;const a=r(1396);function getLast(e){return e[e.length-1]||null}class PatternVisitor extends a.Visitor{static isPattern(e){const t=e.type;return t===s.Identifier||t===s.ObjectPattern||t===s.ArrayPattern||t===s.SpreadElement||t===s.RestElement||t===s.AssignmentPattern}constructor(e,t,r){super(null,e);this.rootPattern=t;this.callback=r;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(e){const t=getLast(this.restElements);this.callback(e,{topLevel:e===this.rootPattern,rest:t!==null&&t!==undefined&&t.argument===e,assignments:this.assignments})}Property(e){if(e.computed){this.rightHandNodes.push(e.key)}this.visit(e.value)}ArrayPattern(e){for(let t=0,r=e.elements.length;t<r;++t){const r=e.elements[t];this.visit(r)}}AssignmentPattern(e){this.assignments.push(e);this.visit(e.left);this.rightHandNodes.push(e.right);this.assignments.pop()}RestElement(e){this.restElements.push(e);this.visit(e.argument);this.restElements.pop()}MemberExpression(e){if(e.computed){this.rightHandNodes.push(e.property)}this.rightHandNodes.push(e.object)}SpreadElement(e){this.visit(e.argument)}ArrayExpression(e){e.elements.forEach(this.visit,this)}AssignmentExpression(e){this.assignments.push(e);this.visit(e.left);this.rightHandNodes.push(e.right);this.assignments.pop()}CallExpression(e){e.arguments.forEach((e=>{this.rightHandNodes.push(e)}));this.visit(e.callee)}}e.exports=PatternVisitor},1621:e=>{"use strict";const t=1;const r=2;const s=t|r;class Reference{constructor(e,t,r,s,a,n,o){this.identifier=e;this.from=t;this.tainted=false;this.resolved=null;this.flag=r;if(this.isWrite()){this.writeExpr=s;this.partial=n;this.init=o}this.__maybeImplicitGlobal=a}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=t;Reference.WRITE=r;Reference.RW=s;e.exports=Reference},8648:(e,t,r)=>{"use strict";const s=r(2205).Syntax;const a=r(1396);const n=r(1621);const o=r(529);const i=r(2999);const l=r(4494);const c=r(9491);const u=l.ParameterDefinition;const p=l.Definition;function traverseIdentifierInPattern(e,t,r,s){const a=new i(e,t,s);a.visit(t);if(r!==null&&r!==undefined){a.rightHandNodes.forEach(r.visit,r)}}class Importer extends a.Visitor{constructor(e,t){super(null,t.options);this.declaration=e;this.referencer=t}visitImport(e,t){this.referencer.visitPattern(e,(e=>{this.referencer.currentScope().__define(e,new p(o.ImportBinding,e,t,this.declaration,null,null))}))}ImportNamespaceSpecifier(e){const t=e.local||e.id;if(t){this.visitImport(t,e)}}ImportDefaultSpecifier(e){const t=e.local||e.id;this.visitImport(t,e)}ImportSpecifier(e){const t=e.local||e.id;if(e.name){this.visitImport(e.name,e)}else{this.visitImport(t,e)}}}class Referencer extends a.Visitor{constructor(e,t){super(null,e);this.options=e;this.scopeManager=t;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 t=this.isInnerMethodDefinition;this.isInnerMethodDefinition=e;return t}popInnerMethodDefinition(e){this.isInnerMethodDefinition=e}referencingDefaultValue(e,t,r,s){const a=this.currentScope();t.forEach((t=>{a.__referencing(e,n.WRITE,t.right,r,e!==t.left,s)}))}visitPattern(e,t,r){let s=t;let a=r;if(typeof t==="function"){a=t;s={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,e,s.processRightHandNodes?this:null,a)}visitFunction(e){let t,r;if(e.type===s.FunctionDeclaration){this.currentScope().__define(e.id,new p(o.FunctionName,e.id,e,null,null,null))}if(e.type===s.FunctionExpression&&e.id){this.scopeManager.__nestFunctionExpressionNameScope(e)}this.scopeManager.__nestFunctionScope(e,this.isInnerMethodDefinition);const a=this;function visitPatternCallback(r,s){a.currentScope().__define(r,new u(r,e,t,s.rest));a.referencingDefaultValue(r,s.assignments,null,true)}for(t=0,r=e.params.length;t<r;++t){this.visitPattern(e.params[t],{processRightHandNodes:true},visitPatternCallback)}if(e.rest){this.visitPattern({type:"RestElement",argument:e.rest},(t=>{this.currentScope().__define(t,new u(t,e,e.params.length,true))}))}if(e.body){if(e.body.type===s.BlockStatement){this.visitChildren(e.body)}else{this.visit(e.body)}}this.close(e)}visitClass(e){if(e.type===s.ClassDeclaration){this.currentScope().__define(e.id,new p(o.ClassName,e.id,e,null,null,null))}this.visit(e.superClass);this.scopeManager.__nestClassScope(e);if(e.id){this.currentScope().__define(e.id,new p(o.ClassName,e.id,e))}this.visit(e.body);this.close(e)}visitProperty(e){let t;if(e.computed){this.visit(e.key)}const r=e.type===s.MethodDefinition;if(r){t=this.pushInnerMethodDefinition(true)}this.visit(e.value);if(r){this.popInnerMethodDefinition(t)}}visitForIn(e){if(e.left.type===s.VariableDeclaration&&e.left.kind!=="var"){this.scopeManager.__nestForScope(e)}if(e.left.type===s.VariableDeclaration){this.visit(e.left);this.visitPattern(e.left.declarations[0].id,(t=>{this.currentScope().__referencing(t,n.WRITE,e.right,null,true,true)}))}else{this.visitPattern(e.left,{processRightHandNodes:true},((t,r)=>{let s=null;if(!this.currentScope().isStrict){s={pattern:t,node:e}}this.referencingDefaultValue(t,r.assignments,s,false);this.currentScope().__referencing(t,n.WRITE,e.right,s,true,false)}))}this.visit(e.right);this.visit(e.body);this.close(e)}visitVariableDeclaration(e,t,r,s){const a=r.declarations[s];const o=a.init;this.visitPattern(a.id,{processRightHandNodes:true},((i,l)=>{e.__define(i,new p(t,i,a,r,s,r.kind));this.referencingDefaultValue(i,l.assignments,null,true);if(o){this.currentScope().__referencing(i,n.WRITE,o,null,!l.topLevel,true)}}))}AssignmentExpression(e){if(i.isPattern(e.left)){if(e.operator==="="){this.visitPattern(e.left,{processRightHandNodes:true},((t,r)=>{let s=null;if(!this.currentScope().isStrict){s={pattern:t,node:e}}this.referencingDefaultValue(t,r.assignments,s,false);this.currentScope().__referencing(t,n.WRITE,e.right,s,!r.topLevel,false)}))}else{this.currentScope().__referencing(e.left,n.RW,e.right)}}else{this.visit(e.left)}this.visit(e.right)}CatchClause(e){this.scopeManager.__nestCatchScope(e);this.visitPattern(e.param,{processRightHandNodes:true},((t,r)=>{this.currentScope().__define(t,new p(o.CatchClause,e.param,e,null,null,null));this.referencingDefaultValue(t,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(i.isPattern(e.argument)){this.currentScope().__referencing(e.argument,n.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===s.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===s.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 t=e.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let r=0,s=e.declarations.length;r<s;++r){const s=e.declarations[r];this.visitVariableDeclaration(t,o.Variable,e,r);if(s.init){this.visit(s.init)}}}SwitchStatement(e){this.visit(e.discriminant);if(this.scopeManager.__isES6()){this.scopeManager.__nestSwitchScope(e)}for(let t=0,r=e.cases.length;t<r;++t){this.visit(e.cases[t])}this.close(e)}FunctionDeclaration(e){this.visitFunction(e)}FunctionExpression(e){this.visitFunction(e)}ForOfStatement(e){this.visitForIn(e)}ForInStatement(e){this.visitForIn(e)}ArrowFunctionExpression(e){this.visitFunction(e)}ImportDeclaration(e){c(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context.");const t=new Importer(e,this);t.visit(e)}visitExportDeclaration(e){if(e.source){return}if(e.declaration){this.visit(e.declaration);return}this.visitChildren(e)}ExportDeclaration(e){this.visitExportDeclaration(e)}ExportAllDeclaration(e){this.visitExportDeclaration(e)}ExportDefaultDeclaration(e){this.visitExportDeclaration(e)}ExportNamedDeclaration(e){this.visitExportDeclaration(e)}ExportSpecifier(e){const t=e.id||e.local;this.visit(t)}MetaProperty(){}}e.exports=Referencer},680:(e,t,r)=>{"use strict";const s=r(8802);const a=r(9491);const n=s.GlobalScope;const o=s.CatchScope;const i=s.WithScope;const l=s.ModuleScope;const c=s.ClassScope;const u=s.SwitchScope;const p=s.FunctionScope;const d=s.ForScope;const f=s.FunctionExpressionNameScope;const y=s.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,t){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(t){for(let e=r.length-1;e>=0;--e){const t=r[e];if(predicate(t)){return t}}}else{for(let e=0,t=r.length;e<t;++e){const t=r[e];if(predicate(t)){return t}}}return null}acquireAll(e){return this.__get(e)}release(e,t){const r=this.__get(e);if(r&&r.length){const e=r[0].upper;if(!e){return null}return this.acquire(e.block,t)}return null}attach(){}detach(){}__nestScope(e){if(e instanceof n){a(this.__currentScope===null);this.globalScope=e}this.__currentScope=e;return e}__nestGlobalScope(e){return this.__nestScope(new n(this,e))}__nestBlockScope(e){return this.__nestScope(new y(this,this.__currentScope,e))}__nestFunctionScope(e,t){return this.__nestScope(new p(this,this.__currentScope,e,t))}__nestForScope(e){return this.__nestScope(new d(this,this.__currentScope,e))}__nestCatchScope(e){return this.__nestScope(new o(this,this.__currentScope,e))}__nestWithScope(e){return this.__nestScope(new i(this,this.__currentScope,e))}__nestClassScope(e){return this.__nestScope(new c(this,this.__currentScope,e))}__nestSwitchScope(e){return this.__nestScope(new u(this,this.__currentScope,e))}__nestModuleScope(e){return this.__nestScope(new l(this,this.__currentScope,e))}__nestFunctionExpressionNameScope(e){return this.__nestScope(new f(this,this.__currentScope,e))}__isES6(){return this.__options.ecmaVersion>=6}}e.exports=ScopeManager},8802:(e,t,r)=>{"use strict";const s=r(2205).Syntax;const a=r(1621);const n=r(529);const o=r(4494).Definition;const i=r(9491);function isStrictScope(e,t,r,a){let n;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(t.type===s.ArrowFunctionExpression&&t.body.type!==s.BlockStatement){return false}if(t.type===s.Program){n=t}else{n=t.body}if(!n){return false}}else if(e.type==="global"){n=t}else{return false}if(a){for(let e=0,t=n.body.length;e<t;++e){const t=n.body[e];if(t.type!==s.DirectiveStatement){break}if(t.raw==='"use strict"'||t.raw==="'use strict'"){return true}}}else{for(let e=0,t=n.body.length;e<t;++e){const t=n.body[e];if(t.type!==s.ExpressionStatement){break}const r=t.expression;if(r.type!==s.Literal||typeof r.value!=="string"){break}if(r.raw!==null&&r.raw!==undefined){if(r.raw==='"use strict"'||r.raw==="'use strict'"){return true}}else{if(r.value==="use strict"){return true}}}}return false}function registerScope(e,t){e.scopes.push(t);const r=e.__nodeToScope.get(t.block);if(r){r.push(t)}else{e.__nodeToScope.set(t.block,[t])}}function shouldBeStatically(e){return e.type===n.ClassName||e.type===n.Variable&&e.parent.kind!=="var"}class Scope{constructor(e,t,r,s,a){this.type=t;this.set=new Map;this.taints=new Map;this.dynamic=this.type==="global"||this.type==="with";this.block=s;this.through=[];this.variables=[];this.references=[];this.variableScope=this.type==="global"||this.type==="function"||this.type==="module"?this:r.variableScope;this.functionExpressionScope=false;this.directCallToEvalScope=false;this.thisFound=false;this.__left=[];this.upper=r;this.isStrict=isStrictScope(this,s,a,e.__useDirective());this.childScopes=[];if(this.upper){this.upper.childScopes.push(this)}this.__declaredVariables=e.__declaredVariables;registerScope(e,this)}__shouldStaticallyClose(e){return!this.dynamic||e.__isOptimistic()}__shouldStaticallyCloseForGlobal(e){const t=e.identifier.name;if(!this.set.has(t)){return false}const r=this.set.get(t);const s=r.defs;return s.length>0&&s.every(shouldBeStatically)}__staticCloseRef(e){if(!this.__resolve(e)){this.__delegateToUpperScope(e)}}__dynamicCloseRef(e){let t=this;do{t.through.push(e);t=t.upper}while(t)}__globalCloseRef(e){if(this.__shouldStaticallyCloseForGlobal(e)){this.__staticCloseRef(e)}else{this.__dynamicCloseRef(e)}}__close(e){let t;if(this.__shouldStaticallyClose(e)){t=this.__staticCloseRef}else if(this.type!=="global"){t=this.__dynamicCloseRef}else{t=this.__globalCloseRef}for(let e=0,r=this.__left.length;e<r;++e){const r=this.__left[e];t.call(this,r)}this.__left=null;return this.upper}__isValidResolution(e,t){return true}__resolve(e){const t=e.identifier.name;if(!this.set.has(t)){return false}const r=this.set.get(t);if(!this.__isValidResolution(e,r)){return false}r.references.push(e);r.stack=r.stack&&e.from.variableScope===this.variableScope;if(e.tainted){r.tainted=true;this.taints.set(r.name,true)}e.resolved=r;return true}__delegateToUpperScope(e){if(this.upper){this.upper.__left.push(e)}this.through.push(e)}__addDeclaredVariablesOfNode(e,t){if(t===null||t===undefined){return}let r=this.__declaredVariables.get(t);if(r===null||r===undefined){r=[];this.__declaredVariables.set(t,r)}if(r.indexOf(e)===-1){r.push(e)}}__defineGeneric(e,t,r,s,a){let o;o=t.get(e);if(!o){o=new n(e,this);t.set(e,o);r.push(o)}if(a){o.defs.push(a);this.__addDeclaredVariablesOfNode(o,a.node);this.__addDeclaredVariablesOfNode(o,a.parent)}if(s){o.identifiers.push(s)}}__define(e,t){if(e&&e.type===s.Identifier){this.__defineGeneric(e.name,this.set,this.variables,e,t)}}__referencing(e,t,r,n,o,i){if(!e||e.type!==s.Identifier){return}if(e.name==="super"){return}const l=new a(e,this,t||a.READ,r,n,!!o,!!i);this.references.push(l);this.__left.push(l)}__detectEval(){let e=this;this.directCallToEvalScope=true;do{e.dynamic=true;e=e.upper}while(e)}__detectThis(){this.thisFound=true}__isClosed(){return this.__left===null}resolve(e){let t,r,a;i(this.__isClosed(),"Scope should be closed.");i(e.type===s.Identifier,"Target should be identifier.");for(r=0,a=this.references.length;r<a;++r){t=this.references[r];if(t.identifier===e){return t}}return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return true}isThisMaterialized(){return true}isUsedName(e){if(this.set.has(e)){return true}for(let t=0,r=this.through.length;t<r;++t){if(this.through[t].identifier.name===e){return true}}return false}}class GlobalScope extends Scope{constructor(e,t){super(e,"global",null,t,false);this.implicit={set:new Map,variables:[],left:[]}}__close(e){const t=[];for(let e=0,r=this.__left.length;e<r;++e){const r=this.__left[e];if(r.__maybeImplicitGlobal&&!this.set.has(r.identifier.name)){t.push(r.__maybeImplicitGlobal)}}for(let e=0,r=t.length;e<r;++e){const r=t[e];this.__defineImplicit(r.pattern,new o(n.ImplicitGlobalVariable,r.pattern,r.node,null,null,null))}this.implicit.left=this.__left;return super.__close(e)}__defineImplicit(e,t){if(e&&e.type===s.Identifier){this.__defineGeneric(e.name,this.implicit.set,this.implicit.variables,e,t)}}}class ModuleScope extends Scope{constructor(e,t,r){super(e,"module",t,r,false)}}class FunctionExpressionNameScope extends Scope{constructor(e,t,r){super(e,"function-expression-name",t,r,false);this.__define(r.id,new o(n.FunctionName,r.id,r,null,null,null));this.functionExpressionScope=true}}class CatchScope extends Scope{constructor(e,t,r){super(e,"catch",t,r,false)}}class WithScope extends Scope{constructor(e,t,r){super(e,"with",t,r,false)}__close(e){if(this.__shouldStaticallyClose(e)){return super.__close(e)}for(let e=0,t=this.__left.length;e<t;++e){const t=this.__left[e];t.tainted=true;this.__delegateToUpperScope(t)}this.__left=null;return this.upper}}class BlockScope extends Scope{constructor(e,t,r){super(e,"block",t,r,false)}}class SwitchScope extends Scope{constructor(e,t,r){super(e,"switch",t,r,false)}}class FunctionScope extends Scope{constructor(e,t,r,a){super(e,"function",t,r,a);if(this.block.type!==s.ArrowFunctionExpression){this.__defineArguments()}}isArgumentsMaterialized(){if(this.block.type===s.ArrowFunctionExpression){return false}if(!this.isStatic()){return true}const e=this.set.get("arguments");i(e,"Always have arguments variable.");return e.tainted||e.references.length!==0}isThisMaterialized(){if(!this.isStatic()){return true}return this.thisFound}__defineArguments(){this.__defineGeneric("arguments",this.set,this.variables,null,null);this.taints.set("arguments",true)}__isValidResolution(e,t){if(this.block.type==="Program"){return true}const r=this.block.body.range[0];return!(t.scope===this&&e.identifier.range[0]<r&&t.defs.every((e=>e.name.range[0]>=r)))}}class ForScope extends Scope{constructor(e,t,r){super(e,"for",t,r,false)}}class ClassScope extends Scope{constructor(e,t,r){super(e,"class",t,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}},529:e=>{"use strict";class Variable{constructor(e,t){this.name=e;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=t}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";e.exports=Variable},3553:(e,t,r)=>{"use strict";const s=r(7137);const a=Object.freeze(Object.keys(s));for(const e of a){Object.freeze(s[e])}Object.freeze(s);const n=new Set(["parent","leadingComments","trailingComments"]);function filterKey(e){return!n.has(e)&&e[0]!=="_"}e.exports=Object.freeze({KEYS:s,getKeys(e){return Object.keys(e).filter(filterKey)},unionWith(e){const t=Object.assign({},s);for(const r of Object.keys(e)){if(t.hasOwnProperty(r)){const s=new Set(e[r]);for(const e of t[r]){s.add(e)}t[r]=Object.freeze(Array.from(s))}else{t[r]=Object.freeze(Array.from(e[r]))}}return Object.freeze(t)}})},1396:(e,t,r)=>{(function(){"use strict";var e=r(1731);function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(t,r){return(t===e.Syntax.ObjectExpression||t===e.Syntax.ObjectPattern)&&r==="properties"}function Visitor(t,r){r=r||{};this.__visitor=t||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(t){var r,s,a,n,o,i,l;if(t==null){return}r=t.type||e.Syntax.Property;s=this.__childVisitorKeys[r];if(!s){if(this.__fallback){s=this.__fallback(t)}else{throw new Error("Unknown node type "+r+".")}}for(a=0,n=s.length;a<n;++a){l=t[s[a]];if(l){if(Array.isArray(l)){for(o=0,i=l.length;o<i;++o){if(l[o]){if(isNode(l[o])||isProperty(r,s[a])){this.visit(l[o])}}}}else if(isNode(l)){this.visit(l)}}}};Visitor.prototype.visit=function(t){var r;if(t==null){return}r=t.type||e.Syntax.Property;if(this.__visitor[r]){this.__visitor[r].call(this,t);return}this.visitChildren(t)};t.version=r(4730).version;t.Visitor=Visitor;t.visit=function(e,t,r){var s=new Visitor(t,r);s.visit(e)}})()},2205:(e,t,r)=>{(function clone(e){"use strict";var t,s,a,n,o,i;function deepCopy(e){var t={},r,s;for(r in e){if(e.hasOwnProperty(r)){s=e[r];if(typeof s==="object"&&s!==null){t[r]=deepCopy(s)}else{t[r]=s}}}return t}function upperBound(e,t){var r,s,a,n;s=e.length;a=0;while(s){r=s>>>1;n=a+r;if(t(e[n])){s=r}else{a=n+1;s-=r+1}}return a}t={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"};a={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"]};n={};o={};i={};s={Break:n,Skip:o,Remove:i};function Reference(e,t){this.parent=e;this.key=t}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,t,r,s){this.node=e;this.path=t;this.wrap=r;this.ref=s}function Controller(){}Controller.prototype.path=function path(){var e,t,r,s,a,n;function addToPath(e,t){if(Array.isArray(t)){for(r=0,s=t.length;r<s;++r){e.push(t[r])}}else{e.push(t)}}if(!this.__current.path){return null}a=[];for(e=2,t=this.__leavelist.length;e<t;++e){n=this.__leavelist[e];addToPath(a,n.path)}addToPath(a,this.__current.path);return a};Controller.prototype.type=function(){var e=this.current();return e.type||this.__current.wrap};Controller.prototype.parents=function parents(){var e,t,r;r=[];for(e=1,t=this.__leavelist.length;e<t;++e){r.push(this.__leavelist[e].node)}return r};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(e,t){var r,s;s=undefined;r=this.__current;this.__current=t;this.__state=null;if(e){s=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=r;return s};Controller.prototype.notify=function notify(e){this.__state=e};Controller.prototype.skip=function(){this.notify(o)};Controller.prototype["break"]=function(){this.notify(n)};Controller.prototype.remove=function(){this.notify(i)};Controller.prototype.__initialize=function(e,t){this.visitor=t;this.root=e;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(t.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof t.fallback==="function"){this.__fallback=t.fallback}this.__keys=a;if(t.keys){this.__keys=Object.assign(Object.create(this.__keys),t.keys)}};function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(e,r){return(e===t.ObjectExpression||e===t.ObjectPattern)&&"properties"===r}Controller.prototype.traverse=function traverse(e,t){var r,s,a,i,l,c,u,p,d,f,y,g;this.__initialize(e,t);g={};r=this.__worklist;s=this.__leavelist;r.push(new Element(e,null,null,null));s.push(new Element(null,null,null,null));while(r.length){a=r.pop();if(a===g){a=s.pop();c=this.__execute(t.leave,a);if(this.__state===n||c===n){return}continue}if(a.node){c=this.__execute(t.enter,a);if(this.__state===n||c===n){return}r.push(g);s.push(a);if(this.__state===o||c===o){continue}i=a.node;l=i.type||a.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}p=f.length;while((p-=1)>=0){u=f[p];y=i[u];if(!y){continue}if(Array.isArray(y)){d=y.length;while((d-=1)>=0){if(!y[d]){continue}if(isProperty(l,f[p])){a=new Element(y[d],[u,d],"Property",null)}else if(isNode(y[d])){a=new Element(y[d],[u,d],null,null)}else{continue}r.push(a)}}else if(isNode(y)){r.push(new Element(y,u,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var r,s,a,l,c,u,p,d,f,y,g,h,b;function removeElem(e){var t,s,a,n;if(e.ref.remove()){s=e.ref.key;n=e.ref.parent;t=r.length;while(t--){a=r[t];if(a.ref&&a.ref.parent===n){if(a.ref.key<s){break}--a.ref.key}}}}this.__initialize(e,t);g={};r=this.__worklist;s=this.__leavelist;h={root:e};u=new Element(e,null,null,new Reference(h,"root"));r.push(u);s.push(u);while(r.length){u=r.pop();if(u===g){u=s.pop();c=this.__execute(t.leave,u);if(c!==undefined&&c!==n&&c!==o&&c!==i){u.ref.replace(c)}if(this.__state===i||c===i){removeElem(u)}if(this.__state===n||c===n){return h.root}continue}c=this.__execute(t.enter,u);if(c!==undefined&&c!==n&&c!==o&&c!==i){u.ref.replace(c);u.node=c}if(this.__state===i||c===i){removeElem(u);u.node=null}if(this.__state===n||c===n){return h.root}a=u.node;if(!a){continue}r.push(g);s.push(u);if(this.__state===o||c===o){continue}l=a.type||u.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(a)}else{throw new Error("Unknown node type "+l+".")}}p=f.length;while((p-=1)>=0){b=f[p];y=a[b];if(!y){continue}if(Array.isArray(y)){d=y.length;while((d-=1)>=0){if(!y[d]){continue}if(isProperty(l,f[p])){u=new Element(y[d],[b,d],"Property",new Reference(y,d))}else if(isNode(y[d])){u=new Element(y[d],[b,d],null,new Reference(y,d))}else{continue}r.push(u)}}else if(isNode(y)){r.push(new Element(y,b,null,new Reference(a,b)))}}}return h.root};function traverse(e,t){var r=new Controller;return r.traverse(e,t)}function replace(e,t){var r=new Controller;return r.replace(e,t)}function extendCommentRange(e,t){var r;r=upperBound(t,(function search(t){return t.range[0]>e.range[0]}));e.extendedRange=[e.range[0],e.range[1]];if(r!==t.length){e.extendedRange[1]=t[r].range[0]}r-=1;if(r>=0){e.extendedRange[0]=t[r].range[1]}return e}function attachComments(e,t,r){var a=[],n,o,i,l;if(!e.range){throw new Error("attachComments needs range information")}if(!r.length){if(t.length){for(i=0,o=t.length;i<o;i+=1){n=deepCopy(t[i]);n.extendedRange=[0,e.range[0]];a.push(n)}e.leadingComments=a}return e}for(i=0,o=t.length;i<o;i+=1){a.push(extendCommentRange(deepCopy(t[i]),r))}l=0;traverse(e,{enter:function(e){var t;while(l<a.length){t=a[l];if(t.extendedRange[1]>e.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);a.splice(l,1)}else{l+=1}}if(l===a.length){return s.Break}if(a[l].extendedRange[0]>e.range[1]){return s.Skip}}});l=0;traverse(e,{leave:function(e){var t;while(l<a.length){t=a[l];if(e.range[1]<t.extendedRange[0]){break}if(e.range[1]===t.extendedRange[0]){if(!e.trailingComments){e.trailingComments=[]}e.trailingComments.push(t);a.splice(l,1)}else{l+=1}}if(l===a.length){return s.Break}if(a[l].extendedRange[0]>e.range[1]){return s.Skip}}});return e}e.version=r(1752).i8;e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=a;e.VisitorOption=s;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},1731:(e,t)=>{(function clone(e){"use strict";var t,r,s,a,n,o;function deepCopy(e){var t={},r,s;for(r in e){if(e.hasOwnProperty(r)){s=e[r];if(typeof s==="object"&&s!==null){t[r]=deepCopy(s)}else{t[r]=s}}}return t}function upperBound(e,t){var r,s,a,n;s=e.length;a=0;while(s){r=s>>>1;n=a+r;if(t(e[n])){s=r}else{a=n+1;s-=r+1}}return a}t={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",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",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"};s={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"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["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"]};a={};n={};o={};r={Break:a,Skip:n,Remove:o};function Reference(e,t){this.parent=e;this.key=t}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,t,r,s){this.node=e;this.path=t;this.wrap=r;this.ref=s}function Controller(){}Controller.prototype.path=function path(){var e,t,r,s,a,n;function addToPath(e,t){if(Array.isArray(t)){for(r=0,s=t.length;r<s;++r){e.push(t[r])}}else{e.push(t)}}if(!this.__current.path){return null}a=[];for(e=2,t=this.__leavelist.length;e<t;++e){n=this.__leavelist[e];addToPath(a,n.path)}addToPath(a,this.__current.path);return a};Controller.prototype.type=function(){var e=this.current();return e.type||this.__current.wrap};Controller.prototype.parents=function parents(){var e,t,r;r=[];for(e=1,t=this.__leavelist.length;e<t;++e){r.push(this.__leavelist[e].node)}return r};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(e,t){var r,s;s=undefined;r=this.__current;this.__current=t;this.__state=null;if(e){s=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=r;return s};Controller.prototype.notify=function notify(e){this.__state=e};Controller.prototype.skip=function(){this.notify(n)};Controller.prototype["break"]=function(){this.notify(a)};Controller.prototype.remove=function(){this.notify(o)};Controller.prototype.__initialize=function(e,t){this.visitor=t;this.root=e;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(t.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof t.fallback==="function"){this.__fallback=t.fallback}this.__keys=s;if(t.keys){this.__keys=Object.assign(Object.create(this.__keys),t.keys)}};function isNode(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function isProperty(e,r){return(e===t.ObjectExpression||e===t.ObjectPattern)&&"properties"===r}function candidateExistsInLeaveList(e,t){for(var r=e.length-1;r>=0;--r){if(e[r].node===t){return true}}return false}Controller.prototype.traverse=function traverse(e,t){var r,s,o,i,l,c,u,p,d,f,y,g;this.__initialize(e,t);g={};r=this.__worklist;s=this.__leavelist;r.push(new Element(e,null,null,null));s.push(new Element(null,null,null,null));while(r.length){o=r.pop();if(o===g){o=s.pop();c=this.__execute(t.leave,o);if(this.__state===a||c===a){return}continue}if(o.node){c=this.__execute(t.enter,o);if(this.__state===a||c===a){return}r.push(g);s.push(o);if(this.__state===n||c===n){continue}i=o.node;l=i.type||o.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}p=f.length;while((p-=1)>=0){u=f[p];y=i[u];if(!y){continue}if(Array.isArray(y)){d=y.length;while((d-=1)>=0){if(!y[d]){continue}if(candidateExistsInLeaveList(s,y[d])){continue}if(isProperty(l,f[p])){o=new Element(y[d],[u,d],"Property",null)}else if(isNode(y[d])){o=new Element(y[d],[u,d],null,null)}else{continue}r.push(o)}}else if(isNode(y)){if(candidateExistsInLeaveList(s,y)){continue}r.push(new Element(y,u,null,null))}}}}};Controller.prototype.replace=function replace(e,t){var r,s,i,l,c,u,p,d,f,y,g,h,b;function removeElem(e){var t,s,a,n;if(e.ref.remove()){s=e.ref.key;n=e.ref.parent;t=r.length;while(t--){a=r[t];if(a.ref&&a.ref.parent===n){if(a.ref.key<s){break}--a.ref.key}}}}this.__initialize(e,t);g={};r=this.__worklist;s=this.__leavelist;h={root:e};u=new Element(e,null,null,new Reference(h,"root"));r.push(u);s.push(u);while(r.length){u=r.pop();if(u===g){u=s.pop();c=this.__execute(t.leave,u);if(c!==undefined&&c!==a&&c!==n&&c!==o){u.ref.replace(c)}if(this.__state===o||c===o){removeElem(u)}if(this.__state===a||c===a){return h.root}continue}c=this.__execute(t.enter,u);if(c!==undefined&&c!==a&&c!==n&&c!==o){u.ref.replace(c);u.node=c}if(this.__state===o||c===o){removeElem(u);u.node=null}if(this.__state===a||c===a){return h.root}i=u.node;if(!i){continue}r.push(g);s.push(u);if(this.__state===n||c===n){continue}l=i.type||u.wrap;f=this.__keys[l];if(!f){if(this.__fallback){f=this.__fallback(i)}else{throw new Error("Unknown node type "+l+".")}}p=f.length;while((p-=1)>=0){b=f[p];y=i[b];if(!y){continue}if(Array.isArray(y)){d=y.length;while((d-=1)>=0){if(!y[d]){continue}if(isProperty(l,f[p])){u=new Element(y[d],[b,d],"Property",new Reference(y,d))}else if(isNode(y[d])){u=new Element(y[d],[b,d],null,new Reference(y,d))}else{continue}r.push(u)}}else if(isNode(y)){r.push(new Element(y,b,null,new Reference(i,b)))}}}return h.root};function traverse(e,t){var r=new Controller;return r.traverse(e,t)}function replace(e,t){var r=new Controller;return r.replace(e,t)}function extendCommentRange(e,t){var r;r=upperBound(t,(function search(t){return t.range[0]>e.range[0]}));e.extendedRange=[e.range[0],e.range[1]];if(r!==t.length){e.extendedRange[1]=t[r].range[0]}r-=1;if(r>=0){e.extendedRange[0]=t[r].range[1]}return e}function attachComments(e,t,s){var a=[],n,o,i,l;if(!e.range){throw new Error("attachComments needs range information")}if(!s.length){if(t.length){for(i=0,o=t.length;i<o;i+=1){n=deepCopy(t[i]);n.extendedRange=[0,e.range[0]];a.push(n)}e.leadingComments=a}return e}for(i=0,o=t.length;i<o;i+=1){a.push(extendCommentRange(deepCopy(t[i]),s))}l=0;traverse(e,{enter:function(e){var t;while(l<a.length){t=a[l];if(t.extendedRange[1]>e.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);a.splice(l,1)}else{l+=1}}if(l===a.length){return r.Break}if(a[l].extendedRange[0]>e.range[1]){return r.Skip}}});l=0;traverse(e,{leave:function(e){var t;while(l<a.length){t=a[l];if(e.range[1]<t.extendedRange[0]){break}if(e.range[1]===t.extendedRange[0]){if(!e.trailingComments){e.trailingComments=[]}e.trailingComments.push(t);a.splice(l,1)}else{l+=1}}if(l===a.length){return r.Break}if(a[l].extendedRange[0]>e.range[1]){return r.Skip}}});return e}e.Syntax=t;e.traverse=traverse;e.replace=replace;e.attachComments=attachComments;e.VisitorKeys=s;e.VisitorOption=r;e.Controller=Controller;e.cloneEnvironment=function(){return clone({})};return e})(t)},2426:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var r=Array.prototype.slice;var s=Object.prototype.toString;var a="[object Function]";e.exports=function bind(e){var n=this;if(typeof n!=="function"||s.call(n)!==a){throw new TypeError(t+n)}var o=r.call(arguments,1);var i;var binder=function(){if(this instanceof i){var t=n.apply(this,o.concat(r.call(arguments)));if(Object(t)===t){return t}return this}else{return n.apply(e,o.concat(r.call(arguments)))}};var l=Math.max(0,n.length-o.length);var c=[];for(var u=0;u<l;u++){c.push("$"+u)}i=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(binder);if(n.prototype){var p=function Empty(){};p.prototype=n.prototype;i.prototype=new p;p.prototype=null}return i}},2174:(e,t,r)=>{"use strict";var s=r(2426);e.exports=Function.prototype.bind||s},6929:(e,t,r)=>{"use strict";e.exports=r(3676)},5343:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const s=t.indexOf(r+e);const a=t.indexOf("--");return s!==-1&&(a===-1?true:s<a)}},101:(e,t,r)=>{"use strict";var s=r(2174);e.exports=s.call(Function.call,Object.prototype.hasOwnProperty)},9940:(e,t,r)=>{"use strict";var s=r(101);function specifierIncluded(e,t){var r=e.split(".");var s=t.split(" ");var a=s.length>1?s[0]:"=";var n=(s.length>1?s[1]:s[0]).split(".");for(var o=0;o<3;++o){var i=parseInt(r[o]||0,10);var l=parseInt(n[o]||0,10);if(i===l){continue}if(a==="<"){return i<l}if(a===">="){return i>=l}return false}return a===">="}function matchesRange(e,t){var r=t.split(/ ?&& ?/);if(r.length===0){return false}for(var s=0;s<r.length;++s){if(!specifierIncluded(e,r[s])){return false}}return true}function versionIncluded(e,t){if(typeof t==="boolean"){return t}var r=typeof e==="undefined"?process.versions&&process.versions.node:e;if(typeof r!=="string"){throw new TypeError(typeof e==="undefined"?"Unable to determine current node version":"If provided, a valid node version is required")}if(t&&typeof t==="object"){for(var s=0;s<t.length;++s){if(matchesRange(r,t[s])){return true}}return false}return matchesRange(r,t)}var a=r(5451);e.exports=function isCore(e,t){return s(a,e)&&versionIncluded(t,a[e])}},8874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},3079:e=>{var t="Expected a function";var r=0/0;var s="[object Symbol]";var a=/^\s+|\s+$/g;var n=/^[-+]0x[0-9a-f]+$/i;var o=/^0b[01]+$/i;var i=/^0o[0-7]+$/i;var l=parseInt;var c=typeof global=="object"&&global&&global.Object===Object&&global;var u=typeof self=="object"&&self&&self.Object===Object&&self;var p=c||u||Function("return this")();var d=Object.prototype;var f=d.toString;var y=Math.max,g=Math.min;var now=function(){return p.Date.now()};function debounce(e,r,s){var a,n,o,i,l,c,u=0,p=false,d=false,f=true;if(typeof e!="function"){throw new TypeError(t)}r=toNumber(r)||0;if(isObject(s)){p=!!s.leading;d="maxWait"in s;o=d?y(toNumber(s.maxWait)||0,r):o;f="trailing"in s?!!s.trailing:f}function invokeFunc(t){var r=a,s=n;a=n=undefined;u=t;i=e.apply(s,r);return i}function leadingEdge(e){u=e;l=setTimeout(timerExpired,r);return p?invokeFunc(e):i}function remainingWait(e){var t=e-c,s=e-u,a=r-t;return d?g(a,o-s):a}function shouldInvoke(e){var t=e-c,s=e-u;return c===undefined||t>=r||t<0||d&&s>=o}function timerExpired(){var e=now();if(shouldInvoke(e)){return trailingEdge(e)}l=setTimeout(timerExpired,remainingWait(e))}function trailingEdge(e){l=undefined;if(f&&a){return invokeFunc(e)}a=n=undefined;return i}function cancel(){if(l!==undefined){clearTimeout(l)}u=0;a=c=n=l=undefined}function flush(){return l===undefined?i:trailingEdge(now())}function debounced(){var e=now(),t=shouldInvoke(e);a=arguments;n=this;c=e;if(t){if(l===undefined){return leadingEdge(c)}if(d){l=setTimeout(timerExpired,r);return invokeFunc(c)}}if(l===undefined){l=setTimeout(timerExpired,r)}return i}debounced.cancel=cancel;debounced.flush=flush;return debounced}function isObject(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function isObjectLike(e){return!!e&&typeof e=="object"}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&f.call(e)==s}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return r}if(isObject(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=e.replace(a,"");var s=o.test(e);return s||i.test(e)?l(e.slice(2),s?2:8):n.test(e)?r:+e}e.exports=debounce},1788:function(e,t,r){e=r.nmd(e); -/** - * @license - * Lodash <https://lodash.com/> - * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> - * Released under MIT license <https://lodash.com/license> - * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(){var r;var s="4.17.21";var a=200;var n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",i="Invalid `variable` option passed into `_.template`";var l="__lodash_hash_undefined__";var c=500;var u="__lodash_placeholder__";var p=1,d=2,f=4;var y=1,g=2;var h=1,b=2,x=4,v=8,j=16,E=32,w=64,_=128,S=256,k=512;var I=30,D="...";var C=800,P=16;var O=1,A=2,R=3;var M=1/0,N=9007199254740991,F=17976931348623157e292,L=0/0;var B=4294967295,U=B-1,W=B>>>1;var V=[["ary",_],["bind",h],["bindKey",b],["curry",v],["curryRight",j],["flip",k],["partial",E],["partialRight",w],["rearg",S]];var $="[object Arguments]",G="[object Array]",q="[object AsyncFunction]",H="[object Boolean]",z="[object Date]",K="[object DOMException]",X="[object Error]",Y="[object Function]",J="[object GeneratorFunction]",Q="[object Map]",Z="[object Number]",ee="[object Null]",te="[object Object]",re="[object Promise]",se="[object Proxy]",ae="[object RegExp]",ne="[object Set]",oe="[object String]",ie="[object Symbol]",le="[object Undefined]",ce="[object WeakMap]",ue="[object WeakSet]";var pe="[object ArrayBuffer]",de="[object DataView]",fe="[object Float32Array]",ye="[object Float64Array]",me="[object Int8Array]",ge="[object Int16Array]",he="[object Int32Array]",be="[object Uint8Array]",xe="[object Uint8ClampedArray]",ve="[object Uint16Array]",je="[object Uint32Array]";var Ee=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var Se=/&(?:amp|lt|gt|quot|#39);/g,ke=/[&<>"']/g,Ie=RegExp(Se.source),De=RegExp(ke.source);var Ce=/<%-([\s\S]+?)%>/g,Pe=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g;var Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Re=/^\w*$/,Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Me=/[\\^$.*+?()[\]{}|]/g,Ne=RegExp(Me.source);var Fe=/^\s+/;var Le=/\s/;var Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ue=/\{\n\/\* \[wrapped with (.+)\] \*/,We=/,? & /;var Ve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var $e=/[()=,{}\[\]\/\s]/;var Ge=/\\(\\)?/g;var qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var He=/\w*$/;var ze=/^[-+]0x[0-9a-f]+$/i;var Ke=/^0b[01]+$/i;var Xe=/^\[object .+?Constructor\]$/;var Ye=/^0o[0-7]+$/i;var Je=/^(?:0|[1-9]\d*)$/;var Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var Ze=/($^)/;var et=/['\n\r\u2028\u2029\\]/g;var tt="\\ud800-\\udfff",rt="\\u0300-\\u036f",st="\\ufe20-\\ufe2f",at="\\u20d0-\\u20ff",nt=rt+st+at,ot="\\u2700-\\u27bf",ct="a-z\\xdf-\\xf6\\xf8-\\xff",ut="\\xac\\xb1\\xd7\\xf7",pt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dt="\\u2000-\\u206f",ft=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",yt="A-Z\\xc0-\\xd6\\xd8-\\xde",mt="\\ufe0e\\ufe0f",ht=ut+pt+dt+ft;var bt="['’]",xt="["+tt+"]",vt="["+ht+"]",jt="["+nt+"]",Et="\\d+",wt="["+ot+"]",_t="["+ct+"]",St="[^"+tt+ht+Et+ot+ct+yt+"]",kt="\\ud83c[\\udffb-\\udfff]",It="(?:"+jt+"|"+kt+")",Dt="[^"+tt+"]",Ct="(?:\\ud83c[\\udde6-\\uddff]){2}",Pt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ot="["+yt+"]",At="\\u200d";var Rt="(?:"+_t+"|"+St+")",Tt="(?:"+Ot+"|"+St+")",Mt="(?:"+bt+"(?:d|ll|m|re|s|t|ve))?",Nt="(?:"+bt+"(?:D|LL|M|RE|S|T|VE))?",Ft=It+"?",Lt="["+mt+"]?",Bt="(?:"+At+"(?:"+[Dt,Ct,Pt].join("|")+")"+Lt+Ft+")*",Ut="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Wt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vt=Lt+Ft+Bt,$t="(?:"+[wt,Ct,Pt].join("|")+")"+Vt,Gt="(?:"+[Dt+jt+"?",jt,Ct,Pt,xt].join("|")+")";var qt=RegExp(bt,"g");var Ht=RegExp(jt,"g");var zt=RegExp(kt+"(?="+kt+")|"+Gt+Vt,"g");var Kt=RegExp([Ot+"?"+_t+"+"+Mt+"(?="+[vt,Ot,"$"].join("|")+")",Tt+"+"+Nt+"(?="+[vt,Ot+Rt,"$"].join("|")+")",Ot+"?"+Rt+"+"+Mt,Ot+"+"+Nt,Wt,Ut,Et,$t].join("|"),"g");var Xt=RegExp("["+At+tt+nt+mt+"]");var Yt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Qt=-1;var Zt={};Zt[fe]=Zt[ye]=Zt[me]=Zt[ge]=Zt[he]=Zt[be]=Zt[xe]=Zt[ve]=Zt[je]=true;Zt[$]=Zt[G]=Zt[pe]=Zt[H]=Zt[de]=Zt[z]=Zt[X]=Zt[Y]=Zt[Q]=Zt[Z]=Zt[te]=Zt[ae]=Zt[ne]=Zt[oe]=Zt[ce]=false;var er={};er[$]=er[G]=er[pe]=er[de]=er[H]=er[z]=er[fe]=er[ye]=er[me]=er[ge]=er[he]=er[Q]=er[Z]=er[te]=er[ae]=er[ne]=er[oe]=er[ie]=er[be]=er[xe]=er[ve]=er[je]=true;er[X]=er[Y]=er[ce]=false;var tr={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var rr={"&":"&","<":"<",">":">",'"':""","'":"'"};var sr={"&":"&","<":"<",">":">",""":'"',"'":"'"};var ar={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var nr=parseFloat,or=parseInt;var ir=typeof global=="object"&&global&&global.Object===Object&&global;var lr=typeof self=="object"&&self&&self.Object===Object&&self;var cr=ir||lr||Function("return this")();var ur=true&&t&&!t.nodeType&&t;var pr=ur&&"object"=="object"&&e&&!e.nodeType&&e;var dr=pr&&pr.exports===ur;var fr=dr&&ir.process;var yr=function(){try{var e=pr&&pr.require&&pr.require("util").types;if(e){return e}return fr&&fr.binding&&fr.binding("util")}catch(e){}}();var mr=yr&&yr.isArrayBuffer,gr=yr&&yr.isDate,hr=yr&&yr.isMap,br=yr&&yr.isRegExp,xr=yr&&yr.isSet,vr=yr&&yr.isTypedArray;function apply(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function arrayAggregator(e,t,r,s){var a=-1,n=e==null?0:e.length;while(++a<n){var o=e[a];t(s,o,r(o),e)}return s}function arrayEach(e,t){var r=-1,s=e==null?0:e.length;while(++r<s){if(t(e[r],r,e)===false){break}}return e}function arrayEachRight(e,t){var r=e==null?0:e.length;while(r--){if(t(e[r],r,e)===false){break}}return e}function arrayEvery(e,t){var r=-1,s=e==null?0:e.length;while(++r<s){if(!t(e[r],r,e)){return false}}return true}function arrayFilter(e,t){var r=-1,s=e==null?0:e.length,a=0,n=[];while(++r<s){var o=e[r];if(t(o,r,e)){n[a++]=o}}return n}function arrayIncludes(e,t){var r=e==null?0:e.length;return!!r&&baseIndexOf(e,t,0)>-1}function arrayIncludesWith(e,t,r){var s=-1,a=e==null?0:e.length;while(++s<a){if(r(t,e[s])){return true}}return false}function arrayMap(e,t){var r=-1,s=e==null?0:e.length,a=Array(s);while(++r<s){a[r]=t(e[r],r,e)}return a}function arrayPush(e,t){var r=-1,s=t.length,a=e.length;while(++r<s){e[a+r]=t[r]}return e}function arrayReduce(e,t,r,s){var a=-1,n=e==null?0:e.length;if(s&&n){r=e[++a]}while(++a<n){r=t(r,e[a],a,e)}return r}function arrayReduceRight(e,t,r,s){var a=e==null?0:e.length;if(s&&a){r=e[--a]}while(a--){r=t(r,e[a],a,e)}return r}function arraySome(e,t){var r=-1,s=e==null?0:e.length;while(++r<s){if(t(e[r],r,e)){return true}}return false}var jr=baseProperty("length");function asciiToArray(e){return e.split("")}function asciiWords(e){return e.match(Ve)||[]}function baseFindKey(e,t,r){var s;r(e,(function(e,r,a){if(t(e,r,a)){s=r;return false}}));return s}function baseFindIndex(e,t,r,s){var a=e.length,n=r+(s?1:-1);while(s?n--:++n<a){if(t(e[n],n,e)){return n}}return-1}function baseIndexOf(e,t,r){return t===t?strictIndexOf(e,t,r):baseFindIndex(e,baseIsNaN,r)}function baseIndexOfWith(e,t,r,s){var a=r-1,n=e.length;while(++a<n){if(s(e[a],t)){return a}}return-1}function baseIsNaN(e){return e!==e}function baseMean(e,t){var r=e==null?0:e.length;return r?baseSum(e,t)/r:L}function baseProperty(e){return function(t){return t==null?r:t[e]}}function basePropertyOf(e){return function(t){return e==null?r:e[t]}}function baseReduce(e,t,r,s,a){a(e,(function(e,a,n){r=s?(s=false,e):t(r,e,a,n)}));return r}function baseSortBy(e,t){var r=e.length;e.sort(t);while(r--){e[r]=e[r].value}return e}function baseSum(e,t){var s,a=-1,n=e.length;while(++a<n){var o=t(e[a]);if(o!==r){s=s===r?o:s+o}}return s}function baseTimes(e,t){var r=-1,s=Array(e);while(++r<e){s[r]=t(r)}return s}function baseToPairs(e,t){return arrayMap(t,(function(t){return[t,e[t]]}))}function baseTrim(e){return e?e.slice(0,trimmedEndIndex(e)+1).replace(Fe,""):e}function baseUnary(e){return function(t){return e(t)}}function baseValues(e,t){return arrayMap(t,(function(t){return e[t]}))}function cacheHas(e,t){return e.has(t)}function charsStartIndex(e,t){var r=-1,s=e.length;while(++r<s&&baseIndexOf(t,e[r],0)>-1){}return r}function charsEndIndex(e,t){var r=e.length;while(r--&&baseIndexOf(t,e[r],0)>-1){}return r}function countHolders(e,t){var r=e.length,s=0;while(r--){if(e[r]===t){++s}}return s}var Er=basePropertyOf(tr);var wr=basePropertyOf(rr);function escapeStringChar(e){return"\\"+ar[e]}function getValue(e,t){return e==null?r:e[t]}function hasUnicode(e){return Xt.test(e)}function hasUnicodeWord(e){return Yt.test(e)}function iteratorToArray(e){var t,r=[];while(!(t=e.next()).done){r.push(t.value)}return r}function mapToArray(e){var t=-1,r=Array(e.size);e.forEach((function(e,s){r[++t]=[s,e]}));return r}function overArg(e,t){return function(r){return e(t(r))}}function replaceHolders(e,t){var r=-1,s=e.length,a=0,n=[];while(++r<s){var o=e[r];if(o===t||o===u){e[r]=u;n[a++]=r}}return n}function setToArray(e){var t=-1,r=Array(e.size);e.forEach((function(e){r[++t]=e}));return r}function setToPairs(e){var t=-1,r=Array(e.size);e.forEach((function(e){r[++t]=[e,e]}));return r}function strictIndexOf(e,t,r){var s=r-1,a=e.length;while(++s<a){if(e[s]===t){return s}}return-1}function strictLastIndexOf(e,t,r){var s=r+1;while(s--){if(e[s]===t){return s}}return s}function stringSize(e){return hasUnicode(e)?unicodeSize(e):jr(e)}function stringToArray(e){return hasUnicode(e)?unicodeToArray(e):asciiToArray(e)}function trimmedEndIndex(e){var t=e.length;while(t--&&Le.test(e.charAt(t))){}return t}var _r=basePropertyOf(sr);function unicodeSize(e){var t=zt.lastIndex=0;while(zt.test(e)){++t}return t}function unicodeToArray(e){return e.match(zt)||[]}function unicodeWords(e){return e.match(Kt)||[]}var Sr=function runInContext(e){e=e==null?cr:kr.defaults(cr.Object(),e,kr.pick(cr,Jt));var t=e.Array,Le=e.Date,Ve=e.Error,tt=e.Function,rt=e.Math,st=e.Object,at=e.RegExp,nt=e.String,ot=e.TypeError;var ct=t.prototype,ut=tt.prototype,pt=st.prototype;var dt=e["__core-js_shared__"];var ft=ut.toString;var yt=pt.hasOwnProperty;var mt=0;var ht=function(){var e=/[^.]+$/.exec(dt&&dt.keys&&dt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var bt=pt.toString;var xt=ft.call(st);var vt=cr._;var jt=at("^"+ft.call(yt).replace(Me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Et=dr?e.Buffer:r,wt=e.Symbol,_t=e.Uint8Array,St=Et?Et.allocUnsafe:r,kt=overArg(st.getPrototypeOf,st),It=st.create,Dt=pt.propertyIsEnumerable,Ct=ct.splice,Pt=wt?wt.isConcatSpreadable:r,Ot=wt?wt.iterator:r,At=wt?wt.toStringTag:r;var Rt=function(){try{var e=getNative(st,"defineProperty");e({},"",{});return e}catch(e){}}();var Tt=e.clearTimeout!==cr.clearTimeout&&e.clearTimeout,Mt=Le&&Le.now!==cr.Date.now&&Le.now,Nt=e.setTimeout!==cr.setTimeout&&e.setTimeout;var Ft=rt.ceil,Lt=rt.floor,Bt=st.getOwnPropertySymbols,Ut=Et?Et.isBuffer:r,Wt=e.isFinite,Vt=ct.join,$t=overArg(st.keys,st),Gt=rt.max,zt=rt.min,Kt=Le.now,Xt=e.parseInt,Yt=rt.random,tr=ct.reverse;var rr=getNative(e,"DataView"),sr=getNative(e,"Map"),ar=getNative(e,"Promise"),ir=getNative(e,"Set"),lr=getNative(e,"WeakMap"),ur=getNative(st,"create");var pr=lr&&new lr;var fr={};var yr=toSource(rr),jr=toSource(sr),Sr=toSource(ar),Ir=toSource(ir),Dr=toSource(lr);var Cr=wt?wt.prototype:r,Pr=Cr?Cr.valueOf:r,Or=Cr?Cr.toString:r;function lodash(e){if(isObjectLike(e)&&!Ms(e)&&!(e instanceof LazyWrapper)){if(e instanceof LodashWrapper){return e}if(yt.call(e,"__wrapped__")){return wrapperClone(e)}}return new LodashWrapper(e)}var Ar=function(){function object(){}return function(e){if(!isObject(e)){return{}}if(It){return It(e)}object.prototype=e;var t=new object;object.prototype=r;return t}}();function baseLodash(){}function LodashWrapper(e,t){this.__wrapped__=e;this.__actions__=[];this.__chain__=!!t;this.__index__=0;this.__values__=r}lodash.templateSettings={escape:Ce,evaluate:Pe,interpolate:Oe,variable:"",imports:{_:lodash}};lodash.prototype=baseLodash.prototype;lodash.prototype.constructor=lodash;LodashWrapper.prototype=Ar(baseLodash.prototype);LodashWrapper.prototype.constructor=LodashWrapper;function LazyWrapper(e){this.__wrapped__=e;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=B;this.__views__=[]}function lazyClone(){var e=new LazyWrapper(this.__wrapped__);e.__actions__=copyArray(this.__actions__);e.__dir__=this.__dir__;e.__filtered__=this.__filtered__;e.__iteratees__=copyArray(this.__iteratees__);e.__takeCount__=this.__takeCount__;e.__views__=copyArray(this.__views__);return e}function lazyReverse(){if(this.__filtered__){var e=new LazyWrapper(this);e.__dir__=-1;e.__filtered__=true}else{e=this.clone();e.__dir__*=-1}return e}function lazyValue(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ms(e),s=t<0,a=r?e.length:0,n=getView(0,a,this.__views__),o=n.start,i=n.end,l=i-o,c=s?i:o-1,u=this.__iteratees__,p=u.length,d=0,f=zt(l,this.__takeCount__);if(!r||!s&&a==l&&f==l){return baseWrapperValue(e,this.__actions__)}var y=[];e:while(l--&&d<f){c+=t;var g=-1,h=e[c];while(++g<p){var b=u[g],x=b.iteratee,v=b.type,j=x(h);if(v==A){h=j}else if(!j){if(v==O){continue e}else{break e}}}y[d++]=h}return y}LazyWrapper.prototype=Ar(baseLodash.prototype);LazyWrapper.prototype.constructor=LazyWrapper;function Hash(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var s=e[t];this.set(s[0],s[1])}}function hashClear(){this.__data__=ur?ur(null):{};this.size=0}function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}function hashGet(e){var t=this.__data__;if(ur){var s=t[e];return s===l?r:s}return yt.call(t,e)?t[e]:r}function hashHas(e){var t=this.__data__;return ur?t[e]!==r:yt.call(t,e)}function hashSet(e,t){var s=this.__data__;this.size+=this.has(e)?0:1;s[e]=ur&&t===r?l:t;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var s=e[t];this.set(s[0],s[1])}}function listCacheClear(){this.__data__=[];this.size=0}function listCacheDelete(e){var t=this.__data__,r=assocIndexOf(t,e);if(r<0){return false}var s=t.length-1;if(r==s){t.pop()}else{Ct.call(t,r,1)}--this.size;return true}function listCacheGet(e){var t=this.__data__,s=assocIndexOf(t,e);return s<0?r:t[s][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var r=this.__data__,s=assocIndexOf(r,e);if(s<0){++this.size;r.push([e,t])}else{r[s][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var s=e[t];this.set(s[0],s[1])}}function mapCacheClear(){this.size=0;this.__data__={hash:new Hash,map:new(sr||ListCache),string:new Hash}}function mapCacheDelete(e){var t=getMapData(this,e)["delete"](e);this.size-=t?1:0;return t}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){var r=getMapData(this,e),s=r.size;r.set(e,t);this.size+=r.size==s?0:1;return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function SetCache(e){var t=-1,r=e==null?0:e.length;this.__data__=new MapCache;while(++t<r){this.add(e[t])}}function setCacheAdd(e){this.__data__.set(e,l);return this}function setCacheHas(e){return this.__data__.has(e)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}function stackClear(){this.__data__=new ListCache;this.size=0}function stackDelete(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}function stackSet(e,t){var r=this.__data__;if(r instanceof ListCache){var s=r.__data__;if(!sr||s.length<a-1){s.push([e,t]);this.size=++r.size;return this}r=this.__data__=new MapCache(s)}r.set(e,t);this.size=r.size;return this}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function arrayLikeKeys(e,t){var r=Ms(e),s=!r&&Ts(e),a=!r&&!s&&Fs(e),n=!r&&!s&&!a&&Vs(e),o=r||s||a||n,i=o?baseTimes(e.length,nt):[],l=i.length;for(var c in e){if((t||yt.call(e,c))&&!(o&&(c=="length"||a&&(c=="offset"||c=="parent")||n&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||isIndex(c,l)))){i.push(c)}}return i}function arraySample(e){var t=e.length;return t?e[baseRandom(0,t-1)]:r}function arraySampleSize(e,t){return shuffleSelf(copyArray(e),baseClamp(t,0,e.length))}function arrayShuffle(e){return shuffleSelf(copyArray(e))}function assignMergeValue(e,t,s){if(s!==r&&!eq(e[t],s)||s===r&&!(t in e)){baseAssignValue(e,t,s)}}function assignValue(e,t,s){var a=e[t];if(!(yt.call(e,t)&&eq(a,s))||s===r&&!(t in e)){baseAssignValue(e,t,s)}}function assocIndexOf(e,t){var r=e.length;while(r--){if(eq(e[r][0],t)){return r}}return-1}function baseAggregator(e,t,r,s){Rr(e,(function(e,a,n){t(s,e,r(e),n)}));return s}function baseAssign(e,t){return e&©Object(t,keys(t),e)}function baseAssignIn(e,t){return e&©Object(t,keysIn(t),e)}function baseAssignValue(e,t,r){if(t=="__proto__"&&Rt){Rt(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}function baseAt(e,s){var a=-1,n=s.length,o=t(n),i=e==null;while(++a<n){o[a]=i?r:get(e,s[a])}return o}function baseClamp(e,t,s){if(e===e){if(s!==r){e=e<=s?e:s}if(t!==r){e=e>=t?e:t}}return e}function baseClone(e,t,s,a,n,o){var i,l=t&p,c=t&d,u=t&f;if(s){i=n?s(e,a,n,o):s(e)}if(i!==r){return i}if(!isObject(e)){return e}var y=Ms(e);if(y){i=initCloneArray(e);if(!l){return copyArray(e,i)}}else{var g=qr(e),h=g==Y||g==J;if(Fs(e)){return cloneBuffer(e,l)}if(g==te||g==$||h&&!n){i=c||h?{}:initCloneObject(e);if(!l){return c?copySymbolsIn(e,baseAssignIn(i,e)):copySymbols(e,baseAssign(i,e))}}else{if(!er[g]){return n?e:{}}i=initCloneByTag(e,g,l)}}o||(o=new Stack);var b=o.get(e);if(b){return b}o.set(e,i);if(Ws(e)){e.forEach((function(r){i.add(baseClone(r,t,s,r,e,o))}))}else if(Bs(e)){e.forEach((function(r,a){i.set(a,baseClone(r,t,s,a,e,o))}))}var x=u?c?getAllKeysIn:getAllKeys:c?keysIn:keys;var v=y?r:x(e);arrayEach(v||e,(function(r,a){if(v){a=r;r=e[a]}assignValue(i,a,baseClone(r,t,s,a,e,o))}));return i}function baseConforms(e){var t=keys(e);return function(r){return baseConformsTo(r,e,t)}}function baseConformsTo(e,t,s){var a=s.length;if(e==null){return!a}e=st(e);while(a--){var n=s[a],o=t[n],i=e[n];if(i===r&&!(n in e)||!o(i)){return false}}return true}function baseDelay(e,t,s){if(typeof e!="function"){throw new ot(o)}return Kr((function(){e.apply(r,s)}),t)}function baseDifference(e,t,r,s){var n=-1,o=arrayIncludes,i=true,l=e.length,c=[],u=t.length;if(!l){return c}if(r){t=arrayMap(t,baseUnary(r))}if(s){o=arrayIncludesWith;i=false}else if(t.length>=a){o=cacheHas;i=false;t=new SetCache(t)}e:while(++n<l){var p=e[n],d=r==null?p:r(p);p=s||p!==0?p:0;if(i&&d===d){var f=u;while(f--){if(t[f]===d){continue e}}c.push(p)}else if(!o(t,d,s)){c.push(p)}}return c}var Rr=createBaseEach(baseForOwn);var Tr=createBaseEach(baseForOwnRight,true);function baseEvery(e,t){var r=true;Rr(e,(function(e,s,a){r=!!t(e,s,a);return r}));return r}function baseExtremum(e,t,s){var a=-1,n=e.length;while(++a<n){var o=e[a],i=t(o);if(i!=null&&(l===r?i===i&&!isSymbol(i):s(i,l))){var l=i,c=o}}return c}function baseFill(e,t,s,a){var n=e.length;s=toInteger(s);if(s<0){s=-s>n?0:n+s}a=a===r||a>n?n:toInteger(a);if(a<0){a+=n}a=s>a?0:toLength(a);while(s<a){e[s++]=t}return e}function baseFilter(e,t){var r=[];Rr(e,(function(e,s,a){if(t(e,s,a)){r.push(e)}}));return r}function baseFlatten(e,t,r,s,a){var n=-1,o=e.length;r||(r=isFlattenable);a||(a=[]);while(++n<o){var i=e[n];if(t>0&&r(i)){if(t>1){baseFlatten(i,t-1,r,s,a)}else{arrayPush(a,i)}}else if(!s){a[a.length]=i}}return a}var Mr=createBaseFor();var Nr=createBaseFor(true);function baseForOwn(e,t){return e&&Mr(e,t,keys)}function baseForOwnRight(e,t){return e&&Nr(e,t,keys)}function baseFunctions(e,t){return arrayFilter(t,(function(t){return isFunction(e[t])}))}function baseGet(e,t){t=castPath(t,e);var s=0,a=t.length;while(e!=null&&s<a){e=e[toKey(t[s++])]}return s&&s==a?e:r}function baseGetAllKeys(e,t,r){var s=t(e);return Ms(e)?s:arrayPush(s,r(e))}function baseGetTag(e){if(e==null){return e===r?le:ee}return At&&At in st(e)?getRawTag(e):objectToString(e)}function baseGt(e,t){return e>t}function baseHas(e,t){return e!=null&&yt.call(e,t)}function baseHasIn(e,t){return e!=null&&t in st(e)}function baseInRange(e,t,r){return e>=zt(t,r)&&e<Gt(t,r)}function baseIntersection(e,s,a){var n=a?arrayIncludesWith:arrayIncludes,o=e[0].length,i=e.length,l=i,c=t(i),u=Infinity,p=[];while(l--){var d=e[l];if(l&&s){d=arrayMap(d,baseUnary(s))}u=zt(d.length,u);c[l]=!a&&(s||o>=120&&d.length>=120)?new SetCache(l&&d):r}d=e[0];var f=-1,y=c[0];e:while(++f<o&&p.length<u){var g=d[f],h=s?s(g):g;g=a||g!==0?g:0;if(!(y?cacheHas(y,h):n(p,h,a))){l=i;while(--l){var b=c[l];if(!(b?cacheHas(b,h):n(e[l],h,a))){continue e}}if(y){y.push(h)}p.push(g)}}return p}function baseInverter(e,t,r,s){baseForOwn(e,(function(e,a,n){t(s,r(e),a,n)}));return s}function baseInvoke(e,t,s){t=castPath(t,e);e=parent(e,t);var a=e==null?e:e[toKey(last(t))];return a==null?r:apply(a,e,s)}function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==$}function baseIsArrayBuffer(e){return isObjectLike(e)&&baseGetTag(e)==pe}function baseIsDate(e){return isObjectLike(e)&&baseGetTag(e)==z}function baseIsEqual(e,t,r,s,a){if(e===t){return true}if(e==null||t==null||!isObjectLike(e)&&!isObjectLike(t)){return e!==e&&t!==t}return baseIsEqualDeep(e,t,r,s,baseIsEqual,a)}function baseIsEqualDeep(e,t,r,s,a,n){var o=Ms(e),i=Ms(t),l=o?G:qr(e),c=i?G:qr(t);l=l==$?te:l;c=c==$?te:c;var u=l==te,p=c==te,d=l==c;if(d&&Fs(e)){if(!Fs(t)){return false}o=true;u=false}if(d&&!u){n||(n=new Stack);return o||Vs(e)?equalArrays(e,t,r,s,a,n):equalByTag(e,t,l,r,s,a,n)}if(!(r&y)){var f=u&&yt.call(e,"__wrapped__"),g=p&&yt.call(t,"__wrapped__");if(f||g){var h=f?e.value():e,b=g?t.value():t;n||(n=new Stack);return a(h,b,r,s,n)}}if(!d){return false}n||(n=new Stack);return equalObjects(e,t,r,s,a,n)}function baseIsMap(e){return isObjectLike(e)&&qr(e)==Q}function baseIsMatch(e,t,s,a){var n=s.length,o=n,i=!a;if(e==null){return!o}e=st(e);while(n--){var l=s[n];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e)){return false}}while(++n<o){l=s[n];var c=l[0],u=e[c],p=l[1];if(i&&l[2]){if(u===r&&!(c in e)){return false}}else{var d=new Stack;if(a){var f=a(u,p,c,e,t,d)}if(!(f===r?baseIsEqual(p,u,y|g,a,d):f)){return false}}}return true}function baseIsNative(e){if(!isObject(e)||isMasked(e)){return false}var t=isFunction(e)?jt:Xe;return t.test(toSource(e))}function baseIsRegExp(e){return isObjectLike(e)&&baseGetTag(e)==ae}function baseIsSet(e){return isObjectLike(e)&&qr(e)==ne}function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!Zt[baseGetTag(e)]}function baseIteratee(e){if(typeof e=="function"){return e}if(e==null){return identity}if(typeof e=="object"){return Ms(e)?baseMatchesProperty(e[0],e[1]):baseMatches(e)}return property(e)}function baseKeys(e){if(!isPrototype(e)){return $t(e)}var t=[];for(var r in st(e)){if(yt.call(e,r)&&r!="constructor"){t.push(r)}}return t}function baseKeysIn(e){if(!isObject(e)){return nativeKeysIn(e)}var t=isPrototype(e),r=[];for(var s in e){if(!(s=="constructor"&&(t||!yt.call(e,s)))){r.push(s)}}return r}function baseLt(e,t){return e<t}function baseMap(e,r){var s=-1,a=isArrayLike(e)?t(e.length):[];Rr(e,(function(e,t,n){a[++s]=r(e,t,n)}));return a}function baseMatches(e){var t=getMatchData(e);if(t.length==1&&t[0][2]){return matchesStrictComparable(t[0][0],t[0][1])}return function(r){return r===e||baseIsMatch(r,e,t)}}function baseMatchesProperty(e,t){if(isKey(e)&&isStrictComparable(t)){return matchesStrictComparable(toKey(e),t)}return function(s){var a=get(s,e);return a===r&&a===t?hasIn(s,e):baseIsEqual(t,a,y|g)}}function baseMerge(e,t,s,a,n){if(e===t){return}Mr(t,(function(o,i){n||(n=new Stack);if(isObject(o)){baseMergeDeep(e,t,i,s,baseMerge,a,n)}else{var l=a?a(safeGet(e,i),o,i+"",e,t,n):r;if(l===r){l=o}assignMergeValue(e,i,l)}}),keysIn)}function baseMergeDeep(e,t,s,a,n,o,i){var l=safeGet(e,s),c=safeGet(t,s),u=i.get(c);if(u){assignMergeValue(e,s,u);return}var p=o?o(l,c,s+"",e,t,i):r;var d=p===r;if(d){var f=Ms(c),y=!f&&Fs(c),g=!f&&!y&&Vs(c);p=c;if(f||y||g){if(Ms(l)){p=l}else if(isArrayLikeObject(l)){p=copyArray(l)}else if(y){d=false;p=cloneBuffer(c,true)}else if(g){d=false;p=cloneTypedArray(c,true)}else{p=[]}}else if(isPlainObject(c)||Ts(c)){p=l;if(Ts(l)){p=toPlainObject(l)}else if(!isObject(l)||isFunction(l)){p=initCloneObject(c)}}else{d=false}}if(d){i.set(c,p);n(p,c,a,o,i);i["delete"](c)}assignMergeValue(e,s,p)}function baseNth(e,t){var s=e.length;if(!s){return}t+=t<0?s:0;return isIndex(t,s)?e[t]:r}function baseOrderBy(e,t,r){if(t.length){t=arrayMap(t,(function(e){if(Ms(e)){return function(t){return baseGet(t,e.length===1?e[0]:e)}}return e}))}else{t=[identity]}var s=-1;t=arrayMap(t,baseUnary(getIteratee()));var a=baseMap(e,(function(e,r,a){var n=arrayMap(t,(function(t){return t(e)}));return{criteria:n,index:++s,value:e}}));return baseSortBy(a,(function(e,t){return compareMultiple(e,t,r)}))}function basePick(e,t){return basePickBy(e,t,(function(t,r){return hasIn(e,r)}))}function basePickBy(e,t,r){var s=-1,a=t.length,n={};while(++s<a){var o=t[s],i=baseGet(e,o);if(r(i,o)){baseSet(n,castPath(o,e),i)}}return n}function basePropertyDeep(e){return function(t){return baseGet(t,e)}}function basePullAll(e,t,r,s){var a=s?baseIndexOfWith:baseIndexOf,n=-1,o=t.length,i=e;if(e===t){t=copyArray(t)}if(r){i=arrayMap(e,baseUnary(r))}while(++n<o){var l=0,c=t[n],u=r?r(c):c;while((l=a(i,u,l,s))>-1){if(i!==e){Ct.call(i,l,1)}Ct.call(e,l,1)}}return e}function basePullAt(e,t){var r=e?t.length:0,s=r-1;while(r--){var a=t[r];if(r==s||a!==n){var n=a;if(isIndex(a)){Ct.call(e,a,1)}else{baseUnset(e,a)}}}return e}function baseRandom(e,t){return e+Lt(Yt()*(t-e+1))}function baseRange(e,r,s,a){var n=-1,o=Gt(Ft((r-e)/(s||1)),0),i=t(o);while(o--){i[a?o:++n]=e;e+=s}return i}function baseRepeat(e,t){var r="";if(!e||t<1||t>N){return r}do{if(t%2){r+=e}t=Lt(t/2);if(t){e+=e}}while(t);return r}function baseRest(e,t){return Xr(overRest(e,t,identity),e+"")}function baseSample(e){return arraySample(values(e))}function baseSampleSize(e,t){var r=values(e);return shuffleSelf(r,baseClamp(t,0,r.length))}function baseSet(e,t,s,a){if(!isObject(e)){return e}t=castPath(t,e);var n=-1,o=t.length,i=o-1,l=e;while(l!=null&&++n<o){var c=toKey(t[n]),u=s;if(c==="__proto__"||c==="constructor"||c==="prototype"){return e}if(n!=i){var p=l[c];u=a?a(p,c,l):r;if(u===r){u=isObject(p)?p:isIndex(t[n+1])?[]:{}}}assignValue(l,c,u);l=l[c]}return e}var Fr=!pr?identity:function(e,t){pr.set(e,t);return e};var Lr=!Rt?identity:function(e,t){return Rt(e,"toString",{configurable:true,enumerable:false,value:constant(t),writable:true})};function baseShuffle(e){return shuffleSelf(values(e))}function baseSlice(e,r,s){var a=-1,n=e.length;if(r<0){r=-r>n?0:n+r}s=s>n?n:s;if(s<0){s+=n}n=r>s?0:s-r>>>0;r>>>=0;var o=t(n);while(++a<n){o[a]=e[a+r]}return o}function baseSome(e,t){var r;Rr(e,(function(e,s,a){r=t(e,s,a);return!r}));return!!r}function baseSortedIndex(e,t,r){var s=0,a=e==null?s:e.length;if(typeof t=="number"&&t===t&&a<=W){while(s<a){var n=s+a>>>1,o=e[n];if(o!==null&&!isSymbol(o)&&(r?o<=t:o<t)){s=n+1}else{a=n}}return a}return baseSortedIndexBy(e,t,identity,r)}function baseSortedIndexBy(e,t,s,a){var n=0,o=e==null?0:e.length;if(o===0){return 0}t=s(t);var i=t!==t,l=t===null,c=isSymbol(t),u=t===r;while(n<o){var p=Lt((n+o)/2),d=s(e[p]),f=d!==r,y=d===null,g=d===d,h=isSymbol(d);if(i){var b=a||g}else if(u){b=g&&(a||f)}else if(l){b=g&&f&&(a||!y)}else if(c){b=g&&f&&!y&&(a||!h)}else if(y||h){b=false}else{b=a?d<=t:d<t}if(b){n=p+1}else{o=p}}return zt(o,U)}function baseSortedUniq(e,t){var r=-1,s=e.length,a=0,n=[];while(++r<s){var o=e[r],i=t?t(o):o;if(!r||!eq(i,l)){var l=i;n[a++]=o===0?0:o}}return n}function baseToNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return L}return+e}function baseToString(e){if(typeof e=="string"){return e}if(Ms(e)){return arrayMap(e,baseToString)+""}if(isSymbol(e)){return Or?Or.call(e):""}var t=e+"";return t=="0"&&1/e==-M?"-0":t}function baseUniq(e,t,r){var s=-1,n=arrayIncludes,o=e.length,i=true,l=[],c=l;if(r){i=false;n=arrayIncludesWith}else if(o>=a){var u=t?null:Wr(e);if(u){return setToArray(u)}i=false;n=cacheHas;c=new SetCache}else{c=t?[]:l}e:while(++s<o){var p=e[s],d=t?t(p):p;p=r||p!==0?p:0;if(i&&d===d){var f=c.length;while(f--){if(c[f]===d){continue e}}if(t){c.push(d)}l.push(p)}else if(!n(c,d,r)){if(c!==l){c.push(d)}l.push(p)}}return l}function baseUnset(e,t){t=castPath(t,e);e=parent(e,t);return e==null||delete e[toKey(last(t))]}function baseUpdate(e,t,r,s){return baseSet(e,t,r(baseGet(e,t)),s)}function baseWhile(e,t,r,s){var a=e.length,n=s?a:-1;while((s?n--:++n<a)&&t(e[n],n,e)){}return r?baseSlice(e,s?0:n,s?n+1:a):baseSlice(e,s?n+1:0,s?a:n)}function baseWrapperValue(e,t){var r=e;if(r instanceof LazyWrapper){r=r.value()}return arrayReduce(t,(function(e,t){return t.func.apply(t.thisArg,arrayPush([e],t.args))}),r)}function baseXor(e,r,s){var a=e.length;if(a<2){return a?baseUniq(e[0]):[]}var n=-1,o=t(a);while(++n<a){var i=e[n],l=-1;while(++l<a){if(l!=n){o[n]=baseDifference(o[n]||i,e[l],r,s)}}}return baseUniq(baseFlatten(o,1),r,s)}function baseZipObject(e,t,s){var a=-1,n=e.length,o=t.length,i={};while(++a<n){var l=a<o?t[a]:r;s(i,e[a],l)}return i}function castArrayLikeObject(e){return isArrayLikeObject(e)?e:[]}function castFunction(e){return typeof e=="function"?e:identity}function castPath(e,t){if(Ms(e)){return e}return isKey(e,t)?[e]:Yr(toString(e))}var Br=baseRest;function castSlice(e,t,s){var a=e.length;s=s===r?a:s;return!t&&s>=a?e:baseSlice(e,t,s)}var Ur=Tt||function(e){return cr.clearTimeout(e)};function cloneBuffer(e,t){if(t){return e.slice()}var r=e.length,s=St?St(r):new e.constructor(r);e.copy(s);return s}function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new _t(t).set(new _t(e));return t}function cloneDataView(e,t){var r=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function cloneRegExp(e){var t=new e.constructor(e.source,He.exec(e));t.lastIndex=e.lastIndex;return t}function cloneSymbol(e){return Pr?st(Pr.call(e)):{}}function cloneTypedArray(e,t){var r=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function compareAscending(e,t){if(e!==t){var s=e!==r,a=e===null,n=e===e,o=isSymbol(e);var i=t!==r,l=t===null,c=t===t,u=isSymbol(t);if(!l&&!u&&!o&&e>t||o&&i&&c&&!l&&!u||a&&i&&c||!s&&c||!n){return 1}if(!a&&!o&&!u&&e<t||u&&s&&n&&!a&&!o||l&&s&&n||!i&&n||!c){return-1}}return 0}function compareMultiple(e,t,r){var s=-1,a=e.criteria,n=t.criteria,o=a.length,i=r.length;while(++s<o){var l=compareAscending(a[s],n[s]);if(l){if(s>=i){return l}var c=r[s];return l*(c=="desc"?-1:1)}}return e.index-t.index}function composeArgs(e,r,s,a){var n=-1,o=e.length,i=s.length,l=-1,c=r.length,u=Gt(o-i,0),p=t(c+u),d=!a;while(++l<c){p[l]=r[l]}while(++n<i){if(d||n<o){p[s[n]]=e[n]}}while(u--){p[l++]=e[n++]}return p}function composeArgsRight(e,r,s,a){var n=-1,o=e.length,i=-1,l=s.length,c=-1,u=r.length,p=Gt(o-l,0),d=t(p+u),f=!a;while(++n<p){d[n]=e[n]}var y=n;while(++c<u){d[y+c]=r[c]}while(++i<l){if(f||n<o){d[y+s[i]]=e[n++]}}return d}function copyArray(e,r){var s=-1,a=e.length;r||(r=t(a));while(++s<a){r[s]=e[s]}return r}function copyObject(e,t,s,a){var n=!s;s||(s={});var o=-1,i=t.length;while(++o<i){var l=t[o];var c=a?a(s[l],e[l],l,s,e):r;if(c===r){c=e[l]}if(n){baseAssignValue(s,l,c)}else{assignValue(s,l,c)}}return s}function copySymbols(e,t){return copyObject(e,$r(e),t)}function copySymbolsIn(e,t){return copyObject(e,Gr(e),t)}function createAggregator(e,t){return function(r,s){var a=Ms(r)?arrayAggregator:baseAggregator,n=t?t():{};return a(r,e,getIteratee(s,2),n)}}function createAssigner(e){return baseRest((function(t,s){var a=-1,n=s.length,o=n>1?s[n-1]:r,i=n>2?s[2]:r;o=e.length>3&&typeof o=="function"?(n--,o):r;if(i&&isIterateeCall(s[0],s[1],i)){o=n<3?r:o;n=1}t=st(t);while(++a<n){var l=s[a];if(l){e(t,l,a,o)}}return t}))}function createBaseEach(e,t){return function(r,s){if(r==null){return r}if(!isArrayLike(r)){return e(r,s)}var a=r.length,n=t?a:-1,o=st(r);while(t?n--:++n<a){if(s(o[n],n,o)===false){break}}return r}}function createBaseFor(e){return function(t,r,s){var a=-1,n=st(t),o=s(t),i=o.length;while(i--){var l=o[e?i:++a];if(r(n[l],l,n)===false){break}}return t}}function createBind(e,t,r){var s=t&h,a=createCtor(e);function wrapper(){var t=this&&this!==cr&&this instanceof wrapper?a:e;return t.apply(s?r:this,arguments)}return wrapper}function createCaseFirst(e){return function(t){t=toString(t);var s=hasUnicode(t)?stringToArray(t):r;var a=s?s[0]:t.charAt(0);var n=s?castSlice(s,1).join(""):t.slice(1);return a[e]()+n}}function createCompounder(e){return function(t){return arrayReduce(words(deburr(t).replace(qt,"")),e,"")}}function createCtor(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Ar(e.prototype),s=e.apply(r,t);return isObject(s)?s:r}}function createCurry(e,s,a){var n=createCtor(e);function wrapper(){var o=arguments.length,i=t(o),l=o,c=getHolder(wrapper);while(l--){i[l]=arguments[l]}var u=o<3&&i[0]!==c&&i[o-1]!==c?[]:replaceHolders(i,c);o-=u.length;if(o<a){return createRecurry(e,s,createHybrid,wrapper.placeholder,r,i,u,r,r,a-o)}var p=this&&this!==cr&&this instanceof wrapper?n:e;return apply(p,this,i)}return wrapper}function createFind(e){return function(t,s,a){var n=st(t);if(!isArrayLike(t)){var o=getIteratee(s,3);t=keys(t);s=function(e){return o(n[e],e,n)}}var i=e(t,s,a);return i>-1?n[o?t[i]:i]:r}}function createFlow(e){return flatRest((function(t){var s=t.length,a=s,n=LodashWrapper.prototype.thru;if(e){t.reverse()}while(a--){var i=t[a];if(typeof i!="function"){throw new ot(o)}if(n&&!l&&getFuncName(i)=="wrapper"){var l=new LodashWrapper([],true)}}a=l?a:s;while(++a<s){i=t[a];var c=getFuncName(i),u=c=="wrapper"?Vr(i):r;if(u&&isLaziable(u[0])&&u[1]==(_|v|E|S)&&!u[4].length&&u[9]==1){l=l[getFuncName(u[0])].apply(l,u[3])}else{l=i.length==1&&isLaziable(i)?l[c]():l.thru(i)}}return function(){var e=arguments,r=e[0];if(l&&e.length==1&&Ms(r)){return l.plant(r).value()}var a=0,n=s?t[a].apply(this,e):r;while(++a<s){n=t[a].call(this,n)}return n}}))}function createHybrid(e,s,a,n,o,i,l,c,u,p){var d=s&_,f=s&h,y=s&b,g=s&(v|j),x=s&k,E=y?r:createCtor(e);function wrapper(){var r=arguments.length,h=t(r),b=r;while(b--){h[b]=arguments[b]}if(g){var v=getHolder(wrapper),j=countHolders(h,v)}if(n){h=composeArgs(h,n,o,g)}if(i){h=composeArgsRight(h,i,l,g)}r-=j;if(g&&r<p){var w=replaceHolders(h,v);return createRecurry(e,s,createHybrid,wrapper.placeholder,a,h,w,c,u,p-r)}var _=f?a:this,S=y?_[e]:e;r=h.length;if(c){h=reorder(h,c)}else if(x&&r>1){h.reverse()}if(d&&u<r){h.length=u}if(this&&this!==cr&&this instanceof wrapper){S=E||createCtor(S)}return S.apply(_,h)}return wrapper}function createInverter(e,t){return function(r,s){return baseInverter(r,e,t(s),{})}}function createMathOperation(e,t){return function(s,a){var n;if(s===r&&a===r){return t}if(s!==r){n=s}if(a!==r){if(n===r){return a}if(typeof s=="string"||typeof a=="string"){s=baseToString(s);a=baseToString(a)}else{s=baseToNumber(s);a=baseToNumber(a)}n=e(s,a)}return n}}function createOver(e){return flatRest((function(t){t=arrayMap(t,baseUnary(getIteratee()));return baseRest((function(r){var s=this;return e(t,(function(e){return apply(e,s,r)}))}))}))}function createPadding(e,t){t=t===r?" ":baseToString(t);var s=t.length;if(s<2){return s?baseRepeat(t,e):t}var a=baseRepeat(t,Ft(e/stringSize(t)));return hasUnicode(t)?castSlice(stringToArray(a),0,e).join(""):a.slice(0,e)}function createPartial(e,r,s,a){var n=r&h,o=createCtor(e);function wrapper(){var r=-1,i=arguments.length,l=-1,c=a.length,u=t(c+i),p=this&&this!==cr&&this instanceof wrapper?o:e;while(++l<c){u[l]=a[l]}while(i--){u[l++]=arguments[++r]}return apply(p,n?s:this,u)}return wrapper}function createRange(e){return function(t,s,a){if(a&&typeof a!="number"&&isIterateeCall(t,s,a)){s=a=r}t=toFinite(t);if(s===r){s=t;t=0}else{s=toFinite(s)}a=a===r?t<s?1:-1:toFinite(a);return baseRange(t,s,a,e)}}function createRelationalOperation(e){return function(t,r){if(!(typeof t=="string"&&typeof r=="string")){t=toNumber(t);r=toNumber(r)}return e(t,r)}}function createRecurry(e,t,s,a,n,o,i,l,c,u){var p=t&v,d=p?i:r,f=p?r:i,y=p?o:r,g=p?r:o;t|=p?E:w;t&=~(p?w:E);if(!(t&x)){t&=~(h|b)}var j=[e,t,n,y,d,g,f,l,c,u];var _=s.apply(r,j);if(isLaziable(e)){zr(_,j)}_.placeholder=a;return setWrapToString(_,e,t)}function createRound(e){var t=rt[e];return function(e,r){e=toNumber(e);r=r==null?0:zt(toInteger(r),292);if(r&&Wt(e)){var s=(toString(e)+"e").split("e"),a=t(s[0]+"e"+(+s[1]+r));s=(toString(a)+"e").split("e");return+(s[0]+"e"+(+s[1]-r))}return t(e)}}var Wr=!(ir&&1/setToArray(new ir([,-0]))[1]==M)?noop:function(e){return new ir(e)};function createToPairs(e){return function(t){var r=qr(t);if(r==Q){return mapToArray(t)}if(r==ne){return setToPairs(t)}return baseToPairs(t,e(t))}}function createWrap(e,t,s,a,n,i,l,c){var u=t&b;if(!u&&typeof e!="function"){throw new ot(o)}var p=a?a.length:0;if(!p){t&=~(E|w);a=n=r}l=l===r?l:Gt(toInteger(l),0);c=c===r?c:toInteger(c);p-=n?n.length:0;if(t&w){var d=a,f=n;a=n=r}var y=u?r:Vr(e);var g=[e,t,s,a,n,d,f,i,l,c];if(y){mergeData(g,y)}e=g[0];t=g[1];s=g[2];a=g[3];n=g[4];c=g[9]=g[9]===r?u?0:e.length:Gt(g[9]-p,0);if(!c&&t&(v|j)){t&=~(v|j)}if(!t||t==h){var x=createBind(e,t,s)}else if(t==v||t==j){x=createCurry(e,t,c)}else if((t==E||t==(h|E))&&!n.length){x=createPartial(e,t,s,a)}else{x=createHybrid.apply(r,g)}var _=y?Fr:zr;return setWrapToString(_(x,g),e,t)}function customDefaultsAssignIn(e,t,s,a){if(e===r||eq(e,pt[s])&&!yt.call(a,s)){return t}return e}function customDefaultsMerge(e,t,s,a,n,o){if(isObject(e)&&isObject(t)){o.set(t,e);baseMerge(e,t,r,customDefaultsMerge,o);o["delete"](t)}return e}function customOmitClone(e){return isPlainObject(e)?r:e}function equalArrays(e,t,s,a,n,o){var i=s&y,l=e.length,c=t.length;if(l!=c&&!(i&&c>l)){return false}var u=o.get(e);var p=o.get(t);if(u&&p){return u==t&&p==e}var d=-1,f=true,h=s&g?new SetCache:r;o.set(e,t);o.set(t,e);while(++d<l){var b=e[d],x=t[d];if(a){var v=i?a(x,b,d,t,e,o):a(b,x,d,e,t,o)}if(v!==r){if(v){continue}f=false;break}if(h){if(!arraySome(t,(function(e,t){if(!cacheHas(h,t)&&(b===e||n(b,e,s,a,o))){return h.push(t)}}))){f=false;break}}else if(!(b===x||n(b,x,s,a,o))){f=false;break}}o["delete"](e);o["delete"](t);return f}function equalByTag(e,t,r,s,a,n,o){switch(r){case de:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset){return false}e=e.buffer;t=t.buffer;case pe:if(e.byteLength!=t.byteLength||!n(new _t(e),new _t(t))){return false}return true;case H:case z:case Z:return eq(+e,+t);case X:return e.name==t.name&&e.message==t.message;case ae:case oe:return e==t+"";case Q:var i=mapToArray;case ne:var l=s&y;i||(i=setToArray);if(e.size!=t.size&&!l){return false}var c=o.get(e);if(c){return c==t}s|=g;o.set(e,t);var u=equalArrays(i(e),i(t),s,a,n,o);o["delete"](e);return u;case ie:if(Pr){return Pr.call(e)==Pr.call(t)}}return false}function equalObjects(e,t,s,a,n,o){var i=s&y,l=getAllKeys(e),c=l.length,u=getAllKeys(t),p=u.length;if(c!=p&&!i){return false}var d=c;while(d--){var f=l[d];if(!(i?f in t:yt.call(t,f))){return false}}var g=o.get(e);var h=o.get(t);if(g&&h){return g==t&&h==e}var b=true;o.set(e,t);o.set(t,e);var x=i;while(++d<c){f=l[d];var v=e[f],j=t[f];if(a){var E=i?a(j,v,f,t,e,o):a(v,j,f,e,t,o)}if(!(E===r?v===j||n(v,j,s,a,o):E)){b=false;break}x||(x=f=="constructor")}if(b&&!x){var w=e.constructor,_=t.constructor;if(w!=_&&("constructor"in e&&"constructor"in t)&&!(typeof w=="function"&&w instanceof w&&typeof _=="function"&&_ instanceof _)){b=false}}o["delete"](e);o["delete"](t);return b}function flatRest(e){return Xr(overRest(e,r,flatten),e+"")}function getAllKeys(e){return baseGetAllKeys(e,keys,$r)}function getAllKeysIn(e){return baseGetAllKeys(e,keysIn,Gr)}var Vr=!pr?noop:function(e){return pr.get(e)};function getFuncName(e){var t=e.name+"",r=fr[t],s=yt.call(fr,t)?r.length:0;while(s--){var a=r[s],n=a.func;if(n==null||n==e){return a.name}}return t}function getHolder(e){var t=yt.call(lodash,"placeholder")?lodash:e;return t.placeholder}function getIteratee(){var e=lodash.iteratee||iteratee;e=e===iteratee?baseIteratee:e;return arguments.length?e(arguments[0],arguments[1]):e}function getMapData(e,t){var r=e.__data__;return isKeyable(t)?r[typeof t=="string"?"string":"hash"]:r.map}function getMatchData(e){var t=keys(e),r=t.length;while(r--){var s=t[r],a=e[s];t[r]=[s,a,isStrictComparable(a)]}return t}function getNative(e,t){var s=getValue(e,t);return baseIsNative(s)?s:r}function getRawTag(e){var t=yt.call(e,At),s=e[At];try{e[At]=r;var a=true}catch(e){}var n=bt.call(e);if(a){if(t){e[At]=s}else{delete e[At]}}return n}var $r=!Bt?stubArray:function(e){if(e==null){return[]}e=st(e);return arrayFilter(Bt(e),(function(t){return Dt.call(e,t)}))};var Gr=!Bt?stubArray:function(e){var t=[];while(e){arrayPush(t,$r(e));e=kt(e)}return t};var qr=baseGetTag;if(rr&&qr(new rr(new ArrayBuffer(1)))!=de||sr&&qr(new sr)!=Q||ar&&qr(ar.resolve())!=re||ir&&qr(new ir)!=ne||lr&&qr(new lr)!=ce){qr=function(e){var t=baseGetTag(e),s=t==te?e.constructor:r,a=s?toSource(s):"";if(a){switch(a){case yr:return de;case jr:return Q;case Sr:return re;case Ir:return ne;case Dr:return ce}}return t}}function getView(e,t,r){var s=-1,a=r.length;while(++s<a){var n=r[s],o=n.size;switch(n.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=zt(t,e+o);break;case"takeRight":e=Gt(e,t-o);break}}return{start:e,end:t}}function getWrapDetails(e){var t=e.match(Ue);return t?t[1].split(We):[]}function hasPath(e,t,r){t=castPath(t,e);var s=-1,a=t.length,n=false;while(++s<a){var o=toKey(t[s]);if(!(n=e!=null&&r(e,o))){break}e=e[o]}if(n||++s!=a){return n}a=e==null?0:e.length;return!!a&&isLength(a)&&isIndex(o,a)&&(Ms(e)||Ts(e))}function initCloneArray(e){var t=e.length,r=new e.constructor(t);if(t&&typeof e[0]=="string"&&yt.call(e,"index")){r.index=e.index;r.input=e.input}return r}function initCloneObject(e){return typeof e.constructor=="function"&&!isPrototype(e)?Ar(kt(e)):{}}function initCloneByTag(e,t,r){var s=e.constructor;switch(t){case pe:return cloneArrayBuffer(e);case H:case z:return new s(+e);case de:return cloneDataView(e,r);case fe:case ye:case me:case ge:case he:case be:case xe:case ve:case je:return cloneTypedArray(e,r);case Q:return new s;case Z:case oe:return new s(e);case ae:return cloneRegExp(e);case ne:return new s;case ie:return cloneSymbol(e)}}function insertWrapDetails(e,t){var r=t.length;if(!r){return e}var s=r-1;t[s]=(r>1?"& ":"")+t[s];t=t.join(r>2?", ":" ");return e.replace(Be,"{\n/* [wrapped with "+t+"] */\n")}function isFlattenable(e){return Ms(e)||Ts(e)||!!(Pt&&e&&e[Pt])}function isIndex(e,t){var r=typeof e;t=t==null?N:t;return!!t&&(r=="number"||r!="symbol"&&Je.test(e))&&(e>-1&&e%1==0&&e<t)}function isIterateeCall(e,t,r){if(!isObject(r)){return false}var s=typeof t;if(s=="number"?isArrayLike(r)&&isIndex(t,r.length):s=="string"&&t in r){return eq(r[t],e)}return false}function isKey(e,t){if(Ms(e)){return false}var r=typeof e;if(r=="number"||r=="symbol"||r=="boolean"||e==null||isSymbol(e)){return true}return Re.test(e)||!Ae.test(e)||t!=null&&e in st(t)}function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function isLaziable(e){var t=getFuncName(e),r=lodash[t];if(typeof r!="function"||!(t in LazyWrapper.prototype)){return false}if(e===r){return true}var s=Vr(r);return!!s&&e===s[0]}function isMasked(e){return!!ht&&ht in e}var Hr=dt?isFunction:stubFalse;function isPrototype(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||pt;return e===r}function isStrictComparable(e){return e===e&&!isObject(e)}function matchesStrictComparable(e,t){return function(s){if(s==null){return false}return s[e]===t&&(t!==r||e in st(s))}}function memoizeCapped(e){var t=memoize(e,(function(e){if(r.size===c){r.clear()}return e}));var r=t.cache;return t}function mergeData(e,t){var r=e[1],s=t[1],a=r|s,n=a<(h|b|_);var o=s==_&&r==v||s==_&&r==S&&e[7].length<=t[8]||s==(_|S)&&t[7].length<=t[8]&&r==v;if(!(n||o)){return e}if(s&h){e[2]=t[2];a|=r&h?0:x}var i=t[3];if(i){var l=e[3];e[3]=l?composeArgs(l,i,t[4]):i;e[4]=l?replaceHolders(e[3],u):t[4]}i=t[5];if(i){l=e[5];e[5]=l?composeArgsRight(l,i,t[6]):i;e[6]=l?replaceHolders(e[5],u):t[6]}i=t[7];if(i){e[7]=i}if(s&_){e[8]=e[8]==null?t[8]:zt(e[8],t[8])}if(e[9]==null){e[9]=t[9]}e[0]=t[0];e[1]=a;return e}function nativeKeysIn(e){var t=[];if(e!=null){for(var r in st(e)){t.push(r)}}return t}function objectToString(e){return bt.call(e)}function overRest(e,s,a){s=Gt(s===r?e.length-1:s,0);return function(){var r=arguments,n=-1,o=Gt(r.length-s,0),i=t(o);while(++n<o){i[n]=r[s+n]}n=-1;var l=t(s+1);while(++n<s){l[n]=r[n]}l[s]=a(i);return apply(e,this,l)}}function parent(e,t){return t.length<2?e:baseGet(e,baseSlice(t,0,-1))}function reorder(e,t){var s=e.length,a=zt(t.length,s),n=copyArray(e);while(a--){var o=t[a];e[a]=isIndex(o,s)?n[o]:r}return e}function safeGet(e,t){if(t==="constructor"&&typeof e[t]==="function"){return}if(t=="__proto__"){return}return e[t]}var zr=shortOut(Fr);var Kr=Nt||function(e,t){return cr.setTimeout(e,t)};var Xr=shortOut(Lr);function setWrapToString(e,t,r){var s=t+"";return Xr(e,insertWrapDetails(s,updateWrapDetails(getWrapDetails(s),r)))}function shortOut(e){var t=0,s=0;return function(){var a=Kt(),n=P-(a-s);s=a;if(n>0){if(++t>=C){return arguments[0]}}else{t=0}return e.apply(r,arguments)}}function shuffleSelf(e,t){var s=-1,a=e.length,n=a-1;t=t===r?a:t;while(++s<t){var o=baseRandom(s,n),i=e[o];e[o]=e[s];e[s]=i}e.length=t;return e}var Yr=memoizeCapped((function(e){var t=[];if(e.charCodeAt(0)===46){t.push("")}e.replace(Te,(function(e,r,s,a){t.push(s?a.replace(Ge,"$1"):r||e)}));return t}));function toKey(e){if(typeof e=="string"||isSymbol(e)){return e}var t=e+"";return t=="0"&&1/e==-M?"-0":t}function toSource(e){if(e!=null){try{return ft.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function updateWrapDetails(e,t){arrayEach(V,(function(r){var s="_."+r[0];if(t&r[1]&&!arrayIncludes(e,s)){e.push(s)}}));return e.sort()}function wrapperClone(e){if(e instanceof LazyWrapper){return e.clone()}var t=new LodashWrapper(e.__wrapped__,e.__chain__);t.__actions__=copyArray(e.__actions__);t.__index__=e.__index__;t.__values__=e.__values__;return t}function chunk(e,s,a){if(a?isIterateeCall(e,s,a):s===r){s=1}else{s=Gt(toInteger(s),0)}var n=e==null?0:e.length;if(!n||s<1){return[]}var o=0,i=0,l=t(Ft(n/s));while(o<n){l[i++]=baseSlice(e,o,o+=s)}return l}function compact(e){var t=-1,r=e==null?0:e.length,s=0,a=[];while(++t<r){var n=e[t];if(n){a[s++]=n}}return a}function concat(){var e=arguments.length;if(!e){return[]}var r=t(e-1),s=arguments[0],a=e;while(a--){r[a-1]=arguments[a]}return arrayPush(Ms(s)?copyArray(s):[s],baseFlatten(r,1))}var Jr=baseRest((function(e,t){return isArrayLikeObject(e)?baseDifference(e,baseFlatten(t,1,isArrayLikeObject,true)):[]}));var Qr=baseRest((function(e,t){var s=last(t);if(isArrayLikeObject(s)){s=r}return isArrayLikeObject(e)?baseDifference(e,baseFlatten(t,1,isArrayLikeObject,true),getIteratee(s,2)):[]}));var Zr=baseRest((function(e,t){var s=last(t);if(isArrayLikeObject(s)){s=r}return isArrayLikeObject(e)?baseDifference(e,baseFlatten(t,1,isArrayLikeObject,true),r,s):[]}));function drop(e,t,s){var a=e==null?0:e.length;if(!a){return[]}t=s||t===r?1:toInteger(t);return baseSlice(e,t<0?0:t,a)}function dropRight(e,t,s){var a=e==null?0:e.length;if(!a){return[]}t=s||t===r?1:toInteger(t);t=a-t;return baseSlice(e,0,t<0?0:t)}function dropRightWhile(e,t){return e&&e.length?baseWhile(e,getIteratee(t,3),true,true):[]}function dropWhile(e,t){return e&&e.length?baseWhile(e,getIteratee(t,3),true):[]}function fill(e,t,r,s){var a=e==null?0:e.length;if(!a){return[]}if(r&&typeof r!="number"&&isIterateeCall(e,t,r)){r=0;s=a}return baseFill(e,t,r,s)}function findIndex(e,t,r){var s=e==null?0:e.length;if(!s){return-1}var a=r==null?0:toInteger(r);if(a<0){a=Gt(s+a,0)}return baseFindIndex(e,getIteratee(t,3),a)}function findLastIndex(e,t,s){var a=e==null?0:e.length;if(!a){return-1}var n=a-1;if(s!==r){n=toInteger(s);n=s<0?Gt(a+n,0):zt(n,a-1)}return baseFindIndex(e,getIteratee(t,3),n,true)}function flatten(e){var t=e==null?0:e.length;return t?baseFlatten(e,1):[]}function flattenDeep(e){var t=e==null?0:e.length;return t?baseFlatten(e,M):[]}function flattenDepth(e,t){var s=e==null?0:e.length;if(!s){return[]}t=t===r?1:toInteger(t);return baseFlatten(e,t)}function fromPairs(e){var t=-1,r=e==null?0:e.length,s={};while(++t<r){var a=e[t];s[a[0]]=a[1]}return s}function head(e){return e&&e.length?e[0]:r}function indexOf(e,t,r){var s=e==null?0:e.length;if(!s){return-1}var a=r==null?0:toInteger(r);if(a<0){a=Gt(s+a,0)}return baseIndexOf(e,t,a)}function initial(e){var t=e==null?0:e.length;return t?baseSlice(e,0,-1):[]}var es=baseRest((function(e){var t=arrayMap(e,castArrayLikeObject);return t.length&&t[0]===e[0]?baseIntersection(t):[]}));var ts=baseRest((function(e){var t=last(e),s=arrayMap(e,castArrayLikeObject);if(t===last(s)){t=r}else{s.pop()}return s.length&&s[0]===e[0]?baseIntersection(s,getIteratee(t,2)):[]}));var rs=baseRest((function(e){var t=last(e),s=arrayMap(e,castArrayLikeObject);t=typeof t=="function"?t:r;if(t){s.pop()}return s.length&&s[0]===e[0]?baseIntersection(s,r,t):[]}));function join(e,t){return e==null?"":Vt.call(e,t)}function last(e){var t=e==null?0:e.length;return t?e[t-1]:r}function lastIndexOf(e,t,s){var a=e==null?0:e.length;if(!a){return-1}var n=a;if(s!==r){n=toInteger(s);n=n<0?Gt(a+n,0):zt(n,a-1)}return t===t?strictLastIndexOf(e,t,n):baseFindIndex(e,baseIsNaN,n,true)}function nth(e,t){return e&&e.length?baseNth(e,toInteger(t)):r}var ss=baseRest(pullAll);function pullAll(e,t){return e&&e.length&&t&&t.length?basePullAll(e,t):e}function pullAllBy(e,t,r){return e&&e.length&&t&&t.length?basePullAll(e,t,getIteratee(r,2)):e}function pullAllWith(e,t,s){return e&&e.length&&t&&t.length?basePullAll(e,t,r,s):e}var as=flatRest((function(e,t){var r=e==null?0:e.length,s=baseAt(e,t);basePullAt(e,arrayMap(t,(function(e){return isIndex(e,r)?+e:e})).sort(compareAscending));return s}));function remove(e,t){var r=[];if(!(e&&e.length)){return r}var s=-1,a=[],n=e.length;t=getIteratee(t,3);while(++s<n){var o=e[s];if(t(o,s,e)){r.push(o);a.push(s)}}basePullAt(e,a);return r}function reverse(e){return e==null?e:tr.call(e)}function slice(e,t,s){var a=e==null?0:e.length;if(!a){return[]}if(s&&typeof s!="number"&&isIterateeCall(e,t,s)){t=0;s=a}else{t=t==null?0:toInteger(t);s=s===r?a:toInteger(s)}return baseSlice(e,t,s)}function sortedIndex(e,t){return baseSortedIndex(e,t)}function sortedIndexBy(e,t,r){return baseSortedIndexBy(e,t,getIteratee(r,2))}function sortedIndexOf(e,t){var r=e==null?0:e.length;if(r){var s=baseSortedIndex(e,t);if(s<r&&eq(e[s],t)){return s}}return-1}function sortedLastIndex(e,t){return baseSortedIndex(e,t,true)}function sortedLastIndexBy(e,t,r){return baseSortedIndexBy(e,t,getIteratee(r,2),true)}function sortedLastIndexOf(e,t){var r=e==null?0:e.length;if(r){var s=baseSortedIndex(e,t,true)-1;if(eq(e[s],t)){return s}}return-1}function sortedUniq(e){return e&&e.length?baseSortedUniq(e):[]}function sortedUniqBy(e,t){return e&&e.length?baseSortedUniq(e,getIteratee(t,2)):[]}function tail(e){var t=e==null?0:e.length;return t?baseSlice(e,1,t):[]}function take(e,t,s){if(!(e&&e.length)){return[]}t=s||t===r?1:toInteger(t);return baseSlice(e,0,t<0?0:t)}function takeRight(e,t,s){var a=e==null?0:e.length;if(!a){return[]}t=s||t===r?1:toInteger(t);t=a-t;return baseSlice(e,t<0?0:t,a)}function takeRightWhile(e,t){return e&&e.length?baseWhile(e,getIteratee(t,3),false,true):[]}function takeWhile(e,t){return e&&e.length?baseWhile(e,getIteratee(t,3)):[]}var ns=baseRest((function(e){return baseUniq(baseFlatten(e,1,isArrayLikeObject,true))}));var os=baseRest((function(e){var t=last(e);if(isArrayLikeObject(t)){t=r}return baseUniq(baseFlatten(e,1,isArrayLikeObject,true),getIteratee(t,2))}));var is=baseRest((function(e){var t=last(e);t=typeof t=="function"?t:r;return baseUniq(baseFlatten(e,1,isArrayLikeObject,true),r,t)}));function uniq(e){return e&&e.length?baseUniq(e):[]}function uniqBy(e,t){return e&&e.length?baseUniq(e,getIteratee(t,2)):[]}function uniqWith(e,t){t=typeof t=="function"?t:r;return e&&e.length?baseUniq(e,r,t):[]}function unzip(e){if(!(e&&e.length)){return[]}var t=0;e=arrayFilter(e,(function(e){if(isArrayLikeObject(e)){t=Gt(e.length,t);return true}}));return baseTimes(t,(function(t){return arrayMap(e,baseProperty(t))}))}function unzipWith(e,t){if(!(e&&e.length)){return[]}var s=unzip(e);if(t==null){return s}return arrayMap(s,(function(e){return apply(t,r,e)}))}var ls=baseRest((function(e,t){return isArrayLikeObject(e)?baseDifference(e,t):[]}));var cs=baseRest((function(e){return baseXor(arrayFilter(e,isArrayLikeObject))}));var us=baseRest((function(e){var t=last(e);if(isArrayLikeObject(t)){t=r}return baseXor(arrayFilter(e,isArrayLikeObject),getIteratee(t,2))}));var ps=baseRest((function(e){var t=last(e);t=typeof t=="function"?t:r;return baseXor(arrayFilter(e,isArrayLikeObject),r,t)}));var ds=baseRest(unzip);function zipObject(e,t){return baseZipObject(e||[],t||[],assignValue)}function zipObjectDeep(e,t){return baseZipObject(e||[],t||[],baseSet)}var fs=baseRest((function(e){var t=e.length,s=t>1?e[t-1]:r;s=typeof s=="function"?(e.pop(),s):r;return unzipWith(e,s)}));function chain(e){var t=lodash(e);t.__chain__=true;return t}function tap(e,t){t(e);return e}function thru(e,t){return t(e)}var ys=flatRest((function(e){var t=e.length,s=t?e[0]:0,a=this.__wrapped__,interceptor=function(t){return baseAt(t,e)};if(t>1||this.__actions__.length||!(a instanceof LazyWrapper)||!isIndex(s)){return this.thru(interceptor)}a=a.slice(s,+s+(t?1:0));a.__actions__.push({func:thru,args:[interceptor],thisArg:r});return new LodashWrapper(a,this.__chain__).thru((function(e){if(t&&!e.length){e.push(r)}return e}))}));function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){if(this.__values__===r){this.__values__=toArray(this.value())}var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function wrapperToIterator(){return this}function wrapperPlant(e){var t,s=this;while(s instanceof baseLodash){var a=wrapperClone(s);a.__index__=0;a.__values__=r;if(t){n.__wrapped__=a}else{t=a}var n=a;s=s.__wrapped__}n.__wrapped__=e;return t}function wrapperReverse(){var e=this.__wrapped__;if(e instanceof LazyWrapper){var t=e;if(this.__actions__.length){t=new LazyWrapper(this)}t=t.reverse();t.__actions__.push({func:thru,args:[reverse],thisArg:r});return new LodashWrapper(t,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var ms=createAggregator((function(e,t,r){if(yt.call(e,r)){++e[r]}else{baseAssignValue(e,r,1)}}));function every(e,t,s){var a=Ms(e)?arrayEvery:baseEvery;if(s&&isIterateeCall(e,t,s)){t=r}return a(e,getIteratee(t,3))}function filter(e,t){var r=Ms(e)?arrayFilter:baseFilter;return r(e,getIteratee(t,3))}var gs=createFind(findIndex);var hs=createFind(findLastIndex);function flatMap(e,t){return baseFlatten(map(e,t),1)}function flatMapDeep(e,t){return baseFlatten(map(e,t),M)}function flatMapDepth(e,t,s){s=s===r?1:toInteger(s);return baseFlatten(map(e,t),s)}function forEach(e,t){var r=Ms(e)?arrayEach:Rr;return r(e,getIteratee(t,3))}function forEachRight(e,t){var r=Ms(e)?arrayEachRight:Tr;return r(e,getIteratee(t,3))}var bs=createAggregator((function(e,t,r){if(yt.call(e,r)){e[r].push(t)}else{baseAssignValue(e,r,[t])}}));function includes(e,t,r,s){e=isArrayLike(e)?e:values(e);r=r&&!s?toInteger(r):0;var a=e.length;if(r<0){r=Gt(a+r,0)}return isString(e)?r<=a&&e.indexOf(t,r)>-1:!!a&&baseIndexOf(e,t,r)>-1}var xs=baseRest((function(e,r,s){var a=-1,n=typeof r=="function",o=isArrayLike(e)?t(e.length):[];Rr(e,(function(e){o[++a]=n?apply(r,e,s):baseInvoke(e,r,s)}));return o}));var vs=createAggregator((function(e,t,r){baseAssignValue(e,r,t)}));function map(e,t){var r=Ms(e)?arrayMap:baseMap;return r(e,getIteratee(t,3))}function orderBy(e,t,s,a){if(e==null){return[]}if(!Ms(t)){t=t==null?[]:[t]}s=a?r:s;if(!Ms(s)){s=s==null?[]:[s]}return baseOrderBy(e,t,s)}var js=createAggregator((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));function reduce(e,t,r){var s=Ms(e)?arrayReduce:baseReduce,a=arguments.length<3;return s(e,getIteratee(t,4),r,a,Rr)}function reduceRight(e,t,r){var s=Ms(e)?arrayReduceRight:baseReduce,a=arguments.length<3;return s(e,getIteratee(t,4),r,a,Tr)}function reject(e,t){var r=Ms(e)?arrayFilter:baseFilter;return r(e,negate(getIteratee(t,3)))}function sample(e){var t=Ms(e)?arraySample:baseSample;return t(e)}function sampleSize(e,t,s){if(s?isIterateeCall(e,t,s):t===r){t=1}else{t=toInteger(t)}var a=Ms(e)?arraySampleSize:baseSampleSize;return a(e,t)}function shuffle(e){var t=Ms(e)?arrayShuffle:baseShuffle;return t(e)}function size(e){if(e==null){return 0}if(isArrayLike(e)){return isString(e)?stringSize(e):e.length}var t=qr(e);if(t==Q||t==ne){return e.size}return baseKeys(e).length}function some(e,t,s){var a=Ms(e)?arraySome:baseSome;if(s&&isIterateeCall(e,t,s)){t=r}return a(e,getIteratee(t,3))}var Es=baseRest((function(e,t){if(e==null){return[]}var r=t.length;if(r>1&&isIterateeCall(e,t[0],t[1])){t=[]}else if(r>2&&isIterateeCall(t[0],t[1],t[2])){t=[t[0]]}return baseOrderBy(e,baseFlatten(t,1),[])}));var ws=Mt||function(){return cr.Date.now()};function after(e,t){if(typeof t!="function"){throw new ot(o)}e=toInteger(e);return function(){if(--e<1){return t.apply(this,arguments)}}}function ary(e,t,s){t=s?r:t;t=e&&t==null?e.length:t;return createWrap(e,_,r,r,r,r,t)}function before(e,t){var s;if(typeof t!="function"){throw new ot(o)}e=toInteger(e);return function(){if(--e>0){s=t.apply(this,arguments)}if(e<=1){t=r}return s}}var _s=baseRest((function(e,t,r){var s=h;if(r.length){var a=replaceHolders(r,getHolder(_s));s|=E}return createWrap(e,s,t,r,a)}));var Ss=baseRest((function(e,t,r){var s=h|b;if(r.length){var a=replaceHolders(r,getHolder(Ss));s|=E}return createWrap(t,s,e,r,a)}));function curry(e,t,s){t=s?r:t;var a=createWrap(e,v,r,r,r,r,r,t);a.placeholder=curry.placeholder;return a}function curryRight(e,t,s){t=s?r:t;var a=createWrap(e,j,r,r,r,r,r,t);a.placeholder=curryRight.placeholder;return a}function debounce(e,t,s){var a,n,i,l,c,u,p=0,d=false,f=false,y=true;if(typeof e!="function"){throw new ot(o)}t=toNumber(t)||0;if(isObject(s)){d=!!s.leading;f="maxWait"in s;i=f?Gt(toNumber(s.maxWait)||0,t):i;y="trailing"in s?!!s.trailing:y}function invokeFunc(t){var s=a,o=n;a=n=r;p=t;l=e.apply(o,s);return l}function leadingEdge(e){p=e;c=Kr(timerExpired,t);return d?invokeFunc(e):l}function remainingWait(e){var r=e-u,s=e-p,a=t-r;return f?zt(a,i-s):a}function shouldInvoke(e){var s=e-u,a=e-p;return u===r||s>=t||s<0||f&&a>=i}function timerExpired(){var e=ws();if(shouldInvoke(e)){return trailingEdge(e)}c=Kr(timerExpired,remainingWait(e))}function trailingEdge(e){c=r;if(y&&a){return invokeFunc(e)}a=n=r;return l}function cancel(){if(c!==r){Ur(c)}p=0;a=u=n=c=r}function flush(){return c===r?l:trailingEdge(ws())}function debounced(){var e=ws(),s=shouldInvoke(e);a=arguments;n=this;u=e;if(s){if(c===r){return leadingEdge(u)}if(f){Ur(c);c=Kr(timerExpired,t);return invokeFunc(u)}}if(c===r){c=Kr(timerExpired,t)}return l}debounced.cancel=cancel;debounced.flush=flush;return debounced}var ks=baseRest((function(e,t){return baseDelay(e,1,t)}));var Is=baseRest((function(e,t,r){return baseDelay(e,toNumber(t)||0,r)}));function flip(e){return createWrap(e,k)}function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function"){throw new ot(o)}var memoized=function(){var r=arguments,s=t?t.apply(this,r):r[0],a=memoized.cache;if(a.has(s)){return a.get(s)}var n=e.apply(this,r);memoized.cache=a.set(s,n)||a;return n};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function negate(e){if(typeof e!="function"){throw new ot(o)}return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function once(e){return before(2,e)}var Ds=Br((function(e,t){t=t.length==1&&Ms(t[0])?arrayMap(t[0],baseUnary(getIteratee())):arrayMap(baseFlatten(t,1),baseUnary(getIteratee()));var r=t.length;return baseRest((function(s){var a=-1,n=zt(s.length,r);while(++a<n){s[a]=t[a].call(this,s[a])}return apply(e,this,s)}))}));var Cs=baseRest((function(e,t){var s=replaceHolders(t,getHolder(Cs));return createWrap(e,E,r,t,s)}));var Ps=baseRest((function(e,t){var s=replaceHolders(t,getHolder(Ps));return createWrap(e,w,r,t,s)}));var Os=flatRest((function(e,t){return createWrap(e,S,r,r,r,t)}));function rest(e,t){if(typeof e!="function"){throw new ot(o)}t=t===r?t:toInteger(t);return baseRest(e,t)}function spread(e,t){if(typeof e!="function"){throw new ot(o)}t=t==null?0:Gt(toInteger(t),0);return baseRest((function(r){var s=r[t],a=castSlice(r,0,t);if(s){arrayPush(a,s)}return apply(e,this,a)}))}function throttle(e,t,r){var s=true,a=true;if(typeof e!="function"){throw new ot(o)}if(isObject(r)){s="leading"in r?!!r.leading:s;a="trailing"in r?!!r.trailing:a}return debounce(e,t,{leading:s,maxWait:t,trailing:a})}function unary(e){return ary(e,1)}function wrap(e,t){return Cs(castFunction(t),e)}function castArray(){if(!arguments.length){return[]}var e=arguments[0];return Ms(e)?e:[e]}function clone(e){return baseClone(e,f)}function cloneWith(e,t){t=typeof t=="function"?t:r;return baseClone(e,f,t)}function cloneDeep(e){return baseClone(e,p|f)}function cloneDeepWith(e,t){t=typeof t=="function"?t:r;return baseClone(e,p|f,t)}function conformsTo(e,t){return t==null||baseConformsTo(e,t,keys(t))}function eq(e,t){return e===t||e!==e&&t!==t}var As=createRelationalOperation(baseGt);var Rs=createRelationalOperation((function(e,t){return e>=t}));var Ts=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&yt.call(e,"callee")&&!Dt.call(e,"callee")};var Ms=t.isArray;var Ns=mr?baseUnary(mr):baseIsArrayBuffer;function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}function isBoolean(e){return e===true||e===false||isObjectLike(e)&&baseGetTag(e)==H}var Fs=Ut||stubFalse;var Ls=gr?baseUnary(gr):baseIsDate;function isElement(e){return isObjectLike(e)&&e.nodeType===1&&!isPlainObject(e)}function isEmpty(e){if(e==null){return true}if(isArrayLike(e)&&(Ms(e)||typeof e=="string"||typeof e.splice=="function"||Fs(e)||Vs(e)||Ts(e))){return!e.length}var t=qr(e);if(t==Q||t==ne){return!e.size}if(isPrototype(e)){return!baseKeys(e).length}for(var r in e){if(yt.call(e,r)){return false}}return true}function isEqual(e,t){return baseIsEqual(e,t)}function isEqualWith(e,t,s){s=typeof s=="function"?s:r;var a=s?s(e,t):r;return a===r?baseIsEqual(e,t,r,s):!!a}function isError(e){if(!isObjectLike(e)){return false}var t=baseGetTag(e);return t==X||t==K||typeof e.message=="string"&&typeof e.name=="string"&&!isPlainObject(e)}function isFinite(e){return typeof e=="number"&&Wt(e)}function isFunction(e){if(!isObject(e)){return false}var t=baseGetTag(e);return t==Y||t==J||t==q||t==se}function isInteger(e){return typeof e=="number"&&e==toInteger(e)}function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=N}function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function isObjectLike(e){return e!=null&&typeof e=="object"}var Bs=hr?baseUnary(hr):baseIsMap;function isMatch(e,t){return e===t||baseIsMatch(e,t,getMatchData(t))}function isMatchWith(e,t,s){s=typeof s=="function"?s:r;return baseIsMatch(e,t,getMatchData(t),s)}function isNaN(e){return isNumber(e)&&e!=+e}function isNative(e){if(Hr(e)){throw new Ve(n)}return baseIsNative(e)}function isNull(e){return e===null}function isNil(e){return e==null}function isNumber(e){return typeof e=="number"||isObjectLike(e)&&baseGetTag(e)==Z}function isPlainObject(e){if(!isObjectLike(e)||baseGetTag(e)!=te){return false}var t=kt(e);if(t===null){return true}var r=yt.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ft.call(r)==xt}var Us=br?baseUnary(br):baseIsRegExp;function isSafeInteger(e){return isInteger(e)&&e>=-N&&e<=N}var Ws=xr?baseUnary(xr):baseIsSet;function isString(e){return typeof e=="string"||!Ms(e)&&isObjectLike(e)&&baseGetTag(e)==oe}function isSymbol(e){return typeof e=="symbol"||isObjectLike(e)&&baseGetTag(e)==ie}var Vs=vr?baseUnary(vr):baseIsTypedArray;function isUndefined(e){return e===r}function isWeakMap(e){return isObjectLike(e)&&qr(e)==ce}function isWeakSet(e){return isObjectLike(e)&&baseGetTag(e)==ue}var $s=createRelationalOperation(baseLt);var Gs=createRelationalOperation((function(e,t){return e<=t}));function toArray(e){if(!e){return[]}if(isArrayLike(e)){return isString(e)?stringToArray(e):copyArray(e)}if(Ot&&e[Ot]){return iteratorToArray(e[Ot]())}var t=qr(e),r=t==Q?mapToArray:t==ne?setToArray:values;return r(e)}function toFinite(e){if(!e){return e===0?e:0}e=toNumber(e);if(e===M||e===-M){var t=e<0?-1:1;return t*F}return e===e?e:0}function toInteger(e){var t=toFinite(e),r=t%1;return t===t?r?t-r:t:0}function toLength(e){return e?baseClamp(toInteger(e),0,B):0}function toNumber(e){if(typeof e=="number"){return e}if(isSymbol(e)){return L}if(isObject(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=isObject(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=baseTrim(e);var r=Ke.test(e);return r||Ye.test(e)?or(e.slice(2),r?2:8):ze.test(e)?L:+e}function toPlainObject(e){return copyObject(e,keysIn(e))}function toSafeInteger(e){return e?baseClamp(toInteger(e),-N,N):e===0?e:0}function toString(e){return e==null?"":baseToString(e)}var qs=createAssigner((function(e,t){if(isPrototype(t)||isArrayLike(t)){copyObject(t,keys(t),e);return}for(var r in t){if(yt.call(t,r)){assignValue(e,r,t[r])}}}));var Hs=createAssigner((function(e,t){copyObject(t,keysIn(t),e)}));var zs=createAssigner((function(e,t,r,s){copyObject(t,keysIn(t),e,s)}));var Ks=createAssigner((function(e,t,r,s){copyObject(t,keys(t),e,s)}));var Xs=flatRest(baseAt);function create(e,t){var r=Ar(e);return t==null?r:baseAssign(r,t)}var Ys=baseRest((function(e,t){e=st(e);var s=-1;var a=t.length;var n=a>2?t[2]:r;if(n&&isIterateeCall(t[0],t[1],n)){a=1}while(++s<a){var o=t[s];var i=keysIn(o);var l=-1;var c=i.length;while(++l<c){var u=i[l];var p=e[u];if(p===r||eq(p,pt[u])&&!yt.call(e,u)){e[u]=o[u]}}}return e}));var Js=baseRest((function(e){e.push(r,customDefaultsMerge);return apply(ra,r,e)}));function findKey(e,t){return baseFindKey(e,getIteratee(t,3),baseForOwn)}function findLastKey(e,t){return baseFindKey(e,getIteratee(t,3),baseForOwnRight)}function forIn(e,t){return e==null?e:Mr(e,getIteratee(t,3),keysIn)}function forInRight(e,t){return e==null?e:Nr(e,getIteratee(t,3),keysIn)}function forOwn(e,t){return e&&baseForOwn(e,getIteratee(t,3))}function forOwnRight(e,t){return e&&baseForOwnRight(e,getIteratee(t,3))}function functions(e){return e==null?[]:baseFunctions(e,keys(e))}function functionsIn(e){return e==null?[]:baseFunctions(e,keysIn(e))}function get(e,t,s){var a=e==null?r:baseGet(e,t);return a===r?s:a}function has(e,t){return e!=null&&hasPath(e,t,baseHas)}function hasIn(e,t){return e!=null&&hasPath(e,t,baseHasIn)}var Qs=createInverter((function(e,t,r){if(t!=null&&typeof t.toString!="function"){t=bt.call(t)}e[t]=r}),constant(identity));var Zs=createInverter((function(e,t,r){if(t!=null&&typeof t.toString!="function"){t=bt.call(t)}if(yt.call(e,t)){e[t].push(r)}else{e[t]=[r]}}),getIteratee);var ea=baseRest(baseInvoke);function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}function keysIn(e){return isArrayLike(e)?arrayLikeKeys(e,true):baseKeysIn(e)}function mapKeys(e,t){var r={};t=getIteratee(t,3);baseForOwn(e,(function(e,s,a){baseAssignValue(r,t(e,s,a),e)}));return r}function mapValues(e,t){var r={};t=getIteratee(t,3);baseForOwn(e,(function(e,s,a){baseAssignValue(r,s,t(e,s,a))}));return r}var ta=createAssigner((function(e,t,r){baseMerge(e,t,r)}));var ra=createAssigner((function(e,t,r,s){baseMerge(e,t,r,s)}));var sa=flatRest((function(e,t){var r={};if(e==null){return r}var s=false;t=arrayMap(t,(function(t){t=castPath(t,e);s||(s=t.length>1);return t}));copyObject(e,getAllKeysIn(e),r);if(s){r=baseClone(r,p|d|f,customOmitClone)}var a=t.length;while(a--){baseUnset(r,t[a])}return r}));function omitBy(e,t){return pickBy(e,negate(getIteratee(t)))}var aa=flatRest((function(e,t){return e==null?{}:basePick(e,t)}));function pickBy(e,t){if(e==null){return{}}var r=arrayMap(getAllKeysIn(e),(function(e){return[e]}));t=getIteratee(t);return basePickBy(e,r,(function(e,r){return t(e,r[0])}))}function result(e,t,s){t=castPath(t,e);var a=-1,n=t.length;if(!n){n=1;e=r}while(++a<n){var o=e==null?r:e[toKey(t[a])];if(o===r){a=n;o=s}e=isFunction(o)?o.call(e):o}return e}function set(e,t,r){return e==null?e:baseSet(e,t,r)}function setWith(e,t,s,a){a=typeof a=="function"?a:r;return e==null?e:baseSet(e,t,s,a)}var na=createToPairs(keys);var oa=createToPairs(keysIn);function transform(e,t,r){var s=Ms(e),a=s||Fs(e)||Vs(e);t=getIteratee(t,4);if(r==null){var n=e&&e.constructor;if(a){r=s?new n:[]}else if(isObject(e)){r=isFunction(n)?Ar(kt(e)):{}}else{r={}}}(a?arrayEach:baseForOwn)(e,(function(e,s,a){return t(r,e,s,a)}));return r}function unset(e,t){return e==null?true:baseUnset(e,t)}function update(e,t,r){return e==null?e:baseUpdate(e,t,castFunction(r))}function updateWith(e,t,s,a){a=typeof a=="function"?a:r;return e==null?e:baseUpdate(e,t,castFunction(s),a)}function values(e){return e==null?[]:baseValues(e,keys(e))}function valuesIn(e){return e==null?[]:baseValues(e,keysIn(e))}function clamp(e,t,s){if(s===r){s=t;t=r}if(s!==r){s=toNumber(s);s=s===s?s:0}if(t!==r){t=toNumber(t);t=t===t?t:0}return baseClamp(toNumber(e),t,s)}function inRange(e,t,s){t=toFinite(t);if(s===r){s=t;t=0}else{s=toFinite(s)}e=toNumber(e);return baseInRange(e,t,s)}function random(e,t,s){if(s&&typeof s!="boolean"&&isIterateeCall(e,t,s)){t=s=r}if(s===r){if(typeof t=="boolean"){s=t;t=r}else if(typeof e=="boolean"){s=e;e=r}}if(e===r&&t===r){e=0;t=1}else{e=toFinite(e);if(t===r){t=e;e=0}else{t=toFinite(t)}}if(e>t){var a=e;e=t;t=a}if(s||e%1||t%1){var n=Yt();return zt(e+n*(t-e+nr("1e-"+((n+"").length-1))),t)}return baseRandom(e,t)}var ia=createCompounder((function(e,t,r){t=t.toLowerCase();return e+(r?capitalize(t):t)}));function capitalize(e){return ya(toString(e).toLowerCase())}function deburr(e){e=toString(e);return e&&e.replace(Qe,Er).replace(Ht,"")}function endsWith(e,t,s){e=toString(e);t=baseToString(t);var a=e.length;s=s===r?a:baseClamp(toInteger(s),0,a);var n=s;s-=t.length;return s>=0&&e.slice(s,n)==t}function escape(e){e=toString(e);return e&&De.test(e)?e.replace(ke,wr):e}function escapeRegExp(e){e=toString(e);return e&&Ne.test(e)?e.replace(Me,"\\$&"):e}var la=createCompounder((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}));var ca=createCompounder((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));var ua=createCaseFirst("toLowerCase");function pad(e,t,r){e=toString(e);t=toInteger(t);var s=t?stringSize(e):0;if(!t||s>=t){return e}var a=(t-s)/2;return createPadding(Lt(a),r)+e+createPadding(Ft(a),r)}function padEnd(e,t,r){e=toString(e);t=toInteger(t);var s=t?stringSize(e):0;return t&&s<t?e+createPadding(t-s,r):e}function padStart(e,t,r){e=toString(e);t=toInteger(t);var s=t?stringSize(e):0;return t&&s<t?createPadding(t-s,r)+e:e}function parseInt(e,t,r){if(r||t==null){t=0}else if(t){t=+t}return Xt(toString(e).replace(Fe,""),t||0)}function repeat(e,t,s){if(s?isIterateeCall(e,t,s):t===r){t=1}else{t=toInteger(t)}return baseRepeat(toString(e),t)}function replace(){var e=arguments,t=toString(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var pa=createCompounder((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));function split(e,t,s){if(s&&typeof s!="number"&&isIterateeCall(e,t,s)){t=s=r}s=s===r?B:s>>>0;if(!s){return[]}e=toString(e);if(e&&(typeof t=="string"||t!=null&&!Us(t))){t=baseToString(t);if(!t&&hasUnicode(e)){return castSlice(stringToArray(e),0,s)}}return e.split(t,s)}var da=createCompounder((function(e,t,r){return e+(r?" ":"")+ya(t)}));function startsWith(e,t,r){e=toString(e);r=r==null?0:baseClamp(toInteger(r),0,e.length);t=baseToString(t);return e.slice(r,r+t.length)==t}function template(e,t,s){var a=lodash.templateSettings;if(s&&isIterateeCall(e,t,s)){t=r}e=toString(e);t=zs({},t,a,customDefaultsAssignIn);var n=zs({},t.imports,a.imports,customDefaultsAssignIn),o=keys(n),l=baseValues(n,o);var c,u,p=0,d=t.interpolate||Ze,f="__p += '";var y=at((t.escape||Ze).source+"|"+d.source+"|"+(d===Oe?qe:Ze).source+"|"+(t.evaluate||Ze).source+"|$","g");var g="//# sourceURL="+(yt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Qt+"]")+"\n";e.replace(y,(function(t,r,s,a,n,o){s||(s=a);f+=e.slice(p,o).replace(et,escapeStringChar);if(r){c=true;f+="' +\n__e("+r+") +\n'"}if(n){u=true;f+="';\n"+n+";\n__p += '"}if(s){f+="' +\n((__t = ("+s+")) == null ? '' : __t) +\n'"}p=o+t.length;return t}));f+="';\n";var h=yt.call(t,"variable")&&t.variable;if(!h){f="with (obj) {\n"+f+"\n}\n"}else if($e.test(h)){throw new Ve(i)}f=(u?f.replace(Ee,""):f).replace(we,"$1").replace(_e,"$1;");f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(c?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=ma((function(){return tt(o,g+"return "+f).apply(r,l)}));b.source=f;if(isError(b)){throw b}return b}function toLower(e){return toString(e).toLowerCase()}function toUpper(e){return toString(e).toUpperCase()}function trim(e,t,s){e=toString(e);if(e&&(s||t===r)){return baseTrim(e)}if(!e||!(t=baseToString(t))){return e}var a=stringToArray(e),n=stringToArray(t),o=charsStartIndex(a,n),i=charsEndIndex(a,n)+1;return castSlice(a,o,i).join("")}function trimEnd(e,t,s){e=toString(e);if(e&&(s||t===r)){return e.slice(0,trimmedEndIndex(e)+1)}if(!e||!(t=baseToString(t))){return e}var a=stringToArray(e),n=charsEndIndex(a,stringToArray(t))+1;return castSlice(a,0,n).join("")}function trimStart(e,t,s){e=toString(e);if(e&&(s||t===r)){return e.replace(Fe,"")}if(!e||!(t=baseToString(t))){return e}var a=stringToArray(e),n=charsStartIndex(a,stringToArray(t));return castSlice(a,n).join("")}function truncate(e,t){var s=I,a=D;if(isObject(t)){var n="separator"in t?t.separator:n;s="length"in t?toInteger(t.length):s;a="omission"in t?baseToString(t.omission):a}e=toString(e);var o=e.length;if(hasUnicode(e)){var i=stringToArray(e);o=i.length}if(s>=o){return e}var l=s-stringSize(a);if(l<1){return a}var c=i?castSlice(i,0,l).join(""):e.slice(0,l);if(n===r){return c+a}if(i){l+=c.length-l}if(Us(n)){if(e.slice(l).search(n)){var u,p=c;if(!n.global){n=at(n.source,toString(He.exec(n))+"g")}n.lastIndex=0;while(u=n.exec(p)){var d=u.index}c=c.slice(0,d===r?l:d)}}else if(e.indexOf(baseToString(n),l)!=l){var f=c.lastIndexOf(n);if(f>-1){c=c.slice(0,f)}}return c+a}function unescape(e){e=toString(e);return e&&Ie.test(e)?e.replace(Se,_r):e}var fa=createCompounder((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}));var ya=createCaseFirst("toUpperCase");function words(e,t,s){e=toString(e);t=s?r:t;if(t===r){return hasUnicodeWord(e)?unicodeWords(e):asciiWords(e)}return e.match(t)||[]}var ma=baseRest((function(e,t){try{return apply(e,r,t)}catch(e){return isError(e)?e:new Ve(e)}}));var ga=flatRest((function(e,t){arrayEach(t,(function(t){t=toKey(t);baseAssignValue(e,t,_s(e[t],e))}));return e}));function cond(e){var t=e==null?0:e.length,r=getIteratee();e=!t?[]:arrayMap(e,(function(e){if(typeof e[1]!="function"){throw new ot(o)}return[r(e[0]),e[1]]}));return baseRest((function(r){var s=-1;while(++s<t){var a=e[s];if(apply(a[0],this,r)){return apply(a[1],this,r)}}}))}function conforms(e){return baseConforms(baseClone(e,p))}function constant(e){return function(){return e}}function defaultTo(e,t){return e==null||e!==e?t:e}var ha=createFlow();var ba=createFlow(true);function identity(e){return e}function iteratee(e){return baseIteratee(typeof e=="function"?e:baseClone(e,p))}function matches(e){return baseMatches(baseClone(e,p))}function matchesProperty(e,t){return baseMatchesProperty(e,baseClone(t,p))}var xa=baseRest((function(e,t){return function(r){return baseInvoke(r,e,t)}}));var va=baseRest((function(e,t){return function(r){return baseInvoke(e,r,t)}}));function mixin(e,t,r){var s=keys(t),a=baseFunctions(t,s);if(r==null&&!(isObject(t)&&(a.length||!s.length))){r=t;t=e;e=this;a=baseFunctions(t,keys(t))}var n=!(isObject(r)&&"chain"in r)||!!r.chain,o=isFunction(e);arrayEach(a,(function(r){var s=t[r];e[r]=s;if(o){e.prototype[r]=function(){var t=this.__chain__;if(n||t){var r=e(this.__wrapped__),a=r.__actions__=copyArray(this.__actions__);a.push({func:s,args:arguments,thisArg:e});r.__chain__=t;return r}return s.apply(e,arrayPush([this.value()],arguments))}}}));return e}function noConflict(){if(cr._===this){cr._=vt}return this}function noop(){}function nthArg(e){e=toInteger(e);return baseRest((function(t){return baseNth(t,e)}))}var ja=createOver(arrayMap);var Ea=createOver(arrayEvery);var wa=createOver(arraySome);function property(e){return isKey(e)?baseProperty(toKey(e)):basePropertyDeep(e)}function propertyOf(e){return function(t){return e==null?r:baseGet(e,t)}}var _a=createRange();var Sa=createRange(true);function stubArray(){return[]}function stubFalse(){return false}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return true}function times(e,t){e=toInteger(e);if(e<1||e>N){return[]}var r=B,s=zt(e,B);t=getIteratee(t);e-=B;var a=baseTimes(s,t);while(++r<e){t(r)}return a}function toPath(e){if(Ms(e)){return arrayMap(e,toKey)}return isSymbol(e)?[e]:copyArray(Yr(toString(e)))}function uniqueId(e){var t=++mt;return toString(e)+t}var ka=createMathOperation((function(e,t){return e+t}),0);var Ia=createRound("ceil");var Da=createMathOperation((function(e,t){return e/t}),1);var Ca=createRound("floor");function max(e){return e&&e.length?baseExtremum(e,identity,baseGt):r}function maxBy(e,t){return e&&e.length?baseExtremum(e,getIteratee(t,2),baseGt):r}function mean(e){return baseMean(e,identity)}function meanBy(e,t){return baseMean(e,getIteratee(t,2))}function min(e){return e&&e.length?baseExtremum(e,identity,baseLt):r}function minBy(e,t){return e&&e.length?baseExtremum(e,getIteratee(t,2),baseLt):r}var Pa=createMathOperation((function(e,t){return e*t}),1);var Oa=createRound("round");var Aa=createMathOperation((function(e,t){return e-t}),0);function sum(e){return e&&e.length?baseSum(e,identity):0}function sumBy(e,t){return e&&e.length?baseSum(e,getIteratee(t,2)):0}lodash.after=after;lodash.ary=ary;lodash.assign=qs;lodash.assignIn=Hs;lodash.assignInWith=zs;lodash.assignWith=Ks;lodash.at=Xs;lodash.before=before;lodash.bind=_s;lodash.bindAll=ga;lodash.bindKey=Ss;lodash.castArray=castArray;lodash.chain=chain;lodash.chunk=chunk;lodash.compact=compact;lodash.concat=concat;lodash.cond=cond;lodash.conforms=conforms;lodash.constant=constant;lodash.countBy=ms;lodash.create=create;lodash.curry=curry;lodash.curryRight=curryRight;lodash.debounce=debounce;lodash.defaults=Ys;lodash.defaultsDeep=Js;lodash.defer=ks;lodash.delay=Is;lodash.difference=Jr;lodash.differenceBy=Qr;lodash.differenceWith=Zr;lodash.drop=drop;lodash.dropRight=dropRight;lodash.dropRightWhile=dropRightWhile;lodash.dropWhile=dropWhile;lodash.fill=fill;lodash.filter=filter;lodash.flatMap=flatMap;lodash.flatMapDeep=flatMapDeep;lodash.flatMapDepth=flatMapDepth;lodash.flatten=flatten;lodash.flattenDeep=flattenDeep;lodash.flattenDepth=flattenDepth;lodash.flip=flip;lodash.flow=ha;lodash.flowRight=ba;lodash.fromPairs=fromPairs;lodash.functions=functions;lodash.functionsIn=functionsIn;lodash.groupBy=bs;lodash.initial=initial;lodash.intersection=es;lodash.intersectionBy=ts;lodash.intersectionWith=rs;lodash.invert=Qs;lodash.invertBy=Zs;lodash.invokeMap=xs;lodash.iteratee=iteratee;lodash.keyBy=vs;lodash.keys=keys;lodash.keysIn=keysIn;lodash.map=map;lodash.mapKeys=mapKeys;lodash.mapValues=mapValues;lodash.matches=matches;lodash.matchesProperty=matchesProperty;lodash.memoize=memoize;lodash.merge=ta;lodash.mergeWith=ra;lodash.method=xa;lodash.methodOf=va;lodash.mixin=mixin;lodash.negate=negate;lodash.nthArg=nthArg;lodash.omit=sa;lodash.omitBy=omitBy;lodash.once=once;lodash.orderBy=orderBy;lodash.over=ja;lodash.overArgs=Ds;lodash.overEvery=Ea;lodash.overSome=wa;lodash.partial=Cs;lodash.partialRight=Ps;lodash.partition=js;lodash.pick=aa;lodash.pickBy=pickBy;lodash.property=property;lodash.propertyOf=propertyOf;lodash.pull=ss;lodash.pullAll=pullAll;lodash.pullAllBy=pullAllBy;lodash.pullAllWith=pullAllWith;lodash.pullAt=as;lodash.range=_a;lodash.rangeRight=Sa;lodash.rearg=Os;lodash.reject=reject;lodash.remove=remove;lodash.rest=rest;lodash.reverse=reverse;lodash.sampleSize=sampleSize;lodash.set=set;lodash.setWith=setWith;lodash.shuffle=shuffle;lodash.slice=slice;lodash.sortBy=Es;lodash.sortedUniq=sortedUniq;lodash.sortedUniqBy=sortedUniqBy;lodash.split=split;lodash.spread=spread;lodash.tail=tail;lodash.take=take;lodash.takeRight=takeRight;lodash.takeRightWhile=takeRightWhile;lodash.takeWhile=takeWhile;lodash.tap=tap;lodash.throttle=throttle;lodash.thru=thru;lodash.toArray=toArray;lodash.toPairs=na;lodash.toPairsIn=oa;lodash.toPath=toPath;lodash.toPlainObject=toPlainObject;lodash.transform=transform;lodash.unary=unary;lodash.union=ns;lodash.unionBy=os;lodash.unionWith=is;lodash.uniq=uniq;lodash.uniqBy=uniqBy;lodash.uniqWith=uniqWith;lodash.unset=unset;lodash.unzip=unzip;lodash.unzipWith=unzipWith;lodash.update=update;lodash.updateWith=updateWith;lodash.values=values;lodash.valuesIn=valuesIn;lodash.without=ls;lodash.words=words;lodash.wrap=wrap;lodash.xor=cs;lodash.xorBy=us;lodash.xorWith=ps;lodash.zip=ds;lodash.zipObject=zipObject;lodash.zipObjectDeep=zipObjectDeep;lodash.zipWith=fs;lodash.entries=na;lodash.entriesIn=oa;lodash.extend=Hs;lodash.extendWith=zs;mixin(lodash,lodash);lodash.add=ka;lodash.attempt=ma;lodash.camelCase=ia;lodash.capitalize=capitalize;lodash.ceil=Ia;lodash.clamp=clamp;lodash.clone=clone;lodash.cloneDeep=cloneDeep;lodash.cloneDeepWith=cloneDeepWith;lodash.cloneWith=cloneWith;lodash.conformsTo=conformsTo;lodash.deburr=deburr;lodash.defaultTo=defaultTo;lodash.divide=Da;lodash.endsWith=endsWith;lodash.eq=eq;lodash.escape=escape;lodash.escapeRegExp=escapeRegExp;lodash.every=every;lodash.find=gs;lodash.findIndex=findIndex;lodash.findKey=findKey;lodash.findLast=hs;lodash.findLastIndex=findLastIndex;lodash.findLastKey=findLastKey;lodash.floor=Ca;lodash.forEach=forEach;lodash.forEachRight=forEachRight;lodash.forIn=forIn;lodash.forInRight=forInRight;lodash.forOwn=forOwn;lodash.forOwnRight=forOwnRight;lodash.get=get;lodash.gt=As;lodash.gte=Rs;lodash.has=has;lodash.hasIn=hasIn;lodash.head=head;lodash.identity=identity;lodash.includes=includes;lodash.indexOf=indexOf;lodash.inRange=inRange;lodash.invoke=ea;lodash.isArguments=Ts;lodash.isArray=Ms;lodash.isArrayBuffer=Ns;lodash.isArrayLike=isArrayLike;lodash.isArrayLikeObject=isArrayLikeObject;lodash.isBoolean=isBoolean;lodash.isBuffer=Fs;lodash.isDate=Ls;lodash.isElement=isElement;lodash.isEmpty=isEmpty;lodash.isEqual=isEqual;lodash.isEqualWith=isEqualWith;lodash.isError=isError;lodash.isFinite=isFinite;lodash.isFunction=isFunction;lodash.isInteger=isInteger;lodash.isLength=isLength;lodash.isMap=Bs;lodash.isMatch=isMatch;lodash.isMatchWith=isMatchWith;lodash.isNaN=isNaN;lodash.isNative=isNative;lodash.isNil=isNil;lodash.isNull=isNull;lodash.isNumber=isNumber;lodash.isObject=isObject;lodash.isObjectLike=isObjectLike;lodash.isPlainObject=isPlainObject;lodash.isRegExp=Us;lodash.isSafeInteger=isSafeInteger;lodash.isSet=Ws;lodash.isString=isString;lodash.isSymbol=isSymbol;lodash.isTypedArray=Vs;lodash.isUndefined=isUndefined;lodash.isWeakMap=isWeakMap;lodash.isWeakSet=isWeakSet;lodash.join=join;lodash.kebabCase=la;lodash.last=last;lodash.lastIndexOf=lastIndexOf;lodash.lowerCase=ca;lodash.lowerFirst=ua;lodash.lt=$s;lodash.lte=Gs;lodash.max=max;lodash.maxBy=maxBy;lodash.mean=mean;lodash.meanBy=meanBy;lodash.min=min;lodash.minBy=minBy;lodash.stubArray=stubArray;lodash.stubFalse=stubFalse;lodash.stubObject=stubObject;lodash.stubString=stubString;lodash.stubTrue=stubTrue;lodash.multiply=Pa;lodash.nth=nth;lodash.noConflict=noConflict;lodash.noop=noop;lodash.now=ws;lodash.pad=pad;lodash.padEnd=padEnd;lodash.padStart=padStart;lodash.parseInt=parseInt;lodash.random=random;lodash.reduce=reduce;lodash.reduceRight=reduceRight;lodash.repeat=repeat;lodash.replace=replace;lodash.result=result;lodash.round=Oa;lodash.runInContext=runInContext;lodash.sample=sample;lodash.size=size;lodash.snakeCase=pa;lodash.some=some;lodash.sortedIndex=sortedIndex;lodash.sortedIndexBy=sortedIndexBy;lodash.sortedIndexOf=sortedIndexOf;lodash.sortedLastIndex=sortedLastIndex;lodash.sortedLastIndexBy=sortedLastIndexBy;lodash.sortedLastIndexOf=sortedLastIndexOf;lodash.startCase=da;lodash.startsWith=startsWith;lodash.subtract=Aa;lodash.sum=sum;lodash.sumBy=sumBy;lodash.template=template;lodash.times=times;lodash.toFinite=toFinite;lodash.toInteger=toInteger;lodash.toLength=toLength;lodash.toLower=toLower;lodash.toNumber=toNumber;lodash.toSafeInteger=toSafeInteger;lodash.toString=toString;lodash.toUpper=toUpper;lodash.trim=trim;lodash.trimEnd=trimEnd;lodash.trimStart=trimStart;lodash.truncate=truncate;lodash.unescape=unescape;lodash.uniqueId=uniqueId;lodash.upperCase=fa;lodash.upperFirst=ya;lodash.each=forEach;lodash.eachRight=forEachRight;lodash.first=head;mixin(lodash,function(){var e={};baseForOwn(lodash,(function(t,r){if(!yt.call(lodash.prototype,r)){e[r]=t}}));return e}(),{chain:false});lodash.VERSION=s;arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){lodash[e].placeholder=lodash}));arrayEach(["drop","take"],(function(e,t){LazyWrapper.prototype[e]=function(s){s=s===r?1:Gt(toInteger(s),0);var a=this.__filtered__&&!t?new LazyWrapper(this):this.clone();if(a.__filtered__){a.__takeCount__=zt(s,a.__takeCount__)}else{a.__views__.push({size:zt(s,B),type:e+(a.__dir__<0?"Right":"")})}return a};LazyWrapper.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}));arrayEach(["filter","map","takeWhile"],(function(e,t){var r=t+1,s=r==O||r==R;LazyWrapper.prototype[e]=function(e){var t=this.clone();t.__iteratees__.push({iteratee:getIteratee(e,3),type:r});t.__filtered__=t.__filtered__||s;return t}}));arrayEach(["head","last"],(function(e,t){var r="take"+(t?"Right":"");LazyWrapper.prototype[e]=function(){return this[r](1).value()[0]}}));arrayEach(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");LazyWrapper.prototype[e]=function(){return this.__filtered__?new LazyWrapper(this):this[r](1)}}));LazyWrapper.prototype.compact=function(){return this.filter(identity)};LazyWrapper.prototype.find=function(e){return this.filter(e).head()};LazyWrapper.prototype.findLast=function(e){return this.reverse().find(e)};LazyWrapper.prototype.invokeMap=baseRest((function(e,t){if(typeof e=="function"){return new LazyWrapper(this)}return this.map((function(r){return baseInvoke(r,e,t)}))}));LazyWrapper.prototype.reject=function(e){return this.filter(negate(getIteratee(e)))};LazyWrapper.prototype.slice=function(e,t){e=toInteger(e);var s=this;if(s.__filtered__&&(e>0||t<0)){return new LazyWrapper(s)}if(e<0){s=s.takeRight(-e)}else if(e){s=s.drop(e)}if(t!==r){t=toInteger(t);s=t<0?s.dropRight(-t):s.take(t-e)}return s};LazyWrapper.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(B)};baseForOwn(LazyWrapper.prototype,(function(e,t){var s=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),n=lodash[a?"take"+(t=="last"?"Right":""):t],o=a||/^find/.test(t);if(!n){return}lodash.prototype[t]=function(){var t=this.__wrapped__,i=a?[1]:arguments,l=t instanceof LazyWrapper,c=i[0],u=l||Ms(t);var interceptor=function(e){var t=n.apply(lodash,arrayPush([e],i));return a&&p?t[0]:t};if(u&&s&&typeof c=="function"&&c.length!=1){l=u=false}var p=this.__chain__,d=!!this.__actions__.length,f=o&&!p,y=l&&!d;if(!o&&u){t=y?t:new LazyWrapper(this);var g=e.apply(t,i);g.__actions__.push({func:thru,args:[interceptor],thisArg:r});return new LodashWrapper(g,p)}if(f&&y){return e.apply(this,i)}g=this.thru(interceptor);return f?a?g.value()[0]:g.value():g}}));arrayEach(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ct[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);lodash.prototype[e]=function(){var e=arguments;if(s&&!this.__chain__){var a=this.value();return t.apply(Ms(a)?a:[],e)}return this[r]((function(r){return t.apply(Ms(r)?r:[],e)}))}}));baseForOwn(LazyWrapper.prototype,(function(e,t){var r=lodash[t];if(r){var s=r.name+"";if(!yt.call(fr,s)){fr[s]=[]}fr[s].push({name:t,func:r})}}));fr[createHybrid(r,b).name]=[{name:"wrapper",func:r}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=ys;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;if(Ot){lodash.prototype[Ot]=wrapperToIterator}return lodash};var kr=Sr();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){cr._=kr;define((function(){return kr}))}else if(pr){(pr.exports=kr)._=kr;ur._=kr}else{cr._=kr}}).call(this)},1894:e=>{"use strict";var t=process.platform==="win32";var r=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;var s={};function win32SplitPath(e){return r.exec(e).slice(1)}s.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==5){throw new TypeError("Invalid path '"+e+"'")}return{root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var a=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;var n={};function posixSplitPath(e){return a.exec(e).slice(1)}n.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==5){throw new TypeError("Invalid path '"+e+"'")}return{root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};if(t)e.exports=s.parse;else e.exports=n.parse;e.exports.posix=n.parse;e.exports.win32=s.parse},1068:function(e,t,r){e=r.nmd(e); -/*! https://mths.be/regenerate v1.4.2 by @mathias | MIT license */(function(r){var s=true&&t;var a=true&&e&&e.exports==s&&e;var n=typeof global=="object"&&global;if(n.global===n||n.window===n){r=n}var o={rangeOrder:"A range’s `stop` value must be greater than or equal "+"to the `start` value.",codePointRange:"Invalid code point value. Code points range from "+"U+000000 to U+10FFFF."};var i=55296;var l=56319;var c=56320;var u=57343;var p=/\\x00([^0123456789]|$)/g;var d={};var f=d.hasOwnProperty;var extend=function(e,t){var r;for(r in t){if(f.call(t,r)){e[r]=t[r]}}return e};var forEach=function(e,t){var r=-1;var s=e.length;while(++r<s){t(e[r],r)}};var y=d.toString;var isArray=function(e){return y.call(e)=="[object Array]"};var isNumber=function(e){return typeof e=="number"||y.call(e)=="[object Number]"};var g="0000";var pad=function(e,t){var r=String(e);return r.length<t?(g+r).slice(-t):r};var hex=function(e){return Number(e).toString(16).toUpperCase()};var h=[].slice;var dataFromCodePoints=function(e){var t=-1;var r=e.length;var s=r-1;var a=[];var n=true;var o;var i=0;while(++t<r){o=e[t];if(n){a.push(o);i=o;n=false}else{if(o==i+1){if(t!=s){i=o;continue}else{n=true;a.push(o+1)}}else{a.push(i+1,o);i=o}}}if(!n){a.push(o+1)}return a};var dataRemove=function(e,t){var r=0;var s;var a;var n=e.length;while(r<n){s=e[r];a=e[r+1];if(t>=s&&t<a){if(t==s){if(a==s+1){e.splice(r,2);return e}else{e[r]=t+1;return e}}else if(t==a-1){e[r+1]=t;return e}else{e.splice(r,2,s,t,t+1,a);return e}}r+=2}return e};var dataRemoveRange=function(e,t,r){if(r<t){throw Error(o.rangeOrder)}var s=0;var a;var n;while(s<e.length){a=e[s];n=e[s+1]-1;if(a>r){return e}if(t<=a&&r>=n){e.splice(s,2);continue}if(t>=a&&r<n){if(t==a){e[s]=r+1;e[s+1]=n+1;return e}e.splice(s,2,a,t,r+1,n+1);return e}if(t>=a&&t<=n){e[s+1]=t}else if(r>=a&&r<=n){e[s]=r+1;return e}s+=2}return e};var dataAdd=function(e,t){var r=0;var s;var a;var n=null;var i=e.length;if(t<0||t>1114111){throw RangeError(o.codePointRange)}while(r<i){s=e[r];a=e[r+1];if(t>=s&&t<a){return e}if(t==s-1){e[r]=t;return e}if(s>t){e.splice(n!=null?n+2:0,0,t,t+1);return e}if(t==a){if(t+1==e[r+2]){e.splice(r,4,s,e[r+3]);return e}e[r+1]=t+1;return e}n=r;r+=2}e.push(t,t+1);return e};var dataAddData=function(e,t){var r=0;var s;var a;var n=e.slice();var o=t.length;while(r<o){s=t[r];a=t[r+1]-1;if(s==a){n=dataAdd(n,s)}else{n=dataAddRange(n,s,a)}r+=2}return n};var dataRemoveData=function(e,t){var r=0;var s;var a;var n=e.slice();var o=t.length;while(r<o){s=t[r];a=t[r+1]-1;if(s==a){n=dataRemove(n,s)}else{n=dataRemoveRange(n,s,a)}r+=2}return n};var dataAddRange=function(e,t,r){if(r<t){throw Error(o.rangeOrder)}if(t<0||t>1114111||r<0||r>1114111){throw RangeError(o.codePointRange)}var s=0;var a;var n;var i=false;var l=e.length;while(s<l){a=e[s];n=e[s+1];if(i){if(a==r+1){e.splice(s-1,2);return e}if(a>r){return e}if(a>=t&&a<=r){if(n>t&&n-1<=r){e.splice(s,2);s-=2}else{e.splice(s-1,2);s-=2}}}else if(a==r+1||a==r){e[s]=t;return e}else if(a>r){e.splice(s,0,t,r+1);return e}else if(t>=a&&t<n&&r+1<=n){return e}else if(t>=a&&t<n||n==t){e[s+1]=r+1;i=true}else if(t<=a&&r+1>=n){e[s]=t;e[s+1]=r+1;i=true}s+=2}if(!i){e.push(t,r+1)}return e};var dataContains=function(e,t){var r=0;var s=e.length;var a=e[r];var n=e[s-1];if(s>=2){if(t<a||t>n){return false}}while(r<s){a=e[r];n=e[r+1];if(t>=a&&t<n){return true}r+=2}return false};var dataIntersection=function(e,t){var r=0;var s=t.length;var a;var n=[];while(r<s){a=t[r];if(dataContains(e,a)){n.push(a)}++r}return dataFromCodePoints(n)};var dataIsEmpty=function(e){return!e.length};var dataIsSingleton=function(e){return e.length==2&&e[0]+1==e[1]};var dataToArray=function(e){var t=0;var r;var s;var a=[];var n=e.length;while(t<n){r=e[t];s=e[t+1];while(r<s){a.push(r);++r}t+=2}return a};var b=Math.floor;var highSurrogate=function(e){return parseInt(b((e-65536)/1024)+i,10)};var lowSurrogate=function(e){return parseInt((e-65536)%1024+c,10)};var x=String.fromCharCode;var codePointToString=function(e){var t;if(e==9){t="\\t"}else if(e==10){t="\\n"}else if(e==12){t="\\f"}else if(e==13){t="\\r"}else if(e==45){t="\\x2D"}else if(e==92){t="\\\\"}else if(e==36||e>=40&&e<=43||e==46||e==47||e==63||e>=91&&e<=94||e>=123&&e<=125){t="\\"+x(e)}else if(e>=32&&e<=126){t=x(e)}else if(e<=255){t="\\x"+pad(hex(e),2)}else{t="\\u"+pad(hex(e),4)}return t};var codePointToStringUnicode=function(e){if(e<=65535){return codePointToString(e)}return"\\u{"+e.toString(16).toUpperCase()+"}"};var symbolToCodePoint=function(e){var t=e.length;var r=e.charCodeAt(0);var s;if(r>=i&&r<=l&&t>1){s=e.charCodeAt(1);return(r-i)*1024+s-c+65536}return r};var createBMPCharacterClasses=function(e){var t="";var r=0;var s;var a;var n=e.length;if(dataIsSingleton(e)){return codePointToString(e[0])}while(r<n){s=e[r];a=e[r+1]-1;if(s==a){t+=codePointToString(s)}else if(s+1==a){t+=codePointToString(s)+codePointToString(a)}else{t+=codePointToString(s)+"-"+codePointToString(a)}r+=2}return"["+t+"]"};var createUnicodeCharacterClasses=function(e){var t="";var r=0;var s;var a;var n=e.length;if(dataIsSingleton(e)){return codePointToStringUnicode(e[0])}while(r<n){s=e[r];a=e[r+1]-1;if(s==a){t+=codePointToStringUnicode(s)}else if(s+1==a){t+=codePointToStringUnicode(s)+codePointToStringUnicode(a)}else{t+=codePointToStringUnicode(s)+"-"+codePointToStringUnicode(a)}r+=2}return"["+t+"]"};var splitAtBMP=function(e){var t=[];var r=[];var s=[];var a=[];var n=0;var o;var p;var d=e.length;while(n<d){o=e[n];p=e[n+1]-1;if(o<i){if(p<i){s.push(o,p+1)}if(p>=i&&p<=l){s.push(o,i);t.push(i,p+1)}if(p>=c&&p<=u){s.push(o,i);t.push(i,l+1);r.push(c,p+1)}if(p>u){s.push(o,i);t.push(i,l+1);r.push(c,u+1);if(p<=65535){s.push(u+1,p+1)}else{s.push(u+1,65535+1);a.push(65535+1,p+1)}}}else if(o>=i&&o<=l){if(p>=i&&p<=l){t.push(o,p+1)}if(p>=c&&p<=u){t.push(o,l+1);r.push(c,p+1)}if(p>u){t.push(o,l+1);r.push(c,u+1);if(p<=65535){s.push(u+1,p+1)}else{s.push(u+1,65535+1);a.push(65535+1,p+1)}}}else if(o>=c&&o<=u){if(p>=c&&p<=u){r.push(o,p+1)}if(p>u){r.push(o,u+1);if(p<=65535){s.push(u+1,p+1)}else{s.push(u+1,65535+1);a.push(65535+1,p+1)}}}else if(o>u&&o<=65535){if(p<=65535){s.push(o,p+1)}else{s.push(o,65535+1);a.push(65535+1,p+1)}}else{a.push(o,p+1)}n+=2}return{loneHighSurrogates:t,loneLowSurrogates:r,bmp:s,astral:a}};var optimizeSurrogateMappings=function(e){var t=[];var r=[];var s=false;var a;var n;var o;var i;var l;var c;var u=-1;var p=e.length;while(++u<p){a=e[u];n=e[u+1];if(!n){t.push(a);continue}o=a[0];i=a[1];l=n[0];c=n[1];r=i;while(l&&o[0]==l[0]&&o[1]==l[1]){if(dataIsSingleton(c)){r=dataAdd(r,c[0])}else{r=dataAddRange(r,c[0],c[1]-1)}++u;a=e[u];o=a[0];i=a[1];n=e[u+1];l=n&&n[0];c=n&&n[1];s=true}t.push([o,s?r:i]);s=false}return optimizeByLowSurrogates(t)};var optimizeByLowSurrogates=function(e){if(e.length==1){return e}var t=-1;var r=-1;while(++t<e.length){var s=e[t];var a=s[1];var n=a[0];var o=a[1];r=t;while(++r<e.length){var i=e[r];var l=i[1];var c=l[0];var u=l[1];if(n==c&&o==u&&l.length===2){if(dataIsSingleton(i[0])){s[0]=dataAdd(s[0],i[0][0])}else{s[0]=dataAddRange(s[0],i[0][0],i[0][1]-1)}e.splice(r,1);--r}}}return e};var surrogateSet=function(e){if(!e.length){return[]}var t=0;var r;var s;var a;var n;var o;var i;var l=[];var p=e.length;while(t<p){r=e[t];s=e[t+1]-1;a=highSurrogate(r);n=lowSurrogate(r);o=highSurrogate(s);i=lowSurrogate(s);var d=n==c;var f=i==u;var y=false;if(a==o||d&&f){l.push([[a,o+1],[n,i+1]]);y=true}else{l.push([[a,a+1],[n,u+1]])}if(!y&&a+1<o){if(f){l.push([[a+1,o+1],[c,i+1]]);y=true}else{l.push([[a+1,o],[c,u+1]])}}if(!y){l.push([[o,o+1],[c,i+1]])}t+=2}return optimizeSurrogateMappings(l)};var createSurrogateCharacterClasses=function(e){var t=[];forEach(e,(function(e){var r=e[0];var s=e[1];t.push(createBMPCharacterClasses(r)+createBMPCharacterClasses(s))}));return t.join("|")};var createCharacterClassesFromData=function(e,t,r){if(r){return createUnicodeCharacterClasses(e)}var s=[];var a=splitAtBMP(e);var n=a.loneHighSurrogates;var o=a.loneLowSurrogates;var i=a.bmp;var l=a.astral;var c=!dataIsEmpty(n);var u=!dataIsEmpty(o);var p=surrogateSet(l);if(t){i=dataAddData(i,n);c=false;i=dataAddData(i,o);u=false}if(!dataIsEmpty(i)){s.push(createBMPCharacterClasses(i))}if(p.length){s.push(createSurrogateCharacterClasses(p))}if(c){s.push(createBMPCharacterClasses(n)+"(?![\\uDC00-\\uDFFF])")}if(u){s.push("(?:[^\\uD800-\\uDBFF]|^)"+createBMPCharacterClasses(o))}return s.join("|")};var regenerate=function(e){if(arguments.length>1){e=h.call(arguments)}if(this instanceof regenerate){this.data=[];return e?this.add(e):this}return(new regenerate).add(e)};regenerate.version="1.4.2";var v=regenerate.prototype;extend(v,{add:function(e){var t=this;if(e==null){return t}if(e instanceof regenerate){t.data=dataAddData(t.data,e.data);return t}if(arguments.length>1){e=h.call(arguments)}if(isArray(e)){forEach(e,(function(e){t.add(e)}));return t}t.data=dataAdd(t.data,isNumber(e)?e:symbolToCodePoint(e));return t},remove:function(e){var t=this;if(e==null){return t}if(e instanceof regenerate){t.data=dataRemoveData(t.data,e.data);return t}if(arguments.length>1){e=h.call(arguments)}if(isArray(e)){forEach(e,(function(e){t.remove(e)}));return t}t.data=dataRemove(t.data,isNumber(e)?e:symbolToCodePoint(e));return t},addRange:function(e,t){var r=this;r.data=dataAddRange(r.data,isNumber(e)?e:symbolToCodePoint(e),isNumber(t)?t:symbolToCodePoint(t));return r},removeRange:function(e,t){var r=this;var s=isNumber(e)?e:symbolToCodePoint(e);var a=isNumber(t)?t:symbolToCodePoint(t);r.data=dataRemoveRange(r.data,s,a);return r},intersection:function(e){var t=this;var r=e instanceof regenerate?dataToArray(e.data):e;t.data=dataIntersection(t.data,r);return t},contains:function(e){return dataContains(this.data,isNumber(e)?e:symbolToCodePoint(e))},clone:function(){var e=new regenerate;e.data=this.data.slice(0);return e},toString:function(e){var t=createCharacterClassesFromData(this.data,e?e.bmpOnly:false,e?e.hasUnicodeFlag:false);if(!t){return"[]"}return t.replace(p,"\\0$1")},toRegExp:function(e){var t=this.toString(e&&e.indexOf("u")!=-1?{hasUnicodeFlag:true}:null);return RegExp(t,e||"")},valueOf:function(){return dataToArray(this.data)}});v.toArray=v.valueOf;if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return regenerate}))}else if(s&&!s.nodeType){if(a){a.exports=regenerate}else{s.regenerate=regenerate}}else{r.regenerate=regenerate}})(this)},4469:(e,t,r)=>{"use strict";var s=r(5277);var a=s(r(9491));var n=_interopRequireWildcard(r(3609));var o=_interopRequireWildcard(r(7463));var i=_interopRequireWildcard(r(5820));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s["default"]=e;if(r){r.set(e,s)}return s}var l=Object.prototype.hasOwnProperty;function Emitter(e){a["default"].ok(this instanceof Emitter);i.getTypes().assertIdentifier(e);this.nextTempId=0;this.contextId=e;this.listing=[];this.marked=[true];this.insertedLocs=new Set;this.finalLoc=this.loc();this.tryEntries=[];this.leapManager=new n.LeapManager(this)}var c=Emitter.prototype;t.Emitter=Emitter;c.loc=function(){var e=i.getTypes().numericLiteral(-1);this.insertedLocs.add(e);return e};c.getInsertedLocs=function(){return this.insertedLocs};c.getContextId=function(){return i.getTypes().clone(this.contextId)};c.mark=function(e){i.getTypes().assertLiteral(e);var t=this.listing.length;if(e.value===-1){e.value=t}else{a["default"].strictEqual(e.value,t)}this.marked[t]=true;return e};c.emit=function(e){var t=i.getTypes();if(t.isExpression(e)){e=t.expressionStatement(e)}t.assertStatement(e);this.listing.push(e)};c.emitAssign=function(e,t){this.emit(this.assign(e,t));return e};c.assign=function(e,t){var r=i.getTypes();return r.expressionStatement(r.assignmentExpression("=",r.cloneDeep(e),t))};c.contextProperty=function(e,t){var r=i.getTypes();return r.memberExpression(this.getContextId(),t?r.stringLiteral(e):r.identifier(e),!!t)};c.stop=function(e){if(e){this.setReturnValue(e)}this.jump(this.finalLoc)};c.setReturnValue=function(e){i.getTypes().assertExpression(e.value);this.emitAssign(this.contextProperty("rval"),this.explodeExpression(e))};c.clearPendingException=function(e,t){var r=i.getTypes();r.assertLiteral(e);var s=r.callExpression(this.contextProperty("catch",true),[r.clone(e)]);if(t){this.emitAssign(t,s)}else{this.emit(s)}};c.jump=function(e){this.emitAssign(this.contextProperty("next"),e);this.emit(i.getTypes().breakStatement())};c.jumpIf=function(e,t){var r=i.getTypes();r.assertExpression(e);r.assertLiteral(t);this.emit(r.ifStatement(e,r.blockStatement([this.assign(this.contextProperty("next"),t),r.breakStatement()])))};c.jumpIfNot=function(e,t){var r=i.getTypes();r.assertExpression(e);r.assertLiteral(t);var s;if(r.isUnaryExpression(e)&&e.operator==="!"){s=e.argument}else{s=r.unaryExpression("!",e)}this.emit(r.ifStatement(s,r.blockStatement([this.assign(this.contextProperty("next"),t),r.breakStatement()])))};c.makeTempVar=function(){return this.contextProperty("t"+this.nextTempId++)};c.getContextFunction=function(e){var t=i.getTypes();return t.functionExpression(e||null,[this.getContextId()],t.blockStatement([this.getDispatchLoop()]),false,false)};c.getDispatchLoop=function(){var e=this;var t=i.getTypes();var r=[];var s;var a=false;e.listing.forEach((function(n,o){if(e.marked.hasOwnProperty(o)){r.push(t.switchCase(t.numericLiteral(o),s=[]));a=false}if(!a){s.push(n);if(t.isCompletionStatement(n))a=true}}));this.finalLoc.value=this.listing.length;r.push(t.switchCase(this.finalLoc,[]),t.switchCase(t.stringLiteral("end"),[t.returnStatement(t.callExpression(this.contextProperty("stop"),[]))]));return t.whileStatement(t.numericLiteral(1),t.switchStatement(t.assignmentExpression("=",this.contextProperty("prev"),this.contextProperty("next")),r))};c.getTryLocsList=function(){if(this.tryEntries.length===0){return null}var e=i.getTypes();var t=0;return e.arrayExpression(this.tryEntries.map((function(r){var s=r.firstLoc.value;a["default"].ok(s>=t,"try entries out of order");t=s;var n=r.catchEntry;var o=r.finallyEntry;var i=[r.firstLoc,n?n.firstLoc:null];if(o){i[2]=o.firstLoc;i[3]=o.afterLoc}return e.arrayExpression(i.map((function(t){return t&&e.clone(t)})))})))};c.explode=function(e,t){var r=i.getTypes();var s=e.node;var a=this;r.assertNode(s);if(r.isDeclaration(s))throw getDeclError(s);if(r.isStatement(s))return a.explodeStatement(e);if(r.isExpression(s))return a.explodeExpression(e,t);switch(s.type){case"Program":return e.get("body").map(a.explodeStatement,a);case"VariableDeclarator":throw getDeclError(s);case"Property":case"SwitchCase":case"CatchClause":throw new Error(s.type+" nodes should be handled by their parents");default:throw new Error("unknown Node of type "+JSON.stringify(s.type))}};function getDeclError(e){return new Error("all declarations should have been transformed into "+"assignments before the Exploder began its work: "+JSON.stringify(e))}c.explodeStatement=function(e,t){var r=i.getTypes();var s=e.node;var l=this;var c,p,d;r.assertStatement(s);if(t){r.assertIdentifier(t)}else{t=null}if(r.isBlockStatement(s)){e.get("body").forEach((function(e){l.explodeStatement(e)}));return}if(!o.containsLeap(s)){l.emit(s);return}switch(s.type){case"ExpressionStatement":l.explodeExpression(e.get("expression"),true);break;case"LabeledStatement":p=this.loc();l.leapManager.withEntry(new n.LabeledEntry(p,s.label),(function(){l.explodeStatement(e.get("body"),s.label)}));l.mark(p);break;case"WhileStatement":c=this.loc();p=this.loc();l.mark(c);l.jumpIfNot(l.explodeExpression(e.get("test")),p);l.leapManager.withEntry(new n.LoopEntry(p,c,t),(function(){l.explodeStatement(e.get("body"))}));l.jump(c);l.mark(p);break;case"DoWhileStatement":var f=this.loc();var y=this.loc();p=this.loc();l.mark(f);l.leapManager.withEntry(new n.LoopEntry(p,y,t),(function(){l.explode(e.get("body"))}));l.mark(y);l.jumpIf(l.explodeExpression(e.get("test")),f);l.mark(p);break;case"ForStatement":d=this.loc();var g=this.loc();p=this.loc();if(s.init){l.explode(e.get("init"),true)}l.mark(d);if(s.test){l.jumpIfNot(l.explodeExpression(e.get("test")),p)}else{}l.leapManager.withEntry(new n.LoopEntry(p,g,t),(function(){l.explodeStatement(e.get("body"))}));l.mark(g);if(s.update){l.explode(e.get("update"),true)}l.jump(d);l.mark(p);break;case"TypeCastExpression":return l.explodeExpression(e.get("expression"));case"ForInStatement":d=this.loc();p=this.loc();var h=l.makeTempVar();l.emitAssign(h,r.callExpression(i.runtimeProperty("keys"),[l.explodeExpression(e.get("right"))]));l.mark(d);var b=l.makeTempVar();l.jumpIf(r.memberExpression(r.assignmentExpression("=",b,r.callExpression(r.cloneDeep(h),[])),r.identifier("done"),false),p);l.emitAssign(s.left,r.memberExpression(r.cloneDeep(b),r.identifier("value"),false));l.leapManager.withEntry(new n.LoopEntry(p,d,t),(function(){l.explodeStatement(e.get("body"))}));l.jump(d);l.mark(p);break;case"BreakStatement":l.emitAbruptCompletion({type:"break",target:l.leapManager.getBreakLoc(s.label)});break;case"ContinueStatement":l.emitAbruptCompletion({type:"continue",target:l.leapManager.getContinueLoc(s.label)});break;case"SwitchStatement":var x=l.emitAssign(l.makeTempVar(),l.explodeExpression(e.get("discriminant")));p=this.loc();var v=this.loc();var j=v;var E=[];var w=s.cases||[];for(var _=w.length-1;_>=0;--_){var S=w[_];r.assertSwitchCase(S);if(S.test){j=r.conditionalExpression(r.binaryExpression("===",r.cloneDeep(x),S.test),E[_]=this.loc(),j)}else{E[_]=v}}var k=e.get("discriminant");i.replaceWithOrRemove(k,j);l.jump(l.explodeExpression(k));l.leapManager.withEntry(new n.SwitchEntry(p),(function(){e.get("cases").forEach((function(e){var t=e.key;l.mark(E[t]);e.get("consequent").forEach((function(e){l.explodeStatement(e)}))}))}));l.mark(p);if(v.value===-1){l.mark(v);a["default"].strictEqual(p.value,v.value)}break;case"IfStatement":var I=s.alternate&&this.loc();p=this.loc();l.jumpIfNot(l.explodeExpression(e.get("test")),I||p);l.explodeStatement(e.get("consequent"));if(I){l.jump(p);l.mark(I);l.explodeStatement(e.get("alternate"))}l.mark(p);break;case"ReturnStatement":l.emitAbruptCompletion({type:"return",value:l.explodeExpression(e.get("argument"))});break;case"WithStatement":throw new Error("WithStatement not supported in generator functions.");case"TryStatement":p=this.loc();var D=s.handler;var C=D&&this.loc();var P=C&&new n.CatchEntry(C,D.param);var O=s.finalizer&&this.loc();var A=O&&new n.FinallyEntry(O,p);var R=new n.TryEntry(l.getUnmarkedCurrentLoc(),P,A);l.tryEntries.push(R);l.updateContextPrevLoc(R.firstLoc);l.leapManager.withEntry(R,(function(){l.explodeStatement(e.get("block"));if(C){if(O){l.jump(O)}else{l.jump(p)}l.updateContextPrevLoc(l.mark(C));var t=e.get("handler.body");var s=l.makeTempVar();l.clearPendingException(R.firstLoc,s);t.traverse(u,{getSafeParam:function getSafeParam(){return r.cloneDeep(s)},catchParamName:D.param.name});l.leapManager.withEntry(P,(function(){l.explodeStatement(t)}))}if(O){l.updateContextPrevLoc(l.mark(O));l.leapManager.withEntry(A,(function(){l.explodeStatement(e.get("finalizer"))}));l.emit(r.returnStatement(r.callExpression(l.contextProperty("finish"),[A.firstLoc])))}}));l.mark(p);break;case"ThrowStatement":l.emit(r.throwStatement(l.explodeExpression(e.get("argument"))));break;case"ClassDeclaration":l.emit(l.explodeClass(e));break;default:throw new Error("unknown Statement of type "+JSON.stringify(s.type))}};var u={Identifier:function Identifier(e,t){if(e.node.name===t.catchParamName&&i.isReference(e)){i.replaceWithOrRemove(e,t.getSafeParam())}},Scope:function Scope(e,t){if(e.scope.hasOwnBinding(t.catchParamName)){e.skip()}}};c.emitAbruptCompletion=function(e){if(!isValidCompletion(e)){a["default"].ok(false,"invalid completion record: "+JSON.stringify(e))}a["default"].notStrictEqual(e.type,"normal","normal completions are not abrupt");var t=i.getTypes();var r=[t.stringLiteral(e.type)];if(e.type==="break"||e.type==="continue"){t.assertLiteral(e.target);r[1]=this.insertedLocs.has(e.target)?e.target:t.cloneDeep(e.target)}else if(e.type==="return"||e.type==="throw"){if(e.value){t.assertExpression(e.value);r[1]=this.insertedLocs.has(e.value)?e.value:t.cloneDeep(e.value)}}this.emit(t.returnStatement(t.callExpression(this.contextProperty("abrupt"),r)))};function isValidCompletion(e){var t=e.type;if(t==="normal"){return!l.call(e,"target")}if(t==="break"||t==="continue"){return!l.call(e,"value")&&i.getTypes().isLiteral(e.target)}if(t==="return"||t==="throw"){return l.call(e,"value")&&!l.call(e,"target")}return false}c.getUnmarkedCurrentLoc=function(){return i.getTypes().numericLiteral(this.listing.length)};c.updateContextPrevLoc=function(e){var t=i.getTypes();if(e){t.assertLiteral(e);if(e.value===-1){e.value=this.listing.length}else{a["default"].strictEqual(e.value,this.listing.length)}}else{e=this.getUnmarkedCurrentLoc()}this.emitAssign(this.contextProperty("prev"),e)};c.explodeViaTempVar=function(e,t,r,s){a["default"].ok(!s||!e,"Ignoring the result of a child expression but forcing it to "+"be assigned to a temporary variable?");var n=i.getTypes();var o=this.explodeExpression(t,s);if(s){}else if(e||r&&!n.isLiteral(o)){o=this.emitAssign(e||this.makeTempVar(),o)}return o};c.explodeExpression=function(e,t){var r=i.getTypes();var s=e.node;if(s){r.assertExpression(s)}else{return s}var n=this;var l;var c;function finish(e){r.assertExpression(e);if(t){n.emit(e)}return e}if(!o.containsLeap(s)){return finish(s)}var u=o.containsLeap.onlyChildren(s);switch(s.type){case"MemberExpression":return finish(r.memberExpression(n.explodeExpression(e.get("object")),s.computed?n.explodeViaTempVar(null,e.get("property"),u):s.property,s.computed));case"CallExpression":var p=e.get("callee");var d=e.get("arguments");var f;var y;var g=d.some((function(e){return o.containsLeap(e.node)}));var h=null;if(r.isMemberExpression(p.node)){if(g){var b=n.explodeViaTempVar(n.makeTempVar(),p.get("object"),u);var x=p.node.computed?n.explodeViaTempVar(null,p.get("property"),u):p.node.property;h=b;f=r.memberExpression(r.memberExpression(r.cloneDeep(b),x,p.node.computed),r.identifier("call"),false)}else{f=n.explodeExpression(p)}}else{f=n.explodeViaTempVar(null,p,u);if(r.isMemberExpression(f)){f=r.sequenceExpression([r.numericLiteral(0),r.cloneDeep(f)])}}if(g){y=d.map((function(e){return n.explodeViaTempVar(null,e,u)}));if(h)y.unshift(h);y=y.map((function(e){return r.cloneDeep(e)}))}else{y=e.node.arguments}return finish(r.callExpression(f,y));case"NewExpression":return finish(r.newExpression(n.explodeViaTempVar(null,e.get("callee"),u),e.get("arguments").map((function(e){return n.explodeViaTempVar(null,e,u)}))));case"ObjectExpression":return finish(r.objectExpression(e.get("properties").map((function(e){if(e.isObjectProperty()){return r.objectProperty(e.node.key,n.explodeViaTempVar(null,e.get("value"),u),e.node.computed)}else{return e.node}}))));case"ArrayExpression":return finish(r.arrayExpression(e.get("elements").map((function(e){if(e.isSpreadElement()){return r.spreadElement(n.explodeViaTempVar(null,e.get("argument"),u))}else{return n.explodeViaTempVar(null,e,u)}}))));case"SequenceExpression":var v=s.expressions.length-1;e.get("expressions").forEach((function(e){if(e.key===v){l=n.explodeExpression(e,t)}else{n.explodeExpression(e,true)}}));return l;case"LogicalExpression":c=this.loc();if(!t){l=n.makeTempVar()}var j=n.explodeViaTempVar(l,e.get("left"),u);if(s.operator==="&&"){n.jumpIfNot(j,c)}else{a["default"].strictEqual(s.operator,"||");n.jumpIf(j,c)}n.explodeViaTempVar(l,e.get("right"),u,t);n.mark(c);return l;case"ConditionalExpression":var E=this.loc();c=this.loc();var w=n.explodeExpression(e.get("test"));n.jumpIfNot(w,E);if(!t){l=n.makeTempVar()}n.explodeViaTempVar(l,e.get("consequent"),u,t);n.jump(c);n.mark(E);n.explodeViaTempVar(l,e.get("alternate"),u,t);n.mark(c);return l;case"UnaryExpression":return finish(r.unaryExpression(s.operator,n.explodeExpression(e.get("argument")),!!s.prefix));case"BinaryExpression":return finish(r.binaryExpression(s.operator,n.explodeViaTempVar(null,e.get("left"),u),n.explodeViaTempVar(null,e.get("right"),u)));case"AssignmentExpression":if(s.operator==="="){return finish(r.assignmentExpression(s.operator,n.explodeExpression(e.get("left")),n.explodeExpression(e.get("right"))))}var _=n.explodeExpression(e.get("left"));var S=n.emitAssign(n.makeTempVar(),_);return finish(r.assignmentExpression("=",r.cloneDeep(_),r.assignmentExpression(s.operator,r.cloneDeep(S),n.explodeExpression(e.get("right")))));case"UpdateExpression":return finish(r.updateExpression(s.operator,n.explodeExpression(e.get("argument")),s.prefix));case"YieldExpression":c=this.loc();var k=s.argument&&n.explodeExpression(e.get("argument"));if(k&&s.delegate){var I=n.makeTempVar();var D=r.returnStatement(r.callExpression(n.contextProperty("delegateYield"),[k,r.stringLiteral(I.property.name),c]));D.loc=s.loc;n.emit(D);n.mark(c);return I}n.emitAssign(n.contextProperty("next"),c);var C=r.returnStatement(r.cloneDeep(k)||null);C.loc=s.loc;n.emit(C);n.mark(c);return n.contextProperty("sent");case"ClassExpression":return finish(n.explodeClass(e));default:throw new Error("unknown Expression of type "+JSON.stringify(s.type))}};c.explodeClass=function(e){var t=[];if(e.node.superClass){t.push(e.get("superClass"))}e.get("body.body").forEach((function(e){if(e.node.computed){t.push(e.get("key"))}}));var r=t.some((function(e){return o.containsLeap(e)}));for(var s=0;s<t.length;s++){var a=t[s];var n=s===t.length-1;if(n){a.replaceWith(this.explodeExpression(a))}else{a.replaceWith(this.explodeViaTempVar(null,a,r))}}return e.node}},1478:(e,t,r)=>{"use strict";var s=_interopRequireWildcard(r(5820));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s["default"]=e;if(r){r.set(e,s)}return s}var a=Object.prototype.hasOwnProperty;t.hoist=function(e){var t=s.getTypes();t.assertFunction(e.node);var r={};function varDeclToExpr(e,s){var a=e.node,n=e.scope;t.assertVariableDeclaration(a);var o=[];a.declarations.forEach((function(e){r[e.id.name]=t.identifier(e.id.name);n.removeBinding(e.id.name);if(e.init){o.push(t.assignmentExpression("=",e.id,e.init))}else if(s){o.push(e.id)}}));if(o.length===0)return null;if(o.length===1)return o[0];return t.sequenceExpression(o)}e.get("body").traverse({VariableDeclaration:{exit:function exit(e){var r=varDeclToExpr(e,false);if(r===null){e.remove()}else{s.replaceWithOrRemove(e,t.expressionStatement(r))}e.skip()}},ForStatement:function ForStatement(e){var t=e.get("init");if(t.isVariableDeclaration()){s.replaceWithOrRemove(t,varDeclToExpr(t,false))}},ForXStatement:function ForXStatement(e){var t=e.get("left");if(t.isVariableDeclaration()){s.replaceWithOrRemove(t,varDeclToExpr(t,true))}},FunctionDeclaration:function FunctionDeclaration(e){var a=e.node;r[a.id.name]=a.id;var n=t.expressionStatement(t.assignmentExpression("=",t.clone(a.id),t.functionExpression(e.scope.generateUidIdentifierBasedOnNode(a),a.params,a.body,a.generator,a.expression)));if(e.parentPath.isBlockStatement()){e.parentPath.unshiftContainer("body",n);e.remove()}else{s.replaceWithOrRemove(e,n)}e.scope.removeBinding(a.id.name);e.skip()},FunctionExpression:function FunctionExpression(e){e.skip()},ArrowFunctionExpression:function ArrowFunctionExpression(e){e.skip()}});var n={};e.get("params").forEach((function(e){var r=e.node;if(t.isIdentifier(r)){n[r.name]=r}else{}}));var o=[];Object.keys(r).forEach((function(e){if(!a.call(n,e)){o.push(t.variableDeclarator(r[e],null))}}));if(o.length===0){return null}return t.variableDeclaration("var",o)}},4982:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=_default;var s=r(7089);function _default(e){var t={visitor:(0,s.getVisitor)(e)};var r=e&&e.version;if(r&&parseInt(r,10)>=7){t.name="regenerator-transform"}return t}},3609:(e,t,r)=>{"use strict";var s=r(5277);var a=s(r(9491));var n=r(4469);var o=r(3837);var i=r(5820);function Entry(){a["default"].ok(this instanceof Entry)}function FunctionEntry(e){Entry.call(this);(0,i.getTypes)().assertLiteral(e);this.returnLoc=e}(0,o.inherits)(FunctionEntry,Entry);t.FunctionEntry=FunctionEntry;function LoopEntry(e,t,r){Entry.call(this);var s=(0,i.getTypes)();s.assertLiteral(e);s.assertLiteral(t);if(r){s.assertIdentifier(r)}else{r=null}this.breakLoc=e;this.continueLoc=t;this.label=r}(0,o.inherits)(LoopEntry,Entry);t.LoopEntry=LoopEntry;function SwitchEntry(e){Entry.call(this);(0,i.getTypes)().assertLiteral(e);this.breakLoc=e}(0,o.inherits)(SwitchEntry,Entry);t.SwitchEntry=SwitchEntry;function TryEntry(e,t,r){Entry.call(this);var s=(0,i.getTypes)();s.assertLiteral(e);if(t){a["default"].ok(t instanceof CatchEntry)}else{t=null}if(r){a["default"].ok(r instanceof FinallyEntry)}else{r=null}a["default"].ok(t||r);this.firstLoc=e;this.catchEntry=t;this.finallyEntry=r}(0,o.inherits)(TryEntry,Entry);t.TryEntry=TryEntry;function CatchEntry(e,t){Entry.call(this);var r=(0,i.getTypes)();r.assertLiteral(e);r.assertIdentifier(t);this.firstLoc=e;this.paramId=t}(0,o.inherits)(CatchEntry,Entry);t.CatchEntry=CatchEntry;function FinallyEntry(e,t){Entry.call(this);var r=(0,i.getTypes)();r.assertLiteral(e);r.assertLiteral(t);this.firstLoc=e;this.afterLoc=t}(0,o.inherits)(FinallyEntry,Entry);t.FinallyEntry=FinallyEntry;function LabeledEntry(e,t){Entry.call(this);var r=(0,i.getTypes)();r.assertLiteral(e);r.assertIdentifier(t);this.breakLoc=e;this.label=t}(0,o.inherits)(LabeledEntry,Entry);t.LabeledEntry=LabeledEntry;function LeapManager(e){a["default"].ok(this instanceof LeapManager);a["default"].ok(e instanceof n.Emitter);this.emitter=e;this.entryStack=[new FunctionEntry(e.finalLoc)]}var l=LeapManager.prototype;t.LeapManager=LeapManager;l.withEntry=function(e,t){a["default"].ok(e instanceof Entry);this.entryStack.push(e);try{t.call(this.emitter)}finally{var r=this.entryStack.pop();a["default"].strictEqual(r,e)}};l._findLeapLocation=function(e,t){for(var r=this.entryStack.length-1;r>=0;--r){var s=this.entryStack[r];var a=s[e];if(a){if(t){if(s.label&&s.label.name===t.name){return a}}else if(s instanceof LabeledEntry){}else{return a}}}return null};l.getBreakLoc=function(e){return this._findLeapLocation("breakLoc",e)};l.getContinueLoc=function(e){return this._findLeapLocation("continueLoc",e)}},7463:(e,t,r)=>{"use strict";var s=r(5277);var a=s(r(9491));var n=r(5820);var o=new WeakMap;function m(e){if(!o.has(e)){o.set(e,{})}return o.get(e)}var i=Object.prototype.hasOwnProperty;function makePredicate(e,t){function onlyChildren(e){var t=(0,n.getTypes)();t.assertNode(e);var r=false;function check(e){if(r){}else if(Array.isArray(e)){e.some(check)}else if(t.isNode(e)){a["default"].strictEqual(r,false);r=predicate(e)}return r}var s=t.VISITOR_KEYS[e.type];if(s){for(var o=0;o<s.length;o++){var i=s[o];var l=e[i];check(l)}}return r}function predicate(r){(0,n.getTypes)().assertNode(r);var s=m(r);if(i.call(s,e))return s[e];if(i.call(l,r.type))return s[e]=false;if(i.call(t,r.type))return s[e]=true;return s[e]=onlyChildren(r)}predicate.onlyChildren=onlyChildren;return predicate}var l={FunctionExpression:true,ArrowFunctionExpression:true};var c={CallExpression:true,ForInStatement:true,UnaryExpression:true,BinaryExpression:true,AssignmentExpression:true,UpdateExpression:true,NewExpression:true};var u={YieldExpression:true,BreakStatement:true,ContinueStatement:true,ReturnStatement:true,ThrowStatement:true};for(var p in u){if(i.call(u,p)){c[p]=u[p]}}t.hasSideEffects=makePredicate("hasSideEffects",c);t.containsLeap=makePredicate("containsLeap",u)},5845:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=replaceShorthandObjectMethod;var s=_interopRequireWildcard(r(5820));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s["default"]=e;if(r){r.set(e,s)}return s}function replaceShorthandObjectMethod(e){var t=s.getTypes();if(!e.node||!t.isFunction(e.node)){throw new Error("replaceShorthandObjectMethod can only be called on Function AST node paths.")}if(!t.isObjectMethod(e.node)){return e}if(!e.node.generator){return e}var r=e.node.params.map((function(e){return t.cloneDeep(e)}));var a=t.functionExpression(null,r,t.cloneDeep(e.node.body),e.node.generator,e.node.async);s.replaceWithOrRemove(e,t.objectProperty(t.cloneDeep(e.node.key),a,e.node.computed,false));return e.get("value")}},5820:(e,t)=>{"use strict";t.__esModule=true;t.wrapWithTypes=wrapWithTypes;t.getTypes=getTypes;t.runtimeProperty=runtimeProperty;t.isReference=isReference;t.replaceWithOrRemove=replaceWithOrRemove;var r=null;function wrapWithTypes(e,t){return function(){var s=r;r=e;try{for(var a=arguments.length,n=new Array(a),o=0;o<a;o++){n[o]=arguments[o]}return t.apply(this,n)}finally{r=s}}}function getTypes(){return r}function runtimeProperty(e){var t=getTypes();return t.memberExpression(t.identifier("regeneratorRuntime"),t.identifier(e),false)}function isReference(e){return e.isReferenced()||e.parentPath.isAssignmentExpression({left:e.node})}function replaceWithOrRemove(e,t){if(t){e.replaceWith(t)}else{e.remove()}}},7089:(e,t,r)=>{"use strict";var s=r(5277);var a=s(r(9491));var n=r(1478);var o=r(4469);var i=s(r(5845));var l=_interopRequireWildcard(r(5820));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s["default"]=e;if(r){r.set(e,s)}return s}t.getVisitor=function(e){var t=e.types;return{Method:function Method(e,r){var s=e.node;if(!shouldRegenerate(s,r))return;var a=t.functionExpression(null,[],t.cloneNode(s.body,false),s.generator,s.async);e.get("body").set("body",[t.returnStatement(t.callExpression(a,[]))]);s.async=false;s.generator=false;e.get("body.body.0.argument.callee").unwrapFunctionEnvironment()},Function:{exit:l.wrapWithTypes(t,(function(e,r){var s=e.node;if(!shouldRegenerate(s,r))return;e=(0,i["default"])(e);s=e.node;var a=e.scope.generateUidIdentifier("context");var c=e.scope.generateUidIdentifier("args");e.ensureBlock();var f=e.get("body");if(s.async){f.traverse(d)}f.traverse(p,{context:a});var y=[];var g=[];f.get("body").forEach((function(e){var r=e.node;if(t.isExpressionStatement(r)&&t.isStringLiteral(r.expression)){y.push(r)}else if(r&&r._blockHoist!=null){y.push(r)}else{g.push(r)}}));if(y.length>0){f.node.body=g}var h=getOuterFnExpr(e);t.assertIdentifier(s.id);var b=t.identifier(s.id.name+"$");var x=(0,n.hoist)(e);var v={usesThis:false,usesArguments:false,getArgsId:function getArgsId(){return t.clone(c)}};e.traverse(u,v);if(v.usesArguments){x=x||t.variableDeclaration("var",[]);x.declarations.push(t.variableDeclarator(t.clone(c),t.identifier("arguments")))}var j=new o.Emitter(a);j.explode(e.get("body"));if(x&&x.declarations.length>0){y.push(x)}var E=[j.getContextFunction(b)];var w=j.getTryLocsList();if(s.generator){E.push(h)}else if(v.usesThis||w||s.async){E.push(t.nullLiteral())}if(v.usesThis){E.push(t.thisExpression())}else if(w||s.async){E.push(t.nullLiteral())}if(w){E.push(w)}else if(s.async){E.push(t.nullLiteral())}if(s.async){var _=e.scope;do{if(_.hasOwnBinding("Promise"))_.rename("Promise")}while(_=_.parent);E.push(t.identifier("Promise"))}var S=t.callExpression(l.runtimeProperty(s.async?"async":"wrap"),E);y.push(t.returnStatement(S));s.body=t.blockStatement(y);e.get("body.body").forEach((function(e){return e.scope.registerDeclaration(e)}));var k=f.node.directives;if(k){s.body.directives=k}var I=s.generator;if(I){s.generator=false}if(s.async){s.async=false}if(I&&t.isExpression(s)){l.replaceWithOrRemove(e,t.callExpression(l.runtimeProperty("mark"),[s]));e.addComment("leading","#__PURE__")}var D=j.getInsertedLocs();e.traverse({NumericLiteral:function NumericLiteral(e){if(!D.has(e.node)){return}e.replaceWith(t.numericLiteral(e.node.value))}});e.requeue()}))}}};function shouldRegenerate(e,t){if(e.generator){if(e.async){return t.opts.asyncGenerators!==false}else{return t.opts.generators!==false}}else if(e.async){return t.opts.async!==false}else{return false}}function getOuterFnExpr(e){var t=l.getTypes();var r=e.node;t.assertFunction(r);if(!r.id){r.id=e.scope.parent.generateUidIdentifier("callee")}if(r.generator&&t.isFunctionDeclaration(r)){return getMarkedFunctionId(e)}return t.clone(r.id)}var c=new WeakMap;function getMarkInfo(e){if(!c.has(e)){c.set(e,{})}return c.get(e)}function getMarkedFunctionId(e){var t=l.getTypes();var r=e.node;t.assertIdentifier(r.id);var s=e.findParent((function(e){return e.isProgram()||e.isBlockStatement()}));if(!s){return r.id}var n=s.node;a["default"].ok(Array.isArray(n.body));var o=getMarkInfo(n);if(!o.decl){o.decl=t.variableDeclaration("var",[]);s.unshiftContainer("body",o.decl);o.declPath=s.get("body.0")}a["default"].strictEqual(o.declPath.node,o.decl);var i=s.scope.generateUidIdentifier("marked");var c=t.callExpression(l.runtimeProperty("mark"),[t.clone(r.id)]);var u=o.decl.declarations.push(t.variableDeclarator(i,c))-1;var p=o.declPath.get("declarations."+u+".init");a["default"].strictEqual(p.node,c);p.addComment("leading","#__PURE__");return t.clone(i)}var u={"FunctionExpression|FunctionDeclaration|Method":function FunctionExpressionFunctionDeclarationMethod(e){e.skip()},Identifier:function Identifier(e,t){if(e.node.name==="arguments"&&l.isReference(e)){l.replaceWithOrRemove(e,t.getArgsId());t.usesArguments=true}},ThisExpression:function ThisExpression(e,t){t.usesThis=true}};var p={MetaProperty:function MetaProperty(e){var t=e.node;if(t.meta.name==="function"&&t.property.name==="sent"){var r=l.getTypes();l.replaceWithOrRemove(e,r.memberExpression(r.clone(this.context),r.identifier("_sent")))}}};var d={Function:function Function(e){e.skip()},AwaitExpression:function AwaitExpression(e){var t=l.getTypes();var r=e.node.argument;l.replaceWithOrRemove(e,t.yieldExpression(t.callExpression(l.runtimeProperty("awrap"),[r]),false))}}},8383:(e,t,r)=>{"use strict";const s=r(1068);t.REGULAR=new Map([["d",s().addRange(48,57)],["D",s().addRange(0,47).addRange(58,65535)],["s",s(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",s().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535)],["w",s(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",s(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)]]);t.UNICODE=new Map([["d",s().addRange(48,57)],["D",s().addRange(0,47).addRange(58,1114111)],["s",s(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",s().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",s(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",s(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)]]);t.UNICODE_IGNORE_CASE=new Map([["d",s().addRange(48,57)],["D",s().addRange(0,47).addRange(58,1114111)],["s",s(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",s().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",s(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122)],["W",s(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,382).addRange(384,8489).addRange(8491,1114111)]])},7553:e=>{e.exports=new Map([[75,8490],[83,383],[107,8490],[115,383],[181,924],[197,8491],[223,7838],[229,8491],[383,83],[452,453],[453,452],[455,456],[456,455],[458,459],[459,458],[497,498],[498,497],[837,8126],[914,976],[917,1013],[920,1012],[921,8126],[922,1008],[924,181],[928,982],[929,1009],[931,962],[934,981],[937,8486],[952,1012],[962,931],[969,8486],[976,914],[977,1012],[981,934],[982,928],[1008,922],[1009,929],[1012,[920,977,952]],[1013,917],[1042,7296],[1044,7297],[1054,7298],[1057,7299],[1058,7301],[1066,7302],[1122,7303],[7296,1042],[7297,1044],[7298,1054],[7299,1057],[7300,7301],[7301,[1058,7300]],[7302,1066],[7303,1122],[7304,42570],[7776,7835],[7835,7776],[7838,223],[8064,8072],[8065,8073],[8066,8074],[8067,8075],[8068,8076],[8069,8077],[8070,8078],[8071,8079],[8072,8064],[8073,8065],[8074,8066],[8075,8067],[8076,8068],[8077,8069],[8078,8070],[8079,8071],[8080,8088],[8081,8089],[8082,8090],[8083,8091],[8084,8092],[8085,8093],[8086,8094],[8087,8095],[8088,8080],[8089,8081],[8090,8082],[8091,8083],[8092,8084],[8093,8085],[8094,8086],[8095,8087],[8096,8104],[8097,8105],[8098,8106],[8099,8107],[8100,8108],[8101,8109],[8102,8110],[8103,8111],[8104,8096],[8105,8097],[8106,8098],[8107,8099],[8108,8100],[8109,8101],[8110,8102],[8111,8103],[8115,8124],[8124,8115],[8126,[837,921]],[8131,8140],[8140,8131],[8179,8188],[8188,8179],[8486,[937,969]],[8490,75],[8491,[197,229]],[42570,7304],[66560,66600],[66561,66601],[66562,66602],[66563,66603],[66564,66604],[66565,66605],[66566,66606],[66567,66607],[66568,66608],[66569,66609],[66570,66610],[66571,66611],[66572,66612],[66573,66613],[66574,66614],[66575,66615],[66576,66616],[66577,66617],[66578,66618],[66579,66619],[66580,66620],[66581,66621],[66582,66622],[66583,66623],[66584,66624],[66585,66625],[66586,66626],[66587,66627],[66588,66628],[66589,66629],[66590,66630],[66591,66631],[66592,66632],[66593,66633],[66594,66634],[66595,66635],[66596,66636],[66597,66637],[66598,66638],[66599,66639],[66600,66560],[66601,66561],[66602,66562],[66603,66563],[66604,66564],[66605,66565],[66606,66566],[66607,66567],[66608,66568],[66609,66569],[66610,66570],[66611,66571],[66612,66572],[66613,66573],[66614,66574],[66615,66575],[66616,66576],[66617,66577],[66618,66578],[66619,66579],[66620,66580],[66621,66581],[66622,66582],[66623,66583],[66624,66584],[66625,66585],[66626,66586],[66627,66587],[66628,66588],[66629,66589],[66630,66590],[66631,66591],[66632,66592],[66633,66593],[66634,66594],[66635,66595],[66636,66596],[66637,66597],[66638,66598],[66639,66599],[66736,66776],[66737,66777],[66738,66778],[66739,66779],[66740,66780],[66741,66781],[66742,66782],[66743,66783],[66744,66784],[66745,66785],[66746,66786],[66747,66787],[66748,66788],[66749,66789],[66750,66790],[66751,66791],[66752,66792],[66753,66793],[66754,66794],[66755,66795],[66756,66796],[66757,66797],[66758,66798],[66759,66799],[66760,66800],[66761,66801],[66762,66802],[66763,66803],[66764,66804],[66765,66805],[66766,66806],[66767,66807],[66768,66808],[66769,66809],[66770,66810],[66771,66811],[66776,66736],[66777,66737],[66778,66738],[66779,66739],[66780,66740],[66781,66741],[66782,66742],[66783,66743],[66784,66744],[66785,66745],[66786,66746],[66787,66747],[66788,66748],[66789,66749],[66790,66750],[66791,66751],[66792,66752],[66793,66753],[66794,66754],[66795,66755],[66796,66756],[66797,66757],[66798,66758],[66799,66759],[66800,66760],[66801,66761],[66802,66762],[66803,66763],[66804,66764],[66805,66765],[66806,66766],[66807,66767],[66808,66768],[66809,66769],[66810,66770],[66811,66771],[66928,66967],[66929,66968],[66930,66969],[66931,66970],[66932,66971],[66933,66972],[66934,66973],[66935,66974],[66936,66975],[66937,66976],[66938,66977],[66940,66979],[66941,66980],[66942,66981],[66943,66982],[66944,66983],[66945,66984],[66946,66985],[66947,66986],[66948,66987],[66949,66988],[66950,66989],[66951,66990],[66952,66991],[66953,66992],[66954,66993],[66956,66995],[66957,66996],[66958,66997],[66959,66998],[66960,66999],[66961,67e3],[66962,67001],[66964,67003],[66965,67004],[66967,66928],[66968,66929],[66969,66930],[66970,66931],[66971,66932],[66972,66933],[66973,66934],[66974,66935],[66975,66936],[66976,66937],[66977,66938],[66979,66940],[66980,66941],[66981,66942],[66982,66943],[66983,66944],[66984,66945],[66985,66946],[66986,66947],[66987,66948],[66988,66949],[66989,66950],[66990,66951],[66991,66952],[66992,66953],[66993,66954],[66995,66956],[66996,66957],[66997,66958],[66998,66959],[66999,66960],[67e3,66961],[67001,66962],[67003,66964],[67004,66965],[68736,68800],[68737,68801],[68738,68802],[68739,68803],[68740,68804],[68741,68805],[68742,68806],[68743,68807],[68744,68808],[68745,68809],[68746,68810],[68747,68811],[68748,68812],[68749,68813],[68750,68814],[68751,68815],[68752,68816],[68753,68817],[68754,68818],[68755,68819],[68756,68820],[68757,68821],[68758,68822],[68759,68823],[68760,68824],[68761,68825],[68762,68826],[68763,68827],[68764,68828],[68765,68829],[68766,68830],[68767,68831],[68768,68832],[68769,68833],[68770,68834],[68771,68835],[68772,68836],[68773,68837],[68774,68838],[68775,68839],[68776,68840],[68777,68841],[68778,68842],[68779,68843],[68780,68844],[68781,68845],[68782,68846],[68783,68847],[68784,68848],[68785,68849],[68786,68850],[68800,68736],[68801,68737],[68802,68738],[68803,68739],[68804,68740],[68805,68741],[68806,68742],[68807,68743],[68808,68744],[68809,68745],[68810,68746],[68811,68747],[68812,68748],[68813,68749],[68814,68750],[68815,68751],[68816,68752],[68817,68753],[68818,68754],[68819,68755],[68820,68756],[68821,68757],[68822,68758],[68823,68759],[68824,68760],[68825,68761],[68826,68762],[68827,68763],[68828,68764],[68829,68765],[68830,68766],[68831,68767],[68832,68768],[68833,68769],[68834,68770],[68835,68771],[68836,68772],[68837,68773],[68838,68774],[68839,68775],[68840,68776],[68841,68777],[68842,68778],[68843,68779],[68844,68780],[68845,68781],[68846,68782],[68847,68783],[68848,68784],[68849,68785],[68850,68786],[71840,71872],[71841,71873],[71842,71874],[71843,71875],[71844,71876],[71845,71877],[71846,71878],[71847,71879],[71848,71880],[71849,71881],[71850,71882],[71851,71883],[71852,71884],[71853,71885],[71854,71886],[71855,71887],[71856,71888],[71857,71889],[71858,71890],[71859,71891],[71860,71892],[71861,71893],[71862,71894],[71863,71895],[71864,71896],[71865,71897],[71866,71898],[71867,71899],[71868,71900],[71869,71901],[71870,71902],[71871,71903],[71872,71840],[71873,71841],[71874,71842],[71875,71843],[71876,71844],[71877,71845],[71878,71846],[71879,71847],[71880,71848],[71881,71849],[71882,71850],[71883,71851],[71884,71852],[71885,71853],[71886,71854],[71887,71855],[71888,71856],[71889,71857],[71890,71858],[71891,71859],[71892,71860],[71893,71861],[71894,71862],[71895,71863],[71896,71864],[71897,71865],[71898,71866],[71899,71867],[71900,71868],[71901,71869],[71902,71870],[71903,71871],[93760,93792],[93761,93793],[93762,93794],[93763,93795],[93764,93796],[93765,93797],[93766,93798],[93767,93799],[93768,93800],[93769,93801],[93770,93802],[93771,93803],[93772,93804],[93773,93805],[93774,93806],[93775,93807],[93776,93808],[93777,93809],[93778,93810],[93779,93811],[93780,93812],[93781,93813],[93782,93814],[93783,93815],[93784,93816],[93785,93817],[93786,93818],[93787,93819],[93788,93820],[93789,93821],[93790,93822],[93791,93823],[93792,93760],[93793,93761],[93794,93762],[93795,93763],[93796,93764],[93797,93765],[93798,93766],[93799,93767],[93800,93768],[93801,93769],[93802,93770],[93803,93771],[93804,93772],[93805,93773],[93806,93774],[93807,93775],[93808,93776],[93809,93777],[93810,93778],[93811,93779],[93812,93780],[93813,93781],[93814,93782],[93815,93783],[93816,93784],[93817,93785],[93818,93786],[93819,93787],[93820,93788],[93821,93789],[93822,93790],[93823,93791],[125184,125218],[125185,125219],[125186,125220],[125187,125221],[125188,125222],[125189,125223],[125190,125224],[125191,125225],[125192,125226],[125193,125227],[125194,125228],[125195,125229],[125196,125230],[125197,125231],[125198,125232],[125199,125233],[125200,125234],[125201,125235],[125202,125236],[125203,125237],[125204,125238],[125205,125239],[125206,125240],[125207,125241],[125208,125242],[125209,125243],[125210,125244],[125211,125245],[125212,125246],[125213,125247],[125214,125248],[125215,125249],[125216,125250],[125217,125251],[125218,125184],[125219,125185],[125220,125186],[125221,125187],[125222,125188],[125223,125189],[125224,125190],[125225,125191],[125226,125192],[125227,125193],[125228,125194],[125229,125195],[125230,125196],[125231,125197],[125232,125198],[125233,125199],[125234,125200],[125235,125201],[125236,125202],[125237,125203],[125238,125204],[125239,125205],[125240,125206],[125241,125207],[125242,125208],[125243,125209],[125244,125210],[125245,125211],[125246,125212],[125247,125213],[125248,125214],[125249,125215],[125250,125216],[125251,125217]])},8498:(e,t,r)=>{"use strict";const s=r(8684).generate;const a=r(7396).parse;const n=r(1068);const o=r(1288);const i=r(1071);const l=r(7553);const c=r(8383);function flatMap(e,t){const r=[];e.forEach((e=>{const s=t(e);if(Array.isArray(s)){r.push.apply(r,s)}else{r.push(s)}}));return r}const u=/([\\^$.*+?()[\]{}|])/g;const p=n().addRange(0,1114111);const d=n().addRange(65536,1114111);const f=n().add(10,13,8232,8233);const y=p.clone().remove(f);const getCharacterClassEscapeSet=(e,t,r)=>{if(t){if(r){return c.UNICODE_IGNORE_CASE.get(e)}return c.UNICODE.get(e)}return c.REGULAR.get(e)};const getUnicodeDotSet=e=>e?p:y;const getUnicodePropertyValueSet=(e,t)=>{const r=t?`${e}/${t}`:`Binary_Property/${e}`;try{return require(`regenerate-unicode-properties/${r}.js`)}catch(r){throw new Error(`Failed to recognize value \`${t}\` for property `+`\`${e}\`.`)}};const handleLoneUnicodePropertyNameOrValue=e=>{try{const t="General_Category";const r=i(t,e);return getUnicodePropertyValueSet(t,r)}catch(e){}try{return getUnicodePropertyValueSet("Property_of_Strings",e)}catch(e){}const t=o(e);return getUnicodePropertyValueSet(t)};const getUnicodePropertyEscapeSet=(e,t)=>{const r=e.split("=");const s=r[0];let a;if(r.length==1){a=handleLoneUnicodePropertyNameOrValue(s)}else{const e=o(s);const t=i(e,r[1]);a=getUnicodePropertyValueSet(e,t)}if(t){if(a.strings){throw new Error("Cannot negate Unicode property of strings")}return{characters:p.clone().remove(a.characters),strings:new Set}}return{characters:a.characters.clone(),strings:a.strings?new Set(a.strings.map((e=>e.replace(u,"\\$1")))):new Set}};const getUnicodePropertyEscapeCharacterClassData=(e,t)=>{const r=getUnicodePropertyEscapeSet(e,t);const s=getCharacterClassEmptyData();s.singleChars=r.characters;if(r.strings.size>0){s.longStrings=r.strings;s.maybeIncludesStrings=true}return s};function configNeedCaseFoldAscii(){return!!g.modifiersData.i}function configNeedCaseFoldUnicode(){if(g.modifiersData.i===false)return false;if(!g.transform.unicodeFlag)return false;return Boolean(g.modifiersData.i||g.flags.ignoreCase)}n.prototype.iuAddRange=function(e,t){const r=this;do{const t=caseFold(e,configNeedCaseFoldAscii(),configNeedCaseFoldUnicode());if(t){r.add(t)}}while(++e<=t);return r};n.prototype.iuRemoveRange=function(e,t){const r=this;do{const t=caseFold(e,configNeedCaseFoldAscii(),configNeedCaseFoldUnicode());if(t){r.remove(t)}}while(++e<=t);return r};const update=(e,t)=>{let r=a(t,g.useUnicodeFlag?"u":"",{lookbehind:true,namedGroups:true,unicodePropertyEscape:true,unicodeSet:true,modifiers:true});switch(r.type){case"characterClass":case"group":case"value":break;default:r=wrap(r,t)}Object.assign(e,r)};const wrap=(e,t)=>({type:"group",behavior:"ignore",body:[e],raw:`(?:${t})`});const caseFold=(e,t,r)=>{let s=(r?l.get(e):undefined)||[];if(typeof s==="number")s=[s];if(t){if(e>=65&&e<=90){s.push(e+32)}else if(e>=97&&e<=122){s.push(e-32)}}return s.length==0?false:s};const buildHandler=e=>{switch(e){case"union":return{single:(e,t)=>{e.singleChars.add(t)},regSet:(e,t)=>{e.singleChars.add(t)},range:(e,t,r)=>{e.singleChars.addRange(t,r)},iuRange:(e,t,r)=>{e.singleChars.iuAddRange(t,r)},nested:(e,t)=>{e.singleChars.add(t.singleChars);for(const r of t.longStrings)e.longStrings.add(r);if(t.maybeIncludesStrings)e.maybeIncludesStrings=true}};case"union-negative":{const regSet=(e,t)=>{e.singleChars=p.clone().remove(t).add(e.singleChars)};return{single:(e,t)=>{const r=p.clone();e.singleChars=e.singleChars.contains(t)?r:r.remove(t)},regSet:regSet,range:(e,t,r)=>{e.singleChars=p.clone().removeRange(t,r).add(e.singleChars)},iuRange:(e,t,r)=>{e.singleChars=p.clone().iuRemoveRange(t,r).add(e.singleChars)},nested:(e,t)=>{regSet(e,t.singleChars);if(t.maybeIncludesStrings)throw new Error("ASSERTION ERROR")}}}case"intersection":{const regSet=(e,t)=>{if(e.first)e.singleChars=t;else e.singleChars.intersection(t)};return{single:(e,t)=>{e.singleChars=e.first||e.singleChars.contains(t)?n(t):n();e.longStrings.clear();e.maybeIncludesStrings=false},regSet:(e,t)=>{regSet(e,t);e.longStrings.clear();e.maybeIncludesStrings=false},range:(e,t,r)=>{if(e.first)e.singleChars.addRange(t,r);else e.singleChars.intersection(n().addRange(t,r));e.longStrings.clear();e.maybeIncludesStrings=false},iuRange:(e,t,r)=>{if(e.first)e.singleChars.iuAddRange(t,r);else e.singleChars.intersection(n().iuAddRange(t,r));e.longStrings.clear();e.maybeIncludesStrings=false},nested:(e,t)=>{regSet(e,t.singleChars);if(e.first){e.longStrings=t.longStrings;e.maybeIncludesStrings=t.maybeIncludesStrings}else{for(const r of e.longStrings){if(!t.longStrings.has(r))e.longStrings.delete(r)}if(!t.maybeIncludesStrings)e.maybeIncludesStrings=false}}}}case"subtraction":{const regSet=(e,t)=>{if(e.first)e.singleChars.add(t);else e.singleChars.remove(t)};return{single:(e,t)=>{if(e.first)e.singleChars.add(t);else e.singleChars.remove(t)},regSet:regSet,range:(e,t,r)=>{if(e.first)e.singleChars.addRange(t,r);else e.singleChars.removeRange(t,r)},iuRange:(e,t,r)=>{if(e.first)e.singleChars.iuAddRange(t,r);else e.singleChars.iuRemoveRange(t,r)},nested:(e,t)=>{regSet(e,t.singleChars);if(e.first){e.longStrings=t.longStrings;e.maybeIncludesStrings=t.maybeIncludesStrings}else{for(const r of e.longStrings){if(t.longStrings.has(r))e.longStrings.delete(r)}}}}}default:throw new Error(`Unknown set action: ${characterClassItem.kind}`)}};const getCharacterClassEmptyData=()=>({transformed:g.transform.unicodeFlag,singleChars:n(),longStrings:new Set,hasEmptyString:false,first:true,maybeIncludesStrings:false});const maybeFold=e=>{const t=configNeedCaseFoldAscii();const r=configNeedCaseFoldUnicode();if(t||r){const s=caseFold(e,t,r);if(s){return[e,s]}}return[e]};const computeClassStrings=(e,t)=>{let r=getCharacterClassEmptyData();const a=configNeedCaseFoldAscii();const o=configNeedCaseFoldUnicode();for(const i of e.strings){if(i.characters.length===1){maybeFold(i.characters[0].codePoint).forEach((e=>{r.singleChars.add(e)}))}else{let e;if(o||a){e="";for(const r of i.characters){let s=n(r.codePoint);const a=maybeFold(r.codePoint);if(a)s.add(a);e+=s.toString(t)}}else{e=i.characters.map((e=>s(e))).join("")}r.longStrings.add(e);r.maybeIncludesStrings=true}}return r};const computeCharacterClass=(e,t)=>{let r=getCharacterClassEmptyData();let s;let a;switch(e.kind){case"union":s=buildHandler("union");a=buildHandler("union-negative");break;case"intersection":s=buildHandler("intersection");a=buildHandler("subtraction");if(g.transform.unicodeSetsFlag)r.transformed=true;break;case"subtraction":s=buildHandler("subtraction");a=buildHandler("intersection");if(g.transform.unicodeSetsFlag)r.transformed=true;break;default:throw new Error(`Unknown character class kind: ${e.kind}`)}const n=configNeedCaseFoldAscii();const o=configNeedCaseFoldUnicode();for(const i of e.body){switch(i.type){case"value":maybeFold(i.codePoint).forEach((e=>{s.single(r,e)}));break;case"characterClassRange":const e=i.min.codePoint;const l=i.max.codePoint;s.range(r,e,l);if(n||o){s.iuRange(r,e,l);r.transformed=true}break;case"characterClassEscape":s.regSet(r,getCharacterClassEscapeSet(i.value,g.flags.unicode,g.flags.ignoreCase));break;case"unicodePropertyEscape":const c=getUnicodePropertyEscapeCharacterClassData(i.value,i.negative);s.nested(r,c);r.transformed=r.transformed||g.transform.unicodePropertyEscapes||g.transform.unicodeSetsFlag&&c.maybeIncludesStrings;break;case"characterClass":const u=i.negative?a:s;const p=computeCharacterClass(i,t);u.nested(r,p);r.transformed=true;break;case"classStrings":s.nested(r,computeClassStrings(i,t));r.transformed=true;break;default:throw new Error(`Unknown term type: ${i.type}`)}r.first=false}if(e.negative&&r.maybeIncludesStrings){throw new SyntaxError("Cannot negate set containing strings")}return r};const processCharacterClass=(e,t,r=computeCharacterClass(e,t))=>{const s=e.negative;const{singleChars:a,transformed:n,longStrings:o}=r;if(n){const r=a.toString(t);if(s){if(g.useUnicodeFlag){update(e,`[^${r[0]==="["?r.slice(1,-1):r}]`)}else{if(g.flags.unicode){if(g.flags.ignoreCase){const r=a.clone().intersection(d);const s=a.clone().remove(r).addRange(55296,57343).toString({bmpOnly:true});const n=d.clone().remove(r).toString(t);update(e,`(?!${s})[\\s\\S]|${n}`)}else{update(e,p.clone().remove(a).toString(t))}}else{update(e,`(?!${r})[\\s\\S]`)}}}else{const t=o.has("");const s=Array.from(o).sort(((e,t)=>t.length-e.length));if(r!=="[]"||o.size===0){s.splice(s.length-(t?1:0),0,r)}update(e,s.join("|"))}}return e};const assertNoUnmatchedReferences=e=>{const t=Object.keys(e.unmatchedReferences);if(t.length>0){throw new Error(`Unknown group names: ${t}`)}};const processModifiers=(e,t,r)=>{const s=e.modifierFlags.enabling;const a=e.modifierFlags.disabling;delete e.modifierFlags;e.behavior="ignore";const n=Object.assign({},g.modifiersData);s.split("").forEach((e=>{g.modifiersData[e]=true}));a.split("").forEach((e=>{g.modifiersData[e]=false}));e.body=e.body.map((e=>processTerm(e,t,r)));g.modifiersData=n;return e};const processTerm=(e,t,r)=>{switch(e.type){case"dot":if(g.transform.unicodeFlag){update(e,getUnicodeDotSet(g.flags.dotAll||g.modifiersData.s).toString(t))}else if(g.transform.dotAllFlag||g.modifiersData.s){update(e,"[\\s\\S]")}break;case"characterClass":e=processCharacterClass(e,t);break;case"unicodePropertyEscape":const s=getUnicodePropertyEscapeCharacterClassData(e.value,e.negative);if(s.maybeIncludesStrings){if(!g.flags.unicodeSets){throw new Error("Properties of strings are only supported when using the unicodeSets (v) flag.")}if(g.transform.unicodeSetsFlag){s.transformed=true;e=processCharacterClass(e,t,s)}}else if(g.transform.unicodePropertyEscapes){update(e,s.singleChars.toString(t))}break;case"characterClassEscape":if(g.transform.unicodeFlag){update(e,getCharacterClassEscapeSet(e.value,true,g.flags.ignoreCase).toString(t))}break;case"group":if(e.behavior=="normal"){r.lastIndex++}if(e.name){const t=e.name.value;if(r.namesConflicts[t]){throw new Error(`Group '${t}' has already been defined in this context.`)}r.namesConflicts[t]=true;if(g.transform.namedGroups){delete e.name}const s=r.lastIndex;if(!r.names[t]){r.names[t]=[]}r.names[t].push(s);if(r.onNamedGroup){r.onNamedGroup.call(null,t,s)}if(r.unmatchedReferences[t]){delete r.unmatchedReferences[t]}}if(e.modifierFlags&&g.transform.modifiers){return processModifiers(e,t,r)}case"quantifier":e.body=e.body.map((e=>processTerm(e,t,r)));break;case"disjunction":const a=r.namesConflicts;e.body=e.body.map((e=>{r.namesConflicts=Object.create(a);return processTerm(e,t,r)}));break;case"alternative":e.body=flatMap(e.body,(e=>{const s=processTerm(e,t,r);return s.type==="alternative"?s.body:s}));break;case"value":const o=e.codePoint;const i=n(o);const l=maybeFold(o);i.add(l);update(e,i.toString(t));break;case"reference":if(e.name){const t=e.name.value;const s=r.names[t];if(!s){r.unmatchedReferences[t]=true}if(g.transform.namedGroups){if(s){const e=s.map((e=>({type:"reference",matchIndex:e,raw:"\\"+e})));if(e.length===1){return e[0]}return{type:"alternative",body:e,raw:e.map((e=>e.raw)).join("")}}return{type:"group",behavior:"ignore",body:[],raw:"(?:)"}}}break;case"anchor":if(g.modifiersData.m){if(e.kind=="start"){update(e,`(?:^|(?<=${f.toString()}))`)}else if(e.kind=="end"){update(e,`(?:$|(?=${f.toString()}))`)}}case"empty":break;default:throw new Error(`Unknown term type: ${e.type}`)}return e};const g={flags:{ignoreCase:false,unicode:false,unicodeSets:false,dotAll:false,multiline:false},transform:{dotAllFlag:false,unicodeFlag:false,unicodeSetsFlag:false,unicodePropertyEscapes:false,namedGroups:false,modifiers:false},modifiersData:{i:undefined,s:undefined,m:undefined},get useUnicodeFlag(){return(this.flags.unicode||this.flags.unicodeSets)&&!this.transform.unicodeFlag}};const validateOptions=e=>{if(!e)return;for(const t of Object.keys(e)){const r=e[t];switch(t){case"dotAllFlag":case"unicodeFlag":case"unicodePropertyEscapes":case"namedGroups":if(r!=null&&r!==false&&r!=="transform"){throw new Error(`.${t} must be false (default) or 'transform'.`)}break;case"modifiers":case"unicodeSetsFlag":if(r!=null&&r!==false&&r!=="parse"&&r!=="transform"){throw new Error(`.${t} must be false (default), 'parse' or 'transform'.`)}break;case"onNamedGroup":case"onNewFlags":if(r!=null&&typeof r!=="function"){throw new Error(`.${t} must be a function.`)}break;default:throw new Error(`.${t} is not a valid regexpu-core option.`)}}};const hasFlag=(e,t)=>e?e.includes(t):false;const transform=(e,t)=>e?e[t]==="transform":false;const rewritePattern=(e,t,r)=>{validateOptions(r);g.flags.unicode=hasFlag(t,"u");g.flags.unicodeSets=hasFlag(t,"v");g.flags.ignoreCase=hasFlag(t,"i");g.flags.dotAll=hasFlag(t,"s");g.flags.multiline=hasFlag(t,"m");g.transform.dotAllFlag=g.flags.dotAll&&transform(r,"dotAllFlag");g.transform.unicodeFlag=(g.flags.unicode||g.flags.unicodeSets)&&transform(r,"unicodeFlag");g.transform.unicodeSetsFlag=g.flags.unicodeSets&&transform(r,"unicodeSetsFlag");g.transform.unicodePropertyEscapes=g.flags.unicode&&(transform(r,"unicodeFlag")||transform(r,"unicodePropertyEscapes"));g.transform.namedGroups=transform(r,"namedGroups");g.transform.modifiers=transform(r,"modifiers");g.modifiersData.i=undefined;g.modifiersData.s=undefined;g.modifiersData.m=undefined;const n={unicodeSet:Boolean(r&&r.unicodeSetsFlag),modifiers:Boolean(r&&r.modifiers),unicodePropertyEscape:true,namedGroups:true,lookbehind:true};const o={hasUnicodeFlag:g.useUnicodeFlag,bmpOnly:!g.flags.unicode};const i={onNamedGroup:r&&r.onNamedGroup,lastIndex:0,names:Object.create(null),namesConflicts:Object.create(null),unmatchedReferences:Object.create(null)};const l=a(e,t,n);if(g.transform.modifiers){if(/\(\?[a-z]*-[a-z]+:/.test(e)){const e=Object.create(null);const t=[l];let r;while(r=t.pop(),r!=undefined){if(Array.isArray(r)){Array.prototype.push.apply(t,r)}else if(typeof r=="object"&&r!=null){for(const s of Object.keys(r)){const a=r[s];if(s=="modifierFlags"){if(a.disabling.length>0){a.disabling.split("").forEach((t=>{e[t]=true}))}}else if(typeof a=="object"&&a!=null){t.push(a)}}}}for(const t of Object.keys(e)){g.modifiersData[t]=true}}}processTerm(l,o,i);assertNoUnmatchedReferences(i);const c=r&&r.onNewFlags;if(c){let e=t.split("").filter((e=>!g.modifiersData[e])).join("");if(g.transform.unicodeSetsFlag){e=e.replace("v","u")}if(g.transform.unicodeFlag){e=e.replace("u","")}if(g.transform.dotAllFlag==="transform"){e=e.replace("s","")}c(e)}return s(l)};e.exports=rewritePattern},7396:e=>{"use strict";(function(){var t=String.fromCodePoint||function(){var e=String.fromCharCode;var t=Math.floor;return function fromCodePoint(){var r=16384;var s=[];var a;var n;var o=-1;var i=arguments.length;if(!i){return""}var l="";while(++o<i){var c=Number(arguments[o]);if(!isFinite(c)||c<0||c>1114111||t(c)!=c){throw RangeError("Invalid code point: "+c)}if(c<=65535){s.push(c)}else{c-=65536;a=(c>>10)+55296;n=c%1024+56320;s.push(a,n)}if(o+1==i||s.length>r){l+=e.apply(null,s);s.length=0}}return l}}();function parse(e,r,s){if(!s){s={}}function addRaw(t){t.raw=e.substring(t.range[0],t.range[1]);return t}function updateRawStart(e,t){e.range[0]=t;return addRaw(e)}function createAnchor(e,t){return addRaw({type:"anchor",kind:e,range:[p-t,p]})}function createValue(e,t,r,s){return addRaw({type:"value",kind:e,codePoint:t,range:[r,s]})}function createEscaped(e,t,r,s){s=s||0;return createValue(e,t,p-(r.length+s),p)}function createCharacter(e){var t=e[0];var r=t.charCodeAt(0);if(u){var s;if(t.length===1&&r>=55296&&r<=56319){s=lookahead().charCodeAt(0);if(s>=56320&&s<=57343){p++;return createValue("symbol",(r-55296)*1024+s-56320+65536,p-2,p)}}}return createValue("symbol",r,p-1,p)}function createDisjunction(e,t,r){return addRaw({type:"disjunction",body:e,range:[t,r]})}function createDot(){return addRaw({type:"dot",range:[p-1,p]})}function createCharacterClassEscape(e){return addRaw({type:"characterClassEscape",value:e,range:[p-2,p]})}function createReference(e){return addRaw({type:"reference",matchIndex:parseInt(e,10),range:[p-1-e.length,p]})}function createNamedReference(e){return addRaw({type:"reference",name:e,range:[e.range[0]-3,p]})}function createGroup(e,t,r,s){return addRaw({type:"group",behavior:e,body:t,range:[r,s]})}function createQuantifier(e,t,r,s,a){if(s==null){r=p-1;s=p}return addRaw({type:"quantifier",min:e,max:t,greedy:true,body:null,symbol:a,range:[r,s]})}function createAlternative(e,t,r){return addRaw({type:"alternative",body:e,range:[t,r]})}function createCharacterClass(e,t,r,s){return addRaw({type:"characterClass",kind:e.kind,body:e.body,negative:t,range:[r,s]})}function createClassRange(e,t,r,s){if(e.codePoint>t.codePoint){bail("invalid range in character class",e.raw+"-"+t.raw,r,s)}return addRaw({type:"characterClassRange",min:e,max:t,range:[r,s]})}function createClassStrings(e,t,r){return addRaw({type:"classStrings",strings:e,range:[t,r]})}function createClassString(e,t,r){return addRaw({type:"classString",characters:e,range:[t,r]})}function flattenBody(e){if(e.type==="alternative"){return e.body}else{return[e]}}function incr(t){t=t||1;var r=e.substring(p,p+t);p+=t||1;return r}function skip(e){if(!match(e)){bail("character",e)}}function match(t){if(e.indexOf(t,p)===p){return incr(t.length)}}function lookahead(){return e[p]}function current(t){return e.indexOf(t,p)===p}function next(t){return e[p+1]===t}function matchReg(t){var r=e.substring(p);var s=r.match(t);if(s){s.range=[];s.range[0]=p;incr(s[0].length);s.range[1]=p}return s}function parseDisjunction(){var e=[],t=p;e.push(parseAlternative());while(match("|")){e.push(parseAlternative())}if(e.length===1){return e[0]}return createDisjunction(e,t,p)}function parseAlternative(){var e=[],t=p;var r;while(r=parseTerm()){e.push(r)}if(e.length===1){return e[0]}return createAlternative(e,t,p)}function parseTerm(){if(p>=e.length||current("|")||current(")")){return null}var t=parseAnchor();if(t){return t}var r=parseAtomAndExtendedAtom();var s;if(!r){var a=p;s=parseQuantifier()||false;if(s){p=a;bail("Expected atom")}var n;if(!u&&(n=matchReg(/^{/))){r=createCharacter(n)}else{bail("Expected atom")}}s=parseQuantifier()||false;if(s){s.body=flattenBody(r);updateRawStart(s,r.range[0]);return s}return r}function parseGroup(e,t,r,s){var a=null,n=p;if(match(e)){a=t}else if(match(r)){a=s}else{return false}return finishGroup(a,n)}function finishGroup(e,t){var r=parseDisjunction();if(!r){bail("Expected disjunction")}skip(")");var s=createGroup(e,flattenBody(r),t,p);if(e=="normal"){if(o){n++}}return s}function parseAnchor(){if(match("^")){return createAnchor("start",1)}else if(match("$")){return createAnchor("end",1)}else if(match("\\b")){return createAnchor("boundary",2)}else if(match("\\B")){return createAnchor("not-boundary",2)}else{return parseGroup("(?=","lookahead","(?!","negativeLookahead")}}function parseQuantifier(){var e,t=p;var r;var s,a;if(match("*")){r=createQuantifier(0,undefined,undefined,undefined,"*")}else if(match("+")){r=createQuantifier(1,undefined,undefined,undefined,"+")}else if(match("?")){r=createQuantifier(0,1,undefined,undefined,"?")}else if(e=matchReg(/^\{([0-9]+)\}/)){s=parseInt(e[1],10);r=createQuantifier(s,s,e.range[0],e.range[1])}else if(e=matchReg(/^\{([0-9]+),\}/)){s=parseInt(e[1],10);r=createQuantifier(s,undefined,e.range[0],e.range[1])}else if(e=matchReg(/^\{([0-9]+),([0-9]+)\}/)){s=parseInt(e[1],10);a=parseInt(e[2],10);if(s>a){bail("numbers out of order in {} quantifier","",t,p)}r=createQuantifier(s,a,e.range[0],e.range[1])}if(s&&!Number.isSafeInteger(s)||a&&!Number.isSafeInteger(a)){bail("iterations outside JS safe integer range in quantifier","",t,p)}if(r){if(match("?")){r.greedy=false;r.range[1]+=1}}return r}function parseAtomAndExtendedAtom(){var t;if(t=matchReg(/^[^^$\\.*+?()[\]{}|]/)){return createCharacter(t)}else if(!u&&(t=matchReg(/^(?:]|})/))){return createCharacter(t)}else if(match(".")){return createDot()}else if(match("\\")){t=parseAtomEscape();if(!t){if(!u&&lookahead()=="c"){return createValue("symbol",92,p-1,p)}bail("atomEscape")}return t}else if(t=parseCharacterClass()){return t}else if(s.lookbehind&&(t=parseGroup("(?<=","lookbehind","(?<!","negativeLookbehind"))){return t}else if(s.namedGroups&&match("(?<")){var r=parseIdentifier();skip(">");var a=finishGroup("normal",r.range[0]-3);a.name=r;return a}else if(s.modifiers&&e.indexOf("(?")==p&&e[p+2]!=":"){return parseModifiersGroup()}else{return parseGroup("(?:","ignore","(","normal")}}function parseModifiersGroup(){function hasDupChar(e){var t=0;while(t<e.length){if(e.indexOf(e[t],t+1)!=-1){return true}t++}return false}var e=p;incr(2);var t=matchReg(/^[sim]+/);var r;if(match("-")){r=matchReg(/^[sim]+/);if(!r){bail("Invalid flags for modifiers group")}}else if(!t){bail("Invalid flags for modifiers group")}t=t?t[0]:"";r=r?r[0]:"";var s=t+r;if(s.length>3||hasDupChar(s)){bail("flags cannot be duplicated for modifiers group")}skip(":");var a=finishGroup("ignore",e);a.modifierFlags={enabling:t,disabling:r};return a}function parseUnicodeSurrogatePairEscape(e){if(u){var t,r;if(e.kind=="unicodeEscape"&&(t=e.codePoint)>=55296&&t<=56319&¤t("\\")&&next("u")){var s=p;p++;var a=parseClassEscape();if(a.kind=="unicodeEscape"&&(r=a.codePoint)>=56320&&r<=57343){e.range[1]=a.range[1];e.codePoint=(t-55296)*1024+r-56320+65536;e.type="value";e.kind="unicodeCodePointEscape";addRaw(e)}else{p=s}}}return e}function parseClassEscape(){return parseAtomEscape(true)}function parseAtomEscape(e){var t,r=p;t=parseDecimalEscape(e)||parseNamedReference();if(t){return t}if(e){if(match("b")){return createEscaped("singleEscape",8,"\\b")}else if(match("B")){bail("\\B not possible inside of CharacterClass","",r)}else if(!u&&(t=matchReg(/^c([0-9])/))){return createEscaped("controlLetter",t[1]+16,t[1],2)}else if(!u&&(t=matchReg(/^c_/))){return createEscaped("controlLetter",31,"_",2)}if(u&&match("-")){return createEscaped("singleEscape",45,"\\-")}}t=parseCharacterClassEscape()||parseCharacterEscape();return t}function parseDecimalEscape(e){var t,r,s=p;if(t=matchReg(/^(?!0)\d+/)){r=t[0];var l=parseInt(t[0],10);if(l<=n&&!e){return createReference(t[0])}else{a.push(l);if(o){i=true}else{bailOctalEscapeIfUnicode(s,p)}incr(-t[0].length);if(t=matchReg(/^[0-7]{1,3}/)){return createEscaped("octal",parseInt(t[0],8),t[0],1)}else{t=createCharacter(matchReg(/^[89]/));return updateRawStart(t,t.range[0]-1)}}}else if(t=matchReg(/^[0-7]{1,3}/)){r=t[0];if(r!=="0"){bailOctalEscapeIfUnicode(s,p)}if(/^0{1,3}$/.test(r)){return createEscaped("null",0,"0",r.length)}else{return createEscaped("octal",parseInt(r,8),r,1)}}return false}function bailOctalEscapeIfUnicode(e,t){if(u){bail("Invalid decimal escape in unicode mode",null,e,t)}}function parseCharacterClassEscape(){var e;if(e=matchReg(/^[dDsSwW]/)){return createCharacterClassEscape(e[0])}else if(s.unicodePropertyEscape&&u&&(e=matchReg(/^([pP])\{([^\}]+)\}/))){return addRaw({type:"unicodePropertyEscape",negative:e[1]==="P",value:e[2],range:[e.range[0]-1,e.range[1]],raw:e[0]})}else if(s.unicodeSet&&c&&match("q{")){return parseClassStrings()}return false}function parseNamedReference(){if(s.namedGroups&&matchReg(/^k<(?=.*?>)/)){var e=parseIdentifier();skip(">");return createNamedReference(e)}}function parseRegExpUnicodeEscapeSequence(){var e;if(e=matchReg(/^u([0-9a-fA-F]{4})/)){return parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2))}else if(u&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))){return createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4)}}function parseCharacterEscape(){var e;var t=p;if(e=matchReg(/^[fnrtv]/)){var r=0;switch(e[0]){case"t":r=9;break;case"n":r=10;break;case"v":r=11;break;case"f":r=12;break;case"r":r=13;break}return createEscaped("singleEscape",r,"\\"+e[0])}else if(e=matchReg(/^c([a-zA-Z])/)){return createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2)}else if(e=matchReg(/^x([0-9a-fA-F]{2})/)){return createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2)}else if(e=parseRegExpUnicodeEscapeSequence()){if(!e||e.codePoint>1114111){bail("Invalid escape sequence",null,t,p)}return e}else{return parseIdentityEscape()}}function parseIdentifierAtom(r){var s=lookahead();var a=p;if(s==="\\"){incr();var n=parseRegExpUnicodeEscapeSequence();if(!n||!r(n.codePoint)){bail("Invalid escape sequence",null,a,p)}return t(n.codePoint)}var o=s.charCodeAt(0);if(o>=55296&&o<=56319){s+=e[p+1];var i=s.charCodeAt(1);if(i>=56320&&i<=57343){o=(o-55296)*1024+i-56320+65536}}if(!r(o))return;incr();if(o>65535)incr();return s}function parseIdentifier(){var e=p;var t=parseIdentifierAtom(isIdentifierStart);if(!t){bail("Invalid identifier")}var r;while(r=parseIdentifierAtom(isIdentifierPart)){t+=r}return addRaw({type:"identifier",value:t,range:[e,p]})}function isIdentifierStart(e){var r=/[\$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\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\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-\u1878\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\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\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-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\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-\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-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDF00-\uDF1C\uDF27\uDF30-\uDF45]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\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-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2]|\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[\uDE40-\uDE7F\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\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]/;return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=128&&r.test(t(e))}function isIdentifierPart(e){var r=/[0-9_\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\u08D3-\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\u0B56\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\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\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EB9\u0EBB\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-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\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\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\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\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]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDD30-\uDD39\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC66-\uDC6F\uDC7F-\uDC82\uDCB0-\uDCBA\uDCF0-\uDCF9\uDD00-\uDD02\uDD27-\uDD34\uDD36-\uDD3F\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDD0-\uDDD9\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC50-\uDC59\uDC5E\uDCB0-\uDCC3\uDCD0-\uDCD9\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDE50-\uDE59\uDEAB-\uDEB7\uDEC0-\uDEC9\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC2C-\uDC3A\uDCE0-\uDCE9\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC50-\uDC59\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD50-\uDD59\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDDA0-\uDDA9\uDEF3-\uDEF6]|\uD81A[\uDE60-\uDE69\uDEF0-\uDEF4\uDF30-\uDF36\uDF50-\uDF59]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\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[\uDCD0-\uDCD6\uDD44-\uDD4A\uDD50-\uDD59]|\uDB40[\uDD00-\uDDEF]/;return isIdentifierStart(e)||e>=48&&e<=57||e>=128&&r.test(t(e))}function parseIdentityEscape(){var e;var t=lookahead();if(u&&/[\^\$\.\*\+\?\(\)\\\[\]\{\}\|\/]/.test(t)||!u&&t!=="c"){if(t==="k"&&s.lookbehind){return null}e=incr();return createEscaped("identifier",e.charCodeAt(0),e,1)}return null}function parseCharacterClass(){var e,t=p;if(e=matchReg(/^\[\^/)){e=parseClassRanges();skip("]");return createCharacterClass(e,true,t,p)}else if(match("[")){e=parseClassRanges();skip("]");return createCharacterClass(e,false,t,p)}return null}function parseClassRanges(){var e;if(current("]")){return{kind:"union",body:[]}}else if(c){return parseClassContents()}else{e=parseNonemptyClassRanges();if(!e){bail("nonEmptyClassRanges")}return{kind:"union",body:e}}}function parseHelperClassRanges(e){var t,r,s,a,n;if(current("-")&&!next("]")){t=e.range[0];n=createCharacter(match("-"));a=parseClassAtom();if(!a){bail("classAtom")}r=p;var o=parseClassRanges();if(!o){bail("classRanges")}if(!("codePoint"in e)||!("codePoint"in a)){if(!u){s=[e,n,a]}else{bail("invalid character class")}}else{s=[createClassRange(e,a,t,r)]}if(o.type==="empty"){return s}return s.concat(o.body)}s=parseNonemptyClassRangesNoDash();if(!s){bail("nonEmptyClassRangesNoDash")}return[e].concat(s)}function parseNonemptyClassRanges(){var e=parseClassAtom();if(!e){bail("classAtom")}if(current("]")){return[e]}return parseHelperClassRanges(e)}function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();if(!e){bail("classAtom")}if(current("]")){return e}return parseHelperClassRanges(e)}function parseClassAtom(){if(match("-")){return createCharacter("-")}else{return parseClassAtomNoDash()}}function parseClassAtomNoDash(){var e;if(e=matchReg(/^[^\\\]-]/)){return createCharacter(e[0])}else if(match("\\")){e=parseClassEscape();if(!e){bail("classEscape")}return parseUnicodeSurrogatePairEscape(e)}}function parseClassContents(){var e=[];var t;var r=parseClassOperand(true);e.push(r);if(r.type==="classRange"){t="union"}else if(current("&")){t="intersection"}else if(current("-")){t="subtraction"}else{t="union"}while(!current("]")){if(t==="intersection"){skip("&");skip("&");if(current("&")){bail("&& cannot be followed by &. Wrap it in brackets: &&[&].")}}else if(t==="subtraction"){skip("-");skip("-")}r=parseClassOperand(t==="union");e.push(r)}return{kind:t,body:e}}function parseClassOperand(e){var t=p;var r,s;if(match("\\")){if(s=parseClassEscape()){r=s}else if(s=parseClassCharacterEscapedHelper()){return s}else{bail("Invalid escape","\\"+lookahead(),t)}}else if(s=parseClassCharacterUnescapedHelper()){r=s}else if(s=parseCharacterClass()){return s}else{bail("Invalid character",lookahead())}if(e&¤t("-")&&!next("-")){skip("-");if(s=parseClassCharacter()){return createClassRange(r,s,t,p)}bail("Invalid range end",lookahead())}return r}function parseClassCharacter(){if(match("\\")){var e,t=p;if(e=parseClassCharacterEscapedHelper()){return e}else{bail("Invalid escape","\\"+lookahead(),t)}}return parseClassCharacterUnescapedHelper()}function parseClassCharacterUnescapedHelper(){var e;if(e=matchReg(/^[^()[\]{}/\-\\|]/)){return createCharacter(e)}}function parseClassCharacterEscapedHelper(){var e;if(match("b")){return createEscaped("singleEscape",8,"\\b")}else if(match("B")){bail("\\B not possible inside of ClassContents","",p-2)}else if(e=matchReg(/^[&\-!#%,:;<=>@_`~]/)){return createEscaped("identifier",e[0].codePointAt(0),e[0])}else if(e=parseCharacterEscape()){return e}else{return null}}function parseClassStrings(){var e=p-3;var t=[];do{t.push(parseClassString())}while(match("|"));skip("}");return createClassStrings(t,e,p)}function parseClassString(){var e=[],t=p;var r;while(r=parseClassCharacter()){e.push(r)}return createClassString(e,t,p)}function bail(t,r,s,a){s=s==null?p:s;a=a==null?s:a;var n=Math.max(0,s-10);var o=Math.min(a+10,e.length);var i=" "+e.substring(n,o);var l=" "+new Array(s-n+1).join(" ")+"^";throw SyntaxError(t+" at position "+s+(r?": "+r:"")+"\n"+i+"\n"+l)}var a=[];var n=0;var o=true;var i=false;var l=(r||"").indexOf("u")!==-1;var c=(r||"").indexOf("v")!==-1;var u=l||c;var p=0;if(c&&!s.unicodeSet){throw new Error('The "v" flag is only supported when the .unicodeSet option is enabled.')}if(l&&c){throw new Error('The "u" and "v" flags are mutually exclusive.')}e=String(e);if(e===""){e="(?:)"}var d=parseDisjunction();if(d.range[1]!==e.length){bail("Could not parse entire input - got stuck","",d.range[1])}i=i||a.some((function(e){return e<=n}));if(i){p=0;o=false;return parseDisjunction()}return d}var r={parse:parse};if(true&&e.exports){e.exports=r}else{window.regjsparser=r}})()},9936:(e,t,r)=>{var s=r(3097);s.core=r(5661);s.isCore=r(8268);s.sync=r(3531);e.exports=s},3097:(e,t,r)=>{var s=r(7147);var a=r(9230);var n=r(1017);var o=r(6921);var i=r(6894);var l=r(2309);var c=r(9940);var u=process.platform!=="win32"&&s.realpath&&typeof s.realpath.native==="function"?s.realpath.native:s.realpath;var p=a();var defaultPaths=function(){return[n.join(p,".node_modules"),n.join(p,".node_libraries")]};var d=function isFile(e,t){s.stat(e,(function(e,r){if(!e){return t(null,r.isFile()||r.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var f=function isDirectory(e,t){s.stat(e,(function(e,r){if(!e){return t(null,r.isDirectory())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};var y=function realpath(e,t){u(e,(function(r,s){if(r&&r.code!=="ENOENT")t(r);else t(null,r?e:s)}))};var g=function maybeRealpath(e,t,r,s){if(r&&r.preserveSymlinks===false){e(t,s)}else{s(null,t)}};var h=function defaultReadPackage(e,t,r){e(t,(function(e,t){if(e)r(e);else{try{var s=JSON.parse(t);r(null,s)}catch(e){r(null)}}}))};var b=function getPackageCandidates(e,t,r){var s=i(t,r,e);for(var a=0;a<s.length;a++){s[a]=n.join(s[a],e)}return s};e.exports=function resolve(e,t,r){var a=r;var i=t;if(typeof t==="function"){a=i;i={}}if(typeof e!=="string"){var u=new TypeError("Path must be a string.");return process.nextTick((function(){a(u)}))}i=l(e,i);var p=i.isFile||d;var x=i.isDirectory||f;var v=i.readFile||s.readFile;var j=i.realpath||y;var E=i.readPackage||h;if(i.readFile&&i.readPackage){var w=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){a(w)}))}var _=i.packageIterator;var S=i.extensions||[".js"];var k=i.includeCoreModules!==false;var I=i.basedir||n.dirname(o());var D=i.filename||I;i.paths=i.paths||defaultPaths();var C=n.resolve(I);g(j,C,i,(function(e,t){if(e)a(e);else init(t)}));var P;function init(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){P=n.resolve(t,e);if(e==="."||e===".."||e.slice(-1)==="/")P+="/";if(/\/$/.test(e)&&P===t){loadAsDirectory(P,i.package,onfile)}else loadAsFile(P,i.package,onfile)}else if(k&&c(e)){return a(null,e)}else loadNodeModules(e,t,(function(t,r,s){if(t)a(t);else if(r){return g(j,r,i,(function(e,t){if(e){a(e)}else{a(null,t,s)}}))}else{var n=new Error("Cannot find module '"+e+"' from '"+D+"'");n.code="MODULE_NOT_FOUND";a(n)}}))}function onfile(t,r,s){if(t)a(t);else if(r)a(null,r,s);else loadAsDirectory(P,(function(t,r,s){if(t)a(t);else if(r){g(j,r,i,(function(e,t){if(e){a(e)}else{a(null,t,s)}}))}else{var n=new Error("Cannot find module '"+e+"' from '"+D+"'");n.code="MODULE_NOT_FOUND";a(n)}}))}function loadAsFile(e,t,r){var s=t;var a=r;if(typeof s==="function"){a=s;s=undefined}var o=[""].concat(S);load(o,e,s);function load(e,t,r){if(e.length===0)return a(null,undefined,r);var s=t+e[0];var o=r;if(o)onpkg(null,o);else loadpkg(n.dirname(s),onpkg);function onpkg(r,l,c){o=l;if(r)return a(r);if(c&&o&&i.pathFilter){var u=n.relative(c,s);var d=u.slice(0,u.length-e[0].length);var f=i.pathFilter(o,t,d);if(f)return load([""].concat(S.slice()),n.resolve(c,f),o)}p(s,onex)}function onex(r,n){if(r)return a(r);if(n)return a(null,s,o);load(e.slice(1),t,o)}}}function loadpkg(e,t){if(e===""||e==="/")return t(null);if(process.platform==="win32"&&/^\w:[/\\]*$/.test(e)){return t(null)}if(/[/\\]node_modules[/\\]*$/.test(e))return t(null);g(j,e,i,(function(r,s){if(r)return loadpkg(n.dirname(e),t);var a=n.join(s,"package.json");p(a,(function(r,s){if(!s)return loadpkg(n.dirname(e),t);E(v,a,(function(r,s){if(r)t(r);var n=s;if(n&&i.packageFilter){n=i.packageFilter(n,a)}t(null,n,e)}))}))}))}function loadAsDirectory(e,t,r){var s=r;var a=t;if(typeof a==="function"){s=a;a=i.package}g(j,e,i,(function(t,r){if(t)return s(t);var o=n.join(r,"package.json");p(o,(function(t,r){if(t)return s(t);if(!r)return loadAsFile(n.join(e,"index"),a,s);E(v,o,(function(t,r){if(t)return s(t);var a=r;if(a&&i.packageFilter){a=i.packageFilter(a,o)}if(a&&a.main){if(typeof a.main!=="string"){var l=new TypeError("package “"+a.name+"” `main` must be a string");l.code="INVALID_PACKAGE_MAIN";return s(l)}if(a.main==="."||a.main==="./"){a.main="index"}loadAsFile(n.resolve(e,a.main),a,(function(t,r,a){if(t)return s(t);if(r)return s(null,r,a);if(!a)return loadAsFile(n.join(e,"index"),a,s);var o=n.resolve(e,a.main);loadAsDirectory(o,a,(function(t,r,a){if(t)return s(t);if(r)return s(null,r,a);loadAsFile(n.join(e,"index"),a,s)}))}));return}loadAsFile(n.join(e,"/index"),a,s)}))}))}))}function processDirs(e,t){if(t.length===0)return e(null,undefined);var r=t[0];x(n.dirname(r),isdir);function isdir(s,a){if(s)return e(s);if(!a)return processDirs(e,t.slice(1));loadAsFile(r,i.package,onfile)}function onfile(t,s,a){if(t)return e(t);if(s)return e(null,s,a);loadAsDirectory(r,i.package,ondir)}function ondir(r,s,a){if(r)return e(r);if(s)return e(null,s,a);processDirs(e,t.slice(1))}}function loadNodeModules(e,t,r){var thunk=function(){return b(e,t,i)};processDirs(r,_?_(e,t,thunk,i):thunk())}}},6921:e=>{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},5661:(e,t,r)=>{"use strict";var s=r(9940);var a=r(6547);var n={};for(var o in a){if(Object.prototype.hasOwnProperty.call(a,o)){n[o]=s(o)}}e.exports=n},9230:(e,t,r)=>{"use strict";var s=r(2037);e.exports=s.homedir||function homedir(){var e=process.env.HOME;var t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;if(process.platform==="win32"){return process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||e||null}if(process.platform==="darwin"){return e||(t?"/Users/"+t:null)}if(process.platform==="linux"){return e||(process.getuid()===0?"/root":t?"/home/"+t:null)}return e||null}},8268:(e,t,r)=>{var s=r(9940);e.exports=function isCore(e){return s(e)}},6894:(e,t,r)=>{var s=r(1017);var a=s.parse||r(1894);var n=function getNodeModulesDirs(e,t){var r="/";if(/^([A-Za-z]:)/.test(e)){r=""}else if(/^\\\\/.test(e)){r="\\\\"}var n=[e];var o=a(e);while(o.dir!==n[n.length-1]){n.push(o.dir);o=a(o.dir)}return n.reduce((function(e,a){return e.concat(t.map((function(e){return s.resolve(r,a,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,r){var s=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(r,e,(function(){return n(e,s)}),t)}var a=n(e,s);return t&&t.paths?a.concat(t.paths):a}},2309:e=>{e.exports=function(e,t){return t||{}}},3531:(e,t,r)=>{var s=r(9940);var a=r(7147);var n=r(1017);var o=r(9230);var i=r(6921);var l=r(6894);var c=r(2309);var u=process.platform!=="win32"&&a.realpathSync&&typeof a.realpathSync.native==="function"?a.realpathSync.native:a.realpathSync;var p=o();var defaultPaths=function(){return[n.join(p,".node_modules"),n.join(p,".node_libraries")]};var d=function isFile(e){try{var t=a.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!t&&(t.isFile()||t.isFIFO())};var f=function isDirectory(e){try{var t=a.statSync(e,{throwIfNoEntry:false})}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return!!t&&t.isDirectory()};var y=function realpathSync(e){try{return u(e)}catch(e){if(e.code!=="ENOENT"){throw e}}return e};var g=function maybeRealpathSync(e,t,r){if(r&&r.preserveSymlinks===false){return e(t)}return t};var h=function defaultReadPackageSync(e,t){var r=e(t);try{var s=JSON.parse(r);return s}catch(e){}};var b=function getPackageCandidates(e,t,r){var s=l(t,r,e);for(var a=0;a<s.length;a++){s[a]=n.join(s[a],e)}return s};e.exports=function resolveSync(e,t){if(typeof e!=="string"){throw new TypeError("Path must be a string.")}var r=c(e,t);var o=r.isFile||d;var l=r.readFileSync||a.readFileSync;var u=r.isDirectory||f;var p=r.realpathSync||y;var x=r.readPackageSync||h;if(r.readFileSync&&r.readPackageSync){throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.")}var v=r.packageIterator;var j=r.extensions||[".js"];var E=r.includeCoreModules!==false;var w=r.basedir||n.dirname(i());var _=r.filename||w;r.paths=r.paths||defaultPaths();var S=g(p,n.resolve(w),r);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var k=n.resolve(S,e);if(e==="."||e===".."||e.slice(-1)==="/")k+="/";var I=loadAsFileSync(k)||loadAsDirectorySync(k);if(I)return g(p,I,r)}else if(E&&s(e)){return e}else{var D=loadNodeModulesSync(e,S);if(D)return g(p,D,r)}var C=new Error("Cannot find module '"+e+"' from '"+_+"'");C.code="MODULE_NOT_FOUND";throw C;function loadAsFileSync(e){var t=loadpkg(n.dirname(e));if(t&&t.dir&&t.pkg&&r.pathFilter){var s=n.relative(t.dir,e);var a=r.pathFilter(t.pkg,e,s);if(a){e=n.resolve(t.dir,a)}}if(o(e)){return e}for(var i=0;i<j.length;i++){var l=e+j[i];if(o(l)){return l}}}function loadpkg(e){if(e===""||e==="/")return;if(process.platform==="win32"&&/^\w:[/\\]*$/.test(e)){return}if(/[/\\]node_modules[/\\]*$/.test(e))return;var t=n.join(g(p,e,r),"package.json");if(!o(t)){return loadpkg(n.dirname(e))}var s=x(l,t);if(s&&r.packageFilter){s=r.packageFilter(s,e)}return{pkg:s,dir:e}}function loadAsDirectorySync(e){var t=n.join(g(p,e,r),"/package.json");if(o(t)){try{var s=x(l,t)}catch(e){}if(s&&r.packageFilter){s=r.packageFilter(s,e)}if(s&&s.main){if(typeof s.main!=="string"){var a=new TypeError("package “"+s.name+"” `main` must be a string");a.code="INVALID_PACKAGE_MAIN";throw a}if(s.main==="."||s.main==="./"){s.main="index"}try{var i=loadAsFileSync(n.resolve(e,s.main));if(i)return i;var c=loadAsDirectorySync(n.resolve(e,s.main));if(c)return c}catch(e){}}}return loadAsFileSync(n.join(e,"/index"))}function loadNodeModulesSync(e,t){var thunk=function(){return b(e,t,r)};var s=v?v(e,t,thunk,r):thunk();for(var a=0;a<s.length;a++){var o=s[a];if(u(n.dirname(o))){var i=loadAsFileSync(o);if(i)return i;var l=loadAsDirectorySync(o);if(l)return l}}}}},4663:(e,t,r)=>{const s=r(686);const{MAX_LENGTH:a,MAX_SAFE_INTEGER:n}=r(3445);const{re:o,t:i}=r(2170);const{compareIdentifiers:l}=r(8496);class SemVer{constructor(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>a){throw new TypeError(`version is longer than ${a} characters`)}s("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[i.LOOSE]:o[i.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>n||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>n||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>n||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 t=+e;if(t>=0&&t<n){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){s("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const a=e.prerelease[t];s("prerelease compare",t,r,a);if(r===undefined&&a===undefined){return 0}else if(a===undefined){return 1}else if(r===undefined){return-1}else if(r===a){continue}else{return l(r,a)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const r=this.build[t];const a=e.build[t];s("prerelease compare",t,r,a);if(r===undefined&&a===undefined){return 0}else if(a===undefined){return 1}else if(r===undefined){return-1}else if(r===a){continue}else{return l(r,a)}}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":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.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{let e=this.prerelease.length;while(--e>=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-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}}e.exports=SemVer},3128:(e,t,r)=>{const s=r(8491);const a=r(9176);const n=r(1438);const o=r(6586);const i=r(7275);const l=r(1954);const cmp=(e,t,r,c)=>{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 s(e,r,c);case"!=":return a(e,r,c);case">":return n(e,r,c);case">=":return o(e,r,c);case"<":return i(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},9324:(e,t,r)=>{const s=r(4663);const a=r(761);const{re:n,t:o}=r(2170);const coerce=(e,t)=>{if(e instanceof s){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(n[o.COERCE])}else{let t;while((t=n[o.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||t.index+t[0].length!==r.index+r[0].length){r=t}n[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}n[o.COERCERTL].lastIndex=-1}if(r===null)return null;return a(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};e.exports=coerce},5246:(e,t,r)=>{const s=r(4663);const compare=(e,t,r)=>new s(e,r).compare(new s(t,r));e.exports=compare},8491:(e,t,r)=>{const s=r(5246);const eq=(e,t,r)=>s(e,t,r)===0;e.exports=eq},1438:(e,t,r)=>{const s=r(5246);const gt=(e,t,r)=>s(e,t,r)>0;e.exports=gt},6586:(e,t,r)=>{const s=r(5246);const gte=(e,t,r)=>s(e,t,r)>=0;e.exports=gte},7275:(e,t,r)=>{const s=r(5246);const lt=(e,t,r)=>s(e,t,r)<0;e.exports=lt},1954:(e,t,r)=>{const s=r(5246);const lte=(e,t,r)=>s(e,t,r)<=0;e.exports=lte},9176:(e,t,r)=>{const s=r(5246);const neq=(e,t,r)=>s(e,t,r)!==0;e.exports=neq},761:(e,t,r)=>{const{MAX_LENGTH:s}=r(3445);const{re:a,t:n}=r(2170);const o=r(4663);const parse=(e,t)=>{if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof o){return e}if(typeof e!=="string"){return null}if(e.length>s){return null}const r=t.loose?a[n.LOOSE]:a[n.FULL];if(!r.test(e)){return null}try{return new o(e,t)}catch(e){return null}};e.exports=parse},3445:e=>{const t="2.0.0";const r=256;const s=Number.MAX_SAFE_INTEGER||9007199254740991;const a=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:r,MAX_SAFE_INTEGER:s,MAX_SAFE_COMPONENT_LENGTH:a}},686:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},8496:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{const s=t.test(e);const a=t.test(r);if(s&&a){e=+e;r=+r}return e===r?0:s&&!a?-1:a&&!s?1:e<r?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},2170:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:s}=r(3445);const a=r(686);t=e.exports={};const n=t.re=[];const o=t.src=[];const i=t.t={};let l=0;const createToken=(e,t,r)=>{const s=l++;a(s,t);i[e]=s;o[s]=t;n[s]=new RegExp(t,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",`(${o[i.NUMERICIDENTIFIER]})\\.`+`(${o[i.NUMERICIDENTIFIER]})\\.`+`(${o[i.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${o[i.NUMERICIDENTIFIERLOOSE]})\\.`+`(${o[i.NUMERICIDENTIFIERLOOSE]})\\.`+`(${o[i.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${o[i.NUMERICIDENTIFIER]}|${o[i.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${o[i.NUMERICIDENTIFIERLOOSE]}|${o[i.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${o[i.PRERELEASEIDENTIFIER]}(?:\\.${o[i.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${o[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[i.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${o[i.BUILDIDENTIFIER]}(?:\\.${o[i.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${o[i.MAINVERSION]}${o[i.PRERELEASE]}?${o[i.BUILD]}?`);createToken("FULL",`^${o[i.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${o[i.MAINVERSIONLOOSE]}${o[i.PRERELEASELOOSE]}?${o[i.BUILD]}?`);createToken("LOOSE",`^${o[i.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${o[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${o[i.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${o[i.XRANGEIDENTIFIER]})`+`(?:\\.(${o[i.XRANGEIDENTIFIER]})`+`(?:\\.(${o[i.XRANGEIDENTIFIER]})`+`(?:${o[i.PRERELEASE]})?${o[i.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${o[i.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${o[i.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${o[i.XRANGEIDENTIFIERLOOSE]})`+`(?:${o[i.PRERELEASELOOSE]})?${o[i.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${o[i.GTLT]}\\s*${o[i.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${o[i.GTLT]}\\s*${o[i.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${s}})`+`(?:\\.(\\d{1,${s}}))?`+`(?:\\.(\\d{1,${s}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",o[i.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${o[i.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${o[i.LONETILDE]}${o[i.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${o[i.LONETILDE]}${o[i.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${o[i.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${o[i.LONECARET]}${o[i.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${o[i.LONECARET]}${o[i.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${o[i.GTLT]}\\s*(${o[i.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${o[i.GTLT]}\\s*(${o[i.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${o[i.GTLT]}\\s*(${o[i.LOOSEPLAIN]}|${o[i.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${o[i.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${o[i.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${o[i.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${o[i.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*")},7220:(e,t,r)=>{"use strict";const s=r(2037);const a=r(5343);const n=process.env;let o;if(a("no-color")||a("no-colors")||a("color=false")){o=false}else if(a("color")||a("colors")||a("color=true")||a("color=always")){o=true}if("FORCE_COLOR"in n){o=n.FORCE_COLOR.length===0||parseInt(n.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(o===false){return 0}if(a("color=16m")||a("color=full")||a("color=truecolor")){return 3}if(a("color=256")){return 2}if(e&&!e.isTTY&&o!==true){return 0}const t=o?1:0;if(process.platform==="win32"){const e=s.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in n){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in n))||n.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in n){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0}if(n.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in n){const e=parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(n.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)){return 1}if("COLORTERM"in n){return 1}if(n.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},6491:e=>{var t=e.exports=function(e){return new Traverse(e)};function Traverse(e){this.value=e}Traverse.prototype.get=function(e){var t=this.value;for(var r=0;r<e.length;r++){var s=e[r];if(!t||!a.call(t,s)){t=undefined;break}t=t[s]}return t};Traverse.prototype.has=function(e){var t=this.value;for(var r=0;r<e.length;r++){var s=e[r];if(!t||!a.call(t,s)){return false}t=t[s]}return true};Traverse.prototype.set=function(e,t){var r=this.value;for(var s=0;s<e.length-1;s++){var n=e[s];if(!a.call(r,n))r[n]={};r=r[n]}r[e[s]]=t;return t};Traverse.prototype.map=function(e){return walk(this.value,e,true)};Traverse.prototype.forEach=function(e){this.value=walk(this.value,e,false);return this.value};Traverse.prototype.reduce=function(e,t){var r=arguments.length===1;var s=r?this.value:t;this.forEach((function(t){if(!this.isRoot||!r){s=e.call(this,s,t)}}));return s};Traverse.prototype.paths=function(){var e=[];this.forEach((function(t){e.push(this.path)}));return e};Traverse.prototype.nodes=function(){var e=[];this.forEach((function(t){e.push(this.node)}));return e};Traverse.prototype.clone=function(){var e=[],t=[];return function clone(s){for(var a=0;a<e.length;a++){if(e[a]===s){return t[a]}}if(typeof s==="object"&&s!==null){var n=copy(s);e.push(s);t.push(n);forEach(r(s),(function(e){n[e]=clone(s[e])}));e.pop();t.pop();return n}else{return s}}(this.value)};function walk(e,t,n){var o=[];var i=[];var l=true;return function walker(e){var c=n?copy(e):e;var u={};var p=true;var d={node:c,node_:e,path:[].concat(o),parent:i[i.length-1],parents:i,key:o.slice(-1)[0],isRoot:o.length===0,level:o.length,circular:null,update:function(e,t){if(!d.isRoot){d.parent.node[d.key]=e}d.node=e;if(t)p=false},delete:function(e){delete d.parent.node[d.key];if(e)p=false},remove:function(e){if(s(d.parent.node)){d.parent.node.splice(d.key,1)}else{delete d.parent.node[d.key]}if(e)p=false},keys:null,before:function(e){u.before=e},after:function(e){u.after=e},pre:function(e){u.pre=e},post:function(e){u.post=e},stop:function(){l=false},block:function(){p=false}};if(!l)return d;function updateState(){if(typeof d.node==="object"&&d.node!==null){if(!d.keys||d.node_!==d.node){d.keys=r(d.node)}d.isLeaf=d.keys.length==0;for(var t=0;t<i.length;t++){if(i[t].node_===e){d.circular=i[t];break}}}else{d.isLeaf=true;d.keys=null}d.notLeaf=!d.isLeaf;d.notRoot=!d.isRoot}updateState();var f=t.call(d,d.node);if(f!==undefined&&d.update)d.update(f);if(u.before)u.before.call(d,d.node);if(!p)return d;if(typeof d.node=="object"&&d.node!==null&&!d.circular){i.push(d);updateState();forEach(d.keys,(function(e,t){o.push(e);if(u.pre)u.pre.call(d,d.node[e],e);var r=walker(d.node[e]);if(n&&a.call(d.node,e)){d.node[e]=r.node}r.isLast=t==d.keys.length-1;r.isFirst=t==0;if(u.post)u.post.call(d,r);o.pop()}));i.pop()}if(u.after)u.after.call(d,d.node);return d}(e).node}function copy(e){if(typeof e==="object"&&e!==null){var t;if(s(e)){t=[]}else if(isDate(e)){t=new Date(e.getTime?e.getTime():e)}else if(isRegExp(e)){t=new RegExp(e)}else if(isError(e)){t={message:e.message}}else if(isBoolean(e)){t=new Boolean(e)}else if(isNumber(e)){t=new Number(e)}else if(isString(e)){t=new String(e)}else if(Object.create&&Object.getPrototypeOf){t=Object.create(Object.getPrototypeOf(e))}else if(e.constructor===Object){t={}}else{var a=e.constructor&&e.constructor.prototype||e.__proto__||{};var T=function(){};T.prototype=a;t=new T}forEach(r(e),(function(r){t[r]=e[r]}));return t}else return e}var r=Object.keys||function keys(e){var t=[];for(var r in e)t.push(r);return t};function toS(e){return Object.prototype.toString.call(e)}function isDate(e){return toS(e)==="[object Date]"}function isRegExp(e){return toS(e)==="[object RegExp]"}function isError(e){return toS(e)==="[object Error]"}function isBoolean(e){return toS(e)==="[object Boolean]"}function isNumber(e){return toS(e)==="[object Number]"}function isString(e){return toS(e)==="[object String]"}var s=Array.isArray||function isArray(e){return Object.prototype.toString.call(e)==="[object Array]"};var forEach=function(e,t){if(e.forEach)return e.forEach(t);else for(var r=0;r<e.length;r++){t(e[r],r,e)}};forEach(r(Traverse.prototype),(function(e){t[e]=function(t){var r=[].slice.call(arguments,1);var s=new Traverse(t);return s[e].apply(s,r)}}));var a=Object.hasOwnProperty||function(e,t){return t in e}},4737:e=>{e.exports=new Set(["General_Category","Script","Script_Extensions","Alphabetic","Any","ASCII","ASCII_Hex_Digit","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extended_Pictographic","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","ID_Continue","ID_Start","Ideographic","IDS_Binary_Operator","IDS_Trinary_Operator","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"])},1288:(e,t,r)=>{"use strict";const s=r(4737);const a=r(5274);const matchProperty=function(e){if(s.has(e)){return e}if(a.has(e)){return a.get(e)}throw new Error(`Unknown property: ${e}`)};e.exports=matchProperty},4545:e=>{e.exports=new Map([["General_Category",new Map([["C","Other"],["Cc","Control"],["cntrl","Control"],["Cf","Format"],["Cn","Unassigned"],["Co","Private_Use"],["Cs","Surrogate"],["L","Letter"],["LC","Cased_Letter"],["Ll","Lowercase_Letter"],["Lm","Modifier_Letter"],["Lo","Other_Letter"],["Lt","Titlecase_Letter"],["Lu","Uppercase_Letter"],["M","Mark"],["Combining_Mark","Mark"],["Mc","Spacing_Mark"],["Me","Enclosing_Mark"],["Mn","Nonspacing_Mark"],["N","Number"],["Nd","Decimal_Number"],["digit","Decimal_Number"],["Nl","Letter_Number"],["No","Other_Number"],["P","Punctuation"],["punct","Punctuation"],["Pc","Connector_Punctuation"],["Pd","Dash_Punctuation"],["Pe","Close_Punctuation"],["Pf","Final_Punctuation"],["Pi","Initial_Punctuation"],["Po","Other_Punctuation"],["Ps","Open_Punctuation"],["S","Symbol"],["Sc","Currency_Symbol"],["Sk","Modifier_Symbol"],["Sm","Math_Symbol"],["So","Other_Symbol"],["Z","Separator"],["Zl","Line_Separator"],["Zp","Paragraph_Separator"],["Zs","Space_Separator"],["Other","Other"],["Control","Control"],["Format","Format"],["Unassigned","Unassigned"],["Private_Use","Private_Use"],["Surrogate","Surrogate"],["Letter","Letter"],["Cased_Letter","Cased_Letter"],["Lowercase_Letter","Lowercase_Letter"],["Modifier_Letter","Modifier_Letter"],["Other_Letter","Other_Letter"],["Titlecase_Letter","Titlecase_Letter"],["Uppercase_Letter","Uppercase_Letter"],["Mark","Mark"],["Spacing_Mark","Spacing_Mark"],["Enclosing_Mark","Enclosing_Mark"],["Nonspacing_Mark","Nonspacing_Mark"],["Number","Number"],["Decimal_Number","Decimal_Number"],["Letter_Number","Letter_Number"],["Other_Number","Other_Number"],["Punctuation","Punctuation"],["Connector_Punctuation","Connector_Punctuation"],["Dash_Punctuation","Dash_Punctuation"],["Close_Punctuation","Close_Punctuation"],["Final_Punctuation","Final_Punctuation"],["Initial_Punctuation","Initial_Punctuation"],["Other_Punctuation","Other_Punctuation"],["Open_Punctuation","Open_Punctuation"],["Symbol","Symbol"],["Currency_Symbol","Currency_Symbol"],["Modifier_Symbol","Modifier_Symbol"],["Math_Symbol","Math_Symbol"],["Other_Symbol","Other_Symbol"],["Separator","Separator"],["Line_Separator","Line_Separator"],["Paragraph_Separator","Paragraph_Separator"],["Space_Separator","Space_Separator"]])],["Script",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Chrs","Chorasmian"],["Copt","Coptic"],["Qaac","Coptic"],["Cpmn","Cypro_Minoan"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Diak","Dives_Akuru"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Elym","Elymaic"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hmnp","Nyiakeng_Puachue_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Kawi","Kawi"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Kits","Khitan_Small_Script"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Nagm","Nag_Mundari"],["Nand","Nandinagari"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Ougr","Old_Uyghur"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Tnsa","Tangsa"],["Toto","Toto"],["Ugar","Ugaritic"],["Vaii","Vai"],["Vith","Vithkuqi"],["Wara","Warang_Citi"],["Wcho","Wancho"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yezi","Yezidi"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Chorasmian","Chorasmian"],["Coptic","Coptic"],["Cypro_Minoan","Cypro_Minoan"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dives_Akuru","Dives_Akuru"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Elymaic","Elymaic"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Nyiakeng_Puachue_Hmong","Nyiakeng_Puachue_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Khitan_Small_Script","Khitan_Small_Script"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Nag_Mundari","Nag_Mundari"],["Nandinagari","Nandinagari"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Old_Uyghur","Old_Uyghur"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Tangsa","Tangsa"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Vithkuqi","Vithkuqi"],["Warang_Citi","Warang_Citi"],["Wancho","Wancho"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yezidi","Yezidi"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])],["Script_Extensions",new Map([["Adlm","Adlam"],["Aghb","Caucasian_Albanian"],["Ahom","Ahom"],["Arab","Arabic"],["Armi","Imperial_Aramaic"],["Armn","Armenian"],["Avst","Avestan"],["Bali","Balinese"],["Bamu","Bamum"],["Bass","Bassa_Vah"],["Batk","Batak"],["Beng","Bengali"],["Bhks","Bhaiksuki"],["Bopo","Bopomofo"],["Brah","Brahmi"],["Brai","Braille"],["Bugi","Buginese"],["Buhd","Buhid"],["Cakm","Chakma"],["Cans","Canadian_Aboriginal"],["Cari","Carian"],["Cham","Cham"],["Cher","Cherokee"],["Chrs","Chorasmian"],["Copt","Coptic"],["Qaac","Coptic"],["Cpmn","Cypro_Minoan"],["Cprt","Cypriot"],["Cyrl","Cyrillic"],["Deva","Devanagari"],["Diak","Dives_Akuru"],["Dogr","Dogra"],["Dsrt","Deseret"],["Dupl","Duployan"],["Egyp","Egyptian_Hieroglyphs"],["Elba","Elbasan"],["Elym","Elymaic"],["Ethi","Ethiopic"],["Geor","Georgian"],["Glag","Glagolitic"],["Gong","Gunjala_Gondi"],["Gonm","Masaram_Gondi"],["Goth","Gothic"],["Gran","Grantha"],["Grek","Greek"],["Gujr","Gujarati"],["Guru","Gurmukhi"],["Hang","Hangul"],["Hani","Han"],["Hano","Hanunoo"],["Hatr","Hatran"],["Hebr","Hebrew"],["Hira","Hiragana"],["Hluw","Anatolian_Hieroglyphs"],["Hmng","Pahawh_Hmong"],["Hmnp","Nyiakeng_Puachue_Hmong"],["Hrkt","Katakana_Or_Hiragana"],["Hung","Old_Hungarian"],["Ital","Old_Italic"],["Java","Javanese"],["Kali","Kayah_Li"],["Kana","Katakana"],["Kawi","Kawi"],["Khar","Kharoshthi"],["Khmr","Khmer"],["Khoj","Khojki"],["Kits","Khitan_Small_Script"],["Knda","Kannada"],["Kthi","Kaithi"],["Lana","Tai_Tham"],["Laoo","Lao"],["Latn","Latin"],["Lepc","Lepcha"],["Limb","Limbu"],["Lina","Linear_A"],["Linb","Linear_B"],["Lisu","Lisu"],["Lyci","Lycian"],["Lydi","Lydian"],["Mahj","Mahajani"],["Maka","Makasar"],["Mand","Mandaic"],["Mani","Manichaean"],["Marc","Marchen"],["Medf","Medefaidrin"],["Mend","Mende_Kikakui"],["Merc","Meroitic_Cursive"],["Mero","Meroitic_Hieroglyphs"],["Mlym","Malayalam"],["Modi","Modi"],["Mong","Mongolian"],["Mroo","Mro"],["Mtei","Meetei_Mayek"],["Mult","Multani"],["Mymr","Myanmar"],["Nagm","Nag_Mundari"],["Nand","Nandinagari"],["Narb","Old_North_Arabian"],["Nbat","Nabataean"],["Newa","Newa"],["Nkoo","Nko"],["Nshu","Nushu"],["Ogam","Ogham"],["Olck","Ol_Chiki"],["Orkh","Old_Turkic"],["Orya","Oriya"],["Osge","Osage"],["Osma","Osmanya"],["Ougr","Old_Uyghur"],["Palm","Palmyrene"],["Pauc","Pau_Cin_Hau"],["Perm","Old_Permic"],["Phag","Phags_Pa"],["Phli","Inscriptional_Pahlavi"],["Phlp","Psalter_Pahlavi"],["Phnx","Phoenician"],["Plrd","Miao"],["Prti","Inscriptional_Parthian"],["Rjng","Rejang"],["Rohg","Hanifi_Rohingya"],["Runr","Runic"],["Samr","Samaritan"],["Sarb","Old_South_Arabian"],["Saur","Saurashtra"],["Sgnw","SignWriting"],["Shaw","Shavian"],["Shrd","Sharada"],["Sidd","Siddham"],["Sind","Khudawadi"],["Sinh","Sinhala"],["Sogd","Sogdian"],["Sogo","Old_Sogdian"],["Sora","Sora_Sompeng"],["Soyo","Soyombo"],["Sund","Sundanese"],["Sylo","Syloti_Nagri"],["Syrc","Syriac"],["Tagb","Tagbanwa"],["Takr","Takri"],["Tale","Tai_Le"],["Talu","New_Tai_Lue"],["Taml","Tamil"],["Tang","Tangut"],["Tavt","Tai_Viet"],["Telu","Telugu"],["Tfng","Tifinagh"],["Tglg","Tagalog"],["Thaa","Thaana"],["Thai","Thai"],["Tibt","Tibetan"],["Tirh","Tirhuta"],["Tnsa","Tangsa"],["Toto","Toto"],["Ugar","Ugaritic"],["Vaii","Vai"],["Vith","Vithkuqi"],["Wara","Warang_Citi"],["Wcho","Wancho"],["Xpeo","Old_Persian"],["Xsux","Cuneiform"],["Yezi","Yezidi"],["Yiii","Yi"],["Zanb","Zanabazar_Square"],["Zinh","Inherited"],["Qaai","Inherited"],["Zyyy","Common"],["Zzzz","Unknown"],["Adlam","Adlam"],["Caucasian_Albanian","Caucasian_Albanian"],["Arabic","Arabic"],["Imperial_Aramaic","Imperial_Aramaic"],["Armenian","Armenian"],["Avestan","Avestan"],["Balinese","Balinese"],["Bamum","Bamum"],["Bassa_Vah","Bassa_Vah"],["Batak","Batak"],["Bengali","Bengali"],["Bhaiksuki","Bhaiksuki"],["Bopomofo","Bopomofo"],["Brahmi","Brahmi"],["Braille","Braille"],["Buginese","Buginese"],["Buhid","Buhid"],["Chakma","Chakma"],["Canadian_Aboriginal","Canadian_Aboriginal"],["Carian","Carian"],["Cherokee","Cherokee"],["Chorasmian","Chorasmian"],["Coptic","Coptic"],["Cypro_Minoan","Cypro_Minoan"],["Cypriot","Cypriot"],["Cyrillic","Cyrillic"],["Devanagari","Devanagari"],["Dives_Akuru","Dives_Akuru"],["Dogra","Dogra"],["Deseret","Deseret"],["Duployan","Duployan"],["Egyptian_Hieroglyphs","Egyptian_Hieroglyphs"],["Elbasan","Elbasan"],["Elymaic","Elymaic"],["Ethiopic","Ethiopic"],["Georgian","Georgian"],["Glagolitic","Glagolitic"],["Gunjala_Gondi","Gunjala_Gondi"],["Masaram_Gondi","Masaram_Gondi"],["Gothic","Gothic"],["Grantha","Grantha"],["Greek","Greek"],["Gujarati","Gujarati"],["Gurmukhi","Gurmukhi"],["Hangul","Hangul"],["Han","Han"],["Hanunoo","Hanunoo"],["Hatran","Hatran"],["Hebrew","Hebrew"],["Hiragana","Hiragana"],["Anatolian_Hieroglyphs","Anatolian_Hieroglyphs"],["Pahawh_Hmong","Pahawh_Hmong"],["Nyiakeng_Puachue_Hmong","Nyiakeng_Puachue_Hmong"],["Katakana_Or_Hiragana","Katakana_Or_Hiragana"],["Old_Hungarian","Old_Hungarian"],["Old_Italic","Old_Italic"],["Javanese","Javanese"],["Kayah_Li","Kayah_Li"],["Katakana","Katakana"],["Kharoshthi","Kharoshthi"],["Khmer","Khmer"],["Khojki","Khojki"],["Khitan_Small_Script","Khitan_Small_Script"],["Kannada","Kannada"],["Kaithi","Kaithi"],["Tai_Tham","Tai_Tham"],["Lao","Lao"],["Latin","Latin"],["Lepcha","Lepcha"],["Limbu","Limbu"],["Linear_A","Linear_A"],["Linear_B","Linear_B"],["Lycian","Lycian"],["Lydian","Lydian"],["Mahajani","Mahajani"],["Makasar","Makasar"],["Mandaic","Mandaic"],["Manichaean","Manichaean"],["Marchen","Marchen"],["Medefaidrin","Medefaidrin"],["Mende_Kikakui","Mende_Kikakui"],["Meroitic_Cursive","Meroitic_Cursive"],["Meroitic_Hieroglyphs","Meroitic_Hieroglyphs"],["Malayalam","Malayalam"],["Mongolian","Mongolian"],["Mro","Mro"],["Meetei_Mayek","Meetei_Mayek"],["Multani","Multani"],["Myanmar","Myanmar"],["Nag_Mundari","Nag_Mundari"],["Nandinagari","Nandinagari"],["Old_North_Arabian","Old_North_Arabian"],["Nabataean","Nabataean"],["Nko","Nko"],["Nushu","Nushu"],["Ogham","Ogham"],["Ol_Chiki","Ol_Chiki"],["Old_Turkic","Old_Turkic"],["Oriya","Oriya"],["Osage","Osage"],["Osmanya","Osmanya"],["Old_Uyghur","Old_Uyghur"],["Palmyrene","Palmyrene"],["Pau_Cin_Hau","Pau_Cin_Hau"],["Old_Permic","Old_Permic"],["Phags_Pa","Phags_Pa"],["Inscriptional_Pahlavi","Inscriptional_Pahlavi"],["Psalter_Pahlavi","Psalter_Pahlavi"],["Phoenician","Phoenician"],["Miao","Miao"],["Inscriptional_Parthian","Inscriptional_Parthian"],["Rejang","Rejang"],["Hanifi_Rohingya","Hanifi_Rohingya"],["Runic","Runic"],["Samaritan","Samaritan"],["Old_South_Arabian","Old_South_Arabian"],["Saurashtra","Saurashtra"],["SignWriting","SignWriting"],["Shavian","Shavian"],["Sharada","Sharada"],["Siddham","Siddham"],["Khudawadi","Khudawadi"],["Sinhala","Sinhala"],["Sogdian","Sogdian"],["Old_Sogdian","Old_Sogdian"],["Sora_Sompeng","Sora_Sompeng"],["Soyombo","Soyombo"],["Sundanese","Sundanese"],["Syloti_Nagri","Syloti_Nagri"],["Syriac","Syriac"],["Tagbanwa","Tagbanwa"],["Takri","Takri"],["Tai_Le","Tai_Le"],["New_Tai_Lue","New_Tai_Lue"],["Tamil","Tamil"],["Tangut","Tangut"],["Tai_Viet","Tai_Viet"],["Telugu","Telugu"],["Tifinagh","Tifinagh"],["Tagalog","Tagalog"],["Thaana","Thaana"],["Tibetan","Tibetan"],["Tirhuta","Tirhuta"],["Tangsa","Tangsa"],["Ugaritic","Ugaritic"],["Vai","Vai"],["Vithkuqi","Vithkuqi"],["Warang_Citi","Warang_Citi"],["Wancho","Wancho"],["Old_Persian","Old_Persian"],["Cuneiform","Cuneiform"],["Yezidi","Yezidi"],["Yi","Yi"],["Zanabazar_Square","Zanabazar_Square"],["Inherited","Inherited"],["Common","Common"],["Unknown","Unknown"]])]])},1071:(e,t,r)=>{"use strict";const s=r(4545);const matchPropertyValue=function(e,t){const r=s.get(e);if(!r){throw new Error(`Unknown property \`${e}\`.`)}const a=r.get(t);if(a){return a}throw new Error(`Unknown value \`${t}\` for property \`${e}\`.`)};e.exports=matchPropertyValue},5274:e=>{e.exports=new Map([["scx","Script_Extensions"],["sc","Script"],["gc","General_Category"],["AHex","ASCII_Hex_Digit"],["Alpha","Alphabetic"],["Bidi_C","Bidi_Control"],["Bidi_M","Bidi_Mirrored"],["Cased","Cased"],["CI","Case_Ignorable"],["CWCF","Changes_When_Casefolded"],["CWCM","Changes_When_Casemapped"],["CWKCF","Changes_When_NFKC_Casefolded"],["CWL","Changes_When_Lowercased"],["CWT","Changes_When_Titlecased"],["CWU","Changes_When_Uppercased"],["Dash","Dash"],["Dep","Deprecated"],["DI","Default_Ignorable_Code_Point"],["Dia","Diacritic"],["EBase","Emoji_Modifier_Base"],["EComp","Emoji_Component"],["EMod","Emoji_Modifier"],["Emoji","Emoji"],["EPres","Emoji_Presentation"],["Ext","Extender"],["ExtPict","Extended_Pictographic"],["Gr_Base","Grapheme_Base"],["Gr_Ext","Grapheme_Extend"],["Hex","Hex_Digit"],["IDC","ID_Continue"],["Ideo","Ideographic"],["IDS","ID_Start"],["IDSB","IDS_Binary_Operator"],["IDST","IDS_Trinary_Operator"],["Join_C","Join_Control"],["LOE","Logical_Order_Exception"],["Lower","Lowercase"],["Math","Math"],["NChar","Noncharacter_Code_Point"],["Pat_Syn","Pattern_Syntax"],["Pat_WS","Pattern_White_Space"],["QMark","Quotation_Mark"],["Radical","Radical"],["RI","Regional_Indicator"],["SD","Soft_Dotted"],["STerm","Sentence_Terminal"],["Term","Terminal_Punctuation"],["UIdeo","Unified_Ideograph"],["Upper","Uppercase"],["VS","Variation_Selector"],["WSpace","White_Space"],["space","White_Space"],["XIDC","XID_Continue"],["XIDS","XID_Start"]])},1403:(e,t,r)=>{function eslintParser(){return r(4995)}function pluginProposalClassProperties(){return r(8736)}function pluginProposalExportNamespaceFrom(){return r(1186)}function pluginProposalNumericSeparator(){return r(2155)}function pluginProposalObjectRestSpread(){return r(4095)}function pluginSyntaxBigint(){return r(5731)}function pluginSyntaxDynamicImport(){return r(3477)}function pluginSyntaxImportAssertions(){return r(7393)}function pluginSyntaxJsx(){return r(7672)}function pluginTransformDefine(){return r(2099)}function pluginTransformModulesCommonjs(){return r(6824)}function pluginTransformReactRemovePropTypes(){return r(9282)}function pluginTransformRuntime(){return r(2179)}function presetEnv(){return r(5954)}function presetReact(){return r(5331)}function presetTypescript(){return r(3775)}e.exports={eslintParser:eslintParser,pluginProposalClassProperties:pluginProposalClassProperties,pluginProposalExportNamespaceFrom:pluginProposalExportNamespaceFrom,pluginProposalNumericSeparator:pluginProposalNumericSeparator,pluginProposalObjectRestSpread:pluginProposalObjectRestSpread,pluginSyntaxBigint:pluginSyntaxBigint,pluginSyntaxDynamicImport:pluginSyntaxDynamicImport,pluginSyntaxImportAssertions:pluginSyntaxImportAssertions,pluginSyntaxJsx:pluginSyntaxJsx,pluginTransformDefine:pluginTransformDefine,pluginTransformModulesCommonjs:pluginTransformModulesCommonjs,pluginTransformReactRemovePropTypes:pluginTransformReactRemovePropTypes,pluginTransformRuntime:pluginTransformRuntime,presetEnv:presetEnv,presetReact:presetReact,presetTypescript:presetTypescript}},9491:e=>{"use strict";e.exports=require("assert")},7147:e=>{"use strict";e.exports=require("fs")},8188:e=>{"use strict";e.exports=require("module")},8304:e=>{"use strict";e.exports=require("next/dist/compiled/babel/core")},6949:e=>{"use strict";e.exports=require("next/dist/compiled/babel/parser")},7369:e=>{"use strict";e.exports=require("next/dist/compiled/babel/traverse")},8622:e=>{"use strict";e.exports=require("next/dist/compiled/babel/types")},4907:e=>{"use strict";e.exports=require("next/dist/compiled/browserslist")},7330:e=>{"use strict";e.exports=require("next/dist/compiled/lru-cache")},7849:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},3837:e=>{"use strict";e.exports=require("util")},1267:e=>{"use strict";e.exports=require("worker_threads")},197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var s=r(6537);let a=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const n=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const s=Object.assign({column:0,line:-1},e.start);const a=Object.assign({},s,e.end);const{linesAbove:n=2,linesBelow:o=3}=r||{};const i=s.line;const l=s.column;const c=a.line;const u=a.column;let p=Math.max(i-(n+1),0);let d=Math.min(t.length,c+o);if(i===-1){p=0}if(c===-1){d=t.length}const f=c-i;const y={};if(f){for(let e=0;e<=f;e++){const r=e+i;if(!l){y[r]=true}else if(e===0){const e=t[r-1].length;y[r]=[l,e-l+1]}else if(e===f){y[r]=[0,u]}else{const s=t[r-e].length;y[r]=[0,s]}}}else{if(l===u){if(l){y[i]=[l,0]}else{y[i]=true}}else{y[i]=[l,u-l]}}return{start:p,end:d,markerLines:y}}function codeFrameColumns(e,t,r={}){const a=(r.highlightCode||r.forceColor)&&(0,s.shouldHighlight)(r);const o=(0,s.getChalk)(r);const i=getDefs(o);const maybeHighlight=(e,t)=>a?e(t):t;const l=e.split(n);const{start:c,end:u,markerLines:p}=getMarkerLines(t,l,r);const d=t.start&&typeof t.start.column==="number";const f=String(u).length;const y=a?(0,s.default)(e,r):e;let g=y.split(n,u).slice(c,u).map(((e,t)=>{const s=c+1+t;const a=` ${s}`.slice(-f);const n=` ${a} |`;const o=p[s];const l=!p[s+1];if(o){let t="";if(Array.isArray(o)){const s=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," ");const a=o[1]||1;t=["\n ",maybeHighlight(i.gutter,n.replace(/\d/g," "))," ",s,maybeHighlight(i.marker,"^").repeat(a)].join("");if(l&&r.message){t+=" "+maybeHighlight(i.message,r.message)}}return[maybeHighlight(i.marker,">"),maybeHighlight(i.gutter,n),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(i.gutter,n)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!d){g=`${" ".repeat(f+1)}${r.message}\n${g}`}if(a){return o.reset(g)}else{return g}}function _default(e,t,r,s={}){if(!a){a=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const n={start:{column:r,line:t}};return codeFrameColumns(e,n,s)}},7301:(e,t,r)=>{e.exports=r(5626)},7796:(e,t,r)=>{e.exports=r(2945)},4198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=annotateAsPure;var s=r(8622);const{addComment:a}=s;const n="#__PURE__";const isPureAnnotated=({leadingComments:e})=>!!e&&e.some((e=>/[@#]__PURE__/.test(e.value)));function annotateAsPure(e){const t=e["node"]||e;if(isPureAnnotated(t)){return}a(t,"leading",n)}},7528:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var s=r(7849);var a=r(6672);var n=r(8291);function getInclusionReasons(e,t,r){const o=r[e]||{};return Object.keys(t).reduce(((e,r)=>{const i=(0,n.getLowestImplementedVersion)(o,r);const l=t[r];if(!i){e[r]=(0,a.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(i,r);const o=(0,n.isUnreleasedVersion)(l,r);if(!o&&(t||s.lt(l.toString(),(0,n.semverify)(i)))){e[r]=(0,a.prettifyVersion)(l)}}return e}),{})}},819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=filterItems;t.isRequired=isRequired;t.targetsSupported=targetsSupported;var s=r(7849);var a=r(7796);var n=r(8291);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const a=r.filter((r=>{const a=(0,n.getLowestImplementedVersion)(t,r);if(!a){return true}const o=e[r];if((0,n.isUnreleasedVersion)(o,r)){return false}if((0,n.isUnreleasedVersion)(a,r)){return true}if(!s.valid(o.toString())){throw new Error(`Invalid version passed for target "${r}": "${o}". `+"Versions must be in semver format (major.minor.patch)")}return s.gt((0,n.semverify)(a),o.toString())}));return a.length===0}function isRequired(e,t,{compatData:r=a,includes:s,excludes:n}={}){if(n!=null&&n.has(e))return false;if(s!=null&&s.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,s,a,n,o){const i=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,s,l)){i.add(t)}else if(o){const e=o.get(t);if(e){i.add(e)}}}if(a){a.forEach((e=>!r.has(e)&&i.add(e)))}if(n){n.forEach((e=>!t.has(e)&&i.delete(e)))}return i}},815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});t["default"]=getTargets;Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return u.getInclusionReasons}});t.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return p.isRequired}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return i.unreleasedLabels}});var s=r(4907);var a=r(2445);var n=r(7301);var o=r(8291);var i=r(8715);var l=r(6634);var c=r(6672);var u=r(7528);var p=r(819);const d=n["es6.module"];const f=new a.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(f.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,a.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){f.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,t)=>{const[r,s]=t.split(" ");const a=i.browserNameMap[r];if(!a){return e}try{const t=s.split("-")[0].toLowerCase();const r=(0,o.isUnreleasedVersion)(t,a);if(!e[a]){e[a]=r?t:(0,o.semverify)(t);return e}const n=e[a];const i=(0,o.isUnreleasedVersion)(n,a);if(i&&r){e[a]=(0,o.getLowestUnreleased)(n,t,a)}else if(i){e[a]=(0,o.semverify)(t)}else if(!i&&!r){const r=(0,o.semverify)(t);e[a]=(0,o.semverMin)(n,r)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:t})=>console.warn(` ${e}: ${t}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,o.semverify)(t)}catch(r){throw new Error(f.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}function nodeTargetParser(e){const t=e===true||e==="current"?process.versions.node:semverifyTarget("node",e);return["node",t]}function defaultTargetParser(e,t){const r=(0,o.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]}function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e,t){const r=s(e,{mobileToDesktop:true,env:t});return getLowestVersions(r)}function getTargets(e={},t={}){var r,a;let{browsers:n,esmodules:i}=e;const{configPath:l="."}=t;validateBrowsers(n);const c=generateTargets(e);let u=validateTargetNames(c);const p=!!n;const f=p||Object.keys(u).length>0;const y=!t.ignoreBrowserslistConfig&&!f;if(!n&&y){n=s.loadConfig({config:t.configFile,path:l,env:t.browserslistEnv});if(n==null){{n=[]}}}if(i&&(i!=="intersect"||!((r=n)!=null&&r.length))){n=Object.keys(d).map((e=>`${e} >= ${d[e]}`)).join(", ");i=false}if((a=n)!=null&&a.length){const e=resolveTargets(n,t.browserslistEnv);if(i==="intersect"){for(const t of Object.keys(e)){const r=e[t];const s=d[t];if(s){e[t]=(0,o.getHighestUnreleased)(r,(0,o.semverify)(s),t)}else{delete e[t]}}}u=Object.assign(e,u)}const g={};const h=[];for(const e of Object.keys(u).sort()){const t=u[e];if(typeof t==="number"&&t%1!==0){h.push({target:e,value:t})}const[r,s]=e==="node"?nodeTargetParser(t):defaultTargetParser(e,t);if(s){g[r]=s}}outputDecimalWarning(h);return g}},6634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=r},6672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyTargets=prettifyTargets;t.prettifyVersion=prettifyVersion;var s=r(7849);var a=r(8715);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[s.major(e)];const r=s.minor(e);const a=s.patch(e);if(r||a){t.push(r)}if(a){t.push(a)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((t,r)=>{let s=e[r];const n=a.unreleasedLabels[r];if(typeof s==="string"&&n!==s){s=prettifyVersion(s)}t[r]=s;return t}),{})}},8715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unreleasedLabels=t.browserNameMap=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const s={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=s},8291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;t.getLowestUnreleased=getLowestUnreleased;t.isUnreleasedVersion=isUnreleasedVersion;t.semverMin=semverMin;t.semverify=semverify;var s=r(7849);var a=r(2445);var n=r(8715);const o=/^(\d+|\d+.\d+)$/;const i=new a.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&s.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&s.valid(e)){return e}i.invariant(typeof e==="number"||typeof e==="string"&&o.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=n.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const s=n.unreleasedLabels[r];if(e===s){return t}if(t===s){return e}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},9434:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var s=r(7849);var a=r(1354);var n=r(9489);function getInclusionReasons(e,t,r){const o=r[e]||{};return Object.keys(t).reduce(((e,r)=>{const i=(0,n.getLowestImplementedVersion)(o,r);const l=t[r];if(!i){e[r]=(0,a.prettifyVersion)(l)}else{const t=(0,n.isUnreleasedVersion)(i,r);const o=(0,n.isUnreleasedVersion)(l,r);if(!o&&(t||s.lt(l.toString(),(0,n.semverify)(i)))){e[r]=(0,a.prettifyVersion)(l)}}return e}),{})}},5206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=filterItems;t.isRequired=isRequired;t.targetsSupported=targetsSupported;var s=r(7849);var a=r(7796);var n=r(9489);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const a=r.filter((r=>{const a=(0,n.getLowestImplementedVersion)(t,r);if(!a){return true}const o=e[r];if((0,n.isUnreleasedVersion)(o,r)){return false}if((0,n.isUnreleasedVersion)(a,r)){return true}if(!s.valid(o.toString())){throw new Error(`Invalid version passed for target "${r}": "${o}". `+"Versions must be in semver format (major.minor.patch)")}return s.gt((0,n.semverify)(a),o.toString())}));return a.length===0}function isRequired(e,t,{compatData:r=a,includes:s,excludes:n}={}){if(n!=null&&n.has(e))return false;if(s!=null&&s.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,s,a,n,o){const i=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,s,l)){i.add(t)}else if(o){const e=o.get(t);if(e){i.add(e)}}}if(a){a.forEach((e=>!r.has(e)&&i.add(e)))}if(n){n.forEach((e=>!t.has(e)&&i.delete(e)))}return i}},1430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return c.TargetNames}});t["default"]=getTargets;Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return d.default}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});t.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return d.isRequired}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return l.unreleasedLabels}});var s=r(4907);var a=r(2445);var n=r(7301);var o=r(7330);var i=r(9489);var l=r(224);var c=r(6674);var u=r(1354);var p=r(9434);var d=r(5206);const f=n["es6.module"];const y=new a.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(c.TargetNames);for(const r of Object.keys(e)){if(!(r in c.TargetNames)){throw new Error(y.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,a.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){y.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,t)=>{const[r,s]=t.split(" ");const a=l.browserNameMap[r];if(!a){return e}try{const t=s.split("-")[0].toLowerCase();const r=(0,i.isUnreleasedVersion)(t,a);if(!e[a]){e[a]=r?t:(0,i.semverify)(t);return e}const n=e[a];const o=(0,i.isUnreleasedVersion)(n,a);if(o&&r){e[a]=(0,i.getLowestUnreleased)(n,t,a)}else if(o){e[a]=(0,i.semverify)(t)}else if(!o&&!r){const r=(0,i.semverify)(t);e[a]=(0,i.semverMin)(n,r)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:t})=>console.warn(` ${e}: ${t}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,i.semverify)(t)}catch(r){throw new Error(y.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}function nodeTargetParser(e){const t=e===true||e==="current"?process.versions.node:semverifyTarget("node",e);return["node",t]}function defaultTargetParser(e,t){const r=(0,i.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]}function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e,t){const r=s(e,{mobileToDesktop:true,env:t});return getLowestVersions(r)}const g=new o({max:64});function resolveTargetsCached(e,t){const r=typeof e==="string"?e:e.join()+t;let s=g.get(r);if(!s){s=resolveTargets(e,t);g.set(r,s)}return Object.assign({},s)}function getTargets(e={},t={}){var r,a;let{browsers:n,esmodules:o}=e;const{configPath:l="."}=t;validateBrowsers(n);const c=generateTargets(e);let u=validateTargetNames(c);const p=!!n;const d=p||Object.keys(u).length>0;const y=!t.ignoreBrowserslistConfig&&!d;if(!n&&y){n=s.loadConfig({config:t.configFile,path:l,env:t.browserslistEnv});if(n==null){{n=[]}}}if(o&&(o!=="intersect"||!((r=n)!=null&&r.length))){n=Object.keys(f).map((e=>`${e} >= ${f[e]}`)).join(", ");o=false}if((a=n)!=null&&a.length){const e=resolveTargetsCached(n,t.browserslistEnv);if(o==="intersect"){for(const t of Object.keys(e)){const r=e[t];const s=f[t];if(s){e[t]=(0,i.getHighestUnreleased)(r,(0,i.semverify)(s),t)}else{delete e[t]}}}u=Object.assign(e,u)}const g={};const h=[];for(const e of Object.keys(u).sort()){const t=u[e];if(typeof t==="number"&&t%1!==0){h.push({target:e,value:t})}const[r,s]=e==="node"?nodeTargetParser(t):defaultTargetParser(e,t);if(s){g[r]=s}}outputDecimalWarning(h);return g}},6674:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=r},1354:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyTargets=prettifyTargets;t.prettifyVersion=prettifyVersion;var s=r(7849);var a=r(224);function prettifyVersion(e){if(typeof e!=="string"){return e}const{major:t,minor:r,patch:a}=s.parse(e);const n=[t];if(r||a){n.push(r)}if(a){n.push(a)}return n.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((t,r)=>{let s=e[r];const n=a.unreleasedLabels[r];if(typeof s==="string"&&n!==s){s=prettifyVersion(s)}t[r]=s;return t}),{})}},224:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unreleasedLabels=t.browserNameMap=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const s={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=s},9489:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;t.getLowestUnreleased=getLowestUnreleased;t.isUnreleasedVersion=isUnreleasedVersion;t.semverMin=semverMin;t.semverify=semverify;var s=r(7849);var a=r(2445);var n=r(224);const o=/^(\d+|\d+.\d+)$/;const i=new a.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&s.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&s.valid(e)){return e}i.invariant(typeof e==="number"||typeof e==="string"&&o.test(e),`'${e}' is not a valid version`);e=e.toString();let t=0;let r=0;while((t=e.indexOf(".",t+1))>0){r++}return e+".0".repeat(2-r)}function isUnreleasedVersion(e,t){const r=n.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const s=n.unreleasedLabels[r];if(e===s){return t}if(t===s){return e}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},6982:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{{{t.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}}}function requeueComputedKeyAndDecorators(e){const{context:t,node:r}=e;if(r.computed){t.maybeQueue(e.get("key"))}if(r.decorators){for(const r of e.get("decorators")){t.maybeQueue(r)}}}const r={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=r;t["default"]=s},2407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=r(8622);const{assignmentExpression:a,cloneNode:n,isIdentifier:o,isLiteral:i,isMemberExpression:l,isPrivateName:c,isPureish:u,isSuper:p,memberExpression:d,toComputedKey:f}=s;function getObjRef(e,t,r){let s;if(o(e)){if(r.hasBinding(e.name)){return e}else{s=e}}else if(l(e)){s=e.object;if(p(s)||o(s)&&r.hasBinding(s.name)){return s}}else{throw new Error(`We can't explode this node type ${e["type"]}`)}const i=r.generateUidIdentifierBasedOnNode(s);r.push({id:i});t.push(a("=",n(i),n(s)));return i}function getPropRef(e,t,r){const s=e.property;if(c(s)){throw new Error("We can't generate property ref for private name, please install `@babel/plugin-proposal-class-properties`")}const o=f(e,s);if(i(o)&&u(o))return o;const l=r.generateUidIdentifierBasedOnNode(s);r.push({id:l});t.push(a("=",n(l),n(s)));return l}function _default(e,t,r,s,a){let l;if(o(e)&&a){l=e}else{l=getObjRef(e,t,s)}let c,u;if(o(e)){c=n(e);u=l}else{const r=getPropRef(e,t,s);const a=e.computed||i(r);u=d(n(l),n(r),a);c=d(n(l),n(r),a)}return{uid:u,ref:c}}},7345:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var s=r(6719);var a=r(8622);const{NOT_LOCAL_BINDING:n,cloneNode:o,identifier:i,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:u,isIdentifier:p,isLiteral:d,isNullLiteral:f,isObjectMethod:y,isObjectProperty:g,isRegExpLiteral:h,isRestElement:b,isTemplateLiteral:x,isVariableDeclarator:v,toBindingIdentifierName:j}=a;function getFunctionArity(e){const t=e.params.findIndex((e=>c(e)||b(e)));return t===-1?e.params.length:t}const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,s){if(e.selfReference){if(s.hasBinding(r.name)&&!s.hasGlobal(r.name)){s.rename(r.name)}else{if(!u(t))return;let e=E;if(t.generator){e=w}const a=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:s.generateUidIdentifier(r.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,r=getFunctionArity(t);e<r;e++){n.push(s.generateUidIdentifier("x"))}return a}}t.id=r;s.getProgramParent().references[r.name]=true}function visit(e,t,r){const s={selfAssignment:false,selfReference:false,outerDeclar:r.getBindingIdentifier(t),name:t};const a=r.getOwnBinding(t);if(a){if(a.kind==="param"){s.selfReference=true}else{}}else if(s.outerDeclar||r.hasGlobal(t)){r.traverse(e,_,s)}return s}function _default({node:e,parent:t,scope:r,id:s},a=false,c=false){if(e.id)return;if((g(t)||y(t,{kind:"method"}))&&(!t.computed||d(t.key))){s=t.key}else if(v(t)){s=t.id;if(p(s)&&!a){const t=r.parent.getBinding(s.name);if(t&&t.constant&&r.getBinding(s.name)===t){e.id=o(s);e.id[n]=true;return}}}else if(l(t,{operator:"="})){s=t.left}else if(!s){return}let f;if(s&&d(s)){f=getNameFromLiteralId(s)}else if(s&&p(s)){f=s.name}if(f===undefined){return}if(!c&&u(e)&&/[\uD800-\uDFFF]/.test(f)){return}f=j(f);const h=i(f);h[n]=true;const b=visit(e,f,r);return wrap(b,e,h,r)||e}},6981:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach((function(r){if(r!=="default"){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:true,get:function(){return e[r]}})}}))}t["default"]=e;return Object.freeze(t)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:s}=t;if(s.isLogicalExpression()){const{operator:e,right:t}=s.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===r){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:r})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:r})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:u,cloneNode:p,conditionalExpression:d,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:E,optionalMemberExpression:w,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return i("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(h(r)){return v(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const s=r.node.object;const a=e.scope.maybeGenerateMemoised(s);r.get("object").replaceWith(i("=",a,s));return u(v(t,f("call")),[a,...e.node.arguments])}return u(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:s}=e;const a=t.node;if(s){if(r!==a[s]){return true}}else{if(r!==a)return true}e=t}return false}const k={memoise(){},handle(e,t){const{node:r,parent:s,parentPath:a,scope:v}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const n=e.find((({node:t,parent:r})=>{if(h(r)){return r.optional||r.object!==t}if(g(r)){return t!==e.node&&r.optional||r.callee!==t}return true}));if(v.path.isPattern()){n.replaceWith(u(o([],n.node),[]));return}const b=willPathCastToBoolean(n);const _=n.parentPath;if(_.isUpdateExpression({argument:r})||_.isAssignmentExpression({left:r})){throw e.buildCodeFrameError(`can't handle assignment`)}const S=_.isUnaryExpression({operator:"delete"});if(S&&n.isOptionalMemberExpression()&&n.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let k=e;for(;;){if(k.isOptionalMemberExpression()){if(k.node.optional)break;k=k.get("object");continue}else if(k.isOptionalCallExpression()){if(k.node.optional)break;k=k.get("callee");continue}throw new Error(`Internal error: unexpected ${k.node.type}`)}const I=k.isOptionalMemberExpression()?k.node.object:k.node.callee;const D=v.maybeGenerateMemoised(I);const C=D!=null?D:I;const P=a.isOptionalCallExpression({callee:r});const isOptionalCall=e=>P;const O=a.isCallExpression({callee:r});k.replaceWith(toNonOptional(k,C));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(O){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else{e.replaceWith(this.get(e))}let A=e.node;for(let t=e;t!==n;){const e=t.parentPath;if(e===n&&isOptionalCall()&&s.optional){A=e.node;break}A=toNonOptional(e,A);t=e}let R;const M=n.parentPath;if(y(A)&&M.isOptionalCallExpression({callee:n.node,optional:true})){const{object:t}=A;R=e.scope.maybeGenerateMemoised(t);if(R){A.object=i("=",R,t)}}let N=n;if(S){N=M;A=M.node}const F=D?i("=",p(C),p(I)):p(C);if(b){let e;if(t){e=l("!=",F,j())}else{e=x("&&",l("!==",F,j()),l("!==",p(C),v.buildUndefinedNode()))}N.replaceWith(x("&&",e,A))}else{let e;if(t){e=l("==",F,j())}else{e=x("||",l("===",F,j()),l("===",p(C),v.buildUndefinedNode()))}N.replaceWith(d(e,S?c(true):v.buildUndefinedNode(),A))}if(R){const e=M.node;M.replaceWith(E(w(e.callee,f("call"),false,true),[p(R),...e.arguments],false))}return}if(b(s,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:n}=s;this.memoise(e,2);const o=v.generateUidIdentifierBasedOnNode(r);v.push({id:o});const l=[i("=",p(o),this.get(e))];if(n){l.push(S(t,p(o),n));const r=_(l);a.replaceWith(this.set(e,r));return}else{const s=v.generateUidIdentifierBasedOnNode(r);v.push({id:s});l.push(i("=",p(s),S(t,p(o),n)),p(o));const c=_(l);a.replaceWith(_([this.set(e,c),p(s)]));return}}if(a.isAssignmentExpression({left:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,right:r}=a.node;if(t==="="){a.replaceWith(this.set(e,r))}else{const s=t.slice(0,-1);if(n.includes(s)){this.memoise(e,1);a.replaceWith(x(s,this.get(e),this.set(e,r)))}else{this.memoise(e,2);a.replaceWith(this.set(e,l(s,this.get(e),r)))}}return}if(a.isCallExpression({callee:r})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:r})){if(v.path.isPattern()){a.replaceWith(u(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:r})||a.isObjectProperty({value:r})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:r})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:r})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},k,r,{memoiser:new AssignmentMemoiser}))}t["default"]=memberExpressionToFunctions},7015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(9491);var a=r(8622);const{callExpression:n,cloneNode:o,expressionStatement:i,identifier:l,importDeclaration:c,importDefaultSpecifier:u,importNamespaceSpecifier:p,importSpecifier:d,memberExpression:f,stringLiteral:y,variableDeclaration:g,variableDeclarator:h}=a;class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],y(this._importedSource)));return this}require(){this._statements.push(i(n(l("require"),[y(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];s(r.type==="ImportDeclaration");s(r.specifiers.length===0);r.specifiers=[p(t)];this._resultName=o(t);return this}default(e){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];s(r.type==="ImportDeclaration");s(r.specifiers.length===0);r.specifiers=[u(t)];this._resultName=o(t);return this}named(e,t){if(t==="default")return this.default(e);const r=this._scope.generateUidIdentifier(e);const a=this._statements[this._statements.length-1];s(a.type==="ImportDeclaration");s(a.specifiers.length===0);a.specifiers=[d(r,l(t))];this._resultName=o(r);return this}var(e){const t=this._scope.generateUidIdentifier(e);let r=this._statements[this._statements.length-1];if(r.type!=="ExpressionStatement"){s(this._resultName);r=i(this._resultName);this._statements.push(r)}this._statements[this._statements.length-1]=g("var",[h(t,r.expression)]);this._resultName=o(t);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=n(e,[t.expression])}else if(t.type==="VariableDeclaration"){s(t.declarations.length===1);t.declarations[0].init=n(e,[t.declarations[0].init])}else{s.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=f(t.expression,l(e))}else if(t.type==="VariableDeclaration"){s(t.declarations.length===1);t.declarations[0].init=f(t.declarations[0].init,l(e))}else{s.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=f(this._resultName,l(e))}}t["default"]=ImportBuilder},5980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(9491);var a=r(8622);var n=r(7015);var o=r(4889);const{numericLiteral:i,sequenceExpression:l}=a;class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const s=e.find((e=>e.isProgram()));this._programPath=s;this._programScope=s.scope;this._hub=s.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){s(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),void 0)}_applyDefaults(e,t,r=false){let a;if(typeof e==="string"){a=Object.assign({},this._defaultOpts,{importedSource:e},t)}else{s(!t,"Unexpected secondary arguments.");a=Object.assign({},this._defaultOpts,e)}if(!r&&t){if(t.nameHint!==undefined)a.nameHint=t.nameHint;if(t.blockHoist!==undefined)a.blockHoist=t.blockHoist}return a}_generateImport(e,t){const r=t==="default";const s=!!t&&!r;const a=t===null;const{importedSource:c,importedType:u,importedInterop:p,importingInterop:d,ensureLiveReference:f,ensureNoContext:y,nameHint:g,importPosition:h,blockHoist:b}=e;let x=g||t;const v=(0,o.default)(this._programPath);const j=v&&d==="node";const E=v&&d==="babel";if(h==="after"&&!v){throw new Error(`"importPosition": "after" is only supported in modules`)}const w=new n.default(c,this._programScope,this._hub);if(u==="es6"){if(!j&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}w.import();if(a){w.namespace(g||c)}else if(r||s){w.named(x,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(j){x=x!=="default"?x:c;const e=`${c}$es6Default`;w.import();if(a){w.default(e).var(x||c).wildcardInterop()}else if(r){if(f){w.default(e).var(x||c).defaultInterop().read("default")}else{w.default(e).var(x).defaultInterop().prop(t)}}else if(s){w.default(e).read(t)}}else if(E){w.import();if(a){w.namespace(x||c)}else if(r||s){w.named(x,t)}}else{w.require();if(a){w.var(x||c).wildcardInterop()}else if((r||s)&&f){if(r){x=x!=="default"?x:c;w.var(x).read(t);w.defaultInterop()}else{w.var(c).read(t)}}else if(r){w.var(x).defaultInterop().prop(t)}else if(s){w.var(x).prop(t)}}}else if(p==="compiled"){if(j){w.import();if(a){w.default(x||c)}else if(r||s){w.default(c).read(x)}}else if(E){w.import();if(a){w.namespace(x||c)}else if(r||s){w.named(x,t)}}else{w.require();if(a){w.var(x||c)}else if(r||s){if(f){w.var(c).read(x)}else{w.prop(t).var(x)}}}}else if(p==="uncompiled"){if(r&&f){throw new Error("No live reference for commonjs default")}if(j){w.import();if(a){w.default(x||c)}else if(r){w.default(x)}else if(s){w.default(c).read(x)}}else if(E){w.import();if(a){w.default(x||c)}else if(r){w.default(x)}else if(s){w.named(x,t)}}else{w.require();if(a){w.var(x||c)}else if(r){w.var(x)}else if(s){if(f){w.var(c).read(x)}else{w.var(x).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:_,resultName:S}=w.done();this._insertStatements(_,h,b);if((r||s)&&y&&S.type!=="Identifier"){return l([i(0),S])}return S}_insertStatements(e,t="before",r=3){const s=this._programPath.get("body");if(t==="after"){for(let t=s.length-1;t>=0;t--){if(s[t].isImportDeclaration()){s[t].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=r}));const t=s.find((e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4}));if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t["default"]=ImportInjector},6185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return s.default}});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.default}});var s=r(5980);var a=r(4889);function addDefault(e,t,r){return new s.default(e).addDefault(t,r)}function addNamed(e,t,r,a){return new s.default(e).addNamed(t,r,a)}function addNamespace(e,t,r){return new s.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new s.default(e).addSideEffect(t,r)}},4889:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},1773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDynamicImportSource=getDynamicImportSource;var s=r(8622);var a=r(6719);function getDynamicImportSource(e){const[t]=e.arguments;return s.isStringLiteral(t)||s.isTemplateLiteral(t)?t:a.default.expression.ast`\`\${${t}}\``}},147:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getModuleName;{const e=getModuleName;t["default"]=getModuleName=function getModuleName(t,r){var s,a,n,o;return e(t,{moduleId:(s=r.moduleId)!=null?s:t.moduleId,moduleIds:(a=r.moduleIds)!=null?a:t.moduleIds,getModuleId:(n=r.getModuleId)!=null?n:t.getModuleId,moduleRoot:(o=r.moduleRoot)!=null?o:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:s=r,sourceRoot:a=t.moduleRoot}=e;const{moduleId:n,moduleIds:o=!!n,getModuleId:i,moduleRoot:l=a}=t;if(!o)return null;if(n!=null&&!i){return n}let c=l!=null?l+"/":"";if(s){const e=a!=null?new RegExp("^"+a+"/?"):"";c+=s.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(i){return i(c)||c}else{return c}}},108:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildNamespaceInitStatements=buildNamespaceInitStatements;t.ensureStatementsHoisted=ensureStatementsHoisted;Object.defineProperty(t,"getDynamicImportSource",{enumerable:true,get:function(){return u.getDynamicImportSource}});Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return o.isModule}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return i.default}});t.wrapInterop=wrapInterop;var s=r(9491);var a=r(8622);var n=r(6719);var o=r(6185);var i=r(6289);var l=r(3047);var c=r(6702);var u=r(1773);var p=r(147);const{booleanLiteral:d,callExpression:f,cloneNode:y,directive:g,directiveLiteral:h,expressionStatement:b,identifier:x,isIdentifier:v,memberExpression:j,stringLiteral:E,valueToNode:w,variableDeclaration:_,variableDeclarator:S}=a;function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:a,allowTopLevelThis:n,strictMode:u,noInterop:p,importInterop:d=(p?"none":"babel"),lazy:f,esNamespaceOnly:y,filename:b,constantReexports:x=t,enumerableModuleMeta:v=t,noIncompleteNsImportDetection:j}){(0,c.validateImportInteropOption)(d);s((0,o.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const E=(0,c.default)(e,r,{importInterop:d,initializeReexports:x,lazy:f,esNamespaceOnly:y,filename:b});if(!n){(0,i.default)(e)}(0,l.default)(e,E);if(u!==false){const t=e.node.directives.some((e=>e.value.value==="use strict"));if(!t){e.unshiftContainer("directives",g(h("use strict")))}}const w=[];if((0,c.hasExports)(E)&&!a){w.push(buildESModuleHeader(E,v))}const _=buildExportNameListDeclaration(e,E);if(_){E.exportNameListName=_.name;w.push(_.statement)}w.push(...buildExportInitializationStatements(e,E,x,j));return{meta:E,headers:w}}function ensureStatementsHoisted(e){e.forEach((e=>{e._blockHoist=3}))}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return f(e.hub.addHelper("interopRequireWildcard"),[t,d(true)])}else if(r==="node-default"){return null}let s;if(r==="default"){s="interopRequireDefault"}else if(r==="namespace"){s="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return f(e.hub.addHelper(s),[t])}function buildNamespaceInitStatements(e,t,r=false){const s=[];let a=x(t.name);if(t.lazy)a=f(a,[]);for(const e of t.importsNamespace){if(e===t.name)continue;s.push(n.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:y(a)}))}if(r){s.push(...buildReexportsFromMeta(e,t,true))}for(const r of t.reexportNamespace){s.push((t.lazy?n.default.statement` - Object.defineProperty(EXPORTS, "NAME", { - enumerable: true, - get: function() { - return NAMESPACE; - } - }); - `:n.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:y(a)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,y(a),r);n.loc=t.reexportAll.loc;s.push(n)}return s}const k={constant:n.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:n.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:n.default.statement` - Object.defineProperty(EXPORTS, "EXPORT_NAME", { - enumerable: true, - get: function() { - return NAMESPACE_IMPORT; - }, - }); - `};const buildReexportsFromMeta=(e,t,r)=>{const s=t.lazy?f(x(t.name),[]):x(t.name);const{stringSpecifiers:a}=e;return Array.from(t.reexports,(([n,o])=>{let i=y(s);if(o==="default"&&t.interop==="node-default"){}else if(a.has(o)){i=j(i,E(o),true)}else{i=j(i,x(o))}const l={EXPORTS:e.exportName,EXPORT_NAME:n,NAMESPACE_IMPORT:i};if(r||v(i)){if(a.has(n)){return k.constantComputed(l)}else{return k.constant(l)}}else{return k.spec(l)}}))};function buildESModuleHeader(e,t=false){return(t?n.default.statement` - EXPORTS.__esModule = true; - `:n.default.statement` - Object.defineProperty(EXPORTS, "__esModule", { - value: true, - }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?n.default.statement` - Object.keys(NAMESPACE).forEach(function(key) { - if (key === "default" || key === "__esModule") return; - VERIFY_NAME_LIST; - if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - - EXPORTS[key] = NAMESPACE[key]; - }); - `:n.default.statement` - Object.keys(NAMESPACE).forEach(function(key) { - if (key === "default" || key === "__esModule") return; - VERIFY_NAME_LIST; - if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - - Object.defineProperty(EXPORTS, key, { - enumerable: true, - get: function() { - return NAMESPACE[key]; - }, - }); - }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,n.default)` - if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let s=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}s=s||!!e.reexportAll}if(!s||Object.keys(r).length===0)return null;const a=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:a.name,statement:_("var",[S(a,w(r))])}}function buildExportInitializationStatements(e,t,r=false,s=false){const a=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){a.push([r.names[0],buildInitStatement(t,r.names,x(e))])}else if(!s){for(const e of r.names){a.push([e,null])}}}for(const e of t.source.values()){if(!r){const r=buildReexportsFromMeta(t,e,false);const s=[...e.reexports.keys()];for(let e=0;e<r.length;e++){a.push([s[e],r[e]])}}if(!s){for(const t of e.reexportNamespace){a.push([t,null])}}}a.sort((([e],[t])=>{if(e<t)return-1;if(t<e)return 1;return 0}));const n=[];if(s){for(const[,e]of a){n.push(e)}}else{const r=100;for(let s=0;s<a.length;s+=r){let o=[];for(let i=0;i<r&&s+i<a.length;i++){const[r,l]=a[s+i];if(l!==null){if(o.length>0){n.push(buildInitStatement(t,o,e.scope.buildUndefinedNode()));o=[]}n.push(l)}else{o.push(r)}}if(o.length>0){n.push(buildInitStatement(t,o,e.scope.buildUndefinedNode()))}}}return n}const I={computed:n.default.expression`EXPORTS["NAME"] = VALUE`,default:n.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:s,exportName:a}=e;return b(t.reduce(((e,t)=>{const r={EXPORTS:a,NAME:t,VALUE:e};if(s.has(t)){return I.computed(r)}else{return I.default(r)}}),r))}},6702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeModuleAndLoadMetadata;t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;var s=r(1017);var a=r(7239);var n=r(7696);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t,r){if(typeof e==="function"){return validateImportInteropOption(e(t,r))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:s=false,lazy:a=false,esNamespaceOnly:n=false,filename:o}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const i=new Set;nameAnonymousExports(e);const{local:l,source:c,hasExports:u}=getModuleMetadata(e,{initializeReexports:s,lazy:a},i);removeModuleDeclarations(e);for(const[,e]of c){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source,o);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(n&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:l,source:c,stringSpecifiers:i}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,a.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},a){const n=getLocalExportMetadata(e,r,a);const o=new Map;const getData=t=>{const r=t.value;let a=o.get(r);if(!a){a={name:e.scope.generateUidIdentifier((0,s.basename)(r,(0,s.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};o.set(r,a)}return a};let i=false;e.get("body").forEach((e=>{if(e.isImportDeclaration()){const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const s=n.get(r);if(s){n.delete(r);s.names.forEach((e=>{t.reexports.set(e,"default")}))}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const s=n.get(r);if(s){n.delete(r);s.names.forEach((e=>{t.reexportNamespace.add(e)}))}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),a);const s=e.get("local").node.name;t.imports.set(s,r);const o=n.get(s);if(o){n.delete(s);o.names.forEach((e=>{t.reexports.set(e,r)}))}}}))}else if(e.isExportAllDeclaration()){i=true;const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){i=true;const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),a);const s=getExportSpecifierName(e.get("exported"),a);t.reexports.set(s,r);if(s==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}}))}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){i=true}}));for(const e of o.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const s of e.imports.values()){if(s==="default")t=true;else r=true}for(const s of e.reexports.values()){if(s==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of o){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:i,local:n,source:o}}function getLocalExportMetadata(e,t,r){const s=new Map;e.get("body").forEach((e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration()){e=e.get("declaration")}if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach((e=>{assertExportSpecifier(e);s.set(e.get("local").node.name,"block")}));return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach((e=>{s.set(e,r)}))}));const a=new Map;const getLocalMetadata=e=>{const t=e.node.name;let r=a.get(t);if(!r){const n=s.get(t);if(n===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:n};a.set(t,r)}return r};e.get("body").forEach((e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach((e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}getLocalMetadata(r[e]).names.push(e)}))}else{e.get("specifiers").forEach((e=>{const t=e.get("local");const s=e.get("exported");const a=getLocalMetadata(t);const n=getExportSpecifierName(s,r);if(n==="__esModule"){throw s.buildCodeFrameError('Illegal export "__esModule".')}a.names.push(n)}))}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){getLocalMetadata(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}}));return a}function nameAnonymousExports(e){e.get("body").forEach((e=>{if(!e.isExportDefaultDeclaration())return;(0,n.default)(e)}))}function removeModuleDeclarations(e){e.get("body").forEach((e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}}))}},3047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteLiveReferences;var s=r(9491);var a=r(8622);var n=r(6719);var o=r(1168);const{assignmentExpression:i,callExpression:l,cloneNode:c,expressionStatement:u,getOuterBindingIdentifiers:p,identifier:d,isMemberExpression:f,isVariableDeclaration:y,jsxIdentifier:g,jsxMemberExpression:h,memberExpression:b,numericLiteral:x,sequenceExpression:v,stringLiteral:j,variableDeclaration:E,variableDeclarator:w}=a;function isInType(e){do{switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:if(e.parentPath.isStatement()||e.parentPath.isExpression()){return false}}}while(e=e.parentPath)}function rewriteLiveReferences(e,t){const r=new Map;const s=new Map;const requeueInParent=t=>{e.requeue(t)};for(const[e,s]of t.source){for(const[t,a]of s.imports){r.set(t,[e,a,null])}for(const t of s.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=s.get(e);if(!t){t=[];s.set(e,t)}t.push(...r.names)}const a={metadata:t,requeueInParent:requeueInParent,scope:e.scope,exported:s};e.traverse(_,a);(0,o.default)(e,new Set([...Array.from(r.keys()),...Array.from(s.keys())]),false);const n={seen:new WeakSet,metadata:t,requeueInParent:requeueInParent,scope:e.scope,imported:r,exported:s,buildImportReference:([e,r,s],a)=>{const n=t.source.get(e);if(s){if(n.lazy){a=l(a,[])}return a}let o=d(n.name);if(n.lazy)o=l(o,[]);if(r==="default"&&n.interop==="node-default"){return o}const i=t.stringSpecifiers.has(r);return b(o,i?j(r):d(r),i)}};e.traverse(S,n)}const _={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:s}=this;const{id:a}=e.node;if(!a)throw new Error("Expected class to have a name");const n=a.name;const o=r.get(n)||[];if(o.length>0){const r=u(buildBindingExportAssignmentExpression(s,o,d(n),e.scope));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:s}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach((a=>{const n=r.get(a)||[];if(n.length>0){const r=u(buildBindingExportAssignmentExpression(s,n,d(a),e.scope));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}}))}};const buildBindingExportAssignmentExpression=(e,t,r,s)=>{const a=e.exportName;for(let e=s;e!=null;e=e.parent){if(e.hasOwnBinding(a)){e.rename(a)}}return(t||[]).reduce(((t,r)=>{const{stringSpecifiers:s}=e;const n=s.has(r);return i("=",b(d(a),n?j(r):d(r),n),t)}),r)};const buildImportThrow=e=>n.default.expression.ast` - (function() { - throw new Error('"' + '${e}' + '" is read-only.'); - })() - `;const S={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:s,imported:a,requeueInParent:n}=this;if(t.has(e.node))return;t.add(e.node);const o=e.node.name;const i=a.get(o);if(i){if(isInType(e)){throw e.buildCodeFrameError(`Cannot transform the imported binding "${o}" since it's also used in a type annotation. `+`Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`)}const t=e.scope.getBinding(o);const a=s.getBinding(o);if(a!==t)return;const l=r(i,e.node);l.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&f(l)){e.replaceWith(v([x(0),l]))}else if(e.isJSXIdentifier()&&f(l)){const{object:t,property:r}=l;e.replaceWith(h(g(t.name),g(r.name)))}else{e.replaceWith(l)}n(e);e.skip()}},UpdateExpression(e){const{scope:t,seen:r,imported:s,exported:a,requeueInParent:n,buildImportReference:o}=this;if(r.has(e.node))return;r.add(e.node);const l=e.get("argument");if(l.isMemberExpression())return;const u=e.node;if(l.isIdentifier()){const r=l.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const n=a.get(r);const p=s.get(r);if((n==null?void 0:n.length)>0||p){if(p){e.replaceWith(i(u.operator[0]+"=",o(p,l.node),buildImportThrow(r)))}else if(u.prefix){e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,n,c(u),e.scope))}else{const s=t.generateDeclaredUidIdentifier(r);e.replaceWith(v([i("=",c(s),c(u)),buildBindingExportAssignmentExpression(this.metadata,n,d(r),e.scope),c(s)]))}}}n(e);e.skip()},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:a,exported:n,requeueInParent:o,buildImportReference:i}=this;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(l.isMemberExpression())return;if(l.isIdentifier()){const r=l.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=n.get(r);const u=a.get(r);if((c==null?void 0:c.length)>0||u){s(e.node.operator==="=","Path was not simplified");const t=e.node;if(u){t.left=i(u,l.node);t.right=v([t.right,buildImportThrow(r)])}e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,c,t,e.scope));o(e)}}else{const r=l.getOuterBindingIdentifiers();const s=Object.keys(r).filter((r=>t.getBinding(r)===e.scope.getBinding(r)));const i=s.find((e=>a.has(e)));if(i){e.node.right=v([e.node.right,buildImportThrow(i)])}const c=[];s.forEach((t=>{const r=n.get(t)||[];if(r.length>0){c.push(buildBindingExportAssignmentExpression(this.metadata,r,d(t),e.scope))}}));if(c.length>0){let t=v(c);if(e.parentPath.isExpressionStatement()){t=u(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];o(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:s}=r;const{exported:a,imported:n,scope:o}=this;if(!y(s)){let r=false,l;const d=e.get("body").scope;for(const e of Object.keys(p(s))){if(o.getBinding(e)===t.getBinding(e)){if(a.has(e)){r=true;if(d.hasOwnBinding(e)){d.rename(e)}}if(n.has(e)&&!l){l=e}}}if(!r&&!l){return}e.ensureBlock();const f=e.get("body");const y=t.generateUidIdentifierBasedOnNode(s);e.get("left").replaceWith(E("let",[w(c(y))]));t.registerDeclaration(e.get("left"));if(r){f.unshiftContainer("body",u(i("=",s,y)))}if(l){f.unshiftContainer("body",u(buildImportThrow(l)))}}}}},6289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteThis;var s=r(6982);var a=r(7369);var n=r(8622);const{numericLiteral:o,unaryExpression:i}=n;function rewriteThis(e){(0,a.default)(e.node,Object.assign({},l,{noScope:true}))}const l=a.default.visitors.merge([s.default,{ThisExpression(e){e.replaceWith(i("void",o(0),true))}}])},6392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=optimiseCallExpression;var s=r(8622);const{callExpression:a,identifier:n,isIdentifier:o,isSpreadElement:i,memberExpression:l,optionalCallExpression:c,optionalMemberExpression:u}=s;function optimiseCallExpression(e,t,r,s){if(r.length===1&&i(r[0])&&o(r[0].argument,{name:"arguments"})){if(s){return c(u(e,n("apply"),false,true),[t,r[0].argument],false)}return a(l(e,n("apply")),[t,r[0].argument])}else{if(s){return c(u(e,n("call"),false,true),[t,...r],false)}return a(l(e,n("call")),[t,...r])}}},6454:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;t.declarePreset=void 0;function declare(e){return(t,r,a)=>{var n;let o;for(const e of Object.keys(s)){var i;if(t[e])continue;o=(i=o)!=null?i:copyApiObject(t);o[e]=s[e](o)}return e((n=o)!=null?n:t,r||{},a)}}const r=declare;t.declarePreset=r;const s={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>({}),assumption:()=>()=>undefined};function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let s;if(t.slice(0,2)==="7."){s=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{s=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},6215:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;t.declarePreset=void 0;const r={assertVersion:e=>t=>{throwVersionError(t,e.version)},targets:()=>()=>({}),assumption:()=>()=>undefined};function declare(e){return(t,s,a)=>{var n;let o;for(const e of Object.keys(r)){var i;if(t[e])continue;o=(i=o)!=null?i:copyApiObject(t);o[e]=r[e](o)}return e((n=o)!=null?n:t,s||{},a)}}const s=declare;t.declarePreset=s;function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let s;if(t.slice(0,2)==="7."){s=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{s=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},6770:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;t.declarePreset=void 0;const r={assertVersion:e=>t=>{throwVersionError(t,e.version)}};{Object.assign(r,{targets:()=>()=>({}),assumption:()=>()=>undefined})}function declare(e){return(t,s,a)=>{var n;let o;for(const e of Object.keys(r)){var i;if(t[e])continue;(i=o)!=null?i:o=copyApiObject(t);o[e]=r[e](o)}return e((n=o)!=null?n:t,s||{},a)}}const s=declare;t.declarePreset=s;function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let s;if(t.slice(0,2)==="7."){s=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{s=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(s,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},1168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=simplifyAccess;var s=r(8622);const{LOGICAL_OPERATORS:a,assignmentExpression:n,binaryExpression:o,cloneNode:i,identifier:l,logicalExpression:c,numericLiteral:u,sequenceExpression:p,unaryExpression:d}=s;const f={AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:s}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const u=l.node.name;if(!s.has(u))return;if(t.getBinding(u)!==e.scope.getBinding(u)){return}const p=e.node.operator.slice(0,-1);if(a.includes(p)){e.replaceWith(c(p,e.node.left,n("=",i(e.node.left),e.node.right)))}else{e.node.right=o(p,i(e.node.left),e.node.right);e.node.operator="="}}}};{f.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:t,bindingNames:r}=this;const s=e.get("argument");if(!s.isIdentifier())return;const a=s.node.name;if(!r.has(a))return;if(t.getBinding(a)!==e.scope.getBinding(a)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(n(t,s.node,u(1)))}else if(e.node.prefix){e.replaceWith(n("=",l(a),o(e.node.operator[0],d("+",s.node),u(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const a=o(e.node.operator[0],l(r),u(1));e.replaceWith(p([n("=",l(r),d("+",s.node)),n("=",i(s.node),a),l(r)]))}}}}function simplifyAccess(e,t){{var r;e.traverse(f,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:(r=arguments[2])!=null?r:true})}}},7696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=splitExportDeclaration;var s=r(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const t=e.get("declaration");const r=t.isFunctionDeclaration()||t.isClassDeclaration();const s=t.isScope()?t.scope.parent:t.scope;let u=t.node.id;let p=false;if(!u){p=true;u=s.generateUidIdentifier("default");if(r||t.isFunctionExpression()||t.isClassExpression()){t.node.id=a(u)}}const d=r?t.node:l("var",[c(a(u),t.node)]);const f=n(null,[o(a(u),i("default"))]);e.insertAfter(f);e.replaceWith(d);if(p){s.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const t=e.get("declaration");const r=t.getOuterBindingIdentifiers();const s=Object.keys(r).map((e=>o(i(e),i(e))));const u=n(null,s);e.insertAfter(u);e.replaceWith(t.node);return e}},3970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const a=new RegExp("["+r+"]");const n=new RegExp("["+r+s+"]");r=s=null;const o=[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,20,1,64,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,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,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191];const i=[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,81,2,71,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,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let s=0,a=t.length;s<a;s+=2){r+=t[s];if(r>e)return false;r+=t[s+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let s=e.charCodeAt(r);if((s&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){s=65536+((s&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(s)){return false}}else if(!isIdentifierChar(s)){return false}}return!t}},7239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=r(3970);var a=r(642)},642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(r.keyword);const a=new Set(r.strict);const n=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},3530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let s=[],a=[],n,o;const i=e.length,l=t.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===t[o-1]?s[o-1]:r(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,t){const s=t.map((t=>levenshtein(t,e)));return t[s.indexOf(r(...s))]}},2445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=r(7657);var a=r(3530)},7657:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var s=r(3530);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},8450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=wrapFunction;var s=r(7345);var a=r(6719);var n=r(8622);const{blockStatement:o,callExpression:i,functionExpression:l,isAssignmentPattern:c,isFunctionDeclaration:u,isRestElement:p,returnStatement:d}=n;const f=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const y=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const g=a.default.statements(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,t){const r=e.node;const s=r.body;const a=l(null,[],o(s.body),true);s.body=[d(i(i(t,[a]),[]))];r.async=false;r.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,t,r,a){let n=null;let o;if(e.isArrowFunctionExpression()){{var l;e=(l=e.arrowFunctionToExpression({noNewArrows:r}))!=null?l:e}o=e.node}else{o=e.node}const d=u(o);n=o.id;o.id=null;o.type="FunctionExpression";const h=i(t,[o]);const b=[];for(const t of o.params){if(c(t)||p(t)){break}b.push(e.scope.generateUidIdentifier("x"))}const x={NAME:n||null,REF:e.scope.generateUidIdentifier(n?n.name:"ref"),FUNCTION:h,PARAMS:b};if(d){const t=g(x);e.replaceWith(t[0]);e.insertAfter(t[1])}else{let t;if(n){t=y(x)}else{t=f(x);const r=t.callee.body.body[1].argument;(0,s.default)({node:r,parent:e.parent,scope:e.scope});n=r.id}if(n||!a&&b.length){e.replaceWith(t)}else{e.replaceWith(h)}}}function wrapFunction(e,t,r=true,s=false){if(e.isMethod()){classOrObjectMethod(e,t)}else{plainFunction(e,t,r,s)}}},6537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=highlight;t.getChalk=getChalk;t.shouldHighlight=shouldHighlight;var s=r(8874);var a=r(7239);var n=r(6148);const o=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,s){if(t.type==="name"){if((0,a.isKeyword)(t.value)||(0,a.isStrictReservedWord)(t.value,true)||o.has(t.value)){return"keyword"}if(e.test(t.value)&&(s[r-1]==="<"||s.slice(r-2,r)=="</")){return"jsxIdentifier"}if(t.value[0]!==t.value[0].toLowerCase()){return"capitalized"}}if(t.type==="punctuator"&&l.test(t.value)){return"bracket"}if(t.type==="invalid"&&(t.value==="@"||t.value==="#")){return"punctuator"}return t.type};c=function*(e){let t;while(t=s.default.exec(e)){const r=s.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}}}function highlightTokens(e,t){let r="";for(const{type:s,value:a}of c(t)){const t=e[s];if(t){r+=a.split(i).map((e=>t(e))).join("\n")}else{r+=a}}return r}function shouldHighlight(e){return!!n.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new n.constructor({enabled:true,level:1}):n}function highlight(e,t={}){if(e!==""&&shouldHighlight(t)){const r=getChalk(t);const s=getDefs(r);return highlightTokens(s,e)}else{return e}}},6140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=r(6770);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){const{plugins:r}=t;if(r.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}r.push("jsx")}}}));t["default"]=a},4792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTemplateBuilder;var s=r(4298);var a=r(2731);var n=r(2307);const o=(0,s.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const i=new WeakMap;const l=t||(0,s.validate)(null);return Object.assign(((t,...o)=>{if(typeof t==="string"){if(o.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,a.default)(e,t,(0,s.merge)(l,(0,s.validate)(o[0]))))}else if(Array.isArray(t)){let s=r.get(t);if(!s){s=(0,n.default)(e,t,l);r.set(t,s)}return extendedTrace(s(o))}else if(typeof t==="object"&&t){if(o.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,s.merge)(l,(0,s.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)}),{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,a.default)(e,t,(0,s.merge)((0,s.merge)(l,(0,s.validate)(r[0])),o))()}else if(Array.isArray(t)){let a=i.get(t);if(!a){a=(0,n.default)(e,t,(0,s.merge)(l,o));i.set(t,a)}return a(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},8907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=void 0;var s=r(8622);const{assertExpressionStatement:a}=s;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const n=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));t.smart=n;const o=makeStatementFormatter((e=>e));t.statements=o;const i=makeStatementFormatter((e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]}));t.statement=i;const l={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;a(t);return t.expression}};t.expression=l;const c={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=c},9767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=t["default"]=void 0;var s=r(8907);var a=r(4792);const n=(0,a.default)(s.smart);t.smart=n;const o=(0,a.default)(s.statement);t.statement=o;const i=(0,a.default)(s.statements);t.statements=i;const l=(0,a.default)(s.expression);t.expression=l;const c=(0,a.default)(s.program);t.program=c;var u=Object.assign(n.bind(undefined),{smart:n,statement:o,statements:i,expression:l,program:c,ast:n.ast});t["default"]=u},2307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=literalTemplate;var s=r(4298);var a=r(4652);var n=r(3148);function literalTemplate(e,t,r){const{metadata:a,names:o}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach(((e,t)=>{r[o[t]]=e}));return t=>{const o=(0,s.normalizeReplacements)(t);if(o){Object.keys(o).forEach((e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}}))}return e.unwrap((0,n.default)(a,o?Object.assign(o,r):r))}}}function buildLiteralData(e,t,r){let s;let n;let o;let i="";do{i+="$";const l=buildTemplateCode(t,i);s=l.names;n=new Set(s);o=(0,a.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(o.placeholders.some((e=>e.isDuplicate&&n.has(e.name))));return{metadata:o,names:s}}function buildTemplateCode(e,t){const r=[];let s=e[0];for(let a=1;a<e.length;a++){const n=`${t}${a-1}`;r.push(n);s+=n+e[a]}return{names:r,code:s}}},4298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.normalizeReplacements=normalizeReplacements;t.validate=validate;const r=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var s=Object.keys(e);var a,n;for(n=0;n<s.length;n++){a=s[n];if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:s=e.placeholderPattern,preserveComments:a=e.preserveComments,syntacticPlaceholders:n=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:s,preserveComments:a,syntacticPlaceholders:n}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:s,placeholderPattern:a,preserveComments:n,syntacticPlaceholders:o}=t,i=_objectWithoutPropertiesLoose(t,r);if(s!=null&&!(s instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(a!=null&&!(a instanceof RegExp)&&a!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(n!=null&&typeof n!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(o!=null&&typeof o!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(o===true&&(s!=null||a!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:i,placeholderWhitelist:s||undefined,placeholderPattern:a==null?undefined:a,preserveComments:n==null?undefined:n,syntacticPlaceholders:o==null?undefined:o}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,t,r)=>{e["$"+r]=t;return e}),{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},4652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parseAndBuildMetadata;var s=r(8622);var a=r(6949);var n=r(197);const{isCallExpression:o,isExpressionStatement:i,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:d,isStatement:f,isStringLiteral:y,removePropertiesDeep:g,traverse:h}=s;const b=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:s,placeholderPattern:a,preserveComments:n,syntacticPlaceholders:o}=r;const i=parseWithCodeFrame(t,r.parser,o);g(i,{preserveComments:n});e.validate(i);const l={placeholders:[],placeholderNames:new Set};const c={placeholders:[],placeholderNames:new Set};const u={value:undefined};h(i,placeholderVisitorHandler,{syntactic:l,legacy:c,isLegacyRef:u,placeholderWhitelist:s,placeholderPattern:a,syntacticPlaceholders:o});return Object.assign({ast:i},u.value?c:l)}function placeholderVisitorHandler(e,t,r){var s;let a;if(d(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{a=e.name.name;r.isLegacyRef.value=false}}else if(r.isLegacyRef.value===false||r.syntacticPlaceholders){return}else if(c(e)||u(e)){a=e.name;r.isLegacyRef.value=true}else if(y(e)){a=e.value;r.isLegacyRef.value=true}else{return}if(!r.isLegacyRef.value&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(r.isLegacyRef.value&&(r.placeholderPattern===false||!(r.placeholderPattern||b).test(a))&&!((s=r.placeholderWhitelist)!=null&&s.has(a))){return}t=t.slice();const{node:n,key:g}=t[t.length-1];let h;if(y(e)||d(e,{expectedNode:"StringLiteral"})){h="string"}else if(p(n)&&g==="arguments"||o(n)&&g==="arguments"||l(n)&&g==="params"){h="param"}else if(i(n)&&!d(e)){h="statement";t=t.slice(0,-1)}else if(f(e)&&d(e)){h="statement"}else{h="other"}const{placeholders:x,placeholderNames:v}=r.isLegacyRef.value?r.legacy:r.syntactic;x.push({name:a,type:h,resolve:e=>resolveAncestors(e,t),isDuplicate:v.has(a)});v.add(a)}function resolveAncestors(e,t){let r=e;for(let e=0;e<t.length-1;e++){const{key:s,index:a}=t[e];if(a===undefined){r=r[s]}else{r=r[s][a]}}const{key:s,index:a}=t[t.length-1];return{parent:r,key:s,index:a}}function parseWithCodeFrame(e,t,r){const s=(t.plugins||[]).slice();if(r!==false){s.push("placeholders")}t=Object.assign({allowReturnOutsideFunction:true,allowSuperOutsideMethod:true,sourceType:"module"},t,{plugins:s});try{return(0,a.parse)(e,t)}catch(t){const r=t.loc;if(r){t.message+="\n"+(0,n.codeFrameColumns)(e,{start:r});t.code="BABEL_TEMPLATE_PARSE_ERROR"}throw t}}},3148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=populatePlaceholders;var s=r(8622);const{blockStatement:a,cloneNode:n,emptyStatement:o,expressionStatement:i,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:d}=s;function populatePlaceholders(e,t){const r=n(e.ast);if(t){e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}}));Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}}));return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map((e=>n(e)))}else if(typeof r==="object"){r=n(r)}}const{parent:s,key:f,index:y}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=p(r)}if(!r||!u(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(y===undefined){if(!r){r=o()}else if(Array.isArray(r)){r=a(r)}else if(typeof r==="string"){r=i(l(r))}else if(!c(r)){r=i(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=l(r)}if(!c(r)){r=i(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=l(r)}if(y===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=l(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(y===undefined){d(s,f,r);s[f]=r}else{const t=s[f].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(y,1)}else if(Array.isArray(r)){t.splice(y,1,...r)}else{t[y]=r}}else{t[y]=r}d(s,f,t);s[f]=t}}},2731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=stringTemplate;var s=r(4298);var a=r(4652);var n=r(3148);function stringTemplate(e,t,r){t=e.code(t);let o;return i=>{const l=(0,s.normalizeReplacements)(i);if(!o)o=(0,a.default)(e,t,r);return e.unwrap((0,n.default)(o,l))}}},4162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTemplateBuilder;var s=r(1637);var a=r(3795);var n=r(9108);const o=(0,s.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const i=new WeakMap;const l=t||(0,s.validate)(null);return Object.assign(((t,...o)=>{if(typeof t==="string"){if(o.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,a.default)(e,t,(0,s.merge)(l,(0,s.validate)(o[0]))))}else if(Array.isArray(t)){let s=r.get(t);if(!s){s=(0,n.default)(e,t,l);r.set(t,s)}return extendedTrace(s(o))}else if(typeof t==="object"&&t){if(o.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,s.merge)(l,(0,s.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)}),{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,a.default)(e,t,(0,s.merge)((0,s.merge)(l,(0,s.validate)(r[0])),o))()}else if(Array.isArray(t)){let a=i.get(t);if(!a){a=(0,n.default)(e,t,(0,s.merge)(l,o));i.set(t,a)}return a(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},5471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=void 0;var s=r(8622);const{assertExpressionStatement:a}=s;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const n=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));t.smart=n;const o=makeStatementFormatter((e=>e));t.statements=o;const i=makeStatementFormatter((e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]}));t.statement=i;const l={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;a(t);return t.expression}};t.expression=l;const c={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=c},6719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=t["default"]=void 0;var s=r(5471);var a=r(4162);const n=(0,a.default)(s.smart);t.smart=n;const o=(0,a.default)(s.statement);t.statement=o;const i=(0,a.default)(s.statements);t.statements=i;const l=(0,a.default)(s.expression);t.expression=l;const c=(0,a.default)(s.program);t.program=c;var u=Object.assign(n.bind(undefined),{smart:n,statement:o,statements:i,expression:l,program:c,ast:n.ast});t["default"]=u},9108:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=literalTemplate;var s=r(1637);var a=r(6534);var n=r(196);function literalTemplate(e,t,r){const{metadata:a,names:o}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach(((e,t)=>{r[o[t]]=e}));return t=>{const o=(0,s.normalizeReplacements)(t);if(o){Object.keys(o).forEach((e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}}))}return e.unwrap((0,n.default)(a,o?Object.assign(o,r):r))}}}function buildLiteralData(e,t,r){let s="BABEL_TPL$";const n=t.join("");do{s="$$"+s}while(n.includes(s));const{names:o,code:i}=buildTemplateCode(t,s);const l=(0,a.default)(e,e.code(i),{parser:r.parser,placeholderWhitelist:new Set(o.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders});return{metadata:l,names:o}}function buildTemplateCode(e,t){const r=[];let s=e[0];for(let a=1;a<e.length;a++){const n=`${t}${a-1}`;r.push(n);s+=n+e[a]}return{names:r,code:s}}},1637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.normalizeReplacements=normalizeReplacements;t.validate=validate;const r=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var s=Object.keys(e);var a,n;for(n=0;n<s.length;n++){a=s[n];if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:s=e.placeholderPattern,preserveComments:a=e.preserveComments,syntacticPlaceholders:n=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:s,preserveComments:a,syntacticPlaceholders:n}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:s,placeholderPattern:a,preserveComments:n,syntacticPlaceholders:o}=t,i=_objectWithoutPropertiesLoose(t,r);if(s!=null&&!(s instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(a!=null&&!(a instanceof RegExp)&&a!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(n!=null&&typeof n!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(o!=null&&typeof o!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(o===true&&(s!=null||a!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:i,placeholderWhitelist:s||undefined,placeholderPattern:a==null?undefined:a,preserveComments:n==null?undefined:n,syntacticPlaceholders:o==null?undefined:o}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,t,r)=>{e["$"+r]=t;return e}),{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},6534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parseAndBuildMetadata;var s=r(8622);var a=r(6949);var n=r(197);const{isCallExpression:o,isExpressionStatement:i,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:d,isStatement:f,isStringLiteral:y,removePropertiesDeep:g,traverse:h}=s;const b=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:s,placeholderPattern:a,preserveComments:n,syntacticPlaceholders:o}=r;const i=parseWithCodeFrame(t,r.parser,o);g(i,{preserveComments:n});e.validate(i);const l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:s,placeholderPattern:a,syntacticPlaceholders:o};h(i,placeholderVisitorHandler,l);return Object.assign({ast:i},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function placeholderVisitorHandler(e,t,r){var s;let a;let n=r.syntactic.placeholders.length>0;if(d(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}a=e.name.name;n=true}else if(n||r.syntacticPlaceholders){return}else if(c(e)||u(e)){a=e.name}else if(y(e)){a=e.value}else{return}if(n&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(!n&&(r.placeholderPattern===false||!(r.placeholderPattern||b).test(a))&&!((s=r.placeholderWhitelist)!=null&&s.has(a))){return}t=t.slice();const{node:g,key:h}=t[t.length-1];let x;if(y(e)||d(e,{expectedNode:"StringLiteral"})){x="string"}else if(p(g)&&h==="arguments"||o(g)&&h==="arguments"||l(g)&&h==="params"){x="param"}else if(i(g)&&!d(e)){x="statement";t=t.slice(0,-1)}else if(f(e)&&d(e)){x="statement"}else{x="other"}const{placeholders:v,placeholderNames:j}=!n?r.legacy:r.syntactic;v.push({name:a,type:x,resolve:e=>resolveAncestors(e,t),isDuplicate:j.has(a)});j.add(a)}function resolveAncestors(e,t){let r=e;for(let e=0;e<t.length-1;e++){const{key:s,index:a}=t[e];if(a===undefined){r=r[s]}else{r=r[s][a]}}const{key:s,index:a}=t[t.length-1];return{parent:r,key:s,index:a}}function parseWithCodeFrame(e,t,r){const s=(t.plugins||[]).slice();if(r!==false){s.push("placeholders")}t=Object.assign({allowReturnOutsideFunction:true,allowSuperOutsideMethod:true,sourceType:"module"},t,{plugins:s});try{return(0,a.parse)(e,t)}catch(t){const r=t.loc;if(r){t.message+="\n"+(0,n.codeFrameColumns)(e,{start:r});t.code="BABEL_TEMPLATE_PARSE_ERROR"}throw t}}},196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=populatePlaceholders;var s=r(8622);const{blockStatement:a,cloneNode:n,emptyStatement:o,expressionStatement:i,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:d}=s;function populatePlaceholders(e,t){const r=n(e.ast);if(t){e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}}));Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}}));return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map((e=>n(e)))}else if(typeof r==="object"){r=n(r)}}const{parent:s,key:f,index:y}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=p(r)}if(!r||!u(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(y===undefined){if(!r){r=o()}else if(Array.isArray(r)){r=a(r)}else if(typeof r==="string"){r=i(l(r))}else if(!c(r)){r=i(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=l(r)}if(!c(r)){r=i(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=l(r)}if(y===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=l(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(y===undefined){d(s,f,r);s[f]=r}else{const t=s[f].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(y,1)}else if(Array.isArray(r)){t.splice(y,1,...r)}else{t[y]=r}}else{t[y]=r}d(s,f,t);s[f]=t}}},3795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=stringTemplate;var s=r(1637);var a=r(6534);var n=r(196);function stringTemplate(e,t,r){t=e.code(t);let o;return i=>{const l=(0,s.normalizeReplacements)(i);if(!o)o=(0,a.default)(e,t,r);return e.unwrap((0,n.default)(o,l))}}},3503:(e,t,r)=>{function _classPrivateFieldInitSpec(e,t,r){_checkPrivateRedeclaration(e,t);t.set(e,r)}function _checkPrivateRedeclaration(e,t){if(t.has(e)){throw new TypeError("Cannot initialize the same private elements twice on an object")}}function _classPrivateFieldGet(e,t){var r=_classExtractFieldDescriptor(e,t,"get");return _classApplyDescriptorGet(e,r)}function _classApplyDescriptorGet(e,t){if(t.get){return t.get.call(e)}return t.value}function _classPrivateFieldSet(e,t,r){var s=_classExtractFieldDescriptor(e,t,"set");_classApplyDescriptorSet(e,s,r);return r}function _classExtractFieldDescriptor(e,t,r){if(!t.has(e)){throw new TypeError("attempted to "+r+" private field on non-instance")}return t.get(e)}function _classApplyDescriptorSet(e,t,r){if(t.set){t.set.call(e,r)}else{if(!t.writable){throw new TypeError("attempted to set read only private field")}t.value=r}}const s=r(2836);const{Definition:a}=r(4494);const n=r(2999);const o=r(8648);const{getKeys:i}=r(3553);let l;function getVisitorValues(e,t){if(l)return l[e];const{FLOW_FLIPPED_ALIAS_KEYS:r,VISITOR_KEYS:s}=t.getTypesInfo();const a=r.concat(["ArrayPattern","ClassDeclaration","ClassExpression","FunctionDeclaration","FunctionExpression","Identifier","ObjectPattern","RestElement"]);l=Object.entries(s).reduce(((e,[t,r])=>{if(!a.includes(r)){e[t]=r}return e}),{});return l[e]}const c={callProperties:{type:"loop",values:["value"]},indexers:{type:"loop",values:["key","value"]},properties:{type:"loop",values:["argument","value"]},types:{type:"loop"},params:{type:"loop"},argument:{type:"single"},elementType:{type:"single"},qualification:{type:"single"},rest:{type:"single"},returnType:{type:"single"},typeAnnotation:{type:"typeAnnotation"},typeParameters:{type:"typeParameters"},id:{type:"id"}};class PatternVisitor extends n{ArrayPattern(e){e.elements.forEach(this.visit,this)}ObjectPattern(e){e.properties.forEach(this.visit,this)}}var u=new WeakMap;class Referencer extends o{constructor(e,t,r){super(e,t);_classPrivateFieldInitSpec(this,u,{writable:true,value:void 0});_classPrivateFieldSet(this,u,r)}visitPattern(e,t,r){if(!e){return}this._checkIdentifierOrVisit(e.typeAnnotation);if(e.type==="AssignmentPattern"){this._checkIdentifierOrVisit(e.left.typeAnnotation)}if(typeof t==="function"){r=t;t={processRightHandNodes:false}}const s=new PatternVisitor(this.options,e,r);s.visit(e);if(t.processRightHandNodes){s.rightHandNodes.forEach(this.visit,this)}}visitClass(e){this._visitArray(e.decorators);const t=this._nestTypeParamScope(e);this._visitTypeAnnotation(e.implements);this._visitTypeAnnotation(e.superTypeParameters&&e.superTypeParameters.params);super.visitClass(e);if(t){this.close(e)}}visitFunction(e){const t=this._nestTypeParamScope(e);this._checkIdentifierOrVisit(e.returnType);super.visitFunction(e);if(t){this.close(e)}}visitProperty(e){var t;if(((t=e.value)==null?void 0:t.type)==="TypeCastExpression"){this._visitTypeAnnotation(e.value)}this._visitArray(e.decorators);super.visitProperty(e)}InterfaceDeclaration(e){this._createScopeVariable(e,e.id);const t=this._nestTypeParamScope(e);this._visitArray(e.extends);this.visit(e.body);if(t){this.close(e)}}TypeAlias(e){this._createScopeVariable(e,e.id);const t=this._nestTypeParamScope(e);this.visit(e.right);if(t){this.close(e)}}ClassProperty(e){this._visitClassProperty(e)}ClassPrivateProperty(e){this._visitClassProperty(e)}PropertyDefinition(e){this._visitClassProperty(e)}ClassPrivateMethod(e){super.MethodDefinition(e)}DeclareModule(e){this._visitDeclareX(e)}DeclareFunction(e){this._visitDeclareX(e)}DeclareVariable(e){this._visitDeclareX(e)}DeclareClass(e){this._visitDeclareX(e)}OptionalMemberExpression(e){super.MemberExpression(e)}_visitClassProperty(e){this._visitTypeAnnotation(e.typeAnnotation);this.visitProperty(e)}_visitDeclareX(e){if(e.id){this._createScopeVariable(e,e.id)}const t=this._nestTypeParamScope(e);if(t){this.close(e)}}_createScopeVariable(e,t){this.currentScope().variableScope.__define(t,new a("Variable",t,e,null,null,null))}_nestTypeParamScope(e){if(!e.typeParameters){return null}const t=this.scopeManager.__currentScope;const r=new s.Scope(this.scopeManager,"type-parameters",t,e,false);this.scopeManager.__nestScope(r);for(let t=0;t<e.typeParameters.params.length;t++){const s=e.typeParameters.params[t];r.__define(s,new a("TypeParameter",s,s));if(s.typeAnnotation){this._checkIdentifierOrVisit(s)}}r.__define=function(){return t.__define.apply(t,arguments)};return r}_visitTypeAnnotation(e){if(!e){return}if(Array.isArray(e)){e.forEach(this._visitTypeAnnotation,this);return}const t=getVisitorValues(e.type,_classPrivateFieldGet(this,u));if(!t){return}for(let r=0;r<t.length;r++){const s=t[r];const a=c[s];const n=e[s];if(a==null||n==null){continue}if(a.type==="loop"){for(let e=0;e<n.length;e++){if(Array.isArray(a.values)){for(let t=0;t<a.values.length;t++){const r=n[e][a.values[t]];if(r){this._checkIdentifierOrVisit(r)}}}else{this._checkIdentifierOrVisit(n[e])}}}else if(a.type==="single"){this._checkIdentifierOrVisit(n)}else if(a.type==="typeAnnotation"){this._visitTypeAnnotation(e.typeAnnotation)}else if(a.type==="typeParameters"){for(let t=0;t<e.typeParameters.params.length;t++){this._checkIdentifierOrVisit(e.typeParameters.params[t])}}else if(a.type==="id"){if(e.id.type==="Identifier"){this._checkIdentifierOrVisit(e.id)}else{this._visitTypeAnnotation(e.id)}}}}_checkIdentifierOrVisit(e){if(e!=null&&e.typeAnnotation){this._visitTypeAnnotation(e.typeAnnotation)}else if((e==null?void 0:e.type)==="Identifier"){this.visit(e)}else{this._visitTypeAnnotation(e)}}_visitArray(e){if(e){for(const t of e){this.visit(t)}}}}e.exports=function analyzeScope(e,t,r){var a;const n={ignoreEval:true,optimistic:false,directive:false,nodejsScope:e.sourceType==="script"&&((a=t.ecmaFeatures)==null?void 0:a.globalReturn)===true,impliedStrict:false,sourceType:e.sourceType,ecmaVersion:t.ecmaVersion,fallback:i};n.childVisitorKeys=r.getVisitorKeys();const o=new s.ScopeManager(n);const l=new Referencer(n,o,r);l.visit(e);return o}},8469:(e,t,r)=>{var s,a,n,o;function _classStaticPrivateFieldSpecSet(e,t,r,s){_classCheckPrivateStaticAccess(e,t);_classCheckPrivateStaticFieldDescriptor(r,"set");_classApplyDescriptorSet(e,r,s);return s}function _classStaticPrivateFieldSpecGet(e,t,r){_classCheckPrivateStaticAccess(e,t);_classCheckPrivateStaticFieldDescriptor(r,"get");return _classApplyDescriptorGet(e,r)}function _classCheckPrivateStaticFieldDescriptor(e,t){if(e===undefined){throw new TypeError("attempted to "+t+" private static field before its declaration")}}function _classCheckPrivateStaticAccess(e,t){if(e!==t){throw new TypeError("Private static access of wrong provenance")}}function _classPrivateFieldInitSpec(e,t,r){_checkPrivateRedeclaration(e,t);t.set(e,r)}function _checkPrivateRedeclaration(e,t){if(t.has(e)){throw new TypeError("Cannot initialize the same private elements twice on an object")}}function _classPrivateFieldGet(e,t){var r=_classExtractFieldDescriptor(e,t,"get");return _classApplyDescriptorGet(e,r)}function _classApplyDescriptorGet(e,t){if(t.get){return t.get.call(e)}return t.value}function _classPrivateFieldSet(e,t,r){var s=_classExtractFieldDescriptor(e,t,"set");_classApplyDescriptorSet(e,s,r);return r}function _classExtractFieldDescriptor(e,t,r){if(!t.has(e)){throw new TypeError("attempted to "+r+" private field on non-instance")}return t.get(e)}function _classApplyDescriptorSet(e,t,r){if(t.set){t.set.call(e,r)}else{if(!t.writable){throw new TypeError("attempted to set read only private field")}t.value=r}}const i=r(1017);const l={GET_VERSION:"GET_VERSION",GET_TYPES_INFO:"GET_TYPES_INFO",GET_VISITOR_KEYS:"GET_VISITOR_KEYS",GET_TOKEN_LABELS:"GET_TOKEN_LABELS",MAYBE_PARSE:"MAYBE_PARSE",MAYBE_PARSE_SYNC:"MAYBE_PARSE_SYNC"};var c=new WeakMap;var u=new WeakMap;var p=new WeakMap;var d=new WeakMap;var f=new WeakMap;class Client{constructor(e){_classPrivateFieldInitSpec(this,c,{writable:true,value:void 0});_classPrivateFieldInitSpec(this,u,{writable:true,value:void 0});_classPrivateFieldInitSpec(this,p,{writable:true,value:void 0});_classPrivateFieldInitSpec(this,d,{writable:true,value:void 0});_classPrivateFieldInitSpec(this,f,{writable:true,value:void 0});_classPrivateFieldSet(this,c,e)}getVersion(){var e;return(e=_classPrivateFieldGet(this,u))!=null?e:_classPrivateFieldSet(this,u,_classPrivateFieldGet(this,c).call(this,l.GET_VERSION,undefined))}getTypesInfo(){var e;return(e=_classPrivateFieldGet(this,p))!=null?e:_classPrivateFieldSet(this,p,_classPrivateFieldGet(this,c).call(this,l.GET_TYPES_INFO,undefined))}getVisitorKeys(){var e;return(e=_classPrivateFieldGet(this,d))!=null?e:_classPrivateFieldSet(this,d,_classPrivateFieldGet(this,c).call(this,l.GET_VISITOR_KEYS,undefined))}getTokLabels(){var e;return(e=_classPrivateFieldGet(this,f))!=null?e:_classPrivateFieldSet(this,f,_classPrivateFieldGet(this,c).call(this,l.GET_TOKEN_LABELS,undefined))}maybeParse(e,t){return _classPrivateFieldGet(this,c).call(this,l.MAYBE_PARSE,{code:e,options:t})}}t.WorkerClient=(a=new WeakMap,s=class WorkerClient extends Client{constructor(){super(((e,t)=>{const r=new Int32Array(new SharedArrayBuffer(8));const o=new(_classStaticPrivateFieldSpecGet(WorkerClient,s,n).MessageChannel);_classPrivateFieldGet(this,a).postMessage({signal:r,port:o.port1,action:e,payload:t},[o.port1]);Atomics.wait(r,0,0);const{message:i}=_classStaticPrivateFieldSpecGet(WorkerClient,s,n).receiveMessageOnPort(o.port2);if(i.error)throw Object.assign(i.error,i.errorData);else return i.result}));_classPrivateFieldInitSpec(this,a,{writable:true,value:new(_classStaticPrivateFieldSpecGet(WorkerClient,s,n).Worker)(i.resolve(__dirname,"../lib/worker/index.cjs"),{env:_classStaticPrivateFieldSpecGet(WorkerClient,s,n).SHARE_ENV})});_classPrivateFieldGet(this,a).unref()}},n={get:_get_worker_threads,set:void 0},o={writable:true,value:void 0},s);function _get_worker_threads(){var e;return(e=_classStaticPrivateFieldSpecGet(s,s,o))!=null?e:_classStaticPrivateFieldSpecSet(s,s,o,r(1267))}{var y,g;t.LocalClient=(y=class LocalClient extends Client{constructor(){var e;(e=_classStaticPrivateFieldSpecGet(LocalClient,y,g))!=null?e:_classStaticPrivateFieldSpecSet(LocalClient,y,g,r(9026));super(((e,t)=>_classStaticPrivateFieldSpecGet(LocalClient,y,g).call(LocalClient,e===l.MAYBE_PARSE?l.MAYBE_PARSE_SYNC:e,t)))}},g={writable:true,value:void 0},y)}},3127:(e,t)=>{const r=["babelOptions","ecmaVersion","sourceType","requireConfigFile"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var s=Object.keys(e);var a,n;for(n=0;n<s.length;n++){a=s[n];if(t.indexOf(a)>=0)continue;r[a]=e[a]}return r}t.normalizeESLintConfig=function(e){const{babelOptions:t={},ecmaVersion:s=2020,sourceType:a="module",requireConfigFile:n=true}=e,o=_objectWithoutPropertiesLoose(e,r);return Object.assign({babelOptions:Object.assign({cwd:process.cwd()},t),ecmaVersion:s==="latest"?1e8:s,sourceType:a,requireConfigFile:n},o)}},3814:(e,t,r)=>{const s=r(6357);function*it(e){if(Array.isArray(e))yield*e;else yield e}function traverse(e,t,r){const{type:s}=e;if(!s)return;const a=t[s];if(!a)return;for(const s of a){for(const a of it(e[s])){if(a&&typeof a==="object"){r.enter(a);traverse(a,t,r);r.exit(a)}}}}const a={enter(e){if(e.innerComments){delete e.innerComments}if(e.trailingComments){delete e.trailingComments}if(e.leadingComments){delete e.leadingComments}},exit(e){if(e.extra){delete e.extra}if(e.loc.identifierName){delete e.loc.identifierName}if(e.type==="TypeParameter"){e.type="Identifier";e.typeAnnotation=e.bound;delete e.bound}if(e.type==="QualifiedTypeIdentifier"){delete e.id}if(e.type==="ObjectTypeProperty"){delete e.key}if(e.type==="ObjectTypeIndexer"){delete e.id}if(e.type==="FunctionTypeParam"){delete e.name}if(e.type==="ImportDeclaration"){delete e.isType}if(e.type==="TemplateLiteral"){for(let t=0;t<e.quasis.length;t++){const r=e.quasis[t];r.range[0]-=1;if(r.tail){r.range[1]+=1}else{r.range[1]+=2}r.loc.start.column-=1;if(r.tail){r.loc.end.column+=1}else{r.loc.end.column+=2}if(s>=8){r.start-=1;if(r.tail){r.end+=1}else{r.end+=2}}}}}};function convertNodes(e,t){traverse(e,t,a)}function convertProgramNode(e){e.type="Program";e.sourceType=e.program.sourceType;e.body=e.program.body;delete e.program;delete e.errors;if(e.comments.length){const t=e.comments[e.comments.length-1];if(e.tokens.length){const r=e.tokens[e.tokens.length-1];if(t.end>r.end){e.range[1]=r.end;e.loc.end.line=r.loc.end.line;e.loc.end.column=r.loc.end.column;if(s>=8){e.end=r.end}}}}else{if(!e.tokens.length){e.loc.start.line=1;e.loc.end.line=1}}if(e.body&&e.body.length>0){e.loc.start.line=e.body[0].loc.start.line;e.range[0]=e.body[0].start;if(s>=8){e.start=e.body[0].start}}}e.exports=function convertAST(e,t){convertNodes(e,t);convertProgramNode(e)}},6448:e=>{e.exports=function convertComments(e){for(const t of e){if(t.type==="CommentBlock"){t.type="Block"}else if(t.type==="CommentLine"){t.type="Line"}if(!t.range){t.range=[t.start,t.end]}}}},538:(e,t,r)=>{const s=r(6357);function convertTemplateType(e,t){let r=null;let s=[];const a=[];function addTemplateType(){const e=s[0];const r=s[s.length-1];const n=s.reduce(((e,r)=>{if(r.value){e+=r.value}else if(r.type.label!==t.template){e+=r.type.label}return e}),"");a.push({type:"Template",value:n,start:e.start,end:r.end,loc:{start:e.loc.start,end:r.loc.end}});s=[]}e.forEach((e=>{switch(e.type.label){case t.backQuote:if(r){a.push(r);r=null}s.push(e);if(s.length>1){addTemplateType()}break;case t.dollarBraceL:s.push(e);addTemplateType();break;case t.braceR:if(r){a.push(r)}r=e;break;case t.template:if(r){s.push(r);r=null}s.push(e);break;default:if(r){a.push(r);r=null}a.push(e)}}));return a}function convertToken(e,t,r){const{type:s}=e;const{label:a}=s;e.range=[e.start,e.end];if(a===r.name){if(e.value==="static"){e.type="Keyword"}else{e.type="Identifier"}}else if(a===r.semi||a===r.comma||a===r.parenL||a===r.parenR||a===r.braceL||a===r.braceR||a===r.slash||a===r.dot||a===r.bracketL||a===r.bracketR||a===r.ellipsis||a===r.arrow||a===r.pipeline||a===r.star||a===r.incDec||a===r.colon||a===r.question||a===r.template||a===r.backQuote||a===r.dollarBraceL||a===r.at||a===r.logicalOR||a===r.logicalAND||a===r.nullishCoalescing||a===r.bitwiseOR||a===r.bitwiseXOR||a===r.bitwiseAND||a===r.equality||a===r.relational||a===r.bitShift||a===r.plusMin||a===r.modulo||a===r.exponent||a===r.bang||a===r.tilde||a===r.doubleColon||a===r.hash||a===r.questionDot||a===r.braceHashL||a===r.braceBarL||a===r.braceBarR||a===r.bracketHashL||a===r.bracketBarL||a===r.bracketBarR||a===r.doubleCaret||a===r.doubleAt||s.isAssign){var n;e.type="Punctuator";(n=e.value)!=null?n:e.value=a}else if(a===r.jsxTagStart){e.type="Punctuator";e.value="<"}else if(a===r.jsxTagEnd){e.type="Punctuator";e.value=">"}else if(a===r.jsxName){e.type="JSXIdentifier"}else if(a===r.jsxText){e.type="JSXText"}else if(s.keyword==="null"){e.type="Null"}else if(s.keyword==="false"||s.keyword==="true"){e.type="Boolean"}else if(s.keyword){e.type="Keyword"}else if(a===r.num){e.type="Numeric";e.value=t.slice(e.start,e.end)}else if(a===r.string){e.type="String";e.value=t.slice(e.start,e.end)}else if(a===r.regexp){e.type="RegularExpression";const t=e.value;e.regex={pattern:t.pattern,flags:t.flags};e.value=`/${t.pattern}/${t.flags}`}else if(a===r.bigint){e.type="Numeric";e.value=`${e.value}n`}else if(a===r.privateName){e.type="PrivateIdentifier"}else if(a===r.templateNonTail||a===r.templateTail){e.type="Template"}if(typeof e.type!=="string"){delete e.type.rightAssociative}}e.exports=function convertTokens(e,t,r){const a=[];const n=convertTemplateType(e,r);for(let e=0,{length:o}=n;e<o-1;e++){const i=n[e];const l=i.type;if(l==="CommentLine"||l==="CommentBlock"){continue}{if(s>=8&&e+1<o&&l.label===r.hash){const t=n[e+1];if(t.type.label===r.name&&i.end===t.start){e++;t.type="PrivateIdentifier";t.start-=1;t.loc.start.column-=1;t.range=[t.start,t.end];a.push(t);continue}}}convertToken(i,t,r);a.push(i)}return a}},102:(e,t,r)=>{const s=r(538);const a=r(6448);const n=r(3814);t.ast=function convert(e,t,r,o){e.tokens=s(e.tokens,t,r);a(e.comments);n(e,o);return e};t.error=function convertError(e){if(e instanceof SyntaxError){e.lineNumber=e.loc.line;e.column=e.loc.column}return e}},4995:(e,t,r)=>{const{normalizeESLintConfig:s}=r(3127);const a=r(3503);const n=r(2149);const{LocalClient:o,WorkerClient:i}=r(8469);const l=new o;t.parse=function(e,t={}){return n(e,s(t),l)};t.parseForESLint=function(e,t={}){const r=s(t);const o=n(e,r,l);const i=a(o,r,l);return{ast:o,scopeManager:i,visitorKeys:l.getVisitorKeys()}}},2149:(e,t,r)=>{"use strict";const s=r(7849);const a=r(102);function noop(){}const n=r(6949);noop((((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?noop:(e,{paths:[t]},s=r(8188))=>{let a=s._findPath(e,s._nodeModulePaths(t).concat(t));if(a)return a;a=new Error(`Cannot resolve module '${e}'`);a.code="MODULE_NOT_FOUND";throw a})("@babel/parser",{paths:[noop("@babel/core/package.json")]}));let o=null;e.exports=function parse(e,t,r){const i=">=7.2.0";if(typeof o!=="boolean"){o=s.satisfies(r.getVersion(),i)}if(!o){throw new Error(`@babel/eslint-parser@${"7.18.2"} does not support @babel/core@${r.getVersion()}. Please upgrade to @babel/core@${i}.`)}const{ast:l,parserOptions:c}=r.maybeParse(e,t);if(l)return l;try{return a.ast(n.parse(e,c),e,r.getTokLabels(),r.getVisitorKeys())}catch(e){throw a.error(e)}}},6357:(e,t,r)=>{e.exports=parseInt(r(2781).i8,10)},3698:(e,t,r)=>{const s=r(3553).KEYS;const a=r(9299);let n;t.getVisitorKeys=function getVisitorKeys(){if(!n){const e={ChainExpression:s.ChainExpression,ImportExpression:s.ImportExpression,Literal:s.Literal,MethodDefinition:["decorators"].concat(s.MethodDefinition),Property:["decorators"].concat(s.Property),PropertyDefinition:["decorators","typeAnnotation"].concat(s.PropertyDefinition)};const t={ClassPrivateMethod:["decorators"].concat(s.MethodDefinition),ExportAllDeclaration:s.ExportAllDeclaration};n=Object.assign({},e,a.types.VISITOR_KEYS,t)}return n};let o;t.getTokLabels=function getTokLabels(){return o||(o=(e=>e.reduce(((e,[t,r])=>Object.assign({},e,{[t]:r})),{}))(Object.entries(a.tokTypes).map((([e,t])=>[e,t.label]))))}},9299:(e,t,r)=>{function initialize(e){t.init=null;t.version=e.version;t.traverse=e.traverse;t.types=e.types;t.tokTypes=e.tokTypes;t.parseSync=e.parseSync;t.loadPartialConfigSync=e.loadPartialConfigSync;t.loadPartialConfigAsync=e.loadPartialConfigAsync;t.createConfigItem=e.createConfigItem}{initialize(r(8304))}},4038:(e,t,r)=>{function asyncGeneratorStep(e,t,r,s,a,n,o){try{var i=e[n](o);var l=i.value}catch(e){r(e);return}if(i.done){t(l)}else{Promise.resolve(l).then(s,a)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(s,a){var n=e.apply(t,r);function _next(e){asyncGeneratorStep(n,s,a,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(n,s,a,_next,_throw,"throw",e)}_next(undefined)}))}}const s=r(9299);const a=r(6357);function getParserPlugins(e){var t,r;const s=(t=(r=e.parserOpts)==null?void 0:r.plugins)!=null?t:[];const n={classFeatures:a>=8};for(const e of s){if(Array.isArray(e)&&e[0]==="estree"){Object.assign(n,e[1]);break}}return[["estree",n],...s]}function normalizeParserOptions(e){var t,r,s;return Object.assign({sourceType:e.sourceType,filename:e.filePath},e.babelOptions,{parserOpts:Object.assign({},{allowImportExportEverywhere:(t=e.allowImportExportEverywhere)!=null?t:false,allowSuperOutsideMethod:true},{allowReturnOutsideFunction:(r=(s=e.ecmaFeatures)==null?void 0:s.globalReturn)!=null?r:true},e.babelOptions.parserOpts,{plugins:getParserPlugins(e.babelOptions),attachComment:false,ranges:true,tokens:true}),caller:Object.assign({name:"@babel/eslint-parser"},e.babelOptions.caller)})}function validateResolvedConfig(e,t,r){if(e!==null){if(t.requireConfigFile!==false){if(!e.hasFilesystemConfig()){let t=`No Babel config file detected for ${e.options.filename}. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.`;if(e.options.filename.includes("node_modules")){t+=`\nIf you have a .babelrc.js file or use package.json#babel, keep in mind that it's not used when parsing dependencies. If you want your config to be applied to your whole app, consider using babel.config.js or babel.config.json instead.`}throw new Error(t)}}if(e.options)return e.options}return getDefaultParserOptions(r)}function getDefaultParserOptions(e){return Object.assign({plugins:[]},e,{babelrc:false,configFile:false,browserslistConfigFile:false,ignore:null,only:null})}t.normalizeBabelParseConfig=_asyncToGenerator((function*(e){const t=normalizeParserOptions(e);const r=yield s.loadPartialConfigAsync(t);return validateResolvedConfig(r,e,t)}));t.normalizeBabelParseConfigSync=function(e){const t=normalizeParserOptions(e);const r=s.loadPartialConfigSync(t);return validateResolvedConfig(r,e,t)}},2112:e=>{e.exports=function extractParserOptionsPlugin(){return{parserOverride(e,t){return t}}}},9026:(e,t,r)=>{const s=r(9299);const a=r(3880);const{getVisitorKeys:n,getTokLabels:o}=r(3698);const{normalizeBabelParseConfig:i,normalizeBabelParseConfigSync:l}=r(4038);e.exports=function handleMessage(e,t){switch(e){case"GET_VERSION":return s.version;case"GET_TYPES_INFO":return{FLOW_FLIPPED_ALIAS_KEYS:s.types.FLIPPED_ALIAS_KEYS.Flow,VISITOR_KEYS:s.types.VISITOR_KEYS};case"GET_TOKEN_LABELS":return o();case"GET_VISITOR_KEYS":return n();case"MAYBE_PARSE":return i(t.options).then((e=>a(t.code,e)));case"MAYBE_PARSE_SYNC":{return a(t.code,l(t.options))}}throw new Error(`Unknown internal parser worker action: ${e}`)}},3880:(e,t,r)=>{const s=r(9299);const a=r(102);const{getVisitorKeys:n,getTokLabels:o}=r(3698);const i=r(2112);const l={};let c;const u=/More than one plugin attempted to override parsing/;e.exports=function maybeParse(e,t){if(!c){c=s.createConfigItem([i,l],{dirname:__dirname,type:"plugin"})}const{plugins:r}=t;t.plugins=r.concat(c);try{return{parserOptions:s.parseSync(e,t),ast:null}}catch(e){if(!u.test(e.message)){throw e}}t.plugins=r;let p;try{p=s.parseSync(e,t)}catch(e){throw a.error(e)}return{ast:a.ast(p,e,o(),n()),parserOptions:null}}},5585:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.14","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},9696:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.10","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.12","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.14","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.10","android":"4","ios":"7","phantom":"2","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.10","ie":"10","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","ios":"9","samsung":"5","electron":"1.2"}}')},9009:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},266:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":["bugfix/transform-async-arrows-in-class"],"transform-parameters":["bugfix/transform-edge-default-parameters","bugfix/transform-safari-id-destructuring-collision-in-function-expression"],"transform-function-name":["bugfix/transform-edge-function-name"],"transform-block-scoping":["bugfix/transform-safari-block-shadowing","bugfix/transform-safari-for-shadowing"],"transform-template-literals":["bugfix/transform-tagged-template-caching"],"proposal-optional-chaining":["bugfix/transform-v8-spread-parameters-in-optional-chaining"]}')},4943:e=>{"use strict";e.exports=JSON.parse('{"bugfix/transform-async-arrows-in-class":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"bugfix/transform-edge-default-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"52","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"bugfix/transform-edge-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"bugfix/transform-safari-block-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"44","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","electron":"0.37"},"bugfix/transform-safari-for-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"4","safari":"11","node":"6","ie":"11","ios":"11","samsung":"5","rhino":"1.7.13","electron":"0.37"},"bugfix/transform-safari-id-destructuring-collision-in-function-expression":{"chrome":"49","opera":"36","edge":"14","firefox":"2","node":"6","samsung":"5","electron":"0.37"},"bugfix/transform-tagged-template-caching":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"13","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","edge":"80","firefox":"74","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.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"}}')},7385:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","node":"16.11","electron":"15.0"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","ios":"15","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","ios":"15","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","ios":"15","samsung":"14","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","rhino":"1.7.14","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","samsung":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","ios":"13.4","electron":"13.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.14","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","node":"6","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.14","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","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":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},5626:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},2945:e=>{"use strict";e.exports=JSON.parse('{"transform-unicode-sets-regex":{"chrome":"112","opera":"98","edge":"112"},"transform-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","node":"16.11","deno":"1.14","samsung":"17","electron":"15.0"},"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","node":"16.11","deno":"1.14","samsung":"17","electron":"15.0"},"transform-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","electron":"13.0"},"transform-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"15","samsung":"11","electron":"6.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"15","samsung":"11","electron":"6.0"},"transform-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","electron":"10.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","electron":"10.0"},"transform-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","electron":"6.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","electron":"6.0"},"transform-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","electron":"10.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","electron":"10.0"},"transform-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","electron":"8.0"},"transform-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","electron":"13.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","electron":"13.0"},"transform-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","electron":"3.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","electron":"3.0"},"transform-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","node":"6","deno":"1","samsung":"5","electron":"0.37"},"transform-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","electron":"3.0"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","electron":"3.0"},"transform-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","electron":"2.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","deno":"1","ios":"11.3","samsung":"8","electron":"3.0"},"transform-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","deno":"1","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","deno":"1","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","deno":"1","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.14","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","deno":"1","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"50","opera":"37","edge":"14","firefox":"53","safari":"11","node":"6","deno":"1","ios":"11","samsung":"5","electron":"1.1"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.6","deno":"1","ie":"9","android":"4.4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},4073:e=>{"use strict";e.exports=JSON.parse('{"es.symbol":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.symbol.description":{"android":"70","chrome":"70","deno":"1.0","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.1","samsung":"10.0"},"es.symbol.async-iterator":{"android":"63","chrome":"63","deno":"1.0","edge":"74","electron":"3.0","firefox":"55","ios":"12.0","node":"10.0","opera":"50","opera_mobile":"46","safari":"12.0","samsung":"8.0"},"es.symbol.has-instance":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.is-concat-spreadable":{"android":"48","chrome":"48","deno":"1.0","edge":"15","electron":"0.37","firefox":"48","ios":"10.0","node":"6.0","opera":"35","opera_mobile":"35","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.iterator":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.symbol.match":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"40","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.match-all":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.symbol.replace":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.search":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.species":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"41","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.split":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"49","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.to-primitive":{"android":"47","chrome":"47","deno":"1.0","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.to-string-tag":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.unscopables":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"48","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.error.cause":{"android":"94","chrome":"94","deno":"1.14","edge":"94","electron":"15.0","firefox":"91","ios":"15.0","node":"16.11","opera":"80","opera_mobile":"66","safari":"15.0","samsung":"17.0"},"es.error.to-string":{"android":"4.4.3","chrome":"33","deno":"1.0","edge":"12","electron":"0.20","firefox":"11","ie":"9","ios":"9.0","node":"0.11.13","opera":"20","opera_mobile":"20","rhino":"1.7.14","safari":"8.0","samsung":"2.0"},"es.aggregate-error":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.aggregate-error.cause":{"android":"94","chrome":"94","deno":"1.14","edge":"94","electron":"15.0","firefox":"91","ios":"15.0","node":"16.11","opera":"80","opera_mobile":"66","safari":"15.0","samsung":"17.0"},"es.array.at":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","ios":"15.4","node":"16.6","opera":"78","opera_mobile":"65","safari":"15.4","samsung":"16.0"},"es.array.concat":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.copy-within":{"android":"45","chrome":"45","deno":"1.0","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.every":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.fill":{"android":"45","chrome":"45","deno":"1.0","edge":"12","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.filter":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.find":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.find-index":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"48","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"9.0","samsung":"5.0"},"es.array.flat":{"android":"69","chrome":"69","deno":"1.0","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.flat-map":{"android":"69","chrome":"69","deno":"1.0","edge":"74","electron":"4.0","firefox":"62","ios":"12.0","node":"11.0","opera":"56","opera_mobile":"48","safari":"12.0","samsung":"10.0"},"es.array.for-each":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.from":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"9.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"9.0","samsung":"5.0"},"es.array.includes":{"android":"53","chrome":"53","deno":"1.0","edge":"14","electron":"1.4","firefox":"102","ios":"10.0","node":"7.0","opera":"40","opera_mobile":"40","safari":"10.0","samsung":"6.0"},"es.array.index-of":{"android":"51","chrome":"51","deno":"1.0","edge":"12","electron":"1.2","firefox":"47","ie":"9","ios":"8.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"7.1","samsung":"5.0"},"es.array.is-array":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.array.iterator":{"android":"66","chrome":"66","deno":"1.0","edge":"15","electron":"3.0","firefox":"60","ios":"10.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"10.0","samsung":"9.0"},"es.array.join":{"android":"4.4","chrome":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.last-index-of":{"android":"51","chrome":"51","deno":"1.0","edge":"12","electron":"1.2","firefox":"47","ie":"9","ios":"8.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"7.1","samsung":"5.0"},"es.array.map":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"25","ios":"9.0","node":"4.0","opera":"32","opera_mobile":"32","rhino":"1.7.13","safari":"9.0","samsung":"5.0"},"es.array.reduce":{"android":"83","chrome":"83","deno":"1.0","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"8.0","node":"6.0","opera":"69","opera_mobile":"59","rhino":"1.7.13","safari":"7.1","samsung":"13.0"},"es.array.reduce-right":{"android":"83","chrome":"83","deno":"1.0","edge":"12","electron":"9.0","firefox":"4","ie":"9","ios":"8.0","node":"6.0","opera":"69","opera_mobile":"59","rhino":"1.7.13","safari":"7.1","samsung":"13.0"},"es.array.reverse":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"5.5","ios":"12.2","node":"0.0.3","opera":"10.50","opera_mobile":"10.50","rhino":"1.7.13","safari":"12.0.2","samsung":"1.0"},"es.array.slice":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.some":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.sort":{"android":"70","chrome":"70","deno":"1.0","edge":"74","electron":"5.0","firefox":"4","ios":"12.0","node":"11.0","opera":"57","opera_mobile":"49","safari":"12.0","samsung":"10.0"},"es.array.species":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"48","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.splice":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.array.unscopables.flat":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array.unscopables.flat-map":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"67","ios":"13.0","node":"12.0","opera":"60","opera_mobile":"52","safari":"13","samsung":"11.0"},"es.array-buffer.constructor":{"android":"4.4","chrome":"26","deno":"1.0","edge":"14","electron":"0.20","firefox":"44","ios":"12.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"12.0","samsung":"1.5"},"es.array-buffer.is-view":{"android":"4.4.3","chrome":"32","deno":"1.0","edge":"12","electron":"0.20","firefox":"29","ie":"11","ios":"8.0","node":"0.11.9","opera":"19","opera_mobile":"19","safari":"7.1","samsung":"2.0"},"es.array-buffer.slice":{"android":"4.4.3","chrome":"31","deno":"1.0","edge":"12","electron":"0.20","firefox":"46","ie":"11","ios":"12.2","node":"0.11.8","opera":"18","opera_mobile":"18","rhino":"1.7.13","safari":"12.1","samsung":"2.0"},"es.data-view":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"15","ie":"10","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.date.get-year":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"9","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.now":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.date.set-year":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.to-gmt-string":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.to-iso-string":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"7","ie":"9","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.date.to-json":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"10.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"10.0","samsung":"1.5"},"es.date.to-primitive":{"android":"47","chrome":"47","deno":"1.0","edge":"15","electron":"0.36","firefox":"44","ios":"10.0","node":"6.0","opera":"34","opera_mobile":"34","safari":"10.0","samsung":"5.0"},"es.date.to-string":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ie":"9","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.escape":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.function.bind":{"android":"3.0","chrome":"7","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.1.101","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"1.0"},"es.function.has-instance":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"50","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.function.name":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"3.2","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.global-this":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","rhino":"1.7.14","safari":"12.1","samsung":"10.0"},"es.json.stringify":{"android":"72","chrome":"72","deno":"1.0","edge":"74","electron":"5.0","firefox":"64","ios":"12.2","node":"12.0","opera":"59","opera_mobile":"51","safari":"12.1","samsung":"11.0"},"es.json.to-string-tag":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.map":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.math.acosh":{"android":"54","chrome":"54","deno":"1.0","edge":"13","electron":"1.4","firefox":"25","ios":"8.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"7.1","samsung":"6.0"},"es.math.asinh":{"android":"38","chrome":"38","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.atanh":{"android":"38","chrome":"38","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.cbrt":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.clz32":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"9.0","samsung":"3.0"},"es.math.cosh":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.expm1":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"46","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.fround":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"26","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.hypot":{"android":"78","chrome":"78","deno":"1.0","edge":"12","electron":"7.0","firefox":"27","ios":"8.0","node":"13.0","opera":"65","opera_mobile":"56","rhino":"1.7.13","safari":"7.1","samsung":"12.0"},"es.math.imul":{"android":"4.4","chrome":"28","deno":"1.0","edge":"13","electron":"0.20","firefox":"20","ios":"9.0","node":"0.11.1","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.math.log10":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.log1p":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.log2":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.sign":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"9.0","samsung":"3.0"},"es.math.sinh":{"android":"39","chrome":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","ios":"8.0","node":"1.0","opera":"26","opera_mobile":"26","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.tanh":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.to-string-tag":{"android":"50","chrome":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"51","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.math.trunc":{"android":"38","chrome":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"8.0","node":"0.11.15","opera":"25","opera_mobile":"25","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.number.constructor":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"46","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.number.epsilon":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.14","safari":"9.0","samsung":"2.0"},"es.number.is-finite":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.number.is-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"16","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.is-nan":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"15","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.number.is-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"32","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.max-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.min-safe-integer":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.parse-float":{"android":"37","chrome":"35","deno":"1.0","edge":"74","electron":"0.20","firefox":"39","ios":"11.0","node":"0.11.13","opera":"22","opera_mobile":"22","rhino":"1.7.14","safari":"11.0","samsung":"3.0"},"es.number.parse-int":{"android":"37","chrome":"35","deno":"1.0","edge":"74","electron":"0.20","firefox":"39","ios":"9.0","node":"0.11.13","opera":"22","opera_mobile":"22","rhino":"1.7.14","safari":"9.0","samsung":"3.0"},"es.number.to-exponential":{"android":"51","chrome":"51","deno":"1.0","edge":"18","electron":"1.2","firefox":"87","ios":"11.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.14","safari":"11","samsung":"5.0"},"es.number.to-fixed":{"android":"4.4","chrome":"26","deno":"1.0","edge":"74","electron":"0.20","firefox":"4","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.number.to-precision":{"android":"4.4","chrome":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"8","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.object.assign":{"android":"49","chrome":"49","deno":"1.0","edge":"74","electron":"0.37","firefox":"36","ios":"9.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"9.0","samsung":"5.0"},"es.object.create":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"3.2","node":"0.1.27","opera":"12","opera_mobile":"12","phantom":"1.9","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.object.define-getter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.define-properties":{"android":"37","chrome":"37","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.11.15","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"3.0"},"es.object.define-property":{"android":"37","chrome":"37","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","ie":"9","ios":"5.1","node":"0.11.15","opera":"12","opera_mobile":"12","phantom":"2.0","rhino":"1.7.13","safari":"5.1","samsung":"3.0"},"es.object.define-setter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.entries":{"android":"54","chrome":"54","deno":"1.0","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","rhino":"1.7.14","safari":"10.1","samsung":"6.0"},"es.object.freeze":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.from-entries":{"android":"73","chrome":"73","deno":"1.0","edge":"74","electron":"5.0","firefox":"63","ios":"12.2","node":"12.0","opera":"60","opera_mobile":"52","rhino":"1.7.14","safari":"12.1","samsung":"11.0"},"es.object.get-own-property-descriptor":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.get-own-property-descriptors":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"50","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.object.get-own-property-names":{"android":"40","chrome":"40","deno":"1.0","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.object.get-prototype-of":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.has-own":{"android":"93","chrome":"93","deno":"1.13","edge":"93","electron":"14.0","firefox":"92","ios":"15.4","node":"16.9","opera":"79","opera_mobile":"66","safari":"15.4","samsung":"17.0"},"es.object.is":{"android":"4.1","chrome":"19","deno":"1.0","edge":"12","electron":"0.20","firefox":"22","ios":"9.0","node":"0.7.3","opera":"15","opera_mobile":"15","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.object.is-extensible":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is-frozen":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is-sealed":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.keys":{"android":"40","chrome":"40","deno":"1.0","edge":"13","electron":"0.21","firefox":"35","ios":"9.0","node":"1.0","opera":"27","opera_mobile":"27","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.object.lookup-getter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.lookup-setter":{"android":"62","chrome":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","ios":"8.0","node":"8.10","opera":"49","opera_mobile":"46","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.prevent-extensions":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.seal":{"android":"44","chrome":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","ios":"9.0","node":"3.0","opera":"31","opera_mobile":"31","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.set-prototype-of":{"android":"37","chrome":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","ie":"11","ios":"9.0","node":"0.11.13","opera":"21","opera_mobile":"21","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.object.to-string":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.object.values":{"android":"54","chrome":"54","deno":"1.0","edge":"14","electron":"1.4","firefox":"47","ios":"10.3","node":"7.0","opera":"41","opera_mobile":"41","rhino":"1.7.14","safari":"10.1","samsung":"6.0"},"es.parse-float":{"android":"37","chrome":"35","deno":"1.0","edge":"74","electron":"0.20","firefox":"8","ie":"8","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.parse-int":{"android":"37","chrome":"35","deno":"1.0","edge":"74","electron":"0.20","firefox":"21","ie":"9","ios":"8.0","node":"0.11.13","opera":"22","opera_mobile":"22","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.promise":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"69","ios":"11.0","node":"10.4","opera":"54","opera_mobile":"48","rhino":"1.7.14","safari":"11.0","samsung":"9.0"},"es.promise.all-settled":{"android":"76","chrome":"76","deno":"1.0","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"es.promise.any":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"es.promise.finally":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"69","ios":"13.2.3","node":"10.4","opera":"54","opera_mobile":"48","rhino":"1.7.14","safari":"13.0.3","samsung":"9.0"},"es.reflect.apply":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.construct":{"android":"49","chrome":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"44","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.define-property":{"android":"49","chrome":"49","deno":"1.0","edge":"13","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.delete-property":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-own-property-descriptor":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.get-prototype-of":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.has":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.is-extensible":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.own-keys":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.prevent-extensions":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set":{"android":"49","chrome":"49","deno":"1.0","edge":"74","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.set-prototype-of":{"android":"49","chrome":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.reflect.to-string-tag":{"android":"86","chrome":"86","deno":"1.3","edge":"86","electron":"11.0","firefox":"82","ios":"14.0","node":"15.0","opera":"72","opera_mobile":"61","safari":"14.0","samsung":"14.0"},"es.regexp.constructor":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"10.0","opera":"51","opera_mobile":"47","safari":"11.1","samsung":"9.0"},"es.regexp.dot-all":{"android":"62","chrome":"62","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"8.10","opera":"49","opera_mobile":"46","safari":"11.1","samsung":"8.0"},"es.regexp.exec":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"10.0","opera":"51","opera_mobile":"47","safari":"11.1","samsung":"9.0"},"es.regexp.flags":{"android":"62","chrome":"62","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"11.3","node":"8.10","opera":"49","opera_mobile":"46","safari":"11.1","samsung":"8.0"},"es.regexp.sticky":{"android":"49","chrome":"49","deno":"1.0","edge":"13","electron":"0.37","firefox":"3","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.regexp.test":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"46","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.regexp.to-string":{"android":"50","chrome":"50","deno":"1.0","edge":"74","electron":"1.1","firefox":"46","ios":"10.0","node":"6.0","opera":"37","opera_mobile":"37","safari":"10.0","samsung":"5.0"},"es.set":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.string.at-alternative":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","ios":"15.4","node":"16.6","opera":"78","opera_mobile":"65","safari":"15.4","samsung":"16.0"},"es.string.code-point-at":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.ends-with":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.from-code-point":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"29","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.includes":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.iterator":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"36","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.match":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.match-all":{"android":"80","chrome":"80","deno":"1.0","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"es.string.pad-end":{"android":"57","chrome":"57","deno":"1.0","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","rhino":"1.7.13","safari":"11.0","samsung":"7.0"},"es.string.pad-start":{"android":"57","chrome":"57","deno":"1.0","edge":"15","electron":"1.7","firefox":"48","ios":"11.0","node":"8.0","opera":"44","opera_mobile":"43","rhino":"1.7.13","safari":"11.0","samsung":"7.0"},"es.string.raw":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"34","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.14","safari":"9.0","samsung":"3.4"},"es.string.repeat":{"android":"41","chrome":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"24","ios":"9.0","node":"1.0","opera":"28","opera_mobile":"28","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.replace":{"android":"64","chrome":"64","deno":"1.0","edge":"74","electron":"3.0","firefox":"78","ios":"14.0","node":"10.0","opera":"51","opera_mobile":"47","safari":"14.0","samsung":"9.0"},"es.string.replace-all":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"es.string.search":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"49","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.split":{"android":"54","chrome":"54","deno":"1.0","edge":"74","electron":"1.4","firefox":"49","ios":"10.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"10.0","samsung":"6.0"},"es.string.starts-with":{"android":"51","chrome":"51","deno":"1.0","edge":"74","electron":"1.2","firefox":"40","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.string.substr":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"9","ios":"1.0","node":"0.0.3","opera":"4","opera_mobile":"4","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.string.trim":{"android":"59","chrome":"59","deno":"1.0","edge":"15","electron":"1.8","firefox":"52","ios":"12.2","node":"8.3","opera":"46","opera_mobile":"43","safari":"12.1","samsung":"7.0"},"es.string.trim-end":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"61","ios":"12.2","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.1","samsung":"9.0"},"es.string.trim-start":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"61","ios":"12.0","node":"10.0","opera":"53","opera_mobile":"47","safari":"12.0","samsung":"9.0"},"es.string.anchor":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","rhino":"1.7.14","safari":"6.0","samsung":"1.0"},"es.string.big":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.blink":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.bold":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.fixed":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.fontcolor":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","rhino":"1.7.14","safari":"6.0","samsung":"1.0"},"es.string.fontsize":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","rhino":"1.7.14","safari":"6.0","samsung":"1.0"},"es.string.italics":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.link":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","ios":"6.0","node":"0.1.27","opera":"15","opera_mobile":"15","phantom":"2.0","rhino":"1.7.14","safari":"6.0","samsung":"1.0"},"es.string.small":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.strike":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.sub":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.sup":{"android":"3.0","chrome":"5","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","ios":"2.0","node":"0.1.27","opera":"10.50","opera_mobile":"10.50","phantom":"1.9","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.typed-array.float32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.float64-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int8-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int16-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.int32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-clamped-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint16-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.uint32-array":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.at":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","ios":"15.4","node":"16.6","opera":"78","opera_mobile":"65","safari":"15.4","samsung":"16.0"},"es.typed-array.copy-within":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"34","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.every":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.fill":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.filter":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.find-index":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.for-each":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.from":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.includes":{"android":"49","chrome":"49","deno":"1.0","edge":"14","electron":"0.37","firefox":"43","ios":"10.0","node":"6.0","opera":"36","opera_mobile":"36","safari":"10.0","samsung":"5.0"},"es.typed-array.index-of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.iterator":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"37","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.typed-array.join":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.last-index-of":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.map":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.of":{"android":"54","chrome":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","ios":"14.0","node":"7.0","opera":"41","opera_mobile":"41","safari":"14.0","samsung":"6.0"},"es.typed-array.reduce":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reduce-right":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.reverse":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.set":{"android":"95","chrome":"95","deno":"1.15","edge":"95","electron":"16.0","firefox":"54","ios":"14.5","node":"17.0","opera":"81","opera_mobile":"67","safari":"14.1","samsung":"17.0"},"es.typed-array.slice":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.some":{"android":"45","chrome":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.sort":{"android":"74","chrome":"74","deno":"1.0","edge":"74","electron":"6.0","firefox":"67","ios":"14.5","node":"12.0","opera":"61","opera_mobile":"53","safari":"14.1","samsung":"11.0"},"es.typed-array.subarray":{"android":"4.4","chrome":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"15","ios":"8.0","node":"0.11.0","opera":"16","opera_mobile":"16","safari":"7.1","samsung":"1.5"},"es.typed-array.to-locale-string":{"android":"45","chrome":"45","deno":"1.0","edge":"74","electron":"0.31","firefox":"51","ios":"10.0","node":"4.0","opera":"32","opera_mobile":"32","safari":"10.0","samsung":"5.0"},"es.typed-array.to-string":{"android":"51","chrome":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"51","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","safari":"10.0","samsung":"5.0"},"es.unescape":{"android":"3.0","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"3","ios":"1.0","node":"0.0.3","opera":"3","opera_mobile":"3","phantom":"1.9","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.weak-map":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.weak-set":{"android":"51","chrome":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","ios":"10.0","node":"6.5","opera":"38","opera_mobile":"38","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"esnext.aggregate-error":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.array.from-async":{},"esnext.array.at":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","ios":"15.4","node":"16.6","opera":"78","opera_mobile":"65","safari":"15.4","samsung":"16.0"},"esnext.array.filter-out":{},"esnext.array.filter-reject":{},"esnext.array.find-last":{"android":"97","chrome":"97","deno":"1.16","edge":"97","electron":"17.0","ios":"15.4","node":"18.0","opera":"83","opera_mobile":"68","safari":"15.4"},"esnext.array.find-last-index":{"android":"97","chrome":"97","deno":"1.16","edge":"97","electron":"17.0","ios":"15.4","node":"18.0","opera":"83","opera_mobile":"68","safari":"15.4"},"esnext.array.group-by":{},"esnext.array.group-by-to-map":{},"esnext.array.is-template-object":{},"esnext.array.last-index":{},"esnext.array.last-item":{},"esnext.array.to-reversed":{},"esnext.array.to-sorted":{},"esnext.array.to-spliced":{},"esnext.array.unique-by":{},"esnext.array.with":{},"esnext.async-iterator.constructor":{},"esnext.async-iterator.as-indexed-pairs":{},"esnext.async-iterator.drop":{},"esnext.async-iterator.every":{},"esnext.async-iterator.filter":{},"esnext.async-iterator.find":{},"esnext.async-iterator.flat-map":{},"esnext.async-iterator.for-each":{},"esnext.async-iterator.from":{},"esnext.async-iterator.map":{},"esnext.async-iterator.reduce":{},"esnext.async-iterator.some":{},"esnext.async-iterator.take":{},"esnext.async-iterator.to-array":{},"esnext.bigint.range":{},"esnext.composite-key":{},"esnext.composite-symbol":{},"esnext.function.is-callable":{},"esnext.function.is-constructor":{},"esnext.function.un-this":{},"esnext.global-this":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"65","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","rhino":"1.7.14","safari":"12.1","samsung":"10.0"},"esnext.iterator.constructor":{},"esnext.iterator.as-indexed-pairs":{},"esnext.iterator.drop":{},"esnext.iterator.every":{},"esnext.iterator.filter":{},"esnext.iterator.find":{},"esnext.iterator.flat-map":{},"esnext.iterator.for-each":{},"esnext.iterator.from":{},"esnext.iterator.map":{},"esnext.iterator.reduce":{},"esnext.iterator.some":{},"esnext.iterator.take":{},"esnext.iterator.to-array":{},"esnext.iterator.to-async":{},"esnext.map.delete-all":{},"esnext.map.emplace":{},"esnext.map.every":{},"esnext.map.filter":{},"esnext.map.find":{},"esnext.map.find-key":{},"esnext.map.from":{},"esnext.map.group-by":{},"esnext.map.includes":{},"esnext.map.key-by":{},"esnext.map.key-of":{},"esnext.map.map-keys":{},"esnext.map.map-values":{},"esnext.map.merge":{},"esnext.map.of":{},"esnext.map.reduce":{},"esnext.map.some":{},"esnext.map.update":{},"esnext.map.update-or-insert":{},"esnext.map.upsert":{},"esnext.math.clamp":{},"esnext.math.deg-per-rad":{},"esnext.math.degrees":{},"esnext.math.fscale":{},"esnext.math.iaddh":{},"esnext.math.imulh":{},"esnext.math.isubh":{},"esnext.math.rad-per-deg":{},"esnext.math.radians":{},"esnext.math.scale":{},"esnext.math.seeded-prng":{},"esnext.math.signbit":{},"esnext.math.umulh":{},"esnext.number.from-string":{},"esnext.number.range":{},"esnext.object.has-own":{"android":"93","chrome":"93","deno":"1.13","edge":"93","electron":"14.0","firefox":"92","ios":"15.4","node":"16.9","opera":"79","opera_mobile":"66","safari":"15.4","samsung":"17.0"},"esnext.object.iterate-entries":{},"esnext.object.iterate-keys":{},"esnext.object.iterate-values":{},"esnext.observable":{},"esnext.promise.all-settled":{"android":"76","chrome":"76","deno":"1.0","edge":"76","electron":"6.0","firefox":"71","ios":"13.0","node":"12.9","opera":"63","opera_mobile":"54","safari":"13","samsung":"12.0"},"esnext.promise.any":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","ios":"14.0","node":"15.0","opera":"71","opera_mobile":"60","safari":"14.0","samsung":"14.0"},"esnext.promise.try":{},"esnext.reflect.define-metadata":{},"esnext.reflect.delete-metadata":{},"esnext.reflect.get-metadata":{},"esnext.reflect.get-metadata-keys":{},"esnext.reflect.get-own-metadata":{},"esnext.reflect.get-own-metadata-keys":{},"esnext.reflect.has-metadata":{},"esnext.reflect.has-own-metadata":{},"esnext.reflect.metadata":{},"esnext.set.add-all":{},"esnext.set.delete-all":{},"esnext.set.difference":{},"esnext.set.every":{},"esnext.set.filter":{},"esnext.set.find":{},"esnext.set.from":{},"esnext.set.intersection":{},"esnext.set.is-disjoint-from":{},"esnext.set.is-subset-of":{},"esnext.set.is-superset-of":{},"esnext.set.join":{},"esnext.set.map":{},"esnext.set.of":{},"esnext.set.reduce":{},"esnext.set.some":{},"esnext.set.symmetric-difference":{},"esnext.set.union":{},"esnext.string.at":{},"esnext.string.cooked":{},"esnext.string.code-points":{},"esnext.string.match-all":{"android":"80","chrome":"80","deno":"1.0","edge":"80","electron":"8.0","firefox":"73","ios":"13.4","node":"14.0","opera":"67","opera_mobile":"57","safari":"13.1","samsung":"13.0"},"esnext.string.replace-all":{"android":"85","chrome":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"77","ios":"13.4","node":"15.0","opera":"71","opera_mobile":"60","safari":"13.1","samsung":"14.0"},"esnext.symbol.async-dispose":{},"esnext.symbol.dispose":{},"esnext.symbol.matcher":{},"esnext.symbol.metadata":{},"esnext.symbol.observable":{},"esnext.symbol.pattern-match":{},"esnext.symbol.replace-all":{},"esnext.typed-array.from-async":{},"esnext.typed-array.at":{"android":"92","chrome":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","ios":"15.4","node":"16.6","opera":"78","opera_mobile":"65","safari":"15.4","samsung":"16.0"},"esnext.typed-array.filter-out":{},"esnext.typed-array.filter-reject":{},"esnext.typed-array.find-last":{"android":"97","chrome":"97","deno":"1.16","edge":"97","electron":"17.0","ios":"15.4","node":"18.0","opera":"83","opera_mobile":"68","safari":"15.4"},"esnext.typed-array.find-last-index":{"android":"97","chrome":"97","deno":"1.16","edge":"97","electron":"17.0","ios":"15.4","node":"18.0","opera":"83","opera_mobile":"68","safari":"15.4"},"esnext.typed-array.group-by":{},"esnext.typed-array.to-reversed":{},"esnext.typed-array.to-sorted":{},"esnext.typed-array.to-spliced":{},"esnext.typed-array.unique-by":{},"esnext.typed-array.with":{},"esnext.weak-map.delete-all":{},"esnext.weak-map.from":{},"esnext.weak-map.of":{},"esnext.weak-map.emplace":{},"esnext.weak-map.upsert":{},"esnext.weak-set.add-all":{},"esnext.weak-set.delete-all":{},"esnext.weak-set.from":{},"esnext.weak-set.of":{},"web.atob":{"android":"37","chrome":"34","deno":"1.0","edge":"16","electron":"0.20","firefox":"27","ios":"10.3","node":"18.0","opera":"10.5","opera_mobile":"10.5","safari":"10.1","samsung":"2.0"},"web.btoa":{"android":"3.0","chrome":"4","deno":"1.0","edge":"16","electron":"0.20","firefox":"27","ios":"1.0","node":"17.5","opera":"10.5","opera_mobile":"10.5","phantom":"1.9","safari":"3.0","samsung":"1.0"},"web.dom-collections.for-each":{"android":"58","chrome":"58","deno":"1.0","edge":"16","electron":"1.7","firefox":"50","ios":"10.0","node":"0.0.1","opera":"45","opera_mobile":"43","rhino":"1.7.13","safari":"10.0","samsung":"7.0"},"web.dom-collections.iterator":{"android":"66","chrome":"66","deno":"1.0","edge":"74","electron":"3.0","firefox":"60","ios":"13.4","node":"0.0.1","opera":"53","opera_mobile":"47","rhino":"1.7.13","safari":"13.1","samsung":"9.0"},"web.dom-exception.constructor":{"android":"46","chrome":"46","deno":"1.7","edge":"74","electron":"0.36","firefox":"37","ios":"11.3","node":"17.0","opera":"33","opera_mobile":"33","safari":"11.1","samsung":"5.0"},"web.dom-exception.stack":{"deno":"1.15","firefox":"37","node":"17.0"},"web.dom-exception.to-string-tag":{"android":"49","chrome":"49","deno":"1.7","edge":"74","electron":"0.37","firefox":"51","ios":"11.3","node":"17.0","opera":"36","opera_mobile":"36","safari":"11.1","samsung":"5.0"},"web.immediate":{"ie":"10","node":"0.9.1"},"web.queue-microtask":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"69","ios":"12.2","node":"12.0","opera":"58","opera_mobile":"50","safari":"12.1","samsung":"10.0"},"web.structured-clone":{},"web.timers":{"android":"1.5","chrome":"1","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","ie":"10","ios":"1.0","node":"0.0.1","opera":"7","opera_mobile":"7","phantom":"1.9","rhino":"1.7.13","safari":"1.0","samsung":"1.0"},"web.url":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"},"web.url.to-json":{"android":"71","chrome":"71","deno":"1.0","edge":"74","electron":"5.0","firefox":"57","ios":"14.0","node":"10.0","opera":"58","opera_mobile":"50","safari":"14.0","samsung":"10.0"},"web.url-search-params":{"android":"67","chrome":"67","deno":"1.0","edge":"74","electron":"4.0","firefox":"57","ios":"14.0","node":"10.0","opera":"54","opera_mobile":"48","safari":"14.0","samsung":"9.0"}}')},2856:e=>{"use strict";e.exports=JSON.parse('{"core-js":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.structured-clone","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/actual":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.global-this","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.structured-clone","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/actual/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/actual/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.object.to-string","es.string.iterator","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with"],"core-js/actual/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/actual/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"],"core-js/actual/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/actual/array-buffer/slice":["es.array-buffer.slice"],"core-js/actual/array/at":["es.array.at"],"core-js/actual/array/concat":["es.array.concat"],"core-js/actual/array/copy-within":["es.array.copy-within"],"core-js/actual/array/entries":["es.array.iterator","es.object.to-string"],"core-js/actual/array/every":["es.array.every"],"core-js/actual/array/fill":["es.array.fill"],"core-js/actual/array/filter":["es.array.filter"],"core-js/actual/array/find":["es.array.find"],"core-js/actual/array/find-index":["es.array.find-index"],"core-js/actual/array/find-last":["esnext.array.find-last"],"core-js/actual/array/find-last-index":["esnext.array.find-last-index"],"core-js/actual/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/actual/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/actual/array/for-each":["es.array.for-each"],"core-js/actual/array/from":["es.array.from","es.string.iterator"],"core-js/actual/array/group-by":["esnext.array.group-by"],"core-js/actual/array/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/actual/array/includes":["es.array.includes"],"core-js/actual/array/index-of":["es.array.index-of"],"core-js/actual/array/is-array":["es.array.is-array"],"core-js/actual/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/actual/array/join":["es.array.join"],"core-js/actual/array/keys":["es.array.iterator","es.object.to-string"],"core-js/actual/array/last-index-of":["es.array.last-index-of"],"core-js/actual/array/map":["es.array.map"],"core-js/actual/array/of":["es.array.of"],"core-js/actual/array/reduce":["es.array.reduce"],"core-js/actual/array/reduce-right":["es.array.reduce-right"],"core-js/actual/array/reverse":["es.array.reverse"],"core-js/actual/array/slice":["es.array.slice"],"core-js/actual/array/some":["es.array.some"],"core-js/actual/array/sort":["es.array.sort"],"core-js/actual/array/splice":["es.array.splice"],"core-js/actual/array/to-reversed":["esnext.array.to-reversed"],"core-js/actual/array/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/actual/array/to-spliced":["esnext.array.to-spliced"],"core-js/actual/array/values":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.object.to-string","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with"],"core-js/actual/array/virtual/at":["es.array.at"],"core-js/actual/array/virtual/concat":["es.array.concat"],"core-js/actual/array/virtual/copy-within":["es.array.copy-within"],"core-js/actual/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual/every":["es.array.every"],"core-js/actual/array/virtual/fill":["es.array.fill"],"core-js/actual/array/virtual/filter":["es.array.filter"],"core-js/actual/array/virtual/find":["es.array.find"],"core-js/actual/array/virtual/find-index":["es.array.find-index"],"core-js/actual/array/virtual/find-last":["esnext.array.find-last"],"core-js/actual/array/virtual/find-last-index":["esnext.array.find-last-index"],"core-js/actual/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/actual/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/actual/array/virtual/for-each":["es.array.for-each"],"core-js/actual/array/virtual/group-by":["esnext.array.group-by"],"core-js/actual/array/virtual/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/actual/array/virtual/includes":["es.array.includes"],"core-js/actual/array/virtual/index-of":["es.array.index-of"],"core-js/actual/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual/join":["es.array.join"],"core-js/actual/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/actual/array/virtual/map":["es.array.map"],"core-js/actual/array/virtual/reduce":["es.array.reduce"],"core-js/actual/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/actual/array/virtual/reverse":["es.array.reverse"],"core-js/actual/array/virtual/slice":["es.array.slice"],"core-js/actual/array/virtual/some":["es.array.some"],"core-js/actual/array/virtual/sort":["es.array.sort"],"core-js/actual/array/virtual/splice":["es.array.splice"],"core-js/actual/array/virtual/to-reversed":["esnext.array.to-reversed"],"core-js/actual/array/virtual/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/actual/array/virtual/to-spliced":["esnext.array.to-spliced"],"core-js/actual/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual/with":["esnext.array.with"],"core-js/actual/array/with":["esnext.array.with"],"core-js/actual/atob":["es.error.to-string","es.object.to-string","web.atob","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/actual/btoa":["es.error.to-string","es.object.to-string","web.btoa","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/actual/clear-immediate":["web.immediate"],"core-js/actual/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/actual/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/actual/date/get-year":["es.date.get-year"],"core-js/actual/date/now":["es.date.now"],"core-js/actual/date/set-year":["es.date.set-year"],"core-js/actual/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/actual/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/actual/date/to-json":["es.date.to-json"],"core-js/actual/date/to-primitive":["es.date.to-primitive"],"core-js/actual/date/to-string":["es.date.to-string"],"core-js/actual/dom-collections":["es.array.iterator","es.object.to-string","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/actual/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/actual/dom-collections/iterator":["es.object.to-string","web.dom-collections.iterator"],"core-js/actual/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/actual/dom-exception/constructor":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack"],"core-js/actual/dom-exception/to-string-tag":["web.dom-exception.to-string-tag"],"core-js/actual/error":["es.error.cause","es.error.to-string"],"core-js/actual/error/constructor":["es.error.cause"],"core-js/actual/error/to-string":["es.error.to-string"],"core-js/actual/escape":["es.escape"],"core-js/actual/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/actual/function/bind":["es.function.bind"],"core-js/actual/function/has-instance":["es.function.has-instance"],"core-js/actual/function/name":["es.function.name"],"core-js/actual/function/virtual":["es.function.bind"],"core-js/actual/function/virtual/bind":["es.function.bind"],"core-js/actual/get-iterator":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/get-iterator-method":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/global-this":["es.global-this"],"core-js/actual/instance/at":["es.array.at","es.string.at-alternative"],"core-js/actual/instance/bind":["es.function.bind"],"core-js/actual/instance/code-point-at":["es.string.code-point-at"],"core-js/actual/instance/concat":["es.array.concat"],"core-js/actual/instance/copy-within":["es.array.copy-within"],"core-js/actual/instance/ends-with":["es.string.ends-with"],"core-js/actual/instance/entries":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/actual/instance/every":["es.array.every"],"core-js/actual/instance/fill":["es.array.fill"],"core-js/actual/instance/filter":["es.array.filter"],"core-js/actual/instance/find":["es.array.find"],"core-js/actual/instance/find-index":["es.array.find-index"],"core-js/actual/instance/find-last":["esnext.array.find-last"],"core-js/actual/instance/find-last-index":["esnext.array.find-last-index"],"core-js/actual/instance/flags":["es.regexp.flags"],"core-js/actual/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/actual/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/actual/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/actual/instance/group-by":["esnext.array.group-by"],"core-js/actual/instance/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/actual/instance/includes":["es.array.includes","es.string.includes"],"core-js/actual/instance/index-of":["es.array.index-of"],"core-js/actual/instance/keys":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/actual/instance/last-index-of":["es.array.last-index-of"],"core-js/actual/instance/map":["es.array.map"],"core-js/actual/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/actual/instance/pad-end":["es.string.pad-end"],"core-js/actual/instance/pad-start":["es.string.pad-start"],"core-js/actual/instance/reduce":["es.array.reduce"],"core-js/actual/instance/reduce-right":["es.array.reduce-right"],"core-js/actual/instance/repeat":["es.string.repeat"],"core-js/actual/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/actual/instance/reverse":["es.array.reverse"],"core-js/actual/instance/slice":["es.array.slice"],"core-js/actual/instance/some":["es.array.some"],"core-js/actual/instance/sort":["es.array.sort"],"core-js/actual/instance/splice":["es.array.splice"],"core-js/actual/instance/starts-with":["es.string.starts-with"],"core-js/actual/instance/to-reversed":["esnext.array.to-reversed"],"core-js/actual/instance/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/actual/instance/to-spliced":["esnext.array.to-spliced"],"core-js/actual/instance/trim":["es.string.trim"],"core-js/actual/instance/trim-end":["es.string.trim-end"],"core-js/actual/instance/trim-left":["es.string.trim-start"],"core-js/actual/instance/trim-right":["es.string.trim-end"],"core-js/actual/instance/trim-start":["es.string.trim-start"],"core-js/actual/instance/values":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/actual/instance/with":["esnext.array.with"],"core-js/actual/is-iterable":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/json":["es.json.stringify","es.json.to-string-tag"],"core-js/actual/json/stringify":["es.json.stringify"],"core-js/actual/json/to-string-tag":["es.json.to-string-tag"],"core-js/actual/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/actual/math/acosh":["es.math.acosh"],"core-js/actual/math/asinh":["es.math.asinh"],"core-js/actual/math/atanh":["es.math.atanh"],"core-js/actual/math/cbrt":["es.math.cbrt"],"core-js/actual/math/clz32":["es.math.clz32"],"core-js/actual/math/cosh":["es.math.cosh"],"core-js/actual/math/expm1":["es.math.expm1"],"core-js/actual/math/fround":["es.math.fround"],"core-js/actual/math/hypot":["es.math.hypot"],"core-js/actual/math/imul":["es.math.imul"],"core-js/actual/math/log10":["es.math.log10"],"core-js/actual/math/log1p":["es.math.log1p"],"core-js/actual/math/log2":["es.math.log2"],"core-js/actual/math/sign":["es.math.sign"],"core-js/actual/math/sinh":["es.math.sinh"],"core-js/actual/math/tanh":["es.math.tanh"],"core-js/actual/math/to-string-tag":["es.math.to-string-tag"],"core-js/actual/math/trunc":["es.math.trunc"],"core-js/actual/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/actual/number/constructor":["es.number.constructor"],"core-js/actual/number/epsilon":["es.number.epsilon"],"core-js/actual/number/is-finite":["es.number.is-finite"],"core-js/actual/number/is-integer":["es.number.is-integer"],"core-js/actual/number/is-nan":["es.number.is-nan"],"core-js/actual/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/actual/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/actual/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/actual/number/parse-float":["es.number.parse-float"],"core-js/actual/number/parse-int":["es.number.parse-int"],"core-js/actual/number/to-exponential":["es.number.to-exponential"],"core-js/actual/number/to-fixed":["es.number.to-fixed"],"core-js/actual/number/to-precision":["es.number.to-precision"],"core-js/actual/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/actual/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/actual/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/actual/number/virtual/to-precision":["es.number.to-precision"],"core-js/actual/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","web.dom-collections.iterator"],"core-js/actual/object/assign":["es.object.assign"],"core-js/actual/object/create":["es.object.create"],"core-js/actual/object/define-getter":["es.object.define-getter"],"core-js/actual/object/define-properties":["es.object.define-properties"],"core-js/actual/object/define-property":["es.object.define-property"],"core-js/actual/object/define-setter":["es.object.define-setter"],"core-js/actual/object/entries":["es.object.entries"],"core-js/actual/object/freeze":["es.object.freeze"],"core-js/actual/object/from-entries":["es.array.iterator","es.object.from-entries","web.dom-collections.iterator"],"core-js/actual/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/actual/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/actual/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/actual/object/get-own-property-symbols":["es.symbol"],"core-js/actual/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/actual/object/has-own":["es.object.has-own"],"core-js/actual/object/is":["es.object.is"],"core-js/actual/object/is-extensible":["es.object.is-extensible"],"core-js/actual/object/is-frozen":["es.object.is-frozen"],"core-js/actual/object/is-sealed":["es.object.is-sealed"],"core-js/actual/object/keys":["es.object.keys"],"core-js/actual/object/lookup-getter":["es.object.lookup-getter"],"core-js/actual/object/lookup-setter":["es.object.lookup-setter"],"core-js/actual/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/actual/object/seal":["es.object.seal"],"core-js/actual/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/actual/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/actual/object/values":["es.object.values"],"core-js/actual/parse-float":["es.parse-float"],"core-js/actual/parse-int":["es.parse-int"],"core-js/actual/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/actual/queue-microtask":["web.queue-microtask"],"core-js/actual/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/actual/reflect/apply":["es.reflect.apply"],"core-js/actual/reflect/construct":["es.reflect.construct"],"core-js/actual/reflect/define-property":["es.reflect.define-property"],"core-js/actual/reflect/delete-property":["es.reflect.delete-property"],"core-js/actual/reflect/get":["es.reflect.get"],"core-js/actual/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/actual/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/actual/reflect/has":["es.reflect.has"],"core-js/actual/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/actual/reflect/own-keys":["es.reflect.own-keys"],"core-js/actual/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/actual/reflect/set":["es.reflect.set"],"core-js/actual/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/actual/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/actual/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/actual/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/actual/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/actual/regexp/flags":["es.regexp.flags"],"core-js/actual/regexp/match":["es.regexp.exec","es.string.match"],"core-js/actual/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/actual/regexp/search":["es.regexp.exec","es.string.search"],"core-js/actual/regexp/split":["es.regexp.exec","es.string.split"],"core-js/actual/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/actual/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/actual/regexp/to-string":["es.regexp.to-string"],"core-js/actual/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/set-immediate":["web.immediate"],"core-js/actual/set-interval":["web.timers"],"core-js/actual/set-timeout":["web.timers"],"core-js/actual/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/actual/string/anchor":["es.string.anchor"],"core-js/actual/string/at":["es.string.at-alternative"],"core-js/actual/string/big":["es.string.big"],"core-js/actual/string/blink":["es.string.blink"],"core-js/actual/string/bold":["es.string.bold"],"core-js/actual/string/code-point-at":["es.string.code-point-at"],"core-js/actual/string/ends-with":["es.string.ends-with"],"core-js/actual/string/fixed":["es.string.fixed"],"core-js/actual/string/fontcolor":["es.string.fontcolor"],"core-js/actual/string/fontsize":["es.string.fontsize"],"core-js/actual/string/from-code-point":["es.string.from-code-point"],"core-js/actual/string/includes":["es.string.includes"],"core-js/actual/string/italics":["es.string.italics"],"core-js/actual/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/actual/string/link":["es.string.link"],"core-js/actual/string/match":["es.regexp.exec","es.string.match"],"core-js/actual/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/actual/string/pad-end":["es.string.pad-end"],"core-js/actual/string/pad-start":["es.string.pad-start"],"core-js/actual/string/raw":["es.string.raw"],"core-js/actual/string/repeat":["es.string.repeat"],"core-js/actual/string/replace":["es.regexp.exec","es.string.replace"],"core-js/actual/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/actual/string/search":["es.regexp.exec","es.string.search"],"core-js/actual/string/small":["es.string.small"],"core-js/actual/string/split":["es.regexp.exec","es.string.split"],"core-js/actual/string/starts-with":["es.string.starts-with"],"core-js/actual/string/strike":["es.string.strike"],"core-js/actual/string/sub":["es.string.sub"],"core-js/actual/string/substr":["es.string.substr"],"core-js/actual/string/sup":["es.string.sup"],"core-js/actual/string/trim":["es.string.trim"],"core-js/actual/string/trim-end":["es.string.trim-end"],"core-js/actual/string/trim-left":["es.string.trim-start"],"core-js/actual/string/trim-right":["es.string.trim-end"],"core-js/actual/string/trim-start":["es.string.trim-start"],"core-js/actual/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/actual/string/virtual/anchor":["es.string.anchor"],"core-js/actual/string/virtual/at":["es.string.at-alternative"],"core-js/actual/string/virtual/big":["es.string.big"],"core-js/actual/string/virtual/blink":["es.string.blink"],"core-js/actual/string/virtual/bold":["es.string.bold"],"core-js/actual/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/actual/string/virtual/ends-with":["es.string.ends-with"],"core-js/actual/string/virtual/fixed":["es.string.fixed"],"core-js/actual/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/actual/string/virtual/fontsize":["es.string.fontsize"],"core-js/actual/string/virtual/includes":["es.string.includes"],"core-js/actual/string/virtual/italics":["es.string.italics"],"core-js/actual/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/actual/string/virtual/link":["es.string.link"],"core-js/actual/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/actual/string/virtual/pad-end":["es.string.pad-end"],"core-js/actual/string/virtual/pad-start":["es.string.pad-start"],"core-js/actual/string/virtual/repeat":["es.string.repeat"],"core-js/actual/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/actual/string/virtual/small":["es.string.small"],"core-js/actual/string/virtual/starts-with":["es.string.starts-with"],"core-js/actual/string/virtual/strike":["es.string.strike"],"core-js/actual/string/virtual/sub":["es.string.sub"],"core-js/actual/string/virtual/substr":["es.string.substr"],"core-js/actual/string/virtual/sup":["es.string.sup"],"core-js/actual/string/virtual/trim":["es.string.trim"],"core-js/actual/string/virtual/trim-end":["es.string.trim-end"],"core-js/actual/string/virtual/trim-left":["es.string.trim-start"],"core-js/actual/string/virtual/trim-right":["es.string.trim-end"],"core-js/actual/string/virtual/trim-start":["es.string.trim-start"],"core-js/actual/structured-clone":["es.error.to-string","es.array.iterator","es.map","es.object.keys","es.object.to-string","es.set","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"core-js/actual/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","web.dom-collections.iterator"],"core-js/actual/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/actual/symbol/description":["es.symbol.description"],"core-js/actual/symbol/for":["es.symbol"],"core-js/actual/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/actual/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/actual/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/symbol/key-for":["es.symbol"],"core-js/actual/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/actual/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/actual/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/actual/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/actual/symbol/species":["es.symbol.species"],"core-js/actual/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/actual/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/actual/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/actual/symbol/unscopables":["es.symbol.unscopables"],"core-js/actual/typed-array":["es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/at":["es.typed-array.every"],"core-js/actual/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/actual/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/actual/typed-array/every":["es.typed-array.every"],"core-js/actual/typed-array/fill":["es.typed-array.fill"],"core-js/actual/typed-array/filter":["es.typed-array.filter"],"core-js/actual/typed-array/find":["es.typed-array.find"],"core-js/actual/typed-array/find-index":["es.typed-array.find-index"],"core-js/actual/typed-array/find-last":["esnext.typed-array.find-last"],"core-js/actual/typed-array/find-last-index":["esnext.typed-array.find-last-index"],"core-js/actual/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/for-each":["es.typed-array.for-each"],"core-js/actual/typed-array/from":["es.typed-array.from"],"core-js/actual/typed-array/includes":["es.typed-array.includes"],"core-js/actual/typed-array/index-of":["es.typed-array.index-of"],"core-js/actual/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/actual/typed-array/join":["es.typed-array.join"],"core-js/actual/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/actual/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/actual/typed-array/map":["es.typed-array.map"],"core-js/actual/typed-array/methods":["es.object.to-string","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/of":["es.typed-array.of"],"core-js/actual/typed-array/reduce":["es.typed-array.reduce"],"core-js/actual/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/actual/typed-array/reverse":["es.typed-array.reverse"],"core-js/actual/typed-array/set":["es.typed-array.set"],"core-js/actual/typed-array/slice":["es.typed-array.slice"],"core-js/actual/typed-array/some":["es.typed-array.some"],"core-js/actual/typed-array/sort":["es.typed-array.sort"],"core-js/actual/typed-array/subarray":["es.typed-array.subarray"],"core-js/actual/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/actual/typed-array/to-reversed":["esnext.typed-array.to-reversed"],"core-js/actual/typed-array/to-sorted":["es.typed-array.sort","esnext.typed-array.to-sorted"],"core-js/actual/typed-array/to-spliced":["esnext.typed-array.to-spliced"],"core-js/actual/typed-array/to-string":["es.typed-array.to-string"],"core-js/actual/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/actual/typed-array/with":["esnext.typed-array.with"],"core-js/actual/unescape":["es.unescape"],"core-js/actual/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/actual/url-search-params":["web.dom-collections.iterator","web.url-search-params"],"core-js/actual/url/to-json":["web.url.to-json"],"core-js/actual/weak-map":["es.array.iterator","es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/actual/weak-set":["es.array.iterator","es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/es":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.unescape","es.weak-map","es.weak-set"],"core-js/es/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator"],"core-js/es/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.object.to-string","es.string.iterator"],"core-js/es/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/es/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"],"core-js/es/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/es/array-buffer/slice":["es.array-buffer.slice"],"core-js/es/array/at":["es.array.at"],"core-js/es/array/concat":["es.array.concat"],"core-js/es/array/copy-within":["es.array.copy-within"],"core-js/es/array/entries":["es.array.iterator","es.object.to-string"],"core-js/es/array/every":["es.array.every"],"core-js/es/array/fill":["es.array.fill"],"core-js/es/array/filter":["es.array.filter"],"core-js/es/array/find":["es.array.find"],"core-js/es/array/find-index":["es.array.find-index"],"core-js/es/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/for-each":["es.array.for-each"],"core-js/es/array/from":["es.array.from","es.string.iterator"],"core-js/es/array/includes":["es.array.includes"],"core-js/es/array/index-of":["es.array.index-of"],"core-js/es/array/is-array":["es.array.is-array"],"core-js/es/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/es/array/join":["es.array.join"],"core-js/es/array/keys":["es.array.iterator","es.object.to-string"],"core-js/es/array/last-index-of":["es.array.last-index-of"],"core-js/es/array/map":["es.array.map"],"core-js/es/array/of":["es.array.of"],"core-js/es/array/reduce":["es.array.reduce"],"core-js/es/array/reduce-right":["es.array.reduce-right"],"core-js/es/array/reverse":["es.array.reverse"],"core-js/es/array/slice":["es.array.slice"],"core-js/es/array/some":["es.array.some"],"core-js/es/array/sort":["es.array.sort"],"core-js/es/array/splice":["es.array.splice"],"core-js/es/array/values":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.object.to-string"],"core-js/es/array/virtual/at":["es.array.at"],"core-js/es/array/virtual/concat":["es.array.concat"],"core-js/es/array/virtual/copy-within":["es.array.copy-within"],"core-js/es/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual/every":["es.array.every"],"core-js/es/array/virtual/fill":["es.array.fill"],"core-js/es/array/virtual/filter":["es.array.filter"],"core-js/es/array/virtual/find":["es.array.find"],"core-js/es/array/virtual/find-index":["es.array.find-index"],"core-js/es/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/virtual/for-each":["es.array.for-each"],"core-js/es/array/virtual/includes":["es.array.includes"],"core-js/es/array/virtual/index-of":["es.array.index-of"],"core-js/es/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual/join":["es.array.join"],"core-js/es/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/es/array/virtual/map":["es.array.map"],"core-js/es/array/virtual/reduce":["es.array.reduce"],"core-js/es/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/es/array/virtual/reverse":["es.array.reverse"],"core-js/es/array/virtual/slice":["es.array.slice"],"core-js/es/array/virtual/some":["es.array.some"],"core-js/es/array/virtual/sort":["es.array.sort"],"core-js/es/array/virtual/splice":["es.array.splice"],"core-js/es/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/es/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/es/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/es/date/get-year":["es.date.get-year"],"core-js/es/date/now":["es.date.now"],"core-js/es/date/set-year":["es.date.set-year"],"core-js/es/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/es/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/es/date/to-json":["es.date.to-json"],"core-js/es/date/to-primitive":["es.date.to-primitive"],"core-js/es/date/to-string":["es.date.to-string"],"core-js/es/error":["es.error.cause","es.error.to-string"],"core-js/es/error/constructor":["es.error.cause"],"core-js/es/error/to-string":["es.error.to-string"],"core-js/es/escape":["es.escape"],"core-js/es/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/es/function/bind":["es.function.bind"],"core-js/es/function/has-instance":["es.function.has-instance"],"core-js/es/function/name":["es.function.name"],"core-js/es/function/virtual":["es.function.bind"],"core-js/es/function/virtual/bind":["es.function.bind"],"core-js/es/get-iterator":["es.array.iterator","es.string.iterator"],"core-js/es/get-iterator-method":["es.array.iterator","es.string.iterator"],"core-js/es/global-this":["es.global-this"],"core-js/es/instance/at":["es.array.at","es.string.at-alternative"],"core-js/es/instance/bind":["es.function.bind"],"core-js/es/instance/code-point-at":["es.string.code-point-at"],"core-js/es/instance/concat":["es.array.concat"],"core-js/es/instance/copy-within":["es.array.copy-within"],"core-js/es/instance/ends-with":["es.string.ends-with"],"core-js/es/instance/entries":["es.array.iterator","es.object.to-string"],"core-js/es/instance/every":["es.array.every"],"core-js/es/instance/fill":["es.array.fill"],"core-js/es/instance/filter":["es.array.filter"],"core-js/es/instance/find":["es.array.find"],"core-js/es/instance/find-index":["es.array.find-index"],"core-js/es/instance/flags":["es.regexp.flags"],"core-js/es/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/instance/for-each":["es.array.for-each"],"core-js/es/instance/includes":["es.array.includes","es.string.includes"],"core-js/es/instance/index-of":["es.array.index-of"],"core-js/es/instance/keys":["es.array.iterator","es.object.to-string"],"core-js/es/instance/last-index-of":["es.array.last-index-of"],"core-js/es/instance/map":["es.array.map"],"core-js/es/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/es/instance/pad-end":["es.string.pad-end"],"core-js/es/instance/pad-start":["es.string.pad-start"],"core-js/es/instance/reduce":["es.array.reduce"],"core-js/es/instance/reduce-right":["es.array.reduce-right"],"core-js/es/instance/repeat":["es.string.repeat"],"core-js/es/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/es/instance/reverse":["es.array.reverse"],"core-js/es/instance/slice":["es.array.slice"],"core-js/es/instance/some":["es.array.some"],"core-js/es/instance/sort":["es.array.sort"],"core-js/es/instance/splice":["es.array.splice"],"core-js/es/instance/starts-with":["es.string.starts-with"],"core-js/es/instance/trim":["es.string.trim"],"core-js/es/instance/trim-end":["es.string.trim-end"],"core-js/es/instance/trim-left":["es.string.trim-start"],"core-js/es/instance/trim-right":["es.string.trim-end"],"core-js/es/instance/trim-start":["es.string.trim-start"],"core-js/es/instance/values":["es.array.iterator","es.object.to-string"],"core-js/es/is-iterable":["es.array.iterator","es.string.iterator"],"core-js/es/json":["es.json.stringify","es.json.to-string-tag"],"core-js/es/json/stringify":["es.json.stringify"],"core-js/es/json/to-string-tag":["es.json.to-string-tag"],"core-js/es/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator"],"core-js/es/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/es/math/acosh":["es.math.acosh"],"core-js/es/math/asinh":["es.math.asinh"],"core-js/es/math/atanh":["es.math.atanh"],"core-js/es/math/cbrt":["es.math.cbrt"],"core-js/es/math/clz32":["es.math.clz32"],"core-js/es/math/cosh":["es.math.cosh"],"core-js/es/math/expm1":["es.math.expm1"],"core-js/es/math/fround":["es.math.fround"],"core-js/es/math/hypot":["es.math.hypot"],"core-js/es/math/imul":["es.math.imul"],"core-js/es/math/log10":["es.math.log10"],"core-js/es/math/log1p":["es.math.log1p"],"core-js/es/math/log2":["es.math.log2"],"core-js/es/math/sign":["es.math.sign"],"core-js/es/math/sinh":["es.math.sinh"],"core-js/es/math/tanh":["es.math.tanh"],"core-js/es/math/to-string-tag":["es.math.to-string-tag"],"core-js/es/math/trunc":["es.math.trunc"],"core-js/es/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/es/number/constructor":["es.number.constructor"],"core-js/es/number/epsilon":["es.number.epsilon"],"core-js/es/number/is-finite":["es.number.is-finite"],"core-js/es/number/is-integer":["es.number.is-integer"],"core-js/es/number/is-nan":["es.number.is-nan"],"core-js/es/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/es/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/es/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/es/number/parse-float":["es.number.parse-float"],"core-js/es/number/parse-int":["es.number.parse-int"],"core-js/es/number/to-exponential":["es.number.to-exponential"],"core-js/es/number/to-fixed":["es.number.to-fixed"],"core-js/es/number/to-precision":["es.number.to-precision"],"core-js/es/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/es/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/es/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/es/number/virtual/to-precision":["es.number.to-precision"],"core-js/es/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag"],"core-js/es/object/assign":["es.object.assign"],"core-js/es/object/create":["es.object.create"],"core-js/es/object/define-getter":["es.object.define-getter"],"core-js/es/object/define-properties":["es.object.define-properties"],"core-js/es/object/define-property":["es.object.define-property"],"core-js/es/object/define-setter":["es.object.define-setter"],"core-js/es/object/entries":["es.object.entries"],"core-js/es/object/freeze":["es.object.freeze"],"core-js/es/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/es/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/es/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/es/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/es/object/get-own-property-symbols":["es.symbol"],"core-js/es/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/es/object/has-own":["es.object.has-own"],"core-js/es/object/is":["es.object.is"],"core-js/es/object/is-extensible":["es.object.is-extensible"],"core-js/es/object/is-frozen":["es.object.is-frozen"],"core-js/es/object/is-sealed":["es.object.is-sealed"],"core-js/es/object/keys":["es.object.keys"],"core-js/es/object/lookup-getter":["es.object.lookup-getter"],"core-js/es/object/lookup-setter":["es.object.lookup-setter"],"core-js/es/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/es/object/seal":["es.object.seal"],"core-js/es/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/es/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/object/values":["es.object.values"],"core-js/es/parse-float":["es.parse-float"],"core-js/es/parse-int":["es.parse-int"],"core-js/es/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator"],"core-js/es/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator"],"core-js/es/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator"],"core-js/es/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/es/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/es/reflect/apply":["es.reflect.apply"],"core-js/es/reflect/construct":["es.reflect.construct"],"core-js/es/reflect/define-property":["es.reflect.define-property"],"core-js/es/reflect/delete-property":["es.reflect.delete-property"],"core-js/es/reflect/get":["es.reflect.get"],"core-js/es/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/es/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/es/reflect/has":["es.reflect.has"],"core-js/es/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/es/reflect/own-keys":["es.reflect.own-keys"],"core-js/es/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/es/reflect/set":["es.reflect.set"],"core-js/es/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/es/reflect/to-string-tag":["es.object.to-string","es.reflect.to-string-tag"],"core-js/es/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/es/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/es/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/es/regexp/flags":["es.regexp.flags"],"core-js/es/regexp/match":["es.regexp.exec","es.string.match"],"core-js/es/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/es/regexp/search":["es.regexp.exec","es.string.search"],"core-js/es/regexp/split":["es.regexp.exec","es.string.split"],"core-js/es/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/es/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/es/regexp/to-string":["es.regexp.to-string"],"core-js/es/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator"],"core-js/es/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/anchor":["es.string.anchor"],"core-js/es/string/at":["es.string.at-alternative"],"core-js/es/string/big":["es.string.big"],"core-js/es/string/blink":["es.string.blink"],"core-js/es/string/bold":["es.string.bold"],"core-js/es/string/code-point-at":["es.string.code-point-at"],"core-js/es/string/ends-with":["es.string.ends-with"],"core-js/es/string/fixed":["es.string.fixed"],"core-js/es/string/fontcolor":["es.string.fontcolor"],"core-js/es/string/fontsize":["es.string.fontsize"],"core-js/es/string/from-code-point":["es.string.from-code-point"],"core-js/es/string/includes":["es.string.includes"],"core-js/es/string/italics":["es.string.italics"],"core-js/es/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/es/string/link":["es.string.link"],"core-js/es/string/match":["es.regexp.exec","es.string.match"],"core-js/es/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/es/string/pad-end":["es.string.pad-end"],"core-js/es/string/pad-start":["es.string.pad-start"],"core-js/es/string/raw":["es.string.raw"],"core-js/es/string/repeat":["es.string.repeat"],"core-js/es/string/replace":["es.regexp.exec","es.string.replace"],"core-js/es/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/es/string/search":["es.regexp.exec","es.string.search"],"core-js/es/string/small":["es.string.small"],"core-js/es/string/split":["es.regexp.exec","es.string.split"],"core-js/es/string/starts-with":["es.string.starts-with"],"core-js/es/string/strike":["es.string.strike"],"core-js/es/string/sub":["es.string.sub"],"core-js/es/string/substr":["es.string.substr"],"core-js/es/string/sup":["es.string.sup"],"core-js/es/string/trim":["es.string.trim"],"core-js/es/string/trim-end":["es.string.trim-end"],"core-js/es/string/trim-left":["es.string.trim-start"],"core-js/es/string/trim-right":["es.string.trim-end"],"core-js/es/string/trim-start":["es.string.trim-start"],"core-js/es/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/virtual/anchor":["es.string.anchor"],"core-js/es/string/virtual/at":["es.string.at-alternative"],"core-js/es/string/virtual/big":["es.string.big"],"core-js/es/string/virtual/blink":["es.string.blink"],"core-js/es/string/virtual/bold":["es.string.bold"],"core-js/es/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/es/string/virtual/ends-with":["es.string.ends-with"],"core-js/es/string/virtual/fixed":["es.string.fixed"],"core-js/es/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/es/string/virtual/fontsize":["es.string.fontsize"],"core-js/es/string/virtual/includes":["es.string.includes"],"core-js/es/string/virtual/italics":["es.string.italics"],"core-js/es/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/es/string/virtual/link":["es.string.link"],"core-js/es/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/es/string/virtual/pad-end":["es.string.pad-end"],"core-js/es/string/virtual/pad-start":["es.string.pad-start"],"core-js/es/string/virtual/repeat":["es.string.repeat"],"core-js/es/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/es/string/virtual/small":["es.string.small"],"core-js/es/string/virtual/starts-with":["es.string.starts-with"],"core-js/es/string/virtual/strike":["es.string.strike"],"core-js/es/string/virtual/sub":["es.string.sub"],"core-js/es/string/virtual/substr":["es.string.substr"],"core-js/es/string/virtual/sup":["es.string.sup"],"core-js/es/string/virtual/trim":["es.string.trim"],"core-js/es/string/virtual/trim-end":["es.string.trim-end"],"core-js/es/string/virtual/trim-left":["es.string.trim-start"],"core-js/es/string/virtual/trim-right":["es.string.trim-end"],"core-js/es/string/virtual/trim-start":["es.string.trim-start"],"core-js/es/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/es/symbol/description":["es.symbol.description"],"core-js/es/symbol/for":["es.symbol"],"core-js/es/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/es/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/es/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator"],"core-js/es/symbol/key-for":["es.symbol"],"core-js/es/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/es/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/es/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/es/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/es/symbol/species":["es.symbol.species"],"core-js/es/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/es/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/es/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/unscopables":["es.symbol.unscopables"],"core-js/es/typed-array":["es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/at":["es.typed-array.at"],"core-js/es/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/es/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/es/typed-array/every":["es.typed-array.every"],"core-js/es/typed-array/fill":["es.typed-array.fill"],"core-js/es/typed-array/filter":["es.typed-array.filter"],"core-js/es/typed-array/find":["es.typed-array.find"],"core-js/es/typed-array/find-index":["es.typed-array.find-index"],"core-js/es/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/for-each":["es.typed-array.for-each"],"core-js/es/typed-array/from":["es.typed-array.from"],"core-js/es/typed-array/includes":["es.typed-array.includes"],"core-js/es/typed-array/index-of":["es.typed-array.index-of"],"core-js/es/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/es/typed-array/join":["es.typed-array.join"],"core-js/es/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/es/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/es/typed-array/map":["es.typed-array.map"],"core-js/es/typed-array/methods":["es.object.to-string","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/of":["es.typed-array.of"],"core-js/es/typed-array/reduce":["es.typed-array.reduce"],"core-js/es/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/es/typed-array/reverse":["es.typed-array.reverse"],"core-js/es/typed-array/set":["es.typed-array.set"],"core-js/es/typed-array/slice":["es.typed-array.slice"],"core-js/es/typed-array/some":["es.typed-array.some"],"core-js/es/typed-array/sort":["es.typed-array.sort"],"core-js/es/typed-array/subarray":["es.typed-array.subarray"],"core-js/es/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/es/typed-array/to-string":["es.typed-array.to-string"],"core-js/es/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/es/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/es/unescape":["es.unescape"],"core-js/es/weak-map":["es.array.iterator","es.object.to-string","es.weak-map"],"core-js/es/weak-set":["es.array.iterator","es.object.to-string","es.weak-set"],"core-js/features":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.structured-clone","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/features/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/features/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with"],"core-js/features/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/features/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"],"core-js/features/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/features/array-buffer/slice":["es.array-buffer.slice"],"core-js/features/array/at":["es.array.at","esnext.array.at"],"core-js/features/array/concat":["es.array.concat"],"core-js/features/array/copy-within":["es.array.copy-within"],"core-js/features/array/entries":["es.array.iterator","es.object.to-string"],"core-js/features/array/every":["es.array.every"],"core-js/features/array/fill":["es.array.fill"],"core-js/features/array/filter":["es.array.filter"],"core-js/features/array/filter-out":["esnext.array.filter-out"],"core-js/features/array/filter-reject":["esnext.array.filter-reject"],"core-js/features/array/find":["es.array.find"],"core-js/features/array/find-index":["es.array.find-index"],"core-js/features/array/find-last":["esnext.array.find-last"],"core-js/features/array/find-last-index":["esnext.array.find-last-index"],"core-js/features/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/for-each":["es.array.for-each"],"core-js/features/array/from":["es.array.from","es.string.iterator"],"core-js/features/array/from-async":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async"],"core-js/features/array/group-by":["esnext.array.group-by"],"core-js/features/array/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/features/array/includes":["es.array.includes"],"core-js/features/array/index-of":["es.array.index-of"],"core-js/features/array/is-array":["es.array.is-array"],"core-js/features/array/is-template-object":["esnext.array.is-template-object"],"core-js/features/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/features/array/join":["es.array.join"],"core-js/features/array/keys":["es.array.iterator","es.object.to-string"],"core-js/features/array/last-index":["esnext.array.last-index"],"core-js/features/array/last-index-of":["es.array.last-index-of"],"core-js/features/array/last-item":["esnext.array.last-item"],"core-js/features/array/map":["es.array.map"],"core-js/features/array/of":["es.array.of"],"core-js/features/array/reduce":["es.array.reduce"],"core-js/features/array/reduce-right":["es.array.reduce-right"],"core-js/features/array/reverse":["es.array.reverse"],"core-js/features/array/slice":["es.array.slice"],"core-js/features/array/some":["es.array.some"],"core-js/features/array/sort":["es.array.sort"],"core-js/features/array/splice":["es.array.splice"],"core-js/features/array/to-reversed":["esnext.array.to-reversed"],"core-js/features/array/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/features/array/to-spliced":["esnext.array.to-spliced"],"core-js/features/array/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/values":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.object.to-string","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with"],"core-js/features/array/virtual/at":["es.array.at","esnext.array.at"],"core-js/features/array/virtual/concat":["es.array.concat"],"core-js/features/array/virtual/copy-within":["es.array.copy-within"],"core-js/features/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual/every":["es.array.every"],"core-js/features/array/virtual/fill":["es.array.fill"],"core-js/features/array/virtual/filter":["es.array.filter"],"core-js/features/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/features/array/virtual/filter-reject":["esnext.array.filter-reject"],"core-js/features/array/virtual/find":["es.array.find"],"core-js/features/array/virtual/find-index":["es.array.find-index"],"core-js/features/array/virtual/find-last":["esnext.array.find-last"],"core-js/features/array/virtual/find-last-index":["esnext.array.find-last-index"],"core-js/features/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/virtual/for-each":["es.array.for-each"],"core-js/features/array/virtual/group-by":["esnext.array.group-by"],"core-js/features/array/virtual/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/features/array/virtual/includes":["es.array.includes"],"core-js/features/array/virtual/index-of":["es.array.index-of"],"core-js/features/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual/join":["es.array.join"],"core-js/features/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/features/array/virtual/map":["es.array.map"],"core-js/features/array/virtual/reduce":["es.array.reduce"],"core-js/features/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/features/array/virtual/reverse":["es.array.reverse"],"core-js/features/array/virtual/slice":["es.array.slice"],"core-js/features/array/virtual/some":["es.array.some"],"core-js/features/array/virtual/sort":["es.array.sort"],"core-js/features/array/virtual/splice":["es.array.splice"],"core-js/features/array/virtual/to-reversed":["esnext.array.to-reversed"],"core-js/features/array/virtual/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/features/array/virtual/to-spliced":["esnext.array.to-spliced"],"core-js/features/array/virtual/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual/with":["esnext.array.with"],"core-js/features/array/with":["esnext.array.with"],"core-js/features/async-iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/async-iterator/as-indexed-pairs":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs"],"core-js/features/async-iterator/drop":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.drop"],"core-js/features/async-iterator/every":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.every"],"core-js/features/async-iterator/filter":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.filter"],"core-js/features/async-iterator/find":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.find"],"core-js/features/async-iterator/flat-map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.flat-map"],"core-js/features/async-iterator/for-each":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.for-each"],"core-js/features/async-iterator/from":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.from","web.dom-collections.iterator"],"core-js/features/async-iterator/map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.map"],"core-js/features/async-iterator/reduce":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.reduce"],"core-js/features/async-iterator/some":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.some"],"core-js/features/async-iterator/take":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.take"],"core-js/features/async-iterator/to-array":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.to-array"],"core-js/features/atob":["es.error.to-string","es.object.to-string","web.atob","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/features/bigint":["es.object.to-string","esnext.bigint.range"],"core-js/features/bigint/range":["es.object.to-string","esnext.bigint.range"],"core-js/features/btoa":["es.error.to-string","es.object.to-string","web.btoa","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/features/clear-immediate":["web.immediate"],"core-js/features/composite-key":["esnext.composite-key"],"core-js/features/composite-symbol":["es.symbol","esnext.composite-symbol"],"core-js/features/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/features/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/features/date/get-year":["es.date.get-year"],"core-js/features/date/now":["es.date.now"],"core-js/features/date/set-year":["es.date.set-year"],"core-js/features/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/features/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/features/date/to-json":["es.date.to-json"],"core-js/features/date/to-primitive":["es.date.to-primitive"],"core-js/features/date/to-string":["es.date.to-string"],"core-js/features/dom-collections":["es.array.iterator","es.object.to-string","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/features/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/features/dom-collections/iterator":["es.object.to-string","web.dom-collections.iterator"],"core-js/features/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/features/dom-exception/constructor":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack"],"core-js/features/dom-exception/to-string-tag":["web.dom-exception.to-string-tag"],"core-js/features/error":["es.error.cause","es.error.to-string"],"core-js/features/error/constructor":["es.error.cause"],"core-js/features/error/to-string":["es.error.to-string"],"core-js/features/escape":["es.escape"],"core-js/features/function":["es.function.bind","es.function.has-instance","es.function.name","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this"],"core-js/features/function/bind":["es.function.bind"],"core-js/features/function/has-instance":["es.function.has-instance"],"core-js/features/function/is-callable":["esnext.function.is-callable"],"core-js/features/function/is-constructor":["esnext.function.is-constructor"],"core-js/features/function/name":["es.function.name"],"core-js/features/function/un-this":["esnext.function.un-this"],"core-js/features/function/virtual":["es.function.bind","esnext.function.un-this"],"core-js/features/function/virtual/bind":["es.function.bind"],"core-js/features/function/virtual/un-this":["esnext.function.un-this"],"core-js/features/get-iterator":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/get-iterator-method":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/global-this":["es.global-this","esnext.global-this"],"core-js/features/instance/at":["es.array.at","es.string.at-alternative","esnext.array.at","esnext.string.at"],"core-js/features/instance/bind":["es.function.bind"],"core-js/features/instance/code-point-at":["es.string.code-point-at"],"core-js/features/instance/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/features/instance/concat":["es.array.concat"],"core-js/features/instance/copy-within":["es.array.copy-within"],"core-js/features/instance/ends-with":["es.string.ends-with"],"core-js/features/instance/entries":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/features/instance/every":["es.array.every"],"core-js/features/instance/fill":["es.array.fill"],"core-js/features/instance/filter":["es.array.filter"],"core-js/features/instance/filter-out":["esnext.array.filter-out"],"core-js/features/instance/filter-reject":["esnext.array.filter-reject"],"core-js/features/instance/find":["es.array.find"],"core-js/features/instance/find-index":["es.array.find-index"],"core-js/features/instance/find-last":["esnext.array.find-last"],"core-js/features/instance/find-last-index":["esnext.array.find-last-index"],"core-js/features/instance/flags":["es.regexp.flags"],"core-js/features/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/features/instance/group-by":["esnext.array.group-by"],"core-js/features/instance/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/features/instance/includes":["es.array.includes","es.string.includes"],"core-js/features/instance/index-of":["es.array.index-of"],"core-js/features/instance/keys":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/features/instance/last-index-of":["es.array.last-index-of"],"core-js/features/instance/map":["es.array.map"],"core-js/features/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/features/instance/pad-end":["es.string.pad-end"],"core-js/features/instance/pad-start":["es.string.pad-start"],"core-js/features/instance/reduce":["es.array.reduce"],"core-js/features/instance/reduce-right":["es.array.reduce-right"],"core-js/features/instance/repeat":["es.string.repeat"],"core-js/features/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/features/instance/reverse":["es.array.reverse"],"core-js/features/instance/slice":["es.array.slice"],"core-js/features/instance/some":["es.array.some"],"core-js/features/instance/sort":["es.array.sort"],"core-js/features/instance/splice":["es.array.splice"],"core-js/features/instance/starts-with":["es.string.starts-with"],"core-js/features/instance/to-reversed":["esnext.array.to-reversed"],"core-js/features/instance/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/features/instance/to-spliced":["esnext.array.to-spliced"],"core-js/features/instance/trim":["es.string.trim"],"core-js/features/instance/trim-end":["es.string.trim-end"],"core-js/features/instance/trim-left":["es.string.trim-start"],"core-js/features/instance/trim-right":["es.string.trim-end"],"core-js/features/instance/trim-start":["es.string.trim-start"],"core-js/features/instance/un-this":["esnext.function.un-this"],"core-js/features/instance/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/instance/values":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/features/instance/with":["esnext.array.with"],"core-js/features/is-iterable":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","web.dom-collections.iterator"],"core-js/features/iterator/as-indexed-pairs":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs"],"core-js/features/iterator/drop":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.drop"],"core-js/features/iterator/every":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.every"],"core-js/features/iterator/filter":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.filter"],"core-js/features/iterator/find":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.find"],"core-js/features/iterator/flat-map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.flat-map"],"core-js/features/iterator/for-each":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.for-each"],"core-js/features/iterator/from":["es.array.iterator","es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.from","web.dom-collections.iterator"],"core-js/features/iterator/map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.map"],"core-js/features/iterator/reduce":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.reduce"],"core-js/features/iterator/some":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.some"],"core-js/features/iterator/take":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.take"],"core-js/features/iterator/to-array":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.to-array"],"core-js/features/iterator/to-async":["es.object.to-string","es.promise","esnext.iterator.constructor","esnext.iterator.to-async"],"core-js/features/json":["es.json.stringify","es.json.to-string-tag"],"core-js/features/json/stringify":["es.json.stringify"],"core-js/features/json/to-string-tag":["es.json.to-string-tag"],"core-js/features/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","web.dom-collections.iterator"],"core-js/features/map/delete-all":["es.map","esnext.map.delete-all"],"core-js/features/map/emplace":["es.map","esnext.map.emplace"],"core-js/features/map/every":["es.map","esnext.map.every"],"core-js/features/map/filter":["es.map","esnext.map.filter"],"core-js/features/map/find":["es.map","esnext.map.find"],"core-js/features/map/find-key":["es.map","esnext.map.find-key"],"core-js/features/map/from":["es.array.iterator","es.map","es.string.iterator","esnext.map.from","web.dom-collections.iterator"],"core-js/features/map/group-by":["es.map","esnext.map.group-by"],"core-js/features/map/includes":["es.map","esnext.map.includes"],"core-js/features/map/key-by":["es.map","esnext.map.key-by"],"core-js/features/map/key-of":["es.map","esnext.map.key-of"],"core-js/features/map/map-keys":["es.map","esnext.map.map-keys"],"core-js/features/map/map-values":["es.map","esnext.map.map-values"],"core-js/features/map/merge":["es.map","esnext.map.merge"],"core-js/features/map/of":["es.array.iterator","es.map","esnext.map.of"],"core-js/features/map/reduce":["es.map","esnext.map.reduce"],"core-js/features/map/some":["es.map","esnext.map.some"],"core-js/features/map/update":["es.map","esnext.map.update"],"core-js/features/map/update-or-insert":["es.map","esnext.map.update-or-insert"],"core-js/features/map/upsert":["es.map","esnext.map.upsert"],"core-js/features/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh"],"core-js/features/math/acosh":["es.math.acosh"],"core-js/features/math/asinh":["es.math.asinh"],"core-js/features/math/atanh":["es.math.atanh"],"core-js/features/math/cbrt":["es.math.cbrt"],"core-js/features/math/clamp":["esnext.math.clamp"],"core-js/features/math/clz32":["es.math.clz32"],"core-js/features/math/cosh":["es.math.cosh"],"core-js/features/math/deg-per-rad":["esnext.math.deg-per-rad"],"core-js/features/math/degrees":["esnext.math.degrees"],"core-js/features/math/expm1":["es.math.expm1"],"core-js/features/math/fround":["es.math.fround"],"core-js/features/math/fscale":["esnext.math.fscale"],"core-js/features/math/hypot":["es.math.hypot"],"core-js/features/math/iaddh":["esnext.math.iaddh"],"core-js/features/math/imul":["es.math.imul"],"core-js/features/math/imulh":["esnext.math.imulh"],"core-js/features/math/isubh":["esnext.math.isubh"],"core-js/features/math/log10":["es.math.log10"],"core-js/features/math/log1p":["es.math.log1p"],"core-js/features/math/log2":["es.math.log2"],"core-js/features/math/rad-per-deg":["esnext.math.rad-per-deg"],"core-js/features/math/radians":["esnext.math.radians"],"core-js/features/math/scale":["esnext.math.scale"],"core-js/features/math/seeded-prng":["esnext.math.seeded-prng"],"core-js/features/math/sign":["es.math.sign"],"core-js/features/math/signbit":["esnext.math.signbit"],"core-js/features/math/sinh":["es.math.sinh"],"core-js/features/math/tanh":["es.math.tanh"],"core-js/features/math/to-string-tag":["es.math.to-string-tag"],"core-js/features/math/trunc":["es.math.trunc"],"core-js/features/math/umulh":["esnext.math.umulh"],"core-js/features/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.to-string","esnext.number.from-string","esnext.number.range"],"core-js/features/number/constructor":["es.number.constructor"],"core-js/features/number/epsilon":["es.number.epsilon"],"core-js/features/number/from-string":["esnext.number.from-string"],"core-js/features/number/is-finite":["es.number.is-finite"],"core-js/features/number/is-integer":["es.number.is-integer"],"core-js/features/number/is-nan":["es.number.is-nan"],"core-js/features/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/features/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/features/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/features/number/parse-float":["es.number.parse-float"],"core-js/features/number/parse-int":["es.number.parse-int"],"core-js/features/number/range":["es.object.to-string","esnext.number.range"],"core-js/features/number/to-exponential":["es.number.to-exponential"],"core-js/features/number/to-fixed":["es.number.to-fixed"],"core-js/features/number/to-precision":["es.number.to-precision"],"core-js/features/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/features/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/features/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/features/number/virtual/to-precision":["es.number.to-precision"],"core-js/features/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","web.dom-collections.iterator"],"core-js/features/object/assign":["es.object.assign"],"core-js/features/object/create":["es.object.create"],"core-js/features/object/define-getter":["es.object.define-getter"],"core-js/features/object/define-properties":["es.object.define-properties"],"core-js/features/object/define-property":["es.object.define-property"],"core-js/features/object/define-setter":["es.object.define-setter"],"core-js/features/object/entries":["es.object.entries"],"core-js/features/object/freeze":["es.object.freeze"],"core-js/features/object/from-entries":["es.array.iterator","es.object.from-entries","web.dom-collections.iterator"],"core-js/features/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/features/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/features/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/features/object/get-own-property-symbols":["es.symbol"],"core-js/features/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/features/object/has-own":["es.object.has-own","esnext.object.has-own"],"core-js/features/object/is":["es.object.is"],"core-js/features/object/is-extensible":["es.object.is-extensible"],"core-js/features/object/is-frozen":["es.object.is-frozen"],"core-js/features/object/is-sealed":["es.object.is-sealed"],"core-js/features/object/iterate-entries":["esnext.object.iterate-entries"],"core-js/features/object/iterate-keys":["esnext.object.iterate-keys"],"core-js/features/object/iterate-values":["esnext.object.iterate-values"],"core-js/features/object/keys":["es.object.keys"],"core-js/features/object/lookup-getter":["es.object.lookup-getter"],"core-js/features/object/lookup-setter":["es.object.lookup-setter"],"core-js/features/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/features/object/seal":["es.object.seal"],"core-js/features/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/features/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/object/values":["es.object.values"],"core-js/features/observable":["es.object.to-string","es.string.iterator","esnext.observable","esnext.symbol.observable","web.dom-collections.iterator"],"core-js/features/parse-float":["es.parse-float"],"core-js/features/parse-int":["es.parse-int"],"core-js/features/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","esnext.aggregate-error","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","web.dom-collections.iterator"],"core-js/features/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator","esnext.promise.all-settled","web.dom-collections.iterator"],"core-js/features/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator","esnext.aggregate-error","esnext.promise.any","web.dom-collections.iterator"],"core-js/features/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/features/promise/try":["es.promise","esnext.promise.try"],"core-js/features/queue-microtask":["web.queue-microtask"],"core-js/features/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/features/reflect/apply":["es.reflect.apply"],"core-js/features/reflect/construct":["es.reflect.construct"],"core-js/features/reflect/define-metadata":["esnext.reflect.define-metadata"],"core-js/features/reflect/define-property":["es.reflect.define-property"],"core-js/features/reflect/delete-metadata":["esnext.reflect.delete-metadata"],"core-js/features/reflect/delete-property":["es.reflect.delete-property"],"core-js/features/reflect/get":["es.reflect.get"],"core-js/features/reflect/get-metadata":["esnext.reflect.get-metadata"],"core-js/features/reflect/get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/features/reflect/get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/features/reflect/get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/features/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/features/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/features/reflect/has":["es.reflect.has"],"core-js/features/reflect/has-metadata":["esnext.reflect.has-metadata"],"core-js/features/reflect/has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/features/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/features/reflect/metadata":["esnext.reflect.metadata"],"core-js/features/reflect/own-keys":["es.reflect.own-keys"],"core-js/features/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/features/reflect/set":["es.reflect.set"],"core-js/features/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/features/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/features/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/features/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/features/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/features/regexp/flags":["es.regexp.flags"],"core-js/features/regexp/match":["es.regexp.exec","es.string.match"],"core-js/features/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/features/regexp/search":["es.regexp.exec","es.string.search"],"core-js/features/regexp/split":["es.regexp.exec","es.string.split"],"core-js/features/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/features/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/features/regexp/to-string":["es.regexp.to-string"],"core-js/features/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","web.dom-collections.iterator"],"core-js/features/set-immediate":["web.immediate"],"core-js/features/set-interval":["web.timers"],"core-js/features/set-timeout":["web.timers"],"core-js/features/set/add-all":["es.set","esnext.set.add-all"],"core-js/features/set/delete-all":["es.set","esnext.set.delete-all"],"core-js/features/set/difference":["es.array.iterator","es.set","es.string.iterator","esnext.set.difference","web.dom-collections.iterator"],"core-js/features/set/every":["es.set","esnext.set.every"],"core-js/features/set/filter":["es.set","esnext.set.filter"],"core-js/features/set/find":["es.set","esnext.set.find"],"core-js/features/set/from":["es.array.iterator","es.set","es.string.iterator","esnext.set.from","web.dom-collections.iterator"],"core-js/features/set/intersection":["es.array.iterator","es.set","es.string.iterator","esnext.set.intersection","web.dom-collections.iterator"],"core-js/features/set/is-disjoint-from":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-disjoint-from","web.dom-collections.iterator"],"core-js/features/set/is-subset-of":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-subset-of","web.dom-collections.iterator"],"core-js/features/set/is-superset-of":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-superset-of","web.dom-collections.iterator"],"core-js/features/set/join":["es.set","esnext.set.join"],"core-js/features/set/map":["es.set","esnext.set.map"],"core-js/features/set/of":["es.array.iterator","es.set","esnext.set.of"],"core-js/features/set/reduce":["es.set","esnext.set.reduce"],"core-js/features/set/some":["es.set","esnext.set.some"],"core-js/features/set/symmetric-difference":["es.array.iterator","es.set","es.string.iterator","esnext.set.symmetric-difference","web.dom-collections.iterator"],"core-js/features/set/union":["es.array.iterator","es.set","es.string.iterator","esnext.set.union","web.dom-collections.iterator"],"core-js/features/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/features/string/anchor":["es.string.anchor"],"core-js/features/string/at":["es.string.at-alternative","esnext.string.at"],"core-js/features/string/big":["es.string.big"],"core-js/features/string/blink":["es.string.blink"],"core-js/features/string/bold":["es.string.bold"],"core-js/features/string/code-point-at":["es.string.code-point-at"],"core-js/features/string/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/features/string/cooked":["esnext.string.cooked"],"core-js/features/string/ends-with":["es.string.ends-with"],"core-js/features/string/fixed":["es.string.fixed"],"core-js/features/string/fontcolor":["es.string.fontcolor"],"core-js/features/string/fontsize":["es.string.fontsize"],"core-js/features/string/from-code-point":["es.string.from-code-point"],"core-js/features/string/includes":["es.string.includes"],"core-js/features/string/italics":["es.string.italics"],"core-js/features/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/features/string/link":["es.string.link"],"core-js/features/string/match":["es.regexp.exec","es.string.match"],"core-js/features/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/features/string/pad-end":["es.string.pad-end"],"core-js/features/string/pad-start":["es.string.pad-start"],"core-js/features/string/raw":["es.string.raw"],"core-js/features/string/repeat":["es.string.repeat"],"core-js/features/string/replace":["es.regexp.exec","es.string.replace"],"core-js/features/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/search":["es.regexp.exec","es.string.search"],"core-js/features/string/small":["es.string.small"],"core-js/features/string/split":["es.regexp.exec","es.string.split"],"core-js/features/string/starts-with":["es.string.starts-with"],"core-js/features/string/strike":["es.string.strike"],"core-js/features/string/sub":["es.string.sub"],"core-js/features/string/substr":["es.string.substr"],"core-js/features/string/sup":["es.string.sup"],"core-js/features/string/trim":["es.string.trim"],"core-js/features/string/trim-end":["es.string.trim-end"],"core-js/features/string/trim-left":["es.string.trim-start"],"core-js/features/string/trim-right":["es.string.trim-end"],"core-js/features/string/trim-start":["es.string.trim-start"],"core-js/features/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/features/string/virtual/anchor":["es.string.anchor"],"core-js/features/string/virtual/at":["es.string.at-alternative","esnext.string.at"],"core-js/features/string/virtual/big":["es.string.big"],"core-js/features/string/virtual/blink":["es.string.blink"],"core-js/features/string/virtual/bold":["es.string.bold"],"core-js/features/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/features/string/virtual/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/features/string/virtual/ends-with":["es.string.ends-with"],"core-js/features/string/virtual/fixed":["es.string.fixed"],"core-js/features/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/features/string/virtual/fontsize":["es.string.fontsize"],"core-js/features/string/virtual/includes":["es.string.includes"],"core-js/features/string/virtual/italics":["es.string.italics"],"core-js/features/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/features/string/virtual/link":["es.string.link"],"core-js/features/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/features/string/virtual/pad-end":["es.string.pad-end"],"core-js/features/string/virtual/pad-start":["es.string.pad-start"],"core-js/features/string/virtual/repeat":["es.string.repeat"],"core-js/features/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/virtual/small":["es.string.small"],"core-js/features/string/virtual/starts-with":["es.string.starts-with"],"core-js/features/string/virtual/strike":["es.string.strike"],"core-js/features/string/virtual/sub":["es.string.sub"],"core-js/features/string/virtual/substr":["es.string.substr"],"core-js/features/string/virtual/sup":["es.string.sup"],"core-js/features/string/virtual/trim":["es.string.trim"],"core-js/features/string/virtual/trim-end":["es.string.trim-end"],"core-js/features/string/virtual/trim-left":["es.string.trim-start"],"core-js/features/string/virtual/trim-right":["es.string.trim-end"],"core-js/features/string/virtual/trim-start":["es.string.trim-start"],"core-js/features/structured-clone":["es.error.to-string","es.array.iterator","es.map","es.object.keys","es.object.to-string","es.set","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"core-js/features/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","web.dom-collections.iterator"],"core-js/features/symbol/async-dispose":["esnext.symbol.async-dispose"],"core-js/features/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/features/symbol/description":["es.symbol.description"],"core-js/features/symbol/dispose":["esnext.symbol.dispose"],"core-js/features/symbol/for":["es.symbol"],"core-js/features/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/features/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/features/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/features/symbol/key-for":["es.symbol"],"core-js/features/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/features/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/features/symbol/matcher":["esnext.symbol.matcher"],"core-js/features/symbol/metadata":["esnext.symbol.metadata"],"core-js/features/symbol/observable":["esnext.symbol.observable"],"core-js/features/symbol/pattern-match":["esnext.symbol.pattern-match"],"core-js/features/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/features/symbol/replace-all":["esnext.symbol.replace-all"],"core-js/features/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/features/symbol/species":["es.symbol.species"],"core-js/features/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/features/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/features/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/symbol/unscopables":["es.symbol.unscopables"],"core-js/features/typed-array":["es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/at":["es.typed-array.every","esnext.typed-array.at"],"core-js/features/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/features/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/features/typed-array/every":["es.typed-array.every"],"core-js/features/typed-array/fill":["es.typed-array.fill"],"core-js/features/typed-array/filter":["es.typed-array.filter"],"core-js/features/typed-array/filter-out":["esnext.typed-array.filter-out"],"core-js/features/typed-array/filter-reject":["esnext.typed-array.filter-reject"],"core-js/features/typed-array/find":["es.typed-array.find"],"core-js/features/typed-array/find-index":["es.typed-array.find-index"],"core-js/features/typed-array/find-last":["esnext.typed-array.find-last"],"core-js/features/typed-array/find-last-index":["esnext.typed-array.find-last-index"],"core-js/features/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/for-each":["es.typed-array.for-each"],"core-js/features/typed-array/from":["es.typed-array.from"],"core-js/features/typed-array/from-async":["esnext.typed-array.from-async"],"core-js/features/typed-array/group-by":["esnext.typed-array.group-by"],"core-js/features/typed-array/includes":["es.typed-array.includes"],"core-js/features/typed-array/index-of":["es.typed-array.index-of"],"core-js/features/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/features/typed-array/join":["es.typed-array.join"],"core-js/features/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/features/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/features/typed-array/map":["es.typed-array.map"],"core-js/features/typed-array/methods":["es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/of":["es.typed-array.of"],"core-js/features/typed-array/reduce":["es.typed-array.reduce"],"core-js/features/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/features/typed-array/reverse":["es.typed-array.reverse"],"core-js/features/typed-array/set":["es.typed-array.set"],"core-js/features/typed-array/slice":["es.typed-array.slice"],"core-js/features/typed-array/some":["es.typed-array.some"],"core-js/features/typed-array/sort":["es.typed-array.sort"],"core-js/features/typed-array/subarray":["es.typed-array.subarray"],"core-js/features/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/features/typed-array/to-reversed":["esnext.typed-array.to-reversed"],"core-js/features/typed-array/to-sorted":["es.typed-array.sort","esnext.typed-array.to-sorted"],"core-js/features/typed-array/to-spliced":["esnext.typed-array.to-spliced"],"core-js/features/typed-array/to-string":["es.typed-array.to-string"],"core-js/features/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/unique-by":["es.map","esnext.typed-array.unique-by"],"core-js/features/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/features/typed-array/with":["esnext.typed-array.with"],"core-js/features/unescape":["es.unescape"],"core-js/features/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/features/url-search-params":["web.dom-collections.iterator","web.url-search-params"],"core-js/features/url/to-json":["web.url.to-json"],"core-js/features/weak-map":["es.array.iterator","es.object.to-string","es.string.iterator","es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","web.dom-collections.iterator"],"core-js/features/weak-map/delete-all":["es.weak-map","esnext.weak-map.delete-all"],"core-js/features/weak-map/emplace":["es.weak-map","esnext.weak-map.emplace"],"core-js/features/weak-map/from":["es.array.iterator","es.string.iterator","es.weak-map","esnext.weak-map.from","web.dom-collections.iterator"],"core-js/features/weak-map/of":["es.array.iterator","es.weak-map","esnext.weak-map.of"],"core-js/features/weak-map/upsert":["es.weak-map","esnext.weak-map.upsert"],"core-js/features/weak-set":["es.array.iterator","es.object.to-string","es.string.iterator","es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/features/weak-set/add-all":["es.weak-set","esnext.weak-set.add-all"],"core-js/features/weak-set/delete-all":["es.weak-set","esnext.weak-set.delete-all"],"core-js/features/weak-set/from":["es.array.iterator","es.string.iterator","es.weak-set","esnext.weak-set.from","web.dom-collections.iterator"],"core-js/features/weak-set/of":["es.array.iterator","es.weak-set","esnext.weak-set.of"],"core-js/full":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.structured-clone","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/full/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/full/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with"],"core-js/full/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/full/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"],"core-js/full/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/full/array-buffer/slice":["es.array-buffer.slice"],"core-js/full/array/at":["es.array.at","esnext.array.at"],"core-js/full/array/concat":["es.array.concat"],"core-js/full/array/copy-within":["es.array.copy-within"],"core-js/full/array/entries":["es.array.iterator","es.object.to-string"],"core-js/full/array/every":["es.array.every"],"core-js/full/array/fill":["es.array.fill"],"core-js/full/array/filter":["es.array.filter"],"core-js/full/array/filter-out":["esnext.array.filter-out"],"core-js/full/array/filter-reject":["esnext.array.filter-reject"],"core-js/full/array/find":["es.array.find"],"core-js/full/array/find-index":["es.array.find-index"],"core-js/full/array/find-last":["esnext.array.find-last"],"core-js/full/array/find-last-index":["esnext.array.find-last-index"],"core-js/full/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/full/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/full/array/for-each":["es.array.for-each"],"core-js/full/array/from":["es.array.from","es.string.iterator"],"core-js/full/array/from-async":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async"],"core-js/full/array/group-by":["esnext.array.group-by"],"core-js/full/array/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/full/array/includes":["es.array.includes"],"core-js/full/array/index-of":["es.array.index-of"],"core-js/full/array/is-array":["es.array.is-array"],"core-js/full/array/is-template-object":["esnext.array.is-template-object"],"core-js/full/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/full/array/join":["es.array.join"],"core-js/full/array/keys":["es.array.iterator","es.object.to-string"],"core-js/full/array/last-index":["esnext.array.last-index"],"core-js/full/array/last-index-of":["es.array.last-index-of"],"core-js/full/array/last-item":["esnext.array.last-item"],"core-js/full/array/map":["es.array.map"],"core-js/full/array/of":["es.array.of"],"core-js/full/array/reduce":["es.array.reduce"],"core-js/full/array/reduce-right":["es.array.reduce-right"],"core-js/full/array/reverse":["es.array.reverse"],"core-js/full/array/slice":["es.array.slice"],"core-js/full/array/some":["es.array.some"],"core-js/full/array/sort":["es.array.sort"],"core-js/full/array/splice":["es.array.splice"],"core-js/full/array/to-reversed":["esnext.array.to-reversed"],"core-js/full/array/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/full/array/to-spliced":["esnext.array.to-spliced"],"core-js/full/array/unique-by":["es.map","esnext.array.unique-by"],"core-js/full/array/values":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.map","es.object.to-string","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with"],"core-js/full/array/virtual/at":["es.array.at","esnext.array.at"],"core-js/full/array/virtual/concat":["es.array.concat"],"core-js/full/array/virtual/copy-within":["es.array.copy-within"],"core-js/full/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual/every":["es.array.every"],"core-js/full/array/virtual/fill":["es.array.fill"],"core-js/full/array/virtual/filter":["es.array.filter"],"core-js/full/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/full/array/virtual/filter-reject":["esnext.array.filter-reject"],"core-js/full/array/virtual/find":["es.array.find"],"core-js/full/array/virtual/find-index":["es.array.find-index"],"core-js/full/array/virtual/find-last":["esnext.array.find-last"],"core-js/full/array/virtual/find-last-index":["esnext.array.find-last-index"],"core-js/full/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/full/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/full/array/virtual/for-each":["es.array.for-each"],"core-js/full/array/virtual/group-by":["esnext.array.group-by"],"core-js/full/array/virtual/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/full/array/virtual/includes":["es.array.includes"],"core-js/full/array/virtual/index-of":["es.array.index-of"],"core-js/full/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual/join":["es.array.join"],"core-js/full/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/full/array/virtual/map":["es.array.map"],"core-js/full/array/virtual/reduce":["es.array.reduce"],"core-js/full/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/full/array/virtual/reverse":["es.array.reverse"],"core-js/full/array/virtual/slice":["es.array.slice"],"core-js/full/array/virtual/some":["es.array.some"],"core-js/full/array/virtual/sort":["es.array.sort"],"core-js/full/array/virtual/splice":["es.array.splice"],"core-js/full/array/virtual/to-reversed":["esnext.array.to-reversed"],"core-js/full/array/virtual/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/full/array/virtual/to-spliced":["esnext.array.to-spliced"],"core-js/full/array/virtual/unique-by":["es.map","esnext.array.unique-by"],"core-js/full/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual/with":["esnext.array.with"],"core-js/full/array/with":["esnext.array.with"],"core-js/full/async-iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/full/async-iterator/as-indexed-pairs":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs"],"core-js/full/async-iterator/drop":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.drop"],"core-js/full/async-iterator/every":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.every"],"core-js/full/async-iterator/filter":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.filter"],"core-js/full/async-iterator/find":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.find"],"core-js/full/async-iterator/flat-map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.flat-map"],"core-js/full/async-iterator/for-each":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.for-each"],"core-js/full/async-iterator/from":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.from","web.dom-collections.iterator"],"core-js/full/async-iterator/map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.map"],"core-js/full/async-iterator/reduce":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.reduce"],"core-js/full/async-iterator/some":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.some"],"core-js/full/async-iterator/take":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.take"],"core-js/full/async-iterator/to-array":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.to-array"],"core-js/full/atob":["es.error.to-string","es.object.to-string","web.atob","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/full/bigint":["es.object.to-string","esnext.bigint.range"],"core-js/full/bigint/range":["es.object.to-string","esnext.bigint.range"],"core-js/full/btoa":["es.error.to-string","es.object.to-string","web.btoa","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/full/clear-immediate":["web.immediate"],"core-js/full/composite-key":["esnext.composite-key"],"core-js/full/composite-symbol":["es.symbol","esnext.composite-symbol"],"core-js/full/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/full/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/full/date/get-year":["es.date.get-year"],"core-js/full/date/now":["es.date.now"],"core-js/full/date/set-year":["es.date.set-year"],"core-js/full/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/full/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/full/date/to-json":["es.date.to-json"],"core-js/full/date/to-primitive":["es.date.to-primitive"],"core-js/full/date/to-string":["es.date.to-string"],"core-js/full/dom-collections":["es.array.iterator","es.object.to-string","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/full/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/full/dom-collections/iterator":["es.object.to-string","web.dom-collections.iterator"],"core-js/full/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/full/dom-exception/constructor":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack"],"core-js/full/dom-exception/to-string-tag":["web.dom-exception.to-string-tag"],"core-js/full/error":["es.error.cause","es.error.to-string"],"core-js/full/error/constructor":["es.error.cause"],"core-js/full/error/to-string":["es.error.to-string"],"core-js/full/escape":["es.escape"],"core-js/full/function":["es.function.bind","es.function.has-instance","es.function.name","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this"],"core-js/full/function/bind":["es.function.bind"],"core-js/full/function/has-instance":["es.function.has-instance"],"core-js/full/function/is-callable":["esnext.function.is-callable"],"core-js/full/function/is-constructor":["esnext.function.is-constructor"],"core-js/full/function/name":["es.function.name"],"core-js/full/function/un-this":["esnext.function.un-this"],"core-js/full/function/virtual":["es.function.bind","esnext.function.un-this"],"core-js/full/function/virtual/bind":["es.function.bind"],"core-js/full/function/virtual/un-this":["esnext.function.un-this"],"core-js/full/get-iterator":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/full/get-iterator-method":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/full/global-this":["es.global-this","esnext.global-this"],"core-js/full/instance/at":["es.array.at","es.string.at-alternative","esnext.array.at","esnext.string.at"],"core-js/full/instance/bind":["es.function.bind"],"core-js/full/instance/code-point-at":["es.string.code-point-at"],"core-js/full/instance/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/full/instance/concat":["es.array.concat"],"core-js/full/instance/copy-within":["es.array.copy-within"],"core-js/full/instance/ends-with":["es.string.ends-with"],"core-js/full/instance/entries":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/full/instance/every":["es.array.every"],"core-js/full/instance/fill":["es.array.fill"],"core-js/full/instance/filter":["es.array.filter"],"core-js/full/instance/filter-out":["esnext.array.filter-out"],"core-js/full/instance/filter-reject":["esnext.array.filter-reject"],"core-js/full/instance/find":["es.array.find"],"core-js/full/instance/find-index":["es.array.find-index"],"core-js/full/instance/find-last":["esnext.array.find-last"],"core-js/full/instance/find-last-index":["esnext.array.find-last-index"],"core-js/full/instance/flags":["es.regexp.flags"],"core-js/full/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/full/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/full/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/full/instance/group-by":["esnext.array.group-by"],"core-js/full/instance/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/full/instance/includes":["es.array.includes","es.string.includes"],"core-js/full/instance/index-of":["es.array.index-of"],"core-js/full/instance/keys":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/full/instance/last-index-of":["es.array.last-index-of"],"core-js/full/instance/map":["es.array.map"],"core-js/full/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/full/instance/pad-end":["es.string.pad-end"],"core-js/full/instance/pad-start":["es.string.pad-start"],"core-js/full/instance/reduce":["es.array.reduce"],"core-js/full/instance/reduce-right":["es.array.reduce-right"],"core-js/full/instance/repeat":["es.string.repeat"],"core-js/full/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/full/instance/reverse":["es.array.reverse"],"core-js/full/instance/slice":["es.array.slice"],"core-js/full/instance/some":["es.array.some"],"core-js/full/instance/sort":["es.array.sort"],"core-js/full/instance/splice":["es.array.splice"],"core-js/full/instance/starts-with":["es.string.starts-with"],"core-js/full/instance/to-reversed":["esnext.array.to-reversed"],"core-js/full/instance/to-sorted":["es.array.sort","esnext.array.to-sorted"],"core-js/full/instance/to-spliced":["esnext.array.to-spliced"],"core-js/full/instance/trim":["es.string.trim"],"core-js/full/instance/trim-end":["es.string.trim-end"],"core-js/full/instance/trim-left":["es.string.trim-start"],"core-js/full/instance/trim-right":["es.string.trim-end"],"core-js/full/instance/trim-start":["es.string.trim-start"],"core-js/full/instance/un-this":["esnext.function.un-this"],"core-js/full/instance/unique-by":["es.map","esnext.array.unique-by"],"core-js/full/instance/values":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/full/instance/with":["esnext.array.with"],"core-js/full/is-iterable":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/full/iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","web.dom-collections.iterator"],"core-js/full/iterator/as-indexed-pairs":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs"],"core-js/full/iterator/drop":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.drop"],"core-js/full/iterator/every":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.every"],"core-js/full/iterator/filter":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.filter"],"core-js/full/iterator/find":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.find"],"core-js/full/iterator/flat-map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.flat-map"],"core-js/full/iterator/for-each":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.for-each"],"core-js/full/iterator/from":["es.array.iterator","es.object.to-string","es.string.iterator","esnext.iterator.constructor","esnext.iterator.from","web.dom-collections.iterator"],"core-js/full/iterator/map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.map"],"core-js/full/iterator/reduce":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.reduce"],"core-js/full/iterator/some":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.some"],"core-js/full/iterator/take":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.take"],"core-js/full/iterator/to-array":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.to-array"],"core-js/full/iterator/to-async":["es.object.to-string","es.promise","esnext.iterator.constructor","esnext.iterator.to-async"],"core-js/full/json":["es.json.stringify","es.json.to-string-tag"],"core-js/full/json/stringify":["es.json.stringify"],"core-js/full/json/to-string-tag":["es.json.to-string-tag"],"core-js/full/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","web.dom-collections.iterator"],"core-js/full/map/delete-all":["es.map","esnext.map.delete-all"],"core-js/full/map/emplace":["es.map","esnext.map.emplace"],"core-js/full/map/every":["es.map","esnext.map.every"],"core-js/full/map/filter":["es.map","esnext.map.filter"],"core-js/full/map/find":["es.map","esnext.map.find"],"core-js/full/map/find-key":["es.map","esnext.map.find-key"],"core-js/full/map/from":["es.array.iterator","es.map","es.string.iterator","esnext.map.from","web.dom-collections.iterator"],"core-js/full/map/group-by":["es.map","esnext.map.group-by"],"core-js/full/map/includes":["es.map","esnext.map.includes"],"core-js/full/map/key-by":["es.map","esnext.map.key-by"],"core-js/full/map/key-of":["es.map","esnext.map.key-of"],"core-js/full/map/map-keys":["es.map","esnext.map.map-keys"],"core-js/full/map/map-values":["es.map","esnext.map.map-values"],"core-js/full/map/merge":["es.map","esnext.map.merge"],"core-js/full/map/of":["es.array.iterator","es.map","esnext.map.of"],"core-js/full/map/reduce":["es.map","esnext.map.reduce"],"core-js/full/map/some":["es.map","esnext.map.some"],"core-js/full/map/update":["es.map","esnext.map.update"],"core-js/full/map/update-or-insert":["es.map","esnext.map.update-or-insert"],"core-js/full/map/upsert":["es.map","esnext.map.upsert"],"core-js/full/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh"],"core-js/full/math/acosh":["es.math.acosh"],"core-js/full/math/asinh":["es.math.asinh"],"core-js/full/math/atanh":["es.math.atanh"],"core-js/full/math/cbrt":["es.math.cbrt"],"core-js/full/math/clamp":["esnext.math.clamp"],"core-js/full/math/clz32":["es.math.clz32"],"core-js/full/math/cosh":["es.math.cosh"],"core-js/full/math/deg-per-rad":["esnext.math.deg-per-rad"],"core-js/full/math/degrees":["esnext.math.degrees"],"core-js/full/math/expm1":["es.math.expm1"],"core-js/full/math/fround":["es.math.fround"],"core-js/full/math/fscale":["esnext.math.fscale"],"core-js/full/math/hypot":["es.math.hypot"],"core-js/full/math/iaddh":["esnext.math.iaddh"],"core-js/full/math/imul":["es.math.imul"],"core-js/full/math/imulh":["esnext.math.imulh"],"core-js/full/math/isubh":["esnext.math.isubh"],"core-js/full/math/log10":["es.math.log10"],"core-js/full/math/log1p":["es.math.log1p"],"core-js/full/math/log2":["es.math.log2"],"core-js/full/math/rad-per-deg":["esnext.math.rad-per-deg"],"core-js/full/math/radians":["esnext.math.radians"],"core-js/full/math/scale":["esnext.math.scale"],"core-js/full/math/seeded-prng":["esnext.math.seeded-prng"],"core-js/full/math/sign":["es.math.sign"],"core-js/full/math/signbit":["esnext.math.signbit"],"core-js/full/math/sinh":["es.math.sinh"],"core-js/full/math/tanh":["es.math.tanh"],"core-js/full/math/to-string-tag":["es.math.to-string-tag"],"core-js/full/math/trunc":["es.math.trunc"],"core-js/full/math/umulh":["esnext.math.umulh"],"core-js/full/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.to-string","esnext.number.from-string","esnext.number.range"],"core-js/full/number/constructor":["es.number.constructor"],"core-js/full/number/epsilon":["es.number.epsilon"],"core-js/full/number/from-string":["esnext.number.from-string"],"core-js/full/number/is-finite":["es.number.is-finite"],"core-js/full/number/is-integer":["es.number.is-integer"],"core-js/full/number/is-nan":["es.number.is-nan"],"core-js/full/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/full/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/full/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/full/number/parse-float":["es.number.parse-float"],"core-js/full/number/parse-int":["es.number.parse-int"],"core-js/full/number/range":["es.object.to-string","esnext.number.range"],"core-js/full/number/to-exponential":["es.number.to-exponential"],"core-js/full/number/to-fixed":["es.number.to-fixed"],"core-js/full/number/to-precision":["es.number.to-precision"],"core-js/full/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/full/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/full/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/full/number/virtual/to-precision":["es.number.to-precision"],"core-js/full/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","web.dom-collections.iterator"],"core-js/full/object/assign":["es.object.assign"],"core-js/full/object/create":["es.object.create"],"core-js/full/object/define-getter":["es.object.define-getter"],"core-js/full/object/define-properties":["es.object.define-properties"],"core-js/full/object/define-property":["es.object.define-property"],"core-js/full/object/define-setter":["es.object.define-setter"],"core-js/full/object/entries":["es.object.entries"],"core-js/full/object/freeze":["es.object.freeze"],"core-js/full/object/from-entries":["es.array.iterator","es.object.from-entries","web.dom-collections.iterator"],"core-js/full/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/full/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/full/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/full/object/get-own-property-symbols":["es.symbol"],"core-js/full/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/full/object/has-own":["es.object.has-own","esnext.object.has-own"],"core-js/full/object/is":["es.object.is"],"core-js/full/object/is-extensible":["es.object.is-extensible"],"core-js/full/object/is-frozen":["es.object.is-frozen"],"core-js/full/object/is-sealed":["es.object.is-sealed"],"core-js/full/object/iterate-entries":["esnext.object.iterate-entries"],"core-js/full/object/iterate-keys":["esnext.object.iterate-keys"],"core-js/full/object/iterate-values":["esnext.object.iterate-values"],"core-js/full/object/keys":["es.object.keys"],"core-js/full/object/lookup-getter":["es.object.lookup-getter"],"core-js/full/object/lookup-setter":["es.object.lookup-setter"],"core-js/full/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/full/object/seal":["es.object.seal"],"core-js/full/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/full/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/full/object/values":["es.object.values"],"core-js/full/observable":["es.object.to-string","es.string.iterator","esnext.observable","esnext.symbol.observable","web.dom-collections.iterator"],"core-js/full/parse-float":["es.parse-float"],"core-js/full/parse-int":["es.parse-int"],"core-js/full/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","esnext.aggregate-error","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","web.dom-collections.iterator"],"core-js/full/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator","esnext.promise.all-settled","web.dom-collections.iterator"],"core-js/full/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator","esnext.aggregate-error","esnext.promise.any","web.dom-collections.iterator"],"core-js/full/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/full/promise/try":["es.promise","esnext.promise.try"],"core-js/full/queue-microtask":["web.queue-microtask"],"core-js/full/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/full/reflect/apply":["es.reflect.apply"],"core-js/full/reflect/construct":["es.reflect.construct"],"core-js/full/reflect/define-metadata":["esnext.reflect.define-metadata"],"core-js/full/reflect/define-property":["es.reflect.define-property"],"core-js/full/reflect/delete-metadata":["esnext.reflect.delete-metadata"],"core-js/full/reflect/delete-property":["es.reflect.delete-property"],"core-js/full/reflect/get":["es.reflect.get"],"core-js/full/reflect/get-metadata":["esnext.reflect.get-metadata"],"core-js/full/reflect/get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/full/reflect/get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/full/reflect/get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/full/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/full/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/full/reflect/has":["es.reflect.has"],"core-js/full/reflect/has-metadata":["esnext.reflect.has-metadata"],"core-js/full/reflect/has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/full/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/full/reflect/metadata":["esnext.reflect.metadata"],"core-js/full/reflect/own-keys":["es.reflect.own-keys"],"core-js/full/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/full/reflect/set":["es.reflect.set"],"core-js/full/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/full/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/full/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/full/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/full/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/full/regexp/flags":["es.regexp.flags"],"core-js/full/regexp/match":["es.regexp.exec","es.string.match"],"core-js/full/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/full/regexp/search":["es.regexp.exec","es.string.search"],"core-js/full/regexp/split":["es.regexp.exec","es.string.split"],"core-js/full/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/full/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/full/regexp/to-string":["es.regexp.to-string"],"core-js/full/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","web.dom-collections.iterator"],"core-js/full/set-immediate":["web.immediate"],"core-js/full/set-interval":["web.timers"],"core-js/full/set-timeout":["web.timers"],"core-js/full/set/add-all":["es.set","esnext.set.add-all"],"core-js/full/set/delete-all":["es.set","esnext.set.delete-all"],"core-js/full/set/difference":["es.array.iterator","es.set","es.string.iterator","esnext.set.difference","web.dom-collections.iterator"],"core-js/full/set/every":["es.set","esnext.set.every"],"core-js/full/set/filter":["es.set","esnext.set.filter"],"core-js/full/set/find":["es.set","esnext.set.find"],"core-js/full/set/from":["es.array.iterator","es.set","es.string.iterator","esnext.set.from","web.dom-collections.iterator"],"core-js/full/set/intersection":["es.array.iterator","es.set","es.string.iterator","esnext.set.intersection","web.dom-collections.iterator"],"core-js/full/set/is-disjoint-from":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-disjoint-from","web.dom-collections.iterator"],"core-js/full/set/is-subset-of":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-subset-of","web.dom-collections.iterator"],"core-js/full/set/is-superset-of":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-superset-of","web.dom-collections.iterator"],"core-js/full/set/join":["es.set","esnext.set.join"],"core-js/full/set/map":["es.set","esnext.set.map"],"core-js/full/set/of":["es.array.iterator","es.set","esnext.set.of"],"core-js/full/set/reduce":["es.set","esnext.set.reduce"],"core-js/full/set/some":["es.set","esnext.set.some"],"core-js/full/set/symmetric-difference":["es.array.iterator","es.set","es.string.iterator","esnext.set.symmetric-difference","web.dom-collections.iterator"],"core-js/full/set/union":["es.array.iterator","es.set","es.string.iterator","esnext.set.union","web.dom-collections.iterator"],"core-js/full/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/full/string/anchor":["es.string.anchor"],"core-js/full/string/at":["es.string.at-alternative","esnext.string.at"],"core-js/full/string/big":["es.string.big"],"core-js/full/string/blink":["es.string.blink"],"core-js/full/string/bold":["es.string.bold"],"core-js/full/string/code-point-at":["es.string.code-point-at"],"core-js/full/string/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/full/string/cooked":["esnext.string.cooked"],"core-js/full/string/ends-with":["es.string.ends-with"],"core-js/full/string/fixed":["es.string.fixed"],"core-js/full/string/fontcolor":["es.string.fontcolor"],"core-js/full/string/fontsize":["es.string.fontsize"],"core-js/full/string/from-code-point":["es.string.from-code-point"],"core-js/full/string/includes":["es.string.includes"],"core-js/full/string/italics":["es.string.italics"],"core-js/full/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/full/string/link":["es.string.link"],"core-js/full/string/match":["es.regexp.exec","es.string.match"],"core-js/full/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/full/string/pad-end":["es.string.pad-end"],"core-js/full/string/pad-start":["es.string.pad-start"],"core-js/full/string/raw":["es.string.raw"],"core-js/full/string/repeat":["es.string.repeat"],"core-js/full/string/replace":["es.regexp.exec","es.string.replace"],"core-js/full/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/full/string/search":["es.regexp.exec","es.string.search"],"core-js/full/string/small":["es.string.small"],"core-js/full/string/split":["es.regexp.exec","es.string.split"],"core-js/full/string/starts-with":["es.string.starts-with"],"core-js/full/string/strike":["es.string.strike"],"core-js/full/string/sub":["es.string.sub"],"core-js/full/string/substr":["es.string.substr"],"core-js/full/string/sup":["es.string.sup"],"core-js/full/string/trim":["es.string.trim"],"core-js/full/string/trim-end":["es.string.trim-end"],"core-js/full/string/trim-left":["es.string.trim-start"],"core-js/full/string/trim-right":["es.string.trim-end"],"core-js/full/string/trim-start":["es.string.trim-start"],"core-js/full/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all"],"core-js/full/string/virtual/anchor":["es.string.anchor"],"core-js/full/string/virtual/at":["es.string.at-alternative","esnext.string.at"],"core-js/full/string/virtual/big":["es.string.big"],"core-js/full/string/virtual/blink":["es.string.blink"],"core-js/full/string/virtual/bold":["es.string.bold"],"core-js/full/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/full/string/virtual/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/full/string/virtual/ends-with":["es.string.ends-with"],"core-js/full/string/virtual/fixed":["es.string.fixed"],"core-js/full/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/full/string/virtual/fontsize":["es.string.fontsize"],"core-js/full/string/virtual/includes":["es.string.includes"],"core-js/full/string/virtual/italics":["es.string.italics"],"core-js/full/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/full/string/virtual/link":["es.string.link"],"core-js/full/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/full/string/virtual/pad-end":["es.string.pad-end"],"core-js/full/string/virtual/pad-start":["es.string.pad-start"],"core-js/full/string/virtual/repeat":["es.string.repeat"],"core-js/full/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/full/string/virtual/small":["es.string.small"],"core-js/full/string/virtual/starts-with":["es.string.starts-with"],"core-js/full/string/virtual/strike":["es.string.strike"],"core-js/full/string/virtual/sub":["es.string.sub"],"core-js/full/string/virtual/substr":["es.string.substr"],"core-js/full/string/virtual/sup":["es.string.sup"],"core-js/full/string/virtual/trim":["es.string.trim"],"core-js/full/string/virtual/trim-end":["es.string.trim-end"],"core-js/full/string/virtual/trim-left":["es.string.trim-start"],"core-js/full/string/virtual/trim-right":["es.string.trim-end"],"core-js/full/string/virtual/trim-start":["es.string.trim-start"],"core-js/full/structured-clone":["es.error.to-string","es.array.iterator","es.map","es.object.keys","es.object.to-string","es.set","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"core-js/full/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","web.dom-collections.iterator"],"core-js/full/symbol/async-dispose":["esnext.symbol.async-dispose"],"core-js/full/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/full/symbol/description":["es.symbol.description"],"core-js/full/symbol/dispose":["esnext.symbol.dispose"],"core-js/full/symbol/for":["es.symbol"],"core-js/full/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/full/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/full/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/full/symbol/key-for":["es.symbol"],"core-js/full/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/full/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/full/symbol/matcher":["esnext.symbol.matcher"],"core-js/full/symbol/metadata":["esnext.symbol.metadata"],"core-js/full/symbol/observable":["esnext.symbol.observable"],"core-js/full/symbol/pattern-match":["esnext.symbol.pattern-match"],"core-js/full/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/full/symbol/replace-all":["esnext.symbol.replace-all"],"core-js/full/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/full/symbol/species":["es.symbol.species"],"core-js/full/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/full/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/full/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/full/symbol/unscopables":["es.symbol.unscopables"],"core-js/full/typed-array":["es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/at":["es.typed-array.every","esnext.typed-array.at"],"core-js/full/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/full/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/full/typed-array/every":["es.typed-array.every"],"core-js/full/typed-array/fill":["es.typed-array.fill"],"core-js/full/typed-array/filter":["es.typed-array.filter"],"core-js/full/typed-array/filter-out":["esnext.typed-array.filter-out"],"core-js/full/typed-array/filter-reject":["esnext.typed-array.filter-reject"],"core-js/full/typed-array/find":["es.typed-array.find"],"core-js/full/typed-array/find-index":["es.typed-array.find-index"],"core-js/full/typed-array/find-last":["esnext.typed-array.find-last"],"core-js/full/typed-array/find-last-index":["esnext.typed-array.find-last-index"],"core-js/full/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/for-each":["es.typed-array.for-each"],"core-js/full/typed-array/from":["es.typed-array.from"],"core-js/full/typed-array/from-async":["esnext.typed-array.from-async"],"core-js/full/typed-array/group-by":["esnext.typed-array.group-by"],"core-js/full/typed-array/includes":["es.typed-array.includes"],"core-js/full/typed-array/index-of":["es.typed-array.index-of"],"core-js/full/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/full/typed-array/join":["es.typed-array.join"],"core-js/full/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/full/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/full/typed-array/map":["es.typed-array.map"],"core-js/full/typed-array/methods":["es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/of":["es.typed-array.of"],"core-js/full/typed-array/reduce":["es.typed-array.reduce"],"core-js/full/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/full/typed-array/reverse":["es.typed-array.reverse"],"core-js/full/typed-array/set":["es.typed-array.set"],"core-js/full/typed-array/slice":["es.typed-array.slice"],"core-js/full/typed-array/some":["es.typed-array.some"],"core-js/full/typed-array/sort":["es.typed-array.sort"],"core-js/full/typed-array/subarray":["es.typed-array.subarray"],"core-js/full/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/full/typed-array/to-reversed":["esnext.typed-array.to-reversed"],"core-js/full/typed-array/to-sorted":["es.typed-array.sort","esnext.typed-array.to-sorted"],"core-js/full/typed-array/to-spliced":["esnext.typed-array.to-spliced"],"core-js/full/typed-array/to-string":["es.typed-array.to-string"],"core-js/full/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/unique-by":["es.map","esnext.typed-array.unique-by"],"core-js/full/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/full/typed-array/with":["esnext.typed-array.with"],"core-js/full/unescape":["es.unescape"],"core-js/full/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/full/url-search-params":["web.dom-collections.iterator","web.url-search-params"],"core-js/full/url/to-json":["web.url.to-json"],"core-js/full/weak-map":["es.array.iterator","es.object.to-string","es.string.iterator","es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","web.dom-collections.iterator"],"core-js/full/weak-map/delete-all":["es.weak-map","esnext.weak-map.delete-all"],"core-js/full/weak-map/emplace":["es.weak-map","esnext.weak-map.emplace"],"core-js/full/weak-map/from":["es.array.iterator","es.string.iterator","es.weak-map","esnext.weak-map.from","web.dom-collections.iterator"],"core-js/full/weak-map/of":["es.array.iterator","es.weak-map","esnext.weak-map.of"],"core-js/full/weak-map/upsert":["es.weak-map","esnext.weak-map.upsert"],"core-js/full/weak-set":["es.array.iterator","es.object.to-string","es.string.iterator","es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/full/weak-set/add-all":["es.weak-set","esnext.weak-set.add-all"],"core-js/full/weak-set/delete-all":["es.weak-set","esnext.weak-set.delete-all"],"core-js/full/weak-set/from":["es.array.iterator","es.string.iterator","es.weak-set","esnext.weak-set.from","web.dom-collections.iterator"],"core-js/full/weak-set/of":["es.array.iterator","es.weak-set","esnext.weak-set.of"],"core-js/modules/es.aggregate-error":["es.aggregate-error"],"core-js/modules/es.aggregate-error.cause":["es.aggregate-error.cause"],"core-js/modules/es.aggregate-error.constructor":["es.aggregate-error.constructor"],"core-js/modules/es.array-buffer.constructor":["es.array-buffer.constructor"],"core-js/modules/es.array-buffer.is-view":["es.array-buffer.is-view"],"core-js/modules/es.array-buffer.slice":["es.array-buffer.slice"],"core-js/modules/es.array.at":["es.array.at"],"core-js/modules/es.array.concat":["es.array.concat"],"core-js/modules/es.array.copy-within":["es.array.copy-within"],"core-js/modules/es.array.every":["es.array.every"],"core-js/modules/es.array.fill":["es.array.fill"],"core-js/modules/es.array.filter":["es.array.filter"],"core-js/modules/es.array.find":["es.array.find"],"core-js/modules/es.array.find-index":["es.array.find-index"],"core-js/modules/es.array.flat":["es.array.flat"],"core-js/modules/es.array.flat-map":["es.array.flat-map"],"core-js/modules/es.array.for-each":["es.array.for-each"],"core-js/modules/es.array.from":["es.array.from"],"core-js/modules/es.array.includes":["es.array.includes"],"core-js/modules/es.array.index-of":["es.array.index-of"],"core-js/modules/es.array.is-array":["es.array.is-array"],"core-js/modules/es.array.iterator":["es.array.iterator"],"core-js/modules/es.array.join":["es.array.join"],"core-js/modules/es.array.last-index-of":["es.array.last-index-of"],"core-js/modules/es.array.map":["es.array.map"],"core-js/modules/es.array.of":["es.array.of"],"core-js/modules/es.array.reduce":["es.array.reduce"],"core-js/modules/es.array.reduce-right":["es.array.reduce-right"],"core-js/modules/es.array.reverse":["es.array.reverse"],"core-js/modules/es.array.slice":["es.array.slice"],"core-js/modules/es.array.some":["es.array.some"],"core-js/modules/es.array.sort":["es.array.sort"],"core-js/modules/es.array.species":["es.array.species"],"core-js/modules/es.array.splice":["es.array.splice"],"core-js/modules/es.array.unscopables.flat":["es.array.unscopables.flat"],"core-js/modules/es.array.unscopables.flat-map":["es.array.unscopables.flat-map"],"core-js/modules/es.data-view":["es.data-view"],"core-js/modules/es.data-view.constructor":["es.data-view.constructor"],"core-js/modules/es.date.get-year":["es.date.get-year"],"core-js/modules/es.date.now":["es.date.now"],"core-js/modules/es.date.set-year":["es.date.set-year"],"core-js/modules/es.date.to-gmt-string":["es.date.to-gmt-string"],"core-js/modules/es.date.to-iso-string":["es.date.to-iso-string"],"core-js/modules/es.date.to-json":["es.date.to-json"],"core-js/modules/es.date.to-primitive":["es.date.to-primitive"],"core-js/modules/es.date.to-string":["es.date.to-string"],"core-js/modules/es.error.cause":["es.error.cause"],"core-js/modules/es.error.to-string":["es.error.to-string"],"core-js/modules/es.escape":["es.escape"],"core-js/modules/es.function.bind":["es.function.bind"],"core-js/modules/es.function.has-instance":["es.function.has-instance"],"core-js/modules/es.function.name":["es.function.name"],"core-js/modules/es.global-this":["es.global-this"],"core-js/modules/es.json.stringify":["es.json.stringify"],"core-js/modules/es.json.to-string-tag":["es.json.to-string-tag"],"core-js/modules/es.map":["es.map"],"core-js/modules/es.map.constructor":["es.map.constructor"],"core-js/modules/es.math.acosh":["es.math.acosh"],"core-js/modules/es.math.asinh":["es.math.asinh"],"core-js/modules/es.math.atanh":["es.math.atanh"],"core-js/modules/es.math.cbrt":["es.math.cbrt"],"core-js/modules/es.math.clz32":["es.math.clz32"],"core-js/modules/es.math.cosh":["es.math.cosh"],"core-js/modules/es.math.expm1":["es.math.expm1"],"core-js/modules/es.math.fround":["es.math.fround"],"core-js/modules/es.math.hypot":["es.math.hypot"],"core-js/modules/es.math.imul":["es.math.imul"],"core-js/modules/es.math.log10":["es.math.log10"],"core-js/modules/es.math.log1p":["es.math.log1p"],"core-js/modules/es.math.log2":["es.math.log2"],"core-js/modules/es.math.sign":["es.math.sign"],"core-js/modules/es.math.sinh":["es.math.sinh"],"core-js/modules/es.math.tanh":["es.math.tanh"],"core-js/modules/es.math.to-string-tag":["es.math.to-string-tag"],"core-js/modules/es.math.trunc":["es.math.trunc"],"core-js/modules/es.number.constructor":["es.number.constructor"],"core-js/modules/es.number.epsilon":["es.number.epsilon"],"core-js/modules/es.number.is-finite":["es.number.is-finite"],"core-js/modules/es.number.is-integer":["es.number.is-integer"],"core-js/modules/es.number.is-nan":["es.number.is-nan"],"core-js/modules/es.number.is-safe-integer":["es.number.is-safe-integer"],"core-js/modules/es.number.max-safe-integer":["es.number.max-safe-integer"],"core-js/modules/es.number.min-safe-integer":["es.number.min-safe-integer"],"core-js/modules/es.number.parse-float":["es.number.parse-float"],"core-js/modules/es.number.parse-int":["es.number.parse-int"],"core-js/modules/es.number.to-exponential":["es.number.to-exponential"],"core-js/modules/es.number.to-fixed":["es.number.to-fixed"],"core-js/modules/es.number.to-precision":["es.number.to-precision"],"core-js/modules/es.object.assign":["es.object.assign"],"core-js/modules/es.object.create":["es.object.create"],"core-js/modules/es.object.define-getter":["es.object.define-getter"],"core-js/modules/es.object.define-properties":["es.object.define-properties"],"core-js/modules/es.object.define-property":["es.object.define-property"],"core-js/modules/es.object.define-setter":["es.object.define-setter"],"core-js/modules/es.object.entries":["es.object.entries"],"core-js/modules/es.object.freeze":["es.object.freeze"],"core-js/modules/es.object.from-entries":["es.object.from-entries"],"core-js/modules/es.object.get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/modules/es.object.get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/modules/es.object.get-own-property-names":["es.object.get-own-property-names"],"core-js/modules/es.object.get-own-property-symbols":["es.object.get-own-property-symbols"],"core-js/modules/es.object.get-prototype-of":["es.object.get-prototype-of"],"core-js/modules/es.object.has-own":["es.object.has-own"],"core-js/modules/es.object.is":["es.object.is"],"core-js/modules/es.object.is-extensible":["es.object.is-extensible"],"core-js/modules/es.object.is-frozen":["es.object.is-frozen"],"core-js/modules/es.object.is-sealed":["es.object.is-sealed"],"core-js/modules/es.object.keys":["es.object.keys"],"core-js/modules/es.object.lookup-getter":["es.object.lookup-getter"],"core-js/modules/es.object.lookup-setter":["es.object.lookup-setter"],"core-js/modules/es.object.prevent-extensions":["es.object.prevent-extensions"],"core-js/modules/es.object.seal":["es.object.seal"],"core-js/modules/es.object.set-prototype-of":["es.object.set-prototype-of"],"core-js/modules/es.object.to-string":["es.object.to-string"],"core-js/modules/es.object.values":["es.object.values"],"core-js/modules/es.parse-float":["es.parse-float"],"core-js/modules/es.parse-int":["es.parse-int"],"core-js/modules/es.promise":["es.promise"],"core-js/modules/es.promise.all":["es.promise.all"],"core-js/modules/es.promise.all-settled":["es.promise.all-settled"],"core-js/modules/es.promise.any":["es.promise.any"],"core-js/modules/es.promise.catch":["es.promise.catch"],"core-js/modules/es.promise.constructor":["es.promise.constructor"],"core-js/modules/es.promise.finally":["es.promise.finally"],"core-js/modules/es.promise.race":["es.promise.race"],"core-js/modules/es.promise.reject":["es.promise.reject"],"core-js/modules/es.promise.resolve":["es.promise.resolve"],"core-js/modules/es.reflect.apply":["es.reflect.apply"],"core-js/modules/es.reflect.construct":["es.reflect.construct"],"core-js/modules/es.reflect.define-property":["es.reflect.define-property"],"core-js/modules/es.reflect.delete-property":["es.reflect.delete-property"],"core-js/modules/es.reflect.get":["es.reflect.get"],"core-js/modules/es.reflect.get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/modules/es.reflect.get-prototype-of":["es.reflect.get-prototype-of"],"core-js/modules/es.reflect.has":["es.reflect.has"],"core-js/modules/es.reflect.is-extensible":["es.reflect.is-extensible"],"core-js/modules/es.reflect.own-keys":["es.reflect.own-keys"],"core-js/modules/es.reflect.prevent-extensions":["es.reflect.prevent-extensions"],"core-js/modules/es.reflect.set":["es.reflect.set"],"core-js/modules/es.reflect.set-prototype-of":["es.reflect.set-prototype-of"],"core-js/modules/es.reflect.to-string-tag":["es.reflect.to-string-tag"],"core-js/modules/es.regexp.constructor":["es.regexp.constructor"],"core-js/modules/es.regexp.dot-all":["es.regexp.dot-all"],"core-js/modules/es.regexp.exec":["es.regexp.exec"],"core-js/modules/es.regexp.flags":["es.regexp.flags"],"core-js/modules/es.regexp.sticky":["es.regexp.sticky"],"core-js/modules/es.regexp.test":["es.regexp.test"],"core-js/modules/es.regexp.to-string":["es.regexp.to-string"],"core-js/modules/es.set":["es.set"],"core-js/modules/es.set.constructor":["es.set.constructor"],"core-js/modules/es.string.anchor":["es.string.anchor"],"core-js/modules/es.string.at-alternative":["es.string.at-alternative"],"core-js/modules/es.string.big":["es.string.big"],"core-js/modules/es.string.blink":["es.string.blink"],"core-js/modules/es.string.bold":["es.string.bold"],"core-js/modules/es.string.code-point-at":["es.string.code-point-at"],"core-js/modules/es.string.ends-with":["es.string.ends-with"],"core-js/modules/es.string.fixed":["es.string.fixed"],"core-js/modules/es.string.fontcolor":["es.string.fontcolor"],"core-js/modules/es.string.fontsize":["es.string.fontsize"],"core-js/modules/es.string.from-code-point":["es.string.from-code-point"],"core-js/modules/es.string.includes":["es.string.includes"],"core-js/modules/es.string.italics":["es.string.italics"],"core-js/modules/es.string.iterator":["es.string.iterator"],"core-js/modules/es.string.link":["es.string.link"],"core-js/modules/es.string.match":["es.string.match"],"core-js/modules/es.string.match-all":["es.string.match-all"],"core-js/modules/es.string.pad-end":["es.string.pad-end"],"core-js/modules/es.string.pad-start":["es.string.pad-start"],"core-js/modules/es.string.raw":["es.string.raw"],"core-js/modules/es.string.repeat":["es.string.repeat"],"core-js/modules/es.string.replace":["es.string.replace"],"core-js/modules/es.string.replace-all":["es.string.replace-all"],"core-js/modules/es.string.search":["es.string.search"],"core-js/modules/es.string.small":["es.string.small"],"core-js/modules/es.string.split":["es.string.split"],"core-js/modules/es.string.starts-with":["es.string.starts-with"],"core-js/modules/es.string.strike":["es.string.strike"],"core-js/modules/es.string.sub":["es.string.sub"],"core-js/modules/es.string.substr":["es.string.substr"],"core-js/modules/es.string.sup":["es.string.sup"],"core-js/modules/es.string.trim":["es.string.trim"],"core-js/modules/es.string.trim-end":["es.string.trim-end"],"core-js/modules/es.string.trim-left":["es.string.trim-left"],"core-js/modules/es.string.trim-right":["es.string.trim-right"],"core-js/modules/es.string.trim-start":["es.string.trim-start"],"core-js/modules/es.symbol":["es.symbol"],"core-js/modules/es.symbol.async-iterator":["es.symbol.async-iterator"],"core-js/modules/es.symbol.constructor":["es.symbol.constructor"],"core-js/modules/es.symbol.description":["es.symbol.description"],"core-js/modules/es.symbol.for":["es.symbol.for"],"core-js/modules/es.symbol.has-instance":["es.symbol.has-instance"],"core-js/modules/es.symbol.is-concat-spreadable":["es.symbol.is-concat-spreadable"],"core-js/modules/es.symbol.iterator":["es.symbol.iterator"],"core-js/modules/es.symbol.key-for":["es.symbol.key-for"],"core-js/modules/es.symbol.match":["es.symbol.match"],"core-js/modules/es.symbol.match-all":["es.symbol.match-all"],"core-js/modules/es.symbol.replace":["es.symbol.replace"],"core-js/modules/es.symbol.search":["es.symbol.search"],"core-js/modules/es.symbol.species":["es.symbol.species"],"core-js/modules/es.symbol.split":["es.symbol.split"],"core-js/modules/es.symbol.to-primitive":["es.symbol.to-primitive"],"core-js/modules/es.symbol.to-string-tag":["es.symbol.to-string-tag"],"core-js/modules/es.symbol.unscopables":["es.symbol.unscopables"],"core-js/modules/es.typed-array.at":["es.typed-array.at"],"core-js/modules/es.typed-array.copy-within":["es.typed-array.copy-within"],"core-js/modules/es.typed-array.every":["es.typed-array.every"],"core-js/modules/es.typed-array.fill":["es.typed-array.fill"],"core-js/modules/es.typed-array.filter":["es.typed-array.filter"],"core-js/modules/es.typed-array.find":["es.typed-array.find"],"core-js/modules/es.typed-array.find-index":["es.typed-array.find-index"],"core-js/modules/es.typed-array.float32-array":["es.typed-array.float32-array"],"core-js/modules/es.typed-array.float64-array":["es.typed-array.float64-array"],"core-js/modules/es.typed-array.for-each":["es.typed-array.for-each"],"core-js/modules/es.typed-array.from":["es.typed-array.from"],"core-js/modules/es.typed-array.includes":["es.typed-array.includes"],"core-js/modules/es.typed-array.index-of":["es.typed-array.index-of"],"core-js/modules/es.typed-array.int16-array":["es.typed-array.int16-array"],"core-js/modules/es.typed-array.int32-array":["es.typed-array.int32-array"],"core-js/modules/es.typed-array.int8-array":["es.typed-array.int8-array"],"core-js/modules/es.typed-array.iterator":["es.typed-array.iterator"],"core-js/modules/es.typed-array.join":["es.typed-array.join"],"core-js/modules/es.typed-array.last-index-of":["es.typed-array.last-index-of"],"core-js/modules/es.typed-array.map":["es.typed-array.map"],"core-js/modules/es.typed-array.of":["es.typed-array.of"],"core-js/modules/es.typed-array.reduce":["es.typed-array.reduce"],"core-js/modules/es.typed-array.reduce-right":["es.typed-array.reduce-right"],"core-js/modules/es.typed-array.reverse":["es.typed-array.reverse"],"core-js/modules/es.typed-array.set":["es.typed-array.set"],"core-js/modules/es.typed-array.slice":["es.typed-array.slice"],"core-js/modules/es.typed-array.some":["es.typed-array.some"],"core-js/modules/es.typed-array.sort":["es.typed-array.sort"],"core-js/modules/es.typed-array.subarray":["es.typed-array.subarray"],"core-js/modules/es.typed-array.to-locale-string":["es.typed-array.to-locale-string"],"core-js/modules/es.typed-array.to-string":["es.typed-array.to-string"],"core-js/modules/es.typed-array.uint16-array":["es.typed-array.uint16-array"],"core-js/modules/es.typed-array.uint32-array":["es.typed-array.uint32-array"],"core-js/modules/es.typed-array.uint8-array":["es.typed-array.uint8-array"],"core-js/modules/es.typed-array.uint8-clamped-array":["es.typed-array.uint8-clamped-array"],"core-js/modules/es.unescape":["es.unescape"],"core-js/modules/es.weak-map":["es.weak-map"],"core-js/modules/es.weak-map.constructor":["es.weak-map.constructor"],"core-js/modules/es.weak-set":["es.weak-set"],"core-js/modules/es.weak-set.constructor":["es.weak-set.constructor"],"core-js/modules/esnext.aggregate-error":["esnext.aggregate-error"],"core-js/modules/esnext.array.at":["esnext.array.at"],"core-js/modules/esnext.array.filter-out":["esnext.array.filter-out"],"core-js/modules/esnext.array.filter-reject":["esnext.array.filter-reject"],"core-js/modules/esnext.array.find-last":["esnext.array.find-last"],"core-js/modules/esnext.array.find-last-index":["esnext.array.find-last-index"],"core-js/modules/esnext.array.from-async":["esnext.array.from-async"],"core-js/modules/esnext.array.group-by":["esnext.array.group-by"],"core-js/modules/esnext.array.group-by-to-map":["esnext.array.group-by-to-map"],"core-js/modules/esnext.array.is-template-object":["esnext.array.is-template-object"],"core-js/modules/esnext.array.last-index":["esnext.array.last-index"],"core-js/modules/esnext.array.last-item":["esnext.array.last-item"],"core-js/modules/esnext.array.to-reversed":["esnext.array.to-reversed"],"core-js/modules/esnext.array.to-sorted":["esnext.array.to-sorted"],"core-js/modules/esnext.array.to-spliced":["esnext.array.to-spliced"],"core-js/modules/esnext.array.unique-by":["esnext.array.unique-by"],"core-js/modules/esnext.array.with":["esnext.array.with"],"core-js/modules/esnext.async-iterator.as-indexed-pairs":["esnext.async-iterator.as-indexed-pairs"],"core-js/modules/esnext.async-iterator.constructor":["esnext.async-iterator.constructor"],"core-js/modules/esnext.async-iterator.drop":["esnext.async-iterator.drop"],"core-js/modules/esnext.async-iterator.every":["esnext.async-iterator.every"],"core-js/modules/esnext.async-iterator.filter":["esnext.async-iterator.filter"],"core-js/modules/esnext.async-iterator.find":["esnext.async-iterator.find"],"core-js/modules/esnext.async-iterator.flat-map":["esnext.async-iterator.flat-map"],"core-js/modules/esnext.async-iterator.for-each":["esnext.async-iterator.for-each"],"core-js/modules/esnext.async-iterator.from":["esnext.async-iterator.from"],"core-js/modules/esnext.async-iterator.map":["esnext.async-iterator.map"],"core-js/modules/esnext.async-iterator.reduce":["esnext.async-iterator.reduce"],"core-js/modules/esnext.async-iterator.some":["esnext.async-iterator.some"],"core-js/modules/esnext.async-iterator.take":["esnext.async-iterator.take"],"core-js/modules/esnext.async-iterator.to-array":["esnext.async-iterator.to-array"],"core-js/modules/esnext.bigint.range":["esnext.bigint.range"],"core-js/modules/esnext.composite-key":["esnext.composite-key"],"core-js/modules/esnext.composite-symbol":["esnext.composite-symbol"],"core-js/modules/esnext.function.is-callable":["esnext.function.is-callable"],"core-js/modules/esnext.function.is-constructor":["esnext.function.is-constructor"],"core-js/modules/esnext.function.un-this":["esnext.function.un-this"],"core-js/modules/esnext.global-this":["esnext.global-this"],"core-js/modules/esnext.iterator.as-indexed-pairs":["esnext.iterator.as-indexed-pairs"],"core-js/modules/esnext.iterator.constructor":["esnext.iterator.constructor"],"core-js/modules/esnext.iterator.drop":["esnext.iterator.drop"],"core-js/modules/esnext.iterator.every":["esnext.iterator.every"],"core-js/modules/esnext.iterator.filter":["esnext.iterator.filter"],"core-js/modules/esnext.iterator.find":["esnext.iterator.find"],"core-js/modules/esnext.iterator.flat-map":["esnext.iterator.flat-map"],"core-js/modules/esnext.iterator.for-each":["esnext.iterator.for-each"],"core-js/modules/esnext.iterator.from":["esnext.iterator.from"],"core-js/modules/esnext.iterator.map":["esnext.iterator.map"],"core-js/modules/esnext.iterator.reduce":["esnext.iterator.reduce"],"core-js/modules/esnext.iterator.some":["esnext.iterator.some"],"core-js/modules/esnext.iterator.take":["esnext.iterator.take"],"core-js/modules/esnext.iterator.to-array":["esnext.iterator.to-array"],"core-js/modules/esnext.iterator.to-async":["esnext.iterator.to-async"],"core-js/modules/esnext.map.delete-all":["esnext.map.delete-all"],"core-js/modules/esnext.map.emplace":["esnext.map.emplace"],"core-js/modules/esnext.map.every":["esnext.map.every"],"core-js/modules/esnext.map.filter":["esnext.map.filter"],"core-js/modules/esnext.map.find":["esnext.map.find"],"core-js/modules/esnext.map.find-key":["esnext.map.find-key"],"core-js/modules/esnext.map.from":["esnext.map.from"],"core-js/modules/esnext.map.group-by":["esnext.map.group-by"],"core-js/modules/esnext.map.includes":["esnext.map.includes"],"core-js/modules/esnext.map.key-by":["esnext.map.key-by"],"core-js/modules/esnext.map.key-of":["esnext.map.key-of"],"core-js/modules/esnext.map.map-keys":["esnext.map.map-keys"],"core-js/modules/esnext.map.map-values":["esnext.map.map-values"],"core-js/modules/esnext.map.merge":["esnext.map.merge"],"core-js/modules/esnext.map.of":["esnext.map.of"],"core-js/modules/esnext.map.reduce":["esnext.map.reduce"],"core-js/modules/esnext.map.some":["esnext.map.some"],"core-js/modules/esnext.map.update":["esnext.map.update"],"core-js/modules/esnext.map.update-or-insert":["esnext.map.update-or-insert"],"core-js/modules/esnext.map.upsert":["esnext.map.upsert"],"core-js/modules/esnext.math.clamp":["esnext.math.clamp"],"core-js/modules/esnext.math.deg-per-rad":["esnext.math.deg-per-rad"],"core-js/modules/esnext.math.degrees":["esnext.math.degrees"],"core-js/modules/esnext.math.fscale":["esnext.math.fscale"],"core-js/modules/esnext.math.iaddh":["esnext.math.iaddh"],"core-js/modules/esnext.math.imulh":["esnext.math.imulh"],"core-js/modules/esnext.math.isubh":["esnext.math.isubh"],"core-js/modules/esnext.math.rad-per-deg":["esnext.math.rad-per-deg"],"core-js/modules/esnext.math.radians":["esnext.math.radians"],"core-js/modules/esnext.math.scale":["esnext.math.scale"],"core-js/modules/esnext.math.seeded-prng":["esnext.math.seeded-prng"],"core-js/modules/esnext.math.signbit":["esnext.math.signbit"],"core-js/modules/esnext.math.umulh":["esnext.math.umulh"],"core-js/modules/esnext.number.from-string":["esnext.number.from-string"],"core-js/modules/esnext.number.range":["esnext.number.range"],"core-js/modules/esnext.object.has-own":["esnext.object.has-own"],"core-js/modules/esnext.object.iterate-entries":["esnext.object.iterate-entries"],"core-js/modules/esnext.object.iterate-keys":["esnext.object.iterate-keys"],"core-js/modules/esnext.object.iterate-values":["esnext.object.iterate-values"],"core-js/modules/esnext.observable":["esnext.observable"],"core-js/modules/esnext.observable.constructor":["esnext.observable.constructor"],"core-js/modules/esnext.observable.from":["esnext.observable.from"],"core-js/modules/esnext.observable.of":["esnext.observable.of"],"core-js/modules/esnext.promise.all-settled":["esnext.promise.all-settled"],"core-js/modules/esnext.promise.any":["esnext.promise.any"],"core-js/modules/esnext.promise.try":["esnext.promise.try"],"core-js/modules/esnext.reflect.define-metadata":["esnext.reflect.define-metadata"],"core-js/modules/esnext.reflect.delete-metadata":["esnext.reflect.delete-metadata"],"core-js/modules/esnext.reflect.get-metadata":["esnext.reflect.get-metadata"],"core-js/modules/esnext.reflect.get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/modules/esnext.reflect.get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/modules/esnext.reflect.get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/modules/esnext.reflect.has-metadata":["esnext.reflect.has-metadata"],"core-js/modules/esnext.reflect.has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/modules/esnext.reflect.metadata":["esnext.reflect.metadata"],"core-js/modules/esnext.set.add-all":["esnext.set.add-all"],"core-js/modules/esnext.set.delete-all":["esnext.set.delete-all"],"core-js/modules/esnext.set.difference":["esnext.set.difference"],"core-js/modules/esnext.set.every":["esnext.set.every"],"core-js/modules/esnext.set.filter":["esnext.set.filter"],"core-js/modules/esnext.set.find":["esnext.set.find"],"core-js/modules/esnext.set.from":["esnext.set.from"],"core-js/modules/esnext.set.intersection":["esnext.set.intersection"],"core-js/modules/esnext.set.is-disjoint-from":["esnext.set.is-disjoint-from"],"core-js/modules/esnext.set.is-subset-of":["esnext.set.is-subset-of"],"core-js/modules/esnext.set.is-superset-of":["esnext.set.is-superset-of"],"core-js/modules/esnext.set.join":["esnext.set.join"],"core-js/modules/esnext.set.map":["esnext.set.map"],"core-js/modules/esnext.set.of":["esnext.set.of"],"core-js/modules/esnext.set.reduce":["esnext.set.reduce"],"core-js/modules/esnext.set.some":["esnext.set.some"],"core-js/modules/esnext.set.symmetric-difference":["esnext.set.symmetric-difference"],"core-js/modules/esnext.set.union":["esnext.set.union"],"core-js/modules/esnext.string.at":["esnext.string.at"],"core-js/modules/esnext.string.at-alternative":["esnext.string.at-alternative"],"core-js/modules/esnext.string.code-points":["esnext.string.code-points"],"core-js/modules/esnext.string.cooked":["esnext.string.cooked"],"core-js/modules/esnext.string.match-all":["esnext.string.match-all"],"core-js/modules/esnext.string.replace-all":["esnext.string.replace-all"],"core-js/modules/esnext.symbol.async-dispose":["esnext.symbol.async-dispose"],"core-js/modules/esnext.symbol.dispose":["esnext.symbol.dispose"],"core-js/modules/esnext.symbol.matcher":["esnext.symbol.matcher"],"core-js/modules/esnext.symbol.metadata":["esnext.symbol.metadata"],"core-js/modules/esnext.symbol.observable":["esnext.symbol.observable"],"core-js/modules/esnext.symbol.pattern-match":["esnext.symbol.pattern-match"],"core-js/modules/esnext.symbol.replace-all":["esnext.symbol.replace-all"],"core-js/modules/esnext.typed-array.at":["esnext.typed-array.at"],"core-js/modules/esnext.typed-array.filter-out":["esnext.typed-array.filter-out"],"core-js/modules/esnext.typed-array.filter-reject":["esnext.typed-array.filter-reject"],"core-js/modules/esnext.typed-array.find-last":["esnext.typed-array.find-last"],"core-js/modules/esnext.typed-array.find-last-index":["esnext.typed-array.find-last-index"],"core-js/modules/esnext.typed-array.from-async":["esnext.typed-array.from-async"],"core-js/modules/esnext.typed-array.group-by":["esnext.typed-array.group-by"],"core-js/modules/esnext.typed-array.to-reversed":["esnext.typed-array.to-reversed"],"core-js/modules/esnext.typed-array.to-sorted":["esnext.typed-array.to-sorted"],"core-js/modules/esnext.typed-array.to-spliced":["esnext.typed-array.to-spliced"],"core-js/modules/esnext.typed-array.unique-by":["esnext.typed-array.unique-by"],"core-js/modules/esnext.typed-array.with":["esnext.typed-array.with"],"core-js/modules/esnext.weak-map.delete-all":["esnext.weak-map.delete-all"],"core-js/modules/esnext.weak-map.emplace":["esnext.weak-map.emplace"],"core-js/modules/esnext.weak-map.from":["esnext.weak-map.from"],"core-js/modules/esnext.weak-map.of":["esnext.weak-map.of"],"core-js/modules/esnext.weak-map.upsert":["esnext.weak-map.upsert"],"core-js/modules/esnext.weak-set.add-all":["esnext.weak-set.add-all"],"core-js/modules/esnext.weak-set.delete-all":["esnext.weak-set.delete-all"],"core-js/modules/esnext.weak-set.from":["esnext.weak-set.from"],"core-js/modules/esnext.weak-set.of":["esnext.weak-set.of"],"core-js/modules/web.atob":["web.atob"],"core-js/modules/web.btoa":["web.btoa"],"core-js/modules/web.clear-immediate":["web.clear-immediate"],"core-js/modules/web.dom-collections.for-each":["web.dom-collections.for-each"],"core-js/modules/web.dom-collections.iterator":["web.dom-collections.iterator"],"core-js/modules/web.dom-exception.constructor":["web.dom-exception.constructor"],"core-js/modules/web.dom-exception.stack":["web.dom-exception.stack"],"core-js/modules/web.dom-exception.to-string-tag":["web.dom-exception.to-string-tag"],"core-js/modules/web.immediate":["web.immediate"],"core-js/modules/web.queue-microtask":["web.queue-microtask"],"core-js/modules/web.set-immediate":["web.set-immediate"],"core-js/modules/web.set-interval":["web.set-interval"],"core-js/modules/web.set-timeout":["web.set-timeout"],"core-js/modules/web.structured-clone":["web.structured-clone"],"core-js/modules/web.timers":["web.timers"],"core-js/modules/web.url":["web.url"],"core-js/modules/web.url-search-params":["web.url-search-params"],"core-js/modules/web.url-search-params.constructor":["web.url-search-params.constructor"],"core-js/modules/web.url.constructor":["web.url.constructor"],"core-js/modules/web.url.to-json":["web.url.to-json"],"core-js/proposals":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/proposals/accessible-object-hasownproperty":["esnext.object.has-own"],"core-js/proposals/array-filtering":["esnext.array.filter-out","esnext.array.filter-reject","esnext.typed-array.filter-out","esnext.typed-array.filter-reject"],"core-js/proposals/array-filtering-stage-1":["esnext.array.filter-reject","esnext.typed-array.filter-reject"],"core-js/proposals/array-find-from-last":["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index"],"core-js/proposals/array-flat-map":["es.array.flat","es.array.flat-map","es.array.unscopables.flat","es.array.unscopables.flat-map"],"core-js/proposals/array-from-async":["esnext.array.from-async","esnext.typed-array.from-async"],"core-js/proposals/array-from-async-stage-2":["esnext.array.from-async"],"core-js/proposals/array-grouping":["esnext.array.group-by","esnext.array.group-by-to-map","esnext.typed-array.group-by"],"core-js/proposals/array-grouping-stage-3":["esnext.array.group-by","esnext.array.group-by-to-map"],"core-js/proposals/array-includes":["es.array.includes","es.typed-array.includes"],"core-js/proposals/array-is-template-object":["esnext.array.is-template-object"],"core-js/proposals/array-last":["esnext.array.last-index","esnext.array.last-item"],"core-js/proposals/array-unique":["es.map","esnext.array.unique-by","esnext.typed-array.unique-by"],"core-js/proposals/async-iteration":["es.symbol.async-iterator"],"core-js/proposals/change-array-by-copy":["esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/proposals/collection-methods":["esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.set.add-all","esnext.set.delete-all","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.weak-map.delete-all","esnext.weak-set.add-all","esnext.weak-set.delete-all"],"core-js/proposals/collection-of-from":["esnext.map.from","esnext.map.of","esnext.set.from","esnext.set.of","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.from","esnext.weak-set.of"],"core-js/proposals/decorators":["esnext.symbol.metadata"],"core-js/proposals/efficient-64-bit-arithmetic":["esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.umulh"],"core-js/proposals/error-cause":["es.error.cause","es.aggregate-error.cause"],"core-js/proposals/function-is-callable-is-constructor":["esnext.function.is-callable","esnext.function.is-constructor"],"core-js/proposals/function-un-this":["esnext.function.un-this"],"core-js/proposals/global-this":["esnext.global-this"],"core-js/proposals/iterator-helpers":["esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async"],"core-js/proposals/keys-composition":["esnext.composite-key","esnext.composite-symbol"],"core-js/proposals/map-update-or-insert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/map-upsert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/map-upsert-stage-2":["esnext.map.emplace","esnext.weak-map.emplace"],"core-js/proposals/math-extensions":["esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale"],"core-js/proposals/math-signbit":["esnext.math.signbit"],"core-js/proposals/number-from-string":["esnext.number.from-string"],"core-js/proposals/number-range":["esnext.bigint.range","esnext.number.range"],"core-js/proposals/object-from-entries":["es.object.from-entries"],"core-js/proposals/object-getownpropertydescriptors":["es.object.get-own-property-descriptors"],"core-js/proposals/object-iteration":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"core-js/proposals/object-values-entries":["es.object.entries","es.object.values"],"core-js/proposals/observable":["esnext.observable","esnext.symbol.observable"],"core-js/proposals/pattern-matching":["esnext.symbol.matcher","esnext.symbol.pattern-match"],"core-js/proposals/promise-all-settled":["esnext.promise.all-settled"],"core-js/proposals/promise-any":["esnext.aggregate-error","esnext.promise.any"],"core-js/proposals/promise-finally":["es.promise.finally"],"core-js/proposals/promise-try":["esnext.promise.try"],"core-js/proposals/reflect-metadata":["esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/proposals/regexp-dotall-flag":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags"],"core-js/proposals/regexp-named-groups":["es.regexp.constructor","es.regexp.exec","es.string.replace"],"core-js/proposals/relative-indexing-method":["es.string.at-alternative","esnext.array.at","esnext.typed-array.at"],"core-js/proposals/seeded-random":["esnext.math.seeded-prng"],"core-js/proposals/set-methods":["esnext.set.difference","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.symmetric-difference","esnext.set.union"],"core-js/proposals/string-at":["esnext.string.at"],"core-js/proposals/string-code-points":["esnext.string.code-points"],"core-js/proposals/string-cooked":["esnext.string.cooked"],"core-js/proposals/string-left-right-trim":["es.string.trim-end","es.string.trim-start"],"core-js/proposals/string-match-all":["esnext.string.match-all"],"core-js/proposals/string-padding":["es.string.pad-end","es.string.pad-start"],"core-js/proposals/string-replace-all":["esnext.string.replace-all","esnext.symbol.replace-all"],"core-js/proposals/string-replace-all-stage-4":["esnext.string.replace-all"],"core-js/proposals/symbol-description":["es.symbol.description"],"core-js/proposals/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/proposals/using-statement":["esnext.symbol.async-dispose","esnext.symbol.dispose"],"core-js/proposals/well-formed-stringify":["es.json.stringify"],"core-js/stable":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.unescape","es.weak-map","es.weak-set","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.structured-clone","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/stable/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/stable/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.object.to-string","es.string.iterator"],"core-js/stable/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/stable/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"],"core-js/stable/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/stable/array-buffer/slice":["es.array-buffer.slice"],"core-js/stable/array/at":["es.array.at"],"core-js/stable/array/concat":["es.array.concat"],"core-js/stable/array/copy-within":["es.array.copy-within"],"core-js/stable/array/entries":["es.array.iterator","es.object.to-string"],"core-js/stable/array/every":["es.array.every"],"core-js/stable/array/fill":["es.array.fill"],"core-js/stable/array/filter":["es.array.filter"],"core-js/stable/array/find":["es.array.find"],"core-js/stable/array/find-index":["es.array.find-index"],"core-js/stable/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/for-each":["es.array.for-each"],"core-js/stable/array/from":["es.array.from","es.string.iterator"],"core-js/stable/array/includes":["es.array.includes"],"core-js/stable/array/index-of":["es.array.index-of"],"core-js/stable/array/is-array":["es.array.is-array"],"core-js/stable/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/stable/array/join":["es.array.join"],"core-js/stable/array/keys":["es.array.iterator","es.object.to-string"],"core-js/stable/array/last-index-of":["es.array.last-index-of"],"core-js/stable/array/map":["es.array.map"],"core-js/stable/array/of":["es.array.of"],"core-js/stable/array/reduce":["es.array.reduce"],"core-js/stable/array/reduce-right":["es.array.reduce-right"],"core-js/stable/array/reverse":["es.array.reverse"],"core-js/stable/array/slice":["es.array.slice"],"core-js/stable/array/some":["es.array.some"],"core-js/stable/array/sort":["es.array.sort"],"core-js/stable/array/splice":["es.array.splice"],"core-js/stable/array/values":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.object.to-string"],"core-js/stable/array/virtual/at":["es.array.at"],"core-js/stable/array/virtual/concat":["es.array.concat"],"core-js/stable/array/virtual/copy-within":["es.array.copy-within"],"core-js/stable/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual/every":["es.array.every"],"core-js/stable/array/virtual/fill":["es.array.fill"],"core-js/stable/array/virtual/filter":["es.array.filter"],"core-js/stable/array/virtual/find":["es.array.find"],"core-js/stable/array/virtual/find-index":["es.array.find-index"],"core-js/stable/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/virtual/for-each":["es.array.for-each"],"core-js/stable/array/virtual/includes":["es.array.includes"],"core-js/stable/array/virtual/index-of":["es.array.index-of"],"core-js/stable/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual/join":["es.array.join"],"core-js/stable/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/stable/array/virtual/map":["es.array.map"],"core-js/stable/array/virtual/reduce":["es.array.reduce"],"core-js/stable/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/stable/array/virtual/reverse":["es.array.reverse"],"core-js/stable/array/virtual/slice":["es.array.slice"],"core-js/stable/array/virtual/some":["es.array.some"],"core-js/stable/array/virtual/sort":["es.array.sort"],"core-js/stable/array/virtual/splice":["es.array.splice"],"core-js/stable/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/stable/atob":["es.error.to-string","es.object.to-string","web.atob","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/stable/btoa":["es.error.to-string","es.object.to-string","web.btoa","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/stable/clear-immediate":["web.immediate"],"core-js/stable/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/stable/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/stable/date/get-year":["es.date.get-year"],"core-js/stable/date/now":["es.date.now"],"core-js/stable/date/set-year":["es.date.set-year"],"core-js/stable/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/stable/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/stable/date/to-json":["es.date.to-json"],"core-js/stable/date/to-primitive":["es.date.to-primitive"],"core-js/stable/date/to-string":["es.date.to-string"],"core-js/stable/dom-collections":["es.array.iterator","es.object.to-string","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/stable/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/stable/dom-collections/iterator":["es.object.to-string","web.dom-collections.iterator"],"core-js/stable/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/stable/dom-exception/constructor":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack"],"core-js/stable/dom-exception/to-string-tag":["web.dom-exception.to-string-tag"],"core-js/stable/error":["es.error.cause","es.error.to-string"],"core-js/stable/error/constructor":["es.error.cause"],"core-js/stable/error/to-string":["es.error.to-string"],"core-js/stable/escape":["es.escape"],"core-js/stable/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/stable/function/bind":["es.function.bind"],"core-js/stable/function/has-instance":["es.function.has-instance"],"core-js/stable/function/name":["es.function.name"],"core-js/stable/function/virtual":["es.function.bind"],"core-js/stable/function/virtual/bind":["es.function.bind"],"core-js/stable/get-iterator":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/get-iterator-method":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/global-this":["es.global-this"],"core-js/stable/instance/at":["es.array.at","es.string.at-alternative"],"core-js/stable/instance/bind":["es.function.bind"],"core-js/stable/instance/code-point-at":["es.string.code-point-at"],"core-js/stable/instance/concat":["es.array.concat"],"core-js/stable/instance/copy-within":["es.array.copy-within"],"core-js/stable/instance/ends-with":["es.string.ends-with"],"core-js/stable/instance/entries":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/stable/instance/every":["es.array.every"],"core-js/stable/instance/fill":["es.array.fill"],"core-js/stable/instance/filter":["es.array.filter"],"core-js/stable/instance/find":["es.array.find"],"core-js/stable/instance/find-index":["es.array.find-index"],"core-js/stable/instance/flags":["es.regexp.flags"],"core-js/stable/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/stable/instance/includes":["es.array.includes","es.string.includes"],"core-js/stable/instance/index-of":["es.array.index-of"],"core-js/stable/instance/keys":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/stable/instance/last-index-of":["es.array.last-index-of"],"core-js/stable/instance/map":["es.array.map"],"core-js/stable/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/stable/instance/pad-end":["es.string.pad-end"],"core-js/stable/instance/pad-start":["es.string.pad-start"],"core-js/stable/instance/reduce":["es.array.reduce"],"core-js/stable/instance/reduce-right":["es.array.reduce-right"],"core-js/stable/instance/repeat":["es.string.repeat"],"core-js/stable/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/stable/instance/reverse":["es.array.reverse"],"core-js/stable/instance/slice":["es.array.slice"],"core-js/stable/instance/some":["es.array.some"],"core-js/stable/instance/sort":["es.array.sort"],"core-js/stable/instance/splice":["es.array.splice"],"core-js/stable/instance/starts-with":["es.string.starts-with"],"core-js/stable/instance/trim":["es.string.trim"],"core-js/stable/instance/trim-end":["es.string.trim-end"],"core-js/stable/instance/trim-left":["es.string.trim-start"],"core-js/stable/instance/trim-right":["es.string.trim-end"],"core-js/stable/instance/trim-start":["es.string.trim-start"],"core-js/stable/instance/values":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/stable/is-iterable":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/json":["es.json.stringify","es.json.to-string-tag"],"core-js/stable/json/stringify":["es.json.stringify"],"core-js/stable/json/to-string-tag":["es.json.to-string-tag"],"core-js/stable/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/stable/math/acosh":["es.math.acosh"],"core-js/stable/math/asinh":["es.math.asinh"],"core-js/stable/math/atanh":["es.math.atanh"],"core-js/stable/math/cbrt":["es.math.cbrt"],"core-js/stable/math/clz32":["es.math.clz32"],"core-js/stable/math/cosh":["es.math.cosh"],"core-js/stable/math/expm1":["es.math.expm1"],"core-js/stable/math/fround":["es.math.fround"],"core-js/stable/math/hypot":["es.math.hypot"],"core-js/stable/math/imul":["es.math.imul"],"core-js/stable/math/log10":["es.math.log10"],"core-js/stable/math/log1p":["es.math.log1p"],"core-js/stable/math/log2":["es.math.log2"],"core-js/stable/math/sign":["es.math.sign"],"core-js/stable/math/sinh":["es.math.sinh"],"core-js/stable/math/tanh":["es.math.tanh"],"core-js/stable/math/to-string-tag":["es.math.to-string-tag"],"core-js/stable/math/trunc":["es.math.trunc"],"core-js/stable/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/constructor":["es.number.constructor"],"core-js/stable/number/epsilon":["es.number.epsilon"],"core-js/stable/number/is-finite":["es.number.is-finite"],"core-js/stable/number/is-integer":["es.number.is-integer"],"core-js/stable/number/is-nan":["es.number.is-nan"],"core-js/stable/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/stable/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/stable/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/stable/number/parse-float":["es.number.parse-float"],"core-js/stable/number/parse-int":["es.number.parse-int"],"core-js/stable/number/to-exponential":["es.number.to-exponential"],"core-js/stable/number/to-fixed":["es.number.to-fixed"],"core-js/stable/number/to-precision":["es.number.to-precision"],"core-js/stable/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/stable/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/stable/number/virtual/to-precision":["es.number.to-precision"],"core-js/stable/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","web.dom-collections.iterator"],"core-js/stable/object/assign":["es.object.assign"],"core-js/stable/object/create":["es.object.create"],"core-js/stable/object/define-getter":["es.object.define-getter"],"core-js/stable/object/define-properties":["es.object.define-properties"],"core-js/stable/object/define-property":["es.object.define-property"],"core-js/stable/object/define-setter":["es.object.define-setter"],"core-js/stable/object/entries":["es.object.entries"],"core-js/stable/object/freeze":["es.object.freeze"],"core-js/stable/object/from-entries":["es.array.iterator","es.object.from-entries","web.dom-collections.iterator"],"core-js/stable/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/stable/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/stable/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/stable/object/get-own-property-symbols":["es.symbol"],"core-js/stable/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/stable/object/has-own":["es.object.has-own"],"core-js/stable/object/is":["es.object.is"],"core-js/stable/object/is-extensible":["es.object.is-extensible"],"core-js/stable/object/is-frozen":["es.object.is-frozen"],"core-js/stable/object/is-sealed":["es.object.is-sealed"],"core-js/stable/object/keys":["es.object.keys"],"core-js/stable/object/lookup-getter":["es.object.lookup-getter"],"core-js/stable/object/lookup-setter":["es.object.lookup-setter"],"core-js/stable/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/stable/object/seal":["es.object.seal"],"core-js/stable/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/stable/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/object/values":["es.object.values"],"core-js/stable/parse-float":["es.parse-float"],"core-js/stable/parse-int":["es.parse-int"],"core-js/stable/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/stable/queue-microtask":["web.queue-microtask"],"core-js/stable/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/stable/reflect/apply":["es.reflect.apply"],"core-js/stable/reflect/construct":["es.reflect.construct"],"core-js/stable/reflect/define-property":["es.reflect.define-property"],"core-js/stable/reflect/delete-property":["es.reflect.delete-property"],"core-js/stable/reflect/get":["es.reflect.get"],"core-js/stable/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/stable/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/stable/reflect/has":["es.reflect.has"],"core-js/stable/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/stable/reflect/own-keys":["es.reflect.own-keys"],"core-js/stable/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/stable/reflect/set":["es.reflect.set"],"core-js/stable/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/stable/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/stable/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/stable/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/stable/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/stable/regexp/flags":["es.regexp.flags"],"core-js/stable/regexp/match":["es.regexp.exec","es.string.match"],"core-js/stable/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/stable/regexp/search":["es.regexp.exec","es.string.search"],"core-js/stable/regexp/split":["es.regexp.exec","es.string.split"],"core-js/stable/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/stable/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/stable/regexp/to-string":["es.regexp.to-string"],"core-js/stable/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/set-immediate":["web.immediate"],"core-js/stable/set-interval":["web.timers"],"core-js/stable/set-timeout":["web.timers"],"core-js/stable/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/anchor":["es.string.anchor"],"core-js/stable/string/at":["es.string.at-alternative"],"core-js/stable/string/big":["es.string.big"],"core-js/stable/string/blink":["es.string.blink"],"core-js/stable/string/bold":["es.string.bold"],"core-js/stable/string/code-point-at":["es.string.code-point-at"],"core-js/stable/string/ends-with":["es.string.ends-with"],"core-js/stable/string/fixed":["es.string.fixed"],"core-js/stable/string/fontcolor":["es.string.fontcolor"],"core-js/stable/string/fontsize":["es.string.fontsize"],"core-js/stable/string/from-code-point":["es.string.from-code-point"],"core-js/stable/string/includes":["es.string.includes"],"core-js/stable/string/italics":["es.string.italics"],"core-js/stable/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/stable/string/link":["es.string.link"],"core-js/stable/string/match":["es.regexp.exec","es.string.match"],"core-js/stable/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/stable/string/pad-end":["es.string.pad-end"],"core-js/stable/string/pad-start":["es.string.pad-start"],"core-js/stable/string/raw":["es.string.raw"],"core-js/stable/string/repeat":["es.string.repeat"],"core-js/stable/string/replace":["es.regexp.exec","es.string.replace"],"core-js/stable/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/stable/string/search":["es.regexp.exec","es.string.search"],"core-js/stable/string/small":["es.string.small"],"core-js/stable/string/split":["es.regexp.exec","es.string.split"],"core-js/stable/string/starts-with":["es.string.starts-with"],"core-js/stable/string/strike":["es.string.strike"],"core-js/stable/string/sub":["es.string.sub"],"core-js/stable/string/substr":["es.string.substr"],"core-js/stable/string/sup":["es.string.sup"],"core-js/stable/string/trim":["es.string.trim"],"core-js/stable/string/trim-end":["es.string.trim-end"],"core-js/stable/string/trim-left":["es.string.trim-start"],"core-js/stable/string/trim-right":["es.string.trim-end"],"core-js/stable/string/trim-start":["es.string.trim-start"],"core-js/stable/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/virtual/anchor":["es.string.anchor"],"core-js/stable/string/virtual/at":["es.string.at-alternative"],"core-js/stable/string/virtual/big":["es.string.big"],"core-js/stable/string/virtual/blink":["es.string.blink"],"core-js/stable/string/virtual/bold":["es.string.bold"],"core-js/stable/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/stable/string/virtual/ends-with":["es.string.ends-with"],"core-js/stable/string/virtual/fixed":["es.string.fixed"],"core-js/stable/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/stable/string/virtual/fontsize":["es.string.fontsize"],"core-js/stable/string/virtual/includes":["es.string.includes"],"core-js/stable/string/virtual/italics":["es.string.italics"],"core-js/stable/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/stable/string/virtual/link":["es.string.link"],"core-js/stable/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/stable/string/virtual/pad-end":["es.string.pad-end"],"core-js/stable/string/virtual/pad-start":["es.string.pad-start"],"core-js/stable/string/virtual/repeat":["es.string.repeat"],"core-js/stable/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/stable/string/virtual/small":["es.string.small"],"core-js/stable/string/virtual/starts-with":["es.string.starts-with"],"core-js/stable/string/virtual/strike":["es.string.strike"],"core-js/stable/string/virtual/sub":["es.string.sub"],"core-js/stable/string/virtual/substr":["es.string.substr"],"core-js/stable/string/virtual/sup":["es.string.sup"],"core-js/stable/string/virtual/trim":["es.string.trim"],"core-js/stable/string/virtual/trim-end":["es.string.trim-end"],"core-js/stable/string/virtual/trim-left":["es.string.trim-start"],"core-js/stable/string/virtual/trim-right":["es.string.trim-end"],"core-js/stable/string/virtual/trim-start":["es.string.trim-start"],"core-js/stable/structured-clone":["es.error.to-string","es.array.iterator","es.map","es.object.keys","es.object.to-string","es.set","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"core-js/stable/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","web.dom-collections.iterator"],"core-js/stable/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/stable/symbol/description":["es.symbol.description"],"core-js/stable/symbol/for":["es.symbol"],"core-js/stable/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/stable/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/stable/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/symbol/key-for":["es.symbol"],"core-js/stable/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/stable/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/stable/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/stable/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/stable/symbol/species":["es.symbol.species"],"core-js/stable/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/stable/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/stable/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/symbol/unscopables":["es.symbol.unscopables"],"core-js/stable/typed-array":["es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/at":["es.typed-array.at"],"core-js/stable/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/stable/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/stable/typed-array/every":["es.typed-array.every"],"core-js/stable/typed-array/fill":["es.typed-array.fill"],"core-js/stable/typed-array/filter":["es.typed-array.filter"],"core-js/stable/typed-array/find":["es.typed-array.find"],"core-js/stable/typed-array/find-index":["es.typed-array.find-index"],"core-js/stable/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/for-each":["es.typed-array.for-each"],"core-js/stable/typed-array/from":["es.typed-array.from"],"core-js/stable/typed-array/includes":["es.typed-array.includes"],"core-js/stable/typed-array/index-of":["es.typed-array.index-of"],"core-js/stable/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/stable/typed-array/join":["es.typed-array.join"],"core-js/stable/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/stable/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/stable/typed-array/map":["es.typed-array.map"],"core-js/stable/typed-array/methods":["es.object.to-string","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/of":["es.typed-array.of"],"core-js/stable/typed-array/reduce":["es.typed-array.reduce"],"core-js/stable/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/stable/typed-array/reverse":["es.typed-array.reverse"],"core-js/stable/typed-array/set":["es.typed-array.set"],"core-js/stable/typed-array/slice":["es.typed-array.slice"],"core-js/stable/typed-array/some":["es.typed-array.some"],"core-js/stable/typed-array/sort":["es.typed-array.sort"],"core-js/stable/typed-array/subarray":["es.typed-array.subarray"],"core-js/stable/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/stable/typed-array/to-string":["es.typed-array.to-string"],"core-js/stable/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string"],"core-js/stable/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/stable/unescape":["es.unescape"],"core-js/stable/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/stable/url-search-params":["web.dom-collections.iterator","web.url-search-params"],"core-js/stable/url/to-json":["web.url.to-json"],"core-js/stable/weak-map":["es.array.iterator","es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/stable/weak-set":["es.array.iterator","es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/stage":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/stage/0":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/stage/1":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of"],"core-js/stage/2":["es.string.at-alternative","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.emplace","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.set.difference","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.symmetric-difference","esnext.set.union","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.metadata","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with","esnext.weak-map.emplace"],"core-js/stage/3":["es.string.at-alternative","esnext.aggregate-error","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.global-this","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/stage/4":["es.string.at-alternative","esnext.aggregate-error","esnext.array.at","esnext.global-this","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.typed-array.at"],"core-js/stage/pre":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.to-json","web.url-search-params"],"core-js/web":["web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.structured-clone","web.timers","web.url","web.url.to-json","web.url-search-params"],"core-js/web/dom-collections":["web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/web/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/web/immediate":["web.immediate"],"core-js/web/queue-microtask":["web.queue-microtask"],"core-js/web/structured-clone":["es.array.iterator","es.map","es.object.to-string","es.set","web.structured-clone"],"core-js/web/timers":["web.timers"],"core-js/web/url":["web.url","web.url.to-json","web.url-search-params"],"core-js/web/url-search-params":["web.url-search-params"]}')},4232:e=>{"use strict";e.exports=JSON.parse('{"3.0":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.last-index","esnext.array.last-item","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"3.1":["es.string.match-all","es.symbol.match-all","esnext.symbol.replace-all"],"3.2":["es.promise.all-settled","esnext.array.is-template-object","esnext.map.update-or-insert","esnext.symbol.async-dispose"],"3.3":["es.global-this","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.upsert","esnext.weak-map.upsert"],"3.4":["es.json.stringify"],"3.5":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"3.6":["es.regexp.sticky","es.regexp.test"],"3.7":["es.aggregate-error","es.promise.any","es.reflect.to-string-tag","es.string.replace-all","esnext.map.emplace","esnext.weak-map.emplace"],"3.8":["esnext.array.at","esnext.array.filter-out","esnext.array.unique-by","esnext.bigint.range","esnext.number.range","esnext.typed-array.at","esnext.typed-array.filter-out"],"3.9":["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by"],"3.11":["esnext.object.has-own"],"3.12":["esnext.symbol.matcher","esnext.symbol.metadata"],"3.15":["es.date.get-year","es.date.set-year","es.date.to-gmt-string","es.escape","es.regexp.dot-all","es.string.substr","es.unescape"],"3.16":["esnext.array.filter-reject","esnext.array.group-by","esnext.typed-array.filter-reject","esnext.typed-array.group-by"],"3.17":["es.array.at","es.object.has-own","es.string.at-alternative","es.typed-array.at"],"3.18":["esnext.array.from-async","esnext.typed-array.from-async"],"3.20":["es.error.cause","es.error.to-string","es.aggregate-error.cause","es.number.to-exponential","esnext.array.group-by-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.iterator.to-async","esnext.string.cooked","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"3.21":["web.atob","web.btoa"]}')},1335:e=>{"use strict";e.exports=JSON.parse('["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.structured-clone","web.timers","web.url","web.url.to-json","web.url-search-params"]')},3348:e=>{"use strict";e.exports={i8:"5.1.1"}},7137:e=>{"use strict";e.exports=JSON.parse('{"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"],"ConditionalExpression":["test","consequent","alternate"],"ContinueStatement":["label"],"DebuggerStatement":[],"DoWhileStatement":["body","test"],"EmptyStatement":[],"ExportAllDeclaration":["exported","source"],"ExportDefaultDeclaration":["declaration"],"ExportNamedDeclaration":["declaration","specifiers","source"],"ExportSpecifier":["exported","local"],"ExpressionStatement":["expression"],"ExperimentalRestProperty":["argument"],"ExperimentalSpreadProperty":["argument"],"ForStatement":["init","test","update","body"],"ForInStatement":["left","right","body"],"ForOfStatement":["left","right","body"],"FunctionDeclaration":["id","params","body"],"FunctionExpression":["id","params","body"],"Identifier":[],"IfStatement":["test","consequent","alternate"],"ImportDeclaration":["specifiers","source"],"ImportDefaultSpecifier":["local"],"ImportExpression":["source"],"ImportNamespaceSpecifier":["local"],"ImportSpecifier":["imported","local"],"JSXAttribute":["name","value"],"JSXClosingElement":["name"],"JSXElement":["openingElement","children","closingElement"],"JSXEmptyExpression":[],"JSXExpressionContainer":["expression"],"JSXIdentifier":[],"JSXMemberExpression":["object","property"],"JSXNamespacedName":["namespace","name"],"JSXOpeningElement":["name","attributes"],"JSXSpreadAttribute":["argument"],"JSXText":[],"JSXFragment":["openingFragment","children","closingFragment"],"Literal":[],"LabeledStatement":["label","body"],"LogicalExpression":["left","right"],"MemberExpression":["object","property"],"MetaProperty":["meta","property"],"MethodDefinition":["key","value"],"NewExpression":["callee","arguments"],"ObjectExpression":["properties"],"ObjectPattern":["properties"],"PrivateIdentifier":[],"Program":["body"],"Property":["key","value"],"PropertyDefinition":["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"]}')},2781:e=>{"use strict";e.exports={i8:"7.24.0"}},4730:e=>{"use strict";e.exports={version:"4.3.0"}},1752:e=>{"use strict";e.exports={i8:"4.3.0"}},3676:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},5451:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":[">= 13.4 && < 13.5",">= 20"],"node:wasi":">= 20","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')},6547:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":[">= 16.17 && < 17",">= 18"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var a=t[r]={id:r,loaded:false,exports:{}};var n=true;try{e[r].call(a.exports,a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}a.loaded=true;return a.exports}(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(1403);module.exports=r})(); \ No newline at end of file + `)}}}))}}}}},1282:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(9218);function isRegeneratorSource(e){return e==="regenerator-runtime/runtime"||e==="regenerator-runtime/runtime.js"}function _default(){const e={ImportDeclaration(e){if(isRegeneratorSource((0,s.getImportSource)(e))){this.regeneratorImportExcluded=true;e.remove()}},Program(e){e.get("body").forEach((e=>{if(isRegeneratorSource((0,s.getRequireSource)(e))){this.regeneratorImportExcluded=true;e.remove()}}))}};return{name:"preset-env/remove-regenerator",visitor:e,pre(){this.regeneratorImportExcluded=false},post(){if(this.opts.debug&&this.regeneratorImportExcluded){let e=this.file.opts.filename;if(process.env.BABEL_ENV==="test"){e=e.replace(/\\/g,"/")}console.log(`\n[${e}] Based on your targets, regenerator-runtime import excluded.`)}}}}},9218:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getImportSource=getImportSource;r.getRequireSource=getRequireSource;r.isPolyfillSource=isPolyfillSource;var s=t(8622);const{isCallExpression:a,isExpressionStatement:n,isIdentifier:o,isStringLiteral:i}=s;function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!n(e))return;const{expression:r}=e;if(a(r)&&o(r.callee)&&r.callee.name==="require"&&r.arguments.length===1&&i(r.arguments[0])){return r.arguments[0].value}}function isPolyfillSource(e){return e==="@babel/polyfill"||e==="core-js"}},9583:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.proposalSyntaxPlugins=r.proposalPlugins=r.pluginSyntaxMap=void 0;const t=new Set;r.proposalPlugins=t;const s=["syntax-import-assertions","syntax-import-attributes"];r.proposalSyntaxPlugins=s;const a={"transform-async-generator-functions":"syntax-async-generators","transform-class-properties":"syntax-class-properties","transform-class-static-block":"syntax-class-static-block","transform-json-strings":"syntax-json-strings","transform-nullish-coalescing-operator":"syntax-nullish-coalescing-operator","transform-numeric-separator":"syntax-numeric-separator","transform-object-rest-spread":"syntax-object-rest-spread","transform-optional-catch-binding":"syntax-optional-catch-binding","transform-optional-chaining":"syntax-optional-chaining","transform-private-methods":"syntax-class-properties","transform-private-property-in-object":"syntax-private-property-in-object","transform-unicode-property-regex":null};const n=Object.keys(a).map((function(e){return[e,a[e]]}));const o=new Map(n);r.pluginSyntaxMap=o},6780:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(3985);var n=t(3019);var o=t(2523);var i=t(2146);var l=t(4716);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var c=_interopDefaultLegacy(a);var d=_interopDefaultLegacy(n);var u=_interopDefaultLegacy(o);var p=_interopDefaultLegacy(i);new l.OptionValidator("@babel/preset-react");function normalizeOptions(e={}){{let{pragma:r,pragmaFrag:t}=e;const{pure:s,throwIfNamespace:a=true,runtime:n="classic",importSource:o,useBuiltIns:i,useSpread:l}=e;if(n==="classic"){r=r||"React.createElement";t=t||"React.Fragment"}const c=!!e.development;return{development:c,importSource:o,pragma:r,pragmaFrag:t,pure:s,runtime:n,throwIfNamespace:a,useBuiltIns:i,useSpread:l}}}var f=s.declarePreset(((e,r)=>{e.assertVersion(7);const{development:t,importSource:s,pragma:a,pragmaFrag:n,pure:o,runtime:i,throwIfNamespace:l}=normalizeOptions(r);return{plugins:[[t?d["default"]:c["default"],{importSource:s,pragma:a,pragmaFrag:n,runtime:i,throwIfNamespace:l,pure:o,useBuiltIns:!!r.useBuiltIns,useSpread:r.useSpread}],u["default"],o!==false&&p["default"]].filter(Boolean)}}));r["default"]=f},5432:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(7167);t(6085);var n=t(8417);var o=t(4716);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var i=_interopDefaultLegacy(a);var l=_interopDefaultLegacy(n);const c=new o.OptionValidator("@babel/preset-typescript");function normalizeOptions(e={}){let{allowNamespaces:r=true,jsxPragma:t,onlyRemoveTypeImports:s}=e;const a={ignoreExtensions:"ignoreExtensions",allowNamespaces:"allowNamespaces",disallowAmbiguousJSXLike:"disallowAmbiguousJSXLike",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums",allExtensions:"allExtensions",isTSX:"isTSX"};const n=c.validateStringOption(a.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");{var o=c.validateBooleanOption(a.allExtensions,e.allExtensions,false);var i=c.validateBooleanOption(a.isTSX,e.isTSX,false);if(i){c.invariant(o,"isTSX:true requires allExtensions:true")}}const l=c.validateBooleanOption(a.ignoreExtensions,e.ignoreExtensions,false);const d=c.validateBooleanOption(a.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,false);if(d){{c.invariant(o,"disallowAmbiguousJSXLike:true requires allExtensions:true")}}const u=c.validateBooleanOption(a.optimizeConstEnums,e.optimizeConstEnums,false);const p={ignoreExtensions:l,allowNamespaces:r,disallowAmbiguousJSXLike:d,jsxPragma:t,jsxPragmaFrag:n,onlyRemoveTypeImports:s,optimizeConstEnums:u};{p.allExtensions=o;p.isTSX=i}return p}var d=s.declarePreset(((e,r)=>{e.assertVersion(7);const{allExtensions:t,ignoreExtensions:s,allowNamespaces:a,disallowAmbiguousJSXLike:n,isTSX:o,jsxPragma:c,jsxPragmaFrag:d,onlyRemoveTypeImports:u,optimizeConstEnums:p}=normalizeOptions(r);const pluginOptions=e=>({allowDeclareFields:r.allowDeclareFields,allowNamespaces:a,disallowAmbiguousJSXLike:e,jsxPragma:c,jsxPragmaFrag:d,onlyRemoveTypeImports:u,optimizeConstEnums:p});const getPlugins=(e,r)=>{{return[[i["default"],Object.assign({isTSX:e},pluginOptions(r))]]}};const f=t||s;return{overrides:f?[{plugins:getPlugins(o,n)}]:[{test:/\.ts$/,plugins:getPlugins(false,false)},{test:/\.mts$/,sourceType:"module",plugins:getPlugins(false,true)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[l["default"],{allowTopLevelThis:true}],[i["default"],pluginOptions(true)]]},{test:/\.tsx$/,plugins:getPlugins(true,false)}]}}));r["default"]=d},378:e=>{function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e.exports=_interopRequireDefault,e.exports.__esModule=true,e.exports["default"]=e.exports},4162:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=createTemplateBuilder;var s=t(1637);var a=t(3795);var n=t(9108);const o=(0,s.validate)({placeholderPattern:false});function createTemplateBuilder(e,r){const t=new WeakMap;const i=new WeakMap;const l=r||(0,s.validate)(null);return Object.assign(((r,...o)=>{if(typeof r==="string"){if(o.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,a.default)(e,r,(0,s.merge)(l,(0,s.validate)(o[0]))))}else if(Array.isArray(r)){let s=t.get(r);if(!s){s=(0,n.default)(e,r,l);t.set(r,s)}return extendedTrace(s(o))}else if(typeof r==="object"&&r){if(o.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,s.merge)(l,(0,s.validate)(r)))}throw new Error(`Unexpected template param ${typeof r}`)}),{ast:(r,...t)=>{if(typeof r==="string"){if(t.length>1)throw new Error("Unexpected extra params.");return(0,a.default)(e,r,(0,s.merge)((0,s.merge)(l,(0,s.validate)(t[0])),o))()}else if(Array.isArray(r)){let a=i.get(r);if(!a){a=(0,n.default)(e,r,(0,s.merge)(l,o));i.set(r,a)}return a(t)()}throw new Error(`Unexpected template param ${typeof r}`)}})}function extendedTrace(e){let r="";try{throw new Error}catch(e){if(e.stack){r=e.stack.split("\n").slice(3).join("\n")}}return t=>{try{return e(t)}catch(e){e.stack+=`\n =============\n${r}`;throw e}}}},5471:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.statements=r.statement=r.smart=r.program=r.expression=void 0;var s=t(8622);const{assertExpressionStatement:a}=s;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:r=>e(r.program.body.slice(1))}}const n=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));r.smart=n;const o=makeStatementFormatter((e=>e));r.statements=o;const i=makeStatementFormatter((e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]}));r.statement=i;const l={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[r]=e.body;a(r);return r.expression}};r.expression=l;const c={code:e=>e,validate:()=>{},unwrap:e=>e.program};r.program=c},6719:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.statements=r.statement=r.smart=r.program=r.expression=r["default"]=void 0;var s=t(5471);var a=t(4162);const n=(0,a.default)(s.smart);r.smart=n;const o=(0,a.default)(s.statement);r.statement=o;const i=(0,a.default)(s.statements);r.statements=i;const l=(0,a.default)(s.expression);r.expression=l;const c=(0,a.default)(s.program);r.program=c;var d=Object.assign(n.bind(undefined),{smart:n,statement:o,statements:i,expression:l,program:c,ast:n.ast});r["default"]=d},9108:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=literalTemplate;var s=t(1637);var a=t(6534);var n=t(196);function literalTemplate(e,r,t){const{metadata:a,names:o}=buildLiteralData(e,r,t);return r=>{const t={};r.forEach(((e,r)=>{t[o[r]]=e}));return r=>{const o=(0,s.normalizeReplacements)(r);if(o){Object.keys(o).forEach((e=>{if(Object.prototype.hasOwnProperty.call(t,e)){throw new Error("Unexpected replacement overlap.")}}))}return e.unwrap((0,n.default)(a,o?Object.assign(o,t):t))}}}function buildLiteralData(e,r,t){let s="BABEL_TPL$";const n=r.join("");do{s="$$"+s}while(n.includes(s));const{names:o,code:i}=buildTemplateCode(r,s);const l=(0,a.default)(e,e.code(i),{parser:t.parser,placeholderWhitelist:new Set(o.concat(t.placeholderWhitelist?Array.from(t.placeholderWhitelist):[])),placeholderPattern:t.placeholderPattern,preserveComments:t.preserveComments,syntacticPlaceholders:t.syntacticPlaceholders});return{metadata:l,names:o}}function buildTemplateCode(e,r){const t=[];let s=e[0];for(let a=1;a<e.length;a++){const n=`${r}${a-1}`;t.push(n);s+=n+e[a]}return{names:t,code:s}}},1637:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.merge=merge;r.normalizeReplacements=normalizeReplacements;r.validate=validate;const t=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,r){if(e==null)return{};var t={};var s=Object.keys(e);var a,n;for(n=0;n<s.length;n++){a=s[n];if(r.indexOf(a)>=0)continue;t[a]=e[a]}return t}function merge(e,r){const{placeholderWhitelist:t=e.placeholderWhitelist,placeholderPattern:s=e.placeholderPattern,preserveComments:a=e.preserveComments,syntacticPlaceholders:n=e.syntacticPlaceholders}=r;return{parser:Object.assign({},e.parser,r.parser),placeholderWhitelist:t,placeholderPattern:s,preserveComments:a,syntacticPlaceholders:n}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const r=e||{},{placeholderWhitelist:s,placeholderPattern:a,preserveComments:n,syntacticPlaceholders:o}=r,i=_objectWithoutPropertiesLoose(r,t);if(s!=null&&!(s instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(a!=null&&!(a instanceof RegExp)&&a!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(n!=null&&typeof n!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(o!=null&&typeof o!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(o===true&&(s!=null||a!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:i,placeholderWhitelist:s||undefined,placeholderPattern:a==null?undefined:a,preserveComments:n==null?undefined:n,syntacticPlaceholders:o==null?undefined:o}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,r,t)=>{e["$"+t]=r;return e}),{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},6534:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=parseAndBuildMetadata;var s=t(8622);var a=t(6949);var n=t(2430);const{isCallExpression:o,isExpressionStatement:i,isFunction:l,isIdentifier:c,isJSXIdentifier:d,isNewExpression:u,isPlaceholder:p,isStatement:f,isStringLiteral:y,removePropertiesDeep:g,traverse:h}=s;const b=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,r,t){const{placeholderWhitelist:s,placeholderPattern:a,preserveComments:n,syntacticPlaceholders:o}=t;const i=parseWithCodeFrame(r,t.parser,o);g(i,{preserveComments:n});e.validate(i);const l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:s,placeholderPattern:a,syntacticPlaceholders:o};h(i,placeholderVisitorHandler,l);return Object.assign({ast:i},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function placeholderVisitorHandler(e,r,t){var s;let a;let n=t.syntactic.placeholders.length>0;if(p(e)){if(t.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}a=e.name.name;n=true}else if(n||t.syntacticPlaceholders){return}else if(c(e)||d(e)){a=e.name}else if(y(e)){a=e.value}else{return}if(n&&(t.placeholderPattern!=null||t.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(!n&&(t.placeholderPattern===false||!(t.placeholderPattern||b).test(a))&&!((s=t.placeholderWhitelist)!=null&&s.has(a))){return}r=r.slice();const{node:g,key:h}=r[r.length-1];let x;if(y(e)||p(e,{expectedNode:"StringLiteral"})){x="string"}else if(u(g)&&h==="arguments"||o(g)&&h==="arguments"||l(g)&&h==="params"){x="param"}else if(i(g)&&!p(e)){x="statement";r=r.slice(0,-1)}else if(f(e)&&p(e)){x="statement"}else{x="other"}const{placeholders:v,placeholderNames:j}=!n?t.legacy:t.syntactic;v.push({name:a,type:x,resolve:e=>resolveAncestors(e,r),isDuplicate:j.has(a)});j.add(a)}function resolveAncestors(e,r){let t=e;for(let e=0;e<r.length-1;e++){const{key:s,index:a}=r[e];if(a===undefined){t=t[s]}else{t=t[s][a]}}const{key:s,index:a}=r[r.length-1];return{parent:t,key:s,index:a}}function parseWithCodeFrame(e,r,t){const s=(r.plugins||[]).slice();if(t!==false){s.push("placeholders")}r=Object.assign({allowReturnOutsideFunction:true,allowSuperOutsideMethod:true,sourceType:"module"},r,{plugins:s});try{return(0,a.parse)(e,r)}catch(r){const t=r.loc;if(t){r.message+="\n"+(0,n.codeFrameColumns)(e,{start:t});r.code="BABEL_TEMPLATE_PARSE_ERROR"}throw r}}},196:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=populatePlaceholders;var s=t(8622);const{blockStatement:a,cloneNode:n,emptyStatement:o,expressionStatement:i,identifier:l,isStatement:c,isStringLiteral:d,stringLiteral:u,validate:p}=s;function populatePlaceholders(e,r){const t=n(e.ast);if(r){e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(r,e.name)){const r=e.name;throw new Error(`Error: No substitution given for "${r}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${r}'])}\n - { placeholderPattern: /^${r}$/ }`)}}));Object.keys(r).forEach((r=>{if(!e.placeholderNames.has(r)){throw new Error(`Unknown substitution "${r}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,t,r&&r[e.name]||null)}catch(r){r.message=`@babel/template placeholder "${e.name}": ${r.message}`;throw r}}));return t}function applyReplacement(e,r,t){if(e.isDuplicate){if(Array.isArray(t)){t=t.map((e=>n(e)))}else if(typeof t==="object"){t=n(t)}}const{parent:s,key:f,index:y}=e.resolve(r);if(e.type==="string"){if(typeof t==="string"){t=u(t)}if(!t||!d(t)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(y===undefined){if(!t){t=o()}else if(Array.isArray(t)){t=a(t)}else if(typeof t==="string"){t=i(l(t))}else if(!c(t)){t=i(t)}}else{if(t&&!Array.isArray(t)){if(typeof t==="string"){t=l(t)}if(!c(t)){t=i(t)}}}}else if(e.type==="param"){if(typeof t==="string"){t=l(t)}if(y===undefined)throw new Error("Assertion failure.")}else{if(typeof t==="string"){t=l(t)}if(Array.isArray(t)){throw new Error("Cannot replace single expression with an array.")}}if(y===undefined){p(s,f,t);s[f]=t}else{const r=s[f].slice();if(e.type==="statement"||e.type==="param"){if(t==null){r.splice(y,1)}else if(Array.isArray(t)){r.splice(y,1,...t)}else{r[y]=t}}else{r[y]=t}p(s,f,r);s[f]=r}}},3795:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=stringTemplate;var s=t(1637);var a=t(6534);var n=t(196);function stringTemplate(e,r,t){r=e.code(r);let o;return i=>{const l=(0,s.normalizeReplacements)(i);if(!o)o=(0,a.default)(e,r,t);return e.unwrap((0,n.default)(o,l))}}},7601:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=createTemplateBuilder;var s=t(4287);var a=t(4430);var n=t(5202);const o=(0,s.validate)({placeholderPattern:false});function createTemplateBuilder(e,r){const t=new WeakMap;const i=new WeakMap;const l=r||(0,s.validate)(null);return Object.assign(((r,...o)=>{if(typeof r==="string"){if(o.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,a.default)(e,r,(0,s.merge)(l,(0,s.validate)(o[0]))))}else if(Array.isArray(r)){let s=t.get(r);if(!s){s=(0,n.default)(e,r,l);t.set(r,s)}return extendedTrace(s(o))}else if(typeof r==="object"&&r){if(o.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,s.merge)(l,(0,s.validate)(r)))}throw new Error(`Unexpected template param ${typeof r}`)}),{ast:(r,...t)=>{if(typeof r==="string"){if(t.length>1)throw new Error("Unexpected extra params.");return(0,a.default)(e,r,(0,s.merge)((0,s.merge)(l,(0,s.validate)(t[0])),o))()}else if(Array.isArray(r)){let a=i.get(r);if(!a){a=(0,n.default)(e,r,(0,s.merge)(l,o));i.set(r,a)}return a(t)()}throw new Error(`Unexpected template param ${typeof r}`)}})}function extendedTrace(e){let r="";try{throw new Error}catch(e){if(e.stack){r=e.stack.split("\n").slice(3).join("\n")}}return t=>{try{return e(t)}catch(e){e.stack+=`\n =============\n${r}`;throw e}}}},9550:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.statements=r.statement=r.smart=r.program=r.expression=void 0;var s=t(8622);const{assertExpressionStatement:a}=s;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:r=>e(r.program.body.slice(1))}}const n=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));r.smart=n;const o=makeStatementFormatter((e=>e));r.statements=o;const i=makeStatementFormatter((e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]}));r.statement=i;const l={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[r]=e.body;a(r);return r.expression}};r.expression=l;const c={code:e=>e,validate:()=>{},unwrap:e=>e.program};r.program=c},9128:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.statements=r.statement=r.smart=r.program=r.expression=r["default"]=void 0;var s=t(9550);var a=t(7601);const n=(0,a.default)(s.smart);r.smart=n;const o=(0,a.default)(s.statement);r.statement=o;const i=(0,a.default)(s.statements);r.statements=i;const l=(0,a.default)(s.expression);r.expression=l;const c=(0,a.default)(s.program);r.program=c;var d=Object.assign(n.bind(undefined),{smart:n,statement:o,statements:i,expression:l,program:c,ast:n.ast});r["default"]=d},5202:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=literalTemplate;var s=t(4287);var a=t(8782);var n=t(974);function literalTemplate(e,r,t){const{metadata:a,names:o}=buildLiteralData(e,r,t);return r=>{const t={};r.forEach(((e,r)=>{t[o[r]]=e}));return r=>{const o=(0,s.normalizeReplacements)(r);if(o){Object.keys(o).forEach((e=>{if(Object.prototype.hasOwnProperty.call(t,e)){throw new Error("Unexpected replacement overlap.")}}))}return e.unwrap((0,n.default)(a,o?Object.assign(o,t):t))}}}function buildLiteralData(e,r,t){let s="BABEL_TPL$";const n=r.join("");do{s="$$"+s}while(n.includes(s));const{names:o,code:i}=buildTemplateCode(r,s);const l=(0,a.default)(e,e.code(i),{parser:t.parser,placeholderWhitelist:new Set(o.concat(t.placeholderWhitelist?Array.from(t.placeholderWhitelist):[])),placeholderPattern:t.placeholderPattern,preserveComments:t.preserveComments,syntacticPlaceholders:t.syntacticPlaceholders});return{metadata:l,names:o}}function buildTemplateCode(e,r){const t=[];let s=e[0];for(let a=1;a<e.length;a++){const n=`${r}${a-1}`;t.push(n);s+=n+e[a]}return{names:t,code:s}}},4287:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.merge=merge;r.normalizeReplacements=normalizeReplacements;r.validate=validate;const t=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,r){if(e==null)return{};var t={};var s=Object.keys(e);var a,n;for(n=0;n<s.length;n++){a=s[n];if(r.indexOf(a)>=0)continue;t[a]=e[a]}return t}function merge(e,r){const{placeholderWhitelist:t=e.placeholderWhitelist,placeholderPattern:s=e.placeholderPattern,preserveComments:a=e.preserveComments,syntacticPlaceholders:n=e.syntacticPlaceholders}=r;return{parser:Object.assign({},e.parser,r.parser),placeholderWhitelist:t,placeholderPattern:s,preserveComments:a,syntacticPlaceholders:n}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const r=e||{},{placeholderWhitelist:s,placeholderPattern:a,preserveComments:n,syntacticPlaceholders:o}=r,i=_objectWithoutPropertiesLoose(r,t);if(s!=null&&!(s instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(a!=null&&!(a instanceof RegExp)&&a!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(n!=null&&typeof n!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(o!=null&&typeof o!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(o===true&&(s!=null||a!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:i,placeholderWhitelist:s||undefined,placeholderPattern:a==null?undefined:a,preserveComments:n==null?undefined:n,syntacticPlaceholders:o==null?undefined:o}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,r,t)=>{e["$"+t]=r;return e}),{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},8782:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=parseAndBuildMetadata;var s=t(8622);var a=t(6949);var n=t(3327);const{isCallExpression:o,isExpressionStatement:i,isFunction:l,isIdentifier:c,isJSXIdentifier:d,isNewExpression:u,isPlaceholder:p,isStatement:f,isStringLiteral:y,removePropertiesDeep:g,traverse:h}=s;const b=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,r,t){const{placeholderWhitelist:s,placeholderPattern:a,preserveComments:n,syntacticPlaceholders:o}=t;const i=parseWithCodeFrame(r,t.parser,o);g(i,{preserveComments:n});e.validate(i);const l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:s,placeholderPattern:a,syntacticPlaceholders:o};h(i,placeholderVisitorHandler,l);return Object.assign({ast:i},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function placeholderVisitorHandler(e,r,t){var s;let a;let n=t.syntactic.placeholders.length>0;if(p(e)){if(t.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}a=e.name.name;n=true}else if(n||t.syntacticPlaceholders){return}else if(c(e)||d(e)){a=e.name}else if(y(e)){a=e.value}else{return}if(n&&(t.placeholderPattern!=null||t.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(!n&&(t.placeholderPattern===false||!(t.placeholderPattern||b).test(a))&&!((s=t.placeholderWhitelist)!=null&&s.has(a))){return}r=r.slice();const{node:g,key:h}=r[r.length-1];let x;if(y(e)||p(e,{expectedNode:"StringLiteral"})){x="string"}else if(u(g)&&h==="arguments"||o(g)&&h==="arguments"||l(g)&&h==="params"){x="param"}else if(i(g)&&!p(e)){x="statement";r=r.slice(0,-1)}else if(f(e)&&p(e)){x="statement"}else{x="other"}const{placeholders:v,placeholderNames:j}=!n?t.legacy:t.syntactic;v.push({name:a,type:x,resolve:e=>resolveAncestors(e,r),isDuplicate:j.has(a)});j.add(a)}function resolveAncestors(e,r){let t=e;for(let e=0;e<r.length-1;e++){const{key:s,index:a}=r[e];if(a===undefined){t=t[s]}else{t=t[s][a]}}const{key:s,index:a}=r[r.length-1];return{parent:t,key:s,index:a}}function parseWithCodeFrame(e,r,t){const s=(r.plugins||[]).slice();if(t!==false){s.push("placeholders")}r=Object.assign({allowReturnOutsideFunction:true,allowSuperOutsideMethod:true,sourceType:"module"},r,{plugins:s});try{return(0,a.parse)(e,r)}catch(r){const t=r.loc;if(t){r.message+="\n"+(0,n.codeFrameColumns)(e,{start:t});r.code="BABEL_TEMPLATE_PARSE_ERROR"}throw r}}},974:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=populatePlaceholders;var s=t(8622);const{blockStatement:a,cloneNode:n,emptyStatement:o,expressionStatement:i,identifier:l,isStatement:c,isStringLiteral:d,stringLiteral:u,validate:p}=s;function populatePlaceholders(e,r){const t=n(e.ast);if(r){e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(r,e.name)){const r=e.name;throw new Error(`Error: No substitution given for "${r}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${r}'])}\n - { placeholderPattern: /^${r}$/ }`)}}));Object.keys(r).forEach((r=>{if(!e.placeholderNames.has(r)){throw new Error(`Unknown substitution "${r}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,t,r&&r[e.name]||null)}catch(r){r.message=`@babel/template placeholder "${e.name}": ${r.message}`;throw r}}));return t}function applyReplacement(e,r,t){if(e.isDuplicate){if(Array.isArray(t)){t=t.map((e=>n(e)))}else if(typeof t==="object"){t=n(t)}}const{parent:s,key:f,index:y}=e.resolve(r);if(e.type==="string"){if(typeof t==="string"){t=u(t)}if(!t||!d(t)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(y===undefined){if(!t){t=o()}else if(Array.isArray(t)){t=a(t)}else if(typeof t==="string"){t=i(l(t))}else if(!c(t)){t=i(t)}}else{if(t&&!Array.isArray(t)){if(typeof t==="string"){t=l(t)}if(!c(t)){t=i(t)}}}}else if(e.type==="param"){if(typeof t==="string"){t=l(t)}if(y===undefined)throw new Error("Assertion failure.")}else{if(typeof t==="string"){t=l(t)}if(Array.isArray(t)){throw new Error("Cannot replace single expression with an array.")}}if(y===undefined){p(s,f,t);s[f]=t}else{const r=s[f].slice();if(e.type==="statement"||e.type==="param"){if(t==null){r.splice(y,1)}else if(Array.isArray(t)){r.splice(y,1,...t)}else{r[y]=t}}else{r[y]=t}p(s,f,r);s[f]=r}}},4430:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=stringTemplate;var s=t(4287);var a=t(8782);var n=t(974);function stringTemplate(e,r,t){r=e.code(r);let o;return i=>{const l=(0,s.normalizeReplacements)(i);if(!o)o=(0,a.default)(e,r,t);return e.unwrap((0,n.default)(o,l))}}},3763:(e,r,t)=>{"use strict";e.exports={...t(2836),Definition:t(4494).Definition,PatternVisitor:t(2999),Referencer:t(8648)}},7600:(e,r,t)=>{function _classPrivateFieldInitSpec(e,r,t){_checkPrivateRedeclaration(e,r);r.set(e,t)}function _checkPrivateRedeclaration(e,r){if(r.has(e)){throw new TypeError("Cannot initialize the same private elements twice on an object")}}function _classPrivateFieldGet(e,r){var t=_classExtractFieldDescriptor(e,r,"get");return _classApplyDescriptorGet(e,t)}function _classApplyDescriptorGet(e,r){if(r.get){return r.get.call(e)}return r.value}function _classPrivateFieldSet(e,r,t){var s=_classExtractFieldDescriptor(e,r,"set");_classApplyDescriptorSet(e,s,t);return t}function _classExtractFieldDescriptor(e,r,t){if(!r.has(e)){throw new TypeError("attempted to "+t+" private field on non-instance")}return r.get(e)}function _classApplyDescriptorSet(e,r,t){if(r.set){r.set.call(e,t)}else{if(!r.writable){throw new TypeError("attempted to set read only private field")}r.value=t}}const{Definition:s,PatternVisitor:a,Referencer:n,Scope:o,ScopeManager:i}=t(3763);const{getKeys:l}=t(3553);let c;function getVisitorValues(e,r){if(c)return c[e];const{FLOW_FLIPPED_ALIAS_KEYS:t,VISITOR_KEYS:s}=r.getTypesInfo();const a=t.concat(["ArrayPattern","ClassDeclaration","ClassExpression","FunctionDeclaration","FunctionExpression","Identifier","ObjectPattern","RestElement"]);c=Object.entries(s).reduce(((e,[r,t])=>{if(!a.includes(t)){e[r]=t}return e}),{});return c[e]}const d={callProperties:{type:"loop",values:["value"]},indexers:{type:"loop",values:["key","value"]},properties:{type:"loop",values:["argument","value"]},types:{type:"loop"},params:{type:"loop"},argument:{type:"single"},elementType:{type:"single"},qualification:{type:"single"},rest:{type:"single"},returnType:{type:"single"},typeAnnotation:{type:"typeAnnotation"},typeParameters:{type:"typeParameters"},id:{type:"id"}};class PatternVisitor extends a{ArrayPattern(e){e.elements.forEach(this.visit,this)}ObjectPattern(e){e.properties.forEach(this.visit,this)}}var u=new WeakMap;class Referencer extends n{constructor(e,r,t){super(e,r);_classPrivateFieldInitSpec(this,u,{writable:true,value:void 0});_classPrivateFieldSet(this,u,t)}visitPattern(e,r,t){if(!e){return}this._checkIdentifierOrVisit(e.typeAnnotation);if(e.type==="AssignmentPattern"){this._checkIdentifierOrVisit(e.left.typeAnnotation)}if(typeof r==="function"){t=r;r={processRightHandNodes:false}}const s=new PatternVisitor(this.options,e,t);s.visit(e);if(r.processRightHandNodes){s.rightHandNodes.forEach(this.visit,this)}}visitClass(e){this._visitArray(e.decorators);const r=this._nestTypeParamScope(e);this._visitTypeAnnotation(e.implements);this._visitTypeAnnotation(e.superTypeParameters&&e.superTypeParameters.params);super.visitClass(e);if(r){this.close(e)}}visitFunction(e){const r=this._nestTypeParamScope(e);this._checkIdentifierOrVisit(e.returnType);super.visitFunction(e);if(r){this.close(e)}}visitProperty(e){var r;if(((r=e.value)==null?void 0:r.type)==="TypeCastExpression"){this._visitTypeAnnotation(e.value)}this._visitArray(e.decorators);super.visitProperty(e)}InterfaceDeclaration(e){this._createScopeVariable(e,e.id);const r=this._nestTypeParamScope(e);this._visitArray(e.extends);this.visit(e.body);if(r){this.close(e)}}TypeAlias(e){this._createScopeVariable(e,e.id);const r=this._nestTypeParamScope(e);this.visit(e.right);if(r){this.close(e)}}ClassProperty(e){this._visitClassProperty(e)}ClassPrivateProperty(e){this._visitClassProperty(e)}PropertyDefinition(e){this._visitClassProperty(e)}ClassPrivateMethod(e){super.MethodDefinition(e)}DeclareModule(e){this._visitDeclareX(e)}DeclareFunction(e){this._visitDeclareX(e)}DeclareVariable(e){this._visitDeclareX(e)}DeclareClass(e){this._visitDeclareX(e)}OptionalMemberExpression(e){super.MemberExpression(e)}_visitClassProperty(e){this._visitTypeAnnotation(e.typeAnnotation);this.visitProperty(e)}_visitDeclareX(e){if(e.id){this._createScopeVariable(e,e.id)}const r=this._nestTypeParamScope(e);if(r){this.close(e)}}_createScopeVariable(e,r){this.currentScope().variableScope.__define(r,new s("Variable",r,e,null,null,null))}_nestTypeParamScope(e){if(!e.typeParameters){return null}const r=this.scopeManager.__currentScope;const t=new o(this.scopeManager,"type-parameters",r,e,false);this.scopeManager.__nestScope(t);for(let r=0;r<e.typeParameters.params.length;r++){const a=e.typeParameters.params[r];t.__define(a,new s("TypeParameter",a,a));if(a.typeAnnotation){this._checkIdentifierOrVisit(a)}}t.__define=function(){return r.__define.apply(r,arguments)};return t}_visitTypeAnnotation(e){if(!e){return}if(Array.isArray(e)){e.forEach(this._visitTypeAnnotation,this);return}const r=getVisitorValues(e.type,_classPrivateFieldGet(this,u));if(!r){return}for(let t=0;t<r.length;t++){const s=r[t];const a=d[s];const n=e[s];if(a==null||n==null){continue}if(a.type==="loop"){for(let e=0;e<n.length;e++){if(Array.isArray(a.values)){for(let r=0;r<a.values.length;r++){const t=n[e][a.values[r]];if(t){this._checkIdentifierOrVisit(t)}}}else{this._checkIdentifierOrVisit(n[e])}}}else if(a.type==="single"){this._checkIdentifierOrVisit(n)}else if(a.type==="typeAnnotation"){this._visitTypeAnnotation(e.typeAnnotation)}else if(a.type==="typeParameters"){for(let r=0;r<e.typeParameters.params.length;r++){this._checkIdentifierOrVisit(e.typeParameters.params[r])}}else if(a.type==="id"){if(e.id.type==="Identifier"){this._checkIdentifierOrVisit(e.id)}else{this._visitTypeAnnotation(e.id)}}}}_checkIdentifierOrVisit(e){if(e!=null&&e.typeAnnotation){this._visitTypeAnnotation(e.typeAnnotation)}else if((e==null?void 0:e.type)==="Identifier"){this.visit(e)}else{this._visitTypeAnnotation(e)}}_visitArray(e){if(e){for(const r of e){this.visit(r)}}}}e.exports=function analyzeScope(e,r,t){var s;const a={ignoreEval:true,optimistic:false,directive:false,nodejsScope:e.sourceType==="script"&&((s=r.ecmaFeatures)==null?void 0:s.globalReturn)===true,impliedStrict:false,sourceType:e.sourceType,ecmaVersion:r.ecmaVersion,fallback:l};a.childVisitorKeys=t.getVisitorKeys();const n=new i(a);const o=new Referencer(a,n,t);o.visit(e);return n}},4001:(e,r,t)=>{var s,a,n,o;function _classStaticPrivateFieldSpecSet(e,r,t,s){_classCheckPrivateStaticAccess(e,r);_classCheckPrivateStaticFieldDescriptor(t,"set");_classApplyDescriptorSet(e,t,s);return s}function _classStaticPrivateFieldSpecGet(e,r,t){_classCheckPrivateStaticAccess(e,r);_classCheckPrivateStaticFieldDescriptor(t,"get");return _classApplyDescriptorGet(e,t)}function _classCheckPrivateStaticFieldDescriptor(e,r){if(e===undefined){throw new TypeError("attempted to "+r+" private static field before its declaration")}}function _classCheckPrivateStaticAccess(e,r){if(e!==r){throw new TypeError("Private static access of wrong provenance")}}function _classPrivateFieldInitSpec(e,r,t){_checkPrivateRedeclaration(e,r);r.set(e,t)}function _checkPrivateRedeclaration(e,r){if(r.has(e)){throw new TypeError("Cannot initialize the same private elements twice on an object")}}function _classPrivateFieldGet(e,r){var t=_classExtractFieldDescriptor(e,r,"get");return _classApplyDescriptorGet(e,t)}function _classApplyDescriptorGet(e,r){if(r.get){return r.get.call(e)}return r.value}function _classPrivateFieldSet(e,r,t){var s=_classExtractFieldDescriptor(e,r,"set");_classApplyDescriptorSet(e,s,t);return t}function _classExtractFieldDescriptor(e,r,t){if(!r.has(e)){throw new TypeError("attempted to "+t+" private field on non-instance")}return r.get(e)}function _classApplyDescriptorSet(e,r,t){if(r.set){r.set.call(e,t)}else{if(!r.writable){throw new TypeError("attempted to set read only private field")}r.value=t}}const i=t(1017);const l={GET_VERSION:"GET_VERSION",GET_TYPES_INFO:"GET_TYPES_INFO",GET_VISITOR_KEYS:"GET_VISITOR_KEYS",GET_TOKEN_LABELS:"GET_TOKEN_LABELS",MAYBE_PARSE:"MAYBE_PARSE",MAYBE_PARSE_SYNC:"MAYBE_PARSE_SYNC"};var c=new WeakMap;var d=new WeakMap;var u=new WeakMap;var p=new WeakMap;var f=new WeakMap;class Client{constructor(e){_classPrivateFieldInitSpec(this,c,{writable:true,value:void 0});_classPrivateFieldInitSpec(this,d,{writable:true,value:void 0});_classPrivateFieldInitSpec(this,u,{writable:true,value:void 0});_classPrivateFieldInitSpec(this,p,{writable:true,value:void 0});_classPrivateFieldInitSpec(this,f,{writable:true,value:void 0});_classPrivateFieldSet(this,c,e)}getVersion(){var e;return(e=_classPrivateFieldGet(this,d))!=null?e:_classPrivateFieldSet(this,d,_classPrivateFieldGet(this,c).call(this,l.GET_VERSION,undefined))}getTypesInfo(){var e;return(e=_classPrivateFieldGet(this,u))!=null?e:_classPrivateFieldSet(this,u,_classPrivateFieldGet(this,c).call(this,l.GET_TYPES_INFO,undefined))}getVisitorKeys(){var e;return(e=_classPrivateFieldGet(this,p))!=null?e:_classPrivateFieldSet(this,p,_classPrivateFieldGet(this,c).call(this,l.GET_VISITOR_KEYS,undefined))}getTokLabels(){var e;return(e=_classPrivateFieldGet(this,f))!=null?e:_classPrivateFieldSet(this,f,_classPrivateFieldGet(this,c).call(this,l.GET_TOKEN_LABELS,undefined))}maybeParse(e,r){return _classPrivateFieldGet(this,c).call(this,l.MAYBE_PARSE,{code:e,options:r})}}r.WorkerClient=(a=new WeakMap,s=class WorkerClient extends Client{constructor(){super(((e,r)=>{const t=new Int32Array(new SharedArrayBuffer(8));const o=new(_classStaticPrivateFieldSpecGet(WorkerClient,s,n).MessageChannel);_classPrivateFieldGet(this,a).postMessage({signal:t,port:o.port1,action:e,payload:r},[o.port1]);Atomics.wait(t,0,0);const{message:i}=_classStaticPrivateFieldSpecGet(WorkerClient,s,n).receiveMessageOnPort(o.port2);if(i.error)throw Object.assign(i.error,i.errorData);else return i.result}));_classPrivateFieldInitSpec(this,a,{writable:true,value:new(_classStaticPrivateFieldSpecGet(WorkerClient,s,n).Worker)(i.resolve(__dirname,"../lib/worker/index.cjs"),{env:_classStaticPrivateFieldSpecGet(WorkerClient,s,n).SHARE_ENV})});_classPrivateFieldGet(this,a).unref()}},n={get:_get_worker_threads,set:void 0},o={writable:true,value:void 0},s);function _get_worker_threads(){var e;return(e=_classStaticPrivateFieldSpecGet(s,s,o))!=null?e:_classStaticPrivateFieldSpecSet(s,s,o,t(1267))}{var y,g;r.LocalClient=(y=class LocalClient extends Client{constructor(){var e;(e=_classStaticPrivateFieldSpecGet(LocalClient,y,g))!=null?e:_classStaticPrivateFieldSpecSet(LocalClient,y,g,t(8462));super(((e,r)=>_classStaticPrivateFieldSpecGet(LocalClient,y,g).call(LocalClient,e===l.MAYBE_PARSE?l.MAYBE_PARSE_SYNC:e,r)))}},g={writable:true,value:void 0},y)}},2711:(e,r)=>{const t=["babelOptions","ecmaVersion","sourceType","requireConfigFile"];function _objectWithoutPropertiesLoose(e,r){if(e==null)return{};var t={};var s=Object.keys(e);var a,n;for(n=0;n<s.length;n++){a=s[n];if(r.indexOf(a)>=0)continue;t[a]=e[a]}return t}r.normalizeESLintConfig=function(e){const{babelOptions:r={},ecmaVersion:s=2020,sourceType:a="module",requireConfigFile:n=true}=e,o=_objectWithoutPropertiesLoose(e,t);return Object.assign({babelOptions:Object.assign({cwd:process.cwd()},r),ecmaVersion:s==="latest"?1e8:s,sourceType:a,requireConfigFile:n},o)}},3447:(e,r,t)=>{const s=t(6083);function*it(e){if(Array.isArray(e))yield*e;else yield e}function traverse(e,r,t){const{type:s}=e;if(!s)return;const a=r[s];if(!a)return;for(const s of a){for(const a of it(e[s])){if(a&&typeof a==="object"){t.enter(a);traverse(a,r,t);t.exit(a)}}}}const a={enter(e){if(e.innerComments){delete e.innerComments}if(e.trailingComments){delete e.trailingComments}if(e.leadingComments){delete e.leadingComments}},exit(e){if(e.extra){delete e.extra}if(e.loc.identifierName){delete e.loc.identifierName}if(e.type==="TypeParameter"){e.type="Identifier";e.typeAnnotation=e.bound;delete e.bound}if(e.type==="QualifiedTypeIdentifier"){delete e.id}if(e.type==="ObjectTypeProperty"){delete e.key}if(e.type==="ObjectTypeIndexer"){delete e.id}if(e.type==="FunctionTypeParam"){delete e.name}if(e.type==="ImportDeclaration"){delete e.isType}if(e.type==="TemplateLiteral"){for(let r=0;r<e.quasis.length;r++){const t=e.quasis[r];t.range[0]-=1;if(t.tail){t.range[1]+=1}else{t.range[1]+=2}t.loc.start.column-=1;if(t.tail){t.loc.end.column+=1}else{t.loc.end.column+=2}if(s>=8){t.start-=1;if(t.tail){t.end+=1}else{t.end+=2}}}}}};function convertNodes(e,r){traverse(e,r,a)}function convertProgramNode(e){e.type="Program";e.sourceType=e.program.sourceType;e.body=e.program.body;delete e.program;delete e.errors;if(e.comments.length){const r=e.comments[e.comments.length-1];if(e.tokens.length){const t=e.tokens[e.tokens.length-1];if(r.end>t.end){e.range[1]=t.end;e.loc.end.line=t.loc.end.line;e.loc.end.column=t.loc.end.column;if(s>=8){e.end=t.end}}}}else{if(!e.tokens.length){e.loc.start.line=1;e.loc.end.line=1}}if(e.body&&e.body.length>0){e.loc.start.line=e.body[0].loc.start.line;e.range[0]=e.body[0].start;if(s>=8){e.start=e.body[0].start}}}e.exports=function convertAST(e,r){convertNodes(e,r);convertProgramNode(e)}},4644:e=>{e.exports=function convertComments(e){for(const r of e){if(r.type==="CommentBlock"){r.type="Block"}else if(r.type==="CommentLine"){r.type="Line"}if(!r.range){r.range=[r.start,r.end]}}}},3927:(e,r,t)=>{const s=t(6083);function convertTemplateType(e,r){let t=null;let s=[];const a=[];function addTemplateType(){const e=s[0];const t=s[s.length-1];const n=s.reduce(((e,t)=>{if(t.value){e+=t.value}else if(t.type.label!==r.template){e+=t.type.label}return e}),"");a.push({type:"Template",value:n,start:e.start,end:t.end,loc:{start:e.loc.start,end:t.loc.end}});s=[]}e.forEach((e=>{switch(e.type.label){case r.backQuote:if(t){a.push(t);t=null}s.push(e);if(s.length>1){addTemplateType()}break;case r.dollarBraceL:s.push(e);addTemplateType();break;case r.braceR:if(t){a.push(t)}t=e;break;case r.template:if(t){s.push(t);t=null}s.push(e);break;default:if(t){a.push(t);t=null}a.push(e)}}));return a}function convertToken(e,r,t){const{type:s}=e;const{label:a}=s;e.range=[e.start,e.end];if(a===t.name){if(e.value==="static"){e.type="Keyword"}else{e.type="Identifier"}}else if(a===t.semi||a===t.comma||a===t.parenL||a===t.parenR||a===t.braceL||a===t.braceR||a===t.slash||a===t.dot||a===t.bracketL||a===t.bracketR||a===t.ellipsis||a===t.arrow||a===t.pipeline||a===t.star||a===t.incDec||a===t.colon||a===t.question||a===t.template||a===t.backQuote||a===t.dollarBraceL||a===t.at||a===t.logicalOR||a===t.logicalAND||a===t.nullishCoalescing||a===t.bitwiseOR||a===t.bitwiseXOR||a===t.bitwiseAND||a===t.equality||a===t.relational||a===t.bitShift||a===t.plusMin||a===t.modulo||a===t.exponent||a===t.bang||a===t.tilde||a===t.doubleColon||a===t.hash||a===t.questionDot||a===t.braceHashL||a===t.braceBarL||a===t.braceBarR||a===t.bracketHashL||a===t.bracketBarL||a===t.bracketBarR||a===t.doubleCaret||a===t.doubleAt||s.isAssign){var n;e.type="Punctuator";(n=e.value)!=null?n:e.value=a}else if(a===t.jsxTagStart){e.type="Punctuator";e.value="<"}else if(a===t.jsxTagEnd){e.type="Punctuator";e.value=">"}else if(a===t.jsxName){e.type="JSXIdentifier"}else if(a===t.jsxText){e.type="JSXText"}else if(s.keyword==="null"){e.type="Null"}else if(s.keyword==="false"||s.keyword==="true"){e.type="Boolean"}else if(s.keyword){e.type="Keyword"}else if(a===t.num){e.type="Numeric";e.value=r.slice(e.start,e.end)}else if(a===t.string){e.type="String";e.value=r.slice(e.start,e.end)}else if(a===t.regexp){e.type="RegularExpression";const r=e.value;e.regex={pattern:r.pattern,flags:r.flags};e.value=`/${r.pattern}/${r.flags}`}else if(a===t.bigint){e.type="Numeric";e.value=`${e.value}n`}else if(a===t.privateName){e.type="PrivateIdentifier"}else if(a===t.templateNonTail||a===t.templateTail){e.type="Template"}if(typeof e.type!=="string"){delete e.type.rightAssociative}}e.exports=function convertTokens(e,r,t){const a=[];const n=convertTemplateType(e,t);for(let e=0,{length:o}=n;e<o-1;e++){const i=n[e];const l=i.type;if(l==="CommentLine"||l==="CommentBlock"){continue}{if(s>=8&&e+1<o&&l.label===t.hash){const r=n[e+1];if(r.type.label===t.name&&i.end===r.start){e++;r.type="PrivateIdentifier";r.start-=1;r.loc.start.column-=1;r.range=[r.start,r.end];a.push(r);continue}}}convertToken(i,r,t);a.push(i)}return a}},3240:(e,r,t)=>{const s=t(3927);const a=t(4644);const n=t(3447);r.ast=function convert(e,r,t,o){e.tokens=s(e.tokens,r,t);a(e.comments);n(e,o);return e};r.error=function convertError(e){if(e instanceof SyntaxError){e.lineNumber=e.loc.line;e.column=e.loc.column}return e}},8166:(e,r,t)=>{const{normalizeESLintConfig:s}=t(2711);const a=t(7600);const n=t(9946);const{LocalClient:o,WorkerClient:i}=t(4001);const l=new o;r.meta={name:"@babel/eslint-parser",version:"7.22.5"};r.parse=function(e,r={}){return n(e,s(r),l)};r.parseForESLint=function(e,r={}){const t=s(r);const o=n(e,t,l);const i=a(o,t,l);return{ast:o,scopeManager:i,visitorKeys:l.getVisitorKeys()}}},9946:(e,r,t)=>{"use strict";const s=t(7849);const a=t(3240);function noop(){}const n=t(6949);noop((((e,r)=>(e=e.split("."),r=r.split("."),+e[0]>+r[0]||e[0]==r[0]&&+e[1]>=+r[1]))(process.versions.node,"8.9")?noop:(e,{paths:[r]},s=t(8188))=>{let a=s._findPath(e,s._nodeModulePaths(r).concat(r));if(a)return a;a=new Error(`Cannot resolve module '${e}'`);a.code="MODULE_NOT_FOUND";throw a})("@babel/parser",{paths:[noop("@babel/core/package.json")]}));let o=null;e.exports=function parse(e,r,t){let i=">=7.2.0";if(typeof o!=="boolean"){o=s.satisfies(t.getVersion(),i)}if(!o){throw new Error(`@babel/eslint-parser@${"7.22.5"} does not support @babel/core@${t.getVersion()}. Please upgrade to @babel/core@${i}.`)}const{ast:l,parserOptions:c}=t.maybeParse(e,r);if(l)return l;try{return a.ast(n.parse(e,c),e,t.getTokLabels(),t.getVisitorKeys())}catch(e){throw a.error(e)}}},6083:(e,r,t)=>{e.exports=parseInt(t(2781).i8,10)},5745:(e,r,t)=>{const s=t(3553).KEYS;const a=t(6828);let n;r.getVisitorKeys=function getVisitorKeys(){if(!n){const e={ChainExpression:s.ChainExpression,ImportExpression:s.ImportExpression,Literal:s.Literal,MethodDefinition:["decorators"].concat(s.MethodDefinition),Property:["decorators"].concat(s.Property),PropertyDefinition:["decorators","typeAnnotation"].concat(s.PropertyDefinition)};const r={ClassPrivateMethod:["decorators"].concat(s.MethodDefinition),ExportAllDeclaration:s.ExportAllDeclaration};n=Object.assign({},e,a.types.VISITOR_KEYS,r)}return n};let o;r.getTokLabels=function getTokLabels(){return o||(o=(e=>e.reduce(((e,[r,t])=>Object.assign({},e,{[r]:t})),{}))(Object.entries(a.tokTypes).map((([e,r])=>[e,r.label]))))}},6828:(e,r,t)=>{function initialize(e){r.init=null;r.version=e.version;r.traverse=e.traverse;r.types=e.types;r.tokTypes=e.tokTypes;r.parseSync=e.parseSync;r.loadPartialConfigSync=e.loadPartialConfigSync;r.loadPartialConfigAsync=e.loadPartialConfigAsync;r.createConfigItem=e.createConfigItem}{initialize(t(8304))}},7141:(e,r,t)=>{function asyncGeneratorStep(e,r,t,s,a,n,o){try{var i=e[n](o);var l=i.value}catch(e){t(e);return}if(i.done){r(l)}else{Promise.resolve(l).then(s,a)}}function _asyncToGenerator(e){return function(){var r=this,t=arguments;return new Promise((function(s,a){var n=e.apply(r,t);function _next(e){asyncGeneratorStep(n,s,a,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(n,s,a,_next,_throw,"throw",e)}_next(undefined)}))}}const s=t(6828);const a=t(6083);function getParserPlugins(e){var r,t;const s=(r=(t=e.parserOpts)==null?void 0:t.plugins)!=null?r:[];const n={classFeatures:a>=8};for(const e of s){if(Array.isArray(e)&&e[0]==="estree"){Object.assign(n,e[1]);break}}return[["estree",n],...s]}function normalizeParserOptions(e){var r,t,s;return Object.assign({sourceType:e.sourceType,filename:e.filePath},e.babelOptions,{parserOpts:Object.assign({},{allowImportExportEverywhere:(r=e.allowImportExportEverywhere)!=null?r:false,allowSuperOutsideMethod:true},{allowReturnOutsideFunction:(t=(s=e.ecmaFeatures)==null?void 0:s.globalReturn)!=null?t:true},e.babelOptions.parserOpts,{plugins:getParserPlugins(e.babelOptions),attachComment:false,ranges:true,tokens:true}),caller:Object.assign({name:"@babel/eslint-parser"},e.babelOptions.caller)})}function validateResolvedConfig(e,r,t){if(e!==null){if(r.requireConfigFile!==false){if(!e.hasFilesystemConfig()){let r=`No Babel config file detected for ${e.options.filename}. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.`;if(e.options.filename.includes("node_modules")){r+=`\nIf you have a .babelrc.js file or use package.json#babel, keep in mind that it's not used when parsing dependencies. If you want your config to be applied to your whole app, consider using babel.config.js or babel.config.json instead.`}throw new Error(r)}}if(e.options)return e.options}return getDefaultParserOptions(t)}function getDefaultParserOptions(e){return Object.assign({plugins:[]},e,{babelrc:false,configFile:false,browserslistConfigFile:false,ignore:null,only:null})}r.normalizeBabelParseConfig=_asyncToGenerator((function*(e){const r=normalizeParserOptions(e);const t=yield s.loadPartialConfigAsync(r);return validateResolvedConfig(t,e,r)}));r.normalizeBabelParseConfigSync=function(e){const r=normalizeParserOptions(e);const t=s.loadPartialConfigSync(r);return validateResolvedConfig(t,e,r)}},3724:e=>{e.exports=function extractParserOptionsPlugin(){return{parserOverride(e,r){return r}}}},8462:(e,r,t)=>{const s=t(6828);const a=t(6275);const{getVisitorKeys:n,getTokLabels:o}=t(5745);const{normalizeBabelParseConfig:i,normalizeBabelParseConfigSync:l}=t(7141);e.exports=function handleMessage(e,r){switch(e){case"GET_VERSION":return s.version;case"GET_TYPES_INFO":return{FLOW_FLIPPED_ALIAS_KEYS:s.types.FLIPPED_ALIAS_KEYS.Flow,VISITOR_KEYS:s.types.VISITOR_KEYS};case"GET_TOKEN_LABELS":return o();case"GET_VISITOR_KEYS":return n();case"MAYBE_PARSE":return i(r.options).then((e=>a(r.code,e)));case"MAYBE_PARSE_SYNC":{return a(r.code,l(r.options))}}throw new Error(`Unknown internal parser worker action: ${e}`)}},6275:(e,r,t)=>{const s=t(6828);const a=t(3240);const{getVisitorKeys:n,getTokLabels:o}=t(5745);const i=t(3724);const l={};let c;const d=/More than one plugin attempted to override parsing/;e.exports=function maybeParse(e,r){if(!c){c=s.createConfigItem([i,l],{dirname:__dirname,type:"plugin"})}const{plugins:t}=r;r.plugins=t.concat(c);try{return{parserOptions:s.parseSync(e,r),ast:null}}catch(e){if(!d.test(e.message)){throw e}}r.plugins=t;let u;try{u=s.parseSync(e,r)}catch(e){throw a.error(e)}return{ast:a.ast(u,e,o(),n()),parserOptions:null}}},82:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","deno":"1","ios":"9","samsung":"5","rhino":"1.7.13","opera_mobile":"32","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"5","rhino":"1.7.13","opera_mobile":"32","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"5","rhino":"1.7.13","opera_mobile":"32","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"5","rhino":"1.7.13","opera_mobile":"32","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","deno":"1","ios":"12","samsung":"10","opera_mobile":"48","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"102","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"34","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","deno":"1","ios":"9","samsung":"9","rhino":"1.7.13","opera_mobile":"47","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","deno":"1","ios":"9","samsung":"5","rhino":"1.7.13","opera_mobile":"32","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","deno":"1","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","opera_mobile":"46","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.4","deno":"1","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","opera_mobile":"12.1","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"34","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"10","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.4","deno":"1","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","deno":"1","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","opera_mobile":"18","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"28","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.14","opera_mobile":"21","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.8","deno":"1","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","opera_mobile":"14","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.13","opera_mobile":"21","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.8","deno":"1","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","opera_mobile":"14","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.13","opera_mobile":"21","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.13","opera_mobile":"21","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.13","opera_mobile":"21","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.14","opera_mobile":"21","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.14","opera_mobile":"21","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","deno":"1","ios":"9","samsung":"8","opera_mobile":"46","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","deno":"1","ios":"9","samsung":"8","opera_mobile":"46","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","opera_mobile":"41","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","opera_mobile":"32","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","opera_mobile":"32","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","opera_mobile":"41","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"27","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","opera_mobile":"32","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","deno":"1","ios":"9","samsung":"8","opera_mobile":"46","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","deno":"1","ios":"9","samsung":"8","opera_mobile":"46","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","opera_mobile":"32","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","deno":"1","ios":"10","samsung":"7","opera_mobile":"43","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.8","deno":"1","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","opera_mobile":"14","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","opera_mobile":"32","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","opera_mobile":"32","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","opera_mobile":"32","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"27","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","opera_mobile":"32","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","deno":"1","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","opera_mobile":"21","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","opera_mobile":"41","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"46","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","deno":"1","ios":"9","samsung":"5","opera_mobile":"36","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","opera_mobile":"37","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","opera_mobile":"37","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"28","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"28","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"28","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"28","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","deno":"1","ios":"10","samsung":"7","rhino":"1.7.13","opera_mobile":"43","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","deno":"1","ios":"10","samsung":"7","rhino":"1.7.13","opera_mobile":"43","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.14","opera_mobile":"28","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"28","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","opera_mobile":"28","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","opera_mobile":"14","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.13","opera_mobile":"47","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.13","opera_mobile":"47","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.4","deno":"1","ie":"10","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","deno":"1","ios":"9","samsung":"5","opera_mobile":"41","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","deno":"1","ios":"9","samsung":"5","opera_mobile":"41","electron":"1.2"}}')},212:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"45","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},650:e=>{"use strict";e.exports=JSON.parse('{"transform-async-to-generator":["bugfix/transform-async-arrows-in-class"],"transform-parameters":["bugfix/transform-edge-default-parameters","bugfix/transform-safari-id-destructuring-collision-in-function-expression"],"transform-function-name":["bugfix/transform-edge-function-name"],"transform-block-scoping":["bugfix/transform-safari-block-shadowing","bugfix/transform-safari-for-shadowing"],"transform-template-literals":["bugfix/transform-tagged-template-caching"],"transform-optional-chaining":["bugfix/transform-v8-spread-parameters-in-optional-chaining"],"proposal-optional-chaining":["bugfix/transform-v8-spread-parameters-in-optional-chaining"]}')},1195:e=>{"use strict";e.exports=JSON.parse('{"bugfix/transform-async-arrows-in-class":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","deno":"1","ios":"11","samsung":"6","opera_mobile":"42","electron":"1.6"},"bugfix/transform-edge-default-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"52","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"bugfix/transform-edge-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"bugfix/transform-safari-block-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"44","safari":"11","node":"6","deno":"1","ie":"11","ios":"11","samsung":"5","opera_mobile":"36","electron":"0.37"},"bugfix/transform-safari-for-shadowing":{"chrome":"49","opera":"36","edge":"12","firefox":"4","safari":"11","node":"6","deno":"1","ie":"11","ios":"11","samsung":"5","rhino":"1.7.13","opera_mobile":"36","electron":"0.37"},"bugfix/transform-safari-id-destructuring-collision-in-function-expression":{"chrome":"49","opera":"36","edge":"14","firefox":"2","safari":"16.3","node":"6","deno":"1","ios":"16.3","samsung":"5","opera_mobile":"36","electron":"0.37"},"bugfix/transform-tagged-template-caching":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"13","node":"4","deno":"1","ios":"13","samsung":"3.4","rhino":"1.7.14","opera_mobile":"28","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","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-optional-chaining":{"chrome":"80","opera":"67","edge":"80","firefox":"74","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"proposal-optional-chaining":{"chrome":"80","opera":"67","edge":"80","firefox":"74","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"15","firefox":"53","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"10.1","node":"7.6","deno":"1","ios":"10.3","samsung":"6","opera_mobile":"42","electron":"1.6"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-function-name":{"chrome":"51","opera":"38","edge":"14","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-block-scoping":{"chrome":"50","opera":"37","edge":"14","firefox":"53","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"}}')},2735:e=>{"use strict";e.exports=JSON.parse('{"transform-unicode-sets-regex":{"chrome":"112","opera":"98","edge":"112","firefox":"116","safari":"tp","node":"20","deno":"1.32","opera_mobile":"75","electron":"24.0"},"transform-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","safari":"16.4","node":"16.11","deno":"1.14","ios":"16.4","samsung":"17","opera_mobile":"66","electron":"15.0"},"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","safari":"16.4","node":"16.11","deno":"1.14","ios":"16.4","samsung":"17","opera_mobile":"66","electron":"15.0"},"transform-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","opera_mobile":"64","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"14.5","samsung":"11","opera_mobile":"53","electron":"6.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"14.5","samsung":"11","opera_mobile":"53","electron":"6.0"},"transform-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","opera_mobile":"60","electron":"10.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","opera_mobile":"60","electron":"10.0"},"transform-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","opera_mobile":"54","electron":"6.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","opera_mobile":"54","electron":"6.0"},"transform-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","opera_mobile":"60","electron":"10.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","opera_mobile":"60","electron":"10.0"},"transform-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"transform-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","opera_mobile":"47","electron":"3.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","opera_mobile":"47","electron":"3.0"},"transform-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"16.3","node":"6","deno":"1","ios":"16.3","samsung":"5","opera_mobile":"36","electron":"0.37"},"transform-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"transform-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"44","electron":"2.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"44","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"46","electron":"3.0"},"transform-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","deno":"1","ios":"11","samsung":"6","opera_mobile":"42","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","opera_mobile":"41","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","deno":"1","ios":"13","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","opera_mobile":"34","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","deno":"1","ie":"11","ios":"10","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.14","opera_mobile":"30","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","opera_mobile":"29","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","deno":"1","ios":"12","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-block-scoping":{"chrome":"50","opera":"37","edge":"14","firefox":"53","safari":"11","node":"6","deno":"1","ios":"11","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.6","deno":"1","ie":"9","android":"4.4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"transform-export-namespace-from":{"chrome":"72","deno":"1.0","edge":"79","firefox":"80","node":"13.2","opera":"60","opera_mobile":"51","safari":"14.1","ios":"14.5","samsung":"11.0","android":"72","electron":"5.0"},"proposal-export-namespace-from":{"chrome":"72","deno":"1.0","edge":"79","firefox":"80","node":"13.2","opera":"60","opera_mobile":"51","safari":"14.1","ios":"14.5","samsung":"11.0","android":"72","electron":"5.0"}}')},2152:e=>{"use strict";e.exports=JSON.parse('{"es6.array.copy-within":{"chrome":"45","opera":"32","edge":"12","firefox":"32","safari":"9","node":"4","deno":"1","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.every":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.fill":{"chrome":"45","opera":"32","edge":"12","firefox":"31","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.filter":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.array.find":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.find-index":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es7.array.flat-map":{"chrome":"69","opera":"56","edge":"79","firefox":"62","safari":"12","node":"11","deno":"1","ios":"12","samsung":"10","electron":"4.0"},"es6.array.for-each":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.from":{"chrome":"51","opera":"38","edge":"15","firefox":"36","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es7.array.includes":{"chrome":"47","opera":"34","edge":"14","firefox":"102","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"es6.array.index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.is-array":{"chrome":"5","opera":"10.50","edge":"12","firefox":"4","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.iterator":{"chrome":"66","opera":"53","edge":"12","firefox":"60","safari":"9","node":"10","deno":"1","ios":"9","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.array.last-index-of":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.map":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.array.of":{"chrome":"45","opera":"32","edge":"12","firefox":"25","safari":"9","node":"4","deno":"1","ios":"9","samsung":"5","rhino":"1.7.13","electron":"0.31"},"es6.array.reduce":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.reduce-right":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.slice":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.array.some":{"chrome":"5","opera":"10.10","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.array.sort":{"chrome":"63","opera":"50","edge":"12","firefox":"5","safari":"12","node":"10","deno":"1","ie":"9","ios":"12","samsung":"8","rhino":"1.7.13","electron":"3.0"},"es6.array.species":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.date.now":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-iso-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-json":{"chrome":"5","opera":"12.10","edge":"12","firefox":"4","safari":"10","node":"0.4","deno":"1","ie":"9","android":"4","ios":"10","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.date.to-primitive":{"chrome":"47","opera":"34","edge":"15","firefox":"44","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"es6.date.to-string":{"chrome":"5","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.4","deno":"1","ie":"10","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.bind":{"chrome":"7","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.function.has-instance":{"chrome":"51","opera":"38","edge":"15","firefox":"50","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.function.name":{"chrome":"5","opera":"10.50","edge":"14","firefox":"2","safari":"4","node":"0.4","deno":"1","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.math.acosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.asinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.atanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cbrt":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.clz32":{"chrome":"38","opera":"25","edge":"12","firefox":"31","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.cosh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.expm1":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.fround":{"chrome":"38","opera":"25","edge":"12","firefox":"26","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.hypot":{"chrome":"38","opera":"25","edge":"12","firefox":"27","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.imul":{"chrome":"30","opera":"17","edge":"12","firefox":"23","safari":"7","node":"0.12","deno":"1","android":"4.4","ios":"7","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.math.log1p":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log10":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.log2":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sign":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.sinh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.tanh":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.math.trunc":{"chrome":"38","opera":"25","edge":"12","firefox":"25","safari":"7.1","node":"0.12","deno":"1","ios":"8","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.number.constructor":{"chrome":"41","opera":"28","edge":"12","firefox":"36","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.number.epsilon":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.number.is-finite":{"chrome":"19","opera":"15","edge":"12","firefox":"16","safari":"9","node":"0.8","deno":"1","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"16","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.is-nan":{"chrome":"19","opera":"15","edge":"12","firefox":"15","safari":"9","node":"0.8","deno":"1","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.number.is-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"32","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.max-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.min-safe-integer":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es6.number.parse-float":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.number.parse-int":{"chrome":"34","opera":"21","edge":"12","firefox":"25","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"2","rhino":"1.7.14","electron":"0.20"},"es6.object.assign":{"chrome":"49","opera":"36","edge":"13","firefox":"36","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.object.create":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.define-getter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","deno":"1","ios":"9","samsung":"8","electron":"3.0"},"es7.object.define-setter":{"chrome":"62","opera":"49","edge":"16","firefox":"48","safari":"9","node":"8.10","deno":"1","ios":"9","samsung":"8","electron":"3.0"},"es6.object.define-property":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.object.define-properties":{"chrome":"5","opera":"12","edge":"12","firefox":"4","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.object.entries":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.4"},"es6.object.freeze":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.get-own-property-descriptor":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.get-own-property-descriptors":{"chrome":"54","opera":"41","edge":"15","firefox":"50","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","electron":"1.4"},"es6.object.get-own-property-names":{"chrome":"40","opera":"27","edge":"12","firefox":"33","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.get-prototype-of":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es7.object.lookup-getter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","deno":"1","ios":"9","samsung":"8","electron":"3.0"},"es7.object.lookup-setter":{"chrome":"62","opera":"49","edge":"79","firefox":"36","safari":"9","node":"8.10","deno":"1","ios":"9","samsung":"8","electron":"3.0"},"es6.object.prevent-extensions":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.to-string":{"chrome":"57","opera":"44","edge":"15","firefox":"51","safari":"10","node":"8","deno":"1","ios":"10","samsung":"7","electron":"1.7"},"es6.object.is":{"chrome":"19","opera":"15","edge":"12","firefox":"22","safari":"9","node":"0.8","deno":"1","android":"4.1","ios":"9","samsung":"1.5","rhino":"1.7.13","electron":"0.20"},"es6.object.is-frozen":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-sealed":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.is-extensible":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.keys":{"chrome":"40","opera":"27","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.object.seal":{"chrome":"44","opera":"31","edge":"12","firefox":"35","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.13","electron":"0.30"},"es6.object.set-prototype-of":{"chrome":"34","opera":"21","edge":"12","firefox":"31","safari":"9","node":"0.12","deno":"1","ie":"11","ios":"9","samsung":"2","rhino":"1.7.13","electron":"0.20"},"es7.object.values":{"chrome":"54","opera":"41","edge":"14","firefox":"47","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.4"},"es6.promise":{"chrome":"51","opera":"38","edge":"14","firefox":"45","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es7.promise.finally":{"chrome":"63","opera":"50","edge":"18","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"8","electron":"3.0"},"es6.reflect.apply":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.construct":{"chrome":"49","opera":"36","edge":"13","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.define-property":{"chrome":"49","opera":"36","edge":"13","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.delete-property":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-own-property-descriptor":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.get-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.has":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.is-extensible":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.own-keys":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.prevent-extensions":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.reflect.set-prototype-of":{"chrome":"49","opera":"36","edge":"12","firefox":"42","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"es6.regexp.constructor":{"chrome":"50","opera":"37","edge":"79","firefox":"40","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.flags":{"chrome":"49","opera":"36","edge":"79","firefox":"37","safari":"9","node":"6","deno":"1","ios":"9","samsung":"5","electron":"0.37"},"es6.regexp.match":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.replace":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.split":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"1.1"},"es6.regexp.search":{"chrome":"50","opera":"37","edge":"79","firefox":"49","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","electron":"1.1"},"es6.regexp.to-string":{"chrome":"50","opera":"37","edge":"79","firefox":"39","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"1.1"},"es6.set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.symbol":{"chrome":"51","opera":"38","edge":"79","firefox":"51","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es7.symbol.async-iterator":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","electron":"3.0"},"es6.string.anchor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.big":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.blink":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.bold":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.code-point-at":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.ends-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.fixed":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.fontcolor":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.fontsize":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.from-code-point":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.includes":{"chrome":"41","opera":"28","edge":"12","firefox":"40","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.italics":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.iterator":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"es6.string.link":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es7.string.pad-start":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","deno":"1","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es7.string.pad-end":{"chrome":"57","opera":"44","edge":"15","firefox":"48","safari":"10","node":"8","deno":"1","ios":"10","samsung":"7","rhino":"1.7.13","electron":"1.7"},"es6.string.raw":{"chrome":"41","opera":"28","edge":"12","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.14","electron":"0.21"},"es6.string.repeat":{"chrome":"41","opera":"28","edge":"12","firefox":"24","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.small":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.starts-with":{"chrome":"41","opera":"28","edge":"12","firefox":"29","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","rhino":"1.7.13","electron":"0.21"},"es6.string.strike":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.sub":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.sup":{"chrome":"5","opera":"15","edge":"12","firefox":"17","safari":"6","node":"0.4","deno":"1","android":"4","ios":"7","phantom":"1.9","samsung":"1","rhino":"1.7.14","electron":"0.20"},"es6.string.trim":{"chrome":"5","opera":"10.50","edge":"12","firefox":"3.5","safari":"4","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es7.string.trim-left":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es7.string.trim-right":{"chrome":"66","opera":"53","edge":"79","firefox":"61","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.13","electron":"3.0"},"es6.typed.array-buffer":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.data-view":{"chrome":"5","opera":"12","edge":"12","firefox":"15","safari":"5.1","node":"0.4","deno":"1","ie":"10","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"es6.typed.int8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint8-clamped-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint16-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.int32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.uint32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float32-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.typed.float64-array":{"chrome":"51","opera":"38","edge":"13","firefox":"48","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"es6.weak-map":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","deno":"1","ios":"9","samsung":"5","electron":"1.2"},"es6.weak-set":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"9","node":"6.5","deno":"1","ios":"9","samsung":"5","electron":"1.2"}}')},5626:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},2945:e=>{"use strict";e.exports=JSON.parse('{"transform-unicode-sets-regex":{"chrome":"112","opera":"98","edge":"112"},"transform-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","node":"16.11","deno":"1.14","samsung":"17","electron":"15.0"},"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","node":"16.11","deno":"1.14","samsung":"17","electron":"15.0"},"transform-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","electron":"13.0"},"transform-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"15","samsung":"11","electron":"6.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"15","samsung":"11","electron":"6.0"},"transform-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","electron":"10.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","electron":"10.0"},"transform-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","electron":"6.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","electron":"6.0"},"transform-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","electron":"10.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","electron":"10.0"},"transform-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","electron":"8.0"},"transform-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","electron":"13.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","electron":"13.0"},"transform-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","electron":"3.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","electron":"3.0"},"transform-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","node":"6","deno":"1","samsung":"5","electron":"0.37"},"transform-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","electron":"3.0"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","electron":"3.0"},"transform-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","electron":"2.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","deno":"1","ios":"11.3","samsung":"8","electron":"3.0"},"transform-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","deno":"1","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","deno":"1","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","deno":"1","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.14","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","deno":"1","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"50","opera":"37","edge":"14","firefox":"53","safari":"11","node":"6","deno":"1","ios":"11","samsung":"5","electron":"1.1"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.6","deno":"1","ie":"9","android":"4.4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},7618:e=>{"use strict";e.exports=JSON.parse('{"es.symbol":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","firefox-android":"51","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.symbol.description":{"android":"70","bun":"0.1.1","chrome":"70","chrome-android":"70","deno":"1.0","edge":"79","electron":"5.0","firefox":"63","firefox-android":"63","ios":"12.2","node":"11.0","oculus":"6.0","opera":"57","opera-android":"49","opera_mobile":"49","quest":"6.0","safari":"12.1","samsung":"10.0"},"es.symbol.async-iterator":{"android":"63","bun":"0.1.1","chrome":"63","chrome-android":"63","deno":"1.0","edge":"79","electron":"3.0","firefox":"55","firefox-android":"55","ios":"12.0","node":"10.0","oculus":"5.0","opera":"50","opera-android":"46","opera_mobile":"46","quest":"5.0","safari":"12.0","samsung":"8.0"},"es.symbol.has-instance":{"android":"50","bun":"0.1.1","chrome":"50","chrome-android":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"49","firefox-android":"49","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"37","opera-android":"37","opera_mobile":"37","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.is-concat-spreadable":{"android":"48","bun":"0.1.1","chrome":"48","chrome-android":"48","deno":"1.0","edge":"15","electron":"0.37","firefox":"48","firefox-android":"48","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"35","opera-android":"35","opera_mobile":"35","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.iterator":{"android":"41","bun":"0.1.1","chrome":"41","chrome-android":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"36","firefox-android":"36","hermes":"0.1","ios":"9.0","node":"1.0","oculus":"3.0","opera":"28","opera-android":"28","opera_mobile":"28","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.symbol.match":{"android":"50","bun":"0.1.1","chrome":"50","chrome-android":"50","deno":"1.0","edge":"79","electron":"1.1","firefox":"40","firefox-android":"40","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"37","opera-android":"37","opera_mobile":"37","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.match-all":{"android":"73","bun":"0.1.1","chrome":"73","chrome-android":"73","deno":"1.0","edge":"79","electron":"5.0","firefox":"67","firefox-android":"67","hermes":"0.6","ios":"13.0","node":"12.0","oculus":"6.0","opera":"60","opera-android":"52","opera_mobile":"52","quest":"6.0","react-native":"0.69","safari":"13","samsung":"11.0"},"es.symbol.replace":{"android":"50","bun":"0.1.1","chrome":"50","chrome-android":"50","deno":"1.0","edge":"79","electron":"1.1","firefox":"49","firefox-android":"49","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"37","opera-android":"37","opera_mobile":"37","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.search":{"android":"50","bun":"0.1.1","chrome":"50","chrome-android":"50","deno":"1.0","edge":"79","electron":"1.1","firefox":"49","firefox-android":"49","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"37","opera-android":"37","opera_mobile":"37","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.species":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"41","firefox-android":"41","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.split":{"android":"50","bun":"0.1.1","chrome":"50","chrome-android":"50","deno":"1.0","edge":"79","electron":"1.1","firefox":"49","firefox-android":"49","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"37","opera-android":"37","opera_mobile":"37","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.to-primitive":{"android":"47","bun":"0.1.1","chrome":"47","chrome-android":"47","deno":"1.0","edge":"15","electron":"0.36","firefox":"44","firefox-android":"44","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"34","opera-android":"34","opera_mobile":"34","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.to-string-tag":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","firefox-android":"51","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.symbol.unscopables":{"android":"41","bun":"0.1.1","chrome":"41","chrome-android":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"48","firefox-android":"48","ios":"9.0","node":"1.0","oculus":"3.0","opera":"28","opera-android":"28","opera_mobile":"28","quest":"3.0","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.error.cause":{"android":"94","bun":"0.1.1","chrome":"94","chrome-android":"94","deno":"1.14","edge":"94","electron":"15.0","firefox":"91","firefox-android":"91","hermes":"0.8","ios":"15.0","node":"16.11","oculus":"18.0","opera":"80","opera-android":"66","opera_mobile":"66","quest":"18.0","react-native":"0.69","safari":"15.0","samsung":"17.0"},"es.error.to-string":{"android":"4.4.3","bun":"0.1.1","chrome":"33","chrome-android":"33","deno":"1.0","edge":"12","electron":"0.20","firefox":"11","firefox-android":"11","hermes":"0.1","ie":"9","ios":"9.0","node":"0.11.13","oculus":"3.0","opera":"20","opera-android":"20","opera_mobile":"20","quest":"3.0","react-native":"0.69","rhino":"1.7.14","safari":"8.0","samsung":"2.0"},"es.aggregate-error":{"android":"85","bun":"0.1.1","chrome":"85","chrome-android":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","firefox-android":"79","ios":"14.0","node":"15.0","oculus":"12.0","opera":"71","opera-android":"60","opera_mobile":"60","quest":"12.0","safari":"14.0","samsung":"14.0"},"es.aggregate-error.cause":{"android":"94","bun":"0.1.1","chrome":"94","chrome-android":"94","deno":"1.14","edge":"94","electron":"15.0","firefox":"91","firefox-android":"91","ios":"15.0","node":"16.11","oculus":"18.0","opera":"80","opera-android":"66","opera_mobile":"66","quest":"18.0","safari":"15.0","samsung":"17.0"},"es.array.at":{"android":"92","bun":"0.1.1","chrome":"92","chrome-android":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","firefox-android":"90","ios":"15.4","node":"16.6","oculus":"17.0","opera":"78","opera-android":"65","opera_mobile":"65","quest":"17.0","react-native":"0.71","safari":"15.4","samsung":"16.0"},"es.array.concat":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"48","firefox-android":"48","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","safari":"10.0","samsung":"5.0"},"es.array.copy-within":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"12","electron":"0.31","firefox":"48","firefox-android":"48","ios":"9.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","safari":"9.0","samsung":"5.0"},"es.array.every":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.fill":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"12","electron":"0.31","firefox":"48","firefox-android":"48","ios":"9.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","safari":"9.0","samsung":"5.0"},"es.array.filter":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"48","firefox-android":"48","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","safari":"10.0","samsung":"5.0"},"es.array.find":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"48","firefox-android":"48","ios":"9.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","safari":"9.0","samsung":"5.0"},"es.array.find-index":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"48","firefox-android":"48","ios":"9.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","safari":"9.0","samsung":"5.0"},"es.array.find-last":{"android":"97","bun":"0.1.1","chrome":"97","chrome-android":"97","deno":"1.16","edge":"97","electron":"17.0","firefox":"104","firefox-android":"104","hermes":"0.11","ios":"15.4","node":"18.0","oculus":"20.0","opera":"83","opera-android":"68","opera_mobile":"68","quest":"20.0","react-native":"0.69","safari":"15.4","samsung":"18.0"},"es.array.find-last-index":{"android":"97","bun":"0.1.1","chrome":"97","chrome-android":"97","deno":"1.16","edge":"97","electron":"17.0","firefox":"104","firefox-android":"104","hermes":"0.11","ios":"15.4","node":"18.0","oculus":"20.0","opera":"83","opera-android":"68","opera_mobile":"68","quest":"20.0","react-native":"0.69","safari":"15.4","samsung":"18.0"},"es.array.flat":{"android":"69","bun":"0.1.1","chrome":"69","chrome-android":"69","deno":"1.0","edge":"79","electron":"4.0","firefox":"62","firefox-android":"62","hermes":"0.4","ios":"12.0","node":"11.0","oculus":"6.0","opera":"56","opera-android":"48","opera_mobile":"48","quest":"6.0","react-native":"0.69","safari":"12.0","samsung":"10.0"},"es.array.flat-map":{"android":"69","bun":"0.1.1","chrome":"69","chrome-android":"69","deno":"1.0","edge":"79","electron":"4.0","firefox":"62","firefox-android":"62","hermes":"0.4","ios":"12.0","node":"11.0","oculus":"6.0","opera":"56","opera-android":"48","opera_mobile":"48","quest":"6.0","react-native":"0.69","safari":"12.0","samsung":"10.0"},"es.array.for-each":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.from":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","firefox-android":"53","ios":"9.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","rhino":"1.7.13","safari":"9.0","samsung":"5.0"},"es.array.includes":{"android":"53","bun":"0.1.1","chrome":"53","chrome-android":"53","deno":"1.0","edge":"14","electron":"1.4","firefox":"102","firefox-android":"102","ios":"10.0","node":"7.0","oculus":"3.0","opera":"40","opera-android":"40","opera_mobile":"40","quest":"3.0","safari":"10.0","samsung":"6.0"},"es.array.index-of":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"12","electron":"1.2","firefox":"47","firefox-android":"47","hermes":"0.1","ie":"9","ios":"8.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"5.0"},"es.array.is-array":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"3.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.array.iterator":{"android":"66","bun":"0.1.1","chrome":"66","chrome-android":"66","deno":"1.0","edge":"15","electron":"3.0","firefox":"60","firefox-android":"60","ios":"10.0","node":"10.0","oculus":"5.0","opera":"53","opera-android":"47","opera_mobile":"47","quest":"5.0","safari":"10.0","samsung":"9.0"},"es.array.join":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.last-index-of":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"12","electron":"1.2","firefox":"47","firefox-android":"47","hermes":"0.1","ie":"9","ios":"8.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"5.0"},"es.array.map":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"50","firefox-android":"50","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","safari":"10.0","samsung":"5.0"},"es.array.of":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"9.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"5.0"},"es.array.push":{"bun":"0.1.1","firefox":"55","firefox-android":"55","hermes":"0.2","ios":"16.0","react-native":"0.69","safari":"16.0"},"es.array.reduce":{"android":"83","bun":"0.1.1","chrome":"83","chrome-android":"83","deno":"1.0","edge":"12","electron":"9.0","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"8.0","node":"6.0","oculus":"10.0","opera":"69","opera-android":"59","opera_mobile":"59","quest":"10.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"13.0"},"es.array.reduce-right":{"android":"83","bun":"0.1.1","chrome":"83","chrome-android":"83","deno":"1.0","edge":"12","electron":"9.0","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"8.0","node":"6.0","oculus":"10.0","opera":"69","opera-android":"59","opera_mobile":"59","quest":"10.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"13.0"},"es.array.reverse":{"android":"3.0","bun":"0.1.1","chrome":"1","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","firefox-android":"4","hermes":"0.1","ie":"5.5","ios":"12.2","node":"0.0.3","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"12.0.2","samsung":"1.0"},"es.array.slice":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"48","firefox-android":"48","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","safari":"10.0","samsung":"5.0"},"es.array.some":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.array.sort":{"android":"70","bun":"0.1.1","chrome":"70","chrome-android":"70","deno":"1.0","edge":"79","electron":"5.0","firefox":"4","firefox-android":"4","hermes":"0.10","ios":"12.0","node":"11.0","oculus":"6.0","opera":"57","opera-android":"49","opera_mobile":"49","quest":"6.0","react-native":"0.69","safari":"12.0","samsung":"10.0"},"es.array.species":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"48","firefox-android":"48","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","safari":"10.0","samsung":"5.0"},"es.array.splice":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"49","firefox-android":"49","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","safari":"10.0","samsung":"5.0"},"es.array.to-reversed":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"es.array.to-sorted":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"es.array.to-spliced":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"es.array.unscopables.flat":{"android":"73","bun":"0.1.1","chrome":"73","chrome-android":"73","deno":"1.0","edge":"79","electron":"5.0","firefox":"67","firefox-android":"67","ios":"13.0","node":"12.0","oculus":"6.0","opera":"60","opera-android":"52","opera_mobile":"52","quest":"6.0","safari":"13","samsung":"11.0"},"es.array.unscopables.flat-map":{"android":"73","bun":"0.1.1","chrome":"73","chrome-android":"73","deno":"1.0","edge":"79","electron":"5.0","firefox":"67","firefox-android":"67","ios":"13.0","node":"12.0","oculus":"6.0","opera":"60","opera-android":"52","opera_mobile":"52","quest":"6.0","safari":"13","samsung":"11.0"},"es.array.unshift":{"android":"71","bun":"0.1.1","chrome":"71","chrome-android":"71","deno":"1.0","edge":"12","electron":"5.0","firefox":"23","firefox-android":"23","hermes":"0.1","ie":"9","ios":"16.0","node":"12.0","oculus":"6.0","opera":"58","opera-android":"50","opera_mobile":"50","quest":"6.0","react-native":"0.69","safari":"16.0","samsung":"10.0"},"es.array.with":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"es.array-buffer.constructor":{"android":"4.4","bun":"0.1.1","chrome":"28","chrome-android":"28","deno":"1.0","edge":"14","electron":"0.20","firefox":"44","firefox-android":"44","hermes":"0.1","ios":"12.0","node":"0.11.1","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","safari":"12.0","samsung":"1.5"},"es.array-buffer.is-view":{"android":"4.4.3","bun":"0.1.1","chrome":"32","chrome-android":"32","deno":"1.0","edge":"12","electron":"0.20","firefox":"29","firefox-android":"29","hermes":"0.1","ie":"11","ios":"8.0","node":"0.11.9","oculus":"3.0","opera":"19","opera-android":"19","opera_mobile":"19","quest":"3.0","react-native":"0.69","safari":"7.1","samsung":"2.0"},"es.array-buffer.slice":{"android":"4.4.3","bun":"0.1.1","chrome":"31","chrome-android":"31","deno":"1.0","edge":"12","electron":"0.20","firefox":"46","firefox-android":"46","hermes":"0.1","ie":"11","ios":"12.2","node":"0.11.8","oculus":"3.0","opera":"18","opera-android":"18","opera_mobile":"18","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"12.1","samsung":"2.0"},"es.data-view":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"15","firefox-android":"15","hermes":"0.1","ie":"10","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.date.get-year":{"android":"3.0","bun":"0.1.1","chrome":"1","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","firefox-android":"4","hermes":"0.1","ie":"9","ios":"1.0","node":"0.0.3","oculus":"3.0","opera":"3","opera-android":"3","opera_mobile":"3","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.now":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","hermes":"0.1","ie":"9","ios":"3.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.date.set-year":{"android":"3.0","bun":"0.1.1","chrome":"1","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","firefox-android":"4","hermes":"0.1","ie":"3","ios":"1.0","node":"0.0.3","oculus":"3.0","opera":"3","opera-android":"3","opera_mobile":"3","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.to-gmt-string":{"android":"3.0","bun":"0.1.1","chrome":"1","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","firefox-android":"4","hermes":"0.1","ie":"3","ios":"1.0","node":"0.0.3","oculus":"3.0","opera":"3","opera-android":"3","opera_mobile":"3","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.date.to-iso-string":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"7","firefox-android":"7","hermes":"0.1","ie":"9","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.date.to-json":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"10.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"1.5"},"es.date.to-primitive":{"android":"47","bun":"0.1.1","chrome":"47","chrome-android":"47","deno":"1.0","edge":"15","electron":"0.36","firefox":"44","firefox-android":"44","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"34","opera-android":"34","opera_mobile":"34","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.date.to-string":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","hermes":"0.1","ie":"9","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.escape":{"android":"3.0","bun":"0.1.1","chrome":"1","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","firefox-android":"4","hermes":"0.1","ie":"3","ios":"1.0","node":"0.0.3","oculus":"3.0","opera":"3","opera-android":"3","opera_mobile":"3","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.function.bind":{"android":"3.0","bun":"0.1.1","chrome":"7","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"5.0","node":"0.1.101","oculus":"3.0","opera":"12","opera-android":"12","opera_mobile":"12","phantom":"2.0","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"5.1","samsung":"1.0"},"es.function.has-instance":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"50","firefox-android":"50","hermes":"0.1","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.function.name":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","hermes":"0.1","ios":"3.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.global-this":{"android":"71","bun":"0.1.1","chrome":"71","chrome-android":"71","deno":"1.0","edge":"79","electron":"5.0","firefox":"65","firefox-android":"65","hermes":"0.2","ios":"12.2","node":"12.0","oculus":"6.0","opera":"58","opera-android":"50","opera_mobile":"50","quest":"6.0","react-native":"0.69","rhino":"1.7.14","safari":"12.1","samsung":"10.0"},"es.json.stringify":{"android":"72","bun":"0.1.1","chrome":"72","chrome-android":"72","deno":"1.0","edge":"79","electron":"5.0","firefox":"64","firefox-android":"64","ios":"12.2","node":"12.0","oculus":"6.0","opera":"59","opera-android":"51","opera_mobile":"51","quest":"6.0","safari":"12.1","samsung":"11.0"},"es.json.to-string-tag":{"android":"50","bun":"0.1.1","chrome":"50","chrome-android":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"51","firefox-android":"51","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"37","opera-android":"37","opera_mobile":"37","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.map":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","firefox-android":"53","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.math.acosh":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"13","electron":"1.4","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","react-native":"0.69","safari":"7.1","samsung":"6.0"},"es.math.asinh":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.atanh":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.cbrt":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.clz32":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","firefox-android":"31","hermes":"0.1","ios":"9.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.0"},"es.math.cosh":{"android":"39","bun":"0.1.1","chrome":"39","chrome-android":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"1.0","oculus":"3.0","opera":"26","opera-android":"26","opera_mobile":"26","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.expm1":{"android":"39","bun":"0.1.1","chrome":"39","chrome-android":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"46","firefox-android":"46","hermes":"0.1","ios":"8.0","node":"1.0","oculus":"3.0","opera":"26","opera-android":"26","opera_mobile":"26","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.fround":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"26","firefox-android":"26","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.hypot":{"android":"78","bun":"0.1.1","chrome":"78","chrome-android":"78","deno":"1.0","edge":"12","electron":"7.0","firefox":"27","firefox-android":"27","hermes":"0.1","ios":"8.0","node":"13.0","oculus":"8.0","opera":"65","opera-android":"56","opera_mobile":"56","quest":"8.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"12.0"},"es.math.imul":{"android":"4.4","bun":"0.1.1","chrome":"28","chrome-android":"28","deno":"1.0","edge":"13","electron":"0.20","firefox":"20","firefox-android":"20","hermes":"0.1","ios":"9.0","node":"0.11.1","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.math.log10":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.log1p":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.log2":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.sign":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"9.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.0"},"es.math.sinh":{"android":"39","bun":"0.1.1","chrome":"39","chrome-android":"39","deno":"1.0","edge":"13","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"1.0","oculus":"3.0","opera":"26","opera-android":"26","opera_mobile":"26","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.4"},"es.math.tanh":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.math.to-string-tag":{"android":"50","bun":"0.1.1","chrome":"50","chrome-android":"50","deno":"1.0","edge":"15","electron":"1.1","firefox":"51","firefox-android":"51","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"37","opera-android":"37","opera_mobile":"37","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.math.trunc":{"android":"38","bun":"0.1.1","chrome":"38","chrome-android":"38","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"8.0","node":"0.11.15","oculus":"3.0","opera":"25","opera-android":"25","opera_mobile":"25","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.number.constructor":{"android":"41","bun":"0.1.1","chrome":"41","chrome-android":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"46","firefox-android":"46","hermes":"0.5","ios":"9.0","node":"1.0","oculus":"3.0","opera":"28","opera-android":"28","opera_mobile":"28","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.number.epsilon":{"android":"37","bun":"0.1.1","chrome":"34","chrome-android":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"25","firefox-android":"25","hermes":"0.1","ios":"9.0","node":"0.11.13","oculus":"3.0","opera":"21","opera-android":"21","opera_mobile":"21","quest":"3.0","react-native":"0.69","rhino":"1.7.14","safari":"9.0","samsung":"2.0"},"es.number.is-finite":{"android":"4.1","bun":"0.1.1","chrome":"19","chrome-android":"25","deno":"1.0","edge":"12","electron":"0.20","firefox":"16","firefox-android":"16","hermes":"0.1","ios":"9.0","node":"0.7.3","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.number.is-integer":{"android":"37","bun":"0.1.1","chrome":"34","chrome-android":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"16","firefox-android":"16","hermes":"0.1","ios":"9.0","node":"0.11.13","oculus":"3.0","opera":"21","opera-android":"21","opera_mobile":"21","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.is-nan":{"android":"4.1","bun":"0.1.1","chrome":"19","chrome-android":"25","deno":"1.0","edge":"12","electron":"0.20","firefox":"15","firefox-android":"15","hermes":"0.1","ios":"9.0","node":"0.7.3","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.number.is-safe-integer":{"android":"37","bun":"0.1.1","chrome":"34","chrome-android":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"32","firefox-android":"32","hermes":"0.1","ios":"9.0","node":"0.11.13","oculus":"3.0","opera":"21","opera-android":"21","opera_mobile":"21","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.max-safe-integer":{"android":"37","bun":"0.1.1","chrome":"34","chrome-android":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","firefox-android":"31","hermes":"0.1","ios":"9.0","node":"0.11.13","oculus":"3.0","opera":"21","opera-android":"21","opera_mobile":"21","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.min-safe-integer":{"android":"37","bun":"0.1.1","chrome":"34","chrome-android":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","firefox-android":"31","hermes":"0.1","ios":"9.0","node":"0.11.13","oculus":"3.0","opera":"21","opera-android":"21","opera_mobile":"21","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.number.parse-float":{"android":"37","bun":"0.1.1","chrome":"35","chrome-android":"35","deno":"1.0","edge":"79","electron":"0.20","firefox":"39","firefox-android":"39","hermes":"0.1","ios":"11.0","node":"0.11.13","oculus":"3.0","opera":"22","opera-android":"22","opera_mobile":"22","quest":"3.0","react-native":"0.69","rhino":"1.7.14","safari":"11.0","samsung":"3.0"},"es.number.parse-int":{"android":"37","bun":"0.1.1","chrome":"35","chrome-android":"35","deno":"1.0","edge":"79","electron":"0.20","firefox":"39","firefox-android":"39","hermes":"0.1","ios":"9.0","node":"0.11.13","oculus":"3.0","opera":"22","opera-android":"22","opera_mobile":"22","quest":"3.0","react-native":"0.69","rhino":"1.7.14","safari":"9.0","samsung":"3.0"},"es.number.to-exponential":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"18","electron":"1.2","firefox":"87","firefox-android":"87","hermes":"0.1","ios":"11.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","rhino":"1.7.14","safari":"11","samsung":"5.0"},"es.number.to-fixed":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"79","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.number.to-precision":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"8","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"1.5"},"es.object.assign":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"79","electron":"0.37","firefox":"36","firefox-android":"36","hermes":"0.4","ios":"9.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"9.0","samsung":"5.0"},"es.object.create":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"3.0","node":"0.1.27","oculus":"3.0","opera":"12","opera-android":"12","opera_mobile":"12","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"4.0","samsung":"1.0"},"es.object.define-getter":{"android":"62","bun":"0.1.1","chrome":"62","chrome-android":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","firefox-android":"48","hermes":"0.1","ios":"8.0","node":"8.10","oculus":"5.0","opera":"49","opera-android":"46","opera_mobile":"46","quest":"5.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.define-properties":{"android":"37","bun":"0.1.1","chrome":"37","chrome-android":"37","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"5.0","node":"0.11.15","oculus":"3.0","opera":"12","opera-android":"12","opera_mobile":"12","phantom":"2.0","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"5.1","samsung":"3.0"},"es.object.define-property":{"android":"37","bun":"0.1.1","chrome":"37","chrome-android":"37","deno":"1.0","edge":"12","electron":"0.20","firefox":"4","firefox-android":"4","hermes":"0.1","ie":"9","ios":"5.0","node":"0.11.15","oculus":"3.0","opera":"12","opera-android":"12","opera_mobile":"12","phantom":"2.0","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"5.1","samsung":"3.0"},"es.object.define-setter":{"android":"62","bun":"0.1.1","chrome":"62","chrome-android":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","firefox-android":"48","hermes":"0.1","ios":"8.0","node":"8.10","oculus":"5.0","opera":"49","opera-android":"46","opera_mobile":"46","quest":"5.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.entries":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"14","electron":"1.4","firefox":"47","firefox-android":"47","hermes":"0.1","ios":"10.3","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","react-native":"0.69","rhino":"1.7.14","safari":"10.1","samsung":"6.0"},"es.object.freeze":{"android":"44","bun":"0.1.1","chrome":"44","chrome-android":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"3.0","oculus":"3.0","opera":"31","opera-android":"31","opera_mobile":"31","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.from-entries":{"android":"73","bun":"0.1.1","chrome":"73","chrome-android":"73","deno":"1.0","edge":"79","electron":"5.0","firefox":"63","firefox-android":"63","hermes":"0.4","ios":"12.2","node":"12.0","oculus":"6.0","opera":"60","opera-android":"52","opera_mobile":"52","quest":"6.0","react-native":"0.69","rhino":"1.7.14","safari":"12.1","samsung":"11.0"},"es.object.get-own-property-descriptor":{"android":"44","bun":"0.1.1","chrome":"44","chrome-android":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"3.0","oculus":"3.0","opera":"31","opera-android":"31","opera_mobile":"31","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.get-own-property-descriptors":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"50","firefox-android":"50","hermes":"0.6","ios":"10.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"6.0"},"es.object.get-own-property-names":{"android":"40","bun":"0.1.1","chrome":"40","chrome-android":"40","deno":"1.0","edge":"13","electron":"0.21","firefox":"34","firefox-android":"34","hermes":"0.1","ios":"9.0","node":"1.0","oculus":"3.0","opera":"27","opera-android":"27","opera_mobile":"27","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.object.get-prototype-of":{"android":"44","bun":"0.1.1","chrome":"44","chrome-android":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"3.0","oculus":"3.0","opera":"31","opera-android":"31","opera_mobile":"31","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.has-own":{"android":"93","bun":"0.1.1","chrome":"93","chrome-android":"93","deno":"1.13","edge":"93","electron":"14.0","firefox":"92","firefox-android":"92","hermes":"0.10","ios":"15.4","node":"16.9","oculus":"17.0","opera":"79","opera-android":"66","opera_mobile":"66","quest":"17.0","react-native":"0.69","safari":"15.4","samsung":"17.0"},"es.object.is":{"android":"4.1","bun":"0.1.1","chrome":"19","chrome-android":"25","deno":"1.0","edge":"12","electron":"0.20","firefox":"22","firefox-android":"22","hermes":"0.1","ios":"9.0","node":"0.7.3","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"1.5"},"es.object.is-extensible":{"android":"44","bun":"0.1.1","chrome":"44","chrome-android":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"3.0","oculus":"3.0","opera":"31","opera-android":"31","opera_mobile":"31","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is-frozen":{"android":"44","bun":"0.1.1","chrome":"44","chrome-android":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"3.0","oculus":"3.0","opera":"31","opera-android":"31","opera_mobile":"31","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.is-sealed":{"android":"44","bun":"0.1.1","chrome":"44","chrome-android":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"3.0","oculus":"3.0","opera":"31","opera-android":"31","opera_mobile":"31","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.keys":{"android":"40","bun":"0.1.1","chrome":"40","chrome-android":"40","deno":"1.0","edge":"13","electron":"0.21","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"1.0","oculus":"3.0","opera":"27","opera-android":"27","opera_mobile":"27","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.object.lookup-getter":{"android":"62","bun":"0.1.1","chrome":"62","chrome-android":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","firefox-android":"48","hermes":"0.1","ios":"8.0","node":"8.10","oculus":"5.0","opera":"49","opera-android":"46","opera_mobile":"46","quest":"5.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.lookup-setter":{"android":"62","bun":"0.1.1","chrome":"62","chrome-android":"62","deno":"1.0","edge":"16","electron":"3.0","firefox":"48","firefox-android":"48","hermes":"0.1","ios":"8.0","node":"8.10","oculus":"5.0","opera":"49","opera-android":"46","opera_mobile":"46","quest":"5.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"8.0"},"es.object.prevent-extensions":{"android":"44","bun":"0.1.1","chrome":"44","chrome-android":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"3.0","oculus":"3.0","opera":"31","opera-android":"31","opera_mobile":"31","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.proto":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","hermes":"0.1","ie":"11","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","react-native":"0.69","safari":"3.1","samsung":"1.0"},"es.object.seal":{"android":"44","bun":"0.1.1","chrome":"44","chrome-android":"44","deno":"1.0","edge":"13","electron":"0.30","firefox":"35","firefox-android":"35","hermes":"0.1","ios":"9.0","node":"3.0","oculus":"3.0","opera":"31","opera-android":"31","opera_mobile":"31","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"4.0"},"es.object.set-prototype-of":{"android":"37","bun":"0.1.1","chrome":"34","chrome-android":"34","deno":"1.0","edge":"12","electron":"0.20","firefox":"31","firefox-android":"31","hermes":"0.1","ie":"11","ios":"9.0","node":"0.11.13","oculus":"3.0","opera":"21","opera-android":"21","opera_mobile":"21","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"2.0"},"es.object.to-string":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"51","firefox-android":"51","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.object.values":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"14","electron":"1.4","firefox":"47","firefox-android":"47","hermes":"0.1","ios":"10.3","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","react-native":"0.69","rhino":"1.7.14","safari":"10.1","samsung":"6.0"},"es.parse-float":{"android":"37","bun":"0.1.1","chrome":"35","chrome-android":"35","deno":"1.0","edge":"74","electron":"0.20","firefox":"8","firefox-android":"8","hermes":"0.1","ie":"8","ios":"8.0","node":"0.11.13","oculus":"3.0","opera":"22","opera-android":"22","opera_mobile":"22","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.parse-int":{"android":"37","bun":"0.1.1","chrome":"35","chrome-android":"35","deno":"1.0","edge":"74","electron":"0.20","firefox":"21","firefox-android":"21","hermes":"0.1","ie":"9","ios":"8.0","node":"0.11.13","oculus":"3.0","opera":"22","opera-android":"22","opera_mobile":"22","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"7.1","samsung":"3.0"},"es.promise":{"android":"67","bun":"0.1.1","chrome":"67","chrome-android":"67","deno":"1.24","edge":"79","electron":"4.0","firefox":"69","firefox-android":"69","ios":"11.0","node":"10.4","oculus":"6.0","opera":"54","opera-android":"48","opera_mobile":"48","quest":"6.0","rhino":"1.7.14","safari":"11.0","samsung":"9.0"},"es.promise.all-settled":{"android":"76","bun":"0.1.1","chrome":"76","chrome-android":"76","deno":"1.24","edge":"79","electron":"6.0","firefox":"71","firefox-android":"71","ios":"13.0","node":"12.9","oculus":"7.0","opera":"63","opera-android":"54","opera_mobile":"54","quest":"7.0","safari":"13","samsung":"12.0"},"es.promise.any":{"android":"85","bun":"0.1.1","chrome":"85","chrome-android":"85","deno":"1.24","edge":"85","electron":"10.0","firefox":"79","firefox-android":"79","ios":"14.0","node":"15.0","oculus":"12.0","opera":"71","opera-android":"60","opera_mobile":"60","quest":"12.0","safari":"14.0","samsung":"14.0"},"es.promise.finally":{"android":"67","bun":"0.1.1","chrome":"67","chrome-android":"67","deno":"1.24","edge":"79","electron":"4.0","firefox":"69","firefox-android":"69","ios":"13.2.3","node":"10.4","oculus":"6.0","opera":"54","opera-android":"48","opera_mobile":"48","quest":"6.0","rhino":"1.7.14","safari":"13.0.3","samsung":"9.0"},"es.reflect.apply":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.construct":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"15","electron":"0.37","firefox":"44","firefox-android":"44","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.define-property":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"13","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.delete-property":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.get":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.get-own-property-descriptor":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.get-prototype-of":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.has":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.is-extensible":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.own-keys":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.prevent-extensions":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.set":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"79","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.set-prototype-of":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"12","electron":"0.37","firefox":"42","firefox-android":"42","hermes":"0.7","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.reflect.to-string-tag":{"android":"86","bun":"0.1.1","chrome":"86","chrome-android":"86","deno":"1.3","edge":"86","electron":"11.0","firefox":"82","firefox-android":"82","hermes":"0.7","ios":"14.0","node":"15.0","oculus":"12.0","opera":"72","opera-android":"61","opera_mobile":"61","quest":"12.0","react-native":"0.69","safari":"14.0","samsung":"14.0"},"es.regexp.constructor":{"android":"64","bun":"0.1.1","chrome":"64","chrome-android":"64","deno":"1.0","edge":"79","electron":"3.0","firefox":"78","firefox-android":"78","ios":"11.3","node":"10.0","oculus":"5.0","opera":"51","opera-android":"47","opera_mobile":"47","quest":"5.0","safari":"11.1","samsung":"9.0"},"es.regexp.dot-all":{"android":"62","bun":"0.1.1","chrome":"62","chrome-android":"62","deno":"1.0","edge":"79","electron":"3.0","firefox":"78","firefox-android":"78","hermes":"0.4","ios":"11.3","node":"8.10","oculus":"5.0","opera":"49","opera-android":"46","opera_mobile":"46","quest":"5.0","react-native":"0.69","safari":"11.1","samsung":"8.0"},"es.regexp.exec":{"android":"64","bun":"0.1.1","chrome":"64","chrome-android":"64","deno":"1.0","edge":"79","electron":"3.0","firefox":"78","firefox-android":"78","ios":"11.3","node":"10.0","oculus":"5.0","opera":"51","opera-android":"47","opera_mobile":"47","quest":"5.0","react-native":"0.71","safari":"11.1","samsung":"9.0"},"es.regexp.flags":{"android":"111","bun":"0.1.1","chrome":"111","chrome-android":"111","deno":"1.32","edge":"111","electron":"24.0","firefox":"78","firefox-android":"78","hermes":"0.4","ios":"11.3","node":"20.0","opera":"97","react-native":"0.69","safari":"11.1"},"es.regexp.sticky":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"13","electron":"0.37","firefox":"3","firefox-android":"4","hermes":"0.3","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.regexp.test":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"79","electron":"1.2","firefox":"46","firefox-android":"46","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","safari":"10.0","samsung":"5.0"},"es.regexp.to-string":{"android":"50","bun":"0.1.1","chrome":"50","chrome-android":"50","deno":"1.0","edge":"79","electron":"1.1","firefox":"46","firefox-android":"46","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"37","opera-android":"37","opera_mobile":"37","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.set":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","firefox-android":"53","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.string.at-alternative":{"android":"92","bun":"0.1.1","chrome":"92","chrome-android":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","firefox-android":"90","ios":"15.4","node":"16.6","oculus":"17.0","opera":"78","opera-android":"65","opera_mobile":"65","quest":"17.0","react-native":"0.71","safari":"15.4","samsung":"16.0"},"es.string.code-point-at":{"android":"41","bun":"0.1.1","chrome":"41","chrome-android":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"29","firefox-android":"29","hermes":"0.1","ios":"9.0","node":"1.0","oculus":"3.0","opera":"28","opera-android":"28","opera_mobile":"28","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.ends-with":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"79","electron":"1.2","firefox":"40","firefox-android":"40","hermes":"0.1","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.string.from-code-point":{"android":"41","bun":"0.1.1","chrome":"41","chrome-android":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"29","firefox-android":"29","hermes":"0.1","ios":"9.0","node":"1.0","oculus":"3.0","opera":"28","opera-android":"28","opera_mobile":"28","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.includes":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"79","electron":"1.2","firefox":"40","firefox-android":"40","hermes":"0.1","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.string.iterator":{"android":"41","bun":"0.1.1","chrome":"41","chrome-android":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"36","firefox-android":"36","hermes":"0.1","ios":"9.0","node":"1.0","oculus":"3.0","opera":"28","opera-android":"28","opera_mobile":"28","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.match":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"79","electron":"1.2","firefox":"49","firefox-android":"49","hermes":"0.1","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.string.match-all":{"android":"80","bun":"0.1.1","chrome":"80","chrome-android":"80","deno":"1.0","edge":"80","electron":"8.0","firefox":"73","firefox-android":"73","hermes":"0.6","ios":"13.4","node":"14.0","oculus":"9.0","opera":"67","opera-android":"57","opera_mobile":"57","quest":"9.0","react-native":"0.69","safari":"13.1","samsung":"13.0"},"es.string.pad-end":{"android":"57","bun":"0.1.1","chrome":"57","chrome-android":"57","deno":"1.0","edge":"15","electron":"1.7","firefox":"48","firefox-android":"48","hermes":"0.1","ios":"11.0","node":"8.0","oculus":"3.0","opera":"44","opera-android":"43","opera_mobile":"43","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"11.0","samsung":"7.0"},"es.string.pad-start":{"android":"57","bun":"0.1.1","chrome":"57","chrome-android":"57","deno":"1.0","edge":"15","electron":"1.7","firefox":"48","firefox-android":"48","hermes":"0.1","ios":"11.0","node":"8.0","oculus":"3.0","opera":"44","opera-android":"43","opera_mobile":"43","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"11.0","samsung":"7.0"},"es.string.raw":{"android":"41","bun":"0.1.1","chrome":"41","chrome-android":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"34","firefox-android":"34","hermes":"0.1","ios":"9.0","node":"1.0","oculus":"3.0","opera":"28","opera-android":"28","opera_mobile":"28","quest":"3.0","react-native":"0.69","rhino":"1.7.14","safari":"9.0","samsung":"3.4"},"es.string.repeat":{"android":"41","bun":"0.1.1","chrome":"41","chrome-android":"41","deno":"1.0","edge":"13","electron":"0.21","firefox":"24","firefox-android":"24","hermes":"0.1","ios":"9.0","node":"1.0","oculus":"3.0","opera":"28","opera-android":"28","opera_mobile":"28","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"9.0","samsung":"3.4"},"es.string.replace":{"android":"64","bun":"0.1.1","chrome":"64","chrome-android":"64","deno":"1.0","edge":"79","electron":"3.0","firefox":"78","firefox-android":"78","ios":"14.0","node":"10.0","oculus":"5.0","opera":"51","opera-android":"47","opera_mobile":"47","quest":"5.0","react-native":"0.71","safari":"14.0","samsung":"9.0"},"es.string.replace-all":{"android":"85","bun":"0.1.1","chrome":"85","chrome-android":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"77","firefox-android":"77","hermes":"0.7","ios":"13.4","node":"15.0","oculus":"12.0","opera":"71","opera-android":"60","opera_mobile":"60","quest":"12.0","react-native":"0.69","safari":"13.1","samsung":"14.0"},"es.string.search":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"79","electron":"1.2","firefox":"49","firefox-android":"49","hermes":"0.1","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.string.split":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"79","electron":"1.4","firefox":"49","firefox-android":"49","ios":"10.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"10.0","samsung":"6.0"},"es.string.starts-with":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"79","electron":"1.2","firefox":"40","firefox-android":"40","hermes":"0.1","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.string.substr":{"android":"3.0","bun":"0.1.1","chrome":"1","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","firefox-android":"4","hermes":"0.1","ie":"9","ios":"1.0","node":"0.0.3","oculus":"3.0","opera":"4","opera-android":"4","opera_mobile":"4","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.string.trim":{"android":"59","bun":"0.1.1","chrome":"59","chrome-android":"59","deno":"1.0","edge":"15","electron":"1.8","firefox":"52","firefox-android":"52","hermes":"0.1","ios":"12.2","node":"8.3","oculus":"4.0","opera":"46","opera-android":"43","opera_mobile":"43","quest":"4.0","react-native":"0.69","safari":"12.1","samsung":"7.0"},"es.string.trim-end":{"android":"66","bun":"0.1.1","chrome":"66","chrome-android":"66","deno":"1.0","edge":"79","electron":"3.0","firefox":"61","firefox-android":"61","hermes":"0.3","ios":"12.2","node":"10.0","oculus":"5.0","opera":"53","opera-android":"47","opera_mobile":"47","quest":"5.0","react-native":"0.69","safari":"12.1","samsung":"9.0"},"es.string.trim-start":{"android":"66","bun":"0.1.1","chrome":"66","chrome-android":"66","deno":"1.0","edge":"79","electron":"3.0","firefox":"61","firefox-android":"61","hermes":"0.3","ios":"12.0","node":"10.0","oculus":"5.0","opera":"53","opera-android":"47","opera_mobile":"47","quest":"5.0","react-native":"0.69","safari":"12.0","samsung":"9.0"},"es.string.anchor":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","firefox-android":"17","ios":"6.0","node":"0.1.27","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","phantom":"2.0","quest":"3.0","rhino":"1.7.14","safari":"6.0","samsung":"1.0"},"es.string.big":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.blink":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.bold":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.fixed":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.fontcolor":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","firefox-android":"17","ios":"6.0","node":"0.1.27","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","phantom":"2.0","quest":"3.0","rhino":"1.7.14","safari":"6.0","samsung":"1.0"},"es.string.fontsize":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","firefox-android":"17","ios":"6.0","node":"0.1.27","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","phantom":"2.0","quest":"3.0","rhino":"1.7.14","safari":"6.0","samsung":"1.0"},"es.string.italics":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.link":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"17","firefox-android":"17","ios":"6.0","node":"0.1.27","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","phantom":"2.0","quest":"3.0","rhino":"1.7.14","safari":"6.0","samsung":"1.0"},"es.string.small":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.strike":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.sub":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.string.sup":{"android":"3.0","bun":"0.1.1","chrome":"5","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"2","firefox-android":"4","ios":"2.0","node":"0.1.27","oculus":"3.0","opera":"10.50","opera-android":"10.50","opera_mobile":"10.50","phantom":"1.9","quest":"3.0","rhino":"1.7.13","safari":"3.1","samsung":"1.0"},"es.typed-array.float32-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.float64-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.int8-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.int16-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.int32-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.uint8-clamped-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.uint16-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.uint32-array":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.at":{"android":"92","bun":"0.1.1","chrome":"92","chrome-android":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","firefox-android":"90","ios":"15.4","node":"16.6","oculus":"17.0","opera":"78","opera-android":"65","opera_mobile":"65","quest":"17.0","react-native":"0.71","safari":"15.4","samsung":"16.0"},"es.typed-array.copy-within":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"34","firefox-android":"34","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.every":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.fill":{"android":"58","bun":"0.1.1","chrome":"58","chrome-android":"58","deno":"1.0","edge":"79","electron":"1.7","firefox":"55","firefox-android":"55","hermes":"0.1","ios":"14.5","node":"8.0","oculus":"4.0","opera":"45","opera-android":"43","opera_mobile":"43","quest":"4.0","react-native":"0.69","safari":"14.1","samsung":"7.0"},"es.typed-array.filter":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","firefox-android":"38","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.find":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.find-index":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.find-last":{"android":"97","bun":"0.1.1","chrome":"97","chrome-android":"97","deno":"1.16","edge":"97","electron":"17.0","firefox":"104","firefox-android":"104","hermes":"0.11","ios":"15.4","node":"18.0","oculus":"20.0","opera":"83","opera-android":"68","opera_mobile":"68","quest":"20.0","react-native":"0.69","safari":"15.4","samsung":"18.0"},"es.typed-array.find-last-index":{"android":"97","bun":"0.1.1","chrome":"97","chrome-android":"97","deno":"1.16","edge":"97","electron":"17.0","firefox":"104","firefox-android":"104","hermes":"0.11","ios":"15.4","node":"18.0","oculus":"20.0","opera":"83","opera-android":"68","opera_mobile":"68","quest":"20.0","react-native":"0.69","safari":"15.4","samsung":"18.0"},"es.typed-array.for-each":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","firefox-android":"38","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.from":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.includes":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.0","edge":"14","electron":"0.37","firefox":"43","firefox-android":"43","hermes":"0.1","ios":"10.0","node":"6.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.index-of":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.iterator":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.join":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.last-index-of":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.map":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","firefox-android":"38","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.of":{"android":"54","bun":"0.1.1","chrome":"54","chrome-android":"54","deno":"1.0","edge":"15","electron":"1.4","firefox":"55","firefox-android":"55","ios":"14.0","node":"7.0","oculus":"3.0","opera":"41","opera-android":"41","opera_mobile":"41","quest":"3.0","safari":"14.0","samsung":"6.0"},"es.typed-array.reduce":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.reduce-right":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.reverse":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.set":{"android":"95","bun":"0.1.1","chrome":"95","chrome-android":"95","deno":"1.15","edge":"95","electron":"16.0","firefox":"54","firefox-android":"54","hermes":"0.1","ios":"14.5","node":"17.0","oculus":"18.0","opera":"81","opera-android":"67","opera_mobile":"67","quest":"18.0","react-native":"0.69","safari":"14.1","samsung":"17.0"},"es.typed-array.slice":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"38","firefox-android":"38","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.some":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"13","electron":"0.31","firefox":"37","firefox-android":"37","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.sort":{"android":"74","bun":"0.1.1","chrome":"74","chrome-android":"74","deno":"1.0","edge":"79","electron":"6.0","firefox":"67","firefox-android":"67","hermes":"0.10","ios":"14.5","node":"12.0","oculus":"6.0","opera":"61","opera-android":"53","opera_mobile":"53","quest":"6.0","react-native":"0.69","safari":"14.1","samsung":"11.0"},"es.typed-array.subarray":{"android":"4.4","bun":"0.1.1","chrome":"26","chrome-android":"26","deno":"1.0","edge":"13","electron":"0.20","firefox":"15","firefox-android":"15","hermes":"0.1","ios":"8.0","node":"0.11.0","oculus":"3.0","opera":"15","opera-android":"15","opera_mobile":"15","quest":"3.0","react-native":"0.69","safari":"7.1","samsung":"1.5"},"es.typed-array.to-locale-string":{"android":"45","bun":"0.1.1","chrome":"45","chrome-android":"45","deno":"1.0","edge":"79","electron":"0.31","firefox":"51","firefox-android":"51","hermes":"0.1","ios":"10.0","node":"4.0","oculus":"3.0","opera":"32","opera-android":"32","opera_mobile":"32","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.to-reversed":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"es.typed-array.to-sorted":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"es.typed-array.to-string":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"13","electron":"1.2","firefox":"51","firefox-android":"51","hermes":"0.1","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","react-native":"0.69","safari":"10.0","samsung":"5.0"},"es.typed-array.with":{"android":"110","bun":"0.1.9","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.4","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.4","samsung":"21.0"},"es.unescape":{"android":"3.0","bun":"0.1.1","chrome":"1","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","firefox-android":"4","hermes":"0.1","ie":"3","ios":"1.0","node":"0.0.3","oculus":"3.0","opera":"3","opera-android":"3","opera_mobile":"3","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"1","samsung":"1.0"},"es.weak-map":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"79","electron":"1.2","firefox":"53","firefox-android":"53","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"es.weak-set":{"android":"51","bun":"0.1.1","chrome":"51","chrome-android":"51","deno":"1.0","edge":"15","electron":"1.2","firefox":"53","firefox-android":"53","ios":"10.0","node":"6.5","oculus":"3.0","opera":"38","opera-android":"38","opera_mobile":"38","quest":"3.0","rhino":"1.7.13","safari":"10.0","samsung":"5.0"},"esnext.aggregate-error":{"android":"85","bun":"0.1.1","chrome":"85","chrome-android":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"79","firefox-android":"79","ios":"14.0","node":"15.0","oculus":"12.0","opera":"71","opera-android":"60","opera_mobile":"60","quest":"12.0","safari":"14.0","samsung":"14.0"},"esnext.suppressed-error.constructor":{},"esnext.array.from-async":{"bun":"0.3.0","ios":"16.4","safari":"16.4"},"esnext.array.at":{"android":"92","bun":"0.1.1","chrome":"92","chrome-android":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","firefox-android":"90","ios":"15.4","node":"16.6","oculus":"17.0","opera":"78","opera-android":"65","opera_mobile":"65","quest":"17.0","react-native":"0.71","safari":"15.4","samsung":"16.0"},"esnext.array.filter-out":{},"esnext.array.filter-reject":{},"esnext.array.find-last":{"android":"97","bun":"0.1.1","chrome":"97","chrome-android":"97","deno":"1.16","edge":"97","electron":"17.0","firefox":"104","firefox-android":"104","hermes":"0.11","ios":"15.4","node":"18.0","oculus":"20.0","opera":"83","opera-android":"68","opera_mobile":"68","quest":"20.0","react-native":"0.69","safari":"15.4","samsung":"18.0"},"esnext.array.find-last-index":{"android":"97","bun":"0.1.1","chrome":"97","chrome-android":"97","deno":"1.16","edge":"97","electron":"17.0","firefox":"104","firefox-android":"104","hermes":"0.11","ios":"15.4","node":"18.0","oculus":"20.0","opera":"83","opera-android":"68","opera_mobile":"68","quest":"20.0","react-native":"0.69","safari":"15.4","samsung":"18.0"},"esnext.array.group":{"bun":"0.1.9","ios":"16.4","safari":"16.4"},"esnext.array.group-by":{},"esnext.array.group-by-to-map":{},"esnext.array.group-to-map":{"bun":"0.1.9","ios":"16.4","safari":"16.4"},"esnext.array.is-template-object":{},"esnext.array.last-index":{},"esnext.array.last-item":{},"esnext.array.to-reversed":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"esnext.array.to-sorted":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"esnext.array.to-spliced":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"esnext.array.unique-by":{},"esnext.array.with":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"esnext.array-buffer.detached":{"android":"114","chrome":"114","chrome-android":"114","deno":"1.33","edge":"114","electron":"25.0","opera":"100"},"esnext.array-buffer.transfer":{"android":"114","chrome":"114","chrome-android":"114","deno":"1.33","edge":"114","electron":"25.0","opera":"100"},"esnext.array-buffer.transfer-to-fixed-length":{"android":"114","chrome":"114","chrome-android":"114","deno":"1.33","edge":"114","electron":"25.0","opera":"100"},"esnext.async-disposable-stack.constructor":{},"esnext.async-iterator.constructor":{},"esnext.async-iterator.as-indexed-pairs":{},"esnext.async-iterator.async-dispose":{},"esnext.async-iterator.drop":{},"esnext.async-iterator.every":{},"esnext.async-iterator.filter":{},"esnext.async-iterator.find":{},"esnext.async-iterator.flat-map":{},"esnext.async-iterator.for-each":{},"esnext.async-iterator.from":{},"esnext.async-iterator.indexed":{},"esnext.async-iterator.map":{},"esnext.async-iterator.reduce":{},"esnext.async-iterator.some":{},"esnext.async-iterator.take":{},"esnext.async-iterator.to-array":{},"esnext.bigint.range":{},"esnext.composite-key":{},"esnext.composite-symbol":{},"esnext.disposable-stack.constructor":{},"esnext.function.demethodize":{},"esnext.function.is-callable":{},"esnext.function.is-constructor":{},"esnext.function.un-this":{},"esnext.global-this":{"android":"71","bun":"0.1.1","chrome":"71","chrome-android":"71","deno":"1.0","edge":"79","electron":"5.0","firefox":"65","firefox-android":"65","hermes":"0.2","ios":"12.2","node":"12.0","oculus":"6.0","opera":"58","opera-android":"50","opera_mobile":"50","quest":"6.0","react-native":"0.69","rhino":"1.7.14","safari":"12.1","samsung":"10.0"},"esnext.iterator.constructor":{},"esnext.iterator.as-indexed-pairs":{},"esnext.iterator.dispose":{},"esnext.iterator.drop":{},"esnext.iterator.every":{},"esnext.iterator.filter":{},"esnext.iterator.find":{},"esnext.iterator.flat-map":{},"esnext.iterator.for-each":{},"esnext.iterator.from":{},"esnext.iterator.indexed":{},"esnext.iterator.map":{},"esnext.iterator.range":{},"esnext.iterator.reduce":{},"esnext.iterator.some":{},"esnext.iterator.take":{},"esnext.iterator.to-array":{},"esnext.iterator.to-async":{},"esnext.json.is-raw-json":{"android":"114","chrome":"114","chrome-android":"114","deno":"1.33","edge":"114","electron":"25.0","opera":"100"},"esnext.json.parse":{"android":"114","chrome":"114","chrome-android":"114","deno":"1.33","edge":"114","electron":"25.0","opera":"100"},"esnext.json.raw-json":{"android":"114","chrome":"114","chrome-android":"114","deno":"1.33","edge":"114","electron":"25.0","opera":"100"},"esnext.map.delete-all":{},"esnext.map.emplace":{},"esnext.map.every":{},"esnext.map.filter":{},"esnext.map.find":{},"esnext.map.find-key":{},"esnext.map.from":{},"esnext.map.group-by":{},"esnext.map.includes":{},"esnext.map.key-by":{},"esnext.map.key-of":{},"esnext.map.map-keys":{},"esnext.map.map-values":{},"esnext.map.merge":{},"esnext.map.of":{},"esnext.map.reduce":{},"esnext.map.some":{},"esnext.map.update":{},"esnext.map.update-or-insert":{},"esnext.map.upsert":{},"esnext.math.clamp":{},"esnext.math.deg-per-rad":{},"esnext.math.degrees":{},"esnext.math.fscale":{},"esnext.math.iaddh":{},"esnext.math.imulh":{},"esnext.math.isubh":{},"esnext.math.rad-per-deg":{},"esnext.math.radians":{},"esnext.math.scale":{},"esnext.math.seeded-prng":{},"esnext.math.signbit":{},"esnext.math.umulh":{},"esnext.number.from-string":{},"esnext.number.range":{},"esnext.object.has-own":{"android":"93","bun":"0.1.1","chrome":"93","chrome-android":"93","deno":"1.13","edge":"93","electron":"14.0","firefox":"92","firefox-android":"92","hermes":"0.10","ios":"15.4","node":"16.9","oculus":"17.0","opera":"79","opera-android":"66","opera_mobile":"66","quest":"17.0","react-native":"0.69","safari":"15.4","samsung":"17.0"},"esnext.object.iterate-entries":{},"esnext.object.iterate-keys":{},"esnext.object.iterate-values":{},"esnext.observable":{},"esnext.promise.all-settled":{"android":"76","bun":"0.1.1","chrome":"76","chrome-android":"76","deno":"1.24","edge":"79","electron":"6.0","firefox":"71","firefox-android":"71","ios":"13.0","node":"12.9","oculus":"7.0","opera":"63","opera-android":"54","opera_mobile":"54","quest":"7.0","safari":"13","samsung":"12.0"},"esnext.promise.any":{"android":"85","bun":"0.1.1","chrome":"85","chrome-android":"85","deno":"1.24","edge":"85","electron":"10.0","firefox":"79","firefox-android":"79","ios":"14.0","node":"15.0","oculus":"12.0","opera":"71","opera-android":"60","opera_mobile":"60","quest":"12.0","safari":"14.0","samsung":"14.0"},"esnext.promise.try":{},"esnext.reflect.define-metadata":{},"esnext.reflect.delete-metadata":{},"esnext.reflect.get-metadata":{},"esnext.reflect.get-metadata-keys":{},"esnext.reflect.get-own-metadata":{},"esnext.reflect.get-own-metadata-keys":{},"esnext.reflect.has-metadata":{},"esnext.reflect.has-own-metadata":{},"esnext.reflect.metadata":{},"esnext.set.add-all":{},"esnext.set.delete-all":{},"esnext.set.difference.v2":{},"esnext.set.difference":{},"esnext.set.every":{},"esnext.set.filter":{},"esnext.set.find":{},"esnext.set.from":{},"esnext.set.intersection.v2":{"bun":"0.5.7"},"esnext.set.intersection":{},"esnext.set.is-disjoint-from.v2":{"bun":"0.5.7"},"esnext.set.is-disjoint-from":{},"esnext.set.is-subset-of.v2":{"bun":"0.5.7"},"esnext.set.is-subset-of":{},"esnext.set.is-superset-of.v2":{"bun":"0.5.7"},"esnext.set.is-superset-of":{},"esnext.set.join":{},"esnext.set.map":{},"esnext.set.of":{},"esnext.set.reduce":{},"esnext.set.some":{},"esnext.set.symmetric-difference.v2":{"bun":"0.5.7"},"esnext.set.symmetric-difference":{},"esnext.set.union.v2":{"bun":"0.5.7"},"esnext.set.union":{},"esnext.string.at":{},"esnext.string.cooked":{},"esnext.string.code-points":{},"esnext.string.dedent":{},"esnext.string.is-well-formed":{"android":"111","bun":"0.4.0","chrome":"111","chrome-android":"111","deno":"1.32","edge":"111","electron":"24.0","ios":"16.4","node":"20.0","opera":"97","safari":"16.4"},"esnext.string.match-all":{"android":"80","bun":"0.1.1","chrome":"80","chrome-android":"80","deno":"1.0","edge":"80","electron":"8.0","firefox":"73","firefox-android":"73","hermes":"0.6","ios":"13.4","node":"14.0","oculus":"9.0","opera":"67","opera-android":"57","opera_mobile":"57","quest":"9.0","react-native":"0.69","safari":"13.1","samsung":"13.0"},"esnext.string.replace-all":{"android":"85","bun":"0.1.1","chrome":"85","chrome-android":"85","deno":"1.2","edge":"85","electron":"10.0","firefox":"77","firefox-android":"77","hermes":"0.7","ios":"13.4","node":"15.0","oculus":"12.0","opera":"71","opera-android":"60","opera_mobile":"60","quest":"12.0","react-native":"0.69","safari":"13.1","samsung":"14.0"},"esnext.string.to-well-formed":{"android":"111","bun":"0.5.7","chrome":"111","chrome-android":"111","deno":"1.32","edge":"111","electron":"24.0","ios":"16.4","node":"20.0","opera":"97","safari":"16.4"},"esnext.symbol.async-dispose":{},"esnext.symbol.dispose":{},"esnext.symbol.is-registered":{},"esnext.symbol.is-well-known":{},"esnext.symbol.matcher":{},"esnext.symbol.metadata":{},"esnext.symbol.metadata-key":{},"esnext.symbol.observable":{},"esnext.symbol.pattern-match":{},"esnext.symbol.replace-all":{},"esnext.typed-array.from-async":{},"esnext.typed-array.at":{"android":"92","bun":"0.1.1","chrome":"92","chrome-android":"92","deno":"1.12","edge":"92","electron":"14.0","firefox":"90","firefox-android":"90","ios":"15.4","node":"16.6","oculus":"17.0","opera":"78","opera-android":"65","opera_mobile":"65","quest":"17.0","react-native":"0.71","safari":"15.4","samsung":"16.0"},"esnext.typed-array.filter-out":{},"esnext.typed-array.filter-reject":{},"esnext.typed-array.find-last":{"android":"97","bun":"0.1.1","chrome":"97","chrome-android":"97","deno":"1.16","edge":"97","electron":"17.0","firefox":"104","firefox-android":"104","hermes":"0.11","ios":"15.4","node":"18.0","oculus":"20.0","opera":"83","opera-android":"68","opera_mobile":"68","quest":"20.0","react-native":"0.69","safari":"15.4","samsung":"18.0"},"esnext.typed-array.find-last-index":{"android":"97","bun":"0.1.1","chrome":"97","chrome-android":"97","deno":"1.16","edge":"97","electron":"17.0","firefox":"104","firefox-android":"104","hermes":"0.11","ios":"15.4","node":"18.0","oculus":"20.0","opera":"83","opera-android":"68","opera_mobile":"68","quest":"20.0","react-native":"0.69","safari":"15.4","samsung":"18.0"},"esnext.typed-array.group-by":{},"esnext.typed-array.to-reversed":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"esnext.typed-array.to-sorted":{"android":"110","bun":"0.1.1","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.0","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.0","samsung":"21.0"},"esnext.typed-array.to-spliced":{},"esnext.typed-array.unique-by":{},"esnext.typed-array.with":{"android":"110","bun":"0.1.9","chrome":"110","chrome-android":"110","deno":"1.27","edge":"110","electron":"23.0","ios":"16.4","node":"20.0","oculus":"26.0","opera":"96","opera-android":"74","opera_mobile":"74","quest":"26.0","safari":"16.4","samsung":"21.0"},"esnext.weak-map.delete-all":{},"esnext.weak-map.from":{},"esnext.weak-map.of":{},"esnext.weak-map.emplace":{},"esnext.weak-map.upsert":{},"esnext.weak-set.add-all":{},"esnext.weak-set.delete-all":{},"esnext.weak-set.from":{},"esnext.weak-set.of":{},"web.atob":{"android":"37","bun":"0.1.1","chrome":"34","chrome-android":"34","deno":"1.0","edge":"16","electron":"0.20","firefox":"27","firefox-android":"27","ios":"10.3","node":"18.0","oculus":"3.0","opera":"10.5","opera-android":"10.5","opera_mobile":"10.5","quest":"3.0","safari":"10.1","samsung":"2.0"},"web.btoa":{"android":"3.0","bun":"0.1.1","chrome":"4","chrome-android":"18","deno":"1.0","edge":"16","electron":"0.20","firefox":"27","firefox-android":"27","ios":"1.0","node":"17.5","oculus":"3.0","opera":"10.5","opera-android":"10.5","opera_mobile":"10.5","phantom":"1.9","quest":"3.0","safari":"3.0","samsung":"1.0"},"web.dom-collections.for-each":{"android":"58","bun":"0.1.1","chrome":"58","chrome-android":"58","deno":"1.0","edge":"16","electron":"1.7","firefox":"50","firefox-android":"50","hermes":"0.1","ios":"10.0","node":"0.0.1","oculus":"4.0","opera":"45","opera-android":"43","opera_mobile":"43","quest":"4.0","react-native":"0.69","rhino":"1.7.13","safari":"10.0","samsung":"7.0"},"web.dom-collections.iterator":{"android":"66","bun":"0.1.1","chrome":"66","chrome-android":"66","deno":"1.0","edge":"79","electron":"3.0","firefox":"60","firefox-android":"60","hermes":"0.1","ios":"13.4","node":"0.0.1","oculus":"5.0","opera":"53","opera-android":"47","opera_mobile":"47","quest":"5.0","react-native":"0.69","rhino":"1.7.13","safari":"13.1","samsung":"9.0"},"web.dom-exception.constructor":{"android":"46","bun":"0.1.1","chrome":"46","chrome-android":"46","deno":"1.7","edge":"79","electron":"0.36","firefox":"37","firefox-android":"37","ios":"11.3","node":"17.0","oculus":"3.0","opera":"33","opera-android":"33","opera_mobile":"33","quest":"3.0","safari":"11.1","samsung":"5.0"},"web.dom-exception.stack":{"deno":"1.15","firefox":"37","firefox-android":"37","node":"17.0"},"web.dom-exception.to-string-tag":{"android":"49","bun":"0.1.1","chrome":"49","chrome-android":"49","deno":"1.7","edge":"79","electron":"0.37","firefox":"51","firefox-android":"51","ios":"11.3","node":"17.0","oculus":"3.0","opera":"36","opera-android":"36","opera_mobile":"36","quest":"3.0","safari":"11.1","samsung":"5.0"},"web.immediate":{"bun":"0.4.0","ie":"10","node":"0.9.1"},"web.queue-microtask":{"android":"71","bun":"0.1.1","chrome":"71","chrome-android":"71","deno":"1.0","edge":"79","electron":"5.0","firefox":"69","firefox-android":"69","ios":"12.2","node":"12.0","oculus":"6.0","opera":"58","opera-android":"50","opera_mobile":"50","quest":"6.0","safari":"12.1","samsung":"10.0"},"web.self":{"android":"86","chrome":"86","chrome-android":"86","deno":"1.29.3","edge":"86","electron":"11.0","firefox":"31","firefox-android":"31","ios":"10.0","oculus":"12.0","opera":"72","opera-android":"61","opera_mobile":"61","quest":"12.0","safari":"10","samsung":"14.0"},"web.structured-clone":{},"web.timers":{"android":"1.5","bun":"0.4.0","chrome":"1","chrome-android":"18","deno":"1.0","edge":"12","electron":"0.20","firefox":"1","firefox-android":"4","hermes":"0.1","ie":"10","ios":"1.0","node":"0.0.1","oculus":"3.0","opera":"7","opera-android":"7","opera_mobile":"7","phantom":"1.9","quest":"3.0","react-native":"0.69","rhino":"1.7.13","safari":"1.0","samsung":"1.0"},"web.url":{"android":"67","bun":"0.1.1","chrome":"67","chrome-android":"67","deno":"1.0","edge":"79","electron":"4.0","firefox":"57","firefox-android":"57","ios":"14.0","node":"10.0","oculus":"6.0","opera":"54","opera-android":"48","opera_mobile":"48","quest":"6.0","safari":"14.0","samsung":"9.0"},"web.url.can-parse":{"deno":"1.33.2","node":"20.1.0"},"web.url.to-json":{"android":"71","bun":"0.1.1","chrome":"71","chrome-android":"71","deno":"1.0","edge":"79","electron":"5.0","firefox":"57","firefox-android":"57","ios":"14.0","node":"10.0","oculus":"6.0","opera":"58","opera-android":"50","opera_mobile":"50","quest":"6.0","safari":"14.0","samsung":"10.0"},"web.url-search-params":{"android":"67","bun":"0.1.1","chrome":"67","chrome-android":"67","deno":"1.0","edge":"79","electron":"4.0","firefox":"57","firefox-android":"57","ios":"14.0","node":"10.0","oculus":"6.0","opera":"54","opera-android":"48","opera_mobile":"48","quest":"6.0","safari":"14.0","samsung":"9.0"},"web.url-search-params.size":{"android":"113","chrome":"113","chrome-android":"113","deno":"1.32","edge":"113","electron":"25.0","firefox":"112","firefox-android":"112","node":"19.8.0","opera":"99"}}')},4996:e=>{"use strict";e.exports=JSON.parse('{"core-js":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.self","web.structured-clone","web.timers","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/actual":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-iterator.constructor","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.disposable-stack.constructor","esnext.global-this","esnext.iterator.constructor","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.set.difference.v2","esnext.set.intersection.v2","esnext.set.is-disjoint-from.v2","esnext.set.is-subset-of.v2","esnext.set.is-superset-of.v2","esnext.set.symmetric-difference.v2","esnext.set.union.v2","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.dispose","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.self","web.structured-clone","web.timers","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/actual/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/actual/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with"],"core-js/actual/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length"],"core-js/actual/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length"],"core-js/actual/array-buffer/detached":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached"],"core-js/actual/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/actual/array-buffer/slice":["es.array-buffer.slice"],"core-js/actual/array-buffer/transfer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.transfer"],"core-js/actual/array-buffer/transfer-to-fixed-length":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.transfer-to-fixed-length"],"core-js/actual/array/at":["es.array.at"],"core-js/actual/array/concat":["es.array.concat"],"core-js/actual/array/copy-within":["es.array.copy-within"],"core-js/actual/array/entries":["es.array.iterator","es.object.to-string"],"core-js/actual/array/every":["es.array.every"],"core-js/actual/array/fill":["es.array.fill"],"core-js/actual/array/filter":["es.array.filter"],"core-js/actual/array/find":["es.array.find"],"core-js/actual/array/find-index":["es.array.find-index"],"core-js/actual/array/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/actual/array/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/actual/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/actual/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/actual/array/for-each":["es.array.for-each"],"core-js/actual/array/from":["es.array.from","es.string.iterator"],"core-js/actual/array/from-async":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async"],"core-js/actual/array/group":["esnext.array.group"],"core-js/actual/array/group-by":["esnext.array.group-by"],"core-js/actual/array/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/actual/array/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/actual/array/includes":["es.array.includes"],"core-js/actual/array/index-of":["es.array.index-of"],"core-js/actual/array/is-array":["es.array.is-array"],"core-js/actual/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/actual/array/join":["es.array.join"],"core-js/actual/array/keys":["es.array.iterator","es.object.to-string"],"core-js/actual/array/last-index-of":["es.array.last-index-of"],"core-js/actual/array/map":["es.array.map"],"core-js/actual/array/of":["es.array.of"],"core-js/actual/array/push":["es.array.push"],"core-js/actual/array/reduce":["es.array.reduce"],"core-js/actual/array/reduce-right":["es.array.reduce-right"],"core-js/actual/array/reverse":["es.array.reverse"],"core-js/actual/array/slice":["es.array.slice"],"core-js/actual/array/some":["es.array.some"],"core-js/actual/array/sort":["es.array.sort"],"core-js/actual/array/splice":["es.array.splice"],"core-js/actual/array/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/actual/array/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/actual/array/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/actual/array/unshift":["es.array.unshift"],"core-js/actual/array/values":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.map","es.object.to-string","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with"],"core-js/actual/array/virtual/at":["es.array.at"],"core-js/actual/array/virtual/concat":["es.array.concat"],"core-js/actual/array/virtual/copy-within":["es.array.copy-within"],"core-js/actual/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual/every":["es.array.every"],"core-js/actual/array/virtual/fill":["es.array.fill"],"core-js/actual/array/virtual/filter":["es.array.filter"],"core-js/actual/array/virtual/find":["es.array.find"],"core-js/actual/array/virtual/find-index":["es.array.find-index"],"core-js/actual/array/virtual/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/actual/array/virtual/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/actual/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/actual/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/actual/array/virtual/for-each":["es.array.for-each"],"core-js/actual/array/virtual/group":["esnext.array.group"],"core-js/actual/array/virtual/group-by":["esnext.array.group-by"],"core-js/actual/array/virtual/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/actual/array/virtual/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/actual/array/virtual/includes":["es.array.includes"],"core-js/actual/array/virtual/index-of":["es.array.index-of"],"core-js/actual/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual/join":["es.array.join"],"core-js/actual/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/actual/array/virtual/map":["es.array.map"],"core-js/actual/array/virtual/push":["es.array.push"],"core-js/actual/array/virtual/reduce":["es.array.reduce"],"core-js/actual/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/actual/array/virtual/reverse":["es.array.reverse"],"core-js/actual/array/virtual/slice":["es.array.slice"],"core-js/actual/array/virtual/some":["es.array.some"],"core-js/actual/array/virtual/sort":["es.array.sort"],"core-js/actual/array/virtual/splice":["es.array.splice"],"core-js/actual/array/virtual/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/actual/array/virtual/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/actual/array/virtual/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/actual/array/virtual/unshift":["es.array.unshift"],"core-js/actual/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/actual/array/virtual/with":["es.array.with","esnext.array.with"],"core-js/actual/array/with":["es.array.with","esnext.array.with"],"core-js/actual/async-iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/actual/async-iterator/drop":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.drop"],"core-js/actual/async-iterator/every":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.every"],"core-js/actual/async-iterator/filter":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.filter"],"core-js/actual/async-iterator/find":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.find"],"core-js/actual/async-iterator/flat-map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.flat-map"],"core-js/actual/async-iterator/for-each":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.for-each"],"core-js/actual/async-iterator/from":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/actual/async-iterator/map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.map"],"core-js/actual/async-iterator/reduce":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.reduce"],"core-js/actual/async-iterator/some":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.some"],"core-js/actual/async-iterator/take":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.take"],"core-js/actual/async-iterator/to-array":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.to-array"],"core-js/actual/atob":["es.error.to-string","es.object.to-string","web.atob","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/actual/btoa":["es.error.to-string","es.object.to-string","web.btoa","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/actual/clear-immediate":["web.immediate"],"core-js/actual/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/actual/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/actual/date/get-year":["es.date.get-year"],"core-js/actual/date/now":["es.date.now"],"core-js/actual/date/set-year":["es.date.set-year"],"core-js/actual/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/actual/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/actual/date/to-json":["es.date.to-json"],"core-js/actual/date/to-primitive":["es.date.to-primitive"],"core-js/actual/date/to-string":["es.date.to-string"],"core-js/actual/disposable-stack":["es.error.cause","es.error.to-string","es.object.to-string","esnext.suppressed-error.constructor","esnext.disposable-stack.constructor","esnext.iterator.dispose"],"core-js/actual/disposable-stack/constructor":["es.error.cause","es.error.to-string","es.object.to-string","esnext.suppressed-error.constructor","esnext.disposable-stack.constructor","esnext.iterator.dispose"],"core-js/actual/dom-collections":["es.array.iterator","es.object.to-string","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/actual/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/actual/dom-collections/iterator":["es.object.to-string","web.dom-collections.iterator"],"core-js/actual/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/actual/dom-exception/constructor":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack"],"core-js/actual/dom-exception/to-string-tag":["web.dom-exception.to-string-tag"],"core-js/actual/error":["es.error.cause","es.error.to-string"],"core-js/actual/error/constructor":["es.error.cause"],"core-js/actual/error/to-string":["es.error.to-string"],"core-js/actual/escape":["es.escape"],"core-js/actual/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/actual/function/bind":["es.function.bind"],"core-js/actual/function/has-instance":["es.function.has-instance"],"core-js/actual/function/name":["es.function.name"],"core-js/actual/function/virtual":["es.function.bind"],"core-js/actual/function/virtual/bind":["es.function.bind"],"core-js/actual/get-iterator":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/get-iterator-method":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/global-this":["es.global-this"],"core-js/actual/instance/at":["es.array.at","es.string.at-alternative"],"core-js/actual/instance/bind":["es.function.bind"],"core-js/actual/instance/code-point-at":["es.string.code-point-at"],"core-js/actual/instance/concat":["es.array.concat"],"core-js/actual/instance/copy-within":["es.array.copy-within"],"core-js/actual/instance/ends-with":["es.string.ends-with"],"core-js/actual/instance/entries":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/actual/instance/every":["es.array.every"],"core-js/actual/instance/fill":["es.array.fill"],"core-js/actual/instance/filter":["es.array.filter"],"core-js/actual/instance/find":["es.array.find"],"core-js/actual/instance/find-index":["es.array.find-index"],"core-js/actual/instance/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/actual/instance/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/actual/instance/flags":["es.regexp.flags"],"core-js/actual/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/actual/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/actual/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/actual/instance/group":["esnext.array.group"],"core-js/actual/instance/group-by":["esnext.array.group-by"],"core-js/actual/instance/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/actual/instance/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/actual/instance/includes":["es.array.includes","es.string.includes"],"core-js/actual/instance/index-of":["es.array.index-of"],"core-js/actual/instance/is-well-formed":["esnext.string.is-well-formed"],"core-js/actual/instance/keys":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/actual/instance/last-index-of":["es.array.last-index-of"],"core-js/actual/instance/map":["es.array.map"],"core-js/actual/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/actual/instance/pad-end":["es.string.pad-end"],"core-js/actual/instance/pad-start":["es.string.pad-start"],"core-js/actual/instance/push":["es.array.push"],"core-js/actual/instance/reduce":["es.array.reduce"],"core-js/actual/instance/reduce-right":["es.array.reduce-right"],"core-js/actual/instance/repeat":["es.string.repeat"],"core-js/actual/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/actual/instance/reverse":["es.array.reverse"],"core-js/actual/instance/slice":["es.array.slice"],"core-js/actual/instance/some":["es.array.some"],"core-js/actual/instance/sort":["es.array.sort"],"core-js/actual/instance/splice":["es.array.splice"],"core-js/actual/instance/starts-with":["es.string.starts-with"],"core-js/actual/instance/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/actual/instance/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/actual/instance/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/actual/instance/to-well-formed":["esnext.string.to-well-formed"],"core-js/actual/instance/trim":["es.string.trim"],"core-js/actual/instance/trim-end":["es.string.trim-end"],"core-js/actual/instance/trim-left":["es.string.trim-start"],"core-js/actual/instance/trim-right":["es.string.trim-end"],"core-js/actual/instance/trim-start":["es.string.trim-start"],"core-js/actual/instance/unshift":["es.array.unshift"],"core-js/actual/instance/values":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/actual/instance/with":["es.array.with","esnext.array.with"],"core-js/actual/is-iterable":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.iterator.constructor","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","web.dom-collections.iterator"],"core-js/actual/iterator/dispose":["esnext.iterator.dispose"],"core-js/actual/iterator/drop":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.drop"],"core-js/actual/iterator/every":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.every"],"core-js/actual/iterator/filter":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.filter"],"core-js/actual/iterator/find":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.find"],"core-js/actual/iterator/flat-map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.flat-map"],"core-js/actual/iterator/for-each":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.for-each"],"core-js/actual/iterator/from":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.iterator.constructor","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","web.dom-collections.iterator"],"core-js/actual/iterator/map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.map"],"core-js/actual/iterator/reduce":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.reduce"],"core-js/actual/iterator/some":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.some"],"core-js/actual/iterator/take":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.take"],"core-js/actual/iterator/to-array":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.to-array"],"core-js/actual/iterator/to-async":["es.object.to-string","es.promise","esnext.iterator.constructor","esnext.iterator.to-async"],"core-js/actual/json":["es.json.stringify","es.json.to-string-tag","es.object.create","es.object.freeze","es.object.keys","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json"],"core-js/actual/json/is-raw-json":["esnext.json.is-raw-json"],"core-js/actual/json/parse":["es.object.keys","esnext.json.parse"],"core-js/actual/json/raw-json":["es.object.create","es.object.freeze","esnext.json.raw-json"],"core-js/actual/json/stringify":["es.json.stringify"],"core-js/actual/json/to-string-tag":["es.json.to-string-tag"],"core-js/actual/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/actual/math/acosh":["es.math.acosh"],"core-js/actual/math/asinh":["es.math.asinh"],"core-js/actual/math/atanh":["es.math.atanh"],"core-js/actual/math/cbrt":["es.math.cbrt"],"core-js/actual/math/clz32":["es.math.clz32"],"core-js/actual/math/cosh":["es.math.cosh"],"core-js/actual/math/expm1":["es.math.expm1"],"core-js/actual/math/fround":["es.math.fround"],"core-js/actual/math/hypot":["es.math.hypot"],"core-js/actual/math/imul":["es.math.imul"],"core-js/actual/math/log10":["es.math.log10"],"core-js/actual/math/log1p":["es.math.log1p"],"core-js/actual/math/log2":["es.math.log2"],"core-js/actual/math/sign":["es.math.sign"],"core-js/actual/math/sinh":["es.math.sinh"],"core-js/actual/math/tanh":["es.math.tanh"],"core-js/actual/math/to-string-tag":["es.math.to-string-tag"],"core-js/actual/math/trunc":["es.math.trunc"],"core-js/actual/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/actual/number/constructor":["es.number.constructor"],"core-js/actual/number/epsilon":["es.number.epsilon"],"core-js/actual/number/is-finite":["es.number.is-finite"],"core-js/actual/number/is-integer":["es.number.is-integer"],"core-js/actual/number/is-nan":["es.number.is-nan"],"core-js/actual/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/actual/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/actual/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/actual/number/parse-float":["es.number.parse-float"],"core-js/actual/number/parse-int":["es.number.parse-int"],"core-js/actual/number/to-exponential":["es.number.to-exponential"],"core-js/actual/number/to-fixed":["es.number.to-fixed"],"core-js/actual/number/to-precision":["es.number.to-precision"],"core-js/actual/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/actual/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/actual/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/actual/number/virtual/to-precision":["es.number.to-precision"],"core-js/actual/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","web.dom-collections.iterator"],"core-js/actual/object/assign":["es.object.assign"],"core-js/actual/object/create":["es.object.create"],"core-js/actual/object/define-getter":["es.object.define-getter"],"core-js/actual/object/define-properties":["es.object.define-properties"],"core-js/actual/object/define-property":["es.object.define-property"],"core-js/actual/object/define-setter":["es.object.define-setter"],"core-js/actual/object/entries":["es.object.entries"],"core-js/actual/object/freeze":["es.object.freeze"],"core-js/actual/object/from-entries":["es.array.iterator","es.object.from-entries","web.dom-collections.iterator"],"core-js/actual/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/actual/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/actual/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/actual/object/get-own-property-symbols":["es.symbol"],"core-js/actual/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/actual/object/has-own":["es.object.has-own"],"core-js/actual/object/is":["es.object.is"],"core-js/actual/object/is-extensible":["es.object.is-extensible"],"core-js/actual/object/is-frozen":["es.object.is-frozen"],"core-js/actual/object/is-sealed":["es.object.is-sealed"],"core-js/actual/object/keys":["es.object.keys"],"core-js/actual/object/lookup-getter":["es.object.lookup-getter"],"core-js/actual/object/lookup-setter":["es.object.lookup-setter"],"core-js/actual/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/actual/object/proto":["es.object.proto"],"core-js/actual/object/seal":["es.object.seal"],"core-js/actual/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/actual/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/actual/object/values":["es.object.values"],"core-js/actual/parse-float":["es.parse-float"],"core-js/actual/parse-int":["es.parse-int"],"core-js/actual/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/actual/queue-microtask":["web.queue-microtask"],"core-js/actual/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/actual/reflect/apply":["es.reflect.apply"],"core-js/actual/reflect/construct":["es.reflect.construct"],"core-js/actual/reflect/define-property":["es.reflect.define-property"],"core-js/actual/reflect/delete-property":["es.reflect.delete-property"],"core-js/actual/reflect/get":["es.reflect.get"],"core-js/actual/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/actual/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/actual/reflect/has":["es.reflect.has"],"core-js/actual/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/actual/reflect/own-keys":["es.reflect.own-keys"],"core-js/actual/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/actual/reflect/set":["es.reflect.set"],"core-js/actual/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/actual/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/actual/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/actual/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/actual/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/actual/regexp/flags":["es.regexp.flags"],"core-js/actual/regexp/match":["es.regexp.exec","es.string.match"],"core-js/actual/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/actual/regexp/search":["es.regexp.exec","es.string.search"],"core-js/actual/regexp/split":["es.regexp.exec","es.string.split"],"core-js/actual/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/actual/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/actual/regexp/to-string":["es.regexp.to-string"],"core-js/actual/self":["web.self"],"core-js/actual/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator","esnext.set.difference.v2","esnext.set.intersection.v2","esnext.set.is-disjoint-from.v2","esnext.set.is-subset-of.v2","esnext.set.is-superset-of.v2","esnext.set.symmetric-difference.v2","esnext.set.union.v2","web.dom-collections.iterator"],"core-js/actual/set-immediate":["web.immediate"],"core-js/actual/set-interval":["web.timers"],"core-js/actual/set-timeout":["web.timers"],"core-js/actual/set/difference":["es.set","esnext.set.difference.v2"],"core-js/actual/set/intersection":["es.set","esnext.set.intersection.v2"],"core-js/actual/set/is-disjoint-from":["es.set","esnext.set.is-disjoint-from.v2"],"core-js/actual/set/is-subset-of":["es.set","esnext.set.is-subset-of.v2"],"core-js/actual/set/is-superset-of":["es.set","esnext.set.is-superset-of.v2"],"core-js/actual/set/symmetric-difference":["es.set","esnext.set.symmetric-difference.v2"],"core-js/actual/set/union":["es.set","esnext.set.union.v2"],"core-js/actual/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.is-well-formed","esnext.string.to-well-formed"],"core-js/actual/string/anchor":["es.string.anchor"],"core-js/actual/string/at":["es.string.at-alternative"],"core-js/actual/string/big":["es.string.big"],"core-js/actual/string/blink":["es.string.blink"],"core-js/actual/string/bold":["es.string.bold"],"core-js/actual/string/code-point-at":["es.string.code-point-at"],"core-js/actual/string/ends-with":["es.string.ends-with"],"core-js/actual/string/fixed":["es.string.fixed"],"core-js/actual/string/fontcolor":["es.string.fontcolor"],"core-js/actual/string/fontsize":["es.string.fontsize"],"core-js/actual/string/from-code-point":["es.string.from-code-point"],"core-js/actual/string/includes":["es.string.includes"],"core-js/actual/string/is-well-formed":["esnext.string.is-well-formed"],"core-js/actual/string/italics":["es.string.italics"],"core-js/actual/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/actual/string/link":["es.string.link"],"core-js/actual/string/match":["es.regexp.exec","es.string.match"],"core-js/actual/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/actual/string/pad-end":["es.string.pad-end"],"core-js/actual/string/pad-start":["es.string.pad-start"],"core-js/actual/string/raw":["es.string.raw"],"core-js/actual/string/repeat":["es.string.repeat"],"core-js/actual/string/replace":["es.regexp.exec","es.string.replace"],"core-js/actual/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/actual/string/search":["es.regexp.exec","es.string.search"],"core-js/actual/string/small":["es.string.small"],"core-js/actual/string/split":["es.regexp.exec","es.string.split"],"core-js/actual/string/starts-with":["es.string.starts-with"],"core-js/actual/string/strike":["es.string.strike"],"core-js/actual/string/sub":["es.string.sub"],"core-js/actual/string/substr":["es.string.substr"],"core-js/actual/string/sup":["es.string.sup"],"core-js/actual/string/to-well-formed":["esnext.string.to-well-formed"],"core-js/actual/string/trim":["es.string.trim"],"core-js/actual/string/trim-end":["es.string.trim-end"],"core-js/actual/string/trim-left":["es.string.trim-start"],"core-js/actual/string/trim-right":["es.string.trim-end"],"core-js/actual/string/trim-start":["es.string.trim-start"],"core-js/actual/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.is-well-formed","esnext.string.to-well-formed"],"core-js/actual/string/virtual/anchor":["es.string.anchor"],"core-js/actual/string/virtual/at":["es.string.at-alternative"],"core-js/actual/string/virtual/big":["es.string.big"],"core-js/actual/string/virtual/blink":["es.string.blink"],"core-js/actual/string/virtual/bold":["es.string.bold"],"core-js/actual/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/actual/string/virtual/ends-with":["es.string.ends-with"],"core-js/actual/string/virtual/fixed":["es.string.fixed"],"core-js/actual/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/actual/string/virtual/fontsize":["es.string.fontsize"],"core-js/actual/string/virtual/includes":["es.string.includes"],"core-js/actual/string/virtual/is-well-formed":["esnext.string.is-well-formed"],"core-js/actual/string/virtual/italics":["es.string.italics"],"core-js/actual/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/actual/string/virtual/link":["es.string.link"],"core-js/actual/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/actual/string/virtual/pad-end":["es.string.pad-end"],"core-js/actual/string/virtual/pad-start":["es.string.pad-start"],"core-js/actual/string/virtual/repeat":["es.string.repeat"],"core-js/actual/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/actual/string/virtual/small":["es.string.small"],"core-js/actual/string/virtual/starts-with":["es.string.starts-with"],"core-js/actual/string/virtual/strike":["es.string.strike"],"core-js/actual/string/virtual/sub":["es.string.sub"],"core-js/actual/string/virtual/substr":["es.string.substr"],"core-js/actual/string/virtual/sup":["es.string.sup"],"core-js/actual/string/virtual/to-well-formed":["esnext.string.to-well-formed"],"core-js/actual/string/virtual/trim":["es.string.trim"],"core-js/actual/string/virtual/trim-end":["es.string.trim-end"],"core-js/actual/string/virtual/trim-left":["es.string.trim-start"],"core-js/actual/string/virtual/trim-right":["es.string.trim-end"],"core-js/actual/string/virtual/trim-start":["es.string.trim-start"],"core-js/actual/structured-clone":["es.error.to-string","es.array.iterator","es.map","es.object.keys","es.object.to-string","es.set","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"core-js/actual/suppressed-error":["es.error.cause","es.error.to-string","esnext.suppressed-error.constructor"],"core-js/actual/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","esnext.symbol.dispose","web.dom-collections.iterator"],"core-js/actual/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/actual/symbol/description":["es.symbol.description"],"core-js/actual/symbol/dispose":["esnext.symbol.dispose"],"core-js/actual/symbol/for":["es.symbol"],"core-js/actual/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/actual/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/actual/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/actual/symbol/key-for":["es.symbol"],"core-js/actual/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/actual/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/actual/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/actual/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/actual/symbol/species":["es.symbol.species"],"core-js/actual/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/actual/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/actual/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/actual/symbol/unscopables":["es.symbol.unscopables"],"core-js/actual/typed-array":["es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/at":["es.typed-array.at"],"core-js/actual/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/actual/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/actual/typed-array/every":["es.typed-array.every"],"core-js/actual/typed-array/fill":["es.typed-array.fill"],"core-js/actual/typed-array/filter":["es.typed-array.filter"],"core-js/actual/typed-array/find":["es.typed-array.find"],"core-js/actual/typed-array/find-index":["es.typed-array.find-index"],"core-js/actual/typed-array/find-last":["es.typed-array.find-last","esnext.typed-array.find-last"],"core-js/actual/typed-array/find-last-index":["es.typed-array.find-last-index","esnext.typed-array.find-last-index"],"core-js/actual/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/for-each":["es.typed-array.for-each"],"core-js/actual/typed-array/from":["es.typed-array.from"],"core-js/actual/typed-array/includes":["es.typed-array.includes"],"core-js/actual/typed-array/index-of":["es.typed-array.index-of"],"core-js/actual/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/actual/typed-array/join":["es.typed-array.join"],"core-js/actual/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/actual/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/actual/typed-array/map":["es.typed-array.map"],"core-js/actual/typed-array/methods":["es.object.to-string","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/of":["es.typed-array.of"],"core-js/actual/typed-array/reduce":["es.typed-array.reduce"],"core-js/actual/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/actual/typed-array/reverse":["es.typed-array.reverse"],"core-js/actual/typed-array/set":["es.typed-array.set"],"core-js/actual/typed-array/slice":["es.typed-array.slice"],"core-js/actual/typed-array/some":["es.typed-array.some"],"core-js/actual/typed-array/sort":["es.typed-array.sort"],"core-js/actual/typed-array/subarray":["es.typed-array.subarray"],"core-js/actual/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/actual/typed-array/to-reversed":["es.typed-array.to-reversed","esnext.typed-array.to-reversed"],"core-js/actual/typed-array/to-sorted":["es.typed-array.sort","es.typed-array.to-sorted","esnext.typed-array.to-sorted"],"core-js/actual/typed-array/to-spliced":["esnext.typed-array.to-spliced"],"core-js/actual/typed-array/to-string":["es.typed-array.to-string"],"core-js/actual/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/actual/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/actual/typed-array/with":["es.typed-array.with","esnext.typed-array.with"],"core-js/actual/unescape":["es.unescape"],"core-js/actual/url":["web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/actual/url-search-params":["web.dom-collections.iterator","web.url-search-params","web.url-search-params.size"],"core-js/actual/url/can-parse":["web.url","web.url.can-parse"],"core-js/actual/url/to-json":["web.url.to-json"],"core-js/actual/weak-map":["es.array.iterator","es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/actual/weak-set":["es.array.iterator","es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/es":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.unescape","es.weak-map","es.weak-set"],"core-js/es/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator"],"core-js/es/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.object.to-string","es.string.iterator"],"core-js/es/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/es/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"],"core-js/es/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/es/array-buffer/slice":["es.array-buffer.slice"],"core-js/es/array/at":["es.array.at"],"core-js/es/array/concat":["es.array.concat"],"core-js/es/array/copy-within":["es.array.copy-within"],"core-js/es/array/entries":["es.array.iterator","es.object.to-string"],"core-js/es/array/every":["es.array.every"],"core-js/es/array/fill":["es.array.fill"],"core-js/es/array/filter":["es.array.filter"],"core-js/es/array/find":["es.array.find"],"core-js/es/array/find-index":["es.array.find-index"],"core-js/es/array/find-last":["es.array.find-last"],"core-js/es/array/find-last-index":["es.array.find-last-index"],"core-js/es/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/for-each":["es.array.for-each"],"core-js/es/array/from":["es.array.from","es.string.iterator"],"core-js/es/array/includes":["es.array.includes"],"core-js/es/array/index-of":["es.array.index-of"],"core-js/es/array/is-array":["es.array.is-array"],"core-js/es/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/es/array/join":["es.array.join"],"core-js/es/array/keys":["es.array.iterator","es.object.to-string"],"core-js/es/array/last-index-of":["es.array.last-index-of"],"core-js/es/array/map":["es.array.map"],"core-js/es/array/of":["es.array.of"],"core-js/es/array/push":["es.array.push"],"core-js/es/array/reduce":["es.array.reduce"],"core-js/es/array/reduce-right":["es.array.reduce-right"],"core-js/es/array/reverse":["es.array.reverse"],"core-js/es/array/slice":["es.array.slice"],"core-js/es/array/some":["es.array.some"],"core-js/es/array/sort":["es.array.sort"],"core-js/es/array/splice":["es.array.splice"],"core-js/es/array/to-reversed":["es.array.to-reversed"],"core-js/es/array/to-sorted":["es.array.sort","es.array.to-sorted"],"core-js/es/array/to-spliced":["es.array.to-spliced"],"core-js/es/array/unshift":["es.array.unshift"],"core-js/es/array/values":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.object.to-string"],"core-js/es/array/virtual/at":["es.array.at"],"core-js/es/array/virtual/concat":["es.array.concat"],"core-js/es/array/virtual/copy-within":["es.array.copy-within"],"core-js/es/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual/every":["es.array.every"],"core-js/es/array/virtual/fill":["es.array.fill"],"core-js/es/array/virtual/filter":["es.array.filter"],"core-js/es/array/virtual/find":["es.array.find"],"core-js/es/array/virtual/find-index":["es.array.find-index"],"core-js/es/array/virtual/find-last":["es.array.find-last"],"core-js/es/array/virtual/find-last-index":["es.array.find-last-index"],"core-js/es/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/array/virtual/for-each":["es.array.for-each"],"core-js/es/array/virtual/includes":["es.array.includes"],"core-js/es/array/virtual/index-of":["es.array.index-of"],"core-js/es/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual/join":["es.array.join"],"core-js/es/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/es/array/virtual/map":["es.array.map"],"core-js/es/array/virtual/push":["es.array.push"],"core-js/es/array/virtual/reduce":["es.array.reduce"],"core-js/es/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/es/array/virtual/reverse":["es.array.reverse"],"core-js/es/array/virtual/slice":["es.array.slice"],"core-js/es/array/virtual/some":["es.array.some"],"core-js/es/array/virtual/sort":["es.array.sort"],"core-js/es/array/virtual/splice":["es.array.splice"],"core-js/es/array/virtual/to-reversed":["es.array.to-reversed"],"core-js/es/array/virtual/to-sorted":["es.array.sort","es.array.to-sorted"],"core-js/es/array/virtual/to-spliced":["es.array.to-spliced"],"core-js/es/array/virtual/unshift":["es.array.unshift"],"core-js/es/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/es/array/virtual/with":["es.array.with"],"core-js/es/array/with":["es.array.with"],"core-js/es/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/es/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/es/date/get-year":["es.date.get-year"],"core-js/es/date/now":["es.date.now"],"core-js/es/date/set-year":["es.date.set-year"],"core-js/es/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/es/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/es/date/to-json":["es.date.to-json"],"core-js/es/date/to-primitive":["es.date.to-primitive"],"core-js/es/date/to-string":["es.date.to-string"],"core-js/es/error":["es.error.cause","es.error.to-string"],"core-js/es/error/constructor":["es.error.cause"],"core-js/es/error/to-string":["es.error.to-string"],"core-js/es/escape":["es.escape"],"core-js/es/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/es/function/bind":["es.function.bind"],"core-js/es/function/has-instance":["es.function.has-instance"],"core-js/es/function/name":["es.function.name"],"core-js/es/function/virtual":["es.function.bind"],"core-js/es/function/virtual/bind":["es.function.bind"],"core-js/es/get-iterator":["es.array.iterator","es.string.iterator"],"core-js/es/get-iterator-method":["es.array.iterator","es.string.iterator"],"core-js/es/global-this":["es.global-this"],"core-js/es/instance/at":["es.array.at","es.string.at-alternative"],"core-js/es/instance/bind":["es.function.bind"],"core-js/es/instance/code-point-at":["es.string.code-point-at"],"core-js/es/instance/concat":["es.array.concat"],"core-js/es/instance/copy-within":["es.array.copy-within"],"core-js/es/instance/ends-with":["es.string.ends-with"],"core-js/es/instance/entries":["es.array.iterator","es.object.to-string"],"core-js/es/instance/every":["es.array.every"],"core-js/es/instance/fill":["es.array.fill"],"core-js/es/instance/filter":["es.array.filter"],"core-js/es/instance/find":["es.array.find"],"core-js/es/instance/find-index":["es.array.find-index"],"core-js/es/instance/find-last":["es.array.find-last"],"core-js/es/instance/find-last-index":["es.array.find-last-index"],"core-js/es/instance/flags":["es.regexp.flags"],"core-js/es/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/es/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/es/instance/for-each":["es.array.for-each"],"core-js/es/instance/includes":["es.array.includes","es.string.includes"],"core-js/es/instance/index-of":["es.array.index-of"],"core-js/es/instance/keys":["es.array.iterator","es.object.to-string"],"core-js/es/instance/last-index-of":["es.array.last-index-of"],"core-js/es/instance/map":["es.array.map"],"core-js/es/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/es/instance/pad-end":["es.string.pad-end"],"core-js/es/instance/pad-start":["es.string.pad-start"],"core-js/es/instance/push":["es.array.push"],"core-js/es/instance/reduce":["es.array.reduce"],"core-js/es/instance/reduce-right":["es.array.reduce-right"],"core-js/es/instance/repeat":["es.string.repeat"],"core-js/es/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/es/instance/reverse":["es.array.reverse"],"core-js/es/instance/slice":["es.array.slice"],"core-js/es/instance/some":["es.array.some"],"core-js/es/instance/sort":["es.array.sort"],"core-js/es/instance/splice":["es.array.splice"],"core-js/es/instance/starts-with":["es.string.starts-with"],"core-js/es/instance/to-reversed":["es.array.to-reversed"],"core-js/es/instance/to-sorted":["es.array.sort","es.array.to-sorted"],"core-js/es/instance/to-spliced":["es.array.to-spliced"],"core-js/es/instance/trim":["es.string.trim"],"core-js/es/instance/trim-end":["es.string.trim-end"],"core-js/es/instance/trim-left":["es.string.trim-start"],"core-js/es/instance/trim-right":["es.string.trim-end"],"core-js/es/instance/trim-start":["es.string.trim-start"],"core-js/es/instance/unshift":["es.array.unshift"],"core-js/es/instance/values":["es.array.iterator","es.object.to-string"],"core-js/es/instance/with":["es.array.with"],"core-js/es/is-iterable":["es.array.iterator","es.string.iterator"],"core-js/es/json":["es.json.stringify","es.json.to-string-tag"],"core-js/es/json/stringify":["es.json.stringify"],"core-js/es/json/to-string-tag":["es.json.to-string-tag"],"core-js/es/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator"],"core-js/es/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/es/math/acosh":["es.math.acosh"],"core-js/es/math/asinh":["es.math.asinh"],"core-js/es/math/atanh":["es.math.atanh"],"core-js/es/math/cbrt":["es.math.cbrt"],"core-js/es/math/clz32":["es.math.clz32"],"core-js/es/math/cosh":["es.math.cosh"],"core-js/es/math/expm1":["es.math.expm1"],"core-js/es/math/fround":["es.math.fround"],"core-js/es/math/hypot":["es.math.hypot"],"core-js/es/math/imul":["es.math.imul"],"core-js/es/math/log10":["es.math.log10"],"core-js/es/math/log1p":["es.math.log1p"],"core-js/es/math/log2":["es.math.log2"],"core-js/es/math/sign":["es.math.sign"],"core-js/es/math/sinh":["es.math.sinh"],"core-js/es/math/tanh":["es.math.tanh"],"core-js/es/math/to-string-tag":["es.math.to-string-tag"],"core-js/es/math/trunc":["es.math.trunc"],"core-js/es/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/es/number/constructor":["es.number.constructor"],"core-js/es/number/epsilon":["es.number.epsilon"],"core-js/es/number/is-finite":["es.number.is-finite"],"core-js/es/number/is-integer":["es.number.is-integer"],"core-js/es/number/is-nan":["es.number.is-nan"],"core-js/es/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/es/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/es/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/es/number/parse-float":["es.number.parse-float"],"core-js/es/number/parse-int":["es.number.parse-int"],"core-js/es/number/to-exponential":["es.number.to-exponential"],"core-js/es/number/to-fixed":["es.number.to-fixed"],"core-js/es/number/to-precision":["es.number.to-precision"],"core-js/es/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/es/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/es/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/es/number/virtual/to-precision":["es.number.to-precision"],"core-js/es/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag"],"core-js/es/object/assign":["es.object.assign"],"core-js/es/object/create":["es.object.create"],"core-js/es/object/define-getter":["es.object.define-getter"],"core-js/es/object/define-properties":["es.object.define-properties"],"core-js/es/object/define-property":["es.object.define-property"],"core-js/es/object/define-setter":["es.object.define-setter"],"core-js/es/object/entries":["es.object.entries"],"core-js/es/object/freeze":["es.object.freeze"],"core-js/es/object/from-entries":["es.array.iterator","es.object.from-entries"],"core-js/es/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/es/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/es/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/es/object/get-own-property-symbols":["es.symbol"],"core-js/es/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/es/object/has-own":["es.object.has-own"],"core-js/es/object/is":["es.object.is"],"core-js/es/object/is-extensible":["es.object.is-extensible"],"core-js/es/object/is-frozen":["es.object.is-frozen"],"core-js/es/object/is-sealed":["es.object.is-sealed"],"core-js/es/object/keys":["es.object.keys"],"core-js/es/object/lookup-getter":["es.object.lookup-getter"],"core-js/es/object/lookup-setter":["es.object.lookup-setter"],"core-js/es/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/es/object/proto":["es.object.proto"],"core-js/es/object/seal":["es.object.seal"],"core-js/es/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/es/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/object/values":["es.object.values"],"core-js/es/parse-float":["es.parse-float"],"core-js/es/parse-int":["es.parse-int"],"core-js/es/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator"],"core-js/es/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator"],"core-js/es/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator"],"core-js/es/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/es/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/es/reflect/apply":["es.reflect.apply"],"core-js/es/reflect/construct":["es.reflect.construct"],"core-js/es/reflect/define-property":["es.reflect.define-property"],"core-js/es/reflect/delete-property":["es.reflect.delete-property"],"core-js/es/reflect/get":["es.reflect.get"],"core-js/es/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/es/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/es/reflect/has":["es.reflect.has"],"core-js/es/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/es/reflect/own-keys":["es.reflect.own-keys"],"core-js/es/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/es/reflect/set":["es.reflect.set"],"core-js/es/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/es/reflect/to-string-tag":["es.object.to-string","es.reflect.to-string-tag"],"core-js/es/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/es/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/es/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/es/regexp/flags":["es.regexp.flags"],"core-js/es/regexp/match":["es.regexp.exec","es.string.match"],"core-js/es/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/es/regexp/search":["es.regexp.exec","es.string.search"],"core-js/es/regexp/split":["es.regexp.exec","es.string.split"],"core-js/es/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/es/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/es/regexp/to-string":["es.regexp.to-string"],"core-js/es/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator"],"core-js/es/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/anchor":["es.string.anchor"],"core-js/es/string/at":["es.string.at-alternative"],"core-js/es/string/big":["es.string.big"],"core-js/es/string/blink":["es.string.blink"],"core-js/es/string/bold":["es.string.bold"],"core-js/es/string/code-point-at":["es.string.code-point-at"],"core-js/es/string/ends-with":["es.string.ends-with"],"core-js/es/string/fixed":["es.string.fixed"],"core-js/es/string/fontcolor":["es.string.fontcolor"],"core-js/es/string/fontsize":["es.string.fontsize"],"core-js/es/string/from-code-point":["es.string.from-code-point"],"core-js/es/string/includes":["es.string.includes"],"core-js/es/string/italics":["es.string.italics"],"core-js/es/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/es/string/link":["es.string.link"],"core-js/es/string/match":["es.regexp.exec","es.string.match"],"core-js/es/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/es/string/pad-end":["es.string.pad-end"],"core-js/es/string/pad-start":["es.string.pad-start"],"core-js/es/string/raw":["es.string.raw"],"core-js/es/string/repeat":["es.string.repeat"],"core-js/es/string/replace":["es.regexp.exec","es.string.replace"],"core-js/es/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/es/string/search":["es.regexp.exec","es.string.search"],"core-js/es/string/small":["es.string.small"],"core-js/es/string/split":["es.regexp.exec","es.string.split"],"core-js/es/string/starts-with":["es.string.starts-with"],"core-js/es/string/strike":["es.string.strike"],"core-js/es/string/sub":["es.string.sub"],"core-js/es/string/substr":["es.string.substr"],"core-js/es/string/sup":["es.string.sup"],"core-js/es/string/trim":["es.string.trim"],"core-js/es/string/trim-end":["es.string.trim-end"],"core-js/es/string/trim-left":["es.string.trim-start"],"core-js/es/string/trim-right":["es.string.trim-end"],"core-js/es/string/trim-start":["es.string.trim-start"],"core-js/es/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/es/string/virtual/anchor":["es.string.anchor"],"core-js/es/string/virtual/at":["es.string.at-alternative"],"core-js/es/string/virtual/big":["es.string.big"],"core-js/es/string/virtual/blink":["es.string.blink"],"core-js/es/string/virtual/bold":["es.string.bold"],"core-js/es/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/es/string/virtual/ends-with":["es.string.ends-with"],"core-js/es/string/virtual/fixed":["es.string.fixed"],"core-js/es/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/es/string/virtual/fontsize":["es.string.fontsize"],"core-js/es/string/virtual/includes":["es.string.includes"],"core-js/es/string/virtual/italics":["es.string.italics"],"core-js/es/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/es/string/virtual/link":["es.string.link"],"core-js/es/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/es/string/virtual/pad-end":["es.string.pad-end"],"core-js/es/string/virtual/pad-start":["es.string.pad-start"],"core-js/es/string/virtual/repeat":["es.string.repeat"],"core-js/es/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/es/string/virtual/small":["es.string.small"],"core-js/es/string/virtual/starts-with":["es.string.starts-with"],"core-js/es/string/virtual/strike":["es.string.strike"],"core-js/es/string/virtual/sub":["es.string.sub"],"core-js/es/string/virtual/substr":["es.string.substr"],"core-js/es/string/virtual/sup":["es.string.sup"],"core-js/es/string/virtual/trim":["es.string.trim"],"core-js/es/string/virtual/trim-end":["es.string.trim-end"],"core-js/es/string/virtual/trim-left":["es.string.trim-start"],"core-js/es/string/virtual/trim-right":["es.string.trim-end"],"core-js/es/string/virtual/trim-start":["es.string.trim-start"],"core-js/es/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/es/symbol/description":["es.symbol.description"],"core-js/es/symbol/for":["es.symbol"],"core-js/es/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/es/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/es/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator"],"core-js/es/symbol/key-for":["es.symbol"],"core-js/es/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/es/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/es/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/es/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/es/symbol/species":["es.symbol.species"],"core-js/es/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/es/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/es/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/es/symbol/unscopables":["es.symbol.unscopables"],"core-js/es/typed-array":["es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/at":["es.typed-array.at"],"core-js/es/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/es/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/es/typed-array/every":["es.typed-array.every"],"core-js/es/typed-array/fill":["es.typed-array.fill"],"core-js/es/typed-array/filter":["es.typed-array.filter"],"core-js/es/typed-array/find":["es.typed-array.find"],"core-js/es/typed-array/find-index":["es.typed-array.find-index"],"core-js/es/typed-array/find-last":["es.typed-array.find-last"],"core-js/es/typed-array/find-last-index":["es.typed-array.find-last-index"],"core-js/es/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/for-each":["es.typed-array.for-each"],"core-js/es/typed-array/from":["es.typed-array.from"],"core-js/es/typed-array/includes":["es.typed-array.includes"],"core-js/es/typed-array/index-of":["es.typed-array.index-of"],"core-js/es/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/es/typed-array/join":["es.typed-array.join"],"core-js/es/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/es/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/es/typed-array/map":["es.typed-array.map"],"core-js/es/typed-array/methods":["es.object.to-string","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/of":["es.typed-array.of"],"core-js/es/typed-array/reduce":["es.typed-array.reduce"],"core-js/es/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/es/typed-array/reverse":["es.typed-array.reverse"],"core-js/es/typed-array/set":["es.typed-array.set"],"core-js/es/typed-array/slice":["es.typed-array.slice"],"core-js/es/typed-array/some":["es.typed-array.some"],"core-js/es/typed-array/sort":["es.typed-array.sort"],"core-js/es/typed-array/subarray":["es.typed-array.subarray"],"core-js/es/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/es/typed-array/to-reversed":["es.typed-array.to-reversed"],"core-js/es/typed-array/to-sorted":["es.typed-array.sort","es.typed-array.to-sorted"],"core-js/es/typed-array/to-string":["es.typed-array.to-string"],"core-js/es/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/es/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/es/typed-array/with":["es.typed-array.with"],"core-js/es/unescape":["es.unescape"],"core-js/es/weak-map":["es.array.iterator","es.object.to-string","es.weak-map"],"core-js/es/weak-set":["es.array.iterator","es.object.to-string","es.weak-set"],"core-js/features":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.self","web.structured-clone","web.timers","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/features/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/features/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.map","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with"],"core-js/features/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length"],"core-js/features/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length"],"core-js/features/array-buffer/detached":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached"],"core-js/features/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/features/array-buffer/slice":["es.array-buffer.slice"],"core-js/features/array-buffer/transfer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.transfer"],"core-js/features/array-buffer/transfer-to-fixed-length":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.transfer-to-fixed-length"],"core-js/features/array/at":["es.array.at","esnext.array.at"],"core-js/features/array/concat":["es.array.concat"],"core-js/features/array/copy-within":["es.array.copy-within"],"core-js/features/array/entries":["es.array.iterator","es.object.to-string"],"core-js/features/array/every":["es.array.every"],"core-js/features/array/fill":["es.array.fill"],"core-js/features/array/filter":["es.array.filter"],"core-js/features/array/filter-out":["esnext.array.filter-out"],"core-js/features/array/filter-reject":["esnext.array.filter-reject"],"core-js/features/array/find":["es.array.find"],"core-js/features/array/find-index":["es.array.find-index"],"core-js/features/array/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/features/array/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/features/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/for-each":["es.array.for-each"],"core-js/features/array/from":["es.array.from","es.string.iterator"],"core-js/features/array/from-async":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async"],"core-js/features/array/group":["esnext.array.group"],"core-js/features/array/group-by":["esnext.array.group-by"],"core-js/features/array/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/features/array/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/features/array/includes":["es.array.includes"],"core-js/features/array/index-of":["es.array.index-of"],"core-js/features/array/is-array":["es.array.is-array"],"core-js/features/array/is-template-object":["esnext.array.is-template-object"],"core-js/features/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/features/array/join":["es.array.join"],"core-js/features/array/keys":["es.array.iterator","es.object.to-string"],"core-js/features/array/last-index":["esnext.array.last-index"],"core-js/features/array/last-index-of":["es.array.last-index-of"],"core-js/features/array/last-item":["esnext.array.last-item"],"core-js/features/array/map":["es.array.map"],"core-js/features/array/of":["es.array.of"],"core-js/features/array/push":["es.array.push"],"core-js/features/array/reduce":["es.array.reduce"],"core-js/features/array/reduce-right":["es.array.reduce-right"],"core-js/features/array/reverse":["es.array.reverse"],"core-js/features/array/slice":["es.array.slice"],"core-js/features/array/some":["es.array.some"],"core-js/features/array/sort":["es.array.sort"],"core-js/features/array/splice":["es.array.splice"],"core-js/features/array/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/features/array/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/features/array/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/features/array/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/unshift":["es.array.unshift"],"core-js/features/array/values":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.map","es.object.to-string","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with"],"core-js/features/array/virtual/at":["es.array.at","esnext.array.at"],"core-js/features/array/virtual/concat":["es.array.concat"],"core-js/features/array/virtual/copy-within":["es.array.copy-within"],"core-js/features/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual/every":["es.array.every"],"core-js/features/array/virtual/fill":["es.array.fill"],"core-js/features/array/virtual/filter":["es.array.filter"],"core-js/features/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/features/array/virtual/filter-reject":["esnext.array.filter-reject"],"core-js/features/array/virtual/find":["es.array.find"],"core-js/features/array/virtual/find-index":["es.array.find-index"],"core-js/features/array/virtual/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/features/array/virtual/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/features/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/array/virtual/for-each":["es.array.for-each"],"core-js/features/array/virtual/group":["esnext.array.group"],"core-js/features/array/virtual/group-by":["esnext.array.group-by"],"core-js/features/array/virtual/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/features/array/virtual/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/features/array/virtual/includes":["es.array.includes"],"core-js/features/array/virtual/index-of":["es.array.index-of"],"core-js/features/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual/join":["es.array.join"],"core-js/features/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/features/array/virtual/map":["es.array.map"],"core-js/features/array/virtual/push":["es.array.push"],"core-js/features/array/virtual/reduce":["es.array.reduce"],"core-js/features/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/features/array/virtual/reverse":["es.array.reverse"],"core-js/features/array/virtual/slice":["es.array.slice"],"core-js/features/array/virtual/some":["es.array.some"],"core-js/features/array/virtual/sort":["es.array.sort"],"core-js/features/array/virtual/splice":["es.array.splice"],"core-js/features/array/virtual/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/features/array/virtual/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/features/array/virtual/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/features/array/virtual/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/array/virtual/unshift":["es.array.unshift"],"core-js/features/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/features/array/virtual/with":["es.array.with","esnext.array.with"],"core-js/features/array/with":["es.array.with","esnext.array.with"],"core-js/features/async-disposable-stack":["es.error.cause","es.error.to-string","es.object.to-string","es.promise","esnext.suppressed-error.constructor","esnext.async-disposable-stack.constructor","esnext.async-iterator.async-dispose","esnext.iterator.dispose"],"core-js/features/async-disposable-stack/constructor":["es.error.cause","es.error.to-string","es.object.to-string","es.promise","esnext.suppressed-error.constructor","esnext.async-disposable-stack.constructor","esnext.async-iterator.async-dispose","esnext.iterator.dispose"],"core-js/features/async-iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/async-iterator/as-indexed-pairs":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs"],"core-js/features/async-iterator/async-dispose":["es.object.to-string","es.promise","esnext.async-iterator.async-dispose"],"core-js/features/async-iterator/drop":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.drop"],"core-js/features/async-iterator/every":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.every"],"core-js/features/async-iterator/filter":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.filter"],"core-js/features/async-iterator/find":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.find"],"core-js/features/async-iterator/flat-map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.flat-map"],"core-js/features/async-iterator/for-each":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.for-each"],"core-js/features/async-iterator/from":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/features/async-iterator/indexed":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.indexed"],"core-js/features/async-iterator/map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.map"],"core-js/features/async-iterator/reduce":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.reduce"],"core-js/features/async-iterator/some":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.some"],"core-js/features/async-iterator/take":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.take"],"core-js/features/async-iterator/to-array":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.to-array"],"core-js/features/atob":["es.error.to-string","es.object.to-string","web.atob","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/features/bigint":["es.object.to-string","esnext.bigint.range"],"core-js/features/bigint/range":["es.object.to-string","esnext.bigint.range"],"core-js/features/btoa":["es.error.to-string","es.object.to-string","web.btoa","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/features/clear-immediate":["web.immediate"],"core-js/features/composite-key":["esnext.composite-key"],"core-js/features/composite-symbol":["es.symbol","esnext.composite-symbol"],"core-js/features/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/features/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/features/date/get-year":["es.date.get-year"],"core-js/features/date/now":["es.date.now"],"core-js/features/date/set-year":["es.date.set-year"],"core-js/features/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/features/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/features/date/to-json":["es.date.to-json"],"core-js/features/date/to-primitive":["es.date.to-primitive"],"core-js/features/date/to-string":["es.date.to-string"],"core-js/features/disposable-stack":["es.error.cause","es.error.to-string","es.object.to-string","esnext.suppressed-error.constructor","esnext.disposable-stack.constructor","esnext.iterator.dispose"],"core-js/features/disposable-stack/constructor":["es.error.cause","es.error.to-string","es.object.to-string","esnext.suppressed-error.constructor","esnext.disposable-stack.constructor","esnext.iterator.dispose"],"core-js/features/dom-collections":["es.array.iterator","es.object.to-string","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/features/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/features/dom-collections/iterator":["es.object.to-string","web.dom-collections.iterator"],"core-js/features/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/features/dom-exception/constructor":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack"],"core-js/features/dom-exception/to-string-tag":["web.dom-exception.to-string-tag"],"core-js/features/error":["es.error.cause","es.error.to-string"],"core-js/features/error/constructor":["es.error.cause"],"core-js/features/error/to-string":["es.error.to-string"],"core-js/features/escape":["es.escape"],"core-js/features/function":["es.function.bind","es.function.has-instance","es.function.name","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this"],"core-js/features/function/bind":["es.function.bind"],"core-js/features/function/demethodize":["esnext.function.demethodize"],"core-js/features/function/has-instance":["es.function.has-instance"],"core-js/features/function/is-callable":["esnext.function.is-callable"],"core-js/features/function/is-constructor":["esnext.function.is-constructor"],"core-js/features/function/name":["es.function.name"],"core-js/features/function/un-this":["esnext.function.un-this"],"core-js/features/function/virtual":["es.function.bind","esnext.function.demethodize","esnext.function.un-this"],"core-js/features/function/virtual/bind":["es.function.bind"],"core-js/features/function/virtual/demethodize":["esnext.function.demethodize"],"core-js/features/function/virtual/un-this":["esnext.function.un-this"],"core-js/features/get-iterator":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/get-iterator-method":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/global-this":["es.global-this","esnext.global-this"],"core-js/features/instance/at":["es.array.at","es.string.at-alternative","esnext.array.at","esnext.string.at"],"core-js/features/instance/bind":["es.function.bind"],"core-js/features/instance/code-point-at":["es.string.code-point-at"],"core-js/features/instance/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/features/instance/concat":["es.array.concat"],"core-js/features/instance/copy-within":["es.array.copy-within"],"core-js/features/instance/demethodize":["esnext.function.demethodize"],"core-js/features/instance/ends-with":["es.string.ends-with"],"core-js/features/instance/entries":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/features/instance/every":["es.array.every"],"core-js/features/instance/fill":["es.array.fill"],"core-js/features/instance/filter":["es.array.filter"],"core-js/features/instance/filter-out":["esnext.array.filter-out"],"core-js/features/instance/filter-reject":["esnext.array.filter-reject"],"core-js/features/instance/find":["es.array.find"],"core-js/features/instance/find-index":["es.array.find-index"],"core-js/features/instance/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/features/instance/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/features/instance/flags":["es.regexp.flags"],"core-js/features/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/features/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/features/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/features/instance/group":["esnext.array.group"],"core-js/features/instance/group-by":["esnext.array.group-by"],"core-js/features/instance/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/features/instance/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/features/instance/includes":["es.array.includes","es.string.includes"],"core-js/features/instance/index-of":["es.array.index-of"],"core-js/features/instance/is-well-formed":["esnext.string.is-well-formed"],"core-js/features/instance/keys":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/features/instance/last-index-of":["es.array.last-index-of"],"core-js/features/instance/map":["es.array.map"],"core-js/features/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/features/instance/pad-end":["es.string.pad-end"],"core-js/features/instance/pad-start":["es.string.pad-start"],"core-js/features/instance/push":["es.array.push"],"core-js/features/instance/reduce":["es.array.reduce"],"core-js/features/instance/reduce-right":["es.array.reduce-right"],"core-js/features/instance/repeat":["es.string.repeat"],"core-js/features/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/features/instance/reverse":["es.array.reverse"],"core-js/features/instance/slice":["es.array.slice"],"core-js/features/instance/some":["es.array.some"],"core-js/features/instance/sort":["es.array.sort"],"core-js/features/instance/splice":["es.array.splice"],"core-js/features/instance/starts-with":["es.string.starts-with"],"core-js/features/instance/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/features/instance/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/features/instance/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/features/instance/to-well-formed":["esnext.string.to-well-formed"],"core-js/features/instance/trim":["es.string.trim"],"core-js/features/instance/trim-end":["es.string.trim-end"],"core-js/features/instance/trim-left":["es.string.trim-start"],"core-js/features/instance/trim-right":["es.string.trim-end"],"core-js/features/instance/trim-start":["es.string.trim-start"],"core-js/features/instance/un-this":["esnext.function.un-this"],"core-js/features/instance/unique-by":["es.map","esnext.array.unique-by"],"core-js/features/instance/unshift":["es.array.unshift"],"core-js/features/instance/values":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/features/instance/with":["es.array.with","esnext.array.with"],"core-js/features/is-iterable":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/features/iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","web.dom-collections.iterator"],"core-js/features/iterator/as-indexed-pairs":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs"],"core-js/features/iterator/dispose":["esnext.iterator.dispose"],"core-js/features/iterator/drop":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.drop"],"core-js/features/iterator/every":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.every"],"core-js/features/iterator/filter":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.filter"],"core-js/features/iterator/find":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.find"],"core-js/features/iterator/flat-map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.flat-map"],"core-js/features/iterator/for-each":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.for-each"],"core-js/features/iterator/from":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.iterator.constructor","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","web.dom-collections.iterator"],"core-js/features/iterator/indexed":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.indexed"],"core-js/features/iterator/map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.map"],"core-js/features/iterator/range":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.range"],"core-js/features/iterator/reduce":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.reduce"],"core-js/features/iterator/some":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.some"],"core-js/features/iterator/take":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.take"],"core-js/features/iterator/to-array":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.to-array"],"core-js/features/iterator/to-async":["es.object.to-string","es.promise","esnext.iterator.constructor","esnext.iterator.to-async"],"core-js/features/json":["es.json.stringify","es.json.to-string-tag","es.object.create","es.object.freeze","es.object.keys","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json"],"core-js/features/json/is-raw-json":["esnext.json.is-raw-json"],"core-js/features/json/parse":["es.object.keys","esnext.json.parse"],"core-js/features/json/raw-json":["es.object.create","es.object.freeze","esnext.json.raw-json"],"core-js/features/json/stringify":["es.json.stringify"],"core-js/features/json/to-string-tag":["es.json.to-string-tag"],"core-js/features/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","web.dom-collections.iterator"],"core-js/features/map/delete-all":["es.map","esnext.map.delete-all"],"core-js/features/map/emplace":["es.map","esnext.map.emplace"],"core-js/features/map/every":["es.map","esnext.map.every"],"core-js/features/map/filter":["es.map","esnext.map.filter"],"core-js/features/map/find":["es.map","esnext.map.find"],"core-js/features/map/find-key":["es.map","esnext.map.find-key"],"core-js/features/map/from":["es.array.iterator","es.map","es.string.iterator","esnext.map.from","web.dom-collections.iterator"],"core-js/features/map/group-by":["es.map","esnext.map.group-by"],"core-js/features/map/includes":["es.map","esnext.map.includes"],"core-js/features/map/key-by":["es.map","esnext.map.key-by"],"core-js/features/map/key-of":["es.map","esnext.map.key-of"],"core-js/features/map/map-keys":["es.map","esnext.map.map-keys"],"core-js/features/map/map-values":["es.map","esnext.map.map-values"],"core-js/features/map/merge":["es.map","esnext.map.merge"],"core-js/features/map/of":["es.array.iterator","es.map","esnext.map.of"],"core-js/features/map/reduce":["es.map","esnext.map.reduce"],"core-js/features/map/some":["es.map","esnext.map.some"],"core-js/features/map/update":["es.map","esnext.map.update"],"core-js/features/map/update-or-insert":["es.map","esnext.map.update-or-insert"],"core-js/features/map/upsert":["es.map","esnext.map.upsert"],"core-js/features/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh"],"core-js/features/math/acosh":["es.math.acosh"],"core-js/features/math/asinh":["es.math.asinh"],"core-js/features/math/atanh":["es.math.atanh"],"core-js/features/math/cbrt":["es.math.cbrt"],"core-js/features/math/clamp":["esnext.math.clamp"],"core-js/features/math/clz32":["es.math.clz32"],"core-js/features/math/cosh":["es.math.cosh"],"core-js/features/math/deg-per-rad":["esnext.math.deg-per-rad"],"core-js/features/math/degrees":["esnext.math.degrees"],"core-js/features/math/expm1":["es.math.expm1"],"core-js/features/math/fround":["es.math.fround"],"core-js/features/math/fscale":["esnext.math.fscale"],"core-js/features/math/hypot":["es.math.hypot"],"core-js/features/math/iaddh":["esnext.math.iaddh"],"core-js/features/math/imul":["es.math.imul"],"core-js/features/math/imulh":["esnext.math.imulh"],"core-js/features/math/isubh":["esnext.math.isubh"],"core-js/features/math/log10":["es.math.log10"],"core-js/features/math/log1p":["es.math.log1p"],"core-js/features/math/log2":["es.math.log2"],"core-js/features/math/rad-per-deg":["esnext.math.rad-per-deg"],"core-js/features/math/radians":["esnext.math.radians"],"core-js/features/math/scale":["esnext.math.scale"],"core-js/features/math/seeded-prng":["esnext.math.seeded-prng"],"core-js/features/math/sign":["es.math.sign"],"core-js/features/math/signbit":["esnext.math.signbit"],"core-js/features/math/sinh":["es.math.sinh"],"core-js/features/math/tanh":["es.math.tanh"],"core-js/features/math/to-string-tag":["es.math.to-string-tag"],"core-js/features/math/trunc":["es.math.trunc"],"core-js/features/math/umulh":["esnext.math.umulh"],"core-js/features/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.to-string","esnext.number.from-string","esnext.number.range"],"core-js/features/number/constructor":["es.number.constructor"],"core-js/features/number/epsilon":["es.number.epsilon"],"core-js/features/number/from-string":["esnext.number.from-string"],"core-js/features/number/is-finite":["es.number.is-finite"],"core-js/features/number/is-integer":["es.number.is-integer"],"core-js/features/number/is-nan":["es.number.is-nan"],"core-js/features/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/features/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/features/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/features/number/parse-float":["es.number.parse-float"],"core-js/features/number/parse-int":["es.number.parse-int"],"core-js/features/number/range":["es.object.to-string","esnext.number.range"],"core-js/features/number/to-exponential":["es.number.to-exponential"],"core-js/features/number/to-fixed":["es.number.to-fixed"],"core-js/features/number/to-precision":["es.number.to-precision"],"core-js/features/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/features/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/features/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/features/number/virtual/to-precision":["es.number.to-precision"],"core-js/features/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","web.dom-collections.iterator"],"core-js/features/object/assign":["es.object.assign"],"core-js/features/object/create":["es.object.create"],"core-js/features/object/define-getter":["es.object.define-getter"],"core-js/features/object/define-properties":["es.object.define-properties"],"core-js/features/object/define-property":["es.object.define-property"],"core-js/features/object/define-setter":["es.object.define-setter"],"core-js/features/object/entries":["es.object.entries"],"core-js/features/object/freeze":["es.object.freeze"],"core-js/features/object/from-entries":["es.array.iterator","es.object.from-entries","web.dom-collections.iterator"],"core-js/features/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/features/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/features/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/features/object/get-own-property-symbols":["es.symbol"],"core-js/features/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/features/object/has-own":["es.object.has-own","esnext.object.has-own"],"core-js/features/object/is":["es.object.is"],"core-js/features/object/is-extensible":["es.object.is-extensible"],"core-js/features/object/is-frozen":["es.object.is-frozen"],"core-js/features/object/is-sealed":["es.object.is-sealed"],"core-js/features/object/iterate-entries":["esnext.object.iterate-entries"],"core-js/features/object/iterate-keys":["esnext.object.iterate-keys"],"core-js/features/object/iterate-values":["esnext.object.iterate-values"],"core-js/features/object/keys":["es.object.keys"],"core-js/features/object/lookup-getter":["es.object.lookup-getter"],"core-js/features/object/lookup-setter":["es.object.lookup-setter"],"core-js/features/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/features/object/proto":["es.object.proto"],"core-js/features/object/seal":["es.object.seal"],"core-js/features/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/features/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/object/values":["es.object.values"],"core-js/features/observable":["es.object.to-string","es.string.iterator","esnext.observable","esnext.symbol.observable","web.dom-collections.iterator"],"core-js/features/parse-float":["es.parse-float"],"core-js/features/parse-int":["es.parse-int"],"core-js/features/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","esnext.aggregate-error","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","web.dom-collections.iterator"],"core-js/features/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator","esnext.promise.all-settled","web.dom-collections.iterator"],"core-js/features/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator","esnext.aggregate-error","esnext.promise.any","web.dom-collections.iterator"],"core-js/features/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/features/promise/try":["es.promise","esnext.promise.try"],"core-js/features/queue-microtask":["web.queue-microtask"],"core-js/features/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/features/reflect/apply":["es.reflect.apply"],"core-js/features/reflect/construct":["es.reflect.construct"],"core-js/features/reflect/define-metadata":["esnext.reflect.define-metadata"],"core-js/features/reflect/define-property":["es.reflect.define-property"],"core-js/features/reflect/delete-metadata":["esnext.reflect.delete-metadata"],"core-js/features/reflect/delete-property":["es.reflect.delete-property"],"core-js/features/reflect/get":["es.reflect.get"],"core-js/features/reflect/get-metadata":["esnext.reflect.get-metadata"],"core-js/features/reflect/get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/features/reflect/get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/features/reflect/get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/features/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/features/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/features/reflect/has":["es.reflect.has"],"core-js/features/reflect/has-metadata":["esnext.reflect.has-metadata"],"core-js/features/reflect/has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/features/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/features/reflect/metadata":["esnext.reflect.metadata"],"core-js/features/reflect/own-keys":["es.reflect.own-keys"],"core-js/features/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/features/reflect/set":["es.reflect.set"],"core-js/features/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/features/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/features/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/features/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/features/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/features/regexp/flags":["es.regexp.flags"],"core-js/features/regexp/match":["es.regexp.exec","es.string.match"],"core-js/features/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/features/regexp/search":["es.regexp.exec","es.string.search"],"core-js/features/regexp/split":["es.regexp.exec","es.string.split"],"core-js/features/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/features/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/features/regexp/to-string":["es.regexp.to-string"],"core-js/features/self":["web.self"],"core-js/features/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","web.dom-collections.iterator"],"core-js/features/set-immediate":["web.immediate"],"core-js/features/set-interval":["web.timers"],"core-js/features/set-timeout":["web.timers"],"core-js/features/set/add-all":["es.set","esnext.set.add-all"],"core-js/features/set/delete-all":["es.set","esnext.set.delete-all"],"core-js/features/set/difference":["es.array.iterator","es.set","es.string.iterator","esnext.set.difference.v2","esnext.set.difference","web.dom-collections.iterator"],"core-js/features/set/every":["es.set","esnext.set.every"],"core-js/features/set/filter":["es.set","esnext.set.filter"],"core-js/features/set/find":["es.set","esnext.set.find"],"core-js/features/set/from":["es.array.iterator","es.set","es.string.iterator","esnext.set.from","web.dom-collections.iterator"],"core-js/features/set/intersection":["es.array.iterator","es.set","es.string.iterator","esnext.set.intersection.v2","esnext.set.intersection","web.dom-collections.iterator"],"core-js/features/set/is-disjoint-from":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","web.dom-collections.iterator"],"core-js/features/set/is-subset-of":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","web.dom-collections.iterator"],"core-js/features/set/is-superset-of":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","web.dom-collections.iterator"],"core-js/features/set/join":["es.set","esnext.set.join"],"core-js/features/set/map":["es.set","esnext.set.map"],"core-js/features/set/of":["es.array.iterator","es.set","esnext.set.of"],"core-js/features/set/reduce":["es.set","esnext.set.reduce"],"core-js/features/set/some":["es.set","esnext.set.some"],"core-js/features/set/symmetric-difference":["es.array.iterator","es.set","es.string.iterator","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","web.dom-collections.iterator"],"core-js/features/set/union":["es.array.iterator","es.set","es.string.iterator","esnext.set.union.v2","esnext.set.union","web.dom-collections.iterator"],"core-js/features/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.weak-map","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed"],"core-js/features/string/anchor":["es.string.anchor"],"core-js/features/string/at":["es.string.at-alternative","esnext.string.at"],"core-js/features/string/big":["es.string.big"],"core-js/features/string/blink":["es.string.blink"],"core-js/features/string/bold":["es.string.bold"],"core-js/features/string/code-point-at":["es.string.code-point-at"],"core-js/features/string/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/features/string/cooked":["esnext.string.cooked"],"core-js/features/string/dedent":["es.string.from-code-point","es.weak-map","esnext.string.dedent"],"core-js/features/string/ends-with":["es.string.ends-with"],"core-js/features/string/fixed":["es.string.fixed"],"core-js/features/string/fontcolor":["es.string.fontcolor"],"core-js/features/string/fontsize":["es.string.fontsize"],"core-js/features/string/from-code-point":["es.string.from-code-point"],"core-js/features/string/includes":["es.string.includes"],"core-js/features/string/is-well-formed":["esnext.string.is-well-formed"],"core-js/features/string/italics":["es.string.italics"],"core-js/features/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/features/string/link":["es.string.link"],"core-js/features/string/match":["es.regexp.exec","es.string.match"],"core-js/features/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/features/string/pad-end":["es.string.pad-end"],"core-js/features/string/pad-start":["es.string.pad-start"],"core-js/features/string/raw":["es.string.raw"],"core-js/features/string/repeat":["es.string.repeat"],"core-js/features/string/replace":["es.regexp.exec","es.string.replace"],"core-js/features/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/search":["es.regexp.exec","es.string.search"],"core-js/features/string/small":["es.string.small"],"core-js/features/string/split":["es.regexp.exec","es.string.split"],"core-js/features/string/starts-with":["es.string.starts-with"],"core-js/features/string/strike":["es.string.strike"],"core-js/features/string/sub":["es.string.sub"],"core-js/features/string/substr":["es.string.substr"],"core-js/features/string/sup":["es.string.sup"],"core-js/features/string/to-well-formed":["esnext.string.to-well-formed"],"core-js/features/string/trim":["es.string.trim"],"core-js/features/string/trim-end":["es.string.trim-end"],"core-js/features/string/trim-left":["es.string.trim-start"],"core-js/features/string/trim-right":["es.string.trim-end"],"core-js/features/string/trim-start":["es.string.trim-start"],"core-js/features/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed"],"core-js/features/string/virtual/anchor":["es.string.anchor"],"core-js/features/string/virtual/at":["es.string.at-alternative","esnext.string.at"],"core-js/features/string/virtual/big":["es.string.big"],"core-js/features/string/virtual/blink":["es.string.blink"],"core-js/features/string/virtual/bold":["es.string.bold"],"core-js/features/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/features/string/virtual/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/features/string/virtual/ends-with":["es.string.ends-with"],"core-js/features/string/virtual/fixed":["es.string.fixed"],"core-js/features/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/features/string/virtual/fontsize":["es.string.fontsize"],"core-js/features/string/virtual/includes":["es.string.includes"],"core-js/features/string/virtual/is-well-formed":["esnext.string.is-well-formed"],"core-js/features/string/virtual/italics":["es.string.italics"],"core-js/features/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/features/string/virtual/link":["es.string.link"],"core-js/features/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/features/string/virtual/pad-end":["es.string.pad-end"],"core-js/features/string/virtual/pad-start":["es.string.pad-start"],"core-js/features/string/virtual/repeat":["es.string.repeat"],"core-js/features/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/features/string/virtual/small":["es.string.small"],"core-js/features/string/virtual/starts-with":["es.string.starts-with"],"core-js/features/string/virtual/strike":["es.string.strike"],"core-js/features/string/virtual/sub":["es.string.sub"],"core-js/features/string/virtual/substr":["es.string.substr"],"core-js/features/string/virtual/sup":["es.string.sup"],"core-js/features/string/virtual/to-well-formed":["esnext.string.to-well-formed"],"core-js/features/string/virtual/trim":["es.string.trim"],"core-js/features/string/virtual/trim-end":["es.string.trim-end"],"core-js/features/string/virtual/trim-left":["es.string.trim-start"],"core-js/features/string/virtual/trim-right":["es.string.trim-end"],"core-js/features/string/virtual/trim-start":["es.string.trim-start"],"core-js/features/structured-clone":["es.error.to-string","es.array.iterator","es.map","es.object.keys","es.object.to-string","es.set","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"core-js/features/suppressed-error":["es.error.cause","es.error.to-string","esnext.suppressed-error.constructor"],"core-js/features/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","web.dom-collections.iterator"],"core-js/features/symbol/async-dispose":["esnext.symbol.async-dispose"],"core-js/features/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/features/symbol/description":["es.symbol.description"],"core-js/features/symbol/dispose":["esnext.symbol.dispose"],"core-js/features/symbol/for":["es.symbol"],"core-js/features/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/features/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/features/symbol/is-registered":["es.symbol","esnext.symbol.is-registered"],"core-js/features/symbol/is-well-known":["es.symbol","esnext.symbol.is-well-known"],"core-js/features/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/features/symbol/key-for":["es.symbol"],"core-js/features/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/features/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/features/symbol/matcher":["esnext.symbol.matcher"],"core-js/features/symbol/metadata":["esnext.symbol.metadata"],"core-js/features/symbol/metadata-key":["esnext.symbol.metadata-key"],"core-js/features/symbol/observable":["esnext.symbol.observable"],"core-js/features/symbol/pattern-match":["esnext.symbol.pattern-match"],"core-js/features/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/features/symbol/replace-all":["esnext.symbol.replace-all"],"core-js/features/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/features/symbol/species":["es.symbol.species"],"core-js/features/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/features/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/features/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/features/symbol/unscopables":["es.symbol.unscopables"],"core-js/features/typed-array":["es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/at":["es.typed-array.at","esnext.typed-array.at"],"core-js/features/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/features/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/features/typed-array/every":["es.typed-array.every"],"core-js/features/typed-array/fill":["es.typed-array.fill"],"core-js/features/typed-array/filter":["es.typed-array.filter"],"core-js/features/typed-array/filter-out":["esnext.typed-array.filter-out"],"core-js/features/typed-array/filter-reject":["esnext.typed-array.filter-reject"],"core-js/features/typed-array/find":["es.typed-array.find"],"core-js/features/typed-array/find-index":["es.typed-array.find-index"],"core-js/features/typed-array/find-last":["es.typed-array.find-last","esnext.typed-array.find-last"],"core-js/features/typed-array/find-last-index":["es.typed-array.find-last-index","esnext.typed-array.find-last-index"],"core-js/features/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/for-each":["es.typed-array.for-each"],"core-js/features/typed-array/from":["es.typed-array.from"],"core-js/features/typed-array/from-async":["esnext.typed-array.from-async"],"core-js/features/typed-array/group-by":["esnext.typed-array.group-by"],"core-js/features/typed-array/includes":["es.typed-array.includes"],"core-js/features/typed-array/index-of":["es.typed-array.index-of"],"core-js/features/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/features/typed-array/join":["es.typed-array.join"],"core-js/features/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/features/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/features/typed-array/map":["es.typed-array.map"],"core-js/features/typed-array/methods":["es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/of":["es.typed-array.of"],"core-js/features/typed-array/reduce":["es.typed-array.reduce"],"core-js/features/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/features/typed-array/reverse":["es.typed-array.reverse"],"core-js/features/typed-array/set":["es.typed-array.set"],"core-js/features/typed-array/slice":["es.typed-array.slice"],"core-js/features/typed-array/some":["es.typed-array.some"],"core-js/features/typed-array/sort":["es.typed-array.sort"],"core-js/features/typed-array/subarray":["es.typed-array.subarray"],"core-js/features/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/features/typed-array/to-reversed":["es.typed-array.to-reversed","esnext.typed-array.to-reversed"],"core-js/features/typed-array/to-sorted":["es.typed-array.sort","es.typed-array.to-sorted","esnext.typed-array.to-sorted"],"core-js/features/typed-array/to-spliced":["esnext.typed-array.to-spliced"],"core-js/features/typed-array/to-string":["es.typed-array.to-string"],"core-js/features/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/features/typed-array/unique-by":["es.map","esnext.typed-array.unique-by"],"core-js/features/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/features/typed-array/with":["es.typed-array.with","esnext.typed-array.with"],"core-js/features/unescape":["es.unescape"],"core-js/features/url":["web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/features/url-search-params":["web.dom-collections.iterator","web.url-search-params","web.url-search-params.size"],"core-js/features/url/can-parse":["web.url","web.url.can-parse"],"core-js/features/url/to-json":["web.url.to-json"],"core-js/features/weak-map":["es.array.iterator","es.object.to-string","es.string.iterator","es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","web.dom-collections.iterator"],"core-js/features/weak-map/delete-all":["es.weak-map","esnext.weak-map.delete-all"],"core-js/features/weak-map/emplace":["es.weak-map","esnext.weak-map.emplace"],"core-js/features/weak-map/from":["es.array.iterator","es.string.iterator","es.weak-map","esnext.weak-map.from","web.dom-collections.iterator"],"core-js/features/weak-map/of":["es.array.iterator","es.weak-map","esnext.weak-map.of"],"core-js/features/weak-map/upsert":["es.weak-map","esnext.weak-map.upsert"],"core-js/features/weak-set":["es.array.iterator","es.object.to-string","es.string.iterator","es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/features/weak-set/add-all":["es.weak-set","esnext.weak-set.add-all"],"core-js/features/weak-set/delete-all":["es.weak-set","esnext.weak-set.delete-all"],"core-js/features/weak-set/from":["es.array.iterator","es.string.iterator","es.weak-set","esnext.weak-set.from","web.dom-collections.iterator"],"core-js/features/weak-set/of":["es.array.iterator","es.weak-set","esnext.weak-set.of"],"core-js/full":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.self","web.structured-clone","web.timers","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/full/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/full/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.map","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with"],"core-js/full/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length"],"core-js/full/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length"],"core-js/full/array-buffer/detached":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.detached"],"core-js/full/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/full/array-buffer/slice":["es.array-buffer.slice"],"core-js/full/array-buffer/transfer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.transfer"],"core-js/full/array-buffer/transfer-to-fixed-length":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string","esnext.array-buffer.transfer-to-fixed-length"],"core-js/full/array/at":["es.array.at","esnext.array.at"],"core-js/full/array/concat":["es.array.concat"],"core-js/full/array/copy-within":["es.array.copy-within"],"core-js/full/array/entries":["es.array.iterator","es.object.to-string"],"core-js/full/array/every":["es.array.every"],"core-js/full/array/fill":["es.array.fill"],"core-js/full/array/filter":["es.array.filter"],"core-js/full/array/filter-out":["esnext.array.filter-out"],"core-js/full/array/filter-reject":["esnext.array.filter-reject"],"core-js/full/array/find":["es.array.find"],"core-js/full/array/find-index":["es.array.find-index"],"core-js/full/array/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/full/array/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/full/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/full/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/full/array/for-each":["es.array.for-each"],"core-js/full/array/from":["es.array.from","es.string.iterator"],"core-js/full/array/from-async":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.array.from-async"],"core-js/full/array/group":["esnext.array.group"],"core-js/full/array/group-by":["esnext.array.group-by"],"core-js/full/array/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/full/array/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/full/array/includes":["es.array.includes"],"core-js/full/array/index-of":["es.array.index-of"],"core-js/full/array/is-array":["es.array.is-array"],"core-js/full/array/is-template-object":["esnext.array.is-template-object"],"core-js/full/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/full/array/join":["es.array.join"],"core-js/full/array/keys":["es.array.iterator","es.object.to-string"],"core-js/full/array/last-index":["esnext.array.last-index"],"core-js/full/array/last-index-of":["es.array.last-index-of"],"core-js/full/array/last-item":["esnext.array.last-item"],"core-js/full/array/map":["es.array.map"],"core-js/full/array/of":["es.array.of"],"core-js/full/array/push":["es.array.push"],"core-js/full/array/reduce":["es.array.reduce"],"core-js/full/array/reduce-right":["es.array.reduce-right"],"core-js/full/array/reverse":["es.array.reverse"],"core-js/full/array/slice":["es.array.slice"],"core-js/full/array/some":["es.array.some"],"core-js/full/array/sort":["es.array.sort"],"core-js/full/array/splice":["es.array.splice"],"core-js/full/array/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/full/array/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/full/array/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/full/array/unique-by":["es.map","esnext.array.unique-by"],"core-js/full/array/unshift":["es.array.unshift"],"core-js/full/array/values":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.map","es.object.to-string","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with"],"core-js/full/array/virtual/at":["es.array.at","esnext.array.at"],"core-js/full/array/virtual/concat":["es.array.concat"],"core-js/full/array/virtual/copy-within":["es.array.copy-within"],"core-js/full/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual/every":["es.array.every"],"core-js/full/array/virtual/fill":["es.array.fill"],"core-js/full/array/virtual/filter":["es.array.filter"],"core-js/full/array/virtual/filter-out":["esnext.array.filter-out"],"core-js/full/array/virtual/filter-reject":["esnext.array.filter-reject"],"core-js/full/array/virtual/find":["es.array.find"],"core-js/full/array/virtual/find-index":["es.array.find-index"],"core-js/full/array/virtual/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/full/array/virtual/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/full/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/full/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/full/array/virtual/for-each":["es.array.for-each"],"core-js/full/array/virtual/group":["esnext.array.group"],"core-js/full/array/virtual/group-by":["esnext.array.group-by"],"core-js/full/array/virtual/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/full/array/virtual/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/full/array/virtual/includes":["es.array.includes"],"core-js/full/array/virtual/index-of":["es.array.index-of"],"core-js/full/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual/join":["es.array.join"],"core-js/full/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/full/array/virtual/map":["es.array.map"],"core-js/full/array/virtual/push":["es.array.push"],"core-js/full/array/virtual/reduce":["es.array.reduce"],"core-js/full/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/full/array/virtual/reverse":["es.array.reverse"],"core-js/full/array/virtual/slice":["es.array.slice"],"core-js/full/array/virtual/some":["es.array.some"],"core-js/full/array/virtual/sort":["es.array.sort"],"core-js/full/array/virtual/splice":["es.array.splice"],"core-js/full/array/virtual/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/full/array/virtual/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/full/array/virtual/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/full/array/virtual/unique-by":["es.map","esnext.array.unique-by"],"core-js/full/array/virtual/unshift":["es.array.unshift"],"core-js/full/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/full/array/virtual/with":["es.array.with","esnext.array.with"],"core-js/full/array/with":["es.array.with","esnext.array.with"],"core-js/full/async-disposable-stack":["es.error.cause","es.error.to-string","es.object.to-string","es.promise","esnext.suppressed-error.constructor","esnext.async-disposable-stack.constructor","esnext.async-iterator.async-dispose","esnext.iterator.dispose"],"core-js/full/async-disposable-stack/constructor":["es.error.cause","es.error.to-string","es.object.to-string","es.promise","esnext.suppressed-error.constructor","esnext.async-disposable-stack.constructor","esnext.async-iterator.async-dispose","esnext.iterator.dispose"],"core-js/full/async-iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/full/async-iterator/as-indexed-pairs":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs"],"core-js/full/async-iterator/async-dispose":["es.object.to-string","es.promise","esnext.async-iterator.async-dispose"],"core-js/full/async-iterator/drop":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.drop"],"core-js/full/async-iterator/every":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.every"],"core-js/full/async-iterator/filter":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.filter"],"core-js/full/async-iterator/find":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.find"],"core-js/full/async-iterator/flat-map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.flat-map"],"core-js/full/async-iterator/for-each":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.for-each"],"core-js/full/async-iterator/from":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.async-iterator.constructor","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","web.dom-collections.iterator"],"core-js/full/async-iterator/indexed":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.indexed"],"core-js/full/async-iterator/map":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.map"],"core-js/full/async-iterator/reduce":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.reduce"],"core-js/full/async-iterator/some":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.some"],"core-js/full/async-iterator/take":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.take"],"core-js/full/async-iterator/to-array":["es.object.to-string","es.promise","esnext.async-iterator.constructor","esnext.async-iterator.to-array"],"core-js/full/atob":["es.error.to-string","es.object.to-string","web.atob","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/full/bigint":["es.object.to-string","esnext.bigint.range"],"core-js/full/bigint/range":["es.object.to-string","esnext.bigint.range"],"core-js/full/btoa":["es.error.to-string","es.object.to-string","web.btoa","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/full/clear-immediate":["web.immediate"],"core-js/full/composite-key":["esnext.composite-key"],"core-js/full/composite-symbol":["es.symbol","esnext.composite-symbol"],"core-js/full/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/full/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/full/date/get-year":["es.date.get-year"],"core-js/full/date/now":["es.date.now"],"core-js/full/date/set-year":["es.date.set-year"],"core-js/full/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/full/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/full/date/to-json":["es.date.to-json"],"core-js/full/date/to-primitive":["es.date.to-primitive"],"core-js/full/date/to-string":["es.date.to-string"],"core-js/full/disposable-stack":["es.error.cause","es.error.to-string","es.object.to-string","esnext.suppressed-error.constructor","esnext.disposable-stack.constructor","esnext.iterator.dispose"],"core-js/full/disposable-stack/constructor":["es.error.cause","es.error.to-string","es.object.to-string","esnext.suppressed-error.constructor","esnext.disposable-stack.constructor","esnext.iterator.dispose"],"core-js/full/dom-collections":["es.array.iterator","es.object.to-string","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/full/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/full/dom-collections/iterator":["es.object.to-string","web.dom-collections.iterator"],"core-js/full/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/full/dom-exception/constructor":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack"],"core-js/full/dom-exception/to-string-tag":["web.dom-exception.to-string-tag"],"core-js/full/error":["es.error.cause","es.error.to-string"],"core-js/full/error/constructor":["es.error.cause"],"core-js/full/error/to-string":["es.error.to-string"],"core-js/full/escape":["es.escape"],"core-js/full/function":["es.function.bind","es.function.has-instance","es.function.name","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this"],"core-js/full/function/bind":["es.function.bind"],"core-js/full/function/demethodize":["esnext.function.demethodize"],"core-js/full/function/has-instance":["es.function.has-instance"],"core-js/full/function/is-callable":["esnext.function.is-callable"],"core-js/full/function/is-constructor":["esnext.function.is-constructor"],"core-js/full/function/name":["es.function.name"],"core-js/full/function/un-this":["esnext.function.un-this"],"core-js/full/function/virtual":["es.function.bind","esnext.function.demethodize","esnext.function.un-this"],"core-js/full/function/virtual/bind":["es.function.bind"],"core-js/full/function/virtual/demethodize":["esnext.function.demethodize"],"core-js/full/function/virtual/un-this":["esnext.function.un-this"],"core-js/full/get-iterator":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/full/get-iterator-method":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/full/global-this":["es.global-this","esnext.global-this"],"core-js/full/instance/at":["es.array.at","es.string.at-alternative","esnext.array.at","esnext.string.at"],"core-js/full/instance/bind":["es.function.bind"],"core-js/full/instance/code-point-at":["es.string.code-point-at"],"core-js/full/instance/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/full/instance/concat":["es.array.concat"],"core-js/full/instance/copy-within":["es.array.copy-within"],"core-js/full/instance/demethodize":["esnext.function.demethodize"],"core-js/full/instance/ends-with":["es.string.ends-with"],"core-js/full/instance/entries":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/full/instance/every":["es.array.every"],"core-js/full/instance/fill":["es.array.fill"],"core-js/full/instance/filter":["es.array.filter"],"core-js/full/instance/filter-out":["esnext.array.filter-out"],"core-js/full/instance/filter-reject":["esnext.array.filter-reject"],"core-js/full/instance/find":["es.array.find"],"core-js/full/instance/find-index":["es.array.find-index"],"core-js/full/instance/find-last":["es.array.find-last","esnext.array.find-last"],"core-js/full/instance/find-last-index":["es.array.find-last-index","esnext.array.find-last-index"],"core-js/full/instance/flags":["es.regexp.flags"],"core-js/full/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/full/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/full/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/full/instance/group":["esnext.array.group"],"core-js/full/instance/group-by":["esnext.array.group-by"],"core-js/full/instance/group-by-to-map":["es.map","es.object.to-string","esnext.array.group-by-to-map"],"core-js/full/instance/group-to-map":["es.map","es.object.to-string","esnext.array.group-to-map"],"core-js/full/instance/includes":["es.array.includes","es.string.includes"],"core-js/full/instance/index-of":["es.array.index-of"],"core-js/full/instance/is-well-formed":["esnext.string.is-well-formed"],"core-js/full/instance/keys":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/full/instance/last-index-of":["es.array.last-index-of"],"core-js/full/instance/map":["es.array.map"],"core-js/full/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/full/instance/pad-end":["es.string.pad-end"],"core-js/full/instance/pad-start":["es.string.pad-start"],"core-js/full/instance/push":["es.array.push"],"core-js/full/instance/reduce":["es.array.reduce"],"core-js/full/instance/reduce-right":["es.array.reduce-right"],"core-js/full/instance/repeat":["es.string.repeat"],"core-js/full/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/full/instance/reverse":["es.array.reverse"],"core-js/full/instance/slice":["es.array.slice"],"core-js/full/instance/some":["es.array.some"],"core-js/full/instance/sort":["es.array.sort"],"core-js/full/instance/splice":["es.array.splice"],"core-js/full/instance/starts-with":["es.string.starts-with"],"core-js/full/instance/to-reversed":["es.array.to-reversed","esnext.array.to-reversed"],"core-js/full/instance/to-sorted":["es.array.sort","es.array.to-sorted","esnext.array.to-sorted"],"core-js/full/instance/to-spliced":["es.array.to-spliced","esnext.array.to-spliced"],"core-js/full/instance/to-well-formed":["esnext.string.to-well-formed"],"core-js/full/instance/trim":["es.string.trim"],"core-js/full/instance/trim-end":["es.string.trim-end"],"core-js/full/instance/trim-left":["es.string.trim-start"],"core-js/full/instance/trim-right":["es.string.trim-end"],"core-js/full/instance/trim-start":["es.string.trim-start"],"core-js/full/instance/un-this":["esnext.function.un-this"],"core-js/full/instance/unique-by":["es.map","esnext.array.unique-by"],"core-js/full/instance/unshift":["es.array.unshift"],"core-js/full/instance/values":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/full/instance/with":["es.array.with","esnext.array.with"],"core-js/full/is-iterable":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/full/iterator":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","web.dom-collections.iterator"],"core-js/full/iterator/as-indexed-pairs":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs"],"core-js/full/iterator/dispose":["esnext.iterator.dispose"],"core-js/full/iterator/drop":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.drop"],"core-js/full/iterator/every":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.every"],"core-js/full/iterator/filter":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.filter"],"core-js/full/iterator/find":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.find"],"core-js/full/iterator/flat-map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.flat-map"],"core-js/full/iterator/for-each":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.for-each"],"core-js/full/iterator/from":["es.array.iterator","es.object.to-string","es.promise","es.string.iterator","esnext.iterator.constructor","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","web.dom-collections.iterator"],"core-js/full/iterator/indexed":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.indexed"],"core-js/full/iterator/map":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.map"],"core-js/full/iterator/range":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.range"],"core-js/full/iterator/reduce":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.reduce"],"core-js/full/iterator/some":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.some"],"core-js/full/iterator/take":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.take"],"core-js/full/iterator/to-array":["es.object.to-string","esnext.iterator.constructor","esnext.iterator.to-array"],"core-js/full/iterator/to-async":["es.object.to-string","es.promise","esnext.iterator.constructor","esnext.iterator.to-async"],"core-js/full/json":["es.json.stringify","es.json.to-string-tag","es.object.create","es.object.freeze","es.object.keys","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json"],"core-js/full/json/is-raw-json":["esnext.json.is-raw-json"],"core-js/full/json/parse":["es.object.keys","esnext.json.parse"],"core-js/full/json/raw-json":["es.object.create","es.object.freeze","esnext.json.raw-json"],"core-js/full/json/stringify":["es.json.stringify"],"core-js/full/json/to-string-tag":["es.json.to-string-tag"],"core-js/full/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","web.dom-collections.iterator"],"core-js/full/map/delete-all":["es.map","esnext.map.delete-all"],"core-js/full/map/emplace":["es.map","esnext.map.emplace"],"core-js/full/map/every":["es.map","esnext.map.every"],"core-js/full/map/filter":["es.map","esnext.map.filter"],"core-js/full/map/find":["es.map","esnext.map.find"],"core-js/full/map/find-key":["es.map","esnext.map.find-key"],"core-js/full/map/from":["es.array.iterator","es.map","es.string.iterator","esnext.map.from","web.dom-collections.iterator"],"core-js/full/map/group-by":["es.map","esnext.map.group-by"],"core-js/full/map/includes":["es.map","esnext.map.includes"],"core-js/full/map/key-by":["es.map","esnext.map.key-by"],"core-js/full/map/key-of":["es.map","esnext.map.key-of"],"core-js/full/map/map-keys":["es.map","esnext.map.map-keys"],"core-js/full/map/map-values":["es.map","esnext.map.map-values"],"core-js/full/map/merge":["es.map","esnext.map.merge"],"core-js/full/map/of":["es.array.iterator","es.map","esnext.map.of"],"core-js/full/map/reduce":["es.map","esnext.map.reduce"],"core-js/full/map/some":["es.map","esnext.map.some"],"core-js/full/map/update":["es.map","esnext.map.update"],"core-js/full/map/update-or-insert":["es.map","esnext.map.update-or-insert"],"core-js/full/map/upsert":["es.map","esnext.map.upsert"],"core-js/full/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh"],"core-js/full/math/acosh":["es.math.acosh"],"core-js/full/math/asinh":["es.math.asinh"],"core-js/full/math/atanh":["es.math.atanh"],"core-js/full/math/cbrt":["es.math.cbrt"],"core-js/full/math/clamp":["esnext.math.clamp"],"core-js/full/math/clz32":["es.math.clz32"],"core-js/full/math/cosh":["es.math.cosh"],"core-js/full/math/deg-per-rad":["esnext.math.deg-per-rad"],"core-js/full/math/degrees":["esnext.math.degrees"],"core-js/full/math/expm1":["es.math.expm1"],"core-js/full/math/fround":["es.math.fround"],"core-js/full/math/fscale":["esnext.math.fscale"],"core-js/full/math/hypot":["es.math.hypot"],"core-js/full/math/iaddh":["esnext.math.iaddh"],"core-js/full/math/imul":["es.math.imul"],"core-js/full/math/imulh":["esnext.math.imulh"],"core-js/full/math/isubh":["esnext.math.isubh"],"core-js/full/math/log10":["es.math.log10"],"core-js/full/math/log1p":["es.math.log1p"],"core-js/full/math/log2":["es.math.log2"],"core-js/full/math/rad-per-deg":["esnext.math.rad-per-deg"],"core-js/full/math/radians":["esnext.math.radians"],"core-js/full/math/scale":["esnext.math.scale"],"core-js/full/math/seeded-prng":["esnext.math.seeded-prng"],"core-js/full/math/sign":["es.math.sign"],"core-js/full/math/signbit":["esnext.math.signbit"],"core-js/full/math/sinh":["es.math.sinh"],"core-js/full/math/tanh":["es.math.tanh"],"core-js/full/math/to-string-tag":["es.math.to-string-tag"],"core-js/full/math/trunc":["es.math.trunc"],"core-js/full/math/umulh":["esnext.math.umulh"],"core-js/full/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.to-string","esnext.number.from-string","esnext.number.range"],"core-js/full/number/constructor":["es.number.constructor"],"core-js/full/number/epsilon":["es.number.epsilon"],"core-js/full/number/from-string":["esnext.number.from-string"],"core-js/full/number/is-finite":["es.number.is-finite"],"core-js/full/number/is-integer":["es.number.is-integer"],"core-js/full/number/is-nan":["es.number.is-nan"],"core-js/full/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/full/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/full/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/full/number/parse-float":["es.number.parse-float"],"core-js/full/number/parse-int":["es.number.parse-int"],"core-js/full/number/range":["es.object.to-string","esnext.number.range"],"core-js/full/number/to-exponential":["es.number.to-exponential"],"core-js/full/number/to-fixed":["es.number.to-fixed"],"core-js/full/number/to-precision":["es.number.to-precision"],"core-js/full/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/full/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/full/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/full/number/virtual/to-precision":["es.number.to-precision"],"core-js/full/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","web.dom-collections.iterator"],"core-js/full/object/assign":["es.object.assign"],"core-js/full/object/create":["es.object.create"],"core-js/full/object/define-getter":["es.object.define-getter"],"core-js/full/object/define-properties":["es.object.define-properties"],"core-js/full/object/define-property":["es.object.define-property"],"core-js/full/object/define-setter":["es.object.define-setter"],"core-js/full/object/entries":["es.object.entries"],"core-js/full/object/freeze":["es.object.freeze"],"core-js/full/object/from-entries":["es.array.iterator","es.object.from-entries","web.dom-collections.iterator"],"core-js/full/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/full/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/full/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/full/object/get-own-property-symbols":["es.symbol"],"core-js/full/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/full/object/has-own":["es.object.has-own","esnext.object.has-own"],"core-js/full/object/is":["es.object.is"],"core-js/full/object/is-extensible":["es.object.is-extensible"],"core-js/full/object/is-frozen":["es.object.is-frozen"],"core-js/full/object/is-sealed":["es.object.is-sealed"],"core-js/full/object/iterate-entries":["esnext.object.iterate-entries"],"core-js/full/object/iterate-keys":["esnext.object.iterate-keys"],"core-js/full/object/iterate-values":["esnext.object.iterate-values"],"core-js/full/object/keys":["es.object.keys"],"core-js/full/object/lookup-getter":["es.object.lookup-getter"],"core-js/full/object/lookup-setter":["es.object.lookup-setter"],"core-js/full/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/full/object/proto":["es.object.proto"],"core-js/full/object/seal":["es.object.seal"],"core-js/full/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/full/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/full/object/values":["es.object.values"],"core-js/full/observable":["es.object.to-string","es.string.iterator","esnext.observable","esnext.symbol.observable","web.dom-collections.iterator"],"core-js/full/parse-float":["es.parse-float"],"core-js/full/parse-int":["es.parse-int"],"core-js/full/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","esnext.aggregate-error","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","web.dom-collections.iterator"],"core-js/full/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator","esnext.promise.all-settled","web.dom-collections.iterator"],"core-js/full/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator","esnext.aggregate-error","esnext.promise.any","web.dom-collections.iterator"],"core-js/full/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/full/promise/try":["es.promise","esnext.promise.try"],"core-js/full/queue-microtask":["web.queue-microtask"],"core-js/full/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/full/reflect/apply":["es.reflect.apply"],"core-js/full/reflect/construct":["es.reflect.construct"],"core-js/full/reflect/define-metadata":["esnext.reflect.define-metadata"],"core-js/full/reflect/define-property":["es.reflect.define-property"],"core-js/full/reflect/delete-metadata":["esnext.reflect.delete-metadata"],"core-js/full/reflect/delete-property":["es.reflect.delete-property"],"core-js/full/reflect/get":["es.reflect.get"],"core-js/full/reflect/get-metadata":["esnext.reflect.get-metadata"],"core-js/full/reflect/get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/full/reflect/get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/full/reflect/get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/full/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/full/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/full/reflect/has":["es.reflect.has"],"core-js/full/reflect/has-metadata":["esnext.reflect.has-metadata"],"core-js/full/reflect/has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/full/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/full/reflect/metadata":["esnext.reflect.metadata"],"core-js/full/reflect/own-keys":["es.reflect.own-keys"],"core-js/full/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/full/reflect/set":["es.reflect.set"],"core-js/full/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/full/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/full/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/full/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/full/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/full/regexp/flags":["es.regexp.flags"],"core-js/full/regexp/match":["es.regexp.exec","es.string.match"],"core-js/full/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/full/regexp/search":["es.regexp.exec","es.string.search"],"core-js/full/regexp/split":["es.regexp.exec","es.string.split"],"core-js/full/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/full/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/full/regexp/to-string":["es.regexp.to-string"],"core-js/full/self":["web.self"],"core-js/full/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","web.dom-collections.iterator"],"core-js/full/set-immediate":["web.immediate"],"core-js/full/set-interval":["web.timers"],"core-js/full/set-timeout":["web.timers"],"core-js/full/set/add-all":["es.set","esnext.set.add-all"],"core-js/full/set/delete-all":["es.set","esnext.set.delete-all"],"core-js/full/set/difference":["es.array.iterator","es.set","es.string.iterator","esnext.set.difference.v2","esnext.set.difference","web.dom-collections.iterator"],"core-js/full/set/every":["es.set","esnext.set.every"],"core-js/full/set/filter":["es.set","esnext.set.filter"],"core-js/full/set/find":["es.set","esnext.set.find"],"core-js/full/set/from":["es.array.iterator","es.set","es.string.iterator","esnext.set.from","web.dom-collections.iterator"],"core-js/full/set/intersection":["es.array.iterator","es.set","es.string.iterator","esnext.set.intersection.v2","esnext.set.intersection","web.dom-collections.iterator"],"core-js/full/set/is-disjoint-from":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","web.dom-collections.iterator"],"core-js/full/set/is-subset-of":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","web.dom-collections.iterator"],"core-js/full/set/is-superset-of":["es.array.iterator","es.set","es.string.iterator","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","web.dom-collections.iterator"],"core-js/full/set/join":["es.set","esnext.set.join"],"core-js/full/set/map":["es.set","esnext.set.map"],"core-js/full/set/of":["es.array.iterator","es.set","esnext.set.of"],"core-js/full/set/reduce":["es.set","esnext.set.reduce"],"core-js/full/set/some":["es.set","esnext.set.some"],"core-js/full/set/symmetric-difference":["es.array.iterator","es.set","es.string.iterator","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","web.dom-collections.iterator"],"core-js/full/set/union":["es.array.iterator","es.set","es.string.iterator","esnext.set.union.v2","esnext.set.union","web.dom-collections.iterator"],"core-js/full/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.weak-map","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed"],"core-js/full/string/anchor":["es.string.anchor"],"core-js/full/string/at":["es.string.at-alternative","esnext.string.at"],"core-js/full/string/big":["es.string.big"],"core-js/full/string/blink":["es.string.blink"],"core-js/full/string/bold":["es.string.bold"],"core-js/full/string/code-point-at":["es.string.code-point-at"],"core-js/full/string/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/full/string/cooked":["esnext.string.cooked"],"core-js/full/string/dedent":["es.string.from-code-point","es.weak-map","esnext.string.dedent"],"core-js/full/string/ends-with":["es.string.ends-with"],"core-js/full/string/fixed":["es.string.fixed"],"core-js/full/string/fontcolor":["es.string.fontcolor"],"core-js/full/string/fontsize":["es.string.fontsize"],"core-js/full/string/from-code-point":["es.string.from-code-point"],"core-js/full/string/includes":["es.string.includes"],"core-js/full/string/is-well-formed":["esnext.string.is-well-formed"],"core-js/full/string/italics":["es.string.italics"],"core-js/full/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/full/string/link":["es.string.link"],"core-js/full/string/match":["es.regexp.exec","es.string.match"],"core-js/full/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/full/string/pad-end":["es.string.pad-end"],"core-js/full/string/pad-start":["es.string.pad-start"],"core-js/full/string/raw":["es.string.raw"],"core-js/full/string/repeat":["es.string.repeat"],"core-js/full/string/replace":["es.regexp.exec","es.string.replace"],"core-js/full/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/full/string/search":["es.regexp.exec","es.string.search"],"core-js/full/string/small":["es.string.small"],"core-js/full/string/split":["es.regexp.exec","es.string.split"],"core-js/full/string/starts-with":["es.string.starts-with"],"core-js/full/string/strike":["es.string.strike"],"core-js/full/string/sub":["es.string.sub"],"core-js/full/string/substr":["es.string.substr"],"core-js/full/string/sup":["es.string.sup"],"core-js/full/string/to-well-formed":["esnext.string.to-well-formed"],"core-js/full/string/trim":["es.string.trim"],"core-js/full/string/trim-end":["es.string.trim-end"],"core-js/full/string/trim-left":["es.string.trim-start"],"core-js/full/string/trim-right":["es.string.trim-end"],"core-js/full/string/trim-start":["es.string.trim-start"],"core-js/full/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","esnext.string.at","esnext.string.code-points","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed"],"core-js/full/string/virtual/anchor":["es.string.anchor"],"core-js/full/string/virtual/at":["es.string.at-alternative","esnext.string.at"],"core-js/full/string/virtual/big":["es.string.big"],"core-js/full/string/virtual/blink":["es.string.blink"],"core-js/full/string/virtual/bold":["es.string.bold"],"core-js/full/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/full/string/virtual/code-points":["es.object.to-string","esnext.string.code-points"],"core-js/full/string/virtual/ends-with":["es.string.ends-with"],"core-js/full/string/virtual/fixed":["es.string.fixed"],"core-js/full/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/full/string/virtual/fontsize":["es.string.fontsize"],"core-js/full/string/virtual/includes":["es.string.includes"],"core-js/full/string/virtual/is-well-formed":["esnext.string.is-well-formed"],"core-js/full/string/virtual/italics":["es.string.italics"],"core-js/full/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/full/string/virtual/link":["es.string.link"],"core-js/full/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all","esnext.string.match-all"],"core-js/full/string/virtual/pad-end":["es.string.pad-end"],"core-js/full/string/virtual/pad-start":["es.string.pad-start"],"core-js/full/string/virtual/repeat":["es.string.repeat"],"core-js/full/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all","esnext.string.replace-all"],"core-js/full/string/virtual/small":["es.string.small"],"core-js/full/string/virtual/starts-with":["es.string.starts-with"],"core-js/full/string/virtual/strike":["es.string.strike"],"core-js/full/string/virtual/sub":["es.string.sub"],"core-js/full/string/virtual/substr":["es.string.substr"],"core-js/full/string/virtual/sup":["es.string.sup"],"core-js/full/string/virtual/to-well-formed":["esnext.string.to-well-formed"],"core-js/full/string/virtual/trim":["es.string.trim"],"core-js/full/string/virtual/trim-end":["es.string.trim-end"],"core-js/full/string/virtual/trim-left":["es.string.trim-start"],"core-js/full/string/virtual/trim-right":["es.string.trim-end"],"core-js/full/string/virtual/trim-start":["es.string.trim-start"],"core-js/full/structured-clone":["es.error.to-string","es.array.iterator","es.map","es.object.keys","es.object.to-string","es.set","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"core-js/full/suppressed-error":["es.error.cause","es.error.to-string","esnext.suppressed-error.constructor"],"core-js/full/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","web.dom-collections.iterator"],"core-js/full/symbol/async-dispose":["esnext.symbol.async-dispose"],"core-js/full/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/full/symbol/description":["es.symbol.description"],"core-js/full/symbol/dispose":["esnext.symbol.dispose"],"core-js/full/symbol/for":["es.symbol"],"core-js/full/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/full/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/full/symbol/is-registered":["es.symbol","esnext.symbol.is-registered"],"core-js/full/symbol/is-well-known":["es.symbol","esnext.symbol.is-well-known"],"core-js/full/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/full/symbol/key-for":["es.symbol"],"core-js/full/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/full/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/full/symbol/matcher":["esnext.symbol.matcher"],"core-js/full/symbol/metadata":["esnext.symbol.metadata"],"core-js/full/symbol/metadata-key":["esnext.symbol.metadata-key"],"core-js/full/symbol/observable":["esnext.symbol.observable"],"core-js/full/symbol/pattern-match":["esnext.symbol.pattern-match"],"core-js/full/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/full/symbol/replace-all":["esnext.symbol.replace-all"],"core-js/full/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/full/symbol/species":["es.symbol.species"],"core-js/full/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/full/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/full/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/full/symbol/unscopables":["es.symbol.unscopables"],"core-js/full/typed-array":["es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/at":["es.typed-array.at","esnext.typed-array.at"],"core-js/full/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/full/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/full/typed-array/every":["es.typed-array.every"],"core-js/full/typed-array/fill":["es.typed-array.fill"],"core-js/full/typed-array/filter":["es.typed-array.filter"],"core-js/full/typed-array/filter-out":["esnext.typed-array.filter-out"],"core-js/full/typed-array/filter-reject":["esnext.typed-array.filter-reject"],"core-js/full/typed-array/find":["es.typed-array.find"],"core-js/full/typed-array/find-index":["es.typed-array.find-index"],"core-js/full/typed-array/find-last":["es.typed-array.find-last","esnext.typed-array.find-last"],"core-js/full/typed-array/find-last-index":["es.typed-array.find-last-index","esnext.typed-array.find-last-index"],"core-js/full/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/for-each":["es.typed-array.for-each"],"core-js/full/typed-array/from":["es.typed-array.from"],"core-js/full/typed-array/from-async":["esnext.typed-array.from-async"],"core-js/full/typed-array/group-by":["esnext.typed-array.group-by"],"core-js/full/typed-array/includes":["es.typed-array.includes"],"core-js/full/typed-array/index-of":["es.typed-array.index-of"],"core-js/full/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/full/typed-array/join":["es.typed-array.join"],"core-js/full/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/full/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/full/typed-array/map":["es.typed-array.map"],"core-js/full/typed-array/methods":["es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/of":["es.typed-array.of"],"core-js/full/typed-array/reduce":["es.typed-array.reduce"],"core-js/full/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/full/typed-array/reverse":["es.typed-array.reverse"],"core-js/full/typed-array/set":["es.typed-array.set"],"core-js/full/typed-array/slice":["es.typed-array.slice"],"core-js/full/typed-array/some":["es.typed-array.some"],"core-js/full/typed-array/sort":["es.typed-array.sort"],"core-js/full/typed-array/subarray":["es.typed-array.subarray"],"core-js/full/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/full/typed-array/to-reversed":["es.typed-array.to-reversed","esnext.typed-array.to-reversed"],"core-js/full/typed-array/to-sorted":["es.typed-array.sort","es.typed-array.to-sorted","esnext.typed-array.to-sorted"],"core-js/full/typed-array/to-spliced":["esnext.typed-array.to-spliced"],"core-js/full/typed-array/to-string":["es.typed-array.to-string"],"core-js/full/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.map","es.object.to-string","es.promise","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with"],"core-js/full/typed-array/unique-by":["es.map","esnext.typed-array.unique-by"],"core-js/full/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/full/typed-array/with":["es.typed-array.with","esnext.typed-array.with"],"core-js/full/unescape":["es.unescape"],"core-js/full/url":["web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/full/url-search-params":["web.dom-collections.iterator","web.url-search-params","web.url-search-params.size"],"core-js/full/url/can-parse":["web.url","web.url.can-parse"],"core-js/full/url/to-json":["web.url.to-json"],"core-js/full/weak-map":["es.array.iterator","es.object.to-string","es.string.iterator","es.weak-map","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","web.dom-collections.iterator"],"core-js/full/weak-map/delete-all":["es.weak-map","esnext.weak-map.delete-all"],"core-js/full/weak-map/emplace":["es.weak-map","esnext.weak-map.emplace"],"core-js/full/weak-map/from":["es.array.iterator","es.string.iterator","es.weak-map","esnext.weak-map.from","web.dom-collections.iterator"],"core-js/full/weak-map/of":["es.array.iterator","es.weak-map","esnext.weak-map.of"],"core-js/full/weak-map/upsert":["es.weak-map","esnext.weak-map.upsert"],"core-js/full/weak-set":["es.array.iterator","es.object.to-string","es.string.iterator","es.weak-set","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.iterator"],"core-js/full/weak-set/add-all":["es.weak-set","esnext.weak-set.add-all"],"core-js/full/weak-set/delete-all":["es.weak-set","esnext.weak-set.delete-all"],"core-js/full/weak-set/from":["es.array.iterator","es.string.iterator","es.weak-set","esnext.weak-set.from","web.dom-collections.iterator"],"core-js/full/weak-set/of":["es.array.iterator","es.weak-set","esnext.weak-set.of"],"core-js/modules/es.aggregate-error":["es.aggregate-error"],"core-js/modules/es.aggregate-error.cause":["es.aggregate-error.cause"],"core-js/modules/es.aggregate-error.constructor":["es.aggregate-error.constructor"],"core-js/modules/es.array-buffer.constructor":["es.array-buffer.constructor"],"core-js/modules/es.array-buffer.is-view":["es.array-buffer.is-view"],"core-js/modules/es.array-buffer.slice":["es.array-buffer.slice"],"core-js/modules/es.array.at":["es.array.at"],"core-js/modules/es.array.concat":["es.array.concat"],"core-js/modules/es.array.copy-within":["es.array.copy-within"],"core-js/modules/es.array.every":["es.array.every"],"core-js/modules/es.array.fill":["es.array.fill"],"core-js/modules/es.array.filter":["es.array.filter"],"core-js/modules/es.array.find":["es.array.find"],"core-js/modules/es.array.find-index":["es.array.find-index"],"core-js/modules/es.array.find-last":["es.array.find-last"],"core-js/modules/es.array.find-last-index":["es.array.find-last-index"],"core-js/modules/es.array.flat":["es.array.flat"],"core-js/modules/es.array.flat-map":["es.array.flat-map"],"core-js/modules/es.array.for-each":["es.array.for-each"],"core-js/modules/es.array.from":["es.array.from"],"core-js/modules/es.array.includes":["es.array.includes"],"core-js/modules/es.array.index-of":["es.array.index-of"],"core-js/modules/es.array.is-array":["es.array.is-array"],"core-js/modules/es.array.iterator":["es.array.iterator"],"core-js/modules/es.array.join":["es.array.join"],"core-js/modules/es.array.last-index-of":["es.array.last-index-of"],"core-js/modules/es.array.map":["es.array.map"],"core-js/modules/es.array.of":["es.array.of"],"core-js/modules/es.array.push":["es.array.push"],"core-js/modules/es.array.reduce":["es.array.reduce"],"core-js/modules/es.array.reduce-right":["es.array.reduce-right"],"core-js/modules/es.array.reverse":["es.array.reverse"],"core-js/modules/es.array.slice":["es.array.slice"],"core-js/modules/es.array.some":["es.array.some"],"core-js/modules/es.array.sort":["es.array.sort"],"core-js/modules/es.array.species":["es.array.species"],"core-js/modules/es.array.splice":["es.array.splice"],"core-js/modules/es.array.to-reversed":["es.array.to-reversed"],"core-js/modules/es.array.to-sorted":["es.array.to-sorted"],"core-js/modules/es.array.to-spliced":["es.array.to-spliced"],"core-js/modules/es.array.unscopables.flat":["es.array.unscopables.flat"],"core-js/modules/es.array.unscopables.flat-map":["es.array.unscopables.flat-map"],"core-js/modules/es.array.unshift":["es.array.unshift"],"core-js/modules/es.array.with":["es.array.with"],"core-js/modules/es.data-view":["es.data-view"],"core-js/modules/es.data-view.constructor":["es.data-view.constructor"],"core-js/modules/es.date.get-year":["es.date.get-year"],"core-js/modules/es.date.now":["es.date.now"],"core-js/modules/es.date.set-year":["es.date.set-year"],"core-js/modules/es.date.to-gmt-string":["es.date.to-gmt-string"],"core-js/modules/es.date.to-iso-string":["es.date.to-iso-string"],"core-js/modules/es.date.to-json":["es.date.to-json"],"core-js/modules/es.date.to-primitive":["es.date.to-primitive"],"core-js/modules/es.date.to-string":["es.date.to-string"],"core-js/modules/es.error.cause":["es.error.cause"],"core-js/modules/es.error.to-string":["es.error.to-string"],"core-js/modules/es.escape":["es.escape"],"core-js/modules/es.function.bind":["es.function.bind"],"core-js/modules/es.function.has-instance":["es.function.has-instance"],"core-js/modules/es.function.name":["es.function.name"],"core-js/modules/es.global-this":["es.global-this"],"core-js/modules/es.json.stringify":["es.json.stringify"],"core-js/modules/es.json.to-string-tag":["es.json.to-string-tag"],"core-js/modules/es.map":["es.map"],"core-js/modules/es.map.constructor":["es.map.constructor"],"core-js/modules/es.math.acosh":["es.math.acosh"],"core-js/modules/es.math.asinh":["es.math.asinh"],"core-js/modules/es.math.atanh":["es.math.atanh"],"core-js/modules/es.math.cbrt":["es.math.cbrt"],"core-js/modules/es.math.clz32":["es.math.clz32"],"core-js/modules/es.math.cosh":["es.math.cosh"],"core-js/modules/es.math.expm1":["es.math.expm1"],"core-js/modules/es.math.fround":["es.math.fround"],"core-js/modules/es.math.hypot":["es.math.hypot"],"core-js/modules/es.math.imul":["es.math.imul"],"core-js/modules/es.math.log10":["es.math.log10"],"core-js/modules/es.math.log1p":["es.math.log1p"],"core-js/modules/es.math.log2":["es.math.log2"],"core-js/modules/es.math.sign":["es.math.sign"],"core-js/modules/es.math.sinh":["es.math.sinh"],"core-js/modules/es.math.tanh":["es.math.tanh"],"core-js/modules/es.math.to-string-tag":["es.math.to-string-tag"],"core-js/modules/es.math.trunc":["es.math.trunc"],"core-js/modules/es.number.constructor":["es.number.constructor"],"core-js/modules/es.number.epsilon":["es.number.epsilon"],"core-js/modules/es.number.is-finite":["es.number.is-finite"],"core-js/modules/es.number.is-integer":["es.number.is-integer"],"core-js/modules/es.number.is-nan":["es.number.is-nan"],"core-js/modules/es.number.is-safe-integer":["es.number.is-safe-integer"],"core-js/modules/es.number.max-safe-integer":["es.number.max-safe-integer"],"core-js/modules/es.number.min-safe-integer":["es.number.min-safe-integer"],"core-js/modules/es.number.parse-float":["es.number.parse-float"],"core-js/modules/es.number.parse-int":["es.number.parse-int"],"core-js/modules/es.number.to-exponential":["es.number.to-exponential"],"core-js/modules/es.number.to-fixed":["es.number.to-fixed"],"core-js/modules/es.number.to-precision":["es.number.to-precision"],"core-js/modules/es.object.assign":["es.object.assign"],"core-js/modules/es.object.create":["es.object.create"],"core-js/modules/es.object.define-getter":["es.object.define-getter"],"core-js/modules/es.object.define-properties":["es.object.define-properties"],"core-js/modules/es.object.define-property":["es.object.define-property"],"core-js/modules/es.object.define-setter":["es.object.define-setter"],"core-js/modules/es.object.entries":["es.object.entries"],"core-js/modules/es.object.freeze":["es.object.freeze"],"core-js/modules/es.object.from-entries":["es.object.from-entries"],"core-js/modules/es.object.get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/modules/es.object.get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/modules/es.object.get-own-property-names":["es.object.get-own-property-names"],"core-js/modules/es.object.get-own-property-symbols":["es.object.get-own-property-symbols"],"core-js/modules/es.object.get-prototype-of":["es.object.get-prototype-of"],"core-js/modules/es.object.has-own":["es.object.has-own"],"core-js/modules/es.object.is":["es.object.is"],"core-js/modules/es.object.is-extensible":["es.object.is-extensible"],"core-js/modules/es.object.is-frozen":["es.object.is-frozen"],"core-js/modules/es.object.is-sealed":["es.object.is-sealed"],"core-js/modules/es.object.keys":["es.object.keys"],"core-js/modules/es.object.lookup-getter":["es.object.lookup-getter"],"core-js/modules/es.object.lookup-setter":["es.object.lookup-setter"],"core-js/modules/es.object.prevent-extensions":["es.object.prevent-extensions"],"core-js/modules/es.object.proto":["es.object.proto"],"core-js/modules/es.object.seal":["es.object.seal"],"core-js/modules/es.object.set-prototype-of":["es.object.set-prototype-of"],"core-js/modules/es.object.to-string":["es.object.to-string"],"core-js/modules/es.object.values":["es.object.values"],"core-js/modules/es.parse-float":["es.parse-float"],"core-js/modules/es.parse-int":["es.parse-int"],"core-js/modules/es.promise":["es.promise"],"core-js/modules/es.promise.all":["es.promise.all"],"core-js/modules/es.promise.all-settled":["es.promise.all-settled"],"core-js/modules/es.promise.any":["es.promise.any"],"core-js/modules/es.promise.catch":["es.promise.catch"],"core-js/modules/es.promise.constructor":["es.promise.constructor"],"core-js/modules/es.promise.finally":["es.promise.finally"],"core-js/modules/es.promise.race":["es.promise.race"],"core-js/modules/es.promise.reject":["es.promise.reject"],"core-js/modules/es.promise.resolve":["es.promise.resolve"],"core-js/modules/es.reflect.apply":["es.reflect.apply"],"core-js/modules/es.reflect.construct":["es.reflect.construct"],"core-js/modules/es.reflect.define-property":["es.reflect.define-property"],"core-js/modules/es.reflect.delete-property":["es.reflect.delete-property"],"core-js/modules/es.reflect.get":["es.reflect.get"],"core-js/modules/es.reflect.get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/modules/es.reflect.get-prototype-of":["es.reflect.get-prototype-of"],"core-js/modules/es.reflect.has":["es.reflect.has"],"core-js/modules/es.reflect.is-extensible":["es.reflect.is-extensible"],"core-js/modules/es.reflect.own-keys":["es.reflect.own-keys"],"core-js/modules/es.reflect.prevent-extensions":["es.reflect.prevent-extensions"],"core-js/modules/es.reflect.set":["es.reflect.set"],"core-js/modules/es.reflect.set-prototype-of":["es.reflect.set-prototype-of"],"core-js/modules/es.reflect.to-string-tag":["es.reflect.to-string-tag"],"core-js/modules/es.regexp.constructor":["es.regexp.constructor"],"core-js/modules/es.regexp.dot-all":["es.regexp.dot-all"],"core-js/modules/es.regexp.exec":["es.regexp.exec"],"core-js/modules/es.regexp.flags":["es.regexp.flags"],"core-js/modules/es.regexp.sticky":["es.regexp.sticky"],"core-js/modules/es.regexp.test":["es.regexp.test"],"core-js/modules/es.regexp.to-string":["es.regexp.to-string"],"core-js/modules/es.set":["es.set"],"core-js/modules/es.set.constructor":["es.set.constructor"],"core-js/modules/es.string.anchor":["es.string.anchor"],"core-js/modules/es.string.at-alternative":["es.string.at-alternative"],"core-js/modules/es.string.big":["es.string.big"],"core-js/modules/es.string.blink":["es.string.blink"],"core-js/modules/es.string.bold":["es.string.bold"],"core-js/modules/es.string.code-point-at":["es.string.code-point-at"],"core-js/modules/es.string.ends-with":["es.string.ends-with"],"core-js/modules/es.string.fixed":["es.string.fixed"],"core-js/modules/es.string.fontcolor":["es.string.fontcolor"],"core-js/modules/es.string.fontsize":["es.string.fontsize"],"core-js/modules/es.string.from-code-point":["es.string.from-code-point"],"core-js/modules/es.string.includes":["es.string.includes"],"core-js/modules/es.string.italics":["es.string.italics"],"core-js/modules/es.string.iterator":["es.string.iterator"],"core-js/modules/es.string.link":["es.string.link"],"core-js/modules/es.string.match":["es.string.match"],"core-js/modules/es.string.match-all":["es.string.match-all"],"core-js/modules/es.string.pad-end":["es.string.pad-end"],"core-js/modules/es.string.pad-start":["es.string.pad-start"],"core-js/modules/es.string.raw":["es.string.raw"],"core-js/modules/es.string.repeat":["es.string.repeat"],"core-js/modules/es.string.replace":["es.string.replace"],"core-js/modules/es.string.replace-all":["es.string.replace-all"],"core-js/modules/es.string.search":["es.string.search"],"core-js/modules/es.string.small":["es.string.small"],"core-js/modules/es.string.split":["es.string.split"],"core-js/modules/es.string.starts-with":["es.string.starts-with"],"core-js/modules/es.string.strike":["es.string.strike"],"core-js/modules/es.string.sub":["es.string.sub"],"core-js/modules/es.string.substr":["es.string.substr"],"core-js/modules/es.string.sup":["es.string.sup"],"core-js/modules/es.string.trim":["es.string.trim"],"core-js/modules/es.string.trim-end":["es.string.trim-end"],"core-js/modules/es.string.trim-left":["es.string.trim-left"],"core-js/modules/es.string.trim-right":["es.string.trim-right"],"core-js/modules/es.string.trim-start":["es.string.trim-start"],"core-js/modules/es.symbol":["es.symbol"],"core-js/modules/es.symbol.async-iterator":["es.symbol.async-iterator"],"core-js/modules/es.symbol.constructor":["es.symbol.constructor"],"core-js/modules/es.symbol.description":["es.symbol.description"],"core-js/modules/es.symbol.for":["es.symbol.for"],"core-js/modules/es.symbol.has-instance":["es.symbol.has-instance"],"core-js/modules/es.symbol.is-concat-spreadable":["es.symbol.is-concat-spreadable"],"core-js/modules/es.symbol.iterator":["es.symbol.iterator"],"core-js/modules/es.symbol.key-for":["es.symbol.key-for"],"core-js/modules/es.symbol.match":["es.symbol.match"],"core-js/modules/es.symbol.match-all":["es.symbol.match-all"],"core-js/modules/es.symbol.replace":["es.symbol.replace"],"core-js/modules/es.symbol.search":["es.symbol.search"],"core-js/modules/es.symbol.species":["es.symbol.species"],"core-js/modules/es.symbol.split":["es.symbol.split"],"core-js/modules/es.symbol.to-primitive":["es.symbol.to-primitive"],"core-js/modules/es.symbol.to-string-tag":["es.symbol.to-string-tag"],"core-js/modules/es.symbol.unscopables":["es.symbol.unscopables"],"core-js/modules/es.typed-array.at":["es.typed-array.at"],"core-js/modules/es.typed-array.copy-within":["es.typed-array.copy-within"],"core-js/modules/es.typed-array.every":["es.typed-array.every"],"core-js/modules/es.typed-array.fill":["es.typed-array.fill"],"core-js/modules/es.typed-array.filter":["es.typed-array.filter"],"core-js/modules/es.typed-array.find":["es.typed-array.find"],"core-js/modules/es.typed-array.find-index":["es.typed-array.find-index"],"core-js/modules/es.typed-array.find-last":["es.typed-array.find-last"],"core-js/modules/es.typed-array.find-last-index":["es.typed-array.find-last-index"],"core-js/modules/es.typed-array.float32-array":["es.typed-array.float32-array"],"core-js/modules/es.typed-array.float64-array":["es.typed-array.float64-array"],"core-js/modules/es.typed-array.for-each":["es.typed-array.for-each"],"core-js/modules/es.typed-array.from":["es.typed-array.from"],"core-js/modules/es.typed-array.includes":["es.typed-array.includes"],"core-js/modules/es.typed-array.index-of":["es.typed-array.index-of"],"core-js/modules/es.typed-array.int16-array":["es.typed-array.int16-array"],"core-js/modules/es.typed-array.int32-array":["es.typed-array.int32-array"],"core-js/modules/es.typed-array.int8-array":["es.typed-array.int8-array"],"core-js/modules/es.typed-array.iterator":["es.typed-array.iterator"],"core-js/modules/es.typed-array.join":["es.typed-array.join"],"core-js/modules/es.typed-array.last-index-of":["es.typed-array.last-index-of"],"core-js/modules/es.typed-array.map":["es.typed-array.map"],"core-js/modules/es.typed-array.of":["es.typed-array.of"],"core-js/modules/es.typed-array.reduce":["es.typed-array.reduce"],"core-js/modules/es.typed-array.reduce-right":["es.typed-array.reduce-right"],"core-js/modules/es.typed-array.reverse":["es.typed-array.reverse"],"core-js/modules/es.typed-array.set":["es.typed-array.set"],"core-js/modules/es.typed-array.slice":["es.typed-array.slice"],"core-js/modules/es.typed-array.some":["es.typed-array.some"],"core-js/modules/es.typed-array.sort":["es.typed-array.sort"],"core-js/modules/es.typed-array.subarray":["es.typed-array.subarray"],"core-js/modules/es.typed-array.to-locale-string":["es.typed-array.to-locale-string"],"core-js/modules/es.typed-array.to-reversed":["es.typed-array.to-reversed"],"core-js/modules/es.typed-array.to-sorted":["es.typed-array.to-sorted"],"core-js/modules/es.typed-array.to-string":["es.typed-array.to-string"],"core-js/modules/es.typed-array.uint16-array":["es.typed-array.uint16-array"],"core-js/modules/es.typed-array.uint32-array":["es.typed-array.uint32-array"],"core-js/modules/es.typed-array.uint8-array":["es.typed-array.uint8-array"],"core-js/modules/es.typed-array.uint8-clamped-array":["es.typed-array.uint8-clamped-array"],"core-js/modules/es.typed-array.with":["es.typed-array.with"],"core-js/modules/es.unescape":["es.unescape"],"core-js/modules/es.weak-map":["es.weak-map"],"core-js/modules/es.weak-map.constructor":["es.weak-map.constructor"],"core-js/modules/es.weak-set":["es.weak-set"],"core-js/modules/es.weak-set.constructor":["es.weak-set.constructor"],"core-js/modules/esnext.aggregate-error":["esnext.aggregate-error"],"core-js/modules/esnext.array-buffer.detached":["esnext.array-buffer.detached"],"core-js/modules/esnext.array-buffer.transfer":["esnext.array-buffer.transfer"],"core-js/modules/esnext.array-buffer.transfer-to-fixed-length":["esnext.array-buffer.transfer-to-fixed-length"],"core-js/modules/esnext.array.at":["esnext.array.at"],"core-js/modules/esnext.array.filter-out":["esnext.array.filter-out"],"core-js/modules/esnext.array.filter-reject":["esnext.array.filter-reject"],"core-js/modules/esnext.array.find-last":["esnext.array.find-last"],"core-js/modules/esnext.array.find-last-index":["esnext.array.find-last-index"],"core-js/modules/esnext.array.from-async":["esnext.array.from-async"],"core-js/modules/esnext.array.group":["esnext.array.group"],"core-js/modules/esnext.array.group-by":["esnext.array.group-by"],"core-js/modules/esnext.array.group-by-to-map":["esnext.array.group-by-to-map"],"core-js/modules/esnext.array.group-to-map":["esnext.array.group-to-map"],"core-js/modules/esnext.array.is-template-object":["esnext.array.is-template-object"],"core-js/modules/esnext.array.last-index":["esnext.array.last-index"],"core-js/modules/esnext.array.last-item":["esnext.array.last-item"],"core-js/modules/esnext.array.to-reversed":["esnext.array.to-reversed"],"core-js/modules/esnext.array.to-sorted":["esnext.array.to-sorted"],"core-js/modules/esnext.array.to-spliced":["esnext.array.to-spliced"],"core-js/modules/esnext.array.unique-by":["esnext.array.unique-by"],"core-js/modules/esnext.array.with":["esnext.array.with"],"core-js/modules/esnext.async-disposable-stack.constructor":["esnext.async-disposable-stack.constructor"],"core-js/modules/esnext.async-iterator.as-indexed-pairs":["esnext.async-iterator.as-indexed-pairs"],"core-js/modules/esnext.async-iterator.async-dispose":["esnext.async-iterator.async-dispose"],"core-js/modules/esnext.async-iterator.constructor":["esnext.async-iterator.constructor"],"core-js/modules/esnext.async-iterator.drop":["esnext.async-iterator.drop"],"core-js/modules/esnext.async-iterator.every":["esnext.async-iterator.every"],"core-js/modules/esnext.async-iterator.filter":["esnext.async-iterator.filter"],"core-js/modules/esnext.async-iterator.find":["esnext.async-iterator.find"],"core-js/modules/esnext.async-iterator.flat-map":["esnext.async-iterator.flat-map"],"core-js/modules/esnext.async-iterator.for-each":["esnext.async-iterator.for-each"],"core-js/modules/esnext.async-iterator.from":["esnext.async-iterator.from"],"core-js/modules/esnext.async-iterator.indexed":["esnext.async-iterator.indexed"],"core-js/modules/esnext.async-iterator.map":["esnext.async-iterator.map"],"core-js/modules/esnext.async-iterator.reduce":["esnext.async-iterator.reduce"],"core-js/modules/esnext.async-iterator.some":["esnext.async-iterator.some"],"core-js/modules/esnext.async-iterator.take":["esnext.async-iterator.take"],"core-js/modules/esnext.async-iterator.to-array":["esnext.async-iterator.to-array"],"core-js/modules/esnext.bigint.range":["esnext.bigint.range"],"core-js/modules/esnext.composite-key":["esnext.composite-key"],"core-js/modules/esnext.composite-symbol":["esnext.composite-symbol"],"core-js/modules/esnext.disposable-stack.constructor":["esnext.disposable-stack.constructor"],"core-js/modules/esnext.function.demethodize":["esnext.function.demethodize"],"core-js/modules/esnext.function.is-callable":["esnext.function.is-callable"],"core-js/modules/esnext.function.is-constructor":["esnext.function.is-constructor"],"core-js/modules/esnext.function.un-this":["esnext.function.un-this"],"core-js/modules/esnext.global-this":["esnext.global-this"],"core-js/modules/esnext.iterator.as-indexed-pairs":["esnext.iterator.as-indexed-pairs"],"core-js/modules/esnext.iterator.constructor":["esnext.iterator.constructor"],"core-js/modules/esnext.iterator.dispose":["esnext.iterator.dispose"],"core-js/modules/esnext.iterator.drop":["esnext.iterator.drop"],"core-js/modules/esnext.iterator.every":["esnext.iterator.every"],"core-js/modules/esnext.iterator.filter":["esnext.iterator.filter"],"core-js/modules/esnext.iterator.find":["esnext.iterator.find"],"core-js/modules/esnext.iterator.flat-map":["esnext.iterator.flat-map"],"core-js/modules/esnext.iterator.for-each":["esnext.iterator.for-each"],"core-js/modules/esnext.iterator.from":["esnext.iterator.from"],"core-js/modules/esnext.iterator.indexed":["esnext.iterator.indexed"],"core-js/modules/esnext.iterator.map":["esnext.iterator.map"],"core-js/modules/esnext.iterator.range":["esnext.iterator.range"],"core-js/modules/esnext.iterator.reduce":["esnext.iterator.reduce"],"core-js/modules/esnext.iterator.some":["esnext.iterator.some"],"core-js/modules/esnext.iterator.take":["esnext.iterator.take"],"core-js/modules/esnext.iterator.to-array":["esnext.iterator.to-array"],"core-js/modules/esnext.iterator.to-async":["esnext.iterator.to-async"],"core-js/modules/esnext.json.is-raw-json":["esnext.json.is-raw-json"],"core-js/modules/esnext.json.parse":["esnext.json.parse"],"core-js/modules/esnext.json.raw-json":["esnext.json.raw-json"],"core-js/modules/esnext.map.delete-all":["esnext.map.delete-all"],"core-js/modules/esnext.map.emplace":["esnext.map.emplace"],"core-js/modules/esnext.map.every":["esnext.map.every"],"core-js/modules/esnext.map.filter":["esnext.map.filter"],"core-js/modules/esnext.map.find":["esnext.map.find"],"core-js/modules/esnext.map.find-key":["esnext.map.find-key"],"core-js/modules/esnext.map.from":["esnext.map.from"],"core-js/modules/esnext.map.group-by":["esnext.map.group-by"],"core-js/modules/esnext.map.includes":["esnext.map.includes"],"core-js/modules/esnext.map.key-by":["esnext.map.key-by"],"core-js/modules/esnext.map.key-of":["esnext.map.key-of"],"core-js/modules/esnext.map.map-keys":["esnext.map.map-keys"],"core-js/modules/esnext.map.map-values":["esnext.map.map-values"],"core-js/modules/esnext.map.merge":["esnext.map.merge"],"core-js/modules/esnext.map.of":["esnext.map.of"],"core-js/modules/esnext.map.reduce":["esnext.map.reduce"],"core-js/modules/esnext.map.some":["esnext.map.some"],"core-js/modules/esnext.map.update":["esnext.map.update"],"core-js/modules/esnext.map.update-or-insert":["esnext.map.update-or-insert"],"core-js/modules/esnext.map.upsert":["esnext.map.upsert"],"core-js/modules/esnext.math.clamp":["esnext.math.clamp"],"core-js/modules/esnext.math.deg-per-rad":["esnext.math.deg-per-rad"],"core-js/modules/esnext.math.degrees":["esnext.math.degrees"],"core-js/modules/esnext.math.fscale":["esnext.math.fscale"],"core-js/modules/esnext.math.iaddh":["esnext.math.iaddh"],"core-js/modules/esnext.math.imulh":["esnext.math.imulh"],"core-js/modules/esnext.math.isubh":["esnext.math.isubh"],"core-js/modules/esnext.math.rad-per-deg":["esnext.math.rad-per-deg"],"core-js/modules/esnext.math.radians":["esnext.math.radians"],"core-js/modules/esnext.math.scale":["esnext.math.scale"],"core-js/modules/esnext.math.seeded-prng":["esnext.math.seeded-prng"],"core-js/modules/esnext.math.signbit":["esnext.math.signbit"],"core-js/modules/esnext.math.umulh":["esnext.math.umulh"],"core-js/modules/esnext.number.from-string":["esnext.number.from-string"],"core-js/modules/esnext.number.range":["esnext.number.range"],"core-js/modules/esnext.object.has-own":["esnext.object.has-own"],"core-js/modules/esnext.object.iterate-entries":["esnext.object.iterate-entries"],"core-js/modules/esnext.object.iterate-keys":["esnext.object.iterate-keys"],"core-js/modules/esnext.object.iterate-values":["esnext.object.iterate-values"],"core-js/modules/esnext.observable":["esnext.observable"],"core-js/modules/esnext.observable.constructor":["esnext.observable.constructor"],"core-js/modules/esnext.observable.from":["esnext.observable.from"],"core-js/modules/esnext.observable.of":["esnext.observable.of"],"core-js/modules/esnext.promise.all-settled":["esnext.promise.all-settled"],"core-js/modules/esnext.promise.any":["esnext.promise.any"],"core-js/modules/esnext.promise.try":["esnext.promise.try"],"core-js/modules/esnext.reflect.define-metadata":["esnext.reflect.define-metadata"],"core-js/modules/esnext.reflect.delete-metadata":["esnext.reflect.delete-metadata"],"core-js/modules/esnext.reflect.get-metadata":["esnext.reflect.get-metadata"],"core-js/modules/esnext.reflect.get-metadata-keys":["esnext.reflect.get-metadata-keys"],"core-js/modules/esnext.reflect.get-own-metadata":["esnext.reflect.get-own-metadata"],"core-js/modules/esnext.reflect.get-own-metadata-keys":["esnext.reflect.get-own-metadata-keys"],"core-js/modules/esnext.reflect.has-metadata":["esnext.reflect.has-metadata"],"core-js/modules/esnext.reflect.has-own-metadata":["esnext.reflect.has-own-metadata"],"core-js/modules/esnext.reflect.metadata":["esnext.reflect.metadata"],"core-js/modules/esnext.set.add-all":["esnext.set.add-all"],"core-js/modules/esnext.set.delete-all":["esnext.set.delete-all"],"core-js/modules/esnext.set.difference":["esnext.set.difference"],"core-js/modules/esnext.set.difference.v2":["esnext.set.difference.v2"],"core-js/modules/esnext.set.every":["esnext.set.every"],"core-js/modules/esnext.set.filter":["esnext.set.filter"],"core-js/modules/esnext.set.find":["esnext.set.find"],"core-js/modules/esnext.set.from":["esnext.set.from"],"core-js/modules/esnext.set.intersection":["esnext.set.intersection"],"core-js/modules/esnext.set.intersection.v2":["esnext.set.intersection.v2"],"core-js/modules/esnext.set.is-disjoint-from":["esnext.set.is-disjoint-from"],"core-js/modules/esnext.set.is-disjoint-from.v2":["esnext.set.is-disjoint-from.v2"],"core-js/modules/esnext.set.is-subset-of":["esnext.set.is-subset-of"],"core-js/modules/esnext.set.is-subset-of.v2":["esnext.set.is-subset-of.v2"],"core-js/modules/esnext.set.is-superset-of":["esnext.set.is-superset-of"],"core-js/modules/esnext.set.is-superset-of.v2":["esnext.set.is-superset-of.v2"],"core-js/modules/esnext.set.join":["esnext.set.join"],"core-js/modules/esnext.set.map":["esnext.set.map"],"core-js/modules/esnext.set.of":["esnext.set.of"],"core-js/modules/esnext.set.reduce":["esnext.set.reduce"],"core-js/modules/esnext.set.some":["esnext.set.some"],"core-js/modules/esnext.set.symmetric-difference":["esnext.set.symmetric-difference"],"core-js/modules/esnext.set.symmetric-difference.v2":["esnext.set.symmetric-difference.v2"],"core-js/modules/esnext.set.union":["esnext.set.union"],"core-js/modules/esnext.set.union.v2":["esnext.set.union.v2"],"core-js/modules/esnext.string.at":["esnext.string.at"],"core-js/modules/esnext.string.at-alternative":["esnext.string.at-alternative"],"core-js/modules/esnext.string.code-points":["esnext.string.code-points"],"core-js/modules/esnext.string.cooked":["esnext.string.cooked"],"core-js/modules/esnext.string.dedent":["esnext.string.dedent"],"core-js/modules/esnext.string.is-well-formed":["esnext.string.is-well-formed"],"core-js/modules/esnext.string.match-all":["esnext.string.match-all"],"core-js/modules/esnext.string.replace-all":["esnext.string.replace-all"],"core-js/modules/esnext.string.to-well-formed":["esnext.string.to-well-formed"],"core-js/modules/esnext.suppressed-error.constructor":["esnext.suppressed-error.constructor"],"core-js/modules/esnext.symbol.async-dispose":["esnext.symbol.async-dispose"],"core-js/modules/esnext.symbol.dispose":["esnext.symbol.dispose"],"core-js/modules/esnext.symbol.is-registered":["esnext.symbol.is-registered"],"core-js/modules/esnext.symbol.is-well-known":["esnext.symbol.is-well-known"],"core-js/modules/esnext.symbol.matcher":["esnext.symbol.matcher"],"core-js/modules/esnext.symbol.metadata":["esnext.symbol.metadata"],"core-js/modules/esnext.symbol.metadata-key":["esnext.symbol.metadata-key"],"core-js/modules/esnext.symbol.observable":["esnext.symbol.observable"],"core-js/modules/esnext.symbol.pattern-match":["esnext.symbol.pattern-match"],"core-js/modules/esnext.symbol.replace-all":["esnext.symbol.replace-all"],"core-js/modules/esnext.typed-array.at":["esnext.typed-array.at"],"core-js/modules/esnext.typed-array.filter-out":["esnext.typed-array.filter-out"],"core-js/modules/esnext.typed-array.filter-reject":["esnext.typed-array.filter-reject"],"core-js/modules/esnext.typed-array.find-last":["esnext.typed-array.find-last"],"core-js/modules/esnext.typed-array.find-last-index":["esnext.typed-array.find-last-index"],"core-js/modules/esnext.typed-array.from-async":["esnext.typed-array.from-async"],"core-js/modules/esnext.typed-array.group-by":["esnext.typed-array.group-by"],"core-js/modules/esnext.typed-array.to-reversed":["esnext.typed-array.to-reversed"],"core-js/modules/esnext.typed-array.to-sorted":["esnext.typed-array.to-sorted"],"core-js/modules/esnext.typed-array.to-spliced":["esnext.typed-array.to-spliced"],"core-js/modules/esnext.typed-array.unique-by":["esnext.typed-array.unique-by"],"core-js/modules/esnext.typed-array.with":["esnext.typed-array.with"],"core-js/modules/esnext.weak-map.delete-all":["esnext.weak-map.delete-all"],"core-js/modules/esnext.weak-map.emplace":["esnext.weak-map.emplace"],"core-js/modules/esnext.weak-map.from":["esnext.weak-map.from"],"core-js/modules/esnext.weak-map.of":["esnext.weak-map.of"],"core-js/modules/esnext.weak-map.upsert":["esnext.weak-map.upsert"],"core-js/modules/esnext.weak-set.add-all":["esnext.weak-set.add-all"],"core-js/modules/esnext.weak-set.delete-all":["esnext.weak-set.delete-all"],"core-js/modules/esnext.weak-set.from":["esnext.weak-set.from"],"core-js/modules/esnext.weak-set.of":["esnext.weak-set.of"],"core-js/modules/web.atob":["web.atob"],"core-js/modules/web.btoa":["web.btoa"],"core-js/modules/web.clear-immediate":["web.clear-immediate"],"core-js/modules/web.dom-collections.for-each":["web.dom-collections.for-each"],"core-js/modules/web.dom-collections.iterator":["web.dom-collections.iterator"],"core-js/modules/web.dom-exception.constructor":["web.dom-exception.constructor"],"core-js/modules/web.dom-exception.stack":["web.dom-exception.stack"],"core-js/modules/web.dom-exception.to-string-tag":["web.dom-exception.to-string-tag"],"core-js/modules/web.immediate":["web.immediate"],"core-js/modules/web.queue-microtask":["web.queue-microtask"],"core-js/modules/web.self":["web.self"],"core-js/modules/web.set-immediate":["web.set-immediate"],"core-js/modules/web.set-interval":["web.set-interval"],"core-js/modules/web.set-timeout":["web.set-timeout"],"core-js/modules/web.structured-clone":["web.structured-clone"],"core-js/modules/web.timers":["web.timers"],"core-js/modules/web.url":["web.url"],"core-js/modules/web.url-search-params":["web.url-search-params"],"core-js/modules/web.url-search-params.constructor":["web.url-search-params.constructor"],"core-js/modules/web.url-search-params.size":["web.url-search-params.size"],"core-js/modules/web.url.can-parse":["web.url.can-parse"],"core-js/modules/web.url.constructor":["web.url.constructor"],"core-js/modules/web.url.to-json":["web.url.to-json"],"core-js/proposals":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/proposals/accessible-object-hasownproperty":["esnext.object.has-own"],"core-js/proposals/array-buffer-transfer":["esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length"],"core-js/proposals/array-filtering":["esnext.array.filter-out","esnext.array.filter-reject","esnext.typed-array.filter-out","esnext.typed-array.filter-reject"],"core-js/proposals/array-filtering-stage-1":["esnext.array.filter-reject","esnext.typed-array.filter-reject"],"core-js/proposals/array-find-from-last":["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index"],"core-js/proposals/array-flat-map":["es.array.flat","es.array.flat-map","es.array.unscopables.flat","es.array.unscopables.flat-map"],"core-js/proposals/array-from-async":["esnext.array.from-async","esnext.typed-array.from-async"],"core-js/proposals/array-from-async-stage-2":["esnext.array.from-async"],"core-js/proposals/array-grouping":["esnext.array.group-by","esnext.array.group-by-to-map","esnext.typed-array.group-by"],"core-js/proposals/array-grouping-stage-3":["esnext.array.group-by","esnext.array.group-by-to-map"],"core-js/proposals/array-grouping-stage-3-2":["esnext.array.group","esnext.array.group-to-map"],"core-js/proposals/array-includes":["es.array.includes","es.typed-array.includes"],"core-js/proposals/array-is-template-object":["esnext.array.is-template-object"],"core-js/proposals/array-last":["esnext.array.last-index","esnext.array.last-item"],"core-js/proposals/array-unique":["es.map","esnext.array.unique-by","esnext.typed-array.unique-by"],"core-js/proposals/async-explicit-resource-management":["esnext.suppressed-error.constructor","esnext.async-disposable-stack.constructor","esnext.async-iterator.async-dispose","esnext.symbol.async-dispose"],"core-js/proposals/async-iteration":["es.symbol.async-iterator"],"core-js/proposals/async-iterator-helpers":["esnext.async-iterator.constructor","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.to-async"],"core-js/proposals/change-array-by-copy":["esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/proposals/change-array-by-copy-stage-4":["esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.with"],"core-js/proposals/collection-methods":["esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.set.add-all","esnext.set.delete-all","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.join","esnext.set.map","esnext.set.reduce","esnext.set.some","esnext.weak-map.delete-all","esnext.weak-set.add-all","esnext.weak-set.delete-all"],"core-js/proposals/collection-of-from":["esnext.map.from","esnext.map.of","esnext.set.from","esnext.set.of","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.from","esnext.weak-set.of"],"core-js/proposals/decorator-metadata":["esnext.symbol.metadata-key"],"core-js/proposals/decorator-metadata-v2":["esnext.symbol.metadata"],"core-js/proposals/decorators":["esnext.symbol.metadata"],"core-js/proposals/efficient-64-bit-arithmetic":["esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.umulh"],"core-js/proposals/error-cause":["es.error.cause","es.aggregate-error.cause"],"core-js/proposals/explicit-resource-management":["esnext.suppressed-error.constructor","esnext.disposable-stack.constructor","esnext.iterator.dispose","esnext.symbol.dispose"],"core-js/proposals/function-demethodize":["esnext.function.demethodize"],"core-js/proposals/function-is-callable-is-constructor":["esnext.function.is-callable","esnext.function.is-constructor"],"core-js/proposals/function-un-this":["esnext.function.un-this"],"core-js/proposals/global-this":["esnext.global-this"],"core-js/proposals/iterator-helpers":["esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async"],"core-js/proposals/iterator-helpers-stage-3":["esnext.async-iterator.constructor","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async"],"core-js/proposals/iterator-helpers-stage-3-2":["esnext.iterator.constructor","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array"],"core-js/proposals/iterator-range":["esnext.iterator.constructor","esnext.iterator.range"],"core-js/proposals/json-parse-with-source":["esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json"],"core-js/proposals/keys-composition":["esnext.composite-key","esnext.composite-symbol"],"core-js/proposals/map-update-or-insert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/map-upsert":["esnext.map.emplace","esnext.map.update-or-insert","esnext.map.upsert","esnext.weak-map.emplace","esnext.weak-map.upsert"],"core-js/proposals/map-upsert-stage-2":["esnext.map.emplace","esnext.weak-map.emplace"],"core-js/proposals/math-extensions":["esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale"],"core-js/proposals/math-signbit":["esnext.math.signbit"],"core-js/proposals/number-from-string":["esnext.number.from-string"],"core-js/proposals/number-range":["esnext.bigint.range","esnext.number.range"],"core-js/proposals/object-from-entries":["es.object.from-entries"],"core-js/proposals/object-getownpropertydescriptors":["es.object.get-own-property-descriptors"],"core-js/proposals/object-iteration":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"core-js/proposals/object-values-entries":["es.object.entries","es.object.values"],"core-js/proposals/observable":["esnext.observable","esnext.symbol.observable"],"core-js/proposals/pattern-matching":["esnext.symbol.matcher","esnext.symbol.pattern-match"],"core-js/proposals/promise-all-settled":["esnext.promise.all-settled"],"core-js/proposals/promise-any":["esnext.aggregate-error","esnext.promise.any"],"core-js/proposals/promise-finally":["es.promise.finally"],"core-js/proposals/promise-try":["esnext.promise.try"],"core-js/proposals/reflect-metadata":["esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata"],"core-js/proposals/regexp-dotall-flag":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags"],"core-js/proposals/regexp-named-groups":["es.regexp.constructor","es.regexp.exec","es.string.replace"],"core-js/proposals/relative-indexing-method":["es.string.at-alternative","esnext.array.at","esnext.typed-array.at"],"core-js/proposals/seeded-random":["esnext.math.seeded-prng"],"core-js/proposals/set-methods":["esnext.set.difference.v2","esnext.set.difference","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union"],"core-js/proposals/set-methods-v2":["esnext.set.difference.v2","esnext.set.intersection.v2","esnext.set.is-disjoint-from.v2","esnext.set.is-subset-of.v2","esnext.set.is-superset-of.v2","esnext.set.symmetric-difference.v2","esnext.set.union.v2"],"core-js/proposals/string-at":["esnext.string.at"],"core-js/proposals/string-code-points":["esnext.string.code-points"],"core-js/proposals/string-cooked":["esnext.string.cooked"],"core-js/proposals/string-dedent":["esnext.string.dedent"],"core-js/proposals/string-left-right-trim":["es.string.trim-end","es.string.trim-start"],"core-js/proposals/string-match-all":["esnext.string.match-all"],"core-js/proposals/string-padding":["es.string.pad-end","es.string.pad-start"],"core-js/proposals/string-replace-all":["esnext.string.replace-all","esnext.symbol.replace-all"],"core-js/proposals/string-replace-all-stage-4":["esnext.string.replace-all"],"core-js/proposals/symbol-description":["es.symbol.description"],"core-js/proposals/symbol-predicates":["esnext.symbol.is-registered","esnext.symbol.is-well-known"],"core-js/proposals/url":["web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/proposals/using-statement":["esnext.symbol.async-dispose","esnext.symbol.dispose"],"core-js/proposals/well-formed-stringify":["es.json.stringify"],"core-js/proposals/well-formed-unicode-strings":["esnext.string.is-well-formed","esnext.string.to-well-formed"],"core-js/stable":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.unescape","es.weak-map","es.weak-set","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.self","web.structured-clone","web.timers","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/stable/aggregate-error":["es.error.cause","es.aggregate-error","es.aggregate-error.cause","es.array.iterator","es.string.iterator","esnext.aggregate-error","web.dom-collections.iterator"],"core-js/stable/array":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.object.to-string","es.string.iterator"],"core-js/stable/array-buffer":["es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.object.to-string"],"core-js/stable/array-buffer/constructor":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string"],"core-js/stable/array-buffer/is-view":["es.array-buffer.is-view"],"core-js/stable/array-buffer/slice":["es.array-buffer.slice"],"core-js/stable/array/at":["es.array.at"],"core-js/stable/array/concat":["es.array.concat"],"core-js/stable/array/copy-within":["es.array.copy-within"],"core-js/stable/array/entries":["es.array.iterator","es.object.to-string"],"core-js/stable/array/every":["es.array.every"],"core-js/stable/array/fill":["es.array.fill"],"core-js/stable/array/filter":["es.array.filter"],"core-js/stable/array/find":["es.array.find"],"core-js/stable/array/find-index":["es.array.find-index"],"core-js/stable/array/find-last":["es.array.find-last"],"core-js/stable/array/find-last-index":["es.array.find-last-index"],"core-js/stable/array/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/for-each":["es.array.for-each"],"core-js/stable/array/from":["es.array.from","es.string.iterator"],"core-js/stable/array/includes":["es.array.includes"],"core-js/stable/array/index-of":["es.array.index-of"],"core-js/stable/array/is-array":["es.array.is-array"],"core-js/stable/array/iterator":["es.array.iterator","es.object.to-string"],"core-js/stable/array/join":["es.array.join"],"core-js/stable/array/keys":["es.array.iterator","es.object.to-string"],"core-js/stable/array/last-index-of":["es.array.last-index-of"],"core-js/stable/array/map":["es.array.map"],"core-js/stable/array/of":["es.array.of"],"core-js/stable/array/push":["es.array.push"],"core-js/stable/array/reduce":["es.array.reduce"],"core-js/stable/array/reduce-right":["es.array.reduce-right"],"core-js/stable/array/reverse":["es.array.reverse"],"core-js/stable/array/slice":["es.array.slice"],"core-js/stable/array/some":["es.array.some"],"core-js/stable/array/sort":["es.array.sort"],"core-js/stable/array/splice":["es.array.splice"],"core-js/stable/array/to-reversed":["es.array.to-reversed"],"core-js/stable/array/to-sorted":["es.array.sort","es.array.to-sorted"],"core-js/stable/array/to-spliced":["es.array.to-spliced"],"core-js/stable/array/unshift":["es.array.unshift"],"core-js/stable/array/values":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual":["es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.includes","es.array.index-of","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.object.to-string"],"core-js/stable/array/virtual/at":["es.array.at"],"core-js/stable/array/virtual/concat":["es.array.concat"],"core-js/stable/array/virtual/copy-within":["es.array.copy-within"],"core-js/stable/array/virtual/entries":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual/every":["es.array.every"],"core-js/stable/array/virtual/fill":["es.array.fill"],"core-js/stable/array/virtual/filter":["es.array.filter"],"core-js/stable/array/virtual/find":["es.array.find"],"core-js/stable/array/virtual/find-index":["es.array.find-index"],"core-js/stable/array/virtual/find-last":["es.array.find-last"],"core-js/stable/array/virtual/find-last-index":["es.array.find-last-index"],"core-js/stable/array/virtual/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/array/virtual/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/array/virtual/for-each":["es.array.for-each"],"core-js/stable/array/virtual/includes":["es.array.includes"],"core-js/stable/array/virtual/index-of":["es.array.index-of"],"core-js/stable/array/virtual/iterator":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual/join":["es.array.join"],"core-js/stable/array/virtual/keys":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual/last-index-of":["es.array.last-index-of"],"core-js/stable/array/virtual/map":["es.array.map"],"core-js/stable/array/virtual/push":["es.array.push"],"core-js/stable/array/virtual/reduce":["es.array.reduce"],"core-js/stable/array/virtual/reduce-right":["es.array.reduce-right"],"core-js/stable/array/virtual/reverse":["es.array.reverse"],"core-js/stable/array/virtual/slice":["es.array.slice"],"core-js/stable/array/virtual/some":["es.array.some"],"core-js/stable/array/virtual/sort":["es.array.sort"],"core-js/stable/array/virtual/splice":["es.array.splice"],"core-js/stable/array/virtual/to-reversed":["es.array.to-reversed"],"core-js/stable/array/virtual/to-sorted":["es.array.sort","es.array.to-sorted"],"core-js/stable/array/virtual/to-spliced":["es.array.to-spliced"],"core-js/stable/array/virtual/unshift":["es.array.unshift"],"core-js/stable/array/virtual/values":["es.array.iterator","es.object.to-string"],"core-js/stable/array/virtual/with":["es.array.with"],"core-js/stable/array/with":["es.array.with"],"core-js/stable/atob":["es.error.to-string","es.object.to-string","web.atob","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/stable/btoa":["es.error.to-string","es.object.to-string","web.btoa","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/stable/clear-immediate":["web.immediate"],"core-js/stable/data-view":["es.array-buffer.constructor","es.array-buffer.slice","es.data-view","es.object.to-string"],"core-js/stable/date":["es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string"],"core-js/stable/date/get-year":["es.date.get-year"],"core-js/stable/date/now":["es.date.now"],"core-js/stable/date/set-year":["es.date.set-year"],"core-js/stable/date/to-gmt-string":["es.date.to-gmt-string"],"core-js/stable/date/to-iso-string":["es.date.to-iso-string","es.date.to-json"],"core-js/stable/date/to-json":["es.date.to-json"],"core-js/stable/date/to-primitive":["es.date.to-primitive"],"core-js/stable/date/to-string":["es.date.to-string"],"core-js/stable/dom-collections":["es.array.iterator","es.object.to-string","web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/stable/dom-collections/for-each":["web.dom-collections.for-each"],"core-js/stable/dom-collections/iterator":["es.object.to-string","web.dom-collections.iterator"],"core-js/stable/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/stable/dom-exception/constructor":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack"],"core-js/stable/dom-exception/to-string-tag":["web.dom-exception.to-string-tag"],"core-js/stable/error":["es.error.cause","es.error.to-string"],"core-js/stable/error/constructor":["es.error.cause"],"core-js/stable/error/to-string":["es.error.to-string"],"core-js/stable/escape":["es.escape"],"core-js/stable/function":["es.function.bind","es.function.has-instance","es.function.name"],"core-js/stable/function/bind":["es.function.bind"],"core-js/stable/function/has-instance":["es.function.has-instance"],"core-js/stable/function/name":["es.function.name"],"core-js/stable/function/virtual":["es.function.bind"],"core-js/stable/function/virtual/bind":["es.function.bind"],"core-js/stable/get-iterator":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/get-iterator-method":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/global-this":["es.global-this"],"core-js/stable/instance/at":["es.array.at","es.string.at-alternative"],"core-js/stable/instance/bind":["es.function.bind"],"core-js/stable/instance/code-point-at":["es.string.code-point-at"],"core-js/stable/instance/concat":["es.array.concat"],"core-js/stable/instance/copy-within":["es.array.copy-within"],"core-js/stable/instance/ends-with":["es.string.ends-with"],"core-js/stable/instance/entries":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/stable/instance/every":["es.array.every"],"core-js/stable/instance/fill":["es.array.fill"],"core-js/stable/instance/filter":["es.array.filter"],"core-js/stable/instance/find":["es.array.find"],"core-js/stable/instance/find-index":["es.array.find-index"],"core-js/stable/instance/find-last":["es.array.find-last"],"core-js/stable/instance/find-last-index":["es.array.find-last-index"],"core-js/stable/instance/flags":["es.regexp.flags"],"core-js/stable/instance/flat":["es.array.flat","es.array.unscopables.flat"],"core-js/stable/instance/flat-map":["es.array.flat-map","es.array.unscopables.flat-map"],"core-js/stable/instance/for-each":["es.array.for-each","web.dom-collections.iterator"],"core-js/stable/instance/includes":["es.array.includes","es.string.includes"],"core-js/stable/instance/index-of":["es.array.index-of"],"core-js/stable/instance/keys":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/stable/instance/last-index-of":["es.array.last-index-of"],"core-js/stable/instance/map":["es.array.map"],"core-js/stable/instance/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/stable/instance/pad-end":["es.string.pad-end"],"core-js/stable/instance/pad-start":["es.string.pad-start"],"core-js/stable/instance/push":["es.array.push"],"core-js/stable/instance/reduce":["es.array.reduce"],"core-js/stable/instance/reduce-right":["es.array.reduce-right"],"core-js/stable/instance/repeat":["es.string.repeat"],"core-js/stable/instance/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/stable/instance/reverse":["es.array.reverse"],"core-js/stable/instance/slice":["es.array.slice"],"core-js/stable/instance/some":["es.array.some"],"core-js/stable/instance/sort":["es.array.sort"],"core-js/stable/instance/splice":["es.array.splice"],"core-js/stable/instance/starts-with":["es.string.starts-with"],"core-js/stable/instance/to-reversed":["es.array.to-reversed"],"core-js/stable/instance/to-sorted":["es.array.sort","es.array.to-sorted"],"core-js/stable/instance/to-spliced":["es.array.to-spliced"],"core-js/stable/instance/trim":["es.string.trim"],"core-js/stable/instance/trim-end":["es.string.trim-end"],"core-js/stable/instance/trim-left":["es.string.trim-start"],"core-js/stable/instance/trim-right":["es.string.trim-end"],"core-js/stable/instance/trim-start":["es.string.trim-start"],"core-js/stable/instance/unshift":["es.array.unshift"],"core-js/stable/instance/values":["es.array.iterator","es.object.to-string","web.dom-collections.iterator"],"core-js/stable/instance/with":["es.array.with"],"core-js/stable/is-iterable":["es.array.iterator","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/json":["es.json.stringify","es.json.to-string-tag"],"core-js/stable/json/stringify":["es.json.stringify"],"core-js/stable/json/to-string-tag":["es.json.to-string-tag"],"core-js/stable/map":["es.array.iterator","es.map","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/math":["es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc"],"core-js/stable/math/acosh":["es.math.acosh"],"core-js/stable/math/asinh":["es.math.asinh"],"core-js/stable/math/atanh":["es.math.atanh"],"core-js/stable/math/cbrt":["es.math.cbrt"],"core-js/stable/math/clz32":["es.math.clz32"],"core-js/stable/math/cosh":["es.math.cosh"],"core-js/stable/math/expm1":["es.math.expm1"],"core-js/stable/math/fround":["es.math.fround"],"core-js/stable/math/hypot":["es.math.hypot"],"core-js/stable/math/imul":["es.math.imul"],"core-js/stable/math/log10":["es.math.log10"],"core-js/stable/math/log1p":["es.math.log1p"],"core-js/stable/math/log2":["es.math.log2"],"core-js/stable/math/sign":["es.math.sign"],"core-js/stable/math/sinh":["es.math.sinh"],"core-js/stable/math/tanh":["es.math.tanh"],"core-js/stable/math/to-string-tag":["es.math.to-string-tag"],"core-js/stable/math/trunc":["es.math.trunc"],"core-js/stable/number":["es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/constructor":["es.number.constructor"],"core-js/stable/number/epsilon":["es.number.epsilon"],"core-js/stable/number/is-finite":["es.number.is-finite"],"core-js/stable/number/is-integer":["es.number.is-integer"],"core-js/stable/number/is-nan":["es.number.is-nan"],"core-js/stable/number/is-safe-integer":["es.number.is-safe-integer"],"core-js/stable/number/max-safe-integer":["es.number.max-safe-integer"],"core-js/stable/number/min-safe-integer":["es.number.min-safe-integer"],"core-js/stable/number/parse-float":["es.number.parse-float"],"core-js/stable/number/parse-int":["es.number.parse-int"],"core-js/stable/number/to-exponential":["es.number.to-exponential"],"core-js/stable/number/to-fixed":["es.number.to-fixed"],"core-js/stable/number/to-precision":["es.number.to-precision"],"core-js/stable/number/virtual":["es.number.to-exponential","es.number.to-fixed","es.number.to-precision"],"core-js/stable/number/virtual/to-exponential":["es.number.to-exponential"],"core-js/stable/number/virtual/to-fixed":["es.number.to-fixed"],"core-js/stable/number/virtual/to-precision":["es.number.to-precision"],"core-js/stable/object":["es.symbol","es.json.to-string-tag","es.math.to-string-tag","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.reflect.to-string-tag","web.dom-collections.iterator"],"core-js/stable/object/assign":["es.object.assign"],"core-js/stable/object/create":["es.object.create"],"core-js/stable/object/define-getter":["es.object.define-getter"],"core-js/stable/object/define-properties":["es.object.define-properties"],"core-js/stable/object/define-property":["es.object.define-property"],"core-js/stable/object/define-setter":["es.object.define-setter"],"core-js/stable/object/entries":["es.object.entries"],"core-js/stable/object/freeze":["es.object.freeze"],"core-js/stable/object/from-entries":["es.array.iterator","es.object.from-entries","web.dom-collections.iterator"],"core-js/stable/object/get-own-property-descriptor":["es.object.get-own-property-descriptor"],"core-js/stable/object/get-own-property-descriptors":["es.object.get-own-property-descriptors"],"core-js/stable/object/get-own-property-names":["es.object.get-own-property-names"],"core-js/stable/object/get-own-property-symbols":["es.symbol"],"core-js/stable/object/get-prototype-of":["es.object.get-prototype-of"],"core-js/stable/object/has-own":["es.object.has-own"],"core-js/stable/object/is":["es.object.is"],"core-js/stable/object/is-extensible":["es.object.is-extensible"],"core-js/stable/object/is-frozen":["es.object.is-frozen"],"core-js/stable/object/is-sealed":["es.object.is-sealed"],"core-js/stable/object/keys":["es.object.keys"],"core-js/stable/object/lookup-getter":["es.object.lookup-getter"],"core-js/stable/object/lookup-setter":["es.object.lookup-setter"],"core-js/stable/object/prevent-extensions":["es.object.prevent-extensions"],"core-js/stable/object/proto":["es.object.proto"],"core-js/stable/object/seal":["es.object.seal"],"core-js/stable/object/set-prototype-of":["es.object.set-prototype-of"],"core-js/stable/object/to-string":["es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/object/values":["es.object.values"],"core-js/stable/parse-float":["es.parse-float"],"core-js/stable/parse-int":["es.parse-int"],"core-js/stable/promise":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/all-settled":["es.array.iterator","es.object.to-string","es.promise","es.promise.all-settled","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/any":["es.aggregate-error","es.array.iterator","es.object.to-string","es.promise","es.promise.any","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/promise/finally":["es.object.to-string","es.promise","es.promise.finally"],"core-js/stable/queue-microtask":["web.queue-microtask"],"core-js/stable/reflect":["es.object.to-string","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag"],"core-js/stable/reflect/apply":["es.reflect.apply"],"core-js/stable/reflect/construct":["es.reflect.construct"],"core-js/stable/reflect/define-property":["es.reflect.define-property"],"core-js/stable/reflect/delete-property":["es.reflect.delete-property"],"core-js/stable/reflect/get":["es.reflect.get"],"core-js/stable/reflect/get-own-property-descriptor":["es.reflect.get-own-property-descriptor"],"core-js/stable/reflect/get-prototype-of":["es.reflect.get-prototype-of"],"core-js/stable/reflect/has":["es.reflect.has"],"core-js/stable/reflect/is-extensible":["es.reflect.is-extensible"],"core-js/stable/reflect/own-keys":["es.reflect.own-keys"],"core-js/stable/reflect/prevent-extensions":["es.reflect.prevent-extensions"],"core-js/stable/reflect/set":["es.reflect.set"],"core-js/stable/reflect/set-prototype-of":["es.reflect.set-prototype-of"],"core-js/stable/reflect/to-string-tag":["es.reflect.to-string-tag"],"core-js/stable/regexp":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.string.match","es.string.replace","es.string.search","es.string.split"],"core-js/stable/regexp/constructor":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.sticky"],"core-js/stable/regexp/dot-all":["es.regexp.constructor","es.regexp.dot-all","es.regexp.exec"],"core-js/stable/regexp/flags":["es.regexp.flags"],"core-js/stable/regexp/match":["es.regexp.exec","es.string.match"],"core-js/stable/regexp/replace":["es.regexp.exec","es.string.replace"],"core-js/stable/regexp/search":["es.regexp.exec","es.string.search"],"core-js/stable/regexp/split":["es.regexp.exec","es.string.split"],"core-js/stable/regexp/sticky":["es.regexp.constructor","es.regexp.exec","es.regexp.sticky"],"core-js/stable/regexp/test":["es.regexp.exec","es.regexp.test"],"core-js/stable/regexp/to-string":["es.regexp.to-string"],"core-js/stable/self":["web.self"],"core-js/stable/set":["es.array.iterator","es.object.to-string","es.set","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/set-immediate":["web.immediate"],"core-js/stable/set-interval":["web.timers"],"core-js/stable/set-timeout":["web.timers"],"core-js/stable/string":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/anchor":["es.string.anchor"],"core-js/stable/string/at":["es.string.at-alternative"],"core-js/stable/string/big":["es.string.big"],"core-js/stable/string/blink":["es.string.blink"],"core-js/stable/string/bold":["es.string.bold"],"core-js/stable/string/code-point-at":["es.string.code-point-at"],"core-js/stable/string/ends-with":["es.string.ends-with"],"core-js/stable/string/fixed":["es.string.fixed"],"core-js/stable/string/fontcolor":["es.string.fontcolor"],"core-js/stable/string/fontsize":["es.string.fontsize"],"core-js/stable/string/from-code-point":["es.string.from-code-point"],"core-js/stable/string/includes":["es.string.includes"],"core-js/stable/string/italics":["es.string.italics"],"core-js/stable/string/iterator":["es.object.to-string","es.string.iterator"],"core-js/stable/string/link":["es.string.link"],"core-js/stable/string/match":["es.regexp.exec","es.string.match"],"core-js/stable/string/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/stable/string/pad-end":["es.string.pad-end"],"core-js/stable/string/pad-start":["es.string.pad-start"],"core-js/stable/string/raw":["es.string.raw"],"core-js/stable/string/repeat":["es.string.repeat"],"core-js/stable/string/replace":["es.regexp.exec","es.string.replace"],"core-js/stable/string/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/stable/string/search":["es.regexp.exec","es.string.search"],"core-js/stable/string/small":["es.string.small"],"core-js/stable/string/split":["es.regexp.exec","es.string.split"],"core-js/stable/string/starts-with":["es.string.starts-with"],"core-js/stable/string/strike":["es.string.strike"],"core-js/stable/string/sub":["es.string.sub"],"core-js/stable/string/substr":["es.string.substr"],"core-js/stable/string/sup":["es.string.sup"],"core-js/stable/string/trim":["es.string.trim"],"core-js/stable/string/trim-end":["es.string.trim-end"],"core-js/stable/string/trim-left":["es.string.trim-start"],"core-js/stable/string/trim-right":["es.string.trim-end"],"core-js/stable/string/trim-start":["es.string.trim-start"],"core-js/stable/string/virtual":["es.object.to-string","es.regexp.exec","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup"],"core-js/stable/string/virtual/anchor":["es.string.anchor"],"core-js/stable/string/virtual/at":["es.string.at-alternative"],"core-js/stable/string/virtual/big":["es.string.big"],"core-js/stable/string/virtual/blink":["es.string.blink"],"core-js/stable/string/virtual/bold":["es.string.bold"],"core-js/stable/string/virtual/code-point-at":["es.string.code-point-at"],"core-js/stable/string/virtual/ends-with":["es.string.ends-with"],"core-js/stable/string/virtual/fixed":["es.string.fixed"],"core-js/stable/string/virtual/fontcolor":["es.string.fontcolor"],"core-js/stable/string/virtual/fontsize":["es.string.fontsize"],"core-js/stable/string/virtual/includes":["es.string.includes"],"core-js/stable/string/virtual/italics":["es.string.italics"],"core-js/stable/string/virtual/iterator":["es.object.to-string","es.string.iterator"],"core-js/stable/string/virtual/link":["es.string.link"],"core-js/stable/string/virtual/match-all":["es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/stable/string/virtual/pad-end":["es.string.pad-end"],"core-js/stable/string/virtual/pad-start":["es.string.pad-start"],"core-js/stable/string/virtual/repeat":["es.string.repeat"],"core-js/stable/string/virtual/replace-all":["es.regexp.exec","es.string.replace","es.string.replace-all"],"core-js/stable/string/virtual/small":["es.string.small"],"core-js/stable/string/virtual/starts-with":["es.string.starts-with"],"core-js/stable/string/virtual/strike":["es.string.strike"],"core-js/stable/string/virtual/sub":["es.string.sub"],"core-js/stable/string/virtual/substr":["es.string.substr"],"core-js/stable/string/virtual/sup":["es.string.sup"],"core-js/stable/string/virtual/trim":["es.string.trim"],"core-js/stable/string/virtual/trim-end":["es.string.trim-end"],"core-js/stable/string/virtual/trim-left":["es.string.trim-start"],"core-js/stable/string/virtual/trim-right":["es.string.trim-end"],"core-js/stable/string/virtual/trim-start":["es.string.trim-start"],"core-js/stable/structured-clone":["es.error.to-string","es.array.iterator","es.map","es.object.keys","es.object.to-string","es.set","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"core-js/stable/symbol":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag","web.dom-collections.iterator"],"core-js/stable/symbol/async-iterator":["es.symbol.async-iterator"],"core-js/stable/symbol/description":["es.symbol.description"],"core-js/stable/symbol/for":["es.symbol"],"core-js/stable/symbol/has-instance":["es.symbol.has-instance","es.function.has-instance"],"core-js/stable/symbol/is-concat-spreadable":["es.symbol.is-concat-spreadable","es.array.concat"],"core-js/stable/symbol/iterator":["es.symbol.iterator","es.array.iterator","es.object.to-string","es.string.iterator","web.dom-collections.iterator"],"core-js/stable/symbol/key-for":["es.symbol"],"core-js/stable/symbol/match":["es.symbol.match","es.regexp.exec","es.string.match"],"core-js/stable/symbol/match-all":["es.symbol.match-all","es.object.to-string","es.regexp.exec","es.string.match-all"],"core-js/stable/symbol/replace":["es.symbol.replace","es.regexp.exec","es.string.replace"],"core-js/stable/symbol/search":["es.symbol.search","es.regexp.exec","es.string.search"],"core-js/stable/symbol/species":["es.symbol.species"],"core-js/stable/symbol/split":["es.symbol.split","es.regexp.exec","es.string.split"],"core-js/stable/symbol/to-primitive":["es.symbol.to-primitive","es.date.to-primitive"],"core-js/stable/symbol/to-string-tag":["es.symbol.to-string-tag","es.json.to-string-tag","es.math.to-string-tag","es.object.to-string","es.reflect.to-string-tag"],"core-js/stable/symbol/unscopables":["es.symbol.unscopables"],"core-js/stable/typed-array":["es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/at":["es.typed-array.at"],"core-js/stable/typed-array/copy-within":["es.typed-array.copy-within"],"core-js/stable/typed-array/entries":["es.object.to-string","es.typed-array.iterator"],"core-js/stable/typed-array/every":["es.typed-array.every"],"core-js/stable/typed-array/fill":["es.typed-array.fill"],"core-js/stable/typed-array/filter":["es.typed-array.filter"],"core-js/stable/typed-array/find":["es.typed-array.find"],"core-js/stable/typed-array/find-index":["es.typed-array.find-index"],"core-js/stable/typed-array/find-last":["es.typed-array.find-last"],"core-js/stable/typed-array/find-last-index":["es.typed-array.find-last-index"],"core-js/stable/typed-array/float32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/float64-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.float64-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/for-each":["es.typed-array.for-each"],"core-js/stable/typed-array/from":["es.typed-array.from"],"core-js/stable/typed-array/includes":["es.typed-array.includes"],"core-js/stable/typed-array/index-of":["es.typed-array.index-of"],"core-js/stable/typed-array/int16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/int32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/int8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.int8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/iterator":["es.object.to-string","es.typed-array.iterator"],"core-js/stable/typed-array/join":["es.typed-array.join"],"core-js/stable/typed-array/keys":["es.object.to-string","es.typed-array.iterator"],"core-js/stable/typed-array/last-index-of":["es.typed-array.last-index-of"],"core-js/stable/typed-array/map":["es.typed-array.map"],"core-js/stable/typed-array/methods":["es.object.to-string","es.string.iterator","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/of":["es.typed-array.of"],"core-js/stable/typed-array/reduce":["es.typed-array.reduce"],"core-js/stable/typed-array/reduce-right":["es.typed-array.reduce-right"],"core-js/stable/typed-array/reverse":["es.typed-array.reverse"],"core-js/stable/typed-array/set":["es.typed-array.set"],"core-js/stable/typed-array/slice":["es.typed-array.slice"],"core-js/stable/typed-array/some":["es.typed-array.some"],"core-js/stable/typed-array/sort":["es.typed-array.sort"],"core-js/stable/typed-array/subarray":["es.typed-array.subarray"],"core-js/stable/typed-array/to-locale-string":["es.typed-array.to-locale-string"],"core-js/stable/typed-array/to-reversed":["es.typed-array.to-reversed"],"core-js/stable/typed-array/to-sorted":["es.typed-array.sort","es.typed-array.to-sorted"],"core-js/stable/typed-array/to-string":["es.typed-array.to-string"],"core-js/stable/typed-array/uint16-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint16-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/uint32-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/uint8-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/uint8-clamped-array":["es.array-buffer.constructor","es.array-buffer.slice","es.object.to-string","es.string.iterator","es.typed-array.uint8-clamped-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with"],"core-js/stable/typed-array/values":["es.object.to-string","es.typed-array.iterator"],"core-js/stable/typed-array/with":["es.typed-array.with"],"core-js/stable/unescape":["es.unescape"],"core-js/stable/url":["web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/stable/url-search-params":["web.dom-collections.iterator","web.url-search-params","web.url-search-params.size"],"core-js/stable/url/can-parse":["web.url","web.url.can-parse"],"core-js/stable/url/to-json":["web.url.to-json"],"core-js/stable/weak-map":["es.array.iterator","es.object.to-string","es.weak-map","web.dom-collections.iterator"],"core-js/stable/weak-set":["es.array.iterator","es.object.to-string","es.weak-set","web.dom-collections.iterator"],"core-js/stage":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/stage/0":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/stage/1":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of"],"core-js/stage/2":["es.string.at-alternative","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.disposable-stack.constructor","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.emplace","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.set.difference.v2","esnext.set.difference","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with","esnext.weak-map.emplace"],"core-js/stage/3":["es.string.at-alternative","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-iterator.constructor","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.disposable-stack.constructor","esnext.global-this","esnext.iterator.constructor","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.set.difference.v2","esnext.set.intersection.v2","esnext.set.is-disjoint-from.v2","esnext.set.is-subset-of.v2","esnext.set.is-superset-of.v2","esnext.set.symmetric-difference.v2","esnext.set.union.v2","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.dispose","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with"],"core-js/stage/4":["es.string.at-alternative","esnext.aggregate-error","esnext.array.at","esnext.array.find-last","esnext.array.find-last-index","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.global-this","esnext.object.has-own","esnext.promise.all-settled","esnext.promise.any","esnext.string.match-all","esnext.string.replace-all","esnext.typed-array.at","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.with"],"core-js/stage/pre":["es.map","es.string.at-alternative","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/web":["web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.self","web.structured-clone","web.timers","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/web/dom-collections":["web.dom-collections.for-each","web.dom-collections.iterator"],"core-js/web/dom-exception":["es.error.to-string","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag"],"core-js/web/immediate":["web.immediate"],"core-js/web/queue-microtask":["web.queue-microtask"],"core-js/web/structured-clone":["es.array.iterator","es.map","es.object.to-string","es.set","web.structured-clone"],"core-js/web/timers":["web.timers"],"core-js/web/url":["web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"],"core-js/web/url-search-params":["web.url-search-params","web.url-search-params.size"]}')},9648:e=>{"use strict";e.exports=JSON.parse('{"3.0":["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.now","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.function.bind","es.function.has-instance","es.function.name","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.regexp.constructor","es.regexp.exec","es.regexp.flags","es.regexp.to-string","es.set","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.search","es.string.split","es.string.starts-with","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-string","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.array.last-index","esnext.array.last-item","esnext.composite-key","esnext.composite-symbol","esnext.global-this","esnext.map.delete-all","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection","esnext.set.is-disjoint-from","esnext.set.is-subset-of","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference","esnext.set.union","esnext.string.at","esnext.string.code-points","esnext.string.match-all","esnext.string.replace-all","esnext.symbol.dispose","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.dom-collections.for-each","web.dom-collections.iterator","web.immediate","web.queue-microtask","web.timers","web.url","web.url.to-json","web.url-search-params"],"3.1":["es.string.match-all","es.symbol.match-all","esnext.symbol.replace-all"],"3.2":["es.promise.all-settled","esnext.array.is-template-object","esnext.map.update-or-insert","esnext.symbol.async-dispose"],"3.3":["es.global-this","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.map","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.map.upsert","esnext.weak-map.upsert"],"3.4":["es.json.stringify"],"3.5":["esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values"],"3.6":["es.regexp.sticky","es.regexp.test"],"3.7":["es.aggregate-error","es.promise.any","es.reflect.to-string-tag","es.string.replace-all","esnext.map.emplace","esnext.weak-map.emplace"],"3.8":["esnext.array.at","esnext.array.filter-out","esnext.array.unique-by","esnext.bigint.range","esnext.number.range","esnext.typed-array.at","esnext.typed-array.filter-out"],"3.9":["esnext.array.find-last","esnext.array.find-last-index","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.unique-by"],"3.11":["esnext.object.has-own"],"3.12":["esnext.symbol.matcher","esnext.symbol.metadata"],"3.15":["es.date.get-year","es.date.set-year","es.date.to-gmt-string","es.escape","es.regexp.dot-all","es.string.substr","es.unescape"],"3.16":["esnext.array.filter-reject","esnext.array.group-by","esnext.typed-array.filter-reject","esnext.typed-array.group-by"],"3.17":["es.array.at","es.object.has-own","es.string.at-alternative","es.typed-array.at"],"3.18":["esnext.array.from-async","esnext.typed-array.from-async"],"3.20":["es.error.cause","es.error.to-string","es.aggregate-error.cause","es.number.to-exponential","esnext.array.group-by-to-map","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.with","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.iterator.to-async","esnext.string.cooked","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.with","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.structured-clone"],"3.21":["web.atob","web.btoa"],"3.23":["es.array.find-last","es.array.find-last-index","es.array.push","es.array.unshift","es.typed-array.find-last","es.typed-array.find-last-index","esnext.array.group","esnext.array.group-to-map","esnext.symbol.metadata-key"],"3.24":["esnext.async-iterator.indexed","esnext.iterator.indexed"],"3.25":["es.object.proto"],"3.26":["esnext.string.is-well-formed","esnext.string.to-well-formed","web.self"],"3.27":["esnext.suppressed-error.constructor","esnext.async-disposable-stack.constructor","esnext.async-iterator.async-dispose","esnext.disposable-stack.constructor","esnext.iterator.dispose","esnext.set.difference.v2","esnext.set.intersection.v2","esnext.set.is-disjoint-from.v2","esnext.set.is-subset-of.v2","esnext.set.is-superset-of.v2","esnext.set.symmetric-difference.v2","esnext.set.union.v2","esnext.string.dedent"],"3.28":["es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.with","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.function.demethodize","esnext.iterator.range","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.symbol.is-registered","esnext.symbol.is-well-known"],"3.29":["web.url-search-params.size"],"3.30":["web.url.can-parse"]}')},5033:e=>{"use strict";e.exports=JSON.parse('["es.symbol","es.symbol.description","es.symbol.async-iterator","es.symbol.has-instance","es.symbol.is-concat-spreadable","es.symbol.iterator","es.symbol.match","es.symbol.match-all","es.symbol.replace","es.symbol.search","es.symbol.species","es.symbol.split","es.symbol.to-primitive","es.symbol.to-string-tag","es.symbol.unscopables","es.error.cause","es.error.to-string","es.aggregate-error","es.aggregate-error.cause","es.array.at","es.array.concat","es.array.copy-within","es.array.every","es.array.fill","es.array.filter","es.array.find","es.array.find-index","es.array.find-last","es.array.find-last-index","es.array.flat","es.array.flat-map","es.array.for-each","es.array.from","es.array.includes","es.array.index-of","es.array.is-array","es.array.iterator","es.array.join","es.array.last-index-of","es.array.map","es.array.of","es.array.push","es.array.reduce","es.array.reduce-right","es.array.reverse","es.array.slice","es.array.some","es.array.sort","es.array.species","es.array.splice","es.array.to-reversed","es.array.to-sorted","es.array.to-spliced","es.array.unscopables.flat","es.array.unscopables.flat-map","es.array.unshift","es.array.with","es.array-buffer.constructor","es.array-buffer.is-view","es.array-buffer.slice","es.data-view","es.date.get-year","es.date.now","es.date.set-year","es.date.to-gmt-string","es.date.to-iso-string","es.date.to-json","es.date.to-primitive","es.date.to-string","es.escape","es.function.bind","es.function.has-instance","es.function.name","es.global-this","es.json.stringify","es.json.to-string-tag","es.map","es.math.acosh","es.math.asinh","es.math.atanh","es.math.cbrt","es.math.clz32","es.math.cosh","es.math.expm1","es.math.fround","es.math.hypot","es.math.imul","es.math.log10","es.math.log1p","es.math.log2","es.math.sign","es.math.sinh","es.math.tanh","es.math.to-string-tag","es.math.trunc","es.number.constructor","es.number.epsilon","es.number.is-finite","es.number.is-integer","es.number.is-nan","es.number.is-safe-integer","es.number.max-safe-integer","es.number.min-safe-integer","es.number.parse-float","es.number.parse-int","es.number.to-exponential","es.number.to-fixed","es.number.to-precision","es.object.assign","es.object.create","es.object.define-getter","es.object.define-properties","es.object.define-property","es.object.define-setter","es.object.entries","es.object.freeze","es.object.from-entries","es.object.get-own-property-descriptor","es.object.get-own-property-descriptors","es.object.get-own-property-names","es.object.get-prototype-of","es.object.has-own","es.object.is","es.object.is-extensible","es.object.is-frozen","es.object.is-sealed","es.object.keys","es.object.lookup-getter","es.object.lookup-setter","es.object.prevent-extensions","es.object.proto","es.object.seal","es.object.set-prototype-of","es.object.to-string","es.object.values","es.parse-float","es.parse-int","es.promise","es.promise.all-settled","es.promise.any","es.promise.finally","es.reflect.apply","es.reflect.construct","es.reflect.define-property","es.reflect.delete-property","es.reflect.get","es.reflect.get-own-property-descriptor","es.reflect.get-prototype-of","es.reflect.has","es.reflect.is-extensible","es.reflect.own-keys","es.reflect.prevent-extensions","es.reflect.set","es.reflect.set-prototype-of","es.reflect.to-string-tag","es.regexp.constructor","es.regexp.dot-all","es.regexp.exec","es.regexp.flags","es.regexp.sticky","es.regexp.test","es.regexp.to-string","es.set","es.string.at-alternative","es.string.code-point-at","es.string.ends-with","es.string.from-code-point","es.string.includes","es.string.iterator","es.string.match","es.string.match-all","es.string.pad-end","es.string.pad-start","es.string.raw","es.string.repeat","es.string.replace","es.string.replace-all","es.string.search","es.string.split","es.string.starts-with","es.string.substr","es.string.trim","es.string.trim-end","es.string.trim-start","es.string.anchor","es.string.big","es.string.blink","es.string.bold","es.string.fixed","es.string.fontcolor","es.string.fontsize","es.string.italics","es.string.link","es.string.small","es.string.strike","es.string.sub","es.string.sup","es.typed-array.float32-array","es.typed-array.float64-array","es.typed-array.int8-array","es.typed-array.int16-array","es.typed-array.int32-array","es.typed-array.uint8-array","es.typed-array.uint8-clamped-array","es.typed-array.uint16-array","es.typed-array.uint32-array","es.typed-array.at","es.typed-array.copy-within","es.typed-array.every","es.typed-array.fill","es.typed-array.filter","es.typed-array.find","es.typed-array.find-index","es.typed-array.find-last","es.typed-array.find-last-index","es.typed-array.for-each","es.typed-array.from","es.typed-array.includes","es.typed-array.index-of","es.typed-array.iterator","es.typed-array.join","es.typed-array.last-index-of","es.typed-array.map","es.typed-array.of","es.typed-array.reduce","es.typed-array.reduce-right","es.typed-array.reverse","es.typed-array.set","es.typed-array.slice","es.typed-array.some","es.typed-array.sort","es.typed-array.subarray","es.typed-array.to-locale-string","es.typed-array.to-reversed","es.typed-array.to-sorted","es.typed-array.to-string","es.typed-array.with","es.unescape","es.weak-map","es.weak-set","esnext.aggregate-error","esnext.suppressed-error.constructor","esnext.array.from-async","esnext.array.at","esnext.array.filter-out","esnext.array.filter-reject","esnext.array.find-last","esnext.array.find-last-index","esnext.array.group","esnext.array.group-by","esnext.array.group-by-to-map","esnext.array.group-to-map","esnext.array.is-template-object","esnext.array.last-index","esnext.array.last-item","esnext.array.to-reversed","esnext.array.to-sorted","esnext.array.to-spliced","esnext.array.unique-by","esnext.array.with","esnext.array-buffer.detached","esnext.array-buffer.transfer","esnext.array-buffer.transfer-to-fixed-length","esnext.async-disposable-stack.constructor","esnext.async-iterator.constructor","esnext.async-iterator.as-indexed-pairs","esnext.async-iterator.async-dispose","esnext.async-iterator.drop","esnext.async-iterator.every","esnext.async-iterator.filter","esnext.async-iterator.find","esnext.async-iterator.flat-map","esnext.async-iterator.for-each","esnext.async-iterator.from","esnext.async-iterator.indexed","esnext.async-iterator.map","esnext.async-iterator.reduce","esnext.async-iterator.some","esnext.async-iterator.take","esnext.async-iterator.to-array","esnext.bigint.range","esnext.composite-key","esnext.composite-symbol","esnext.disposable-stack.constructor","esnext.function.demethodize","esnext.function.is-callable","esnext.function.is-constructor","esnext.function.un-this","esnext.global-this","esnext.iterator.constructor","esnext.iterator.as-indexed-pairs","esnext.iterator.dispose","esnext.iterator.drop","esnext.iterator.every","esnext.iterator.filter","esnext.iterator.find","esnext.iterator.flat-map","esnext.iterator.for-each","esnext.iterator.from","esnext.iterator.indexed","esnext.iterator.map","esnext.iterator.range","esnext.iterator.reduce","esnext.iterator.some","esnext.iterator.take","esnext.iterator.to-array","esnext.iterator.to-async","esnext.json.is-raw-json","esnext.json.parse","esnext.json.raw-json","esnext.map.delete-all","esnext.map.emplace","esnext.map.every","esnext.map.filter","esnext.map.find","esnext.map.find-key","esnext.map.from","esnext.map.group-by","esnext.map.includes","esnext.map.key-by","esnext.map.key-of","esnext.map.map-keys","esnext.map.map-values","esnext.map.merge","esnext.map.of","esnext.map.reduce","esnext.map.some","esnext.map.update","esnext.map.update-or-insert","esnext.map.upsert","esnext.math.clamp","esnext.math.deg-per-rad","esnext.math.degrees","esnext.math.fscale","esnext.math.iaddh","esnext.math.imulh","esnext.math.isubh","esnext.math.rad-per-deg","esnext.math.radians","esnext.math.scale","esnext.math.seeded-prng","esnext.math.signbit","esnext.math.umulh","esnext.number.from-string","esnext.number.range","esnext.object.has-own","esnext.object.iterate-entries","esnext.object.iterate-keys","esnext.object.iterate-values","esnext.observable","esnext.promise.all-settled","esnext.promise.any","esnext.promise.try","esnext.reflect.define-metadata","esnext.reflect.delete-metadata","esnext.reflect.get-metadata","esnext.reflect.get-metadata-keys","esnext.reflect.get-own-metadata","esnext.reflect.get-own-metadata-keys","esnext.reflect.has-metadata","esnext.reflect.has-own-metadata","esnext.reflect.metadata","esnext.set.add-all","esnext.set.delete-all","esnext.set.difference.v2","esnext.set.difference","esnext.set.every","esnext.set.filter","esnext.set.find","esnext.set.from","esnext.set.intersection.v2","esnext.set.intersection","esnext.set.is-disjoint-from.v2","esnext.set.is-disjoint-from","esnext.set.is-subset-of.v2","esnext.set.is-subset-of","esnext.set.is-superset-of.v2","esnext.set.is-superset-of","esnext.set.join","esnext.set.map","esnext.set.of","esnext.set.reduce","esnext.set.some","esnext.set.symmetric-difference.v2","esnext.set.symmetric-difference","esnext.set.union.v2","esnext.set.union","esnext.string.at","esnext.string.cooked","esnext.string.code-points","esnext.string.dedent","esnext.string.is-well-formed","esnext.string.match-all","esnext.string.replace-all","esnext.string.to-well-formed","esnext.symbol.async-dispose","esnext.symbol.dispose","esnext.symbol.is-registered","esnext.symbol.is-well-known","esnext.symbol.matcher","esnext.symbol.metadata","esnext.symbol.metadata-key","esnext.symbol.observable","esnext.symbol.pattern-match","esnext.symbol.replace-all","esnext.typed-array.from-async","esnext.typed-array.at","esnext.typed-array.filter-out","esnext.typed-array.filter-reject","esnext.typed-array.find-last","esnext.typed-array.find-last-index","esnext.typed-array.group-by","esnext.typed-array.to-reversed","esnext.typed-array.to-sorted","esnext.typed-array.to-spliced","esnext.typed-array.unique-by","esnext.typed-array.with","esnext.weak-map.delete-all","esnext.weak-map.from","esnext.weak-map.of","esnext.weak-map.emplace","esnext.weak-map.upsert","esnext.weak-set.add-all","esnext.weak-set.delete-all","esnext.weak-set.from","esnext.weak-set.of","web.atob","web.btoa","web.dom-collections.for-each","web.dom-collections.iterator","web.dom-exception.constructor","web.dom-exception.stack","web.dom-exception.to-string-tag","web.immediate","web.queue-microtask","web.self","web.structured-clone","web.timers","web.url","web.url.can-parse","web.url.to-json","web.url-search-params","web.url-search-params.size"]')},3348:e=>{"use strict";e.exports={i8:"5.1.1"}},7137:e=>{"use strict";e.exports=JSON.parse('{"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"],"ConditionalExpression":["test","consequent","alternate"],"ContinueStatement":["label"],"DebuggerStatement":[],"DoWhileStatement":["body","test"],"EmptyStatement":[],"ExportAllDeclaration":["exported","source"],"ExportDefaultDeclaration":["declaration"],"ExportNamedDeclaration":["declaration","specifiers","source"],"ExportSpecifier":["exported","local"],"ExpressionStatement":["expression"],"ExperimentalRestProperty":["argument"],"ExperimentalSpreadProperty":["argument"],"ForStatement":["init","test","update","body"],"ForInStatement":["left","right","body"],"ForOfStatement":["left","right","body"],"FunctionDeclaration":["id","params","body"],"FunctionExpression":["id","params","body"],"Identifier":[],"IfStatement":["test","consequent","alternate"],"ImportDeclaration":["specifiers","source"],"ImportDefaultSpecifier":["local"],"ImportExpression":["source"],"ImportNamespaceSpecifier":["local"],"ImportSpecifier":["imported","local"],"JSXAttribute":["name","value"],"JSXClosingElement":["name"],"JSXElement":["openingElement","children","closingElement"],"JSXEmptyExpression":[],"JSXExpressionContainer":["expression"],"JSXIdentifier":[],"JSXMemberExpression":["object","property"],"JSXNamespacedName":["namespace","name"],"JSXOpeningElement":["name","attributes"],"JSXSpreadAttribute":["argument"],"JSXText":[],"JSXFragment":["openingFragment","children","closingFragment"],"Literal":[],"LabeledStatement":["label","body"],"LogicalExpression":["left","right"],"MemberExpression":["object","property"],"MetaProperty":["meta","property"],"MethodDefinition":["key","value"],"NewExpression":["callee","arguments"],"ObjectExpression":["properties"],"ObjectPattern":["properties"],"PrivateIdentifier":[],"Program":["body"],"Property":["key","value"],"PropertyDefinition":["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"]}')},2781:e=>{"use strict";e.exports={i8:"7.24.0"}},4730:e=>{"use strict";e.exports={version:"4.3.0"}},1752:e=>{"use strict";e.exports={i8:"4.3.0"}},3676:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},4055:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],"worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')},2950:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],"worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')}};var r={};function __nccwpck_require__(t){var s=r[t];if(s!==undefined){return s.exports}var a=r[t]={id:t,loaded:false,exports:{}};var n=true;try{e[t].call(a.exports,a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[t]}a.loaded=true;return a.exports}(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(1403);module.exports=t})(); \ No newline at end of file diff --git a/packages/next/src/compiled/babel/bundle.js b/packages/next/src/compiled/babel/bundle.js index 3f21911195d87..1553a09b1261d 100644 --- a/packages/next/src/compiled/babel/bundle.js +++ b/packages/next/src/compiled/babel/bundle.js @@ -1,4 +1,4 @@ -(()=>{var e={9905:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t}))}webpackEmptyAsyncContext.keys=()=>[];webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=9905;e.exports=webpackEmptyAsyncContext},6143:function(e,t,r){(function(t,n){true?e.exports=n(r(4614)):0})(this,(function(e){"use strict";class OriginalSource{constructor(e,t){this.source=e;this.content=t}originalPositionFor(e,t,r){return{column:t,line:e,name:r,source:this.source,content:this.content}}}let t;class FastStringArray{constructor(){this.indexes=Object.create(null);this.array=[]}}(()=>{t=(e,t)=>{const{array:r,indexes:n}=e;let s=n[t];if(s===undefined){s=n[t]=r.length;r.push(t)}return s}})();const r=undefined;const n=null;let s;class SourceMapTree{constructor(e,t){this.map=e;this.sources=t}originalPositionFor(t,s,i){const a=e.traceSegment(this.map,t,s);if(a==null)return r;if(a.length===1)return n;const o=this.sources[a[1]];return o.originalPositionFor(a[2],a[3],a.length===5?this.map.names[a[4]]:i)}}(()=>{s=s=>{const i=[];const a=new FastStringArray;const o=new FastStringArray;const l=[];const{sources:c,map:u}=s;const p=u.names;const f=e.decodedMappings(u);let d=-1;for(let e=0;e<f.length;e++){const s=f[e];const u=[];let h=-1;let m=-1;let y=-1;for(let i=0;i<s.length;i++){const f=s[i];let g=n;if(f.length!==1){const e=c[f[1]];g=e.originalPositionFor(f[2],f[3],f.length===5?p[f[4]]:"");if(g===r)continue}const b=f[0];if(g===n){if(h===-1){continue}h=m=y=-1;u.push([b]);continue}const{column:T,line:S,name:E,content:x,source:v}=g;const P=t(o,v);l[P]=x;if(h===P&&m===S&&y===T){continue}d=e;h=P;m=S;y=T;u.push(E?[b,P,S,T,t(a,E)]:[b,P,S,T])}i.push(u)}if(i.length>d+1){i.length=d+1}return e.presortedDecodedMap(Object.assign({},s.map,{mappings:i,sourceRoot:undefined,names:a.array,sources:o.array,sourcesContent:l}))}})();function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(t,r){const n=asArray(t).map((t=>new e.TraceMap(t,"")));const s=n.pop();for(let e=0;e<n.length;e++){if(n[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\n`+"Did you specify these with the most recent transformation maps first?")}}let i=build(s,r,"",0);for(let e=n.length-1;e>=0;e--){i=new SourceMapTree(n[e],[i])}return i}function build(t,r,n,s){const{resolvedSources:i,sourcesContent:a}=t;const o=s+1;const l=i.map(((t,s)=>{const i={importer:n,depth:o,source:t||"",content:undefined};const l=r(i.source,i);const{source:c,content:u}=i;if(!l){const e=u!==undefined?u:a?a[s]:null;return new OriginalSource(c,e)}return build(new e.TraceMap(l,c),r,c,o)}));return new SourceMapTree(t,l)}class SourceMap{constructor(t,r){this.version=3;this.file=t.file;this.mappings=r.decodedMappings?e.decodedMappings(t):e.encodedMappings(t);this.names=t.names;this.sourceRoot=t.sourceRoot;this.sources=t.sources;if(!r.excludeContent&&"sourcesContent"in t){this.sourcesContent=t.sourcesContent}}toString(){return JSON.stringify(this)}}function remapping(e,t,r){const n=typeof r==="object"?r:{excludeContent:!!r,decodedMappings:false};const i=buildSourceMapTree(e,t);return new SourceMap(s(i),n)}return remapping}))},5395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=_interopRequireWildcard(r(9038));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const c=s.line;const u=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,c+a);if(o===-1){p=0}if(c===-1){f=t.length}const d=c-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,u]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===u){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,u-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const maybeHighlight=(e,t)=>s?e(t):t;const l=e.split(i);const{start:c,end:u,markerLines:p}=getMarkerLines(t,l,r);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const h=s?(0,n.default)(e,r):e;let m=h.split(i).slice(c,u).map(((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-d);const i=` ${s} | `;const a=p[n];const l=!p[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",maybeHighlight(o.gutter,i.replace(/\d/g," ")),n,maybeHighlight(o.marker,"^").repeat(s)].join("");if(l&&r.message){t+=" "+maybeHighlight(o.message,r.message)}}return[maybeHighlight(o.marker,">"),maybeHighlight(o.gutter,i),e,t].join("")}else{return` ${maybeHighlight(o.gutter,i)}${e}`}})).join("\n");if(r.message&&!f){m=`${" ".repeat(d+1)}${r.message}\n${m}`}if(s){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},4234:(e,t,r)=>{e.exports=r(9009)},9974:(e,t,r)=>{e.exports=r(7385)},7120:()=>{},7613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertSimpleType=assertSimpleType;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(5398);var s=r(8499);const synchronize=e=>_gensync()(e).sync;function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return synchronize(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return synchronize(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const c=l?i:r;const u=yield*getCachedValueOrWait(l,c,a,e,o);if(u.valid)return u.value;const p=new CacheConfigurator(o);const f=t(e,p);let d;let h;if((0,s.isIterableIterator)(f)){const t=f;h=yield*(0,n.onFirstPause)(t,(()=>{d=setupAsyncLocks(p,a,e)}))}else{h=f}updateFunctionCache(c,p,e,h);if(d){a.delete(e);d.release(h)}return h}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then((e=>{this._pairs.push([e,r]);return e}))}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using((()=>assertSimpleType(t())))}cacheFn.forever=()=>e.forever();cacheFn.never=()=>e.never();cacheFn.using=t=>e.using((()=>assertSimpleType(t())));cacheFn.invalidate=t=>e.invalidate((()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise((e=>{this._resolve=e}))}release(e){this.released=true;this._resolve(e)}}},6539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildPresetChainWalker=void 0;t.buildRootChain=buildRootChain;function _path(){const e=r(1017);_path=function(){return e};return e}function _debug(){const e=r(6937);_debug=function(){return e};return e}var n=r(1157);var s=r(6209);var i=r(2806);var a=r(6936);var o=r(7613);var l=r(7088);const c=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*u(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map((e=>normalizeOptions(e))),files:new Set}}const u=makeChainWalker({root:e=>p(e),env:(e,t)=>f(e)(t),overrides:(e,t)=>d(e)(t),overridesEnv:(e,t,r)=>h(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=u;const p=(0,o.makeWeakCacheSync)((e=>buildRootDescriptors(e,e.alias,l.createUncachedDescriptors)));const f=(0,o.makeWeakCacheSync)((e=>(0,o.makeStrongCacheSync)((t=>buildEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t)))));const d=(0,o.makeWeakCacheSync)((e=>(0,o.makeStrongCacheSync)((t=>buildOverrideDescriptors(e,e.alias,l.createUncachedDescriptors,t)))));const h=(0,o.makeWeakCacheSync)((e=>(0,o.makeStrongCacheSync)((t=>(0,o.makeStrongCacheSync)((r=>buildOverrideEnvDescriptors(e,e.alias,l.createUncachedDescriptors,t,r)))))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const o=yield*b({options:e,dirname:t.cwd},t,undefined,s);if(!o)return null;const l=yield*s.output();let c;if(typeof e.configFile==="string"){c=yield*(0,a.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,a.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:u,babelrcRoots:p}=e;let f=t.cwd;const d=emptyChain();const h=new i.ConfigPrinter;if(c){const e=m(c);const n=yield*loadFileChain(e,t,undefined,h);if(!n)return null;r=yield*h.output();if(u===undefined){u=e.options.babelrc}if(p===undefined){f=e.dirname;p=e.options.babelrcRoots}mergeChain(d,n)}let g,T;let S=false;const E=emptyChain();if((u===true||u===undefined)&&typeof t.filename==="string"){const e=yield*(0,a.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,p,f)){({ignore:g,config:T}=yield*(0,a.findRelativeConfig)(e,t.envName,t.caller));if(g){E.files.add(g.filepath)}if(g&&shouldIgnore(t,g.ignore,null,g.dirname)){S=true}if(T&&!S){const e=y(T);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){S=true}else{n=yield*r.output();mergeChain(E,s)}}if(T&&S){E.files.add(T.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,l].filter((e=>!!e)).join("\n\n")+"\n-----End Babel configs-----")}const x=mergeChain(mergeChain(mergeChain(emptyChain(),d),E),o);return{plugins:S?[]:dedupDescriptors(x.plugins),presets:S?[]:dedupDescriptors(x.presets),options:S?[]:x.options.map((e=>normalizeOptions(e))),fileHandling:S?"ignored":"transpile",ignore:g||undefined,babelrc:T||undefined,config:c||undefined,files:x.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map((e=>typeof e==="string"?_path().resolve(n,e):e));if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some((r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some((t=>matchPattern(r,n,t,e)))}))}const m=(0,o.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options)})));const y=(0,o.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options)})));const g=(0,o.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options)})));const b=makeChainWalker({root:e=>buildRootDescriptors(e,"base",l.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",l.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",l.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",l.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const T=makeChainWalker({root:e=>S(e),env:(e,t)=>E(e)(t),overrides:(e,t)=>x(e)(t),overridesEnv:(e,t,r)=>v(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*T(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const S=(0,o.makeWeakCacheSync)((e=>buildRootDescriptors(e,e.filepath,l.createUncachedDescriptors)));const E=(0,o.makeWeakCacheSync)((e=>(0,o.makeStrongCacheSync)((t=>buildEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t)))));const x=(0,o.makeWeakCacheSync)((e=>(0,o.makeStrongCacheSync)((t=>buildOverrideDescriptors(e,e.filepath,l.createUncachedDescriptors,t)))));const v=(0,o.makeWeakCacheSync)((e=>(0,o.makeStrongCacheSync)((t=>(0,o.makeStrongCacheSync)((r=>buildOverrideEnvDescriptors(e,e.filepath,l.createUncachedDescriptors,t,r)))))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*(i,a,o=new Set,l){const{dirname:c}=i;const u=[];const p=e(i);if(configIsApplicable(p,c,a)){u.push({config:p,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,c,a)){u.push({config:e,envName:a.envName,index:undefined})}(p.options.overrides||[]).forEach(((e,t)=>{const s=r(i,t);if(configIsApplicable(s,c,a)){u.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,c,a)){u.push({config:e,index:t,envName:a.envName})}}}))}if(u.some((({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c)))){return null}const f=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of u){if(!(yield*mergeExtendsChain(f,e.options,c,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(f,e)}return f}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const o=yield*(0,a.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(o)){throw new Error(`Configuration cycle detected loading ${o.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,(e=>` - ${e.filepath}`)).join("\n"))}s.add(o);const l=yield*loadFileChain(g(o),n,s,i);s.delete(o);if(!l)return false;mergeChain(e,l);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce(((e,t)=>{e.push(t.value);return e}),[])}function configIsApplicable({options:e},t,r){return(e.test===undefined||configFieldIsApplicable(r,e.test,t))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t))}function configFieldIsApplicable(e,t,r){const n=Array.isArray(t)?t:[t];return matchesPatterns(e,n,r)}function ignoreListReplacer(e,t){if(t instanceof RegExp){return String(t)}return t}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,ignoreListReplacer)}\` from "${n}"`;c(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r,ignoreListReplacer)}\` from "${n}"`;c(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r){return t.some((t=>matchPattern(t,r,e.filename,e)))}function matchPattern(e,t,r,n){if(typeof e==="function"){return!!e(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}},7088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createDescriptor=createDescriptor;t.createUncachedDescriptors=createUncachedDescriptors;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(6936);var s=r(8869);var i=r(7613);var a=r(8595);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,a.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>u(n,e)(r):()=>handlerOf([]),presets:s?()=>l(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){let n;let s;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),*plugins(){if(!n){n=yield*createPluginDescriptors(t.plugins||[],e,r)}return n},*presets(){if(!s){s=yield*createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)}return s}}}const o=new WeakMap;const l=(0,i.makeWeakCacheSync)(((e,t)=>{const r=t.using((e=>e));return(0,i.makeStrongCacheSync)((t=>(0,i.makeStrongCache)((function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map((e=>loadCachedDescriptor(o,e)))}))))}));const c=new WeakMap;const u=(0,i.makeWeakCacheSync)(((e,t)=>{const r=t.using((e=>e));return(0,i.makeStrongCache)((function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map((e=>loadCachedDescriptor(c,e)))}))}));const p={};function loadCachedDescriptor(e,t){const{value:r,options:n=p}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter((e=>isEqualDescriptor(e,t)));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map(((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s}))));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:i,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o){return o}let l;let c;let u=e;if(Array.isArray(u)){if(u.length===3){[u,c,l]=u}else{[u,c]=u}}let p=undefined;let f=null;if(typeof u==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?n.loadPlugin:n.loadPreset;const s=u;({filepath:f,value:u}=yield*e(u,t));p={request:s,resolved:f}}if(!u){throw new Error(`Unexpected falsy value: ${String(u)}`)}if(typeof u==="object"&&u.__esModule){if(u.default){u=u.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof u!=="object"&&typeof u!=="function"){throw new Error(`Unsupported format: ${typeof u}. Expected an object or a function.`)}if(f!==null&&typeof u==="object"&&u){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${f}`)}return{name:l,alias:f||i,value:u,options:c,dirname:t,ownPass:a,file:p}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter((e=>e.value===r.value));throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}},7061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ROOT_CONFIG_FILENAMES=void 0;t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;function _debug(){const e=r(6937);_debug=function(){return e};return e}function _fs(){const e=r(7147);_fs=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _json(){const e=r(8310);_json=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(7613);var s=r(62);var i=r(3918);var a=r(9933);var o=r(6209);var l=r(3575);function _module(){const e=r(8188);_module=function(){return e};return e}const c=_debug()("babel:config:loading:files:configuration");const u=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json"];t.ROOT_CONFIG_FILENAMES=u;const p=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json"];const f=".babelignore";function findConfigUpwards(e){let t=e;for(;;){for(const e of u){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(p,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?m(e.pkg):null)}if(!s){const e=_path().join(o,f);s=yield*g(e);if(s){c("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(u,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map((e=>readConfig(_path().join(t,e),r,n))));const a=i.reduce(((e,r)=>{if(r&&e){throw new Error(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e}),s);if(a){c("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(8188))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new Error(`Config file ${i} contains no configuration data`)}c("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);return n===".js"||n===".cjs"||n===".mjs"?h(e,{envName:t,caller:r}):y(e)}const d=new Set;const h=(0,n.makeStrongCache)((function*readConfigJS(e,t){if(!_fs().existsSync(e)){t.never();return null}if(d.has(e)){t.never();c("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{d.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}catch(t){t.message=`${e}: Error while loading config - ${t.message}`;throw t}finally{d.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=r((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new Error(`${e}: Configuration should be an exported JavaScript object.`)}if(typeof r.then==="function"){throw new Error(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`)}if(n&&!t.configured())throwConfigError();return{filepath:e,dirname:_path().dirname(e),options:r}}));const m=(0,n.makeWeakCacheSync)((e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new Error(`${e.filepath}: .babel property must be an object`)}return{filepath:e.filepath,dirname:e.dirname,options:t}}));const y=(0,i.makeStaticFileCache)(((e,t)=>{let r;try{r=_json().parse(t)}catch(t){t.message=`${e}: Error while parsing config - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}delete r["$schema"];return{filepath:e,dirname:_path().dirname(e),options:r}}));const g=(0,i.makeStaticFileCache)(((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map((e=>e.replace(/#(.*?)$/,"").trim())).filter((e=>!!e));for(const e of n){if(e[0]==="!"){throw new Error(`Negation of file paths is not supported.`)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map((e=>(0,o.default)(e,r)))}}));function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*l.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(){throw new Error(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`)}},2295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=resolve;function _module(){const e=r(8188);_module=function(){return e};return e}var n=r(6833);function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)}))}}let s;try{s=r(8073).Z}catch(e){}const i=s&&process.execArgv.includes("--experimental-import-meta-resolve")?s("data:text/javascript,export default import.meta.resolve").then((e=>e.default||n.resolve),(()=>n.resolve)):Promise.resolve(n.resolve);function resolve(e,t){return _resolve.apply(this,arguments)}function _resolve(){_resolve=_asyncToGenerator((function*(e,t){return(yield i)(e,t)}));return _resolve.apply(this,arguments)}},8073:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=import_;function import_(e){return r(9905)(e)}},6936:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});t.resolvePreset=t.resolvePlugin=void 0;Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});var n=r(480);var s=r(7061);var i=r(5561);function _gensync(){const e=r(6433);_gensync=function(){return e};return e}({});const a=_gensync()(i.resolvePlugin).sync;t.resolvePlugin=a;const o=_gensync()(i.resolvePreset).sync;t.resolvePreset=o},9933:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadCjsOrMjsDefault;t.supportsESM=void 0;var n=r(5398);function _path(){const e=r(1017);_path=function(){return e};return e}function _url(){const e=r(7310);_url=function(){return e};return e}function _module(){const e=r(8188);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)}))}}let s;try{s=r(8073).Z}catch(e){}const i=!!s;t.supportsESM=i;function*loadCjsOrMjsDefault(e,t,r=false){switch(guessJSModuleType(e)){case"cjs":return loadCjsDefault(e,r);case"unknown":try{return loadCjsDefault(e,r)}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}case"mjs":if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new Error(t)}}function guessJSModuleType(e){switch(_path().extname(e)){case".cjs":return"cjs";case".mjs":return"mjs";default:return"unknown"}}function loadCjsDefault(e,t){const r=require(e);return r!=null&&r.__esModule?r.default||(t?r:undefined):r}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator((function*(e){if(!s){throw new Error("Internal error: Native ECMAScript modules aren't supported"+" by this platform.\n")}const t=yield s((0,_url().pathToFileURL)(e));return t.default}));return _loadMjsDefault.apply(this,arguments)}},480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(3918);const s="package.json";function*findPackageData(e){let t=null;const r=[];let n=true;let a=_path().dirname(e);while(!t&&_path().basename(a)!=="node_modules"){r.push(a);t=yield*i(_path().join(a,s));const e=_path().dirname(a);if(a===e){n=false;break}a=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}const i=(0,n.makeStaticFileCache)(((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){t.message=`${e}: Error while parsing JSON - ${t.message}`;throw t}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new Error(`${e}: Config returned typeof ${typeof r}`)}if(Array.isArray(r)){throw new Error(`${e}: Expected config object but found array`)}return{filepath:e,dirname:_path().dirname(e),options:r}}))},5561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;t.resolvePlugin=resolvePlugin;t.resolvePreset=resolvePreset;function _debug(){const e=r(6937);_debug=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(5398);var s=r(9933);function _url(){const e=r(7310);_url=function(){return e};return e}var i=r(2295);function _module(){const e=r(8188);_module=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)}))}}const a=_debug()("babel:config:loading:files:plugins");const o=/^module:/;const l=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const c=/^(?!@|module:|[^/]+\/|babel-preset-)/;const u=/^(@babel\/)(?!plugin-|[^/]+\/)/;const p=/^(@babel\/)(?!preset-|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const d=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;function*resolvePlugin(e,t){return yield*m("plugin",e,t)}function*resolvePreset(e,t){return yield*m("preset",e,t)}function*loadPlugin(e,t){const r=yield*resolvePlugin(e,t);const n=yield*requireModule("plugin",r);a("Loaded plugin %o from %o.",e,t);return{filepath:r,value:n}}function*loadPreset(e,t){const r=yield*resolvePreset(e,t);const n=yield*requireModule("preset",r);a("Loaded preset %o from %o.",e,t);return{filepath:r,value:n}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?c:l,`babel-${e}-`).replace(r?p:u,`$1${e}-`).replace(r?d:f,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(o,"")}function*resolveAlternativesHelper(e,t){const r=standardizeName(e,t);const{error:n,value:s}=yield r;if(!n)return s;if(n.code!=="MODULE_NOT_FOUND")throw n;if(r!==t&&!(yield t).error){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}if(!(yield standardizeName(e,"@babel/"+t)).error){n.message+=`\n- Did you mean "@babel/${t}"?`}const i=e==="preset"?"plugin":"preset";if(!(yield standardizeName(i,t)).error){n.message+=`\n- Did you accidentally pass a ${i} as a ${e}?`}throw n}function tryRequireResolve(e,{paths:[t]}){try{return{error:null,value:(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(8188))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]})}}catch(e){return{error:e,value:null}}}function tryImportMetaResolve(e,t){return _tryImportMetaResolve.apply(this,arguments)}function _tryImportMetaResolve(){_tryImportMetaResolve=_asyncToGenerator((function*(e,t){try{return{error:null,value:yield(0,i.default)(e,t)}}catch(e){return{error:e,value:null}}}));return _tryImportMetaResolve.apply(this,arguments)}function resolveStandardizedNameForRequire(e,t,r){const n=resolveAlternativesHelper(e,t);let s=n.next();while(!s.done){s=n.next(tryRequireResolve(s.value,{paths:[r]}))}return s.value}function resolveStandardizedNameForImport(e,t,r){return _resolveStandardizedNameForImport.apply(this,arguments)}function _resolveStandardizedNameForImport(){_resolveStandardizedNameForImport=_asyncToGenerator((function*(e,t,r){const n=(0,_url().pathToFileURL)(_path().join(r,"./babel-virtual-resolve-base.js")).href;const s=resolveAlternativesHelper(e,t);let i=s.next();while(!i.done){i=s.next(yield tryImportMetaResolve(i.value,n))}return(0,_url().fileURLToPath)(i.value)}));return _resolveStandardizedNameForImport.apply(this,arguments)}const m=_gensync()({sync(e,t,r=process.cwd()){return resolveStandardizedNameForRequire(e,t,r)},async(e,t,r=process.cwd()){return _asyncToGenerator((function*(){if(!s.supportsESM){return resolveStandardizedNameForRequire(e,t,r)}try{return yield resolveStandardizedNameForImport(e,t,r)}catch(n){try{return resolveStandardizedNameForRequire(e,t,r)}catch(e){if(n.type==="MODULE_NOT_FOUND")throw n;if(e.type==="MODULE_NOT_FOUND")throw e;throw n}}}))()}});{var y=new Set}function*requireModule(e,t){{if(!(yield*(0,n.isAsync)())&&y.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}}try{{y.add(t)}return yield*(0,s.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{{y.delete(t)}}}},3918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(7613);var s=r(3575);function _fs2(){const e=r(7147);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)((function*(t,r){const n=r.invalidate((()=>fileMtime(t)));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))}))}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}},5958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(5398);var s=r(8499);var i=r(7782);var a=r(5775);var o=r(8869);var l=r(6539);var c=r(6861);function _traverse(){const e=r(7734);_traverse=function(){return e};return e}var u=r(7613);var p=r(1157);var f=r(5918);var d=r(62);var h=r(3525);var m=r(7120);var y=_gensync()((function*loadFullConfig(e){var t;const r=yield*(0,h.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const d=Object.assign({},i,{targets:n.targets});const toDescriptor=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(toDescriptor);const y=u.map(toDescriptor);const g=[[]];const b=[];const T=[];const S=yield*enhanceError(i,(function*recursePresetDescriptors(e,t){const r=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.options!==false){try{var n=yield*loadPresetDescriptor(i,d)}catch(t){if(t.code==="BABEL_UNKNOWN_OPTION"){(0,p.checkNoUnwrappedItemOptionPairs)(e,s,"preset",t)}throw t}T.push(n.externalDependencies);if(i.ownPass){r.push({preset:n.chain,pass:[]})}else{r.unshift({preset:n.chain,pass:t})}}}if(r.length>0){g.splice(1,0,...r.map((e=>e.pass)).filter((e=>e!==t)));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach((e=>{(0,s.mergeOptions)(l,e)}))}}}))(m,g[0]);if(S)return null;const E=l;(0,s.mergeOptions)(E,n);const x=Object.assign({},d,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,(function*loadPluginDescriptors(){g[0].unshift(...y);for(const t of g){const r=[];b.push(r);for(let n=0;n<t.length;n++){const s=t[n];if(s.options!==false){try{var e=yield*loadPluginDescriptor(s,x)}catch(e){if(e.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"){(0,p.checkNoUnwrappedItemOptionPairs)(t,n,"plugin",e)}throw e}r.push(e);T.push(e.externalDependencies)}}}}))();E.plugins=b[0];E.presets=b.slice(1).filter((e=>e.length>0)).map((e=>({plugins:e})));E.passPerPreset=E.presets.length>0;return{options:E,passes:b,externalDependencies:(0,c.finalize)(T)}}));t["default"]=y;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){t.message=`[BABEL] ${e.filename||"unknown"}: ${t.message}`}throw t}}}const makeDescriptorLoader=e=>(0,u.makeWeakCache)((function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};const l=[];let u=t;if(typeof t==="function"){const c=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o,l));try{u=yield*c(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!u||typeof u!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(u)){yield*[];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(a)})`)}if(l.length>0&&(!o.configured()||o.mode()==="forever")){let e=`A plugin/preset has external untracked dependencies `+`(${l[0]}), but the cache `;if(!o.configured()){e+=`has not been configured to be invalidated when the external dependencies change. `}else{e+=` has been configured to never be invalidated. `}e+=`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(a)})`;throw new Error(e)}return{value:u,options:r,dirname:s,alias:a,externalDependencies:(0,c.finalize)(l)}}));const g=makeDescriptorLoader(d.makePluginAPI);const b=makeDescriptorLoader(d.makePresetAPI);function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*T(yield*g(e,t),t)}const T=(0,u.makeWeakCache)((function*({value:e,options:t,dirname:r,alias:s,externalDependencies:i},o){const l=(0,f.validatePluginObject)(e);const u=Object.assign({},l);if(u.visitor){u.visitor=_traverse().default.explode(Object.assign({},u.visitor))}if(u.inherits){const e={name:undefined,alias:`${s}$inherits`,value:u.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,(t=>o.invalidate((r=>t(e,r)))));u.pre=chain(a.pre,u.pre);u.post=chain(a.post,u.post);u.manipulateOptions=chain(a.manipulateOptions,u.manipulateOptions);u.visitor=_traverse().default.visitors.merge([a.visitor||{},u.visitor||{}]);if(a.externalDependencies.length>0){if(i.length===0){i=a.externalDependencies}else{i=(0,c.finalize)([i,a.externalDependencies])}}}return new a.default(u,t,s,i)}));const validateIfOptionNeedsFilename=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const validatePreset=(e,t,r)=>{if(!t.filename){const{options:t}=e;validateIfOptionNeedsFilename(t,r);if(t.overrides){t.overrides.forEach((e=>validateIfOptionNeedsFilename(e,r)))}}};function*loadPresetDescriptor(e,t){const r=S(yield*b(e,t));validatePreset(r,t,e);return{chain:yield*(0,l.buildPresetChain)(r,t),externalDependencies:r.externalDependencies}}const S=(0,u.makeWeakCacheSync)((({value:e,dirname:t,alias:r,externalDependencies:n})=>({options:(0,p.validate)("preset",e),alias:r,dirname:t,externalDependencies:n})));function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}},62:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePluginAPI=makePluginAPI;t.makePresetAPI=makePresetAPI;function _semver(){const e=r(7849);_semver=function(){return e};return e}var n=r(7782);var s=r(7613);var i=r(7120);function makeConfigAPI(e){const env=t=>e.using((e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}if(!Array.isArray(t))t=[t];return t.some((t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName}))}));const caller=t=>e.using((e=>(0,s.assertSimpleType)(t(e.caller))));return{version:n.version,cache:e.simple(),env:env,async:()=>false,caller:caller,assertVersion:assertVersion}}function makePresetAPI(e,t){const targets=()=>JSON.parse(e.using((e=>JSON.stringify(e.targets))));const addExternalDependency=e=>{t.push(e)};return Object.assign({},makeConfigAPI(e),{targets:targets,addExternalDependency:addExternalDependency})}function makePluginAPI(e,t){const assumption=t=>e.using((e=>e.assumptions[t]));return Object.assign({},makePresetAPI(e,t),{assumption:assumption})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}},6861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.finalize=finalize;t.flattenToSet=flattenToSet;function finalize(e){return Object.freeze(e)}function flattenToSet(e){const t=new Set;const r=[e];while(r.length>0){for(const e of r.pop()){if(Array.isArray(e))r.push(e);else t.add(e)}}return t}},876:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}},4198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;t.createConfigItemSync=t.createConfigItemAsync=void 0;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.loadPartialConfigSync=t.loadPartialConfigAsync=t.loadPartialConfig=t.loadOptionsSync=t.loadOptionsAsync=t.loadOptions=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(5958);var s=r(3525);var i=r(8869);const a=_gensync()((function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null}));const o=_gensync()(i.createConfigItem);const maybeErrback=e=>(t,r)=>{if(r===undefined&&typeof t==="function"){r=t;t=undefined}return r?e.errback(t,r):e.sync(t)};const l=maybeErrback(s.loadPartialConfig);t.loadPartialConfig=l;const c=s.loadPartialConfig.sync;t.loadPartialConfigSync=c;const u=s.loadPartialConfig.async;t.loadPartialConfigAsync=u;const p=maybeErrback(a);t.loadOptions=p;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const h=o.sync;t.createConfigItemSync=h;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,r){if(r!==undefined){return o.errback(e,t,r)}else if(typeof t==="function"){return o.errback(e,undefined,r)}else{return o.sync(e,t)}}},8869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;t.createItemFromDescriptor=createItemFromDescriptor;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(7088);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}const s=Symbol.for("@babel/core@7 - ConfigItem");class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype)},3525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(1017);_path=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(5775);var s=r(8499);var i=r(8869);var a=r(6539);var o=r(876);var l=r(1157);var c=r(6936);var u=r(8595);const p=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:p=".",rootMode:f="root",caller:d,cloneInputAst:h=true}=t;const m=_path().resolve(n);const y=resolveRootMode(_path().resolve(m,p),f);const g=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(m);const T={filename:g,cwd:m,root:y,envName:r,caller:d,showConfig:b===g};const S=yield*(0,a.buildRootChain)(t,T);if(!S)return null;const E={assumptions:{}};S.options.forEach((e=>{(0,s.mergeOptions)(E,e)}));const x=Object.assign({},E,{targets:(0,u.resolveTargets)(E,y),cloneInputAst:h,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:T.envName,cwd:T.cwd,root:T.root,rootMode:"root",filename:typeof T.filename==="string"?T.filename:undefined,plugins:S.plugins.map((e=>(0,i.createItemFromDescriptor)(e))),presets:S.presets.map((e=>(0,i.createItemFromDescriptor)(e)))});return{options:x,context:T,fileHandling:S.fileHandling,ignore:S.ignore,babelrc:S.babelrc,config:S.config,files:S.files}}const f=_gensync()((function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,p);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:c,files:u}=s;if(c==="ignored"&&!t){return null}(i.plugins||[]).forEach((e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}}));return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,u)}));t.loadPartialConfig=f;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype)},6209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=pathToPattern;function _path(){const e=r(1017);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map(((e,t)=>{const u=t===r.length-1;if(e==="**")return u?c:l;if(e==="*")return u?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(u?s:n)}return escapeRegExp(e)+(u?s:n)}))].join(""))}},5775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(6861);class Plugin{constructor(e,t,r,s=(0,n.finalize)([])){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.externalDependencies=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t;this.externalDependencies=s}}t["default"]=Plugin},2806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map((e=>descriptorToConfig(e)))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map((e=>descriptorToConfig(e)))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().slice(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map((e=>ConfigPrinter.format(e))));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter},8595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(1017);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(8479);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){let r=e.targets;if(typeof r==="string"||Array.isArray(r)){r={browsers:r}}if(r&&r.esmodules){r=Object.assign({},r,{esmodules:"intersect"})}const{browserslistConfigFile:n}=e;let s;let i=false;if(typeof n==="string"){s=n}else{i=n===false}return(0,_helperCompilationTargets().default)(r,{ignoreBrowserslistConfig:i,configFile:s,configPath:t,browserslistEnv:e.browserslistEnv})}},8499:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIterableIterator=isIterableIterator;t.mergeOptions=mergeOptions;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}},5183:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.access=access;t.assertArray=assertArray;t.assertAssumptions=assertAssumptions;t.assertBabelrcSearch=assertBabelrcSearch;t.assertBoolean=assertBoolean;t.assertCallerMetadata=assertCallerMetadata;t.assertCompact=assertCompact;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertFunction=assertFunction;t.assertIgnoreList=assertIgnoreList;t.assertInputSourceMap=assertInputSourceMap;t.assertObject=assertObject;t.assertPluginList=assertPluginList;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertSourceType=assertSourceType;t.assertString=assertString;t.assertTargets=assertTargets;t.msg=msg;function _helperCompilationTargets(){const e=r(8479);_helperCompilationTargets=function(){return e};return e}var n=r(1157);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach(((t,r)=>assertIgnoreItem(access(e,r),t)))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined)return t;if(Array.isArray(t)){t.forEach(((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}}))}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean")return t;if(Array.isArray(t)){t.forEach(((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}}))}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach(((t,r)=>assertPluginItem(access(e,r),t)))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}},1157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assumptionsNames=void 0;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.validate=validate;var n=r(5775);var s=r(7419);var i=r(5183);const a={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString};const o={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch};const l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString};const c={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};{Object.assign(c,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString})}const u=["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"];const p=new Set(u);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t){return validateNested({type:"root",source:e},t)}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach((n=>{const s={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,i.msg)(s)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,i.msg)(s)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,i.msg)(s)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const u=c[n]||l[n]||o[n]||a[n]||throwUnknownError;u(s,t[n])}));return t}function throwUnknownError(e){const t=e.name;if(s.default[t]){const{message:r,version:n=5}=s.default[t];throw new Error(`Using removed Babel ${n} option: ${(0,i.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,i.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const s=(0,i.assertObject)((0,i.access)(e,t),n[t]);if(!s)continue;const a={type:"env",name:t,parent:r};validateNested(a,s)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,i.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,i.assertArray)(e,t);if(n){for(const[t,s]of n.entries()){const n=(0,i.access)(e,t);const a=(0,i.assertObject)(n,s);if(!a)throw new Error(`${(0,i.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}s": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}},5918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(5183);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach((e=>assertVisitorHandler(e,r[e])));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach((t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}}))}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach((r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}}));return e}},7419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t["default"]=r},5398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.forwardAsync=forwardAsync;t.isAsync=void 0;t.isThenable=isThenable;t.maybeAsync=maybeAsync;t.waitFor=t.onFirstPause=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const id=e=>e;const n=_gensync()((function*(e){return yield*e}));const s=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=s;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const i=_gensync()({sync:e=>e("sync"),async:e=>e("async")});function forwardAsync(e,t){const r=_gensync()(e);return i((e=>{const n=r[e];return t(n)}))}const a=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return n.sync(e)},errback:function(e,t,r){let s=false;n.errback(e,((e,t)=>{s=true;r(e,t)}));if(!s){t()}}});t.onFirstPause=a;const o=_gensync()({sync:id,async:id});t.waitFor=o;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},3575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(7147);_fs=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s},7782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});t.OptionManager=void 0;t.Plugin=Plugin;Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return p.parse}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return p.parseAsync}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return p.parseSync}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty(t,"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return u.transformFromAst}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return u.transformFromAstAsync}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return u.transformFromAstSync}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return _traverse().default}});t.version=t.types=void 0;var n=r(8290);var s=r(7598);var i=r(6936);var a=r(876);function _types(){const e=r(6953);_types=function(){return e};return e}Object.defineProperty(t,"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(9113);_parser=function(){return e};return e}function _traverse(){const e=r(7734);_traverse=function(){return e};return e}function _template(){const e=r(5292);_template=function(){return e};return e}var o=r(4198);var l=r(99);var c=r(8914);var u=r(1120);var p=r(7505);const f="7.18.0";t.version=f;const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;class OptionManager{init(e){return(0,o.loadOptions)(e)}}t.OptionManager=OptionManager;function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}},7505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseSync=t.parseAsync=t.parse=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4198);var s=r(9722);var i=r(9838);const a=_gensync()((function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)}));const o=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return a.sync(e,t);a.errback(e,t,r)};t.parse=o;const l=a.sync;t.parseSync=l;const c=a.async;t.parseAsync=c},9722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parser;function _parser(){const e=r(9113);_parser=function(){return e};return e}function _codeFrame(){const e=r(1811);_codeFrame=function(){return e};return e}var n=r(831);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const r=[];for(const n of e){for(const e of n){const{parserOverride:n}=e;if(n){const e=n(i,t,_parser().parse);if(e!==undefined)r.push(e)}}}if(r.length===0){return(0,_parser().parse)(i,t)}else if(r.length===1){yield*[];if(typeof r[0].then==="function"){throw new Error(`You appear to be using an async parser 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.`)}return r[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}},831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-proposal-private-methods",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://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-static-block"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-namespace-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-numeric-separator"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-optional-chaining"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",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://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://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://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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-proposal-async-generator-functions",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-proposal-object-rest-spread",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-optional-catch-binding"}}};r.privateIn.syntax=r.privateIn.transform;const getNameURLCombination=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,n){let s=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+n;const i=r[e];if(i){const{syntax:e,transform:t}=i;if(e){const r=getNameURLCombination(e);if(t){const e=getNameURLCombination(t);const n=t.name.startsWith("@babel/plugin")?"plugins":"presets";s+=`\n\nAdd ${e} to the '${n}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{s+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return s}},7598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;function helpers(){const e=r(5262);helpers=function(){return e};return e}function _generator(){const e=r(3136);_generator=function(){return e};return e}function _template(){const e=r(5292);_template=function(){return e};return e}function _t(){const e=r(6953);_t=function(){return e};return e}var n=r(8290);const{arrayExpression:s,assignmentExpression:i,binaryExpression:a,blockStatement:o,callExpression:l,cloneNode:c,conditionalExpression:u,exportNamedDeclaration:p,exportSpecifier:f,expressionStatement:d,functionExpression:h,identifier:m,memberExpression:y,objectExpression:g,program:b,stringLiteral:T,unaryExpression:S,variableDeclaration:E,variableDeclarator:x}=_t();const buildUmdWrapper=e=>_template().default.statement` +(()=>{var e={5179:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t}))}webpackEmptyAsyncContext.keys=()=>[];webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=5179;e.exports=webpackEmptyAsyncContext},3914:function(e,t,r){(function(t,n){true?e.exports=n(r(4614),r(5328)):0})(this,(function(e,t){"use strict";const r=SegmentObject("",-1,-1,"",null);const n=[];function SegmentObject(e,t,r,n,s){return{source:e,line:t,column:r,name:n,content:s}}function Source(e,t,r,n){return{map:e,sources:t,source:r,content:n}}function MapSource(e,t){return Source(e,t,"",null)}function OriginalSource(e,t){return Source(null,n,e,t)}function traceMappings(n){const s=new t.GenMapping({file:n.map.file});const{sources:i,map:a}=n;const o=a.names;const l=e.decodedMappings(a);for(let e=0;e<l.length;e++){const n=l[e];for(let a=0;a<n.length;a++){const l=n[a];const c=l[0];let u=r;if(l.length!==1){const e=i[l[1]];u=originalPositionFor(e,l[2],l[3],l.length===5?o[l[4]]:"");if(u==null)continue}const{column:p,line:f,name:d,content:h,source:m}=u;t.maybeAddSegment(s,e,c,m,f,p,d);if(m&&h!=null)t.setSourceContent(s,m,h)}}return s}function originalPositionFor(t,n,s,i){if(!t.map){return SegmentObject(t.source,n,s,i,t.content)}const a=e.traceSegment(t.map,n,s);if(a==null)return null;if(a.length===1)return r;return originalPositionFor(t.sources[a[1]],a[2],a[3],a.length===5?t.map.names[a[4]]:i)}function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(t,r){const n=asArray(t).map((t=>new e.TraceMap(t,"")));const s=n.pop();for(let e=0;e<n.length;e++){if(n[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\n`+"Did you specify these with the most recent transformation maps first?")}}let i=build(s,r,"",0);for(let e=n.length-1;e>=0;e--){i=MapSource(n[e],[i])}return i}function build(t,r,n,s){const{resolvedSources:i,sourcesContent:a}=t;const o=s+1;const l=i.map(((t,s)=>{const i={importer:n,depth:o,source:t||"",content:undefined};const l=r(i.source,i);const{source:c,content:u}=i;if(l)return build(new e.TraceMap(l,c),r,c,o);const p=u!==undefined?u:a?a[s]:null;return OriginalSource(c,p)}));return MapSource(t,l)}class SourceMap{constructor(e,r){const n=r.decodedMappings?t.toDecodedMap(e):t.toEncodedMap(e);this.version=n.version;this.file=n.file;this.mappings=n.mappings;this.names=n.names;this.sourceRoot=n.sourceRoot;this.sources=n.sources;if(!r.excludeContent){this.sourcesContent=n.sourcesContent}}toString(){return JSON.stringify(this)}}function remapping(e,t,r){const n=typeof r==="object"?r:{excludeContent:!!r,decodedMappings:false};const s=buildSourceMapTree(e,t);return new SourceMap(traceMappings(s),n)}return remapping}))},5328:function(e,t,r){(function(e,n){true?n(t,r(7168),r(1575),r(4614)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;e.addSegment=void 0;e.addMapping=void 0;e.maybeAddSegment=void 0;e.maybeAddMapping=void 0;e.setSourceContent=void 0;e.toDecodedMap=void 0;e.toEncodedMap=void 0;e.fromMap=void 0;e.allMappings=void 0;let u;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r}}(()=>{e.addSegment=(e,t,r,n,s,i,a,o)=>u(false,e,t,r,n,s,i,a,o);e.maybeAddSegment=(e,t,r,n,s,i,a,o)=>u(true,e,t,r,n,s,i,a,o);e.addMapping=(e,t)=>addMappingInternal(false,e,t);e.maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);e.setSourceContent=(e,r,n)=>{const{_sources:s,_sourcesContent:i}=e;i[t.put(s,r)]=n};e.toDecodedMap=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:i,_names:a}=e;removeEmptyFinalLines(n);return{version:3,file:t||undefined,names:a.array,sourceRoot:r||undefined,sources:s.array,sourcesContent:i,mappings:n}};e.toEncodedMap=t=>{const n=e.toDecodedMap(t);return Object.assign(Object.assign({},n),{mappings:r.encode(n.mappings)})};e.allMappings=e=>{const t=[];const{_mappings:r,_sources:n,_names:c}=e;for(let e=0;e<r.length;e++){const u=r[e];for(let r=0;r<u.length;r++){const p=u[r];const f={line:e+1,column:p[s]};let d=undefined;let h=undefined;let m=undefined;if(p.length!==1){d=n.array[p[i]];h={line:p[a]+1,column:p[o]};if(p.length===5)m=c.array[p[l]]}t.push({generated:f,source:d,original:h,name:m})}}return t};e.fromMap=e=>{const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(r._names,t.names);putAll(r._sources,t.sources);r._sourcesContent=t.sourcesContent||t.sources.map((()=>null));r._mappings=n.decodedMappings(t);return r};u=(e,r,n,s,i,a,o,l,u)=>{const{_mappings:p,_sources:f,_sourcesContent:d,_names:h}=r;const m=getLine(p,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(f,i);const b=l?t.put(h,l):c;if(g===d.length)d[g]=u!==null&&u!==void 0?u:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}})();function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,u){if(t===0)return false;const p=e[t-1];if(p.length===1)return false;return r===p[i]&&n===p[a]&&s===p[o]&&u===(p.length===5?p[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return u(e,t,n.line-1,n.column,null,null,null,null,null)}const l=s;return u(e,t,n.line-1,n.column,l,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;Object.defineProperty(e,"__esModule",{value:true})}))},2987:function(e,t,r){(function(e,n){true?n(t,r(7168),r(1575),r(4614)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;e.addSegment=void 0;e.addMapping=void 0;e.maybeAddSegment=void 0;e.maybeAddMapping=void 0;e.setSourceContent=void 0;e.toDecodedMap=void 0;e.toEncodedMap=void 0;e.fromMap=void 0;e.allMappings=void 0;let u;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r}}(()=>{e.addSegment=(e,t,r,n,s,i,a,o)=>u(false,e,t,r,n,s,i,a,o);e.maybeAddSegment=(e,t,r,n,s,i,a,o)=>u(true,e,t,r,n,s,i,a,o);e.addMapping=(e,t)=>addMappingInternal(false,e,t);e.maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);e.setSourceContent=(e,r,n)=>{const{_sources:s,_sourcesContent:i}=e;i[t.put(s,r)]=n};e.toDecodedMap=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:i,_names:a}=e;removeEmptyFinalLines(n);return{version:3,file:t||undefined,names:a.array,sourceRoot:r||undefined,sources:s.array,sourcesContent:i,mappings:n}};e.toEncodedMap=t=>{const n=e.toDecodedMap(t);return Object.assign(Object.assign({},n),{mappings:r.encode(n.mappings)})};e.allMappings=e=>{const t=[];const{_mappings:r,_sources:n,_names:c}=e;for(let e=0;e<r.length;e++){const u=r[e];for(let r=0;r<u.length;r++){const p=u[r];const f={line:e+1,column:p[s]};let d=undefined;let h=undefined;let m=undefined;if(p.length!==1){d=n.array[p[i]];h={line:p[a]+1,column:p[o]};if(p.length===5)m=c.array[p[l]]}t.push({generated:f,source:d,original:h,name:m})}}return t};e.fromMap=e=>{const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(r._names,t.names);putAll(r._sources,t.sources);r._sourcesContent=t.sourcesContent||t.sources.map((()=>null));r._mappings=n.decodedMappings(t);return r};u=(e,r,n,s,i,a,o,l,u)=>{const{_mappings:p,_sources:f,_sourcesContent:d,_names:h}=r;const m=getLine(p,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(f,i);const b=l?t.put(h,l):c;if(g===d.length)d[g]=u!==null&&u!==void 0?u:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}})();function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,u){if(t===0)return false;const p=e[t-1];if(p.length===1)return false;return r===p[i]&&n===p[a]&&s===p[o]&&u===(p.length===5?p[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return u(e,t,n.line-1,n.column,null,null,null,null,null)}const l=s;return u(e,t,n.line-1,n.column,l,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;Object.defineProperty(e,"__esModule",{value:true})}))},6982:function(e){(function(t,r){true?e.exports=r():0})(this,(function(){"use strict";const e=/^[\w+.-]+:\/\//;const t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;const r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(e){e[e["Empty"]=1]="Empty";e[e["Hash"]=2]="Hash";e[e["Query"]=3]="Query";e[e["RelativePath"]=4]="RelativePath";e[e["AbsolutePath"]=5]="AbsolutePath";e[e["SchemeRelative"]=6]="SchemeRelative";e[e["Absolute"]=7]="Absolute"})(n||(n={}));function isAbsoluteUrl(t){return e.test(t)}function isSchemeRelativeUrl(e){return e.startsWith("//")}function isAbsolutePath(e){return e.startsWith("/")}function isFileUrl(e){return e.startsWith("file:")}function isRelative(e){return/^[.?#]/.test(e)}function parseAbsoluteUrl(e){const r=t.exec(e);return makeUrl(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function parseFileUrl(e){const t=r.exec(e);const n=t[2];return makeUrl("file:","",t[1]||"","",isAbsolutePath(n)?n:"/"+n,t[3]||"",t[4]||"")}function makeUrl(e,t,r,s,i,a,o){return{scheme:e,user:t,host:r,port:s,path:i,query:a,hash:o,type:n.Absolute}}function parseUrl(e){if(isSchemeRelativeUrl(e)){const t=parseAbsoluteUrl("http:"+e);t.scheme="";t.type=n.SchemeRelative;return t}if(isAbsolutePath(e)){const t=parseAbsoluteUrl("http://foo.com"+e);t.scheme="";t.host="";t.type=n.AbsolutePath;return t}if(isFileUrl(e))return parseFileUrl(e);if(isAbsoluteUrl(e))return parseAbsoluteUrl(e);const t=parseAbsoluteUrl("http://foo.com/"+e);t.scheme="";t.host="";t.type=e?e.startsWith("?")?n.Query:e.startsWith("#")?n.Hash:n.RelativePath:n.Empty;return t}function stripPathFilename(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}function mergePaths(e,t){normalizePath(t,t.type);if(e.path==="/"){e.path=t.path}else{e.path=stripPathFilename(t.path)+e.path}}function normalizePath(e,t){const r=t<=n.RelativePath;const s=e.path.split("/");let i=1;let a=0;let o=false;for(let e=1;e<s.length;e++){const t=s[e];if(!t){o=true;continue}o=false;if(t===".")continue;if(t===".."){if(a){o=true;a--;i--}else if(r){s[i++]=t}continue}s[i++]=t;a++}let l="";for(let e=1;e<i;e++){l+="/"+s[e]}if(!l||o&&!l.endsWith("/..")){l+="/"}e.path=l}function resolve(e,t){if(!e&&!t)return"";const r=parseUrl(e);let s=r.type;if(t&&s!==n.Absolute){const e=parseUrl(t);const i=e.type;switch(s){case n.Empty:r.hash=e.hash;case n.Hash:r.query=e.query;case n.Query:case n.RelativePath:mergePaths(r,e);case n.AbsolutePath:r.user=e.user;r.host=e.host;r.port=e.port;case n.SchemeRelative:r.scheme=e.scheme}if(i>s)s=i}normalizePath(r,s);const i=r.query+r.hash;switch(s){case n.Hash:case n.Query:return i;case n.RelativePath:{const n=r.path.slice(1);if(!n)return i||".";if(isRelative(t||e)&&!isRelative(n)){return"./"+n+i}return n+i}case n.AbsolutePath:return r.path+i;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+i}}return resolve}))},7168:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";e.get=void 0;e.put=void 0;e.pop=void 0;class SetArray{constructor(){this._indexes={__proto__:null};this.array=[]}}(()=>{e.get=(e,t)=>e._indexes[t];e.put=(t,r)=>{const n=e.get(t,r);if(n!==undefined)return n;const{array:s,_indexes:i}=t;return i[r]=s.push(r)-1};e.pop=e=>{const{array:t,_indexes:r}=e;if(t.length===0)return;const n=t.pop();r[n]=undefined}})();e.SetArray=SetArray;Object.defineProperty(e,"__esModule",{value:true})}))},1575:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";const t=",".charCodeAt(0);const r=";".charCodeAt(0);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const s=new Uint8Array(64);const i=new Uint8Array(128);for(let e=0;e<n.length;e++){const t=n.charCodeAt(e);s[e]=t;i[t]=e}const a=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const t=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return t.toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++){t+=String.fromCharCode(e[r])}return t}};function decode(e){const t=new Int32Array(5);const r=[];let n=0;do{const s=indexOf(e,n);const i=[];let a=true;let o=0;t[0]=0;for(let r=n;r<s;r++){let n;r=decodeInteger(e,r,t,0);const l=t[0];if(l<o)a=false;o=l;if(hasMoreVlq(e,r,s)){r=decodeInteger(e,r,t,1);r=decodeInteger(e,r,t,2);r=decodeInteger(e,r,t,3);if(hasMoreVlq(e,r,s)){r=decodeInteger(e,r,t,4);n=[l,t[1],t[2],t[3],t[4]]}else{n=[l,t[1],t[2],t[3]]}}else{n=[l]}i.push(n)}if(!a)sort(i);r.push(i);n=s+1}while(n<=e.length);return r}function indexOf(e,t){const r=e.indexOf(";",t);return r===-1?e.length:r}function decodeInteger(e,t,r,n){let s=0;let a=0;let o=0;do{const r=e.charCodeAt(t++);o=i[r];s|=(o&31)<<a;a+=5}while(o&32);const l=s&1;s>>>=1;if(l){s=-2147483648|-s}r[n]+=s;return t}function hasMoreVlq(e,r,n){if(r>=n)return false;return e.charCodeAt(r)!==t}function sort(e){e.sort(sortComparator)}function sortComparator(e,t){return e[0]-t[0]}function encode(e){const n=new Int32Array(5);const s=1024*16;const i=s-36;const o=new Uint8Array(s);const l=o.subarray(0,i);let c=0;let u="";for(let p=0;p<e.length;p++){const f=e[p];if(p>0){if(c===s){u+=a.decode(o);c=0}o[c++]=r}if(f.length===0)continue;n[0]=0;for(let e=0;e<f.length;e++){const r=f[e];if(c>i){u+=a.decode(l);o.copyWithin(0,i,c);c-=i}if(e>0)o[c++]=t;c=encodeInteger(o,c,n,r,0);if(r.length===1)continue;c=encodeInteger(o,c,n,r,1);c=encodeInteger(o,c,n,r,2);c=encodeInteger(o,c,n,r,3);if(r.length===4)continue;c=encodeInteger(o,c,n,r,4)}}return u+a.decode(o.subarray(0,c))}function encodeInteger(e,t,r,n,i){const a=n[i];let o=a-r[i];r[i]=a;o=o<0?-o<<1|1:o<<1;do{let r=o&31;o>>>=5;if(o>0)r|=32;e[t++]=s[r]}while(o>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},4614:function(e,t,r){(function(e,n){true?n(t,r(1575),r(6982)):0})(this,(function(e,t,r){"use strict";function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var n=_interopDefaultLegacy(r);function resolve(e,t){if(t&&!t.endsWith("/"))t+="/";return n["default"](e,t)}function stripFilename(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}const s=0;const i=1;const a=2;const o=3;const l=4;const c=1;const u=2;function maybeSort(e,t){const r=nextUnsortedSegmentLine(e,0);if(r===e.length)return e;if(!t)e=e.slice();for(let n=r;n<e.length;n=nextUnsortedSegmentLine(e,n+1)){e[n]=sortSegments(e[n],t)}return e}function nextUnsortedSegmentLine(e,t){for(let r=t;r<e.length;r++){if(!isSorted(e[r]))return r}return e.length}function isSorted(e){for(let t=1;t<e.length;t++){if(e[t][s]<e[t-1][s]){return false}}return true}function sortSegments(e,t){if(!t)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,t){return e[s]-t[s]}let p=false;function binarySearch(e,t,r,n){while(r<=n){const i=r+(n-r>>1);const a=e[i][s]-t;if(a===0){p=true;return i}if(a<0){r=i+1}else{n=i-1}}p=false;return r-1}function upperBound(e,t,r){for(let n=r+1;n<e.length;r=n++){if(e[n][s]!==t)break}return r}function lowerBound(e,t,r){for(let n=r-1;n>=0;r=n--){if(e[n][s]!==t)break}return r}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,t,r,n){const{lastKey:i,lastNeedle:a,lastIndex:o}=r;let l=0;let c=e.length-1;if(n===i){if(t===a){p=o!==-1&&e[o][s]===t;return o}if(t>=a){l=o===-1?0:o}else{c=o}}r.lastKey=n;r.lastNeedle=t;return r.lastIndex=binarySearch(e,t,l,c)}function buildBySources(e,t){const r=t.map(buildNullArray);for(let n=0;n<e.length;n++){const l=e[n];for(let e=0;e<l.length;e++){const c=l[e];if(c.length===1)continue;const u=c[i];const p=c[a];const f=c[o];const d=r[u];const h=d[p]||(d[p]=[]);const m=t[u];const y=upperBound(h,f,memoizedBinarySearch(h,f,m,p));insert(h,m.lastIndex=y+1,[f,n,c[s]])}}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function buildNullArray(){return{__proto__:null}}const AnyMap=function(t,r){const n=typeof t==="string"?JSON.parse(t):t;if(!("sections"in n))return new TraceMap(n,r);const s=[];const i=[];const a=[];const o=[];recurse(n,r,s,i,a,o,0,0,Infinity,Infinity);const l={version:3,file:n.file,names:o,sources:i,sourcesContent:a,mappings:s};return e.presortedDecodedMap(l)};function recurse(e,t,r,n,s,i,a,o,l,c){const{sections:u}=e;for(let e=0;e<u.length;e++){const{map:p,offset:f}=u[e];let d=l;let h=c;if(e+1<u.length){const t=u[e+1].offset;d=Math.min(l,a+t.line);if(d===l){h=Math.min(c,o+t.column)}else if(d<l){h=o+t.column}}addSection(p,t,r,n,s,i,a+f.line,o+f.column,d,h)}}function addSection(t,r,n,c,u,p,f,d,h,m){if("sections"in t)return recurse(...arguments);const y=new TraceMap(t,r);const g=c.length;const b=p.length;const T=e.decodedMappings(y);const{resolvedSources:S,sourcesContent:E}=y;append(c,S);append(p,y.names);if(E)append(u,E);else for(let e=0;e<S.length;e++)u.push(null);for(let e=0;e<T.length;e++){const t=f+e;if(t>h)return;const r=getLine(n,t);const c=e===0?d:0;const u=T[e];for(let e=0;e<u.length;e++){const n=u[e];const p=c+n[s];if(t===h&&p>=m)return;if(n.length===1){r.push([p]);continue}const f=g+n[i];const d=n[a];const y=n[o];r.push(n.length===4?[p,f,d,y]:[p,f,d,y,b+n[l]])}}}function append(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function getLine(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}const f="`line` must be greater than 0 (lines start at line 1)";const d="`column` must be greater than or equal to 0 (columns start at column 0)";const h=-1;const m=1;e.encodedMappings=void 0;e.decodedMappings=void 0;e.traceSegment=void 0;e.originalPositionFor=void 0;e.generatedPositionFor=void 0;e.allGeneratedPositionsFor=void 0;e.eachMapping=void 0;e.sourceContentFor=void 0;e.presortedDecodedMap=void 0;e.decodedMap=void 0;e.encodedMap=void 0;class TraceMap{constructor(e,t){const r=typeof e==="string";if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e;const{version:s,file:i,names:a,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s;this.file=i;this.names=a;this.sourceRoot=o;this.sources=l;this.sourcesContent=c;const u=resolve(o||"",stripFilename(t));this.resolvedSources=l.map((e=>resolve(e||"",u)));const{mappings:p}=n;if(typeof p==="string"){this._encoded=p;this._decoded=undefined}else{this._encoded=undefined;this._decoded=maybeSort(p,r)}this._decodedMemo=memoizedState();this._bySources=undefined;this._bySourceMemos=undefined}}(()=>{e.encodedMappings=e=>{var r;return(r=e._encoded)!==null&&r!==void 0?r:e._encoded=t.encode(e._decoded)};e.decodedMappings=e=>e._decoded||(e._decoded=t.decode(e._encoded));e.traceSegment=(t,r,n)=>{const s=e.decodedMappings(t);if(r>=s.length)return null;const i=s[r];const a=traceSegmentInternal(i,t._decodedMemo,r,n,m);return a===-1?null:i[a]};e.originalPositionFor=(t,{line:r,column:n,bias:s})=>{r--;if(r<0)throw new Error(f);if(n<0)throw new Error(d);const c=e.decodedMappings(t);if(r>=c.length)return OMapping(null,null,null,null);const u=c[r];const p=traceSegmentInternal(u,t._decodedMemo,r,n,s||m);if(p===-1)return OMapping(null,null,null,null);const h=u[p];if(h.length===1)return OMapping(null,null,null,null);const{names:y,resolvedSources:g}=t;return OMapping(g[h[i]],h[a]+1,h[o],h.length===5?y[h[l]]:null)};e.allGeneratedPositionsFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||h,true);e.generatedPositionFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||m,false);e.eachMapping=(t,r)=>{const n=e.decodedMappings(t);const{names:s,resolvedSources:i}=t;for(let e=0;e<n.length;e++){const t=n[e];for(let n=0;n<t.length;n++){const a=t[n];const o=e+1;const l=a[0];let c=null;let u=null;let p=null;let f=null;if(a.length!==1){c=i[a[1]];u=a[2]+1;p=a[3]}if(a.length===5)f=s[a[4]];r({generatedLine:o,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}};e.sourceContentFor=(e,t)=>{const{sources:r,resolvedSources:n,sourcesContent:s}=e;if(s==null)return null;let i=r.indexOf(t);if(i===-1)i=n.indexOf(t);return i===-1?null:s[i]};e.presortedDecodedMap=(e,t)=>{const r=new TraceMap(clone(e,[]),t);r._decoded=e.mappings;return r};e.decodedMap=t=>clone(t,e.decodedMappings(t));e.encodedMap=t=>clone(t,e.encodedMappings(t));function generatedPosition(t,r,n,s,i,a){n--;if(n<0)throw new Error(f);if(s<0)throw new Error(d);const{sources:o,resolvedSources:l}=t;let p=o.indexOf(r);if(p===-1)p=l.indexOf(r);if(p===-1)return a?[]:GMapping(null,null);const h=t._bySources||(t._bySources=buildBySources(e.decodedMappings(t),t._bySourceMemos=o.map(memoizedState)));const m=h[p][n];if(m==null)return a?[]:GMapping(null,null);const y=t._bySourceMemos[p];if(a)return sliceGeneratedPositions(m,y,n,s,i);const g=traceSegmentInternal(m,y,n,s,i);if(g===-1)return GMapping(null,null);const b=m[g];return GMapping(b[c]+1,b[u])}})();function clone(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t}}function OMapping(e,t,r,n){return{source:e,line:t,column:r,name:n}}function GMapping(e,t){return{line:e,column:t}}function traceSegmentInternal(e,t,r,n,s){let i=memoizedBinarySearch(e,n,t,r);if(p){i=(s===h?upperBound:lowerBound)(e,n,i)}else if(s===h)i++;if(i===-1||i===e.length)return-1;return i}function sliceGeneratedPositions(e,t,r,n,i){let a=traceSegmentInternal(e,t,r,n,m);if(!p&&i===h)a++;if(a===-1||a===e.length)return[];const o=p?n:e[a][s];if(!p)a=lowerBound(e,o,a);const l=upperBound(e,o,a);const f=[];for(;a<=l;a++){const t=e[a];f.push(GMapping(t[c]+1,t[u]))}return f}e.AnyMap=AnyMap;e.GREATEST_LOWER_BOUND=m;e.LEAST_UPPER_BOUND=h;e.TraceMap=TraceMap;Object.defineProperty(e,"__esModule",{value:true})}))},8535:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(9054);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={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],gray:[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]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const s=n[r];t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="";t.bgColor.close="";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},6148:(e,t,r)=>{"use strict";const n=r(7379);const s=r(8535);const i=r(7220).stdout;const a=r(5299);const o=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const c=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=i?i.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(o){s.blue.open=""}for(const e of Object.keys(s)){s[e].closeRe=new RegExp(n(s[e].close),"g");u[e]={get(){const t=s[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}u.visible={get(){return build.call(this,this._styles||[],true,"visible")}};s.color.closeRe=new RegExp(n(s.color.close),"g");for(const e of Object.keys(s.color.ansi)){if(c.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=s.color[l[t]][e].apply(null,arguments);const n={open:r,close:s.color.close,closeRe:s.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(const e of Object.keys(s.bgColor.ansi)){if(c.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=s.bgColor[l[t]][e].apply(null,arguments);const n={open:r,close:s.bgColor.close,closeRe:s.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),u);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=p;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n<t;n++){r+=" "+e[n]}}if(!this.enabled||this.level<=0||!r){return this._empty?"":r}const n=s.dim.open;if(o&&this.hasGrey){s.dim.open=""}for(const e of this._styles.slice().reverse()){r=e.open+r.replace(e.closeRe,e.open)+e.close;r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`)}s.dim.open=n;return r}function chalkTag(e,t){if(!Array.isArray(t)){return[].slice.call(arguments,1).join(" ")}const r=[].slice.call(arguments,2);const n=[t.raw[0]];for(let e=1;e<t.length;e++){n.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"));n.push(String(t.raw[e]))}return a(e,n.join(""))}Object.defineProperties(Chalk.prototype,u);e.exports=Chalk();e.exports.supportsColor=i;e.exports["default"]=e.exports},5299:e=>{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return i.get(e)||e}function parseArguments(e,t){const r=[];const i=t.trim().split(/\s*,\s*/g);let a;for(const t of i){if(!isNaN(t)){r.push(Number(t))}else if(a=t.match(n)){r.push(a[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const s=[];let i=[];r.replace(t,((t,r,a,o,l,c)=>{if(r){i.push(unescape(r))}else if(o){const t=i.join("");i=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:a,styles:parseStyle(o)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(c)}}));s.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},4117:(e,t,r)=>{var n=r(2251);var s={};for(var i in n){if(n.hasOwnProperty(i)){s[n[i]]=i}}var a=e.exports={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"]}};for(var o in a){if(a.hasOwnProperty(o)){if(!("channels"in a[o])){throw new Error("missing channels property: "+o)}if(!("labels"in a[o])){throw new Error("missing channel labels property: "+o)}if(a[o].labels.length!==a[o].channels){throw new Error("channel and label counts mismatch: "+o)}var l=a[o].channels;var c=a[o].labels;delete a[o].channels;delete a[o].labels;Object.defineProperty(a[o],"channels",{value:l});Object.defineProperty(a[o],"labels",{value:c})}}a.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.min(t,r,n);var i=Math.max(t,r,n);var a=i-s;var o;var l;var c;if(i===s){o=0}else if(t===i){o=(r-n)/a}else if(r===i){o=2+(n-t)/a}else if(n===i){o=4+(t-r)/a}o=Math.min(o*60,360);if(o<0){o+=360}c=(s+i)/2;if(i===s){l=0}else if(c<=.5){l=a/(i+s)}else{l=a/(2-i-s)}return[o,l*100,c*100]};a.rgb.hsv=function(e){var t;var r;var n;var s;var i;var a=e[0]/255;var o=e[1]/255;var l=e[2]/255;var c=Math.max(a,o,l);var u=c-Math.min(a,o,l);var diffc=function(e){return(c-e)/6/u+1/2};if(u===0){s=i=0}else{i=u/c;t=diffc(a);r=diffc(o);n=diffc(l);if(a===c){s=n-r}else if(o===c){s=1/3+t-n}else if(l===c){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,i*100,c*100]};a.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var s=a.rgb.hsl(e)[0];var i=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,i*100,n*100]};a.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s;var i;var a;var o;o=Math.min(1-t,1-r,1-n);s=(1-t-o)/(1-o)||0;i=(1-r-o)/(1-o)||0;a=(1-n-o)/(1-o)||0;return[s*100,i*100,a*100,o*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}a.rgb.keyword=function(e){var t=s[e];if(t){return t}var r=Infinity;var i;for(var a in n){if(n.hasOwnProperty(a)){var o=n[a];var l=comparativeDistance(e,o);if(l<r){r=l;i=a}}}return i};a.keyword.rgb=function(e){return n[e]};a.rgb.xyz=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805;var i=t*.2126+r*.7152+n*.0722;var a=t*.0193+r*.1192+n*.9505;return[s*100,i*100,a*100]};a.rgb.lab=function(e){var t=a.rgb.xyz(e);var r=t[0];var n=t[1];var s=t[2];var i;var o;var l;r/=95.047;n/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;i=116*n-16;o=500*(r-n);l=200*(n-s);return[i,o,l]};a.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s;var i;var a;var o;var l;if(r===0){l=n*255;return[l,l,l]}if(n<.5){i=n*(1+r)}else{i=n+r-n*r}s=2*n-i;o=[0,0,0];for(var c=0;c<3;c++){a=t+1/3*-(c-1);if(a<0){a++}if(a>1){a--}if(6*a<1){l=s+(i-s)*6*a}else if(2*a<1){l=i}else if(3*a<2){l=s+(i-s)*(2/3-a)*6}else{l=s}o[c]=l*255}return o};a.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=r;var i=Math.max(n,.01);var a;var o;n*=2;r*=n<=1?n:2-n;s*=i<=1?i:2-i;o=(n+r)/2;a=n===0?2*s/(i+s):2*r/(n+r);return[t,a*100,o*100]};a.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var s=Math.floor(t)%6;var i=t-Math.floor(t);var a=255*n*(1-r);var o=255*n*(1-r*i);var l=255*n*(1-r*(1-i));n*=255;switch(s){case 0:return[n,l,a];case 1:return[o,n,a];case 2:return[a,n,l];case 3:return[a,o,n];case 4:return[l,a,n];case 5:return[n,a,o]}};a.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=Math.max(n,.01);var i;var a;var o;o=(2-r)*n;i=(2-r)*s;a=r*s;a/=i<=1?i:2-i;a=a||0;o/=2;return[t,a*100,o*100]};a.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s=r+n;var i;var a;var o;var l;if(s>1){r/=s;n/=s}i=Math.floor(6*t);a=1-n;o=6*t-i;if((i&1)!==0){o=1-o}l=r+o*(a-r);var c;var u;var p;switch(i){default:case 6:case 0:c=a;u=l;p=r;break;case 1:c=l;u=a;p=r;break;case 2:c=r;u=a;p=l;break;case 3:c=r;u=l;p=a;break;case 4:c=l;u=r;p=a;break;case 5:c=a;u=r;p=l;break}return[c*255,u*255,p*255]};a.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s=e[3]/100;var i;var a;var o;i=1-Math.min(1,t*(1-s)+s);a=1-Math.min(1,r*(1-s)+s);o=1-Math.min(1,n*(1-s)+s);return[i*255,a*255,o*255]};a.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s;var i;var a;s=t*3.2406+r*-1.5372+n*-.4986;i=t*-.9689+r*1.8758+n*.0415;a=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;s=Math.min(Math.max(0,s),1);i=Math.min(Math.max(0,i),1);a=Math.min(Math.max(0,a),1);return[s*255,i*255,a*255]};a.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=116*r-16;i=500*(t-r);a=200*(r-n);return[s,i,a]};a.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;i=(t+16)/116;s=r/500+i;a=i-n/200;var o=Math.pow(i,3);var l=Math.pow(s,3);var c=Math.pow(a,3);i=o>.008856?o:(i-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;a=c>.008856?c:(a-16/116)/7.787;s*=95.047;i*=100;a*=108.883;return[s,i,a]};a.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;s=Math.atan2(n,r);i=s*360/2/Math.PI;if(i<0){i+=360}a=Math.sqrt(r*r+n*n);return[t,a,i]};a.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;a=n/360*2*Math.PI;s=r*Math.cos(a);i=r*Math.sin(a);return[t,s,i]};a.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var s=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];s=Math.round(s/50);if(s===0){return 30}var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(s===2){i+=60}return i};a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])};a.rgb.ansi256=function(e){var t=e[0];var r=e[1];var n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};a.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var n=(t&1)*r*255;var s=(t>>1&1)*r*255;var i=(t>>2&1)*r*255;return[n,s,i]};a.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var n=Math.floor(e/36)/5*255;var s=Math.floor((r=e%36)/6)/5*255;var i=r%6/5*255;return[n,s,i]};a.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var n=parseInt(r,16);var s=n>>16&255;var i=n>>8&255;var a=n&255;return[s,i,a]};a.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.max(Math.max(t,r),n);var i=Math.min(Math.min(t,r),n);var a=s-i;var o;var l;if(a<1){o=i/(1-a)}else{o=0}if(a<=0){l=0}else if(s===t){l=(r-n)/a%6}else if(s===r){l=2+(n-t)/a}else{l=4+(t-r)/a+4}l/=6;l%=1;return[l*360,a*100,o*100]};a.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var s=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};a.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};a.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}var s=[0,0,0];var i=t%1*6;var a=i%1;var o=1-a;var l=0;switch(Math.floor(i)){case 0:s[0]=1;s[1]=a;s[2]=0;break;case 1:s[0]=o;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=a;break;case 3:s[0]=0;s[1]=o;s[2]=1;break;case 4:s[0]=a;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=o}l=(1-r)*n;return[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};a.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};a.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};a.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};a.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var s=n-t;var i=0;if(s<1){i=(n-s)/(1-s)}return[e[0],s*100,i*100]};a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]};a.gray.hwb=function(e){return[0,100,e[0]]};a.gray.cmyk=function(e){return[0,0,0,e[0]]};a.gray.lab=function(e){return[e[0],0,0]};a.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};a.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},9054:(e,t,r)=>{var n=r(4117);var s=r(6528);var i={};var a=Object.keys(n);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var n=r.length,s=0;s<n;s++){r[s]=Math.round(r[s])}}return r};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}a.forEach((function(e){i[e]={};Object.defineProperty(i[e],"channels",{value:n[e].channels});Object.defineProperty(i[e],"labels",{value:n[e].labels});var t=s(e);var r=Object.keys(t);r.forEach((function(r){var n=t[r];i[e][r]=wrapRounded(n);i[e][r].raw=wrapRaw(n)}))}));e.exports=i},6528:(e,t,r)=>{var n=r(4117);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,s=0;s<r;s++){e[t[s]]={distance:-1,parent:null}}return e}function deriveBFS(e){var t=buildGraph();var r=[e];t[e].distance=0;while(r.length){var s=r.pop();var i=Object.keys(n[s]);for(var a=i.length,o=0;o<a;o++){var l=i[o];var c=t[l];if(c.distance===-1){c.distance=t[s].distance+1;c.parent=s;r.unshift(l)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){var r=[t[e].parent,e];var s=n[t[e].parent][e];var i=t[e].parent;while(t[i].parent){r.unshift(t[i].parent);s=link(n[t[i].parent][i],s);i=t[i].parent}s.conversion=r;return s}e.exports=function(e){var t=deriveBFS(e);var r={};var n=Object.keys(t);for(var s=n.length,i=0;i<s;i++){var a=n[i];var o=t[a];if(o.parent===null){continue}r[a]=wrapConversion(a,t)}return r}},2251: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]}},9714:(e,t,r)=>{"use strict";var n=r(7147);var s=r(1017);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});var i;if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){i=decodeBase64WithBufferFrom}else{i=decodeBase64WithNewBuffer}}else{i=decodeBase64WithAtob}function decodeBase64WithBufferFrom(e){return Buffer.from(e,"base64").toString()}function decodeBase64WithNewBuffer(e){if(typeof value==="number"){throw new TypeError("The value to decode must not be of type number.")}return new Buffer(e,"base64").toString()}function decodeBase64WithAtob(e){return decodeURIComponent(escape(atob(e)))}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,r){var i=t.mapFileCommentRegex.exec(e);var a=i[1]||i[2];var o=s.resolve(r,a);try{return n.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=i(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){Converter.prototype.toBase64=encodeBase64WithBufferFrom}else{Converter.prototype.toBase64=encodeBase64WithNewBuffer}}else{Converter.prototype.toBase64=encodeBase64WithBtoa}function encodeBase64WithBufferFrom(){var e=this.toJSON();return Buffer.from(e,"utf8").toString("base64")}function encodeBase64WithNewBuffer(){var e=this.toJSON();if(typeof e==="number"){throw new TypeError("The json to encode must not be of type number.")}return new Buffer(e,"utf8").toString("base64")}function encodeBase64WithBtoa(){var e=this.toJSON();return btoa(unescape(encodeURIComponent(e)))}Converter.prototype.toComment=function(e){var t=this.toBase64();var r="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var r=e.match(t.commentRegex);return r?t.fromComment(r.pop()):null};t.fromMapFileSource=function(e,r){var n=e.match(t.mapFileCommentRegex);return n?t.fromMapFileComment(n.pop(),r):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}},7379:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},6433:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const r=Symbol.for("gensync:v1:suspend");const n="GENSYNC_EXPECTED_START";const s="GENSYNC_EXPECTED_SUSPEND";const i="GENSYNC_OPTIONS_ERROR";const a="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign((function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))}),{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map((e=>evaluateSync(e)))},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){Promise.resolve().then((()=>t([])));return}let s=0;const i=n.map((()=>undefined));n.forEach(((e,n)=>{evaluateAsync(e,(e=>{i[n]=e;s+=1;if(s===i.length)t(i)}),r)}))}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",a)}return evaluateSync(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){throw makeError("Must race at least 1 item",a)}for(const e of n){evaluateAsync(e,t,r)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise(((r,n)=>{evaluateAsync(e.apply(this,t),r,n)}))},errback:function(...t){const r=t.pop();if(typeof r!=="function"){throw makeError("Asynchronous function called without callback",o)}let n;try{n=e.apply(this,t)}catch(e){r(e);return}evaluateAsync(n,(e=>r(undefined,e)),(e=>r(e)))}};return t}function assertTypeof(e,t,r,n){if(typeof r===e||n&&typeof r==="undefined"){return}let s;if(n){s=`Expected opts.${t} to be either a ${e}, or undefined.`}else{s=`Expected opts.${t} to be a ${e}.`}throw makeError(s,i)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:r,async:n,errback:s}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",r);assertTypeof("function","async",n,true);assertTypeof("function","errback",s,true);if(n&&s){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",i)}if(typeof e!=="string"){let t;if(s&&s.name&&s.name!=="errback"){t=s.name}if(n&&n.name&&n.name!=="async"){t=n.name.replace(/Async$/,"")}if(r&&r.name&&r.name!=="sync"){t=r.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=r.length}return buildOperation({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,i){if(n){n.apply(this,e).then(t,i)}else if(s){s.call(this,...e,((e,r)=>{if(e==null)t(r);else i(e)}))}else{t(r.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,(function(...t){return e.apply(this,t)}))}function buildOperation({name:e,arity:n,sync:s,async:i}){return setFunctionMetadata(e,n,(function*(...e){const n=yield t;if(!n){const t=s.call(this,e);return t}let a;try{i.call(this,e,(e=>{if(a)return;a={value:e};n()}),(e=>{if(a)return;a={err:e};n()}))}catch(e){a={err:e};n()}yield r;if(a.hasOwnProperty("err")){throw a.err}return a.value}))}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,r){(function step(){try{let r;while(!({value:r}=e.next()).done){assertStart(r,e);let t=true;let n=false;const s=e.next((()=>{if(t){n=true}else{step()}}));t=false;assertSuspend(s,e);if(!n){return}}return t(r)}catch(e){return r(e)}})()}function assertStart(e,r){if(e===t)return;throwError(r,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,n))}function assertSuspend({value:e,done:t},n){if(!t&&e===r)return;throwError(n,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,s))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,r){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(r,"name");if(!t||t.configurable){Object.defineProperty(r,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(r,"length");if(!e||e.configurable){Object.defineProperty(r,"length",Object.assign(e||{},{configurable:true,value:t}))}}return r}},6929:(e,t,r)=>{"use strict";e.exports=r(3676)},5343:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1?true:n<s)}},8874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},4011:e=>{"use strict";const t={};const r=t.hasOwnProperty;const forOwn=(e,t)=>{for(const n in e){if(r.call(e,n)){t(n,e[n])}}};const extend=(e,t)=>{if(!t){return e}forOwn(t,((t,r)=>{e[t]=r}));return e};const forEach=(e,t)=>{const r=e.length;let n=-1;while(++n<r){t(e[n])}};const n=t.toString;const s=Array.isArray;const i=Buffer.isBuffer;const isObject=e=>n.call(e)=="[object Object]";const isString=e=>typeof e=="string"||n.call(e)=="[object String]";const isNumber=e=>typeof e=="number"||n.call(e)=="[object Number]";const isFunction=e=>typeof e=="function";const isMap=e=>n.call(e)=="[object Map]";const isSet=e=>n.call(e)=="[object Set]";const a={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const o=/["'\\\b\f\n\r\t]/;const l=/[0-9]/;const c=/[ !#-&\(-\[\]-_a-~]/;const jsesc=(e,t)=>{const increaseIndentation=()=>{h=d;++t.indentLevel;d=t.indent.repeat(t.indentLevel)};const r={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const n=t&&t.json;if(n){r.quotes="double";r.wrap=true}t=extend(r,t);if(t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"){t.quotes="single"}const u=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'";const p=t.compact;const f=t.lowercaseHex;let d=t.indent.repeat(t.indentLevel);let h="";const m=t.__inline1__;const y=t.__inline2__;const g=p?"":"\n";let b;let T=true;const S=t.numbers=="binary";const E=t.numbers=="octal";const x=t.numbers=="decimal";const v=t.numbers=="hexadecimal";if(n&&e&&isFunction(e.toJSON)){e=e.toJSON()}if(!isString(e)){if(isMap(e)){if(e.size==0){return"new Map()"}if(!p){t.__inline1__=true;t.__inline2__=false}return"new Map("+jsesc(Array.from(e),t)+")"}if(isSet(e)){if(e.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(e),t)+")"}if(i(e)){if(e.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(e),t)+")"}if(s(e)){b=[];t.wrap=true;if(m){t.__inline1__=false;t.__inline2__=true}if(!y){increaseIndentation()}forEach(e,(e=>{T=false;if(y){t.__inline2__=false}b.push((p||y?"":d)+jsesc(e,t))}));if(T){return"[]"}if(y){return"["+b.join(", ")+"]"}return"["+g+b.join(","+g)+g+(p?"":h)+"]"}else if(isNumber(e)){if(n){return JSON.stringify(e)}if(x){return String(e)}if(v){let t=e.toString(16);if(!f){t=t.toUpperCase()}return"0x"+t}if(S){return"0b"+e.toString(2)}if(E){return"0o"+e.toString(8)}}else if(!isObject(e)){if(n){return JSON.stringify(e)||"null"}return String(e)}else{b=[];t.wrap=true;increaseIndentation();forOwn(e,((e,r)=>{T=false;b.push((p?"":d)+jsesc(e,t)+":"+(p?"":" ")+jsesc(r,t))}));if(T){return"{}"}return"{"+g+b.join(","+g)+g+(p?"":h)+"}"}}const P=e;let A=-1;const w=P.length;b="";while(++A<w){const e=P.charAt(A);if(t.es6){const e=P.charCodeAt(A);if(e>=55296&&e<=56319&&w>A+1){const t=P.charCodeAt(A+1);if(t>=56320&&t<=57343){const r=(e-55296)*1024+t-56320+65536;let n=r.toString(16);if(!f){n=n.toUpperCase()}b+="\\u{"+n+"}";++A;continue}}}if(!t.escapeEverything){if(c.test(e)){b+=e;continue}if(e=='"'){b+=u==e?'\\"':e;continue}if(e=="`"){b+=u==e?"\\`":e;continue}if(e=="'"){b+=u==e?"\\'":e;continue}}if(e=="\0"&&!n&&!l.test(P.charAt(A+1))){b+="\\0";continue}if(o.test(e)){b+=a[e];continue}const r=e.charCodeAt(0);if(t.minimal&&r!=8232&&r!=8233){b+=e;continue}let s=r.toString(16);if(!f){s=s.toUpperCase()}const i=s.length>2||n;const p="\\"+(i?"u":"x")+("0000"+s).slice(i?-4:-2);b+=p;continue}if(t.wrap){b=u+b+u}if(u=="`"){b=b.replace(/\$\{/g,"\\${")}if(t.isScriptContext){return b.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,n?"\\u003C!--":"\\x3C!--")}return b};jsesc.version="2.5.2";e.exports=jsesc},7220:(e,t,r)=>{"use strict";const n=r(2037);const s=r(5343);const i=process.env;let a;if(s("no-color")||s("no-colors")||s("color=false")){a=false}else if(s("color")||s("colors")||s("color=true")||s("color=always")){a=true}if("FORCE_COLOR"in i){a=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(a===false){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!e.isTTY&&a!==true){return 0}const t=a?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}if(i.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},3797:e=>{"use strict";let t=null;function FastObject(e){if(t!==null&&typeof t.property){const e=t;t=FastObject.prototype=null;return e}t=FastObject.prototype=e==null?Object.create(null):e;return new FastObject}FastObject();e.exports=function toFastproperties(e){return FastObject(e)}},3050:(e,t,r)=>{function types(){return r(776)}function codeFrame(){return r(2430)}function core(){return r(3688)}function coreLibConfig(){return r(4455)}function coreLibNormalizeFile(){return r(4082)}function coreLibNormalizeOpts(){return r(3907)}function coreLibBlockHoistPlugin(){return r(2167)}function coreLibPluginPass(){return r(1732)}function traverse(){return r(2297)}function generator(){return r(3956)}function parser(){return r(7383)}function eslintParser(){return r(3305).eslintParser()}function pluginProposalClassProperties(){return r(3305).pluginProposalClassProperties()}function pluginProposalExportNamespaceFrom(){return r(3305).pluginProposalExportNamespaceFrom()}function pluginProposalNumericSeparator(){return r(3305).pluginProposalNumericSeparator()}function pluginProposalObjectRestSpread(){return r(3305).pluginProposalObjectRestSpread()}function pluginSyntaxBigint(){return r(3305).pluginSyntaxBigint()}function pluginSyntaxDynamicImport(){return r(3305).pluginSyntaxDynamicImport()}function pluginSyntaxImportAssertions(){return r(3305).pluginSyntaxImportAssertions()}function pluginSyntaxJsx(){return r(3305).pluginSyntaxJsx()}function pluginTransformDefine(){return r(3305).pluginTransformDefine()}function pluginTransformModulesCommonjs(){return r(3305).pluginTransformModulesCommonjs()}function pluginTransformReactRemovePropTypes(){return r(3305).pluginTransformReactRemovePropTypes()}function pluginTransformRuntime(){return r(3305).pluginTransformRuntime()}function presetEnv(){return r(3305).presetEnv()}function presetReact(){return r(3305).presetReact()}function presetTypescript(){return r(3305).presetTypescript()}e.exports={types:types,codeFrame:codeFrame,core:core,coreLibConfig:coreLibConfig,coreLibNormalizeFile:coreLibNormalizeFile,coreLibNormalizeOpts:coreLibNormalizeOpts,coreLibBlockHoistPlugin:coreLibBlockHoistPlugin,coreLibPluginPass:coreLibPluginPass,generator:generator,traverse:traverse,eslintParser:eslintParser,parser:parser,pluginProposalClassProperties:pluginProposalClassProperties,pluginProposalExportNamespaceFrom:pluginProposalExportNamespaceFrom,pluginProposalNumericSeparator:pluginProposalNumericSeparator,pluginProposalObjectRestSpread:pluginProposalObjectRestSpread,pluginSyntaxBigint:pluginSyntaxBigint,pluginSyntaxDynamicImport:pluginSyntaxDynamicImport,pluginSyntaxImportAssertions:pluginSyntaxImportAssertions,pluginSyntaxJsx:pluginSyntaxJsx,pluginTransformDefine:pluginTransformDefine,pluginTransformModulesCommonjs:pluginTransformModulesCommonjs,pluginTransformReactRemovePropTypes:pluginTransformReactRemovePropTypes,pluginTransformRuntime:pluginTransformRuntime,presetEnv:presetEnv,presetReact:presetReact,presetTypescript:presetTypescript}},9491:e=>{"use strict";e.exports=require("assert")},7147:e=>{"use strict";e.exports=require("fs")},8188:e=>{"use strict";e.exports=require("module")},3305:e=>{"use strict";e.exports=require("next/dist/compiled/babel-packages")},4907:e=>{"use strict";e.exports=require("next/dist/compiled/browserslist")},6937:e=>{"use strict";e.exports=require("next/dist/compiled/debug")},8310:e=>{"use strict";e.exports=require("next/dist/compiled/json5")},7330:e=>{"use strict";e.exports=require("next/dist/compiled/lru-cache")},7849:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},7282:e=>{"use strict";e.exports=require("process")},7310:e=>{"use strict";e.exports=require("url")},3849:e=>{"use strict";e.exports=require("util")},4655:e=>{"use strict";e.exports=require("v8")},3327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(6448);var s=_interopRequireWildcard(r(6148),true);function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(n,i,a)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}let i=undefined;function getChalk(e){if(e){var t;(t=i)!=null?t:i=new s.default.constructor({enabled:true,level:1});return i}return s.default}let a=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const c=s.line;const u=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,c+a);if(o===-1){p=0}if(c===-1){f=t.length}const d=c-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,u]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===u){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,u-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const i=getChalk(r.forceColor);const a=getDefs(i);const maybeHighlight=(e,t)=>s?e(t):t;const l=e.split(o);const{start:c,end:u,markerLines:p}=getMarkerLines(t,l,r);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const h=s?(0,n.default)(e,r):e;let m=h.split(o,u).slice(c,u).map(((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-d);const i=` ${s} |`;const o=p[n];const l=!p[n+1];if(o){let t="";if(Array.isArray(o)){const n=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," ");const s=o[1]||1;t=["\n ",maybeHighlight(a.gutter,i.replace(/\d/g," "))," ",n,maybeHighlight(a.marker,"^").repeat(s)].join("");if(l&&r.message){t+=" "+maybeHighlight(a.message,r.message)}}return[maybeHighlight(a.marker,">"),maybeHighlight(a.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(a.gutter,i)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!f){m=`${" ".repeat(d+1)}${r.message}\n${m}`}if(s){return i.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!a){a=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},2430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(6448);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const c=s.line;const u=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,c+a);if(o===-1){p=0}if(c===-1){f=t.length}const d=c-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,u]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===u){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,u-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const maybeHighlight=(e,t)=>s?e(t):t;const l=e.split(i);const{start:c,end:u,markerLines:p}=getMarkerLines(t,l,r);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const h=s?(0,n.default)(e,r):e;let m=h.split(i,u).slice(c,u).map(((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-d);const i=` ${s} |`;const a=p[n];const l=!p[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",maybeHighlight(o.gutter,i.replace(/\d/g," "))," ",n,maybeHighlight(o.marker,"^").repeat(s)].join("");if(l&&r.message){t+=" "+maybeHighlight(o.message,r.message)}}return[maybeHighlight(o.marker,">"),maybeHighlight(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(o.gutter,i)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!f){m=`${" ".repeat(d+1)}${r.message}\n${m}`}if(s){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},1371:(e,t,r)=>{e.exports=r(212)},2204:(e,t,r)=>{e.exports=r(2735)},9608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertSimpleType=assertSimpleType;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(9367);var s=r(7376);const synchronize=e=>_gensync()(e).sync;function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return synchronize(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return synchronize(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const c=l?i:r;const u=yield*getCachedValueOrWait(l,c,a,e,o);if(u.valid)return u.value;const p=new CacheConfigurator(o);const f=t(e,p);let d;let h;if((0,s.isIterableIterator)(f)){h=yield*(0,n.onFirstPause)(f,(()=>{d=setupAsyncLocks(p,a,e)}))}else{h=f}updateFunctionCache(c,p,e,h);if(d){a.delete(e);d.release(h)}return h}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then((e=>{this._pairs.push([e,r]);return e}))}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using((()=>assertSimpleType(t())))}cacheFn.forever=()=>e.forever();cacheFn.never=()=>e.never();cacheFn.using=t=>e.using((()=>assertSimpleType(t())));cacheFn.invalidate=t=>e.invalidate((()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise((e=>{this._resolve=e}))}release(e){this.released=true;this._resolve(e)}}0&&0},4672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildPresetChainWalker=void 0;t.buildRootChain=buildRootChain;function _path(){const e=r(1017);_path=function(){return e};return e}function _debug(){const e=r(6937);_debug=function(){return e};return e}var n=r(2420);var s=r(1034);var i=r(7526);var a=r(3585);var o=r(8208);var l=r(4613);var c=r(9608);var u=r(8680);const p=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*f(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map((e=>normalizeOptions(e))),files:new Set}}const f=makeChainWalker({root:e=>d(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>m(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=f;const d=(0,c.makeWeakCacheSync)((e=>buildRootDescriptors(e,e.alias,u.createUncachedDescriptors)));const h=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildEnvDescriptors(e,e.alias,u.createUncachedDescriptors,t)))));const m=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildOverrideDescriptors(e,e.alias,u.createUncachedDescriptors,t)))));const y=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>(0,c.makeStrongCacheSync)((r=>buildOverrideEnvDescriptors(e,e.alias,u.createUncachedDescriptors,t,r)))))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const a=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!a)return null;const o=yield*s.output();let c;if(typeof e.configFile==="string"){c=yield*(0,l.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,l.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:u,babelrcRoots:p}=e;let f=t.cwd;const d=emptyChain();const h=new i.ConfigPrinter;if(c){const e=g(c);const n=yield*loadFileChain(e,t,undefined,h);if(!n)return null;r=yield*h.output();if(u===undefined){u=e.options.babelrc}if(p===undefined){f=e.dirname;p=e.options.babelrcRoots}mergeChain(d,n)}let m,y;let T=false;const E=emptyChain();if((u===true||u===undefined)&&typeof t.filename==="string"){const e=yield*(0,l.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,p,f)){({ignore:m,config:y}=yield*(0,l.findRelativeConfig)(e,t.envName,t.caller));if(m){E.files.add(m.filepath)}if(m&&shouldIgnore(t,m.ignore,null,m.dirname)){T=true}if(y&&!T){const e=b(y);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){T=true}else{n=yield*r.output();mergeChain(E,s)}}if(y&&T){E.files.add(y.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,o].filter((e=>!!e)).join("\n\n")+"\n-----End Babel configs-----")}const x=mergeChain(mergeChain(mergeChain(emptyChain(),d),E),a);return{plugins:T?[]:dedupDescriptors(x.plugins),presets:T?[]:dedupDescriptors(x.presets),options:T?[]:x.options.map((e=>normalizeOptions(e))),fileHandling:T?"ignored":"transpile",ignore:m||undefined,babelrc:y||undefined,config:c||undefined,files:x.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map((e=>typeof e==="string"?_path().resolve(n,e):e));if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some((r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some((t=>matchPattern(r,n,t,e)))}))}const g=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options,e.filepath)})));const b=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options,e.filepath)})));const T=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options,e.filepath)})));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",u.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",u.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",u.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",u.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const E=makeChainWalker({root:e=>x(e),env:(e,t)=>v(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,r)=>A(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*E(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const x=(0,c.makeWeakCacheSync)((e=>buildRootDescriptors(e,e.filepath,u.createUncachedDescriptors)));const v=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildEnvDescriptors(e,e.filepath,u.createUncachedDescriptors,t)))));const P=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildOverrideDescriptors(e,e.filepath,u.createUncachedDescriptors,t)))));const A=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>(0,c.makeStrongCacheSync)((r=>buildOverrideEnvDescriptors(e,e.filepath,u.createUncachedDescriptors,t,r)))))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*chainWalker(i,a,o=new Set,l){const{dirname:c}=i;const u=[];const p=e(i);if(configIsApplicable(p,c,a,i.filepath)){u.push({config:p,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,c,a,i.filepath)){u.push({config:e,envName:a.envName,index:undefined})}(p.options.overrides||[]).forEach(((e,t)=>{const s=r(i,t);if(configIsApplicable(s,c,a,i.filepath)){u.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,c,a,i.filepath)){u.push({config:e,index:t,envName:a.envName})}}}))}if(u.some((({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c)))){return null}const f=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of u){if(!(yield*mergeExtendsChain(f,e.options,c,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(f,e)}return f}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const a=yield*(0,l.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(a)){throw new Error(`Configuration cycle detected loading ${a.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,(e=>` - ${e.filepath}`)).join("\n"))}s.add(a);const o=yield*loadFileChain(T(a),n,s,i);s.delete(a);if(!o)return false;mergeChain(e,o);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce(((e,t)=>{e.push(t.value);return e}),[])}function configIsApplicable({options:e},t,r,n){return(e.test===undefined||configFieldIsApplicable(r,e.test,t,n))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t,n))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t,n))}function configFieldIsApplicable(e,t,r,n){const s=Array.isArray(t)?t:[t];return matchesPatterns(e,s,r,n)}function ignoreListReplacer(e,t){if(t instanceof RegExp){return String(t)}return t}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,ignoreListReplacer)}\` from "${n}"`;p(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r,ignoreListReplacer)}\` from "${n}"`;p(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r,n){return t.some((t=>matchPattern(t,r,e.filename,e,n)))}function matchPattern(e,t,r,n,i){if(typeof e==="function"){return!!(0,a.endHiddenCallStack)(e)(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new o.default(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`,i)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}0&&0},8680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createDescriptor=createDescriptor;t.createUncachedDescriptors=createUncachedDescriptors;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(128);var s=r(4613);var i=r(1084);var a=r(9608);var o=r(9099);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,o.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:s?()=>c(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:(0,n.once)((()=>createPluginDescriptors(t.plugins||[],e,r))),presets:(0,n.once)((()=>createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)))}}const l=new WeakMap;const c=(0,a.makeWeakCacheSync)(((e,t)=>{const r=t.using((e=>e));return(0,a.makeStrongCacheSync)((t=>(0,a.makeStrongCache)((function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map((e=>loadCachedDescriptor(l,e)))}))))}));const u=new WeakMap;const p=(0,a.makeWeakCacheSync)(((e,t)=>{const r=t.using((e=>e));return(0,a.makeStrongCache)((function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map((e=>loadCachedDescriptor(u,e)))}))}));const f={};function loadCachedDescriptor(e,t){const{value:r,options:n=f}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter((e=>isEqualDescriptor(e,t)));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map(((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s}))));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let u=e;if(Array.isArray(u)){if(u.length===3){[u,c,l]=u}else{[u,c]=u}}let p=undefined;let f=null;if(typeof u==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?s.loadPlugin:s.loadPreset;const n=u;({filepath:f,value:u}=yield*e(u,t));p={request:n,resolved:f}}if(!u){throw new Error(`Unexpected falsy value: ${String(u)}`)}if(typeof u==="object"&&u.__esModule){if(u.default){u=u.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof u!=="object"&&typeof u!=="function"){throw new Error(`Unsupported format: ${typeof u}. Expected an object or a function.`)}if(f!==null&&typeof u==="object"&&u){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${f}`)}return{name:l,alias:f||n,value:u,options:c,dirname:t,ownPass:a,file:p}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter((e=>e.value===r.value));throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}0&&0},2777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ROOT_CONFIG_FILENAMES=void 0;t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;function _debug(){const e=r(6937);_debug=function(){return e};return e}function _fs(){const e=r(7147);_fs=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _json(){const e=r(8310);_json=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(9608);var s=r(8836);var i=r(6727);var a=r(4759);var o=r(1034);var l=r(8208);var c=r(9724);var u=r(3585);const p=_debug()("babel:config:loading:files:configuration");const f=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"];t.ROOT_CONFIG_FILENAMES=f;const d=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"];const h=".babelignore";const m=new Set;const y=(0,n.makeStrongCache)((function*readConfigCode(e,t){if(!_fs().existsSync(e)){t.never();return null}if(m.has(e)){t.never();p("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{m.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}finally{m.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=(0,u.endHiddenCallStack)(r)((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new l.default(`Configuration should be an exported JavaScript object.`,e)}if(typeof r.then==="function"){throw new l.default(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`,e)}if(n&&!t.configured())throwConfigError(e);return{filepath:e,dirname:_path().dirname(e),options:r}}));const g=(0,n.makeWeakCacheSync)((e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new l.default(`.babel property must be an object`,e.filepath)}return{filepath:e.filepath,dirname:e.dirname,options:t}}));const b=(0,i.makeStaticFileCache)(((e,t)=>{let r;try{r=_json().parse(t)}catch(t){throw new l.default(`Error while parsing config - ${t.message}`,e)}if(!r)throw new l.default(`No config detected`,e);if(typeof r!=="object"){throw new l.default(`Config returned typeof ${typeof r}`,e)}if(Array.isArray(r)){throw new l.default(`Expected config object but found array`,e)}delete r["$schema"];return{filepath:e,dirname:_path().dirname(e),options:r}}));const T=(0,i.makeStaticFileCache)(((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map((e=>e.replace(/#(.*?)$/,"").trim())).filter((e=>!!e));for(const t of n){if(t[0]==="!"){throw new l.default(`Negation of file paths is not supported.`,e)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map((e=>(0,o.default)(e,r)))}}));function findConfigUpwards(e){let t=e;for(;;){for(const e of f){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(d,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?g(e.pkg):null)}if(!s){const e=_path().join(o,h);s=yield*T(e);if(s){p("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(f,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map((e=>readConfig(_path().join(t,e),r,n))));const a=i.reduce(((e,r)=>{if(r&&e){throw new l.default(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e}),s);if(a){p("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(8188))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new l.default(`Config file contains no configuration data`,i)}p("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);switch(n){case".js":case".cjs":case".mjs":case".cts":return y(e,{envName:t,caller:r});default:return b(e)}}function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*c.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(e){throw new l.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`,e)}0&&0},1503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=resolve;var n=r(5655);let s;{s=n.resolve}function resolve(e,t){return s(e,t)}0&&0},4613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});var n=r(9369);var s=r(2777);var i=r(2767);({});0&&0},4759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadCodeDefault;t.supportsESM=void 0;var n=r(9367);function _path(){const e=r(1017);_path=function(){return e};return e}function _url(){const e=r(7310);_url=function(){return e};return e}function _semver(){const e=r(7849);_semver=function(){return e};return e}var s=r(3585);var i=r(8208);var a=r(5885);function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)}))}}let o;try{o=r(8204)}catch(e){}const l=_semver().satisfies(process.versions.node,"^12.17 || >=13.2");t.supportsESM=l;function*loadCodeDefault(e,t){switch(_path().extname(e)){case".cjs":{return loadCjsDefault(e,arguments[2])}case".mjs":break;case".cts":return loadCtsDefault(e);default:try{{return loadCjsDefault(e,arguments[2])}}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}}if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new i.default(t,e)}function loadCtsDefault(e){const t=".cts";const n=!!(require.extensions[".ts"]||require.extensions[".cts"]||require.extensions[".mts"]);let i;if(!n){const s={babelrc:false,configFile:false,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:_path().basename(e),presets:[[getTSPreset(e),Object.assign({onlyRemoveTypeImports:true,optimizeConstEnums:true},{allowDeclareFields:true})]]};i=function(e,o){if(i&&o.endsWith(t)){try{return e._compile((0,a.transformFileSync)(o,Object.assign({},s,{filename:o})).code,o)}catch(e){if(!n){const e=r(8819);if(_semver().lt(e.version,"7.21.4")){console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}}throw e}}return require.extensions[".js"](e,o)};require.extensions[t]=i}try{const r=(0,s.endHiddenCallStack)(require)(e);return r!=null&&r.__esModule?r.default:r}finally{if(!n){if(require.extensions[t]===i)delete require.extensions[t];i=undefined}}}function loadCjsDefault(e){const t=(0,s.endHiddenCallStack)(require)(e);{return t!=null&&t.__esModule?t.default||(arguments[1]?t:undefined):t}}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator((function*(e){if(!o){throw new i.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n",e)}const t=yield(0,s.endHiddenCallStack)(o)((0,_url().pathToFileURL)(e));return t.default}));return _loadMjsDefault.apply(this,arguments)}function getTSPreset(e){try{return r(5432)}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;let r="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";{if(process.versions.pnp){r+=`\nIf you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:\n\npackageExtensions:\n\t"@babel/core@*":\n\t\tpeerDependencies:\n\t\t\t"@babel/preset-typescript": "*"\n`}}throw new i.default(r,e)}}0&&0},9369:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(6727);var s=r(8208);const i="package.json";const a=(0,n.makeStaticFileCache)(((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){throw new s.default(`Error while parsing JSON - ${t.message}`,e)}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new s.default(`Config returned typeof ${typeof r}`,e)}if(Array.isArray(r)){throw new s.default(`Expected config object but found array`,e)}return{filepath:e,dirname:_path().dirname(e),options:r}}));function*findPackageData(e){let t=null;const r=[];let n=true;let s=_path().dirname(e);while(!t&&_path().basename(s)!=="node_modules"){r.push(s);t=yield*a(_path().join(s,i));const e=_path().dirname(s);if(s===e){n=false;break}s=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}0&&0},2767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;t.resolvePreset=t.resolvePlugin=void 0;function _debug(){const e=r(6937);_debug=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(9367);var s=r(4759);function _url(){const e=r(7310);_url=function(){return e};return e}var i=r(1503);const a=_debug()("babel:config:loading:files:plugins");const o=/^module:/;const l=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const c=/^(?!@|module:|[^/]+\/|babel-preset-)/;const u=/^(@babel\/)(?!plugin-|[^/]+\/)/;const p=/^(@babel\/)(?!preset-|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const d=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;const m=resolveStandardizedName.bind(null,"plugin");t.resolvePlugin=m;const y=resolveStandardizedName.bind(null,"preset");t.resolvePreset=y;function*loadPlugin(e,t){const r=m(e,t,yield*(0,n.isAsync)());const s=yield*requireModule("plugin",r);a("Loaded plugin %o from %o.",e,t);return{filepath:r,value:s}}function*loadPreset(e,t){const r=y(e,t,yield*(0,n.isAsync)());const s=yield*requireModule("preset",r);a("Loaded preset %o from %o.",e,t);return{filepath:r,value:s}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?c:l,`babel-${e}-`).replace(r?p:u,`$1${e}-`).replace(r?d:f,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(o,"")}function*resolveAlternativesHelper(e,t){const r=standardizeName(e,t);const{error:n,value:s}=yield r;if(!n)return s;if(n.code!=="MODULE_NOT_FOUND")throw n;if(r!==t&&!(yield t).error){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}if(!(yield standardizeName(e,"@babel/"+t)).error){n.message+=`\n- Did you mean "@babel/${t}"?`}const i=e==="preset"?"plugin":"preset";if(!(yield standardizeName(i,t)).error){n.message+=`\n- Did you accidentally pass a ${i} as a ${e}?`}if(e==="plugin"){const e=r.replace("-proposal-","-transform-");if(e!==r&&!(yield e).error){n.message+=`\n- Did you mean "${e}"?`}}n.message+=`\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n`;throw n}function tryRequireResolve(e,t){try{if(t){return{error:null,value:(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(8188))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]})}}else{return{error:null,value:require.resolve(e)}}}catch(e){return{error:e,value:null}}}function tryImportMetaResolve(e,t){try{return{error:null,value:(0,i.default)(e,t)}}catch(e){return{error:e,value:null}}}function resolveStandardizedNameForRequire(e,t,r){const n=resolveAlternativesHelper(e,t);let s=n.next();while(!s.done){s=n.next(tryRequireResolve(s.value,r))}return s.value}function resolveStandardizedNameForImport(e,t,r){const n=(0,_url().pathToFileURL)(_path().join(r,"./babel-virtual-resolve-base.js")).href;const s=resolveAlternativesHelper(e,t);let i=s.next();while(!i.done){i=s.next(tryImportMetaResolve(i.value,n))}return(0,_url().fileURLToPath)(i.value)}function resolveStandardizedName(e,t,r,n){if(!s.supportsESM||!n){return resolveStandardizedNameForRequire(e,t,r)}try{return resolveStandardizedNameForImport(e,t,r)}catch(n){try{return resolveStandardizedNameForRequire(e,t,r)}catch(e){if(n.type==="MODULE_NOT_FOUND")throw n;if(e.type==="MODULE_NOT_FOUND")throw e;throw n}}}{var g=new Set}function*requireModule(e,t){{if(!(yield*(0,n.isAsync)())&&g.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}}try{{g.add(t)}{return yield*(0,s.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{{g.delete(t)}}}0&&0},6727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(9608);var s=r(9724);function _fs2(){const e=r(7147);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)((function*(t,r){const n=r.invalidate((()=>fileMtime(t)));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))}))}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}0&&0},402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(9367);var s=r(7376);var i=r(3688);var a=r(7916);var o=r(1084);var l=r(4672);var c=r(9435);function _traverse(){const e=r(2297);_traverse=function(){return e};return e}var u=r(9608);var p=r(2420);var f=r(4059);var d=r(8836);var h=r(1949);var m=r(8208);var y=_gensync()((function*loadFullConfig(e){var t;const r=yield*(0,h.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const d=Object.assign({},i,{targets:n.targets});const toDescriptor=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(toDescriptor);const y=u.map(toDescriptor);const g=[[]];const b=[];const T=[];const S=yield*enhanceError(i,(function*recursePresetDescriptors(e,t){const r=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.options!==false){try{var n=yield*loadPresetDescriptor(i,d)}catch(t){if(t.code==="BABEL_UNKNOWN_OPTION"){(0,p.checkNoUnwrappedItemOptionPairs)(e,s,"preset",t)}throw t}T.push(n.externalDependencies);if(i.ownPass){r.push({preset:n.chain,pass:[]})}else{r.unshift({preset:n.chain,pass:t})}}}if(r.length>0){g.splice(1,0,...r.map((e=>e.pass)).filter((e=>e!==t)));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach((e=>{(0,s.mergeOptions)(l,e)}))}}}))(m,g[0]);if(S)return null;const E=l;(0,s.mergeOptions)(E,n);const x=Object.assign({},d,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,(function*loadPluginDescriptors(){g[0].unshift(...y);for(const t of g){const r=[];b.push(r);for(let n=0;n<t.length;n++){const s=t[n];if(s.options!==false){try{var e=yield*loadPluginDescriptor(s,x)}catch(e){if(e.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"){(0,p.checkNoUnwrappedItemOptionPairs)(t,n,"plugin",e)}throw e}r.push(e);T.push(e.externalDependencies)}}}}))();E.plugins=b[0];E.presets=b.slice(1).filter((e=>e.length>0)).map((e=>({plugins:e})));E.passPerPreset=E.presets.length>0;return{options:E,passes:b,externalDependencies:(0,c.finalize)(T)}}));t["default"]=y;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){var s;t.message=`[BABEL] ${(s=e.filename)!=null?s:"unknown file"}: ${t.message}`}throw t}}}const makeDescriptorLoader=e=>(0,u.makeWeakCache)((function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};const l=[];let u=t;if(typeof t==="function"){const c=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o,l));try{u=yield*c(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!u||typeof u!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(u)){yield*[];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(a)})`)}if(l.length>0&&(!o.configured()||o.mode()==="forever")){let e=`A plugin/preset has external untracked dependencies `+`(${l[0]}), but the cache `;if(!o.configured()){e+=`has not been configured to be invalidated when the external dependencies change. `}else{e+=` has been configured to never be invalidated. `}e+=`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(a)})`;throw new Error(e)}return{value:u,options:r,dirname:s,alias:a,externalDependencies:(0,c.finalize)(l)}}));const g=makeDescriptorLoader(d.makePluginAPI);const b=makeDescriptorLoader(d.makePresetAPI);const T=(0,u.makeWeakCache)((function*({value:e,options:t,dirname:r,alias:s,externalDependencies:i},o){const l=(0,f.validatePluginObject)(e);const u=Object.assign({},l);if(u.visitor){u.visitor=_traverse().default.explode(Object.assign({},u.visitor))}if(u.inherits){const e={name:undefined,alias:`${s}$inherits`,value:u.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,(t=>o.invalidate((r=>t(e,r)))));u.pre=chain(a.pre,u.pre);u.post=chain(a.post,u.post);u.manipulateOptions=chain(a.manipulateOptions,u.manipulateOptions);u.visitor=_traverse().default.visitors.merge([a.visitor||{},u.visitor||{}]);if(a.externalDependencies.length>0){if(i.length===0){i=a.externalDependencies}else{i=(0,c.finalize)([i,a.externalDependencies])}}}return new a.default(u,t,s,i)}));function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*T(yield*g(e,t),t)}const needsFilename=e=>e&&typeof e!=="function";const validateIfOptionNeedsFilename=(e,t)=>{if(needsFilename(e.test)||needsFilename(e.include)||needsFilename(e.exclude)){const e=t.name?`"${t.name}"`:"/* your preset */";throw new m.default([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transformSync(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const validatePreset=(e,t,r)=>{if(!t.filename){const{options:t}=e;validateIfOptionNeedsFilename(t,r);if(t.overrides){t.overrides.forEach((e=>validateIfOptionNeedsFilename(e,r)))}}};const S=(0,u.makeWeakCacheSync)((({value:e,dirname:t,alias:r,externalDependencies:n})=>({options:(0,p.validate)("preset",e),alias:r,dirname:t,externalDependencies:n})));function*loadPresetDescriptor(e,t){const r=S(yield*b(e,t));validatePreset(r,t,e);return{chain:yield*(0,l.buildPresetChain)(r,t),externalDependencies:r.externalDependencies}}function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}0&&0},8836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePluginAPI=makePluginAPI;t.makePresetAPI=makePresetAPI;function _semver(){const e=r(7849);_semver=function(){return e};return e}var n=r(3688);var s=r(9608);function makeConfigAPI(e){const env=t=>e.using((e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}return(Array.isArray(t)?t:[t]).some((t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName}))}));const caller=t=>e.using((e=>(0,s.assertSimpleType)(t(e.caller))));return{version:n.version,cache:e.simple(),env:env,async:()=>false,caller:caller,assertVersion:assertVersion}}function makePresetAPI(e,t){const targets=()=>JSON.parse(e.using((e=>JSON.stringify(e.targets))));const addExternalDependency=e=>{t.push(e)};return Object.assign({},makeConfigAPI(e),{targets:targets,addExternalDependency:addExternalDependency})}function makePluginAPI(e,t){const assumption=t=>e.using((e=>e.assumptions[t]));return Object.assign({},makePresetAPI(e,t),{assumption:assumption})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}0&&0},9435:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.finalize=finalize;t.flattenToSet=flattenToSet;function finalize(e){return Object.freeze(e)}function flattenToSet(e){const t=new Set;const r=[e];while(r.length>0){for(const e of r.pop()){if(Array.isArray(e))r.push(e);else t.add(e)}}return t}0&&0},9658:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}0&&0},4455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;t.createConfigItemSync=t.createConfigItemAsync=void 0;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.loadPartialConfigSync=t.loadPartialConfigAsync=t.loadPartialConfig=t.loadOptionsSync=t.loadOptionsAsync=t.loadOptions=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(402);var s=r(1949);var i=r(1084);const a=_gensync()((function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null}));const o=_gensync()(i.createConfigItem);const maybeErrback=e=>(t,r)=>{let n;let s;if(r===undefined&&typeof t==="function"){s=t;n=undefined}else{s=r;n=t}if(!s){return e.sync(n)}e.errback(n,s)};const l=maybeErrback(s.loadPartialConfig);t.loadPartialConfig=l;const c=s.loadPartialConfig.sync;t.loadPartialConfigSync=c;const u=s.loadPartialConfig.async;t.loadPartialConfigAsync=u;const p=maybeErrback(a);t.loadOptions=p;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const h=o.sync;t.createConfigItemSync=h;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,r){if(r!==undefined){o.errback(e,t,r)}else if(typeof t==="function"){o.errback(e,undefined,r)}else{return o.sync(e,t)}}0&&0},1084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;t.createItemFromDescriptor=createItemFromDescriptor;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(8680);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}const s=Symbol.for("@babel/core@7 - ConfigItem");function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype);0&&0},1949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(1017);_path=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(7916);var s=r(7376);var i=r(1084);var a=r(4672);var o=r(9658);var l=r(2420);var c=r(4613);var u=r(9099);const p=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:p=".",rootMode:f="root",caller:d,cloneInputAst:h=true}=t;const m=_path().resolve(n);const y=resolveRootMode(_path().resolve(m,p),f);const g=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(m);const T={filename:g,cwd:m,root:y,envName:r,caller:d,showConfig:b===g};const S=yield*(0,a.buildRootChain)(t,T);if(!S)return null;const E={assumptions:{}};S.options.forEach((e=>{(0,s.mergeOptions)(E,e)}));const x=Object.assign({},E,{targets:(0,u.resolveTargets)(E,y),cloneInputAst:h,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:T.envName,cwd:T.cwd,root:T.root,rootMode:"root",filename:typeof T.filename==="string"?T.filename:undefined,plugins:S.plugins.map((e=>(0,i.createItemFromDescriptor)(e))),presets:S.presets.map((e=>(0,i.createItemFromDescriptor)(e)))});return{options:x,context:T,fileHandling:S.fileHandling,ignore:S.ignore,babelrc:S.babelrc,config:S.config,files:S.files}}const f=_gensync()((function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,p);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:c,files:u}=s;if(c==="ignored"&&!t){return null}(i.plugins||[]).forEach((e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}}));return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,u)}));t.loadPartialConfig=f;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype);0&&0},1034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=pathToPattern;function _path(){const e=r(1017);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map(((e,t)=>{const u=t===r.length-1;if(e==="**")return u?c:l;if(e==="*")return u?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(u?s:n)}return escapeRegExp(e)+(u?s:n)}))].join(""))}0&&0},7916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9435);class Plugin{constructor(e,t,r,s=(0,n.finalize)([])){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.externalDependencies=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t;this.externalDependencies=s}}t["default"]=Plugin;0&&0},7526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map((e=>descriptorToConfig(e)))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map((e=>descriptorToConfig(e)))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().slice(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map((e=>ConfigPrinter.format(e))));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter;0&&0},9099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(1017);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(900);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){const r=e.targets;let n;if(typeof r==="string"||Array.isArray(r)){n={browsers:r}}else if(r){if("esmodules"in r){n=Object.assign({},r,{esmodules:"intersect"})}else{n=r}}const{browserslistConfigFile:s}=e;let i;let a=false;if(typeof s==="string"){i=s}else{a=s===false}return(0,_helperCompilationTargets().default)(n,{ignoreBrowserslistConfig:a,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}0&&0},7376:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIterableIterator=isIterableIterator;t.mergeOptions=mergeOptions;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}0&&0},490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.access=access;t.assertArray=assertArray;t.assertAssumptions=assertAssumptions;t.assertBabelrcSearch=assertBabelrcSearch;t.assertBoolean=assertBoolean;t.assertCallerMetadata=assertCallerMetadata;t.assertCompact=assertCompact;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertFunction=assertFunction;t.assertIgnoreList=assertIgnoreList;t.assertInputSourceMap=assertInputSourceMap;t.assertObject=assertObject;t.assertPluginList=assertPluginList;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertSourceType=assertSourceType;t.assertString=assertString;t.assertTargets=assertTargets;t.msg=msg;function _helperCompilationTargets(){const e=r(900);_helperCompilationTargets=function(){return e};return e}var n=r(2420);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach(((t,r)=>assertIgnoreItem(access(e,r),t)))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined){return t}if(Array.isArray(t)){t.forEach(((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}}))}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean"){return t}if(Array.isArray(t)){t.forEach(((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}}))}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach(((t,r)=>assertPluginItem(access(e,r),t)))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}0&&0},2420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assumptionsNames=void 0;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.validate=validate;var n=r(6212);var s=r(490);var i=r(8208);const a={cwd:s.assertString,root:s.assertString,rootMode:s.assertRootMode,configFile:s.assertConfigFileSearch,caller:s.assertCallerMetadata,filename:s.assertString,filenameRelative:s.assertString,code:s.assertBoolean,ast:s.assertBoolean,cloneInputAst:s.assertBoolean,envName:s.assertString};const o={babelrc:s.assertBoolean,babelrcRoots:s.assertBabelrcSearch};const l={extends:s.assertString,ignore:s.assertIgnoreList,only:s.assertIgnoreList,targets:s.assertTargets,browserslistConfigFile:s.assertConfigFileSearch,browserslistEnv:s.assertString};const c={inputSourceMap:s.assertInputSourceMap,presets:s.assertPluginList,plugins:s.assertPluginList,passPerPreset:s.assertBoolean,assumptions:s.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:s.assertConfigApplicableTest,include:s.assertConfigApplicableTest,exclude:s.assertConfigApplicableTest,retainLines:s.assertBoolean,comments:s.assertBoolean,shouldPrintComment:s.assertFunction,compact:s.assertCompact,minified:s.assertBoolean,auxiliaryCommentBefore:s.assertString,auxiliaryCommentAfter:s.assertString,sourceType:s.assertSourceType,wrapPluginVisitorMethod:s.assertFunction,highlightCode:s.assertBoolean,sourceMaps:s.assertSourceMaps,sourceMap:s.assertSourceMaps,sourceFileName:s.assertString,sourceRoot:s.assertString,parserOpts:s.assertObject,generatorOpts:s.assertObject};{Object.assign(c,{getModuleId:s.assertFunction,moduleRoot:s.assertString,moduleIds:s.assertBoolean,moduleId:s.assertString})}const u=["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"];const p=new Set(u);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t,r){try{return validateNested({type:"root",source:e},t)}catch(e){const t=new i.default(e.message,r);if(e.code)t.code=e.code;throw t}}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach((n=>{const i={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,s.msg)(i)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,s.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const u=c[n]||l[n]||o[n]||a[n]||throwUnknownError;u(i,t[n])}));return t}function throwUnknownError(e){const t=e.name;if(n.default[t]){const{message:r,version:i=5}=n.default[t];throw new Error(`Using removed Babel ${i} option: ${(0,s.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,s.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,s.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const i=(0,s.assertObject)((0,s.access)(e,t),n[t]);if(!i)continue;const a={type:"env",name:t,parent:r};validateNested(a,i)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,s.assertArray)(e,t);if(n){for(const[t,i]of n.entries()){const n=(0,s.access)(e,t);const a=(0,s.assertObject)(n,i);if(!a)throw new Error(`${(0,s.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}s": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}0&&0},4059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(490);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach((e=>assertVisitorHandler(e,r[e])));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach((t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}}))}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach((r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}}));return e}0&&0},6212:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t["default"]=r;0&&0},8208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3585);class ConfigError extends Error{constructor(e,t){super(e);(0,n.expectedError)(this);if(t)(0,n.injectVirtualStackFrame)(this,t)}}t["default"]=ConfigError;0&&0},3585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.beginHiddenCallStack=beginHiddenCallStack;t.endHiddenCallStack=endHiddenCallStack;t.expectedError=expectedError;t.injectVirtualStackFrame=injectVirtualStackFrame;const r=Function.call.bind(Error.prototype.toString);const n=!!Error.captureStackTrace;const s="startHiding - secret - don't use this - v1";const i="stopHiding - secret - don't use this - v1";const a=new WeakSet;const o=new WeakMap;function CallSite(e){return Object.create({isNative:()=>false,isConstructor:()=>false,isToplevel:()=>true,getFileName:()=>e,getLineNumber:()=>undefined,getColumnNumber:()=>undefined,getFunctionName:()=>undefined,getMethodName:()=>undefined,getTypeName:()=>undefined,toString:()=>e})}function injectVirtualStackFrame(e,t){if(!n)return;let r=o.get(e);if(!r)o.set(e,r=[]);r.push(CallSite(t));return e}function expectedError(e){if(!n)return;a.add(e);return e}function beginHiddenCallStack(e){if(!n)return e;return Object.defineProperty((function(...t){setupPrepareStackTrace();return e(...t)}),"name",{value:i})}function endHiddenCallStack(e){if(!n)return e;return Object.defineProperty((function(...t){return e(...t)}),"name",{value:s})}function setupPrepareStackTrace(){setupPrepareStackTrace=()=>{};const{prepareStackTrace:e=defaultPrepareStackTrace}=Error;const t=50;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,t));Error.prepareStackTrace=function stackTraceRewriter(t,r){let n=[];const l=a.has(t);let c=l?"hiding":"unknown";for(let e=0;e<r.length;e++){const a=r[e].getFunctionName();if(a===s){c="hiding"}else if(a===i){if(c==="hiding"){c="showing";if(o.has(t)){n.unshift(...o.get(t))}}else if(c==="unknown"){n=r;break}}else if(c!=="hiding"){n.push(r[e])}}return e(t,n)}}function defaultPrepareStackTrace(e,t){if(t.length===0)return r(e);return`${r(e)}\n at ${t.join("\n at ")}`}0&&0},9367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.forwardAsync=forwardAsync;t.isAsync=void 0;t.isThenable=isThenable;t.maybeAsync=maybeAsync;t.waitFor=t.onFirstPause=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)}))}}const n=_gensync()((function*(e){return yield*e}));const s=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=s;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const i=_gensync()({sync:e=>e("sync"),async:function(){var e=_asyncToGenerator((function*(e){return e("async")}));return function async(t){return e.apply(this,arguments)}}()});function forwardAsync(e,t){const r=_gensync()(e);return i((e=>{const n=r[e];return t(n)}))}const a=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return n.sync(e)},errback:function(e,t,r){let s=false;n.errback(e,((e,t)=>{s=true;r(e,t)}));if(!s){t()}}});t.onFirstPause=a;const o=_gensync()({sync:e=>e,async:function(){var e=_asyncToGenerator((function*(e){return e}));return function async(t){return e.apply(this,arguments)}}()});t.waitFor=o;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}0&&0},9724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(7147);_fs=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s;0&&0},128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.once=once;var n=r(9367);function once(e){let t;let r;return function*(){if(t)return t;if(!(yield*(0,n.isAsync)()))return t=yield*e();if(r)return yield*(0,n.waitFor)(r);let s,i;r=new Promise(((e,t)=>{s=e;i=t}));try{t=yield*e();r=null;s(t);return t}catch(e){i(e);throw e}}}0&&0},3688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return p.parse}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return p.parseAsync}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return p.parseSync}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty((0,t),"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty((0,t),"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return u.transformFromAst}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return u.transformFromAstAsync}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return u.transformFromAstSync}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty((0,t),"traverse",{enumerable:true,get:function(){return _traverse().default}});t.version=t.types=void 0;var n=r(6103);var s=r(7472);var i=r(4613);var a=r(9658);function _types(){const e=r(776);_types=function(){return e};return e}Object.defineProperty((0,t),"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(7383);_parser=function(){return e};return e}function _traverse(){const e=r(2297);_traverse=function(){return e};return e}function _template(){const e=r(9128);_template=function(){return e};return e}var o=r(4455);var l=r(9994);var c=r(5885);var u=r(6895);var p=r(352);var f=r(3688);const d="7.22.5";t.version=d;const h=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=h;{{t.OptionManager=class OptionManager{init(e){return(0,o.loadOptionsSync)(e)}};t.Plugin=function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}}}0&&0},352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse=void 0;t.parseAsync=parseAsync;t.parseSync=parseSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4455);var s=r(2865);var i=r(3907);var a=r(3585);const o=_gensync()((function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)}));const l=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined){{return(0,a.beginHiddenCallStack)(o.sync)(e,t)}}(0,a.beginHiddenCallStack)(o.errback)(e,t,r)};t.parse=l;function parseSync(...e){return(0,a.beginHiddenCallStack)(o.sync)(...e)}function parseAsync(...e){return(0,a.beginHiddenCallStack)(o.async)(...e)}0&&0},2865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parser;function _parser(){const e=r(7383);_parser=function(){return e};return e}function _codeFrame(){const e=r(2430);_codeFrame=function(){return e};return e}var n=r(193);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const r=[];for(const n of e){for(const e of n){const{parserOverride:n}=e;if(n){const e=n(i,t,_parser().parse);if(e!==undefined)r.push(e)}}}if(r.length===0){return(0,_parser().parse)(i,t)}else if(r.length===1){yield*[];if(typeof r[0].then==="function"){throw new Error(`You appear to be using an async parser 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.`)}return r[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}0&&0},193:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",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://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};{Object.assign(r,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",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://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},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-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}})}const getNameURLCombination=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,n){let s=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+n;const i=r[e];if(i){const{syntax:e,transform:t}=i;if(e){const r=getNameURLCombination(e);if(t){const e=getNameURLCombination(t);const n=t.name.startsWith("@babel/plugin")?"plugins":"presets";s+=`\n\nAdd ${e} to the '${n}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{s+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return s}0&&0},7472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;function helpers(){const e=r(1416);helpers=function(){return e};return e}function _generator(){const e=r(3956);_generator=function(){return e};return e}function _template(){const e=r(9128);_template=function(){return e};return e}function _t(){const e=r(776);_t=function(){return e};return e}var n=r(6103);const{arrayExpression:s,assignmentExpression:i,binaryExpression:a,blockStatement:o,callExpression:l,cloneNode:c,conditionalExpression:u,exportNamedDeclaration:p,exportSpecifier:f,expressionStatement:d,functionExpression:h,identifier:m,memberExpression:y,objectExpression:g,program:b,stringLiteral:T,unaryExpression:S,variableDeclaration:E,variableDeclarator:x}=_t();const buildUmdWrapper=e=>_template().default.statement` (function (root, factory) { if (typeof define === "function" && define.amd) { define(AMD_ARGUMENTS, factory); @@ -10,27 +10,130 @@ })(UMD_ROOT, function (FACTORY_PARAMETERS) { FACTORY_BODY }); - `(e);function buildGlobal(e){const t=m("babelHelpers");const r=[];const n=h(null,[m("global")],o(r));const s=b([d(l(n,[u(a("===",S("typeof",m("global")),T("undefined")),m("self"),m("global"))]))]);r.push(E("var",[x(t,i("=",y(m("global"),t),g([])))]));buildHelpers(r,t,e);return s}function buildModule(e){const t=[];const r=buildHelpers(t,null,e);t.unshift(p(null,Object.keys(r).map((e=>f(c(r[e]),m(e))))));return b(t,[],"module")}function buildUmd(e){const t=m("babelHelpers");const r=[];r.push(E("var",[x(t,m("global"))]));buildHelpers(r,t,e);return b([buildUmdWrapper({FACTORY_PARAMETERS:m("global"),BROWSER_ARGUMENTS:i("=",y(m("root"),t),g([])),COMMON_ARGUMENTS:m("exports"),AMD_ARGUMENTS:s([T("exports")]),FACTORY_BODY:r,UMD_ROOT:m("this")})])}function buildVar(e){const t=m("babelHelpers");const r=[];r.push(E("var",[x(t,g([]))]));const n=b(r);buildHelpers(r,t,e);r.push(d(t));return n}function buildHelpers(e,t,r){const getHelperReference=e=>t?y(t,m(e)):m(`_${e}`);const s={};helpers().list.forEach((function(t){if(r&&r.indexOf(t)<0)return;const i=s[t]=getHelperReference(t);helpers().ensure(t,n.default);const{nodes:a}=helpers().get(t,getHelperReference,i);e.push(...a)}));return s}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}},1120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAstSync=t.transformFromAstAsync=t.transformFromAst=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4198);var s=r(7423);const i=_gensync()((function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)}));const a=function transformFromAst(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}if(n===undefined){return i.sync(e,t,r)}i.errback(e,t,r,n)};t.transformFromAst=a;const o=i.sync;t.transformFromAstSync=o;const l=i.async;t.transformFromAstAsync=l},8914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFileSync=t.transformFileAsync=t.transformFile=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4198);var s=r(7423);var i=r(3575);({});const a=_gensync()((function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)}));const o=a.errback;t.transformFile=o;const l=a.sync;t.transformFileSync=l;const c=a.async;t.transformFileAsync=c},99:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformSync=t.transformAsync=t.transform=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4198);var s=r(7423);const i=_gensync()((function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)}));const a=function transform(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined)return i.sync(e,t);i.errback(e,t,r)};t.transform=a;const o=i.sync;t.transformSync=o;const l=i.async;t.transformAsync=l},1674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadBlockHoistPlugin;function _traverse(){const e=r(7734);_traverse=function(){return e};return e}var n=r(5775);let s;function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r<e.length;r++){const n=e[r];const s=priority(n);const i=t[s]||(t[s]=[]);i.push(n)}const r=Object.keys(t).map((e=>+e)).sort(((e,t)=>t-e));let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;e<t.length;e++){const s=t[e];const i=priority(s);if(i>r){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}}},8290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function helpers(){const e=r(5262);helpers=function(){return e};return e}function _traverse(){const e=r(7734);_traverse=function(){return e};return e}function _codeFrame(){const e=r(1811);_codeFrame=function(){return e};return e}function _t(){const e=r(6953);_t=function(){return e};return e}function _helperModuleTransforms(){const e=r(1914);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(7849);_semver=function(){return e};return e}const{cloneNode:n,interpreterDirective:s}=_t();const i={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=null;this.ast={};this.scope=void 0;this.metadata={};this.code="";this.inputMap=null;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(s(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const t=this.declarations[e];if(t)return n(t);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,(e=>i[e]),s,Object.keys(this.scope.getAllBindings()));o.forEach((e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}}));a.forEach((e=>{e._compact=true}));this.path.unshiftContainer("body",a);this.path.get("body").forEach((e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)}));return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,i,this.scope,r);n=r.loc;let s="This is an error on an internal node. Probably an internal error.";if(n)s+=" Location has been estimated.";t+=` (${s})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}t["default"]=File},9544:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=generateCode;function _convertSourceMap(){const e=r(645);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(3136);_generator=function(){return e};return e}var n=r(6634);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const{generatorOpts:o}=r;const l=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,o,i,_generator().default);if(e!==undefined)l.push(e)}}}let c;if(l.length===0){c=(0,_generator().default)(s,o,i)}else if(l.length===1){c=l[0];if(typeof c.then==="function"){throw new Error(`You appear to be using an async codegen 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.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,decodedMap:p=c.map}=c;if(p){if(a){p=(0,n.default)(a.toObject(),p,o.sourceFileName)}else{p=c.map}}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}},6634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=mergeSourceMap;function _remapping(){const e=r(6143);_remapping=function(){return e};return e}function mergeSourceMap(e,t,r){const n=r.replace(/\\/g,"/");let s=false;const i=_remapping()(rootless(t),((t,r)=>{if(t===n&&!s){s=true;r.source="";return rootless(e)}return null}));if(typeof e.sourceRoot==="string"){i.sourceRoot=e.sourceRoot}return Object.assign({},i)}function rootless(e){return Object.assign({},e,{sourceRoot:null})}},7423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(7734);_traverse=function(){return e};return e}var n=r(4319);var s=r(1674);var i=r(9838);var a=r(4437);var o=r(9544);var l=r(6861);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var c;e.message=`${(c=s.filename)!=null?c:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType,externalDependencies:(0,l.flattenToSet)(e.externalDependencies)}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`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.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`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.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}},4437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeFile;function _fs(){const e=r(7147);_fs=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _debug(){const e=r(6937);_debug=function(){return e};return e}function _t(){const e=r(6953);_t=function(){return e};return e}function _convertSourceMap(){const e=r(645);_convertSourceMap=function(){return e};return e}var n=r(8290);var s=r(9722);var i=r(5248);const{file:a,traverseFast:o}=_t();const l=_debug()("babel:transform:file");const c=1e6;function*normalizeFile(e,t,r,o){r=`${r||""}`;if(o){if(o.type==="Program"){o=a(o,[],[])}else if(o.type!=="File"){throw new Error("AST root must be a Program or File node")}if(t.cloneInputAst){o=(0,i.default)(o)}}else{o=yield*(0,s.default)(e,t,r)}let f=null;if(t.inputSourceMap!==false){if(typeof t.inputSourceMap==="object"){f=_convertSourceMap().fromObject(t.inputSourceMap)}if(!f){const e=extractComments(u,o);if(e){try{f=_convertSourceMap().fromComment(e)}catch(e){l("discarding unknown inline input sourcemap",e)}}}if(!f){const e=extractComments(p,o);if(typeof t.filename==="string"&&e){try{const r=p.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(t.filename),r[1]));if(n.length>c){l("skip merging input map > 1 MB")}else{f=_convertSourceMap().fromJSON(n)}}catch(e){l("discarding unknown file input sourcemap",e)}}else if(e){l("discarding un-loadable file input sourcemap")}}}return new n.default(t,{code:r,ast:o,inputMap:f})}const u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const p=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function extractCommentsFromList(e,t,r){if(t){t=t.filter((({value:t})=>{if(e.test(t)){r=t;return false}return true}))}return[t,r]}function extractComments(e,t){let r=null;o(t,(t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)}));return r}},9838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeOptions;function _path(){const e=r(1017);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:c=true,compact:u="auto"}=e.options;const p=e.options;const f=Object.assign({},p,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},p.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:p.auxiliaryCommentBefore,auxiliaryCommentAfter:p.auxiliaryCommentAfter,retainLines:p.retainLines,comments:c,shouldPrintComment:p.shouldPrintComment,compact:u,minified:p.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},p.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(f,f.parserOpts)}}}return f}},4319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t["default"]=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()}}},7259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;const r="$$ babel internal serialized type"+Math.random();function serialize(e,t){if(typeof t!=="bigint")return t;return{[r]:"BigInt",value:t.toString()}}function revive(e,t){if(!t||typeof t!=="object")return t;if(t[r]!=="BigInt")return t;return BigInt(t.value)}function _default(e){return JSON.parse(JSON.stringify(e,serialize),revive)}},5248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;function _v(){const e=r(4655);_v=function(){return e};return e}var n=r(7259);function _default(e){if(_v().deserialize&&_v().serialize){return _v().deserialize(_v().serialize(e))}return(0,n.default)(e)}},6833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.moduleResolve=moduleResolve;t.resolve=resolve;function _url(){const e=r(7310);_url=function(){return e};return e}function _fs(){const e=_interopRequireWildcard(r(7147),true);_fs=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _assert(){const e=r(9491);_assert=function(){return e};return e}function _util(){const e=r(3837);_util=function(){return e};return e}function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(n,i,a)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)}))}}var n={exports:{}};const s="2.0.0";const i=256;const a=Number.MAX_SAFE_INTEGER||9007199254740991;const o=16;var l={SEMVER_SPEC_VERSION:s,MAX_LENGTH:i,MAX_SAFE_INTEGER:a,MAX_SAFE_COMPONENT_LENGTH:o};const c=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var u=c;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r}=l;const n=u;t=e.exports={};const s=t.re=[];const i=t.src=[];const a=t.t={};let o=0;const createToken=(e,t,r)=>{const l=o++;n(l,t);a[e]=l;i[l]=t;s[l]=new RegExp(t,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",`(${i[a.NUMERICIDENTIFIER]})\\.`+`(${i[a.NUMERICIDENTIFIER]})\\.`+`(${i[a.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.`+`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.`+`(${i[a.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`);createToken("FULL",`^${i[a.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`);createToken("LOOSE",`^${i[a.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})`+`(?:\\.(${i[a.XRANGEIDENTIFIER]})`+`(?:\\.(${i[a.XRANGEIDENTIFIER]})`+`(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})`+`(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${r}})`+`(?:\\.(\\d{1,${r}}))?`+`(?:\\.(\\d{1,${r}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",i[a.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${i[a.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${i[a.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})(n,n.exports);const p=["includePrerelease","loose","rtl"];const parseOptions$2=e=>!e?{}:typeof e!=="object"?{loose:true}:p.filter((t=>e[t])).reduce(((e,t)=>{e[t]=true;return e}),{});var f=parseOptions$2;const d=/^[0-9]+$/;const compareIdentifiers$1=(e,t)=>{const r=d.test(e);const n=d.test(t);if(r&&n){e=+e;t=+t}return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers$1(t,e);var h={compareIdentifiers:compareIdentifiers$1,rcompareIdentifiers:rcompareIdentifiers};const m=u;const{MAX_LENGTH:y,MAX_SAFE_INTEGER:g}=l;const{re:b,t:T}=n.exports;const S=f;const{compareIdentifiers:E}=h;class SemVer$c{constructor(e,t){t=S(t);if(e instanceof SemVer$c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>y){throw new TypeError(`version is longer than ${y} characters`)}m("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?b[T.LOOSE]:b[T.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>g||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>g||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>g||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 t=+e;if(t>=0&&t<g){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){m("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer$c)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer$c(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer$c)){e=new SemVer$c(e,this.options)}return E(this.major,e.major)||E(this.minor,e.minor)||E(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer$c)){e=new SemVer$c(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const n=e.prerelease[t];m("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return E(r,n)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer$c)){e=new SemVer$c(e,this.options)}let t=0;do{const r=this.build[t];const n=e.build[t];m("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return E(r,n)}}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":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.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{let e=this.prerelease.length;while(--e>=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-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}}var x=SemVer$c;const{MAX_LENGTH:v}=l;const{re:P,t:A}=n.exports;const w=x;const I=f;const parse$5=(e,t)=>{t=I(t);if(e instanceof w){return e}if(typeof e!=="string"){return null}if(e.length>v){return null}const r=t.loose?P[A.LOOSE]:P[A.FULL];if(!r.test(e)){return null}try{return new w(e,t)}catch(e){return null}};var C=parse$5;const O=C;const valid$1=(e,t)=>{const r=O(e,t);return r?r.version:null};var k=valid$1;const N=C;const clean=(e,t)=>{const r=N(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};var _=clean;const D=x;const inc=(e,t,r,n)=>{if(typeof r==="string"){n=r;r=undefined}try{return new D(e,r).inc(t,n).version}catch(e){return null}};var M=inc;const L=x;const compare$a=(e,t,r)=>new L(e,r).compare(new L(t,r));var j=compare$a;const F=j;const eq$2=(e,t,r)=>F(e,t,r)===0;var R=eq$2;const B=C;const U=R;const diff=(e,t)=>{if(U(e,t)){return null}else{const r=B(e);const n=B(t);const s=r.prerelease.length||n.prerelease.length;const i=s?"pre":"";const a=s?"prerelease":"";for(const e in r){if(e==="major"||e==="minor"||e==="patch"){if(r[e]!==n[e]){return i+e}}}return a}};var K=diff;const $=x;const major=(e,t)=>new $(e,t).major;var V=major;const W=x;const minor=(e,t)=>new W(e,t).minor;var q=minor;const G=x;const patch=(e,t)=>new G(e,t).patch;var H=patch;const X=C;const prerelease=(e,t)=>{const r=X(e,t);return r&&r.prerelease.length?r.prerelease:null};var J=prerelease;const z=j;const rcompare=(e,t,r)=>z(t,e,r);var Y=rcompare;const Q=j;const compareLoose=(e,t)=>Q(e,t,true);var Z=compareLoose;const ee=x;const compareBuild$2=(e,t,r)=>{const n=new ee(e,r);const s=new ee(t,r);return n.compare(s)||n.compareBuild(s)};var te=compareBuild$2;const re=te;const sort=(e,t)=>e.sort(((e,r)=>re(e,r,t)));var ne=sort;const se=te;const rsort=(e,t)=>e.sort(((e,r)=>se(r,e,t)));var ie=rsort;const ae=j;const gt$3=(e,t,r)=>ae(e,t,r)>0;var oe=gt$3;const le=j;const lt$2=(e,t,r)=>le(e,t,r)<0;var ce=lt$2;const ue=j;const neq$1=(e,t,r)=>ue(e,t,r)!==0;var pe=neq$1;const fe=j;const gte$2=(e,t,r)=>fe(e,t,r)>=0;var de=gte$2;const he=j;const lte$2=(e,t,r)=>he(e,t,r)<=0;var me=lte$2;const ye=R;const ge=pe;const be=oe;const Te=de;const Se=ce;const Ee=me;const cmp=(e,t,r,n)=>{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 ye(e,r,n);case"!=":return ge(e,r,n);case">":return be(e,r,n);case">=":return Te(e,r,n);case"<":return Se(e,r,n);case"<=":return Ee(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};var xe=cmp;const ve=x;const Pe=C;const{re:Ae,t:we}=n.exports;const coerce=(e,t)=>{if(e instanceof ve){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(Ae[we.COERCE])}else{let t;while((t=Ae[we.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||t.index+t[0].length!==r.index+r[0].length){r=t}Ae[we.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}Ae[we.COERCERTL].lastIndex=-1}if(r===null)return null;return Pe(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};var Ie=coerce;var Ce;var Oe;function requireIterator(){if(Oe)return Ce;Oe=1;Ce=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}};return Ce}var ke;var Ne;function requireYallist(){if(Ne)return ke;Ne=1;ke=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var r=0,n=arguments.length;r<n;r++){t.push(arguments[r])}}return t}Yallist.prototype.removeNode=function(e){if(e.list!==this){throw new Error("removing node which does not belong to this list")}var t=e.next;var r=e.prev;if(t){t.prev=r}if(r){r.next=t}if(e===this.head){this.head=t}if(e===this.tail){this.tail=r}e.list.length--;e.next=null;e.prev=null;e.list=null;return t};Yallist.prototype.unshiftNode=function(e){if(e===this.head){return}if(e.list){e.list.removeNode(e)}var t=this.head;e.list=this;e.next=t;if(t){t.prev=e}this.head=e;if(!this.tail){this.tail=e}this.length++};Yallist.prototype.pushNode=function(e){if(e===this.tail){return}if(e.list){e.list.removeNode(e)}var t=this.tail;e.list=this;e.prev=t;if(t){t.next=e}this.tail=e;if(!this.head){this.head=e}this.length++};Yallist.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){push(this,arguments[e])}return this.length};Yallist.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++){unshift(this,arguments[e])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var e=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return e};Yallist.prototype.shift=function(){if(!this.head){return undefined}var e=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return e};Yallist.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++){e.call(t,r.value,n,this);r=r.next}};Yallist.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--){e.call(t,r.value,n,this);r=r.prev}};Yallist.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++){r=r.next}if(t===e&&r!==null){return r.value}};Yallist.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++){r=r.prev}if(t===e&&r!==null){return r.value}};Yallist.prototype.map=function(e,t){t=t||this;var r=new Yallist;for(var n=this.head;n!==null;){r.push(e.call(t,n.value,this));n=n.next}return r};Yallist.prototype.mapReverse=function(e,t){t=t||this;var r=new Yallist;for(var n=this.tail;n!==null;){r.push(e.call(t,n.value,this));n=n.prev}return r};Yallist.prototype.reduce=function(e,t){var r;var n=this.head;if(arguments.length>1){r=t}else if(this.head){n=this.head.next;r=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var s=0;n!==null;s++){r=e(r,n.value,s);n=n.next}return r};Yallist.prototype.reduceReverse=function(e,t){var r;var n=this.tail;if(arguments.length>1){r=t}else if(this.tail){n=this.tail.prev;r=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var s=this.length-1;n!==null;s--){r=e(r,n.value,s);n=n.prev}return r};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,r=this.head;r!==null;t++){e[t]=r.value;r=r.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,r=this.tail;r!==null;t++){e[t]=r.value;r=r.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var n=0,s=this.head;s!==null&&n<e;n++){s=s.next}for(;s!==null&&n<t;n++,s=s.next){r.push(s.value)}return r};Yallist.prototype.sliceReverse=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var n=this.length,s=this.tail;s!==null&&n>t;n--){s=s.prev}for(;s!==null&&n>e;n--,s=s.prev){r.push(s.value)}return r};Yallist.prototype.splice=function(e,t,...r){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var n=0,s=this.head;s!==null&&n<e;n++){s=s.next}var i=[];for(var n=0;s&&n<t;n++){i.push(s.value);s=this.removeNode(s)}if(s===null){s=this.tail}if(s!==this.head&&s!==this.tail){s=s.prev}for(var n=0;n<r.length;n++){s=insert(this,s,r[n])}return i};Yallist.prototype.reverse=function(){var e=this.head;var t=this.tail;for(var r=e;r!==null;r=r.prev){var n=r.prev;r.prev=r.next;r.next=n}this.head=t;this.tail=e;return this};function insert(e,t,r){var n=t===e.head?new Node(r,null,t,e):new Node(r,t,t.next,e);if(n.next===null){e.tail=n}if(n.prev===null){e.head=n}e.length++;return n}function push(e,t){e.tail=new Node(t,e.tail,null,e);if(!e.head){e.head=e.tail}e.length++}function unshift(e,t){e.head=new Node(t,null,e.head,e);if(!e.tail){e.tail=e.head}e.length++}function Node(e,t,r,n){if(!(this instanceof Node)){return new Node(e,t,r,n)}this.list=n;this.value=e;if(t){t.next=this;this.prev=t}else{this.prev=null}if(r){r.prev=this;this.next=r}else{this.next=null}}try{requireIterator()(Yallist)}catch(e){}return ke}var _e;var De;function requireLruCache(){if(De)return _e;De=1;const e=requireYallist();const t=Symbol("max");const r=Symbol("length");const n=Symbol("lengthCalculator");const s=Symbol("allowStale");const i=Symbol("maxAge");const a=Symbol("dispose");const o=Symbol("noDisposeOnSet");const l=Symbol("lruList");const c=Symbol("cache");const u=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");this[t]=e.max||Infinity;const r=e.length||naiveLength;this[n]=typeof r!=="function"?naiveLength:r;this[s]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[i]=e.maxAge||0;this[a]=e.dispose;this[o]=e.noDisposeOnSet||false;this[u]=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[t]=e||Infinity;trim(this)}get max(){return this[t]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[i]=e;trim(this)}get maxAge(){return this[i]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[n]){this[n]=e;this[r]=0;this[l].forEach((e=>{e.length=this[n](e.value,e.key);this[r]+=e.length}))}trim(this)}get lengthCalculator(){return this[n]}get length(){return this[r]}get itemCount(){return this[l].length}rforEach(e,t){t=t||this;for(let r=this[l].tail;r!==null;){const n=r.prev;forEachStep(this,e,r,t);r=n}}forEach(e,t){t=t||this;for(let r=this[l].head;r!==null;){const n=r.next;forEachStep(this,e,r,t);r=n}}keys(){return this[l].toArray().map((e=>e.key))}values(){return this[l].toArray().map((e=>e.value))}reset(){if(this[a]&&this[l]&&this[l].length){this[l].forEach((e=>this[a](e.key,e.value)))}this[c]=new Map;this[l]=new e;this[r]=0}dump(){return this[l].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[l]}set(e,s,u){u=u||this[i];if(u&&typeof u!=="number")throw new TypeError("maxAge must be a number");const p=u?Date.now():0;const f=this[n](s,e);if(this[c].has(e)){if(f>this[t]){del(this,this[c].get(e));return false}const n=this[c].get(e);const i=n.value;if(this[a]){if(!this[o])this[a](e,i.value)}i.now=p;i.maxAge=u;i.value=s;this[r]+=f-i.length;i.length=f;this.get(e);trim(this);return true}const d=new Entry(e,s,f,p,u);if(d.length>this[t]){if(this[a])this[a](e,s);return false}this[r]+=d.length;this[l].unshift(d);this[c].set(e,this[l].head);trim(this);return true}has(e){if(!this[c].has(e))return false;const t=this[c].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[l].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[c].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r];const s=n.e||0;if(s===0)this.set(n.k,n.v);else{const e=s-t;if(e>0){this.set(n.k,n.v,e)}}}}prune(){this[c].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,r)=>{const n=e[c].get(t);if(n){const t=n.value;if(isStale(e,t)){del(e,n);if(!e[s])return undefined}else{if(r){if(e[u])n.value.now=Date.now();e[l].unshiftNode(n)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[i])return false;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[i]&&r>e[i]};const trim=e=>{if(e[r]>e[t]){for(let n=e[l].tail;e[r]>e[t]&&n!==null;){const t=n.prev;del(e,n);n=t}}};const del=(e,t)=>{if(t){const n=t.value;if(e[a])e[a](n.key,n.value);e[r]-=n.length;e[c].delete(n.key);e[l].removeNode(t)}};class Entry{constructor(e,t,r,n,s){this.key=e;this.value=t;this.length=r;this.now=n;this.maxAge=s||0}}const forEachStep=(e,t,r,n)=>{let i=r.value;if(isStale(e,i)){del(e,r);if(!e[s])i=undefined}if(i)t.call(n,i.value,i.key,e)};_e=LRUCache;return _e}var Me;var Le;function requireRange(){if(Le)return Me;Le=1;class Range{constructor(e,t){t=r(t);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 s){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.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 r=Object.keys(this.options).join(",");const n=`parseRange:${r}:${e}`;const a=t.get(n);if(a)return a;const u=this.options.loose;const f=u?o[l.HYPHENRANGELOOSE]:o[l.HYPHENRANGE];e=e.replace(f,hyphenReplace(this.options.includePrerelease));i("hyphen replace",e);e=e.replace(o[l.COMPARATORTRIM],c);i("comparator trim",e,o[l.COMPARATORTRIM]);e=e.replace(o[l.TILDETRIM],p);e=e.replace(o[l.CARETTRIM],d);e=e.split(/\s+/).join(" ");const h=u?o[l.COMPARATORLOOSE]:o[l.COMPARATOR];const m=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options))).filter(this.options.loose?e=>!!e.match(h):()=>true).map((e=>new s(e,this.options)));m.length;const y=new Map;for(const e of m){if(isNullSet(e))return[e];y.set(e.value,e)}if(y.size>1&&y.has(""))y.delete("");const g=[...y.values()];t.set(n,g);return g}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new a(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false}}Me=Range;const e=requireLruCache();const t=new e({max:1e3});const r=f;const s=requireComparator();const i=u;const a=x;const{re:o,t:l,comparatorTrimReplace:c,tildeTrimReplace:p,caretTrimReplace:d}=n.exports;const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const n=e.slice();let s=n.pop();while(r&&n.length){r=n.every((e=>s.intersects(e,t)));s=n.pop()}return r};const parseComparator=(e,t)=>{i("comp",e,t);e=replaceCarets(e,t);i("caret",e);e=replaceTildes(e,t);i("tildes",e);e=replaceXRanges(e,t);i("xrange",e);e=replaceStars(e,t);i("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?o[l.TILDELOOSE]:o[l.TILDE];return e.replace(r,((t,r,n,s,a)=>{i("tilde",e,t,r,n,s,a);let o;if(isX(r)){o=""}else if(isX(n)){o=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(s)){o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`}else if(a){i("replaceTilde pr",a);o=`>=${r}.${n}.${s}-${a} <${r}.${+n+1}.0-0`}else{o=`>=${r}.${n}.${s} <${r}.${+n+1}.0-0`}i("tilde return",o);return o}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{i("caret",e,t);const r=t.loose?o[l.CARETLOOSE]:o[l.CARET];const n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,s,a,o)=>{i("caret",e,t,r,s,a,o);let l;if(isX(r)){l=""}else if(isX(s)){l=`>=${r}.0.0${n} <${+r+1}.0.0-0`}else if(isX(a)){if(r==="0"){l=`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`}else{l=`>=${r}.${s}.0${n} <${+r+1}.0.0-0`}}else if(o){i("replaceCaret pr",o);if(r==="0"){if(s==="0"){l=`>=${r}.${s}.${a}-${o} <${r}.${s}.${+a+1}-0`}else{l=`>=${r}.${s}.${a}-${o} <${r}.${+s+1}.0-0`}}else{l=`>=${r}.${s}.${a}-${o} <${+r+1}.0.0-0`}}else{i("no pr");if(r==="0"){if(s==="0"){l=`>=${r}.${s}.${a}${n} <${r}.${s}.${+a+1}-0`}else{l=`>=${r}.${s}.${a}${n} <${r}.${+s+1}.0-0`}}else{l=`>=${r}.${s}.${a} <${+r+1}.0.0-0`}}i("caret return",l);return l}))};const replaceXRanges=(e,t)=>{i("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?o[l.XRANGELOOSE]:o[l.XRANGE];return e.replace(r,((r,n,s,a,o,l)=>{i("xRange",e,r,n,s,a,o,l);const c=isX(s);const u=c||isX(a);const p=u||isX(o);const f=p;if(n==="="&&f){n=""}l=t.includePrerelease?"-0":"";if(c){if(n===">"||n==="<"){r="<0.0.0-0"}else{r="*"}}else if(n&&f){if(u){a=0}o=0;if(n===">"){n=">=";if(u){s=+s+1;a=0;o=0}else{a=+a+1;o=0}}else if(n==="<="){n="<";if(u){s=+s+1}else{a=+a+1}}if(n==="<")l="-0";r=`${n+s}.${a}.${o}${l}`}else if(u){r=`>=${s}.0.0${l} <${+s+1}.0.0-0`}else if(p){r=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`}i("xRange return",r);return r}))};const replaceStars=(e,t)=>{i("replaceStars",e,t);return e.trim().replace(o[l.STAR],"")};const replaceGTE0=(e,t)=>{i("replaceGTE0",e,t);return e.trim().replace(o[t.includePrerelease?l.GTE0PRE:l.GTE0],"")};const hyphenReplace=e=>(t,r,n,s,i,a,o,l,c,u,p,f,d)=>{if(isX(n)){r=""}else if(isX(s)){r=`>=${n}.0.0${e?"-0":""}`}else if(isX(i)){r=`>=${n}.${s}.0${e?"-0":""}`}else if(a){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(c)){l=""}else if(isX(u)){l=`<${+c+1}.0.0-0`}else if(isX(p)){l=`<${c}.${+u+1}.0-0`}else if(f){l=`<=${c}.${u}.${p}-${f}`}else if(e){l=`<${c}.${u}.${+p+1}-0`}else{l=`<=${l}`}return`${r} ${l}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r<e.length;r++){if(!e[r].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++){i(e[r].semver);if(e[r].semver===s.ANY){continue}if(e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch){return true}}}return false}return true};return Me}var je;var Fe;function requireComparator(){if(Fe)return je;Fe=1;const e=Symbol("SemVer ANY");class Comparator{static get ANY(){return e}constructor(r,n){n=t(n);if(r instanceof Comparator){if(r.loose===!!n.loose){return r}else{r=r.value}}a("comparator",r,n);this.options=n;this.loose=!!n.loose;this.parse(r);if(this.semver===e){this.value=""}else{this.value=this.operator+this.semver.version}a("comp",this)}parse(t){const n=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR];const i=t.match(n);if(!i){throw new TypeError(`Invalid comparator: ${t}`)}this.operator=i[1]!==undefined?i[1]:"";if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=e}else{this.semver=new o(i[2],this.options.loose)}}toString(){return this.value}test(t){a("Comparator.test",t,this.options.loose);if(this.semver===e||t===e){return true}if(typeof t==="string"){try{t=new o(t,this.options)}catch(e){return false}}return i(t,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new l(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new l(this.value,t).test(e.semver)}const r=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");const n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");const s=this.semver.version===e.semver.version;const a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");const o=i(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<");const c=i(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||n||s&&a||o||c}}je=Comparator;const t=f;const{re:r,t:s}=n.exports;const i=xe;const a=u;const o=x;const l=requireRange();return je}const Re=requireRange();const satisfies$3=(e,t,r)=>{try{t=new Re(t,r)}catch(e){return false}return t.test(e)};var Be=satisfies$3;const Ue=requireRange();const toComparators=(e,t)=>new Ue(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));var Ke=toComparators;const $e=x;const Ve=requireRange();const maxSatisfying=(e,t,r)=>{let n=null;let s=null;let i=null;try{i=new Ve(t,r)}catch(e){return null}e.forEach((e=>{if(i.test(e)){if(!n||s.compare(e)===-1){n=e;s=new $e(n,r)}}}));return n};var We=maxSatisfying;const qe=x;const Ge=requireRange();const minSatisfying=(e,t,r)=>{let n=null;let s=null;let i=null;try{i=new Ge(t,r)}catch(e){return null}e.forEach((e=>{if(i.test(e)){if(!n||s.compare(e)===1){n=e;s=new qe(n,r)}}}));return n};var He=minSatisfying;const Xe=x;const Je=requireRange();const ze=oe;const minVersion=(e,t)=>{e=new Je(e,t);let r=new Xe("0.0.0");if(e.test(r)){return r}r=new Xe("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let s=null;n.forEach((e=>{const t=new Xe(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!s||ze(t,s)){s=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(s&&(!r||ze(r,s)))r=s}if(r&&e.test(r)){return r}return null};var Ye=minVersion;const Qe=requireRange();const validRange=(e,t)=>{try{return new Qe(e,t).range||"*"}catch(e){return null}};var Ze=validRange;const et=x;const tt=requireComparator();const{ANY:rt}=tt;const nt=requireRange();const st=Be;const it=oe;const at=ce;const ot=me;const lt=de;const outside$2=(e,t,r,n)=>{e=new et(e,n);t=new nt(t,n);let s,i,a,o,l;switch(r){case">":s=it;i=ot;a=at;o=">";l=">=";break;case"<":s=at;i=lt;a=it;o="<";l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(st(e,t,n)){return false}for(let r=0;r<t.set.length;++r){const c=t.set[r];let u=null;let p=null;c.forEach((e=>{if(e.semver===rt){e=new tt(">=0.0.0")}u=u||e;p=p||e;if(s(e.semver,u.semver,n)){u=e}else if(a(e.semver,p.semver,n)){p=e}}));if(u.operator===o||u.operator===l){return false}if((!p.operator||p.operator===o)&&i(e,p.semver)){return false}else if(p.operator===l&&a(e,p.semver)){return false}}return true};var ct=outside$2;const ut=ct;const gtr=(e,t,r)=>ut(e,t,">",r);var pt=gtr;const ft=ct;const ltr=(e,t,r)=>ft(e,t,"<",r);var dt=ltr;const ht=requireRange();const intersects=(e,t,r)=>{e=new ht(e,r);t=new ht(t,r);return e.intersects(t)};var mt=intersects;const yt=Be;const gt=j;var simplify=(e,t,r)=>{const n=[];let s=null;let i=null;const a=e.sort(((e,t)=>gt(e,t,r)));for(const e of a){const a=yt(e,t,r);if(a){i=e;if(!s)s=e}else{if(i){n.push([s,i])}i=null;s=null}}if(s)n.push([s,null]);const o=[];for(const[e,t]of n){if(e===t)o.push(e);else if(!t&&e===a[0])o.push("*");else if(!t)o.push(`>=${e}`);else if(e===a[0])o.push(`<=${t}`);else o.push(`${e} - ${t}`)}const l=o.join(" || ");const c=typeof t.raw==="string"?t.raw:String(t);return l.length<c.length?l:t};const bt=requireRange();const Tt=requireComparator();const{ANY:St}=Tt;const Et=Be;const xt=j;const subset=(e,t,r={})=>{if(e===t)return true;e=new bt(e,r);t=new bt(t,r);let n=false;e:for(const s of e.set){for(const e of t.set){const t=simpleSubset(s,e,r);n=n||t!==null;if(t)continue e}if(n)return false}return true};const simpleSubset=(e,t,r)=>{if(e===t)return true;if(e.length===1&&e[0].semver===St){if(t.length===1&&t[0].semver===St)return true;else if(r.includePrerelease)e=[new Tt(">=0.0.0-0")];else e=[new Tt(">=0.0.0")]}if(t.length===1&&t[0].semver===St){if(r.includePrerelease)return true;else t=[new Tt(">=0.0.0")]}const n=new Set;let s,i;for(const t of e){if(t.operator===">"||t.operator===">=")s=higherGT(s,t,r);else if(t.operator==="<"||t.operator==="<=")i=lowerLT(i,t,r);else n.add(t.semver)}if(n.size>1)return null;let a;if(s&&i){a=xt(s.semver,i.semver,r);if(a>0)return null;else if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(const e of n){if(s&&!Et(e,String(s),r))return null;if(i&&!Et(e,String(i),r))return null;for(const n of t){if(!Et(e,String(n),r))return false}return true}let o,l;let c,u;let p=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:false;let f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:false;if(p&&p.prerelease.length===1&&i.operator==="<"&&p.prerelease[0]===0){p=false}for(const e of t){u=u||e.operator===">"||e.operator===">=";c=c||e.operator==="<"||e.operator==="<=";if(s){if(f){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===f.major&&e.semver.minor===f.minor&&e.semver.patch===f.patch){f=false}}if(e.operator===">"||e.operator===">="){o=higherGT(s,e,r);if(o===e&&o!==s)return false}else if(s.operator===">="&&!Et(s.semver,String(e),r))return false}if(i){if(p){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===p.major&&e.semver.minor===p.minor&&e.semver.patch===p.patch){p=false}}if(e.operator==="<"||e.operator==="<="){l=lowerLT(i,e,r);if(l===e&&l!==i)return false}else if(i.operator==="<="&&!Et(i.semver,String(e),r))return false}if(!e.operator&&(i||s)&&a!==0)return false}if(s&&c&&!i&&a!==0)return false;if(i&&u&&!s&&a!==0)return false;if(f||p)return false;return true};const higherGT=(e,t,r)=>{if(!e)return t;const n=xt(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e)return t;const n=xt(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};var vt=subset;const Pt=n.exports;var At={re:Pt.re,src:Pt.src,tokens:Pt.t,SEMVER_SPEC_VERSION:l.SEMVER_SPEC_VERSION,SemVer:x,compareIdentifiers:h.compareIdentifiers,rcompareIdentifiers:h.rcompareIdentifiers,parse:C,valid:k,clean:_,inc:M,diff:K,major:V,minor:q,patch:H,prerelease:J,compare:j,rcompare:Y,compareLoose:Z,compareBuild:te,sort:ne,rsort:ie,gt:oe,lt:ce,eq:R,neq:pe,gte:de,lte:me,cmp:xe,coerce:Ie,Comparator:requireComparator(),Range:requireRange(),satisfies:Be,toComparators:Ke,maxSatisfying:We,minSatisfying:He,minVersion:Ye,validRange:Ze,outside:ct,gtr:pt,ltr:dt,intersects:mt,simplifyRange:simplify,subset:vt};var wt=At;var builtins=function({version:e=process.version,experimental:t=false}={}){var r=["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"];if(wt.lt(e,"6.0.0"))r.push("freelist");if(wt.gte(e,"1.0.0"))r.push("v8");if(wt.gte(e,"1.1.0"))r.push("process");if(wt.gte(e,"8.0.0"))r.push("inspector");if(wt.gte(e,"8.1.0"))r.push("async_hooks");if(wt.gte(e,"8.4.0"))r.push("http2");if(wt.gte(e,"8.5.0"))r.push("perf_hooks");if(wt.gte(e,"10.0.0"))r.push("trace_events");if(wt.gte(e,"10.5.0")&&(t||wt.gte(e,"12.0.0"))){r.push("worker_threads")}if(wt.gte(e,"12.16.0")&&t){r.push("wasi")}return r};const It={read:read};function read(e){return find(_path().dirname(e))}function find(e){try{const t=_fs().default.readFileSync(_path().toNamespacedPath(_path().join(e,"package.json")),"utf8");return{string:t}}catch(t){if(t.code==="ENOENT"){const t=_path().dirname(e);if(e!==t)return find(t);return{string:undefined}}throw t}}const Ct=process.platform==="win32";const Ot={}.hasOwnProperty;const kt={};const Nt=new Map;const Dt="__node_internal_";let Mt;kt.ERR_INVALID_MODULE_SPECIFIER=createError("ERR_INVALID_MODULE_SPECIFIER",((e,t,r=undefined)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`),TypeError);kt.ERR_INVALID_PACKAGE_CONFIG=createError("ERR_INVALID_PACKAGE_CONFIG",((e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`),Error);kt.ERR_INVALID_PACKAGE_TARGET=createError("ERR_INVALID_PACKAGE_TARGET",((e,t,r,n=false,s=undefined)=>{const i=typeof r==="string"&&!n&&r.length>0&&!r.startsWith("./");if(t==="."){_assert()(n===false);return`Invalid "exports" main target ${JSON.stringify(r)} defined `+`in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`}return`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`}),Error);kt.ERR_MODULE_NOT_FOUND=createError("ERR_MODULE_NOT_FOUND",((e,t,r="package")=>`Cannot find ${r} '${e}' imported from ${t}`),Error);kt.ERR_PACKAGE_IMPORT_NOT_DEFINED=createError("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`),TypeError);kt.ERR_PACKAGE_PATH_NOT_EXPORTED=createError("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,r=undefined)=>{if(t===".")return`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`;return`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`}),Error);kt.ERR_UNSUPPORTED_DIR_IMPORT=createError("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported "+"resolving ES modules imported from %s",Error);kt.ERR_UNKNOWN_FILE_EXTENSION=createError("ERR_UNKNOWN_FILE_EXTENSION",'Unknown file extension "%s" for %s',TypeError);kt.ERR_INVALID_ARG_VALUE=createError("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=(0,_util().inspect)(t);if(n.length>128){n=`${n.slice(0,128)}...`}const s=e.includes(".")?"property":"argument";return`The ${s} '${e}' ${r}. Received ${n}`}),TypeError);kt.ERR_UNSUPPORTED_ESM_URL_SCHEME=createError("ERR_UNSUPPORTED_ESM_URL_SCHEME",(e=>{let t="Only file and data URLs are supported by the default ESM loader";if(Ct&&e.protocol.length===2){t+=". On Windows, absolute paths must be valid file:// URLs"}t+=`. Received protocol '${e.protocol}'`;return t}),Error);function createError(e,t,r){Nt.set(e,t);return makeNodeErrorWithCode(r,e)}function makeNodeErrorWithCode(e,t){return NodeError;function NodeError(...r){const n=Error.stackTraceLimit;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=0;const s=new e;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=n;const i=getMessage(t,r,s);Object.defineProperty(s,"message",{value:i,enumerable:false,writable:true,configurable:true});Object.defineProperty(s,"toString",{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:false,writable:true,configurable:true});Lt(s,e.name,t);s.code=t;return s}}const Lt=hideStackFrames((function(e,t,r){e=jt(e);e.name=`${t} [${r}]`;e.stack;if(t==="SystemError"){Object.defineProperty(e,"name",{value:t,enumerable:false,writable:true,configurable:true})}else{delete e.name}}));function isErrorStackTraceLimitWritable(){const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");if(e===undefined){return Object.isExtensible(Error)}return Ot.call(e,"writable")?e.writable:e.set!==undefined}function hideStackFrames(e){const t=Dt+e.name;Object.defineProperty(e,"name",{value:t});return e}const jt=hideStackFrames((function(e){const t=isErrorStackTraceLimitWritable();if(t){Mt=Error.stackTraceLimit;Error.stackTraceLimit=Number.POSITIVE_INFINITY}Error.captureStackTrace(e);if(t)Error.stackTraceLimit=Mt;return e}));function getMessage(e,t,r){const n=Nt.get(e);if(typeof n==="function"){_assert()(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not `+`match the required ones (${n.length}).`);return Reflect.apply(n,r,t)}const s=(n.match(/%[dfijoOs]/g)||[]).length;_assert()(s===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not `+`match the required ones (${s}).`);if(t.length===0)return n;t.unshift(n);return Reflect.apply(_util().format,null,t)}const{ERR_UNKNOWN_FILE_EXTENSION:Ft}=kt;const Rt={__proto__:null,".cjs":"commonjs",".js":"module",".mjs":"module"};function defaultGetFormat(e){if(e.startsWith("node:")){return{format:"builtin"}}const t=new(_url().URL)(e);if(t.protocol==="data:"){const{1:e}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(t.pathname)||[null,null];const r=e==="text/javascript"?"module":null;return{format:r}}if(t.protocol==="file:"){const r=_path().extname(t.pathname);let n;if(r===".js"){n=getPackageType(t.href)==="module"?"module":"commonjs"}else{n=Rt[r]}if(!n){throw new Ft(r,(0,_url().fileURLToPath)(e))}return{format:n||null}}return{format:null}}const Bt=builtins();const{ERR_INVALID_MODULE_SPECIFIER:Ut,ERR_INVALID_PACKAGE_CONFIG:Kt,ERR_INVALID_PACKAGE_TARGET:$t,ERR_MODULE_NOT_FOUND:Vt,ERR_PACKAGE_IMPORT_NOT_DEFINED:Wt,ERR_PACKAGE_PATH_NOT_EXPORTED:qt,ERR_UNSUPPORTED_DIR_IMPORT:Gt,ERR_UNSUPPORTED_ESM_URL_SCHEME:Ht,ERR_INVALID_ARG_VALUE:Xt}=kt;const Jt={}.hasOwnProperty;const zt=Object.freeze(["node","import"]);const Yt=new Set(zt);const Qt=/(^|\\|\/)(\.\.?|node_modules)(\\|\/|$)/;const Zt=/\*/g;const er=/%2f|%2c/i;const tr=new Set;const rr=new Map;function emitFolderMapDeprecation(e,t,r,n){const s=(0,_url().fileURLToPath)(t);if(tr.has(s+"|"+e))return;tr.add(s+"|"+e);process.emitWarning(`Use of deprecated folder mapping "${e}" in the ${r?'"exports"':'"imports"'} field module resolution of the package at ${s}${n?` imported from ${(0,_url().fileURLToPath)(n)}`:""}.\n`+`Update this package.json to use a subpath pattern like "${e}*".`,"DeprecationWarning","DEP0148")}function emitLegacyIndexDeprecation(e,t,r,n){const{format:s}=defaultGetFormat(e.href);if(s!=="module")return;const i=(0,_url().fileURLToPath)(e.href);const a=(0,_url().fileURLToPath)(new(_url().URL)(".",t));const o=(0,_url().fileURLToPath)(r);if(n)process.emitWarning(`Package ${a} has a "main" field set to ${JSON.stringify(n)}, `+`excluding the full filename and extension to the resolved file at "${i.slice(a.length)}", imported from ${o}.\n Automatic extension resolution of the "main" field is`+"deprecated for ES modules.","DeprecationWarning","DEP0151");else process.emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${i.slice(a.length)}", imported from ${o}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function getConditionsSet(e){if(e!==undefined&&e!==zt){if(!Array.isArray(e)){throw new Xt("conditions",e,"expected an array")}return new Set(e)}return Yt}function tryStatSync(e){try{return(0,_fs().statSync)(e)}catch(e){return new(_fs().Stats)}}function getPackageConfig(e,t,r){const n=rr.get(e);if(n!==undefined){return n}const s=It.read(e).string;if(s===undefined){const t={pjsonPath:e,exists:false,main:undefined,name:undefined,type:"none",exports:undefined,imports:undefined};rr.set(e,t);return t}let i;try{i=JSON.parse(s)}catch(n){throw new Kt(e,(r?`"${t}" from `:"")+(0,_url().fileURLToPath)(r||t),n.message)}const{exports:a,imports:o,main:l,name:c,type:u}=i;const p={pjsonPath:e,exists:true,main:typeof l==="string"?l:undefined,name:typeof c==="string"?c:undefined,type:u==="module"||u==="commonjs"?u:"none",exports:a,imports:o&&typeof o==="object"?o:undefined};rr.set(e,p);return p}function getPackageScopeConfig(e){let t=new(_url().URL)("./package.json",e);while(true){const r=t.pathname;if(r.endsWith("node_modules/package.json"))break;const n=getPackageConfig((0,_url().fileURLToPath)(t),e);if(n.exists)return n;const s=t;t=new(_url().URL)("../package.json",t);if(t.pathname===s.pathname)break}const r=(0,_url().fileURLToPath)(t);const n={pjsonPath:r,exists:false,main:undefined,name:undefined,type:"none",exports:undefined,imports:undefined};rr.set(r,n);return n}function fileExists(e){return tryStatSync((0,_url().fileURLToPath)(e)).isFile()}function legacyMainResolve(e,t,r){let n;if(t.main!==undefined){n=new(_url().URL)(`./${t.main}`,e);if(fileExists(n))return n;const s=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let i=-1;while(++i<s.length){n=new(_url().URL)(s[i],e);if(fileExists(n))break;n=undefined}if(n){emitLegacyIndexDeprecation(n,e,r,t.main);return n}}const s=["./index.js","./index.json","./index.node"];let i=-1;while(++i<s.length){n=new(_url().URL)(s[i],e);if(fileExists(n))break;n=undefined}if(n){emitLegacyIndexDeprecation(n,e,r,t.main);return n}throw new Vt((0,_url().fileURLToPath)(new(_url().URL)(".",e)),(0,_url().fileURLToPath)(r))}function finalizeResolution(e,t){if(er.test(e.pathname))throw new Ut(e.pathname,'must not include encoded "/" or "\\" characters',(0,_url().fileURLToPath)(t));const r=(0,_url().fileURLToPath)(e);const n=tryStatSync(r.endsWith("/")?r.slice(-1):r);if(n.isDirectory()){const n=new Gt(r,(0,_url().fileURLToPath)(t));n.url=String(e);throw n}if(!n.isFile()){throw new Vt(r||e.pathname,t&&(0,_url().fileURLToPath)(t),"module")}return e}function throwImportNotDefined(e,t,r){throw new Wt(e,t&&(0,_url().fileURLToPath)(new(_url().URL)(".",t)),(0,_url().fileURLToPath)(r))}function throwExportsNotFound(e,t,r){throw new qt((0,_url().fileURLToPath)(new(_url().URL)(".",t)),e,r&&(0,_url().fileURLToPath)(r))}function throwInvalidSubpath(e,t,r,n){const s=`request is not a valid subpath for the "${r?"imports":"exports"}" resolution of ${(0,_url().fileURLToPath)(t)}`;throw new Ut(e,s,n&&(0,_url().fileURLToPath)(n))}function throwInvalidPackageTarget(e,t,r,n,s){t=typeof t==="object"&&t!==null?JSON.stringify(t,null,""):`${t}`;throw new $t((0,_url().fileURLToPath)(new(_url().URL)(".",r)),e,t,n,s&&(0,_url().fileURLToPath)(s))}function resolvePackageTargetString(e,t,r,n,s,i,a,o){if(t!==""&&!i&&e[e.length-1]!=="/")throwInvalidPackageTarget(r,e,n,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let r=false;try{new(_url().URL)(e);r=true}catch(e){}if(!r){const r=i?e.replace(Zt,t):e+t;return packageResolve(r,n,o)}}throwInvalidPackageTarget(r,e,n,a,s)}if(Qt.test(e.slice(2)))throwInvalidPackageTarget(r,e,n,a,s);const l=new(_url().URL)(e,n);const c=l.pathname;const u=new(_url().URL)(".",n).pathname;if(!c.startsWith(u))throwInvalidPackageTarget(r,e,n,a,s);if(t==="")return l;if(Qt.test(t))throwInvalidSubpath(r+t,n,a,s);if(i)return new(_url().URL)(l.href.replace(Zt,t));return new(_url().URL)(t,l)}function isArrayIndex(e){const t=Number(e);if(`${t}`!==e)return false;return t>=0&&t<4294967295}function resolvePackageTarget(e,t,r,n,s,i,a,o){if(typeof t==="string"){return resolvePackageTargetString(t,r,n,e,s,i,a,o)}if(Array.isArray(t)){const l=t;if(l.length===0)return null;let c;let u=-1;while(++u<l.length){const t=l[u];let p;try{p=resolvePackageTarget(e,t,r,n,s,i,a,o)}catch(e){c=e;if(e.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw e}if(p===undefined)continue;if(p===null){c=null;continue}return p}if(c===undefined||c===null){return c}throw c}if(typeof t==="object"&&t!==null){const l=Object.getOwnPropertyNames(t);let c=-1;while(++c<l.length){const t=l[c];if(isArrayIndex(t)){throw new Kt((0,_url().fileURLToPath)(e),s,'"exports" cannot contain numeric property keys.')}}c=-1;while(++c<l.length){const u=l[c];if(u==="default"||o&&o.has(u)){const l=t[u];const c=resolvePackageTarget(e,l,r,n,s,i,a,o);if(c===undefined)continue;return c}}return undefined}if(t===null){return null}throwInvalidPackageTarget(n,t,e,a,s)}function isConditionalExportsMainSugar(e,t,r){if(typeof e==="string"||Array.isArray(e))return true;if(typeof e!=="object"||e===null)return false;const n=Object.getOwnPropertyNames(e);let s=false;let i=0;let a=-1;while(++a<n.length){const e=n[a];const o=e===""||e[0]!==".";if(i++===0){s=o}else if(s!==o){throw new Kt((0,_url().fileURLToPath)(t),r,"\"exports\" cannot contain some keys starting with '.' and some not."+" The exports object must either be an object of package subpath keys"+" or an object of main entry condition name keys only.")}}return s}function packageExportsResolve(e,t,r,n,s){let i=r.exports;if(isConditionalExportsMainSugar(i,e,n))i={".":i};if(Jt.call(i,t)){const r=i[t];const a=resolvePackageTarget(e,r,"",t,n,false,false,s);if(a===null||a===undefined)throwExportsNotFound(t,e,n);return{resolved:a,exact:true}}let a="";const o=Object.getOwnPropertyNames(i);let l=-1;while(++l<o.length){const e=o[l];if(e[e.length-1]==="*"&&t.startsWith(e.slice(0,-1))&&t.length>=e.length&&e.length>a.length){a=e}else if(e[e.length-1]==="/"&&t.startsWith(e)&&e.length>a.length){a=e}}if(a){const r=i[a];const o=a[a.length-1]==="*";const l=t.slice(a.length-(o?1:0));const c=resolvePackageTarget(e,r,l,a,n,o,false,s);if(c===null||c===undefined)throwExportsNotFound(t,e,n);if(!o)emitFolderMapDeprecation(a,e,true,n);return{resolved:c,exact:o}}throwExportsNotFound(t,e,n)}function packageImportsResolve(e,t,r){if(e==="#"||e.startsWith("#/")){const r="is not a valid internal imports specifier name";throw new Ut(e,r,(0,_url().fileURLToPath)(t))}let n;const s=getPackageScopeConfig(t);if(s.exists){n=(0,_url().pathToFileURL)(s.pjsonPath);const i=s.imports;if(i){if(Jt.call(i,e)){const s=resolvePackageTarget(n,i[e],"",e,t,false,true,r);if(s!==null)return{resolved:s,exact:true}}else{let s="";const a=Object.getOwnPropertyNames(i);let o=-1;while(++o<a.length){const t=a[o];if(t[t.length-1]==="*"&&e.startsWith(t.slice(0,-1))&&e.length>=t.length&&t.length>s.length){s=t}else if(t[t.length-1]==="/"&&e.startsWith(t)&&t.length>s.length){s=t}}if(s){const a=i[s];const o=s[s.length-1]==="*";const l=e.slice(s.length-(o?1:0));const c=resolvePackageTarget(n,a,l,s,t,o,true,r);if(c!==null){if(!o)emitFolderMapDeprecation(s,n,false,t);return{resolved:c,exact:o}}}}}}throwImportNotDefined(e,n,t)}function getPackageType(e){const t=getPackageScopeConfig(e);return t.type}function parsePackageName(e,t){let r=e.indexOf("/");let n=true;let s=false;if(e[0]==="@"){s=true;if(r===-1||e.length===0){n=false}else{r=e.indexOf("/",r+1)}}const i=r===-1?e:e.slice(0,r);let a=-1;while(++a<i.length){if(i[a]==="%"||i[a]==="\\"){n=false;break}}if(!n){throw new Ut(e,"is not a valid package name",(0,_url().fileURLToPath)(t))}const o="."+(r===-1?"":e.slice(r));return{packageName:i,packageSubpath:o,isScoped:s}}function packageResolve(e,t,r){const{packageName:n,packageSubpath:s,isScoped:i}=parsePackageName(e,t);const a=getPackageScopeConfig(t);if(a.exists){const e=(0,_url().pathToFileURL)(a.pjsonPath);if(a.name===n&&a.exports!==undefined&&a.exports!==null){return packageExportsResolve(e,s,a,t,r).resolved}}let o=new(_url().URL)("./node_modules/"+n+"/package.json",t);let l=(0,_url().fileURLToPath)(o);let c;do{const a=tryStatSync(l.slice(0,-13));if(!a.isDirectory()){c=l;o=new(_url().URL)((i?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",o);l=(0,_url().fileURLToPath)(o);continue}const u=getPackageConfig(l,e,t);if(u.exports!==undefined&&u.exports!==null)return packageExportsResolve(o,s,u,t,r).resolved;if(s===".")return legacyMainResolve(o,u,t);return new(_url().URL)(s,o)}while(l.length!==c.length);throw new Vt(n,(0,_url().fileURLToPath)(t))}function isRelativeSpecifier(e){if(e[0]==="."){if(e.length===1||e[1]==="/")return true;if(e[1]==="."&&(e.length===2||e[2]==="/")){return true}}return false}function shouldBeTreatedAsRelativeOrAbsolutePath(e){if(e==="")return false;if(e[0]==="/")return true;return isRelativeSpecifier(e)}function moduleResolve(e,t,r){let n;if(shouldBeTreatedAsRelativeOrAbsolutePath(e)){n=new(_url().URL)(e,t)}else if(e[0]==="#"){({resolved:n}=packageImportsResolve(e,t,r))}else{try{n=new(_url().URL)(e)}catch(s){n=packageResolve(e,t,r)}}return finalizeResolution(n,t)}function defaultResolve(e,t={}){const{parentURL:r}=t;let n;try{n=new(_url().URL)(e);if(n.protocol==="data:"){return{url:e}}}catch(e){}if(n&&n.protocol==="node:")return{url:e};if(n&&n.protocol!=="file:"&&n.protocol!=="data:")throw new Ht(n);if(Bt.includes(e)){return{url:"node:"+e}}if(r.startsWith("data:")){new(_url().URL)(e,r)}const s=getConditionsSet(t.conditions);let i=moduleResolve(e,new(_url().URL)(r),s);const a=(0,_url().fileURLToPath)(i);const o=(0,_fs().realpathSync)(a);const l=i;i=(0,_url().pathToFileURL)(o+(a.endsWith(_path().sep)?"/":""));i.search=l.search;i.hash=l.hash;return{url:`${i}`}}function resolve(e,t){return _resolve.apply(this,arguments)}function _resolve(){_resolve=_asyncToGenerator((function*(e,t){if(!t){throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that")}try{return defaultResolve(e,{parentURL:t}).url}catch(e){return e.code==="ERR_UNSUPPORTED_DIR_IMPORT"?e.url:Promise.reject(e)}}));return _resolve.apply(this,arguments)}},4623:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function SourcePos(){return{identifierName:undefined,line:undefined,column:undefined,filename:undefined}}const r=/^[ \t]+$/;class Buffer{constructor(e){this._map=null;this._buf="";this._last=0;this._queue=[];this._position={line:1,column:0};this._sourcePosition=SourcePos();this._disallowedPop=null;this._map=e}get(){this._flush();const e=this._map;const t={code:this._buf.trimRight(),decodedMap:e==null?void 0:e.getDecoded(),get map(){return t.map=e?e.get():null},set map(e){Object.defineProperty(t,"map",{value:e,writable:true})},get rawMappings(){return t.rawMappings=e==null?void 0:e.getRawMappings()},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:true})}};return t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:s}=this._sourcePosition;this._append(e,t,r,s,n)}queue(e){if(e==="\n"){while(this._queue.length>0&&r.test(this._queue[0][0])){this._queue.shift()}}const{line:t,column:n,filename:s,identifierName:i}=this._sourcePosition;this._queue.unshift([e,t,n,i,s])}queueIndentation(e){this._queue.unshift([e,undefined,undefined,undefined,undefined])}_flush(){let e;while(e=this._queue.pop()){this._append(...e)}}_append(e,t,r,n,s){this._buf+=e;this._last=e.charCodeAt(e.length-1);let i=e.indexOf("\n");let a=0;if(i!==0){this._mark(t,r,n,s)}while(i!==-1){this._position.line++;this._position.column=0;a=i+1;if(a<e.length){this._mark(++t,0,n,s)}i=e.indexOf("\n",a)}this._position.column+=e.length-a}_mark(e,t,r,n){var s;(s=this._map)==null?void 0:s.mark(this._position,e,t,r,n)}removeTrailingNewline(){if(this._queue.length>0&&this._queue[0][0]==="\n"){this._queue.shift()}}removeLastSemicolon(){if(this._queue.length>0&&this._queue[0][0]===";"){this._queue.shift()}}getLastChar(){let e;if(this._queue.length>0){const t=this._queue[0][0];e=t.charCodeAt(0)}else{e=this._last}return e}endsWithCharAndNewline(){const e=this._queue;if(e.length>0){const t=e[0][0];const r=t.charCodeAt(0);if(r!==10)return;if(e.length>1){const t=e[1][0];return t.charCodeAt(0)}else{return this._last}}}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e);t();this.source("end",e);this._disallowPop("start",e)}source(e,t){if(e&&!t)return;this._normalizePosition(e,t,this._sourcePosition)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line;const s=this._sourcePosition.column;const i=this._sourcePosition.filename;const a=this._sourcePosition.identifierName;this.source(e,t);r();if(!this._disallowedPop||this._disallowedPop.line!==n||this._disallowedPop.column!==s||this._disallowedPop.filename!==i){this._sourcePosition.line=n;this._sourcePosition.column=s;this._sourcePosition.filename=i;this._sourcePosition.identifierName=a;this._disallowedPop=null}}_disallowPop(e,t){if(e&&!t)return;this._disallowedPop=this._normalizePosition(e,t,SourcePos())}_normalizePosition(e,t,r){const n=t?t[e]:null;r.identifierName=e==="start"&&(t==null?void 0:t.identifierName)||undefined;r.line=n==null?void 0:n.line;r.column=n==null?void 0:n.column;r.filename=t==null?void 0:t.filename;return r}getCurrentColumn(){const e=this._queue.reduce(((e,t)=>t[0]+e),"");const t=e.lastIndexOf("\n");return t===-1?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce(((e,t)=>t[0]+e),"");let t=0;for(let r=0;r<e.length;r++){if(e[r]==="\n")t++}return this._position.line+t}}t["default"]=Buffer},2897:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.File=File;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;t.Program=Program;function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){this.printInnerComments(e,false);this.printSequence(e.directives,e);if(e.directives&&e.directives.length)this.newline();this.printSequence(e.body,e)}function BlockStatement(e){var t;this.token("{");this.printInnerComments(e);const r=(t=e.directives)==null?void 0:t.length;if(e.body.length||r){this.newline();this.printSequence(e.directives,e,{indent:true});if(r)this.newline();this.printSequence(e.body,e,{indent:true});this.removeTrailingNewline();this.source("end",e.loc);if(!this.endsWith(10))this.newline();this.rightBrace()}else{this.source("end",e.loc);this.token("}")}}function Directive(e){this.print(e.value,e);this.semicolon()}const r=/(?:^|[^\\])(?:\\\\)*'/;const n=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!=null){this.token(t);return}const{value:s}=e;if(!n.test(s)){this.token(`"${s}"`)}else if(!r.test(s)){this.token(`'${s}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}\n`)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},3988:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassAccessorProperty=ClassAccessorProperty;t.ClassBody=ClassBody;t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassProperty=ClassProperty;t.StaticBlock=StaticBlock;t._classMethodHead=_classMethodHead;var n=r(6953);const{isExportDefaultDeclaration:s,isExportNamedDeclaration:i}=n;function ClassDeclaration(e,t){if(!this.format.decoratorsBeforeExport||!s(t)&&!i(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");this.printInnerComments(e);if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.token("{");this.printInnerComments(e);if(e.body.length===0){this.token("}")}else{this.newline();this.indent();this.printSequence(e.body,e);this.dedent();if(!this.endsWith(10))this.newline();this.rightBrace()}}function ClassProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassAccessorProperty(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,true);this.word("accessor");this.printInnerComments(e);this.space();if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.token("?")}if(e.definite){this.token("!")}this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.token("=");this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){this.printJoin(e.decorators,e);this.source("end",e.key.loc);this.tsPrintClassMemberModifiers(e,false);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.token("{");if(e.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace()}}},764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.AssignmentPattern=AssignmentPattern;t.AwaitExpression=void 0;t.BindExpression=BindExpression;t.CallExpression=CallExpression;t.ConditionalExpression=ConditionalExpression;t.Decorator=Decorator;t.DoExpression=DoExpression;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.Import=Import;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.ModuleExpression=ModuleExpression;t.NewExpression=NewExpression;t.OptionalCallExpression=OptionalCallExpression;t.OptionalMemberExpression=OptionalMemberExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.PrivateName=PrivateName;t.SequenceExpression=SequenceExpression;t.Super=Super;t.ThisExpression=ThisExpression;t.UnaryExpression=UnaryExpression;t.UpdateExpression=UpdateExpression;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.YieldExpression=void 0;var n=r(6953);var s=r(4815);const{isCallExpression:i,isLiteral:a,isMemberExpression:o,isNewExpression:l}=n;function UnaryExpression(e){if(e.operator==="void"||e.operator==="delete"||e.operator==="typeof"||e.operator==="throw"){this.word(e.operator);this.space()}else{this.token(e.operator)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async");this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.token("(");this.print(e.expression,e);this.token(")")}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.startTerminatorless(true);this.print(e.argument,e);this.endTerminatorless();this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.token("?");this.space();this.print(e.consequent,e);this.space();this.token(":");this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!i(t,{callee:e})&&!o(t)&&!l(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function isDecoratorMemberExpression(e){switch(e.type){case"Identifier":return true;case"MemberExpression":return!e.computed&&e.property.type==="Identifier"&&isDecoratorMemberExpression(e.object);default:return false}}function shouldParenthesizeDecoratorExpression(e){if(e.type==="CallExpression"){e=e.callee}if(e.type==="ParenthesizedExpression"){return false}return!isDecoratorMemberExpression(e)}function Decorator(e){this.token("@");const{expression:t}=e;if(shouldParenthesizeDecoratorExpression(t)){this.token("(");this.print(t,e);this.token(")")}else{this.print(t,e)}this.newline()}function OptionalMemberExpression(e){this.print(e.object,e);if(!e.computed&&o(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(a(e.property)&&typeof e.property.value==="number"){t=true}if(e.optional){this.token("?.")}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{if(!e.optional){this.token(".")}this.print(e.property,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.token("(");this.printList(e.arguments,e);this.token(")")}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.token("(");this.printList(e.arguments,e);this.token(")")}function Import(){this.word("import")}function buildYieldAwait(e){return function(t){this.word(e);if(t.delegate){this.token("*")}if(t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t);this.endTerminatorless(e)}}}const c=buildYieldAwait("yield");t.YieldExpression=c;const u=buildYieldAwait("await");t.AwaitExpression=u;function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.token("?");this.print(e.left.typeAnnotation,e);this.space();this.token("=");this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!s.needsParens(e,t);if(r){this.token("(")}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.token(")")}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&o(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(a(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.token("[");this.print(e.property,e);this.token("]")}else{this.token(".");this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.token(".");this.print(e.property,e)}function PrivateName(e){this.token("#");this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.token("%");this.word(e.name)}function ModuleExpression(e){this.word("module");this.space();this.token("{");if(e.body.body.length===0){this.token("}")}else{this.newline();this.printSequence(e.body.body,e,{indent:true});this.rightBrace()}}},2231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareFunction=DeclareFunction;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareVariable=DeclareVariable;t.DeclaredPredicate=DeclaredPredicate;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.EnumBooleanBody=EnumBooleanBody;t.EnumBooleanMember=EnumBooleanMember;t.EnumDeclaration=EnumDeclaration;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumNumberBody=EnumNumberBody;t.EnumNumberMember=EnumNumberMember;t.EnumStringBody=EnumStringBody;t.EnumStringMember=EnumStringMember;t.EnumSymbolBody=EnumSymbolBody;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.IndexedAccessType=IndexedAccessType;t.InferredPredicate=InferredPredicate;t.InterfaceDeclaration=InterfaceDeclaration;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return i.NumericLiteral}});t.NumberTypeAnnotation=NumberTypeAnnotation;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.OpaqueType=OpaqueType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return i.StringLiteral}});t.StringTypeAnnotation=StringTypeAnnotation;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.TypeParameter=TypeParameter;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t._interfaceish=_interfaceish;t._variance=_variance;var n=r(6953);var s=r(4982);var i=r(5764);const{isDeclareExportDeclaration:a,isStatement:o}=n;function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e);this.token("[");this.token("]")}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!a(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!a(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.token("%");this.word("checks")}function DeclaredPredicate(e){this.token("%");this.word("checks");this.token("(");this.print(e.value,e);this.token(")")}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.token(".");this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!a(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!a(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.apply(this,arguments)}function DeclareExportAllDeclaration(){this.word("declare");this.space();s.ExportAllDeclaration.apply(this,arguments)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.token(",")}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!o(t))this.semicolon()}else{this.token("{");if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.token("}");if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.token("*")}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.token("(");if(e.this){this.word("this");this.token(":");this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.token(",");this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.token(",");this.space()}this.token("...");this.print(e.rest,e)}this.token(")");if(t&&(t.type==="ObjectTypeCallProperty"||t.type==="DeclareFunction"||t.type==="ObjectTypeProperty"&&t.method)){this.token(":")}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.token("?");if(e.name){this.token(":");this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.mixins&&e.mixins.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if(e.implements&&e.implements.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function _variance(e){if(e.variance){if(e.variance.kind==="plus"){this.token("+")}else if(e.variance.kind==="minus"){this.token("-")}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.token("&");this.space()}function InterfaceTypeAnnotation(e){this.word("interface");if(e.extends&&e.extends.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.token("?");this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.token("[");this.printList(e.types,e);this.token("]")}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.token("=");this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.token("<");this.printList(e.params,e,{});this.token(">")}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.token(":");this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.token("=");this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.token("{")}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.token(",");this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.token("}")}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.token("[");this.token("[");this.print(e.id,e);this.token("]");this.token("]");if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.token("[");if(e.id){this.print(e.id,e);this.token(":");this.space()}this.print(e.key,e);this.token("]");this.token(":");this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.token("?");if(!e.method){this.token(":");this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.token(".");this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.token("|");this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.token("(");this.print(e.expression,e);this.print(e.typeAnnotation,e);this.token(")")}function Variance(e){if(e.kind==="plus"){this.token("+")}else{this.token("-")}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.token("[");this.print(e.indexType,e);this.token("]")}},6638:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(5624);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})}));var s=r(764);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})}));var i=r(4022);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})}));var a=r(3988);Object.keys(a).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})}));var o=r(4908);Object.keys(o).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})}));var l=r(4982);Object.keys(l).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})}));var c=r(5764);Object.keys(c).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})}));var u=r(2231);Object.keys(u).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})}));var p=r(2897);Object.keys(p).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})}));var f=r(6737);Object.keys(f).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})}));var d=r(633);Object.keys(d).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})}))},6737:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXClosingElement=JSXClosingElement;t.JSXClosingFragment=JSXClosingFragment;t.JSXElement=JSXElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXFragment=JSXFragment;t.JSXIdentifier=JSXIdentifier;t.JSXMemberExpression=JSXMemberExpression;t.JSXNamespacedName=JSXNamespacedName;t.JSXOpeningElement=JSXOpeningElement;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;function JSXAttribute(e){this.print(e.name,e);if(e.value){this.token("=");this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.token(":");this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.token(".");this.print(e.property,e)}function JSXSpreadAttribute(e){this.token("{");this.token("...");this.print(e.argument,e);this.token("}")}function JSXExpressionContainer(e){this.token("{");this.print(e.expression,e);this.token("}")}function JSXSpreadChild(e){this.token("{");this.token("...");this.print(e.expression,e);this.token("}")}function JSXText(e){const t=this.getPossibleRaw(e);if(t!=null){this.token(t)}else{this.token(e.value)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.token("<");this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.token(">")}}function JSXClosingElement(e){this.token("</");this.print(e.name,e);this.token(">")}function JSXEmptyExpression(e){this.printInnerComments(e)}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.token("<");this.token(">")}function JSXClosingFragment(){this.token("</");this.token(">")}},4908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrowFunctionExpression=ArrowFunctionExpression;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t._functionHead=_functionHead;t._methodHead=_methodHead;t._param=_param;t._parameters=_parameters;t._params=_params;t._predicate=_predicate;var n=r(6953);const{isIdentifier:s}=n;function _params(e){this.print(e.typeParameters,e);this.token("(");this._parameters(e.params,e);this.token(")");this.print(e.returnType,e)}function _parameters(e,t){for(let r=0;r<e.length;r++){this._param(e[r],t);if(r<e.length-1){this.token(",");this.space()}}}function _param(e,t){this.printJoin(e.decorators,e);this.print(e,t);if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function _methodHead(e){const t=e.kind;const r=e.key;if(t==="get"||t==="set"){this.word(t);this.space()}if(e.async){this._catchUp("start",r.loc);this.word("async");this.space()}if(t==="method"||t==="init"){if(e.generator){this.token("*")}}if(e.computed){this.token("[");this.print(r,e);this.token("]")}else{this.print(r,e)}if(e.optional){this.token("?")}this._params(e)}function _predicate(e){if(e.predicate){if(!e.returnType){this.token(":")}this.space();this.print(e.predicate,e)}}function _functionHead(e){if(e.async){this.word("async");this.space()}this.word("function");if(e.generator)this.token("*");this.printInnerComments(e);this.space();if(e.id){this.print(e.id,e)}this._params(e);this._predicate(e)}function FunctionExpression(e){this._functionHead(e);this.space();this.print(e.body,e)}function ArrowFunctionExpression(e){if(e.async){this.word("async");this.space()}const t=e.params[0];if(!this.format.retainLines&&!this.format.auxiliaryCommentBefore&&!this.format.auxiliaryCommentAfter&&e.params.length===1&&s(t)&&!hasTypesOrComments(e,t)){this.print(t,e)}else{this._params(e)}this._predicate(e);this.space();this.token("=>");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}},4982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExportAllDeclaration=ExportAllDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportSpecifier=ExportSpecifier;t.ImportAttribute=ImportAttribute;t.ImportDeclaration=ImportDeclaration;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;t.ImportSpecifier=ImportSpecifier;var n=r(6953);const{isClassDeclaration:s,isExportDefaultSpecifier:i,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:o,isImportNamespaceSpecifier:l,isStatement:c}=n;function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){if(e.exportKind==="type"){this.word("type");this.space()}this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.exported,e)}function ExportAllDeclaration(e){this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.token("*");this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e);this.semicolon()}function ExportNamedDeclaration(e){if(this.format.decoratorsBeforeExport&&s(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(e){if(this.format.decoratorsBeforeExport&&s(e.declaration)){this.printJoin(e.declaration.decorators,e)}this.word("export");this.space();this.word("default");this.space();ExportDeclaration.apply(this,arguments)}function ExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!c(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const t=e.specifiers.slice(0);let r=false;for(;;){const n=t[0];if(i(n)||a(n)){r=true;this.print(t.shift(),e);if(t.length){this.token(",");this.space()}}else{break}}if(t.length||!t.length&&!r){this.token("{");if(t.length){this.space();this.printList(t,e);this.space()}this.token("}")}if(e.source){this.space();this.word("from");this.space();this.print(e.source,e);this.printAssertions(e)}this.semicolon()}}function ImportDeclaration(e){this.word("import");this.space();const t=e.importKind==="type"||e.importKind==="typeof";if(t){this.word(e.importKind);this.space()}const r=e.specifiers.slice(0);const n=!!r.length;while(n){const t=r[0];if(o(t)||l(t)){this.print(r.shift(),e);if(r.length){this.token(",");this.space()}}else{break}}if(r.length){this.token("{");this.space();this.printList(r,e);this.space();this.token("}")}else if(t&&!n){this.token("{");this.token("}")}if(n||t){this.space();this.word("from");this.space()}this.print(e.source,e);this.printAssertions(e);{var s;if((s=e.attributes)!=null&&s.length){this.space();this.word("with");this.space();this.printList(e.attributes,e)}}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.token(":");this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.token("*");this.space();this.word("as");this.space();this.print(e.local,e)}},4022:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BreakStatement=void 0;t.CatchClause=CatchClause;t.ContinueStatement=void 0;t.DebuggerStatement=DebuggerStatement;t.DoWhileStatement=DoWhileStatement;t.ForOfStatement=t.ForInStatement=void 0;t.ForStatement=ForStatement;t.IfStatement=IfStatement;t.LabeledStatement=LabeledStatement;t.ReturnStatement=void 0;t.SwitchCase=SwitchCase;t.SwitchStatement=SwitchStatement;t.ThrowStatement=void 0;t.TryStatement=TryStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.WhileStatement=WhileStatement;t.WithStatement=WithStatement;var n=r(6953);const{isFor:s,isForStatement:i,isIfStatement:a,isStatement:o}=n;function WithStatement(e){this.word("with");this.space();this.token("(");this.print(e.object,e);this.token(")");this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.token("(");this.print(e.test,e);this.token(")");this.space();const t=e.alternate&&a(getLastStatement(e.consequent));if(t){this.token("{");this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.token("}")}if(e.alternate){if(this.endsWith(125))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){if(!o(e.body))return e;return getLastStatement(e.body)}function ForStatement(e){this.word("for");this.space();this.token("(");this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.token(";");if(e.test){this.space();this.print(e.test,e)}this.token(";");if(e.update){this.space();this.print(e.update,e)}this.token(")");this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.printBlock(e)}const buildForXStatement=function(e){return function(t){this.word("for");this.space();if(e==="of"&&t.await){this.word("await");this.space()}this.token("(");this.print(t.left,t);this.space();this.word(e);this.space();this.print(t.right,t);this.token(")");this.printBlock(t)}};const l=buildForXStatement("in");t.ForInStatement=l;const c=buildForXStatement("of");t.ForOfStatement=c;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.token("(");this.print(e.test,e);this.token(")");this.semicolon()}function buildLabelStatement(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e=t=="label";const s=this.startTerminatorless(e);this.print(n,r);this.endTerminatorless(s)}this.semicolon()}}const u=buildLabelStatement("continue");t.ContinueStatement=u;const p=buildLabelStatement("return","argument");t.ReturnStatement=p;const f=buildLabelStatement("break");t.BreakStatement=f;const d=buildLabelStatement("throw","argument");t.ThrowStatement=d;function LabeledStatement(e){this.print(e.label,e);this.token(":");this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.token("(");this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.token(")");this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.token("(");this.print(e.discriminant,e);this.token(")");this.space();this.token("{");this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.token("}")}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.token(":")}else{this.word("default");this.token(":")}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function variableDeclarationIndent(){this.token(",");this.newline();if(this.endsWith(10)){for(let e=0;e<4;e++)this.space(true)}}function constDeclarationIndent(){this.token(",");this.newline();if(this.endsWith(10)){for(let e=0;e<6;e++)this.space(true)}}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}this.word(e.kind);this.space();let r=false;if(!s(t)){for(const t of e.declarations){if(t.init){r=true}}}let n;if(r){n=e.kind==="const"?constDeclarationIndent:variableDeclarationIndent}this.printList(e.declarations,e,{separator:n});if(s(t)){if(i(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.token("!");this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.token("=");this.space();this.print(e.init,e)}}},5624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const s=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(s)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r<t.length;r++){this.print(t[r],e);if(r+1<t.length){this.print(e.expressions[r],e)}}}},5764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArgumentPlaceholder=ArgumentPlaceholder;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.BigIntLiteral=BigIntLiteral;t.BooleanLiteral=BooleanLiteral;t.DecimalLiteral=DecimalLiteral;t.Identifier=Identifier;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;t.PipelineTopicExpression=PipelineTopicExpression;t.RecordExpression=RecordExpression;t.RegExpLiteral=RegExpLiteral;t.SpreadElement=t.RestElement=RestElement;t.StringLiteral=StringLiteral;t.TopicReference=TopicReference;t.TupleExpression=TupleExpression;var n=r(6953);var s=r(4011);const{isAssignmentPattern:i,isIdentifier:a}=n;function Identifier(e){this.exactSource(e.loc,(()=>{this.word(e.name)}))}function ArgumentPlaceholder(){this.token("?")}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.token("{");this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token("}")}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.token("[");this.print(e.key,e);this.token("]")}else{if(i(e.value)&&a(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&a(e.key)&&a(e.value)&&e.key.name===e.value.name){return}}this.token(":");this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.token("[");this.printInnerComments(e);for(let n=0;n<t.length;n++){const s=t[n];if(s){if(n>0)this.space();this.print(s,e);if(n<r-1)this.token(",")}else{this.token(",")}}this.token("]")}function RecordExpression(e){const t=e.properties;let r;let n;if(this.format.recordAndTupleSyntaxType==="bar"){r="{|";n="|}"}else if(this.format.recordAndTupleSyntaxType==="hash"){r="#{";n="}"}else{throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`)}this.token(r);this.printInnerComments(e);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token(n)}function TupleExpression(e){const t=e.elements;const r=t.length;let n;let s;if(this.format.recordAndTupleSyntaxType==="bar"){n="[|";s="|]"}else if(this.format.recordAndTupleSyntaxType==="hash"){n="#[";s="]"}else{throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`)}this.token(n);this.printInnerComments(e);for(let n=0;n<t.length;n++){const s=t[n];if(s){if(n>0)this.space();this.print(s,e);if(n<r-1)this.token(",")}}this.token(s)}function RegExpLiteral(e){this.word(`/${e.pattern}/${e.flags}`)}function BooleanLiteral(e){this.word(e.value?"true":"false")}function NullLiteral(){this.word("null")}function NumericLiteral(e){const t=this.getPossibleRaw(e);const r=this.format.jsescOption;const n=e.value+"";if(r.numbers){this.number(s(e.value,r))}else if(t==null){this.number(n)}else if(this.format.minified){this.number(t.length<n.length?t:n)}else{this.number(t)}}function StringLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!=null){this.token(t);return}const r=s(e.value,Object.assign(this.format.jsescOption,this.format.jsonCompatibleStrings&&{json:true}));return this.token(r)}function BigIntLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!=null){this.word(t);return}this.word(e.value+"n")}function DecimalLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!=null){this.word(t);return}this.word(e.value+"m")}const o=new Set(["^^","@@","^","%","#"]);function TopicReference(){const{topicToken:e}=this.format;if(o.has(e)){this.token(e)}else{const t=JSON.stringify(e);const r=Array.from(o,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of `+`${r.join(", ")} (${t} received instead).`)}}function PipelineTopicExpression(e){this.print(e.expression,e)}function PipelineBareFunction(e){this.print(e.callee,e)}function PipelinePrimaryTopicReference(){this.token("#")}},633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSAnyKeyword=TSAnyKeyword;t.TSArrayType=TSArrayType;t.TSAsExpression=TSAsExpression;t.TSBigIntKeyword=TSBigIntKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConditionalType=TSConditionalType;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSConstructorType=TSConstructorType;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSExportAssignment=TSExportAssignment;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSExternalModuleReference=TSExternalModuleReference;t.TSFunctionType=TSFunctionType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSImportType=TSImportType;t.TSIndexSignature=TSIndexSignature;t.TSIndexedAccessType=TSIndexedAccessType;t.TSInferType=TSInferType;t.TSInstantiationExpression=TSInstantiationExpression;t.TSInterfaceBody=TSInterfaceBody;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSIntersectionType=TSIntersectionType;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSLiteralType=TSLiteralType;t.TSMappedType=TSMappedType;t.TSMethodSignature=TSMethodSignature;t.TSModuleBlock=TSModuleBlock;t.TSModuleDeclaration=TSModuleDeclaration;t.TSNamedTupleMember=TSNamedTupleMember;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.TSNeverKeyword=TSNeverKeyword;t.TSNonNullExpression=TSNonNullExpression;t.TSNullKeyword=TSNullKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSOptionalType=TSOptionalType;t.TSParameterProperty=TSParameterProperty;t.TSParenthesizedType=TSParenthesizedType;t.TSPropertySignature=TSPropertySignature;t.TSQualifiedName=TSQualifiedName;t.TSRestType=TSRestType;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSThisType=TSThisType;t.TSTupleType=TSTupleType;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeAssertion=TSTypeAssertion;t.TSTypeLiteral=TSTypeLiteral;t.TSTypeOperator=TSTypeOperator;t.TSTypeParameter=TSTypeParameter;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeReference=TSTypeReference;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSUnionType=TSUnionType;t.TSUnknownKeyword=TSUnknownKeyword;t.TSVoidKeyword=TSVoidKeyword;t.tsPrintBraced=tsPrintBraced;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;t.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;function TSTypeAnnotation(e){this.token(":");this.space();if(e.optional)this.token("?");this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e,t){this.token("<");this.printList(e.params,e,{});if(t.type==="ArrowFunctionExpression"&&e.params.length===1){this.token(",")}this.token(">")}function TSTypeParameter(e){if(e.in){this.word("in");this.space()}if(e.out){this.word("out");this.space()}this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.token("=");this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e){if(e.declare){this.word("declare");this.space()}this._functionHead(e);this.token(";")}function TSDeclareMethod(e){this._classMethodHead(e);this.token(";")}function TSQualifiedName(e){this.print(e.left,e);this.token(".");this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(";")}function tsPrintPropertyOrMethodName(e){if(e.computed){this.token("[")}this.print(e.key,e);if(e.computed){this.token("]")}if(e.optional){this.token("?")}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.token(";")}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.token("[");this._parameters(e.parameters,e);this.token("]");this.print(e.typeAnnotation,e);this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t}=e;const r=e.parameters;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");this.space();this.token("=>");this.space();const n=e.typeAnnotation;this.print(n.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e);this.print(e.typeParameters,e)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName);if(e.typeParameters){this.print(e.typeParameters,e)}}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){this.tsPrintBraced(e,t)}function tsPrintBraced(e,t){this.token("{");if(e.length){this.indent();this.newline();for(const r of e){this.print(r,t);this.newline()}this.dedent();this.rightBrace()}else{this.token("}")}}function TSArrayType(e){this.print(e.elementType,e);this.token("[]")}function TSTupleType(e){this.token("[");this.printList(e.elementTypes,e);this.token("]")}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.token("?")}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.token("?");this.token(":");this.space();this.print(e.elementType,e)}function TSUnionType(e){this.tsPrintUnionOrIntersectionType(e,"|")}function TSIntersectionType(e){this.tsPrintUnionOrIntersectionType(e,"&")}function tsPrintUnionOrIntersectionType(e,t){this.printJoin(e.types,e,{separator(){this.space();this.token(t);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.token("?");this.space();this.print(e.trueType);this.space();this.token(":");this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.token("(");this.print(e.typeAnnotation,e);this.token(")")}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e);this.token("[");this.print(e.indexType,e);this.token("]")}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:s}=e;this.token("{");this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.token("[");this.word(s.name);this.space();this.word("in");this.space();this.print(s.constraint,s);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.token("]");if(r){tokenIfPlusMinus(this,r);this.token("?")}this.token(":");this.space();this.print(e.typeAnnotation,e);this.space();this.token("}")}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:s,body:i}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(s!=null&&s.length){this.space();this.word("extends");this.space();this.printList(s,e)}this.space();this.print(i,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:s}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.token("=");this.space();this.print(s,e);this.token(";")}function TSAsExpression(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e);this.space();this.word("as");this.space();this.print(r,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.token("<");this.print(t,e);this.token(">");this.space();this.print(r,e)}function TSInstantiationExpression(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:s}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();this.tsPrintBraced(s,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.token("=");this.space();this.print(r,e)}this.token(",")}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.token(";");return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.token(".");this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){this.tsPrintBraced(e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.token("(");this.print(t,e);this.token(")");if(r){this.token(".");this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.token("=");this.space();this.print(n,e);this.token(";")}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.token(")")}function TSNonNullExpression(e){this.print(e.expression,e);this.token("!")}function TSExportAssignment(e){this.word("export");this.space();this.token("=");this.space();this.print(e.expression,e);this.token(";")}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t}=e;const r=e.parameters;this.print(t,e);this.token("(");this._parameters(r,e);this.token(")");const n=e.typeAnnotation;this.print(n,e)}function tsPrintClassMemberModifiers(e,t){if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},3136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CodeGenerator=void 0;t["default"]=generate;var n=r(1722);var s=r(4423);class Generator extends s.default{constructor(e,t={},r){const s=normalizeOptions(r,t);const i=t.sourceMaps?new n.default(t,r):null;super(s,i);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType,topicToken:t.topicToken};{r.jsonCompatibleStrings=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0)}if(r.compact==="auto"){r.compact=e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},4815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsParens=needsParens;t.needsWhitespace=needsWhitespace;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsWhitespaceBefore=needsWhitespaceBefore;var n=r(6385);var s=r(6882);var i=r(6953);const{FLIPPED_ALIAS_KEYS:a,isCallExpression:o,isExpressionStatement:l,isMemberExpression:c,isNewExpression:u}=i;function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,s){const i=n(e,t,s);return i==null?r(e,t,s):i}:r}for(const t of Object.keys(e)){const r=a[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const p=expandAliases(s);const f=expandAliases(n.nodes);const d=expandAliases(n.list);function find(e,t,r,n){const s=e[t.type];return s?s(t,r,n):null}function isOrHasCallExpression(e){if(o(e)){return true}return c(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return 0;if(l(e)){e=e.expression}let n=find(f,e,t);if(!n){const s=find(d,e,t);if(s){for(let t=0;t<s.length;t++){n=needsWhitespace(s[t],e,r);if(n)break}}}if(typeof n==="object"&&n!==null){return n[r]||0}return 0}function needsWhitespaceBefore(e,t){return needsWhitespace(e,t,"before")}function needsWhitespaceAfter(e,t){return needsWhitespace(e,t,"after")}function needsParens(e,t,r){if(!t)return false;if(u(t)&&t.callee===e){if(isOrHasCallExpression(e))return true}return find(p,e,t,r)}},6882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrowFunctionExpression=ArrowFunctionExpression;t.AssignmentExpression=AssignmentExpression;t.Binary=Binary;t.BinaryExpression=BinaryExpression;t.ClassExpression=ClassExpression;t.ConditionalExpression=ConditionalExpression;t.DoExpression=DoExpression;t.FunctionExpression=FunctionExpression;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.Identifier=Identifier;t.LogicalExpression=LogicalExpression;t.NullableTypeAnnotation=NullableTypeAnnotation;t.ObjectExpression=ObjectExpression;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.SequenceExpression=SequenceExpression;t.TSAsExpression=TSAsExpression;t.TSInferType=TSInferType;t.TSInstantiationExpression=TSInstantiationExpression;t.TSTypeAssertion=TSTypeAssertion;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.UnaryLike=UnaryLike;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;var n=r(6953);const{isArrayTypeAnnotation:s,isArrowFunctionExpression:i,isAssignmentExpression:a,isAwaitExpression:o,isBinary:l,isBinaryExpression:c,isUpdateExpression:u,isCallExpression:p,isClassDeclaration:f,isClassExpression:d,isConditional:h,isConditionalExpression:m,isExportDeclaration:y,isExportDefaultDeclaration:g,isExpressionStatement:b,isFor:T,isForInStatement:S,isForOfStatement:E,isForStatement:x,isFunctionExpression:v,isIfStatement:P,isIndexedAccessType:A,isIntersectionTypeAnnotation:w,isLogicalExpression:I,isMemberExpression:C,isNewExpression:O,isNullableTypeAnnotation:k,isObjectPattern:N,isOptionalCallExpression:_,isOptionalMemberExpression:D,isReturnStatement:M,isSequenceExpression:L,isSwitchStatement:j,isTSArrayType:F,isTSAsExpression:R,isTSInstantiationExpression:B,isTSIntersectionType:U,isTSNonNullExpression:K,isTSOptionalType:$,isTSRestType:V,isTSTypeAssertion:W,isTSUnionType:q,isTaggedTemplateExpression:G,isThrowStatement:H,isTypeAnnotation:X,isUnaryLike:J,isUnionTypeAnnotation:z,isVariableDeclarator:Y,isWhileStatement:Q,isYieldExpression:Z}=n;const ee={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};const isClassExtendsClause=(e,t)=>(f(t)||d(t))&&t.superClass===e;const hasPostfixPart=(e,t)=>(C(t)||D(t))&&t.object===e||(p(t)||_(t)||O(t))&&t.callee===e||G(t)&&t.tag===e||K(t);function NullableTypeAnnotation(e,t){return s(t)}function FunctionTypeAnnotation(e,t,r){return z(t)||w(t)||s(t)||X(t)&&i(r[r.length-3])}function UpdateExpression(e,t){return hasPostfixPart(e,t)||isClassExtendsClause(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,arrowBody:true})}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,{expressionStatement:true})}function Binary(e,t){if(e.operator==="**"&&c(t,{operator:"**"})){return t.left===e}if(isClassExtendsClause(e,t)){return true}if(hasPostfixPart(e,t)||J(t)||o(t)){return true}if(l(t)){const r=t.operator;const n=ee[r];const s=e.operator;const i=ee[s];if(n===i&&t.right===e&&!I(t)||n>i){return true}}}function UnionTypeAnnotation(e,t){return s(t)||k(t)||w(t)||z(t)}function OptionalIndexedAccessType(e,t){return A(t,{objectType:e})}function TSAsExpression(){return true}function TSTypeAssertion(){return true}function TSUnionType(e,t){return F(t)||$(t)||U(t)||q(t)||V(t)}function TSInferType(e,t){return F(t)||$(t)}function TSInstantiationExpression(e,t){return(p(t)||_(t)||O(t)||B(t))&&!!t.typeParameters}function BinaryExpression(e,t){return e.operator==="in"&&(Y(t)||T(t))}function SequenceExpression(e,t){if(x(t)||H(t)||M(t)||P(t)&&t.test===e||Q(t)&&t.test===e||S(t)&&t.right===e||j(t)&&t.discriminant===e||b(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return l(t)||J(t)||hasPostfixPart(e,t)||o(t)&&Z(e)||m(t)&&e===t.test||isClassExtendsClause(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function UnaryLike(e,t){return hasPostfixPart(e,t)||c(t,{operator:"**",left:e})||isClassExtendsClause(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,{expressionStatement:true,exportDefault:true})}function ArrowFunctionExpression(e,t){return y(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(J(t)||l(t)||m(t,{test:e})||o(t)||W(t)||R(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return p(t,{callee:e})||C(t,{object:e})}function AssignmentExpression(e,t){if(N(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){switch(e.operator){case"||":if(!I(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return I(t,{operator:"??"});case"??":return I(t)&&t.operator!=="??"}}function Identifier(e,t,r){var n;if((n=e.extra)!=null&&n.parenthesized&&a(t,{left:e})&&(v(t.right)||d(t.right))&&t.right.id==null){return true}if(e.name==="let"){const n=C(t,{object:e,computed:true})||D(t,{object:e,computed:true,optional:false});return isFirstInContext(r,{expressionStatement:n,forHead:n,forInHead:n,forOfHead:true})}return e.name==="async"&&E(t)&&e===t.left}function isFirstInContext(e,{expressionStatement:t=false,arrowBody:r=false,exportDefault:n=false,forHead:s=false,forInHead:o=false,forOfHead:c=false}){let p=e.length-1;let f=e[p];p--;let d=e[p];while(p>=0){if(t&&b(d,{expression:f})||n&&g(d,{declaration:f})||r&&i(d,{body:f})||s&&x(d,{init:f})||o&&S(d,{left:f})||c&&E(d,{left:f})){return true}if(hasPostfixPart(f,d)&&!O(d)||L(d)&&d.expressions[0]===f||u(d)&&!d.prefix||h(d,{test:f})||l(d,{left:f})||a(d,{left:f})){f=d;p--;d=e[p]}else{return false}}return false}},6385:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.nodes=t.list=void 0;var n=r(6953);const{FLIPPED_ALIAS_KEYS:s,isArrayExpression:i,isAssignmentExpression:a,isBinary:o,isBlockStatement:l,isCallExpression:c,isFunction:u,isIdentifier:p,isLiteral:f,isMemberExpression:d,isObjectExpression:h,isOptionalCallExpression:m,isOptionalMemberExpression:y,isStringLiteral:g}=n;function crawl(e,t={}){if(d(e)||y(e)){crawl(e.object,t);if(e.computed)crawl(e.property,t)}else if(o(e)||a(e)){crawl(e.left,t);crawl(e.right,t)}else if(c(e)||m(e)){t.hasCall=true;crawl(e.callee,t)}else if(u(e)){t.hasFunction=true}else if(p(e)){t.hasHelper=t.hasHelper||isHelper(e.callee)}return t}function isHelper(e){if(d(e)){return isHelper(e.object)||isHelper(e.property)}else if(p(e)){return e.name==="require"||e.name[0]==="_"}else if(c(e)){return isHelper(e.callee)}else if(o(e)||a(e)){return p(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return f(e)||h(e)||i(e)||p(e)||d(e)}const b={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return{before:t.hasFunction,after:true}}},SwitchCase(e,t){return{before:!!e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}},LogicalExpression(e){if(u(e.left)||u(e.right)){return{after:true}}},Literal(e){if(g(e)&&e.value==="use strict"){return{after:true}}},CallExpression(e){if(u(e.callee)||isHelper(e)){return{before:true,after:true}}},OptionalCallExpression(e){if(u(e.callee)){return{before:true,after:true}}},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const r=e.declarations[t];let n=isHelper(r.id)&&!isType(r.init);if(!n){const e=crawl(r.init);n=isHelper(r.init)&&e.hasCall||e.hasFunction}if(n){return{before:true,after:true}}}},IfStatement(e){if(l(e.consequent)){return{before:true,after:true}}}};t.nodes=b;b.ObjectProperty=b.ObjectTypeProperty=b.ObjectMethod=function(e,t){if(t.properties[0]===e){return{before:true}}};b.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&!((r=t.properties)!=null&&r.length)){return{before:true}}};b.ObjectTypeIndexer=function(e,t){var r,n;if(t.indexers[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)){return{before:true}}};b.ObjectTypeInternalSlot=function(e,t){var r,n,s;if(t.internalSlots[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)&&!((s=t.indexers)!=null&&s.length)){return{before:true}}};const T={VariableDeclaration(e){return e.declarations.map((e=>e.init))},ArrayExpression(e){return e.elements},ObjectExpression(e){return e.properties}};t.list=T;[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach((function([e,t]){if(typeof t==="boolean"){t={after:t,before:t}}[e].concat(s[e]||[]).forEach((function(e){b[e]=function(){return t}}))}))},4423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(4623);var s=r(4815);var i=r(6953);var a=r(6638);const{isProgram:o,isFile:l,isEmptyStatement:c}=i;const u=/e/i;const p=/\.0+$/;const f=/^0[box]/;const d=/^\s*[@#]__PURE__\s*$/;const{needsParens:h,needsWhitespaceAfter:m,needsWhitespaceBefore:y}=s;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new WeakSet;this._endsWithInteger=false;this._endsWithWord=false;this.format=e;this._buf=new n.default(t)}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();this._append(";",!e)}rightBrace(){if(this.format.minified){this._buf.removeLastSemicolon()}this.token("}")}space(e=false){if(this.format.compact)return;if(e){this._space()}else if(this._buf.hasContent()){const e=this.getLastChar();if(e!==32&&e!==10){this._space()}}}word(e){if(this._endsWithWord||this.endsWith(47)&&e.charCodeAt(0)===47){this._space()}this._maybeAddAuxComment();this._append(e);this._endsWithWord=true}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!f.test(e)&&!u.test(e)&&!p.test(e)&&e.charCodeAt(e.length-1)!==46}token(e){const t=this.getLastChar();const r=e.charCodeAt(0);if(e==="--"&&t===33||r===43&&t===43||r===45&&t===45||r===46&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e)}newline(e=1){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}const t=this.endsWithCharAndNewline();if(t===10)return;if(t===123||t===58){e--}if(e<=0)return;for(let t=0;t<e;t++){this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){this._catchUp("start",e);this._buf.exactSource(e,t)}source(e,t){this._catchUp(e,t);this._buf.source(e,t)}withSource(e,t,r){this._catchUp(e,t);this._buf.withSource(e,t,r)}_space(){this._append(" ",true)}_newline(){this._append("\n",true)}_append(e,t=false){this._maybeAddParen(e);this._maybeIndent(e);if(t)this._buf.queue(e);else this._buf.append(e);this._endsWithWord=false;this._endsWithInteger=false}_maybeIndent(e){if(this._indent&&this.endsWith(10)&&e.charCodeAt(0)!==10){this._buf.queueIndentation(this._getIndent())}}_maybeAddParen(e){const t=this._parenPushNewlineState;if(!t)return;let r;for(r=0;r<e.length&&e[r]===" ";r++)continue;if(r===e.length){return}const n=e[r];if(n!=="\n"){if(n!=="/"||r+1===e.length){this._parenPushNewlineState=null;return}const t=e[r+1];if(t==="*"){if(d.test(e.slice(r+2,e.length-2))){return}}else if(t!=="/"){this._parenPushNewlineState=null;return}}this.token("(");this.indent();t.printed=true}_catchUp(e,t){if(!this.format.retainLines)return;const r=t?t[e]:null;if((r==null?void 0:r.line)!=null){const e=r.line-this._buf.getCurrentLine();for(let t=0;t<e;t++){this._newline()}}}_getIndent(){return this.format.indent.style.repeat(this._indent)}startTerminatorless(e=false){if(e){this._noLineTerminator=true;return null}else{return this._parenPushNewlineState={printed:false}}}endTerminatorless(e){this._noLineTerminator=false;if(e!=null&&e.printed){this.dedent();this.newline();this.token(")")}}print(e,t){if(!e)return;const r=this.format.concise;if(e._compact){this.format.concise=true}const n=this[e.type];if(!n){throw new ReferenceError(`unknown node of type ${JSON.stringify(e.type)} with constructor ${JSON.stringify(e==null?void 0:e.constructor.name)}`)}this._printStack.push(e);const s=this._insideAux;this._insideAux=!e.loc;this._maybeAddAuxComment(this._insideAux&&!s);let i=h(e,t,this._printStack);if(this.format.retainFunctionParens&&e.type==="FunctionExpression"&&e.extra&&e.extra.parenthesized){i=true}if(i)this.token("(");this._printLeadingComments(e);const a=o(e)||l(e)?null:e.loc;this.withSource("start",a,(()=>{n.call(this,e,t)}));this._printTrailingComments(e);if(i)this.token(")");this._printStack.pop();this.format.concise=r;this._insideAux=s}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e})}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e})}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;if(r.indent)this.indent();const n={addNewlines:r.addNewlines};for(let s=0;s<e.length;s++){const i=e[s];if(!i)continue;if(r.statement)this._printNewline(true,i,t,n);this.print(i,t);if(r.iterator){r.iterator(i,s)}if(r.separator&&s<e.length-1){r.separator.call(this)}if(r.statement)this._printNewline(false,i,t,n)}if(r.indent)this.dedent()}printAndIndentOnComments(e,t){const r=e.leadingComments&&e.leadingComments.length>0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(!c(t)){this.space()}this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(false,e))}_printLeadingComments(e){this._printComments(this._getComments(true,e),true)}printInnerComments(e,t=true){var r;if(!((r=e.innerComments)!=null&&r.length))return;if(t)this.indent();this._printComments(e.innerComments);if(t)this.dedent()}printSequence(e,t,r={}){r.statement=true;return this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}return this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}let s=0;if(this._buf.hasContent()){if(!e)s++;if(n.addNewlines)s+=n.addNewlines(e,t)||0;const i=e?y:m;if(i(t,r))s++}this.newline(Math.min(2,s))}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r=e.type==="CommentBlock";const n=r&&!t&&!this._noLineTerminator;if(n&&this._buf.hasContent())this.newline(1);const s=this.getLastChar();if(s!==91&&s!==123){this.space()}let i=!r&&!this._noLineTerminator?`//${e.value}\n`:`/*${e.value}*/`;if(r&&this.format.indent.adjustMultilineComment){var a;const t=(a=e.loc)==null?void 0:a.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");i=i.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());i=i.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}if(this.endsWith(47))this._space();this.withSource("start",e.loc,(()=>{this._append(i)}));if(n)this.newline(1)}_printComments(e,t){if(!(e!=null&&e.length))return;if(t&&e.length===1&&d.test(e[0].value)){this._printComment(e[0],this._buf.hasContent()&&!this.endsWith(10))}else{for(const t of e){this._printComment(t)}}}printAssertions(e){var t;if((t=e.assertions)!=null&&t.length){this.space();this.word("assert");this.space();this.token("{");this.space();this.printList(e.assertions,e);this.space();this.token("}")}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var g=Printer;t["default"]=g;function commaSeparator(){this.token(",");this.space()}},1722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5328);class SourceMap{constructor(e,t){var r;this._map=void 0;this._rawMappings=void 0;this._sourceFileName=void 0;this._lastGenLine=0;this._lastSourceLine=0;this._lastSourceColumn=0;const s=this._map=new n.GenMapping({sourceRoot:e.sourceRoot});this._sourceFileName=(r=e.sourceFileName)==null?void 0:r.replace(/\\/g,"/");this._rawMappings=undefined;if(typeof t==="string"){(0,n.setSourceContent)(s,this._sourceFileName,t)}else if(typeof t==="object"){Object.keys(t).forEach((e=>{(0,n.setSourceContent)(s,e.replace(/\\/g,"/"),t[e])}))}}get(){return(0,n.toEncodedMap)(this._map)}getDecoded(){return(0,n.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,n.allMappings)(this._map))}mark(e,t,r,s,i){this._rawMappings=undefined;(0,n.maybeAddMapping)(this._map,{name:s,generated:e,source:t==null?undefined:(i==null?void 0:i.replace(/\\/g,"/"))||this._sourceFileName,original:t==null?undefined:{line:t,column:r}})}}t["default"]=SourceMap},7266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(7849);var s=r(112);var i=r(8886);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce(((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e}),{})}},1372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=filterItems;t.isRequired=isRequired;t.targetsSupported=targetsSupported;var n=r(7849);var s=r(9974);var i=r(8886);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter((r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())}));return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}if(s){s.forEach((e=>!r.has(e)&&o.add(e)))}if(i){i.forEach((e=>!t.has(e)&&o.delete(e)))}return o}},8479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return l.TargetNames}});t["default"]=getTargets;Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return u.getInclusionReasons}});t.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return p.isRequired}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return c.prettifyTargets}});Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return o.unreleasedLabels}});var n=r(4907);var s=r(46);var i=r(4234);var a=r(8886);var o=r(7093);var l=r(3746);var c=r(112);var u=r(7266);var p=r(1372);const f=i["es6.module"];const d=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e)){if(!(r in l.TargetNames)){throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){d.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,t)=>{const[r,n]=t.split(" ");const s=o.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const i=(0,a.isUnreleasedVersion)(t,r);if(!e[s]){e[s]=i?t:(0,a.semverify)(t);return e}const o=e[s];const l=(0,a.isUnreleasedVersion)(o,r);if(l&&i){e[s]=(0,a.getLowestUnreleased)(o,t,r)}else if(l){e[s]=(0,a.semverify)(t)}else if(!l&&!i){const r=(0,a.semverify)(t);e[s]=(0,a.semverMin)(o,r)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:t})=>console.warn(` ${e}: ${t}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const h={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]},node(e,t){const r=t===true||t==="current"?process.versions.node:semverifyTarget(e,t);return[e,r]}};function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e,t){const r=n(e,{mobileToDesktop:true,env:t});return getLowestVersions(r)}function getTargets(e={},t={}){var r,s;let{browsers:i,esmodules:o}=e;const{configPath:l="."}=t;validateBrowsers(i);const c=generateTargets(e);let u=validateTargetNames(c);const p=!!i;const d=p||Object.keys(u).length>0;const m=!t.ignoreBrowserslistConfig&&!d;if(!i&&m){i=n.loadConfig({config:t.configFile,path:l,env:t.browserslistEnv});if(i==null){{i=[]}}}if(o&&(o!=="intersect"||!((r=i)!=null&&r.length))){i=Object.keys(f).map((e=>`${e} >= ${f[e]}`)).join(", ");o=false}if((s=i)!=null&&s.length){const e=resolveTargets(i,t.browserslistEnv);if(o==="intersect"){for(const t of Object.keys(e)){const r=e[t];if(f[t]){e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(f[t]),t)}else{delete e[t]}}}u=Object.assign(e,u)}const y={};const g=[];for(const e of Object.keys(u).sort()){var b;const t=u[e];if(typeof t==="number"&&t%1!==0){g.push({target:e,value:t})}const r=(b=h[e])!=null?b:h.__default;const[n,s]=r(e,t);if(s){y[n]=s}}outputDecimalWarning(g);return y}},3746:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"};t.TargetNames=r},112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyTargets=prettifyTargets;t.prettifyVersion=prettifyVersion;var n=r(7849);var s=r(7093);function prettifyVersion(e){if(typeof e!=="string"){return e}const t=[n.major(e)];const r=n.minor(e);const s=n.patch(e);if(r||s){t.push(r)}if(s){t.push(s)}return t.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t}),{})}},7093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unreleasedLabels=t.browserNameMap=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},8886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;t.getLowestUnreleased=getLowestUnreleased;t.isUnreleasedVersion=isUnreleasedVersion;t.semverMin=semverMin;t.semverify=semverify;var n=r(7849);var s=r(46);var i=r(7093);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");while(t.length<3){t.push("0")}return t.join(".")}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];const s=[e,t].some((e=>e===n));if(s){return e===s?t:e||t}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},5166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;t.skipAllButComputedKey=skipAllButComputedKey;function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}function requeueComputedKeyAndDecorators(e){const{context:t,node:r}=e;if(r.computed){t.maybeQueue(e.get("key"))}if(r.decorators){for(const r of e.get("decorators")){t.maybeQueue(r)}}}const r={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var n=r;t["default"]=n},2186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9491);var s=r(6953);const{callExpression:i,cloneNode:a,expressionStatement:o,identifier:l,importDeclaration:c,importDefaultSpecifier:u,importNamespaceSpecifier:p,importSpecifier:f,memberExpression:d,stringLiteral:h,variableDeclaration:m,variableDeclarator:y}=s;class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._scope=null;this._hub=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],h(this._importedSource)));return this}require(){this._statements.push(o(i(l("require"),[h(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[p(t)];this._resultName=a(t);return this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];n(t.type==="ImportDeclaration");n(t.specifiers.length===0);t.specifiers=[u(e)];this._resultName=a(e);return this}named(e,t){if(t==="default")return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[f(e,l(t))];this._resultName=a(e);return this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){n(this._resultName);t=o(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=m("var",[y(e,t.expression)]);this._resultName=a(e);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=d(t.expression,l(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=d(t.declarations[0].init,l(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=d(this._resultName,l(e))}}t["default"]=ImportBuilder},4959:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9491);var s=r(6953);var i=r(2186);var a=r(8235);const{numericLiteral:o,sequenceExpression:l}=s;class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find((e=>e.isProgram()));this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),false)}_applyDefaults(e,t,r=false){const s=[];if(typeof e==="string"){s.push({importedSource:e});s.push(t)}else{n(!t,"Unexpected secondary arguments.");s.push(e)}const i=Object.assign({},this._defaultOpts);for(const e of s){if(!e)continue;Object.keys(i).forEach((t=>{if(e[t]!==undefined)i[t]=e[t]}));if(!r){if(e.nameHint!==undefined)i.nameHint=e.nameHint;if(e.blockHoist!==undefined)i.blockHoist=e.blockHoist}}return i}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const s=t===null;const{importedSource:c,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:d,ensureNoContext:h,nameHint:m,importPosition:y,blockHoist:g}=e;let b=m||t;const T=(0,a.default)(this._programPath);const S=T&&f==="node";const E=T&&f==="babel";if(y==="after"&&!T){throw new Error(`"importPosition": "after" is only supported in modules`)}const x=new i.default(c,this._programScope,this._hub);if(u==="es6"){if(!S&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}x.import();if(s){x.namespace(m||c)}else if(r||n){x.named(b,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(S){b=b!=="default"?b:c;const e=`${c}$es6Default`;x.import();if(s){x.default(e).var(b||c).wildcardInterop()}else if(r){if(d){x.default(e).var(b||c).defaultInterop().read("default")}else{x.default(e).var(b).defaultInterop().prop(t)}}else if(n){x.default(e).read(t)}}else if(E){x.import();if(s){x.namespace(b||c)}else if(r||n){x.named(b,t)}}else{x.require();if(s){x.var(b||c).wildcardInterop()}else if((r||n)&&d){if(r){b=b!=="default"?b:c;x.var(b).read(t);x.defaultInterop()}else{x.var(c).read(t)}}else if(r){x.var(b).defaultInterop().prop(t)}else if(n){x.var(b).prop(t)}}}else if(p==="compiled"){if(S){x.import();if(s){x.default(b||c)}else if(r||n){x.default(c).read(b)}}else if(E){x.import();if(s){x.namespace(b||c)}else if(r||n){x.named(b,t)}}else{x.require();if(s){x.var(b||c)}else if(r||n){if(d){x.var(c).read(b)}else{x.prop(t).var(b)}}}}else if(p==="uncompiled"){if(r&&d){throw new Error("No live reference for commonjs default")}if(S){x.import();if(s){x.default(b||c)}else if(r){x.default(b)}else if(n){x.default(c).read(b)}}else if(E){x.import();if(s){x.default(b||c)}else if(r){x.default(b)}else if(n){x.named(b,t)}}else{x.require();if(s){x.var(b||c)}else if(r){x.var(b)}else if(n){if(d){x.var(c).read(b)}else{x.var(b).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:v,resultName:P}=x.done();this._insertStatements(v,y,g);if((r||n)&&h&&P.type!=="Identifier"){return l([o(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=r}));const t=n.find((e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4}));if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t["default"]=ImportInjector},2056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(4959);var s=r(8235);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},8235:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isModule;function isModule(e){const{sourceType:t}=e.node;if(t!=="module"&&t!=="script"){throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`)}return e.node.sourceType==="module"}},349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getModuleName;{const e=getModuleName;t["default"]=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let c=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";c+=n.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},1914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildNamespaceInitStatements=buildNamespaceInitStatements;t.ensureStatementsHoisted=ensureStatementsHoisted;Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return c.hasExports}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return a.isModule}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return c.isSideEffectImport}});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return o.default}});t.wrapInterop=wrapInterop;var n=r(9491);var s=r(6953);var i=r(9767);var a=r(2056);var o=r(9094);var l=r(2329);var c=r(6943);var u=r(349);const{booleanLiteral:p,callExpression:f,cloneNode:d,directive:h,directiveLiteral:m,expressionStatement:y,identifier:g,isIdentifier:b,memberExpression:T,stringLiteral:S,valueToNode:E,variableDeclaration:x,variableDeclarator:v}=s;function rewriteModuleStatementsAndPrepareHeader(e,{loose:t,exportName:r,strict:s,allowTopLevelThis:i,strictMode:u,noInterop:p,importInterop:f=(p?"none":"babel"),lazy:d,esNamespaceOnly:y,filename:g,constantReexports:b=t,enumerableModuleMeta:T=t,noIncompleteNsImportDetection:S}){(0,c.validateImportInteropOption)(f);n((0,a.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const E=(0,c.default)(e,r,{importInterop:f,initializeReexports:b,lazy:d,esNamespaceOnly:y,filename:g});if(!i){(0,o.default)(e)}(0,l.default)(e,E);if(u!==false){const t=e.node.directives.some((e=>e.value.value==="use strict"));if(!t){e.unshiftContainer("directives",h(m("use strict")))}}const x=[];if((0,c.hasExports)(E)&&!s){x.push(buildESModuleHeader(E,T))}const v=buildExportNameListDeclaration(e,E);if(v){E.exportNameListName=v.name;x.push(v.statement)}x.push(...buildExportInitializationStatements(e,E,b,S));return{meta:E,headers:x}}function ensureStatementsHoisted(e){e.forEach((e=>{e._blockHoist=3}))}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return f(e.hub.addHelper("interopRequireWildcard"),[t,p(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return f(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false){const n=[];let s=g(t.name);if(t.lazy)s=f(s,[]);for(const e of t.importsNamespace){if(e===t.name)continue;n.push(i.default.statement`var NAME = SOURCE;`({NAME:e,SOURCE:d(s)}))}if(r){n.push(...buildReexportsFromMeta(e,t,true))}for(const r of t.reexportNamespace){n.push((t.lazy?i.default.statement` + `(e);function buildGlobal(e){const t=m("babelHelpers");const r=[];const n=h(null,[m("global")],o(r));const s=b([d(l(n,[u(a("===",S("typeof",m("global")),T("undefined")),m("self"),m("global"))]))]);r.push(E("var",[x(t,i("=",y(m("global"),t),g([])))]));buildHelpers(r,t,e);return s}function buildModule(e){const t=[];const r=buildHelpers(t,null,e);t.unshift(p(null,Object.keys(r).map((e=>f(c(r[e]),m(e))))));return b(t,[],"module")}function buildUmd(e){const t=m("babelHelpers");const r=[];r.push(E("var",[x(t,m("global"))]));buildHelpers(r,t,e);return b([buildUmdWrapper({FACTORY_PARAMETERS:m("global"),BROWSER_ARGUMENTS:i("=",y(m("root"),t),g([])),COMMON_ARGUMENTS:m("exports"),AMD_ARGUMENTS:s([T("exports")]),FACTORY_BODY:r,UMD_ROOT:m("this")})])}function buildVar(e){const t=m("babelHelpers");const r=[];r.push(E("var",[x(t,g([]))]));const n=b(r);buildHelpers(r,t,e);r.push(d(t));return n}function buildHelpers(e,t,r){const getHelperReference=e=>t?y(t,m(e)):m(`_${e}`);const s={};helpers().list.forEach((function(t){if(r&&r.indexOf(t)<0)return;const i=s[t]=getHelperReference(t);helpers().ensure(t,n.default);const{nodes:a}=helpers().get(t,getHelperReference,i);e.push(...a)}));return s}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}0&&0},6895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAst=void 0;t.transformFromAstAsync=transformFromAstAsync;t.transformFromAstSync=transformFromAstSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4455);var s=r(8589);var i=r(3585);const a=_gensync()((function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)}));const o=function transformFromAst(e,t,r,n){let s;let o;if(typeof r==="function"){o=r;s=undefined}else{s=r;o=n}if(o===undefined){{return(0,i.beginHiddenCallStack)(a.sync)(e,t,s)}}(0,i.beginHiddenCallStack)(a.errback)(e,t,s,o)};t.transformFromAst=o;function transformFromAstSync(...e){return(0,i.beginHiddenCallStack)(a.sync)(...e)}function transformFromAstAsync(...e){return(0,i.beginHiddenCallStack)(a.async)(...e)}0&&0},5885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFile=transformFile;t.transformFileAsync=transformFileAsync;t.transformFileSync=transformFileSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4455);var s=r(8589);var i=r(9724);({});const a=_gensync()((function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)}));function transformFile(...e){a.errback(...e)}function transformFileSync(...e){return a.sync(...e)}function transformFileAsync(...e){return a.async(...e)}0&&0},9994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transform=void 0;t.transformAsync=transformAsync;t.transformSync=transformSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4455);var s=r(8589);var i=r(3585);const a=_gensync()((function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)}));const o=function transform(e,t,r){let n;let s;if(typeof t==="function"){s=t;n=undefined}else{n=t;s=r}if(s===undefined){{return(0,i.beginHiddenCallStack)(a.sync)(e,n)}}(0,i.beginHiddenCallStack)(a.errback)(e,n,s)};t.transform=o;function transformSync(...e){return(0,i.beginHiddenCallStack)(a.sync)(...e)}function transformAsync(...e){return(0,i.beginHiddenCallStack)(a.async)(...e)}0&&0},2167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadBlockHoistPlugin;function _traverse(){const e=r(2297);_traverse=function(){return e};return e}var n=r(7916);let s;const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;e<t.length;e++){const s=t[e];const i=priority(s);if(i>r){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}};function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r<e.length;r++){const n=e[r];const s=priority(n);const i=t[s]||(t[s]=[]);i.push(n)}const r=Object.keys(t).map((e=>+e)).sort(((e,t)=>t-e));let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}0&&0},6103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function helpers(){const e=r(1416);helpers=function(){return e};return e}function _traverse(){const e=r(2297);_traverse=function(){return e};return e}function _codeFrame(){const e=r(2430);_codeFrame=function(){return e};return e}function _t(){const e=r(776);_t=function(){return e};return e}function _helperModuleTransforms(){const e=r(6646);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(7849);_semver=function(){return e};return e}const{cloneNode:n,interpreterDirective:s}=_t();const i={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=void 0;this.ast=void 0;this.scope=void 0;this.metadata={};this.code="";this.inputMap=void 0;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(s(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const t=this.declarations[e];if(t)return n(t);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,(e=>i[e]),s,Object.keys(this.scope.getAllBindings()));o.forEach((e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}}));a.forEach((e=>{e._compact=true}));this.path.unshiftContainer("body",a);this.path.get("body").forEach((e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)}));return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,i,this.scope,r);n=r.loc;let s="This is an error on an internal node. Probably an internal error.";if(n)s+=" Location has been estimated.";t+=` (${s})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}t["default"]=File;0&&0},4327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=generateCode;function _convertSourceMap(){const e=r(9714);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(3956);_generator=function(){return e};return e}var n=r(2035);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const{generatorOpts:o}=r;o.inputSourceMap=a==null?void 0:a.toObject();const l=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,o,i,_generator().default);if(e!==undefined)l.push(e)}}}let c;if(l.length===0){c=(0,_generator().default)(s,o,i)}else if(l.length===1){c=l[0];if(typeof c.then==="function"){throw new Error(`You appear to be using an async codegen 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.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,decodedMap:p=c.map}=c;if(c.__mergedMap){p=Object.assign({},c.map)}else{if(p){if(a){p=(0,n.default)(a.toObject(),p,o.sourceFileName)}else{p=c.map}}}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}0&&0},2035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=mergeSourceMap;function _remapping(){const e=r(3914);_remapping=function(){return e};return e}function mergeSourceMap(e,t,r){const n=r.replace(/\\/g,"/");let s=false;const i=_remapping()(rootless(t),((t,r)=>{if(t===n&&!s){s=true;r.source="";return rootless(e)}return null}));if(typeof e.sourceRoot==="string"){i.sourceRoot=e.sourceRoot}return Object.assign({},i)}function rootless(e){return Object.assign({},e,{sourceRoot:null})}0&&0},8589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(2297);_traverse=function(){return e};return e}var n=r(1732);var s=r(2167);var i=r(3907);var a=r(4082);var o=r(4327);var l=r(9435);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var c;e.message=`${(c=s.filename)!=null?c:"unknown file"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown file"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType,externalDependencies:(0,l.flattenToSet)(e.externalDependencies)}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`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.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`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.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}0&&0},4082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeFile;function _fs(){const e=r(7147);_fs=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _debug(){const e=r(6937);_debug=function(){return e};return e}function _t(){const e=r(776);_t=function(){return e};return e}function _convertSourceMap(){const e=r(9714);_convertSourceMap=function(){return e};return e}var n=r(6103);var s=r(2865);var i=r(9977);const{file:a,traverseFast:o}=_t();const l=_debug()("babel:transform:file");const c=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const u=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function*normalizeFile(e,t,r,o){r=`${r||""}`;if(o){if(o.type==="Program"){o=a(o,[],[])}else if(o.type!=="File"){throw new Error("AST root must be a Program or File node")}if(t.cloneInputAst){o=(0,i.default)(o)}}else{o=yield*(0,s.default)(e,t,r)}let p=null;if(t.inputSourceMap!==false){if(typeof t.inputSourceMap==="object"){p=_convertSourceMap().fromObject(t.inputSourceMap)}if(!p){const e=extractComments(c,o);if(e){try{p=_convertSourceMap().fromComment(e)}catch(e){l("discarding unknown inline input sourcemap",e)}}}if(!p){const e=extractComments(u,o);if(typeof t.filename==="string"&&e){try{const r=u.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(t.filename),r[1]),"utf8");p=_convertSourceMap().fromJSON(n)}catch(e){l("discarding unknown file input sourcemap",e)}}else if(e){l("discarding un-loadable file input sourcemap")}}}return new n.default(t,{code:r,ast:o,inputMap:p})}function extractCommentsFromList(e,t,r){if(t){t=t.filter((({value:t})=>{if(e.test(t)){r=t;return false}return true}))}return[t,r]}function extractComments(e,t){let r=null;o(t,(t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)}));return r}0&&0},3907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeOptions;function _path(){const e=r(1017);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:c=true,compact:u="auto"}=e.options;const p=e.options;const f=Object.assign({},p,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},p.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:p.auxiliaryCommentBefore,auxiliaryCommentAfter:p.auxiliaryCommentAfter,retainLines:p.retainLines,comments:c,shouldPrintComment:p.shouldPrintComment,compact:u,minified:p.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},p.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(f,f.parserOpts)}}}return f}0&&0},1732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t["default"]=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()};PluginPass.prototype.addImport=function addImport(){this.file.addImport()}}0&&0},9977:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;function deepClone(e,t){if(e!==null){if(t.has(e))return t.get(e);let r;if(Array.isArray(e)){r=new Array(e.length);t.set(e,r);for(let n=0;n<e.length;n++){r[n]=typeof e[n]!=="object"?e[n]:deepClone(e[n],t)}}else{r={};t.set(e,r);const n=Object.keys(e);for(let s=0;s<n.length;s++){const i=n[s];r[i]=typeof e[i]!=="object"?e[i]:deepClone(e[i],t)}}return r}return e}function _default(e){if(typeof e!=="object")return e;return deepClone(e,new Map)}0&&0},5655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.moduleResolve=moduleResolve;t.resolve=resolve;function _assert(){const e=r(9491);_assert=function(){return e};return e}function _fs(){const e=_interopRequireWildcard(r(7147),true);_fs=function(){return e};return e}function _process(){const e=r(7282);_process=function(){return e};return e}function _url(){const e=r(7310);_url=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _module(){const e=r(8188);_module=function(){return e};return e}function _v(){const e=r(4655);_v=function(){return e};return e}function _util(){const e=r(3849);_util=function(){return e};return e}function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(n,i,a)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}const n=_process().platform==="win32";const s={}.hasOwnProperty;const i=/^([A-Z][a-z\d]*)+$/;const a=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]);const o={};function formatList(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const l=new Map;const c="__node_internal_";let u;o.ERR_INVALID_ARG_TYPE=createError("ERR_INVALID_ARG_TYPE",((e,t,r)=>{_assert()(typeof e==="string","'name' must be a string");if(!Array.isArray(t)){t=[t]}let n="The ";if(e.endsWith(" argument")){n+=`${e} `}else{const t=e.includes(".")?"property":"argument";n+=`"${e}" ${t} `}n+="must be ";const s=[];const o=[];const l=[];for(const e of t){_assert()(typeof e==="string","All expected entries have to be of type string");if(a.has(e)){s.push(e.toLowerCase())}else if(i.exec(e)===null){_assert()(e!=="object",'The value "object" should be written as "Object"');l.push(e)}else{o.push(e)}}if(o.length>0){const e=s.indexOf("object");if(e!==-1){s.slice(e,1);o.push("Object")}}if(s.length>0){n+=`${s.length>1?"one of type":"of type"} ${formatList(s,"or")}`;if(o.length>0||l.length>0)n+=" or "}if(o.length>0){n+=`an instance of ${formatList(o,"or")}`;if(l.length>0)n+=" or "}if(l.length>0){if(l.length>1){n+=`one of ${formatList(l,"or")}`}else{if(l[0].toLowerCase()!==l[0])n+="an ";n+=`${l[0]}`}}n+=`. Received ${determineSpecificType(r)}`;return n}),TypeError);o.ERR_INVALID_MODULE_SPECIFIER=createError("ERR_INVALID_MODULE_SPECIFIER",((e,t,r=undefined)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`),TypeError);o.ERR_INVALID_PACKAGE_CONFIG=createError("ERR_INVALID_PACKAGE_CONFIG",((e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`),Error);o.ERR_INVALID_PACKAGE_TARGET=createError("ERR_INVALID_PACKAGE_TARGET",((e,t,r,n=false,s=undefined)=>{const i=typeof r==="string"&&!n&&r.length>0&&!r.startsWith("./");if(t==="."){_assert()(n===false);return`Invalid "exports" main target ${JSON.stringify(r)} defined `+`in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`}return`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`}),Error);o.ERR_MODULE_NOT_FOUND=createError("ERR_MODULE_NOT_FOUND",((e,t,r="package")=>`Cannot find ${r} '${e}' imported from ${t}`),Error);o.ERR_NETWORK_IMPORT_DISALLOWED=createError("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);o.ERR_PACKAGE_IMPORT_NOT_DEFINED=createError("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`),TypeError);o.ERR_PACKAGE_PATH_NOT_EXPORTED=createError("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,r=undefined)=>{if(t===".")return`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`;return`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`}),Error);o.ERR_UNSUPPORTED_DIR_IMPORT=createError("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported "+"resolving ES modules imported from %s",Error);o.ERR_UNKNOWN_FILE_EXTENSION=createError("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError);o.ERR_INVALID_ARG_VALUE=createError("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=(0,_util().inspect)(t);if(n.length>128){n=`${n.slice(0,128)}...`}const s=e.includes(".")?"property":"argument";return`The ${s} '${e}' ${r}. Received ${n}`}),TypeError);o.ERR_UNSUPPORTED_ESM_URL_SCHEME=createError("ERR_UNSUPPORTED_ESM_URL_SCHEME",((e,t)=>{let r=`Only URLs with a scheme in: ${formatList(t)} are supported by the default ESM loader`;if(n&&e.protocol.length===2){r+=". On Windows, absolute paths must be valid file:// URLs"}r+=`. Received protocol '${e.protocol}'`;return r}),Error);function createError(e,t,r){l.set(e,t);return makeNodeErrorWithCode(r,e)}function makeNodeErrorWithCode(e,t){return NodeError;function NodeError(...r){const n=Error.stackTraceLimit;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=0;const s=new e;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=n;const i=getMessage(t,r,s);Object.defineProperties(s,{message:{value:i,enumerable:false,writable:true,configurable:true},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:false,writable:true,configurable:true}});p(s);s.code=t;return s}}function isErrorStackTraceLimitWritable(){try{if(_v().startupSnapshot.isBuildingSnapshot()){return false}}catch(e){}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");if(e===undefined){return Object.isExtensible(Error)}return s.call(e,"writable")&&e.writable!==undefined?e.writable:e.set!==undefined}function hideStackFrames(e){const t=c+e.name;Object.defineProperty(e,"name",{value:t});return e}const p=hideStackFrames((function(e){const t=isErrorStackTraceLimitWritable();if(t){u=Error.stackTraceLimit;Error.stackTraceLimit=Number.POSITIVE_INFINITY}Error.captureStackTrace(e);if(t)Error.stackTraceLimit=u;return e}));function getMessage(e,t,r){const n=l.get(e);_assert()(n!==undefined,"expected `message` to be found");if(typeof n==="function"){_assert()(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not `+`match the required ones (${n.length}).`);return Reflect.apply(n,r,t)}const s=/%[dfijoOs]/g;let i=0;while(s.exec(n)!==null)i++;_assert()(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not `+`match the required ones (${i}).`);if(t.length===0)return n;t.unshift(n);return Reflect.apply(_util().format,null,t)}function determineSpecificType(e){if(e===null||e===undefined){return String(e)}if(typeof e==="function"&&e.name){return`function ${e.name}`}if(typeof e==="object"){if(e.constructor&&e.constructor.name){return`an instance of ${e.constructor.name}`}return`${(0,_util().inspect)(e,{depth:-1})}`}let t=(0,_util().inspect)(e,{colors:false});if(t.length>28){t=`${t.slice(0,25)}...`}return`type ${typeof e} (${t})`}const f={read:read};var d=f;function read(e){try{const t=_fs().default.readFileSync(_path().toNamespacedPath(_path().join(_path().dirname(e),"package.json")),"utf8");return{string:t}}catch(e){const t=e;if(t.code==="ENOENT"){return{string:undefined}}throw t}}const{ERR_INVALID_PACKAGE_CONFIG:h}=o;const m=new Map;function getPackageConfig(e,t,r){const n=m.get(e);if(n!==undefined){return n}const s=d.read(e).string;if(s===undefined){const t={pjsonPath:e,exists:false,main:undefined,name:undefined,type:"none",exports:undefined,imports:undefined};m.set(e,t);return t}let i;try{i=JSON.parse(s)}catch(n){const s=n;throw new h(e,(r?`"${t}" from `:"")+(0,_url().fileURLToPath)(r||t),s.message)}const{exports:a,imports:o,main:l,name:c,type:u}=i;const p={pjsonPath:e,exists:true,main:typeof l==="string"?l:undefined,name:typeof c==="string"?c:undefined,type:u==="module"||u==="commonjs"?u:"none",exports:a,imports:o&&typeof o==="object"?o:undefined};m.set(e,p);return p}function getPackageScopeConfig(e){let t=new(_url().URL)("package.json",e);while(true){const r=t.pathname;if(r.endsWith("node_modules/package.json"))break;const n=getPackageConfig((0,_url().fileURLToPath)(t),e);if(n.exists)return n;const s=t;t=new(_url().URL)("../package.json",t);if(t.pathname===s.pathname)break}const r=(0,_url().fileURLToPath)(t);const n={pjsonPath:r,exists:false,main:undefined,name:undefined,type:"none",exports:undefined,imports:undefined};m.set(r,n);return n}function getPackageType(e){const t=getPackageScopeConfig(e);return t.type}const{ERR_UNKNOWN_FILE_EXTENSION:y}=o;const g={}.hasOwnProperty;const b={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function mimeToFormat(e){if(e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e))return"module";if(e==="application/json")return"json";return null}const T={__proto__:null,"data:":getDataProtocolModuleFormat,"file:":getFileProtocolModuleFormat,"http:":getHttpProtocolModuleFormat,"https:":getHttpProtocolModuleFormat,"node:"(){return"builtin"}};function getDataProtocolModuleFormat(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return mimeToFormat(t)}function extname(e){const t=e.pathname;let r=t.length;while(r--){const e=t.codePointAt(r);if(e===47){return""}if(e===46){return t.codePointAt(r-1)===47?"":t.slice(r)}}return""}function getFileProtocolModuleFormat(e,t,r){const n=extname(e);if(n===".js"){return getPackageType(e)==="module"?"module":"commonjs"}const s=b[n];if(s)return s;if(r){return undefined}const i=(0,_url().fileURLToPath)(e);throw new y(n,i)}function getHttpProtocolModuleFormat(){}function defaultGetFormatWithoutErrors(e,t){if(!g.call(T,e.protocol)){return null}return T[e.protocol](e,t,true)||null}const{ERR_INVALID_ARG_VALUE:S}=o;const E=Object.freeze(["node","import"]);const x=new Set(E);function getDefaultConditions(){return E}function getDefaultConditionsSet(){return x}function getConditionsSet(e){if(e!==undefined&&e!==getDefaultConditions()){if(!Array.isArray(e)){throw new S("conditions",e,"expected an array")}return new Set(e)}return getDefaultConditionsSet()}const v=RegExp.prototype[Symbol.replace];const P=false;const{ERR_NETWORK_IMPORT_DISALLOWED:A,ERR_INVALID_MODULE_SPECIFIER:w,ERR_INVALID_PACKAGE_CONFIG:C,ERR_INVALID_PACKAGE_TARGET:I,ERR_MODULE_NOT_FOUND:O,ERR_PACKAGE_IMPORT_NOT_DEFINED:k,ERR_PACKAGE_PATH_NOT_EXPORTED:N,ERR_UNSUPPORTED_DIR_IMPORT:_,ERR_UNSUPPORTED_ESM_URL_SCHEME:D}=o;const M={}.hasOwnProperty;const L=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i;const j=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i;const F=/^\.|%|\\/;const B=/\*/g;const R=/%2f|%5c/i;const U=new Set;const V=/[/\\]{2}/;function emitInvalidSegmentDeprecation(e,t,r,n,s,i,a){const o=(0,_url().fileURLToPath)(n);const l=V.exec(a?e:t)!==null;_process().emitWarning(`Use of deprecated ${l?"double slash":"leading or trailing slash matching"} resolving "${e}" for module `+`request "${t}" ${t===r?"":`matched to "${r}" `}in the "${s?"imports":"exports"}" field module resolution of the package at ${o}${i?` imported from ${(0,_url().fileURLToPath)(i)}`:""}.`,"DeprecationWarning","DEP0166")}function emitLegacyIndexDeprecation(e,t,r,n){const s=defaultGetFormatWithoutErrors(e,{parentURL:r.href});if(s!=="module")return;const i=(0,_url().fileURLToPath)(e.href);const a=(0,_url().fileURLToPath)(new(_url().URL)(".",t));const o=(0,_url().fileURLToPath)(r);if(n)_process().emitWarning(`Package ${a} has a "main" field set to ${JSON.stringify(n)}, `+`excluding the full filename and extension to the resolved file at "${i.slice(a.length)}", imported from ${o}.\n Automatic extension resolution of the "main" field is`+"deprecated for ES modules.","DeprecationWarning","DEP0151");else _process().emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${i.slice(a.length)}", imported from ${o}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function tryStatSync(e){try{return(0,_fs().statSync)(e)}catch(e){return new(_fs().Stats)}}function fileExists(e){const t=(0,_fs().statSync)(e,{throwIfNoEntry:false});const r=t?t.isFile():undefined;return r===null||r===undefined?false:r}function legacyMainResolve(e,t,r){let n;if(t.main!==undefined){n=new(_url().URL)(t.main,e);if(fileExists(n))return n;const s=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let i=-1;while(++i<s.length){n=new(_url().URL)(s[i],e);if(fileExists(n))break;n=undefined}if(n){emitLegacyIndexDeprecation(n,e,r,t.main);return n}}const s=["./index.js","./index.json","./index.node"];let i=-1;while(++i<s.length){n=new(_url().URL)(s[i],e);if(fileExists(n))break;n=undefined}if(n){emitLegacyIndexDeprecation(n,e,r,t.main);return n}throw new O((0,_url().fileURLToPath)(new(_url().URL)(".",e)),(0,_url().fileURLToPath)(r))}function finalizeResolution(e,t,r){if(R.exec(e.pathname)!==null)throw new w(e.pathname,'must not include encoded "/" or "\\" characters',(0,_url().fileURLToPath)(t));const n=(0,_url().fileURLToPath)(e);const s=tryStatSync(n.endsWith("/")?n.slice(-1):n);if(s.isDirectory()){const r=new _(n,(0,_url().fileURLToPath)(t));r.url=String(e);throw r}if(!s.isFile()){throw new O(n||e.pathname,t&&(0,_url().fileURLToPath)(t),"module")}if(!r){const t=(0,_fs().realpathSync)(n);const{search:r,hash:s}=e;e=(0,_url().pathToFileURL)(t+(n.endsWith(_path().sep)?"/":""));e.search=r;e.hash=s}return e}function importNotDefined(e,t,r){return new k(e,t&&(0,_url().fileURLToPath)(new(_url().URL)(".",t)),(0,_url().fileURLToPath)(r))}function exportsNotFound(e,t,r){return new N((0,_url().fileURLToPath)(new(_url().URL)(".",t)),e,r&&(0,_url().fileURLToPath)(r))}function throwInvalidSubpath(e,t,r,n,s){const i=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,_url().fileURLToPath)(r)}`;throw new w(e,i,s&&(0,_url().fileURLToPath)(s))}function invalidPackageTarget(e,t,r,n,s){t=typeof t==="object"&&t!==null?JSON.stringify(t,null,""):`${t}`;return new I((0,_url().fileURLToPath)(new(_url().URL)(".",r)),e,t,n,s&&(0,_url().fileURLToPath)(s))}function resolvePackageTargetString(e,t,r,n,s,i,a,o,l){if(t!==""&&!i&&e[e.length-1]!=="/")throw invalidPackageTarget(r,e,n,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let r=false;try{new(_url().URL)(e);r=true}catch(e){}if(!r){const r=i?v.call(B,e,(()=>t)):e+t;return packageResolve(r,n,l)}}throw invalidPackageTarget(r,e,n,a,s)}if(L.exec(e.slice(2))!==null){if(j.exec(e.slice(2))===null){if(!o){const o=i?r.replace("*",(()=>t)):r+t;const l=i?v.call(B,e,(()=>t)):e;emitInvalidSegmentDeprecation(l,o,r,n,a,s,true)}}else{throw invalidPackageTarget(r,e,n,a,s)}}const c=new(_url().URL)(e,n);const u=c.pathname;const p=new(_url().URL)(".",n).pathname;if(!u.startsWith(p))throw invalidPackageTarget(r,e,n,a,s);if(t==="")return c;if(L.exec(t)!==null){const l=i?r.replace("*",(()=>t)):r+t;if(j.exec(t)===null){if(!o){const o=i?v.call(B,e,(()=>t)):e;emitInvalidSegmentDeprecation(o,l,r,n,a,s,false)}}else{throwInvalidSubpath(l,r,n,a,s)}}if(i){return new(_url().URL)(v.call(B,c.href,(()=>t)))}return new(_url().URL)(t,c)}function isArrayIndex(e){const t=Number(e);if(`${t}`!==e)return false;return t>=0&&t<4294967295}function resolvePackageTarget(e,t,r,n,s,i,a,o,l){if(typeof t==="string"){return resolvePackageTargetString(t,r,n,e,s,i,a,o,l)}if(Array.isArray(t)){const c=t;if(c.length===0)return null;let u;let p=-1;while(++p<c.length){const t=c[p];let f;try{f=resolvePackageTarget(e,t,r,n,s,i,a,o,l)}catch(e){const t=e;u=t;if(t.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw e}if(f===undefined)continue;if(f===null){u=null;continue}return f}if(u===undefined||u===null){return null}throw u}if(typeof t==="object"&&t!==null){const c=Object.getOwnPropertyNames(t);let u=-1;while(++u<c.length){const t=c[u];if(isArrayIndex(t)){throw new C((0,_url().fileURLToPath)(e),s,'"exports" cannot contain numeric property keys.')}}u=-1;while(++u<c.length){const p=c[u];if(p==="default"||l&&l.has(p)){const c=t[p];const u=resolvePackageTarget(e,c,r,n,s,i,a,o,l);if(u===undefined)continue;return u}}return null}if(t===null){return null}throw invalidPackageTarget(n,t,e,a,s)}function isConditionalExportsMainSugar(e,t,r){if(typeof e==="string"||Array.isArray(e))return true;if(typeof e!=="object"||e===null)return false;const n=Object.getOwnPropertyNames(e);let s=false;let i=0;let a=-1;while(++a<n.length){const e=n[a];const o=e===""||e[0]!==".";if(i++===0){s=o}else if(s!==o){throw new C((0,_url().fileURLToPath)(t),r,"\"exports\" cannot contain some keys starting with '.' and some not."+" The exports object must either be an object of package subpath keys"+" or an object of main entry condition name keys only.")}}return s}function emitTrailingSlashPatternDeprecation(e,t,r){const n=(0,_url().fileURLToPath)(t);if(U.has(n+"|"+e))return;U.add(n+"|"+e);_process().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the `+`"exports" field module resolution of the package at ${n}${r?` imported from ${(0,_url().fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155")}function packageExportsResolve(e,t,r,n,s){let i=r.exports;if(isConditionalExportsMainSugar(i,e,n)){i={".":i}}if(M.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){const r=i[t];const a=resolvePackageTarget(e,r,"",t,n,false,false,false,s);if(a===null||a===undefined){throw exportsNotFound(t,e,n)}return a}let a="";let o="";const l=Object.getOwnPropertyNames(i);let c=-1;while(++c<l.length){const r=l[c];const s=r.indexOf("*");if(s!==-1&&t.startsWith(r.slice(0,s))){if(t.endsWith("/")){emitTrailingSlashPatternDeprecation(t,e,n)}const i=r.slice(s+1);if(t.length>=r.length&&t.endsWith(i)&&patternKeyCompare(a,r)===1&&r.lastIndexOf("*")===s){a=r;o=t.slice(s,t.length-i.length)}}}if(a){const r=i[a];const l=resolvePackageTarget(e,r,o,a,n,true,false,t.endsWith("/"),s);if(l===null||l===undefined){throw exportsNotFound(t,e,n)}return l}throw exportsNotFound(t,e,n)}function patternKeyCompare(e,t){const r=e.indexOf("*");const n=t.indexOf("*");const s=r===-1?e.length:r+1;const i=n===-1?t.length:n+1;if(s>i)return-1;if(i>s)return 1;if(r===-1)return 1;if(n===-1)return-1;if(e.length>t.length)return-1;if(t.length>e.length)return 1;return 0}function packageImportsResolve(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){const r="is not a valid internal imports specifier name";throw new w(e,r,(0,_url().fileURLToPath)(t))}let n;const s=getPackageScopeConfig(t);if(s.exists){n=(0,_url().pathToFileURL)(s.pjsonPath);const i=s.imports;if(i){if(M.call(i,e)&&!e.includes("*")){const s=resolvePackageTarget(n,i[e],"",e,t,false,true,false,r);if(s!==null&&s!==undefined){return s}}else{let s="";let a="";const o=Object.getOwnPropertyNames(i);let l=-1;while(++l<o.length){const t=o[l];const r=t.indexOf("*");if(r!==-1&&e.startsWith(t.slice(0,-1))){const n=t.slice(r+1);if(e.length>=t.length&&e.endsWith(n)&&patternKeyCompare(s,t)===1&&t.lastIndexOf("*")===r){s=t;a=e.slice(r,e.length-n.length)}}}if(s){const e=i[s];const o=resolvePackageTarget(n,e,a,s,t,true,true,false,r);if(o!==null&&o!==undefined){return o}}}}}throw importNotDefined(e,n,t)}function parsePackageName(e,t){let r=e.indexOf("/");let n=true;let s=false;if(e[0]==="@"){s=true;if(r===-1||e.length===0){n=false}else{r=e.indexOf("/",r+1)}}const i=r===-1?e:e.slice(0,r);if(F.exec(i)!==null){n=false}if(!n){throw new w(e,"is not a valid package name",(0,_url().fileURLToPath)(t))}const a="."+(r===-1?"":e.slice(r));return{packageName:i,packageSubpath:a,isScoped:s}}function packageResolve(e,t,r){if(_module().builtinModules.includes(e)){return new(_url().URL)("node:"+e)}const{packageName:n,packageSubpath:s,isScoped:i}=parsePackageName(e,t);const a=getPackageScopeConfig(t);if(a.exists){const e=(0,_url().pathToFileURL)(a.pjsonPath);if(a.name===n&&a.exports!==undefined&&a.exports!==null){return packageExportsResolve(e,s,a,t,r)}}let o=new(_url().URL)("./node_modules/"+n+"/package.json",t);let l=(0,_url().fileURLToPath)(o);let c;do{const a=tryStatSync(l.slice(0,-13));if(!a.isDirectory()){c=l;o=new(_url().URL)((i?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",o);l=(0,_url().fileURLToPath)(o);continue}const u=getPackageConfig(l,e,t);if(u.exports!==undefined&&u.exports!==null){return packageExportsResolve(o,s,u,t,r)}if(s==="."){return legacyMainResolve(o,u,t)}return new(_url().URL)(s,o)}while(l.length!==c.length);throw new O(n,(0,_url().fileURLToPath)(t))}function isRelativeSpecifier(e){if(e[0]==="."){if(e.length===1||e[1]==="/")return true;if(e[1]==="."&&(e.length===2||e[2]==="/")){return true}}return false}function shouldBeTreatedAsRelativeOrAbsolutePath(e){if(e==="")return false;if(e[0]==="/")return true;return isRelativeSpecifier(e)}function moduleResolve(e,t,r,n){const s=t.protocol;const i=s==="http:"||s==="https:";let a;if(shouldBeTreatedAsRelativeOrAbsolutePath(e)){a=new(_url().URL)(e,t)}else if(!i&&e[0]==="#"){a=packageImportsResolve(e,t,r)}else{try{a=new(_url().URL)(e)}catch(n){if(!i){a=packageResolve(e,t,r)}}}_assert()(a!==undefined,"expected to be defined");if(a.protocol!=="file:"){return a}return finalizeResolution(a,t,n)}function checkIfDisallowedImport(e,t,r){if(r){const n=r.protocol;if(n==="http:"||n==="https:"){if(shouldBeTreatedAsRelativeOrAbsolutePath(e)){const n=t==null?void 0:t.protocol;if(n&&n!=="https:"&&n!=="http:"){throw new A(e,r,"remote imports cannot import from a local location.")}return{url:(t==null?void 0:t.href)||""}}if(_module().builtinModules.includes(e)){throw new A(e,r,"remote imports cannot import from a local location.")}throw new A(e,r,"only relative and absolute specifiers are supported.")}}}function isURL(e){return Boolean(e&&typeof e==="object"&&"href"in e&&typeof e.href==="string"&&"protocol"in e&&typeof e.protocol==="string"&&e.href&&e.protocol)}function throwIfInvalidParentURL(e){if(e===undefined){return}if(typeof e!=="string"&&!isURL(e)){throw new o.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}}function throwIfUnsupportedURLProtocol(e){const t=e.protocol;if(t!=="file:"&&t!=="data:"&&t!=="node:"){throw new D(e)}}function throwIfUnsupportedURLScheme(e,t){const r=e==null?void 0:e.protocol;if(r&&r!=="file:"&&r!=="data:"&&(!t||r!=="https:"&&r!=="http:")){throw new D(e,["file","data"].concat(t?["https","http"]:[]))}}function defaultResolve(e,t={}){const{parentURL:r}=t;_assert()(r!==undefined,"expected `parentURL` to be defined");throwIfInvalidParentURL(r);let n;if(r){try{n=new(_url().URL)(r)}catch(e){}}let s;try{s=shouldBeTreatedAsRelativeOrAbsolutePath(e)?new(_url().URL)(e,n):new(_url().URL)(e);const t=s.protocol;if(t==="data:"||P&&(t==="https:"||t==="http:")){return{url:s.href,format:null}}}catch(e){}const i=checkIfDisallowedImport(e,s,n);if(i)return i;if(s&&s.protocol==="node:")return{url:e};throwIfUnsupportedURLScheme(s,P);const a=getConditionsSet(t.conditions);const o=moduleResolve(e,new(_url().URL)(r),a,false);throwIfUnsupportedURLProtocol(o);return{url:o.href,format:defaultGetFormatWithoutErrors(o,{parentURL:r})}}function resolve(e,t){if(!t){throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that")}try{return defaultResolve(e,{parentURL:t}).url}catch(e){const t=e;if(t.code==="ERR_UNSUPPORTED_DIR_IMPORT"&&typeof t.url==="string"){return t.url}throw e}}0&&0},9531:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Buffer{constructor(e){this._map=null;this._buf="";this._str="";this._appendCount=0;this._last=0;this._queue=[];this._queueCursor=0;this._canMarkIdName=true;this._position={line:1,column:0};this._sourcePosition={identifierName:undefined,identifierNamePos:undefined,line:undefined,column:undefined,filename:undefined};this._map=e;this._allocQueue()}_allocQueue(){const e=this._queue;for(let t=0;t<16;t++){e.push({char:0,repeat:1,line:undefined,column:undefined,identifierName:undefined,identifierNamePos:undefined,filename:""})}}_pushQueue(e,t,r,n,s){const i=this._queueCursor;if(i===this._queue.length){this._allocQueue()}const a=this._queue[i];a.char=e;a.repeat=t;a.line=r;a.column=n;a.filename=s;this._queueCursor++}_popQueue(){if(this._queueCursor===0){throw new Error("Cannot pop from empty queue")}return this._queue[--this._queueCursor]}get(){this._flush();const e=this._map;const t={code:(this._buf+this._str).trimRight(),decodedMap:e==null?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){const r=e?e.get():null;t.map=r;return r},set map(e){Object.defineProperty(t,"map",{value:e,writable:true})},get rawMappings(){const r=e==null?void 0:e.getRawMappings();t.rawMappings=r;return r},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:true})}};return t}append(e,t){this._flush();this._append(e,this._sourcePosition,t)}appendChar(e){this._flush();this._appendChar(e,1,this._sourcePosition)}queue(e){if(e===10){while(this._queueCursor!==0){const e=this._queue[this._queueCursor-1].char;if(e!==32&&e!==9){break}this._queueCursor--}}const t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e,t){this._pushQueue(e,t,undefined,undefined,undefined)}_flush(){const e=this._queueCursor;const t=this._queue;for(let r=0;r<e;r++){const e=t[r];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,r){this._last=e;this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);if(e!==10){this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename);this._position.column+=t}else{this._position.line++;this._position.column=0}if(this._canMarkIdName){r.identifierName=undefined;r.identifierNamePos=undefined}}_append(e,t,r){const n=e.length;const s=this._position;this._last=e.charCodeAt(n-1);if(++this._appendCount>4096){+this._str;this._buf+=this._str;this._str=e;this._appendCount=0}else{this._str+=e}if(!r&&!this._map){s.column+=n;return}const{column:i,identifierName:a,identifierNamePos:o,filename:l}=t;let c=t.line;if((a!=null||o!=null)&&this._canMarkIdName){t.identifierName=undefined;t.identifierNamePos=undefined}let u=e.indexOf("\n");let p=0;if(u!==0){this._mark(c,i,a,o,l)}while(u!==-1){s.line++;s.column=0;p=u+1;if(p<n&&c!==undefined){this._mark(++c,0,null,null,l)}u=e.indexOf("\n",p)}s.column+=n-p}_mark(e,t,r,n,s){var i;(i=this._map)==null?void 0:i.mark(this._position,e,t,r,n,s)}removeTrailingNewline(){const e=this._queueCursor;if(e!==0&&this._queue[e-1].char===10){this._queueCursor--}}removeLastSemicolon(){const e=this._queueCursor;if(e!==0&&this._queue[e-1].char===59){this._queueCursor--}}getLastChar(){const e=this._queueCursor;return e!==0?this._queue[e-1].char:this._last}getNewlineCount(){const e=this._queueCursor;let t=0;if(e===0)return this._last===10?1:0;for(let r=e-1;r>=0;r--){if(this._queue[r].char!==10){break}t++}return t===e&&this._last===10?t+1:t}endsWithCharAndNewline(){const e=this._queue;const t=this._queueCursor;if(t!==0){const r=e[t-1].char;if(r!==10)return;if(t>1){return e[t-2].char}else{return this._last}}}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(e,t){if(!this._map){t();return}this.source("start",e);const r=e.identifierName;const n=this._sourcePosition;if(r){this._canMarkIdName=false;n.identifierName=r}t();if(r){this._canMarkIdName=true;n.identifierName=undefined;n.identifierNamePos=undefined}this.source("end",e)}source(e,t){if(!this._map)return;this._normalizePosition(e,t,0,0)}sourceWithOffset(e,t,r,n){if(!this._map)return;this._normalizePosition(e,t,r,n)}withSource(e,t,r){if(this._map){this.source(e,t)}r()}_normalizePosition(e,t,r,n){const s=t[e];const i=this._sourcePosition;if(s){i.line=s.line+r;i.column=s.column+n;i.filename=t.filename}}getCurrentColumn(){const e=this._queue;const t=this._queueCursor;let r=-1;let n=0;for(let s=0;s<t;s++){const t=e[s];if(t.char===10){r=n}n+=t.repeat}return r===-1?this._position.column+n:n-1-r}getCurrentLine(){let e=0;const t=this._queue;for(let r=0;r<this._queueCursor;r++){if(t[r].char===10){e++}}return this._position.line+e}}t["default"]=Buffer},3987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.File=File;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;t.Program=Program;function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){var t;this.noIndentInnerCommentsHere();this.printInnerComments();const r=(t=e.directives)==null?void 0:t.length;if(r){var n;const t=e.body.length?2:1;this.printSequence(e.directives,e,{trailingCommentsLineOffset:t});if(!((n=e.directives[r-1].trailingComments)!=null&&n.length)){this.newline(t)}}this.printSequence(e.body,e)}function BlockStatement(e){var t;this.tokenChar(123);const r=(t=e.directives)==null?void 0:t.length;if(r){var n;const t=e.body.length?2:1;this.printSequence(e.directives,e,{indent:true,trailingCommentsLineOffset:t});if(!((n=e.directives[r-1].trailingComments)!=null&&n.length)){this.newline(t)}}this.printSequence(e.body,e,{indent:true});this.rightBrace(e)}function Directive(e){this.print(e.value,e);this.semicolon()}const r=/(?:^|[^\\])(?:\\\\)*'/;const n=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!==undefined){this.token(t);return}const{value:s}=e;if(!n.test(s)){this.token(`"${s}"`)}else if(!r.test(s)){this.token(`'${s}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}`);this.newline(1,true)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},5103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassAccessorProperty=ClassAccessorProperty;t.ClassBody=ClassBody;t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassProperty=ClassProperty;t.StaticBlock=StaticBlock;t._classMethodHead=_classMethodHead;var n=r(776);const{isExportDefaultDeclaration:s,isExportNamedDeclaration:i}=n;function ClassDeclaration(e,t){const r=s(t)||i(t);if(!r||!this._shouldPrintDecoratorsBeforeExport(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.tokenChar(123);if(e.body.length===0){this.tokenChar(125)}else{this.newline();this.printSequence(e.body,e,{indent:true});if(!this.endsWith(10))this.newline();this.rightBrace(e)}}function ClassProperty(e){var t,r;this.printJoin(e.decorators,e);const n=(t=e.key.loc)==null?void 0:(r=t.end)==null?void 0:r.line;if(n)this.catchUp(n);this.tsPrintClassMemberModifiers(e);if(e.computed){this.tokenChar(91);this.print(e.key,e);this.tokenChar(93)}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.tokenChar(63)}if(e.definite){this.tokenChar(33)}this.print(e.typeAnnotation,e);if(e.value){this.space();this.tokenChar(61);this.space();this.print(e.value,e)}this.semicolon()}function ClassAccessorProperty(e){var t,r;this.printJoin(e.decorators,e);const n=(t=e.key.loc)==null?void 0:(r=t.end)==null?void 0:r.line;if(n)this.catchUp(n);this.tsPrintClassMemberModifiers(e);this.word("accessor",true);this.space();if(e.computed){this.tokenChar(91);this.print(e.key,e);this.tokenChar(93)}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.tokenChar(63)}if(e.definite){this.tokenChar(33)}this.print(e.typeAnnotation,e);if(e.value){this.space();this.tokenChar(61);this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.tokenChar(61);this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){var t,r;this.printJoin(e.decorators,e);const n=(t=e.key.loc)==null?void 0:(r=t.end)==null?void 0:r.line;if(n)this.catchUp(n);this.tsPrintClassMemberModifiers(e);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.tokenChar(123);if(e.body.length===0){this.tokenChar(125)}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace(e)}}},9978:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.AssignmentPattern=AssignmentPattern;t.AwaitExpression=AwaitExpression;t.BindExpression=BindExpression;t.CallExpression=CallExpression;t.ConditionalExpression=ConditionalExpression;t.Decorator=Decorator;t.DoExpression=DoExpression;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.Import=Import;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.ModuleExpression=ModuleExpression;t.NewExpression=NewExpression;t.OptionalCallExpression=OptionalCallExpression;t.OptionalMemberExpression=OptionalMemberExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.PrivateName=PrivateName;t.SequenceExpression=SequenceExpression;t.Super=Super;t.ThisExpression=ThisExpression;t.UnaryExpression=UnaryExpression;t.UpdateExpression=UpdateExpression;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.YieldExpression=YieldExpression;t._shouldPrintDecoratorsBeforeExport=_shouldPrintDecoratorsBeforeExport;var n=r(776);var s=r(9939);const{isCallExpression:i,isLiteral:a,isMemberExpression:o,isNewExpression:l}=n;function UnaryExpression(e){const{operator:t}=e;if(t==="void"||t==="delete"||t==="typeof"||t==="throw"){this.word(t);this.space()}else{this.token(t)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async",true);this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.tokenChar(40);this.print(e.expression,e);this.rightParens(e)}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.printTerminatorless(e.argument,e,true);this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.tokenChar(63);this.space();this.print(e.consequent,e);this.space();this.tokenChar(58);this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!i(t,{callee:e})&&!o(t)&&!l(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.tokenChar(40);this.printList(e.arguments,e);this.rightParens(e)}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function isDecoratorMemberExpression(e){switch(e.type){case"Identifier":return true;case"MemberExpression":return!e.computed&&e.property.type==="Identifier"&&isDecoratorMemberExpression(e.object);default:return false}}function shouldParenthesizeDecoratorExpression(e){if(e.type==="ParenthesizedExpression"){return false}return!isDecoratorMemberExpression(e.type==="CallExpression"?e.callee:e)}function _shouldPrintDecoratorsBeforeExport(e){if(typeof this.format.decoratorsBeforeExport==="boolean"){return this.format.decoratorsBeforeExport}return typeof e.start==="number"&&e.start===e.declaration.start}function Decorator(e){this.tokenChar(64);const{expression:t}=e;if(shouldParenthesizeDecoratorExpression(t)){this.tokenChar(40);this.print(t,e);this.tokenChar(41)}else{this.print(t,e)}this.newline()}function OptionalMemberExpression(e){let{computed:t}=e;const{optional:r,property:n}=e;this.print(e.object,e);if(!t&&o(n)){throw new TypeError("Got a MemberExpression for MemberExpression property")}if(a(n)&&typeof n.value==="number"){t=true}if(r){this.token("?.")}if(t){this.tokenChar(91);this.print(n,e);this.tokenChar(93)}else{if(!r){this.tokenChar(46)}this.print(n,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.print(e.typeArguments,e);this.tokenChar(40);this.printList(e.arguments,e);this.rightParens(e)}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.tokenChar(40);this.printList(e.arguments,e);this.rightParens(e)}function Import(){this.word("import")}function AwaitExpression(e){this.word("await");if(e.argument){this.space();this.printTerminatorless(e.argument,e,false)}}function YieldExpression(e){this.word("yield",true);if(e.delegate){this.tokenChar(42);if(e.argument){this.space();this.print(e.argument,e)}}else{if(e.argument){this.space();this.printTerminatorless(e.argument,e,false)}}}function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.tokenChar(63);this.print(e.left.typeAnnotation,e);this.space();this.tokenChar(61);this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!s.needsParens(e,t);if(r){this.tokenChar(40)}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.tokenChar(41)}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&o(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(a(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.tokenChar(91);this.print(e.property,e);this.tokenChar(93)}else{this.tokenChar(46);this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.tokenChar(46);this.print(e.property,e)}function PrivateName(e){this.tokenChar(35);this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.tokenChar(37);this.word(e.name)}function ModuleExpression(e){this.word("module",true);this.space();this.tokenChar(123);this.indent();const{body:t}=e;if(t.body.length||t.directives.length){this.newline()}this.print(t,e);this.dedent();this.rightBrace(e)}},7138:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareFunction=DeclareFunction;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareVariable=DeclareVariable;t.DeclaredPredicate=DeclaredPredicate;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.EnumBooleanBody=EnumBooleanBody;t.EnumBooleanMember=EnumBooleanMember;t.EnumDeclaration=EnumDeclaration;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumNumberBody=EnumNumberBody;t.EnumNumberMember=EnumNumberMember;t.EnumStringBody=EnumStringBody;t.EnumStringMember=EnumStringMember;t.EnumSymbolBody=EnumSymbolBody;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.IndexedAccessType=IndexedAccessType;t.InferredPredicate=InferredPredicate;t.InterfaceDeclaration=InterfaceDeclaration;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return i.NumericLiteral}});t.NumberTypeAnnotation=NumberTypeAnnotation;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.OpaqueType=OpaqueType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return i.StringLiteral}});t.StringTypeAnnotation=StringTypeAnnotation;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.TypeParameter=TypeParameter;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t._interfaceish=_interfaceish;t._variance=_variance;var n=r(776);var s=r(7104);var i=r(5973);const{isDeclareExportDeclaration:a,isStatement:o}=n;function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e,true);this.tokenChar(91);this.tokenChar(93)}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!a(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!a(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.tokenChar(37);this.word("checks")}function DeclaredPredicate(e){this.tokenChar(37);this.word("checks");this.tokenChar(40);this.print(e.value,e);this.tokenChar(41)}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.tokenChar(46);this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!a(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!a(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.call(this,e)}function DeclareExportAllDeclaration(e){this.word("declare");this.space();s.ExportAllDeclaration.call(this,e)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.tokenChar(44)}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!o(t))this.semicolon()}else{this.tokenChar(123);if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.tokenChar(125);if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.tokenChar(42)}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.tokenChar(40);if(e.this){this.word("this");this.tokenChar(58);this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.tokenChar(44);this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.tokenChar(44);this.space()}this.token("...");this.print(e.rest,e)}this.tokenChar(41);const r=t==null?void 0:t.type;if(r!=null&&(r==="ObjectTypeCallProperty"||r==="ObjectTypeInternalSlot"||r==="DeclareFunction"||r==="ObjectTypeProperty"&&t.method)){this.tokenChar(58)}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.tokenChar(63);if(e.name){this.tokenChar(58);this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e,true)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.type==="DeclareClass"){var r,n;if((r=e.mixins)!=null&&r.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if((n=e.implements)!=null&&n.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}}this.space();this.print(e.body,e)}function _variance(e){var t;const r=(t=e.variance)==null?void 0:t.kind;if(r!=null){if(r==="plus"){this.tokenChar(43)}else if(r==="minus"){this.tokenChar(45)}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.tokenChar(38);this.space()}function InterfaceTypeAnnotation(e){var t;this.word("interface");if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.tokenChar(63);this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.tokenChar(91);this.printList(e.types,e);this.tokenChar(93)}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.tokenChar(61);this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.tokenChar(58);this.space();if(e.optional)this.tokenChar(63);this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.tokenChar(60);this.printList(e.params,e,{});this.tokenChar(62)}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.tokenChar(61);this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.tokenChar(58);this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.tokenChar(61);this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.tokenChar(123)}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.newline();this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.tokenChar(44);this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.tokenChar(125)}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.tokenChar(91);this.tokenChar(91);this.print(e.id,e);this.tokenChar(93);this.tokenChar(93);if(e.optional)this.tokenChar(63);if(!e.method){this.tokenChar(58);this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.tokenChar(91);if(e.id){this.print(e.id,e);this.tokenChar(58);this.space()}this.print(e.key,e);this.tokenChar(93);this.tokenChar(58);this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.tokenChar(63);if(!e.method){this.tokenChar(58);this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.tokenChar(46);this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.tokenChar(124);this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.tokenChar(40);this.print(e.expression,e);this.print(e.typeAnnotation,e);this.tokenChar(41)}function Variance(e){if(e.kind==="plus"){this.tokenChar(43)}else{this.tokenChar(45)}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e,true);this.tokenChar(91);this.print(e.indexType,e);this.tokenChar(93)}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.tokenChar(91);this.print(e.indexType,e);this.tokenChar(93)}},6376:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(6010);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})}));var s=r(9978);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})}));var i=r(460);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})}));var a=r(5103);Object.keys(a).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})}));var o=r(5843);Object.keys(o).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})}));var l=r(7104);Object.keys(l).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})}));var c=r(5973);Object.keys(c).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})}));var u=r(7138);Object.keys(u).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})}));var p=r(3987);Object.keys(p).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})}));var f=r(2280);Object.keys(f).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})}));var d=r(470);Object.keys(d).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})}))},2280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXClosingElement=JSXClosingElement;t.JSXClosingFragment=JSXClosingFragment;t.JSXElement=JSXElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXFragment=JSXFragment;t.JSXIdentifier=JSXIdentifier;t.JSXMemberExpression=JSXMemberExpression;t.JSXNamespacedName=JSXNamespacedName;t.JSXOpeningElement=JSXOpeningElement;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;function JSXAttribute(e){this.print(e.name,e);if(e.value){this.tokenChar(61);this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.tokenChar(58);this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.tokenChar(46);this.print(e.property,e)}function JSXSpreadAttribute(e){this.tokenChar(123);this.token("...");this.print(e.argument,e);this.tokenChar(125)}function JSXExpressionContainer(e){this.tokenChar(123);this.print(e.expression,e);this.tokenChar(125)}function JSXSpreadChild(e){this.tokenChar(123);this.token("...");this.print(e.expression,e);this.tokenChar(125)}function JSXText(e){const t=this.getPossibleRaw(e);if(t!==undefined){this.token(t,true)}else{this.token(e.value,true)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.tokenChar(60);this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.tokenChar(62)}}function JSXClosingElement(e){this.token("</");this.print(e.name,e);this.tokenChar(62)}function JSXEmptyExpression(){this.printInnerComments()}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.tokenChar(60);this.tokenChar(62)}function JSXClosingFragment(){this.token("</");this.tokenChar(62)}},5843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrowFunctionExpression=ArrowFunctionExpression;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t._functionHead=_functionHead;t._methodHead=_methodHead;t._param=_param;t._parameters=_parameters;t._params=_params;t._predicate=_predicate;var n=r(776);const{isIdentifier:s}=n;function _params(e,t,r){this.print(e.typeParameters,e);const n=_getFuncIdName.call(this,t,r);if(n){this.sourceIdentifierName(n.name,n.pos)}this.tokenChar(40);this._parameters(e.params,e);this.tokenChar(41);const s=e.type==="ArrowFunctionExpression";this.print(e.returnType,e,s);this._noLineTerminator=s}function _parameters(e,t){const r=e.length;for(let n=0;n<r;n++){this._param(e[n],t);if(n<e.length-1){this.tokenChar(44);this.space()}}}function _param(e,t){this.printJoin(e.decorators,e);this.print(e,t);if(e.optional){this.tokenChar(63)}this.print(e.typeAnnotation,e)}function _methodHead(e){const t=e.kind;const r=e.key;if(t==="get"||t==="set"){this.word(t);this.space()}if(e.async){this.word("async",true);this.space()}if(t==="method"||t==="init"){if(e.generator){this.tokenChar(42)}}if(e.computed){this.tokenChar(91);this.print(r,e);this.tokenChar(93)}else{this.print(r,e)}if(e.optional){this.tokenChar(63)}this._params(e,e.computed&&e.key.type!=="StringLiteral"?undefined:e.key,undefined)}function _predicate(e,t){if(e.predicate){if(!e.returnType){this.tokenChar(58)}this.space();this.print(e.predicate,e,t)}}function _functionHead(e,t){if(e.async){this.word("async");this._endsWithInnerRaw=false;this.space()}this.word("function");if(e.generator){this._endsWithInnerRaw=false;this.tokenChar(42)}this.space();if(e.id){this.print(e.id,e)}this._params(e,e.id,t);if(e.type!=="TSDeclareFunction"){this._predicate(e)}}function FunctionExpression(e,t){this._functionHead(e,t);this.space();this.print(e.body,e)}function ArrowFunctionExpression(e,t){if(e.async){this.word("async",true);this.space()}let r;if(!this.format.retainLines&&e.params.length===1&&s(r=e.params[0])&&!hasTypesOrComments(e,r)){this.print(r,e,true)}else{this._params(e,undefined,t)}this._predicate(e,true);this.space();this.printInnerComments();this.token("=>");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}function _getFuncIdName(e,t){let r=e;if(!r&&t){const e=t.type;if(e==="VariableDeclarator"){r=t.id}else if(e==="AssignmentExpression"||e==="AssignmentPattern"){r=t.left}else if(e==="ObjectProperty"||e==="ClassProperty"){if(!t.computed||t.key.type==="StringLiteral"){r=t.key}}else if(e==="ClassPrivateProperty"||e==="ClassAccessorProperty"){r=t.key}}if(!r)return;let n;if(r.type==="Identifier"){var s,i;n={pos:(s=r.loc)==null?void 0:s.start,name:((i=r.loc)==null?void 0:i.identifierName)||r.name}}else if(r.type==="PrivateName"){var a;n={pos:(a=r.loc)==null?void 0:a.start,name:"#"+r.id.name}}else if(r.type==="StringLiteral"){var o;n={pos:(o=r.loc)==null?void 0:o.start,name:r.value}}return n}},7104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExportAllDeclaration=ExportAllDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportSpecifier=ExportSpecifier;t.ImportAttribute=ImportAttribute;t.ImportDeclaration=ImportDeclaration;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;t.ImportSpecifier=ImportSpecifier;t._printAttributes=_printAttributes;var n=r(776);const{isClassDeclaration:s,isExportDefaultSpecifier:i,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:o,isImportNamespaceSpecifier:l,isStatement:c}=n;function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){if(e.exportKind==="type"){this.word("type");this.space()}this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.tokenChar(42);this.space();this.word("as");this.space();this.print(e.exported,e)}let u=false;function _printAttributes(e){const{importAttributesKeyword:t}=this.format;const{attributes:r,assertions:n}=e;if(r&&!t&&!u){u=true;console.warn(`You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : \`import { a } from "b" with { type: "json" };\`\n - "assert" : \`import { a } from "b" assert { type: "json" };\`\n - "with-legacy" : \`import { a } from "b" with type: "json";\`\n`)}const s=t==="assert"||!t&&n;this.word(s?"assert":"with");this.space();if(!s&&t!=="with"){this.printList(r||n,e);return}this.tokenChar(123);this.space();this.printList(r||n,e);this.space();this.tokenChar(125)}function ExportAllDeclaration(e){var t,r;this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.tokenChar(42);this.space();this.word("from");this.space();if((t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length){this.print(e.source,e,true);this.space();this._printAttributes(e)}else{this.print(e.source,e)}this.semicolon()}function maybePrintDecoratorsBeforeExport(e,t){if(s(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)){e.printJoin(t.declaration.decorators,t)}}function ExportNamedDeclaration(e){maybePrintDecoratorsBeforeExport(this,e);this.word("export");this.space();if(e.declaration){const t=e.declaration;this.print(t,e);if(!c(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const n=e.specifiers.slice(0);let s=false;for(;;){const t=n[0];if(i(t)||a(t)){s=true;this.print(n.shift(),e);if(n.length){this.tokenChar(44);this.space()}}else{break}}if(n.length||!n.length&&!s){this.tokenChar(123);if(n.length){this.space();this.printList(n,e);this.space()}this.tokenChar(125)}if(e.source){var t,r;this.space();this.word("from");this.space();if((t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length){this.print(e.source,e,true);this.space();this._printAttributes(e)}else{this.print(e.source,e)}}this.semicolon()}}function ExportDefaultDeclaration(e){maybePrintDecoratorsBeforeExport(this,e);this.word("export");this.noIndentInnerCommentsHere();this.space();this.word("default");this.space();const t=e.declaration;this.print(t,e);if(!c(t))this.semicolon()}function ImportDeclaration(e){var t,r;this.word("import");this.space();const n=e.importKind==="type"||e.importKind==="typeof";if(n){this.noIndentInnerCommentsHere();this.word(e.importKind);this.space()}else if(e.module){this.noIndentInnerCommentsHere();this.word("module");this.space()}const s=e.specifiers.slice(0);const i=!!s.length;while(i){const t=s[0];if(o(t)||l(t)){this.print(s.shift(),e);if(s.length){this.tokenChar(44);this.space()}}else{break}}if(s.length){this.tokenChar(123);this.space();this.printList(s,e);this.space();this.tokenChar(125)}else if(n&&!i){this.tokenChar(123);this.tokenChar(125)}if(i||n){this.space();this.word("from");this.space()}if((t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length){this.print(e.source,e,true);this.space();this._printAttributes(e)}else{this.print(e.source,e)}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.tokenChar(58);this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.tokenChar(42);this.space();this.word("as");this.space();this.print(e.local,e)}},460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BreakStatement=BreakStatement;t.CatchClause=CatchClause;t.ContinueStatement=ContinueStatement;t.DebuggerStatement=DebuggerStatement;t.DoWhileStatement=DoWhileStatement;t.ForOfStatement=t.ForInStatement=void 0;t.ForStatement=ForStatement;t.IfStatement=IfStatement;t.LabeledStatement=LabeledStatement;t.ReturnStatement=ReturnStatement;t.SwitchCase=SwitchCase;t.SwitchStatement=SwitchStatement;t.ThrowStatement=ThrowStatement;t.TryStatement=TryStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.WhileStatement=WhileStatement;t.WithStatement=WithStatement;var n=r(776);const{isFor:s,isForStatement:i,isIfStatement:a,isStatement:o}=n;function WithStatement(e){this.word("with");this.space();this.tokenChar(40);this.print(e.object,e);this.tokenChar(41);this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.tokenChar(40);this.print(e.test,e);this.tokenChar(41);this.space();const t=e.alternate&&a(getLastStatement(e.consequent));if(t){this.tokenChar(123);this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.tokenChar(125)}if(e.alternate){if(this.endsWith(125))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){const{body:t}=e;if(o(t)===false){return e}return getLastStatement(t)}function ForStatement(e){this.word("for");this.space();this.tokenChar(40);this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.tokenChar(59);if(e.test){this.space();this.print(e.test,e)}this.tokenChar(59);if(e.update){this.space();this.print(e.update,e)}this.tokenChar(41);this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.tokenChar(40);this.print(e.test,e);this.tokenChar(41);this.printBlock(e)}function ForXStatement(e){this.word("for");this.space();const t=e.type==="ForOfStatement";if(t&&e.await){this.word("await");this.space()}this.noIndentInnerCommentsHere();this.tokenChar(40);this.print(e.left,e);this.space();this.word(t?"of":"in");this.space();this.print(e.right,e);this.tokenChar(41);this.printBlock(e)}const l=ForXStatement;t.ForInStatement=l;const c=ForXStatement;t.ForOfStatement=c;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.tokenChar(40);this.print(e.test,e);this.tokenChar(41);this.semicolon()}function printStatementAfterKeyword(e,t,r,n){if(t){e.space();e.printTerminatorless(t,r,n)}e.semicolon()}function BreakStatement(e){this.word("break");printStatementAfterKeyword(this,e.label,e,true)}function ContinueStatement(e){this.word("continue");printStatementAfterKeyword(this,e.label,e,true)}function ReturnStatement(e){this.word("return");printStatementAfterKeyword(this,e.argument,e,false)}function ThrowStatement(e){this.word("throw");printStatementAfterKeyword(this,e.argument,e,false)}function LabeledStatement(e){this.print(e.label,e);this.tokenChar(58);this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.tokenChar(40);this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.tokenChar(41);this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.tokenChar(40);this.print(e.discriminant,e);this.tokenChar(41);this.space();this.tokenChar(123);this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.rightBrace(e)}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.tokenChar(58)}else{this.word("default");this.tokenChar(58)}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}const{kind:r}=e;this.word(r,r==="using"||r==="await using");this.space();let n=false;if(!s(t)){for(const t of e.declarations){if(t.init){n=true}}}this.printList(e.declarations,e,{separator:n?function(){this.tokenChar(44);this.newline()}:undefined,indent:e.declarations.length>1?true:false});if(s(t)){if(i(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.tokenChar(33);this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.tokenChar(61);this.space();this.print(e.init,e)}}},6010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const s=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(s,true)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r<t.length;r++){this.print(t[r],e);if(r+1<t.length){this.print(e.expressions[r],e)}}}},5973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArgumentPlaceholder=ArgumentPlaceholder;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.BigIntLiteral=BigIntLiteral;t.BooleanLiteral=BooleanLiteral;t.DecimalLiteral=DecimalLiteral;t.Identifier=Identifier;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;t.PipelineTopicExpression=PipelineTopicExpression;t.RecordExpression=RecordExpression;t.RegExpLiteral=RegExpLiteral;t.SpreadElement=t.RestElement=RestElement;t.StringLiteral=StringLiteral;t.TopicReference=TopicReference;t.TupleExpression=TupleExpression;var n=r(776);var s=r(4011);const{isAssignmentPattern:i,isIdentifier:a}=n;function Identifier(e){var t;this.sourceIdentifierName(((t=e.loc)==null?void 0:t.identifierName)||e.name);this.word(e.name)}function ArgumentPlaceholder(){this.tokenChar(63)}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.tokenChar(123);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.sourceWithOffset("end",e.loc,0,-1);this.tokenChar(125)}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.tokenChar(91);this.print(e.key,e);this.tokenChar(93)}else{if(i(e.value)&&a(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&a(e.key)&&a(e.value)&&e.key.name===e.value.name){return}}this.tokenChar(58);this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.tokenChar(91);for(let n=0;n<t.length;n++){const s=t[n];if(s){if(n>0)this.space();this.print(s,e);if(n<r-1)this.tokenChar(44)}else{this.tokenChar(44)}}this.tokenChar(93)}function RecordExpression(e){const t=e.properties;let r;let n;if(this.format.recordAndTupleSyntaxType==="bar"){r="{|";n="|}"}else if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null){throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`)}else{r="#{";n="}"}this.token(r);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token(n)}function TupleExpression(e){const t=e.elements;const r=t.length;let n;let s;if(this.format.recordAndTupleSyntaxType==="bar"){n="[|";s="|]"}else if(this.format.recordAndTupleSyntaxType==="hash"){n="#[";s="]"}else{throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`)}this.token(n);for(let n=0;n<t.length;n++){const s=t[n];if(s){if(n>0)this.space();this.print(s,e);if(n<r-1)this.tokenChar(44)}}this.token(s)}function RegExpLiteral(e){this.word(`/${e.pattern}/${e.flags}`)}function BooleanLiteral(e){this.word(e.value?"true":"false")}function NullLiteral(){this.word("null")}function NumericLiteral(e){const t=this.getPossibleRaw(e);const r=this.format.jsescOption;const n=e.value+"";if(r.numbers){this.number(s(e.value,r))}else if(t==null){this.number(n)}else if(this.format.minified){this.number(t.length<n.length?t:n)}else{this.number(t)}}function StringLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!==undefined){this.token(t);return}const r=s(e.value,this.format.jsescOption);this.token(r)}function BigIntLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!==undefined){this.word(t);return}this.word(e.value+"n")}function DecimalLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!==undefined){this.word(t);return}this.word(e.value+"m")}const o=new Set(["^^","@@","^","%","#"]);function TopicReference(){const{topicToken:e}=this.format;if(o.has(e)){this.token(e)}else{const t=JSON.stringify(e);const r=Array.from(o,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of `+`${r.join(", ")} (${t} received instead).`)}}function PipelineTopicExpression(e){this.print(e.expression,e)}function PipelineBareFunction(e){this.print(e.callee,e)}function PipelinePrimaryTopicReference(){this.tokenChar(35)}},470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSAnyKeyword=TSAnyKeyword;t.TSArrayType=TSArrayType;t.TSSatisfiesExpression=t.TSAsExpression=TSTypeExpression;t.TSBigIntKeyword=TSBigIntKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConditionalType=TSConditionalType;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSConstructorType=TSConstructorType;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSExportAssignment=TSExportAssignment;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSExternalModuleReference=TSExternalModuleReference;t.TSFunctionType=TSFunctionType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSImportType=TSImportType;t.TSIndexSignature=TSIndexSignature;t.TSIndexedAccessType=TSIndexedAccessType;t.TSInferType=TSInferType;t.TSInstantiationExpression=TSInstantiationExpression;t.TSInterfaceBody=TSInterfaceBody;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSIntersectionType=TSIntersectionType;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSLiteralType=TSLiteralType;t.TSMappedType=TSMappedType;t.TSMethodSignature=TSMethodSignature;t.TSModuleBlock=TSModuleBlock;t.TSModuleDeclaration=TSModuleDeclaration;t.TSNamedTupleMember=TSNamedTupleMember;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.TSNeverKeyword=TSNeverKeyword;t.TSNonNullExpression=TSNonNullExpression;t.TSNullKeyword=TSNullKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSOptionalType=TSOptionalType;t.TSParameterProperty=TSParameterProperty;t.TSParenthesizedType=TSParenthesizedType;t.TSPropertySignature=TSPropertySignature;t.TSQualifiedName=TSQualifiedName;t.TSRestType=TSRestType;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSThisType=TSThisType;t.TSTupleType=TSTupleType;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeAssertion=TSTypeAssertion;t.TSTypeLiteral=TSTypeLiteral;t.TSTypeOperator=TSTypeOperator;t.TSTypeParameter=TSTypeParameter;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeReference=TSTypeReference;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSUnionType=TSUnionType;t.TSUnknownKeyword=TSUnknownKeyword;t.TSVoidKeyword=TSVoidKeyword;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;function TSTypeAnnotation(e){this.tokenChar(58);this.space();if(e.optional)this.tokenChar(63);this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e,t){this.tokenChar(60);this.printList(e.params,e,{});if(t.type==="ArrowFunctionExpression"&&e.params.length===1){this.tokenChar(44)}this.tokenChar(62)}function TSTypeParameter(e){if(e.in){this.word("in");this.space()}if(e.out){this.word("out");this.space()}this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.tokenChar(61);this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e,t){if(e.declare){this.word("declare");this.space()}this._functionHead(e,t);this.tokenChar(59)}function TSDeclareMethod(e){this._classMethodHead(e);this.tokenChar(59)}function TSQualifiedName(e){this.print(e.left,e);this.tokenChar(46);this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.tokenChar(59)}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.tokenChar(59)}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.tokenChar(61);this.space();this.print(r,e)}this.tokenChar(59)}function tsPrintPropertyOrMethodName(e){if(e.computed){this.tokenChar(91)}this.print(e.key,e);if(e.computed){this.tokenChar(93)}if(e.optional){this.tokenChar(63)}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.tokenChar(59)}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.tokenChar(91);this._parameters(e.parameters,e);this.tokenChar(93);this.print(e.typeAnnotation,e);this.tokenChar(59)}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t}=e;const r=e.parameters;this.print(t,e);this.tokenChar(40);this._parameters(r,e);this.tokenChar(41);this.space();this.token("=>");this.space();const n=e.typeAnnotation;this.print(n.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e,true);this.print(e.typeParameters,e,true)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName);if(e.typeParameters){this.print(e.typeParameters,e)}}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){tsPrintBraced(this,e,t)}function tsPrintBraced(e,t,r){e.token("{");if(t.length){e.indent();e.newline();for(const n of t){e.print(n,r);e.newline()}e.dedent()}e.rightBrace(r)}function TSArrayType(e){this.print(e.elementType,e,true);this.token("[]")}function TSTupleType(e){this.tokenChar(91);this.printList(e.elementTypes,e);this.tokenChar(93)}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.tokenChar(63)}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.tokenChar(63);this.tokenChar(58);this.space();this.print(e.elementType,e)}function TSUnionType(e){tsPrintUnionOrIntersectionType(this,e,"|")}function TSIntersectionType(e){tsPrintUnionOrIntersectionType(this,e,"&")}function tsPrintUnionOrIntersectionType(e,t,r){e.printJoin(t.types,t,{separator(){this.space();this.token(r);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.tokenChar(63);this.space();this.print(e.trueType);this.space();this.tokenChar(58);this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.tokenChar(40);this.print(e.typeAnnotation,e);this.tokenChar(41)}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e,true);this.tokenChar(91);this.print(e.indexType,e);this.tokenChar(93)}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:s}=e;this.tokenChar(123);this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.tokenChar(91);this.word(s.name);this.space();this.word("in");this.space();this.print(s.constraint,s);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.tokenChar(93);if(r){tokenIfPlusMinus(this,r);this.tokenChar(63)}this.tokenChar(58);this.space();this.print(e.typeAnnotation,e);this.space();this.tokenChar(125)}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:s,body:i}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(s!=null&&s.length){this.space();this.word("extends");this.space();this.printList(s,e)}this.space();this.print(i,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:s}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.tokenChar(61);this.space();this.print(s,e);this.tokenChar(59)}function TSTypeExpression(e){var t;const{type:r,expression:n,typeAnnotation:s}=e;const i=!!((t=n.trailingComments)!=null&&t.length);this.print(n,e,true,undefined,i);this.space();this.word(r==="TSAsExpression"?"as":"satisfies");this.space();this.print(s,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.tokenChar(60);this.print(t,e);this.tokenChar(62);this.space();this.print(r,e)}function TSInstantiationExpression(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:s}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();tsPrintBraced(this,s,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.tokenChar(61);this.space();this.print(r,e)}this.tokenChar(44)}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.tokenChar(59);return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.tokenChar(46);this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){tsPrintBraced(this,e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.tokenChar(40);this.print(t,e);this.tokenChar(41);if(r){this.tokenChar(46);this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.tokenChar(61);this.space();this.print(n,e);this.tokenChar(59)}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.tokenChar(41)}function TSNonNullExpression(e){this.print(e.expression,e);this.tokenChar(33)}function TSExportAssignment(e){this.word("export");this.space();this.tokenChar(61);this.space();this.print(e.expression,e);this.tokenChar(59)}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t}=e;const r=e.parameters;this.print(t,e);this.tokenChar(40);this._parameters(r,e);this.tokenChar(41);const n=e.typeAnnotation;this.print(n,e)}function tsPrintClassMemberModifiers(e){const t=e.type==="ClassAccessorProperty"||e.type==="ClassProperty";if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},3956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CodeGenerator=void 0;t["default"]=generate;var n=r(4095);var s=r(7676);class Generator extends s.default{constructor(e,t={},r){const s=normalizeOptions(r,t);const i=t.sourceMaps?new n.default(t,r):null;super(s,i);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:" "},jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType,topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};{r.decoratorsBeforeExport=t.decoratorsBeforeExport;r.jsescOption.json=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve"))}if(r.compact==="auto"){r.compact=typeof e==="string"&&e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}const{auxiliaryCommentBefore:n,auxiliaryCommentAfter:s,shouldPrintComment:i}=r;if(n&&!i(n)){r.auxiliaryCommentBefore=undefined}if(s&&!i(s)){r.auxiliaryCommentAfter=undefined}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},9939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsParens=needsParens;t.needsWhitespace=needsWhitespace;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsWhitespaceBefore=needsWhitespaceBefore;var n=r(2575);var s=r(8526);var i=r(776);const{FLIPPED_ALIAS_KEYS:a,isCallExpression:o,isExpressionStatement:l,isMemberExpression:c,isNewExpression:u}=i;function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,s){const i=n(e,t,s);return i==null?r(e,t,s):i}:r}for(const t of Object.keys(e)){const r=a[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const p=expandAliases(s);const f=expandAliases(n.nodes);function find(e,t,r,n){const s=e[t.type];return s?s(t,r,n):null}function isOrHasCallExpression(e){if(o(e)){return true}return c(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return false;if(l(e)){e=e.expression}const n=find(f,e,t);if(typeof n==="number"){return(n&r)!==0}return false}function needsWhitespaceBefore(e,t){return needsWhitespace(e,t,1)}function needsWhitespaceAfter(e,t){return needsWhitespace(e,t,2)}function needsParens(e,t,r){if(!t)return false;if(u(t)&&t.callee===e){if(isOrHasCallExpression(e))return true}return find(p,e,t,r)}},8526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrowFunctionExpression=ArrowFunctionExpression;t.AssignmentExpression=AssignmentExpression;t.Binary=Binary;t.BinaryExpression=BinaryExpression;t.ClassExpression=ClassExpression;t.ConditionalExpression=ConditionalExpression;t.DoExpression=DoExpression;t.FunctionExpression=FunctionExpression;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.Identifier=Identifier;t.LogicalExpression=LogicalExpression;t.NullableTypeAnnotation=NullableTypeAnnotation;t.ObjectExpression=ObjectExpression;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.SequenceExpression=SequenceExpression;t.TSTypeAssertion=t.TSSatisfiesExpression=t.TSAsExpression=TSAsExpression;t.TSInferType=TSInferType;t.TSInstantiationExpression=TSInstantiationExpression;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.UnaryLike=UnaryLike;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;var n=r(776);const{isArrayTypeAnnotation:s,isArrowFunctionExpression:i,isAssignmentExpression:a,isAwaitExpression:o,isBinary:l,isBinaryExpression:c,isUpdateExpression:u,isCallExpression:p,isClass:f,isClassExpression:d,isConditional:h,isConditionalExpression:m,isExportDeclaration:y,isExportDefaultDeclaration:g,isExpressionStatement:b,isFor:T,isForInStatement:S,isForOfStatement:E,isForStatement:x,isFunctionExpression:v,isIfStatement:P,isIndexedAccessType:A,isIntersectionTypeAnnotation:w,isLogicalExpression:C,isMemberExpression:I,isNewExpression:O,isNullableTypeAnnotation:k,isObjectPattern:N,isOptionalCallExpression:_,isOptionalMemberExpression:D,isReturnStatement:M,isSequenceExpression:L,isSwitchStatement:j,isTSArrayType:F,isTSAsExpression:B,isTSInstantiationExpression:R,isTSIntersectionType:U,isTSNonNullExpression:V,isTSOptionalType:K,isTSRestType:W,isTSTypeAssertion:$,isTSUnionType:q,isTaggedTemplateExpression:H,isThrowStatement:J,isTypeAnnotation:X,isUnaryLike:G,isUnionTypeAnnotation:z,isVariableDeclarator:Y,isWhileStatement:Q,isYieldExpression:Z,isTSSatisfiesExpression:ee}=n;const te={"||":0,"??":0,"|>":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};function isTSTypeExpression(e){return B(e)||ee(e)||$(e)}const isClassExtendsClause=(e,t)=>f(t,{superClass:e});const hasPostfixPart=(e,t)=>(I(t)||D(t))&&t.object===e||(p(t)||_(t)||O(t))&&t.callee===e||H(t)&&t.tag===e||V(t);function NullableTypeAnnotation(e,t){return s(t)}function FunctionTypeAnnotation(e,t,r){if(r.length<3)return;return z(t)||w(t)||s(t)||X(t)&&i(r[r.length-3])}function UpdateExpression(e,t){return hasPostfixPart(e,t)||isClassExtendsClause(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,1|2)}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,1)}function Binary(e,t){if(e.operator==="**"&&c(t,{operator:"**"})){return t.left===e}if(isClassExtendsClause(e,t)){return true}if(hasPostfixPart(e,t)||G(t)||o(t)){return true}if(l(t)){const r=t.operator;const n=te[r];const s=e.operator;const i=te[s];if(n===i&&t.right===e&&!C(t)||n>i){return true}}}function UnionTypeAnnotation(e,t){return s(t)||k(t)||w(t)||z(t)}function OptionalIndexedAccessType(e,t){return A(t,{objectType:e})}function TSAsExpression(){return true}function TSUnionType(e,t){return F(t)||K(t)||U(t)||q(t)||W(t)}function TSInferType(e,t){return F(t)||K(t)}function TSInstantiationExpression(e,t){return(p(t)||_(t)||O(t)||R(t))&&!!t.typeParameters}function BinaryExpression(e,t){return e.operator==="in"&&(Y(t)||T(t))}function SequenceExpression(e,t){if(x(t)||J(t)||M(t)||P(t)&&t.test===e||Q(t)&&t.test===e||S(t)&&t.right===e||j(t)&&t.discriminant===e||b(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return l(t)||G(t)||hasPostfixPart(e,t)||o(t)&&Z(e)||m(t)&&e===t.test||isClassExtendsClause(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,1|4)}function UnaryLike(e,t){return hasPostfixPart(e,t)||c(t,{operator:"**",left:e})||isClassExtendsClause(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,1|4)}function ArrowFunctionExpression(e,t){return y(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(G(t)||l(t)||m(t,{test:e})||o(t)||isTSTypeExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return p(t,{callee:e})||I(t,{object:e})}function AssignmentExpression(e,t){if(N(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){if(isTSTypeExpression(t))return true;switch(e.operator){case"||":if(!C(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return C(t,{operator:"??"});case"??":return C(t)&&t.operator!=="??"}}function Identifier(e,t,r){var n;if((n=e.extra)!=null&&n.parenthesized&&a(t,{left:e})&&(v(t.right)||d(t.right))&&t.right.id==null){return true}if(e.name==="let"){const n=I(t,{object:e,computed:true})||D(t,{object:e,computed:true,optional:false});return isFirstInContext(r,n?1|8|16|32:32)}return e.name==="async"&&E(t)&&e===t.left}function isFirstInContext(e,t){const r=t&1;const n=t&2;const s=t&4;const o=t&8;const c=t&16;const p=t&32;let f=e.length-1;if(f<=0)return;let d=e[f];f--;let m=e[f];while(f>=0){if(r&&b(m,{expression:d})||s&&g(m,{declaration:d})||n&&i(m,{body:d})||o&&x(m,{init:d})||c&&S(m,{left:d})||p&&E(m,{left:d})){return true}if(f>0&&(hasPostfixPart(d,m)&&!O(m)||L(m)&&m.expressions[0]===d||u(m)&&!m.prefix||h(m,{test:d})||l(m,{left:d})||a(m,{left:d}))){d=m;f--;m=e[f]}else{return false}}return false}},2575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.nodes=void 0;var n=r(776);const{FLIPPED_ALIAS_KEYS:s,isArrayExpression:i,isAssignmentExpression:a,isBinary:o,isBlockStatement:l,isCallExpression:c,isFunction:u,isIdentifier:p,isLiteral:f,isMemberExpression:d,isObjectExpression:h,isOptionalCallExpression:m,isOptionalMemberExpression:y,isStringLiteral:g}=n;function crawlInternal(e,t){if(!e)return t;if(d(e)||y(e)){crawlInternal(e.object,t);if(e.computed)crawlInternal(e.property,t)}else if(o(e)||a(e)){crawlInternal(e.left,t);crawlInternal(e.right,t)}else if(c(e)||m(e)){t.hasCall=true;crawlInternal(e.callee,t)}else if(u(e)){t.hasFunction=true}else if(p(e)){t.hasHelper=t.hasHelper||e.callee&&isHelper(e.callee)}return t}function crawl(e){return crawlInternal(e,{hasCall:false,hasFunction:false,hasHelper:false})}function isHelper(e){if(!e)return false;if(d(e)){return isHelper(e.object)||isHelper(e.property)}else if(p(e)){return e.name==="require"||e.name.charCodeAt(0)===95}else if(c(e)){return isHelper(e.callee)}else if(o(e)||a(e)){return p(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return f(e)||h(e)||i(e)||p(e)||d(e)}const b={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return t.hasFunction?1|2:2}},SwitchCase(e,t){return(!!e.consequent.length||t.cases[0]===e?1:0)|(!e.consequent.length&&t.cases[t.cases.length-1]===e?2:0)},LogicalExpression(e){if(u(e.left)||u(e.right)){return 2}},Literal(e){if(g(e)&&e.value==="use strict"){return 2}},CallExpression(e){if(u(e.callee)||isHelper(e)){return 1|2}},OptionalCallExpression(e){if(u(e.callee)){return 1|2}},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const r=e.declarations[t];let n=isHelper(r.id)&&!isType(r.init);if(!n&&r.init){const e=crawl(r.init);n=isHelper(r.init)&&e.hasCall||e.hasFunction}if(n){return 1|2}}},IfStatement(e){if(l(e.consequent)){return 1|2}}};t.nodes=b;b.ObjectProperty=b.ObjectTypeProperty=b.ObjectMethod=function(e,t){if(t.properties[0]===e){return 1}};b.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&!((r=t.properties)!=null&&r.length)){return 1}};b.ObjectTypeIndexer=function(e,t){var r,n;if(t.indexers[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)){return 1}};b.ObjectTypeInternalSlot=function(e,t){var r,n,s;if(t.internalSlots[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)&&!((s=t.indexers)!=null&&s.length)){return 1}};[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach((function([e,t]){[e].concat(s[e]||[]).forEach((function(e){const r=t?1|2:0;b[e]=()=>r}))}))},7676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9531);var s=r(9939);var i=r(776);var a=r(6376);const{isFunction:o,isStatement:l,isClassBody:c,isTSInterfaceBody:u,isTSEnumDeclaration:p}=i;const f=/e/i;const d=/\.0+$/;const h=/^0[box]/;const m=/^\s*[@#]__PURE__\s*$/;const y=/[\n\r\u2028\u2029]/;const g=/\*\//;const{needsParens:b}=s;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._indentChar=0;this._indentRepeat=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new Set;this._endsWithInteger=false;this._endsWithWord=false;this._lastCommentLine=0;this._endsWithInnerRaw=false;this._indentInnerComments=true;this.format=e;this._buf=new n.default(t);this._indentChar=e.indent.style.charCodeAt(0);this._indentRepeat=e.indent.style.length;this._inputMap=t==null?void 0:t._inputMap}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();if(e){this._appendChar(59)}else{this._queue(59)}this._noLineTerminator=false}rightBrace(e){if(this.format.minified){this._buf.removeLastSemicolon()}this.sourceWithOffset("end",e.loc,0,-1);this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,0,-1);this.tokenChar(41)}space(e=false){if(this.format.compact)return;if(e){this._space()}else if(this._buf.hasContent()){const e=this.getLastChar();if(e!==32&&e!==10){this._space()}}}word(e,t=false){this._maybePrintInnerComments();if(this._endsWithWord||e.charCodeAt(0)===47&&this.endsWith(47)){this._space()}this._maybeAddAuxComment();this._append(e,false);this._endsWithWord=true;this._noLineTerminator=t}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!h.test(e)&&!f.test(e)&&!d.test(e)&&e.charCodeAt(e.length-1)!==46}token(e,t=false){this._maybePrintInnerComments();const r=this.getLastChar();const n=e.charCodeAt(0);if(r===33&&(e==="--"||n===61)||n===43&&r===43||n===45&&r===45||n===46&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e,t);this._noLineTerminator=false}tokenChar(e){this._maybePrintInnerComments();const t=this.getLastChar();if(e===43&&t===43||e===45&&t===45||e===46&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._appendChar(e);this._noLineTerminator=false}newline(e=1,t){if(e<=0)return;if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}if(e>2)e=2;e-=this._buf.getNewlineCount();for(let t=0;t<e;t++){this._newline()}return}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){if(!e){t();return}this._catchUp("start",e);this._buf.exactSource(e,t)}source(e,t){if(!t)return;this._catchUp(e,t);this._buf.source(e,t)}sourceWithOffset(e,t,r,n){if(!t)return;this._catchUp(e,t);this._buf.sourceWithOffset(e,t,r,n)}withSource(e,t,r){if(!t){r();return}this._catchUp(e,t);this._buf.withSource(e,t,r)}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const r=this._buf._sourcePosition;r.identifierNamePos=t;r.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_append(e,t){this._maybeAddParen(e);this._maybeIndent(e.charCodeAt(0));this._buf.append(e,t);this._endsWithWord=false;this._endsWithInteger=false}_appendChar(e){this._maybeAddParenChar(e);this._maybeIndent(e);this._buf.appendChar(e);this._endsWithWord=false;this._endsWithInteger=false}_queue(e){this._maybeAddParenChar(e);this._maybeIndent(e);this._buf.queue(e);this._endsWithWord=false;this._endsWithInteger=false}_maybeIndent(e){if(this._indent&&e!==10&&this.endsWith(10)){this._buf.queueIndentation(this._indentChar,this._getIndent())}}_shouldIndent(e){if(this._indent&&e!==10&&this.endsWith(10)){return true}}_maybeAddParenChar(e){const t=this._parenPushNewlineState;if(!t)return;if(e===32){return}if(e!==10){this._parenPushNewlineState=null;return}this.tokenChar(40);this.indent();t.printed=true}_maybeAddParen(e){const t=this._parenPushNewlineState;if(!t)return;const r=e.length;let n;for(n=0;n<r&&e.charCodeAt(n)===32;n++)continue;if(n===r){return}const s=e.charCodeAt(n);if(s!==10){if(s!==47||n+1===r){this._parenPushNewlineState=null;return}const t=e.charCodeAt(n+1);if(t===42){if(m.test(e.slice(n+2,r-2))){return}}else if(t!==47){this._parenPushNewlineState=null;return}}this.tokenChar(40);this.indent();t.printed=true}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++){this._newline()}}_catchUp(e,t){var r;if(!this.format.retainLines)return;const n=t==null?void 0:(r=t[e])==null?void 0:r.line;if(n!=null){const e=n-this._buf.getCurrentLine();for(let t=0;t<e;t++){this._newline()}}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e,t,r){if(r){this._noLineTerminator=true;this.print(e,t)}else{const r={printed:false};this._parenPushNewlineState=r;this.print(e,t);if(r.printed){this.dedent();this.newline();this.tokenChar(41)}}}print(e,t,r,n,s){var i;if(!e)return;this._endsWithInnerRaw=false;const a=e.type;const o=this.format;const l=o.concise;if(e._compact){o.concise=true}const c=this[a];if(c===undefined){throw new ReferenceError(`unknown node of type ${JSON.stringify(a)} with constructor ${JSON.stringify(e.constructor.name)}`)}this._printStack.push(e);const u=this._insideAux;this._insideAux=e.loc==undefined;this._maybeAddAuxComment(this._insideAux&&!u);const p=s||o.retainFunctionParens&&a==="FunctionExpression"&&((i=e.extra)==null?void 0:i.parenthesized)||b(e,t,this._printStack);if(p){this.tokenChar(40);this._endsWithInnerRaw=false}this._lastCommentLine=0;this._printLeadingComments(e,t);const f=a==="Program"||a==="File"?null:e.loc;this.exactSource(f,c.bind(this,e,t));if(p){this._printTrailingComments(e,t);this.tokenChar(41);this._noLineTerminator=r}else if(r&&!this._noLineTerminator){this._noLineTerminator=true;this._printTrailingComments(e,t)}else{this._printTrailingComments(e,t,n)}this._printStack.pop();o.concise=l;this._insideAux=u;this._endsWithInnerRaw=false}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e},0)}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e},0)}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;let{indent:n}=r;if(n==null&&this.format.retainLines){var s;const t=(s=e[0].loc)==null?void 0:s.start.line;if(t!=null&&t!==this._buf.getCurrentLine()){n=true}}if(n)this.indent();const i={addNewlines:r.addNewlines,nextNodeStartLine:0};const a=r.separator?r.separator.bind(this):null;const o=e.length;for(let n=0;n<o;n++){const s=e[n];if(!s)continue;if(r.statement)this._printNewline(n===0,i);this.print(s,t,undefined,r.trailingCommentsLineOffset||0);r.iterator==null?void 0:r.iterator(s,n);if(n<o-1)a==null?void 0:a();if(r.statement){if(n+1===o){this.newline(1)}else{var l;const t=e[n+1];i.nextNodeStartLine=((l=t.loc)==null?void 0:l.start.line)||0;this._printNewline(true,i)}}}if(n)this.dedent()}printAndIndentOnComments(e,t){const r=e.leadingComments&&e.leadingComments.length>0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(t.type!=="EmptyStatement"){this.space()}this.print(t,e)}_printTrailingComments(e,t,r){const{innerComments:n,trailingComments:s}=e;if(n!=null&&n.length){this._printComments(2,n,e,t,r)}if(s!=null&&s.length){this._printComments(2,s,e,t,r)}}_printLeadingComments(e,t){const r=e.leadingComments;if(!(r!=null&&r.length))return;this._printComments(0,r,e,t)}_maybePrintInnerComments(){if(this._endsWithInnerRaw)this.printInnerComments();this._endsWithInnerRaw=true;this._indentInnerComments=true}printInnerComments(){const e=this._printStack[this._printStack.length-1];const t=e.innerComments;if(!(t!=null&&t.length))return;const r=this.endsWith(32);const n=this._indentInnerComments;const s=this._printedComments.size;if(n)this.indent();this._printComments(1,t,e);if(r&&s!==this._printedComments.size){this.space()}if(n)this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=false}printSequence(e,t,r={}){var n;r.statement=true;(n=r.indent)!=null?n:r.indent=false;this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}this.printJoin(e,t,r)}_printNewline(e,t){const r=this.format;if(r.retainLines||r.compact)return;if(r.concise){this.space();return}if(!e){return}const n=t.nextNodeStartLine;const s=this._lastCommentLine;if(n>0&&s>0){const e=n-s;if(e>=0){this.newline(e||1);return}}if(this._buf.hasContent()){this.newline(1)}}_shouldPrintComment(e){if(e.ignore)return 0;if(this._printedComments.has(e))return 0;if(this._noLineTerminator&&(y.test(e.value)||g.test(e.value))){return 2}this._printedComments.add(e);if(!this.format.shouldPrintComment(e.value)){return 0}return 1}_printComment(e,t){const r=this._noLineTerminator;const n=e.type==="CommentBlock";const s=n&&t!==1&&!this._noLineTerminator;if(s&&this._buf.hasContent()&&t!==2){this.newline(1)}const i=this.getLastChar();if(i!==91&&i!==123){this.space()}let a;if(n){a=`/*${e.value}*/`;if(this.format.indent.adjustMultilineComment){var o;const t=(o=e.loc)==null?void 0:o.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");a=a.replace(e,"\n")}let r=this.format.retainLines?0:this._buf.getCurrentColumn();if(this._shouldIndent(47)||this.format.retainLines){r+=this._getIndent()}a=a.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}}else if(!r){a=`//${e.value}`}else{a=`/*${e.value}*/`}if(this.endsWith(47))this._space();this.source("start",e.loc);this._append(a,n);if(!n&&!r){this.newline(1,true)}if(s&&t!==3){this.newline(1)}}_printComments(e,t,r,n,s=0){const i=r.loc;const a=t.length;let f=!!i;const d=f?i.start.line:0;const h=f?i.end.line:0;let m=0;let g=0;const b=this._noLineTerminator?function(){}:this.newline.bind(this);for(let i=0;i<a;i++){const T=t[i];const S=this._shouldPrintComment(T);if(S===2){f=false;break}if(f&&T.loc&&S===1){const t=T.loc.start.line;const r=T.loc.end.line;if(e===0){let e=0;if(i===0){if(this._buf.hasContent()&&(T.type==="CommentLine"||t!=r)){e=g=1}}else{e=t-m}m=r;b(e);this._printComment(T,1);if(i+1===a){b(Math.max(d-m,g));m=d}}else if(e===1){const e=t-(i===0?d:m);m=r;b(e);this._printComment(T,1);if(i+1===a){b(Math.min(1,h-m));m=h}}else{const e=t-(i===0?h-s:m);m=r;b(e);this._printComment(T,1)}}else{f=false;if(S!==1){continue}if(a===1){const t=T.loc?T.loc.start.line===T.loc.end.line:!y.test(T.value);const s=t&&!l(r)&&!c(n)&&!u(n)&&!p(n);if(e===0){this._printComment(T,s&&r.type!=="ObjectExpression"||t&&o(n,{body:r})?1:0)}else if(s&&e===2){this._printComment(T,1)}else{this._printComment(T,0)}}else if(e===1&&!(r.type==="ObjectExpression"&&r.properties.length>1)&&r.type!=="ClassBody"&&r.type!=="TSInterfaceBody"){this._printComment(T,i===0?2:i===a-1?3:0)}else{this._printComment(T,0)}}}if(e===2&&f&&m){this._lastCommentLine=m}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var T=Printer;t["default"]=T;function commaSeparator(){this.tokenChar(44);this.space()}},4095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(2987);var s=r(4614);class SourceMap{constructor(e,t){var r;this._map=void 0;this._rawMappings=void 0;this._sourceFileName=void 0;this._lastGenLine=0;this._lastSourceLine=0;this._lastSourceColumn=0;this._inputMap=void 0;const i=this._map=new n.GenMapping({sourceRoot:e.sourceRoot});this._sourceFileName=(r=e.sourceFileName)==null?void 0:r.replace(/\\/g,"/");this._rawMappings=undefined;if(e.inputSourceMap){this._inputMap=new s.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length){for(let e=0;e<t.length;e++){var a;(0,n.setSourceContent)(i,t[e],(a=this._inputMap.sourcesContent)==null?void 0:a[e])}}}if(typeof t==="string"&&!e.inputSourceMap){(0,n.setSourceContent)(i,this._sourceFileName,t)}else if(typeof t==="object"){for(const e of Object.keys(t)){(0,n.setSourceContent)(i,e.replace(/\\/g,"/"),t[e])}}}get(){return(0,n.toEncodedMap)(this._map)}getDecoded(){return(0,n.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,n.allMappings)(this._map))}mark(e,t,r,i,a,o){var l;this._rawMappings=undefined;let c;if(t!=null){if(this._inputMap){c=(0,s.originalPositionFor)(this._inputMap,{line:t,column:r});if(!c.name&&a){const e=(0,s.originalPositionFor)(this._inputMap,a);if(e.name){i=e.name}}}else{c={source:(o==null?void 0:o.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:r}}}(0,n.maybeAddMapping)(this._map,{name:i,generated:e,source:(l=c)==null?void 0:l.source,original:c})}}t["default"]=SourceMap},365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=annotateAsPure;var n=r(776);const{addComment:s}=n;const i="#__PURE__";const isPureAnnotated=({leadingComments:e})=>!!e&&e.some((e=>/[@#]__PURE__/.test(e.value)));function annotateAsPure(e){const t=e["node"]||e;if(isPureAnnotated(t)){return}s(t,"leading",i)}},8288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(7849);var s=r(6783);var i=r(2423);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce(((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e}),{})}},6743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=filterItems;t.isRequired=isRequired;t.targetsSupported=targetsSupported;var n=r(7849);var s=r(2204);var i=r(2423);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter((r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())}));return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}s==null?void 0:s.forEach((e=>!r.has(e)&&o.add(e)));i==null?void 0:i.forEach((e=>!t.has(e)&&o.delete(e)));return o}},900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return c.TargetNames}});t["default"]=getTargets;Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});t.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return f.isRequired}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return l.unreleasedLabels}});var n=r(4907);var s=r(4716);var i=r(1371);var a=r(7330);var o=r(2423);var l=r(3519);var c=r(9376);var u=r(6783);var p=r(8288);var f=r(6743);const d=i["es6.module"];const h=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(c.TargetNames);for(const r of Object.keys(e)){if(!(r in c.TargetNames)){throw new Error(h.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){h.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,t)=>{const[r,n]=t.split(" ");const s=l.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const r=(0,o.isUnreleasedVersion)(t,s);if(!e[s]){e[s]=r?t:(0,o.semverify)(t);return e}const i=e[s];const a=(0,o.isUnreleasedVersion)(i,s);if(a&&r){e[s]=(0,o.getLowestUnreleased)(i,t,s)}else if(a){e[s]=(0,o.semverify)(t)}else if(!a&&!r){const r=(0,o.semverify)(t);e[s]=(0,o.semverMin)(i,r)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:t})=>console.warn(` ${e}: ${t}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,o.semverify)(t)}catch(r){throw new Error(h.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}function nodeTargetParser(e){const t=e===true||e==="current"?process.versions.node:semverifyTarget("node",e);return["node",t]}function defaultTargetParser(e,t){const r=(0,o.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]}function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e,t){const r=n(e,{mobileToDesktop:true,env:t});return getLowestVersions(r)}const m=new a({max:64});function resolveTargetsCached(e,t){const r=typeof e==="string"?e:e.join()+t;let n=m.get(r);if(!n){n=resolveTargets(e,t);m.set(r,n)}return Object.assign({},n)}function getTargets(e={},t={}){var r,s;let{browsers:i,esmodules:a}=e;const{configPath:l="."}=t;validateBrowsers(i);const c=generateTargets(e);let u=validateTargetNames(c);const p=!!i;const f=p||Object.keys(u).length>0;const h=!t.ignoreBrowserslistConfig&&!f;if(!i&&h){i=n.loadConfig({config:t.configFile,path:l,env:t.browserslistEnv});if(i==null){{i=[]}}}if(a&&(a!=="intersect"||!((r=i)!=null&&r.length))){i=Object.keys(d).map((e=>`${e} >= ${d[e]}`)).join(", ");a=false}if((s=i)!=null&&s.length){const e=resolveTargetsCached(i,t.browserslistEnv);if(a==="intersect"){for(const t of Object.keys(e)){if(t!=="deno"&&t!=="ie"){const r=d[t==="opera_mobile"?"op_mob":t];if(r){const n=e[t];e[t]=(0,o.getHighestUnreleased)(n,(0,o.semverify)(r),t)}else{delete e[t]}}else{delete e[t]}}}u=Object.assign(e,u)}const m={};const y=[];for(const e of Object.keys(u).sort()){const t=u[e];if(typeof t==="number"&&t%1!==0){y.push({target:e,value:t})}const[r,n]=e==="node"?nodeTargetParser(t):defaultTargetParser(e,t);if(n){m[r]=n}}outputDecimalWarning(y);return m}},9376:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino",opera_mobile:"opera_mobile"};t.TargetNames=r},6783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyTargets=prettifyTargets;t.prettifyVersion=prettifyVersion;var n=r(7849);var s=r(3519);function prettifyVersion(e){if(typeof e!=="string"){return e}const{major:t,minor:r,patch:s}=n.parse(e);const i=[t];if(r||s){i.push(r)}if(s){i.push(s)}return i.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t}),{})}},3519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unreleasedLabels=t.browserNameMap=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},2423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;t.getLowestUnreleased=getLowestUnreleased;t.isUnreleasedVersion=isUnreleasedVersion;t.semverMin=semverMin;t.semverify=semverify;var n=r(7849);var s=r(4716);var i=r(3519);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);e=e.toString();let t=0;let r=0;while((t=e.indexOf(".",t+1))>0){r++}return e+".0".repeat(2-r)}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];if(e===n){return t}if(t===n){return e}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildDecoratedClass=buildDecoratedClass;t.hasDecorators=hasDecorators;t.hasOwnDecorators=hasOwnDecorators;var n=r(3688);var s=r(9775);var i=r(4940);function hasOwnDecorators(e){var t;return!!((t=e.decorators)!=null&&t.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return n.types.objectProperty(n.types.identifier(e),t)}function method(e,t){return n.types.objectMethod("method",n.types.identifier(e),[],n.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=n.types.arrayExpression(e.decorators.map((e=>e.expression)))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(n.types.isIdentifier(e.key)){return n.types.stringLiteral(e.key.name)}else{return n.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,r,a){const o=a.isClassMethod();if(a.isPrivate()){throw a.buildCodeFrameError(`Private ${o?"methods":"fields"} in decorated classes are not supported yet.`)}if(a.node.type==="ClassAccessorProperty"){throw a.buildCodeFrameError(`Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}if(a.node.type==="StaticBlock"){throw a.buildCodeFrameError(`Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}const{node:l,scope:c}=a;if(!a.isTSDeclareMethod()){new s.default({methodPath:a,objectRef:t,superRef:r,file:e,refToPreserve:t}).replace()}const u=[prop("kind",n.types.stringLiteral(n.types.isClassMethod(l)?l.kind:"field")),prop("decorators",takeDecorators(l)),prop("static",l.static&&n.types.booleanLiteral(true)),prop("key",getKey(l))].filter(Boolean);if(n.types.isClassMethod(l)){const e=l.computed?null:l.key;const t=n.types.toExpression(l);u.push(prop("value",(0,i.default)({node:t,id:e,scope:c})||t))}else if(n.types.isClassProperty(l)&&l.value){u.push(method("value",n.template.statements.ast`return ${l.value}`))}else{u.push(prop("value",c.buildUndefinedNode()))}a.remove();return n.types.objectExpression(u)}function addDecorateHelper(e){return e.addHelper("decorate")}function buildDecoratedClass(e,t,r,s){const{node:i,scope:a}=t;const o=a.generateUidIdentifier("initialize");const l=i.id&&t.isDeclaration();const c=t.isInStrictMode();const{superClass:u}=i;i.type="ClassDeclaration";if(!i.id)i.id=n.types.cloneNode(e);let p;if(u){p=a.generateUidIdentifierBasedOnNode(i.superClass,"super");i.superClass=p}const f=takeDecorators(i);const d=n.types.arrayExpression(r.filter((e=>!e.node.abstract&&e.node.type!=="TSIndexSignature")).map((e=>extractElementDescriptor(s,i.id,p,e))));const h=n.template.expression.ast` + ${addDecorateHelper(s)}( + ${f||n.types.nullLiteral()}, + function (${o}, ${u?n.types.cloneNode(p):null}) { + ${i} + return { F: ${n.types.cloneNode(i.id)}, d: ${d} }; + }, + ${u} + ) + `;if(!c){h.arguments[1].body.directives.push(n.types.directive(n.types.directiveLiteral("use strict")))}let m=h;let y="arguments.1.body.body.0";if(l){m=n.template.statement.ast`let ${e} = ${h}`;y="declarations.0.init."+y}return{instanceNodes:[n.template.statement.ast`${n.types.cloneNode(o)}(this)`],wrapClass(e){e.replaceWith(m);return e.get(y)}}}},5929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FEATURES=void 0;t.enableFeature=enableFeature;t.isLoose=isLoose;t.shouldTransform=shouldTransform;var n=r(327);const s=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});t.FEATURES=s;const i=new Map([[s.fields,"@babel/plugin-transform-class-properties"],[s.privateMethods,"@babel/plugin-transform-private-methods"],[s.privateIn,"@babel/plugin-transform-private-property-in-object"]]);const a="@babel/plugin-class-features/featuresKey";const o="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,r){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(a,e.get(a)|t);if(r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,r)}}let n;let s;for(const[t,r]of i){if(!hasFeature(e,t))continue;const i=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(n===!i){throw new Error("'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, "+"@babel/plugin-transform-private-methods and "+"@babel/plugin-transform-private-property-in-object (when they are enabled).")}else{n=i;s=r}}if(n!==undefined){for(const[t,r]of i){if(hasFeature(e,t)&&isLoose(e,t)!==n){setLoose(e,t,n);console.warn(`Though the "loose" option was set to "${!n}" in your @babel/preset-env `+`config, it will not be used for ${r} since the "loose" mode option was set to `+`"${n}" for ${s}.\nThe "loose" option must be the `+`same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods `+`and @babel/plugin-transform-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${r}", { "loose": ${n} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(a)&t)}function isLoose(e,t){return!!(e.get(o)&t)}function setLoose(e,t,r){if(r)e.set(o,e.get(o)|t);else e.set(o,e.get(o)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function shouldTransform(e,t){let r=null;let i=null;let a=null;let o=null;let l=null;if((0,n.hasOwnDecorators)(e.node)){r=e.get("decorators.0")}for(const t of e.get("body.body")){if(!r&&(0,n.hasOwnDecorators)(t.node)){r=t.get("decorators.0")}if(!i&&t.isClassProperty()){i=t}if(!a&&t.isClassPrivateProperty()){a=t}if(!o&&t.isClassPrivateMethod!=null&&t.isClassPrivateMethod()){o=t}if(!l&&t.isStaticBlock!=null&&t.isStaticBlock()){l=t}}if(r&&a){throw a.buildCodeFrameError("Private fields in decorated classes are not supported yet.")}if(r&&o){throw o.buildCodeFrameError("Private methods in decorated classes are not supported yet.")}if(r&&!hasFeature(t,s.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "version": "legacy" }], '+'make sure it comes *before* "@babel/plugin-transform-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "version": "legacy" }]\n'+'\t["@babel/plugin-transform-class-properties", { "loose": true }]')}if(o&&!hasFeature(t,s.privateMethods)){throw o.buildCodeFrameError("Class private methods are not enabled. "+"Please add `@babel/plugin-transform-private-methods` to your configuration.")}if((i||a)&&!hasFeature(t,s.fields)&&!hasFeature(t,s.privateMethods)){throw e.buildCodeFrameError("Class fields are not enabled. "+"Please add `@babel/plugin-transform-class-properties` to your configuration.")}if(l&&!hasFeature(t,s.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-transform-class-static-block` to your configuration.")}if(r||o||l){return true}if((i||a)&&hasFeature(t,s.fields)){return true}return false}},9076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildCheckInRHS=buildCheckInRHS;t.buildFieldsInitNodes=buildFieldsInitNodes;t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;var n=r(3688);var s=r(9775);var i=r(8552);var a=r(3590);var o=r(1475);var l=r(365);var c=r(7255);var u=r(5963);function buildPrivateNamesMap(e){const t=new Map;for(const r of e){if(r.isPrivate()){const{name:e}=r.node.key.id;const n=t.has(e)?t.get(e):{id:r.scope.generateUidIdentifier(e),static:r.node.static,method:!r.isProperty()};if(r.isClassPrivateMethod()){if(r.node.kind==="get"){n.getId=r.scope.generateUidIdentifier(`get_${e}`)}else if(r.node.kind==="set"){n.setId=r.scope.generateUidIdentifier(`set_${e}`)}else if(r.node.kind==="method"){n.methodId=r.scope.generateUidIdentifier(e)}}t.set(e,n)}}return t}function buildPrivateNamesNodes(e,t,r,s){const i=[];for(const[a,o]of e){const{static:e,method:c,getId:u,setId:p}=o;const f=u||p;const d=n.types.cloneNode(o.id);let h;if(t){h=n.types.callExpression(s.addHelper("classPrivateFieldLooseKey"),[n.types.stringLiteral(a)])}else if(r){h=n.types.callExpression(n.types.identifier("Symbol"),[n.types.stringLiteral(a)])}else if(!e){h=n.types.newExpression(n.types.identifier(!c||f?"WeakMap":"WeakSet"),[])}if(h){(0,l.default)(h);i.push(n.template.statement.ast`var ${d} = ${h}`)}}return i}function privateNameVisitorFactory(e){const t=n.traverse.visitors.merge([Object.assign({},e),i.default]);const r=Object.assign({},e,{Class(e){const{privateNamesMap:n}=this;const s=e.get("body.body");const i=new Map(n);const a=[];for(const e of s){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;i.delete(t);a.push(t)}if(!a.length){return}e.get("body").traverse(t,Object.assign({},this,{redeclared:a}));e.traverse(r,Object.assign({},this,{privateNamesMap:i}));e.skipKey("body")}});return r}const p=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:r,redeclared:n}=this;const{node:s,parentPath:i}=e;if(!i.isMemberExpression({property:s})&&!i.isOptionalMemberExpression({property:s})){return}const{name:a}=s.id;if(!r.has(a))return;if(n&&n.includes(a))return;this.handle(i,t)}});function unshadow(e,t,r){while((n=t)!=null&&n.hasBinding(e)&&!t.bindingIdentifierEquals(e,r)){var n;t.rename(e);t=t.parent}}function buildCheckInRHS(e,t,r){if(r||!(t.availableHelper!=null&&t.availableHelper("checkInRHS")))return e;return n.types.callExpression(t.addHelper("checkInRHS"),[e])}const f=privateNameVisitorFactory({BinaryExpression(e,{file:t}){const{operator:r,left:s,right:i}=e.node;if(r!=="in")return;if(!n.types.isPrivateName(s))return;const{privateFieldsAsProperties:a,privateNamesMap:o,redeclared:l}=this;const{name:c}=s.id;if(!o.has(c))return;if(l&&l.includes(c))return;unshadow(this.classRef.name,e.scope,this.innerBinding);if(a){const{id:r}=o.get(c);e.replaceWith(n.template.expression.ast` + Object.prototype.hasOwnProperty.call(${buildCheckInRHS(i,t)}, ${n.types.cloneNode(r)}) + `);return}const{id:u,static:p}=o.get(c);if(p){e.replaceWith(n.template.expression.ast`${buildCheckInRHS(i,t)} === ${n.types.cloneNode(this.classRef)}`);return}e.replaceWith(n.template.expression.ast`${n.types.cloneNode(u)}.has(${buildCheckInRHS(i,t)})`)}});const d={memoise(e,t){const{scope:r}=e;const{object:n}=e.node;const s=r.maybeGenerateMemoised(n);if(!s){return}this.memoiser.set(n,s,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return n.types.cloneNode(this.memoiser.get(t))}return n.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:r,file:s,innerBinding:i}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:c,methodId:u,getId:p,setId:f}=r.get(a);const d=p||f;if(l){const r=c&&!d?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";unshadow(t.name,e.scope,i);return n.types.callExpression(s.addHelper(r),[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(o)])}if(c){if(d){if(!p&&f){if(s.availableHelper("writeOnlyError")){return n.types.sequenceExpression([this.receiver(e),n.types.callExpression(s.addHelper("writeOnlyError"),[n.types.stringLiteral(`#${a}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(o)])}return n.types.callExpression(s.addHelper("classPrivateMethodGet"),[this.receiver(e),n.types.cloneNode(o),n.types.cloneNode(u)])}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(o)])},boundGet(e){this.memoise(e,1);return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:r,privateNamesMap:s,file:i}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:c,setId:u,getId:p}=s.get(a);const f=p||u;if(l){const s=c&&!f?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return n.types.callExpression(i.addHelper(s),[this.receiver(e),n.types.cloneNode(r),n.types.cloneNode(o),t])}if(c){if(u){return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])}return n.types.sequenceExpression([this.receiver(e),t,n.types.callExpression(i.addHelper("readOnlyError"),[n.types.stringLiteral(`#${a}`)])])}return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])},destructureSet(e){const{classRef:t,privateNamesMap:r,file:s}=this;const{name:i}=e.node.property.id;const{id:a,static:o}=r.get(i);if(o){try{var l=s.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return n.types.memberExpression(n.types.callExpression(l,[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)]),n.types.identifier("value"))}return n.types.memberExpression(n.types.callExpression(s.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),n.types.cloneNode(a)]),n.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,o.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,o.default)(this.get(e),this.receiver(e),t,true)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};const h={get(e){const{privateNamesMap:t,file:r}=this;const{object:s}=e.node;const{name:i}=e.node.property.id;return n.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:n.types.cloneNode(s),PROP:n.types.cloneNode(t.get(i).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[n.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return n.types.callExpression(this.get(e),t)},optionalCall(e,t){return n.types.optionalCallExpression(this.get(e),t,true)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function transformPrivateNamesUsage(e,t,r,{privateFieldsAsProperties:n,noDocumentAll:s,innerBinding:i},o){if(!r.size)return;const l=t.get("body");const c=n?h:d;(0,a.default)(l,p,Object.assign({privateNamesMap:r,classRef:e,file:o},c,{noDocumentAll:s,innerBinding:i}));l.traverse(f,{privateNamesMap:r,classRef:e,file:o,privateFieldsAsProperties:n,innerBinding:i})}function buildPrivateFieldInitLoose(e,t,r){const{id:s}=r.get(t.node.key.id.name);const i=t.node.value||t.scope.buildUndefinedNode();return inheritPropComments(n.template.statement.ast` + Object.defineProperty(${e}, ${n.types.cloneNode(s)}, { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${i} + }); + `,t)}function buildPrivateInstanceFieldInitSpec(e,t,r,s){const{id:i}=r.get(t.node.key.id.name);const a=t.node.value||t.scope.buildUndefinedNode();{if(!s.availableHelper("classPrivateFieldInitSpec")){return inheritPropComments(n.template.statement.ast`${n.types.cloneNode(i)}.set(${e}, { + // configurable is always false for private elements + // enumerable is always false for private elements + writable: true, + value: ${a}, + })`,t)}}const o=s.addHelper("classPrivateFieldInitSpec");return inheritPropComments(n.template.statement.ast`${o}( + ${n.types.thisExpression()}, + ${n.types.cloneNode(i)}, + { + writable: true, + value: ${a} + }, + )`,t)}function buildPrivateStaticFieldInitSpec(e,t){const r=t.get(e.node.key.id.name);const{id:s,getId:i,setId:a,initAdded:o}=r;const l=i||a;if(!e.isProperty()&&(o||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},r,{initAdded:true}));return inheritPropComments(n.template.statement.ast` + var ${n.types.cloneNode(s)} = { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${i?i.name:e.scope.buildUndefinedNode()}, + set: ${a?a.name:e.scope.buildUndefinedNode()} + } + `,e)}const c=e.node.value||e.scope.buildUndefinedNode();return inheritPropComments(n.template.statement.ast` + var ${n.types.cloneNode(s)} = { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${c} + }; + `,e)}function buildPrivateMethodInitLoose(e,t,r){const s=r.get(t.node.key.id.name);const{methodId:i,id:a,getId:o,setId:l,initAdded:c}=s;if(c)return;if(i){return inheritPropComments(n.template.statement.ast` + Object.defineProperty(${e}, ${a}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + value: ${i.name} + }); + `,t)}const u=o||l;if(u){r.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return inheritPropComments(n.template.statement.ast` + Object.defineProperty(${e}, ${a}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${o?o.name:t.scope.buildUndefinedNode()}, + set: ${l?l.name:t.scope.buildUndefinedNode()} + }); + `,t)}}function buildPrivateInstanceMethodInitSpec(e,t,r,n){const s=r.get(t.node.key.id.name);const{getId:i,setId:a,initAdded:o}=s;if(o)return;const l=i||a;if(l){return buildPrivateAccessorInitialization(e,t,r,n)}return buildPrivateInstanceMethodInitialization(e,t,r,n)}function buildPrivateAccessorInitialization(e,t,r,s){const i=r.get(t.node.key.id.name);const{id:a,getId:o,setId:l}=i;r.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));{if(!s.availableHelper("classPrivateFieldInitSpec")){return inheritPropComments(n.template.statement.ast` + ${a}.set(${e}, { + get: ${o?o.name:t.scope.buildUndefinedNode()}, + set: ${l?l.name:t.scope.buildUndefinedNode()} + }); + `,t)}}const c=s.addHelper("classPrivateFieldInitSpec");return inheritPropComments(n.template.statement.ast`${c}( + ${n.types.thisExpression()}, + ${n.types.cloneNode(a)}, + { + get: ${o?o.name:t.scope.buildUndefinedNode()}, + set: ${l?l.name:t.scope.buildUndefinedNode()} + }, + )`,t)}function buildPrivateInstanceMethodInitialization(e,t,r,s){const i=r.get(t.node.key.id.name);const{id:a}=i;{if(!s.availableHelper("classPrivateMethodInitSpec")){return inheritPropComments(n.template.statement.ast`${a}.add(${e})`,t)}}const o=s.addHelper("classPrivateMethodInitSpec");return inheritPropComments(n.template.statement.ast`${o}( + ${n.types.thisExpression()}, + ${n.types.cloneNode(a)} + )`,t)}function buildPublicFieldInitLoose(e,t){const{key:r,computed:s}=t.node;const i=t.node.value||t.scope.buildUndefinedNode();return inheritPropComments(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(e,r,s||n.types.isLiteral(r)),i)),t)}function buildPublicFieldInitSpec(e,t,r){const{key:s,computed:i}=t.node;const a=t.node.value||t.scope.buildUndefinedNode();return inheritPropComments(n.types.expressionStatement(n.types.callExpression(r.addHelper("defineProperty"),[e,i||n.types.isLiteral(s)?s:n.types.stringLiteral(s.name),a])),t)}function buildPrivateStaticMethodInitLoose(e,t,r,s){const i=s.get(t.node.key.id.name);const{id:a,methodId:o,getId:l,setId:c,initAdded:u}=i;if(u)return;const p=l||c;if(p){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return inheritPropComments(n.template.statement.ast` + Object.defineProperty(${e}, ${a}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${l?l.name:t.scope.buildUndefinedNode()}, + set: ${c?c.name:t.scope.buildUndefinedNode()} + }) + `,t)}return inheritPropComments(n.template.statement.ast` + Object.defineProperty(${e}, ${a}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + value: ${o.name} + }); + `,t)}function buildPrivateMethodDeclaration(e,t,r=false){const s=t.get(e.node.key.id.name);const{id:i,methodId:a,getId:o,setId:l,getterDeclared:c,setterDeclared:u,static:p}=s;const{params:f,body:d,generator:h,async:m}=e.node;const y=o&&!c&&f.length===0;const g=l&&!u&&f.length>0;let b=a;if(y){t.set(e.node.key.id.name,Object.assign({},s,{getterDeclared:true}));b=o}else if(g){t.set(e.node.key.id.name,Object.assign({},s,{setterDeclared:true}));b=l}else if(p&&!r){b=i}return inheritPropComments(n.types.functionDeclaration(n.types.cloneNode(b),f,d,h,m),e)}const m=n.traverse.visitors.merge([{UnaryExpression(e){const{node:t}=e;if(t.operator==="delete"){const r=(0,c.skipTransparentExprWrapperNodes)(t.argument);if(n.types.isThisExpression(r)){e.replaceWith(n.types.booleanLiteral(true))}}},ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(n.types.cloneNode(t.classRef))},MetaProperty(e){const{node:t,scope:r}=e;if(t.meta.name==="new"&&t.property.name==="target"){e.replaceWith(r.buildUndefinedNode())}}},i.default]);const y={ReferencedIdentifier(e,t){if(e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)){t.needsClassRef=true;e.node.name=t.classRef.name}}};function replaceThisContext(e,t,r){var n;const s={classRef:t,needsClassRef:false,innerBinding:r};if(!e.isMethod()){e.traverse(m,s)}if(r!=null&&(n=s.classRef)!=null&&n.name&&s.classRef.name!==r.name){e.traverse(y,s)}return s.needsClassRef}function isNameOrLength({key:e,computed:t}){if(e.type==="Identifier"){return!t&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,t){n.types.inheritLeadingComments(e,t.node);n.types.inheritInnerComments(e,t.node);return e}function buildFieldsInitNodes(e,t,r,i,a,o,l,c,p){var f,d;let h=0;let m;const y=[];const g=[];const b=[];let T=null;const S=n.types.isIdentifier(t)?()=>t:()=>{var e;(e=m)!=null?e:m=r[0].scope.generateUidIdentifierBasedOnNode(t);return m};const E=(f=e)!=null?f:r[0].scope.generateUidIdentifier("class");(d=e)!=null?d:e=n.types.cloneNode(p);for(const t of r){t.isClassProperty()&&u.assertFieldTransformed(t);const r=!(n.types.isStaticBlock!=null&&n.types.isStaticBlock(t.node))&&t.node.static;const f=!r;const d=t.isPrivate();const m=!d;const T=t.isProperty();const x=!T;const v=t.isStaticBlock==null?void 0:t.isStaticBlock();if(r)h|=1;if(r||x&&d||v){new s.default({methodPath:t,constantSuper:c,file:a,refToPreserve:p,getSuperRef:S,getObjectRef(){h|=2;if(r||v){return E}else{return n.types.memberExpression(E,n.types.identifier("prototype"))}}}).replace();const e=replaceThisContext(t,E,p);if(e){h|=2}}switch(true){case v:{const e=t.node.body;if(e.length===1&&n.types.isExpressionStatement(e[0])){y.push(inheritPropComments(e[0],t))}else{y.push(n.types.inheritsComments(n.template.statement.ast`(() => { ${e} })()`,t.node))}break}case r&&d&&T&&l:y.push(buildPrivateFieldInitLoose(n.types.cloneNode(e),t,i));break;case r&&d&&T&&!l:y.push(buildPrivateStaticFieldInitSpec(t,i));break;case r&&m&&T&&o:if(!isNameOrLength(t.node)){y.push(buildPublicFieldInitLoose(n.types.cloneNode(e),t));break}case r&&m&&T&&!o:y.push(buildPublicFieldInitSpec(n.types.cloneNode(e),t,a));break;case f&&d&&T&&l:g.push(buildPrivateFieldInitLoose(n.types.thisExpression(),t,i));break;case f&&d&&T&&!l:g.push(buildPrivateInstanceFieldInitSpec(n.types.thisExpression(),t,i,a));break;case f&&d&&x&&l:g.unshift(buildPrivateMethodInitLoose(n.types.thisExpression(),t,i));b.push(buildPrivateMethodDeclaration(t,i,l));break;case f&&d&&x&&!l:g.unshift(buildPrivateInstanceMethodInitSpec(n.types.thisExpression(),t,i,a));b.push(buildPrivateMethodDeclaration(t,i,l));break;case r&&d&&x&&!l:y.unshift(buildPrivateStaticFieldInitSpec(t,i));b.push(buildPrivateMethodDeclaration(t,i,l));break;case r&&d&&x&&l:y.unshift(buildPrivateStaticMethodInitLoose(n.types.cloneNode(e),t,a,i));b.push(buildPrivateMethodDeclaration(t,i,l));break;case f&&m&&T&&o:g.push(buildPublicFieldInitLoose(n.types.thisExpression(),t));break;case f&&m&&T&&!o:g.push(buildPublicFieldInitSpec(n.types.thisExpression(),t,a));break;default:throw new Error("Unreachable.")}}if(h&2&&p!=null){T=n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(E),n.types.cloneNode(p)))}return{staticNodes:y.filter(Boolean),instanceNodes:g.filter(Boolean),pureStaticNodes:b.filter(Boolean),classBindingNode:T,wrapClass(t){for(const e of r){e.node.leadingComments=null;e.remove()}if(m){t.scope.push({id:n.types.cloneNode(m)});t.set("superClass",n.types.assignmentExpression("=",m,t.node.superClass))}if(h!==0){if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(e),t.node))}else{if(p==null){t.node.id=e}if(T!=null){t.scope.push({id:E})}}}return t}}}},269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return u.FEATURES}});Object.defineProperty(t,"buildCheckInRHS",{enumerable:true,get:function(){return o.buildCheckInRHS}});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"enableFeature",{enumerable:true,get:function(){return u.enableFeature}});Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return c.injectInitialization}});var n=r(3688);var s=r(4940);var i=r(4097);var a=r(7849);var o=r(9076);var l=r(327);var c=r(1822);var u=r(5929);var p=r(5963);const f="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:r,manipulateOptions:d,api:h,inherits:m}){{var y;(y=h)!=null?y:h={assumption:()=>void 0}}const g=h.assumption("setPublicClassFields");const b=h.assumption("privateFieldsAsSymbols");const T=h.assumption("privateFieldsAsProperties");const S=h.assumption("constantSuper");const E=h.assumption("noDocumentAll");if(T&&b){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const x=T||b;if(r===true){const t=[];if(g!==undefined){t.push(`"setPublicClassFields"`)}if(T!==undefined){t.push(`"privateFieldsAsProperties"`)}if(b!==undefined){t.push(`"privateFieldsAsSymbols"`)}if(t.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${t.join(" and ")}`+` assumption${t.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:d,inherits:m,pre(e){(0,u.enableFeature)(e,t,r);{if(typeof e.get(f)==="number"){e.set(f,"7.22.15");return}}if(!e.get(f)||a.lt(e.get(f),"7.22.15")){e.set(f,"7.22.15")}},visitor:{Class(e,{file:r}){var i;if(r.get(f)!=="7.22.15")return;if(!(0,u.shouldTransform)(e,r))return;const a=e.isClassDeclaration();if(a)(0,p.assertFieldTransformed)(e);const d=(0,u.isLoose)(r,t);let h;const m=(0,l.hasDecorators)(e.node);const y=[];const v=[];const P=[];const A=new Set;const w=e.get("body");for(const e of w.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){P.push(e)}if(e.isPrivate()){const{name:t}=e.node.key.id;const r=`get ${t}`;const n=`set ${t}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(A.has(r)||A.has(t)&&!A.has(n)){throw e.buildCodeFrameError("Duplicate private field")}A.add(r).add(t)}else if(e.node.kind==="set"){if(A.has(n)||A.has(t)&&!A.has(r)){throw e.buildCodeFrameError("Duplicate private field")}A.add(n).add(t)}}else{if(A.has(t)&&!A.has(r)&&!A.has(n)||A.has(t)&&(A.has(r)||A.has(n))){throw e.buildCodeFrameError("Duplicate private field")}A.add(t)}}if(e.isClassMethod({kind:"constructor"})){h=e}else{v.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){y.push(e)}}}{if(!y.length&&!m)return}const C=e.node.id;let I;if(!C||!a){(0,s.default)(e);I=e.scope.generateUidIdentifier("class")}const O=(i=I)!=null?i:n.types.cloneNode(C);const k=(0,o.buildPrivateNamesMap)(y);const N=(0,o.buildPrivateNamesNodes)(k,T!=null?T:d,b!=null?b:false,r);(0,o.transformPrivateNamesUsage)(O,e,k,{privateFieldsAsProperties:x!=null?x:d,noDocumentAll:E,innerBinding:C},r);let _,D,M,L,j,F;{if(m){D=L=_=[];({instanceNodes:M,wrapClass:F}=(0,l.buildDecoratedClass)(O,e,v,r))}else{_=(0,c.extractComputedKeys)(e,P,r);({staticNodes:D,pureStaticNodes:L,instanceNodes:M,classBindingNode:j,wrapClass:F}=(0,o.buildFieldsInitNodes)(I,e.node.superClass,y,k,r,g!=null?g:d,x!=null?x:d,S!=null?S:d,C))}}if(M.length>0){(0,c.injectInitialization)(e,h,M,((e,t)=>{{if(m)return}for(const r of y){if(n.types.isStaticBlock!=null&&n.types.isStaticBlock(r.node)||r.node.static)continue;r.traverse(e,t)}}))}const B=F(e);B.insertBefore([...N,..._]);if(D.length>0){B.insertAfter(D)}if(L.length>0){B.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(L)}if(j!=null&&a){B.insertAfter(j)}},ExportDefaultDeclaration(e,{file:t}){{if(t.get(f)!=="7.22.15")return;const r=e.get("declaration");if(r.isClassDeclaration()&&(0,l.hasDecorators)(r.node)){if(r.node.id){(0,i.default)(e)}else{r.node.type="ClassExpression"}}}}}}}},1822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extractComputedKeys=extractComputedKeys;t.injectInitialization=injectInitialization;var n=r(3688);var s=r(8552);const i=n.traverse.visitors.merge([{Super(e){const{node:t,parentPath:r}=e;if(r.isCallExpression({callee:t})){this.push(r)}}},s.default]);const a={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:t}){if(t.hasOwnBinding(e.node.name)){t.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const r=t.file.addHelper("classNameTDZError");const s=n.types.callExpression(r,[n.types.stringLiteral(e.node.name)]);e.replaceWith(n.types.sequenceExpression([s,e.node]));e.skip()}}const o={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,r,s){if(!r.length)return;const o=!!e.node.superClass;if(!t){const r=n.types.classMethod("constructor",n.types.identifier("constructor"),[],n.types.blockStatement([]));if(o){r.params=[n.types.restElement(n.types.identifier("args"))];r.body.body.push(n.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",r)}if(s){s(a,{scope:t.scope})}if(o){const e=[];t.traverse(i,e);let s=true;for(const t of e){if(s){t.insertAfter(r);s=false}else{t.insertAfter(r.map((e=>n.types.cloneNode(e))))}}}else{t.get("body").unshiftContainer("body",r)}}function extractComputedKeys(e,t,r){const s=[];const i={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:r};for(const r of t){const t=r.get("key");if(t.isReferencedIdentifier()){handleClassTDZ(t,i)}else{t.traverse(o,i)}const a=r.node;if(!t.isConstantExpression()){const t=e.scope.generateUidIdentifierBasedOnNode(a.key);e.scope.push({id:t,kind:"let"});s.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(t),a.key)));a.key=n.types.cloneNode(t)}}return s}},5963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},8552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{t.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:t,node:r}=e;if(r.computed){t.maybeQueue(e.get("key"))}if(r.decorators){for(const r of e.get("decorators")){t.maybeQueue(r)}}}const r={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var n=r;t["default"]=n},4940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var n=r(9128);var s=r(776);const{NOT_LOCAL_BINDING:i,cloneNode:a,identifier:o,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:u,isIdentifier:p,isLiteral:f,isNullLiteral:d,isObjectMethod:h,isObjectProperty:m,isRegExpLiteral:y,isRestElement:g,isTemplateLiteral:b,isVariableDeclarator:T,toBindingIdentifierName:S}=s;function getFunctionArity(e){const t=e.params.findIndex((e=>c(e)||g(e)));return t===-1?e.params.length:t}const E=n.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const x=n.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const v={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(d(e)){return"null"}if(y(e)){return`_${e.pattern}_${e.flags}`}if(b(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,n){if(e.selfReference){if(n.hasBinding(r.name)&&!n.hasGlobal(r.name)){n.rename(r.name)}else{if(!u(t))return;let e=E;if(t.generator){e=x}const s=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:n.generateUidIdentifier(r.name)}).expression;const i=s.callee.body.body[0].params;for(let e=0,r=getFunctionArity(t);e<r;e++){i.push(n.generateUidIdentifier("x"))}return s}}t.id=r;n.getProgramParent().references[r.name]=true}function visit(e,t,r){const n={selfAssignment:false,selfReference:false,outerDeclar:r.getBindingIdentifier(t),name:t};const s=r.getOwnBinding(t);if(s){if(s.kind==="param"){n.selfReference=true}else{}}else if(n.outerDeclar||r.hasGlobal(t)){r.traverse(e,v,n)}return n}function _default({node:e,parent:t,scope:r,id:n},s=false,c=false){if(e.id)return;if((m(t)||h(t,{kind:"method"}))&&(!t.computed||f(t.key))){n=t.key}else if(T(t)){n=t.id;if(p(n)&&!s){const t=r.parent.getBinding(n.name);if(t&&t.constant&&r.getBinding(n.name)===t){e.id=a(n);e.id[i]=true;return}}}else if(l(t,{operator:"="})){n=t.left}else if(!n){return}let d;if(n&&f(n)){d=getNameFromLiteralId(n)}else if(n&&p(n)){d=n.name}if(d===undefined){return}if(!c&&u(e)&&/[\uD800-\uDFFF]/.test(d)){return}d=S(d);const y=o(d);y[i]=true;const g=visit(e,d,r);return wrap(g,e,y,r)||e}},405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=hoistVariables;var n=r(776);const{assignmentExpression:s,expressionStatement:i,identifier:a}=n;const o={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[];const n=e.get("declarations");let o;for(const e of n){o=e.node.id;if(e.node.init){r.push(i(s("=",e.node.id,e.node.init)))}for(const r of Object.keys(e.getBindingIdentifiers())){t.emit(a(r),r,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(o)}else{e.replaceWithMultiple(r)}}};function hoistVariables(e,t,r="var"){e.traverse(o,{kind:r,emit:t})}},3590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(776);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach((function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}}))}t.default=e;return Object.freeze(t)}var s=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}const{LOGICAL_OPERATORS:i,arrowFunctionExpression:a,assignmentExpression:o,binaryExpression:l,booleanLiteral:c,callExpression:u,cloneNode:p,conditionalExpression:f,identifier:d,isMemberExpression:h,isOptionalCallExpression:m,isOptionalMemberExpression:y,isUpdateExpression:g,logicalExpression:b,memberExpression:T,nullLiteral:S,optionalCallExpression:E,optionalMemberExpression:x,sequenceExpression:v,updateExpression:P}=s;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return o("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(y(r)){return T(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const n=r.node.object;const s=e.scope.maybeGenerateMemoised(n);r.get("object").replaceWith(o("=",s,n));return u(T(t,d("call")),[s,...e.node.arguments])}return u(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const s=t.node;if(n){if(r!==s[n]){return true}}else{if(r!==s)return true}e=t}return false}const A={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:s,scope:i}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const g=e.find((({node:t,parent:r})=>{if(y(r)){return r.optional||r.object!==t}if(m(r)){return t!==e.node&&r.optional||r.callee!==t}return true}));if(i.path.isPattern()){g.replaceWith(u(a([],g.node),[]));return}const T=willPathCastToBoolean(g);const v=g.parentPath;if(v.isUpdateExpression({argument:r})){throw e.buildCodeFrameError(`can't handle update expression`)}const P=v.isAssignmentExpression({left:g.node});const A=v.isUnaryExpression({operator:"delete"});if(A&&g.isOptionalMemberExpression()&&g.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let w=e;for(;;){if(w.isOptionalMemberExpression()){if(w.node.optional)break;w=w.get("object");continue}else if(w.isOptionalCallExpression()){if(w.node.optional)break;w=w.get("callee");continue}throw new Error(`Internal error: unexpected ${w.node.type}`)}const C=w.isOptionalMemberExpression()?w.node.object:w.node.callee;const I=i.maybeGenerateMemoised(C);const O=I!=null?I:C;const k=s.isOptionalCallExpression({callee:r});const isOptionalCall=e=>k;const N=s.isCallExpression({callee:r});w.replaceWith(toNonOptional(w,O));if(isOptionalCall()){if(n.optional){s.replaceWith(this.optionalCall(e,n.arguments))}else{s.replaceWith(this.call(e,n.arguments))}}else if(N){e.replaceWith(this.boundGet(e))}else if(this.delete&&s.isUnaryExpression({operator:"delete"})){s.replaceWith(this.delete(e))}else if(s.isAssignmentExpression()){handleAssignment(this,e,s)}else{e.replaceWith(this.get(e))}let _=e.node;for(let t=e;t!==g;){const e=t.parentPath;if(e===g&&isOptionalCall()&&n.optional){_=e.node;break}_=toNonOptional(e,_);t=e}let D;const M=g.parentPath;if(h(_)&&M.isOptionalCallExpression({callee:g.node,optional:true})){const{object:t}=_;D=e.scope.maybeGenerateMemoised(t);if(D){_.object=o("=",D,t)}}let L=g;if(A||P){L=M;_=M.node}const j=I?o("=",p(O),p(C)):p(O);if(T){let e;if(t){e=l("!=",j,S())}else{e=b("&&",l("!==",j,S()),l("!==",p(O),i.buildUndefinedNode()))}L.replaceWith(b("&&",e,_))}else{let e;if(t){e=l("==",j,S())}else{e=b("||",l("===",j,S()),l("===",p(O),i.buildUndefinedNode()))}L.replaceWith(f(e,A?c(true):i.buildUndefinedNode(),_))}if(D){const e=M.node;M.replaceWith(E(x(e.callee,d("call"),false,true),[p(D),...e.arguments],false))}return}if(g(n,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const l=i.generateUidIdentifierBasedOnNode(r);i.push({id:l});const c=[o("=",p(l),this.get(e))];if(a){c.push(P(t,p(l),a));const r=v(c);s.replaceWith(this.set(e,r));return}else{const n=i.generateUidIdentifierBasedOnNode(r);i.push({id:n});c.push(o("=",p(n),P(t,p(l),a)),p(l));const u=v(c);s.replaceWith(v([this.set(e,u),p(n)]));return}}if(s.isAssignmentExpression({left:r})){handleAssignment(this,e,s);return}if(s.isCallExpression({callee:r})){s.replaceWith(this.call(e,s.node.arguments));return}if(s.isOptionalCallExpression({callee:r})){if(i.path.isPattern()){s.replaceWith(u(a([],s.node),[]));return}s.replaceWith(this.optionalCall(e,s.node.arguments));return}if(this.delete&&s.isUnaryExpression({operator:"delete"})){s.replaceWith(this.delete(e));return}if(s.isForXStatement({left:r})||s.isObjectProperty({value:r})&&s.parentPath.isObjectPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isObjectProperty({value:n})&&s.parentPath.parentPath.isObjectPattern()||s.isArrayPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isArrayPattern()||s.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(s.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,t,r){if(e.simpleSet){t.replaceWith(e.simpleSet(t));return}const{operator:n,right:s}=r.node;if(n==="="){r.replaceWith(e.set(t,s))}else{const a=n.slice(0,-1);if(i.includes(a)){e.memoise(t,1);r.replaceWith(b(a,e.get(t),e.set(t,s)))}else{e.memoise(t,2);r.replaceWith(e.set(t,l(a,e.get(t),s)))}}}function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},A,r,{memoiser:new AssignmentMemoiser}))}t["default"]=memberExpressionToFunctions},4835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9491);var s=r(776);const{callExpression:i,cloneNode:a,expressionStatement:o,identifier:l,importDeclaration:c,importDefaultSpecifier:u,importNamespaceSpecifier:p,importSpecifier:f,memberExpression:d,stringLiteral:h,variableDeclaration:m,variableDeclarator:y}=s;class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],h(this._importedSource)));return this}require(){this._statements.push(o(i(l("require"),[h(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[p(t)];this._resultName=a(t);return this}default(e){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[u(t)];this._resultName=a(t);return this}named(e,t){if(t==="default")return this.default(e);const r=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];n(s.type==="ImportDeclaration");n(s.specifiers.length===0);s.specifiers=[f(r,l(t))];this._resultName=a(r);return this}var(e){const t=this._scope.generateUidIdentifier(e);let r=this._statements[this._statements.length-1];if(r.type!=="ExpressionStatement"){n(this._resultName);r=o(this._resultName);this._statements.push(r)}this._statements[this._statements.length-1]=m("var",[y(t,r.expression)]);this._resultName=a(t);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=d(t.expression,l(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=d(t.declarations[0].init,l(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=d(this._resultName,l(e))}}t["default"]=ImportBuilder},8539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9491);var s=r(776);var i=r(4835);var a=r(8089);const{numericLiteral:o,sequenceExpression:l}=s;class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find((e=>e.isProgram()));this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),void 0)}_applyDefaults(e,t,r=false){let s;if(typeof e==="string"){s=Object.assign({},this._defaultOpts,{importedSource:e},t)}else{n(!t,"Unexpected secondary arguments.");s=Object.assign({},this._defaultOpts,e)}if(!r&&t){if(t.nameHint!==undefined)s.nameHint=t.nameHint;if(t.blockHoist!==undefined)s.blockHoist=t.blockHoist}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const s=t===null;const{importedSource:c,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:d,ensureNoContext:h,nameHint:m,importPosition:y,blockHoist:g}=e;let b=m||t;const T=(0,a.default)(this._programPath);const S=T&&f==="node";const E=T&&f==="babel";if(y==="after"&&!T){throw new Error(`"importPosition": "after" is only supported in modules`)}const x=new i.default(c,this._programScope,this._hub);if(u==="es6"){if(!S&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}x.import();if(s){x.namespace(m||c)}else if(r||n){x.named(b,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(S){b=b!=="default"?b:c;const e=`${c}$es6Default`;x.import();if(s){x.default(e).var(b||c).wildcardInterop()}else if(r){if(d){x.default(e).var(b||c).defaultInterop().read("default")}else{x.default(e).var(b).defaultInterop().prop(t)}}else if(n){x.default(e).read(t)}}else if(E){x.import();if(s){x.namespace(b||c)}else if(r||n){x.named(b,t)}}else{x.require();if(s){x.var(b||c).wildcardInterop()}else if((r||n)&&d){if(r){b=b!=="default"?b:c;x.var(b).read(t);x.defaultInterop()}else{x.var(c).read(t)}}else if(r){x.var(b).defaultInterop().prop(t)}else if(n){x.var(b).prop(t)}}}else if(p==="compiled"){if(S){x.import();if(s){x.default(b||c)}else if(r||n){x.default(c).read(b)}}else if(E){x.import();if(s){x.namespace(b||c)}else if(r||n){x.named(b,t)}}else{x.require();if(s){x.var(b||c)}else if(r||n){if(d){x.var(c).read(b)}else{x.prop(t).var(b)}}}}else if(p==="uncompiled"){if(r&&d){throw new Error("No live reference for commonjs default")}if(S){x.import();if(s){x.default(b||c)}else if(r){x.default(b)}else if(n){x.default(c).read(b)}}else if(E){x.import();if(s){x.default(b||c)}else if(r){x.default(b)}else if(n){x.named(b,t)}}else{x.require();if(s){x.var(b||c)}else if(r){x.var(b)}else if(n){if(d){x.var(c).read(b)}else{x.var(b).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:v,resultName:P}=x.done();this._insertStatements(v,y,g);if((r||n)&&h&&P.type!=="Identifier"){return l([o(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=r}));const t=n.find((e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4}));if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t["default"]=ImportInjector},3380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(8539);var s=r(8089);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},8089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},3664:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildDynamicImport=buildDynamicImport;var n=r(3688);{t.getDynamicImportSource=function getDynamicImportSource(e){const[t]=e.arguments;return n.types.isStringLiteral(t)||n.types.isTemplateLiteral(t)?t:n.template.expression.ast`\`\${${t}}\``}}function buildDynamicImport(e,t,r,s){const i=n.types.isCallExpression(e)?e.arguments[0]:e.source;if(n.types.isStringLiteral(i)||n.types.isTemplateLiteral(i)&&i.quasis.length===0){if(t){return n.template.expression.ast` + Promise.resolve().then(() => ${s(i)}) + `}else return s(i)}const a=n.types.isTemplateLiteral(i)?n.types.identifier("specifier"):n.types.templateLiteral([n.types.templateElement({raw:""}),n.types.templateElement({raw:""})],[n.types.identifier("specifier")]);if(t){return n.template.expression.ast` + (specifier => + new Promise(r => r(${a})) + .then(s => ${s(n.types.identifier("s"))}) + )(${i}) + `}else if(r){return n.template.expression.ast` + (specifier => + new Promise(r => r(${s(a)})) + )(${i}) + `}else{return n.template.expression.ast` + (specifier => ${s(a)})(${i}) + `}}},7406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getModuleName;{const e=getModuleName;t["default"]=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let c=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";c+=n.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},6646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"buildDynamicImport",{enumerable:true,get:function(){return u.buildDynamicImport}});t.buildNamespaceInitStatements=buildNamespaceInitStatements;t.ensureStatementsHoisted=ensureStatementsHoisted;Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return l.hasExports}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.isModule}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return l.isSideEffectImport}});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return a.default}});t.wrapInterop=wrapInterop;var n=r(9491);var s=r(3688);var i=r(3380);var a=r(2268);var o=r(7258);var l=r(4042);var c=r(8652);var u=r(3664);var p=r(7406);const{booleanLiteral:f,callExpression:d,cloneNode:h,directive:m,directiveLiteral:y,expressionStatement:g,identifier:b,isIdentifier:T,memberExpression:S,stringLiteral:E,valueToNode:x,variableDeclaration:v,variableDeclarator:P}=s.types;{t.getDynamicImportSource=r(3664).getDynamicImportSource}function rewriteModuleStatementsAndPrepareHeader(e,{exportName:t,strict:r,allowTopLevelThis:s,strictMode:u,noInterop:p,importInterop:f=(p?"none":"babel"),lazy:d,getWrapperPayload:h=c.toGetWrapperPayload(d!=null?d:false),wrapReference:g=c.wrapReference,esNamespaceOnly:b,filename:T,constantReexports:S=arguments[1].loose,enumerableModuleMeta:E=arguments[1].loose,noIncompleteNsImportDetection:x}){(0,l.validateImportInteropOption)(f);n((0,i.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const v=(0,l.default)(e,t,{importInterop:f,initializeReexports:S,getWrapperPayload:h,esNamespaceOnly:b,filename:T});if(!s){(0,a.default)(e)}(0,o.default)(e,v,g);if(u!==false){const t=e.node.directives.some((e=>e.value.value==="use strict"));if(!t){e.unshiftContainer("directives",m(y("use strict")))}}const P=[];if((0,l.hasExports)(v)&&!r){P.push(buildESModuleHeader(v,E))}const A=buildExportNameListDeclaration(e,v);if(A){v.exportNameListName=A.name;P.push(A.statement)}P.push(...buildExportInitializationStatements(e,v,g,S,x));return{meta:v,headers:P}}function ensureStatementsHoisted(e){e.forEach((e=>{e._blockHoist=3}))}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return d(e.hub.addHelper("interopRequireWildcard"),[t,f(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return d(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false,n=c.wrapReference){var i;const a=[];const o=b(t.name);for(const e of t.importsNamespace){if(e===t.name)continue;a.push(s.template.statement`var NAME = SOURCE;`({NAME:e,SOURCE:h(o)}))}const l=(i=n(o,t.wrap))!=null?i:o;if(r){a.push(...buildReexportsFromMeta(e,t,true,n))}for(const r of t.reexportNamespace){a.push((!s.types.isIdentifier(l)?s.template.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); - `:i.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:d(s)}))}if(t.reexportAll){const i=buildNamespaceReexport(e,d(s),r);i.loc=t.reexportAll.loc;n.push(i)}return n}const P={constant:i.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:i.default.statement` + `:s.template.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:h(l)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,h(l),r);n.loc=t.reexportAll.loc;a.push(n)}return a}const A={constant:s.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:s.template.statement` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); - `};const buildReexportsFromMeta=(e,t,r)=>{const n=t.lazy?f(g(t.name),[]):g(t.name);const{stringSpecifiers:s}=e;return Array.from(t.reexports,(([i,a])=>{let o=d(n);if(a==="default"&&t.interop==="node-default"){}else if(s.has(a)){o=T(o,S(a),true)}else{o=T(o,g(a))}const l={EXPORTS:e.exportName,EXPORT_NAME:i,NAMESPACE_IMPORT:o};if(r||b(o)){if(s.has(i)){return P.constantComputed(l)}else{return P.constant(l)}}else{return P.spec(l)}}))};function buildESModuleHeader(e,t=false){return(t?i.default.statement` + `};function buildReexportsFromMeta(e,t,r,n){var s;let i=b(t.name);i=(s=n(i,t.wrap))!=null?s:i;const{stringSpecifiers:a}=e;return Array.from(t.reexports,(([n,s])=>{let o=h(i);if(s==="default"&&t.interop==="node-default"){}else if(a.has(s)){o=S(o,E(s),true)}else{o=S(o,b(s))}const l={EXPORTS:e.exportName,EXPORT_NAME:n,NAMESPACE_IMPORT:o};if(r||T(o)){if(a.has(n)){return A.constantComputed(l)}else{return A.constant(l)}}else{return A.spec(l)}}))}function buildESModuleHeader(e,t=false){return(t?s.template.statement` EXPORTS.__esModule = true; - `:i.default.statement` + `:s.template.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); - `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?i.default.statement` + `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?s.template.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -38,7 +141,7 @@ EXPORTS[key] = NAMESPACE[key]; }); - `:i.default.statement` + `:s.template.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; @@ -51,97 +154,21 @@ }, }); }); - `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,i.default)` + `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,s.template)` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const s=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:s.name,statement:x("var",[v(s,E(r))])}}function buildExportInitializationStatements(e,t,r=false,n=false){const s=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){s.push([r.names[0],buildInitStatement(t,r.names,g(e))])}else if(!n){for(const e of r.names){s.push([e,null])}}}for(const e of t.source.values()){if(!r){const r=buildReexportsFromMeta(t,e,false);const n=[...e.reexports.keys()];for(let e=0;e<r.length;e++){s.push([n[e],r[e]])}}if(!n){for(const t of e.reexportNamespace){s.push([t,null])}}}s.sort((([e],[t])=>{if(e<t)return-1;if(t<e)return 1;return 0}));const i=[];if(n){for(const[,e]of s){i.push(e)}}else{const r=100;for(let n=0;n<s.length;n+=r){let a=[];for(let o=0;o<r&&n+o<s.length;o++){const[r,l]=s[n+o];if(l!==null){if(a.length>0){i.push(buildInitStatement(t,a,e.scope.buildUndefinedNode()));a=[]}i.push(l)}else{a.push(r)}}if(a.length>0){i.push(buildInitStatement(t,a,e.scope.buildUndefinedNode()))}}}return i}const A={computed:i.default.expression`EXPORTS["NAME"] = VALUE`,default:i.default.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:s}=e;return y(t.reduce(((e,t)=>{const r={EXPORTS:s,NAME:t,VALUE:e};if(n.has(t)){return A.computed(r)}else{return A.default(r)}}),r))}},6943:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeModuleAndLoadMetadata;t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;var n=r(1017);var s=r(7239);var i=r(1705);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t,r){if(typeof e==="function"){return validateImportInteropOption(e(t,r))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,lazy:s=false,esNamespaceOnly:i=false,filename:a}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const o=new Set;nameAnonymousExports(e);const{local:l,source:c,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,lazy:s},o);removeModuleDeclarations(e);for(const[,e]of c){if(e.importsNamespace.size>0){e.name=e.importsNamespace.values().next().value}const t=resolveImportInterop(r,e.source,a);if(t==="none"){e.interop="none"}else if(t==="node"&&e.interop==="namespace"){e.interop="node-namespace"}else if(t==="node"&&e.interop==="default"){e.interop="node-default"}else if(i&&e.interop==="namespace"){e.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:l,source:c,stringSpecifiers:o}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{lazy:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const getData=t=>{const r=t.value;let s=a.get(r);if(!s){s={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:false,source:r};a.set(r,s)}return s};let o=false;e.get("body").forEach((e=>{if(e.isImportDeclaration()){const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach((e=>{t.reexports.set(e,"default")}))}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach((e=>{t.reexportNamespace.add(e)}))}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach((e=>{t.reexports.set(e,r)}))}}}))}else if(e.isExportAllDeclaration()){o=true;const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){o=true;const t=getData(e.node.source);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}}))}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){o=true}}));for(const e of a.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}for(const[e,r]of a){if(t!==false&&!(isSideEffectImport(r)||r.reexportAll)){if(t===true){r.lazy=!/\./.test(e)}else if(Array.isArray(t)){r.lazy=t.indexOf(e)!==-1}else if(typeof t==="function"){r.lazy=t(e)}else{throw new Error(`.lazy must be a boolean, string array, or function`)}}}return{hasExports:o,local:i,source:a}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach((e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration())e=e.get("declaration");if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach((e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")}));return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach((e=>{n.set(e,r)}))}));const s=new Map;const getLocalMetadata=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach((e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach((e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}getLocalMetadata(r[e]).names.push(e)}))}else{e.get("specifiers").forEach((e=>{const t=e.get("local");const n=e.get("exported");const s=getLocalMetadata(t);const i=getExportSpecifierName(n,r);if(i==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(i)}))}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){getLocalMetadata(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}}));return s}function nameAnonymousExports(e){e.get("body").forEach((e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)}))}function removeModuleDeclarations(e){e.get("body").forEach((e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}}))}},2329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteLiveReferences;var n=r(9491);var s=r(6953);var i=r(9767);var a=r(7798);const{assignmentExpression:o,callExpression:l,cloneNode:c,expressionStatement:u,getOuterBindingIdentifiers:p,identifier:f,isMemberExpression:d,isVariableDeclaration:h,jsxIdentifier:m,jsxMemberExpression:y,memberExpression:g,numericLiteral:b,sequenceExpression:T,stringLiteral:S,variableDeclaration:E,variableDeclarator:x}=s;function isInType(e){do{switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:if(e.parentPath.isStatement()||e.parentPath.isExpression()){return false}}}while(e=e.parentPath)}function rewriteLiveReferences(e,t){const r=new Map;const n=new Map;const requeueInParent=t=>{e.requeue(t)};for(const[e,n]of t.source){for(const[t,s]of n.imports){r.set(t,[e,s,null])}for(const t of n.importsNamespace){r.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=n.get(e);if(!t){t=[];n.set(e,t)}t.push(...r.names)}const s={metadata:t,requeueInParent:requeueInParent,scope:e.scope,exported:n};e.traverse(v,s);(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]),false);const i={seen:new WeakSet,metadata:t,requeueInParent:requeueInParent,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],s)=>{const i=t.source.get(e);if(n){if(i.lazy)s=l(s,[]);return s}let a=f(i.name);if(i.lazy)a=l(a,[]);if(r==="default"&&i.interop==="node-default"){return a}const o=t.stringSpecifiers.has(r);return g(a,o?S(r):f(r),o)}};e.traverse(P,i)}const v={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const i=s.name;const a=r.get(i)||[];if(a.length>0){const r=u(buildBindingExportAssignmentExpression(n,a,f(i)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach((s=>{const i=r.get(s)||[];if(i.length>0){const r=u(buildBindingExportAssignmentExpression(n,i,f(s)));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}}))}};const buildBindingExportAssignmentExpression=(e,t,r)=>(t||[]).reduce(((t,r)=>{const{stringSpecifiers:n}=e;const s=n.has(r);return o("=",g(f(e.exportName),s?S(r):f(r),s),t)}),r);const buildImportThrow=e=>i.default.expression.ast` + `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const s=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:s.name,statement:v("var",[P(s,x(r))])}}function buildExportInitializationStatements(e,t,r,n=false,s=false){const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){i.push([r.names[0],buildInitStatement(t,r.names,b(e))])}else if(!s){for(const e of r.names){i.push([e,null])}}}for(const e of t.source.values()){if(!n){const n=buildReexportsFromMeta(t,e,false,r);const s=[...e.reexports.keys()];for(let e=0;e<n.length;e++){i.push([s[e],n[e]])}}if(!s){for(const t of e.reexportNamespace){i.push([t,null])}}}i.sort((([e],[t])=>{if(e<t)return-1;if(t<e)return 1;return 0}));const a=[];if(s){for(const[,e]of i){a.push(e)}}else{const r=100;for(let n=0;n<i.length;n+=r){let s=[];for(let o=0;o<r&&n+o<i.length;o++){const[r,l]=i[n+o];if(l!==null){if(s.length>0){a.push(buildInitStatement(t,s,e.scope.buildUndefinedNode()));s=[]}a.push(l)}else{s.push(r)}}if(s.length>0){a.push(buildInitStatement(t,s,e.scope.buildUndefinedNode()))}}}return a}const w={computed:s.template.expression`EXPORTS["NAME"] = VALUE`,default:s.template.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:s}=e;return g(t.reduce(((e,t)=>{const r={EXPORTS:s,NAME:t,VALUE:e};if(n.has(t)){return w.computed(r)}else{return w.default(r)}}),r))}},8652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toGetWrapperPayload=toGetWrapperPayload;t.wrapReference=wrapReference;var n=r(3688);var s=r(4042);function toGetWrapperPayload(e){return(t,r)=>{if(e===false)return null;if((0,s.isSideEffectImport)(r)||r.reexportAll)return null;if(e===true){return/\./.test(t)?null:"lazy"}if(Array.isArray(e)){return e.indexOf(t)===-1?null:"lazy"}if(typeof e==="function"){return e(t)?"lazy":null}throw new Error(`.lazy must be a boolean, string array, or function`)}}function wrapReference(e,t){if(t==="lazy")return n.types.callExpression(e,[]);return null}},4042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeModuleAndLoadMetadata;t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;var n=r(1017);var s=r(4975);var i=r(4097);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t,r){if(typeof e==="function"){return validateImportInteropOption(e(t,r))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,getWrapperPayload:s,esNamespaceOnly:i=false,filename:a}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const o=new Set;nameAnonymousExports(e);const{local:l,sources:c,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,getWrapperPayload:s},o);removeImportExportDeclarations(e);for(const[e,t]of c){const{importsNamespace:n,imports:s}=t;if(n.size>0&&s.size===0){const[e]=n;t.name=e}const o=resolveImportInterop(r,e,a);if(o==="none"){t.interop="none"}else if(o==="node"&&t.interop==="namespace"){t.interop="node-namespace"}else if(o==="node"&&t.interop==="default"){t.interop="node-default"}else if(i&&t.interop==="namespace"){t.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:l,source:c,stringSpecifiers:o}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{getWrapperPayload:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=new Map;const getData=(t,r)=>{const s=t.value;let i=o.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,n.basename)(s,(0,n.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:false};o.set(s,i);a.set(s,[r])}else{a.get(s).push(r)}return i};let l=false;e.get("body").forEach((e=>{if(e.isImportDeclaration()){const t=getData(e.node.source,e.node);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach((e=>{t.reexports.set(e,"default")}));t.referenced=true}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach((e=>{t.reexportNamespace.add(e)}));t.referenced=true}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach((e=>{t.reexports.set(e,r)}));t.referenced=true}}}))}else if(e.isExportAllDeclaration()){l=true;const t=getData(e.node.source,e.node);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc};t.referenced=true}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=getData(e.node.source,e.node);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);t.referenced=true;if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}}))}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}}));for(const e of o.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}if(t){for(const[e,r]of o){r.wrap=t(e,r,a.get(e))}}return{hasExports:l,local:i,sources:o}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach((e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration()){e=e.get("declaration")}if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach((e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")}));return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach((e=>{n.set(e,r)}))}));const s=new Map;const getLocalMetadata=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach((e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach((e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}getLocalMetadata(r[e]).names.push(e)}))}else{e.get("specifiers").forEach((e=>{const t=e.get("local");const n=e.get("exported");const s=getLocalMetadata(t);const i=getExportSpecifierName(n,r);if(i==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(i)}))}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){getLocalMetadata(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}}));return s}function nameAnonymousExports(e){e.get("body").forEach((e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)}))}function removeImportExportDeclarations(e){e.get("body").forEach((e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}}))}},7258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteLiveReferences;var n=r(9491);var s=r(3688);var i=r(6118);const{assignmentExpression:a,cloneNode:o,expressionStatement:l,getOuterBindingIdentifiers:c,identifier:u,isArrowFunctionExpression:p,isClassExpression:f,isFunctionExpression:d,isIdentifier:h,isMemberExpression:m,isVariableDeclaration:y,jsxIdentifier:g,jsxMemberExpression:b,memberExpression:T,numericLiteral:S,sequenceExpression:E,stringLiteral:x,variableDeclaration:v,variableDeclarator:P}=s.types;function isInType(e){do{switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:if(e.parentPath.isStatement()||e.parentPath.isExpression()){return false}}}while(e=e.parentPath)}function rewriteLiveReferences(e,t,r){const n=new Map;const s=new Map;const requeueInParent=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,s]of r.imports){n.set(t,[e,s,null])}for(const t of r.importsNamespace){n.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=s.get(e);if(!t){t=[];s.set(e,t)}t.push(...r.names)}const a={metadata:t,requeueInParent:requeueInParent,scope:e.scope,exported:s};e.traverse(A,a);const o=new Set([...Array.from(n.keys()),...Array.from(s.keys())]);{(0,i.default)(e,o,false)}const l={seen:new WeakSet,metadata:t,requeueInParent:requeueInParent,scope:e.scope,imported:n,exported:s,buildImportReference([e,n,s],i){const a=t.source.get(e);a.referenced=true;if(s){if(a.wrap){var o;i=(o=r(i,a.wrap))!=null?o:i}return i}let l=u(a.name);if(a.wrap){var c;l=(c=r(l,a.wrap))!=null?c:l}if(n==="default"&&a.interop==="node-default"){return l}const p=t.stringSpecifiers.has(n);return T(l,p?x(n):u(n),p)}};e.traverse(w,l)}const A={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const i=s.name;const a=r.get(i)||[];if(a.length>0){const r=l(buildBindingExportAssignmentExpression(n,a,u(i),e.scope));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const s=e.node.kind==="var";for(const i of e.get("declarations")){const{id:a}=i.node;let{init:o}=i.node;if(h(a)&&r.has(a.name)&&!p(o)&&(!d(o)||o.id)&&(!f(o)||o.id)){if(!o){if(s){continue}else{o=e.scope.buildUndefinedNode()}}i.node.init=buildBindingExportAssignmentExpression(n,r.get(a.name),o,e.scope);t(i.get("init"))}else{for(const s of Object.keys(i.getOuterBindingIdentifiers())){if(r.has(s)){const i=l(buildBindingExportAssignmentExpression(n,r.get(s),u(s),e.scope));i._blockHoist=e.node._blockHoist;t(e.insertAfter(i)[0])}}}}}};const buildBindingExportAssignmentExpression=(e,t,r,n)=>{const s=e.exportName;for(let e=n;e!=null;e=e.parent){if(e.hasOwnBinding(s)){e.rename(s)}}return(t||[]).reduce(((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return a("=",T(u(s),i?x(r):u(r),i),t)}),r)};const buildImportThrow=e=>s.template.expression.ast` (function() { throw new Error('"' + '${e}' + '" is read-only.'); })() - `;const P={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:i}=this;if(t.has(e.node))return;t.add(e.node);const a=e.node.name;const o=s.get(a);if(o){if(isInType(e)){throw e.buildCodeFrameError(`Cannot transform the imported binding "${a}" since it's also used in a type annotation. `+`Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`)}const t=e.scope.getBinding(a);const s=n.getBinding(a);if(s!==t)return;const l=r(o,e.node);l.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&d(l)){e.replaceWith(T([b(0),l]))}else if(e.isJSXIdentifier()&&d(l)){const{object:t,property:r}=l;e.replaceWith(y(m(t.name),m(r.name)))}else{e.replaceWith(l)}i(e);e.skip()}},UpdateExpression(e){const{scope:t,seen:r,imported:n,exported:s,requeueInParent:i,buildImportReference:a}=this;if(r.has(e.node))return;r.add(e.node);const l=e.get("argument");if(l.isMemberExpression())return;const u=e.node;if(l.isIdentifier()){const r=l.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const i=s.get(r);const p=n.get(r);if((i==null?void 0:i.length)>0||p){if(p){e.replaceWith(o(u.operator[0]+"=",a(p,l.node),buildImportThrow(r)))}else if(u.prefix){e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,i,c(u)))}else{const n=t.generateDeclaredUidIdentifier(r);e.replaceWith(T([o("=",c(n),c(u)),buildBindingExportAssignmentExpression(this.metadata,i,f(r)),c(n)]))}}}i(e);e.skip()},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:s,exported:i,requeueInParent:a,buildImportReference:o}=this;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(l.isMemberExpression())return;if(l.isIdentifier()){const r=l.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const c=i.get(r);const u=s.get(r);if((c==null?void 0:c.length)>0||u){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(u){t.left=o(u,t.left);t.right=T([t.right,buildImportThrow(r)])}e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,c,t));a(e)}}else{const r=l.getOuterBindingIdentifiers();const n=Object.keys(r).filter((r=>t.getBinding(r)===e.scope.getBinding(r)));const o=n.find((e=>s.has(e)));if(o){e.node.right=T([e.node.right,buildImportThrow(o)])}const c=[];n.forEach((e=>{const t=i.get(e)||[];if(t.length>0){c.push(buildBindingExportAssignmentExpression(this.metadata,t,f(e)))}}));if(c.length>0){let t=T(c);if(e.parentPath.isExpressionStatement()){t=u(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];a(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:s,imported:i,scope:a}=this;if(!h(n)){let r=false,l;const f=e.get("body").scope;for(const e of Object.keys(p(n))){if(a.getBinding(e)===t.getBinding(e)){if(s.has(e)){r=true;if(f.hasOwnBinding(e)){f.rename(e)}}if(i.has(e)&&!l){l=e}}}if(!r&&!l){return}e.ensureBlock();const d=e.get("body");const h=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(E("let",[x(c(h))]));t.registerDeclaration(e.get("left"));if(r){d.unshiftContainer("body",u(o("=",n,h)))}if(l){d.unshiftContainer("body",u(buildImportThrow(l)))}}}}},9094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteThis;var n=r(5166);var s=r(7734);var i=r(6953);const{numericLiteral:a,unaryExpression:o}=i;function rewriteThis(e){(0,s.default)(e.node,Object.assign({},l,{noScope:true}))}const l=s.default.visitors.merge([n.default,{ThisExpression(e){e.replaceWith(o("void",a(0),true))}}])},7798:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=simplifyAccess;var n=r(6953);const{LOGICAL_OPERATORS:s,assignmentExpression:i,binaryExpression:a,cloneNode:o,identifier:l,logicalExpression:c,numericLiteral:u,sequenceExpression:p,unaryExpression:f}=n;function simplifyAccess(e,t,r=true){e.traverse(d,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:r})}const d={UpdateExpression:{exit(e){const{scope:t,bindingNames:r,includeUpdateExpression:n}=this;if(!n){return}const s=e.get("argument");if(!s.isIdentifier())return;const c=s.node.name;if(!r.has(c))return;if(t.getBinding(c)!==e.scope.getBinding(c)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(i(t,s.node,u(1)))}else if(e.node.prefix){e.replaceWith(i("=",l(c),a(e.node.operator[0],f("+",s.node),u(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const r=t.name;e.scope.push({id:t});const n=a(e.node.operator[0],l(r),u(1));e.replaceWith(p([i("=",l(r),f("+",s.node)),i("=",o(s.node),n),l(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:n}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const u=l.node.name;if(!n.has(u))return;if(t.getBinding(u)!==e.scope.getBinding(u)){return}const p=e.node.operator.slice(0,-1);if(s.includes(p)){e.replaceWith(c(p,e.node.left,i("=",o(e.node.left),e.node.right)))}else{e.node.right=a(p,o(e.node.left),e.node.right);e.node.operator="="}}}}},1705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=splitExportDeclaration;var n=r(6953);const{cloneNode:s,exportNamedDeclaration:i,exportSpecifier:a,identifier:o,variableDeclaration:l,variableDeclarator:c}=n;function splitExportDeclaration(e){if(!e.isExportDeclaration()){throw new Error("Only export declarations can be split.")}const t=e.isExportDefaultDeclaration();const r=e.get("declaration");const n=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||n;const u=r.isScope()?r.scope.parent:r.scope;let p=r.node.id;let f=false;if(!p){f=true;p=u.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=s(p)}}const d=t?r:l("var",[c(s(p),r.node)]);const h=i(null,[a(s(p),o("default"))]);e.insertAfter(h);e.replaceWith(d);if(f){u.registerDeclaration(e)}return e}if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const u=r.getOuterBindingIdentifiers();const p=Object.keys(u).map((e=>a(o(e),o(e))));const f=i(null,p);e.insertAfter(f);e.replaceWith(r.node);return e}},8676:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let n=[],s=[],i,a;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(a=0;a<=l;a++){n[a]=a}for(i=1;i<=o;i++){for(s=[i],a=1;a<=l;a++){s[a]=e[i-1]===t[a-1]?n[a-1]:r(n[a-1],n[a],s[a-1])+1}n=s}return s[l]}function findSuggestion(e,t){const n=t.map((t=>levenshtein(t,e)));return t[n.indexOf(r(...n))]}},46:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return n.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return s.findSuggestion}});var n=r(3952);var s=r(8676)},3952:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var n=r(8676);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},5971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9767);function helper(e,t){return Object.freeze({minVersion:e,ast:()=>n.default.program.ast(t,{preserveComments:true})})}var s=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<metadataKeys.length;i++){var key=metadataKeys[i],metaForKey=metadataMap[key],parentMetaForKey=parentMetadataMap?parentMetadataMap[key]:null,pub=metaForKey.public,parentPub=parentMetaForKey?parentMetaForKey.public:null;pub&&parentPub&&Object.setPrototypeOf(pub,parentPub);var priv=metaForKey.private;if(priv){var privArr=Array.from(priv.values()),parentPriv=parentMetaForKey?parentMetaForKey.private:null;parentPriv&&(privArr=privArr.concat(parentPriv)),metaForKey.private=privArr}parentMetaForKey&&Object.setPrototypeOf(metaForKey,parentMetaForKey)}parentMetadataMap&&Object.setPrototypeOf(metadataMap,parentMetadataMap),obj[Symbol.metadata||Symbol.for("Symbol.metadata")]=metadataMap}}function createAddInitializerMethod(initializers,decoratorFinishedRef){return function(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 metadataKind,metadataName,ctx={kind:kindStr,name:isPrivate?"#"+name:name,isStatic:isStatic,isPrivate:isPrivate},decoratorFinishedRef={v:!1};if(0!==kind&&(ctx.addInitializer=createAddInitializerMethod(initializers,decoratorFinishedRef)),isPrivate){metadataKind=2,metadataName=Symbol(name);var access={};0===kind?(access.get=desc.get,access.set=desc.set):2===kind?access.get=function(){return desc.value}:(1!==kind&&3!==kind||(access.get=function(){return desc.get.call(this)}),1!==kind&&4!==kind||(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=!0}}function assertNotFinished(decoratorFinishedRef,fnName){if(decoratorFinishedRef.v)throw new Error("attempted to call "+fnName+" after decoration was finished")}function assertMetadataKey(key){if("symbol"!=typeof key)throw new TypeError("Metadata keys must be symbols, received: "+key)}function assertCallable(fn,hint){if("function"!=typeof fn)throw new TypeError(hint+" must be a function")}function assertValidReturnValue(kind,value){var type=typeof value;if(1===kind){if("object"!==type||null===value)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==value.get&&assertCallable(value.get,"accessor.get"),void 0!==value.set&&assertCallable(value.set,"accessor.set"),void 0!==value.init&&assertCallable(value.init,"accessor.init"),void 0!==value.initializer&&assertCallable(value.initializer,"accessor.initializer")}else if("function"!==type){var hint;throw hint=0===kind?"field":10===kind?"class":"method",new TypeError(hint+" decorators must return a function or void 0")}}function getInit(desc){var initializer;return null==(initializer=desc.init)&&(initializer=desc.initializer)&&"undefined"!=typeof console&&console.warn(".initializer has been renamed to .init as of March 2022"),initializer}function applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,metadataMap,initializers){var desc,initializer,value,newValue,get,set,decs=decInfo[0];if(isPrivate?desc=0===kind||1===kind?{get:decInfo[3],set:decInfo[4]}:3===kind?{get:decInfo[3]}:4===kind?{set:decInfo[3]}:{value:decInfo[3]}:0!==kind&&(desc=Object.getOwnPropertyDescriptor(base,name)),1===kind?value={get:desc.get,set:desc.set}:2===kind?value=desc.value:3===kind?value=desc.get:4===kind&&(value=desc.set),"function"==typeof decs)void 0!==(newValue=memberDec(decs,name,desc,metadataMap,initializers,kind,isStatic,isPrivate,value))&&(assertValidReturnValue(kind,newValue),0===kind?initializer=newValue:1===kind?(initializer=getInit(newValue),get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue);else for(var i=decs.length-1;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;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)}0!==kind&&(1===kind?(desc.get=value.get,desc.set=value.set):2===kind?desc.value=value:3===kind?desc.get=value:4===kind&&(desc.set=value),isPrivate?1===kind?(ret.push((function(instance,args){return value.get.call(instance,args)})),ret.push((function(instance,args){return value.set.call(instance,args)}))):2===kind?ret.push(value):ret.push((function(instance,args){return value.call(instance,args)})):Object.defineProperty(base,name,desc))}function applyMemberDecs(ret,Class,protoMetadataMap,staticMetadataMap,decInfos){for(var protoInitializers,staticInitializers,existingProtoNonFields=new Map,existingStaticNonFields=new Map,i=0;i<decInfos.length;i++){var decInfo=decInfos[i];if(Array.isArray(decInfo)){var base,metadataMap,initializers,kind=decInfo[1],name=decInfo[2],isPrivate=decInfo.length>3,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;i<initializers.length;i++)initializers[i].call(instance);return instance}))}function applyClassDecs(ret,targetClass,metadataMap,classDecs){if(classDecs.length>0){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;i<initializers.length;i++)initializers[i].call(newClass)}))}}export default function applyDecs(targetClass,memberDecs,classDecs){var ret=[],staticMetadataMap={},protoMetadataMap={};return applyMemberDecs(ret,targetClass,protoMetadataMap,staticMetadataMap,memberDecs),convertMetadataMapToFinal(targetClass.prototype,protoMetadataMap),applyClassDecs(ret,targetClass,staticMetadataMap,classDecs),convertMetadataMapToFinal(targetClass,staticMetadataMap),ret}'),asyncIterator:helper("7.15.9",'export default function _asyncIterator(iterable){var method,async,sync,retry=2;for("undefined"!=typeof Symbol&&(async=Symbol.asyncIterator,sync=Symbol.iterator);retry--;){if(async&&null!=(method=iterable[async]))return method.call(iterable);if(sync&&null!=(method=iterable[sync]))return new AsyncFromSyncIterator(method.call(iterable));async="@@asyncIterator",sync="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(s){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var done=r.done;return Promise.resolve(r.value).then((function(value){return{value:value,done:done}}))}return AsyncFromSyncIterator=function(s){this.s=s,this.n=s.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(value){var ret=this.s.return;return void 0===ret?Promise.resolve({value:value,done:!0}):AsyncFromSyncIteratorContinuation(ret.apply(this.s,arguments))},throw:function(value){var thr=this.s.return;return void 0===thr?Promise.reject(value):AsyncFromSyncIteratorContinuation(thr.apply(this.s,arguments))}},new AsyncFromSyncIterator(s)}'),jsx:helper("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;export default function _createRawReactElement(type,props,key,children){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var defaultProps=type&&type.defaultProps,childrenLength=arguments.length-3;if(props||0===childrenLength||(props={children:void 0}),1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=new Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+3];props.children=childArray}if(props&&defaultProps)for(var propName in defaultProps)void 0===props[propName]&&(props[propName]=defaultProps[propName]);else props||(props=defaultProps||{});return{$$typeof:REACT_ELEMENT_TYPE,type:type,key:void 0===key?null:""+key,ref:null,props:props,_owner:null}}'),objectSpread2:helper("7.5.0",'import defineProperty from"defineProperty";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}export default function _objectSpread2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}'),regeneratorRuntime:helper("7.18.0",'export default function _regeneratorRuntime(){"use strict";\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return exports};var exports={},Op=Object.prototype,hasOwn=Op.hasOwnProperty,$Symbol="function"==typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}),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,generator=Object.create(protoGenerator.prototype),context=new Context(tryLocsList||[]);return generator._invoke=function(innerFn,self,context){var state="suspendedStart";return function(method,arg){if("executing"===state)throw new Error("Generator is already running");if("completed"===state){if("throw"===method)throw arg;return doneResult()}for(context.method=method,context.arg=arg;;){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if("suspendedStart"===state)throw state="completed",context.arg;context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state="executing";var record=tryCatch(innerFn,self,context);if("normal"===record.type){if(state=context.done?"completed":"suspendedYield",record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}"throw"===record.type&&(state="completed",context.method="throw",context.arg=record.arg)}}}(innerFn,self,context),generator}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}exports.wrap=wrap;var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};define(IteratorPrototype,iteratorSymbol,(function(){return this}));var getProto=Object.getPrototypeOf,NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);function defineIteratorMethods(prototype){["next","throw","return"].forEach((function(method){define(prototype,method,(function(arg){return this._invoke(method,arg)}))}))}function AsyncIterator(generator,PromiseImpl){function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if("throw"!==record.type){var result=record.arg,value=result.value;return value&&"object"==typeof value&&hasOwn.call(value,"__await")?PromiseImpl.resolve(value.__await).then((function(value){invoke("next",value,resolve,reject)}),(function(err){invoke("throw",err,resolve,reject)})):PromiseImpl.resolve(value).then((function(unwrapped){result.value=unwrapped,resolve(result)}),(function(error){return invoke("throw",error,resolve,reject)}))}reject(record.arg)}var previousPromise;this._invoke=function(method,arg){function callInvokeWithMethodAndArg(){return new PromiseImpl((function(resolve,reject){invoke(method,arg,resolve,reject)}))}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(delegate,context){var method=delegate.iterator[context.method];if(undefined===method){if(context.delegate=null,"throw"===context.method){if(delegate.iterator.return&&(context.method="return",context.arg=undefined,maybeInvokeDelegate(delegate,context),"throw"===context.method))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("throw"===record.type)return context.method="throw",context.arg=record.arg,context.delegate=null,ContinueSentinel;var info=record.arg;return info?info.done?(context[delegate.resultName]=info.value,context.next=delegate.nextLoc,"return"!==context.method&&(context.method="next",context.arg=undefined),context.delegate=null,ContinueSentinel):info:(context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel)}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]),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(!0)}function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"==typeof iterable.next)return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next(){for(;++i<iterable.length;)if(hasOwn.call(iterable,i))return next.value=iterable[i],next.done=!1,next;return next.value=undefined,next.done=!0,next};return next.next=next}}return{next:doneResult}}function doneResult(){return{value:undefined,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(Gp,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,toStringTagSymbol,"GeneratorFunction"),exports.isGeneratorFunction=function(genFun){var ctor="function"==typeof genFun&&genFun.constructor;return!!ctor&&(ctor===GeneratorFunction||"GeneratorFunction"===(ctor.displayName||ctor.name))},exports.mark=function(genFun){return Object.setPrototypeOf?Object.setPrototypeOf(genFun,GeneratorFunctionPrototype):(genFun.__proto__=GeneratorFunctionPrototype,define(genFun,toStringTagSymbol,"GeneratorFunction")),genFun.prototype=Object.create(Gp),genFun},exports.awrap=function(arg){return{__await:arg}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,asyncIteratorSymbol,(function(){return this})),exports.AsyncIterator=AsyncIterator,exports.async=function(innerFn,outerFn,self,tryLocsList,PromiseImpl){void 0===PromiseImpl&&(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()}))},defineIteratorMethods(Gp),define(Gp,toStringTagSymbol,"Generator"),define(Gp,iteratorSymbol,(function(){return this})),define(Gp,"toString",(function(){return"[object Generator]"})),exports.keys=function(object){var keys=[];for(var key in object)keys.push(key);return keys.reverse(),function next(){for(;keys.length;){var key=keys.pop();if(key in object)return next.value=key,next.done=!1,next}return next.done=!0,next}},exports.values=values,Context.prototype={constructor:Context,reset:function(skipTempReset){if(this.prev=0,this.next=0,this.sent=this._sent=undefined,this.done=!1,this.delegate=null,this.method="next",this.arg=undefined,this.tryEntries.forEach(resetTryEntry),!skipTempReset)for(var name in this)"t"===name.charAt(0)&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=undefined)},stop:function(){this.done=!0;var rootRecord=this.tryEntries[0].completion;if("throw"===rootRecord.type)throw rootRecord.arg;return this.rval},dispatchException:function(exception){if(this.done)throw exception;var context=this;function handle(loc,caught){return record.type="throw",record.arg=exception,context.next=loc,caught&&(context.method="next",context.arg=undefined),!!caught}for(var i=this.tryEntries.length-1;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<entry.catchLoc)return handle(entry.catchLoc,!0);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0)}else{if(!hasFinally)throw new Error("try statement without catch or finally");if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}}}},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}}finallyEntry&&("break"===type||"continue"===type)&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc&&(finallyEntry=null);var record=finallyEntry?finallyEntry.completion:{};return record.type=type,record.arg=arg,finallyEntry?(this.method="next",this.next=finallyEntry.finallyLoc,ContinueSentinel):this.complete(record)},complete:function(record,afterLoc){if("throw"===record.type)throw record.arg;return"break"===record.type||"continue"===record.type?this.next=record.arg:"return"===record.type?(this.rval=this.arg=record.arg,this.method="return",this.next="end"):"normal"===record.type&&afterLoc&&(this.next=afterLoc),ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;i>=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)}')});t["default"]=s},6337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9767);var s=r(5971);const i=Object.assign({__proto__:null},s.default);var a=i;t["default"]=a;const helper=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});i.AwaitValue=helper("7.0.0-beta.0")` - export default function _AwaitValue(value) { - this.wrapped = value; - } -`;i.AsyncGenerator=helper("7.0.0-beta.0")` - import AwaitValue from "AwaitValue"; - - export default function AsyncGenerator(gen) { - var front, back; - - function send(key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null, - }; - - if (back) { - back = back.next = request; - } else { - front = back = request; - resume(key, arg); - } - }); - } - - function resume(key, arg) { - try { - var result = gen[key](arg) - var value = result.value; - var wrappedAwait = value instanceof AwaitValue; - - Promise.resolve(wrappedAwait ? value.wrapped : value).then( - function (arg) { - if (wrappedAwait) { - resume(key === "return" ? "return" : "next", arg); - return - } - - settle(result.done ? "return" : "normal", arg); - }, - function (err) { resume("throw", err); }); - } catch (err) { - settle("throw", err); - } + `;const w={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:i}=this;if(t.has(e.node))return;t.add(e.node);const a=e.node.name;const o=s.get(a);if(o){if(isInType(e)){throw e.buildCodeFrameError(`Cannot transform the imported binding "${a}" since it's also used in a type annotation. `+`Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`)}const t=e.scope.getBinding(a);const s=n.getBinding(a);if(s!==t)return;const l=r(o,e.node);l.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&m(l)){e.replaceWith(E([S(0),l]))}else if(e.isJSXIdentifier()&&m(l)){const{object:t,property:r}=l;e.replaceWith(b(g(t.name),g(r.name)))}else{e.replaceWith(l)}i(e);e.skip()}},UpdateExpression(e){const{scope:t,seen:r,imported:n,exported:s,requeueInParent:i,buildImportReference:l}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("argument");if(c.isMemberExpression())return;const p=e.node;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const i=s.get(r);const f=n.get(r);if((i==null?void 0:i.length)>0||f){if(f){e.replaceWith(a(p.operator[0]+"=",l(f,c.node),buildImportThrow(r)))}else if(p.prefix){e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,i,o(p),e.scope))}else{const n=t.generateDeclaredUidIdentifier(r);e.replaceWith(E([a("=",o(n),o(p)),buildBindingExportAssignmentExpression(this.metadata,i,u(r),e.scope),o(n)]))}}}i(e);e.skip()},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:s,exported:i,requeueInParent:a,buildImportReference:o}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("left");if(c.isMemberExpression())return;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const l=i.get(r);const u=s.get(r);if((l==null?void 0:l.length)>0||u){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(u){t.left=o(u,c.node);t.right=E([t.right,buildImportThrow(r)])}e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,l,t,e.scope));a(e)}}else{const r=c.getOuterBindingIdentifiers();const n=Object.keys(r).filter((r=>t.getBinding(r)===e.scope.getBinding(r)));const o=n.find((e=>s.has(e)));if(o){e.node.right=E([e.node.right,buildImportThrow(o)])}const p=[];n.forEach((t=>{const r=i.get(t)||[];if(r.length>0){p.push(buildBindingExportAssignmentExpression(this.metadata,r,u(t),e.scope))}}));if(p.length>0){let t=E(p);if(e.parentPath.isExpressionStatement()){t=l(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];a(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:s,imported:i,scope:u}=this;if(!y(n)){let r=false,p;const f=e.get("body").scope;for(const e of Object.keys(c(n))){if(u.getBinding(e)===t.getBinding(e)){if(s.has(e)){r=true;if(f.hasOwnBinding(e)){f.rename(e)}}if(i.has(e)&&!p){p=e}}}if(!r&&!p){return}e.ensureBlock();const d=e.get("body");const h=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(v("let",[P(o(h))]));t.registerDeclaration(e.get("left"));if(r){d.unshiftContainer("body",l(a("=",n,h)))}if(p){d.unshiftContainer("body",l(buildImportThrow(p)))}}}}},2268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteThis;var n=r(8552);var s=r(3688);const{numericLiteral:i,unaryExpression:a}=s.types;const o=s.traverse.visitors.merge([n.default,{ThisExpression(e){e.replaceWith(a("void",i(0),true))}}]);function rewriteThis(e){(0,s.traverse)(e.node,Object.assign({},o,{noScope:true}))}},1475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=optimiseCallExpression;var n=r(776);const{callExpression:s,identifier:i,isIdentifier:a,isSpreadElement:o,memberExpression:l,optionalCallExpression:c,optionalMemberExpression:u}=n;function optimiseCallExpression(e,t,r,n){if(r.length===1&&o(r[0])&&a(r[0].argument,{name:"arguments"})){if(n){return c(u(e,i("apply"),false,true),[t,r[0].argument],false)}return s(l(e,i("apply")),[t,r[0].argument])}else{if(n){return c(u(e,i("call"),false,true),[t,...r],false)}return s(l(e,i("call")),[t,...r])}}},5389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;t.declarePreset=void 0;const r={assertVersion:e=>t=>{throwVersionError(t,e.version)}};{Object.assign(r,{targets:()=>()=>({}),assumption:()=>()=>undefined})}function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;(o=a)!=null?o:a=copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const n=declare;t.declarePreset=n;function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},9775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8552);var s=r(3590);var i=r(1475);var a=r(3688);const{assignmentExpression:o,booleanLiteral:l,callExpression:c,cloneNode:u,identifier:p,memberExpression:f,sequenceExpression:d,stringLiteral:h,thisExpression:m}=a.types;{const e=r(8552);t.environmentVisitor=e.default;t.skipAllButComputedKey=e.skipAllButComputedKey}function getPrototypeOfExpression(e,t,r,n){e=u(e);const s=t||n?e:f(e,p("prototype"));return c(r.addHelper("getPrototypeOf"),[s])}const y=a.traverse.visitors.merge([n.default,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const g=a.traverse.visitors.merge([n.default,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const b={memoise(e,t){const{scope:r,node:n}=e;const{computed:s,property:i}=n;if(!s){return}const a=r.maybeGenerateMemoised(i);if(!a){return}this.memoiser.set(i,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return u(this.memoiser.get(r))}if(t){return u(r)}return h(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return c(this.file.addHelper("get"),[t.memo?d([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:m()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:o("=",e,m()),this:u(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return c(this.file.addHelper("set"),[r.memo?d([r.memo,n]):n,this.prop(e),t,r.this,l(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),u(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),u(r.this),t,true)},delete(e){if(e.node.computed){return d([c(this.file.addHelper("toPropertyKey"),[u(e.node.property)]),a.template.expression.ast` + function () { throw new ReferenceError("'delete super[expr]' is invalid"); }() + `])}else{return a.template.expression.ast` + function () { throw new ReferenceError("'delete super.prop' is invalid"); }() + `}}};const T=Object.assign({},b,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return u(this.memoiser.get(t))}return u(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const s=this.prop(e);let i;if(t){var a;i=(a=r())!=null?a:f(p("Function"),p("prototype"))}else{var o;i=f((o=r())!=null?o:p("Object"),p("prototype"))}return f(i,s,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return o("=",f(m(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return f(m(),r,t)},call(e,t){return(0,i.default)(this.get(e),m(),t,false)},optionalCall(e,t){return(0,i.default)(this.get(e),m(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return u(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return u(this.opts.superRef);if(this.opts.getSuperRef){return u(this.opts.getSuperRef())}}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(g,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?T:b;(0,s.default)(this.methodPath,y,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t["default"]=ReplaceSupers},6118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=simplifyAccess;var n=r(776);const{LOGICAL_OPERATORS:s,assignmentExpression:i,binaryExpression:a,cloneNode:o,identifier:l,logicalExpression:c,numericLiteral:u,sequenceExpression:p,unaryExpression:f}=n;const d={AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:n}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const u=l.node.name;if(!n.has(u))return;if(t.getBinding(u)!==e.scope.getBinding(u)){return}const p=e.node.operator.slice(0,-1);if(s.includes(p)){e.replaceWith(c(p,e.node.left,i("=",o(e.node.left),e.node.right)))}else{e.node.right=a(p,o(e.node.left),e.node.right);e.node.operator="="}}}};{d.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:t,bindingNames:r}=this;const n=e.get("argument");if(!n.isIdentifier())return;const s=n.node.name;if(!r.has(s))return;if(t.getBinding(s)!==e.scope.getBinding(s)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(i(t,n.node,u(1)))}else if(e.node.prefix){e.replaceWith(i("=",l(s),a(e.node.operator[0],f("+",n.node),u(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(n.node,"old");const r=t.name;e.scope.push({id:t});const s=a(e.node.operator[0],l(r),u(1));e.replaceWith(p([i("=",l(r),f("+",n.node)),i("=",o(n.node),s),l(r)]))}}}}function simplifyAccess(e,t){{var r;e.traverse(d,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:(r=arguments[2])!=null?r:true})}}},7255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTransparentExprWrapper=isTransparentExprWrapper;t.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;t.skipTransparentExprWrappers=skipTransparentExprWrappers;var n=r(776);const{isParenthesizedExpression:s,isTSAsExpression:i,isTSNonNullExpression:a,isTSSatisfiesExpression:o,isTSTypeAssertion:l,isTypeCastExpression:c}=n;function isTransparentExprWrapper(e){return i(e)||o(e)||l(e)||a(e)||c(e)||s(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},4097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=splitExportDeclaration;var n=r(776);const{cloneNode:s,exportNamedDeclaration:i,exportSpecifier:a,identifier:o,variableDeclaration:l,variableDeclarator:c}=n;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const t=e.get("declaration");const r=t.isFunctionDeclaration()||t.isClassDeclaration();const n=t.isFunctionExpression()||t.isClassExpression();const u=t.isScope()?t.scope.parent:t.scope;let p=t.node.id;let f=false;if(!p){f=true;p=u.generateUidIdentifier("default");if(r||n){t.node.id=s(p)}}else if(n&&u.hasBinding(p.name)){f=true;p=u.generateUidIdentifier(p.name)}const d=r?t.node:l("var",[c(s(p),t.node)]);const h=i(null,[a(s(p),o("default"))]);e.insertAfter(h);e.replaceWith(d);if(f){u.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const t=e.get("declaration");const r=t.getOuterBindingIdentifiers();const n=Object.keys(r).map((e=>a(o(e),o(e))));const u=i(null,n);e.insertAfter(u);e.replaceWith(t.node);return e}},6476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readCodePoint=readCodePoint;t.readInt=readInt;t.readStringContents=readStringContents;var r=function isDigit(e){return e>=48&&e<=57};const n={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])};const s={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function readStringContents(e,t,r,n,s,i){const a=r;const o=n;const l=s;let c="";let u=null;let p=r;const{length:f}=t;for(;;){if(r>=f){i.unterminated(a,o,l);c+=t.slice(p,r);break}const d=t.charCodeAt(r);if(isStringEnd(e,d,t,r)){c+=t.slice(p,r);break}if(d===92){c+=t.slice(p,r);const a=readEscapedChar(t,r,n,s,e==="template",i);if(a.ch===null&&!u){u={pos:r,lineStart:n,curLine:s}}else{c+=a.ch}({pos:r,lineStart:n,curLine:s}=a);p=r}else if(d===8232||d===8233){++r;++s;n=r}else if(d===10||d===13){if(e==="template"){c+=t.slice(p,r)+"\n";++r;if(d===13&&t.charCodeAt(r)===10){++r}++s;p=n=r}else{i.unterminated(a,o,l)}}else{++r}}return{pos:r,str:c,firstInvalidLoc:u,lineStart:n,curLine:s,containsInvalid:!!u}}function isStringEnd(e,t,r,n){if(e==="template"){return t===96||t===36&&r.charCodeAt(n+1)===123}return t===(e==="double"?34:39)}function readEscapedChar(e,t,r,n,s,i){const a=!s;t++;const res=e=>({pos:t,ch:e,lineStart:r,curLine:n});const o=e.charCodeAt(t++);switch(o){case 110:return res("\n");case 114:return res("\r");case 120:{let s;({code:s,pos:t}=readHexChar(e,t,r,n,2,false,a,i));return res(s===null?null:String.fromCharCode(s))}case 117:{let s;({code:s,pos:t}=readCodePoint(e,t,r,n,a,i));return res(s===null?null:String.fromCodePoint(s))}case 116:return res("\t");case 98:return res("\b");case 118:return res("\v");case 102:return res("\f");case 13:if(e.charCodeAt(t)===10){++t}case 10:r=t;++n;case 8232:case 8233:return res("");case 56:case 57:if(s){return res(null)}else{i.strictNumericEscape(t-1,r,n)}default:if(o>=48&&o<=55){const a=t-1;const o=e.slice(a,t+2).match(/^[0-7]+/);let l=o[0];let c=parseInt(l,8);if(c>255){l=l.slice(0,-1);c=parseInt(l,8)}t+=l.length-1;const u=e.charCodeAt(t);if(l!=="0"||u===56||u===57){if(s){return res(null)}else{i.strictNumericEscape(a,r,n)}}return res(String.fromCharCode(c))}return res(String.fromCharCode(o))}}function readHexChar(e,t,r,n,s,i,a,o){const l=t;let c;({n:c,pos:t}=readInt(e,t,r,n,16,s,i,false,o,!a));if(c===null){if(a){o.invalidEscapeSequence(l,r,n)}else{t=l-1}}return{code:c,pos:t}}function readInt(e,t,i,a,o,l,c,u,p,f){const d=t;const h=o===16?n.hex:n.decBinOct;const m=o===16?s.hex:o===10?s.dec:o===8?s.oct:s.bin;let y=false;let g=0;for(let n=0,s=l==null?Infinity:l;n<s;++n){const n=e.charCodeAt(t);let s;if(n===95&&u!=="bail"){const r=e.charCodeAt(t-1);const n=e.charCodeAt(t+1);if(!u){if(f)return{n:null,pos:t};p.numericSeparatorInEscapeSequence(t,i,a)}else if(Number.isNaN(n)||!m(n)||h.has(r)||h.has(n)){if(f)return{n:null,pos:t};p.unexpectedNumericSeparator(t,i,a)}++t;continue}if(n>=97){s=n-97+10}else if(n>=65){s=n-65+10}else if(r(n)){s=n-48}else{s=Infinity}if(s>=o){if(s<=9&&f){return{n:null,pos:t}}else if(s<=9&&p.invalidDigit(t,i,a,o)){s=0}else if(c){s=0;y=true}else{break}}++t;g=g*o+s}if(t===d||l!=null&&t-d!==l||y){return{n:null,pos:t}}return{n:g,pos:t}}function readCodePoint(e,t,r,n,s,i){const a=e.charCodeAt(t);let o;if(a===123){++t;({code:o,pos:t}=readHexChar(e,t,r,n,e.indexOf("}",t)-t,true,s,i));++t;if(o!==null&&o>1114111){if(s){i.invalidCodePoint(t,r,n)}else{return{code:null,pos:t}}}}else{({code:o,pos:t}=readHexChar(e,t,r,n,4,false,s,i))}return{code:o,pos:t}}},4387:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[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,20,1,64,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const o=[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,81,2,71,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,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){n=65536+((n&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(n)){return false}}else if(!isIdentifierChar(n)){return false}}return!t}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(4387);var s=r(4348)},4348:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},8112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let n=[],s=[],i,a;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(a=0;a<=l;a++){n[a]=a}for(i=1;i<=o;i++){for(s=[i],a=1;a<=l;a++){s[a]=e[i-1]===t[a-1]?n[a-1]:r(n[a-1],n[a],s[a-1])+1}n=s}return s[l]}function findSuggestion(e,t){const n=t.map((t=>levenshtein(t,e)));return t[n.indexOf(r(...n))]}},4716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return n.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return s.findSuggestion}});var n=r(2729);var s=r(8112)},2729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var n=r(8112);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},3563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9128);function helper(e,t){return Object.freeze({minVersion:e,ast:()=>n.default.program.ast(t,{preserveComments:true})})}var s=Object.freeze({AsyncGenerator:helper("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};'),OverloadYield:helper("7.18.14","export default function _OverloadYield(t,e){this.v=t,this.k=e}"),applyDecs:helper("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:t,isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a){var r;throw r=0===e?"field":10===e?"class":"method",new TypeError(r+" decorators must return a function or void 0")}}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&"undefined"!=typeof console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,h=a[0];if(n?c=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?u={get:c.get,set:c.set}:2===o?u=c.value:3===o?u=c.get:4===o&&(u=c.set),"function"==typeof h)void 0!==(f=old_memberDec(h,r,c,l,s,o,i,n,u))&&(old_assertValidReturnValue(o,f),0===o?d=f:1===o?(d=old_getInit(f),p=f.get||u.get,v=f.set||u.set,u={get:p,set:v}):u=f);else for(var y=h.length-1;y>=0;y--){var b;if(void 0!==(f=old_memberDec(h[y],r,c,l,s,o,i,n,u)))old_assertValidReturnValue(o,f),0===o?b=f:1===o?(b=old_getInit(f),p=f.get||u.get,v=f.set||u.set,u={get:p,set:v}):u=f,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var m=d;d=function(e,t){return m.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=u.get,c.set=u.set):2===o?c.value=u:3===o?c.get=u:4===o&&(c.set=u),n?1===o?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===o?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],h=d[2],y=d.length>3,b=v>=5;if(b?(u=t,f=r,0!==(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!y){var g=b?s:l,m=g.get(h)||0;if(!0===m||3===m&&4!==v||4===m&&3!==v)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: "+h);!m&&v>2?g.set(h,v):g.set(h,!0)}old_applyMemberDec(e,u,d,h,v,b,y,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}export default function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}'),applyDecs2203:helper("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":10===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u)))assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)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: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;export default function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}'),applyDecs2203R:helper("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,s,o){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,n,a,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===a||1===a?{get:r[3],set:r[4]}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?u={get:c.get,set:c.set}:2===a?u=c.value:3===a?u=c.get:4===a&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,n,c,o,a,i,s,u))&&(assertValidReturnValue(a,f),0===a?l=f:1===a?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],n,c,o,a,i,s,u)))assertValidReturnValue(a,f),0===a?g=f:1===a?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,n=0;n<y.length;n++)r=y[n].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=u.get,c.set=u.set):2===a?c.value=u:3===a?c.get=u:4===a&&(c.set=u),s?1===a?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===a?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,s=new Map,o=0;o<t.length;o++){var c=t[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!==(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)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: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}'),applyDecs2301:helper("7.21.0",'import checkInRHS from"checkInRHS";function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:t,static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,g=r[0];if(s?u=0===a||1===a?{get:(p=r[3],function(){return p(this)}),set:curryThis2(r[4])}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:u.get,set:u.set}:2===a?f=u.value:3===a?f=u.get:4===a&&(f=u.set),"function"==typeof g)void 0!==(d=memberDec(g,n,u,o,a,i,s,f,c))&&(assertValidReturnValue(a,d),0===a?l=d:1===a?(l=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d);else for(var y=g.length-1;y>=0;y--){var m;if(void 0!==(d=memberDec(g[y],n,u,o,a,i,s,f,c)))assertValidReturnValue(a,d),0===a?m=d:1===a?(m=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d,void 0!==m&&(void 0===l?l=m:"function"==typeof l?l=[l,m]:l.push(m))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var b=l;l=function(e,t){for(var r=t,n=0;n<b.length;n++)r=b[n].call(e,r);return r}}else{var I=l;l=function(e,t){return I.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=f.get,u.set=f.set):2===a?u.value=f:3===a?u.get=f:4===a&&(u.set=f),s?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,g=d>=5,y=r;if(g?(f=e,0!==(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),y=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=g?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)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: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,g,v,p,y)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}'),applyDecs2305:helper("7.21.0",'import checkInRHS from"checkInRHS";function createAddInitializerMethod(e,t){return function(r){assertNotFinished(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,a,n,i,s,o,c,l,u){var f;switch(i){case 1:f="accessor";break;case 2:f="method";break;case 3:f="getter";break;case 4:f="setter";break;default:f="field"}var d,p,h={kind:f,name:o?"#"+r:r,static:s,private:o,metadata:u},v={v:!1};if(0!==i&&(h.addInitializer=createAddInitializerMethod(n,v)),o||0!==i&&2!==i)if(2===i)d=function(e){return assertInstanceIfPrivate(l,e),a.value};else{var y=0===i||1===i;(y||3===i)&&(d=o?function(e){return assertInstanceIfPrivate(l,e),a.get.call(e)}:function(e){return a.get.call(e)}),(y||4===i)&&(p=o?function(e,t){assertInstanceIfPrivate(l,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else d=function(e){return e[r]},0===i&&(p=function(e,t){e[r]=t});var m=o?l.bind():function(e){return r in e};h.access=d&&p?{get:d,set:p,has:m}:d?{get:d,has:m}:{set:p,has:m};try{return e.call(t,c,h)}finally{v.v=!0}}function assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":5===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function curryThis1(e){return function(){return e(this)}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,a,n,i,s,o,c,l,u){var f,d,p,h,v,y,m=r[0];a||Array.isArray(m)||(m=[m]),o?f=0===i||1===i?{get:curryThis1(r[3]),set:curryThis2(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(f=Object.getOwnPropertyDescriptor(t,n)),1===i?p={get:f.get,set:f.set}:2===i?p=f.value:3===i?p=f.get:4===i&&(p=f.set);for(var g=a?2:1,b=m.length-1;b>=0;b-=g){var I;if(void 0!==(h=memberDec(m[b],a?m[b-1]:void 0,n,f,c,i,s,o,p,l,u)))assertValidReturnValue(i,h),0===i?I=h:1===i?(I=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==I&&(void 0===d?d=I:"function"==typeof d?d=[d,I]:d.push(I))}if(0===i||1===i){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var r=t,a=w.length-1;a>=0;a--)r=w[a].call(e,r);return r}}else{var M=d;d=function(e,t){return M.call(e,t)}}e.push(d)}0!==i&&(1===i?(f.get=p.get,f.set=p.set):2===i?f.value=p:3===i?f.get=p:4===i&&(f.set=p),o?1===i?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===i?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,f))}function applyMemberDecs(e,t,r,a){for(var n,i,s,o=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,p,h=f[1],v=f[2],y=f.length>3,m=16&h,g=!!(8&h),b=r;if(h&=7,g?(d=e,0!==h&&(p=i=i||[]),y&&!s&&(s=function(t){return checkInRHS(t)===e}),b=s):(d=e.prototype,0!==h&&(p=n=n||[])),0!==h&&!y){var I=g?l:c,w=I.get(v)||0;if(!0===w||3===w&&4!==h||4===w&&3!==h)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: "+v);I.set(v,!(!w&&h>2)||h)}applyMemberDec(o,d,f,m,v,h,g,y,p,b,a)}}return pushInitializers(o,n),pushInitializers(o,i),o}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function applyClassDecs(e,t,r,a){if(t.length){for(var n=[],i=e,s=e.name,o=r?2:1,c=t.length-1;c>=0;c-=o){var l={v:!1};try{var u=t[c].call(r?t[c-1]:void 0,i,{kind:"class",name:s,addInitializer:createAddInitializerMethod(n,l),metadata:a})}finally{l.v=!0}void 0!==u&&(assertValidReturnValue(5,u),i=u)}return[defineMetadata(i,a),function(){for(var e=0;e<n.length;e++)n[e].call(i)}]}}function defineMetadata(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}export default function applyDecs2305(e,t,r,a,n,i){if(arguments.length>=6)var s=i[Symbol.metadata||Symbol.for("Symbol.metadata")];var o=Object.create(void 0===s?null:s),c=applyMemberDecs(e,t,n,o);return r.length||defineMetadata(e,o),{e:c,get c(){return applyClassDecs(e,r,a,o)}}}'),asyncGeneratorDelegate:helper("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}'),asyncIterator:helper("7.15.9",'export default function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}'),awaitAsyncGenerator:helper("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}'),checkInRHS:helper("7.20.5",'export default function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of \'in\' should be an object, got "+(null!==e?typeof e:"null"));return e}'),defineAccessor:helper("7.20.7","export default function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}"),dispose:helper("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=r,this.error=e,this.stack=(new Error).stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}export default function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(r,e):r,s=!0,next()}return next()}'),importDeferProxy:helper("7.23.0","export default function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}"),iterableToArrayLimit:helper("7.0.0-beta.0",'export default function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}'),iterableToArrayLimitLoose:helper("7.0.0-beta.0",'export default function _iterableToArrayLimitLoose(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var o,l=[];for(t=t.call(e);e.length<r&&!(o=t.next()).done;)l.push(o.value);return l}}'),jsx:helper("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;export default function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=new Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}'),objectSpread2:helper("7.5.0",'import defineProperty from"defineProperty";function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}export default function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}'),regeneratorRuntime:helper("7.18.0",'export default function _regeneratorRuntime(){"use strict";\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a \'"+n+"\' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}'),typeof:helper("7.0.0-beta.0",'export default function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}'),using:helper("7.22.0",'export default function _using(o,e,n){if(null==e)return e;if("object"!=typeof e)throw new TypeError("using declarations can only be used with objects, null, or undefined.");if(n)var r=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=e[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:e,d:r,a:n}),e}'),wrapRegExp:helper("7.19.0",'import setPrototypeOf from"setPrototypeOf";import inherits from"inherits";export default function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=new RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}')});t["default"]=s},5095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9128);var s=r(3563);const i=Object.assign({__proto__:null},s.default);var a=i;t["default"]=a;const helper=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});{i.AwaitValue=helper("7.0.0-beta.0")` + export default function _AwaitValue(value) { + this.wrapped = value; } - - function settle(type, value) { - switch (type) { - case "return": - front.resolve({ value: value, done: true }); - break; - case "throw": - front.reject(value); - break; - default: - front.resolve({ value: value, done: false }); - break; - } - - front = front.next; - if (front) { - resume(front.key, front.arg); - } else { - back = null; - } - } - - this._invoke = send; - - // Hide "return" method if generator return is not supported - if (typeof gen.return !== "function") { - this.return = undefined; - } - } - - AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }; - - AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; - AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; - AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`;i.wrapAsyncGenerator=helper("7.0.0-beta.0")` + `}i.wrapAsyncGenerator=helper("7.0.0-beta.0")` import AsyncGenerator from "AsyncGenerator"; export default function _wrapAsyncGenerator(fn) { @@ -149,54 +176,6 @@ return new AsyncGenerator(fn.apply(this, arguments)); }; } -`;i.awaitAsyncGenerator=helper("7.0.0-beta.0")` - import AwaitValue from "AwaitValue"; - - export default function _awaitAsyncGenerator(value) { - return new AwaitValue(value); - } -`;i.asyncGeneratorDelegate=helper("7.0.0-beta.0")` - export default function _asyncGeneratorDelegate(inner, awaitWrap) { - var iter = {}, waiting = false; - - function pump(key, value) { - waiting = true; - value = new Promise(function (resolve) { resolve(inner[key](value)); }); - return { done: false, value: awaitWrap(value) }; - }; - - iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () { return this; }; - - iter.next = function (value) { - if (waiting) { - waiting = false; - return value; - } - return pump("next", value); - }; - - if (typeof inner.throw === "function") { - iter.throw = function (value) { - if (waiting) { - waiting = false; - throw value; - } - return pump("throw", value); - }; - } - - if (typeof inner.return === "function") { - iter.return = function (value) { - if (waiting) { - waiting = false; - return value; - } - return pump("return", value); - }; - } - - return iter; - } `;i.asyncToGenerator=helper("7.0.0-beta.0")` function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { @@ -237,13 +216,14 @@ } } `;i.createClass=helper("7.0.0-beta.0")` + import toPropertyKey from "toPropertyKey"; function _defineProperties(target, props) { for (var i = 0; i < props.length; i ++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); } } @@ -290,7 +270,9 @@ return obj; } `;i.defineProperty=helper("7.0.0-beta.0")` + import toPropertyKey from "toPropertyKey"; export default function _defineProperty(obj, key, value) { + key = toPropertyKey(key); // Shortcircuit the slow defineProperty path when possible. // We are trying to avoid issues where setters defined on the // prototype cause side effects under the fast path of simple @@ -324,25 +306,25 @@ return _extends.apply(this, arguments); } -`;i.objectSpread=helper("7.0.0-beta.0")` - import defineProperty from "defineProperty"; +`;{i.objectSpread=helper("7.0.0-beta.0")` + import defineProperty from "defineProperty"; - export default function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = (arguments[i] != null) ? Object(arguments[i]) : {}; - var ownKeys = Object.keys(source); - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); + export default function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = (arguments[i] != null) ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + })); + } + ownKeys.forEach(function(key) { + defineProperty(target, key, source[key]); + }); } - ownKeys.forEach(function(key) { - defineProperty(target, key, source[key]); - }); + return target; } - return target; - } -`;i.inherits=helper("7.0.0-beta.0")` + `}i.inherits=helper("7.0.0-beta.0")` import setPrototypeOf from "setPrototypeOf"; export default function _inherits(subClass, superClass) { @@ -543,7 +525,7 @@ } `;i.objectDestructuringEmpty=helper("7.0.0-beta.0")` export default function _objectDestructuringEmpty(obj) { - if (obj == null) throw new TypeError("Cannot destructure undefined"); + if (obj == null) throw new TypeError("Cannot destructure " + obj); } `;i.objectWithoutPropertiesLoose=helper("7.0.0-beta.0")` export default function _objectWithoutPropertiesLoose(source, excluded) { @@ -705,7 +687,7 @@ export default function _set(target, property, value, receiver, isStrict) { var s = set(target, property, value, receiver || target); if (!s && isStrict) { - throw new Error('failed to set property'); + throw new TypeError('failed to set property'); } return value; @@ -733,7 +715,7 @@ } `;i.classNameTDZError=helper("7.0.0-beta.0")` export default function _classNameTDZError(name) { - throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); + throw new ReferenceError("Class \\"" + name + "\\" cannot be referenced in computed property keys."); } `;i.temporalUndefined=helper("7.0.0-beta.0")` // This function isn't mean to be called, but to be used as a reference. @@ -830,54 +812,6 @@ export default function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -`;i.iterableToArrayLimit=helper("7.0.0-beta.0")` - export default function _iterableToArrayLimit(arr, i) { - // this is an expanded form of \`for...of\` that properly supports abrupt completions of - // iterators etc. variable names have been minimised to reduce the size of this massive - // helper. sometimes spec compliance is annoying :( - // - // _n = _iteratorNormalCompletion - // _d = _didIteratorError - // _e = _iteratorError - // _i = _iterator - // _s = _step - - var _i = arr == null ? null : (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); - if (_i == null) return; - - var _arr = []; - var _n = true; - var _d = false; - var _s, _e; - try { - for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"] != null) _i["return"](); - } finally { - if (_d) throw _e; - } - } - return _arr; - } -`;i.iterableToArrayLimitLoose=helper("7.0.0-beta.0")` - export default function _iterableToArrayLimitLoose(arr, i) { - var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); - if (_i == null) return; - - var _arr = []; - for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) { - _arr.push(_step.value); - if (i && _arr.length === i) break; - } - return _arr; - } `;i.unsupportedIterableToArray=helper("7.9.0")` import arrayLikeToArray from "arrayLikeToArray"; @@ -1024,7 +958,7 @@ export default function _initializerWarningHelper(descriptor, context){ throw new Error( 'Decorating class property failed. Please ensure that ' + - 'proposal-class-properties is enabled and runs after the decorators transform.' + 'transform-class-properties is enabled and runs after the decorators transform.' ); } `;i.initializerDefineProperty=helper("7.0.0-beta.0")` @@ -1907,4 +1841,31 @@ export default function _identity(x) { return x; } -`},5262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.ensure=ensure;t.get=get;t.getDependencies=getDependencies;t.list=void 0;t.minVersion=minVersion;var n=r(7734);var s=r(6953);var i=r(6337);const{assignmentExpression:a,cloneNode:o,expressionStatement:l,file:c,identifier:u}=s;function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let p=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const c=[];const u=[];const p={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(!t.isFunctionDeclaration()||!t.node.id){throw t.buildCodeFrameError("Helpers can only export named function declarations")}a=t.node.id.name;o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isModuleDeclaration())return;e.skip()}};const f={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach((e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)}))},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r);if(!n){t.add(r)}else if(s.has(n.identifier)){u.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,p,e.scope);(0,n.default)(e.ast,f,e.scope);if(!o)throw new Error("Helpers must have a default export.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:u,importPaths:c}}function permuteHelperAST(e,t,r,n,s){if(n&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:i,dependencies:c,exportBindingAssignments:p,exportPath:f,exportName:d,importBindingsReferences:h,importPaths:m}=t;const y={};c.forEach(((e,t)=>{y[t.name]=typeof s==="function"&&s(e)||t}));const g={};const b=new Set(n||[]);i.forEach((e=>{let t=e;while(b.has(t))t="_"+t;if(t!==e)g[e]=t}));if(r.type==="Identifier"&&d!==r.name){g[d]=r.name}const{path:T}=e;const S=T.get(f);const E=m.map((e=>T.get(e)));const x=h.map((e=>T.get(e)));const v=S.get("declaration");if(r.type==="Identifier"){S.replaceWith(v)}else if(r.type==="MemberExpression"){p.forEach((e=>{const t=T.get(e);t.replaceWith(a("=",r,t.node))}));S.replaceWith(v);T.pushContainer("body",l(a("=",r,u(d))))}else{throw new Error("Unexpected helper format.")}Object.keys(g).forEach((e=>{T.scope.rename(e,g[e])}));for(const e of E)e.remove();for(const e of x){const t=o(y[e.node.name]);e.replaceWith(t)}}const f=Object.create(null);function loadHelper(e){if(!f[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const fn=()=>{{if(!p){const e={ast:c(t.ast()),path:null};(0,n.default)(e.ast,{Program:t=>(e.path=t).stop()});return e}}return new p({filename:`babel-helper://${e}`},{ast:c(t.ast()),code:"[internal Babel helper code]",inputMap:null})};let r=null;f[e]={minVersion:t.minVersion,build(e,t,n){const s=fn();r||(r=getHelperMetadata(s));permuteHelperAST(s,r,t,n,e);return{nodes:s.ast.program.body,globals:r.globals}},getDependencies(){r||(r=getHelperMetadata(fn()));return Array.from(r.dependencies.values())}}}return f[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion}function getDependencies(e){return loadHelper(e).getDependencies()}function ensure(e,t){p||(p=t);loadHelper(e)}const d=Object.keys(i.default).map((e=>e.replace(/^_/,"")));t.list=d;var h=get;t["default"]=h},9038:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=highlight;t.getChalk=getChalk;t.shouldHighlight=shouldHighlight;var n=r(8874);var s=r(7239);var i=r(6148);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.substr(r-2,2)=="</")){return"jsxIdentifier"}if(t.value[0]!==t.value[0].toLowerCase()){return"capitalized"}}if(t.type==="punctuator"&&l.test(t.value)){return"bracket"}if(t.type==="invalid"&&(t.value==="@"||t.value==="#")){return"punctuator"}return t.type};c=function*(e){let t;while(t=n.default.exec(e)){const r=n.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}}}function highlightTokens(e,t){let r="";for(const{type:n,value:s}of c(t)){const t=e[n];if(t){r+=s.split(o).map((e=>t(e))).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(e!==""&&shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},9113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}class Position{constructor(e,t,r){this.line=void 0;this.column=void 0;this.index=void 0;this.line=e;this.column=t;this.index=r}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function createPositionWithColumnOffset(e,t){const{line:r,column:n,index:s}=e;return new Position(r,n+t,s+t)}const r=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"});const reflect=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,n,s)=>s===t?e[n]=r:e[n]),this)}});const instantiate=(e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,typeof t==="function"?{value:t,enumerable:false}:typeof t.reflect==="string"?Object.assign({},t,reflect(t.reflect.split("."))):t])).reduce(((e,[t,r])=>Object.defineProperty(e,t,Object.assign({configurable:true},r))),Object.assign(new e,t));var ModuleErrors=e=>({ImportMetaOutsideModule:e(`import.meta may appear only with 'sourceType: "module"'`,{code:r.SourceTypeModuleError}),ImportOutsideModule:e(`'import' and 'export' may appear only with 'sourceType: "module"'`,{code:r.SourceTypeModuleError})});const n={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"};const toNodeDescription=({type:e,prefix:t})=>e==="UpdateExpression"?n.UpdateExpression[String(t)]:n[e];var StandardErrors=e=>({AccessorIsGenerator:e((({kind:e})=>`A ${e}ter cannot be a generator.`)),ArgumentsInClass:e("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:e("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:e("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:e("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:e("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:e("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:e("'await' is only allowed within async functions."),BadGetterArity:e("A 'get' accesor must not have any formal parameters."),BadSetterArity:e("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:e("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:e("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:e("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:e("Class constructor may not be an accessor."),ConstructorIsAsync:e("Constructor can't be an async function."),ConstructorIsGenerator:e("Constructor can't be a generator."),DeclarationMissingInitializer:e((({kind:e})=>`Missing initializer in ${e} declaration.`)),DecoratorBeforeExport:e("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:e("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:e("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:e("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:e("Decorators can't be used with a static block."),DeletePrivateField:e("Deleting a private field is not allowed."),DestructureNamedImport:e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:e("Duplicate constructor in the same class."),DuplicateDefaultExport:e("Only one default export allowed per module."),DuplicateExport:e((({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`)),DuplicateProto:e("Redefinition of __proto__ property."),DuplicateRegExpFlags:e("Duplicate regular expression flag."),ElementAfterRest:e("Rest element must be last element."),EscapedCharNotAnIdentifier:e("Invalid Unicode escape."),ExportBindingIsString:e((({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`)),ExportDefaultFromAsIdentifier:e("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:e((({type:e})=>`'${e==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`)),ForOfAsync:e("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:e("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:e("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:e((({type:e})=>`Unsyntactic ${e==="BreakStatement"?"break":"continue"}.`)),IllegalLanguageModeDirective:e("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:e("'return' outside of function."),ImportBindingIsString:e((({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`)),ImportCallArgumentTrailingComma:e("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:e((({maxArgumentCount:e})=>`\`import()\` requires exactly ${e===1?"one argument":"one or two arguments"}.`)),ImportCallNotNewExpression:e("Cannot use new with import(...)."),ImportCallSpreadArgument:e("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:e("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:e("Invalid BigIntLiteral."),InvalidCodePoint:e("Code point out of bounds."),InvalidCoverInitializedName:e("Invalid shorthand property initializer."),InvalidDecimal:e("Invalid decimal."),InvalidDigit:e((({radix:e})=>`Expected number in radix ${e}.`)),InvalidEscapeSequence:e("Bad character escape sequence."),InvalidEscapeSequenceTemplate:e("Invalid escape sequence in template."),InvalidEscapedReservedWord:e((({reservedWord:e})=>`Escape sequence in keyword ${e}.`)),InvalidIdentifier:e((({identifierName:e})=>`Invalid identifier ${e}.`)),InvalidLhs:e((({ancestor:e})=>`Invalid left-hand side in ${toNodeDescription(e)}.`)),InvalidLhsBinding:e((({ancestor:e})=>`Binding invalid left-hand side in ${toNodeDescription(e)}.`)),InvalidNumber:e("Invalid number."),InvalidOrMissingExponent:e("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:e((({unexpected:e})=>`Unexpected character '${e}'.`)),InvalidParenthesizedAssignment:e("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:e((({identifierName:e})=>`Private name #${e} is not defined.`)),InvalidPropertyBindingPattern:e("Binding member expression."),InvalidRecordProperty:e("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:e("Invalid rest operator's argument."),LabelRedeclaration:e((({labelName:e})=>`Label '${e}' is already declared.`)),LetInLexicalBinding:e("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:e("No line break is allowed before '=>'."),MalformedRegExpFlags:e("Invalid regular expression flag."),MissingClassName:e("A class name is required."),MissingEqInAssignment:e("Only '=' operator can be used for specifying default value."),MissingSemicolon:e("Missing semicolon."),MissingPlugin:e((({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`)),MissingOneOfPlugins:e((({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).join(", ")}.`)),MissingUnicodeEscape:e("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:e("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:e("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:e("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:e((({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`)),ModuleExportNameHasLoneSurrogate:e((({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`)),ModuleExportUndefined:e((({localName:e})=>`Export '${e}' is not defined.`)),MultipleDefaultsInSwitch:e("Multiple default clauses."),NewlineAfterThrow:e("Illegal newline after throw."),NoCatchOrFinally:e("Missing catch or finally clause."),NumberIdentifier:e("Identifier directly after number."),NumericSeparatorInEscapeSequence:e("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:e("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:e("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:e("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:e("'override' modifier cannot appear on a constructor declaration."),ParamDupe:e("Argument name clash."),PatternHasAccessor:e("Object pattern can't contain getter or setter."),PatternHasMethod:e("Object pattern can't contain methods."),PrivateInExpectedIn:e((({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`)),PrivateNameRedeclaration:e((({identifierName:e})=>`Duplicate private name #${e}.`)),RecordExpressionBarIncorrectEndSyntaxType:e("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:e("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:e("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:e("'__proto__' is not allowed in Record expressions."),RestTrailingComma:e("Unexpected trailing comma after rest element."),SloppyFunction:e("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:e("Classes may not have static property named prototype."),SuperNotAllowed:e("`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:e("Private fields can't be accessed on super."),TrailingDecorator:e("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:e("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:e("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:e("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:e("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:e('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:e("Unexpected digit after hash token."),UnexpectedImportExport:e("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:e((({keyword:e})=>`Unexpected keyword '${e}'.`)),UnexpectedLeadingDecorator:e("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:e("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:e("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:e("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:e("Unexpected private name."),UnexpectedReservedWord:e((({reservedWord:e})=>`Unexpected reserved word '${e}'.`)),UnexpectedSuper:e("'super' is only allowed in object methods and classes."),UnexpectedToken:e((({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`)),UnexpectedTokenUnaryExponentiation:e("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:e("Binding should be performed on object property."),UnsupportedDecoratorExport:e("A decorated export must export a class declaration."),UnsupportedDefaultExport:e("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:e("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:e((({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`)),UnsupportedParameterDecorator:e("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:e("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:e("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:e("Unterminated comment."),UnterminatedRegExp:e("Unterminated regular expression."),UnterminatedString:e("Unterminated string constant."),UnterminatedTemplate:e("Unterminated template."),VarRedeclaration:e((({identifierName:e})=>`Identifier '${e}' has already been declared.`)),YieldBindingIdentifier:e("Can not use 'yield' as identifier inside a generator."),YieldInParameter:e("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:e("Numeric separator can not be used after leading 0.")});var StrictModeErrors=e=>({StrictDelete:e("Deleting local variable in strict mode."),StrictEvalArguments:e((({referenceName:e})=>`Assigning to '${e}' in strict mode.`)),StrictEvalArgumentsBinding:e((({bindingName:e})=>`Binding '${e}' in strict mode.`)),StrictFunction:e("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:e("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:e("Legacy octal literals are not allowed in strict mode."),StrictWith:e("'with' in strict mode.")});const s=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var PipelineOperatorErrors=e=>({PipeBodyIsTighter:e("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:e("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:e((({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`)),PipeTopicUnused:e("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:e((({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${toNodeDescription({type:e})}; please wrap it in parentheses.`)),PipelineBodyNoArrow:e('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:e("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:e("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:e("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:e("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')});const i=["toMessage"];function toParseErrorConstructor(e){let{toMessage:t}=e,r=_objectWithoutPropertiesLoose(e,i);return function constructor({loc:e,details:n}){return instantiate(SyntaxError,Object.assign({},r,{loc:e}),{clone(e={}){const t=e.loc||{};return constructor({loc:new Position("line"in t?t.line:this.loc.line,"column"in t?t.column:this.loc.column,"index"in t?t.index:this.loc.index),details:Object.assign({},this.details,e.details)})},details:{value:n,enumerable:false},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:true},missingPlugin:"missingPlugin"in n&&{reflect:"details.missingPlugin",enumerable:true}})}}function toParseErrorCredentials(e,t){return Object.assign({toMessage:typeof e==="string"?()=>e:e},t)}function ParseErrorEnum(e,t){if(Array.isArray(e)){return t=>ParseErrorEnum(t,e[0])}const n=e(toParseErrorCredentials);const s={};for(const e of Object.keys(n)){s[e]=toParseErrorConstructor(Object.assign({code:r.SyntaxError,reasonCode:e},t?{syntaxPlugin:t}:{},n[e]))}return s}const a=Object.assign({},ParseErrorEnum(ModuleErrors),ParseErrorEnum(StandardErrors),ParseErrorEnum(StrictModeErrors),ParseErrorEnum`pipelineOperator`(PipelineOperatorErrors));const{defineProperty:o}=Object;const toUnenumerable=(e,t)=>o(e,t,{enumerable:false,value:e[t]});function toESTreeLocation(e){toUnenumerable(e.loc.start,"index");toUnenumerable(e.loc.end,"index");return e}var estree=e=>class extends e{parse(){const e=toESTreeLocation(super.parse());if(this.options.tokens){e.tokens=e.tokens.map(toESTreeLocation)}return e}parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;const r=this.startNodeAt(e.start,e.loc.start);const n=this.startNodeAt(t.start,t.loc.start);n.value=t.extra.expressionValue;n.raw=t.extra.raw;r.expression=this.finishNodeAt(n,"Literal",t.loc.end);r.directive=t.extra.raw.slice(1,-1);return this.finishNodeAt(r,"ExpressionStatement",e.loc.end)}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map((e=>this.directiveToStmt(e)));e.body=r.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();{if(!this.getPluginOption("estree","classFeatures")){return e}}return this.convertPrivateNameToPrivateIdentifier(e)}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){{if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){{if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}i="MethodDefinition";return this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);{if(!this.getPluginOption("estree","classFeatures")){return t}}t.type="PropertyDefinition";return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);{if(!this.getPluginOption("estree","classFeatures")){return t}}t.type="PropertyDefinition";t.computed=false;return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method")i.kind="init";i.shorthand=false}return i}parseObjectProperty(e,t,r,n,s){const i=super.parseObjectProperty(e,t,r,n,s);if(i){i.kind="init";i.type="Property"}return i}isValidLVal(e,...t){return e==="Property"?"value":super.isValidLVal(e,...t)}isAssignable(e,t){if(e!=null&&this.isObjectProperty(e)){return this.isAssignable(e.value,t)}return super.isAssignable(e,t)}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){const{key:r,value:n}=e;if(this.isPrivateName(r)){this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start)}this.toAssignable(n,t)}else{super.toAssignable(e,t)}}toAssignableObjectExpressionProp(e){if(e.kind==="get"||e.kind==="set"){this.raise(a.PatternHasAccessor,{at:e.key})}else if(e.method){this.raise(a.PatternHasMethod,{at:e.key})}else{super.toAssignableObjectExpressionProp(...arguments)}}finishCallExpression(e,t){super.finishCallExpression(e,t);if(e.callee.type==="Import"){e.type="ImportExpression";e.source=e.arguments[0];if(this.hasPlugin("importAssertions")){var r;e.attributes=(r=e.arguments[1])!=null?r:null}delete e.arguments;delete e.callee}return e}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e){super.parseExport(e);switch(e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":if(e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"){e.type="ExportAllDeclaration";e.exported=e.specifiers[0].exported;delete e.specifiers}break}return e}parseSubscript(e,t,r,n,s){const i=super.parseSubscript(e,t,r,n,s);if(s.optionalChainMember){if(i.type==="OptionalMemberExpression"||i.type==="OptionalCallExpression"){i.type=i.type.substring(8)}if(s.stop){const e=this.startNodeAtNode(i);e.expression=i;return this.finishNode(e,"ChainExpression")}}else if(i.type==="MemberExpression"||i.type==="CallExpression"){i.optional=false}return i}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}finishNodeAt(e,t,r){return toESTreeLocation(super.finishNodeAt(e,t,r))}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t);toESTreeLocation(e)}};class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const l={brace:new TokContext("{"),j_oTag:new TokContext("<tag"),j_cTag:new TokContext("</tag"),j_expr:new TokContext("<tag>...</tag>",true)};{l.template=new TokContext("`",true)}const c=true;const u=true;const p=true;const f=true;const d=true;const h=true;class ExportedTokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;{this.updateContext=null}}}const m=new Map;function createKeyword(e,t={}){t.keyword=e;const r=createToken(e,t);m.set(e,r);return r}function createBinop(e,t){return createToken(e,{beforeExpr:c,binop:t})}let y=-1;const g=[];const b=[];const T=[];const S=[];const E=[];const x=[];function createToken(e,t={}){var r,n,s,i;++y;b.push(e);T.push((r=t.binop)!=null?r:-1);S.push((n=t.beforeExpr)!=null?n:false);E.push((s=t.startsExpr)!=null?s:false);x.push((i=t.prefix)!=null?i:false);g.push(new ExportedTokenType(e,t));return y}function createKeywordLike(e,t={}){var r,n,s,i;++y;m.set(e,y);b.push(e);T.push((r=t.binop)!=null?r:-1);S.push((n=t.beforeExpr)!=null?n:false);E.push((s=t.startsExpr)!=null?s:false);x.push((i=t.prefix)!=null?i:false);g.push(new ExportedTokenType("name",t));return y}const v={bracketL:createToken("[",{beforeExpr:c,startsExpr:u}),bracketHashL:createToken("#[",{beforeExpr:c,startsExpr:u}),bracketBarL:createToken("[|",{beforeExpr:c,startsExpr:u}),bracketR:createToken("]"),bracketBarR:createToken("|]"),braceL:createToken("{",{beforeExpr:c,startsExpr:u}),braceBarL:createToken("{|",{beforeExpr:c,startsExpr:u}),braceHashL:createToken("#{",{beforeExpr:c,startsExpr:u}),braceR:createToken("}"),braceBarR:createToken("|}"),parenL:createToken("(",{beforeExpr:c,startsExpr:u}),parenR:createToken(")"),comma:createToken(",",{beforeExpr:c}),semi:createToken(";",{beforeExpr:c}),colon:createToken(":",{beforeExpr:c}),doubleColon:createToken("::",{beforeExpr:c}),dot:createToken("."),question:createToken("?",{beforeExpr:c}),questionDot:createToken("?."),arrow:createToken("=>",{beforeExpr:c}),template:createToken("template"),ellipsis:createToken("...",{beforeExpr:c}),backQuote:createToken("`",{startsExpr:u}),dollarBraceL:createToken("${",{beforeExpr:c,startsExpr:u}),templateTail:createToken("...`",{startsExpr:u}),templateNonTail:createToken("...${",{beforeExpr:c,startsExpr:u}),at:createToken("@"),hash:createToken("#",{startsExpr:u}),interpreterDirective:createToken("#!..."),eq:createToken("=",{beforeExpr:c,isAssign:f}),assign:createToken("_=",{beforeExpr:c,isAssign:f}),slashAssign:createToken("_=",{beforeExpr:c,isAssign:f}),xorAssign:createToken("_=",{beforeExpr:c,isAssign:f}),moduloAssign:createToken("_=",{beforeExpr:c,isAssign:f}),incDec:createToken("++/--",{prefix:d,postfix:h,startsExpr:u}),bang:createToken("!",{beforeExpr:c,prefix:d,startsExpr:u}),tilde:createToken("~",{beforeExpr:c,prefix:d,startsExpr:u}),doubleCaret:createToken("^^",{startsExpr:u}),doubleAt:createToken("@@",{startsExpr:u}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),lt:createBinop("</>/<=/>=",7),gt:createBinop("</>/<=/>=",7),relational:createBinop("</>/<=/>=",7),bitShift:createBinop("<</>>/>>>",8),bitShiftL:createBinop("<</>>/>>>",8),bitShiftR:createBinop("<</>>/>>>",8),plusMin:createToken("+/-",{beforeExpr:c,binop:9,prefix:d,startsExpr:u}),modulo:createToken("%",{binop:10,startsExpr:u}),star:createToken("*",{binop:10}),slash:createBinop("/",10),exponent:createToken("**",{beforeExpr:c,binop:11,rightAssociative:true}),_in:createKeyword("in",{beforeExpr:c,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:c,binop:7}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:c}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:c}),_else:createKeyword("else",{beforeExpr:c}),_finally:createKeyword("finally"),_function:createKeyword("function",{startsExpr:u}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:c}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:c,prefix:d,startsExpr:u}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:c,startsExpr:u}),_this:createKeyword("this",{startsExpr:u}),_super:createKeyword("super",{startsExpr:u}),_class:createKeyword("class",{startsExpr:u}),_extends:createKeyword("extends",{beforeExpr:c}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:u}),_null:createKeyword("null",{startsExpr:u}),_true:createKeyword("true",{startsExpr:u}),_false:createKeyword("false",{startsExpr:u}),_typeof:createKeyword("typeof",{beforeExpr:c,prefix:d,startsExpr:u}),_void:createKeyword("void",{beforeExpr:c,prefix:d,startsExpr:u}),_delete:createKeyword("delete",{beforeExpr:c,prefix:d,startsExpr:u}),_do:createKeyword("do",{isLoop:p,beforeExpr:c}),_for:createKeyword("for",{isLoop:p}),_while:createKeyword("while",{isLoop:p}),_as:createKeywordLike("as",{startsExpr:u}),_assert:createKeywordLike("assert",{startsExpr:u}),_async:createKeywordLike("async",{startsExpr:u}),_await:createKeywordLike("await",{startsExpr:u}),_from:createKeywordLike("from",{startsExpr:u}),_get:createKeywordLike("get",{startsExpr:u}),_let:createKeywordLike("let",{startsExpr:u}),_meta:createKeywordLike("meta",{startsExpr:u}),_of:createKeywordLike("of",{startsExpr:u}),_sent:createKeywordLike("sent",{startsExpr:u}),_set:createKeywordLike("set",{startsExpr:u}),_static:createKeywordLike("static",{startsExpr:u}),_yield:createKeywordLike("yield",{startsExpr:u}),_asserts:createKeywordLike("asserts",{startsExpr:u}),_checks:createKeywordLike("checks",{startsExpr:u}),_exports:createKeywordLike("exports",{startsExpr:u}),_global:createKeywordLike("global",{startsExpr:u}),_implements:createKeywordLike("implements",{startsExpr:u}),_intrinsic:createKeywordLike("intrinsic",{startsExpr:u}),_infer:createKeywordLike("infer",{startsExpr:u}),_is:createKeywordLike("is",{startsExpr:u}),_mixins:createKeywordLike("mixins",{startsExpr:u}),_proto:createKeywordLike("proto",{startsExpr:u}),_require:createKeywordLike("require",{startsExpr:u}),_keyof:createKeywordLike("keyof",{startsExpr:u}),_readonly:createKeywordLike("readonly",{startsExpr:u}),_unique:createKeywordLike("unique",{startsExpr:u}),_abstract:createKeywordLike("abstract",{startsExpr:u}),_declare:createKeywordLike("declare",{startsExpr:u}),_enum:createKeywordLike("enum",{startsExpr:u}),_module:createKeywordLike("module",{startsExpr:u}),_namespace:createKeywordLike("namespace",{startsExpr:u}),_interface:createKeywordLike("interface",{startsExpr:u}),_type:createKeywordLike("type",{startsExpr:u}),_opaque:createKeywordLike("opaque",{startsExpr:u}),name:createToken("name",{startsExpr:u}),string:createToken("string",{startsExpr:u}),num:createToken("num",{startsExpr:u}),bigint:createToken("bigint",{startsExpr:u}),decimal:createToken("decimal",{startsExpr:u}),regexp:createToken("regexp",{startsExpr:u}),privateName:createToken("#name",{startsExpr:u}),eof:createToken("eof"),jsxName:createToken("jsxName"),jsxText:createToken("jsxText",{beforeExpr:true}),jsxTagStart:createToken("jsxTagStart",{startsExpr:true}),jsxTagEnd:createToken("jsxTagEnd"),placeholder:createToken("%%",{startsExpr:true})};function tokenIsIdentifier(e){return e>=93&&e<=128}function tokenKeywordOrIdentifierIsKeyword(e){return e<=92}function tokenIsKeywordOrIdentifier(e){return e>=58&&e<=128}function tokenIsLiteralPropertyName(e){return e>=58&&e<=132}function tokenComesBeforeExpression(e){return S[e]}function tokenCanStartExpression(e){return E[e]}function tokenIsAssignment(e){return e>=29&&e<=33}function tokenIsFlowInterfaceOrTypeOrOpaque(e){return e>=125&&e<=127}function tokenIsLoop(e){return e>=90&&e<=92}function tokenIsKeyword(e){return e>=58&&e<=92}function tokenIsOperator(e){return e>=39&&e<=59}function tokenIsPostfix(e){return e===34}function tokenIsPrefix(e){return x[e]}function tokenIsTSTypeOperator(e){return e>=117&&e<=119}function tokenIsTSDeclarationStart(e){return e>=120&&e<=126}function tokenLabelName(e){return b[e]}function tokenOperatorPrecedence(e){return T[e]}function tokenIsBinaryOperator(e){return T[e]!==-1}function tokenIsRightAssociative(e){return e===57}function tokenIsTemplate(e){return e>=24&&e<=25}function getExportedToken(e){return g[e]}{g[8].updateContext=e=>{e.pop()};g[5].updateContext=g[7].updateContext=g[23].updateContext=e=>{e.push(l.brace)};g[22].updateContext=e=>{if(e[e.length-1]===l.template){e.pop()}else{e.push(l.template)}};g[138].updateContext=e=>{e.push(l.j_expr,l.j_oTag)}}let P="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let A="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const w=new RegExp("["+P+"]");const I=new RegExp("["+P+A+"]");P=A=null;const C=[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];const O=[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];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&w.test(String.fromCharCode(e))}return isInAstralSet(e,C)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&I.test(String.fromCharCode(e))}return isInAstralSet(e,C)||isInAstralSet(e,O)}const k={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const N=new Set(k.keyword);const _=new Set(k.strict);const D=new Set(k.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||_.has(e)}function isStrictBindOnlyReservedWord(e){return D.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return N.has(e)}function isIteratorStart(e,t,r){return e===64&&t===64&&isIdentifierStart(r)}const M=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(e){return M.has(e)}const L=0,j=1,F=2,R=4,B=8,U=16,K=32,$=64,V=128,W=256,q=j|F|W;const G=1,H=2,X=4,J=8,z=16,Y=64,Q=128,Z=256,ee=512,te=1024,re=2048;const ne=G|H|J|Q,se=G|0|J|0,ie=G|0|X|0,ae=G|0|z|0,oe=0|H|0|Q,le=0|H|0|0,ce=G|H|J|Z,ue=0|0|0|te,pe=0|0|0|Y,fe=G|0|0|Y,de=ce|ee,he=0|0|0|te,me=re;const ye=4,ge=2,be=1,Te=ge|be;const Se=ge|ye,Ee=be|ye,xe=ge,ve=be,Pe=0;class BaseParser{constructor(){this.sawUnambiguousESM=false;this.ambiguousScriptDifferentAst=false}hasPlugin(e){if(typeof e==="string"){return this.plugins.has(e)}else{const[t,r]=e;if(!this.hasPlugin(t)){return false}const n=this.plugins.get(t);for(const e of Object.keys(r)){if((n==null?void 0:n[e])!==r[e]){return false}}return true}}getPluginOption(e,t){var r;return(r=this.plugins.get(e))==null?void 0:r[t]}}function setTrailingComments(e,t){if(e.trailingComments===undefined){e.trailingComments=t}else{e.trailingComments.unshift(...t)}}function setLeadingComments(e,t){if(e.leadingComments===undefined){e.leadingComments=t}else{e.leadingComments.unshift(...t)}}function setInnerComments(e,t){if(e.innerComments===undefined){e.innerComments=t}else{e.innerComments.unshift(...t)}}function adjustInnerComments(e,t,r){let n=null;let s=t.length;while(n===null&&s>0){n=t[--s]}if(n===null||n.start>r.start){setInnerComments(e,r.comments)}else{setTrailingComments(n,r.comments)}}class CommentsParser extends BaseParser{addComment(e){if(this.filename)e.loc.filename=this.filename;this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state;const r=t.length;if(r===0)return;let n=r-1;const s=t[n];if(s.start===e.end){s.leadingNode=e;n--}const{start:i}=e;for(;n>=0;n--){const r=t[n];const s=r.end;if(s>i){r.containingNode=e;this.finalizeComment(r);t.splice(n,1)}else{if(s===i){r.trailingNode=e}break}}}finalizeComment(e){const{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null){if(e.leadingNode!==null){setTrailingComments(e.leadingNode,t)}if(e.trailingNode!==null){setLeadingComments(e.trailingNode,t)}}else{const{containingNode:r,start:n}=e;if(this.input.charCodeAt(n-1)===44){switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(r,r.specifiers,e);break;default:{setInnerComments(r,t)}}}else{setInnerComments(r,t)}}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--){this.finalizeComment(e[t])}this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state;const{length:r}=t;if(r===0)return;const n=t[r-1];if(n.leadingNode===e){n.leadingNode=null}}takeSurroundingComments(e,t,r){const{commentStack:n}=this.state;const s=n.length;if(s===0)return;let i=s-1;for(;i>=0;i--){const s=n[i];const a=s.end;const o=s.start;if(o===r){s.leadingNode=e}else if(a===t){s.trailingNode=e}else if(a<t){break}}}}const Ae=/\r\n?|[\n\u2028\u2029]/;const we=new RegExp(Ae.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const Ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;const Ce=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y;const Oe=new RegExp("(?=("+Ce.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class State{constructor(){this.strict=void 0;this.curLine=void 0;this.lineStart=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inType=false;this.noAnonFunctionType=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.inDisallowConditionalTypesContext=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.decoratorStack=[[]];this.comments=[];this.commentStack=[];this.pos=0;this.type=135;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.context=[l.brace];this.canStartJSXElement=true;this.containsEsc=false;this.strictErrors=new Map;this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:n}){this.strict=e===false?false:e===true?true:t==="module";this.curLine=r;this.lineStart=-n;this.startLoc=this.endLoc=new Position(r,n,0)}curPosition(){return new Position(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n<s;n++){const s=r[n];let i=this[s];if(!e&&Array.isArray(i)){i=i.slice()}t[s]=i}return t}}const ke=["at"],Ne=["at"];var _e=function isDigit(e){return e>=48&&e<=57};const De=new Set([103,109,115,105,121,117,100,118]);const Me={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])};const Le={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends CommentsParser{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){Ie.lastIndex=e;return Ie.test(this.input)?Ie.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++e<this.input.length){const r=this.input.charCodeAt(e);if((r&64512)===56320){t=65536+((t&1023)<<10)+(r&1023)}}return t}setStrict(e){this.state.strict=e;if(e){this.state.strictErrors.forEach((([e,t])=>this.raise(e,{at:t})));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(135);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;if(!this.isLookahead)e=this.state.curPosition();const t=this.state.pos;const r=this.input.indexOf("*/",t+2);if(r===-1){throw this.raise(a.UnterminatedComment,{at:this.state.curPosition()})}this.state.pos=r+2;we.lastIndex=t+2;while(we.test(this.input)&&we.lastIndex<=r){++this.state.curLine;this.state.lineStart=we.lastIndex}if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new SourceLocation(e,this.state.curPosition())};if(this.options.tokens)this.pushToken(n);return n}skipLineComment(e){const t=this.state.pos;let r;if(!this.isLookahead)r=this.state.curPosition();let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length){while(!isNewLine(n)&&++this.state.pos<this.length){n=this.input.charCodeAt(this.state.pos)}}if(this.isLookahead)return;const s=this.state.pos;const i=this.input.slice(t+e,s);const a={type:"CommentLine",value:i,start:t,end:s,loc:new SourceLocation(r,this.state.curPosition())};if(this.options.tokens)this.pushToken(a);return a}skipSpace(){const e=this.state.pos;const t=[];e:while(this.state.pos<this.length){const r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:if(this.input.charCodeAt(this.state.pos+1)===10){++this.state.pos}case 10:case 8232:case 8233:++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const e=this.skipBlockComment();if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}break}case 47:{const e=this.skipLineComment(2);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}break}default:break e}break;default:if(isWhitespace(r)){++this.state.pos}else if(r===45&&!this.inModule){const r=this.state.pos;if(this.input.charCodeAt(r+1)===45&&this.input.charCodeAt(r+2)===62&&(e===0||this.state.lineStart>e)){const e=this.skipLineComment(3);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else if(r===60&&!this.inModule){const e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){const e=this.skipLineComment(4);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else{break e}}}if(t.length>0){const r=this.state.pos;const n={start:e,end:r,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos;this.state.endLoc=this.state.curPosition();const r=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.updateContext(r)}}replaceToken(e){this.state.type=e;this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter()){return}const e=this.state.pos+1;const t=this.codePointAtPos(e);if(t>=48&&t<=57){throw this.raise(a.UnexpectedDigitAfterHash,{at:this.state.curPosition()})}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")!=="hash"){throw this.raise(t===123?a.RecordExpressionHashIncorrectStartSyntaxType:a.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;if(t===123){this.finishToken(7)}else{this.finishToken(1)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(134,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(134,this.readWord1())}else{this.finishOp(27,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(21)}else{++this.state.pos;this.finishToken(16)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(31,2)}else{this.finishOp(56,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos<this.length){e=this.input.charCodeAt(this.state.pos)}const r=this.input.slice(t+2,this.state.pos);this.finishToken(28,r);return true}readToken_mult_modulo(e){let t=e===42?55:54;let r=1;let n=this.input.charCodeAt(this.state.pos+1);if(e===42&&n===42){r++;n=this.input.charCodeAt(this.state.pos+2);t=57}if(n===61&&!this.state.inType){r++;t=e===37?33:30}this.finishOp(t,r)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===e){if(this.input.charCodeAt(this.state.pos+2)===61){this.finishOp(30,3)}else{this.finishOp(e===124?41:42,2)}return}if(e===124){if(t===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&t===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(a.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&t===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(a.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(4);return}}if(t===61){this.finishOp(30,2);return}this.finishOp(e===124?43:45,1)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61&&!this.state.inType){this.finishOp(32,2)}else if(e===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){this.finishOp(37,2);const e=this.input.codePointAt(this.state.pos);if(e===94){throw this.unexpected()}}else{this.finishOp(44,1)}}readToken_atSign(){const e=this.input.charCodeAt(this.state.pos+1);if(e===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])){this.finishOp(38,2)}else{this.finishOp(26,1)}}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.finishOp(34,2);return}if(t===61){this.finishOp(30,2)}else{this.finishOp(53,1)}}readToken_lt(){const{pos:e}=this.state;const t=this.input.charCodeAt(e+1);if(t===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(t===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:e}=this.state;const t=this.input.charCodeAt(e+1);if(t===62){const t=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+t)===61){this.finishOp(30,t+1);return}this.finishOp(52,t);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&t===62){this.state.pos+=2;this.finishToken(19);return}this.finishOp(e===61?29:35,1)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1);const t=this.input.charCodeAt(this.state.pos+2);if(e===63){if(t===61){this.finishOp(30,3)}else{this.finishOp(40,2)}}else if(e===46&&!(t>=48&&t<=57)){this.state.pos+=2;this.finishToken(18)}else{++this.state.pos;this.finishToken(17)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(10);return;case 41:++this.state.pos;this.finishToken(11);return;case 59:++this.state.pos;this.finishToken(13);return;case 44:++this.state.pos;this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(a.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(2)}else{++this.state.pos;this.finishToken(0)}return;case 93:++this.state.pos;this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(a.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(6)}else{++this.state.pos;this.finishToken(5)}return;case 125:++this.state.pos;this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(15,2)}else{++this.state.pos;this.finishToken(14)}return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(a.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.startLoc;const t=this.state.start+1;let r,n;let{pos:s}=this.state;for(;;++s){if(s>=this.length){throw this.raise(a.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}const t=this.input.charCodeAt(s);if(isNewLine(t)){throw this.raise(a.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}if(r){r=false}else{if(t===91){n=true}else if(t===93&&n){n=false}else if(t===47&&!n){break}r=t===92}}const i=this.input.slice(t,s);++s;let o="";const nextPos=()=>createPositionWithColumnOffset(e,s+2-t);while(s<this.length){const e=this.codePointAtPos(s);const t=String.fromCharCode(e);if(De.has(e)){if(e===118){this.expectPlugin("regexpUnicodeSets",nextPos());if(o.includes("u")){this.raise(a.IncompatibleRegExpUVFlags,{at:nextPos()})}}else if(e===117){if(o.includes("v")){this.raise(a.IncompatibleRegExpUVFlags,{at:nextPos()})}}if(o.includes(t)){this.raise(a.DuplicateRegExpFlags,{at:nextPos()})}}else if(isIdentifierChar(e)||e===92){this.raise(a.MalformedRegExpFlags,{at:nextPos()})}else{break}++s;o+=t}this.state.pos=s;this.finishToken(133,{pattern:i,flags:o})}readInt(e,t,r,n=true){const s=this.state.pos;const i=e===16?Me.hex:Me.decBinOct;const o=e===16?Le.hex:e===10?Le.dec:e===8?Le.oct:Le.bin;let l=false;let c=0;for(let s=0,u=t==null?Infinity:t;s<u;++s){const t=this.input.charCodeAt(this.state.pos);let s;if(t===95&&n!=="bail"){const e=this.input.charCodeAt(this.state.pos-1);const t=this.input.charCodeAt(this.state.pos+1);if(!n){this.raise(a.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()})}else if(Number.isNaN(t)||!o(t)||i.has(e)||i.has(t)){this.raise(a.UnexpectedNumericSeparator,{at:this.state.curPosition()})}++this.state.pos;continue}if(t>=97){s=t-97+10}else if(t>=65){s=t-65+10}else if(_e(t)){s=t-48}else{s=Infinity}if(s>=e){if(this.options.errorRecovery&&s<=9){s=0;this.raise(a.InvalidDigit,{at:this.state.curPosition(),radix:e})}else if(r){s=0;l=true}else{break}}++this.state.pos;c=c*e+s}if(this.state.pos===s||t!=null&&this.state.pos-s!==t||l){return null}return c}readRadixNumber(e){const t=this.state.curPosition();let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(a.InvalidDigit,{at:createPositionWithColumnOffset(t,2),radix:e})}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(a.InvalidDecimal,{at:t})}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(a.NumberIdentifier,{at:this.state.curPosition()})}if(r){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,e);return}this.finishToken(130,n)}readNumber(e){const t=this.state.pos;const r=this.state.curPosition();let n=false;let s=false;let i=false;let o=false;let l=false;if(!e&&this.readInt(10)===null){this.raise(a.InvalidNumber,{at:this.state.curPosition()})}const c=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(c){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(a.StrictOctalLiteral,{at:r});if(!this.state.strict){const t=e.indexOf("_");if(t>0){this.raise(a.ZeroDigitNumericSeparator,{at:createPositionWithColumnOffset(r,t)})}}l=c&&!/[89]/.test(e)}let u=this.input.charCodeAt(this.state.pos);if(u===46&&!l){++this.state.pos;this.readInt(10);n=true;u=this.input.charCodeAt(this.state.pos)}if((u===69||u===101)&&!l){u=this.input.charCodeAt(++this.state.pos);if(u===43||u===45){++this.state.pos}if(this.readInt(10)===null){this.raise(a.InvalidOrMissingExponent,{at:r})}n=true;o=true;u=this.input.charCodeAt(this.state.pos)}if(u===110){if(n||c){this.raise(a.InvalidBigIntLiteral,{at:r})}++this.state.pos;s=true}if(u===109){this.expectPlugin("decimal",this.state.curPosition());if(o||c){this.raise(a.InvalidDecimal,{at:r})}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(a.NumberIdentifier,{at:this.state.curPosition()})}const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(s){this.finishToken(131,p);return}if(i){this.finishToken(132,p);return}const f=l?parseInt(p,8):parseFloat(p);this.finishToken(130,f)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(t===123){++this.state.pos;r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,true,e);++this.state.pos;if(r!==null&&r>1114111){if(e){this.raise(a.InvalidCodePoint,{at:this.state.curPosition()})}else{return null}}}else{r=this.readHexChar(4,false,e)}return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(a.UnterminatedString,{at:this.state.startLoc})}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===92){t+=this.input.slice(r,this.state.pos);t+=this.readEscapedChar(false);r=this.state.pos}else if(n===8232||n===8233){++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos}else if(isNewLine(n)){throw this.raise(a.UnterminatedString,{at:this.state.startLoc})}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(129,t)}readTemplateContinuation(){if(!this.match(8)){this.unexpected(null,8)}this.state.pos--;this.readTemplateToken()}readTemplateToken(){let e="",t=this.state.pos,r=false;++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(a.UnterminatedTemplate,{at:createPositionWithColumnOffset(this.state.startLoc,1)})}const n=this.input.charCodeAt(this.state.pos);if(n===96){++this.state.pos;e+=this.input.slice(t,this.state.pos);this.finishToken(24,r?null:e);return}if(n===36&&this.input.charCodeAt(this.state.pos+1)===123){this.state.pos+=2;e+=this.input.slice(t,this.state.pos);this.finishToken(25,r?null:e);return}if(n===92){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(true);if(n===null){r=true}else{e+=n}t=this.state.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.state.pos);++this.state.pos;switch(n){case 13:if(this.input.charCodeAt(this.state.pos)===10){++this.state.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}++this.state.curLine;this.state.lineStart=this.state.pos;t=this.state.pos}else{++this.state.pos}}}recordStrictModeErrors(e,{at:t}){const r=t.index;if(this.state.strict&&!this.state.strictErrors.has(r)){this.raise(e,{at:t})}else{this.state.strictErrors.set(r,[e,t])}}readEscapedChar(e){const t=!e;const r=this.input.charCodeAt(++this.state.pos);++this.state.pos;switch(r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,false,t);return e===null?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return e===null?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";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(e){return null}else{this.recordStrictModeErrors(a.StrictNumericEscape,{at:createPositionWithColumnOffset(this.state.curPosition(),-1)})}default:if(r>=48&&r<=55){const t=createPositionWithColumnOffset(this.state.curPosition(),-1);const r=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/);let n=r[0];let s=parseInt(n,8);if(s>255){n=n.slice(0,-1);s=parseInt(n,8)}this.state.pos+=n.length-1;const i=this.input.charCodeAt(this.state.pos);if(n!=="0"||i===56||i===57){if(e){return null}else{this.recordStrictModeErrors(a.StrictNumericEscape,{at:t})}}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.curPosition();const s=this.readInt(16,e,t,false);if(s===null){if(r){this.raise(a.InvalidEscapeSequence,{at:n})}else{this.state.pos=n.index-1}}return s}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos<this.length){const e=this.codePointAtPos(this.state.pos);if(isIdentifierChar(e)){this.state.pos+=e<=65535?1:2}else if(e===92){this.state.containsEsc=true;t+=this.input.slice(n,this.state.pos);const e=this.state.curPosition();const s=this.state.pos===r?isIdentifierStart:isIdentifierChar;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(a.MissingUnicodeEscape,{at:this.state.curPosition()});n=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(true);if(i!==null){if(!s(i)){this.raise(a.EscapedCharNotAnIdentifier,{at:e})}t+=String.fromCodePoint(i)}n=this.state.pos}else{break}}return t+this.input.slice(n,this.state.pos)}readWord(e){const t=this.readWord1(e);const r=m.get(t);if(r!==undefined){this.finishToken(r,tokenLabelName(r))}else{this.finishToken(128,t)}}checkKeywordEscapes(){const{type:e}=this.state;if(tokenIsKeyword(e)&&this.state.containsEsc){this.raise(a.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:tokenLabelName(e)})}}raise(e,t){const{at:r}=t,n=_objectWithoutPropertiesLoose(t,ke);const s=r instanceof Position?r:r.loc.start;const i=e({loc:s,details:n});if(!this.options.errorRecovery)throw i;if(!this.isLookahead)this.state.errors.push(i);return i}raiseOverwrite(e,t){const{at:r}=t,n=_objectWithoutPropertiesLoose(t,Ne);const s=r instanceof Position?r:r.loc.start;const i=s.index;const a=this.state.errors;for(let t=a.length-1;t>=0;t--){const r=a[t];if(r.loc.index===i){return a[t]=e({loc:s,details:n})}if(r.loc.index<i)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(a.UnexpectedToken,{expected:t?tokenLabelName(t):null,at:e!=null?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e)){return true}throw this.raise(a.MissingPlugin,{at:t!=null?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e)))){throw this.raise(a.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}}}class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.parser=void 0;this.scopeStack=[];this.inModule=void 0;this.undefinedExports=new Map;this.parser=e;this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&F)>0}get allowSuper(){return(this.currentThisScopeFlags()&U)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&K)>0}get inClass(){return(this.currentThisScopeFlags()&$)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&$)>0&&(e&F)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&V){return true}if(t&(q|$)){return false}}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&F)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&(F|V)||!this.parser.inModule&&e.flags&j)}declareName(e,t,r){let n=this.currentScope();if(t&J||t&z){this.checkRedeclarationInScope(n,e,t,r);if(t&z){n.functions.add(e)}else{n.lexical.add(e)}if(t&J){this.maybeExportDefined(n,e)}}else if(t&X){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&q)break}}if(this.parser.inModule&&n.flags&j){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.parser.inModule&&e.flags&j){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.parser.raise(a.VarRedeclaration,{at:n,identifierName:t})}}isRedeclaredInScope(e,t,r){if(!(r&G))return false;if(r&J){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&z){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&B&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.loc.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&q){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(q|$)&&!(t&R)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&re){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(...arguments))return true;if(r&re){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}class ClassScope{constructor(){this.privateNames=new Set;this.loneAccessors=new Map;this.undefinedPrivateNames=new Map}}class ClassScopeHandler{constructor(e){this.parser=void 0;this.stack=[];this.undefinedPrivateNames=new Map;this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ClassScope)}exit(){const e=this.stack.pop();const t=this.current();for(const[r,n]of Array.from(e.undefinedPrivateNames)){if(t){if(!t.undefinedPrivateNames.has(r)){t.undefinedPrivateNames.set(r,n)}}else{this.parser.raise(a.InvalidPrivateFieldResolution,{at:n,identifierName:r})}}}declarePrivateName(e,t,r){const{privateNames:n,loneAccessors:s,undefinedPrivateNames:i}=this.current();let o=n.has(e);if(t&Te){const r=o&&s.get(e);if(r){const n=r&ye;const i=t&ye;const a=r&Te;const l=t&Te;o=a===l||n!==i;if(!o)s.delete(e)}else if(!o){s.set(e,t)}}if(o){this.parser.raise(a.PrivateNameRedeclaration,{at:r,identifierName:e})}n.add(e);i.delete(e)}usePrivateName(e,t){let r;for(r of this.stack){if(r.privateNames.has(e))return}if(r){r.undefinedPrivateNames.set(e,t)}else{this.parser.raise(a.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}}const je=0,Fe=1,Re=2,Be=3;class ExpressionScope{constructor(e=je){this.type=void 0;this.type=e}canBeArrowParameterDeclaration(){return this.type===Re||this.type===Fe}isCertainlyParameterDeclaration(){return this.type===Be}}class ArrowHeadParsingScope extends ExpressionScope{constructor(e){super(e);this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){const r=t.index;this.declarationErrors.set(r,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class ExpressionScopeHandler{constructor(e){this.parser=void 0;this.stack=[new ExpressionScope];this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){const r={at:t.loc.start};const{stack:n}=this;let s=n.length-1;let i=n[s];while(!i.isCertainlyParameterDeclaration()){if(i.canBeArrowParameterDeclaration()){i.recordDeclarationError(e,r)}else{return}i=n[--s]}this.parser.raise(e,r)}recordArrowParemeterBindingError(e,{at:t}){const{stack:r}=this;const n=r[r.length-1];const s={at:t.loc.start};if(n.isCertainlyParameterDeclaration()){this.parser.raise(e,s)}else if(n.canBeArrowParameterDeclaration()){n.recordDeclarationError(e,s)}else{return}}recordAsyncArrowParametersError({at:e}){const{stack:t}=this;let r=t.length-1;let n=t[r];while(n.canBeArrowParameterDeclaration()){if(n.type===Re){n.recordDeclarationError(a.AwaitBindingIdentifier,{at:e})}n=t[--r]}}validateAsPattern(){const{stack:e}=this;const t=e[e.length-1];if(!t.canBeArrowParameterDeclaration())return;t.iterateErrors((([t,r])=>{this.parser.raise(t,{at:r});let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r.index);s=e[--n]}}))}}function newParameterDeclarationScope(){return new ExpressionScope(Be)}function newArrowHeadScope(){return new ArrowHeadParsingScope(Fe)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Re)}function newExpressionScope(){return new ExpressionScope}const Ue=0,Ke=1,$e=2,Ve=4,We=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&$e)>0}get hasYield(){return(this.currentFlags()&Ke)>0}get hasReturn(){return(this.currentFlags()&Ve)>0}get hasIn(){return(this.currentFlags()&We)>0}}function functionFlags(e,t){return(e?$e:0)|(t?Ke:0)}class UtilParser extends Tokenizer{addExtra(e,t,r,n=true){if(!e)return;const s=e.extra=e.extra||{};if(n){s[t]=r}else{Object.defineProperty(s,t,{enumerable:n,value:r})}}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){if(this.isContextual(e)){this.next();return true}return false}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null){throw this.raise(t,{at:this.state.startLoc})}throw this.unexpected(null,e)}}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Ae.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){Oe.lastIndex=this.state.end;return Oe.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(13))return;this.raise(a.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e(((e=null)=>{r.node=e;throw r}));if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:s,optionalParametersLoc:i}=e;const o=!!r||!!n||!!i||!!s;if(!t){return o}if(r!=null){this.raise(a.InvalidCoverInitializedName,{at:r})}if(n!=null){this.raise(a.DuplicateProto,{at:n})}if(s!=null){this.raise(a.UnexpectedPrivateField,{at:s})}if(i!=null){this.unexpected(i)}}isLiteralPropertyName(){return tokenIsLiteralPropertyName(this.state.type)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this,e);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this);const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this);return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=Ue;if(this.inModule){e|=$e}this.scope.enter(j);this.prodParam.enter(e)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;if(t!==null){this.expectPlugin("destructuringPrivate",t)}}}class ExpressionErrors{constructor(){this.shorthandAssignLoc=null;this.doubleProtoLoc=null;this.privateKeyLoc=null;this.optionalParametersLoc=null}}class Node{constructor(e,t,r){this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}}const qe=Node.prototype;{qe.__clone=function(){const e=new Node;const t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){const n=t[r];if(n!=="leadingComments"&&n!=="trailingComments"&&n!=="innerComments"){e[n]=this[n]}}return e}}function clonePlaceholder(e){return cloneIdentifier(e)}function cloneIdentifier(e){const{type:t,start:r,end:n,loc:s,range:i,extra:a,name:o}=e;const l=Object.create(qe);l.type=t;l.start=r;l.end=n;l.loc=s;l.range=i;l.extra=a;l.name=o;if(t==="Placeholder"){l.expectedNode=e.expectedNode}return l}function cloneStringLiteral(e){const{type:t,start:r,end:n,loc:s,range:i,extra:a}=e;if(t==="Placeholder"){return clonePlaceholder(e)}const o=Object.create(qe);o.type=t;o.start=r;o.end=n;o.loc=s;o.range=i;if(e.raw!==undefined){o.raw=e.raw}else{o.extra=a}o.value=e.value;return o}class NodeUtils extends UtilParser{startNode(){return new Node(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new Node(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){e.type=t;e.end=r.index;e.loc.end=r;if(this.options.ranges)e.range[1]=r.index;if(this.options.attachComment)this.processComment(e);return e}resetStartLocation(e,t,r){e.start=t;e.loc.start=r;if(this.options.ranges)e.range[0]=t}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index;e.loc.end=t;if(this.options.ranges)e.range[1]=t.index}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.start,t.loc.start)}}const Ge=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const He=ParseErrorEnum`flow`((e=>({AmbiguousConditionalArrow:e("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:e("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:e((({reservedType:e})=>`Cannot overwrite reserved type ${e}.`)),DeclareClassElement:e("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:e("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:e("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:e((({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`)),EnumDuplicateMemberName:e((({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`)),EnumInconsistentMemberValues:e((({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`)),EnumInvalidExplicitType:e((({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`)),EnumInvalidExplicitTypeUnknownSupplied:e((({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`)),EnumInvalidMemberInitializerPrimaryType:e((({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`)),EnumInvalidMemberInitializerSymbolType:e((({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`)),EnumInvalidMemberInitializerUnknownType:e((({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`)),EnumInvalidMemberName:e((({enumName:e,memberName:t,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\`.`)),EnumNumberMemberNotInitialized:e((({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`)),EnumStringMemberInconsistentlyInitailized:e((({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`)),GetterMayNotHaveThisParam:e("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:e("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:e("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:e("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:e("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:e("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:e("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:e("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:e("Cannot have a flow comment inside another flow comment."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:e("A setter cannot have a `this` parameter."),SpreadVariance:e("Spread properties cannot have variance."),ThisParamAnnotationRequired:e("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:e("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:e("The `this` parameter cannot be optional."),ThisParamMustBeFirst:e("The `this` parameter must be the first function parameter."),ThisParamNoDefault:e("The `this` parameter may not have a default value."),TypeBeforeInitializer:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:e("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:e("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:e((({reservedType:e})=>`Unexpected reserved type ${e}.`)),UnexpectedReservedUnderscore:e("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:e("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:e("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:e('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:e("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:e("Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`."),UnsupportedDeclareExportKind:e((({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`)),UnsupportedStatementInDeclareModule:e("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:e("Unterminated flow-comment.")})));function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}function isMaybeDefaultImport(e){return tokenIsKeywordOrIdentifier(e)&&e!==97}const Xe={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s<e.length;s++){(t(e[s],s,e)?r:n).push(e[s])}return[r,n]}const Je=/\*?\s*@((?:no)?flow)\b/;var flow=e=>class extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==129&&e!==13&&e!==28){if(this.flowPragma===undefined){this.flowPragma=null}}return super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=Je.exec(e.value);if(!t);else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||14);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.startLoc;this.next();this.expectContextual(107);if(this.state.lastTokStart>t.index+1){this.raise(He.UnexpectedSpaceBetweenModuloChecks,{at:t})}if(this.eat(10)){e.value=this.parseExpression();this.expect(11);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(14);let t=null;let r=null;if(this.match(54)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(54)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.match(47)){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(10);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(11);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,me,e.id.loc.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80)){return this.flowParseDeclareClass(e)}else if(this.match(68)){return this.flowParseDeclareFunction(e)}else if(this.match(74)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual(123)){if(this.match(16)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(He.NestedDeclareModule,{at:this.state.lastTokStartLoc})}return this.flowParseDeclareModule(e)}}else if(this.isContextual(126)){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual(127)){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual(125)){return this.flowParseDeclareInterface(e)}else if(this.match(82)){return this.flowParseDeclareExportDeclaration(e,t)}else{throw this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,ie,e.id.loc.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(L);if(this.match(129)){e.id=this.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(5);while(!this.match(8)){let e=this.startNode();if(this.match(83)){this.next();if(!this.isContextual(126)&&!this.match(87)){this.raise(He.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc})}this.parseImport(e)}else{this.expectContextual(121,He.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(8);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach((e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(He.AmbiguousDeclareModuleKind,{at:e})}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(He.DuplicateDeclareModuleExports,{at:e})}if(n==="ES"){this.raise(He.AmbiguousDeclareModuleKind,{at:e})}n="CommonJS";s=true}}));e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(82);if(this.eat(65)){if(this.match(68)||this.match(80)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!t){const e=this.state.value;throw this.raise(He.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Xe[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127)){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127)){e=this.parseExport(e);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}throw this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual(108);e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();this.flowParseTypeAlias(e);e.type="DeclareTypeAlias";return e}flowParseDeclareOpaqueType(e){this.next();this.flowParseOpaqueType(e,true);e.type="DeclareOpaqueType";return e}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=false){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?ae:se,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];e.implements=[];e.mixins=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12))}if(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.match(47)){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(He.UnexpectedReservedUnderscore,{at:this.state.startLoc})}}checkReservedType(e,t,r){if(!Ge.has(e))return;this.raise(r?He.AssignReservedType:He.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.startLoc,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,se,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(29);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual(126);e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,se,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(14)){e.supertype=this.flowParseTypeInitialiser(14)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(29)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.startLoc;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(29)){this.eat(29);r.default=this.flowParseType()}else{if(e){this.raise(He.MissingTypeParamDefault,{at:t})}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.match(47)||this.match(138)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.match(48)){this.expect(12)}}while(!this.match(48));this.expect(48);this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expect(47);const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.match(48)){e.params.push(this.flowParseType());if(!this.match(48)){this.expect(12)}}this.state.noAnonFunctionType=r;this.expect(48);this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expect(47);while(!this.match(48)){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.match(48)){this.expect(12)}}this.expect(48);this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual(125);e.extends=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===14){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(3);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(3);this.expect(3);if(this.match(47)||this.match(10)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))}else{e.method=false;if(this.eat(17)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(10);if(this.match(78)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(11)){this.expect(12)}}while(!this.match(11)&&!this.match(21)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(11)){this.expect(12)}}if(this.eat(21)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(11);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let c=false;if(t&&this.match(6)){this.expect(6);o=9;l=true}else{this.expect(5);o=8;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const u=this.startNode();if(n&&this.isContextual(115)){const t=this.lookahead();if(t.type!==14&&t.type!==17){this.next();i=this.state.startLoc;e=false}}if(e&&this.isContextual(104)){const e=this.lookahead();if(e.type!==14&&e.type!==17){this.next();t=true}}const p=this.flowParseVariance();if(this.eat(0)){if(i!=null){this.unexpected(i)}if(this.eat(0)){if(p){this.unexpected(p.loc.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,p))}}else if(this.match(10)||this.match(47)){if(i!=null){this.unexpected(i)}if(p){this.unexpected(p.loc.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual(98)||this.isContextual(103)){const t=this.lookahead();if(tokenIsLiteralPropertyName(t.type)){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(u,t,i,p,e,r,s!=null?s:!l);if(n===null){c=true;o=this.state.lastTokStartLoc}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(8)&&!this.match(9)){this.raise(He.UnexpectedExplicitInexactInObject,{at:o})}}this.expect(o);if(r){a.inexact=c}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return u}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(21)){const t=this.match(12)||this.match(13)||this.match(8)||this.match(9);if(t){if(!i){this.raise(He.InexactInsideNonObject,{at:this.state.lastTokStartLoc})}else if(!a){this.raise(He.InexactInsideExact,{at:this.state.lastTokStartLoc})}if(n){this.raise(He.InexactVariance,{at:n})}return null}if(!i){this.raise(He.UnexpectedSpreadType,{at:this.state.lastTokStartLoc})}if(r!=null){this.unexpected(r)}if(n){this.raise(He.SpreadVariance,{at:n})}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.match(47)||this.match(10)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.loc.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(He.ThisParamBannedInConstructor,{at:e.value.this})}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(17)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.kind==="get"?He.GetterMayNotHaveThisParam:He.SetterMayNotHaveThisParam,{at:e.value.this})}if(r!==t){this.raise(e.kind==="get"?a.BadGetterArity:a.BadSetterArity,{at:e})}if(e.kind==="set"&&e.value.rest){this.raise(a.BadSetterRestParameter,{at:e})}}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start;t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(true);while(this.eat(16)){const r=this.startNodeAt(e,t);r.qualification=n;r.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);n.typeParameters=null;n.id=this.flowParseQualifiedTypeIdentifier(e,t,r);if(this.match(47)){n.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(87);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(0);while(this.state.pos<this.length&&!this.match(3)){e.types.push(this.flowParseType());if(this.match(3))break;this.expect(12)}this.expect(3);return this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null;let r=false;let n=null;const s=this.startNode();const i=this.lookahead();const a=this.state.type===78;if(i.type===14||i.type===17){if(a&&!e){this.raise(He.ThisParamMustBeFirst,{at:s})}t=this.parseIdentifier(a);if(this.eat(17)){r=true;if(a){this.raise(He.ThisParamMayNotBeOptional,{at:s})}}n=this.flowParseTypeInitialiser()}else{n=this.flowParseType()}s.name=t;s.optional=r;s.typeAnnotation=n;return this.finishNode(s,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.start,e.loc.start);t.name=null;t.optional=false;t.typeAnnotation=e;return this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null;let r=null;if(this.match(78)){r=this.flowParseFunctionTypeParam(true);r.name=null;if(!this.match(11)){this.expect(12)}}while(!this.match(11)&&!this.match(21)){e.push(this.flowParseFunctionTypeParam(false));if(!this.match(11)){this.expect(12)}}if(this.eat(21)){t=this.flowParseFunctionTypeParam(false)}return{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r,n){switch(n.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:this.checkNotUnderscore(n.name);return this.flowParseGenericType(e,t,n)}}flowParsePrimaryType(){const e=this.state.start;const t=this.state.startLoc;const r=this.startNode();let n;let s;let i=false;const a=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:true,allowProto:false,allowInexact:true});case 6:return this.flowParseObjectType({allowStatic:false,allowExact:true,allowSpread:true,allowProto:false,allowInexact:false});case 0:this.state.noAnonFunctionType=false;s=this.flowParseTupleType();this.state.noAnonFunctionType=a;return s;case 47:r.typeParameters=this.flowParseTypeParameterDeclaration();this.expect(10);n=this.flowParseFunctionTypeParams();r.params=n.params;r.rest=n.rest;r.this=n._this;this.expect(11);this.expect(19);r.returnType=this.flowParseType();return this.finishNode(r,"FunctionTypeAnnotation");case 10:this.next();if(!this.match(11)&&!this.match(21)){if(tokenIsIdentifier(this.state.type)||this.match(78)){const e=this.lookahead().type;i=e!==17&&e!==14}else{i=true}}if(i){this.state.noAnonFunctionType=false;s=this.flowParseType();this.state.noAnonFunctionType=a;if(this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19)){this.expect(11);return s}else{this.eat(12)}}if(s){n=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(s)])}else{n=this.flowParseFunctionTypeParams()}r.params=n.params;r.rest=n.rest;r.this=n._this;this.expect(11);this.expect(19);r.returnType=this.flowParseType();r.typeParameters=null;return this.finishNode(r,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:r.value=this.match(85);this.next();return this.finishNode(r,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){this.next();if(this.match(130)){return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",r)}if(this.match(131)){return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",r)}throw this.raise(He.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:this.next();return this.finishNode(r,"VoidTypeAnnotation");case 84:this.next();return this.finishNode(r,"NullLiteralTypeAnnotation");case 78:this.next();return this.finishNode(r,"ThisTypeAnnotation");case 55:this.next();return this.finishNode(r,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(tokenIsKeyword(this.state.type)){const e=tokenLabelName(this.state.type);this.next();return super.createIdentifier(r,e)}else if(tokenIsIdentifier(this.state.type)){if(this.isContextual(125)){return this.flowParseInterfaceType()}return this.flowIdentToTypeAnnotation(e,t,r,this.parseIdentifier())}}throw this.unexpected()}flowParsePostfixType(){const e=this.state.start;const t=this.state.startLoc;let r=this.flowParsePrimaryType();let n=false;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){const s=this.startNodeAt(e,t);const i=this.eat(18);n=n||i;this.expect(0);if(!i&&this.match(3)){s.elementType=r;this.next();r=this.finishNode(s,"ArrayTypeAnnotation")}else{s.objectType=r;s.indexType=this.flowParseType();this.expect(3);if(n){s.optional=i;r=this.finishNode(s,"OptionalIndexedAccessType")}else{r=this.finishNode(s,"IndexedAccessType")}}}return r}flowParsePrefixType(){const e=this.startNode();if(this.eat(17)){e.typeAnnotation=this.flowParsePrefixType();return this.finishNode(e,"NullableTypeAnnotation")}else{return this.flowParsePostfixType()}}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.start,e.loc.start);t.params=[this.reinterpretTypeAsFunctionTypeParam(e)];t.rest=null;t.this=null;t.returnType=this.flowParseType();t.typeParameters=null;return this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const t=this.flowParseAnonFunctionWithoutParens();e.types=[t];while(this.eat(45)){e.types.push(this.flowParseAnonFunctionWithoutParens())}return e.types.length===1?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const t=this.flowParseIntersectionType();e.types=[t];while(this.eat(43)){e.types.push(this.flowParseIntersectionType())}return e.types.length===1?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=true;const t=this.flowParseUnionType();this.state.inType=e;return t}flowParseTypeOrImplicitInstantiation(){if(this.state.type===128&&this.state.value==="_"){const e=this.state.start;const t=this.state.startLoc;const r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}else{return this.flowParseType()}}flowParseTypeAnnotation(){const e=this.startNode();e.typeAnnotation=this.flowParseTypeInitialiser();return this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();if(this.match(14)){t.typeAnnotation=this.flowParseTypeAnnotation();this.resetEndLocation(t)}return t}typeCastToParameter(e){e.expression.typeAnnotation=e.typeAnnotation;this.resetEndLocation(e.expression,e.typeAnnotation.loc.end);return e.expression}flowParseVariance(){let e=null;if(this.match(53)){e=this.startNode();if(this.state.value==="+"){e.kind="plus"}else{e.kind="minus"}this.next();this.finishNode(e,"Variance")}return e}parseFunctionBody(e,t,r=false){if(t){return this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,true,r)))}return super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.isContextual(125)){const e=this.lookahead();if(tokenIsKeywordOrIdentifier(e.type)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(122)){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);if(this.flowPragma===undefined&&!this.isValidDirective(r)){this.flowPragma=null}return r}parseExpressionStatement(e,t){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(80)||tokenIsIdentifier(this.state.type)||this.match(68)||this.match(74)||this.match(82)){return this.flowParseDeclare(e)}}else if(tokenIsIdentifier(this.state.type)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===122){return!this.state.containsEsc}return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===122){return this.state.containsEsc}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(n);return e}}this.expect(17);const s=this.state.clone();const i=this.state.noArrowAt;const a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent();let[c,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...i];if(u.length>0){this.state=s;this.state.noArrowAt=e;for(let t=0;t<u.length;t++){e.push(u[t].start)}({consequent:o,failed:l}=this.tryParseConditionalConsequent());[c,u]=this.getArrowLikeExpressions(o)}if(l&&c.length>1){this.raise(He.AmbiguousConditionalArrow,{at:s.startLoc})}if(l&&c.length===1){this.state=s;e.push(c[0].start);this.state.noArrowAt=e;({consequent:o,failed:l}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(o,true);this.state.noArrowAt=i;this.expect(14);a.test=e;a.consequent=o;a.alternate=this.forwardNoArrowParamsConversionAt(a,(()=>this.parseMaybeAssign(undefined,undefined)));return this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(14);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach((e=>this.finishArrowValidation(e)));return[n,[]]}return partition(n,(e=>e.params.every((e=>this.isAssignable(e,true)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingCommaLoc,false);this.scope.enter(F|R);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);if(t.type==="ExportNamedDeclaration"||t.type==="ExportAllDeclaration"){t.exportKind=t.exportKind||"value"}return t}parseExportDeclaration(e){if(this.isContextual(126)){e.exportKind="type";const t=this.startNode();this.next();if(this.match(5)){e.specifiers=this.parseExportSpecifiers(true);this.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual(127)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual(125)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual(122)){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(...arguments))return true;if(this.isContextual(126)&&this.lookahead().type===55){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const{startLoc:n}=this.state;if(this.isContextual(121)){if(this.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(He.DeclareClassElement,{at:n})}else if(t.value){this.raise(He.DeclareClassFieldInitializer,{at:t.value})}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(a.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t})}this.finishToken(128,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){return this.finishOp(6,2)}else if(this.state.inType&&(e===62||e===60)){return this.finishOp(e===62?48:47,1)}else if(this.state.inType&&e===63){if(t===46){return this.finishOp(18,2)}return this.finishOp(17,1)}else if(isIteratorStart(e,t,this.input.charCodeAt(this.state.pos+2))){this.state.pos+=2;return this.readIterator()}else{return super.getTokenFromCode(e)}}isAssignable(e,t){if(e.type==="TypeCastExpression"){return this.isAssignable(e.expression,t)}else{return super.isAssignable(e,t)}}toAssignable(e,t=false){if(!t&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"){e.left=this.typeCastToParameter(e.left)}super.toAssignable(...arguments)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];if((r==null?void 0:r.type)==="TypeCastExpression"){e[t]=this.typeCastToParameter(r)}}super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let n=0;n<e.length;n++){var r;const s=e[n];if(s&&s.type==="TypeCastExpression"&&!((r=s.extra)!=null&&r.parenthesized)&&(e.length>1||!t)){this.raise(He.TypeCastInPattern,{at:s.typeAnnotation})}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}isValidLVal(e,...t){return e==="TypeCastExpression"||super.isValidLVal(e,...t)}parseClassProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(He.ThisParamBannedInConstructor,{at:t})}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(He.ThisParamBannedInConstructor,{at:t})}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.match(47)){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual(110)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(He.GetterMayNotHaveThisParam,{at:r})}else if(this.isThisParam(r)){this.raise(He.SetterMayNotHaveThisParam,{at:r})}}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,s,i,a,o){if(e.variance){this.unexpected(e.variance.loc.start)}delete e.variance;let l;if(this.match(47)&&!a){l=this.flowParseTypeParameterDeclaration();if(!this.match(10))this.unexpected()}super.parseObjPropValue(e,t,r,n,s,i,a,o);if(l){(e.value||e).typeParameters=l}}parseAssignableListItemTypes(e){if(this.eat(17)){if(e.type!=="Identifier"){this.raise(He.PatternIsOptional,{at:e})}if(this.isThisParam(e)){this.raise(He.ThisParamMayNotBeOptional,{at:e})}e.optional=true}if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(He.ThisParamAnnotationRequired,{at:e})}if(this.match(29)&&this.isThisParam(e)){this.raise(He.ThisParamNoDefault,{at:e})}this.resetEndLocation(e);return e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);if(n.type==="AssignmentPattern"&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start){this.raise(He.TypeBeforeInitializer,{at:n.typeAnnotation})}return n}shouldParseDefaultImport(e){if(!hasTypeImportKind(e)){return super.shouldParseDefaultImport(e)}return isMaybeDefaultImport(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=hasTypeImportKind(e)?this.flowParseRestrictedIdentifier(true,true):this.parseIdentifier();e.specifiers.push(this.finishImportSpecifier(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(87)){t="typeof"}else if(this.isContextual(126)){t="type"}if(t){const r=this.lookahead();const{type:n}=r;if(t==="type"&&n===55){this.unexpected(null,r.type)}if(isMaybeDefaultImport(n)||n===5||n===55){this.next();e.importKind=t}}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,n){const s=e.imported;let i=null;if(s.type==="Identifier"){if(s.name==="type"){i="type"}else if(s.name==="typeof"){i="typeof"}}let o=false;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(true);if(i!==null&&!tokenIsKeywordOrIdentifier(this.state.type)){e.imported=t;e.importKind=i;e.local=cloneIdentifier(t)}else{e.imported=s;e.importKind=null;e.local=this.parseIdentifier()}}else{if(i!==null&&tokenIsKeywordOrIdentifier(this.state.type)){e.imported=this.parseIdentifier(true);e.importKind=i}else{if(t){throw this.raise(a.ImportBindingIsString,{at:e,importName:s.value})}e.imported=s;e.importKind=null}if(this.eatContextual(93)){e.local=this.parseIdentifier()}else{o=true;e.local=cloneIdentifier(e.imported)}}const l=hasTypeImportKind(e);if(r&&l){this.raise(He.ImportTypeShorthandOnlyInPureImport,{at:e})}if(r||l){this.checkReservedType(e.local.name,e.local.loc.start,true)}if(o&&!r&&!l){this.checkReservedWord(e.local.name,e.loc.start,true,true)}return this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseFunctionParams(e,t){const r=e.kind;if(r!=="get"&&r!=="set"&&this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(this.match(14)){e.id.typeAnnotation=this.flowParseTypeAnnotation();this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;e.returnType=this.flowParseTypeAnnotation();this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let n=null;let s;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){n=this.state.clone();s=this.tryParse((()=>super.parseMaybeAssign(e,t)),n);if(!s.error)return s.node;const{context:r}=this.state;const i=r[r.length-1];if(i===l.j_oTag||i===l.j_expr){r.pop()}}if((r=s)!=null&&r.error||this.match(47)){var i,a;n=n||this.state.clone();let r;const o=this.tryParse((n=>{var s;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,(()=>{const n=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(n,r);return n}));if((s=i.extra)!=null&&s.parenthesized)n();const a=this.maybeUnwrapTypeCastExpression(i);if(a.type!=="ArrowFunctionExpression")n();a.typeParameters=r;this.resetStartLocationFromNode(a,r);return i}),n);let l=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(He.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r})}return o.node}l=o.node}if((i=s)!=null&&i.node){this.state=s.failState;return s.node}if(l){this.state=o.failState;return l}if((a=s)!=null&&a.thrown)throw s.error;if(o.thrown)throw o.error;throw this.raise(He.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(19))this.unexpected();return r}));if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t<e.params.length;t++){if(this.isThisParam(e.params[t])&&t>0){this.raise(He.ThisParamMustBeFirst,{at:e.params[t]})}}return super.checkParams(...arguments)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r,n){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t)!==-1){this.next();const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(11,false);e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const s=this.state.clone();const i=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,r)||e()),s);if(!i.error&&!i.aborted)return i.node;const a=this.tryParse((()=>super.parseSubscripts(e,t,r,n)),s);if(a.node&&!a.error)return a.node;if(i.node){this.state=i.failState;return i.node}if(a.node){this.state=a.failState;return a.node}throw i.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,s){if(this.match(18)&&this.isLookaheadToken_lt()){s.optionalChainMember=true;if(n){s.stop=true;return e}this.next();const i=this.startNodeAt(t,r);i.callee=e;i.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(10);i.arguments=this.parseCallExpressionArguments(11,false);i.optional=true;return this.finishCallExpression(i,true)}else if(!n&&this.shouldParseTypes()&&this.match(47)){const n=this.startNodeAt(t,r);n.callee=e;const i=this.tryParse((()=>{n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(10);n.arguments=this.parseCallExpressionArguments(11,false);if(s.optionalChainMember)n.optional=false;return this.finishCallExpression(n,s.optionalChainMember)}));if(i.node){if(i.error)this.state=i.failState;return i.node}}return super.parseSubscript(e,t,r,n,s)}parseNewCallee(e){super.parseNewCallee(e);let t=null;if(this.shouldParseTypes()&&this.match(47)){t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node}e.typeArguments=t}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);this.parseFunctionParams(r);if(!this.parseArrow(r))return;return this.parseArrowExpression(r,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(He.UnterminatedFlowComment,{at:this.state.curPosition()})}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){throw this.raise(He.NestedFlowComment,{at:this.state.startLoc})}this.hasFlowCommentCompletion();this.state.pos+=this.skipFlowComment();this.state.hasFlowComment=true;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+2);if(e===-1){throw this.raise(a.UnterminatedComment,{at:this.state.curPosition()})}this.state.pos=e+2+3;return}return super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(a.UnterminatedComment,{at:this.state.curPosition()})}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(He.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(!t.explicitType?He.EnumInvalidMemberInitializerUnknownType:t.explicitType==="symbol"?He.EnumInvalidMemberInitializerSymbolType:He.EnumInvalidMemberInitializerPrimaryType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(He.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(He.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){const e=this.state.startLoc;const endOfInit=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{const t=this.parseNumericLiteral(this.state.value);if(endOfInit()){return{type:"number",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 129:{const t=this.parseStringLiteral(this.state.value);if(endOfInit()){return{type:"string",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 85:case 86:{const t=this.parseBooleanLiteral(this.match(85));if(endOfInit()){return{type:"boolean",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;const t=this.parseIdentifier(true);const r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(8)){if(this.eat(21)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.raise(He.EnumInvalidMemberName,{at:a,memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e})}if(r.has(l)){this.raise(He.EnumDuplicateMemberName,{at:a,memberName:l,enumName:e})}r.add(l);const c={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.loc,c)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,c);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(8)){this.expect(12)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!tokenIsIdentifier(this.state.type)){throw this.raise(He.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.raise(He.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t})}return t}flowEnumBody(e,t){const r=t.name;const n=t.loc.start;const s=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:i,hasUnknownMembers:a}=this.flowEnumMembers({enumName:r,explicitType:s});e.hasUnknownMembers=a;switch(s){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r});this.expect(8);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(8);return this.finishNode(e,"EnumSymbolBody");default:{const empty=()=>{e.members=[];this.expect(8);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const t=i.booleanMembers.length;const s=i.numberMembers.length;const a=i.stringMembers.length;const o=i.defaultedMembers.length;if(!t&&!s&&!a&&!o){return empty()}else if(!t&&!s){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r});this.expect(8);return this.finishNode(e,"EnumStringBody")}else if(!s&&!a&&t>=o){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody")}else if(!t&&!a&&s>=o){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name})}e.members=i.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody")}else{this.raise(He.EnumInconsistentMemberValues,{at:n,enumName:r});return empty()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),t);return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const ze={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const Ye=ParseErrorEnum`jsx`((e=>({AttributeIsEmpty:e("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:e((({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`)),MissingClosingTagFragment:e("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:e("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:e((({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`)),UnsupportedJsxValue:e("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:e("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:e("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?")})));function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var jsx=e=>class extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(Ye.UnterminatedJsxContent,{at:this.state.startLoc})}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.canStartJSXElement){++this.state.pos;return this.finishToken(138)}return super.getTokenFromCode(r)}e+=this.input.slice(t,this.state.pos);return this.finishToken(137,e);case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(a.UnterminatedString,{at:this.state.startLoc})}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);return this.finishToken(129,t)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let e=10;if(this.codePointAtPos(this.state.pos)===120){e=16;++this.state.pos}const t=this.readInt(e,undefined,false,"bail");if(t!==null&&this.codePointAtPos(this.state.pos)===59){++this.state.pos;return String.fromCodePoint(t)}}else{let t=0;let r=false;while(t++<10&&this.state.pos<this.length&&!(r=this.codePointAtPos(this.state.pos)==59)){++this.state.pos}if(r){const t=this.input.slice(e,this.state.pos);const r=ze[t];++this.state.pos;if(r){return r}}}this.state.pos=e;return"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(isIdentifierChar(e)||e===45);return this.finishToken(136,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();if(this.match(136)){e.name=this.state.value}else if(tokenIsKeyword(this.state.type)){e.name=tokenLabelName(this.state.type)}else{this.unexpected()}this.next();return this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.start;const t=this.state.startLoc;const r=this.jsxParseIdentifier();if(!this.eat(14))return r;const n=this.startNodeAt(e,t);n.namespace=r;n.name=this.jsxParseIdentifier();return this.finishNode(n,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.start;const t=this.state.startLoc;let r=this.jsxParseNamespacedName();if(r.type==="JSXNamespacedName"){return r}while(this.eat(16)){const n=this.startNodeAt(e,t);n.object=r;n.property=this.jsxParseIdentifier();r=this.finishNode(n,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:e=this.startNode();this.setContext(l.brace);this.next();e=this.jsxParseExpressionContainer(e,l.j_oTag);if(e.expression.type==="JSXEmptyExpression"){this.raise(Ye.AttributeIsEmpty,{at:e})}return e;case 138:case 129:return this.parseExprAtom();default:throw this.raise(Ye.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc.index,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){this.next();e.expression=this.parseExpression();this.setContext(l.j_oTag);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8)){e.expression=this.jsxParseEmptyExpression()}else{const t=this.parseExpression();e.expression=t}this.setContext(t);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();if(this.match(5)){this.setContext(l.brace);this.next();this.expect(21);e.argument=this.parseMaybeAssignAllowIn();this.setContext(l.j_oTag);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXSpreadAttribute")}e.name=this.jsxParseNamespacedName();e.value=this.eat(29)?this.jsxParseAttributeValue():null;return this.finishNode(e,"JSXAttribute")}jsxParseOpeningElementAt(e,t){const r=this.startNodeAt(e,t);if(this.eat(139)){return this.finishNode(r,"JSXOpeningFragment")}r.name=this.jsxParseElementName();return this.jsxParseOpeningElementAfterName(r)}jsxParseOpeningElementAfterName(e){const t=[];while(!this.match(56)&&!this.match(139)){t.push(this.jsxParseAttribute())}e.attributes=t;e.selfClosing=this.eat(56);this.expect(139);return this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){const r=this.startNodeAt(e,t);if(this.eat(139)){return this.finishNode(r,"JSXClosingFragment")}r.name=this.jsxParseElementName();this.expect(139);return this.finishNode(r,"JSXClosingElement")}jsxParseElementAt(e,t){const r=this.startNodeAt(e,t);const n=[];const s=this.jsxParseOpeningElementAt(e,t);let i=null;if(!s.selfClosing){e:for(;;){switch(this.state.type){case 138:e=this.state.start;t=this.state.startLoc;this.next();if(this.eat(56)){i=this.jsxParseClosingElementAt(e,t);break e}n.push(this.jsxParseElementAt(e,t));break;case 137:n.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(l.brace);this.next();if(this.match(21)){n.push(this.jsxParseSpreadChild(e))}else{n.push(this.jsxParseExpressionContainer(e,l.j_expr))}break}default:throw this.unexpected()}}if(isFragment(s)&&!isFragment(i)&&i!==null){this.raise(Ye.MissingClosingTagFragment,{at:i})}else if(!isFragment(s)&&isFragment(i)){this.raise(Ye.MissingClosingTagElement,{at:i,openingTagName:getQualifiedJSXName(s.name)})}else if(!isFragment(s)&&!isFragment(i)){if(getQualifiedJSXName(i.name)!==getQualifiedJSXName(s.name)){this.raise(Ye.MissingClosingTagElement,{at:i,openingTagName:getQualifiedJSXName(s.name)})}}}if(isFragment(s)){r.openingFragment=s;r.closingFragment=i}else{r.openingElement=s;r.closingElement=i}r.children=n;if(this.match(47)){throw this.raise(Ye.UnwrappedAdjacentJSXElements,{at:this.state.startLoc})}return isFragment(s)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){const e=this.state.start;const t=this.state.startLoc;this.next();return this.jsxParseElementAt(e,t)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){if(this.match(137)){return this.parseLiteral(this.state.value,"JSXText")}else if(this.match(138)){return this.jsxParseElement()}else if(this.match(47)&&this.input.charCodeAt(this.state.pos)!==33){this.replaceToken(138);return this.jsxParseElement()}else{return super.parseExprAtom(e)}}skipSpace(){const e=this.curContext();if(!e.preserveSpace)super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t===l.j_expr){return this.jsxReadToken()}if(t===l.j_oTag||t===l.j_cTag){if(isIdentifierStart(e)){return this.jsxReadWord()}if(e===62){++this.state.pos;return this.finishToken(139)}if((e===34||e===39)&&t===l.j_oTag){return this.jsxReadString(e)}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos;return this.finishToken(138)}return super.getTokenFromCode(e)}updateContext(e){const{context:t,type:r}=this.state;if(r===56&&e===138){t.splice(-2,2,l.j_cTag);this.state.canStartJSXElement=false}else if(r===138){t.push(l.j_oTag)}else if(r===139){const r=t[t.length-1];if(r===l.j_oTag&&e===56||r===l.j_cTag){t.pop();this.state.canStartJSXElement=t[t.length-1]===l.j_expr}else{this.setContext(l.j_expr);this.state.canStartJSXElement=true}}else{this.state.canStartJSXElement=tokenComesBeforeExpression(r)}}};class TypeScriptScope extends Scope{constructor(...e){super(...e);this.types=new Set;this.enums=new Set;this.constEnums=new Set;this.classes=new Set;this.exportOnlyBindings=new Set}}class TypeScriptScopeHandler extends ScopeHandler{createScope(e){return new TypeScriptScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&te){this.maybeExportDefined(n,e);n.exportOnlyBindings.add(e);return}super.declareName(...arguments);if(t&H){if(!(t&G)){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e)}n.types.add(e)}if(t&Z)n.enums.add(e);if(t&ee)n.constEnums.add(e);if(t&Q)n.classes.add(e)}isRedeclaredInScope(e,t,r){if(e.enums.has(t)){if(r&Z){const n=!!(r&ee);const s=e.constEnums.has(t);return n!==s}return true}if(r&Q&&e.classes.has(t)){if(e.lexical.has(t)){return!!(r&G)}else{return false}}if(r&H&&e.types.has(t)){return true}return super.isRedeclaredInScope(...arguments)}checkLocalExport(e){const t=this.scopeStack[0];const{name:r}=e;if(!t.types.has(r)&&!t.exportOnlyBindings.has(r)){super.checkLocalExport(e)}}}const getOwn$1=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}function tsTokenCanStartExpression(e){return tokenCanStartExpression(e)||tokenIsBinaryOperator(e)}const Qe=ParseErrorEnum`typescript`((e=>({AbstractMethodHasImplementation:e((({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`)),AbstractPropertyHasInitializer:e((({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`)),AccesorCannotDeclareThisParameter:e("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:e("An accessor cannot have type parameters."),CannotFindName:e((({name:e})=>`Cannot find name '${e}'.`)),ClassMethodHasDeclare:e("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:e("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:e("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:e("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:e((({kind:e})=>`'declare' is not allowed in ${e}ters.`)),DeclareClassFieldHasInitializer:e("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:e("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:e((({modifier:e})=>`Accessibility modifier already seen.`)),DuplicateModifier:e((({modifier:e})=>`Duplicate modifier: '${e}'.`)),EmptyHeritageClauseType:e((({token:e})=>`'${e}' list cannot be empty.`)),EmptyTypeArguments:e("Type argument list cannot be empty."),EmptyTypeParameters:e("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:e("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:e("An import alias can not use 'import type'."),IncompatibleModifiers:e((({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`)),IndexSignatureHasAbstract:e("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:e((({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`)),IndexSignatureHasDeclare:e("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:e("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:e("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:e("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:e((({modifier:e})=>`'${e}' modifier cannot appear on a type member.`)),InvalidModifierOnTypeParameter:e((({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`)),InvalidModifierOnTypeParameterPositions:e((({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`)),InvalidModifiersOrder:e((({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`)),InvalidTupleMemberLabel:e("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:e("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:e("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:e("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:e("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:e("A required element cannot follow an optional element."),OverrideNotInSubClass:e("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:e("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:e((({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`)),ReadonlyForMethodSignature:e("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:e("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`."),ReservedTypeAssertion:e("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:e("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:e("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:e("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:e((({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`)),StaticBlockCannotHaveModifier:e("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:e("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:e("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:e("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:e("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:e("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:e("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:e("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:e("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:e("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:e((({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`))})));function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}function tsIsVarianceAnnotations(e){return e==="in"||e==="out"}var typescript=e=>class extends e{getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return tokenIsIdentifier(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!tokenIsIdentifier(this.state.type)&&this.state.type!==58){return undefined}const r=this.state.value;if(e.indexOf(r)!==-1){if(t&&this.tsIsStartOfStaticBlocks()){return undefined}if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return r}}return undefined}tsParseModifiers({modified:e,allowedModifiers:t,disallowedModifiers:r,stopOnStartOfClassStaticBlock:n,errorTemplate:s=Qe.InvalidModifierOnTypeMember}){const enforceOrder=(t,r,n,s)=>{if(r===n&&e[s]){this.raise(Qe.InvalidModifiersOrder,{at:t,orderedModifiers:[n,s]})}};const incompatible=(t,r,n,s)=>{if(e[n]&&r===s||e[s]&&r===n){this.raise(Qe.IncompatibleModifiers,{at:t,modifiers:[n,s]})}};for(;;){const{startLoc:i}=this.state;const a=this.tsParseModifier(t.concat(r!=null?r:[]),n);if(!a)break;if(tsIsAccessModifier(a)){if(e.accessibility){this.raise(Qe.DuplicateAccessibilityModifier,{at:i,modifier:a})}else{enforceOrder(i,a,a,"override");enforceOrder(i,a,a,"static");enforceOrder(i,a,a,"readonly");e.accessibility=a}}else if(tsIsVarianceAnnotations(a)){if(e[a]){this.raise(Qe.DuplicateModifier,{at:i,modifier:a})}e[a]=true;enforceOrder(i,a,"in","out")}else{if(Object.hasOwnProperty.call(e,a)){this.raise(Qe.DuplicateModifier,{at:i,modifier:a})}else{enforceOrder(i,a,"static","readonly");enforceOrder(i,a,"static","override");enforceOrder(i,a,"override","readonly");enforceOrder(i,a,"abstract","override");incompatible(i,a,"declare","override");incompatible(i,a,"static","abstract")}e[a]=true}if(r!=null&&r.includes(a)){this.raise(s,{at:i,modifier:a})}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}throw new Error("Unreachable")}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t,r){return nonNull(this.tsParseDelimitedListWorker(e,t,true,r))}tsParseDelimitedListWorker(e,t,r,n){const s=[];let i=-1;for(;;){if(this.tsIsListTerminator(e)){break}i=-1;const n=t();if(n==null){return undefined}s.push(n);if(this.eat(12)){i=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(12)}return undefined}if(n){n.value=i}return s}tsParseBracketedList(e,t,r,n,s){if(!n){if(r){this.expect(0)}else{this.expect(47)}}const i=this.tsParseDelimitedList(e,t,s);if(r){this.expect(3)}else{this.expect(48)}return i}tsParseImportType(){const e=this.startNode();this.expect(83);this.expect(10);if(!this.match(129)){this.raise(Qe.UnsupportedImportTypeArgument,{at:this.state.startLoc})}e.argument=this.parseExprAtom();this.expect(11);if(this.eat(16)){e.qualifier=this.tsParseEntityName()}if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e=true){let t=this.parseIdentifier(e);while(this.eat(16)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName();if(!this.hasPrecedingLineBreak()&&this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(87);if(this.match(83)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName()}if(!this.hasPrecedingLineBreak()&&this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeQuery")}tsParseInOutModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Qe.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Qe.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(e=this.tsParseNoneModifiers.bind(this)){const t=this.startNode();e(t);t.name=this.tsParseTypeParameterName();t.constraint=this.tsEatThenParseType(81);t.default=this.tsEatThenParseType(29);return this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47)){return this.tsParseTypeParameters(e)}}tsParseTypeParameters(e){const t=this.startNode();if(this.match(47)||this.match(138)){this.next()}else{this.unexpected()}const r={value:-1};t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),false,true,r);if(t.params.length===0){this.raise(Qe.EmptyTypeParameters,{at:t})}if(r.value!==-1){this.addExtra(t,"trailingComma",r.value)}return this.finishNode(t,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type!==75)return null;this.next();const e=this.tsParseTypeReference();if(e.typeParameters){this.raise(Qe.CannotFindName,{at:e.typeName,name:"const"})}return e}tsFillSignature(e,t){const r=e===19;const n="parameters";const s="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters();this.expect(10);t[n]=this.tsParseBindingListForSignature();if(r){t[s]=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t[s]=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>{if(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"){this.raise(Qe.UnsupportedSignatureParameterKind,{at:e,type:e.type})}return e}))}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator()){this.expect(13)}}tsParseSignatureMember(e,t){this.tsFillSignature(14,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();if(tokenIsIdentifier(this.state.type)){this.next();return this.match(14)}return false}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return undefined}this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(3);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(17))e.optional=true;const r=e;if(this.match(10)||this.match(47)){if(t){this.raise(Qe.ReadonlyForMethodSignature,{at:e})}const n=r;if(n.kind&&this.match(47)){this.raise(Qe.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()})}this.tsFillSignature(14,n);this.tsParseTypeMemberSemicolon();const s="parameters";const i="typeAnnotation";if(n.kind==="get"){if(n[s].length>0){this.raise(a.BadGetterArity,{at:this.state.curPosition()});if(this.isThisParam(n[s][0])){this.raise(Qe.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}}}else if(n.kind==="set"){if(n[s].length!==1){this.raise(a.BadSetterArity,{at:this.state.curPosition()})}else{const e=n[s][0];if(this.isThisParam(e)){this.raise(Qe.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}if(e.type==="Identifier"&&e.optional){this.raise(Qe.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()})}if(e.type==="RestElement"){this.raise(Qe.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}}if(n[i]){this.raise(Qe.SetAccesorCannotHaveReturnType,{at:n[i]})}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(77)){const t=this.startNode();this.next();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]});const t=this.tsTryParseIndexSignature(e);if(t){return t}this.parsePropertyName(e);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;this.parsePropertyName(e)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(8);return e}tsIsStartOfMappedType(){this.next();if(this.eat(53)){return this.isContextual(118)}if(this.isContextual(118)){this.next()}if(!this.match(0)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(58)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(58);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(5);if(this.match(53)){e.readonly=this.state.value;this.next();this.expectContextual(118)}else if(this.eatContextual(118)){e.readonly=true}this.expect(0);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual(93)?this.tsParseType():null;this.expect(3);if(this.match(53)){e.optional=this.state.value;this.next();this.expect(17)}else if(this.eat(17)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(8);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach((e=>{var n;let{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(Qe.OptionalTypeBeforeRequired,{at:e})}t=t||s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType";if(s==="TSRestType"){e=e.typeAnnotation;s=e.type}const i=s==="TSNamedTupleMember";r=(n=r)!=null?n:i;if(r!==i){this.raise(Qe.MixedLabeledAndUnlabeledElements,{at:e})}}));return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state;const r=this.eat(21);let n=this.tsParseType();const s=this.eat(17);const i=this.eat(14);if(i){const e=this.startNodeAtNode(n);e.optional=s;if(n.type==="TSTypeReference"&&!n.typeParameters&&n.typeName.type==="Identifier"){e.label=n.typeName}else{this.raise(Qe.InvalidTupleMemberLabel,{at:n});e.label=n}e.elementType=this.tsParseType();n=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(n);e.typeAnnotation=n;n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n;n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();this.expect(10);e.typeAnnotation=this.tsParseType();this.expect(11);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsFillSignature(19,r);return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();e.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86:return this.parseExprAtom();default:throw this.unexpected()}})();return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=this.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual(113)&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==130&&t.type!==131){throw this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(tokenIsIdentifier(e)||e===88||e===84){const t=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":keywordTypeFromName(this.state.value);if(t!==undefined&&this.lookaheadCharCode()!==46){const e=this.startNode();this.next();return this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0)){if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(3);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(3);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(){const e=this.startNode();const t=this.state.value;this.next();e.operator=t;e.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(t==="readonly"){this.tsCheckTypeAnnotationForReadOnly(e)}return this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Qe.UnexpectedReadonly,{at:e})}}tsParseInferType(){const e=this.startNode();this.expectContextual(112);const t=this.startNode();t.name=this.tsParseTypeParameterName();t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType()));e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17)){return e}}}tsParseTypeOperatorOrHigher(){const e=tokenIsTSTypeOperator(this.state.type)&&!this.state.containsEsc;return e?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47)){return true}return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(tokenIsIdentifier(this.state.type)||this.match(78)){this.next();return true}if(this.match(5)){const{errors:e}=this.state;const t=e.length;try{this.parseObjectLike(8,true);return e.length===t}catch(e){return false}}if(this.match(0)){this.next();const{errors:e}=this.state;const t=e.length;try{this.parseBindingList(3,93,true);return e.length===t}catch(e){return false}}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(11)||this.match(21)){return true}if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29)){return true}if(this.match(11)){this.next();if(this.match(19)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):undefined}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():undefined}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(this.state.type!==106){return false}const e=this.state.containsEsc;this.next();if(!tokenIsIdentifier(this.state.type)&&!this.match(78)){return false}if(e){this.raise(a.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"})}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType((()=>{if(e)this.expect(14);t.typeAnnotation=this.tsParseType()}));return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType()));this.expect(17);t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));this.expect(14);t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(120)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(77)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(Qe.ReservedTypeAssertion,{at:this.state.startLoc})}const e=this.startNode();const t=this.tsTryNextParseConstantContext();e.typeAnnotation=t||this.tsNextThenParseType();this.expect(48);e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc;const r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();e.expression=this.tsParseEntityName();if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}));if(!r.length){this.raise(Qe.EmptyHeritageClauseType,{at:t,token:e})}return r}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(125);if(t.declare)e.declare=true;if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();this.checkIdentifier(e.id,oe)}else{e.id=null;this.raise(Qe.MissingInterfaceName,{at:this.state.startLoc})}e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));if(this.eat(81)){e.extends=this.tsParseHeritageClause("extends")}const r=this.startNode();r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(r,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkIdentifier(e.id,le);e.typeAnnotation=this.tsInType((()=>{e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));this.expect(29);if(this.isContextual(111)&&this.lookahead().type!==16){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()}));this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=true;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=false;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){return!this.match(e)?undefined:this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>{e();return this.tsParseType()}))}tsParseEnumMember(){const e=this.startNode();e.id=this.match(129)?this.parseExprAtom():this.parseIdentifier(true);if(this.eat(29)){e.initializer=this.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){if(t.const)e.const=true;if(t.declare)e.declare=true;this.expectContextual(122);e.id=this.parseIdentifier();this.checkIdentifier(e.id,e.const?de:ce);this.expect(5);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(8);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(L);this.expect(5);this.parseBlockOrModuleBlockBody(e.body=[],undefined,true,8);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkIdentifier(e.id,he)}if(this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(W);this.prodParam.enter(Ue);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual(109)){e.global=true;e.id=this.parseIdentifier()}else if(this.match(129)){e.id=this.parseExprAtom()}else{this.unexpected()}if(this.match(5)){this.scope.enter(W);this.prodParam.enter(Ue);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||false;e.id=this.parseIdentifier();this.checkIdentifier(e.id,se);this.expect(29);const r=this.tsParseModuleReference();if(e.importKind==="type"&&r.type!=="TSExternalModuleReference"){this.raise(Qe.ImportAliasHasImportType,{at:r})}e.moduleReference=r;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual(116);this.expect(10);if(!this.match(129)){throw this.unexpected()}e.expression=this.parseExprAtom();this.expect(11);return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(t.aborted||!t.node)return undefined;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}else{this.state=t;return undefined}}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual(99)){t=74;r="let"}return this.tsInAmbientContext((()=>{if(t===68){e.declare=true;return this.parseFunctionStatement(e,false,true)}if(t===80){e.declare=true;return this.parseClass(e,true,false)}if(t===122){return this.tsParseEnumDeclaration(e,{declare:true})}if(t===109){return this.tsParseAmbientExternalModuleDeclaration(e)}if(t===75||t===74){if(!this.match(75)||!this.isLookaheadContextual("enum")){e.declare=true;return this.parseVarStatement(e,r||this.state.value,true)}this.expect(75);return this.tsParseEnumDeclaration(e,{const:true,declare:true})}if(t===125){const t=this.tsParseInterfaceDeclaration(e,{declare:true});if(t)return t}if(tokenIsIdentifier(t)){return this.tsParseDeclaration(e,this.state.value,true)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true;return t}break}case"global":if(this.match(5)){this.scope.enter(W);this.prodParam.enter(Ue);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||tokenIsIdentifier(this.state.type))){return this.tsParseAbstractDeclaration(e)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(129)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&tokenIsIdentifier(this.state.type)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(47)){return undefined}const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const n=this.tsTryParseAndCatch((()=>{const r=this.startNodeAt(e,t);r.typeParameters=this.tsParseTypeParameters();super.parseFunctionParams(r);r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(19);return r}));this.state.maybeInArrowParameters=r;if(!n){return undefined}return this.parseArrowExpression(n,null,true)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47){return undefined}return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType((()=>this.tsInNoContext((()=>{this.expect(47);return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}))));if(e.params.length===0){this.raise(Qe.EmptyTypeArguments,{at:e})}this.expect(48);return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return tokenIsTSDeclarationStart(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start;const n=this.state.startLoc;let s;let i=false;let a=false;if(e!==undefined){const t={};this.tsParseModifiers({modified:t,allowedModifiers:["public","private","protected","override","readonly"]});s=t.accessibility;a=t.override;i=t.readonly;if(e===false&&(s||i||a)){this.raise(Qe.UnexpectedParameterModifier,{at:n})}}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(s||i||a){const e=this.startNodeAt(r,n);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(i)e.readonly=i;if(a)e.override=a;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(Qe.UnsupportedParameterPropertyKind,{at:e})}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(14)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"||t==="ClassPrivateMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(5)&&this.isLineTerminator()){this.finishNode(e,n);return}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(Qe.DeclareFunctionHasImplementation,{at:e});if(e.declare){super.parseFunctionBodyAndFinish(e,n,r);return}}super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkIdentifier(e.id,ue)}else{super.registerFunctionStatementId(...arguments)}}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(Qe.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}}))}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(...e){const t=super.parseArrayLike(...e);if(t.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(t.elements)}return t}parseSubscript(e,t,r,n,s){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=false;this.next();const n=this.startNodeAt(t,r);n.expression=e;return this.finishNode(n,"TSNonNullExpression")}let i=false;if(this.match(18)&&this.lookaheadCharCode()===60){if(n){s.stop=true;return e}s.optionalChainMember=i=true;this.next()}if(this.match(47)||this.match(51)){let a;const o=this.tsTryParseAndCatch((()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e){return e}}const o=this.tsParseTypeArgumentsInExpression();if(!o)throw this.unexpected();if(i&&!this.match(10)){a=this.state.curPosition();throw this.unexpected()}if(tokenIsTemplate(this.state.type)){const n=this.parseTaggedTemplateExpression(e,t,r,s);n.typeParameters=o;return n}if(!n&&this.eat(10)){const n=this.startNodeAt(t,r);n.callee=e;n.arguments=this.parseCallExpressionArguments(11,false);this.tsCheckForInvalidTypeCasts(n.arguments);n.typeParameters=o;if(s.optionalChainMember){n.optional=i}return this.finishCallExpression(n,s.optionalChainMember)}if(tsTokenCanStartExpression(this.state.type)&&this.state.type!==10){throw this.unexpected()}const l=this.startNodeAt(t,r);l.expression=e;l.typeParameters=o;return this.finishNode(l,"TSInstantiationExpression")}));if(a){this.unexpected(a,10)}if(o)return o}return super.parseSubscript(e,t,r,n,s)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:r}=e;if(r.type==="TSInstantiationExpression"&&!((t=r.extra)!=null&&t.parenthesized)){e.typeParameters=r.typeParameters;e.callee=r.expression}}parseExprOp(e,t,r,n){if(tokenOperatorPrecedence(58)>n&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){const s=this.startNodeAt(t,r);s.expression=e;const i=this.tsTryNextParseConstantContext();if(i){s.typeAnnotation=i}else{s.typeAnnotation=this.tsNextThenParseType()}this.finishNode(s,"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){if(!this.state.isAmbientContext){super.checkReservedWord(e,t,r,n)}}checkDuplicateExports(){}parseImport(e){e.importKind="value";if(tokenIsIdentifier(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(126)&&t.type!==12&&t.type!==97&&t.type!==29){e.importKind="type";this.next();t=this.lookahead()}if(tokenIsIdentifier(this.state.type)&&t.type===29){return this.tsParseImportEqualsDeclaration(e)}}const t=super.parseImport(e);if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(Qe.TypeImportCannotSpecifyDefaultAndNamed,{at:t})}return t}parseExport(e){if(this.match(83)){this.next();if(this.isContextual(126)&&this.lookaheadCharCode()!==61){e.importKind="type";this.next()}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,true)}else if(this.eat(29)){const t=e;t.expression=this.parseExpression();this.semicolon();return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual(93)){const t=e;this.expectContextual(124);t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{if(this.isContextual(126)&&this.lookahead().type===5){this.next();e.exportKind="type"}else{e.exportKind="value"}return super.parseExport(e)}}isAbstractClass(){return this.isContextual(120)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;this.parseClass(e,true,true);return e}if(this.match(125)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,r=false){const{isAmbientContext:n}=this.state;const s=super.parseVarStatement(e,t,r||n);if(!n)return s;for(const{id:e,init:r}of s.declarations){if(!r)continue;if(t!=="const"||!!e.typeAnnotation){this.raise(Qe.InitializerNotAllowedInAmbientContext,{at:r})}else if(r.type!=="StringLiteral"&&r.type!=="BooleanLiteral"&&r.type!=="NumericLiteral"&&r.type!=="BigIntLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)&&!isPossiblyLiteralEnum(r)){this.raise(Qe.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r})}}return s}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();this.expect(75);return this.tsParseEnumDeclaration(e,{const:true})}if(this.isContextual(122)){return this.tsParseEnumDeclaration(this.startNode())}if(this.isContextual(125)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]}))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:true,errorTemplate:Qe.InvalidModifierOnTypeParameterPositions});const callParseClassMemberWithIsStatic=()=>{if(this.tsIsStartOfStaticBlocks()){this.next();this.next();if(this.tsHasSomeModifiers(t,n)){this.raise(Qe.StaticBlockCannotHaveModifier,{at:this.state.curPosition()})}this.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,!!t.static)}};if(t.declare){this.tsInAmbientContext(callParseClassMemberWithIsStatic)}else{callParseClassMemberWithIsStatic()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(Qe.IndexSignatureHasAbstract,{at:t})}if(t.accessibility){this.raise(Qe.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility})}if(t.declare){this.raise(Qe.IndexSignatureHasDeclare,{at:t})}if(t.override){this.raise(Qe.IndexSignatureHasOverride,{at:t})}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(Qe.NonAbstractClassHasAbstractMethod,{at:t})}if(t.override){if(!r.hadSuperClass){this.raise(Qe.OverrideNotInSubClass,{at:t})}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(17);if(t)e.optional=true;if(e.readonly&&this.match(10)){this.raise(Qe.ClassMethodHasReadonly,{at:e})}if(e.declare&&this.match(10)){this.raise(Qe.ClassMethodHasDeclare,{at:e})}}parseExpressionStatement(e,t){const r=t.type==="Identifier"?this.tsParseExpressionStatement(e,t):undefined;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!this.state.maybeInArrowParameters||!this.match(17)){return super.parseConditional(e,t,r,n)}const s=this.tryParse((()=>super.parseConditional(e,t,r)));if(!s.node){if(s.error){super.setOptionalParametersError(n,s.error)}return e}if(s.error)this.state=s.failState;return s.node}parseParenItem(e,t,r){e=super.parseParenItem(e,t,r);if(this.eat(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const n=this.startNodeAt(t,r);n.expression=e;n.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(121)){return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)))}const t=this.state.start;const r=this.state.startLoc;const n=this.eatContextual(121);if(n&&(this.isContextual(121)||!this.shouldParseExportDeclaration())){throw this.raise(Qe.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc})}const s=tokenIsIdentifier(this.state.type);const i=s&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);if(!i)return null;if(i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||n){e.exportKind="type"}if(n){this.resetStartLocation(i,t,r);i.declare=true}return i}parseClassId(e,t,r){if((!t||r)&&this.isContextual(110)){return}super.parseClassId(e,t,r,e.declare?ue:ne);const n=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));if(n)e.typeParameters=n}parseClassPropertyAnnotation(e){if(!e.optional&&this.eat(35)){e.definite=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&this.match(29)){this.raise(Qe.DeclareClassFieldHasInitializer,{at:this.state.startLoc})}if(e.abstract&&this.match(29)){const{key:t}=e;this.raise(Qe.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:t.type==="Identifier"&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(Qe.PrivateElementHasAbstract,{at:e})}if(e.accessibility){this.raise(Qe.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility})}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters();if(a&&s){this.raise(Qe.ConstructorHasTypeParameters,{at:a})}const{declare:o=false,kind:l}=t;if(o&&(l==="get"||l==="set")){this.raise(Qe.DeclareAccessor,{at:t,kind:l})}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters();if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){if(e.type==="TSDeclareMethod")return;if(e.type==="MethodDefinition"&&!e.value.body)return;super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&(this.match(47)||this.match(51))){e.superTypeParameters=this.tsParseTypeArgumentsInExpression()}if(this.eatContextual(110)){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,s,i,a,o;let c;let u;let p;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){c=this.state.clone();u=this.tryParse((()=>super.parseMaybeAssign(...e)),c);if(!u.error)return u.node;const{context:t}=this.state;const r=t[t.length-1];if(r===l.j_oTag||r===l.j_expr){t.pop()}}if(!((t=u)!=null&&t.error)&&!this.match(47)){return super.parseMaybeAssign(...e)}let f;c=c||this.state.clone();const d=this.tryParse((t=>{var r,n,s;f=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);if(i.type!=="ArrowFunctionExpression"||(r=i.extra)!=null&&r.parenthesized){t()}if(((n=f)==null?void 0:n.params.length)!==0){this.resetStartLocationFromNode(i,f)}i.typeParameters=f;if(this.hasPlugin("jsx")&&i.typeParameters.params.length===1&&!((s=i.typeParameters.extra)!=null&&s.trailingComma)){const e=i.typeParameters.params[0];if(!e.constraint);}return i}),c);if(!d.error&&!d.aborted){if(f)this.reportReservedArrowTypeParam(f);return d.node}if(!u){assert(!this.hasPlugin("jsx"));p=this.tryParse((()=>super.parseMaybeAssign(...e)),c);if(!p.error)return p.node}if((r=u)!=null&&r.node){this.state=u.failState;return u.node}if(d.node){this.state=d.failState;if(f)this.reportReservedArrowTypeParam(f);return d.node}if((n=p)!=null&&n.node){this.state=p.failState;return p.node}if((s=u)!=null&&s.thrown)throw u.error;if(d.thrown)throw d.error;if((i=p)!=null&&i.thrown)throw p.error;throw((a=u)==null?void 0:a.error)||d.error||((o=p)==null?void 0:o.error)}reportReservedArrowTypeParam(e){var t;if(e.params.length===1&&!((t=e.extra)!=null&&t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(Qe.ReservedArrowTypeParam,{at:e})}}parseMaybeUnary(e){if(!this.hasPlugin("jsx")&&this.match(47)){return this.tsParseTypeAssertion()}else{return super.parseMaybeUnary(e)}}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))e();return t}));if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(17)){if(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType){this.raise(Qe.PatternIsOptional,{at:e})}e.optional=true}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t;this.resetEndLocation(e);return e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return true;default:return super.isAssignable(e,t)}}toAssignable(e,t=false){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(t){this.expressionScope.recordArrowParemeterBindingError(Qe.UnexpectedTypeCastInParameter,{at:e})}else{this.raise(Qe.UnexpectedTypeCastInParameter,{at:e})}this.toAssignable(e.expression,t);break;case"AssignmentExpression":if(!t&&e.left.type==="TSTypeCastExpression"){e.left=this.typeCastToParameter(e.left)}default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,false);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return getOwn$1({TSTypeCastExpression:true,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==pe||!t)&&["expression",true],TSTypeAssertion:(r!==pe||!t)&&["expression",true]},e)||super.isValidLVal(e,t,r)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e){this.next();return false}else{return super.checkCommaAfterRest(e)}}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);if(t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start){this.raise(Qe.TypeAnnotationAfterAssign,{at:t.typeAnnotation})}return t}getTokenFromCode(e){if(this.state.inType){if(e===62){return this.finishOp(48,1)}if(e===60){return this.finishOp(47,1)}}return super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;if(e===47){this.state.pos-=1;this.readToken_lt()}else if(e===48){this.state.pos-=1;this.readToken_gt()}}reScan_lt(){const{type:e}=this.state;if(e===51){this.state.pos-=2;this.finishOp(47,1);return 47}return e}toAssignableList(e){for(let t=0;t<e.length;t++){const r=e[t];if((r==null?void 0:r.type)==="TSTypeCastExpression"){e[t]=this.typeCastToParameter(r)}}super.toAssignableList(...arguments)}typeCastToParameter(e){e.expression.typeAnnotation=e.typeAnnotation;this.resetEndLocation(e.expression,e.typeAnnotation.loc.end);return e.expression}shouldParseArrow(e){if(this.match(14)){return e.every((e=>this.isAssignable(e,true)))}return super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(80)){e.abstract=true;return this.parseClass(e,true,false)}else if(this.isContextual(125)){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(Qe.NonClassMethodPropertyHasAbstractModifer,{at:e});return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,80)}}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(Qe.AbstractMethodHasImplementation,{at:t,methodName:e.type==="Identifier"&&!t.computed?e.name:`[${this.input.slice(e.start,e.end)}]`})}}return t}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}parseExportSpecifier(e,t,r,n){if(!t&&n){this.parseTypeOnlyImportExportSpecifier(e,false,r);return this.finishNode(e,"ExportSpecifier")}e.exportKind="value";return super.parseExportSpecifier(e,t,r,n)}parseImportSpecifier(e,t,r,n){if(!t&&n){this.parseTypeOnlyImportExportSpecifier(e,true,r);return this.finishNode(e,"ImportSpecifier")}e.importKind="value";return super.parseImportSpecifier(e,t,r,n)}parseTypeOnlyImportExportSpecifier(e,t,r){const n=t?"imported":"local";const s=t?"local":"exported";let i=e[n];let a;let o=false;let l=true;const c=i.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const r=this.parseIdentifier();if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;i=e;a=t?this.parseIdentifier():this.parseModuleExportName();l=false}else{a=r;l=false}}else if(tokenIsKeywordOrIdentifier(this.state.type)){l=false;a=t?this.parseIdentifier():this.parseModuleExportName()}else{o=true;i=e}}else if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;if(t){i=this.parseIdentifier(true);if(!this.isContextual(93)){this.checkReservedWord(i.name,i.loc.start,true,true)}}else{i=this.parseModuleExportName()}}if(o&&r){this.raise(t?Qe.TypeModifierIsUsedInTypeImports:Qe.TypeModifierIsUsedInTypeExports,{at:c})}e[n]=i;e[s]=a;const u=t?"importKind":"exportKind";e[u]=o?"type":"value";if(l&&this.eatContextual(93)){e[s]=t?this.parseIdentifier():this.parseModuleExportName()}if(!e[s]){e[s]=cloneIdentifier(e[n])}if(t){this.checkIdentifier(e[s],se)}}};function isPossiblyLiteralEnum(e){if(e.type!=="MemberExpression")return false;const{computed:t,property:r}=e;if(t&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)){return false}return isUncomputedMemberExpressionChain(e.object)}function isUncomputedMemberExpressionChain(e){if(e.type==="Identifier")return true;if(e.type!=="MemberExpression")return false;if(e.computed)return false;return isUncomputedMemberExpressionChain(e.object)}const Ze=ParseErrorEnum`placeholders`((e=>({ClassNameIsRequired:e("A class name is required."),UnexpectedSpace:e("Unexpected space in placeholder.")})));var placeholders=e=>class extends e{parsePlaceholder(e){if(this.match(140)){const t=this.startNode();this.next();this.assertNoSpace();t.name=super.parseIdentifier(true);this.assertNoSpace();this.expect(140);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){return this.finishOp(140,2)}return super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){if(e!==undefined)super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}isValidLVal(e,...t){return e==="Placeholder"||super.isValidLVal(e,...t)}toAssignable(e){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern"}else{super.toAssignable(...arguments)}}isLet(e){if(super.isLet(e)){return true}if(!this.isContextual(99)){return false}if(e)return false;const t=this.lookahead();if(t.type===140){return true}return false}verifyBreakContinue(e){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(...arguments)}if(this.match(14)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=this.parseStatement("label");return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();this.takeDecorators(e);const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(81)||this.match(140)||this.match(5)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{throw this.raise(Ze.ClassNameIsRequired,{at:this.state.startLoc})}}else{this.parseClassId(e,t,r)}this.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(t,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const r=this.startNode();r.exported=t;e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")];return super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(tokenLabelName(140),this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){if(e.specifiers&&e.specifiers.length>0){return true}return super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter((e=>e.exported.type==="Placeholder"))}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);e.specifiers=[];if(!this.isContextual(97)&&!this.match(12)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;this.finishNode(r,"ImportDefaultSpecifier");e.specifiers.push(r);if(this.eat(12)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual(97);e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}assertNoSpace(){if(this.state.start>this.state.lastTokEndLoc.index){this.raise(Ze.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}};var v8intrinsic=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc;const t=this.startNode();this.next();if(tokenIsIdentifier(this.state.type)){const e=this.parseIdentifierName(this.state.start);const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(10)){return r}}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function hasPlugin(e,t){const[r,n]=typeof t==="string"?[t,{}]:t;const s=Object.keys(n);const i=s.length===0;return e.some((e=>{if(typeof e==="string"){return i&&e===r}else{const[t,i]=e;if(t!==r){return false}for(const e of s){if(i[e]!==n[e]){return false}}return true}}))}function getPluginOption(e,t,r){const n=e.find((e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}}));if(n&&Array.isArray(n)){return n[1][r]}return null}const et=["minimal","fsharp","hack","smart"];const tt=["^^","@@","^","%","#"];const rt=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t==null){throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option,"+" whose value must be a boolean. If you are migrating from"+" Babylon/Babel 6 or want to use the old decorators proposal, you"+" should use the 'decorators-legacy' plugin instead of 'decorators'.")}else if(typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")){const t=getPluginOption(e,"pipelineOperator","proposal");if(!et.includes(t)){const e=et.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=hasPlugin(e,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(hasPlugin(e,"placeholders")){throw new Error("Cannot combine placeholders plugin and Hack-style pipes.")}if(hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.")}const t=getPluginOption(e,"pipelineOperator","topicToken");if(!tt.includes(t)){const e=tt.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t==="#"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}else if(t==="smart"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")){throw new Error("Cannot combine importAssertions and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="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'.")}}}if(hasPlugin(e,"recordAndTuple")&&!rt.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+rt.map((e=>`'${e}'`)).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const nt={estree:estree,jsx:jsx,flow:flow,typescript:typescript,v8intrinsic:v8intrinsic,placeholders:placeholders};const st=Object.keys(nt);const it={sourceType:"script",sourceFilename:undefined,startColumn:0,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false,attachComment:true};function getOptions(e){const t={};for(const r of Object.keys(it)){t[r]=e&&e[r]!=null?e[r]:it[r]}return t}const getOwn=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];const unwrapParenthesizedExpression=e=>e.type==="ParenthesizedExpression"?unwrapParenthesizedExpression(e.expression):e;class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=unwrapParenthesizedExpression(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordArrowParemeterBindingError(a.InvalidParenthesizedAssignment,{at:e})}else if(s.type!=="MemberExpression"){this.raise(a.InvalidParenthesizedAssignment,{at:e})}}else{this.raise(a.InvalidParenthesizedAssignment,{at:e})}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;r<n;r++){var i;const n=e.properties[r];const o=r===s;this.toAssignableObjectExpressionProp(n,o,t);if(o&&n.type==="RestElement"&&(i=e.extra)!=null&&i.trailingCommaLoc){this.raise(a.RestTrailingComma,{at:e.extra.trailingCommaLoc})}}break;case"ObjectProperty":{const{key:r,value:n}=e;if(this.isPrivateName(r)){this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start)}this.toAssignable(n,t);break}case"SpreadElement":{throw new Error("Internal @babel/parser error (this is a bug, please report it)."+" SpreadElement should be converted by .toAssignable's caller.")}case"ArrayExpression":e.type="ArrayPattern";this.toAssignableList(e.elements,(n=e.extra)==null?void 0:n.trailingCommaLoc,t);break;case"AssignmentExpression":if(e.operator!=="="){this.raise(a.MissingEqInAssignment,{at:e.left.loc.end})}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(s,t);break}}toAssignableObjectExpressionProp(e,t,r){if(e.type==="ObjectMethod"){this.raise(e.kind==="get"||e.kind==="set"?a.PatternHasAccessor:a.PatternHasMethod,{at:e.key})}else if(e.type==="SpreadElement"){e.type="RestElement";const n=e.argument;this.checkToRestConversion(n,false);this.toAssignable(n,r);if(!t){this.raise(a.RestTrailingComma,{at:e})}}else{this.toAssignable(e,r)}}toAssignableList(e,t,r){const n=e.length-1;for(let s=0;s<=n;s++){const i=e[s];if(!i)continue;if(i.type==="SpreadElement"){i.type="RestElement";const e=i.argument;this.checkToRestConversion(e,true);this.toAssignable(e,r)}else{this.toAssignable(i,r)}if(i.type==="RestElement"){if(s<n){this.raise(a.RestTrailingComma,{at:i})}else if(t){this.raise(a.RestTrailingComma,{at:t})}}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every(((e,r)=>e.type!=="ObjectMethod"&&(r===t||e.type!=="SpreadElement")&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>e===null||this.isAssignable(e)));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e){if((t==null?void 0:t.type)==="ArrayExpression"){this.toReferencedListDeep(t.elements)}}}parseSpread(e,t){const r=this.startNode();this.next();r.argument=this.parseMaybeAssignAllowIn(e,undefined,t);return this.finishNode(r,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();this.next();e.elements=this.parseBindingList(3,93,true);return this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,true)}return this.parseIdentifier()}parseBindingList(e,t,r,n){const s=[];let i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(12)}if(r&&this.match(12)){s.push(null)}else if(this.eat(e)){break}else if(this.match(21)){s.push(this.parseAssignableListItemTypes(this.parseRestBinding()));if(!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];if(this.match(26)&&this.hasPlugin("decorators")){this.raise(a.UnsupportedParameterDecorator,{at:this.state.startLoc})}while(this.match(26)){e.push(this.parseDecorator())}s.push(this.parseAssignableListItem(n,e))}}return s}parseBindingRestProperty(e){this.next();e.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode();const{type:t,start:r,startLoc:n}=this.state;if(t===21){return this.parseBindingRestProperty(e)}else if(t===134){this.expectPlugin("destructuringPrivate",n);this.classScope.usePrivateName(this.state.value,n);e.key=this.parsePrivateName()}else{this.parsePropertyName(e)}e.method=false;this.parseObjPropValue(e,r,n,false,false,true,false);return e}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);const n=this.parseMaybeDefault(r.start,r.loc.start,r);if(t.length){r.decorators=t}return n}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var n,s,i;t=(n=t)!=null?n:this.state.startLoc;e=(s=e)!=null?s:this.state.start;r=(i=r)!=null?i:this.parseBindingAtom();if(!this.eat(29))return r;const a=this.startNodeAt(e,t);a.left=r;a.right=this.parseMaybeAssignAllowIn();return this.finishNode(a,"AssignmentPattern")}isValidLVal(e,t,r){return getOwn({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,{in:t,binding:r=pe,checkClashes:n=false,strictModeChanged:s=false,allowingSloppyLetBinding:i=!(r&J),hasParenthesizedAncestor:o=false}){var l;const c=e.type;if(this.isObjectMethod(e))return;if(c==="MemberExpression"){if(r!==pe){this.raise(a.InvalidPropertyBindingPattern,{at:e})}return}if(e.type==="Identifier"){this.checkIdentifier(e,r,s,i);const{name:t}=e;if(n){if(n.has(t)){this.raise(a.ParamDupe,{at:e})}else{n.add(t)}}return}const u=this.isValidLVal(e.type,!(o||(l=e.extra)!=null&&l.parenthesized)&&t.type==="AssignmentExpression",r);if(u===true)return;if(u===false){const n=r===pe?a.InvalidLhs:a.InvalidLhsBinding;this.raise(n,{at:e,ancestor:t.type==="UpdateExpression"?{type:"UpdateExpression",prefix:t.prefix}:{type:t.type}});return}const[p,f]=Array.isArray(u)?u:[u,c==="ParenthesizedExpression"];const d=e.type==="ArrayPattern"||e.type==="ObjectPattern"||e.type==="ParenthesizedExpression"?e:t;for(const t of[].concat(e[p])){if(t){this.checkLVal(t,{in:d,binding:r,checkClashes:n,allowingSloppyLetBinding:i,strictModeChanged:s,hasParenthesizedAncestor:f})}}}checkIdentifier(e,t,r=false,n=!(t&J)){if(this.state.strict&&(r?isStrictBindReservedWord(e.name,this.inModule):isStrictBindOnlyReservedWord(e.name))){if(t===pe){this.raise(a.StrictEvalArguments,{at:e,referenceName:e.name})}else{this.raise(a.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})}}if(!n&&e.name==="let"){this.raise(a.LetInLexicalBinding,{at:e})}if(!(t&pe)){this.declareNameFromIdentifier(e,t)}}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(a.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){if(!this.match(12)){return false}this.raise(this.lookaheadCharCode()===e?a.RestTrailingComma:a.ElementAfterRest,{at:this.state.startLoc});return true}}class ExpressionParser extends LValParser{checkProto(e,t,r,n){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const s=e.key;const i=s.type==="Identifier"?s.name:s.value;if(i==="__proto__"){if(t){this.raise(a.RecordNoProto,{at:s});return}if(r.used){if(n){if(n.doubleProtoLoc===null){n.doubleProtoLoc=s.loc.start}}else{this.raise(a.DuplicateProto,{at:s})}}r.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes();this.nextToken();const e=this.parseExpression();if(!this.match(135)){this.unexpected()}this.finalizeRemainingComments();e.comments=this.state.comments;e.errors=this.state.errors;if(this.options.tokens){e.tokens=this.tokens}return e}parseExpression(e,t){if(e){return this.disallowInAnd((()=>this.parseExpressionBase(t)))}return this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){const t=this.state.start;const r=this.state.startLoc;const n=this.parseMaybeAssign(e);if(this.match(12)){const s=this.startNodeAt(t,r);s.expressions=[n];while(this.eat(12)){s.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(s.expressions);return this.finishNode(s,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=(r=t==null?void 0:t.loc)!=null?r:this.state.startLoc}parseMaybeAssign(e,t){const r=this.state.start;const n=this.state.startLoc;if(this.isContextual(105)){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r,n)}return e}}let s;if(e){s=false}else{e=new ExpressionErrors;s=true}const{type:i}=this.state;if(i===10||tokenIsIdentifier(i)){this.state.potentialArrowAt=this.state.start}let a=this.parseMaybeConditional(e);if(t){a=t.call(this,a,r,n)}if(tokenIsAssignment(this.state.type)){const t=this.startNodeAt(r,n);const s=this.state.value;t.operator=s;if(this.match(29)){this.toAssignable(a,true);t.left=a;if(e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=r){e.doubleProtoLoc=null}if(e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=r){e.shorthandAssignLoc=null}if(e.privateKeyLoc!=null&&e.privateKeyLoc.index>=r){this.checkDestructuringPrivate(e);e.privateKeyLoc=null}}else{t.left=a}this.next();t.right=this.parseMaybeAssign();this.checkLVal(a,{in:this.finishNode(t,"AssignmentExpression")});return t}else if(s){this.checkExpressionErrors(e,true)}return a}parseMaybeConditional(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprOps(e);if(this.shouldExitDescending(s,n)){return s}return this.parseConditional(s,t,r,e)}parseConditional(e,t,r,n){if(this.eat(17)){const n=this.startNodeAt(t,r);n.test=e;n.consequent=this.parseMaybeAssignAllowIn();this.expect(14);n.alternate=this.parseMaybeAssign();return this.finishNode(n,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseMaybeUnaryOrPrivate(e);if(this.shouldExitDescending(s,n)){return s}return this.parseExprOp(s,t,r,-1)}parseExprOp(e,t,r,n){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);if(n>=tokenOperatorPrecedence(58)||!this.prodParam.hasIn||!this.match(58)){this.raise(a.PrivateInExpectedIn,{at:e,identifierName:t})}this.classScope.usePrivateName(t,e.loc.start)}const s=this.state.type;if(tokenIsOperator(s)&&(this.prodParam.hasIn||!this.match(58))){let i=tokenOperatorPrecedence(s);if(i>n){if(s===39){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,r)}const o=this.startNodeAt(t,r);o.left=e;o.operator=this.state.value;const l=s===41||s===42;const c=s===40;if(c){i=tokenOperatorPrecedence(42)}this.next();if(s===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait){throw this.raise(a.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc})}}o.right=this.parseExprOpRightExpr(s,i);this.finishNode(o,l||c?"LogicalExpression":"BinaryExpression");const u=this.state.type;if(c&&(u===41||u===42)||l&&u===40){throw this.raise(a.MixingCoalesceWithLogical,{at:this.state.startLoc})}return this.parseExprOp(o,t,r,n)}}return e}parseExprOpRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(105)){throw this.raise(a.PipeBodyIsTighter,{at:this.state.startLoc})}return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r,n)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start;const n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,n,tokenIsRightAssociative(e)?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state;const r=this.parseMaybeAssign();const n=s.has(r.type);if(n&&!((e=r.extra)!=null&&e.parenthesized)){this.raise(a.PipeUnparenthesizedBody,{at:t,type:r.type})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(a.PipeTopicUnused,{at:t})}return r}checkExponentialAfterUnary(e){if(this.match(57)){this.raise(a.UnexpectedTokenUnaryExponentiation,{at:e.argument})}}parseMaybeUnary(e,t){const r=this.state.start;const n=this.state.startLoc;const s=this.isContextual(96);if(s&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);if(!t)this.checkExponentialAfterUnary(e);return e}const i=this.match(34);const o=this.startNode();if(tokenIsPrefix(this.state.type)){o.operator=this.state.value;o.prefix=true;if(this.match(72)){this.expectPlugin("throwExpressions")}const r=this.match(89);this.next();o.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=o.argument;if(e.type==="Identifier"){this.raise(a.StrictDelete,{at:o})}else if(this.hasPropertyAsPrivateName(e)){this.raise(a.DeletePrivateField,{at:o})}}if(!i){if(!t)this.checkExponentialAfterUnary(o);return this.finishNode(o,"UnaryExpression")}}const l=this.parseUpdate(o,i,e);if(s){const{type:e}=this.state;const t=this.hasPlugin("v8intrinsic")?tokenCanStartExpression(e):tokenCanStartExpression(e)&&!this.match(54);if(t&&!this.isAmbiguousAwait()){this.raiseOverwrite(a.AwaitNotInAsyncContext,{at:n});return this.parseAwait(r,n)}}return l}parseUpdate(e,t,r){if(t){this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")});return e}const n=this.state.start;const s=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return i;while(tokenIsPostfix(this.state.type)&&!this.canInsertSemicolon()){const e=this.startNodeAt(n,s);e.operator=this.state.value;e.prefix=false;e.argument=i;this.next();this.checkLVal(i,{in:i=this.finishNode(e,"UpdateExpression")})}return i}parseExprSubscripts(e){const t=this.state.start;const r=this.state.startLoc;const n=this.state.potentialArrowAt;const s=this.parseExprAtom(e);if(this.shouldExitDescending(s,n)){return s}return this.parseSubscripts(s,t,r)}parseSubscripts(e,t,r,n){const s={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n,s);s.maybeAsyncArrow=false}while(!s.stop);return e}parseSubscript(e,t,r,n,s){const{type:i}=this.state;if(!n&&i===15){return this.parseBind(e,t,r,n,s)}else if(tokenIsTemplate(i)){return this.parseTaggedTemplateExpression(e,t,r,s)}let a=false;if(i===18){if(n&&this.lookaheadCharCode()===40){s.stop=true;return e}s.optionalChainMember=a=true;this.next()}if(!n&&this.match(10)){return this.parseCoverCallAndAsyncArrowHead(e,t,r,s,a)}else{const n=this.eat(0);if(n||a||this.eat(16)){return this.parseMember(e,t,r,s,n,a)}else{s.stop=true;return e}}}parseMember(e,t,r,n,s,i){const o=this.startNodeAt(t,r);o.object=e;o.computed=s;if(s){o.property=this.parseExpression();this.expect(3)}else if(this.match(134)){if(e.type==="Super"){this.raise(a.SuperPrivateField,{at:r})}this.classScope.usePrivateName(this.state.value,this.state.startLoc);o.property=this.parsePrivateName()}else{o.property=this.parseIdentifier(true)}if(n.optionalChainMember){o.optional=i;return this.finishNode(o,"OptionalMemberExpression")}else{return this.finishNode(o,"MemberExpression")}}parseBind(e,t,r,n,s){const i=this.startNodeAt(t,r);i.object=e;this.next();i.callee=this.parseNoCallExpr();s.stop=true;return this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,s){const i=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=true;this.next();let o=this.startNodeAt(t,r);o.callee=e;const{maybeAsyncArrow:l,optionalChainMember:c}=n;if(l){this.expressionScope.enter(newAsyncArrowScope());a=new ExpressionErrors}if(c){o.optional=s}if(s){o.arguments=this.parseCallExpressionArguments(11)}else{o.arguments=this.parseCallExpressionArguments(11,e.type==="Import",e.type!=="Super",o,a)}this.finishCallExpression(o,c);if(l&&this.shouldParseAsyncArrow()&&!s){n.stop=true;this.checkDestructuringPrivate(a);this.expressionScope.validateAsPattern();this.expressionScope.exit();o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)}else{if(l){this.checkExpressionErrors(a,true);this.expressionScope.exit()}this.toReferencedArguments(o)}this.state.maybeInArrowParameters=i;return o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const s=this.startNodeAt(t,r);s.tag=e;s.quasi=this.parseTemplate(true);if(n.optionalChainMember){this.raise(a.OptionalChainingNoTemplate,{at:r})}return this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectPlugin("importAssertions")}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(a.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1})}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(a.ImportCallSpreadArgument,{at:t})}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let o=true;const l=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(o){o=false}else{this.expect(12);if(this.match(e)){if(t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(a.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc})}if(n){this.addTrailingCommaExtraToNode(n)}this.next();break}}i.push(this.parseExprListItem(false,s,r))}this.state.inFSharpPipelineDirectBody=l;return i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.resetPreviousNodeTrailingComments(t);this.expect(19);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingCommaLoc);if(t.innerComments){setInnerComments(e,t.innerComments)}if(t.callee.trailingComments){setInnerComments(e,t.callee.trailingComments)}return e}parseNoCallExpr(){const e=this.state.start;const t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,true)}parseExprAtom(e){let t;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:t=this.startNode();this.next();if(this.match(16)){return this.parseImportMetaProperty(t)}if(!this.match(10)){this.raise(a.UnsupportedImport,{at:this.state.lastTokStartLoc})}return this.finishNode(t,"Import");case 78:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case 90:{return this.parseDo(this.startNode(),false)}case 56:case 31:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(true);case 86:return this.parseBooleanLiteral(false);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:{return this.parseArrayLike(this.state.type===2?4:3,false,true)}case 0:{return this.parseArrayLike(3,true,false,e)}case 6:case 7:{return this.parseObjectLike(this.state.type===6?9:8,false,true)}case 5:{return this.parseObjectLike(8,false,false,e)}case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:t=this.startNode();this.takeDecorators(t);return this.parseClass(t,false);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(false);case 15:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(a.UnsupportedBind,{at:e})}}case 134:{this.raise(a.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value});return this.parsePrivateName()}case 33:{return this.parseTopicReferenceThenEqualsSign(54,"%")}case 32:{return this.parseTopicReferenceThenEqualsSign(44,"^")}case 37:case 38:{return this.parseTopicReference("hack")}case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){return this.parseTopicReference(e)}else{throw this.unexpected()}}case 47:{const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else{throw this.unexpected()}}default:if(tokenIsIdentifier(r)){if(this.isContextual(123)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak()){return this.parseModuleExpression()}const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){const{type:e}=this.state;if(e===68){this.resetPreviousNodeTrailingComments(r);this.next();return this.parseFunction(this.startNodeAtNode(r),undefined,true)}else if(tokenIsIdentifier(e)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r))}else{return r}}else if(e===90){this.resetPreviousNodeTrailingComments(r);return this.parseDo(this.startNodeAtNode(r),true)}}if(e&&this.match(19)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}else{throw this.unexpected()}}}parseTopicReferenceThenEqualsSign(e,t){const r=this.getPluginOption("pipelineOperator","proposal");if(r){this.state.type=e;this.state.value=t;this.state.pos--;this.state.end--;this.state.endLoc=createPositionWithColumnOffset(this.state.endLoc,-1);return this.parseTopicReference(r)}else{throw this.unexpected()}}parseTopicReference(e){const t=this.startNode();const r=this.state.startLoc;const n=this.state.type;this.next();return this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){const n=r==="smart"?"PipelinePrimaryTopicReference":"TopicReference";if(!this.topicReferenceIsAllowedInCurrentContext()){this.raise(r==="smart"?a.PrimaryTopicNotAllowed:a.PipeTopicUnbound,{at:t})}this.registerTopicReference();return this.finishNode(e,n)}else{throw this.raise(a.PipeTopicUnconfiguredToken,{at:t,token:tokenLabelName(n)})}}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{return this.hasPlugin(["pipelineOperator",{topicToken:tokenLabelName(r)}])}case"smart":return r===27;default:throw this.raise(a.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(a.LineTerminatorBeforeArrow,{at:this.state.curPosition()})}this.expect(19);this.parseArrowExpression(e,t,true);return e}parseDo(e,t){this.expectPlugin("doExpressions");if(t){this.expectPlugin("asyncDoExpressions")}e.async=t;this.next();const r=this.state.labels;this.state.labels=[];if(t){this.prodParam.enter($e);e.body=this.parseBlock();this.prodParam.exit()}else{e.body=this.parseBlock()}this.state.labels=r;return this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(a.SuperNotAllowed,{at:e})}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(a.UnexpectedSuper,{at:e})}if(!this.match(10)&&!this.match(0)&&!this.match(16)){this.raise(a.UnsupportedSuper,{at:e})}return this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(this.state.start+1,new Position(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();if(this.match(102)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(a.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r})}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual(100)){if(!this.inModule){this.raise(a.ImportMetaOutsideModule,{at:t})}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start;const r=this.state.startLoc;let n;this.next();this.expressionScope.enter(newArrowHeadScope());const s=this.state.maybeInArrowParameters;const i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const a=this.state.start;const o=this.state.startLoc;const l=[];const c=new ExpressionErrors;let u=true;let p;let f;while(!this.match(11)){if(u){u=false}else{this.expect(12,c.optionalParametersLoc===null?null:c.optionalParametersLoc);if(this.match(11)){f=this.state.startLoc;break}}if(this.match(21)){const e=this.state.start;const t=this.state.startLoc;p=this.state.startLoc;l.push(this.parseParenItem(this.parseRestBinding(),e,t));if(!this.checkCommaAfterRest(41)){break}}else{l.push(this.parseMaybeAssignAllowIn(c,this.parseParenItem))}}const d=this.state.lastTokEndLoc;this.expect(11);this.state.maybeInArrowParameters=s;this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(t,r);if(e&&this.shouldParseArrow(l)&&(h=this.parseArrow(h))){this.checkDestructuringPrivate(c);this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(h,l,false);return h}this.expressionScope.exit();if(!l.length){this.unexpected(this.state.lastTokStartLoc)}if(f)this.unexpected(f);if(p)this.unexpected(p);this.checkExpressionErrors(c,true);this.toReferencedListDeep(l,true);if(l.length>1){n=this.startNodeAt(a,o);n.expressions=l;this.finishNode(n,"SequenceExpression");this.resetEndLocation(n,d)}else{n=l[0]}return this.wrapParenthesis(t,r,n)}wrapParenthesis(e,t,r){if(!this.options.createParenthesizedExpressions){this.addExtra(r,"parenthesized",true);this.addExtra(r,"parenStart",e);this.takeSurroundingComments(r,e,this.state.lastTokEndLoc.index);return r}const n=this.startNodeAt(e,t);n.expression=r;this.finishNode(n,"ParenthesizedExpression");return n}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19)){return e}}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){this.raise(a.UnexpectedNewTarget,{at:r})}return r}return this.parseNew(e)}parseNew(e){this.parseNewCallee(e);if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(a.ImportCallNotNewExpression,{at:e.callee})}else if(this.isOptionalChain(e.callee)){this.raise(a.OptionalChainingNoNew,{at:this.state.lastTokEndLoc})}else if(this.eat(18)){this.raise(a.OptionalChainingNoNew,{at:this.state.startLoc})}}parseTemplateElement(e){const{start:t,startLoc:r,end:n,value:s}=this.state;const i=t+1;const o=this.startNodeAt(i,createPositionWithColumnOffset(r,1));if(s===null){if(!e){this.raise(a.InvalidEscapeSequenceTemplate,{at:createPositionWithColumnOffset(r,2)})}}const l=this.match(24);const c=l?-1:-2;const u=n+c;o.value={raw:this.input.slice(i,u).replace(/\r\n?/g,"\n"),cooked:s===null?null:s.slice(1,c)};o.tail=l;this.next();this.finishNode(o,"TemplateElement");this.resetEndLocation(o,createPositionWithColumnOffset(this.state.lastTokEndLoc,c));return o}parseTemplate(e){const t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){t.expressions.push(this.parseTemplateSubstitution());this.readTemplateContinuation();t.quasis.push(r=this.parseTemplateElement(e))}return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let o=true;const l=this.startNode();l.properties=[];this.next();while(!this.match(e)){if(o){o=false}else{this.expect(12);if(this.match(e)){this.addTrailingCommaExtraToNode(l);break}}let s;if(t){s=this.parseBindingProperty()}else{s=this.parsePropertyDefinition(n);this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(a.InvalidRecordProperty,{at:s})}if(s.shorthand){this.addExtra(s,"shorthand",true)}l.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let c="ObjectExpression";if(t){c="ObjectPattern"}else if(r){c="RecordExpression"}return this.finishNode(l,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart);this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,false)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26)){if(this.hasPlugin("decorators")){this.raise(a.UnsupportedPropertyDecorator,{at:this.state.startLoc})}while(this.match(26)){t.push(this.parseDecorator())}}const r=this.startNode();let n=false;let s=false;let i;let o;if(this.match(21)){if(t.length)this.unexpected();return this.parseSpread()}if(t.length){r.decorators=t;t=[]}r.method=false;if(e){i=this.state.start;o=this.state.startLoc}let l=this.eat(55);this.parsePropertyNamePrefixOperator(r);const c=this.state.containsEsc;const u=this.parsePropertyName(r,e);if(!l&&!c&&this.maybeAsyncOrAccessorProp(r)){const e=u.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;this.resetPreviousNodeTrailingComments(u);l=this.eat(55);this.parsePropertyName(r)}if(e==="get"||e==="set"){s=true;this.resetPreviousNodeTrailingComments(u);r.kind=e;if(this.match(55)){l=true;this.raise(a.AccessorIsGenerator,{at:this.state.curPosition(),kind:e});this.next()}this.parsePropertyName(r)}}this.parseObjPropValue(r,i,o,l,n,false,s,e);return r}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);if(n.length!==r){this.raise(e.kind==="get"?a.BadGetterArity:a.BadSetterArity,{at:e})}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(a.BadSetterRestParameter,{at:e})}}parseObjectMethod(e,t,r,n,s){if(s){this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(e);return e}if(r||t||this.match(10)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n,s){e.shorthand=false;if(this.eat(14)){e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(s);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.loc.start,true,false);if(n){e.value=this.parseMaybeDefault(t,r,cloneIdentifier(e.key))}else if(this.match(29)){const n=this.state.startLoc;if(s!=null){if(s.shorthandAssignLoc===null){s.shorthandAssignLoc=n}}else{this.raise(a.InvalidCoverInitializedName,{at:n})}e.value=this.parseMaybeDefault(t,r,cloneIdentifier(e.key))}else{e.value=cloneIdentifier(e.key)}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a,o){const l=this.parseObjectMethod(e,n,s,i,a)||this.parseObjectProperty(e,t,r,i,o);if(!l)this.unexpected();return l}parsePropertyName(e,t){if(this.eat(0)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(3)}else{const{type:r,value:n}=this.state;let s;if(tokenIsKeywordOrIdentifier(r)){s=this.parseIdentifier(true)}else{switch(r){case 130:s=this.parseNumericLiteral(n);break;case 129:s=this.parseStringLiteral(n);break;case 131:s=this.parseBigIntLiteral(n);break;case 132:s=this.parseDecimalLiteral(n);break;case 134:{const e=this.state.startLoc;if(t!=null){if(t.privateKeyLoc===null){t.privateKeyLoc=e}}else{this.raise(a.UnexpectedPrivateField,{at:e})}s=this.parsePrivateName();break}default:throw this.unexpected()}}e.key=s;if(r!==134){e.computed=false}}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=!!t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=!!t;const o=n;this.scope.enter(F|U|(a?$:0)|(s?K:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,o);this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return e}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(F|R);let s=functionFlags(r,false);if(!this.match(5)&&this.prodParam.hasIn){s|=We}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,false);e.params=t}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(5);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Ve);e.body=this.parseBlock(true,false,(s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){this.raise(a.IllegalLanguageModeDirective,{at:(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.loc.end:e})}const o=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,o);if(this.state.strict&&e.id){this.checkIdentifier(e.id,fe,o)}}));this.prodParam.exit();this.state.labels=s}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++){if(!this.isSimpleParameter(e[t]))return false}return true}checkParams(e,t,r,n=true){const s=!t&&new Set;const i={type:"FormalParameters"};for(const t of e.params){this.checkLVal(t,{in:i,binding:ie,checkClashes:s,strictModeChanged:n})}}parseExprList(e,t,r,n){const s=[];let i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(12);if(this.match(e)){if(n){this.addTrailingCommaExtraToNode(n)}this.next();break}}s.push(this.parseExprListItem(t,r))}return s}parseExprListItem(e,t,r){let n;if(this.match(12)){if(!e){this.raise(a.UnexpectedToken,{at:this.state.curPosition(),unexpected:","})}n=null}else if(this.match(21)){const e=this.state.start;const r=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e,r)}else if(this.match(17)){this.expectPlugin("partialApplication");if(!r){this.raise(a.UnexpectedArgumentPlaceholder,{at:this.state.startLoc})}const e=this.startNode();this.next();n=this.finishNode(e,"ArgumentPlaceholder")}else{n=this.parseMaybeAssignAllowIn(t,this.parseParenItem)}return n}parseIdentifier(e){const t=this.startNode();const r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)}createIdentifier(e,t){e.name=t;e.loc.identifierName=t;return this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let r;const{startLoc:n,type:s}=this.state;if(tokenIsKeywordOrIdentifier(s)){r=this.state.value}else{throw this.unexpected()}const i=tokenKeywordOrIdentifierIsKeyword(s);if(t){if(i){this.replaceToken(128)}}else{this.checkReservedWord(r,n,i,false)}this.next();return r}checkReservedWord(e,t,r,n){if(e.length>10){return}if(!canBeReservedWord(e)){return}if(e==="yield"){if(this.prodParam.hasYield){this.raise(a.YieldBindingIdentifier,{at:t});return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(a.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(a.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(a.ArgumentsInClass,{at:t});return}}if(r&&isKeyword(e)){this.raise(a.UnexpectedKeyword,{at:t,keyword:e});return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(a.UnexpectedReservedWord,{at:t,reservedWord:e})}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e,t){const r=this.startNodeAt(e,t);this.expressionScope.recordParameterInitializerError(a.AwaitExpressionFormalParameter,{at:r});if(this.eat(55)){this.raise(a.ObsoleteAwaitStar,{at:r})}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){r.argument=this.parseMaybeUnary(null,true)}return this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return true;const{type:e}=this.state;return e===53||e===10||e===0||tokenIsTemplate(e)||e===133||e===56||this.hasPlugin("v8intrinsic")&&e===54}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(a.YieldInParameter,{at:e});this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(55);switch(this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(e.type==="SequenceExpression"){this.raise(a.PipelineHeadSequenceExpression,{at:t})}}}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);if(this.isSimpleReference(e)){n.callee=e;return this.finishNode(n,"PipelineBareFunction")}else{this.checkSmartPipeTopicBodyEarlyErrors(r);n.expression=e;return this.finishNode(n,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19)){throw this.raise(a.PipelineBodyNoArrow,{at:this.state.startLoc})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(a.PipelineTopicUnused,{at:e})}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else{return e()}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=We&~t;if(r){this.prodParam.enter(t|We);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=We&t;if(r){this.prodParam.enter(t&~We);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start;const r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const s=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,r,e);this.state.inFSharpPipelineDirectBody=n;return s}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();this.eat(5);const t=this.initializeScopes(true);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,8,"module")}finally{t()}this.eat(8);return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const at={kind:"loop"},ot={kind:"switch"};const lt=0,ct=1,ut=2,pt=4;const ft=/[\uD800-\uDFFF]/u;const dt=/in(?:stanceof)?/y;function babel7CompatTokens(e,t){for(let r=0;r<e.length;r++){const n=e[r];const{type:s}=n;if(typeof s==="number"){{if(s===134){const{loc:t,start:s,value:i,end:a}=n;const o=s+1;const l=createPositionWithColumnOffset(t.start,1);e.splice(r,1,new Token({type:getExportedToken(27),value:"#",start:s,end:o,startLoc:t.start,endLoc:l}),new Token({type:getExportedToken(128),value:i,start:o,end:a,startLoc:l,endLoc:t.end}));r++;continue}if(tokenIsTemplate(s)){const{loc:i,start:a,value:o,end:l}=n;const c=a+1;const u=createPositionWithColumnOffset(i.start,1);let p;if(t.charCodeAt(a)===96){p=new Token({type:getExportedToken(22),value:"`",start:a,end:c,startLoc:i.start,endLoc:u})}else{p=new Token({type:getExportedToken(8),value:"}",start:a,end:c,startLoc:i.start,endLoc:u})}let f,d,h,m;if(s===24){d=l-1;h=createPositionWithColumnOffset(i.end,-1);f=o===null?null:o.slice(1,-1);m=new Token({type:getExportedToken(22),value:"`",start:d,end:l,startLoc:h,endLoc:i.end})}else{d=l-2;h=createPositionWithColumnOffset(i.end,-2);f=o===null?null:o.slice(1,-2);m=new Token({type:getExportedToken(23),value:"${",start:d,end:l,startLoc:h,endLoc:i.end})}e.splice(r,1,p,new Token({type:getExportedToken(20),value:f,start:c,end:d,startLoc:u,endLoc:h}),m);r+=2;continue}}n.type=getExportedToken(s)}}return e}class StatementParser extends ExpressionParser{parseTopLevel(e,t){e.program=this.parseProgram(t);e.comments=this.state.comments;if(this.options.tokens){e.tokens=babel7CompatTokens(this.tokens,this.input)}return this.finishNode(e,"File")}parseProgram(e,t=135,r=this.options.sourceType){e.sourceType=r;e.interpreter=this.parseInterpreterDirective();this.parseBlockBody(e,true,true,t);if(this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0){for(const[e,t]of Array.from(this.scope.undefinedExports)){this.raise(a.ModuleExportUndefined,{at:t,localName:e})}}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive";t.value=t.expression;delete t.expression;const r=t.value;const n=r.value;const s=this.input.slice(r.start,r.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);this.addExtra(r,"expressionValue",n);r.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(28)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual(99)){return false}return this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart();const r=this.codePointAtPos(t);if(r===92||r===91){return true}if(e)return false;if(r===123)return true;if(isIdentifierStart(r)){dt.lastIndex=t;if(dt.test(this.input)){const e=this.codePointAtPos(dt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}return false}parseStatement(e,t){if(this.match(26)){this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let s;if(this.isLet(e)){r=74;s="let"}switch(r){case 60:return this.parseBreakContinueStatement(n,true);case 63:return this.parseBreakContinueStatement(n,false);case 64:return this.parseDebuggerStatement(n);case 90:return this.parseDoStatement(n);case 91:return this.parseForStatement(n);case 68:if(this.lookaheadCharCode()===46)break;if(e){if(this.state.strict){this.raise(a.StrictFunction,{at:this.state.startLoc})}else if(e!=="if"&&e!=="label"){this.raise(a.SloppyFunction,{at:this.state.startLoc})}}return this.parseFunctionStatement(n,false,!e);case 80:if(e)this.unexpected();return this.parseClass(n,true);case 69:return this.parseIfStatement(n);case 70:return this.parseReturnStatement(n);case 71:return this.parseSwitchStatement(n);case 72:return this.parseThrowStatement(n);case 73:return this.parseTryStatement(n);case 75:case 74:s=s||this.state.value;if(e&&s!=="var"){this.raise(a.UnexpectedLexicalDeclaration,{at:this.state.startLoc})}return this.parseVarStatement(n,s);case 92:return this.parseWhileStatement(n);case 76:return this.parseWithStatement(n);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(n);case 83:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case 82:{if(!this.options.allowImportExportEverywhere&&!t){this.raise(a.UnexpectedImportExport,{at:this.state.startLoc})}this.next();let e;if(r===83){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(n);return e}default:{if(this.isAsyncFunction()){if(e){this.raise(a.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc})}this.next();return this.parseFunctionStatement(n,true,!e)}}}const i=this.state.value;const o=this.parseExpression();if(tokenIsIdentifier(r)&&o.type==="Identifier"&&this.eat(14)){return this.parseLabeledStatement(n,i,o,e)}else{return this.parseExpressionStatement(n,o)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(a.ImportOutsideModule,{at:e})}}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];if(t.length){e.decorators=t;this.resetStartLocationFromNode(e,t[0]);this.state.decoratorStack[this.state.decoratorStack.length-1]=[]}}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];while(this.match(26)){const e=this.parseDecorator();t.push(e)}if(this.match(82)){if(!e){this.unexpected()}if(this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(a.DecoratorExportClass,{at:this.state.startLoc})}}else if(!this.canHaveLeadingDecorator()){throw this.raise(a.UnexpectedLeadingDecorator,{at:this.state.startLoc})}}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start;const r=this.state.startLoc;let n;if(this.match(10)){const e=this.state.start;const t=this.state.startLoc;this.next();n=this.parseExpression();this.expect(11);n=this.wrapParenthesis(e,t,n)}else{n=this.parseIdentifier(false);while(this.eat(16)){const e=this.startNodeAt(t,r);e.object=n;e.property=this.parseIdentifier(true);e.computed=false;n=this.finishNode(e,"MemberExpression")}}e.expression=this.parseMaybeDecoratorArguments(n);this.state.decoratorStack.pop()}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(11,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){const n=this.state.labels[r];if(e.label==null||n.name===e.label.name){if(n.kind!=null&&(t||n.kind==="loop"))break;if(e.label&&t)break}}if(r===this.state.labels.length){const r=t?"BreakStatement":"ContinueStatement";this.raise(a.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();this.expect(11);return e}parseDoStatement(e){this.next();this.state.labels.push(at);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("do")));this.state.labels.pop();this.expect(92);e.test=this.parseHeaderExpression();this.eat(13);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(at);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)){t=this.state.lastTokStartLoc}this.scope.enter(L);this.expect(10);if(this.match(13)){if(t!==null){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual(99);const n=r&&this.isLetKeyword();if(this.match(74)||this.match(75)||n){const r=this.startNode();const s=n?"let":this.state.value;this.next();this.parseVar(r,true,s);this.finishNode(r,"VariableDeclaration");if((this.match(58)||this.isContextual(101))&&r.declarations.length===1){return this.parseForIn(e,r,t)}if(t!==null){this.unexpected(t)}return this.parseFor(e,r)}const s=this.isContextual(95);const i=new ExpressionErrors;const o=this.parseExpression(true,i);const l=this.isContextual(101);if(l){if(r){this.raise(a.ForOfLet,{at:o})}if(t===null&&s&&o.type==="Identifier"){this.raise(a.ForOfAsync,{at:o})}}if(l||this.match(58)){this.checkDestructuringPrivate(i);this.toAssignable(o,true);const r=l?"ForOfStatement":"ForInStatement";this.checkLVal(o,{in:{type:r}});return this.parseForIn(e,o,t)}else{this.checkExpressionErrors(i,true)}if(t!==null){this.unexpected(t)}return this.parseFor(e,o)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,ct|(r?0:ut),t)}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(66)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(a.IllegalReturn,{at:this.state.startLoc})}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(5);this.state.labels.push(ot);this.scope.enter(L);let r;for(let e;!this.match(8);){if(this.match(61)||this.match(65)){const n=this.match(61);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(a.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc})}e=true;r.test=null}this.expect(14)}else{if(r){r.consequent.push(this.parseStatement(null))}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(a.NewlineAfterThrow,{at:this.state.lastTokEndLoc})}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();const t=e.type==="Identifier";this.scope.enter(t?B:0);this.checkLVal(e,{in:{type:"CatchClause"},binding:se,allowingSloppyLetBinding:true});return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(62)){const t=this.startNode();this.next();if(this.match(10)){this.expect(10);t.param=this.parseCatchClauseParam();this.expect(11)}else{t.param=null;this.scope.enter(L)}t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(false,false)));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(67)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(a.NoCatchOrFinally,{at:e})}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t,r=false){this.next();this.parseVar(e,false,t,r);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(at);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("while")));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(a.StrictWith,{at:this.state.startLoc})}this.next();e.object=this.parseHeaderExpression();e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("with")));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(a.LabelRedeclaration,{at:r,labelName:t})}}const s=tokenIsLoop(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(5);if(t){this.scope.enter(L)}this.parseBlockBody(n,e,false,8,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(13)?null:this.parseExpression();this.semicolon(false);e.update=this.match(11)?null:this.parseExpression();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for")));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(58);this.next();if(n){if(r!==null)this.unexpected(r)}else{e.await=r!==null}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(a.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"})}if(t.type==="AssignmentPattern"){this.raise(a.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}})}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for")));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r,n=false){const s=e.declarations=[];e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);e.init=!this.eat(29)?null:t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn();if(e.init===null&&!n){if(e.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))){this.raise(a.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})}else if(r==="const"&&!(this.match(58)||this.isContextual(101))){this.raise(a.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})}}s.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:t==="var"?ie:se})}parseFunction(e,t=lt,r=false){const n=t&ct;const s=t&ut;const i=!!n&&!(t&pt);this.initFunction(e,r);if(this.match(55)&&s){this.raise(a.GeneratorInSingleStatementContext,{at:this.state.startLoc})}e.generator=this.eat(55);if(n){e.id=this.parseFunctionId(i)}const o=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(F);this.prodParam.enter(functionFlags(r,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")}));this.prodParam.exit();this.scope.exit();if(n&&!s){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=o;return e}parseFunctionId(e){return e||tokenIsIdentifier(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(11,41,false,t);this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?ie:se:ae,e.id.loc.start)}parseClass(e,t,r){this.next();this.takeDecorators(e);const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(5);this.withSmartMixTopicForbiddingContext((()=>{while(!this.match(8)){if(this.eat(13)){if(n.length>0){throw this.raise(a.DecoratorSemicolon,{at:this.state.lastTokEndLoc})}continue}if(this.match(26)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(a.DecoratorConstructor,{at:e})}}}));this.state.strict=t;this.next();if(n.length){throw this.raise(a.TrailingDecorator,{at:this.state.startLoc})}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}this.resetPreviousNodeTrailingComments(r);return false}parseClassMember(e,t,r){const n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const o=t;const l=t;const c=t;const u=s;const p=s;t.static=n;this.parsePropertyNamePrefixOperator(t);if(this.eat(55)){u.kind="method";const t=this.match(134);this.parseClassElementName(u);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(a.ConstructorIsGenerator,{at:s.key})}this.pushClassMethod(e,s,true,false,false,false);return}const f=tokenIsIdentifier(this.state.type)&&!this.state.containsEsc;const d=this.match(134);const h=this.parseClassElementName(t);const m=this.state.startLoc;this.parsePostMemberNameModifiers(p);if(this.isClassMethod()){u.kind="method";if(d){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let o=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(a.DuplicateConstructor,{at:h})}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(a.OverrideOnConstructor,{at:h})}r.hadConstructor=true;o=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,o)}else if(this.isClassProperty()){if(d){this.pushClassPrivateProperty(e,l)}else{this.pushClassProperty(e,o)}}else if(f&&h.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(h);const t=this.eat(55);if(p.optional){this.unexpected(m)}u.kind="method";const r=this.match(134);this.parseClassElementName(u);this.parsePostMemberNameModifiers(p);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(a.ConstructorIsAsync,{at:s.key})}this.pushClassMethod(e,s,t,true,false,false)}}else if(f&&(h.name==="get"||h.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(h);u.kind=h.name;const t=this.match(134);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(a.ConstructorIsAccessor,{at:s.key})}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(f&&h.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors");this.resetPreviousNodeTrailingComments(h);const t=this.match(134);this.parseClassElementName(o);this.pushClassAccessorProperty(e,c,t)}else if(this.isLineTerminator()){if(d){this.pushClassPrivateProperty(e,l)}else{this.pushClassProperty(e,o)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r}=this.state;if((t===128||t===129)&&e.static&&r==="prototype"){this.raise(a.StaticPrototype,{at:this.state.startLoc})}if(t===134){if(r==="constructor"){this.raise(a.ConstructorClassPrivateField,{at:this.state.startLoc})}const t=this.parsePrivateName();e.key=t;return t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter($|V|U);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(Ue);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,8);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(a.DecoratorStaticBlock,{at:t})}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(a.ConstructorClassField,{at:t.key})}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Pe,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){const e=t.key;if(e.name==="constructor"||e.value==="constructor"){this.raise(a.ConstructorClassField,{at:e})}}const n=this.parseClassAccessorProperty(t);e.body.push(n);if(r){this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),Pe,n.key.loc.start)}}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?Se:xe:s.kind==="set"?s.static?Ee:ve:Pe;this.declareClassPrivateMethodInScope(s,i)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter($|U);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(Ue);e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=ne){if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();if(t){this.declareNameFromIdentifier(e.id,n)}}else{if(r||!t){e.id=null}else{throw this.raise(a.MissingClassName,{at:this.state.startLoc})}}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e);const r=!t||this.eat(12);const n=r&&this.eatExportStar(e);const s=n&&this.maybeParseExportNamespaceSpecifier(e);const i=r&&(!s||this.eat(12));const a=t||n;if(n&&!s){if(t)this.unexpected();this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||s&&i&&!o){throw this.unexpected(null,5)}let l;if(a||o){l=false;this.parseExportFrom(e,a)}else{l=this.maybeParseExportDeclaration(e)}if(a||o||l){this.checkExport(e,true,false,!!e.source);return this.finishNode(e,"ExportNamedDeclaration")}if(this.eat(65)){e.declaration=this.parseExportDefaultExpression();this.checkExport(e,true,true);return this.finishNode(e,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();t.exported=this.parseIdentifier(true);e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(5)){if(!e.specifiers)e.specifiers=[];const t=e.exportKind==="type";e.specifiers.push(...this.parseExportSpecifiers(t));e.source=null;e.declaration=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual(95))return false;const e=this.nextTokenStart();return!Ae.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();const t=this.isAsyncFunction();if(this.match(68)||t){this.next();if(t){this.next()}return this.parseFunction(e,ct|pt,t)}if(this.match(80)){return this.parseClass(e,true,true)}if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")){this.raise(a.DecoratorBeforeExport,{at:this.state.startLoc})}this.parseDecorators(false);return this.parseClass(e,true,true)}if(this.match(75)||this.match(74)||this.isLet()){throw this.raise(a.UnsupportedDefaultExport,{at:this.state.startLoc})}const r=this.parseMaybeAssignAllowIn();this.semicolon();return r}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsIdentifier(e)){if(e===95&&!this.state.containsEsc||e===99){return false}if((e===126||e===125)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(tokenIsIdentifier(e)&&e!==97||e===5){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(65)){return false}const t=this.nextTokenStart();const r=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||tokenIsIdentifier(this.state.type)&&r){return true}if(this.match(65)&&r){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return e===34||e===39}return false}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource();this.checkExport(e);const t=this.maybeParseImportAssertions();if(t){e.assertions=t}}else if(t){this.unexpected()}this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(e===26){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")){throw this.raise(a.DecoratorBeforeExport,{at:this.state.startLoc})}return true}}return e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(a.ExportDefaultFromAsIdentifier,{at:t})}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(a.ExportBindingIsString,{at:t,localName:e.value,exportName:r})}else{this.checkReservedWord(e.name,e.loc.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}const i=this.state.decoratorStack[this.state.decoratorStack.length-1];if(i.length){throw this.raise(a.UnsupportedDecoratorExport,{at:e})}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){if(t==="default"){this.raise(a.DuplicateDefaultExport,{at:e})}else{this.raise(a.DuplicateExport,{at:e,exportName:t})}}this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let r=true;this.expect(5);while(!this.eat(8)){if(r){r=false}else{this.expect(12);if(this.eat(8))break}const n=this.isContextual(126);const s=this.match(129);const i=this.startNode();i.local=this.parseModuleExportName();t.push(this.parseExportSpecifier(i,s,e,n))}return t}parseExportSpecifier(e,t,r,n){if(this.eatContextual(93)){e.exported=this.parseModuleExportName()}else if(t){e.exported=cloneStringLiteral(e.local)}else if(!e.exported){e.exported=cloneIdentifier(e.local)}return this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(ft);if(t){this.raise(a.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)})}return e}return this.parseIdentifier(true)}parseImport(e){e.specifiers=[];if(!this.match(129)){const t=this.maybeParseDefaultImportSpecifier(e);const r=!t||this.eat(12);const n=r&&this.maybeParseStarImportSpecifier(e);if(r&&!n)this.parseNamedImportSpecifiers(e);this.expectContextual(97)}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t){e.assertions=t}else{const t=this.maybeParseModuleAttributes();if(t){e.attributes=t}}this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(129))this.unexpected();return this.parseExprAtom()}shouldParseDefaultImport(e){return tokenIsIdentifier(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier();e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t){this.checkLVal(e.local,{in:e,binding:se});return this.finishNode(e,t)}parseAssertEntries(){const e=[];const t=new Set;do{if(this.match(8)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(a.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n})}t.add(n);if(this.match(129)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(14);if(!this.match(129)){throw this.raise(a.ModuleAttributeInvalidValue,{at:this.state.startLoc})}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak()){this.expectPlugin("moduleAttributes");this.next()}else{if(this.hasPlugin("moduleAttributes"))return[];return null}const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(a.ModuleAttributeDifferentFromType,{at:r.key})}if(t.has(r.key.name)){this.raise(a.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name})}t.add(r.key.name);this.expect(14);if(!this.match(129)){throw this.raise(a.ModuleAttributeInvalidValue,{at:this.state.startLoc})}r.value=this.parseStringLiteral(this.state.value);this.finishNode(r,"ImportAttribute");e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){this.expectPlugin("importAssertions");this.next()}else{if(this.hasPlugin("importAssertions"))return[];return null}this.eat(5);const e=this.parseAssertEntries();this.eat(8);return e}maybeParseDefaultImportSpecifier(e){if(this.shouldParseDefaultImport(e)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();this.next();this.expectContextual(93);this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(5);while(!this.eat(8)){if(t){t=false}else{if(this.eat(14)){throw this.raise(a.DestructureNamedImport,{at:this.state.startLoc})}this.expect(12);if(this.eat(8))break}const r=this.startNode();const n=this.match(129);const s=this.isContextual(126);r.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(r,n,e.importKind==="type"||e.importKind==="typeof",s);e.specifiers.push(i)}}parseImportSpecifier(e,t,r,n){if(this.eatContextual(93)){e.local=this.parseIdentifier()}else{const{imported:r}=e;if(t){throw this.raise(a.ImportBindingIsString,{at:e,importName:r.value})}this.checkReservedWord(r.name,e.loc.start,true,true);if(!e.local){e.local=cloneIdentifier(r)}}return this.finishImportSpecifier(e,"ImportSpecifier")}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function generateExportedTokenTypes(e){const t={};for(const r of Object.keys(e)){t[r]=getExportedToken(e[r])}return t}const ht=generateExportedTokenTypes(v);function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const mt={};function getParserClass(e){const t=st.filter((t=>hasPlugin(e,t)));const r=t.join("/");let n=mt[r];if(!n){n=Parser;for(const e of t){n=nt[e](n)}mt[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=ht},6071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTemplateBuilder;var n=r(3008);var s=r(7062);var i=r(8436);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign(((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,s.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,i.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)}),{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,s.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let s=o.get(t);if(!s){s=(0,i.default)(e,t,(0,n.merge)(l,a));o.set(t,s)}return s(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},1204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=void 0;var n=r(6953);const{assertExpressionStatement:s}=n;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const i=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));t.smart=i;const a=makeStatementFormatter((e=>e));t.statements=a;const o=makeStatementFormatter((e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]}));t.statement=o;const l={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;s(t);return t.expression}};t.expression=l;const c={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=c},5292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=t["default"]=void 0;var n=r(1204);var s=r(6071);const i=(0,s.default)(n.smart);t.smart=i;const a=(0,s.default)(n.statement);t.statement=a;const o=(0,s.default)(n.statements);t.statements=o;const l=(0,s.default)(n.expression);t.expression=l;const c=(0,s.default)(n.program);t.program=c;var u=Object.assign(i.bind(undefined),{smart:i,statement:a,statements:o,expression:l,program:c,ast:i.ast});t["default"]=u},8436:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=literalTemplate;var n=r(3008);var s=r(5095);var i=r(1519);function literalTemplate(e,t,r){const{metadata:s,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach(((e,t)=>{r[a[t]]=e}));return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach((e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}}))}return e.unwrap((0,i.default)(s,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n;let i;let a;let o="";do{o+="$";const l=buildTemplateCode(t,o);n=l.names;i=new Set(n);a=(0,s.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(a.placeholders.some((e=>e.isDuplicate&&i.has(e.name))));return{metadata:a,names:n}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let s=1;s<e.length;s++){const i=`${t}${s-1}`;r.push(i);n+=i+e[s]}return{names:r,code:n}}},3008:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.normalizeReplacements=normalizeReplacements;t.validate=validate;const r=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=t,o=_objectWithoutPropertiesLoose(t,r);if(n!=null&&!(n instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(s!=null&&!(s instanceof RegExp)&&s!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(a!=null&&typeof a!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(a===true&&(n!=null||s!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:o,placeholderWhitelist:n||undefined,placeholderPattern:s==null?undefined:s,preserveComments:i==null?undefined:i,syntacticPlaceholders:a==null?undefined:a}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,t,r)=>{e["$"+r]=t;return e}),{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},5095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parseAndBuildMetadata;var n=r(6953);var s=r(9113);var i=r(1811);const{isCallExpression:a,isExpressionStatement:o,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:f,isStatement:d,isStringLiteral:h,removePropertiesDeep:m,traverse:y}=n;const g=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=r;const o=parseWithCodeFrame(t,r.parser,a);m(o,{preserveComments:i});e.validate(o);const l={placeholders:[],placeholderNames:new Set};const c={placeholders:[],placeholderNames:new Set};const u={value:undefined};y(o,placeholderVisitorHandler,{syntactic:l,legacy:c,isLegacyRef:u,placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:a});return Object.assign({ast:o},u.value?c:l)}function placeholderVisitorHandler(e,t,r){var n;let s;if(f(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{s=e.name.name;r.isLegacyRef.value=false}}else if(r.isLegacyRef.value===false||r.syntacticPlaceholders){return}else if(c(e)||u(e)){s=e.name;r.isLegacyRef.value=true}else if(h(e)){s=e.value;r.isLegacyRef.value=true}else{return}if(!r.isLegacyRef.value&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(r.isLegacyRef.value&&(r.placeholderPattern===false||!(r.placeholderPattern||g).test(s))&&!((n=r.placeholderWhitelist)!=null&&n.has(s))){return}t=t.slice();const{node:i,key:m}=t[t.length-1];let y;if(h(e)||f(e,{expectedNode:"StringLiteral"})){y="string"}else if(p(i)&&m==="arguments"||a(i)&&m==="arguments"||l(i)&&m==="params"){y="param"}else if(o(i)&&!f(e)){y="statement";t=t.slice(0,-1)}else if(d(e)&&f(e)){y="statement"}else{y="other"}const{placeholders:b,placeholderNames:T}=r.isLegacyRef.value?r.legacy:r.syntactic;b.push({name:s,type:y,resolve:e=>resolveAncestors(e,t),isDuplicate:T.has(s)});T.add(s)}function resolveAncestors(e,t){let r=e;for(let e=0;e<t.length-1;e++){const{key:n,index:s}=t[e];if(s===undefined){r=r[n]}else{r=r[n][s]}}const{key:n,index:s}=t[t.length-1];return{parent:r,key:n,index:s}}function parseWithCodeFrame(e,t,r){const n=(t.plugins||[]).slice();if(r!==false){n.push("placeholders")}t=Object.assign({allowReturnOutsideFunction:true,allowSuperOutsideMethod:true,sourceType:"module"},t,{plugins:n});try{return(0,s.parse)(e,t)}catch(t){const r=t.loc;if(r){t.message+="\n"+(0,i.codeFrameColumns)(e,{start:r});t.code="BABEL_TEMPLATE_PARSE_ERROR"}throw t}}},1519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=populatePlaceholders;var n=r(6953);const{blockStatement:s,cloneNode:i,emptyStatement:a,expressionStatement:o,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:f}=n;function populatePlaceholders(e,t){const r=i(e.ast);if(t){e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}}));Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}}));return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map((e=>i(e)))}else if(typeof r==="object"){r=i(r)}}const{parent:n,key:d,index:h}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=p(r)}if(!r||!u(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(h===undefined){if(!r){r=a()}else if(Array.isArray(r)){r=s(r)}else if(typeof r==="string"){r=o(l(r))}else if(!c(r)){r=o(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=l(r)}if(!c(r)){r=o(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=l(r)}if(h===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=l(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(h===undefined){f(n,d,r);n[d]=r}else{const t=n[d].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(h,1)}else if(Array.isArray(r)){t.splice(h,1,...r)}else{t[h]=r}}else{t[h]=r}f(n,d,t);n[d]=t}}},7062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=stringTemplate;var n=r(3008);var s=r(5095);var i=r(1519);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,s.default)(e,t,r);return e.unwrap((0,i.default)(a,l))}}},5762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},9876:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3311);var s=r(6953);const{VISITOR_KEYS:i}=s;class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t])return true}return false}create(e,t,r,s){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:s})}maybeQueue(e,t){if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i&&this.shouldVisit(i)){n.push(this.create(t,e,s,r))}}return this.visitQueue(n)}visitSingle(e,t){if(this.shouldVisit(e[t])){return this.visitQueue([this.create(e,e,t)])}else{return false}}visitQueue(e){this.queue=e;this.priorityQueue=[];const t=new WeakSet;let r=false;for(const n of e){n.resync();if(n.contexts.length===0||n.contexts[n.contexts.length-1]!==this){n.pushContext(this)}if(n.key===null)continue;const{node:s}=n;if(t.has(s))continue;if(s)t.add(s);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t["default"]=TraversalContext},2858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t["default"]=Hub},7734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});t.visitors=t["default"]=void 0;var n=r(1788);t.visitors=n;var s=r(6953);var i=r(5762);var a=r(2084);var o=r(3311);var l=r(2593);var c=r(2858);const{VISITOR_KEYS:u,removeProperties:p,traverseFast:f}=s;function traverse(e,t={},r,s,i){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!u[e.type]){return}n.explode(t);(0,a.traverseNode)(e,t,r,s,i)}var d=traverse;t["default"]=d;traverse.visitors=n;traverse.verify=n.verify;traverse.explode=n.explode;traverse.cheap=function(e,t){return f(e,t)};traverse.node=function(e,t,r,n,s,i){(0,a.traverseNode)(e,t,r,n,s,i)};traverse.clearNode=function(e,t){p(e,t);i.path.delete(e)};traverse.removeProperties=function(e,t){f(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=i},9586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.find=find;t.findParent=findParent;t.getAncestry=getAncestry;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.inType=inType;t.isAncestor=isAncestor;t.isDescendant=isDescendant;var n=r(6953);var s=r(3311);const{VISITOR_KEYS:i}=n;function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent((e=>e.isFunction()))}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,r){let n;const s=i[e.type];for(const e of r){const r=e[t+1];if(!n){n=r;continue}if(r.listKey&&n.listKey===r.listKey){if(r.key<n.key){n=r;continue}}const i=s.indexOf(n.parentKey);const a=s.indexOf(r.parentKey);if(i>a){n=r}}return n}))}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,s;const i=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.length<r){r=t.length}return t}));const a=i[0];e:for(let e=0;e<r;e++){const t=a[e];for(const r of i){if(r[e]!==t){break e}}n=e;s=t}if(s){if(t){return t(s,n,i)}else{return s}}else{throw new Error("Couldn't find intersection")}}function getAncestry(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t}function isAncestor(e){return e.isDescendant(this)}function isDescendant(e){return!!this.findParent((t=>t===e))}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},4924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addComment=addComment;t.addComments=addComments;t.shareCommentsWithSiblings=shareCommentsWithSiblings;var n=r(6953);const{addComment:s,addComments:i}=n;function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const s=this.getSibling(this.key+1);const i=Boolean(n.node);const a=Boolean(s.node);if(i&&!a){n.addComments("trailing",t)}else if(a&&!i){s.addComments("leading",r)}}function addComment(e,t,r){s(this.node,e,t,r)}function addComments(e,t){i(this.node,e,t)}},5357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._call=_call;t._getQueueContexts=_getQueueContexts;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncParent=_resyncParent;t._resyncRemoved=_resyncRemoved;t.call=call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.popContext=popContext;t.pushContext=pushContext;t.requeue=requeue;t.resync=resync;t.setContext=setContext;t.setKey=setKey;t.setScope=setScope;t.setup=setup;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.visit=visit;var n=r(2084);var s=r(3311);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){return this._call(t[this.node.type]&&t[this.node.type][e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`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.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function restoreContext(e,t){if(e.context!==t){e.context=t;e.state=t.state;e.opts=t.opts}}function visit(){if(!this.node){return false}if(this.isDenylisted()){return false}if(this.opts.shouldSkip&&this.opts.shouldSkip(this)){return false}const e=this.context;if(this.shouldSkip||this.call("enter")){this.debug("Skip...");return this.shouldStop}restoreContext(this,e);this.debug("Recursing into...");this.shouldStop=(0,n.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys);restoreContext(this,e);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=s.SHOULD_SKIP|s.SHOULD_STOP}function setScope(){if(this.opts&&this.opts.noScope)return;let e=this.parentPath;if(this.key==="key"&&e.isMethod())e=e.parentPath;let t;while(e&&!t){if(e.opts&&e.opts.noScope)return;t=e.scope;e=e.parentPath}this.scope=this.getScope(t);if(this.scope)this.scope.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++){if(this.container[e]===this.node){return this.setKey(e)}}}else{for(const e of Object.keys(this.container)){if(this.container[e]===this.node){return this.setKey(e)}}}this.key=null}function _resyncList(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];if(this.container===e)return;this.container=e||null}function _resyncRemoved(){if(this.key==null||!this.container||this.container[this.key]!==this.node){this._markRemoved()}}function popContext(){this.contexts.pop();if(this.contexts.length>0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},2455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrowFunctionToExpression=arrowFunctionToExpression;t.arrowFunctionToShadowed=arrowFunctionToShadowed;t.ensureBlock=ensureBlock;t.toComputedKey=toComputedKey;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;var n=r(6953);var s=r(474);var i=r(3613);var a=r(1788);const{arrowFunctionExpression:o,assignmentExpression:l,binaryExpression:c,blockStatement:u,callExpression:p,conditionalExpression:f,expressionStatement:d,identifier:h,isIdentifier:m,jsxIdentifier:y,logicalExpression:g,LOGICAL_OPERATORS:b,memberExpression:T,metaProperty:S,numericLiteral:E,objectExpression:x,restElement:v,returnStatement:P,sequenceExpression:A,spreadElement:w,stringLiteral:I,super:C,thisExpression:O,toExpression:k,unaryExpression:N}=n;function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(m(e))e=I(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let n="body";let s;let i;if(e.isStatement()){i="body";s=0;r.push(e.node)}else{n+=".body.0";if(this.isFunction()){s="argument";r.push(P(e.node))}else{s="expression";r.push(d(e.node))}}this.node.body=u(r);const a=this.get(n);e.setup(a,i?a.node[i]:a.node,i,s);return this.node}function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function arrowFunctionToExpression({allowInsertArrow:e=true,specCompliant:t=false,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const{thisBinding:n,fnPath:s}=hoistFunctionEnvironment(this,r,e);s.ensureBlock();s.node.type="FunctionExpression";if(!r){const e=n?null:s.scope.generateUidIdentifier("arrowCheckId");if(e){s.parentPath.scope.push({id:e,init:x([])})}s.get("body").unshiftContainer("body",d(p(this.hub.addHelper("newArrowCheck"),[O(),e?h(e.name):h(n)])));s.replaceWith(p(T((0,i.default)(this,true)||s.node,h("bind")),[e?h(e.name):O()]))}}const _=(0,a.merge)([{CallExpression(e,{allSuperCalls:t}){if(!e.get("callee").isSuper())return;t.push(e)}},s.default]);function hoistFunctionEnvironment(e,t=true,r=true){let n;let s=e.findParent((e=>{if(e.isArrowFunctionExpression()){var t;(t=n)!=null?t:n=e;return false}return e.isFunction()||e.isProgram()||e.isClassProperty({static:false})||e.isClassPrivateProperty({static:false})}));const i=s.isClassMethod({kind:"constructor"});if(s.isClassProperty()||s.isClassPrivateProperty()){if(n){s=n}else if(r){e.replaceWith(p(o([],k(e.node)),[]));s=e.get("callee");e=s.get("body")}else{throw e.buildCodeFrameError("Unable to transform arrow inside class property")}}const{thisPaths:a,argumentsPaths:l,newTargetPaths:u,superProps:d,superCalls:m}=getScopeInformation(e);if(i&&m.length>0){if(!r){throw m[0].buildCodeFrameError("Unable to handle nested super() usage in arrow")}const e=[];s.traverse(_,{allSuperCalls:e});const t=getSuperBinding(s);e.forEach((e=>{const r=h(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)}))}if(l.length>0){const e=getBinding(s,"arguments",(()=>{const args=()=>h("arguments");if(s.scope.path.isProgram()){return f(c("===",N("typeof",args()),I("undefined")),s.scope.buildUndefinedNode(),args())}else{return args()}}));l.forEach((t=>{const r=h(e);r.loc=t.node.loc;t.replaceWith(r)}))}if(u.length>0){const e=getBinding(s,"newtarget",(()=>S(h("new"),h("target"))));u.forEach((t=>{const r=h(e);r.loc=t.node.loc;t.replaceWith(r)}))}if(d.length>0){if(!r){throw d[0].buildCodeFrameError("Unable to handle nested super.prop usage")}const e=d.reduce(((e,t)=>e.concat(standardizeSuperProperty(t))),[]);e.forEach((e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath.isAssignmentExpression({left:e.node});const n=e.parentPath.isCallExpression({callee:e.node});const i=getSuperPropBinding(s,r,t);const o=[];if(e.node.computed){o.push(e.get("property").node)}if(r){const t=e.parentPath.node.right;o.push(t)}const l=p(h(i),o);if(n){e.parentPath.unshiftContainer("arguments",O());e.replaceWith(T(l,h("call")));a.push(e.parentPath.get("arguments.0"))}else if(r){e.parentPath.replaceWith(l)}else{e.replaceWith(l)}}))}let g;if(a.length>0||!t){g=getThisBinding(s,i);if(t||i&&hasSuperClass(s)){a.forEach((e=>{const t=e.isJSX()?y(g):h(g);t.loc=e.node.loc;e.replaceWith(t)}));if(!t)g=null}}return{thisBinding:g,fnPath:e}}function isLogicalOp(e){return b.includes(e)}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const n=t.node.right;const s=isLogicalOp(r);if(e.node.computed){const i=e.scope.generateDeclaredUidIdentifier("tmp");const a=e.node.object;const o=e.node.property;t.get("left").replaceWith(T(a,l("=",i,o),true));t.get("right").replaceWith(rightExpression(s?"=":r,T(a,h(i.name),true),n))}else{const i=e.node.object;const a=e.node.property;t.get("left").replaceWith(T(i,a));t.get("right").replaceWith(rightExpression(s?"=":r,T(i,h(a.name)),n))}if(s){t.replaceWith(g(r,t.node.left,t.node.right))}else{t.node.operator="="}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const n=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[l("=",r,T(e.node.object,n?l("=",n,e.node.property):e.node.property,e.node.computed)),l("=",T(e.node.object,n?h(n.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],h(r.name),E(1)))];if(!e.parentPath.node.prefix){s.push(h(r.name))}t.replaceWith(A(s));const i=t.get("expressions.0.right");const a=t.get("expressions.1.left");return[i,a]}return[e];function rightExpression(e,t,r){if(e==="="){return l("=",t,r)}else{return c(e,t,r)}}}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const D=(0,a.merge)([{CallExpression(e,{supers:t,thisBinding:r}){if(!e.get("callee").isSuper())return;if(t.has(e.node))return;t.add(e.node);e.replaceWithMultiple([e.node,l("=",h(r),h("this"))])}},s.default]);function getThisBinding(e,t){return getBinding(e,"this",(r=>{if(!t||!hasSuperClass(e))return O();e.traverse(D,{supers:new WeakSet,thisBinding:r})}))}function getSuperBinding(e){return getBinding(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return o([v(t)],p(C(),[w(h(t.name))]))}))}function getSuperPropBinding(e,t,r){const n=t?"set":"get";return getBinding(e,`superprop_${n}:${r||""}`,(()=>{const n=[];let s;if(r){s=T(C(),h(r))}else{const t=e.scope.generateUidIdentifier("prop");n.unshift(t);s=T(C(),h(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");n.push(t);s=l("=",s,h(t.name))}return o(n,s)}))}function getBinding(e,t,r){const n="binding:"+t;let s=e.getData(n);if(!s){const i=e.scope.generateUidIdentifier(t);s=i.name;e.setData(n,s);e.scope.push({id:i,init:r(s)})}return s}const M=(0,a.merge)([{ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e,{superCalls:t}){if(e.get("callee").isSuper())t.push(e)},MemberExpression(e,{superProps:t}){if(e.get("object").isSuper())t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let r=e.scope;do{if(r.hasOwnBinding("arguments")){r.rename("arguments");return}if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;t.push(e)}},s.default]);function getScopeInformation(e){const t=[];const r=[];const n=[];const s=[];const i=[];e.traverse(M,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}},9889:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluate=evaluate;t.evaluateTruthy=evaluateTruthy;const r=["String","Number","Math"];const n=["random"];function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const s=n.get(r);if(s.resolved){return s.value}else{deopt(e,t);return}}else{const s={resolved:false};n.set(r,s);const i=_evaluate(e,t);if(t.confident){s.resolved=true;s.value=i}return i}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const s=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&s.isIdentifier()&&s.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const t=e.get("property");const r=e.get("object");if(r.isLiteral()&&t.isIdentifier()){const e=r.node.value;const n=typeof e;if(n==="number"||n==="string"){return e[t.node.name]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r&&r.constantViolations.length>0){return deopt(r.path,t)}if(r&&e.node.start<r.path.node.end){return deopt(r.path,t)}if(r!=null&&r.hasValue){return r.value}else{if(e.node.name==="undefined"){return r?deopt(r.path,t):undefined}else if(e.node.name==="Infinity"){return r?deopt(r.path,t):Infinity}else if(e.node.name==="NaN"){return r?deopt(r.path,t):NaN}const n=e.resolve();if(n===e){return deopt(e,t)}else{return evaluateCached(n,t)}}}if(e.isUnaryExpression({prefix:true})){if(e.node.operator==="void"){return undefined}const r=e.get("argument");if(e.node.operator==="typeof"&&(r.isFunction()||r.isClass())){return"function"}const n=evaluateCached(r,t);if(!t.confident)return;switch(e.node.operator){case"!":return!n;case"+":return+n;case"-":return-n;case"~":return~n;case"typeof":return typeof n}}if(e.isArrayExpression()){const r=[];const n=e.get("elements");for(const e of n){const n=e.evaluate();if(n.confident){r.push(n.value)}else{return deopt(n.deopt,t)}}return r}if(e.isObjectExpression()){const r={};const n=e.get("properties");for(const e of n){if(e.isObjectMethod()||e.isSpreadElement()){return deopt(e,t)}const n=e.get("key");let s=n;if(e.node.computed){s=s.evaluate();if(!s.confident){return deopt(s.deopt,t)}s=s.value}else if(s.isIdentifier()){s=s.node.name}else{s=s.node.value}const i=e.get("value");let a=i.evaluate();if(!a.confident){return deopt(a.deopt,t)}a=a.value;r[s]=a}return r}if(e.isLogicalExpression()){const r=t.confident;const n=evaluateCached(e.get("left"),t);const s=t.confident;t.confident=r;const i=evaluateCached(e.get("right"),t);const a=t.confident;switch(e.node.operator){case"||":t.confident=s&&(!!n||a);if(!t.confident)return;return n||i;case"&&":t.confident=s&&(!n||a);if(!t.confident)return;return n&&i}}if(e.isBinaryExpression()){const r=evaluateCached(e.get("left"),t);if(!t.confident)return;const n=evaluateCached(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return r-n;case"+":return r+n;case"/":return r/n;case"*":return r*n;case"%":return r%n;case"**":return Math.pow(r,n);case"<":return r<n;case">":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<<n;case">>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const s=e.get("callee");let i;let a;if(s.isIdentifier()&&!e.scope.getBinding(s.node.name)&&r.indexOf(s.node.name)>=0){a=global[s.node.name]}if(s.isMemberExpression()){const e=s.get("object");const t=s.get("property");if(e.isIdentifier()&&t.isIdentifier()&&r.indexOf(e.node.name)>=0&&n.indexOf(t.node.name)<0){i=global[e.node.name];a=i[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){i=e.node.value;a=i[t.node.name]}}}if(a){const r=e.get("arguments").map((e=>evaluateCached(e,t)));if(!t.confident)return;return a.apply(i,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let s="";let i=0;const a=e.get("expressions");for(const e of t){if(!r.confident)break;s+=n?e.value.raw:e.value.cooked;const t=a[i++];if(t)s+=String(evaluateCached(t,r))}if(!r.confident)return;return s}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},4690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getKey=_getKey;t._getPattern=_getPattern;t.get=get;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getBindingIdentifiers=getBindingIdentifiers;t.getCompletionRecords=getCompletionRecords;t.getNextSibling=getNextSibling;t.getOpposite=getOpposite;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getPrevSibling=getPrevSibling;t.getSibling=getSibling;var n=r(3311);var s=r(6953);const{getBindingIdentifiers:i,getOuterBindingIdentifiers:a,isDeclaration:o,numericLiteral:l,unaryExpression:c}=s;const u=0;const p=1;function NormalCompletion(e){return{type:u,path:e}}function BreakCompletion(e){return{type:p,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e){t.push(..._getCompletionRecords(e,r))}return t}function completionRecordForSwitch(e,t,r){let n=[];for(let s=0;s<e.length;s++){const i=e[s];const a=_getCompletionRecords(i,r);const o=[];const l=[];for(const e of a){if(e.type===u){o.push(e)}if(e.type===p){l.push(e)}}if(o.length){n=o}t.push(...l)}t.push(...n);return t}function normalCompletionToBreak(e){e.forEach((e=>{e.type=p}))}function replaceBreakStatementInBreakCompletion(e,t){e.forEach((e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(c("void",l(0)))}else{e.path.remove()}}}))}function getStatementListCompletion(e,t){const r=[];if(t.canHaveBreak){let n=[];for(let s=0;s<e.length;s++){const i=e[s];const a=Object.assign({},t,{inCaseClause:false});if(i.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)){a.shouldPopulateBreak=true}else{a.shouldPopulateBreak=false}const o=_getCompletionRecords(i,a);if(o.length>0&&o.every((e=>e.type===p))){if(n.length>0&&o.every((e=>e.path.isBreakStatement({label:null})))){normalCompletionToBreak(n);r.push(...n);if(n.some((e=>e.path.isDeclaration()))){r.push(...o);replaceBreakStatementInBreakCompletion(o,true)}replaceBreakStatementInBreakCompletion(o,false)}else{r.push(...o);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(o,true)}}break}if(s===e.length-1){r.push(...o)}else{n=[];for(let e=0;e<o.length;e++){const t=o[e];if(t.type===p){r.push(t)}if(t.type===u){n.push(t)}}}}}else if(e.length){for(let n=e.length-1;n>=0;n--){const s=_getCompletionRecords(e[n],t);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()){r.push(...s);break}}}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){return addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){return getStatementListCompletion(e.get("body"),t)}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){return addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){return completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){return getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true})}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map((e=>e.path))}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const s=r[e];if(Array.isArray(s)){return s.map(((i,a)=>n.default.get({listKey:e,parentPath:this,parent:r,container:s,key:a}).setContext(t)))}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i(this.node,e)}function getOuterBindingIdentifiers(e){return a(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;const n=[r];const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(o(e)){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e<a.length;e++){const t=a[e];const s=r.get(t);if(Array.isArray(s)){n.push(...s)}else if(s.node){n.push(s)}}}}return s}function getOuterBindingIdentifierPaths(e){return this.getBindingIdentifierPaths(e,true)}},3311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var n=r(714);var s=r(6937);var i=r(7734);var a=r(2593);var o=r(6953);var l=o;var c=r(5762);var u=r(3136);var p=r(9586);var f=r(9035);var d=r(4006);var h=r(9889);var m=r(2455);var y=r(2285);var g=r(5357);var b=r(9187);var T=r(3714);var S=r(4690);var E=r(4924);const{validate:x}=o;const v=s("babel");const P=1<<0;t.REMOVED=P;const A=1<<1;t.SHOULD_STOP=A;const w=1<<2;t.SHOULD_SKIP=w;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:s,key:i}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[i];let o=c.path.get(r);if(!o){o=new Map;c.path.set(r,o)}let l=o.get(a);if(!l){l=new NodePath(e,r);if(a)o.set(a,l)}l.setup(t,n,s,i);return l}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}hasNode(){return this.node!=null}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,i.default)(this.node,e,this.scope,t,this)}set(e,t){x(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!v.enabled)return;v(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&w)}set shouldSkip(e){if(e){this._traverseFlags|=w}else{this._traverseFlags&=~w}}get shouldStop(){return!!(this._traverseFlags&A)}set shouldStop(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}get removed(){return!!(this._traverseFlags&P)}set removed(e){if(e){this._traverseFlags|=P}else{this._traverseFlags&=~P}}}Object.assign(NodePath.prototype,p,f,d,h,m,y,g,b,T,S,E);for(const e of l.TYPES){const t=`is${e}`;const r=l[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}for(const e of Object.keys(n)){if(e[0]==="_")continue;if(l.TYPES.indexOf(e)<0)l.TYPES.push(e);const t=n[e];NodePath.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}var I=NodePath;t["default"]=I},9035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getTypeAnnotation=_getTypeAnnotation;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.couldBeBaseType=couldBeBaseType;t.getTypeAnnotation=getTypeAnnotation;t.isBaseType=isBaseType;t.isGenericType=isGenericType;var n=r(594);var s=r(6953);const{anyTypeAnnotation:i,isAnyTypeAnnotation:a,isBooleanTypeAnnotation:o,isEmptyTypeAnnotation:l,isFlowBaseAnnotation:c,isGenericTypeAnnotation:u,isIdentifier:p,isMixedTypeAnnotation:f,isNumberTypeAnnotation:d,isStringTypeAnnotation:h,isTypeAnnotation:m,isUnionTypeAnnotation:y,isVoidTypeAnnotation:g,stringTypeAnnotation:b,voidTypeAnnotation:T}=s;function getTypeAnnotation(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i();if(m(e))e=e.typeAnnotation;return this.typeAnnotation=e}const S=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return b()}if(e.key==="left"&&t.isForOfStatement()){return i()}return T()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(S.has(e)){return}S.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{S.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return h(t)}else if(e==="number"){return d(t)}else if(e==="boolean"){return o(t)}else if(e==="any"){return a(t)}else if(e==="mixed"){return f(t)}else if(e==="empty"){return l(t)}else if(e==="void"){return g(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(a(t))return true;if(y(t)){for(const r of t.types){if(a(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!a(t)&&c(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();return u(t)&&p(t.id,{name:e})}},2694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var n=r(6953);const{BOOLEAN_NUMBER_BINARY_OPERATORS:s,createFlowUnionType:i,createTSUnionType:a,createTypeAnnotationBasedOnTypeof:o,createUnionTypeAnnotation:l,isTSTypeAnnotation:c,numberTypeAnnotation:u,voidTypeAnnotation:p}=n;function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return p()}else if(e.name==="NaN"||e.name==="Infinity"){return u()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const n=[];const s=[];let o=getConstantViolationsBefore(e,t,s);const u=getConditionalAnnotation(e,t,r);if(u){const t=getConstantViolationsBefore(e,u.ifStatement);o=o.filter((e=>t.indexOf(e)<0));n.push(u.typeAnnotation)}if(o.length){o.push(...s);for(const e of o){n.push(e.getTypeAnnotation())}}if(!n.length){return}if(c(n[0])&&a){return a(n)}if(i){return i(n)}return l(n)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter((e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"}))}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const n=t.get("right").resolve();const i=t.get("left").resolve();let a;if(i.isIdentifier({name:e})){a=n}else if(n.isIdentifier({name:e})){a=i}if(a){if(r==="==="){return a.getTypeAnnotation()}if(s.indexOf(r)>=0){return u()}return}if(r!=="==="&&r!=="==")return;let l;let c;if(i.isUnaryExpression({operator:"typeof"})){l=i;c=n}else if(n.isUnaryExpression({operator:"typeof"})){l=n;c=i}if(!l)return;if(!l.get("argument").isIdentifier({name:e}))return;c=c.resolve();if(!c.isLiteral())return;const p=c.node.value;if(typeof p!=="string")return;return o(p)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const n=getParentConditionalPath(e,t,r);if(!n)return;const s=n.get("test");const o=[s];const u=[];for(let e=0;e<o.length;e++){const t=o[e];if(t.isLogicalExpression()){if(t.node.operator==="&&"){o.push(t.get("left"));o.push(t.get("right"))}}else if(t.isBinaryExpression()){const e=inferAnnotationFromBinaryExpression(r,t);if(e)u.push(e)}}if(u.length){if(c(u[0])&&a){return{typeAnnotation:a(u),ifStatement:n}}if(i){return{typeAnnotation:i(u),ifStatement:n}}return{typeAnnotation:l(u),ifStatement:n}}return getConditionalAnnotation(n,r)}},594:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayExpression=ArrayExpression;t.AssignmentExpression=AssignmentExpression;t.BinaryExpression=BinaryExpression;t.BooleanLiteral=BooleanLiteral;t.CallExpression=CallExpression;t.ConditionalExpression=ConditionalExpression;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return s.default}});t.LogicalExpression=LogicalExpression;t.NewExpression=NewExpression;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.ObjectExpression=ObjectExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.RegExpLiteral=RegExpLiteral;t.RestElement=RestElement;t.SequenceExpression=SequenceExpression;t.StringLiteral=StringLiteral;t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateLiteral=TemplateLiteral;t.TypeCastExpression=TypeCastExpression;t.UnaryExpression=UnaryExpression;t.UpdateExpression=UpdateExpression;t.VariableDeclarator=VariableDeclarator;var n=r(6953);var s=r(2694);const{BOOLEAN_BINARY_OPERATORS:i,BOOLEAN_UNARY_OPERATORS:a,NUMBER_BINARY_OPERATORS:o,NUMBER_UNARY_OPERATORS:l,STRING_UNARY_OPERATORS:c,anyTypeAnnotation:u,arrayTypeAnnotation:p,booleanTypeAnnotation:f,buildMatchMemberExpression:d,createFlowUnionType:h,createTSUnionType:m,createUnionTypeAnnotation:y,genericTypeAnnotation:g,identifier:b,isTSTypeAnnotation:T,nullLiteralTypeAnnotation:S,numberTypeAnnotation:E,stringTypeAnnotation:x,tupleTypeAnnotation:v,unionTypeAnnotation:P,voidTypeAnnotation:A}=n;function VariableDeclarator(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();if(((e=n)==null?void 0:e.type)==="AnyTypeAnnotation"){if(r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",true)){n=ArrayExpression()}}return n}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function NewExpression(e){if(this.get("callee").isIdentifier()){return g(e.callee)}}function TemplateLiteral(){return x()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return A()}else if(l.indexOf(t)>=0){return E()}else if(c.indexOf(t)>=0){return x()}else if(a.indexOf(t)>=0){return f()}}function BinaryExpression(e){const t=e.operator;if(o.indexOf(t)>=0){return E()}else if(i.indexOf(t)>=0){return f()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return E()}else if(t.isBaseType("string")||e.isBaseType("string")){return x()}return P([x(),E()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(T(e[0])&&m){return m(e)}if(h){return h(e)}return y(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(T(e[0])&&m){return m(e)}if(h){return h(e)}return y(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return E()}}function StringLiteral(){return x()}function NumericLiteral(){return E()}function BooleanLiteral(){return f()}function NullLiteral(){return S()}function RegExpLiteral(){return g(b("RegExp"))}function ObjectExpression(){return g(b("Object"))}function ArrayExpression(){return g(b("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return g(b("Function"))}const w=d("Array.from");const I=d("Object.keys");const C=d("Object.values");const O=d("Object.entries");function CallExpression(){const{callee:e}=this.node;if(I(e)){return p(x())}else if(w(e)||C(e)){return p(u())}else if(O(e)){return p(v([x(),u()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){if(e.is("async")){if(e.is("generator")){return g(b("AsyncIterator"))}else{return g(b("Promise"))}}else{if(e.node.returnType){return e.node.returnType}else{}}}}},2285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._guessExecutionStatusRelativeToDifferentFunctions=_guessExecutionStatusRelativeToDifferentFunctions;t._resolve=_resolve;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.equals=equals;t.getSource=getSource;t.has=has;t.is=void 0;t.isCompletionRecord=isCompletionRecord;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.isNodeType=isNodeType;t.isStatementOrBlock=isStatementOrBlock;t.isStatic=isStatic;t.isnt=isnt;t.matchesPattern=matchesPattern;t.referencesImport=referencesImport;t.resolve=resolve;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;var n=r(6953);const{STATEMENT_OR_BLOCK_KEYS:s,VISITOR_KEYS:i,isBlockStatement:a,isExpression:o,isIdentifier:l,isLiteral:c,isStringLiteral:u,isType:p,matchesPattern:f}=n;function matchesPattern(e,t){return f(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const d=has;t.is=d;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return p(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return a(e)}else if(this.isBlockStatement()){return o(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const{type:n,container:s}=t;if(!r&&(t.isFunction()||n==="StaticBlock")){return!!e}r=false;if(Array.isArray(s)&&t.key!==s.length-1){return false}}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||a(this.container)){return false}else{return s.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const n=r.path;const s=n.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(n.isImportDefaultSpecifier()&&t==="default"){return true}if(n.isImportNamespaceSpecifier()&&t==="*"){return true}if(n.isImportSpecifier()&&l(n.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r<t;r++){const t=e[r];if(isExecutionUncertain(t.parent.type,t.parentKey)){return true}}return false}function _guessExecutionStatusRelativeTo(e){const t={this:getOuterFunction(this),target:getOuterFunction(e)};if(t.target.node!==t.this.node){return this._guessExecutionStatusRelativeToDifferentFunctions(t.target)}const r={target:e.getAncestry(),this:this.getAncestry()};if(r.target.indexOf(this)>=0)return"after";if(r.this.indexOf(e)>=0)return"before";let n;const s={target:0,this:0};while(!n&&s.this<r.this.length){const e=r.this[s.this];s.target=r.target.indexOf(e);if(s.target>=0){n=e}else{s.this++}}if(!n){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(r.this,s.this-1)||isExecutionUncertainInList(r.target,s.target-1)){return"unknown"}const a={this:r.this[s.this-1],target:r.target[s.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container){return a.target.key>a.this.key?"before":"after"}const o=i[n.type];const l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"}const h=new WeakSet;function _guessExecutionStatusRelativeToDifferentFunctions(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration()){return"unknown"}const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const t of r){const r=!!t.find((t=>t.node===e.node));if(r)continue;if(t.key!=="callee"||!t.parentPath.isCallExpression()){return"unknown"}if(h.has(t.node))continue;h.add(t.node);const s=this._guessExecutionStatusRelativeTo(t);h.delete(t.node);if(n&&n!==s){return"unknown"}else{n=s}}return n}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find((e=>e.node===n.node)))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!c(r))return;const n=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const s of r){if(!s.isProperty())continue;const r=s.get("key");let i=s.isnt("computed")&&r.isIdentifier({name:n});i=i||r.isLiteral({value:n});if(i)return s.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+n)){const r=s.get("elements");const i=r[n];if(i)return i.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every((e=>e.isConstantExpression()))}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find((e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(!e.isProgram()&&!e.isFunction())return false;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}const t=e.isFunction()?e.node.body:e.node;for(const e of t.directives){if(e.value.value==="use strict"){return true}}}));return!!t}},3747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(6953);var s=n;const{react:i}=n;const{cloneNode:a,jsxExpressionContainer:o,variableDeclaration:l,variableDeclarator:c}=s;const u={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&i.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const s=this.getAttachmentParentForPath(n.path);if(s.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t<e.length;t++){if(e[t].node._blockHoist)continue;return e[t]}}else{return this.getNextScopeAttachmentParent()}}else if(t.path.isProgram()){return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){return e}}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const r=this.bindings[t];if(r.kind==="param"&&r.constant)return true}return false}run(){this.path.traverse(u,this);if(this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const r=c(t,this.path.node);const n=this.attachAfter?"insertAfter":"insertBefore";const[s]=e[n]([e.isVariableDeclarator()?r:l("var",[r])]);const i=this.path.parentPath;if(i.isJSXElement()&&this.path.container===i.node.children){t=o(t)}this.path.replaceWith(a(t));return e.isVariableDeclarator()?s.get("init"):s.get("declarations.0.init")}}t["default"]=PathHoister},2472:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&(e.key==="consequent"||e.key==="alternate")||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0;var n=r(6953);const{isBinding:s,isBlockScoped:i,isExportDeclaration:a,isExpression:o,isFlow:l,isForStatement:c,isForXStatement:u,isIdentifier:p,isImportDeclaration:f,isImportSpecifier:d,isJSXIdentifier:h,isJSXMemberExpression:m,isMemberExpression:y,isReferenced:g,isScope:b,isStatement:T,isVar:S,isVariableDeclaration:E,react:x}=n;const{isCompatTag:v}=x;const P={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:n}=e;if(!p(r,t)&&!m(n,t)){if(h(r,t)){if(v(r.name))return false}else{return false}}return g(r,n,e.parentPath.parent)}};t.ReferencedIdentifier=P;const A={types:["MemberExpression"],checkPath({node:e,parent:t}){return y(e)&&g(e,t)}};t.ReferencedMemberExpression=A;const w={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e;const n=e.parentPath.parent;return p(t)&&s(t,r,n)}};t.BindingIdentifier=w;const I={types:["Statement"],checkPath({node:e,parent:t}){if(T(e)){if(E(e)){if(u(t,{left:e}))return false;if(c(t,{init:e}))return false}return true}else{return false}}};t.Statement=I;const C={types:["Expression"],checkPath(e){if(e.isIdentifier()){return e.isReferencedIdentifier()}else{return o(e.node)}}};t.Expression=C;const O={types:["Scopable","Pattern"],checkPath(e){return b(e.node,e.parent)}};t.Scope=O;const k={checkPath(e){return g(e.node,e.parent)}};t.Referenced=k;const N={checkPath(e){return i(e.node)}};t.BlockScoped=N;const _={types:["VariableDeclaration"],checkPath(e){return S(e.node)}};t.Var=_;const D={checkPath(e){return e.node&&!!e.node.loc}};t.User=D;const M={checkPath(e){return!e.isUser()}};t.Generated=M;const L={checkPath(e,t){return e.scope.isPure(e.node,t)}};t.Pure=L;const j={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath({node:e}){if(l(e)){return true}else if(f(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(a(e)){return e.exportKind==="type"}else if(d(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}};t.Flow=j;const F={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectPattern()}};t.RestProperty=F;const R={types:["RestElement"],checkPath(e){return e.parentPath&&e.parentPath.isObjectExpression()}};t.SpreadProperty=R;const B={types:["ExistsTypeAnnotation"]};t.ExistentialTypeParam=B;const U={types:["NumberLiteralTypeAnnotation"]};t.NumericLiteralTypeAnnotation=U;const K={types:["ForOfStatement"],checkPath({node:e}){return e.await===true}};t.ForAwaitStatement=K},3714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._containerInsert=_containerInsert;t._containerInsertAfter=_containerInsertAfter;t._containerInsertBefore=_containerInsertBefore;t._verifyNodeList=_verifyNodeList;t.hoist=hoist;t.insertAfter=insertAfter;t.insertBefore=insertBefore;t.pushContainer=pushContainer;t.unshiftContainer=unshiftContainer;t.updateSiblingKeys=updateSiblingKeys;var n=r(5762);var s=r(3747);var i=r(3311);var a=r(6953);const{arrowFunctionExpression:o,assertExpression:l,assignmentExpression:c,blockStatement:u,callExpression:p,cloneNode:f,expressionStatement:d,isAssignmentExpression:h,isCallExpression:m,isExpression:y,isIdentifier:g,isSequenceExpression:b,isSuper:T,thisExpression:S}=a;function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(u(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n<t.length;n++){const t=e+n;const s=this.getSibling(t);r.push(s);if(this.context&&this.context.queue){s.pushContext(this.context)}}const n=this._getQueueContexts();for(const e of r){e.setScope();e.debug("Inserted.");for(const t of n){t.maybeQueue(e,true)}}return r}function _containerInsertBefore(e){return this._containerInsert(this.key,e)}function _containerInsertAfter(e){return this._containerInsert(this.key+1,e)}const last=e=>e[e.length-1];function isHiddenInSequenceExpression(e){return b(e.parent)&&(last(e.parent.expressions)!==e.node||isHiddenInSequenceExpression(e.parentPath))}function isAlmostConstantAssignment(e,t){if(!h(e)||!g(e.left)){return false}const r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}function insertAfter(e){this._assertUnremoved();if(this.isSequenceExpression()){return last(this.get("expressions")).insertAfter(e)}const t=this._verifyNodeList(e);const{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertAfter(t.map((e=>y(e)?d(e):e)))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){l(e);this.replaceWith(p(o([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(isHiddenInSequenceExpression(this)){t.unshift(e)}else if(m(e)&&T(e.callee)){t.unshift(e);t.push(S())}else if(isAlmostConstantAssignment(e,n)){t.unshift(e);t.push(f(e.left))}else if(n.isPure(e,true)){t.push(e)}else{if(r.isMethod({computed:true,key:e})){n=n.parent}const s=n.generateDeclaredUidIdentifier();t.unshift(d(c("=",f(s),e)));t.push(d(f(s)))}}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(u(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t<e.length;t++){const r=e[t];let n;if(!r){n="has falsy node"}else if(typeof r!=="object"){n="contains a non-object node"}else if(!r.type){n="without a type"}else if(r instanceof i.default){n="has a NodePath when it expected a raw object"}if(n){const e=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${n} with the index of ${t} and type of ${e}`)}}return e}function unshiftContainer(e,t){this._assertUnremoved();t=this._verifyNodeList(t);const r=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return r._containerInsertBefore(t)}function pushContainer(e,t){this._assertUnremoved();const r=this._verifyNodeList(t);const n=this.node[e];const s=i.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context);return s.replaceWithMultiple(r)}function hoist(e=this.scope){const t=new s.default(this,e);return t.run()}},9187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._assertUnremoved=_assertUnremoved;t._callRemovalHooks=_callRemovalHooks;t._markRemoved=_markRemoved;t._remove=_remove;t._removeFromScope=_removeFromScope;t.remove=remove;var n=r(2472);var s=r(5762);var i=r(3311);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach((e=>this.scope.removeBinding(e)))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED;if(this.parent)s.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},4006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;t.replaceWith=replaceWith;t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;var n=r(197);var s=r(7734);var i=r(3311);var a=r(5762);var o=r(9113);var l=r(6953);var c=r(6499);const{FUNCTION_TYPES:u,arrowFunctionExpression:p,assignmentExpression:f,awaitExpression:d,blockStatement:h,callExpression:m,cloneNode:y,expressionStatement:g,identifier:b,inheritLeadingComments:T,inheritTrailingComments:S,inheritsComments:E,isExpression:x,isProgram:v,isStatement:P,removeComments:A,returnStatement:w,toSequenceExpression:I,validate:C,yieldExpression:O}=l;function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);T(e[0],this.node);S(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();try{e=`(${e})`;e=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}e=e.program.body[0].expression;s.default.removeProperties(e);return this.replaceWith(e)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}if(e instanceof i.default){e=e.node}if(!e){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===e){return[this]}if(this.isProgram()&&!v(e)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(e)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof e==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let t="";if(this.isNodeType("Statement")&&x(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()){e=g(e);t="expression"}}if(this.isNodeType("Expression")&&P(e)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)){return this.replaceExpressionWithStatements([e])}}const r=this.node;if(r){E(e,r);A(r)}this._replaceWith(e);this.type=e.type;this.setScope();this.requeue();return[t?this.get(t):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){C(this.parent,this.key,[e])}else{C(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=I(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const i=r==null?void 0:r.is("generator");const a=p([],h(e));this.replaceWith(m(a,[]));const o=this.get("callee");(0,c.default)(o.get("body"),(e=>{this.scope.push({id:e})}),"var");const l=this.get("callee").getCompletionRecords();for(const e of l){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",w(y(r)));t.setData("expressionReplacementReturnUid",r)}else{r=b(r.name)}e.get("expression").replaceWith(f("=",y(r),e.node.expression))}else{e.replaceWith(w(e.node.expression))}}o.arrowFunctionToExpression();const g=o;const T=n&&s.default.hasType(this.get("callee.body").node,"AwaitExpression",u);const S=i&&s.default.hasType(this.get("callee.body").node,"YieldExpression",u);if(T){g.set("async",true);if(!S){this.replaceWith(d(this.node))}}if(S){g.set("generator",true);this.replaceWith(O(this.node,true))}return g.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},8654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t["default"]=Binding},2593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3368);var s=r(7734);var i=r(8654);var a=r(6929);var o=r(6953);var l=r(5762);const{NOT_LOCAL_BINDING:c,callExpression:u,cloneNode:p,getBindingIdentifiers:f,identifier:d,isArrayExpression:h,isBinary:m,isClass:y,isClassBody:g,isClassDeclaration:b,isExportAllDeclaration:T,isExportDefaultDeclaration:S,isExportNamedDeclaration:E,isFunctionDeclaration:x,isIdentifier:v,isImportDeclaration:P,isLiteral:A,isMethod:w,isModuleDeclaration:I,isModuleSpecifier:C,isObjectExpression:O,isProperty:k,isPureish:N,isSuper:_,isTaggedTemplateExpression:D,isTemplateLiteral:M,isThisExpression:L,isUnaryExpression:j,isVariableDeclaration:F,matchesPattern:R,memberExpression:B,numericLiteral:U,toIdentifier:K,unaryExpression:$,variableDeclaration:V,variableDeclarator:W,isRecordExpression:q,isTupleExpression:G,isObjectProperty:H,isTopicReference:X,isMetaProperty:J,isPrivateName:z}=o;function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(I(e)){if((T(e)||E(e)||P(e))&&e.source){gatherNodeParts(e.source,t)}else if((E(e)||P(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((S(e)||E(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(C(e)){gatherNodeParts(e.local,t)}else if(A(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":t.push(e.name);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const Y={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:r}=e;const n=r.getFunctionParent()||r.getProgramParent();n.registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped())return;if(e.isImportDeclaration())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ImportDeclaration(e){const t=e.scope.getBlockParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}else if(r.isVar()){const{scope:t}=e;const n=t.getFunctionParent()||t.getProgramParent();n.registerBinding("var",r)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(T(t))return;const n=t.declaration;if(b(n)||x(n)){const t=n.id;if(!t)return;const s=r.getBinding(t.name);s==null?void 0:s.reference(e)}else if(F(n)){for(const t of n.declarations){for(const n of Object.keys(f(t))){const t=r.getBinding(n);t==null?void 0:t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[c]){e.scope.registerBinding("local",e.get("id"),e)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[c]){e.scope.registerBinding("local",e)}}};let Q=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=Q++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,s.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return p(t)}generateUidIdentifier(e){return d(this.generateUid(e))}generateUid(e="temp"){e=K(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return d(this.generateUidBasedOnNode(e,t))}isStatic(e){if(L(e)||_(e)||X(e)){return true}if(v(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return p(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const s=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&t==="const";if(s){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t,r){const s=this.getBinding(e);if(s){t=t||this.generateUidIdentifier(e).name;return new n.default(s,e,t).rename(r)}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(v(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(h(e)){return e}if(v(e,{name:"arguments"})){return u(B(B(B(d("Array"),d("prototype")),d("slice")),d("call")),[e])}let n;const s=[e];if(t===true){n="toConsumableArray"}else if(t){s.push(U(t));n="slicedToArray"}else{n="toArray"}if(r){s.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return u(this.hub.addHelper(n),s)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t){this.registerBinding(e.node.kind,r)}}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t){this.registerBinding("module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return $("void",U(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const s=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(s)){n.references[t]=true;for(const n of s[t]){const s=this.getOwnBinding(t);if(s){if(s.identifier===n)continue;this.checkBlockScopedCollisions(s,e,t,n)}if(s){this.registerConstantViolation(r)}else{this.bindings[t]=new i.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(v(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(L(e)||J(e)||X(e)||z(e)){return true}else if(y(e)){var r;if(e.superClass&&!this.isPure(e.superClass,t)){return false}if(((r=e.decorators)==null?void 0:r.length)>0){return false}return this.isPure(e.body,t)}else if(g(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(m(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(h(e)||G(e)){for(const r of e.elements){if(r!==null&&!this.isPure(r,t))return false}return true}else if(O(e)||q(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(w(e)){var n;if(e.computed&&!this.isPure(e.key,t))return false;if(((n=e.decorators)==null?void 0:n.length)>0){return false}return true}else if(k(e)){var s;if(e.computed&&!this.isPure(e.key,t))return false;if(((s=e.decorators)==null?void 0:s.length)>0){return false}if(H(e)||e.static){if(e.value!==null&&!this.isPure(e.value,t)){return false}}return true}else if(j(e)){return this.isPure(e.argument,t)}else if(D(e)){return R(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(M(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return N(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&Y._exploded){for(const t of Y.enter){t(e,r)}const t=Y[e.type];if(t){for(const n of t.enter){n(e,r)}}}e.traverse(Y,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(t.isPattern()){t=this.getPatternParent().path}else if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const s=e._blockHoist==null?2:e._blockHoist;const i=`declaration:${n}:${s}`;let a=!r&&t.getData(i);if(!a){const e=V(n,[]);e._blockHoist=s;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(i,a)}const o=W(e.id,e.init);const l=a.node.declarations.push(o);t.scope.registerBinding(n,a.get("declarations")[l-1])}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern()){return e.getBlockParent()}}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const s=e.bindings[n];if(s.kind===r)t[n]=s}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const s=t.getOwnBinding(e);if(s){var n;if((n=r)!=null&&n.isPattern()&&s.kind!=="param"&&s.kind!=="local"){}else{return s}}else if(!s&&e==="arguments"&&t.path.isFunction()&&!t.path.isArrowFunctionExpression()){break}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){if(!e)return false;if(this.hasOwnBinding(e))return true;if(this.parentHasBinding(e,t))return true;if(this.hasUid(e))return true;if(!t&&Scope.globals.includes(e))return true;if(!t&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t["default"]=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},3368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8654);var s=r(7696);var i=r(6953);const{VISITOR_KEYS:a,assignmentExpression:o,identifier:l,toExpression:c,variableDeclaration:u,variableDeclarator:p}=i;const f={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){skipAllButComputedMethodKey(e)}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id){return}(0,s.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return;if(!e.isFunctionDeclaration()&&!e.isClassDeclaration())return;if(this.binding.kind!=="hoisted")return;e.node.id=l(this.oldName);e.node._blockHoist=3;e.replaceWith(u("let",[p(l(this.newName),c(e.node))]))}maybeConvertFromClassFunctionExpression(e){return;if(!e.isFunctionExpression()&&!e.isClassExpression())return;if(this.binding.kind!=="local")return;e.node.id=l(this.oldName);this.binding.scope.parent.push({id:l(this.newName)});e.replaceWith(o("=",l(this.newName),e.node))}rename(e){const{binding:t,oldName:r,newName:n}=this;const{scope:s,path:i}=t;const a=i.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));if(a){const e=a.getOuterBindingIdentifiers();if(e[r]===t.identifier){this.maybeConvertFromExportDeclaration(a)}}const o=e||s.block;if((o==null?void 0:o.type)==="SwitchStatement"){o.cases.forEach((e=>{s.traverse(e,f,this)}))}else{s.traverse(o,f,this)}if(!e){s.removeOwnBinding(r);s.bindings[n]=t;this.binding.identifier.name=n}if(a){this.maybeConvertFromClassFunctionDeclaration(a);this.maybeConvertFromClassFunctionExpression(a)}}}t["default"]=Renamer;function skipAllButComputedMethodKey(e){if(!e.isMethod()||!e.node.computed){e.skip();return}const t=a[e.type];for(const r of t){if(r!=="key")e.skipKey(r)}}},2084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.traverseNode=traverseNode;var n=r(9876);var s=r(6953);const{VISITOR_KEYS:i}=s;function traverseNode(e,t,r,s,a,o){const l=i[e.type];if(!l)return false;const c=new n.default(r,t,s,a);for(const t of l){if(o&&o[t])continue;if(c.visit(e,t)){return true}}return false}},1788:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.merge=merge;t.verify=verify;var n=r(714);var s=r(6953);const{DEPRECATED_KEYS:i,FLIPPED_ALIAS_KEYS:a,TYPES:o}=s;function explode(e){if(e._exploded)return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=n[t];if(!r)continue;const s=e[t];for(const e of Object.keys(s)){s[e]=wrapCheck(r,s[e])}delete e[t];if(r.types){for(const t of r.types){if(e[t]){mergePair(e[t],s)}else{e[t]=s}}}else{mergePair(e,s)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];let n=a[t];const s=i[t];if(s){console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`);n=[s]}if(!n)continue;delete e[t];for(const t of n){const n=e[t];if(n){mergePair(n,r)}else{e[t]=Object.assign({},r)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(o.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let s=0;s<e.length;s++){const i=e[s];const a=t[s];explode(i);for(const e of Object.keys(i)){let t=i[e];if(a||r){t=wrapWithStateOrWrapper(t,a,r)}const s=n[e]=n[e]||{};mergePair(s,t)}}return n}function wrapWithStateOrWrapper(e,t,r){const n={};for(const s of Object.keys(e)){let i=e[s];if(!Array.isArray(i))continue;i=i.map((function(e){let n=e;if(t){n=function(r){return e.call(t,r,t)}}if(r){n=r(t.key,s,n)}if(n!==e){n.toString=()=>e.toString()}return n}));n[s]=i}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const newFn=function(r){if(e.checkPath(r)){return t.apply(this,arguments)}};newFn.toString=()=>t.toString();return newFn}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"||e==="blacklist"){return true}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},1828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=assertNode;var n=r(9598);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},4155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertAccessor=assertAccessor;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertArrayExpression=assertArrayExpression;t.assertArrayPattern=assertArrayPattern;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertAssignmentPattern=assertAssignmentPattern;t.assertAwaitExpression=assertAwaitExpression;t.assertBigIntLiteral=assertBigIntLiteral;t.assertBinary=assertBinary;t.assertBinaryExpression=assertBinaryExpression;t.assertBindExpression=assertBindExpression;t.assertBlock=assertBlock;t.assertBlockParent=assertBlockParent;t.assertBlockStatement=assertBlockStatement;t.assertBooleanLiteral=assertBooleanLiteral;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertClass=assertClass;t.assertClassAccessorProperty=assertClassAccessorProperty;t.assertClassBody=assertClassBody;t.assertClassDeclaration=assertClassDeclaration;t.assertClassExpression=assertClassExpression;t.assertClassImplements=assertClassImplements;t.assertClassMethod=assertClassMethod;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassProperty=assertClassProperty;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDecimalLiteral=assertDecimalLiteral;t.assertDeclaration=assertDeclaration;t.assertDeclareClass=assertDeclareClass;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertDecorator=assertDecorator;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertDoExpression=assertDoExpression;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertEnumBody=assertEnumBody;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertEnumMember=assertEnumMember;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertExportSpecifier=assertExportSpecifier;t.assertExpression=assertExpression;t.assertExpressionStatement=assertExpressionStatement;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFile=assertFile;t.assertFlow=assertFlow;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertFlowType=assertFlowType;t.assertFor=assertFor;t.assertForInStatement=assertForInStatement;t.assertForOfStatement=assertForOfStatement;t.assertForStatement=assertForStatement;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertFunctionParent=assertFunctionParent;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertImmutable=assertImmutable;t.assertImport=assertImport;t.assertImportAttribute=assertImportAttribute;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportSpecifier=assertImportSpecifier;t.assertIndexedAccessType=assertIndexedAccessType;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertInterpreterDirective=assertInterpreterDirective;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertJSX=assertJSX;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXFragment=assertJSXFragment;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXText=assertJSXText;t.assertLVal=assertLVal;t.assertLabeledStatement=assertLabeledStatement;t.assertLiteral=assertLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertLoop=assertLoop;t.assertMemberExpression=assertMemberExpression;t.assertMetaProperty=assertMetaProperty;t.assertMethod=assertMethod;t.assertMiscellaneous=assertMiscellaneous;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertModuleDeclaration=assertModuleDeclaration;t.assertModuleExpression=assertModuleExpression;t.assertModuleSpecifier=assertModuleSpecifier;t.assertNewExpression=assertNewExpression;t.assertNoop=assertNoop;t.assertNullLiteral=assertNullLiteral;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteral=assertNumberLiteral;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertNumericLiteral=assertNumericLiteral;t.assertObjectExpression=assertObjectExpression;t.assertObjectMember=assertObjectMember;t.assertObjectMethod=assertObjectMethod;t.assertObjectPattern=assertObjectPattern;t.assertObjectProperty=assertObjectProperty;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertPattern=assertPattern;t.assertPatternLike=assertPatternLike;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPlaceholder=assertPlaceholder;t.assertPrivate=assertPrivate;t.assertPrivateName=assertPrivateName;t.assertProgram=assertProgram;t.assertProperty=assertProperty;t.assertPureish=assertPureish;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertRecordExpression=assertRecordExpression;t.assertRegExpLiteral=assertRegExpLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestElement=assertRestElement;t.assertRestProperty=assertRestProperty;t.assertReturnStatement=assertReturnStatement;t.assertScopable=assertScopable;t.assertSequenceExpression=assertSequenceExpression;t.assertSpreadElement=assertSpreadElement;t.assertSpreadProperty=assertSpreadProperty;t.assertStandardized=assertStandardized;t.assertStatement=assertStatement;t.assertStaticBlock=assertStaticBlock;t.assertStringLiteral=assertStringLiteral;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSuper=assertSuper;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSArrayType=assertTSArrayType;t.assertTSAsExpression=assertTSAsExpression;t.assertTSBaseType=assertTSBaseType;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConditionalType=assertTSConditionalType;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSConstructorType=assertTSConstructorType;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSEntityName=assertTSEntityName;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSFunctionType=assertTSFunctionType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSImportType=assertTSImportType;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSInferType=assertTSInferType;t.assertTSInstantiationExpression=assertTSInstantiationExpression;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSLiteralType=assertTSLiteralType;t.assertTSMappedType=assertTSMappedType;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSOptionalType=assertTSOptionalType;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSRestType=assertTSRestType;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSThisType=assertTSThisType;t.assertTSTupleType=assertTSTupleType;t.assertTSType=assertTSType;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSTypeElement=assertTSTypeElement;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSTypeParameter=assertTSTypeParameter;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeReference=assertTSTypeReference;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnionType=assertTSUnionType;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertTerminatorless=assertTerminatorless;t.assertThisExpression=assertThisExpression;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertThrowStatement=assertThrowStatement;t.assertTopicReference=assertTopicReference;t.assertTryStatement=assertTryStatement;t.assertTupleExpression=assertTupleExpression;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertTypeScript=assertTypeScript;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertUnaryExpression=assertUnaryExpression;t.assertUnaryLike=assertUnaryLike;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertUpdateExpression=assertUpdateExpression;t.assertUserWhitespacable=assertUserWhitespacable;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertWhile=assertWhile;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertYieldExpression=assertYieldExpression;var n=r(4420);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassAccessorProperty(e,t){assert("ClassAccessorProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSInstantiationExpression(e,t){assert("TSInstantiationExpression",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertStandardized(e,t){assert("Standardized",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertModuleDeclaration(e,t){assert("ModuleDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertAccessor(e,t){assert("Accessor",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertMiscellaneous(e,t){assert("Miscellaneous",e,t)}function assertTypeScript(e,t){assert("TypeScript",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");assert("SpreadProperty",e,t)}},4509:()=>{},8554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createFlowUnionType;var n=r(3321);var s=r(271);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},9246:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3321);var s=createTypeAnnotationBasedOnTypeof;t["default"]=s;function createTypeAnnotationBasedOnTypeof(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}},3321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.anyTypeAnnotation=anyTypeAnnotation;t.argumentPlaceholder=argumentPlaceholder;t.arrayExpression=arrayExpression;t.arrayPattern=arrayPattern;t.arrayTypeAnnotation=arrayTypeAnnotation;t.arrowFunctionExpression=arrowFunctionExpression;t.assignmentExpression=assignmentExpression;t.assignmentPattern=assignmentPattern;t.awaitExpression=awaitExpression;t.bigIntLiteral=bigIntLiteral;t.binaryExpression=binaryExpression;t.bindExpression=bindExpression;t.blockStatement=blockStatement;t.booleanLiteral=booleanLiteral;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.classAccessorProperty=classAccessorProperty;t.classBody=classBody;t.classDeclaration=classDeclaration;t.classExpression=classExpression;t.classImplements=classImplements;t.classMethod=classMethod;t.classPrivateMethod=classPrivateMethod;t.classPrivateProperty=classPrivateProperty;t.classProperty=classProperty;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.decimalLiteral=decimalLiteral;t.declareClass=declareClass;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declareExportDeclaration=declareExportDeclaration;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareOpaqueType=declareOpaqueType;t.declareTypeAlias=declareTypeAlias;t.declareVariable=declareVariable;t.declaredPredicate=declaredPredicate;t.decorator=decorator;t.directive=directive;t.directiveLiteral=directiveLiteral;t.doExpression=doExpression;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.emptyTypeAnnotation=emptyTypeAnnotation;t.enumBooleanBody=enumBooleanBody;t.enumBooleanMember=enumBooleanMember;t.enumDeclaration=enumDeclaration;t.enumDefaultedMember=enumDefaultedMember;t.enumNumberBody=enumNumberBody;t.enumNumberMember=enumNumberMember;t.enumStringBody=enumStringBody;t.enumStringMember=enumStringMember;t.enumSymbolBody=enumSymbolBody;t.existsTypeAnnotation=existsTypeAnnotation;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportDefaultSpecifier=exportDefaultSpecifier;t.exportNamedDeclaration=exportNamedDeclaration;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.exportSpecifier=exportSpecifier;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forOfStatement=forOfStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.identifier=identifier;t.ifStatement=ifStatement;t["import"]=_import;t.importAttribute=importAttribute;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.indexedAccessType=indexedAccessType;t.inferredPredicate=inferredPredicate;t.interfaceDeclaration=interfaceDeclaration;t.interfaceExtends=interfaceExtends;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.interpreterDirective=interpreterDirective;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXText=t.jsxText=jsxText;t.labeledStatement=labeledStatement;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.metaProperty=metaProperty;t.mixedTypeAnnotation=mixedTypeAnnotation;t.moduleExpression=moduleExpression;t.newExpression=newExpression;t.noop=noop;t.nullLiteral=nullLiteral;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteral=NumberLiteral;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.numericLiteral=numericLiteral;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectPattern=objectPattern;t.objectProperty=objectProperty;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.optionalCallExpression=optionalCallExpression;t.optionalIndexedAccessType=optionalIndexedAccessType;t.optionalMemberExpression=optionalMemberExpression;t.parenthesizedExpression=parenthesizedExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.placeholder=placeholder;t.privateName=privateName;t.program=program;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.recordExpression=recordExpression;t.regExpLiteral=regExpLiteral;t.regexLiteral=RegexLiteral;t.restElement=restElement;t.restProperty=RestProperty;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.spreadElement=spreadElement;t.spreadProperty=SpreadProperty;t.staticBlock=staticBlock;t.stringLiteral=stringLiteral;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t["super"]=_super;t.switchCase=switchCase;t.switchStatement=switchStatement;t.symbolTypeAnnotation=symbolTypeAnnotation;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.thisExpression=thisExpression;t.thisTypeAnnotation=thisTypeAnnotation;t.throwStatement=throwStatement;t.topicReference=topicReference;t.tryStatement=tryStatement;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSImportType=t.tsImportType=tsImportType;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSInferType=t.tsInferType=tsInferType;t.tSInstantiationExpression=t.tsInstantiationExpression=tsInstantiationExpression;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSRestType=t.tsRestType=tsRestType;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tupleExpression=tupleExpression;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.unaryExpression=unaryExpression;t.unionTypeAnnotation=unionTypeAnnotation;t.updateExpression=updateExpression;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.whileStatement=whileStatement;t.withStatement=withStatement;t.yieldExpression=yieldExpression;var n=r(1958);function arrayExpression(e=[]){return(0,n.default)({type:"ArrayExpression",elements:e})}function assignmentExpression(e,t,r){return(0,n.default)({type:"AssignmentExpression",operator:e,left:t,right:r})}function binaryExpression(e,t,r){return(0,n.default)({type:"BinaryExpression",operator:e,left:t,right:r})}function interpreterDirective(e){return(0,n.default)({type:"InterpreterDirective",value:e})}function directive(e){return(0,n.default)({type:"Directive",value:e})}function directiveLiteral(e){return(0,n.default)({type:"DirectiveLiteral",value:e})}function blockStatement(e,t=[]){return(0,n.default)({type:"BlockStatement",body:e,directives:t})}function breakStatement(e=null){return(0,n.default)({type:"BreakStatement",label:e})}function callExpression(e,t){return(0,n.default)({type:"CallExpression",callee:e,arguments:t})}function catchClause(e=null,t){return(0,n.default)({type:"CatchClause",param:e,body:t})}function conditionalExpression(e,t,r){return(0,n.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:r})}function continueStatement(e=null){return(0,n.default)({type:"ContinueStatement",label:e})}function debuggerStatement(){return{type:"DebuggerStatement"}}function doWhileStatement(e,t){return(0,n.default)({type:"DoWhileStatement",test:e,body:t})}function emptyStatement(){return{type:"EmptyStatement"}}function expressionStatement(e){return(0,n.default)({type:"ExpressionStatement",expression:e})}function file(e,t=null,r=null){return(0,n.default)({type:"File",program:e,comments:t,tokens:r})}function forInStatement(e,t,r){return(0,n.default)({type:"ForInStatement",left:e,right:t,body:r})}function forStatement(e=null,t=null,r=null,s){return(0,n.default)({type:"ForStatement",init:e,test:t,update:r,body:s})}function functionDeclaration(e=null,t,r,s=false,i=false){return(0,n.default)({type:"FunctionDeclaration",id:e,params:t,body:r,generator:s,async:i})}function functionExpression(e=null,t,r,s=false,i=false){return(0,n.default)({type:"FunctionExpression",id:e,params:t,body:r,generator:s,async:i})}function identifier(e){return(0,n.default)({type:"Identifier",name:e})}function ifStatement(e,t,r=null){return(0,n.default)({type:"IfStatement",test:e,consequent:t,alternate:r})}function labeledStatement(e,t){return(0,n.default)({type:"LabeledStatement",label:e,body:t})}function stringLiteral(e){return(0,n.default)({type:"StringLiteral",value:e})}function numericLiteral(e){return(0,n.default)({type:"NumericLiteral",value:e})}function nullLiteral(){return{type:"NullLiteral"}}function booleanLiteral(e){return(0,n.default)({type:"BooleanLiteral",value:e})}function regExpLiteral(e,t=""){return(0,n.default)({type:"RegExpLiteral",pattern:e,flags:t})}function logicalExpression(e,t,r){return(0,n.default)({type:"LogicalExpression",operator:e,left:t,right:r})}function memberExpression(e,t,r=false,s=null){return(0,n.default)({type:"MemberExpression",object:e,property:t,computed:r,optional:s})}function newExpression(e,t){return(0,n.default)({type:"NewExpression",callee:e,arguments:t})}function program(e,t=[],r="script",s=null){return(0,n.default)({type:"Program",body:e,directives:t,sourceType:r,interpreter:s,sourceFile:null})}function objectExpression(e){return(0,n.default)({type:"ObjectExpression",properties:e})}function objectMethod(e="method",t,r,s,i=false,a=false,o=false){return(0,n.default)({type:"ObjectMethod",kind:e,key:t,params:r,body:s,computed:i,generator:a,async:o})}function objectProperty(e,t,r=false,s=false,i=null){return(0,n.default)({type:"ObjectProperty",key:e,value:t,computed:r,shorthand:s,decorators:i})}function restElement(e){return(0,n.default)({type:"RestElement",argument:e})}function returnStatement(e=null){return(0,n.default)({type:"ReturnStatement",argument:e})}function sequenceExpression(e){return(0,n.default)({type:"SequenceExpression",expressions:e})}function parenthesizedExpression(e){return(0,n.default)({type:"ParenthesizedExpression",expression:e})}function switchCase(e=null,t){return(0,n.default)({type:"SwitchCase",test:e,consequent:t})}function switchStatement(e,t){return(0,n.default)({type:"SwitchStatement",discriminant:e,cases:t})}function thisExpression(){return{type:"ThisExpression"}}function throwStatement(e){return(0,n.default)({type:"ThrowStatement",argument:e})}function tryStatement(e,t=null,r=null){return(0,n.default)({type:"TryStatement",block:e,handler:t,finalizer:r})}function unaryExpression(e,t,r=true){return(0,n.default)({type:"UnaryExpression",operator:e,argument:t,prefix:r})}function updateExpression(e,t,r=false){return(0,n.default)({type:"UpdateExpression",operator:e,argument:t,prefix:r})}function variableDeclaration(e,t){return(0,n.default)({type:"VariableDeclaration",kind:e,declarations:t})}function variableDeclarator(e,t=null){return(0,n.default)({type:"VariableDeclarator",id:e,init:t})}function whileStatement(e,t){return(0,n.default)({type:"WhileStatement",test:e,body:t})}function withStatement(e,t){return(0,n.default)({type:"WithStatement",object:e,body:t})}function assignmentPattern(e,t){return(0,n.default)({type:"AssignmentPattern",left:e,right:t})}function arrayPattern(e){return(0,n.default)({type:"ArrayPattern",elements:e})}function arrowFunctionExpression(e,t,r=false){return(0,n.default)({type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null})}function classBody(e){return(0,n.default)({type:"ClassBody",body:e})}function classExpression(e=null,t=null,r,s=null){return(0,n.default)({type:"ClassExpression",id:e,superClass:t,body:r,decorators:s})}function classDeclaration(e,t=null,r,s=null){return(0,n.default)({type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:s})}function exportAllDeclaration(e){return(0,n.default)({type:"ExportAllDeclaration",source:e})}function exportDefaultDeclaration(e){return(0,n.default)({type:"ExportDefaultDeclaration",declaration:e})}function exportNamedDeclaration(e=null,t=[],r=null){return(0,n.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r})}function exportSpecifier(e,t){return(0,n.default)({type:"ExportSpecifier",local:e,exported:t})}function forOfStatement(e,t,r,s=false){return(0,n.default)({type:"ForOfStatement",left:e,right:t,body:r,await:s})}function importDeclaration(e,t){return(0,n.default)({type:"ImportDeclaration",specifiers:e,source:t})}function importDefaultSpecifier(e){return(0,n.default)({type:"ImportDefaultSpecifier",local:e})}function importNamespaceSpecifier(e){return(0,n.default)({type:"ImportNamespaceSpecifier",local:e})}function importSpecifier(e,t){return(0,n.default)({type:"ImportSpecifier",local:e,imported:t})}function metaProperty(e,t){return(0,n.default)({type:"MetaProperty",meta:e,property:t})}function classMethod(e="method",t,r,s,i=false,a=false,o=false,l=false){return(0,n.default)({type:"ClassMethod",kind:e,key:t,params:r,body:s,computed:i,static:a,generator:o,async:l})}function objectPattern(e){return(0,n.default)({type:"ObjectPattern",properties:e})}function spreadElement(e){return(0,n.default)({type:"SpreadElement",argument:e})}function _super(){return{type:"Super"}}function taggedTemplateExpression(e,t){return(0,n.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})}function templateElement(e,t=false){return(0,n.default)({type:"TemplateElement",value:e,tail:t})}function templateLiteral(e,t){return(0,n.default)({type:"TemplateLiteral",quasis:e,expressions:t})}function yieldExpression(e=null,t=false){return(0,n.default)({type:"YieldExpression",argument:e,delegate:t})}function awaitExpression(e){return(0,n.default)({type:"AwaitExpression",argument:e})}function _import(){return{type:"Import"}}function bigIntLiteral(e){return(0,n.default)({type:"BigIntLiteral",value:e})}function exportNamespaceSpecifier(e){return(0,n.default)({type:"ExportNamespaceSpecifier",exported:e})}function optionalMemberExpression(e,t,r=false,s){return(0,n.default)({type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:s})}function optionalCallExpression(e,t,r){return(0,n.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:r})}function classProperty(e,t=null,r=null,s=null,i=false,a=false){return(0,n.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:s,computed:i,static:a})}function classAccessorProperty(e,t=null,r=null,s=null,i=false,a=false){return(0,n.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:s,computed:i,static:a})}function classPrivateProperty(e,t=null,r=null,s){return(0,n.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:s})}function classPrivateMethod(e="method",t,r,s,i=false){return(0,n.default)({type:"ClassPrivateMethod",kind:e,key:t,params:r,body:s,static:i})}function privateName(e){return(0,n.default)({type:"PrivateName",id:e})}function staticBlock(e){return(0,n.default)({type:"StaticBlock",body:e})}function anyTypeAnnotation(){return{type:"AnyTypeAnnotation"}}function arrayTypeAnnotation(e){return(0,n.default)({type:"ArrayTypeAnnotation",elementType:e})}function booleanTypeAnnotation(){return{type:"BooleanTypeAnnotation"}}function booleanLiteralTypeAnnotation(e){return(0,n.default)({type:"BooleanLiteralTypeAnnotation",value:e})}function nullLiteralTypeAnnotation(){return{type:"NullLiteralTypeAnnotation"}}function classImplements(e,t=null){return(0,n.default)({type:"ClassImplements",id:e,typeParameters:t})}function declareClass(e,t=null,r=null,s){return(0,n.default)({type:"DeclareClass",id:e,typeParameters:t,extends:r,body:s})}function declareFunction(e){return(0,n.default)({type:"DeclareFunction",id:e})}function declareInterface(e,t=null,r=null,s){return(0,n.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:s})}function declareModule(e,t,r=null){return(0,n.default)({type:"DeclareModule",id:e,body:t,kind:r})}function declareModuleExports(e){return(0,n.default)({type:"DeclareModuleExports",typeAnnotation:e})}function declareTypeAlias(e,t=null,r){return(0,n.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:r})}function declareOpaqueType(e,t=null,r=null){return(0,n.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r})}function declareVariable(e){return(0,n.default)({type:"DeclareVariable",id:e})}function declareExportDeclaration(e=null,t=null,r=null){return(0,n.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r})}function declareExportAllDeclaration(e){return(0,n.default)({type:"DeclareExportAllDeclaration",source:e})}function declaredPredicate(e){return(0,n.default)({type:"DeclaredPredicate",value:e})}function existsTypeAnnotation(){return{type:"ExistsTypeAnnotation"}}function functionTypeAnnotation(e=null,t,r=null,s){return(0,n.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:s})}function functionTypeParam(e=null,t){return(0,n.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})}function genericTypeAnnotation(e,t=null){return(0,n.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})}function inferredPredicate(){return{type:"InferredPredicate"}}function interfaceExtends(e,t=null){return(0,n.default)({type:"InterfaceExtends",id:e,typeParameters:t})}function interfaceDeclaration(e,t=null,r=null,s){return(0,n.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:s})}function interfaceTypeAnnotation(e=null,t){return(0,n.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})}function intersectionTypeAnnotation(e){return(0,n.default)({type:"IntersectionTypeAnnotation",types:e})}function mixedTypeAnnotation(){return{type:"MixedTypeAnnotation"}}function emptyTypeAnnotation(){return{type:"EmptyTypeAnnotation"}}function nullableTypeAnnotation(e){return(0,n.default)({type:"NullableTypeAnnotation",typeAnnotation:e})}function numberLiteralTypeAnnotation(e){return(0,n.default)({type:"NumberLiteralTypeAnnotation",value:e})}function numberTypeAnnotation(){return{type:"NumberTypeAnnotation"}}function objectTypeAnnotation(e,t=[],r=[],s=[],i=false){return(0,n.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:s,exact:i})}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:s,method:i})}function objectTypeCallProperty(e){return(0,n.default)({type:"ObjectTypeCallProperty",value:e,static:null})}function objectTypeIndexer(e=null,t,r,s=null){return(0,n.default)({type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:s,static:null})}function objectTypeProperty(e,t,r=null){return(0,n.default)({type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function objectTypeSpreadProperty(e){return(0,n.default)({type:"ObjectTypeSpreadProperty",argument:e})}function opaqueType(e,t=null,r=null,s){return(0,n.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:s})}function qualifiedTypeIdentifier(e,t){return(0,n.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})}function stringLiteralTypeAnnotation(e){return(0,n.default)({type:"StringLiteralTypeAnnotation",value:e})}function stringTypeAnnotation(){return{type:"StringTypeAnnotation"}}function symbolTypeAnnotation(){return{type:"SymbolTypeAnnotation"}}function thisTypeAnnotation(){return{type:"ThisTypeAnnotation"}}function tupleTypeAnnotation(e){return(0,n.default)({type:"TupleTypeAnnotation",types:e})}function typeofTypeAnnotation(e){return(0,n.default)({type:"TypeofTypeAnnotation",argument:e})}function typeAlias(e,t=null,r){return(0,n.default)({type:"TypeAlias",id:e,typeParameters:t,right:r})}function typeAnnotation(e){return(0,n.default)({type:"TypeAnnotation",typeAnnotation:e})}function typeCastExpression(e,t){return(0,n.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})}function typeParameter(e=null,t=null,r=null){return(0,n.default)({type:"TypeParameter",bound:e,default:t,variance:r,name:null})}function typeParameterDeclaration(e){return(0,n.default)({type:"TypeParameterDeclaration",params:e})}function typeParameterInstantiation(e){return(0,n.default)({type:"TypeParameterInstantiation",params:e})}function unionTypeAnnotation(e){return(0,n.default)({type:"UnionTypeAnnotation",types:e})}function variance(e){return(0,n.default)({type:"Variance",kind:e})}function voidTypeAnnotation(){return{type:"VoidTypeAnnotation"}}function enumDeclaration(e,t){return(0,n.default)({type:"EnumDeclaration",id:e,body:t})}function enumBooleanBody(e){return(0,n.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumNumberBody(e){return(0,n.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumStringBody(e){return(0,n.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumSymbolBody(e){return(0,n.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})}function enumBooleanMember(e){return(0,n.default)({type:"EnumBooleanMember",id:e,init:null})}function enumNumberMember(e,t){return(0,n.default)({type:"EnumNumberMember",id:e,init:t})}function enumStringMember(e,t){return(0,n.default)({type:"EnumStringMember",id:e,init:t})}function enumDefaultedMember(e){return(0,n.default)({type:"EnumDefaultedMember",id:e})}function indexedAccessType(e,t){return(0,n.default)({type:"IndexedAccessType",objectType:e,indexType:t})}function optionalIndexedAccessType(e,t){return(0,n.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})}function jsxAttribute(e,t=null){return(0,n.default)({type:"JSXAttribute",name:e,value:t})}function jsxClosingElement(e){return(0,n.default)({type:"JSXClosingElement",name:e})}function jsxElement(e,t=null,r,s=null){return(0,n.default)({type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:s})}function jsxEmptyExpression(){return{type:"JSXEmptyExpression"}}function jsxExpressionContainer(e){return(0,n.default)({type:"JSXExpressionContainer",expression:e})}function jsxSpreadChild(e){return(0,n.default)({type:"JSXSpreadChild",expression:e})}function jsxIdentifier(e){return(0,n.default)({type:"JSXIdentifier",name:e})}function jsxMemberExpression(e,t){return(0,n.default)({type:"JSXMemberExpression",object:e,property:t})}function jsxNamespacedName(e,t){return(0,n.default)({type:"JSXNamespacedName",namespace:e,name:t})}function jsxOpeningElement(e,t,r=false){return(0,n.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r})}function jsxSpreadAttribute(e){return(0,n.default)({type:"JSXSpreadAttribute",argument:e})}function jsxText(e){return(0,n.default)({type:"JSXText",value:e})}function jsxFragment(e,t,r){return(0,n.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:r})}function jsxOpeningFragment(){return{type:"JSXOpeningFragment"}}function jsxClosingFragment(){return{type:"JSXClosingFragment"}}function noop(){return{type:"Noop"}}function placeholder(e,t){return(0,n.default)({type:"Placeholder",expectedNode:e,name:t})}function v8IntrinsicIdentifier(e){return(0,n.default)({type:"V8IntrinsicIdentifier",name:e})}function argumentPlaceholder(){return{type:"ArgumentPlaceholder"}}function bindExpression(e,t){return(0,n.default)({type:"BindExpression",object:e,callee:t})}function importAttribute(e,t){return(0,n.default)({type:"ImportAttribute",key:e,value:t})}function decorator(e){return(0,n.default)({type:"Decorator",expression:e})}function doExpression(e,t=false){return(0,n.default)({type:"DoExpression",body:e,async:t})}function exportDefaultSpecifier(e){return(0,n.default)({type:"ExportDefaultSpecifier",exported:e})}function recordExpression(e){return(0,n.default)({type:"RecordExpression",properties:e})}function tupleExpression(e=[]){return(0,n.default)({type:"TupleExpression",elements:e})}function decimalLiteral(e){return(0,n.default)({type:"DecimalLiteral",value:e})}function moduleExpression(e){return(0,n.default)({type:"ModuleExpression",body:e})}function topicReference(){return{type:"TopicReference"}}function pipelineTopicExpression(e){return(0,n.default)({type:"PipelineTopicExpression",expression:e})}function pipelineBareFunction(e){return(0,n.default)({type:"PipelineBareFunction",callee:e})}function pipelinePrimaryTopicReference(){return{type:"PipelinePrimaryTopicReference"}}function tsParameterProperty(e){return(0,n.default)({type:"TSParameterProperty",parameter:e})}function tsDeclareFunction(e=null,t=null,r,s=null){return(0,n.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:s})}function tsDeclareMethod(e=null,t,r=null,s,i=null){return(0,n.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:s,returnType:i})}function tsQualifiedName(e,t){return(0,n.default)({type:"TSQualifiedName",left:e,right:t})}function tsCallSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsPropertySignature(e,t=null,r=null){return(0,n.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,initializer:r,kind:null})}function tsMethodSignature(e,t=null,r,s=null){return(0,n.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:s,kind:null})}function tsIndexSignature(e,t=null){return(0,n.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})}function tsAnyKeyword(){return{type:"TSAnyKeyword"}}function tsBooleanKeyword(){return{type:"TSBooleanKeyword"}}function tsBigIntKeyword(){return{type:"TSBigIntKeyword"}}function tsIntrinsicKeyword(){return{type:"TSIntrinsicKeyword"}}function tsNeverKeyword(){return{type:"TSNeverKeyword"}}function tsNullKeyword(){return{type:"TSNullKeyword"}}function tsNumberKeyword(){return{type:"TSNumberKeyword"}}function tsObjectKeyword(){return{type:"TSObjectKeyword"}}function tsStringKeyword(){return{type:"TSStringKeyword"}}function tsSymbolKeyword(){return{type:"TSSymbolKeyword"}}function tsUndefinedKeyword(){return{type:"TSUndefinedKeyword"}}function tsUnknownKeyword(){return{type:"TSUnknownKeyword"}}function tsVoidKeyword(){return{type:"TSVoidKeyword"}}function tsThisType(){return{type:"TSThisType"}}function tsFunctionType(e=null,t,r=null){return(0,n.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructorType(e=null,t,r=null){return(0,n.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsTypeReference(e,t=null){return(0,n.default)({type:"TSTypeReference",typeName:e,typeParameters:t})}function tsTypePredicate(e,t=null,r=null){return(0,n.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r})}function tsTypeQuery(e,t=null){return(0,n.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})}function tsTypeLiteral(e){return(0,n.default)({type:"TSTypeLiteral",members:e})}function tsArrayType(e){return(0,n.default)({type:"TSArrayType",elementType:e})}function tsTupleType(e){return(0,n.default)({type:"TSTupleType",elementTypes:e})}function tsOptionalType(e){return(0,n.default)({type:"TSOptionalType",typeAnnotation:e})}function tsRestType(e){return(0,n.default)({type:"TSRestType",typeAnnotation:e})}function tsNamedTupleMember(e,t,r=false){return(0,n.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:r})}function tsUnionType(e){return(0,n.default)({type:"TSUnionType",types:e})}function tsIntersectionType(e){return(0,n.default)({type:"TSIntersectionType",types:e})}function tsConditionalType(e,t,r,s){return(0,n.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:s})}function tsInferType(e){return(0,n.default)({type:"TSInferType",typeParameter:e})}function tsParenthesizedType(e){return(0,n.default)({type:"TSParenthesizedType",typeAnnotation:e})}function tsTypeOperator(e){return(0,n.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})}function tsIndexedAccessType(e,t){return(0,n.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})}function tsMappedType(e,t=null,r=null){return(0,n.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r})}function tsLiteralType(e){return(0,n.default)({type:"TSLiteralType",literal:e})}function tsExpressionWithTypeArguments(e,t=null){return(0,n.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})}function tsInterfaceDeclaration(e,t=null,r=null,s){return(0,n.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:s})}function tsInterfaceBody(e){return(0,n.default)({type:"TSInterfaceBody",body:e})}function tsTypeAliasDeclaration(e,t=null,r){return(0,n.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r})}function tsInstantiationExpression(e,t=null){return(0,n.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})}function tsAsExpression(e,t){return(0,n.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})}function tsTypeAssertion(e,t){return(0,n.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})}function tsEnumDeclaration(e,t){return(0,n.default)({type:"TSEnumDeclaration",id:e,members:t})}function tsEnumMember(e,t=null){return(0,n.default)({type:"TSEnumMember",id:e,initializer:t})}function tsModuleDeclaration(e,t){return(0,n.default)({type:"TSModuleDeclaration",id:e,body:t})}function tsModuleBlock(e){return(0,n.default)({type:"TSModuleBlock",body:e})}function tsImportType(e,t=null,r=null){return(0,n.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:r})}function tsImportEqualsDeclaration(e,t){return(0,n.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})}function tsExternalModuleReference(e){return(0,n.default)({type:"TSExternalModuleReference",expression:e})}function tsNonNullExpression(e){return(0,n.default)({type:"TSNonNullExpression",expression:e})}function tsExportAssignment(e){return(0,n.default)({type:"TSExportAssignment",expression:e})}function tsNamespaceExportDeclaration(e){return(0,n.default)({type:"TSNamespaceExportDeclaration",id:e})}function tsTypeAnnotation(e){return(0,n.default)({type:"TSTypeAnnotation",typeAnnotation:e})}function tsTypeParameterInstantiation(e){return(0,n.default)({type:"TSTypeParameterInstantiation",params:e})}function tsTypeParameterDeclaration(e){return(0,n.default)({type:"TSTypeParameterDeclaration",params:e})}function tsTypeParameter(e=null,t=null,r){return(0,n.default)({type:"TSTypeParameter",constraint:e,default:t,name:r})}function NumberLiteral(e){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return numericLiteral(e)}function RegexLiteral(e,t=""){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return regExpLiteral(e,t)}function RestProperty(e){console.trace("The node type RestProperty has been renamed to RestElement");return restElement(e)}function SpreadProperty(e){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return spreadElement(e)}},8709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ClassAccessorProperty",{enumerable:true,get:function(){return n.classAccessorProperty}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSInstantiationExpression",{enumerable:true,get:function(){return n.tsInstantiationExpression}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});var n=r(3321)},7671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildChildren;var n=r(9648);var s=r(5051);function buildChildren(e){const t=[];for(let r=0;r<e.children.length;r++){let i=e.children[r];if((0,n.isJSXText)(i)){(0,s.default)(i,t);continue}if((0,n.isJSXExpressionContainer)(i))i=i.expression;if((0,n.isJSXEmptyExpression)(i))continue;t.push(i)}return t}},1248:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTSUnionType;var n=r(3321);var s=r(6532);function createTSUnionType(e){const t=e.map((e=>e.typeAnnotation));const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},1958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validateNode;var n=r(5525);var s=r(6953);function validateNode(e){const t=s.BUILDER_KEYS[e.type];for(const r of t){(0,n.default)(e,r,e[r])}return e}},3639:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=clone;var n=r(9396);function clone(e){return(0,n.default)(e,false)}},2209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeep;var n=r(9396);function cloneDeep(e){return(0,n.default)(e)}},1686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeepWithoutLoc;var n=r(9396);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},9396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneNode;var n=r(6107);var s=r(9648);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r,n){if(e&&typeof e.type==="string"){return cloneNodeInternal(e,t,r,n)}return e}function cloneIfNodeOrArray(e,t,r,n){if(Array.isArray(e)){return e.map((e=>cloneIfNode(e,t,r,n)))}return cloneIfNode(e,t,r,n)}function cloneNode(e,t=true,r=false){return cloneNodeInternal(e,t,r,new Map)}function cloneNodeInternal(e,t=true,r=false,a){if(!e)return e;const{type:o}=e;const l={type:e.type};if((0,s.isIdentifier)(e)){l.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){l.optional=e.optional}if(i(e,"typeAnnotation")){l.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r,a):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,o)){throw new Error(`Unknown node type: "${o}"`)}else{for(const c of Object.keys(n.NODE_FIELDS[o])){if(i(e,c)){if(t){l[c]=(0,s.isFile)(e)&&c==="comments"?maybeCloneComments(e.comments,t,r,a):cloneIfNodeOrArray(e[c],true,r,a)}else{l[c]=e[c]}}}}if(i(e,"loc")){if(r){l.loc=null}else{l.loc=e.loc}}if(i(e,"leadingComments")){l.leadingComments=maybeCloneComments(e.leadingComments,t,r,a)}if(i(e,"innerComments")){l.innerComments=maybeCloneComments(e.innerComments,t,r,a)}if(i(e,"trailingComments")){l.trailingComments=maybeCloneComments(e.trailingComments,t,r,a)}if(i(e,"extra")){l.extra=Object.assign({},e.extra)}return l}function maybeCloneComments(e,t,r,n){if(!e||!t){return e}return e.map((e=>{const t=n.get(e);if(t)return t;const{type:s,value:i,loc:a}=e;const o={type:s,value:i,loc:a};if(r){o.loc=null}n.set(e,o);return o}))}},1127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneWithoutLoc;var n=r(9396);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},5673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComment;var n=r(5632);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},5632:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n].push(...r)}}else{e[n]=r}return e}},9162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritInnerComments;var n=r(581);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},8105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritLeadingComments;var n=r(581);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritTrailingComments;var n=r(581);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},2564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritsComments;var n=r(387);var s=r(8105);var i=r(9162);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},5460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeComments;var n=r(9071);function removeComments(e){n.COMMENT_KEYS.forEach((t=>{e[t]=null}));return e}},4225:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var n=r(6107);const s=n.FLIPPED_ALIAS_KEYS["Standardized"];t.STANDARDIZED_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=l;const c=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=c;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=m;const y=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=y;const g=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=g;const b=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=b;const T=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=S;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const x=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=v;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const w=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=w;const I=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=I;const C=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=C;const O=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=O;const k=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=k;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const _=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=_;const D=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=D;const M=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=M;const L=n.FLIPPED_ALIAS_KEYS["ModuleDeclaration"];t.MODULEDECLARATION_TYPES=L;const j=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=j;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS["Accessor"];t.ACCESSOR_TYPES=R;const B=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=B;const U=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=U;const K=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=K;const $=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=$;const V=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=V;const W=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=W;const q=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=G;const H=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=H;const X=n.FLIPPED_ALIAS_KEYS["Miscellaneous"];t.MISCELLANEOUS_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS["TypeScript"];t.TYPESCRIPT_TYPES=J;const z=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=z;const Y=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=Y;const Q=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=Q},9071:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const c=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=c;const u=[...c,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=u;const p=[...u,...l];t.BOOLEAN_BINARY_OPERATORS=p;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...p,"|>"];t.BINARY_OPERATORS=d;const h=["=","+=",...f.map((e=>e+"=")),...a.map((e=>e+"="))];t.ASSIGNMENT_OPERATORS=h;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const y=["+","-","~"];t.NUMBER_UNARY_OPERATORS=y;const g=["typeof"];t.STRING_UNARY_OPERATORS=g;const b=["void","throw",...m,...y,...g];t.UNARY_OPERATORS=b;const T={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=T;const S=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=S;const E=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=E},1202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=ensureBlock;var n=r(5033);function ensureBlock(e,t="body"){return e[t]=(0,n.default)(e[t],e)}},640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=gatherSequenceExpressions;var n=r(26);var s=r(9648);var i=r(3321);var a=r(9396);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const c of e){if(!(0,s.isEmptyStatement)(c)){l=false}if((0,s.isExpression)(c)){o.push(c)}else if((0,s.isExpressionStatement)(c)){o.push(c.expression)}else if((0,s.isVariableDeclaration)(c)){if(c.kind!=="var")return;for(const e of c.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:c.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(c)){const e=c.consequent?gatherSequenceExpressions([c.consequent],t,r):t.buildUndefinedNode();const n=c.alternate?gatherSequenceExpressions([c.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(c.test,e,n))}else if((0,s.isBlockStatement)(c)){const e=gatherSequenceExpressions(c.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(c)){if(e.indexOf(c)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},6195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBindingIdentifierName;var n=r(8740);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},5033:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBlock;var n=r(9648);var s=r(3321);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},6407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toComputedKey;var n=r(9648);var s=r(3321);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},1292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9648);var s=toExpression;t["default"]=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},8740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toIdentifier;var n=r(963);var s=r(7239);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}));if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toKeyAlias;var n=r(9648);var s=r(9396);var i=r(6099);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},9413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toSequenceExpression;var n=r(640);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},7571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9648);var s=r(3321);var i=toStatement;t["default"]=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},9937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(963);var s=r(3321);var i=valueToNode;t["default"]=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},9137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(4420);var s=r(963);var i=r(7239);var a=r(9071);var o=r(363);const l=(0,o.defineAliasedType)("Standardized");l("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});l("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertValueType)("string")}const e=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS);const t=(0,o.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});l("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression");const t=(0,o.assertNodeType)("Expression","PrivateName");const validator=function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","PrivateName"];return validator}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});l("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});l("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}});l("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}});l("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});l("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});l("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});l("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});l("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});l("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});l("DebuggerStatement",{aliases:["Statement"]});l("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});l("EmptyStatement",{aliases:["Statement"]});l("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});l("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign((()=>{}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,o.assertEach)(Object.assign((()=>{}),{type:"any"})),optional:true}}});l("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","LVal"):(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,o.assertNodeType)("Expression"),optional:true},update:{validate:(0,o.assertNodeType)("Expression"),optional:true},body:{validate:(0,o.assertNodeType)("Statement")}}});const c={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}};t.functionCommon=c;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},c,{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},id:{validate:(0,o.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=p;l("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});l("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f;l("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}}),{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});l("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,o.assertNodeType)("Statement")}}});l("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});l("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}}),{type:"string"})),default:""}}});l("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}});l("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName");const t=(0,o.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return validator}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,o.assertOneOf)(true,false),optional:true}}:{})});l("NewExpression",{inherits:"CallExpression"});l("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});l("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});l("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},c,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"];return validator}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});l("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName");const t=(0,o.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"];return validator}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}}),{type:"boolean"}),(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}})),default:false},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,o.assertNodeType)("Identifier","Pattern","TSAsExpression","TSNonNullExpression","TSTypeAssertion");const t=(0,o.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});l("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("LVal"):(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});l("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:true}}});l("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]});l("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}});l("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}});l("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}});l("ThisExpression",{aliases:["Expression"]});l("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign((function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,o.assertNodeType)("BlockStatement")}}});l("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});l("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Expression"):(0,o.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});l("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:true},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});l("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("LVal")}const e=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,o.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,o.assertValueType)("boolean")},init:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});l("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}});l("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}})});l("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},optional:{validate:(0,o.assertValueType)("boolean"),optional:true}})});l("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,o.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});l("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});l("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true}}});l("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},abstract:{validate:(0,o.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,o.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});l("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}});l("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}});l("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}}))},assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const e=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,o.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}});l("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,o.assertOneOf)("type","value"),optional:true}}});l("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,o.assertNodeType)("VariableDeclaration","LVal")}const e=(0,o.assertNodeType)("VariableDeclaration");const t=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSTypeAssertion","TSNonNullExpression");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:false}}});l("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:true,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});l("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});l("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}});l("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:true}}});l("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const d={abstract:{validate:(0,o.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,o.assertValueType)("boolean"),optional:true},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=d;const h=Object.assign({},c,d,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=h;l("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},h,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})});l("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})});l("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("Super",{aliases:["Expression"]});l("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});l("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:true}})},tail:{default:false}}});l("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}}))}}});l("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}}),{type:"boolean"})),default:false},argument:{optional:true,validate:(0,o.assertNodeType)("Expression")}}});l("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}});l("Import",{aliases:["Expression"]});l("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});l("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}});l("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier");const t=(0,o.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier"];return validator}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())}}});l("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,o.assertValueType)("boolean"):(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)())},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}});l("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},d,{value:{validate:(0,o.assertNodeType)("Expression"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}})});l("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},d,{key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","PrivateName");const t=(0,o.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression","PrivateName"))},value:{validate:(0,o.assertNodeType)("Expression"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},declare:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}})});l("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,o.assertNodeType)("PrivateName")},value:{validate:(0,o.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,o.assertValueType)("boolean"),optional:true},definite:{validate:(0,o.assertValueType)("boolean"),optional:true},variance:{validate:(0,o.assertNodeType)("Variance"),optional:true}}});l("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},h,u,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});l("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}});l("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},4085:(e,t,r)=>{"use strict";var n=r(363);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},6829:(e,t,r)=>{"use strict";var n=r(363);const s=(0,n.defineAliasedType)("Flow");const defineInterfaceishType=(e,t="TypeParameterDeclaration")=>{s(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};s("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});s("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("DeclareClass");s("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});defineInterfaceishType("DeclareInterface");s("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});s("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});s("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});s("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}});s("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});s("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});s("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});s("ExistsTypeAnnotation",{aliases:["FlowType"]});s("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});s("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InferredPredicate",{aliases:["FlowPredicate"]});s("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("InterfaceDeclaration");s("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});s("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});s("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});s("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,n.arrayOfType)("ObjectTypeIndexer"),optional:true,default:[]},callProperties:{validate:(0,n.arrayOfType)("ObjectTypeCallProperty"),optional:true,default:[]},internalSlots:{validate:(0,n.arrayOfType)("ObjectTypeInternalSlot"),optional:true,default:[]},exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});s("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});s("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});s("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});s("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});s("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});s("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});s("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});s("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});s("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});s("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});s("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("Variance",{builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});s("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});s("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});s("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});s("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});s("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});s("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});s("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},6107:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});var n=r(3797);r(9137);r(6829);r(8294);r(607);r(4085);r(3776);var s=r(363);var i=r(8161);n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const a=[].concat(Object.keys(s.VISITOR_KEYS),Object.keys(s.FLIPPED_ALIAS_KEYS),Object.keys(s.DEPRECATED_KEYS));t.TYPES=a},8294:(e,t,r)=>{"use strict";var n=r(363);const s=(0,n.defineAliasedType)("JSX");s("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});s("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});s("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}})});s("JSXEmptyExpression",{});s("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});s("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});s("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}});s("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});s("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});s("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});s("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});s("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});s("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});s("JSXOpeningFragment",{aliases:["Immutable"]});s("JSXClosingFragment",{aliases:["Immutable"]})},607:(e,t,r)=>{"use strict";var n=r(363);var s=r(8161);const i=(0,n.defineAliasedType)("Miscellaneous");{i("Noop",{visitor:[]})}i("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});i("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},8161:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(363);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach((e=>{i[e].forEach((t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)}))}))},3776:(e,t,r)=>{"use strict";var n=r(363);var s=r(9137);var i=r(4420);const a=(0,n.defineAliasedType)("TypeScript");const o=(0,n.assertValueType)("boolean");const l={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}};a("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},s.functionDeclarationCommon,l)});a("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},s.classMethodOrDeclareMethodCommon,l)});a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const c={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),["parameters"]:(0,n.validateArrayOfType)(["Identifier","RestElement"]),["typeAnnotation"]:(0,n.validateOptionalType)("TSTypeAnnotation")};const u={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:c};a("TSCallSignatureDeclaration",u);a("TSConstructSignatureDeclaration",u);const p={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(o),optional:(0,n.validateOptional)(o)};a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},p,{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},c,p,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const f=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of f){a(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const d={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},d,{fields:c}));a("TSConstructorType",Object.assign({},d,{fields:Object.assign({},c,{abstract:(0,n.validateOptional)(o)})}));a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(o)}});a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:false},elementType:(0,n.validateType)("TSType")}});const h={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};a("TSUnionType",h);a("TSIntersectionType",h);a("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(o),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral");function validator(n,s,a){if((0,i.default)("UnaryExpression",a)){t(a,"operator",a.operator);e(a,"argument",a.argument)}else{r(n,s,a)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"];return validator}()}}});a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});a("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSAsExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}});a("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(o),global:(0,n.validateOptional)(o),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});a("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(o),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});a("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});a("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:true},out:{validate:(0,n.assertValueType)("boolean"),optional:true},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.assertEach=assertEach;t.assertNodeOrValueType=assertNodeOrValueType;t.assertNodeType=assertNodeType;t.assertOneOf=assertOneOf;t.assertOptionalChainStart=assertOptionalChainStart;t.assertShape=assertShape;t.assertValueType=assertValueType;t.chain=chain;t["default"]=defineType;t.defineAliasedType=defineAliasedType;t.typeIs=typeIs;t.validate=validate;t.validateArrayOfType=validateArrayOfType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.validateType=validateType;var n=r(4420);var s=r(5525);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const c={};t.BUILDER_KEYS=c;const u={};t.DEPRECATED_KEYS=u;const p={};t.NODE_PARENT_VALIDATIONS=p;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i<n.length;i++){const a=`${r}[${i}]`;const o=n[i];e(t,a,o);if(process.env.BABEL_TYPES_8_BREAKING)(0,s.validateChild)(t,a,o)}}validator.each=e;return validator}function assertOneOf(...e){function validate(t,r,n){if(e.indexOf(n)<0){throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}}validate.oneOf=e;return validate}function assertNodeType(...e){function validate(t,r,i){for(const a of e){if((0,n.default)(a,i)){(0,s.validateChild)(t,r,i);return}}throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}validate.oneOfNodeTypes=e;return validate}function assertNodeOrValueType(...e){function validate(t,r,i){for(const a of e){if(getType(i)===a||(0,n.default)(a,i)){(0,s.validateChild)(t,r,i);return}}throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}validate.oneOfNodeOrValueTypes=e;return validate}function assertValueType(e){function validate(t,r,n){const s=getType(n)===e;if(!s){throw new TypeError(`Property ${r} expected type of ${e} but got ${getType(n)}`)}}validate.type=e;return validate}function assertShape(e){function validate(t,r,n){const i=[];for(const r of Object.keys(e)){try{(0,s.validateField)(t,r,n[r],e[r])}catch(e){if(e instanceof TypeError){i.push(e.message);continue}throw e}}if(i.length){throw new TypeError(`Property ${r} of ${t.type} expected to have the following:\n${i.join("\n")}`)}}validate.shapeOf=e;return validate}function assertOptionalChainStart(){function validate(e){var t;let r=e;while(e){const{type:e}=r;if(e==="OptionalCallExpression"){if(r.optional)return;r=r.callee;continue}if(e==="OptionalMemberExpression"){if(r.optional)return;r=r.object;continue}break}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(t=r)==null?void 0:t.type}`)}return validate}function chain(...e){function validate(...t){for(const r of e){r(...t)}}validate.chainOf=e;if(e.length>=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","validate"];function defineAliasedType(...e){return(t,r={})=>{let n=r.aliases;if(!n){var s,i;if(r.inherits)n=(s=h[r.inherits].aliases)==null?void 0:s.slice();(i=n)!=null?i:n=[];r.aliases=n}const a=e.filter((e=>!n.includes(e)));n.unshift(...a);return defineType(t,r)}}function defineType(e,t={}){const r=t.inherits&&h[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const y=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){u[t.deprecatedAlias]=e}for(const e of s.concat(y)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&y.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;c[e]=t.builder=y;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach((t=>{o[t]=o[t]||[];o[t].push(e)}));if(t.validate){p[e]=t.validate}h[e]=t}const h={}},6953:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true};Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return B.default}});Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return C.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return K.default}});t.react=void 0;Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return V.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return O.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});var s=r(6558);var i=r(7431);var a=r(7671);var o=r(1828);var l=r(4155);Object.keys(l).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})}));var c=r(9246);var u=r(8554);var p=r(1248);var f=r(3321);Object.keys(f).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})}));var d=r(8709);Object.keys(d).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})}));var h=r(9396);var m=r(3639);var y=r(2209);var g=r(1686);var b=r(1127);var T=r(5673);var S=r(5632);var E=r(9162);var x=r(8105);var v=r(2564);var P=r(387);var A=r(5460);var w=r(4225);Object.keys(w).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===w[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return w[e]}})}));var I=r(9071);Object.keys(I).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===I[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return I[e]}})}));var C=r(1202);var O=r(6195);var k=r(5033);var N=r(6407);var _=r(1292);var D=r(8740);var M=r(823);var L=r(9413);var j=r(7571);var F=r(9937);var R=r(6107);Object.keys(R).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===R[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return R[e]}})}));var B=r(774);var U=r(9302);var K=r(4042);var $=r(6442);var V=r(6099);var W=r(271);var q=r(26);var G=r(5162);var H=r(9584);Object.keys(H).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===H[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return H[e]}})}));var X=r(8062);var J=r(3774);var z=r(4420);var Y=r(1728);var Q=r(4918);var Z=r(7667);var ee=r(9568);var te=r(9598);var re=r(4251);var ne=r(1438);var se=r(1536);var ie=r(8559);var ae=r(9762);var oe=r(9338);var le=r(9014);var ce=r(963);var ue=r(5886);var pe=r(3986);var fe=r(5525);var de=r(1093);var he=r(9648);Object.keys(he).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})}));var me=r(4509);Object.keys(me).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===me[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return me[e]}})}));const ye={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=ye},774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=appendToMemberExpression;var n=r(3321);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(9648);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t={};const r={};const s=new Set;const i=[];for(let a=0;a<e.length;a++){const o=e[a];if(!o)continue;if(i.indexOf(o)>=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){r[o.type]=o;continue}if((0,n.isUnionTypeAnnotation)(o)){if(!s.has(o.types)){e=e.concat(o.types);s.add(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(t[e]){let r=t[e];if(r.typeParameters){if(o.typeParameters){r.typeParameters.params=removeTypeDuplicates(r.typeParameters.params.concat(o.typeParameters.params))}}else{r=o.typeParameters}}else{t[e]=o}continue}i.push(o)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},9302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherits;var n=r(9071);var s=r(2564);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone")e[r]=t[r]}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},4042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=prependToMemberExpression;var n=r(3321);function prependToMemberExpression(e,t){e.object=(0,n.memberExpression)(t,e.object);return e}},6442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeProperties;var n=r(9071);const s=["tokens","start","end","loc","raw","rawValue"];const i=n.COMMENT_KEYS.concat(["comments"]).concat(s);function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},6099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removePropertiesDeep;var n=r(8062);var s=r(6442);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},6532:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(9648);function removeTypeDuplicates(e){const t={};const r={};const s=new Set;const i=[];for(let t=0;t<e.length;t++){const a=e[t];if(!a)continue;if(i.indexOf(a)>=0){continue}if((0,n.isTSAnyKeyword)(a)){return[a]}if((0,n.isTSBaseType)(a)){r[a.type]=a;continue}if((0,n.isTSUnionType)(a)){if(!s.has(a.types)){e.push(...a.types);s.add(a.types)}continue}i.push(a)}for(const e of Object.keys(r)){i.push(r[e])}for(const e of Object.keys(t)){i.push(t[e])}return i}},26:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getBindingIdentifiers;var n=r(9648);function getBindingIdentifiers(e,t,r){let s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t<a.length;t++){const r=a[t];if(e[r]){s=s.concat(e[r])}}}}return i}getBindingIdentifiers.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},5162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(26);var s=getOuterBindingIdentifiers;t["default"]=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},9584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverse;var n=r(6107);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o<a.length;o++){const l=a[o];if(!l)continue;i.push({node:e,key:n,index:o});traverseSimpleImpl(l,t,r,s,i);i.pop()}}else if(a){i.push({node:e,key:n});traverseSimpleImpl(a,t,r,s,i);i.pop()}}if(r)r(e,i,s)}},8062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverseFast;var n=r(6107);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},5051:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cleanJSXElementLiteralChild;var n=r(3321);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let s=0;for(let e=0;e<r.length;e++){if(r[e].match(/[^ \t]/)){s=e}}let i="";for(let e=0;e<r.length;e++){const t=r[e];const n=e===0;const a=e===r.length-1;const o=e===s;let l=t.replace(/\t/g," ");if(!n){l=l.replace(/^[ ]+/,"")}if(!a){l=l.replace(/[ ]+$/,"")}if(l){if(!o){l+=" "}i+=l}}if(i)t.push((0,n.stringLiteral)(i))}},3774:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},1093:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildMatchMemberExpression;var n=r(3986);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},9648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAccessor=isAccessor;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isArrayExpression=isArrayExpression;t.isArrayPattern=isArrayPattern;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isAssignmentExpression=isAssignmentExpression;t.isAssignmentPattern=isAssignmentPattern;t.isAwaitExpression=isAwaitExpression;t.isBigIntLiteral=isBigIntLiteral;t.isBinary=isBinary;t.isBinaryExpression=isBinaryExpression;t.isBindExpression=isBindExpression;t.isBlock=isBlock;t.isBlockParent=isBlockParent;t.isBlockStatement=isBlockStatement;t.isBooleanLiteral=isBooleanLiteral;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isClass=isClass;t.isClassAccessorProperty=isClassAccessorProperty;t.isClassBody=isClassBody;t.isClassDeclaration=isClassDeclaration;t.isClassExpression=isClassExpression;t.isClassImplements=isClassImplements;t.isClassMethod=isClassMethod;t.isClassPrivateMethod=isClassPrivateMethod;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassProperty=isClassProperty;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDecimalLiteral=isDecimalLiteral;t.isDeclaration=isDeclaration;t.isDeclareClass=isDeclareClass;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareVariable=isDeclareVariable;t.isDeclaredPredicate=isDeclaredPredicate;t.isDecorator=isDecorator;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isDoExpression=isDoExpression;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isEnumBody=isEnumBody;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumDeclaration=isEnumDeclaration;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isEnumMember=isEnumMember;t.isEnumNumberBody=isEnumNumberBody;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringBody=isEnumStringBody;t.isEnumStringMember=isEnumStringMember;t.isEnumSymbolBody=isEnumSymbolBody;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDeclaration=isExportDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isExportSpecifier=isExportSpecifier;t.isExpression=isExpression;t.isExpressionStatement=isExpressionStatement;t.isExpressionWrapper=isExpressionWrapper;t.isFile=isFile;t.isFlow=isFlow;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isFlowType=isFlowType;t.isFor=isFor;t.isForInStatement=isForInStatement;t.isForOfStatement=isForOfStatement;t.isForStatement=isForStatement;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isFunctionParent=isFunctionParent;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isImmutable=isImmutable;t.isImport=isImport;t.isImportAttribute=isImportAttribute;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportSpecifier=isImportSpecifier;t.isIndexedAccessType=isIndexedAccessType;t.isInferredPredicate=isInferredPredicate;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isInterpreterDirective=isInterpreterDirective;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isJSX=isJSX;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXClosingFragment=isJSXClosingFragment;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXFragment=isJSXFragment;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXText=isJSXText;t.isLVal=isLVal;t.isLabeledStatement=isLabeledStatement;t.isLiteral=isLiteral;t.isLogicalExpression=isLogicalExpression;t.isLoop=isLoop;t.isMemberExpression=isMemberExpression;t.isMetaProperty=isMetaProperty;t.isMethod=isMethod;t.isMiscellaneous=isMiscellaneous;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isModuleDeclaration=isModuleDeclaration;t.isModuleExpression=isModuleExpression;t.isModuleSpecifier=isModuleSpecifier;t.isNewExpression=isNewExpression;t.isNoop=isNoop;t.isNullLiteral=isNullLiteral;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteral=isNumberLiteral;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isNumericLiteral=isNumericLiteral;t.isObjectExpression=isObjectExpression;t.isObjectMember=isObjectMember;t.isObjectMethod=isObjectMethod;t.isObjectPattern=isObjectPattern;t.isObjectProperty=isObjectProperty;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isOptionalCallExpression=isOptionalCallExpression;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isPattern=isPattern;t.isPatternLike=isPatternLike;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPlaceholder=isPlaceholder;t.isPrivate=isPrivate;t.isPrivateName=isPrivateName;t.isProgram=isProgram;t.isProperty=isProperty;t.isPureish=isPureish;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isRecordExpression=isRecordExpression;t.isRegExpLiteral=isRegExpLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestElement=isRestElement;t.isRestProperty=isRestProperty;t.isReturnStatement=isReturnStatement;t.isScopable=isScopable;t.isSequenceExpression=isSequenceExpression;t.isSpreadElement=isSpreadElement;t.isSpreadProperty=isSpreadProperty;t.isStandardized=isStandardized;t.isStatement=isStatement;t.isStaticBlock=isStaticBlock;t.isStringLiteral=isStringLiteral;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSuper=isSuper;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSArrayType=isTSArrayType;t.isTSAsExpression=isTSAsExpression;t.isTSBaseType=isTSBaseType;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConditionalType=isTSConditionalType;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSConstructorType=isTSConstructorType;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSEntityName=isTSEntityName;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSExportAssignment=isTSExportAssignment;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSFunctionType=isTSFunctionType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSImportType=isTSImportType;t.isTSIndexSignature=isTSIndexSignature;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSInferType=isTSInferType;t.isTSInstantiationExpression=isTSInstantiationExpression;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSIntersectionType=isTSIntersectionType;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSLiteralType=isTSLiteralType;t.isTSMappedType=isTSMappedType;t.isTSMethodSignature=isTSMethodSignature;t.isTSModuleBlock=isTSModuleBlock;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSOptionalType=isTSOptionalType;t.isTSParameterProperty=isTSParameterProperty;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSPropertySignature=isTSPropertySignature;t.isTSQualifiedName=isTSQualifiedName;t.isTSRestType=isTSRestType;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSThisType=isTSThisType;t.isTSTupleType=isTSTupleType;t.isTSType=isTSType;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSTypeElement=isTSTypeElement;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSTypeOperator=isTSTypeOperator;t.isTSTypeParameter=isTSTypeParameter;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeReference=isTSTypeReference;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnionType=isTSUnionType;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isTerminatorless=isTerminatorless;t.isThisExpression=isThisExpression;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isThrowStatement=isThrowStatement;t.isTopicReference=isTopicReference;t.isTryStatement=isTryStatement;t.isTupleExpression=isTupleExpression;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isTypeScript=isTypeScript;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isUnaryExpression=isUnaryExpression;t.isUnaryLike=isUnaryLike;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isUpdateExpression=isUpdateExpression;t.isUserWhitespacable=isUserWhitespacable;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isWhile=isWhile;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isYieldExpression=isYieldExpression;var n=r(3774);function isArrayExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrayExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentExpression(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="BinaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterpreterDirective(e,t){if(!e)return false;const r=e.type;if(r==="InterpreterDirective"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirective(e,t){if(!e)return false;const r=e.type;if(r==="Directive"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDirectiveLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DirectiveLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockStatement(e,t){if(!e)return false;const r=e.type;if(r==="BlockStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBreakStatement(e,t){if(!e)return false;const r=e.type;if(r==="BreakStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="CallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCatchClause(e,t){if(!e)return false;const r=e.type;if(r==="CatchClause"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditionalExpression(e,t){if(!e)return false;const r=e.type;if(r==="ConditionalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isContinueStatement(e,t){if(!e)return false;const r=e.type;if(r==="ContinueStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDebuggerStatement(e,t){if(!e)return false;const r=e.type;if(r==="DebuggerStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="DoWhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyStatement(e,t){if(!e)return false;const r=e.type;if(r==="EmptyStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionStatement(e,t){if(!e)return false;const r=e.type;if(r==="ExpressionStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFile(e,t){if(!e)return false;const r=e.type;if(r==="File"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForInStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForInStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="FunctionDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="FunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="Identifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIfStatement(e,t){if(!e)return false;const r=e.type;if(r==="IfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLabeledStatement(e,t){if(!e)return false;const r=e.type;if(r==="LabeledStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteral(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumericLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NumericLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteral(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegExpLiteral(e,t){if(!e)return false;const r=e.type;if(r==="RegExpLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLogicalExpression(e,t){if(!e)return false;const r=e.type;if(r==="LogicalExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="MemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNewExpression(e,t){if(!e)return false;const r=e.type;if(r==="NewExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProgram(e,t){if(!e)return false;const r=e.type;if(r==="Program"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectExpression(e,t){if(!e)return false;const r=e.type;if(r==="ObjectExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMethod(e,t){if(!e)return false;const r=e.type;if(r==="ObjectMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestElement(e,t){if(!e)return false;const r=e.type;if(r==="RestElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isReturnStatement(e,t){if(!e)return false;const r=e.type;if(r==="ReturnStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSequenceExpression(e,t){if(!e)return false;const r=e.type;if(r==="SequenceExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isParenthesizedExpression(e,t){if(!e)return false;const r=e.type;if(r==="ParenthesizedExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchCase(e,t){if(!e)return false;const r=e.type;if(r==="SwitchCase"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSwitchStatement(e,t){if(!e)return false;const r=e.type;if(r==="SwitchStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisExpression(e,t){if(!e)return false;const r=e.type;if(r==="ThisExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThrowStatement(e,t){if(!e)return false;const r=e.type;if(r==="ThrowStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTryStatement(e,t){if(!e)return false;const r=e.type;if(r==="TryStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryExpression(e,t){if(!e)return false;const r=e.type;if(r==="UnaryExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUpdateExpression(e,t){if(!e)return false;const r=e.type;if(r==="UpdateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariableDeclarator(e,t){if(!e)return false;const r=e.type;if(r==="VariableDeclarator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhileStatement(e,t){if(!e)return false;const r=e.type;if(r==="WhileStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWithStatement(e,t){if(!e)return false;const r=e.type;if(r==="WithStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAssignmentPattern(e,t){if(!e)return false;const r=e.type;if(r==="AssignmentPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayPattern(e,t){if(!e)return false;const r=e.type;if(r==="ArrayPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrowFunctionExpression(e,t){if(!e)return false;const r=e.type;if(r==="ArrowFunctionExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassBody(e,t){if(!e)return false;const r=e.type;if(r==="ClassBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassExpression(e,t){if(!e)return false;const r=e.type;if(r==="ClassExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ClassDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamedDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamedDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForOfStatement(e,t){if(!e)return false;const r=e.type;if(r==="ForOfStatement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="ImportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ImportSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMetaProperty(e,t){if(!e)return false;const r=e.type;if(r==="MetaProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectPattern(e,t){if(!e)return false;const r=e.type;if(r==="ObjectPattern"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadElement(e,t){if(!e)return false;const r=e.type;if(r==="SpreadElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSuper(e,t){if(!e)return false;const r=e.type;if(r==="Super"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTaggedTemplateExpression(e,t){if(!e)return false;const r=e.type;if(r==="TaggedTemplateExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateElement(e,t){if(!e)return false;const r=e.type;if(r==="TemplateElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTemplateLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TemplateLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isYieldExpression(e,t){if(!e)return false;const r=e.type;if(r==="YieldExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAwaitExpression(e,t){if(!e)return false;const r=e.type;if(r==="AwaitExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImport(e,t){if(!e)return false;const r=e.type;if(r==="Import"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBigIntLiteral(e,t){if(!e)return false;const r=e.type;if(r==="BigIntLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportNamespaceSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportNamespaceSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalCallExpression(e,t){if(!e)return false;const r=e.type;if(r==="OptionalCallExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassAccessorProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassAccessorProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateProperty(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassPrivateMethod(e,t){if(!e)return false;const r=e.type;if(r==="ClassPrivateMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivateName(e,t){if(!e)return false;const r=e.type;if(r==="PrivateName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStaticBlock(e,t){if(!e)return false;const r=e.type;if(r==="StaticBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAnyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="AnyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArrayTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ArrayTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="BooleanLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClassImplements(e,t){if(!e)return false;const r=e.type;if(r==="ClassImplements"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareClass(e,t){if(!e)return false;const r=e.type;if(r==="DeclareClass"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="DeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareInterface(e,t){if(!e)return false;const r=e.type;if(r==="DeclareInterface"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModule(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModule"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareModuleExports(e,t){if(!e)return false;const r=e.type;if(r==="DeclareModuleExports"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="DeclareTypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="DeclareOpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareVariable(e,t){if(!e)return false;const r=e.type;if(r==="DeclareVariable"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclareExportAllDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="DeclareExportAllDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="DeclaredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExistsTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ExistsTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionTypeParam(e,t){if(!e)return false;const r=e.type;if(r==="FunctionTypeParam"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isGenericTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="GenericTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInferredPredicate(e,t){if(!e)return false;const r=e.type;if(r==="InferredPredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceExtends(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceExtends"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isInterfaceTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="InterfaceTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIntersectionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="IntersectionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMixedTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="MixedTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEmptyTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="EmptyTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNullableTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NullableTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="NumberTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeInternalSlot(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeInternalSlot"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeCallProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeCallProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeIndexer(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeIndexer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectTypeSpreadProperty(e,t){if(!e)return false;const r=e.type;if(r==="ObjectTypeSpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOpaqueType(e,t){if(!e)return false;const r=e.type;if(r==="OpaqueType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isQualifiedTypeIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="QualifiedTypeIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringLiteralTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStringTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="StringTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSymbolTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="SymbolTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isThisTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="ThisTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TupleTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeofTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeofTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAlias(e,t){if(!e)return false;const r=e.type;if(r==="TypeAlias"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeCastExpression(e,t){if(!e)return false;const r=e.type;if(r==="TypeCastExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnionTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="UnionTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVariance(e,t){if(!e)return false;const r=e.type;if(r==="Variance"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isVoidTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="VoidTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="EnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumSymbolBody(e,t){if(!e)return false;const r=e.type;if(r==="EnumSymbolBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBooleanMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumBooleanMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumNumberMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumNumberMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumStringMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumStringMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumDefaultedMember(e,t){if(!e)return false;const r=e.type;if(r==="EnumDefaultedMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="IndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isOptionalIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="OptionalIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXEmptyExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXEmptyExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXExpressionContainer(e,t){if(!e)return false;const r=e.type;if(r==="JSXExpressionContainer"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadChild(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadChild"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="JSXIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXMemberExpression(e,t){if(!e)return false;const r=e.type;if(r==="JSXMemberExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXNamespacedName(e,t){if(!e)return false;const r=e.type;if(r==="JSXNamespacedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningElement(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningElement"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXSpreadAttribute(e,t){if(!e)return false;const r=e.type;if(r==="JSXSpreadAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXText(e,t){if(!e)return false;const r=e.type;if(r==="JSXText"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXOpeningFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXOpeningFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSXClosingFragment(e,t){if(!e)return false;const r=e.type;if(r==="JSXClosingFragment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNoop(e,t){if(!e)return false;const r=e.type;if(r==="Noop"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="Placeholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isV8IntrinsicIdentifier(e,t){if(!e)return false;const r=e.type;if(r==="V8IntrinsicIdentifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isArgumentPlaceholder(e,t){if(!e)return false;const r=e.type;if(r==="ArgumentPlaceholder"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBindExpression(e,t){if(!e)return false;const r=e.type;if(r==="BindExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImportAttribute(e,t){if(!e)return false;const r=e.type;if(r==="ImportAttribute"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecorator(e,t){if(!e)return false;const r=e.type;if(r==="Decorator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDoExpression(e,t){if(!e)return false;const r=e.type;if(r==="DoExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDefaultSpecifier(e,t){if(!e)return false;const r=e.type;if(r==="ExportDefaultSpecifier"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRecordExpression(e,t){if(!e)return false;const r=e.type;if(r==="RecordExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTupleExpression(e,t){if(!e)return false;const r=e.type;if(r==="TupleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDecimalLiteral(e,t){if(!e)return false;const r=e.type;if(r==="DecimalLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleExpression(e,t){if(!e)return false;const r=e.type;if(r==="ModuleExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="TopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineTopicExpression(e,t){if(!e)return false;const r=e.type;if(r==="PipelineTopicExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelineBareFunction(e,t){if(!e)return false;const r=e.type;if(r==="PipelineBareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;const r=e.type;if(r==="PipelinePrimaryTopicReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParameterProperty(e,t){if(!e)return false;const r=e.type;if(r==="TSParameterProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareFunction(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareFunction"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSDeclareMethod(e,t){if(!e)return false;const r=e.type;if(r==="TSDeclareMethod"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSQualifiedName(e,t){if(!e)return false;const r=e.type;if(r==="TSQualifiedName"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSCallSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSCallSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructSignatureDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSPropertySignature(e,t){if(!e)return false;const r=e.type;if(r==="TSPropertySignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMethodSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSMethodSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexSignature(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexSignature"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAnyKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSAnyKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBooleanKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBooleanKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBigIntKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSBigIntKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntrinsicKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSIntrinsicKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNeverKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNeverKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNullKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNullKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNumberKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSNumberKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSObjectKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSObjectKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSStringKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSStringKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSSymbolKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSSymbolKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUndefinedKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUndefinedKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnknownKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSUnknownKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSVoidKeyword(e,t){if(!e)return false;const r=e.type;if(r==="TSVoidKeyword"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSThisType(e,t){if(!e)return false;const r=e.type;if(r==="TSThisType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSFunctionType(e,t){if(!e)return false;const r=e.type;if(r==="TSFunctionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConstructorType(e,t){if(!e)return false;const r=e.type;if(r==="TSConstructorType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeReference(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypePredicate(e,t){if(!e)return false;const r=e.type;if(r==="TSTypePredicate"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeQuery(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeQuery"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeLiteral(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSArrayType(e,t){if(!e)return false;const r=e.type;if(r==="TSArrayType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTupleType(e,t){if(!e)return false;const r=e.type;if(r==="TSTupleType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSOptionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSOptionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSRestType(e,t){if(!e)return false;const r=e.type;if(r==="TSRestType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamedTupleMember(e,t){if(!e)return false;const r=e.type;if(r==="TSNamedTupleMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSUnionType(e,t){if(!e)return false;const r=e.type;if(r==="TSUnionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIntersectionType(e,t){if(!e)return false;const r=e.type;if(r==="TSIntersectionType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSConditionalType(e,t){if(!e)return false;const r=e.type;if(r==="TSConditionalType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInferType(e,t){if(!e)return false;const r=e.type;if(r==="TSInferType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSParenthesizedType(e,t){if(!e)return false;const r=e.type;if(r==="TSParenthesizedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeOperator(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeOperator"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSIndexedAccessType(e,t){if(!e)return false;const r=e.type;if(r==="TSIndexedAccessType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSMappedType(e,t){if(!e)return false;const r=e.type;if(r==="TSMappedType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSLiteralType(e,t){if(!e)return false;const r=e.type;if(r==="TSLiteralType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;const r=e.type;if(r==="TSExpressionWithTypeArguments"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInterfaceBody(e,t){if(!e)return false;const r=e.type;if(r==="TSInterfaceBody"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAliasDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAliasDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSInstantiationExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSInstantiationExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSAsExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSAsExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAssertion(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAssertion"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEnumMember(e,t){if(!e)return false;const r=e.type;if(r==="TSEnumMember"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSModuleBlock(e,t){if(!e)return false;const r=e.type;if(r==="TSModuleBlock"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportType(e,t){if(!e)return false;const r=e.type;if(r==="TSImportType"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSImportEqualsDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSImportEqualsDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExternalModuleReference(e,t){if(!e)return false;const r=e.type;if(r==="TSExternalModuleReference"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNonNullExpression(e,t){if(!e)return false;const r=e.type;if(r==="TSNonNullExpression"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSExportAssignment(e,t){if(!e)return false;const r=e.type;if(r==="TSExportAssignment"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSNamespaceExportDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeAnnotation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeAnnotation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterInstantiation(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterInstantiation"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameterDeclaration(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameterDeclaration"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeParameter(e,t){if(!e)return false;const r=e.type;if(r==="TSTypeParameter"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStandardized(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"InterpreterDirective"===r||"Directive"===r||"DirectiveLiteral"===r||"BlockStatement"===r||"BreakStatement"===r||"CallExpression"===r||"CatchClause"===r||"ConditionalExpression"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"File"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Identifier"===r||"IfStatement"===r||"LabeledStatement"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"Program"===r||"ObjectExpression"===r||"ObjectMethod"===r||"ObjectProperty"===r||"RestElement"===r||"ReturnStatement"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"SwitchCase"===r||"SwitchStatement"===r||"ThisExpression"===r||"ThrowStatement"===r||"TryStatement"===r||"UnaryExpression"===r||"UpdateExpression"===r||"VariableDeclaration"===r||"VariableDeclarator"===r||"WhileStatement"===r||"WithStatement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ArrowFunctionExpression"===r||"ClassBody"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ExportSpecifier"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"MetaProperty"===r||"ClassMethod"===r||"ObjectPattern"===r||"SpreadElement"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateElement"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"ExportNamespaceSpecifier"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"ClassProperty"===r||"ClassAccessorProperty"===r||"ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r||"StaticBlock"===r||r==="Placeholder"&&("Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode||"BlockStatement"===e.expectedNode||"ClassBody"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpression(e,t){if(!e)return false;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TopicReference"===r||"PipelineTopicExpression"===r||"PipelineBareFunction"===r||"PipelinePrimaryTopicReference"===r||"TSInstantiationExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBinary(e,t){if(!e)return false;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isScopable(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlockParent(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isBlock(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||r==="Placeholder"&&"BlockStatement"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isStatement(e,t){if(!e)return false;const r=e.type;if("BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||r==="Placeholder"&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTerminatorless(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isCompletionStatement(e,t){if(!e)return false;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isConditional(e,t){if(!e)return false;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLoop(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isWhile(e,t){if(!e)return false;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExpressionWrapper(e,t){if(!e)return false;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFor(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isForXStatement(e,t){if(!e)return false;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunction(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFunctionParent(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPureish(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isDeclaration(e,t){if(!e)return false;const r=e.type;if("FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||r==="Placeholder"&&"Declaration"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPatternLike(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLVal(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||r==="Placeholder"&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode)){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSEntityName(e,t){if(!e)return false;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||r==="Placeholder"&&"Identifier"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isLiteral(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isImmutable(e,t){if(!e)return false;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||r==="Placeholder"&&"StringLiteral"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUserWhitespacable(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMethod(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isObjectMember(e,t){if(!e)return false;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isProperty(e,t){if(!e)return false;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassAccessorProperty"===r||"ClassPrivateProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isUnaryLike(e,t){if(!e)return false;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPattern(e,t){if(!e)return false;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||r==="Placeholder"&&"Pattern"===e.expectedNode){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isClass(e,t){if(!e)return false;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isExportDeclaration(e,t){if(!e)return false;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isModuleSpecifier(e,t){if(!e)return false;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isAccessor(e,t){if(!e)return false;const r=e.type;if("ClassAccessorProperty"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isPrivate(e,t){if(!e)return false;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlow(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r||"EnumDeclaration"===r||"EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r||"EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowType(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowBaseAnnotation(e,t){if(!e)return false;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowDeclaration(e,t){if(!e)return false;const r=e.type;if("DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isFlowPredicate(e,t){if(!e)return false;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumBody(e,t){if(!e)return false;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isEnumMember(e,t){if(!e)return false;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isJSX(e,t){if(!e)return false;const r=e.type;if("JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isMiscellaneous(e,t){if(!e)return false;const r=e.type;if("Noop"===r||"Placeholder"===r||"V8IntrinsicIdentifier"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTypeScript(e,t){if(!e)return false;const r=e.type;if("TSParameterProperty"===r||"TSDeclareFunction"===r||"TSDeclareMethod"===r||"TSQualifiedName"===r||"TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r||"TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSNamedTupleMember"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSInterfaceDeclaration"===r||"TSInterfaceBody"===r||"TSTypeAliasDeclaration"===r||"TSInstantiationExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSEnumDeclaration"===r||"TSEnumMember"===r||"TSModuleDeclaration"===r||"TSModuleBlock"===r||"TSImportType"===r||"TSImportEqualsDeclaration"===r||"TSExternalModuleReference"===r||"TSNonNullExpression"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||"TSTypeAnnotation"===r||"TSTypeParameterInstantiation"===r||"TSTypeParameterDeclaration"===r||"TSTypeParameter"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSTypeElement(e,t){if(!e)return false;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isTSBaseType(e,t){if(!e)return false;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isNumberLiteral(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");if(!e)return false;const r=e.type;if(r==="NumberLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRegexLiteral(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");if(!e)return false;const r=e.type;if(r==="RegexLiteral"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isRestProperty(e,t){console.trace("The node type RestProperty has been renamed to RestElement");if(!e)return false;const r=e.type;if(r==="RestProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}function isSpreadProperty(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");if(!e)return false;const r=e.type;if(r==="SpreadProperty"){if(typeof t==="undefined"){return true}else{return(0,n.default)(e,t)}}return false}},4420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=is;var n=r(3774);var s=r(9338);var i=r(1438);var a=r(6107);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},1728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBinding;var n=r(26);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r<s.length;r++){const n=s[r];const i=t[n];if(Array.isArray(i)){if(i.indexOf(e)>=0)return true}else{if(i===e)return true}}}return false}},4918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBlockScoped;var n=r(9648);var s=r(9568);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},7667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isImmutable;var n=r(9338);var s=r(9648);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},9568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLet;var n=r(9648);var s=r(9071);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},9598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNode;var n=r(6107);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},4251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNodesEquivalent;var n=r(6107);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){if(typeof e[n]!==typeof t[n]){return false}if(e[n]==null&&t[n]==null){continue}else if(e[n]==null||t[n]==null){return false}if(Array.isArray(e[n])){if(!Array.isArray(t[n])){return false}if(e[n].length!==t[n].length){return false}for(let r=0;r<e[n].length;r++){if(!isNodesEquivalent(e[n][r],t[n][r])){return false}}continue}if(typeof e[n]==="object"&&!(s!=null&&s.includes(n))){for(const r of Object.keys(e[n])){if(e[n][r]!==t[n][r]){return false}}continue}if(!isNodesEquivalent(e[n],t[n])){return false}}return true}},1438:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isPlaceholderType;var n=r(6107);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},1536:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.key===e){return!!t.computed}return false;case"ObjectProperty":if(t.key===e){return!!t.computed}return!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(t.key===e){return!!t.computed}return true;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"ImportAttribute":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},8559:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isScope;var n=r(9648);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},9762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isSpecifierDefault;var n=r(9648);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},9338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isType;var n=r(6107);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},9014:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidES3Identifier;var n=r(963);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidIdentifier;var n=r(7239);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},5886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isVar;var n=r(9648);var s=r(9071);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},3986:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=matchesPattern;var n=r(9648);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.length<s.length)return false;if(!r&&i.length>s.length)return false;for(let e=0,t=i.length-1;e<s.length;e++,t--){const r=i[t];let a;if((0,n.isIdentifier)(r)){a=r.name}else if((0,n.isStringLiteral)(r)){a=r.value}else if((0,n.isThisExpression)(r)){a="this"}else{return false}if(s[e]!==a)return false}return true}},7431:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},6558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(1093);const s=(0,n.default)("React.Component");var i=s;t["default"]=i},5525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validate;t.validateChild=validateChild;t.validateField=validateField;var n=r(6107);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},5328:function(e,t,r){(function(e,n){true?n(t,r(7168),r(1575),r(4614)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;e.addSegment=void 0;e.addMapping=void 0;e.maybeAddSegment=void 0;e.maybeAddMapping=void 0;e.setSourceContent=void 0;e.toDecodedMap=void 0;e.toEncodedMap=void 0;e.fromMap=void 0;e.allMappings=void 0;let u;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r}}(()=>{e.addSegment=(e,t,r,n,s,i,a,o)=>u(false,e,t,r,n,s,i,a,o);e.maybeAddSegment=(e,t,r,n,s,i,a,o)=>u(true,e,t,r,n,s,i,a,o);e.addMapping=(e,t)=>addMappingInternal(false,e,t);e.maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);e.setSourceContent=(e,r,n)=>{const{_sources:s,_sourcesContent:i}=e;i[t.put(s,r)]=n};e.toDecodedMap=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:i,_names:a}=e;removeEmptyFinalLines(n);return{version:3,file:t||undefined,names:a.array,sourceRoot:r||undefined,sources:s.array,sourcesContent:i,mappings:n}};e.toEncodedMap=t=>{const n=e.toDecodedMap(t);return Object.assign(Object.assign({},n),{mappings:r.encode(n.mappings)})};e.allMappings=e=>{const t=[];const{_mappings:r,_sources:n,_names:c}=e;for(let e=0;e<r.length;e++){const u=r[e];for(let r=0;r<u.length;r++){const p=u[r];const f={line:e+1,column:p[s]};let d=undefined;let h=undefined;let m=undefined;if(p.length!==1){d=n.array[p[i]];h={line:p[a]+1,column:p[o]};if(p.length===5)m=c.array[p[l]]}t.push({generated:f,source:d,original:h,name:m})}}return t};e.fromMap=e=>{const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(r._names,t.names);putAll(r._sources,t.sources);r._sourcesContent=t.sourcesContent||t.sources.map((()=>null));r._mappings=n.decodedMappings(t);return r};u=(e,r,n,s,i,a,o,l,u)=>{const{_mappings:p,_sources:f,_sourcesContent:d,_names:h}=r;const m=getLine(p,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(f,i);const b=l?t.put(h,l):c;if(g===d.length)d[g]=u!==null&&u!==void 0?u:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}})();function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,u){if(t===0)return false;const p=e[t-1];if(p.length===1)return false;return r===p[i]&&n===p[a]&&s===p[o]&&u===(p.length===5?p[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return u(e,t,n.line-1,n.column,null,null,null,null,null)}const l=s;return u(e,t,n.line-1,n.column,l,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;Object.defineProperty(e,"__esModule",{value:true})}))},6982:function(e){(function(t,r){true?e.exports=r():0})(this,(function(){"use strict";const e=/^[\w+.-]+:\/\//;const t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;const r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(e){e[e["Empty"]=1]="Empty";e[e["Hash"]=2]="Hash";e[e["Query"]=3]="Query";e[e["RelativePath"]=4]="RelativePath";e[e["AbsolutePath"]=5]="AbsolutePath";e[e["SchemeRelative"]=6]="SchemeRelative";e[e["Absolute"]=7]="Absolute"})(n||(n={}));function isAbsoluteUrl(t){return e.test(t)}function isSchemeRelativeUrl(e){return e.startsWith("//")}function isAbsolutePath(e){return e.startsWith("/")}function isFileUrl(e){return e.startsWith("file:")}function isRelative(e){return/^[.?#]/.test(e)}function parseAbsoluteUrl(e){const r=t.exec(e);return makeUrl(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function parseFileUrl(e){const t=r.exec(e);const n=t[2];return makeUrl("file:","",t[1]||"","",isAbsolutePath(n)?n:"/"+n,t[3]||"",t[4]||"")}function makeUrl(e,t,r,s,i,a,o){return{scheme:e,user:t,host:r,port:s,path:i,query:a,hash:o,type:n.Absolute}}function parseUrl(e){if(isSchemeRelativeUrl(e)){const t=parseAbsoluteUrl("http:"+e);t.scheme="";t.type=n.SchemeRelative;return t}if(isAbsolutePath(e)){const t=parseAbsoluteUrl("http://foo.com"+e);t.scheme="";t.host="";t.type=n.AbsolutePath;return t}if(isFileUrl(e))return parseFileUrl(e);if(isAbsoluteUrl(e))return parseAbsoluteUrl(e);const t=parseAbsoluteUrl("http://foo.com/"+e);t.scheme="";t.host="";t.type=e?e.startsWith("?")?n.Query:e.startsWith("#")?n.Hash:n.RelativePath:n.Empty;return t}function stripPathFilename(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}function mergePaths(e,t){normalizePath(t,t.type);if(e.path==="/"){e.path=t.path}else{e.path=stripPathFilename(t.path)+e.path}}function normalizePath(e,t){const r=t<=n.RelativePath;const s=e.path.split("/");let i=1;let a=0;let o=false;for(let e=1;e<s.length;e++){const t=s[e];if(!t){o=true;continue}o=false;if(t===".")continue;if(t===".."){if(a){o=true;a--;i--}else if(r){s[i++]=t}continue}s[i++]=t;a++}let l="";for(let e=1;e<i;e++){l+="/"+s[e]}if(!l||o&&!l.endsWith("/..")){l+="/"}e.path=l}function resolve(e,t){if(!e&&!t)return"";const r=parseUrl(e);let s=r.type;if(t&&s!==n.Absolute){const e=parseUrl(t);const i=e.type;switch(s){case n.Empty:r.hash=e.hash;case n.Hash:r.query=e.query;case n.Query:case n.RelativePath:mergePaths(r,e);case n.AbsolutePath:r.user=e.user;r.host=e.host;r.port=e.port;case n.SchemeRelative:r.scheme=e.scheme}if(i>s)s=i}normalizePath(r,s);const i=r.query+r.hash;switch(s){case n.Hash:case n.Query:return i;case n.RelativePath:{const n=r.path.slice(1);if(!n)return i||".";if(isRelative(t||e)&&!isRelative(n)){return"./"+n+i}return n+i}case n.AbsolutePath:return r.path+i;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+i}}return resolve}))},7168:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";e.get=void 0;e.put=void 0;e.pop=void 0;class SetArray{constructor(){this._indexes={__proto__:null};this.array=[]}}(()=>{e.get=(e,t)=>e._indexes[t];e.put=(t,r)=>{const n=e.get(t,r);if(n!==undefined)return n;const{array:s,_indexes:i}=t;return i[r]=s.push(r)-1};e.pop=e=>{const{array:t,_indexes:r}=e;if(t.length===0)return;const n=t.pop();r[n]=undefined}})();e.SetArray=SetArray;Object.defineProperty(e,"__esModule",{value:true})}))},1575:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";const t=",".charCodeAt(0);const r=";".charCodeAt(0);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const s=new Uint8Array(64);const i=new Uint8Array(128);for(let e=0;e<n.length;e++){const t=n.charCodeAt(e);s[e]=t;i[t]=e}const a=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const t=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return t.toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++){t+=String.fromCharCode(e[r])}return t}};function decode(e){const t=new Int32Array(5);const r=[];let n=0;do{const s=indexOf(e,n);const i=[];let a=true;let o=0;t[0]=0;for(let r=n;r<s;r++){let n;r=decodeInteger(e,r,t,0);const l=t[0];if(l<o)a=false;o=l;if(hasMoreVlq(e,r,s)){r=decodeInteger(e,r,t,1);r=decodeInteger(e,r,t,2);r=decodeInteger(e,r,t,3);if(hasMoreVlq(e,r,s)){r=decodeInteger(e,r,t,4);n=[l,t[1],t[2],t[3],t[4]]}else{n=[l,t[1],t[2],t[3]]}}else{n=[l]}i.push(n)}if(!a)sort(i);r.push(i);n=s+1}while(n<=e.length);return r}function indexOf(e,t){const r=e.indexOf(";",t);return r===-1?e.length:r}function decodeInteger(e,t,r,n){let s=0;let a=0;let o=0;do{const r=e.charCodeAt(t++);o=i[r];s|=(o&31)<<a;a+=5}while(o&32);const l=s&1;s>>>=1;if(l){s=-2147483648|-s}r[n]+=s;return t}function hasMoreVlq(e,r,n){if(r>=n)return false;return e.charCodeAt(r)!==t}function sort(e){e.sort(sortComparator)}function sortComparator(e,t){return e[0]-t[0]}function encode(e){const n=new Int32Array(5);const s=1024*16;const i=s-36;const o=new Uint8Array(s);const l=o.subarray(0,i);let c=0;let u="";for(let p=0;p<e.length;p++){const f=e[p];if(p>0){if(c===s){u+=a.decode(o);c=0}o[c++]=r}if(f.length===0)continue;n[0]=0;for(let e=0;e<f.length;e++){const r=f[e];if(c>i){u+=a.decode(l);o.copyWithin(0,i,c);c-=i}if(e>0)o[c++]=t;c=encodeInteger(o,c,n,r,0);if(r.length===1)continue;c=encodeInteger(o,c,n,r,1);c=encodeInteger(o,c,n,r,2);c=encodeInteger(o,c,n,r,3);if(r.length===4)continue;c=encodeInteger(o,c,n,r,4)}}return u+a.decode(o.subarray(0,c))}function encodeInteger(e,t,r,n,i){const a=n[i];let o=a-r[i];r[i]=a;o=o<0?-o<<1|1:o<<1;do{let r=o&31;o>>>=5;if(o>0)r|=32;e[t++]=s[r]}while(o>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},4614:function(e,t,r){(function(e,n){true?n(t,r(1575),r(6982)):0})(this,(function(e,t,r){"use strict";function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var n=_interopDefaultLegacy(r);function resolve(e,t){if(t&&!t.endsWith("/"))t+="/";return n["default"](e,t)}function stripFilename(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}const s=0;const i=1;const a=2;const o=3;const l=4;const c=1;const u=2;function maybeSort(e,t){const r=nextUnsortedSegmentLine(e,0);if(r===e.length)return e;if(!t)e=e.slice();for(let n=r;n<e.length;n=nextUnsortedSegmentLine(e,n+1)){e[n]=sortSegments(e[n],t)}return e}function nextUnsortedSegmentLine(e,t){for(let r=t;r<e.length;r++){if(!isSorted(e[r]))return r}return e.length}function isSorted(e){for(let t=1;t<e.length;t++){if(e[t][s]<e[t-1][s]){return false}}return true}function sortSegments(e,t){if(!t)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,t){return e[s]-t[s]}let p=false;function binarySearch(e,t,r,n){while(r<=n){const i=r+(n-r>>1);const a=e[i][s]-t;if(a===0){p=true;return i}if(a<0){r=i+1}else{n=i-1}}p=false;return r-1}function upperBound(e,t,r){for(let n=r+1;n<e.length;r=n++){if(e[n][s]!==t)break}return r}function lowerBound(e,t,r){for(let n=r-1;n>=0;r=n--){if(e[n][s]!==t)break}return r}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,t,r,n){const{lastKey:i,lastNeedle:a,lastIndex:o}=r;let l=0;let c=e.length-1;if(n===i){if(t===a){p=o!==-1&&e[o][s]===t;return o}if(t>=a){l=o===-1?0:o}else{c=o}}r.lastKey=n;r.lastNeedle=t;return r.lastIndex=binarySearch(e,t,l,c)}function buildBySources(e,t){const r=t.map(buildNullArray);for(let n=0;n<e.length;n++){const l=e[n];for(let e=0;e<l.length;e++){const c=l[e];if(c.length===1)continue;const u=c[i];const p=c[a];const f=c[o];const d=r[u];const h=d[p]||(d[p]=[]);const m=t[u];const y=upperBound(h,f,memoizedBinarySearch(h,f,m,p));insert(h,m.lastIndex=y+1,[f,n,c[s]])}}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function buildNullArray(){return{__proto__:null}}const AnyMap=function(t,r){const n=typeof t==="string"?JSON.parse(t):t;if(!("sections"in n))return new TraceMap(n,r);const s=[];const i=[];const a=[];const o=[];recurse(n,r,s,i,a,o,0,0,Infinity,Infinity);const l={version:3,file:n.file,names:o,sources:i,sourcesContent:a,mappings:s};return e.presortedDecodedMap(l)};function recurse(e,t,r,n,s,i,a,o,l,c){const{sections:u}=e;for(let e=0;e<u.length;e++){const{map:p,offset:f}=u[e];let d=l;let h=c;if(e+1<u.length){const t=u[e+1].offset;d=Math.min(l,a+t.line);if(d===l){h=Math.min(c,o+t.column)}else if(d<l){h=o+t.column}}addSection(p,t,r,n,s,i,a+f.line,o+f.column,d,h)}}function addSection(t,r,n,c,u,p,f,d,h,m){if("sections"in t)return recurse(...arguments);const y=new TraceMap(t,r);const g=c.length;const b=p.length;const T=e.decodedMappings(y);const{resolvedSources:S,sourcesContent:E}=y;append(c,S);append(p,y.names);if(E)append(u,E);else for(let e=0;e<S.length;e++)u.push(null);for(let e=0;e<T.length;e++){const t=f+e;if(t>h)return;const r=getLine(n,t);const c=e===0?d:0;const u=T[e];for(let e=0;e<u.length;e++){const n=u[e];const p=c+n[s];if(t===h&&p>=m)return;if(n.length===1){r.push([p]);continue}const f=g+n[i];const d=n[a];const y=n[o];r.push(n.length===4?[p,f,d,y]:[p,f,d,y,b+n[l]])}}}function append(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function getLine(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}const f="`line` must be greater than 0 (lines start at line 1)";const d="`column` must be greater than or equal to 0 (columns start at column 0)";const h=-1;const m=1;e.encodedMappings=void 0;e.decodedMappings=void 0;e.traceSegment=void 0;e.originalPositionFor=void 0;e.generatedPositionFor=void 0;e.allGeneratedPositionsFor=void 0;e.eachMapping=void 0;e.sourceContentFor=void 0;e.presortedDecodedMap=void 0;e.decodedMap=void 0;e.encodedMap=void 0;class TraceMap{constructor(e,t){const r=typeof e==="string";if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e;const{version:s,file:i,names:a,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s;this.file=i;this.names=a;this.sourceRoot=o;this.sources=l;this.sourcesContent=c;const u=resolve(o||"",stripFilename(t));this.resolvedSources=l.map((e=>resolve(e||"",u)));const{mappings:p}=n;if(typeof p==="string"){this._encoded=p;this._decoded=undefined}else{this._encoded=undefined;this._decoded=maybeSort(p,r)}this._decodedMemo=memoizedState();this._bySources=undefined;this._bySourceMemos=undefined}}(()=>{e.encodedMappings=e=>{var r;return(r=e._encoded)!==null&&r!==void 0?r:e._encoded=t.encode(e._decoded)};e.decodedMappings=e=>e._decoded||(e._decoded=t.decode(e._encoded));e.traceSegment=(t,r,n)=>{const s=e.decodedMappings(t);if(r>=s.length)return null;const i=s[r];const a=traceSegmentInternal(i,t._decodedMemo,r,n,m);return a===-1?null:i[a]};e.originalPositionFor=(t,{line:r,column:n,bias:s})=>{r--;if(r<0)throw new Error(f);if(n<0)throw new Error(d);const c=e.decodedMappings(t);if(r>=c.length)return OMapping(null,null,null,null);const u=c[r];const p=traceSegmentInternal(u,t._decodedMemo,r,n,s||m);if(p===-1)return OMapping(null,null,null,null);const h=u[p];if(h.length===1)return OMapping(null,null,null,null);const{names:y,resolvedSources:g}=t;return OMapping(g[h[i]],h[a]+1,h[o],h.length===5?y[h[l]]:null)};e.allGeneratedPositionsFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||h,true);e.generatedPositionFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||m,false);e.eachMapping=(t,r)=>{const n=e.decodedMappings(t);const{names:s,resolvedSources:i}=t;for(let e=0;e<n.length;e++){const t=n[e];for(let n=0;n<t.length;n++){const a=t[n];const o=e+1;const l=a[0];let c=null;let u=null;let p=null;let f=null;if(a.length!==1){c=i[a[1]];u=a[2]+1;p=a[3]}if(a.length===5)f=s[a[4]];r({generatedLine:o,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}};e.sourceContentFor=(e,t)=>{const{sources:r,resolvedSources:n,sourcesContent:s}=e;if(s==null)return null;let i=r.indexOf(t);if(i===-1)i=n.indexOf(t);return i===-1?null:s[i]};e.presortedDecodedMap=(e,t)=>{const r=new TraceMap(clone(e,[]),t);r._decoded=e.mappings;return r};e.decodedMap=t=>clone(t,e.decodedMappings(t));e.encodedMap=t=>clone(t,e.encodedMappings(t));function generatedPosition(t,r,n,s,i,a){n--;if(n<0)throw new Error(f);if(s<0)throw new Error(d);const{sources:o,resolvedSources:l}=t;let p=o.indexOf(r);if(p===-1)p=l.indexOf(r);if(p===-1)return a?[]:GMapping(null,null);const h=t._bySources||(t._bySources=buildBySources(e.decodedMappings(t),t._bySourceMemos=o.map(memoizedState)));const m=h[p][n];if(m==null)return a?[]:GMapping(null,null);const y=t._bySourceMemos[p];if(a)return sliceGeneratedPositions(m,y,n,s,i);const g=traceSegmentInternal(m,y,n,s,i);if(g===-1)return GMapping(null,null);const b=m[g];return GMapping(b[c]+1,b[u])}})();function clone(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t}}function OMapping(e,t,r,n){return{source:e,line:t,column:r,name:n}}function GMapping(e,t){return{line:e,column:t}}function traceSegmentInternal(e,t,r,n,s){let i=memoizedBinarySearch(e,n,t,r);if(p){i=(s===h?upperBound:lowerBound)(e,n,i)}else if(s===h)i++;if(i===-1||i===e.length)return-1;return i}function sliceGeneratedPositions(e,t,r,n,i){let a=traceSegmentInternal(e,t,r,n,m);if(!p&&i===h)a++;if(a===-1||a===e.length)return[];const o=p?n:e[a][s];if(!p)a=lowerBound(e,o,a);const l=upperBound(e,o,a);const f=[];for(;a<=l;a++){const t=e[a];f.push(GMapping(t[c]+1,t[u]))}return f}e.AnyMap=AnyMap;e.GREATEST_LOWER_BOUND=m;e.LEAST_UPPER_BOUND=h;e.TraceMap=TraceMap;Object.defineProperty(e,"__esModule",{value:true})}))},8535:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(9054);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={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],gray:[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]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const s=n[r];t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="";t.bgColor.close="";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},6148:(e,t,r)=>{"use strict";const n=r(7379);const s=r(8535);const i=r(7220).stdout;const a=r(5299);const o=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const c=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=i?i.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(o){s.blue.open=""}for(const e of Object.keys(s)){s[e].closeRe=new RegExp(n(s[e].close),"g");u[e]={get(){const t=s[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}u.visible={get(){return build.call(this,this._styles||[],true,"visible")}};s.color.closeRe=new RegExp(n(s.color.close),"g");for(const e of Object.keys(s.color.ansi)){if(c.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=s.color[l[t]][e].apply(null,arguments);const n={open:r,close:s.color.close,closeRe:s.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(const e of Object.keys(s.bgColor.ansi)){if(c.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=s.bgColor[l[t]][e].apply(null,arguments);const n={open:r,close:s.bgColor.close,closeRe:s.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),u);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=p;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n<t;n++){r+=" "+e[n]}}if(!this.enabled||this.level<=0||!r){return this._empty?"":r}const n=s.dim.open;if(o&&this.hasGrey){s.dim.open=""}for(const e of this._styles.slice().reverse()){r=e.open+r.replace(e.closeRe,e.open)+e.close;r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`)}s.dim.open=n;return r}function chalkTag(e,t){if(!Array.isArray(t)){return[].slice.call(arguments,1).join(" ")}const r=[].slice.call(arguments,2);const n=[t.raw[0]];for(let e=1;e<t.length;e++){n.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"));n.push(String(t.raw[e]))}return a(e,n.join(""))}Object.defineProperties(Chalk.prototype,u);e.exports=Chalk();e.exports.supportsColor=i;e.exports["default"]=e.exports},5299:e=>{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return i.get(e)||e}function parseArguments(e,t){const r=[];const i=t.trim().split(/\s*,\s*/g);let a;for(const t of i){if(!isNaN(t)){r.push(Number(t))}else if(a=t.match(n)){r.push(a[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const s=[];let i=[];r.replace(t,((t,r,a,o,l,c)=>{if(r){i.push(unescape(r))}else if(o){const t=i.join("");i=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:a,styles:parseStyle(o)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(c)}}));s.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},4117:(e,t,r)=>{var n=r(2251);var s={};for(var i in n){if(n.hasOwnProperty(i)){s[n[i]]=i}}var a=e.exports={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"]}};for(var o in a){if(a.hasOwnProperty(o)){if(!("channels"in a[o])){throw new Error("missing channels property: "+o)}if(!("labels"in a[o])){throw new Error("missing channel labels property: "+o)}if(a[o].labels.length!==a[o].channels){throw new Error("channel and label counts mismatch: "+o)}var l=a[o].channels;var c=a[o].labels;delete a[o].channels;delete a[o].labels;Object.defineProperty(a[o],"channels",{value:l});Object.defineProperty(a[o],"labels",{value:c})}}a.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.min(t,r,n);var i=Math.max(t,r,n);var a=i-s;var o;var l;var c;if(i===s){o=0}else if(t===i){o=(r-n)/a}else if(r===i){o=2+(n-t)/a}else if(n===i){o=4+(t-r)/a}o=Math.min(o*60,360);if(o<0){o+=360}c=(s+i)/2;if(i===s){l=0}else if(c<=.5){l=a/(i+s)}else{l=a/(2-i-s)}return[o,l*100,c*100]};a.rgb.hsv=function(e){var t;var r;var n;var s;var i;var a=e[0]/255;var o=e[1]/255;var l=e[2]/255;var c=Math.max(a,o,l);var u=c-Math.min(a,o,l);var diffc=function(e){return(c-e)/6/u+1/2};if(u===0){s=i=0}else{i=u/c;t=diffc(a);r=diffc(o);n=diffc(l);if(a===c){s=n-r}else if(o===c){s=1/3+t-n}else if(l===c){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,i*100,c*100]};a.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var s=a.rgb.hsl(e)[0];var i=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,i*100,n*100]};a.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s;var i;var a;var o;o=Math.min(1-t,1-r,1-n);s=(1-t-o)/(1-o)||0;i=(1-r-o)/(1-o)||0;a=(1-n-o)/(1-o)||0;return[s*100,i*100,a*100,o*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}a.rgb.keyword=function(e){var t=s[e];if(t){return t}var r=Infinity;var i;for(var a in n){if(n.hasOwnProperty(a)){var o=n[a];var l=comparativeDistance(e,o);if(l<r){r=l;i=a}}}return i};a.keyword.rgb=function(e){return n[e]};a.rgb.xyz=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805;var i=t*.2126+r*.7152+n*.0722;var a=t*.0193+r*.1192+n*.9505;return[s*100,i*100,a*100]};a.rgb.lab=function(e){var t=a.rgb.xyz(e);var r=t[0];var n=t[1];var s=t[2];var i;var o;var l;r/=95.047;n/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;i=116*n-16;o=500*(r-n);l=200*(n-s);return[i,o,l]};a.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s;var i;var a;var o;var l;if(r===0){l=n*255;return[l,l,l]}if(n<.5){i=n*(1+r)}else{i=n+r-n*r}s=2*n-i;o=[0,0,0];for(var c=0;c<3;c++){a=t+1/3*-(c-1);if(a<0){a++}if(a>1){a--}if(6*a<1){l=s+(i-s)*6*a}else if(2*a<1){l=i}else if(3*a<2){l=s+(i-s)*(2/3-a)*6}else{l=s}o[c]=l*255}return o};a.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=r;var i=Math.max(n,.01);var a;var o;n*=2;r*=n<=1?n:2-n;s*=i<=1?i:2-i;o=(n+r)/2;a=n===0?2*s/(i+s):2*r/(n+r);return[t,a*100,o*100]};a.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var s=Math.floor(t)%6;var i=t-Math.floor(t);var a=255*n*(1-r);var o=255*n*(1-r*i);var l=255*n*(1-r*(1-i));n*=255;switch(s){case 0:return[n,l,a];case 1:return[o,n,a];case 2:return[a,n,l];case 3:return[a,o,n];case 4:return[l,a,n];case 5:return[n,a,o]}};a.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=Math.max(n,.01);var i;var a;var o;o=(2-r)*n;i=(2-r)*s;a=r*s;a/=i<=1?i:2-i;a=a||0;o/=2;return[t,a*100,o*100]};a.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s=r+n;var i;var a;var o;var l;if(s>1){r/=s;n/=s}i=Math.floor(6*t);a=1-n;o=6*t-i;if((i&1)!==0){o=1-o}l=r+o*(a-r);var c;var u;var p;switch(i){default:case 6:case 0:c=a;u=l;p=r;break;case 1:c=l;u=a;p=r;break;case 2:c=r;u=a;p=l;break;case 3:c=r;u=l;p=a;break;case 4:c=l;u=r;p=a;break;case 5:c=a;u=r;p=l;break}return[c*255,u*255,p*255]};a.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s=e[3]/100;var i;var a;var o;i=1-Math.min(1,t*(1-s)+s);a=1-Math.min(1,r*(1-s)+s);o=1-Math.min(1,n*(1-s)+s);return[i*255,a*255,o*255]};a.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s;var i;var a;s=t*3.2406+r*-1.5372+n*-.4986;i=t*-.9689+r*1.8758+n*.0415;a=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;s=Math.min(Math.max(0,s),1);i=Math.min(Math.max(0,i),1);a=Math.min(Math.max(0,a),1);return[s*255,i*255,a*255]};a.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=116*r-16;i=500*(t-r);a=200*(r-n);return[s,i,a]};a.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;i=(t+16)/116;s=r/500+i;a=i-n/200;var o=Math.pow(i,3);var l=Math.pow(s,3);var c=Math.pow(a,3);i=o>.008856?o:(i-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;a=c>.008856?c:(a-16/116)/7.787;s*=95.047;i*=100;a*=108.883;return[s,i,a]};a.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;s=Math.atan2(n,r);i=s*360/2/Math.PI;if(i<0){i+=360}a=Math.sqrt(r*r+n*n);return[t,a,i]};a.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;a=n/360*2*Math.PI;s=r*Math.cos(a);i=r*Math.sin(a);return[t,s,i]};a.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var s=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];s=Math.round(s/50);if(s===0){return 30}var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(s===2){i+=60}return i};a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])};a.rgb.ansi256=function(e){var t=e[0];var r=e[1];var n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};a.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var n=(t&1)*r*255;var s=(t>>1&1)*r*255;var i=(t>>2&1)*r*255;return[n,s,i]};a.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var n=Math.floor(e/36)/5*255;var s=Math.floor((r=e%36)/6)/5*255;var i=r%6/5*255;return[n,s,i]};a.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var n=parseInt(r,16);var s=n>>16&255;var i=n>>8&255;var a=n&255;return[s,i,a]};a.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.max(Math.max(t,r),n);var i=Math.min(Math.min(t,r),n);var a=s-i;var o;var l;if(a<1){o=i/(1-a)}else{o=0}if(a<=0){l=0}else if(s===t){l=(r-n)/a%6}else if(s===r){l=2+(n-t)/a}else{l=4+(t-r)/a+4}l/=6;l%=1;return[l*360,a*100,o*100]};a.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var s=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};a.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};a.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}var s=[0,0,0];var i=t%1*6;var a=i%1;var o=1-a;var l=0;switch(Math.floor(i)){case 0:s[0]=1;s[1]=a;s[2]=0;break;case 1:s[0]=o;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=a;break;case 3:s[0]=0;s[1]=o;s[2]=1;break;case 4:s[0]=a;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=o}l=(1-r)*n;return[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};a.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};a.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};a.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};a.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var s=n-t;var i=0;if(s<1){i=(n-s)/(1-s)}return[e[0],s*100,i*100]};a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]};a.gray.hwb=function(e){return[0,100,e[0]]};a.gray.cmyk=function(e){return[0,0,0,e[0]]};a.gray.lab=function(e){return[e[0],0,0]};a.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};a.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},9054:(e,t,r)=>{var n=r(4117);var s=r(6528);var i={};var a=Object.keys(n);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var n=r.length,s=0;s<n;s++){r[s]=Math.round(r[s])}}return r};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}a.forEach((function(e){i[e]={};Object.defineProperty(i[e],"channels",{value:n[e].channels});Object.defineProperty(i[e],"labels",{value:n[e].labels});var t=s(e);var r=Object.keys(t);r.forEach((function(r){var n=t[r];i[e][r]=wrapRounded(n);i[e][r].raw=wrapRaw(n)}))}));e.exports=i},6528:(e,t,r)=>{var n=r(4117);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,s=0;s<r;s++){e[t[s]]={distance:-1,parent:null}}return e}function deriveBFS(e){var t=buildGraph();var r=[e];t[e].distance=0;while(r.length){var s=r.pop();var i=Object.keys(n[s]);for(var a=i.length,o=0;o<a;o++){var l=i[o];var c=t[l];if(c.distance===-1){c.distance=t[s].distance+1;c.parent=s;r.unshift(l)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){var r=[t[e].parent,e];var s=n[t[e].parent][e];var i=t[e].parent;while(t[i].parent){r.unshift(t[i].parent);s=link(n[t[i].parent][i],s);i=t[i].parent}s.conversion=r;return s}e.exports=function(e){var t=deriveBFS(e);var r={};var n=Object.keys(t);for(var s=n.length,i=0;i<s;i++){var a=n[i];var o=t[a];if(o.parent===null){continue}r[a]=wrapConversion(a,t)}return r}},2251: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]}},645:(e,t,r)=>{"use strict";var n=r(7147);var s=r(1017);var i=r(291);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});function decodeBase64(e){return i.Buffer.from(e,"base64").toString()}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,r){var i=t.mapFileCommentRegex.exec(e);var a=i[1]||i[2];var o=s.resolve(r,a);try{return n.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=decodeBase64(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};Converter.prototype.toBase64=function(){var e=this.toJSON();return i.Buffer.from(e,"utf8").toString("base64")};Converter.prototype.toComment=function(e){var t=this.toBase64();var r="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var r=e.match(t.commentRegex);return r?t.fromComment(r.pop()):null};t.fromMapFileSource=function(e,r){var n=e.match(t.mapFileCommentRegex);return n?t.fromMapFileComment(n.pop(),r):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}},7379:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},6433:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const r=Symbol.for("gensync:v1:suspend");const n="GENSYNC_EXPECTED_START";const s="GENSYNC_EXPECTED_SUSPEND";const i="GENSYNC_OPTIONS_ERROR";const a="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign((function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))}),{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map((e=>evaluateSync(e)))},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){Promise.resolve().then((()=>t([])));return}let s=0;const i=n.map((()=>undefined));n.forEach(((e,n)=>{evaluateAsync(e,(e=>{i[n]=e;s+=1;if(s===i.length)t(i)}),r)}))}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",a)}return evaluateSync(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){throw makeError("Must race at least 1 item",a)}for(const e of n){evaluateAsync(e,t,r)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise(((r,n)=>{evaluateAsync(e.apply(this,t),r,n)}))},errback:function(...t){const r=t.pop();if(typeof r!=="function"){throw makeError("Asynchronous function called without callback",o)}let n;try{n=e.apply(this,t)}catch(e){r(e);return}evaluateAsync(n,(e=>r(undefined,e)),(e=>r(e)))}};return t}function assertTypeof(e,t,r,n){if(typeof r===e||n&&typeof r==="undefined"){return}let s;if(n){s=`Expected opts.${t} to be either a ${e}, or undefined.`}else{s=`Expected opts.${t} to be a ${e}.`}throw makeError(s,i)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:r,async:n,errback:s}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",r);assertTypeof("function","async",n,true);assertTypeof("function","errback",s,true);if(n&&s){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",i)}if(typeof e!=="string"){let t;if(s&&s.name&&s.name!=="errback"){t=s.name}if(n&&n.name&&n.name!=="async"){t=n.name.replace(/Async$/,"")}if(r&&r.name&&r.name!=="sync"){t=r.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=r.length}return buildOperation({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,i){if(n){n.apply(this,e).then(t,i)}else if(s){s.call(this,...e,((e,r)=>{if(e==null)t(r);else i(e)}))}else{t(r.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,(function(...t){return e.apply(this,t)}))}function buildOperation({name:e,arity:n,sync:s,async:i}){return setFunctionMetadata(e,n,(function*(...e){const n=yield t;if(!n){const t=s.call(this,e);return t}let a;try{i.call(this,e,(e=>{if(a)return;a={value:e};n()}),(e=>{if(a)return;a={err:e};n()}))}catch(e){a={err:e};n()}yield r;if(a.hasOwnProperty("err")){throw a.err}return a.value}))}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,r){(function step(){try{let r;while(!({value:r}=e.next()).done){assertStart(r,e);let t=true;let n=false;const s=e.next((()=>{if(t){n=true}else{step()}}));t=false;assertSuspend(s,e);if(!n){return}}return t(r)}catch(e){return r(e)}})()}function assertStart(e,r){if(e===t)return;throwError(r,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,n))}function assertSuspend({value:e,done:t},n){if(!t&&e===r)return;throwError(n,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,s))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,r){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(r,"name");if(!t||t.configurable){Object.defineProperty(r,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(r,"length");if(!e||e.configurable){Object.defineProperty(r,"length",Object.assign(e||{},{configurable:true,value:t}))}}return r}},6929:(e,t,r)=>{"use strict";e.exports=r(3676)},5343:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1?true:n<s)}},8874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},4011:e=>{"use strict";const t={};const r=t.hasOwnProperty;const forOwn=(e,t)=>{for(const n in e){if(r.call(e,n)){t(n,e[n])}}};const extend=(e,t)=>{if(!t){return e}forOwn(t,((t,r)=>{e[t]=r}));return e};const forEach=(e,t)=>{const r=e.length;let n=-1;while(++n<r){t(e[n])}};const n=t.toString;const s=Array.isArray;const i=Buffer.isBuffer;const isObject=e=>n.call(e)=="[object Object]";const isString=e=>typeof e=="string"||n.call(e)=="[object String]";const isNumber=e=>typeof e=="number"||n.call(e)=="[object Number]";const isFunction=e=>typeof e=="function";const isMap=e=>n.call(e)=="[object Map]";const isSet=e=>n.call(e)=="[object Set]";const a={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const o=/["'\\\b\f\n\r\t]/;const l=/[0-9]/;const c=/[ !#-&\(-\[\]-_a-~]/;const jsesc=(e,t)=>{const increaseIndentation=()=>{h=d;++t.indentLevel;d=t.indent.repeat(t.indentLevel)};const r={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const n=t&&t.json;if(n){r.quotes="double";r.wrap=true}t=extend(r,t);if(t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"){t.quotes="single"}const u=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'";const p=t.compact;const f=t.lowercaseHex;let d=t.indent.repeat(t.indentLevel);let h="";const m=t.__inline1__;const y=t.__inline2__;const g=p?"":"\n";let b;let T=true;const S=t.numbers=="binary";const E=t.numbers=="octal";const x=t.numbers=="decimal";const v=t.numbers=="hexadecimal";if(n&&e&&isFunction(e.toJSON)){e=e.toJSON()}if(!isString(e)){if(isMap(e)){if(e.size==0){return"new Map()"}if(!p){t.__inline1__=true;t.__inline2__=false}return"new Map("+jsesc(Array.from(e),t)+")"}if(isSet(e)){if(e.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(e),t)+")"}if(i(e)){if(e.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(e),t)+")"}if(s(e)){b=[];t.wrap=true;if(m){t.__inline1__=false;t.__inline2__=true}if(!y){increaseIndentation()}forEach(e,(e=>{T=false;if(y){t.__inline2__=false}b.push((p||y?"":d)+jsesc(e,t))}));if(T){return"[]"}if(y){return"["+b.join(", ")+"]"}return"["+g+b.join(","+g)+g+(p?"":h)+"]"}else if(isNumber(e)){if(n){return JSON.stringify(e)}if(x){return String(e)}if(v){let t=e.toString(16);if(!f){t=t.toUpperCase()}return"0x"+t}if(S){return"0b"+e.toString(2)}if(E){return"0o"+e.toString(8)}}else if(!isObject(e)){if(n){return JSON.stringify(e)||"null"}return String(e)}else{b=[];t.wrap=true;increaseIndentation();forOwn(e,((e,r)=>{T=false;b.push((p?"":d)+jsesc(e,t)+":"+(p?"":" ")+jsesc(r,t))}));if(T){return"{}"}return"{"+g+b.join(","+g)+g+(p?"":h)+"}"}}const P=e;let A=-1;const w=P.length;b="";while(++A<w){const e=P.charAt(A);if(t.es6){const e=P.charCodeAt(A);if(e>=55296&&e<=56319&&w>A+1){const t=P.charCodeAt(A+1);if(t>=56320&&t<=57343){const r=(e-55296)*1024+t-56320+65536;let n=r.toString(16);if(!f){n=n.toUpperCase()}b+="\\u{"+n+"}";++A;continue}}}if(!t.escapeEverything){if(c.test(e)){b+=e;continue}if(e=='"'){b+=u==e?'\\"':e;continue}if(e=="`"){b+=u==e?"\\`":e;continue}if(e=="'"){b+=u==e?"\\'":e;continue}}if(e=="\0"&&!n&&!l.test(P.charAt(A+1))){b+="\\0";continue}if(o.test(e)){b+=a[e];continue}const r=e.charCodeAt(0);if(t.minimal&&r!=8232&&r!=8233){b+=e;continue}let s=r.toString(16);if(!f){s=s.toUpperCase()}const i=s.length>2||n;const p="\\"+(i?"u":"x")+("0000"+s).slice(i?-4:-2);b+=p;continue}if(t.wrap){b=u+b+u}if(u=="`"){b=b.replace(/\$\{/g,"\\${")}if(t.isScriptContext){return b.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,n?"\\u003C!--":"\\x3C!--")}return b};jsesc.version="2.5.2";e.exports=jsesc},291:(e,t,r)=>{var n=r(4300);var s=n.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return s(e,t,r)}copyProps(s,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return s(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=s(e);if(t!==undefined){if(typeof r==="string"){n.fill(t,r)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},7220:(e,t,r)=>{"use strict";const n=r(2037);const s=r(5343);const i=process.env;let a;if(s("no-color")||s("no-colors")||s("color=false")){a=false}else if(s("color")||s("colors")||s("color=true")||s("color=always")){a=true}if("FORCE_COLOR"in i){a=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(a===false){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!e.isTTY&&a!==true){return 0}const t=a?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}if(i.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},3797:e=>{"use strict";let t=null;function FastObject(e){if(t!==null&&typeof t.property){const e=t;t=FastObject.prototype=null;return e}t=FastObject.prototype=e==null?Object.create(null):e;return new FastObject}FastObject();e.exports=function toFastproperties(e){return FastObject(e)}},3050:(e,t,r)=>{function types(){return r(6953)}function codeFrame(){return r(5395)}function core(){return r(7782)}function coreLibConfig(){return r(4198)}function coreLibNormalizeFile(){return r(4437)}function coreLibNormalizeOpts(){return r(9838)}function coreLibBlockHoistPlugin(){return r(1674)}function coreLibPluginPass(){return r(4319)}function traverse(){return r(7734)}function generator(){return r(3136)}function parser(){return r(9113)}function eslintParser(){return r(3305).eslintParser()}function pluginProposalClassProperties(){return r(3305).pluginProposalClassProperties()}function pluginProposalExportNamespaceFrom(){return r(3305).pluginProposalExportNamespaceFrom()}function pluginProposalNumericSeparator(){return r(3305).pluginProposalNumericSeparator()}function pluginProposalObjectRestSpread(){return r(3305).pluginProposalObjectRestSpread()}function pluginSyntaxBigint(){return r(3305).pluginSyntaxBigint()}function pluginSyntaxDynamicImport(){return r(3305).pluginSyntaxDynamicImport()}function pluginSyntaxImportAssertions(){return r(3305).pluginSyntaxImportAssertions()}function pluginSyntaxJsx(){return r(3305).pluginSyntaxJsx()}function pluginTransformDefine(){return r(3305).pluginTransformDefine()}function pluginTransformModulesCommonjs(){return r(3305).pluginTransformModulesCommonjs()}function pluginTransformReactRemovePropTypes(){return r(3305).pluginTransformReactRemovePropTypes()}function pluginTransformRuntime(){return r(3305).pluginTransformRuntime()}function presetEnv(){return r(3305).presetEnv()}function presetReact(){return r(3305).presetReact()}function presetTypescript(){return r(3305).presetTypescript()}e.exports={types:types,codeFrame:codeFrame,core:core,coreLibConfig:coreLibConfig,coreLibNormalizeFile:coreLibNormalizeFile,coreLibNormalizeOpts:coreLibNormalizeOpts,coreLibBlockHoistPlugin:coreLibBlockHoistPlugin,coreLibPluginPass:coreLibPluginPass,generator:generator,traverse:traverse,eslintParser:eslintParser,parser:parser,pluginProposalClassProperties:pluginProposalClassProperties,pluginProposalExportNamespaceFrom:pluginProposalExportNamespaceFrom,pluginProposalNumericSeparator:pluginProposalNumericSeparator,pluginProposalObjectRestSpread:pluginProposalObjectRestSpread,pluginSyntaxBigint:pluginSyntaxBigint,pluginSyntaxDynamicImport:pluginSyntaxDynamicImport,pluginSyntaxImportAssertions:pluginSyntaxImportAssertions,pluginSyntaxJsx:pluginSyntaxJsx,pluginTransformDefine:pluginTransformDefine,pluginTransformModulesCommonjs:pluginTransformModulesCommonjs,pluginTransformReactRemovePropTypes:pluginTransformReactRemovePropTypes,pluginTransformRuntime:pluginTransformRuntime,presetEnv:presetEnv,presetReact:presetReact,presetTypescript:presetTypescript}},9491:e=>{"use strict";e.exports=require("assert")},4300:e=>{"use strict";e.exports=require("buffer")},7147:e=>{"use strict";e.exports=require("fs")},8188:e=>{"use strict";e.exports=require("module")},3305:e=>{"use strict";e.exports=require("next/dist/compiled/babel-packages")},4907:e=>{"use strict";e.exports=require("next/dist/compiled/browserslist")},6937:e=>{"use strict";e.exports=require("next/dist/compiled/debug")},8310:e=>{"use strict";e.exports=require("next/dist/compiled/json5")},7849:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},4655:e=>{"use strict";e.exports=require("v8")},1811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(6537);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const c=s.line;const u=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,c+a);if(o===-1){p=0}if(c===-1){f=t.length}const d=c-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,u]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===u){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,u-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const maybeHighlight=(e,t)=>s?e(t):t;const l=e.split(i);const{start:c,end:u,markerLines:p}=getMarkerLines(t,l,r);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const h=s?(0,n.default)(e,r):e;let m=h.split(i,u).slice(c,u).map(((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-d);const i=` ${s} |`;const a=p[n];const l=!p[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",maybeHighlight(o.gutter,i.replace(/\d/g," "))," ",n,maybeHighlight(o.marker,"^").repeat(s)].join("");if(l&&r.message){t+=" "+maybeHighlight(o.message,r.message)}}return[maybeHighlight(o.marker,">"),maybeHighlight(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(o.gutter,i)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!f){m=`${" ".repeat(d+1)}${r.message}\n${m}`}if(s){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(6537);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const c=s.line;const u=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,c+a);if(o===-1){p=0}if(c===-1){f=t.length}const d=c-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,u]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===u){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,u-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const maybeHighlight=(e,t)=>s?e(t):t;const l=e.split(i);const{start:c,end:u,markerLines:p}=getMarkerLines(t,l,r);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const h=s?(0,n.default)(e,r):e;let m=h.split(i,u).slice(c,u).map(((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-d);const i=` ${s} |`;const a=p[n];const l=!p[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",maybeHighlight(o.gutter,i.replace(/\d/g," "))," ",n,maybeHighlight(o.marker,"^").repeat(s)].join("");if(l&&r.message){t+=" "+maybeHighlight(o.message,r.message)}}return[maybeHighlight(o.marker,">"),maybeHighlight(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(o.gutter,i)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!f){m=`${" ".repeat(d+1)}${r.message}\n${m}`}if(s){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},474:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;t.skipAllButComputedKey=skipAllButComputedKey;function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}function requeueComputedKeyAndDecorators(e){const{context:t,node:r}=e;if(r.computed){t.maybeQueue(e.get("key"))}if(r.decorators){for(const r of e.get("decorators")){t.maybeQueue(r)}}}const r={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var n=r;t["default"]=n},3613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var n=r(9767);var s=r(6953);const{NOT_LOCAL_BINDING:i,cloneNode:a,identifier:o,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:u,isIdentifier:p,isLiteral:f,isNullLiteral:d,isObjectMethod:h,isObjectProperty:m,isRegExpLiteral:y,isRestElement:g,isTemplateLiteral:b,isVariableDeclarator:T,toBindingIdentifierName:S}=s;function getFunctionArity(e){const t=e.params.findIndex((e=>c(e)||g(e)));return t===-1?e.params.length:t}const E=n.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const x=n.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const v={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(d(e)){return"null"}if(y(e)){return`_${e.pattern}_${e.flags}`}if(b(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,n){if(e.selfReference){if(n.hasBinding(r.name)&&!n.hasGlobal(r.name)){n.rename(r.name)}else{if(!u(t))return;let e=E;if(t.generator){e=x}const s=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:n.generateUidIdentifier(r.name)}).expression;const i=s.callee.body.body[0].params;for(let e=0,r=getFunctionArity(t);e<r;e++){i.push(n.generateUidIdentifier("x"))}return s}}t.id=r;n.getProgramParent().references[r.name]=true}function visit(e,t,r){const n={selfAssignment:false,selfReference:false,outerDeclar:r.getBindingIdentifier(t),name:t};const s=r.getOwnBinding(t);if(s){if(s.kind==="param"){n.selfReference=true}else{}}else if(n.outerDeclar||r.hasGlobal(t)){r.traverse(e,v,n)}return n}function _default({node:e,parent:t,scope:r,id:n},s=false,c=false){if(e.id)return;if((m(t)||h(t,{kind:"method"}))&&(!t.computed||f(t.key))){n=t.key}else if(T(t)){n=t.id;if(p(n)&&!s){const t=r.parent.getBinding(n.name);if(t&&t.constant&&r.getBinding(n.name)===t){e.id=a(n);e.id[i]=true;return}}}else if(l(t,{operator:"="})){n=t.left}else if(!n){return}let d;if(n&&f(n)){d=getNameFromLiteralId(n)}else if(n&&p(n)){d=n.name}if(d===undefined){return}if(!c&&u(e)&&/[\uD800-\uDFFF]/.test(d)){return}d=S(d);const y=o(d);y[i]=true;const g=visit(e,d,r);return wrap(g,e,y,r)||e}},6499:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=hoistVariables;var n=r(6953);const{assignmentExpression:s,expressionStatement:i,identifier:a}=n;const o={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[];const n=e.get("declarations");let o;for(const e of n){o=e.node.id;if(e.node.init){r.push(i(s("=",e.node.id,e.node.init)))}for(const r of Object.keys(e.getBindingIdentifiers())){t.emit(a(r),r,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(o)}else{e.replaceWithMultiple(r)}}};function hoistVariables(e,t,r="var"){e.traverse(o,{kind:r,emit:t})}},7696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=splitExportDeclaration;var n=r(6953);const{cloneNode:s,exportNamedDeclaration:i,exportSpecifier:a,identifier:o,variableDeclaration:l,variableDeclarator:c}=n;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const t=e.get("declaration");const r=t.isFunctionDeclaration()||t.isClassDeclaration();const n=t.isScope()?t.scope.parent:t.scope;let u=t.node.id;let p=false;if(!u){p=true;u=n.generateUidIdentifier("default");if(r||t.isFunctionExpression()||t.isClassExpression()){t.node.id=s(u)}}const f=r?t.node:l("var",[c(s(u),t.node)]);const d=i(null,[a(s(u),o("default"))]);e.insertAfter(d);e.replaceWith(f);if(p){n.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const t=e.get("declaration");const r=t.getOuterBindingIdentifiers();const n=Object.keys(r).map((e=>a(o(e),o(e))));const u=i(null,n);e.insertAfter(u);e.replaceWith(t.node);return e}},3970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[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,20,1,64,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,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,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191];const o=[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,81,2,71,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,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){n=65536+((n&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(n)){return false}}else if(!isIdentifierChar(n)){return false}}return!t}},7239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(3970);var s=r(642)},642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},6537:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=highlight;t.getChalk=getChalk;t.shouldHighlight=shouldHighlight;var n=r(8874);var s=r(7239);var i=r(6148);const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.slice(r-2,r)=="</")){return"jsxIdentifier"}if(t.value[0]!==t.value[0].toLowerCase()){return"capitalized"}}if(t.type==="punctuator"&&l.test(t.value)){return"bracket"}if(t.type==="invalid"&&(t.value==="@"||t.value==="#")){return"punctuator"}return t.type};c=function*(e){let t;while(t=n.default.exec(e)){const r=n.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}}}function highlightTokens(e,t){let r="";for(const{type:n,value:s}of c(t)){const t=e[n];if(t){r+=s.split(o).map((e=>t(e))).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return!!i.supportsColor||e.forceColor}function getChalk(e){return e.forceColor?new i.constructor({enabled:true,level:1}):i}function highlight(e,t={}){if(e!==""&&shouldHighlight(t)){const r=getChalk(t);const n=getDefs(r);return highlightTokens(n,e)}else{return e}}},4792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTemplateBuilder;var n=r(4298);var s=r(2731);var i=r(2307);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign(((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,s.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,i.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)}),{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,s.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let s=o.get(t);if(!s){s=(0,i.default)(e,t,(0,n.merge)(l,a));o.set(t,s)}return s(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},8907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=void 0;var n=r(6953);const{assertExpressionStatement:s}=n;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const i=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));t.smart=i;const a=makeStatementFormatter((e=>e));t.statements=a;const o=makeStatementFormatter((e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]}));t.statement=o;const l={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;s(t);return t.expression}};t.expression=l;const c={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=c},9767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=t["default"]=void 0;var n=r(8907);var s=r(4792);const i=(0,s.default)(n.smart);t.smart=i;const a=(0,s.default)(n.statement);t.statement=a;const o=(0,s.default)(n.statements);t.statements=o;const l=(0,s.default)(n.expression);t.expression=l;const c=(0,s.default)(n.program);t.program=c;var u=Object.assign(i.bind(undefined),{smart:i,statement:a,statements:o,expression:l,program:c,ast:i.ast});t["default"]=u},2307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=literalTemplate;var n=r(4298);var s=r(4652);var i=r(3148);function literalTemplate(e,t,r){const{metadata:s,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach(((e,t)=>{r[a[t]]=e}));return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach((e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}}))}return e.unwrap((0,i.default)(s,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n;let i;let a;let o="";do{o+="$";const l=buildTemplateCode(t,o);n=l.names;i=new Set(n);a=(0,s.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(a.placeholders.some((e=>e.isDuplicate&&i.has(e.name))));return{metadata:a,names:n}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let s=1;s<e.length;s++){const i=`${t}${s-1}`;r.push(i);n+=i+e[s]}return{names:r,code:n}}},4298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.normalizeReplacements=normalizeReplacements;t.validate=validate;const r=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=t,o=_objectWithoutPropertiesLoose(t,r);if(n!=null&&!(n instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(s!=null&&!(s instanceof RegExp)&&s!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(a!=null&&typeof a!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(a===true&&(n!=null||s!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:o,placeholderWhitelist:n||undefined,placeholderPattern:s==null?undefined:s,preserveComments:i==null?undefined:i,syntacticPlaceholders:a==null?undefined:a}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,t,r)=>{e["$"+r]=t;return e}),{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},4652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parseAndBuildMetadata;var n=r(6953);var s=r(9113);var i=r(197);const{isCallExpression:a,isExpressionStatement:o,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:f,isStatement:d,isStringLiteral:h,removePropertiesDeep:m,traverse:y}=n;const g=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=r;const o=parseWithCodeFrame(t,r.parser,a);m(o,{preserveComments:i});e.validate(o);const l={placeholders:[],placeholderNames:new Set};const c={placeholders:[],placeholderNames:new Set};const u={value:undefined};y(o,placeholderVisitorHandler,{syntactic:l,legacy:c,isLegacyRef:u,placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:a});return Object.assign({ast:o},u.value?c:l)}function placeholderVisitorHandler(e,t,r){var n;let s;if(f(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}else{s=e.name.name;r.isLegacyRef.value=false}}else if(r.isLegacyRef.value===false||r.syntacticPlaceholders){return}else if(c(e)||u(e)){s=e.name;r.isLegacyRef.value=true}else if(h(e)){s=e.value;r.isLegacyRef.value=true}else{return}if(!r.isLegacyRef.value&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(r.isLegacyRef.value&&(r.placeholderPattern===false||!(r.placeholderPattern||g).test(s))&&!((n=r.placeholderWhitelist)!=null&&n.has(s))){return}t=t.slice();const{node:i,key:m}=t[t.length-1];let y;if(h(e)||f(e,{expectedNode:"StringLiteral"})){y="string"}else if(p(i)&&m==="arguments"||a(i)&&m==="arguments"||l(i)&&m==="params"){y="param"}else if(o(i)&&!f(e)){y="statement";t=t.slice(0,-1)}else if(d(e)&&f(e)){y="statement"}else{y="other"}const{placeholders:b,placeholderNames:T}=r.isLegacyRef.value?r.legacy:r.syntactic;b.push({name:s,type:y,resolve:e=>resolveAncestors(e,t),isDuplicate:T.has(s)});T.add(s)}function resolveAncestors(e,t){let r=e;for(let e=0;e<t.length-1;e++){const{key:n,index:s}=t[e];if(s===undefined){r=r[n]}else{r=r[n][s]}}const{key:n,index:s}=t[t.length-1];return{parent:r,key:n,index:s}}function parseWithCodeFrame(e,t,r){const n=(t.plugins||[]).slice();if(r!==false){n.push("placeholders")}t=Object.assign({allowReturnOutsideFunction:true,allowSuperOutsideMethod:true,sourceType:"module"},t,{plugins:n});try{return(0,s.parse)(e,t)}catch(t){const r=t.loc;if(r){t.message+="\n"+(0,i.codeFrameColumns)(e,{start:r});t.code="BABEL_TEMPLATE_PARSE_ERROR"}throw t}}},3148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=populatePlaceholders;var n=r(6953);const{blockStatement:s,cloneNode:i,emptyStatement:a,expressionStatement:o,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:f}=n;function populatePlaceholders(e,t){const r=i(e.ast);if(t){e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}}));Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}}));return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map((e=>i(e)))}else if(typeof r==="object"){r=i(r)}}const{parent:n,key:d,index:h}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=p(r)}if(!r||!u(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(h===undefined){if(!r){r=a()}else if(Array.isArray(r)){r=s(r)}else if(typeof r==="string"){r=o(l(r))}else if(!c(r)){r=o(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=l(r)}if(!c(r)){r=o(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=l(r)}if(h===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=l(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(h===undefined){f(n,d,r);n[d]=r}else{const t=n[d].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(h,1)}else if(Array.isArray(r)){t.splice(h,1,...r)}else{t[h]=r}}else{t[h]=r}f(n,d,t);n[d]=t}}},2731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=stringTemplate;var n=r(4298);var s=r(4652);var i=r(3148);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,s.default)(e,t,r);return e.unwrap((0,i.default)(a,l))}}},9009:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},7385:e=>{"use strict";e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","node":"16.11","electron":"15.0"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","ios":"15","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","ios":"15","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","ios":"15","samsung":"14","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","rhino":"1.7.14","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","samsung":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","ios":"13.4","electron":"13.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","rhino":"1.7.14","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","node":"6","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","rhino":"1.7.14","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","rhino":"1.7.14","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","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":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},3676:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(3050);module.exports=r})(); \ No newline at end of file +`;i.nullishReceiverError=helper("7.22.6")` + export default function _nullishReceiverError(r) { + throw new TypeError("Cannot set property of null or undefined."); + } +`},1416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.ensure=ensure;t.get=get;t.getDependencies=getDependencies;t.list=void 0;t.minVersion=minVersion;var n=r(2297);var s=r(776);var i=r(5095);const{assignmentExpression:a,cloneNode:o,expressionStatement:l,file:c,identifier:u}=s;function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let p=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const c=[];const u=[];const p={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(!t.isFunctionDeclaration()||!t.node.id){throw t.buildCodeFrameError("Helpers can only export named function declarations")}a=t.node.id.name;o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isImportDeclaration()||e.isExportDeclaration())return;e.skip()}};const f={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach((e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)}))},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r);if(!n){t.add(r)}else if(s.has(n.identifier)){u.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,p,e.scope);(0,n.default)(e.ast,f,e.scope);if(!o)throw new Error("Helpers must have a default export.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:u,importPaths:c}}function permuteHelperAST(e,t,r,n,s){if(n&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:i,dependencies:c,exportBindingAssignments:p,exportPath:f,exportName:d,importBindingsReferences:h,importPaths:m}=t;const y={};c.forEach(((e,t)=>{y[t.name]=typeof s==="function"&&s(e)||t}));const g={};const b=new Set(n||[]);i.forEach((e=>{let t=e;while(b.has(t))t="_"+t;if(t!==e)g[e]=t}));if(r.type==="Identifier"&&d!==r.name){g[d]=r.name}const{path:T}=e;const S=T.get(f);const E=m.map((e=>T.get(e)));const x=h.map((e=>T.get(e)));const v=S.get("declaration");if(r.type==="Identifier"){S.replaceWith(v)}else if(r.type==="MemberExpression"){p.forEach((e=>{const t=T.get(e);t.replaceWith(a("=",r,t.node))}));S.replaceWith(v);T.pushContainer("body",l(a("=",r,u(d))))}else{throw new Error("Unexpected helper format.")}Object.keys(g).forEach((e=>{T.scope.rename(e,g[e])}));for(const e of E)e.remove();for(const e of x){const t=o(y[e.node.name]);e.replaceWith(t)}}const f=Object.create(null);function loadHelper(e){if(!f[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const fn=()=>{{if(!p){const e={ast:c(t.ast()),path:null};(0,n.default)(e.ast,{Program:t=>(e.path=t).stop()});return e}}return new p({filename:`babel-helper://${e}`},{ast:c(t.ast()),code:"[internal Babel helper code]",inputMap:null})};let r=null;f[e]={minVersion:t.minVersion,build(e,t,n){const s=fn();r||(r=getHelperMetadata(s));permuteHelperAST(s,r,t,n,e);return{nodes:s.ast.program.body,globals:r.globals}},getDependencies(){r||(r=getHelperMetadata(fn()));return Array.from(r.dependencies.values())}}}return f[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion}function getDependencies(e){return loadHelper(e).getDependencies()}function ensure(e,t){p||(p=t);loadHelper(e)}const d=Object.keys(i.default).map((e=>e.replace(/^_/,"")));t.list=d;var h=get;t["default"]=h},6448:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=highlight;t.shouldHighlight=shouldHighlight;var n=r(8874);var s=r(4975);var i=_interopRequireWildcard(r(6148),true);function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(n,i,a)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.slice(r-2,r)=="</")){return"jsxIdentifier"}if(t.value[0]!==t.value[0].toLowerCase()){return"capitalized"}}if(t.type==="punctuator"&&l.test(t.value)){return"bracket"}if(t.type==="invalid"&&(t.value==="@"||t.value==="#")){return"punctuator"}return t.type};c=function*(e){let t;while(t=n.default.exec(e)){const r=n.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}}}function highlightTokens(e,t){let r="";for(const{type:n,value:s}of c(t)){const t=e[n];if(t){r+=s.split(o).map((e=>t(e))).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return i.default.level>0||e.forceColor}let u=undefined;function getChalk(e){if(e){var t;(t=u)!=null?t:u=new i.default.constructor({enabled:true,level:1});return u}return i.default}{t.getChalk=e=>getChalk(e.forceColor)}function highlight(e,t={}){if(e!==""&&shouldHighlight(t)){const r=getDefs(getChalk(t.forceColor));return highlightTokens(r,e)}else{return e}}},7383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}class Position{constructor(e,t,r){this.line=void 0;this.column=void 0;this.index=void 0;this.line=e;this.column=t;this.index=r}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function createPositionWithColumnOffset(e,t){const{line:r,column:n,index:s}=e;return new Position(r,n+t,s+t)}var r={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"};const reflect=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,n,s)=>s===t?e[n]=r:e[n]),this)}});const instantiate=(e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,typeof t==="function"?{value:t,enumerable:false}:typeof t.reflect==="string"?Object.assign({},t,reflect(t.reflect.split("."))):t])).reduce(((e,[t,r])=>Object.defineProperty(e,t,Object.assign({configurable:true},r))),Object.assign(new e,t));var n={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:r.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:r.SourceTypeModuleError}};const s={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"};const toNodeDescription=({type:e,prefix:t})=>e==="UpdateExpression"?s.UpdateExpression[String(t)]:s[e];var i={AccessorIsGenerator:({kind:e})=>`A ${e}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.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",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' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor 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:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",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:e})=>`\`${e}\` 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:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${e==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",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:e})=>`Unsyntactic ${e==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:e})=>`\`import()\` requires exactly ${e===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`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',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:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${toNodeDescription(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${toNodeDescription(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} 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:e})=>`Label '${e}' 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:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).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:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' 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:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,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 or inside a block.",SloppyFunctionAnnexB:"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:e})=>`Unexpected keyword '${e}'.`,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:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",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:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,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.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' 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 a={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' 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 o=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var l={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:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${toNodeDescription({type:e})}; 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 c=["toMessage"],u=["message"];function toParseErrorConstructor(e){let{toMessage:t}=e,r=_objectWithoutPropertiesLoose(e,c);return function constructor({loc:e,details:n}){return instantiate(SyntaxError,Object.assign({},r,{loc:e}),{clone(e={}){const t=e.loc||{};return constructor({loc:new Position("line"in t?t.line:this.loc.line,"column"in t?t.column:this.loc.column,"index"in t?t.index:this.loc.index),details:Object.assign({},this.details,e.details)})},details:{value:n,enumerable:false},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:true},missingPlugin:"missingPlugin"in n&&{reflect:"details.missingPlugin",enumerable:true}})}}function ParseErrorEnum(e,t){if(Array.isArray(e)){return t=>ParseErrorEnum(t,e[0])}const n={};for(const s of Object.keys(e)){const i=e[s];const a=typeof i==="string"?{message:()=>i}:typeof i==="function"?{message:i}:i,{message:o}=a,l=_objectWithoutPropertiesLoose(a,u);const c=typeof o==="string"?()=>o:o;n[s]=toParseErrorConstructor(Object.assign({code:r.SyntaxError,reasonCode:s,toMessage:c},t?{syntaxPlugin:t}:{},l))}return n}const p=Object.assign({},ParseErrorEnum(n),ParseErrorEnum(i),ParseErrorEnum(a),ParseErrorEnum`pipelineOperator`(l));const{defineProperty:f}=Object;const toUnenumerable=(e,t)=>f(e,t,{enumerable:false,value:e[t]});function toESTreeLocation(e){e.loc.start&&toUnenumerable(e.loc.start,"index");e.loc.end&&toUnenumerable(e.loc.end,"index");return e}var estree=e=>class ESTreeParserMixin extends e{parse(){const e=toESTreeLocation(super.parse());if(this.options.tokens){e.tokens=e.tokens.map(toESTreeLocation)}return e}parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;delete e.value;t.type="Literal";t.raw=t.extra.raw;t.value=t.extra.expressionValue;const r=e;r.type="ExpressionStatement";r.expression=t;r.directive=t.extra.rawValue;delete t.extra;return r}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}parseBlockBody(e,t,r,n,s){super.parseBlockBody(e,t,r,n,s);const i=e.directives.map((e=>this.directiveToStmt(e)));e.body=i.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();{if(!this.getPluginOption("estree","classFeatures")){return e}}return this.convertPrivateNameToPrivateIdentifier(e)}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){{if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){{if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}return this.finishNode(e,"MethodDefinition")}parseClassProperty(...e){const t=super.parseClassProperty(...e);{if(!this.getPluginOption("estree","classFeatures")){return t}}t.type="PropertyDefinition";return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);{if(!this.getPluginOption("estree","classFeatures")){return t}}t.type="PropertyDefinition";t.computed=false;return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method"){i.kind="init"}i.shorthand=false}return i}parseObjectProperty(e,t,r,n){const s=super.parseObjectProperty(e,t,r,n);if(s){s.kind="init";s.type="Property"}return s}isValidLVal(e,t,r){return e==="Property"?"value":super.isValidLVal(e,t,r)}isAssignable(e,t){if(e!=null&&this.isObjectProperty(e)){return this.isAssignable(e.value,t)}return super.isAssignable(e,t)}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){const{key:r,value:n}=e;if(this.isPrivateName(r)){this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start)}this.toAssignable(n,t)}else{super.toAssignable(e,t)}}toAssignableObjectExpressionProp(e,t,r){if(e.kind==="get"||e.kind==="set"){this.raise(p.PatternHasAccessor,{at:e.key})}else if(e.method){this.raise(p.PatternHasMethod,{at:e.key})}else{super.toAssignableObjectExpressionProp(e,t,r)}}finishCallExpression(e,t){const r=super.finishCallExpression(e,t);if(r.callee.type==="Import"){r.type="ImportExpression";r.source=r.arguments[0];if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var n;r.attributes=(n=r.arguments[1])!=null?n:null}delete r.arguments;delete r.callee}return r}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e,t){const r=this.state.lastTokStartLoc;const n=super.parseExport(e,t);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":if(n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"){n.type="ExportAllDeclaration";n.exported=n.specifiers[0].exported;delete n.specifiers}case"ExportDefaultDeclaration":{var s;const{declaration:e}=n;if((e==null?void 0:e.type)==="ClassDeclaration"&&((s=e.decorators)==null?void 0:s.length)>0&&e.start===n.start){this.resetStartLocation(n,r)}}break}return n}parseSubscript(e,t,r,n){const s=super.parseSubscript(e,t,r,n);if(n.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(n.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}finishNodeAt(e,t,r){return toESTreeLocation(super.finishNodeAt(e,t,r))}resetStartLocation(e,t){super.resetStartLocation(e,t);toESTreeLocation(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t);toESTreeLocation(e)}};class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const d={brace:new TokContext("{"),j_oTag:new TokContext("<tag"),j_cTag:new TokContext("</tag"),j_expr:new TokContext("<tag>...</tag>",true)};{d.template=new TokContext("`",true)}const h=true;const m=true;const y=true;const g=true;const b=true;const T=true;class ExportedTokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;{this.updateContext=null}}}const S=new Map;function createKeyword(e,t={}){t.keyword=e;const r=createToken(e,t);S.set(e,r);return r}function createBinop(e,t){return createToken(e,{beforeExpr:h,binop:t})}let E=-1;const x=[];const v=[];const P=[];const A=[];const w=[];const C=[];function createToken(e,t={}){var r,n,s,i;++E;v.push(e);P.push((r=t.binop)!=null?r:-1);A.push((n=t.beforeExpr)!=null?n:false);w.push((s=t.startsExpr)!=null?s:false);C.push((i=t.prefix)!=null?i:false);x.push(new ExportedTokenType(e,t));return E}function createKeywordLike(e,t={}){var r,n,s,i;++E;S.set(e,E);v.push(e);P.push((r=t.binop)!=null?r:-1);A.push((n=t.beforeExpr)!=null?n:false);w.push((s=t.startsExpr)!=null?s:false);C.push((i=t.prefix)!=null?i:false);x.push(new ExportedTokenType("name",t));return E}const I={bracketL:createToken("[",{beforeExpr:h,startsExpr:m}),bracketHashL:createToken("#[",{beforeExpr:h,startsExpr:m}),bracketBarL:createToken("[|",{beforeExpr:h,startsExpr:m}),bracketR:createToken("]"),bracketBarR:createToken("|]"),braceL:createToken("{",{beforeExpr:h,startsExpr:m}),braceBarL:createToken("{|",{beforeExpr:h,startsExpr:m}),braceHashL:createToken("#{",{beforeExpr:h,startsExpr:m}),braceR:createToken("}"),braceBarR:createToken("|}"),parenL:createToken("(",{beforeExpr:h,startsExpr:m}),parenR:createToken(")"),comma:createToken(",",{beforeExpr:h}),semi:createToken(";",{beforeExpr:h}),colon:createToken(":",{beforeExpr:h}),doubleColon:createToken("::",{beforeExpr:h}),dot:createToken("."),question:createToken("?",{beforeExpr:h}),questionDot:createToken("?."),arrow:createToken("=>",{beforeExpr:h}),template:createToken("template"),ellipsis:createToken("...",{beforeExpr:h}),backQuote:createToken("`",{startsExpr:m}),dollarBraceL:createToken("${",{beforeExpr:h,startsExpr:m}),templateTail:createToken("...`",{startsExpr:m}),templateNonTail:createToken("...${",{beforeExpr:h,startsExpr:m}),at:createToken("@"),hash:createToken("#",{startsExpr:m}),interpreterDirective:createToken("#!..."),eq:createToken("=",{beforeExpr:h,isAssign:g}),assign:createToken("_=",{beforeExpr:h,isAssign:g}),slashAssign:createToken("_=",{beforeExpr:h,isAssign:g}),xorAssign:createToken("_=",{beforeExpr:h,isAssign:g}),moduloAssign:createToken("_=",{beforeExpr:h,isAssign:g}),incDec:createToken("++/--",{prefix:b,postfix:T,startsExpr:m}),bang:createToken("!",{beforeExpr:h,prefix:b,startsExpr:m}),tilde:createToken("~",{beforeExpr:h,prefix:b,startsExpr:m}),doubleCaret:createToken("^^",{startsExpr:m}),doubleAt:createToken("@@",{startsExpr:m}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),lt:createBinop("</>/<=/>=",7),gt:createBinop("</>/<=/>=",7),relational:createBinop("</>/<=/>=",7),bitShift:createBinop("<</>>/>>>",8),bitShiftL:createBinop("<</>>/>>>",8),bitShiftR:createBinop("<</>>/>>>",8),plusMin:createToken("+/-",{beforeExpr:h,binop:9,prefix:b,startsExpr:m}),modulo:createToken("%",{binop:10,startsExpr:m}),star:createToken("*",{binop:10}),slash:createBinop("/",10),exponent:createToken("**",{beforeExpr:h,binop:11,rightAssociative:true}),_in:createKeyword("in",{beforeExpr:h,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:h,binop:7}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:h}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:h}),_else:createKeyword("else",{beforeExpr:h}),_finally:createKeyword("finally"),_function:createKeyword("function",{startsExpr:m}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:h}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:h,prefix:b,startsExpr:m}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:h,startsExpr:m}),_this:createKeyword("this",{startsExpr:m}),_super:createKeyword("super",{startsExpr:m}),_class:createKeyword("class",{startsExpr:m}),_extends:createKeyword("extends",{beforeExpr:h}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:m}),_null:createKeyword("null",{startsExpr:m}),_true:createKeyword("true",{startsExpr:m}),_false:createKeyword("false",{startsExpr:m}),_typeof:createKeyword("typeof",{beforeExpr:h,prefix:b,startsExpr:m}),_void:createKeyword("void",{beforeExpr:h,prefix:b,startsExpr:m}),_delete:createKeyword("delete",{beforeExpr:h,prefix:b,startsExpr:m}),_do:createKeyword("do",{isLoop:y,beforeExpr:h}),_for:createKeyword("for",{isLoop:y}),_while:createKeyword("while",{isLoop:y}),_as:createKeywordLike("as",{startsExpr:m}),_assert:createKeywordLike("assert",{startsExpr:m}),_async:createKeywordLike("async",{startsExpr:m}),_await:createKeywordLike("await",{startsExpr:m}),_from:createKeywordLike("from",{startsExpr:m}),_get:createKeywordLike("get",{startsExpr:m}),_let:createKeywordLike("let",{startsExpr:m}),_meta:createKeywordLike("meta",{startsExpr:m}),_of:createKeywordLike("of",{startsExpr:m}),_sent:createKeywordLike("sent",{startsExpr:m}),_set:createKeywordLike("set",{startsExpr:m}),_static:createKeywordLike("static",{startsExpr:m}),_using:createKeywordLike("using",{startsExpr:m}),_yield:createKeywordLike("yield",{startsExpr:m}),_asserts:createKeywordLike("asserts",{startsExpr:m}),_checks:createKeywordLike("checks",{startsExpr:m}),_exports:createKeywordLike("exports",{startsExpr:m}),_global:createKeywordLike("global",{startsExpr:m}),_implements:createKeywordLike("implements",{startsExpr:m}),_intrinsic:createKeywordLike("intrinsic",{startsExpr:m}),_infer:createKeywordLike("infer",{startsExpr:m}),_is:createKeywordLike("is",{startsExpr:m}),_mixins:createKeywordLike("mixins",{startsExpr:m}),_proto:createKeywordLike("proto",{startsExpr:m}),_require:createKeywordLike("require",{startsExpr:m}),_satisfies:createKeywordLike("satisfies",{startsExpr:m}),_keyof:createKeywordLike("keyof",{startsExpr:m}),_readonly:createKeywordLike("readonly",{startsExpr:m}),_unique:createKeywordLike("unique",{startsExpr:m}),_abstract:createKeywordLike("abstract",{startsExpr:m}),_declare:createKeywordLike("declare",{startsExpr:m}),_enum:createKeywordLike("enum",{startsExpr:m}),_module:createKeywordLike("module",{startsExpr:m}),_namespace:createKeywordLike("namespace",{startsExpr:m}),_interface:createKeywordLike("interface",{startsExpr:m}),_type:createKeywordLike("type",{startsExpr:m}),_opaque:createKeywordLike("opaque",{startsExpr:m}),name:createToken("name",{startsExpr:m}),string:createToken("string",{startsExpr:m}),num:createToken("num",{startsExpr:m}),bigint:createToken("bigint",{startsExpr:m}),decimal:createToken("decimal",{startsExpr:m}),regexp:createToken("regexp",{startsExpr:m}),privateName:createToken("#name",{startsExpr:m}),eof:createToken("eof"),jsxName:createToken("jsxName"),jsxText:createToken("jsxText",{beforeExpr:true}),jsxTagStart:createToken("jsxTagStart",{startsExpr:true}),jsxTagEnd:createToken("jsxTagEnd"),placeholder:createToken("%%",{startsExpr:true})};function tokenIsIdentifier(e){return e>=93&&e<=130}function tokenKeywordOrIdentifierIsKeyword(e){return e<=92}function tokenIsKeywordOrIdentifier(e){return e>=58&&e<=130}function tokenIsLiteralPropertyName(e){return e>=58&&e<=134}function tokenComesBeforeExpression(e){return A[e]}function tokenCanStartExpression(e){return w[e]}function tokenIsAssignment(e){return e>=29&&e<=33}function tokenIsFlowInterfaceOrTypeOrOpaque(e){return e>=127&&e<=129}function tokenIsLoop(e){return e>=90&&e<=92}function tokenIsKeyword(e){return e>=58&&e<=92}function tokenIsOperator(e){return e>=39&&e<=59}function tokenIsPostfix(e){return e===34}function tokenIsPrefix(e){return C[e]}function tokenIsTSTypeOperator(e){return e>=119&&e<=121}function tokenIsTSDeclarationStart(e){return e>=122&&e<=128}function tokenLabelName(e){return v[e]}function tokenOperatorPrecedence(e){return P[e]}function tokenIsRightAssociative(e){return e===57}function tokenIsTemplate(e){return e>=24&&e<=25}function getExportedToken(e){return x[e]}{x[8].updateContext=e=>{e.pop()};x[5].updateContext=x[7].updateContext=x[23].updateContext=e=>{e.push(d.brace)};x[22].updateContext=e=>{if(e[e.length-1]===d.template){e.pop()}else{e.push(d.template)}};x[140].updateContext=e=>{e.push(d.j_expr,d.j_oTag)}}let O="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let k="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const N=new RegExp("["+O+"]");const _=new RegExp("["+O+k+"]");O=k=null;const D=[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,20,1,64,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,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,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191];const M=[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,81,2,71,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,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&N.test(String.fromCharCode(e))}return isInAstralSet(e,D)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&_.test(String.fromCharCode(e))}return isInAstralSet(e,D)||isInAstralSet(e,M)}const L={keyword:["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"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const j=new Set(L.keyword);const F=new Set(L.strict);const B=new Set(L.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||F.has(e)}function isStrictBindOnlyReservedWord(e){return B.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return j.has(e)}function isIteratorStart(e,t,r){return e===64&&t===64&&isIdentifierStart(r)}const R=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(e){return R.has(e)}const U=0,V=1,K=2,W=4,$=8,q=16,H=32,J=64,X=128,G=256,z=V|K|X|G;const Y=1,Q=2,Z=4,ee=8,te=16,re=64,ne=128,se=256,ie=512,ae=1024,oe=2048,le=4096,ce=8192;const ue=Y|Q|ee|ne|ce,pe=Y|0|ee|ce,fe=Y|0|ee|0,de=Y|0|Z|0,he=Y|0|te|0,me=0|Q|0|ne,ye=0|Q|0|0,ge=Y|Q|ee|se|ce,be=0|0|0|ae,Te=0|0|0|re,Se=Y|0|0|re,Ee=ge|ie,xe=0|0|0|ae,ve=0|Q|0|le,Pe=oe;const Ae=4,we=2,Ce=1,Ie=we|Ce;const Oe=we|Ae,ke=Ce|Ae,Ne=we,_e=Ce,De=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.parser=void 0;this.scopeStack=[];this.inModule=void 0;this.undefinedExports=new Map;this.parser=e;this.inModule=t}get inTopLevel(){return(this.currentScope().flags&V)>0}get inFunction(){return(this.currentVarScopeFlags()&K)>0}get allowSuper(){return(this.currentThisScopeFlags()&q)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&H)>0}get inClass(){return(this.currentThisScopeFlags()&J)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&J)>0&&(e&K)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&X){return true}if(t&(z|J)){return false}}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&K)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){const e=this.scopeStack.pop();return e.flags}treatFunctionsAsVarInScope(e){return!!(e.flags&(K|X)||!this.parser.inModule&&e.flags&V)}declareName(e,t,r){let n=this.currentScope();if(t&ee||t&te){this.checkRedeclarationInScope(n,e,t,r);if(t&te){n.functions.add(e)}else{n.lexical.add(e)}if(t&ee){this.maybeExportDefined(n,e)}}else if(t&Z){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&z)break}}if(this.parser.inModule&&n.flags&V){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.parser.inModule&&e.flags&V){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.parser.raise(p.VarRedeclaration,{at:n,identifierName:t})}}isRedeclaredInScope(e,t,r){if(!(r&Y))return false;if(r&ee){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&te){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&$&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.loc.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&z){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(z|J)&&!(t&W)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&oe){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(e,t,r)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(e,t,r))return true;if(r&oe){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}class BaseParser{constructor(){this.sawUnambiguousESM=false;this.ambiguousScriptDifferentAst=false}hasPlugin(e){if(typeof e==="string"){return this.plugins.has(e)}else{const[t,r]=e;if(!this.hasPlugin(t)){return false}const n=this.plugins.get(t);for(const e of Object.keys(r)){if((n==null?void 0:n[e])!==r[e]){return false}}return true}}getPluginOption(e,t){var r;return(r=this.plugins.get(e))==null?void 0:r[t]}}function setTrailingComments(e,t){if(e.trailingComments===undefined){e.trailingComments=t}else{e.trailingComments.unshift(...t)}}function setLeadingComments(e,t){if(e.leadingComments===undefined){e.leadingComments=t}else{e.leadingComments.unshift(...t)}}function setInnerComments(e,t){if(e.innerComments===undefined){e.innerComments=t}else{e.innerComments.unshift(...t)}}function adjustInnerComments(e,t,r){let n=null;let s=t.length;while(n===null&&s>0){n=t[--s]}if(n===null||n.start>r.start){setInnerComments(e,r.comments)}else{setTrailingComments(n,r.comments)}}class CommentsParser extends BaseParser{addComment(e){if(this.filename)e.loc.filename=this.filename;this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state;const r=t.length;if(r===0)return;let n=r-1;const s=t[n];if(s.start===e.end){s.leadingNode=e;n--}const{start:i}=e;for(;n>=0;n--){const r=t[n];const s=r.end;if(s>i){r.containingNode=e;this.finalizeComment(r);t.splice(n,1)}else{if(s===i){r.trailingNode=e}break}}}finalizeComment(e){const{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null){if(e.leadingNode!==null){setTrailingComments(e.leadingNode,t)}if(e.trailingNode!==null){setLeadingComments(e.trailingNode,t)}}else{const{containingNode:r,start:n}=e;if(this.input.charCodeAt(n-1)===44){switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(r,r.specifiers,e);break;default:{setInnerComments(r,t)}}}else{setInnerComments(r,t)}}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--){this.finalizeComment(e[t])}this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state;const{length:r}=t;if(r===0)return;const n=t[r-1];if(n.leadingNode===e){n.leadingNode=null}}resetPreviousIdentifierLeadingComments(e){const{commentStack:t}=this.state;const{length:r}=t;if(r===0)return;if(t[r-1].trailingNode===e){t[r-1].trailingNode=null}else if(r>=2&&t[r-2].trailingNode===e){t[r-2].trailingNode=null}}takeSurroundingComments(e,t,r){const{commentStack:n}=this.state;const s=n.length;if(s===0)return;let i=s-1;for(;i>=0;i--){const s=n[i];const a=s.end;const o=s.start;if(o===r){s.leadingNode=e}else if(a===t){s.trailingNode=e}else if(a<t){break}}}}const Me=/\r\n?|[\n\u2028\u2029]/;const Le=new RegExp(Me.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const je=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;const Fe=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;const Be=new RegExp("(?=("+Fe.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class State{constructor(){this.strict=void 0;this.curLine=void 0;this.lineStart=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inType=false;this.noAnonFunctionType=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.inDisallowConditionalTypesContext=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.comments=[];this.commentStack=[];this.pos=0;this.type=137;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.context=[d.brace];this.canStartJSXElement=true;this.containsEsc=false;this.firstInvalidTemplateEscapePos=null;this.strictErrors=new Map;this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:n}){this.strict=e===false?false:e===true?true:t==="module";this.curLine=r;this.lineStart=-n;this.startLoc=this.endLoc=new Position(r,n,0)}curPosition(){return new Position(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n<s;n++){const s=r[n];let i=this[s];if(!e&&Array.isArray(i)){i=i.slice()}t[s]=i}return t}}var Re=function isDigit(e){return e>=48&&e<=57};const Ue={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])};const Ve={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function readStringContents(e,t,r,n,s,i){const a=r;const o=n;const l=s;let c="";let u=null;let p=r;const{length:f}=t;for(;;){if(r>=f){i.unterminated(a,o,l);c+=t.slice(p,r);break}const d=t.charCodeAt(r);if(isStringEnd(e,d,t,r)){c+=t.slice(p,r);break}if(d===92){c+=t.slice(p,r);const a=readEscapedChar(t,r,n,s,e==="template",i);if(a.ch===null&&!u){u={pos:r,lineStart:n,curLine:s}}else{c+=a.ch}({pos:r,lineStart:n,curLine:s}=a);p=r}else if(d===8232||d===8233){++r;++s;n=r}else if(d===10||d===13){if(e==="template"){c+=t.slice(p,r)+"\n";++r;if(d===13&&t.charCodeAt(r)===10){++r}++s;p=n=r}else{i.unterminated(a,o,l)}}else{++r}}return{pos:r,str:c,firstInvalidLoc:u,lineStart:n,curLine:s,containsInvalid:!!u}}function isStringEnd(e,t,r,n){if(e==="template"){return t===96||t===36&&r.charCodeAt(n+1)===123}return t===(e==="double"?34:39)}function readEscapedChar(e,t,r,n,s,i){const a=!s;t++;const res=e=>({pos:t,ch:e,lineStart:r,curLine:n});const o=e.charCodeAt(t++);switch(o){case 110:return res("\n");case 114:return res("\r");case 120:{let s;({code:s,pos:t}=readHexChar(e,t,r,n,2,false,a,i));return res(s===null?null:String.fromCharCode(s))}case 117:{let s;({code:s,pos:t}=readCodePoint(e,t,r,n,a,i));return res(s===null?null:String.fromCodePoint(s))}case 116:return res("\t");case 98:return res("\b");case 118:return res("\v");case 102:return res("\f");case 13:if(e.charCodeAt(t)===10){++t}case 10:r=t;++n;case 8232:case 8233:return res("");case 56:case 57:if(s){return res(null)}else{i.strictNumericEscape(t-1,r,n)}default:if(o>=48&&o<=55){const a=t-1;const o=e.slice(a,t+2).match(/^[0-7]+/);let l=o[0];let c=parseInt(l,8);if(c>255){l=l.slice(0,-1);c=parseInt(l,8)}t+=l.length-1;const u=e.charCodeAt(t);if(l!=="0"||u===56||u===57){if(s){return res(null)}else{i.strictNumericEscape(a,r,n)}}return res(String.fromCharCode(c))}return res(String.fromCharCode(o))}}function readHexChar(e,t,r,n,s,i,a,o){const l=t;let c;({n:c,pos:t}=readInt(e,t,r,n,16,s,i,false,o,!a));if(c===null){if(a){o.invalidEscapeSequence(l,r,n)}else{t=l-1}}return{code:c,pos:t}}function readInt(e,t,r,n,s,i,a,o,l,c){const u=t;const p=s===16?Ue.hex:Ue.decBinOct;const f=s===16?Ve.hex:s===10?Ve.dec:s===8?Ve.oct:Ve.bin;let d=false;let h=0;for(let u=0,m=i==null?Infinity:i;u<m;++u){const i=e.charCodeAt(t);let u;if(i===95&&o!=="bail"){const s=e.charCodeAt(t-1);const i=e.charCodeAt(t+1);if(!o){if(c)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,r,n)}else if(Number.isNaN(i)||!f(i)||p.has(s)||p.has(i)){if(c)return{n:null,pos:t};l.unexpectedNumericSeparator(t,r,n)}++t;continue}if(i>=97){u=i-97+10}else if(i>=65){u=i-65+10}else if(Re(i)){u=i-48}else{u=Infinity}if(u>=s){if(u<=9&&c){return{n:null,pos:t}}else if(u<=9&&l.invalidDigit(t,r,n,s)){u=0}else if(a){u=0;d=true}else{break}}++t;h=h*s+u}if(t===u||i!=null&&t-u!==i||d){return{n:null,pos:t}}return{n:h,pos:t}}function readCodePoint(e,t,r,n,s,i){const a=e.charCodeAt(t);let o;if(a===123){++t;({code:o,pos:t}=readHexChar(e,t,r,n,e.indexOf("}",t)-t,true,s,i));++t;if(o!==null&&o>1114111){if(s){i.invalidCodePoint(t,r,n)}else{return{code:null,pos:t}}}}else{({code:o,pos:t}=readHexChar(e,t,r,n,4,false,s,i))}return{code:o,pos:t}}const Ke=["at"],We=["at"];function buildPosition(e,t,r){return new Position(r,e-t,e)}const $e=new Set([103,109,115,105,121,117,100,118]);class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends CommentsParser{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.errorHandlers_readInt={invalidDigit:(e,t,r,n)=>{if(!this.options.errorRecovery)return false;this.raise(p.InvalidDigit,{at:buildPosition(e,t,r),radix:n});return true},numericSeparatorInEscapeSequence:this.errorBuilder(p.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(p.UnexpectedNumericSeparator)};this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(p.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(p.InvalidCodePoint)});this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(p.StrictNumericEscape,{at:buildPosition(e,t,r)})},unterminated:(e,t,r)=>{throw this.raise(p.UnterminatedString,{at:buildPosition(e-1,t,r)})}});this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(p.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(p.UnterminatedTemplate,{at:buildPosition(e,t,r)})}});this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){je.lastIndex=e;return je.test(this.input)?je.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){Fe.lastIndex=e;return Fe.test(this.input)?Fe.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++e<this.input.length){const r=this.input.charCodeAt(e);if((r&64512)===56320){t=65536+((t&1023)<<10)+(r&1023)}}return t}setStrict(e){this.state.strict=e;if(e){this.state.strictErrors.forEach((([e,t])=>this.raise(e,{at:t})));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;if(!this.isLookahead)t=this.state.curPosition();const r=this.state.pos;const n=this.input.indexOf(e,r+2);if(n===-1){throw this.raise(p.UnterminatedComment,{at:this.state.curPosition()})}this.state.pos=n+e.length;Le.lastIndex=r+2;while(Le.test(this.input)&&Le.lastIndex<=n){++this.state.curLine;this.state.lineStart=Le.lastIndex}if(this.isLookahead)return;const s={type:"CommentBlock",value:this.input.slice(r+2,n),start:r,end:n+e.length,loc:new SourceLocation(t,this.state.curPosition())};if(this.options.tokens)this.pushToken(s);return s}skipLineComment(e){const t=this.state.pos;let r;if(!this.isLookahead)r=this.state.curPosition();let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length){while(!isNewLine(n)&&++this.state.pos<this.length){n=this.input.charCodeAt(this.state.pos)}}if(this.isLookahead)return;const s=this.state.pos;const i=this.input.slice(t+e,s);const a={type:"CommentLine",value:i,start:t,end:s,loc:new SourceLocation(r,this.state.curPosition())};if(this.options.tokens)this.pushToken(a);return a}skipSpace(){const e=this.state.pos;const t=[];e:while(this.state.pos<this.length){const r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:if(this.input.charCodeAt(this.state.pos+1)===10){++this.state.pos}case 10:case 8232:case 8233:++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const e=this.skipBlockComment("*/");if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}break}case 47:{const e=this.skipLineComment(2);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}break}default:break e}break;default:if(isWhitespace(r)){++this.state.pos}else if(r===45&&!this.inModule&&this.options.annexB){const r=this.state.pos;if(this.input.charCodeAt(r+1)===45&&this.input.charCodeAt(r+2)===62&&(e===0||this.state.lineStart>e)){const e=this.skipLineComment(3);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else if(r===60&&!this.inModule&&this.options.annexB){const e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){const e=this.skipLineComment(4);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else{break e}}}if(t.length>0){const r=this.state.pos;const n={start:e,end:r,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos;this.state.endLoc=this.state.curPosition();const r=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.updateContext(r)}}replaceToken(e){this.state.type=e;this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter()){return}const e=this.state.pos+1;const t=this.codePointAtPos(e);if(t>=48&&t<=57){throw this.raise(p.UnexpectedDigitAfterHash,{at:this.state.curPosition()})}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")==="bar"){throw this.raise(t===123?p.RecordExpressionHashIncorrectStartSyntaxType:p.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;if(t===123){this.finishToken(7)}else{this.finishToken(1)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(136,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(136,this.readWord1())}else{this.finishOp(27,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(21)}else{++this.state.pos;this.finishToken(16)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(31,2)}else{this.finishOp(56,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos<this.length){e=this.input.charCodeAt(this.state.pos)}const r=this.input.slice(t+2,this.state.pos);this.finishToken(28,r);return true}readToken_mult_modulo(e){let t=e===42?55:54;let r=1;let n=this.input.charCodeAt(this.state.pos+1);if(e===42&&n===42){r++;n=this.input.charCodeAt(this.state.pos+2);t=57}if(n===61&&!this.state.inType){r++;t=e===37?33:30}this.finishOp(t,r)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===e){if(this.input.charCodeAt(this.state.pos+2)===61){this.finishOp(30,3)}else{this.finishOp(e===124?41:42,2)}return}if(e===124){if(t===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&t===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(p.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&t===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(p.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(4);return}}if(t===61){this.finishOp(30,2);return}this.finishOp(e===124?43:45,1)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61&&!this.state.inType){this.finishOp(32,2)}else if(e===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){this.finishOp(37,2);const e=this.input.codePointAt(this.state.pos);if(e===94){this.unexpected()}}else{this.finishOp(44,1)}}readToken_atSign(){const e=this.input.charCodeAt(this.state.pos+1);if(e===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])){this.finishOp(38,2)}else{this.finishOp(26,1)}}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.finishOp(34,2);return}if(t===61){this.finishOp(30,2)}else{this.finishOp(53,1)}}readToken_lt(){const{pos:e}=this.state;const t=this.input.charCodeAt(e+1);if(t===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(t===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:e}=this.state;const t=this.input.charCodeAt(e+1);if(t===62){const t=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+t)===61){this.finishOp(30,t+1);return}this.finishOp(52,t);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&t===62){this.state.pos+=2;this.finishToken(19);return}this.finishOp(e===61?29:35,1)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1);const t=this.input.charCodeAt(this.state.pos+2);if(e===63){if(t===61){this.finishOp(30,3)}else{this.finishOp(40,2)}}else if(e===46&&!(t>=48&&t<=57)){this.state.pos+=2;this.finishToken(18)}else{++this.state.pos;this.finishToken(17)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(10);return;case 41:++this.state.pos;this.finishToken(11);return;case 59:++this.state.pos;this.finishToken(13);return;case 44:++this.state.pos;this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(p.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(2)}else{++this.state.pos;this.finishToken(0)}return;case 93:++this.state.pos;this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(p.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(6)}else{++this.state.pos;this.finishToken(5)}return;case 125:++this.state.pos;this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(15,2)}else{++this.state.pos;this.finishToken(14)}return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(p.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.startLoc;const t=this.state.start+1;let r,n;let{pos:s}=this.state;for(;;++s){if(s>=this.length){throw this.raise(p.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}const t=this.input.charCodeAt(s);if(isNewLine(t)){throw this.raise(p.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}if(r){r=false}else{if(t===91){n=true}else if(t===93&&n){n=false}else if(t===47&&!n){break}r=t===92}}const i=this.input.slice(t,s);++s;let a="";const nextPos=()=>createPositionWithColumnOffset(e,s+2-t);while(s<this.length){const e=this.codePointAtPos(s);const t=String.fromCharCode(e);if($e.has(e)){if(e===118){if(a.includes("u")){this.raise(p.IncompatibleRegExpUVFlags,{at:nextPos()})}}else if(e===117){if(a.includes("v")){this.raise(p.IncompatibleRegExpUVFlags,{at:nextPos()})}}if(a.includes(t)){this.raise(p.DuplicateRegExpFlags,{at:nextPos()})}}else if(isIdentifierChar(e)||e===92){this.raise(p.MalformedRegExpFlags,{at:nextPos()})}else{break}++s;a+=t}this.state.pos=s;this.finishToken(135,{pattern:i,flags:a})}readInt(e,t,r=false,n=true){const{n:s,pos:i}=readInt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,n,this.errorHandlers_readInt,false);this.state.pos=i;return s}readRadixNumber(e){const t=this.state.curPosition();let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(p.InvalidDigit,{at:createPositionWithColumnOffset(t,2),radix:e})}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(p.InvalidDecimal,{at:t})}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(p.NumberIdentifier,{at:this.state.curPosition()})}if(r){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,e);return}this.finishToken(132,n)}readNumber(e){const t=this.state.pos;const r=this.state.curPosition();let n=false;let s=false;let i=false;let a=false;let o=false;if(!e&&this.readInt(10)===null){this.raise(p.InvalidNumber,{at:this.state.curPosition()})}const l=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(l){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(p.StrictOctalLiteral,{at:r});if(!this.state.strict){const t=e.indexOf("_");if(t>0){this.raise(p.ZeroDigitNumericSeparator,{at:createPositionWithColumnOffset(r,t)})}}o=l&&!/[89]/.test(e)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!o){++this.state.pos;this.readInt(10);n=true;c=this.input.charCodeAt(this.state.pos)}if((c===69||c===101)&&!o){c=this.input.charCodeAt(++this.state.pos);if(c===43||c===45){++this.state.pos}if(this.readInt(10)===null){this.raise(p.InvalidOrMissingExponent,{at:r})}n=true;a=true;c=this.input.charCodeAt(this.state.pos)}if(c===110){if(n||l){this.raise(p.InvalidBigIntLiteral,{at:r})}++this.state.pos;s=true}if(c===109){this.expectPlugin("decimal",this.state.curPosition());if(a||l){this.raise(p.InvalidDecimal,{at:r})}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(p.NumberIdentifier,{at:this.state.curPosition()})}const u=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(s){this.finishToken(133,u);return}if(i){this.finishToken(134,u);return}const f=o?parseInt(u,8):parseFloat(u);this.finishToken(132,f)}readCodePoint(e){const{code:t,pos:r}=readCodePoint(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);this.state.pos=r;return t}readString(e){const{str:t,pos:r,curLine:n,lineStart:s}=readStringContents(e===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1;this.state.lineStart=s;this.state.curLine=n;this.finishToken(131,t)}readTemplateContinuation(){if(!this.match(8)){this.unexpected(null,8)}this.state.pos--;this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos];const{str:t,firstInvalidLoc:r,pos:n,curLine:s,lineStart:i}=readStringContents("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=n+1;this.state.lineStart=i;this.state.curLine=s;if(r){this.state.firstInvalidTemplateEscapePos=new Position(r.curLine,r.pos-r.lineStart,r.pos)}if(this.input.codePointAt(n)===96){this.finishToken(24,r?null:e+t+"`")}else{this.state.pos++;this.finishToken(25,r?null:e+t+"${")}}recordStrictModeErrors(e,{at:t}){const r=t.index;if(this.state.strict&&!this.state.strictErrors.has(r)){this.raise(e,{at:t})}else{this.state.strictErrors.set(r,[e,t])}}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos<this.length){const e=this.codePointAtPos(this.state.pos);if(isIdentifierChar(e)){this.state.pos+=e<=65535?1:2}else if(e===92){this.state.containsEsc=true;t+=this.input.slice(n,this.state.pos);const e=this.state.curPosition();const s=this.state.pos===r?isIdentifierStart:isIdentifierChar;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(p.MissingUnicodeEscape,{at:this.state.curPosition()});n=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(true);if(i!==null){if(!s(i)){this.raise(p.EscapedCharNotAnIdentifier,{at:e})}t+=String.fromCodePoint(i)}n=this.state.pos}else{break}}return t+this.input.slice(n,this.state.pos)}readWord(e){const t=this.readWord1(e);const r=S.get(t);if(r!==undefined){this.finishToken(r,tokenLabelName(r))}else{this.finishToken(130,t)}}checkKeywordEscapes(){const{type:e}=this.state;if(tokenIsKeyword(e)&&this.state.containsEsc){this.raise(p.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:tokenLabelName(e)})}}raise(e,t){const{at:r}=t,n=_objectWithoutPropertiesLoose(t,Ke);const s=r instanceof Position?r:r.loc.start;const i=e({loc:s,details:n});if(!this.options.errorRecovery)throw i;if(!this.isLookahead)this.state.errors.push(i);return i}raiseOverwrite(e,t){const{at:r}=t,n=_objectWithoutPropertiesLoose(t,We);const s=r instanceof Position?r:r.loc.start;const i=s.index;const a=this.state.errors;for(let t=a.length-1;t>=0;t--){const r=a[t];if(r.loc.index===i){return a[t]=e({loc:s,details:n})}if(r.loc.index<i)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(p.UnexpectedToken,{expected:t?tokenLabelName(t):null,at:e!=null?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e)){return true}throw this.raise(p.MissingPlugin,{at:t!=null?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e)))){throw this.raise(p.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}}errorBuilder(e){return(t,r,n)=>{this.raise(e,{at:buildPosition(t,r,n)})}}}class ClassScope{constructor(){this.privateNames=new Set;this.loneAccessors=new Map;this.undefinedPrivateNames=new Map}}class ClassScopeHandler{constructor(e){this.parser=void 0;this.stack=[];this.undefinedPrivateNames=new Map;this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ClassScope)}exit(){const e=this.stack.pop();const t=this.current();for(const[r,n]of Array.from(e.undefinedPrivateNames)){if(t){if(!t.undefinedPrivateNames.has(r)){t.undefinedPrivateNames.set(r,n)}}else{this.parser.raise(p.InvalidPrivateFieldResolution,{at:n,identifierName:r})}}}declarePrivateName(e,t,r){const{privateNames:n,loneAccessors:s,undefinedPrivateNames:i}=this.current();let a=n.has(e);if(t&Ie){const r=a&&s.get(e);if(r){const n=r&Ae;const i=t&Ae;const o=r&Ie;const l=t&Ie;a=o===l||n!==i;if(!a)s.delete(e)}else if(!a){s.set(e,t)}}if(a){this.parser.raise(p.PrivateNameRedeclaration,{at:r,identifierName:e})}n.add(e);i.delete(e)}usePrivateName(e,t){let r;for(r of this.stack){if(r.privateNames.has(e))return}if(r){r.undefinedPrivateNames.set(e,t)}else{this.parser.raise(p.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}}const qe=0,He=1,Je=2,Xe=3;class ExpressionScope{constructor(e=qe){this.type=void 0;this.type=e}canBeArrowParameterDeclaration(){return this.type===Je||this.type===He}isCertainlyParameterDeclaration(){return this.type===Xe}}class ArrowHeadParsingScope extends ExpressionScope{constructor(e){super(e);this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){const r=t.index;this.declarationErrors.set(r,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class ExpressionScopeHandler{constructor(e){this.parser=void 0;this.stack=[new ExpressionScope];this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){const r={at:t.loc.start};const{stack:n}=this;let s=n.length-1;let i=n[s];while(!i.isCertainlyParameterDeclaration()){if(i.canBeArrowParameterDeclaration()){i.recordDeclarationError(e,r)}else{return}i=n[--s]}this.parser.raise(e,r)}recordArrowParameterBindingError(e,{at:t}){const{stack:r}=this;const n=r[r.length-1];const s={at:t.loc.start};if(n.isCertainlyParameterDeclaration()){this.parser.raise(e,s)}else if(n.canBeArrowParameterDeclaration()){n.recordDeclarationError(e,s)}else{return}}recordAsyncArrowParametersError({at:e}){const{stack:t}=this;let r=t.length-1;let n=t[r];while(n.canBeArrowParameterDeclaration()){if(n.type===Je){n.recordDeclarationError(p.AwaitBindingIdentifier,{at:e})}n=t[--r]}}validateAsPattern(){const{stack:e}=this;const t=e[e.length-1];if(!t.canBeArrowParameterDeclaration())return;t.iterateErrors((([t,r])=>{this.parser.raise(t,{at:r});let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r.index);s=e[--n]}}))}}function newParameterDeclarationScope(){return new ExpressionScope(Xe)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Je)}function newExpressionScope(){return new ExpressionScope}const Ge=0,ze=1,Ye=2,Qe=4,Ze=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Ye)>0}get hasYield(){return(this.currentFlags()&ze)>0}get hasReturn(){return(this.currentFlags()&Qe)>0}get hasIn(){return(this.currentFlags()&Ze)>0}}function functionFlags(e,t){return(e?Ye:0)|(t?ze:0)}class UtilParser extends Tokenizer{addExtra(e,t,r,n=true){if(!e)return;const s=e.extra=e.extra||{};if(n){s[t]=r}else{Object.defineProperty(s,t,{enumerable:n,value:r})}}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){if(this.isContextual(e)){this.next();return true}return false}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null){throw this.raise(t,{at:this.state.startLoc})}this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Me.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){Be.lastIndex=this.state.end;return Be.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(13))return;this.raise(p.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e(((e=null)=>{r.node=e;throw r}));if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:s,optionalParametersLoc:i}=e;const a=!!r||!!n||!!i||!!s;if(!t){return a}if(r!=null){this.raise(p.InvalidCoverInitializedName,{at:r})}if(n!=null){this.raise(p.DuplicateProto,{at:n})}if(s!=null){this.raise(p.UnexpectedPrivateField,{at:s})}if(i!=null){this.unexpected(i)}}isLiteralPropertyName(){return tokenIsLiteralPropertyName(this.state.type)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this,e);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this);const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this);return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=Ge;if(this.inModule){e|=Ye}this.scope.enter(V);this.prodParam.enter(e)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;if(t!==null){this.expectPlugin("destructuringPrivate",t)}}}class ExpressionErrors{constructor(){this.shorthandAssignLoc=null;this.doubleProtoLoc=null;this.privateKeyLoc=null;this.optionalParametersLoc=null}}class Node{constructor(e,t,r){this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}}const et=Node.prototype;{et.__clone=function(){const e=new Node(undefined,this.start,this.loc.start);const t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){const n=t[r];if(n!=="leadingComments"&&n!=="trailingComments"&&n!=="innerComments"){e[n]=this[n]}}return e}}function clonePlaceholder(e){return cloneIdentifier(e)}function cloneIdentifier(e){const{type:t,start:r,end:n,loc:s,range:i,extra:a,name:o}=e;const l=Object.create(et);l.type=t;l.start=r;l.end=n;l.loc=s;l.range=i;l.extra=a;l.name=o;if(t==="Placeholder"){l.expectedNode=e.expectedNode}return l}function cloneStringLiteral(e){const{type:t,start:r,end:n,loc:s,range:i,extra:a}=e;if(t==="Placeholder"){return clonePlaceholder(e)}const o=Object.create(et);o.type=t;o.start=r;o.end=n;o.loc=s;o.range=i;if(e.raw!==undefined){o.raw=e.raw}else{o.extra=a}o.value=e.value;return o}class NodeUtils extends UtilParser{startNode(){return new Node(this,this.state.start,this.state.startLoc)}startNodeAt(e){return new Node(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){e.type=t;e.end=r.index;e.loc.end=r;if(this.options.ranges)e.range[1]=r.index;if(this.options.attachComment)this.processComment(e);return e}resetStartLocation(e,t){e.start=t.index;e.loc.start=t;if(this.options.ranges)e.range[0]=t.index}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index;e.loc.end=t;if(this.options.ranges)e.range[1]=t.index}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}}const tt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const rt=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:e})=>`Cannot overwrite reserved type ${e}.`,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:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",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:Object.assign({message:"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:e})=>`Unexpected reserved type ${e}.`,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 `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}const nt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s<e.length;s++){(t(e[s],s,e)?r:n).push(e[s])}return[r,n]}const st=/\*?\s*@((?:no)?flow)\b/;var flow=e=>class FlowParserMixin extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==131&&e!==13&&e!==28){if(this.flowPragma===undefined){this.flowPragma=null}}super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=st.exec(e.value);if(!t);else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||14);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.startLoc;this.next();this.expectContextual(108);if(this.state.lastTokStart>t.index+1){this.raise(rt.UnexpectedSpaceBetweenModuloChecks,{at:t})}if(this.eat(10)){e.value=super.parseExpression();this.expect(11);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(14);let t=null;let r=null;if(this.match(54)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(54)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.match(47)){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(10);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(11);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,Pe,e.id.loc.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80)){return this.flowParseDeclareClass(e)}else if(this.match(68)){return this.flowParseDeclareFunction(e)}else if(this.match(74)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual(125)){if(this.match(16)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(rt.NestedDeclareModule,{at:this.state.lastTokStartLoc})}return this.flowParseDeclareModule(e)}}else if(this.isContextual(128)){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual(129)){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual(127)){return this.flowParseDeclareInterface(e)}else if(this.match(82)){return this.flowParseDeclareExportDeclaration(e,t)}else{this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,de,e.id.loc.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(U);if(this.match(131)){e.id=super.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(5);while(!this.match(8)){let e=this.startNode();if(this.match(83)){this.next();if(!this.isContextual(128)&&!this.match(87)){this.raise(rt.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc})}super.parseImport(e)}else{this.expectContextual(123,rt.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(8);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach((e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(rt.AmbiguousDeclareModuleKind,{at:e})}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(rt.DuplicateDeclareModuleExports,{at:e})}if(n==="ES"){this.raise(rt.AmbiguousDeclareModuleKind,{at:e})}n="CommonJS";s=true}}));e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(82);if(this.eat(65)){if(this.match(68)||this.match(80)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!t){const e=this.state.value;throw this.raise(rt.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:nt[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)){e=this.parseExport(e,null);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual(109);e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const t=this.flowParseTypeAlias(e);t.type="DeclareTypeAlias";return t}flowParseDeclareOpaqueType(e){this.next();const t=this.flowParseOpaqueType(e,true);t.type="DeclareOpaqueType";return t}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e,false);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?he:pe,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12))}if(t){e.implements=[];e.mixins=[];if(this.eatContextual(115)){do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.eatContextual(111)){do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.match(47)){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e,false);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(rt.UnexpectedReservedUnderscore,{at:this.state.startLoc})}}checkReservedType(e,t,r){if(!tt.has(e))return;this.raise(r?rt.AssignReservedType:rt.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.startLoc,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,pe,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(29);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual(128);e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,pe,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(14)){e.supertype=this.flowParseTypeInitialiser(14)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(29)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.startLoc;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(29)){this.eat(29);r.default=this.flowParseType()}else{if(e){this.raise(rt.MissingTypeParamDefault,{at:t})}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.match(47)||this.match(140)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.match(48)){this.expect(12)}}while(!this.match(48));this.expect(48);this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expect(47);const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.match(48)){e.params.push(this.flowParseType());if(!this.match(48)){this.expect(12)}}this.state.noAnonFunctionType=r;this.expect(48);this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expect(47);while(!this.match(48)){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.match(48)){this.expect(12)}}this.expect(48);this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual(127);e.extends=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===14){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(3);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(3);this.expect(3);if(this.match(47)||this.match(10)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))}else{e.method=false;if(this.eat(17)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(10);if(this.match(78)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(11)){this.expect(12)}}while(!this.match(11)&&!this.match(21)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(11)){this.expect(12)}}if(this.eat(21)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(11);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let c=false;if(t&&this.match(6)){this.expect(6);o=9;l=true}else{this.expect(5);o=8;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const u=this.startNode();if(n&&this.isContextual(116)){const t=this.lookahead();if(t.type!==14&&t.type!==17){this.next();i=this.state.startLoc;e=false}}if(e&&this.isContextual(104)){const e=this.lookahead();if(e.type!==14&&e.type!==17){this.next();t=true}}const p=this.flowParseVariance();if(this.eat(0)){if(i!=null){this.unexpected(i)}if(this.eat(0)){if(p){this.unexpected(p.loc.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,p))}}else if(this.match(10)||this.match(47)){if(i!=null){this.unexpected(i)}if(p){this.unexpected(p.loc.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual(98)||this.isContextual(103)){const t=this.lookahead();if(tokenIsLiteralPropertyName(t.type)){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(u,t,i,p,e,r,s!=null?s:!l);if(n===null){c=true;o=this.state.lastTokStartLoc}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(8)&&!this.match(9)){this.raise(rt.UnexpectedExplicitInexactInObject,{at:o})}}this.expect(o);if(r){a.inexact=c}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return u}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(21)){const t=this.match(12)||this.match(13)||this.match(8)||this.match(9);if(t){if(!i){this.raise(rt.InexactInsideNonObject,{at:this.state.lastTokStartLoc})}else if(!a){this.raise(rt.InexactInsideExact,{at:this.state.lastTokStartLoc})}if(n){this.raise(rt.InexactVariance,{at:n})}return null}if(!i){this.raise(rt.UnexpectedSpreadType,{at:this.state.lastTokStartLoc})}if(r!=null){this.unexpected(r)}if(n){this.raise(rt.SpreadVariance,{at:n})}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.match(47)||this.match(10)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.loc.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(rt.ThisParamBannedInConstructor,{at:e.value.this})}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(17)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.kind==="get"?rt.GetterMayNotHaveThisParam:rt.SetterMayNotHaveThisParam,{at:e.value.this})}if(r!==t){this.raise(e.kind==="get"?p.BadGetterArity:p.BadSetterArity,{at:e})}if(e.kind==="set"&&e.value.rest){this.raise(p.BadSetterRestParameter,{at:e})}}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t){var r;(r=e)!=null?r:e=this.state.startLoc;let n=t||this.flowParseRestrictedIdentifier(true);while(this.eat(16)){const t=this.startNodeAt(e);t.qualification=n;t.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(t,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t){const r=this.startNodeAt(e);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t);if(this.match(47)){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(87);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(0);while(this.state.pos<this.length&&!this.match(3)){e.types.push(this.flowParseType());if(this.match(3))break;this.expect(12)}this.expect(3);return this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null;let r=false;let n=null;const s=this.startNode();const i=this.lookahead();const a=this.state.type===78;if(i.type===14||i.type===17){if(a&&!e){this.raise(rt.ThisParamMustBeFirst,{at:s})}t=this.parseIdentifier(a);if(this.eat(17)){r=true;if(a){this.raise(rt.ThisParamMayNotBeOptional,{at:s})}}n=this.flowParseTypeInitialiser()}else{n=this.flowParseType()}s.name=t;s.optional=r;s.typeAnnotation=n;return this.finishNode(s,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.loc.start);t.name=null;t.optional=false;t.typeAnnotation=e;return this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null;let r=null;if(this.match(78)){r=this.flowParseFunctionTypeParam(true);r.name=null;if(!this.match(11)){this.expect(12)}}while(!this.match(11)&&!this.match(21)){e.push(this.flowParseFunctionTypeParam(false));if(!this.match(11)){this.expect(12)}}if(this.eat(21)){t=this.flowParseFunctionTypeParam(false)}return{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r){switch(r.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:this.checkNotUnderscore(r.name);return this.flowParseGenericType(e,r)}}flowParsePrimaryType(){const e=this.state.startLoc;const t=this.startNode();let r;let n;let s=false;const i=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:true,allowProto:false,allowInexact:true});case 6:return this.flowParseObjectType({allowStatic:false,allowExact:true,allowSpread:true,allowProto:false,allowInexact:false});case 0:this.state.noAnonFunctionType=false;n=this.flowParseTupleType();this.state.noAnonFunctionType=i;return n;case 47:t.typeParameters=this.flowParseTypeParameterDeclaration();this.expect(10);r=this.flowParseFunctionTypeParams();t.params=r.params;t.rest=r.rest;t.this=r._this;this.expect(11);this.expect(19);t.returnType=this.flowParseType();return this.finishNode(t,"FunctionTypeAnnotation");case 10:this.next();if(!this.match(11)&&!this.match(21)){if(tokenIsIdentifier(this.state.type)||this.match(78)){const e=this.lookahead().type;s=e!==17&&e!==14}else{s=true}}if(s){this.state.noAnonFunctionType=false;n=this.flowParseType();this.state.noAnonFunctionType=i;if(this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19)){this.expect(11);return n}else{this.eat(12)}}if(n){r=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)])}else{r=this.flowParseFunctionTypeParams()}t.params=r.params;t.rest=r.rest;t.this=r._this;this.expect(11);this.expect(19);t.returnType=this.flowParseType();t.typeParameters=null;return this.finishNode(t,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:t.value=this.match(85);this.next();return this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){this.next();if(this.match(132)){return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t)}if(this.match(133)){return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t)}throw this.raise(rt.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:this.next();return this.finishNode(t,"VoidTypeAnnotation");case 84:this.next();return this.finishNode(t,"NullLiteralTypeAnnotation");case 78:this.next();return this.finishNode(t,"ThisTypeAnnotation");case 55:this.next();return this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(tokenIsKeyword(this.state.type)){const e=tokenLabelName(this.state.type);this.next();return super.createIdentifier(t,e)}else if(tokenIsIdentifier(this.state.type)){if(this.isContextual(127)){return this.flowParseInterfaceType()}return this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType();let r=false;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){const n=this.startNodeAt(e);const s=this.eat(18);r=r||s;this.expect(0);if(!s&&this.match(3)){n.elementType=t;this.next();t=this.finishNode(n,"ArrayTypeAnnotation")}else{n.objectType=t;n.indexType=this.flowParseType();this.expect(3);if(r){n.optional=s;t=this.finishNode(n,"OptionalIndexedAccessType")}else{t=this.finishNode(n,"IndexedAccessType")}}}return t}flowParsePrefixType(){const e=this.startNode();if(this.eat(17)){e.typeAnnotation=this.flowParsePrefixType();return this.finishNode(e,"NullableTypeAnnotation")}else{return this.flowParsePostfixType()}}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.loc.start);t.params=[this.reinterpretTypeAsFunctionTypeParam(e)];t.rest=null;t.this=null;t.returnType=this.flowParseType();t.typeParameters=null;return this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const t=this.flowParseAnonFunctionWithoutParens();e.types=[t];while(this.eat(45)){e.types.push(this.flowParseAnonFunctionWithoutParens())}return e.types.length===1?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const t=this.flowParseIntersectionType();e.types=[t];while(this.eat(43)){e.types.push(this.flowParseIntersectionType())}return e.types.length===1?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=true;const t=this.flowParseUnionType();this.state.inType=e;return t}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){const e=this.state.startLoc;const t=this.parseIdentifier();return this.flowParseGenericType(e,t)}else{return this.flowParseType()}}flowParseTypeAnnotation(){const e=this.startNode();e.typeAnnotation=this.flowParseTypeInitialiser();return this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();if(this.match(14)){t.typeAnnotation=this.flowParseTypeAnnotation();this.resetEndLocation(t)}return t}typeCastToParameter(e){e.expression.typeAnnotation=e.typeAnnotation;this.resetEndLocation(e.expression,e.typeAnnotation.loc.end);return e.expression}flowParseVariance(){let e=null;if(this.match(53)){e=this.startNode();if(this.state.value==="+"){e.kind="plus"}else{e.kind="minus"}this.next();return this.finishNode(e,"Variance")}return e}parseFunctionBody(e,t,r=false){if(t){this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,true,r)));return}super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){const e=this.lookahead();if(tokenIsKeywordOrIdentifier(e.type)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);if(this.flowPragma===undefined&&!this.isValidDirective(t)){this.flowPragma=null}return t}parseExpressionStatement(e,t,r){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(80)||tokenIsIdentifier(this.state.type)||this.match(68)||this.match(74)||this.match(82)){return this.flowParseDeclare(e)}}else if(tokenIsIdentifier(this.state.type)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===124){return!this.state.containsEsc}return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===124){return this.state.containsEsc}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(r);return e}}this.expect(17);const n=this.state.clone();const s=this.state.noArrowAt;const i=this.startNodeAt(t);let{consequent:a,failed:o}=this.tryParseConditionalConsequent();let[l,c]=this.getArrowLikeExpressions(a);if(o||c.length>0){const e=[...s];if(c.length>0){this.state=n;this.state.noArrowAt=e;for(let t=0;t<c.length;t++){e.push(c[t].start)}({consequent:a,failed:o}=this.tryParseConditionalConsequent());[l,c]=this.getArrowLikeExpressions(a)}if(o&&l.length>1){this.raise(rt.AmbiguousConditionalArrow,{at:n.startLoc})}if(o&&l.length===1){this.state=n;e.push(l[0].start);this.state.noArrowAt=e;({consequent:a,failed:o}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(a,true);this.state.noArrowAt=s;this.expect(14);i.test=e;i.consequent=a;i.alternate=this.forwardNoArrowParamsConversionAt(i,(()=>this.parseMaybeAssign(undefined,undefined)));return this.finishNode(i,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(14);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach((e=>this.finishArrowValidation(e)));return[n,[]]}return partition(n,(e=>e.params.every((e=>this.isAssignable(e,true)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingCommaLoc,false);this.scope.enter(K|W);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t){e=super.parseParenItem(e,t);if(this.eat(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const r=this.startNodeAt(t);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";const t=this.startNode();this.next();if(this.match(5)){e.specifiers=this.parseExportSpecifiers(true);super.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual(127)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(e))return true;if(this.isContextual(128)&&this.lookahead().type===55){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const{startLoc:n}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(rt.DeclareClassElement,{at:n})}else if(t.value){this.raise(rt.DeclareClassFieldInitializer,{at:t.value})}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(p.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t})}this.finishToken(130,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){this.finishOp(6,2)}else if(this.state.inType&&(e===62||e===60)){this.finishOp(e===62?48:47,1)}else if(this.state.inType&&e===63){if(t===46){this.finishOp(18,2)}else{this.finishOp(17,1)}}else if(isIteratorStart(e,t,this.input.charCodeAt(this.state.pos+2))){this.state.pos+=2;this.readIterator()}else{super.getTokenFromCode(e)}}isAssignable(e,t){if(e.type==="TypeCastExpression"){return this.isAssignable(e.expression,t)}else{return super.isAssignable(e,t)}}toAssignable(e,t=false){if(!t&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"){e.left=this.typeCastToParameter(e.left)}super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];if((r==null?void 0:r.type)==="TypeCastExpression"){e[t]=this.typeCastToParameter(r)}}super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let n=0;n<e.length;n++){var r;const s=e[n];if(s&&s.type==="TypeCastExpression"&&!((r=s.extra)!=null&&r.parenthesized)&&(e.length>1||!t)){this.raise(rt.TypeCastInPattern,{at:s.typeAnnotation})}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}isValidLVal(e,t,r){return e==="TypeCastExpression"||super.isValidLVal(e,t,r)}parseClassProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(rt.ThisParamBannedInConstructor,{at:t})}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(rt.ThisParamBannedInConstructor,{at:t})}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.match(47)){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual(111)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(rt.GetterMayNotHaveThisParam,{at:r})}else if(this.isThisParam(r)){this.raise(rt.SetterMayNotHaveThisParam,{at:r})}}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,s,i,a){if(e.variance){this.unexpected(e.variance.loc.start)}delete e.variance;let o;if(this.match(47)&&!i){o=this.flowParseTypeParameterDeclaration();if(!this.match(10))this.unexpected()}const l=super.parseObjPropValue(e,t,r,n,s,i,a);if(o){(l.value||l).typeParameters=o}return l}parseAssignableListItemTypes(e){if(this.eat(17)){if(e.type!=="Identifier"){this.raise(rt.PatternIsOptional,{at:e})}if(this.isThisParam(e)){this.raise(rt.ThisParamMayNotBeOptional,{at:e})}e.optional=true}if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(rt.ThisParamAnnotationRequired,{at:e})}if(this.match(29)&&this.isThisParam(e)){this.raise(rt.ThisParamNoDefault,{at:e})}this.resetEndLocation(e);return e}parseMaybeDefault(e,t){const r=super.parseMaybeDefault(e,t);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start){this.raise(rt.TypeBeforeInitializer,{at:r.typeAnnotation})}return r}checkImportReflection(e){super.checkImportReflection(e);if(e.module&&e.importKind!=="value"){this.raise(rt.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}}parseImportSpecifierLocal(e,t,r){t.local=hasTypeImportKind(e)?this.flowParseRestrictedIdentifier(true,true):this.parseIdentifier();e.specifiers.push(this.finishImportSpecifier(t,r))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return true;if(this.isContextual(128)){if(!e)return true;const t=this.lookaheadCharCode();return t===123||t===42}return!e&&this.isContextual(87)}applyImportPhase(e,t,r,n){super.applyImportPhase(e,t,r,n);if(t){if(!r&&this.match(65)){return}e.exportKind=r==="type"?r:"value"}else{if(r==="type"&&this.match(55))this.unexpected();e.importKind=r==="type"||r==="typeof"?r:"value"}}parseImportSpecifier(e,t,r,n,s){const i=e.imported;let a=null;if(i.type==="Identifier"){if(i.name==="type"){a="type"}else if(i.name==="typeof"){a="typeof"}}let o=false;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(true);if(a!==null&&!tokenIsKeywordOrIdentifier(this.state.type)){e.imported=t;e.importKind=a;e.local=cloneIdentifier(t)}else{e.imported=i;e.importKind=null;e.local=this.parseIdentifier()}}else{if(a!==null&&tokenIsKeywordOrIdentifier(this.state.type)){e.imported=this.parseIdentifier(true);e.importKind=a}else{if(t){throw this.raise(p.ImportBindingIsString,{at:e,importName:i.value})}e.imported=i;e.importKind=null}if(this.eatContextual(93)){e.local=this.parseIdentifier()}else{o=true;e.local=cloneIdentifier(e.imported)}}const l=hasTypeImportKind(e);if(r&&l){this.raise(rt.ImportTypeShorthandOnlyInPureImport,{at:e})}if(r||l){this.checkReservedType(e.local.name,e.local.loc.start,true)}if(o&&!r&&!l){this.checkReservedWord(e.local.name,e.loc.start,true,true)}return this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseFunctionParams(e,t){const r=e.kind;if(r!=="get"&&r!=="set"&&this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(this.match(14)){e.id.typeAnnotation=this.flowParseTypeAnnotation();this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;e.returnType=this.flowParseTypeAnnotation();this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let n=null;let s;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){n=this.state.clone();s=this.tryParse((()=>super.parseMaybeAssign(e,t)),n);if(!s.error)return s.node;const{context:r}=this.state;const i=r[r.length-1];if(i===d.j_oTag||i===d.j_expr){r.pop()}}if((r=s)!=null&&r.error||this.match(47)){var i,a;n=n||this.state.clone();let r;const o=this.tryParse((n=>{var s;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,(()=>{const n=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(n,r);return n}));if((s=i.extra)!=null&&s.parenthesized)n();const a=this.maybeUnwrapTypeCastExpression(i);if(a.type!=="ArrowFunctionExpression")n();a.typeParameters=r;this.resetStartLocationFromNode(a,r);return i}),n);let l=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(rt.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r})}return o.node}l=o.node}if((i=s)!=null&&i.node){this.state=s.failState;return s.node}if(l){this.state=o.failState;return l}if((a=s)!=null&&a.thrown)throw s.error;if(o.thrown)throw o.error;throw this.raise(rt.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(19))this.unexpected();return r}));if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r,n=true){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t<e.params.length;t++){if(this.isThisParam(e.params[t])&&t>0){this.raise(rt.ThisParamMustBeFirst,{at:e.params[t]})}}super.checkParams(e,t,r,n)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t.index)!==-1){this.next();const r=this.startNodeAt(t);r.callee=e;r.arguments=super.parseCallExpressionArguments(11,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const n=this.state.clone();const s=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),n);if(!s.error&&!s.aborted)return s.node;const i=this.tryParse((()=>super.parseSubscripts(e,t,r)),n);if(i.node&&!i.error)return i.node;if(s.node){this.state=s.failState;return s.node}if(i.node){this.state=i.failState;return i.node}throw s.error||i.error}return super.parseSubscripts(e,t,r)}parseSubscript(e,t,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){n.optionalChainMember=true;if(r){n.stop=true;return e}this.next();const s=this.startNodeAt(t);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(10);s.arguments=this.parseCallExpressionArguments(11,false);s.optional=true;return this.finishCallExpression(s,true)}else if(!r&&this.shouldParseTypes()&&this.match(47)){const r=this.startNodeAt(t);r.callee=e;const s=this.tryParse((()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(10);r.arguments=super.parseCallExpressionArguments(11,false);if(n.optionalChainMember){r.optional=false}return this.finishCallExpression(r,n.optionalChainMember)}));if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n)}parseNewCallee(e){super.parseNewCallee(e);let t=null;if(this.shouldParseTypes()&&this.match(47)){t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node}e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);this.parseFunctionParams(t,false);if(!this.parseArrow(t))return;return super.parseArrowExpression(t,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(rt.UnterminatedFlowComment,{at:this.state.curPosition()})}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){throw this.raise(rt.NestedFlowComment,{at:this.state.startLoc})}this.hasFlowCommentCompletion();const e=this.skipFlowComment();if(e){this.state.pos+=e;this.state.hasFlowComment=true}return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(p.UnterminatedComment,{at:this.state.curPosition()})}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(rt.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(!t.explicitType?rt.EnumInvalidMemberInitializerUnknownType:t.explicitType==="symbol"?rt.EnumInvalidMemberInitializerSymbolType:rt.EnumInvalidMemberInitializerPrimaryType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(rt.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(rt.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){const e=this.state.startLoc;const endOfInit=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{const t=this.parseNumericLiteral(this.state.value);if(endOfInit()){return{type:"number",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 131:{const t=this.parseStringLiteral(this.state.value);if(endOfInit()){return{type:"string",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 85:case 86:{const t=this.parseBooleanLiteral(this.match(85));if(endOfInit()){return{type:"boolean",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;const t=this.parseIdentifier(true);const r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(8)){if(this.eat(21)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.raise(rt.EnumInvalidMemberName,{at:a,memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e})}if(r.has(l)){this.raise(rt.EnumDuplicateMemberName,{at:a,memberName:l,enumName:e})}r.add(l);const c={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.loc,c)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,c);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(8)){this.expect(12)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!tokenIsIdentifier(this.state.type)){throw this.raise(rt.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.raise(rt.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t})}return t}flowEnumBody(e,t){const r=t.name;const n=t.loc.start;const s=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:i,hasUnknownMembers:a}=this.flowEnumMembers({enumName:r,explicitType:s});e.hasUnknownMembers=a;switch(s){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r});this.expect(8);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(8);return this.finishNode(e,"EnumSymbolBody");default:{const empty=()=>{e.members=[];this.expect(8);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const t=i.booleanMembers.length;const s=i.numberMembers.length;const a=i.stringMembers.length;const o=i.defaultedMembers.length;if(!t&&!s&&!a&&!o){return empty()}else if(!t&&!s){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r});this.expect(8);return this.finishNode(e,"EnumStringBody")}else if(!s&&!a&&t>=o){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody")}else if(!t&&!a&&s>=o){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name})}e.members=i.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody")}else{this.raise(rt.EnumInconsistentMemberValues,{at:n,enumName:r});return empty()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),t);return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const it={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const at=ParseErrorEnum`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,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:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,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(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var jsx=e=>class JSXParserMixin extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(at.UnterminatedJsxContent,{at:this.state.startLoc})}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.canStartJSXElement){++this.state.pos;this.finishToken(140)}else{super.getTokenFromCode(r)}return}e+=this.input.slice(t,this.state.pos);this.finishToken(139,e);return;case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(p.UnterminatedString,{at:this.state.startLoc})}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(131,t)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let e=10;if(this.codePointAtPos(this.state.pos)===120){e=16;++this.state.pos}const t=this.readInt(e,undefined,false,"bail");if(t!==null&&this.codePointAtPos(this.state.pos)===59){++this.state.pos;return String.fromCodePoint(t)}}else{let t=0;let r=false;while(t++<10&&this.state.pos<this.length&&!(r=this.codePointAtPos(this.state.pos)==59)){++this.state.pos}if(r){const t=this.input.slice(e,this.state.pos);const r=it[t];++this.state.pos;if(r){return r}}}this.state.pos=e;return"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(isIdentifierChar(e)||e===45);this.finishToken(138,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();if(this.match(138)){e.name=this.state.value}else if(tokenIsKeyword(this.state.type)){e.name=tokenLabelName(this.state.type)}else{this.unexpected()}this.next();return this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc;const t=this.jsxParseIdentifier();if(!this.eat(14))return t;const r=this.startNodeAt(e);r.namespace=t;r.name=this.jsxParseIdentifier();return this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if(t.type==="JSXNamespacedName"){return t}while(this.eat(16)){const r=this.startNodeAt(e);r.object=t;r.property=this.jsxParseIdentifier();t=this.finishNode(r,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:e=this.startNode();this.setContext(d.brace);this.next();e=this.jsxParseExpressionContainer(e,d.j_oTag);if(e.expression.type==="JSXEmptyExpression"){this.raise(at.AttributeIsEmpty,{at:e})}return e;case 140:case 131:return this.parseExprAtom();default:throw this.raise(at.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){this.next();e.expression=this.parseExpression();this.setContext(d.j_expr);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8)){e.expression=this.jsxParseEmptyExpression()}else{const t=this.parseExpression();e.expression=t}this.setContext(t);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();if(this.match(5)){this.setContext(d.brace);this.next();this.expect(21);e.argument=this.parseMaybeAssignAllowIn();this.setContext(d.j_oTag);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXSpreadAttribute")}e.name=this.jsxParseNamespacedName();e.value=this.eat(29)?this.jsxParseAttributeValue():null;return this.finishNode(e,"JSXAttribute")}jsxParseOpeningElementAt(e){const t=this.startNodeAt(e);if(this.eat(141)){return this.finishNode(t,"JSXOpeningFragment")}t.name=this.jsxParseElementName();return this.jsxParseOpeningElementAfterName(t)}jsxParseOpeningElementAfterName(e){const t=[];while(!this.match(56)&&!this.match(141)){t.push(this.jsxParseAttribute())}e.attributes=t;e.selfClosing=this.eat(56);this.expect(141);return this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);if(this.eat(141)){return this.finishNode(t,"JSXClosingFragment")}t.name=this.jsxParseElementName();this.expect(141);return this.finishNode(t,"JSXClosingElement")}jsxParseElementAt(e){const t=this.startNodeAt(e);const r=[];const n=this.jsxParseOpeningElementAt(e);let s=null;if(!n.selfClosing){e:for(;;){switch(this.state.type){case 140:e=this.state.startLoc;this.next();if(this.eat(56)){s=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 139:r.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(d.brace);this.next();if(this.match(21)){r.push(this.jsxParseSpreadChild(e))}else{r.push(this.jsxParseExpressionContainer(e,d.j_expr))}break}default:this.unexpected()}}if(isFragment(n)&&!isFragment(s)&&s!==null){this.raise(at.MissingClosingTagFragment,{at:s})}else if(!isFragment(n)&&isFragment(s)){this.raise(at.MissingClosingTagElement,{at:s,openingTagName:getQualifiedJSXName(n.name)})}else if(!isFragment(n)&&!isFragment(s)){if(getQualifiedJSXName(s.name)!==getQualifiedJSXName(n.name)){this.raise(at.MissingClosingTagElement,{at:s,openingTagName:getQualifiedJSXName(n.name)})}}}if(isFragment(n)){t.openingFragment=n;t.closingFragment=s}else{t.openingElement=n;t.closingElement=s}t.children=r;if(this.match(47)){throw this.raise(at.UnwrappedAdjacentJSXElements,{at:this.state.startLoc})}return isFragment(n)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;this.next();return this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){if(this.match(139)){return this.parseLiteral(this.state.value,"JSXText")}else if(this.match(140)){return this.jsxParseElement()}else if(this.match(47)&&this.input.charCodeAt(this.state.pos)!==33){this.replaceToken(140);return this.jsxParseElement()}else{return super.parseExprAtom(e)}}skipSpace(){const e=this.curContext();if(!e.preserveSpace)super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t===d.j_expr){this.jsxReadToken();return}if(t===d.j_oTag||t===d.j_cTag){if(isIdentifierStart(e)){this.jsxReadWord();return}if(e===62){++this.state.pos;this.finishToken(141);return}if((e===34||e===39)&&t===d.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos;this.finishToken(140);return}super.getTokenFromCode(e)}updateContext(e){const{context:t,type:r}=this.state;if(r===56&&e===140){t.splice(-2,2,d.j_cTag);this.state.canStartJSXElement=false}else if(r===140){t.push(d.j_oTag)}else if(r===141){const r=t[t.length-1];if(r===d.j_oTag&&e===56||r===d.j_cTag){t.pop();this.state.canStartJSXElement=t[t.length-1]===d.j_expr}else{this.setContext(d.j_expr);this.state.canStartJSXElement=true}}else{this.state.canStartJSXElement=tokenComesBeforeExpression(r)}}};class TypeScriptScope extends Scope{constructor(...e){super(...e);this.types=new Set;this.enums=new Set;this.constEnums=new Set;this.classes=new Set;this.exportOnlyBindings=new Set}}class TypeScriptScopeHandler extends ScopeHandler{constructor(...e){super(...e);this.importsStack=[]}createScope(e){this.importsStack.push(new Set);return new TypeScriptScope(e)}enter(e){if(e==G){this.importsStack.push(new Set)}super.enter(e)}exit(){const e=super.exit();if(e==G){this.importsStack.pop()}return e}hasImport(e,t){const r=this.importsStack.length;if(this.importsStack[r-1].has(e)){return true}if(!t&&r>1){for(let t=0;t<r-1;t++){if(this.importsStack[t].has(e))return true}}return false}declareName(e,t,r){if(t&le){if(this.hasImport(e,true)){this.parser.raise(p.VarRedeclaration,{at:r,identifierName:e})}this.importsStack[this.importsStack.length-1].add(e);return}const n=this.currentScope();if(t&ae){this.maybeExportDefined(n,e);n.exportOnlyBindings.add(e);return}super.declareName(e,t,r);if(t&Q){if(!(t&Y)){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e)}n.types.add(e)}if(t&se)n.enums.add(e);if(t&ie)n.constEnums.add(e);if(t&ne)n.classes.add(e)}isRedeclaredInScope(e,t,r){if(e.enums.has(t)){if(r&se){const n=!!(r&ie);const s=e.constEnums.has(t);return n!==s}return true}if(r&ne&&e.classes.has(t)){if(e.lexical.has(t)){return!!(r&Y)}else{return false}}if(r&Q&&e.types.has(t)){return true}return super.isRedeclaredInScope(e,t,r)}checkLocalExport(e){const{name:t}=e;if(this.hasImport(t))return;const r=this.scopeStack.length;for(let e=r-1;e>=0;e--){const r=this.scopeStack[e];if(r.types.has(t)||r.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}}const getOwn$1=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];const unwrapParenthesizedExpression=e=>e.type==="ParenthesizedExpression"?unwrapParenthesizedExpression(e.expression):e;class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=unwrapParenthesizedExpression(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordArrowParameterBindingError(p.InvalidParenthesizedAssignment,{at:e})}else if(s.type!=="MemberExpression"){this.raise(p.InvalidParenthesizedAssignment,{at:e})}}else{this.raise(p.InvalidParenthesizedAssignment,{at:e})}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;r<n;r++){var i;const n=e.properties[r];const a=r===s;this.toAssignableObjectExpressionProp(n,a,t);if(a&&n.type==="RestElement"&&(i=e.extra)!=null&&i.trailingCommaLoc){this.raise(p.RestTrailingComma,{at:e.extra.trailingCommaLoc})}}break;case"ObjectProperty":{const{key:r,value:n}=e;if(this.isPrivateName(r)){this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start)}this.toAssignable(n,t);break}case"SpreadElement":{throw new Error("Internal @babel/parser error (this is a bug, please report it)."+" SpreadElement should be converted by .toAssignable's caller.")}case"ArrayExpression":e.type="ArrayPattern";this.toAssignableList(e.elements,(n=e.extra)==null?void 0:n.trailingCommaLoc,t);break;case"AssignmentExpression":if(e.operator!=="="){this.raise(p.MissingEqInAssignment,{at:e.left.loc.end})}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(s,t);break}}toAssignableObjectExpressionProp(e,t,r){if(e.type==="ObjectMethod"){this.raise(e.kind==="get"||e.kind==="set"?p.PatternHasAccessor:p.PatternHasMethod,{at:e.key})}else if(e.type==="SpreadElement"){e.type="RestElement";const n=e.argument;this.checkToRestConversion(n,false);this.toAssignable(n,r);if(!t){this.raise(p.RestTrailingComma,{at:e})}}else{this.toAssignable(e,r)}}toAssignableList(e,t,r){const n=e.length-1;for(let s=0;s<=n;s++){const i=e[s];if(!i)continue;if(i.type==="SpreadElement"){i.type="RestElement";const e=i.argument;this.checkToRestConversion(e,true);this.toAssignable(e,r)}else{this.toAssignable(i,r)}if(i.type==="RestElement"){if(s<n){this.raise(p.RestTrailingComma,{at:i})}else if(t){this.raise(p.RestTrailingComma,{at:t})}}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every(((e,r)=>e.type!=="ObjectMethod"&&(r===t||e.type!=="SpreadElement")&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>e===null||this.isAssignable(e)));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e){if((t==null?void 0:t.type)==="ArrayExpression"){this.toReferencedListDeep(t.elements)}}}parseSpread(e){const t=this.startNode();this.next();t.argument=this.parseMaybeAssignAllowIn(e,undefined);return this.finishNode(t,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();this.next();e.elements=this.parseBindingList(3,93,1);return this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,true)}return this.parseIdentifier()}parseBindingList(e,t,r){const n=r&1;const s=[];let i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(12)}if(n&&this.match(12)){s.push(null)}else if(this.eat(e)){break}else if(this.match(21)){s.push(this.parseAssignableListItemTypes(this.parseRestBinding(),r));if(!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];if(this.match(26)&&this.hasPlugin("decorators")){this.raise(p.UnsupportedParameterDecorator,{at:this.state.startLoc})}while(this.match(26)){e.push(this.parseDecorator())}s.push(this.parseAssignableListItem(r,e))}}return s}parseBindingRestProperty(e){this.next();e.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode();const{type:t,startLoc:r}=this.state;if(t===21){return this.parseBindingRestProperty(e)}else if(t===136){this.expectPlugin("destructuringPrivate",r);this.classScope.usePrivateName(this.state.value,r);e.key=this.parsePrivateName()}else{this.parsePropertyName(e)}e.method=false;return this.parseObjPropValue(e,r,false,false,true,false)}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r,e);const n=this.parseMaybeDefault(r.loc.start,r);if(t.length){r.decorators=t}return n}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var r,n;(r=e)!=null?r:e=this.state.startLoc;t=(n=t)!=null?n:this.parseBindingAtom();if(!this.eat(29))return t;const s=this.startNodeAt(e);s.left=t;s.right=this.parseMaybeAssignAllowIn();return this.finishNode(s,"AssignmentPattern")}isValidLVal(e,t,r){return getOwn$1({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,{in:t,binding:r=Te,checkClashes:n=false,strictModeChanged:s=false,hasParenthesizedAncestor:i=false}){var a;const o=e.type;if(this.isObjectMethod(e))return;if(o==="MemberExpression"){if(r!==Te){this.raise(p.InvalidPropertyBindingPattern,{at:e})}return}if(o==="Identifier"){this.checkIdentifier(e,r,s);const{name:t}=e;if(n){if(n.has(t)){this.raise(p.ParamDupe,{at:e})}else{n.add(t)}}return}const l=this.isValidLVal(o,!(i||(a=e.extra)!=null&&a.parenthesized)&&t.type==="AssignmentExpression",r);if(l===true)return;if(l===false){const n=r===Te?p.InvalidLhs:p.InvalidLhsBinding;this.raise(n,{at:e,ancestor:t});return}const[c,u]=Array.isArray(l)?l:[l,o==="ParenthesizedExpression"];const f=o==="ArrayPattern"||o==="ObjectPattern"||o==="ParenthesizedExpression"?{type:o}:t;for(const t of[].concat(e[c])){if(t){this.checkLVal(t,{in:f,binding:r,checkClashes:n,strictModeChanged:s,hasParenthesizedAncestor:u})}}}checkIdentifier(e,t,r=false){if(this.state.strict&&(r?isStrictBindReservedWord(e.name,this.inModule):isStrictBindOnlyReservedWord(e.name))){if(t===Te){this.raise(p.StrictEvalArguments,{at:e,referenceName:e.name})}else{this.raise(p.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})}}if(t&ce&&e.name==="let"){this.raise(p.LetInLexicalBinding,{at:e})}if(!(t&Te)){this.declareNameFromIdentifier(e,t)}}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(p.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){if(!this.match(12)){return false}this.raise(this.lookaheadCharCode()===e?p.RestTrailingComma:p.ElementAfterRest,{at:this.state.startLoc});return true}}const getOwn=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const ot=ParseErrorEnum`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' 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.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",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:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>`Accessibility modifier already seen.`,DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' 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'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,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:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[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:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,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 `<T,>() => ...`.",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:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",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:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}function tsIsVarianceAnnotations(e){return e==="in"||e==="out"}var typescript=e=>class TypeScriptParserMixin extends e{constructor(...e){super(...e);this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:ot.InvalidModifierOnTypeParameter});this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ot.InvalidModifierOnTypeParameterPositions});this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ot.InvalidModifierOnTypeParameter})}getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return tokenIsIdentifier(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!tokenIsIdentifier(this.state.type)&&this.state.type!==58&&this.state.type!==75){return undefined}const r=this.state.value;if(e.indexOf(r)!==-1){if(t&&this.tsIsStartOfStaticBlocks()){return undefined}if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return r}}return undefined}tsParseModifiers({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:r,errorTemplate:n=ot.InvalidModifierOnTypeMember},s){const enforceOrder=(e,t,r,n)=>{if(t===r&&s[n]){this.raise(ot.InvalidModifiersOrder,{at:e,orderedModifiers:[r,n]})}};const incompatible=(e,t,r,n)=>{if(s[r]&&t===n||s[n]&&t===r){this.raise(ot.IncompatibleModifiers,{at:e,modifiers:[r,n]})}};for(;;){const{startLoc:i}=this.state;const a=this.tsParseModifier(e.concat(t!=null?t:[]),r);if(!a)break;if(tsIsAccessModifier(a)){if(s.accessibility){this.raise(ot.DuplicateAccessibilityModifier,{at:i,modifier:a})}else{enforceOrder(i,a,a,"override");enforceOrder(i,a,a,"static");enforceOrder(i,a,a,"readonly");s.accessibility=a}}else if(tsIsVarianceAnnotations(a)){if(s[a]){this.raise(ot.DuplicateModifier,{at:i,modifier:a})}s[a]=true;enforceOrder(i,a,"in","out")}else{if(Object.hasOwnProperty.call(s,a)){this.raise(ot.DuplicateModifier,{at:i,modifier:a})}else{enforceOrder(i,a,"static","readonly");enforceOrder(i,a,"static","override");enforceOrder(i,a,"override","readonly");enforceOrder(i,a,"abstract","override");incompatible(i,a,"declare","override");incompatible(i,a,"static","abstract")}s[a]=true}if(t!=null&&t.includes(a)){this.raise(n,{at:i,modifier:a})}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t,r){return nonNull(this.tsParseDelimitedListWorker(e,t,true,r))}tsParseDelimitedListWorker(e,t,r,n){const s=[];let i=-1;for(;;){if(this.tsIsListTerminator(e)){break}i=-1;const n=t();if(n==null){return undefined}s.push(n);if(this.eat(12)){i=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(12)}return undefined}if(n){n.value=i}return s}tsParseBracketedList(e,t,r,n,s){if(!n){if(r){this.expect(0)}else{this.expect(47)}}const i=this.tsParseDelimitedList(e,t,s);if(r){this.expect(3)}else{this.expect(48)}return i}tsParseImportType(){const e=this.startNode();this.expect(83);this.expect(10);if(!this.match(131)){this.raise(ot.UnsupportedImportTypeArgument,{at:this.state.startLoc})}e.argument=super.parseExprAtom();this.expect(11);if(this.eat(16)){e.qualifier=this.tsParseEntityName()}if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e=true){let t=this.parseIdentifier(e);while(this.eat(16)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName();if(!this.hasPrecedingLineBreak()&&this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(87);if(this.match(83)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName()}if(!this.hasPrecedingLineBreak()&&this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const t=this.startNode();e(t);t.name=this.tsParseTypeParameterName();t.constraint=this.tsEatThenParseType(81);t.default=this.tsEatThenParseType(29);return this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47)){return this.tsParseTypeParameters(e)}}tsParseTypeParameters(e){const t=this.startNode();if(this.match(47)||this.match(140)){this.next()}else{this.unexpected()}const r={value:-1};t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),false,true,r);if(t.params.length===0){this.raise(ot.EmptyTypeParameters,{at:t})}if(r.value!==-1){this.addExtra(t,"trailingComma",r.value)}return this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const r=e===19;const n="parameters";const s="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier);this.expect(10);t[n]=this.tsParseBindingListForSignature();if(r){t[s]=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t[s]=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const t of e){const{type:e}=t;if(e==="AssignmentPattern"||e==="TSParameterProperty"){this.raise(ot.UnsupportedSignatureParameterKind,{at:t,type:e})}}return e}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator()){this.expect(13)}}tsParseSignatureMember(e,t){this.tsFillSignature(14,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();if(tokenIsIdentifier(this.state.type)){this.next();return this.match(14)}return false}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return}this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(3);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(17))e.optional=true;const r=e;if(this.match(10)||this.match(47)){if(t){this.raise(ot.ReadonlyForMethodSignature,{at:e})}const n=r;if(n.kind&&this.match(47)){this.raise(ot.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()})}this.tsFillSignature(14,n);this.tsParseTypeMemberSemicolon();const s="parameters";const i="typeAnnotation";if(n.kind==="get"){if(n[s].length>0){this.raise(p.BadGetterArity,{at:this.state.curPosition()});if(this.isThisParam(n[s][0])){this.raise(ot.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}}}else if(n.kind==="set"){if(n[s].length!==1){this.raise(p.BadSetterArity,{at:this.state.curPosition()})}else{const e=n[s][0];if(this.isThisParam(e)){this.raise(ot.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}if(e.type==="Identifier"&&e.optional){this.raise(ot.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()})}if(e.type==="RestElement"){this.raise(ot.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}}if(n[i]){this.raise(ot.SetAccesorCannotHaveReturnType,{at:n[i]})}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(77)){const t=this.startNode();this.next();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const t=this.tsTryParseIndexSignature(e);if(t){return t}super.parsePropertyName(e);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;super.parsePropertyName(e)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(8);return e}tsIsStartOfMappedType(){this.next();if(this.eat(53)){return this.isContextual(120)}if(this.isContextual(120)){this.next()}if(!this.match(0)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(58)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(58);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(5);if(this.match(53)){e.readonly=this.state.value;this.next();this.expectContextual(120)}else if(this.eatContextual(120)){e.readonly=true}this.expect(0);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual(93)?this.tsParseType():null;this.expect(3);if(this.match(53)){e.optional=this.state.value;this.next();this.expect(17)}else if(this.eat(17)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(8);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach((e=>{var n;const{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(ot.OptionalTypeBeforeRequired,{at:e})}t||(t=s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType");let i=s;if(s==="TSRestType"){e=e.typeAnnotation;i=e.type}const a=i==="TSNamedTupleMember";(n=r)!=null?n:r=a;if(r!==a){this.raise(ot.MixedLabeledAndUnlabeledElements,{at:e})}}));return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state;const t=this.eat(21);let r;let n;let s;let i;const a=tokenIsKeywordOrIdentifier(this.state.type);const o=a?this.lookaheadCharCode():null;if(o===58){r=true;s=false;n=this.parseIdentifier(true);this.expect(14);i=this.tsParseType()}else if(o===63){s=true;const e=this.state.startLoc;const t=this.state.value;const a=this.tsParseNonArrayType();if(this.lookaheadCharCode()===58){r=true;n=this.createIdentifier(this.startNodeAt(e),t);this.expect(17);this.expect(14);i=this.tsParseType()}else{r=false;i=a;this.expect(17)}}else{i=this.tsParseType();s=this.eat(17);r=this.eat(14)}if(r){let e;if(n){e=this.startNodeAtNode(n);e.optional=s;e.label=n;e.elementType=i;if(this.eat(17)){e.optional=true;this.raise(ot.TupleOptionalAfterType,{at:this.state.lastTokStartLoc})}}else{e=this.startNodeAtNode(i);e.optional=s;this.raise(ot.InvalidTupleMemberLabel,{at:i});e.label=i;e.elementType=this.tsParseType()}i=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(i);e.typeAnnotation=i;i=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=i;i=this.finishNode(t,"TSRestType")}return i}tsParseParenthesizedType(){const e=this.startNode();this.expect(10);e.typeAnnotation=this.tsParseType();this.expect(11);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,r)));return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 132:case 133:case 131:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=super.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual(114)&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==132&&t.type!==133){this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(tokenIsIdentifier(e)||e===88||e===84){const t=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":keywordTypeFromName(this.state.value);if(t!==undefined&&this.lookaheadCharCode()!==46){const e=this.startNode();this.next();return this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0)){if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(3);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(3);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(){const e=this.startNode();const t=this.state.value;this.next();e.operator=t;e.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(t==="readonly"){this.tsCheckTypeAnnotationForReadOnly(e)}return this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(ot.UnexpectedReadonly,{at:e})}}tsParseInferType(){const e=this.startNode();this.expectContextual(113);const t=this.startNode();t.name=this.tsParseTypeParameterName();t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType()));e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17)){return e}}}tsParseTypeOperatorOrHigher(){const e=tokenIsTSTypeOperator(this.state.type)&&!this.state.containsEsc;return e?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47)){return true}return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(tokenIsIdentifier(this.state.type)||this.match(78)){this.next();return true}if(this.match(5)){const{errors:e}=this.state;const t=e.length;try{this.parseObjectLike(8,true);return e.length===t}catch(e){return false}}if(this.match(0)){this.next();const{errors:e}=this.state;const t=e.length;try{super.parseBindingList(3,93,1);return e.length===t}catch(e){return false}}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(11)||this.match(21)){return true}if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29)){return true}if(this.match(11)){this.next();if(this.match(19)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14)){return this.tsParseTypeOrTypePredicateAnnotation(14)}}tsTryParseTypeAnnotation(){if(this.match(14)){return this.tsParseTypeAnnotation()}}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(this.state.type!==107){return false}const e=this.state.containsEsc;this.next();if(!tokenIsIdentifier(this.state.type)&&!this.match(78)){return false}if(e){this.raise(p.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"})}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType((()=>{if(e)this.expect(14);t.typeAnnotation=this.tsParseType()}));return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType()));this.expect(17);t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));this.expect(14);t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(77)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(ot.ReservedTypeAssertion,{at:this.state.startLoc})}const e=this.startNode();e.typeAnnotation=this.tsInType((()=>{this.next();return this.match(75)?this.tsParseTypeReference():this.tsParseType()}));this.expect(48);e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc;const r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();e.expression=this.tsParseEntityName();if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}));if(!r.length){this.raise(ot.EmptyHeritageClauseType,{at:t,token:e})}return r}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127);if(t.declare)e.declare=true;if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();this.checkIdentifier(e.id,me)}else{e.id=null;this.raise(ot.MissingInterfaceName,{at:this.state.startLoc})}e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(this.eat(81)){e.extends=this.tsParseHeritageClause("extends")}const r=this.startNode();r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(r,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkIdentifier(e.id,ye);e.typeAnnotation=this.tsInType((()=>{e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers);this.expect(29);if(this.isContextual(112)&&this.lookahead().type!==16){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()}));this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=true;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=false;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){if(this.match(e)){return this.tsNextThenParseType()}}tsExpectThenParseType(e){return this.tsInType((()=>{this.expect(e);return this.tsParseType()}))}tsNextThenParseType(){return this.tsInType((()=>{this.next();return this.tsParseType()}))}tsParseEnumMember(){const e=this.startNode();e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(true);if(this.eat(29)){e.initializer=super.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){if(t.const)e.const=true;if(t.declare)e.declare=true;this.expectContextual(124);e.id=this.parseIdentifier();this.checkIdentifier(e.id,e.const?Ee:ge);this.expect(5);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(8);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(U);this.expect(5);super.parseBlockOrModuleBlockBody(e.body=[],undefined,true,8);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkIdentifier(e.id,xe)}if(this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(G);this.prodParam.enter(Ge);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual(110)){e.global=true;e.id=this.parseIdentifier()}else if(this.match(131)){e.id=super.parseStringLiteral(this.state.value)}else{this.unexpected()}if(this.match(5)){this.scope.enter(G);this.prodParam.enter(Ge);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t,r){e.isExport=r||false;e.id=t||this.parseIdentifier();this.checkIdentifier(e.id,le);this.expect(29);const n=this.tsParseModuleReference();if(e.importKind==="type"&&n.type!=="TSExternalModuleReference"){this.raise(ot.ImportAliasHasImportType,{at:n})}e.moduleReference=n;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual(117);this.expect(10);if(!this.match(131)){this.unexpected()}e.expression=super.parseExprAtom();this.expect(11);this.sawUnambiguousESM=true;return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(t.aborted||!t.node)return;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual(99)){t=74;r="let"}return this.tsInAmbientContext((()=>{switch(t){case 68:e.declare=true;return super.parseFunctionStatement(e,false,false);case 80:e.declare=true;return this.parseClass(e,true,false);case 124:return this.tsParseEnumDeclaration(e,{declare:true});case 110:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:if(!this.match(75)||!this.isLookaheadContextual("enum")){e.declare=true;return this.parseVarStatement(e,r||this.state.value,true)}this.expect(75);return this.tsParseEnumDeclaration(e,{const:true,declare:true});case 127:{const t=this.tsParseInterfaceDeclaration(e,{declare:true});if(t)return t}default:if(tokenIsIdentifier(t)){return this.tsParseDeclaration(e,this.state.value,true,null)}}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true,null)}tsParseExpressionStatement(e,t,r){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true}return t}case"global":if(this.match(5)){this.scope.enter(G);this.prodParam.enter(Ge);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false,r)}}tsParseDeclaration(e,t,r,n){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||tokenIsIdentifier(this.state.type))){return this.tsParseAbstractDeclaration(e,n)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(131)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&tokenIsIdentifier(this.state.type)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch((()=>{const t=this.startNodeAt(e);t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier);super.parseFunctionParams(t);t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(19);return t}));this.state.maybeInArrowParameters=t;if(!r)return;return super.parseArrowExpression(r,null,true)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47)return;return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType((()=>this.tsInNoContext((()=>{this.expect(47);return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}))));if(e.params.length===0){this.raise(ot.EmptyTypeArguments,{at:e})}else if(!this.state.inType&&this.curContext()===d.brace){this.reScan_lt_gt()}this.expect(48);return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return tokenIsTSDeclarationStart(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.startLoc;const n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);const s=n.accessibility;const i=n.override;const a=n.readonly;if(!(e&4)&&(s||a||i)){this.raise(ot.UnexpectedParameterModifier,{at:r})}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o,e);const l=this.parseMaybeDefault(o.loc.start,o);if(s||a||i){const e=this.startNodeAt(r);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(a)e.readonly=a;if(i)e.override=i;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(ot.UnsupportedParameterPropertyKind,{at:e})}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const t of e.params){if(t.type!=="Identifier"&&t.optional&&!this.state.isAmbientContext){this.raise(ot.PatternIsOptional,{at:t})}}}setArrowFunctionParameters(e,t,r){super.setArrowFunctionParameters(e,t,r);this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(14)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"||t==="ClassPrivateMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(5)&&this.isLineTerminator()){return this.finishNode(e,n)}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(ot.DeclareFunctionHasImplementation,{at:e});if(e.declare){return super.parseFunctionBodyAndFinish(e,n,r)}}this.tsDisallowOptionalPattern(e);return super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkIdentifier(e.id,be)}else{super.registerFunctionStatementId(e)}}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(ot.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}}))}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(s.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(s.elements)}return s}parseSubscript(e,t,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=false;this.next();const r=this.startNodeAt(t);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}let s=false;if(this.match(18)&&this.lookaheadCharCode()===60){if(r){n.stop=true;return e}n.optionalChainMember=s=true;this.next()}if(this.match(47)||this.match(51)){let i;const a=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e){return e}}const a=this.tsParseTypeArgumentsInExpression();if(!a)return;if(s&&!this.match(10)){i=this.state.curPosition();return}if(tokenIsTemplate(this.state.type)){const r=super.parseTaggedTemplateExpression(e,t,n);r.typeParameters=a;return r}if(!r&&this.eat(10)){const r=this.startNodeAt(t);r.callee=e;r.arguments=this.parseCallExpressionArguments(11,false);this.tsCheckForInvalidTypeCasts(r.arguments);r.typeParameters=a;if(n.optionalChainMember){r.optional=s}return this.finishCallExpression(r,n.optionalChainMember)}const o=this.state.type;if(o===48||o===52||o!==10&&tokenCanStartExpression(o)&&!this.hasPrecedingLineBreak()){return}const l=this.startNodeAt(t);l.expression=e;l.typeParameters=a;return this.finishNode(l,"TSInstantiationExpression")}));if(i){this.unexpected(i,10)}if(a){if(a.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)){this.raise(ot.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc})}return a}}return super.parseSubscript(e,t,r,n)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:r}=e;if(r.type==="TSInstantiationExpression"&&!((t=r.extra)!=null&&t.parenthesized)){e.typeParameters=r.typeParameters;e.callee=r.expression}}parseExprOp(e,t,r){let n;if(tokenOperatorPrecedence(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(118)))){const s=this.startNodeAt(t);s.expression=e;s.typeAnnotation=this.tsInType((()=>{this.next();if(this.match(75)){if(n){this.raise(p.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"})}return this.tsParseTypeReference()}return this.tsParseType()}));this.finishNode(s,n?"TSSatisfiesExpression":"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r)}return super.parseExprOp(e,t,r)}checkReservedWord(e,t,r,n){if(!this.state.isAmbientContext){super.checkReservedWord(e,t,r,n)}}checkImportReflection(e){super.checkImportReflection(e);if(e.module&&e.importKind!=="value"){this.raise(ot.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return true;if(this.isContextual(128)){const t=this.lookaheadCharCode();return e?t===123||t===42:t!==61}return!e&&this.isContextual(87)}applyImportPhase(e,t,r,n){super.applyImportPhase(e,t,r,n);if(t){e.exportKind=r==="type"?"type":"value"}else{e.importKind=r==="type"||r==="typeof"?r:"value"}}parseImport(e){if(this.match(131)){e.importKind="value";return super.parseImport(e)}let t;if(tokenIsIdentifier(this.state.type)&&this.lookaheadCharCode()===61){e.importKind="value";return this.tsParseImportEqualsDeclaration(e)}else if(this.isContextual(128)){const r=this.parseMaybeImportPhase(e,false);if(this.lookaheadCharCode()===61){return this.tsParseImportEqualsDeclaration(e,r)}else{t=super.parseImportSpecifiersAndAfter(e,r)}}else{t=super.parseImport(e)}if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(ot.TypeImportCannotSpecifyDefaultAndNamed,{at:t})}return t}parseExport(e,t){if(this.match(83)){this.next();let t=null;if(this.isContextual(128)&&this.isPotentialImportPhase(false)){t=this.parseMaybeImportPhase(e,false)}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,t,true)}else if(this.eat(29)){const t=e;t.expression=super.parseExpression();this.semicolon();this.sawUnambiguousESM=true;return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual(93)){const t=e;this.expectContextual(126);t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{return super.parseExport(e,t)}}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;return this.parseClass(e,true,true)}if(this.match(127)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,r=false){const{isAmbientContext:n}=this.state;const s=super.parseVarStatement(e,t,r||n);if(!n)return s;for(const{id:e,init:r}of s.declarations){if(!r)continue;if(t!=="const"||!!e.typeAnnotation){this.raise(ot.InitializerNotAllowedInAmbientContext,{at:r})}else if(!isValidAmbientConstInitializer(r,this.hasPlugin("estree"))){this.raise(ot.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r})}}return s}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();this.expect(75);return this.tsParseEnumDeclaration(e,{const:true})}if(this.isContextual(124)){return this.tsParseEnumDeclaration(this.startNode())}if(this.isContextual(127)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]}))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:true,errorTemplate:ot.InvalidModifierOnTypeParameterPositions},t);const callParseClassMemberWithIsStatic=()=>{if(this.tsIsStartOfStaticBlocks()){this.next();this.next();if(this.tsHasSomeModifiers(t,n)){this.raise(ot.StaticBlockCannotHaveModifier,{at:this.state.curPosition()})}super.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,!!t.static)}};if(t.declare){this.tsInAmbientContext(callParseClassMemberWithIsStatic)}else{callParseClassMemberWithIsStatic()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(ot.IndexSignatureHasAbstract,{at:t})}if(t.accessibility){this.raise(ot.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility})}if(t.declare){this.raise(ot.IndexSignatureHasDeclare,{at:t})}if(t.override){this.raise(ot.IndexSignatureHasOverride,{at:t})}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(ot.NonAbstractClassHasAbstractMethod,{at:t})}if(t.override){if(!r.hadSuperClass){this.raise(ot.OverrideNotInSubClass,{at:t})}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(17);if(t)e.optional=true;if(e.readonly&&this.match(10)){this.raise(ot.ClassMethodHasReadonly,{at:e})}if(e.declare&&this.match(10)){this.raise(ot.ClassMethodHasDeclare,{at:e})}}parseExpressionStatement(e,t,r){const n=t.type==="Identifier"?this.tsParseExpressionStatement(e,t,r):undefined;return n||super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r){if(!this.state.maybeInArrowParameters||!this.match(17)){return super.parseConditional(e,t,r)}const n=this.tryParse((()=>super.parseConditional(e,t)));if(!n.node){if(n.error){super.setOptionalParametersError(r,n.error)}return e}if(n.error)this.state=n.failState;return n.node}parseParenItem(e,t){e=super.parseParenItem(e,t);if(this.eat(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const r=this.startNodeAt(t);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123)){return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)))}const t=this.state.startLoc;const r=this.eatContextual(123);if(r&&(this.isContextual(123)||!this.shouldParseExportDeclaration())){throw this.raise(ot.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc})}const n=tokenIsIdentifier(this.state.type);const s=n&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);if(!s)return null;if(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||r){e.exportKind="type"}if(r){this.resetStartLocation(s,t);s.declare=true}return s}parseClassId(e,t,r,n){if((!t||r)&&this.isContextual(111)){return}super.parseClassId(e,t,r,e.declare?be:ue);const s=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(s)e.typeParameters=s}parseClassPropertyAnnotation(e){if(!e.optional){if(this.eat(35)){e.definite=true}else if(this.eat(17)){e.optional=true}}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)){this.raise(ot.DeclareClassFieldHasInitializer,{at:this.state.startLoc})}if(e.abstract&&this.match(29)){const{key:t}=e;this.raise(ot.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:t.type==="Identifier"&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(ot.PrivateElementHasAbstract,{at:e})}if(e.accessibility){this.raise(ot.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility})}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){this.parseClassPropertyAnnotation(e);if(e.optional){this.raise(ot.AccessorCannotBeOptional,{at:e})}return super.parseClassAccessorProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(a&&s){this.raise(ot.ConstructorHasTypeParameters,{at:a})}const{declare:o=false,kind:l}=t;if(o&&(l==="get"||l==="set")){this.raise(ot.DeclareAccessor,{at:t,kind:l})}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){if(e.type==="TSDeclareMethod")return;if(e.type==="MethodDefinition"&&!e.value.body)return;super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&(this.match(47)||this.match(51))){e.superTypeParameters=this.tsParseTypeArgumentsInExpression()}if(this.eatContextual(111)){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,t,r,n,s,i,a){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(o)e.typeParameters=o;return super.parseObjPropValue(e,t,r,n,s,i,a)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var r,n,s,i,a;let o;let l;let c;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){o=this.state.clone();l=this.tryParse((()=>super.parseMaybeAssign(e,t)),o);if(!l.error)return l.node;const{context:r}=this.state;const n=r[r.length-1];if(n===d.j_oTag||n===d.j_expr){r.pop()}}if(!((r=l)!=null&&r.error)&&!this.match(47)){return super.parseMaybeAssign(e,t)}if(!o||o===this.state)o=this.state.clone();let u;const p=this.tryParse((r=>{var n,s;u=this.tsParseTypeParameters(this.tsParseConstModifier);const i=super.parseMaybeAssign(e,t);if(i.type!=="ArrowFunctionExpression"||(n=i.extra)!=null&&n.parenthesized){r()}if(((s=u)==null?void 0:s.params.length)!==0){this.resetStartLocationFromNode(i,u)}i.typeParameters=u;return i}),o);if(!p.error&&!p.aborted){if(u)this.reportReservedArrowTypeParam(u);return p.node}if(!l){assert(!this.hasPlugin("jsx"));c=this.tryParse((()=>super.parseMaybeAssign(e,t)),o);if(!c.error)return c.node}if((n=l)!=null&&n.node){this.state=l.failState;return l.node}if(p.node){this.state=p.failState;if(u)this.reportReservedArrowTypeParam(u);return p.node}if((s=c)!=null&&s.node){this.state=c.failState;return c.node}throw((i=l)==null?void 0:i.error)||p.error||((a=c)==null?void 0:a.error)}reportReservedArrowTypeParam(e){var t;if(e.params.length===1&&!e.params[0].constraint&&!((t=e.extra)!=null&&t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(ot.ReservedArrowTypeParam,{at:e})}}parseMaybeUnary(e,t){if(!this.hasPlugin("jsx")&&this.match(47)){return this.tsParseTypeAssertion()}return super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))e();return t}));if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e,t){if(!(t&2))return e;if(this.eat(17)){e.optional=true}const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.resetEndLocation(e);return e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return true;default:return super.isAssignable(e,t)}}toAssignable(e,t=false){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(t){this.expressionScope.recordArrowParameterBindingError(ot.UnexpectedTypeCastInParameter,{at:e})}else{this.raise(ot.UnexpectedTypeCastInParameter,{at:e})}this.toAssignable(e.expression,t);break;case"AssignmentExpression":if(!t&&e.left.type==="TSTypeCastExpression"){e.left=this.typeCastToParameter(e.left)}default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,false);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return getOwn({TSTypeCastExpression:true,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==Te||!t)&&["expression",true],TSSatisfiesExpression:(r!==Te||!t)&&["expression",true],TSTypeAssertion:(r!==Te||!t)&&["expression",true]},e)||super.isValidLVal(e,t,r)}parseBindingAtom(){if(this.state.type===78){return this.parseIdentifier(true)}return super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e){this.next();return false}return super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){const r=super.parseMaybeDefault(e,t);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start){this.raise(ot.TypeAnnotationAfterAssign,{at:r.typeAnnotation})}return r}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;if(e===47){this.state.pos-=1;this.readToken_lt()}else if(e===48){this.state.pos-=1;this.readToken_gt()}}reScan_lt(){const{type:e}=this.state;if(e===51){this.state.pos-=2;this.finishOp(47,1);return 47}return e}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];if((r==null?void 0:r.type)==="TSTypeCastExpression"){e[t]=this.typeCastToParameter(r)}}super.toAssignableList(e,t,r)}typeCastToParameter(e){e.expression.typeAnnotation=e.typeAnnotation;this.resetEndLocation(e.expression,e.typeAnnotation.loc.end);return e.expression}shouldParseArrow(e){if(this.match(14)){return e.every((e=>this.isAssignable(e,true)))}return super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,r){const n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,t){if(this.match(80)){e.abstract=true;return this.maybeTakeDecorators(t,this.parseClass(e,true,false))}else if(this.isContextual(127)){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(ot.NonClassMethodPropertyHasAbstractModifer,{at:e});return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,80)}}parseMethod(e,t,r,n,s,i,a){const o=super.parseMethod(e,t,r,n,s,i,a);if(o.abstract){const e=this.hasPlugin("estree")?!!o.value.body:!!o.body;if(e){const{key:e}=o;this.raise(ot.AbstractMethodHasImplementation,{at:o,methodName:e.type==="Identifier"&&!o.computed?e.name:`[${this.input.slice(e.start,e.end)}]`})}}return o}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}parseExportSpecifier(e,t,r,n){if(!t&&n){this.parseTypeOnlyImportExportSpecifier(e,false,r);return this.finishNode(e,"ExportSpecifier")}e.exportKind="value";return super.parseExportSpecifier(e,t,r,n)}parseImportSpecifier(e,t,r,n,s){if(!t&&n){this.parseTypeOnlyImportExportSpecifier(e,true,r);return this.finishNode(e,"ImportSpecifier")}e.importKind="value";return super.parseImportSpecifier(e,t,r,n,r?ve:le)}parseTypeOnlyImportExportSpecifier(e,t,r){const n=t?"imported":"local";const s=t?"local":"exported";let i=e[n];let a;let o=false;let l=true;const c=i.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const r=this.parseIdentifier();if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;i=e;a=t?this.parseIdentifier():this.parseModuleExportName();l=false}else{a=r;l=false}}else if(tokenIsKeywordOrIdentifier(this.state.type)){l=false;a=t?this.parseIdentifier():this.parseModuleExportName()}else{o=true;i=e}}else if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;if(t){i=this.parseIdentifier(true);if(!this.isContextual(93)){this.checkReservedWord(i.name,i.loc.start,true,true)}}else{i=this.parseModuleExportName()}}if(o&&r){this.raise(t?ot.TypeModifierIsUsedInTypeImports:ot.TypeModifierIsUsedInTypeExports,{at:c})}e[n]=i;e[s]=a;const u=t?"importKind":"exportKind";e[u]=o?"type":"value";if(l&&this.eatContextual(93)){e[s]=t?this.parseIdentifier():this.parseModuleExportName()}if(!e[s]){e[s]=cloneIdentifier(e[n])}if(t){this.checkIdentifier(e[s],o?ve:le)}}};function isPossiblyLiteralEnum(e){if(e.type!=="MemberExpression")return false;const{computed:t,property:r}=e;if(t&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)){return false}return isUncomputedMemberExpressionChain(e.object)}function isValidAmbientConstInitializer(e,t){var r;const{type:n}=e;if((r=e.extra)!=null&&r.parenthesized){return false}if(t){if(n==="Literal"){const{value:t}=e;if(typeof t==="string"||typeof t==="boolean"){return true}}}else{if(n==="StringLiteral"||n==="BooleanLiteral"){return true}}if(isNumber(e,t)||isNegativeNumber(e,t)){return true}if(n==="TemplateLiteral"&&e.expressions.length===0){return true}if(isPossiblyLiteralEnum(e)){return true}return false}function isNumber(e,t){if(t){return e.type==="Literal"&&(typeof e.value==="number"||"bigint"in e)}return e.type==="NumericLiteral"||e.type==="BigIntLiteral"}function isNegativeNumber(e,t){if(e.type==="UnaryExpression"){const{operator:r,argument:n}=e;if(r==="-"&&isNumber(n,t)){return true}}return false}function isUncomputedMemberExpressionChain(e){if(e.type==="Identifier")return true;if(e.type!=="MemberExpression"||e.computed){return false}return isUncomputedMemberExpressionChain(e.object)}const lt=ParseErrorEnum`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var placeholders=e=>class PlaceholdersParserMixin extends e{parsePlaceholder(e){if(this.match(142)){const t=this.startNode();this.next();this.assertNoSpace();t.name=super.parseIdentifier(true);this.assertNoSpace();this.expect(142);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){this.finishOp(142,2)}else{super.getTokenFromCode(e)}}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,r,n){if(e!==undefined){super.checkReservedWord(e,t,r,n)}}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,r){return e==="Placeholder"||super.isValidLVal(e,t,r)}toAssignable(e,t){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern"}else{super.toAssignable(e,t)}}chStartsBindingIdentifier(e,t){if(super.chStartsBindingIdentifier(e,t)){return true}const r=this.lookahead();if(r.type===142){return true}return false}verifyBreakContinue(e,t){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(e,t)}if(this.match(14)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration();return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(e,t,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(81)||this.match(142)||this.match(5)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{throw this.raise(lt.ClassNameIsRequired,{at:this.state.startLoc})}}else{this.parseClassId(e,t,r)}super.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e,t){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(r,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const n=this.startNode();n.exported=r;e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")];return super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(tokenLabelName(142),this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var r;if((r=e.specifiers)!=null&&r.length){return true}return super.maybeParseExportDefaultSpecifier(e,t)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter((e=>e.exported.type==="Placeholder"))}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);e.specifiers=[];if(!this.isContextual(97)&&!this.match(12)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier"));if(this.eat(12)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual(97);e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){if(this.state.start>this.state.lastTokEndLoc.index){this.raise(lt.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}};var v8intrinsic=e=>class V8IntrinsicMixin extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc;const t=this.startNode();this.next();if(tokenIsIdentifier(this.state.type)){const e=this.parseIdentifierName();const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(10)){return r}}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function hasPlugin(e,t){const[r,n]=typeof t==="string"?[t,{}]:t;const s=Object.keys(n);const i=s.length===0;return e.some((e=>{if(typeof e==="string"){return i&&e===r}else{const[t,i]=e;if(t!==r){return false}for(const e of s){if(i[e]!==n[e]){return false}}return true}}))}function getPluginOption(e,t,r){const n=e.find((e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}}));if(n&&Array.isArray(n)&&n.length>1){return n[1][r]}return null}const ct=["minimal","fsharp","hack","smart"];const ut=["^^","@@","^","%","#"];const pt=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.")}const r=getPluginOption(e,"decorators","allowCallParenthesized");if(r!=null&&typeof r!=="boolean"){throw new Error("'allowCallParenthesized' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")){const t=getPluginOption(e,"pipelineOperator","proposal");if(!ct.includes(t)){const e=ct.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=hasPlugin(e,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(hasPlugin(e,"placeholders")){throw new Error("Cannot combine placeholders plugin and Hack-style pipes.")}if(hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.")}const t=getPluginOption(e,"pipelineOperator","topicToken");if(!ut.includes(t)){const e=ut.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t==="#"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}else if(t==="smart"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")||hasPlugin(e,"importAttributes")){throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="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'.")}}}if(hasPlugin(e,"importAssertions")&&hasPlugin(e,"importAttributes")){throw new Error("Cannot combine importAssertions and importAttributes plugins.")}if(hasPlugin(e,"recordAndTuple")&&getPluginOption(e,"recordAndTuple","syntaxType")!=null&&!pt.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+pt.map((e=>`'${e}'`)).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const ft={estree:estree,jsx:jsx,flow:flow,typescript:typescript,v8intrinsic:v8intrinsic,placeholders:placeholders};const dt=Object.keys(ft);const ht={sourceType:"script",sourceFilename:undefined,startColumn:0,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowNewTargetOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false,attachComment:true,annexB:true};function getOptions(e){if(e&&e.annexB!=null&&e.annexB!==false){throw new Error("The `annexB` option can only be set to `false`.")}const t={};for(const r of Object.keys(ht)){t[r]=e&&e[r]!=null?e[r]:ht[r]}return t}class ExpressionParser extends LValParser{checkProto(e,t,r,n){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const s=e.key;const i=s.type==="Identifier"?s.name:s.value;if(i==="__proto__"){if(t){this.raise(p.RecordNoProto,{at:s});return}if(r.used){if(n){if(n.doubleProtoLoc===null){n.doubleProtoLoc=s.loc.start}}else{this.raise(p.DuplicateProto,{at:s})}}r.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes();this.nextToken();const e=this.parseExpression();if(!this.match(137)){this.unexpected()}this.finalizeRemainingComments();e.comments=this.state.comments;e.errors=this.state.errors;if(this.options.tokens){e.tokens=this.tokens}return e}parseExpression(e,t){if(e){return this.disallowInAnd((()=>this.parseExpressionBase(t)))}return this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){const t=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(12)){const n=this.startNodeAt(t);n.expressions=[r];while(this.eat(12)){n.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(n.expressions);return this.finishNode(n,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=(r=t==null?void 0:t.loc)!=null?r:this.state.startLoc}parseMaybeAssign(e,t){const r=this.state.startLoc;if(this.isContextual(106)){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r)}return e}}let n;if(e){n=false}else{e=new ExpressionErrors;n=true}const{type:s}=this.state;if(s===10||tokenIsIdentifier(s)){this.state.potentialArrowAt=this.state.start}let i=this.parseMaybeConditional(e);if(t){i=t.call(this,i,r)}if(tokenIsAssignment(this.state.type)){const t=this.startNodeAt(r);const n=this.state.value;t.operator=n;if(this.match(29)){this.toAssignable(i,true);t.left=i;const n=r.index;if(e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=n){e.doubleProtoLoc=null}if(e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=n){e.shorthandAssignLoc=null}if(e.privateKeyLoc!=null&&e.privateKeyLoc.index>=n){this.checkDestructuringPrivate(e);e.privateKeyLoc=null}}else{t.left=i}this.next();t.right=this.parseMaybeAssign();this.checkLVal(i,{in:this.finishNode(t,"AssignmentExpression")});return t}else if(n){this.checkExpressionErrors(e,true)}return i}parseMaybeConditional(e){const t=this.state.startLoc;const r=this.state.potentialArrowAt;const n=this.parseExprOps(e);if(this.shouldExitDescending(n,r)){return n}return this.parseConditional(n,t,e)}parseConditional(e,t,r){if(this.eat(17)){const r=this.startNodeAt(t);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(14);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc;const r=this.state.potentialArrowAt;const n=this.parseMaybeUnaryOrPrivate(e);if(this.shouldExitDescending(n,r)){return n}return this.parseExprOp(n,t,-1)}parseExprOp(e,t,r){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);if(r>=tokenOperatorPrecedence(58)||!this.prodParam.hasIn||!this.match(58)){this.raise(p.PrivateInExpectedIn,{at:e,identifierName:t})}this.classScope.usePrivateName(t,e.loc.start)}const n=this.state.type;if(tokenIsOperator(n)&&(this.prodParam.hasIn||!this.match(58))){let s=tokenOperatorPrecedence(n);if(s>r){if(n===39){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,t)}const i=this.startNodeAt(t);i.left=e;i.operator=this.state.value;const a=n===41||n===42;const o=n===40;if(o){s=tokenOperatorPrecedence(42)}this.next();if(n===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait){throw this.raise(p.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc})}}i.right=this.parseExprOpRightExpr(n,s);const l=this.finishNode(i,a||o?"LogicalExpression":"BinaryExpression");const c=this.state.type;if(o&&(c===41||c===42)||a&&c===40){throw this.raise(p.MixingCoalesceWithLogical,{at:this.state.startLoc})}return this.parseExprOp(l,t,r)}}return e}parseExprOpRightExpr(e,t){const r=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(106)){throw this.raise(p.PipeBodyIsTighter,{at:this.state.startLoc})}return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,tokenIsRightAssociative(e)?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state;const r=this.parseMaybeAssign();const n=o.has(r.type);if(n&&!((e=r.extra)!=null&&e.parenthesized)){this.raise(p.PipeUnparenthesizedBody,{at:t,type:r.type})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(p.PipeTopicUnused,{at:t})}return r}checkExponentialAfterUnary(e){if(this.match(57)){this.raise(p.UnexpectedTokenUnaryExponentiation,{at:e.argument})}}parseMaybeUnary(e,t){const r=this.state.startLoc;const n=this.isContextual(96);if(n&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r);if(!t)this.checkExponentialAfterUnary(e);return e}const s=this.match(34);const i=this.startNode();if(tokenIsPrefix(this.state.type)){i.operator=this.state.value;i.prefix=true;if(this.match(72)){this.expectPlugin("throwExpressions")}const r=this.match(89);this.next();i.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=i.argument;if(e.type==="Identifier"){this.raise(p.StrictDelete,{at:i})}else if(this.hasPropertyAsPrivateName(e)){this.raise(p.DeletePrivateField,{at:i})}}if(!s){if(!t){this.checkExponentialAfterUnary(i)}return this.finishNode(i,"UnaryExpression")}}const a=this.parseUpdate(i,s,e);if(n){const{type:e}=this.state;const t=this.hasPlugin("v8intrinsic")?tokenCanStartExpression(e):tokenCanStartExpression(e)&&!this.match(54);if(t&&!this.isAmbiguousAwait()){this.raiseOverwrite(p.AwaitNotInAsyncContext,{at:r});return this.parseAwait(r)}}return a}parseUpdate(e,t,r){if(t){const t=e;this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")});return e}const n=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(tokenIsPostfix(this.state.type)&&!this.canInsertSemicolon()){const e=this.startNodeAt(n);e.operator=this.state.value;e.prefix=false;e.argument=s;this.next();this.checkLVal(s,{in:s=this.finishNode(e,"UpdateExpression")})}return s}parseExprSubscripts(e){const t=this.state.startLoc;const r=this.state.potentialArrowAt;const n=this.parseExprAtom(e);if(this.shouldExitDescending(n,r)){return n}return this.parseSubscripts(n,t)}parseSubscripts(e,t,r){const n={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n);n.maybeAsyncArrow=false}while(!n.stop);return e}parseSubscript(e,t,r,n){const{type:s}=this.state;if(!r&&s===15){return this.parseBind(e,t,r,n)}else if(tokenIsTemplate(s)){return this.parseTaggedTemplateExpression(e,t,n)}let i=false;if(s===18){if(r){this.raise(p.OptionalChainingNoNew,{at:this.state.startLoc});if(this.lookaheadCharCode()===40){n.stop=true;return e}}n.optionalChainMember=i=true;this.next()}if(!r&&this.match(10)){return this.parseCoverCallAndAsyncArrowHead(e,t,n,i)}else{const r=this.eat(0);if(r||i||this.eat(16)){return this.parseMember(e,t,n,r,i)}else{n.stop=true;return e}}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t);i.object=e;i.computed=n;if(n){i.property=this.parseExpression();this.expect(3)}else if(this.match(136)){if(e.type==="Super"){this.raise(p.SuperPrivateField,{at:t})}this.classScope.usePrivateName(this.state.value,this.state.startLoc);i.property=this.parsePrivateName()}else{i.property=this.parseIdentifier(true)}if(r.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n){const s=this.startNodeAt(t);s.object=e;this.next();s.callee=this.parseNoCallExpr();n.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(e,t,r,n){const s=this.state.maybeInArrowParameters;let i=null;this.state.maybeInArrowParameters=true;this.next();const a=this.startNodeAt(t);a.callee=e;const{maybeAsyncArrow:o,optionalChainMember:l}=r;if(o){this.expressionScope.enter(newAsyncArrowScope());i=new ExpressionErrors}if(l){a.optional=n}if(n){a.arguments=this.parseCallExpressionArguments(11)}else{a.arguments=this.parseCallExpressionArguments(11,e.type==="Import",e.type!=="Super",a,i)}let c=this.finishCallExpression(a,l);if(o&&this.shouldParseAsyncArrow()&&!n){r.stop=true;this.checkDestructuringPrivate(i);this.expressionScope.validateAsPattern();this.expressionScope.exit();c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),c)}else{if(o){this.checkExpressionErrors(i,true);this.expressionScope.exit()}this.toReferencedArguments(c)}this.state.maybeInArrowParameters=s;return c}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r){const n=this.startNodeAt(t);n.tag=e;n.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(p.OptionalChainingNoTemplate,{at:t})}return this.finishNode(n,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){if(!this.hasPlugin("importAssertions")){this.expectPlugin("importAttributes")}}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectImportAttributesPlugin()}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(p.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1})}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(p.ImportCallSpreadArgument,{at:t})}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(12);if(this.match(e)){if(t&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(p.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc})}if(n){this.addTrailingCommaExtraToNode(n)}this.next();break}}i.push(this.parseExprListItem(false,s,r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.resetPreviousNodeTrailingComments(t);this.expect(19);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingCommaLoc);if(t.innerComments){setInnerComments(e,t.innerComments)}if(t.callee.trailingComments){setInnerComments(e,t.callee.trailingComments)}return e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,true)}parseExprAtom(e){let t;let r=null;const{type:n}=this.state;switch(n){case 79:return this.parseSuper();case 83:t=this.startNode();this.next();if(this.match(16)){return this.parseImportMetaProperty(t)}if(!this.match(10)){this.raise(p.UnsupportedImport,{at:this.state.lastTokStartLoc})}return this.finishNode(t,"Import");case 78:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case 90:{return this.parseDo(this.startNode(),false)}case 56:case 31:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(true);case 86:return this.parseBooleanLiteral(false);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:{return this.parseArrayLike(this.state.type===2?4:3,false,true)}case 0:{return this.parseArrayLike(3,true,false,e)}case 6:case 7:{return this.parseObjectLike(this.state.type===6?9:8,false,true)}case 5:{return this.parseObjectLike(8,false,false,e)}case 68:return this.parseFunctionOrFunctionSent();case 26:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),false);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(false);case 15:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(p.UnsupportedBind,{at:e})}}case 136:{this.raise(p.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value});return this.parsePrivateName()}case 33:{return this.parseTopicReferenceThenEqualsSign(54,"%")}case 32:{return this.parseTopicReferenceThenEqualsSign(44,"^")}case 37:case 38:{return this.parseTopicReference("hack")}case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){return this.parseTopicReference(e)}this.unexpected();break}case 47:{const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}else{this.unexpected()}break}default:if(tokenIsIdentifier(n)){if(this.isContextual(125)&&this.lookaheadInLineCharCode()===123){return this.parseModuleExpression()}const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){const{type:e}=this.state;if(e===68){this.resetPreviousNodeTrailingComments(r);this.next();return this.parseAsyncFunctionExpression(this.startNodeAtNode(r))}else if(tokenIsIdentifier(e)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r))}else{return r}}else if(e===90){this.resetPreviousNodeTrailingComments(r);return this.parseDo(this.startNodeAtNode(r),true)}}if(e&&this.match(19)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}else{this.unexpected()}}}parseTopicReferenceThenEqualsSign(e,t){const r=this.getPluginOption("pipelineOperator","proposal");if(r){this.state.type=e;this.state.value=t;this.state.pos--;this.state.end--;this.state.endLoc=createPositionWithColumnOffset(this.state.endLoc,-1);return this.parseTopicReference(r)}else{this.unexpected()}}parseTopicReference(e){const t=this.startNode();const r=this.state.startLoc;const n=this.state.type;this.next();return this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){const n=r==="smart"?"PipelinePrimaryTopicReference":"TopicReference";if(!this.topicReferenceIsAllowedInCurrentContext()){this.raise(r==="smart"?p.PrimaryTopicNotAllowed:p.PipeTopicUnbound,{at:t})}this.registerTopicReference();return this.finishNode(e,n)}else{throw this.raise(p.PipeTopicUnconfiguredToken,{at:t,token:tokenLabelName(n)})}}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{return this.hasPlugin(["pipelineOperator",{topicToken:tokenLabelName(r)}])}case"smart":return r===27;default:throw this.raise(p.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(p.LineTerminatorBeforeArrow,{at:this.state.curPosition()})}this.expect(19);return this.parseArrowExpression(e,t,true)}parseDo(e,t){this.expectPlugin("doExpressions");if(t){this.expectPlugin("asyncDoExpressions")}e.async=t;this.next();const r=this.state.labels;this.state.labels=[];if(t){this.prodParam.enter(Ye);e.body=this.parseBlock();this.prodParam.exit()}else{e.body=this.parseBlock()}this.state.labels=r;return this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(p.SuperNotAllowed,{at:e})}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(p.UnexpectedSuper,{at:e})}if(!this.match(10)&&!this.match(0)&&!this.match(16)){this.raise(p.UnsupportedSuper,{at:e})}return this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(createPositionWithColumnOffset(this.state.startLoc,1));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();if(this.match(102)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(p.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r})}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual(100)){if(!this.inModule){this.raise(p.ImportMetaOutsideModule,{at:t})}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const n=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const i=this.state.startLoc;const a=[];const o=new ExpressionErrors;let l=true;let c;let u;while(!this.match(11)){if(l){l=false}else{this.expect(12,o.optionalParametersLoc===null?null:o.optionalParametersLoc);if(this.match(11)){u=this.state.startLoc;break}}if(this.match(21)){const e=this.state.startLoc;c=this.state.startLoc;a.push(this.parseParenItem(this.parseRestBinding(),e));if(!this.checkCommaAfterRest(41)){break}}else{a.push(this.parseMaybeAssignAllowIn(o,this.parseParenItem))}}const p=this.state.lastTokEndLoc;this.expect(11);this.state.maybeInArrowParameters=n;this.state.inFSharpPipelineDirectBody=s;let f=this.startNodeAt(t);if(e&&this.shouldParseArrow(a)&&(f=this.parseArrow(f))){this.checkDestructuringPrivate(o);this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(f,a,false);return f}this.expressionScope.exit();if(!a.length){this.unexpected(this.state.lastTokStartLoc)}if(u)this.unexpected(u);if(c)this.unexpected(c);this.checkExpressionErrors(o,true);this.toReferencedListDeep(a,true);if(a.length>1){r=this.startNodeAt(i);r.expressions=a;this.finishNode(r,"SequenceExpression");this.resetEndLocation(r,p)}else{r=a[0]}return this.wrapParenthesis(t,r)}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions){this.addExtra(t,"parenthesized",true);this.addExtra(t,"parenStart",e.index);this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index);return t}const r=this.startNodeAt(e);r.expression=t;return this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19)){return e}}parseParenItem(e,t){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction){this.raise(p.UnexpectedNewTarget,{at:r})}return r}return this.parseNew(e)}parseNew(e){this.parseNewCallee(e);if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(p.ImportCallNotNewExpression,{at:e.callee})}}parseTemplateElement(e){const{start:t,startLoc:r,end:n,value:s}=this.state;const i=t+1;const a=this.startNodeAt(createPositionWithColumnOffset(r,1));if(s===null){if(!e){this.raise(p.InvalidEscapeSequenceTemplate,{at:createPositionWithColumnOffset(this.state.firstInvalidTemplateEscapePos,1)})}}const o=this.match(24);const l=o?-1:-2;const c=n+l;a.value={raw:this.input.slice(i,c).replace(/\r\n?/g,"\n"),cooked:s===null?null:s.slice(1,l)};a.tail=o;this.next();const u=this.finishNode(a,"TemplateElement");this.resetEndLocation(u,createPositionWithColumnOffset(this.state.lastTokEndLoc,l));return u}parseTemplate(e){const t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){t.expressions.push(this.parseTemplateSubstitution());this.readTemplateContinuation();t.quasis.push(r=this.parseTemplateElement(e))}return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(12);if(this.match(e)){this.addTrailingCommaExtraToNode(o);break}}let s;if(t){s=this.parseBindingProperty()}else{s=this.parsePropertyDefinition(n);this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(p.InvalidRecordProperty,{at:s})}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart);this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,false)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26)){if(this.hasPlugin("decorators")){this.raise(p.UnsupportedPropertyDecorator,{at:this.state.startLoc})}while(this.match(26)){t.push(this.parseDecorator())}}const r=this.startNode();let n=false;let s=false;let i;if(this.match(21)){if(t.length)this.unexpected();return this.parseSpread()}if(t.length){r.decorators=t;t=[]}r.method=false;if(e){i=this.state.startLoc}let a=this.eat(55);this.parsePropertyNamePrefixOperator(r);const o=this.state.containsEsc;const l=this.parsePropertyName(r,e);if(!a&&!o&&this.maybeAsyncOrAccessorProp(r)){const e=l.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;this.resetPreviousNodeTrailingComments(l);a=this.eat(55);this.parsePropertyName(r)}if(e==="get"||e==="set"){s=true;this.resetPreviousNodeTrailingComments(l);r.kind=e;if(this.match(55)){a=true;this.raise(p.AccessorIsGenerator,{at:this.state.curPosition(),kind:e});this.next()}this.parsePropertyName(r)}}return this.parseObjPropValue(r,i,a,n,false,s,e)}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);if(n.length!==r){this.raise(e.kind==="get"?p.BadGetterArity:p.BadSetterArity,{at:e})}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(p.BadSetterRestParameter,{at:e})}}parseObjectMethod(e,t,r,n,s){if(s){const r=this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(r);return r}if(r||t||this.match(10)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n){e.shorthand=false;if(this.eat(14)){e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(n);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.loc.start,true,false);if(r){e.value=this.parseMaybeDefault(t,cloneIdentifier(e.key))}else if(this.match(29)){const r=this.state.startLoc;if(n!=null){if(n.shorthandAssignLoc===null){n.shorthandAssignLoc=r}}else{this.raise(p.InvalidCoverInitializedName,{at:r})}e.value=this.parseMaybeDefault(t,cloneIdentifier(e.key))}else{e.value=cloneIdentifier(e.key)}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a){const o=this.parseObjectMethod(e,r,n,s,i)||this.parseObjectProperty(e,t,s,a);if(!o)this.unexpected();return o}parsePropertyName(e,t){if(this.eat(0)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(3)}else{const{type:r,value:n}=this.state;let s;if(tokenIsKeywordOrIdentifier(r)){s=this.parseIdentifier(true)}else{switch(r){case 132:s=this.parseNumericLiteral(n);break;case 131:s=this.parseStringLiteral(n);break;case 133:s=this.parseBigIntLiteral(n);break;case 134:s=this.parseDecimalLiteral(n);break;case 136:{const e=this.state.startLoc;if(t!=null){if(t.privateKeyLoc===null){t.privateKeyLoc=e}}else{this.raise(p.UnexpectedPrivateField,{at:e})}s=this.parsePrivateName();break}default:this.unexpected()}}e.key=s;if(r!==136){e.computed=false}}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=t;this.scope.enter(K|q|(a?J:0)|(s?H:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,n);const o=this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return o}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(K|W);let s=functionFlags(r,false);if(!this.match(5)&&this.prodParam.hasIn){s|=Ze}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,false);e.params=t}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);return this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(5);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Qe);e.body=this.parseBlock(true,false,(s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){this.raise(p.IllegalLanguageModeDirective,{at:(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.loc.end:e})}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkIdentifier(e.id,Se,a)}}));this.prodParam.exit();this.state.labels=s}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++){if(!this.isSimpleParameter(e[t]))return false}return true}checkParams(e,t,r,n=true){const s=!t&&new Set;const i={type:"FormalParameters"};for(const t of e.params){this.checkLVal(t,{in:i,binding:de,checkClashes:s,strictModeChanged:n})}}parseExprList(e,t,r,n){const s=[];let i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(12);if(this.match(e)){if(n){this.addTrailingCommaExtraToNode(n)}this.next();break}}s.push(this.parseExprListItem(t,r))}return s}parseExprListItem(e,t,r){let n;if(this.match(12)){if(!e){this.raise(p.UnexpectedToken,{at:this.state.curPosition(),unexpected:","})}n=null}else if(this.match(21)){const e=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication");if(!r){this.raise(p.UnexpectedArgumentPlaceholder,{at:this.state.startLoc})}const e=this.startNode();this.next();n=this.finishNode(e,"ArgumentPlaceholder")}else{n=this.parseMaybeAssignAllowIn(t,this.parseParenItem)}return n}parseIdentifier(e){const t=this.startNode();const r=this.parseIdentifierName(e);return this.createIdentifier(t,r)}createIdentifier(e,t){e.name=t;e.loc.identifierName=t;return this.finishNode(e,"Identifier")}parseIdentifierName(e){let t;const{startLoc:r,type:n}=this.state;if(tokenIsKeywordOrIdentifier(n)){t=this.state.value}else{this.unexpected()}const s=tokenKeywordOrIdentifierIsKeyword(n);if(e){if(s){this.replaceToken(130)}}else{this.checkReservedWord(t,r,s,false)}this.next();return t}checkReservedWord(e,t,r,n){if(e.length>10){return}if(!canBeReservedWord(e)){return}if(r&&isKeyword(e)){this.raise(p.UnexpectedKeyword,{at:t,keyword:e});return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(p.UnexpectedReservedWord,{at:t,reservedWord:e});return}else if(e==="yield"){if(this.prodParam.hasYield){this.raise(p.YieldBindingIdentifier,{at:t});return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(p.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(p.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(p.ArgumentsInClass,{at:t});return}}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e){const t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(p.AwaitExpressionFormalParameter,{at:t});if(this.eat(55)){this.raise(p.ObsoleteAwaitStar,{at:t})}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){t.argument=this.parseMaybeUnary(null,true)}return this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return true;const{type:e}=this.state;return e===53||e===10||e===0||tokenIsTemplate(e)||e===101&&!this.state.containsEsc||e===135||e===56||this.hasPlugin("v8intrinsic")&&e===54}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(p.YieldInParameter,{at:e});this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(55);switch(this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(e.type==="SequenceExpression"){this.raise(p.PipelineHeadSequenceExpression,{at:t})}}}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const r=this.startNodeAt(t);r.callee=e;return this.finishNode(r,"PipelineBareFunction")}else{const r=this.startNodeAt(t);this.checkSmartPipeTopicBodyEarlyErrors(t);r.expression=e;return this.finishNode(r,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19)){throw this.raise(p.PipelineBodyNoArrow,{at:this.state.startLoc})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(p.PipelineTopicUnused,{at:e})}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else{return e()}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Ze&~t;if(r){this.prodParam.enter(t|Ze);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Ze&t;if(r){this.prodParam.enter(t&~Ze);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);this.state.inFSharpPipelineDirectBody=r;return n}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();if(!this.match(5)){this.unexpected(null,5)}const t=this.startNodeAt(this.state.endLoc);this.next();const r=this.initializeScopes(true);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const mt={kind:"loop"},yt={kind:"switch"};const gt=/[\uD800-\uDFFF]/u;const bt=/in(?:stanceof)?/y;function babel7CompatTokens(e,t){for(let r=0;r<e.length;r++){const n=e[r];const{type:s}=n;if(typeof s==="number"){{if(s===136){const{loc:t,start:s,value:i,end:a}=n;const o=s+1;const l=createPositionWithColumnOffset(t.start,1);e.splice(r,1,new Token({type:getExportedToken(27),value:"#",start:s,end:o,startLoc:t.start,endLoc:l}),new Token({type:getExportedToken(130),value:i,start:o,end:a,startLoc:l,endLoc:t.end}));r++;continue}if(tokenIsTemplate(s)){const{loc:i,start:a,value:o,end:l}=n;const c=a+1;const u=createPositionWithColumnOffset(i.start,1);let p;if(t.charCodeAt(a)===96){p=new Token({type:getExportedToken(22),value:"`",start:a,end:c,startLoc:i.start,endLoc:u})}else{p=new Token({type:getExportedToken(8),value:"}",start:a,end:c,startLoc:i.start,endLoc:u})}let f,d,h,m;if(s===24){d=l-1;h=createPositionWithColumnOffset(i.end,-1);f=o===null?null:o.slice(1,-1);m=new Token({type:getExportedToken(22),value:"`",start:d,end:l,startLoc:h,endLoc:i.end})}else{d=l-2;h=createPositionWithColumnOffset(i.end,-2);f=o===null?null:o.slice(1,-2);m=new Token({type:getExportedToken(23),value:"${",start:d,end:l,startLoc:h,endLoc:i.end})}e.splice(r,1,p,new Token({type:getExportedToken(20),value:f,start:c,end:d,startLoc:u,endLoc:h}),m);r+=2;continue}}n.type=getExportedToken(s)}}return e}class StatementParser extends ExpressionParser{parseTopLevel(e,t){e.program=this.parseProgram(t);e.comments=this.state.comments;if(this.options.tokens){e.tokens=babel7CompatTokens(this.tokens,this.input)}return this.finishNode(e,"File")}parseProgram(e,t=137,r=this.options.sourceType){e.sourceType=r;e.interpreter=this.parseInterpreterDirective();this.parseBlockBody(e,true,true,t);if(this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0){for(const[e,t]of Array.from(this.scope.undefinedExports)){this.raise(p.ModuleExportUndefined,{at:t,localName:e})}}let n;if(t===137){n=this.finishNode(e,"Program")}else{n=this.finishNodeAt(e,"Program",createPositionWithColumnOffset(this.state.startLoc,-1))}return n}stmtToDirective(e){const t=e;t.type="Directive";t.value=t.expression;delete t.expression;const r=t.value;const n=r.value;const s=this.input.slice(r.start,r.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);this.addExtra(r,"expressionValue",n);r.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(28)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(){if(!this.isContextual(99)){return false}return this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(isIdentifierStart(e)){bt.lastIndex=t;if(bt.test(this.input)){const e=this.codePointAtPos(bt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}else if(e===92){return true}else{return false}}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){const e=this.nextTokenStart();const t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifier(){const e=this.nextTokenInLineStart();const t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){const{type:e,containsEsc:t}=this.lookahead();if(e===101&&!t){return false}else if(tokenIsIdentifier(e)&&!this.hasFollowingLineBreak()){this.expectPlugin("explicitResourceManagement");return true}}startsAwaitUsing(){let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);const t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e)){this.expectPlugin("explicitResourceManagement");return true}}return false}parseModuleItem(){return this.parseStatementLike(1|2|4|8)}parseStatementListItem(){return this.parseStatementLike(2|4|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=false){let t=0;if(this.options.annexB&&!this.state.strict){t|=4;if(e){t|=8}}return this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;if(this.match(26)){t=this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){const r=this.state.type;const n=this.startNode();const s=!!(e&2);const i=!!(e&4);const a=e&1;switch(r){case 60:return this.parseBreakContinueStatement(n,true);case 63:return this.parseBreakContinueStatement(n,false);case 64:return this.parseDebuggerStatement(n);case 90:return this.parseDoWhileStatement(n);case 91:return this.parseForStatement(n);case 68:if(this.lookaheadCharCode()===46)break;if(!i){this.raise(this.state.strict?p.StrictFunction:this.options.annexB?p.SloppyFunctionAnnexB:p.SloppyFunction,{at:this.state.startLoc})}return this.parseFunctionStatement(n,false,!s&&i);case 80:if(!s)this.unexpected();return this.parseClass(this.maybeTakeDecorators(t,n),true);case 69:return this.parseIfStatement(n);case 70:return this.parseReturnStatement(n);case 71:return this.parseSwitchStatement(n);case 72:return this.parseThrowStatement(n);case 73:return this.parseTryStatement(n);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing()){if(!this.isAwaitAllowed()){this.raise(p.AwaitUsingNotInAsyncContext,{at:n})}else if(!s){this.raise(p.UnexpectedLexicalDeclaration,{at:n})}this.next();return this.parseVarStatement(n,"await using")}break;case 105:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier()){break}this.expectPlugin("explicitResourceManagement");if(!this.scope.inModule&&this.scope.inTopLevel){this.raise(p.UnexpectedUsingDeclaration,{at:this.state.startLoc})}else if(!s){this.raise(p.UnexpectedLexicalDeclaration,{at:this.state.startLoc})}return this.parseVarStatement(n,"using");case 99:{if(this.state.containsEsc){break}const e=this.nextTokenStart();const t=this.codePointAtPos(e);if(t!==91){if(!s&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&t!==123){break}}}case 75:{if(!s){this.raise(p.UnexpectedLexicalDeclaration,{at:this.state.startLoc})}}case 74:{const e=this.state.value;return this.parseVarStatement(n,e)}case 92:return this.parseWhileStatement(n);case 76:return this.parseWithStatement(n);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(n);case 83:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case 82:{if(!this.options.allowImportExportEverywhere&&!a){this.raise(p.UnexpectedImportExport,{at:this.state.startLoc})}this.next();let e;if(r===83){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n,t);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(e);return e}default:{if(this.isAsyncFunction()){if(!s){this.raise(p.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc})}this.next();return this.parseFunctionStatement(n,true,!s&&i)}}}const o=this.state.value;const l=this.parseExpression();if(tokenIsIdentifier(r)&&l.type==="Identifier"&&this.eat(14)){return this.parseLabeledStatement(n,o,l,e)}else{return this.parseExpressionStatement(n,l,t)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(p.ImportOutsideModule,{at:e})}}decoratorsEnabledBeforeExport(){if(this.hasPlugin("decorators-legacy"))return true;return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==false}maybeTakeDecorators(e,t,r){if(e){if(t.decorators&&t.decorators.length>0){if(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!=="boolean"){this.raise(p.DecoratorsBeforeAfterExport,{at:t.decorators[0]})}t.decorators.unshift(...e)}else{t.decorators=e}this.resetStartLocationFromNode(t,e[0]);if(r)this.resetStartLocationFromNode(r,t)}return t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82)){if(!e){this.unexpected()}if(!this.decoratorsEnabledBeforeExport()){this.raise(p.DecoratorExportClass,{at:this.state.startLoc})}}else if(!this.canHaveLeadingDecorator()){throw this.raise(p.UnexpectedLeadingDecorator,{at:this.state.startLoc})}return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){const t=this.state.startLoc;let r;if(this.match(10)){const t=this.state.startLoc;this.next();r=this.parseExpression();this.expect(11);r=this.wrapParenthesis(t,r);const n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(r);if(this.getPluginOption("decorators","allowCallParenthesized")===false&&e.expression!==r){this.raise(p.DecoratorArgumentsOutsideParentheses,{at:n})}}else{r=this.parseIdentifier(false);while(this.eat(16)){const e=this.startNodeAt(t);e.object=r;if(this.match(136)){this.classScope.usePrivateName(this.state.value,this.state.startLoc);e.property=this.parsePrivateName()}else{e.property=this.parseIdentifier(true)}e.computed=false;r=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(r)}}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(11,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){const n=this.state.labels[r];if(e.label==null||n.name===e.label.name){if(n.kind!=null&&(t||n.kind==="loop"))break;if(e.label&&t)break}}if(r===this.state.labels.length){const r=t?"BreakStatement":"ContinueStatement";this.raise(p.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();this.expect(11);return e}parseDoWhileStatement(e){this.next();this.state.labels.push(mt);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));this.state.labels.pop();this.expect(92);e.test=this.parseHeaderExpression();this.eat(13);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(mt);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)){t=this.state.lastTokStartLoc}this.scope.enter(U);this.expect(10);if(this.match(13)){if(t!==null){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual(99);{const n=this.isContextual(96)&&this.startsAwaitUsing();const s=n||this.isContextual(105)&&this.startsUsingForOf();const i=r&&this.hasFollowingBindingAtom()||s;if(this.match(74)||this.match(75)||i){const r=this.startNode();let i;if(n){i="await using";if(!this.isAwaitAllowed()){this.raise(p.AwaitUsingNotInAsyncContext,{at:this.state.startLoc})}this.next()}else{i=this.state.value}this.next();this.parseVar(r,true,i);const a=this.finishNode(r,"VariableDeclaration");const o=this.match(58);if(o&&s){this.raise(p.ForInUsing,{at:a})}if((o||this.isContextual(101))&&a.declarations.length===1){return this.parseForIn(e,a,t)}if(t!==null){this.unexpected(t)}return this.parseFor(e,a)}}const n=this.isContextual(95);const s=new ExpressionErrors;const i=this.parseExpression(true,s);const a=this.isContextual(101);if(a){if(r){this.raise(p.ForOfLet,{at:i})}if(t===null&&n&&i.type==="Identifier"){this.raise(p.ForOfAsync,{at:i})}}if(a||this.match(58)){this.checkDestructuringPrivate(s);this.toAssignable(i,true);const r=a?"ForOfStatement":"ForInStatement";this.checkLVal(i,{in:{type:r}});return this.parseForIn(e,i,t)}else{this.checkExpressionErrors(s,true)}if(t!==null){this.unexpected(t)}return this.parseFor(e,i)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,1|(r?2:0)|(t?8:0))}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration();e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(p.IllegalReturn,{at:this.state.startLoc})}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(5);this.state.labels.push(yt);this.scope.enter(U);let r;for(let e;!this.match(8);){if(this.match(61)||this.match(65)){const n=this.match(61);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(p.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc})}e=true;r.test=null}this.expect(14)}else{if(r){r.consequent.push(this.parseStatementListItem())}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(p.NewlineAfterThrow,{at:this.state.lastTokEndLoc})}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();this.scope.enter(this.options.annexB&&e.type==="Identifier"?$:0);this.checkLVal(e,{in:{type:"CatchClause"},binding:fe});return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(62)){const t=this.startNode();this.next();if(this.match(10)){this.expect(10);t.param=this.parseCatchClauseParam();this.expect(11)}else{t.param=null;this.scope.enter(U)}t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(false,false)));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(67)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(p.NoCatchOrFinally,{at:e})}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t,r=false){this.next();this.parseVar(e,false,t,r);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(mt);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(p.StrictWith,{at:this.state.startLoc})}this.next();e.object=this.parseHeaderExpression();e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(p.LabelRedeclaration,{at:r,labelName:t})}}const s=tokenIsLoop(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=n&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(true):this.parseStatement();this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,r){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(5);if(t){this.scope.enter(U)}this.parseBlockBody(n,e,false,8,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(13)?null:this.parseExpression();this.semicolon(false);e.update=this.match(11)?null:this.parseExpression();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(58);this.next();if(n){if(r!==null)this.unexpected(r)}else{e.await=r!==null}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||!this.options.annexB||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(p.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"})}if(t.type==="AssignmentPattern"){this.raise(p.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}})}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r,n=false){const s=e.declarations=[];e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);e.init=!this.eat(29)?null:t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn();if(e.init===null&&!n){if(e.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))){this.raise(p.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})}else if(r==="const"&&!(this.match(58)||this.isContextual(101))){this.raise(p.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})}}s.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(12))break}return e}parseVarId(e,t){const r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:t==="var"?de:pe});e.id=r}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const r=t&2;const n=!!(t&1);const s=n&&!(t&4);const i=!!(t&8);this.initFunction(e,i);if(this.match(55)){if(r){this.raise(p.GeneratorInSingleStatementContext,{at:this.state.startLoc})}this.next();e.generator=true}if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(K);this.prodParam.enter(functionFlags(i,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")}));this.prodParam.exit();this.scope.exit();if(n&&!r){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||tokenIsIdentifier(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(11,41,2|(t?4:0));this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?de:pe:he,e.id.loc.start)}parseClass(e,t,r){this.next();const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(5);this.withSmartMixTopicForbiddingContext((()=>{while(!this.match(8)){if(this.eat(13)){if(n.length>0){throw this.raise(p.DecoratorSemicolon,{at:this.state.lastTokEndLoc})}continue}if(this.match(26)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(p.DecoratorConstructor,{at:e})}}}));this.state.strict=t;this.next();if(n.length){throw this.raise(p.TrailingDecorator,{at:this.state.startLoc})}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}this.resetPreviousNodeTrailingComments(r);return false}parseClassMember(e,t,r){const n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=t;const c=s;const u=s;t.static=n;this.parsePropertyNamePrefixOperator(t);if(this.eat(55)){c.kind="method";const t=this.match(136);this.parseClassElementName(c);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(p.ConstructorIsGenerator,{at:s.key})}this.pushClassMethod(e,s,true,false,false,false);return}const f=tokenIsIdentifier(this.state.type)&&!this.state.containsEsc;const d=this.match(136);const h=this.parseClassElementName(t);const m=this.state.startLoc;this.parsePostMemberNameModifiers(u);if(this.isClassMethod()){c.kind="method";if(d){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(p.DuplicateConstructor,{at:h})}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(p.OverrideOnConstructor,{at:h})}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(d){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(f&&h.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(h);const t=this.eat(55);if(u.optional){this.unexpected(m)}c.kind="method";const r=this.match(136);this.parseClassElementName(c);this.parsePostMemberNameModifiers(u);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(p.ConstructorIsAsync,{at:s.key})}this.pushClassMethod(e,s,t,true,false,false)}}else if(f&&(h.name==="get"||h.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(h);c.kind=h.name;const t=this.match(136);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(p.ConstructorIsAccessor,{at:s.key})}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(f&&h.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors");this.resetPreviousNodeTrailingComments(h);const t=this.match(136);this.parseClassElementName(a);this.pushClassAccessorProperty(e,l,t)}else if(this.isLineTerminator()){if(d){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r}=this.state;if((t===130||t===131)&&e.static&&r==="prototype"){this.raise(p.StaticPrototype,{at:this.state.startLoc})}if(t===136){if(r==="constructor"){this.raise(p.ConstructorClassPrivateField,{at:this.state.startLoc})}const t=this.parsePrivateName();e.key=t;return t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(J|X|q);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(Ge);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,8);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(p.DecoratorStaticBlock,{at:t})}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(p.ConstructorClassField,{at:t.key})}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),De,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){const e=t.key;if(e.name==="constructor"||e.value==="constructor"){this.raise(p.ConstructorClassField,{at:e})}}const n=this.parseClassAccessorProperty(t);e.body.push(n);if(r){this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),De,n.key.loc.start)}}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?Oe:Ne:s.kind==="set"?s.static?ke:_e:De;this.declareClassPrivateMethodInScope(s,i)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(J|q);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(Ge);e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=ue){if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();if(t){this.declareNameFromIdentifier(e.id,n)}}else{if(r||!t){e.id=null}else{throw this.raise(p.MissingClassName,{at:this.state.startLoc})}}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const r=this.parseMaybeImportPhase(e,true);const n=this.maybeParseExportDefaultSpecifier(e,r);const s=!n||this.eat(12);const i=s&&this.eatExportStar(e);const a=i&&this.maybeParseExportNamespaceSpecifier(e);const o=s&&(!a||this.eat(12));const l=n||i;if(i&&!a){if(n)this.unexpected();if(t){throw this.raise(p.UnsupportedDecoratorExport,{at:e})}this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const c=this.maybeParseExportNamedSpecifiers(e);if(n&&s&&!i&&!c){this.unexpected(null,5)}if(a&&o){this.unexpected(null,97)}let u;if(l||c){u=false;if(t){throw this.raise(p.UnsupportedDecoratorExport,{at:e})}this.parseExportFrom(e,l)}else{u=this.maybeParseExportDeclaration(e)}if(l||c||u){var f;const r=e;this.checkExport(r,true,false,!!r.source);if(((f=r.declaration)==null?void 0:f.type)==="ClassDeclaration"){this.maybeTakeDecorators(t,r.declaration,r)}else if(t){throw this.raise(p.UnsupportedDecoratorExport,{at:e})}return this.finishNode(r,"ExportNamedDeclaration")}if(this.eat(65)){const r=e;const n=this.parseExportDefaultExpression();r.declaration=n;if(n.type==="ClassDeclaration"){this.maybeTakeDecorators(t,n,r)}else if(t){throw this.raise(p.UnsupportedDecoratorExport,{at:e})}this.checkExport(r,true,true);return this.finishNode(r,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",t==null?void 0:t.loc.start);const r=t||this.parseIdentifier(true);const n=this.startNodeAtNode(r);n.exported=r;e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(5)){if(!e.specifiers)e.specifiers=[];const t=e.exportKind==="type";e.specifiers.push(...this.parseExportSpecifiers(t));e.source=null;e.declaration=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual(95))return false;const e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68)){this.next();return this.parseFunction(e,1|4)}else if(this.isAsyncFunction()){this.next();this.next();return this.parseFunction(e,1|4|8)}if(this.match(80)){return this.parseClass(e,true,true)}if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===true){this.raise(p.DecoratorBeforeExport,{at:this.state.startLoc})}return this.parseClass(this.maybeTakeDecorators(this.parseDecorators(false),this.startNode()),true,true)}if(this.match(75)||this.match(74)||this.isLet()){throw this.raise(p.UnsupportedDefaultExport,{at:this.state.startLoc})}const t=this.parseMaybeAssignAllowIn();this.semicolon();return t}parseExportDeclaration(e){if(this.match(80)){const e=this.parseClass(this.startNode(),true,false);return e}return this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsIdentifier(e)){if(e===95&&!this.state.containsEsc||e===99){return false}if((e===128||e===127)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(tokenIsIdentifier(e)&&e!==97||e===5){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(65)){return false}const t=this.nextTokenStart();const r=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||tokenIsIdentifier(this.state.type)&&r){return true}if(this.match(65)&&r){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return e===34||e===39}return false}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource();this.checkExport(e);this.maybeParseImportAttributes(e);this.checkJSONModuleImport(e)}else if(t){this.unexpected()}this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(e===26){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")===true){this.raise(p.DecoratorBeforeExport,{at:this.state.startLoc})}return true}}return e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(p.ExportDefaultFromAsIdentifier,{at:t})}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(p.ExportBindingIsString,{at:t,localName:e.value,exportName:r})}else{this.checkReservedWord(e.name,e.loc.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){if(t==="default"){this.raise(p.DuplicateDefaultExport,{at:e})}else{this.raise(p.DuplicateExport,{at:e,exportName:t})}}this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let r=true;this.expect(5);while(!this.eat(8)){if(r){r=false}else{this.expect(12);if(this.eat(8))break}const n=this.isContextual(128);const s=this.match(131);const i=this.startNode();i.local=this.parseModuleExportName();t.push(this.parseExportSpecifier(i,s,e,n))}return t}parseExportSpecifier(e,t,r,n){if(this.eatContextual(93)){e.exported=this.parseModuleExportName()}else if(t){e.exported=cloneStringLiteral(e.local)}else if(!e.exported){e.exported=cloneIdentifier(e.local)}return this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(gt);if(t){this.raise(p.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)})}return e}return this.parseIdentifier(true)}isJSONModuleImport(e){if(e.assertions!=null){return e.assertions.some((({key:e,value:t})=>t.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")))}return false}checkImportReflection(e){if(e.module){var t;if(e.specifiers.length!==1||e.specifiers[0].type!=="ImportDefaultSpecifier"){this.raise(p.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start})}if(((t=e.assertions)==null?void 0:t.length)>0){this.raise(p.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start})}}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&e.type!=="ExportAllDeclaration"){const{specifiers:t}=e;if(t!=null){const e=t.find((e=>{let t;if(e.type==="ExportSpecifier"){t=e.local}else if(e.type==="ImportSpecifier"){t=e.imported}if(t!==undefined){return t.type==="Identifier"?t.name!=="default":t.value!=="default"}}));if(e!==undefined){this.raise(p.ImportJSONBindingNotDefault,{at:e.loc.start})}}}}isPotentialImportPhase(e){return!e&&this.isContextual(125)}applyImportPhase(e,t,r,n){if(t){return}if(r==="module"){this.expectPlugin("importReflection",n);e.module=true}else if(this.hasPlugin("importReflection")){e.module=false}}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t)){this.applyImportPhase(e,t,null);return null}const r=this.parseIdentifier(true);const{type:n}=this.state;const s=tokenIsKeywordOrIdentifier(n)?n!==97||this.lookaheadCharCode()===102:n!==12;if(s){this.resetPreviousIdentifierLeadingComments(r);this.applyImportPhase(e,t,r.name,r.loc.start);return null}else{this.applyImportPhase(e,t,null);return r}}isPrecedingIdImportPhase(e){const{type:t}=this.state;return tokenIsIdentifier(t)?t!==97||this.lookaheadCharCode()===102:t!==12}parseImport(e){if(this.match(131)){return this.parseImportSourceAndAttributes(e)}return this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,false))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];const r=this.maybeParseDefaultImportSpecifier(e,t);const n=!r||this.eat(12);const s=n&&this.maybeParseStarImportSpecifier(e);if(n&&!s)this.parseNamedImportSpecifiers(e);this.expectContextual(97);return this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){var t;(t=e.specifiers)!=null?t:e.specifiers=[];e.source=this.parseImportSource();this.maybeParseImportAttributes(e);this.checkImportReflection(e);this.checkJSONModuleImport(e);this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(131))this.unexpected();return this.parseExprAtom()}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier();e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t,r=pe){this.checkLVal(e.local,{in:{type:t},binding:r});return this.finishNode(e,t)}parseImportAttributes(){this.expect(5);const e=[];const t=new Set;do{if(this.match(8)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(p.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n})}t.add(n);if(this.match(131)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(14);if(!this.match(131)){throw this.raise(p.ModuleAttributeInvalidValue,{at:this.state.startLoc})}r.value=this.parseStringLiteral(this.state.value);e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));this.expect(8);return e}parseModuleAttributes(){const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(p.ModuleAttributeDifferentFromType,{at:r.key})}if(t.has(r.key.name)){this.raise(p.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name})}t.add(r.key.name);this.expect(14);if(!this.match(131)){throw this.raise(p.ModuleAttributeInvalidValue,{at:this.state.startLoc})}r.value=this.parseStringLiteral(this.state.value);e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t;let r=false;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40){return}this.next();{if(this.hasPlugin("moduleAttributes")){t=this.parseModuleAttributes()}else{this.expectImportAttributesPlugin();t=this.parseImportAttributes()}}r=true}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){if(this.hasPlugin("importAttributes")){if(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==true){this.raise(p.ImportAttributesUseAssert,{at:this.state.startLoc})}this.addExtra(e,"deprecatedAssertSyntax",true)}else{this.expectOnePlugin(["importAttributes","importAssertions"])}this.next();t=this.parseImportAttributes()}else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){t=[]}else{if(this.hasPlugin("moduleAttributes")){t=[]}else return}if(!r&&this.hasPlugin("importAssertions")){e.assertions=t}else{e.attributes=t}}maybeParseDefaultImportSpecifier(e,t){if(t){const r=this.startNodeAtNode(t);r.local=t;e.specifiers.push(this.finishImportSpecifier(r,"ImportDefaultSpecifier"));return true}else if(tokenIsKeywordOrIdentifier(this.state.type)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();this.next();this.expectContextual(93);this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(5);while(!this.eat(8)){if(t){t=false}else{if(this.eat(14)){throw this.raise(p.DestructureNamedImport,{at:this.state.startLoc})}this.expect(12);if(this.eat(8))break}const r=this.startNode();const n=this.match(131);const s=this.isContextual(128);r.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(r,n,e.importKind==="type"||e.importKind==="typeof",s,undefined);e.specifiers.push(i)}}parseImportSpecifier(e,t,r,n,s){if(this.eatContextual(93)){e.local=this.parseIdentifier()}else{const{imported:r}=e;if(t){throw this.raise(p.ImportBindingIsString,{at:e,importName:r.value})}this.checkReservedWord(r.name,e.loc.start,true,true);if(!e.local){e.local=cloneIdentifier(r)}}return this.finishImportSpecifier(e,"ImportSpecifier",s)}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function generateExportedTokenTypes(e){const t={};for(const r of Object.keys(e)){t[r]=getExportedToken(e[r])}return t}const Tt=generateExportedTokenTypes(I);function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const St={};function getParserClass(e){const t=dt.filter((t=>hasPlugin(e,t)));const r=t.join("/");let n=St[r];if(!n){n=Parser;for(const e of t){n=ft[e](n)}St[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=Tt},6085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5389);var s=(0,n.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){{if(t.plugins.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}}t.plugins.push("jsx")}}}));t["default"]=s},6141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5389);{var removePlugin=function(e,t){const r=[];e.forEach(((e,n)=>{const s=Array.isArray(e)?e[0]:e;if(s===t){r.unshift(n)}}));for(const t of r){e.splice(t,1)}}}var s=(0,n.declare)(((e,t)=>{e.assertVersion(7);const{disallowAmbiguousJSXLike:r,dts:n}=t;{var{isTSX:s}=t}return{name:"syntax-typescript",manipulateOptions(e,t){{const{plugins:e}=t;removePlugin(e,"flow");removePlugin(e,"jsx");e.push("objectRestSpread","classProperties");if(s){e.push("jsx")}}t.plugins.push(["typescript",{disallowAmbiguousJSXLike:r,dts:n}])}}}));t["default"]=s},9511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformDynamicImport=transformDynamicImport;var n=r(3688);var s=r(6646);const requireNoInterop=e=>n.template.expression.ast`require(${e})`;const requireInterop=(e,t)=>n.types.callExpression(t.addHelper("interopRequireWildcard"),[requireNoInterop(e)]);function transformDynamicImport(e,t,r){const n=t?requireNoInterop:requireInterop;e.replaceWith((0,s.buildDynamicImport)(e.node,true,false,(e=>n(e,r))))}},8417:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5389);var s=r(6646);var i=r(6118);var a=r(3688);var o=r(9511);var l=(0,n.declare)(((e,t)=>{var r,n,l;e.assertVersion(7);const{strictNamespace:c=false,mjsStrictNamespace:u=c,allowTopLevelThis:p,strict:f,strictMode:d,noInterop:h,importInterop:m,lazy:y=false,allowCommonJSExports:g=true,loose:b=false}=t;const T=(r=e.assumption("constantReexports"))!=null?r:b;const S=(n=e.assumption("enumerableModuleMeta"))!=null?n:b;const E=(l=e.assumption("noIncompleteNsImportDetection"))!=null?l:false;if(typeof y!=="boolean"&&typeof y!=="function"&&(!Array.isArray(y)||!y.every((e=>typeof e==="string")))){throw new Error(`.lazy must be a boolean, array of strings, or a function`)}if(typeof c!=="boolean"){throw new Error(`.strictNamespace must be a boolean, or undefined`)}if(typeof u!=="boolean"){throw new Error(`.mjsStrictNamespace must be a boolean, or undefined`)}const getAssertion=e=>a.template.expression.ast` + (function(){ + throw new Error( + "The CommonJS '" + "${e}" + "' variable is not available in ES6 modules." + + "Consider setting setting sourceType:script or sourceType:unambiguous in your " + + "Babel config for this file."); + })() + `;const x={ReferencedIdentifier(e){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const r=e.scope.getBinding(t);const n=this.scope.getBinding(t);if(n!==r||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})){return}e.replaceWith(getAssertion(t))},UpdateExpression(e){const t=e.get("argument");if(!t.isIdentifier())return;const r=t.node.name;if(r!=="module"&&r!=="exports")return;const n=e.scope.getBinding(r);const s=this.scope.getBinding(r);if(s!==n)return;e.replaceWith(a.types.assignmentExpression(e.node.operator[0]+"=",t.node,getAssertion(r)))},AssignmentExpression(e){const t=e.get("left");if(t.isIdentifier()){const r=t.node.name;if(r!=="module"&&r!=="exports")return;const n=e.scope.getBinding(r);const s=this.scope.getBinding(r);if(s!==n)return;const i=e.get("right");i.replaceWith(a.types.sequenceExpression([i.node,getAssertion(r)]))}else if(t.isPattern()){const r=t.getOuterBindingIdentifiers();const n=Object.keys(r).filter((t=>{if(t!=="module"&&t!=="exports")return false;return this.scope.getBinding(t)===e.scope.getBinding(t)}))[0];if(n){const t=e.get("right");t.replaceWith(a.types.sequenceExpression([t.node,getAssertion(n)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression(e){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!a.types.isImport(e.node.callee))return;let{scope:t}=e;do{t.rename("require")}while(t=t.parent);(0,o.transformDynamicImport)(e,h,this.file)},Program:{exit(e,r){if(!(0,s.isModule)(e))return;e.scope.rename("exports");e.scope.rename("module");e.scope.rename("require");e.scope.rename("__filename");e.scope.rename("__dirname");if(!g){{(0,i.default)(e,new Set(["module","exports"]),false)}e.traverse(x,{scope:e.scope})}let n=(0,s.getModuleName)(this.file.opts,t);if(n)n=a.types.stringLiteral(n);const{meta:o,headers:l}=(0,s.rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",constantReexports:T,enumerableModuleMeta:S,strict:f,strictMode:d,allowTopLevelThis:p,noInterop:h,importInterop:m,lazy:y,esNamespaceOnly:typeof r.filename==="string"&&/\.mjs$/.test(r.filename)?u:c,noIncompleteNsImportDetection:E,filename:this.file.opts.filename});for(const[t,r]of o.source){const n=a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(t)]);let i;if((0,s.isSideEffectImport)(r)){if(r.lazy)throw new Error("Assertion failure");i=a.types.expressionStatement(n)}else{if(r.lazy&&!r.referenced){continue}const t=(0,s.wrapInterop)(e,n,r.interop)||n;if(r.lazy){i=a.template.statement.ast` + function ${r.name}() { + const data = ${t}; + ${r.name} = function(){ return data; }; + return data; + } + `}else{i=a.template.statement.ast` + var ${r.name} = ${t}; + `}}i.loc=r.loc;l.push(i);l.push(...(0,s.buildNamespaceInitStatements)(o,r,T))}(0,s.ensureStatementsHoisted)(l);e.unshiftContainer("body",l);e.get("body").forEach((e=>{if(l.indexOf(e.node)===-1)return;if(e.isVariableDeclaration()){e.scope.registerDeclaration(e)}}))}}}}}));t["default"]=l},6969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileConstEnum;var n=r(7812);function transpileConstEnum(e,t){const{name:r}=e.node.id;const s=e.parentPath.isExportNamedDeclaration();let i=s;if(!i&&t.isProgram(e.parent)){i=e.parent.body.some((e=>t.isExportNamedDeclaration(e)&&e.exportKind!=="type"&&!e.source&&e.specifiers.some((e=>t.isExportSpecifier(e)&&e.exportKind!=="type"&&e.local.name===r))))}const{enumValues:a}=(0,n.translateEnumValues)(e,t);if(i){const n=t.objectExpression(a.map((([e,r])=>t.objectProperty(t.isValidIdentifier(e)?t.identifier(e):t.stringLiteral(e),r))));if(e.scope.hasOwnBinding(r)){(s?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,n])))}else{e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,n)]));e.scope.registerDeclaration(e)}return}const o=new Map(a);e.scope.path.traverse({Scope(e){if(e.scope.hasOwnBinding(r))e.skip()},MemberExpression(e){if(!t.isIdentifier(e.node.object,{name:r}))return;let n;if(e.node.computed){if(t.isStringLiteral(e.node.property)){n=e.node.property.value}else{return}}else if(t.isIdentifier(e.node.property)){n=e.node.property.name}else{return}if(!o.has(n))return;e.replaceWith(t.cloneNode(o.get(n)))}});e.remove()}},7812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileEnum;t.translateEnumValues=translateEnumValues;var n=r(3688);var s=r(9491);var i=r(365);const a=new WeakMap;const o=n.template.expression(`\n (function (ID) {\n ASSIGNMENTS;\n return ID;\n })(INIT)\n `);function transpileEnum(e,t){const{node:r,parentPath:n}=e;if(r.declare){e.remove();return}const s=r.id.name;const{fill:l,data:c,isPure:u}=enumFill(e,t,r.id);switch(n.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{const p=t.isProgram(e.parent);const f=seen(n);let d=t.objectExpression([]);if(f||p){d=t.logicalExpression("||",t.cloneNode(l.ID),d)}const h=o(Object.assign({},l,{INIT:d}));if(u)(0,i.default)(h);if(f){const s=n.isExportDeclaration()?n:e;s.replaceWith(t.expressionStatement(t.assignmentExpression("=",t.cloneNode(r.id),h)))}else{e.scope.registerDeclaration(e.replaceWith(t.variableDeclaration(p?"var":"let",[t.variableDeclarator(r.id,h)]))[0])}a.set(e.scope.getBindingIdentifier(s),c);break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function seen(e){if(e.isExportDeclaration()){return seen(e.parentPath)}if(e.getData(s)){return true}else{e.setData(s,true);return false}}}const l=(0,n.template)(`\n ENUM["NAME"] = VALUE;\n`);const c=(0,n.template)(`\n ENUM[ENUM["NAME"] = VALUE] = "NAME";\n`);const buildEnumMember=(e,t)=>(e?l:c)(t);function enumFill(e,t,r){const{enumValues:n,data:s,isPure:i}=translateEnumValues(e,t);const a=n.map((([e,n])=>buildEnumMember(t.isStringLiteral(n),{ENUM:t.cloneNode(r),NAME:e,VALUE:n})));return{fill:{ID:t.cloneNode(r),ASSIGNMENTS:a},data:s,isPure:i}}function ReferencedIdentifier(e,t){const{seen:r,path:n,t:s}=t;const i=e.node.name;if(r.has(i)&&!e.scope.hasOwnBinding(i)){e.replaceWith(s.memberExpression(s.cloneNode(n.node.id),s.cloneNode(e.node)));e.skip()}}const u={ReferencedIdentifier:ReferencedIdentifier};function translateEnumValues(e,t){const r=new Map;let n=-1;let i;let a=true;const o=e.get("members").map((o=>{const l=o.node;const c=t.isIdentifier(l.id)?l.id.name:l.id.value;const p=o.get("initializer");const f=l.initializer;let d;if(f){n=computeConstantValue(p,r);if(n!==undefined){r.set(c,n);s(typeof n==="number"||typeof n==="string");if(n===Infinity||Number.isNaN(n)){d=t.identifier(String(n))}else if(n===-Infinity){d=t.unaryExpression("-",t.identifier("Infinity"))}else{d=t.valueToNode(n)}}else{a&&(a=p.isPure());if(p.isReferencedIdentifier()){ReferencedIdentifier(p,{t:t,seen:r,path:e})}else{p.traverse(u,{t:t,seen:r,path:e})}d=p.node;r.set(c,undefined)}}else if(typeof n==="number"){n+=1;d=t.numericLiteral(n);r.set(c,n)}else if(typeof n==="string"){throw e.buildCodeFrameError("Enum member must have initializer.")}else{const n=t.memberExpression(t.cloneNode(e.node.id),t.stringLiteral(i),true);d=t.binaryExpression("+",t.numericLiteral(1),n);r.set(c,undefined)}i=c;return[c,d]}));return{isPure:a,data:r,enumValues:o}}function computeConstantValue(e,t,r=new Set){return evaluate(e);function evaluate(e){const n=e.node;switch(n.type){case"MemberExpression":return evaluateRef(e,t,r);case"StringLiteral":return n.value;case"UnaryExpression":return evalUnaryExpression(e);case"BinaryExpression":return evalBinaryExpression(e);case"NumericLiteral":return n.value;case"ParenthesizedExpression":return evaluate(e.get("expression"));case"Identifier":return evaluateRef(e,t,r);case"TemplateLiteral":{if(n.quasis.length===1){return n.quasis[0].value.cooked}const s=e.get("expressions");const i=n.quasis;let a="";for(let e=0;e<i.length;e++){a+=i[e].value.cooked;if(e+1<i.length){const n=evaluateRef(s[e],t,r);if(n===undefined)return undefined;a+=n}}return a}default:return undefined}}function evaluateRef(e,t,r){if(e.isMemberExpression()){const t=e.node;const r=t.object;const s=t.property;if(!n.types.isIdentifier(r)||(t.computed?!n.types.isStringLiteral(s):!n.types.isIdentifier(s))){return}const i=e.scope.getBindingIdentifier(r.name);const o=a.get(i);if(!o)return;return o.get(s.computed?s.value:s.name)}else if(e.isIdentifier()){const n=e.node.name;if(["Infinity","NaN"].includes(n)){return Number(n)}let s=t==null?void 0:t.get(n);if(s!==undefined){return s}if(r.has(e.node))return;const i=e.resolve();if(i){r.add(e.node);s=computeConstantValue(i,undefined,r);t==null?void 0:t.set(n,s);return s}}}function evalUnaryExpression(e){const t=evaluate(e.get("argument"));if(t===undefined){return undefined}switch(e.node.operator){case"+":return t;case"-":return-t;case"~":return~t;default:return undefined}}function evalBinaryExpression(e){const t=evaluate(e.get("left"));if(t===undefined){return undefined}const r=evaluate(e.get("right"));if(r===undefined){return undefined}switch(e.node.operator){case"|":return t|r;case"&":return t&r;case">>":return t>>r;case">>>":return t>>>r;case"<<":return t<<r;case"^":return t^r;case"*":return t*r;case"/":return t/r;case"+":return t+r;case"-":return t-r;case"%":return t%r;case"**":return Math.pow(t,r);default:return undefined}}}},7167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5389);var s=r(6141);var i=r(269);var a=r(6969);var o=r(7812);var l=r(2274);function isInType(e){switch(e.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return true;case"TSQualifiedName":return e.parentPath.findParent((e=>e.type!=="TSQualifiedName")).type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return e.parent.exportKind==="type"||e.parentPath.parent.exportKind==="type";default:return false}}const c=new WeakMap;const u=new WeakMap;const p=new WeakSet;function isGlobalType({scope:e},t){if(e.hasBinding(t))return false;if(c.get(e).has(t))return true;console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker\n`+`as a JavaScript value binding, and "@babel/plugin-transform-typescript"\n`+`never encountered it as a TypeScript type declaration.\n`+`It will be treated as a JavaScript value.\n\n`+`This problem is likely caused by another plugin injecting\n`+`"${t}" without registering it in the scope tracker. If you are the author\n`+` of that plugin, please use "scope.registerDeclaration(declarationPath)".`);return false}function registerGlobalType(e,t){c.get(e).add(t)}function safeRemove(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const n=e.scope.getBinding(r);if(n&&n.identifier===t[r]){n.scope.removeBinding(r)}}e.opts.noScope=true;e.remove();e.opts.noScope=false}function assertCjsTransformEnabled(e,t,r,n,s=""){if(t.file.get("@babel/plugin-transform-modules-*")!=="commonjs"){throw e.buildCodeFrameError(`\`${r}\` is only supported when compiling modules to CommonJS.\n`+`Please consider using \`${n}\`${s}, or add `+`@babel/plugin-transform-modules-commonjs to your Babel config.`)}}var f=(0,n.declare)(((e,t)=>{const{types:r,template:n}=e;e.assertVersion(7);const f=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/;const{allowNamespaces:d=true,jsxPragma:h="React.createElement",jsxPragmaFrag:m="React.Fragment",onlyRemoveTypeImports:y=false,optimizeConstEnums:g=false}=t;{var{allowDeclareFields:b=false}=t}const T={field(e){const{node:t}=e;{if(!b&&t.declare){throw e.buildCodeFrameError(`The 'declare' modifier is only allowed when the 'allowDeclareFields' option of `+`@babel/plugin-transform-typescript or @babel/preset-typescript is enabled.`)}}if(t.declare){if(t.value){throw e.buildCodeFrameError(`Fields with the 'declare' modifier cannot be initialized here, but only in the constructor`)}if(!t.decorators){e.remove()}}else if(t.definite){if(t.value){throw e.buildCodeFrameError(`Definitely assigned fields cannot be initialized here, but only in the constructor`)}{if(!b&&!t.decorators&&!r.isClassPrivateProperty(t)){e.remove()}}}else if(t.abstract){e.remove()}else{if(!b&&!t.value&&!t.decorators&&!r.isClassPrivateProperty(t)){e.remove()}}if(t.accessibility)t.accessibility=null;if(t.abstract)t.abstract=null;if(t.readonly)t.readonly=null;if(t.optional)t.optional=null;if(t.typeAnnotation)t.typeAnnotation=null;if(t.definite)t.definite=null;if(t.declare)t.declare=null;if(t.override)t.override=null},method({node:e}){if(e.accessibility)e.accessibility=null;if(e.abstract)e.abstract=null;if(e.optional)e.optional=null;if(e.override)e.override=null},constructor(e,t){if(e.node.accessibility)e.node.accessibility=null;const s=[];const{scope:a}=e;for(const t of e.get("params")){const e=t.node;if(e.type==="TSParameterProperty"){const i=e.parameter;if(p.has(i))continue;p.add(i);let o;if(r.isIdentifier(i)){o=i}else if(r.isAssignmentPattern(i)&&r.isIdentifier(i.left)){o=i.left}else{throw t.buildCodeFrameError("Parameter properties can not be destructuring patterns.")}s.push(n.statement.ast` + this.${r.cloneNode(o)} = ${r.cloneNode(o)}`);t.replaceWith(t.get("parameter"));a.registerBinding("param",t)}}(0,i.injectInitialization)(t,e,s)}};return{name:"transform-typescript",inherits:s.default,visitor:{Pattern:visitPattern,Identifier:visitPattern,RestElement:visitPattern,Program:{enter(e,t){const{file:r}=t;let n=null;let s=null;const i=e.scope;if(!c.has(i)){c.set(i,new Set)}if(r.ast.comments){for(const e of r.ast.comments){const t=f.exec(e.value);if(t){if(t[1]){s=t[2]}else{n=t[2]}}}}let a=n||h;if(a){[a]=a.split(".")}let o=s||m;if(o){[o]=o.split(".")}for(let r of e.get("body")){if(r.isImportDeclaration()){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(r.node.importKind==="type"){for(const e of r.node.specifiers){registerGlobalType(i,e.local.name)}r.remove();continue}const n=new Set;const s=r.node.specifiers.length;const isAllSpecifiersElided=()=>s>0&&s===n.size;for(const e of r.node.specifiers){if(e.type==="ImportSpecifier"&&e.importKind==="type"){registerGlobalType(i,e.local.name);const t=r.scope.getBinding(e.local.name);if(t){n.add(t.path)}}}if(y){u.set(e.node,false)}else{if(r.node.specifiers.length===0){u.set(e.node,false);continue}for(const t of r.node.specifiers){const s=r.scope.getBinding(t.local.name);if(s&&!n.has(s.path)){if(isImportTypeOnly({binding:s,programPath:e,pragmaImportName:a,pragmaFragImportName:o})){n.add(s.path)}else{u.set(e.node,false)}}}}if(isAllSpecifiersElided()&&!y){r.remove()}else{for(const e of n){e.remove()}}continue}if(r.isExportDeclaration()){r=r.get("declaration")}if(r.isVariableDeclaration({declare:true})){for(const e of Object.keys(r.getBindingIdentifiers())){registerGlobalType(i,e)}}else if(r.isTSTypeAliasDeclaration()||r.isTSDeclareFunction()&&r.get("id").isIdentifier()||r.isTSInterfaceDeclaration()||r.isClassDeclaration({declare:true})||r.isTSEnumDeclaration({declare:true})||r.isTSModuleDeclaration({declare:true})&&r.get("id").isIdentifier()){registerGlobalType(i,r.node.id.name)}}},exit(e){if(e.node.sourceType==="module"&&u.get(e.node)){e.pushContainer("body",r.exportNamedDeclaration())}}},ExportNamedDeclaration(e,t){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(e.node.exportKind==="type"){e.remove();return}if(e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((e=>e.type==="ExportSpecifier"&&e.exportKind==="type"))){e.remove();return}if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((t=>r.isExportSpecifier(t)&&isGlobalType(e,t.local.name)))){e.remove();return}if(r.isTSModuleDeclaration(e.node.declaration)){const t=e.node.declaration;const{id:n}=t;if(r.isIdentifier(n)){if(e.scope.hasOwnBinding(n.name)){e.replaceWith(t)}else{const[s]=e.replaceWithMultiple([r.exportNamedDeclaration(r.variableDeclaration("let",[r.variableDeclarator(r.cloneNode(n))])),t]);e.scope.registerDeclaration(s)}}}u.set(t.file.ast.program,false)},ExportAllDeclaration(e){if(e.node.exportKind==="type")e.remove()},ExportSpecifier(e){const t=e.parent;if(!t.source&&isGlobalType(e,e.node.local.name)||e.node.exportKind==="type"){e.remove()}},ExportDefaultDeclaration(e,t){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(r.isIdentifier(e.node.declaration)&&isGlobalType(e,e.node.declaration.name)){e.remove();return}u.set(t.file.ast.program,false)},TSDeclareFunction(e){safeRemove(e)},TSDeclareMethod(e){safeRemove(e)},VariableDeclaration(e){if(e.node.declare){safeRemove(e)}},VariableDeclarator({node:e}){if(e.definite)e.definite=null},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:t}=e;if(t.declare){safeRemove(e)}},Class(e){const{node:t}=e;if(t.typeParameters)t.typeParameters=null;if(t.superTypeParameters)t.superTypeParameters=null;if(t.implements)t.implements=null;if(t.abstract)t.abstract=null;e.get("body.body").forEach((t=>{if(t.isClassMethod()||t.isClassPrivateMethod()){if(t.node.kind==="constructor"){T.constructor(t,e)}else{T.method(t)}}else if(t.isClassProperty()||t.isClassPrivateProperty()||t.isClassAccessorProperty()){T.field(t)}}))},Function(e){const{node:t}=e;if(t.typeParameters)t.typeParameters=null;if(t.returnType)t.returnType=null;const n=t.params;if(n.length>0&&r.isIdentifier(n[0],{name:"this"})){n.shift()}},TSModuleDeclaration(e){(0,l.default)(e,d)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){if(g&&e.node.const){(0,a.default)(e,r)}else{(0,o.default)(e,r)}},TSImportEqualsDeclaration(e,t){const{id:n,moduleReference:s}=e.node;let i;let a;if(r.isTSExternalModuleReference(s)){assertCjsTransformEnabled(e,t,`import ${n.name} = require(...);`,`import ${n.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option");i=r.callExpression(r.identifier("require"),[s.expression]);a="const"}else{i=entityNameToExpr(s);a="var"}e.replaceWith(r.variableDeclaration(a,[r.variableDeclarator(n,i)]));e.scope.registerDeclaration(e)},TSExportAssignment(e,t){assertCjsTransformEnabled(e,t,`export = <value>;`,`export default <value>;`);e.replaceWith(n.statement.ast`module.exports = ${e.node.expression}`)},TSTypeAssertion(e){e.replaceWith(e.node.expression)},[`TSAsExpression${r.tsSatisfiesExpression?"|TSSatisfiesExpression":""}`](e){let{node:t}=e;do{t=t.expression}while(r.isTSAsExpression(t)||r.isTSSatisfiesExpression!=null&&r.isTSSatisfiesExpression(t));e.replaceWith(t)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function entityNameToExpr(e){if(r.isTSQualifiedName(e)){return r.memberExpression(entityNameToExpr(e.left),e.right)}return e}function visitPattern({node:e}){if(e.typeAnnotation)e.typeAnnotation=null;if(r.isIdentifier(e)&&e.optional)e.optional=null}function isImportTypeOnly({binding:e,programPath:t,pragmaImportName:r,pragmaFragImportName:n}){for(const t of e.referencePaths){if(!isInType(t)){return false}}if(e.identifier.name!==r&&e.identifier.name!==n){return true}let s=false;t.traverse({"JSXElement|JSXFragment"(e){s=true;e.stop()}});return!s}}));t["default"]=f},2274:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileNamespace;var n=r(3688);function transpileNamespace(e,t){if(e.node.declare||e.node.id.type==="StringLiteral"){e.remove();return}if(!t){throw e.get("id").buildCodeFrameError("Namespace not marked type-only declare."+" Non-declarative namespaces are only supported experimentally in Babel."+" To enable and review caveats see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const r=e.node.id.name;const s=handleNested(e,n.types.cloneNode(e.node,true));if(s===null){e.remove()}else if(e.scope.hasOwnBinding(r)){e.replaceWith(s)}else{e.scope.registerDeclaration(e.replaceWithMultiple([getDeclaration(r),s])[0])}}function getDeclaration(e){return n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.identifier(e))])}function getMemberExpression(e,t){return n.types.memberExpression(n.types.identifier(e),n.types.identifier(t))}function handleVariableDeclaration(e,t,r){if(e.kind!=="const"){throw r.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel."+" Change to const or see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const{declarations:s}=e;if(s.every((e=>n.types.isIdentifier(e.id)))){for(const e of s){e.init=n.types.assignmentExpression("=",getMemberExpression(t,e.id.name),e.init)}return[e]}const i=n.types.getBindingIdentifiers(e);const a=[];for(const e in i){a.push(n.types.assignmentExpression("=",getMemberExpression(t,e),n.types.cloneNode(i[e])))}return[e,n.types.expressionStatement(n.types.sequenceExpression(a))]}function buildNestedAmbientModuleError(e,t){return e.hub.buildError(t,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function handleNested(e,t,r){const s=new Set;const i=t.id;n.types.assertIdentifier(i);const a=e.scope.generateUid(i.name);const o=n.types.isTSModuleBlock(t.body)?t.body.body:[n.types.exportNamedDeclaration(t.body)];let l=true;for(let t=0;t<o.length;t++){const r=o[t];switch(r.type){case"TSModuleDeclaration":{if(!n.types.isIdentifier(r.id)){throw buildNestedAmbientModuleError(e,r)}const i=handleNested(e,r);if(i!==null){l=false;const e=r.id.name;if(s.has(e)){o[t]=i}else{s.add(e);o.splice(t++,1,getDeclaration(e),i)}}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":l=false;s.add(r.id.name);continue;case"VariableDeclaration":{l=false;for(const e in n.types.getBindingIdentifiers(r)){s.add(e)}continue}default:l&&(l=n.types.isTypeScript(r));continue;case"ExportNamedDeclaration":}if("declare"in r.declaration&&r.declaration.declare){continue}switch(r.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{l=false;const e=r.declaration.id.name;s.add(e);o.splice(t++,1,r.declaration,n.types.expressionStatement(n.types.assignmentExpression("=",getMemberExpression(a,e),n.types.identifier(e))));break}case"VariableDeclaration":{l=false;const n=handleVariableDeclaration(r.declaration,a,e.hub);o.splice(t,n.length,...n);t+=n.length-1;break}case"TSModuleDeclaration":{if(!n.types.isIdentifier(r.declaration.id)){throw buildNestedAmbientModuleError(e,r.declaration)}const i=handleNested(e,r.declaration,n.types.identifier(a));if(i!==null){l=false;const e=r.declaration.id.name;if(s.has(e)){o[t]=i}else{s.add(e);o.splice(t++,1,getDeclaration(e),i)}}else{o.splice(t,1);t--}}}}if(l)return null;let c=n.types.objectExpression([]);if(r){const e=n.types.memberExpression(r,i);c=n.template.expression.ast` + ${n.types.cloneNode(e)} || + (${n.types.cloneNode(e)} = ${c}) + `}return n.template.statement.ast` + (function (${n.types.identifier(a)}) { + ${o} + })(${i} || (${n.types.cloneNode(i)} = ${c})); + `}},5432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(5389);var s=r(7167);r(6085);var i=r(8417);var a=r(4716);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var o=_interopDefaultLegacy(s);var l=_interopDefaultLegacy(i);const c=new a.OptionValidator("@babel/preset-typescript");function normalizeOptions(e={}){let{allowNamespaces:t=true,jsxPragma:r,onlyRemoveTypeImports:n}=e;const s={ignoreExtensions:"ignoreExtensions",allowNamespaces:"allowNamespaces",disallowAmbiguousJSXLike:"disallowAmbiguousJSXLike",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums",allExtensions:"allExtensions",isTSX:"isTSX"};const i=c.validateStringOption(s.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");{var a=c.validateBooleanOption(s.allExtensions,e.allExtensions,false);var o=c.validateBooleanOption(s.isTSX,e.isTSX,false);if(o){c.invariant(a,"isTSX:true requires allExtensions:true")}}const l=c.validateBooleanOption(s.ignoreExtensions,e.ignoreExtensions,false);const u=c.validateBooleanOption(s.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,false);if(u){{c.invariant(a,"disallowAmbiguousJSXLike:true requires allExtensions:true")}}const p=c.validateBooleanOption(s.optimizeConstEnums,e.optimizeConstEnums,false);const f={ignoreExtensions:l,allowNamespaces:t,disallowAmbiguousJSXLike:u,jsxPragma:r,jsxPragmaFrag:i,onlyRemoveTypeImports:n,optimizeConstEnums:p};{f.allExtensions=a;f.isTSX=o}return f}var u=n.declarePreset(((e,t)=>{e.assertVersion(7);const{allExtensions:r,ignoreExtensions:n,allowNamespaces:s,disallowAmbiguousJSXLike:i,isTSX:a,jsxPragma:c,jsxPragmaFrag:u,onlyRemoveTypeImports:p,optimizeConstEnums:f}=normalizeOptions(t);const pluginOptions=e=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:e,jsxPragma:c,jsxPragmaFrag:u,onlyRemoveTypeImports:p,optimizeConstEnums:f});const getPlugins=(e,t)=>{{return[[o["default"],Object.assign({isTSX:e},pluginOptions(t))]]}};const d=r||n;return{overrides:d?[{plugins:getPlugins(a,i)}]:[{test:/\.ts$/,plugins:getPlugins(false,false)},{test:/\.mts$/,sourceType:"module",plugins:getPlugins(false,true)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[l["default"],{allowTopLevelThis:true}],[o["default"],pluginOptions(true)]]},{test:/\.tsx$/,plugins:getPlugins(true,false)}]}}));t["default"]=u},7601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTemplateBuilder;var n=r(4287);var s=r(4430);var i=r(5202);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign(((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,s.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,i.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)}),{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,s.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let s=o.get(t);if(!s){s=(0,i.default)(e,t,(0,n.merge)(l,a));o.set(t,s)}return s(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n =============\n${t}`;throw e}}}},9550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=void 0;var n=r(776);const{assertExpressionStatement:s}=n;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const i=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));t.smart=i;const a=makeStatementFormatter((e=>e));t.statements=a;const o=makeStatementFormatter((e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]}));t.statement=o;const l={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;s(t);return t.expression}};t.expression=l;const c={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=c},9128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=t["default"]=void 0;var n=r(9550);var s=r(7601);const i=(0,s.default)(n.smart);t.smart=i;const a=(0,s.default)(n.statement);t.statement=a;const o=(0,s.default)(n.statements);t.statements=o;const l=(0,s.default)(n.expression);t.expression=l;const c=(0,s.default)(n.program);t.program=c;var u=Object.assign(i.bind(undefined),{smart:i,statement:a,statements:o,expression:l,program:c,ast:i.ast});t["default"]=u},5202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=literalTemplate;var n=r(4287);var s=r(8782);var i=r(974);function literalTemplate(e,t,r){const{metadata:s,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach(((e,t)=>{r[a[t]]=e}));return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach((e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}}))}return e.unwrap((0,i.default)(s,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n="BABEL_TPL$";const i=t.join("");do{n="$$"+n}while(i.includes(n));const{names:a,code:o}=buildTemplateCode(t,n);const l=(0,s.default)(e,e.code(o),{parser:r.parser,placeholderWhitelist:new Set(a.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders});return{metadata:l,names:a}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let s=1;s<e.length;s++){const i=`${t}${s-1}`;r.push(i);n+=i+e[s]}return{names:r,code:n}}},4287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.normalizeReplacements=normalizeReplacements;t.validate=validate;const r=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=t,o=_objectWithoutPropertiesLoose(t,r);if(n!=null&&!(n instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(s!=null&&!(s instanceof RegExp)&&s!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(a!=null&&typeof a!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(a===true&&(n!=null||s!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:o,placeholderWhitelist:n||undefined,placeholderPattern:s==null?undefined:s,preserveComments:i==null?undefined:i,syntacticPlaceholders:a==null?undefined:a}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,t,r)=>{e["$"+r]=t;return e}),{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},8782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parseAndBuildMetadata;var n=r(776);var s=r(7383);var i=r(3327);const{isCallExpression:a,isExpressionStatement:o,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:f,isStatement:d,isStringLiteral:h,removePropertiesDeep:m,traverse:y}=n;const g=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=r;const o=parseWithCodeFrame(t,r.parser,a);m(o,{preserveComments:i});e.validate(o);const l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:a};y(o,placeholderVisitorHandler,l);return Object.assign({ast:o},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function placeholderVisitorHandler(e,t,r){var n;let s;let i=r.syntactic.placeholders.length>0;if(f(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}s=e.name.name;i=true}else if(i||r.syntacticPlaceholders){return}else if(c(e)||u(e)){s=e.name}else if(h(e)){s=e.value}else{return}if(i&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(!i&&(r.placeholderPattern===false||!(r.placeholderPattern||g).test(s))&&!((n=r.placeholderWhitelist)!=null&&n.has(s))){return}t=t.slice();const{node:m,key:y}=t[t.length-1];let b;if(h(e)||f(e,{expectedNode:"StringLiteral"})){b="string"}else if(p(m)&&y==="arguments"||a(m)&&y==="arguments"||l(m)&&y==="params"){b="param"}else if(o(m)&&!f(e)){b="statement";t=t.slice(0,-1)}else if(d(e)&&f(e)){b="statement"}else{b="other"}const{placeholders:T,placeholderNames:S}=!i?r.legacy:r.syntactic;T.push({name:s,type:b,resolve:e=>resolveAncestors(e,t),isDuplicate:S.has(s)});S.add(s)}function resolveAncestors(e,t){let r=e;for(let e=0;e<t.length-1;e++){const{key:n,index:s}=t[e];if(s===undefined){r=r[n]}else{r=r[n][s]}}const{key:n,index:s}=t[t.length-1];return{parent:r,key:n,index:s}}function parseWithCodeFrame(e,t,r){const n=(t.plugins||[]).slice();if(r!==false){n.push("placeholders")}t=Object.assign({allowReturnOutsideFunction:true,allowSuperOutsideMethod:true,sourceType:"module"},t,{plugins:n});try{return(0,s.parse)(e,t)}catch(t){const r=t.loc;if(r){t.message+="\n"+(0,i.codeFrameColumns)(e,{start:r});t.code="BABEL_TEMPLATE_PARSE_ERROR"}throw t}}},974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=populatePlaceholders;var n=r(776);const{blockStatement:s,cloneNode:i,emptyStatement:a,expressionStatement:o,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:f}=n;function populatePlaceholders(e,t){const r=i(e.ast);if(t){e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}}));Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}}));return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map((e=>i(e)))}else if(typeof r==="object"){r=i(r)}}const{parent:n,key:d,index:h}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=p(r)}if(!r||!u(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(h===undefined){if(!r){r=a()}else if(Array.isArray(r)){r=s(r)}else if(typeof r==="string"){r=o(l(r))}else if(!c(r)){r=o(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=l(r)}if(!c(r)){r=o(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=l(r)}if(h===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=l(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(h===undefined){f(n,d,r);n[d]=r}else{const t=n[d].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(h,1)}else if(Array.isArray(r)){t.splice(h,1,...r)}else{t[h]=r}}else{t[h]=r}f(n,d,t);n[d]=t}}},4430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=stringTemplate;var n=r(4287);var s=r(8782);var i=r(974);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,s.default)(e,t,r);return e.unwrap((0,i.default)(a,l))}}},6419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},6983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8485);var s=r(776);const{VISITOR_KEYS:i}=s;class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t]){return true}}return false}create(e,t,r,s){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:s})}maybeQueue(e,t){if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i&&this.shouldVisit(i)){n.push(this.create(t,e,s,r))}}return this.visitQueue(n)}visitSingle(e,t){if(this.shouldVisit(e[t])){return this.visitQueue([this.create(e,e,t)])}else{return false}}visitQueue(e){this.queue=e;this.priorityQueue=[];const t=new WeakSet;let r=false;for(const n of e){n.resync();if(n.contexts.length===0||n.contexts[n.contexts.length-1]!==this){n.pushContext(this)}if(n.key===null)continue;const{node:s}=n;if(t.has(s))continue;if(s)t.add(s);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t["default"]=TraversalContext},1568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t["default"]=Hub},2297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});t.visitors=t["default"]=void 0;var n=r(5399);t.visitors=n;var s=r(776);var i=r(6419);var a=r(81);var o=r(8485);var l=r(9632);var c=r(1568);const{VISITOR_KEYS:u,removeProperties:p,traverseFast:f}=s;function traverse(e,t={},r,s,i){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!u[e.type]){return}n.explode(t);(0,a.traverseNode)(e,t,r,s,i)}var d=traverse;t["default"]=d;traverse.visitors=n;traverse.verify=n.verify;traverse.explode=n.explode;traverse.cheap=function(e,t){f(e,t);return};traverse.node=function(e,t,r,n,s,i){(0,a.traverseNode)(e,t,r,n,s,i)};traverse.clearNode=function(e,t){p(e,t);i.path.delete(e)};traverse.removeProperties=function(e,t){f(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=i},5852:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.find=find;t.findParent=findParent;t.getAncestry=getAncestry;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.inType=inType;t.isAncestor=isAncestor;t.isDescendant=isDescendant;var n=r(776);const{VISITOR_KEYS:s}=n;function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent((e=>e.isFunction()))}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,r){let n;const i=s[e.type];for(const e of r){const r=e[t+1];if(!n){n=r;continue}if(r.listKey&&n.listKey===r.listKey){if(r.key<n.key){n=r;continue}}const s=i.indexOf(n.parentKey);const a=i.indexOf(r.parentKey);if(s>a){n=r}}return n}))}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,s;const i=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.length<r){r=t.length}return t}));const a=i[0];e:for(let e=0;e<r;e++){const t=a[e];for(const r of i){if(r[e]!==t){break e}}n=e;s=t}if(s){if(t){return t(s,n,i)}else{return s}}else{throw new Error("Couldn't find intersection")}}function getAncestry(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t}function isAncestor(e){return e.isDescendant(this)}function isDescendant(e){return!!this.findParent((t=>t===e))}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},1702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addComment=addComment;t.addComments=addComments;t.shareCommentsWithSiblings=shareCommentsWithSiblings;var n=r(776);const{addComment:s,addComments:i}=n;function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const s=this.getSibling(this.key+1);const i=Boolean(n.node);const a=Boolean(s.node);if(i){if(r){n.addComments("trailing",removeIfExisting(r,n.node.trailingComments))}if(t&&!a)n.addComments("trailing",t)}if(a){if(t){s.addComments("leading",removeIfExisting(t,s.node.leadingComments))}if(r&&!i)s.addComments("leading",r)}}function removeIfExisting(e,t){if(!t)return e;let r=-1;return e.filter((e=>{const n=t.indexOf(e,r);if(n===-1)return true;r=n}))}function addComment(e,t,r){s(this.node,e,t,r)}function addComments(e,t){i(this.node,e,t)}},7446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._call=_call;t._getQueueContexts=_getQueueContexts;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncParent=_resyncParent;t._resyncRemoved=_resyncRemoved;t.call=call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.popContext=popContext;t.pushContext=pushContext;t.requeue=requeue;t.resync=resync;t.setContext=setContext;t.setKey=setKey;t.setScope=setScope;t.setup=setup;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.visit=visit;var n=r(81);var s=r(8485);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){var r;return this._call((r=t[this.node.type])==null?void 0:r[e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`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.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function restoreContext(e,t){if(e.context!==t){e.context=t;e.state=t.state;e.opts=t.opts}}function visit(){var e,t;if(!this.node){return false}if(this.isDenylisted()){return false}if((e=(t=this.opts).shouldSkip)!=null&&e.call(t,this)){return false}const r=this.context;if(this.shouldSkip||this.call("enter")){this.debug("Skip...");return this.shouldStop}restoreContext(this,r);this.debug("Recursing into...");this.shouldStop=(0,n.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys);restoreContext(this,r);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=s.SHOULD_SKIP|s.SHOULD_STOP}function setScope(){var e,t;if((e=this.opts)!=null&&e.noScope)return;let r=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&r.isMethod()||this.key==="discriminant"&&r.isSwitchStatement()){r=r.parentPath}let n;while(r&&!n){var s;if((s=r.opts)!=null&&s.noScope)return;n=r.scope;r=r.parentPath}this.scope=this.getScope(n);(t=this.scope)==null?void 0:t.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key]){return}if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++){if(this.container[e]===this.node){this.setKey(e);return}}}else{for(const e of Object.keys(this.container)){if(this.container[e]===this.node){this.setKey(e);return}}}this.key=null}function _resyncList(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];if(this.container===e)return;this.container=e||null}function _resyncRemoved(){if(this.key==null||!this.container||this.container[this.key]!==this.node){this._markRemoved()}}function popContext(){this.contexts.pop();if(this.contexts.length>0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},5702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrowFunctionToExpression=arrowFunctionToExpression;t.ensureBlock=ensureBlock;t.toComputedKey=toComputedKey;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;var n=r(776);var s=r(8552);var i=r(4940);var a=r(5399);const{arrowFunctionExpression:o,assignmentExpression:l,binaryExpression:c,blockStatement:u,callExpression:p,conditionalExpression:f,expressionStatement:d,identifier:h,isIdentifier:m,jsxIdentifier:y,logicalExpression:g,LOGICAL_OPERATORS:b,memberExpression:T,metaProperty:S,numericLiteral:E,objectExpression:x,restElement:v,returnStatement:P,sequenceExpression:A,spreadElement:w,stringLiteral:C,super:I,thisExpression:O,toExpression:k,unaryExpression:N}=n;function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(m(e))e=C(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let n="body";let s;let i;if(e.isStatement()){i="body";s=0;r.push(e.node)}else{n+=".body.0";if(this.isFunction()){s="argument";r.push(P(e.node))}else{s="expression";r.push(d(e.node))}}this.node.body=u(r);const a=this.get(n);e.setup(a,i?a.node[i]:a.node,i,s);return this.node}{{t.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}}}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function setType(e,t){e.node.type=t}function arrowFunctionToExpression({allowInsertArrow:e=true,allowInsertArrowWithRest:t=e,noNewArrows:r=!(()=>{var e;return(e=arguments[0])==null?void 0:e.specCompliant})()}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const{thisBinding:n,fnPath:s}=hoistFunctionEnvironment(this,r,e,t);s.ensureBlock();setType(s,"FunctionExpression");if(!r){const e=n?null:s.scope.generateUidIdentifier("arrowCheckId");if(e){s.parentPath.scope.push({id:e,init:x([])})}s.get("body").unshiftContainer("body",d(p(this.hub.addHelper("newArrowCheck"),[O(),e?h(e.name):h(n)])));s.replaceWith(p(T((0,i.default)(this,true)||s.node,h("bind")),[e?h(e.name):O()]));return s.get("callee.object")}return s}const _=(0,a.merge)([{CallExpression(e,{allSuperCalls:t}){if(!e.get("callee").isSuper())return;t.push(e)}},s.default]);function hoistFunctionEnvironment(e,t=true,r=true,n=true){let s;let i=e.findParent((e=>{if(e.isArrowFunctionExpression()){var t;(t=s)!=null?t:s=e;return false}return e.isFunction()||e.isProgram()||e.isClassProperty({static:false})||e.isClassPrivateProperty({static:false})}));const a=i.isClassMethod({kind:"constructor"});if(i.isClassProperty()||i.isClassPrivateProperty()){if(s){i=s}else if(r){e.replaceWith(p(o([],k(e.node)),[]));i=e.get("callee");e=i.get("body")}else{throw e.buildCodeFrameError("Unable to transform arrow inside class property")}}const{thisPaths:l,argumentsPaths:u,newTargetPaths:d,superProps:m,superCalls:g}=getScopeInformation(e);if(a&&g.length>0){if(!r){throw g[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', "+"it's not possible to compile `super()` in an arrow function without compiling classes.\n"+"Please add '@babel/plugin-transform-classes' to your Babel configuration.")}if(!n){throw g[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', "+"it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\n"+"Please add '@babel/plugin-transform-classes' to your Babel configuration.")}const e=[];i.traverse(_,{allSuperCalls:e});const t=getSuperBinding(i);e.forEach((e=>{const r=h(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)}))}if(u.length>0){const e=getBinding(i,"arguments",(()=>{const args=()=>h("arguments");if(i.scope.path.isProgram()){return f(c("===",N("typeof",args()),C("undefined")),i.scope.buildUndefinedNode(),args())}else{return args()}}));u.forEach((t=>{const r=h(e);r.loc=t.node.loc;t.replaceWith(r)}))}if(d.length>0){const e=getBinding(i,"newtarget",(()=>S(h("new"),h("target"))));d.forEach((t=>{const r=h(e);r.loc=t.node.loc;t.replaceWith(r)}))}if(m.length>0){if(!r){throw m[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', "+"it's not possible to compile `super.prop` in an arrow function without compiling classes.\n"+"Please add '@babel/plugin-transform-classes' to your Babel configuration.")}const e=m.reduce(((e,t)=>e.concat(standardizeSuperProperty(t))),[]);e.forEach((e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath;const n=r.isAssignmentExpression({left:e.node});const s=r.isCallExpression({callee:e.node});const a=r.isTaggedTemplateExpression({tag:e.node});const o=getSuperPropBinding(i,n,t);const c=[];if(e.node.computed){c.push(e.get("property").node)}if(n){const e=r.node.right;c.push(e)}const u=p(h(o),c);if(s){r.unshiftContainer("arguments",O());e.replaceWith(T(u,h("call")));l.push(r.get("arguments.0"))}else if(n){r.replaceWith(u)}else if(a){e.replaceWith(p(T(u,h("bind"),false),[O()]));l.push(e.get("arguments.0"))}else{e.replaceWith(u)}}))}let b;if(l.length>0||!t){b=getThisBinding(i,a);if(t||a&&hasSuperClass(i)){l.forEach((e=>{const t=e.isJSX()?y(b):h(b);t.loc=e.node.loc;e.replaceWith(t)}));if(!t)b=null}}return{thisBinding:b,fnPath:e}}function isLogicalOp(e){return b.includes(e)}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const n=t.node.right;const s=isLogicalOp(r);if(e.node.computed){const i=e.scope.generateDeclaredUidIdentifier("tmp");const a=e.node.object;const o=e.node.property;t.get("left").replaceWith(T(a,l("=",i,o),true));t.get("right").replaceWith(rightExpression(s?"=":r,T(a,h(i.name),true),n))}else{const i=e.node.object;const a=e.node.property;t.get("left").replaceWith(T(i,a));t.get("right").replaceWith(rightExpression(s?"=":r,T(i,h(a.name)),n))}if(s){t.replaceWith(g(r,t.node.left,t.node.right))}else{t.node.operator="="}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const n=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[l("=",r,T(e.node.object,n?l("=",n,e.node.property):e.node.property,e.node.computed)),l("=",T(e.node.object,n?h(n.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],h(r.name),E(1)))];if(!e.parentPath.node.prefix){s.push(h(r.name))}t.replaceWith(A(s));const i=t.get("expressions.0.right");const a=t.get("expressions.1.left");return[i,a]}return[e];function rightExpression(e,t,r){if(e==="="){return l("=",t,r)}else{return c(e,t,r)}}}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const D=(0,a.merge)([{CallExpression(e,{supers:t,thisBinding:r}){if(!e.get("callee").isSuper())return;if(t.has(e.node))return;t.add(e.node);e.replaceWithMultiple([e.node,l("=",h(r),h("this"))])}},s.default]);function getThisBinding(e,t){return getBinding(e,"this",(r=>{if(!t||!hasSuperClass(e))return O();e.traverse(D,{supers:new WeakSet,thisBinding:r})}))}function getSuperBinding(e){return getBinding(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return o([v(t)],p(I(),[w(h(t.name))]))}))}function getSuperPropBinding(e,t,r){const n=t?"set":"get";return getBinding(e,`superprop_${n}:${r||""}`,(()=>{const n=[];let s;if(r){s=T(I(),h(r))}else{const t=e.scope.generateUidIdentifier("prop");n.unshift(t);s=T(I(),h(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");n.push(t);s=l("=",s,h(t.name))}return o(n,s)}))}function getBinding(e,t,r){const n="binding:"+t;let s=e.getData(n);if(!s){const i=e.scope.generateUidIdentifier(t);s=i.name;e.setData(n,s);e.scope.push({id:i,init:r(s)})}return s}const M=(0,a.merge)([{ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e,{superCalls:t}){if(e.get("callee").isSuper())t.push(e)},MemberExpression(e,{superProps:t}){if(e.get("object").isSuper())t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let r=e.scope;do{if(r.hasOwnBinding("arguments")){r.rename("arguments");return}if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;t.push(e)}},s.default]);function getScopeInformation(e){const t=[];const r=[];const n=[];const s=[];const i=[];e.traverse(M,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}},118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluate=evaluate;t.evaluateTruthy=evaluateTruthy;const r=["String","Number","Math"];const n=["random"];function isValidCallee(e){return r.includes(e)}function isInvalidMethod(e){return n.includes(e)}function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}const s=new Map([["undefined",undefined],["Infinity",Infinity],["NaN",NaN]]);function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const s=n.get(r);if(s.resolved){return s.value}else{deopt(e,t);return}}else{const s={resolved:false};n.set(r,s);const i=_evaluate(e,t);if(t.confident){s.resolved=true;s.value=i}return i}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const s=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&s.isIdentifier()&&s.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const r=e.get("property");const n=e.get("object");if(n.isLiteral()){const s=n.node.value;const i=typeof s;let a=null;if(e.node.computed){a=evaluateCached(r,t);if(!t.confident)return}else if(r.isIdentifier()){a=r.node.name}if((i==="number"||i==="string")&&a!=null&&(typeof a==="number"||typeof a==="string")){return s[a]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r){if(r.constantViolations.length>0||e.node.start<r.path.node.end){deopt(r.path,t);return}if(r.hasValue){return r.value}}const n=e.node.name;if(s.has(n)){if(!r){return s.get(n)}deopt(r.path,t);return}const i=e.resolve();if(i===e){deopt(e,t);return}else{return evaluateCached(i,t)}}if(e.isUnaryExpression({prefix:true})){if(e.node.operator==="void"){return undefined}const r=e.get("argument");if(e.node.operator==="typeof"&&(r.isFunction()||r.isClass())){return"function"}const n=evaluateCached(r,t);if(!t.confident)return;switch(e.node.operator){case"!":return!n;case"+":return+n;case"-":return-n;case"~":return~n;case"typeof":return typeof n}}if(e.isArrayExpression()){const r=[];const n=e.get("elements");for(const e of n){const n=e.evaluate();if(n.confident){r.push(n.value)}else{deopt(n.deopt,t);return}}return r}if(e.isObjectExpression()){const r={};const n=e.get("properties");for(const e of n){if(e.isObjectMethod()||e.isSpreadElement()){deopt(e,t);return}const n=e.get("key");let s;if(e.node.computed){s=n.evaluate();if(!s.confident){deopt(s.deopt,t);return}s=s.value}else if(n.isIdentifier()){s=n.node.name}else{s=n.node.value}const i=e.get("value");let a=i.evaluate();if(!a.confident){deopt(a.deopt,t);return}a=a.value;r[s]=a}return r}if(e.isLogicalExpression()){const r=t.confident;const n=evaluateCached(e.get("left"),t);const s=t.confident;t.confident=r;const i=evaluateCached(e.get("right"),t);const a=t.confident;switch(e.node.operator){case"||":t.confident=s&&(!!n||a);if(!t.confident)return;return n||i;case"&&":t.confident=s&&(!n||a);if(!t.confident)return;return n&&i;case"??":t.confident=s&&(n!=null||a);if(!t.confident)return;return n!=null?n:i}}if(e.isBinaryExpression()){const r=evaluateCached(e.get("left"),t);if(!t.confident)return;const n=evaluateCached(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return r-n;case"+":return r+n;case"/":return r/n;case"*":return r*n;case"%":return r%n;case"**":return Math.pow(r,n);case"<":return r<n;case">":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<<n;case">>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const r=e.get("callee");let n;let s;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&isValidCallee(r.node.name)){s=global[r.node.name]}if(r.isMemberExpression()){const e=r.get("object");const t=r.get("property");if(e.isIdentifier()&&t.isIdentifier()&&isValidCallee(e.node.name)&&!isInvalidMethod(t.node.name)){n=global[e.node.name];s=n[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){n=e.node.value;s=n[t.node.name]}}}if(s){const r=e.get("arguments").map((e=>evaluateCached(e,t)));if(!t.confident)return;return s.apply(n,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let s="";let i=0;const a=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(const e of t){if(!r.confident)break;s+=n?e.value.raw:e.value.cooked;const t=a[i++];if(t)s+=String(evaluateCached(t,r))}if(!r.confident)return;return s}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},1481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getKey=_getKey;t._getPattern=_getPattern;t.get=get;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getBindingIdentifiers=getBindingIdentifiers;t.getCompletionRecords=getCompletionRecords;t.getNextSibling=getNextSibling;t.getOpposite=getOpposite;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getPrevSibling=getPrevSibling;t.getSibling=getSibling;var n=r(8485);var s=r(776);const{getBindingIdentifiers:i,getOuterBindingIdentifiers:a,isDeclaration:o,numericLiteral:l,unaryExpression:c}=s;const u=0;const p=1;function NormalCompletion(e){return{type:u,path:e}}function BreakCompletion(e){return{type:p,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e){t.push(..._getCompletionRecords(e,r))}return t}function completionRecordForSwitch(e,t,r){let n=[];for(let s=0;s<e.length;s++){const i=e[s];const a=_getCompletionRecords(i,r);const o=[];const l=[];for(const e of a){if(e.type===u){o.push(e)}if(e.type===p){l.push(e)}}if(o.length){n=o}t.push(...l)}t.push(...n);return t}function normalCompletionToBreak(e){e.forEach((e=>{e.type=p}))}function replaceBreakStatementInBreakCompletion(e,t){e.forEach((e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(c("void",l(0)))}else{e.path.remove()}}}))}function getStatementListCompletion(e,t){const r=[];if(t.canHaveBreak){let n=[];for(let s=0;s<e.length;s++){const i=e[s];const a=Object.assign({},t,{inCaseClause:false});if(i.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)){a.shouldPopulateBreak=true}else{a.shouldPopulateBreak=false}const o=_getCompletionRecords(i,a);if(o.length>0&&o.every((e=>e.type===p))){if(n.length>0&&o.every((e=>e.path.isBreakStatement({label:null})))){normalCompletionToBreak(n);r.push(...n);if(n.some((e=>e.path.isDeclaration()))){r.push(...o);replaceBreakStatementInBreakCompletion(o,true)}replaceBreakStatementInBreakCompletion(o,false)}else{r.push(...o);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(o,true)}}break}if(s===e.length-1){r.push(...o)}else{n=[];for(let e=0;e<o.length;e++){const t=o[e];if(t.type===p){r.push(t)}if(t.type===u){n.push(t)}}}}}else if(e.length){for(let n=e.length-1;n>=0;n--){const s=_getCompletionRecords(e[n],t);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()){r.push(...s);break}}}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){return addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){return getStatementListCompletion(e.get("body"),t)}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){return addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){return completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){return getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true})}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map((e=>e.path))}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const s=r[e];if(Array.isArray(s)){return s.map(((i,a)=>n.default.get({listKey:e,parentPath:this,parent:r,container:s,key:a}).setContext(t)))}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i(this.node,e)}function getOuterBindingIdentifiers(e){return a(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;const n=[r];const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(o(e)){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e<a.length;e++){const t=a[e];const s=r.get(t);if(Array.isArray(s)){n.push(...s)}else if(s.node){n.push(s)}}}}return s}function getOuterBindingIdentifierPaths(e=false){return this.getBindingIdentifierPaths(e,true)}},8485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var n=r(8958);var s=r(6937);var i=r(2297);var a=r(9632);var o=r(776);var l=o;var c=r(6419);var u=r(3956);var p=r(5852);var f=r(6337);var d=r(9554);var h=r(118);var m=r(5702);var y=r(3837);var g=r(7446);var b=r(4565);var T=r(6799);var S=r(1481);var E=r(1702);var x=r(2957);const{validate:v}=o;const P=s("babel");const A=1<<0;t.REMOVED=A;const w=1<<1;t.SHOULD_STOP=w;const C=1<<2;t.SHOULD_SKIP=C;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:s,key:i}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[i];let o=c.path.get(r);if(!o){o=new Map;c.path.set(r,o)}let l=o.get(a);if(!l){l=new NodePath(e,r);if(a)o.set(a,l)}l.setup(t,n,s,i);return l}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}hasNode(){return this.node!=null}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,i.default)(this.node,e,this.scope,t,this)}set(e,t){v(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!P.enabled)return;P(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&C)}set shouldSkip(e){if(e){this._traverseFlags|=C}else{this._traverseFlags&=~C}}get shouldStop(){return!!(this._traverseFlags&w)}set shouldStop(e){if(e){this._traverseFlags|=w}else{this._traverseFlags&=~w}}get removed(){return!!(this._traverseFlags&A)}set removed(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}}Object.assign(NodePath.prototype,p,f,d,h,m,y,g,b,T,S,E);{NodePath.prototype._guessExecutionStatusRelativeToDifferentFunctions=y._guessExecutionStatusRelativeTo}for(const e of l.TYPES){const t=`is${e}`;const r=l[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}Object.assign(NodePath.prototype,x);for(const e of Object.keys(n)){if(e[0]==="_")continue;if(!l.TYPES.includes(e))l.TYPES.push(e)}var I=NodePath;t["default"]=I},6337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getTypeAnnotation=_getTypeAnnotation;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.couldBeBaseType=couldBeBaseType;t.getTypeAnnotation=getTypeAnnotation;t.isBaseType=isBaseType;t.isGenericType=isGenericType;var n=r(8224);var s=r(776);const{anyTypeAnnotation:i,isAnyTypeAnnotation:a,isArrayTypeAnnotation:o,isBooleanTypeAnnotation:l,isEmptyTypeAnnotation:c,isFlowBaseAnnotation:u,isGenericTypeAnnotation:p,isIdentifier:f,isMixedTypeAnnotation:d,isNumberTypeAnnotation:h,isStringTypeAnnotation:m,isTSArrayType:y,isTSTypeAnnotation:g,isTSTypeReference:b,isTupleTypeAnnotation:T,isTypeAnnotation:S,isUnionTypeAnnotation:E,isVoidTypeAnnotation:x,stringTypeAnnotation:v,voidTypeAnnotation:P}=s;function getTypeAnnotation(){let e=this.getData("typeAnnotation");if(e!=null){return e}e=this._getTypeAnnotation()||i();if(S(e)||g(e)){e=e.typeAnnotation}this.setData("typeAnnotation",e);return e}const A=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return v()}if(e.key==="left"&&t.isForOfStatement()){return i()}return P()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(A.has(e)){return}A.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{A.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return m(t)}else if(e==="number"){return h(t)}else if(e==="boolean"){return l(t)}else if(e==="any"){return a(t)}else if(e==="mixed"){return d(t)}else if(e==="empty"){return c(t)}else if(e==="void"){return x(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(a(t))return true;if(E(t)){for(const r of t.types){if(a(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!a(t)&&u(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();if(e==="Array"){if(y(t)||o(t)||T(t)){return true}}return p(t)&&f(t.id,{name:e})||b(t)&&f(t.typeName,{name:e})}},5017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var n=r(776);var s=r(5783);const{BOOLEAN_NUMBER_BINARY_OPERATORS:i,createTypeAnnotationBasedOnTypeof:a,numberTypeAnnotation:o,voidTypeAnnotation:l}=n;function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return l()}else if(e.name==="NaN"||e.name==="Infinity"){return o()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const n=[];const i=[];let a=getConstantViolationsBefore(e,t,i);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter((e=>t.indexOf(e)<0));n.push(o.typeAnnotation)}if(a.length){a.push(...i);for(const e of a){n.push(e.getTypeAnnotation())}}if(!n.length){return}return(0,s.createUnionType)(n)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter((e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"}))}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const n=t.get("right").resolve();const s=t.get("left").resolve();let l;if(s.isIdentifier({name:e})){l=n}else if(n.isIdentifier({name:e})){l=s}if(l){if(r==="==="){return l.getTypeAnnotation()}if(i.indexOf(r)>=0){return o()}return}if(r!=="==="&&r!=="==")return;let c;let u;if(s.isUnaryExpression({operator:"typeof"})){c=s;u=n}else if(n.isUnaryExpression({operator:"typeof"})){c=n;u=s}if(!c)return;if(!c.get("argument").isIdentifier({name:e}))return;u=u.resolve();if(!u.isLiteral())return;const p=u.node.value;if(typeof p!=="string")return;return a(p)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const n=getParentConditionalPath(e,t,r);if(!n)return;const i=n.get("test");const a=[i];const o=[];for(let e=0;e<a.length;e++){const t=a[e];if(t.isLogicalExpression()){if(t.node.operator==="&&"){a.push(t.get("left"));a.push(t.get("right"))}}else if(t.isBinaryExpression()){const e=inferAnnotationFromBinaryExpression(r,t);if(e)o.push(e)}}if(o.length){return{typeAnnotation:(0,s.createUnionType)(o),ifStatement:n}}return getConditionalAnnotation(e,n,r)}},8224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayExpression=ArrayExpression;t.AssignmentExpression=AssignmentExpression;t.BinaryExpression=BinaryExpression;t.BooleanLiteral=BooleanLiteral;t.CallExpression=CallExpression;t.ConditionalExpression=ConditionalExpression;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return s.default}});t.LogicalExpression=LogicalExpression;t.NewExpression=NewExpression;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.ObjectExpression=ObjectExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.RegExpLiteral=RegExpLiteral;t.RestElement=RestElement;t.SequenceExpression=SequenceExpression;t.StringLiteral=StringLiteral;t.TSAsExpression=TSAsExpression;t.TSNonNullExpression=TSNonNullExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateLiteral=TemplateLiteral;t.TypeCastExpression=TypeCastExpression;t.UnaryExpression=UnaryExpression;t.UpdateExpression=UpdateExpression;t.VariableDeclarator=VariableDeclarator;var n=r(776);var s=r(5017);var i=r(5783);const{BOOLEAN_BINARY_OPERATORS:a,BOOLEAN_UNARY_OPERATORS:o,NUMBER_BINARY_OPERATORS:l,NUMBER_UNARY_OPERATORS:c,STRING_UNARY_OPERATORS:u,anyTypeAnnotation:p,arrayTypeAnnotation:f,booleanTypeAnnotation:d,buildMatchMemberExpression:h,genericTypeAnnotation:m,identifier:y,nullLiteralTypeAnnotation:g,numberTypeAnnotation:b,stringTypeAnnotation:T,tupleTypeAnnotation:S,unionTypeAnnotation:E,voidTypeAnnotation:x,isIdentifier:v}=n;function VariableDeclarator(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function TSAsExpression(e){return e.typeAnnotation}TSAsExpression.validParent=true;function TSNonNullExpression(){return this.get("expression").getTypeAnnotation()}function NewExpression(e){if(e.callee.type==="Identifier"){return m(e.callee)}}function TemplateLiteral(){return T()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return x()}else if(c.indexOf(t)>=0){return b()}else if(u.indexOf(t)>=0){return T()}else if(o.indexOf(t)>=0){return d()}}function BinaryExpression(e){const t=e.operator;if(l.indexOf(t)>=0){return b()}else if(a.indexOf(t)>=0){return d()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return b()}else if(t.isBaseType("string")||e.isBaseType("string")){return T()}return E([T(),b()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,i.createUnionType)(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,i.createUnionType)(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return b()}}function StringLiteral(){return T()}function NumericLiteral(){return b()}function BooleanLiteral(){return d()}function NullLiteral(){return g()}function RegExpLiteral(){return m(y("RegExp"))}function ObjectExpression(){return m(y("Object"))}function ArrayExpression(){return m(y("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return m(y("Function"))}const P=h("Array.from");const A=h("Object.keys");const w=h("Object.values");const C=h("Object.entries");function CallExpression(){const{callee:e}=this.node;if(A(e)){return f(T())}else if(P(e)||w(e)||v(e,{name:"Array"})){return f(p())}else if(C(e)){return f(S([T(),p()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){const{node:t}=e;if(t.async){if(t.generator){return m(y("AsyncIterator"))}else{return m(y("Promise"))}}else{if(t.generator){return m(y("Iterator"))}else if(e.node.returnType){return e.node.returnType}else{}}}}},5783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createUnionType=createUnionType;var n=r(776);const{createFlowUnionType:s,createTSUnionType:i,createUnionTypeAnnotation:a,isFlowType:o,isTSType:l}=n;function createUnionType(e){{if(o(e[0])){if(s){return s(e)}return a(e)}else{if(i){return i(e)}}}}},3837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._resolve=_resolve;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.equals=equals;t.getSource=getSource;t.has=has;t.is=void 0;t.isCompletionRecord=isCompletionRecord;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.isNodeType=isNodeType;t.isStatementOrBlock=isStatementOrBlock;t.isStatic=isStatic;t.isnt=isnt;t.matchesPattern=matchesPattern;t.referencesImport=referencesImport;t.resolve=resolve;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;var n=r(776);const{STATEMENT_OR_BLOCK_KEYS:s,VISITOR_KEYS:i,isBlockStatement:a,isExpression:o,isIdentifier:l,isLiteral:c,isStringLiteral:u,isType:p,matchesPattern:f}=n;function matchesPattern(e,t){return f(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const d=has;t.is=d;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return p(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return a(e)}else if(this.isBlockStatement()){return o(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const{type:n,container:s}=t;if(!r&&(t.isFunction()||n==="StaticBlock")){return!!e}r=false;if(Array.isArray(s)&&t.key!==s.length-1){return false}}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||a(this.container)){return false}else{return s.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const n=r.path;const s=n.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(n.isImportDefaultSpecifier()&&t==="default"){return true}if(n.isImportNamespaceSpecifier()&&t==="*"){return true}if(n.isImportSpecifier()&&l(n.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r<t;r++){const t=e[r];if(isExecutionUncertain(t.parent.type,t.parentKey)){return true}}return false}const h=Symbol();function _guessExecutionStatusRelativeTo(e){return _guessExecutionStatusRelativeToCached(this,e,new Map)}function _guessExecutionStatusRelativeToCached(e,t,r){const n={this:getOuterFunction(e),target:getOuterFunction(t)};if(n.target.node!==n.this.node){return _guessExecutionStatusRelativeToDifferentFunctionsCached(e,n.target,r)}const s={target:t.getAncestry(),this:e.getAncestry()};if(s.target.indexOf(e)>=0)return"after";if(s.this.indexOf(t)>=0)return"before";let a;const o={target:0,this:0};while(!a&&o.this<s.this.length){const e=s.this[o.this];o.target=s.target.indexOf(e);if(o.target>=0){a=e}else{o.this++}}if(!a){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(s.this,o.this-1)||isExecutionUncertainInList(s.target,o.target-1)){return"unknown"}const l={this:s.this[o.this-1],target:s.target[o.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container){return l.target.key>l.this.key?"before":"after"}const c=i[a.type];const u={this:c.indexOf(l.this.parentKey),target:c.indexOf(l.target.parentKey)};return u.target>u.this?"before":"after"}function _guessExecutionStatusRelativeToDifferentFunctionsInternal(e,t,r){if(!t.isFunctionDeclaration()){if(_guessExecutionStatusRelativeToCached(e,t,r)==="before"){return"before"}return"unknown"}else if(t.parentPath.isExportDeclaration()){return"unknown"}const n=t.scope.getBinding(t.node.id.name);if(!n.references)return"before";const s=n.referencePaths;let i;for(const n of s){const s=!!n.find((e=>e.node===t.node));if(s)continue;if(n.key!=="callee"||!n.parentPath.isCallExpression()){return"unknown"}const a=_guessExecutionStatusRelativeToCached(e,n,r);if(i&&i!==a){return"unknown"}else{i=a}}return i}function _guessExecutionStatusRelativeToDifferentFunctionsCached(e,t,r){let n=r.get(e.node);let s;if(!n){r.set(e.node,n=new Map)}else if(s=n.get(t.node)){if(s===h){return"unknown"}return s}n.set(t.node,h);const i=_guessExecutionStatusRelativeToDifferentFunctionsInternal(e,t,r);n.set(t.node,i);return i}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find((e=>e.node===n.node)))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!c(r))return;const n=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const s of r){if(!s.isProperty())continue;const r=s.get("key");let i=s.isnt("computed")&&r.isIdentifier({name:n});i=i||r.isLiteral({value:n});if(i)return s.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+n)){const r=s.get("elements");const i=r[n];if(i)return i.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every((e=>e.isConstantExpression()))}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){const{operator:e}=this.node;return e!=="in"&&e!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find((e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}let t;if(e.isFunction()){t=e.node.body}else if(e.isProgram()){t=e.node}else{return false}for(const e of t.directives){if(e.value.value==="use strict"){return true}}}));return!!t}},2350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(776);var s=n;const{react:i}=n;const{cloneNode:a,jsxExpressionContainer:o,variableDeclaration:l,variableDeclarator:c}=s;const u={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&i.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const s=this.getAttachmentParentForPath(n.path);if(s.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t<e.length;t++){if(e[t].node._blockHoist)continue;return e[t]}}else{return this.getNextScopeAttachmentParent()}}else if(t.path.isProgram()){return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){return e}}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const r=this.bindings[t];if(r.kind==="param"&&r.constant)return true}return false}run(){this.path.traverse(u,this);if(this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const r=c(t,this.path.node);const n=this.attachAfter?"insertAfter":"insertBefore";const[s]=e[n]([e.isVariableDeclarator()?r:l("var",[r])]);const i=this.path.parentPath;if(i.isJSXElement()&&this.path.container===i.node.children){t=o(t)}this.path.replaceWith(a(t));return e.isVariableDeclarator()?s.get("init"):s.get("declarations.0.init")}}t["default"]=PathHoister},3857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&e.key==="consequent"||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},2957:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBindingIdentifier=isBindingIdentifier;t.isBlockScoped=isBlockScoped;t.isExistentialTypeParam=isExistentialTypeParam;t.isExpression=isExpression;t.isFlow=isFlow;t.isForAwaitStatement=isForAwaitStatement;t.isGenerated=isGenerated;t.isNumericLiteralTypeAnnotation=isNumericLiteralTypeAnnotation;t.isPure=isPure;t.isReferenced=isReferenced;t.isReferencedIdentifier=isReferencedIdentifier;t.isReferencedMemberExpression=isReferencedMemberExpression;t.isRestProperty=isRestProperty;t.isScope=isScope;t.isSpreadProperty=isSpreadProperty;t.isStatement=isStatement;t.isUser=isUser;t.isVar=isVar;var n=r(776);const{isBinding:s,isBlockScoped:i,isExportDeclaration:a,isExpression:o,isFlow:l,isForStatement:c,isForXStatement:u,isIdentifier:p,isImportDeclaration:f,isImportSpecifier:d,isJSXIdentifier:h,isJSXMemberExpression:m,isMemberExpression:y,isRestElement:g,isReferenced:b,isScope:T,isStatement:S,isVar:E,isVariableDeclaration:x,react:v,isForOfStatement:P}=n;const{isCompatTag:A}=v;function isReferencedIdentifier(e){const{node:t,parent:r}=this;if(!p(t,e)&&!m(r,e)){if(h(t,e)){if(A(t.name))return false}else{return false}}return b(t,r,this.parentPath.parent)}function isReferencedMemberExpression(){const{node:e,parent:t}=this;return y(e)&&b(e,t)}function isBindingIdentifier(){const{node:e,parent:t}=this;const r=this.parentPath.parent;return p(e)&&s(e,t,r)}function isStatement(){const{node:e,parent:t}=this;if(S(e)){if(x(e)){if(u(t,{left:e}))return false;if(c(t,{init:e}))return false}return true}else{return false}}function isExpression(){if(this.isIdentifier()){return this.isReferencedIdentifier()}else{return o(this.node)}}function isScope(){return T(this.node,this.parent)}function isReferenced(){return b(this.node,this.parent)}function isBlockScoped(){return i(this.node)}function isVar(){return E(this.node)}function isUser(){return this.node&&!!this.node.loc}function isGenerated(){return!this.isUser()}function isPure(e){return this.scope.isPure(this.node,e)}function isFlow(){const{node:e}=this;if(l(e)){return true}else if(f(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(a(e)){return e.exportKind==="type"}else if(d(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}function isRestProperty(){return g(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()}function isSpreadProperty(){return g(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()}function isForAwaitStatement(){return P(this.node,{await:true})}function isExistentialTypeParam(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")}function isNumericLiteralTypeAnnotation(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},8958:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0;const r=["Identifier","JSXIdentifier"];t.ReferencedIdentifier=r;const n=["MemberExpression"];t.ReferencedMemberExpression=n;const s=["Identifier"];t.BindingIdentifier=s;const i=["Statement"];t.Statement=i;const a=["Expression"];t.Expression=a;const o=["Scopable","Pattern"];t.Scope=o;const l=null;t.Referenced=l;const c=null;t.BlockScoped=c;const u=["VariableDeclaration"];t.Var=u;const p=null;t.User=p;const f=null;t.Generated=f;const d=null;t.Pure=d;const h=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"];t.Flow=h;const m=["RestElement"];t.RestProperty=m;const y=["RestElement"];t.SpreadProperty=y;const g=["ExistsTypeAnnotation"];t.ExistentialTypeParam=g;const b=["NumberLiteralTypeAnnotation"];t.NumericLiteralTypeAnnotation=b;const T=["ForOfStatement"];t.ForAwaitStatement=T},6799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._containerInsert=_containerInsert;t._containerInsertAfter=_containerInsertAfter;t._containerInsertBefore=_containerInsertBefore;t._verifyNodeList=_verifyNodeList;t.hoist=hoist;t.insertAfter=insertAfter;t.insertBefore=insertBefore;t.pushContainer=pushContainer;t.unshiftContainer=unshiftContainer;t.updateSiblingKeys=updateSiblingKeys;var n=r(6419);var s=r(2350);var i=r(8485);var a=r(776);const{arrowFunctionExpression:o,assertExpression:l,assignmentExpression:c,blockStatement:u,callExpression:p,cloneNode:f,expressionStatement:d,isAssignmentExpression:h,isCallExpression:m,isExportNamedDeclaration:y,isExpression:g,isIdentifier:b,isSequenceExpression:T,isSuper:S,thisExpression:E}=a;function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||y(n)||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(u(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n<t.length;n++){const t=e+n;const s=this.getSibling(t);r.push(s);if(this.context&&this.context.queue){s.pushContext(this.context)}}const n=this._getQueueContexts();for(const e of r){e.setScope();e.debug("Inserted.");for(const t of n){t.maybeQueue(e,true)}}return r}function _containerInsertBefore(e){return this._containerInsert(this.key,e)}function _containerInsertAfter(e){return this._containerInsert(this.key+1,e)}const last=e=>e[e.length-1];function isHiddenInSequenceExpression(e){return T(e.parent)&&(last(e.parent.expressions)!==e.node||isHiddenInSequenceExpression(e.parentPath))}function isAlmostConstantAssignment(e,t){if(!h(e)||!b(e.left)){return false}const r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}function insertAfter(e){this._assertUnremoved();if(this.isSequenceExpression()){return last(this.get("expressions")).insertAfter(e)}const t=this._verifyNodeList(e);const{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||y(n)||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertAfter(t.map((e=>g(e)?d(e):e)))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){l(e);this.replaceWith(p(o([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(isHiddenInSequenceExpression(this)){t.unshift(e)}else if(m(e)&&S(e.callee)){t.unshift(e);t.push(E())}else if(isAlmostConstantAssignment(e,n)){t.unshift(e);t.push(f(e.left))}else if(n.isPure(e,true)){t.push(e)}else{if(r.isMethod({computed:true,key:e})){n=n.parent}const s=n.generateDeclaredUidIdentifier();t.unshift(d(c("=",f(s),e)));t.push(d(f(s)))}}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(u(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(typeof n.key==="number"&&n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t<e.length;t++){const r=e[t];let n;if(!r){n="has falsy node"}else if(typeof r!=="object"){n="contains a non-object node"}else if(!r.type){n="without a type"}else if(r instanceof i.default){n="has a NodePath when it expected a raw object"}if(n){const e=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${n} with the index of ${t} and type of ${e}`)}}return e}function unshiftContainer(e,t){this._assertUnremoved();t=this._verifyNodeList(t);const r=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return r._containerInsertBefore(t)}function pushContainer(e,t){this._assertUnremoved();const r=this._verifyNodeList(t);const n=this.node[e];const s=i.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context);return s.replaceWithMultiple(r)}function hoist(e=this.scope){const t=new s.default(this,e);return t.run()}},4565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._assertUnremoved=_assertUnremoved;t._callRemovalHooks=_callRemovalHooks;t._markRemoved=_markRemoved;t._remove=_remove;t._removeFromScope=_removeFromScope;t.remove=remove;var n=r(3857);var s=r(6419);var i=r(8485);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach((e=>this.scope.removeBinding(e)))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED;if(this.parent)s.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},9554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;t.replaceWith=replaceWith;t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;var n=r(2430);var s=r(2297);var i=r(8485);var a=r(6419);var o=r(7383);var l=r(776);var c=r(405);const{FUNCTION_TYPES:u,arrowFunctionExpression:p,assignmentExpression:f,awaitExpression:d,blockStatement:h,callExpression:m,cloneNode:y,expressionStatement:g,identifier:b,inheritLeadingComments:T,inheritTrailingComments:S,inheritsComments:E,isExpression:x,isProgram:v,isStatement:P,removeComments:A,returnStatement:w,toSequenceExpression:C,validate:I,yieldExpression:O}=l;function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);T(e[0],this.node);S(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();let t;try{e=`(${e})`;t=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}const r=t.program.body[0].expression;s.default.removeProperties(r);return this.replaceWith(r)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}let t=e instanceof i.default?e.node:e;if(!t){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===t){return[this]}if(this.isProgram()&&!v(t)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(t)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof t==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let r="";if(this.isNodeType("Statement")&&x(t)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()){t=g(t);r="expression"}}if(this.isNodeType("Expression")&&P(t)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)){return this.replaceExpressionWithStatements([t])}}const n=this.node;if(n){E(t,n);A(n)}this._replaceWith(t);this.type=t.type;this.setScope();this.requeue();return[r?this.get(r):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){I(this.parent,this.key,[e])}else{I(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=C(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const i=r==null?void 0:r.is("generator");const a=p([],h(e));this.replaceWith(m(a,[]));const o=this.get("callee");(0,c.default)(o.get("body"),(e=>{this.scope.push({id:e})}),"var");const l=this.get("callee").getCompletionRecords();for(const e of l){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",w(y(r)));t.setData("expressionReplacementReturnUid",r)}else{r=b(r.name)}e.get("expression").replaceWith(f("=",y(r),e.node.expression))}else{e.replaceWith(w(e.node.expression))}}o.arrowFunctionToExpression();const g=o;const T=n&&s.default.hasType(this.get("callee.body").node,"AwaitExpression",u);const S=i&&s.default.hasType(this.get("callee.body").node,"YieldExpression",u);if(T){g.set("async",true);if(!S){this.replaceWith(d(this.node))}}if(S){g.set("generator",true);this.replaceWith(O(this.node,true))}return g.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},9307:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;if((n==="var"||n==="hoisted")&&isDeclaredInLoop(r||(()=>{throw new Error("Internal Babel error: unreachable ")})())){this.reassign(r)}this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t["default"]=Binding;function isDeclaredInLoop(e){for(let{parentPath:t,key:r}=e;t;({parentPath:t,key:r}=t)){if(t.isFunctionParent())return false;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&r==="body"){return true}}return false}},9632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5391);var s=r(2297);var i=r(9307);var a=r(6929);var o=r(776);var l=r(6419);var c=r(5399);const{NOT_LOCAL_BINDING:u,callExpression:p,cloneNode:f,getBindingIdentifiers:d,identifier:h,isArrayExpression:m,isBinary:y,isClass:g,isClassBody:b,isClassDeclaration:T,isExportAllDeclaration:S,isExportDefaultDeclaration:E,isExportNamedDeclaration:x,isFunctionDeclaration:v,isIdentifier:P,isImportDeclaration:A,isLiteral:w,isMethod:C,isModuleSpecifier:I,isNullLiteral:O,isObjectExpression:k,isProperty:N,isPureish:_,isRegExpLiteral:D,isSuper:M,isTaggedTemplateExpression:L,isTemplateLiteral:j,isThisExpression:F,isUnaryExpression:B,isVariableDeclaration:R,matchesPattern:U,memberExpression:V,numericLiteral:K,toIdentifier:W,unaryExpression:$,variableDeclaration:q,variableDeclarator:H,isRecordExpression:J,isTupleExpression:X,isObjectProperty:G,isTopicReference:z,isMetaProperty:Y,isPrivateName:Q,isExportDeclaration:Z}=o;function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(A(e)||Z(e)){if((S(e)||x(e)||A(e))&&e.source){gatherNodeParts(e.source,t)}else if((x(e)||A(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((E(e)||x(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(I(e)){gatherNodeParts(e.local,t)}else if(w(e)&&!O(e)&&!D(e)&&!j(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":gatherNodeParts(e.name,t);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const ee={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:r}=e;const n=r.getFunctionParent()||r.getProgramParent();n.registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped())return;if(e.isImportDeclaration())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ImportDeclaration(e){const t=e.scope.getBlockParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}else if(r.isVar()){const{scope:t}=e;const n=t.getFunctionParent()||t.getProgramParent();n.registerBinding("var",r)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(S(t))return;const n=t.declaration;if(T(n)||v(n)){const t=n.id;if(!t)return;const s=r.getBinding(t.name);s==null?void 0:s.reference(e)}else if(R(n)){for(const t of n.declarations){for(const n of Object.keys(d(t))){const t=r.getBinding(n);t==null?void 0:t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[u]){e.scope.registerBinding("local",e.get("id"),e)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[u]){e.scope.registerBinding("local",e)}}};let te=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=te++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key"||r.listKey==="decorators";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,s.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return f(t)}generateUidIdentifier(e){return h(this.generateUid(e))}generateUid(e="temp"){e=W(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return h(this.generateUidBasedOnNode(e,t))}isStatic(e){if(F(e)||M(e)||z(e)){return true}if(P(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return f(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const s=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&t==="const";if(s){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t){const r=this.getBinding(e);if(r){t||(t=this.generateUidIdentifier(e).name);const s=new n.default(r,e,t);{s.rename(arguments[2])}}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(P(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(m(e)){return e}if(P(e,{name:"arguments"})){return p(V(V(V(h("Array"),h("prototype")),h("slice")),h("call")),[e])}let n;const s=[e];if(t===true){n="toConsumableArray"}else if(typeof t==="number"){s.push(K(t));n="slicedToArray"}else{n="toArray"}if(r){s.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return p(this.hub.addHelper(n),s)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");const{kind:r}=e.node;for(const e of t){this.registerBinding(r==="using"||r==="await using"?"const":r,e)}}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.node.importKind==="type"||e.node.importKind==="typeof";const r=e.get("specifiers");for(const e of r){const r=t||e.isImportSpecifier()&&(e.node.importKind==="type"||e.node.importKind==="typeof");this.registerBinding(r?"unknown":"module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return $("void",K(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const s=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(s)){n.references[t]=true;for(const n of s[t]){const s=this.getOwnBinding(t);if(s){if(s.identifier===n)continue;this.checkBlockScopedCollisions(s,e,t,n)}if(s){this.registerConstantViolation(r)}else{this.bindings[t]=new i.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(P(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(F(e)||Y(e)||z(e)||Q(e)){return true}else if(g(e)){var r;if(e.superClass&&!this.isPure(e.superClass,t)){return false}if(((r=e.decorators)==null?void 0:r.length)>0){return false}return this.isPure(e.body,t)}else if(b(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(y(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(m(e)||X(e)){for(const r of e.elements){if(r!==null&&!this.isPure(r,t))return false}return true}else if(k(e)||J(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(C(e)){var n;if(e.computed&&!this.isPure(e.key,t))return false;if(((n=e.decorators)==null?void 0:n.length)>0){return false}return true}else if(N(e)){var s;if(e.computed&&!this.isPure(e.key,t))return false;if(((s=e.decorators)==null?void 0:s.length)>0){return false}if(G(e)||e.static){if(e.value!==null&&!this.isPure(e.value,t)){return false}}return true}else if(B(e)){return this.isPure(e.argument,t)}else if(L(e)){return U(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(j(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return _(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&(0,c.isExplodedVisitor)(ee)){for(const t of ee.enter){t.call(r,e,r)}const t=ee[e.type];if(t){for(const n of t.enter){n.call(r,e,r)}}}e.traverse(ee,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(t.isPattern()){t=this.getPatternParent().path}else if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const s=e._blockHoist==null?2:e._blockHoist;const i=`declaration:${n}:${s}`;let a=!r&&t.getData(i);if(!a){const e=q(n,[]);e._blockHoist=s;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(i,a)}const o=H(e.id,e.init);const l=a.node.declarations.push(o);t.scope.registerBinding(n,a.get("declarations")[l-1])}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern()){return e.getBlockParent()}}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const s=e.bindings[n];if(s.kind===r)t[n]=s}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const s=t.getOwnBinding(e);if(s){var n;if((n=r)!=null&&n.isPattern()&&s.kind!=="param"&&s.kind!=="local"){}else{return s}}else if(!s&&e==="arguments"&&t.path.isFunction()&&!t.path.isArrowFunctionExpression()){break}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){var r,n,s;if(!e)return false;if(this.hasOwnBinding(e))return true;{if(typeof t==="boolean")t={noGlobals:t}}if(this.parentHasBinding(e,t))return true;if(!((r=t)!=null&&r.noUids)&&this.hasUid(e))return true;if(!((n=t)!=null&&n.noGlobals)&&Scope.globals.includes(e))return true;if(!((s=t)!=null&&s.noGlobals)&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t["default"]=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},5391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(4097);var s=r(776);var i=r(8552);var a=r(81);var o=r(5399);const l={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){e.skip();if(e.isMethod()){(0,i.requeueComputedKeyAndDecorators)(e)}}},ObjectProperty({node:e,scope:t},r){const{name:n}=e.key;if(e.shorthand&&(n===r.oldName||n===r.newName)&&t.getBindingIdentifier(n)===r.binding.identifier){var s;e.shorthand=false;if((s=e.extra)!=null&&s.shorthand)e.extra.shorthand=false}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()){const{declaration:e}=t.node;if(s.isDeclaration(e)&&!e.id){return}}if(t.isExportAllDeclaration()){return}(0,n.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){const{binding:e,oldName:t,newName:r}=this;const{scope:n,path:s}=e;const i=s.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));if(i){const r=i.getOuterBindingIdentifiers();if(r[t]===e.identifier){this.maybeConvertFromExportDeclaration(i)}}const c=arguments[0]||n.block;(0,a.traverseNode)(c,(0,o.explode)(l),n,this,n.path,{discriminant:true});if(!arguments[0]){n.removeOwnBinding(t);n.bindings[r]=e;this.binding.identifier.name=r}if(i){this.maybeConvertFromClassFunctionDeclaration(s);this.maybeConvertFromClassFunctionExpression(s)}}}t["default"]=Renamer},81:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.traverseNode=traverseNode;var n=r(6983);var s=r(776);const{VISITOR_KEYS:i}=s;function traverseNode(e,t,r,s,a,o){const l=i[e.type];if(!l)return false;const c=new n.default(r,t,s,a);for(const t of l){if(o&&o[t])continue;if(c.visit(e,t)){return true}}return false}},5399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.isExplodedVisitor=isExplodedVisitor;t.merge=merge;t.verify=verify;var n=r(8958);var s=r(776);const{DEPRECATED_KEYS:i,DEPRECATED_ALIASES:a,FLIPPED_ALIAS_KEYS:o,TYPES:l,__internal__deprecationWarning:c}=s;function isVirtualType(e){return e in n}function isExplodedVisitor(e){return e==null?void 0:e._exploded}function explode(e){if(isExplodedVisitor(e))return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;if(!isVirtualType(t))continue;const r=e[t];for(const e of Object.keys(r)){r[e]=wrapCheck(t,r[e])}delete e[t];const s=n[t];if(s!==null){for(const t of s){if(e[t]){mergePair(e[t],r)}else{e[t]=r}}}else{mergePair(e,r)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;let r=o[t];if(t in i){const e=i[t];c(t,e,"Visitor ");r=[e]}else if(t in a){const e=a[t];c(t,e,"Visitor ");r=o[e]}if(!r)continue;const n=e[t];delete e[t];for(const t of r){const r=e[t];if(r){mergePair(r,n)}else{e[t]=Object.assign({},n)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(l.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let s=0;s<e.length;s++){const i=e[s];const a=t[s];explode(i);for(const e of Object.keys(i)){let t=i[e];if(a||r){t=wrapWithStateOrWrapper(t,a,r)}const s=n[e]||(n[e]={});mergePair(s,t)}}return n}function wrapWithStateOrWrapper(e,t,r){const n={};for(const s of Object.keys(e)){let i=e[s];if(!Array.isArray(i))continue;i=i.map((function(e){let n=e;if(t){n=function(r){e.call(t,r,t)}}if(r){n=r(t.key,s,n)}if(n!==e){n.toString=()=>e.toString()}return n}));n[s]=i}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const newFn=function(r){if(r[`is${e}`]()){return t.apply(this,arguments)}};newFn.toString=()=>t.toString();return newFn}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"){return true}{if(e==="blacklist"){return true}}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},6958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=assertNode;var n=r(4955);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},9174:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertAccessor=assertAccessor;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertArrayExpression=assertArrayExpression;t.assertArrayPattern=assertArrayPattern;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertAssignmentPattern=assertAssignmentPattern;t.assertAwaitExpression=assertAwaitExpression;t.assertBigIntLiteral=assertBigIntLiteral;t.assertBinary=assertBinary;t.assertBinaryExpression=assertBinaryExpression;t.assertBindExpression=assertBindExpression;t.assertBlock=assertBlock;t.assertBlockParent=assertBlockParent;t.assertBlockStatement=assertBlockStatement;t.assertBooleanLiteral=assertBooleanLiteral;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertClass=assertClass;t.assertClassAccessorProperty=assertClassAccessorProperty;t.assertClassBody=assertClassBody;t.assertClassDeclaration=assertClassDeclaration;t.assertClassExpression=assertClassExpression;t.assertClassImplements=assertClassImplements;t.assertClassMethod=assertClassMethod;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassProperty=assertClassProperty;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDecimalLiteral=assertDecimalLiteral;t.assertDeclaration=assertDeclaration;t.assertDeclareClass=assertDeclareClass;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertDecorator=assertDecorator;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertDoExpression=assertDoExpression;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertEnumBody=assertEnumBody;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertEnumMember=assertEnumMember;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertExportSpecifier=assertExportSpecifier;t.assertExpression=assertExpression;t.assertExpressionStatement=assertExpressionStatement;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFile=assertFile;t.assertFlow=assertFlow;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertFlowType=assertFlowType;t.assertFor=assertFor;t.assertForInStatement=assertForInStatement;t.assertForOfStatement=assertForOfStatement;t.assertForStatement=assertForStatement;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertFunctionParent=assertFunctionParent;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertImmutable=assertImmutable;t.assertImport=assertImport;t.assertImportAttribute=assertImportAttribute;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportOrExportDeclaration=assertImportOrExportDeclaration;t.assertImportSpecifier=assertImportSpecifier;t.assertIndexedAccessType=assertIndexedAccessType;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertInterpreterDirective=assertInterpreterDirective;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertJSX=assertJSX;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXFragment=assertJSXFragment;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXText=assertJSXText;t.assertLVal=assertLVal;t.assertLabeledStatement=assertLabeledStatement;t.assertLiteral=assertLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertLoop=assertLoop;t.assertMemberExpression=assertMemberExpression;t.assertMetaProperty=assertMetaProperty;t.assertMethod=assertMethod;t.assertMiscellaneous=assertMiscellaneous;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertModuleDeclaration=assertModuleDeclaration;t.assertModuleExpression=assertModuleExpression;t.assertModuleSpecifier=assertModuleSpecifier;t.assertNewExpression=assertNewExpression;t.assertNoop=assertNoop;t.assertNullLiteral=assertNullLiteral;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteral=assertNumberLiteral;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertNumericLiteral=assertNumericLiteral;t.assertObjectExpression=assertObjectExpression;t.assertObjectMember=assertObjectMember;t.assertObjectMethod=assertObjectMethod;t.assertObjectPattern=assertObjectPattern;t.assertObjectProperty=assertObjectProperty;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertPattern=assertPattern;t.assertPatternLike=assertPatternLike;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPlaceholder=assertPlaceholder;t.assertPrivate=assertPrivate;t.assertPrivateName=assertPrivateName;t.assertProgram=assertProgram;t.assertProperty=assertProperty;t.assertPureish=assertPureish;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertRecordExpression=assertRecordExpression;t.assertRegExpLiteral=assertRegExpLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestElement=assertRestElement;t.assertRestProperty=assertRestProperty;t.assertReturnStatement=assertReturnStatement;t.assertScopable=assertScopable;t.assertSequenceExpression=assertSequenceExpression;t.assertSpreadElement=assertSpreadElement;t.assertSpreadProperty=assertSpreadProperty;t.assertStandardized=assertStandardized;t.assertStatement=assertStatement;t.assertStaticBlock=assertStaticBlock;t.assertStringLiteral=assertStringLiteral;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSuper=assertSuper;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSArrayType=assertTSArrayType;t.assertTSAsExpression=assertTSAsExpression;t.assertTSBaseType=assertTSBaseType;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConditionalType=assertTSConditionalType;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSConstructorType=assertTSConstructorType;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSEntityName=assertTSEntityName;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSFunctionType=assertTSFunctionType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSImportType=assertTSImportType;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSInferType=assertTSInferType;t.assertTSInstantiationExpression=assertTSInstantiationExpression;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSLiteralType=assertTSLiteralType;t.assertTSMappedType=assertTSMappedType;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSOptionalType=assertTSOptionalType;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSRestType=assertTSRestType;t.assertTSSatisfiesExpression=assertTSSatisfiesExpression;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSThisType=assertTSThisType;t.assertTSTupleType=assertTSTupleType;t.assertTSType=assertTSType;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSTypeElement=assertTSTypeElement;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSTypeParameter=assertTSTypeParameter;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeReference=assertTSTypeReference;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnionType=assertTSUnionType;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertTerminatorless=assertTerminatorless;t.assertThisExpression=assertThisExpression;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertThrowStatement=assertThrowStatement;t.assertTopicReference=assertTopicReference;t.assertTryStatement=assertTryStatement;t.assertTupleExpression=assertTupleExpression;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertTypeScript=assertTypeScript;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertUnaryExpression=assertUnaryExpression;t.assertUnaryLike=assertUnaryLike;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertUpdateExpression=assertUpdateExpression;t.assertUserWhitespacable=assertUserWhitespacable;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertWhile=assertWhile;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertYieldExpression=assertYieldExpression;var n=r(9247);var s=r(4585);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassAccessorProperty(e,t){assert("ClassAccessorProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSInstantiationExpression(e,t){assert("TSInstantiationExpression",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSSatisfiesExpression(e,t){assert("TSSatisfiesExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertStandardized(e,t){assert("Standardized",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertImportOrExportDeclaration(e,t){assert("ImportOrExportDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertAccessor(e,t){assert("Accessor",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertMiscellaneous(e,t){assert("Miscellaneous",e,t)}function assertTypeScript(e,t){assert("TypeScript",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){(0,s.default)("assertNumberLiteral","assertNumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){(0,s.default)("assertRegexLiteral","assertRegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){(0,s.default)("assertRestProperty","assertRestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){(0,s.default)("assertSpreadProperty","assertSpreadElement");assert("SpreadProperty",e,t)}function assertModuleDeclaration(e,t){(0,s.default)("assertModuleDeclaration","assertImportOrExportDeclaration");assert("ModuleDeclaration",e,t)}},3103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createFlowUnionType;var n=r(7453);var s=r(6627);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(7453);var s=createTypeAnnotationBasedOnTypeof;t["default"]=s;function createTypeAnnotationBasedOnTypeof(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}},7453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.anyTypeAnnotation=anyTypeAnnotation;t.argumentPlaceholder=argumentPlaceholder;t.arrayExpression=arrayExpression;t.arrayPattern=arrayPattern;t.arrayTypeAnnotation=arrayTypeAnnotation;t.arrowFunctionExpression=arrowFunctionExpression;t.assignmentExpression=assignmentExpression;t.assignmentPattern=assignmentPattern;t.awaitExpression=awaitExpression;t.bigIntLiteral=bigIntLiteral;t.binaryExpression=binaryExpression;t.bindExpression=bindExpression;t.blockStatement=blockStatement;t.booleanLiteral=booleanLiteral;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.classAccessorProperty=classAccessorProperty;t.classBody=classBody;t.classDeclaration=classDeclaration;t.classExpression=classExpression;t.classImplements=classImplements;t.classMethod=classMethod;t.classPrivateMethod=classPrivateMethod;t.classPrivateProperty=classPrivateProperty;t.classProperty=classProperty;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.decimalLiteral=decimalLiteral;t.declareClass=declareClass;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declareExportDeclaration=declareExportDeclaration;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareOpaqueType=declareOpaqueType;t.declareTypeAlias=declareTypeAlias;t.declareVariable=declareVariable;t.declaredPredicate=declaredPredicate;t.decorator=decorator;t.directive=directive;t.directiveLiteral=directiveLiteral;t.doExpression=doExpression;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.emptyTypeAnnotation=emptyTypeAnnotation;t.enumBooleanBody=enumBooleanBody;t.enumBooleanMember=enumBooleanMember;t.enumDeclaration=enumDeclaration;t.enumDefaultedMember=enumDefaultedMember;t.enumNumberBody=enumNumberBody;t.enumNumberMember=enumNumberMember;t.enumStringBody=enumStringBody;t.enumStringMember=enumStringMember;t.enumSymbolBody=enumSymbolBody;t.existsTypeAnnotation=existsTypeAnnotation;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportDefaultSpecifier=exportDefaultSpecifier;t.exportNamedDeclaration=exportNamedDeclaration;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.exportSpecifier=exportSpecifier;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forOfStatement=forOfStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.identifier=identifier;t.ifStatement=ifStatement;t["import"]=_import;t.importAttribute=importAttribute;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.indexedAccessType=indexedAccessType;t.inferredPredicate=inferredPredicate;t.interfaceDeclaration=interfaceDeclaration;t.interfaceExtends=interfaceExtends;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.interpreterDirective=interpreterDirective;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXText=t.jsxText=jsxText;t.labeledStatement=labeledStatement;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.metaProperty=metaProperty;t.mixedTypeAnnotation=mixedTypeAnnotation;t.moduleExpression=moduleExpression;t.newExpression=newExpression;t.noop=noop;t.nullLiteral=nullLiteral;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteral=NumberLiteral;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.numericLiteral=numericLiteral;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectPattern=objectPattern;t.objectProperty=objectProperty;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.optionalCallExpression=optionalCallExpression;t.optionalIndexedAccessType=optionalIndexedAccessType;t.optionalMemberExpression=optionalMemberExpression;t.parenthesizedExpression=parenthesizedExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.placeholder=placeholder;t.privateName=privateName;t.program=program;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.recordExpression=recordExpression;t.regExpLiteral=regExpLiteral;t.regexLiteral=RegexLiteral;t.restElement=restElement;t.restProperty=RestProperty;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.spreadElement=spreadElement;t.spreadProperty=SpreadProperty;t.staticBlock=staticBlock;t.stringLiteral=stringLiteral;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t["super"]=_super;t.switchCase=switchCase;t.switchStatement=switchStatement;t.symbolTypeAnnotation=symbolTypeAnnotation;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.thisExpression=thisExpression;t.thisTypeAnnotation=thisTypeAnnotation;t.throwStatement=throwStatement;t.topicReference=topicReference;t.tryStatement=tryStatement;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSImportType=t.tsImportType=tsImportType;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSInferType=t.tsInferType=tsInferType;t.tSInstantiationExpression=t.tsInstantiationExpression=tsInstantiationExpression;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSRestType=t.tsRestType=tsRestType;t.tSSatisfiesExpression=t.tsSatisfiesExpression=tsSatisfiesExpression;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tupleExpression=tupleExpression;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.unaryExpression=unaryExpression;t.unionTypeAnnotation=unionTypeAnnotation;t.updateExpression=updateExpression;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.whileStatement=whileStatement;t.withStatement=withStatement;t.yieldExpression=yieldExpression;var n=r(7170);var s=r(4585);function arrayExpression(e=[]){return(0,n.default)({type:"ArrayExpression",elements:e})}function assignmentExpression(e,t,r){return(0,n.default)({type:"AssignmentExpression",operator:e,left:t,right:r})}function binaryExpression(e,t,r){return(0,n.default)({type:"BinaryExpression",operator:e,left:t,right:r})}function interpreterDirective(e){return(0,n.default)({type:"InterpreterDirective",value:e})}function directive(e){return(0,n.default)({type:"Directive",value:e})}function directiveLiteral(e){return(0,n.default)({type:"DirectiveLiteral",value:e})}function blockStatement(e,t=[]){return(0,n.default)({type:"BlockStatement",body:e,directives:t})}function breakStatement(e=null){return(0,n.default)({type:"BreakStatement",label:e})}function callExpression(e,t){return(0,n.default)({type:"CallExpression",callee:e,arguments:t})}function catchClause(e=null,t){return(0,n.default)({type:"CatchClause",param:e,body:t})}function conditionalExpression(e,t,r){return(0,n.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:r})}function continueStatement(e=null){return(0,n.default)({type:"ContinueStatement",label:e})}function debuggerStatement(){return{type:"DebuggerStatement"}}function doWhileStatement(e,t){return(0,n.default)({type:"DoWhileStatement",test:e,body:t})}function emptyStatement(){return{type:"EmptyStatement"}}function expressionStatement(e){return(0,n.default)({type:"ExpressionStatement",expression:e})}function file(e,t=null,r=null){return(0,n.default)({type:"File",program:e,comments:t,tokens:r})}function forInStatement(e,t,r){return(0,n.default)({type:"ForInStatement",left:e,right:t,body:r})}function forStatement(e=null,t=null,r=null,s){return(0,n.default)({type:"ForStatement",init:e,test:t,update:r,body:s})}function functionDeclaration(e=null,t,r,s=false,i=false){return(0,n.default)({type:"FunctionDeclaration",id:e,params:t,body:r,generator:s,async:i})}function functionExpression(e=null,t,r,s=false,i=false){return(0,n.default)({type:"FunctionExpression",id:e,params:t,body:r,generator:s,async:i})}function identifier(e){return(0,n.default)({type:"Identifier",name:e})}function ifStatement(e,t,r=null){return(0,n.default)({type:"IfStatement",test:e,consequent:t,alternate:r})}function labeledStatement(e,t){return(0,n.default)({type:"LabeledStatement",label:e,body:t})}function stringLiteral(e){return(0,n.default)({type:"StringLiteral",value:e})}function numericLiteral(e){return(0,n.default)({type:"NumericLiteral",value:e})}function nullLiteral(){return{type:"NullLiteral"}}function booleanLiteral(e){return(0,n.default)({type:"BooleanLiteral",value:e})}function regExpLiteral(e,t=""){return(0,n.default)({type:"RegExpLiteral",pattern:e,flags:t})}function logicalExpression(e,t,r){return(0,n.default)({type:"LogicalExpression",operator:e,left:t,right:r})}function memberExpression(e,t,r=false,s=null){return(0,n.default)({type:"MemberExpression",object:e,property:t,computed:r,optional:s})}function newExpression(e,t){return(0,n.default)({type:"NewExpression",callee:e,arguments:t})}function program(e,t=[],r="script",s=null){return(0,n.default)({type:"Program",body:e,directives:t,sourceType:r,interpreter:s,sourceFile:null})}function objectExpression(e){return(0,n.default)({type:"ObjectExpression",properties:e})}function objectMethod(e="method",t,r,s,i=false,a=false,o=false){return(0,n.default)({type:"ObjectMethod",kind:e,key:t,params:r,body:s,computed:i,generator:a,async:o})}function objectProperty(e,t,r=false,s=false,i=null){return(0,n.default)({type:"ObjectProperty",key:e,value:t,computed:r,shorthand:s,decorators:i})}function restElement(e){return(0,n.default)({type:"RestElement",argument:e})}function returnStatement(e=null){return(0,n.default)({type:"ReturnStatement",argument:e})}function sequenceExpression(e){return(0,n.default)({type:"SequenceExpression",expressions:e})}function parenthesizedExpression(e){return(0,n.default)({type:"ParenthesizedExpression",expression:e})}function switchCase(e=null,t){return(0,n.default)({type:"SwitchCase",test:e,consequent:t})}function switchStatement(e,t){return(0,n.default)({type:"SwitchStatement",discriminant:e,cases:t})}function thisExpression(){return{type:"ThisExpression"}}function throwStatement(e){return(0,n.default)({type:"ThrowStatement",argument:e})}function tryStatement(e,t=null,r=null){return(0,n.default)({type:"TryStatement",block:e,handler:t,finalizer:r})}function unaryExpression(e,t,r=true){return(0,n.default)({type:"UnaryExpression",operator:e,argument:t,prefix:r})}function updateExpression(e,t,r=false){return(0,n.default)({type:"UpdateExpression",operator:e,argument:t,prefix:r})}function variableDeclaration(e,t){return(0,n.default)({type:"VariableDeclaration",kind:e,declarations:t})}function variableDeclarator(e,t=null){return(0,n.default)({type:"VariableDeclarator",id:e,init:t})}function whileStatement(e,t){return(0,n.default)({type:"WhileStatement",test:e,body:t})}function withStatement(e,t){return(0,n.default)({type:"WithStatement",object:e,body:t})}function assignmentPattern(e,t){return(0,n.default)({type:"AssignmentPattern",left:e,right:t})}function arrayPattern(e){return(0,n.default)({type:"ArrayPattern",elements:e})}function arrowFunctionExpression(e,t,r=false){return(0,n.default)({type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null})}function classBody(e){return(0,n.default)({type:"ClassBody",body:e})}function classExpression(e=null,t=null,r,s=null){return(0,n.default)({type:"ClassExpression",id:e,superClass:t,body:r,decorators:s})}function classDeclaration(e,t=null,r,s=null){return(0,n.default)({type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:s})}function exportAllDeclaration(e){return(0,n.default)({type:"ExportAllDeclaration",source:e})}function exportDefaultDeclaration(e){return(0,n.default)({type:"ExportDefaultDeclaration",declaration:e})}function exportNamedDeclaration(e=null,t=[],r=null){return(0,n.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r})}function exportSpecifier(e,t){return(0,n.default)({type:"ExportSpecifier",local:e,exported:t})}function forOfStatement(e,t,r,s=false){return(0,n.default)({type:"ForOfStatement",left:e,right:t,body:r,await:s})}function importDeclaration(e,t){return(0,n.default)({type:"ImportDeclaration",specifiers:e,source:t})}function importDefaultSpecifier(e){return(0,n.default)({type:"ImportDefaultSpecifier",local:e})}function importNamespaceSpecifier(e){return(0,n.default)({type:"ImportNamespaceSpecifier",local:e})}function importSpecifier(e,t){return(0,n.default)({type:"ImportSpecifier",local:e,imported:t})}function metaProperty(e,t){return(0,n.default)({type:"MetaProperty",meta:e,property:t})}function classMethod(e="method",t,r,s,i=false,a=false,o=false,l=false){return(0,n.default)({type:"ClassMethod",kind:e,key:t,params:r,body:s,computed:i,static:a,generator:o,async:l})}function objectPattern(e){return(0,n.default)({type:"ObjectPattern",properties:e})}function spreadElement(e){return(0,n.default)({type:"SpreadElement",argument:e})}function _super(){return{type:"Super"}}function taggedTemplateExpression(e,t){return(0,n.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})}function templateElement(e,t=false){return(0,n.default)({type:"TemplateElement",value:e,tail:t})}function templateLiteral(e,t){return(0,n.default)({type:"TemplateLiteral",quasis:e,expressions:t})}function yieldExpression(e=null,t=false){return(0,n.default)({type:"YieldExpression",argument:e,delegate:t})}function awaitExpression(e){return(0,n.default)({type:"AwaitExpression",argument:e})}function _import(){return{type:"Import"}}function bigIntLiteral(e){return(0,n.default)({type:"BigIntLiteral",value:e})}function exportNamespaceSpecifier(e){return(0,n.default)({type:"ExportNamespaceSpecifier",exported:e})}function optionalMemberExpression(e,t,r=false,s){return(0,n.default)({type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:s})}function optionalCallExpression(e,t,r){return(0,n.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:r})}function classProperty(e,t=null,r=null,s=null,i=false,a=false){return(0,n.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:s,computed:i,static:a})}function classAccessorProperty(e,t=null,r=null,s=null,i=false,a=false){return(0,n.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:s,computed:i,static:a})}function classPrivateProperty(e,t=null,r=null,s=false){return(0,n.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:s})}function classPrivateMethod(e="method",t,r,s,i=false){return(0,n.default)({type:"ClassPrivateMethod",kind:e,key:t,params:r,body:s,static:i})}function privateName(e){return(0,n.default)({type:"PrivateName",id:e})}function staticBlock(e){return(0,n.default)({type:"StaticBlock",body:e})}function anyTypeAnnotation(){return{type:"AnyTypeAnnotation"}}function arrayTypeAnnotation(e){return(0,n.default)({type:"ArrayTypeAnnotation",elementType:e})}function booleanTypeAnnotation(){return{type:"BooleanTypeAnnotation"}}function booleanLiteralTypeAnnotation(e){return(0,n.default)({type:"BooleanLiteralTypeAnnotation",value:e})}function nullLiteralTypeAnnotation(){return{type:"NullLiteralTypeAnnotation"}}function classImplements(e,t=null){return(0,n.default)({type:"ClassImplements",id:e,typeParameters:t})}function declareClass(e,t=null,r=null,s){return(0,n.default)({type:"DeclareClass",id:e,typeParameters:t,extends:r,body:s})}function declareFunction(e){return(0,n.default)({type:"DeclareFunction",id:e})}function declareInterface(e,t=null,r=null,s){return(0,n.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:s})}function declareModule(e,t,r=null){return(0,n.default)({type:"DeclareModule",id:e,body:t,kind:r})}function declareModuleExports(e){return(0,n.default)({type:"DeclareModuleExports",typeAnnotation:e})}function declareTypeAlias(e,t=null,r){return(0,n.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:r})}function declareOpaqueType(e,t=null,r=null){return(0,n.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r})}function declareVariable(e){return(0,n.default)({type:"DeclareVariable",id:e})}function declareExportDeclaration(e=null,t=null,r=null){return(0,n.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r})}function declareExportAllDeclaration(e){return(0,n.default)({type:"DeclareExportAllDeclaration",source:e})}function declaredPredicate(e){return(0,n.default)({type:"DeclaredPredicate",value:e})}function existsTypeAnnotation(){return{type:"ExistsTypeAnnotation"}}function functionTypeAnnotation(e=null,t,r=null,s){return(0,n.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:s})}function functionTypeParam(e=null,t){return(0,n.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})}function genericTypeAnnotation(e,t=null){return(0,n.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})}function inferredPredicate(){return{type:"InferredPredicate"}}function interfaceExtends(e,t=null){return(0,n.default)({type:"InterfaceExtends",id:e,typeParameters:t})}function interfaceDeclaration(e,t=null,r=null,s){return(0,n.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:s})}function interfaceTypeAnnotation(e=null,t){return(0,n.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})}function intersectionTypeAnnotation(e){return(0,n.default)({type:"IntersectionTypeAnnotation",types:e})}function mixedTypeAnnotation(){return{type:"MixedTypeAnnotation"}}function emptyTypeAnnotation(){return{type:"EmptyTypeAnnotation"}}function nullableTypeAnnotation(e){return(0,n.default)({type:"NullableTypeAnnotation",typeAnnotation:e})}function numberLiteralTypeAnnotation(e){return(0,n.default)({type:"NumberLiteralTypeAnnotation",value:e})}function numberTypeAnnotation(){return{type:"NumberTypeAnnotation"}}function objectTypeAnnotation(e,t=[],r=[],s=[],i=false){return(0,n.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:s,exact:i})}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:s,method:i})}function objectTypeCallProperty(e){return(0,n.default)({type:"ObjectTypeCallProperty",value:e,static:null})}function objectTypeIndexer(e=null,t,r,s=null){return(0,n.default)({type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:s,static:null})}function objectTypeProperty(e,t,r=null){return(0,n.default)({type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function objectTypeSpreadProperty(e){return(0,n.default)({type:"ObjectTypeSpreadProperty",argument:e})}function opaqueType(e,t=null,r=null,s){return(0,n.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:s})}function qualifiedTypeIdentifier(e,t){return(0,n.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})}function stringLiteralTypeAnnotation(e){return(0,n.default)({type:"StringLiteralTypeAnnotation",value:e})}function stringTypeAnnotation(){return{type:"StringTypeAnnotation"}}function symbolTypeAnnotation(){return{type:"SymbolTypeAnnotation"}}function thisTypeAnnotation(){return{type:"ThisTypeAnnotation"}}function tupleTypeAnnotation(e){return(0,n.default)({type:"TupleTypeAnnotation",types:e})}function typeofTypeAnnotation(e){return(0,n.default)({type:"TypeofTypeAnnotation",argument:e})}function typeAlias(e,t=null,r){return(0,n.default)({type:"TypeAlias",id:e,typeParameters:t,right:r})}function typeAnnotation(e){return(0,n.default)({type:"TypeAnnotation",typeAnnotation:e})}function typeCastExpression(e,t){return(0,n.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})}function typeParameter(e=null,t=null,r=null){return(0,n.default)({type:"TypeParameter",bound:e,default:t,variance:r,name:null})}function typeParameterDeclaration(e){return(0,n.default)({type:"TypeParameterDeclaration",params:e})}function typeParameterInstantiation(e){return(0,n.default)({type:"TypeParameterInstantiation",params:e})}function unionTypeAnnotation(e){return(0,n.default)({type:"UnionTypeAnnotation",types:e})}function variance(e){return(0,n.default)({type:"Variance",kind:e})}function voidTypeAnnotation(){return{type:"VoidTypeAnnotation"}}function enumDeclaration(e,t){return(0,n.default)({type:"EnumDeclaration",id:e,body:t})}function enumBooleanBody(e){return(0,n.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumNumberBody(e){return(0,n.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumStringBody(e){return(0,n.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumSymbolBody(e){return(0,n.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})}function enumBooleanMember(e){return(0,n.default)({type:"EnumBooleanMember",id:e,init:null})}function enumNumberMember(e,t){return(0,n.default)({type:"EnumNumberMember",id:e,init:t})}function enumStringMember(e,t){return(0,n.default)({type:"EnumStringMember",id:e,init:t})}function enumDefaultedMember(e){return(0,n.default)({type:"EnumDefaultedMember",id:e})}function indexedAccessType(e,t){return(0,n.default)({type:"IndexedAccessType",objectType:e,indexType:t})}function optionalIndexedAccessType(e,t){return(0,n.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})}function jsxAttribute(e,t=null){return(0,n.default)({type:"JSXAttribute",name:e,value:t})}function jsxClosingElement(e){return(0,n.default)({type:"JSXClosingElement",name:e})}function jsxElement(e,t=null,r,s=null){return(0,n.default)({type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:s})}function jsxEmptyExpression(){return{type:"JSXEmptyExpression"}}function jsxExpressionContainer(e){return(0,n.default)({type:"JSXExpressionContainer",expression:e})}function jsxSpreadChild(e){return(0,n.default)({type:"JSXSpreadChild",expression:e})}function jsxIdentifier(e){return(0,n.default)({type:"JSXIdentifier",name:e})}function jsxMemberExpression(e,t){return(0,n.default)({type:"JSXMemberExpression",object:e,property:t})}function jsxNamespacedName(e,t){return(0,n.default)({type:"JSXNamespacedName",namespace:e,name:t})}function jsxOpeningElement(e,t,r=false){return(0,n.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r})}function jsxSpreadAttribute(e){return(0,n.default)({type:"JSXSpreadAttribute",argument:e})}function jsxText(e){return(0,n.default)({type:"JSXText",value:e})}function jsxFragment(e,t,r){return(0,n.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:r})}function jsxOpeningFragment(){return{type:"JSXOpeningFragment"}}function jsxClosingFragment(){return{type:"JSXClosingFragment"}}function noop(){return{type:"Noop"}}function placeholder(e,t){return(0,n.default)({type:"Placeholder",expectedNode:e,name:t})}function v8IntrinsicIdentifier(e){return(0,n.default)({type:"V8IntrinsicIdentifier",name:e})}function argumentPlaceholder(){return{type:"ArgumentPlaceholder"}}function bindExpression(e,t){return(0,n.default)({type:"BindExpression",object:e,callee:t})}function importAttribute(e,t){return(0,n.default)({type:"ImportAttribute",key:e,value:t})}function decorator(e){return(0,n.default)({type:"Decorator",expression:e})}function doExpression(e,t=false){return(0,n.default)({type:"DoExpression",body:e,async:t})}function exportDefaultSpecifier(e){return(0,n.default)({type:"ExportDefaultSpecifier",exported:e})}function recordExpression(e){return(0,n.default)({type:"RecordExpression",properties:e})}function tupleExpression(e=[]){return(0,n.default)({type:"TupleExpression",elements:e})}function decimalLiteral(e){return(0,n.default)({type:"DecimalLiteral",value:e})}function moduleExpression(e){return(0,n.default)({type:"ModuleExpression",body:e})}function topicReference(){return{type:"TopicReference"}}function pipelineTopicExpression(e){return(0,n.default)({type:"PipelineTopicExpression",expression:e})}function pipelineBareFunction(e){return(0,n.default)({type:"PipelineBareFunction",callee:e})}function pipelinePrimaryTopicReference(){return{type:"PipelinePrimaryTopicReference"}}function tsParameterProperty(e){return(0,n.default)({type:"TSParameterProperty",parameter:e})}function tsDeclareFunction(e=null,t=null,r,s=null){return(0,n.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:s})}function tsDeclareMethod(e=null,t,r=null,s,i=null){return(0,n.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:s,returnType:i})}function tsQualifiedName(e,t){return(0,n.default)({type:"TSQualifiedName",left:e,right:t})}function tsCallSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsPropertySignature(e,t=null,r=null){return(0,n.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,initializer:r,kind:null})}function tsMethodSignature(e,t=null,r,s=null){return(0,n.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:s,kind:null})}function tsIndexSignature(e,t=null){return(0,n.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})}function tsAnyKeyword(){return{type:"TSAnyKeyword"}}function tsBooleanKeyword(){return{type:"TSBooleanKeyword"}}function tsBigIntKeyword(){return{type:"TSBigIntKeyword"}}function tsIntrinsicKeyword(){return{type:"TSIntrinsicKeyword"}}function tsNeverKeyword(){return{type:"TSNeverKeyword"}}function tsNullKeyword(){return{type:"TSNullKeyword"}}function tsNumberKeyword(){return{type:"TSNumberKeyword"}}function tsObjectKeyword(){return{type:"TSObjectKeyword"}}function tsStringKeyword(){return{type:"TSStringKeyword"}}function tsSymbolKeyword(){return{type:"TSSymbolKeyword"}}function tsUndefinedKeyword(){return{type:"TSUndefinedKeyword"}}function tsUnknownKeyword(){return{type:"TSUnknownKeyword"}}function tsVoidKeyword(){return{type:"TSVoidKeyword"}}function tsThisType(){return{type:"TSThisType"}}function tsFunctionType(e=null,t,r=null){return(0,n.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructorType(e=null,t,r=null){return(0,n.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsTypeReference(e,t=null){return(0,n.default)({type:"TSTypeReference",typeName:e,typeParameters:t})}function tsTypePredicate(e,t=null,r=null){return(0,n.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r})}function tsTypeQuery(e,t=null){return(0,n.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})}function tsTypeLiteral(e){return(0,n.default)({type:"TSTypeLiteral",members:e})}function tsArrayType(e){return(0,n.default)({type:"TSArrayType",elementType:e})}function tsTupleType(e){return(0,n.default)({type:"TSTupleType",elementTypes:e})}function tsOptionalType(e){return(0,n.default)({type:"TSOptionalType",typeAnnotation:e})}function tsRestType(e){return(0,n.default)({type:"TSRestType",typeAnnotation:e})}function tsNamedTupleMember(e,t,r=false){return(0,n.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:r})}function tsUnionType(e){return(0,n.default)({type:"TSUnionType",types:e})}function tsIntersectionType(e){return(0,n.default)({type:"TSIntersectionType",types:e})}function tsConditionalType(e,t,r,s){return(0,n.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:s})}function tsInferType(e){return(0,n.default)({type:"TSInferType",typeParameter:e})}function tsParenthesizedType(e){return(0,n.default)({type:"TSParenthesizedType",typeAnnotation:e})}function tsTypeOperator(e){return(0,n.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})}function tsIndexedAccessType(e,t){return(0,n.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})}function tsMappedType(e,t=null,r=null){return(0,n.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r})}function tsLiteralType(e){return(0,n.default)({type:"TSLiteralType",literal:e})}function tsExpressionWithTypeArguments(e,t=null){return(0,n.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})}function tsInterfaceDeclaration(e,t=null,r=null,s){return(0,n.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:s})}function tsInterfaceBody(e){return(0,n.default)({type:"TSInterfaceBody",body:e})}function tsTypeAliasDeclaration(e,t=null,r){return(0,n.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r})}function tsInstantiationExpression(e,t=null){return(0,n.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})}function tsAsExpression(e,t){return(0,n.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})}function tsSatisfiesExpression(e,t){return(0,n.default)({type:"TSSatisfiesExpression",expression:e,typeAnnotation:t})}function tsTypeAssertion(e,t){return(0,n.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})}function tsEnumDeclaration(e,t){return(0,n.default)({type:"TSEnumDeclaration",id:e,members:t})}function tsEnumMember(e,t=null){return(0,n.default)({type:"TSEnumMember",id:e,initializer:t})}function tsModuleDeclaration(e,t){return(0,n.default)({type:"TSModuleDeclaration",id:e,body:t})}function tsModuleBlock(e){return(0,n.default)({type:"TSModuleBlock",body:e})}function tsImportType(e,t=null,r=null){return(0,n.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:r})}function tsImportEqualsDeclaration(e,t){return(0,n.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})}function tsExternalModuleReference(e){return(0,n.default)({type:"TSExternalModuleReference",expression:e})}function tsNonNullExpression(e){return(0,n.default)({type:"TSNonNullExpression",expression:e})}function tsExportAssignment(e){return(0,n.default)({type:"TSExportAssignment",expression:e})}function tsNamespaceExportDeclaration(e){return(0,n.default)({type:"TSNamespaceExportDeclaration",id:e})}function tsTypeAnnotation(e){return(0,n.default)({type:"TSTypeAnnotation",typeAnnotation:e})}function tsTypeParameterInstantiation(e){return(0,n.default)({type:"TSTypeParameterInstantiation",params:e})}function tsTypeParameterDeclaration(e){return(0,n.default)({type:"TSTypeParameterDeclaration",params:e})}function tsTypeParameter(e=null,t=null,r){return(0,n.default)({type:"TSTypeParameter",constraint:e,default:t,name:r})}function NumberLiteral(e){(0,s.default)("NumberLiteral","NumericLiteral","The node type ");return numericLiteral(e)}function RegexLiteral(e,t=""){(0,s.default)("RegexLiteral","RegExpLiteral","The node type ");return regExpLiteral(e,t)}function RestProperty(e){(0,s.default)("RestProperty","RestElement","The node type ");return restElement(e)}function SpreadProperty(e){(0,s.default)("SpreadProperty","SpreadElement","The node type ");return spreadElement(e)}},8611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ClassAccessorProperty",{enumerable:true,get:function(){return n.classAccessorProperty}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSInstantiationExpression",{enumerable:true,get:function(){return n.tsInstantiationExpression}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSSatisfiesExpression",{enumerable:true,get:function(){return n.tsSatisfiesExpression}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});var n=r(7453)},4371:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildChildren;var n=r(601);var s=r(9187);function buildChildren(e){const t=[];for(let r=0;r<e.children.length;r++){let i=e.children[r];if((0,n.isJSXText)(i)){(0,s.default)(i,t);continue}if((0,n.isJSXExpressionContainer)(i))i=i.expression;if((0,n.isJSXEmptyExpression)(i))continue;t.push(i)}return t}},8130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTSUnionType;var n=r(7453);var s=r(1093);var i=r(601);function createTSUnionType(e){const t=e.map((e=>(0,i.isTSTypeAnnotation)(e)?e.typeAnnotation:e));const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},7170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validateNode;var n=r(4439);var s=r(776);function validateNode(e){const t=s.BUILDER_KEYS[e.type];for(const r of t){(0,n.default)(e,r,e[r])}return e}},7653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=clone;var n=r(7290);function clone(e){return(0,n.default)(e,false)}},8853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeep;var n=r(7290);function cloneDeep(e){return(0,n.default)(e)}},3198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeepWithoutLoc;var n=r(7290);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},7290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneNode;var n=r(7940);var s=r(601);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r,n){if(e&&typeof e.type==="string"){return cloneNodeInternal(e,t,r,n)}return e}function cloneIfNodeOrArray(e,t,r,n){if(Array.isArray(e)){return e.map((e=>cloneIfNode(e,t,r,n)))}return cloneIfNode(e,t,r,n)}function cloneNode(e,t=true,r=false){return cloneNodeInternal(e,t,r,new Map)}function cloneNodeInternal(e,t=true,r=false,a){if(!e)return e;const{type:o}=e;const l={type:e.type};if((0,s.isIdentifier)(e)){l.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){l.optional=e.optional}if(i(e,"typeAnnotation")){l.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r,a):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,o)){throw new Error(`Unknown node type: "${o}"`)}else{for(const c of Object.keys(n.NODE_FIELDS[o])){if(i(e,c)){if(t){l[c]=(0,s.isFile)(e)&&c==="comments"?maybeCloneComments(e.comments,t,r,a):cloneIfNodeOrArray(e[c],true,r,a)}else{l[c]=e[c]}}}}if(i(e,"loc")){if(r){l.loc=null}else{l.loc=e.loc}}if(i(e,"leadingComments")){l.leadingComments=maybeCloneComments(e.leadingComments,t,r,a)}if(i(e,"innerComments")){l.innerComments=maybeCloneComments(e.innerComments,t,r,a)}if(i(e,"trailingComments")){l.trailingComments=maybeCloneComments(e.trailingComments,t,r,a)}if(i(e,"extra")){l.extra=Object.assign({},e.extra)}return l}function maybeCloneComments(e,t,r,n){if(!e||!t){return e}return e.map((e=>{const t=n.get(e);if(t)return t;const{type:s,value:i,loc:a}=e;const o={type:s,value:i,loc:a};if(r){o.loc=null}n.set(e,o);return o}))}},764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneWithoutLoc;var n=r(7290);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},2217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComment;var n=r(7777);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},7777:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n].push(...r)}}else{e[n]=r}return e}},2324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritInnerComments;var n=r(1066);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},4570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritLeadingComments;var n=r(1066);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},7720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritTrailingComments;var n=r(1066);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},8727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritsComments;var n=r(7720);var s=r(4570);var i=r(2324);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},2320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeComments;var n=r(4152);function removeComments(e){n.COMMENT_KEYS.forEach((t=>{e[t]=null}));return e}},4300:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMPORTOREXPORTDECLARATION_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var n=r(7940);const s=n.FLIPPED_ALIAS_KEYS["Standardized"];t.STANDARDIZED_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=l;const c=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=c;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=m;const y=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=y;const g=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=g;const b=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=b;const T=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=S;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const x=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=v;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const w=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=C;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const O=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=O;const k=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=k;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const _=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=_;const D=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=D;const M=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=M;const L=n.FLIPPED_ALIAS_KEYS["ImportOrExportDeclaration"];t.IMPORTOREXPORTDECLARATION_TYPES=L;const j=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=j;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Accessor"];t.ACCESSOR_TYPES=B;const R=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=R;const U=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=U;const V=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=V;const K=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=K;const W=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=W;const $=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=$;const q=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=q;const H=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=H;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const X=n.FLIPPED_ALIAS_KEYS["Miscellaneous"];t.MISCELLANEOUS_TYPES=X;const G=n.FLIPPED_ALIAS_KEYS["TypeScript"];t.TYPESCRIPT_TYPES=G;const z=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=z;const Y=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=Y;const Q=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=Q;const Z=L;t.MODULEDECLARATION_TYPES=Z},4152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const c=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=c;const u=[...c,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=u;const p=[...u,...l];t.BOOLEAN_BINARY_OPERATORS=p;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...p,"|>"];t.BINARY_OPERATORS=d;const h=["=","+=",...f.map((e=>e+"=")),...a.map((e=>e+"="))];t.ASSIGNMENT_OPERATORS=h;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const y=["+","-","~"];t.NUMBER_UNARY_OPERATORS=y;const g=["typeof"];t.STRING_UNARY_OPERATORS=g;const b=["void","throw",...m,...y,...g];t.UNARY_OPERATORS=b;const T={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=T;const S=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=S;const E=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=E},1846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=ensureBlock;var n=r(3763);function ensureBlock(e,t="body"){const r=(0,n.default)(e[t],e);e[t]=r;return r}},2855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=gatherSequenceExpressions;var n=r(6332);var s=r(601);var i=r(7453);var a=r(7290);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const c of e){if(!(0,s.isEmptyStatement)(c)){l=false}if((0,s.isExpression)(c)){o.push(c)}else if((0,s.isExpressionStatement)(c)){o.push(c.expression)}else if((0,s.isVariableDeclaration)(c)){if(c.kind!=="var")return;for(const e of c.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:c.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(c)){const e=c.consequent?gatherSequenceExpressions([c.consequent],t,r):t.buildUndefinedNode();const n=c.alternate?gatherSequenceExpressions([c.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(c.test,e,n))}else if((0,s.isBlockStatement)(c)){const e=gatherSequenceExpressions(c.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(c)){if(e.indexOf(c)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},1642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBindingIdentifierName;var n=r(5842);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},3763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBlock;var n=r(601);var s=r(7453);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},8564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toComputedKey;var n=r(601);var s=r(7453);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},4409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(601);var s=toExpression;t["default"]=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},5842:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toIdentifier;var n=r(6488);var s=r(4975);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}));if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},8136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toKeyAlias;var n=r(601);var s=r(7290);var i=r(2510);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},3541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toSequenceExpression;var n=r(2855);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},5678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(601);var s=r(7453);var i=toStatement;t["default"]=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},2576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(6488);var s=r(7453);var i=valueToNode;t["default"]=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},8013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(9247);var s=r(6488);var i=r(4975);var a=r(6476);var o=r(4152);var l=r(3706);const c=(0,l.defineAliasedType)("Standardized");c("ArrayExpression",{fields:{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});c("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,l.assertValueType)("string")}const e=(0,l.assertOneOf)(...o.ASSIGNMENT_OPERATORS);const t=(0,l.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("LVal"):(0,l.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});c("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,l.assertOneOf)(...o.BINARY_OPERATORS)},left:{validate:function(){const e=(0,l.assertNodeType)("Expression");const t=(0,l.assertNodeType)("Expression","PrivateName");const r=Object.assign((function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","PrivateName"]});return r}()},right:{validate:(0,l.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});c("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}});c("Directive",{visitor:["value"],fields:{value:{validate:(0,l.assertNodeType)("DirectiveLiteral")}}});c("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}});c("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Directive"))),default:[]},body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});c("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});c("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,l.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});c("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});c("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Expression")},alternate:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});c("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});c("DebuggerStatement",{aliases:["Statement"]});c("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});c("EmptyStatement",{aliases:["Statement"]});c("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});c("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,l.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign((()=>{}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,l.assertEach)((0,l.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,l.assertEach)(Object.assign((()=>{}),{type:"any"})),optional:true}}});c("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("VariableDeclaration","LVal"):(0,l.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,l.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,l.assertNodeType)("Expression"),optional:true},update:{validate:(0,l.assertNodeType)("Expression"),optional:true},body:{validate:(0,l.assertNodeType)("Statement")}}});const functionCommon=()=>({params:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}});t.functionCommon=functionCommon;const functionTypeAnnotationCommon=()=>({returnType:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}});t.functionTypeAnnotationCommon=functionTypeAnnotationCommon;const functionDeclarationCommon=()=>Object.assign({},functionCommon(),{declare:{validate:(0,l.assertValueType)("boolean"),optional:true},id:{validate:(0,l.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=functionDeclarationCommon;c("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},functionDeclarationCommon(),functionTypeAnnotationCommon(),{body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,l.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});c("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{id:{validate:(0,l.assertNodeType)("Identifier"),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});const patternLikeCommon=()=>({typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},optional:{validate:(0,l.assertValueType)("boolean"),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true}});t.patternLikeCommon=patternLikeCommon;c("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},patternLikeCommon(),{name:{validate:(0,l.chain)((0,l.assertValueType)("string"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}}),{type:"string"}))}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});c("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,l.assertNodeType)("Statement")}}});c("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,l.assertNodeType)("Identifier")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("StringLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,l.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});c("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,l.assertValueType)("string")},flags:{validate:(0,l.chain)((0,l.assertValueType)("string"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}}),{type:"string"})),default:""}}});c("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,l.assertOneOf)(...o.LOGICAL_OPERATORS)},left:{validate:(0,l.assertNodeType)("Expression")},right:{validate:(0,l.assertNodeType)("Expression")}}});c("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,l.assertNodeType)("Expression","Super")},property:{validate:function(){const e=(0,l.assertNodeType)("Identifier","PrivateName");const t=(0,l.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return validator}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,l.assertOneOf)(true,false),optional:true}}:{})});c("NewExpression",{inherits:"CallExpression"});c("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,l.assertValueType)("string")},sourceType:{validate:(0,l.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,l.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Directive"))),default:[]},body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});c("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});c("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{kind:Object.assign({validate:(0,l.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral");const t=(0,l.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"];return validator}()},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});c("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName");const t=(0,l.assertNodeType)("Expression");const r=Object.assign((function(r,n,s){const i=r.computed?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]});return r}()},value:{validate:(0,l.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}}),{type:"boolean"}),(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}})),default:false},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,l.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion");const t=(0,l.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});c("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},patternLikeCommon(),{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("LVal"):(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>+s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});c("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression"),optional:true}}});c("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression")))}},aliases:["Expression"]});c("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}}});c("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,l.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}}});c("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,l.assertNodeType)("Expression")},cases:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("SwitchCase")))}}});c("ThisExpression",{aliases:["Expression"]});c("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,l.chain)((0,l.assertNodeType)("BlockStatement"),Object.assign((function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,l.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,l.assertNodeType)("BlockStatement")}}});c("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...o.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});c("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Expression"):(0,l.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,l.assertOneOf)(...o.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});c("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,l.assertValueType)("boolean"),optional:true},kind:{validate:(0,l.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});c("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,l.assertNodeType)("LVal")}const e=(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,l.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,l.assertValueType)("boolean")},init:{optional:true,validate:(0,l.assertNodeType)("Expression")}}});c("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{left:{validate:(0,l.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true}})});c("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","PatternLike","LVal")))}})});c("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{expression:{validate:(0,l.assertValueType)("boolean")},body:{validate:(0,l.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});c("ClassBody",{visitor:["body"],fields:{body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});c("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:true}}});c("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,l.assertNodeType)("Identifier")},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},abstract:{validate:(0,l.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,l.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});c("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,l.assertNodeType)("StringLiteral")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value")),attributes:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))}}});c("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,l.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("value"))}});c("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,l.chain)((0,l.assertNodeType)("Declaration"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}}))},attributes:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)(function(){const e=(0,l.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,l.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,l.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))}});c("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},exported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,l.assertOneOf)("type","value"),optional:true}}});c("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,l.assertNodeType)("VariableDeclaration","LVal")}const e=(0,l.assertNodeType)("VariableDeclaration");const t=(0,l.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")},await:{default:false}}});c("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},module:{optional:true,validate:(0,l.assertValueType)("boolean")},specifiers:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,l.assertNodeType)("StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:true}}});c("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}});c("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}});c("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},imported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:true}}});c("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,l.chain)((0,l.assertNodeType)("Identifier"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,l.assertNodeType)("Identifier")}}});const classMethodOrPropertyCommon=()=>({abstract:{validate:(0,l.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,l.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,l.assertValueType)("boolean"),optional:true},key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,l.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});t.classMethodOrPropertyCommon=classMethodOrPropertyCommon;const classMethodOrDeclareMethodCommon=()=>Object.assign({},functionCommon(),classMethodOrPropertyCommon(),{params:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,l.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,l.chain)((0,l.assertValueType)("string"),(0,l.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=classMethodOrDeclareMethodCommon;c("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},classMethodOrDeclareMethodCommon(),functionTypeAnnotationCommon(),{body:{validate:(0,l.assertNodeType)("BlockStatement")}})});c("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{properties:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("RestElement","ObjectProperty")))}})});c("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("Super",{aliases:["Expression"]});c("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,l.assertNodeType)("Expression")},quasi:{validate:(0,l.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});c("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,l.chain)((0,l.assertShape)({raw:{validate:(0,l.assertValueType)("string")},cooked:{validate:(0,l.assertValueType)("string"),optional:true}}),(function templateElementCookedValidator(e){const t=e.value.raw;let r=false;const error=()=>{throw new Error("Internal @babel/types error.")};const{str:n,firstInvalidLoc:s}=(0,a.readStringContents)("template",t,0,0,0,{unterminated(){r=true},strictNumericEscape:error,invalidEscapeSequence:error,numericSeparatorInEscapeSequence:error,unexpectedNumericSeparator:error,invalidDigit:error,invalidCodePoint:error});if(!r)throw new Error("Invalid raw");e.value.cooked=s?null:n}))},tail:{default:false}}});c("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TemplateElement")))},expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}}))}}});c("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}}),{type:"boolean"})),default:false},argument:{optional:true,validate:(0,l.assertNodeType)("Expression")}}});c("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("Import",{aliases:["Expression"]});c("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,l.assertNodeType)("Identifier")}}});c("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},property:{validate:function(){const e=(0,l.assertNodeType)("Identifier");const t=(0,l.assertNodeType)("Expression");const r=Object.assign((function(r,n,s){const i=r.computed?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertValueType)("boolean"):(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)())}}});c("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,l.assertNodeType)("Expression")},arguments:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertValueType)("boolean"):(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)())},typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}});c("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},classMethodOrPropertyCommon(),{value:{validate:(0,l.assertNodeType)("Expression"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}})});c("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},classMethodOrPropertyCommon(),{key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName");const t=(0,l.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,l.assertNodeType)("Expression"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}})});c("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,l.assertNodeType)("PrivateName")},value:{validate:(0,l.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},static:{validate:(0,l.assertValueType)("boolean"),default:false},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}}});c("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},classMethodOrDeclareMethodCommon(),functionTypeAnnotationCommon(),{kind:{validate:(0,l.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,l.assertNodeType)("PrivateName")},body:{validate:(0,l.assertNodeType)("BlockStatement")}})});c("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,l.assertNodeType)("Identifier")}}});c("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},4482:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEPRECATED_ALIASES=void 0;const r={ModuleDeclaration:"ImportOrExportDeclaration"};t.DEPRECATED_ALIASES=r},6851:(e,t,r)=>{"use strict";var n=r(3706);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},9563:(e,t,r)=>{"use strict";var n=r(3706);const s=(0,n.defineAliasedType)("Flow");const defineInterfaceishType=e=>{const t=e==="DeclareClass";s(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements"))}:{},{body:(0,n.validateType)("ObjectTypeAnnotation")})})};s("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});s("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("DeclareClass");s("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});defineInterfaceishType("DeclareInterface");s("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});s("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});s("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});s("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}});s("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});s("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});s("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});s("ExistsTypeAnnotation",{aliases:["FlowType"]});s("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});s("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InferredPredicate",{aliases:["FlowPredicate"]});s("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("InterfaceDeclaration");s("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});s("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});s("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});s("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,n.arrayOfType)("ObjectTypeIndexer"),optional:true,default:[]},callProperties:{validate:(0,n.arrayOfType)("ObjectTypeCallProperty"),optional:true,default:[]},internalSlots:{validate:(0,n.arrayOfType)("ObjectTypeInternalSlot"),optional:true,default:[]},exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});s("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});s("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});s("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});s("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});s("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});s("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});s("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});s("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});s("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});s("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});s("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("Variance",{builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});s("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});s("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});s("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});s("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});s("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});s("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});s("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},7940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:true,get:function(){return a.DEPRECATED_ALIASES}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});var n=r(3797);r(8013);r(9563);r(8899);r(8195);r(6851);r(3980);var s=r(3706);var i=r(7762);var a=r(4482);Object.keys(a.DEPRECATED_ALIASES).forEach((e=>{s.FLIPPED_ALIAS_KEYS[e]=s.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[e]]}));n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const o=[].concat(Object.keys(s.VISITOR_KEYS),Object.keys(s.FLIPPED_ALIAS_KEYS),Object.keys(s.DEPRECATED_KEYS));t.TYPES=o},8899:(e,t,r)=>{"use strict";var n=r(3706);const s=(0,n.defineAliasedType)("JSX");s("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});s("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});s("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}})});s("JSXEmptyExpression",{});s("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});s("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});s("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}});s("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});s("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});s("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});s("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});s("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});s("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});s("JSXOpeningFragment",{aliases:["Immutable"]});s("JSXClosingFragment",{aliases:["Immutable"]})},8195:(e,t,r)=>{"use strict";var n=r(3706);var s=r(7762);const i=(0,n.defineAliasedType)("Miscellaneous");{i("Noop",{visitor:[]})}i("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});i("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},7762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(3706);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach((e=>{i[e].forEach((t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)}))}))},3980:(e,t,r)=>{"use strict";var n=r(3706);var s=r(8013);var i=r(9247);const a=(0,n.defineAliasedType)("TypeScript");const o=(0,n.assertValueType)("boolean");const tSFunctionTypeAnnotationCommon=()=>({returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}});a("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,s.functionDeclarationCommon)(),tSFunctionTypeAnnotationCommon())});a("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,s.classMethodOrDeclareMethodCommon)(),tSFunctionTypeAnnotationCommon())});a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const signatureDeclarationCommon=()=>({typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),["parameters"]:(0,n.validateArrayOfType)(["Identifier","RestElement"]),["typeAnnotation"]:(0,n.validateOptionalType)("TSTypeAnnotation")});const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:signatureDeclarationCommon()};a("TSCallSignatureDeclaration",l);a("TSConstructSignatureDeclaration",l);const namedTypeElementCommon=()=>({key:(0,n.validateType)("Expression"),computed:{default:false},optional:(0,n.validateOptional)(o)});a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},namedTypeElementCommon(),{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},signatureDeclarationCommon(),namedTypeElementCommon(),{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const c=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of c){a(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const u={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},u,{fields:signatureDeclarationCommon()}));a("TSConstructorType",Object.assign({},u,{fields:Object.assign({},signatureDeclarationCommon(),{abstract:(0,n.validateOptional)(o)})}));a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(o)}});a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:false},elementType:(0,n.validateType)("TSType")}});const p={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};a("TSUnionType",p);a("TSIntersectionType",p);a("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)((0,n.assertOneOf)(true,false,"+","-")),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)((0,n.assertOneOf)(true,false,"+","-")),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function validator(n,s,a){if((0,i.default)("UnaryExpression",a)){t(a,"operator",a.operator);e(a,"argument",a.argument)}else{r(n,s,a)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"];return validator}()}}});a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});a("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});const f={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}};a("TSAsExpression",f);a("TSSatisfiesExpression",f);a("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(o),global:(0,n.validateOptional)(o),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});a("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(o),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});a("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});a("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:true},out:{validate:(0,n.assertValueType)("boolean"),optional:true},const:{validate:(0,n.assertValueType)("boolean"),optional:true},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},3706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.assertEach=assertEach;t.assertNodeOrValueType=assertNodeOrValueType;t.assertNodeType=assertNodeType;t.assertOneOf=assertOneOf;t.assertOptionalChainStart=assertOptionalChainStart;t.assertShape=assertShape;t.assertValueType=assertValueType;t.chain=chain;t["default"]=defineType;t.defineAliasedType=defineAliasedType;t.typeIs=typeIs;t.validate=validate;t.validateArrayOfType=validateArrayOfType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.validateType=validateType;var n=r(9247);var s=r(4439);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const c={};t.BUILDER_KEYS=c;const u={};t.DEPRECATED_KEYS=u;const p={};t.NODE_PARENT_VALIDATIONS=p;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i<n.length;i++){const a=`${r}[${i}]`;const o=n[i];e(t,a,o);if(process.env.BABEL_TYPES_8_BREAKING)(0,s.validateChild)(t,a,o)}}validator.each=e;return validator}function assertOneOf(...e){function validate(t,r,n){if(e.indexOf(n)<0){throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}}validate.oneOf=e;return validate}function assertNodeType(...e){function validate(t,r,i){for(const a of e){if((0,n.default)(a,i)){(0,s.validateChild)(t,r,i);return}}throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}validate.oneOfNodeTypes=e;return validate}function assertNodeOrValueType(...e){function validate(t,r,i){for(const a of e){if(getType(i)===a||(0,n.default)(a,i)){(0,s.validateChild)(t,r,i);return}}throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}validate.oneOfNodeOrValueTypes=e;return validate}function assertValueType(e){function validate(t,r,n){const s=getType(n)===e;if(!s){throw new TypeError(`Property ${r} expected type of ${e} but got ${getType(n)}`)}}validate.type=e;return validate}function assertShape(e){function validate(t,r,n){const i=[];for(const r of Object.keys(e)){try{(0,s.validateField)(t,r,n[r],e[r])}catch(e){if(e instanceof TypeError){i.push(e.message);continue}throw e}}if(i.length){throw new TypeError(`Property ${r} of ${t.type} expected to have the following:\n${i.join("\n")}`)}}validate.shapeOf=e;return validate}function assertOptionalChainStart(){function validate(e){var t;let r=e;while(e){const{type:e}=r;if(e==="OptionalCallExpression"){if(r.optional)return;r=r.callee;continue}if(e==="OptionalMemberExpression"){if(r.optional)return;r=r.object;continue}break}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(t=r)==null?void 0:t.type}`)}return validate}function chain(...e){function validate(...t){for(const r of e){r(...t)}}validate.chainOf=e;if(e.length>=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","deprecated","validate"];const h={};function defineAliasedType(...e){return(t,r={})=>{let n=r.aliases;if(!n){var s,i;if(r.inherits)n=(s=h[r.inherits].aliases)==null?void 0:s.slice();(i=n)!=null?i:n=[];r.aliases=n}const a=e.filter((e=>!n.includes(e)));n.unshift(...a);defineType(t,r)}}function defineType(e,t={}){const r=t.inherits&&h[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,deprecated:e.deprecated,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const y=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){u[t.deprecatedAlias]=e}for(const e of s.concat(y)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&y.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;c[e]=t.builder=y;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach((t=>{o[t]=o[t]||[];o[t].push(e)}));if(t.validate){p[e]=t.validate}h[e]=t}},776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true,__internal__deprecationWarning:true};Object.defineProperty(t,"__internal__deprecationWarning",{enumerable:true,get:function(){return me.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});t.react=void 0;Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return O.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});var s=r(7922);var i=r(5454);var a=r(4371);var o=r(6958);var l=r(9174);Object.keys(l).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})}));var c=r(785);var u=r(3103);var p=r(8130);var f=r(7453);Object.keys(f).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})}));var d=r(8611);Object.keys(d).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})}));var h=r(7290);var m=r(7653);var y=r(8853);var g=r(3198);var b=r(764);var T=r(2217);var S=r(7777);var E=r(2324);var x=r(4570);var v=r(8727);var P=r(7720);var A=r(2320);var w=r(4300);Object.keys(w).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===w[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return w[e]}})}));var C=r(4152);Object.keys(C).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===C[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return C[e]}})}));var I=r(1846);var O=r(1642);var k=r(3763);var N=r(8564);var _=r(4409);var D=r(5842);var M=r(8136);var L=r(3541);var j=r(5678);var F=r(2576);var B=r(7940);Object.keys(B).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===B[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return B[e]}})}));var R=r(3307);var U=r(8194);var V=r(3687);var K=r(2664);var W=r(2510);var $=r(6627);var q=r(6332);var H=r(8644);var J=r(275);Object.keys(J).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===J[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return J[e]}})}));var X=r(2871);var G=r(3631);var z=r(9247);var Y=r(7527);var Q=r(5127);var Z=r(9803);var ee=r(775);var te=r(4955);var re=r(598);var ne=r(4576);var se=r(8103);var ie=r(8498);var ae=r(2424);var oe=r(9810);var le=r(2042);var ce=r(6488);var ue=r(6205);var pe=r(8877);var fe=r(4439);var de=r(2049);var he=r(601);Object.keys(he).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})}));var me=r(4585);const ye={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=ye},3307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=appendToMemberExpression;var n=r(7453);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},6627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(601);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t=Array.from(e);const r=new Map;const s=new Map;const i=new Set;const a=[];for(let e=0;e<t.length;e++){const o=t[e];if(!o)continue;if(a.indexOf(o)>=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){s.set(o.type,o);continue}if((0,n.isUnionTypeAnnotation)(o)){if(!i.has(o.types)){t.push(...o.types);i.add(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(r.has(e)){let t=r.get(e);if(t.typeParameters){if(o.typeParameters){t.typeParameters.params.push(...o.typeParameters.params);t.typeParameters.params=removeTypeDuplicates(t.typeParameters.params)}}else{t=o.typeParameters}}else{r.set(e,o)}continue}a.push(o)}for(const[,e]of s){a.push(e)}for(const[,e]of r){a.push(e)}return a}},8194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherits;var n=r(4152);var s=r(8727);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone"){e[r]=t[r]}}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},3687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=prependToMemberExpression;var n=r(7453);var s=r(776);function prependToMemberExpression(e,t){if((0,s.isSuper)(e.object)){throw new Error("Cannot prepend node to super property access (`super.foo`).")}e.object=(0,n.memberExpression)(t,e.object);return e}},2664:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeProperties;var n=r(4152);const s=["tokens","start","end","loc","raw","rawValue"];const i=[...n.COMMENT_KEYS,"comments",...s];function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},2510:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removePropertiesDeep;var n=r(2871);var s=r(2664);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},1093:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(601);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.right.name}.${getQualifiedName(e.left)}`}function removeTypeDuplicates(e){const t=Array.from(e);const r=new Map;const s=new Map;const i=new Set;const a=[];for(let e=0;e<t.length;e++){const o=t[e];if(!o)continue;if(a.indexOf(o)>=0){continue}if((0,n.isTSAnyKeyword)(o)){return[o]}if((0,n.isTSBaseType)(o)){s.set(o.type,o);continue}if((0,n.isTSUnionType)(o)){if(!i.has(o.types)){t.push(...o.types);i.add(o.types)}continue}if((0,n.isTSTypeReference)(o)&&o.typeParameters){const e=getQualifiedName(o.typeName);if(r.has(e)){let t=r.get(e);if(t.typeParameters){if(o.typeParameters){t.typeParameters.params.push(...o.typeParameters.params);t.typeParameters.params=removeTypeDuplicates(t.typeParameters.params)}}else{t=o.typeParameters}}else{r.set(e,o)}continue}a.push(o)}for(const[,e]of s){a.push(e)}for(const[,e]of r){a.push(e)}return a}},6332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getBindingIdentifiers;var n=r(601);function getBindingIdentifiers(e,t,r){const s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t<a.length;t++){const r=a[t];const n=e[r];if(n){Array.isArray(n)?s.push(...n):s.push(n)}}}}return i}getBindingIdentifiers.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},8644:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(6332);var s=getOuterBindingIdentifiers;t["default"]=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverse;var n=r(7940);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o<a.length;o++){const l=a[o];if(!l)continue;i.push({node:e,key:n,index:o});traverseSimpleImpl(l,t,r,s,i);i.pop()}}else if(a){i.push({node:e,key:n});traverseSimpleImpl(a,t,r,s,i);i.pop()}}if(r)r(e,i,s)}},2871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverseFast;var n=r(7940);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},4585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=deprecationWarning;const r=new Set;function deprecationWarning(e,t,n=""){if(r.has(e))return;r.add(e);const{internal:s,trace:i}=captureShortStackTrace(1,2);if(s){return}console.warn(`${n}\`${e}\` has been deprecated, please migrate to \`${t}\`\n${i}`)}function captureShortStackTrace(e,t){const{stackTraceLimit:r,prepareStackTrace:n}=Error;let s;Error.stackTraceLimit=1+e+t;Error.prepareStackTrace=function(e,t){s=t};(new Error).stack;Error.stackTraceLimit=r;Error.prepareStackTrace=n;if(!s)return{internal:false,trace:""};const i=s.slice(1+e,1+e+t);return{internal:/[\\/]@babel[\\/]/.test(i[1].getFileName()),trace:i.map((e=>` at ${e}`)).join("\n")}}},1066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},9187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cleanJSXElementLiteralChild;var n=r(7453);var s=r(776);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e<r.length;e++){if(r[e].match(/[^ \t]/)){i=e}}let a="";for(let e=0;e<r.length;e++){const t=r[e];const n=e===0;const s=e===r.length-1;const o=e===i;let l=t.replace(/\t/g," ");if(!n){l=l.replace(/^[ ]+/,"")}if(!s){l=l.replace(/[ ]+$/,"")}if(l){if(!o){l+=" "}a+=l}}if(a)t.push((0,s.inherits)((0,n.stringLiteral)(a),e))}},3631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},2049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildMatchMemberExpression;var n=r(8877);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAccessor=isAccessor;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isArrayExpression=isArrayExpression;t.isArrayPattern=isArrayPattern;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isAssignmentExpression=isAssignmentExpression;t.isAssignmentPattern=isAssignmentPattern;t.isAwaitExpression=isAwaitExpression;t.isBigIntLiteral=isBigIntLiteral;t.isBinary=isBinary;t.isBinaryExpression=isBinaryExpression;t.isBindExpression=isBindExpression;t.isBlock=isBlock;t.isBlockParent=isBlockParent;t.isBlockStatement=isBlockStatement;t.isBooleanLiteral=isBooleanLiteral;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isClass=isClass;t.isClassAccessorProperty=isClassAccessorProperty;t.isClassBody=isClassBody;t.isClassDeclaration=isClassDeclaration;t.isClassExpression=isClassExpression;t.isClassImplements=isClassImplements;t.isClassMethod=isClassMethod;t.isClassPrivateMethod=isClassPrivateMethod;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassProperty=isClassProperty;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDecimalLiteral=isDecimalLiteral;t.isDeclaration=isDeclaration;t.isDeclareClass=isDeclareClass;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareVariable=isDeclareVariable;t.isDeclaredPredicate=isDeclaredPredicate;t.isDecorator=isDecorator;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isDoExpression=isDoExpression;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isEnumBody=isEnumBody;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumDeclaration=isEnumDeclaration;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isEnumMember=isEnumMember;t.isEnumNumberBody=isEnumNumberBody;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringBody=isEnumStringBody;t.isEnumStringMember=isEnumStringMember;t.isEnumSymbolBody=isEnumSymbolBody;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDeclaration=isExportDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isExportSpecifier=isExportSpecifier;t.isExpression=isExpression;t.isExpressionStatement=isExpressionStatement;t.isExpressionWrapper=isExpressionWrapper;t.isFile=isFile;t.isFlow=isFlow;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isFlowType=isFlowType;t.isFor=isFor;t.isForInStatement=isForInStatement;t.isForOfStatement=isForOfStatement;t.isForStatement=isForStatement;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isFunctionParent=isFunctionParent;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isImmutable=isImmutable;t.isImport=isImport;t.isImportAttribute=isImportAttribute;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportOrExportDeclaration=isImportOrExportDeclaration;t.isImportSpecifier=isImportSpecifier;t.isIndexedAccessType=isIndexedAccessType;t.isInferredPredicate=isInferredPredicate;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isInterpreterDirective=isInterpreterDirective;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isJSX=isJSX;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXClosingFragment=isJSXClosingFragment;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXFragment=isJSXFragment;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXText=isJSXText;t.isLVal=isLVal;t.isLabeledStatement=isLabeledStatement;t.isLiteral=isLiteral;t.isLogicalExpression=isLogicalExpression;t.isLoop=isLoop;t.isMemberExpression=isMemberExpression;t.isMetaProperty=isMetaProperty;t.isMethod=isMethod;t.isMiscellaneous=isMiscellaneous;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isModuleDeclaration=isModuleDeclaration;t.isModuleExpression=isModuleExpression;t.isModuleSpecifier=isModuleSpecifier;t.isNewExpression=isNewExpression;t.isNoop=isNoop;t.isNullLiteral=isNullLiteral;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteral=isNumberLiteral;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isNumericLiteral=isNumericLiteral;t.isObjectExpression=isObjectExpression;t.isObjectMember=isObjectMember;t.isObjectMethod=isObjectMethod;t.isObjectPattern=isObjectPattern;t.isObjectProperty=isObjectProperty;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isOptionalCallExpression=isOptionalCallExpression;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isPattern=isPattern;t.isPatternLike=isPatternLike;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPlaceholder=isPlaceholder;t.isPrivate=isPrivate;t.isPrivateName=isPrivateName;t.isProgram=isProgram;t.isProperty=isProperty;t.isPureish=isPureish;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isRecordExpression=isRecordExpression;t.isRegExpLiteral=isRegExpLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestElement=isRestElement;t.isRestProperty=isRestProperty;t.isReturnStatement=isReturnStatement;t.isScopable=isScopable;t.isSequenceExpression=isSequenceExpression;t.isSpreadElement=isSpreadElement;t.isSpreadProperty=isSpreadProperty;t.isStandardized=isStandardized;t.isStatement=isStatement;t.isStaticBlock=isStaticBlock;t.isStringLiteral=isStringLiteral;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSuper=isSuper;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSArrayType=isTSArrayType;t.isTSAsExpression=isTSAsExpression;t.isTSBaseType=isTSBaseType;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConditionalType=isTSConditionalType;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSConstructorType=isTSConstructorType;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSEntityName=isTSEntityName;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSExportAssignment=isTSExportAssignment;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSFunctionType=isTSFunctionType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSImportType=isTSImportType;t.isTSIndexSignature=isTSIndexSignature;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSInferType=isTSInferType;t.isTSInstantiationExpression=isTSInstantiationExpression;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSIntersectionType=isTSIntersectionType;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSLiteralType=isTSLiteralType;t.isTSMappedType=isTSMappedType;t.isTSMethodSignature=isTSMethodSignature;t.isTSModuleBlock=isTSModuleBlock;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSOptionalType=isTSOptionalType;t.isTSParameterProperty=isTSParameterProperty;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSPropertySignature=isTSPropertySignature;t.isTSQualifiedName=isTSQualifiedName;t.isTSRestType=isTSRestType;t.isTSSatisfiesExpression=isTSSatisfiesExpression;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSThisType=isTSThisType;t.isTSTupleType=isTSTupleType;t.isTSType=isTSType;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSTypeElement=isTSTypeElement;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSTypeOperator=isTSTypeOperator;t.isTSTypeParameter=isTSTypeParameter;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeReference=isTSTypeReference;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnionType=isTSUnionType;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isTerminatorless=isTerminatorless;t.isThisExpression=isThisExpression;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isThrowStatement=isThrowStatement;t.isTopicReference=isTopicReference;t.isTryStatement=isTryStatement;t.isTupleExpression=isTupleExpression;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isTypeScript=isTypeScript;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isUnaryExpression=isUnaryExpression;t.isUnaryLike=isUnaryLike;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isUpdateExpression=isUpdateExpression;t.isUserWhitespacable=isUserWhitespacable;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isWhile=isWhile;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isYieldExpression=isYieldExpression;var n=r(3631);var s=r(4585);function isArrayExpression(e,t){if(!e)return false;if(e.type!=="ArrayExpression")return false;return t==null||(0,n.default)(e,t)}function isAssignmentExpression(e,t){if(!e)return false;if(e.type!=="AssignmentExpression")return false;return t==null||(0,n.default)(e,t)}function isBinaryExpression(e,t){if(!e)return false;if(e.type!=="BinaryExpression")return false;return t==null||(0,n.default)(e,t)}function isInterpreterDirective(e,t){if(!e)return false;if(e.type!=="InterpreterDirective")return false;return t==null||(0,n.default)(e,t)}function isDirective(e,t){if(!e)return false;if(e.type!=="Directive")return false;return t==null||(0,n.default)(e,t)}function isDirectiveLiteral(e,t){if(!e)return false;if(e.type!=="DirectiveLiteral")return false;return t==null||(0,n.default)(e,t)}function isBlockStatement(e,t){if(!e)return false;if(e.type!=="BlockStatement")return false;return t==null||(0,n.default)(e,t)}function isBreakStatement(e,t){if(!e)return false;if(e.type!=="BreakStatement")return false;return t==null||(0,n.default)(e,t)}function isCallExpression(e,t){if(!e)return false;if(e.type!=="CallExpression")return false;return t==null||(0,n.default)(e,t)}function isCatchClause(e,t){if(!e)return false;if(e.type!=="CatchClause")return false;return t==null||(0,n.default)(e,t)}function isConditionalExpression(e,t){if(!e)return false;if(e.type!=="ConditionalExpression")return false;return t==null||(0,n.default)(e,t)}function isContinueStatement(e,t){if(!e)return false;if(e.type!=="ContinueStatement")return false;return t==null||(0,n.default)(e,t)}function isDebuggerStatement(e,t){if(!e)return false;if(e.type!=="DebuggerStatement")return false;return t==null||(0,n.default)(e,t)}function isDoWhileStatement(e,t){if(!e)return false;if(e.type!=="DoWhileStatement")return false;return t==null||(0,n.default)(e,t)}function isEmptyStatement(e,t){if(!e)return false;if(e.type!=="EmptyStatement")return false;return t==null||(0,n.default)(e,t)}function isExpressionStatement(e,t){if(!e)return false;if(e.type!=="ExpressionStatement")return false;return t==null||(0,n.default)(e,t)}function isFile(e,t){if(!e)return false;if(e.type!=="File")return false;return t==null||(0,n.default)(e,t)}function isForInStatement(e,t){if(!e)return false;if(e.type!=="ForInStatement")return false;return t==null||(0,n.default)(e,t)}function isForStatement(e,t){if(!e)return false;if(e.type!=="ForStatement")return false;return t==null||(0,n.default)(e,t)}function isFunctionDeclaration(e,t){if(!e)return false;if(e.type!=="FunctionDeclaration")return false;return t==null||(0,n.default)(e,t)}function isFunctionExpression(e,t){if(!e)return false;if(e.type!=="FunctionExpression")return false;return t==null||(0,n.default)(e,t)}function isIdentifier(e,t){if(!e)return false;if(e.type!=="Identifier")return false;return t==null||(0,n.default)(e,t)}function isIfStatement(e,t){if(!e)return false;if(e.type!=="IfStatement")return false;return t==null||(0,n.default)(e,t)}function isLabeledStatement(e,t){if(!e)return false;if(e.type!=="LabeledStatement")return false;return t==null||(0,n.default)(e,t)}function isStringLiteral(e,t){if(!e)return false;if(e.type!=="StringLiteral")return false;return t==null||(0,n.default)(e,t)}function isNumericLiteral(e,t){if(!e)return false;if(e.type!=="NumericLiteral")return false;return t==null||(0,n.default)(e,t)}function isNullLiteral(e,t){if(!e)return false;if(e.type!=="NullLiteral")return false;return t==null||(0,n.default)(e,t)}function isBooleanLiteral(e,t){if(!e)return false;if(e.type!=="BooleanLiteral")return false;return t==null||(0,n.default)(e,t)}function isRegExpLiteral(e,t){if(!e)return false;if(e.type!=="RegExpLiteral")return false;return t==null||(0,n.default)(e,t)}function isLogicalExpression(e,t){if(!e)return false;if(e.type!=="LogicalExpression")return false;return t==null||(0,n.default)(e,t)}function isMemberExpression(e,t){if(!e)return false;if(e.type!=="MemberExpression")return false;return t==null||(0,n.default)(e,t)}function isNewExpression(e,t){if(!e)return false;if(e.type!=="NewExpression")return false;return t==null||(0,n.default)(e,t)}function isProgram(e,t){if(!e)return false;if(e.type!=="Program")return false;return t==null||(0,n.default)(e,t)}function isObjectExpression(e,t){if(!e)return false;if(e.type!=="ObjectExpression")return false;return t==null||(0,n.default)(e,t)}function isObjectMethod(e,t){if(!e)return false;if(e.type!=="ObjectMethod")return false;return t==null||(0,n.default)(e,t)}function isObjectProperty(e,t){if(!e)return false;if(e.type!=="ObjectProperty")return false;return t==null||(0,n.default)(e,t)}function isRestElement(e,t){if(!e)return false;if(e.type!=="RestElement")return false;return t==null||(0,n.default)(e,t)}function isReturnStatement(e,t){if(!e)return false;if(e.type!=="ReturnStatement")return false;return t==null||(0,n.default)(e,t)}function isSequenceExpression(e,t){if(!e)return false;if(e.type!=="SequenceExpression")return false;return t==null||(0,n.default)(e,t)}function isParenthesizedExpression(e,t){if(!e)return false;if(e.type!=="ParenthesizedExpression")return false;return t==null||(0,n.default)(e,t)}function isSwitchCase(e,t){if(!e)return false;if(e.type!=="SwitchCase")return false;return t==null||(0,n.default)(e,t)}function isSwitchStatement(e,t){if(!e)return false;if(e.type!=="SwitchStatement")return false;return t==null||(0,n.default)(e,t)}function isThisExpression(e,t){if(!e)return false;if(e.type!=="ThisExpression")return false;return t==null||(0,n.default)(e,t)}function isThrowStatement(e,t){if(!e)return false;if(e.type!=="ThrowStatement")return false;return t==null||(0,n.default)(e,t)}function isTryStatement(e,t){if(!e)return false;if(e.type!=="TryStatement")return false;return t==null||(0,n.default)(e,t)}function isUnaryExpression(e,t){if(!e)return false;if(e.type!=="UnaryExpression")return false;return t==null||(0,n.default)(e,t)}function isUpdateExpression(e,t){if(!e)return false;if(e.type!=="UpdateExpression")return false;return t==null||(0,n.default)(e,t)}function isVariableDeclaration(e,t){if(!e)return false;if(e.type!=="VariableDeclaration")return false;return t==null||(0,n.default)(e,t)}function isVariableDeclarator(e,t){if(!e)return false;if(e.type!=="VariableDeclarator")return false;return t==null||(0,n.default)(e,t)}function isWhileStatement(e,t){if(!e)return false;if(e.type!=="WhileStatement")return false;return t==null||(0,n.default)(e,t)}function isWithStatement(e,t){if(!e)return false;if(e.type!=="WithStatement")return false;return t==null||(0,n.default)(e,t)}function isAssignmentPattern(e,t){if(!e)return false;if(e.type!=="AssignmentPattern")return false;return t==null||(0,n.default)(e,t)}function isArrayPattern(e,t){if(!e)return false;if(e.type!=="ArrayPattern")return false;return t==null||(0,n.default)(e,t)}function isArrowFunctionExpression(e,t){if(!e)return false;if(e.type!=="ArrowFunctionExpression")return false;return t==null||(0,n.default)(e,t)}function isClassBody(e,t){if(!e)return false;if(e.type!=="ClassBody")return false;return t==null||(0,n.default)(e,t)}function isClassExpression(e,t){if(!e)return false;if(e.type!=="ClassExpression")return false;return t==null||(0,n.default)(e,t)}function isClassDeclaration(e,t){if(!e)return false;if(e.type!=="ClassDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportAllDeclaration(e,t){if(!e)return false;if(e.type!=="ExportAllDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportDefaultDeclaration(e,t){if(!e)return false;if(e.type!=="ExportDefaultDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportNamedDeclaration(e,t){if(!e)return false;if(e.type!=="ExportNamedDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportSpecifier(e,t){if(!e)return false;if(e.type!=="ExportSpecifier")return false;return t==null||(0,n.default)(e,t)}function isForOfStatement(e,t){if(!e)return false;if(e.type!=="ForOfStatement")return false;return t==null||(0,n.default)(e,t)}function isImportDeclaration(e,t){if(!e)return false;if(e.type!=="ImportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isImportDefaultSpecifier(e,t){if(!e)return false;if(e.type!=="ImportDefaultSpecifier")return false;return t==null||(0,n.default)(e,t)}function isImportNamespaceSpecifier(e,t){if(!e)return false;if(e.type!=="ImportNamespaceSpecifier")return false;return t==null||(0,n.default)(e,t)}function isImportSpecifier(e,t){if(!e)return false;if(e.type!=="ImportSpecifier")return false;return t==null||(0,n.default)(e,t)}function isMetaProperty(e,t){if(!e)return false;if(e.type!=="MetaProperty")return false;return t==null||(0,n.default)(e,t)}function isClassMethod(e,t){if(!e)return false;if(e.type!=="ClassMethod")return false;return t==null||(0,n.default)(e,t)}function isObjectPattern(e,t){if(!e)return false;if(e.type!=="ObjectPattern")return false;return t==null||(0,n.default)(e,t)}function isSpreadElement(e,t){if(!e)return false;if(e.type!=="SpreadElement")return false;return t==null||(0,n.default)(e,t)}function isSuper(e,t){if(!e)return false;if(e.type!=="Super")return false;return t==null||(0,n.default)(e,t)}function isTaggedTemplateExpression(e,t){if(!e)return false;if(e.type!=="TaggedTemplateExpression")return false;return t==null||(0,n.default)(e,t)}function isTemplateElement(e,t){if(!e)return false;if(e.type!=="TemplateElement")return false;return t==null||(0,n.default)(e,t)}function isTemplateLiteral(e,t){if(!e)return false;if(e.type!=="TemplateLiteral")return false;return t==null||(0,n.default)(e,t)}function isYieldExpression(e,t){if(!e)return false;if(e.type!=="YieldExpression")return false;return t==null||(0,n.default)(e,t)}function isAwaitExpression(e,t){if(!e)return false;if(e.type!=="AwaitExpression")return false;return t==null||(0,n.default)(e,t)}function isImport(e,t){if(!e)return false;if(e.type!=="Import")return false;return t==null||(0,n.default)(e,t)}function isBigIntLiteral(e,t){if(!e)return false;if(e.type!=="BigIntLiteral")return false;return t==null||(0,n.default)(e,t)}function isExportNamespaceSpecifier(e,t){if(!e)return false;if(e.type!=="ExportNamespaceSpecifier")return false;return t==null||(0,n.default)(e,t)}function isOptionalMemberExpression(e,t){if(!e)return false;if(e.type!=="OptionalMemberExpression")return false;return t==null||(0,n.default)(e,t)}function isOptionalCallExpression(e,t){if(!e)return false;if(e.type!=="OptionalCallExpression")return false;return t==null||(0,n.default)(e,t)}function isClassProperty(e,t){if(!e)return false;if(e.type!=="ClassProperty")return false;return t==null||(0,n.default)(e,t)}function isClassAccessorProperty(e,t){if(!e)return false;if(e.type!=="ClassAccessorProperty")return false;return t==null||(0,n.default)(e,t)}function isClassPrivateProperty(e,t){if(!e)return false;if(e.type!=="ClassPrivateProperty")return false;return t==null||(0,n.default)(e,t)}function isClassPrivateMethod(e,t){if(!e)return false;if(e.type!=="ClassPrivateMethod")return false;return t==null||(0,n.default)(e,t)}function isPrivateName(e,t){if(!e)return false;if(e.type!=="PrivateName")return false;return t==null||(0,n.default)(e,t)}function isStaticBlock(e,t){if(!e)return false;if(e.type!=="StaticBlock")return false;return t==null||(0,n.default)(e,t)}function isAnyTypeAnnotation(e,t){if(!e)return false;if(e.type!=="AnyTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isArrayTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ArrayTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isBooleanTypeAnnotation(e,t){if(!e)return false;if(e.type!=="BooleanTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="BooleanLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NullLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isClassImplements(e,t){if(!e)return false;if(e.type!=="ClassImplements")return false;return t==null||(0,n.default)(e,t)}function isDeclareClass(e,t){if(!e)return false;if(e.type!=="DeclareClass")return false;return t==null||(0,n.default)(e,t)}function isDeclareFunction(e,t){if(!e)return false;if(e.type!=="DeclareFunction")return false;return t==null||(0,n.default)(e,t)}function isDeclareInterface(e,t){if(!e)return false;if(e.type!=="DeclareInterface")return false;return t==null||(0,n.default)(e,t)}function isDeclareModule(e,t){if(!e)return false;if(e.type!=="DeclareModule")return false;return t==null||(0,n.default)(e,t)}function isDeclareModuleExports(e,t){if(!e)return false;if(e.type!=="DeclareModuleExports")return false;return t==null||(0,n.default)(e,t)}function isDeclareTypeAlias(e,t){if(!e)return false;if(e.type!=="DeclareTypeAlias")return false;return t==null||(0,n.default)(e,t)}function isDeclareOpaqueType(e,t){if(!e)return false;if(e.type!=="DeclareOpaqueType")return false;return t==null||(0,n.default)(e,t)}function isDeclareVariable(e,t){if(!e)return false;if(e.type!=="DeclareVariable")return false;return t==null||(0,n.default)(e,t)}function isDeclareExportDeclaration(e,t){if(!e)return false;if(e.type!=="DeclareExportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isDeclareExportAllDeclaration(e,t){if(!e)return false;if(e.type!=="DeclareExportAllDeclaration")return false;return t==null||(0,n.default)(e,t)}function isDeclaredPredicate(e,t){if(!e)return false;if(e.type!=="DeclaredPredicate")return false;return t==null||(0,n.default)(e,t)}function isExistsTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ExistsTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isFunctionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="FunctionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isFunctionTypeParam(e,t){if(!e)return false;if(e.type!=="FunctionTypeParam")return false;return t==null||(0,n.default)(e,t)}function isGenericTypeAnnotation(e,t){if(!e)return false;if(e.type!=="GenericTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isInferredPredicate(e,t){if(!e)return false;if(e.type!=="InferredPredicate")return false;return t==null||(0,n.default)(e,t)}function isInterfaceExtends(e,t){if(!e)return false;if(e.type!=="InterfaceExtends")return false;return t==null||(0,n.default)(e,t)}function isInterfaceDeclaration(e,t){if(!e)return false;if(e.type!=="InterfaceDeclaration")return false;return t==null||(0,n.default)(e,t)}function isInterfaceTypeAnnotation(e,t){if(!e)return false;if(e.type!=="InterfaceTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isIntersectionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="IntersectionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isMixedTypeAnnotation(e,t){if(!e)return false;if(e.type!=="MixedTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isEmptyTypeAnnotation(e,t){if(!e)return false;if(e.type!=="EmptyTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNullableTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NullableTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NumberLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNumberTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NumberTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ObjectTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeInternalSlot(e,t){if(!e)return false;if(e.type!=="ObjectTypeInternalSlot")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeCallProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeCallProperty")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeIndexer(e,t){if(!e)return false;if(e.type!=="ObjectTypeIndexer")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeProperty")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeSpreadProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeSpreadProperty")return false;return t==null||(0,n.default)(e,t)}function isOpaqueType(e,t){if(!e)return false;if(e.type!=="OpaqueType")return false;return t==null||(0,n.default)(e,t)}function isQualifiedTypeIdentifier(e,t){if(!e)return false;if(e.type!=="QualifiedTypeIdentifier")return false;return t==null||(0,n.default)(e,t)}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="StringLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isStringTypeAnnotation(e,t){if(!e)return false;if(e.type!=="StringTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isSymbolTypeAnnotation(e,t){if(!e)return false;if(e.type!=="SymbolTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isThisTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ThisTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTupleTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TupleTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeofTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TypeofTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeAlias(e,t){if(!e)return false;if(e.type!=="TypeAlias")return false;return t==null||(0,n.default)(e,t)}function isTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeCastExpression(e,t){if(!e)return false;if(e.type!=="TypeCastExpression")return false;return t==null||(0,n.default)(e,t)}function isTypeParameter(e,t){if(!e)return false;if(e.type!=="TypeParameter")return false;return t==null||(0,n.default)(e,t)}function isTypeParameterDeclaration(e,t){if(!e)return false;if(e.type!=="TypeParameterDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTypeParameterInstantiation(e,t){if(!e)return false;if(e.type!=="TypeParameterInstantiation")return false;return t==null||(0,n.default)(e,t)}function isUnionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="UnionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isVariance(e,t){if(!e)return false;if(e.type!=="Variance")return false;return t==null||(0,n.default)(e,t)}function isVoidTypeAnnotation(e,t){if(!e)return false;if(e.type!=="VoidTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isEnumDeclaration(e,t){if(!e)return false;if(e.type!=="EnumDeclaration")return false;return t==null||(0,n.default)(e,t)}function isEnumBooleanBody(e,t){if(!e)return false;if(e.type!=="EnumBooleanBody")return false;return t==null||(0,n.default)(e,t)}function isEnumNumberBody(e,t){if(!e)return false;if(e.type!=="EnumNumberBody")return false;return t==null||(0,n.default)(e,t)}function isEnumStringBody(e,t){if(!e)return false;if(e.type!=="EnumStringBody")return false;return t==null||(0,n.default)(e,t)}function isEnumSymbolBody(e,t){if(!e)return false;if(e.type!=="EnumSymbolBody")return false;return t==null||(0,n.default)(e,t)}function isEnumBooleanMember(e,t){if(!e)return false;if(e.type!=="EnumBooleanMember")return false;return t==null||(0,n.default)(e,t)}function isEnumNumberMember(e,t){if(!e)return false;if(e.type!=="EnumNumberMember")return false;return t==null||(0,n.default)(e,t)}function isEnumStringMember(e,t){if(!e)return false;if(e.type!=="EnumStringMember")return false;return t==null||(0,n.default)(e,t)}function isEnumDefaultedMember(e,t){if(!e)return false;if(e.type!=="EnumDefaultedMember")return false;return t==null||(0,n.default)(e,t)}function isIndexedAccessType(e,t){if(!e)return false;if(e.type!=="IndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isOptionalIndexedAccessType(e,t){if(!e)return false;if(e.type!=="OptionalIndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isJSXAttribute(e,t){if(!e)return false;if(e.type!=="JSXAttribute")return false;return t==null||(0,n.default)(e,t)}function isJSXClosingElement(e,t){if(!e)return false;if(e.type!=="JSXClosingElement")return false;return t==null||(0,n.default)(e,t)}function isJSXElement(e,t){if(!e)return false;if(e.type!=="JSXElement")return false;return t==null||(0,n.default)(e,t)}function isJSXEmptyExpression(e,t){if(!e)return false;if(e.type!=="JSXEmptyExpression")return false;return t==null||(0,n.default)(e,t)}function isJSXExpressionContainer(e,t){if(!e)return false;if(e.type!=="JSXExpressionContainer")return false;return t==null||(0,n.default)(e,t)}function isJSXSpreadChild(e,t){if(!e)return false;if(e.type!=="JSXSpreadChild")return false;return t==null||(0,n.default)(e,t)}function isJSXIdentifier(e,t){if(!e)return false;if(e.type!=="JSXIdentifier")return false;return t==null||(0,n.default)(e,t)}function isJSXMemberExpression(e,t){if(!e)return false;if(e.type!=="JSXMemberExpression")return false;return t==null||(0,n.default)(e,t)}function isJSXNamespacedName(e,t){if(!e)return false;if(e.type!=="JSXNamespacedName")return false;return t==null||(0,n.default)(e,t)}function isJSXOpeningElement(e,t){if(!e)return false;if(e.type!=="JSXOpeningElement")return false;return t==null||(0,n.default)(e,t)}function isJSXSpreadAttribute(e,t){if(!e)return false;if(e.type!=="JSXSpreadAttribute")return false;return t==null||(0,n.default)(e,t)}function isJSXText(e,t){if(!e)return false;if(e.type!=="JSXText")return false;return t==null||(0,n.default)(e,t)}function isJSXFragment(e,t){if(!e)return false;if(e.type!=="JSXFragment")return false;return t==null||(0,n.default)(e,t)}function isJSXOpeningFragment(e,t){if(!e)return false;if(e.type!=="JSXOpeningFragment")return false;return t==null||(0,n.default)(e,t)}function isJSXClosingFragment(e,t){if(!e)return false;if(e.type!=="JSXClosingFragment")return false;return t==null||(0,n.default)(e,t)}function isNoop(e,t){if(!e)return false;if(e.type!=="Noop")return false;return t==null||(0,n.default)(e,t)}function isPlaceholder(e,t){if(!e)return false;if(e.type!=="Placeholder")return false;return t==null||(0,n.default)(e,t)}function isV8IntrinsicIdentifier(e,t){if(!e)return false;if(e.type!=="V8IntrinsicIdentifier")return false;return t==null||(0,n.default)(e,t)}function isArgumentPlaceholder(e,t){if(!e)return false;if(e.type!=="ArgumentPlaceholder")return false;return t==null||(0,n.default)(e,t)}function isBindExpression(e,t){if(!e)return false;if(e.type!=="BindExpression")return false;return t==null||(0,n.default)(e,t)}function isImportAttribute(e,t){if(!e)return false;if(e.type!=="ImportAttribute")return false;return t==null||(0,n.default)(e,t)}function isDecorator(e,t){if(!e)return false;if(e.type!=="Decorator")return false;return t==null||(0,n.default)(e,t)}function isDoExpression(e,t){if(!e)return false;if(e.type!=="DoExpression")return false;return t==null||(0,n.default)(e,t)}function isExportDefaultSpecifier(e,t){if(!e)return false;if(e.type!=="ExportDefaultSpecifier")return false;return t==null||(0,n.default)(e,t)}function isRecordExpression(e,t){if(!e)return false;if(e.type!=="RecordExpression")return false;return t==null||(0,n.default)(e,t)}function isTupleExpression(e,t){if(!e)return false;if(e.type!=="TupleExpression")return false;return t==null||(0,n.default)(e,t)}function isDecimalLiteral(e,t){if(!e)return false;if(e.type!=="DecimalLiteral")return false;return t==null||(0,n.default)(e,t)}function isModuleExpression(e,t){if(!e)return false;if(e.type!=="ModuleExpression")return false;return t==null||(0,n.default)(e,t)}function isTopicReference(e,t){if(!e)return false;if(e.type!=="TopicReference")return false;return t==null||(0,n.default)(e,t)}function isPipelineTopicExpression(e,t){if(!e)return false;if(e.type!=="PipelineTopicExpression")return false;return t==null||(0,n.default)(e,t)}function isPipelineBareFunction(e,t){if(!e)return false;if(e.type!=="PipelineBareFunction")return false;return t==null||(0,n.default)(e,t)}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;if(e.type!=="PipelinePrimaryTopicReference")return false;return t==null||(0,n.default)(e,t)}function isTSParameterProperty(e,t){if(!e)return false;if(e.type!=="TSParameterProperty")return false;return t==null||(0,n.default)(e,t)}function isTSDeclareFunction(e,t){if(!e)return false;if(e.type!=="TSDeclareFunction")return false;return t==null||(0,n.default)(e,t)}function isTSDeclareMethod(e,t){if(!e)return false;if(e.type!=="TSDeclareMethod")return false;return t==null||(0,n.default)(e,t)}function isTSQualifiedName(e,t){if(!e)return false;if(e.type!=="TSQualifiedName")return false;return t==null||(0,n.default)(e,t)}function isTSCallSignatureDeclaration(e,t){if(!e)return false;if(e.type!=="TSCallSignatureDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;if(e.type!=="TSConstructSignatureDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSPropertySignature(e,t){if(!e)return false;if(e.type!=="TSPropertySignature")return false;return t==null||(0,n.default)(e,t)}function isTSMethodSignature(e,t){if(!e)return false;if(e.type!=="TSMethodSignature")return false;return t==null||(0,n.default)(e,t)}function isTSIndexSignature(e,t){if(!e)return false;if(e.type!=="TSIndexSignature")return false;return t==null||(0,n.default)(e,t)}function isTSAnyKeyword(e,t){if(!e)return false;if(e.type!=="TSAnyKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSBooleanKeyword(e,t){if(!e)return false;if(e.type!=="TSBooleanKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSBigIntKeyword(e,t){if(!e)return false;if(e.type!=="TSBigIntKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSIntrinsicKeyword(e,t){if(!e)return false;if(e.type!=="TSIntrinsicKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNeverKeyword(e,t){if(!e)return false;if(e.type!=="TSNeverKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNullKeyword(e,t){if(!e)return false;if(e.type!=="TSNullKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNumberKeyword(e,t){if(!e)return false;if(e.type!=="TSNumberKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSObjectKeyword(e,t){if(!e)return false;if(e.type!=="TSObjectKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSStringKeyword(e,t){if(!e)return false;if(e.type!=="TSStringKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSSymbolKeyword(e,t){if(!e)return false;if(e.type!=="TSSymbolKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSUndefinedKeyword(e,t){if(!e)return false;if(e.type!=="TSUndefinedKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSUnknownKeyword(e,t){if(!e)return false;if(e.type!=="TSUnknownKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSVoidKeyword(e,t){if(!e)return false;if(e.type!=="TSVoidKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSThisType(e,t){if(!e)return false;if(e.type!=="TSThisType")return false;return t==null||(0,n.default)(e,t)}function isTSFunctionType(e,t){if(!e)return false;if(e.type!=="TSFunctionType")return false;return t==null||(0,n.default)(e,t)}function isTSConstructorType(e,t){if(!e)return false;if(e.type!=="TSConstructorType")return false;return t==null||(0,n.default)(e,t)}function isTSTypeReference(e,t){if(!e)return false;if(e.type!=="TSTypeReference")return false;return t==null||(0,n.default)(e,t)}function isTSTypePredicate(e,t){if(!e)return false;if(e.type!=="TSTypePredicate")return false;return t==null||(0,n.default)(e,t)}function isTSTypeQuery(e,t){if(!e)return false;if(e.type!=="TSTypeQuery")return false;return t==null||(0,n.default)(e,t)}function isTSTypeLiteral(e,t){if(!e)return false;if(e.type!=="TSTypeLiteral")return false;return t==null||(0,n.default)(e,t)}function isTSArrayType(e,t){if(!e)return false;if(e.type!=="TSArrayType")return false;return t==null||(0,n.default)(e,t)}function isTSTupleType(e,t){if(!e)return false;if(e.type!=="TSTupleType")return false;return t==null||(0,n.default)(e,t)}function isTSOptionalType(e,t){if(!e)return false;if(e.type!=="TSOptionalType")return false;return t==null||(0,n.default)(e,t)}function isTSRestType(e,t){if(!e)return false;if(e.type!=="TSRestType")return false;return t==null||(0,n.default)(e,t)}function isTSNamedTupleMember(e,t){if(!e)return false;if(e.type!=="TSNamedTupleMember")return false;return t==null||(0,n.default)(e,t)}function isTSUnionType(e,t){if(!e)return false;if(e.type!=="TSUnionType")return false;return t==null||(0,n.default)(e,t)}function isTSIntersectionType(e,t){if(!e)return false;if(e.type!=="TSIntersectionType")return false;return t==null||(0,n.default)(e,t)}function isTSConditionalType(e,t){if(!e)return false;if(e.type!=="TSConditionalType")return false;return t==null||(0,n.default)(e,t)}function isTSInferType(e,t){if(!e)return false;if(e.type!=="TSInferType")return false;return t==null||(0,n.default)(e,t)}function isTSParenthesizedType(e,t){if(!e)return false;if(e.type!=="TSParenthesizedType")return false;return t==null||(0,n.default)(e,t)}function isTSTypeOperator(e,t){if(!e)return false;if(e.type!=="TSTypeOperator")return false;return t==null||(0,n.default)(e,t)}function isTSIndexedAccessType(e,t){if(!e)return false;if(e.type!=="TSIndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isTSMappedType(e,t){if(!e)return false;if(e.type!=="TSMappedType")return false;return t==null||(0,n.default)(e,t)}function isTSLiteralType(e,t){if(!e)return false;if(e.type!=="TSLiteralType")return false;return t==null||(0,n.default)(e,t)}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;if(e.type!=="TSExpressionWithTypeArguments")return false;return t==null||(0,n.default)(e,t)}function isTSInterfaceDeclaration(e,t){if(!e)return false;if(e.type!=="TSInterfaceDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSInterfaceBody(e,t){if(!e)return false;if(e.type!=="TSInterfaceBody")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAliasDeclaration(e,t){if(!e)return false;if(e.type!=="TSTypeAliasDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSInstantiationExpression(e,t){if(!e)return false;if(e.type!=="TSInstantiationExpression")return false;return t==null||(0,n.default)(e,t)}function isTSAsExpression(e,t){if(!e)return false;if(e.type!=="TSAsExpression")return false;return t==null||(0,n.default)(e,t)}function isTSSatisfiesExpression(e,t){if(!e)return false;if(e.type!=="TSSatisfiesExpression")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAssertion(e,t){if(!e)return false;if(e.type!=="TSTypeAssertion")return false;return t==null||(0,n.default)(e,t)}function isTSEnumDeclaration(e,t){if(!e)return false;if(e.type!=="TSEnumDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSEnumMember(e,t){if(!e)return false;if(e.type!=="TSEnumMember")return false;return t==null||(0,n.default)(e,t)}function isTSModuleDeclaration(e,t){if(!e)return false;if(e.type!=="TSModuleDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSModuleBlock(e,t){if(!e)return false;if(e.type!=="TSModuleBlock")return false;return t==null||(0,n.default)(e,t)}function isTSImportType(e,t){if(!e)return false;if(e.type!=="TSImportType")return false;return t==null||(0,n.default)(e,t)}function isTSImportEqualsDeclaration(e,t){if(!e)return false;if(e.type!=="TSImportEqualsDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSExternalModuleReference(e,t){if(!e)return false;if(e.type!=="TSExternalModuleReference")return false;return t==null||(0,n.default)(e,t)}function isTSNonNullExpression(e,t){if(!e)return false;if(e.type!=="TSNonNullExpression")return false;return t==null||(0,n.default)(e,t)}function isTSExportAssignment(e,t){if(!e)return false;if(e.type!=="TSExportAssignment")return false;return t==null||(0,n.default)(e,t)}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;if(e.type!=="TSNamespaceExportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TSTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameterInstantiation(e,t){if(!e)return false;if(e.type!=="TSTypeParameterInstantiation")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameterDeclaration(e,t){if(!e)return false;if(e.type!=="TSTypeParameterDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameter(e,t){if(!e)return false;if(e.type!=="TSTypeParameter")return false;return t==null||(0,n.default)(e,t)}function isStandardized(e,t){if(!e)return false;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isExpression(e,t){if(!e)return false;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isBinary(e,t){if(!e)return false;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isScopable(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isBlockParent(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isBlock(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isStatement(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(e.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isTerminatorless(e,t){if(!e)return false;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isCompletionStatement(e,t){if(!e)return false;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isConditional(e,t){if(!e)return false;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isLoop(e,t){if(!e)return false;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isWhile(e,t){if(!e)return false;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isExpressionWrapper(e,t){if(!e)return false;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isFor(e,t){if(!e)return false;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isForXStatement(e,t){if(!e)return false;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isFunction(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return false}return t==null||(0,n.default)(e,t)}function isFunctionParent(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return false}return t==null||(0,n.default)(e,t)}function isPureish(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isDeclaration(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(e.expectedNode==="Declaration")break;default:return false}return t==null||(0,n.default)(e,t)}function isPatternLike(e,t){if(!e)return false;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isLVal(e,t){if(!e)return false;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isTSEntityName(e,t){if(!e)return false;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(e.expectedNode==="Identifier")break;default:return false}return t==null||(0,n.default)(e,t)}function isLiteral(e,t){if(!e)return false;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isImmutable(e,t){if(!e)return false;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isUserWhitespacable(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isMethod(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return false}return t==null||(0,n.default)(e,t)}function isObjectMember(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isProperty(e,t){if(!e)return false;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isUnaryLike(e,t){if(!e)return false;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return false}return t==null||(0,n.default)(e,t)}function isPattern(e,t){if(!e)return false;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(e.expectedNode==="Pattern")break;default:return false}return t==null||(0,n.default)(e,t)}function isClass(e,t){if(!e)return false;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isImportOrExportDeclaration(e,t){if(!e)return false;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isExportDeclaration(e,t){if(!e)return false;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isModuleSpecifier(e,t){if(!e)return false;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return false}return t==null||(0,n.default)(e,t)}function isAccessor(e,t){if(!e)return false;switch(e.type){case"ClassAccessorProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isPrivate(e,t){if(!e)return false;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlow(e,t){if(!e)return false;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlowType(e,t){if(!e)return false;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlowBaseAnnotation(e,t){if(!e)return false;switch(e.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlowDeclaration(e,t){if(!e)return false;switch(e.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlowPredicate(e,t){if(!e)return false;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return false}return t==null||(0,n.default)(e,t)}function isEnumBody(e,t){if(!e)return false;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return false}return t==null||(0,n.default)(e,t)}function isEnumMember(e,t){if(!e)return false;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return false}return t==null||(0,n.default)(e,t)}function isJSX(e,t){if(!e)return false;switch(e.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return false}return t==null||(0,n.default)(e,t)}function isMiscellaneous(e,t){if(!e)return false;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return false}return t==null||(0,n.default)(e,t)}function isTypeScript(e,t){if(!e)return false;switch(e.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return false}return t==null||(0,n.default)(e,t)}function isTSTypeElement(e,t){if(!e)return false;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return false}return t==null||(0,n.default)(e,t)}function isTSType(e,t){if(!e)return false;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return false}return t==null||(0,n.default)(e,t)}function isTSBaseType(e,t){if(!e)return false;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return false}return t==null||(0,n.default)(e,t)}function isNumberLiteral(e,t){(0,s.default)("isNumberLiteral","isNumericLiteral");if(!e)return false;if(e.type!=="NumberLiteral")return false;return t==null||(0,n.default)(e,t)}function isRegexLiteral(e,t){(0,s.default)("isRegexLiteral","isRegExpLiteral");if(!e)return false;if(e.type!=="RegexLiteral")return false;return t==null||(0,n.default)(e,t)}function isRestProperty(e,t){(0,s.default)("isRestProperty","isRestElement");if(!e)return false;if(e.type!=="RestProperty")return false;return t==null||(0,n.default)(e,t)}function isSpreadProperty(e,t){(0,s.default)("isSpreadProperty","isSpreadElement");if(!e)return false;if(e.type!=="SpreadProperty")return false;return t==null||(0,n.default)(e,t)}function isModuleDeclaration(e,t){(0,s.default)("isModuleDeclaration","isImportOrExportDeclaration");return isImportOrExportDeclaration(e,t)}},9247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=is;var n=r(3631);var s=r(9810);var i=r(4576);var a=r(7940);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},7527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBinding;var n=r(6332);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r<s.length;r++){const n=s[r];const i=t[n];if(Array.isArray(i)){if(i.indexOf(e)>=0)return true}else{if(i===e)return true}}}return false}},5127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBlockScoped;var n=r(601);var s=r(775);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},9803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isImmutable;var n=r(9810);var s=r(601);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLet;var n=r(601);var s=r(4152);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},4955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNode;var n=r(7940);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNodesEquivalent;var n=r(7940);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){const r=e[n];const i=t[n];if(typeof r!==typeof i){return false}if(r==null&&i==null){continue}else if(r==null||i==null){return false}if(Array.isArray(r)){if(!Array.isArray(i)){return false}if(r.length!==i.length){return false}for(let e=0;e<r.length;e++){if(!isNodesEquivalent(r[e],i[e])){return false}}continue}if(typeof r==="object"&&!(s!=null&&s.includes(n))){for(const e of Object.keys(r)){if(r[e]!==i[e]){return false}}continue}if(!isNodesEquivalent(r,i)){return false}}return true}},4576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isPlaceholderType;var n=r(7940);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},8103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.key===e){return!!t.computed}return false;case"ObjectProperty":if(t.key===e){return!!t.computed}return!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(t.key===e){return!!t.computed}return true;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"ImportAttribute":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},8498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isScope;var n=r(601);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},2424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isSpecifierDefault;var n=r(601);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},9810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isType;var n=r(7940);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},2042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidES3Identifier;var n=r(6488);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},6488:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidIdentifier;var n=r(4975);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},6205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isVar;var n=r(601);var s=r(4152);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},8877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=matchesPattern;var n=r(601);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.length<s.length)return false;if(!r&&i.length>s.length)return false;for(let e=0,t=i.length-1;e<s.length;e++,t--){const r=i[t];let a;if((0,n.isIdentifier)(r)){a=r.name}else if((0,n.isStringLiteral)(r)){a=r.value}else if((0,n.isThisExpression)(r)){a="this"}else{return false}if(s[e]!==a)return false}return true}},5454:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},7922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(2049);const s=(0,n.default)("React.Component");var i=s;t["default"]=i},4439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validate;t.validateChild=validateChild;t.validateField=validateField;var n=r(7940);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},8204:(e,t,r)=>{e.exports=function import_(e){return r(5179)(e)};0&&0},212:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"45","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},2735:e=>{"use strict";e.exports=JSON.parse('{"transform-unicode-sets-regex":{"chrome":"112","opera":"98","edge":"112","firefox":"116","safari":"tp","node":"20","deno":"1.32","opera_mobile":"75","electron":"24.0"},"transform-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","safari":"16.4","node":"16.11","deno":"1.14","ios":"16.4","samsung":"17","opera_mobile":"66","electron":"15.0"},"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","safari":"16.4","node":"16.11","deno":"1.14","ios":"16.4","samsung":"17","opera_mobile":"66","electron":"15.0"},"transform-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","opera_mobile":"64","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"14.5","samsung":"11","opera_mobile":"53","electron":"6.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"14.5","samsung":"11","opera_mobile":"53","electron":"6.0"},"transform-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","opera_mobile":"60","electron":"10.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","opera_mobile":"60","electron":"10.0"},"transform-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","opera_mobile":"54","electron":"6.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","opera_mobile":"54","electron":"6.0"},"transform-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","opera_mobile":"60","electron":"10.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","opera_mobile":"60","electron":"10.0"},"transform-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"transform-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","opera_mobile":"47","electron":"3.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","opera_mobile":"47","electron":"3.0"},"transform-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"16.3","node":"6","deno":"1","ios":"16.3","samsung":"5","opera_mobile":"36","electron":"0.37"},"transform-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"transform-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"44","electron":"2.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"44","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"46","electron":"3.0"},"transform-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","deno":"1","ios":"11","samsung":"6","opera_mobile":"42","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","opera_mobile":"41","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","deno":"1","ios":"13","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","opera_mobile":"34","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","deno":"1","ie":"11","ios":"10","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.14","opera_mobile":"30","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","opera_mobile":"29","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","deno":"1","ios":"12","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-block-scoping":{"chrome":"50","opera":"37","edge":"14","firefox":"53","safari":"11","node":"6","deno":"1","ios":"11","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.6","deno":"1","ie":"9","android":"4.4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"transform-export-namespace-from":{"chrome":"72","deno":"1.0","edge":"79","firefox":"80","node":"13.2","opera":"60","opera_mobile":"51","safari":"14.1","ios":"14.5","samsung":"11.0","android":"72","electron":"5.0"},"proposal-export-namespace-from":{"chrome":"72","deno":"1.0","edge":"79","firefox":"80","node":"13.2","opera":"60","opera_mobile":"51","safari":"14.1","ios":"14.5","samsung":"11.0","android":"72","electron":"5.0"}}')},8819:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.22.5","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.22.5","@babel/helper-validator-option":"^7.22.5","@babel/plugin-syntax-jsx":"^7.22.5","@babel/plugin-transform-modules-commonjs":"^7.22.5","@babel/plugin-transform-typescript":"^7.22.5"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.22.5","@babel/helper-plugin-test-runner":"^7.22.5"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}')},3676:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(3050);module.exports=r})(); \ No newline at end of file diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index d19392ed8d2cd..d931cac2fd243 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react-experimental"); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -258,7 +258,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -267,7 +267,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -276,7 +276,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -3962,26 +3962,7 @@ function pushStartCustomElement(target, props, tag) { continue; } - if ((typeof propValue === 'function' || typeof propValue === 'object')) { - // It is normal to render functions and objects on custom elements when - // client rendering, but when server rendering the output isn't useful, - // so skip it. - continue; - } - - if (propValue === false) { - continue; - } - - if (propValue === true) { - propValue = ''; - } - - if (propKey === 'className') { - // className gets rendered as class on the client, so it should be - // rendered as class on the server. - propKey = 'class'; - } + var attributeName = propKey; switch (propKey) { case 'children': @@ -4001,9 +3982,28 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + { + // className gets rendered as class on the client, so it should be + // rendered as class on the server. + attributeName = 'class'; + } + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + { + if (propValue === false) { + continue; + } else if (propValue === true) { + propValue = ''; + } else if (typeof propValue === 'object') { + continue; + } + } + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -8196,9 +8196,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return initialValue !== undefined ? initialValue : value; + } } function unsupportedStartTransition() { @@ -8983,11 +8986,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -9038,24 +9037,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -9063,8 +9053,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9605,37 +9594,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9646,17 +9604,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9664,37 +9623,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9758,8 +9720,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9937,24 +9906,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -9989,7 +9960,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -10314,6 +10285,7 @@ function renderNode(request, task, node, childIndex) { task.componentStack = previousComponentStack; } + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10375,6 +10347,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -10396,6 +10369,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -10509,8 +10484,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -10519,6 +10492,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -10529,6 +10503,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -10570,12 +10552,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10759,6 +10742,7 @@ function retryRenderTask(request, task, segment) { logPostpone(request, postponeInstance.message); trackPostpone(request, trackedPostpones, task, segment); finishedTask(request, task.blockedBoundary, segment); + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10835,6 +10819,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -11264,7 +11256,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } } } @@ -11284,10 +11279,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -11317,6 +11319,9 @@ function startFlowing(request, destination) { fatalError(request, error); } } +function stopFlowing(request) { + request.destination = null; +} // This is called to early terminate a request. It puts all pending boundaries in client rendered state. function abort(request, reason) { try { diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js index 3bfe9118b1b45..2f966742637a4 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js @@ -31,11 +31,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var ca=require("next/dist/compiled/react-experimental"),ia=require("react-dom");function q(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -function ja(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< +'use strict';var da=require("next/dist/compiled/react-experimental"),ja=require("react-dom");function n(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} +function ka(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< 16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0} -var t=Object.assign,v=Object.prototype.hasOwnProperty,ka=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),la={},wa={}; -function xa(a){if(v.call(wa,a))return!0;if(v.call(la,a))return!1;if(ka.test(a))return wa[a]=!0;la[a]=!0;return!1} +var t=Object.assign,w=Object.prototype.hasOwnProperty,la=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ma={},wa={}; +function xa(a){if(w.call(wa,a))return!0;if(w.call(ma,a))return!1;if(la.test(a))return wa[a]=!0;ma[a]=!0;return!1} var ya=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),za= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", @@ -43,154 +43,153 @@ new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], ["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Aa=/["'&<>]/; -function w(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Aa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var Ba=/([A-Z])/g,Ga=/^ms-/,Ha=Array.isArray,Ia=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ja={pending:!1,data:null,method:null,action:null},Ka=ia.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,jb={prefetchDNS:La,preconnect:Ma,preload:Na,preloadModule:fb,preinitStyle:gb,preinitScript:hb,preinitModuleScript:ib},kb=[]; +function x(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Aa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var Ba=/([A-Z])/g,Ga=/^ms-/,Ha=Array.isArray,Ia=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ja={pending:!1,data:null,method:null,action:null},Ka=ja.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,jb={prefetchDNS:La,preconnect:Ma,preload:eb,preloadModule:fb,preinitStyle:gb,preinitScript:hb,preinitModuleScript:ib},kb=[]; function lb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function y(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}} function mb(a,b,c){switch(b){case "noscript":return y(2,null,a.tagScope|1);case "select":return y(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return y(3,null,a.tagScope);case "picture":return y(2,null,a.tagScope|2);case "math":return y(4,null,a.tagScope);case "foreignObject":return y(2,null,a.tagScope);case "table":return y(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return y(6,null,a.tagScope);case "colgroup":return y(8,null,a.tagScope);case "tr":return y(7,null,a.tagScope)}return 5<= a.insertionMode?y(2,null,a.tagScope):0===a.insertionMode?"html"===b?y(1,null,a.tagScope):y(2,null,a.tagScope):1===a.insertionMode?y(2,null,a.tagScope):a}var nb=new Map; -function ob(a,b){if("object"!==typeof b)throw Error(q(62));var c=!0,d;for(d in b)if(v.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=w(d);e=w((""+e).trim())}else f=nb.get(d),void 0===f&&(f=w(d.replace(Ba,"-$1").toLowerCase().replace(Ga,"-ms-")),nb.set(d,f)),e="number"===typeof e?0===e||ya.has(d)?""+e:e+"px":w((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')} -function yb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function F(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',w(c),'"')}function zb(a){var b=a.nextFormID++;return a.idPrefix+b}var Ab=w("javascript:throw new Error('A React form was unexpectedly submitted.')");function Bb(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error(q(480));F(this,"name",b);F(this,"value",a);this.push("/>")} -function Cb(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=zb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(" ","formAction",'="',Ab,'"'),g=f=e=d=h=null,Db(b,c)));null!=h&&G(a,"name",h);null!=d&&G(a,"formAction",d);null!=e&&G(a,"formEncType",e);null!=f&&G(a,"formMethod",f);null!=g&&G(a,"formTarget",g);return k} -function G(a,b,c){switch(b){case "className":F(a,"class",c);break;case "tabIndex":F(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":F(a,b,c);break;case "style":ob(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',w(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":yb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',w(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',w(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',w(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',w(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',w(c),'"');break;case "xlinkActuate":F(a,"xlink:actuate", -c);break;case "xlinkArcrole":F(a,"xlink:arcrole",c);break;case "xlinkRole":F(a,"xlink:role",c);break;case "xlinkShow":F(a,"xlink:show",c);break;case "xlinkTitle":F(a,"xlink:title",c);break;case "xlinkType":F(a,"xlink:type",c);break;case "xmlBase":F(a,"xml:base",c);break;case "xmlLang":F(a,"xml:lang",c);break;case "xmlSpace":F(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=za.get(b)||b,xa(b)){switch(typeof c){case "function":case "symbol":return; -case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',w(c),'"')}}}function H(a,b,c){if(null!=b){if(null!=c)throw Error(q(60));if("object"!==typeof b||!("__html"in b))throw Error(q(61));b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}}function Eb(a){var b="";ca.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} +function ob(a,b){if("object"!==typeof b)throw Error(n(62));var c=!0,d;for(d in b)if(w.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=x(d);e=x((""+e).trim())}else f=nb.get(d),void 0===f&&(f=x(d.replace(Ba,"-$1").toLowerCase().replace(Ga,"-ms-")),nb.set(d,f)),e="number"===typeof e?0===e||ya.has(d)?""+e:e+"px":x((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')} +function yb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function D(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',x(c),'"')}function zb(a){var b=a.nextFormID++;return a.idPrefix+b}var Ab=x("javascript:throw new Error('A React form was unexpectedly submitted.')");function Bb(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error(n(480));D(this,"name",b);D(this,"value",a);this.push("/>")} +function Cb(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=zb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(" ","formAction",'="',Ab,'"'),g=f=e=d=h=null,Db(b,c)));null!=h&&E(a,"name",h);null!=d&&E(a,"formAction",d);null!=e&&E(a,"formEncType",e);null!=f&&E(a,"formMethod",f);null!=g&&E(a,"formTarget",g);return k} +function E(a,b,c){switch(b){case "className":D(a,"class",c);break;case "tabIndex":D(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":D(a,b,c);break;case "style":ob(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',x(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":yb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',x(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',x(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',x(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',x(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',x(c),'"');break;case "xlinkActuate":D(a,"xlink:actuate", +c);break;case "xlinkArcrole":D(a,"xlink:arcrole",c);break;case "xlinkRole":D(a,"xlink:role",c);break;case "xlinkShow":D(a,"xlink:show",c);break;case "xlinkTitle":D(a,"xlink:title",c);break;case "xlinkType":D(a,"xlink:type",c);break;case "xmlBase":D(a,"xml:base",c);break;case "xmlLang":D(a,"xml:lang",c);break;case "xmlSpace":D(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=za.get(b)||b,xa(b)){switch(typeof c){case "function":case "symbol":return; +case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',x(c),'"')}}}function F(a,b,c){if(null!=b){if(null!=c)throw Error(n(60));if("object"!==typeof b||!("__html"in b))throw Error(n(61));b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}}function Eb(a){var b="";da.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} function Db(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});',"\x3c/script>"))} -function Fb(a,b,c,d,e,f,g){var h=b.rel,k=b.href,l=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return L(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return L(a,b);f=d.styles.get(l);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:w(l),rules:[],hrefs:[],sheets:new Map},d.styles.set(l,f)),b={state:0,props:t({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&Gb(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return L(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return L(d.preconnectChunks,b);case "preload":return L(d.preloadChunks, -b);default:return L(d.hoistableChunks,b)}}function L(a,b){a.push(M("link"));for(var c in b)if(v.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error(q(399,"link"));default:G(a,c,d)}}a.push("/>");return null}function Hb(a,b,c){a.push(M(c));for(var d in b)if(v.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(q(399,c));default:G(a,d,e)}}a.push("/>");return null} -function Ib(a,b){a.push(M("title"));var c=null,d=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:G(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(w(""+b));H(a,d,c);a.push("</","title",">");return null} -function Jb(a,b){a.push(M("script"));var c=null,d=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:G(a,e,f)}}a.push(">");H(a,d,c);"string"===typeof c&&a.push(w(c));a.push("</","script",">");return null} -function Kb(a,b,c){a.push(M(c));var d=c=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:G(a,e,f)}}a.push(">");H(a,d,c);return"string"===typeof c?(a.push(w(c)),null):c}var Lb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Mb=new Map;function M(a){var b=Mb.get(a);if(void 0===b){if(!Lb.test(a))throw Error(q(65,a));b="<"+a;Mb.set(a,b)}return b} -function Nb(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(M("select"));var h=null,k=null,l;for(l in c)if(v.call(c,l)){var p=c[l];if(null!=p)switch(l){case "children":h=p;break;case "dangerouslySetInnerHTML":k=p;break;case "defaultValue":case "value":break;default:G(a,l,p)}}a.push(">");H(a,k,h);return h;case "option":var r=f.selectedValue;a.push(M("option"));var m=null,u=null,I=null,A=null,B;for(B in c)if(v.call(c, -B)){var n=c[B];if(null!=n)switch(B){case "children":m=n;break;case "selected":I=n;break;case "dangerouslySetInnerHTML":A=n;break;case "value":u=n;default:G(a,B,n)}}if(null!=r){var z=null!==u?""+u:Eb(m);if(Ha(r))for(var Z=0;Z<r.length;Z++){if(""+r[Z]===z){a.push(' selected=""');break}}else""+r===z&&a.push(' selected=""')}else I&&a.push(' selected=""');a.push(">");H(a,A,m);return m;case "textarea":a.push(M("textarea"));var J=null,x=null,D=null,C;for(C in c)if(v.call(c,C)){var K=c[C];if(null!=K)switch(C){case "children":D= -K;break;case "value":J=K;break;case "defaultValue":x=K;break;case "dangerouslySetInnerHTML":throw Error(q(91));default:G(a,C,K)}}null===J&&null!==x&&(J=x);a.push(">");if(null!=D){if(null!=J)throw Error(q(92));if(Ha(D)){if(1<D.length)throw Error(q(93));J=""+D[0]}J=""+D}"string"===typeof J&&"\n"===J[0]&&a.push("\n");null!==J&&a.push(w(""+J));return null;case "input":a.push(M("input"));var Ca=null,O=null,ma=null,da=null,aa=null,Oa=null,Pa=null,Qa=null,Ra=null,na;for(na in c)if(v.call(c,na)){var R=c[na]; -if(null!=R)switch(na){case "children":case "dangerouslySetInnerHTML":throw Error(q(399,"input"));case "name":Ca=R;break;case "formAction":O=R;break;case "formEncType":ma=R;break;case "formMethod":da=R;break;case "formTarget":aa=R;break;case "defaultChecked":Ra=R;break;case "defaultValue":Pa=R;break;case "checked":Qa=R;break;case "value":Oa=R;break;default:G(a,na,R)}}var pb=Cb(a,d,e,O,ma,da,aa,Ca);null!==Qa?yb(a,"checked",Qa):null!==Ra&&yb(a,"checked",Ra);null!==Oa?G(a,"value",Oa):null!==Pa&&G(a,"value", -Pa);a.push("/>");null!==pb&&pb.forEach(Bb,a);return null;case "button":a.push(M("button"));var V=null,oa=null,pa=null,qa=null,Sa=null,ra=null,Dc=null,Ta;for(Ta in c)if(v.call(c,Ta)){var ba=c[Ta];if(null!=ba)switch(Ta){case "children":V=ba;break;case "dangerouslySetInnerHTML":oa=ba;break;case "name":pa=ba;break;case "formAction":qa=ba;break;case "formEncType":Sa=ba;break;case "formMethod":ra=ba;break;case "formTarget":Dc=ba;break;default:G(a,Ta,ba)}}var Ec=Cb(a,d,e,qa,Sa,ra,Dc,pa);a.push(">");null!== -Ec&&Ec.forEach(Bb,a);H(a,oa,V);if("string"===typeof V){a.push(w(V));var Fc=null}else Fc=V;return Fc;case "form":a.push(M("form"));var Ua=null,Gc=null,ea=null,Va=null,Wa=null,Xa=null,Ya;for(Ya in c)if(v.call(c,Ya)){var fa=c[Ya];if(null!=fa)switch(Ya){case "children":Ua=fa;break;case "dangerouslySetInnerHTML":Gc=fa;break;case "action":ea=fa;break;case "encType":Va=fa;break;case "method":Wa=fa;break;case "target":Xa=fa;break;default:G(a,Ya,fa)}}var Vb=null,Wb=null;if("function"===typeof ea)if("function"=== -typeof ea.$$FORM_ACTION){var ge=zb(d),Da=ea.$$FORM_ACTION(ge);ea=Da.action||"";Va=Da.encType;Wa=Da.method;Xa=Da.target;Vb=Da.data;Wb=Da.name}else a.push(" ","action",'="',Ab,'"'),Xa=Wa=Va=ea=null,Db(d,e);null!=ea&&G(a,"action",ea);null!=Va&&G(a,"encType",Va);null!=Wa&&G(a,"method",Wa);null!=Xa&&G(a,"target",Xa);a.push(">");null!==Wb&&(a.push('<input type="hidden"'),F(a,"name",Wb),a.push("/>"),null!==Vb&&Vb.forEach(Bb,a));H(a,Gc,Ua);if("string"===typeof Ua){a.push(w(Ua));var Hc=null}else Hc=Ua;return Hc; -case "menuitem":a.push(M("menuitem"));for(var qb in c)if(v.call(c,qb)){var Ic=c[qb];if(null!=Ic)switch(qb){case "children":case "dangerouslySetInnerHTML":throw Error(q(400));default:G(a,qb,Ic)}}a.push(">");return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Jc=Ib(a,c);else Ib(e.hoistableChunks,c),Jc=null;return Jc;case "link":return Fb(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var Xb=c.async;if("string"!==typeof c.src||!c.src||!Xb||"function"===typeof Xb|| -"symbol"===typeof Xb||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Kc=Jb(a,c);else{var rb=c.src;if("module"===c.type){var sb=d.moduleScriptResources;var Lc=e.preloads.moduleScripts}else sb=d.scriptResources,Lc=e.preloads.scripts;var tb=sb.hasOwnProperty(rb)?sb[rb]:void 0;if(null!==tb){sb[rb]=null;var Yb=c;if(tb){2===tb.length&&(Yb=t({},c),Gb(Yb,tb));var Mc=Lc.get(rb);Mc&&(Mc.length=0)}var Nc=[];e.scripts.add(Nc);Jb(Nc,Yb)}g&&a.push("\x3c!-- --\x3e");Kc=null}return Kc; -case "style":var ub=c.precedence,sa=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof ub||"string"!==typeof sa||""===sa){a.push(M("style"));var Ea=null,Oc=null,Za;for(Za in c)if(v.call(c,Za)){var vb=c[Za];if(null!=vb)switch(Za){case "children":Ea=vb;break;case "dangerouslySetInnerHTML":Oc=vb;break;default:G(a,Za,vb)}}a.push(">");var $a=Array.isArray(Ea)?2>Ea.length?Ea[0]:null:Ea;"function"!==typeof $a&&"symbol"!==typeof $a&&null!==$a&&void 0!==$a&&a.push(w(""+$a));H(a, -Oc,Ea);a.push("</","style",">");var Pc=null}else{var ta=e.styles.get(ub);if(null!==(d.styleResources.hasOwnProperty(sa)?d.styleResources[sa]:void 0)){d.styleResources[sa]=null;ta?ta.hrefs.push(w(sa)):(ta={precedence:w(ub),rules:[],hrefs:[w(sa)],sheets:new Map},e.styles.set(ub,ta));var Qc=ta.rules,Fa=null,Rc=null,wb;for(wb in c)if(v.call(c,wb)){var Zb=c[wb];if(null!=Zb)switch(wb){case "children":Fa=Zb;break;case "dangerouslySetInnerHTML":Rc=Zb}}var ab=Array.isArray(Fa)?2>Fa.length?Fa[0]:null:Fa;"function"!== -typeof ab&&"symbol"!==typeof ab&&null!==ab&&void 0!==ab&&Qc.push(w(""+ab));H(Qc,Rc,Fa)}ta&&e.boundaryResources&&e.boundaryResources.styles.add(ta);g&&a.push("\x3c!-- --\x3e");Pc=void 0}return Pc;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Sc=Hb(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),Sc="string"===typeof c.charSet?Hb(e.charsetChunks,c,"meta"):"viewport"===c.name?Hb(e.preconnectChunks,c,"meta"):Hb(e.hoistableChunks,c,"meta");return Sc;case "listing":case "pre":a.push(M(b)); -var bb=null,cb=null,db;for(db in c)if(v.call(c,db)){var xb=c[db];if(null!=xb)switch(db){case "children":bb=xb;break;case "dangerouslySetInnerHTML":cb=xb;break;default:G(a,db,xb)}}a.push(">");if(null!=cb){if(null!=bb)throw Error(q(60));if("object"!==typeof cb||!("__html"in cb))throw Error(q(61));var ua=cb.__html;null!==ua&&void 0!==ua&&("string"===typeof ua&&0<ua.length&&"\n"===ua[0]?a.push("\n",ua):a.push(""+ua))}"string"===typeof bb&&"\n"===bb[0]&&a.push("\n");return bb;case "img":var P=c.src,E= -c.srcSet;if(!("lazy"===c.loading||!P&&!E||"string"!==typeof P&&null!=P||"string"!==typeof E&&null!=E)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof P||":"!==P[4]||"d"!==P[0]&&"D"!==P[0]||"a"!==P[1]&&"A"!==P[1]||"t"!==P[2]&&"T"!==P[2]||"a"!==P[3]&&"A"!==P[3])&&("string"!==typeof E||":"!==E[4]||"d"!==E[0]&&"D"!==E[0]||"a"!==E[1]&&"A"!==E[1]||"t"!==E[2]&&"T"!==E[2]||"a"!==E[3]&&"A"!==E[3])){var Tc="string"===typeof c.sizes?c.sizes:void 0,eb=E?E+"\n"+(Tc||""):P,$b=e.preloads.images, -va=$b.get(eb);if(va){if("high"===c.fetchPriority||10>e.highImagePreloads.size)$b.delete(eb),e.highImagePreloads.add(va)}else d.imageResources.hasOwnProperty(eb)||(d.imageResources[eb]=kb,va=[],L(va,{rel:"preload",as:"image",href:E?void 0:P,imageSrcSet:E,imageSizes:Tc,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(va):(e.bulkPreloads.add(va),$b.set(eb, +function Fb(a,b,c,d,e,f,g){var h=b.rel,k=b.href,l=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return I(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return I(a,b);f=d.styles.get(l);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:x(l),rules:[],hrefs:[],sheets:new Map},d.styles.set(l,f)),b={state:0,props:t({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&Gb(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return I(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return I(d.preconnectChunks,b);case "preload":return I(d.preloadChunks, +b);default:return I(d.hoistableChunks,b)}}function I(a,b){a.push(J("link"));for(var c in b)if(w.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error(n(399,"link"));default:E(a,c,d)}}a.push("/>");return null}function Hb(a,b,c){a.push(J(c));for(var d in b)if(w.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(n(399,c));default:E(a,d,e)}}a.push("/>");return null} +function Ib(a,b){a.push(J("title"));var c=null,d=null,e;for(e in b)if(w.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(x(""+b));F(a,d,c);a.push("</","title",">");return null} +function Jb(a,b){a.push(J("script"));var c=null,d=null,e;for(e in b)if(w.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");F(a,d,c);"string"===typeof c&&a.push(x(c));a.push("</","script",">");return null} +function Kb(a,b,c){a.push(J(c));var d=c=null,e;for(e in b)if(w.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");F(a,d,c);return"string"===typeof c?(a.push(x(c)),null):c}var Lb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Mb=new Map;function J(a){var b=Mb.get(a);if(void 0===b){if(!Lb.test(a))throw Error(n(65,a));b="<"+a;Mb.set(a,b)}return b} +function Nb(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(J("select"));var h=null,k=null,l;for(l in c)if(w.call(c,l)){var p=c[l];if(null!=p)switch(l){case "children":h=p;break;case "dangerouslySetInnerHTML":k=p;break;case "defaultValue":case "value":break;default:E(a,l,p)}}a.push(">");F(a,k,h);return h;case "option":var r=f.selectedValue;a.push(J("option"));var m=null,z=null,B=null,R=null,N;for(N in c)if(w.call(c, +N)){var q=c[N];if(null!=q)switch(N){case "children":m=q;break;case "selected":B=q;break;case "dangerouslySetInnerHTML":R=q;break;case "value":z=q;default:E(a,N,q)}}if(null!=r){var u=null!==z?""+z:Eb(m);if(Ha(r))for(var aa=0;aa<r.length;aa++){if(""+r[aa]===u){a.push(' selected=""');break}}else""+r===u&&a.push(' selected=""')}else B&&a.push(' selected=""');a.push(">");F(a,R,m);return m;case "textarea":a.push(J("textarea"));var G=null,O=null,v=null,A;for(A in c)if(w.call(c,A)){var V=c[A];if(null!=V)switch(A){case "children":v= +V;break;case "value":G=V;break;case "defaultValue":O=V;break;case "dangerouslySetInnerHTML":throw Error(n(91));default:E(a,A,V)}}null===G&&null!==O&&(G=O);a.push(">");if(null!=v){if(null!=G)throw Error(n(92));if(Ha(v)){if(1<v.length)throw Error(n(93));G=""+v[0]}G=""+v}"string"===typeof G&&"\n"===G[0]&&a.push("\n");null!==G&&a.push(x(""+G));return null;case "input":a.push(J("input"));var Q=null,ea=null,H=null,fa=null,ba=null,Na=null,Oa=null,Pa=null,Qa=null,na;for(na in c)if(w.call(c,na)){var P=c[na]; +if(null!=P)switch(na){case "children":case "dangerouslySetInnerHTML":throw Error(n(399,"input"));case "name":Q=P;break;case "formAction":ea=P;break;case "formEncType":H=P;break;case "formMethod":fa=P;break;case "formTarget":ba=P;break;case "defaultChecked":Qa=P;break;case "defaultValue":Oa=P;break;case "checked":Pa=P;break;case "value":Na=P;break;default:E(a,na,P)}}var pb=Cb(a,d,e,ea,H,fa,ba,Q);null!==Pa?yb(a,"checked",Pa):null!==Qa&&yb(a,"checked",Qa);null!==Na?E(a,"value",Na):null!==Oa&&E(a,"value", +Oa);a.push("/>");null!==pb&&pb.forEach(Bb,a);return null;case "button":a.push(J("button"));var W=null,oa=null,pa=null,qa=null,Ra=null,ra=null,Dc=null,Sa;for(Sa in c)if(w.call(c,Sa)){var ca=c[Sa];if(null!=ca)switch(Sa){case "children":W=ca;break;case "dangerouslySetInnerHTML":oa=ca;break;case "name":pa=ca;break;case "formAction":qa=ca;break;case "formEncType":Ra=ca;break;case "formMethod":ra=ca;break;case "formTarget":Dc=ca;break;default:E(a,Sa,ca)}}var Ec=Cb(a,d,e,qa,Ra,ra,Dc,pa);a.push(">");null!== +Ec&&Ec.forEach(Bb,a);F(a,oa,W);if("string"===typeof W){a.push(x(W));var Fc=null}else Fc=W;return Fc;case "form":a.push(J("form"));var Ta=null,Gc=null,ha=null,Ua=null,Va=null,Wa=null,Xa;for(Xa in c)if(w.call(c,Xa)){var ia=c[Xa];if(null!=ia)switch(Xa){case "children":Ta=ia;break;case "dangerouslySetInnerHTML":Gc=ia;break;case "action":ha=ia;break;case "encType":Ua=ia;break;case "method":Va=ia;break;case "target":Wa=ia;break;default:E(a,Xa,ia)}}var Ub=null,Vb=null;if("function"===typeof ha)if("function"=== +typeof ha.$$FORM_ACTION){var he=zb(d),Ca=ha.$$FORM_ACTION(he);ha=Ca.action||"";Ua=Ca.encType;Va=Ca.method;Wa=Ca.target;Ub=Ca.data;Vb=Ca.name}else a.push(" ","action",'="',Ab,'"'),Wa=Va=Ua=ha=null,Db(d,e);null!=ha&&E(a,"action",ha);null!=Ua&&E(a,"encType",Ua);null!=Va&&E(a,"method",Va);null!=Wa&&E(a,"target",Wa);a.push(">");null!==Vb&&(a.push('<input type="hidden"'),D(a,"name",Vb),a.push("/>"),null!==Ub&&Ub.forEach(Bb,a));F(a,Gc,Ta);if("string"===typeof Ta){a.push(x(Ta));var Hc=null}else Hc=Ta;return Hc; +case "menuitem":a.push(J("menuitem"));for(var qb in c)if(w.call(c,qb)){var Ic=c[qb];if(null!=Ic)switch(qb){case "children":case "dangerouslySetInnerHTML":throw Error(n(400));default:E(a,qb,Ic)}}a.push(">");return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Jc=Ib(a,c);else Ib(e.hoistableChunks,c),Jc=null;return Jc;case "link":return Fb(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var Wb=c.async;if("string"!==typeof c.src||!c.src||!Wb||"function"===typeof Wb|| +"symbol"===typeof Wb||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Kc=Jb(a,c);else{var rb=c.src;if("module"===c.type){var sb=d.moduleScriptResources;var Lc=e.preloads.moduleScripts}else sb=d.scriptResources,Lc=e.preloads.scripts;var tb=sb.hasOwnProperty(rb)?sb[rb]:void 0;if(null!==tb){sb[rb]=null;var Xb=c;if(tb){2===tb.length&&(Xb=t({},c),Gb(Xb,tb));var Mc=Lc.get(rb);Mc&&(Mc.length=0)}var Nc=[];e.scripts.add(Nc);Jb(Nc,Xb)}g&&a.push("\x3c!-- --\x3e");Kc=null}return Kc; +case "style":var ub=c.precedence,sa=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof ub||"string"!==typeof sa||""===sa){a.push(J("style"));var Da=null,Oc=null,Ya;for(Ya in c)if(w.call(c,Ya)){var vb=c[Ya];if(null!=vb)switch(Ya){case "children":Da=vb;break;case "dangerouslySetInnerHTML":Oc=vb;break;default:E(a,Ya,vb)}}a.push(">");var Za=Array.isArray(Da)?2>Da.length?Da[0]:null:Da;"function"!==typeof Za&&"symbol"!==typeof Za&&null!==Za&&void 0!==Za&&a.push(x(""+Za));F(a, +Oc,Da);a.push("</","style",">");var Pc=null}else{var ta=e.styles.get(ub);if(null!==(d.styleResources.hasOwnProperty(sa)?d.styleResources[sa]:void 0)){d.styleResources[sa]=null;ta?ta.hrefs.push(x(sa)):(ta={precedence:x(ub),rules:[],hrefs:[x(sa)],sheets:new Map},e.styles.set(ub,ta));var Qc=ta.rules,Ea=null,Rc=null,wb;for(wb in c)if(w.call(c,wb)){var Yb=c[wb];if(null!=Yb)switch(wb){case "children":Ea=Yb;break;case "dangerouslySetInnerHTML":Rc=Yb}}var $a=Array.isArray(Ea)?2>Ea.length?Ea[0]:null:Ea;"function"!== +typeof $a&&"symbol"!==typeof $a&&null!==$a&&void 0!==$a&&Qc.push(x(""+$a));F(Qc,Rc,Ea)}ta&&e.boundaryResources&&e.boundaryResources.styles.add(ta);g&&a.push("\x3c!-- --\x3e");Pc=void 0}return Pc;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Sc=Hb(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),Sc="string"===typeof c.charSet?Hb(e.charsetChunks,c,"meta"):"viewport"===c.name?Hb(e.preconnectChunks,c,"meta"):Hb(e.hoistableChunks,c,"meta");return Sc;case "listing":case "pre":a.push(J(b)); +var ab=null,bb=null,cb;for(cb in c)if(w.call(c,cb)){var xb=c[cb];if(null!=xb)switch(cb){case "children":ab=xb;break;case "dangerouslySetInnerHTML":bb=xb;break;default:E(a,cb,xb)}}a.push(">");if(null!=bb){if(null!=ab)throw Error(n(60));if("object"!==typeof bb||!("__html"in bb))throw Error(n(61));var ua=bb.__html;null!==ua&&void 0!==ua&&("string"===typeof ua&&0<ua.length&&"\n"===ua[0]?a.push("\n",ua):a.push(""+ua))}"string"===typeof ab&&"\n"===ab[0]&&a.push("\n");return ab;case "img":var L=c.src,C= +c.srcSet;if(!("lazy"===c.loading||!L&&!C||"string"!==typeof L&&null!=L||"string"!==typeof C&&null!=C)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof L||":"!==L[4]||"d"!==L[0]&&"D"!==L[0]||"a"!==L[1]&&"A"!==L[1]||"t"!==L[2]&&"T"!==L[2]||"a"!==L[3]&&"A"!==L[3])&&("string"!==typeof C||":"!==C[4]||"d"!==C[0]&&"D"!==C[0]||"a"!==C[1]&&"A"!==C[1]||"t"!==C[2]&&"T"!==C[2]||"a"!==C[3]&&"A"!==C[3])){var Tc="string"===typeof c.sizes?c.sizes:void 0,db=C?C+"\n"+(Tc||""):L,Zb=e.preloads.images, +va=Zb.get(db);if(va){if("high"===c.fetchPriority||10>e.highImagePreloads.size)Zb.delete(db),e.highImagePreloads.add(va)}else d.imageResources.hasOwnProperty(db)||(d.imageResources[db]=kb,va=[],I(va,{rel:"preload",as:"image",href:C?void 0:L,imageSrcSet:C,imageSizes:Tc,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(va):(e.bulkPreloads.add(va),Zb.set(db, va)))}return Hb(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return Hb(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Uc=Kb(e.headChunks,c,"head")}else Uc=Kb(a,c,"head");return Uc;case "html":if(0=== -f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[""];var Vc=Kb(e.htmlChunks,c,"html")}else Vc=Kb(a,c,"html");return Vc;default:if(-1!==b.indexOf("-")){a.push(M(b));var ac=null,Wc=null,ha;for(ha in c)if(v.call(c,ha)){var S=c[ha];if(null!=S&&"function"!==typeof S&&"object"!==typeof S&&!1!==S)switch(!0===S&&(S=""),"className"===ha&&(ha="class"),ha){case "children":ac=S;break;case "dangerouslySetInnerHTML":Wc=S;break;case "style":ob(a,S);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -default:xa(ha)&&"function"!==typeof S&&"symbol"!==typeof S&&a.push(" ",ha,'="',w(S),'"')}}a.push(">");H(a,Wc,ac);return ac}}return Kb(a,c,b)}function Ob(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0}function Pb(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error(q(395));a.push(b.boundaryPrefix);b=c.toString(16);a.push(b);return a.push('"></template>')} +f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[""];var Vc=Kb(e.htmlChunks,c,"html")}else Vc=Kb(a,c,"html");return Vc;default:if(-1!==b.indexOf("-")){a.push(J(b));var $b=null,Wc=null,Fa;for(Fa in c)if(w.call(c,Fa)){var S=c[Fa];if(null!=S){var Xc=Fa;switch(Fa){case "children":$b=S;break;case "dangerouslySetInnerHTML":Wc=S;break;case "style":ob(a,S);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;case "className":Xc="class";default:if(xa(Fa)&&"function"!==typeof S&& +"symbol"!==typeof S&&!1!==S){if(!0===S)S="";else if("object"===typeof S)continue;a.push(" ",Xc,'="',x(S),'"')}}}}a.push(">");F(a,Wc,$b);return $b}}return Kb(a,c,b)}function Ob(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0}function Pb(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error(n(395));a.push(b.boundaryPrefix);b=c.toString(16);a.push(b);return a.push('"></template>')} function Qb(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden id="'),a.push(b.segmentPrefix), -b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 8:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error(q(397));}} -function Rb(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error(q(397));}}var Sb=/[<\u2028\u2029]/g; -function Tb(a){return JSON.stringify(a).replace(Sb,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var Ub=/[&><\u2028\u2029]/g; -function bc(a){return JSON.stringify(a).replace(Ub,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var cc=!1,dc=!0; +b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 8:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error(n(397));}} +function Rb(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error(n(397));}}var Sb=/[<\u2028\u2029]/g; +function Tb(a){return JSON.stringify(a).replace(Sb,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var ac=/[&><\u2028\u2029]/g; +function bc(a){return JSON.stringify(a).replace(ac,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var cc=!1,dc=!0; function ec(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){this.push('<style media="not all" data-precedence="');this.push(a.precedence);for(this.push('" data-href="');d<c.length-1;d++)this.push(c[d]),this.push(" ");this.push(c[d]);this.push('">');for(d=0;d<b.length;d++)this.push(b[d]);dc=this.push("</style>");cc=!0;b.length=0;c.length=0}}function fc(a){return 2!==a.state?cc=!0:!1}function gc(a,b,c){cc=!1;dc=!0;b.styles.forEach(ec,a);b.stylesheets.forEach(fc);cc&&(c.stylesToHoist=!0);return dc} -function N(a){for(var b=0;b<a.length;b++)this.push(a[b]);a.length=0}var hc=[];function ic(a){L(hc,a.props);for(var b=0;b<hc.length;b++)this.push(hc[b]);hc.length=0;a.state=2} +function K(a){for(var b=0;b<a.length;b++)this.push(a[b]);a.length=0}var hc=[];function ic(a){I(hc,a.props);for(var b=0;b<hc.length;b++)this.push(hc[b]);hc.length=0;a.state=2} function jc(a){var b=0<a.sheets.size;a.sheets.forEach(ic,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){this.push('<style data-precedence="');this.push(a.precedence);a=0;if(d.length){for(this.push('" data-href="');a<d.length-1;a++)this.push(d[a]),this.push(" ");this.push(d[a])}this.push('">');for(a=0;a<c.length;a++)this.push(c[a]);this.push("</style>");c.length=0;d.length=0}} -function kc(a){if(0===a.state){a.state=1;var b=a.props;L(hc,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<hc.length;a++)this.push(hc[a]);hc.length=0}}function lc(a){a.sheets.forEach(kc,this);a.sheets.clear()} -function mc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=bc(""+d.props.href),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=bc(""+d.props.href);a.push(g);e=""+e;a.push(",");e=bc(e);a.push(e);for(var h in f)if(v.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(q(399,"link"));default:a:{e= +function kc(a){if(0===a.state){a.state=1;var b=a.props;I(hc,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<hc.length;a++)this.push(hc[a]);hc.length=0}}function lc(a){a.sheets.forEach(kc,this);a.sheets.clear()} +function mc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=bc(""+d.props.href),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=bc(""+d.props.href);a.push(g);e=""+e;a.push(",");e=bc(e);a.push(e);for(var h in f)if(w.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(n(399,"link"));default:a:{e= a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!xa(h))break a;g=""+g}e.push(",");k=bc(k);e.push(k);e.push(",");g=bc(g);e.push(g)}}a.push("]"); c=",[";d.state=3}});a.push("]")} -function nc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=w(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=w(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=w(JSON.stringify(e));a.push(e);for(var h in f)if(v.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(q(399,"link")); -default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!xa(h))break a;g=""+g}e.push(",");k=w(JSON.stringify(k));e.push(k); -e.push(",");g=w(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")}function La(a){var b=Q?Q:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;L(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}oc(b)}}} -function Ma(a,b){var c=Q?Q:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;L(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}oc(c)}}} -function Na(a,b,c){var d=Q?Q:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=kb;e=[];L(e,t({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];L(g,t({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?kb:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);L(g,t({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?kb:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=t({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}L(e,c);g[a]=kb}oc(d)}}} -function fb(a,b){var c=Q?Q:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?kb:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=kb}L(f,t({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);oc(c)}}} -function gb(a,b,c){var d=Q?Q:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:w(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:t({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&Gb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),oc(d))}}} -function hb(a,b){var c=Q?Q:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=t({src:a,async:!0},b),f&&(2===f.length&&Gb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),oc(c))}}} -function ib(a,b){var c=Q?Q:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=t({src:a,type:"module",async:!0},b),f&&(2===f.length&&Gb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),oc(c))}}}function Gb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function pc(a){this.styles.add(a)} +function nc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=x(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=x(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=x(JSON.stringify(e));a.push(e);for(var h in f)if(w.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(n(399,"link")); +default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!xa(h))break a;g=""+g}e.push(",");k=x(JSON.stringify(k));e.push(k); +e.push(",");g=x(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")}function La(a){var b=M?M:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;I(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}oc(b)}}} +function Ma(a,b){var c=M?M:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;I(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}oc(c)}}} +function eb(a,b,c){var d=M?M:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=kb;e=[];I(e,t({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];I(g,t({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?kb:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);I(g,t({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?kb:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=t({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}I(e,c);g[a]=kb}oc(d)}}} +function fb(a,b){var c=M?M:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?kb:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=kb}I(f,t({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);oc(c)}}} +function gb(a,b,c){var d=M?M:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:x(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:t({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&Gb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),oc(d))}}} +function hb(a,b){var c=M?M:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=t({src:a,async:!0},b),f&&(2===f.length&&Gb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),oc(c))}}} +function ib(a,b){var c=M?M:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=t({src:a,type:"module",async:!0},b),f&&(2===f.length&&Gb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),oc(c))}}}function Gb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function pc(a){this.styles.add(a)} function qc(a){this.stylesheets.add(a)} function rc(a,b){var c=a.idPrefix;a=c+"P:";var d=c+"S:";c+="B:";var e=new Set,f=new Set,g=new Set,h=new Map,k=new Set,l=new Set,p=new Set,r={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};return{placeholderPrefix:a,segmentPrefix:d,boundaryPrefix:c,startInlineScript:"<script>",htmlChunks:null,headChunks:null,externalRuntimeScript:null,bootstrapChunks:[],charsetChunks:[],preconnectChunks:[],importMapChunks:[],preloadChunks:[],hoistableChunks:[],preconnects:e,fontPreloads:f, -highImagePreloads:g,styles:h,bootstrapScripts:k,scripts:l,bulkPreloads:p,preloads:r,boundaryResources:null,stylesToHoist:!1,generateStaticMarkup:b}}function sc(a,b,c,d){if(c.generateStaticMarkup)return a.push(w(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(w(b)),a=!0);return a} -var tc=Symbol.for("react.element"),uc=Symbol.for("react.portal"),vc=Symbol.for("react.fragment"),wc=Symbol.for("react.strict_mode"),xc=Symbol.for("react.profiler"),yc=Symbol.for("react.provider"),zc=Symbol.for("react.context"),Ac=Symbol.for("react.server_context"),Bc=Symbol.for("react.forward_ref"),Cc=Symbol.for("react.suspense"),Xc=Symbol.for("react.suspense_list"),Yc=Symbol.for("react.memo"),Zc=Symbol.for("react.lazy"),$c=Symbol.for("react.scope"),ad=Symbol.for("react.debug_trace_mode"),bd=Symbol.for("react.offscreen"), -cd=Symbol.for("react.legacy_hidden"),dd=Symbol.for("react.cache"),ed=Symbol.for("react.default_value"),fd=Symbol.for("react.memo_cache_sentinel"),gd=Symbol.for("react.postpone"),hd=Symbol.iterator; -function id(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case vc:return"Fragment";case uc:return"Portal";case xc:return"Profiler";case wc:return"StrictMode";case Cc:return"Suspense";case Xc:return"SuspenseList";case dd:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case zc:return(a.displayName||"Context")+".Consumer";case yc:return(a._context.displayName||"Context")+".Provider";case Bc:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Yc:return b=a.displayName||null,null!==b?b:id(a.type)||"Memo";case Zc:b=a._payload;a=a._init;try{return id(a(b))}catch(c){break}case Ac:return(a.displayName||a._globalName)+".Provider"}return null}var jd={};function kd(a,b){a=a.contextTypes;if(!a)return jd;var c={},d;for(d in a)c[d]=b[d];return c}var ld=null; -function md(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(q(401));}else{if(null===c)throw Error(q(401));md(a,c)}b.context._currentValue2=b.value}}function nd(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&nd(a)}function od(a){var b=a.parent;null!==b&&od(b);a.context._currentValue2=a.value} -function pd(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error(q(402));a.depth===b.depth?md(a,b):pd(a,b)}function qd(a,b){var c=b.parent;if(null===c)throw Error(q(402));a.depth===c.depth?md(a,c):qd(a,c);b.context._currentValue2=b.value}function rd(a){var b=ld;b!==a&&(null===b?od(a):null===a?nd(b):b.depth===a.depth?md(b,a):b.depth>a.depth?pd(b,a):qd(b,a),ld=a)} -var sd={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function td(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=sd;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:t({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&sd.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=t({},f,h)):t(f,h))}a.state=f}else f.queue=null} -var ud={id:1,overflow:""};function vd(a,b,c){var d=a.id;a=a.overflow;var e=32-wd(d)-1;d&=~(1<<e);c+=1;var f=32-wd(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-wd(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var wd=Math.clz32?Math.clz32:xd,yd=Math.log,zd=Math.LN2;function xd(a){a>>>=0;return 0===a?32:31-(yd(a)/zd|0)|0}var Ad=Error(q(460));function Bd(){} -function Cd(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Bd,Bd),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Dd=b;throw Ad;}}var Dd=null; -function Ed(){if(null===Dd)throw Error(q(459));var a=Dd;Dd=null;return a}function Fd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Gd="function"===typeof Object.is?Object.is:Fd,T=null,Hd=null,Id=null,Jd=null,Kd=null,U=null,Ld=!1,Md=!1,Nd=0,Od=0,Pd=-1,Qd=0,Rd=null,Sd=null,Td=0;function Ud(){if(null===T)throw Error(q(321));return T}function Vd(){if(0<Td)throw Error(q(312));return{memoizedState:null,queue:null,next:null}} -function Wd(){null===U?null===Kd?(Ld=!1,Kd=U=Vd()):(Ld=!0,U=Kd):null===U.next?(Ld=!1,U=U.next=Vd()):(Ld=!0,U=U.next);return U}function Xd(a,b,c,d){for(;Md;)Md=!1,Od=Nd=0,Pd=-1,Qd=0,Td+=1,U=null,c=a(b,d);Yd();return c}function Zd(){var a=Rd;Rd=null;return a}function Yd(){Jd=Id=Hd=T=null;Md=!1;Kd=null;Td=0;U=Sd=null}function $d(a,b){return"function"===typeof b?b(a):b} -function ae(a,b,c){T=Ud();U=Wd();if(Ld){var d=U.queue;b=d.dispatch;if(null!==Sd&&(c=Sd.get(d),void 0!==c)){Sd.delete(d);d=U.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);U.memoizedState=d;return[d,b]}return[U.memoizedState,b]}a=a===$d?"function"===typeof b?b():b:void 0!==c?c(b):b;U.memoizedState=a;a=U.queue={last:null,dispatch:null};a=a.dispatch=be.bind(null,T,a);return[U.memoizedState,a]} -function ce(a,b){T=Ud();U=Wd();b=void 0===b?null:b;if(null!==U){var c=U.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Gd(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();U.memoizedState=[a,b];return a}function be(a,b,c){if(25<=Td)throw Error(q(301));if(a===T)if(Md=!0,a={action:c,next:null},null===Sd&&(Sd=new Map),c=Sd.get(b),void 0===c)Sd.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}} -function de(){throw Error(q(440));}function ee(){throw Error(q(394));}function fe(){throw Error(q(479));}function he(a){var b=Qd;Qd+=1;null===Rd&&(Rd=[]);return Cd(Rd,a,b)}function ie(){throw Error(q(393));}function je(){} -var le={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return he(a);if(a.$$typeof===zc||a.$$typeof===Ac)return a._currentValue2}throw Error(q(438,String(a)));},useContext:function(a){Ud();return a._currentValue2},useMemo:ce,useReducer:ae,useRef:function(a){T=Ud();U=Wd();var b=U.memoizedState;return null===b?(a={current:a},U.memoizedState=a):b},useState:function(a){return ae($d,a)},useInsertionEffect:je,useLayoutEffect:je, -useCallback:function(a,b){return ce(function(){return a},b)},useImperativeHandle:je,useEffect:je,useDebugValue:je,useDeferredValue:function(a){Ud();return a},useTransition:function(){Ud();return[!1,ee]},useId:function(){var a=Hd.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-wd(a)-1)).toString(32)+b;var c=ke;if(null===c)throw Error(q(404));b=Nd++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(q(407));return c()},useCacheRefresh:function(){return ie}, -useEffectEvent:function(){return de},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=fd;return b},useHostTransitionStatus:function(){Ud();return Ja},useOptimistic:function(a){Ud();return[a,fe]},useFormState:function(a,b,c){Ud();var d=Od++,e=Id;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Jd;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ja(JSON.stringify([g,null,d]),0),k===f&&(Pd=d,b=e[0]))}var l= -a.bind(null,b);a=function(r){l(r)};"function"===typeof l.$$FORM_ACTION&&(a.$$FORM_ACTION=function(r){r=l.$$FORM_ACTION(r);void 0!==c&&(c+="",r.action=c);var m=r.data;m&&(null===f&&(f=void 0!==c?"p"+c:"k"+ja(JSON.stringify([g,null,d]),0)),m.append("$ACTION_KEY",f));return r});return[b,a]}var p=a.bind(null,b);return[b,function(r){p(r)}]}},ke=null,me={getCacheSignal:function(){throw Error(q(248));},getCacheForType:function(){throw Error(q(248));}},ne=Ia.ReactCurrentDispatcher,oe=Ia.ReactCurrentCache; -function pe(a){console.error(a);return null}function qe(){} -function re(a,b,c,d,e,f,g,h,k,l,p,r){Ka.current=jb;var m=[],u=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?pe:f,onPostpone:void 0===p?qe:p,onAllReady:void 0===g? -qe:g,onShellReady:void 0===h?qe:h,onShellError:void 0===k?qe:k,onFatalError:void 0===l?qe:l,formState:void 0===r?null:r};c=se(b,0,null,d,!1,!1);c.parentFlushed=!0;a=te(b,null,a,-1,null,c,u,null,d,jd,null,ud);m.push(a);return b}var Q=null;function ue(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,ve(a))} -function we(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function te(a,b,c,d,e,f,g,h,k,l,p,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var m={replay:null,node:c,childIndex:d,ping:function(){return ue(a,m)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:r,thenableState:b};g.add(m);return m} -function xe(a,b,c,d,e,f,g,h,k,l,p,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var m={replay:c,node:d,childIndex:e,ping:function(){return ue(a,m)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:r,thenableState:b};g.add(m);return m}function se(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function W(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function ye(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function ze(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(q(108,id(e)||"Unknown",h));e=t({},c,d)}b.legacyContext=e;X(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,X(a,b,null,f,-1),b.keyPath=e} -function Ae(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var l=0;l<f;l++)l===g?k.push("\x3c!--F!--\x3e"):k.push("\x3c!--F--\x3e")}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=vd(c,1,0),Y(a,b,d,-1),b.treeContext=c):h?Y(a,b,d,-1):X(a,b,null,d,-1);b.keyPath=f}function Be(a,b){if(a&&a.defaultProps){b=t({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function Ce(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=kd(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue2:d);td(h,e,f,d);ze(a,b,c,h,e)}else{h=kd(e,b.legacyContext);T={};Hd=b;Id=a;Jd=c;Od=Nd=0;Pd=-1;Qd=0;Rd=d;d=e(f,h);d=Xd(e,f,d,h);g=0!==Nd;var k=Od,l=Pd;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(td(d,e,f,h),ze(a,b,c,d,e)):Ae(a,b,c,d,g,k,l)}else if("string"===typeof e)if(d= -b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=mb(h,e,f),b.keyPath=c,Y(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Nb(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=mb(h,e,f);b.keyPath=c;Y(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push("</",e,">")}d.lastPushedText=!1}else{switch(e){case cd:case ad:case wc:case xc:case vc:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case bd:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,X(a,b,null,f.children,-1),b.keyPath=e);return;case Xc:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case $c:throw Error(q(343));case Cc:a:if(null!== -b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Y(a,b,c,-1)}finally{b.keyPath=e}}else{l=b.keyPath;e=b.blockedBoundary;var p=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=we(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=se(a,p.chunks.length,g,b.formatContext,!1,!1);p.children.push(k);p.lastPushedText=!1;var m=se(a,0,null,b.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=m;a.renderState.boundaryResources=g.resources;b.keyPath=c;try{if(Y(a, -b,r,-1),a.renderState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,De(g,m),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(u){m.status=4,g.status=4,"object"===typeof u&&null!==u&&u.$$typeof===gd?(a.onPostpone(u.message),h="POSTPONE"):h=W(a,u),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=p,b.keyPath=l}h=[c[0],"Suspense Fallback",c[2]];l=a.trackedPostpones;null!==l&&(p= -[h[1],h[2],[],null],l.workingMap.set(h,p),5===g.status?l.workingMap.get(c)[4]=p:g.trackedFallbackNode=p);b=te(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Bc:e=e.render;T={};Hd=b;Id=a;Jd=c;Od=Nd=0;Pd=-1;Qd=0;Rd=d;d=e(f,g);f=Xd(e,f,d,g);Ae(a,b,c,f,0!==Nd,Od,Pd);return;case Yc:e=e.type;f=Be(e,f);Ce(a,b,c,d,e,f,g);return;case yc:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue2; -e._currentValue2=f;k=ld;ld=f={parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;X(a,b,null,h,-1);a=ld;if(null===a)throw Error(q(403));c=a.parentValue;a.context._currentValue2=c===ed?a.context._defaultValue:c;a=ld=a.parent;b.context=a;b.keyPath=d;return;case zc:f=f.children;f=f(e._currentValue2);e=b.keyPath;b.keyPath=c;X(a,b,null,f,-1);b.keyPath=e;return;case Zc:h=e._init;e=h(e._payload);f=Be(e,f);Ce(a,b,c,d,e,f,void 0);return}throw Error(q(130,null==e?e: -typeof e,""));}}function Ee(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=se(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Y(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(De(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function X(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case tc:var f=d.type,g=d.key,h=d.props,k=d.ref,l=id(f),p=null==g?-1===e?0:e:g;g=[b.keyPath,l,p];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var m=e[d];if(p===m[1]){if(null!==l&&l!==m[0])throw Error(q(489,l));if(4===m.length){l=m[2];m=m[3];b.replay={nodes:l,slots:m,pendingTasks:1};try{if("number"===typeof m){p=a;var u=b,I=u.replay,A=u.blockedBoundary,B=se(p,0,null,u.formatContext, -!1,!1);B.id=m;B.parentFlushed=!0;try{u.replay=null,u.blockedSegment=B,Ce(p,u,g,c,f,h,k),B.status=1,null===A?p.completedRootSegment=B:(De(A,B),A.parentFlushed&&p.partialBoundaries.push(A))}finally{u.replay=I,u.blockedSegment=null}}else Ce(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(q(488));}catch(z){if("object"===typeof z&&null!==z&&(z===Ad||"function"===typeof z.then))throw z;Fe(a,b.blockedBoundary,z,l,m)}finally{b.replay.pendingTasks--,b.replay=r}}else{if(f!== -Cc)throw Error(q(490));b:{f=void 0;B=m[5];c=m[2];k=m[3];I=null===m[4]?[]:m[4][2];m=null===m[4]?null:m[4][3];l=b.keyPath;p=b.replay;A=b.blockedBoundary;u=h.children;h=h.fallback;r=new Set;var n=we(a,r);n.parentFlushed=!0;n.rootSegmentID=B;b.blockedBoundary=n;b.replay={nodes:c,slots:k,pendingTasks:1};a.renderState.boundaryResources=n.resources;try{"number"===typeof k?Ee(a,b,k,u,-1):Y(a,b,u,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(q(488));b.replay.pendingTasks--;if(0===n.pendingTasks&& -0===n.status){n.status=1;a.completedBoundaries.push(n);break b}}catch(z){n.status=4,"object"===typeof z&&null!==z&&z.$$typeof===gd?(a.onPostpone(z.message),f="POSTPONE"):f=W(a,z),n.errorDigest=f,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(n)}finally{a.renderState.boundaryResources=A?A.resources:null,b.blockedBoundary=A,b.replay=p,b.keyPath=l}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof m?(f=se(a,0,null,b.formatContext,!1,!1),f.id=m,f.parentFlushed=!0,h=te(a,null,h,-1,A,f,r,g,b.formatContext, -b.legacyContext,b.context,b.treeContext)):h=xe(a,null,{nodes:I,slots:m,pendingTasks:0},h,-1,A,r,g,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else Ce(a,b,g,c,f,h,k);return;case uc:throw Error(q(257));case Zc:h=d._init;d=h(d._payload);X(a,b,null,d,e);return}if(Ha(d)){Ge(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=hd&&d[hd]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value), -d=h.next();while(!d.done);Ge(a,b,g,e)}return}if("function"===typeof d.then)return X(a,b,null,he(d),e);if(d.$$typeof===zc||d.$$typeof===Ac)return X(a,b,null,d._currentValue2,e);e=Object.prototype.toString.call(d);throw Error(q(31,"[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e));}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=sc(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=sc(e.chunks, -""+d,a.renderState,e.lastPushedText)))} -function Ge(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{if(Ge(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(q(488));}catch(p){if("object"===typeof p&&null!==p&&(p===Ad||"function"===typeof p.then))throw p;Fe(a,b.blockedBoundary,p,d,k)}finally{b.replay.pendingTasks--,b.replay=f}g.splice(h,1);break}}b.keyPath= -e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=vd(f,g,k);var l=h[k];"number"===typeof l?(Ee(a,b,l,d,k),delete h[k]):Y(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=vd(f,g,h),Y(a,b,k,h);b.treeContext=f;b.keyPath=e} -function He(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error(q(486));var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Ie(d,g[0],b);return}var l=b.workingMap.get(g);void 0===l?(l=[g[1],g[2],k,null,h,f.rootSegmentID],b.workingMap.set(g,l),Ie(l,g[0],b)):(g=l,g[4]=h, -g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Ie(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error(q(491));}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Ie(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error(q(491)); +highImagePreloads:g,styles:h,bootstrapScripts:k,scripts:l,bulkPreloads:p,preloads:r,boundaryResources:null,stylesToHoist:!1,generateStaticMarkup:b}}function sc(a,b,c,d){if(c.generateStaticMarkup)return a.push(x(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(x(b)),a=!0);return a} +var tc=Symbol.for("react.element"),uc=Symbol.for("react.portal"),vc=Symbol.for("react.fragment"),wc=Symbol.for("react.strict_mode"),xc=Symbol.for("react.profiler"),yc=Symbol.for("react.provider"),zc=Symbol.for("react.context"),Ac=Symbol.for("react.server_context"),Bc=Symbol.for("react.forward_ref"),Cc=Symbol.for("react.suspense"),Yc=Symbol.for("react.suspense_list"),Zc=Symbol.for("react.memo"),$c=Symbol.for("react.lazy"),ad=Symbol.for("react.scope"),bd=Symbol.for("react.debug_trace_mode"),cd=Symbol.for("react.offscreen"), +dd=Symbol.for("react.legacy_hidden"),ed=Symbol.for("react.cache"),fd=Symbol.for("react.default_value"),gd=Symbol.for("react.memo_cache_sentinel"),hd=Symbol.for("react.postpone"),id=Symbol.iterator; +function jd(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case vc:return"Fragment";case uc:return"Portal";case xc:return"Profiler";case wc:return"StrictMode";case Cc:return"Suspense";case Yc:return"SuspenseList";case ed:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case zc:return(a.displayName||"Context")+".Consumer";case yc:return(a._context.displayName||"Context")+".Provider";case Bc:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Zc:return b=a.displayName||null,null!==b?b:jd(a.type)||"Memo";case $c:b=a._payload;a=a._init;try{return jd(a(b))}catch(c){break}case Ac:return(a.displayName||a._globalName)+".Provider"}return null}var kd={};function ld(a,b){a=a.contextTypes;if(!a)return kd;var c={},d;for(d in a)c[d]=b[d];return c}var md=null; +function nd(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(n(401));}else{if(null===c)throw Error(n(401));nd(a,c)}b.context._currentValue2=b.value}}function od(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&od(a)}function pd(a){var b=a.parent;null!==b&&pd(b);a.context._currentValue2=a.value} +function qd(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error(n(402));a.depth===b.depth?nd(a,b):qd(a,b)}function rd(a,b){var c=b.parent;if(null===c)throw Error(n(402));a.depth===c.depth?nd(a,c):rd(a,c);b.context._currentValue2=b.value}function sd(a){var b=md;b!==a&&(null===b?pd(a):null===a?od(b):b.depth===a.depth?nd(b,a):b.depth>a.depth?qd(b,a):rd(b,a),md=a)} +var td={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function ud(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=td;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:t({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&td.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=t({},f,h)):t(f,h))}a.state=f}else f.queue=null} +var vd={id:1,overflow:""};function wd(a,b,c){var d=a.id;a=a.overflow;var e=32-xd(d)-1;d&=~(1<<e);c+=1;var f=32-xd(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-xd(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var xd=Math.clz32?Math.clz32:yd,zd=Math.log,Ad=Math.LN2;function yd(a){a>>>=0;return 0===a?32:31-(zd(a)/Ad|0)|0}var Bd=Error(n(460));function Cd(){} +function Dd(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Cd,Cd),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ed=b;throw Bd;}}var Ed=null; +function Fd(){if(null===Ed)throw Error(n(459));var a=Ed;Ed=null;return a}function Gd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Hd="function"===typeof Object.is?Object.is:Gd,T=null,Id=null,Jd=null,Kd=null,Ld=null,U=null,Md=!1,Nd=!1,Od=0,Pd=0,Qd=-1,Rd=0,Sd=null,Td=null,Ud=0;function Vd(){if(null===T)throw Error(n(321));return T}function Wd(){if(0<Ud)throw Error(n(312));return{memoizedState:null,queue:null,next:null}} +function Xd(){null===U?null===Ld?(Md=!1,Ld=U=Wd()):(Md=!0,U=Ld):null===U.next?(Md=!1,U=U.next=Wd()):(Md=!0,U=U.next);return U}function Yd(a,b,c,d){for(;Nd;)Nd=!1,Pd=Od=0,Qd=-1,Rd=0,Ud+=1,U=null,c=a(b,d);Zd();return c}function $d(){var a=Sd;Sd=null;return a}function Zd(){Kd=Jd=Id=T=null;Nd=!1;Ld=null;Ud=0;U=Td=null}function ae(a,b){return"function"===typeof b?b(a):b} +function be(a,b,c){T=Vd();U=Xd();if(Md){var d=U.queue;b=d.dispatch;if(null!==Td&&(c=Td.get(d),void 0!==c)){Td.delete(d);d=U.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);U.memoizedState=d;return[d,b]}return[U.memoizedState,b]}a=a===ae?"function"===typeof b?b():b:void 0!==c?c(b):b;U.memoizedState=a;a=U.queue={last:null,dispatch:null};a=a.dispatch=ce.bind(null,T,a);return[U.memoizedState,a]} +function de(a,b){T=Vd();U=Xd();b=void 0===b?null:b;if(null!==U){var c=U.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Hd(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();U.memoizedState=[a,b];return a}function ce(a,b,c){if(25<=Ud)throw Error(n(301));if(a===T)if(Nd=!0,a={action:c,next:null},null===Td&&(Td=new Map),c=Td.get(b),void 0===c)Td.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}} +function ee(){throw Error(n(440));}function fe(){throw Error(n(394));}function ge(){throw Error(n(479));}function ie(a){var b=Rd;Rd+=1;null===Sd&&(Sd=[]);return Dd(Sd,a,b)}function je(){throw Error(n(393));}function ke(){} +var me={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return ie(a);if(a.$$typeof===zc||a.$$typeof===Ac)return a._currentValue2}throw Error(n(438,String(a)));},useContext:function(a){Vd();return a._currentValue2},useMemo:de,useReducer:be,useRef:function(a){T=Vd();U=Xd();var b=U.memoizedState;return null===b?(a={current:a},U.memoizedState=a):b},useState:function(a){return be(ae,a)},useInsertionEffect:ke,useLayoutEffect:ke, +useCallback:function(a,b){return de(function(){return a},b)},useImperativeHandle:ke,useEffect:ke,useDebugValue:ke,useDeferredValue:function(a,b){Vd();return void 0!==b?b:a},useTransition:function(){Vd();return[!1,fe]},useId:function(){var a=Id.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-xd(a)-1)).toString(32)+b;var c=le;if(null===c)throw Error(n(404));b=Od++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(n(407)); +return c()},useCacheRefresh:function(){return je},useEffectEvent:function(){return ee},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=gd;return b},useHostTransitionStatus:function(){Vd();return Ja},useOptimistic:function(a){Vd();return[a,ge]},useFormState:function(a,b,c){Vd();var d=Pd++,e=Jd;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Kd;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ka(JSON.stringify([g, +null,d]),0),k===f&&(Qd=d,b=e[0]))}var l=a.bind(null,b);a=function(r){l(r)};"function"===typeof l.$$FORM_ACTION&&(a.$$FORM_ACTION=function(r){r=l.$$FORM_ACTION(r);void 0!==c&&(c+="",r.action=c);var m=r.data;m&&(null===f&&(f=void 0!==c?"p"+c:"k"+ka(JSON.stringify([g,null,d]),0)),m.append("$ACTION_KEY",f));return r});return[b,a]}var p=a.bind(null,b);return[b,function(r){p(r)}]}},le=null,ne={getCacheSignal:function(){throw Error(n(248));},getCacheForType:function(){throw Error(n(248));}},oe=Ia.ReactCurrentDispatcher, +pe=Ia.ReactCurrentCache;function qe(a){console.error(a);return null}function re(){} +function se(a,b,c,d,e,f,g,h,k,l,p,r){Ka.current=jb;var m=[],z=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:z,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?qe:f,onPostpone:void 0===p?re:p,onAllReady:void 0===g? +re:g,onShellReady:void 0===h?re:h,onShellError:void 0===k?re:k,onFatalError:void 0===l?re:l,formState:void 0===r?null:r};c=te(b,0,null,d,!1,!1);c.parentFlushed=!0;a=ue(b,null,a,-1,null,c,z,null,d,kd,null,vd);m.push(a);return b}var M=null;function ve(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,we(a))} +function xe(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function ue(a,b,c,d,e,f,g,h,k,l,p,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var m={replay:null,node:c,childIndex:d,ping:function(){return ve(a,m)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:r,thenableState:b};g.add(m);return m} +function ye(a,b,c,d,e,f,g,h,k,l,p,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var m={replay:c,node:d,childIndex:e,ping:function(){return ve(a,m)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:r,thenableState:b};g.add(m);return m}function te(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function X(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function ze(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function Ae(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(n(108,jd(e)||"Unknown",h));e=t({},c,d)}b.legacyContext=e;Y(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Y(a,b,null,f,-1),b.keyPath=e} +function Be(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var l=0;l<f;l++)l===g?k.push("\x3c!--F!--\x3e"):k.push("\x3c!--F--\x3e")}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=wd(c,1,0),Z(a,b,d,-1),b.treeContext=c):h?Z(a,b,d,-1):Y(a,b,null,d,-1);b.keyPath=f}function Ce(a,b){if(a&&a.defaultProps){b=t({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function De(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=ld(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue2:d);ud(h,e,f,d);Ae(a,b,c,h,e)}else{h=ld(e,b.legacyContext);T={};Id=b;Jd=a;Kd=c;Pd=Od=0;Qd=-1;Rd=0;Sd=d;d=e(f,h);d=Yd(e,f,d,h);g=0!==Od;var k=Pd,l=Qd;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(ud(d,e,f,h),Ae(a,b,c,d,e)):Be(a,b,c,d,g,k,l)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=mb(h,e,f),b.keyPath=c,Z(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Nb(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=mb(h,e,f);b.keyPath=c;Z(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push("</",e,">")}d.lastPushedText=!1}else{switch(e){case dd:case bd:case wc:case xc:case vc:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case cd:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Y(a,b,null,f.children,-1),b.keyPath=e);return;case Yc:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case ad:throw Error(n(343));case Cc:a:if(null!== +b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Z(a,b,c,-1)}finally{b.keyPath=e}}else{l=b.keyPath;e=b.blockedBoundary;var p=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=xe(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=te(a,p.chunks.length,g,b.formatContext,!1,!1);p.children.push(k);p.lastPushedText=!1;var m=te(a,0,null,b.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=m;a.renderState.boundaryResources=g.resources;b.keyPath=c;try{if(Z(a, +b,r,-1),a.renderState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,Ee(g,m),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(z){m.status=4,g.status=4,"object"===typeof z&&null!==z&&z.$$typeof===hd?(a.onPostpone(z.message),h="POSTPONE"):h=X(a,z),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=p,b.keyPath=l}h=[c[0],"Suspense Fallback",c[2]];l=a.trackedPostpones;null!==l&&(p= +[h[1],h[2],[],null],l.workingMap.set(h,p),5===g.status?l.workingMap.get(c)[4]=p:g.trackedFallbackNode=p);b=ue(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Bc:e=e.render;T={};Id=b;Jd=a;Kd=c;Pd=Od=0;Qd=-1;Rd=0;Sd=d;d=e(f,g);f=Yd(e,f,d,g);Be(a,b,c,f,0!==Od,Pd,Qd);return;case Zc:e=e.type;f=Ce(e,f);De(a,b,c,d,e,f,g);return;case yc:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue2; +e._currentValue2=f;k=md;md=f={parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;Y(a,b,null,h,-1);a=md;if(null===a)throw Error(n(403));c=a.parentValue;a.context._currentValue2=c===fd?a.context._defaultValue:c;a=md=a.parent;b.context=a;b.keyPath=d;return;case zc:f=f.children;f=f(e._currentValue2);e=b.keyPath;b.keyPath=c;Y(a,b,null,f,-1);b.keyPath=e;return;case $c:h=e._init;e=h(e._payload);f=Ce(e,f);De(a,b,c,d,e,f,void 0);return}throw Error(n(130,null==e?e: +typeof e,""));}}function Fe(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=te(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Z(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Ee(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function Y(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Fe(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case tc:var f=d.type,g=d.key,h=d.props,k=d.ref,l=jd(f),p=null==g?-1===e?0:e:g;g=[b.keyPath,l,p];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var m=e[d];if(p===m[1]){if(4===m.length){if(null!==l&&l!==m[0])throw Error(n(490,m[0],l));l=m[2];m=m[3];p=b.node;b.replay={nodes:l,slots:m,pendingTasks:1}; +try{De(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(n(488));b.replay.pendingTasks--}catch(u){if("object"===typeof u&&null!==u&&(u===Bd||"function"===typeof u.then))throw b.node===p&&(b.replay=r),u;b.replay.pendingTasks--;Ge(a,b.blockedBoundary,u,l,m)}b.replay=r}else{if(f!==Cc)throw Error(n(490,"Suspense",jd(f)||"Unknown"));b:{c=void 0;f=m[5];k=m[2];r=m[3];l=null===m[4]?[]:m[4][2];m=null===m[4]?null:m[4][3];p=b.keyPath;var z=b.replay,B=b.blockedBoundary,R=h.children; +h=h.fallback;var N=new Set,q=xe(a,N);q.parentFlushed=!0;q.rootSegmentID=f;b.blockedBoundary=q;b.replay={nodes:k,slots:r,pendingTasks:1};a.renderState.boundaryResources=q.resources;try{Z(a,b,R,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(n(488));b.replay.pendingTasks--;if(0===q.pendingTasks&&0===q.status){q.status=1;a.completedBoundaries.push(q);break b}}catch(u){q.status=4,"object"===typeof u&&null!==u&&u.$$typeof===hd?(a.onPostpone(u.message),c="POSTPONE"):c=X(a,u),q.errorDigest= +c,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(q)}finally{a.renderState.boundaryResources=B?B.resources:null,b.blockedBoundary=B,b.replay=z,b.keyPath=p}h=ye(a,null,{nodes:l,slots:m,pendingTasks:0},h,-1,B,N,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else De(a,b,g,c,f,h,k);return;case uc:throw Error(n(257));case $c:h=d._init;d=h(d._payload);Y(a,b,null,d,e);return}if(Ha(d)){He(a,b,d,e);return}null=== +d||"object"!==typeof d?h=null:(h=id&&d[id]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);He(a,b,g,e)}return}if("function"===typeof d.then)return Y(a,b,null,ie(d),e);if(d.$$typeof===zc||d.$$typeof===Ac)return Y(a,b,null,d._currentValue2,e);e=Object.prototype.toString.call(d);throw Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e));}"string"===typeof d?(e=b.blockedSegment, +null!==e&&(e.lastPushedText=sc(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=sc(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function He(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{He(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(n(488));b.replay.pendingTasks--}catch(p){if("object"===typeof p&&null!==p&&(p===Bd||"function"===typeof p.then))throw p;b.replay.pendingTasks--;Ge(a,b.blockedBoundary,p,d,k)}b.replay=f;g.splice(h, +1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=wd(f,g,k);var l=h[k];"number"===typeof l?(Fe(a,b,l,d,k),delete h[k]):Z(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=wd(f,g,h),Z(a,b,k,h);b.treeContext=f;b.keyPath=e} +function Ie(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error(n(486));var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Je(d,g[0],b);return}var l=b.workingMap.get(g);void 0===l?(l=[g[1],g[2],k,null,h,f.rootSegmentID],b.workingMap.set(g,l),Je(l,g[0],b)):(g=l,g[4]=h, +g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Je(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error(n(491));}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Je(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error(n(491)); a[c.childIndex]=d.id}} -function Y(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,l=b.blockedSegment;if(null===l)try{return X(a,b,null,c,d)}catch(m){if(Yd(),d=m===Ad?Ed():m,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=Zd();a=xe(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;rd(g);return}}else{var p= -l.children.length,r=l.chunks.length;try{return X(a,b,null,c,d)}catch(m){if(Yd(),l.children.length=p,l.chunks.length=r,d=m===Ad?Ed():m,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=Zd();l=b.blockedSegment;p=se(a,l.chunks.length,null,b.formatContext,l.lastPushedText,!0);l.children.push(p);l.lastPushedText=!1;a=te(a,d,b.node,b.childIndex,b.blockedBoundary,p,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=k;rd(g);return}if(null!==a.trackedPostpones&&d.$$typeof===gd&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;l=se(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(l);d.lastPushedText=!1;He(a,c,b,l);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;rd(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;rd(g);throw d;} -function Fe(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===gd){a.onPostpone(c.message);var f="POSTPONE"}else f=W(a,c);Je(a,b,d,e,c,f)}function Ke(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Le(this,b,a))} -function Je(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Je(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,l=f,p=we(k,new Set);p.parentFlushed=!0;p.rootSegmentID=h;p.status=4;p.errorDigest=l;p.parentFlushed&&k.clientRenderedBoundaries.push(p)}}c.length=0;if(null!==d){if(null===b)throw Error(q(487));4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} -function Me(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(W(b,c),ye(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=W(b,c),Je(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=W(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Me(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function De(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&De(a,c)}else a.completedSegments.push(b)} -function Le(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(q(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=qe,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&De(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Ke,a),b.fallbackAbortableTasks.clear())):null!== -c&&c.parentFlushed&&1===c.status&&(De(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function ve(a){if(2!==a.status){var b=ld,c=ne.current;ne.current=le;var d=oe.current;oe.current=me;var e=Q;Q=a;var f=ke;ke=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],l=a,p=k.blockedBoundary;l.renderState.boundaryResources=p?p.resources:null;var r=k.blockedSegment;if(null===r){var m=l;if(0!==k.replay.pendingTasks){rd(k.context);try{var u=k.thenableState;k.thenableState=null;X(m,k,u,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error(q(488)); -k.replay.pendingTasks--;k.abortSet.delete(k);Le(m,k.blockedBoundary,null)}catch(O){Yd();var I=O===Ad?Ed():O;if("object"===typeof I&&null!==I&&"function"===typeof I.then){var A=k.ping;I.then(A,A);k.thenableState=Zd()}else if(k.replay.pendingTasks--,k.abortSet.delete(k),Fe(m,k.blockedBoundary,I,k.replay.nodes,k.replay.slots),m.allPendingTasks--,0===m.allPendingTasks){var B=m.onAllReady;B()}}finally{m.renderState.boundaryResources=null}}}else a:{m=void 0;var n=r;if(0===n.status){rd(k.context);var z= -n.children.length,Z=n.chunks.length;try{var J=k.thenableState;k.thenableState=null;X(l,k,J,k.node,k.childIndex);l.renderState.generateStaticMarkup||n.lastPushedText&&n.textEmbedded&&n.chunks.push("\x3c!-- --\x3e");k.abortSet.delete(k);n.status=1;Le(l,k.blockedBoundary,n)}catch(O){Yd();n.children.length=z;n.chunks.length=Z;var x=O===Ad?Ed():O;if("object"===typeof x&&null!==x){if("function"===typeof x.then){var D=k.ping;x.then(D,D);k.thenableState=Zd();break a}if(null!==l.trackedPostpones&&x.$$typeof=== -gd&&null!==k.blockedBoundary){var C=l.trackedPostpones;k.abortSet.delete(k);l.onPostpone(x.message);He(l,C,k,n);Le(l,k.blockedBoundary,n);break a}}k.abortSet.delete(k);n.status=4;var K=k.blockedBoundary;"object"===typeof x&&null!==x&&x.$$typeof===gd?(l.onPostpone(x.message),m="POSTPONE"):m=W(l,x);null===K?ye(l,x):(K.pendingTasks--,4!==K.status&&(K.status=4,K.errorDigest=m,K.parentFlushed&&l.clientRenderedBoundaries.push(K)));l.allPendingTasks--;if(0===l.allPendingTasks){var Ca=l.onAllReady;Ca()}}finally{l.renderState.boundaryResources= -null}}}}g.splice(0,h);null!==a.destination&&Ne(a,a.destination)}catch(O){W(a,O),ye(a,O)}finally{ke=f,ne.current=c,oe.current=d,c===le&&rd(b),Q=e}}} -function Oe(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=Pe(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error(q(390)); +function Z(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,l=b.blockedSegment;if(null===l)try{return Y(a,b,null,c,d)}catch(m){if(Zd(),d=m===Bd?Fd():m,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=$d();a=ye(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;sd(g);return}}else{var p= +l.children.length,r=l.chunks.length;try{return Y(a,b,null,c,d)}catch(m){if(Zd(),l.children.length=p,l.chunks.length=r,d=m===Bd?Fd():m,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=$d();l=b.blockedSegment;p=te(a,l.chunks.length,null,b.formatContext,l.lastPushedText,!0);l.children.push(p);l.lastPushedText=!1;a=ue(a,d,b.node,b.childIndex,b.blockedBoundary,p,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=k;sd(g);return}if(null!==a.trackedPostpones&&d.$$typeof===hd&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;l=te(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(l);d.lastPushedText=!1;Ie(a,c,b,l);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;sd(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;sd(g);throw d;} +function Ge(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===hd){a.onPostpone(c.message);var f="POSTPONE"}else f=X(a,c);Ke(a,b,d,e,c,f)}function Le(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Me(this,b,a))} +function Ke(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Ke(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,l=f,p=xe(k,new Set);p.parentFlushed=!0;p.rootSegmentID=h;p.status=4;p.errorDigest=l;p.parentFlushed&&k.clientRenderedBoundaries.push(p)}}c.length=0;if(null!==d){if(null===b)throw Error(n(487));4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} +function Ne(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){X(b,c);ze(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=X(b,c),Ke(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=re,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=X(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Ne(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Ee(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Ee(a,c)}else a.completedSegments.push(b)} +function Me(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(n(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=re,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Ee(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Le,a),b.fallbackAbortableTasks.clear())):null!== +c&&c.parentFlushed&&1===c.status&&(Ee(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function we(a){if(2!==a.status){var b=md,c=oe.current;oe.current=me;var d=pe.current;pe.current=ne;var e=M;M=a;var f=le;le=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],l=a,p=k.blockedBoundary;l.renderState.boundaryResources=p?p.resources:null;var r=k.blockedSegment;if(null===r){var m=l;if(0!==k.replay.pendingTasks){sd(k.context);try{var z=k.thenableState;k.thenableState=null;Y(m,k,z,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error(n(488)); +k.replay.pendingTasks--;k.abortSet.delete(k);Me(m,k.blockedBoundary,null)}catch(H){Zd();var B=H===Bd?Fd():H;if("object"===typeof B&&null!==B&&"function"===typeof B.then){var R=k.ping;B.then(R,R);k.thenableState=$d()}else{k.replay.pendingTasks--;k.abortSet.delete(k);Ge(m,k.blockedBoundary,B,k.replay.nodes,k.replay.slots);m.pendingRootTasks--;if(0===m.pendingRootTasks){m.onShellError=re;var N=m.onShellReady;N()}m.allPendingTasks--;if(0===m.allPendingTasks){var q=m.onAllReady;q()}}}finally{m.renderState.boundaryResources= +null}}}else a:{m=void 0;var u=r;if(0===u.status){sd(k.context);var aa=u.children.length,G=u.chunks.length;try{var O=k.thenableState;k.thenableState=null;Y(l,k,O,k.node,k.childIndex);l.renderState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("\x3c!-- --\x3e");k.abortSet.delete(k);u.status=1;Me(l,k.blockedBoundary,u)}catch(H){Zd();u.children.length=aa;u.chunks.length=G;var v=H===Bd?Fd():H;if("object"===typeof v&&null!==v){if("function"===typeof v.then){var A=k.ping;v.then(A, +A);k.thenableState=$d();break a}if(null!==l.trackedPostpones&&v.$$typeof===hd&&null!==k.blockedBoundary){var V=l.trackedPostpones;k.abortSet.delete(k);l.onPostpone(v.message);Ie(l,V,k,u);Me(l,k.blockedBoundary,u);break a}}k.abortSet.delete(k);u.status=4;var Q=k.blockedBoundary;"object"===typeof v&&null!==v&&v.$$typeof===hd?(l.onPostpone(v.message),m="POSTPONE"):m=X(l,v);null===Q?ze(l,v):(Q.pendingTasks--,4!==Q.status&&(Q.status=4,Q.errorDigest=m,Q.parentFlushed&&l.clientRenderedBoundaries.push(Q))); +l.allPendingTasks--;if(0===l.allPendingTasks){var ea=l.onAllReady;ea()}}finally{l.renderState.boundaryResources=null}}}}g.splice(0,h);null!==a.destination&&Oe(a,a.destination)}catch(H){X(a,H),ze(a,H)}finally{le=f,oe.current=c,pe.current=d,c===me&&sd(b),M=e}}} +function Pe(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=Qe(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error(n(390)); }} -function Pe(a,b,c){var d=c.boundary;if(null===d)return Oe(a,b,c);d.parentFlushed=!0;if(4===d.status)return a.renderState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=w(d),b.push(d),b.push('"')),b.push("></template>")),Oe(a,b,c),a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(1!==d.status)return 0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Pb(b,a.renderState, -d.rootSegmentID),Oe(a,b,c),b.push("\x3c!--/$--\x3e");if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Pb(b,a.renderState,d.rootSegmentID),Oe(a,b,c),b.push("\x3c!--/$--\x3e");c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(pc,e),c.stylesheets.forEach(qc,e));a.renderState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error(q(391));Pe(a,b,c[0]);a=a.renderState.generateStaticMarkup? -!0:b.push("\x3c!--/$--\x3e");return a}function Qe(a,b,c){Qb(b,a.renderState,c.parentFormatContext,c.id);Pe(a,b,c);return Rb(b,c.parentFormatContext)} -function Re(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Se(a,b,c,d[e]);d.length=0;gc(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(b.push(a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): +function Qe(a,b,c){var d=c.boundary;if(null===d)return Pe(a,b,c);d.parentFlushed=!0;if(4===d.status)return a.renderState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=x(d),b.push(d),b.push('"')),b.push("></template>")),Pe(a,b,c),a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(1!==d.status)return 0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Pb(b,a.renderState, +d.rootSegmentID),Pe(a,b,c),b.push("\x3c!--/$--\x3e");if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Pb(b,a.renderState,d.rootSegmentID),Pe(a,b,c),b.push("\x3c!--/$--\x3e");c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(pc,e),c.stylesheets.forEach(qc,e));a.renderState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error(n(391));Qe(a,b,c[0]);a=a.renderState.generateStaticMarkup? +!0:b.push("\x3c!--/$--\x3e");return a}function Re(a,b,c){Qb(b,a.renderState,c.parentFormatContext,c.id);Qe(a,b,c);return Rb(b,c.parentFormatContext)} +function Se(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Te(a,b,c,d[e]);d.length=0;gc(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(b.push(a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): 0===(d.instructions&8)?(d.instructions|=8,b.push('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): b.push('$RR("'):0===(d.instructions&2)?(d.instructions|=2,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("')): b.push('$RC("')):f?b.push('<template data-rri="" data-bid="'):b.push('<template data-rci="" data-bid="');d=e.toString(16);b.push(a.boundaryPrefix);b.push(d);g?b.push('","'):b.push('" data-sid="');b.push(a.segmentPrefix);b.push(d);f?g?(b.push('",'),mc(b,c)):(b.push('" data-sty="'),nc(b,c)):g&&b.push('"');d=g?b.push(")\x3c/script>"):b.push('"></template>');return Ob(b,a)&&d} -function Se(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error(q(392));return Qe(a,b,d)}if(e===c.rootSegmentID)return Qe(a,b,d);Qe(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(b.push(a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')): +function Te(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error(n(392));return Re(a,b,d)}if(e===c.rootSegmentID)return Re(a,b,d);Re(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(b.push(a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')): b.push('$RS("')):b.push('<template data-rsi="" data-sid="');b.push(a.segmentPrefix);e=e.toString(16);b.push(e);d?b.push('","'):b.push('" data-pid="');b.push(a.placeholderPrefix);b.push(e);b=d?b.push('")\x3c/script>'):b.push('"></template>');return b} -function Ne(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var l=e.htmlChunks,p=e.headChunks;f=0;if(l){for(f=0;f<l.length;f++)b.push(l[f]);if(p)for(f=0;f<p.length;f++)b.push(p[f]);else{var r=M("head");b.push(r);b.push(">")}}else if(p)for(f= -0;f<p.length;f++)b.push(p[f]);var m=e.charsetChunks;for(f=0;f<m.length;f++)b.push(m[f]);m.length=0;e.preconnects.forEach(N,b);e.preconnects.clear();var u=e.preconnectChunks;for(f=0;f<u.length;f++)b.push(u[f]);u.length=0;e.fontPreloads.forEach(N,b);e.fontPreloads.clear();e.highImagePreloads.forEach(N,b);e.highImagePreloads.clear();e.styles.forEach(jc,b);var I=e.importMapChunks;for(f=0;f<I.length;f++)b.push(I[f]);I.length=0;e.bootstrapScripts.forEach(N,b);e.scripts.forEach(N,b);e.scripts.clear();e.bulkPreloads.forEach(N, -b);e.bulkPreloads.clear();var A=e.preloadChunks;for(f=0;f<A.length;f++)b.push(A[f]);A.length=0;var B=e.hoistableChunks;for(f=0;f<B.length;f++)b.push(B[f]);B.length=0;l&&null===p&&(b.push("</"),b.push("head"),b.push(">"));Pe(a,b,d);a.completedRootSegment=null;Ob(b,a.renderState)}else return;var n=a.renderState;d=0;n.preconnects.forEach(N,b);n.preconnects.clear();var z=n.preconnectChunks;for(d=0;d<z.length;d++)b.push(z[d]);z.length=0;n.fontPreloads.forEach(N,b);n.fontPreloads.clear();n.highImagePreloads.forEach(N, -b);n.highImagePreloads.clear();n.styles.forEach(lc,b);n.scripts.forEach(N,b);n.scripts.clear();n.bulkPreloads.forEach(N,b);n.bulkPreloads.clear();var Z=n.preloadChunks;for(d=0;d<Z.length;d++)b.push(Z[d]);Z.length=0;var J=n.hoistableChunks;for(d=0;d<J.length;d++)b.push(J[d]);J.length=0;var x=a.clientRenderedBoundaries;for(c=0;c<x.length;c++){var D=x[c];n=b;var C=a.resumableState,K=a.renderState,Ca=D.rootSegmentID,O=D.errorDigest,ma=D.errorMessage,da=D.errorComponentStack,aa=0===C.streamingFormat;aa? -(n.push(K.startInlineScript),0===(C.instructions&4)?(C.instructions|=4,n.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("')):n.push('$RX("')):n.push('<template data-rxi="" data-bid="');n.push(K.boundaryPrefix);var Oa=Ca.toString(16);n.push(Oa);aa&&n.push('"');if(O||ma||da)if(aa){n.push(",");var Pa=Tb(O||"");n.push(Pa)}else{n.push('" data-dgst="');var Qa=w(O|| -"");n.push(Qa)}if(ma||da)if(aa){n.push(",");var Ra=Tb(ma||"");n.push(Ra)}else{n.push('" data-msg="');var na=w(ma||"");n.push(na)}if(da)if(aa){n.push(",");var R=Tb(da);n.push(R)}else{n.push('" data-stck="');var pb=w(da);n.push(pb)}if(aa?!n.push(")\x3c/script>"):!n.push('"></template>')){a.destination=null;c++;x.splice(0,c);return}}x.splice(0,c);var V=a.completedBoundaries;for(c=0;c<V.length;c++)if(!Re(a,b,V[c])){a.destination=null;c++;V.splice(0,c);return}V.splice(0,c);var oa=a.partialBoundaries;for(c= -0;c<oa.length;c++){var pa=oa[c];a:{x=a;D=b;x.renderState.boundaryResources=pa.resources;var qa=pa.completedSegments;for(C=0;C<qa.length;C++)if(!Se(x,D,pa,qa[C])){C++;qa.splice(0,C);var Sa=!1;break a}qa.splice(0,C);Sa=gc(D,pa.resources,x.renderState)}if(!Sa){a.destination=null;c++;oa.splice(0,c);return}}oa.splice(0,c);var ra=a.completedBoundaries;for(c=0;c<ra.length;c++)if(!Re(a,b,ra[c])){a.destination=null;c++;ra.splice(0,c);return}ra.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&& -0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length&&(a.flushScheduled=!1,null===a.trackedPostpones&&(a=a.resumableState,a.hasBody&&(b.push("</"),b.push("body"),b.push(">")),a.hasHtml&&(b.push("</"),b.push("html"),b.push(">"))),b.push(null))}}function oc(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;Ne(a,b)}} -function Te(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error(q(432)):b;c.forEach(function(e){return Me(e,a,d)});c.clear()}null!==a.destination&&Ne(a,a.destination)}catch(e){W(a,e),ye(a,e)}}function Ie(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Ie(e,b[0],c));e[2].push(a)}}function Ue(){} -function Ve(a,b,c,d){var e=!1,f=null,g="",h={push:function(l){null!==l&&(g+=l);return!0},destroy:function(l){e=!0;f=l}},k=!1;b=lb(b?b.identifierPrefix:void 0,void 0);a=re(a,b,rc(b,c),y(0,null,0),Infinity,Ue,void 0,function(){k=!0},void 0,void 0,void 0);a.flushScheduled=null!==a.destination;ve(a);Te(a,d);if(1===a.status)a.status=2,h.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=h;try{Ne(a,h)}catch(l){W(a,l),ye(a,l)}}if(e&&f!==d)throw f;if(!k)throw Error(q(426));return g} -exports.renderToNodeStream=function(){throw Error(q(207));};exports.renderToStaticMarkup=function(a,b){return Ve(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};exports.renderToStaticNodeStream=function(){throw Error(q(208));};exports.renderToString=function(a,b){return Ve(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}; -exports.version="18.3.0-experimental-d900fadbf-20230929"; +function Oe(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var l=e.htmlChunks,p=e.headChunks;f=0;if(l){for(f=0;f<l.length;f++)b.push(l[f]);if(p)for(f=0;f<p.length;f++)b.push(p[f]);else{var r=J("head");b.push(r);b.push(">")}}else if(p)for(f= +0;f<p.length;f++)b.push(p[f]);var m=e.charsetChunks;for(f=0;f<m.length;f++)b.push(m[f]);m.length=0;e.preconnects.forEach(K,b);e.preconnects.clear();var z=e.preconnectChunks;for(f=0;f<z.length;f++)b.push(z[f]);z.length=0;e.fontPreloads.forEach(K,b);e.fontPreloads.clear();e.highImagePreloads.forEach(K,b);e.highImagePreloads.clear();e.styles.forEach(jc,b);var B=e.importMapChunks;for(f=0;f<B.length;f++)b.push(B[f]);B.length=0;e.bootstrapScripts.forEach(K,b);e.scripts.forEach(K,b);e.scripts.clear();e.bulkPreloads.forEach(K, +b);e.bulkPreloads.clear();var R=e.preloadChunks;for(f=0;f<R.length;f++)b.push(R[f]);R.length=0;var N=e.hoistableChunks;for(f=0;f<N.length;f++)b.push(N[f]);N.length=0;l&&null===p&&(b.push("</"),b.push("head"),b.push(">"));Qe(a,b,d);a.completedRootSegment=null;Ob(b,a.renderState)}else return;var q=a.renderState;d=0;q.preconnects.forEach(K,b);q.preconnects.clear();var u=q.preconnectChunks;for(d=0;d<u.length;d++)b.push(u[d]);u.length=0;q.fontPreloads.forEach(K,b);q.fontPreloads.clear();q.highImagePreloads.forEach(K, +b);q.highImagePreloads.clear();q.styles.forEach(lc,b);q.scripts.forEach(K,b);q.scripts.clear();q.bulkPreloads.forEach(K,b);q.bulkPreloads.clear();var aa=q.preloadChunks;for(d=0;d<aa.length;d++)b.push(aa[d]);aa.length=0;var G=q.hoistableChunks;for(d=0;d<G.length;d++)b.push(G[d]);G.length=0;var O=a.clientRenderedBoundaries;for(c=0;c<O.length;c++){var v=O[c];q=b;var A=a.resumableState,V=a.renderState,Q=v.rootSegmentID,ea=v.errorDigest,H=v.errorMessage,fa=v.errorComponentStack,ba=0===A.streamingFormat; +ba?(q.push(V.startInlineScript),0===(A.instructions&4)?(A.instructions|=4,q.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("')):q.push('$RX("')):q.push('<template data-rxi="" data-bid="');q.push(V.boundaryPrefix);var Na=Q.toString(16);q.push(Na);ba&&q.push('"');if(ea||H||fa)if(ba){q.push(",");var Oa=Tb(ea||"");q.push(Oa)}else{q.push('" data-dgst="');var Pa=x(ea|| +"");q.push(Pa)}if(H||fa)if(ba){q.push(",");var Qa=Tb(H||"");q.push(Qa)}else{q.push('" data-msg="');var na=x(H||"");q.push(na)}if(fa)if(ba){q.push(",");var P=Tb(fa);q.push(P)}else{q.push('" data-stck="');var pb=x(fa);q.push(pb)}if(ba?!q.push(")\x3c/script>"):!q.push('"></template>')){a.destination=null;c++;O.splice(0,c);return}}O.splice(0,c);var W=a.completedBoundaries;for(c=0;c<W.length;c++)if(!Se(a,b,W[c])){a.destination=null;c++;W.splice(0,c);return}W.splice(0,c);var oa=a.partialBoundaries;for(c= +0;c<oa.length;c++){var pa=oa[c];a:{O=a;v=b;O.renderState.boundaryResources=pa.resources;var qa=pa.completedSegments;for(A=0;A<qa.length;A++)if(!Te(O,v,pa,qa[A])){A++;qa.splice(0,A);var Ra=!1;break a}qa.splice(0,A);Ra=gc(v,pa.resources,O.renderState)}if(!Ra){a.destination=null;c++;oa.splice(0,c);return}}oa.splice(0,c);var ra=a.completedBoundaries;for(c=0;c<ra.length;c++)if(!Se(a,b,ra[c])){a.destination=null;c++;ra.splice(0,c);return}ra.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&& +0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length&&(a.flushScheduled=!1,null===a.trackedPostpones&&(c=a.resumableState,c.hasBody&&(b.push("</"),b.push("body"),b.push(">")),c.hasHtml&&(b.push("</"),b.push("html"),b.push(">"))),b.push(null),a.destination=null)}}function oc(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){a.flushScheduled=!0;var b=a.destination;b?Oe(a,b):a.flushScheduled=!1}} +function Ue(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error(n(432)):b;c.forEach(function(e){return Ne(e,a,d)});c.clear()}null!==a.destination&&Oe(a,a.destination)}catch(e){X(a,e),ze(a,e)}}function Je(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Je(e,b[0],c));e[2].push(a)}}function Ve(){} +function We(a,b,c,d){var e=!1,f=null,g="",h={push:function(l){null!==l&&(g+=l);return!0},destroy:function(l){e=!0;f=l}},k=!1;b=lb(b?b.identifierPrefix:void 0,void 0);a=se(a,b,rc(b,c),y(0,null,0),Infinity,Ve,void 0,function(){k=!0},void 0,void 0,void 0);a.flushScheduled=null!==a.destination;we(a);Ue(a,d);if(1===a.status)a.status=2,h.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=h;try{Oe(a,h)}catch(l){X(a,l),ze(a,l)}}if(e&&f!==d)throw f;if(!k)throw Error(n(426));return g} +exports.renderToNodeStream=function(){throw Error(n(207));};exports.renderToStaticMarkup=function(a,b){return We(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};exports.renderToStaticNodeStream=function(){throw Error(n(208));};exports.renderToString=function(a,b){return We(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}; +exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js index 74d64d1946ca7..0eac25cd146d3 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js @@ -18,7 +18,7 @@ var React = require("next/dist/compiled/react-experimental"); var ReactDOM = require('react-dom'); var stream = require('stream'); -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -259,7 +259,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -268,7 +268,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -277,7 +277,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -3963,26 +3963,7 @@ function pushStartCustomElement(target, props, tag) { continue; } - if ((typeof propValue === 'function' || typeof propValue === 'object')) { - // It is normal to render functions and objects on custom elements when - // client rendering, but when server rendering the output isn't useful, - // so skip it. - continue; - } - - if (propValue === false) { - continue; - } - - if (propValue === true) { - propValue = ''; - } - - if (propKey === 'className') { - // className gets rendered as class on the client, so it should be - // rendered as class on the server. - propKey = 'class'; - } + var attributeName = propKey; switch (propKey) { case 'children': @@ -4002,9 +3983,28 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + { + // className gets rendered as class on the client, so it should be + // rendered as class on the server. + attributeName = 'class'; + } + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + { + if (propValue === false) { + continue; + } else if (propValue === true) { + propValue = ''; + } else if (typeof propValue === 'object') { + continue; + } + } + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -8197,9 +8197,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return initialValue !== undefined ? initialValue : value; + } } function unsupportedStartTransition() { @@ -8984,11 +8987,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -9039,24 +9038,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -9064,8 +9054,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9606,37 +9595,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9647,17 +9605,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9665,37 +9624,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9759,8 +9721,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9938,24 +9907,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -9990,7 +9961,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -10315,6 +10286,7 @@ function renderNode(request, task, node, childIndex) { task.componentStack = previousComponentStack; } + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10376,6 +10348,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -10397,6 +10370,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -10510,8 +10485,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -10520,6 +10493,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -10530,6 +10504,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -10571,12 +10553,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10760,6 +10743,7 @@ function retryRenderTask(request, task, segment) { logPostpone(request, postponeInstance.message); trackPostpone(request, trackedPostpones, task, segment); finishedTask(request, task.blockedBoundary, segment); + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10836,6 +10820,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -11265,7 +11257,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } } } @@ -11285,10 +11280,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -11318,6 +11320,9 @@ function startFlowing(request, destination) { fatalError(request, error); } } +function stopFlowing(request) { + request.destination = null; +} // This is called to early terminate a request. It puts all pending boundaries in client rendered state. function abort(request, reason) { try { diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js index cfe0dfaa9675a..066d2b5f62d02 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js @@ -31,11 +31,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var ba=require("next/dist/compiled/react-experimental"),ha=require("react-dom"),ia=require("stream"); -function ja(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< +'use strict';var ca=require("next/dist/compiled/react-experimental"),ia=require("react-dom"),ja=require("stream"); +function ka(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< 16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0} -var r=Object.assign,u=Object.prototype.hasOwnProperty,ka=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),va={},wa={}; -function xa(a){if(u.call(wa,a))return!0;if(u.call(va,a))return!1;if(ka.test(a))return wa[a]=!0;va[a]=!0;return!1} +var r=Object.assign,v=Object.prototype.hasOwnProperty,la=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),va={},wa={}; +function xa(a){if(v.call(wa,a))return!0;if(v.call(va,a))return!1;if(la.test(a))return wa[a]=!0;va[a]=!0;return!1} var ya=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),za= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", @@ -43,168 +43,167 @@ new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], ["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Aa=/["'&<>]/; -function v(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Aa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var Fa=/([A-Z])/g,Ga=/^ms-/,Ha=Array.isArray,Ia=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ja={pending:!1,data:null,method:null,action:null},Ka=ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,jb={prefetchDNS:La,preconnect:Ma,preload:eb,preloadModule:fb,preinitStyle:gb,preinitScript:hb,preinitModuleScript:ib},kb=[]; +function w(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Aa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var Fa=/([A-Z])/g,Ga=/^ms-/,Ha=Array.isArray,Ia=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ja={pending:!1,data:null,method:null,action:null},Ka=ia.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,jb={prefetchDNS:La,preconnect:db,preload:eb,preloadModule:fb,preinitStyle:gb,preinitScript:hb,preinitModuleScript:ib},kb=[]; function lb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function x(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}} function mb(a){return x("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} function nb(a,b,c){switch(b){case "noscript":return x(2,null,a.tagScope|1);case "select":return x(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return x(3,null,a.tagScope);case "picture":return x(2,null,a.tagScope|2);case "math":return x(4,null,a.tagScope);case "foreignObject":return x(2,null,a.tagScope);case "table":return x(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return x(6,null,a.tagScope);case "colgroup":return x(8,null,a.tagScope);case "tr":return x(7,null,a.tagScope)}return 5<= a.insertionMode?x(2,null,a.tagScope):0===a.insertionMode?"html"===b?x(1,null,a.tagScope):x(2,null,a.tagScope):1===a.insertionMode?x(2,null,a.tagScope):a}var xb=new Map; -function yb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(u.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=v(d);e=v((""+e).trim())}else f=xb.get(d),void 0===f&&(f=v(d.replace(Fa,"-$1").toLowerCase().replace(Ga,"-ms-")),xb.set(d,f)),e="number"===typeof e?0===e||ya.has(d)?""+e:e+"px": -v((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')}function zb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function E(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',v(c),'"')}function Ab(a){var b=a.nextFormID++;return a.idPrefix+b}var Bb=v("javascript:throw new Error('A React form was unexpectedly submitted.')"); -function Cb(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");E(this,"name",b);E(this,"value",a);this.push("/>")} -function Db(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Ab(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(" ","formAction",'="',Bb,'"'),g=f=e=d=h=null,Eb(b,c)));null!=h&&F(a,"name",h);null!=d&&F(a,"formAction",d);null!=e&&F(a,"formEncType",e);null!=f&&F(a,"formMethod",f);null!=g&&F(a,"formTarget",g);return k} -function F(a,b,c){switch(b){case "className":E(a,"class",c);break;case "tabIndex":E(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":E(a,b,c);break;case "style":yb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',v(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":zb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',v(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',v(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',v(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',v(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',v(c),'"');break;case "xlinkActuate":E(a,"xlink:actuate", -c);break;case "xlinkArcrole":E(a,"xlink:arcrole",c);break;case "xlinkRole":E(a,"xlink:role",c);break;case "xlinkShow":E(a,"xlink:show",c);break;case "xlinkTitle":E(a,"xlink:title",c);break;case "xlinkType":E(a,"xlink:type",c);break;case "xmlBase":E(a,"xml:base",c);break;case "xmlLang":E(a,"xml:lang",c);break;case "xmlSpace":E(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=za.get(b)||b,xa(b)){switch(typeof c){case "function":case "symbol":return; -case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',v(c),'"')}}}function G(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} -function Fb(a){var b="";ba.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} +function yb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(v.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=w(d);e=w((""+e).trim())}else f=xb.get(d),void 0===f&&(f=w(d.replace(Fa,"-$1").toLowerCase().replace(Ga,"-ms-")),xb.set(d,f)),e="number"===typeof e?0===e||ya.has(d)?""+e:e+"px": +w((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')}function zb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function C(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',w(c),'"')}function Ab(a){var b=a.nextFormID++;return a.idPrefix+b}var Bb=w("javascript:throw new Error('A React form was unexpectedly submitted.')"); +function Cb(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");C(this,"name",b);C(this,"value",a);this.push("/>")} +function Db(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Ab(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(" ","formAction",'="',Bb,'"'),g=f=e=d=h=null,Eb(b,c)));null!=h&&D(a,"name",h);null!=d&&D(a,"formAction",d);null!=e&&D(a,"formEncType",e);null!=f&&D(a,"formMethod",f);null!=g&&D(a,"formTarget",g);return k} +function D(a,b,c){switch(b){case "className":C(a,"class",c);break;case "tabIndex":C(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":C(a,b,c);break;case "style":yb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',w(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":zb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',w(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',w(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',w(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',w(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',w(c),'"');break;case "xlinkActuate":C(a,"xlink:actuate", +c);break;case "xlinkArcrole":C(a,"xlink:arcrole",c);break;case "xlinkRole":C(a,"xlink:role",c);break;case "xlinkShow":C(a,"xlink:show",c);break;case "xlinkTitle":C(a,"xlink:title",c);break;case "xlinkType":C(a,"xlink:type",c);break;case "xmlBase":C(a,"xml:base",c);break;case "xmlLang":C(a,"xml:lang",c);break;case "xmlSpace":C(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=za.get(b)||b,xa(b)){switch(typeof c){case "function":case "symbol":return; +case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',w(c),'"')}}}function E(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} +function Fb(a){var b="";ca.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} function Eb(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});',"\x3c/script>"))} -function Gb(a,b,c,d,e,f,g){var h=b.rel,k=b.href,l=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return K(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return K(a,b);f=d.styles.get(l);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:v(l),rules:[],hrefs:[],sheets:new Map},d.styles.set(l,f)),b={state:0,props:r({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&Hb(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return K(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return K(d.preconnectChunks,b);case "preload":return K(d.preloadChunks, -b);default:return K(d.hoistableChunks,b)}}function K(a,b){a.push(L("link"));for(var c in b)if(u.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:F(a,c,d)}}a.push("/>");return null} -function Ib(a,b,c){a.push(L(c));for(var d in b)if(u.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:F(a,d,e)}}a.push("/>");return null} -function Jb(a,b){a.push(L("title"));var c=null,d=null,e;for(e in b)if(u.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:F(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(v(""+b));G(a,d,c);a.push("</","title",">");return null} -function Kb(a,b){a.push(L("script"));var c=null,d=null,e;for(e in b)if(u.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:F(a,e,f)}}a.push(">");G(a,d,c);"string"===typeof c&&a.push(v(c));a.push("</","script",">");return null} -function Lb(a,b,c){a.push(L(c));var d=c=null,e;for(e in b)if(u.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:F(a,e,f)}}a.push(">");G(a,d,c);return"string"===typeof c?(a.push(v(c)),null):c}var Mb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Nb=new Map;function L(a){var b=Nb.get(a);if(void 0===b){if(!Mb.test(a))throw Error("Invalid tag: "+a);b="<"+a;Nb.set(a,b)}return b} -function Ob(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(L("select"));var h=null,k=null,l;for(l in c)if(u.call(c,l)){var p=c[l];if(null!=p)switch(l){case "children":h=p;break;case "dangerouslySetInnerHTML":k=p;break;case "defaultValue":case "value":break;default:F(a,l,p)}}a.push(">");G(a,k,h);return h;case "option":var q=f.selectedValue;a.push(L("option"));var m=null,t=null,H=null,z=null,A;for(A in c)if(u.call(c, -A)){var n=c[A];if(null!=n)switch(A){case "children":m=n;break;case "selected":H=n;break;case "dangerouslySetInnerHTML":z=n;break;case "value":t=n;default:F(a,A,n)}}if(null!=q){var y=null!==t?""+t:Fb(m);if(Ha(q))for(var Y=0;Y<q.length;Y++){if(""+q[Y]===y){a.push(' selected=""');break}}else""+q===y&&a.push(' selected=""')}else H&&a.push(' selected=""');a.push(">");G(a,z,m);return m;case "textarea":a.push(L("textarea"));var I=null,w=null,C=null,B;for(B in c)if(u.call(c,B)){var J=c[B];if(null!=J)switch(B){case "children":C= -J;break;case "value":I=J;break;case "defaultValue":w=J;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:F(a,B,J)}}null===I&&null!==w&&(I=w);a.push(">");if(null!=C){if(null!=I)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ha(C)){if(1<C.length)throw Error("<textarea> can only have at most one child.");I=""+C[0]}I=""+C}"string"===typeof I&&"\n"===I[0]&&a.push("\n");null!==I&&a.push(v(""+I)); -return null;case "input":a.push(L("input"));var Ba=null,N=null,la=null,ca=null,Z=null,Na=null,Oa=null,Pa=null,Qa=null,ma;for(ma in c)if(u.call(c,ma)){var Q=c[ma];if(null!=Q)switch(ma){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":Ba=Q;break;case "formAction":N=Q;break;case "formEncType":la=Q;break;case "formMethod":ca=Q;break;case "formTarget":Z=Q;break;case "defaultChecked":Qa= -Q;break;case "defaultValue":Oa=Q;break;case "checked":Pa=Q;break;case "value":Na=Q;break;default:F(a,ma,Q)}}var ob=Db(a,d,e,N,la,ca,Z,Ba);null!==Pa?zb(a,"checked",Pa):null!==Qa&&zb(a,"checked",Qa);null!==Na?F(a,"value",Na):null!==Oa&&F(a,"value",Oa);a.push("/>");null!==ob&&ob.forEach(Cb,a);return null;case "button":a.push(L("button"));var U=null,na=null,oa=null,pa=null,Ra=null,qa=null,Gc=null,Sa;for(Sa in c)if(u.call(c,Sa)){var aa=c[Sa];if(null!=aa)switch(Sa){case "children":U=aa;break;case "dangerouslySetInnerHTML":na= -aa;break;case "name":oa=aa;break;case "formAction":pa=aa;break;case "formEncType":Ra=aa;break;case "formMethod":qa=aa;break;case "formTarget":Gc=aa;break;default:F(a,Sa,aa)}}var Hc=Db(a,d,e,pa,Ra,qa,Gc,oa);a.push(">");null!==Hc&&Hc.forEach(Cb,a);G(a,na,U);if("string"===typeof U){a.push(v(U));var Ic=null}else Ic=U;return Ic;case "form":a.push(L("form"));var Ta=null,Jc=null,da=null,Ua=null,Va=null,Wa=null,Xa;for(Xa in c)if(u.call(c,Xa)){var ea=c[Xa];if(null!=ea)switch(Xa){case "children":Ta=ea;break; -case "dangerouslySetInnerHTML":Jc=ea;break;case "action":da=ea;break;case "encType":Ua=ea;break;case "method":Va=ea;break;case "target":Wa=ea;break;default:F(a,Xa,ea)}}var Ub=null,Vb=null;if("function"===typeof da)if("function"===typeof da.$$FORM_ACTION){var me=Ab(d),Ca=da.$$FORM_ACTION(me);da=Ca.action||"";Ua=Ca.encType;Va=Ca.method;Wa=Ca.target;Ub=Ca.data;Vb=Ca.name}else a.push(" ","action",'="',Bb,'"'),Wa=Va=Ua=da=null,Eb(d,e);null!=da&&F(a,"action",da);null!=Ua&&F(a,"encType",Ua);null!=Va&&F(a, -"method",Va);null!=Wa&&F(a,"target",Wa);a.push(">");null!==Vb&&(a.push('<input type="hidden"'),E(a,"name",Vb),a.push("/>"),null!==Ub&&Ub.forEach(Cb,a));G(a,Jc,Ta);if("string"===typeof Ta){a.push(v(Ta));var Kc=null}else Kc=Ta;return Kc;case "menuitem":a.push(L("menuitem"));for(var pb in c)if(u.call(c,pb)){var Lc=c[pb];if(null!=Lc)switch(pb){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:F(a,pb,Lc)}}a.push(">");return null; -case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Mc=Jb(a,c);else Jb(e.hoistableChunks,c),Mc=null;return Mc;case "link":return Gb(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var Wb=c.async;if("string"!==typeof c.src||!c.src||!Wb||"function"===typeof Wb||"symbol"===typeof Wb||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Nc=Kb(a,c);else{var qb=c.src;if("module"===c.type){var rb=d.moduleScriptResources;var Oc=e.preloads.moduleScripts}else rb= -d.scriptResources,Oc=e.preloads.scripts;var sb=rb.hasOwnProperty(qb)?rb[qb]:void 0;if(null!==sb){rb[qb]=null;var Xb=c;if(sb){2===sb.length&&(Xb=r({},c),Hb(Xb,sb));var Pc=Oc.get(qb);Pc&&(Pc.length=0)}var Qc=[];e.scripts.add(Qc);Kb(Qc,Xb)}g&&a.push("\x3c!-- --\x3e");Nc=null}return Nc;case "style":var tb=c.precedence,ra=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof tb||"string"!==typeof ra||""===ra){a.push(L("style"));var Da=null,Rc=null,Ya;for(Ya in c)if(u.call(c, -Ya)){var ub=c[Ya];if(null!=ub)switch(Ya){case "children":Da=ub;break;case "dangerouslySetInnerHTML":Rc=ub;break;default:F(a,Ya,ub)}}a.push(">");var Za=Array.isArray(Da)?2>Da.length?Da[0]:null:Da;"function"!==typeof Za&&"symbol"!==typeof Za&&null!==Za&&void 0!==Za&&a.push(v(""+Za));G(a,Rc,Da);a.push("</","style",">");var Sc=null}else{var sa=e.styles.get(tb);if(null!==(d.styleResources.hasOwnProperty(ra)?d.styleResources[ra]:void 0)){d.styleResources[ra]=null;sa?sa.hrefs.push(v(ra)):(sa={precedence:v(tb), -rules:[],hrefs:[v(ra)],sheets:new Map},e.styles.set(tb,sa));var Tc=sa.rules,Ea=null,Uc=null,vb;for(vb in c)if(u.call(c,vb)){var Yb=c[vb];if(null!=Yb)switch(vb){case "children":Ea=Yb;break;case "dangerouslySetInnerHTML":Uc=Yb}}var $a=Array.isArray(Ea)?2>Ea.length?Ea[0]:null:Ea;"function"!==typeof $a&&"symbol"!==typeof $a&&null!==$a&&void 0!==$a&&Tc.push(v(""+$a));G(Tc,Uc,Ea)}sa&&e.boundaryResources&&e.boundaryResources.styles.add(sa);g&&a.push("\x3c!-- --\x3e");Sc=void 0}return Sc;case "meta":if(3=== -f.insertionMode||f.tagScope&1||null!=c.itemProp)var Vc=Ib(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),Vc="string"===typeof c.charSet?Ib(e.charsetChunks,c,"meta"):"viewport"===c.name?Ib(e.preconnectChunks,c,"meta"):Ib(e.hoistableChunks,c,"meta");return Vc;case "listing":case "pre":a.push(L(b));var ab=null,bb=null,cb;for(cb in c)if(u.call(c,cb)){var wb=c[cb];if(null!=wb)switch(cb){case "children":ab=wb;break;case "dangerouslySetInnerHTML":bb=wb;break;default:F(a,cb,wb)}}a.push(">");if(null!=bb){if(null!= -ab)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof bb||!("__html"in bb))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var ta=bb.__html;null!==ta&&void 0!==ta&&("string"===typeof ta&&0<ta.length&&"\n"===ta[0]?a.push("\n",ta):a.push(""+ta))}"string"===typeof ab&&"\n"===ab[0]&&a.push("\n");return ab;case "img":var O=c.src, -D=c.srcSet;if(!("lazy"===c.loading||!O&&!D||"string"!==typeof O&&null!=O||"string"!==typeof D&&null!=D)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof O||":"!==O[4]||"d"!==O[0]&&"D"!==O[0]||"a"!==O[1]&&"A"!==O[1]||"t"!==O[2]&&"T"!==O[2]||"a"!==O[3]&&"A"!==O[3])&&("string"!==typeof D||":"!==D[4]||"d"!==D[0]&&"D"!==D[0]||"a"!==D[1]&&"A"!==D[1]||"t"!==D[2]&&"T"!==D[2]||"a"!==D[3]&&"A"!==D[3])){var Wc="string"===typeof c.sizes?c.sizes:void 0,db=D?D+"\n"+(Wc||""):O,Zb=e.preloads.images, -ua=Zb.get(db);if(ua){if("high"===c.fetchPriority||10>e.highImagePreloads.size)Zb.delete(db),e.highImagePreloads.add(ua)}else d.imageResources.hasOwnProperty(db)||(d.imageResources[db]=kb,ua=[],K(ua,{rel:"preload",as:"image",href:D?void 0:O,imageSrcSet:D,imageSizes:Wc,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(ua):(e.bulkPreloads.add(ua),Zb.set(db, +function Gb(a,b,c,d,e,f,g){var h=b.rel,k=b.href,l=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return H(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return H(a,b);f=d.styles.get(l);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:w(l),rules:[],hrefs:[],sheets:new Map},d.styles.set(l,f)),b={state:0,props:r({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&Hb(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return H(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return H(d.preconnectChunks,b);case "preload":return H(d.preloadChunks, +b);default:return H(d.hoistableChunks,b)}}function H(a,b){a.push(I("link"));for(var c in b)if(v.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:D(a,c,d)}}a.push("/>");return null} +function Ib(a,b,c){a.push(I(c));for(var d in b)if(v.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:D(a,d,e)}}a.push("/>");return null} +function Jb(a,b){a.push(I("title"));var c=null,d=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(w(""+b));E(a,d,c);a.push("</","title",">");return null} +function Kb(a,b){a.push(I("script"));var c=null,d=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");E(a,d,c);"string"===typeof c&&a.push(w(c));a.push("</","script",">");return null} +function Lb(a,b,c){a.push(I(c));var d=c=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");E(a,d,c);return"string"===typeof c?(a.push(w(c)),null):c}var Mb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Nb=new Map;function I(a){var b=Nb.get(a);if(void 0===b){if(!Mb.test(a))throw Error("Invalid tag: "+a);b="<"+a;Nb.set(a,b)}return b} +function Ob(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(I("select"));var h=null,k=null,l;for(l in c)if(v.call(c,l)){var n=c[l];if(null!=n)switch(l){case "children":h=n;break;case "dangerouslySetInnerHTML":k=n;break;case "defaultValue":case "value":break;default:D(a,l,n)}}a.push(">");E(a,k,h);return h;case "option":var q=f.selectedValue;a.push(I("option"));var m=null,y=null,A=null,Q=null,M;for(M in c)if(v.call(c, +M)){var p=c[M];if(null!=p)switch(M){case "children":m=p;break;case "selected":A=p;break;case "dangerouslySetInnerHTML":Q=p;break;case "value":y=p;default:D(a,M,p)}}if(null!=q){var t=null!==y?""+y:Fb(m);if(Ha(q))for(var Z=0;Z<q.length;Z++){if(""+q[Z]===t){a.push(' selected=""');break}}else""+q===t&&a.push(' selected=""')}else A&&a.push(' selected=""');a.push(">");E(a,Q,m);return m;case "textarea":a.push(I("textarea"));var F=null,N=null,u=null,z;for(z in c)if(v.call(c,z)){var U=c[z];if(null!=U)switch(z){case "children":u= +U;break;case "value":F=U;break;case "defaultValue":N=U;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:D(a,z,U)}}null===F&&null!==N&&(F=N);a.push(">");if(null!=u){if(null!=F)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ha(u)){if(1<u.length)throw Error("<textarea> can only have at most one child.");F=""+u[0]}F=""+u}"string"===typeof F&&"\n"===F[0]&&a.push("\n");null!==F&&a.push(w(""+F)); +return null;case "input":a.push(I("input"));var P=null,da=null,G=null,ea=null,aa=null,Ma=null,Na=null,Oa=null,Pa=null,ma;for(ma in c)if(v.call(c,ma)){var O=c[ma];if(null!=O)switch(ma){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":P=O;break;case "formAction":da=O;break;case "formEncType":G=O;break;case "formMethod":ea=O;break;case "formTarget":aa=O;break;case "defaultChecked":Pa= +O;break;case "defaultValue":Na=O;break;case "checked":Oa=O;break;case "value":Ma=O;break;default:D(a,ma,O)}}var ob=Db(a,d,e,da,G,ea,aa,P);null!==Oa?zb(a,"checked",Oa):null!==Pa&&zb(a,"checked",Pa);null!==Ma?D(a,"value",Ma):null!==Na&&D(a,"value",Na);a.push("/>");null!==ob&&ob.forEach(Cb,a);return null;case "button":a.push(I("button"));var V=null,na=null,oa=null,pa=null,Qa=null,qa=null,Gc=null,Ra;for(Ra in c)if(v.call(c,Ra)){var ba=c[Ra];if(null!=ba)switch(Ra){case "children":V=ba;break;case "dangerouslySetInnerHTML":na= +ba;break;case "name":oa=ba;break;case "formAction":pa=ba;break;case "formEncType":Qa=ba;break;case "formMethod":qa=ba;break;case "formTarget":Gc=ba;break;default:D(a,Ra,ba)}}var Hc=Db(a,d,e,pa,Qa,qa,Gc,oa);a.push(">");null!==Hc&&Hc.forEach(Cb,a);E(a,na,V);if("string"===typeof V){a.push(w(V));var Ic=null}else Ic=V;return Ic;case "form":a.push(I("form"));var Sa=null,Jc=null,fa=null,Ta=null,Ua=null,Va=null,Wa;for(Wa in c)if(v.call(c,Wa)){var ha=c[Wa];if(null!=ha)switch(Wa){case "children":Sa=ha;break; +case "dangerouslySetInnerHTML":Jc=ha;break;case "action":fa=ha;break;case "encType":Ta=ha;break;case "method":Ua=ha;break;case "target":Va=ha;break;default:D(a,Wa,ha)}}var Tb=null,Ub=null;if("function"===typeof fa)if("function"===typeof fa.$$FORM_ACTION){var ne=Ab(d),Ba=fa.$$FORM_ACTION(ne);fa=Ba.action||"";Ta=Ba.encType;Ua=Ba.method;Va=Ba.target;Tb=Ba.data;Ub=Ba.name}else a.push(" ","action",'="',Bb,'"'),Va=Ua=Ta=fa=null,Eb(d,e);null!=fa&&D(a,"action",fa);null!=Ta&&D(a,"encType",Ta);null!=Ua&&D(a, +"method",Ua);null!=Va&&D(a,"target",Va);a.push(">");null!==Ub&&(a.push('<input type="hidden"'),C(a,"name",Ub),a.push("/>"),null!==Tb&&Tb.forEach(Cb,a));E(a,Jc,Sa);if("string"===typeof Sa){a.push(w(Sa));var Kc=null}else Kc=Sa;return Kc;case "menuitem":a.push(I("menuitem"));for(var pb in c)if(v.call(c,pb)){var Lc=c[pb];if(null!=Lc)switch(pb){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:D(a,pb,Lc)}}a.push(">");return null; +case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Mc=Jb(a,c);else Jb(e.hoistableChunks,c),Mc=null;return Mc;case "link":return Gb(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var Vb=c.async;if("string"!==typeof c.src||!c.src||!Vb||"function"===typeof Vb||"symbol"===typeof Vb||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Nc=Kb(a,c);else{var qb=c.src;if("module"===c.type){var rb=d.moduleScriptResources;var Oc=e.preloads.moduleScripts}else rb= +d.scriptResources,Oc=e.preloads.scripts;var sb=rb.hasOwnProperty(qb)?rb[qb]:void 0;if(null!==sb){rb[qb]=null;var Wb=c;if(sb){2===sb.length&&(Wb=r({},c),Hb(Wb,sb));var Pc=Oc.get(qb);Pc&&(Pc.length=0)}var Qc=[];e.scripts.add(Qc);Kb(Qc,Wb)}g&&a.push("\x3c!-- --\x3e");Nc=null}return Nc;case "style":var tb=c.precedence,ra=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof tb||"string"!==typeof ra||""===ra){a.push(I("style"));var Ca=null,Rc=null,Xa;for(Xa in c)if(v.call(c, +Xa)){var ub=c[Xa];if(null!=ub)switch(Xa){case "children":Ca=ub;break;case "dangerouslySetInnerHTML":Rc=ub;break;default:D(a,Xa,ub)}}a.push(">");var Ya=Array.isArray(Ca)?2>Ca.length?Ca[0]:null:Ca;"function"!==typeof Ya&&"symbol"!==typeof Ya&&null!==Ya&&void 0!==Ya&&a.push(w(""+Ya));E(a,Rc,Ca);a.push("</","style",">");var Sc=null}else{var sa=e.styles.get(tb);if(null!==(d.styleResources.hasOwnProperty(ra)?d.styleResources[ra]:void 0)){d.styleResources[ra]=null;sa?sa.hrefs.push(w(ra)):(sa={precedence:w(tb), +rules:[],hrefs:[w(ra)],sheets:new Map},e.styles.set(tb,sa));var Tc=sa.rules,Da=null,Uc=null,vb;for(vb in c)if(v.call(c,vb)){var Xb=c[vb];if(null!=Xb)switch(vb){case "children":Da=Xb;break;case "dangerouslySetInnerHTML":Uc=Xb}}var Za=Array.isArray(Da)?2>Da.length?Da[0]:null:Da;"function"!==typeof Za&&"symbol"!==typeof Za&&null!==Za&&void 0!==Za&&Tc.push(w(""+Za));E(Tc,Uc,Da)}sa&&e.boundaryResources&&e.boundaryResources.styles.add(sa);g&&a.push("\x3c!-- --\x3e");Sc=void 0}return Sc;case "meta":if(3=== +f.insertionMode||f.tagScope&1||null!=c.itemProp)var Vc=Ib(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),Vc="string"===typeof c.charSet?Ib(e.charsetChunks,c,"meta"):"viewport"===c.name?Ib(e.preconnectChunks,c,"meta"):Ib(e.hoistableChunks,c,"meta");return Vc;case "listing":case "pre":a.push(I(b));var $a=null,ab=null,bb;for(bb in c)if(v.call(c,bb)){var wb=c[bb];if(null!=wb)switch(bb){case "children":$a=wb;break;case "dangerouslySetInnerHTML":ab=wb;break;default:D(a,bb,wb)}}a.push(">");if(null!=ab){if(null!= +$a)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof ab||!("__html"in ab))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var ta=ab.__html;null!==ta&&void 0!==ta&&("string"===typeof ta&&0<ta.length&&"\n"===ta[0]?a.push("\n",ta):a.push(""+ta))}"string"===typeof $a&&"\n"===$a[0]&&a.push("\n");return $a;case "img":var K=c.src, +B=c.srcSet;if(!("lazy"===c.loading||!K&&!B||"string"!==typeof K&&null!=K||"string"!==typeof B&&null!=B)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof K||":"!==K[4]||"d"!==K[0]&&"D"!==K[0]||"a"!==K[1]&&"A"!==K[1]||"t"!==K[2]&&"T"!==K[2]||"a"!==K[3]&&"A"!==K[3])&&("string"!==typeof B||":"!==B[4]||"d"!==B[0]&&"D"!==B[0]||"a"!==B[1]&&"A"!==B[1]||"t"!==B[2]&&"T"!==B[2]||"a"!==B[3]&&"A"!==B[3])){var Wc="string"===typeof c.sizes?c.sizes:void 0,cb=B?B+"\n"+(Wc||""):K,Yb=e.preloads.images, +ua=Yb.get(cb);if(ua){if("high"===c.fetchPriority||10>e.highImagePreloads.size)Yb.delete(cb),e.highImagePreloads.add(ua)}else d.imageResources.hasOwnProperty(cb)||(d.imageResources[cb]=kb,ua=[],H(ua,{rel:"preload",as:"image",href:B?void 0:K,imageSrcSet:B,imageSizes:Wc,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(ua):(e.bulkPreloads.add(ua),Yb.set(cb, ua)))}return Ib(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return Ib(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Xc=Lb(e.headChunks,c,"head")}else Xc=Lb(a,c,"head");return Xc;case "html":if(0=== -f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[""];var Yc=Lb(e.htmlChunks,c,"html")}else Yc=Lb(a,c,"html");return Yc;default:if(-1!==b.indexOf("-")){a.push(L(b));var $b=null,Zc=null,fa;for(fa in c)if(u.call(c,fa)){var R=c[fa];if(null!=R&&"function"!==typeof R&&"object"!==typeof R&&!1!==R)switch(!0===R&&(R=""),"className"===fa&&(fa="class"),fa){case "children":$b=R;break;case "dangerouslySetInnerHTML":Zc=R;break;case "style":yb(a,R);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -default:xa(fa)&&"function"!==typeof R&&"symbol"!==typeof R&&a.push(" ",fa,'="',v(R),'"')}}a.push(">");G(a,Zc,$b);return $b}}return Lb(a,c,b)}function Pb(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0} +f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[""];var Yc=Lb(e.htmlChunks,c,"html")}else Yc=Lb(a,c,"html");return Yc;default:if(-1!==b.indexOf("-")){a.push(I(b));var Zb=null,Zc=null,Ea;for(Ea in c)if(v.call(c,Ea)){var R=c[Ea];if(null!=R){var $c=Ea;switch(Ea){case "children":Zb=R;break;case "dangerouslySetInnerHTML":Zc=R;break;case "style":yb(a,R);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;case "className":$c="class";default:if(xa(Ea)&&"function"!==typeof R&& +"symbol"!==typeof R&&!1!==R){if(!0===R)R="";else if("object"===typeof R)continue;a.push(" ",$c,'="',w(R),'"')}}}}a.push(">");E(a,Zc,Zb);return Zb}}return Lb(a,c,b)}function Pb(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0} function Qb(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");a.push(b.boundaryPrefix);b=c.toString(16);a.push(b);return a.push('"></template>')} function Rb(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden id="'),a.push(b.segmentPrefix), b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 8:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error("Unknown insertion mode. This is a bug in React.");}} -function Sb(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.");}}var Tb=/[<\u2028\u2029]/g; -function ac(a){return JSON.stringify(a).replace(Tb,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var bc=/[&><\u2028\u2029]/g; +function Sb(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.");}}var $b=/[<\u2028\u2029]/g; +function ac(a){return JSON.stringify(a).replace($b,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var bc=/[&><\u2028\u2029]/g; function cc(a){return JSON.stringify(a).replace(bc,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var dc=!1,ec=!0; function fc(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){this.push('<style media="not all" data-precedence="');this.push(a.precedence);for(this.push('" data-href="');d<c.length-1;d++)this.push(c[d]),this.push(" ");this.push(c[d]);this.push('">');for(d=0;d<b.length;d++)this.push(b[d]);ec=this.push("</style>");dc=!0;b.length=0;c.length=0}}function gc(a){return 2!==a.state?dc=!0:!1}function hc(a,b,c){dc=!1;ec=!0;b.styles.forEach(fc,a);b.stylesheets.forEach(gc);dc&&(c.stylesToHoist=!0);return ec} -function M(a){for(var b=0;b<a.length;b++)this.push(a[b]);a.length=0}var ic=[];function jc(a){K(ic,a.props);for(var b=0;b<ic.length;b++)this.push(ic[b]);ic.length=0;a.state=2} +function J(a){for(var b=0;b<a.length;b++)this.push(a[b]);a.length=0}var ic=[];function jc(a){H(ic,a.props);for(var b=0;b<ic.length;b++)this.push(ic[b]);ic.length=0;a.state=2} function kc(a){var b=0<a.sheets.size;a.sheets.forEach(jc,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){this.push('<style data-precedence="');this.push(a.precedence);a=0;if(d.length){for(this.push('" data-href="');a<d.length-1;a++)this.push(d[a]),this.push(" ");this.push(d[a])}this.push('">');for(a=0;a<c.length;a++)this.push(c[a]);this.push("</style>");c.length=0;d.length=0}} -function lc(a){if(0===a.state){a.state=1;var b=a.props;K(ic,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<ic.length;a++)this.push(ic[a]);ic.length=0}}function mc(a){a.sheets.forEach(lc,this);a.sheets.clear()} -function nc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=cc(""+d.props.href),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=cc(""+d.props.href);a.push(g);e=""+e;a.push(",");e=cc(e);a.push(e);for(var h in f)if(u.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); +function lc(a){if(0===a.state){a.state=1;var b=a.props;H(ic,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<ic.length;a++)this.push(ic[a]);ic.length=0}}function mc(a){a.sheets.forEach(lc,this);a.sheets.clear()} +function nc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=cc(""+d.props.href),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=cc(""+d.props.href);a.push(g);e=""+e;a.push(",");e=cc(e);a.push(e);for(var h in f)if(v.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!xa(h))break a;g=""+g}e.push(",");k=cc(k);e.push(k);e.push(",");g= cc(g);e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")} -function oc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=v(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=v(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=v(JSON.stringify(e));a.push(e);for(var h in f)if(u.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); -default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!xa(h))break a;g=""+g}e.push(",");k=v(JSON.stringify(k));e.push(k); -e.push(",");g=v(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")}function La(a){var b=P?P:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;K(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}pc(b)}}} -function Ma(a,b){var c=P?P:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;K(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}pc(c)}}} -function eb(a,b,c){var d=P?P:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=kb;e=[];K(e,r({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];K(g,r({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?kb:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);K(g,r({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?kb:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=r({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}K(e,c);g[a]=kb}pc(d)}}} -function fb(a,b){var c=P?P:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?kb:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=kb}K(f,r({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);pc(c)}}} -function gb(a,b,c){var d=P?P:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:v(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:r({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&Hb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),pc(d))}}} -function hb(a,b){var c=P?P:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=r({src:a,async:!0},b),f&&(2===f.length&&Hb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Kb(a,b),pc(c))}}} -function ib(a,b){var c=P?P:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=r({src:a,type:"module",async:!0},b),f&&(2===f.length&&Hb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Kb(a,b),pc(c))}}}function Hb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function qc(a){this.styles.add(a)} +function oc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=w(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=w(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=w(JSON.stringify(e));a.push(e);for(var h in f)if(v.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); +default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!xa(h))break a;g=""+g}e.push(",");k=w(JSON.stringify(k));e.push(k); +e.push(",");g=w(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")}function La(a){var b=L?L:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;H(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}pc(b)}}} +function db(a,b){var c=L?L:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;H(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}pc(c)}}} +function eb(a,b,c){var d=L?L:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=kb;e=[];H(e,r({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];H(g,r({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?kb:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);H(g,r({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?kb:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=r({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}H(e,c);g[a]=kb}pc(d)}}} +function fb(a,b){var c=L?L:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?kb:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=kb}H(f,r({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);pc(c)}}} +function gb(a,b,c){var d=L?L:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:w(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:r({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&Hb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),pc(d))}}} +function hb(a,b){var c=L?L:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=r({src:a,async:!0},b),f&&(2===f.length&&Hb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Kb(a,b),pc(c))}}} +function ib(a,b){var c=L?L:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=r({src:a,type:"module",async:!0},b),f&&(2===f.length&&Hb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Kb(a,b),pc(c))}}}function Hb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function qc(a){this.styles.add(a)} function rc(a){this.stylesheets.add(a)} -function sc(a,b){var c=a.idPrefix;a=c+"P:";var d=c+"S:";c+="B:";var e=new Set,f=new Set,g=new Set,h=new Map,k=new Set,l=new Set,p=new Set,q={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};return{placeholderPrefix:a,segmentPrefix:d,boundaryPrefix:c,startInlineScript:"<script>",htmlChunks:null,headChunks:null,externalRuntimeScript:null,bootstrapChunks:[],charsetChunks:[],preconnectChunks:[],importMapChunks:[],preloadChunks:[],hoistableChunks:[],preconnects:e,fontPreloads:f, -highImagePreloads:g,styles:h,bootstrapScripts:k,scripts:l,bulkPreloads:p,preloads:q,boundaryResources:null,stylesToHoist:!1,generateStaticMarkup:b}}function tc(a,b,c,d){if(c.generateStaticMarkup)return a.push(v(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(v(b)),a=!0);return a} -var uc=Symbol.for("react.element"),vc=Symbol.for("react.portal"),wc=Symbol.for("react.fragment"),xc=Symbol.for("react.strict_mode"),yc=Symbol.for("react.profiler"),zc=Symbol.for("react.provider"),Ac=Symbol.for("react.context"),Bc=Symbol.for("react.server_context"),Cc=Symbol.for("react.forward_ref"),Dc=Symbol.for("react.suspense"),Ec=Symbol.for("react.suspense_list"),Fc=Symbol.for("react.memo"),$c=Symbol.for("react.lazy"),ad=Symbol.for("react.scope"),bd=Symbol.for("react.debug_trace_mode"),cd=Symbol.for("react.offscreen"), -dd=Symbol.for("react.legacy_hidden"),ed=Symbol.for("react.cache"),fd=Symbol.for("react.default_value"),gd=Symbol.for("react.memo_cache_sentinel"),hd=Symbol.for("react.postpone"),id=Symbol.iterator; -function jd(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case wc:return"Fragment";case vc:return"Portal";case yc:return"Profiler";case xc:return"StrictMode";case Dc:return"Suspense";case Ec:return"SuspenseList";case ed:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case Ac:return(a.displayName||"Context")+".Consumer";case zc:return(a._context.displayName||"Context")+".Provider";case Cc:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Fc:return b=a.displayName||null,null!==b?b:jd(a.type)||"Memo";case $c:b=a._payload;a=a._init;try{return jd(a(b))}catch(c){break}case Bc:return(a.displayName||a._globalName)+".Provider"}return null}var kd={};function ld(a,b){a=a.contextTypes;if(!a)return kd;var c={},d;for(d in a)c[d]=b[d];return c}var md=null; -function nd(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");nd(a,c)}b.context._currentValue2=b.value}}function od(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&od(a)} -function pd(a){var b=a.parent;null!==b&&pd(b);a.context._currentValue2=a.value}function qd(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?nd(a,b):qd(a,b)} -function rd(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?nd(a,c):rd(a,c);b.context._currentValue2=b.value}function sd(a){var b=md;b!==a&&(null===b?pd(a):null===a?od(b):b.depth===a.depth?nd(b,a):b.depth>a.depth?qd(b,a):rd(b,a),md=a)} -var td={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function ud(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=td;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:r({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&td.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=r({},f,h)):r(f,h))}a.state=f}else f.queue=null} -var vd={id:1,overflow:""};function wd(a,b,c){var d=a.id;a=a.overflow;var e=32-xd(d)-1;d&=~(1<<e);c+=1;var f=32-xd(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-xd(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var xd=Math.clz32?Math.clz32:yd,zd=Math.log,Ad=Math.LN2;function yd(a){a>>>=0;return 0===a?32:31-(zd(a)/Ad|0)|0}var Bd=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Cd(){}function Dd(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Cd,Cd),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ed=b;throw Bd;}}var Ed=null; -function Fd(){if(null===Ed)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ed;Ed=null;return a}function Gd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Hd="function"===typeof Object.is?Object.is:Gd,S=null,Id=null,Jd=null,Kd=null,Ld=null,T=null,Md=!1,Nd=!1,Od=0,Pd=0,Qd=-1,Rd=0,Sd=null,Td=null,Ud=0; -function Vd(){if(null===S)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return S} -function Wd(){if(0<Ud)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Xd(){null===T?null===Ld?(Md=!1,Ld=T=Wd()):(Md=!0,T=Ld):null===T.next?(Md=!1,T=T.next=Wd()):(Md=!0,T=T.next);return T}function Yd(a,b,c,d){for(;Nd;)Nd=!1,Pd=Od=0,Qd=-1,Rd=0,Ud+=1,T=null,c=a(b,d);Zd();return c}function $d(){var a=Sd;Sd=null;return a}function Zd(){Kd=Jd=Id=S=null;Nd=!1;Ld=null;Ud=0;T=Td=null} -function ae(a,b){return"function"===typeof b?b(a):b}function be(a,b,c){S=Vd();T=Xd();if(Md){var d=T.queue;b=d.dispatch;if(null!==Td&&(c=Td.get(d),void 0!==c)){Td.delete(d);d=T.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);T.memoizedState=d;return[d,b]}return[T.memoizedState,b]}a=a===ae?"function"===typeof b?b():b:void 0!==c?c(b):b;T.memoizedState=a;a=T.queue={last:null,dispatch:null};a=a.dispatch=ce.bind(null,S,a);return[T.memoizedState,a]} -function de(a,b){S=Vd();T=Xd();b=void 0===b?null:b;if(null!==T){var c=T.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Hd(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();T.memoizedState=[a,b];return a} -function ce(a,b,c){if(25<=Ud)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===S)if(Nd=!0,a={action:c,next:null},null===Td&&(Td=new Map),c=Td.get(b),void 0===c)Td.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function ee(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.");}function fe(){throw Error("startTransition cannot be called during server rendering.");} -function ge(){throw Error("Cannot update optimistic state while rendering.");}function he(a){var b=Rd;Rd+=1;null===Sd&&(Sd=[]);return Dd(Sd,a,b)}function ie(){throw Error("Cache cannot be refreshed during server rendering.");}function je(){} -var le={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return he(a);if(a.$$typeof===Ac||a.$$typeof===Bc)return a._currentValue2}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){Vd();return a._currentValue2},useMemo:de,useReducer:be,useRef:function(a){S=Vd();T=Xd();var b=T.memoizedState;return null===b?(a={current:a},T.memoizedState=a):b},useState:function(a){return be(ae,a)}, -useInsertionEffect:je,useLayoutEffect:je,useCallback:function(a,b){return de(function(){return a},b)},useImperativeHandle:je,useEffect:je,useDebugValue:je,useDeferredValue:function(a){Vd();return a},useTransition:function(){Vd();return[!1,fe]},useId:function(){var a=Id.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-xd(a)-1)).toString(32)+b;var c=ke;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Od++;a=":"+c.idPrefix+"R"+a;0<b&& -(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return ie},useEffectEvent:function(){return ee},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=gd;return b},useHostTransitionStatus:function(){Vd();return Ja},useOptimistic:function(a){Vd();return[a,ge]},useFormState:function(a,b,c){Vd(); -var d=Pd++,e=Jd;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Kd;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ja(JSON.stringify([g,null,d]),0),k===f&&(Qd=d,b=e[0]))}var l=a.bind(null,b);a=function(q){l(q)};"function"===typeof l.$$FORM_ACTION&&(a.$$FORM_ACTION=function(q){q=l.$$FORM_ACTION(q);void 0!==c&&(c+="",q.action=c);var m=q.data;m&&(null===f&&(f=void 0!==c?"p"+c:"k"+ja(JSON.stringify([g,null,d]), -0)),m.append("$ACTION_KEY",f));return q});return[b,a]}var p=a.bind(null,b);return[b,function(q){p(q)}]}},ke=null,ne={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},oe=Ia.ReactCurrentDispatcher,pe=Ia.ReactCurrentCache;function qe(a){console.error(a);return null}function re(){} -function se(a,b,c,d,e,f,g,h,k,l,p,q){Ka.current=jb;var m=[],t=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:t,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?qe:f,onPostpone:void 0===p?re:p,onAllReady:void 0===g? -re:g,onShellReady:void 0===h?re:h,onShellError:void 0===k?re:k,onFatalError:void 0===l?re:l,formState:void 0===q?null:q};c=te(b,0,null,d,!1,!1);c.parentFlushed=!0;a=ue(b,null,a,-1,null,c,t,null,d,kd,null,vd);m.push(a);return b}var P=null;function ve(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,we(a))} -function xe(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function ue(a,b,c,d,e,f,g,h,k,l,p,q){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var m={replay:null,node:c,childIndex:d,ping:function(){return ve(a,m)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:q,thenableState:b};g.add(m);return m} -function ye(a,b,c,d,e,f,g,h,k,l,p,q){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var m={replay:c,node:d,childIndex:e,ping:function(){return ve(a,m)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:q,thenableState:b};g.add(m);return m}function te(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function V(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function ze(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function Ae(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((jd(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=r({},c,d)}b.legacyContext=e;W(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,W(a,b,null,f,-1),b.keyPath=e} -function Be(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var l=0;l<f;l++)l===g?k.push("\x3c!--F!--\x3e"):k.push("\x3c!--F--\x3e")}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=wd(c,1,0),X(a,b,d,-1),b.treeContext=c):h?X(a,b,d,-1):W(a,b,null,d,-1);b.keyPath=f}function Ce(a,b){if(a&&a.defaultProps){b=r({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function De(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=ld(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue2:d);ud(h,e,f,d);Ae(a,b,c,h,e)}else{h=ld(e,b.legacyContext);S={};Id=b;Jd=a;Kd=c;Pd=Od=0;Qd=-1;Rd=0;Sd=d;d=e(f,h);d=Yd(e,f,d,h);g=0!==Od;var k=Pd,l=Qd;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(ud(d,e,f,h),Ae(a,b,c,d,e)):Be(a,b,c,d,g,k,l)}else if("string"===typeof e)if(d= -b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=nb(h,e,f),b.keyPath=c,X(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Ob(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=nb(h,e,f);b.keyPath=c;X(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push("</",e,">")}d.lastPushedText=!1}else{switch(e){case dd:case bd:case xc:case yc:case wc:e=b.keyPath;b.keyPath=c;W(a,b,null,f.children,-1);b.keyPath=e;return;case cd:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,W(a,b,null,f.children,-1),b.keyPath=e);return;case Ec:e=b.keyPath;b.keyPath=c;W(a,b,null,f.children,-1);b.keyPath=e;return;case ad:throw Error("ReactDOMServer does not yet support scope components."); -case Dc:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{X(a,b,c,-1)}finally{b.keyPath=e}}else{l=b.keyPath;e=b.blockedBoundary;var p=b.blockedSegment;d=f.fallback;var q=f.children;f=new Set;g=xe(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=te(a,p.chunks.length,g,b.formatContext,!1,!1);p.children.push(k);p.lastPushedText=!1;var m=te(a,0,null,b.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=m;a.renderState.boundaryResources=g.resources;b.keyPath= -c;try{if(X(a,b,q,-1),a.renderState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,Ee(g,m),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(t){m.status=4,g.status=4,"object"===typeof t&&null!==t&&t.$$typeof===hd?(a.onPostpone(t.message),h="POSTPONE"):h=V(a,t),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=p,b.keyPath=l}h=[c[0],"Suspense Fallback",c[2]];l=a.trackedPostpones; -null!==l&&(p=[h[1],h[2],[],null],l.workingMap.set(h,p),5===g.status?l.workingMap.get(c)[4]=p:g.trackedFallbackNode=p);b=ue(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Cc:e=e.render;S={};Id=b;Jd=a;Kd=c;Pd=Od=0;Qd=-1;Rd=0;Sd=d;d=e(f,g);f=Yd(e,f,d,g);Be(a,b,c,f,0!==Od,Pd,Qd);return;case Fc:e=e.type;f=Ce(e,f);De(a,b,c,d,e,f,g);return;case zc:h=f.children;d=b.keyPath;e=e._context;f=f.value; -g=e._currentValue2;e._currentValue2=f;k=md;md=f={parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;W(a,b,null,h,-1);a=md;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue2=c===fd?a.context._defaultValue:c;a=md=a.parent;b.context=a;b.keyPath=d;return;case Ac:f=f.children;f=f(e._currentValue2);e=b.keyPath;b.keyPath=c;W(a,b,null,f,-1);b.keyPath=e;return;case $c:h=e._init; -e=h(e._payload);f=Ce(e,f);De(a,b,c,d,e,f,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==e?e:typeof e)+"."));}} -function Fe(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=te(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,X(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Ee(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function W(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case uc:var f=d.type,g=d.key,h=d.props,k=d.ref,l=jd(f),p=null==g?-1===e?0:e:g;g=[b.keyPath,l,p];if(null!==b.replay)a:{var q=b.replay;e=q.nodes;for(d=0;d<e.length;d++){var m=e[d];if(p===m[1]){if(null!==l&&l!==m[0])throw Error('Expected to see a component of type "'+l+"\" in this slot. The tree doesn't match so React will fallback to client rendering.");if(4===m.length){l=m[2];m=m[3];b.replay={nodes:l, -slots:m,pendingTasks:1};try{if("number"===typeof m){p=a;var t=b,H=t.replay,z=t.blockedBoundary,A=te(p,0,null,t.formatContext,!1,!1);A.id=m;A.parentFlushed=!0;try{t.replay=null,t.blockedSegment=A,De(p,t,g,c,f,h,k),A.status=1,null===z?p.completedRootSegment=A:(Ee(z,A),z.parentFlushed&&p.partialBoundaries.push(z))}finally{t.replay=H,t.blockedSegment=null}}else De(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -}catch(y){if("object"===typeof y&&null!==y&&(y===Bd||"function"===typeof y.then))throw y;Ge(a,b.blockedBoundary,y,l,m)}finally{b.replay.pendingTasks--,b.replay=q}}else{if(f!==Dc)throw Error("Expected to see a Suspense boundary in this slot. The tree doesn't match so React will fallback to client rendering.");b:{f=void 0;A=m[5];c=m[2];k=m[3];H=null===m[4]?[]:m[4][2];m=null===m[4]?null:m[4][3];l=b.keyPath;p=b.replay;z=b.blockedBoundary;t=h.children;h=h.fallback;q=new Set;var n=xe(a,q);n.parentFlushed= -!0;n.rootSegmentID=A;b.blockedBoundary=n;b.replay={nodes:c,slots:k,pendingTasks:1};a.renderState.boundaryResources=n.resources;try{"number"===typeof k?Fe(a,b,k,t,-1):X(a,b,t,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===n.pendingTasks&&0===n.status){n.status=1;a.completedBoundaries.push(n);break b}}catch(y){n.status= -4,"object"===typeof y&&null!==y&&y.$$typeof===hd?(a.onPostpone(y.message),f="POSTPONE"):f=V(a,y),n.errorDigest=f,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(n)}finally{a.renderState.boundaryResources=z?z.resources:null,b.blockedBoundary=z,b.replay=p,b.keyPath=l}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof m?(f=te(a,0,null,b.formatContext,!1,!1),f.id=m,f.parentFlushed=!0,h=ue(a,null,h,-1,z,f,q,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):h=ye(a,null,{nodes:H,slots:m, -pendingTasks:0},h,-1,z,q,g,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else De(a,b,g,c,f,h,k);return;case vc:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case $c:h=d._init;d=h(d._payload);W(a,b,null,d,e);return}if(Ha(d)){He(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=id&&d[id]||d["@@iterator"],h="function"===typeof h?h:null); -if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);He(a,b,g,e)}return}if("function"===typeof d.then)return W(a,b,null,he(d),e);if(d.$$typeof===Ac||d.$$typeof===Bc)return W(a,b,null,d._currentValue2,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"=== -typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=tc(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=tc(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function He(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{if(He(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");}catch(p){if("object"===typeof p&&null!==p&&(p===Bd|| -"function"===typeof p.then))throw p;Ge(a,b.blockedBoundary,p,d,k)}finally{b.replay.pendingTasks--,b.replay=f}g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=wd(f,g,k);var l=h[k];"number"===typeof l?(Fe(a,b,l,d,k),delete h[k]):X(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=wd(f,g,h),X(a,b,k,h);b.treeContext=f;b.keyPath=e} -function Ie(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Je(d,g[0],b);return}var l=b.workingMap.get(g);void 0===l?(l=[g[1],g[2],k,null, -h,f.rootSegmentID],b.workingMap.set(g,l),Je(l,g[0],b)):(g=l,g[4]=h,g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Je(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React."); -}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Je(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");a[c.childIndex]=d.id}} -function X(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,l=b.blockedSegment;if(null===l)try{return W(a,b,null,c,d)}catch(m){if(Zd(),d=m===Bd?Fd():m,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=$d();a=ye(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;sd(g);return}}else{var p= -l.children.length,q=l.chunks.length;try{return W(a,b,null,c,d)}catch(m){if(Zd(),l.children.length=p,l.chunks.length=q,d=m===Bd?Fd():m,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=$d();l=b.blockedSegment;p=te(a,l.chunks.length,null,b.formatContext,l.lastPushedText,!0);l.children.push(p);l.lastPushedText=!1;a=ue(a,d,b.node,b.childIndex,b.blockedBoundary,p,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=k;sd(g);return}if(null!==a.trackedPostpones&&d.$$typeof===hd&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;l=te(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(l);d.lastPushedText=!1;Ie(a,c,b,l);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;sd(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;sd(g);throw d;} -function Ge(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===hd){a.onPostpone(c.message);var f="POSTPONE"}else f=V(a,c);Ke(a,b,d,e,c,f)}function Le(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Me(this,b,a))} -function Ke(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Ke(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,l=f,p=xe(k,new Set);p.parentFlushed=!0;p.rootSegmentID=h;p.status=4;p.errorDigest=l;p.parentFlushed&&k.clientRenderedBoundaries.push(p)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var q in d)delete d[q]}} -function Ne(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(V(b,c),ze(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=V(b,c),Ke(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=V(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Ne(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function Ee(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Ee(a,c)}else a.completedSegments.push(b)} -function Me(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=re,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Ee(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Le, -a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Ee(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function we(a){if(2!==a.status){var b=md,c=oe.current;oe.current=le;var d=pe.current;pe.current=ne;var e=P;P=a;var f=ke;ke=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],l=a,p=k.blockedBoundary;l.renderState.boundaryResources=p?p.resources:null;var q=k.blockedSegment;if(null===q){var m=l;if(0!==k.replay.pendingTasks){sd(k.context);try{var t=k.thenableState;k.thenableState=null;W(m,k,t,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -k.replay.pendingTasks--;k.abortSet.delete(k);Me(m,k.blockedBoundary,null)}catch(N){Zd();var H=N===Bd?Fd():N;if("object"===typeof H&&null!==H&&"function"===typeof H.then){var z=k.ping;H.then(z,z);k.thenableState=$d()}else if(k.replay.pendingTasks--,k.abortSet.delete(k),Ge(m,k.blockedBoundary,H,k.replay.nodes,k.replay.slots),m.allPendingTasks--,0===m.allPendingTasks){var A=m.onAllReady;A()}}finally{m.renderState.boundaryResources=null}}}else a:{m=void 0;var n=q;if(0===n.status){sd(k.context);var y= -n.children.length,Y=n.chunks.length;try{var I=k.thenableState;k.thenableState=null;W(l,k,I,k.node,k.childIndex);l.renderState.generateStaticMarkup||n.lastPushedText&&n.textEmbedded&&n.chunks.push("\x3c!-- --\x3e");k.abortSet.delete(k);n.status=1;Me(l,k.blockedBoundary,n)}catch(N){Zd();n.children.length=y;n.chunks.length=Y;var w=N===Bd?Fd():N;if("object"===typeof w&&null!==w){if("function"===typeof w.then){var C=k.ping;w.then(C,C);k.thenableState=$d();break a}if(null!==l.trackedPostpones&&w.$$typeof=== -hd&&null!==k.blockedBoundary){var B=l.trackedPostpones;k.abortSet.delete(k);l.onPostpone(w.message);Ie(l,B,k,n);Me(l,k.blockedBoundary,n);break a}}k.abortSet.delete(k);n.status=4;var J=k.blockedBoundary;"object"===typeof w&&null!==w&&w.$$typeof===hd?(l.onPostpone(w.message),m="POSTPONE"):m=V(l,w);null===J?ze(l,w):(J.pendingTasks--,4!==J.status&&(J.status=4,J.errorDigest=m,J.parentFlushed&&l.clientRenderedBoundaries.push(J)));l.allPendingTasks--;if(0===l.allPendingTasks){var Ba=l.onAllReady;Ba()}}finally{l.renderState.boundaryResources= -null}}}}g.splice(0,h);null!==a.destination&&Oe(a,a.destination)}catch(N){V(a,N),ze(a,N)}finally{ke=f,oe.current=c,pe.current=d,c===le&&sd(b),P=e}}} -function Pe(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=Qe(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); +function sc(a,b){var c=a.idPrefix;a=c+"P:";var d=c+"S:";c+="B:";var e=new Set,f=new Set,g=new Set,h=new Map,k=new Set,l=new Set,n=new Set,q={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};return{placeholderPrefix:a,segmentPrefix:d,boundaryPrefix:c,startInlineScript:"<script>",htmlChunks:null,headChunks:null,externalRuntimeScript:null,bootstrapChunks:[],charsetChunks:[],preconnectChunks:[],importMapChunks:[],preloadChunks:[],hoistableChunks:[],preconnects:e,fontPreloads:f, +highImagePreloads:g,styles:h,bootstrapScripts:k,scripts:l,bulkPreloads:n,preloads:q,boundaryResources:null,stylesToHoist:!1,generateStaticMarkup:b}}function tc(a,b,c,d){if(c.generateStaticMarkup)return a.push(w(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(w(b)),a=!0);return a} +var uc=Symbol.for("react.element"),vc=Symbol.for("react.portal"),wc=Symbol.for("react.fragment"),xc=Symbol.for("react.strict_mode"),yc=Symbol.for("react.profiler"),zc=Symbol.for("react.provider"),Ac=Symbol.for("react.context"),Bc=Symbol.for("react.server_context"),Cc=Symbol.for("react.forward_ref"),Dc=Symbol.for("react.suspense"),Ec=Symbol.for("react.suspense_list"),Fc=Symbol.for("react.memo"),ad=Symbol.for("react.lazy"),bd=Symbol.for("react.scope"),cd=Symbol.for("react.debug_trace_mode"),dd=Symbol.for("react.offscreen"), +ed=Symbol.for("react.legacy_hidden"),fd=Symbol.for("react.cache"),gd=Symbol.for("react.default_value"),hd=Symbol.for("react.memo_cache_sentinel"),id=Symbol.for("react.postpone"),jd=Symbol.iterator; +function kd(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case wc:return"Fragment";case vc:return"Portal";case yc:return"Profiler";case xc:return"StrictMode";case Dc:return"Suspense";case Ec:return"SuspenseList";case fd:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case Ac:return(a.displayName||"Context")+".Consumer";case zc:return(a._context.displayName||"Context")+".Provider";case Cc:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Fc:return b=a.displayName||null,null!==b?b:kd(a.type)||"Memo";case ad:b=a._payload;a=a._init;try{return kd(a(b))}catch(c){break}case Bc:return(a.displayName||a._globalName)+".Provider"}return null}var ld={};function md(a,b){a=a.contextTypes;if(!a)return ld;var c={},d;for(d in a)c[d]=b[d];return c}var nd=null; +function od(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");od(a,c)}b.context._currentValue2=b.value}}function pd(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&pd(a)} +function qd(a){var b=a.parent;null!==b&&qd(b);a.context._currentValue2=a.value}function rd(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?od(a,b):rd(a,b)} +function sd(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?od(a,c):sd(a,c);b.context._currentValue2=b.value}function td(a){var b=nd;b!==a&&(null===b?qd(a):null===a?pd(b):b.depth===a.depth?od(b,a):b.depth>a.depth?rd(b,a):sd(b,a),nd=a)} +var ud={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function vd(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=ud;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:r({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&ud.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=r({},f,h)):r(f,h))}a.state=f}else f.queue=null} +var wd={id:1,overflow:""};function xd(a,b,c){var d=a.id;a=a.overflow;var e=32-yd(d)-1;d&=~(1<<e);c+=1;var f=32-yd(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-yd(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var yd=Math.clz32?Math.clz32:zd,Ad=Math.log,Bd=Math.LN2;function zd(a){a>>>=0;return 0===a?32:31-(Ad(a)/Bd|0)|0}var Cd=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Dd(){}function Ed(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Dd,Dd),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Fd=b;throw Cd;}}var Fd=null; +function Gd(){if(null===Fd)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Fd;Fd=null;return a}function Hd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Id="function"===typeof Object.is?Object.is:Hd,S=null,Jd=null,Kd=null,Ld=null,Md=null,T=null,Nd=!1,Od=!1,Pd=0,Qd=0,Rd=-1,Sd=0,Td=null,Ud=null,Vd=0; +function Wd(){if(null===S)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return S} +function Xd(){if(0<Vd)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Yd(){null===T?null===Md?(Nd=!1,Md=T=Xd()):(Nd=!0,T=Md):null===T.next?(Nd=!1,T=T.next=Xd()):(Nd=!0,T=T.next);return T}function Zd(a,b,c,d){for(;Od;)Od=!1,Qd=Pd=0,Rd=-1,Sd=0,Vd+=1,T=null,c=a(b,d);$d();return c}function ae(){var a=Td;Td=null;return a}function $d(){Ld=Kd=Jd=S=null;Od=!1;Md=null;Vd=0;T=Ud=null} +function be(a,b){return"function"===typeof b?b(a):b}function ce(a,b,c){S=Wd();T=Yd();if(Nd){var d=T.queue;b=d.dispatch;if(null!==Ud&&(c=Ud.get(d),void 0!==c)){Ud.delete(d);d=T.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);T.memoizedState=d;return[d,b]}return[T.memoizedState,b]}a=a===be?"function"===typeof b?b():b:void 0!==c?c(b):b;T.memoizedState=a;a=T.queue={last:null,dispatch:null};a=a.dispatch=de.bind(null,S,a);return[T.memoizedState,a]} +function ee(a,b){S=Wd();T=Yd();b=void 0===b?null:b;if(null!==T){var c=T.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Id(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();T.memoizedState=[a,b];return a} +function de(a,b,c){if(25<=Vd)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===S)if(Od=!0,a={action:c,next:null},null===Ud&&(Ud=new Map),c=Ud.get(b),void 0===c)Ud.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function fe(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.");}function ge(){throw Error("startTransition cannot be called during server rendering.");} +function he(){throw Error("Cannot update optimistic state while rendering.");}function ie(a){var b=Sd;Sd+=1;null===Td&&(Td=[]);return Ed(Td,a,b)}function je(){throw Error("Cache cannot be refreshed during server rendering.");}function ke(){} +var me={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return ie(a);if(a.$$typeof===Ac||a.$$typeof===Bc)return a._currentValue2}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){Wd();return a._currentValue2},useMemo:ee,useReducer:ce,useRef:function(a){S=Wd();T=Yd();var b=T.memoizedState;return null===b?(a={current:a},T.memoizedState=a):b},useState:function(a){return ce(be,a)}, +useInsertionEffect:ke,useLayoutEffect:ke,useCallback:function(a,b){return ee(function(){return a},b)},useImperativeHandle:ke,useEffect:ke,useDebugValue:ke,useDeferredValue:function(a,b){Wd();return void 0!==b?b:a},useTransition:function(){Wd();return[!1,ge]},useId:function(){var a=Jd.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-yd(a)-1)).toString(32)+b;var c=le;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Pd++;a=":"+c.idPrefix+ +"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return je},useEffectEvent:function(){return fe},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=hd;return b},useHostTransitionStatus:function(){Wd();return Ja},useOptimistic:function(a){Wd();return[a,he]},useFormState:function(a, +b,c){Wd();var d=Qd++,e=Kd;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Ld;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ka(JSON.stringify([g,null,d]),0),k===f&&(Rd=d,b=e[0]))}var l=a.bind(null,b);a=function(q){l(q)};"function"===typeof l.$$FORM_ACTION&&(a.$$FORM_ACTION=function(q){q=l.$$FORM_ACTION(q);void 0!==c&&(c+="",q.action=c);var m=q.data;m&&(null===f&&(f=void 0!==c?"p"+c:"k"+ka(JSON.stringify([g, +null,d]),0)),m.append("$ACTION_KEY",f));return q});return[b,a]}var n=a.bind(null,b);return[b,function(q){n(q)}]}},le=null,oe={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},pe=Ia.ReactCurrentDispatcher,qe=Ia.ReactCurrentCache;function re(a){console.error(a);return null}function se(){} +function te(a,b,c,d,e,f,g,h,k,l,n,q){Ka.current=jb;var m=[],y=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:y,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?re:f,onPostpone:void 0===n?se:n,onAllReady:void 0===g? +se:g,onShellReady:void 0===h?se:h,onShellError:void 0===k?se:k,onFatalError:void 0===l?se:l,formState:void 0===q?null:q};c=ue(b,0,null,d,!1,!1);c.parentFlushed=!0;a=ve(b,null,a,-1,null,c,y,null,d,ld,null,wd);m.push(a);return b}var L=null;function we(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,xe(a))} +function ye(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function ve(a,b,c,d,e,f,g,h,k,l,n,q){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var m={replay:null,node:c,childIndex:d,ping:function(){return we(a,m)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:n,treeContext:q,thenableState:b};g.add(m);return m} +function ze(a,b,c,d,e,f,g,h,k,l,n,q){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var m={replay:c,node:d,childIndex:e,ping:function(){return we(a,m)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:n,treeContext:q,thenableState:b};g.add(m);return m}function ue(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function W(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Ae(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function Be(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((kd(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=r({},c,d)}b.legacyContext=e;X(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,X(a,b,null,f,-1),b.keyPath=e} +function Ce(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var l=0;l<f;l++)l===g?k.push("\x3c!--F!--\x3e"):k.push("\x3c!--F--\x3e")}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=xd(c,1,0),Y(a,b,d,-1),b.treeContext=c):h?Y(a,b,d,-1):X(a,b,null,d,-1);b.keyPath=f}function De(a,b){if(a&&a.defaultProps){b=r({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Ee(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=md(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue2:d);vd(h,e,f,d);Be(a,b,c,h,e)}else{h=md(e,b.legacyContext);S={};Jd=b;Kd=a;Ld=c;Qd=Pd=0;Rd=-1;Sd=0;Td=d;d=e(f,h);d=Zd(e,f,d,h);g=0!==Pd;var k=Qd,l=Rd;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(vd(d,e,f,h),Be(a,b,c,d,e)):Ce(a,b,c,d,g,k,l)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=nb(h,e,f),b.keyPath=c,Y(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Ob(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=nb(h,e,f);b.keyPath=c;Y(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push("</",e,">")}d.lastPushedText=!1}else{switch(e){case ed:case cd:case xc:case yc:case wc:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case dd:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,X(a,b,null,f.children,-1),b.keyPath=e);return;case Ec:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case bd:throw Error("ReactDOMServer does not yet support scope components."); +case Dc:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Y(a,b,c,-1)}finally{b.keyPath=e}}else{l=b.keyPath;e=b.blockedBoundary;var n=b.blockedSegment;d=f.fallback;var q=f.children;f=new Set;g=ye(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=ue(a,n.chunks.length,g,b.formatContext,!1,!1);n.children.push(k);n.lastPushedText=!1;var m=ue(a,0,null,b.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=m;a.renderState.boundaryResources=g.resources;b.keyPath= +c;try{if(Y(a,b,q,-1),a.renderState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,Fe(g,m),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(y){m.status=4,g.status=4,"object"===typeof y&&null!==y&&y.$$typeof===id?(a.onPostpone(y.message),h="POSTPONE"):h=W(a,y),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=n,b.keyPath=l}h=[c[0],"Suspense Fallback",c[2]];l=a.trackedPostpones; +null!==l&&(n=[h[1],h[2],[],null],l.workingMap.set(h,n),5===g.status?l.workingMap.get(c)[4]=n:g.trackedFallbackNode=n);b=ve(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Cc:e=e.render;S={};Jd=b;Kd=a;Ld=c;Qd=Pd=0;Rd=-1;Sd=0;Td=d;d=e(f,g);f=Zd(e,f,d,g);Ce(a,b,c,f,0!==Pd,Qd,Rd);return;case Fc:e=e.type;f=De(e,f);Ee(a,b,c,d,e,f,g);return;case zc:h=f.children;d=b.keyPath;e=e._context;f=f.value; +g=e._currentValue2;e._currentValue2=f;k=nd;nd=f={parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;X(a,b,null,h,-1);a=nd;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue2=c===gd?a.context._defaultValue:c;a=nd=a.parent;b.context=a;b.keyPath=d;return;case Ac:f=f.children;f=f(e._currentValue2);e=b.keyPath;b.keyPath=c;X(a,b,null,f,-1);b.keyPath=e;return;case ad:h=e._init; +e=h(e._payload);f=De(e,f);Ee(a,b,c,d,e,f,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==e?e:typeof e)+"."));}} +function Ge(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=ue(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Y(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Fe(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function X(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Ge(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case uc:var f=d.type,g=d.key,h=d.props,k=d.ref,l=kd(f),n=null==g?-1===e?0:e:g;g=[b.keyPath,l,n];if(null!==b.replay)a:{var q=b.replay;e=q.nodes;for(d=0;d<e.length;d++){var m=e[d];if(n===m[1]){if(4===m.length){if(null!==l&&l!==m[0])throw Error("Expected the resume to render <"+m[0]+"> in this slot but instead it rendered <"+ +l+">. The tree doesn't match so React will fallback to client rendering.");l=m[2];m=m[3];n=b.node;b.replay={nodes:l,slots:m,pendingTasks:1};try{Ee(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(t){if("object"===typeof t&&null!==t&&(t===Cd||"function"===typeof t.then))throw b.node===n&&(b.replay=q),t;b.replay.pendingTasks--; +He(a,b.blockedBoundary,t,l,m)}b.replay=q}else{if(f!==Dc)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(kd(f)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");b:{c=void 0;f=m[5];k=m[2];q=m[3];l=null===m[4]?[]:m[4][2];m=null===m[4]?null:m[4][3];n=b.keyPath;var y=b.replay,A=b.blockedBoundary,Q=h.children;h=h.fallback;var M=new Set,p=ye(a,M);p.parentFlushed=!0;p.rootSegmentID=f;b.blockedBoundary=p;b.replay={nodes:k,slots:q, +pendingTasks:1};a.renderState.boundaryResources=p.resources;try{Y(a,b,Q,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===p.pendingTasks&&0===p.status){p.status=1;a.completedBoundaries.push(p);break b}}catch(t){p.status=4,"object"===typeof t&&null!==t&&t.$$typeof===id?(a.onPostpone(t.message),c="POSTPONE"):c=W(a,t), +p.errorDigest=c,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(p)}finally{a.renderState.boundaryResources=A?A.resources:null,b.blockedBoundary=A,b.replay=y,b.keyPath=n}h=ze(a,null,{nodes:l,slots:m,pendingTasks:0},h,-1,A,M,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else Ee(a,b,g,c,f,h,k);return;case vc:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render."); +case ad:h=d._init;d=h(d._payload);X(a,b,null,d,e);return}if(Ha(d)){Ie(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=jd&&d[jd]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Ie(a,b,g,e)}return}if("function"===typeof d.then)return X(a,b,null,ie(d),e);if(d.$$typeof===Ac||d.$$typeof===Bc)return X(a,b,null,d._currentValue2,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+ +("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=tc(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=tc(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Ie(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{Ie(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(n){if("object"===typeof n&& +null!==n&&(n===Cd||"function"===typeof n.then))throw n;b.replay.pendingTasks--;He(a,b.blockedBoundary,n,d,k)}b.replay=f;g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=xd(f,g,k);var l=h[k];"number"===typeof l?(Ge(a,b,l,d,k),delete h[k]):Y(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=xd(f,g,h),Y(a,b,k,h);b.treeContext=f;b.keyPath=e} +function Je(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Ke(d,g[0],b);return}var l=b.workingMap.get(g);void 0===l?(l=[g[1],g[2],k,null, +h,f.rootSegmentID],b.workingMap.set(g,l),Ke(l,g[0],b)):(g=l,g[4]=h,g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Ke(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React."); +}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Ke(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");a[c.childIndex]=d.id}} +function Y(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,l=b.blockedSegment;if(null===l)try{return X(a,b,null,c,d)}catch(m){if($d(),d=m===Cd?Gd():m,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=ae();a=ze(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;td(g);return}}else{var n= +l.children.length,q=l.chunks.length;try{return X(a,b,null,c,d)}catch(m){if($d(),l.children.length=n,l.chunks.length=q,d=m===Cd?Gd():m,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=ae();l=b.blockedSegment;n=ue(a,l.chunks.length,null,b.formatContext,l.lastPushedText,!0);l.children.push(n);l.lastPushedText=!1;a=ve(a,d,b.node,b.childIndex,b.blockedBoundary,n,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=k;td(g);return}if(null!==a.trackedPostpones&&d.$$typeof===id&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;l=ue(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(l);d.lastPushedText=!1;Je(a,c,b,l);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;td(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;td(g);throw d;} +function He(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===id){a.onPostpone(c.message);var f="POSTPONE"}else f=W(a,c);Le(a,b,d,e,c,f)}function Me(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Ne(this,b,a))} +function Le(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Le(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,l=f,n=ye(k,new Set);n.parentFlushed=!0;n.rootSegmentID=h;n.status=4;n.errorDigest=l;n.parentFlushed&&k.clientRenderedBoundaries.push(n)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var q in d)delete d[q]}} +function Oe(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){W(b,c);Ae(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=W(b,c),Le(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=se,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=W(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Oe(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Fe(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Fe(a,c)}else a.completedSegments.push(b)} +function Ne(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=se,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Fe(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Me, +a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Fe(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function xe(a){if(2!==a.status){var b=nd,c=pe.current;pe.current=me;var d=qe.current;qe.current=oe;var e=L;L=a;var f=le;le=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],l=a,n=k.blockedBoundary;l.renderState.boundaryResources=n?n.resources:null;var q=k.blockedSegment;if(null===q){var m=l;if(0!==k.replay.pendingTasks){td(k.context);try{var y=k.thenableState;k.thenableState=null;X(m,k,y,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); +k.replay.pendingTasks--;k.abortSet.delete(k);Ne(m,k.blockedBoundary,null)}catch(G){$d();var A=G===Cd?Gd():G;if("object"===typeof A&&null!==A&&"function"===typeof A.then){var Q=k.ping;A.then(Q,Q);k.thenableState=ae()}else{k.replay.pendingTasks--;k.abortSet.delete(k);He(m,k.blockedBoundary,A,k.replay.nodes,k.replay.slots);m.pendingRootTasks--;if(0===m.pendingRootTasks){m.onShellError=se;var M=m.onShellReady;M()}m.allPendingTasks--;if(0===m.allPendingTasks){var p=m.onAllReady;p()}}}finally{m.renderState.boundaryResources= +null}}}else a:{m=void 0;var t=q;if(0===t.status){td(k.context);var Z=t.children.length,F=t.chunks.length;try{var N=k.thenableState;k.thenableState=null;X(l,k,N,k.node,k.childIndex);l.renderState.generateStaticMarkup||t.lastPushedText&&t.textEmbedded&&t.chunks.push("\x3c!-- --\x3e");k.abortSet.delete(k);t.status=1;Ne(l,k.blockedBoundary,t)}catch(G){$d();t.children.length=Z;t.chunks.length=F;var u=G===Cd?Gd():G;if("object"===typeof u&&null!==u){if("function"===typeof u.then){var z=k.ping;u.then(z,z); +k.thenableState=ae();break a}if(null!==l.trackedPostpones&&u.$$typeof===id&&null!==k.blockedBoundary){var U=l.trackedPostpones;k.abortSet.delete(k);l.onPostpone(u.message);Je(l,U,k,t);Ne(l,k.blockedBoundary,t);break a}}k.abortSet.delete(k);t.status=4;var P=k.blockedBoundary;"object"===typeof u&&null!==u&&u.$$typeof===id?(l.onPostpone(u.message),m="POSTPONE"):m=W(l,u);null===P?Ae(l,u):(P.pendingTasks--,4!==P.status&&(P.status=4,P.errorDigest=m,P.parentFlushed&&l.clientRenderedBoundaries.push(P))); +l.allPendingTasks--;if(0===l.allPendingTasks){var da=l.onAllReady;da()}}finally{l.renderState.boundaryResources=null}}}}g.splice(0,h);null!==a.destination&&Pe(a,a.destination)}catch(G){W(a,G),Ae(a,G)}finally{le=f,pe.current=c,qe.current=d,c===me&&td(b),L=e}}} +function Qe(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=Re(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); }} -function Qe(a,b,c){var d=c.boundary;if(null===d)return Pe(a,b,c);d.parentFlushed=!0;if(4===d.status)return a.renderState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=v(d),b.push(d),b.push('"')),b.push("></template>")),Pe(a,b,c),a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(1!==d.status)return 0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Qb(b,a.renderState, -d.rootSegmentID),Pe(a,b,c),b.push("\x3c!--/$--\x3e");if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Qb(b,a.renderState,d.rootSegmentID),Pe(a,b,c),b.push("\x3c!--/$--\x3e");c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(qc,e),c.stylesheets.forEach(rc,e));a.renderState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React."); -Qe(a,b,c[0]);a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e");return a}function Re(a,b,c){Rb(b,a.renderState,c.parentFormatContext,c.id);Qe(a,b,c);return Sb(b,c.parentFormatContext)} -function Se(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Te(a,b,c,d[e]);d.length=0;hc(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(b.push(a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): +function Re(a,b,c){var d=c.boundary;if(null===d)return Qe(a,b,c);d.parentFlushed=!0;if(4===d.status)return a.renderState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=w(d),b.push(d),b.push('"')),b.push("></template>")),Qe(a,b,c),a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(1!==d.status)return 0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Qb(b,a.renderState, +d.rootSegmentID),Qe(a,b,c),b.push("\x3c!--/$--\x3e");if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Qb(b,a.renderState,d.rootSegmentID),Qe(a,b,c),b.push("\x3c!--/$--\x3e");c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(qc,e),c.stylesheets.forEach(rc,e));a.renderState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React."); +Re(a,b,c[0]);a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e");return a}function Se(a,b,c){Rb(b,a.renderState,c.parentFormatContext,c.id);Re(a,b,c);return Sb(b,c.parentFormatContext)} +function Te(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Ue(a,b,c,d[e]);d.length=0;hc(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(b.push(a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): 0===(d.instructions&8)?(d.instructions|=8,b.push('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): b.push('$RR("'):0===(d.instructions&2)?(d.instructions|=2,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("')): b.push('$RC("')):f?b.push('<template data-rri="" data-bid="'):b.push('<template data-rci="" data-bid="');d=e.toString(16);b.push(a.boundaryPrefix);b.push(d);g?b.push('","'):b.push('" data-sid="');b.push(a.segmentPrefix);b.push(d);f?g?(b.push('",'),nc(b,c)):(b.push('" data-sty="'),oc(b,c)):g&&b.push('"');d=g?b.push(")\x3c/script>"):b.push('"></template>');return Pb(b,a)&&d} -function Te(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Re(a,b,d)}if(e===c.rootSegmentID)return Re(a,b,d);Re(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(b.push(a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')): +function Ue(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Se(a,b,d)}if(e===c.rootSegmentID)return Se(a,b,d);Se(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(b.push(a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')): b.push('$RS("')):b.push('<template data-rsi="" data-sid="');b.push(a.segmentPrefix);e=e.toString(16);b.push(e);d?b.push('","'):b.push('" data-pid="');b.push(a.placeholderPrefix);b.push(e);b=d?b.push('")\x3c/script>'):b.push('"></template>');return b} -function Oe(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var l=e.htmlChunks,p=e.headChunks;f=0;if(l){for(f=0;f<l.length;f++)b.push(l[f]);if(p)for(f=0;f<p.length;f++)b.push(p[f]);else{var q=L("head");b.push(q);b.push(">")}}else if(p)for(f= -0;f<p.length;f++)b.push(p[f]);var m=e.charsetChunks;for(f=0;f<m.length;f++)b.push(m[f]);m.length=0;e.preconnects.forEach(M,b);e.preconnects.clear();var t=e.preconnectChunks;for(f=0;f<t.length;f++)b.push(t[f]);t.length=0;e.fontPreloads.forEach(M,b);e.fontPreloads.clear();e.highImagePreloads.forEach(M,b);e.highImagePreloads.clear();e.styles.forEach(kc,b);var H=e.importMapChunks;for(f=0;f<H.length;f++)b.push(H[f]);H.length=0;e.bootstrapScripts.forEach(M,b);e.scripts.forEach(M,b);e.scripts.clear();e.bulkPreloads.forEach(M, -b);e.bulkPreloads.clear();var z=e.preloadChunks;for(f=0;f<z.length;f++)b.push(z[f]);z.length=0;var A=e.hoistableChunks;for(f=0;f<A.length;f++)b.push(A[f]);A.length=0;l&&null===p&&(b.push("</"),b.push("head"),b.push(">"));Qe(a,b,d);a.completedRootSegment=null;Pb(b,a.renderState)}else return;var n=a.renderState;d=0;n.preconnects.forEach(M,b);n.preconnects.clear();var y=n.preconnectChunks;for(d=0;d<y.length;d++)b.push(y[d]);y.length=0;n.fontPreloads.forEach(M,b);n.fontPreloads.clear();n.highImagePreloads.forEach(M, -b);n.highImagePreloads.clear();n.styles.forEach(mc,b);n.scripts.forEach(M,b);n.scripts.clear();n.bulkPreloads.forEach(M,b);n.bulkPreloads.clear();var Y=n.preloadChunks;for(d=0;d<Y.length;d++)b.push(Y[d]);Y.length=0;var I=n.hoistableChunks;for(d=0;d<I.length;d++)b.push(I[d]);I.length=0;var w=a.clientRenderedBoundaries;for(c=0;c<w.length;c++){var C=w[c];n=b;var B=a.resumableState,J=a.renderState,Ba=C.rootSegmentID,N=C.errorDigest,la=C.errorMessage,ca=C.errorComponentStack,Z=0===B.streamingFormat;Z? -(n.push(J.startInlineScript),0===(B.instructions&4)?(B.instructions|=4,n.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("')):n.push('$RX("')):n.push('<template data-rxi="" data-bid="');n.push(J.boundaryPrefix);var Na=Ba.toString(16);n.push(Na);Z&&n.push('"');if(N||la||ca)if(Z){n.push(",");var Oa=ac(N||"");n.push(Oa)}else{n.push('" data-dgst="');var Pa=v(N||""); -n.push(Pa)}if(la||ca)if(Z){n.push(",");var Qa=ac(la||"");n.push(Qa)}else{n.push('" data-msg="');var ma=v(la||"");n.push(ma)}if(ca)if(Z){n.push(",");var Q=ac(ca);n.push(Q)}else{n.push('" data-stck="');var ob=v(ca);n.push(ob)}if(Z?!n.push(")\x3c/script>"):!n.push('"></template>')){a.destination=null;c++;w.splice(0,c);return}}w.splice(0,c);var U=a.completedBoundaries;for(c=0;c<U.length;c++)if(!Se(a,b,U[c])){a.destination=null;c++;U.splice(0,c);return}U.splice(0,c);var na=a.partialBoundaries;for(c=0;c< -na.length;c++){var oa=na[c];a:{w=a;C=b;w.renderState.boundaryResources=oa.resources;var pa=oa.completedSegments;for(B=0;B<pa.length;B++)if(!Te(w,C,oa,pa[B])){B++;pa.splice(0,B);var Ra=!1;break a}pa.splice(0,B);Ra=hc(C,oa.resources,w.renderState)}if(!Ra){a.destination=null;c++;na.splice(0,c);return}}na.splice(0,c);var qa=a.completedBoundaries;for(c=0;c<qa.length;c++)if(!Se(a,b,qa[c])){a.destination=null;c++;qa.splice(0,c);return}qa.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&& -0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length&&(a.flushScheduled=!1,null===a.trackedPostpones&&(a=a.resumableState,a.hasBody&&(b.push("</"),b.push("body"),b.push(">")),a.hasHtml&&(b.push("</"),b.push("html"),b.push(">"))),b.push(null))}}function pc(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;Oe(a,b)}} -function Ue(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Oe(a,b)}catch(c){V(a,c),ze(a,c)}}}function Ve(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return Ne(e,a,d)});c.clear()}null!==a.destination&&Oe(a,a.destination)}catch(e){V(a,e),ze(a,e)}} -function Je(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Je(e,b[0],c));e[2].push(a)}}function We(){} -function Xe(a,b,c,d){var e=!1,f=null,g="",h=!1;b=lb(b?b.identifierPrefix:void 0,void 0);a=se(a,b,sc(b,c),mb(),Infinity,We,void 0,function(){h=!0},void 0,void 0,void 0);a.flushScheduled=null!==a.destination;we(a);Ve(a,d);Ue(a,{push:function(k){null!==k&&(g+=k);return!0},destroy:function(k){e=!0;f=k}});if(e&&f!==d)throw f;if(!h)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return g} -function Ye(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}var Ze=function(a){function b(){var d=a.call(this,{})||this;d.request=null;d.startedFlowing=!1;return d}Ye(b,a);var c=b.prototype;c._destroy=function(d,e){Ve(this.request);e(d)};c._read=function(){this.startedFlowing&&Ue(this.request,this)};return b}(ia.Readable);function $e(){} -function af(a,b){var c=new Ze;b=lb(b?b.identifierPrefix:void 0,void 0);var d=se(a,b,sc(b,!1),mb(),Infinity,$e,function(){c.startedFlowing=!0;Ue(d,c)},void 0,void 0,void 0);c.request=d;d.flushScheduled=null!==d.destination;we(d);return c}exports.renderToNodeStream=function(a,b){return af(a,b)};exports.renderToStaticMarkup=function(a,b){return Xe(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')}; -exports.renderToStaticNodeStream=function(a,b){return af(a,b)};exports.renderToString=function(a,b){return Xe(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')}; -exports.version="18.3.0-experimental-d900fadbf-20230929"; +function Pe(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var l=e.htmlChunks,n=e.headChunks;f=0;if(l){for(f=0;f<l.length;f++)b.push(l[f]);if(n)for(f=0;f<n.length;f++)b.push(n[f]);else{var q=I("head");b.push(q);b.push(">")}}else if(n)for(f= +0;f<n.length;f++)b.push(n[f]);var m=e.charsetChunks;for(f=0;f<m.length;f++)b.push(m[f]);m.length=0;e.preconnects.forEach(J,b);e.preconnects.clear();var y=e.preconnectChunks;for(f=0;f<y.length;f++)b.push(y[f]);y.length=0;e.fontPreloads.forEach(J,b);e.fontPreloads.clear();e.highImagePreloads.forEach(J,b);e.highImagePreloads.clear();e.styles.forEach(kc,b);var A=e.importMapChunks;for(f=0;f<A.length;f++)b.push(A[f]);A.length=0;e.bootstrapScripts.forEach(J,b);e.scripts.forEach(J,b);e.scripts.clear();e.bulkPreloads.forEach(J, +b);e.bulkPreloads.clear();var Q=e.preloadChunks;for(f=0;f<Q.length;f++)b.push(Q[f]);Q.length=0;var M=e.hoistableChunks;for(f=0;f<M.length;f++)b.push(M[f]);M.length=0;l&&null===n&&(b.push("</"),b.push("head"),b.push(">"));Re(a,b,d);a.completedRootSegment=null;Pb(b,a.renderState)}else return;var p=a.renderState;d=0;p.preconnects.forEach(J,b);p.preconnects.clear();var t=p.preconnectChunks;for(d=0;d<t.length;d++)b.push(t[d]);t.length=0;p.fontPreloads.forEach(J,b);p.fontPreloads.clear();p.highImagePreloads.forEach(J, +b);p.highImagePreloads.clear();p.styles.forEach(mc,b);p.scripts.forEach(J,b);p.scripts.clear();p.bulkPreloads.forEach(J,b);p.bulkPreloads.clear();var Z=p.preloadChunks;for(d=0;d<Z.length;d++)b.push(Z[d]);Z.length=0;var F=p.hoistableChunks;for(d=0;d<F.length;d++)b.push(F[d]);F.length=0;var N=a.clientRenderedBoundaries;for(c=0;c<N.length;c++){var u=N[c];p=b;var z=a.resumableState,U=a.renderState,P=u.rootSegmentID,da=u.errorDigest,G=u.errorMessage,ea=u.errorComponentStack,aa=0===z.streamingFormat;aa? +(p.push(U.startInlineScript),0===(z.instructions&4)?(z.instructions|=4,p.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("')):p.push('$RX("')):p.push('<template data-rxi="" data-bid="');p.push(U.boundaryPrefix);var Ma=P.toString(16);p.push(Ma);aa&&p.push('"');if(da||G||ea)if(aa){p.push(",");var Na=ac(da||"");p.push(Na)}else{p.push('" data-dgst="');var Oa=w(da|| +"");p.push(Oa)}if(G||ea)if(aa){p.push(",");var Pa=ac(G||"");p.push(Pa)}else{p.push('" data-msg="');var ma=w(G||"");p.push(ma)}if(ea)if(aa){p.push(",");var O=ac(ea);p.push(O)}else{p.push('" data-stck="');var ob=w(ea);p.push(ob)}if(aa?!p.push(")\x3c/script>"):!p.push('"></template>')){a.destination=null;c++;N.splice(0,c);return}}N.splice(0,c);var V=a.completedBoundaries;for(c=0;c<V.length;c++)if(!Te(a,b,V[c])){a.destination=null;c++;V.splice(0,c);return}V.splice(0,c);var na=a.partialBoundaries;for(c= +0;c<na.length;c++){var oa=na[c];a:{N=a;u=b;N.renderState.boundaryResources=oa.resources;var pa=oa.completedSegments;for(z=0;z<pa.length;z++)if(!Ue(N,u,oa,pa[z])){z++;pa.splice(0,z);var Qa=!1;break a}pa.splice(0,z);Qa=hc(u,oa.resources,N.renderState)}if(!Qa){a.destination=null;c++;na.splice(0,c);return}}na.splice(0,c);var qa=a.completedBoundaries;for(c=0;c<qa.length;c++)if(!Te(a,b,qa[c])){a.destination=null;c++;qa.splice(0,c);return}qa.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&& +0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length&&(a.flushScheduled=!1,null===a.trackedPostpones&&(c=a.resumableState,c.hasBody&&(b.push("</"),b.push("body"),b.push(">")),c.hasHtml&&(b.push("</"),b.push("html"),b.push(">"))),b.push(null),a.destination=null)}}function pc(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){a.flushScheduled=!0;var b=a.destination;b?Pe(a,b):a.flushScheduled=!1}} +function Ve(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Pe(a,b)}catch(c){W(a,c),Ae(a,c)}}}function We(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return Oe(e,a,d)});c.clear()}null!==a.destination&&Pe(a,a.destination)}catch(e){W(a,e),Ae(a,e)}} +function Ke(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Ke(e,b[0],c));e[2].push(a)}}function Xe(){} +function Ye(a,b,c,d){var e=!1,f=null,g="",h=!1;b=lb(b?b.identifierPrefix:void 0,void 0);a=te(a,b,sc(b,c),mb(),Infinity,Xe,void 0,function(){h=!0},void 0,void 0,void 0);a.flushScheduled=null!==a.destination;xe(a);We(a,d);Ve(a,{push:function(k){null!==k&&(g+=k);return!0},destroy:function(k){e=!0;f=k}});if(e&&f!==d)throw f;if(!h)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return g} +function Ze(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}var $e=function(a){function b(){var d=a.call(this,{})||this;d.request=null;d.startedFlowing=!1;return d}Ze(b,a);var c=b.prototype;c._destroy=function(d,e){We(this.request);e(d)};c._read=function(){this.startedFlowing&&Ve(this.request,this)};return b}(ja.Readable);function af(){} +function bf(a,b){var c=new $e;b=lb(b?b.identifierPrefix:void 0,void 0);var d=te(a,b,sc(b,!1),mb(),Infinity,af,function(){c.startedFlowing=!0;Ve(d,c)},void 0,void 0,void 0);c.request=d;d.flushScheduled=null!==d.destination;xe(d);return c}exports.renderToNodeStream=function(a,b){return bf(a,b)};exports.renderToStaticMarkup=function(a,b){return Ye(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')}; +exports.renderToStaticNodeStream=function(a,b){return bf(a,b)};exports.renderToString=function(a,b){return Ye(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')}; +exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.development.js index 251db22bd512a..aeb9529952384 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.development.js @@ -16,16 +16,6 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react-experimental"); -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; - -var Internals = { - usingClientEntryPoint: false, - Events: null, - Dispatcher: { - current: null - } -}; - var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function error(format) { @@ -65,6 +55,16 @@ function printWarning(level, format, args) { } } +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; + +var Internals = { + usingClientEntryPoint: false, + Events: null, + Dispatcher: { + current: null + } +}; + function getCrossOriginString(input) { if (typeof input === 'string') { return input === 'use-credentials' ? input : ''; @@ -358,10 +358,25 @@ function batchedUpdates(fn, a) { return fn(a); } +function experimental_useFormStatus() { + { + error('useFormStatus is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useFormStatus(); +} +function experimental_useFormState(action, initialState, permalink) { + { + error('useFormState is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useFormState(action, initialState, permalink); +} + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.createPortal = createPortal; -exports.experimental_useFormState = useFormState; -exports.experimental_useFormStatus = useFormStatus; +exports.experimental_useFormState = experimental_useFormState; +exports.experimental_useFormStatus = experimental_useFormStatus; exports.flushSync = flushSync; exports.preconnect = preconnect; exports.prefetchDNS = prefetchDNS; @@ -370,6 +385,8 @@ exports.preinitModule = preinitModule; exports.preload = preload; exports.preloadModule = preloadModule; exports.unstable_batchedUpdates = batchedUpdates; +exports.useFormState = useFormState; +exports.useFormStatus = useFormStatus; exports.version = ReactVersion; })(); } diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.production.min.js index b20b70c3bb5f8..c0e15bc19ac2a 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.production.min.js @@ -8,9 +8,10 @@ * LICENSE file in the root directory of this source tree. */ 'use strict';var e=require("next/dist/compiled/react-experimental"),f={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function h(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -function k(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""}var l=f.Dispatcher,p=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=f;exports.createPortal=function(){throw Error(h(448));};exports.experimental_useFormState=function(b,a,c){return p.current.useFormState(b,a,c)};exports.experimental_useFormStatus=function(){return p.current.useHostTransitionStatus()}; -exports.flushSync=function(){throw Error(h(449));};exports.preconnect=function(b,a){var c=l.current;c&&"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=null,c.preconnect(b,a))};exports.prefetchDNS=function(b){var a=l.current;a&&"string"===typeof b&&a.prefetchDNS(b)}; -exports.preinit=function(b,a){var c=l.current;if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var d=a.as,g=k(d,a.crossOrigin),m="string"===typeof a.integrity?a.integrity:void 0,n="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===d?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:g,integrity:m,fetchPriority:n}):"script"===d&&c.preinitScript(b,{crossOrigin:g,integrity:m,fetchPriority:n,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}; +function k(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""}var l=f.Dispatcher,m=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function n(){return m.current.useHostTransitionStatus()}function r(b,a,c){return m.current.useFormState(b,a,c)}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=f;exports.createPortal=function(){throw Error(h(448));};exports.experimental_useFormState=function(b,a,c){return r(b,a,c)}; +exports.experimental_useFormStatus=function(){return n()};exports.flushSync=function(){throw Error(h(449));};exports.preconnect=function(b,a){var c=l.current;c&&"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=null,c.preconnect(b,a))};exports.prefetchDNS=function(b){var a=l.current;a&&"string"===typeof b&&a.prefetchDNS(b)}; +exports.preinit=function(b,a){var c=l.current;if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var d=a.as,g=k(d,a.crossOrigin),p="string"===typeof a.integrity?a.integrity:void 0,q="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===d?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:g,integrity:p,fetchPriority:q}):"script"===d&&c.preinitScript(b,{crossOrigin:g,integrity:p,fetchPriority:q,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}; exports.preinitModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var d=k(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null==a&&c.preinitModuleScript(b)}; exports.preload=function(b,a){var c=l.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var d=a.as,g=k(d,a.crossOrigin);c.preload(b,d,{crossOrigin:g,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0,type:"string"===typeof a.type?a.type:void 0,fetchPriority:"string"===typeof a.fetchPriority?a.fetchPriority:void 0,referrerPolicy:"string"===typeof a.referrerPolicy?a.referrerPolicy:void 0,imageSrcSet:"string"=== -typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if(a){var d=k(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.version="18.3.0-experimental-d900fadbf-20230929"; +typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if(a){var d=k(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.useFormState=r;exports.useFormStatus=n; +exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js index 49070204d47da..c9b136596a84d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react-experimental"); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -338,7 +338,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -347,7 +347,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -356,7 +356,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -4046,26 +4046,7 @@ function pushStartCustomElement(target, props, tag) { continue; } - if ((typeof propValue === 'function' || typeof propValue === 'object')) { - // It is normal to render functions and objects on custom elements when - // client rendering, but when server rendering the output isn't useful, - // so skip it. - continue; - } - - if (propValue === false) { - continue; - } - - if (propValue === true) { - propValue = ''; - } - - if (propKey === 'className') { - // className gets rendered as class on the client, so it should be - // rendered as class on the server. - propKey = 'class'; - } + var attributeName = propKey; switch (propKey) { case 'children': @@ -4085,9 +4066,28 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + { + // className gets rendered as class on the client, so it should be + // rendered as class on the server. + attributeName = 'class'; + } + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + { + if (propValue === false) { + continue; + } else if (propValue === true) { + propValue = ''; + } else if (typeof propValue === 'object') { + continue; + } + } + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -8199,9 +8199,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return initialValue !== undefined ? initialValue : value; + } } function unsupportedStartTransition() { @@ -8600,7 +8603,7 @@ function resumeRequest(children, postponedState, renderState, onError, onAllRead progressiveChunkSize: postponedState.progressiveChunkSize, status: OPEN, fatalError: null, - nextSegmentId: 0, + nextSegmentId: postponedState.nextSegmentId, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, @@ -9036,11 +9039,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -9091,24 +9090,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -9116,8 +9106,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9658,37 +9647,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9699,17 +9657,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9717,37 +9676,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9811,8 +9773,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9990,24 +9959,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -10042,7 +10013,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -10367,6 +10338,7 @@ function renderNode(request, task, node, childIndex) { task.componentStack = previousComponentStack; } + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10428,6 +10400,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -10449,6 +10422,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -10562,8 +10537,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -10572,6 +10545,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -10582,6 +10556,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -10623,12 +10605,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10812,6 +10795,7 @@ function retryRenderTask(request, task, segment) { logPostpone(request, postponeInstance.message); trackPostpone(request, trackedPostpones, task, segment); finishedTask(request, task.blockedBoundary, segment); + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10888,6 +10872,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -11320,7 +11312,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } else { completeWriting(destination); } @@ -11342,10 +11337,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -11466,7 +11468,7 @@ function renderToReadableStream(children, options) { }, cancel: function (reason) { stopFlowing(request); - abort(request); + abort(request, reason); } }, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams. { @@ -11486,7 +11488,7 @@ function renderToReadableStream(children, options) { } var resumableState = createResumableState(options ? options.identifierPrefix : undefined, options ? options.unstable_externalRuntimeSrc : undefined); - var request = createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, onAllReady, onShellReady, onShellError, onFatalError, options ? options.onPostpone : undefined, options ? options.experimental_formState : undefined); + var request = createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, onAllReady, onShellReady, onShellError, onFatalError, options ? options.onPostpone : undefined, options ? options.formState : undefined); if (options && options.signal) { var signal = options.signal; @@ -11524,7 +11526,7 @@ function resume(children, postponedState, options) { }, cancel: function (reason) { stopFlowing(request); - abort(request); + abort(request, reason); } }, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams. { @@ -11576,7 +11578,7 @@ function prerender(children, options) { }, cancel: function (reason) { stopFlowing(request); - abort(request); + abort(request, reason); } }, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams. { diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js index 14a087e3097c0..ae33b481c2a5f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js @@ -31,177 +31,176 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var aa=require("next/dist/compiled/react-experimental"),ca=require("react-dom");function l(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -function da(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< +'use strict';var ea=require("next/dist/compiled/react-experimental"),fa=require("react-dom");function l(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} +function ia(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< 16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0}var n=null,p=0; -function u(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<p&&(a.enqueue(new Uint8Array(n.buffer,0,p)),n=new Uint8Array(512),p=0),a.enqueue(b);else{var c=n.length-p;c<b.byteLength&&(0===c?a.enqueue(n):(n.set(b.subarray(0,c),p),a.enqueue(n),b=b.subarray(c)),n=new Uint8Array(512),p=0);n.set(b,p);p+=b.byteLength}}function w(a,b){u(a,b);return!0}function ea(a){n&&0<p&&(a.enqueue(new Uint8Array(n.buffer,0,p)),n=null,p=0)}var ia=new TextEncoder;function z(a){return ia.encode(a)} -function A(a){return ia.encode(a)}function ja(a,b){"function"===typeof a.error?a.error(b):a.close()} -var B=Object.assign,D=Object.prototype.hasOwnProperty,ka=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),oa={},pa={}; -function qa(a){if(D.call(pa,a))return!0;if(D.call(oa,a))return!1;if(ka.test(a))return pa[a]=!0;oa[a]=!0;return!1} -var za=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Aa= +function u(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<p&&(a.enqueue(new Uint8Array(n.buffer,0,p)),n=new Uint8Array(512),p=0),a.enqueue(b);else{var c=n.length-p;c<b.byteLength&&(0===c?a.enqueue(n):(n.set(b.subarray(0,c),p),a.enqueue(n),b=b.subarray(c)),n=new Uint8Array(512),p=0);n.set(b,p);p+=b.byteLength}}function w(a,b){u(a,b);return!0}function ja(a){n&&0<p&&(a.enqueue(new Uint8Array(n.buffer,0,p)),n=null,p=0)}var ka=new TextEncoder;function z(a){return ka.encode(a)} +function A(a){return ka.encode(a)}function qa(a,b){"function"===typeof a.error?a.error(b):a.close()} +var B=Object.assign,D=Object.prototype.hasOwnProperty,ra=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),sa={},ya={}; +function za(a){if(D.call(ya,a))return!0;if(D.call(sa,a))return!1;if(ra.test(a))return ya[a]=!0;sa[a]=!0;return!1} +var Aa=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Ba= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ba=/["'&<>]/; -function I(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Ba.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var Ca=/([A-Z])/g,Da=/^ms-/,Ea=Array.isArray,Ka=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,La={pending:!1,data:null,method:null,action:null},Ma=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Ya={prefetchDNS:Na,preconnect:Oa,preload:Pa,preloadModule:Qa,preinitStyle:Va,preinitScript:Wa,preinitModuleScript:Xa},Za=[],$a=A('"></template>'),ab=A("<script>"),bb=A("\x3c/script>"),cb=A('<script src="'),db=A('<script type="module" src="'),sb=A('" nonce="'),tb=A('" integrity="'), -ub=A('" crossorigin="'),vb=A('" async="">\x3c/script>'),wb=/(<\/|<)(s)(cript)/gi;function xb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var yb=A('<script type="importmap">'),zb=A("\x3c/script>"); -function Ab(a,b,c,d,e,f,g){var h=void 0===b?ab:A('<script nonce="'+I(b)+'">'),k=a.idPrefix,m=[],q=null;void 0!==c&&m.push(h,z((""+c).replace(wb,xb)),bb);void 0!==f&&("string"===typeof f?(q={src:f,chunks:[]},Jb(q.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(q={src:f.src,chunks:[]},Jb(q.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(yb),c.push(z((""+JSON.stringify(g)).replace(wb,xb))),c.push(zb));g={placeholderPrefix:A(k+"P:"),segmentPrefix:A(k+"S:"),boundaryPrefix:A(k+ -"B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:q,bootstrapChunks:m,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var t= -d[h];c=q=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof t?f.href=k=t:(f.href=k=t.src,f.integrity=c="string"===typeof t.integrity?t.integrity:void 0,f.crossOrigin=q="string"===typeof t||null==t.crossOrigin?void 0:"use-credentials"===t.crossOrigin?"use-credentials":"");t=a;var r=k;t.scriptResources[r]=null;t.moduleScriptResources[r]=null;t=[];K(t,f);g.bootstrapScripts.add(t);m.push(cb,z(I(k)));b&&m.push(sb,z(I(b)));"string"===typeof c&&m.push(tb,z(I(c)));"string"=== -typeof q&&m.push(ub,z(I(q)));m.push(vb)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],q=k=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=q="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=k="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,t=h,f.scriptResources[t]=null,f.moduleScriptResources[t]=null,f=[],K(f,c),g.bootstrapScripts.add(f),m.push(db,z(I(h))),b&& -m.push(sb,z(I(b))),"string"===typeof q&&m.push(tb,z(I(q))),"string"===typeof k&&m.push(ub,z(I(k))),m.push(vb);return g}function Kb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} -function L(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Lb(a){return L("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} -function Mb(a,b,c){switch(b){case "noscript":return L(2,null,a.tagScope|1);case "select":return L(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return L(3,null,a.tagScope);case "picture":return L(2,null,a.tagScope|2);case "math":return L(4,null,a.tagScope);case "foreignObject":return L(2,null,a.tagScope);case "table":return L(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return L(6,null,a.tagScope);case "colgroup":return L(8,null,a.tagScope);case "tr":return L(7,null,a.tagScope)}return 5<= -a.insertionMode?L(2,null,a.tagScope):0===a.insertionMode?"html"===b?L(1,null,a.tagScope):L(2,null,a.tagScope):1===a.insertionMode?L(2,null,a.tagScope):a}var Nb=A("\x3c!-- --\x3e");function Ob(a,b,c,d){if(""===b)return d;d&&a.push(Nb);a.push(z(I(b)));return!0}var Pb=new Map,Qb=A(' style="'),Rb=A(":"),Sb=A(";"); -function Tb(a,b){if("object"!==typeof b)throw Error(l(62));var c=!0,d;for(d in b)if(D.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=z(I(d));e=z(I((""+e).trim()))}else f=Pb.get(d),void 0===f&&(f=A(I(d.replace(Ca,"-$1").toLowerCase().replace(Da,"-ms-"))),Pb.set(d,f)),e="number"===typeof e?0===e||za.has(d)?z(""+e):z(e+"px"):z(I((""+e).trim()));c?(c=!1,a.push(Qb,f,Rb,e)):a.push(Sb,f,Rb,e)}}c||a.push(O)}var P=A(" "),Ub=A('="'),O=A('"'),Vb=A('=""'); -function Wb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(P,z(b),Vb)}function Q(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(P,z(b),Ub,z(I(c)),O)}function Xb(a){var b=a.nextFormID++;return a.idPrefix+b}var Yb=A(I("javascript:throw new Error('A React form was unexpectedly submitted.')")),Zb=A('<input type="hidden"');function $b(a,b){this.push(Zb);if("string"!==typeof a)throw Error(l(480));Q(this,"name",b);Q(this,"value",a);this.push(ac)} -function bc(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Xb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(P,z("formAction"),Ub,Yb,O),g=f=e=d=h=null,cc(b,c)));null!=h&&T(a,"name",h);null!=d&&T(a,"formAction",d);null!=e&&T(a,"formEncType",e);null!=f&&T(a,"formMethod",f);null!=g&&T(a,"formTarget",g);return k} -function T(a,b,c){switch(b){case "className":Q(a,"class",c);break;case "tabIndex":Q(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":Q(a,b,c);break;case "style":Tb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(P,z(b),Ub,z(I(c)),O);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":Wb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(P,z("xlink:href"),Ub,z(I(c)),O);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(P,z(b),Ub,z(I(c)),O);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(P,z(b),Vb);break;case "capture":case "download":!0===c?a.push(P,z(b),Vb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(P,z(b),Ub,z(I(c)),O);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(P,z(b),Ub,z(I(c)),O);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(P,z(b),Ub,z(I(c)),O);break;case "xlinkActuate":Q(a,"xlink:actuate", -c);break;case "xlinkArcrole":Q(a,"xlink:arcrole",c);break;case "xlinkRole":Q(a,"xlink:role",c);break;case "xlinkShow":Q(a,"xlink:show",c);break;case "xlinkTitle":Q(a,"xlink:title",c);break;case "xlinkType":Q(a,"xlink:type",c);break;case "xmlBase":Q(a,"xml:base",c);break;case "xmlLang":Q(a,"xml:lang",c);break;case "xmlSpace":Q(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=Aa.get(b)||b,qa(b)){switch(typeof c){case "function":case "symbol":return; -case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(P,z(b),Ub,z(I(c)),O)}}}var U=A(">"),ac=A("/>");function dc(a,b,c){if(null!=b){if(null!=c)throw Error(l(60));if("object"!==typeof b||!("__html"in b))throw Error(l(61));b=b.__html;null!==b&&void 0!==b&&a.push(z(""+b))}}function ec(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var fc=A(' selected=""'),gc=A('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); -function cc(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,gc,bb))}var hc=A("\x3c!--F!--\x3e"),ic=A("\x3c!--F--\x3e"); -function jc(a,b,c,d,e,f,g){var h=b.rel,k=b.href,m=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return K(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof m||null!=b.disabled||b.onLoad||b.onError)return K(a,b);f=d.styles.get(m);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:z(I(m)),rules:[],hrefs:[],sheets:new Map},d.styles.set(m,f)),b={state:0,props:B({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&kc(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push(Nb);return null}if(b.onLoad||b.onError)return K(a,b);e&&a.push(Nb);switch(b.rel){case "preconnect":case "dns-prefetch":return K(d.preconnectChunks,b);case "preload":return K(d.preloadChunks,b);default:return K(d.hoistableChunks, -b)}}function K(a,b){a.push(V("link"));for(var c in b)if(D.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error(l(399,"link"));default:T(a,c,d)}}a.push(ac);return null}function lc(a,b,c){a.push(V(c));for(var d in b)if(D.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(l(399,c));default:T(a,d,e)}}a.push(ac);return null} -function mc(a,b){a.push(V("title"));var c=null,d=null,e;for(e in b)if(D.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:T(a,e,f)}}a.push(U);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(z(I(""+b)));dc(a,d,c);a.push(uc,z("title"),vc);return null} -function Jb(a,b){a.push(V("script"));var c=null,d=null,e;for(e in b)if(D.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:T(a,e,f)}}a.push(U);dc(a,d,c);"string"===typeof c&&a.push(z(I(c)));a.push(uc,z("script"),vc);return null} -function wc(a,b,c){a.push(V(c));var d=c=null,e;for(e in b)if(D.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:T(a,e,f)}}a.push(U);dc(a,d,c);return"string"===typeof c?(a.push(z(I(c))),null):c}var xc=A("\n"),yc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,zc=new Map;function V(a){var b=zc.get(a);if(void 0===b){if(!yc.test(a))throw Error(l(65,a));b=A("<"+a);zc.set(a,b)}return b}var Ac=A("<!DOCTYPE html>"); -function Bc(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(V("select"));var h=null,k=null,m;for(m in c)if(D.call(c,m)){var q=c[m];if(null!=q)switch(m){case "children":h=q;break;case "dangerouslySetInnerHTML":k=q;break;case "defaultValue":case "value":break;default:T(a,m,q)}}a.push(U);dc(a,k,h);return h;case "option":var t=f.selectedValue;a.push(V("option"));var r=null,y=null,M=null,H=null,v;for(v in c)if(D.call(c, -v)){var x=c[v];if(null!=x)switch(v){case "children":r=x;break;case "selected":M=x;break;case "dangerouslySetInnerHTML":H=x;break;case "value":y=x;default:T(a,v,x)}}if(null!=t){var E=null!==y?""+y:ec(r);if(Ea(t))for(var la=0;la<t.length;la++){if(""+t[la]===E){a.push(fc);break}}else""+t===E&&a.push(fc)}else M&&a.push(fc);a.push(U);dc(a,H,r);return r;case "textarea":a.push(V("textarea"));var F=null,C=null,G=null,fa;for(fa in c)if(D.call(c,fa)){var R=c[fa];if(null!=R)switch(fa){case "children":G=R;break; -case "value":F=R;break;case "defaultValue":C=R;break;case "dangerouslySetInnerHTML":throw Error(l(91));default:T(a,fa,R)}}null===F&&null!==C&&(F=C);a.push(U);if(null!=G){if(null!=F)throw Error(l(92));if(Ea(G)){if(1<G.length)throw Error(l(93));F=""+G[0]}F=""+G}"string"===typeof F&&"\n"===F[0]&&a.push(xc);null!==F&&a.push(z(I(""+F)));return null;case "input":a.push(V("input"));var ra=null,N=null,sa=null,ma=null,Fa=null,ta=null,ua=null,va=null,Ra=null,ha;for(ha in c)if(D.call(c,ha)){var ba=c[ha];if(null!= -ba)switch(ha){case "children":case "dangerouslySetInnerHTML":throw Error(l(399,"input"));case "name":ra=ba;break;case "formAction":N=ba;break;case "formEncType":sa=ba;break;case "formMethod":ma=ba;break;case "formTarget":Fa=ba;break;case "defaultChecked":Ra=ba;break;case "defaultValue":ua=ba;break;case "checked":va=ba;break;case "value":ta=ba;break;default:T(a,ha,ba)}}var rd=bc(a,d,e,N,sa,ma,Fa,ra);null!==va?Wb(a,"checked",va):null!==Ra&&Wb(a,"checked",Ra);null!==ta?T(a,"value",ta):null!==ua&&T(a, -"value",ua);a.push(ac);null!==rd&&rd.forEach($b,a);return null;case "button":a.push(V("button"));var eb=null,sd=null,td=null,ud=null,vd=null,wd=null,xd=null,fb;for(fb in c)if(D.call(c,fb)){var na=c[fb];if(null!=na)switch(fb){case "children":eb=na;break;case "dangerouslySetInnerHTML":sd=na;break;case "name":td=na;break;case "formAction":ud=na;break;case "formEncType":vd=na;break;case "formMethod":wd=na;break;case "formTarget":xd=na;break;default:T(a,fb,na)}}var yd=bc(a,d,e,ud,vd,wd,xd,td);a.push(U); -null!==yd&&yd.forEach($b,a);dc(a,sd,eb);if("string"===typeof eb){a.push(z(I(eb)));var zd=null}else zd=eb;return zd;case "form":a.push(V("form"));var gb=null,Ad=null,wa=null,hb=null,ib=null,jb=null,kb;for(kb in c)if(D.call(c,kb)){var xa=c[kb];if(null!=xa)switch(kb){case "children":gb=xa;break;case "dangerouslySetInnerHTML":Ad=xa;break;case "action":wa=xa;break;case "encType":hb=xa;break;case "method":ib=xa;break;case "target":jb=xa;break;default:T(a,kb,xa)}}var nc=null,oc=null;if("function"===typeof wa)if("function"=== -typeof wa.$$FORM_ACTION){var jf=Xb(d),Sa=wa.$$FORM_ACTION(jf);wa=Sa.action||"";hb=Sa.encType;ib=Sa.method;jb=Sa.target;nc=Sa.data;oc=Sa.name}else a.push(P,z("action"),Ub,Yb,O),jb=ib=hb=wa=null,cc(d,e);null!=wa&&T(a,"action",wa);null!=hb&&T(a,"encType",hb);null!=ib&&T(a,"method",ib);null!=jb&&T(a,"target",jb);a.push(U);null!==oc&&(a.push(Zb),Q(a,"name",oc),a.push(ac),null!==nc&&nc.forEach($b,a));dc(a,Ad,gb);if("string"===typeof gb){a.push(z(I(gb)));var Bd=null}else Bd=gb;return Bd;case "menuitem":a.push(V("menuitem")); -for(var Bb in c)if(D.call(c,Bb)){var Cd=c[Bb];if(null!=Cd)switch(Bb){case "children":case "dangerouslySetInnerHTML":throw Error(l(400));default:T(a,Bb,Cd)}}a.push(U);return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Dd=mc(a,c);else mc(e.hoistableChunks,c),Dd=null;return Dd;case "link":return jc(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var pc=c.async;if("string"!==typeof c.src||!c.src||!pc||"function"===typeof pc||"symbol"===typeof pc||c.onLoad||c.onError|| -3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Ed=Jb(a,c);else{var Cb=c.src;if("module"===c.type){var Db=d.moduleScriptResources;var Fd=e.preloads.moduleScripts}else Db=d.scriptResources,Fd=e.preloads.scripts;var Eb=Db.hasOwnProperty(Cb)?Db[Cb]:void 0;if(null!==Eb){Db[Cb]=null;var qc=c;if(Eb){2===Eb.length&&(qc=B({},c),kc(qc,Eb));var Gd=Fd.get(Cb);Gd&&(Gd.length=0)}var Hd=[];e.scripts.add(Hd);Jb(Hd,qc)}g&&a.push(Nb);Ed=null}return Ed;case "style":var Fb=c.precedence,Ga=c.href;if(3===f.insertionMode|| -f.tagScope&1||null!=c.itemProp||"string"!==typeof Fb||"string"!==typeof Ga||""===Ga){a.push(V("style"));var Ta=null,Id=null,lb;for(lb in c)if(D.call(c,lb)){var Gb=c[lb];if(null!=Gb)switch(lb){case "children":Ta=Gb;break;case "dangerouslySetInnerHTML":Id=Gb;break;default:T(a,lb,Gb)}}a.push(U);var mb=Array.isArray(Ta)?2>Ta.length?Ta[0]:null:Ta;"function"!==typeof mb&&"symbol"!==typeof mb&&null!==mb&&void 0!==mb&&a.push(z(I(""+mb)));dc(a,Id,Ta);a.push(uc,z("style"),vc);var Jd=null}else{var Ha=e.styles.get(Fb); -if(null!==(d.styleResources.hasOwnProperty(Ga)?d.styleResources[Ga]:void 0)){d.styleResources[Ga]=null;Ha?Ha.hrefs.push(z(I(Ga))):(Ha={precedence:z(I(Fb)),rules:[],hrefs:[z(I(Ga))],sheets:new Map},e.styles.set(Fb,Ha));var Kd=Ha.rules,Ua=null,Ld=null,Hb;for(Hb in c)if(D.call(c,Hb)){var rc=c[Hb];if(null!=rc)switch(Hb){case "children":Ua=rc;break;case "dangerouslySetInnerHTML":Ld=rc}}var nb=Array.isArray(Ua)?2>Ua.length?Ua[0]:null:Ua;"function"!==typeof nb&&"symbol"!==typeof nb&&null!==nb&&void 0!== -nb&&Kd.push(z(I(""+nb)));dc(Kd,Ld,Ua)}Ha&&e.boundaryResources&&e.boundaryResources.styles.add(Ha);g&&a.push(Nb);Jd=void 0}return Jd;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Md=lc(a,c,"meta");else g&&a.push(Nb),Md="string"===typeof c.charSet?lc(e.charsetChunks,c,"meta"):"viewport"===c.name?lc(e.preconnectChunks,c,"meta"):lc(e.hoistableChunks,c,"meta");return Md;case "listing":case "pre":a.push(V(b));var ob=null,pb=null,qb;for(qb in c)if(D.call(c,qb)){var Ib=c[qb];if(null!= -Ib)switch(qb){case "children":ob=Ib;break;case "dangerouslySetInnerHTML":pb=Ib;break;default:T(a,qb,Ib)}}a.push(U);if(null!=pb){if(null!=ob)throw Error(l(60));if("object"!==typeof pb||!("__html"in pb))throw Error(l(61));var Ia=pb.__html;null!==Ia&&void 0!==Ia&&("string"===typeof Ia&&0<Ia.length&&"\n"===Ia[0]?a.push(xc,z(Ia)):a.push(z(""+Ia)))}"string"===typeof ob&&"\n"===ob[0]&&a.push(xc);return ob;case "img":var S=c.src,J=c.srcSet;if(!("lazy"===c.loading||!S&&!J||"string"!==typeof S&&null!=S||"string"!== -typeof J&&null!=J)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof S||":"!==S[4]||"d"!==S[0]&&"D"!==S[0]||"a"!==S[1]&&"A"!==S[1]||"t"!==S[2]&&"T"!==S[2]||"a"!==S[3]&&"A"!==S[3])&&("string"!==typeof J||":"!==J[4]||"d"!==J[0]&&"D"!==J[0]||"a"!==J[1]&&"A"!==J[1]||"t"!==J[2]&&"T"!==J[2]||"a"!==J[3]&&"A"!==J[3])){var Nd="string"===typeof c.sizes?c.sizes:void 0,rb=J?J+"\n"+(Nd||""):S,sc=e.preloads.images,Ja=sc.get(rb);if(Ja){if("high"===c.fetchPriority||10>e.highImagePreloads.size)sc.delete(rb), -e.highImagePreloads.add(Ja)}else d.imageResources.hasOwnProperty(rb)||(d.imageResources[rb]=Za,Ja=[],K(Ja,{rel:"preload",as:"image",href:J?void 0:S,imageSrcSet:J,imageSizes:Nd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Ja):(e.bulkPreloads.add(Ja),sc.set(rb,Ja)))}return lc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return lc(a, -c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Od=wc(e.headChunks,c,"head")}else Od=wc(a,c,"head");return Od;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[Ac];var Pd=wc(e.htmlChunks,c,"html")}else Pd=wc(a,c,"html");return Pd;default:if(-1!==b.indexOf("-")){a.push(V(b)); -var tc=null,Qd=null,ya;for(ya in c)if(D.call(c,ya)){var Z=c[ya];if(null!=Z&&"function"!==typeof Z&&"object"!==typeof Z&&!1!==Z)switch(!0===Z&&(Z=""),"className"===ya&&(ya="class"),ya){case "children":tc=Z;break;case "dangerouslySetInnerHTML":Qd=Z;break;case "style":Tb(a,Z);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:qa(ya)&&"function"!==typeof Z&&"symbol"!==typeof Z&&a.push(P,z(ya),Ub,z(I(Z)),O)}}a.push(U);dc(a,Qd,tc);return tc}}return wc(a,c,b)} -var uc=A("</"),vc=A(">");function Cc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)u(a,b[c]);return c<b.length?(c=b[c],b.length=0,w(a,c)):!0}var Dc=A('<template id="'),Ec=A('"></template>'),Fc=A("\x3c!--$--\x3e"),Gc=A('\x3c!--$?--\x3e<template id="'),Hc=A('"></template>'),Ic=A("\x3c!--$!--\x3e"),Jc=A("\x3c!--/$--\x3e"),Kc=A("<template"),Lc=A('"'),Mc=A(' data-dgst="');A(' data-msg="');A(' data-stck="');var Nc=A("></template>"); -function Oc(a,b,c){u(a,Gc);if(null===c)throw Error(l(395));u(a,b.boundaryPrefix);u(a,z(c.toString(16)));return w(a,Hc)} -var Pc=A('<div hidden id="'),Qc=A('">'),Rc=A("</div>"),Sc=A('<svg aria-hidden="true" style="display:none" id="'),Tc=A('">'),Uc=A("</svg>"),Vc=A('<math aria-hidden="true" style="display:none" id="'),Wc=A('">'),Xc=A("</math>"),Yc=A('<table hidden id="'),Zc=A('">'),$c=A("</table>"),ad=A('<table hidden><tbody id="'),bd=A('">'),cd=A("</tbody></table>"),dd=A('<table hidden><tr id="'),ed=A('">'),fd=A("</tr></table>"),gd=A('<table hidden><colgroup id="'),hd=A('">'),id=A("</colgroup></table>"); -function jd(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return u(a,Pc),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,Qc);case 3:return u(a,Sc),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,Tc);case 4:return u(a,Vc),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,Wc);case 5:return u(a,Yc),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,Zc);case 6:return u(a,ad),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,bd);case 7:return u(a,dd),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,ed); -case 8:return u(a,gd),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,hd);default:throw Error(l(397));}}function kd(a,b){switch(b.insertionMode){case 0:case 1:case 2:return w(a,Rc);case 3:return w(a,Uc);case 4:return w(a,Xc);case 5:return w(a,$c);case 6:return w(a,cd);case 7:return w(a,fd);case 8:return w(a,id);default:throw Error(l(397));}} -var ld=A('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),md=A('$RS("'),nd=A('","'),od=A('")\x3c/script>'),pd=A('<template data-rsi="" data-sid="'),qd=A('" data-pid="'),Rd=A('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), -Sd=A('$RC("'),Td=A('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Ud=A('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Vd=A('$RR("'),Wd=A('","'),Xd=A('",'),Yd=A('"'),Zd=A(")\x3c/script>"),$d=A('<template data-rci="" data-bid="'),ae=A('<template data-rri="" data-bid="'),be=A('" data-sid="'),ce=A('" data-sty="'),de=A('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),ee=A('$RX("'),fe=A('"'),ge=A(","),he=A(")\x3c/script>"),ie=A('<template data-rxi="" data-bid="'),je=A('" data-dgst="'), -ke=A('" data-msg="'),le=A('" data-stck="'),me=/[<\u2028\u2029]/g;function ne(a){return JSON.stringify(a).replace(me,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var oe=/[&><\u2028\u2029]/g; -function pe(a){return JSON.stringify(a).replace(oe,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} -var qe=A('<style media="not all" data-precedence="'),re=A('" data-href="'),se=A('">'),te=A("</style>"),ue=!1,ve=!0;function we(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){u(this,qe);u(this,a.precedence);for(u(this,re);d<c.length-1;d++)u(this,c[d]),u(this,xe);u(this,c[d]);u(this,se);for(d=0;d<b.length;d++)u(this,b[d]);ve=w(this,te);ue=!0;b.length=0;c.length=0}}function ye(a){return 2!==a.state?ue=!0:!1} -function ze(a,b,c){ue=!1;ve=!0;b.styles.forEach(we,a);b.stylesheets.forEach(ye);ue&&(c.stylesToHoist=!0);return ve}function Ae(a){for(var b=0;b<a.length;b++)u(this,a[b]);a.length=0}var Be=[];function Ce(a){K(Be,a.props);for(var b=0;b<Be.length;b++)u(this,Be[b]);Be.length=0;a.state=2}var De=A('<style data-precedence="'),Ee=A('" data-href="'),xe=A(" "),Fe=A('">'),Ge=A("</style>"); -function He(a){var b=0<a.sheets.size;a.sheets.forEach(Ce,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){u(this,De);u(this,a.precedence);a=0;if(d.length){for(u(this,Ee);a<d.length-1;a++)u(this,d[a]),u(this,xe);u(this,d[a])}u(this,Fe);for(a=0;a<c.length;a++)u(this,c[a]);u(this,Ge);c.length=0;d.length=0}} -function Ie(a){if(0===a.state){a.state=1;var b=a.props;K(Be,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<Be.length;a++)u(this,Be[a]);Be.length=0}}function Je(a){a.sheets.forEach(Ie,this);a.sheets.clear()}var Ke=A("["),Le=A(",["),Me=A(","),Ne=A("]"); -function Oe(a,b){u(a,Ke);var c=Ke;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,z(pe(""+d.props.href))),u(a,Ne),c=Le;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,z(pe(""+d.props.href)));e=""+e;u(a,Me);u(a,z(pe(e)));for(var g in f)if(D.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(l(399,"link"));default:a:{e=a;var k=g.toLowerCase(); -switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!qa(g))break a;h=""+h}u(e,Me);u(e,z(pe(k)));u(e,Me);u(e,z(pe(h)))}}}u(a,Ne);c=Le;d.state=3}});u(a,Ne)} -function Pe(a,b){u(a,Ke);var c=Ke;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,z(I(JSON.stringify(""+d.props.href)))),u(a,Ne),c=Le;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,z(I(JSON.stringify(""+d.props.href))));e=""+e;u(a,Me);u(a,z(I(JSON.stringify(e))));for(var g in f)if(D.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(l(399, -"link"));default:a:{e=a;var k=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!qa(g))break a;h=""+h}u(e,Me);u(e,z(I(JSON.stringify(k)))); -u(e,Me);u(e,z(I(JSON.stringify(h))))}}}u(a,Ne);c=Le;d.state=3}});u(a,Ne)}function Na(a){var b=W?W:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;K(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Qe(b)}}} -function Oa(a,b){var c=W?W:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;K(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Qe(c)}}} -function Pa(a,b,c){var d=W?W:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=Za;e=[];K(e,B({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];K(g,B({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Za:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);K(g,B({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Za:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=B({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}K(e,c);g[a]=Za}Qe(d)}}} -function Qa(a,b){var c=W?W:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?Za:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=Za}K(f,B({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Qe(c)}}} -function Va(a,b,c){var d=W?W:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:z(I(b)),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:B({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&kc(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Qe(d))}}} -function Wa(a,b){var c=W?W:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=B({src:a,async:!0},b),f&&(2===f.length&&kc(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),Qe(c))}}} -function Xa(a,b){var c=W?W:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=B({src:a,type:"module",async:!0},b),f&&(2===f.length&&kc(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),Qe(c))}}}function kc(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Re(a){this.styles.add(a)} -function Se(a){this.stylesheets.add(a)} -var Te=Symbol.for("react.element"),Ue=Symbol.for("react.portal"),Ve=Symbol.for("react.fragment"),We=Symbol.for("react.strict_mode"),Xe=Symbol.for("react.profiler"),Ye=Symbol.for("react.provider"),Ze=Symbol.for("react.context"),$e=Symbol.for("react.server_context"),af=Symbol.for("react.forward_ref"),bf=Symbol.for("react.suspense"),cf=Symbol.for("react.suspense_list"),df=Symbol.for("react.memo"),ef=Symbol.for("react.lazy"),ff=Symbol.for("react.scope"),gf=Symbol.for("react.debug_trace_mode"),hf=Symbol.for("react.offscreen"), -kf=Symbol.for("react.legacy_hidden"),lf=Symbol.for("react.cache"),mf=Symbol.for("react.default_value"),nf=Symbol.for("react.memo_cache_sentinel"),of=Symbol.for("react.postpone"),pf=Symbol.iterator; -function qf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Ve:return"Fragment";case Ue:return"Portal";case Xe:return"Profiler";case We:return"StrictMode";case bf:return"Suspense";case cf:return"SuspenseList";case lf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case Ze:return(a.displayName||"Context")+".Consumer";case Ye:return(a._context.displayName||"Context")+".Provider";case af:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case df:return b=a.displayName||null,null!==b?b:qf(a.type)||"Memo";case ef:b=a._payload;a=a._init;try{return qf(a(b))}catch(c){break}case $e:return(a.displayName||a._globalName)+".Provider"}return null}var rf={};function sf(a,b){a=a.contextTypes;if(!a)return rf;var c={},d;for(d in a)c[d]=b[d];return c}var tf=null; -function uf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(l(401));}else{if(null===c)throw Error(l(401));uf(a,c)}b.context._currentValue=b.value}}function vf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&vf(a)}function wf(a){var b=a.parent;null!==b&&wf(b);a.context._currentValue=a.value} -function xf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error(l(402));a.depth===b.depth?uf(a,b):xf(a,b)}function yf(a,b){var c=b.parent;if(null===c)throw Error(l(402));a.depth===c.depth?uf(a,c):yf(a,c);b.context._currentValue=b.value}function zf(a){var b=tf;b!==a&&(null===b?wf(a):null===a?vf(b):b.depth===a.depth?uf(b,a):b.depth>a.depth?xf(b,a):yf(b,a),tf=a)} -var Af={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function Bf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Af;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:B({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Af.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=B({},f,h)):B(f,h))}a.state=f}else f.queue=null} -var Cf={id:1,overflow:""};function Df(a,b,c){var d=a.id;a=a.overflow;var e=32-Ef(d)-1;d&=~(1<<e);c+=1;var f=32-Ef(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Ef(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Ef=Math.clz32?Math.clz32:Ff,Gf=Math.log,Hf=Math.LN2;function Ff(a){a>>>=0;return 0===a?32:31-(Gf(a)/Hf|0)|0}var If=Error(l(460));function Jf(){} -function Kf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Jf,Jf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Lf=b;throw If;}}var Lf=null; -function Mf(){if(null===Lf)throw Error(l(459));var a=Lf;Lf=null;return a}function Nf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Of="function"===typeof Object.is?Object.is:Nf,Pf=null,Qf=null,Rf=null,Sf=null,Tf=null,X=null,Uf=!1,Vf=!1,Wf=0,Xf=0,Yf=-1,Zf=0,$f=null,ag=null,bg=0;function cg(){if(null===Pf)throw Error(l(321));return Pf}function dg(){if(0<bg)throw Error(l(312));return{memoizedState:null,queue:null,next:null}} -function eg(){null===X?null===Tf?(Uf=!1,Tf=X=dg()):(Uf=!0,X=Tf):null===X.next?(Uf=!1,X=X.next=dg()):(Uf=!0,X=X.next);return X}function fg(a,b,c,d){for(;Vf;)Vf=!1,Xf=Wf=0,Yf=-1,Zf=0,bg+=1,X=null,c=a(b,d);gg();return c}function hg(){var a=$f;$f=null;return a}function gg(){Sf=Rf=Qf=Pf=null;Vf=!1;Tf=null;bg=0;X=ag=null}function ig(a,b){return"function"===typeof b?b(a):b} -function jg(a,b,c){Pf=cg();X=eg();if(Uf){var d=X.queue;b=d.dispatch;if(null!==ag&&(c=ag.get(d),void 0!==c)){ag.delete(d);d=X.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);X.memoizedState=d;return[d,b]}return[X.memoizedState,b]}a=a===ig?"function"===typeof b?b():b:void 0!==c?c(b):b;X.memoizedState=a;a=X.queue={last:null,dispatch:null};a=a.dispatch=kg.bind(null,Pf,a);return[X.memoizedState,a]} -function lg(a,b){Pf=cg();X=eg();b=void 0===b?null:b;if(null!==X){var c=X.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Of(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();X.memoizedState=[a,b];return a}function kg(a,b,c){if(25<=bg)throw Error(l(301));if(a===Pf)if(Vf=!0,a={action:c,next:null},null===ag&&(ag=new Map),c=ag.get(b),void 0===c)ag.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}} -function mg(){throw Error(l(440));}function ng(){throw Error(l(394));}function og(){throw Error(l(479));}function pg(a){var b=Zf;Zf+=1;null===$f&&($f=[]);return Kf($f,a,b)}function qg(){throw Error(l(393));}function rg(){} -var tg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return pg(a);if(a.$$typeof===Ze||a.$$typeof===$e)return a._currentValue}throw Error(l(438,String(a)));},useContext:function(a){cg();return a._currentValue},useMemo:lg,useReducer:jg,useRef:function(a){Pf=cg();X=eg();var b=X.memoizedState;return null===b?(a={current:a},X.memoizedState=a):b},useState:function(a){return jg(ig,a)},useInsertionEffect:rg,useLayoutEffect:rg, -useCallback:function(a,b){return lg(function(){return a},b)},useImperativeHandle:rg,useEffect:rg,useDebugValue:rg,useDeferredValue:function(a){cg();return a},useTransition:function(){cg();return[!1,ng]},useId:function(){var a=Qf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Ef(a)-1)).toString(32)+b;var c=sg;if(null===c)throw Error(l(404));b=Wf++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(l(407));return c()},useCacheRefresh:function(){return qg}, -useEffectEvent:function(){return mg},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=nf;return b},useHostTransitionStatus:function(){cg();return La},useOptimistic:function(a){cg();return[a,og]},useFormState:function(a,b,c){cg();var d=Xf++,e=Rf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Sf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+da(JSON.stringify([g,null,d]),0),k===f&&(Yf=d,b=e[0]))}var m= -a.bind(null,b);a=function(t){m(t)};"function"===typeof m.$$FORM_ACTION&&(a.$$FORM_ACTION=function(t){t=m.$$FORM_ACTION(t);void 0!==c&&(c+="",t.action=c);var r=t.data;r&&(null===f&&(f=void 0!==c?"p"+c:"k"+da(JSON.stringify([g,null,d]),0)),r.append("$ACTION_KEY",f));return t});return[b,a]}var q=a.bind(null,b);return[b,function(t){q(t)}]}},sg=null,ug={getCacheSignal:function(){throw Error(l(248));},getCacheForType:function(){throw Error(l(248));}},vg=Ka.ReactCurrentDispatcher,wg=Ka.ReactCurrentCache; -function xg(a){console.error(a);return null}function yg(){} -function zg(a,b,c,d,e,f,g,h,k,m,q,t){Ma.current=Ya;var r=[],y=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:y,pingedTasks:r,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?xg:f,onPostpone:void 0===q?yg:q,onAllReady:void 0===g? -yg:g,onShellReady:void 0===h?yg:h,onShellError:void 0===k?yg:k,onFatalError:void 0===m?yg:m,formState:void 0===t?null:t};c=Ag(b,0,null,d,!1,!1);c.parentFlushed=!0;a=Bg(b,null,a,-1,null,c,y,null,d,rf,null,Cf);r.push(a);return b}function Cg(a,b,c,d,e,f,g,h,k,m,q){a=zg(a,b,c,d,e,f,g,h,k,m,q);a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null};return a} -function Dg(a,b,c,d,e,f,g,h,k){Ma.current=Ya;var m=[],q=new Set;c={destination:null,flushScheduled:!1,resumableState:b.resumableState,renderState:c,rootFormatContext:b.rootFormatContext,progressiveChunkSize:b.progressiveChunkSize,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:q,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===d?xg:d,onPostpone:void 0=== -k?yg:k,onAllReady:void 0===e?yg:e,onShellReady:void 0===f?yg:f,onShellError:void 0===g?yg:g,onFatalError:void 0===h?yg:h,formState:null};a=Eg(c,null,{nodes:b.replayNodes,slots:b.replaySlots,pendingTasks:0},a,-1,null,q,null,b.rootFormatContext,rf,null,Cf);m.push(a);return c}var W=null;function Fg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,Gg(a))} -function Hg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function Bg(a,b,c,d,e,f,g,h,k,m,q,t){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var r={replay:null,node:c,childIndex:d,ping:function(){return Fg(a,r)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:m,context:q,treeContext:t,thenableState:b};g.add(r);return r} -function Eg(a,b,c,d,e,f,g,h,k,m,q,t){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var r={replay:c,node:d,childIndex:e,ping:function(){return Fg(a,r)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:m,context:q,treeContext:t,thenableState:b};g.add(r);return r}function Ag(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function Ig(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Jg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,ja(a.destination,b)):(a.status=1,a.fatalError=b)} -function Kg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(l(108,qf(e)||"Unknown",h));e=B({},c,d)}b.legacyContext=e;Y(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Y(a,b,null,f,-1),b.keyPath=e} -function Lg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var m=0;m<f;m++)m===g?k.push(hc):k.push(ic)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Df(c,1,0),Mg(a,b,d,-1),b.treeContext=c):h?Mg(a,b,d,-1):Y(a,b,null,d,-1);b.keyPath=f}function Ng(a,b){if(a&&a.defaultProps){b=B({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function Og(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=sf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Bf(h,e,f,d);Kg(a,b,c,h,e)}else{h=sf(e,b.legacyContext);Pf={};Qf=b;Rf=a;Sf=c;Xf=Wf=0;Yf=-1;Zf=0;$f=d;d=e(f,h);d=fg(e,f,d,h);g=0!==Wf;var k=Xf,m=Yf;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Bf(d,e,f,h),Kg(a,b,c,d,e)):Lg(a,b,c,d,g,k,m)}else if("string"===typeof e)if(d= -b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Mb(h,e,f),b.keyPath=c,Mg(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Bc(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=Mb(h,e,f);b.keyPath=c;Mg(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(uc,z(e),vc)}d.lastPushedText=!1}else{switch(e){case kf:case gf:case We:case Xe:case Ve:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case hf:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Y(a,b,null,f.children,-1),b.keyPath=e);return;case cf:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case ff:throw Error(l(343));case bf:a:if(null!== -b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Mg(a,b,c,-1)}finally{b.keyPath=e}}else{m=b.keyPath;e=b.blockedBoundary;var q=b.blockedSegment;d=f.fallback;var t=f.children;f=new Set;g=Hg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=Ag(a,q.chunks.length,g,b.formatContext,!1,!1);q.children.push(k);q.lastPushedText=!1;var r=Ag(a,0,null,b.formatContext,!1,!1);r.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=r;a.renderState.boundaryResources=g.resources;b.keyPath=c;try{if(Mg(a, -b,t,-1),r.lastPushedText&&r.textEmbedded&&r.chunks.push(Nb),r.status=1,Pg(g,r),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(y){r.status=4,g.status=4,"object"===typeof y&&null!==y&&y.$$typeof===of?(a.onPostpone(y.message),h="POSTPONE"):h=Ig(a,y),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=q,b.keyPath=m}h=[c[0],"Suspense Fallback",c[2]];m=a.trackedPostpones;null!==m&&(q=[h[1],h[2],[],null],m.workingMap.set(h,q),5===g.status? -m.workingMap.get(c)[4]=q:g.trackedFallbackNode=q);b=Bg(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case af:e=e.render;Pf={};Qf=b;Rf=a;Sf=c;Xf=Wf=0;Yf=-1;Zf=0;$f=d;d=e(f,g);f=fg(e,f,d,g);Lg(a,b,c,f,0!==Wf,Xf,Yf);return;case df:e=e.type;f=Ng(e,f);Og(a,b,c,d,e,f,g);return;case Ye:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;k=tf;tf=f={parent:k,depth:null=== -k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;Y(a,b,null,h,-1);a=tf;if(null===a)throw Error(l(403));c=a.parentValue;a.context._currentValue=c===mf?a.context._defaultValue:c;a=tf=a.parent;b.context=a;b.keyPath=d;return;case Ze:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;Y(a,b,null,f,-1);b.keyPath=e;return;case ef:h=e._init;e=h(e._payload);f=Ng(e,f);Og(a,b,c,d,e,f,void 0);return}throw Error(l(130,null==e?e:typeof e,""));}} -function Qg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=Ag(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Mg(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Pg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function Y(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Te:var f=d.type,g=d.key,h=d.props,k=d.ref,m=qf(f),q=null==g?-1===e?0:e:g;g=[b.keyPath,m,q];if(null!==b.replay)a:{var t=b.replay;e=t.nodes;for(d=0;d<e.length;d++){var r=e[d];if(q===r[1]){if(null!==m&&m!==r[0])throw Error(l(489,m));if(4===r.length){m=r[2];r=r[3];b.replay={nodes:m,slots:r,pendingTasks:1};try{if("number"===typeof r){q=a;var y=b,M=y.replay,H=y.blockedBoundary,v=Ag(q,0,null,y.formatContext, -!1,!1);v.id=r;v.parentFlushed=!0;try{y.replay=null,y.blockedSegment=v,Og(q,y,g,c,f,h,k),v.status=1,null===H?q.completedRootSegment=v:(Pg(H,v),H.parentFlushed&&q.partialBoundaries.push(H))}finally{y.replay=M,y.blockedSegment=null}}else Og(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(l(488));}catch(E){if("object"===typeof E&&null!==E&&(E===If||"function"===typeof E.then))throw E;Rg(a,b.blockedBoundary,E,m,r)}finally{b.replay.pendingTasks--,b.replay=t}}else{if(f!== -bf)throw Error(l(490));b:{f=void 0;v=r[5];c=r[2];k=r[3];M=null===r[4]?[]:r[4][2];r=null===r[4]?null:r[4][3];m=b.keyPath;q=b.replay;H=b.blockedBoundary;y=h.children;h=h.fallback;t=new Set;var x=Hg(a,t);x.parentFlushed=!0;x.rootSegmentID=v;b.blockedBoundary=x;b.replay={nodes:c,slots:k,pendingTasks:1};a.renderState.boundaryResources=x.resources;try{"number"===typeof k?Qg(a,b,k,y,-1):Mg(a,b,y,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(l(488));b.replay.pendingTasks--;if(0=== -x.pendingTasks&&0===x.status){x.status=1;a.completedBoundaries.push(x);break b}}catch(E){x.status=4,"object"===typeof E&&null!==E&&E.$$typeof===of?(a.onPostpone(E.message),f="POSTPONE"):f=Ig(a,E),x.errorDigest=f,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(x)}finally{a.renderState.boundaryResources=H?H.resources:null,b.blockedBoundary=H,b.replay=q,b.keyPath=m}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof r?(f=Ag(a,0,null,b.formatContext,!1,!1),f.id=r,f.parentFlushed=!0,h=Bg(a,null, -h,-1,H,f,t,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):h=Eg(a,null,{nodes:M,slots:r,pendingTasks:0},h,-1,H,t,g,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else Og(a,b,g,c,f,h,k);return;case Ue:throw Error(l(257));case ef:h=d._init;d=h(d._payload);Y(a,b,null,d,e);return}if(Ea(d)){Sg(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=pf&&d[pf]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next(); -if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Sg(a,b,g,e)}return}if("function"===typeof d.then)return Y(a,b,null,pg(d),e);if(d.$$typeof===Ze||d.$$typeof===$e)return Y(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error(l(31,"[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e));}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Ob(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!== -e&&(e.lastPushedText=Ob(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function Sg(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{if(Sg(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(l(488));}catch(q){if("object"===typeof q&&null!==q&&(q===If||"function"===typeof q.then))throw q;Rg(a,b.blockedBoundary,q,d,k)}finally{b.replay.pendingTasks--,b.replay=f}g.splice(h,1);break}}b.keyPath= -e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=Df(f,g,k);var m=h[k];"number"===typeof m?(Qg(a,b,m,d,k),delete h[k]):Mg(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=Df(f,g,h),Mg(a,b,k,h);b.treeContext=f;b.keyPath=e} -function Tg(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error(l(486));var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Ug(d,g[0],b);return}var m=b.workingMap.get(g);void 0===m?(m=[g[1],g[2],k,null,h,f.rootSegmentID],b.workingMap.set(g,m),Ug(m,g[0],b)):(g=m,g[4]=h, -g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Ug(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error(l(491));}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Ug(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error(l(491)); +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ca=/["'&<>]/; +function G(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Ca.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var Ia=/([A-Z])/g,Ja=/^ms-/,Ka=Array.isArray,La=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ma={pending:!1,data:null,method:null,action:null},Na=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,$a={prefetchDNS:Oa,preconnect:Ua,preload:Va,preloadModule:Wa,preinitStyle:Xa,preinitScript:Ya,preinitModuleScript:Za},ab=[],bb=A('"></template>'),cb=A("<script>"),rb=A("\x3c/script>"),sb=A('<script src="'),tb=A('<script type="module" src="'),ub=A('" nonce="'),vb=A('" integrity="'), +wb=A('" crossorigin="'),xb=A('" async="">\x3c/script>'),yb=/(<\/|<)(s)(cript)/gi;function zb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var Ab=A('<script type="importmap">'),Jb=A("\x3c/script>"); +function Kb(a,b,c,d,e,f,g){var h=void 0===b?cb:A('<script nonce="'+G(b)+'">'),k=a.idPrefix,m=[],r=null;void 0!==c&&m.push(h,z((""+c).replace(yb,zb)),rb);void 0!==f&&("string"===typeof f?(r={src:f,chunks:[]},Lb(r.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(r={src:f.src,chunks:[]},Lb(r.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(Ab),c.push(z((""+JSON.stringify(g)).replace(yb,zb))),c.push(Jb));g={placeholderPrefix:A(k+"P:"),segmentPrefix:A(k+"S:"),boundaryPrefix:A(k+ +"B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:r,bootstrapChunks:m,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var t= +d[h];c=r=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof t?f.href=k=t:(f.href=k=t.src,f.integrity=c="string"===typeof t.integrity?t.integrity:void 0,f.crossOrigin=r="string"===typeof t||null==t.crossOrigin?void 0:"use-credentials"===t.crossOrigin?"use-credentials":"");t=a;var q=k;t.scriptResources[q]=null;t.moduleScriptResources[q]=null;t=[];K(t,f);g.bootstrapScripts.add(t);m.push(sb,z(G(k)));b&&m.push(ub,z(G(b)));"string"===typeof c&&m.push(vb,z(G(c)));"string"=== +typeof r&&m.push(wb,z(G(r)));m.push(xb)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],r=k=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=r="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=k="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,t=h,f.scriptResources[t]=null,f.moduleScriptResources[t]=null,f=[],K(f,c),g.bootstrapScripts.add(f),m.push(tb,z(G(h))),b&& +m.push(ub,z(G(b))),"string"===typeof r&&m.push(vb,z(G(r))),"string"===typeof k&&m.push(wb,z(G(k))),m.push(xb);return g}function Mb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} +function L(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Nb(a){return L("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} +function Ob(a,b,c){switch(b){case "noscript":return L(2,null,a.tagScope|1);case "select":return L(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return L(3,null,a.tagScope);case "picture":return L(2,null,a.tagScope|2);case "math":return L(4,null,a.tagScope);case "foreignObject":return L(2,null,a.tagScope);case "table":return L(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return L(6,null,a.tagScope);case "colgroup":return L(8,null,a.tagScope);case "tr":return L(7,null,a.tagScope)}return 5<= +a.insertionMode?L(2,null,a.tagScope):0===a.insertionMode?"html"===b?L(1,null,a.tagScope):L(2,null,a.tagScope):1===a.insertionMode?L(2,null,a.tagScope):a}var Pb=A("\x3c!-- --\x3e");function Qb(a,b,c,d){if(""===b)return d;d&&a.push(Pb);a.push(z(G(b)));return!0}var Rb=new Map,Sb=A(' style="'),Tb=A(":"),Ub=A(";"); +function Vb(a,b){if("object"!==typeof b)throw Error(l(62));var c=!0,d;for(d in b)if(D.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=z(G(d));e=z(G((""+e).trim()))}else f=Rb.get(d),void 0===f&&(f=A(G(d.replace(Ia,"-$1").toLowerCase().replace(Ja,"-ms-"))),Rb.set(d,f)),e="number"===typeof e?0===e||Aa.has(d)?z(""+e):z(e+"px"):z(G((""+e).trim()));c?(c=!1,a.push(Sb,f,Tb,e)):a.push(Ub,f,Tb,e)}}c||a.push(M)}var N=A(" "),O=A('="'),M=A('"'),Wb=A('=""'); +function Xb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,z(b),Wb)}function Q(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(N,z(b),O,z(G(c)),M)}function Yb(a){var b=a.nextFormID++;return a.idPrefix+b}var Zb=A(G("javascript:throw new Error('A React form was unexpectedly submitted.')")),$b=A('<input type="hidden"');function ac(a,b){this.push($b);if("string"!==typeof a)throw Error(l(480));Q(this,"name",b);Q(this,"value",a);this.push(bc)} +function cc(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Yb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(N,z("formAction"),O,Zb,M),g=f=e=d=h=null,dc(b,c)));null!=h&&R(a,"name",h);null!=d&&R(a,"formAction",d);null!=e&&R(a,"formEncType",e);null!=f&&R(a,"formMethod",f);null!=g&&R(a,"formTarget",g);return k} +function R(a,b,c){switch(b){case "className":Q(a,"class",c);break;case "tabIndex":Q(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":Q(a,b,c);break;case "style":Vb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(N,z(b),O,z(G(c)),M);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":Xb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(N,z("xlink:href"),O,z(G(c)),M);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,z(b),O,z(G(c)),M);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,z(b),Wb);break;case "capture":case "download":!0===c?a.push(N,z(b),Wb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,z(b),O,z(G(c)),M);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(N,z(b),O,z(G(c)),M);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(N,z(b),O,z(G(c)),M);break;case "xlinkActuate":Q(a,"xlink:actuate", +c);break;case "xlinkArcrole":Q(a,"xlink:arcrole",c);break;case "xlinkRole":Q(a,"xlink:role",c);break;case "xlinkShow":Q(a,"xlink:show",c);break;case "xlinkTitle":Q(a,"xlink:title",c);break;case "xlinkType":Q(a,"xlink:type",c);break;case "xmlBase":Q(a,"xml:base",c);break;case "xmlLang":Q(a,"xml:lang",c);break;case "xmlSpace":Q(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=Ba.get(b)||b,za(b)){switch(typeof c){case "function":case "symbol":return; +case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(N,z(b),O,z(G(c)),M)}}}var T=A(">"),bc=A("/>");function ec(a,b,c){if(null!=b){if(null!=c)throw Error(l(60));if("object"!==typeof b||!("__html"in b))throw Error(l(61));b=b.__html;null!==b&&void 0!==b&&a.push(z(""+b))}}function fc(a){var b="";ea.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var gc=A(' selected=""'),hc=A('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); +function dc(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,hc,rb))}var ic=A("\x3c!--F!--\x3e"),jc=A("\x3c!--F--\x3e"); +function kc(a,b,c,d,e,f,g){var h=b.rel,k=b.href,m=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return K(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof m||null!=b.disabled||b.onLoad||b.onError)return K(a,b);f=d.styles.get(m);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:z(G(m)),rules:[],hrefs:[],sheets:new Map},d.styles.set(m,f)),b={state:0,props:B({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&lc(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push(Pb);return null}if(b.onLoad||b.onError)return K(a,b);e&&a.push(Pb);switch(b.rel){case "preconnect":case "dns-prefetch":return K(d.preconnectChunks,b);case "preload":return K(d.preloadChunks,b);default:return K(d.hoistableChunks, +b)}}function K(a,b){a.push(U("link"));for(var c in b)if(D.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error(l(399,"link"));default:R(a,c,d)}}a.push(bc);return null}function tc(a,b,c){a.push(U(c));for(var d in b)if(D.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(l(399,c));default:R(a,d,e)}}a.push(bc);return null} +function uc(a,b){a.push(U("title"));var c=null,d=null,e;for(e in b)if(D.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(T);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(z(G(""+b)));ec(a,d,c);a.push(vc,z("title"),wc);return null} +function Lb(a,b){a.push(U("script"));var c=null,d=null,e;for(e in b)if(D.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(T);ec(a,d,c);"string"===typeof c&&a.push(z(G(c)));a.push(vc,z("script"),wc);return null} +function xc(a,b,c){a.push(U(c));var d=c=null,e;for(e in b)if(D.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(T);ec(a,d,c);return"string"===typeof c?(a.push(z(G(c))),null):c}var yc=A("\n"),zc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ac=new Map;function U(a){var b=Ac.get(a);if(void 0===b){if(!zc.test(a))throw Error(l(65,a));b=A("<"+a);Ac.set(a,b)}return b}var Bc=A("<!DOCTYPE html>"); +function Cc(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(U("select"));var h=null,k=null,m;for(m in c)if(D.call(c,m)){var r=c[m];if(null!=r)switch(m){case "children":h=r;break;case "dangerouslySetInnerHTML":k=r;break;case "defaultValue":case "value":break;default:R(a,m,r)}}a.push(T);ec(a,k,h);return h;case "option":var t=f.selectedValue;a.push(U("option"));var q=null,F=null,H=null,aa=null,v;for(v in c)if(D.call(c, +v)){var C=c[v];if(null!=C)switch(v){case "children":q=C;break;case "selected":H=C;break;case "dangerouslySetInnerHTML":aa=C;break;case "value":F=C;default:R(a,v,C)}}if(null!=t){var x=null!==F?""+F:fc(q);if(Ka(t))for(var la=0;la<t.length;la++){if(""+t[la]===x){a.push(gc);break}}else""+t===x&&a.push(gc)}else H&&a.push(gc);a.push(T);ec(a,aa,q);return q;case "textarea":a.push(U("textarea"));var E=null,W=null,y=null,ba;for(ba in c)if(D.call(c,ba)){var ma=c[ba];if(null!=ma)switch(ba){case "children":y= +ma;break;case "value":E=ma;break;case "defaultValue":W=ma;break;case "dangerouslySetInnerHTML":throw Error(l(91));default:R(a,ba,ma)}}null===E&&null!==W&&(E=W);a.push(T);if(null!=y){if(null!=E)throw Error(l(92));if(Ka(y)){if(1<y.length)throw Error(l(93));E=""+y[0]}E=""+y}"string"===typeof E&&"\n"===E[0]&&a.push(yc);null!==E&&a.push(z(G(""+E)));return null;case "input":a.push(U("input"));var S=null,na=null,I=null,oa=null,Da=null,ta=null,ua=null,va=null,Pa=null,ha;for(ha in c)if(D.call(c,ha)){var ca= +c[ha];if(null!=ca)switch(ha){case "children":case "dangerouslySetInnerHTML":throw Error(l(399,"input"));case "name":S=ca;break;case "formAction":na=ca;break;case "formEncType":I=ca;break;case "formMethod":oa=ca;break;case "formTarget":Da=ca;break;case "defaultChecked":Pa=ca;break;case "defaultValue":ua=ca;break;case "checked":va=ca;break;case "value":ta=ca;break;default:R(a,ha,ca)}}var rd=cc(a,d,e,na,I,oa,Da,S);null!==va?Xb(a,"checked",va):null!==Pa&&Xb(a,"checked",Pa);null!==ta?R(a,"value",ta):null!== +ua&&R(a,"value",ua);a.push(bc);null!==rd&&rd.forEach(ac,a);return null;case "button":a.push(U("button"));var db=null,sd=null,td=null,ud=null,vd=null,wd=null,xd=null,eb;for(eb in c)if(D.call(c,eb)){var pa=c[eb];if(null!=pa)switch(eb){case "children":db=pa;break;case "dangerouslySetInnerHTML":sd=pa;break;case "name":td=pa;break;case "formAction":ud=pa;break;case "formEncType":vd=pa;break;case "formMethod":wd=pa;break;case "formTarget":xd=pa;break;default:R(a,eb,pa)}}var yd=cc(a,d,e,ud,vd,wd,xd,td); +a.push(T);null!==yd&&yd.forEach(ac,a);ec(a,sd,db);if("string"===typeof db){a.push(z(G(db)));var zd=null}else zd=db;return zd;case "form":a.push(U("form"));var fb=null,Ad=null,wa=null,gb=null,hb=null,ib=null,jb;for(jb in c)if(D.call(c,jb)){var xa=c[jb];if(null!=xa)switch(jb){case "children":fb=xa;break;case "dangerouslySetInnerHTML":Ad=xa;break;case "action":wa=xa;break;case "encType":gb=xa;break;case "method":hb=xa;break;case "target":ib=xa;break;default:R(a,jb,xa)}}var mc=null,nc=null;if("function"=== +typeof wa)if("function"===typeof wa.$$FORM_ACTION){var kf=Yb(d),Qa=wa.$$FORM_ACTION(kf);wa=Qa.action||"";gb=Qa.encType;hb=Qa.method;ib=Qa.target;mc=Qa.data;nc=Qa.name}else a.push(N,z("action"),O,Zb,M),ib=hb=gb=wa=null,dc(d,e);null!=wa&&R(a,"action",wa);null!=gb&&R(a,"encType",gb);null!=hb&&R(a,"method",hb);null!=ib&&R(a,"target",ib);a.push(T);null!==nc&&(a.push($b),Q(a,"name",nc),a.push(bc),null!==mc&&mc.forEach(ac,a));ec(a,Ad,fb);if("string"===typeof fb){a.push(z(G(fb)));var Bd=null}else Bd=fb;return Bd; +case "menuitem":a.push(U("menuitem"));for(var Bb in c)if(D.call(c,Bb)){var Cd=c[Bb];if(null!=Cd)switch(Bb){case "children":case "dangerouslySetInnerHTML":throw Error(l(400));default:R(a,Bb,Cd)}}a.push(T);return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Dd=uc(a,c);else uc(e.hoistableChunks,c),Dd=null;return Dd;case "link":return kc(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var oc=c.async;if("string"!==typeof c.src||!c.src||!oc||"function"===typeof oc|| +"symbol"===typeof oc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Ed=Lb(a,c);else{var Cb=c.src;if("module"===c.type){var Db=d.moduleScriptResources;var Fd=e.preloads.moduleScripts}else Db=d.scriptResources,Fd=e.preloads.scripts;var Eb=Db.hasOwnProperty(Cb)?Db[Cb]:void 0;if(null!==Eb){Db[Cb]=null;var pc=c;if(Eb){2===Eb.length&&(pc=B({},c),lc(pc,Eb));var Gd=Fd.get(Cb);Gd&&(Gd.length=0)}var Hd=[];e.scripts.add(Hd);Lb(Hd,pc)}g&&a.push(Pb);Ed=null}return Ed;case "style":var Fb= +c.precedence,Ea=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Fb||"string"!==typeof Ea||""===Ea){a.push(U("style"));var Ra=null,Id=null,kb;for(kb in c)if(D.call(c,kb)){var Gb=c[kb];if(null!=Gb)switch(kb){case "children":Ra=Gb;break;case "dangerouslySetInnerHTML":Id=Gb;break;default:R(a,kb,Gb)}}a.push(T);var lb=Array.isArray(Ra)?2>Ra.length?Ra[0]:null:Ra;"function"!==typeof lb&&"symbol"!==typeof lb&&null!==lb&&void 0!==lb&&a.push(z(G(""+lb)));ec(a,Id,Ra);a.push(vc, +z("style"),wc);var Jd=null}else{var Fa=e.styles.get(Fb);if(null!==(d.styleResources.hasOwnProperty(Ea)?d.styleResources[Ea]:void 0)){d.styleResources[Ea]=null;Fa?Fa.hrefs.push(z(G(Ea))):(Fa={precedence:z(G(Fb)),rules:[],hrefs:[z(G(Ea))],sheets:new Map},e.styles.set(Fb,Fa));var Kd=Fa.rules,Sa=null,Ld=null,Hb;for(Hb in c)if(D.call(c,Hb)){var qc=c[Hb];if(null!=qc)switch(Hb){case "children":Sa=qc;break;case "dangerouslySetInnerHTML":Ld=qc}}var mb=Array.isArray(Sa)?2>Sa.length?Sa[0]:null:Sa;"function"!== +typeof mb&&"symbol"!==typeof mb&&null!==mb&&void 0!==mb&&Kd.push(z(G(""+mb)));ec(Kd,Ld,Sa)}Fa&&e.boundaryResources&&e.boundaryResources.styles.add(Fa);g&&a.push(Pb);Jd=void 0}return Jd;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Md=tc(a,c,"meta");else g&&a.push(Pb),Md="string"===typeof c.charSet?tc(e.charsetChunks,c,"meta"):"viewport"===c.name?tc(e.preconnectChunks,c,"meta"):tc(e.hoistableChunks,c,"meta");return Md;case "listing":case "pre":a.push(U(b));var nb=null,ob=null, +pb;for(pb in c)if(D.call(c,pb)){var Ib=c[pb];if(null!=Ib)switch(pb){case "children":nb=Ib;break;case "dangerouslySetInnerHTML":ob=Ib;break;default:R(a,pb,Ib)}}a.push(T);if(null!=ob){if(null!=nb)throw Error(l(60));if("object"!==typeof ob||!("__html"in ob))throw Error(l(61));var Ga=ob.__html;null!==Ga&&void 0!==Ga&&("string"===typeof Ga&&0<Ga.length&&"\n"===Ga[0]?a.push(yc,z(Ga)):a.push(z(""+Ga)))}"string"===typeof nb&&"\n"===nb[0]&&a.push(yc);return nb;case "img":var P=c.src,J=c.srcSet;if(!("lazy"=== +c.loading||!P&&!J||"string"!==typeof P&&null!=P||"string"!==typeof J&&null!=J)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof P||":"!==P[4]||"d"!==P[0]&&"D"!==P[0]||"a"!==P[1]&&"A"!==P[1]||"t"!==P[2]&&"T"!==P[2]||"a"!==P[3]&&"A"!==P[3])&&("string"!==typeof J||":"!==J[4]||"d"!==J[0]&&"D"!==J[0]||"a"!==J[1]&&"A"!==J[1]||"t"!==J[2]&&"T"!==J[2]||"a"!==J[3]&&"A"!==J[3])){var Nd="string"===typeof c.sizes?c.sizes:void 0,qb=J?J+"\n"+(Nd||""):P,rc=e.preloads.images,Ha=rc.get(qb);if(Ha){if("high"=== +c.fetchPriority||10>e.highImagePreloads.size)rc.delete(qb),e.highImagePreloads.add(Ha)}else d.imageResources.hasOwnProperty(qb)||(d.imageResources[qb]=ab,Ha=[],K(Ha,{rel:"preload",as:"image",href:J?void 0:P,imageSrcSet:J,imageSizes:Nd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Ha):(e.bulkPreloads.add(Ha),rc.set(qb,Ha)))}return tc(a,c,"img"); +case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return tc(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Od=xc(e.headChunks,c,"head")}else Od=xc(a,c,"head");return Od;case "html":if(0===f.insertionMode&&null=== +e.htmlChunks){e.htmlChunks=[Bc];var Pd=xc(e.htmlChunks,c,"html")}else Pd=xc(a,c,"html");return Pd;default:if(-1!==b.indexOf("-")){a.push(U(b));var sc=null,Qd=null,Ta;for(Ta in c)if(D.call(c,Ta)){var da=c[Ta];if(null!=da){var Rd=Ta;switch(Ta){case "children":sc=da;break;case "dangerouslySetInnerHTML":Qd=da;break;case "style":Vb(a,da);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;case "className":Rd="class";default:if(za(Ta)&&"function"!==typeof da&&"symbol"!==typeof da&& +!1!==da){if(!0===da)da="";else if("object"===typeof da)continue;a.push(N,z(Rd),O,z(G(da)),M)}}}}a.push(T);ec(a,Qd,sc);return sc}}return xc(a,c,b)}var vc=A("</"),wc=A(">");function Dc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)u(a,b[c]);return c<b.length?(c=b[c],b.length=0,w(a,c)):!0} +var Ec=A('<template id="'),Fc=A('"></template>'),Gc=A("\x3c!--$--\x3e"),Hc=A('\x3c!--$?--\x3e<template id="'),Ic=A('"></template>'),Jc=A("\x3c!--$!--\x3e"),Kc=A("\x3c!--/$--\x3e"),Lc=A("<template"),Mc=A('"'),Nc=A(' data-dgst="');A(' data-msg="');A(' data-stck="');var Oc=A("></template>");function Pc(a,b,c){u(a,Hc);if(null===c)throw Error(l(395));u(a,b.boundaryPrefix);u(a,z(c.toString(16)));return w(a,Ic)} +var Qc=A('<div hidden id="'),Rc=A('">'),Sc=A("</div>"),Tc=A('<svg aria-hidden="true" style="display:none" id="'),Uc=A('">'),Vc=A("</svg>"),Wc=A('<math aria-hidden="true" style="display:none" id="'),Xc=A('">'),Yc=A("</math>"),Zc=A('<table hidden id="'),$c=A('">'),ad=A("</table>"),bd=A('<table hidden><tbody id="'),cd=A('">'),dd=A("</tbody></table>"),ed=A('<table hidden><tr id="'),fd=A('">'),gd=A("</tr></table>"),hd=A('<table hidden><colgroup id="'),id=A('">'),jd=A("</colgroup></table>"); +function kd(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return u(a,Qc),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,Rc);case 3:return u(a,Tc),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,Uc);case 4:return u(a,Wc),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,Xc);case 5:return u(a,Zc),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,$c);case 6:return u(a,bd),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,cd);case 7:return u(a,ed),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,fd); +case 8:return u(a,hd),u(a,b.segmentPrefix),u(a,z(d.toString(16))),w(a,id);default:throw Error(l(397));}}function ld(a,b){switch(b.insertionMode){case 0:case 1:case 2:return w(a,Sc);case 3:return w(a,Vc);case 4:return w(a,Yc);case 5:return w(a,ad);case 6:return w(a,dd);case 7:return w(a,gd);case 8:return w(a,jd);default:throw Error(l(397));}} +var md=A('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),nd=A('$RS("'),od=A('","'),pd=A('")\x3c/script>'),qd=A('<template data-rsi="" data-sid="'),Sd=A('" data-pid="'),Td=A('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), +Ud=A('$RC("'),Vd=A('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Wd=A('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Xd=A('$RR("'),Yd=A('","'),Zd=A('",'),$d=A('"'),ae=A(")\x3c/script>"),be=A('<template data-rci="" data-bid="'),ce=A('<template data-rri="" data-bid="'),de=A('" data-sid="'),ee=A('" data-sty="'),fe=A('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),ge=A('$RX("'),he=A('"'),ie=A(","),je=A(")\x3c/script>"),ke=A('<template data-rxi="" data-bid="'),le=A('" data-dgst="'), +me=A('" data-msg="'),ne=A('" data-stck="'),oe=/[<\u2028\u2029]/g;function pe(a){return JSON.stringify(a).replace(oe,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var qe=/[&><\u2028\u2029]/g; +function re(a){return JSON.stringify(a).replace(qe,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} +var se=A('<style media="not all" data-precedence="'),te=A('" data-href="'),ue=A('">'),ve=A("</style>"),we=!1,xe=!0;function ye(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){u(this,se);u(this,a.precedence);for(u(this,te);d<c.length-1;d++)u(this,c[d]),u(this,ze);u(this,c[d]);u(this,ue);for(d=0;d<b.length;d++)u(this,b[d]);xe=w(this,ve);we=!0;b.length=0;c.length=0}}function Ae(a){return 2!==a.state?we=!0:!1} +function Be(a,b,c){we=!1;xe=!0;b.styles.forEach(ye,a);b.stylesheets.forEach(Ae);we&&(c.stylesToHoist=!0);return xe}function Ce(a){for(var b=0;b<a.length;b++)u(this,a[b]);a.length=0}var De=[];function Ee(a){K(De,a.props);for(var b=0;b<De.length;b++)u(this,De[b]);De.length=0;a.state=2}var Fe=A('<style data-precedence="'),Ge=A('" data-href="'),ze=A(" "),He=A('">'),Ie=A("</style>"); +function Je(a){var b=0<a.sheets.size;a.sheets.forEach(Ee,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){u(this,Fe);u(this,a.precedence);a=0;if(d.length){for(u(this,Ge);a<d.length-1;a++)u(this,d[a]),u(this,ze);u(this,d[a])}u(this,He);for(a=0;a<c.length;a++)u(this,c[a]);u(this,Ie);c.length=0;d.length=0}} +function Ke(a){if(0===a.state){a.state=1;var b=a.props;K(De,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<De.length;a++)u(this,De[a]);De.length=0}}function Le(a){a.sheets.forEach(Ke,this);a.sheets.clear()}var Me=A("["),Ne=A(",["),Oe=A(","),Pe=A("]"); +function Qe(a,b){u(a,Me);var c=Me;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,z(re(""+d.props.href))),u(a,Pe),c=Ne;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,z(re(""+d.props.href)));e=""+e;u(a,Oe);u(a,z(re(e)));for(var g in f)if(D.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(l(399,"link"));default:a:{e=a;var k=g.toLowerCase(); +switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!za(g))break a;h=""+h}u(e,Oe);u(e,z(re(k)));u(e,Oe);u(e,z(re(h)))}}}u(a,Pe);c=Ne;d.state=3}});u(a,Pe)} +function Re(a,b){u(a,Me);var c=Me;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,z(G(JSON.stringify(""+d.props.href)))),u(a,Pe),c=Ne;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,z(G(JSON.stringify(""+d.props.href))));e=""+e;u(a,Oe);u(a,z(G(JSON.stringify(e))));for(var g in f)if(D.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(l(399, +"link"));default:a:{e=a;var k=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!za(g))break a;h=""+h}u(e,Oe);u(e,z(G(JSON.stringify(k)))); +u(e,Oe);u(e,z(G(JSON.stringify(h))))}}}u(a,Pe);c=Ne;d.state=3}});u(a,Pe)}function Oa(a){var b=V?V:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;K(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Se(b)}}} +function Ua(a,b){var c=V?V:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;K(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Se(c)}}} +function Va(a,b,c){var d=V?V:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=ab;e=[];K(e,B({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];K(g,B({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?ab:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);K(g,B({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?ab:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=B({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}K(e,c);g[a]=ab}Se(d)}}} +function Wa(a,b){var c=V?V:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?ab:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=ab}K(f,B({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Se(c)}}} +function Xa(a,b,c){var d=V?V:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:z(G(b)),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:B({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&lc(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Se(d))}}} +function Ya(a,b){var c=V?V:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=B({src:a,async:!0},b),f&&(2===f.length&&lc(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Lb(a,b),Se(c))}}} +function Za(a,b){var c=V?V:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=B({src:a,type:"module",async:!0},b),f&&(2===f.length&&lc(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Lb(a,b),Se(c))}}}function lc(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Te(a){this.styles.add(a)} +function Ue(a){this.stylesheets.add(a)} +var Ve=Symbol.for("react.element"),We=Symbol.for("react.portal"),Xe=Symbol.for("react.fragment"),Ye=Symbol.for("react.strict_mode"),Ze=Symbol.for("react.profiler"),$e=Symbol.for("react.provider"),af=Symbol.for("react.context"),bf=Symbol.for("react.server_context"),cf=Symbol.for("react.forward_ref"),df=Symbol.for("react.suspense"),ef=Symbol.for("react.suspense_list"),ff=Symbol.for("react.memo"),gf=Symbol.for("react.lazy"),hf=Symbol.for("react.scope"),jf=Symbol.for("react.debug_trace_mode"),lf=Symbol.for("react.offscreen"), +mf=Symbol.for("react.legacy_hidden"),nf=Symbol.for("react.cache"),of=Symbol.for("react.default_value"),pf=Symbol.for("react.memo_cache_sentinel"),qf=Symbol.for("react.postpone"),rf=Symbol.iterator; +function sf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Xe:return"Fragment";case We:return"Portal";case Ze:return"Profiler";case Ye:return"StrictMode";case df:return"Suspense";case ef:return"SuspenseList";case nf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case af:return(a.displayName||"Context")+".Consumer";case $e:return(a._context.displayName||"Context")+".Provider";case cf:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ff:return b=a.displayName||null,null!==b?b:sf(a.type)||"Memo";case gf:b=a._payload;a=a._init;try{return sf(a(b))}catch(c){break}case bf:return(a.displayName||a._globalName)+".Provider"}return null}var tf={};function uf(a,b){a=a.contextTypes;if(!a)return tf;var c={},d;for(d in a)c[d]=b[d];return c}var vf=null; +function wf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(l(401));}else{if(null===c)throw Error(l(401));wf(a,c)}b.context._currentValue=b.value}}function xf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&xf(a)}function yf(a){var b=a.parent;null!==b&&yf(b);a.context._currentValue=a.value} +function zf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error(l(402));a.depth===b.depth?wf(a,b):zf(a,b)}function Af(a,b){var c=b.parent;if(null===c)throw Error(l(402));a.depth===c.depth?wf(a,c):Af(a,c);b.context._currentValue=b.value}function Bf(a){var b=vf;b!==a&&(null===b?yf(a):null===a?xf(b):b.depth===a.depth?wf(b,a):b.depth>a.depth?zf(b,a):Af(b,a),vf=a)} +var Cf={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function Df(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Cf;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:B({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Cf.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=B({},f,h)):B(f,h))}a.state=f}else f.queue=null} +var Ef={id:1,overflow:""};function Ff(a,b,c){var d=a.id;a=a.overflow;var e=32-Gf(d)-1;d&=~(1<<e);c+=1;var f=32-Gf(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Gf(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Gf=Math.clz32?Math.clz32:Hf,If=Math.log,Jf=Math.LN2;function Hf(a){a>>>=0;return 0===a?32:31-(If(a)/Jf|0)|0}var Kf=Error(l(460));function Lf(){} +function Mf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Lf,Lf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Nf=b;throw Kf;}}var Nf=null; +function Of(){if(null===Nf)throw Error(l(459));var a=Nf;Nf=null;return a}function Pf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Qf="function"===typeof Object.is?Object.is:Pf,Rf=null,Sf=null,Tf=null,Uf=null,Vf=null,X=null,Wf=!1,Xf=!1,Yf=0,Zf=0,$f=-1,ag=0,bg=null,cg=null,dg=0;function eg(){if(null===Rf)throw Error(l(321));return Rf}function fg(){if(0<dg)throw Error(l(312));return{memoizedState:null,queue:null,next:null}} +function gg(){null===X?null===Vf?(Wf=!1,Vf=X=fg()):(Wf=!0,X=Vf):null===X.next?(Wf=!1,X=X.next=fg()):(Wf=!0,X=X.next);return X}function hg(a,b,c,d){for(;Xf;)Xf=!1,Zf=Yf=0,$f=-1,ag=0,dg+=1,X=null,c=a(b,d);ig();return c}function jg(){var a=bg;bg=null;return a}function ig(){Uf=Tf=Sf=Rf=null;Xf=!1;Vf=null;dg=0;X=cg=null}function kg(a,b){return"function"===typeof b?b(a):b} +function lg(a,b,c){Rf=eg();X=gg();if(Wf){var d=X.queue;b=d.dispatch;if(null!==cg&&(c=cg.get(d),void 0!==c)){cg.delete(d);d=X.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);X.memoizedState=d;return[d,b]}return[X.memoizedState,b]}a=a===kg?"function"===typeof b?b():b:void 0!==c?c(b):b;X.memoizedState=a;a=X.queue={last:null,dispatch:null};a=a.dispatch=mg.bind(null,Rf,a);return[X.memoizedState,a]} +function ng(a,b){Rf=eg();X=gg();b=void 0===b?null:b;if(null!==X){var c=X.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Qf(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();X.memoizedState=[a,b];return a}function mg(a,b,c){if(25<=dg)throw Error(l(301));if(a===Rf)if(Xf=!0,a={action:c,next:null},null===cg&&(cg=new Map),c=cg.get(b),void 0===c)cg.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}} +function og(){throw Error(l(440));}function pg(){throw Error(l(394));}function qg(){throw Error(l(479));}function rg(a){var b=ag;ag+=1;null===bg&&(bg=[]);return Mf(bg,a,b)}function sg(){throw Error(l(393));}function tg(){} +var vg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return rg(a);if(a.$$typeof===af||a.$$typeof===bf)return a._currentValue}throw Error(l(438,String(a)));},useContext:function(a){eg();return a._currentValue},useMemo:ng,useReducer:lg,useRef:function(a){Rf=eg();X=gg();var b=X.memoizedState;return null===b?(a={current:a},X.memoizedState=a):b},useState:function(a){return lg(kg,a)},useInsertionEffect:tg,useLayoutEffect:tg, +useCallback:function(a,b){return ng(function(){return a},b)},useImperativeHandle:tg,useEffect:tg,useDebugValue:tg,useDeferredValue:function(a,b){eg();return void 0!==b?b:a},useTransition:function(){eg();return[!1,pg]},useId:function(){var a=Sf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Gf(a)-1)).toString(32)+b;var c=ug;if(null===c)throw Error(l(404));b=Yf++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(l(407)); +return c()},useCacheRefresh:function(){return sg},useEffectEvent:function(){return og},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=pf;return b},useHostTransitionStatus:function(){eg();return Ma},useOptimistic:function(a){eg();return[a,qg]},useFormState:function(a,b,c){eg();var d=Zf++,e=Tf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Uf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ia(JSON.stringify([g, +null,d]),0),k===f&&($f=d,b=e[0]))}var m=a.bind(null,b);a=function(t){m(t)};"function"===typeof m.$$FORM_ACTION&&(a.$$FORM_ACTION=function(t){t=m.$$FORM_ACTION(t);void 0!==c&&(c+="",t.action=c);var q=t.data;q&&(null===f&&(f=void 0!==c?"p"+c:"k"+ia(JSON.stringify([g,null,d]),0)),q.append("$ACTION_KEY",f));return t});return[b,a]}var r=a.bind(null,b);return[b,function(t){r(t)}]}},ug=null,wg={getCacheSignal:function(){throw Error(l(248));},getCacheForType:function(){throw Error(l(248));}},xg=La.ReactCurrentDispatcher, +yg=La.ReactCurrentCache;function zg(a){console.error(a);return null}function Y(){} +function Ag(a,b,c,d,e,f,g,h,k,m,r,t){Na.current=$a;var q=[],F=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:F,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?zg:f,onPostpone:void 0===r?Y:r,onAllReady:void 0===g?Y: +g,onShellReady:void 0===h?Y:h,onShellError:void 0===k?Y:k,onFatalError:void 0===m?Y:m,formState:void 0===t?null:t};c=Bg(b,0,null,d,!1,!1);c.parentFlushed=!0;a=Cg(b,null,a,-1,null,c,F,null,d,tf,null,Ef);q.push(a);return b}function Dg(a,b,c,d,e,f,g,h,k,m,r){a=Ag(a,b,c,d,e,f,g,h,k,m,r);a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null};return a} +function Eg(a,b,c,d,e,f,g,h,k){Na.current=$a;var m=[],r=new Set;c={destination:null,flushScheduled:!1,resumableState:b.resumableState,renderState:c,rootFormatContext:b.rootFormatContext,progressiveChunkSize:b.progressiveChunkSize,status:0,fatalError:null,nextSegmentId:b.nextSegmentId,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:r,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===d?zg:d,onPostpone:void 0=== +k?Y:k,onAllReady:void 0===e?Y:e,onShellReady:void 0===f?Y:f,onShellError:void 0===g?Y:g,onFatalError:void 0===h?Y:h,formState:null};a=Fg(c,null,{nodes:b.replayNodes,slots:b.replaySlots,pendingTasks:0},a,-1,null,r,null,b.rootFormatContext,tf,null,Ef);m.push(a);return c}var V=null;function Gg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,Hg(a))} +function Ig(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function Cg(a,b,c,d,e,f,g,h,k,m,r,t){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var q={replay:null,node:c,childIndex:d,ping:function(){return Gg(a,q)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:m,context:r,treeContext:t,thenableState:b};g.add(q);return q} +function Fg(a,b,c,d,e,f,g,h,k,m,r,t){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var q={replay:c,node:d,childIndex:e,ping:function(){return Gg(a,q)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:m,context:r,treeContext:t,thenableState:b};g.add(q);return q}function Bg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function Jg(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Kg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,qa(a.destination,b)):(a.status=1,a.fatalError=b)} +function Lg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(l(108,sf(e)||"Unknown",h));e=B({},c,d)}b.legacyContext=e;Z(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Z(a,b,null,f,-1),b.keyPath=e} +function Mg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var m=0;m<f;m++)m===g?k.push(ic):k.push(jc)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Ff(c,1,0),Ng(a,b,d,-1),b.treeContext=c):h?Ng(a,b,d,-1):Z(a,b,null,d,-1);b.keyPath=f}function Og(a,b){if(a&&a.defaultProps){b=B({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Pg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=uf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Df(h,e,f,d);Lg(a,b,c,h,e)}else{h=uf(e,b.legacyContext);Rf={};Sf=b;Tf=a;Uf=c;Zf=Yf=0;$f=-1;ag=0;bg=d;d=e(f,h);d=hg(e,f,d,h);g=0!==Yf;var k=Zf,m=$f;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Df(d,e,f,h),Lg(a,b,c,d,e)):Mg(a,b,c,d,g,k,m)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Ob(h,e,f),b.keyPath=c,Ng(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Cc(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=Ob(h,e,f);b.keyPath=c;Ng(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(vc,z(e),wc)}d.lastPushedText=!1}else{switch(e){case mf:case jf:case Ye:case Ze:case Xe:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case lf:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Z(a,b,null,f.children,-1),b.keyPath=e);return;case ef:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case hf:throw Error(l(343));case df:a:if(null!== +b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Ng(a,b,c,-1)}finally{b.keyPath=e}}else{m=b.keyPath;e=b.blockedBoundary;var r=b.blockedSegment;d=f.fallback;var t=f.children;f=new Set;g=Ig(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=Bg(a,r.chunks.length,g,b.formatContext,!1,!1);r.children.push(k);r.lastPushedText=!1;var q=Bg(a,0,null,b.formatContext,!1,!1);q.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=q;a.renderState.boundaryResources=g.resources;b.keyPath=c;try{if(Ng(a, +b,t,-1),q.lastPushedText&&q.textEmbedded&&q.chunks.push(Pb),q.status=1,Qg(g,q),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(F){q.status=4,g.status=4,"object"===typeof F&&null!==F&&F.$$typeof===qf?(a.onPostpone(F.message),h="POSTPONE"):h=Jg(a,F),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=r,b.keyPath=m}h=[c[0],"Suspense Fallback",c[2]];m=a.trackedPostpones;null!==m&&(r=[h[1],h[2],[],null],m.workingMap.set(h,r),5===g.status? +m.workingMap.get(c)[4]=r:g.trackedFallbackNode=r);b=Cg(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case cf:e=e.render;Rf={};Sf=b;Tf=a;Uf=c;Zf=Yf=0;$f=-1;ag=0;bg=d;d=e(f,g);f=hg(e,f,d,g);Mg(a,b,c,f,0!==Yf,Zf,$f);return;case ff:e=e.type;f=Og(e,f);Pg(a,b,c,d,e,f,g);return;case $e:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;k=vf;vf=f={parent:k,depth:null=== +k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;Z(a,b,null,h,-1);a=vf;if(null===a)throw Error(l(403));c=a.parentValue;a.context._currentValue=c===of?a.context._defaultValue:c;a=vf=a.parent;b.context=a;b.keyPath=d;return;case af:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;Z(a,b,null,f,-1);b.keyPath=e;return;case gf:h=e._init;e=h(e._payload);f=Og(e,f);Pg(a,b,c,d,e,f,void 0);return}throw Error(l(130,null==e?e:typeof e,""));}} +function Rg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=Bg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Ng(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Qg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function Z(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Rg(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Ve:var f=d.type,g=d.key,h=d.props,k=d.ref,m=sf(f),r=null==g?-1===e?0:e:g;g=[b.keyPath,m,r];if(null!==b.replay)a:{var t=b.replay;e=t.nodes;for(d=0;d<e.length;d++){var q=e[d];if(r===q[1]){if(4===q.length){if(null!==m&&m!==q[0])throw Error(l(490,q[0],m));m=q[2];q=q[3];r=b.node;b.replay={nodes:m,slots:q,pendingTasks:1}; +try{Pg(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(l(488));b.replay.pendingTasks--}catch(x){if("object"===typeof x&&null!==x&&(x===Kf||"function"===typeof x.then))throw b.node===r&&(b.replay=t),x;b.replay.pendingTasks--;Sg(a,b.blockedBoundary,x,m,q)}b.replay=t}else{if(f!==df)throw Error(l(490,"Suspense",sf(f)||"Unknown"));b:{c=void 0;f=q[5];k=q[2];t=q[3];m=null===q[4]?[]:q[4][2];q=null===q[4]?null:q[4][3];r=b.keyPath;var F=b.replay,H=b.blockedBoundary,aa=h.children; +h=h.fallback;var v=new Set,C=Ig(a,v);C.parentFlushed=!0;C.rootSegmentID=f;b.blockedBoundary=C;b.replay={nodes:k,slots:t,pendingTasks:1};a.renderState.boundaryResources=C.resources;try{Ng(a,b,aa,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(l(488));b.replay.pendingTasks--;if(0===C.pendingTasks&&0===C.status){C.status=1;a.completedBoundaries.push(C);break b}}catch(x){C.status=4,"object"===typeof x&&null!==x&&x.$$typeof===qf?(a.onPostpone(x.message),c="POSTPONE"):c=Jg(a,x),C.errorDigest= +c,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(C)}finally{a.renderState.boundaryResources=H?H.resources:null,b.blockedBoundary=H,b.replay=F,b.keyPath=r}h=Fg(a,null,{nodes:m,slots:q,pendingTasks:0},h,-1,H,v,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else Pg(a,b,g,c,f,h,k);return;case We:throw Error(l(257));case gf:h=d._init;d=h(d._payload);Z(a,b,null,d,e);return}if(Ka(d)){Tg(a,b,d,e);return}null=== +d||"object"!==typeof d?h=null:(h=rf&&d[rf]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Tg(a,b,g,e)}return}if("function"===typeof d.then)return Z(a,b,null,rg(d),e);if(d.$$typeof===af||d.$$typeof===bf)return Z(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error(l(31,"[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e));}"string"===typeof d?(e=b.blockedSegment, +null!==e&&(e.lastPushedText=Qb(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Qb(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Tg(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{Tg(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(l(488));b.replay.pendingTasks--}catch(r){if("object"===typeof r&&null!==r&&(r===Kf||"function"===typeof r.then))throw r;b.replay.pendingTasks--;Sg(a,b.blockedBoundary,r,d,k)}b.replay=f;g.splice(h, +1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=Ff(f,g,k);var m=h[k];"number"===typeof m?(Rg(a,b,m,d,k),delete h[k]):Ng(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=Ff(f,g,h),Ng(a,b,k,h);b.treeContext=f;b.keyPath=e} +function Ug(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error(l(486));var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Vg(d,g[0],b);return}var m=b.workingMap.get(g);void 0===m?(m=[g[1],g[2],k,null,h,f.rootSegmentID],b.workingMap.set(g,m),Vg(m,g[0],b)):(g=m,g[4]=h, +g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Vg(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error(l(491));}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Vg(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error(l(491)); a[c.childIndex]=d.id}} -function Mg(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,m=b.blockedSegment;if(null===m)try{return Y(a,b,null,c,d)}catch(r){if(gg(),d=r===If?Mf():r,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=hg();a=Eg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;zf(g);return}}else{var q= -m.children.length,t=m.chunks.length;try{return Y(a,b,null,c,d)}catch(r){if(gg(),m.children.length=q,m.chunks.length=t,d=r===If?Mf():r,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=hg();m=b.blockedSegment;q=Ag(a,m.chunks.length,null,b.formatContext,m.lastPushedText,!0);m.children.push(q);m.lastPushedText=!1;a=Bg(a,d,b.node,b.childIndex,b.blockedBoundary,q,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=k;zf(g);return}if(null!==a.trackedPostpones&&d.$$typeof===of&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;m=Ag(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(m);d.lastPushedText=!1;Tg(a,c,b,m);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;zf(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;zf(g);throw d;} -function Rg(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===of){a.onPostpone(c.message);var f="POSTPONE"}else f=Ig(a,c);Vg(a,b,d,e,c,f)}function Wg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Xg(this,b,a))} -function Vg(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Vg(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,m=f,q=Hg(k,new Set);q.parentFlushed=!0;q.rootSegmentID=h;q.status=4;q.errorDigest=m;q.parentFlushed&&k.clientRenderedBoundaries.push(q)}}c.length=0;if(null!==d){if(null===b)throw Error(l(487));4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var t in d)delete d[t]}} -function Yg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(Ig(b,c),Jg(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=Ig(b,c),Vg(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=Ig(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Yg(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function Pg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Pg(a,c)}else a.completedSegments.push(b)} -function Xg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(l(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=yg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Pg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Wg,a),b.fallbackAbortableTasks.clear())):null!== -c&&c.parentFlushed&&1===c.status&&(Pg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Gg(a){if(2!==a.status){var b=tf,c=vg.current;vg.current=tg;var d=wg.current;wg.current=ug;var e=W;W=a;var f=sg;sg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],m=a,q=k.blockedBoundary;m.renderState.boundaryResources=q?q.resources:null;var t=k.blockedSegment;if(null===t){var r=m;if(0!==k.replay.pendingTasks){zf(k.context);try{var y=k.thenableState;k.thenableState=null;Y(r,k,y,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error(l(488)); -k.replay.pendingTasks--;k.abortSet.delete(k);Xg(r,k.blockedBoundary,null)}catch(N){gg();var M=N===If?Mf():N;if("object"===typeof M&&null!==M&&"function"===typeof M.then){var H=k.ping;M.then(H,H);k.thenableState=hg()}else if(k.replay.pendingTasks--,k.abortSet.delete(k),Rg(r,k.blockedBoundary,M,k.replay.nodes,k.replay.slots),r.allPendingTasks--,0===r.allPendingTasks){var v=r.onAllReady;v()}}finally{r.renderState.boundaryResources=null}}}else a:{r=void 0;var x=t;if(0===x.status){zf(k.context);var E= -x.children.length,la=x.chunks.length;try{var F=k.thenableState;k.thenableState=null;Y(m,k,F,k.node,k.childIndex);x.lastPushedText&&x.textEmbedded&&x.chunks.push(Nb);k.abortSet.delete(k);x.status=1;Xg(m,k.blockedBoundary,x)}catch(N){gg();x.children.length=E;x.chunks.length=la;var C=N===If?Mf():N;if("object"===typeof C&&null!==C){if("function"===typeof C.then){var G=k.ping;C.then(G,G);k.thenableState=hg();break a}if(null!==m.trackedPostpones&&C.$$typeof===of&&null!==k.blockedBoundary){var fa=m.trackedPostpones; -k.abortSet.delete(k);m.onPostpone(C.message);Tg(m,fa,k,x);Xg(m,k.blockedBoundary,x);break a}}k.abortSet.delete(k);x.status=4;var R=k.blockedBoundary;"object"===typeof C&&null!==C&&C.$$typeof===of?(m.onPostpone(C.message),r="POSTPONE"):r=Ig(m,C);null===R?Jg(m,C):(R.pendingTasks--,4!==R.status&&(R.status=4,R.errorDigest=r,R.parentFlushed&&m.clientRenderedBoundaries.push(R)));m.allPendingTasks--;if(0===m.allPendingTasks){var ra=m.onAllReady;ra()}}finally{m.renderState.boundaryResources=null}}}}g.splice(0, -h);null!==a.destination&&Zg(a,a.destination)}catch(N){Ig(a,N),Jg(a,N)}finally{sg=f,vg.current=c,wg.current=d,c===tg&&zf(b),W=e}}} -function $g(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;u(b,Dc);u(b,a.placeholderPrefix);a=z(d.toString(16));u(b,a);return w(b,Ec);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)u(b,d[f]);e=ah(a,b,e)}for(;f<d.length-1;f++)u(b,d[f]);f<d.length&&(e=w(b,d[f]));return e;default:throw Error(l(390));}} -function ah(a,b,c){var d=c.boundary;if(null===d)return $g(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,w(b,Ic),u(b,Kc),d&&(u(b,Mc),u(b,z(I(d))),u(b,Lc)),w(b,Nc),$g(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Oc(b,a.renderState,d.rootSegmentID),$g(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Oc(b,a.renderState,d.rootSegmentID), -$g(a,b,c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Re,e),c.stylesheets.forEach(Se,e));w(b,Fc);d=d.completedSegments;if(1!==d.length)throw Error(l(391));ah(a,b,d[0])}return w(b,Jc)}function bh(a,b,c){jd(b,a.renderState,c.parentFormatContext,c.id);ah(a,b,c);return kd(b,c.parentFormatContext)} -function ch(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)dh(a,b,c,d[e]);d.length=0;ze(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(u(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,u(b,512<Td.byteLength?Td.slice():Td)):0===(d.instructions&8)?(d.instructions|=8,u(b,Ud)):u(b,Vd):0===(d.instructions&2)?(d.instructions|= -2,u(b,Rd)):u(b,Sd)):f?u(b,ae):u(b,$d);d=z(e.toString(16));u(b,a.boundaryPrefix);u(b,d);g?u(b,Wd):u(b,be);u(b,a.segmentPrefix);u(b,d);f?g?(u(b,Xd),Oe(b,c)):(u(b,ce),Pe(b,c)):g&&u(b,Yd);d=g?w(b,Zd):w(b,$a);return Cc(b,a)&&d} -function dh(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error(l(392));return bh(a,b,d)}if(e===c.rootSegmentID)return bh(a,b,d);bh(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(u(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,u(b,ld)):u(b,md)):u(b,pd);u(b,a.segmentPrefix);e=z(e.toString(16));u(b,e);d?u(b,nd):u(b,qd);u(b,a.placeholderPrefix);u(b,e);b=d?w(b,od):w(b,$a);return b} -function Zg(a,b){n=new Uint8Array(512);p=0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var m=e.htmlChunks,q=e.headChunks;f=0;if(m){for(f=0;f<m.length;f++)u(b,m[f]);if(q)for(f=0;f<q.length;f++)u(b,q[f]);else u(b,V("head")), -u(b,U)}else if(q)for(f=0;f<q.length;f++)u(b,q[f]);var t=e.charsetChunks;for(f=0;f<t.length;f++)u(b,t[f]);t.length=0;e.preconnects.forEach(Ae,b);e.preconnects.clear();var r=e.preconnectChunks;for(f=0;f<r.length;f++)u(b,r[f]);r.length=0;e.fontPreloads.forEach(Ae,b);e.fontPreloads.clear();e.highImagePreloads.forEach(Ae,b);e.highImagePreloads.clear();e.styles.forEach(He,b);var y=e.importMapChunks;for(f=0;f<y.length;f++)u(b,y[f]);y.length=0;e.bootstrapScripts.forEach(Ae,b);e.scripts.forEach(Ae,b);e.scripts.clear(); -e.bulkPreloads.forEach(Ae,b);e.bulkPreloads.clear();var M=e.preloadChunks;for(f=0;f<M.length;f++)u(b,M[f]);M.length=0;var H=e.hoistableChunks;for(f=0;f<H.length;f++)u(b,H[f]);H.length=0;m&&null===q&&(u(b,uc),u(b,z("head")),u(b,vc));ah(a,b,d);a.completedRootSegment=null;Cc(b,a.renderState)}else return;var v=a.renderState;d=0;v.preconnects.forEach(Ae,b);v.preconnects.clear();var x=v.preconnectChunks;for(d=0;d<x.length;d++)u(b,x[d]);x.length=0;v.fontPreloads.forEach(Ae,b);v.fontPreloads.clear();v.highImagePreloads.forEach(Ae, -b);v.highImagePreloads.clear();v.styles.forEach(Je,b);v.scripts.forEach(Ae,b);v.scripts.clear();v.bulkPreloads.forEach(Ae,b);v.bulkPreloads.clear();var E=v.preloadChunks;for(d=0;d<E.length;d++)u(b,E[d]);E.length=0;var la=v.hoistableChunks;for(d=0;d<la.length;d++)u(b,la[d]);la.length=0;var F=a.clientRenderedBoundaries;for(c=0;c<F.length;c++){var C=F[c];v=b;var G=a.resumableState,fa=a.renderState,R=C.rootSegmentID,ra=C.errorDigest,N=C.errorMessage,sa=C.errorComponentStack,ma=0===G.streamingFormat;ma? -(u(v,fa.startInlineScript),0===(G.instructions&4)?(G.instructions|=4,u(v,de)):u(v,ee)):u(v,ie);u(v,fa.boundaryPrefix);u(v,z(R.toString(16)));ma&&u(v,fe);if(ra||N||sa)ma?(u(v,ge),u(v,z(ne(ra||"")))):(u(v,je),u(v,z(I(ra||""))));if(N||sa)ma?(u(v,ge),u(v,z(ne(N||"")))):(u(v,ke),u(v,z(I(N||""))));sa&&(ma?(u(v,ge),u(v,z(ne(sa)))):(u(v,le),u(v,z(I(sa)))));if(ma?!w(v,he):!w(v,$a)){a.destination=null;c++;F.splice(0,c);return}}F.splice(0,c);var Fa=a.completedBoundaries;for(c=0;c<Fa.length;c++)if(!ch(a,b,Fa[c])){a.destination= -null;c++;Fa.splice(0,c);return}Fa.splice(0,c);ea(b);n=new Uint8Array(512);p=0;var ta=a.partialBoundaries;for(c=0;c<ta.length;c++){var ua=ta[c];a:{F=a;C=b;F.renderState.boundaryResources=ua.resources;var va=ua.completedSegments;for(G=0;G<va.length;G++)if(!dh(F,C,ua,va[G])){G++;va.splice(0,G);var Ra=!1;break a}va.splice(0,G);Ra=ze(C,ua.resources,F.renderState)}if(!Ra){a.destination=null;c++;ta.splice(0,c);return}}ta.splice(0,c);var ha=a.completedBoundaries;for(c=0;c<ha.length;c++)if(!ch(a,b,ha[c])){a.destination= -null;c++;ha.splice(0,c);return}ha.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,null===a.trackedPostpones&&(a=a.resumableState,a.hasBody&&(u(b,uc),u(b,z("body")),u(b,vc)),a.hasHtml&&(u(b,uc),u(b,z("html")),u(b,vc))),ea(b),b.close()):ea(b)}}function eh(a){a.flushScheduled=null!==a.destination;Gg(a)} -function Qe(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;Zg(a,b)}}function fh(a,b){if(1===a.status)a.status=2,ja(b,a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Zg(a,b)}catch(c){Ig(a,c),Jg(a,c)}}} -function gh(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error(l(432)):b;c.forEach(function(e){return Yg(e,a,d)});c.clear()}null!==a.destination&&Zg(a,a.destination)}catch(e){Ig(a,e),Jg(a,e)}}function Ug(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Ug(e,b[0],c));e[2].push(a)}} -function hh(a){var b=a.trackedPostpones;return null===b||0===b.rootNodes.length&&null===b.rootSlots?a.trackedPostpones=null:{nextSegmentId:a.nextSegmentId,rootFormatContext:a.rootFormatContext,progressiveChunkSize:a.progressiveChunkSize,resumableState:a.resumableState,replayNodes:b.rootNodes,replaySlots:b.rootSlots}} -exports.prerender=function(a,b){return new Promise(function(c,d){var e=Kb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),f=Cg(a,e,Ab(e,void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Lb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,function(){var k=new ReadableStream({type:"bytes",pull:function(m){fh(f,m)},cancel:function(){f.destination= -null;gh(f)}},{highWaterMark:0});k={postponed:hh(f),prelude:k};c(k)},void 0,void 0,d,b?b.onPostpone:void 0);if(b&&b.signal){var g=b.signal;if(g.aborted)gh(f,g.reason);else{var h=function(){gh(f,g.reason);g.removeEventListener("abort",h)};g.addEventListener("abort",h)}}eh(f)})}; -exports.renderToReadableStream=function(a,b){return new Promise(function(c,d){var e,f,g=new Promise(function(t,r){f=t;e=r}),h=Kb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),k=zg(a,h,Ab(h,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Lb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,f,function(){var t=new ReadableStream({type:"bytes", -pull:function(r){fh(k,r)},cancel:function(){k.destination=null;gh(k)}},{highWaterMark:0});t.allReady=g;c(t)},function(t){g.catch(function(){});d(t)},e,b?b.onPostpone:void 0,b?b.experimental_formState:void 0);if(b&&b.signal){var m=b.signal;if(m.aborted)gh(k,m.reason);else{var q=function(){gh(k,m.reason);m.removeEventListener("abort",q)};m.addEventListener("abort",q)}}eh(k)})}; -exports.resume=function(a,b,c){return new Promise(function(d,e){var f,g,h=new Promise(function(t,r){g=t;f=r}),k=Dg(a,b,Ab(b.resumableState,c?c.nonce:void 0,void 0,void 0,void 0,void 0,void 0),c?c.onError:void 0,g,function(){var t=new ReadableStream({type:"bytes",pull:function(r){fh(k,r)},cancel:function(){k.destination=null;gh(k)}},{highWaterMark:0});t.allReady=h;d(t)},function(t){h.catch(function(){});e(t)},f,c?c.onPostpone:void 0);if(c&&c.signal){var m=c.signal;if(m.aborted)gh(k,m.reason);else{var q= -function(){gh(k,m.reason);m.removeEventListener("abort",q)};m.addEventListener("abort",q)}}eh(k)})};exports.version="18.3.0-experimental-d900fadbf-20230929"; +function Ng(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,m=b.blockedSegment;if(null===m)try{return Z(a,b,null,c,d)}catch(q){if(ig(),d=q===Kf?Of():q,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=jg();a=Fg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Bf(g);return}}else{var r= +m.children.length,t=m.chunks.length;try{return Z(a,b,null,c,d)}catch(q){if(ig(),m.children.length=r,m.chunks.length=t,d=q===Kf?Of():q,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=jg();m=b.blockedSegment;r=Bg(a,m.chunks.length,null,b.formatContext,m.lastPushedText,!0);m.children.push(r);m.lastPushedText=!1;a=Cg(a,d,b.node,b.childIndex,b.blockedBoundary,r,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=k;Bf(g);return}if(null!==a.trackedPostpones&&d.$$typeof===qf&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;m=Bg(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(m);d.lastPushedText=!1;Ug(a,c,b,m);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Bf(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Bf(g);throw d;} +function Sg(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===qf){a.onPostpone(c.message);var f="POSTPONE"}else f=Jg(a,c);Wg(a,b,d,e,c,f)}function Xg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Yg(this,b,a))} +function Wg(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Wg(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,m=f,r=Ig(k,new Set);r.parentFlushed=!0;r.rootSegmentID=h;r.status=4;r.errorDigest=m;r.parentFlushed&&k.clientRenderedBoundaries.push(r)}}c.length=0;if(null!==d){if(null===b)throw Error(l(487));4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var t in d)delete d[t]}} +function Zg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){Jg(b,c);Kg(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=Jg(b,c),Wg(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=Y,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=Jg(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Zg(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Qg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Qg(a,c)}else a.completedSegments.push(b)} +function Yg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(l(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=Y,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Qg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Xg,a),b.fallbackAbortableTasks.clear())):null!== +c&&c.parentFlushed&&1===c.status&&(Qg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function Hg(a){if(2!==a.status){var b=vf,c=xg.current;xg.current=vg;var d=yg.current;yg.current=wg;var e=V;V=a;var f=ug;ug=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],m=a,r=k.blockedBoundary;m.renderState.boundaryResources=r?r.resources:null;var t=k.blockedSegment;if(null===t){var q=m;if(0!==k.replay.pendingTasks){Bf(k.context);try{var F=k.thenableState;k.thenableState=null;Z(q,k,F,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error(l(488)); +k.replay.pendingTasks--;k.abortSet.delete(k);Yg(q,k.blockedBoundary,null)}catch(I){ig();var H=I===Kf?Of():I;if("object"===typeof H&&null!==H&&"function"===typeof H.then){var aa=k.ping;H.then(aa,aa);k.thenableState=jg()}else{k.replay.pendingTasks--;k.abortSet.delete(k);Sg(q,k.blockedBoundary,H,k.replay.nodes,k.replay.slots);q.pendingRootTasks--;if(0===q.pendingRootTasks){q.onShellError=Y;var v=q.onShellReady;v()}q.allPendingTasks--;if(0===q.allPendingTasks){var C=q.onAllReady;C()}}}finally{q.renderState.boundaryResources= +null}}}else a:{q=void 0;var x=t;if(0===x.status){Bf(k.context);var la=x.children.length,E=x.chunks.length;try{var W=k.thenableState;k.thenableState=null;Z(m,k,W,k.node,k.childIndex);x.lastPushedText&&x.textEmbedded&&x.chunks.push(Pb);k.abortSet.delete(k);x.status=1;Yg(m,k.blockedBoundary,x)}catch(I){ig();x.children.length=la;x.chunks.length=E;var y=I===Kf?Of():I;if("object"===typeof y&&null!==y){if("function"===typeof y.then){var ba=k.ping;y.then(ba,ba);k.thenableState=jg();break a}if(null!==m.trackedPostpones&& +y.$$typeof===qf&&null!==k.blockedBoundary){var ma=m.trackedPostpones;k.abortSet.delete(k);m.onPostpone(y.message);Ug(m,ma,k,x);Yg(m,k.blockedBoundary,x);break a}}k.abortSet.delete(k);x.status=4;var S=k.blockedBoundary;"object"===typeof y&&null!==y&&y.$$typeof===qf?(m.onPostpone(y.message),q="POSTPONE"):q=Jg(m,y);null===S?Kg(m,y):(S.pendingTasks--,4!==S.status&&(S.status=4,S.errorDigest=q,S.parentFlushed&&m.clientRenderedBoundaries.push(S)));m.allPendingTasks--;if(0===m.allPendingTasks){var na=m.onAllReady; +na()}}finally{m.renderState.boundaryResources=null}}}}g.splice(0,h);null!==a.destination&&$g(a,a.destination)}catch(I){Jg(a,I),Kg(a,I)}finally{ug=f,xg.current=c,yg.current=d,c===vg&&Bf(b),V=e}}} +function ah(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;u(b,Ec);u(b,a.placeholderPrefix);a=z(d.toString(16));u(b,a);return w(b,Fc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)u(b,d[f]);e=bh(a,b,e)}for(;f<d.length-1;f++)u(b,d[f]);f<d.length&&(e=w(b,d[f]));return e;default:throw Error(l(390));}} +function bh(a,b,c){var d=c.boundary;if(null===d)return ah(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,w(b,Jc),u(b,Lc),d&&(u(b,Nc),u(b,z(G(d))),u(b,Mc)),w(b,Oc),ah(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Pc(b,a.renderState,d.rootSegmentID),ah(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Pc(b,a.renderState,d.rootSegmentID), +ah(a,b,c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Te,e),c.stylesheets.forEach(Ue,e));w(b,Gc);d=d.completedSegments;if(1!==d.length)throw Error(l(391));bh(a,b,d[0])}return w(b,Kc)}function ch(a,b,c){kd(b,a.renderState,c.parentFormatContext,c.id);bh(a,b,c);return ld(b,c.parentFormatContext)} +function dh(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)eh(a,b,c,d[e]);d.length=0;Be(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(u(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,u(b,512<Vd.byteLength?Vd.slice():Vd)):0===(d.instructions&8)?(d.instructions|=8,u(b,Wd)):u(b,Xd):0===(d.instructions&2)?(d.instructions|= +2,u(b,Td)):u(b,Ud)):f?u(b,ce):u(b,be);d=z(e.toString(16));u(b,a.boundaryPrefix);u(b,d);g?u(b,Yd):u(b,de);u(b,a.segmentPrefix);u(b,d);f?g?(u(b,Zd),Qe(b,c)):(u(b,ee),Re(b,c)):g&&u(b,$d);d=g?w(b,ae):w(b,bb);return Dc(b,a)&&d} +function eh(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error(l(392));return ch(a,b,d)}if(e===c.rootSegmentID)return ch(a,b,d);ch(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(u(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,u(b,md)):u(b,nd)):u(b,qd);u(b,a.segmentPrefix);e=z(e.toString(16));u(b,e);d?u(b,od):u(b,Sd);u(b,a.placeholderPrefix);u(b,e);b=d?w(b,pd):w(b,bb);return b} +function $g(a,b){n=new Uint8Array(512);p=0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var m=e.htmlChunks,r=e.headChunks;f=0;if(m){for(f=0;f<m.length;f++)u(b,m[f]);if(r)for(f=0;f<r.length;f++)u(b,r[f]);else u(b,U("head")), +u(b,T)}else if(r)for(f=0;f<r.length;f++)u(b,r[f]);var t=e.charsetChunks;for(f=0;f<t.length;f++)u(b,t[f]);t.length=0;e.preconnects.forEach(Ce,b);e.preconnects.clear();var q=e.preconnectChunks;for(f=0;f<q.length;f++)u(b,q[f]);q.length=0;e.fontPreloads.forEach(Ce,b);e.fontPreloads.clear();e.highImagePreloads.forEach(Ce,b);e.highImagePreloads.clear();e.styles.forEach(Je,b);var F=e.importMapChunks;for(f=0;f<F.length;f++)u(b,F[f]);F.length=0;e.bootstrapScripts.forEach(Ce,b);e.scripts.forEach(Ce,b);e.scripts.clear(); +e.bulkPreloads.forEach(Ce,b);e.bulkPreloads.clear();var H=e.preloadChunks;for(f=0;f<H.length;f++)u(b,H[f]);H.length=0;var aa=e.hoistableChunks;for(f=0;f<aa.length;f++)u(b,aa[f]);aa.length=0;m&&null===r&&(u(b,vc),u(b,z("head")),u(b,wc));bh(a,b,d);a.completedRootSegment=null;Dc(b,a.renderState)}else return;var v=a.renderState;d=0;v.preconnects.forEach(Ce,b);v.preconnects.clear();var C=v.preconnectChunks;for(d=0;d<C.length;d++)u(b,C[d]);C.length=0;v.fontPreloads.forEach(Ce,b);v.fontPreloads.clear(); +v.highImagePreloads.forEach(Ce,b);v.highImagePreloads.clear();v.styles.forEach(Le,b);v.scripts.forEach(Ce,b);v.scripts.clear();v.bulkPreloads.forEach(Ce,b);v.bulkPreloads.clear();var x=v.preloadChunks;for(d=0;d<x.length;d++)u(b,x[d]);x.length=0;var la=v.hoistableChunks;for(d=0;d<la.length;d++)u(b,la[d]);la.length=0;var E=a.clientRenderedBoundaries;for(c=0;c<E.length;c++){var W=E[c];v=b;var y=a.resumableState,ba=a.renderState,ma=W.rootSegmentID,S=W.errorDigest,na=W.errorMessage,I=W.errorComponentStack, +oa=0===y.streamingFormat;oa?(u(v,ba.startInlineScript),0===(y.instructions&4)?(y.instructions|=4,u(v,fe)):u(v,ge)):u(v,ke);u(v,ba.boundaryPrefix);u(v,z(ma.toString(16)));oa&&u(v,he);if(S||na||I)oa?(u(v,ie),u(v,z(pe(S||"")))):(u(v,le),u(v,z(G(S||""))));if(na||I)oa?(u(v,ie),u(v,z(pe(na||"")))):(u(v,me),u(v,z(G(na||""))));I&&(oa?(u(v,ie),u(v,z(pe(I)))):(u(v,ne),u(v,z(G(I)))));if(oa?!w(v,je):!w(v,bb)){a.destination=null;c++;E.splice(0,c);return}}E.splice(0,c);var Da=a.completedBoundaries;for(c=0;c<Da.length;c++)if(!dh(a, +b,Da[c])){a.destination=null;c++;Da.splice(0,c);return}Da.splice(0,c);ja(b);n=new Uint8Array(512);p=0;var ta=a.partialBoundaries;for(c=0;c<ta.length;c++){var ua=ta[c];a:{E=a;W=b;E.renderState.boundaryResources=ua.resources;var va=ua.completedSegments;for(y=0;y<va.length;y++)if(!eh(E,W,ua,va[y])){y++;va.splice(0,y);var Pa=!1;break a}va.splice(0,y);Pa=Be(W,ua.resources,E.renderState)}if(!Pa){a.destination=null;c++;ta.splice(0,c);return}}ta.splice(0,c);var ha=a.completedBoundaries;for(c=0;c<ha.length;c++)if(!dh(a, +b,ha[c])){a.destination=null;c++;ha.splice(0,c);return}ha.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,null===a.trackedPostpones&&(c=a.resumableState,c.hasBody&&(u(b,vc),u(b,z("body")),u(b,wc)),c.hasHtml&&(u(b,vc),u(b,z("html")),u(b,wc))),ja(b),b.close(),a.destination=null):ja(b)}}function fh(a){a.flushScheduled=null!==a.destination;Hg(a)} +function Se(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){a.flushScheduled=!0;var b=a.destination;b?$g(a,b):a.flushScheduled=!1}}function gh(a,b){if(1===a.status)a.status=2,qa(b,a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{$g(a,b)}catch(c){Jg(a,c),Kg(a,c)}}} +function hh(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error(l(432)):b;c.forEach(function(e){return Zg(e,a,d)});c.clear()}null!==a.destination&&$g(a,a.destination)}catch(e){Jg(a,e),Kg(a,e)}}function Vg(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Vg(e,b[0],c));e[2].push(a)}} +function ih(a){var b=a.trackedPostpones;return null===b||0===b.rootNodes.length&&null===b.rootSlots?a.trackedPostpones=null:{nextSegmentId:a.nextSegmentId,rootFormatContext:a.rootFormatContext,progressiveChunkSize:a.progressiveChunkSize,resumableState:a.resumableState,replayNodes:b.rootNodes,replaySlots:b.rootSlots}} +exports.prerender=function(a,b){return new Promise(function(c,d){var e=Mb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),f=Dg(a,e,Kb(e,void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Nb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,function(){var k=new ReadableStream({type:"bytes",pull:function(m){gh(f,m)},cancel:function(m){f.destination= +null;hh(f,m)}},{highWaterMark:0});k={postponed:ih(f),prelude:k};c(k)},void 0,void 0,d,b?b.onPostpone:void 0);if(b&&b.signal){var g=b.signal;if(g.aborted)hh(f,g.reason);else{var h=function(){hh(f,g.reason);g.removeEventListener("abort",h)};g.addEventListener("abort",h)}}fh(f)})}; +exports.renderToReadableStream=function(a,b){return new Promise(function(c,d){var e,f,g=new Promise(function(t,q){f=t;e=q}),h=Mb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),k=Ag(a,h,Kb(h,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Nb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,f,function(){var t=new ReadableStream({type:"bytes", +pull:function(q){gh(k,q)},cancel:function(q){k.destination=null;hh(k,q)}},{highWaterMark:0});t.allReady=g;c(t)},function(t){g.catch(function(){});d(t)},e,b?b.onPostpone:void 0,b?b.formState:void 0);if(b&&b.signal){var m=b.signal;if(m.aborted)hh(k,m.reason);else{var r=function(){hh(k,m.reason);m.removeEventListener("abort",r)};m.addEventListener("abort",r)}}fh(k)})}; +exports.resume=function(a,b,c){return new Promise(function(d,e){var f,g,h=new Promise(function(t,q){g=t;f=q}),k=Eg(a,b,Kb(b.resumableState,c?c.nonce:void 0,void 0,void 0,void 0,void 0,void 0),c?c.onError:void 0,g,function(){var t=new ReadableStream({type:"bytes",pull:function(q){gh(k,q)},cancel:function(q){k.destination=null;hh(k,q)}},{highWaterMark:0});t.allReady=h;d(t)},function(t){h.catch(function(){});e(t)},f,c?c.onPostpone:void 0);if(c&&c.signal){var m=c.signal;if(m.aborted)hh(k,m.reason);else{var r= +function(){hh(k,m.reason);m.removeEventListener("abort",r)};m.addEventListener("abort",r)}}fh(k)})};exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js index 9be71ae9ed6f2..1222ec202b572 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react-experimental"); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -338,7 +338,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -347,7 +347,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -356,7 +356,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -4046,26 +4046,7 @@ function pushStartCustomElement(target, props, tag) { continue; } - if ((typeof propValue === 'function' || typeof propValue === 'object')) { - // It is normal to render functions and objects on custom elements when - // client rendering, but when server rendering the output isn't useful, - // so skip it. - continue; - } - - if (propValue === false) { - continue; - } - - if (propValue === true) { - propValue = ''; - } - - if (propKey === 'className') { - // className gets rendered as class on the client, so it should be - // rendered as class on the server. - propKey = 'class'; - } + var attributeName = propKey; switch (propKey) { case 'children': @@ -4085,9 +4066,28 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + { + // className gets rendered as class on the client, so it should be + // rendered as class on the server. + attributeName = 'class'; + } + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + { + if (propValue === false) { + continue; + } else if (propValue === true) { + propValue = ''; + } else if (typeof propValue === 'object') { + continue; + } + } + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -8202,9 +8202,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return initialValue !== undefined ? initialValue : value; + } } function unsupportedStartTransition() { @@ -8603,7 +8606,7 @@ function resumeRequest(children, postponedState, renderState, onError, onAllRead progressiveChunkSize: postponedState.progressiveChunkSize, status: OPEN, fatalError: null, - nextSegmentId: 0, + nextSegmentId: postponedState.nextSegmentId, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, @@ -9044,11 +9047,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -9099,24 +9098,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -9124,8 +9114,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9666,37 +9655,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9707,17 +9665,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9725,37 +9684,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9819,8 +9781,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9998,24 +9967,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -10050,7 +10021,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -10375,6 +10346,7 @@ function renderNode(request, task, node, childIndex) { task.componentStack = previousComponentStack; } + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10436,6 +10408,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -10457,6 +10430,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -10570,8 +10545,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -10580,6 +10553,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -10590,6 +10564,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -10631,12 +10613,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10820,6 +10803,7 @@ function retryRenderTask(request, task, segment) { logPostpone(request, postponeInstance.message); trackPostpone(request, trackedPostpones, task, segment); finishedTask(request, task.blockedBoundary, segment); + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10896,6 +10880,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -11328,7 +11320,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } else { completeWriting(destination); } @@ -11354,10 +11349,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -11478,7 +11480,7 @@ function renderToReadableStream(children, options) { }, cancel: function (reason) { stopFlowing(request); - abort(request); + abort(request, reason); } }, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams. { @@ -11498,7 +11500,7 @@ function renderToReadableStream(children, options) { } var resumableState = createResumableState(options ? options.identifierPrefix : undefined, options ? options.unstable_externalRuntimeSrc : undefined); - var request = createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, onAllReady, onShellReady, onShellError, onFatalError, options ? options.onPostpone : undefined, options ? options.experimental_formState : undefined); + var request = createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, onAllReady, onShellReady, onShellError, onFatalError, options ? options.onPostpone : undefined, options ? options.formState : undefined); if (options && options.signal) { var signal = options.signal; @@ -11536,7 +11538,7 @@ function resume(children, postponedState, options) { }, cancel: function (reason) { stopFlowing(request); - abort(request); + abort(request, reason); } }, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams. { @@ -11588,7 +11590,7 @@ function prerender(children, options) { }, cancel: function (reason) { stopFlowing(request); - abort(request); + abort(request, reason); } }, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams. { diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js index 8491f8331e835..684ab97836d5e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js @@ -31,13 +31,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("react-dom"); -function ca(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< +'use strict';var ca=require("next/dist/compiled/react-experimental"),da=require("react-dom"); +function fa(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< 16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0}var l=null,n=0; -function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(512),n=0),a.enqueue(b);else{var c=l.length-n;c<b.byteLength&&(0===c?a.enqueue(l):(l.set(b.subarray(0,c),n),a.enqueue(l),b=b.subarray(c)),l=new Uint8Array(512),n=0);l.set(b,n);n+=b.byteLength}}function v(a,b){p(a,b);return!0}function fa(a){l&&0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}var ha=new TextEncoder;function y(a){return ha.encode(a)} -function z(a){return ha.encode(a)}function ia(a,b){"function"===typeof a.error?a.error(b):a.close()} -var A=Object.assign,C=Object.prototype.hasOwnProperty,ma=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),na={},oa={}; -function xa(a){if(C.call(oa,a))return!0;if(C.call(na,a))return!1;if(ma.test(a))return oa[a]=!0;na[a]=!0;return!1} +function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(512),n=0),a.enqueue(b);else{var c=l.length-n;c<b.byteLength&&(0===c?a.enqueue(l):(l.set(b.subarray(0,c),n),a.enqueue(l),b=b.subarray(c)),l=new Uint8Array(512),n=0);l.set(b,n);n+=b.byteLength}}function v(a,b){p(a,b);return!0}function ha(a){l&&0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}var ia=new TextEncoder;function y(a){return ia.encode(a)} +function z(a){return ia.encode(a)}function oa(a,b){"function"===typeof a.error?a.error(b):a.close()} +var A=Object.assign,C=Object.prototype.hasOwnProperty,pa=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),qa={},wa={}; +function xa(a){if(C.call(wa,a))return!0;if(C.call(qa,a))return!1;if(pa.test(a))return wa[a]=!0;qa[a]=!0;return!1} var ya=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),za= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", @@ -45,174 +45,173 @@ new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], ["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Aa=/["'&<>]/; -function H(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Aa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var Ba=/([A-Z])/g,Ca=/^ms-/,Ia=Array.isArray,Ja=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ka={pending:!1,data:null,method:null,action:null},La=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Xa={prefetchDNS:Ma,preconnect:Na,preload:Oa,preloadModule:Pa,preinitStyle:Ua,preinitScript:Va,preinitModuleScript:Wa},Ya=[],Za=z('"></template>'),$a=z("<script>"),ab=z("\x3c/script>"),bb=z('<script src="'),cb=z('<script type="module" src="'),rb=z('" nonce="'),sb=z('" integrity="'), -tb=z('" crossorigin="'),ub=z('" async="">\x3c/script>'),vb=/(<\/|<)(s)(cript)/gi;function wb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var xb=z('<script type="importmap">'),yb=z("\x3c/script>"); -function zb(a,b,c,d,e,f,g){var h=void 0===b?$a:z('<script nonce="'+H(b)+'">'),k=a.idPrefix,m=[],q=null;void 0!==c&&m.push(h,y((""+c).replace(vb,wb)),ab);void 0!==f&&("string"===typeof f?(q={src:f,chunks:[]},Ab(q.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(q={src:f.src,chunks:[]},Ab(q.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(xb),c.push(y((""+JSON.stringify(g)).replace(vb,wb))),c.push(yb));g={placeholderPrefix:z(k+"P:"),segmentPrefix:z(k+"S:"),boundaryPrefix:z(k+ -"B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:q,bootstrapChunks:m,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var t= -d[h];c=q=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof t?f.href=k=t:(f.href=k=t.src,f.integrity=c="string"===typeof t.integrity?t.integrity:void 0,f.crossOrigin=q="string"===typeof t||null==t.crossOrigin?void 0:"use-credentials"===t.crossOrigin?"use-credentials":"");t=a;var r=k;t.scriptResources[r]=null;t.moduleScriptResources[r]=null;t=[];J(t,f);g.bootstrapScripts.add(t);m.push(bb,y(H(k)));b&&m.push(rb,y(H(b)));"string"===typeof c&&m.push(sb,y(H(c)));"string"=== -typeof q&&m.push(tb,y(H(q)));m.push(ub)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],q=k=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=q="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=k="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,t=h,f.scriptResources[t]=null,f.moduleScriptResources[t]=null,f=[],J(f,c),g.bootstrapScripts.add(f),m.push(cb,y(H(h))),b&& -m.push(rb,y(H(b))),"string"===typeof q&&m.push(sb,y(H(q))),"string"===typeof k&&m.push(tb,y(H(k))),m.push(ub);return g}function Jb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} -function M(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Kb(a){return M("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} -function Lb(a,b,c){switch(b){case "noscript":return M(2,null,a.tagScope|1);case "select":return M(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return M(3,null,a.tagScope);case "picture":return M(2,null,a.tagScope|2);case "math":return M(4,null,a.tagScope);case "foreignObject":return M(2,null,a.tagScope);case "table":return M(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return M(6,null,a.tagScope);case "colgroup":return M(8,null,a.tagScope);case "tr":return M(7,null,a.tagScope)}return 5<= -a.insertionMode?M(2,null,a.tagScope):0===a.insertionMode?"html"===b?M(1,null,a.tagScope):M(2,null,a.tagScope):1===a.insertionMode?M(2,null,a.tagScope):a}var Mb=z("\x3c!-- --\x3e");function Nb(a,b,c,d){if(""===b)return d;d&&a.push(Mb);a.push(y(H(b)));return!0}var Ob=new Map,Pb=z(' style="'),Qb=z(":"),Rb=z(";"); -function Sb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(C.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=y(H(d));e=y(H((""+e).trim()))}else f=Ob.get(d),void 0===f&&(f=z(H(d.replace(Ba,"-$1").toLowerCase().replace(Ca,"-ms-"))),Ob.set(d,f)),e="number"===typeof e?0===e||ya.has(d)?y(""+ -e):y(e+"px"):y(H((""+e).trim()));c?(c=!1,a.push(Pb,f,Qb,e)):a.push(Rb,f,Qb,e)}}c||a.push(N)}var O=z(" "),R=z('="'),N=z('"'),Tb=z('=""');function Ub(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,y(b),Tb)}function S(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(O,y(b),R,y(H(c)),N)}function Vb(a){var b=a.nextFormID++;return a.idPrefix+b}var Wb=z(H("javascript:throw new Error('A React form was unexpectedly submitted.')")),Xb=z('<input type="hidden"'); -function Yb(a,b){this.push(Xb);if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");S(this,"name",b);S(this,"value",a);this.push(Zb)} -function $b(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Vb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(O,y("formAction"),R,Wb,N),g=f=e=d=h=null,ac(b,c)));null!=h&&T(a,"name",h);null!=d&&T(a,"formAction",d);null!=e&&T(a,"formEncType",e);null!=f&&T(a,"formMethod",f);null!=g&&T(a,"formTarget",g);return k} -function T(a,b,c){switch(b){case "className":S(a,"class",c);break;case "tabIndex":S(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":S(a,b,c);break;case "style":Sb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(O,y(b),R,y(H(c)),N);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":Ub(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(O,y("xlink:href"),R,y(H(c)),N);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,y(b),R,y(H(c)),N);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,y(b),Tb);break;case "capture":case "download":!0===c?a.push(O,y(b),Tb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,y(b),R,y(H(c)),N);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(O,y(b),R,y(H(c)),N);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(O,y(b),R,y(H(c)),N);break;case "xlinkActuate":S(a,"xlink:actuate", -c);break;case "xlinkArcrole":S(a,"xlink:arcrole",c);break;case "xlinkRole":S(a,"xlink:role",c);break;case "xlinkShow":S(a,"xlink:show",c);break;case "xlinkTitle":S(a,"xlink:title",c);break;case "xlinkType":S(a,"xlink:type",c);break;case "xmlBase":S(a,"xml:base",c);break;case "xmlLang":S(a,"xml:lang",c);break;case "xmlSpace":S(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=za.get(b)||b,xa(b)){switch(typeof c){case "function":case "symbol":return; -case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(O,y(b),R,y(H(c)),N)}}}var U=z(">"),Zb=z("/>"); -function bc(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(y(""+b))}}function cc(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var dc=z(' selected=""'),ec=z('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); -function ac(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,ec,ab))}var fc=z("\x3c!--F!--\x3e"),gc=z("\x3c!--F--\x3e"); -function hc(a,b,c,d,e,f,g){var h=b.rel,k=b.href,m=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return J(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof m||null!=b.disabled||b.onLoad||b.onError)return J(a,b);f=d.styles.get(m);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:y(H(m)),rules:[],hrefs:[],sheets:new Map},d.styles.set(m,f)),b={state:0,props:A({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&ic(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push(Mb);return null}if(b.onLoad||b.onError)return J(a,b);e&&a.push(Mb);switch(b.rel){case "preconnect":case "dns-prefetch":return J(d.preconnectChunks,b);case "preload":return J(d.preloadChunks,b);default:return J(d.hoistableChunks, -b)}}function J(a,b){a.push(V("link"));for(var c in b)if(C.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:T(a,c,d)}}a.push(Zb);return null} -function jc(a,b,c){a.push(V(c));for(var d in b)if(C.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:T(a,d,e)}}a.push(Zb);return null} -function kc(a,b){a.push(V("title"));var c=null,d=null,e;for(e in b)if(C.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:T(a,e,f)}}a.push(U);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(y(H(""+b)));bc(a,d,c);a.push(lc,y("title"),mc);return null} -function Ab(a,b){a.push(V("script"));var c=null,d=null,e;for(e in b)if(C.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:T(a,e,f)}}a.push(U);bc(a,d,c);"string"===typeof c&&a.push(y(H(c)));a.push(lc,y("script"),mc);return null} -function uc(a,b,c){a.push(V(c));var d=c=null,e;for(e in b)if(C.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:T(a,e,f)}}a.push(U);bc(a,d,c);return"string"===typeof c?(a.push(y(H(c))),null):c}var vc=z("\n"),wc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,xc=new Map;function V(a){var b=xc.get(a);if(void 0===b){if(!wc.test(a))throw Error("Invalid tag: "+a);b=z("<"+a);xc.set(a,b)}return b}var yc=z("<!DOCTYPE html>"); -function zc(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(V("select"));var h=null,k=null,m;for(m in c)if(C.call(c,m)){var q=c[m];if(null!=q)switch(m){case "children":h=q;break;case "dangerouslySetInnerHTML":k=q;break;case "defaultValue":case "value":break;default:T(a,m,q)}}a.push(U);bc(a,k,h);return h;case "option":var t=f.selectedValue;a.push(V("option"));var r=null,x=null,K=null,G=null,u;for(u in c)if(C.call(c, -u)){var w=c[u];if(null!=w)switch(u){case "children":r=w;break;case "selected":K=w;break;case "dangerouslySetInnerHTML":G=w;break;case "value":x=w;default:T(a,u,w)}}if(null!=t){var D=null!==x?""+x:cc(r);if(Ia(t))for(var ja=0;ja<t.length;ja++){if(""+t[ja]===D){a.push(dc);break}}else""+t===D&&a.push(dc)}else K&&a.push(dc);a.push(U);bc(a,G,r);return r;case "textarea":a.push(V("textarea"));var E=null,B=null,F=null,da;for(da in c)if(C.call(c,da)){var P=c[da];if(null!=P)switch(da){case "children":F=P;break; -case "value":E=P;break;case "defaultValue":B=P;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:T(a,da,P)}}null===E&&null!==B&&(E=B);a.push(U);if(null!=F){if(null!=E)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ia(F)){if(1<F.length)throw Error("<textarea> can only have at most one child.");E=""+F[0]}E=""+F}"string"===typeof E&&"\n"===E[0]&&a.push(vc);null!==E&&a.push(y(H(""+E)));return null; -case "input":a.push(V("input"));var pa=null,L=null,qa=null,ka=null,Da=null,ra=null,sa=null,ta=null,Qa=null,ea;for(ea in c)if(C.call(c,ea)){var Z=c[ea];if(null!=Z)switch(ea){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":pa=Z;break;case "formAction":L=Z;break;case "formEncType":qa=Z;break;case "formMethod":ka=Z;break;case "formTarget":Da=Z;break;case "defaultChecked":Qa=Z;break; -case "defaultValue":sa=Z;break;case "checked":ta=Z;break;case "value":ra=Z;break;default:T(a,ea,Z)}}var td=$b(a,d,e,L,qa,ka,Da,pa);null!==ta?Ub(a,"checked",ta):null!==Qa&&Ub(a,"checked",Qa);null!==ra?T(a,"value",ra):null!==sa&&T(a,"value",sa);a.push(Zb);null!==td&&td.forEach(Yb,a);return null;case "button":a.push(V("button"));var db=null,ud=null,vd=null,wd=null,xd=null,yd=null,zd=null,eb;for(eb in c)if(C.call(c,eb)){var la=c[eb];if(null!=la)switch(eb){case "children":db=la;break;case "dangerouslySetInnerHTML":ud= -la;break;case "name":vd=la;break;case "formAction":wd=la;break;case "formEncType":xd=la;break;case "formMethod":yd=la;break;case "formTarget":zd=la;break;default:T(a,eb,la)}}var Ad=$b(a,d,e,wd,xd,yd,zd,vd);a.push(U);null!==Ad&&Ad.forEach(Yb,a);bc(a,ud,db);if("string"===typeof db){a.push(y(H(db)));var Bd=null}else Bd=db;return Bd;case "form":a.push(V("form"));var fb=null,Cd=null,ua=null,gb=null,hb=null,ib=null,jb;for(jb in c)if(C.call(c,jb)){var va=c[jb];if(null!=va)switch(jb){case "children":fb=va; -break;case "dangerouslySetInnerHTML":Cd=va;break;case "action":ua=va;break;case "encType":gb=va;break;case "method":hb=va;break;case "target":ib=va;break;default:T(a,jb,va)}}var nc=null,oc=null;if("function"===typeof ua)if("function"===typeof ua.$$FORM_ACTION){var lf=Vb(d),Ra=ua.$$FORM_ACTION(lf);ua=Ra.action||"";gb=Ra.encType;hb=Ra.method;ib=Ra.target;nc=Ra.data;oc=Ra.name}else a.push(O,y("action"),R,Wb,N),ib=hb=gb=ua=null,ac(d,e);null!=ua&&T(a,"action",ua);null!=gb&&T(a,"encType",gb);null!=hb&& -T(a,"method",hb);null!=ib&&T(a,"target",ib);a.push(U);null!==oc&&(a.push(Xb),S(a,"name",oc),a.push(Zb),null!==nc&&nc.forEach(Yb,a));bc(a,Cd,fb);if("string"===typeof fb){a.push(y(H(fb)));var Dd=null}else Dd=fb;return Dd;case "menuitem":a.push(V("menuitem"));for(var Bb in c)if(C.call(c,Bb)){var Ed=c[Bb];if(null!=Ed)switch(Bb){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:T(a,Bb,Ed)}}a.push(U);return null;case "title":if(3=== -f.insertionMode||f.tagScope&1||null!=c.itemProp)var Fd=kc(a,c);else kc(e.hoistableChunks,c),Fd=null;return Fd;case "link":return hc(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var pc=c.async;if("string"!==typeof c.src||!c.src||!pc||"function"===typeof pc||"symbol"===typeof pc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Gd=Ab(a,c);else{var Cb=c.src;if("module"===c.type){var Db=d.moduleScriptResources;var Hd=e.preloads.moduleScripts}else Db=d.scriptResources, -Hd=e.preloads.scripts;var Eb=Db.hasOwnProperty(Cb)?Db[Cb]:void 0;if(null!==Eb){Db[Cb]=null;var qc=c;if(Eb){2===Eb.length&&(qc=A({},c),ic(qc,Eb));var Id=Hd.get(Cb);Id&&(Id.length=0)}var Jd=[];e.scripts.add(Jd);Ab(Jd,qc)}g&&a.push(Mb);Gd=null}return Gd;case "style":var Fb=c.precedence,Ea=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Fb||"string"!==typeof Ea||""===Ea){a.push(V("style"));var Sa=null,Kd=null,kb;for(kb in c)if(C.call(c,kb)){var Gb=c[kb];if(null!=Gb)switch(kb){case "children":Sa= -Gb;break;case "dangerouslySetInnerHTML":Kd=Gb;break;default:T(a,kb,Gb)}}a.push(U);var lb=Array.isArray(Sa)?2>Sa.length?Sa[0]:null:Sa;"function"!==typeof lb&&"symbol"!==typeof lb&&null!==lb&&void 0!==lb&&a.push(y(H(""+lb)));bc(a,Kd,Sa);a.push(lc,y("style"),mc);var Ld=null}else{var Fa=e.styles.get(Fb);if(null!==(d.styleResources.hasOwnProperty(Ea)?d.styleResources[Ea]:void 0)){d.styleResources[Ea]=null;Fa?Fa.hrefs.push(y(H(Ea))):(Fa={precedence:y(H(Fb)),rules:[],hrefs:[y(H(Ea))],sheets:new Map},e.styles.set(Fb, -Fa));var Md=Fa.rules,Ta=null,Nd=null,Hb;for(Hb in c)if(C.call(c,Hb)){var rc=c[Hb];if(null!=rc)switch(Hb){case "children":Ta=rc;break;case "dangerouslySetInnerHTML":Nd=rc}}var mb=Array.isArray(Ta)?2>Ta.length?Ta[0]:null:Ta;"function"!==typeof mb&&"symbol"!==typeof mb&&null!==mb&&void 0!==mb&&Md.push(y(H(""+mb)));bc(Md,Nd,Ta)}Fa&&e.boundaryResources&&e.boundaryResources.styles.add(Fa);g&&a.push(Mb);Ld=void 0}return Ld;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Od=jc(a,c, -"meta");else g&&a.push(Mb),Od="string"===typeof c.charSet?jc(e.charsetChunks,c,"meta"):"viewport"===c.name?jc(e.preconnectChunks,c,"meta"):jc(e.hoistableChunks,c,"meta");return Od;case "listing":case "pre":a.push(V(b));var nb=null,ob=null,pb;for(pb in c)if(C.call(c,pb)){var Ib=c[pb];if(null!=Ib)switch(pb){case "children":nb=Ib;break;case "dangerouslySetInnerHTML":ob=Ib;break;default:T(a,pb,Ib)}}a.push(U);if(null!=ob){if(null!=nb)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); -if("object"!==typeof ob||!("__html"in ob))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Ga=ob.__html;null!==Ga&&void 0!==Ga&&("string"===typeof Ga&&0<Ga.length&&"\n"===Ga[0]?a.push(vc,y(Ga)):a.push(y(""+Ga)))}"string"===typeof nb&&"\n"===nb[0]&&a.push(vc);return nb;case "img":var Q=c.src,I=c.srcSet;if(!("lazy"===c.loading||!Q&&!I||"string"!==typeof Q&&null!=Q||"string"!== -typeof I&&null!=I)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof Q||":"!==Q[4]||"d"!==Q[0]&&"D"!==Q[0]||"a"!==Q[1]&&"A"!==Q[1]||"t"!==Q[2]&&"T"!==Q[2]||"a"!==Q[3]&&"A"!==Q[3])&&("string"!==typeof I||":"!==I[4]||"d"!==I[0]&&"D"!==I[0]||"a"!==I[1]&&"A"!==I[1]||"t"!==I[2]&&"T"!==I[2]||"a"!==I[3]&&"A"!==I[3])){var Pd="string"===typeof c.sizes?c.sizes:void 0,qb=I?I+"\n"+(Pd||""):Q,sc=e.preloads.images,Ha=sc.get(qb);if(Ha){if("high"===c.fetchPriority||10>e.highImagePreloads.size)sc.delete(qb), -e.highImagePreloads.add(Ha)}else d.imageResources.hasOwnProperty(qb)||(d.imageResources[qb]=Ya,Ha=[],J(Ha,{rel:"preload",as:"image",href:I?void 0:Q,imageSrcSet:I,imageSizes:Pd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Ha):(e.bulkPreloads.add(Ha),sc.set(qb,Ha)))}return jc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return jc(a, -c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Qd=uc(e.headChunks,c,"head")}else Qd=uc(a,c,"head");return Qd;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[yc];var Rd=uc(e.htmlChunks,c,"html")}else Rd=uc(a,c,"html");return Rd;default:if(-1!==b.indexOf("-")){a.push(V(b)); -var tc=null,Sd=null,wa;for(wa in c)if(C.call(c,wa)){var X=c[wa];if(null!=X&&"function"!==typeof X&&"object"!==typeof X&&!1!==X)switch(!0===X&&(X=""),"className"===wa&&(wa="class"),wa){case "children":tc=X;break;case "dangerouslySetInnerHTML":Sd=X;break;case "style":Sb(a,X);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:xa(wa)&&"function"!==typeof X&&"symbol"!==typeof X&&a.push(O,y(wa),R,y(H(X)),N)}}a.push(U);bc(a,Sd,tc);return tc}}return uc(a,c,b)} -var lc=z("</"),mc=z(">");function Ac(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)p(a,b[c]);return c<b.length?(c=b[c],b.length=0,v(a,c)):!0}var Bc=z('<template id="'),Cc=z('"></template>'),Dc=z("\x3c!--$--\x3e"),Ec=z('\x3c!--$?--\x3e<template id="'),Fc=z('"></template>'),Gc=z("\x3c!--$!--\x3e"),Hc=z("\x3c!--/$--\x3e"),Ic=z("<template"),Jc=z('"'),Kc=z(' data-dgst="');z(' data-msg="');z(' data-stck="');var Lc=z("></template>"); -function Mc(a,b,c){p(a,Ec);if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");p(a,b.boundaryPrefix);p(a,y(c.toString(16)));return v(a,Fc)} -var Nc=z('<div hidden id="'),Oc=z('">'),Pc=z("</div>"),Qc=z('<svg aria-hidden="true" style="display:none" id="'),Rc=z('">'),Sc=z("</svg>"),Tc=z('<math aria-hidden="true" style="display:none" id="'),Uc=z('">'),Vc=z("</math>"),Wc=z('<table hidden id="'),Xc=z('">'),Yc=z("</table>"),Zc=z('<table hidden><tbody id="'),$c=z('">'),ad=z("</tbody></table>"),bd=z('<table hidden><tr id="'),cd=z('">'),dd=z("</tr></table>"),ed=z('<table hidden><colgroup id="'),fd=z('">'),gd=z("</colgroup></table>"); -function hd(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return p(a,Nc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,Oc);case 3:return p(a,Qc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,Rc);case 4:return p(a,Tc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,Uc);case 5:return p(a,Wc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,Xc);case 6:return p(a,Zc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,$c);case 7:return p(a,bd),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,cd); -case 8:return p(a,ed),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,fd);default:throw Error("Unknown insertion mode. This is a bug in React.");}}function id(a,b){switch(b.insertionMode){case 0:case 1:case 2:return v(a,Pc);case 3:return v(a,Sc);case 4:return v(a,Vc);case 5:return v(a,Yc);case 6:return v(a,ad);case 7:return v(a,dd);case 8:return v(a,gd);default:throw Error("Unknown insertion mode. This is a bug in React.");}} -var jd=z('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),kd=z('$RS("'),ld=z('","'),md=z('")\x3c/script>'),nd=z('<template data-rsi="" data-sid="'),od=z('" data-pid="'),pd=z('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), -qd=z('$RC("'),rd=z('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -sd=z('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Td=z('$RR("'),Ud=z('","'),Vd=z('",'),Wd=z('"'),Xd=z(")\x3c/script>"),Yd=z('<template data-rci="" data-bid="'),Zd=z('<template data-rri="" data-bid="'),$d=z('" data-sid="'),ae=z('" data-sty="'),be=z('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),ce=z('$RX("'),de=z('"'),ee=z(","),fe=z(")\x3c/script>"),ge=z('<template data-rxi="" data-bid="'),he=z('" data-dgst="'), -ie=z('" data-msg="'),je=z('" data-stck="'),ke=/[<\u2028\u2029]/g;function le(a){return JSON.stringify(a).replace(ke,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var me=/[&><\u2028\u2029]/g; -function ne(a){return JSON.stringify(a).replace(me,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} -var oe=z('<style media="not all" data-precedence="'),pe=z('" data-href="'),qe=z('">'),re=z("</style>"),se=!1,te=!0;function ue(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){p(this,oe);p(this,a.precedence);for(p(this,pe);d<c.length-1;d++)p(this,c[d]),p(this,ve);p(this,c[d]);p(this,qe);for(d=0;d<b.length;d++)p(this,b[d]);te=v(this,re);se=!0;b.length=0;c.length=0}}function we(a){return 2!==a.state?se=!0:!1} -function xe(a,b,c){se=!1;te=!0;b.styles.forEach(ue,a);b.stylesheets.forEach(we);se&&(c.stylesToHoist=!0);return te}function ye(a){for(var b=0;b<a.length;b++)p(this,a[b]);a.length=0}var ze=[];function Ae(a){J(ze,a.props);for(var b=0;b<ze.length;b++)p(this,ze[b]);ze.length=0;a.state=2}var Be=z('<style data-precedence="'),Ce=z('" data-href="'),ve=z(" "),De=z('">'),Ee=z("</style>"); -function Fe(a){var b=0<a.sheets.size;a.sheets.forEach(Ae,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){p(this,Be);p(this,a.precedence);a=0;if(d.length){for(p(this,Ce);a<d.length-1;a++)p(this,d[a]),p(this,ve);p(this,d[a])}p(this,De);for(a=0;a<c.length;a++)p(this,c[a]);p(this,Ee);c.length=0;d.length=0}} -function Ge(a){if(0===a.state){a.state=1;var b=a.props;J(ze,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<ze.length;a++)p(this,ze[a]);ze.length=0}}function He(a){a.sheets.forEach(Ge,this);a.sheets.clear()}var Ie=z("["),Je=z(",["),Ke=z(","),Le=z("]"); -function Me(a,b){p(a,Ie);var c=Ie;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)p(a,c),p(a,y(ne(""+d.props.href))),p(a,Le),c=Je;else{p(a,c);var e=d.props["data-precedence"],f=d.props;p(a,y(ne(""+d.props.href)));e=""+e;p(a,Ke);p(a,y(ne(e)));for(var g in f)if(C.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); -default:a:{e=a;var k=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!xa(g))break a;h=""+h}p(e,Ke);p(e,y(ne(k)));p(e,Ke);p(e,y(ne(h)))}}}p(a, -Le);c=Je;d.state=3}});p(a,Le)} -function Ne(a,b){p(a,Ie);var c=Ie;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)p(a,c),p(a,y(H(JSON.stringify(""+d.props.href)))),p(a,Le),c=Je;else{p(a,c);var e=d.props["data-precedence"],f=d.props;p(a,y(H(JSON.stringify(""+d.props.href))));e=""+e;p(a,Ke);p(a,y(H(JSON.stringify(e))));for(var g in f)if(C.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:a:{e= -a;var k=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!xa(g))break a;h=""+h}p(e,Ke);p(e,y(H(JSON.stringify(k))));p(e,Ke);p(e,y(H(JSON.stringify(h))))}}}p(a, -Le);c=Je;d.state=3}});p(a,Le)}function Ma(a){var b=Oe();if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;J(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Pe(b)}}} -function Na(a,b){var c=Oe();if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;J(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Pe(c)}}} -function Oa(a,b,c){var d=Oe();if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=Ya;e=[];J(e,A({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];J(g,A({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Ya:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);J(g,A({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Ya:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=A({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}J(e,c);g[a]=Ya}Pe(d)}}} -function Pa(a,b){var c=Oe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?Ya:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=Ya}J(f,A({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Pe(c)}}} -function Ua(a,b,c){var d=Oe();if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:y(H(b)),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:A({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&ic(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Pe(d))}}} -function Va(a,b){var c=Oe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=A({src:a,async:!0},b),f&&(2===f.length&&ic(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Ab(a,b),Pe(c))}}} -function Wa(a,b){var c=Oe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=A({src:a,type:"module",async:!0},b),f&&(2===f.length&&ic(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Ab(a,b),Pe(c))}}}function ic(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Qe(a){this.styles.add(a)} -function Re(a){this.stylesheets.add(a)} -var Se="function"===typeof AsyncLocalStorage,Te=Se?new AsyncLocalStorage:null,Ue=Symbol.for("react.element"),Ve=Symbol.for("react.portal"),We=Symbol.for("react.fragment"),Xe=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),Ze=Symbol.for("react.provider"),$e=Symbol.for("react.context"),af=Symbol.for("react.server_context"),bf=Symbol.for("react.forward_ref"),cf=Symbol.for("react.suspense"),df=Symbol.for("react.suspense_list"),ef=Symbol.for("react.memo"),ff=Symbol.for("react.lazy"),gf= -Symbol.for("react.scope"),hf=Symbol.for("react.debug_trace_mode"),jf=Symbol.for("react.offscreen"),kf=Symbol.for("react.legacy_hidden"),mf=Symbol.for("react.cache"),nf=Symbol.for("react.default_value"),of=Symbol.for("react.memo_cache_sentinel"),pf=Symbol.for("react.postpone"),qf=Symbol.iterator; -function rf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case We:return"Fragment";case Ve:return"Portal";case Ye:return"Profiler";case Xe:return"StrictMode";case cf:return"Suspense";case df:return"SuspenseList";case mf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case $e:return(a.displayName||"Context")+".Consumer";case Ze:return(a._context.displayName||"Context")+".Provider";case bf:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ef:return b=a.displayName||null,null!==b?b:rf(a.type)||"Memo";case ff:b=a._payload;a=a._init;try{return rf(a(b))}catch(c){break}case af:return(a.displayName||a._globalName)+".Provider"}return null}var sf={};function tf(a,b){a=a.contextTypes;if(!a)return sf;var c={},d;for(d in a)c[d]=b[d];return c}var uf=null; -function vf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");vf(a,c)}b.context._currentValue=b.value}}function wf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&wf(a)} -function xf(a){var b=a.parent;null!==b&&xf(b);a.context._currentValue=a.value}function yf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?vf(a,b):yf(a,b)} -function zf(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?vf(a,c):zf(a,c);b.context._currentValue=b.value}function Af(a){var b=uf;b!==a&&(null===b?xf(a):null===a?wf(b):b.depth===a.depth?vf(b,a):b.depth>a.depth?yf(b,a):zf(b,a),uf=a)} -var Bf={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function Cf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Bf;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:A({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Bf.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=A({},f,h)):A(f,h))}a.state=f}else f.queue=null} -var Df={id:1,overflow:""};function Ef(a,b,c){var d=a.id;a=a.overflow;var e=32-Ff(d)-1;d&=~(1<<e);c+=1;var f=32-Ff(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Ff(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Ff=Math.clz32?Math.clz32:Gf,Hf=Math.log,If=Math.LN2;function Gf(a){a>>>=0;return 0===a?32:31-(Hf(a)/If|0)|0}var Jf=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Kf(){}function Lf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Kf,Kf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Mf=b;throw Jf;}}var Mf=null; -function Nf(){if(null===Mf)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Mf;Mf=null;return a}function Of(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Pf="function"===typeof Object.is?Object.is:Of,Qf=null,Rf=null,Sf=null,Tf=null,Uf=null,W=null,Vf=!1,Wf=!1,Xf=0,Yf=0,Zf=-1,$f=0,ag=null,bg=null,cg=0; -function dg(){if(null===Qf)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Qf} -function eg(){if(0<cg)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function fg(){null===W?null===Uf?(Vf=!1,Uf=W=eg()):(Vf=!0,W=Uf):null===W.next?(Vf=!1,W=W.next=eg()):(Vf=!0,W=W.next);return W}function gg(a,b,c,d){for(;Wf;)Wf=!1,Yf=Xf=0,Zf=-1,$f=0,cg+=1,W=null,c=a(b,d);hg();return c}function ig(){var a=ag;ag=null;return a}function hg(){Tf=Sf=Rf=Qf=null;Wf=!1;Uf=null;cg=0;W=bg=null} -function jg(a,b){return"function"===typeof b?b(a):b}function kg(a,b,c){Qf=dg();W=fg();if(Vf){var d=W.queue;b=d.dispatch;if(null!==bg&&(c=bg.get(d),void 0!==c)){bg.delete(d);d=W.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);W.memoizedState=d;return[d,b]}return[W.memoizedState,b]}a=a===jg?"function"===typeof b?b():b:void 0!==c?c(b):b;W.memoizedState=a;a=W.queue={last:null,dispatch:null};a=a.dispatch=lg.bind(null,Qf,a);return[W.memoizedState,a]} -function mg(a,b){Qf=dg();W=fg();b=void 0===b?null:b;if(null!==W){var c=W.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Pf(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();W.memoizedState=[a,b];return a} -function lg(a,b,c){if(25<=cg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Qf)if(Wf=!0,a={action:c,next:null},null===bg&&(bg=new Map),c=bg.get(b),void 0===c)bg.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function ng(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.");}function og(){throw Error("startTransition cannot be called during server rendering.");} -function pg(){throw Error("Cannot update optimistic state while rendering.");}function qg(a){var b=$f;$f+=1;null===ag&&(ag=[]);return Lf(ag,a,b)}function rg(){throw Error("Cache cannot be refreshed during server rendering.");}function sg(){} -var ug={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return qg(a);if(a.$$typeof===$e||a.$$typeof===af)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){dg();return a._currentValue},useMemo:mg,useReducer:kg,useRef:function(a){Qf=dg();W=fg();var b=W.memoizedState;return null===b?(a={current:a},W.memoizedState=a):b},useState:function(a){return kg(jg,a)}, -useInsertionEffect:sg,useLayoutEffect:sg,useCallback:function(a,b){return mg(function(){return a},b)},useImperativeHandle:sg,useEffect:sg,useDebugValue:sg,useDeferredValue:function(a){dg();return a},useTransition:function(){dg();return[!1,og]},useId:function(){var a=Rf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Ff(a)-1)).toString(32)+b;var c=tg;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Xf++;a=":"+c.idPrefix+"R"+a;0<b&& -(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return rg},useEffectEvent:function(){return ng},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=of;return b},useHostTransitionStatus:function(){dg();return Ka},useOptimistic:function(a){dg();return[a,pg]},useFormState:function(a,b,c){dg(); -var d=Yf++,e=Sf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Tf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ca(JSON.stringify([g,null,d]),0),k===f&&(Zf=d,b=e[0]))}var m=a.bind(null,b);a=function(t){m(t)};"function"===typeof m.$$FORM_ACTION&&(a.$$FORM_ACTION=function(t){t=m.$$FORM_ACTION(t);void 0!==c&&(c+="",t.action=c);var r=t.data;r&&(null===f&&(f=void 0!==c?"p"+c:"k"+ca(JSON.stringify([g,null,d]), -0)),r.append("$ACTION_KEY",f));return t});return[b,a]}var q=a.bind(null,b);return[b,function(t){q(t)}]}},tg=null,vg={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},wg=Ja.ReactCurrentDispatcher,xg=Ja.ReactCurrentCache;function yg(a){console.error(a);return null}function zg(){} -function Ag(a,b,c,d,e,f,g,h,k,m,q,t){La.current=Xa;var r=[],x=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:x,pingedTasks:r,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?yg:f,onPostpone:void 0===q?zg:q,onAllReady:void 0===g? -zg:g,onShellReady:void 0===h?zg:h,onShellError:void 0===k?zg:k,onFatalError:void 0===m?zg:m,formState:void 0===t?null:t};c=Bg(b,0,null,d,!1,!1);c.parentFlushed=!0;a=Cg(b,null,a,-1,null,c,x,null,d,sf,null,Df);r.push(a);return b}function Dg(a,b,c,d,e,f,g,h,k,m,q){a=Ag(a,b,c,d,e,f,g,h,k,m,q);a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null};return a} -function Eg(a,b,c,d,e,f,g,h,k){La.current=Xa;var m=[],q=new Set;c={destination:null,flushScheduled:!1,resumableState:b.resumableState,renderState:c,rootFormatContext:b.rootFormatContext,progressiveChunkSize:b.progressiveChunkSize,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:q,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===d?yg:d,onPostpone:void 0=== -k?zg:k,onAllReady:void 0===e?zg:e,onShellReady:void 0===f?zg:f,onShellError:void 0===g?zg:g,onFatalError:void 0===h?zg:h,formState:null};a=Fg(c,null,{nodes:b.replayNodes,slots:b.replaySlots,pendingTasks:0},a,-1,null,q,null,b.rootFormatContext,sf,null,Df);m.push(a);return c}var Gg=null;function Oe(){if(Gg)return Gg;if(Se){var a=Te.getStore();if(a)return a}return null} -function Hg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return Ig(a)},0))}function Jg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function Cg(a,b,c,d,e,f,g,h,k,m,q,t){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var r={replay:null,node:c,childIndex:d,ping:function(){return Hg(a,r)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:m,context:q,treeContext:t,thenableState:b};g.add(r);return r} -function Fg(a,b,c,d,e,f,g,h,k,m,q,t){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var r={replay:c,node:d,childIndex:e,ping:function(){return Hg(a,r)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:m,context:q,treeContext:t,thenableState:b};g.add(r);return r}function Bg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function Kg(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Lg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,ia(a.destination,b)):(a.status=1,a.fatalError=b)} -function Mg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((rf(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=A({},c,d)}b.legacyContext=e;Y(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Y(a,b,null,f,-1),b.keyPath=e} -function Ng(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var m=0;m<f;m++)m===g?k.push(fc):k.push(gc)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Ef(c,1,0),Og(a,b,d,-1),b.treeContext=c):h?Og(a,b,d,-1):Y(a,b,null,d,-1);b.keyPath=f}function Pg(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function Qg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=tf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Cf(h,e,f,d);Mg(a,b,c,h,e)}else{h=tf(e,b.legacyContext);Qf={};Rf=b;Sf=a;Tf=c;Yf=Xf=0;Zf=-1;$f=0;ag=d;d=e(f,h);d=gg(e,f,d,h);g=0!==Xf;var k=Yf,m=Zf;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Cf(d,e,f,h),Mg(a,b,c,d,e)):Ng(a,b,c,d,g,k,m)}else if("string"===typeof e)if(d= -b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Lb(h,e,f),b.keyPath=c,Og(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=zc(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=Lb(h,e,f);b.keyPath=c;Og(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(lc,y(e),mc)}d.lastPushedText=!1}else{switch(e){case kf:case hf:case Xe:case Ye:case We:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case jf:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Y(a,b,null,f.children,-1),b.keyPath=e);return;case df:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case gf:throw Error("ReactDOMServer does not yet support scope components."); -case cf:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Og(a,b,c,-1)}finally{b.keyPath=e}}else{m=b.keyPath;e=b.blockedBoundary;var q=b.blockedSegment;d=f.fallback;var t=f.children;f=new Set;g=Jg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=Bg(a,q.chunks.length,g,b.formatContext,!1,!1);q.children.push(k);q.lastPushedText=!1;var r=Bg(a,0,null,b.formatContext,!1,!1);r.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=r;a.renderState.boundaryResources=g.resources;b.keyPath= -c;try{if(Og(a,b,t,-1),r.lastPushedText&&r.textEmbedded&&r.chunks.push(Mb),r.status=1,Rg(g,r),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(x){r.status=4,g.status=4,"object"===typeof x&&null!==x&&x.$$typeof===pf?(a.onPostpone(x.message),h="POSTPONE"):h=Kg(a,x),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=q,b.keyPath=m}h=[c[0],"Suspense Fallback",c[2]];m=a.trackedPostpones;null!==m&&(q=[h[1],h[2],[],null],m.workingMap.set(h, -q),5===g.status?m.workingMap.get(c)[4]=q:g.trackedFallbackNode=q);b=Cg(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case bf:e=e.render;Qf={};Rf=b;Sf=a;Tf=c;Yf=Xf=0;Zf=-1;$f=0;ag=d;d=e(f,g);f=gg(e,f,d,g);Ng(a,b,c,f,0!==Xf,Yf,Zf);return;case ef:e=e.type;f=Pg(e,f);Qg(a,b,c,d,e,f,g);return;case Ze:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;k=uf;uf=f= -{parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;Y(a,b,null,h,-1);a=uf;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===nf?a.context._defaultValue:c;a=uf=a.parent;b.context=a;b.keyPath=d;return;case $e:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;Y(a,b,null,f,-1);b.keyPath=e;return;case ff:h=e._init;e=h(e._payload);f=Pg(e,f);Qg(a,b,c,d,e,f,void 0); -return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==e?e:typeof e)+"."));}}function Sg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=Bg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Og(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Rg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function Y(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Ue:var f=d.type,g=d.key,h=d.props,k=d.ref,m=rf(f),q=null==g?-1===e?0:e:g;g=[b.keyPath,m,q];if(null!==b.replay)a:{var t=b.replay;e=t.nodes;for(d=0;d<e.length;d++){var r=e[d];if(q===r[1]){if(null!==m&&m!==r[0])throw Error('Expected to see a component of type "'+m+"\" in this slot. The tree doesn't match so React will fallback to client rendering.");if(4===r.length){m=r[2];r=r[3];b.replay={nodes:m, -slots:r,pendingTasks:1};try{if("number"===typeof r){q=a;var x=b,K=x.replay,G=x.blockedBoundary,u=Bg(q,0,null,x.formatContext,!1,!1);u.id=r;u.parentFlushed=!0;try{x.replay=null,x.blockedSegment=u,Qg(q,x,g,c,f,h,k),u.status=1,null===G?q.completedRootSegment=u:(Rg(G,u),G.parentFlushed&&q.partialBoundaries.push(G))}finally{x.replay=K,x.blockedSegment=null}}else Qg(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -}catch(D){if("object"===typeof D&&null!==D&&(D===Jf||"function"===typeof D.then))throw D;Tg(a,b.blockedBoundary,D,m,r)}finally{b.replay.pendingTasks--,b.replay=t}}else{if(f!==cf)throw Error("Expected to see a Suspense boundary in this slot. The tree doesn't match so React will fallback to client rendering.");b:{f=void 0;u=r[5];c=r[2];k=r[3];K=null===r[4]?[]:r[4][2];r=null===r[4]?null:r[4][3];m=b.keyPath;q=b.replay;G=b.blockedBoundary;x=h.children;h=h.fallback;t=new Set;var w=Jg(a,t);w.parentFlushed= -!0;w.rootSegmentID=u;b.blockedBoundary=w;b.replay={nodes:c,slots:k,pendingTasks:1};a.renderState.boundaryResources=w.resources;try{"number"===typeof k?Sg(a,b,k,x,-1):Og(a,b,x,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===w.pendingTasks&&0===w.status){w.status=1;a.completedBoundaries.push(w);break b}}catch(D){w.status= -4,"object"===typeof D&&null!==D&&D.$$typeof===pf?(a.onPostpone(D.message),f="POSTPONE"):f=Kg(a,D),w.errorDigest=f,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(w)}finally{a.renderState.boundaryResources=G?G.resources:null,b.blockedBoundary=G,b.replay=q,b.keyPath=m}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof r?(f=Bg(a,0,null,b.formatContext,!1,!1),f.id=r,f.parentFlushed=!0,h=Cg(a,null,h,-1,G,f,t,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):h=Fg(a,null,{nodes:K,slots:r, -pendingTasks:0},h,-1,G,t,g,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else Qg(a,b,g,c,f,h,k);return;case Ve:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ff:h=d._init;d=h(d._payload);Y(a,b,null,d,e);return}if(Ia(d)){Ug(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=qf&&d[qf]||d["@@iterator"],h="function"===typeof h?h:null); -if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Ug(a,b,g,e)}return}if("function"===typeof d.then)return Y(a,b,null,qg(d),e);if(d.$$typeof===$e||d.$$typeof===af)return Y(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"=== -typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Nb(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Nb(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function Ug(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{if(Ug(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");}catch(q){if("object"===typeof q&&null!==q&&(q===Jf|| -"function"===typeof q.then))throw q;Tg(a,b.blockedBoundary,q,d,k)}finally{b.replay.pendingTasks--,b.replay=f}g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=Ef(f,g,k);var m=h[k];"number"===typeof m?(Sg(a,b,m,d,k),delete h[k]):Og(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=Ef(f,g,h),Og(a,b,k,h);b.treeContext=f;b.keyPath=e} -function Vg(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Wg(d,g[0],b);return}var m=b.workingMap.get(g);void 0===m?(m=[g[1],g[2],k,null, -h,f.rootSegmentID],b.workingMap.set(g,m),Wg(m,g[0],b)):(g=m,g[4]=h,g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Wg(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React."); -}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Wg(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");a[c.childIndex]=d.id}} -function Og(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,m=b.blockedSegment;if(null===m)try{return Y(a,b,null,c,d)}catch(r){if(hg(),d=r===Jf?Nf():r,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=ig();a=Fg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Af(g);return}}else{var q= -m.children.length,t=m.chunks.length;try{return Y(a,b,null,c,d)}catch(r){if(hg(),m.children.length=q,m.chunks.length=t,d=r===Jf?Nf():r,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=ig();m=b.blockedSegment;q=Bg(a,m.chunks.length,null,b.formatContext,m.lastPushedText,!0);m.children.push(q);m.lastPushedText=!1;a=Cg(a,d,b.node,b.childIndex,b.blockedBoundary,q,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=k;Af(g);return}if(null!==a.trackedPostpones&&d.$$typeof===pf&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;m=Bg(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(m);d.lastPushedText=!1;Vg(a,c,b,m);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Af(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Af(g);throw d;} -function Tg(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===pf){a.onPostpone(c.message);var f="POSTPONE"}else f=Kg(a,c);Xg(a,b,d,e,c,f)}function Yg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Zg(this,b,a))} -function Xg(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Xg(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,m=f,q=Jg(k,new Set);q.parentFlushed=!0;q.rootSegmentID=h;q.status=4;q.errorDigest=m;q.parentFlushed&&k.clientRenderedBoundaries.push(q)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var t in d)delete d[t]}} -function $g(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(Kg(b,c),Lg(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=Kg(b,c),Xg(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=Kg(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return $g(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function Rg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Rg(a,c)}else a.completedSegments.push(b)} -function Zg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=zg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Rg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Yg, -a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Rg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Ig(a){if(2!==a.status){var b=uf,c=wg.current;wg.current=ug;var d=xg.current;xg.current=vg;var e=Gg;Gg=a;var f=tg;tg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],m=a,q=k.blockedBoundary;m.renderState.boundaryResources=q?q.resources:null;var t=k.blockedSegment;if(null===t){var r=m;if(0!==k.replay.pendingTasks){Af(k.context);try{var x=k.thenableState;k.thenableState=null;Y(r,k,x,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -k.replay.pendingTasks--;k.abortSet.delete(k);Zg(r,k.blockedBoundary,null)}catch(L){hg();var K=L===Jf?Nf():L;if("object"===typeof K&&null!==K&&"function"===typeof K.then){var G=k.ping;K.then(G,G);k.thenableState=ig()}else if(k.replay.pendingTasks--,k.abortSet.delete(k),Tg(r,k.blockedBoundary,K,k.replay.nodes,k.replay.slots),r.allPendingTasks--,0===r.allPendingTasks){var u=r.onAllReady;u()}}finally{r.renderState.boundaryResources=null}}}else a:{r=void 0;var w=t;if(0===w.status){Af(k.context);var D= -w.children.length,ja=w.chunks.length;try{var E=k.thenableState;k.thenableState=null;Y(m,k,E,k.node,k.childIndex);w.lastPushedText&&w.textEmbedded&&w.chunks.push(Mb);k.abortSet.delete(k);w.status=1;Zg(m,k.blockedBoundary,w)}catch(L){hg();w.children.length=D;w.chunks.length=ja;var B=L===Jf?Nf():L;if("object"===typeof B&&null!==B){if("function"===typeof B.then){var F=k.ping;B.then(F,F);k.thenableState=ig();break a}if(null!==m.trackedPostpones&&B.$$typeof===pf&&null!==k.blockedBoundary){var da=m.trackedPostpones; -k.abortSet.delete(k);m.onPostpone(B.message);Vg(m,da,k,w);Zg(m,k.blockedBoundary,w);break a}}k.abortSet.delete(k);w.status=4;var P=k.blockedBoundary;"object"===typeof B&&null!==B&&B.$$typeof===pf?(m.onPostpone(B.message),r="POSTPONE"):r=Kg(m,B);null===P?Lg(m,B):(P.pendingTasks--,4!==P.status&&(P.status=4,P.errorDigest=r,P.parentFlushed&&m.clientRenderedBoundaries.push(P)));m.allPendingTasks--;if(0===m.allPendingTasks){var pa=m.onAllReady;pa()}}finally{m.renderState.boundaryResources=null}}}}g.splice(0, -h);null!==a.destination&&ah(a,a.destination)}catch(L){Kg(a,L),Lg(a,L)}finally{tg=f,wg.current=c,xg.current=d,c===ug&&Af(b),Gg=e}}} -function bh(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;p(b,Bc);p(b,a.placeholderPrefix);a=y(d.toString(16));p(b,a);return v(b,Cc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)p(b,d[f]);e=ch(a,b,e)}for(;f<d.length-1;f++)p(b,d[f]);f<d.length&&(e=v(b,d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); +function F(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Aa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var Ga=/([A-Z])/g,Ha=/^ms-/,Ia=Array.isArray,Ja=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ka={pending:!1,data:null,method:null,action:null},La=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Ya={prefetchDNS:Ma,preconnect:Na,preload:Ta,preloadModule:Ua,preinitStyle:Va,preinitScript:Wa,preinitModuleScript:Xa},Za=[],$a=z('"></template>'),ab=z("<script>"),bb=z("\x3c/script>"),qb=z('<script src="'),rb=z('<script type="module" src="'),sb=z('" nonce="'),tb=z('" integrity="'), +ub=z('" crossorigin="'),vb=z('" async="">\x3c/script>'),wb=/(<\/|<)(s)(cript)/gi;function xb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var yb=z('<script type="importmap">'),zb=z("\x3c/script>"); +function Ab(a,b,c,d,e,f,g){var h=void 0===b?ab:z('<script nonce="'+F(b)+'">'),k=a.idPrefix,m=[],r=null;void 0!==c&&m.push(h,y((""+c).replace(wb,xb)),bb);void 0!==f&&("string"===typeof f?(r={src:f,chunks:[]},Jb(r.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(r={src:f.src,chunks:[]},Jb(r.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(yb),c.push(y((""+JSON.stringify(g)).replace(wb,xb))),c.push(zb));g={placeholderPrefix:z(k+"P:"),segmentPrefix:z(k+"S:"),boundaryPrefix:z(k+ +"B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:r,bootstrapChunks:m,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var t= +d[h];c=r=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof t?f.href=k=t:(f.href=k=t.src,f.integrity=c="string"===typeof t.integrity?t.integrity:void 0,f.crossOrigin=r="string"===typeof t||null==t.crossOrigin?void 0:"use-credentials"===t.crossOrigin?"use-credentials":"");t=a;var q=k;t.scriptResources[q]=null;t.moduleScriptResources[q]=null;t=[];J(t,f);g.bootstrapScripts.add(t);m.push(qb,y(F(k)));b&&m.push(sb,y(F(b)));"string"===typeof c&&m.push(tb,y(F(c)));"string"=== +typeof r&&m.push(ub,y(F(r)));m.push(vb)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],r=k=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=r="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=k="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,t=h,f.scriptResources[t]=null,f.moduleScriptResources[t]=null,f=[],J(f,c),g.bootstrapScripts.add(f),m.push(rb,y(F(h))),b&& +m.push(sb,y(F(b))),"string"===typeof r&&m.push(tb,y(F(r))),"string"===typeof k&&m.push(ub,y(F(k))),m.push(vb);return g}function Kb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} +function K(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Lb(a){return K("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} +function Mb(a,b,c){switch(b){case "noscript":return K(2,null,a.tagScope|1);case "select":return K(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return K(3,null,a.tagScope);case "picture":return K(2,null,a.tagScope|2);case "math":return K(4,null,a.tagScope);case "foreignObject":return K(2,null,a.tagScope);case "table":return K(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return K(6,null,a.tagScope);case "colgroup":return K(8,null,a.tagScope);case "tr":return K(7,null,a.tagScope)}return 5<= +a.insertionMode?K(2,null,a.tagScope):0===a.insertionMode?"html"===b?K(1,null,a.tagScope):K(2,null,a.tagScope):1===a.insertionMode?K(2,null,a.tagScope):a}var Nb=z("\x3c!-- --\x3e");function Ob(a,b,c,d){if(""===b)return d;d&&a.push(Nb);a.push(y(F(b)));return!0}var Pb=new Map,Qb=z(' style="'),Rb=z(":"),Sb=z(";"); +function Tb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(C.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=y(F(d));e=y(F((""+e).trim()))}else f=Pb.get(d),void 0===f&&(f=z(F(d.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-"))),Pb.set(d,f)),e="number"===typeof e?0===e||ya.has(d)?y(""+ +e):y(e+"px"):y(F((""+e).trim()));c?(c=!1,a.push(Qb,f,Rb,e)):a.push(Sb,f,Rb,e)}}c||a.push(L)}var M=z(" "),O=z('="'),L=z('"'),Ub=z('=""');function Vb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(M,y(b),Ub)}function P(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(M,y(b),O,y(F(c)),L)}function Wb(a){var b=a.nextFormID++;return a.idPrefix+b}var Xb=z(F("javascript:throw new Error('A React form was unexpectedly submitted.')")),Yb=z('<input type="hidden"'); +function Zb(a,b){this.push(Yb);if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");P(this,"name",b);P(this,"value",a);this.push($b)} +function ac(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Wb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(M,y("formAction"),O,Xb,L),g=f=e=d=h=null,bc(b,c)));null!=h&&R(a,"name",h);null!=d&&R(a,"formAction",d);null!=e&&R(a,"formEncType",e);null!=f&&R(a,"formMethod",f);null!=g&&R(a,"formTarget",g);return k} +function R(a,b,c){switch(b){case "className":P(a,"class",c);break;case "tabIndex":P(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":P(a,b,c);break;case "style":Tb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(M,y(b),O,y(F(c)),L);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":Vb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(M,y("xlink:href"),O,y(F(c)),L);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(M,y(b),O,y(F(c)),L);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(M,y(b),Ub);break;case "capture":case "download":!0===c?a.push(M,y(b),Ub):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(M,y(b),O,y(F(c)),L);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(M,y(b),O,y(F(c)),L);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(M,y(b),O,y(F(c)),L);break;case "xlinkActuate":P(a,"xlink:actuate", +c);break;case "xlinkArcrole":P(a,"xlink:arcrole",c);break;case "xlinkRole":P(a,"xlink:role",c);break;case "xlinkShow":P(a,"xlink:show",c);break;case "xlinkTitle":P(a,"xlink:title",c);break;case "xlinkType":P(a,"xlink:type",c);break;case "xmlBase":P(a,"xml:base",c);break;case "xmlLang":P(a,"xml:lang",c);break;case "xmlSpace":P(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=za.get(b)||b,xa(b)){switch(typeof c){case "function":case "symbol":return; +case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(M,y(b),O,y(F(c)),L)}}}var S=z(">"),$b=z("/>"); +function cc(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(y(""+b))}}function dc(a){var b="";ca.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var ec=z(' selected=""'),fc=z('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); +function bc(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,fc,bb))}var gc=z("\x3c!--F!--\x3e"),hc=z("\x3c!--F--\x3e"); +function ic(a,b,c,d,e,f,g){var h=b.rel,k=b.href,m=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return J(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof m||null!=b.disabled||b.onLoad||b.onError)return J(a,b);f=d.styles.get(m);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:y(F(m)),rules:[],hrefs:[],sheets:new Map},d.styles.set(m,f)),b={state:0,props:A({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&jc(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push(Nb);return null}if(b.onLoad||b.onError)return J(a,b);e&&a.push(Nb);switch(b.rel){case "preconnect":case "dns-prefetch":return J(d.preconnectChunks,b);case "preload":return J(d.preloadChunks,b);default:return J(d.hoistableChunks, +b)}}function J(a,b){a.push(T("link"));for(var c in b)if(C.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:R(a,c,d)}}a.push($b);return null} +function kc(a,b,c){a.push(T(c));for(var d in b)if(C.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:R(a,d,e)}}a.push($b);return null} +function lc(a,b){a.push(T("title"));var c=null,d=null,e;for(e in b)if(C.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(y(F(""+b)));cc(a,d,c);a.push(tc,y("title"),uc);return null} +function Jb(a,b){a.push(T("script"));var c=null,d=null,e;for(e in b)if(C.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);cc(a,d,c);"string"===typeof c&&a.push(y(F(c)));a.push(tc,y("script"),uc);return null} +function vc(a,b,c){a.push(T(c));var d=c=null,e;for(e in b)if(C.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);cc(a,d,c);return"string"===typeof c?(a.push(y(F(c))),null):c}var wc=z("\n"),xc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yc=new Map;function T(a){var b=yc.get(a);if(void 0===b){if(!xc.test(a))throw Error("Invalid tag: "+a);b=z("<"+a);yc.set(a,b)}return b}var zc=z("<!DOCTYPE html>"); +function Ac(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(T("select"));var h=null,k=null,m;for(m in c)if(C.call(c,m)){var r=c[m];if(null!=r)switch(m){case "children":h=r;break;case "dangerouslySetInnerHTML":k=r;break;case "defaultValue":case "value":break;default:R(a,m,r)}}a.push(S);cc(a,k,h);return h;case "option":var t=f.selectedValue;a.push(T("option"));var q=null,E=null,G=null,Y=null,u;for(u in c)if(C.call(c, +u)){var B=c[u];if(null!=B)switch(u){case "children":q=B;break;case "selected":G=B;break;case "dangerouslySetInnerHTML":Y=B;break;case "value":E=B;default:R(a,u,B)}}if(null!=t){var w=null!==E?""+E:dc(q);if(Ia(t))for(var ja=0;ja<t.length;ja++){if(""+t[ja]===w){a.push(ec);break}}else""+t===w&&a.push(ec)}else G&&a.push(ec);a.push(S);cc(a,Y,q);return q;case "textarea":a.push(T("textarea"));var D=null,U=null,x=null,Z;for(Z in c)if(C.call(c,Z)){var ka=c[Z];if(null!=ka)switch(Z){case "children":x=ka;break; +case "value":D=ka;break;case "defaultValue":U=ka;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:R(a,Z,ka)}}null===D&&null!==U&&(D=U);a.push(S);if(null!=x){if(null!=D)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ia(x)){if(1<x.length)throw Error("<textarea> can only have at most one child.");D=""+x[0]}D=""+x}"string"===typeof D&&"\n"===D[0]&&a.push(wc);null!==D&&a.push(y(F(""+D)));return null; +case "input":a.push(T("input"));var Q=null,la=null,H=null,ma=null,Ba=null,ra=null,sa=null,ta=null,Oa=null,ea;for(ea in c)if(C.call(c,ea)){var aa=c[ea];if(null!=aa)switch(ea){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":Q=aa;break;case "formAction":la=aa;break;case "formEncType":H=aa;break;case "formMethod":ma=aa;break;case "formTarget":Ba=aa;break;case "defaultChecked":Oa=aa; +break;case "defaultValue":sa=aa;break;case "checked":ta=aa;break;case "value":ra=aa;break;default:R(a,ea,aa)}}var td=ac(a,d,e,la,H,ma,Ba,Q);null!==ta?Vb(a,"checked",ta):null!==Oa&&Vb(a,"checked",Oa);null!==ra?R(a,"value",ra):null!==sa&&R(a,"value",sa);a.push($b);null!==td&&td.forEach(Zb,a);return null;case "button":a.push(T("button"));var cb=null,ud=null,vd=null,wd=null,xd=null,yd=null,zd=null,db;for(db in c)if(C.call(c,db)){var na=c[db];if(null!=na)switch(db){case "children":cb=na;break;case "dangerouslySetInnerHTML":ud= +na;break;case "name":vd=na;break;case "formAction":wd=na;break;case "formEncType":xd=na;break;case "formMethod":yd=na;break;case "formTarget":zd=na;break;default:R(a,db,na)}}var Ad=ac(a,d,e,wd,xd,yd,zd,vd);a.push(S);null!==Ad&&Ad.forEach(Zb,a);cc(a,ud,cb);if("string"===typeof cb){a.push(y(F(cb)));var Bd=null}else Bd=cb;return Bd;case "form":a.push(T("form"));var eb=null,Cd=null,ua=null,fb=null,gb=null,hb=null,ib;for(ib in c)if(C.call(c,ib)){var va=c[ib];if(null!=va)switch(ib){case "children":eb=va; +break;case "dangerouslySetInnerHTML":Cd=va;break;case "action":ua=va;break;case "encType":fb=va;break;case "method":gb=va;break;case "target":hb=va;break;default:R(a,ib,va)}}var mc=null,nc=null;if("function"===typeof ua)if("function"===typeof ua.$$FORM_ACTION){var mf=Wb(d),Pa=ua.$$FORM_ACTION(mf);ua=Pa.action||"";fb=Pa.encType;gb=Pa.method;hb=Pa.target;mc=Pa.data;nc=Pa.name}else a.push(M,y("action"),O,Xb,L),hb=gb=fb=ua=null,bc(d,e);null!=ua&&R(a,"action",ua);null!=fb&&R(a,"encType",fb);null!=gb&& +R(a,"method",gb);null!=hb&&R(a,"target",hb);a.push(S);null!==nc&&(a.push(Yb),P(a,"name",nc),a.push($b),null!==mc&&mc.forEach(Zb,a));cc(a,Cd,eb);if("string"===typeof eb){a.push(y(F(eb)));var Dd=null}else Dd=eb;return Dd;case "menuitem":a.push(T("menuitem"));for(var Bb in c)if(C.call(c,Bb)){var Ed=c[Bb];if(null!=Ed)switch(Bb){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:R(a,Bb,Ed)}}a.push(S);return null;case "title":if(3=== +f.insertionMode||f.tagScope&1||null!=c.itemProp)var Fd=lc(a,c);else lc(e.hoistableChunks,c),Fd=null;return Fd;case "link":return ic(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var oc=c.async;if("string"!==typeof c.src||!c.src||!oc||"function"===typeof oc||"symbol"===typeof oc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Gd=Jb(a,c);else{var Cb=c.src;if("module"===c.type){var Db=d.moduleScriptResources;var Hd=e.preloads.moduleScripts}else Db=d.scriptResources, +Hd=e.preloads.scripts;var Eb=Db.hasOwnProperty(Cb)?Db[Cb]:void 0;if(null!==Eb){Db[Cb]=null;var pc=c;if(Eb){2===Eb.length&&(pc=A({},c),jc(pc,Eb));var Id=Hd.get(Cb);Id&&(Id.length=0)}var Jd=[];e.scripts.add(Jd);Jb(Jd,pc)}g&&a.push(Nb);Gd=null}return Gd;case "style":var Fb=c.precedence,Ca=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Fb||"string"!==typeof Ca||""===Ca){a.push(T("style"));var Qa=null,Kd=null,jb;for(jb in c)if(C.call(c,jb)){var Gb=c[jb];if(null!=Gb)switch(jb){case "children":Qa= +Gb;break;case "dangerouslySetInnerHTML":Kd=Gb;break;default:R(a,jb,Gb)}}a.push(S);var kb=Array.isArray(Qa)?2>Qa.length?Qa[0]:null:Qa;"function"!==typeof kb&&"symbol"!==typeof kb&&null!==kb&&void 0!==kb&&a.push(y(F(""+kb)));cc(a,Kd,Qa);a.push(tc,y("style"),uc);var Ld=null}else{var Da=e.styles.get(Fb);if(null!==(d.styleResources.hasOwnProperty(Ca)?d.styleResources[Ca]:void 0)){d.styleResources[Ca]=null;Da?Da.hrefs.push(y(F(Ca))):(Da={precedence:y(F(Fb)),rules:[],hrefs:[y(F(Ca))],sheets:new Map},e.styles.set(Fb, +Da));var Md=Da.rules,Ra=null,Nd=null,Hb;for(Hb in c)if(C.call(c,Hb)){var qc=c[Hb];if(null!=qc)switch(Hb){case "children":Ra=qc;break;case "dangerouslySetInnerHTML":Nd=qc}}var lb=Array.isArray(Ra)?2>Ra.length?Ra[0]:null:Ra;"function"!==typeof lb&&"symbol"!==typeof lb&&null!==lb&&void 0!==lb&&Md.push(y(F(""+lb)));cc(Md,Nd,Ra)}Da&&e.boundaryResources&&e.boundaryResources.styles.add(Da);g&&a.push(Nb);Ld=void 0}return Ld;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Od=kc(a,c, +"meta");else g&&a.push(Nb),Od="string"===typeof c.charSet?kc(e.charsetChunks,c,"meta"):"viewport"===c.name?kc(e.preconnectChunks,c,"meta"):kc(e.hoistableChunks,c,"meta");return Od;case "listing":case "pre":a.push(T(b));var mb=null,nb=null,ob;for(ob in c)if(C.call(c,ob)){var Ib=c[ob];if(null!=Ib)switch(ob){case "children":mb=Ib;break;case "dangerouslySetInnerHTML":nb=Ib;break;default:R(a,ob,Ib)}}a.push(S);if(null!=nb){if(null!=mb)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); +if("object"!==typeof nb||!("__html"in nb))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Ea=nb.__html;null!==Ea&&void 0!==Ea&&("string"===typeof Ea&&0<Ea.length&&"\n"===Ea[0]?a.push(wc,y(Ea)):a.push(y(""+Ea)))}"string"===typeof mb&&"\n"===mb[0]&&a.push(wc);return mb;case "img":var N=c.src,I=c.srcSet;if(!("lazy"===c.loading||!N&&!I||"string"!==typeof N&&null!=N||"string"!== +typeof I&&null!=I)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof N||":"!==N[4]||"d"!==N[0]&&"D"!==N[0]||"a"!==N[1]&&"A"!==N[1]||"t"!==N[2]&&"T"!==N[2]||"a"!==N[3]&&"A"!==N[3])&&("string"!==typeof I||":"!==I[4]||"d"!==I[0]&&"D"!==I[0]||"a"!==I[1]&&"A"!==I[1]||"t"!==I[2]&&"T"!==I[2]||"a"!==I[3]&&"A"!==I[3])){var Pd="string"===typeof c.sizes?c.sizes:void 0,pb=I?I+"\n"+(Pd||""):N,rc=e.preloads.images,Fa=rc.get(pb);if(Fa){if("high"===c.fetchPriority||10>e.highImagePreloads.size)rc.delete(pb), +e.highImagePreloads.add(Fa)}else d.imageResources.hasOwnProperty(pb)||(d.imageResources[pb]=Za,Fa=[],J(Fa,{rel:"preload",as:"image",href:I?void 0:N,imageSrcSet:I,imageSizes:Pd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Fa):(e.bulkPreloads.add(Fa),rc.set(pb,Fa)))}return kc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return kc(a, +c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Qd=vc(e.headChunks,c,"head")}else Qd=vc(a,c,"head");return Qd;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[zc];var Rd=vc(e.htmlChunks,c,"html")}else Rd=vc(a,c,"html");return Rd;default:if(-1!==b.indexOf("-")){a.push(T(b)); +var sc=null,Sd=null,Sa;for(Sa in c)if(C.call(c,Sa)){var ba=c[Sa];if(null!=ba){var Td=Sa;switch(Sa){case "children":sc=ba;break;case "dangerouslySetInnerHTML":Sd=ba;break;case "style":Tb(a,ba);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;case "className":Td="class";default:if(xa(Sa)&&"function"!==typeof ba&&"symbol"!==typeof ba&&!1!==ba){if(!0===ba)ba="";else if("object"===typeof ba)continue;a.push(M,y(Td),O,y(F(ba)),L)}}}}a.push(S);cc(a,Sd,sc);return sc}}return vc(a, +c,b)}var tc=z("</"),uc=z(">");function Bc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)p(a,b[c]);return c<b.length?(c=b[c],b.length=0,v(a,c)):!0}var Cc=z('<template id="'),Dc=z('"></template>'),Ec=z("\x3c!--$--\x3e"),Fc=z('\x3c!--$?--\x3e<template id="'),Gc=z('"></template>'),Hc=z("\x3c!--$!--\x3e"),Ic=z("\x3c!--/$--\x3e"),Jc=z("<template"),Kc=z('"'),Lc=z(' data-dgst="');z(' data-msg="');z(' data-stck="');var Mc=z("></template>"); +function Nc(a,b,c){p(a,Fc);if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");p(a,b.boundaryPrefix);p(a,y(c.toString(16)));return v(a,Gc)} +var Oc=z('<div hidden id="'),Pc=z('">'),Qc=z("</div>"),Rc=z('<svg aria-hidden="true" style="display:none" id="'),Sc=z('">'),Tc=z("</svg>"),Uc=z('<math aria-hidden="true" style="display:none" id="'),Vc=z('">'),Wc=z("</math>"),Xc=z('<table hidden id="'),Yc=z('">'),Zc=z("</table>"),$c=z('<table hidden><tbody id="'),ad=z('">'),bd=z("</tbody></table>"),cd=z('<table hidden><tr id="'),dd=z('">'),ed=z("</tr></table>"),fd=z('<table hidden><colgroup id="'),gd=z('">'),hd=z("</colgroup></table>"); +function id(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return p(a,Oc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,Pc);case 3:return p(a,Rc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,Sc);case 4:return p(a,Uc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,Vc);case 5:return p(a,Xc),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,Yc);case 6:return p(a,$c),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,ad);case 7:return p(a,cd),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,dd); +case 8:return p(a,fd),p(a,b.segmentPrefix),p(a,y(d.toString(16))),v(a,gd);default:throw Error("Unknown insertion mode. This is a bug in React.");}}function jd(a,b){switch(b.insertionMode){case 0:case 1:case 2:return v(a,Qc);case 3:return v(a,Tc);case 4:return v(a,Wc);case 5:return v(a,Zc);case 6:return v(a,bd);case 7:return v(a,ed);case 8:return v(a,hd);default:throw Error("Unknown insertion mode. This is a bug in React.");}} +var kd=z('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ld=z('$RS("'),md=z('","'),nd=z('")\x3c/script>'),od=z('<template data-rsi="" data-sid="'),pd=z('" data-pid="'),qd=z('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), +rd=z('$RC("'),sd=z('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Ud=z('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Vd=z('$RR("'),Wd=z('","'),Xd=z('",'),Yd=z('"'),Zd=z(")\x3c/script>"),$d=z('<template data-rci="" data-bid="'),ae=z('<template data-rri="" data-bid="'),be=z('" data-sid="'),ce=z('" data-sty="'),de=z('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),ee=z('$RX("'),fe=z('"'),ge=z(","),he=z(")\x3c/script>"),ie=z('<template data-rxi="" data-bid="'),je=z('" data-dgst="'), +ke=z('" data-msg="'),le=z('" data-stck="'),me=/[<\u2028\u2029]/g;function ne(a){return JSON.stringify(a).replace(me,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var oe=/[&><\u2028\u2029]/g; +function pe(a){return JSON.stringify(a).replace(oe,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} +var qe=z('<style media="not all" data-precedence="'),re=z('" data-href="'),se=z('">'),te=z("</style>"),ue=!1,ve=!0;function we(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){p(this,qe);p(this,a.precedence);for(p(this,re);d<c.length-1;d++)p(this,c[d]),p(this,xe);p(this,c[d]);p(this,se);for(d=0;d<b.length;d++)p(this,b[d]);ve=v(this,te);ue=!0;b.length=0;c.length=0}}function ye(a){return 2!==a.state?ue=!0:!1} +function ze(a,b,c){ue=!1;ve=!0;b.styles.forEach(we,a);b.stylesheets.forEach(ye);ue&&(c.stylesToHoist=!0);return ve}function Ae(a){for(var b=0;b<a.length;b++)p(this,a[b]);a.length=0}var Be=[];function Ce(a){J(Be,a.props);for(var b=0;b<Be.length;b++)p(this,Be[b]);Be.length=0;a.state=2}var De=z('<style data-precedence="'),Ee=z('" data-href="'),xe=z(" "),Fe=z('">'),Ge=z("</style>"); +function He(a){var b=0<a.sheets.size;a.sheets.forEach(Ce,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){p(this,De);p(this,a.precedence);a=0;if(d.length){for(p(this,Ee);a<d.length-1;a++)p(this,d[a]),p(this,xe);p(this,d[a])}p(this,Fe);for(a=0;a<c.length;a++)p(this,c[a]);p(this,Ge);c.length=0;d.length=0}} +function Ie(a){if(0===a.state){a.state=1;var b=a.props;J(Be,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<Be.length;a++)p(this,Be[a]);Be.length=0}}function Je(a){a.sheets.forEach(Ie,this);a.sheets.clear()}var Ke=z("["),Le=z(",["),Me=z(","),Ne=z("]"); +function Oe(a,b){p(a,Ke);var c=Ke;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)p(a,c),p(a,y(pe(""+d.props.href))),p(a,Ne),c=Le;else{p(a,c);var e=d.props["data-precedence"],f=d.props;p(a,y(pe(""+d.props.href)));e=""+e;p(a,Me);p(a,y(pe(e)));for(var g in f)if(C.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); +default:a:{e=a;var k=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!xa(g))break a;h=""+h}p(e,Me);p(e,y(pe(k)));p(e,Me);p(e,y(pe(h)))}}}p(a, +Ne);c=Le;d.state=3}});p(a,Ne)} +function Pe(a,b){p(a,Ke);var c=Ke;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)p(a,c),p(a,y(F(JSON.stringify(""+d.props.href)))),p(a,Ne),c=Le;else{p(a,c);var e=d.props["data-precedence"],f=d.props;p(a,y(F(JSON.stringify(""+d.props.href))));e=""+e;p(a,Me);p(a,y(F(JSON.stringify(e))));for(var g in f)if(C.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:a:{e= +a;var k=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!xa(g))break a;h=""+h}p(e,Me);p(e,y(F(JSON.stringify(k))));p(e,Me);p(e,y(F(JSON.stringify(h))))}}}p(a, +Ne);c=Le;d.state=3}});p(a,Ne)}function Ma(a){var b=Qe();if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;J(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Re(b)}}} +function Na(a,b){var c=Qe();if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;J(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Re(c)}}} +function Ta(a,b,c){var d=Qe();if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=Za;e=[];J(e,A({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];J(g,A({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Za:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);J(g,A({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Za:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=A({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}J(e,c);g[a]=Za}Re(d)}}} +function Ua(a,b){var c=Qe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?Za:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=Za}J(f,A({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Re(c)}}} +function Va(a,b,c){var d=Qe();if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:y(F(b)),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:A({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&jc(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Re(d))}}} +function Wa(a,b){var c=Qe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=A({src:a,async:!0},b),f&&(2===f.length&&jc(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),Re(c))}}} +function Xa(a,b){var c=Qe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=A({src:a,type:"module",async:!0},b),f&&(2===f.length&&jc(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),Re(c))}}}function jc(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Se(a){this.styles.add(a)} +function Te(a){this.stylesheets.add(a)} +var Ue="function"===typeof AsyncLocalStorage,Ve=Ue?new AsyncLocalStorage:null,We=Symbol.for("react.element"),Xe=Symbol.for("react.portal"),Ye=Symbol.for("react.fragment"),Ze=Symbol.for("react.strict_mode"),$e=Symbol.for("react.profiler"),af=Symbol.for("react.provider"),bf=Symbol.for("react.context"),cf=Symbol.for("react.server_context"),df=Symbol.for("react.forward_ref"),ef=Symbol.for("react.suspense"),ff=Symbol.for("react.suspense_list"),gf=Symbol.for("react.memo"),hf=Symbol.for("react.lazy"),jf= +Symbol.for("react.scope"),kf=Symbol.for("react.debug_trace_mode"),lf=Symbol.for("react.offscreen"),nf=Symbol.for("react.legacy_hidden"),of=Symbol.for("react.cache"),pf=Symbol.for("react.default_value"),qf=Symbol.for("react.memo_cache_sentinel"),rf=Symbol.for("react.postpone"),sf=Symbol.iterator; +function tf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Ye:return"Fragment";case Xe:return"Portal";case $e:return"Profiler";case Ze:return"StrictMode";case ef:return"Suspense";case ff:return"SuspenseList";case of:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case bf:return(a.displayName||"Context")+".Consumer";case af:return(a._context.displayName||"Context")+".Provider";case df:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case gf:return b=a.displayName||null,null!==b?b:tf(a.type)||"Memo";case hf:b=a._payload;a=a._init;try{return tf(a(b))}catch(c){break}case cf:return(a.displayName||a._globalName)+".Provider"}return null}var uf={};function vf(a,b){a=a.contextTypes;if(!a)return uf;var c={},d;for(d in a)c[d]=b[d];return c}var wf=null; +function xf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");xf(a,c)}b.context._currentValue=b.value}}function yf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&yf(a)} +function zf(a){var b=a.parent;null!==b&&zf(b);a.context._currentValue=a.value}function Af(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?xf(a,b):Af(a,b)} +function Bf(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?xf(a,c):Bf(a,c);b.context._currentValue=b.value}function Cf(a){var b=wf;b!==a&&(null===b?zf(a):null===a?yf(b):b.depth===a.depth?xf(b,a):b.depth>a.depth?Af(b,a):Bf(b,a),wf=a)} +var Df={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function Ef(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Df;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:A({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Df.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=A({},f,h)):A(f,h))}a.state=f}else f.queue=null} +var Ff={id:1,overflow:""};function Gf(a,b,c){var d=a.id;a=a.overflow;var e=32-Hf(d)-1;d&=~(1<<e);c+=1;var f=32-Hf(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Hf(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Hf=Math.clz32?Math.clz32:If,Jf=Math.log,Kf=Math.LN2;function If(a){a>>>=0;return 0===a?32:31-(Jf(a)/Kf|0)|0}var Lf=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Mf(){}function Nf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Mf,Mf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Of=b;throw Lf;}}var Of=null; +function Pf(){if(null===Of)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Of;Of=null;return a}function Qf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Rf="function"===typeof Object.is?Object.is:Qf,Sf=null,Tf=null,Uf=null,Vf=null,Wf=null,V=null,Xf=!1,Yf=!1,Zf=0,$f=0,ag=-1,bg=0,cg=null,dg=null,eg=0; +function fg(){if(null===Sf)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Sf} +function gg(){if(0<eg)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function hg(){null===V?null===Wf?(Xf=!1,Wf=V=gg()):(Xf=!0,V=Wf):null===V.next?(Xf=!1,V=V.next=gg()):(Xf=!0,V=V.next);return V}function ig(a,b,c,d){for(;Yf;)Yf=!1,$f=Zf=0,ag=-1,bg=0,eg+=1,V=null,c=a(b,d);jg();return c}function kg(){var a=cg;cg=null;return a}function jg(){Vf=Uf=Tf=Sf=null;Yf=!1;Wf=null;eg=0;V=dg=null} +function lg(a,b){return"function"===typeof b?b(a):b}function mg(a,b,c){Sf=fg();V=hg();if(Xf){var d=V.queue;b=d.dispatch;if(null!==dg&&(c=dg.get(d),void 0!==c)){dg.delete(d);d=V.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);V.memoizedState=d;return[d,b]}return[V.memoizedState,b]}a=a===lg?"function"===typeof b?b():b:void 0!==c?c(b):b;V.memoizedState=a;a=V.queue={last:null,dispatch:null};a=a.dispatch=ng.bind(null,Sf,a);return[V.memoizedState,a]} +function og(a,b){Sf=fg();V=hg();b=void 0===b?null:b;if(null!==V){var c=V.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Rf(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();V.memoizedState=[a,b];return a} +function ng(a,b,c){if(25<=eg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Sf)if(Yf=!0,a={action:c,next:null},null===dg&&(dg=new Map),c=dg.get(b),void 0===c)dg.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function pg(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.");}function qg(){throw Error("startTransition cannot be called during server rendering.");} +function rg(){throw Error("Cannot update optimistic state while rendering.");}function sg(a){var b=bg;bg+=1;null===cg&&(cg=[]);return Nf(cg,a,b)}function tg(){throw Error("Cache cannot be refreshed during server rendering.");}function ug(){} +var wg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return sg(a);if(a.$$typeof===bf||a.$$typeof===cf)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){fg();return a._currentValue},useMemo:og,useReducer:mg,useRef:function(a){Sf=fg();V=hg();var b=V.memoizedState;return null===b?(a={current:a},V.memoizedState=a):b},useState:function(a){return mg(lg,a)}, +useInsertionEffect:ug,useLayoutEffect:ug,useCallback:function(a,b){return og(function(){return a},b)},useImperativeHandle:ug,useEffect:ug,useDebugValue:ug,useDeferredValue:function(a,b){fg();return void 0!==b?b:a},useTransition:function(){fg();return[!1,qg]},useId:function(){var a=Tf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Hf(a)-1)).toString(32)+b;var c=vg;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Zf++;a=":"+c.idPrefix+ +"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return tg},useEffectEvent:function(){return pg},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=qf;return b},useHostTransitionStatus:function(){fg();return Ka},useOptimistic:function(a){fg();return[a,rg]},useFormState:function(a, +b,c){fg();var d=$f++,e=Uf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Vf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+fa(JSON.stringify([g,null,d]),0),k===f&&(ag=d,b=e[0]))}var m=a.bind(null,b);a=function(t){m(t)};"function"===typeof m.$$FORM_ACTION&&(a.$$FORM_ACTION=function(t){t=m.$$FORM_ACTION(t);void 0!==c&&(c+="",t.action=c);var q=t.data;q&&(null===f&&(f=void 0!==c?"p"+c:"k"+fa(JSON.stringify([g, +null,d]),0)),q.append("$ACTION_KEY",f));return t});return[b,a]}var r=a.bind(null,b);return[b,function(t){r(t)}]}},vg=null,xg={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},yg=Ja.ReactCurrentDispatcher,zg=Ja.ReactCurrentCache;function Ag(a){console.error(a);return null}function W(){} +function Bg(a,b,c,d,e,f,g,h,k,m,r,t){La.current=Ya;var q=[],E=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:E,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?Ag:f,onPostpone:void 0===r?W:r,onAllReady:void 0===g?W: +g,onShellReady:void 0===h?W:h,onShellError:void 0===k?W:k,onFatalError:void 0===m?W:m,formState:void 0===t?null:t};c=Cg(b,0,null,d,!1,!1);c.parentFlushed=!0;a=Dg(b,null,a,-1,null,c,E,null,d,uf,null,Ff);q.push(a);return b}function Eg(a,b,c,d,e,f,g,h,k,m,r){a=Bg(a,b,c,d,e,f,g,h,k,m,r);a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null};return a} +function Fg(a,b,c,d,e,f,g,h,k){La.current=Ya;var m=[],r=new Set;c={destination:null,flushScheduled:!1,resumableState:b.resumableState,renderState:c,rootFormatContext:b.rootFormatContext,progressiveChunkSize:b.progressiveChunkSize,status:0,fatalError:null,nextSegmentId:b.nextSegmentId,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:r,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===d?Ag:d,onPostpone:void 0=== +k?W:k,onAllReady:void 0===e?W:e,onShellReady:void 0===f?W:f,onShellError:void 0===g?W:g,onFatalError:void 0===h?W:h,formState:null};a=Gg(c,null,{nodes:b.replayNodes,slots:b.replaySlots,pendingTasks:0},a,-1,null,r,null,b.rootFormatContext,uf,null,Ff);m.push(a);return c}var Hg=null;function Qe(){if(Hg)return Hg;if(Ue){var a=Ve.getStore();if(a)return a}return null} +function Ig(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return Jg(a)},0))}function Kg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function Dg(a,b,c,d,e,f,g,h,k,m,r,t){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var q={replay:null,node:c,childIndex:d,ping:function(){return Ig(a,q)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:m,context:r,treeContext:t,thenableState:b};g.add(q);return q} +function Gg(a,b,c,d,e,f,g,h,k,m,r,t){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var q={replay:c,node:d,childIndex:e,ping:function(){return Ig(a,q)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:m,context:r,treeContext:t,thenableState:b};g.add(q);return q}function Cg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function Lg(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Mg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,oa(a.destination,b)):(a.status=1,a.fatalError=b)} +function Ng(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((tf(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=A({},c,d)}b.legacyContext=e;X(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,X(a,b,null,f,-1),b.keyPath=e} +function Og(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var m=0;m<f;m++)m===g?k.push(gc):k.push(hc)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Gf(c,1,0),Pg(a,b,d,-1),b.treeContext=c):h?Pg(a,b,d,-1):X(a,b,null,d,-1);b.keyPath=f}function Qg(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Rg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=vf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Ef(h,e,f,d);Ng(a,b,c,h,e)}else{h=vf(e,b.legacyContext);Sf={};Tf=b;Uf=a;Vf=c;$f=Zf=0;ag=-1;bg=0;cg=d;d=e(f,h);d=ig(e,f,d,h);g=0!==Zf;var k=$f,m=ag;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Ef(d,e,f,h),Ng(a,b,c,d,e)):Og(a,b,c,d,g,k,m)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Mb(h,e,f),b.keyPath=c,Pg(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Ac(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=Mb(h,e,f);b.keyPath=c;Pg(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(tc,y(e),uc)}d.lastPushedText=!1}else{switch(e){case nf:case kf:case Ze:case $e:case Ye:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case lf:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,X(a,b,null,f.children,-1),b.keyPath=e);return;case ff:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case jf:throw Error("ReactDOMServer does not yet support scope components."); +case ef:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Pg(a,b,c,-1)}finally{b.keyPath=e}}else{m=b.keyPath;e=b.blockedBoundary;var r=b.blockedSegment;d=f.fallback;var t=f.children;f=new Set;g=Kg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=Cg(a,r.chunks.length,g,b.formatContext,!1,!1);r.children.push(k);r.lastPushedText=!1;var q=Cg(a,0,null,b.formatContext,!1,!1);q.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=q;a.renderState.boundaryResources=g.resources;b.keyPath= +c;try{if(Pg(a,b,t,-1),q.lastPushedText&&q.textEmbedded&&q.chunks.push(Nb),q.status=1,Sg(g,q),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(E){q.status=4,g.status=4,"object"===typeof E&&null!==E&&E.$$typeof===rf?(a.onPostpone(E.message),h="POSTPONE"):h=Lg(a,E),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=r,b.keyPath=m}h=[c[0],"Suspense Fallback",c[2]];m=a.trackedPostpones;null!==m&&(r=[h[1],h[2],[],null],m.workingMap.set(h, +r),5===g.status?m.workingMap.get(c)[4]=r:g.trackedFallbackNode=r);b=Dg(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case df:e=e.render;Sf={};Tf=b;Uf=a;Vf=c;$f=Zf=0;ag=-1;bg=0;cg=d;d=e(f,g);f=ig(e,f,d,g);Og(a,b,c,f,0!==Zf,$f,ag);return;case gf:e=e.type;f=Qg(e,f);Rg(a,b,c,d,e,f,g);return;case af:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;k=wf;wf=f= +{parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;X(a,b,null,h,-1);a=wf;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===pf?a.context._defaultValue:c;a=wf=a.parent;b.context=a;b.keyPath=d;return;case bf:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;X(a,b,null,f,-1);b.keyPath=e;return;case hf:h=e._init;e=h(e._payload);f=Qg(e,f);Rg(a,b,c,d,e,f,void 0); +return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==e?e:typeof e)+"."));}}function Tg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=Cg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Pg(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Sg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function X(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Tg(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case We:var f=d.type,g=d.key,h=d.props,k=d.ref,m=tf(f),r=null==g?-1===e?0:e:g;g=[b.keyPath,m,r];if(null!==b.replay)a:{var t=b.replay;e=t.nodes;for(d=0;d<e.length;d++){var q=e[d];if(r===q[1]){if(4===q.length){if(null!==m&&m!==q[0])throw Error("Expected the resume to render <"+q[0]+"> in this slot but instead it rendered <"+ +m+">. The tree doesn't match so React will fallback to client rendering.");m=q[2];q=q[3];r=b.node;b.replay={nodes:m,slots:q,pendingTasks:1};try{Rg(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(w){if("object"===typeof w&&null!==w&&(w===Lf||"function"===typeof w.then))throw b.node===r&&(b.replay=t),w;b.replay.pendingTasks--; +Ug(a,b.blockedBoundary,w,m,q)}b.replay=t}else{if(f!==ef)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(tf(f)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");b:{c=void 0;f=q[5];k=q[2];t=q[3];m=null===q[4]?[]:q[4][2];q=null===q[4]?null:q[4][3];r=b.keyPath;var E=b.replay,G=b.blockedBoundary,Y=h.children;h=h.fallback;var u=new Set,B=Kg(a,u);B.parentFlushed=!0;B.rootSegmentID=f;b.blockedBoundary=B;b.replay={nodes:k,slots:t, +pendingTasks:1};a.renderState.boundaryResources=B.resources;try{Pg(a,b,Y,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===B.pendingTasks&&0===B.status){B.status=1;a.completedBoundaries.push(B);break b}}catch(w){B.status=4,"object"===typeof w&&null!==w&&w.$$typeof===rf?(a.onPostpone(w.message),c="POSTPONE"):c=Lg(a, +w),B.errorDigest=c,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(B)}finally{a.renderState.boundaryResources=G?G.resources:null,b.blockedBoundary=G,b.replay=E,b.keyPath=r}h=Gg(a,null,{nodes:m,slots:q,pendingTasks:0},h,-1,G,u,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else Rg(a,b,g,c,f,h,k);return;case Xe:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render."); +case hf:h=d._init;d=h(d._payload);X(a,b,null,d,e);return}if(Ia(d)){Vg(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=sf&&d[sf]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Vg(a,b,g,e)}return}if("function"===typeof d.then)return X(a,b,null,sg(d),e);if(d.$$typeof===bf||d.$$typeof===cf)return X(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+ +("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Ob(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Ob(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Vg(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{Vg(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(r){if("object"===typeof r&& +null!==r&&(r===Lf||"function"===typeof r.then))throw r;b.replay.pendingTasks--;Ug(a,b.blockedBoundary,r,d,k)}b.replay=f;g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=Gf(f,g,k);var m=h[k];"number"===typeof m?(Tg(a,b,m,d,k),delete h[k]):Pg(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=Gf(f,g,h),Pg(a,b,k,h);b.treeContext=f;b.keyPath=e} +function Wg(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Xg(d,g[0],b);return}var m=b.workingMap.get(g);void 0===m?(m=[g[1],g[2],k,null, +h,f.rootSegmentID],b.workingMap.set(g,m),Xg(m,g[0],b)):(g=m,g[4]=h,g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Xg(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React."); +}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Xg(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");a[c.childIndex]=d.id}} +function Pg(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,m=b.blockedSegment;if(null===m)try{return X(a,b,null,c,d)}catch(q){if(jg(),d=q===Lf?Pf():q,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=kg();a=Gg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Cf(g);return}}else{var r= +m.children.length,t=m.chunks.length;try{return X(a,b,null,c,d)}catch(q){if(jg(),m.children.length=r,m.chunks.length=t,d=q===Lf?Pf():q,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=kg();m=b.blockedSegment;r=Cg(a,m.chunks.length,null,b.formatContext,m.lastPushedText,!0);m.children.push(r);m.lastPushedText=!1;a=Dg(a,d,b.node,b.childIndex,b.blockedBoundary,r,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=k;Cf(g);return}if(null!==a.trackedPostpones&&d.$$typeof===rf&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;m=Cg(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(m);d.lastPushedText=!1;Wg(a,c,b,m);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Cf(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Cf(g);throw d;} +function Ug(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===rf){a.onPostpone(c.message);var f="POSTPONE"}else f=Lg(a,c);Yg(a,b,d,e,c,f)}function Zg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,$g(this,b,a))} +function Yg(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Yg(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,m=f,r=Kg(k,new Set);r.parentFlushed=!0;r.rootSegmentID=h;r.status=4;r.errorDigest=m;r.parentFlushed&&k.clientRenderedBoundaries.push(r)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var t in d)delete d[t]}} +function ah(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){Lg(b,c);Mg(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=Lg(b,c),Yg(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=W,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=Lg(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return ah(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Sg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Sg(a,c)}else a.completedSegments.push(b)} +function $g(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=W,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Sg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Zg, +a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Sg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function Jg(a){if(2!==a.status){var b=wf,c=yg.current;yg.current=wg;var d=zg.current;zg.current=xg;var e=Hg;Hg=a;var f=vg;vg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],m=a,r=k.blockedBoundary;m.renderState.boundaryResources=r?r.resources:null;var t=k.blockedSegment;if(null===t){var q=m;if(0!==k.replay.pendingTasks){Cf(k.context);try{var E=k.thenableState;k.thenableState=null;X(q,k,E,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); +k.replay.pendingTasks--;k.abortSet.delete(k);$g(q,k.blockedBoundary,null)}catch(H){jg();var G=H===Lf?Pf():H;if("object"===typeof G&&null!==G&&"function"===typeof G.then){var Y=k.ping;G.then(Y,Y);k.thenableState=kg()}else{k.replay.pendingTasks--;k.abortSet.delete(k);Ug(q,k.blockedBoundary,G,k.replay.nodes,k.replay.slots);q.pendingRootTasks--;if(0===q.pendingRootTasks){q.onShellError=W;var u=q.onShellReady;u()}q.allPendingTasks--;if(0===q.allPendingTasks){var B=q.onAllReady;B()}}}finally{q.renderState.boundaryResources= +null}}}else a:{q=void 0;var w=t;if(0===w.status){Cf(k.context);var ja=w.children.length,D=w.chunks.length;try{var U=k.thenableState;k.thenableState=null;X(m,k,U,k.node,k.childIndex);w.lastPushedText&&w.textEmbedded&&w.chunks.push(Nb);k.abortSet.delete(k);w.status=1;$g(m,k.blockedBoundary,w)}catch(H){jg();w.children.length=ja;w.chunks.length=D;var x=H===Lf?Pf():H;if("object"===typeof x&&null!==x){if("function"===typeof x.then){var Z=k.ping;x.then(Z,Z);k.thenableState=kg();break a}if(null!==m.trackedPostpones&& +x.$$typeof===rf&&null!==k.blockedBoundary){var ka=m.trackedPostpones;k.abortSet.delete(k);m.onPostpone(x.message);Wg(m,ka,k,w);$g(m,k.blockedBoundary,w);break a}}k.abortSet.delete(k);w.status=4;var Q=k.blockedBoundary;"object"===typeof x&&null!==x&&x.$$typeof===rf?(m.onPostpone(x.message),q="POSTPONE"):q=Lg(m,x);null===Q?Mg(m,x):(Q.pendingTasks--,4!==Q.status&&(Q.status=4,Q.errorDigest=q,Q.parentFlushed&&m.clientRenderedBoundaries.push(Q)));m.allPendingTasks--;if(0===m.allPendingTasks){var la=m.onAllReady; +la()}}finally{m.renderState.boundaryResources=null}}}}g.splice(0,h);null!==a.destination&&bh(a,a.destination)}catch(H){Lg(a,H),Mg(a,H)}finally{vg=f,yg.current=c,zg.current=d,c===wg&&Cf(b),Hg=e}}} +function ch(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;p(b,Cc);p(b,a.placeholderPrefix);a=y(d.toString(16));p(b,a);return v(b,Dc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)p(b,d[f]);e=dh(a,b,e)}for(;f<d.length-1;f++)p(b,d[f]);f<d.length&&(e=v(b,d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); }} -function ch(a,b,c){var d=c.boundary;if(null===d)return bh(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,v(b,Gc),p(b,Ic),d&&(p(b,Kc),p(b,y(H(d))),p(b,Jc)),v(b,Lc),bh(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Mc(b,a.renderState,d.rootSegmentID),bh(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Mc(b,a.renderState,d.rootSegmentID),bh(a, -b,c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Qe,e),c.stylesheets.forEach(Re,e));v(b,Dc);d=d.completedSegments;if(1!==d.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");ch(a,b,d[0])}return v(b,Hc)}function dh(a,b,c){hd(b,a.renderState,c.parentFormatContext,c.id);ch(a,b,c);return id(b,c.parentFormatContext)} -function eh(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)fh(a,b,c,d[e]);d.length=0;xe(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(p(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,p(b,512<rd.byteLength?rd.slice():rd)):0===(d.instructions&8)?(d.instructions|=8,p(b,sd)):p(b,Td):0===(d.instructions&2)?(d.instructions|= -2,p(b,pd)):p(b,qd)):f?p(b,Zd):p(b,Yd);d=y(e.toString(16));p(b,a.boundaryPrefix);p(b,d);g?p(b,Ud):p(b,$d);p(b,a.segmentPrefix);p(b,d);f?g?(p(b,Vd),Me(b,c)):(p(b,ae),Ne(b,c)):g&&p(b,Wd);d=g?v(b,Xd):v(b,Za);return Ac(b,a)&&d} -function fh(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return dh(a,b,d)}if(e===c.rootSegmentID)return dh(a,b,d);dh(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(p(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,p(b,jd)):p(b,kd)):p(b,nd);p(b,a.segmentPrefix);e=y(e.toString(16));p(b,e);d?p(b,ld):p(b,od);p(b,a.placeholderPrefix); -p(b,e);b=d?v(b,md):v(b,Za);return b} -function ah(a,b){l=new Uint8Array(512);n=0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var m=e.htmlChunks,q=e.headChunks;f=0;if(m){for(f=0;f<m.length;f++)p(b,m[f]);if(q)for(f=0;f<q.length;f++)p(b,q[f]);else p(b,V("head")), -p(b,U)}else if(q)for(f=0;f<q.length;f++)p(b,q[f]);var t=e.charsetChunks;for(f=0;f<t.length;f++)p(b,t[f]);t.length=0;e.preconnects.forEach(ye,b);e.preconnects.clear();var r=e.preconnectChunks;for(f=0;f<r.length;f++)p(b,r[f]);r.length=0;e.fontPreloads.forEach(ye,b);e.fontPreloads.clear();e.highImagePreloads.forEach(ye,b);e.highImagePreloads.clear();e.styles.forEach(Fe,b);var x=e.importMapChunks;for(f=0;f<x.length;f++)p(b,x[f]);x.length=0;e.bootstrapScripts.forEach(ye,b);e.scripts.forEach(ye,b);e.scripts.clear(); -e.bulkPreloads.forEach(ye,b);e.bulkPreloads.clear();var K=e.preloadChunks;for(f=0;f<K.length;f++)p(b,K[f]);K.length=0;var G=e.hoistableChunks;for(f=0;f<G.length;f++)p(b,G[f]);G.length=0;m&&null===q&&(p(b,lc),p(b,y("head")),p(b,mc));ch(a,b,d);a.completedRootSegment=null;Ac(b,a.renderState)}else return;var u=a.renderState;d=0;u.preconnects.forEach(ye,b);u.preconnects.clear();var w=u.preconnectChunks;for(d=0;d<w.length;d++)p(b,w[d]);w.length=0;u.fontPreloads.forEach(ye,b);u.fontPreloads.clear();u.highImagePreloads.forEach(ye, -b);u.highImagePreloads.clear();u.styles.forEach(He,b);u.scripts.forEach(ye,b);u.scripts.clear();u.bulkPreloads.forEach(ye,b);u.bulkPreloads.clear();var D=u.preloadChunks;for(d=0;d<D.length;d++)p(b,D[d]);D.length=0;var ja=u.hoistableChunks;for(d=0;d<ja.length;d++)p(b,ja[d]);ja.length=0;var E=a.clientRenderedBoundaries;for(c=0;c<E.length;c++){var B=E[c];u=b;var F=a.resumableState,da=a.renderState,P=B.rootSegmentID,pa=B.errorDigest,L=B.errorMessage,qa=B.errorComponentStack,ka=0===F.streamingFormat;ka? -(p(u,da.startInlineScript),0===(F.instructions&4)?(F.instructions|=4,p(u,be)):p(u,ce)):p(u,ge);p(u,da.boundaryPrefix);p(u,y(P.toString(16)));ka&&p(u,de);if(pa||L||qa)ka?(p(u,ee),p(u,y(le(pa||"")))):(p(u,he),p(u,y(H(pa||""))));if(L||qa)ka?(p(u,ee),p(u,y(le(L||"")))):(p(u,ie),p(u,y(H(L||""))));qa&&(ka?(p(u,ee),p(u,y(le(qa)))):(p(u,je),p(u,y(H(qa)))));if(ka?!v(u,fe):!v(u,Za)){a.destination=null;c++;E.splice(0,c);return}}E.splice(0,c);var Da=a.completedBoundaries;for(c=0;c<Da.length;c++)if(!eh(a,b,Da[c])){a.destination= -null;c++;Da.splice(0,c);return}Da.splice(0,c);fa(b);l=new Uint8Array(512);n=0;var ra=a.partialBoundaries;for(c=0;c<ra.length;c++){var sa=ra[c];a:{E=a;B=b;E.renderState.boundaryResources=sa.resources;var ta=sa.completedSegments;for(F=0;F<ta.length;F++)if(!fh(E,B,sa,ta[F])){F++;ta.splice(0,F);var Qa=!1;break a}ta.splice(0,F);Qa=xe(B,sa.resources,E.renderState)}if(!Qa){a.destination=null;c++;ra.splice(0,c);return}}ra.splice(0,c);var ea=a.completedBoundaries;for(c=0;c<ea.length;c++)if(!eh(a,b,ea[c])){a.destination= -null;c++;ea.splice(0,c);return}ea.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,null===a.trackedPostpones&&(a=a.resumableState,a.hasBody&&(p(b,lc),p(b,y("body")),p(b,mc)),a.hasHtml&&(p(b,lc),p(b,y("html")),p(b,mc))),fa(b),b.close()):fa(b)}}function gh(a){a.flushScheduled=null!==a.destination;Se?setTimeout(function(){return Te.run(a,Ig,a)},0):setTimeout(function(){return Ig(a)},0)} -function Pe(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return ah(a,b)},0)}}function hh(a,b){if(1===a.status)a.status=2,ia(b,a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{ah(a,b)}catch(c){Kg(a,c),Lg(a,c)}}} -function ih(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return $g(e,a,d)});c.clear()}null!==a.destination&&ah(a,a.destination)}catch(e){Kg(a,e),Lg(a,e)}}function Wg(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Wg(e,b[0],c));e[2].push(a)}} -function jh(a){var b=a.trackedPostpones;return null===b||0===b.rootNodes.length&&null===b.rootSlots?a.trackedPostpones=null:{nextSegmentId:a.nextSegmentId,rootFormatContext:a.rootFormatContext,progressiveChunkSize:a.progressiveChunkSize,resumableState:a.resumableState,replayNodes:b.rootNodes,replaySlots:b.rootSlots}} -exports.prerender=function(a,b){return new Promise(function(c,d){var e=Jb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),f=Dg(a,e,zb(e,void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Kb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,function(){var k=new ReadableStream({type:"bytes",pull:function(m){hh(f,m)},cancel:function(){f.destination= -null;ih(f)}},{highWaterMark:0});k={postponed:jh(f),prelude:k};c(k)},void 0,void 0,d,b?b.onPostpone:void 0);if(b&&b.signal){var g=b.signal;if(g.aborted)ih(f,g.reason);else{var h=function(){ih(f,g.reason);g.removeEventListener("abort",h)};g.addEventListener("abort",h)}}gh(f)})}; -exports.renderToReadableStream=function(a,b){return new Promise(function(c,d){var e,f,g=new Promise(function(t,r){f=t;e=r}),h=Jb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),k=Ag(a,h,zb(h,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Kb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,f,function(){var t=new ReadableStream({type:"bytes", -pull:function(r){hh(k,r)},cancel:function(){k.destination=null;ih(k)}},{highWaterMark:0});t.allReady=g;c(t)},function(t){g.catch(function(){});d(t)},e,b?b.onPostpone:void 0,b?b.experimental_formState:void 0);if(b&&b.signal){var m=b.signal;if(m.aborted)ih(k,m.reason);else{var q=function(){ih(k,m.reason);m.removeEventListener("abort",q)};m.addEventListener("abort",q)}}gh(k)})}; -exports.resume=function(a,b,c){return new Promise(function(d,e){var f,g,h=new Promise(function(t,r){g=t;f=r}),k=Eg(a,b,zb(b.resumableState,c?c.nonce:void 0,void 0,void 0,void 0,void 0,void 0),c?c.onError:void 0,g,function(){var t=new ReadableStream({type:"bytes",pull:function(r){hh(k,r)},cancel:function(){k.destination=null;ih(k)}},{highWaterMark:0});t.allReady=h;d(t)},function(t){h.catch(function(){});e(t)},f,c?c.onPostpone:void 0);if(c&&c.signal){var m=c.signal;if(m.aborted)ih(k,m.reason);else{var q= -function(){ih(k,m.reason);m.removeEventListener("abort",q)};m.addEventListener("abort",q)}}gh(k)})};exports.version="18.3.0-experimental-d900fadbf-20230929"; +function dh(a,b,c){var d=c.boundary;if(null===d)return ch(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,v(b,Hc),p(b,Jc),d&&(p(b,Lc),p(b,y(F(d))),p(b,Kc)),v(b,Mc),ch(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Nc(b,a.renderState,d.rootSegmentID),ch(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Nc(b,a.renderState,d.rootSegmentID),ch(a, +b,c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Se,e),c.stylesheets.forEach(Te,e));v(b,Ec);d=d.completedSegments;if(1!==d.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");dh(a,b,d[0])}return v(b,Ic)}function eh(a,b,c){id(b,a.renderState,c.parentFormatContext,c.id);dh(a,b,c);return jd(b,c.parentFormatContext)} +function fh(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)gh(a,b,c,d[e]);d.length=0;ze(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(p(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,p(b,512<sd.byteLength?sd.slice():sd)):0===(d.instructions&8)?(d.instructions|=8,p(b,Ud)):p(b,Vd):0===(d.instructions&2)?(d.instructions|= +2,p(b,qd)):p(b,rd)):f?p(b,ae):p(b,$d);d=y(e.toString(16));p(b,a.boundaryPrefix);p(b,d);g?p(b,Wd):p(b,be);p(b,a.segmentPrefix);p(b,d);f?g?(p(b,Xd),Oe(b,c)):(p(b,ce),Pe(b,c)):g&&p(b,Yd);d=g?v(b,Zd):v(b,$a);return Bc(b,a)&&d} +function gh(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return eh(a,b,d)}if(e===c.rootSegmentID)return eh(a,b,d);eh(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(p(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,p(b,kd)):p(b,ld)):p(b,od);p(b,a.segmentPrefix);e=y(e.toString(16));p(b,e);d?p(b,md):p(b,pd);p(b,a.placeholderPrefix); +p(b,e);b=d?v(b,nd):v(b,$a);return b} +function bh(a,b){l=new Uint8Array(512);n=0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var m=e.htmlChunks,r=e.headChunks;f=0;if(m){for(f=0;f<m.length;f++)p(b,m[f]);if(r)for(f=0;f<r.length;f++)p(b,r[f]);else p(b,T("head")), +p(b,S)}else if(r)for(f=0;f<r.length;f++)p(b,r[f]);var t=e.charsetChunks;for(f=0;f<t.length;f++)p(b,t[f]);t.length=0;e.preconnects.forEach(Ae,b);e.preconnects.clear();var q=e.preconnectChunks;for(f=0;f<q.length;f++)p(b,q[f]);q.length=0;e.fontPreloads.forEach(Ae,b);e.fontPreloads.clear();e.highImagePreloads.forEach(Ae,b);e.highImagePreloads.clear();e.styles.forEach(He,b);var E=e.importMapChunks;for(f=0;f<E.length;f++)p(b,E[f]);E.length=0;e.bootstrapScripts.forEach(Ae,b);e.scripts.forEach(Ae,b);e.scripts.clear(); +e.bulkPreloads.forEach(Ae,b);e.bulkPreloads.clear();var G=e.preloadChunks;for(f=0;f<G.length;f++)p(b,G[f]);G.length=0;var Y=e.hoistableChunks;for(f=0;f<Y.length;f++)p(b,Y[f]);Y.length=0;m&&null===r&&(p(b,tc),p(b,y("head")),p(b,uc));dh(a,b,d);a.completedRootSegment=null;Bc(b,a.renderState)}else return;var u=a.renderState;d=0;u.preconnects.forEach(Ae,b);u.preconnects.clear();var B=u.preconnectChunks;for(d=0;d<B.length;d++)p(b,B[d]);B.length=0;u.fontPreloads.forEach(Ae,b);u.fontPreloads.clear();u.highImagePreloads.forEach(Ae, +b);u.highImagePreloads.clear();u.styles.forEach(Je,b);u.scripts.forEach(Ae,b);u.scripts.clear();u.bulkPreloads.forEach(Ae,b);u.bulkPreloads.clear();var w=u.preloadChunks;for(d=0;d<w.length;d++)p(b,w[d]);w.length=0;var ja=u.hoistableChunks;for(d=0;d<ja.length;d++)p(b,ja[d]);ja.length=0;var D=a.clientRenderedBoundaries;for(c=0;c<D.length;c++){var U=D[c];u=b;var x=a.resumableState,Z=a.renderState,ka=U.rootSegmentID,Q=U.errorDigest,la=U.errorMessage,H=U.errorComponentStack,ma=0===x.streamingFormat;ma? +(p(u,Z.startInlineScript),0===(x.instructions&4)?(x.instructions|=4,p(u,de)):p(u,ee)):p(u,ie);p(u,Z.boundaryPrefix);p(u,y(ka.toString(16)));ma&&p(u,fe);if(Q||la||H)ma?(p(u,ge),p(u,y(ne(Q||"")))):(p(u,je),p(u,y(F(Q||""))));if(la||H)ma?(p(u,ge),p(u,y(ne(la||"")))):(p(u,ke),p(u,y(F(la||""))));H&&(ma?(p(u,ge),p(u,y(ne(H)))):(p(u,le),p(u,y(F(H)))));if(ma?!v(u,he):!v(u,$a)){a.destination=null;c++;D.splice(0,c);return}}D.splice(0,c);var Ba=a.completedBoundaries;for(c=0;c<Ba.length;c++)if(!fh(a,b,Ba[c])){a.destination= +null;c++;Ba.splice(0,c);return}Ba.splice(0,c);ha(b);l=new Uint8Array(512);n=0;var ra=a.partialBoundaries;for(c=0;c<ra.length;c++){var sa=ra[c];a:{D=a;U=b;D.renderState.boundaryResources=sa.resources;var ta=sa.completedSegments;for(x=0;x<ta.length;x++)if(!gh(D,U,sa,ta[x])){x++;ta.splice(0,x);var Oa=!1;break a}ta.splice(0,x);Oa=ze(U,sa.resources,D.renderState)}if(!Oa){a.destination=null;c++;ra.splice(0,c);return}}ra.splice(0,c);var ea=a.completedBoundaries;for(c=0;c<ea.length;c++)if(!fh(a,b,ea[c])){a.destination= +null;c++;ea.splice(0,c);return}ea.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,null===a.trackedPostpones&&(c=a.resumableState,c.hasBody&&(p(b,tc),p(b,y("body")),p(b,uc)),c.hasHtml&&(p(b,tc),p(b,y("html")),p(b,uc))),ha(b),b.close(),a.destination=null):ha(b)}} +function hh(a){a.flushScheduled=null!==a.destination;Ue?setTimeout(function(){return Ve.run(a,Jg,a)},0):setTimeout(function(){return Jg(a)},0)}function Re(a){!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(a.flushScheduled=!0,setTimeout(function(){var b=a.destination;b?bh(a,b):a.flushScheduled=!1},0))}function ih(a,b){if(1===a.status)a.status=2,oa(b,a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{bh(a,b)}catch(c){Lg(a,c),Mg(a,c)}}} +function jh(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return ah(e,a,d)});c.clear()}null!==a.destination&&bh(a,a.destination)}catch(e){Lg(a,e),Mg(a,e)}}function Xg(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Xg(e,b[0],c));e[2].push(a)}} +function kh(a){var b=a.trackedPostpones;return null===b||0===b.rootNodes.length&&null===b.rootSlots?a.trackedPostpones=null:{nextSegmentId:a.nextSegmentId,rootFormatContext:a.rootFormatContext,progressiveChunkSize:a.progressiveChunkSize,resumableState:a.resumableState,replayNodes:b.rootNodes,replaySlots:b.rootSlots}} +exports.prerender=function(a,b){return new Promise(function(c,d){var e=Kb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),f=Eg(a,e,Ab(e,void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Lb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,function(){var k=new ReadableStream({type:"bytes",pull:function(m){ih(f,m)},cancel:function(m){f.destination= +null;jh(f,m)}},{highWaterMark:0});k={postponed:kh(f),prelude:k};c(k)},void 0,void 0,d,b?b.onPostpone:void 0);if(b&&b.signal){var g=b.signal;if(g.aborted)jh(f,g.reason);else{var h=function(){jh(f,g.reason);g.removeEventListener("abort",h)};g.addEventListener("abort",h)}}hh(f)})}; +exports.renderToReadableStream=function(a,b){return new Promise(function(c,d){var e,f,g=new Promise(function(t,q){f=t;e=q}),h=Kb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),k=Bg(a,h,Ab(h,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Lb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,f,function(){var t=new ReadableStream({type:"bytes", +pull:function(q){ih(k,q)},cancel:function(q){k.destination=null;jh(k,q)}},{highWaterMark:0});t.allReady=g;c(t)},function(t){g.catch(function(){});d(t)},e,b?b.onPostpone:void 0,b?b.formState:void 0);if(b&&b.signal){var m=b.signal;if(m.aborted)jh(k,m.reason);else{var r=function(){jh(k,m.reason);m.removeEventListener("abort",r)};m.addEventListener("abort",r)}}hh(k)})}; +exports.resume=function(a,b,c){return new Promise(function(d,e){var f,g,h=new Promise(function(t,q){g=t;f=q}),k=Fg(a,b,Ab(b.resumableState,c?c.nonce:void 0,void 0,void 0,void 0,void 0,void 0),c?c.onError:void 0,g,function(){var t=new ReadableStream({type:"bytes",pull:function(q){ih(k,q)},cancel:function(q){k.destination=null;jh(k,q)}},{highWaterMark:0});t.allReady=h;d(t)},function(t){h.catch(function(){});e(t)},f,c?c.onPostpone:void 0);if(c&&c.signal){var m=c.signal;if(m.aborted)jh(k,m.reason);else{var r= +function(){jh(k,m.reason);m.removeEventListener("abort",r)};m.addEventListener("abort",r)}}hh(k)})};exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js index bcca8831a04fe..ea248a9fb5c90 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js @@ -21,7 +21,7 @@ var async_hooks = require('async_hooks'); var ReactDOM = require('react-dom'); var stream = require('stream'); -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -321,7 +321,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -330,7 +330,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -339,7 +339,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -4029,26 +4029,7 @@ function pushStartCustomElement(target, props, tag) { continue; } - if ((typeof propValue === 'function' || typeof propValue === 'object')) { - // It is normal to render functions and objects on custom elements when - // client rendering, but when server rendering the output isn't useful, - // so skip it. - continue; - } - - if (propValue === false) { - continue; - } - - if (propValue === true) { - propValue = ''; - } - - if (propKey === 'className') { - // className gets rendered as class on the client, so it should be - // rendered as class on the server. - propKey = 'class'; - } + var attributeName = propKey; switch (propKey) { case 'children': @@ -4068,9 +4049,28 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + { + // className gets rendered as class on the client, so it should be + // rendered as class on the server. + attributeName = 'class'; + } + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + { + if (propValue === false) { + continue; + } else if (propValue === true) { + propValue = ''; + } else if (typeof propValue === 'object') { + continue; + } + } + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -8184,9 +8184,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return initialValue !== undefined ? initialValue : value; + } } function unsupportedStartTransition() { @@ -8585,7 +8588,7 @@ function resumeRequest(children, postponedState, renderState, onError, onAllRead progressiveChunkSize: postponedState.progressiveChunkSize, status: OPEN, fatalError: null, - nextSegmentId: 0, + nextSegmentId: postponedState.nextSegmentId, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, @@ -9026,11 +9029,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -9081,24 +9080,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -9106,8 +9096,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9648,37 +9637,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9689,17 +9647,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9707,37 +9666,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9801,8 +9763,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9980,24 +9949,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -10032,7 +10003,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -10357,6 +10328,7 @@ function renderNode(request, task, node, childIndex) { task.componentStack = previousComponentStack; } + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10418,6 +10390,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -10439,6 +10412,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -10552,8 +10527,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -10562,6 +10535,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -10572,6 +10546,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -10613,12 +10595,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10802,6 +10785,7 @@ function retryRenderTask(request, task, segment) { logPostpone(request, postponeInstance.message); trackPostpone(request, trackedPostpones, task, segment); finishedTask(request, task.blockedBoundary, segment); + lastBoundaryErrorComponentStackDev = null; return; } } @@ -10878,6 +10862,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -11311,7 +11303,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } else { completeWriting(destination); flushBuffered(destination); @@ -11334,10 +11329,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -11457,7 +11459,7 @@ function createCancelHandler(request, reason) { function createRequestImpl(children, options) { var resumableState = createResumableState(options ? options.identifierPrefix : undefined, options ? options.unstable_externalRuntimeSrc : undefined); - return createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, options ? options.onAllReady : undefined, options ? options.onShellReady : undefined, options ? options.onShellError : undefined, undefined, options ? options.onPostpone : undefined, options ? options.experimental_formState : undefined); + return createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, options ? options.onAllReady : undefined, options ? options.onShellReady : undefined, options ? options.onShellError : undefined, undefined, options ? options.onPostpone : undefined, options ? options.formState : undefined); } function renderToPipeableStream(children, options) { diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js index 52c6dfecc24fb..e1ebdf82626a7 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.min.js @@ -7,186 +7,185 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util"),ba=require("crypto"),ea=require("async_hooks"),fa=require("next/dist/compiled/react-experimental"),ha=require("react-dom"),ia=require("stream");function ma(a){"function"===typeof a.flush&&a.flush()}var l=null,m=0,na=!0; -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(wa(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),wa(a,xa.encode(b));else{var c=l;0<m&&(c=l.subarray(m));c=xa.encodeInto(b,c);var d=c.read;m+=c.written;d<b.length&&(wa(a,l.subarray(0,m)),l=new Uint8Array(2048),m=xa.encodeInto(b.slice(d),l).written);2048===m&&(wa(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(wa(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),wa(a,b)):(c=l.length-m,c< -b.byteLength&&(0===c?wa(a,l):(l.set(b.subarray(0,c),m),m+=c,wa(a,l),b=b.subarray(c)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(wa(a,l),l=new Uint8Array(2048),m=0)))}function wa(a,b){a=a.write(b);na=na&&a}function x(a,b){u(a,b);return na}function ya(a){l&&0<m&&a.write(l.subarray(0,m));l=null;m=0;na=!0}var xa=new aa.TextEncoder;function y(a){return xa.encode(a)} -var z=Object.assign,A=Object.prototype.hasOwnProperty,za=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Aa={},Ba={}; -function Ha(a){if(A.call(Ba,a))return!0;if(A.call(Aa,a))return!1;if(za.test(a))return Ba[a]=!0;Aa[a]=!0;return!1} -var Ia=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Ja= +'use strict';var ba=require("util"),ca=require("crypto"),ea=require("async_hooks"),fa=require("next/dist/compiled/react-experimental"),ha=require("react-dom"),ia=require("stream");function oa(a){"function"===typeof a.flush&&a.flush()}var k=null,m=0,pa=!0; +function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(va(a,k.subarray(0,m)),k=new Uint8Array(2048),m=0),va(a,wa.encode(b));else{var c=k;0<m&&(c=k.subarray(m));c=wa.encodeInto(b,c);var d=c.read;m+=c.written;d<b.length&&(va(a,k.subarray(0,m)),k=new Uint8Array(2048),m=wa.encodeInto(b.slice(d),k).written);2048===m&&(va(a,k),k=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(va(a,k.subarray(0,m)),k=new Uint8Array(2048),m=0),va(a,b)):(c=k.length-m,c< +b.byteLength&&(0===c?va(a,k):(k.set(b.subarray(0,c),m),m+=c,va(a,k),b=b.subarray(c)),k=new Uint8Array(2048),m=0),k.set(b,m),m+=b.byteLength,2048===m&&(va(a,k),k=new Uint8Array(2048),m=0)))}function va(a,b){a=a.write(b);pa=pa&&a}function x(a,b){u(a,b);return pa}function xa(a){k&&0<m&&a.write(k.subarray(0,m));k=null;m=0;pa=!0}var wa=new ba.TextEncoder;function y(a){return wa.encode(a)} +var z=Object.assign,A=Object.prototype.hasOwnProperty,ya=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),za={},Fa={}; +function Ga(a){if(A.call(Fa,a))return!0;if(A.call(za,a))return!1;if(ya.test(a))return Fa[a]=!0;za[a]=!0;return!1} +var Ha=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Ia= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ka=/["'&<>]/; -function B(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Ka.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var La=/([A-Z])/g,Ma=/^ms-/,Na=Array.isArray,Oa=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Pa={pending:!1,data:null,method:null,action:null},Ua=ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,bb={prefetchDNS:Va,preconnect:Wa,preload:Xa,preloadModule:Ya,preinitStyle:Za,preinitScript:$a,preinitModuleScript:ab},cb=[],rb=y('"></template>'),sb=y("<script>"),tb=y("\x3c/script>"),ub=y('<script src="'),vb=y('<script type="module" src="'),wb=y('" nonce="'),xb=y('" integrity="'), +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ja=/["'&<>]/; +function B(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Ja.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var Ka=/([A-Z])/g,La=/^ms-/,Ma=Array.isArray,Na=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ta={pending:!1,data:null,method:null,action:null},Ua=ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,bb={prefetchDNS:Va,preconnect:Wa,preload:Xa,preloadModule:Ya,preinitStyle:Za,preinitScript:$a,preinitModuleScript:ab},qb=[],rb=y('"></template>'),sb=y("<script>"),tb=y("\x3c/script>"),ub=y('<script src="'),vb=y('<script type="module" src="'),wb=y('" nonce="'),xb=y('" integrity="'), yb=y('" crossorigin="'),zb=y('" async="">\x3c/script>'),Ab=/(<\/|<)(s)(cript)/gi;function Bb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var Cb=y('<script type="importmap">'),Lb=y("\x3c/script>"); -function Mb(a,b,c,d,e,f,g){var h=void 0===b?sb:y('<script nonce="'+B(b)+'">'),k=a.idPrefix,n=[],p=null;void 0!==c&&n.push(h,(""+c).replace(Ab,Bb),tb);void 0!==f&&("string"===typeof f?(p={src:f,chunks:[]},Nb(p.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(p={src:f.src,chunks:[]},Nb(p.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(Cb),c.push((""+JSON.stringify(g)).replace(Ab,Bb)),c.push(Lb));g={placeholderPrefix:y(k+"P:"),segmentPrefix:y(k+"S:"),boundaryPrefix:y(k+ +function Mb(a,b,c,d,e,f,g){var h=void 0===b?sb:y('<script nonce="'+B(b)+'">'),l=a.idPrefix,n=[],p=null;void 0!==c&&n.push(h,(""+c).replace(Ab,Bb),tb);void 0!==f&&("string"===typeof f?(p={src:f,chunks:[]},Nb(p.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(p={src:f.src,chunks:[]},Nb(p.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(Cb),c.push((""+JSON.stringify(g)).replace(Ab,Bb)),c.push(Lb));g={placeholderPrefix:y(l+"P:"),segmentPrefix:y(l+"S:"),boundaryPrefix:y(l+ "B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:p,bootstrapChunks:n,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var r= -d[h];c=p=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof r?f.href=k=r:(f.href=k=r.src,f.integrity=c="string"===typeof r.integrity?r.integrity:void 0,f.crossOrigin=p="string"===typeof r||null==r.crossOrigin?void 0:"use-credentials"===r.crossOrigin?"use-credentials":"");r=a;var q=k;r.scriptResources[q]=null;r.moduleScriptResources[q]=null;r=[];D(r,f);g.bootstrapScripts.add(r);n.push(ub,B(k));b&&n.push(wb,B(b));"string"===typeof c&&n.push(xb,B(c));"string"===typeof p&& -n.push(yb,B(p));n.push(zb)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],p=k=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=p="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=k="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,r=h,f.scriptResources[r]=null,f.moduleScriptResources[r]=null,f=[],D(f,c),g.bootstrapScripts.add(f),n.push(vb,B(h)),b&&n.push(wb,B(b)), -"string"===typeof p&&n.push(xb,B(p)),"string"===typeof k&&n.push(yb,B(k)),n.push(zb);return g}function Ob(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} -function I(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Pb(a){return I("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} -function Qb(a,b,c){switch(b){case "noscript":return I(2,null,a.tagScope|1);case "select":return I(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return I(3,null,a.tagScope);case "picture":return I(2,null,a.tagScope|2);case "math":return I(4,null,a.tagScope);case "foreignObject":return I(2,null,a.tagScope);case "table":return I(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return I(6,null,a.tagScope);case "colgroup":return I(8,null,a.tagScope);case "tr":return I(7,null,a.tagScope)}return 5<= -a.insertionMode?I(2,null,a.tagScope):0===a.insertionMode?"html"===b?I(1,null,a.tagScope):I(2,null,a.tagScope):1===a.insertionMode?I(2,null,a.tagScope):a}var Rb=y("\x3c!-- --\x3e");function Sb(a,b,c,d){if(""===b)return d;d&&a.push(Rb);a.push(B(b));return!0}var Tb=new Map,Ub=y(' style="'),Vb=y(":"),Wb=y(";"); -function Xb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(A.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=B(d);e=B((""+e).trim())}else f=Tb.get(d),void 0===f&&(f=y(B(d.replace(La,"-$1").toLowerCase().replace(Ma,"-ms-"))),Tb.set(d,f)),e="number"===typeof e?0===e||Ia.has(d)?""+e:e+"px": -B((""+e).trim());c?(c=!1,a.push(Ub,f,Vb,e)):a.push(Wb,f,Vb,e)}}c||a.push(K)}var N=y(" "),O=y('="'),K=y('"'),Yb=y('=""');function Zb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,b,Yb)}function P(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(N,b,O,B(c),K)}function $b(a){var b=a.nextFormID++;return a.idPrefix+b}var ac=y(B("javascript:throw new Error('A React form was unexpectedly submitted.')")),bc=y('<input type="hidden"'); -function cc(a,b){this.push(bc);if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");P(this,"name",b);P(this,"value",a);this.push(dc)} -function ec(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=$b(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(N,"formAction",O,ac,K),g=f=e=d=h=null,fc(b,c)));null!=h&&S(a,"name",h);null!=d&&S(a,"formAction",d);null!=e&&S(a,"formEncType",e);null!=f&&S(a,"formMethod",f);null!=g&&S(a,"formTarget",g);return k} -function S(a,b,c){switch(b){case "className":P(a,"class",c);break;case "tabIndex":P(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":P(a,b,c);break;case "style":Xb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(N,b,O,B(""+c),K);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":Zb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(N,"xlink:href",O,B(""+c),K);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,b,O,B(c),K);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,b,Yb);break;case "capture":case "download":!0===c?a.push(N,b,Yb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,b,O,B(c),K);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(N,b,O,B(c),K);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(N,b,O,B(c),K);break;case "xlinkActuate":P(a,"xlink:actuate",c);break;case "xlinkArcrole":P(a, -"xlink:arcrole",c);break;case "xlinkRole":P(a,"xlink:role",c);break;case "xlinkShow":P(a,"xlink:show",c);break;case "xlinkTitle":P(a,"xlink:title",c);break;case "xlinkType":P(a,"xlink:type",c);break;case "xmlBase":P(a,"xml:base",c);break;case "xmlLang":P(a,"xml:lang",c);break;case "xmlSpace":P(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=Ja.get(b)||b,Ha(b)){switch(typeof c){case "function":case "symbol":return;case "boolean":var d=b.toLowerCase().slice(0, -5);if("data-"!==d&&"aria-"!==d)return}a.push(N,b,O,B(c),K)}}}var T=y(">"),dc=y("/>");function gc(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} +d[h];c=p=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof r?f.href=l=r:(f.href=l=r.src,f.integrity=c="string"===typeof r.integrity?r.integrity:void 0,f.crossOrigin=p="string"===typeof r||null==r.crossOrigin?void 0:"use-credentials"===r.crossOrigin?"use-credentials":"");r=a;var q=l;r.scriptResources[q]=null;r.moduleScriptResources[q]=null;r=[];D(r,f);g.bootstrapScripts.add(r);n.push(ub,B(l));b&&n.push(wb,B(b));"string"===typeof c&&n.push(xb,B(c));"string"===typeof p&& +n.push(yb,B(p));n.push(zb)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],p=l=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=p="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=l="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,r=h,f.scriptResources[r]=null,f.moduleScriptResources[r]=null,f=[],D(f,c),g.bootstrapScripts.add(f),n.push(vb,B(h)),b&&n.push(wb,B(b)), +"string"===typeof p&&n.push(xb,B(p)),"string"===typeof l&&n.push(yb,B(l)),n.push(zb);return g}function Ob(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} +function G(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Pb(a){return G("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} +function Qb(a,b,c){switch(b){case "noscript":return G(2,null,a.tagScope|1);case "select":return G(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return G(3,null,a.tagScope);case "picture":return G(2,null,a.tagScope|2);case "math":return G(4,null,a.tagScope);case "foreignObject":return G(2,null,a.tagScope);case "table":return G(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return G(6,null,a.tagScope);case "colgroup":return G(8,null,a.tagScope);case "tr":return G(7,null,a.tagScope)}return 5<= +a.insertionMode?G(2,null,a.tagScope):0===a.insertionMode?"html"===b?G(1,null,a.tagScope):G(2,null,a.tagScope):1===a.insertionMode?G(2,null,a.tagScope):a}var Rb=y("\x3c!-- --\x3e");function Sb(a,b,c,d){if(""===b)return d;d&&a.push(Rb);a.push(B(b));return!0}var Tb=new Map,Ub=y(' style="'),Vb=y(":"),Wb=y(";"); +function Xb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(A.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=B(d);e=B((""+e).trim())}else f=Tb.get(d),void 0===f&&(f=y(B(d.replace(Ka,"-$1").toLowerCase().replace(La,"-ms-"))),Tb.set(d,f)),e="number"===typeof e?0===e||Ha.has(d)?""+e:e+"px": +B((""+e).trim());c?(c=!1,a.push(Ub,f,Vb,e)):a.push(Wb,f,Vb,e)}}c||a.push(K)}var L=y(" "),M=y('="'),K=y('"'),Yb=y('=""');function Zb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(L,b,Yb)}function N(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(L,b,M,B(c),K)}function $b(a){var b=a.nextFormID++;return a.idPrefix+b}var ac=y(B("javascript:throw new Error('A React form was unexpectedly submitted.')")),bc=y('<input type="hidden"'); +function cc(a,b){this.push(bc);if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");N(this,"name",b);N(this,"value",a);this.push(dc)} +function ec(a,b,c,d,e,f,g,h){var l=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=$b(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,l=b.data):(a.push(L,"formAction",M,ac,K),g=f=e=d=h=null,fc(b,c)));null!=h&&P(a,"name",h);null!=d&&P(a,"formAction",d);null!=e&&P(a,"formEncType",e);null!=f&&P(a,"formMethod",f);null!=g&&P(a,"formTarget",g);return l} +function P(a,b,c){switch(b){case "className":N(a,"class",c);break;case "tabIndex":N(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":N(a,b,c);break;case "style":Xb(a,c);break;case "src":case "href":if(""===c)break;case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(L,b,M,B(""+c),K);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":Zb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(L,"xlink:href",M,B(""+c),K);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(L,b,M,B(c),K);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(L,b,Yb);break;case "capture":case "download":!0===c?a.push(L,b,Yb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(L,b,M,B(c),K);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(L,b,M,B(c),K);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(L,b,M,B(c),K);break;case "xlinkActuate":N(a,"xlink:actuate",c);break;case "xlinkArcrole":N(a, +"xlink:arcrole",c);break;case "xlinkRole":N(a,"xlink:role",c);break;case "xlinkShow":N(a,"xlink:show",c);break;case "xlinkTitle":N(a,"xlink:title",c);break;case "xlinkType":N(a,"xlink:type",c);break;case "xmlBase":N(a,"xml:base",c);break;case "xmlLang":N(a,"xml:lang",c);break;case "xmlSpace":N(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=Ia.get(b)||b,Ga(b)){switch(typeof c){case "function":case "symbol":return;case "boolean":var d=b.toLowerCase().slice(0, +5);if("data-"!==d&&"aria-"!==d)return}a.push(L,b,M,B(c),K)}}}var Q=y(">"),dc=y("/>");function gc(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} function hc(a){var b="";fa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var ic=y(' selected=""'),jc=y('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); function fc(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,jc,tb))}var kc=y("\x3c!--F!--\x3e"),lc=y("\x3c!--F--\x3e"); -function mc(a,b,c,d,e,f,g){var h=b.rel,k=b.href,n=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return D(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof n||null!=b.disabled||b.onLoad||b.onError)return D(a,b);f=d.styles.get(n);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:B(n),rules:[],hrefs:[],sheets:new Map},d.styles.set(n,f)),b={state:0,props:z({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&nc(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push(Rb);return null}if(b.onLoad||b.onError)return D(a,b);e&&a.push(Rb);switch(b.rel){case "preconnect":case "dns-prefetch":return D(d.preconnectChunks,b);case "preload":return D(d.preloadChunks,b);default:return D(d.hoistableChunks, -b)}}function D(a,b){a.push(U("link"));for(var c in b)if(A.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:S(a,c,d)}}a.push(dc);return null} -function oc(a,b,c){a.push(U(c));for(var d in b)if(A.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:S(a,d,e)}}a.push(dc);return null} -function pc(a,b){a.push(U("title"));var c=null,d=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:S(a,e,f)}}a.push(T);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(B(""+b));gc(a,d,c);a.push(qc,"title",yc);return null} -function Nb(a,b){a.push(U("script"));var c=null,d=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:S(a,e,f)}}a.push(T);gc(a,d,c);"string"===typeof c&&a.push(B(c));a.push(qc,"script",yc);return null} -function zc(a,b,c){a.push(U(c));var d=c=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:S(a,e,f)}}a.push(T);gc(a,d,c);return"string"===typeof c?(a.push(B(c)),null):c}var Ac=y("\n"),Bc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Cc=new Map;function U(a){var b=Cc.get(a);if(void 0===b){if(!Bc.test(a))throw Error("Invalid tag: "+a);b=y("<"+a);Cc.set(a,b)}return b}var Dc=y("<!DOCTYPE html>"); -function Ec(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(U("select"));var h=null,k=null,n;for(n in c)if(A.call(c,n)){var p=c[n];if(null!=p)switch(n){case "children":h=p;break;case "dangerouslySetInnerHTML":k=p;break;case "defaultValue":case "value":break;default:S(a,n,p)}}a.push(T);gc(a,k,h);return h;case "option":var r=f.selectedValue;a.push(U("option"));var q=null,w=null,L=null,H=null,t;for(t in c)if(A.call(c, -t)){var v=c[t];if(null!=v)switch(t){case "children":q=v;break;case "selected":L=v;break;case "dangerouslySetInnerHTML":H=v;break;case "value":w=v;default:S(a,t,v)}}if(null!=r){var E=null!==w?""+w:hc(q);if(Na(r))for(var ja=0;ja<r.length;ja++){if(""+r[ja]===E){a.push(ic);break}}else""+r===E&&a.push(ic)}else L&&a.push(ic);a.push(T);gc(a,H,q);return q;case "textarea":a.push(U("textarea"));var F=null,C=null,G=null,ca;for(ca in c)if(A.call(c,ca)){var Q=c[ca];if(null!=Q)switch(ca){case "children":G=Q;break; -case "value":F=Q;break;case "defaultValue":C=Q;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:S(a,ca,Q)}}null===F&&null!==C&&(F=C);a.push(T);if(null!=G){if(null!=F)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Na(G)){if(1<G.length)throw Error("<textarea> can only have at most one child.");F=""+G[0]}F=""+G}"string"===typeof F&&"\n"===F[0]&&a.push(Ac);null!==F&&a.push(B(""+F));return null; -case "input":a.push(U("input"));var oa=null,M=null,pa=null,ka=null,Ca=null,qa=null,ra=null,sa=null,Qa=null,da;for(da in c)if(A.call(c,da)){var Y=c[da];if(null!=Y)switch(da){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":oa=Y;break;case "formAction":M=Y;break;case "formEncType":pa=Y;break;case "formMethod":ka=Y;break;case "formTarget":Ca=Y;break;case "defaultChecked":Qa=Y;break; -case "defaultValue":ra=Y;break;case "checked":sa=Y;break;case "value":qa=Y;break;default:S(a,da,Y)}}var sd=ec(a,d,e,M,pa,ka,Ca,oa);null!==sa?Zb(a,"checked",sa):null!==Qa&&Zb(a,"checked",Qa);null!==qa?S(a,"value",qa):null!==ra&&S(a,"value",ra);a.push(dc);null!==sd&&sd.forEach(cc,a);return null;case "button":a.push(U("button"));var db=null,td=null,ud=null,vd=null,wd=null,xd=null,yd=null,eb;for(eb in c)if(A.call(c,eb)){var la=c[eb];if(null!=la)switch(eb){case "children":db=la;break;case "dangerouslySetInnerHTML":td= -la;break;case "name":ud=la;break;case "formAction":vd=la;break;case "formEncType":wd=la;break;case "formMethod":xd=la;break;case "formTarget":yd=la;break;default:S(a,eb,la)}}var zd=ec(a,d,e,vd,wd,xd,yd,ud);a.push(T);null!==zd&&zd.forEach(cc,a);gc(a,td,db);if("string"===typeof db){a.push(B(db));var Ad=null}else Ad=db;return Ad;case "form":a.push(U("form"));var fb=null,Bd=null,ta=null,gb=null,hb=null,ib=null,jb;for(jb in c)if(A.call(c,jb)){var ua=c[jb];if(null!=ua)switch(jb){case "children":fb=ua;break; -case "dangerouslySetInnerHTML":Bd=ua;break;case "action":ta=ua;break;case "encType":gb=ua;break;case "method":hb=ua;break;case "target":ib=ua;break;default:S(a,jb,ua)}}var rc=null,sc=null;if("function"===typeof ta)if("function"===typeof ta.$$FORM_ACTION){var rf=$b(d),Ra=ta.$$FORM_ACTION(rf);ta=Ra.action||"";gb=Ra.encType;hb=Ra.method;ib=Ra.target;rc=Ra.data;sc=Ra.name}else a.push(N,"action",O,ac,K),ib=hb=gb=ta=null,fc(d,e);null!=ta&&S(a,"action",ta);null!=gb&&S(a,"encType",gb);null!=hb&&S(a,"method", -hb);null!=ib&&S(a,"target",ib);a.push(T);null!==sc&&(a.push(bc),P(a,"name",sc),a.push(dc),null!==rc&&rc.forEach(cc,a));gc(a,Bd,fb);if("string"===typeof fb){a.push(B(fb));var Cd=null}else Cd=fb;return Cd;case "menuitem":a.push(U("menuitem"));for(var Db in c)if(A.call(c,Db)){var Dd=c[Db];if(null!=Dd)switch(Db){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:S(a,Db,Dd)}}a.push(T);return null;case "title":if(3===f.insertionMode|| -f.tagScope&1||null!=c.itemProp)var Ed=pc(a,c);else pc(e.hoistableChunks,c),Ed=null;return Ed;case "link":return mc(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var tc=c.async;if("string"!==typeof c.src||!c.src||!tc||"function"===typeof tc||"symbol"===typeof tc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Fd=Nb(a,c);else{var Eb=c.src;if("module"===c.type){var Fb=d.moduleScriptResources;var Gd=e.preloads.moduleScripts}else Fb=d.scriptResources,Gd=e.preloads.scripts; -var Gb=Fb.hasOwnProperty(Eb)?Fb[Eb]:void 0;if(null!==Gb){Fb[Eb]=null;var uc=c;if(Gb){2===Gb.length&&(uc=z({},c),nc(uc,Gb));var Hd=Gd.get(Eb);Hd&&(Hd.length=0)}var Id=[];e.scripts.add(Id);Nb(Id,uc)}g&&a.push(Rb);Fd=null}return Fd;case "style":var Hb=c.precedence,Da=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Hb||"string"!==typeof Da||""===Da){a.push(U("style"));var Sa=null,Jd=null,kb;for(kb in c)if(A.call(c,kb)){var Ib=c[kb];if(null!=Ib)switch(kb){case "children":Sa= -Ib;break;case "dangerouslySetInnerHTML":Jd=Ib;break;default:S(a,kb,Ib)}}a.push(T);var lb=Array.isArray(Sa)?2>Sa.length?Sa[0]:null:Sa;"function"!==typeof lb&&"symbol"!==typeof lb&&null!==lb&&void 0!==lb&&a.push(B(""+lb));gc(a,Jd,Sa);a.push(qc,"style",yc);var Kd=null}else{var Ea=e.styles.get(Hb);if(null!==(d.styleResources.hasOwnProperty(Da)?d.styleResources[Da]:void 0)){d.styleResources[Da]=null;Ea?Ea.hrefs.push(B(Da)):(Ea={precedence:B(Hb),rules:[],hrefs:[B(Da)],sheets:new Map},e.styles.set(Hb,Ea)); -var Ld=Ea.rules,Ta=null,Md=null,Jb;for(Jb in c)if(A.call(c,Jb)){var vc=c[Jb];if(null!=vc)switch(Jb){case "children":Ta=vc;break;case "dangerouslySetInnerHTML":Md=vc}}var mb=Array.isArray(Ta)?2>Ta.length?Ta[0]:null:Ta;"function"!==typeof mb&&"symbol"!==typeof mb&&null!==mb&&void 0!==mb&&Ld.push(B(""+mb));gc(Ld,Md,Ta)}Ea&&e.boundaryResources&&e.boundaryResources.styles.add(Ea);g&&a.push(Rb);Kd=void 0}return Kd;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Nd=oc(a,c,"meta"); -else g&&a.push(Rb),Nd="string"===typeof c.charSet?oc(e.charsetChunks,c,"meta"):"viewport"===c.name?oc(e.preconnectChunks,c,"meta"):oc(e.hoistableChunks,c,"meta");return Nd;case "listing":case "pre":a.push(U(b));var nb=null,ob=null,pb;for(pb in c)if(A.call(c,pb)){var Kb=c[pb];if(null!=Kb)switch(pb){case "children":nb=Kb;break;case "dangerouslySetInnerHTML":ob=Kb;break;default:S(a,pb,Kb)}}a.push(T);if(null!=ob){if(null!=nb)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); -if("object"!==typeof ob||!("__html"in ob))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Fa=ob.__html;null!==Fa&&void 0!==Fa&&("string"===typeof Fa&&0<Fa.length&&"\n"===Fa[0]?a.push(Ac,Fa):a.push(""+Fa))}"string"===typeof nb&&"\n"===nb[0]&&a.push(Ac);return nb;case "img":var R=c.src,J=c.srcSet;if(!("lazy"===c.loading||!R&&!J||"string"!==typeof R&&null!=R||"string"!==typeof J&& -null!=J)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof R||":"!==R[4]||"d"!==R[0]&&"D"!==R[0]||"a"!==R[1]&&"A"!==R[1]||"t"!==R[2]&&"T"!==R[2]||"a"!==R[3]&&"A"!==R[3])&&("string"!==typeof J||":"!==J[4]||"d"!==J[0]&&"D"!==J[0]||"a"!==J[1]&&"A"!==J[1]||"t"!==J[2]&&"T"!==J[2]||"a"!==J[3]&&"A"!==J[3])){var Od="string"===typeof c.sizes?c.sizes:void 0,qb=J?J+"\n"+(Od||""):R,wc=e.preloads.images,Ga=wc.get(qb);if(Ga){if("high"===c.fetchPriority||10>e.highImagePreloads.size)wc.delete(qb), -e.highImagePreloads.add(Ga)}else d.imageResources.hasOwnProperty(qb)||(d.imageResources[qb]=cb,Ga=[],D(Ga,{rel:"preload",as:"image",href:J?void 0:R,imageSrcSet:J,imageSizes:Od,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Ga):(e.bulkPreloads.add(Ga),wc.set(qb,Ga)))}return oc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return oc(a, -c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Pd=zc(e.headChunks,c,"head")}else Pd=zc(a,c,"head");return Pd;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[Dc];var Qd=zc(e.htmlChunks,c,"html")}else Qd=zc(a,c,"html");return Qd;default:if(-1!==b.indexOf("-")){a.push(U(b)); -var xc=null,Rd=null,va;for(va in c)if(A.call(c,va)){var W=c[va];if(null!=W&&"function"!==typeof W&&"object"!==typeof W&&!1!==W)switch(!0===W&&(W=""),"className"===va&&(va="class"),va){case "children":xc=W;break;case "dangerouslySetInnerHTML":Rd=W;break;case "style":Xb(a,W);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:Ha(va)&&"function"!==typeof W&&"symbol"!==typeof W&&a.push(N,va,O,B(W),K)}}a.push(T);gc(a,Rd,xc);return xc}}return zc(a,c,b)} -var qc=y("</"),yc=y(">");function Fc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)u(a,b[c]);return c<b.length?(c=b[c],b.length=0,x(a,c)):!0}var Gc=y('<template id="'),Hc=y('"></template>'),Ic=y("\x3c!--$--\x3e"),Jc=y('\x3c!--$?--\x3e<template id="'),Kc=y('"></template>'),Lc=y("\x3c!--$!--\x3e"),Mc=y("\x3c!--/$--\x3e"),Nc=y("<template"),Oc=y('"'),Pc=y(' data-dgst="');y(' data-msg="');y(' data-stck="');var Qc=y("></template>"); +function mc(a,b,c,d,e,f,g){var h=b.rel,l=b.href,n=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof l||""===l)return D(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof n||null!=b.disabled||b.onLoad||b.onError)return D(a,b);f=d.styles.get(n);g=c.styleResources.hasOwnProperty(l)?c.styleResources[l]:void 0;null!==g?(c.styleResources[l]=null,f||(f={precedence:B(n),rules:[],hrefs:[],sheets:new Map},d.styles.set(n,f)),b={state:0,props:z({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&nc(b.props,g),(c=d.preloads.stylesheets.get(l))&&0<c.length?c.length=0:b.state=1),f.sheets.set(l,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(l=f.sheets.get(l))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(l);e&&a.push(Rb);return null}if(b.onLoad||b.onError)return D(a,b);e&&a.push(Rb);switch(b.rel){case "preconnect":case "dns-prefetch":return D(d.preconnectChunks,b);case "preload":return D(d.preloadChunks,b);default:return D(d.hoistableChunks, +b)}}function D(a,b){a.push(S("link"));for(var c in b)if(A.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:P(a,c,d)}}a.push(dc);return null} +function oc(a,b,c){a.push(S(c));for(var d in b)if(A.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:P(a,d,e)}}a.push(dc);return null} +function pc(a,b){a.push(S("title"));var c=null,d=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:P(a,e,f)}}a.push(Q);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(B(""+b));gc(a,d,c);a.push(xc,"title",yc);return null} +function Nb(a,b){a.push(S("script"));var c=null,d=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:P(a,e,f)}}a.push(Q);gc(a,d,c);"string"===typeof c&&a.push(B(c));a.push(xc,"script",yc);return null} +function zc(a,b,c){a.push(S(c));var d=c=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:P(a,e,f)}}a.push(Q);gc(a,d,c);return"string"===typeof c?(a.push(B(c)),null):c}var Ac=y("\n"),Bc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Cc=new Map;function S(a){var b=Cc.get(a);if(void 0===b){if(!Bc.test(a))throw Error("Invalid tag: "+a);b=y("<"+a);Cc.set(a,b)}return b}var Dc=y("<!DOCTYPE html>"); +function Ec(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(S("select"));var h=null,l=null,n;for(n in c)if(A.call(c,n)){var p=c[n];if(null!=p)switch(n){case "children":h=p;break;case "dangerouslySetInnerHTML":l=p;break;case "defaultValue":case "value":break;default:P(a,n,p)}}a.push(Q);gc(a,l,h);return h;case "option":var r=f.selectedValue;a.push(S("option"));var q=null,F=null,H=null,X=null,t;for(t in c)if(A.call(c, +t)){var C=c[t];if(null!=C)switch(t){case "children":q=C;break;case "selected":H=C;break;case "dangerouslySetInnerHTML":X=C;break;case "value":F=C;default:P(a,t,C)}}if(null!=r){var v=null!==F?""+F:hc(q);if(Ma(r))for(var ja=0;ja<r.length;ja++){if(""+r[ja]===v){a.push(ic);break}}else""+r===v&&a.push(ic)}else H&&a.push(ic);a.push(Q);gc(a,X,q);return q;case "textarea":a.push(S("textarea"));var E=null,T=null,w=null,Y;for(Y in c)if(A.call(c,Y)){var ka=c[Y];if(null!=ka)switch(Y){case "children":w=ka;break; +case "value":E=ka;break;case "defaultValue":T=ka;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:P(a,Y,ka)}}null===E&&null!==T&&(E=T);a.push(Q);if(null!=w){if(null!=E)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ma(w)){if(1<w.length)throw Error("<textarea> can only have at most one child.");E=""+w[0]}E=""+w}"string"===typeof E&&"\n"===E[0]&&a.push(Ac);null!==E&&a.push(B(""+E));return null; +case "input":a.push(S("input"));var R=null,la=null,I=null,ma=null,Aa=null,qa=null,ra=null,sa=null,Oa=null,da;for(da in c)if(A.call(c,da)){var Z=c[da];if(null!=Z)switch(da){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":R=Z;break;case "formAction":la=Z;break;case "formEncType":I=Z;break;case "formMethod":ma=Z;break;case "formTarget":Aa=Z;break;case "defaultChecked":Oa=Z;break; +case "defaultValue":ra=Z;break;case "checked":sa=Z;break;case "value":qa=Z;break;default:P(a,da,Z)}}var sd=ec(a,d,e,la,I,ma,Aa,R);null!==sa?Zb(a,"checked",sa):null!==Oa&&Zb(a,"checked",Oa);null!==qa?P(a,"value",qa):null!==ra&&P(a,"value",ra);a.push(dc);null!==sd&&sd.forEach(cc,a);return null;case "button":a.push(S("button"));var cb=null,td=null,ud=null,vd=null,wd=null,xd=null,yd=null,db;for(db in c)if(A.call(c,db)){var na=c[db];if(null!=na)switch(db){case "children":cb=na;break;case "dangerouslySetInnerHTML":td= +na;break;case "name":ud=na;break;case "formAction":vd=na;break;case "formEncType":wd=na;break;case "formMethod":xd=na;break;case "formTarget":yd=na;break;default:P(a,db,na)}}var zd=ec(a,d,e,vd,wd,xd,yd,ud);a.push(Q);null!==zd&&zd.forEach(cc,a);gc(a,td,cb);if("string"===typeof cb){a.push(B(cb));var Ad=null}else Ad=cb;return Ad;case "form":a.push(S("form"));var eb=null,Bd=null,ta=null,fb=null,gb=null,hb=null,ib;for(ib in c)if(A.call(c,ib)){var ua=c[ib];if(null!=ua)switch(ib){case "children":eb=ua;break; +case "dangerouslySetInnerHTML":Bd=ua;break;case "action":ta=ua;break;case "encType":fb=ua;break;case "method":gb=ua;break;case "target":hb=ua;break;default:P(a,ib,ua)}}var qc=null,rc=null;if("function"===typeof ta)if("function"===typeof ta.$$FORM_ACTION){var sf=$b(d),Pa=ta.$$FORM_ACTION(sf);ta=Pa.action||"";fb=Pa.encType;gb=Pa.method;hb=Pa.target;qc=Pa.data;rc=Pa.name}else a.push(L,"action",M,ac,K),hb=gb=fb=ta=null,fc(d,e);null!=ta&&P(a,"action",ta);null!=fb&&P(a,"encType",fb);null!=gb&&P(a,"method", +gb);null!=hb&&P(a,"target",hb);a.push(Q);null!==rc&&(a.push(bc),N(a,"name",rc),a.push(dc),null!==qc&&qc.forEach(cc,a));gc(a,Bd,eb);if("string"===typeof eb){a.push(B(eb));var Cd=null}else Cd=eb;return Cd;case "menuitem":a.push(S("menuitem"));for(var Db in c)if(A.call(c,Db)){var Dd=c[Db];if(null!=Dd)switch(Db){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:P(a,Db,Dd)}}a.push(Q);return null;case "title":if(3===f.insertionMode|| +f.tagScope&1||null!=c.itemProp)var Ed=pc(a,c);else pc(e.hoistableChunks,c),Ed=null;return Ed;case "link":return mc(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var sc=c.async;if("string"!==typeof c.src||!c.src||!sc||"function"===typeof sc||"symbol"===typeof sc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Fd=Nb(a,c);else{var Eb=c.src;if("module"===c.type){var Fb=d.moduleScriptResources;var Gd=e.preloads.moduleScripts}else Fb=d.scriptResources,Gd=e.preloads.scripts; +var Gb=Fb.hasOwnProperty(Eb)?Fb[Eb]:void 0;if(null!==Gb){Fb[Eb]=null;var tc=c;if(Gb){2===Gb.length&&(tc=z({},c),nc(tc,Gb));var Hd=Gd.get(Eb);Hd&&(Hd.length=0)}var Id=[];e.scripts.add(Id);Nb(Id,tc)}g&&a.push(Rb);Fd=null}return Fd;case "style":var Hb=c.precedence,Ba=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Hb||"string"!==typeof Ba||""===Ba){a.push(S("style"));var Qa=null,Jd=null,jb;for(jb in c)if(A.call(c,jb)){var Ib=c[jb];if(null!=Ib)switch(jb){case "children":Qa= +Ib;break;case "dangerouslySetInnerHTML":Jd=Ib;break;default:P(a,jb,Ib)}}a.push(Q);var kb=Array.isArray(Qa)?2>Qa.length?Qa[0]:null:Qa;"function"!==typeof kb&&"symbol"!==typeof kb&&null!==kb&&void 0!==kb&&a.push(B(""+kb));gc(a,Jd,Qa);a.push(xc,"style",yc);var Kd=null}else{var Ca=e.styles.get(Hb);if(null!==(d.styleResources.hasOwnProperty(Ba)?d.styleResources[Ba]:void 0)){d.styleResources[Ba]=null;Ca?Ca.hrefs.push(B(Ba)):(Ca={precedence:B(Hb),rules:[],hrefs:[B(Ba)],sheets:new Map},e.styles.set(Hb,Ca)); +var Ld=Ca.rules,Ra=null,Md=null,Jb;for(Jb in c)if(A.call(c,Jb)){var uc=c[Jb];if(null!=uc)switch(Jb){case "children":Ra=uc;break;case "dangerouslySetInnerHTML":Md=uc}}var lb=Array.isArray(Ra)?2>Ra.length?Ra[0]:null:Ra;"function"!==typeof lb&&"symbol"!==typeof lb&&null!==lb&&void 0!==lb&&Ld.push(B(""+lb));gc(Ld,Md,Ra)}Ca&&e.boundaryResources&&e.boundaryResources.styles.add(Ca);g&&a.push(Rb);Kd=void 0}return Kd;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Nd=oc(a,c,"meta"); +else g&&a.push(Rb),Nd="string"===typeof c.charSet?oc(e.charsetChunks,c,"meta"):"viewport"===c.name?oc(e.preconnectChunks,c,"meta"):oc(e.hoistableChunks,c,"meta");return Nd;case "listing":case "pre":a.push(S(b));var mb=null,nb=null,ob;for(ob in c)if(A.call(c,ob)){var Kb=c[ob];if(null!=Kb)switch(ob){case "children":mb=Kb;break;case "dangerouslySetInnerHTML":nb=Kb;break;default:P(a,ob,Kb)}}a.push(Q);if(null!=nb){if(null!=mb)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); +if("object"!==typeof nb||!("__html"in nb))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Da=nb.__html;null!==Da&&void 0!==Da&&("string"===typeof Da&&0<Da.length&&"\n"===Da[0]?a.push(Ac,Da):a.push(""+Da))}"string"===typeof mb&&"\n"===mb[0]&&a.push(Ac);return mb;case "img":var O=c.src,J=c.srcSet;if(!("lazy"===c.loading||!O&&!J||"string"!==typeof O&&null!=O||"string"!==typeof J&& +null!=J)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof O||":"!==O[4]||"d"!==O[0]&&"D"!==O[0]||"a"!==O[1]&&"A"!==O[1]||"t"!==O[2]&&"T"!==O[2]||"a"!==O[3]&&"A"!==O[3])&&("string"!==typeof J||":"!==J[4]||"d"!==J[0]&&"D"!==J[0]||"a"!==J[1]&&"A"!==J[1]||"t"!==J[2]&&"T"!==J[2]||"a"!==J[3]&&"A"!==J[3])){var Od="string"===typeof c.sizes?c.sizes:void 0,pb=J?J+"\n"+(Od||""):O,vc=e.preloads.images,Ea=vc.get(pb);if(Ea){if("high"===c.fetchPriority||10>e.highImagePreloads.size)vc.delete(pb), +e.highImagePreloads.add(Ea)}else d.imageResources.hasOwnProperty(pb)||(d.imageResources[pb]=qb,Ea=[],D(Ea,{rel:"preload",as:"image",href:J?void 0:O,imageSrcSet:J,imageSizes:Od,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Ea):(e.bulkPreloads.add(Ea),vc.set(pb,Ea)))}return oc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return oc(a, +c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Pd=zc(e.headChunks,c,"head")}else Pd=zc(a,c,"head");return Pd;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[Dc];var Qd=zc(e.htmlChunks,c,"html")}else Qd=zc(a,c,"html");return Qd;default:if(-1!==b.indexOf("-")){a.push(S(b)); +var wc=null,Rd=null,Sa;for(Sa in c)if(A.call(c,Sa)){var aa=c[Sa];if(null!=aa){var Sd=Sa;switch(Sa){case "children":wc=aa;break;case "dangerouslySetInnerHTML":Rd=aa;break;case "style":Xb(a,aa);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;case "className":Sd="class";default:if(Ga(Sa)&&"function"!==typeof aa&&"symbol"!==typeof aa&&!1!==aa){if(!0===aa)aa="";else if("object"===typeof aa)continue;a.push(L,Sd,M,B(aa),K)}}}}a.push(Q);gc(a,Rd,wc);return wc}}return zc(a, +c,b)}var xc=y("</"),yc=y(">");function Fc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)u(a,b[c]);return c<b.length?(c=b[c],b.length=0,x(a,c)):!0}var Gc=y('<template id="'),Hc=y('"></template>'),Ic=y("\x3c!--$--\x3e"),Jc=y('\x3c!--$?--\x3e<template id="'),Kc=y('"></template>'),Lc=y("\x3c!--$!--\x3e"),Mc=y("\x3c!--/$--\x3e"),Nc=y("<template"),Oc=y('"'),Pc=y(' data-dgst="');y(' data-msg="');y(' data-stck="');var Qc=y("></template>"); function Rc(a,b,c){u(a,Jc);if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");u(a,b.boundaryPrefix);u(a,c.toString(16));return x(a,Kc)} var Sc=y('<div hidden id="'),Tc=y('">'),Uc=y("</div>"),Vc=y('<svg aria-hidden="true" style="display:none" id="'),Wc=y('">'),Xc=y("</svg>"),Yc=y('<math aria-hidden="true" style="display:none" id="'),Zc=y('">'),$c=y("</math>"),ad=y('<table hidden id="'),bd=y('">'),cd=y("</table>"),dd=y('<table hidden><tbody id="'),ed=y('">'),fd=y("</tbody></table>"),gd=y('<table hidden><tr id="'),hd=y('">'),id=y("</tr></table>"),jd=y('<table hidden><colgroup id="'),kd=y('">'),ld=y("</colgroup></table>"); function md(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return u(a,Sc),u(a,b.segmentPrefix),u(a,d.toString(16)),x(a,Tc);case 3:return u(a,Vc),u(a,b.segmentPrefix),u(a,d.toString(16)),x(a,Wc);case 4:return u(a,Yc),u(a,b.segmentPrefix),u(a,d.toString(16)),x(a,Zc);case 5:return u(a,ad),u(a,b.segmentPrefix),u(a,d.toString(16)),x(a,bd);case 6:return u(a,dd),u(a,b.segmentPrefix),u(a,d.toString(16)),x(a,ed);case 7:return u(a,gd),u(a,b.segmentPrefix),u(a,d.toString(16)),x(a,hd);case 8:return u(a, jd),u(a,b.segmentPrefix),u(a,d.toString(16)),x(a,kd);default:throw Error("Unknown insertion mode. This is a bug in React.");}}function nd(a,b){switch(b.insertionMode){case 0:case 1:case 2:return x(a,Uc);case 3:return x(a,Xc);case 4:return x(a,$c);case 5:return x(a,cd);case 6:return x(a,fd);case 7:return x(a,id);case 8:return x(a,ld);default:throw Error("Unknown insertion mode. This is a bug in React.");}} -var od=y('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),pd=y('$RS("'),qd=y('","'),rd=y('")\x3c/script>'),Sd=y('<template data-rsi="" data-sid="'),Td=y('" data-pid="'),Ud=y('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), -Vd=y('$RC("'),Wd=y('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Xd=y('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Yd=y('$RR("'),Zd=y('","'),$d=y('",'),ae=y('"'),be=y(")\x3c/script>"),ce=y('<template data-rci="" data-bid="'),de=y('<template data-rri="" data-bid="'),ee=y('" data-sid="'),fe=y('" data-sty="'),ge=y('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),he=y('$RX("'),ie=y('"'),je=y(","),ke=y(")\x3c/script>"),le=y('<template data-rxi="" data-bid="'),me=y('" data-dgst="'), -ne=y('" data-msg="'),oe=y('" data-stck="'),pe=/[<\u2028\u2029]/g;function qe(a){return JSON.stringify(a).replace(pe,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var re=/[&><\u2028\u2029]/g; -function se(a){return JSON.stringify(a).replace(re,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} -var te=y('<style media="not all" data-precedence="'),ue=y('" data-href="'),ve=y('">'),we=y("</style>"),xe=!1,ye=!0;function ze(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){u(this,te);u(this,a.precedence);for(u(this,ue);d<c.length-1;d++)u(this,c[d]),u(this,Ae);u(this,c[d]);u(this,ve);for(d=0;d<b.length;d++)u(this,b[d]);ye=x(this,we);xe=!0;b.length=0;c.length=0}}function Be(a){return 2!==a.state?xe=!0:!1} -function Ce(a,b,c){xe=!1;ye=!0;b.styles.forEach(ze,a);b.stylesheets.forEach(Be);xe&&(c.stylesToHoist=!0);return ye}function V(a){for(var b=0;b<a.length;b++)u(this,a[b]);a.length=0}var De=[];function Ee(a){D(De,a.props);for(var b=0;b<De.length;b++)u(this,De[b]);De.length=0;a.state=2}var Fe=y('<style data-precedence="'),Ge=y('" data-href="'),Ae=y(" "),He=y('">'),Ie=y("</style>"); -function Je(a){var b=0<a.sheets.size;a.sheets.forEach(Ee,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){u(this,Fe);u(this,a.precedence);a=0;if(d.length){for(u(this,Ge);a<d.length-1;a++)u(this,d[a]),u(this,Ae);u(this,d[a])}u(this,He);for(a=0;a<c.length;a++)u(this,c[a]);u(this,Ie);c.length=0;d.length=0}} -function Ke(a){if(0===a.state){a.state=1;var b=a.props;D(De,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<De.length;a++)u(this,De[a]);De.length=0}}function Le(a){a.sheets.forEach(Ke,this);a.sheets.clear()}var Me=y("["),Ne=y(",["),Oe=y(","),Pe=y("]"); -function Qe(a,b){u(a,Me);var c=Me;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,se(""+d.props.href)),u(a,Pe),c=Ne;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,se(""+d.props.href));e=""+e;u(a,Oe);u(a,se(e));for(var g in f)if(A.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); -default:a:{e=a;var k=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!Ha(g))break a;h=""+h}u(e,Oe);u(e,se(k));u(e,Oe);u(e,se(h))}}}u(a, -Pe);c=Ne;d.state=3}});u(a,Pe)} -function Re(a,b){u(a,Me);var c=Me;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,B(JSON.stringify(""+d.props.href))),u(a,Pe),c=Ne;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,B(JSON.stringify(""+d.props.href)));e=""+e;u(a,Oe);u(a,B(JSON.stringify(e)));for(var g in f)if(A.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:a:{e= -a;var k=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!Ha(g))break a;h=""+h}u(e,Oe);u(e,B(JSON.stringify(k)));u(e,Oe);u(e,B(JSON.stringify(h)))}}}u(a, -Pe);c=Ne;d.state=3}});u(a,Pe)}function Va(a){var b=Se();if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;D(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Te(b)}}} -function Wa(a,b){var c=Se();if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;D(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Te(c)}}} -function Xa(a,b,c){var d=Se();if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=cb;e=[];D(e,z({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];D(g,z({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?cb:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);D(g,z({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?cb:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=z({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}D(e,c);g[a]=cb}Te(d)}}} -function Ya(a,b){var c=Se();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?cb:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=cb}D(f,z({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Te(c)}}} -function Za(a,b,c){var d=Se();if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:B(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:z({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&nc(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Te(d))}}} -function $a(a,b){var c=Se();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=z({src:a,async:!0},b),f&&(2===f.length&&nc(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Nb(a,b),Te(c))}}} -function ab(a,b){var c=Se();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=z({src:a,type:"module",async:!0},b),f&&(2===f.length&&nc(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Nb(a,b),Te(c))}}}function nc(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Ue(a){this.styles.add(a)} -function Ve(a){this.stylesheets.add(a)} -var We=new ea.AsyncLocalStorage,Xe=Symbol.for("react.element"),Ye=Symbol.for("react.portal"),Ze=Symbol.for("react.fragment"),$e=Symbol.for("react.strict_mode"),af=Symbol.for("react.profiler"),bf=Symbol.for("react.provider"),cf=Symbol.for("react.context"),df=Symbol.for("react.server_context"),ef=Symbol.for("react.forward_ref"),ff=Symbol.for("react.suspense"),gf=Symbol.for("react.suspense_list"),hf=Symbol.for("react.memo"),jf=Symbol.for("react.lazy"),kf=Symbol.for("react.scope"),lf=Symbol.for("react.debug_trace_mode"), -mf=Symbol.for("react.offscreen"),nf=Symbol.for("react.legacy_hidden"),of=Symbol.for("react.cache"),pf=Symbol.for("react.default_value"),qf=Symbol.for("react.memo_cache_sentinel"),sf=Symbol.for("react.postpone"),tf=Symbol.iterator; -function uf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Ze:return"Fragment";case Ye:return"Portal";case af:return"Profiler";case $e:return"StrictMode";case ff:return"Suspense";case gf:return"SuspenseList";case of:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case cf:return(a.displayName||"Context")+".Consumer";case bf:return(a._context.displayName||"Context")+".Provider";case ef:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case hf:return b=a.displayName||null,null!==b?b:uf(a.type)||"Memo";case jf:b=a._payload;a=a._init;try{return uf(a(b))}catch(c){break}case df:return(a.displayName||a._globalName)+".Provider"}return null}var vf={};function wf(a,b){a=a.contextTypes;if(!a)return vf;var c={},d;for(d in a)c[d]=b[d];return c}var xf=null; -function yf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");yf(a,c)}b.context._currentValue=b.value}}function zf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&zf(a)} -function Af(a){var b=a.parent;null!==b&&Af(b);a.context._currentValue=a.value}function Bf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?yf(a,b):Bf(a,b)} -function Cf(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?yf(a,c):Cf(a,c);b.context._currentValue=b.value}function Df(a){var b=xf;b!==a&&(null===b?Af(a):null===a?zf(b):b.depth===a.depth?yf(b,a):b.depth>a.depth?Bf(b,a):Cf(b,a),xf=a)} -var Ef={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function Ff(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Ef;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:z({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Ef.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=z({},f,h)):z(f,h))}a.state=f}else f.queue=null} -var Gf={id:1,overflow:""};function Hf(a,b,c){var d=a.id;a=a.overflow;var e=32-If(d)-1;d&=~(1<<e);c+=1;var f=32-If(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-If(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var If=Math.clz32?Math.clz32:Jf,Kf=Math.log,Lf=Math.LN2;function Jf(a){a>>>=0;return 0===a?32:31-(Kf(a)/Lf|0)|0}var Mf=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Nf(){}function Of(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Nf,Nf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Pf=b;throw Mf;}}var Pf=null; -function Qf(){if(null===Pf)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Pf;Pf=null;return a}function Rf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Sf="function"===typeof Object.is?Object.is:Rf,Tf=null,Uf=null,Vf=null,Wf=null,Xf=null,X=null,Yf=!1,Zf=!1,$f=0,ag=0,bg=-1,cg=0,dg=null,eg=null,fg=0; -function gg(){if(null===Tf)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Tf} -function hg(){if(0<fg)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function ig(){null===X?null===Xf?(Yf=!1,Xf=X=hg()):(Yf=!0,X=Xf):null===X.next?(Yf=!1,X=X.next=hg()):(Yf=!0,X=X.next);return X}function jg(a,b,c,d){for(;Zf;)Zf=!1,ag=$f=0,bg=-1,cg=0,fg+=1,X=null,c=a(b,d);kg();return c}function lg(){var a=dg;dg=null;return a}function kg(){Wf=Vf=Uf=Tf=null;Zf=!1;Xf=null;fg=0;X=eg=null} -function mg(a,b){return"function"===typeof b?b(a):b}function ng(a,b,c){Tf=gg();X=ig();if(Yf){var d=X.queue;b=d.dispatch;if(null!==eg&&(c=eg.get(d),void 0!==c)){eg.delete(d);d=X.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);X.memoizedState=d;return[d,b]}return[X.memoizedState,b]}a=a===mg?"function"===typeof b?b():b:void 0!==c?c(b):b;X.memoizedState=a;a=X.queue={last:null,dispatch:null};a=a.dispatch=og.bind(null,Tf,a);return[X.memoizedState,a]} -function pg(a,b){Tf=gg();X=ig();b=void 0===b?null:b;if(null!==X){var c=X.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Sf(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();X.memoizedState=[a,b];return a} -function og(a,b,c){if(25<=fg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Tf)if(Zf=!0,a={action:c,next:null},null===eg&&(eg=new Map),c=eg.get(b),void 0===c)eg.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function qg(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.");}function rg(){throw Error("startTransition cannot be called during server rendering.");} -function sg(){throw Error("Cannot update optimistic state while rendering.");}function tg(a,b,c){if(void 0!==a)return"p"+a;a=JSON.stringify([b,null,c]);b=ba.createHash("md5");b.update(a);return"k"+b.digest("hex")}function ug(a){var b=cg;cg+=1;null===dg&&(dg=[]);return Of(dg,a,b)}function vg(){throw Error("Cache cannot be refreshed during server rendering.");}function wg(){} -var yg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return ug(a);if(a.$$typeof===cf||a.$$typeof===df)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){gg();return a._currentValue},useMemo:pg,useReducer:ng,useRef:function(a){Tf=gg();X=ig();var b=X.memoizedState;return null===b?(a={current:a},X.memoizedState=a):b},useState:function(a){return ng(mg,a)}, -useInsertionEffect:wg,useLayoutEffect:wg,useCallback:function(a,b){return pg(function(){return a},b)},useImperativeHandle:wg,useEffect:wg,useDebugValue:wg,useDeferredValue:function(a){gg();return a},useTransition:function(){gg();return[!1,rg]},useId:function(){var a=Uf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-If(a)-1)).toString(32)+b;var c=xg;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=$f++;a=":"+c.idPrefix+"R"+a;0<b&& -(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return vg},useEffectEvent:function(){return qg},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=qf;return b},useHostTransitionStatus:function(){gg();return Pa},useOptimistic:function(a){gg();return[a,sg]},useFormState:function(a,b,c){gg(); -var d=ag++,e=Vf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Wf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=tg(c,g,d),k===f&&(bg=d,b=e[0]))}var n=a.bind(null,b);a=function(r){n(r)};"function"===typeof n.$$FORM_ACTION&&(a.$$FORM_ACTION=function(r){r=n.$$FORM_ACTION(r);void 0!==c&&(c+="",r.action=c);var q=r.data;q&&(null===f&&(f=tg(c,g,d)),q.append("$ACTION_KEY",f));return r});return[b,a]}var p=a.bind(null,b);return[b,function(r){p(r)}]}}, -xg=null,zg={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},Ag=Oa.ReactCurrentDispatcher,Bg=Oa.ReactCurrentCache;function Cg(a){console.error(a);return null}function Dg(){} -function Eg(a,b,c,d,e,f,g,h,k,n,p,r){Ua.current=bb;var q=[],w=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:w,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?Cg:f,onPostpone:void 0===p?Dg:p,onAllReady:void 0===g? -Dg:g,onShellReady:void 0===h?Dg:h,onShellError:void 0===k?Dg:k,onFatalError:void 0===n?Dg:n,formState:void 0===r?null:r};c=Fg(b,0,null,d,!1,!1);c.parentFlushed=!0;a=Gg(b,null,a,-1,null,c,w,null,d,vf,null,Gf);q.push(a);return b}function Hg(a,b,c,d,e,f,g,h,k,n,p){a=Eg(a,b,c,d,e,f,g,h,k,n,p);a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null};return a}var Ig=null;function Se(){if(Ig)return Ig;var a=We.getStore();return a?a:null} -function Jg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return Kg(a)}))}function Lg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function Gg(a,b,c,d,e,f,g,h,k,n,p,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var q={replay:null,node:c,childIndex:d,ping:function(){return Jg(a,q)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:n,context:p,treeContext:r,thenableState:b};g.add(q);return q} -function Mg(a,b,c,d,e,f,g,h,k,n,p,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var q={replay:c,node:d,childIndex:e,ping:function(){return Jg(a,q)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:n,context:p,treeContext:r,thenableState:b};g.add(q);return q}function Fg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function Ng(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Og(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function Pg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((uf(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=z({},c,d)}b.legacyContext=e;Z(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Z(a,b,null,f,-1),b.keyPath=e} -function Qg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var n=0;n<f;n++)n===g?k.push(kc):k.push(lc)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Hf(c,1,0),Rg(a,b,d,-1),b.treeContext=c):h?Rg(a,b,d,-1):Z(a,b,null,d,-1);b.keyPath=f}function Sg(a,b){if(a&&a.defaultProps){b=z({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function Tg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=wf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Ff(h,e,f,d);Pg(a,b,c,h,e)}else{h=wf(e,b.legacyContext);Tf={};Uf=b;Vf=a;Wf=c;ag=$f=0;bg=-1;cg=0;dg=d;d=e(f,h);d=jg(e,f,d,h);g=0!==$f;var k=ag,n=bg;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Ff(d,e,f,h),Pg(a,b,c,d,e)):Qg(a,b,c,d,g,k,n)}else if("string"===typeof e)if(d= -b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Qb(h,e,f),b.keyPath=c,Rg(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Ec(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=Qb(h,e,f);b.keyPath=c;Rg(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(qc,e,yc)}d.lastPushedText=!1}else{switch(e){case nf:case lf:case $e:case af:case Ze:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case mf:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Z(a,b,null,f.children,-1),b.keyPath=e);return;case gf:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case kf:throw Error("ReactDOMServer does not yet support scope components."); -case ff:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Rg(a,b,c,-1)}finally{b.keyPath=e}}else{n=b.keyPath;e=b.blockedBoundary;var p=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=Lg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=Fg(a,p.chunks.length,g,b.formatContext,!1,!1);p.children.push(k);p.lastPushedText=!1;var q=Fg(a,0,null,b.formatContext,!1,!1);q.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=q;a.renderState.boundaryResources=g.resources;b.keyPath= -c;try{if(Rg(a,b,r,-1),q.lastPushedText&&q.textEmbedded&&q.chunks.push(Rb),q.status=1,Ug(g,q),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(w){q.status=4,g.status=4,"object"===typeof w&&null!==w&&w.$$typeof===sf?(a.onPostpone(w.message),h="POSTPONE"):h=Ng(a,w),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=p,b.keyPath=n}h=[c[0],"Suspense Fallback",c[2]];n=a.trackedPostpones;null!==n&&(p=[h[1],h[2],[],null],n.workingMap.set(h, -p),5===g.status?n.workingMap.get(c)[4]=p:g.trackedFallbackNode=p);b=Gg(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case ef:e=e.render;Tf={};Uf=b;Vf=a;Wf=c;ag=$f=0;bg=-1;cg=0;dg=d;d=e(f,g);f=jg(e,f,d,g);Qg(a,b,c,f,0!==$f,ag,bg);return;case hf:e=e.type;f=Sg(e,f);Tg(a,b,c,d,e,f,g);return;case bf:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;k=xf;xf=f= -{parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;Z(a,b,null,h,-1);a=xf;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===pf?a.context._defaultValue:c;a=xf=a.parent;b.context=a;b.keyPath=d;return;case cf:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;Z(a,b,null,f,-1);b.keyPath=e;return;case jf:h=e._init;e=h(e._payload);f=Sg(e,f);Tg(a,b,c,d,e,f,void 0); -return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==e?e:typeof e)+"."));}}function Vg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=Fg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Rg(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Ug(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function Z(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Xe:var f=d.type,g=d.key,h=d.props,k=d.ref,n=uf(f),p=null==g?-1===e?0:e:g;g=[b.keyPath,n,p];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var q=e[d];if(p===q[1]){if(null!==n&&n!==q[0])throw Error('Expected to see a component of type "'+n+"\" in this slot. The tree doesn't match so React will fallback to client rendering.");if(4===q.length){n=q[2];q=q[3];b.replay={nodes:n, -slots:q,pendingTasks:1};try{if("number"===typeof q){p=a;var w=b,L=w.replay,H=w.blockedBoundary,t=Fg(p,0,null,w.formatContext,!1,!1);t.id=q;t.parentFlushed=!0;try{w.replay=null,w.blockedSegment=t,Tg(p,w,g,c,f,h,k),t.status=1,null===H?p.completedRootSegment=t:(Ug(H,t),H.parentFlushed&&p.partialBoundaries.push(H))}finally{w.replay=L,w.blockedSegment=null}}else Tg(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -}catch(E){if("object"===typeof E&&null!==E&&(E===Mf||"function"===typeof E.then))throw E;Wg(a,b.blockedBoundary,E,n,q)}finally{b.replay.pendingTasks--,b.replay=r}}else{if(f!==ff)throw Error("Expected to see a Suspense boundary in this slot. The tree doesn't match so React will fallback to client rendering.");b:{f=void 0;t=q[5];c=q[2];k=q[3];L=null===q[4]?[]:q[4][2];q=null===q[4]?null:q[4][3];n=b.keyPath;p=b.replay;H=b.blockedBoundary;w=h.children;h=h.fallback;r=new Set;var v=Lg(a,r);v.parentFlushed= -!0;v.rootSegmentID=t;b.blockedBoundary=v;b.replay={nodes:c,slots:k,pendingTasks:1};a.renderState.boundaryResources=v.resources;try{"number"===typeof k?Vg(a,b,k,w,-1):Rg(a,b,w,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===v.pendingTasks&&0===v.status){v.status=1;a.completedBoundaries.push(v);break b}}catch(E){v.status= -4,"object"===typeof E&&null!==E&&E.$$typeof===sf?(a.onPostpone(E.message),f="POSTPONE"):f=Ng(a,E),v.errorDigest=f,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(v)}finally{a.renderState.boundaryResources=H?H.resources:null,b.blockedBoundary=H,b.replay=p,b.keyPath=n}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof q?(f=Fg(a,0,null,b.formatContext,!1,!1),f.id=q,f.parentFlushed=!0,h=Gg(a,null,h,-1,H,f,r,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):h=Mg(a,null,{nodes:L,slots:q, -pendingTasks:0},h,-1,H,r,g,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else Tg(a,b,g,c,f,h,k);return;case Ye:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case jf:h=d._init;d=h(d._payload);Z(a,b,null,d,e);return}if(Na(d)){Xg(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=tf&&d[tf]||d["@@iterator"],h="function"===typeof h?h:null); -if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Xg(a,b,g,e)}return}if("function"===typeof d.then)return Z(a,b,null,ug(d),e);if(d.$$typeof===cf||d.$$typeof===df)return Z(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"=== -typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Sb(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Sb(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function Xg(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{if(Xg(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");}catch(p){if("object"===typeof p&&null!==p&&(p===Mf|| -"function"===typeof p.then))throw p;Wg(a,b.blockedBoundary,p,d,k)}finally{b.replay.pendingTasks--,b.replay=f}g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(k=0;k<g;k++){d=c[k];b.treeContext=Hf(f,g,k);var n=h[k];"number"===typeof n?(Vg(a,b,n,d,k),delete h[k]):Rg(a,b,d,k)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)k=c[h],b.treeContext=Hf(f,g,h),Rg(a,b,k,h);b.treeContext=f;b.keyPath=e} -function Yg(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var h=f.trackedFallbackNode,k=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],k,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);Zg(d,g[0],b);return}var n=b.workingMap.get(g);void 0===n?(n=[g[1],g[2],k,null, -h,f.rootSegmentID],b.workingMap.set(g,n),Zg(n,g[0],b)):(g=n,g[4]=h,g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],Zg(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React."); -}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),Zg(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");a[c.childIndex]=d.id}} -function Rg(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,n=b.blockedSegment;if(null===n)try{return Z(a,b,null,c,d)}catch(q){if(kg(),d=q===Mf?Qf():q,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=lg();a=Mg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Df(g);return}}else{var p= -n.children.length,r=n.chunks.length;try{return Z(a,b,null,c,d)}catch(q){if(kg(),n.children.length=p,n.chunks.length=r,d=q===Mf?Qf():q,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=lg();n=b.blockedSegment;p=Fg(a,n.chunks.length,null,b.formatContext,n.lastPushedText,!0);n.children.push(p);n.lastPushedText=!1;a=Gg(a,d,b.node,b.childIndex,b.blockedBoundary,p,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=k;Df(g);return}if(null!==a.trackedPostpones&&d.$$typeof===sf&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;n=Fg(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(n);d.lastPushedText=!1;Yg(a,c,b,n);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Df(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;Df(g);throw d;} -function Wg(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===sf){a.onPostpone(c.message);var f="POSTPONE"}else f=Ng(a,c);$g(a,b,d,e,c,f)}function ah(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,bh(this,b,a))} -function $g(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)$g(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,n=f,p=Lg(k,new Set);p.parentFlushed=!0;p.rootSegmentID=h;p.status=4;p.errorDigest=n;p.parentFlushed&&k.clientRenderedBoundaries.push(p)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} -function ch(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(Ng(b,c),Og(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=Ng(b,c),$g(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=Ng(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return ch(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function Ug(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Ug(a,c)}else a.completedSegments.push(b)} -function bh(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=Dg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Ug(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(ah, -a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Ug(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function Kg(a){if(2!==a.status){var b=xf,c=Ag.current;Ag.current=yg;var d=Bg.current;Bg.current=zg;var e=Ig;Ig=a;var f=xg;xg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],n=a,p=k.blockedBoundary;n.renderState.boundaryResources=p?p.resources:null;var r=k.blockedSegment;if(null===r){var q=n;if(0!==k.replay.pendingTasks){Df(k.context);try{var w=k.thenableState;k.thenableState=null;Z(q,k,w,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -k.replay.pendingTasks--;k.abortSet.delete(k);bh(q,k.blockedBoundary,null)}catch(M){kg();var L=M===Mf?Qf():M;if("object"===typeof L&&null!==L&&"function"===typeof L.then){var H=k.ping;L.then(H,H);k.thenableState=lg()}else if(k.replay.pendingTasks--,k.abortSet.delete(k),Wg(q,k.blockedBoundary,L,k.replay.nodes,k.replay.slots),q.allPendingTasks--,0===q.allPendingTasks){var t=q.onAllReady;t()}}finally{q.renderState.boundaryResources=null}}}else a:{q=void 0;var v=r;if(0===v.status){Df(k.context);var E= -v.children.length,ja=v.chunks.length;try{var F=k.thenableState;k.thenableState=null;Z(n,k,F,k.node,k.childIndex);v.lastPushedText&&v.textEmbedded&&v.chunks.push(Rb);k.abortSet.delete(k);v.status=1;bh(n,k.blockedBoundary,v)}catch(M){kg();v.children.length=E;v.chunks.length=ja;var C=M===Mf?Qf():M;if("object"===typeof C&&null!==C){if("function"===typeof C.then){var G=k.ping;C.then(G,G);k.thenableState=lg();break a}if(null!==n.trackedPostpones&&C.$$typeof===sf&&null!==k.blockedBoundary){var ca=n.trackedPostpones; -k.abortSet.delete(k);n.onPostpone(C.message);Yg(n,ca,k,v);bh(n,k.blockedBoundary,v);break a}}k.abortSet.delete(k);v.status=4;var Q=k.blockedBoundary;"object"===typeof C&&null!==C&&C.$$typeof===sf?(n.onPostpone(C.message),q="POSTPONE"):q=Ng(n,C);null===Q?Og(n,C):(Q.pendingTasks--,4!==Q.status&&(Q.status=4,Q.errorDigest=q,Q.parentFlushed&&n.clientRenderedBoundaries.push(Q)));n.allPendingTasks--;if(0===n.allPendingTasks){var oa=n.onAllReady;oa()}}finally{n.renderState.boundaryResources=null}}}}g.splice(0, -h);null!==a.destination&&dh(a,a.destination)}catch(M){Ng(a,M),Og(a,M)}finally{xg=f,Ag.current=c,Bg.current=d,c===yg&&Df(b),Ig=e}}} -function eh(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;u(b,Gc);u(b,a.placeholderPrefix);a=d.toString(16);u(b,a);return x(b,Hc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)u(b,d[f]);e=fh(a,b,e)}for(;f<d.length-1;f++)u(b,d[f]);f<d.length&&(e=x(b,d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); +var od=y('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),pd=y('$RS("'),qd=y('","'),rd=y('")\x3c/script>'),Td=y('<template data-rsi="" data-sid="'),Ud=y('" data-pid="'),Vd=y('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), +Wd=y('$RC("'),Xd=y('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Yd=y('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Zd=y('$RR("'),$d=y('","'),ae=y('",'),be=y('"'),ce=y(")\x3c/script>"),de=y('<template data-rci="" data-bid="'),ee=y('<template data-rri="" data-bid="'),fe=y('" data-sid="'),ge=y('" data-sty="'),he=y('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),ie=y('$RX("'),je=y('"'),ke=y(","),le=y(")\x3c/script>"),me=y('<template data-rxi="" data-bid="'),ne=y('" data-dgst="'), +oe=y('" data-msg="'),pe=y('" data-stck="'),qe=/[<\u2028\u2029]/g;function re(a){return JSON.stringify(a).replace(qe,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var se=/[&><\u2028\u2029]/g; +function te(a){return JSON.stringify(a).replace(se,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} +var ue=y('<style media="not all" data-precedence="'),ve=y('" data-href="'),we=y('">'),xe=y("</style>"),ye=!1,ze=!0;function Ae(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){u(this,ue);u(this,a.precedence);for(u(this,ve);d<c.length-1;d++)u(this,c[d]),u(this,Be);u(this,c[d]);u(this,we);for(d=0;d<b.length;d++)u(this,b[d]);ze=x(this,xe);ye=!0;b.length=0;c.length=0}}function Ce(a){return 2!==a.state?ye=!0:!1} +function De(a,b,c){ye=!1;ze=!0;b.styles.forEach(Ae,a);b.stylesheets.forEach(Ce);ye&&(c.stylesToHoist=!0);return ze}function Ee(a){for(var b=0;b<a.length;b++)u(this,a[b]);a.length=0}var Fe=[];function Ge(a){D(Fe,a.props);for(var b=0;b<Fe.length;b++)u(this,Fe[b]);Fe.length=0;a.state=2}var He=y('<style data-precedence="'),Ie=y('" data-href="'),Be=y(" "),Je=y('">'),Ke=y("</style>"); +function Le(a){var b=0<a.sheets.size;a.sheets.forEach(Ge,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){u(this,He);u(this,a.precedence);a=0;if(d.length){for(u(this,Ie);a<d.length-1;a++)u(this,d[a]),u(this,Be);u(this,d[a])}u(this,Je);for(a=0;a<c.length;a++)u(this,c[a]);u(this,Ke);c.length=0;d.length=0}} +function Me(a){if(0===a.state){a.state=1;var b=a.props;D(Fe,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<Fe.length;a++)u(this,Fe[a]);Fe.length=0}}function Ne(a){a.sheets.forEach(Me,this);a.sheets.clear()}var Oe=y("["),Pe=y(",["),Qe=y(","),Re=y("]"); +function Se(a,b){u(a,Oe);var c=Oe;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,te(""+d.props.href)),u(a,Re),c=Pe;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,te(""+d.props.href));e=""+e;u(a,Qe);u(a,te(e));for(var g in f)if(A.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); +default:a:{e=a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!Ga(g))break a;h=""+h}u(e,Qe);u(e,te(l));u(e,Qe);u(e,te(h))}}}u(a, +Re);c=Pe;d.state=3}});u(a,Re)} +function Te(a,b){u(a,Oe);var c=Oe;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,B(JSON.stringify(""+d.props.href))),u(a,Re),c=Pe;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,B(JSON.stringify(""+d.props.href)));e=""+e;u(a,Qe);u(a,B(JSON.stringify(e)));for(var g in f)if(A.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:a:{e= +a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!Ga(g))break a;h=""+h}u(e,Qe);u(e,B(JSON.stringify(l)));u(e,Qe);u(e,B(JSON.stringify(h)))}}}u(a, +Re);c=Pe;d.state=3}});u(a,Re)}function Va(a){var b=Ue();if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;D(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Ve(b)}}} +function Wa(a,b){var c=Ue();if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;D(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Ve(c)}}} +function Xa(a,b,c){var d=Ue();if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var l=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=qb;e=[];D(e,z({rel:"preload",href:g?void 0:a,as:b},c));"high"===l?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];D(g,z({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?qb:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);D(g,z({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?qb:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=z({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}D(e,c);g[a]=qb}Ve(d)}}} +function Ya(a,b){var c=Ue();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?qb:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=qb}D(f,z({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Ve(c)}}} +function Za(a,b,c){var d=Ue();if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:B(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:z({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&nc(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Ve(d))}}} +function $a(a,b){var c=Ue();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=z({src:a,async:!0},b),f&&(2===f.length&&nc(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Nb(a,b),Ve(c))}}} +function ab(a,b){var c=Ue();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=z({src:a,type:"module",async:!0},b),f&&(2===f.length&&nc(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Nb(a,b),Ve(c))}}}function nc(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function We(a){this.styles.add(a)} +function Xe(a){this.stylesheets.add(a)} +var Ye=new ea.AsyncLocalStorage,Ze=Symbol.for("react.element"),$e=Symbol.for("react.portal"),af=Symbol.for("react.fragment"),bf=Symbol.for("react.strict_mode"),cf=Symbol.for("react.profiler"),df=Symbol.for("react.provider"),ef=Symbol.for("react.context"),ff=Symbol.for("react.server_context"),gf=Symbol.for("react.forward_ref"),hf=Symbol.for("react.suspense"),jf=Symbol.for("react.suspense_list"),kf=Symbol.for("react.memo"),lf=Symbol.for("react.lazy"),mf=Symbol.for("react.scope"),nf=Symbol.for("react.debug_trace_mode"), +of=Symbol.for("react.offscreen"),pf=Symbol.for("react.legacy_hidden"),qf=Symbol.for("react.cache"),rf=Symbol.for("react.default_value"),tf=Symbol.for("react.memo_cache_sentinel"),uf=Symbol.for("react.postpone"),vf=Symbol.iterator; +function wf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case af:return"Fragment";case $e:return"Portal";case cf:return"Profiler";case bf:return"StrictMode";case hf:return"Suspense";case jf:return"SuspenseList";case qf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ef:return(a.displayName||"Context")+".Consumer";case df:return(a._context.displayName||"Context")+".Provider";case gf:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case kf:return b=a.displayName||null,null!==b?b:wf(a.type)||"Memo";case lf:b=a._payload;a=a._init;try{return wf(a(b))}catch(c){break}case ff:return(a.displayName||a._globalName)+".Provider"}return null}var xf={};function yf(a,b){a=a.contextTypes;if(!a)return xf;var c={},d;for(d in a)c[d]=b[d];return c}var zf=null; +function Af(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");Af(a,c)}b.context._currentValue=b.value}}function Bf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Bf(a)} +function Cf(a){var b=a.parent;null!==b&&Cf(b);a.context._currentValue=a.value}function Df(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?Af(a,b):Df(a,b)} +function Ef(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?Af(a,c):Ef(a,c);b.context._currentValue=b.value}function Ff(a){var b=zf;b!==a&&(null===b?Cf(a):null===a?Bf(b):b.depth===a.depth?Af(b,a):b.depth>a.depth?Df(b,a):Ef(b,a),zf=a)} +var Gf={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function Hf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Gf;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:z({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Gf.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=z({},f,h)):z(f,h))}a.state=f}else f.queue=null} +var If={id:1,overflow:""};function Jf(a,b,c){var d=a.id;a=a.overflow;var e=32-Kf(d)-1;d&=~(1<<e);c+=1;var f=32-Kf(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Kf(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Kf=Math.clz32?Math.clz32:Lf,Mf=Math.log,Nf=Math.LN2;function Lf(a){a>>>=0;return 0===a?32:31-(Mf(a)/Nf|0)|0}var Of=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Pf(){}function Qf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Pf,Pf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Rf=b;throw Of;}}var Rf=null; +function Sf(){if(null===Rf)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Rf;Rf=null;return a}function Tf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Uf="function"===typeof Object.is?Object.is:Tf,Vf=null,Wf=null,Xf=null,Yf=null,Zf=null,U=null,$f=!1,ag=!1,bg=0,cg=0,dg=-1,eg=0,fg=null,gg=null,hg=0; +function ig(){if(null===Vf)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Vf} +function jg(){if(0<hg)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function kg(){null===U?null===Zf?($f=!1,Zf=U=jg()):($f=!0,U=Zf):null===U.next?($f=!1,U=U.next=jg()):($f=!0,U=U.next);return U}function lg(a,b,c,d){for(;ag;)ag=!1,cg=bg=0,dg=-1,eg=0,hg+=1,U=null,c=a(b,d);mg();return c}function ng(){var a=fg;fg=null;return a}function mg(){Yf=Xf=Wf=Vf=null;ag=!1;Zf=null;hg=0;U=gg=null} +function og(a,b){return"function"===typeof b?b(a):b}function pg(a,b,c){Vf=ig();U=kg();if($f){var d=U.queue;b=d.dispatch;if(null!==gg&&(c=gg.get(d),void 0!==c)){gg.delete(d);d=U.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);U.memoizedState=d;return[d,b]}return[U.memoizedState,b]}a=a===og?"function"===typeof b?b():b:void 0!==c?c(b):b;U.memoizedState=a;a=U.queue={last:null,dispatch:null};a=a.dispatch=qg.bind(null,Vf,a);return[U.memoizedState,a]} +function rg(a,b){Vf=ig();U=kg();b=void 0===b?null:b;if(null!==U){var c=U.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Uf(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();U.memoizedState=[a,b];return a} +function qg(a,b,c){if(25<=hg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Vf)if(ag=!0,a={action:c,next:null},null===gg&&(gg=new Map),c=gg.get(b),void 0===c)gg.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function sg(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.");}function tg(){throw Error("startTransition cannot be called during server rendering.");} +function ug(){throw Error("Cannot update optimistic state while rendering.");}function vg(a,b,c){if(void 0!==a)return"p"+a;a=JSON.stringify([b,null,c]);b=ca.createHash("md5");b.update(a);return"k"+b.digest("hex")}function wg(a){var b=eg;eg+=1;null===fg&&(fg=[]);return Qf(fg,a,b)}function xg(){throw Error("Cache cannot be refreshed during server rendering.");}function yg(){} +var Ag={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return wg(a);if(a.$$typeof===ef||a.$$typeof===ff)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){ig();return a._currentValue},useMemo:rg,useReducer:pg,useRef:function(a){Vf=ig();U=kg();var b=U.memoizedState;return null===b?(a={current:a},U.memoizedState=a):b},useState:function(a){return pg(og,a)}, +useInsertionEffect:yg,useLayoutEffect:yg,useCallback:function(a,b){return rg(function(){return a},b)},useImperativeHandle:yg,useEffect:yg,useDebugValue:yg,useDeferredValue:function(a,b){ig();return void 0!==b?b:a},useTransition:function(){ig();return[!1,tg]},useId:function(){var a=Wf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Kf(a)-1)).toString(32)+b;var c=zg;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=bg++;a=":"+c.idPrefix+ +"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return xg},useEffectEvent:function(){return sg},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=tf;return b},useHostTransitionStatus:function(){ig();return Ta},useOptimistic:function(a){ig();return[a,ug]},useFormState:function(a, +b,c){ig();var d=cg++,e=Xf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Yf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var l=e[1];h.call(a,e[2],e[3])&&(f=vg(c,g,d),l===f&&(dg=d,b=e[0]))}var n=a.bind(null,b);a=function(r){n(r)};"function"===typeof n.$$FORM_ACTION&&(a.$$FORM_ACTION=function(r){r=n.$$FORM_ACTION(r);void 0!==c&&(c+="",r.action=c);var q=r.data;q&&(null===f&&(f=vg(c,g,d)),q.append("$ACTION_KEY",f));return r});return[b,a]}var p=a.bind(null,b);return[b, +function(r){p(r)}]}},zg=null,Bg={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},Cg=Na.ReactCurrentDispatcher,Dg=Na.ReactCurrentCache;function Eg(a){console.error(a);return null}function V(){} +function Fg(a,b,c,d,e,f,g,h,l,n,p,r){Ua.current=bb;var q=[],F=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:F,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?Eg:f,onPostpone:void 0===p?V:p,onAllReady:void 0===g?V: +g,onShellReady:void 0===h?V:h,onShellError:void 0===l?V:l,onFatalError:void 0===n?V:n,formState:void 0===r?null:r};c=Gg(b,0,null,d,!1,!1);c.parentFlushed=!0;a=Hg(b,null,a,-1,null,c,F,null,d,xf,null,If);q.push(a);return b}function Ig(a,b,c,d,e,f,g,h,l,n,p){a=Fg(a,b,c,d,e,f,g,h,l,n,p);a.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null};return a}var Jg=null;function Ue(){if(Jg)return Jg;var a=Ye.getStore();return a?a:null} +function Kg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return Lg(a)}))}function Mg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function Hg(a,b,c,d,e,f,g,h,l,n,p,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var q={replay:null,node:c,childIndex:d,ping:function(){return Kg(a,q)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:p,treeContext:r,thenableState:b};g.add(q);return q} +function Ng(a,b,c,d,e,f,g,h,l,n,p,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var q={replay:c,node:d,childIndex:e,ping:function(){return Kg(a,q)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:p,treeContext:r,thenableState:b};g.add(q);return q}function Gg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function Og(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Pg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function Qg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((wf(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=z({},c,d)}b.legacyContext=e;W(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,W(a,b,null,f,-1),b.keyPath=e} +function Rg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var l=b.blockedSegment;if(null!==l){h=!0;l=l.chunks;for(var n=0;n<f;n++)n===g?l.push(kc):l.push(lc)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Jf(c,1,0),Sg(a,b,d,-1),b.treeContext=c):h?Sg(a,b,d,-1):W(a,b,null,d,-1);b.keyPath=f}function Tg(a,b){if(a&&a.defaultProps){b=z({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Ug(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=yf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Hf(h,e,f,d);Qg(a,b,c,h,e)}else{h=yf(e,b.legacyContext);Vf={};Wf=b;Xf=a;Yf=c;cg=bg=0;dg=-1;eg=0;fg=d;d=e(f,h);d=lg(e,f,d,h);g=0!==bg;var l=cg,n=dg;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Hf(d,e,f,h),Qg(a,b,c,d,e)):Rg(a,b,c,d,g,l,n)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Qb(h,e,f),b.keyPath=c,Sg(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Ec(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;l=b.keyPath;b.formatContext=Qb(h,e,f);b.keyPath=c;Sg(a,b,g,-1);b.formatContext=h;b.keyPath=l;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(xc,e,yc)}d.lastPushedText=!1}else{switch(e){case pf:case nf:case bf:case cf:case af:e=b.keyPath;b.keyPath=c;W(a,b,null,f.children,-1);b.keyPath=e;return;case of:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,W(a,b,null,f.children,-1),b.keyPath=e);return;case jf:e=b.keyPath;b.keyPath=c;W(a,b,null,f.children,-1);b.keyPath=e;return;case mf:throw Error("ReactDOMServer does not yet support scope components."); +case hf:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Sg(a,b,c,-1)}finally{b.keyPath=e}}else{n=b.keyPath;e=b.blockedBoundary;var p=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=Mg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);l=Gg(a,p.chunks.length,g,b.formatContext,!1,!1);p.children.push(l);p.lastPushedText=!1;var q=Gg(a,0,null,b.formatContext,!1,!1);q.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=q;a.renderState.boundaryResources=g.resources;b.keyPath= +c;try{if(Sg(a,b,r,-1),q.lastPushedText&&q.textEmbedded&&q.chunks.push(Rb),q.status=1,Vg(g,q),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(F){q.status=4,g.status=4,"object"===typeof F&&null!==F&&F.$$typeof===uf?(a.onPostpone(F.message),h="POSTPONE"):h=Og(a,F),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=p,b.keyPath=n}h=[c[0],"Suspense Fallback",c[2]];n=a.trackedPostpones;null!==n&&(p=[h[1],h[2],[],null],n.workingMap.set(h, +p),5===g.status?n.workingMap.get(c)[4]=p:g.trackedFallbackNode=p);b=Hg(a,null,d,-1,e,l,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case gf:e=e.render;Vf={};Wf=b;Xf=a;Yf=c;cg=bg=0;dg=-1;eg=0;fg=d;d=e(f,g);f=lg(e,f,d,g);Rg(a,b,c,f,0!==bg,cg,dg);return;case kf:e=e.type;f=Tg(e,f);Ug(a,b,c,d,e,f,g);return;case df:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;l=zf;zf=f= +{parent:l,depth:null===l?0:l.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;W(a,b,null,h,-1);a=zf;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===rf?a.context._defaultValue:c;a=zf=a.parent;b.context=a;b.keyPath=d;return;case ef:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;W(a,b,null,f,-1);b.keyPath=e;return;case lf:h=e._init;e=h(e._payload);f=Tg(e,f);Ug(a,b,c,d,e,f,void 0); +return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==e?e:typeof e)+"."));}}function Wg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=Gg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Sg(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Vg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function W(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Wg(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Ze:var f=d.type,g=d.key,h=d.props,l=d.ref,n=wf(f),p=null==g?-1===e?0:e:g;g=[b.keyPath,n,p];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var q=e[d];if(p===q[1]){if(4===q.length){if(null!==n&&n!==q[0])throw Error("Expected the resume to render <"+q[0]+"> in this slot but instead it rendered <"+ +n+">. The tree doesn't match so React will fallback to client rendering.");n=q[2];q=q[3];p=b.node;b.replay={nodes:n,slots:q,pendingTasks:1};try{Ug(a,b,g,c,f,h,l);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(v){if("object"===typeof v&&null!==v&&(v===Of||"function"===typeof v.then))throw b.node===p&&(b.replay=r),v;b.replay.pendingTasks--; +Xg(a,b.blockedBoundary,v,n,q)}b.replay=r}else{if(f!==hf)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(wf(f)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");b:{c=void 0;f=q[5];l=q[2];r=q[3];n=null===q[4]?[]:q[4][2];q=null===q[4]?null:q[4][3];p=b.keyPath;var F=b.replay,H=b.blockedBoundary,X=h.children;h=h.fallback;var t=new Set,C=Mg(a,t);C.parentFlushed=!0;C.rootSegmentID=f;b.blockedBoundary=C;b.replay={nodes:l,slots:r, +pendingTasks:1};a.renderState.boundaryResources=C.resources;try{Sg(a,b,X,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===C.pendingTasks&&0===C.status){C.status=1;a.completedBoundaries.push(C);break b}}catch(v){C.status=4,"object"===typeof v&&null!==v&&v.$$typeof===uf?(a.onPostpone(v.message),c="POSTPONE"):c=Og(a, +v),C.errorDigest=c,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(C)}finally{a.renderState.boundaryResources=H?H.resources:null,b.blockedBoundary=H,b.replay=F,b.keyPath=p}h=Ng(a,null,{nodes:n,slots:q,pendingTasks:0},h,-1,H,t,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(h)}}e.splice(d,1);break a}}}else Ug(a,b,g,c,f,h,l);return;case $e:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render."); +case lf:h=d._init;d=h(d._payload);W(a,b,null,d,e);return}if(Ma(d)){Yg(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=vf&&d[vf]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Yg(a,b,g,e)}return}if("function"===typeof d.then)return W(a,b,null,wg(d),e);if(d.$$typeof===ef||d.$$typeof===ff)return W(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+ +("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Sb(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Sb(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Yg(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var l=g[h];if(l[1]===d){d=l[2];l=l[3];b.replay={nodes:d,slots:l,pendingTasks:1};try{Yg(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(p){if("object"===typeof p&& +null!==p&&(p===Of||"function"===typeof p.then))throw p;b.replay.pendingTasks--;Xg(a,b.blockedBoundary,p,d,l)}b.replay=f;g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(l=0;l<g;l++){d=c[l];b.treeContext=Jf(f,g,l);var n=h[l];"number"===typeof n?(Wg(a,b,n,d,l),delete h[l]):Sg(a,b,d,l)}b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)l=c[h],b.treeContext=Jf(f,g,h),Sg(a,b,l,h);b.treeContext=f;b.keyPath=e} +function Zg(a,b,c,d){d.status=5;var e=c.keyPath,f=c.blockedBoundary;if(null!==f&&0===f.status){f.status=5;f.rootSegmentID=a.nextSegmentId++;var g=f.trackedContentKeyPath;if(null===g)throw Error("It should not be possible to postpone at the root. This is a bug in React.");var h=f.trackedFallbackNode,l=[];if(g===e&&-1===c.childIndex){d.id=f.rootSegmentID;d=[g[1],g[2],l,f.rootSegmentID,h,f.rootSegmentID];b.workingMap.set(g,d);$g(d,g[0],b);return}var n=b.workingMap.get(g);void 0===n?(n=[g[1],g[2],l,null, +h,f.rootSegmentID],b.workingMap.set(g,n),$g(n,g[0],b)):(g=n,g[4]=h,g[5]=f.rootSegmentID)}-1===d.id&&(d.id=d.parentFlushed&&null!==f?f.rootSegmentID:a.nextSegmentId++);if(-1===c.childIndex)null===e?b.rootSlots=d.id:(c=b.workingMap.get(e),void 0===c?(c=[e[1],e[2],[],d.id],$g(c,e[0],b)):c[3]=d.id);else{if(null===e)if(a=b.rootSlots,null===a)a=b.rootSlots={};else{if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React."); +}else if(f=b.workingMap,g=f.get(e),void 0===g)a={},g=[e[1],e[2],[],a],f.set(e,g),$g(g,e[0],b);else if(a=g[3],null===a)a=g[3]={};else if("number"===typeof a)throw Error("It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.");a[c.childIndex]=d.id}} +function Sg(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,l=b.treeContext,n=b.blockedSegment;if(null===n)try{return W(a,b,null,c,d)}catch(q){if(mg(),d=q===Of?Sf():q,"object"===typeof d&&null!==d&&"function"===typeof d.then){c=d;d=ng();a=Ng(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;Ff(g);return}}else{var p= +n.children.length,r=n.chunks.length;try{return W(a,b,null,c,d)}catch(q){if(mg(),n.children.length=p,n.chunks.length=r,d=q===Of?Sf():q,"object"===typeof d&&null!==d){if("function"===typeof d.then){c=d;d=ng();n=b.blockedSegment;p=Gg(a,n.chunks.length,null,b.formatContext,n.lastPushedText,!0);n.children.push(p);n.lastPushedText=!1;a=Hg(a,d,b.node,b.childIndex,b.blockedBoundary,p,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=l;Ff(g);return}if(null!==a.trackedPostpones&&d.$$typeof===uf&&null!==b.blockedBoundary){c=a.trackedPostpones;a.onPostpone(d.message);d=b.blockedSegment;n=Gg(a,d.chunks.length,null,b.formatContext,d.lastPushedText,!0);d.children.push(n);d.lastPushedText=!1;Zg(a,c,b,n);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;Ff(g);return}}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;Ff(g);throw d;} +function Xg(a,b,c,d,e){if("object"===typeof c&&null!==c&&c.$$typeof===uf){a.onPostpone(c.message);var f="POSTPONE"}else f=Og(a,c);ah(a,b,d,e,c,f)}function bh(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,ch(this,b,a))} +function ah(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)ah(a,b,h[2],h[3],e,f);else{h=h[5];var l=a,n=f,p=Mg(l,new Set);p.parentFlushed=!0;p.rootSegmentID=h;p.status=4;p.errorDigest=n;p.parentFlushed&&l.clientRenderedBoundaries.push(p)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} +function dh(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){Og(b,c);Pg(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=Og(b,c),ah(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=V,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=Og(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return dh(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Vg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Vg(a,c)}else a.completedSegments.push(b)} +function ch(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=V,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Vg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(bh, +a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Vg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function Lg(a){if(2!==a.status){var b=zf,c=Cg.current;Cg.current=Ag;var d=Dg.current;Dg.current=Bg;var e=Jg;Jg=a;var f=zg;zg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var l=g[h],n=a,p=l.blockedBoundary;n.renderState.boundaryResources=p?p.resources:null;var r=l.blockedSegment;if(null===r){var q=n;if(0!==l.replay.pendingTasks){Ff(l.context);try{var F=l.thenableState;l.thenableState=null;W(q,l,F,l.node,-1);if(1===l.replay.pendingTasks&&0<l.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); +l.replay.pendingTasks--;l.abortSet.delete(l);ch(q,l.blockedBoundary,null)}catch(I){mg();var H=I===Of?Sf():I;if("object"===typeof H&&null!==H&&"function"===typeof H.then){var X=l.ping;H.then(X,X);l.thenableState=ng()}else{l.replay.pendingTasks--;l.abortSet.delete(l);Xg(q,l.blockedBoundary,H,l.replay.nodes,l.replay.slots);q.pendingRootTasks--;if(0===q.pendingRootTasks){q.onShellError=V;var t=q.onShellReady;t()}q.allPendingTasks--;if(0===q.allPendingTasks){var C=q.onAllReady;C()}}}finally{q.renderState.boundaryResources= +null}}}else a:{q=void 0;var v=r;if(0===v.status){Ff(l.context);var ja=v.children.length,E=v.chunks.length;try{var T=l.thenableState;l.thenableState=null;W(n,l,T,l.node,l.childIndex);v.lastPushedText&&v.textEmbedded&&v.chunks.push(Rb);l.abortSet.delete(l);v.status=1;ch(n,l.blockedBoundary,v)}catch(I){mg();v.children.length=ja;v.chunks.length=E;var w=I===Of?Sf():I;if("object"===typeof w&&null!==w){if("function"===typeof w.then){var Y=l.ping;w.then(Y,Y);l.thenableState=ng();break a}if(null!==n.trackedPostpones&& +w.$$typeof===uf&&null!==l.blockedBoundary){var ka=n.trackedPostpones;l.abortSet.delete(l);n.onPostpone(w.message);Zg(n,ka,l,v);ch(n,l.blockedBoundary,v);break a}}l.abortSet.delete(l);v.status=4;var R=l.blockedBoundary;"object"===typeof w&&null!==w&&w.$$typeof===uf?(n.onPostpone(w.message),q="POSTPONE"):q=Og(n,w);null===R?Pg(n,w):(R.pendingTasks--,4!==R.status&&(R.status=4,R.errorDigest=q,R.parentFlushed&&n.clientRenderedBoundaries.push(R)));n.allPendingTasks--;if(0===n.allPendingTasks){var la=n.onAllReady; +la()}}finally{n.renderState.boundaryResources=null}}}}g.splice(0,h);null!==a.destination&&eh(a,a.destination)}catch(I){Og(a,I),Pg(a,I)}finally{zg=f,Cg.current=c,Dg.current=d,c===Ag&&Ff(b),Jg=e}}} +function fh(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;u(b,Gc);u(b,a.placeholderPrefix);a=d.toString(16);u(b,a);return x(b,Hc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)u(b,d[f]);e=gh(a,b,e)}for(;f<d.length-1;f++)u(b,d[f]);f<d.length&&(e=x(b,d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); }} -function fh(a,b,c){var d=c.boundary;if(null===d)return eh(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,x(b,Lc),u(b,Nc),d&&(u(b,Pc),u(b,B(d)),u(b,Oc)),x(b,Qc),eh(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Rc(b,a.renderState,d.rootSegmentID),eh(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Rc(b,a.renderState,d.rootSegmentID),eh(a,b, -c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Ue,e),c.stylesheets.forEach(Ve,e));x(b,Ic);d=d.completedSegments;if(1!==d.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");fh(a,b,d[0])}return x(b,Mc)}function gh(a,b,c){md(b,a.renderState,c.parentFormatContext,c.id);fh(a,b,c);return nd(b,c.parentFormatContext)} -function hh(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)ih(a,b,c,d[e]);d.length=0;Ce(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(u(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,u(b,2048<Wd.length?Wd.slice():Wd)):0===(d.instructions&8)?(d.instructions|=8,u(b,Xd)):u(b,Yd):0===(d.instructions&2)?(d.instructions|= -2,u(b,Ud)):u(b,Vd)):f?u(b,de):u(b,ce);d=e.toString(16);u(b,a.boundaryPrefix);u(b,d);g?u(b,Zd):u(b,ee);u(b,a.segmentPrefix);u(b,d);f?g?(u(b,$d),Qe(b,c)):(u(b,fe),Re(b,c)):g&&u(b,ae);d=g?x(b,be):x(b,rb);return Fc(b,a)&&d} -function ih(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return gh(a,b,d)}if(e===c.rootSegmentID)return gh(a,b,d);gh(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(u(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,u(b,od)):u(b,pd)):u(b,Sd);u(b,a.segmentPrefix);e=e.toString(16);u(b,e);d?u(b,qd):u(b,Td);u(b,a.placeholderPrefix);u(b, +function gh(a,b,c){var d=c.boundary;if(null===d)return fh(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,x(b,Lc),u(b,Nc),d&&(u(b,Pc),u(b,B(d)),u(b,Oc)),x(b,Qc),fh(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Rc(b,a.renderState,d.rootSegmentID),fh(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Rc(b,a.renderState,d.rootSegmentID),fh(a,b, +c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(We,e),c.stylesheets.forEach(Xe,e));x(b,Ic);d=d.completedSegments;if(1!==d.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");gh(a,b,d[0])}return x(b,Mc)}function hh(a,b,c){md(b,a.renderState,c.parentFormatContext,c.id);gh(a,b,c);return nd(b,c.parentFormatContext)} +function ih(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)jh(a,b,c,d[e]);d.length=0;De(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(u(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,u(b,2048<Xd.length?Xd.slice():Xd)):0===(d.instructions&8)?(d.instructions|=8,u(b,Yd)):u(b,Zd):0===(d.instructions&2)?(d.instructions|= +2,u(b,Vd)):u(b,Wd)):f?u(b,ee):u(b,de);d=e.toString(16);u(b,a.boundaryPrefix);u(b,d);g?u(b,$d):u(b,fe);u(b,a.segmentPrefix);u(b,d);f?g?(u(b,ae),Se(b,c)):(u(b,ge),Te(b,c)):g&&u(b,be);d=g?x(b,ce):x(b,rb);return Fc(b,a)&&d} +function jh(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return hh(a,b,d)}if(e===c.rootSegmentID)return hh(a,b,d);hh(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(u(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,u(b,od)):u(b,pd)):u(b,Td);u(b,a.segmentPrefix);e=e.toString(16);u(b,e);d?u(b,qd):u(b,Ud);u(b,a.placeholderPrefix);u(b, e);b=d?x(b,rd):x(b,rb);return b} -function dh(a,b){l=new Uint8Array(2048);m=0;na=!0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var n=e.htmlChunks,p=e.headChunks;f=0;if(n){for(f=0;f<n.length;f++)u(b,n[f]);if(p)for(f=0;f<p.length;f++)u(b,p[f]);else u(b,U("head")), -u(b,T)}else if(p)for(f=0;f<p.length;f++)u(b,p[f]);var r=e.charsetChunks;for(f=0;f<r.length;f++)u(b,r[f]);r.length=0;e.preconnects.forEach(V,b);e.preconnects.clear();var q=e.preconnectChunks;for(f=0;f<q.length;f++)u(b,q[f]);q.length=0;e.fontPreloads.forEach(V,b);e.fontPreloads.clear();e.highImagePreloads.forEach(V,b);e.highImagePreloads.clear();e.styles.forEach(Je,b);var w=e.importMapChunks;for(f=0;f<w.length;f++)u(b,w[f]);w.length=0;e.bootstrapScripts.forEach(V,b);e.scripts.forEach(V,b);e.scripts.clear(); -e.bulkPreloads.forEach(V,b);e.bulkPreloads.clear();var L=e.preloadChunks;for(f=0;f<L.length;f++)u(b,L[f]);L.length=0;var H=e.hoistableChunks;for(f=0;f<H.length;f++)u(b,H[f]);H.length=0;n&&null===p&&(u(b,qc),u(b,"head"),u(b,yc));fh(a,b,d);a.completedRootSegment=null;Fc(b,a.renderState)}else return;var t=a.renderState;d=0;t.preconnects.forEach(V,b);t.preconnects.clear();var v=t.preconnectChunks;for(d=0;d<v.length;d++)u(b,v[d]);v.length=0;t.fontPreloads.forEach(V,b);t.fontPreloads.clear();t.highImagePreloads.forEach(V, -b);t.highImagePreloads.clear();t.styles.forEach(Le,b);t.scripts.forEach(V,b);t.scripts.clear();t.bulkPreloads.forEach(V,b);t.bulkPreloads.clear();var E=t.preloadChunks;for(d=0;d<E.length;d++)u(b,E[d]);E.length=0;var ja=t.hoistableChunks;for(d=0;d<ja.length;d++)u(b,ja[d]);ja.length=0;var F=a.clientRenderedBoundaries;for(c=0;c<F.length;c++){var C=F[c];t=b;var G=a.resumableState,ca=a.renderState,Q=C.rootSegmentID,oa=C.errorDigest,M=C.errorMessage,pa=C.errorComponentStack,ka=0===G.streamingFormat;ka? -(u(t,ca.startInlineScript),0===(G.instructions&4)?(G.instructions|=4,u(t,ge)):u(t,he)):u(t,le);u(t,ca.boundaryPrefix);u(t,Q.toString(16));ka&&u(t,ie);if(oa||M||pa)ka?(u(t,je),u(t,qe(oa||""))):(u(t,me),u(t,B(oa||"")));if(M||pa)ka?(u(t,je),u(t,qe(M||""))):(u(t,ne),u(t,B(M||"")));pa&&(ka?(u(t,je),u(t,qe(pa))):(u(t,oe),u(t,B(pa))));if(ka?!x(t,ke):!x(t,rb)){a.destination=null;c++;F.splice(0,c);return}}F.splice(0,c);var Ca=a.completedBoundaries;for(c=0;c<Ca.length;c++)if(!hh(a,b,Ca[c])){a.destination=null; -c++;Ca.splice(0,c);return}Ca.splice(0,c);ya(b);l=new Uint8Array(2048);m=0;na=!0;var qa=a.partialBoundaries;for(c=0;c<qa.length;c++){var ra=qa[c];a:{F=a;C=b;F.renderState.boundaryResources=ra.resources;var sa=ra.completedSegments;for(G=0;G<sa.length;G++)if(!ih(F,C,ra,sa[G])){G++;sa.splice(0,G);var Qa=!1;break a}sa.splice(0,G);Qa=Ce(C,ra.resources,F.renderState)}if(!Qa){a.destination=null;c++;qa.splice(0,c);return}}qa.splice(0,c);var da=a.completedBoundaries;for(c=0;c<da.length;c++)if(!hh(a,b,da[c])){a.destination= -null;c++;da.splice(0,c);return}da.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,null===a.trackedPostpones&&(a=a.resumableState,a.hasBody&&(u(b,qc),u(b,"body"),u(b,yc)),a.hasHtml&&(u(b,qc),u(b,"html"),u(b,yc))),ya(b),ma(b),b.end()):(ya(b),ma(b))}}function jh(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return We.run(a,Kg,a)})} -function Te(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return dh(a,b)})}}function kh(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{dh(a,b)}catch(c){Ng(a,c),Og(a,c)}}} -function lh(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return ch(e,a,d)});c.clear()}null!==a.destination&&dh(a,a.destination)}catch(e){Ng(a,e),Og(a,e)}}function Zg(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),Zg(e,b[0],c));e[2].push(a)}} -function mh(a){var b=a.trackedPostpones;return null===b||0===b.rootNodes.length&&null===b.rootSlots?a.trackedPostpones=null:{nextSegmentId:a.nextSegmentId,rootFormatContext:a.rootFormatContext,progressiveChunkSize:a.progressiveChunkSize,resumableState:a.resumableState,replayNodes:b.rootNodes,replaySlots:b.rootSlots}}function nh(a,b){return function(){return kh(b,a)}}function oh(a,b){return function(){a.destination=null;lh(a,Error(b))}} -function ph(a,b){var c=Ob(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0);return Eg(a,c,Mb(c,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Pb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,b?b.onAllReady:void 0,b?b.onShellReady:void 0,b?b.onShellError:void 0,void 0,b?b.onPostpone:void 0,b?b.experimental_formState:void 0)} -function qh(a,b,c){var d=Mb(b.resumableState,c?c.nonce:void 0,void 0,void 0,void 0,void 0,void 0),e=c?c.onError:void 0,f=c?c.onAllReady:void 0,g=c?c.onShellReady:void 0,h=c?c.onShellError:void 0,k=c?c.onPostpone:void 0;Ua.current=bb;c=[];var n=new Set;d={destination:null,flushScheduled:!1,resumableState:b.resumableState,renderState:d,rootFormatContext:b.rootFormatContext,progressiveChunkSize:b.progressiveChunkSize,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null, -abortableTasks:n,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===e?Cg:e,onPostpone:void 0===k?Dg:k,onAllReady:void 0===f?Dg:f,onShellReady:void 0===g?Dg:g,onShellError:void 0===h?Dg:h,onFatalError:Dg,formState:null};a=Mg(d,null,{nodes:b.replayNodes,slots:b.replaySlots,pendingTasks:0},a,-1,null,n,null,b.rootFormatContext,vf,null,Gf);c.push(a);return d} -function rh(a){return{write:function(b){return a.push(b)},end:function(){a.push(null)},destroy:function(b){a.destroy(b)}}} -exports.prerenderToNodeStream=function(a,b){return new Promise(function(c,d){var e=Ob(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),f=Hg(a,e,Mb(e,void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Pb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,function(){var k=new ia.Readable({read:function(){kh(f,n)}}),n=rh(k);k={postponed:mh(f),prelude:k}; -c(k)},void 0,void 0,d,b?b.onPostpone:void 0);if(b&&b.signal){var g=b.signal;if(g.aborted)lh(f,g.reason);else{var h=function(){lh(f,g.reason);g.removeEventListener("abort",h)};g.addEventListener("abort",h)}}jh(f)})}; -exports.renderToPipeableStream=function(a,b){var c=ph(a,b),d=!1;jh(c);return{pipe:function(e){if(d)throw Error("React currently only supports piping to one writable stream.");d=!0;kh(c,e);e.on("drain",nh(e,c));e.on("error",oh(c,"The destination stream errored while writing data."));e.on("close",oh(c,"The destination stream closed early."));return e},abort:function(e){lh(c,e)}}}; -exports.resumeToPipeableStream=function(a,b,c){var d=qh(a,b,c),e=!1;jh(d);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;kh(d,f);f.on("drain",nh(f,d));f.on("error",oh(d,"The destination stream errored while writing data."));f.on("close",oh(d,"The destination stream closed early."));return f},abort:function(f){lh(d,f)}}};exports.version="18.3.0-experimental-d900fadbf-20230929"; +function eh(a,b){k=new Uint8Array(2048);m=0;pa=!0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,l=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(l))}var n=e.htmlChunks,p=e.headChunks;f=0;if(n){for(f=0;f<n.length;f++)u(b,n[f]);if(p)for(f=0;f<p.length;f++)u(b,p[f]);else u(b,S("head")), +u(b,Q)}else if(p)for(f=0;f<p.length;f++)u(b,p[f]);var r=e.charsetChunks;for(f=0;f<r.length;f++)u(b,r[f]);r.length=0;e.preconnects.forEach(Ee,b);e.preconnects.clear();var q=e.preconnectChunks;for(f=0;f<q.length;f++)u(b,q[f]);q.length=0;e.fontPreloads.forEach(Ee,b);e.fontPreloads.clear();e.highImagePreloads.forEach(Ee,b);e.highImagePreloads.clear();e.styles.forEach(Le,b);var F=e.importMapChunks;for(f=0;f<F.length;f++)u(b,F[f]);F.length=0;e.bootstrapScripts.forEach(Ee,b);e.scripts.forEach(Ee,b);e.scripts.clear(); +e.bulkPreloads.forEach(Ee,b);e.bulkPreloads.clear();var H=e.preloadChunks;for(f=0;f<H.length;f++)u(b,H[f]);H.length=0;var X=e.hoistableChunks;for(f=0;f<X.length;f++)u(b,X[f]);X.length=0;n&&null===p&&(u(b,xc),u(b,"head"),u(b,yc));gh(a,b,d);a.completedRootSegment=null;Fc(b,a.renderState)}else return;var t=a.renderState;d=0;t.preconnects.forEach(Ee,b);t.preconnects.clear();var C=t.preconnectChunks;for(d=0;d<C.length;d++)u(b,C[d]);C.length=0;t.fontPreloads.forEach(Ee,b);t.fontPreloads.clear();t.highImagePreloads.forEach(Ee, +b);t.highImagePreloads.clear();t.styles.forEach(Ne,b);t.scripts.forEach(Ee,b);t.scripts.clear();t.bulkPreloads.forEach(Ee,b);t.bulkPreloads.clear();var v=t.preloadChunks;for(d=0;d<v.length;d++)u(b,v[d]);v.length=0;var ja=t.hoistableChunks;for(d=0;d<ja.length;d++)u(b,ja[d]);ja.length=0;var E=a.clientRenderedBoundaries;for(c=0;c<E.length;c++){var T=E[c];t=b;var w=a.resumableState,Y=a.renderState,ka=T.rootSegmentID,R=T.errorDigest,la=T.errorMessage,I=T.errorComponentStack,ma=0===w.streamingFormat;ma? +(u(t,Y.startInlineScript),0===(w.instructions&4)?(w.instructions|=4,u(t,he)):u(t,ie)):u(t,me);u(t,Y.boundaryPrefix);u(t,ka.toString(16));ma&&u(t,je);if(R||la||I)ma?(u(t,ke),u(t,re(R||""))):(u(t,ne),u(t,B(R||"")));if(la||I)ma?(u(t,ke),u(t,re(la||""))):(u(t,oe),u(t,B(la||"")));I&&(ma?(u(t,ke),u(t,re(I))):(u(t,pe),u(t,B(I))));if(ma?!x(t,le):!x(t,rb)){a.destination=null;c++;E.splice(0,c);return}}E.splice(0,c);var Aa=a.completedBoundaries;for(c=0;c<Aa.length;c++)if(!ih(a,b,Aa[c])){a.destination=null;c++; +Aa.splice(0,c);return}Aa.splice(0,c);xa(b);k=new Uint8Array(2048);m=0;pa=!0;var qa=a.partialBoundaries;for(c=0;c<qa.length;c++){var ra=qa[c];a:{E=a;T=b;E.renderState.boundaryResources=ra.resources;var sa=ra.completedSegments;for(w=0;w<sa.length;w++)if(!jh(E,T,ra,sa[w])){w++;sa.splice(0,w);var Oa=!1;break a}sa.splice(0,w);Oa=De(T,ra.resources,E.renderState)}if(!Oa){a.destination=null;c++;qa.splice(0,c);return}}qa.splice(0,c);var da=a.completedBoundaries;for(c=0;c<da.length;c++)if(!ih(a,b,da[c])){a.destination= +null;c++;da.splice(0,c);return}da.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,null===a.trackedPostpones&&(c=a.resumableState,c.hasBody&&(u(b,xc),u(b,"body"),u(b,yc)),c.hasHtml&&(u(b,xc),u(b,"html"),u(b,yc))),xa(b),oa(b),b.end(),a.destination=null):(xa(b),oa(b))}}function kh(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return Ye.run(a,Lg,a)})} +function Ve(a){!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(a.flushScheduled=!0,setImmediate(function(){var b=a.destination;b?eh(a,b):a.flushScheduled=!1}))}function lh(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{eh(a,b)}catch(c){Og(a,c),Pg(a,c)}}} +function mh(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return dh(e,a,d)});c.clear()}null!==a.destination&&eh(a,a.destination)}catch(e){Og(a,e),Pg(a,e)}}function $g(a,b,c){if(null===b)c.rootNodes.push(a);else{var d=c.workingMap,e=d.get(b);void 0===e&&(e=[b[1],b[2],[],null],d.set(b,e),$g(e,b[0],c));e[2].push(a)}} +function nh(a){var b=a.trackedPostpones;return null===b||0===b.rootNodes.length&&null===b.rootSlots?a.trackedPostpones=null:{nextSegmentId:a.nextSegmentId,rootFormatContext:a.rootFormatContext,progressiveChunkSize:a.progressiveChunkSize,resumableState:a.resumableState,replayNodes:b.rootNodes,replaySlots:b.rootSlots}}function oh(a,b){return function(){return lh(b,a)}}function ph(a,b){return function(){a.destination=null;mh(a,Error(b))}} +function qh(a,b){var c=Ob(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0);return Fg(a,c,Mb(c,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Pb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,b?b.onAllReady:void 0,b?b.onShellReady:void 0,b?b.onShellError:void 0,void 0,b?b.onPostpone:void 0,b?b.formState:void 0)} +function rh(a,b,c){var d=Mb(b.resumableState,c?c.nonce:void 0,void 0,void 0,void 0,void 0,void 0),e=c?c.onError:void 0,f=c?c.onAllReady:void 0,g=c?c.onShellReady:void 0,h=c?c.onShellError:void 0,l=c?c.onPostpone:void 0;Ua.current=bb;c=[];var n=new Set;d={destination:null,flushScheduled:!1,resumableState:b.resumableState,renderState:d,rootFormatContext:b.rootFormatContext,progressiveChunkSize:b.progressiveChunkSize,status:0,fatalError:null,nextSegmentId:b.nextSegmentId,allPendingTasks:0,pendingRootTasks:0, +completedRootSegment:null,abortableTasks:n,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===e?Eg:e,onPostpone:void 0===l?V:l,onAllReady:void 0===f?V:f,onShellReady:void 0===g?V:g,onShellError:void 0===h?V:h,onFatalError:V,formState:null};a=Ng(d,null,{nodes:b.replayNodes,slots:b.replaySlots,pendingTasks:0},a,-1,null,n,null,b.rootFormatContext,xf,null,If);c.push(a);return d} +function sh(a){return{write:function(b){return a.push(b)},end:function(){a.push(null)},destroy:function(b){a.destroy(b)}}} +exports.prerenderToNodeStream=function(a,b){return new Promise(function(c,d){var e=Ob(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),f=Ig(a,e,Mb(e,void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Pb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,function(){var l=new ia.Readable({read:function(){lh(f,n)}}),n=sh(l);l={postponed:nh(f),prelude:l}; +c(l)},void 0,void 0,d,b?b.onPostpone:void 0);if(b&&b.signal){var g=b.signal;if(g.aborted)mh(f,g.reason);else{var h=function(){mh(f,g.reason);g.removeEventListener("abort",h)};g.addEventListener("abort",h)}}kh(f)})}; +exports.renderToPipeableStream=function(a,b){var c=qh(a,b),d=!1;kh(c);return{pipe:function(e){if(d)throw Error("React currently only supports piping to one writable stream.");d=!0;lh(c,e);e.on("drain",oh(e,c));e.on("error",ph(c,"The destination stream errored while writing data."));e.on("close",ph(c,"The destination stream closed early."));return e},abort:function(e){mh(c,e)}}}; +exports.resumeToPipeableStream=function(a,b,c){var d=rh(a,b,c),e=!1;kh(d);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;lh(d,f);f.on("drain",oh(f,d));f.on("error",ph(d,"The destination stream errored while writing data."));f.on("close",ph(d,"The destination stream closed early."));return f},abort:function(f){mh(d,f)}}};exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js index 98f439f3042ae..b3e9fd2f65144 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js @@ -17,14 +17,6 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react-experimental"); var Scheduler = require("next/dist/compiled/scheduler-experimental"); -var Internals = { - usingClientEntryPoint: false, - Events: null, - Dispatcher: { - current: null - } -}; - var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var suppressWarning = false; @@ -86,6 +78,14 @@ function printWarning(level, format, args) { } } +var Internals = { + usingClientEntryPoint: false, + Events: null, + Dispatcher: { + current: null + } +}; + var assign = Object.assign; // ----------------------------------------------------------------------------- @@ -102,7 +102,9 @@ var assign = Object.assign; // ----------------------------------------------------------------------------- // TODO: Finish rolling out in www -var enableClientRenderFallbackOnTextMismatch = true; // Not sure if www still uses this. We don't have a replacement but whatever we +var enableClientRenderFallbackOnTextMismatch = true; +var enableFormActions = true; +var enableAsyncActions = true; // Not sure if www still uses this. We don't have a replacement but whatever we // Slated for removal in the future (significant effort) // // These are experiments that didn't work out, and never shipped, but we can't @@ -118,14 +120,12 @@ var enableClientRenderFallbackOnTextMismatch = true; // Not sure if www still us // This will eventually be replaced by the Transition Tracing proposal. var enableSuspenseCallback = false; // Experimental Scope support. -var enableFormActions = true; var enableLazyContextPropagation = false; // FB-only usage. The new API has different semantics. var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber var enableHostSingletons = true; -var enableAsyncActions = true; -var alwaysThrottleRetries = true; // ----------------------------------------------------------------------------- +var alwaysThrottleRetries = true; // Chopping Block // // Planned feature deprecations and breaking changes. Sorted roughly in order of @@ -1062,6 +1062,7 @@ var SyncHydrationLane = var SyncLane = /* */ 2; +var SyncLaneIndex = 1; var InputContinuousHydrationLane = /* */ 4; @@ -1080,7 +1081,7 @@ var TransitionHydrationLane = 64; var TransitionLanes = /* */ -8388480; +4194176; var TransitionLane1 = /* */ 128; @@ -1126,39 +1127,39 @@ var TransitionLane14 = var TransitionLane15 = /* */ 2097152; -var TransitionLane16 = -/* */ -4194304; var RetryLanes = /* */ -125829120; +62914560; var RetryLane1 = /* */ -8388608; +4194304; var RetryLane2 = /* */ -16777216; +8388608; var RetryLane3 = /* */ -33554432; +16777216; var RetryLane4 = /* */ -67108864; +33554432; var SomeRetryLane = RetryLane1; var SelectiveHydrationLane = /* */ -134217728; +67108864; var NonIdleLanes = /* */ -268435455; +134217727; var IdleHydrationLane = /* */ -268435456; +134217728; var IdleLane = /* */ -536870912; +268435456; var OffscreenLane = /* */ +536870912; +var DeferredLane = +/* */ 1073741824; // Any lane that might schedule an update. This is used to detect infinite // update loops, so it doesn't include hydration lanes or retries. @@ -1218,6 +1219,10 @@ function getLabelForLane(lane) { if (lane & OffscreenLane) { return 'Offscreen'; } + + if (lane & DeferredLane) { + return 'Deferred'; + } } } var NoTimestamp = -1; @@ -1270,7 +1275,6 @@ function getHighestPriorityLanes(lanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return lanes & TransitionLanes; case RetryLane1: @@ -1291,6 +1295,11 @@ function getHighestPriorityLanes(lanes) { case OffscreenLane: return OffscreenLane; + case DeferredLane: + // This shouldn't be reachable because deferred work is always entangled + // with something else. + return NoLanes; + default: { error('Should have found matching lanes. This is a bug in React.'); @@ -1367,12 +1376,17 @@ function getNextLanes(root, wipLanes) { } } - if ((nextLanes & InputContinuousLane) !== NoLanes) { + return nextLanes; +} +function getEntangledLanes(root, renderLanes) { + var entangledLanes = renderLanes; + + if ((entangledLanes & InputContinuousLane) !== NoLanes) { // When updates are sync by default, we entangle continuous priority updates // and default updates, so they render in the same batch. The only reason // they use separate lanes is because continuous updates should interrupt // transitions, but default updates should not. - nextLanes |= pendingLanes & DefaultLane; + entangledLanes |= entangledLanes & DefaultLane; } // Check for entangled lanes and add them to the batch. // // A lane is said to be entangled with another when it's not allowed to render @@ -1397,21 +1411,21 @@ function getNextLanes(root, wipLanes) { // time we apply the entanglement. - var entangledLanes = root.entangledLanes; + var allEntangledLanes = root.entangledLanes; - if (entangledLanes !== NoLanes) { + if (allEntangledLanes !== NoLanes) { var entanglements = root.entanglements; - var lanes = nextLanes & entangledLanes; + var lanes = entangledLanes & allEntangledLanes; while (lanes > 0) { var index = pickArbitraryLaneIndex(lanes); var lane = 1 << index; - nextLanes |= entanglements[index]; + entangledLanes |= entanglements[index]; lanes &= ~lane; } } - return nextLanes; + return entangledLanes; } function computeExpirationTime(lane, currentTime) { @@ -1449,7 +1463,6 @@ function computeExpirationTime(lane, currentTime) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return currentTime + 5000; case RetryLane1: @@ -1467,6 +1480,7 @@ function computeExpirationTime(lane, currentTime) { case IdleHydrationLane: case IdleLane: case OffscreenLane: + case DeferredLane: // Anything idle priority or lower should never expire. return NoTimestamp; @@ -1489,6 +1503,7 @@ function markStarvedLanesAsExpired(root, currentTime) { var expirationTimes = root.expirationTimes; // Iterate through the pending lanes and check if we've reached their // expiration time. If so, we'll assume the update is being starved and mark // it as expired to force it to finish. + // TODO: We should be able to replace this with upgradePendingLanesToSync // // We exclude retry lanes because those must always be time sliced, in order // to unwrap uncached promises. @@ -1667,7 +1682,7 @@ function markRootUpdated(root, updateLane) { root.pingedLanes = NoLanes; } } -function markRootSuspended$1(root, suspendedLanes) { +function markRootSuspended$1(root, suspendedLanes, spawnedLane) { root.suspendedLanes |= suspendedLanes; root.pingedLanes &= ~suspendedLanes; // The suspended lanes are no longer CPU-bound. Clear their expiration times. @@ -1680,11 +1695,15 @@ function markRootSuspended$1(root, suspendedLanes) { expirationTimes[index] = NoTimestamp; lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, suspendedLanes); + } } function markRootPinged(root, pingedLanes) { root.pingedLanes |= root.suspendedLanes & pingedLanes; } -function markRootFinished(root, remainingLanes) { +function markRootFinished(root, remainingLanes, spawnedLane) { var noLongerPendingLanes = root.pendingLanes & ~remainingLanes; root.pendingLanes = remainingLanes; // Let's try everything again @@ -1724,7 +1743,28 @@ function markRootFinished(root, remainingLanes) { lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, // This render finished successfully without suspending, so we don't need + // to entangle the spawned task with the parent task. + NoLanes); + } +} + +function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { + // This render spawned a deferred task. Mark it as pending. + root.pendingLanes |= spawnedLane; + root.suspendedLanes &= ~spawnedLane; // Entangle the spawned lane with the DeferredLane bit so that we know it + // was the result of another render. This lets us avoid a useDeferredValue + // waterfall — only the first level will defer. + + var spawnedLaneIndex = laneToIndex(spawnedLane); + root.entangledLanes |= spawnedLane; + root.entanglements[spawnedLaneIndex] |= DeferredLane | // If the parent render task suspended, we must also entangle those lanes + // with the spawned task. + entangledLanes; } + function markRootEntangled(root, entangledLanes) { // In addition to entangling each of the given lanes with each other, we also // have to consider _transitive_ entanglements. For each lane that is already @@ -1754,6 +1794,29 @@ function markRootEntangled(root, entangledLanes) { lanes &= ~lane; } } +function upgradePendingLaneToSync(root, lane) { + // Since we're upgrading the priority of the given lane, there is now pending + // sync work. + root.pendingLanes |= SyncLane; // Entangle the sync lane with the lane we're upgrading. This means SyncLane + // will not be allowed to finish without also finishing the given lane. + + root.entangledLanes |= SyncLane; + root.entanglements[SyncLaneIndex] |= lane; +} +function upgradePendingLanesToSync(root, lanesToUpgrade) { + // Same as upgradePendingLaneToSync but accepts multiple lanes, so it's a + // bit slower. + root.pendingLanes |= SyncLane; + root.entangledLanes |= SyncLane; + var lanes = lanesToUpgrade; + + while (lanes) { + var index = pickArbitraryLaneIndex(lanes); + var lane = 1 << index; + root.entanglements[SyncLaneIndex] |= lane; + lanes &= ~lane; + } +} function markHiddenUpdate(root, update, lane) { var index = laneToIndex(lane); var hiddenUpdates = root.hiddenUpdates; @@ -1802,7 +1865,6 @@ function getBumpedLaneForHydration(root, renderLanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: case RetryLane1: case RetryLane2: case RetryLane3: @@ -1995,7 +2057,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2004,7 +2066,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2013,7 +2075,7 @@ function checkKeyStringCoercion(value) { function checkPropStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2022,7 +2084,7 @@ function checkPropStringCoercion(value, propName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2031,7 +2093,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2040,7 +2102,7 @@ function checkHtmlStringCoercion(value) { function checkFormFieldValueStringCoercion(value) { { if (willCoercionThrow(value)) { - error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -3590,8 +3652,12 @@ function updateInput(element, value, defaultValue, lastDefaultValue, checked, de } } - if (checked != null && node.checked !== !!checked) { - node.checked = checked; + if (checked != null) { + // Important to set this even if it's not a change in order to update input + // value tracking with radio buttons + // TODO: Should really update input value tracking for the whole radio + // button group in an effect or something (similar to #27024) + node.checked = checked && typeof checked !== 'function' && typeof checked !== 'symbol'; } if (name != null && typeof name !== 'function' && typeof name !== 'symbol' && typeof name !== 'boolean') { @@ -3657,13 +3723,12 @@ function initInput(element, value, defaultValue, checked, defaultChecked, type, var checkedOrDefault = checked != null ? checked : defaultChecked; // TODO: This 'function' or 'symbol' check isn't replicated in other places // so this semantic is inconsistent. - var initialChecked = typeof checkedOrDefault !== 'function' && typeof checkedOrDefault !== 'symbol' && !!checkedOrDefault; // The checked property never gets assigned. It must be manually set. - // We don't want to do this when hydrating so that existing user input isn't - // modified - // TODO: I'm pretty sure this is a bug because initialValueTracking won't be - // correct for the hydration case then. + var initialChecked = typeof checkedOrDefault !== 'function' && typeof checkedOrDefault !== 'symbol' && !!checkedOrDefault; - if (!isHydrating) { + if (isHydrating) { + // Detach .checked from .defaultChecked but leave user input alone + node.checked = node.checked; + } else { node.checked = !!initialChecked; } @@ -9984,29 +10049,29 @@ function resetChildFibers(workInProgress, lanes) { // InvisibleParentContext that is currently managed by SuspenseContext. var currentTreeHiddenStackCursor = createCursor(null); -var prevRenderLanesStackCursor = createCursor(NoLanes); +var prevEntangledRenderLanesCursor = createCursor(NoLanes); function pushHiddenContext(fiber, context) { - var prevRenderLanes = getRenderLanes(); - push(prevRenderLanesStackCursor, prevRenderLanes, fiber); + var prevEntangledRenderLanes = getEntangledRenderLanes(); + push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber); push(currentTreeHiddenStackCursor, context, fiber); // When rendering a subtree that's currently hidden, we must include all // lanes that would have rendered if the hidden subtree hadn't been deferred. // That is, in order to reveal content from hidden -> visible, we must commit // all the updates that we skipped when we originally hid the tree. - setRenderLanes(mergeLanes(prevRenderLanes, context.baseLanes)); + setEntangledRenderLanes(mergeLanes(prevEntangledRenderLanes, context.baseLanes)); } function reuseHiddenContextOnStack(fiber) { // This subtree is not currently hidden, so we don't need to add any lanes // to the render lanes. But we still need to push something to avoid a // context mismatch. Reuse the existing context on the stack. - push(prevRenderLanesStackCursor, getRenderLanes(), fiber); + push(prevEntangledRenderLanesCursor, getEntangledRenderLanes(), fiber); push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current, fiber); } function popHiddenContext(fiber) { // Restore the previous render lanes from the stack - setRenderLanes(prevRenderLanesStackCursor.current); + setEntangledRenderLanes(prevEntangledRenderLanesCursor.current); pop(currentTreeHiddenStackCursor, fiber); - pop(prevRenderLanesStackCursor, fiber); + pop(prevEntangledRenderLanesCursor, fiber); } function isCurrentTreeHidden() { return currentTreeHiddenStackCursor.current !== null; @@ -10368,7 +10433,10 @@ function processRootScheduleInMicrotask() { var next = root.next; if (currentEventTransitionLane !== NoLane && shouldAttemptEagerTransition()) { - markRootEntangled(root, mergeLanes(currentEventTransitionLane, SyncLane)); + // A transition was scheduled during an event, but we're going to try to + // render it synchronously anyway. We do this during a popstate event to + // preserve the scroll position of the previous page. + upgradePendingLaneToSync(root, currentEventTransitionLane); } var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); @@ -10774,7 +10842,7 @@ var didWarnAboutAsyncClientComponent; // These are set right before calling the component. -var renderLanes$1 = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from +var renderLanes = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from // the work-in-progress hook. var currentlyRenderingFiber$1 = null; // Hooks are stored as a linked list on the fiber's memoizedState field. The @@ -10968,7 +11036,7 @@ function areHookInputsEqual(nextDeps, prevDeps) { } function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) { - renderLanes$1 = nextRenderLanes; + renderLanes = nextRenderLanes; currentlyRenderingFiber$1 = workInProgress; { @@ -11074,7 +11142,7 @@ function finishRenderingHooks(current, workInProgress, Component) { // hookTypesDev could catch more cases (e.g. context) but only in DEV bundles. var didRenderTooFewHooks = currentHook !== null && currentHook.next !== null; - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11272,7 +11340,7 @@ function resetHooksOnUnwind(workInProgress) { didScheduleRenderPhaseUpdate = false; } - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11585,7 +11653,7 @@ function updateReducerImpl(hook, current, reducer) { // it's not a "base" update and we should disregard the extra base lanes // that were added to renderLanes when we entered the Offscreen tree. - var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes$1, updateLane); + var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes, updateLane); if (shouldSkipUpdate) { // Priority is insufficient. Skip this update. If this is the first @@ -11640,7 +11708,7 @@ function updateReducerImpl(hook, current, reducer) { // sufficient, don't apply the update. Otherwise, apply the update, // but leave it in the queue so it can be either reverted or // rebased in a subsequent render. - if (isSubsetOfLanes(renderLanes$1, revertLane)) { + if (isSubsetOfLanes(renderLanes, revertLane)) { // The transition that this optimistic update is associated with // has finished. Pretend the update doesn't exist by skipping // over it. @@ -11826,7 +11894,9 @@ function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!includesBlockingLane(root, renderLanes$1)) { + var rootRenderLanes = getWorkInProgressRootRenderLanes(); + + if (!includesBlockingLane(root, rootRenderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } // Read the current snapshot from the store on every render. This breaks the @@ -11912,7 +11982,7 @@ function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!isHydrating && !includesBlockingLane(root, renderLanes$1)) { + if (!isHydrating && !includesBlockingLane(root, renderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } @@ -12055,9 +12125,9 @@ function updateOptimisticImpl(hook, current, passthrough, reducer) { // as an argument. It's called a passthrough because if there are no pending // updates, it will be returned as-is. // - // Reset the base state and memoized state to the passthrough. Future - // updates will be applied on top of this. - hook.baseState = hook.memoizedState = passthrough; // If a reducer is not provided, default to the same one used by useState. + // Reset the base state to the passthrough. Future updates will be applied + // on top of this. + hook.baseState = passthrough; // If a reducer is not provided, default to the same one used by useState. var resolvedReducer = typeof reducer === 'function' ? reducer : basicStateReducer; return updateReducerImpl(hook, currentHook, resolvedReducer); @@ -12077,11 +12147,11 @@ function rerenderOptimistic(passthrough, reducer) { // This is an update. Process the update queue. return updateOptimisticImpl(hook, currentHook, passthrough, reducer); } // This is a mount. No updates to process. - // Reset the base state and memoized state to the passthrough. Future - // updates will be applied on top of this. + // Reset the base state to the passthrough. Future updates will be applied + // on top of this. - hook.baseState = hook.memoizedState = passthrough; + hook.baseState = passthrough; var dispatch = hook.queue.dispatch; return [passthrough, dispatch]; } // useFormState actions run sequentially, because each action receives the @@ -12601,70 +12671,92 @@ function updateMemo(nextCreate, deps) { return nextValue; } -function mountDeferredValue(value) { +function mountDeferredValue(value, initialValue) { var hook = mountWorkInProgressHook(); - hook.memoizedState = value; - return value; + return mountDeferredValueImpl(hook, value, initialValue); } -function updateDeferredValue(value) { +function updateDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); var resolvedCurrentHook = currentHook; var prevValue = resolvedCurrentHook.memoizedState; - return updateDeferredValueImpl(hook, prevValue, value); + return updateDeferredValueImpl(hook, prevValue, value, initialValue); } -function rerenderDeferredValue(value) { +function rerenderDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); if (currentHook === null) { // This is a rerender during a mount. - hook.memoizedState = value; - return value; + return mountDeferredValueImpl(hook, value, initialValue); } else { // This is a rerender during an update. var prevValue = currentHook.memoizedState; - return updateDeferredValueImpl(hook, prevValue, value); + return updateDeferredValueImpl(hook, prevValue, value, initialValue); } } -function updateDeferredValueImpl(hook, prevValue, value) { - var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes$1); +function mountDeferredValueImpl(hook, value, initialValue) { + if (// When `initialValue` is provided, we defer the initial render even if the + // current render is not synchronous. + initialValue !== undefined && // However, to avoid waterfalls, we do not defer if this render + // was itself spawned by an earlier useDeferredValue. Check if DeferredLane + // is part of the render lanes. + !includesSomeLane(renderLanes, DeferredLane)) { + // Render with the initial value + hook.memoizedState = initialValue; // Schedule a deferred render to switch to the final value. - if (shouldDeferValue) { - // This is an urgent update. If the value has changed, keep using the - // previous value and spawn a deferred render to update it later. - if (!objectIs(value, prevValue)) { - // Schedule a deferred render - var deferredLane = claimNextTransitionLane(); - currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); - markSkippedUpdateLanes(deferredLane); // Set this to true to indicate that the rendered value is inconsistent - // from the latest value. The name "baseState" doesn't really match how we - // use it because we're reusing a state hook field instead of creating a - // new one. + var deferredLane = requestDeferredLane(); + currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); + markSkippedUpdateLanes(deferredLane); + return initialValue; + } else { + hook.memoizedState = value; + return value; + } +} - hook.baseState = true; - } // Reuse the previous value +function updateDeferredValueImpl(hook, prevValue, value, initialValue) { + if (objectIs(value, prevValue)) { + // The incoming value is referentially identical to the currently rendered + // value, so we can bail out quickly. + return value; + } else { + // Received a new value that's different from the current value. + // Check if we're inside a hidden tree + if (isCurrentTreeHidden()) { + // Revealing a prerendered tree is considered the same as mounting new + // one, so we reuse the "mount" path in this case. + var resultValue = mountDeferredValueImpl(hook, value, initialValue); // Unlike during an actual mount, we need to mark this as an update if + // the value changed. + if (!objectIs(resultValue, prevValue)) { + markWorkInProgressReceivedUpdate(); + } - return prevValue; - } else { - // This is not an urgent update, so we can use the latest value regardless - // of what it is. No need to defer it. - // However, if we're currently inside a spawned render, then we need to mark - // this as an update to prevent the fiber from bailing out. - // - // `baseState` is true when the current value is different from the rendered - // value. The name doesn't really match how we use it because we're reusing - // a state hook field instead of creating a new one. - if (hook.baseState) { - // Flip this back to false. - hook.baseState = false; - markWorkInProgressReceivedUpdate(); + return resultValue; } - hook.memoizedState = value; - return value; + var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes); + + if (shouldDeferValue) { + // This is an urgent update. Since the value has changed, keep using the + // previous value and spawn a deferred render to update it later. + // Schedule a deferred render + var deferredLane = requestDeferredLane(); + currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); + markSkippedUpdateLanes(deferredLane); // Reuse the previous value. We do not need to mark this as an update, + // because we did not render a new value. + + return prevValue; + } else { + // This is not an urgent update, so we can use the latest value regardless + // of what it is. No need to defer it. + // Mark this as an update to prevent the fiber from bailing out. + markWorkInProgressReceivedUpdate(); + hook.memoizedState = value; + return value; + } } } @@ -12672,6 +12764,7 @@ function startTransition(fiber, queue, pendingState, finishedState, callback, op var previousPriority = getCurrentUpdatePriority(); setCurrentUpdatePriority(higherEventPriority(previousPriority, ContinuousEventPriority)); var prevTransition = ReactCurrentBatchConfig$3.transition; + var currentTransition = {}; { // We don't really need to use an optimistic update here, because we @@ -12680,11 +12773,10 @@ function startTransition(fiber, queue, pendingState, finishedState, callback, op // optimistic update anyway to make it less likely the behavior accidentally // diverges; for example, both an optimistic update and this one should // share the same lane. + ReactCurrentBatchConfig$3.transition = currentTransition; dispatchOptimisticSetState(fiber, false, queue, pendingState); } - var currentTransition = ReactCurrentBatchConfig$3.transition = {}; - { ReactCurrentBatchConfig$3.transition._updatedFibers = new Set(); } @@ -13042,14 +13134,38 @@ function dispatchSetState(fiber, queue, action) { } function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { + { + if (ReactCurrentBatchConfig$3.transition === null) { + // An optimistic update occurred, but startTransition is not on the stack. + // There are two likely scenarios. + // One possibility is that the optimistic update is triggered by a regular + // event handler (e.g. `onSubmit`) instead of an action. This is a mistake + // and we will warn. + // The other possibility is the optimistic update is inside an async + // action, but after an `await`. In this case, we can make it "just work" + // by associating the optimistic update with the pending async action. + // Technically it's possible that the optimistic update is unrelated to + // the pending action, but we don't have a way of knowing this for sure + // because browsers currently do not provide a way to track async scope. + // (The AsyncContext proposal, if it lands, will solve this in the + // future.) However, this is no different than the problem of unrelated + // transitions being grouped together — it's not wrong per se, but it's + // not ideal. + // Once AsyncContext starts landing in browsers, we will provide better + // warnings in development for these cases. + if (peekEntangledActionLane() !== NoLane) ; else { + // There's no pending async action. The most likely cause is that we're + // inside a regular event handler (e.g. onSubmit) instead of an action. + error('An optimistic state update occurred outside a transition or ' + 'action. To fix, move the update to an action, or wrap ' + 'with startTransition.'); + } + } + } + var update = { // An optimistic update commits synchronously. lane: SyncLane, // After committing, the optimistic update is "reverted" using the same // lane as the transition it's associated with. - // - // TODO: Warn if there's no transition/action associated with this - // optimistic update. revertLane: requestTransitionLane(), action: action, hasEagerState: false, @@ -13283,10 +13399,10 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; mountHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; mountHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13424,10 +13540,10 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13565,10 +13681,10 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13706,10 +13822,10 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); - return rerenderDeferredValue(value); + return rerenderDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13862,11 +13978,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; mountHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); mountHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -14028,11 +14144,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -14194,11 +14310,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); updateHookTypesDev(); - return rerenderDeferredValue(value); + return rerenderDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -19908,7 +20024,9 @@ function completeWork(current, workInProgress, renderLanes) { } else { var _rootContainerInstance = getRootHostContainer(); - var _instance3 = createInstance(_type2, newProps, _rootContainerInstance, _currentHostContext, workInProgress); + var _instance3 = createInstance(_type2, newProps, _rootContainerInstance, _currentHostContext, workInProgress); // TODO: For persistent renderers, we should pass children as part + // of the initial instance creation + appendAllChildren(_instance3, workInProgress); workInProgress.stateNode = _instance3; // Certain renderers require commit-time effects for initial mount. @@ -24739,9 +24857,9 @@ var workInProgressRootDidAttachPingListener = false; // A contextual version of // HiddenContext module. // // Most things in the work loop should deal with workInProgressRootRenderLanes. -// Most things in begin/complete phases should deal with renderLanes. +// Most things in begin/complete phases should deal with entangledRenderLanes. -var renderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. +var entangledRenderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. var workInProgressRootExitStatus = RootInProgress; // A fatal error, if one is thrown @@ -24752,7 +24870,9 @@ var workInProgressRootSkippedLanes = NoLanes; // Lanes that were updated (in an var workInProgressRootInterleavedUpdatedLanes = NoLanes; // Lanes that were updated during the render phase (*not* an interleaved event). -var workInProgressRootPingedLanes = NoLanes; // Errors that are thrown during the render phase. +var workInProgressRootPingedLanes = NoLanes; // If this lane scheduled deferred work, this is the lane of the deferred task. + +var workInProgressDeferredLane = NoLane; // Errors that are thrown during the render phase. var workInProgressRootConcurrentErrors = null; // These are errors that we recovered from without surfacing them to the UI. // We will log them once the tree commits. @@ -24883,6 +25003,27 @@ function requestRetryLane(fiber) { return claimNextRetryLane(); } +function requestDeferredLane() { + if (workInProgressDeferredLane === NoLane) { + // If there are multiple useDeferredValue hooks in the same render, the + // tasks that they spawn should all be batched together, so they should all + // receive the same lane. + if (includesSomeLane(workInProgressRootRenderLanes, OffscreenLane)) { + // There's only one OffscreenLane, so if it contains deferred work, we + // should just reschedule using the same lane. + // TODO: We also use OffscreenLane for hydration, on the basis that the + // initial HTML is the same as the hydrated UI, but since the deferred + // task will change the UI, it should be treated like an update. Use + // TransitionHydrationLane to trigger selective hydration. + workInProgressDeferredLane = OffscreenLane; + } else { + // Everything else is spawned as a transition. + workInProgressDeferredLane = requestTransitionLane(); + } + } + + return workInProgressDeferredLane; +} function scheduleUpdateOnFiber(root, fiber, lane) { { if (isRunningInsertionEffect) { @@ -24904,7 +25045,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // The incoming update might unblock the current render. Interrupt the // current attempt and restart from the top. prepareFreshStack(root, NoLanes); - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } // Mark that the root has a pending update. @@ -24942,7 +25083,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // effect of interrupting the current render and switching to the update. // TODO: Make sure this doesn't override pings that happen while we've // already started rendering. - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } } @@ -25035,7 +25176,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); } else { // The render completed. // Check if this render may have yielded to a concurrent event, and if so, @@ -25071,7 +25212,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } // We now have a consistent tree. The next step is either to commit it, @@ -25185,7 +25326,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // This is a transition, so we should exit without committing a // placeholder and without scheduling a timeout. Delay indefinitely // until we receive more data. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); return; } // Commit the placeholder. @@ -25208,7 +25349,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { if (shouldForceFlushFallbacksInDEV()) { // We're inside an `act` scope. Commit immediately. - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); } else { if (includesOnlyRetries(lanes) && (alwaysThrottleRetries )) { // This render only included retries, no updates. Throttle committing @@ -25216,7 +25357,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { var msUntilTimeout = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1(); // Don't bother with a very short suspense time. if (msUntilTimeout > 10) { - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); var nextLanes = getNextLanes(root, NoLanes); if (nextLanes !== NoLanes) { @@ -25230,16 +25371,16 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // run one after the other. - root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes), msUntilTimeout); + root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane), msUntilTimeout); return; } } - commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes); + commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane); } } -function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes) { +function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. if (includesOnlyNonUrgentLanes(lanes)) { @@ -25264,13 +25405,13 @@ function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, // us that it's ready. This will be canceled if we start work on the // root again. root.cancelPendingCommit = schedulePendingCommit(commitRoot.bind(null, root, recoverableErrors, transitions)); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, spawnedLane); return; } } // Otherwise, commit immediately. - commitRoot(root, recoverableErrors, transitions); + commitRoot(root, recoverableErrors, transitions, spawnedLane); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -25336,14 +25477,14 @@ function isRenderConsistentWithExternalStores(finishedWork) { return true; } -function markRootSuspended(root, suspendedLanes) { +function markRootSuspended(root, suspendedLanes, spawnedLane) { // When suspending, we should always exclude lanes that were pinged or (more // rarely, since we try to avoid it) updated during the render phase. // TODO: Lol maybe there's a better way to factor this besides this // obnoxiously named function :) suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes); suspendedLanes = removeLanes(suspendedLanes, workInProgressRootInterleavedUpdatedLanes); - markRootSuspended$1(root, suspendedLanes); + markRootSuspended$1(root, suspendedLanes, spawnedLane); } // This is the entry point for synchronous tasks that don't go // through Scheduler @@ -25389,7 +25530,7 @@ function performSyncWorkOnRoot(root, lanes) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } @@ -25398,7 +25539,7 @@ function performSyncWorkOnRoot(root, lanes) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); return null; } // We now have a consistent tree. Because this is a sync render, we @@ -25408,7 +25549,7 @@ function performSyncWorkOnRoot(root, lanes) { var finishedWork = root.current.alternate; root.finishedWork = finishedWork; root.finishedLanes = lanes; - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); // Before exiting, make sure there's a callback scheduled for the next + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); // Before exiting, make sure there's a callback scheduled for the next // pending level. ensureRootIsScheduled(root); @@ -25416,7 +25557,7 @@ function performSyncWorkOnRoot(root, lanes) { } function flushRoot(root, lanes) { if (lanes !== NoLanes) { - markRootEntangled(root, mergeLanes(lanes, SyncLane)); + upgradePendingLanesToSync(root, lanes); ensureRootIsScheduled(root); if ((executionContext & (RenderContext | CommitContext)) === NoContext) { @@ -25499,11 +25640,11 @@ function isInvalidExecutionContextForEventFunction() { // place that ever modifies it. Which module it lives in doesn't matter for // performance because this function will get inlined regardless -function setRenderLanes(subtreeRenderLanes) { - renderLanes = subtreeRenderLanes; +function setEntangledRenderLanes(newEntangledRenderLanes) { + entangledRenderLanes = newEntangledRenderLanes; } -function getRenderLanes() { - return renderLanes; +function getEntangledRenderLanes() { + return entangledRenderLanes; } function resetWorkInProgressStack() { @@ -25554,7 +25695,7 @@ function prepareFreshStack(root, lanes) { workInProgressRoot = root; var rootWorkInProgress = createWorkInProgress(root.current, null); workInProgress = rootWorkInProgress; - workInProgressRootRenderLanes = renderLanes = lanes; + workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; workInProgressRootDidAttachPingListener = false; @@ -25563,8 +25704,17 @@ function prepareFreshStack(root, lanes) { workInProgressRootSkippedLanes = NoLanes; workInProgressRootInterleavedUpdatedLanes = NoLanes; workInProgressRootPingedLanes = NoLanes; + workInProgressDeferredLane = NoLane; workInProgressRootConcurrentErrors = null; - workInProgressRootRecoverableErrors = null; + workInProgressRootRecoverableErrors = null; // Get the lanes that are entangled with whatever we're about to render. We + // track these separately so we can distinguish the priority of the render + // task from the priority of the lanes it is entangled with. For example, a + // transition may not be allowed to finish unless it includes the Sync lane, + // which is currently suspended. We should be able to render the Transition + // and Sync lane in the same batch, but at Transition priority, because the + // Sync lane already suspended. + + entangledRenderLanes = getEntangledLanes(root, lanes); finishQueueingConcurrentUpdates(); { @@ -25782,7 +25932,7 @@ function renderDidSuspendDelayIfPossible() { workInProgressRootExitStatus = RootSuspendedWithDelay; // Check if there are updates that we skipped tree that might have unblocked // this render. - if (workInProgressRoot !== null && (includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes))) { + if ((includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes)) && workInProgressRoot !== null) { // Mark the current render as suspended so that we switch to working on // the updates that were skipped. Usually we only suspend at the end of // the render phase. @@ -25792,8 +25942,7 @@ function renderDidSuspendDelayIfPossible() { // pinged or updated while we were rendering. // TODO: Consider unwinding immediately, using the // SuspendedOnHydration mechanism. - // $FlowFixMe[incompatible-call] need null check workInProgressRoot - markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes); + markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane); } } function renderDidError(error) { @@ -26226,10 +26375,10 @@ function performUnitOfWork(unitOfWork) { if ((unitOfWork.mode & ProfileMode) !== NoMode) { startProfilerTimer(unitOfWork); - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); stopProfilerTimerIfRunningAndRecordDelta(unitOfWork, true); } else { - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); } resetCurrentFiber(); @@ -26325,8 +26474,8 @@ function replaySuspendedUnitOfWork(unitOfWork) { // reconciled previously. So it's intentional that we don't call // resetSuspendedWorkLoopOnUnwind here. unwindInterruptedWork(current, unitOfWork); - unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, renderLanes); - next = beginWork(current, unitOfWork, renderLanes); + unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, entangledRenderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); break; } } @@ -26429,10 +26578,10 @@ function completeUnitOfWork(unitOfWork) { var next = void 0; if ((completedWork.mode & ProfileMode) === NoMode) { - next = completeWork(current, completedWork, renderLanes); + next = completeWork(current, completedWork, entangledRenderLanes); } else { startProfilerTimer(completedWork); - next = completeWork(current, completedWork, renderLanes); // Update render duration assuming we didn't error. + next = completeWork(current, completedWork, entangledRenderLanes); // Update render duration assuming we didn't error. stopProfilerTimerIfRunningAndRecordDelta(completedWork, false); } @@ -26537,7 +26686,7 @@ function unwindUnitOfWork(unitOfWork) { workInProgress = null; } -function commitRoot(root, recoverableErrors, transitions) { +function commitRoot(root, recoverableErrors, transitions, spawnedLane) { // TODO: This no longer makes any sense. We already wrap the mutation and // layout phases. Should be able to remove. var previousUpdateLanePriority = getCurrentUpdatePriority(); @@ -26546,7 +26695,7 @@ function commitRoot(root, recoverableErrors, transitions) { try { ReactCurrentBatchConfig$1.transition = null; setCurrentUpdatePriority(DiscreteEventPriority); - commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority); + commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority, spawnedLane); } finally { ReactCurrentBatchConfig$1.transition = prevTransition; setCurrentUpdatePriority(previousUpdateLanePriority); @@ -26555,7 +26704,7 @@ function commitRoot(root, recoverableErrors, transitions) { return null; } -function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) { +function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel, spawnedLane) { do { // `flushPassiveEffects` will call `flushSyncUpdateQueue` at the end, which // means `flushPassiveEffects` will sometimes result in additional @@ -26613,7 +26762,7 @@ function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLeve var concurrentlyUpdatedLanes = getConcurrentlyUpdatedLanes(); remainingLanes = mergeLanes(remainingLanes, concurrentlyUpdatedLanes); - markRootFinished(root, remainingLanes); + markRootFinished(root, remainingLanes, spawnedLane); if (root === workInProgressRoot) { // We can reset these now that they are finished. @@ -28672,7 +28821,7 @@ identifierPrefix, onRecoverableError, transitionCallbacks, formState) { return root; } -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { @@ -32348,7 +32497,7 @@ var topLevelEventsToReactNames = new Map(); // NOTE: Capitalization is important // // prettier-ignore -var simpleEventPluginEvents = ['abort', 'auxClick', 'cancel', 'canPlay', 'canPlayThrough', 'click', 'close', 'contextMenu', 'copy', 'cut', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'pointerCancel', 'pointerDown', 'pointerMove', 'pointerOut', 'pointerOver', 'pointerUp', 'progress', 'rateChange', 'reset', 'resize', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'scroll', 'toggle', 'touchMove', 'waiting', 'wheel']; +var simpleEventPluginEvents = ['abort', 'auxClick', 'cancel', 'canPlay', 'canPlayThrough', 'click', 'close', 'contextMenu', 'copy', 'cut', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'pointerCancel', 'pointerDown', 'pointerMove', 'pointerOut', 'pointerOver', 'pointerUp', 'progress', 'rateChange', 'reset', 'resize', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'scroll', 'scrollEnd', 'toggle', 'touchMove', 'waiting', 'wheel']; function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); @@ -32470,6 +32619,7 @@ function extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, n break; case 'scroll': + case 'scrollend': SyntheticEventCtor = SyntheticUIEvent; break; @@ -32502,11 +32652,11 @@ function extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, n // In the past, React has always bubbled them, but this can be surprising. // We're going to try aligning closer to the browser behavior by not bubbling // them in React either. We'll start by not bubbling onScroll, and then expand. - var accumulateTargetOnly = !inCapturePhase && // TODO: ideally, we'd eventually add all events from + var accumulateTargetOnly = !inCapturePhase && ( // TODO: ideally, we'd eventually add all events from // nonDelegatedEvents list in DOMPluginEventSystem. // Then we can remove this special list. // This is a breaking change that can wait until React 18. - domEventName === 'scroll'; + domEventName === 'scroll' || domEventName === 'scrollend'); var _listeners = accumulateSinglePhaseListeners(targetInst, reactName, nativeEvent.type, inCapturePhase, accumulateTargetOnly); @@ -32571,7 +32721,7 @@ var mediaEventTypes = ['abort', 'canplay', 'canplaythrough', 'durationchange', ' // set them on the actual target element itself. This is primarily // because these events do not consistently bubble in the DOM. -var nonDelegatedEvents = new Set(['cancel', 'close', 'invalid', 'load', 'scroll', 'toggle'].concat(mediaEventTypes)); +var nonDelegatedEvents = new Set(['cancel', 'close', 'invalid', 'load', 'scroll', 'scrollend', 'toggle'].concat(mediaEventTypes)); function executeDispatch(event, listener, currentTarget) { var type = event.type || 'unknown-event'; @@ -33449,6 +33599,19 @@ function setProp(domElement, tag, key, value, props, prevValue) { break; } + case 'onScrollEnd': + { + if (value != null) { + if (typeof value !== 'function') { + warnForInvalidEventListener(key, value); + } + + listenToNonDelegatedEvent('scrollend', domElement); + } + + break; + } + case 'dangerouslySetInnerHTML': { if (value != null) { @@ -33775,6 +33938,19 @@ function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) { break; } + case 'onScrollEnd': + { + if (value != null) { + if (typeof value !== 'function') { + warnForInvalidEventListener(key, value); + } + + listenToNonDelegatedEvent('scrollend', domElement); + } + + break; + } + case 'onClick': { // TODO: This cast may not be sound for SVG, MathML or custom elements. @@ -35537,6 +35713,10 @@ function diffHydratedProperties(domElement, tag, props, isConcurrentMode, should listenToNonDelegatedEvent('scroll', domElement); } + if (props.onScrollEnd != null) { + listenToNonDelegatedEvent('scrollend', domElement); + } + if (props.onClick != null) { // TODO: This cast may not be sound for SVG, MathML or custom elements. trapClickOnNonInteractiveElement(domElement); @@ -38474,8 +38654,8 @@ function hydrateRoot$1(container, initialChildren, options) { } { - if (options.experimental_formState !== undefined) { - formState = options.experimental_formState; + if (options.formState !== undefined) { + formState = options.formState; } } } @@ -39113,6 +39293,21 @@ var foundDevTools = injectIntoDevTools({ } } +function experimental_useFormStatus() { + { + error('useFormStatus is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useFormStatus(); +} +function experimental_useFormState(action, initialState, permalink) { + { + error('useFormState is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useFormState(action, initialState, permalink); +} + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.createComponentSelector = createComponentSelector; exports.createHasPseudoClassSelector = createHasPseudoClassSelector; @@ -39121,8 +39316,8 @@ exports.createRoleSelector = createRoleSelector; exports.createRoot = createRoot; exports.createTestNameSelector = createTestNameSelector; exports.createTextSelector = createTextSelector; -exports.experimental_useFormState = useFormState; -exports.experimental_useFormStatus = useFormStatus; +exports.experimental_useFormState = experimental_useFormState; +exports.experimental_useFormStatus = experimental_useFormStatus; exports.findAllNodes = findAllNodes; exports.findBoundingRects = findBoundingRects; exports.findDOMNode = findDOMNode; @@ -39143,6 +39338,8 @@ exports.unmountComponentAtNode = unmountComponentAtNode; exports.unstable_batchedUpdates = batchedUpdates$1; exports.unstable_renderSubtreeIntoContainer = renderSubtreeIntoContainer; exports.unstable_runWithPriority = runWithPriority; +exports.useFormState = useFormState; +exports.useFormStatus = useFormStatus; exports.version = ReactVersion; })(); } diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.min.js index 878abb8bd6908..1cde1260697c3 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.min.js @@ -11,438 +11,439 @@ Modernizr 3.0.0pre (Custom Build) | MIT */ 'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("next/dist/compiled/scheduler-experimental"),ca={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function t(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -var C=Object.assign,da=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=da.ReactCurrentDispatcher,fa={pending:!1,data:null,method:null,action:null},ia=[],ja=-1;function ka(a){return{current:a}}function D(a){0>ja||(a.current=ia[ja],ia[ja]=null,ja--)}function E(a,b){ja++;ia[ja]=a.current;a.current=b} -var la=Symbol.for("react.element"),ma=Symbol.for("react.portal"),na=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),pa=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),ra=Symbol.for("react.context"),sa=Symbol.for("react.server_context"),ta=Symbol.for("react.forward_ref"),ua=Symbol.for("react.suspense"),va=Symbol.for("react.suspense_list"),wa=Symbol.for("react.memo"),xa=Symbol.for("react.lazy"),ya=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); -var za=Symbol.for("react.offscreen"),Aa=Symbol.for("react.legacy_hidden"),Ba=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ca=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.for("react.postpone"),Fa=Symbol.iterator;function Ga(a){if(null===a||"object"!==typeof a)return null;a=Fa&&a[Fa]||a["@@iterator"];return"function"===typeof a?a:null} -var Ha=ka(null),Ia=ka(null),Ja=ka(null),Ka=ka(null),La={$$typeof:ra,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function Ma(a,b){E(Ja,b);E(Ia,a);E(Ha,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Na(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Na(a),b=Oa(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ha);E(Ha,b)} -function Pa(){D(Ha);D(Ia);D(Ja)}function Qa(a){null!==a.memoizedState&&E(Ka,a);var b=Ha.current;var c=Oa(b,a.type);b!==c&&(E(Ia,a),E(Ha,c))}function Ra(a){Ia.current===a&&(D(Ha),D(Ia));Ka.current===a&&(D(Ka),La._currentValue=null)} -var Sa=ba.unstable_scheduleCallback,Ta=ba.unstable_cancelCallback,Ua=ba.unstable_shouldYield,Va=ba.unstable_requestPaint,Wa=ba.unstable_now,Xa=ba.unstable_getCurrentPriorityLevel,Ya=ba.unstable_ImmediatePriority,Za=ba.unstable_UserBlockingPriority,$a=ba.unstable_NormalPriority,ab=ba.unstable_LowPriority,bb=ba.unstable_IdlePriority,cb=null,db=null;function eb(a){if(db&&"function"===typeof db.onCommitFiberRoot)try{db.onCommitFiberRoot(cb,a,void 0,128===(a.current.flags&128))}catch(b){}} -var gb=Math.clz32?Math.clz32:fb,hb=Math.log,ib=Math.LN2;function fb(a){a>>>=0;return 0===a?32:31-(hb(a)/ib|0)|0}var jb=128,kb=8388608; -function lb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return a&8388480;case 8388608:case 16777216:case 33554432:case 67108864:return a&125829120;case 134217728:return 134217728;case 268435456:return 268435456; -case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}} -function mb(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=lb(h):(f&=g,0!==f&&(d=lb(f)))}else g=c&~e,0!==g?d=lb(g):0!==f&&(d=lb(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||32===e&&0!==(f&8388480)))return b;0!==(d&8)&&(d|=c&32);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-gb(b),e=1<<c,d|=a[c],b&=~e;return d} -function nb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return b+5E3;case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} -function ob(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function pb(){var a=jb;jb<<=1;0===(jb&8388480)&&(jb=128);return a}function qb(){var a=kb;kb<<=1;0===(kb&125829120)&&(kb=8388608);return a}function rb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function sb(a,b){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} -function tb(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;var d=a.expirationTimes;for(a=a.hiddenUpdates;0<c;){var e=31-gb(c),f=1<<e;b[e]=0;d[e]=-1;var g=a[e];if(null!==g)for(a[e]=null,e=0;e<g.length;e++){var h=g[e];null!==h&&(h.lane&=-1073741825)}c&=~f}} -function ub(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-gb(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}var F=0;function vb(a,b){var c=F;try{return F=a,b()}finally{F=c}}function wb(a){a&=-a;return 2<a?8<a?0!==(a&268435455)?32:536870912:8:2} -var xb=Object.prototype.hasOwnProperty,yb=Math.random().toString(36).slice(2),zb="__reactFiber$"+yb,Ab="__reactProps$"+yb,Bb="__reactContainer$"+yb,Cb="__reactEvents$"+yb,Db="__reactListeners$"+yb,Eb="__reactHandles$"+yb,Fb="__reactResources$"+yb,Hb="__reactMarker$"+yb;function Ib(a){delete a[zb];delete a[Ab];delete a[Cb];delete a[Db];delete a[Eb]} -function Jb(a){var b=a[zb];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Bb]||c[zb]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kb(a);null!==a;){if(c=a[zb])return c;a=Kb(a)}return b}a=c;c=a.parentNode}return null}function Lb(a){if(a=a[zb]||a[Bb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function Mb(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function Nb(a){return a[Ab]||null} -function Ob(a){var b=a[Fb];b||(b=a[Fb]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function Pb(a){a[Hb]=!0} -var Qb={ARTICLE:"article",ASIDE:"complementary",BODY:"document",BUTTON:"button",DATALIST:"listbox",DD:"definition",DETAILS:"group",DIALOG:"dialog",DT:"term",FIELDSET:"group",FIGURE:"figure",FORM:"form",FOOTER:"contentinfo",H1:"heading",H2:"heading",H3:"heading",H4:"heading",H5:"heading",H6:"heading",HEADER:"banner",HR:"separator",LEGEND:"legend",LI:"listitem",MATH:"math",MAIN:"main",MENU:"list",NAV:"navigation",OL:"list",OPTGROUP:"group",OPTION:"option",OUTPUT:"status",PROGRESS:"progressbar",SECTION:"region", +var B=Object.assign,da=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=da.ReactCurrentDispatcher,fa={pending:!1,data:null,method:null,action:null};function ia(){return ea.current.useHostTransitionStatus()}function ja(a,b,c){return ea.current.useFormState(a,b,c)}var ka=[],la=-1;function ma(a){return{current:a}}function D(a){0>la||(a.current=ka[la],ka[la]=null,la--)}function E(a,b){la++;ka[la]=a.current;a.current=b} +var na=Symbol.for("react.element"),oa=Symbol.for("react.portal"),pa=Symbol.for("react.fragment"),qa=Symbol.for("react.strict_mode"),ra=Symbol.for("react.profiler"),sa=Symbol.for("react.provider"),ta=Symbol.for("react.context"),ua=Symbol.for("react.server_context"),va=Symbol.for("react.forward_ref"),wa=Symbol.for("react.suspense"),xa=Symbol.for("react.suspense_list"),ya=Symbol.for("react.memo"),za=Symbol.for("react.lazy"),Aa=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); +var Ba=Symbol.for("react.offscreen"),Ca=Symbol.for("react.legacy_hidden"),Da=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ea=Symbol.for("react.default_value"),Fa=Symbol.for("react.memo_cache_sentinel"),Ga=Symbol.for("react.postpone"),Ha=Symbol.iterator;function Ia(a){if(null===a||"object"!==typeof a)return null;a=Ha&&a[Ha]||a["@@iterator"];return"function"===typeof a?a:null} +var Ja=ma(null),Ka=ma(null),La=ma(null),Ma=ma(null),Na={$$typeof:ta,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function Oa(a,b){E(La,b);E(Ka,a);E(Ja,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Pa(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Pa(a),b=Qa(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ja);E(Ja,b)} +function Ra(){D(Ja);D(Ka);D(La)}function Sa(a){null!==a.memoizedState&&E(Ma,a);var b=Ja.current;var c=Qa(b,a.type);b!==c&&(E(Ka,a),E(Ja,c))}function Ta(a){Ka.current===a&&(D(Ja),D(Ka));Ma.current===a&&(D(Ma),Na._currentValue=null)} +var Ua=ba.unstable_scheduleCallback,Va=ba.unstable_cancelCallback,Wa=ba.unstable_shouldYield,Xa=ba.unstable_requestPaint,Ya=ba.unstable_now,Za=ba.unstable_getCurrentPriorityLevel,$a=ba.unstable_ImmediatePriority,ab=ba.unstable_UserBlockingPriority,bb=ba.unstable_NormalPriority,cb=ba.unstable_LowPriority,db=ba.unstable_IdlePriority,eb=null,fb=null;function gb(a){if(fb&&"function"===typeof fb.onCommitFiberRoot)try{fb.onCommitFiberRoot(eb,a,void 0,128===(a.current.flags&128))}catch(b){}} +var ib=Math.clz32?Math.clz32:hb,jb=Math.log,kb=Math.LN2;function hb(a){a>>>=0;return 0===a?32:31-(jb(a)/kb|0)|0}var lb=128,mb=4194304; +function nb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456; +case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function ob(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes;a=a.pingedLanes;var f=c&134217727;0!==f?(c=f&~e,0!==c?d=nb(c):(a&=f,0!==a&&(d=nb(a)))):(c&=~e,0!==c?d=nb(c):0!==a&&(d=nb(a)));return 0===d?0:0!==b&&b!==d&&0===(b&e)&&(e=d&-d,a=b&-b,e>=a||32===e&&0!==(a&4194176))?b:d} +function pb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} +function qb(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-536870913;return 0!==a?a:a&536870912?536870912:0}function rb(){var a=mb;mb<<=1;0===(mb&62914560)&&(mb=4194304);return a}function sb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function tb(a,b){a.pendingLanes|=b;268435456!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} +function ub(a,b,c){var d=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;for(var e=a.expirationTimes,f=a.hiddenUpdates;0<d;){var g=31-ib(d),h=1<<g;b[g]=0;e[g]=-1;var k=f[g];if(null!==k)for(f[g]=null,g=0;g<k.length;g++){var p=k[g];null!==p&&(p.lane&=-536870913)}d&=~h}0!==c&&vb(a,c,0)} +function vb(a,b,c){a.pendingLanes|=b;a.suspendedLanes&=~b;var d=31-ib(b);a.entangledLanes|=b;a.entanglements[d]=a.entanglements[d]|1073741824|c}function wb(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-ib(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}function xb(a,b){a.pendingLanes|=2;for(a.entangledLanes|=2;b;){var c=1<<31-ib(b);a.entanglements[1]|=c;b&=~c}}var F=0;function yb(a,b){var c=F;try{return F=a,b()}finally{F=c}} +function zb(a){a&=-a;return 2<a?8<a?0!==(a&134217727)?32:268435456:8:2}var Ab=Object.prototype.hasOwnProperty,Bb=Math.random().toString(36).slice(2),Cb="__reactFiber$"+Bb,Db="__reactProps$"+Bb,Eb="__reactContainer$"+Bb,Fb="__reactEvents$"+Bb,Gb="__reactListeners$"+Bb,Ib="__reactHandles$"+Bb,Jb="__reactResources$"+Bb,Kb="__reactMarker$"+Bb;function Lb(a){delete a[Cb];delete a[Db];delete a[Fb];delete a[Gb];delete a[Ib]} +function Mb(a){var b=a[Cb];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Eb]||c[Cb]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Nb(a);null!==a;){if(c=a[Cb])return c;a=Nb(a)}return b}a=c;c=a.parentNode}return null}function Ob(a){if(a=a[Cb]||a[Eb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function Pb(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function Qb(a){return a[Db]||null} +function Rb(a){var b=a[Jb];b||(b=a[Jb]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function Sb(a){a[Kb]=!0} +var Tb={ARTICLE:"article",ASIDE:"complementary",BODY:"document",BUTTON:"button",DATALIST:"listbox",DD:"definition",DETAILS:"group",DIALOG:"dialog",DT:"term",FIELDSET:"group",FIGURE:"figure",FORM:"form",FOOTER:"contentinfo",H1:"heading",H2:"heading",H3:"heading",H4:"heading",H5:"heading",H6:"heading",HEADER:"banner",HR:"separator",LEGEND:"legend",LI:"listitem",MATH:"math",MAIN:"main",MENU:"list",NAV:"navigation",OL:"list",OPTGROUP:"group",OPTION:"option",OUTPUT:"status",PROGRESS:"progressbar",SECTION:"region", SUMMARY:"button",TABLE:"table",TBODY:"rowgroup",TEXTAREA:"textbox",TFOOT:"rowgroup",TD:"cell",TH:"columnheader",THEAD:"rowgroup",TR:"row",UL:"list"}; -function Rb(a){var b=Qb[a.tagName];if(void 0!==b)return b;switch(a.tagName){case "A":case "AREA":case "LINK":if(a.hasAttribute("href"))return"link";break;case "IMG":if(0<(a.getAttribute("alt")||"").length)return"img";break;case "INPUT":switch(b=a.type,b){case "button":case "image":case "reset":case "submit":return"button";case "checkbox":case "radio":return b;case "range":return"slider";case "email":case "tel":case "text":case "url":return a.hasAttribute("list")?"combobox":"textbox";case "search":return a.hasAttribute("list")? -"combobox":"searchbox";default:return null}case "SELECT":return a.hasAttribute("multiple")||1<a.size?"listbox":"combobox"}return null}var Sb=new Set,Tb={};function Ub(a,b){Vb(a,b);Vb(a+"Capture",b)}function Vb(a,b){Tb[a]=b;for(a=0;a<b.length;a++)Sb.add(b[a])} -var Wb=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),Xb=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Yb= -{},Zb={};function $b(a){if(xb.call(Zb,a))return!0;if(xb.call(Yb,a))return!1;if(Xb.test(a))return Zb[a]=!0;Yb[a]=!0;return!1}function ac(a,b,c){if($b(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} -function bc(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function cc(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var dc; -function ec(a){if(void 0===dc)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);dc=b&&b[1]||""}return"\n"+dc+a}var fc=!1; -function gc(a,b){if(!a||fc)return"";fc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& -d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,k=g.length-1;1<=h&&0<=k&&f[h]!==g[k];)k--;for(;1<=h&&0<=k;h--,k--)if(f[h]!==g[k]){if(1!==h||1!==k){do if(h--,k--,0>k||f[h]!==g[k]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=k)}break}}}finally{fc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?ec(a):""} -function hc(a){switch(a.tag){case 26:case 27:case 5:return ec(a.type);case 16:return ec("Lazy");case 13:return ec("Suspense");case 19:return ec("SuspenseList");case 0:case 2:case 15:return a=gc(a.type,!1),a;case 11:return a=gc(a.type.render,!1),a;case 1:return a=gc(a.type,!0),a;default:return""}} -function ic(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case na:return"Fragment";case ma:return"Portal";case pa:return"Profiler";case oa:return"StrictMode";case ua:return"Suspense";case va:return"SuspenseList";case Ba:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ra:return(a.displayName||"Context")+".Consumer";case qa:return(a._context.displayName||"Context")+".Provider";case ta:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case wa:return b=a.displayName||null,null!==b?b:ic(a.type)||"Memo";case xa:b=a._payload;a=a._init;try{return ic(a(b))}catch(c){break}case sa:return(a.displayName||a._globalName)+".Provider"}return null} -function jc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ic(b);case 8:return b===oa?"StrictMode":"Mode"; -case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function kc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} -function lc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} -function mc(a){var b=lc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= -null;delete a[b]}}}}function nc(a){a._valueTracker||(a._valueTracker=mc(a))}function oc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=lc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function pc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var qc=/[\n"\\]/g; -function rc(a){return a.replace(qc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} -function sc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+kc(b)}else a.value!==""+kc(b)&&(a.value=""+kc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?tc(a,g,kc(b)):null!=c?tc(a,g,kc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&a.checked!==!!e&&(a.checked=e);null!=h&&"function"!== -typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+kc(h):a.removeAttribute("name")} -function uc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+kc(c):"";b=null!=b?""+kc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;h||(a.checked=!!d);a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} -function tc(a,b,c){"number"===b&&pc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var vc=Array.isArray; -function wc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+kc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} -function xc(a,b,c){if(null!=b&&(b=""+kc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+kc(c):""}function yc(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(vc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=kc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)} -function zc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Ac=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); -function Bc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||Ac.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} -function Cc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&Bc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&Bc(a,f,b[f])} -function Dc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} -var Ec=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], +function Ub(a){var b=Tb[a.tagName];if(void 0!==b)return b;switch(a.tagName){case "A":case "AREA":case "LINK":if(a.hasAttribute("href"))return"link";break;case "IMG":if(0<(a.getAttribute("alt")||"").length)return"img";break;case "INPUT":switch(b=a.type,b){case "button":case "image":case "reset":case "submit":return"button";case "checkbox":case "radio":return b;case "range":return"slider";case "email":case "tel":case "text":case "url":return a.hasAttribute("list")?"combobox":"textbox";case "search":return a.hasAttribute("list")? +"combobox":"searchbox";default:return null}case "SELECT":return a.hasAttribute("multiple")||1<a.size?"listbox":"combobox"}return null}var Vb=new Set,Wb={};function Xb(a,b){Yb(a,b);Yb(a+"Capture",b)}function Yb(a,b){Wb[a]=b;for(a=0;a<b.length;a++)Vb.add(b[a])} +var Zb=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),$b=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ac= +{},bc={};function cc(a){if(Ab.call(bc,a))return!0;if(Ab.call(ac,a))return!1;if($b.test(a))return bc[a]=!0;ac[a]=!0;return!1}function dc(a,b,c){if(cc(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} +function ec(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function fc(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var gc; +function hc(a){if(void 0===gc)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);gc=b&&b[1]||""}return"\n"+gc+a}var ic=!1; +function jc(a,b){if(!a||ic)return"";ic=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& +d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,k=g.length-1;1<=h&&0<=k&&f[h]!==g[k];)k--;for(;1<=h&&0<=k;h--,k--)if(f[h]!==g[k]){if(1!==h||1!==k){do if(h--,k--,0>k||f[h]!==g[k]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=k)}break}}}finally{ic=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?hc(a):""} +function kc(a){switch(a.tag){case 26:case 27:case 5:return hc(a.type);case 16:return hc("Lazy");case 13:return hc("Suspense");case 19:return hc("SuspenseList");case 0:case 2:case 15:return a=jc(a.type,!1),a;case 11:return a=jc(a.type.render,!1),a;case 1:return a=jc(a.type,!0),a;default:return""}} +function lc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:lc(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return lc(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} +function mc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return lc(b);case 8:return b===qa?"StrictMode":"Mode"; +case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function nc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} +function oc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} +function pc(a){var b=oc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= +null;delete a[b]}}}}function qc(a){a._valueTracker||(a._valueTracker=pc(a))}function rc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=oc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function sc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var tc=/[\n"\\]/g; +function uc(a){return a.replace(tc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} +function vc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+nc(b)}else a.value!==""+nc(b)&&(a.value=""+nc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?wc(a,g,nc(b)):null!=c?wc(a,g,nc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== +typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+nc(h):a.removeAttribute("name")} +function xc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+nc(c):"";b=null!=b?""+nc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} +function wc(a,b,c){"number"===b&&sc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var yc=Array.isArray; +function zc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+nc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} +function Ac(a,b,c){if(null!=b&&(b=""+nc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+nc(c):""}function Bc(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(yc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=nc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)} +function Cc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Dc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); +function Ec(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||Dc.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} +function Fc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&Ec(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&Ec(a,f,b[f])} +function Gc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} +var Hc=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fc=null;function Gc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Hc=null,Ic=null; -function Jc(a){var b=Lb(a);if(b&&(a=b.stateNode)){var c=Nb(a);a:switch(a=b.stateNode,b.type){case "input":sc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+rc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Nb(d);if(!e)throw Error(t(90));sc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, -e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&oc(d)}break a;case "textarea":xc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&wc(a,!!c.multiple,b,!1)}}}function Kc(a){Hc?Ic?Ic.push(a):Ic=[a]:Hc=a}function Lc(){if(Hc){var a=Hc,b=Ic;Ic=Hc=null;Jc(a);if(b)for(a=0;a<b.length;a++)Jc(b[a])}}function Mc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} -function Nc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Oc(a){if(Mc(a)!==a)throw Error(t(188));} -function Pc(a){var b=a.alternate;if(!b){b=Mc(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Oc(e),a;if(f===d)return Oc(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== -c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function Qc(a){a=Pc(a);return null!==a?Rc(a):null}function Rc(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=Rc(a);if(null!==b)return b;a=a.sibling}return null}var Sc={},Tc=ka(Sc),Uc=ka(!1),Vc=Sc; -function Wc(a,b){var c=a.type.contextTypes;if(!c)return Sc;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function Xc(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Yc(){D(Uc);D(Tc)} -function Zc(a,b,c){if(Tc.current!==Sc)throw Error(t(168));E(Tc,b);E(Uc,c)}function $c(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,jc(a)||"Unknown",e));return C({},c,d)}function ad(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Sc;Vc=Tc.current;E(Tc,a);E(Uc,Uc.current);return!0} -function bd(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=$c(a,b,Vc),d.__reactInternalMemoizedMergedChildContext=a,D(Uc),D(Tc),E(Tc,a)):D(Uc);E(Uc,c)}function cd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var dd="function"===typeof Object.is?Object.is:cd,ed=[],fd=0,gd=null,hd=0,id=[],jd=0,kd=null,ld=1,md="";function nd(a,b){ed[fd++]=hd;ed[fd++]=gd;gd=a;hd=b} -function od(a,b,c){id[jd++]=ld;id[jd++]=md;id[jd++]=kd;kd=a;var d=ld;a=md;var e=32-gb(d)-1;d&=~(1<<e);c+=1;var f=32-gb(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;ld=1<<32-gb(b)+e|c<<e|d;md=f+a}else ld=1<<f|c<<e|d,md=a}function pd(a){null!==a.return&&(nd(a,1),od(a,1,0))}function qd(a){for(;a===gd;)gd=ed[--fd],ed[fd]=null,hd=ed[--fd],ed[fd]=null;for(;a===kd;)kd=id[--jd],id[jd]=null,md=id[--jd],id[jd]=null,ld=id[--jd],id[jd]=null}var G=null,J=null,K=!1,rd=null,sd=!1; -function td(a,b){var c=ud(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function vd(a,b){b.flags=b.flags&-4097|2}function wd(a,b){b=xd(b,a.type,a.pendingProps,sd);return null!==b?(a.stateNode=b,G=a,J=yd(b.firstChild),sd=!1,!0):!1}function zd(a,b){b=Ad(b,a.pendingProps,sd);return null!==b?(a.stateNode=b,G=a,J=null,!0):!1} -function Bd(a,b){a:{var c=b;for(b=sd;8!==c.nodeType;){if(!b){b=null;break a}c=Cd(c);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==kd?{id:ld,overflow:md}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:1073741824},c=ud(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,G=a,J=null,!0):!1}function Dd(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Ed(){throw Error(t(418));} -function Fd(){if(!K)return!1;if(J){a:{var a=J;for(var b=sd;8!==a.nodeType;){if(!b){a=null;break a}a=Cd(a);if(null===a){a=null;break a}}b=a.data;a="F!"===b||"F"===b?a:null}if(a)return J=Cd(a),"F!"===a.data}Ed();return!1}function Gd(a){for(G=a.return;G;)switch(G.tag){case 3:case 27:sd=!0;return;case 5:case 13:sd=!1;return;default:G=G.return}} -function Hd(a){if(a!==G)return!1;if(!K)return Gd(a),K=!0,!1;var b=!1,c;if(c=3!==a.tag&&27!==a.tag){if(c=5===a.tag)c=a.type,c=!("form"!==c&&"button"!==c)||Id(a.type,a.memoizedProps);c=!c}c&&(b=!0);if(b&&(b=J))if(Dd(a))Jd(),Ed();else for(;b;)td(a,b),b=Cd(b);Gd(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType)if(c=a.data,"/$"===c){if(0===b){J=Cd(a);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++;a=a.nextSibling}J= -null}}else J=G?Cd(a.stateNode):null;return!0}function Jd(){for(var a=J;a;)a=Cd(a)}function Kd(){J=G=null;K=!1}function Ld(a){null===rd?rd=[a]:rd.push(a)}var Md=[],Nd=0,Od=0;function Pd(){for(var a=Nd,b=Od=Nd=0;b<a;){var c=Md[b];Md[b++]=null;var d=Md[b];Md[b++]=null;var e=Md[b];Md[b++]=null;var f=Md[b];Md[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&Qd(c,e,f)}} -function Rd(a,b,c,d){Md[Nd++]=a;Md[Nd++]=b;Md[Nd++]=c;Md[Nd++]=d;Od|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function Sd(a,b,c,d){Rd(a,b,c,d);return Td(a)}function Ud(a,b){Rd(a,null,null,b);return Td(a)} -function Qd(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-gb(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|1073741824)}function Td(a){if(50<Vd)throw Vd=0,Wd=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} -var Xd=!1;function Yd(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zd(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function $d(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} -function ae(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(L&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=Td(a);Qd(a,null,c);return b}Rd(a,d,b,c);return Td(a)}function be(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&8388480))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;ub(a,c)}} -function ce(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} -function de(a,b,c,d){var e=a.updateQueue;Xd=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,p=k.next;k.next=null;null===g?f=p:g.next=p;g=k;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=k))}if(null!==f){var w=e.baseState;g=0;q=p=k=null;h=f;do{var r=h.lane&-1073741825,u=r!==h.lane;if(u?(M&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, -callback:null,next:null});a:{var z=a,B=h;r=b;var V=c;switch(B.tag){case 1:z=B.payload;if("function"===typeof z){w=z.call(V,w,r);break a}w=z;break a;case 3:z.flags=z.flags&-65537|128;case 0:z=B.payload;r="function"===typeof z?z.call(V,w,r):z;if(null===r||void 0===r)break a;w=C({},w,r);break a;case 2:Xd=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, -k=w):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(k=w);e.baseState=k;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);ee|=g;a.lanes=g;a.memoizedState=w}}function fe(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function ge(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)fe(c[a],b)} -function he(a,b){if(dd(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!xb.call(b,e)||!dd(a[e],b[e]))return!1}return!0}var ie=Error(t(460)),je=Error(t(474)),ke={then:function(){}};function le(a){a=a.status;return"fulfilled"===a||"rejected"===a}function me(){} -function ne(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(me,me),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===ie)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(me,me);else{a=N;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; -case "rejected":a=b.reason;if(a===ie)throw Error(t(483));throw a;}}oe=b;throw ie;}}var oe=null;function pe(){if(null===oe)throw Error(t(459));var a=oe;oe=null;return a}var qe=null,re=0;function se(a){var b=re;re+=1;null===qe&&(qe=[]);return ne(qe,a,b)} -function te(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} -function ue(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function ve(a){var b=a._init;return b(a._payload)} -function we(a){function b(m,l){if(a){var n=m.deletions;null===n?(m.deletions=[l],m.flags|=16):n.push(l)}}function c(m,l){if(!a)return null;for(;null!==l;)b(m,l),l=l.sibling;return null}function d(m,l){for(m=new Map;null!==l;)null!==l.key?m.set(l.key,l):m.set(l.index,l),l=l.sibling;return m}function e(m,l){m=xe(m,l);m.index=0;m.sibling=null;return m}function f(m,l,n){m.index=n;if(!a)return m.flags|=1048576,l;n=m.alternate;if(null!==n)return n=n.index,n<l?(m.flags|=33554434,l):n;m.flags|=33554434;return l} -function g(m){a&&null===m.alternate&&(m.flags|=33554434);return m}function h(m,l,n,v){if(null===l||6!==l.tag)return l=ye(n,m.mode,v),l.return=m,l;l=e(l,n);l.return=m;return l}function k(m,l,n,v){var x=n.type;if(x===na)return q(m,l,n.props.children,v,n.key);if(null!==l&&(l.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===xa&&ve(x)===l.type))return v=e(l,n.props),v.ref=te(m,l,n),v.return=m,v;v=ze(n.type,n.key,n.props,null,null,m.mode,v);v.ref=te(m,l,n);v.return=m;return v}function p(m,l, -n,v){if(null===l||4!==l.tag||l.stateNode.containerInfo!==n.containerInfo||l.stateNode.implementation!==n.implementation)return l=Ae(n,m.mode,v),l.return=m,l;l=e(l,n.children||[]);l.return=m;return l}function q(m,l,n,v,x){if(null===l||7!==l.tag)return l=Be(n,m.mode,v,x),l.return=m,l;l=e(l,n);l.return=m;return l}function w(m,l,n){if("string"===typeof l&&""!==l||"number"===typeof l)return l=ye(""+l,m.mode,n),l.return=m,l;if("object"===typeof l&&null!==l){switch(l.$$typeof){case la:return n=ze(l.type, -l.key,l.props,null,null,m.mode,n),n.ref=te(m,null,l),n.return=m,n;case ma:return l=Ae(l,m.mode,n),l.return=m,l;case xa:var v=l._init;return w(m,v(l._payload),n)}if(vc(l)||Ga(l))return l=Be(l,m.mode,n,null),l.return=m,l;if("function"===typeof l.then)return w(m,se(l),n);if(l.$$typeof===ra||l.$$typeof===sa)return w(m,Ce(m,l,n),n);ue(m,l)}return null}function r(m,l,n,v){var x=null!==l?l.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==x?null:h(m,l,""+n,v);if("object"===typeof n&& -null!==n){switch(n.$$typeof){case la:return n.key===x?k(m,l,n,v):null;case ma:return n.key===x?p(m,l,n,v):null;case xa:return x=n._init,r(m,l,x(n._payload),v)}if(vc(n)||Ga(n))return null!==x?null:q(m,l,n,v,null);if("function"===typeof n.then)return r(m,l,se(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return r(m,l,Ce(m,n,v),v);ue(m,n)}return null}function u(m,l,n,v,x){if("string"===typeof v&&""!==v||"number"===typeof v)return m=m.get(n)||null,h(l,m,""+v,x);if("object"===typeof v&&null!==v){switch(v.$$typeof){case la:return m= -m.get(null===v.key?n:v.key)||null,k(l,m,v,x);case ma:return m=m.get(null===v.key?n:v.key)||null,p(l,m,v,x);case xa:var A=v._init;return u(m,l,n,A(v._payload),x)}if(vc(v)||Ga(v))return m=m.get(n)||null,q(l,m,v,x,null);if("function"===typeof v.then)return u(m,l,n,se(v),x);if(v.$$typeof===ra||v.$$typeof===sa)return u(m,l,n,Ce(l,v,x),x);ue(l,v)}return null}function z(m,l,n,v){for(var x=null,A=null,y=l,H=l=0,ha=null;null!==y&&H<n.length;H++){y.index>H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== -I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);l=f(I,l,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&nd(m,H),x;if(null===y){for(;H<n.length;H++)y=w(m,n[H],v),null!==y&&(l=f(y,l,H),null===A?x=y:A.sibling=y,A=y);K&&nd(m,H);return x}for(y=d(m,y);H<n.length;H++)ha=u(y,m,H,n[H],v),null!==ha&&(a&&null!==ha.alternate&&y.delete(null===ha.key?H:ha.key),l=f(ha,l,H),null===A?x=ha:A.sibling=ha,A=ha);a&&y.forEach(function(Gb){return b(m,Gb)});K&&nd(m,H);return x}function B(m, -l,n,v){var x=Ga(n);if("function"!==typeof x)throw Error(t(150));n=x.call(n);if(null==n)throw Error(t(151));for(var A=x=null,y=l,H=l=0,ha=null,I=n.next();null!==y&&!I.done;H++,I=n.next()){y.index>H?(ha=y,y=null):ha=y.sibling;var Gb=r(m,y,I.value,v);if(null===Gb){null===y&&(y=ha);break}a&&y&&null===Gb.alternate&&b(m,y);l=f(Gb,l,H);null===A?x=Gb:A.sibling=Gb;A=Gb;y=ha}if(I.done)return c(m,y),K&&nd(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(l=f(I,l,H),null===A?x=I:A.sibling= -I,A=I);K&&nd(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),l=f(I,l,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(Ym){return b(m,Ym)});K&&nd(m,H);return x}function V(m,l,n,v){"object"===typeof n&&null!==n&&n.type===na&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case la:a:{for(var x=n.key,A=l;null!==A;){if(A.key===x){x=n.type;if(x===na){if(7===A.tag){c(m,A.sibling); -l=e(A,n.props.children);l.return=m;m=l;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===xa&&ve(x)===A.type){c(m,A.sibling);l=e(A,n.props);l.ref=te(m,A,n);l.return=m;m=l;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===na?(l=Be(n.props.children,m.mode,v,n.key),l.return=m,m=l):(v=ze(n.type,n.key,n.props,null,null,m.mode,v),v.ref=te(m,l,n),v.return=m,m=v)}return g(m);case ma:a:{for(A=n.key;null!==l;){if(l.key===A)if(4===l.tag&&l.stateNode.containerInfo===n.containerInfo&& -l.stateNode.implementation===n.implementation){c(m,l.sibling);l=e(l,n.children||[]);l.return=m;m=l;break a}else{c(m,l);break}else b(m,l);l=l.sibling}l=Ae(n,m.mode,v);l.return=m;m=l}return g(m);case xa:return A=n._init,Q(m,l,A(n._payload),v)}if(vc(n))return z(m,l,n,v);if(Ga(n))return B(m,l,n,v);if("function"===typeof n.then)return V(m,l,se(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return V(m,l,Ce(m,n,v),v);ue(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==l&&6===l.tag?(c(m, -l.sibling),l=e(l,n),l.return=m,m=l):(c(m,l),l=ye(n,m.mode,v),l.return=m,m=l),g(m)):c(m,l)}function Q(m,l,n,v){re=0;m=V(m,l,n,v);qe=null;return m}return Q}var De=we(!0),Ee=we(!1),Fe=ka(null),Ge=ka(0);function He(a,b){a=Ie;E(Ge,a);E(Fe,b);Ie=a|b.baseLanes}function Je(){E(Ge,Ie);E(Fe,Fe.current)}function Ke(){Ie=Ge.current;D(Fe);D(Ge)}var Le=ka(null),Me=null;function Ne(a){var b=a.alternate;E(Oe,Oe.current&1);E(Le,a);null===Me&&(null===b||null!==Fe.current?Me=a:null!==b.memoizedState&&(Me=a))} -function Pe(a){if(22===a.tag){if(E(Oe,Oe.current),E(Le,a),null===Me){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Me=a)}}else Qe(a)}function Qe(){E(Oe,Oe.current);E(Le,Le.current)}function Re(a){D(Le);Me===a&&(Me=null);D(Oe)}var Oe=ka(0); -function Se(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Te=null,Ue=null,Ve=!1,We=!1,Xe=!1,Ye=0; -function Ze(a){a!==Ue&&null===a.next&&(null===Ue?Te=Ue=a:Ue=Ue.next=a);We=!0;Ve||(Ve=!0,$e(af))} -function bf(a){if(!Xe&&We){var b=null;Xe=!0;do{var c=!1;for(var d=Te;null!==d;){if(!a||0===d.tag){var e=M,f=mb(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!cf()){var g=df(e,f);if(0!==e.tag&&2===g){var h=f,k=ob(e,h);0!==k&&(f=k,g=ef(e,h,k))}if(1===g)throw h=ff,gf(e,0),hf(e,f),Ze(e),h;6===g?hf(e,f):(e.finishedWork=e.current.alternate,e.finishedLanes=f,jf(e,kf,lf))}Ze(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);Xe=!1;if(null!==b){if(1<b.length){if("function"=== -typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)$e(mf.bind(null,b[a]))}throw b[0];}}}function mf(a){throw a;}function af(){We=Ve=!1;for(var a=Wa(),b=null,c=Te;null!==c;){var d=c.next;0!==Ye&&window.event&&"popstate"===window.event.type&&ub(c,Ye|2);var e=nf(c,a);0===e?(c.next=null,null===b?Te=d:b.next=d,null===d&&(Ue=b)):(b=c,0!==(e&3)&&(We=!0));c=d}Ye=0;bf(!1)} -function nf(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-125829121;0<f;){var g=31-gb(f),h=1<<g,k=e[g];if(-1===k){if(0===(h&c)||0!==(h&d))e[g]=nb(h,b)}else k<=b&&(a.expiredLanes|=h);f&=~h}b=N;c=M;c=mb(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===O||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Ta(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Ta(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b=== -a.callbackPriority)return b;null!==d&&Ta(d);switch(wb(c)){case 2:c=Ya;break;case 8:c=Za;break;case 32:c=$a;break;case 536870912:c=bb;break;default:c=$a}d=of.bind(null,a);c=Sa(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function $e(a){pf(function(){0!==(L&6)?Sa(Ya,a):a()})}function qf(){0===Ye&&(Ye=pb());return Ye}var rf=null,sf=0,tf=0; -function uf(a,b){if(null===rf){var c=rf=[];sf=0;tf=qf()}else c=rf;sf++;var d=vf(c),e="pending",f,g;a.then(function(h){e="fulfilled";f=null!==b?b:h;wf()},function(h){e="rejected";g=h;wf()});c.push(function(){switch(e){case "fulfilled":d.status="fulfilled";d.value=f;break;case "rejected":d.status="rejected";d.reason=g;break;default:throw Error(t(478));}});return d}function xf(a,b){var c=null!==b?b:a;if(null===rf)return c;a=rf;var d=vf(a);a.push(function(){d.status="fulfilled";d.value=c});return d} -function wf(){if(null!==rf&&0===--sf){var a=rf;rf=null;for(var b=tf=0;b<a.length;b++)(0,a[b])()}}function vf(a){return{status:"pending",value:null,reason:null,then:function(b){a.push(b)}}}var yf=da.ReactCurrentDispatcher,zf=da.ReactCurrentBatchConfig,Af=0,P=null,R=null,S=null,Bf=!1,Cf=!1,Df=!1,Ef=0,Ff=0,Gf=null,Hf=0;function T(){throw Error(t(321));}function If(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!dd(a[c],b[c]))return!1;return!0} -function Jf(a,b,c,d,e,f){Af=f;P=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;yf.current=null===a||null===a.memoizedState?Kf:Lf;Df=!1;a=c(d,e);Df=!1;Cf&&(a=Mf(b,c,d,e));Nf();return a}function Nf(){yf.current=Of;var a=null!==R&&null!==R.next;Af=0;S=R=P=null;Bf=!1;Ff=0;Gf=null;if(a)throw Error(t(300));}function Mf(a,b,c,d){P=a;var e=0;do{Cf&&(Gf=null);Ff=0;Cf=!1;if(25<=e)throw Error(t(301));e+=1;S=R=null;a.updateQueue=null;yf.current=Pf;var f=b(c,d)}while(Cf);return f} -function Qf(){var a=yf.current.useState()[0];return"function"===typeof a.then?Rf(a):a}function Sf(){var a=0!==Ef;Ef=0;return a}function Tf(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function Uf(a){if(Bf){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}Bf=!1}Af=0;S=R=P=null;Cf=!1;Ff=Ef=0;Gf=null}function Vf(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===S?P.memoizedState=S=a:S=S.next=a;return S} -function Wf(){if(null===R){var a=P.alternate;a=null!==a?a.memoizedState:null}else a=R.next;var b=null===S?P.memoizedState:S.next;if(null!==b)S=b,R=a;else{if(null===a){if(null===P.alternate)throw Error(t(467));throw Error(t(310));}R=a;a={memoizedState:R.memoizedState,baseState:R.baseState,baseQueue:R.baseQueue,queue:R.queue,next:null};null===S?P.memoizedState=S=a:S=S.next=a}return S}var Xf;Xf=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}}; -function Rf(a){var b=Ff;Ff+=1;null===Gf&&(Gf=[]);a=ne(Gf,a,b);null===P.alternate&&(null===S?null===P.memoizedState:null===S.next)&&(yf.current=Kf);return a}function Yf(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Rf(a);if(a.$$typeof===ra||a.$$typeof===sa)return Zf(a)}throw Error(t(438,String(a)));} -function $f(a){var b=null,c=P.updateQueue;null!==c&&(b=c.memoCache);if(null==b){var d=P.alternate;null!==d&&(d=d.updateQueue,null!==d&&(d=d.memoCache,null!=d&&(b={data:d.data.map(function(e){return e.slice()}),index:0})))}null==b&&(b={data:[],index:0});null===c&&(c=Xf(),P.updateQueue=c);c.memoCache=b;c=b.data[b.index];if(void 0===c)for(c=b.data[b.index]=Array(a),d=0;d<a;d++)c[d]=Da;b.index++;return c}function ag(a,b){return"function"===typeof b?b(a):b}function bg(a){var b=Wf();return cg(b,R,a)} -function cg(a,b,c){var d=a.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=c;var e=a.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}b.baseQueue=e=f;d.pending=null}if(null!==e){b=e.next;f=a.baseState;var h=g=null,k=null,p=b;do{var q=p.lane&-1073741825;if(q!==p.lane?(M&q)===q:(Af&q)===q){q=p.revertLane;if(0===q)null!==k&&(k=k.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null});else if((Af&q)===q){p= -p.next;continue}else{var w={lane:0,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===k?(h=k=w,g=f):k=k.next=w;P.lanes|=q;ee|=q}q=p.action;Df&&c(f,q);f=p.hasEagerState?p.eagerState:c(f,q)}else w={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},null===k?(h=k=w,g=f):k=k.next=w,P.lanes|=q,ee|=q;p=p.next}while(null!==p&&p!==b);null===k?g=f:k.next=h;dd(f,a.memoizedState)||(dg=!0); -a.memoizedState=f;a.baseState=g;a.baseQueue=k;d.lastRenderedState=f}null===e&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function eg(a){var b=Wf(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);dd(f,b.memoizedState)||(dg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} -function fg(a,b,c){var d=P,e=Wf(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!dd((R||e).memoizedState,c);g&&(e.memoizedState=c,dg=!0);e=e.queue;gg(hg.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==S&&S.memoizedState.tag&1){d.flags|=2048;ig(9,jg.bind(null,d,e,c,b),{destroy:void 0},null);if(null===N)throw Error(t(349));f||0!==(Af&60)||kg(d,b,c)}return c} -function kg(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=P.updateQueue;null===b?(b=Xf(),P.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function jg(a,b,c,d){b.value=c;b.getSnapshot=d;lg(b)&&mg(a)}function hg(a,b,c){return c(function(){lg(b)&&mg(a)})}function lg(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!dd(a,c)}catch(d){return!0}}function mg(a){var b=Ud(a,2);null!==b&&ng(b,a,2)} -function og(a){var b=Vf();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ag,lastRenderedState:a};return b}function pg(a,b,c,d){a.baseState=a.memoizedState=c;return cg(a,R,"function"===typeof d?d:ag)}function qg(a,b,c,d){if(rg(a))throw Error(t(485));a=b.pending;null===a?(a={payload:d,next:null},a.next=b.pending=a,sg(b,c,d)):a.next={payload:d,next:a.next}} -function sg(a,b,c){var d=a.action,e=a.state,f=zf.transition;zf.transition={};try{var g=d(e,c);g.then(function(k){a.state=k;tg(a,b)},function(){return tg(a,b)});var h=uf(g,null);b(h)}finally{zf.transition=f}}function tg(a,b){var c=a.pending;if(null!==c){var d=c.next;d===c?a.pending=null:(d=d.next,c.next=d,sg(a,b,d.payload))}}function ug(a,b){return b} -function vg(a,b,c){a=cg(a,b,ug)[0];a=Rf(a);b=Wf();var d=b.queue,e=d.dispatch;c!==b.memoizedState&&(P.flags|=2048,ig(9,wg.bind(null,d,c),{destroy:void 0},null));return[a,e]}function wg(a,b){a.action=b}function ig(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=P.updateQueue;null===b?(b=Xf(),P.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function xg(){return Wf().memoizedState} -function yg(a,b,c,d){var e=Vf();P.flags|=a;e.memoizedState=ig(1|b,c,{destroy:void 0},void 0===d?null:d)}function zg(a,b,c,d){var e=Wf();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==R&&null!==d&&If(d,R.memoizedState.deps)?e.memoizedState=ig(b,c,f,d):(P.flags|=a,e.memoizedState=ig(1|b,c,f,d))}function Ag(a,b){yg(8390656,8,a,b)}function gg(a,b){zg(2048,8,a,b)} -function Bg(a){P.flags|=4;var b=P.updateQueue;if(null===b)b=Xf(),P.updateQueue=b,b.events=[a];else{var c=b.events;null===c?b.events=[a]:c.push(a)}}function Cg(a){var b=Wf().memoizedState;Bg({ref:b,nextImpl:a});return function(){if(0!==(L&2))throw Error(t(440));return b.impl.apply(void 0,arguments)}}function Dg(a,b){return zg(4,2,a,b)}function Eg(a,b){return zg(4,4,a,b)} -function Fg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Gg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;zg(4,4,Fg.bind(null,b,a),c)}function Hg(){}function Ig(a,b){var c=Wf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&If(b,d[1]))return d[0];c.memoizedState=[a,b];return a} -function Jg(a,b){var c=Wf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&If(b,d[1]))return d[0];Df&&a();a=a();c.memoizedState=[a,b];return a}function Kg(a,b,c){if(0===(Af&42))return a.baseState&&(a.baseState=!1,dg=!0),a.memoizedState=c;dd(c,b)||(c=pb(),P.lanes|=c,ee|=c,a.baseState=!0);return b} -function Lg(a,b,c,d,e){var f=F;F=0!==f&&8>f?f:8;var g=zf.transition;Mg(a,!1,b,c);zf.transition={};try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var k=uf(h,d);Ng(a,b,k)}else{var p=xf(h,d);Ng(a,b,p)}}catch(q){Ng(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,zf.transition=g}} -function Og(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ag,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Lg(a,f,b,fa,function(){return c(d)})}function Pg(){var a=Zf(La);return null!==a?a:fa}function Qg(){return Wf().memoizedState} -function Rg(){return Wf().memoizedState}function Sg(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=Tg(d);a=$d(e);var f=ae(d,a,e);null!==f&&(ng(f,d,e),be(f,d,e));d=Ug();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function Vg(a,b,c){var d=Tg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};rg(a)?Wg(b,c):(c=Sd(a,b,c,d),null!==c&&(ng(c,a,d),Xg(c,b,d)))} -function Ng(a,b,c){var d=Tg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(rg(a))Wg(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(dd(h,g)){Rd(a,b,e,0);null===N&&Pd();return}}catch(k){}finally{}c=Sd(a,b,e,d);null!==c&&(ng(c,a,d),Xg(c,b,d))}} -function Mg(a,b,c,d){d={lane:2,revertLane:qf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(rg(a)){if(b)throw Error(t(479));}else b=Sd(a,c,d,2),null!==b&&ng(b,a,2)}function rg(a){var b=a.alternate;return a===P||null!==b&&b===P}function Wg(a,b){Cf=Bf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Xg(a,b,c){if(0!==(c&8388480)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;ub(a,c)}} -var Of={readContext:Zf,use:Yf,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useInsertionEffect:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,useDebugValue:T,useDeferredValue:T,useTransition:T,useSyncExternalStore:T,useId:T};Of.useCacheRefresh=T;Of.useMemoCache=T;Of.useEffectEvent=T;Of.useHostTransitionStatus=T;Of.useFormState=T;Of.useOptimistic=T; -var Kf={readContext:Zf,use:Yf,useCallback:function(a,b){Vf().memoizedState=[a,void 0===b?null:b];return a},useContext:Zf,useEffect:Ag,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;yg(4194308,4,Fg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return yg(4194308,4,a,b)},useInsertionEffect:function(a,b){yg(4,2,a,b)},useMemo:function(a,b){var c=Vf();b=void 0===b?null:b;Df&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Vf();b=void 0!==c?c(b): -b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Vg.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Vf();a={current:a};return b.memoizedState=a},useState:function(a){a=og(a);var b=a.queue,c=Ng.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Hg,useDeferredValue:function(a){return Vf().memoizedState=a},useTransition:function(){var a=og(!1);a=Lg.bind(null,P,a.queue,!0,!1);Vf().memoizedState= -a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Vf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(Af&60)||kg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Ag(hg.bind(null,d,f,a),[a]);d.flags|=2048;ig(9,jg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Vf(),b=N.identifierPrefix;if(K){var c=md;var d=ld;c=(d&~(1<<32-gb(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Ef++;0<c&&(b+="H"+c.toString(32)); -b+=":"}else c=Hf++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return Vf().memoizedState=Sg.bind(null,P)}};Kf.useMemoCache=$f;Kf.useEffectEvent=function(a){var b=Vf(),c={impl:a};b.memoizedState=c;return function(){if(0!==(L&2))throw Error(t(440));return c.impl.apply(void 0,arguments)}};Kf.useHostTransitionStatus=Pg; -Kf.useFormState=function(a,b){if(K){var c=N.formState;null!==c&&Fd()&&(b=c[0])}var d={status:"fulfilled",value:b,then:function(){}};c=Vf();c.memoizedState=c.baseState=d;d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ug,lastRenderedState:d};c.queue=d;c=Ng.bind(null,P,d);d.dispatch=c;d=Vf();var e={state:b,dispatch:null,action:a,pending:null};d.queue=e;c=qg.bind(null,P,e,c);e.dispatch=c;d.memoizedState=a;return[b,c]}; -Kf.useOptimistic=function(a){var b=Vf();b.memoizedState=b.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};b.queue=c;b=Mg.bind(null,P,!0,c);c.dispatch=b;return[a,b]}; -var Lf={readContext:Zf,use:Yf,useCallback:Ig,useContext:Zf,useEffect:gg,useImperativeHandle:Gg,useInsertionEffect:Dg,useLayoutEffect:Eg,useMemo:Jg,useReducer:bg,useRef:xg,useState:function(){return bg(ag)},useDebugValue:Hg,useDeferredValue:function(a){var b=Wf();return Kg(b,R.memoizedState,a)},useTransition:function(){var a=bg(ag)[0],b=Wf().memoizedState;return["boolean"===typeof a?a:Rf(a),b]},useSyncExternalStore:fg,useId:Qg};Lf.useCacheRefresh=Rg;Lf.useMemoCache=$f;Lf.useEffectEvent=Cg; -Lf.useHostTransitionStatus=Pg;Lf.useFormState=function(a){var b=Wf();return vg(b,R,a)};Lf.useOptimistic=function(a,b){var c=Wf();return pg(c,R,a,b)}; -var Pf={readContext:Zf,use:Yf,useCallback:Ig,useContext:Zf,useEffect:gg,useImperativeHandle:Gg,useInsertionEffect:Dg,useLayoutEffect:Eg,useMemo:Jg,useReducer:eg,useRef:xg,useState:function(){return eg(ag)},useDebugValue:Hg,useDeferredValue:function(a){var b=Wf();return null===R?b.memoizedState=a:Kg(b,R.memoizedState,a)},useTransition:function(){var a=eg(ag)[0],b=Wf().memoizedState;return["boolean"===typeof a?a:Rf(a),b]},useSyncExternalStore:fg,useId:Qg};Pf.useCacheRefresh=Rg;Pf.useMemoCache=$f; -Pf.useEffectEvent=Cg;Pf.useHostTransitionStatus=Pg;Pf.useFormState=function(a){var b=Wf(),c=R;if(null!==c)return vg(b,c,a);b=Rf(b.memoizedState);c=Wf();var d=c.queue.dispatch;c.memoizedState=a;return[b,d]};Pf.useOptimistic=function(a,b){var c=Wf();if(null!==R)return pg(c,R,a,b);c.baseState=c.memoizedState=a;return[a,c.queue.dispatch]};function Yg(a,b){if(a&&a.defaultProps){b=C({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function Zg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:C({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} -var $g={isMounted:function(a){return(a=a._reactInternals)?Mc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Tg(a),e=$d(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=ae(a,e,d);null!==b&&(ng(b,a,d),be(b,a,d))},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Tg(a),e=$d(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=ae(a,e,d);null!==b&&(ng(b,a,d),be(b,a,d))},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Tg(a),d=$d(c);d.tag=2;void 0!== -b&&null!==b&&(d.callback=b);b=ae(a,d,c);null!==b&&(ng(b,a,c),be(b,a,c))}};function ah(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!he(c,d)||!he(e,f):!0} -function bh(a,b,c){var d=!1,e=Sc;var f=b.contextType;"object"===typeof f&&null!==f?f=Zf(f):(e=Xc(b)?Vc:Tc.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Wc(a,e):Sc);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=$g;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} -function ch(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&$g.enqueueReplaceState(b,b.state,null)} -function dh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};Yd(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=Zf(f):(f=Xc(b)?Vc:Tc.current,e.context=Wc(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Zg(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, -"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&$g.enqueueReplaceState(e,e.state,null),de(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function eh(a,b){try{var c="",d=b;do c+=hc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} -function fh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function gh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function hh(a,b,c){c=$d(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){ih||(ih=!0,jh=d);gh(a,b)};return c} -function kh(a,b,c){c=$d(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){gh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){gh(a,b);"function"!==typeof d&&(null===lh?lh=new Set([this]):lh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} -function mh(a){var b=a.tag;0!==(a.mode&1)||0!==b&&11!==b&&15!==b||((b=a.alternate)?(a.updateQueue=b.updateQueue,a.memoizedState=b.memoizedState,a.lanes=b.lanes):(a.updateQueue=null,a.memoizedState=null))}function nh(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=$d(2),b.tag=2,ae(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} -function oh(a,b,c,d,e){c.flags|=32768;if(null!==d&&"object"===typeof d&&(d.$$typeof===Ea&&(d={then:function(){}}),"function"===typeof d.then)){mh(c);var f=Le.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===Me?ph():null===f.alternate&&0===qh&&(qh=3));f.flags&=-257;nh(f,b,c,a,e);d===ke?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]):b.add(d),f.mode&1&&rh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===ke?f.flags|=16384:(b=f.updateQueue,null===b?(b={transitions:null, -markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(f=b.retryQueue,null===f?b.retryQueue=new Set([d]):f.add(d)),rh(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){rh(a,d,e);ph();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Le.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);nh(f,b,c,a,e);Ld(eh(d,c));return}d=eh(d,c);sh(d);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=hh(a,d,e);ce(a,e);return;case 1:if(f=d,b=a.type,c=a.stateNode,0===(a.flags&128)&&("function"=== -typeof b.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===lh||!lh.has(c)))){a.flags|=65536;e&=-e;a.lanes|=e;e=kh(a,f,e);ce(a,e);return}}a=a.return}while(null!==a)}var th=da.ReactCurrentOwner,uh=Error(t(461)),dg=!1;function vh(a,b,c,d){b.child=null===a?Ee(b,null,c,d):De(b,a.child,c,d)}function wh(a,b,c,d,e){c=c.render;var f=b.ref;xh(b,e);d=Jf(a,b,c,d,f,e);c=Sf();if(null!==a&&!dg)return Tf(a,b,e),yh(a,b,e);K&&c&&pd(b);b.flags|=1;vh(a,b,d,e);return b.child} -function zh(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!Ah(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,Bh(a,b,f,d,e);a=ze(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:he;if(c(g,d)&&a.ref===b.ref)return yh(a,b,e)}b.flags|=1;a=xe(f,d);a.ref=b.ref;a.return=b;return b.child=a} -function Bh(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(he(f,d)&&a.ref===b.ref)if(dg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(dg=!0);else return b.lanes=a.lanes,yh(a,b,e)}return Ch(a,b,c,d,e)} -function Dh(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;Eh(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return Fh(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&Gh(b,null),Je(),Pe(b);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0, -cachePool:null},null!==a&&Gh(b,null!==g?g.cachePool:null),null!==g?He(b,g):Je(),Pe(b);else return b.lanes=b.childLanes=1073741824,Fh(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(Gh(b,g.cachePool),He(b,g),Qe(b),b.memoizedState=null):(null!==a&&Gh(b,null),Je(),Qe(b));vh(a,b,e,c);return b.child}function Fh(a,b,c){var d=Hh();d=null===d?null:{parent:Ih._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&Gh(b,null);Je();Pe(b);return null} -function Eh(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function Ch(a,b,c,d,e){var f=Xc(c)?Vc:Tc.current;f=Wc(b,f);xh(b,e);c=Jf(a,b,c,d,f,e);d=Sf();if(null!==a&&!dg)return Tf(a,b,e),yh(a,b,e);K&&d&&pd(b);b.flags|=1;vh(a,b,c,e);return b.child}function Jh(a,b,c,d,e,f){xh(b,f);c=Mf(b,d,c,e);Nf();d=Sf();if(null!==a&&!dg)return Tf(a,b,f),yh(a,b,f);K&&d&&pd(b);b.flags|=1;vh(a,b,c,f);return b.child} -function Kh(a,b,c,d,e){if(Xc(c)){var f=!0;ad(b)}else f=!1;xh(b,e);if(null===b.stateNode)Lh(a,b),bh(b,c,d),dh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=Zf(p):(p=Xc(c)?Vc:Tc.current,p=Wc(b,p));var q=c.getDerivedStateFromProps,w="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;w||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| -(h!==d||k!==p)&&ch(b,g,d,p);Xd=!1;var r=b.memoizedState;g.state=r;de(b,d,g,e);k=b.memoizedState;h!==d||r!==k||Uc.current||Xd?("function"===typeof q&&(Zg(b,c,q,d),k=b.memoizedState),(h=Xd||ah(b,c,h,d,r,k,p))?(w||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): -("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;Zd(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:Yg(b.type,h);g.props=p;w=b.pendingProps;r=g.context;k=c.contextType;"object"===typeof k&&null!==k?k=Zf(k):(k=Xc(c)?Vc:Tc.current,k=Wc(b,k));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| -"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==w||r!==k)&&ch(b,g,d,k);Xd=!1;r=b.memoizedState;g.state=r;de(b,d,g,e);var z=b.memoizedState;h!==w||r!==z||Uc.current||Xd?("function"===typeof u&&(Zg(b,c,u,d),z=b.memoizedState),(p=Xd||ah(b,c,p,d,r,z,k)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,z,k),"function"===typeof g.UNSAFE_componentWillUpdate&& +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ic=null;function Jc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Kc=null,Lc=null; +function Mc(a){var b=Ob(a);if(b&&(a=b.stateNode)){var c=Qb(a);a:switch(a=b.stateNode,b.type){case "input":vc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+uc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Qb(d);if(!e)throw Error(t(90));vc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, +e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&rc(d)}break a;case "textarea":Ac(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&zc(a,!!c.multiple,b,!1)}}}function Nc(a){Kc?Lc?Lc.push(a):Lc=[a]:Kc=a}function Oc(){if(Kc){var a=Kc,b=Lc;Lc=Kc=null;Mc(a);if(b)for(a=0;a<b.length;a++)Mc(b[a])}}function Pc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} +function Qc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Rc(a){if(Pc(a)!==a)throw Error(t(188));} +function Sc(a){var b=a.alternate;if(!b){b=Pc(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Rc(e),a;if(f===d)return Rc(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== +c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function Tc(a){a=Sc(a);return null!==a?Uc(a):null}function Uc(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=Uc(a);if(null!==b)return b;a=a.sibling}return null}var Vc={},Wc=ma(Vc),Xc=ma(!1),Yc=Vc; +function Zc(a,b){var c=a.type.contextTypes;if(!c)return Vc;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function $c(a){a=a.childContextTypes;return null!==a&&void 0!==a}function ad(){D(Xc);D(Wc)} +function bd(a,b,c){if(Wc.current!==Vc)throw Error(t(168));E(Wc,b);E(Xc,c)}function cd(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,mc(a)||"Unknown",e));return B({},c,d)}function dd(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vc;Yc=Wc.current;E(Wc,a);E(Xc,Xc.current);return!0} +function ed(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=cd(a,b,Yc),d.__reactInternalMemoizedMergedChildContext=a,D(Xc),D(Wc),E(Wc,a)):D(Xc);E(Xc,c)}function fd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var gd="function"===typeof Object.is?Object.is:fd,hd=[],id=0,jd=null,kd=0,ld=[],md=0,nd=null,od=1,pd="";function qd(a,b){hd[id++]=kd;hd[id++]=jd;jd=a;kd=b} +function rd(a,b,c){ld[md++]=od;ld[md++]=pd;ld[md++]=nd;nd=a;var d=od;a=pd;var e=32-ib(d)-1;d&=~(1<<e);c+=1;var f=32-ib(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;od=1<<32-ib(b)+e|c<<e|d;pd=f+a}else od=1<<f|c<<e|d,pd=a}function sd(a){null!==a.return&&(qd(a,1),rd(a,1,0))}function td(a){for(;a===jd;)jd=hd[--id],hd[id]=null,kd=hd[--id],hd[id]=null;for(;a===nd;)nd=ld[--md],ld[md]=null,pd=ld[--md],ld[md]=null,od=ld[--md],ld[md]=null}var G=null,J=null,K=!1,ud=null,vd=!1; +function wd(a,b){var c=xd(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function yd(a,b){b.flags=b.flags&-4097|2}function zd(a,b){b=Ad(b,a.type,a.pendingProps,vd);return null!==b?(a.stateNode=b,G=a,J=Bd(b.firstChild),vd=!1,!0):!1}function Cd(a,b){b=Dd(b,a.pendingProps,vd);return null!==b?(a.stateNode=b,G=a,J=null,!0):!1} +function Ed(a,b){a:{var c=b;for(b=vd;8!==c.nodeType;){if(!b){b=null;break a}c=Fd(c);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==nd?{id:od,overflow:pd}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:536870912},c=xd(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,G=a,J=null,!0):!1}function Gd(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Hd(){throw Error(t(418));} +function Id(){if(!K)return!1;if(J){a:{var a=J;for(var b=vd;8!==a.nodeType;){if(!b){a=null;break a}a=Fd(a);if(null===a){a=null;break a}}b=a.data;a="F!"===b||"F"===b?a:null}if(a)return J=Fd(a),"F!"===a.data}Hd();return!1}function Jd(a){for(G=a.return;G;)switch(G.tag){case 3:case 27:vd=!0;return;case 5:case 13:vd=!1;return;default:G=G.return}} +function Kd(a){if(a!==G)return!1;if(!K)return Jd(a),K=!0,!1;var b=!1,c;if(c=3!==a.tag&&27!==a.tag){if(c=5===a.tag)c=a.type,c=!("form"!==c&&"button"!==c)||Ld(a.type,a.memoizedProps);c=!c}c&&(b=!0);if(b&&(b=J))if(Gd(a))Md(),Hd();else for(;b;)wd(a,b),b=Fd(b);Jd(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType)if(c=a.data,"/$"===c){if(0===b){J=Fd(a);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++;a=a.nextSibling}J= +null}}else J=G?Fd(a.stateNode):null;return!0}function Md(){for(var a=J;a;)a=Fd(a)}function Nd(){J=G=null;K=!1}function Od(a){null===ud?ud=[a]:ud.push(a)}var Pd=[],Qd=0,Rd=0;function Sd(){for(var a=Qd,b=Rd=Qd=0;b<a;){var c=Pd[b];Pd[b++]=null;var d=Pd[b];Pd[b++]=null;var e=Pd[b];Pd[b++]=null;var f=Pd[b];Pd[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&Td(c,e,f)}} +function Ud(a,b,c,d){Pd[Qd++]=a;Pd[Qd++]=b;Pd[Qd++]=c;Pd[Qd++]=d;Rd|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function Vd(a,b,c,d){Ud(a,b,c,d);return Wd(a)}function Xd(a,b){Ud(a,null,null,b);return Wd(a)} +function Td(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-ib(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|536870912)}function Wd(a){if(50<Yd)throw Yd=0,Zd=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} +var $d=!1;function ae(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function be(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function ce(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} +function de(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(L&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=Wd(a);Td(a,null,c);return b}Ud(a,d,b,c);return Wd(a)}function ee(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194176))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;wb(a,c)}} +function fe(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} +function ge(a,b,c,d){var e=a.updateQueue;$d=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,p=k.next;k.next=null;null===g?f=p:g.next=p;g=k;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=k))}if(null!==f){var w=e.baseState;g=0;q=p=k=null;h=f;do{var r=h.lane&-536870913,u=r!==h.lane;if(u?(M&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, +callback:null,next:null});a:{var z=a,C=h;r=b;var V=c;switch(C.tag){case 1:z=C.payload;if("function"===typeof z){w=z.call(V,w,r);break a}w=z;break a;case 3:z.flags=z.flags&-65537|128;case 0:z=C.payload;r="function"===typeof z?z.call(V,w,r):z;if(null===r||void 0===r)break a;w=B({},w,r);break a;case 2:$d=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, +k=w):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(k=w);e.baseState=k;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);he|=g;a.lanes=g;a.memoizedState=w}}function ie(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function je(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)ie(c[a],b)} +function ke(a,b){if(gd(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!Ab.call(b,e)||!gd(a[e],b[e]))return!1}return!0}var le=Error(t(460)),me=Error(t(474)),ne={then:function(){}};function oe(a){a=a.status;return"fulfilled"===a||"rejected"===a}function pe(){} +function qe(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(pe,pe),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===le)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(pe,pe);else{a=N;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; +case "rejected":a=b.reason;if(a===le)throw Error(t(483));throw a;}}re=b;throw le;}}var re=null;function se(){if(null===re)throw Error(t(459));var a=re;re=null;return a}var te=null,ue=0;function ve(a){var b=ue;ue+=1;null===te&&(te=[]);return qe(te,a,b)} +function we(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} +function xe(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function ye(a){var b=a._init;return b(a._payload)} +function ze(a){function b(m,l){if(a){var n=m.deletions;null===n?(m.deletions=[l],m.flags|=16):n.push(l)}}function c(m,l){if(!a)return null;for(;null!==l;)b(m,l),l=l.sibling;return null}function d(m,l){for(m=new Map;null!==l;)null!==l.key?m.set(l.key,l):m.set(l.index,l),l=l.sibling;return m}function e(m,l){m=Ae(m,l);m.index=0;m.sibling=null;return m}function f(m,l,n){m.index=n;if(!a)return m.flags|=1048576,l;n=m.alternate;if(null!==n)return n=n.index,n<l?(m.flags|=33554434,l):n;m.flags|=33554434;return l} +function g(m){a&&null===m.alternate&&(m.flags|=33554434);return m}function h(m,l,n,v){if(null===l||6!==l.tag)return l=Be(n,m.mode,v),l.return=m,l;l=e(l,n);l.return=m;return l}function k(m,l,n,v){var x=n.type;if(x===pa)return q(m,l,n.props.children,v,n.key);if(null!==l&&(l.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===za&&ye(x)===l.type))return v=e(l,n.props),v.ref=we(m,l,n),v.return=m,v;v=Ce(n.type,n.key,n.props,null,null,m.mode,v);v.ref=we(m,l,n);v.return=m;return v}function p(m,l, +n,v){if(null===l||4!==l.tag||l.stateNode.containerInfo!==n.containerInfo||l.stateNode.implementation!==n.implementation)return l=De(n,m.mode,v),l.return=m,l;l=e(l,n.children||[]);l.return=m;return l}function q(m,l,n,v,x){if(null===l||7!==l.tag)return l=Ee(n,m.mode,v,x),l.return=m,l;l=e(l,n);l.return=m;return l}function w(m,l,n){if("string"===typeof l&&""!==l||"number"===typeof l)return l=Be(""+l,m.mode,n),l.return=m,l;if("object"===typeof l&&null!==l){switch(l.$$typeof){case na:return n=Ce(l.type, +l.key,l.props,null,null,m.mode,n),n.ref=we(m,null,l),n.return=m,n;case oa:return l=De(l,m.mode,n),l.return=m,l;case za:var v=l._init;return w(m,v(l._payload),n)}if(yc(l)||Ia(l))return l=Ee(l,m.mode,n,null),l.return=m,l;if("function"===typeof l.then)return w(m,ve(l),n);if(l.$$typeof===ta||l.$$typeof===ua)return w(m,Fe(m,l,n),n);xe(m,l)}return null}function r(m,l,n,v){var x=null!==l?l.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==x?null:h(m,l,""+n,v);if("object"===typeof n&& +null!==n){switch(n.$$typeof){case na:return n.key===x?k(m,l,n,v):null;case oa:return n.key===x?p(m,l,n,v):null;case za:return x=n._init,r(m,l,x(n._payload),v)}if(yc(n)||Ia(n))return null!==x?null:q(m,l,n,v,null);if("function"===typeof n.then)return r(m,l,ve(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return r(m,l,Fe(m,n,v),v);xe(m,n)}return null}function u(m,l,n,v,x){if("string"===typeof v&&""!==v||"number"===typeof v)return m=m.get(n)||null,h(l,m,""+v,x);if("object"===typeof v&&null!==v){switch(v.$$typeof){case na:return m= +m.get(null===v.key?n:v.key)||null,k(l,m,v,x);case oa:return m=m.get(null===v.key?n:v.key)||null,p(l,m,v,x);case za:var A=v._init;return u(m,l,n,A(v._payload),x)}if(yc(v)||Ia(v))return m=m.get(n)||null,q(l,m,v,x,null);if("function"===typeof v.then)return u(m,l,n,ve(v),x);if(v.$$typeof===ta||v.$$typeof===ua)return u(m,l,n,Fe(l,v,x),x);xe(l,v)}return null}function z(m,l,n,v){for(var x=null,A=null,y=l,H=l=0,ha=null;null!==y&&H<n.length;H++){y.index>H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== +I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);l=f(I,l,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&qd(m,H),x;if(null===y){for(;H<n.length;H++)y=w(m,n[H],v),null!==y&&(l=f(y,l,H),null===A?x=y:A.sibling=y,A=y);K&&qd(m,H);return x}for(y=d(m,y);H<n.length;H++)ha=u(y,m,H,n[H],v),null!==ha&&(a&&null!==ha.alternate&&y.delete(null===ha.key?H:ha.key),l=f(ha,l,H),null===A?x=ha:A.sibling=ha,A=ha);a&&y.forEach(function(Hb){return b(m,Hb)});K&&qd(m,H);return x}function C(m, +l,n,v){var x=Ia(n);if("function"!==typeof x)throw Error(t(150));n=x.call(n);if(null==n)throw Error(t(151));for(var A=x=null,y=l,H=l=0,ha=null,I=n.next();null!==y&&!I.done;H++,I=n.next()){y.index>H?(ha=y,y=null):ha=y.sibling;var Hb=r(m,y,I.value,v);if(null===Hb){null===y&&(y=ha);break}a&&y&&null===Hb.alternate&&b(m,y);l=f(Hb,l,H);null===A?x=Hb:A.sibling=Hb;A=Hb;y=ha}if(I.done)return c(m,y),K&&qd(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(l=f(I,l,H),null===A?x=I:A.sibling= +I,A=I);K&&qd(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),l=f(I,l,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(dn){return b(m,dn)});K&&qd(m,H);return x}function V(m,l,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var x=n.key,A=l;null!==A;){if(A.key===x){x=n.type;if(x===pa){if(7===A.tag){c(m,A.sibling); +l=e(A,n.props.children);l.return=m;m=l;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===za&&ye(x)===A.type){c(m,A.sibling);l=e(A,n.props);l.ref=we(m,A,n);l.return=m;m=l;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===pa?(l=Ee(n.props.children,m.mode,v,n.key),l.return=m,m=l):(v=Ce(n.type,n.key,n.props,null,null,m.mode,v),v.ref=we(m,l,n),v.return=m,m=v)}return g(m);case oa:a:{for(A=n.key;null!==l;){if(l.key===A)if(4===l.tag&&l.stateNode.containerInfo===n.containerInfo&& +l.stateNode.implementation===n.implementation){c(m,l.sibling);l=e(l,n.children||[]);l.return=m;m=l;break a}else{c(m,l);break}else b(m,l);l=l.sibling}l=De(n,m.mode,v);l.return=m;m=l}return g(m);case za:return A=n._init,R(m,l,A(n._payload),v)}if(yc(n))return z(m,l,n,v);if(Ia(n))return C(m,l,n,v);if("function"===typeof n.then)return V(m,l,ve(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return V(m,l,Fe(m,n,v),v);xe(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==l&&6===l.tag?(c(m, +l.sibling),l=e(l,n),l.return=m,m=l):(c(m,l),l=Be(n,m.mode,v),l.return=m,m=l),g(m)):c(m,l)}function R(m,l,n,v){ue=0;m=V(m,l,n,v);te=null;return m}return R}var Ge=ze(!0),He=ze(!1),Ie=ma(null),Je=ma(0);function Ke(a,b){a=Le;E(Je,a);E(Ie,b);Le=a|b.baseLanes}function Me(){E(Je,Le);E(Ie,Ie.current)}function Ne(){Le=Je.current;D(Ie);D(Je)}var Oe=ma(null),Pe=null;function Qe(a){var b=a.alternate;E(Re,Re.current&1);E(Oe,a);null===Pe&&(null===b||null!==Ie.current?Pe=a:null!==b.memoizedState&&(Pe=a))} +function Se(a){if(22===a.tag){if(E(Re,Re.current),E(Oe,a),null===Pe){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Pe=a)}}else Te(a)}function Te(){E(Re,Re.current);E(Oe,Oe.current)}function Ue(a){D(Oe);Pe===a&&(Pe=null);D(Re)}var Re=ma(0); +function Ve(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var We=null,Xe=null,Ye=!1,Ze=!1,$e=!1,af=0; +function bf(a){a!==Xe&&null===a.next&&(null===Xe?We=Xe=a:Xe=Xe.next=a);Ze=!0;Ye||(Ye=!0,cf(df))} +function ef(a){if(!$e&&Ze){var b=null;$e=!0;do{var c=!1;for(var d=We;null!==d;){if(!a||0===d.tag){var e=M,f=ob(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!ff()){var g=gf(e,f);if(0!==e.tag&&2===g){var h=f,k=qb(e,h);0!==k&&(f=k,g=hf(e,h,k))}if(1===g)throw h=jf,kf(e,0),lf(e,f,0),bf(e),h;6===g?lf(e,f,0):(e.finishedWork=e.current.alternate,e.finishedLanes=f,mf(e,nf,of,pf))}bf(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);$e=!1;if(null!==b){if(1<b.length){if("function"=== +typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)cf(qf.bind(null,b[a]))}throw b[0];}}}function qf(a){throw a;}function df(){Ze=Ye=!1;for(var a=Ya(),b=null,c=We;null!==c;){var d=c.next;if(0!==af&&window.event&&"popstate"===window.event.type){var e=c,f=af;e.pendingLanes|=2;e.entangledLanes|=2;e.entanglements[1]|=f}e=rf(c,a);0===e?(c.next=null,null===b?We=d:b.next=d,null===d&&(Xe=b)):(b=c,0!==(e&3)&&(Ze=!0));c=d}af=0;ef(!1)} +function rf(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-62914561;0<f;){var g=31-ib(f),h=1<<g,k=e[g];if(-1===k){if(0===(h&c)||0!==(h&d))e[g]=pb(h,b)}else k<=b&&(a.expiredLanes|=h);f&=~h}b=N;c=M;c=ob(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===O||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Va(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Va(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b===a.callbackPriority)return b; +null!==d&&Va(d);switch(zb(c)){case 2:c=$a;break;case 8:c=ab;break;case 32:c=bb;break;case 268435456:c=db;break;default:c=bb}d=sf.bind(null,a);c=Ua(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function cf(a){tf(function(){0!==(L&6)?Ua($a,a):a()})}function uf(){if(0===af){var a=lb;lb<<=1;0===(lb&4194176)&&(lb=128);af=a}return af}var vf=null,wf=0,xf=0; +function yf(a,b){if(null===vf){var c=vf=[];wf=0;xf=uf()}else c=vf;wf++;var d=zf(c),e="pending",f,g;a.then(function(h){e="fulfilled";f=null!==b?b:h;Af()},function(h){e="rejected";g=h;Af()});c.push(function(){switch(e){case "fulfilled":d.status="fulfilled";d.value=f;break;case "rejected":d.status="rejected";d.reason=g;break;default:throw Error(t(478));}});return d}function Bf(a,b){var c=null!==b?b:a;if(null===vf)return c;a=vf;var d=zf(a);a.push(function(){d.status="fulfilled";d.value=c});return d} +function Af(){if(null!==vf&&0===--wf){var a=vf;vf=null;for(var b=xf=0;b<a.length;b++)(0,a[b])()}}function zf(a){return{status:"pending",value:null,reason:null,then:function(b){a.push(b)}}}var Cf=da.ReactCurrentDispatcher,Df=da.ReactCurrentBatchConfig,Ef=0,P=null,Q=null,S=null,Ff=!1,Gf=!1,Hf=!1,If=0,Jf=0,Kf=null,Lf=0;function T(){throw Error(t(321));}function Mf(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!gd(a[c],b[c]))return!1;return!0} +function Nf(a,b,c,d,e,f){Ef=f;P=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Cf.current=null===a||null===a.memoizedState?Of:Pf;Hf=!1;a=c(d,e);Hf=!1;Gf&&(a=Qf(b,c,d,e));Rf();return a}function Rf(){Cf.current=Sf;var a=null!==Q&&null!==Q.next;Ef=0;S=Q=P=null;Ff=!1;Jf=0;Kf=null;if(a)throw Error(t(300));}function Qf(a,b,c,d){P=a;var e=0;do{Gf&&(Kf=null);Jf=0;Gf=!1;if(25<=e)throw Error(t(301));e+=1;S=Q=null;a.updateQueue=null;Cf.current=Tf;var f=b(c,d)}while(Gf);return f} +function Uf(){var a=Cf.current.useState()[0];return"function"===typeof a.then?Vf(a):a}function Wf(){var a=0!==If;If=0;return a}function Xf(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function Yf(a){if(Ff){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}Ff=!1}Ef=0;S=Q=P=null;Gf=!1;Jf=If=0;Kf=null}function Zf(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===S?P.memoizedState=S=a:S=S.next=a;return S} +function $f(){if(null===Q){var a=P.alternate;a=null!==a?a.memoizedState:null}else a=Q.next;var b=null===S?P.memoizedState:S.next;if(null!==b)S=b,Q=a;else{if(null===a){if(null===P.alternate)throw Error(t(467));throw Error(t(310));}Q=a;a={memoizedState:Q.memoizedState,baseState:Q.baseState,baseQueue:Q.baseQueue,queue:Q.queue,next:null};null===S?P.memoizedState=S=a:S=S.next=a}return S}var ag;ag=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}}; +function Vf(a){var b=Jf;Jf+=1;null===Kf&&(Kf=[]);a=qe(Kf,a,b);null===P.alternate&&(null===S?null===P.memoizedState:null===S.next)&&(Cf.current=Of);return a}function bg(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Vf(a);if(a.$$typeof===ta||a.$$typeof===ua)return cg(a)}throw Error(t(438,String(a)));} +function dg(a){var b=null,c=P.updateQueue;null!==c&&(b=c.memoCache);if(null==b){var d=P.alternate;null!==d&&(d=d.updateQueue,null!==d&&(d=d.memoCache,null!=d&&(b={data:d.data.map(function(e){return e.slice()}),index:0})))}null==b&&(b={data:[],index:0});null===c&&(c=ag(),P.updateQueue=c);c.memoCache=b;c=b.data[b.index];if(void 0===c)for(c=b.data[b.index]=Array(a),d=0;d<a;d++)c[d]=Fa;b.index++;return c}function eg(a,b){return"function"===typeof b?b(a):b}function fg(a){var b=$f();return gg(b,Q,a)} +function gg(a,b,c){var d=a.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=c;var e=a.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}b.baseQueue=e=f;d.pending=null}if(null!==e){b=e.next;f=a.baseState;var h=g=null,k=null,p=b;do{var q=p.lane&-536870913;if(q!==p.lane?(M&q)===q:(Ef&q)===q){q=p.revertLane;if(0===q)null!==k&&(k=k.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null});else if((Ef&q)===q){p= +p.next;continue}else{var w={lane:0,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===k?(h=k=w,g=f):k=k.next=w;P.lanes|=q;he|=q}q=p.action;Hf&&c(f,q);f=p.hasEagerState?p.eagerState:c(f,q)}else w={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},null===k?(h=k=w,g=f):k=k.next=w,P.lanes|=q,he|=q;p=p.next}while(null!==p&&p!==b);null===k?g=f:k.next=h;gd(f,a.memoizedState)||(hg=!0); +a.memoizedState=f;a.baseState=g;a.baseQueue=k;d.lastRenderedState=f}null===e&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function ig(a){var b=$f(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);gd(f,b.memoizedState)||(hg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} +function jg(a,b,c){var d=P,e=$f(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!gd((Q||e).memoizedState,c);g&&(e.memoizedState=c,hg=!0);e=e.queue;kg(lg.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==S&&S.memoizedState.tag&1){d.flags|=2048;mg(9,ng.bind(null,d,e,c,b),{destroy:void 0},null);if(null===N)throw Error(t(349));f||0!==(Ef&60)||og(d,b,c)}return c} +function og(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=P.updateQueue;null===b?(b=ag(),P.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function ng(a,b,c,d){b.value=c;b.getSnapshot=d;pg(b)&&qg(a)}function lg(a,b,c){return c(function(){pg(b)&&qg(a)})}function pg(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!gd(a,c)}catch(d){return!0}}function qg(a){var b=Xd(a,2);null!==b&&rg(b,a,2)} +function sg(a){var b=Zf();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:eg,lastRenderedState:a};return b}function tg(a,b,c,d){a.baseState=c;return gg(a,Q,"function"===typeof d?d:eg)}function ug(a,b,c,d){if(vg(a))throw Error(t(485));a=b.pending;null===a?(a={payload:d,next:null},a.next=b.pending=a,wg(b,c,d)):a.next={payload:d,next:a.next}} +function wg(a,b,c){var d=a.action,e=a.state,f=Df.transition;Df.transition={};try{var g=d(e,c);g.then(function(k){a.state=k;xg(a,b)},function(){return xg(a,b)});var h=yf(g,null);b(h)}finally{Df.transition=f}}function xg(a,b){var c=a.pending;if(null!==c){var d=c.next;d===c?a.pending=null:(d=d.next,c.next=d,wg(a,b,d.payload))}}function yg(a,b){return b} +function zg(a,b,c){a=gg(a,b,yg)[0];a=Vf(a);b=$f();var d=b.queue,e=d.dispatch;c!==b.memoizedState&&(P.flags|=2048,mg(9,Ag.bind(null,d,c),{destroy:void 0},null));return[a,e]}function Ag(a,b){a.action=b}function mg(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=P.updateQueue;null===b?(b=ag(),P.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function Bg(){return $f().memoizedState} +function Cg(a,b,c,d){var e=Zf();P.flags|=a;e.memoizedState=mg(1|b,c,{destroy:void 0},void 0===d?null:d)}function Dg(a,b,c,d){var e=$f();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==Q&&null!==d&&Mf(d,Q.memoizedState.deps)?e.memoizedState=mg(b,c,f,d):(P.flags|=a,e.memoizedState=mg(1|b,c,f,d))}function Eg(a,b){Cg(8390656,8,a,b)}function kg(a,b){Dg(2048,8,a,b)} +function Fg(a){P.flags|=4;var b=P.updateQueue;if(null===b)b=ag(),P.updateQueue=b,b.events=[a];else{var c=b.events;null===c?b.events=[a]:c.push(a)}}function Gg(a){var b=$f().memoizedState;Fg({ref:b,nextImpl:a});return function(){if(0!==(L&2))throw Error(t(440));return b.impl.apply(void 0,arguments)}}function Hg(a,b){return Dg(4,2,a,b)}function Ig(a,b){return Dg(4,4,a,b)} +function Jg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Kg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Dg(4,4,Jg.bind(null,b,a),c)}function Lg(){}function Mg(a,b){var c=$f();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Mf(b,d[1]))return d[0];c.memoizedState=[a,b];return a} +function Ng(a,b){var c=$f();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Mf(b,d[1]))return d[0];Hf&&a();a=a();c.memoizedState=[a,b];return a}function Og(a,b,c){if(void 0===c||0!==(Ef&1073741824))return a.memoizedState=b;a.memoizedState=c;a=Pg();P.lanes|=a;he|=a;return c}function Qg(a,b,c,d){if(gd(c,b))return c;if(null!==Ie.current)return a=Og(a,c,d),gd(a,b)||(hg=!0),a;if(0===(Ef&42))return hg=!0,a.memoizedState=c;a=Pg();P.lanes|=a;he|=a;return b} +function Rg(a,b,c,d,e){var f=F;F=0!==f&&8>f?f:8;var g=Df.transition;Df.transition={};Sg(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var k=yf(h,d);Tg(a,b,k)}else{var p=Bf(h,d);Tg(a,b,p)}}catch(q){Tg(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,Df.transition=g}} +function Ug(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:eg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Rg(a,f,b,fa,function(){return c(d)})}function Vg(){var a=cg(Na);return null!==a?a:fa}function Wg(){return $f().memoizedState} +function Xg(){return $f().memoizedState}function Yg(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=Zg(d);a=ce(e);var f=de(d,a,e);null!==f&&(rg(f,d,e),ee(f,d,e));d=$g();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function ah(a,b,c){var d=Zg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};vg(a)?bh(b,c):(c=Vd(a,b,c,d),null!==c&&(rg(c,a,d),ch(c,b,d)))} +function Tg(a,b,c){var d=Zg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(vg(a))bh(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(gd(h,g)){Ud(a,b,e,0);null===N&&Sd();return}}catch(k){}finally{}c=Vd(a,b,e,d);null!==c&&(rg(c,a,d),ch(c,b,d))}} +function Sg(a,b,c,d){d={lane:2,revertLane:uf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(vg(a)){if(b)throw Error(t(479));}else b=Vd(a,c,d,2),null!==b&&rg(b,a,2)}function vg(a){var b=a.alternate;return a===P||null!==b&&b===P}function bh(a,b){Gf=Ff=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function ch(a,b,c){if(0!==(c&4194176)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;wb(a,c)}} +var Sf={readContext:cg,use:bg,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useInsertionEffect:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,useDebugValue:T,useDeferredValue:T,useTransition:T,useSyncExternalStore:T,useId:T};Sf.useCacheRefresh=T;Sf.useMemoCache=T;Sf.useEffectEvent=T;Sf.useHostTransitionStatus=T;Sf.useFormState=T;Sf.useOptimistic=T; +var Of={readContext:cg,use:bg,useCallback:function(a,b){Zf().memoizedState=[a,void 0===b?null:b];return a},useContext:cg,useEffect:Eg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Cg(4194308,4,Jg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Cg(4194308,4,a,b)},useInsertionEffect:function(a,b){Cg(4,2,a,b)},useMemo:function(a,b){var c=Zf();b=void 0===b?null:b;Hf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Zf();b=void 0!==c?c(b): +b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=ah.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Zf();a={current:a};return b.memoizedState=a},useState:function(a){a=sg(a);var b=a.queue,c=Tg.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Lg,useDeferredValue:function(a,b){var c=Zf();return Og(c,a,b)},useTransition:function(){var a=sg(!1);a=Rg.bind(null,P,a.queue,!0,!1); +Zf().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Zf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(M&60)||og(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Eg(lg.bind(null,d,f,a),[a]);d.flags|=2048;mg(9,ng.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Zf(),b=N.identifierPrefix;if(K){var c=pd;var d=od;c=(d&~(1<<32-ib(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=If++;0<c&&(b+="H"+ +c.toString(32));b+=":"}else c=Lf++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return Zf().memoizedState=Yg.bind(null,P)}};Of.useMemoCache=dg;Of.useEffectEvent=function(a){var b=Zf(),c={impl:a};b.memoizedState=c;return function(){if(0!==(L&2))throw Error(t(440));return c.impl.apply(void 0,arguments)}};Of.useHostTransitionStatus=Vg; +Of.useFormState=function(a,b){if(K){var c=N.formState;null!==c&&Id()&&(b=c[0])}var d={status:"fulfilled",value:b,then:function(){}};c=Zf();c.memoizedState=c.baseState=d;d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yg,lastRenderedState:d};c.queue=d;c=Tg.bind(null,P,d);d.dispatch=c;d=Zf();var e={state:b,dispatch:null,action:a,pending:null};d.queue=e;c=ug.bind(null,P,e,c);e.dispatch=c;d.memoizedState=a;return[b,c]}; +Of.useOptimistic=function(a){var b=Zf();b.memoizedState=b.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};b.queue=c;b=Sg.bind(null,P,!0,c);c.dispatch=b;return[a,b]}; +var Pf={readContext:cg,use:bg,useCallback:Mg,useContext:cg,useEffect:kg,useImperativeHandle:Kg,useInsertionEffect:Hg,useLayoutEffect:Ig,useMemo:Ng,useReducer:fg,useRef:Bg,useState:function(){return fg(eg)},useDebugValue:Lg,useDeferredValue:function(a,b){var c=$f();return Qg(c,Q.memoizedState,a,b)},useTransition:function(){var a=fg(eg)[0],b=$f().memoizedState;return["boolean"===typeof a?a:Vf(a),b]},useSyncExternalStore:jg,useId:Wg};Pf.useCacheRefresh=Xg;Pf.useMemoCache=dg;Pf.useEffectEvent=Gg; +Pf.useHostTransitionStatus=Vg;Pf.useFormState=function(a){var b=$f();return zg(b,Q,a)};Pf.useOptimistic=function(a,b){var c=$f();return tg(c,Q,a,b)}; +var Tf={readContext:cg,use:bg,useCallback:Mg,useContext:cg,useEffect:kg,useImperativeHandle:Kg,useInsertionEffect:Hg,useLayoutEffect:Ig,useMemo:Ng,useReducer:ig,useRef:Bg,useState:function(){return ig(eg)},useDebugValue:Lg,useDeferredValue:function(a,b){var c=$f();return null===Q?Og(c,a,b):Qg(c,Q.memoizedState,a,b)},useTransition:function(){var a=ig(eg)[0],b=$f().memoizedState;return["boolean"===typeof a?a:Vf(a),b]},useSyncExternalStore:jg,useId:Wg};Tf.useCacheRefresh=Xg;Tf.useMemoCache=dg; +Tf.useEffectEvent=Gg;Tf.useHostTransitionStatus=Vg;Tf.useFormState=function(a){var b=$f(),c=Q;if(null!==c)return zg(b,c,a);b=Vf(b.memoizedState);c=$f();var d=c.queue.dispatch;c.memoizedState=a;return[b,d]};Tf.useOptimistic=function(a,b){var c=$f();if(null!==Q)return tg(c,Q,a,b);c.baseState=a;return[a,c.queue.dispatch]};function dh(a,b){if(a&&a.defaultProps){b=B({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function eh(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:B({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} +var fh={isMounted:function(a){return(a=a._reactInternals)?Pc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Zg(a),e=ce(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=de(a,e,d);null!==b&&(rg(b,a,d),ee(b,a,d))},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Zg(a),e=ce(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=de(a,e,d);null!==b&&(rg(b,a,d),ee(b,a,d))},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Zg(a),d=ce(c);d.tag=2;void 0!== +b&&null!==b&&(d.callback=b);b=de(a,d,c);null!==b&&(rg(b,a,c),ee(b,a,c))}};function gh(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!ke(c,d)||!ke(e,f):!0} +function hh(a,b,c){var d=!1,e=Vc;var f=b.contextType;"object"===typeof f&&null!==f?f=cg(f):(e=$c(b)?Yc:Wc.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Zc(a,e):Vc);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=fh;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} +function ih(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&fh.enqueueReplaceState(b,b.state,null)} +function jh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};ae(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=cg(f):(f=$c(b)?Yc:Wc.current,e.context=Zc(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(eh(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, +"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&fh.enqueueReplaceState(e,e.state,null),ge(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function kh(a,b){try{var c="",d=b;do c+=kc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} +function lh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function mh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function nh(a,b,c){c=ce(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){oh||(oh=!0,ph=d);mh(a,b)};return c} +function qh(a,b,c){c=ce(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){mh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){mh(a,b);"function"!==typeof d&&(null===rh?rh=new Set([this]):rh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} +function sh(a){var b=a.tag;0!==(a.mode&1)||0!==b&&11!==b&&15!==b||((b=a.alternate)?(a.updateQueue=b.updateQueue,a.memoizedState=b.memoizedState,a.lanes=b.lanes):(a.updateQueue=null,a.memoizedState=null))}function th(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=ce(2),b.tag=2,de(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} +function uh(a,b,c,d,e){c.flags|=32768;if(null!==d&&"object"===typeof d&&(d.$$typeof===Ga&&(d={then:function(){}}),"function"===typeof d.then)){sh(c);var f=Oe.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===Pe?vh():null===f.alternate&&0===wh&&(wh=3));f.flags&=-257;th(f,b,c,a,e);d===ne?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]):b.add(d),f.mode&1&&xh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===ne?f.flags|=16384:(b=f.updateQueue,null===b?(b={transitions:null, +markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(f=b.retryQueue,null===f?b.retryQueue=new Set([d]):f.add(d)),xh(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){xh(a,d,e);vh();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Oe.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);th(f,b,c,a,e);Od(kh(d,c));return}d=kh(d,c);yh(d);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=nh(a,d,e);fe(a,e);return;case 1:if(f=d,b=a.type,c=a.stateNode,0===(a.flags&128)&&("function"=== +typeof b.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===rh||!rh.has(c)))){a.flags|=65536;e&=-e;a.lanes|=e;e=qh(a,f,e);fe(a,e);return}}a=a.return}while(null!==a)}var zh=da.ReactCurrentOwner,Ah=Error(t(461)),hg=!1;function Bh(a,b,c,d){b.child=null===a?He(b,null,c,d):Ge(b,a.child,c,d)}function Ch(a,b,c,d,e){c=c.render;var f=b.ref;Dh(b,e);d=Nf(a,b,c,d,f,e);c=Wf();if(null!==a&&!hg)return Xf(a,b,e),Eh(a,b,e);K&&c&&sd(b);b.flags|=1;Bh(a,b,d,e);return b.child} +function Fh(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!Gh(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,Hh(a,b,f,d,e);a=Ce(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:ke;if(c(g,d)&&a.ref===b.ref)return Eh(a,b,e)}b.flags|=1;a=Ae(f,d);a.ref=b.ref;a.return=b;return b.child=a} +function Hh(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(ke(f,d)&&a.ref===b.ref)if(hg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(hg=!0);else return b.lanes=a.lanes,Eh(a,b,e)}return Ih(a,b,c,d,e)} +function Jh(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;Kh(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return Lh(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&Mh(b,null),Me(),Se(b);else if(0!==(c&536870912))b.memoizedState={baseLanes:0, +cachePool:null},null!==a&&Mh(b,null!==g?g.cachePool:null),null!==g?Ke(b,g):Me(),Se(b);else return b.lanes=b.childLanes=536870912,Lh(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(Mh(b,g.cachePool),Ke(b,g),Te(b),b.memoizedState=null):(null!==a&&Mh(b,null),Me(),Te(b));Bh(a,b,e,c);return b.child}function Lh(a,b,c){var d=Nh();d=null===d?null:{parent:Oh._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&Mh(b,null);Me();Se(b);return null} +function Kh(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function Ih(a,b,c,d,e){var f=$c(c)?Yc:Wc.current;f=Zc(b,f);Dh(b,e);c=Nf(a,b,c,d,f,e);d=Wf();if(null!==a&&!hg)return Xf(a,b,e),Eh(a,b,e);K&&d&&sd(b);b.flags|=1;Bh(a,b,c,e);return b.child}function Ph(a,b,c,d,e,f){Dh(b,f);c=Qf(b,d,c,e);Rf();d=Wf();if(null!==a&&!hg)return Xf(a,b,f),Eh(a,b,f);K&&d&&sd(b);b.flags|=1;Bh(a,b,c,f);return b.child} +function Qh(a,b,c,d,e){if($c(c)){var f=!0;dd(b)}else f=!1;Dh(b,e);if(null===b.stateNode)Rh(a,b),hh(b,c,d),jh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=cg(p):(p=$c(c)?Yc:Wc.current,p=Zc(b,p));var q=c.getDerivedStateFromProps,w="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;w||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| +(h!==d||k!==p)&&ih(b,g,d,p);$d=!1;var r=b.memoizedState;g.state=r;ge(b,d,g,e);k=b.memoizedState;h!==d||r!==k||Xc.current||$d?("function"===typeof q&&(eh(b,c,q,d),k=b.memoizedState),(h=$d||gh(b,c,h,d,r,k,p))?(w||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): +("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;be(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:dh(b.type,h);g.props=p;w=b.pendingProps;r=g.context;k=c.contextType;"object"===typeof k&&null!==k?k=cg(k):(k=$c(c)?Yc:Wc.current,k=Zc(b,k));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| +"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==w||r!==k)&&ih(b,g,d,k);$d=!1;r=b.memoizedState;g.state=r;ge(b,d,g,e);var z=b.memoizedState;h!==w||r!==z||Xc.current||$d?("function"===typeof u&&(eh(b,c,u,d),z=b.memoizedState),(p=$d||gh(b,c,p,d,r,z,k)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,z,k),"function"===typeof g.UNSAFE_componentWillUpdate&& g.UNSAFE_componentWillUpdate(d,z,k)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=z),g.props=d,g.state=z,g.context=k,d=p):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r=== -a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return Mh(a,b,c,d,f,e)} -function Mh(a,b,c,d,e,f){Eh(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&bd(b,c,!1),yh(a,b,f);d=b.stateNode;th.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=De(b,a.child,null,f),b.child=De(b,null,h,f)):vh(a,b,h,f);b.memoizedState=d.state;e&&bd(b,c,!0);return b.child}function Nh(a){var b=a.stateNode;b.pendingContext?Zc(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Zc(a,b.context,!1);Ma(a,b.containerInfo)} -function Oh(a,b,c,d,e){Kd();Ld(e);b.flags|=256;vh(a,b,c,d);return b.child}var Ph={dehydrated:null,treeContext:null,retryLane:0};function Qh(a){return{baseLanes:a,cachePool:Rh()}} -function Sh(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(Oe.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?Ne(b):Qe(b);K&&((f=a=J,f)?Bd(b,f)||(Dd(b)&&Ed(),J=Cd(f),g=G,J&&Bd(b,J)?td(g,f):(vd(G,b),K=!1,G=b,J=a)):(Dd(b)&&Ed(),vd(G,b),K=!1,G=b,J=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=1073741824,null;Re(b)}a=d.children;f=d.fallback;if(e)return Qe(b), -a=Th(b,a,f,c),b.child.memoizedState=Qh(c),b.memoizedState=Ph,a;if("number"===typeof d.unstable_expectedLoadTime)return Qe(b),a=Th(b,a,f,c),b.child.memoizedState=Qh(c),b.memoizedState=Ph,b.lanes=8388608,a;Ne(b);return Uh(b,a)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return Vh(a,b,f,d,h,g,c)}if(e){Qe(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var k={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=k,b.deletions=null):(d=xe(g, -k),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=xe(h,e):(e=Be(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=Qh(c):(g=f.cachePool,null!==g?(h=Ih._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=Rh(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState=Ph;return d}Ne(b);e=a.child;a=e.sibling;d=xe(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return= -b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function Uh(a,b){b=Wh({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b}function Th(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&1)&&null!==f?(f.childLanes=0,f.pendingProps=b):f=Wh(b,e,0,null);c=Be(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c} -function Xh(a,b,c,d){null!==d&&Ld(d);De(b,a.child,null,c);a=Uh(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} -function Vh(a,b,c,d,e,f,g){if(c){if(b.flags&256)return Ne(b),b.flags&=-257,e=fh(Error(t(422))),Xh(a,b,g,e);if(null!==b.memoizedState)return Qe(b),b.child=a.child,b.flags|=128,null;Qe(b);e=d.fallback;f=b.mode;d=Wh({mode:"visible",children:d.children},f,0,null);e=Be(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&De(b,a.child,null,g);b.child.memoizedState=Qh(g);b.memoizedState=Ph;return e}Ne(b);if(0===(b.mode&1))return Xh(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& -e.nextSibling.dataset;if(e)var h=e.dgst;e=h;f=null;"POSTPONE"!==e&&(f=Error(t(419)),f.digest=e,f=fh(f,e,void 0));return Xh(a,b,g,f)}h=0!==(g&a.childLanes);if(dg||h){d=N;if(null!==d){h=g&-g;if(0!==(h&42))h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h= -64;break;case 536870912:h=268435456;break;default:h=0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,Ud(a,h),ng(d,a,h),uh;}"$?"!==e.data&&ph();return Xh(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=Yh.bind(null,a),e._reactRetry=b,null;a=f.treeContext;J=yd(e.nextSibling);G=b;K=!0;rd=null;sd=!1;null!==a&&(id[jd++]=ld,id[jd++]=md,id[jd++]=kd,ld=a.id,md=a.overflow,kd=b);b=Uh(b,d.children);b.flags|=4096;return b} -function Zh(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);$h(a.return,b,c)}function ai(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} -function bi(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;vh(a,b,d.children,c);d=Oe.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&Zh(a,c,b);else if(19===a.tag)Zh(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(Oe,d);if(0===(b.mode&1))b.memoizedState= -null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Se(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);ai(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Se(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}ai(b,!0,c,null,f);break;case "together":ai(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} -function Lh(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function yh(a,b,c){null!==a&&(b.dependencies=a.dependencies);ee|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=xe(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=xe(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} -function ci(a,b,c){switch(b.tag){case 3:Nh(b);di(b,Ih,a.memoizedState.cache);Kd();break;case 27:case 5:Qa(b);break;case 1:Xc(b.type)&&ad(b);break;case 4:Ma(b,b.stateNode.containerInfo);break;case 10:di(b,b.type._context,b.memoizedProps.value);break;case 13:var d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return Ne(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return Sh(a,b,c);Ne(b);a=yh(a,b,c);return null!==a?a.sibling:null}Ne(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags& -128)){if(d)return bi(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(Oe,Oe.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,Dh(a,b,c);case 24:di(b,Ih,a.memoizedState.cache)}return yh(a,b,c)}var ei=ka(null),fi=null,gi=null,hi=null;function ii(){hi=gi=fi=null}function di(a,b,c){E(ei,b._currentValue);b._currentValue=c}function ji(a){var b=ei.current;a._currentValue=b===Ca?a._defaultValue:b;D(ei)} -function $h(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} -function ki(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=$d(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var k=h.pending;null===k?g.next=g:(g.next=k.next,k.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);$h(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== -f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);$h(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function xh(a,b){fi=a;hi=gi=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(dg=!0),a.firstContext=null)}function Zf(a){return li(fi,a)}function Ce(a,b,c){null===fi&&xh(a,c);return li(a,b)} -function li(a,b){var c=b._currentValue;if(hi!==b)if(b={context:b,memoizedValue:c,next:null},null===gi){if(null===a)throw Error(t(308));gi=b;a.dependencies={lanes:0,firstContext:b}}else gi=gi.next=b;return c} -var mi="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},ni=ba.unstable_scheduleCallback,oi=ba.unstable_NormalPriority,Ih={$$typeof:ra,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function Ug(){return{controller:new mi,data:new Map,refCount:0}} -function pi(a){a.refCount--;0===a.refCount&&ni(oi,function(){a.controller.abort()})}var qi=da.ReactCurrentBatchConfig,ri=ka(null);function Hh(){var a=ri.current;return null!==a?a:N.pooledCache}function Gh(a,b){null===b?E(ri,ri.current):E(ri,b.pool)}function Rh(){var a=Hh();return null===a?null:{parent:Ih._currentValue,pool:a}}function si(a){a.flags|=4}function ti(a){a.flags|=2097664} -function ui(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(M&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(vi())a.flags|=8192;else throw oe=ke,je;}function wi(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?qb():1073741824,a.lanes|=b)} -function xi(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} +a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return Sh(a,b,c,d,f,e)} +function Sh(a,b,c,d,e,f){Kh(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&ed(b,c,!1),Eh(a,b,f);d=b.stateNode;zh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=Ge(b,a.child,null,f),b.child=Ge(b,null,h,f)):Bh(a,b,h,f);b.memoizedState=d.state;e&&ed(b,c,!0);return b.child}function Th(a){var b=a.stateNode;b.pendingContext?bd(a,b.pendingContext,b.pendingContext!==b.context):b.context&&bd(a,b.context,!1);Oa(a,b.containerInfo)} +function Uh(a,b,c,d,e){Nd();Od(e);b.flags|=256;Bh(a,b,c,d);return b.child}var Vh={dehydrated:null,treeContext:null,retryLane:0};function Wh(a){return{baseLanes:a,cachePool:Xh()}} +function Yh(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(Re.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?Qe(b):Te(b);K&&((f=a=J,f)?Ed(b,f)||(Gd(b)&&Hd(),J=Fd(f),g=G,J&&Ed(b,J)?wd(g,f):(yd(G,b),K=!1,G=b,J=a)):(Gd(b)&&Hd(),yd(G,b),K=!1,G=b,J=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=536870912,null;Ue(b)}a=d.children;f=d.fallback;if(e)return Te(b), +a=Zh(b,a,f,c),b.child.memoizedState=Wh(c),b.memoizedState=Vh,a;if("number"===typeof d.unstable_expectedLoadTime)return Te(b),a=Zh(b,a,f,c),b.child.memoizedState=Wh(c),b.memoizedState=Vh,b.lanes=4194304,a;Qe(b);return $h(b,a)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return ai(a,b,f,d,h,g,c)}if(e){Te(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var k={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=k,b.deletions=null):(d=Ae(g, +k),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=Ae(h,e):(e=Ee(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=Wh(c):(g=f.cachePool,null!==g?(h=Oh._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=Xh(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState=Vh;return d}Qe(b);e=a.child;a=e.sibling;d=Ae(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return= +b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function $h(a,b){b=bi({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b}function Zh(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&1)&&null!==f?(f.childLanes=0,f.pendingProps=b):f=bi(b,e,0,null);c=Ee(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c} +function ci(a,b,c,d){null!==d&&Od(d);Ge(b,a.child,null,c);a=$h(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} +function ai(a,b,c,d,e,f,g){if(c){if(b.flags&256)return Qe(b),b.flags&=-257,e=lh(Error(t(422))),ci(a,b,g,e);if(null!==b.memoizedState)return Te(b),b.child=a.child,b.flags|=128,null;Te(b);e=d.fallback;f=b.mode;d=bi({mode:"visible",children:d.children},f,0,null);e=Ee(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Ge(b,a.child,null,g);b.child.memoizedState=Wh(g);b.memoizedState=Vh;return e}Qe(b);if(0===(b.mode&1))return ci(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& +e.nextSibling.dataset;if(e)var h=e.dgst;e=h;f=null;"POSTPONE"!==e&&(f=Error(t(419)),f.digest=e,f=lh(f,e,void 0));return ci(a,b,g,f)}h=0!==(g&a.childLanes);if(hg||h){d=N;if(null!==d){h=g&-g;if(0!==(h&42))h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:h=64;break; +case 268435456:h=134217728;break;default:h=0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,Xd(a,h),rg(d,a,h),Ah;}"$?"!==e.data&&vh();return ci(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=di.bind(null,a),e._reactRetry=b,null;a=f.treeContext;J=Bd(e.nextSibling);G=b;K=!0;ud=null;vd=!1;null!==a&&(ld[md++]=od,ld[md++]=pd,ld[md++]=nd,od=a.id,pd=a.overflow,nd=b);b=$h(b,d.children);b.flags|=4096;return b} +function ei(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);fi(a.return,b,c)}function gi(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} +function hi(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;Bh(a,b,d.children,c);d=Re.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&ei(a,c,b);else if(19===a.tag)ei(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(Re,d);if(0===(b.mode&1))b.memoizedState= +null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Ve(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);gi(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Ve(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}gi(b,!0,c,null,f);break;case "together":gi(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} +function Rh(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function Eh(a,b,c){null!==a&&(b.dependencies=a.dependencies);he|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=Ae(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Ae(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} +function ii(a,b,c){switch(b.tag){case 3:Th(b);ji(b,Oh,a.memoizedState.cache);Nd();break;case 27:case 5:Sa(b);break;case 1:$c(b.type)&&dd(b);break;case 4:Oa(b,b.stateNode.containerInfo);break;case 10:ji(b,b.type._context,b.memoizedProps.value);break;case 13:var d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return Qe(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return Yh(a,b,c);Qe(b);a=Eh(a,b,c);return null!==a?a.sibling:null}Qe(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags& +128)){if(d)return hi(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(Re,Re.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,Jh(a,b,c);case 24:ji(b,Oh,a.memoizedState.cache)}return Eh(a,b,c)}var ki=ma(null),li=null,mi=null,ni=null;function oi(){ni=mi=li=null}function ji(a,b,c){E(ki,b._currentValue);b._currentValue=c}function pi(a){var b=ki.current;a._currentValue=b===Ea?a._defaultValue:b;D(ki)} +function fi(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} +function qi(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=ce(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var k=h.pending;null===k?g.next=g:(g.next=k.next,k.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);fi(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== +f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);fi(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function Dh(a,b){li=a;ni=mi=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(hg=!0),a.firstContext=null)}function cg(a){return ri(li,a)}function Fe(a,b,c){null===li&&Dh(a,c);return ri(a,b)} +function ri(a,b){var c=b._currentValue;if(ni!==b)if(b={context:b,memoizedValue:c,next:null},null===mi){if(null===a)throw Error(t(308));mi=b;a.dependencies={lanes:0,firstContext:b}}else mi=mi.next=b;return c} +var si="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},ti=ba.unstable_scheduleCallback,ui=ba.unstable_NormalPriority,Oh={$$typeof:ta,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function $g(){return{controller:new si,data:new Map,refCount:0}} +function vi(a){a.refCount--;0===a.refCount&&ti(ui,function(){a.controller.abort()})}var wi=da.ReactCurrentBatchConfig,xi=ma(null);function Nh(){var a=xi.current;return null!==a?a:N.pooledCache}function Mh(a,b){null===b?E(xi,xi.current):E(xi,b.pool)}function Xh(){var a=Nh();return null===a?null:{parent:Oh._currentValue,pool:a}}function yi(a){a.flags|=4}function zi(a){a.flags|=2097664} +function Ai(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(M&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(Bi())a.flags|=8192;else throw re=ne,me;}function Ci(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?rb():536870912,a.lanes|=b)} +function Di(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} function U(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)for(var e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&31457280,d|=e.flags&31457280,e.return=a,e=e.sibling;else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b} -function yi(a,b,c){var d=b.pendingProps;qd(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return U(b),null;case 1:return Xc(b.type)&&Yc(),U(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);ji(Ih);Pa();D(Uc);D(Tc);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Hd(b)?si(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= -1024,null!==rd&&(zi(rd),rd=null));U(b);return null;case 26:c=b.memoizedState;if(null===a)si(b),null!==b.ref&&ti(b),null!==c?(U(b),ui(b,c)):(U(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&si(b);a.ref!==b.ref&&ti(b);null!==c?(U(b),c===e?b.flags&=-16777217:ui(b,c)):(a.memoizedProps!==d&&si(b),U(b),b.flags&=-16777217)}return null;case 27:Ra(b);c=Ja.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&si(b),a.ref!==b.ref&&ti(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); -U(b);return null}a=Ha.current;Hd(b)?Ai(b.stateNode,b.type,b.memoizedProps,a,b):(a=Bi(e,d,c),b.stateNode=a,si(b));null!==b.ref&&ti(b)}U(b);return null;case 5:Ra(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&si(b),a.ref!==b.ref&&ti(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));U(b);return null}a=Ha.current;if(Hd(b))Ai(b.stateNode,b.type,b.memoizedProps,a,b);else{e=Ci(Ja.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", +function Ei(a,b,c){var d=b.pendingProps;td(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return U(b),null;case 1:return $c(b.type)&&ad(),U(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);pi(Oh);Ra();D(Xc);D(Wc);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Kd(b)?yi(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= +1024,null!==ud&&(Fi(ud),ud=null));U(b);return null;case 26:c=b.memoizedState;if(null===a)yi(b),null!==b.ref&&zi(b),null!==c?(U(b),Ai(b,c)):(U(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&yi(b);a.ref!==b.ref&&zi(b);null!==c?(U(b),c===e?b.flags&=-16777217:Ai(b,c)):(a.memoizedProps!==d&&yi(b),U(b),b.flags&=-16777217)}return null;case 27:Ta(b);c=La.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&yi(b),a.ref!==b.ref&&zi(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); +U(b);return null}a=Ja.current;Kd(b)?Gi(b.stateNode,b.type,b.memoizedProps,a,b):(a=Hi(e,d,c),b.stateNode=a,yi(b));null!==b.ref&&zi(b)}U(b);return null;case 5:Ta(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&yi(b),a.ref!==b.ref&&zi(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));U(b);return null}a=Ja.current;if(Kd(b))Gi(b.stateNode,b.type,b.memoizedProps,a,b);else{e=Ii(La.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", c);break;default:switch(c){case "svg":a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case "math":a=e.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case "script":a=e.createElement("div");a.innerHTML="<script>\x3c/script>";a=a.removeChild(a.firstChild);break;case "select":a="string"===typeof d.is?e.createElement("select",{is:d.is}):e.createElement("select");d.multiple?a.multiple=!0:d.size&&(a.size=d.size);break;default:a="string"===typeof d.is?e.createElement(c,{is:d.is}): -e.createElement(c)}}a[zb]=b;a[Ab]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(Di(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&si(b)}null!==b.ref&& -ti(b)}U(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&si(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=Ja.current;if(Hd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[zb]=b;if(d=a.nodeValue!==c)if(e=G,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);Ei(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&Ei(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&si(b)}else a=Ci(a).createTextNode(d), -a[zb]=b,b.stateNode=a}U(b);return null;case 13:Re(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==J&&0!==(b.mode&1)&&0===(b.flags&128))Jd(),Kd(),b.flags|=384,e=!1;else if(e=Hd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[zb]=b}else Kd(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;U(b);e=!1}else null!==rd&&(zi(rd),rd=null),e=!0;if(!e)return b.flags& -256?b:null}if(0!==(b.flags&128))return b.lanes=c,b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&&null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);wi(b,b.updateQueue);U(b);return null;case 4:return Pa(),null===a&&Fi(b.stateNode.containerInfo), -U(b),null;case 10:return ji(b.type._context),U(b),null;case 17:return Xc(b.type)&&Yc(),U(b),null;case 19:D(Oe);e=b.memoizedState;if(null===e)return U(b),null;d=0!==(b.flags&128);f=e.rendering;if(null===f)if(d)xi(e,!1);else{if(0!==qh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Se(a);if(null!==f){b.flags|=128;xi(e,!1);a=f.updateQueue;b.updateQueue=a;wi(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)Gi(c,a),c=c.sibling;E(Oe,Oe.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Wa()> -Hi&&(b.flags|=128,d=!0,xi(e,!1),b.lanes=8388608)}else{if(!d)if(a=Se(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,wi(b,a),xi(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return U(b),null}else 2*Wa()-e.renderingStartTime>Hi&&1073741824!==c&&(b.flags|=128,d=!0,xi(e,!1),b.lanes=8388608);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime= -Wa(),b.sibling=null,a=Oe.current,E(Oe,d?a&1|2:a&1),b;U(b);return null;case 22:case 23:return Re(b),Ke(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&1073741824)&&0===(b.flags&128)&&(U(b),b.subtreeFlags&6&&(b.flags|=8192)):U(b),c=b.updateQueue,null!==c&&wi(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& -(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(ri),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),ji(Ih),U(b),null;case 25:return null}throw Error(t(156,b.tag));} -function Ii(a,b){qd(b);switch(b.tag){case 1:return Xc(b.type)&&Yc(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return ji(Ih),Pa(),D(Uc),D(Tc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ra(b),null;case 13:Re(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Kd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Oe),null;case 4:return Pa(),null;case 10:return ji(b.type._context), -null;case 22:case 23:return Re(b),Ke(),null!==a&&D(ri),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return ji(Ih),null;case 25:return null;default:return null}} -function Ji(a,b){qd(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&Yc();break;case 3:ji(Ih);Pa();D(Uc);D(Tc);break;case 26:case 27:case 5:Ra(b);break;case 4:Pa();break;case 13:Re(b);break;case 19:D(Oe);break;case 10:ji(b.type._context);break;case 22:case 23:Re(b);Ke();null!==a&&D(ri);break;case 24:ji(Ih)}}function Ki(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} -var Li=!1,Mi=null,Ni=!1,Oi=null,Pi={onError:function(a){Li=!0;Mi=a}};function Qi(a,b,c,d,e,f,g,h,k){Li=!1;Mi=null;Ki.apply(Pi,arguments)}function Ri(a,b,c,d,e,f,g,h,k){Qi.apply(this,arguments);if(Li){if(Li){var p=Mi;Li=!1;Mi=null}else throw Error(t(198));Ni||(Ni=!0,Oi=p)}}var Si=!1,Ti=!1,Ui="function"===typeof WeakSet?WeakSet:Set,Vi=null; -function Wi(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function Xi(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} -function Yi(a,b,c){try{c()}catch(d){W(a,b,d)}}var Zi=!1; -function $i(a,b){aj=bj;a=cj();if(dj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(A){c=null;break a}var g=0,h=-1,k=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(k=g+d);3===w.nodeType&&(g+= -w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(k=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;ej={focusedElem:a,selectionRange:c};bj=!1;for(Vi=b;null!==Vi;)if(b=Vi,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Vi=a;else for(;null!==Vi;){b=Vi;try{var z=b.alternate,B=b.flags;switch(b.tag){case 0:if(0!==(B&4)){var V= -b.updateQueue,Q=null!==V?V.events:null;if(null!==Q)for(a=0;a<Q.length;a++){var m=Q[a];m.ref.impl=m.nextImpl}}break;case 11:case 15:break;case 1:if(0!==(B&1024)&&null!==z){var l=z.memoizedProps,n=z.memoizedState,v=b.stateNode,x=v.getSnapshotBeforeUpdate(b.elementType===b.type?l:Yg(b.type,l),n);v.__reactInternalSnapshotBeforeUpdate=x}break;case 3:0!==(B&1024)&&fj(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(B&1024))throw Error(t(163));}}catch(A){W(b, -b.return,A)}a=b.sibling;if(null!==a){a.return=b.return;Vi=a;break}Vi=b.return}z=Zi;Zi=!1;return z}function gj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,Yi(b,c,g))}e=e.next}while(e!==d)}}function hj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create,e=c.inst;d=d();e.destroy=d}c=c.next}while(c!==b)}} -function ij(a,b){try{hj(b,a)}catch(c){W(a,a.return,c)}}function jj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{ge(b,c)}catch(d){W(a,a.return,d)}}}function kj(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} -function lj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:mj(a,c);d&4&&ij(c,5);break;case 1:mj(a,c);if(d&4)if(a=c.stateNode,null===b)try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:Yg(c.type,b.memoizedProps);b=b.memoizedState;try{a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&jj(c);d&512&&Wi(c,c.return);break;case 3:mj(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a= -c.child.stateNode;break;case 1:a=c.child.stateNode}try{ge(d,a)}catch(h){W(c,c.return,h)}}break;case 26:mj(a,c);d&512&&Wi(c,c.return);break;case 27:case 5:mj(a,c);null===b&&d&4&&kj(c);d&512&&Wi(c,c.return);break;case 12:mj(a,c);break;case 13:mj(a,c);d&4&&nj(a,c);break;case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||Si,!e){b=null!==b&&null!==b.memoizedState||Ti;var f=Si,g=Ti;Si=e;(Ti=b)&&!g?oj(a,c,0!==(c.subtreeFlags&8772)):mj(a,c);Si=f;Ti=g}}else mj(a,c);d&512&&("manual"===c.memoizedProps.mode? -Wi(c,c.return):Xi(c,c.return));break;default:mj(a,c)}}function pj(a){var b=a.alternate;null!==b&&(a.alternate=null,pj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Ib(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function qj(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} -function rj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||qj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} -function sj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=tj));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(sj(a,b,c),a=a.sibling;null!==a;)sj(a,b,c),a=a.sibling} -function uj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(uj(a,b,c),a=a.sibling;null!==a;)uj(a,b,c),a=a.sibling}var vj=null,wj=!1;function xj(a,b,c){for(c=c.child;null!==c;)yj(a,b,c),c=c.sibling} -function yj(a,b,c){if(db&&"function"===typeof db.onCommitFiberUnmount)try{db.onCommitFiberUnmount(cb,c)}catch(k){}switch(c.tag){case 26:Ti||Xi(c,b);xj(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Ti||Xi(c,b);var d=vj,e=wj;vj=c.stateNode;xj(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Ib(c);vj=d;wj=e;break;case 5:Ti||Xi(c,b);case 6:d=vj;e=wj;vj=null;xj(a,b,c);vj=d;wj=e;null!==vj&&(wj?(a=vj,c=c.stateNode, -8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):vj.removeChild(c.stateNode));break;case 18:null!==vj&&(wj?(a=vj,c=c.stateNode,8===a.nodeType?zj(a.parentNode,c):1===a.nodeType&&zj(a,c),Aj(a)):zj(vj,c.stateNode));break;case 4:d=vj;e=wj;vj=c.stateNode.containerInfo;wj=!0;xj(a,b,c);vj=d;wj=e;break;case 0:case 11:case 14:case 15:if(!Ti&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,Yi(c,b,h)): -0!==(f&4)&&(g.destroy=void 0,Yi(c,b,h)));e=e.next}while(e!==d)}xj(a,b,c);break;case 1:if(!Ti&&(Xi(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(k){W(c,b,k)}xj(a,b,c);break;case 21:xj(a,b,c);break;case 22:Xi(c,b);c.mode&1?(Ti=(d=Ti)||null!==c.memoizedState,xj(a,b,c),Ti=d):xj(a,b,c);break;default:xj(a,b,c)}} -function nj(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{Aj(a)}catch(c){W(b,b.return,c)}}function Bj(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new Ui);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new Ui),b;default:throw Error(t(435,a.tag));}}function Cj(a,b){var c=Bj(a);b.forEach(function(d){var e=Dj.bind(null,a,d);c.has(d)||(c.add(d),d.then(e,e))})} -function Ej(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:vj=h.stateNode;wj=!1;break a;case 3:vj=h.stateNode.containerInfo;wj=!0;break a;case 4:vj=h.stateNode.containerInfo;wj=!0;break a}h=h.return}if(null===vj)throw Error(t(160));yj(f,g,e);vj=null;wj=!1;var k=e.alternate;null!==k&&(k.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)Fj(b,a),b=b.sibling} -var Gj=null; -function Fj(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Ej(b,a);Hj(a);if(d&4){try{gj(3,a,a.return),hj(3,a)}catch(u){W(a,a.return,u)}try{gj(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:Ej(b,a);Hj(a);d&512&&null!==c&&Xi(c,c.return);d&64&&Si&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e=Gj;Ej(b,a);Hj(a);d&512&&null!==c&&Xi(c,c.return);if(d&4)if(b=null!== -c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Hb]||e[zb]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));Di(e,c,d);e[zb]=a;Pb(e);c=e;break a;case "link":var f=Ij("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g], -e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);Di(e,c,d);b.head.appendChild(e);break;case "meta":if(f=Ij("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")===(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null== -d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);Di(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[zb]=a;Pb(e);c=e}a.stateNode=c}else Jj(e,a.type,a.stateNode);else a.stateNode=Kj(e,d,a.memoizedProps);else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)): -b.count--,null===d?Jj(e,a.type,a.stateNode):Kj(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,k=a.memoizedProps;Lj(h,a.type,c.memoizedProps,k);h[Ab]=k}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Hb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"===q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p= -e.attributes;p.length;)e.removeAttributeNode(p[0]);Di(e,g,f);e[zb]=a;e[Ab]=f}case 5:Ej(b,a);Hj(a);d&512&&null!==c&&Xi(c,c.return);if(a.flags&32){b=a.stateNode;try{zc(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{Lj(d,e,c,b),d[Ab]=b}catch(u){W(a,a.return,u)}}break;case 6:Ej(b,a);Hj(a);if(d&4){if(null===a.stateNode)throw Error(t(162));c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return, -u)}}break;case 3:Mj=null;e=Gj;Gj=Nj(b.containerInfo);Ej(b,a);Gj=e;Hj(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{Aj(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=Gj;Gj=Nj(a.stateNode.containerInfo);Ej(b,a);Hj(a);Gj=c;break;case 13:Ej(b,a);Hj(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(Oj=Wa());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Cj(a,c)));break;case 22:d&512&&null!==c&&Xi(c,c.return);h=null!==a.memoizedState;k=null!==c&& -null!==c.memoizedState;if(a.mode&1){var w=Si,r=Ti;Si=w||h;Ti=r||k;Ej(b,a);Ti=r;Si=w}else Ej(b,a);Hj(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=Si||Ti,null===c||k||b||0!==(a.mode&1)&&Pj(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e=b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display", +e.createElement(c)}}a[Cb]=b;a[Db]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(Ji(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&yi(b)}null!==b.ref&& +zi(b)}U(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&yi(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=La.current;if(Kd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[Cb]=b;if(d=a.nodeValue!==c)if(e=G,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);Ki(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&Ki(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&yi(b)}else a=Ii(a).createTextNode(d), +a[Cb]=b,b.stateNode=a}U(b);return null;case 13:Ue(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==J&&0!==(b.mode&1)&&0===(b.flags&128))Md(),Nd(),b.flags|=384,e=!1;else if(e=Kd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[Cb]=b}else Nd(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;U(b);e=!1}else null!==ud&&(Fi(ud),ud=null),e=!0;if(!e)return b.flags& +256?b:null}if(0!==(b.flags&128))return b.lanes=c,b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&&null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);Ci(b,b.updateQueue);U(b);return null;case 4:return Ra(),null===a&&Li(b.stateNode.containerInfo), +U(b),null;case 10:return pi(b.type._context),U(b),null;case 17:return $c(b.type)&&ad(),U(b),null;case 19:D(Re);e=b.memoizedState;if(null===e)return U(b),null;d=0!==(b.flags&128);f=e.rendering;if(null===f)if(d)Di(e,!1);else{if(0!==wh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Ve(a);if(null!==f){b.flags|=128;Di(e,!1);a=f.updateQueue;b.updateQueue=a;Ci(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)Mi(c,a),c=c.sibling;E(Re,Re.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Ya()> +Ni&&(b.flags|=128,d=!0,Di(e,!1),b.lanes=4194304)}else{if(!d)if(a=Ve(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,Ci(b,a),Di(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return U(b),null}else 2*Ya()-e.renderingStartTime>Ni&&536870912!==c&&(b.flags|=128,d=!0,Di(e,!1),b.lanes=4194304);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Ya(), +b.sibling=null,a=Re.current,E(Re,d?a&1|2:a&1),b;U(b);return null;case 22:case 23:return Ue(b),Ne(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&536870912)&&0===(b.flags&128)&&(U(b),b.subtreeFlags&6&&(b.flags|=8192)):U(b),c=b.updateQueue,null!==c&&Ci(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& +(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(xi),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),pi(Oh),U(b),null;case 25:return null}throw Error(t(156,b.tag));} +function Oi(a,b){td(b);switch(b.tag){case 1:return $c(b.type)&&ad(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return pi(Oh),Ra(),D(Xc),D(Wc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ta(b),null;case 13:Ue(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Nd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Re),null;case 4:return Ra(),null;case 10:return pi(b.type._context), +null;case 22:case 23:return Ue(b),Ne(),null!==a&&D(xi),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return pi(Oh),null;case 25:return null;default:return null}} +function Pi(a,b){td(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&ad();break;case 3:pi(Oh);Ra();D(Xc);D(Wc);break;case 26:case 27:case 5:Ta(b);break;case 4:Ra();break;case 13:Ue(b);break;case 19:D(Re);break;case 10:pi(b.type._context);break;case 22:case 23:Ue(b);Ne();null!==a&&D(xi);break;case 24:pi(Oh)}}function Qi(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} +var Ri=!1,Si=null,Ti=!1,Ui=null,Vi={onError:function(a){Ri=!0;Si=a}};function Wi(a,b,c,d,e,f,g,h,k){Ri=!1;Si=null;Qi.apply(Vi,arguments)}function Xi(a,b,c,d,e,f,g,h,k){Wi.apply(this,arguments);if(Ri){if(Ri){var p=Si;Ri=!1;Si=null}else throw Error(t(198));Ti||(Ti=!0,Ui=p)}}var Yi=!1,Zi=!1,$i="function"===typeof WeakSet?WeakSet:Set,aj=null; +function bj(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function cj(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} +function dj(a,b,c){try{c()}catch(d){W(a,b,d)}}var ej=!1; +function fj(a,b){gj=hj;a=ij();if(jj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(A){c=null;break a}var g=0,h=-1,k=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(k=g+d);3===w.nodeType&&(g+= +w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(k=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;kj={focusedElem:a,selectionRange:c};hj=!1;for(aj=b;null!==aj;)if(b=aj,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,aj=a;else for(;null!==aj;){b=aj;try{var z=b.alternate,C=b.flags;switch(b.tag){case 0:if(0!==(C&4)){var V= +b.updateQueue,R=null!==V?V.events:null;if(null!==R)for(a=0;a<R.length;a++){var m=R[a];m.ref.impl=m.nextImpl}}break;case 11:case 15:break;case 1:if(0!==(C&1024)&&null!==z){var l=z.memoizedProps,n=z.memoizedState,v=b.stateNode,x=v.getSnapshotBeforeUpdate(b.elementType===b.type?l:dh(b.type,l),n);v.__reactInternalSnapshotBeforeUpdate=x}break;case 3:0!==(C&1024)&&lj(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(C&1024))throw Error(t(163));}}catch(A){W(b, +b.return,A)}a=b.sibling;if(null!==a){a.return=b.return;aj=a;break}aj=b.return}z=ej;ej=!1;return z}function mj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,dj(b,c,g))}e=e.next}while(e!==d)}}function nj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create,e=c.inst;d=d();e.destroy=d}c=c.next}while(c!==b)}} +function oj(a,b){try{nj(b,a)}catch(c){W(a,a.return,c)}}function pj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{je(b,c)}catch(d){W(a,a.return,d)}}}function qj(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} +function rj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:sj(a,c);d&4&&oj(c,5);break;case 1:sj(a,c);if(d&4)if(a=c.stateNode,null===b)try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:dh(c.type,b.memoizedProps);b=b.memoizedState;try{a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&pj(c);d&512&&bj(c,c.return);break;case 3:sj(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a= +c.child.stateNode;break;case 1:a=c.child.stateNode}try{je(d,a)}catch(h){W(c,c.return,h)}}break;case 26:sj(a,c);d&512&&bj(c,c.return);break;case 27:case 5:sj(a,c);null===b&&d&4&&qj(c);d&512&&bj(c,c.return);break;case 12:sj(a,c);break;case 13:sj(a,c);d&4&&tj(a,c);break;case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||Yi,!e){b=null!==b&&null!==b.memoizedState||Zi;var f=Yi,g=Zi;Yi=e;(Zi=b)&&!g?uj(a,c,0!==(c.subtreeFlags&8772)):sj(a,c);Yi=f;Zi=g}}else sj(a,c);d&512&&("manual"===c.memoizedProps.mode? +bj(c,c.return):cj(c,c.return));break;default:sj(a,c)}}function vj(a){var b=a.alternate;null!==b&&(a.alternate=null,vj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Lb(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function wj(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} +function xj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||wj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} +function yj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=zj));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(yj(a,b,c),a=a.sibling;null!==a;)yj(a,b,c),a=a.sibling} +function Aj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(Aj(a,b,c),a=a.sibling;null!==a;)Aj(a,b,c),a=a.sibling}var Bj=null,Cj=!1;function Dj(a,b,c){for(c=c.child;null!==c;)Ej(a,b,c),c=c.sibling} +function Ej(a,b,c){if(fb&&"function"===typeof fb.onCommitFiberUnmount)try{fb.onCommitFiberUnmount(eb,c)}catch(k){}switch(c.tag){case 26:Zi||cj(c,b);Dj(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Zi||cj(c,b);var d=Bj,e=Cj;Bj=c.stateNode;Dj(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Lb(c);Bj=d;Cj=e;break;case 5:Zi||cj(c,b);case 6:d=Bj;e=Cj;Bj=null;Dj(a,b,c);Bj=d;Cj=e;null!==Bj&&(Cj?(a=Bj,c=c.stateNode, +8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):Bj.removeChild(c.stateNode));break;case 18:null!==Bj&&(Cj?(a=Bj,c=c.stateNode,8===a.nodeType?Fj(a.parentNode,c):1===a.nodeType&&Fj(a,c),Gj(a)):Fj(Bj,c.stateNode));break;case 4:d=Bj;e=Cj;Bj=c.stateNode.containerInfo;Cj=!0;Dj(a,b,c);Bj=d;Cj=e;break;case 0:case 11:case 14:case 15:if(!Zi&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,dj(c,b,h)): +0!==(f&4)&&(g.destroy=void 0,dj(c,b,h)));e=e.next}while(e!==d)}Dj(a,b,c);break;case 1:if(!Zi&&(cj(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(k){W(c,b,k)}Dj(a,b,c);break;case 21:Dj(a,b,c);break;case 22:cj(c,b);c.mode&1?(Zi=(d=Zi)||null!==c.memoizedState,Dj(a,b,c),Zi=d):Dj(a,b,c);break;default:Dj(a,b,c)}} +function tj(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{Gj(a)}catch(c){W(b,b.return,c)}}function Hj(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new $i);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new $i),b;default:throw Error(t(435,a.tag));}}function Ij(a,b){var c=Hj(a);b.forEach(function(d){var e=Jj.bind(null,a,d);c.has(d)||(c.add(d),d.then(e,e))})} +function Kj(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:Bj=h.stateNode;Cj=!1;break a;case 3:Bj=h.stateNode.containerInfo;Cj=!0;break a;case 4:Bj=h.stateNode.containerInfo;Cj=!0;break a}h=h.return}if(null===Bj)throw Error(t(160));Ej(f,g,e);Bj=null;Cj=!1;var k=e.alternate;null!==k&&(k.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)Lj(b,a),b=b.sibling} +var Mj=null; +function Lj(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Kj(b,a);Nj(a);if(d&4){try{mj(3,a,a.return),nj(3,a)}catch(u){W(a,a.return,u)}try{mj(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:Kj(b,a);Nj(a);d&512&&null!==c&&cj(c,c.return);d&64&&Yi&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e=Mj;Kj(b,a);Nj(a);d&512&&null!==c&&cj(c,c.return);if(d&4)if(b=null!== +c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Kb]||e[Cb]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));Ji(e,c,d);e[Cb]=a;Sb(e);c=e;break a;case "link":var f=Oj("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g], +e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);Ji(e,c,d);b.head.appendChild(e);break;case "meta":if(f=Oj("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")===(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null== +d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);Ji(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[Cb]=a;Sb(e);c=e}a.stateNode=c}else Pj(e,a.type,a.stateNode);else a.stateNode=Qj(e,d,a.memoizedProps);else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)): +b.count--,null===d?Pj(e,a.type,a.stateNode):Qj(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,k=a.memoizedProps;Rj(h,a.type,c.memoizedProps,k);h[Db]=k}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Kb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"===q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p= +e.attributes;p.length;)e.removeAttributeNode(p[0]);Ji(e,g,f);e[Cb]=a;e[Db]=f}case 5:Kj(b,a);Nj(a);d&512&&null!==c&&cj(c,c.return);if(a.flags&32){b=a.stateNode;try{Cc(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{Rj(d,e,c,b),d[Db]=b}catch(u){W(a,a.return,u)}}break;case 6:Kj(b,a);Nj(a);if(d&4){if(null===a.stateNode)throw Error(t(162));c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return, +u)}}break;case 3:Sj=null;e=Mj;Mj=Tj(b.containerInfo);Kj(b,a);Mj=e;Nj(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{Gj(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=Mj;Mj=Tj(a.stateNode.containerInfo);Kj(b,a);Nj(a);Mj=c;break;case 13:Kj(b,a);Nj(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(Uj=Ya());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Ij(a,c)));break;case 22:d&512&&null!==c&&cj(c,c.return);h=null!==a.memoizedState;k=null!==c&& +null!==c.memoizedState;if(a.mode&1){var w=Yi,r=Zi;Yi=w||h;Zi=r||k;Kj(b,a);Zi=r;Yi=w}else Kj(b,a);Nj(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=Yi||Zi,null===c||k||b||0!==(a.mode&1)&&Vj(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e=b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display", "none","important"):f.display="none"):(g=b.stateNode,p=b.memoizedProps.style,q=void 0!==p&&null!==p&&p.hasOwnProperty("display")?p.display:null,g.style.display=null==q||"boolean"===typeof q?"":(""+q).trim())}catch(u){W(a,a.return,u)}}}else if(6===b.tag){if(null===c)try{b.stateNode.nodeValue=h?"":b.memoizedProps}catch(u){W(a,a.return,u)}}else if((22!==b.tag&&23!==b.tag||null===b.memoizedState||b===a)&&null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null=== -b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,Cj(a,d))));break;case 19:Ej(b,a);Hj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Cj(a,c)));break;case 21:break;default:Ej(b,a),Hj(a)}} -function Hj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(qj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=rj(a);uj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(zc(g,""),d.flags&=-33);var h=rj(a);uj(a,h,g);break;case 3:case 4:var k=d.stateNode.containerInfo,p=rj(a);sj(a,p,k);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} -function mj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)lj(a,b.alternate,b),b=b.sibling} -function Pj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:gj(4,b,b.return);Pj(b);break;case 1:Xi(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{var f=d;c.props=f.memoizedProps;c.state=f.memoizedState;c.componentWillUnmount()}catch(g){W(d,e,g)}}Pj(b);break;case 26:case 27:case 5:Xi(b,b.return);Pj(b);break;case 22:Xi(b,b.return);null===b.memoizedState&&Pj(b);break;default:Pj(b)}a=a.sibling}} -function oj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:oj(e,f,c);ij(f,4);break;case 1:oj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(k){W(f,f.return,k)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)fe(h[d],e)}c&&g&64&&jj(f);Wi(f,f.return);break;case 26:case 27:case 5:oj(e,f,c); -c&&null===d&&g&4&&kj(f);Wi(f,f.return);break;case 12:oj(e,f,c);break;case 13:oj(e,f,c);c&&g&4&&nj(e,f);break;case 22:null===f.memoizedState&&oj(e,f,c);Wi(f,f.return);break;default:oj(e,f,c)}b=b.sibling}}function Qj(a,b){try{hj(b,a)}catch(c){W(a,a.return,c)}} -function Rj(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&pi(c))}function Sj(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&pi(a))} -function Tj(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)Uj(a,b,c,d),b=b.sibling} -function Uj(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Tj(a,b,c,d);e&2048&&Qj(b,9);break;case 3:Tj(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&pi(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Tj(a,b,c,d):b.mode&1?Vj(a,b):(f._visibility|=4,Tj(a,b,c,d)):f._visibility&4?Tj(a,b,c,d):(f._visibility|=4,Wj(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&Rj(b.alternate, -b);break;case 24:Tj(a,b,c,d);e&2048&&Sj(b.alternate,b);break;default:Tj(a,b,c,d)}} -function Wj(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,k=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:Wj(f,g,h,k,e);Qj(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?Wj(f,g,h,k,e):g.mode&1?Vj(f,g):(q._visibility|=4,Wj(f,g,h,k,e)):(q._visibility|=4,Wj(f,g,h,k,e));e&&p&2048&&Rj(g.alternate,g);break;case 24:Wj(f,g,h,k,e);e&&p&2048&&Sj(g.alternate,g);break;default:Wj(f,g,h,k,e)}b=b.sibling}} -function Vj(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:Vj(c,d);e&2048&&Rj(d.alternate,d);break;case 24:Vj(c,d);e&2048&&Sj(d.alternate,d);break;default:Vj(c,d)}b=b.sibling}}var Xj=8192;function Yj(a){if(a.subtreeFlags&Xj)for(a=a.child;null!==a;)Zj(a),a=a.sibling} -function Zj(a){switch(a.tag){case 26:Yj(a);a.flags&Xj&&null!==a.memoizedState&&ak(Gj,a.memoizedState,a.memoizedProps);break;case 5:Yj(a);break;case 3:case 4:var b=Gj;Gj=Nj(a.stateNode.containerInfo);Yj(a);Gj=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=Xj,Xj=16777216,Yj(a),Xj=b):Yj(a));break;default:Yj(a)}}function bk(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} -function ck(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Vi=d;dk(d,a)}bk(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)ek(a),a=a.sibling}function ek(a){switch(a.tag){case 0:case 11:case 15:ck(a);a.flags&2048&&gj(9,a,a.return);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,fk(a)):ck(a);break;default:ck(a)}} -function fk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Vi=d;dk(d,a)}bk(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:gj(8,b,b.return);fk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,fk(b));break;default:fk(b)}a=a.sibling}} -function dk(a,b){for(;null!==Vi;){var c=Vi;switch(c.tag){case 0:case 11:case 15:gj(8,c,b);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:pi(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,Vi=d;else a:for(c=a;null!==Vi;){d=Vi;var e=d.sibling,f=d.return;pj(d);if(d===c){Vi=null;break a}if(null!==e){e.return=f;Vi=e;break a}Vi=f}}} -var gk={getCacheSignal:function(){return Zf(Ih).controller.signal},getCacheForType:function(a){var b=Zf(Ih),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},hk=0,ik=1,jk=2,kk=3,lk=4;if("function"===typeof Symbol&&Symbol.for){var mk=Symbol.for;hk=mk("selector.component");ik=mk("selector.has_pseudo_class");jk=mk("selector.role");kk=mk("selector.test_id");lk=mk("selector.text")} -function nk(a){var b=Jb(a)||null;if(null!=b){if("string"!==typeof b.memoizedProps["data-testname"])throw Error(t(364));return b}a:{a=[a];for(b=0;b<a.length;){var c=a[b++];if(c[Bb]){a=Lb(c);break a}a.push.apply(a,c.children)}a=null}if(null===a)throw Error(t(362));return a.stateNode.current} -function ok(a,b){var c=a.tag;switch(b.$$typeof){case hk:if(a.type===b.value)return!0;break;case ik:a:{b=b.value;c=[a,0];for(a=0;a<c.length;){var d=c[a++],e=d.tag,f=c[a++],g=b[f];if(5!==e&&26!==e&&27!==e||!pk(d)){for(;null!=g&&ok(d,g);)f++,g=b[f];if(f===b.length){b=!0;break a}else for(d=d.child;null!==d;)c.push(d,f),d=d.sibling}}b=!1}return b;case jk:if(5===c||26===c||27===c)if(c=a.stateNode,b=b.value,a=(a=c.getAttribute("role"))?a.trim().split(" "):null,b=null!==a&&0<=a.indexOf(b)||b===Rb(c)?!0:!1, -b)return!0;break;case lk:if(5===c||6===c||26===c||27===c){a:{switch(a.tag){case 26:case 27:case 5:c="";a=a.stateNode.childNodes;for(f=0;f<a.length;f++)d=a[f],d.nodeType===Node.TEXT_NODE&&(c+=d.textContent);break a;case 6:c=a.stateNode.textContent;break a}c=null}if(null!==c&&0<=c.indexOf(b.value))return!0}break;case kk:if(5===c||26===c||27===c)if(c=a.memoizedProps["data-testname"],"string"===typeof c&&c.toLowerCase()===b.value.toLowerCase())return!0;break;default:throw Error(t(365));}return!1} -function qk(a){switch(a.$$typeof){case hk:return"<"+(ic(a.value)||"Unknown")+">";case ik:return":has("+(qk(a)||"")+")";case jk:return'[role="'+a.value+'"]';case lk:return'"'+a.value+'"';case kk:return'[data-testname="'+a.value+'"]';default:throw Error(t(365));}} -function rk(a,b){var c=[];a=[a,0];for(var d=0;d<a.length;){var e=a[d++],f=e.tag,g=a[d++],h=b[g];if(5!==f&&26!==f&&27!==f||!pk(e)){for(;null!=h&&ok(e,h);)g++,h=b[g];if(g===b.length)c.push(e);else for(e=e.child;null!==e;)a.push(e,g),e=e.sibling}}return c}function sk(a,b){a=nk(a);a=rk(a,b);b=[];a=Array.from(a);for(var c=0;c<a.length;){var d=a[c++],e=d.tag;if(5===e||26===e||27===e)pk(d)||b.push(d.stateNode);else for(d=d.child;null!==d;)a.push(d),d=d.sibling}return b} -var tk="function"===typeof WeakMap?WeakMap:Map,uk=da.ReactCurrentDispatcher,vk=da.ReactCurrentCache,wk=da.ReactCurrentOwner,xk=da.ReactCurrentBatchConfig,L=0,N=null,X=null,M=0,O=0,yk=null,zk=!1,Ie=0,qh=0,ff=null,ee=0,Ak=0,Bk=0,Ck=null,kf=null,Oj=0,Hi=Infinity,lf=null,ih=!1,jh=null,lh=null,Dk=!1,Ek=null,Fk=0,Gk=0,Hk=null,Vd=0,Wd=null; -function Tg(a){if(0===(a.mode&1))return 2;if(0!==(L&2)&&0!==M)return M&-M;if(null!==qi.transition)return a=tf,0!==a?a:qf();a=F;if(0!==a)return a;a=window.event;a=void 0===a?32:Ik(a.type);return a}function ng(a,b,c){if(a===N&&2===O||null!==a.cancelPendingCommit)gf(a,0),hf(a,M);sb(a,c);if(0===(L&2)||a!==N)a===N&&(0===(L&2)&&(Ak|=c),4===qh&&hf(a,M)),Ze(a),2===c&&0===L&&0===(b.mode&1)&&(Hi=Wa()+500,bf(!0))} -function of(a,b){if(0!==(L&6))throw Error(t(327));var c=a.callbackNode;if(cf()&&a.callbackNode!==c)return null;var d=mb(a,a===N?M:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?Jk(a,d):df(a,d);if(0!==b){var f=e;do{if(6===b)hf(a,d);else{e=a.current.alternate;if(f&&!Kk(e)){b=df(a,d);f=!1;continue}if(2===b){f=d;var g=ob(a,f);0!==g&&(d=g,b=ef(a,f,g))}if(1===b)throw c=ff,gf(a,0),hf(a,d),Ze(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); -case 4:if((d&8388480)===d){hf(f,d);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&125829120)===d&&(b=Oj+300-Wa(),10<b)){hf(f,d);if(0!==mb(f,0))break a;f.timeoutHandle=Lk(Mk.bind(null,f,e,kf,lf,d),b);break a}Mk(f,e,kf,lf,d)}}break}while(1)}Ze(a);nf(a,Wa());a=a.callbackNode===c?of.bind(null,a):null;return a} -function ef(a,b,c){var d=Ck,e=a.current.memoizedState.isDehydrated;e&&(gf(a,c).flags|=256);c=df(a,c);if(2!==c){if(zk&&!e)return a.errorRecoveryDisabledLanes|=b,Ak|=b,4;a=kf;kf=d;null!==a&&zi(a)}return c}function zi(a){null===kf?kf=a:kf.push.apply(kf,a)}function Mk(a,b,c,d,e){if(0===(e&42)&&(Nk={stylesheets:null,count:0,unsuspend:Ok},Zj(b),b=Pk(),null!==b)){a.cancelPendingCommit=b(jf.bind(null,a,c,d));hf(a,e);return}jf(a,c,d)} -function Kk(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!dd(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} -function hf(a,b){b&=~Bk;b&=~Ak;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-gb(b),d=1<<c;a[c]=-1;b&=~d}}function Qk(a,b){var c=L;L|=1;try{return a(b)}finally{L=c,0===L&&(Hi=Wa()+500,bf(!0))}}function Rk(a){null!==Ek&&0===Ek.tag&&0===(L&6)&&cf();var b=L;L|=1;var c=xk.transition,d=F;try{if(xk.transition=null,F=2,a)return a()}finally{F=d,xk.transition=c,L=b,0===(L&6)&&bf(!1)}} -function Sk(){if(null!==X){if(0===O)var a=X.return;else a=X,ii(),Uf(a),qe=null,re=0,a=X;for(;null!==a;)Ji(a.alternate,a),a=a.return;X=null}}function gf(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Tk(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());Sk();N=a;X=a=xe(a.current,null);M=Ie=b;O=0;yk=null;zk=!1;qh=0;ff=null;Bk=Ak=ee=0;kf=Ck=null;Pd();return a} -function Uk(a,b){P=null;yf.current=Of;wk.current=null;b===ie?(b=pe(),O=vi()&&0===(ee&268435455)&&0===(Ak&268435455)?2:3):b===je?(b=pe(),O=4):O=b===uh?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;yk=b;null===X&&(qh=1,ff=b)}function vi(){var a=Le.current;return null===a?!0:(M&8388480)===M?null===Me?!0:!1:(M&125829120)===M||0!==(M&1073741824)?a===Me:!1}function Vk(){var a=uk.current;uk.current=Of;return null===a?Of:a}function Wk(){var a=vk.current;vk.current=gk;return a} -function ph(){qh=4;null===N||0===(ee&268435455)&&0===(Ak&268435455)||hf(N,M)}function sh(a){4!==qh&&(qh=2);null===Ck?Ck=[a]:Ck.push(a)} -function df(a,b){var c=L;L|=2;var d=Vk(),e=Wk();if(N!==a||M!==b)lf=null,gf(a,b);b=!1;a:do try{if(0!==O&&null!==X){var f=X,g=yk;switch(O){case 8:Sk();qh=6;break a;case 3:case 2:b||null!==Le.current||(b=!0);default:O=0,yk=null,Xk(f,g)}}Yk();break}catch(h){Uk(a,h)}while(1);b&&a.shellSuspendCounter++;ii();L=c;uk.current=d;vk.current=e;if(null!==X)throw Error(t(261));N=null;M=0;Pd();return qh}function Yk(){for(;null!==X;)Zk(X)} -function Jk(a,b){var c=L;L|=2;var d=Vk(),e=Wk();if(N!==a||M!==b)lf=null,Hi=Wa()+500,gf(a,b);a:do try{if(0!==O&&null!==X){b=X;var f=yk;b:switch(O){case 1:O=0;yk=null;Xk(b,f);break;case 2:if(le(f)){O=0;yk=null;$k(b);break}b=function(){2===O&&N===a&&(O=7);Ze(a)};f.then(b,b);break a;case 3:O=7;break a;case 4:O=5;break a;case 7:le(f)?(O=0,yk=null,$k(b)):(O=0,yk=null,Xk(b,f));break;case 5:switch(X.tag){case 5:case 26:case 27:b=X;O=0;yk=null;var g=b.sibling;if(null!==g)X=g;else{var h=b.return;null!==h?(X= -h,al(h)):X=null}break b}O=0;yk=null;Xk(b,f);break;case 6:O=0;yk=null;Xk(b,f);break;case 8:Sk();qh=6;break a;default:throw Error(t(462));}}bl();break}catch(k){Uk(a,k)}while(1);ii();uk.current=d;vk.current=e;L=c;if(null!==X)return 0;N=null;M=0;Pd();return qh}function bl(){for(;null!==X&&!Ua();)Zk(X)}function Zk(a){var b=cl(a.alternate,a,Ie);a.memoizedProps=a.pendingProps;null===b?al(a):X=b;wk.current=null} -function $k(a){var b=a.alternate;switch(a.tag){case 2:a.tag=0;case 15:case 0:var c=a.type,d=a.pendingProps;d=a.elementType===c?d:Yg(c,d);var e=Xc(c)?Vc:Tc.current;e=Wc(a,e);b=Jh(b,a,d,c,e,M);break;case 11:c=a.type.render;d=a.pendingProps;d=a.elementType===c?d:Yg(c,d);b=Jh(b,a,d,c,a.ref,M);break;case 5:Uf(a);default:Ji(b,a),a=X=Gi(a,Ie),b=cl(b,a,Ie)}a.memoizedProps=a.pendingProps;null===b?al(a):X=b;wk.current=null} -function Xk(a,b){ii();Uf(a);qe=null;re=0;var c=a.return;if(null===c||null===N)qh=1,ff=b,X=null;else{try{oh(N,c,a,b,M)}catch(d){throw X=c,d;}if(a.flags&32768)a:{do{b=Ii(a.alternate,a);if(null!==b){b.flags&=32767;X=b;break a}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);X=a}while(null!==a);qh=6;X=null}else al(a)}}function al(a){var b=a;do{a=b.return;var c=yi(b.alternate,b,Ie);if(null!==c){X=c;return}b=b.sibling;if(null!==b){X=b;return}X=b=a}while(null!==b);0===qh&&(qh=5)} -function jf(a,b,c){var d=F,e=xk.transition;try{xk.transition=null,F=2,dl(a,b,c,d)}finally{xk.transition=e,F=d}return null} -function dl(a,b,c,d){do cf();while(null!==Ek);if(0!==(L&6))throw Error(t(327));var e=a.finishedWork,f=a.finishedLanes;if(null===e)return null;a.finishedWork=null;a.finishedLanes=0;if(e===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var g=e.lanes|e.childLanes;g|=Od;tb(a,g);a===N&&(X=N=null,M=0);0===(e.subtreeFlags&10256)&&0===(e.flags&10256)||Dk||(Dk=!0,Gk=g,Hk=c,el($a,function(){cf();return null}));c=0!==(e.flags&15990);if(0!==(e.subtreeFlags&15990)|| -c){c=xk.transition;xk.transition=null;var h=F;F=2;var k=L;L|=4;wk.current=null;$i(a,e);Fj(e,a);fl(ej);bj=!!aj;ej=aj=null;a.current=e;lj(a,e.alternate,e);Va();L=k;F=h;xk.transition=c}else a.current=e;Dk?(Dk=!1,Ek=a,Fk=f):gl(a,g);g=a.pendingLanes;0===g&&(lh=null);eb(e.stateNode,d);Ze(a);if(null!==b)for(d=a.onRecoverableError,e=0;e<b.length;e++)g=b[e],c={digest:g.digest,componentStack:g.stack},d(g.value,c);if(ih)throw ih=!1,a=jh,jh=null,a;0!==(Fk&3)&&0!==a.tag&&cf();g=a.pendingLanes;0!==(f&8388522)&& -0!==(g&42)?a===Wd?Vd++:(Vd=0,Wd=a):Vd=0;bf(!1);return null}function gl(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,pi(b)))} -function cf(){if(null!==Ek){var a=Ek,b=Gk;Gk=0;var c=wb(Fk),d=32>c?32:c;c=xk.transition;var e=F;try{xk.transition=null;F=d;if(null===Ek)var f=!1;else{d=Hk;Hk=null;var g=Ek,h=Fk;Ek=null;Fk=0;if(0!==(L&6))throw Error(t(331));var k=L;L|=4;ek(g.current);Uj(g,g.current,h,d);L=k;bf(!1);if(db&&"function"===typeof db.onPostCommitFiberRoot)try{db.onPostCommitFiberRoot(cb,g)}catch(p){}f=!0}return f}finally{F=e,xk.transition=c,gl(a,b)}}return!1} -function hl(a,b,c){b=eh(c,b);b=hh(a,b,2);a=ae(a,b,2);null!==a&&(sb(a,2),Ze(a))}function W(a,b,c){if(3===a.tag)hl(a,a,c);else for(;null!==b;){if(3===b.tag){hl(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===lh||!lh.has(d))){a=eh(c,a);a=kh(b,a,2);b=ae(b,a,2);null!==b&&(sb(b,2),Ze(b));break}}b=b.return}} -function rh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new tk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(zk=!0,e.add(c),a=il.bind(null,a,b,c),b.then(a,a))}function il(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===qh||3===qh&&(M&125829120)===M&&300>Wa()-Oj?0===(L&2)&&gf(a,0):Bk|=c);Ze(a)}function jl(a,b){0===b&&(b=0===(a.mode&1)?2:qb());a=Ud(a,b);null!==a&&(sb(a,b),Ze(a))} -function Yh(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);jl(a,c)}function Dj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);jl(a,c)}var cl; -cl=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Uc.current)dg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return dg=!1,ci(a,b,c);dg=0!==(a.flags&131072)?!0:!1}else dg=!1,K&&0!==(b.flags&1048576)&&od(b,hd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Lh(a,b);a=b.pendingProps;var e=Wc(b,Tc.current);xh(b,c);e=Jf(null,b,d,a,e,c);var f=Sf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= -null,Xc(d)?(f=!0,ad(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,Yd(b),e.updater=$g,b.stateNode=e,e._reactInternals=b,dh(b,d,a,c),b=Mh(null,b,d,!0,f,c)):(b.tag=0,K&&f&&pd(b),vh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Lh(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=kl(d);a=Yg(d,a);switch(e){case 0:b=Ch(null,b,d,a,c);break a;case 1:b=Kh(null,b,d,a,c);break a;case 11:b=wh(null,b,d,a,c);break a;case 14:b=zh(null,b,d,Yg(d.type,a),c);break a}throw Error(t(306, -d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Yg(d,e),Ch(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Yg(d,e),Kh(a,b,d,e,c);case 3:a:{Nh(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;Zd(a,b);de(b,e,null,c);var g=b.memoizedState;e=g.cache;di(b,Ih,e);e!==f.cache&&ki(b,Ih,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= -eh(Error(t(423)),b);b=Oh(a,b,e,c,d);break a}else if(e!==d){d=eh(Error(t(424)),b);b=Oh(a,b,e,c,d);break a}else for(J=yd(b.stateNode.containerInfo.firstChild),G=b,K=!0,rd=null,sd=!0,c=Ee(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Kd();if(e===d){b=yh(a,b,c);break a}vh(a,b,e,c)}b=b.child}return b;case 26:return Eh(a,b),c=b.memoizedState=ll(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Ci(Ja.current).createElement(c),d[zb]= -b,d[Ab]=a,Di(d,c,a),Pb(d),b.stateNode=d),null;case 27:return Qa(b),null===a&&K&&(d=b.stateNode=Bi(b.type,b.pendingProps,Ja.current),G=b,sd=!0,J=yd(d.firstChild)),d=b.pendingProps.children,null!==a||K?vh(a,b,d,c):b.child=De(b,null,d,c),Eh(a,b),b.child;case 5:return Qa(b),null===a&&K&&((e=d=J,e)?wd(b,e)||(Dd(b)&&Ed(),J=Cd(e),f=G,J&&wd(b,J)?td(f,e):(vd(G,b),K=!1,G=b,J=d)):(Dd(b)&&Ed(),vd(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Id(e,f)?d=null:null!== -g&&Id(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Jf(a,b,Qf,null,null,c),La._currentValue=e,dg&&null!==a&&a.memoizedState.memoizedState!==e&&ki(b,La,c)),Eh(a,b),vh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?zd(b,a)||(Dd(b)&&Ed(),J=Cd(a),d=G,J&&zd(b,J)?td(d,a):(vd(G,b),K=!1,G=b,J=c)):(Dd(b)&&Ed(),vd(G,b),K=!1,G=b,J=c)),null;case 13:return Sh(a,b,c);case 4:return Ma(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=De(b,null,d,c):vh(a,b,d,c),b.child; -case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Yg(d,e),wh(a,b,d,e,c);case 7:return vh(a,b,b.pendingProps,c),b.child;case 8:return vh(a,b,b.pendingProps.children,c),b.child;case 12:return vh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;di(b,d,g);if(null!==f)if(dd(f.value,g)){if(f.children===e.children&&!Uc.current){b=yh(a,b,c);break a}}else ki(b,d,c);vh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= -b.pendingProps.children,xh(b,c),e=Zf(e),d=d(e),b.flags|=1,vh(a,b,d,c),b.child;case 14:return d=b.type,e=Yg(d,b.pendingProps),e=Yg(d.type,e),zh(a,b,d,e,c);case 15:return Bh(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Yg(d,e),Lh(a,b),b.tag=1,Xc(d)?(a=!0,ad(b)):a=!1,xh(b,c),bh(b,d,e),dh(b,d,e,c),Mh(null,b,d,!0,a,c);case 19:return bi(a,b,c);case 22:return Dh(a,b,c);case 24:return xh(b,c),d=Zf(Ih),null===a?(e=Hh(),null===e&&(e=N,f=Ug(),e.pooledCache=f,f.refCount++, -null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},Yd(b),di(b,Ih,e)):(0!==(a.lanes&c)&&(Zd(a,b),de(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),di(b,Ih,d)):(d=f.cache,di(b,Ih,d),d!==e.cache&&ki(b,Ih,c))),vh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function el(a,b){return Sa(a,b)} -function ml(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function ud(a,b,c,d){return new ml(a,b,c,d)}function Ah(a){a=a.prototype;return!(!a||!a.isReactComponent)} -function kl(a){if("function"===typeof a)return Ah(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===ta)return 11;if(a===wa)return 14}return 2} -function xe(a,b){var c=a.alternate;null===c?(c=ud(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; +b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,Ij(a,d))));break;case 19:Kj(b,a);Nj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Ij(a,c)));break;case 21:break;default:Kj(b,a),Nj(a)}} +function Nj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(wj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=xj(a);Aj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(Cc(g,""),d.flags&=-33);var h=xj(a);Aj(a,h,g);break;case 3:case 4:var k=d.stateNode.containerInfo,p=xj(a);yj(a,p,k);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} +function sj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)rj(a,b.alternate,b),b=b.sibling} +function Vj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:mj(4,b,b.return);Vj(b);break;case 1:cj(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{var f=d;c.props=f.memoizedProps;c.state=f.memoizedState;c.componentWillUnmount()}catch(g){W(d,e,g)}}Vj(b);break;case 26:case 27:case 5:cj(b,b.return);Vj(b);break;case 22:cj(b,b.return);null===b.memoizedState&&Vj(b);break;default:Vj(b)}a=a.sibling}} +function uj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:uj(e,f,c);oj(f,4);break;case 1:uj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(k){W(f,f.return,k)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)ie(h[d],e)}c&&g&64&&pj(f);bj(f,f.return);break;case 26:case 27:case 5:uj(e,f,c); +c&&null===d&&g&4&&qj(f);bj(f,f.return);break;case 12:uj(e,f,c);break;case 13:uj(e,f,c);c&&g&4&&tj(e,f);break;case 22:null===f.memoizedState&&uj(e,f,c);bj(f,f.return);break;default:uj(e,f,c)}b=b.sibling}}function Wj(a,b){try{nj(b,a)}catch(c){W(a,a.return,c)}} +function Xj(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&vi(c))}function Yj(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&vi(a))} +function Zj(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)ak(a,b,c,d),b=b.sibling} +function ak(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Zj(a,b,c,d);e&2048&&Wj(b,9);break;case 3:Zj(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&vi(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Zj(a,b,c,d):b.mode&1?bk(a,b):(f._visibility|=4,Zj(a,b,c,d)):f._visibility&4?Zj(a,b,c,d):(f._visibility|=4,ck(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&Xj(b.alternate, +b);break;case 24:Zj(a,b,c,d);e&2048&&Yj(b.alternate,b);break;default:Zj(a,b,c,d)}} +function ck(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,k=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:ck(f,g,h,k,e);Wj(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?ck(f,g,h,k,e):g.mode&1?bk(f,g):(q._visibility|=4,ck(f,g,h,k,e)):(q._visibility|=4,ck(f,g,h,k,e));e&&p&2048&&Xj(g.alternate,g);break;case 24:ck(f,g,h,k,e);e&&p&2048&&Yj(g.alternate,g);break;default:ck(f,g,h,k,e)}b=b.sibling}} +function bk(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:bk(c,d);e&2048&&Xj(d.alternate,d);break;case 24:bk(c,d);e&2048&&Yj(d.alternate,d);break;default:bk(c,d)}b=b.sibling}}var dk=8192;function ek(a){if(a.subtreeFlags&dk)for(a=a.child;null!==a;)fk(a),a=a.sibling} +function fk(a){switch(a.tag){case 26:ek(a);a.flags&dk&&null!==a.memoizedState&&gk(Mj,a.memoizedState,a.memoizedProps);break;case 5:ek(a);break;case 3:case 4:var b=Mj;Mj=Tj(a.stateNode.containerInfo);ek(a);Mj=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=dk,dk=16777216,ek(a),dk=b):ek(a));break;default:ek(a)}}function hk(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} +function ik(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];aj=d;jk(d,a)}hk(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)kk(a),a=a.sibling}function kk(a){switch(a.tag){case 0:case 11:case 15:ik(a);a.flags&2048&&mj(9,a,a.return);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,lk(a)):ik(a);break;default:ik(a)}} +function lk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];aj=d;jk(d,a)}hk(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:mj(8,b,b.return);lk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,lk(b));break;default:lk(b)}a=a.sibling}} +function jk(a,b){for(;null!==aj;){var c=aj;switch(c.tag){case 0:case 11:case 15:mj(8,c,b);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:vi(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,aj=d;else a:for(c=a;null!==aj;){d=aj;var e=d.sibling,f=d.return;vj(d);if(d===c){aj=null;break a}if(null!==e){e.return=f;aj=e;break a}aj=f}}} +var mk={getCacheSignal:function(){return cg(Oh).controller.signal},getCacheForType:function(a){var b=cg(Oh),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},nk=0,ok=1,pk=2,qk=3,rk=4;if("function"===typeof Symbol&&Symbol.for){var sk=Symbol.for;nk=sk("selector.component");ok=sk("selector.has_pseudo_class");pk=sk("selector.role");qk=sk("selector.test_id");rk=sk("selector.text")} +function tk(a){var b=Mb(a)||null;if(null!=b){if("string"!==typeof b.memoizedProps["data-testname"])throw Error(t(364));return b}a:{a=[a];for(b=0;b<a.length;){var c=a[b++];if(c[Eb]){a=Ob(c);break a}a.push.apply(a,c.children)}a=null}if(null===a)throw Error(t(362));return a.stateNode.current} +function uk(a,b){var c=a.tag;switch(b.$$typeof){case nk:if(a.type===b.value)return!0;break;case ok:a:{b=b.value;c=[a,0];for(a=0;a<c.length;){var d=c[a++],e=d.tag,f=c[a++],g=b[f];if(5!==e&&26!==e&&27!==e||!vk(d)){for(;null!=g&&uk(d,g);)f++,g=b[f];if(f===b.length){b=!0;break a}else for(d=d.child;null!==d;)c.push(d,f),d=d.sibling}}b=!1}return b;case pk:if(5===c||26===c||27===c)if(c=a.stateNode,b=b.value,a=(a=c.getAttribute("role"))?a.trim().split(" "):null,b=null!==a&&0<=a.indexOf(b)||b===Ub(c)?!0:!1, +b)return!0;break;case rk:if(5===c||6===c||26===c||27===c){a:{switch(a.tag){case 26:case 27:case 5:c="";a=a.stateNode.childNodes;for(f=0;f<a.length;f++)d=a[f],d.nodeType===Node.TEXT_NODE&&(c+=d.textContent);break a;case 6:c=a.stateNode.textContent;break a}c=null}if(null!==c&&0<=c.indexOf(b.value))return!0}break;case qk:if(5===c||26===c||27===c)if(c=a.memoizedProps["data-testname"],"string"===typeof c&&c.toLowerCase()===b.value.toLowerCase())return!0;break;default:throw Error(t(365));}return!1} +function wk(a){switch(a.$$typeof){case nk:return"<"+(lc(a.value)||"Unknown")+">";case ok:return":has("+(wk(a)||"")+")";case pk:return'[role="'+a.value+'"]';case rk:return'"'+a.value+'"';case qk:return'[data-testname="'+a.value+'"]';default:throw Error(t(365));}} +function xk(a,b){var c=[];a=[a,0];for(var d=0;d<a.length;){var e=a[d++],f=e.tag,g=a[d++],h=b[g];if(5!==f&&26!==f&&27!==f||!vk(e)){for(;null!=h&&uk(e,h);)g++,h=b[g];if(g===b.length)c.push(e);else for(e=e.child;null!==e;)a.push(e,g),e=e.sibling}}return c}function yk(a,b){a=tk(a);a=xk(a,b);b=[];a=Array.from(a);for(var c=0;c<a.length;){var d=a[c++],e=d.tag;if(5===e||26===e||27===e)vk(d)||b.push(d.stateNode);else for(d=d.child;null!==d;)a.push(d),d=d.sibling}return b} +var zk="function"===typeof WeakMap?WeakMap:Map,Ak=da.ReactCurrentDispatcher,Bk=da.ReactCurrentCache,Ck=da.ReactCurrentOwner,Dk=da.ReactCurrentBatchConfig,L=0,N=null,X=null,M=0,O=0,Ek=null,Fk=!1,Le=0,wh=0,jf=null,he=0,Gk=0,Hk=0,pf=0,Ik=null,nf=null,Uj=0,Ni=Infinity,of=null,oh=!1,ph=null,rh=null,Jk=!1,Kk=null,Lk=0,Mk=0,Nk=null,Yd=0,Zd=null; +function Zg(a){if(0===(a.mode&1))return 2;if(0!==(L&2)&&0!==M)return M&-M;if(null!==wi.transition)return a=xf,0!==a?a:uf();a=F;if(0!==a)return a;a=window.event;a=void 0===a?32:Ok(a.type);return a}function Pg(){0===pf&&(pf=0!==(M&536870912)?536870912:uf());return pf}function rg(a,b,c){if(a===N&&2===O||null!==a.cancelPendingCommit)kf(a,0),lf(a,M,pf);tb(a,c);if(0===(L&2)||a!==N)a===N&&(0===(L&2)&&(Gk|=c),4===wh&&lf(a,M,pf)),bf(a),2===c&&0===L&&0===(b.mode&1)&&(Ni=Ya()+500,ef(!0))} +function sf(a,b){if(0!==(L&6))throw Error(t(327));var c=a.callbackNode;if(ff()&&a.callbackNode!==c)return null;var d=ob(a,a===N?M:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?Pk(a,d):gf(a,d);if(0!==b){var f=e;do{if(6===b)lf(a,d,0);else{e=a.current.alternate;if(f&&!Qk(e)){b=gf(a,d);f=!1;continue}if(2===b){f=d;var g=qb(a,f);0!==g&&(d=g,b=hf(a,f,g))}if(1===b)throw c=jf,kf(a,0),lf(a,d,0),bf(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); +case 4:if((d&4194176)===d){lf(f,d,pf);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&62914560)===d&&(b=Uj+300-Ya(),10<b)){lf(f,d,pf);if(0!==ob(f,0))break a;f.timeoutHandle=Rk(Sk.bind(null,f,e,nf,of,d,pf),b);break a}Sk(f,e,nf,of,d,pf)}}break}while(1)}bf(a);rf(a,Ya());a=a.callbackNode===c?sf.bind(null,a):null;return a} +function hf(a,b,c){var d=Ik,e=a.current.memoizedState.isDehydrated;e&&(kf(a,c).flags|=256);c=gf(a,c);if(2!==c){if(Fk&&!e)return a.errorRecoveryDisabledLanes|=b,Gk|=b,4;a=nf;nf=d;null!==a&&Fi(a)}return c}function Fi(a){null===nf?nf=a:nf.push.apply(nf,a)}function Sk(a,b,c,d,e,f){if(0===(e&42)&&(Tk={stylesheets:null,count:0,unsuspend:Uk},fk(b),b=Vk(),null!==b)){a.cancelPendingCommit=b(mf.bind(null,a,c,d));lf(a,e,f);return}mf(a,c,d,f)} +function Qk(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!gd(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} +function lf(a,b,c){b&=~Hk;b&=~Gk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(var d=a.expirationTimes,e=b;0<e;){var f=31-ib(e),g=1<<f;d[f]=-1;e&=~g}0!==c&&vb(a,c,b)}function Wk(a,b){var c=L;L|=1;try{return a(b)}finally{L=c,0===L&&(Ni=Ya()+500,ef(!0))}}function Xk(a){null!==Kk&&0===Kk.tag&&0===(L&6)&&ff();var b=L;L|=1;var c=Dk.transition,d=F;try{if(Dk.transition=null,F=2,a)return a()}finally{F=d,Dk.transition=c,L=b,0===(L&6)&&ef(!1)}} +function Yk(){if(null!==X){if(0===O)var a=X.return;else a=X,oi(),Yf(a),te=null,ue=0,a=X;for(;null!==a;)Pi(a.alternate,a),a=a.return;X=null}} +function kf(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Zk(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());Yk();N=a;X=c=Ae(a.current,null);M=b;O=0;Ek=null;Fk=!1;wh=0;jf=null;pf=Hk=Gk=he=0;nf=Ik=null;0!==(b&8)&&(b|=b&32);var d=a.entangledLanes;if(0!==d)for(a=a.entanglements,d&=b;0<d;){var e=31-ib(d),f=1<<e;b|=a[e];d&=~f}Le=b;Sd();return c} +function $k(a,b){P=null;Cf.current=Sf;Ck.current=null;b===le?(b=se(),O=Bi()&&0===(he&134217727)&&0===(Gk&134217727)?2:3):b===me?(b=se(),O=4):O=b===Ah?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;Ek=b;null===X&&(wh=1,jf=b)}function Bi(){var a=Oe.current;return null===a?!0:(M&4194176)===M?null===Pe?!0:!1:(M&62914560)===M||0!==(M&536870912)?a===Pe:!1}function al(){var a=Ak.current;Ak.current=Sf;return null===a?Sf:a}function bl(){var a=Bk.current;Bk.current=mk;return a} +function vh(){wh=4;0===(he&134217727)&&0===(Gk&134217727)||null===N||lf(N,M,pf)}function yh(a){4!==wh&&(wh=2);null===Ik?Ik=[a]:Ik.push(a)} +function gf(a,b){var c=L;L|=2;var d=al(),e=bl();if(N!==a||M!==b)of=null,kf(a,b);b=!1;a:do try{if(0!==O&&null!==X){var f=X,g=Ek;switch(O){case 8:Yk();wh=6;break a;case 3:case 2:b||null!==Oe.current||(b=!0);default:O=0,Ek=null,cl(f,g)}}dl();break}catch(h){$k(a,h)}while(1);b&&a.shellSuspendCounter++;oi();L=c;Ak.current=d;Bk.current=e;if(null!==X)throw Error(t(261));N=null;M=0;Sd();return wh}function dl(){for(;null!==X;)el(X)} +function Pk(a,b){var c=L;L|=2;var d=al(),e=bl();if(N!==a||M!==b)of=null,Ni=Ya()+500,kf(a,b);a:do try{if(0!==O&&null!==X){b=X;var f=Ek;b:switch(O){case 1:O=0;Ek=null;cl(b,f);break;case 2:if(oe(f)){O=0;Ek=null;fl(b);break}b=function(){2===O&&N===a&&(O=7);bf(a)};f.then(b,b);break a;case 3:O=7;break a;case 4:O=5;break a;case 7:oe(f)?(O=0,Ek=null,fl(b)):(O=0,Ek=null,cl(b,f));break;case 5:switch(X.tag){case 5:case 26:case 27:b=X;O=0;Ek=null;var g=b.sibling;if(null!==g)X=g;else{var h=b.return;null!==h?(X= +h,gl(h)):X=null}break b}O=0;Ek=null;cl(b,f);break;case 6:O=0;Ek=null;cl(b,f);break;case 8:Yk();wh=6;break a;default:throw Error(t(462));}}hl();break}catch(k){$k(a,k)}while(1);oi();Ak.current=d;Bk.current=e;L=c;if(null!==X)return 0;N=null;M=0;Sd();return wh}function hl(){for(;null!==X&&!Wa();)el(X)}function el(a){var b=il(a.alternate,a,Le);a.memoizedProps=a.pendingProps;null===b?gl(a):X=b;Ck.current=null} +function fl(a){var b=a.alternate;switch(a.tag){case 2:a.tag=0;case 15:case 0:var c=a.type,d=a.pendingProps;d=a.elementType===c?d:dh(c,d);var e=$c(c)?Yc:Wc.current;e=Zc(a,e);b=Ph(b,a,d,c,e,M);break;case 11:c=a.type.render;d=a.pendingProps;d=a.elementType===c?d:dh(c,d);b=Ph(b,a,d,c,a.ref,M);break;case 5:Yf(a);default:Pi(b,a),a=X=Mi(a,Le),b=il(b,a,Le)}a.memoizedProps=a.pendingProps;null===b?gl(a):X=b;Ck.current=null} +function cl(a,b){oi();Yf(a);te=null;ue=0;var c=a.return;if(null===c||null===N)wh=1,jf=b,X=null;else{try{uh(N,c,a,b,M)}catch(d){throw X=c,d;}if(a.flags&32768)a:{do{b=Oi(a.alternate,a);if(null!==b){b.flags&=32767;X=b;break a}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);X=a}while(null!==a);wh=6;X=null}else gl(a)}}function gl(a){var b=a;do{a=b.return;var c=Ei(b.alternate,b,Le);if(null!==c){X=c;return}b=b.sibling;if(null!==b){X=b;return}X=b=a}while(null!==b);0===wh&&(wh=5)} +function mf(a,b,c,d){var e=F,f=Dk.transition;try{Dk.transition=null,F=2,jl(a,b,c,e,d)}finally{Dk.transition=f,F=e}return null} +function jl(a,b,c,d,e){do ff();while(null!==Kk);if(0!==(L&6))throw Error(t(327));var f=a.finishedWork,g=a.finishedLanes;if(null===f)return null;a.finishedWork=null;a.finishedLanes=0;if(f===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var h=f.lanes|f.childLanes;h|=Rd;ub(a,h,e);a===N&&(X=N=null,M=0);0===(f.subtreeFlags&10256)&&0===(f.flags&10256)||Jk||(Jk=!0,Mk=h,Nk=c,kl(bb,function(){ff();return null}));c=0!==(f.flags&15990);if(0!==(f.subtreeFlags& +15990)||c){c=Dk.transition;Dk.transition=null;e=F;F=2;var k=L;L|=4;Ck.current=null;fj(a,f);Lj(f,a);ll(kj);hj=!!gj;kj=gj=null;a.current=f;rj(a,f.alternate,f);Xa();L=k;F=e;Dk.transition=c}else a.current=f;Jk?(Jk=!1,Kk=a,Lk=g):ml(a,h);h=a.pendingLanes;0===h&&(rh=null);gb(f.stateNode,d);bf(a);if(null!==b)for(d=a.onRecoverableError,f=0;f<b.length;f++)h=b[f],c={digest:h.digest,componentStack:h.stack},d(h.value,c);if(oh)throw oh=!1,a=ph,ph=null,a;0!==(Lk&3)&&0!==a.tag&&ff();h=a.pendingLanes;0!==(g&4194218)&& +0!==(h&42)?a===Zd?Yd++:(Yd=0,Zd=a):Yd=0;ef(!1);return null}function ml(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,vi(b)))} +function ff(){if(null!==Kk){var a=Kk,b=Mk;Mk=0;var c=zb(Lk),d=32>c?32:c;c=Dk.transition;var e=F;try{Dk.transition=null;F=d;if(null===Kk)var f=!1;else{d=Nk;Nk=null;var g=Kk,h=Lk;Kk=null;Lk=0;if(0!==(L&6))throw Error(t(331));var k=L;L|=4;kk(g.current);ak(g,g.current,h,d);L=k;ef(!1);if(fb&&"function"===typeof fb.onPostCommitFiberRoot)try{fb.onPostCommitFiberRoot(eb,g)}catch(p){}f=!0}return f}finally{F=e,Dk.transition=c,ml(a,b)}}return!1} +function nl(a,b,c){b=kh(c,b);b=nh(a,b,2);a=de(a,b,2);null!==a&&(tb(a,2),bf(a))}function W(a,b,c){if(3===a.tag)nl(a,a,c);else for(;null!==b;){if(3===b.tag){nl(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===rh||!rh.has(d))){a=kh(c,a);a=qh(b,a,2);b=de(b,a,2);null!==b&&(tb(b,2),bf(b));break}}b=b.return}} +function xh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new zk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(Fk=!0,e.add(c),a=ol.bind(null,a,b,c),b.then(a,a))}function ol(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===wh||3===wh&&(M&62914560)===M&&300>Ya()-Uj?0===(L&2)&&kf(a,0):Hk|=c);bf(a)}function pl(a,b){0===b&&(b=0===(a.mode&1)?2:rb());a=Xd(a,b);null!==a&&(tb(a,b),bf(a))} +function di(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);pl(a,c)}function Jj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);pl(a,c)}var il; +il=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Xc.current)hg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return hg=!1,ii(a,b,c);hg=0!==(a.flags&131072)?!0:!1}else hg=!1,K&&0!==(b.flags&1048576)&&rd(b,kd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Rh(a,b);a=b.pendingProps;var e=Zc(b,Wc.current);Dh(b,c);e=Nf(null,b,d,a,e,c);var f=Wf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= +null,$c(d)?(f=!0,dd(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ae(b),e.updater=fh,b.stateNode=e,e._reactInternals=b,jh(b,d,a,c),b=Sh(null,b,d,!0,f,c)):(b.tag=0,K&&f&&sd(b),Bh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Rh(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=ql(d);a=dh(d,a);switch(e){case 0:b=Ih(null,b,d,a,c);break a;case 1:b=Qh(null,b,d,a,c);break a;case 11:b=Ch(null,b,d,a,c);break a;case 14:b=Fh(null,b,d,dh(d.type,a),c);break a}throw Error(t(306, +d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:dh(d,e),Ih(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:dh(d,e),Qh(a,b,d,e,c);case 3:a:{Th(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;be(a,b);ge(b,e,null,c);var g=b.memoizedState;e=g.cache;ji(b,Oh,e);e!==f.cache&&qi(b,Oh,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= +kh(Error(t(423)),b);b=Uh(a,b,e,c,d);break a}else if(e!==d){d=kh(Error(t(424)),b);b=Uh(a,b,e,c,d);break a}else for(J=Bd(b.stateNode.containerInfo.firstChild),G=b,K=!0,ud=null,vd=!0,c=He(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Nd();if(e===d){b=Eh(a,b,c);break a}Bh(a,b,e,c)}b=b.child}return b;case 26:return Kh(a,b),c=b.memoizedState=rl(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Ii(La.current).createElement(c),d[Cb]= +b,d[Db]=a,Ji(d,c,a),Sb(d),b.stateNode=d),null;case 27:return Sa(b),null===a&&K&&(d=b.stateNode=Hi(b.type,b.pendingProps,La.current),G=b,vd=!0,J=Bd(d.firstChild)),d=b.pendingProps.children,null!==a||K?Bh(a,b,d,c):b.child=Ge(b,null,d,c),Kh(a,b),b.child;case 5:return Sa(b),null===a&&K&&((e=d=J,e)?zd(b,e)||(Gd(b)&&Hd(),J=Fd(e),f=G,J&&zd(b,J)?wd(f,e):(yd(G,b),K=!1,G=b,J=d)):(Gd(b)&&Hd(),yd(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Ld(e,f)?d=null:null!== +g&&Ld(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Nf(a,b,Uf,null,null,c),Na._currentValue=e,hg&&null!==a&&a.memoizedState.memoizedState!==e&&qi(b,Na,c)),Kh(a,b),Bh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?Cd(b,a)||(Gd(b)&&Hd(),J=Fd(a),d=G,J&&Cd(b,J)?wd(d,a):(yd(G,b),K=!1,G=b,J=c)):(Gd(b)&&Hd(),yd(G,b),K=!1,G=b,J=c)),null;case 13:return Yh(a,b,c);case 4:return Oa(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ge(b,null,d,c):Bh(a,b,d,c),b.child; +case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:dh(d,e),Ch(a,b,d,e,c);case 7:return Bh(a,b,b.pendingProps,c),b.child;case 8:return Bh(a,b,b.pendingProps.children,c),b.child;case 12:return Bh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;ji(b,d,g);if(null!==f)if(gd(f.value,g)){if(f.children===e.children&&!Xc.current){b=Eh(a,b,c);break a}}else qi(b,d,c);Bh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= +b.pendingProps.children,Dh(b,c),e=cg(e),d=d(e),b.flags|=1,Bh(a,b,d,c),b.child;case 14:return d=b.type,e=dh(d,b.pendingProps),e=dh(d.type,e),Fh(a,b,d,e,c);case 15:return Hh(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:dh(d,e),Rh(a,b),b.tag=1,$c(d)?(a=!0,dd(b)):a=!1,Dh(b,c),hh(b,d,e),jh(b,d,e,c),Sh(null,b,d,!0,a,c);case 19:return hi(a,b,c);case 22:return Jh(a,b,c);case 24:return Dh(b,c),d=cg(Oh),null===a?(e=Nh(),null===e&&(e=N,f=$g(),e.pooledCache=f,f.refCount++, +null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},ae(b),ji(b,Oh,e)):(0!==(a.lanes&c)&&(be(a,b),ge(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),ji(b,Oh,d)):(d=f.cache,ji(b,Oh,d),d!==e.cache&&qi(b,Oh,c))),Bh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function kl(a,b){return Ua(a,b)} +function sl(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function xd(a,b,c,d){return new sl(a,b,c,d)}function Gh(a){a=a.prototype;return!(!a||!a.isReactComponent)} +function ql(a){if("function"===typeof a)return Gh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===va)return 11;if(a===ya)return 14}return 2} +function Ae(a,b){var c=a.alternate;null===c?(c=xd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;c.refCleanup=a.refCleanup;return c} -function Gi(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); +function Mi(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); return a} -function ze(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)Ah(a)&&(e=1);else if("string"===typeof a)e=nl(a,c,Ha.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case na:return Be(c.children,f,g,b);case oa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case pa:return a=ud(12,c,b,f|2),a.elementType=pa,a.lanes=g,a;case ua:return a=ud(13,c,b,f),a.elementType=ua,a.lanes=g,a;case va:return a=ud(19,c,b,f),a.elementType=va,a.lanes=g,a;case za:return Wh(c,f,g,b);case Aa:case ya:case Ba:return a=ud(24, -c,b,f),a.elementType=Ba,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case qa:e=10;break a;case ra:e=9;break a;case ta:e=11;break a;case wa:e=14;break a;case xa:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=ud(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Be(a,b,c,d){a=ud(7,a,d,b);a.lanes=c;return a} -function Wh(a,b,c,d){a=ud(22,a,d,b);a.elementType=za;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Ud(f,2);null!==g&&(e._pendingVisibility|=2,ng(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Ud(f,2);null!==g&&(e._pendingVisibility&=-3,ng(g,f,2))}}}; -a.stateNode=e;return a}function ye(a,b,c){a=ud(6,a,null,b);a.lanes=c;return a}function Ae(a,b,c){b=ud(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} -function ol(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=rb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=rb(0);this.hiddenUpdates= -rb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function pl(a,b,c,d,e,f,g,h,k,p,q){a=new ol(a,b,c,h,k,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=ud(3,null,null,b);a.current=f;f.stateNode=a;b=Ug();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};Yd(f);return a} -function ql(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ma,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} -function rl(a){if(!a)return Sc;a=a._reactInternals;a:{if(Mc(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(Xc(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if(Xc(c))return $c(a,c,b)}return b} -function sl(a,b,c,d,e,f,g,h,k,p,q){a=pl(c,d,!0,a,e,f,g,h,k,p,q);a.context=rl(null);c=a.current;d=Tg(c);e=$d(d);e.callback=void 0!==b&&null!==b?b:null;ae(c,e,d);a.current.lanes=d;sb(a,d);Ze(a);return a}function tl(a,b,c,d){var e=b.current,f=Tg(e);c=rl(c);null===b.context?b.context=c:b.pendingContext=c;b=$d(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=ae(e,b,f);null!==a&&(ng(a,e,f),be(a,e,f));return f} -function ul(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}}function vl(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=lb(b.pendingLanes);0!==c&&(ub(b,c|2),Ze(b),0===(L&6)&&(Hi=Wa()+500,bf(!1)))}break;case 13:Rk(function(){var d=Ud(a,2);null!==d&&ng(d,a,2)}),wl(a,2)}} -function xl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function wl(a,b){xl(a,b);(a=a.alternate)&&xl(a,b)}function yl(a){if(13===a.tag){var b=Ud(a,134217728);null!==b&&ng(b,a,134217728);wl(a,134217728)}}function zl(){return null}var Al=!1;function Bl(a,b,c){if(Al)return a(b,c);Al=!0;try{return Qk(a,b,c)}finally{if(Al=!1,null!==Hc||null!==Ic)Rk(),Lc()}} -function Cl(a,b){var c=a.stateNode;if(null===c)return null;var d=Nb(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== -typeof c)throw Error(t(231,b,typeof c));return c}var Dl=!1;if(Wb)try{var El={};Object.defineProperty(El,"passive",{get:function(){Dl=!0}});window.addEventListener("test",El,El);window.removeEventListener("test",El,El)}catch(a){Dl=!1}function Fl(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Gl(){return!0}function Hl(){return!1} -function Il(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?Gl:Hl;this.isPropagationStopped=Hl;return this}C(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& -(c.returnValue=!1),this.isDefaultPrevented=Gl)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=Gl)},persist:function(){},isPersistent:Gl});return b} -var Jl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Kl=Il(Jl),Ll=C({},Jl,{view:0,detail:0}),Ml=Il(Ll),Nl,Ol,Pl,Rl=C({},Ll,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ql,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in -a)return a.movementX;a!==Pl&&(Pl&&"mousemove"===a.type?(Nl=a.screenX-Pl.screenX,Ol=a.screenY-Pl.screenY):Ol=Nl=0,Pl=a);return Nl},movementY:function(a){return"movementY"in a?a.movementY:Ol}}),Sl=Il(Rl),Tl=C({},Rl,{dataTransfer:0}),Ul=Il(Tl),Vl=C({},Ll,{relatedTarget:0}),Wl=Il(Vl),Xl=C({},Jl,{animationName:0,elapsedTime:0,pseudoElement:0}),Yl=Il(Xl),Zl=C({},Jl,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),$l=Il(Zl),am=C({},Jl,{data:0}),bm=Il(am),cm={Esc:"Escape", -Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", -119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},em={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fm(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=em[a])?!!b[a]:!1}function Ql(){return fm} -var gm=C({},Ll,{key:function(a){if(a.key){var b=cm[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Fl(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?dm[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ql,charCode:function(a){return"keypress"===a.type?Fl(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== -a.type?Fl(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),hm=Il(gm),im=C({},Rl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jm=Il(im),km=C({},Ll,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ql}),lm=Il(km),mm=C({},Jl,{propertyName:0,elapsedTime:0,pseudoElement:0}),nm=Il(mm),om=C({},Rl,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, -deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),pm=Il(om); -function qm(a,b,c,d,e){if("submit"===b&&c&&c.stateNode===e){var f=Nb(e).action,g=d.submitter;g&&(b=(b=Nb(g))?b.formAction:g.getAttribute("formAction"),null!=b&&(f=b,g=null));if("function"===typeof f){var h=new Kl("action","action",null,d,e);a.push({event:h,listeners:[{instance:null,listener:function(){if(!d.defaultPrevented){h.preventDefault();if(g){var k=g.ownerDocument.createElement("input");k.name=g.name;k.value=g.value;g.parentNode.insertBefore(k,g);var p=new FormData(e);k.parentNode.removeChild(k)}else p= -new FormData(e);Og(c,{pending:!0,data:p,method:e.method,action:f},f,p)}},currentTarget:e}]})}}}var rm=!1,sm=null,tm=null,um=null,vm=new Map,wm=new Map,xm=[],ym="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); -function zm(a,b){switch(a){case "focusin":case "focusout":sm=null;break;case "dragenter":case "dragleave":tm=null;break;case "mouseover":case "mouseout":um=null;break;case "pointerover":case "pointerout":vm.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":wm.delete(b.pointerId)}} -function Am(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Lb(b),null!==b&&yl(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} -function Bm(a,b,c,d,e){switch(b){case "focusin":return sm=Am(sm,a,b,c,d,e),!0;case "dragenter":return tm=Am(tm,a,b,c,d,e),!0;case "mouseover":return um=Am(um,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;vm.set(f,Am(vm.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,wm.set(f,Am(wm.get(f)||null,a,b,c,d,e)),!0}return!1} -function Cm(a){var b=Jb(a.target);if(null!==b){var c=Mc(b);if(null!==c)if(b=c.tag,13===b){if(b=Nc(c),null!==b){a.blockedOn=b;vb(a.priority,function(){if(13===c.tag){var d=Tg(c),e=Ud(c,d);null!==e&&ng(e,c,d);wl(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} -function Dm(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=Em(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Fc=d;c.target.dispatchEvent(d);Fc=null}else return b=Lb(c),null!==b&&yl(b),a.blockedOn=c,!1;b.shift()}return!0}function Fm(a,b,c){Dm(a)&&c.delete(b)}function Gm(){rm=!1;null!==sm&&Dm(sm)&&(sm=null);null!==tm&&Dm(tm)&&(tm=null);null!==um&&Dm(um)&&(um=null);vm.forEach(Fm);wm.forEach(Fm)} -function Hm(a,b){a.blockedOn===b&&(a.blockedOn=null,rm||(rm=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,Gm)))}var Im=null;function Jm(a){Im!==a&&(Im=a,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){Im===a&&(Im=null);for(var b=0;b<a.length;b+=3){var c=a[b],d=a[b+1],e=a[b+2];if("function"!==typeof d)if(null===Km(d||c))continue;else break;var f=Lb(c);null!==f&&(a.splice(b,3),b-=3,Og(f,{pending:!0,data:e,method:c.method,action:d},d,e))}}))} -function Aj(a){function b(k){return Hm(k,a)}null!==sm&&Hm(sm,a);null!==tm&&Hm(tm,a);null!==um&&Hm(um,a);vm.forEach(b);wm.forEach(b);for(var c=0;c<xm.length;c++){var d=xm[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<xm.length&&(c=xm[0],null===c.blockedOn);)Cm(c),null===c.blockedOn&&xm.shift();c=a.getRootNode().$$reactFormReplay;if(null!=c)for(d=0;d<c.length;d+=3){var e=c[d],f=c[d+1],g=Nb(e);if("function"===typeof f)g||Jm(c);else if(g){var h=null;if(f&&f.hasAttribute("formAction"))if(e=f,g=Nb(f))h= -g.formAction;else{if(null!==Km(e))continue}else h=g.action;"function"===typeof h?c[d+1]=h:(c.splice(d,3),d-=3);Jm(c)}}}var Lm=da.ReactCurrentBatchConfig,bj=!0;function Mm(a,b,c,d){var e=F,f=Lm.transition;Lm.transition=null;try{F=2,Nm(a,b,c,d)}finally{F=e,Lm.transition=f}}function Om(a,b,c,d){var e=F,f=Lm.transition;Lm.transition=null;try{F=8,Nm(a,b,c,d)}finally{F=e,Lm.transition=f}} -function Nm(a,b,c,d){if(bj){var e=Em(d);if(null===e)Pm(a,b,d,Qm,c),zm(a,d);else if(Bm(e,a,b,c,d))d.stopPropagation();else if(zm(a,d),b&4&&-1<ym.indexOf(a)){for(;null!==e;){var f=Lb(e);null!==f&&vl(f);f=Em(d);null===f&&Pm(a,b,d,Qm,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else Pm(a,b,d,null,c)}}function Em(a){a=Gc(a);return Km(a)}var Qm=null; -function Km(a){Qm=null;a=Jb(a);if(null!==a){var b=Mc(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=Nc(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null)}}Qm=a;return null} -function Ik(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; -case "message":switch(Xa()){case Ya:return 2;case Za:return 8;case $a:case ab:return 32;case bb:return 536870912;default:return 32}default:return 32}}var Rm=null,Sm=null,Tm=null;function Um(){if(Tm)return Tm;var a,b=Sm,c=b.length,d,e="value"in Rm?Rm.value:Rm.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Tm=e.slice(a,1<d?1-d:void 0)}var Vm=[9,13,27,32],Wm=Wb&&"CompositionEvent"in window,Xm=null;Wb&&"documentMode"in document&&(Xm=document.documentMode); -var Zm=Wb&&"TextEvent"in window&&!Xm,$m=Wb&&(!Wm||Xm&&8<Xm&&11>=Xm),an=String.fromCharCode(32),bn=!1;function cn(a,b){switch(a){case "keyup":return-1!==Vm.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function dn(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var en=!1; -function fn(a,b){switch(a){case "compositionend":return dn(b);case "keypress":if(32!==b.which)return null;bn=!0;return an;case "textInput":return a=b.data,a===an&&bn?null:a;default:return null}} -function gn(a,b){if(en)return"compositionend"===a||!Wm&&cn(a,b)?(a=Um(),Tm=Sm=Rm=null,en=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return $m&&"ko"!==b.locale?null:b.data;default:return null}} -var hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function jn(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!hn[a.type]:"textarea"===b?!0:!1}function kn(a,b,c,d){Kc(d);b=ln(b,"onChange");0<b.length&&(c=new Kl("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var mn=null,nn=null;function on(a){pn(a,0)}function qn(a){var b=Mb(a);if(oc(b))return a} -function rn(a,b){if("change"===a)return b}var sn=!1;if(Wb){var tn;if(Wb){var un="oninput"in document;if(!un){var vn=document.createElement("div");vn.setAttribute("oninput","return;");un="function"===typeof vn.oninput}tn=un}else tn=!1;sn=tn&&(!document.documentMode||9<document.documentMode)}function wn(){mn&&(mn.detachEvent("onpropertychange",xn),nn=mn=null)}function xn(a){if("value"===a.propertyName&&qn(nn)){var b=[];kn(b,nn,a,Gc(a));Bl(on,b)}} -function yn(a,b,c){"focusin"===a?(wn(),mn=b,nn=c,mn.attachEvent("onpropertychange",xn)):"focusout"===a&&wn()}function zn(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return qn(nn)}function An(a,b){if("click"===a)return qn(b)}function Bn(a,b){if("input"===a||"change"===a)return qn(b)}function Cn(a){for(;a&&a.firstChild;)a=a.firstChild;return a} -function Dn(a,b){var c=Cn(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Cn(c)}}function En(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?En(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} -function cj(){for(var a=window,b=pc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=pc(a.document)}return b}function dj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} -function fl(a){var b=cj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&En(c.ownerDocument.documentElement,c)){if(null!==d&&dj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Dn(c,f);var g=Dn(c, +function Ce(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)Gh(a)&&(e=1);else if("string"===typeof a)e=tl(a,c,Ja.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case pa:return Ee(c.children,f,g,b);case qa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case ra:return a=xd(12,c,b,f|2),a.elementType=ra,a.lanes=g,a;case wa:return a=xd(13,c,b,f),a.elementType=wa,a.lanes=g,a;case xa:return a=xd(19,c,b,f),a.elementType=xa,a.lanes=g,a;case Ba:return bi(c,f,g,b);case Ca:case Aa:case Da:return a=xd(24, +c,b,f),a.elementType=Da,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case sa:e=10;break a;case ta:e=9;break a;case va:e=11;break a;case ya:e=14;break a;case za:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=xd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Ee(a,b,c,d){a=xd(7,a,d,b);a.lanes=c;return a} +function bi(a,b,c,d){a=xd(22,a,d,b);a.elementType=Ba;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Xd(f,2);null!==g&&(e._pendingVisibility|=2,rg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Xd(f,2);null!==g&&(e._pendingVisibility&=-3,rg(g,f,2))}}}; +a.stateNode=e;return a}function Be(a,b,c){a=xd(6,a,null,b);a.lanes=c;return a}function De(a,b,c){b=xd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} +function ul(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=sb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=sb(0);this.hiddenUpdates= +sb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function vl(a,b,c,d,e,f,g,h,k,p,q){a=new ul(a,b,c,h,k,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=xd(3,null,null,b);a.current=f;f.stateNode=a;b=$g();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};ae(f);return a} +function wl(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:oa,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} +function xl(a){if(!a)return Vc;a=a._reactInternals;a:{if(Pc(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if($c(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if($c(c))return cd(a,c,b)}return b} +function yl(a,b,c,d,e,f,g,h,k,p,q){a=vl(c,d,!0,a,e,f,g,h,k,p,q);a.context=xl(null);c=a.current;d=Zg(c);e=ce(d);e.callback=void 0!==b&&null!==b?b:null;de(c,e,d);a.current.lanes=d;tb(a,d);bf(a);return a}function zl(a,b,c,d){var e=b.current,f=Zg(e);c=xl(c);null===b.context?b.context=c:b.pendingContext=c;b=ce(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=de(e,b,f);null!==a&&(rg(a,e,f),ee(a,e,f));return f} +function Al(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}}function Bl(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=nb(b.pendingLanes);0!==c&&(xb(b,c),bf(b),0===(L&6)&&(Ni=Ya()+500,ef(!1)))}break;case 13:Xk(function(){var d=Xd(a,2);null!==d&&rg(d,a,2)}),Cl(a,2)}} +function Dl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function Cl(a,b){Dl(a,b);(a=a.alternate)&&Dl(a,b)}function El(a){if(13===a.tag){var b=Xd(a,67108864);null!==b&&rg(b,a,67108864);Cl(a,67108864)}}function Fl(){return null}var Gl=!1;function Hl(a,b,c){if(Gl)return a(b,c);Gl=!0;try{return Wk(a,b,c)}finally{if(Gl=!1,null!==Kc||null!==Lc)Xk(),Oc()}} +function Il(a,b){var c=a.stateNode;if(null===c)return null;var d=Qb(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== +typeof c)throw Error(t(231,b,typeof c));return c}var Jl=!1;if(Zb)try{var Kl={};Object.defineProperty(Kl,"passive",{get:function(){Jl=!0}});window.addEventListener("test",Kl,Kl);window.removeEventListener("test",Kl,Kl)}catch(a){Jl=!1}function Ll(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Ml(){return!0}function Nl(){return!1} +function Ol(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?Ml:Nl;this.isPropagationStopped=Nl;return this}B(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& +(c.returnValue=!1),this.isDefaultPrevented=Ml)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=Ml)},persist:function(){},isPersistent:Ml});return b} +var Pl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ql=Ol(Pl),Rl=B({},Pl,{view:0,detail:0}),Sl=Ol(Rl),Tl,Ul,Vl,Xl=B({},Rl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wl,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in +a)return a.movementX;a!==Vl&&(Vl&&"mousemove"===a.type?(Tl=a.screenX-Vl.screenX,Ul=a.screenY-Vl.screenY):Ul=Tl=0,Vl=a);return Tl},movementY:function(a){return"movementY"in a?a.movementY:Ul}}),Yl=Ol(Xl),Zl=B({},Xl,{dataTransfer:0}),$l=Ol(Zl),am=B({},Rl,{relatedTarget:0}),bm=Ol(am),cm=B({},Pl,{animationName:0,elapsedTime:0,pseudoElement:0}),dm=Ol(cm),em=B({},Pl,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),fm=Ol(em),gm=B({},Pl,{data:0}),hm=Ol(gm),im={Esc:"Escape", +Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", +119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},km={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lm(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=km[a])?!!b[a]:!1}function Wl(){return lm} +var mm=B({},Rl,{key:function(a){if(a.key){var b=im[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Ll(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?jm[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wl,charCode:function(a){return"keypress"===a.type?Ll(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== +a.type?Ll(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),nm=Ol(mm),om=B({},Xl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pm=Ol(om),qm=B({},Rl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wl}),rm=Ol(qm),sm=B({},Pl,{propertyName:0,elapsedTime:0,pseudoElement:0}),tm=Ol(sm),um=B({},Xl,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, +deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),vm=Ol(um); +function wm(a,b,c,d,e){if("submit"===b&&c&&c.stateNode===e){var f=Qb(e).action,g=d.submitter;g&&(b=(b=Qb(g))?b.formAction:g.getAttribute("formAction"),null!=b&&(f=b,g=null));if("function"===typeof f){var h=new Ql("action","action",null,d,e);a.push({event:h,listeners:[{instance:null,listener:function(){if(!d.defaultPrevented){h.preventDefault();if(g){var k=g.ownerDocument.createElement("input");k.name=g.name;k.value=g.value;g.parentNode.insertBefore(k,g);var p=new FormData(e);k.parentNode.removeChild(k)}else p= +new FormData(e);Ug(c,{pending:!0,data:p,method:e.method,action:f},f,p)}},currentTarget:e}]})}}}var xm=!1,ym=null,zm=null,Am=null,Bm=new Map,Cm=new Map,Dm=[],Em="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); +function Fm(a,b){switch(a){case "focusin":case "focusout":ym=null;break;case "dragenter":case "dragleave":zm=null;break;case "mouseover":case "mouseout":Am=null;break;case "pointerover":case "pointerout":Bm.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":Cm.delete(b.pointerId)}} +function Gm(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Ob(b),null!==b&&El(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} +function Hm(a,b,c,d,e){switch(b){case "focusin":return ym=Gm(ym,a,b,c,d,e),!0;case "dragenter":return zm=Gm(zm,a,b,c,d,e),!0;case "mouseover":return Am=Gm(Am,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;Bm.set(f,Gm(Bm.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,Cm.set(f,Gm(Cm.get(f)||null,a,b,c,d,e)),!0}return!1} +function Im(a){var b=Mb(a.target);if(null!==b){var c=Pc(b);if(null!==c)if(b=c.tag,13===b){if(b=Qc(c),null!==b){a.blockedOn=b;yb(a.priority,function(){if(13===c.tag){var d=Zg(c),e=Xd(c,d);null!==e&&rg(e,c,d);Cl(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} +function Jm(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=Km(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Ic=d;c.target.dispatchEvent(d);Ic=null}else return b=Ob(c),null!==b&&El(b),a.blockedOn=c,!1;b.shift()}return!0}function Lm(a,b,c){Jm(a)&&c.delete(b)}function Mm(){xm=!1;null!==ym&&Jm(ym)&&(ym=null);null!==zm&&Jm(zm)&&(zm=null);null!==Am&&Jm(Am)&&(Am=null);Bm.forEach(Lm);Cm.forEach(Lm)} +function Nm(a,b){a.blockedOn===b&&(a.blockedOn=null,xm||(xm=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,Mm)))}var Om=null;function Pm(a){Om!==a&&(Om=a,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){Om===a&&(Om=null);for(var b=0;b<a.length;b+=3){var c=a[b],d=a[b+1],e=a[b+2];if("function"!==typeof d)if(null===Qm(d||c))continue;else break;var f=Ob(c);null!==f&&(a.splice(b,3),b-=3,Ug(f,{pending:!0,data:e,method:c.method,action:d},d,e))}}))} +function Gj(a){function b(k){return Nm(k,a)}null!==ym&&Nm(ym,a);null!==zm&&Nm(zm,a);null!==Am&&Nm(Am,a);Bm.forEach(b);Cm.forEach(b);for(var c=0;c<Dm.length;c++){var d=Dm[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<Dm.length&&(c=Dm[0],null===c.blockedOn);)Im(c),null===c.blockedOn&&Dm.shift();c=a.getRootNode().$$reactFormReplay;if(null!=c)for(d=0;d<c.length;d+=3){var e=c[d],f=c[d+1],g=Qb(e);if("function"===typeof f)g||Pm(c);else if(g){var h=null;if(f&&f.hasAttribute("formAction"))if(e=f,g=Qb(f))h= +g.formAction;else{if(null!==Qm(e))continue}else h=g.action;"function"===typeof h?c[d+1]=h:(c.splice(d,3),d-=3);Pm(c)}}}var Rm=da.ReactCurrentBatchConfig,hj=!0;function Sm(a,b,c,d){var e=F,f=Rm.transition;Rm.transition=null;try{F=2,Tm(a,b,c,d)}finally{F=e,Rm.transition=f}}function Um(a,b,c,d){var e=F,f=Rm.transition;Rm.transition=null;try{F=8,Tm(a,b,c,d)}finally{F=e,Rm.transition=f}} +function Tm(a,b,c,d){if(hj){var e=Km(d);if(null===e)Vm(a,b,d,Wm,c),Fm(a,d);else if(Hm(e,a,b,c,d))d.stopPropagation();else if(Fm(a,d),b&4&&-1<Em.indexOf(a)){for(;null!==e;){var f=Ob(e);null!==f&&Bl(f);f=Km(d);null===f&&Vm(a,b,d,Wm,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else Vm(a,b,d,null,c)}}function Km(a){a=Jc(a);return Qm(a)}var Wm=null; +function Qm(a){Wm=null;a=Mb(a);if(null!==a){var b=Pc(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=Qc(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null)}}Wm=a;return null} +function Ok(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; +case "message":switch(Za()){case $a:return 2;case ab:return 8;case bb:case cb:return 32;case db:return 268435456;default:return 32}default:return 32}}var Xm=null,Ym=null,Zm=null;function $m(){if(Zm)return Zm;var a,b=Ym,c=b.length,d,e="value"in Xm?Xm.value:Xm.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Zm=e.slice(a,1<d?1-d:void 0)}var an=[9,13,27,32],bn=Zb&&"CompositionEvent"in window,cn=null;Zb&&"documentMode"in document&&(cn=document.documentMode); +var en=Zb&&"TextEvent"in window&&!cn,fn=Zb&&(!bn||cn&&8<cn&&11>=cn),gn=String.fromCharCode(32),hn=!1;function jn(a,b){switch(a){case "keyup":return-1!==an.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function kn(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var ln=!1; +function mn(a,b){switch(a){case "compositionend":return kn(b);case "keypress":if(32!==b.which)return null;hn=!0;return gn;case "textInput":return a=b.data,a===gn&&hn?null:a;default:return null}} +function nn(a,b){if(ln)return"compositionend"===a||!bn&&jn(a,b)?(a=$m(),Zm=Ym=Xm=null,ln=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return fn&&"ko"!==b.locale?null:b.data;default:return null}} +var on={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function pn(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!on[a.type]:"textarea"===b?!0:!1}function qn(a,b,c,d){Nc(d);b=rn(b,"onChange");0<b.length&&(c=new Ql("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var sn=null,tn=null;function un(a){vn(a,0)}function wn(a){var b=Pb(a);if(rc(b))return a} +function xn(a,b){if("change"===a)return b}var yn=!1;if(Zb){var zn;if(Zb){var An="oninput"in document;if(!An){var Bn=document.createElement("div");Bn.setAttribute("oninput","return;");An="function"===typeof Bn.oninput}zn=An}else zn=!1;yn=zn&&(!document.documentMode||9<document.documentMode)}function Cn(){sn&&(sn.detachEvent("onpropertychange",Dn),tn=sn=null)}function Dn(a){if("value"===a.propertyName&&wn(tn)){var b=[];qn(b,tn,a,Jc(a));Hl(un,b)}} +function En(a,b,c){"focusin"===a?(Cn(),sn=b,tn=c,sn.attachEvent("onpropertychange",Dn)):"focusout"===a&&Cn()}function Fn(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return wn(tn)}function Gn(a,b){if("click"===a)return wn(b)}function Hn(a,b){if("input"===a||"change"===a)return wn(b)}function In(a){for(;a&&a.firstChild;)a=a.firstChild;return a} +function Jn(a,b){var c=In(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=In(c)}}function Kn(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Kn(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} +function ij(){for(var a=window,b=sc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=sc(a.document)}return b}function jj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} +function ll(a){var b=ij(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Kn(c.ownerDocument.documentElement,c)){if(null!==d&&jj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Jn(c,f);var g=Jn(c, d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}} -var Fn=Wb&&"documentMode"in document&&11>=document.documentMode,Gn=null,Hn=null,In=null,Jn=!1; -function Kn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Jn||null==Gn||Gn!==pc(d)||(d=Gn,"selectionStart"in d&&dj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),In&&he(In,d)||(In=d,d=ln(Hn,"onSelect"),0<d.length&&(b=new Kl("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=Gn)))} -function Ln(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Mn={animationend:Ln("Animation","AnimationEnd"),animationiteration:Ln("Animation","AnimationIteration"),animationstart:Ln("Animation","AnimationStart"),transitionend:Ln("Transition","TransitionEnd")},Nn={},On={}; -Wb&&(On=document.createElement("div").style,"AnimationEvent"in window||(delete Mn.animationend.animation,delete Mn.animationiteration.animation,delete Mn.animationstart.animation),"TransitionEvent"in window||delete Mn.transitionend.transition);function Pn(a){if(Nn[a])return Nn[a];if(!Mn[a])return a;var b=Mn[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in On)return Nn[a]=b[c];return a}var Qn=Pn("animationend"),Rn=Pn("animationiteration"),Sn=Pn("animationstart"),Tn=Pn("transitionend"),Un=new Map,Vn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); -function Wn(a,b){Un.set(a,b);Ub(b,[a])}for(var Xn=0;Xn<Vn.length;Xn++){var Yn=Vn[Xn],Zn=Yn.toLowerCase(),$n=Yn[0].toUpperCase()+Yn.slice(1);Wn(Zn,"on"+$n)}Wn(Qn,"onAnimationEnd");Wn(Rn,"onAnimationIteration");Wn(Sn,"onAnimationStart");Wn("dblclick","onDoubleClick");Wn("focusin","onFocus");Wn("focusout","onBlur");Wn(Tn,"onTransitionEnd");Vb("onMouseEnter",["mouseout","mouseover"]);Vb("onMouseLeave",["mouseout","mouseover"]);Vb("onPointerEnter",["pointerout","pointerover"]); -Vb("onPointerLeave",["pointerout","pointerover"]);Ub("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ub("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ub("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ub("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ub("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); -Ub("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ao="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),bo=new Set("cancel close invalid load scroll toggle".split(" ").concat(ao)); -function co(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Ri(d,b,void 0,a);a.currentTarget=null} -function pn(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,p=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;co(e,h,p);f=k}else for(g=0;g<d.length;g++){h=d[g];k=h.instance;p=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;co(e,h,p);f=k}}}if(Ni)throw a=Oi,Ni=!1,Oi=null,a;} -function Y(a,b){var c=b[Cb];void 0===c&&(c=b[Cb]=new Set);var d=a+"__bubble";c.has(d)||(eo(b,a,2,!1),c.add(d))}function fo(a,b,c){var d=0;b&&(d|=4);eo(c,a,d,b)}var go="_reactListening"+Math.random().toString(36).slice(2);function Fi(a){if(!a[go]){a[go]=!0;Sb.forEach(function(c){"selectionchange"!==c&&(bo.has(c)||fo(c,!1,a),fo(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[go]||(b[go]=!0,fo("selectionchange",!1,b))}} -function eo(a,b,c,d){switch(Ik(b)){case 2:var e=Mm;break;case 8:e=Om;break;default:e=Nm}c=e.bind(null,b,c,a);e=void 0;!Dl||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} -function Pm(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if(3===k||4===k)if(k=g.stateNode.containerInfo,k===e||8===k.nodeType&&k.parentNode===e)return;g=g.return}for(;null!==h;){g=Jb(h);if(null===g)return;k=g.tag;if(5===k||6===k||26===k||27===k){d=f=g;continue a}h=h.parentNode}}d=d.return}Bl(function(){var p= -f,q=Gc(c),w=[];a:{var r=Un.get(a);if(void 0!==r){var u=Kl,z=a;switch(a){case "keypress":if(0===Fl(c))break a;case "keydown":case "keyup":u=hm;break;case "focusin":z="focus";u=Wl;break;case "focusout":z="blur";u=Wl;break;case "beforeblur":case "afterblur":u=Wl;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=Sl;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= -Ul;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=lm;break;case Qn:case Rn:case Sn:u=Yl;break;case Tn:u=nm;break;case "scroll":u=Ml;break;case "wheel":u=pm;break;case "copy":case "cut":case "paste":u=$l;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=jm}var B=0!==(b&4),V=!B&&"scroll"===a,Q=B?null!==r?r+"Capture":null:r;B=[];for(var m=p,l;null!== -m;){var n=m;l=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===l||null===Q||(n=Cl(m,Q),null!=n&&B.push(ho(m,n,l)));if(V)break;m=m.return}0<B.length&&(r=new u(r,z,null,c,q),w.push({event:r,listeners:B}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Fc&&(z=c.relatedTarget||c.fromElement)&&(Jb(z)||z[Bb]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(z=c.relatedTarget||c.toElement,u=p,z=z?Jb(z): -null,null!==z&&(V=Mc(z),B=z.tag,z!==V||5!==B&&27!==B&&6!==B))z=null}else u=null,z=p;if(u!==z){B=Sl;n="onMouseLeave";Q="onMouseEnter";m="mouse";if("pointerout"===a||"pointerover"===a)B=jm,n="onPointerLeave",Q="onPointerEnter",m="pointer";V=null==u?r:Mb(u);l=null==z?r:Mb(z);r=new B(n,m+"leave",u,c,q);r.target=V;r.relatedTarget=l;n=null;Jb(q)===p&&(B=new B(Q,m+"enter",z,c,q),B.target=l,B.relatedTarget=V,n=B);V=n;if(u&&z)b:{B=u;Q=z;m=0;for(l=B;l;l=io(l))m++;l=0;for(n=Q;n;n=io(n))l++;for(;0<m-l;)B=io(B), -m--;for(;0<l-m;)Q=io(Q),l--;for(;m--;){if(B===Q||null!==Q&&B===Q.alternate)break b;B=io(B);Q=io(Q)}B=null}else B=null;null!==u&&jo(w,r,u,B,!1);null!==z&&null!==V&&jo(w,V,z,B,!0)}}}a:{r=p?Mb(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=rn;else if(jn(r))if(sn)v=Bn;else{v=zn;var x=yn}else u=r.nodeName,!u||"input"!==u.toLowerCase()||"checkbox"!==r.type&&"radio"!==r.type?p&&Dc(p.elementType)&&(v=rn):v=An;if(v&&(v=v(a,p))){kn(w,v,c,q);break a}x&&x(a, -r,p);"focusout"===a&&p&&"number"===r.type&&null!=p.memoizedProps.value&&tc(r,"number",r.value)}x=p?Mb(p):window;switch(a){case "focusin":if(jn(x)||"true"===x.contentEditable)Gn=x,Hn=p,In=null;break;case "focusout":In=Hn=Gn=null;break;case "mousedown":Jn=!0;break;case "contextmenu":case "mouseup":case "dragend":Jn=!1;Kn(w,c,q);break;case "selectionchange":if(Fn)break;case "keydown":case "keyup":Kn(w,c,q)}var A;if(Wm)b:{switch(a){case "compositionstart":var y="onCompositionStart";break b;case "compositionend":y= -"onCompositionEnd";break b;case "compositionupdate":y="onCompositionUpdate";break b}y=void 0}else en?cn(a,c)&&(y="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(y="onCompositionStart");y&&($m&&"ko"!==c.locale&&(en||"onCompositionStart"!==y?"onCompositionEnd"===y&&en&&(A=Um()):(Rm=q,Sm="value"in Rm?Rm.value:Rm.textContent,en=!0)),x=ln(p,y),0<x.length&&(y=new bm(y,a,null,c,q),w.push({event:y,listeners:x}),A?y.data=A:(A=dn(c),null!==A&&(y.data=A))));if(A=Zm?fn(a,c):gn(a,c))y=ln(p,"onBeforeInput"), -0<y.length&&(x=new bm("onBeforeInput","beforeinput",null,c,q),w.push({event:x,listeners:y}),x.data=A);qm(w,a,p,c,q)}pn(w,b)})}function ho(a,b,c){return{instance:a,listener:b,currentTarget:c}}function ln(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=Cl(a,c),null!=e&&d.unshift(ho(a,e,f)),e=Cl(a,b),null!=e&&d.push(ho(a,e,f)));a=a.return}return d} -function io(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null}function jo(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,p=h.stateNode;h=h.tag;if(null!==k&&k===d)break;5!==h&&26!==h&&27!==h||null===p||(k=p,e?(p=Cl(c,f),null!=p&&g.unshift(ho(c,p,k))):e||(p=Cl(c,f),null!=p&&g.push(ho(c,p,k))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var ko=/\r\n?/g,lo=/\u0000|\uFFFD/g; -function mo(a){return("string"===typeof a?a:""+a).replace(ko,"\n").replace(lo,"")}function Ei(a,b,c){b=mo(b);if(mo(a)!==b&&c)throw Error(t(425));}function tj(){} -function Z(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||zc(a,d):"number"===typeof d&&"body"!==b&&zc(a,""+d);break;case "className":bc(a,"class",d);break;case "tabIndex":bc(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":bc(a,c,d);break;case "style":Cc(a,d,f);break;case "src":case "href":if(""===d){a.removeAttribute(c);break}if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c); +var Ln=Zb&&"documentMode"in document&&11>=document.documentMode,Mn=null,Nn=null,On=null,Pn=!1; +function Qn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Pn||null==Mn||Mn!==sc(d)||(d=Mn,"selectionStart"in d&&jj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),On&&ke(On,d)||(On=d,d=rn(Nn,"onSelect"),0<d.length&&(b=new Ql("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=Mn)))} +function Rn(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Sn={animationend:Rn("Animation","AnimationEnd"),animationiteration:Rn("Animation","AnimationIteration"),animationstart:Rn("Animation","AnimationStart"),transitionend:Rn("Transition","TransitionEnd")},Tn={},Un={}; +Zb&&(Un=document.createElement("div").style,"AnimationEvent"in window||(delete Sn.animationend.animation,delete Sn.animationiteration.animation,delete Sn.animationstart.animation),"TransitionEvent"in window||delete Sn.transitionend.transition);function Vn(a){if(Tn[a])return Tn[a];if(!Sn[a])return a;var b=Sn[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Un)return Tn[a]=b[c];return a}var Wn=Vn("animationend"),Xn=Vn("animationiteration"),Yn=Vn("animationstart"),Zn=Vn("transitionend"),$n=new Map,ao="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" "); +function bo(a,b){$n.set(a,b);Xb(b,[a])}for(var co=0;co<ao.length;co++){var eo=ao[co],fo=eo.toLowerCase(),go=eo[0].toUpperCase()+eo.slice(1);bo(fo,"on"+go)}bo(Wn,"onAnimationEnd");bo(Xn,"onAnimationIteration");bo(Yn,"onAnimationStart");bo("dblclick","onDoubleClick");bo("focusin","onFocus");bo("focusout","onBlur");bo(Zn,"onTransitionEnd");Yb("onMouseEnter",["mouseout","mouseover"]);Yb("onMouseLeave",["mouseout","mouseover"]);Yb("onPointerEnter",["pointerout","pointerover"]); +Yb("onPointerLeave",["pointerout","pointerover"]);Xb("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Xb("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Xb("onBeforeInput",["compositionend","keypress","textInput","paste"]);Xb("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Xb("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); +Xb("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ho="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),io=new Set("cancel close invalid load scroll scrollend toggle".split(" ").concat(ho)); +function jo(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Xi(d,b,void 0,a);a.currentTarget=null} +function vn(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,p=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;jo(e,h,p);f=k}else for(g=0;g<d.length;g++){h=d[g];k=h.instance;p=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;jo(e,h,p);f=k}}}if(Ti)throw a=Ui,Ti=!1,Ui=null,a;} +function Y(a,b){var c=b[Fb];void 0===c&&(c=b[Fb]=new Set);var d=a+"__bubble";c.has(d)||(ko(b,a,2,!1),c.add(d))}function lo(a,b,c){var d=0;b&&(d|=4);ko(c,a,d,b)}var mo="_reactListening"+Math.random().toString(36).slice(2);function Li(a){if(!a[mo]){a[mo]=!0;Vb.forEach(function(c){"selectionchange"!==c&&(io.has(c)||lo(c,!1,a),lo(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[mo]||(b[mo]=!0,lo("selectionchange",!1,b))}} +function ko(a,b,c,d){switch(Ok(b)){case 2:var e=Sm;break;case 8:e=Um;break;default:e=Tm}c=e.bind(null,b,c,a);e=void 0;!Jl||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} +function Vm(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if(3===k||4===k)if(k=g.stateNode.containerInfo,k===e||8===k.nodeType&&k.parentNode===e)return;g=g.return}for(;null!==h;){g=Mb(h);if(null===g)return;k=g.tag;if(5===k||6===k||26===k||27===k){d=f=g;continue a}h=h.parentNode}}d=d.return}Hl(function(){var p= +f,q=Jc(c),w=[];a:{var r=$n.get(a);if(void 0!==r){var u=Ql,z=a;switch(a){case "keypress":if(0===Ll(c))break a;case "keydown":case "keyup":u=nm;break;case "focusin":z="focus";u=bm;break;case "focusout":z="blur";u=bm;break;case "beforeblur":case "afterblur":u=bm;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=Yl;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= +$l;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=rm;break;case Wn:case Xn:case Yn:u=dm;break;case Zn:u=tm;break;case "scroll":case "scrollend":u=Sl;break;case "wheel":u=vm;break;case "copy":case "cut":case "paste":u=fm;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=pm}var C=0!==(b&4),V=!C&&("scroll"===a||"scrollend"===a),R=C?null!==r?r+"Capture": +null:r;C=[];for(var m=p,l;null!==m;){var n=m;l=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===l||null===R||(n=Il(m,R),null!=n&&C.push(no(m,n,l)));if(V)break;m=m.return}0<C.length&&(r=new u(r,z,null,c,q),w.push({event:r,listeners:C}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Ic&&(z=c.relatedTarget||c.fromElement)&&(Mb(z)||z[Eb]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(z=c.relatedTarget|| +c.toElement,u=p,z=z?Mb(z):null,null!==z&&(V=Pc(z),C=z.tag,z!==V||5!==C&&27!==C&&6!==C))z=null}else u=null,z=p;if(u!==z){C=Yl;n="onMouseLeave";R="onMouseEnter";m="mouse";if("pointerout"===a||"pointerover"===a)C=pm,n="onPointerLeave",R="onPointerEnter",m="pointer";V=null==u?r:Pb(u);l=null==z?r:Pb(z);r=new C(n,m+"leave",u,c,q);r.target=V;r.relatedTarget=l;n=null;Mb(q)===p&&(C=new C(R,m+"enter",z,c,q),C.target=l,C.relatedTarget=V,n=C);V=n;if(u&&z)b:{C=u;R=z;m=0;for(l=C;l;l=oo(l))m++;l=0;for(n=R;n;n=oo(n))l++; +for(;0<m-l;)C=oo(C),m--;for(;0<l-m;)R=oo(R),l--;for(;m--;){if(C===R||null!==R&&C===R.alternate)break b;C=oo(C);R=oo(R)}C=null}else C=null;null!==u&&po(w,r,u,C,!1);null!==z&&null!==V&&po(w,V,z,C,!0)}}}a:{r=p?Pb(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=xn;else if(pn(r))if(yn)v=Hn;else{v=Fn;var x=En}else u=r.nodeName,!u||"input"!==u.toLowerCase()||"checkbox"!==r.type&&"radio"!==r.type?p&&Gc(p.elementType)&&(v=xn):v=Gn;if(v&&(v=v(a,p))){qn(w, +v,c,q);break a}x&&x(a,r,p);"focusout"===a&&p&&"number"===r.type&&null!=p.memoizedProps.value&&wc(r,"number",r.value)}x=p?Pb(p):window;switch(a){case "focusin":if(pn(x)||"true"===x.contentEditable)Mn=x,Nn=p,On=null;break;case "focusout":On=Nn=Mn=null;break;case "mousedown":Pn=!0;break;case "contextmenu":case "mouseup":case "dragend":Pn=!1;Qn(w,c,q);break;case "selectionchange":if(Ln)break;case "keydown":case "keyup":Qn(w,c,q)}var A;if(bn)b:{switch(a){case "compositionstart":var y="onCompositionStart"; +break b;case "compositionend":y="onCompositionEnd";break b;case "compositionupdate":y="onCompositionUpdate";break b}y=void 0}else ln?jn(a,c)&&(y="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(y="onCompositionStart");y&&(fn&&"ko"!==c.locale&&(ln||"onCompositionStart"!==y?"onCompositionEnd"===y&&ln&&(A=$m()):(Xm=q,Ym="value"in Xm?Xm.value:Xm.textContent,ln=!0)),x=rn(p,y),0<x.length&&(y=new hm(y,a,null,c,q),w.push({event:y,listeners:x}),A?y.data=A:(A=kn(c),null!==A&&(y.data=A))));if(A=en?mn(a, +c):nn(a,c))y=rn(p,"onBeforeInput"),0<y.length&&(x=new hm("onBeforeInput","beforeinput",null,c,q),w.push({event:x,listeners:y}),x.data=A);wm(w,a,p,c,q)}vn(w,b)})}function no(a,b,c){return{instance:a,listener:b,currentTarget:c}}function rn(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=Il(a,c),null!=e&&d.unshift(no(a,e,f)),e=Il(a,b),null!=e&&d.push(no(a,e,f)));a=a.return}return d} +function oo(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null}function po(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,p=h.stateNode;h=h.tag;if(null!==k&&k===d)break;5!==h&&26!==h&&27!==h||null===p||(k=p,e?(p=Il(c,f),null!=p&&g.unshift(no(c,p,k))):e||(p=Il(c,f),null!=p&&g.push(no(c,p,k))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var qo=/\r\n?/g,ro=/\u0000|\uFFFD/g; +function so(a){return("string"===typeof a?a:""+a).replace(qo,"\n").replace(ro,"")}function Ki(a,b,c){b=so(b);if(so(a)!==b&&c)throw Error(t(425));}function zj(){} +function Z(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||Cc(a,d):"number"===typeof d&&"body"!==b&&Cc(a,""+d);break;case "className":ec(a,"class",d);break;case "tabIndex":ec(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":ec(a,c,d);break;case "style":Fc(a,d,f);break;case "src":case "href":if(""===d){a.removeAttribute(c);break}if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c); break}a.setAttribute(c,""+d);break;case "action":case "formAction":if("function"===typeof d){a.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else"function"===typeof f&&("formAction"===c?("input"!==b&&Z(a,b,"name",e.name,e,null),Z(a,b,"formEncType", -e.formEncType,e,null),Z(a,b,"formMethod",e.formMethod,e,null),Z(a,b,"formTarget",e.formTarget,e,null)):(Z(a,b,"encType",e.encType,e,null),Z(a,b,"method",e.method,e,null),Z(a,b,"target",e.target,e,null)));if(null==d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=tj);break;case "onScroll":null!=d&&Y("scroll",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61)); -d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));a.innerHTML=d}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"===typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href"); -break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&& +e.formEncType,e,null),Z(a,b,"formMethod",e.formMethod,e,null),Z(a,b,"formTarget",e.formTarget,e,null)):(Z(a,b,"encType",e.encType,e,null),Z(a,b,"method",e.method,e,null),Z(a,b,"target",e.target,e,null)));if(null==d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=zj);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!== +typeof d||!("__html"in d))throw Error(t(61));d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));a.innerHTML=d}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"=== +typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href");break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&& "function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""):a.removeAttribute(c);break;case "capture":case "download":!0===d?a.setAttribute(c,""):!1!==d&&null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,d):a.removeAttribute(c);break;case "cols":case "rows":case "size":case "span":null!=d&&"function"!==typeof d&&"symbol"!==typeof d&&!isNaN(d)&&1<=d?a.setAttribute(c,d):a.removeAttribute(c);break;case "rowSpan":case "start":null==d||"function"===typeof d||"symbol"===typeof d|| -isNaN(d)?a.removeAttribute(c):a.setAttribute(c,d);break;case "xlinkActuate":cc(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":cc(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":cc(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":cc(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":cc(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":cc(a,"http://www.w3.org/1999/xlink","xlink:type", -d);break;case "xmlBase":cc(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":cc(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":cc(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":ac(a,"is",d);break;case "innerText":case "textContent":break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Ec.get(c)||c,ac(a,e,d)}} -function no(a,b,c,d,e,f){switch(c){case "style":Cc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));c=d.__html;if(null!=c){if(null!=e.children)throw Error(t(60));a.innerHTML=c}}break;case "children":"string"===typeof d?zc(a,d):"number"===typeof d&&zc(a,""+d);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onClick":null!=d&&(a.onclick=tj);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; -case "innerText":case "textContent":break;default:if(!Tb.hasOwnProperty(c))a:{if("o"===c[0]&&"n"===c[1]&&(e=c.endsWith("Capture"),b=c.slice(2,e?c.length-7:void 0),f=Nb(a),f=null!=f?f[c]:null,"function"===typeof f&&a.removeEventListener(b,f,e),"function"===typeof d)){"function"!==typeof f&&null!==f&&(c in a?a[c]=null:a.hasAttribute(c)&&a.removeAttribute(c));a.addEventListener(b,d,e);break a}c in a?a[c]=d:!0===d?a.setAttribute(c,""):ac(a,c,d)}}} -function Di(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Y("invalid",a);var d=null,e=null,f=null,g=null,h=null,k=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":k=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:Z(a, -b,q,p,c,null)}}uc(a,f,g,h,k,e,d,!1);nc(a);return;case "select":Y("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:Z(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?wc(a,!!q,b,!1):null!=c&&wc(a,!!q,c,!0);return;case "textarea":Y("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= -g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:Z(a,b,e,g,c,null)}yc(a,q,d,f);nc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:Z(a,b,g,q,c,null)}return;case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":Y("load",a);break;case "video":case "audio":for(q=0;q<ao.length;q++)Y(ao[q],a);break;case "image":Y("error",a);Y("load", -a);break;case "details":Y("toggle",a);break;case "embed":case "source":case "img":case "link":Y("error",a),Y("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:Z(a,b,h,q,c,null)}return;default:if(Dc(b)){for(k in c)c.hasOwnProperty(k)&&(q=c[k],null!=q&&no(a,b,k,q,c,null)); +isNaN(d)?a.removeAttribute(c):a.setAttribute(c,d);break;case "xlinkActuate":fc(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":fc(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":fc(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":fc(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":fc(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":fc(a,"http://www.w3.org/1999/xlink","xlink:type", +d);break;case "xmlBase":fc(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":fc(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":fc(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":dc(a,"is",d);break;case "innerText":case "textContent":break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Hc.get(c)||c,dc(a,e,d)}} +function to(a,b,c,d,e,f){switch(c){case "style":Fc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));c=d.__html;if(null!=c){if(null!=e.children)throw Error(t(60));a.innerHTML=c}}break;case "children":"string"===typeof d?Cc(a,d):"number"===typeof d&&Cc(a,""+d);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "onClick":null!=d&&(a.onclick=zj);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; +case "innerText":case "textContent":break;default:if(!Wb.hasOwnProperty(c))a:{if("o"===c[0]&&"n"===c[1]&&(e=c.endsWith("Capture"),b=c.slice(2,e?c.length-7:void 0),f=Qb(a),f=null!=f?f[c]:null,"function"===typeof f&&a.removeEventListener(b,f,e),"function"===typeof d)){"function"!==typeof f&&null!==f&&(c in a?a[c]=null:a.hasAttribute(c)&&a.removeAttribute(c));a.addEventListener(b,d,e);break a}c in a?a[c]=d:!0===d?a.setAttribute(c,""):dc(a,c,d)}}} +function Ji(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Y("invalid",a);var d=null,e=null,f=null,g=null,h=null,k=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":k=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:Z(a, +b,q,p,c,null)}}xc(a,f,g,h,k,e,d,!1);qc(a);return;case "select":Y("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:Z(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?zc(a,!!q,b,!1):null!=c&&zc(a,!!q,c,!0);return;case "textarea":Y("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= +g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:Z(a,b,e,g,c,null)}Bc(a,q,d,f);qc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:Z(a,b,g,q,c,null)}return;case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":Y("load",a);break;case "video":case "audio":for(q=0;q<ho.length;q++)Y(ho[q],a);break;case "image":Y("error",a);Y("load", +a);break;case "details":Y("toggle",a);break;case "embed":case "source":case "img":case "link":Y("error",a),Y("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:Z(a,b,h,q,c,null)}return;default:if(Gc(b)){for(k in c)c.hasOwnProperty(k)&&(q=c[k],null!=q&&to(a,b,k,q,c,null)); return}}for(f in c)c.hasOwnProperty(f)&&(q=c[f],null!=q&&Z(a,b,f,q,c,null))} -function Lj(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,k=null,p=null,q=null;for(u in c){var w=c[u];if(c.hasOwnProperty(u)&&null!=w)switch(u){case "checked":break;case "value":break;case "defaultValue":k=w;default:d.hasOwnProperty(u)||Z(a,b,u,null,d,w)}}for(var r in d){var u=d[r];w=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=w))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= -u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==w&&Z(a,b,r,u,d,w)}}sc(a,g,h,k,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(k=c[f],c.hasOwnProperty(f)&&null!=k)switch(f){case "value":break;case "multiple":u=k;default:d.hasOwnProperty(f)||Z(a,b,f,null,d,k)}for(e in d)if(f=d[e],k=c[e],d.hasOwnProperty(e)&&(null!=f||null!=k))switch(e){case "value":r= -f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==k&&Z(a,b,e,f,d,k)}b=h;c=g;d=u;null!=r?wc(a,!!c,r,!1):!!d!==!!c&&(null!=b?wc(a,!!c,b,!0):wc(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:Z(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; -case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&Z(a,b,g,e,d,f)}xc(a,r,u);return;case "option":for(var z in c)if(r=c[z],c.hasOwnProperty(z)&&null!=r&&!d.hasOwnProperty(z))switch(z){case "selected":a.selected=!1;break;default:Z(a,b,z,null,d,r)}for(k in d)if(r=d[k],u=c[k],d.hasOwnProperty(k)&&r!==u&&(null!=r||null!=u))switch(k){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:Z(a,b,k,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var B in c)r= -c[B],c.hasOwnProperty(B)&&null!=r&&!d.hasOwnProperty(B)&&Z(a,b,B,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:Z(a,b,p,r,d,u)}return;default:if(Dc(b)){for(var V in c)r=c[V],c.hasOwnProperty(V)&&null!=r&&!d.hasOwnProperty(V)&&no(a,b,V,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||no(a,b,q,r,d,u);return}}for(var Q in c)r=c[Q], -c.hasOwnProperty(Q)&&null!=r&&!d.hasOwnProperty(Q)&&Z(a,b,Q,null,d,r);for(w in d)r=d[w],u=c[w],!d.hasOwnProperty(w)||r===u||null==r&&null==u||Z(a,b,w,r,d,u)}var aj=null,ej=null;function Ci(a){return 9===a.nodeType?a:a.ownerDocument}function Na(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} -function Oa(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Id(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} -var Lk="function"===typeof setTimeout?setTimeout:void 0,Tk="function"===typeof clearTimeout?clearTimeout:void 0,oo="function"===typeof Promise?Promise:void 0,pf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oo?function(a){return oo.resolve(null).then(a).catch(po)}:Lk;function po(a){setTimeout(function(){throw a;})} -function zj(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);Aj(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);Aj(b)}function fj(a){var b=a.nodeType;if(9===b)qo(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":qo(a);break;default:a.textContent=""}} -function qo(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":qo(c);Ib(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} -function xd(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d&&("INPUT"!==a.nodeName||"hidden"!==a.type))break}else if(!d)if("input"===b&&"hidden"===a.type){var f=null==e.name?null:""+e.name;if("hidden"===e.type&&a.getAttribute("name")===f)return a}else return a;else if(!a[Hb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel|| +function Rj(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,k=null,p=null,q=null;for(u in c){var w=c[u];if(c.hasOwnProperty(u)&&null!=w)switch(u){case "checked":break;case "value":break;case "defaultValue":k=w;default:d.hasOwnProperty(u)||Z(a,b,u,null,d,w)}}for(var r in d){var u=d[r];w=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=w))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= +u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==w&&Z(a,b,r,u,d,w)}}vc(a,g,h,k,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(k=c[f],c.hasOwnProperty(f)&&null!=k)switch(f){case "value":break;case "multiple":u=k;default:d.hasOwnProperty(f)||Z(a,b,f,null,d,k)}for(e in d)if(f=d[e],k=c[e],d.hasOwnProperty(e)&&(null!=f||null!=k))switch(e){case "value":r= +f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==k&&Z(a,b,e,f,d,k)}b=h;c=g;d=u;null!=r?zc(a,!!c,r,!1):!!d!==!!c&&(null!=b?zc(a,!!c,b,!0):zc(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:Z(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; +case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&Z(a,b,g,e,d,f)}Ac(a,r,u);return;case "option":for(var z in c)if(r=c[z],c.hasOwnProperty(z)&&null!=r&&!d.hasOwnProperty(z))switch(z){case "selected":a.selected=!1;break;default:Z(a,b,z,null,d,r)}for(k in d)if(r=d[k],u=c[k],d.hasOwnProperty(k)&&r!==u&&(null!=r||null!=u))switch(k){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:Z(a,b,k,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var C in c)r= +c[C],c.hasOwnProperty(C)&&null!=r&&!d.hasOwnProperty(C)&&Z(a,b,C,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:Z(a,b,p,r,d,u)}return;default:if(Gc(b)){for(var V in c)r=c[V],c.hasOwnProperty(V)&&null!=r&&!d.hasOwnProperty(V)&&to(a,b,V,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||to(a,b,q,r,d,u);return}}for(var R in c)r=c[R], +c.hasOwnProperty(R)&&null!=r&&!d.hasOwnProperty(R)&&Z(a,b,R,null,d,r);for(w in d)r=d[w],u=c[w],!d.hasOwnProperty(w)||r===u||null==r&&null==u||Z(a,b,w,r,d,u)}var gj=null,kj=null;function Ii(a){return 9===a.nodeType?a:a.ownerDocument}function Pa(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} +function Qa(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Ld(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} +var Rk="function"===typeof setTimeout?setTimeout:void 0,Zk="function"===typeof clearTimeout?clearTimeout:void 0,uo="function"===typeof Promise?Promise:void 0,tf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof uo?function(a){return uo.resolve(null).then(a).catch(vo)}:Rk;function vo(a){setTimeout(function(){throw a;})} +function Fj(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);Gj(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);Gj(b)}function lj(a){var b=a.nodeType;if(9===b)wo(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":wo(a);break;default:a.textContent=""}} +function wo(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":wo(c);Lb(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} +function Ad(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d&&("INPUT"!==a.nodeName||"hidden"!==a.type))break}else if(!d)if("input"===b&&"hidden"===a.type){var f=null==e.name?null:""+e.name;if("hidden"===e.type&&a.getAttribute("name")===f)return a}else return a;else if(!a[Kb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel|| a.getAttribute("href")!==(null==e.href?null:e.href)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin)||a.getAttribute("title")!==(null==e.title?null:e.title))break;return a;case "style":if(a.hasAttribute("data-precedence"))break;return a;case "script":f=a.getAttribute("src");if((f!==(null==e.src?null:e.src)||a.getAttribute("type")!==(null==e.type?null:e.type)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin))&&f&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break; -return a;default:return a}a=Cd(a);if(null===a)break}return null}function Ad(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Cd(a);if(null===a)return null}return a}function yd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Cd(a){return yd(a.nextSibling)} -function Ai(a,b,c,d,e){a[zb]=e;a[Ab]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e<ao.length;e++)Y(ao[e],a);break;case "source":Y("error",a);break;case "img":case "image":case "link":Y("error",a);Y("load",a);break;case "details":Y("toggle",a);break;case "input":Y("invalid",a);uc(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);nc(a);break;case "select":Y("invalid", -a);break;case "textarea":Y("invalid",a),yc(a,c.value,c.defaultValue,c.children),nc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&Ei(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Y("scroll",a);null!=c.onClick&&(a.onclick=tj)} -function Kb(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function ro(a){a=a.getBoundingClientRect();return{x:a.left,y:a.top,width:a.width,height:a.height}}function pk(a){return 5===a.tag&&!0===a.memoizedProps.hidden} -function so(a){function b(){c=!0}var c=!1;try{a.addEventListener("focus",b),(a.focus||HTMLElement.prototype.focus).call(a)}finally{a.removeEventListener("focus",b)}return c} -function to(a,b,c){var d=new Map;a.forEach(function(f){d.set(f,{rect:ro(f),ratio:0})});var e=new IntersectionObserver(function(f){f.forEach(function(g){var h=g.boundingClientRect;d.set(g.target,{rect:{x:h.left,y:h.top,width:h.width,height:h.height},ratio:g.intersectionRatio})});b(Array.from(d.values()))},c);a.forEach(function(f){e.observe(f)});return{disconnect:function(){return e.disconnect()},observe:function(f){d.set(f,{rect:ro(f),ratio:0});e.observe(f)},unobserve:function(f){d.delete(f);e.unobserve(f)}}} -function Bi(a,b,c){b=Ci(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var uo=new Map,vo=new Set;function Nj(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var Do={prefetchDNS:wo,preconnect:xo,preload:yo,preloadModule:zo,preinitStyle:Ao,preinitScript:Bo,preinitModuleScript:Co}; -function Eo(a,b,c){var d=document;if("string"===typeof b&&b){var e=rc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');vo.has(e)||(vo.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),Di(b,"link",a),Pb(b),d.head.appendChild(b)))}}function wo(a){Eo("dns-prefetch",a,null)}function xo(a,b){Eo("preconnect",a,b)} -function yo(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+rc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+rc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+rc(c.imageSizes)+'"]')):e+='[href="'+rc(a)+'"]':e+='[href="'+rc(a)+'"]';var f=e;switch(b){case "style":f=Fo(a);break;case "script":f=Go(a)}uo.has(f)||(a=C({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),uo.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(Ho(f))|| -"script"===b&&d.querySelector(Io(f))||(b=d.createElement("link"),Di(b,"link",a),Pb(b),d.head.appendChild(b)))}} -function zo(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+rc(d)+'"][href="'+rc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=Go(a)}if(!uo.has(f)&&(a=C({rel:"modulepreload",href:a},b),uo.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(Io(f)))return}d=c.createElement("link"); -Di(d,"link",a);Pb(d);c.head.appendChild(d)}}} -function Ao(a,b,c){var d=document;if(a){var e=Ob(d).hoistableStyles,f=Fo(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(Ho(f)))h.loading=1;else{a=C({rel:"stylesheet",href:a,"data-precedence":b},c);(c=uo.get(f))&&Jo(a,c);var k=g=d.createElement("link");Pb(k);Di(k,"link",a);k._p=new Promise(function(p,q){k.onload=p;k.onerror=q});k.addEventListener("load",function(){h.loading|=1});k.addEventListener("error",function(){h.loading|=2});h.loading|=4;Ko(g,b,d)}g= -{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function Bo(a,b){var c=document;if(a){var d=Ob(c).hoistableScripts,e=Go(a),f=d.get(e);f||(f=c.querySelector(Io(e)),f||(a=C({src:a,async:!0},b),(b=uo.get(e))&&Lo(a,b),f=c.createElement("script"),Pb(f),Di(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function Co(a,b){var c=document;if(a){var d=Ob(c).hoistableScripts,e=Go(a),f=d.get(e);f||(f=c.querySelector(Io(e)),f||(a=C({src:a,async:!0,type:"module"},b),(b=uo.get(e))&&Lo(a,b),f=c.createElement("script"),Pb(f),Di(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function ll(a,b,c){b=(b=Ja.current)?Nj(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=Fo(c.href),b=Ob(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=Fo(c.href);var d=Ob(b).hoistableStyles,e=d.get(a); -e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),uo.has(a)||Mo(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=Go(c.src),b=Ob(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", -instance:null,count:0,state:null};default:throw Error(t(444,a));}}function Fo(a){return'href="'+rc(a)+'"'}function Ho(a){return'link[rel="stylesheet"]['+a+"]"}function No(a){return C({},a,{"data-precedence":a.precedence,precedence:null})} -function Mo(a,b,c,d){uo.set(b,c);a.querySelector(Ho(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),Di(b,"link",c),Pb(b),a.head.appendChild(b)))}function Go(a){return'[src="'+rc(a)+'"]'}function Io(a){return"script[async]"+a} -function Kj(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+rc(c.href)+'"]');if(d)return b.instance=d,Pb(d),d;var e=C({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");Pb(d);Di(d,"style",e);Ko(d,c.precedence,a);return b.instance=d;case "stylesheet":e=Fo(c.href);var f=a.querySelector(Ho(e));if(f)return b.instance=f,Pb(f),f;d=No(c);(e=uo.get(e))&&Jo(d,e);f=(a.ownerDocument|| -a).createElement("link");Pb(f);var g=f;g._p=new Promise(function(h,k){g.onload=h;g.onerror=k});Di(f,"link",d);b.state.loading|=4;Ko(f,c.precedence,a);return b.instance=f;case "script":f=Go(c.src);if(e=a.querySelector(Io(f)))return b.instance=e,Pb(e),e;d=c;if(e=uo.get(f))d=C({},c),Lo(d,e);a=a.ownerDocument||a;e=a.createElement("script");Pb(e);Di(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& -4)&&(d=b.instance,b.state.loading|=4,Ko(d,c.precedence,a));return b.instance}function Ko(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} -function Jo(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function Lo(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var Mj=null; -function Ij(a,b,c){if(null===Mj){var d=new Map;var e=Mj=new Map;e.set(c,d)}else e=Mj,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Hb]||f[zb]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} -function Jj(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} -function nl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} -var Nk=null;function Ok(){} -function ak(a,b,c){if(null===Nk)throw Error(t(475));var d=Nk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=Fo(c.href),f=a.querySelector(Ho(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Oo.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Pb(f);return}f=a.ownerDocument||a;c=No(c);(e=uo.get(e))&&Jo(c,e);f=f.createElement("link");Pb(f);var g=f;g._p=new Promise(function(h,k){g.onload=h; -g.onerror=k});Di(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Oo.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} -function Pk(){if(null===Nk)throw Error(t(475));var a=Nk;a.stylesheets&&0===a.count&&Po(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&Po(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function Oo(){this.count--;if(0===this.count)if(this.stylesheets)Po(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var Qo=null; -function Po(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,Qo=new Map,b.forEach(Ro,a),Qo=null,Oo.call(a))} -function Ro(a,b){if(!(b.state.loading&4)){var c=Qo.get(a);if(c)var d=c.get("last");else{c=new Map;Qo.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=Oo.bind(this);e.addEventListener("load",d);e.addEventListener("error", -d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var So=ca.Dispatcher;"undefined"!==typeof document&&(So.current=Do);var To="function"===typeof reportError?reportError:function(a){console.error(a)};function Uo(a){this._internalRoot=a}Vo.prototype.render=Uo.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));tl(a,b,null,null)}; -Vo.prototype.unmount=Uo.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Rk(function(){tl(null,a,null,null)});b[Bb]=null}};function Vo(a){this._internalRoot=a}Vo.prototype.unstable_scheduleHydration=function(a){if(a){var b=F;a={blockedOn:null,target:a,priority:b};for(var c=0;c<xm.length&&0!==b&&b<xm[c].priority;c++);xm.splice(c,0,a);0===c&&Cm(a)}};function Wo(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} -function Xo(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function Yo(){} -function Zo(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=ul(g);f.call(p)}}var g=sl(b,d,a,0,null,!1,!1,"",Yo,null,null);a._reactRootContainer=g;a[Bb]=g.current;Fi(8===a.nodeType?a.parentNode:a);Rk();return g}fj(a);if("function"===typeof d){var h=d;d=function(){var p=ul(k);h.call(p)}}var k=pl(a,0,!1,null,null,!1,!1,"",Yo,null,null);a._reactRootContainer=k;a[Bb]=k.current;Fi(8===a.nodeType?a.parentNode:a);Rk(function(){tl(b,k,c,d)});return k} -function $o(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var k=ul(g);h.call(k)}}tl(b,g,a,e)}else g=Zo(c,b,a,e,d);return ul(g)}function ap(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var bp=ca.Dispatcher;ca.Events=[Lb,Mb,Nb,Kc,Lc,Qk];var cp={findFiberByHostInstance:Jb,bundleType:0,version:"18.3.0-experimental-d900fadbf-20230929",rendererPackageName:"react-dom"}; -var dp={bundleType:cp.bundleType,version:cp.version,rendererPackageName:cp.rendererPackageName,rendererConfig:cp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Qc(a);return null===a?null:a.stateNode},findFiberByHostInstance:cp.findFiberByHostInstance|| -zl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-experimental-d900fadbf-20230929"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ep=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ep.isDisabled&&ep.supportsFiber)try{cb=ep.inject(dp),db=ep}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca;exports.createComponentSelector=function(a){return{$$typeof:hk,value:a}}; -exports.createHasPseudoClassSelector=function(a){return{$$typeof:ik,value:a}};exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Wo(b))throw Error(t(200));return ql(a,b,null,c)};exports.createRoleSelector=function(a){return{$$typeof:jk,value:a}}; -exports.createRoot=function(a,b){if(!Wo(a))throw Error(t(299));var c=!1,d="",e=To,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=pl(a,1,!1,null,null,c,!1,d,e,f,null);a[Bb]=b.current;So.current=Do;Fi(8===a.nodeType?a.parentNode:a);return new Uo(b)}; -exports.createTestNameSelector=function(a){return{$$typeof:kk,value:a}};exports.createTextSelector=function(a){return{$$typeof:lk,value:a}};exports.experimental_useFormState=function(a,b,c){return ea.current.useFormState(a,b,c)};exports.experimental_useFormStatus=function(){return ea.current.useHostTransitionStatus()};exports.findAllNodes=sk; -exports.findBoundingRects=function(a,b){b=sk(a,b);a=[];for(var c=0;c<b.length;c++)a.push(ro(b[c]));for(b=a.length-1;0<b;b--){c=a[b];for(var d=c.x,e=d+c.width,f=c.y,g=f+c.height,h=b-1;0<=h;h--)if(b!==h){var k=a[h],p=k.x,q=p+k.width,w=k.y,r=w+k.height;if(d>=p&&f>=w&&e<=q&&g<=r){a.splice(b,1);break}else if(!(d!==p||c.width!==k.width||r<f||w>g)){w>f&&(k.height+=w-f,k.y=f);r<g&&(k.height=g-w);a.splice(b,1);break}else if(!(f!==w||c.height!==k.height||q<d||p>e)){p>d&&(k.width+=p-d,k.x=d);q<e&&(k.width=e- -p);a.splice(b,1);break}}}return a};exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=Qc(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return Rk(a)}; -exports.focusWithin=function(a,b){a=nk(a);b=rk(a,b);b=Array.from(b);for(a=0;a<b.length;){var c=b[a++],d=c.tag;if(!pk(c)){if((5===d||26===d||27===d)&&so(c.stateNode))return!0;for(c=c.child;null!==c;)b.push(c),c=c.sibling}}return!1}; -exports.getFindAllNodesFailureDescription=function(a,b){var c=0,d=[];a=[nk(a),0];for(var e=0;e<a.length;){var f=a[e++],g=f.tag,h=a[e++],k=b[h];if(5!==g&&26!==g&&27!==g||!pk(f))if(ok(f,k)&&(d.push(qk(k)),h++,h>c&&(c=h)),h<b.length)for(f=f.child;null!==f;)a.push(f,h),f=f.sibling}if(c<b.length){for(a=[];c<b.length;c++)a.push(qk(b[c]));return"findAllNodes was able to match part of the selector:\n "+(d.join(" > ")+"\n\nNo matching component was found for:\n ")+a.join(" > ")}return null}; -exports.hydrate=function(a,b,c){if(!Xo(b))throw Error(t(200));return $o(null,a,b,!0,c)}; -exports.hydrateRoot=function(a,b,c){if(!Wo(a))throw Error(t(405));var d=!1,e="",f=To,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.experimental_formState&&(h=c.experimental_formState));b=sl(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Bb]=b.current;So.current=Do;Fi(a);return new Vo(b)}; -exports.observeVisibleRects=function(a,b,c,d){a=sk(a,b);var e=to(a,c,d).disconnect;return{disconnect:function(){e()}}};exports.preconnect=function(a,b){var c=bp.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=bp.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; -exports.preinit=function(a,b){var c=bp.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=ap(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; -exports.preinitModule=function(a,b){var c=bp.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=ap(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; -exports.preload=function(a,b){var c=bp.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=ap(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== -typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=bp.current;if(c&&"string"===typeof a)if(b){var d=ap(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!Xo(b))throw Error(t(200));return $o(null,a,b,!1,c)}; -exports.unmountComponentAtNode=function(a){if(!Xo(a))throw Error(t(40));return a._reactRootContainer?(Rk(function(){$o(null,null,a,!1,function(){a._reactRootContainer=null;a[Bb]=null})}),!0):!1};exports.unstable_batchedUpdates=Qk;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!Xo(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return $o(a,b,c,!1,d)};exports.unstable_runWithPriority=vb;exports.version="18.3.0-experimental-d900fadbf-20230929"; +return a;default:return a}a=Fd(a);if(null===a)break}return null}function Dd(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Fd(a);if(null===a)return null}return a}function Bd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Fd(a){return Bd(a.nextSibling)} +function Gi(a,b,c,d,e){a[Cb]=e;a[Db]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e<ho.length;e++)Y(ho[e],a);break;case "source":Y("error",a);break;case "img":case "image":case "link":Y("error",a);Y("load",a);break;case "details":Y("toggle",a);break;case "input":Y("invalid",a);xc(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);qc(a);break;case "select":Y("invalid", +a);break;case "textarea":Y("invalid",a),Bc(a,c.value,c.defaultValue,c.children),qc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&Ki(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Y("scroll",a);null!=c.onScrollEnd&&Y("scrollend",a);null!=c.onClick&&(a.onclick=zj)} +function Nb(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function xo(a){a=a.getBoundingClientRect();return{x:a.left,y:a.top,width:a.width,height:a.height}}function vk(a){return 5===a.tag&&!0===a.memoizedProps.hidden} +function yo(a){function b(){c=!0}var c=!1;try{a.addEventListener("focus",b),(a.focus||HTMLElement.prototype.focus).call(a)}finally{a.removeEventListener("focus",b)}return c} +function zo(a,b,c){var d=new Map;a.forEach(function(f){d.set(f,{rect:xo(f),ratio:0})});var e=new IntersectionObserver(function(f){f.forEach(function(g){var h=g.boundingClientRect;d.set(g.target,{rect:{x:h.left,y:h.top,width:h.width,height:h.height},ratio:g.intersectionRatio})});b(Array.from(d.values()))},c);a.forEach(function(f){e.observe(f)});return{disconnect:function(){return e.disconnect()},observe:function(f){d.set(f,{rect:xo(f),ratio:0});e.observe(f)},unobserve:function(f){d.delete(f);e.unobserve(f)}}} +function Hi(a,b,c){b=Ii(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var Ao=new Map,Bo=new Set;function Tj(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var Jo={prefetchDNS:Co,preconnect:Do,preload:Eo,preloadModule:Fo,preinitStyle:Go,preinitScript:Ho,preinitModuleScript:Io}; +function Ko(a,b,c){var d=document;if("string"===typeof b&&b){var e=uc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');Bo.has(e)||(Bo.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),Ji(b,"link",a),Sb(b),d.head.appendChild(b)))}}function Co(a){Ko("dns-prefetch",a,null)}function Do(a,b){Ko("preconnect",a,b)} +function Eo(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+uc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+uc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+uc(c.imageSizes)+'"]')):e+='[href="'+uc(a)+'"]':e+='[href="'+uc(a)+'"]';var f=e;switch(b){case "style":f=Lo(a);break;case "script":f=Mo(a)}Ao.has(f)||(a=B({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),Ao.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(No(f))|| +"script"===b&&d.querySelector(Oo(f))||(b=d.createElement("link"),Ji(b,"link",a),Sb(b),d.head.appendChild(b)))}} +function Fo(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+uc(d)+'"][href="'+uc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=Mo(a)}if(!Ao.has(f)&&(a=B({rel:"modulepreload",href:a},b),Ao.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(Oo(f)))return}d=c.createElement("link"); +Ji(d,"link",a);Sb(d);c.head.appendChild(d)}}} +function Go(a,b,c){var d=document;if(a){var e=Rb(d).hoistableStyles,f=Lo(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(No(f)))h.loading=1;else{a=B({rel:"stylesheet",href:a,"data-precedence":b},c);(c=Ao.get(f))&&Po(a,c);var k=g=d.createElement("link");Sb(k);Ji(k,"link",a);k._p=new Promise(function(p,q){k.onload=p;k.onerror=q});k.addEventListener("load",function(){h.loading|=1});k.addEventListener("error",function(){h.loading|=2});h.loading|=4;Qo(g,b,d)}g= +{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function Ho(a,b){var c=document;if(a){var d=Rb(c).hoistableScripts,e=Mo(a),f=d.get(e);f||(f=c.querySelector(Oo(e)),f||(a=B({src:a,async:!0},b),(b=Ao.get(e))&&Ro(a,b),f=c.createElement("script"),Sb(f),Ji(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function Io(a,b){var c=document;if(a){var d=Rb(c).hoistableScripts,e=Mo(a),f=d.get(e);f||(f=c.querySelector(Oo(e)),f||(a=B({src:a,async:!0,type:"module"},b),(b=Ao.get(e))&&Ro(a,b),f=c.createElement("script"),Sb(f),Ji(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function rl(a,b,c){b=(b=La.current)?Tj(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=Lo(c.href),b=Rb(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=Lo(c.href);var d=Rb(b).hoistableStyles,e=d.get(a); +e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),Ao.has(a)||So(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=Mo(c.src),b=Rb(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", +instance:null,count:0,state:null};default:throw Error(t(444,a));}}function Lo(a){return'href="'+uc(a)+'"'}function No(a){return'link[rel="stylesheet"]['+a+"]"}function To(a){return B({},a,{"data-precedence":a.precedence,precedence:null})} +function So(a,b,c,d){Ao.set(b,c);a.querySelector(No(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),Ji(b,"link",c),Sb(b),a.head.appendChild(b)))}function Mo(a){return'[src="'+uc(a)+'"]'}function Oo(a){return"script[async]"+a} +function Qj(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+uc(c.href)+'"]');if(d)return b.instance=d,Sb(d),d;var e=B({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");Sb(d);Ji(d,"style",e);Qo(d,c.precedence,a);return b.instance=d;case "stylesheet":e=Lo(c.href);var f=a.querySelector(No(e));if(f)return b.instance=f,Sb(f),f;d=To(c);(e=Ao.get(e))&&Po(d,e);f=(a.ownerDocument|| +a).createElement("link");Sb(f);var g=f;g._p=new Promise(function(h,k){g.onload=h;g.onerror=k});Ji(f,"link",d);b.state.loading|=4;Qo(f,c.precedence,a);return b.instance=f;case "script":f=Mo(c.src);if(e=a.querySelector(Oo(f)))return b.instance=e,Sb(e),e;d=c;if(e=Ao.get(f))d=B({},c),Ro(d,e);a=a.ownerDocument||a;e=a.createElement("script");Sb(e);Ji(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& +4)&&(d=b.instance,b.state.loading|=4,Qo(d,c.precedence,a));return b.instance}function Qo(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} +function Po(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function Ro(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var Sj=null; +function Oj(a,b,c){if(null===Sj){var d=new Map;var e=Sj=new Map;e.set(c,d)}else e=Sj,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Kb]||f[Cb]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} +function Pj(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} +function tl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} +var Tk=null;function Uk(){} +function gk(a,b,c){if(null===Tk)throw Error(t(475));var d=Tk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=Lo(c.href),f=a.querySelector(No(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Uo.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Sb(f);return}f=a.ownerDocument||a;c=To(c);(e=Ao.get(e))&&Po(c,e);f=f.createElement("link");Sb(f);var g=f;g._p=new Promise(function(h,k){g.onload=h; +g.onerror=k});Ji(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Uo.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} +function Vk(){if(null===Tk)throw Error(t(475));var a=Tk;a.stylesheets&&0===a.count&&Vo(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&Vo(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function Uo(){this.count--;if(0===this.count)if(this.stylesheets)Vo(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var Wo=null; +function Vo(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,Wo=new Map,b.forEach(Xo,a),Wo=null,Uo.call(a))} +function Xo(a,b){if(!(b.state.loading&4)){var c=Wo.get(a);if(c)var d=c.get("last");else{c=new Map;Wo.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=Uo.bind(this);e.addEventListener("load",d);e.addEventListener("error", +d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var Yo=ca.Dispatcher;"undefined"!==typeof document&&(Yo.current=Jo);var Zo="function"===typeof reportError?reportError:function(a){console.error(a)};function $o(a){this._internalRoot=a}ap.prototype.render=$o.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));zl(a,b,null,null)}; +ap.prototype.unmount=$o.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Xk(function(){zl(null,a,null,null)});b[Eb]=null}};function ap(a){this._internalRoot=a}ap.prototype.unstable_scheduleHydration=function(a){if(a){var b=F;a={blockedOn:null,target:a,priority:b};for(var c=0;c<Dm.length&&0!==b&&b<Dm[c].priority;c++);Dm.splice(c,0,a);0===c&&Im(a)}};function bp(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} +function cp(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function dp(){} +function ep(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=Al(g);f.call(p)}}var g=yl(b,d,a,0,null,!1,!1,"",dp,null,null);a._reactRootContainer=g;a[Eb]=g.current;Li(8===a.nodeType?a.parentNode:a);Xk();return g}lj(a);if("function"===typeof d){var h=d;d=function(){var p=Al(k);h.call(p)}}var k=vl(a,0,!1,null,null,!1,!1,"",dp,null,null);a._reactRootContainer=k;a[Eb]=k.current;Li(8===a.nodeType?a.parentNode:a);Xk(function(){zl(b,k,c,d)});return k} +function fp(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var k=Al(g);h.call(k)}}zl(b,g,a,e)}else g=ep(c,b,a,e,d);return Al(g)}function gp(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var hp=ca.Dispatcher;ca.Events=[Ob,Pb,Qb,Nc,Oc,Wk];var ip={findFiberByHostInstance:Mb,bundleType:0,version:"18.3.0-experimental-d803f519e-20231020",rendererPackageName:"react-dom"}; +var jp={bundleType:ip.bundleType,version:ip.version,rendererPackageName:ip.rendererPackageName,rendererConfig:ip.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Tc(a);return null===a?null:a.stateNode},findFiberByHostInstance:ip.findFiberByHostInstance|| +Fl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-experimental-d803f519e-20231020"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var kp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kp.isDisabled&&kp.supportsFiber)try{eb=kp.inject(jp),fb=kp}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca;exports.createComponentSelector=function(a){return{$$typeof:nk,value:a}}; +exports.createHasPseudoClassSelector=function(a){return{$$typeof:ok,value:a}};exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!bp(b))throw Error(t(200));return wl(a,b,null,c)};exports.createRoleSelector=function(a){return{$$typeof:pk,value:a}}; +exports.createRoot=function(a,b){if(!bp(a))throw Error(t(299));var c=!1,d="",e=Zo,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=vl(a,1,!1,null,null,c,!1,d,e,f,null);a[Eb]=b.current;Yo.current=Jo;Li(8===a.nodeType?a.parentNode:a);return new $o(b)}; +exports.createTestNameSelector=function(a){return{$$typeof:qk,value:a}};exports.createTextSelector=function(a){return{$$typeof:rk,value:a}};exports.experimental_useFormState=function(a,b,c){return ja(a,b,c)};exports.experimental_useFormStatus=function(){return ia()};exports.findAllNodes=yk; +exports.findBoundingRects=function(a,b){b=yk(a,b);a=[];for(var c=0;c<b.length;c++)a.push(xo(b[c]));for(b=a.length-1;0<b;b--){c=a[b];for(var d=c.x,e=d+c.width,f=c.y,g=f+c.height,h=b-1;0<=h;h--)if(b!==h){var k=a[h],p=k.x,q=p+k.width,w=k.y,r=w+k.height;if(d>=p&&f>=w&&e<=q&&g<=r){a.splice(b,1);break}else if(!(d!==p||c.width!==k.width||r<f||w>g)){w>f&&(k.height+=w-f,k.y=f);r<g&&(k.height=g-w);a.splice(b,1);break}else if(!(f!==w||c.height!==k.height||q<d||p>e)){p>d&&(k.width+=p-d,k.x=d);q<e&&(k.width=e- +p);a.splice(b,1);break}}}return a};exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=Tc(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return Xk(a)}; +exports.focusWithin=function(a,b){a=tk(a);b=xk(a,b);b=Array.from(b);for(a=0;a<b.length;){var c=b[a++],d=c.tag;if(!vk(c)){if((5===d||26===d||27===d)&&yo(c.stateNode))return!0;for(c=c.child;null!==c;)b.push(c),c=c.sibling}}return!1}; +exports.getFindAllNodesFailureDescription=function(a,b){var c=0,d=[];a=[tk(a),0];for(var e=0;e<a.length;){var f=a[e++],g=f.tag,h=a[e++],k=b[h];if(5!==g&&26!==g&&27!==g||!vk(f))if(uk(f,k)&&(d.push(wk(k)),h++,h>c&&(c=h)),h<b.length)for(f=f.child;null!==f;)a.push(f,h),f=f.sibling}if(c<b.length){for(a=[];c<b.length;c++)a.push(wk(b[c]));return"findAllNodes was able to match part of the selector:\n "+(d.join(" > ")+"\n\nNo matching component was found for:\n ")+a.join(" > ")}return null}; +exports.hydrate=function(a,b,c){if(!cp(b))throw Error(t(200));return fp(null,a,b,!0,c)}; +exports.hydrateRoot=function(a,b,c){if(!bp(a))throw Error(t(405));var d=!1,e="",f=Zo,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.formState&&(h=c.formState));b=yl(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Eb]=b.current;Yo.current=Jo;Li(a);return new ap(b)}; +exports.observeVisibleRects=function(a,b,c,d){a=yk(a,b);var e=zo(a,c,d).disconnect;return{disconnect:function(){e()}}};exports.preconnect=function(a,b){var c=hp.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=hp.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; +exports.preinit=function(a,b){var c=hp.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=gp(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; +exports.preinitModule=function(a,b){var c=hp.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=gp(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; +exports.preload=function(a,b){var c=hp.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=gp(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== +typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=hp.current;if(c&&"string"===typeof a)if(b){var d=gp(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!cp(b))throw Error(t(200));return fp(null,a,b,!1,c)}; +exports.unmountComponentAtNode=function(a){if(!cp(a))throw Error(t(40));return a._reactRootContainer?(Xk(function(){fp(null,null,a,!1,function(){a._reactRootContainer=null;a[Eb]=null})}),!0):!1};exports.unstable_batchedUpdates=Wk;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!cp(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return fp(a,b,c,!1,d)};exports.unstable_runWithPriority=yb;exports.useFormState=ja;exports.useFormStatus=ia; +exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js index 0d097071ace23..27cc3341d1b75 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js @@ -26,14 +26,6 @@ if ( var React = require("next/dist/compiled/react-experimental"); var Scheduler = require("next/dist/compiled/scheduler-experimental"); -var Internals = { - usingClientEntryPoint: false, - Events: null, - Dispatcher: { - current: null - } -}; - var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var suppressWarning = false; @@ -95,6 +87,14 @@ function printWarning(level, format, args) { } } +var Internals = { + usingClientEntryPoint: false, + Events: null, + Dispatcher: { + current: null + } +}; + var assign = Object.assign; // ----------------------------------------------------------------------------- @@ -111,7 +111,9 @@ var assign = Object.assign; // ----------------------------------------------------------------------------- // TODO: Finish rolling out in www -var enableClientRenderFallbackOnTextMismatch = true; // Not sure if www still uses this. We don't have a replacement but whatever we +var enableClientRenderFallbackOnTextMismatch = true; +var enableFormActions = true; +var enableAsyncActions = true; // Not sure if www still uses this. We don't have a replacement but whatever we // Slated for removal in the future (significant effort) // // These are experiments that didn't work out, and never shipped, but we can't @@ -127,14 +129,12 @@ var enableClientRenderFallbackOnTextMismatch = true; // Not sure if www still us // This will eventually be replaced by the Transition Tracing proposal. var enableSuspenseCallback = false; // Experimental Scope support. -var enableFormActions = true; var enableLazyContextPropagation = false; // FB-only usage. The new API has different semantics. var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber var enableHostSingletons = true; -var enableAsyncActions = true; -var alwaysThrottleRetries = true; // ----------------------------------------------------------------------------- +var alwaysThrottleRetries = true; // Chopping Block // // Planned feature deprecations and breaking changes. Sorted roughly in order of @@ -1071,6 +1071,7 @@ var SyncHydrationLane = var SyncLane = /* */ 2; +var SyncLaneIndex = 1; var InputContinuousHydrationLane = /* */ 4; @@ -1089,7 +1090,7 @@ var TransitionHydrationLane = 64; var TransitionLanes = /* */ -8388480; +4194176; var TransitionLane1 = /* */ 128; @@ -1135,39 +1136,39 @@ var TransitionLane14 = var TransitionLane15 = /* */ 2097152; -var TransitionLane16 = -/* */ -4194304; var RetryLanes = /* */ -125829120; +62914560; var RetryLane1 = /* */ -8388608; +4194304; var RetryLane2 = /* */ -16777216; +8388608; var RetryLane3 = /* */ -33554432; +16777216; var RetryLane4 = /* */ -67108864; +33554432; var SomeRetryLane = RetryLane1; var SelectiveHydrationLane = /* */ -134217728; +67108864; var NonIdleLanes = /* */ -268435455; +134217727; var IdleHydrationLane = /* */ -268435456; +134217728; var IdleLane = /* */ -536870912; +268435456; var OffscreenLane = /* */ +536870912; +var DeferredLane = +/* */ 1073741824; // Any lane that might schedule an update. This is used to detect infinite // update loops, so it doesn't include hydration lanes or retries. @@ -1227,6 +1228,10 @@ function getLabelForLane(lane) { if (lane & OffscreenLane) { return 'Offscreen'; } + + if (lane & DeferredLane) { + return 'Deferred'; + } } } var NoTimestamp = -1; @@ -1279,7 +1284,6 @@ function getHighestPriorityLanes(lanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return lanes & TransitionLanes; case RetryLane1: @@ -1300,6 +1304,11 @@ function getHighestPriorityLanes(lanes) { case OffscreenLane: return OffscreenLane; + case DeferredLane: + // This shouldn't be reachable because deferred work is always entangled + // with something else. + return NoLanes; + default: { error('Should have found matching lanes. This is a bug in React.'); @@ -1376,12 +1385,17 @@ function getNextLanes(root, wipLanes) { } } - if ((nextLanes & InputContinuousLane) !== NoLanes) { + return nextLanes; +} +function getEntangledLanes(root, renderLanes) { + var entangledLanes = renderLanes; + + if ((entangledLanes & InputContinuousLane) !== NoLanes) { // When updates are sync by default, we entangle continuous priority updates // and default updates, so they render in the same batch. The only reason // they use separate lanes is because continuous updates should interrupt // transitions, but default updates should not. - nextLanes |= pendingLanes & DefaultLane; + entangledLanes |= entangledLanes & DefaultLane; } // Check for entangled lanes and add them to the batch. // // A lane is said to be entangled with another when it's not allowed to render @@ -1406,21 +1420,21 @@ function getNextLanes(root, wipLanes) { // time we apply the entanglement. - var entangledLanes = root.entangledLanes; + var allEntangledLanes = root.entangledLanes; - if (entangledLanes !== NoLanes) { + if (allEntangledLanes !== NoLanes) { var entanglements = root.entanglements; - var lanes = nextLanes & entangledLanes; + var lanes = entangledLanes & allEntangledLanes; while (lanes > 0) { var index = pickArbitraryLaneIndex(lanes); var lane = 1 << index; - nextLanes |= entanglements[index]; + entangledLanes |= entanglements[index]; lanes &= ~lane; } } - return nextLanes; + return entangledLanes; } function computeExpirationTime(lane, currentTime) { @@ -1458,7 +1472,6 @@ function computeExpirationTime(lane, currentTime) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return currentTime + 5000; case RetryLane1: @@ -1476,6 +1489,7 @@ function computeExpirationTime(lane, currentTime) { case IdleHydrationLane: case IdleLane: case OffscreenLane: + case DeferredLane: // Anything idle priority or lower should never expire. return NoTimestamp; @@ -1498,6 +1512,7 @@ function markStarvedLanesAsExpired(root, currentTime) { var expirationTimes = root.expirationTimes; // Iterate through the pending lanes and check if we've reached their // expiration time. If so, we'll assume the update is being starved and mark // it as expired to force it to finish. + // TODO: We should be able to replace this with upgradePendingLanesToSync // // We exclude retry lanes because those must always be time sliced, in order // to unwrap uncached promises. @@ -1676,7 +1691,7 @@ function markRootUpdated(root, updateLane) { root.pingedLanes = NoLanes; } } -function markRootSuspended$1(root, suspendedLanes) { +function markRootSuspended$1(root, suspendedLanes, spawnedLane) { root.suspendedLanes |= suspendedLanes; root.pingedLanes &= ~suspendedLanes; // The suspended lanes are no longer CPU-bound. Clear their expiration times. @@ -1689,11 +1704,15 @@ function markRootSuspended$1(root, suspendedLanes) { expirationTimes[index] = NoTimestamp; lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, suspendedLanes); + } } function markRootPinged(root, pingedLanes) { root.pingedLanes |= root.suspendedLanes & pingedLanes; } -function markRootFinished(root, remainingLanes) { +function markRootFinished(root, remainingLanes, spawnedLane) { var noLongerPendingLanes = root.pendingLanes & ~remainingLanes; root.pendingLanes = remainingLanes; // Let's try everything again @@ -1733,7 +1752,28 @@ function markRootFinished(root, remainingLanes) { lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, // This render finished successfully without suspending, so we don't need + // to entangle the spawned task with the parent task. + NoLanes); + } +} + +function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { + // This render spawned a deferred task. Mark it as pending. + root.pendingLanes |= spawnedLane; + root.suspendedLanes &= ~spawnedLane; // Entangle the spawned lane with the DeferredLane bit so that we know it + // was the result of another render. This lets us avoid a useDeferredValue + // waterfall — only the first level will defer. + + var spawnedLaneIndex = laneToIndex(spawnedLane); + root.entangledLanes |= spawnedLane; + root.entanglements[spawnedLaneIndex] |= DeferredLane | // If the parent render task suspended, we must also entangle those lanes + // with the spawned task. + entangledLanes; } + function markRootEntangled(root, entangledLanes) { // In addition to entangling each of the given lanes with each other, we also // have to consider _transitive_ entanglements. For each lane that is already @@ -1763,6 +1803,29 @@ function markRootEntangled(root, entangledLanes) { lanes &= ~lane; } } +function upgradePendingLaneToSync(root, lane) { + // Since we're upgrading the priority of the given lane, there is now pending + // sync work. + root.pendingLanes |= SyncLane; // Entangle the sync lane with the lane we're upgrading. This means SyncLane + // will not be allowed to finish without also finishing the given lane. + + root.entangledLanes |= SyncLane; + root.entanglements[SyncLaneIndex] |= lane; +} +function upgradePendingLanesToSync(root, lanesToUpgrade) { + // Same as upgradePendingLaneToSync but accepts multiple lanes, so it's a + // bit slower. + root.pendingLanes |= SyncLane; + root.entangledLanes |= SyncLane; + var lanes = lanesToUpgrade; + + while (lanes) { + var index = pickArbitraryLaneIndex(lanes); + var lane = 1 << index; + root.entanglements[SyncLaneIndex] |= lane; + lanes &= ~lane; + } +} function markHiddenUpdate(root, update, lane) { var index = laneToIndex(lane); var hiddenUpdates = root.hiddenUpdates; @@ -1811,7 +1874,6 @@ function getBumpedLaneForHydration(root, renderLanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: case RetryLane1: case RetryLane2: case RetryLane3: @@ -2004,7 +2066,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2013,7 +2075,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2022,7 +2084,7 @@ function checkKeyStringCoercion(value) { function checkPropStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2031,7 +2093,7 @@ function checkPropStringCoercion(value, propName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2040,7 +2102,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2049,7 +2111,7 @@ function checkHtmlStringCoercion(value) { function checkFormFieldValueStringCoercion(value) { { if (willCoercionThrow(value)) { - error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -3452,8 +3514,12 @@ function updateInput(element, value, defaultValue, lastDefaultValue, checked, de } } - if (checked != null && node.checked !== !!checked) { - node.checked = checked; + if (checked != null) { + // Important to set this even if it's not a change in order to update input + // value tracking with radio buttons + // TODO: Should really update input value tracking for the whole radio + // button group in an effect or something (similar to #27024) + node.checked = checked && typeof checked !== 'function' && typeof checked !== 'symbol'; } if (name != null && typeof name !== 'function' && typeof name !== 'symbol' && typeof name !== 'boolean') { @@ -3519,13 +3585,12 @@ function initInput(element, value, defaultValue, checked, defaultChecked, type, var checkedOrDefault = checked != null ? checked : defaultChecked; // TODO: This 'function' or 'symbol' check isn't replicated in other places // so this semantic is inconsistent. - var initialChecked = typeof checkedOrDefault !== 'function' && typeof checkedOrDefault !== 'symbol' && !!checkedOrDefault; // The checked property never gets assigned. It must be manually set. - // We don't want to do this when hydrating so that existing user input isn't - // modified - // TODO: I'm pretty sure this is a bug because initialValueTracking won't be - // correct for the hydration case then. + var initialChecked = typeof checkedOrDefault !== 'function' && typeof checkedOrDefault !== 'symbol' && !!checkedOrDefault; - if (!isHydrating) { + if (isHydrating) { + // Detach .checked from .defaultChecked but leave user input alone + node.checked = node.checked; + } else { node.checked = !!initialChecked; } @@ -9846,29 +9911,29 @@ function resetChildFibers(workInProgress, lanes) { // InvisibleParentContext that is currently managed by SuspenseContext. var currentTreeHiddenStackCursor = createCursor(null); -var prevRenderLanesStackCursor = createCursor(NoLanes); +var prevEntangledRenderLanesCursor = createCursor(NoLanes); function pushHiddenContext(fiber, context) { - var prevRenderLanes = getRenderLanes(); - push(prevRenderLanesStackCursor, prevRenderLanes, fiber); + var prevEntangledRenderLanes = getEntangledRenderLanes(); + push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber); push(currentTreeHiddenStackCursor, context, fiber); // When rendering a subtree that's currently hidden, we must include all // lanes that would have rendered if the hidden subtree hadn't been deferred. // That is, in order to reveal content from hidden -> visible, we must commit // all the updates that we skipped when we originally hid the tree. - setRenderLanes(mergeLanes(prevRenderLanes, context.baseLanes)); + setEntangledRenderLanes(mergeLanes(prevEntangledRenderLanes, context.baseLanes)); } function reuseHiddenContextOnStack(fiber) { // This subtree is not currently hidden, so we don't need to add any lanes // to the render lanes. But we still need to push something to avoid a // context mismatch. Reuse the existing context on the stack. - push(prevRenderLanesStackCursor, getRenderLanes(), fiber); + push(prevEntangledRenderLanesCursor, getEntangledRenderLanes(), fiber); push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current, fiber); } function popHiddenContext(fiber) { // Restore the previous render lanes from the stack - setRenderLanes(prevRenderLanesStackCursor.current); + setEntangledRenderLanes(prevEntangledRenderLanesCursor.current); pop(currentTreeHiddenStackCursor, fiber); - pop(prevRenderLanesStackCursor, fiber); + pop(prevEntangledRenderLanesCursor, fiber); } function isCurrentTreeHidden() { return currentTreeHiddenStackCursor.current !== null; @@ -10230,7 +10295,10 @@ function processRootScheduleInMicrotask() { var next = root.next; if (currentEventTransitionLane !== NoLane && shouldAttemptEagerTransition()) { - markRootEntangled(root, mergeLanes(currentEventTransitionLane, SyncLane)); + // A transition was scheduled during an event, but we're going to try to + // render it synchronously anyway. We do this during a popstate event to + // preserve the scroll position of the previous page. + upgradePendingLaneToSync(root, currentEventTransitionLane); } var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); @@ -10636,7 +10704,7 @@ var didWarnAboutAsyncClientComponent; // These are set right before calling the component. -var renderLanes$1 = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from +var renderLanes = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from // the work-in-progress hook. var currentlyRenderingFiber$1 = null; // Hooks are stored as a linked list on the fiber's memoizedState field. The @@ -10830,7 +10898,7 @@ function areHookInputsEqual(nextDeps, prevDeps) { } function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) { - renderLanes$1 = nextRenderLanes; + renderLanes = nextRenderLanes; currentlyRenderingFiber$1 = workInProgress; { @@ -10936,7 +11004,7 @@ function finishRenderingHooks(current, workInProgress, Component) { // hookTypesDev could catch more cases (e.g. context) but only in DEV bundles. var didRenderTooFewHooks = currentHook !== null && currentHook.next !== null; - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11134,7 +11202,7 @@ function resetHooksOnUnwind(workInProgress) { didScheduleRenderPhaseUpdate = false; } - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11447,7 +11515,7 @@ function updateReducerImpl(hook, current, reducer) { // it's not a "base" update and we should disregard the extra base lanes // that were added to renderLanes when we entered the Offscreen tree. - var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes$1, updateLane); + var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes, updateLane); if (shouldSkipUpdate) { // Priority is insufficient. Skip this update. If this is the first @@ -11502,7 +11570,7 @@ function updateReducerImpl(hook, current, reducer) { // sufficient, don't apply the update. Otherwise, apply the update, // but leave it in the queue so it can be either reverted or // rebased in a subsequent render. - if (isSubsetOfLanes(renderLanes$1, revertLane)) { + if (isSubsetOfLanes(renderLanes, revertLane)) { // The transition that this optimistic update is associated with // has finished. Pretend the update doesn't exist by skipping // over it. @@ -11688,7 +11756,9 @@ function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!includesBlockingLane(root, renderLanes$1)) { + var rootRenderLanes = getWorkInProgressRootRenderLanes(); + + if (!includesBlockingLane(root, rootRenderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } // Read the current snapshot from the store on every render. This breaks the @@ -11774,7 +11844,7 @@ function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!isHydrating && !includesBlockingLane(root, renderLanes$1)) { + if (!isHydrating && !includesBlockingLane(root, renderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } @@ -11917,9 +11987,9 @@ function updateOptimisticImpl(hook, current, passthrough, reducer) { // as an argument. It's called a passthrough because if there are no pending // updates, it will be returned as-is. // - // Reset the base state and memoized state to the passthrough. Future - // updates will be applied on top of this. - hook.baseState = hook.memoizedState = passthrough; // If a reducer is not provided, default to the same one used by useState. + // Reset the base state to the passthrough. Future updates will be applied + // on top of this. + hook.baseState = passthrough; // If a reducer is not provided, default to the same one used by useState. var resolvedReducer = typeof reducer === 'function' ? reducer : basicStateReducer; return updateReducerImpl(hook, currentHook, resolvedReducer); @@ -11939,11 +12009,11 @@ function rerenderOptimistic(passthrough, reducer) { // This is an update. Process the update queue. return updateOptimisticImpl(hook, currentHook, passthrough, reducer); } // This is a mount. No updates to process. - // Reset the base state and memoized state to the passthrough. Future - // updates will be applied on top of this. + // Reset the base state to the passthrough. Future updates will be applied + // on top of this. - hook.baseState = hook.memoizedState = passthrough; + hook.baseState = passthrough; var dispatch = hook.queue.dispatch; return [passthrough, dispatch]; } // useFormState actions run sequentially, because each action receives the @@ -12463,70 +12533,92 @@ function updateMemo(nextCreate, deps) { return nextValue; } -function mountDeferredValue(value) { +function mountDeferredValue(value, initialValue) { var hook = mountWorkInProgressHook(); - hook.memoizedState = value; - return value; + return mountDeferredValueImpl(hook, value, initialValue); } -function updateDeferredValue(value) { +function updateDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); var resolvedCurrentHook = currentHook; var prevValue = resolvedCurrentHook.memoizedState; - return updateDeferredValueImpl(hook, prevValue, value); + return updateDeferredValueImpl(hook, prevValue, value, initialValue); } -function rerenderDeferredValue(value) { +function rerenderDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); if (currentHook === null) { // This is a rerender during a mount. - hook.memoizedState = value; - return value; + return mountDeferredValueImpl(hook, value, initialValue); } else { // This is a rerender during an update. var prevValue = currentHook.memoizedState; - return updateDeferredValueImpl(hook, prevValue, value); + return updateDeferredValueImpl(hook, prevValue, value, initialValue); } } -function updateDeferredValueImpl(hook, prevValue, value) { - var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes$1); +function mountDeferredValueImpl(hook, value, initialValue) { + if (// When `initialValue` is provided, we defer the initial render even if the + // current render is not synchronous. + initialValue !== undefined && // However, to avoid waterfalls, we do not defer if this render + // was itself spawned by an earlier useDeferredValue. Check if DeferredLane + // is part of the render lanes. + !includesSomeLane(renderLanes, DeferredLane)) { + // Render with the initial value + hook.memoizedState = initialValue; // Schedule a deferred render to switch to the final value. - if (shouldDeferValue) { - // This is an urgent update. If the value has changed, keep using the - // previous value and spawn a deferred render to update it later. - if (!objectIs(value, prevValue)) { - // Schedule a deferred render - var deferredLane = claimNextTransitionLane(); - currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); - markSkippedUpdateLanes(deferredLane); // Set this to true to indicate that the rendered value is inconsistent - // from the latest value. The name "baseState" doesn't really match how we - // use it because we're reusing a state hook field instead of creating a - // new one. + var deferredLane = requestDeferredLane(); + currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); + markSkippedUpdateLanes(deferredLane); + return initialValue; + } else { + hook.memoizedState = value; + return value; + } +} - hook.baseState = true; - } // Reuse the previous value +function updateDeferredValueImpl(hook, prevValue, value, initialValue) { + if (objectIs(value, prevValue)) { + // The incoming value is referentially identical to the currently rendered + // value, so we can bail out quickly. + return value; + } else { + // Received a new value that's different from the current value. + // Check if we're inside a hidden tree + if (isCurrentTreeHidden()) { + // Revealing a prerendered tree is considered the same as mounting new + // one, so we reuse the "mount" path in this case. + var resultValue = mountDeferredValueImpl(hook, value, initialValue); // Unlike during an actual mount, we need to mark this as an update if + // the value changed. + if (!objectIs(resultValue, prevValue)) { + markWorkInProgressReceivedUpdate(); + } - return prevValue; - } else { - // This is not an urgent update, so we can use the latest value regardless - // of what it is. No need to defer it. - // However, if we're currently inside a spawned render, then we need to mark - // this as an update to prevent the fiber from bailing out. - // - // `baseState` is true when the current value is different from the rendered - // value. The name doesn't really match how we use it because we're reusing - // a state hook field instead of creating a new one. - if (hook.baseState) { - // Flip this back to false. - hook.baseState = false; - markWorkInProgressReceivedUpdate(); + return resultValue; } - hook.memoizedState = value; - return value; + var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes); + + if (shouldDeferValue) { + // This is an urgent update. Since the value has changed, keep using the + // previous value and spawn a deferred render to update it later. + // Schedule a deferred render + var deferredLane = requestDeferredLane(); + currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); + markSkippedUpdateLanes(deferredLane); // Reuse the previous value. We do not need to mark this as an update, + // because we did not render a new value. + + return prevValue; + } else { + // This is not an urgent update, so we can use the latest value regardless + // of what it is. No need to defer it. + // Mark this as an update to prevent the fiber from bailing out. + markWorkInProgressReceivedUpdate(); + hook.memoizedState = value; + return value; + } } } @@ -12534,6 +12626,7 @@ function startTransition(fiber, queue, pendingState, finishedState, callback, op var previousPriority = getCurrentUpdatePriority(); setCurrentUpdatePriority(higherEventPriority(previousPriority, ContinuousEventPriority)); var prevTransition = ReactCurrentBatchConfig$3.transition; + var currentTransition = {}; { // We don't really need to use an optimistic update here, because we @@ -12542,11 +12635,10 @@ function startTransition(fiber, queue, pendingState, finishedState, callback, op // optimistic update anyway to make it less likely the behavior accidentally // diverges; for example, both an optimistic update and this one should // share the same lane. + ReactCurrentBatchConfig$3.transition = currentTransition; dispatchOptimisticSetState(fiber, false, queue, pendingState); } - var currentTransition = ReactCurrentBatchConfig$3.transition = {}; - { ReactCurrentBatchConfig$3.transition._updatedFibers = new Set(); } @@ -12904,14 +12996,38 @@ function dispatchSetState(fiber, queue, action) { } function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { + { + if (ReactCurrentBatchConfig$3.transition === null) { + // An optimistic update occurred, but startTransition is not on the stack. + // There are two likely scenarios. + // One possibility is that the optimistic update is triggered by a regular + // event handler (e.g. `onSubmit`) instead of an action. This is a mistake + // and we will warn. + // The other possibility is the optimistic update is inside an async + // action, but after an `await`. In this case, we can make it "just work" + // by associating the optimistic update with the pending async action. + // Technically it's possible that the optimistic update is unrelated to + // the pending action, but we don't have a way of knowing this for sure + // because browsers currently do not provide a way to track async scope. + // (The AsyncContext proposal, if it lands, will solve this in the + // future.) However, this is no different than the problem of unrelated + // transitions being grouped together — it's not wrong per se, but it's + // not ideal. + // Once AsyncContext starts landing in browsers, we will provide better + // warnings in development for these cases. + if (peekEntangledActionLane() !== NoLane) ; else { + // There's no pending async action. The most likely cause is that we're + // inside a regular event handler (e.g. onSubmit) instead of an action. + error('An optimistic state update occurred outside a transition or ' + 'action. To fix, move the update to an action, or wrap ' + 'with startTransition.'); + } + } + } + var update = { // An optimistic update commits synchronously. lane: SyncLane, // After committing, the optimistic update is "reverted" using the same // lane as the transition it's associated with. - // - // TODO: Warn if there's no transition/action associated with this - // optimistic update. revertLane: requestTransitionLane(), action: action, hasEagerState: false, @@ -13145,10 +13261,10 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; mountHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; mountHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13286,10 +13402,10 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13427,10 +13543,10 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13568,10 +13684,10 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); - return rerenderDeferredValue(value); + return rerenderDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13724,11 +13840,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; mountHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); mountHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -13890,11 +14006,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -14056,11 +14172,11 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); updateHookTypesDev(); - return rerenderDeferredValue(value); + return rerenderDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = 'useTransition'; @@ -19770,7 +19886,9 @@ function completeWork(current, workInProgress, renderLanes) { } else { var _rootContainerInstance = getRootHostContainer(); - var _instance3 = createInstance(_type2, newProps, _rootContainerInstance, _currentHostContext, workInProgress); + var _instance3 = createInstance(_type2, newProps, _rootContainerInstance, _currentHostContext, workInProgress); // TODO: For persistent renderers, we should pass children as part + // of the initial instance creation + appendAllChildren(_instance3, workInProgress); workInProgress.stateNode = _instance3; // Certain renderers require commit-time effects for initial mount. @@ -24176,9 +24294,9 @@ var workInProgressRootDidAttachPingListener = false; // A contextual version of // HiddenContext module. // // Most things in the work loop should deal with workInProgressRootRenderLanes. -// Most things in begin/complete phases should deal with renderLanes. +// Most things in begin/complete phases should deal with entangledRenderLanes. -var renderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. +var entangledRenderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. var workInProgressRootExitStatus = RootInProgress; // A fatal error, if one is thrown @@ -24189,7 +24307,9 @@ var workInProgressRootSkippedLanes = NoLanes; // Lanes that were updated (in an var workInProgressRootInterleavedUpdatedLanes = NoLanes; // Lanes that were updated during the render phase (*not* an interleaved event). -var workInProgressRootPingedLanes = NoLanes; // Errors that are thrown during the render phase. +var workInProgressRootPingedLanes = NoLanes; // If this lane scheduled deferred work, this is the lane of the deferred task. + +var workInProgressDeferredLane = NoLane; // Errors that are thrown during the render phase. var workInProgressRootConcurrentErrors = null; // These are errors that we recovered from without surfacing them to the UI. // We will log them once the tree commits. @@ -24320,6 +24440,27 @@ function requestRetryLane(fiber) { return claimNextRetryLane(); } +function requestDeferredLane() { + if (workInProgressDeferredLane === NoLane) { + // If there are multiple useDeferredValue hooks in the same render, the + // tasks that they spawn should all be batched together, so they should all + // receive the same lane. + if (includesSomeLane(workInProgressRootRenderLanes, OffscreenLane)) { + // There's only one OffscreenLane, so if it contains deferred work, we + // should just reschedule using the same lane. + // TODO: We also use OffscreenLane for hydration, on the basis that the + // initial HTML is the same as the hydrated UI, but since the deferred + // task will change the UI, it should be treated like an update. Use + // TransitionHydrationLane to trigger selective hydration. + workInProgressDeferredLane = OffscreenLane; + } else { + // Everything else is spawned as a transition. + workInProgressDeferredLane = requestTransitionLane(); + } + } + + return workInProgressDeferredLane; +} function scheduleUpdateOnFiber(root, fiber, lane) { { if (isRunningInsertionEffect) { @@ -24341,7 +24482,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // The incoming update might unblock the current render. Interrupt the // current attempt and restart from the top. prepareFreshStack(root, NoLanes); - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } // Mark that the root has a pending update. @@ -24379,7 +24520,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // effect of interrupting the current render and switching to the update. // TODO: Make sure this doesn't override pings that happen while we've // already started rendering. - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } } @@ -24472,7 +24613,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); } else { // The render completed. // Check if this render may have yielded to a concurrent event, and if so, @@ -24508,7 +24649,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } // We now have a consistent tree. The next step is either to commit it, @@ -24622,7 +24763,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // This is a transition, so we should exit without committing a // placeholder and without scheduling a timeout. Delay indefinitely // until we receive more data. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); return; } // Commit the placeholder. @@ -24645,7 +24786,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { if (shouldForceFlushFallbacksInDEV()) { // We're inside an `act` scope. Commit immediately. - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); } else { if (includesOnlyRetries(lanes) && (alwaysThrottleRetries )) { // This render only included retries, no updates. Throttle committing @@ -24653,7 +24794,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { var msUntilTimeout = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1(); // Don't bother with a very short suspense time. if (msUntilTimeout > 10) { - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); var nextLanes = getNextLanes(root, NoLanes); if (nextLanes !== NoLanes) { @@ -24667,16 +24808,16 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // run one after the other. - root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes), msUntilTimeout); + root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane), msUntilTimeout); return; } } - commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes); + commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane); } } -function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes) { +function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. if (includesOnlyNonUrgentLanes(lanes)) { @@ -24701,13 +24842,13 @@ function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, // us that it's ready. This will be canceled if we start work on the // root again. root.cancelPendingCommit = schedulePendingCommit(commitRoot.bind(null, root, recoverableErrors, transitions)); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, spawnedLane); return; } } // Otherwise, commit immediately. - commitRoot(root, recoverableErrors, transitions); + commitRoot(root, recoverableErrors, transitions, spawnedLane); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -24773,14 +24914,14 @@ function isRenderConsistentWithExternalStores(finishedWork) { return true; } -function markRootSuspended(root, suspendedLanes) { +function markRootSuspended(root, suspendedLanes, spawnedLane) { // When suspending, we should always exclude lanes that were pinged or (more // rarely, since we try to avoid it) updated during the render phase. // TODO: Lol maybe there's a better way to factor this besides this // obnoxiously named function :) suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes); suspendedLanes = removeLanes(suspendedLanes, workInProgressRootInterleavedUpdatedLanes); - markRootSuspended$1(root, suspendedLanes); + markRootSuspended$1(root, suspendedLanes, spawnedLane); } // This is the entry point for synchronous tasks that don't go // through Scheduler @@ -24826,7 +24967,7 @@ function performSyncWorkOnRoot(root, lanes) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } @@ -24835,7 +24976,7 @@ function performSyncWorkOnRoot(root, lanes) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); return null; } // We now have a consistent tree. Because this is a sync render, we @@ -24845,7 +24986,7 @@ function performSyncWorkOnRoot(root, lanes) { var finishedWork = root.current.alternate; root.finishedWork = finishedWork; root.finishedLanes = lanes; - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); // Before exiting, make sure there's a callback scheduled for the next + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); // Before exiting, make sure there's a callback scheduled for the next // pending level. ensureRootIsScheduled(root); @@ -24853,7 +24994,7 @@ function performSyncWorkOnRoot(root, lanes) { } function flushRoot(root, lanes) { if (lanes !== NoLanes) { - markRootEntangled(root, mergeLanes(lanes, SyncLane)); + upgradePendingLanesToSync(root, lanes); ensureRootIsScheduled(root); if ((executionContext & (RenderContext | CommitContext)) === NoContext) { @@ -24936,11 +25077,11 @@ function isInvalidExecutionContextForEventFunction() { // place that ever modifies it. Which module it lives in doesn't matter for // performance because this function will get inlined regardless -function setRenderLanes(subtreeRenderLanes) { - renderLanes = subtreeRenderLanes; +function setEntangledRenderLanes(newEntangledRenderLanes) { + entangledRenderLanes = newEntangledRenderLanes; } -function getRenderLanes() { - return renderLanes; +function getEntangledRenderLanes() { + return entangledRenderLanes; } function resetWorkInProgressStack() { @@ -24991,7 +25132,7 @@ function prepareFreshStack(root, lanes) { workInProgressRoot = root; var rootWorkInProgress = createWorkInProgress(root.current, null); workInProgress = rootWorkInProgress; - workInProgressRootRenderLanes = renderLanes = lanes; + workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; workInProgressRootDidAttachPingListener = false; @@ -25000,8 +25141,17 @@ function prepareFreshStack(root, lanes) { workInProgressRootSkippedLanes = NoLanes; workInProgressRootInterleavedUpdatedLanes = NoLanes; workInProgressRootPingedLanes = NoLanes; + workInProgressDeferredLane = NoLane; workInProgressRootConcurrentErrors = null; - workInProgressRootRecoverableErrors = null; + workInProgressRootRecoverableErrors = null; // Get the lanes that are entangled with whatever we're about to render. We + // track these separately so we can distinguish the priority of the render + // task from the priority of the lanes it is entangled with. For example, a + // transition may not be allowed to finish unless it includes the Sync lane, + // which is currently suspended. We should be able to render the Transition + // and Sync lane in the same batch, but at Transition priority, because the + // Sync lane already suspended. + + entangledRenderLanes = getEntangledLanes(root, lanes); finishQueueingConcurrentUpdates(); { @@ -25219,7 +25369,7 @@ function renderDidSuspendDelayIfPossible() { workInProgressRootExitStatus = RootSuspendedWithDelay; // Check if there are updates that we skipped tree that might have unblocked // this render. - if (workInProgressRoot !== null && (includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes))) { + if ((includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes)) && workInProgressRoot !== null) { // Mark the current render as suspended so that we switch to working on // the updates that were skipped. Usually we only suspend at the end of // the render phase. @@ -25229,8 +25379,7 @@ function renderDidSuspendDelayIfPossible() { // pinged or updated while we were rendering. // TODO: Consider unwinding immediately, using the // SuspendedOnHydration mechanism. - // $FlowFixMe[incompatible-call] need null check workInProgressRoot - markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes); + markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane); } } function renderDidError(error) { @@ -25663,10 +25812,10 @@ function performUnitOfWork(unitOfWork) { if ((unitOfWork.mode & ProfileMode) !== NoMode) { startProfilerTimer(unitOfWork); - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); stopProfilerTimerIfRunningAndRecordDelta(unitOfWork, true); } else { - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); } resetCurrentFiber(); @@ -25762,8 +25911,8 @@ function replaySuspendedUnitOfWork(unitOfWork) { // reconciled previously. So it's intentional that we don't call // resetSuspendedWorkLoopOnUnwind here. unwindInterruptedWork(current, unitOfWork); - unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, renderLanes); - next = beginWork(current, unitOfWork, renderLanes); + unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, entangledRenderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); break; } } @@ -25866,10 +26015,10 @@ function completeUnitOfWork(unitOfWork) { var next = void 0; if ((completedWork.mode & ProfileMode) === NoMode) { - next = completeWork(current, completedWork, renderLanes); + next = completeWork(current, completedWork, entangledRenderLanes); } else { startProfilerTimer(completedWork); - next = completeWork(current, completedWork, renderLanes); // Update render duration assuming we didn't error. + next = completeWork(current, completedWork, entangledRenderLanes); // Update render duration assuming we didn't error. stopProfilerTimerIfRunningAndRecordDelta(completedWork, false); } @@ -25974,7 +26123,7 @@ function unwindUnitOfWork(unitOfWork) { workInProgress = null; } -function commitRoot(root, recoverableErrors, transitions) { +function commitRoot(root, recoverableErrors, transitions, spawnedLane) { // TODO: This no longer makes any sense. We already wrap the mutation and // layout phases. Should be able to remove. var previousUpdateLanePriority = getCurrentUpdatePriority(); @@ -25983,7 +26132,7 @@ function commitRoot(root, recoverableErrors, transitions) { try { ReactCurrentBatchConfig$1.transition = null; setCurrentUpdatePriority(DiscreteEventPriority); - commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority); + commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority, spawnedLane); } finally { ReactCurrentBatchConfig$1.transition = prevTransition; setCurrentUpdatePriority(previousUpdateLanePriority); @@ -25992,7 +26141,7 @@ function commitRoot(root, recoverableErrors, transitions) { return null; } -function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) { +function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel, spawnedLane) { do { // `flushPassiveEffects` will call `flushSyncUpdateQueue` at the end, which // means `flushPassiveEffects` will sometimes result in additional @@ -26050,7 +26199,7 @@ function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLeve var concurrentlyUpdatedLanes = getConcurrentlyUpdatedLanes(); remainingLanes = mergeLanes(remainingLanes, concurrentlyUpdatedLanes); - markRootFinished(root, remainingLanes); + markRootFinished(root, remainingLanes, spawnedLane); if (root === workInProgressRoot) { // We can reset these now that they are finished. @@ -28109,7 +28258,7 @@ identifierPrefix, onRecoverableError, transitionCallbacks, formState) { return root; } -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { @@ -31785,7 +31934,7 @@ var topLevelEventsToReactNames = new Map(); // NOTE: Capitalization is important // // prettier-ignore -var simpleEventPluginEvents = ['abort', 'auxClick', 'cancel', 'canPlay', 'canPlayThrough', 'click', 'close', 'contextMenu', 'copy', 'cut', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'pointerCancel', 'pointerDown', 'pointerMove', 'pointerOut', 'pointerOver', 'pointerUp', 'progress', 'rateChange', 'reset', 'resize', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'scroll', 'toggle', 'touchMove', 'waiting', 'wheel']; +var simpleEventPluginEvents = ['abort', 'auxClick', 'cancel', 'canPlay', 'canPlayThrough', 'click', 'close', 'contextMenu', 'copy', 'cut', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'pointerCancel', 'pointerDown', 'pointerMove', 'pointerOut', 'pointerOver', 'pointerUp', 'progress', 'rateChange', 'reset', 'resize', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'scroll', 'scrollEnd', 'toggle', 'touchMove', 'waiting', 'wheel']; function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); @@ -31907,6 +32056,7 @@ function extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, n break; case 'scroll': + case 'scrollend': SyntheticEventCtor = SyntheticUIEvent; break; @@ -31939,11 +32089,11 @@ function extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, n // In the past, React has always bubbled them, but this can be surprising. // We're going to try aligning closer to the browser behavior by not bubbling // them in React either. We'll start by not bubbling onScroll, and then expand. - var accumulateTargetOnly = !inCapturePhase && // TODO: ideally, we'd eventually add all events from + var accumulateTargetOnly = !inCapturePhase && ( // TODO: ideally, we'd eventually add all events from // nonDelegatedEvents list in DOMPluginEventSystem. // Then we can remove this special list. // This is a breaking change that can wait until React 18. - domEventName === 'scroll'; + domEventName === 'scroll' || domEventName === 'scrollend'); var _listeners = accumulateSinglePhaseListeners(targetInst, reactName, nativeEvent.type, inCapturePhase, accumulateTargetOnly); @@ -32008,7 +32158,7 @@ var mediaEventTypes = ['abort', 'canplay', 'canplaythrough', 'durationchange', ' // set them on the actual target element itself. This is primarily // because these events do not consistently bubble in the DOM. -var nonDelegatedEvents = new Set(['cancel', 'close', 'invalid', 'load', 'scroll', 'toggle'].concat(mediaEventTypes)); +var nonDelegatedEvents = new Set(['cancel', 'close', 'invalid', 'load', 'scroll', 'scrollend', 'toggle'].concat(mediaEventTypes)); function executeDispatch(event, listener, currentTarget) { var type = event.type || 'unknown-event'; @@ -32886,6 +33036,19 @@ function setProp(domElement, tag, key, value, props, prevValue) { break; } + case 'onScrollEnd': + { + if (value != null) { + if (typeof value !== 'function') { + warnForInvalidEventListener(key, value); + } + + listenToNonDelegatedEvent('scrollend', domElement); + } + + break; + } + case 'dangerouslySetInnerHTML': { if (value != null) { @@ -33212,6 +33375,19 @@ function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) { break; } + case 'onScrollEnd': + { + if (value != null) { + if (typeof value !== 'function') { + warnForInvalidEventListener(key, value); + } + + listenToNonDelegatedEvent('scrollend', domElement); + } + + break; + } + case 'onClick': { // TODO: This cast may not be sound for SVG, MathML or custom elements. @@ -34974,6 +35150,10 @@ function diffHydratedProperties(domElement, tag, props, isConcurrentMode, should listenToNonDelegatedEvent('scroll', domElement); } + if (props.onScrollEnd != null) { + listenToNonDelegatedEvent('scrollend', domElement); + } + if (props.onClick != null) { // TODO: This cast may not be sound for SVG, MathML or custom elements. trapClickOnNonInteractiveElement(domElement); @@ -37776,8 +37956,8 @@ function hydrateRoot$1(container, initialChildren, options) { } { - if (options.experimental_formState !== undefined) { - formState = options.experimental_formState; + if (options.formState !== undefined) { + formState = options.formState; } } } @@ -38413,11 +38593,26 @@ var foundDevTools = injectIntoDevTools({ } } +function experimental_useFormStatus() { + { + error('useFormStatus is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useFormStatus(); +} +function experimental_useFormState(action, initialState, permalink) { + { + error('useFormState is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useFormState(action, initialState, permalink); +} + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.createPortal = createPortal; exports.createRoot = createRoot; -exports.experimental_useFormState = useFormState; -exports.experimental_useFormStatus = useFormStatus; +exports.experimental_useFormState = experimental_useFormState; +exports.experimental_useFormStatus = experimental_useFormStatus; exports.findDOMNode = findDOMNode; exports.flushSync = flushSync; exports.hydrate = hydrate; @@ -38433,6 +38628,8 @@ exports.unmountComponentAtNode = unmountComponentAtNode; exports.unstable_batchedUpdates = batchedUpdates$1; exports.unstable_renderSubtreeIntoContainer = renderSubtreeIntoContainer; exports.unstable_runWithPriority = runWithPriority; +exports.useFormState = useFormState; +exports.useFormStatus = useFormStatus; exports.version = ReactVersion; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.min.js index 7ca85eb62ddf5..5a37466883cec 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.min.js @@ -11,422 +11,423 @@ Modernizr 3.0.0pre (Custom Build) | MIT */ 'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("next/dist/compiled/scheduler-experimental"),ca={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function t(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -var C=Object.assign,da=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=da.ReactCurrentDispatcher,fa={pending:!1,data:null,method:null,action:null},ia=[],ja=-1;function ka(a){return{current:a}}function D(a){0>ja||(a.current=ia[ja],ia[ja]=null,ja--)}function E(a,b){ja++;ia[ja]=a.current;a.current=b} -var la=Symbol.for("react.element"),ma=Symbol.for("react.portal"),na=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),pa=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),ra=Symbol.for("react.context"),sa=Symbol.for("react.server_context"),ta=Symbol.for("react.forward_ref"),ua=Symbol.for("react.suspense"),va=Symbol.for("react.suspense_list"),wa=Symbol.for("react.memo"),xa=Symbol.for("react.lazy"),ya=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); -var za=Symbol.for("react.offscreen"),Aa=Symbol.for("react.legacy_hidden"),Ba=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ca=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.for("react.postpone"),Fa=Symbol.iterator;function Ga(a){if(null===a||"object"!==typeof a)return null;a=Fa&&a[Fa]||a["@@iterator"];return"function"===typeof a?a:null} -var Ha=ka(null),Ia=ka(null),Ja=ka(null),Ka=ka(null),La={$$typeof:ra,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function Ma(a,b){E(Ja,b);E(Ia,a);E(Ha,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Na(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Na(a),b=Oa(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ha);E(Ha,b)} -function Pa(){D(Ha);D(Ia);D(Ja)}function Qa(a){null!==a.memoizedState&&E(Ka,a);var b=Ha.current;var c=Oa(b,a.type);b!==c&&(E(Ia,a),E(Ha,c))}function Ra(a){Ia.current===a&&(D(Ha),D(Ia));Ka.current===a&&(D(Ka),La._currentValue=null)} -var Sa=ba.unstable_scheduleCallback,Ta=ba.unstable_cancelCallback,Ua=ba.unstable_shouldYield,Va=ba.unstable_requestPaint,Wa=ba.unstable_now,Xa=ba.unstable_getCurrentPriorityLevel,Ya=ba.unstable_ImmediatePriority,Za=ba.unstable_UserBlockingPriority,$a=ba.unstable_NormalPriority,ab=ba.unstable_LowPriority,bb=ba.unstable_IdlePriority,cb=null,db=null;function eb(a){if(db&&"function"===typeof db.onCommitFiberRoot)try{db.onCommitFiberRoot(cb,a,void 0,128===(a.current.flags&128))}catch(b){}} -var gb=Math.clz32?Math.clz32:fb,hb=Math.log,ib=Math.LN2;function fb(a){a>>>=0;return 0===a?32:31-(hb(a)/ib|0)|0}var jb=128,kb=8388608; -function lb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return a&8388480;case 8388608:case 16777216:case 33554432:case 67108864:return a&125829120;case 134217728:return 134217728;case 268435456:return 268435456; -case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}} -function mb(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=lb(h):(f&=g,0!==f&&(d=lb(f)))}else g=c&~e,0!==g?d=lb(g):0!==f&&(d=lb(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||32===e&&0!==(f&8388480)))return b;0!==(d&8)&&(d|=c&32);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-gb(b),e=1<<c,d|=a[c],b&=~e;return d} -function nb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return b+5E3;case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} -function ob(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function pb(){var a=jb;jb<<=1;0===(jb&8388480)&&(jb=128);return a}function qb(){var a=kb;kb<<=1;0===(kb&125829120)&&(kb=8388608);return a}function rb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function sb(a,b){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} -function tb(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;var d=a.expirationTimes;for(a=a.hiddenUpdates;0<c;){var e=31-gb(c),f=1<<e;b[e]=0;d[e]=-1;var g=a[e];if(null!==g)for(a[e]=null,e=0;e<g.length;e++){var h=g[e];null!==h&&(h.lane&=-1073741825)}c&=~f}} -function ub(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-gb(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}var F=0;function vb(a,b){var c=F;try{return F=a,b()}finally{F=c}}function wb(a){a&=-a;return 2<a?8<a?0!==(a&268435455)?32:536870912:8:2} -var xb=Object.prototype.hasOwnProperty,yb=Math.random().toString(36).slice(2),zb="__reactFiber$"+yb,Ab="__reactProps$"+yb,Bb="__reactContainer$"+yb,Cb="__reactEvents$"+yb,Db="__reactListeners$"+yb,Eb="__reactHandles$"+yb,Gb="__reactResources$"+yb,Hb="__reactMarker$"+yb;function Ib(a){delete a[zb];delete a[Ab];delete a[Cb];delete a[Db];delete a[Eb]} -function Jb(a){var b=a[zb];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Bb]||c[zb]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kb(a);null!==a;){if(c=a[zb])return c;a=Kb(a)}return b}a=c;c=a.parentNode}return null}function Lb(a){if(a=a[zb]||a[Bb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function Mb(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function Nb(a){return a[Ab]||null} -function Ob(a){var b=a[Gb];b||(b=a[Gb]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function Pb(a){a[Hb]=!0}var Qb=new Set,Rb={};function Sb(a,b){Tb(a,b);Tb(a+"Capture",b)}function Tb(a,b){Rb[a]=b;for(a=0;a<b.length;a++)Qb.add(b[a])} -var Ub=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),Vb=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Wb= -{},Xb={};function Yb(a){if(xb.call(Xb,a))return!0;if(xb.call(Wb,a))return!1;if(Vb.test(a))return Xb[a]=!0;Wb[a]=!0;return!1}function Zb(a,b,c){if(Yb(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} -function $b(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function ac(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var bc; -function cc(a){if(void 0===bc)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);bc=b&&b[1]||""}return"\n"+bc+a}var dc=!1; -function ec(a,b){if(!a||dc)return"";dc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& -d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,l=g.length-1;1<=h&&0<=l&&f[h]!==g[l];)l--;for(;1<=h&&0<=l;h--,l--)if(f[h]!==g[l]){if(1!==h||1!==l){do if(h--,l--,0>l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{dc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?cc(a):""} -function fc(a){switch(a.tag){case 26:case 27:case 5:return cc(a.type);case 16:return cc("Lazy");case 13:return cc("Suspense");case 19:return cc("SuspenseList");case 0:case 2:case 15:return a=ec(a.type,!1),a;case 11:return a=ec(a.type.render,!1),a;case 1:return a=ec(a.type,!0),a;default:return""}} -function gc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case na:return"Fragment";case ma:return"Portal";case pa:return"Profiler";case oa:return"StrictMode";case ua:return"Suspense";case va:return"SuspenseList";case Ba:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ra:return(a.displayName||"Context")+".Consumer";case qa:return(a._context.displayName||"Context")+".Provider";case ta:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case wa:return b=a.displayName||null,null!==b?b:gc(a.type)||"Memo";case xa:b=a._payload;a=a._init;try{return gc(a(b))}catch(c){break}case sa:return(a.displayName||a._globalName)+".Provider"}return null} -function hc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gc(b);case 8:return b===oa?"StrictMode":"Mode"; -case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function ic(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} -function jc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} -function kc(a){var b=jc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= -null;delete a[b]}}}}function lc(a){a._valueTracker||(a._valueTracker=kc(a))}function mc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=jc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function nc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var oc=/[\n"\\]/g; -function pc(a){return a.replace(oc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} -function qc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+ic(b)}else a.value!==""+ic(b)&&(a.value=""+ic(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?rc(a,g,ic(b)):null!=c?rc(a,g,ic(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&a.checked!==!!e&&(a.checked=e);null!=h&&"function"!== -typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+ic(h):a.removeAttribute("name")} -function sc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+ic(c):"";b=null!=b?""+ic(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;h||(a.checked=!!d);a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} -function rc(a,b,c){"number"===b&&nc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var tc=Array.isArray; -function uc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+ic(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} -function vc(a,b,c){if(null!=b&&(b=""+ic(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+ic(c):""}function wc(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(tc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=ic(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)} -function xc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var yc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); -function zc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||yc.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} -function Ac(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&zc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&zc(a,f,b[f])} -function Bc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} -var Cc=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], +var B=Object.assign,da=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=da.ReactCurrentDispatcher,fa={pending:!1,data:null,method:null,action:null};function ia(){return ea.current.useHostTransitionStatus()}function ja(a,b,c){return ea.current.useFormState(a,b,c)}var ka=[],la=-1;function ma(a){return{current:a}}function D(a){0>la||(a.current=ka[la],ka[la]=null,la--)}function E(a,b){la++;ka[la]=a.current;a.current=b} +var na=Symbol.for("react.element"),oa=Symbol.for("react.portal"),pa=Symbol.for("react.fragment"),qa=Symbol.for("react.strict_mode"),ra=Symbol.for("react.profiler"),sa=Symbol.for("react.provider"),ta=Symbol.for("react.context"),ua=Symbol.for("react.server_context"),va=Symbol.for("react.forward_ref"),wa=Symbol.for("react.suspense"),xa=Symbol.for("react.suspense_list"),ya=Symbol.for("react.memo"),za=Symbol.for("react.lazy"),Aa=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); +var Ba=Symbol.for("react.offscreen"),Ca=Symbol.for("react.legacy_hidden"),Da=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ea=Symbol.for("react.default_value"),Fa=Symbol.for("react.memo_cache_sentinel"),Ga=Symbol.for("react.postpone"),Ha=Symbol.iterator;function Ia(a){if(null===a||"object"!==typeof a)return null;a=Ha&&a[Ha]||a["@@iterator"];return"function"===typeof a?a:null} +var Ja=ma(null),Ka=ma(null),La=ma(null),Ma=ma(null),Na={$$typeof:ta,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function Oa(a,b){E(La,b);E(Ka,a);E(Ja,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Pa(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Pa(a),b=Qa(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ja);E(Ja,b)} +function Ra(){D(Ja);D(Ka);D(La)}function Sa(a){null!==a.memoizedState&&E(Ma,a);var b=Ja.current;var c=Qa(b,a.type);b!==c&&(E(Ka,a),E(Ja,c))}function Ta(a){Ka.current===a&&(D(Ja),D(Ka));Ma.current===a&&(D(Ma),Na._currentValue=null)} +var Ua=ba.unstable_scheduleCallback,Va=ba.unstable_cancelCallback,Wa=ba.unstable_shouldYield,Xa=ba.unstable_requestPaint,Ya=ba.unstable_now,Za=ba.unstable_getCurrentPriorityLevel,$a=ba.unstable_ImmediatePriority,ab=ba.unstable_UserBlockingPriority,bb=ba.unstable_NormalPriority,cb=ba.unstable_LowPriority,db=ba.unstable_IdlePriority,eb=null,fb=null;function gb(a){if(fb&&"function"===typeof fb.onCommitFiberRoot)try{fb.onCommitFiberRoot(eb,a,void 0,128===(a.current.flags&128))}catch(b){}} +var ib=Math.clz32?Math.clz32:hb,jb=Math.log,kb=Math.LN2;function hb(a){a>>>=0;return 0===a?32:31-(jb(a)/kb|0)|0}var lb=128,mb=4194304; +function nb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456; +case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function ob(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes;a=a.pingedLanes;var f=c&134217727;0!==f?(c=f&~e,0!==c?d=nb(c):(a&=f,0!==a&&(d=nb(a)))):(c&=~e,0!==c?d=nb(c):0!==a&&(d=nb(a)));return 0===d?0:0!==b&&b!==d&&0===(b&e)&&(e=d&-d,a=b&-b,e>=a||32===e&&0!==(a&4194176))?b:d} +function pb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} +function qb(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-536870913;return 0!==a?a:a&536870912?536870912:0}function rb(){var a=mb;mb<<=1;0===(mb&62914560)&&(mb=4194304);return a}function sb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function tb(a,b){a.pendingLanes|=b;268435456!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} +function ub(a,b,c){var d=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;for(var e=a.expirationTimes,f=a.hiddenUpdates;0<d;){var g=31-ib(d),h=1<<g;b[g]=0;e[g]=-1;var l=f[g];if(null!==l)for(f[g]=null,g=0;g<l.length;g++){var p=l[g];null!==p&&(p.lane&=-536870913)}d&=~h}0!==c&&vb(a,c,0)} +function vb(a,b,c){a.pendingLanes|=b;a.suspendedLanes&=~b;var d=31-ib(b);a.entangledLanes|=b;a.entanglements[d]=a.entanglements[d]|1073741824|c}function wb(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-ib(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}function xb(a,b){a.pendingLanes|=2;for(a.entangledLanes|=2;b;){var c=1<<31-ib(b);a.entanglements[1]|=c;b&=~c}}var F=0;function yb(a,b){var c=F;try{return F=a,b()}finally{F=c}} +function zb(a){a&=-a;return 2<a?8<a?0!==(a&134217727)?32:268435456:8:2}var Ab=Object.prototype.hasOwnProperty,Bb=Math.random().toString(36).slice(2),Cb="__reactFiber$"+Bb,Db="__reactProps$"+Bb,Eb="__reactContainer$"+Bb,Fb="__reactEvents$"+Bb,Hb="__reactListeners$"+Bb,Ib="__reactHandles$"+Bb,Jb="__reactResources$"+Bb,Kb="__reactMarker$"+Bb;function Lb(a){delete a[Cb];delete a[Db];delete a[Fb];delete a[Hb];delete a[Ib]} +function Mb(a){var b=a[Cb];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Eb]||c[Cb]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Nb(a);null!==a;){if(c=a[Cb])return c;a=Nb(a)}return b}a=c;c=a.parentNode}return null}function Ob(a){if(a=a[Cb]||a[Eb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function Pb(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function Qb(a){return a[Db]||null} +function Rb(a){var b=a[Jb];b||(b=a[Jb]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function Sb(a){a[Kb]=!0}var Tb=new Set,Ub={};function Vb(a,b){Wb(a,b);Wb(a+"Capture",b)}function Wb(a,b){Ub[a]=b;for(a=0;a<b.length;a++)Tb.add(b[a])} +var Xb=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),Yb=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Zb= +{},$b={};function ac(a){if(Ab.call($b,a))return!0;if(Ab.call(Zb,a))return!1;if(Yb.test(a))return $b[a]=!0;Zb[a]=!0;return!1}function bc(a,b,c){if(ac(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} +function cc(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function dc(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var ec; +function fc(a){if(void 0===ec)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);ec=b&&b[1]||""}return"\n"+ec+a}var gc=!1; +function hc(a,b){if(!a||gc)return"";gc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& +d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,l=g.length-1;1<=h&&0<=l&&f[h]!==g[l];)l--;for(;1<=h&&0<=l;h--,l--)if(f[h]!==g[l]){if(1!==h||1!==l){do if(h--,l--,0>l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{gc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?fc(a):""} +function ic(a){switch(a.tag){case 26:case 27:case 5:return fc(a.type);case 16:return fc("Lazy");case 13:return fc("Suspense");case 19:return fc("SuspenseList");case 0:case 2:case 15:return a=hc(a.type,!1),a;case 11:return a=hc(a.type.render,!1),a;case 1:return a=hc(a.type,!0),a;default:return""}} +function jc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:jc(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return jc(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} +function kc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return jc(b);case 8:return b===qa?"StrictMode":"Mode"; +case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function lc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} +function mc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} +function nc(a){var b=mc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= +null;delete a[b]}}}}function oc(a){a._valueTracker||(a._valueTracker=nc(a))}function pc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=mc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function qc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var rc=/[\n"\\]/g; +function sc(a){return a.replace(rc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} +function tc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+lc(b)}else a.value!==""+lc(b)&&(a.value=""+lc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?uc(a,g,lc(b)):null!=c?uc(a,g,lc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== +typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+lc(h):a.removeAttribute("name")} +function vc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+lc(c):"";b=null!=b?""+lc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} +function uc(a,b,c){"number"===b&&qc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var wc=Array.isArray; +function xc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+lc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} +function yc(a,b,c){if(null!=b&&(b=""+lc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+lc(c):""}function zc(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(wc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=lc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)} +function Ac(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Bc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); +function Cc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||Bc.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} +function Dc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&Cc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&Cc(a,f,b[f])} +function Ec(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} +var Fc=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Dc=null;function Ec(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Fc=null,Gc=null; -function Hc(a){var b=Lb(a);if(b&&(a=b.stateNode)){var c=Nb(a);a:switch(a=b.stateNode,b.type){case "input":qc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+pc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Nb(d);if(!e)throw Error(t(90));qc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, -e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&mc(d)}break a;case "textarea":vc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&uc(a,!!c.multiple,b,!1)}}}function Ic(a){Fc?Gc?Gc.push(a):Gc=[a]:Fc=a}function Jc(){if(Fc){var a=Fc,b=Gc;Gc=Fc=null;Hc(a);if(b)for(a=0;a<b.length;a++)Hc(b[a])}}function Kc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} -function Lc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Mc(a){if(Kc(a)!==a)throw Error(t(188));} -function Nc(a){var b=a.alternate;if(!b){b=Kc(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Mc(e),a;if(f===d)return Mc(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== -c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function Oc(a){a=Nc(a);return null!==a?Pc(a):null}function Pc(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=Pc(a);if(null!==b)return b;a=a.sibling}return null}var Qc={},Rc=ka(Qc),Sc=ka(!1),Tc=Qc; -function Uc(a,b){var c=a.type.contextTypes;if(!c)return Qc;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function Vc(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Wc(){D(Sc);D(Rc)} -function Xc(a,b,c){if(Rc.current!==Qc)throw Error(t(168));E(Rc,b);E(Sc,c)}function Yc(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,hc(a)||"Unknown",e));return C({},c,d)}function Zc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Qc;Tc=Rc.current;E(Rc,a);E(Sc,Sc.current);return!0} -function $c(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=Yc(a,b,Tc),d.__reactInternalMemoizedMergedChildContext=a,D(Sc),D(Rc),E(Rc,a)):D(Sc);E(Sc,c)}function ad(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var bd="function"===typeof Object.is?Object.is:ad,cd=[],dd=0,ed=null,fd=0,gd=[],hd=0,id=null,jd=1,kd="";function ld(a,b){cd[dd++]=fd;cd[dd++]=ed;ed=a;fd=b} -function md(a,b,c){gd[hd++]=jd;gd[hd++]=kd;gd[hd++]=id;id=a;var d=jd;a=kd;var e=32-gb(d)-1;d&=~(1<<e);c+=1;var f=32-gb(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;jd=1<<32-gb(b)+e|c<<e|d;kd=f+a}else jd=1<<f|c<<e|d,kd=a}function nd(a){null!==a.return&&(ld(a,1),md(a,1,0))}function od(a){for(;a===ed;)ed=cd[--dd],cd[dd]=null,fd=cd[--dd],cd[dd]=null;for(;a===id;)id=gd[--hd],gd[hd]=null,kd=gd[--hd],gd[hd]=null,jd=gd[--hd],gd[hd]=null}var G=null,J=null,K=!1,pd=null,qd=!1; -function rd(a,b){var c=sd(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function td(a,b){b.flags=b.flags&-4097|2}function ud(a,b){b=vd(b,a.type,a.pendingProps,qd);return null!==b?(a.stateNode=b,G=a,J=wd(b.firstChild),qd=!1,!0):!1}function xd(a,b){b=yd(b,a.pendingProps,qd);return null!==b?(a.stateNode=b,G=a,J=null,!0):!1} -function zd(a,b){a:{var c=b;for(b=qd;8!==c.nodeType;){if(!b){b=null;break a}c=Ad(c);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==id?{id:jd,overflow:kd}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:1073741824},c=sd(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,G=a,J=null,!0):!1}function Bd(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Cd(){throw Error(t(418));} -function Dd(){if(!K)return!1;if(J){a:{var a=J;for(var b=qd;8!==a.nodeType;){if(!b){a=null;break a}a=Ad(a);if(null===a){a=null;break a}}b=a.data;a="F!"===b||"F"===b?a:null}if(a)return J=Ad(a),"F!"===a.data}Cd();return!1}function Ed(a){for(G=a.return;G;)switch(G.tag){case 3:case 27:qd=!0;return;case 5:case 13:qd=!1;return;default:G=G.return}} -function Fd(a){if(a!==G)return!1;if(!K)return Ed(a),K=!0,!1;var b=!1,c;if(c=3!==a.tag&&27!==a.tag){if(c=5===a.tag)c=a.type,c=!("form"!==c&&"button"!==c)||Gd(a.type,a.memoizedProps);c=!c}c&&(b=!0);if(b&&(b=J))if(Bd(a))Hd(),Cd();else for(;b;)rd(a,b),b=Ad(b);Ed(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType)if(c=a.data,"/$"===c){if(0===b){J=Ad(a);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++;a=a.nextSibling}J= -null}}else J=G?Ad(a.stateNode):null;return!0}function Hd(){for(var a=J;a;)a=Ad(a)}function Id(){J=G=null;K=!1}function Jd(a){null===pd?pd=[a]:pd.push(a)}var Kd=[],Ld=0,Md=0;function Nd(){for(var a=Ld,b=Md=Ld=0;b<a;){var c=Kd[b];Kd[b++]=null;var d=Kd[b];Kd[b++]=null;var e=Kd[b];Kd[b++]=null;var f=Kd[b];Kd[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&Od(c,e,f)}} -function Pd(a,b,c,d){Kd[Ld++]=a;Kd[Ld++]=b;Kd[Ld++]=c;Kd[Ld++]=d;Md|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function Qd(a,b,c,d){Pd(a,b,c,d);return Rd(a)}function Sd(a,b){Pd(a,null,null,b);return Rd(a)} -function Od(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-gb(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|1073741824)}function Rd(a){if(50<Td)throw Td=0,Ud=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} -var Vd=!1;function Wd(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Xd(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Yd(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} -function Zd(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(L&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=Rd(a);Od(a,null,c);return b}Pd(a,d,b,c);return Rd(a)}function $d(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&8388480))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;ub(a,c)}} -function ae(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} -function be(a,b,c,d){var e=a.updateQueue;Vd=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var l=h,p=l.next;l.next=null;null===g?f=p:g.next=p;g=l;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=l))}if(null!==f){var w=e.baseState;g=0;q=p=l=null;h=f;do{var r=h.lane&-1073741825,u=r!==h.lane;if(u?(M&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, -callback:null,next:null});a:{var z=a,B=h;r=b;var V=c;switch(B.tag){case 1:z=B.payload;if("function"===typeof z){w=z.call(V,w,r);break a}w=z;break a;case 3:z.flags=z.flags&-65537|128;case 0:z=B.payload;r="function"===typeof z?z.call(V,w,r):z;if(null===r||void 0===r)break a;w=C({},w,r);break a;case 2:Vd=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, -l=w):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(l=w);e.baseState=l;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);ce|=g;a.lanes=g;a.memoizedState=w}}function de(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function ee(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)de(c[a],b)} -function fe(a,b){if(bd(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!xb.call(b,e)||!bd(a[e],b[e]))return!1}return!0}var ge=Error(t(460)),he=Error(t(474)),ie={then:function(){}};function je(a){a=a.status;return"fulfilled"===a||"rejected"===a}function ke(){} -function le(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(ke,ke),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===ge)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(ke,ke);else{a=N;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; -case "rejected":a=b.reason;if(a===ge)throw Error(t(483));throw a;}}me=b;throw ge;}}var me=null;function ne(){if(null===me)throw Error(t(459));var a=me;me=null;return a}var oe=null,pe=0;function qe(a){var b=pe;pe+=1;null===oe&&(oe=[]);return le(oe,a,b)} -function re(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} -function se(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function te(a){var b=a._init;return b(a._payload)} -function ue(a){function b(m,k){if(a){var n=m.deletions;null===n?(m.deletions=[k],m.flags|=16):n.push(k)}}function c(m,k){if(!a)return null;for(;null!==k;)b(m,k),k=k.sibling;return null}function d(m,k){for(m=new Map;null!==k;)null!==k.key?m.set(k.key,k):m.set(k.index,k),k=k.sibling;return m}function e(m,k){m=ve(m,k);m.index=0;m.sibling=null;return m}function f(m,k,n){m.index=n;if(!a)return m.flags|=1048576,k;n=m.alternate;if(null!==n)return n=n.index,n<k?(m.flags|=33554434,k):n;m.flags|=33554434;return k} -function g(m){a&&null===m.alternate&&(m.flags|=33554434);return m}function h(m,k,n,v){if(null===k||6!==k.tag)return k=we(n,m.mode,v),k.return=m,k;k=e(k,n);k.return=m;return k}function l(m,k,n,v){var x=n.type;if(x===na)return q(m,k,n.props.children,v,n.key);if(null!==k&&(k.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===xa&&te(x)===k.type))return v=e(k,n.props),v.ref=re(m,k,n),v.return=m,v;v=xe(n.type,n.key,n.props,null,null,m.mode,v);v.ref=re(m,k,n);v.return=m;return v}function p(m,k, -n,v){if(null===k||4!==k.tag||k.stateNode.containerInfo!==n.containerInfo||k.stateNode.implementation!==n.implementation)return k=ye(n,m.mode,v),k.return=m,k;k=e(k,n.children||[]);k.return=m;return k}function q(m,k,n,v,x){if(null===k||7!==k.tag)return k=ze(n,m.mode,v,x),k.return=m,k;k=e(k,n);k.return=m;return k}function w(m,k,n){if("string"===typeof k&&""!==k||"number"===typeof k)return k=we(""+k,m.mode,n),k.return=m,k;if("object"===typeof k&&null!==k){switch(k.$$typeof){case la:return n=xe(k.type, -k.key,k.props,null,null,m.mode,n),n.ref=re(m,null,k),n.return=m,n;case ma:return k=ye(k,m.mode,n),k.return=m,k;case xa:var v=k._init;return w(m,v(k._payload),n)}if(tc(k)||Ga(k))return k=ze(k,m.mode,n,null),k.return=m,k;if("function"===typeof k.then)return w(m,qe(k),n);if(k.$$typeof===ra||k.$$typeof===sa)return w(m,Ae(m,k,n),n);se(m,k)}return null}function r(m,k,n,v){var x=null!==k?k.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==x?null:h(m,k,""+n,v);if("object"===typeof n&& -null!==n){switch(n.$$typeof){case la:return n.key===x?l(m,k,n,v):null;case ma:return n.key===x?p(m,k,n,v):null;case xa:return x=n._init,r(m,k,x(n._payload),v)}if(tc(n)||Ga(n))return null!==x?null:q(m,k,n,v,null);if("function"===typeof n.then)return r(m,k,qe(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return r(m,k,Ae(m,n,v),v);se(m,n)}return null}function u(m,k,n,v,x){if("string"===typeof v&&""!==v||"number"===typeof v)return m=m.get(n)||null,h(k,m,""+v,x);if("object"===typeof v&&null!==v){switch(v.$$typeof){case la:return m= -m.get(null===v.key?n:v.key)||null,l(k,m,v,x);case ma:return m=m.get(null===v.key?n:v.key)||null,p(k,m,v,x);case xa:var A=v._init;return u(m,k,n,A(v._payload),x)}if(tc(v)||Ga(v))return m=m.get(n)||null,q(k,m,v,x,null);if("function"===typeof v.then)return u(m,k,n,qe(v),x);if(v.$$typeof===ra||v.$$typeof===sa)return u(m,k,n,Ae(k,v,x),x);se(k,v)}return null}function z(m,k,n,v){for(var x=null,A=null,y=k,H=k=0,ha=null;null!==y&&H<n.length;H++){y.index>H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== -I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);k=f(I,k,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&ld(m,H),x;if(null===y){for(;H<n.length;H++)y=w(m,n[H],v),null!==y&&(k=f(y,k,H),null===A?x=y:A.sibling=y,A=y);K&&ld(m,H);return x}for(y=d(m,y);H<n.length;H++)ha=u(y,m,H,n[H],v),null!==ha&&(a&&null!==ha.alternate&&y.delete(null===ha.key?H:ha.key),k=f(ha,k,H),null===A?x=ha:A.sibling=ha,A=ha);a&&y.forEach(function(Fb){return b(m,Fb)});K&&ld(m,H);return x}function B(m, -k,n,v){var x=Ga(n);if("function"!==typeof x)throw Error(t(150));n=x.call(n);if(null==n)throw Error(t(151));for(var A=x=null,y=k,H=k=0,ha=null,I=n.next();null!==y&&!I.done;H++,I=n.next()){y.index>H?(ha=y,y=null):ha=y.sibling;var Fb=r(m,y,I.value,v);if(null===Fb){null===y&&(y=ha);break}a&&y&&null===Fb.alternate&&b(m,y);k=f(Fb,k,H);null===A?x=Fb:A.sibling=Fb;A=Fb;y=ha}if(I.done)return c(m,y),K&&ld(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(k=f(I,k,H),null===A?x=I:A.sibling= -I,A=I);K&&ld(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),k=f(I,k,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(Jm){return b(m,Jm)});K&&ld(m,H);return x}function V(m,k,n,v){"object"===typeof n&&null!==n&&n.type===na&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case la:a:{for(var x=n.key,A=k;null!==A;){if(A.key===x){x=n.type;if(x===na){if(7===A.tag){c(m,A.sibling); -k=e(A,n.props.children);k.return=m;m=k;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===xa&&te(x)===A.type){c(m,A.sibling);k=e(A,n.props);k.ref=re(m,A,n);k.return=m;m=k;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===na?(k=ze(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=xe(n.type,n.key,n.props,null,null,m.mode,v),v.ref=re(m,k,n),v.return=m,m=v)}return g(m);case ma:a:{for(A=n.key;null!==k;){if(k.key===A)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& -k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=ye(n,m.mode,v);k.return=m;m=k}return g(m);case xa:return A=n._init,Q(m,k,A(n._payload),v)}if(tc(n))return z(m,k,n,v);if(Ga(n))return B(m,k,n,v);if("function"===typeof n.then)return V(m,k,qe(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return V(m,k,Ae(m,n,v),v);se(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, -k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=we(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function Q(m,k,n,v){pe=0;m=V(m,k,n,v);oe=null;return m}return Q}var Be=ue(!0),Ce=ue(!1),De=ka(null),Ee=ka(0);function Fe(a,b){a=Ge;E(Ee,a);E(De,b);Ge=a|b.baseLanes}function He(){E(Ee,Ge);E(De,De.current)}function Ie(){Ge=Ee.current;D(De);D(Ee)}var Je=ka(null),Ke=null;function Le(a){var b=a.alternate;E(Me,Me.current&1);E(Je,a);null===Ke&&(null===b||null!==De.current?Ke=a:null!==b.memoizedState&&(Ke=a))} -function Ne(a){if(22===a.tag){if(E(Me,Me.current),E(Je,a),null===Ke){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Ke=a)}}else Oe(a)}function Oe(){E(Me,Me.current);E(Je,Je.current)}function Pe(a){D(Je);Ke===a&&(Ke=null);D(Me)}var Me=ka(0); -function Qe(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Re=null,Se=null,Te=!1,Ue=!1,Ve=!1,We=0; -function Xe(a){a!==Se&&null===a.next&&(null===Se?Re=Se=a:Se=Se.next=a);Ue=!0;Te||(Te=!0,Ye(Ze))} -function $e(a){if(!Ve&&Ue){var b=null;Ve=!0;do{var c=!1;for(var d=Re;null!==d;){if(!a||0===d.tag){var e=M,f=mb(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!af()){var g=bf(e,f);if(0!==e.tag&&2===g){var h=f,l=ob(e,h);0!==l&&(f=l,g=cf(e,h,l))}if(1===g)throw h=df,ef(e,0),ff(e,f),Xe(e),h;6===g?ff(e,f):(e.finishedWork=e.current.alternate,e.finishedLanes=f,gf(e,hf,jf))}Xe(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);Ve=!1;if(null!==b){if(1<b.length){if("function"=== -typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)Ye(kf.bind(null,b[a]))}throw b[0];}}}function kf(a){throw a;}function Ze(){Ue=Te=!1;for(var a=Wa(),b=null,c=Re;null!==c;){var d=c.next;0!==We&&window.event&&"popstate"===window.event.type&&ub(c,We|2);var e=lf(c,a);0===e?(c.next=null,null===b?Re=d:b.next=d,null===d&&(Se=b)):(b=c,0!==(e&3)&&(Ue=!0));c=d}We=0;$e(!1)} -function lf(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-125829121;0<f;){var g=31-gb(f),h=1<<g,l=e[g];if(-1===l){if(0===(h&c)||0!==(h&d))e[g]=nb(h,b)}else l<=b&&(a.expiredLanes|=h);f&=~h}b=N;c=M;c=mb(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===O||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Ta(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Ta(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b=== -a.callbackPriority)return b;null!==d&&Ta(d);switch(wb(c)){case 2:c=Ya;break;case 8:c=Za;break;case 32:c=$a;break;case 536870912:c=bb;break;default:c=$a}d=mf.bind(null,a);c=Sa(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function Ye(a){nf(function(){0!==(L&6)?Sa(Ya,a):a()})}function of(){0===We&&(We=pb());return We}var pf=null,qf=0,rf=0; -function sf(a,b){if(null===pf){var c=pf=[];qf=0;rf=of()}else c=pf;qf++;var d=tf(c),e="pending",f,g;a.then(function(h){e="fulfilled";f=null!==b?b:h;uf()},function(h){e="rejected";g=h;uf()});c.push(function(){switch(e){case "fulfilled":d.status="fulfilled";d.value=f;break;case "rejected":d.status="rejected";d.reason=g;break;default:throw Error(t(478));}});return d}function vf(a,b){var c=null!==b?b:a;if(null===pf)return c;a=pf;var d=tf(a);a.push(function(){d.status="fulfilled";d.value=c});return d} -function uf(){if(null!==pf&&0===--qf){var a=pf;pf=null;for(var b=rf=0;b<a.length;b++)(0,a[b])()}}function tf(a){return{status:"pending",value:null,reason:null,then:function(b){a.push(b)}}}var wf=da.ReactCurrentDispatcher,xf=da.ReactCurrentBatchConfig,yf=0,P=null,R=null,S=null,zf=!1,Af=!1,Bf=!1,Cf=0,Df=0,Ef=null,Ff=0;function T(){throw Error(t(321));}function Gf(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!bd(a[c],b[c]))return!1;return!0} -function Hf(a,b,c,d,e,f){yf=f;P=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;wf.current=null===a||null===a.memoizedState?If:Jf;Bf=!1;a=c(d,e);Bf=!1;Af&&(a=Kf(b,c,d,e));Lf();return a}function Lf(){wf.current=Mf;var a=null!==R&&null!==R.next;yf=0;S=R=P=null;zf=!1;Df=0;Ef=null;if(a)throw Error(t(300));}function Kf(a,b,c,d){P=a;var e=0;do{Af&&(Ef=null);Df=0;Af=!1;if(25<=e)throw Error(t(301));e+=1;S=R=null;a.updateQueue=null;wf.current=Nf;var f=b(c,d)}while(Af);return f} -function Of(){var a=wf.current.useState()[0];return"function"===typeof a.then?Pf(a):a}function Qf(){var a=0!==Cf;Cf=0;return a}function Rf(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function Sf(a){if(zf){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}zf=!1}yf=0;S=R=P=null;Af=!1;Df=Cf=0;Ef=null}function Tf(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===S?P.memoizedState=S=a:S=S.next=a;return S} -function Uf(){if(null===R){var a=P.alternate;a=null!==a?a.memoizedState:null}else a=R.next;var b=null===S?P.memoizedState:S.next;if(null!==b)S=b,R=a;else{if(null===a){if(null===P.alternate)throw Error(t(467));throw Error(t(310));}R=a;a={memoizedState:R.memoizedState,baseState:R.baseState,baseQueue:R.baseQueue,queue:R.queue,next:null};null===S?P.memoizedState=S=a:S=S.next=a}return S}var Vf;Vf=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}}; -function Pf(a){var b=Df;Df+=1;null===Ef&&(Ef=[]);a=le(Ef,a,b);null===P.alternate&&(null===S?null===P.memoizedState:null===S.next)&&(wf.current=If);return a}function Wf(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Pf(a);if(a.$$typeof===ra||a.$$typeof===sa)return Xf(a)}throw Error(t(438,String(a)));} -function Yf(a){var b=null,c=P.updateQueue;null!==c&&(b=c.memoCache);if(null==b){var d=P.alternate;null!==d&&(d=d.updateQueue,null!==d&&(d=d.memoCache,null!=d&&(b={data:d.data.map(function(e){return e.slice()}),index:0})))}null==b&&(b={data:[],index:0});null===c&&(c=Vf(),P.updateQueue=c);c.memoCache=b;c=b.data[b.index];if(void 0===c)for(c=b.data[b.index]=Array(a),d=0;d<a;d++)c[d]=Da;b.index++;return c}function Zf(a,b){return"function"===typeof b?b(a):b}function $f(a){var b=Uf();return ag(b,R,a)} -function ag(a,b,c){var d=a.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=c;var e=a.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}b.baseQueue=e=f;d.pending=null}if(null!==e){b=e.next;f=a.baseState;var h=g=null,l=null,p=b;do{var q=p.lane&-1073741825;if(q!==p.lane?(M&q)===q:(yf&q)===q){q=p.revertLane;if(0===q)null!==l&&(l=l.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null});else if((yf&q)===q){p= -p.next;continue}else{var w={lane:0,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===l?(h=l=w,g=f):l=l.next=w;P.lanes|=q;ce|=q}q=p.action;Bf&&c(f,q);f=p.hasEagerState?p.eagerState:c(f,q)}else w={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},null===l?(h=l=w,g=f):l=l.next=w,P.lanes|=q,ce|=q;p=p.next}while(null!==p&&p!==b);null===l?g=f:l.next=h;bd(f,a.memoizedState)||(bg=!0); -a.memoizedState=f;a.baseState=g;a.baseQueue=l;d.lastRenderedState=f}null===e&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function cg(a){var b=Uf(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);bd(f,b.memoizedState)||(bg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} -function dg(a,b,c){var d=P,e=Uf(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!bd((R||e).memoizedState,c);g&&(e.memoizedState=c,bg=!0);e=e.queue;eg(fg.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==S&&S.memoizedState.tag&1){d.flags|=2048;gg(9,hg.bind(null,d,e,c,b),{destroy:void 0},null);if(null===N)throw Error(t(349));f||0!==(yf&60)||ig(d,b,c)}return c} -function ig(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=P.updateQueue;null===b?(b=Vf(),P.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function hg(a,b,c,d){b.value=c;b.getSnapshot=d;jg(b)&&kg(a)}function fg(a,b,c){return c(function(){jg(b)&&kg(a)})}function jg(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!bd(a,c)}catch(d){return!0}}function kg(a){var b=Sd(a,2);null!==b&&lg(b,a,2)} -function mg(a){var b=Tf();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zf,lastRenderedState:a};return b}function ng(a,b,c,d){a.baseState=a.memoizedState=c;return ag(a,R,"function"===typeof d?d:Zf)}function og(a,b,c,d){if(pg(a))throw Error(t(485));a=b.pending;null===a?(a={payload:d,next:null},a.next=b.pending=a,qg(b,c,d)):a.next={payload:d,next:a.next}} -function qg(a,b,c){var d=a.action,e=a.state,f=xf.transition;xf.transition={};try{var g=d(e,c);g.then(function(l){a.state=l;rg(a,b)},function(){return rg(a,b)});var h=sf(g,null);b(h)}finally{xf.transition=f}}function rg(a,b){var c=a.pending;if(null!==c){var d=c.next;d===c?a.pending=null:(d=d.next,c.next=d,qg(a,b,d.payload))}}function sg(a,b){return b} -function tg(a,b,c){a=ag(a,b,sg)[0];a=Pf(a);b=Uf();var d=b.queue,e=d.dispatch;c!==b.memoizedState&&(P.flags|=2048,gg(9,ug.bind(null,d,c),{destroy:void 0},null));return[a,e]}function ug(a,b){a.action=b}function gg(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=P.updateQueue;null===b?(b=Vf(),P.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function vg(){return Uf().memoizedState} -function wg(a,b,c,d){var e=Tf();P.flags|=a;e.memoizedState=gg(1|b,c,{destroy:void 0},void 0===d?null:d)}function xg(a,b,c,d){var e=Uf();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==R&&null!==d&&Gf(d,R.memoizedState.deps)?e.memoizedState=gg(b,c,f,d):(P.flags|=a,e.memoizedState=gg(1|b,c,f,d))}function yg(a,b){wg(8390656,8,a,b)}function eg(a,b){xg(2048,8,a,b)} -function zg(a){P.flags|=4;var b=P.updateQueue;if(null===b)b=Vf(),P.updateQueue=b,b.events=[a];else{var c=b.events;null===c?b.events=[a]:c.push(a)}}function Ag(a){var b=Uf().memoizedState;zg({ref:b,nextImpl:a});return function(){if(0!==(L&2))throw Error(t(440));return b.impl.apply(void 0,arguments)}}function Bg(a,b){return xg(4,2,a,b)}function Cg(a,b){return xg(4,4,a,b)} -function Dg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Eg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;xg(4,4,Dg.bind(null,b,a),c)}function Fg(){}function Gg(a,b){var c=Uf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Gf(b,d[1]))return d[0];c.memoizedState=[a,b];return a} -function Hg(a,b){var c=Uf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Gf(b,d[1]))return d[0];Bf&&a();a=a();c.memoizedState=[a,b];return a}function Ig(a,b,c){if(0===(yf&42))return a.baseState&&(a.baseState=!1,bg=!0),a.memoizedState=c;bd(c,b)||(c=pb(),P.lanes|=c,ce|=c,a.baseState=!0);return b} -function Jg(a,b,c,d,e){var f=F;F=0!==f&&8>f?f:8;var g=xf.transition;Kg(a,!1,b,c);xf.transition={};try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=sf(h,d);Lg(a,b,l)}else{var p=vf(h,d);Lg(a,b,p)}}catch(q){Lg(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,xf.transition=g}} -function Mg(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zf,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Jg(a,f,b,fa,function(){return c(d)})}function Ng(){var a=Xf(La);return null!==a?a:fa}function Og(){return Uf().memoizedState} -function Pg(){return Uf().memoizedState}function Qg(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=Rg(d);a=Yd(e);var f=Zd(d,a,e);null!==f&&(lg(f,d,e),$d(f,d,e));d=Sg();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function Tg(a,b,c){var d=Rg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};pg(a)?Ug(b,c):(c=Qd(a,b,c,d),null!==c&&(lg(c,a,d),Vg(c,b,d)))} -function Lg(a,b,c){var d=Rg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(pg(a))Ug(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(bd(h,g)){Pd(a,b,e,0);null===N&&Nd();return}}catch(l){}finally{}c=Qd(a,b,e,d);null!==c&&(lg(c,a,d),Vg(c,b,d))}} -function Kg(a,b,c,d){d={lane:2,revertLane:of(),action:d,hasEagerState:!1,eagerState:null,next:null};if(pg(a)){if(b)throw Error(t(479));}else b=Qd(a,c,d,2),null!==b&&lg(b,a,2)}function pg(a){var b=a.alternate;return a===P||null!==b&&b===P}function Ug(a,b){Af=zf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Vg(a,b,c){if(0!==(c&8388480)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;ub(a,c)}} -var Mf={readContext:Xf,use:Wf,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useInsertionEffect:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,useDebugValue:T,useDeferredValue:T,useTransition:T,useSyncExternalStore:T,useId:T};Mf.useCacheRefresh=T;Mf.useMemoCache=T;Mf.useEffectEvent=T;Mf.useHostTransitionStatus=T;Mf.useFormState=T;Mf.useOptimistic=T; -var If={readContext:Xf,use:Wf,useCallback:function(a,b){Tf().memoizedState=[a,void 0===b?null:b];return a},useContext:Xf,useEffect:yg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;wg(4194308,4,Dg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return wg(4194308,4,a,b)},useInsertionEffect:function(a,b){wg(4,2,a,b)},useMemo:function(a,b){var c=Tf();b=void 0===b?null:b;Bf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Tf();b=void 0!==c?c(b): -b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Tg.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Tf();a={current:a};return b.memoizedState=a},useState:function(a){a=mg(a);var b=a.queue,c=Lg.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Fg,useDeferredValue:function(a){return Tf().memoizedState=a},useTransition:function(){var a=mg(!1);a=Jg.bind(null,P,a.queue,!0,!1);Tf().memoizedState= -a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Tf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(yf&60)||ig(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;yg(fg.bind(null,d,f,a),[a]);d.flags|=2048;gg(9,hg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Tf(),b=N.identifierPrefix;if(K){var c=kd;var d=jd;c=(d&~(1<<32-gb(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Cf++;0<c&&(b+="H"+c.toString(32)); -b+=":"}else c=Ff++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return Tf().memoizedState=Qg.bind(null,P)}};If.useMemoCache=Yf;If.useEffectEvent=function(a){var b=Tf(),c={impl:a};b.memoizedState=c;return function(){if(0!==(L&2))throw Error(t(440));return c.impl.apply(void 0,arguments)}};If.useHostTransitionStatus=Ng; -If.useFormState=function(a,b){if(K){var c=N.formState;null!==c&&Dd()&&(b=c[0])}var d={status:"fulfilled",value:b,then:function(){}};c=Tf();c.memoizedState=c.baseState=d;d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sg,lastRenderedState:d};c.queue=d;c=Lg.bind(null,P,d);d.dispatch=c;d=Tf();var e={state:b,dispatch:null,action:a,pending:null};d.queue=e;c=og.bind(null,P,e,c);e.dispatch=c;d.memoizedState=a;return[b,c]}; -If.useOptimistic=function(a){var b=Tf();b.memoizedState=b.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};b.queue=c;b=Kg.bind(null,P,!0,c);c.dispatch=b;return[a,b]}; -var Jf={readContext:Xf,use:Wf,useCallback:Gg,useContext:Xf,useEffect:eg,useImperativeHandle:Eg,useInsertionEffect:Bg,useLayoutEffect:Cg,useMemo:Hg,useReducer:$f,useRef:vg,useState:function(){return $f(Zf)},useDebugValue:Fg,useDeferredValue:function(a){var b=Uf();return Ig(b,R.memoizedState,a)},useTransition:function(){var a=$f(Zf)[0],b=Uf().memoizedState;return["boolean"===typeof a?a:Pf(a),b]},useSyncExternalStore:dg,useId:Og};Jf.useCacheRefresh=Pg;Jf.useMemoCache=Yf;Jf.useEffectEvent=Ag; -Jf.useHostTransitionStatus=Ng;Jf.useFormState=function(a){var b=Uf();return tg(b,R,a)};Jf.useOptimistic=function(a,b){var c=Uf();return ng(c,R,a,b)}; -var Nf={readContext:Xf,use:Wf,useCallback:Gg,useContext:Xf,useEffect:eg,useImperativeHandle:Eg,useInsertionEffect:Bg,useLayoutEffect:Cg,useMemo:Hg,useReducer:cg,useRef:vg,useState:function(){return cg(Zf)},useDebugValue:Fg,useDeferredValue:function(a){var b=Uf();return null===R?b.memoizedState=a:Ig(b,R.memoizedState,a)},useTransition:function(){var a=cg(Zf)[0],b=Uf().memoizedState;return["boolean"===typeof a?a:Pf(a),b]},useSyncExternalStore:dg,useId:Og};Nf.useCacheRefresh=Pg;Nf.useMemoCache=Yf; -Nf.useEffectEvent=Ag;Nf.useHostTransitionStatus=Ng;Nf.useFormState=function(a){var b=Uf(),c=R;if(null!==c)return tg(b,c,a);b=Pf(b.memoizedState);c=Uf();var d=c.queue.dispatch;c.memoizedState=a;return[b,d]};Nf.useOptimistic=function(a,b){var c=Uf();if(null!==R)return ng(c,R,a,b);c.baseState=c.memoizedState=a;return[a,c.queue.dispatch]};function Wg(a,b){if(a&&a.defaultProps){b=C({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function Xg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:C({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} -var Yg={isMounted:function(a){return(a=a._reactInternals)?Kc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Rg(a),e=Yd(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=Zd(a,e,d);null!==b&&(lg(b,a,d),$d(b,a,d))},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Rg(a),e=Yd(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=Zd(a,e,d);null!==b&&(lg(b,a,d),$d(b,a,d))},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Rg(a),d=Yd(c);d.tag=2;void 0!== -b&&null!==b&&(d.callback=b);b=Zd(a,d,c);null!==b&&(lg(b,a,c),$d(b,a,c))}};function Zg(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!fe(c,d)||!fe(e,f):!0} -function $g(a,b,c){var d=!1,e=Qc;var f=b.contextType;"object"===typeof f&&null!==f?f=Xf(f):(e=Vc(b)?Tc:Rc.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Uc(a,e):Qc);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Yg;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} -function ah(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Yg.enqueueReplaceState(b,b.state,null)} -function bh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};Wd(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=Xf(f):(f=Vc(b)?Tc:Rc.current,e.context=Uc(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Xg(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, -"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Yg.enqueueReplaceState(e,e.state,null),be(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function ch(a,b){try{var c="",d=b;do c+=fc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} -function dh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function eh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function fh(a,b,c){c=Yd(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){gh||(gh=!0,hh=d);eh(a,b)};return c} -function ih(a,b,c){c=Yd(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){eh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){eh(a,b);"function"!==typeof d&&(null===jh?jh=new Set([this]):jh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} -function kh(a){var b=a.tag;0!==(a.mode&1)||0!==b&&11!==b&&15!==b||((b=a.alternate)?(a.updateQueue=b.updateQueue,a.memoizedState=b.memoizedState,a.lanes=b.lanes):(a.updateQueue=null,a.memoizedState=null))}function lh(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=Yd(2),b.tag=2,Zd(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} -function mh(a,b,c,d,e){c.flags|=32768;if(null!==d&&"object"===typeof d&&(d.$$typeof===Ea&&(d={then:function(){}}),"function"===typeof d.then)){kh(c);var f=Je.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===Ke?nh():null===f.alternate&&0===oh&&(oh=3));f.flags&=-257;lh(f,b,c,a,e);d===ie?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]):b.add(d),f.mode&1&&ph(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===ie?f.flags|=16384:(b=f.updateQueue,null===b?(b={transitions:null, -markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(f=b.retryQueue,null===f?b.retryQueue=new Set([d]):f.add(d)),ph(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){ph(a,d,e);nh();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Je.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);lh(f,b,c,a,e);Jd(ch(d,c));return}d=ch(d,c);qh(d);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=fh(a,d,e);ae(a,e);return;case 1:if(f=d,b=a.type,c=a.stateNode,0===(a.flags&128)&&("function"=== -typeof b.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===jh||!jh.has(c)))){a.flags|=65536;e&=-e;a.lanes|=e;e=ih(a,f,e);ae(a,e);return}}a=a.return}while(null!==a)}var rh=da.ReactCurrentOwner,sh=Error(t(461)),bg=!1;function th(a,b,c,d){b.child=null===a?Ce(b,null,c,d):Be(b,a.child,c,d)}function uh(a,b,c,d,e){c=c.render;var f=b.ref;vh(b,e);d=Hf(a,b,c,d,f,e);c=Qf();if(null!==a&&!bg)return Rf(a,b,e),wh(a,b,e);K&&c&&nd(b);b.flags|=1;th(a,b,d,e);return b.child} -function xh(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!yh(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,zh(a,b,f,d,e);a=xe(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:fe;if(c(g,d)&&a.ref===b.ref)return wh(a,b,e)}b.flags|=1;a=ve(f,d);a.ref=b.ref;a.return=b;return b.child=a} -function zh(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(fe(f,d)&&a.ref===b.ref)if(bg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(bg=!0);else return b.lanes=a.lanes,wh(a,b,e)}return Ah(a,b,c,d,e)} -function Bh(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;Ch(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return Dh(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&Eh(b,null),He(),Ne(b);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0, -cachePool:null},null!==a&&Eh(b,null!==g?g.cachePool:null),null!==g?Fe(b,g):He(),Ne(b);else return b.lanes=b.childLanes=1073741824,Dh(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(Eh(b,g.cachePool),Fe(b,g),Oe(b),b.memoizedState=null):(null!==a&&Eh(b,null),He(),Oe(b));th(a,b,e,c);return b.child}function Dh(a,b,c){var d=Fh();d=null===d?null:{parent:Gh._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&Eh(b,null);He();Ne(b);return null} -function Ch(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function Ah(a,b,c,d,e){var f=Vc(c)?Tc:Rc.current;f=Uc(b,f);vh(b,e);c=Hf(a,b,c,d,f,e);d=Qf();if(null!==a&&!bg)return Rf(a,b,e),wh(a,b,e);K&&d&&nd(b);b.flags|=1;th(a,b,c,e);return b.child}function Hh(a,b,c,d,e,f){vh(b,f);c=Kf(b,d,c,e);Lf();d=Qf();if(null!==a&&!bg)return Rf(a,b,f),wh(a,b,f);K&&d&&nd(b);b.flags|=1;th(a,b,c,f);return b.child} -function Ih(a,b,c,d,e){if(Vc(c)){var f=!0;Zc(b)}else f=!1;vh(b,e);if(null===b.stateNode)Jh(a,b),$g(b,c,d),bh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var l=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=Xf(p):(p=Vc(c)?Tc:Rc.current,p=Uc(b,p));var q=c.getDerivedStateFromProps,w="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;w||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| -(h!==d||l!==p)&&ah(b,g,d,p);Vd=!1;var r=b.memoizedState;g.state=r;be(b,d,g,e);l=b.memoizedState;h!==d||r!==l||Sc.current||Vd?("function"===typeof q&&(Xg(b,c,q,d),l=b.memoizedState),(h=Vd||Zg(b,c,h,d,r,l,p))?(w||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): -("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=l),g.props=d,g.state=l,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;Xd(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:Wg(b.type,h);g.props=p;w=b.pendingProps;r=g.context;l=c.contextType;"object"===typeof l&&null!==l?l=Xf(l):(l=Vc(c)?Tc:Rc.current,l=Uc(b,l));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| -"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==w||r!==l)&&ah(b,g,d,l);Vd=!1;r=b.memoizedState;g.state=r;be(b,d,g,e);var z=b.memoizedState;h!==w||r!==z||Sc.current||Vd?("function"===typeof u&&(Xg(b,c,u,d),z=b.memoizedState),(p=Vd||Zg(b,c,p,d,r,z,l)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,z,l),"function"===typeof g.UNSAFE_componentWillUpdate&& +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Gc=null;function Hc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Ic=null,Jc=null; +function Kc(a){var b=Ob(a);if(b&&(a=b.stateNode)){var c=Qb(a);a:switch(a=b.stateNode,b.type){case "input":tc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+sc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Qb(d);if(!e)throw Error(t(90));tc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, +e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&pc(d)}break a;case "textarea":yc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&xc(a,!!c.multiple,b,!1)}}}function Lc(a){Ic?Jc?Jc.push(a):Jc=[a]:Ic=a}function Mc(){if(Ic){var a=Ic,b=Jc;Jc=Ic=null;Kc(a);if(b)for(a=0;a<b.length;a++)Kc(b[a])}}function Nc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} +function Oc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Pc(a){if(Nc(a)!==a)throw Error(t(188));} +function Qc(a){var b=a.alternate;if(!b){b=Nc(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Pc(e),a;if(f===d)return Pc(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== +c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function Rc(a){a=Qc(a);return null!==a?Sc(a):null}function Sc(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=Sc(a);if(null!==b)return b;a=a.sibling}return null}var Tc={},Uc=ma(Tc),Vc=ma(!1),Wc=Tc; +function Xc(a,b){var c=a.type.contextTypes;if(!c)return Tc;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function Yc(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Zc(){D(Vc);D(Uc)} +function $c(a,b,c){if(Uc.current!==Tc)throw Error(t(168));E(Uc,b);E(Vc,c)}function ad(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,kc(a)||"Unknown",e));return B({},c,d)}function bd(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Tc;Wc=Uc.current;E(Uc,a);E(Vc,Vc.current);return!0} +function cd(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=ad(a,b,Wc),d.__reactInternalMemoizedMergedChildContext=a,D(Vc),D(Uc),E(Uc,a)):D(Vc);E(Vc,c)}function dd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var ed="function"===typeof Object.is?Object.is:dd,fd=[],gd=0,hd=null,id=0,jd=[],kd=0,ld=null,md=1,nd="";function od(a,b){fd[gd++]=id;fd[gd++]=hd;hd=a;id=b} +function pd(a,b,c){jd[kd++]=md;jd[kd++]=nd;jd[kd++]=ld;ld=a;var d=md;a=nd;var e=32-ib(d)-1;d&=~(1<<e);c+=1;var f=32-ib(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;md=1<<32-ib(b)+e|c<<e|d;nd=f+a}else md=1<<f|c<<e|d,nd=a}function qd(a){null!==a.return&&(od(a,1),pd(a,1,0))}function rd(a){for(;a===hd;)hd=fd[--gd],fd[gd]=null,id=fd[--gd],fd[gd]=null;for(;a===ld;)ld=jd[--kd],jd[kd]=null,nd=jd[--kd],jd[kd]=null,md=jd[--kd],jd[kd]=null}var G=null,J=null,K=!1,sd=null,td=!1; +function ud(a,b){var c=vd(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function wd(a,b){b.flags=b.flags&-4097|2}function xd(a,b){b=yd(b,a.type,a.pendingProps,td);return null!==b?(a.stateNode=b,G=a,J=zd(b.firstChild),td=!1,!0):!1}function Ad(a,b){b=Bd(b,a.pendingProps,td);return null!==b?(a.stateNode=b,G=a,J=null,!0):!1} +function Cd(a,b){a:{var c=b;for(b=td;8!==c.nodeType;){if(!b){b=null;break a}c=Dd(c);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==ld?{id:md,overflow:nd}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:536870912},c=vd(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,G=a,J=null,!0):!1}function Ed(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Fd(){throw Error(t(418));} +function Gd(){if(!K)return!1;if(J){a:{var a=J;for(var b=td;8!==a.nodeType;){if(!b){a=null;break a}a=Dd(a);if(null===a){a=null;break a}}b=a.data;a="F!"===b||"F"===b?a:null}if(a)return J=Dd(a),"F!"===a.data}Fd();return!1}function Hd(a){for(G=a.return;G;)switch(G.tag){case 3:case 27:td=!0;return;case 5:case 13:td=!1;return;default:G=G.return}} +function Id(a){if(a!==G)return!1;if(!K)return Hd(a),K=!0,!1;var b=!1,c;if(c=3!==a.tag&&27!==a.tag){if(c=5===a.tag)c=a.type,c=!("form"!==c&&"button"!==c)||Jd(a.type,a.memoizedProps);c=!c}c&&(b=!0);if(b&&(b=J))if(Ed(a))Kd(),Fd();else for(;b;)ud(a,b),b=Dd(b);Hd(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType)if(c=a.data,"/$"===c){if(0===b){J=Dd(a);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++;a=a.nextSibling}J= +null}}else J=G?Dd(a.stateNode):null;return!0}function Kd(){for(var a=J;a;)a=Dd(a)}function Ld(){J=G=null;K=!1}function Md(a){null===sd?sd=[a]:sd.push(a)}var Nd=[],Od=0,Pd=0;function Qd(){for(var a=Od,b=Pd=Od=0;b<a;){var c=Nd[b];Nd[b++]=null;var d=Nd[b];Nd[b++]=null;var e=Nd[b];Nd[b++]=null;var f=Nd[b];Nd[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&Rd(c,e,f)}} +function Sd(a,b,c,d){Nd[Od++]=a;Nd[Od++]=b;Nd[Od++]=c;Nd[Od++]=d;Pd|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function Td(a,b,c,d){Sd(a,b,c,d);return Ud(a)}function Vd(a,b){Sd(a,null,null,b);return Ud(a)} +function Rd(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-ib(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|536870912)}function Ud(a){if(50<Wd)throw Wd=0,Xd=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} +var Yd=!1;function Zd(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $d(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function ae(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} +function be(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(L&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=Ud(a);Rd(a,null,c);return b}Sd(a,d,b,c);return Ud(a)}function ce(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194176))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;wb(a,c)}} +function de(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} +function ee(a,b,c,d){var e=a.updateQueue;Yd=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var l=h,p=l.next;l.next=null;null===g?f=p:g.next=p;g=l;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=l))}if(null!==f){var w=e.baseState;g=0;q=p=l=null;h=f;do{var r=h.lane&-536870913,u=r!==h.lane;if(u?(M&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, +callback:null,next:null});a:{var z=a,C=h;r=b;var V=c;switch(C.tag){case 1:z=C.payload;if("function"===typeof z){w=z.call(V,w,r);break a}w=z;break a;case 3:z.flags=z.flags&-65537|128;case 0:z=C.payload;r="function"===typeof z?z.call(V,w,r):z;if(null===r||void 0===r)break a;w=B({},w,r);break a;case 2:Yd=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, +l=w):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(l=w);e.baseState=l;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);fe|=g;a.lanes=g;a.memoizedState=w}}function ge(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function he(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)ge(c[a],b)} +function ie(a,b){if(ed(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!Ab.call(b,e)||!ed(a[e],b[e]))return!1}return!0}var je=Error(t(460)),ke=Error(t(474)),le={then:function(){}};function me(a){a=a.status;return"fulfilled"===a||"rejected"===a}function ne(){} +function oe(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(ne,ne),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===je)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(ne,ne);else{a=N;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; +case "rejected":a=b.reason;if(a===je)throw Error(t(483));throw a;}}pe=b;throw je;}}var pe=null;function qe(){if(null===pe)throw Error(t(459));var a=pe;pe=null;return a}var re=null,se=0;function te(a){var b=se;se+=1;null===re&&(re=[]);return oe(re,a,b)} +function ue(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} +function ve(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function we(a){var b=a._init;return b(a._payload)} +function xe(a){function b(m,k){if(a){var n=m.deletions;null===n?(m.deletions=[k],m.flags|=16):n.push(k)}}function c(m,k){if(!a)return null;for(;null!==k;)b(m,k),k=k.sibling;return null}function d(m,k){for(m=new Map;null!==k;)null!==k.key?m.set(k.key,k):m.set(k.index,k),k=k.sibling;return m}function e(m,k){m=ye(m,k);m.index=0;m.sibling=null;return m}function f(m,k,n){m.index=n;if(!a)return m.flags|=1048576,k;n=m.alternate;if(null!==n)return n=n.index,n<k?(m.flags|=33554434,k):n;m.flags|=33554434;return k} +function g(m){a&&null===m.alternate&&(m.flags|=33554434);return m}function h(m,k,n,v){if(null===k||6!==k.tag)return k=ze(n,m.mode,v),k.return=m,k;k=e(k,n);k.return=m;return k}function l(m,k,n,v){var x=n.type;if(x===pa)return q(m,k,n.props.children,v,n.key);if(null!==k&&(k.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===za&&we(x)===k.type))return v=e(k,n.props),v.ref=ue(m,k,n),v.return=m,v;v=Ae(n.type,n.key,n.props,null,null,m.mode,v);v.ref=ue(m,k,n);v.return=m;return v}function p(m,k, +n,v){if(null===k||4!==k.tag||k.stateNode.containerInfo!==n.containerInfo||k.stateNode.implementation!==n.implementation)return k=Be(n,m.mode,v),k.return=m,k;k=e(k,n.children||[]);k.return=m;return k}function q(m,k,n,v,x){if(null===k||7!==k.tag)return k=Ce(n,m.mode,v,x),k.return=m,k;k=e(k,n);k.return=m;return k}function w(m,k,n){if("string"===typeof k&&""!==k||"number"===typeof k)return k=ze(""+k,m.mode,n),k.return=m,k;if("object"===typeof k&&null!==k){switch(k.$$typeof){case na:return n=Ae(k.type, +k.key,k.props,null,null,m.mode,n),n.ref=ue(m,null,k),n.return=m,n;case oa:return k=Be(k,m.mode,n),k.return=m,k;case za:var v=k._init;return w(m,v(k._payload),n)}if(wc(k)||Ia(k))return k=Ce(k,m.mode,n,null),k.return=m,k;if("function"===typeof k.then)return w(m,te(k),n);if(k.$$typeof===ta||k.$$typeof===ua)return w(m,De(m,k,n),n);ve(m,k)}return null}function r(m,k,n,v){var x=null!==k?k.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==x?null:h(m,k,""+n,v);if("object"===typeof n&& +null!==n){switch(n.$$typeof){case na:return n.key===x?l(m,k,n,v):null;case oa:return n.key===x?p(m,k,n,v):null;case za:return x=n._init,r(m,k,x(n._payload),v)}if(wc(n)||Ia(n))return null!==x?null:q(m,k,n,v,null);if("function"===typeof n.then)return r(m,k,te(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return r(m,k,De(m,n,v),v);ve(m,n)}return null}function u(m,k,n,v,x){if("string"===typeof v&&""!==v||"number"===typeof v)return m=m.get(n)||null,h(k,m,""+v,x);if("object"===typeof v&&null!==v){switch(v.$$typeof){case na:return m= +m.get(null===v.key?n:v.key)||null,l(k,m,v,x);case oa:return m=m.get(null===v.key?n:v.key)||null,p(k,m,v,x);case za:var A=v._init;return u(m,k,n,A(v._payload),x)}if(wc(v)||Ia(v))return m=m.get(n)||null,q(k,m,v,x,null);if("function"===typeof v.then)return u(m,k,n,te(v),x);if(v.$$typeof===ta||v.$$typeof===ua)return u(m,k,n,De(k,v,x),x);ve(k,v)}return null}function z(m,k,n,v){for(var x=null,A=null,y=k,H=k=0,ha=null;null!==y&&H<n.length;H++){y.index>H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== +I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);k=f(I,k,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&od(m,H),x;if(null===y){for(;H<n.length;H++)y=w(m,n[H],v),null!==y&&(k=f(y,k,H),null===A?x=y:A.sibling=y,A=y);K&&od(m,H);return x}for(y=d(m,y);H<n.length;H++)ha=u(y,m,H,n[H],v),null!==ha&&(a&&null!==ha.alternate&&y.delete(null===ha.key?H:ha.key),k=f(ha,k,H),null===A?x=ha:A.sibling=ha,A=ha);a&&y.forEach(function(Gb){return b(m,Gb)});K&&od(m,H);return x}function C(m, +k,n,v){var x=Ia(n);if("function"!==typeof x)throw Error(t(150));n=x.call(n);if(null==n)throw Error(t(151));for(var A=x=null,y=k,H=k=0,ha=null,I=n.next();null!==y&&!I.done;H++,I=n.next()){y.index>H?(ha=y,y=null):ha=y.sibling;var Gb=r(m,y,I.value,v);if(null===Gb){null===y&&(y=ha);break}a&&y&&null===Gb.alternate&&b(m,y);k=f(Gb,k,H);null===A?x=Gb:A.sibling=Gb;A=Gb;y=ha}if(I.done)return c(m,y),K&&od(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(k=f(I,k,H),null===A?x=I:A.sibling= +I,A=I);K&&od(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),k=f(I,k,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(Pm){return b(m,Pm)});K&&od(m,H);return x}function V(m,k,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var x=n.key,A=k;null!==A;){if(A.key===x){x=n.type;if(x===pa){if(7===A.tag){c(m,A.sibling); +k=e(A,n.props.children);k.return=m;m=k;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===za&&we(x)===A.type){c(m,A.sibling);k=e(A,n.props);k.ref=ue(m,A,n);k.return=m;m=k;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===pa?(k=Ce(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=Ae(n.type,n.key,n.props,null,null,m.mode,v),v.ref=ue(m,k,n),v.return=m,m=v)}return g(m);case oa:a:{for(A=n.key;null!==k;){if(k.key===A)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& +k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Be(n,m.mode,v);k.return=m;m=k}return g(m);case za:return A=n._init,R(m,k,A(n._payload),v)}if(wc(n))return z(m,k,n,v);if(Ia(n))return C(m,k,n,v);if("function"===typeof n.then)return V(m,k,te(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return V(m,k,De(m,n,v),v);ve(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, +k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=ze(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function R(m,k,n,v){se=0;m=V(m,k,n,v);re=null;return m}return R}var Ee=xe(!0),Fe=xe(!1),Ge=ma(null),He=ma(0);function Ie(a,b){a=Je;E(He,a);E(Ge,b);Je=a|b.baseLanes}function Ke(){E(He,Je);E(Ge,Ge.current)}function Le(){Je=He.current;D(Ge);D(He)}var Me=ma(null),Ne=null;function Oe(a){var b=a.alternate;E(Pe,Pe.current&1);E(Me,a);null===Ne&&(null===b||null!==Ge.current?Ne=a:null!==b.memoizedState&&(Ne=a))} +function Qe(a){if(22===a.tag){if(E(Pe,Pe.current),E(Me,a),null===Ne){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Ne=a)}}else Re(a)}function Re(){E(Pe,Pe.current);E(Me,Me.current)}function Se(a){D(Me);Ne===a&&(Ne=null);D(Pe)}var Pe=ma(0); +function Te(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Ue=null,Ve=null,We=!1,Xe=!1,Ye=!1,Ze=0; +function $e(a){a!==Ve&&null===a.next&&(null===Ve?Ue=Ve=a:Ve=Ve.next=a);Xe=!0;We||(We=!0,af(bf))} +function cf(a){if(!Ye&&Xe){var b=null;Ye=!0;do{var c=!1;for(var d=Ue;null!==d;){if(!a||0===d.tag){var e=M,f=ob(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!df()){var g=ef(e,f);if(0!==e.tag&&2===g){var h=f,l=qb(e,h);0!==l&&(f=l,g=ff(e,h,l))}if(1===g)throw h=gf,hf(e,0),jf(e,f,0),$e(e),h;6===g?jf(e,f,0):(e.finishedWork=e.current.alternate,e.finishedLanes=f,kf(e,lf,mf,nf))}$e(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);Ye=!1;if(null!==b){if(1<b.length){if("function"=== +typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)af(of.bind(null,b[a]))}throw b[0];}}}function of(a){throw a;}function bf(){Xe=We=!1;for(var a=Ya(),b=null,c=Ue;null!==c;){var d=c.next;if(0!==Ze&&window.event&&"popstate"===window.event.type){var e=c,f=Ze;e.pendingLanes|=2;e.entangledLanes|=2;e.entanglements[1]|=f}e=pf(c,a);0===e?(c.next=null,null===b?Ue=d:b.next=d,null===d&&(Ve=b)):(b=c,0!==(e&3)&&(Xe=!0));c=d}Ze=0;cf(!1)} +function pf(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-62914561;0<f;){var g=31-ib(f),h=1<<g,l=e[g];if(-1===l){if(0===(h&c)||0!==(h&d))e[g]=pb(h,b)}else l<=b&&(a.expiredLanes|=h);f&=~h}b=N;c=M;c=ob(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===O||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Va(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Va(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b===a.callbackPriority)return b; +null!==d&&Va(d);switch(zb(c)){case 2:c=$a;break;case 8:c=ab;break;case 32:c=bb;break;case 268435456:c=db;break;default:c=bb}d=qf.bind(null,a);c=Ua(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function af(a){rf(function(){0!==(L&6)?Ua($a,a):a()})}function sf(){if(0===Ze){var a=lb;lb<<=1;0===(lb&4194176)&&(lb=128);Ze=a}return Ze}var tf=null,uf=0,vf=0; +function wf(a,b){if(null===tf){var c=tf=[];uf=0;vf=sf()}else c=tf;uf++;var d=xf(c),e="pending",f,g;a.then(function(h){e="fulfilled";f=null!==b?b:h;yf()},function(h){e="rejected";g=h;yf()});c.push(function(){switch(e){case "fulfilled":d.status="fulfilled";d.value=f;break;case "rejected":d.status="rejected";d.reason=g;break;default:throw Error(t(478));}});return d}function zf(a,b){var c=null!==b?b:a;if(null===tf)return c;a=tf;var d=xf(a);a.push(function(){d.status="fulfilled";d.value=c});return d} +function yf(){if(null!==tf&&0===--uf){var a=tf;tf=null;for(var b=vf=0;b<a.length;b++)(0,a[b])()}}function xf(a){return{status:"pending",value:null,reason:null,then:function(b){a.push(b)}}}var Af=da.ReactCurrentDispatcher,Bf=da.ReactCurrentBatchConfig,Cf=0,P=null,Q=null,S=null,Df=!1,Ef=!1,Ff=!1,Gf=0,Hf=0,If=null,Jf=0;function T(){throw Error(t(321));}function Kf(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!ed(a[c],b[c]))return!1;return!0} +function Lf(a,b,c,d,e,f){Cf=f;P=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Af.current=null===a||null===a.memoizedState?Mf:Nf;Ff=!1;a=c(d,e);Ff=!1;Ef&&(a=Of(b,c,d,e));Pf();return a}function Pf(){Af.current=Qf;var a=null!==Q&&null!==Q.next;Cf=0;S=Q=P=null;Df=!1;Hf=0;If=null;if(a)throw Error(t(300));}function Of(a,b,c,d){P=a;var e=0;do{Ef&&(If=null);Hf=0;Ef=!1;if(25<=e)throw Error(t(301));e+=1;S=Q=null;a.updateQueue=null;Af.current=Rf;var f=b(c,d)}while(Ef);return f} +function Sf(){var a=Af.current.useState()[0];return"function"===typeof a.then?Tf(a):a}function Uf(){var a=0!==Gf;Gf=0;return a}function Vf(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function Wf(a){if(Df){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}Df=!1}Cf=0;S=Q=P=null;Ef=!1;Hf=Gf=0;If=null}function Xf(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===S?P.memoizedState=S=a:S=S.next=a;return S} +function Yf(){if(null===Q){var a=P.alternate;a=null!==a?a.memoizedState:null}else a=Q.next;var b=null===S?P.memoizedState:S.next;if(null!==b)S=b,Q=a;else{if(null===a){if(null===P.alternate)throw Error(t(467));throw Error(t(310));}Q=a;a={memoizedState:Q.memoizedState,baseState:Q.baseState,baseQueue:Q.baseQueue,queue:Q.queue,next:null};null===S?P.memoizedState=S=a:S=S.next=a}return S}var Zf;Zf=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}}; +function Tf(a){var b=Hf;Hf+=1;null===If&&(If=[]);a=oe(If,a,b);null===P.alternate&&(null===S?null===P.memoizedState:null===S.next)&&(Af.current=Mf);return a}function $f(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Tf(a);if(a.$$typeof===ta||a.$$typeof===ua)return ag(a)}throw Error(t(438,String(a)));} +function bg(a){var b=null,c=P.updateQueue;null!==c&&(b=c.memoCache);if(null==b){var d=P.alternate;null!==d&&(d=d.updateQueue,null!==d&&(d=d.memoCache,null!=d&&(b={data:d.data.map(function(e){return e.slice()}),index:0})))}null==b&&(b={data:[],index:0});null===c&&(c=Zf(),P.updateQueue=c);c.memoCache=b;c=b.data[b.index];if(void 0===c)for(c=b.data[b.index]=Array(a),d=0;d<a;d++)c[d]=Fa;b.index++;return c}function cg(a,b){return"function"===typeof b?b(a):b}function dg(a){var b=Yf();return eg(b,Q,a)} +function eg(a,b,c){var d=a.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=c;var e=a.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}b.baseQueue=e=f;d.pending=null}if(null!==e){b=e.next;f=a.baseState;var h=g=null,l=null,p=b;do{var q=p.lane&-536870913;if(q!==p.lane?(M&q)===q:(Cf&q)===q){q=p.revertLane;if(0===q)null!==l&&(l=l.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null});else if((Cf&q)===q){p= +p.next;continue}else{var w={lane:0,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===l?(h=l=w,g=f):l=l.next=w;P.lanes|=q;fe|=q}q=p.action;Ff&&c(f,q);f=p.hasEagerState?p.eagerState:c(f,q)}else w={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},null===l?(h=l=w,g=f):l=l.next=w,P.lanes|=q,fe|=q;p=p.next}while(null!==p&&p!==b);null===l?g=f:l.next=h;ed(f,a.memoizedState)||(fg=!0); +a.memoizedState=f;a.baseState=g;a.baseQueue=l;d.lastRenderedState=f}null===e&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function gg(a){var b=Yf(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);ed(f,b.memoizedState)||(fg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} +function hg(a,b,c){var d=P,e=Yf(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!ed((Q||e).memoizedState,c);g&&(e.memoizedState=c,fg=!0);e=e.queue;ig(jg.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==S&&S.memoizedState.tag&1){d.flags|=2048;kg(9,lg.bind(null,d,e,c,b),{destroy:void 0},null);if(null===N)throw Error(t(349));f||0!==(Cf&60)||mg(d,b,c)}return c} +function mg(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=P.updateQueue;null===b?(b=Zf(),P.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function lg(a,b,c,d){b.value=c;b.getSnapshot=d;ng(b)&&og(a)}function jg(a,b,c){return c(function(){ng(b)&&og(a)})}function ng(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!ed(a,c)}catch(d){return!0}}function og(a){var b=Vd(a,2);null!==b&&pg(b,a,2)} +function qg(a){var b=Xf();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cg,lastRenderedState:a};return b}function rg(a,b,c,d){a.baseState=c;return eg(a,Q,"function"===typeof d?d:cg)}function sg(a,b,c,d){if(tg(a))throw Error(t(485));a=b.pending;null===a?(a={payload:d,next:null},a.next=b.pending=a,ug(b,c,d)):a.next={payload:d,next:a.next}} +function ug(a,b,c){var d=a.action,e=a.state,f=Bf.transition;Bf.transition={};try{var g=d(e,c);g.then(function(l){a.state=l;vg(a,b)},function(){return vg(a,b)});var h=wf(g,null);b(h)}finally{Bf.transition=f}}function vg(a,b){var c=a.pending;if(null!==c){var d=c.next;d===c?a.pending=null:(d=d.next,c.next=d,ug(a,b,d.payload))}}function wg(a,b){return b} +function xg(a,b,c){a=eg(a,b,wg)[0];a=Tf(a);b=Yf();var d=b.queue,e=d.dispatch;c!==b.memoizedState&&(P.flags|=2048,kg(9,yg.bind(null,d,c),{destroy:void 0},null));return[a,e]}function yg(a,b){a.action=b}function kg(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=P.updateQueue;null===b?(b=Zf(),P.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function zg(){return Yf().memoizedState} +function Ag(a,b,c,d){var e=Xf();P.flags|=a;e.memoizedState=kg(1|b,c,{destroy:void 0},void 0===d?null:d)}function Bg(a,b,c,d){var e=Yf();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==Q&&null!==d&&Kf(d,Q.memoizedState.deps)?e.memoizedState=kg(b,c,f,d):(P.flags|=a,e.memoizedState=kg(1|b,c,f,d))}function Cg(a,b){Ag(8390656,8,a,b)}function ig(a,b){Bg(2048,8,a,b)} +function Dg(a){P.flags|=4;var b=P.updateQueue;if(null===b)b=Zf(),P.updateQueue=b,b.events=[a];else{var c=b.events;null===c?b.events=[a]:c.push(a)}}function Eg(a){var b=Yf().memoizedState;Dg({ref:b,nextImpl:a});return function(){if(0!==(L&2))throw Error(t(440));return b.impl.apply(void 0,arguments)}}function Fg(a,b){return Bg(4,2,a,b)}function Gg(a,b){return Bg(4,4,a,b)} +function Hg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Ig(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Bg(4,4,Hg.bind(null,b,a),c)}function Jg(){}function Kg(a,b){var c=Yf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Kf(b,d[1]))return d[0];c.memoizedState=[a,b];return a} +function Lg(a,b){var c=Yf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Kf(b,d[1]))return d[0];Ff&&a();a=a();c.memoizedState=[a,b];return a}function Mg(a,b,c){if(void 0===c||0!==(Cf&1073741824))return a.memoizedState=b;a.memoizedState=c;a=Ng();P.lanes|=a;fe|=a;return c}function Og(a,b,c,d){if(ed(c,b))return c;if(null!==Ge.current)return a=Mg(a,c,d),ed(a,b)||(fg=!0),a;if(0===(Cf&42))return fg=!0,a.memoizedState=c;a=Ng();P.lanes|=a;fe|=a;return b} +function Pg(a,b,c,d,e){var f=F;F=0!==f&&8>f?f:8;var g=Bf.transition;Bf.transition={};Qg(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=wf(h,d);Rg(a,b,l)}else{var p=zf(h,d);Rg(a,b,p)}}catch(q){Rg(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,Bf.transition=g}} +function Sg(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Pg(a,f,b,fa,function(){return c(d)})}function Tg(){var a=ag(Na);return null!==a?a:fa}function Ug(){return Yf().memoizedState} +function Vg(){return Yf().memoizedState}function Wg(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=Xg(d);a=ae(e);var f=be(d,a,e);null!==f&&(pg(f,d,e),ce(f,d,e));d=Yg();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function Zg(a,b,c){var d=Xg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};tg(a)?$g(b,c):(c=Td(a,b,c,d),null!==c&&(pg(c,a,d),ah(c,b,d)))} +function Rg(a,b,c){var d=Xg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(tg(a))$g(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(ed(h,g)){Sd(a,b,e,0);null===N&&Qd();return}}catch(l){}finally{}c=Td(a,b,e,d);null!==c&&(pg(c,a,d),ah(c,b,d))}} +function Qg(a,b,c,d){d={lane:2,revertLane:sf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(tg(a)){if(b)throw Error(t(479));}else b=Td(a,c,d,2),null!==b&&pg(b,a,2)}function tg(a){var b=a.alternate;return a===P||null!==b&&b===P}function $g(a,b){Ef=Df=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function ah(a,b,c){if(0!==(c&4194176)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;wb(a,c)}} +var Qf={readContext:ag,use:$f,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useInsertionEffect:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,useDebugValue:T,useDeferredValue:T,useTransition:T,useSyncExternalStore:T,useId:T};Qf.useCacheRefresh=T;Qf.useMemoCache=T;Qf.useEffectEvent=T;Qf.useHostTransitionStatus=T;Qf.useFormState=T;Qf.useOptimistic=T; +var Mf={readContext:ag,use:$f,useCallback:function(a,b){Xf().memoizedState=[a,void 0===b?null:b];return a},useContext:ag,useEffect:Cg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Ag(4194308,4,Hg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Ag(4194308,4,a,b)},useInsertionEffect:function(a,b){Ag(4,2,a,b)},useMemo:function(a,b){var c=Xf();b=void 0===b?null:b;Ff&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Xf();b=void 0!==c?c(b): +b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Zg.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Xf();a={current:a};return b.memoizedState=a},useState:function(a){a=qg(a);var b=a.queue,c=Rg.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Jg,useDeferredValue:function(a,b){var c=Xf();return Mg(c,a,b)},useTransition:function(){var a=qg(!1);a=Pg.bind(null,P,a.queue,!0,!1); +Xf().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Xf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(M&60)||mg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Cg(jg.bind(null,d,f,a),[a]);d.flags|=2048;kg(9,lg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Xf(),b=N.identifierPrefix;if(K){var c=nd;var d=md;c=(d&~(1<<32-ib(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Gf++;0<c&&(b+="H"+ +c.toString(32));b+=":"}else c=Jf++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return Xf().memoizedState=Wg.bind(null,P)}};Mf.useMemoCache=bg;Mf.useEffectEvent=function(a){var b=Xf(),c={impl:a};b.memoizedState=c;return function(){if(0!==(L&2))throw Error(t(440));return c.impl.apply(void 0,arguments)}};Mf.useHostTransitionStatus=Tg; +Mf.useFormState=function(a,b){if(K){var c=N.formState;null!==c&&Gd()&&(b=c[0])}var d={status:"fulfilled",value:b,then:function(){}};c=Xf();c.memoizedState=c.baseState=d;d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wg,lastRenderedState:d};c.queue=d;c=Rg.bind(null,P,d);d.dispatch=c;d=Xf();var e={state:b,dispatch:null,action:a,pending:null};d.queue=e;c=sg.bind(null,P,e,c);e.dispatch=c;d.memoizedState=a;return[b,c]}; +Mf.useOptimistic=function(a){var b=Xf();b.memoizedState=b.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};b.queue=c;b=Qg.bind(null,P,!0,c);c.dispatch=b;return[a,b]}; +var Nf={readContext:ag,use:$f,useCallback:Kg,useContext:ag,useEffect:ig,useImperativeHandle:Ig,useInsertionEffect:Fg,useLayoutEffect:Gg,useMemo:Lg,useReducer:dg,useRef:zg,useState:function(){return dg(cg)},useDebugValue:Jg,useDeferredValue:function(a,b){var c=Yf();return Og(c,Q.memoizedState,a,b)},useTransition:function(){var a=dg(cg)[0],b=Yf().memoizedState;return["boolean"===typeof a?a:Tf(a),b]},useSyncExternalStore:hg,useId:Ug};Nf.useCacheRefresh=Vg;Nf.useMemoCache=bg;Nf.useEffectEvent=Eg; +Nf.useHostTransitionStatus=Tg;Nf.useFormState=function(a){var b=Yf();return xg(b,Q,a)};Nf.useOptimistic=function(a,b){var c=Yf();return rg(c,Q,a,b)}; +var Rf={readContext:ag,use:$f,useCallback:Kg,useContext:ag,useEffect:ig,useImperativeHandle:Ig,useInsertionEffect:Fg,useLayoutEffect:Gg,useMemo:Lg,useReducer:gg,useRef:zg,useState:function(){return gg(cg)},useDebugValue:Jg,useDeferredValue:function(a,b){var c=Yf();return null===Q?Mg(c,a,b):Og(c,Q.memoizedState,a,b)},useTransition:function(){var a=gg(cg)[0],b=Yf().memoizedState;return["boolean"===typeof a?a:Tf(a),b]},useSyncExternalStore:hg,useId:Ug};Rf.useCacheRefresh=Vg;Rf.useMemoCache=bg; +Rf.useEffectEvent=Eg;Rf.useHostTransitionStatus=Tg;Rf.useFormState=function(a){var b=Yf(),c=Q;if(null!==c)return xg(b,c,a);b=Tf(b.memoizedState);c=Yf();var d=c.queue.dispatch;c.memoizedState=a;return[b,d]};Rf.useOptimistic=function(a,b){var c=Yf();if(null!==Q)return rg(c,Q,a,b);c.baseState=a;return[a,c.queue.dispatch]};function bh(a,b){if(a&&a.defaultProps){b=B({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function ch(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:B({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} +var dh={isMounted:function(a){return(a=a._reactInternals)?Nc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Xg(a),e=ae(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=be(a,e,d);null!==b&&(pg(b,a,d),ce(b,a,d))},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Xg(a),e=ae(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=be(a,e,d);null!==b&&(pg(b,a,d),ce(b,a,d))},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Xg(a),d=ae(c);d.tag=2;void 0!== +b&&null!==b&&(d.callback=b);b=be(a,d,c);null!==b&&(pg(b,a,c),ce(b,a,c))}};function eh(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!ie(c,d)||!ie(e,f):!0} +function fh(a,b,c){var d=!1,e=Tc;var f=b.contextType;"object"===typeof f&&null!==f?f=ag(f):(e=Yc(b)?Wc:Uc.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Xc(a,e):Tc);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=dh;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} +function gh(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&dh.enqueueReplaceState(b,b.state,null)} +function hh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};Zd(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=ag(f):(f=Yc(b)?Wc:Uc.current,e.context=Xc(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(ch(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, +"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&dh.enqueueReplaceState(e,e.state,null),ee(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function ih(a,b){try{var c="",d=b;do c+=ic(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} +function jh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function kh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function lh(a,b,c){c=ae(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){mh||(mh=!0,nh=d);kh(a,b)};return c} +function oh(a,b,c){c=ae(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){kh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){kh(a,b);"function"!==typeof d&&(null===ph?ph=new Set([this]):ph.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} +function qh(a){var b=a.tag;0!==(a.mode&1)||0!==b&&11!==b&&15!==b||((b=a.alternate)?(a.updateQueue=b.updateQueue,a.memoizedState=b.memoizedState,a.lanes=b.lanes):(a.updateQueue=null,a.memoizedState=null))}function rh(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=ae(2),b.tag=2,be(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} +function sh(a,b,c,d,e){c.flags|=32768;if(null!==d&&"object"===typeof d&&(d.$$typeof===Ga&&(d={then:function(){}}),"function"===typeof d.then)){qh(c);var f=Me.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===Ne?th():null===f.alternate&&0===uh&&(uh=3));f.flags&=-257;rh(f,b,c,a,e);d===le?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]):b.add(d),f.mode&1&&vh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===le?f.flags|=16384:(b=f.updateQueue,null===b?(b={transitions:null, +markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(f=b.retryQueue,null===f?b.retryQueue=new Set([d]):f.add(d)),vh(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){vh(a,d,e);th();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Me.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);rh(f,b,c,a,e);Md(ih(d,c));return}d=ih(d,c);wh(d);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=lh(a,d,e);de(a,e);return;case 1:if(f=d,b=a.type,c=a.stateNode,0===(a.flags&128)&&("function"=== +typeof b.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===ph||!ph.has(c)))){a.flags|=65536;e&=-e;a.lanes|=e;e=oh(a,f,e);de(a,e);return}}a=a.return}while(null!==a)}var xh=da.ReactCurrentOwner,yh=Error(t(461)),fg=!1;function zh(a,b,c,d){b.child=null===a?Fe(b,null,c,d):Ee(b,a.child,c,d)}function Ah(a,b,c,d,e){c=c.render;var f=b.ref;Bh(b,e);d=Lf(a,b,c,d,f,e);c=Uf();if(null!==a&&!fg)return Vf(a,b,e),Ch(a,b,e);K&&c&&qd(b);b.flags|=1;zh(a,b,d,e);return b.child} +function Dh(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!Eh(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,Fh(a,b,f,d,e);a=Ae(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:ie;if(c(g,d)&&a.ref===b.ref)return Ch(a,b,e)}b.flags|=1;a=ye(f,d);a.ref=b.ref;a.return=b;return b.child=a} +function Fh(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(ie(f,d)&&a.ref===b.ref)if(fg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(fg=!0);else return b.lanes=a.lanes,Ch(a,b,e)}return Gh(a,b,c,d,e)} +function Hh(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;Ih(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return Jh(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&Kh(b,null),Ke(),Qe(b);else if(0!==(c&536870912))b.memoizedState={baseLanes:0, +cachePool:null},null!==a&&Kh(b,null!==g?g.cachePool:null),null!==g?Ie(b,g):Ke(),Qe(b);else return b.lanes=b.childLanes=536870912,Jh(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(Kh(b,g.cachePool),Ie(b,g),Re(b),b.memoizedState=null):(null!==a&&Kh(b,null),Ke(),Re(b));zh(a,b,e,c);return b.child}function Jh(a,b,c){var d=Lh();d=null===d?null:{parent:Mh._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&Kh(b,null);Ke();Qe(b);return null} +function Ih(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function Gh(a,b,c,d,e){var f=Yc(c)?Wc:Uc.current;f=Xc(b,f);Bh(b,e);c=Lf(a,b,c,d,f,e);d=Uf();if(null!==a&&!fg)return Vf(a,b,e),Ch(a,b,e);K&&d&&qd(b);b.flags|=1;zh(a,b,c,e);return b.child}function Nh(a,b,c,d,e,f){Bh(b,f);c=Of(b,d,c,e);Pf();d=Uf();if(null!==a&&!fg)return Vf(a,b,f),Ch(a,b,f);K&&d&&qd(b);b.flags|=1;zh(a,b,c,f);return b.child} +function Oh(a,b,c,d,e){if(Yc(c)){var f=!0;bd(b)}else f=!1;Bh(b,e);if(null===b.stateNode)Ph(a,b),fh(b,c,d),hh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var l=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=ag(p):(p=Yc(c)?Wc:Uc.current,p=Xc(b,p));var q=c.getDerivedStateFromProps,w="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;w||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| +(h!==d||l!==p)&&gh(b,g,d,p);Yd=!1;var r=b.memoizedState;g.state=r;ee(b,d,g,e);l=b.memoizedState;h!==d||r!==l||Vc.current||Yd?("function"===typeof q&&(ch(b,c,q,d),l=b.memoizedState),(h=Yd||eh(b,c,h,d,r,l,p))?(w||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): +("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=l),g.props=d,g.state=l,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;$d(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:bh(b.type,h);g.props=p;w=b.pendingProps;r=g.context;l=c.contextType;"object"===typeof l&&null!==l?l=ag(l):(l=Yc(c)?Wc:Uc.current,l=Xc(b,l));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| +"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==w||r!==l)&&gh(b,g,d,l);Yd=!1;r=b.memoizedState;g.state=r;ee(b,d,g,e);var z=b.memoizedState;h!==w||r!==z||Vc.current||Yd?("function"===typeof u&&(ch(b,c,u,d),z=b.memoizedState),(p=Yd||eh(b,c,p,d,r,z,l)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,z,l),"function"===typeof g.UNSAFE_componentWillUpdate&& g.UNSAFE_componentWillUpdate(d,z,l)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=z),g.props=d,g.state=z,g.context=l,d=p):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r=== -a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return Kh(a,b,c,d,f,e)} -function Kh(a,b,c,d,e,f){Ch(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&$c(b,c,!1),wh(a,b,f);d=b.stateNode;rh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=Be(b,a.child,null,f),b.child=Be(b,null,h,f)):th(a,b,h,f);b.memoizedState=d.state;e&&$c(b,c,!0);return b.child}function Lh(a){var b=a.stateNode;b.pendingContext?Xc(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Xc(a,b.context,!1);Ma(a,b.containerInfo)} -function Mh(a,b,c,d,e){Id();Jd(e);b.flags|=256;th(a,b,c,d);return b.child}var Nh={dehydrated:null,treeContext:null,retryLane:0};function Oh(a){return{baseLanes:a,cachePool:Ph()}} -function Qh(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(Me.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?Le(b):Oe(b);K&&((f=a=J,f)?zd(b,f)||(Bd(b)&&Cd(),J=Ad(f),g=G,J&&zd(b,J)?rd(g,f):(td(G,b),K=!1,G=b,J=a)):(Bd(b)&&Cd(),td(G,b),K=!1,G=b,J=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=1073741824,null;Pe(b)}a=d.children;f=d.fallback;if(e)return Oe(b), -a=Rh(b,a,f,c),b.child.memoizedState=Oh(c),b.memoizedState=Nh,a;if("number"===typeof d.unstable_expectedLoadTime)return Oe(b),a=Rh(b,a,f,c),b.child.memoizedState=Oh(c),b.memoizedState=Nh,b.lanes=8388608,a;Le(b);return Sh(b,a)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return Th(a,b,f,d,h,g,c)}if(e){Oe(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var l={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=l,b.deletions=null):(d=ve(g, -l),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=ve(h,e):(e=ze(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=Oh(c):(g=f.cachePool,null!==g?(h=Gh._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=Ph(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState=Nh;return d}Le(b);e=a.child;a=e.sibling;d=ve(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return= -b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function Sh(a,b){b=Uh({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b}function Rh(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&1)&&null!==f?(f.childLanes=0,f.pendingProps=b):f=Uh(b,e,0,null);c=ze(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c} -function Vh(a,b,c,d){null!==d&&Jd(d);Be(b,a.child,null,c);a=Sh(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} -function Th(a,b,c,d,e,f,g){if(c){if(b.flags&256)return Le(b),b.flags&=-257,e=dh(Error(t(422))),Vh(a,b,g,e);if(null!==b.memoizedState)return Oe(b),b.child=a.child,b.flags|=128,null;Oe(b);e=d.fallback;f=b.mode;d=Uh({mode:"visible",children:d.children},f,0,null);e=ze(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Be(b,a.child,null,g);b.child.memoizedState=Oh(g);b.memoizedState=Nh;return e}Le(b);if(0===(b.mode&1))return Vh(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& -e.nextSibling.dataset;if(e)var h=e.dgst;e=h;f=null;"POSTPONE"!==e&&(f=Error(t(419)),f.digest=e,f=dh(f,e,void 0));return Vh(a,b,g,f)}h=0!==(g&a.childLanes);if(bg||h){d=N;if(null!==d){h=g&-g;if(0!==(h&42))h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h= -64;break;case 536870912:h=268435456;break;default:h=0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,Sd(a,h),lg(d,a,h),sh;}"$?"!==e.data&&nh();return Vh(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=Wh.bind(null,a),e._reactRetry=b,null;a=f.treeContext;J=wd(e.nextSibling);G=b;K=!0;pd=null;qd=!1;null!==a&&(gd[hd++]=jd,gd[hd++]=kd,gd[hd++]=id,jd=a.id,kd=a.overflow,id=b);b=Sh(b,d.children);b.flags|=4096;return b} -function Xh(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);Yh(a.return,b,c)}function Zh(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} -function $h(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;th(a,b,d.children,c);d=Me.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&Xh(a,c,b);else if(19===a.tag)Xh(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(Me,d);if(0===(b.mode&1))b.memoizedState= -null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Qe(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Zh(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Qe(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Zh(b,!0,c,null,f);break;case "together":Zh(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} -function Jh(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function wh(a,b,c){null!==a&&(b.dependencies=a.dependencies);ce|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=ve(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=ve(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} -function ai(a,b,c){switch(b.tag){case 3:Lh(b);bi(b,Gh,a.memoizedState.cache);Id();break;case 27:case 5:Qa(b);break;case 1:Vc(b.type)&&Zc(b);break;case 4:Ma(b,b.stateNode.containerInfo);break;case 10:bi(b,b.type._context,b.memoizedProps.value);break;case 13:var d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return Le(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return Qh(a,b,c);Le(b);a=wh(a,b,c);return null!==a?a.sibling:null}Le(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags& -128)){if(d)return $h(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(Me,Me.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,Bh(a,b,c);case 24:bi(b,Gh,a.memoizedState.cache)}return wh(a,b,c)}var ci=ka(null),di=null,ei=null,fi=null;function gi(){fi=ei=di=null}function bi(a,b,c){E(ci,b._currentValue);b._currentValue=c}function hi(a){var b=ci.current;a._currentValue=b===Ca?a._defaultValue:b;D(ci)} -function Yh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} -function ii(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=Yd(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var l=h.pending;null===l?g.next=g:(g.next=l.next,l.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);Yh(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== -f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);Yh(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function vh(a,b){di=a;fi=ei=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(bg=!0),a.firstContext=null)}function Xf(a){return ji(di,a)}function Ae(a,b,c){null===di&&vh(a,c);return ji(a,b)} -function ji(a,b){var c=b._currentValue;if(fi!==b)if(b={context:b,memoizedValue:c,next:null},null===ei){if(null===a)throw Error(t(308));ei=b;a.dependencies={lanes:0,firstContext:b}}else ei=ei.next=b;return c} -var ki="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},li=ba.unstable_scheduleCallback,mi=ba.unstable_NormalPriority,Gh={$$typeof:ra,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function Sg(){return{controller:new ki,data:new Map,refCount:0}} -function ni(a){a.refCount--;0===a.refCount&&li(mi,function(){a.controller.abort()})}var oi=da.ReactCurrentBatchConfig,pi=ka(null);function Fh(){var a=pi.current;return null!==a?a:N.pooledCache}function Eh(a,b){null===b?E(pi,pi.current):E(pi,b.pool)}function Ph(){var a=Fh();return null===a?null:{parent:Gh._currentValue,pool:a}}function qi(a){a.flags|=4}function ri(a){a.flags|=2097664} -function si(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(M&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(ti())a.flags|=8192;else throw me=ie,he;}function ui(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?qb():1073741824,a.lanes|=b)} -function vi(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} +a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return Qh(a,b,c,d,f,e)} +function Qh(a,b,c,d,e,f){Ih(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&cd(b,c,!1),Ch(a,b,f);d=b.stateNode;xh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=Ee(b,a.child,null,f),b.child=Ee(b,null,h,f)):zh(a,b,h,f);b.memoizedState=d.state;e&&cd(b,c,!0);return b.child}function Rh(a){var b=a.stateNode;b.pendingContext?$c(a,b.pendingContext,b.pendingContext!==b.context):b.context&&$c(a,b.context,!1);Oa(a,b.containerInfo)} +function Sh(a,b,c,d,e){Ld();Md(e);b.flags|=256;zh(a,b,c,d);return b.child}var Th={dehydrated:null,treeContext:null,retryLane:0};function Uh(a){return{baseLanes:a,cachePool:Vh()}} +function Wh(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(Pe.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?Oe(b):Re(b);K&&((f=a=J,f)?Cd(b,f)||(Ed(b)&&Fd(),J=Dd(f),g=G,J&&Cd(b,J)?ud(g,f):(wd(G,b),K=!1,G=b,J=a)):(Ed(b)&&Fd(),wd(G,b),K=!1,G=b,J=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=536870912,null;Se(b)}a=d.children;f=d.fallback;if(e)return Re(b), +a=Xh(b,a,f,c),b.child.memoizedState=Uh(c),b.memoizedState=Th,a;if("number"===typeof d.unstable_expectedLoadTime)return Re(b),a=Xh(b,a,f,c),b.child.memoizedState=Uh(c),b.memoizedState=Th,b.lanes=4194304,a;Oe(b);return Yh(b,a)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return Zh(a,b,f,d,h,g,c)}if(e){Re(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var l={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=l,b.deletions=null):(d=ye(g, +l),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=ye(h,e):(e=Ce(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=Uh(c):(g=f.cachePool,null!==g?(h=Mh._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=Vh(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState=Th;return d}Oe(b);e=a.child;a=e.sibling;d=ye(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return= +b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function Yh(a,b){b=$h({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b}function Xh(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&1)&&null!==f?(f.childLanes=0,f.pendingProps=b):f=$h(b,e,0,null);c=Ce(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c} +function ai(a,b,c,d){null!==d&&Md(d);Ee(b,a.child,null,c);a=Yh(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} +function Zh(a,b,c,d,e,f,g){if(c){if(b.flags&256)return Oe(b),b.flags&=-257,e=jh(Error(t(422))),ai(a,b,g,e);if(null!==b.memoizedState)return Re(b),b.child=a.child,b.flags|=128,null;Re(b);e=d.fallback;f=b.mode;d=$h({mode:"visible",children:d.children},f,0,null);e=Ce(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Ee(b,a.child,null,g);b.child.memoizedState=Uh(g);b.memoizedState=Th;return e}Oe(b);if(0===(b.mode&1))return ai(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& +e.nextSibling.dataset;if(e)var h=e.dgst;e=h;f=null;"POSTPONE"!==e&&(f=Error(t(419)),f.digest=e,f=jh(f,e,void 0));return ai(a,b,g,f)}h=0!==(g&a.childLanes);if(fg||h){d=N;if(null!==d){h=g&-g;if(0!==(h&42))h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:h=64;break; +case 268435456:h=134217728;break;default:h=0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,Vd(a,h),pg(d,a,h),yh;}"$?"!==e.data&&th();return ai(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=bi.bind(null,a),e._reactRetry=b,null;a=f.treeContext;J=zd(e.nextSibling);G=b;K=!0;sd=null;td=!1;null!==a&&(jd[kd++]=md,jd[kd++]=nd,jd[kd++]=ld,md=a.id,nd=a.overflow,ld=b);b=Yh(b,d.children);b.flags|=4096;return b} +function ci(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);di(a.return,b,c)}function ei(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} +function fi(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;zh(a,b,d.children,c);d=Pe.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&ci(a,c,b);else if(19===a.tag)ci(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(Pe,d);if(0===(b.mode&1))b.memoizedState= +null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Te(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);ei(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Te(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}ei(b,!0,c,null,f);break;case "together":ei(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} +function Ph(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function Ch(a,b,c){null!==a&&(b.dependencies=a.dependencies);fe|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=ye(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=ye(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} +function gi(a,b,c){switch(b.tag){case 3:Rh(b);hi(b,Mh,a.memoizedState.cache);Ld();break;case 27:case 5:Sa(b);break;case 1:Yc(b.type)&&bd(b);break;case 4:Oa(b,b.stateNode.containerInfo);break;case 10:hi(b,b.type._context,b.memoizedProps.value);break;case 13:var d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return Oe(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return Wh(a,b,c);Oe(b);a=Ch(a,b,c);return null!==a?a.sibling:null}Oe(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags& +128)){if(d)return fi(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(Pe,Pe.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,Hh(a,b,c);case 24:hi(b,Mh,a.memoizedState.cache)}return Ch(a,b,c)}var ii=ma(null),ji=null,ki=null,li=null;function mi(){li=ki=ji=null}function hi(a,b,c){E(ii,b._currentValue);b._currentValue=c}function ni(a){var b=ii.current;a._currentValue=b===Ea?a._defaultValue:b;D(ii)} +function di(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} +function oi(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=ae(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var l=h.pending;null===l?g.next=g:(g.next=l.next,l.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);di(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== +f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);di(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function Bh(a,b){ji=a;li=ki=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(fg=!0),a.firstContext=null)}function ag(a){return pi(ji,a)}function De(a,b,c){null===ji&&Bh(a,c);return pi(a,b)} +function pi(a,b){var c=b._currentValue;if(li!==b)if(b={context:b,memoizedValue:c,next:null},null===ki){if(null===a)throw Error(t(308));ki=b;a.dependencies={lanes:0,firstContext:b}}else ki=ki.next=b;return c} +var qi="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},ri=ba.unstable_scheduleCallback,si=ba.unstable_NormalPriority,Mh={$$typeof:ta,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function Yg(){return{controller:new qi,data:new Map,refCount:0}} +function ti(a){a.refCount--;0===a.refCount&&ri(si,function(){a.controller.abort()})}var ui=da.ReactCurrentBatchConfig,vi=ma(null);function Lh(){var a=vi.current;return null!==a?a:N.pooledCache}function Kh(a,b){null===b?E(vi,vi.current):E(vi,b.pool)}function Vh(){var a=Lh();return null===a?null:{parent:Mh._currentValue,pool:a}}function wi(a){a.flags|=4}function xi(a){a.flags|=2097664} +function yi(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(M&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(zi())a.flags|=8192;else throw pe=le,ke;}function Ai(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?rb():536870912,a.lanes|=b)} +function Bi(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} function U(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)for(var e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&31457280,d|=e.flags&31457280,e.return=a,e=e.sibling;else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b} -function wi(a,b,c){var d=b.pendingProps;od(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return U(b),null;case 1:return Vc(b.type)&&Wc(),U(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);hi(Gh);Pa();D(Sc);D(Rc);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Fd(b)?qi(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= -1024,null!==pd&&(xi(pd),pd=null));U(b);return null;case 26:c=b.memoizedState;if(null===a)qi(b),null!==b.ref&&ri(b),null!==c?(U(b),si(b,c)):(U(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&qi(b);a.ref!==b.ref&&ri(b);null!==c?(U(b),c===e?b.flags&=-16777217:si(b,c)):(a.memoizedProps!==d&&qi(b),U(b),b.flags&=-16777217)}return null;case 27:Ra(b);c=Ja.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&qi(b),a.ref!==b.ref&&ri(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); -U(b);return null}a=Ha.current;Fd(b)?yi(b.stateNode,b.type,b.memoizedProps,a,b):(a=zi(e,d,c),b.stateNode=a,qi(b));null!==b.ref&&ri(b)}U(b);return null;case 5:Ra(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&qi(b),a.ref!==b.ref&&ri(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));U(b);return null}a=Ha.current;if(Fd(b))yi(b.stateNode,b.type,b.memoizedProps,a,b);else{e=Ai(Ja.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", +function Ci(a,b,c){var d=b.pendingProps;rd(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return U(b),null;case 1:return Yc(b.type)&&Zc(),U(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);ni(Mh);Ra();D(Vc);D(Uc);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Id(b)?wi(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= +1024,null!==sd&&(Di(sd),sd=null));U(b);return null;case 26:c=b.memoizedState;if(null===a)wi(b),null!==b.ref&&xi(b),null!==c?(U(b),yi(b,c)):(U(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&wi(b);a.ref!==b.ref&&xi(b);null!==c?(U(b),c===e?b.flags&=-16777217:yi(b,c)):(a.memoizedProps!==d&&wi(b),U(b),b.flags&=-16777217)}return null;case 27:Ta(b);c=La.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&wi(b),a.ref!==b.ref&&xi(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); +U(b);return null}a=Ja.current;Id(b)?Ei(b.stateNode,b.type,b.memoizedProps,a,b):(a=Fi(e,d,c),b.stateNode=a,wi(b));null!==b.ref&&xi(b)}U(b);return null;case 5:Ta(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&wi(b),a.ref!==b.ref&&xi(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));U(b);return null}a=Ja.current;if(Id(b))Ei(b.stateNode,b.type,b.memoizedProps,a,b);else{e=Gi(La.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", c);break;default:switch(c){case "svg":a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case "math":a=e.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case "script":a=e.createElement("div");a.innerHTML="<script>\x3c/script>";a=a.removeChild(a.firstChild);break;case "select":a="string"===typeof d.is?e.createElement("select",{is:d.is}):e.createElement("select");d.multiple?a.multiple=!0:d.size&&(a.size=d.size);break;default:a="string"===typeof d.is?e.createElement(c,{is:d.is}): -e.createElement(c)}}a[zb]=b;a[Ab]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(Bi(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&qi(b)}null!==b.ref&& -ri(b)}U(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&qi(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=Ja.current;if(Fd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[zb]=b;if(d=a.nodeValue!==c)if(e=G,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);Ci(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&Ci(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&qi(b)}else a=Ai(a).createTextNode(d), -a[zb]=b,b.stateNode=a}U(b);return null;case 13:Pe(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==J&&0!==(b.mode&1)&&0===(b.flags&128))Hd(),Id(),b.flags|=384,e=!1;else if(e=Fd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[zb]=b}else Id(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;U(b);e=!1}else null!==pd&&(xi(pd),pd=null),e=!0;if(!e)return b.flags& -256?b:null}if(0!==(b.flags&128))return b.lanes=c,b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&&null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);ui(b,b.updateQueue);U(b);return null;case 4:return Pa(),null===a&&Di(b.stateNode.containerInfo), -U(b),null;case 10:return hi(b.type._context),U(b),null;case 17:return Vc(b.type)&&Wc(),U(b),null;case 19:D(Me);e=b.memoizedState;if(null===e)return U(b),null;d=0!==(b.flags&128);f=e.rendering;if(null===f)if(d)vi(e,!1);else{if(0!==oh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Qe(a);if(null!==f){b.flags|=128;vi(e,!1);a=f.updateQueue;b.updateQueue=a;ui(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)Ei(c,a),c=c.sibling;E(Me,Me.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Wa()> -Fi&&(b.flags|=128,d=!0,vi(e,!1),b.lanes=8388608)}else{if(!d)if(a=Qe(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,ui(b,a),vi(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return U(b),null}else 2*Wa()-e.renderingStartTime>Fi&&1073741824!==c&&(b.flags|=128,d=!0,vi(e,!1),b.lanes=8388608);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime= -Wa(),b.sibling=null,a=Me.current,E(Me,d?a&1|2:a&1),b;U(b);return null;case 22:case 23:return Pe(b),Ie(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&1073741824)&&0===(b.flags&128)&&(U(b),b.subtreeFlags&6&&(b.flags|=8192)):U(b),c=b.updateQueue,null!==c&&ui(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& -(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(pi),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),hi(Gh),U(b),null;case 25:return null}throw Error(t(156,b.tag));} -function Gi(a,b){od(b);switch(b.tag){case 1:return Vc(b.type)&&Wc(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return hi(Gh),Pa(),D(Sc),D(Rc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ra(b),null;case 13:Pe(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Id()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Me),null;case 4:return Pa(),null;case 10:return hi(b.type._context), -null;case 22:case 23:return Pe(b),Ie(),null!==a&&D(pi),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return hi(Gh),null;case 25:return null;default:return null}} -function Hi(a,b){od(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&Wc();break;case 3:hi(Gh);Pa();D(Sc);D(Rc);break;case 26:case 27:case 5:Ra(b);break;case 4:Pa();break;case 13:Pe(b);break;case 19:D(Me);break;case 10:hi(b.type._context);break;case 22:case 23:Pe(b);Ie();null!==a&&D(pi);break;case 24:hi(Gh)}}function Ii(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} -var Ji=!1,Ki=null,Li=!1,Mi=null,Ni={onError:function(a){Ji=!0;Ki=a}};function Oi(a,b,c,d,e,f,g,h,l){Ji=!1;Ki=null;Ii.apply(Ni,arguments)}function Pi(a,b,c,d,e,f,g,h,l){Oi.apply(this,arguments);if(Ji){if(Ji){var p=Ki;Ji=!1;Ki=null}else throw Error(t(198));Li||(Li=!0,Mi=p)}}var Qi=!1,Ri=!1,Si="function"===typeof WeakSet?WeakSet:Set,Ti=null; -function Ui(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function Vi(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} -function Wi(a,b,c){try{c()}catch(d){W(a,b,d)}}var Xi=!1; -function Yi(a,b){Zi=$i;a=aj();if(bj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(A){c=null;break a}var g=0,h=-1,l=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(l=g+d);3===w.nodeType&&(g+= -w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(l=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===l?null:{start:h,end:l}}else c=null}c=c||{start:0,end:0}}else c=null;cj={focusedElem:a,selectionRange:c};$i=!1;for(Ti=b;null!==Ti;)if(b=Ti,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Ti=a;else for(;null!==Ti;){b=Ti;try{var z=b.alternate,B=b.flags;switch(b.tag){case 0:if(0!==(B&4)){var V= -b.updateQueue,Q=null!==V?V.events:null;if(null!==Q)for(a=0;a<Q.length;a++){var m=Q[a];m.ref.impl=m.nextImpl}}break;case 11:case 15:break;case 1:if(0!==(B&1024)&&null!==z){var k=z.memoizedProps,n=z.memoizedState,v=b.stateNode,x=v.getSnapshotBeforeUpdate(b.elementType===b.type?k:Wg(b.type,k),n);v.__reactInternalSnapshotBeforeUpdate=x}break;case 3:0!==(B&1024)&&dj(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(B&1024))throw Error(t(163));}}catch(A){W(b, -b.return,A)}a=b.sibling;if(null!==a){a.return=b.return;Ti=a;break}Ti=b.return}z=Xi;Xi=!1;return z}function ej(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,Wi(b,c,g))}e=e.next}while(e!==d)}}function fj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create,e=c.inst;d=d();e.destroy=d}c=c.next}while(c!==b)}} -function gj(a,b){try{fj(b,a)}catch(c){W(a,a.return,c)}}function hj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{ee(b,c)}catch(d){W(a,a.return,d)}}}function ij(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} -function jj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:kj(a,c);d&4&&gj(c,5);break;case 1:kj(a,c);if(d&4)if(a=c.stateNode,null===b)try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:Wg(c.type,b.memoizedProps);b=b.memoizedState;try{a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&hj(c);d&512&&Ui(c,c.return);break;case 3:kj(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a= -c.child.stateNode;break;case 1:a=c.child.stateNode}try{ee(d,a)}catch(h){W(c,c.return,h)}}break;case 26:kj(a,c);d&512&&Ui(c,c.return);break;case 27:case 5:kj(a,c);null===b&&d&4&&ij(c);d&512&&Ui(c,c.return);break;case 12:kj(a,c);break;case 13:kj(a,c);d&4&&lj(a,c);break;case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||Qi,!e){b=null!==b&&null!==b.memoizedState||Ri;var f=Qi,g=Ri;Qi=e;(Ri=b)&&!g?mj(a,c,0!==(c.subtreeFlags&8772)):kj(a,c);Qi=f;Ri=g}}else kj(a,c);d&512&&("manual"===c.memoizedProps.mode? -Ui(c,c.return):Vi(c,c.return));break;default:kj(a,c)}}function nj(a){var b=a.alternate;null!==b&&(a.alternate=null,nj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Ib(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function oj(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} -function pj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||oj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} -function qj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=rj));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(qj(a,b,c),a=a.sibling;null!==a;)qj(a,b,c),a=a.sibling} -function sj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(sj(a,b,c),a=a.sibling;null!==a;)sj(a,b,c),a=a.sibling}var tj=null,uj=!1;function vj(a,b,c){for(c=c.child;null!==c;)wj(a,b,c),c=c.sibling} -function wj(a,b,c){if(db&&"function"===typeof db.onCommitFiberUnmount)try{db.onCommitFiberUnmount(cb,c)}catch(l){}switch(c.tag){case 26:Ri||Vi(c,b);vj(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Ri||Vi(c,b);var d=tj,e=uj;tj=c.stateNode;vj(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Ib(c);tj=d;uj=e;break;case 5:Ri||Vi(c,b);case 6:d=tj;e=uj;tj=null;vj(a,b,c);tj=d;uj=e;null!==tj&&(uj?(a=tj,c=c.stateNode, -8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):tj.removeChild(c.stateNode));break;case 18:null!==tj&&(uj?(a=tj,c=c.stateNode,8===a.nodeType?xj(a.parentNode,c):1===a.nodeType&&xj(a,c),yj(a)):xj(tj,c.stateNode));break;case 4:d=tj;e=uj;tj=c.stateNode.containerInfo;uj=!0;vj(a,b,c);tj=d;uj=e;break;case 0:case 11:case 14:case 15:if(!Ri&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,Wi(c,b,h)): -0!==(f&4)&&(g.destroy=void 0,Wi(c,b,h)));e=e.next}while(e!==d)}vj(a,b,c);break;case 1:if(!Ri&&(Vi(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(l){W(c,b,l)}vj(a,b,c);break;case 21:vj(a,b,c);break;case 22:Vi(c,b);c.mode&1?(Ri=(d=Ri)||null!==c.memoizedState,vj(a,b,c),Ri=d):vj(a,b,c);break;default:vj(a,b,c)}} -function lj(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{yj(a)}catch(c){W(b,b.return,c)}}function zj(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new Si);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new Si),b;default:throw Error(t(435,a.tag));}}function Aj(a,b){var c=zj(a);b.forEach(function(d){var e=Bj.bind(null,a,d);c.has(d)||(c.add(d),d.then(e,e))})} -function Cj(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:tj=h.stateNode;uj=!1;break a;case 3:tj=h.stateNode.containerInfo;uj=!0;break a;case 4:tj=h.stateNode.containerInfo;uj=!0;break a}h=h.return}if(null===tj)throw Error(t(160));wj(f,g,e);tj=null;uj=!1;var l=e.alternate;null!==l&&(l.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)Dj(b,a),b=b.sibling} -var Ej=null; -function Dj(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Cj(b,a);Fj(a);if(d&4){try{ej(3,a,a.return),fj(3,a)}catch(u){W(a,a.return,u)}try{ej(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:Cj(b,a);Fj(a);d&512&&null!==c&&Vi(c,c.return);d&64&&Qi&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e=Ej;Cj(b,a);Fj(a);d&512&&null!==c&&Vi(c,c.return);if(d&4)if(b=null!== -c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Hb]||e[zb]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));Bi(e,c,d);e[zb]=a;Pb(e);c=e;break a;case "link":var f=Gj("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g], -e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);Bi(e,c,d);b.head.appendChild(e);break;case "meta":if(f=Gj("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")===(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null== -d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);Bi(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[zb]=a;Pb(e);c=e}a.stateNode=c}else Hj(e,a.type,a.stateNode);else a.stateNode=Ij(e,d,a.memoizedProps);else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)): -b.count--,null===d?Hj(e,a.type,a.stateNode):Ij(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,l=a.memoizedProps;Jj(h,a.type,c.memoizedProps,l);h[Ab]=l}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Hb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"===q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p= -e.attributes;p.length;)e.removeAttributeNode(p[0]);Bi(e,g,f);e[zb]=a;e[Ab]=f}case 5:Cj(b,a);Fj(a);d&512&&null!==c&&Vi(c,c.return);if(a.flags&32){b=a.stateNode;try{xc(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{Jj(d,e,c,b),d[Ab]=b}catch(u){W(a,a.return,u)}}break;case 6:Cj(b,a);Fj(a);if(d&4){if(null===a.stateNode)throw Error(t(162));c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return, -u)}}break;case 3:Kj=null;e=Ej;Ej=Lj(b.containerInfo);Cj(b,a);Ej=e;Fj(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{yj(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=Ej;Ej=Lj(a.stateNode.containerInfo);Cj(b,a);Fj(a);Ej=c;break;case 13:Cj(b,a);Fj(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(Mj=Wa());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Aj(a,c)));break;case 22:d&512&&null!==c&&Vi(c,c.return);h=null!==a.memoizedState;l=null!==c&& -null!==c.memoizedState;if(a.mode&1){var w=Qi,r=Ri;Qi=w||h;Ri=r||l;Cj(b,a);Ri=r;Qi=w}else Cj(b,a);Fj(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=Qi||Ri,null===c||l||b||0!==(a.mode&1)&&Nj(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e=b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display", +e.createElement(c)}}a[Cb]=b;a[Db]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(Hi(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&wi(b)}null!==b.ref&& +xi(b)}U(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&wi(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=La.current;if(Id(b)){a:{a=b.stateNode;c=b.memoizedProps;a[Cb]=b;if(d=a.nodeValue!==c)if(e=G,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);Ii(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&Ii(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&wi(b)}else a=Gi(a).createTextNode(d), +a[Cb]=b,b.stateNode=a}U(b);return null;case 13:Se(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==J&&0!==(b.mode&1)&&0===(b.flags&128))Kd(),Ld(),b.flags|=384,e=!1;else if(e=Id(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[Cb]=b}else Ld(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;U(b);e=!1}else null!==sd&&(Di(sd),sd=null),e=!0;if(!e)return b.flags& +256?b:null}if(0!==(b.flags&128))return b.lanes=c,b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&&null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);Ai(b,b.updateQueue);U(b);return null;case 4:return Ra(),null===a&&Ji(b.stateNode.containerInfo), +U(b),null;case 10:return ni(b.type._context),U(b),null;case 17:return Yc(b.type)&&Zc(),U(b),null;case 19:D(Pe);e=b.memoizedState;if(null===e)return U(b),null;d=0!==(b.flags&128);f=e.rendering;if(null===f)if(d)Bi(e,!1);else{if(0!==uh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Te(a);if(null!==f){b.flags|=128;Bi(e,!1);a=f.updateQueue;b.updateQueue=a;Ai(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)Ki(c,a),c=c.sibling;E(Pe,Pe.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Ya()> +Li&&(b.flags|=128,d=!0,Bi(e,!1),b.lanes=4194304)}else{if(!d)if(a=Te(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,Ai(b,a),Bi(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return U(b),null}else 2*Ya()-e.renderingStartTime>Li&&536870912!==c&&(b.flags|=128,d=!0,Bi(e,!1),b.lanes=4194304);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Ya(), +b.sibling=null,a=Pe.current,E(Pe,d?a&1|2:a&1),b;U(b);return null;case 22:case 23:return Se(b),Le(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&536870912)&&0===(b.flags&128)&&(U(b),b.subtreeFlags&6&&(b.flags|=8192)):U(b),c=b.updateQueue,null!==c&&Ai(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& +(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(vi),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),ni(Mh),U(b),null;case 25:return null}throw Error(t(156,b.tag));} +function Mi(a,b){rd(b);switch(b.tag){case 1:return Yc(b.type)&&Zc(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return ni(Mh),Ra(),D(Vc),D(Uc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ta(b),null;case 13:Se(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Ld()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Pe),null;case 4:return Ra(),null;case 10:return ni(b.type._context), +null;case 22:case 23:return Se(b),Le(),null!==a&&D(vi),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return ni(Mh),null;case 25:return null;default:return null}} +function Ni(a,b){rd(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&Zc();break;case 3:ni(Mh);Ra();D(Vc);D(Uc);break;case 26:case 27:case 5:Ta(b);break;case 4:Ra();break;case 13:Se(b);break;case 19:D(Pe);break;case 10:ni(b.type._context);break;case 22:case 23:Se(b);Le();null!==a&&D(vi);break;case 24:ni(Mh)}}function Oi(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} +var Pi=!1,Qi=null,Ri=!1,Si=null,Ti={onError:function(a){Pi=!0;Qi=a}};function Ui(a,b,c,d,e,f,g,h,l){Pi=!1;Qi=null;Oi.apply(Ti,arguments)}function Vi(a,b,c,d,e,f,g,h,l){Ui.apply(this,arguments);if(Pi){if(Pi){var p=Qi;Pi=!1;Qi=null}else throw Error(t(198));Ri||(Ri=!0,Si=p)}}var Wi=!1,Xi=!1,Yi="function"===typeof WeakSet?WeakSet:Set,Zi=null; +function $i(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function aj(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} +function bj(a,b,c){try{c()}catch(d){W(a,b,d)}}var cj=!1; +function dj(a,b){ej=fj;a=gj();if(hj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(A){c=null;break a}var g=0,h=-1,l=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(l=g+d);3===w.nodeType&&(g+= +w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(l=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===l?null:{start:h,end:l}}else c=null}c=c||{start:0,end:0}}else c=null;ij={focusedElem:a,selectionRange:c};fj=!1;for(Zi=b;null!==Zi;)if(b=Zi,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Zi=a;else for(;null!==Zi;){b=Zi;try{var z=b.alternate,C=b.flags;switch(b.tag){case 0:if(0!==(C&4)){var V= +b.updateQueue,R=null!==V?V.events:null;if(null!==R)for(a=0;a<R.length;a++){var m=R[a];m.ref.impl=m.nextImpl}}break;case 11:case 15:break;case 1:if(0!==(C&1024)&&null!==z){var k=z.memoizedProps,n=z.memoizedState,v=b.stateNode,x=v.getSnapshotBeforeUpdate(b.elementType===b.type?k:bh(b.type,k),n);v.__reactInternalSnapshotBeforeUpdate=x}break;case 3:0!==(C&1024)&&jj(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(C&1024))throw Error(t(163));}}catch(A){W(b, +b.return,A)}a=b.sibling;if(null!==a){a.return=b.return;Zi=a;break}Zi=b.return}z=cj;cj=!1;return z}function kj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,bj(b,c,g))}e=e.next}while(e!==d)}}function lj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create,e=c.inst;d=d();e.destroy=d}c=c.next}while(c!==b)}} +function mj(a,b){try{lj(b,a)}catch(c){W(a,a.return,c)}}function nj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{he(b,c)}catch(d){W(a,a.return,d)}}}function oj(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} +function pj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:qj(a,c);d&4&&mj(c,5);break;case 1:qj(a,c);if(d&4)if(a=c.stateNode,null===b)try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:bh(c.type,b.memoizedProps);b=b.memoizedState;try{a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&nj(c);d&512&&$i(c,c.return);break;case 3:qj(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a= +c.child.stateNode;break;case 1:a=c.child.stateNode}try{he(d,a)}catch(h){W(c,c.return,h)}}break;case 26:qj(a,c);d&512&&$i(c,c.return);break;case 27:case 5:qj(a,c);null===b&&d&4&&oj(c);d&512&&$i(c,c.return);break;case 12:qj(a,c);break;case 13:qj(a,c);d&4&&rj(a,c);break;case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||Wi,!e){b=null!==b&&null!==b.memoizedState||Xi;var f=Wi,g=Xi;Wi=e;(Xi=b)&&!g?sj(a,c,0!==(c.subtreeFlags&8772)):qj(a,c);Wi=f;Xi=g}}else qj(a,c);d&512&&("manual"===c.memoizedProps.mode? +$i(c,c.return):aj(c,c.return));break;default:qj(a,c)}}function tj(a){var b=a.alternate;null!==b&&(a.alternate=null,tj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Lb(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function uj(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} +function vj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||uj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} +function wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=xj));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(wj(a,b,c),a=a.sibling;null!==a;)wj(a,b,c),a=a.sibling} +function yj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(yj(a,b,c),a=a.sibling;null!==a;)yj(a,b,c),a=a.sibling}var zj=null,Aj=!1;function Bj(a,b,c){for(c=c.child;null!==c;)Cj(a,b,c),c=c.sibling} +function Cj(a,b,c){if(fb&&"function"===typeof fb.onCommitFiberUnmount)try{fb.onCommitFiberUnmount(eb,c)}catch(l){}switch(c.tag){case 26:Xi||aj(c,b);Bj(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Xi||aj(c,b);var d=zj,e=Aj;zj=c.stateNode;Bj(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Lb(c);zj=d;Aj=e;break;case 5:Xi||aj(c,b);case 6:d=zj;e=Aj;zj=null;Bj(a,b,c);zj=d;Aj=e;null!==zj&&(Aj?(a=zj,c=c.stateNode, +8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):zj.removeChild(c.stateNode));break;case 18:null!==zj&&(Aj?(a=zj,c=c.stateNode,8===a.nodeType?Dj(a.parentNode,c):1===a.nodeType&&Dj(a,c),Ej(a)):Dj(zj,c.stateNode));break;case 4:d=zj;e=Aj;zj=c.stateNode.containerInfo;Aj=!0;Bj(a,b,c);zj=d;Aj=e;break;case 0:case 11:case 14:case 15:if(!Xi&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,bj(c,b,h)): +0!==(f&4)&&(g.destroy=void 0,bj(c,b,h)));e=e.next}while(e!==d)}Bj(a,b,c);break;case 1:if(!Xi&&(aj(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(l){W(c,b,l)}Bj(a,b,c);break;case 21:Bj(a,b,c);break;case 22:aj(c,b);c.mode&1?(Xi=(d=Xi)||null!==c.memoizedState,Bj(a,b,c),Xi=d):Bj(a,b,c);break;default:Bj(a,b,c)}} +function rj(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{Ej(a)}catch(c){W(b,b.return,c)}}function Fj(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new Yi);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new Yi),b;default:throw Error(t(435,a.tag));}}function Gj(a,b){var c=Fj(a);b.forEach(function(d){var e=Hj.bind(null,a,d);c.has(d)||(c.add(d),d.then(e,e))})} +function Ij(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:zj=h.stateNode;Aj=!1;break a;case 3:zj=h.stateNode.containerInfo;Aj=!0;break a;case 4:zj=h.stateNode.containerInfo;Aj=!0;break a}h=h.return}if(null===zj)throw Error(t(160));Cj(f,g,e);zj=null;Aj=!1;var l=e.alternate;null!==l&&(l.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)Jj(b,a),b=b.sibling} +var Kj=null; +function Jj(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Ij(b,a);Lj(a);if(d&4){try{kj(3,a,a.return),lj(3,a)}catch(u){W(a,a.return,u)}try{kj(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:Ij(b,a);Lj(a);d&512&&null!==c&&aj(c,c.return);d&64&&Wi&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e=Kj;Ij(b,a);Lj(a);d&512&&null!==c&&aj(c,c.return);if(d&4)if(b=null!== +c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Kb]||e[Cb]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));Hi(e,c,d);e[Cb]=a;Sb(e);c=e;break a;case "link":var f=Mj("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g], +e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);Hi(e,c,d);b.head.appendChild(e);break;case "meta":if(f=Mj("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")===(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null== +d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);Hi(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[Cb]=a;Sb(e);c=e}a.stateNode=c}else Nj(e,a.type,a.stateNode);else a.stateNode=Oj(e,d,a.memoizedProps);else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)): +b.count--,null===d?Nj(e,a.type,a.stateNode):Oj(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,l=a.memoizedProps;Pj(h,a.type,c.memoizedProps,l);h[Db]=l}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Kb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"===q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p= +e.attributes;p.length;)e.removeAttributeNode(p[0]);Hi(e,g,f);e[Cb]=a;e[Db]=f}case 5:Ij(b,a);Lj(a);d&512&&null!==c&&aj(c,c.return);if(a.flags&32){b=a.stateNode;try{Ac(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{Pj(d,e,c,b),d[Db]=b}catch(u){W(a,a.return,u)}}break;case 6:Ij(b,a);Lj(a);if(d&4){if(null===a.stateNode)throw Error(t(162));c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return, +u)}}break;case 3:Qj=null;e=Kj;Kj=Rj(b.containerInfo);Ij(b,a);Kj=e;Lj(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{Ej(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=Kj;Kj=Rj(a.stateNode.containerInfo);Ij(b,a);Lj(a);Kj=c;break;case 13:Ij(b,a);Lj(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(Sj=Ya());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Gj(a,c)));break;case 22:d&512&&null!==c&&aj(c,c.return);h=null!==a.memoizedState;l=null!==c&& +null!==c.memoizedState;if(a.mode&1){var w=Wi,r=Xi;Wi=w||h;Xi=r||l;Ij(b,a);Xi=r;Wi=w}else Ij(b,a);Lj(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=Wi||Xi,null===c||l||b||0!==(a.mode&1)&&Tj(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e=b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display", "none","important"):f.display="none"):(g=b.stateNode,p=b.memoizedProps.style,q=void 0!==p&&null!==p&&p.hasOwnProperty("display")?p.display:null,g.style.display=null==q||"boolean"===typeof q?"":(""+q).trim())}catch(u){W(a,a.return,u)}}}else if(6===b.tag){if(null===c)try{b.stateNode.nodeValue=h?"":b.memoizedProps}catch(u){W(a,a.return,u)}}else if((22!==b.tag&&23!==b.tag||null===b.memoizedState||b===a)&&null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null=== -b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,Aj(a,d))));break;case 19:Cj(b,a);Fj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Aj(a,c)));break;case 21:break;default:Cj(b,a),Fj(a)}} -function Fj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(oj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=pj(a);sj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(xc(g,""),d.flags&=-33);var h=pj(a);sj(a,h,g);break;case 3:case 4:var l=d.stateNode.containerInfo,p=pj(a);qj(a,p,l);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} -function kj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)jj(a,b.alternate,b),b=b.sibling} -function Nj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:ej(4,b,b.return);Nj(b);break;case 1:Vi(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{var f=d;c.props=f.memoizedProps;c.state=f.memoizedState;c.componentWillUnmount()}catch(g){W(d,e,g)}}Nj(b);break;case 26:case 27:case 5:Vi(b,b.return);Nj(b);break;case 22:Vi(b,b.return);null===b.memoizedState&&Nj(b);break;default:Nj(b)}a=a.sibling}} -function mj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:mj(e,f,c);gj(f,4);break;case 1:mj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(l){W(f,f.return,l)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)de(h[d],e)}c&&g&64&&hj(f);Ui(f,f.return);break;case 26:case 27:case 5:mj(e,f,c); -c&&null===d&&g&4&&ij(f);Ui(f,f.return);break;case 12:mj(e,f,c);break;case 13:mj(e,f,c);c&&g&4&&lj(e,f);break;case 22:null===f.memoizedState&&mj(e,f,c);Ui(f,f.return);break;default:mj(e,f,c)}b=b.sibling}}function Oj(a,b){try{fj(b,a)}catch(c){W(a,a.return,c)}} -function Pj(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&ni(c))}function Qj(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&ni(a))} -function Rj(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)Sj(a,b,c,d),b=b.sibling} -function Sj(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Rj(a,b,c,d);e&2048&&Oj(b,9);break;case 3:Rj(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&ni(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Rj(a,b,c,d):b.mode&1?Tj(a,b):(f._visibility|=4,Rj(a,b,c,d)):f._visibility&4?Rj(a,b,c,d):(f._visibility|=4,Uj(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&Pj(b.alternate, -b);break;case 24:Rj(a,b,c,d);e&2048&&Qj(b.alternate,b);break;default:Rj(a,b,c,d)}} -function Uj(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,l=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:Uj(f,g,h,l,e);Oj(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?Uj(f,g,h,l,e):g.mode&1?Tj(f,g):(q._visibility|=4,Uj(f,g,h,l,e)):(q._visibility|=4,Uj(f,g,h,l,e));e&&p&2048&&Pj(g.alternate,g);break;case 24:Uj(f,g,h,l,e);e&&p&2048&&Qj(g.alternate,g);break;default:Uj(f,g,h,l,e)}b=b.sibling}} -function Tj(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:Tj(c,d);e&2048&&Pj(d.alternate,d);break;case 24:Tj(c,d);e&2048&&Qj(d.alternate,d);break;default:Tj(c,d)}b=b.sibling}}var Vj=8192;function Wj(a){if(a.subtreeFlags&Vj)for(a=a.child;null!==a;)Xj(a),a=a.sibling} -function Xj(a){switch(a.tag){case 26:Wj(a);a.flags&Vj&&null!==a.memoizedState&&Yj(Ej,a.memoizedState,a.memoizedProps);break;case 5:Wj(a);break;case 3:case 4:var b=Ej;Ej=Lj(a.stateNode.containerInfo);Wj(a);Ej=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=Vj,Vj=16777216,Wj(a),Vj=b):Wj(a));break;default:Wj(a)}}function Zj(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} -function ak(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Ti=d;bk(d,a)}Zj(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)ck(a),a=a.sibling}function ck(a){switch(a.tag){case 0:case 11:case 15:ak(a);a.flags&2048&&ej(9,a,a.return);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,dk(a)):ak(a);break;default:ak(a)}} -function dk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Ti=d;bk(d,a)}Zj(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:ej(8,b,b.return);dk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,dk(b));break;default:dk(b)}a=a.sibling}} -function bk(a,b){for(;null!==Ti;){var c=Ti;switch(c.tag){case 0:case 11:case 15:ej(8,c,b);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:ni(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,Ti=d;else a:for(c=a;null!==Ti;){d=Ti;var e=d.sibling,f=d.return;nj(d);if(d===c){Ti=null;break a}if(null!==e){e.return=f;Ti=e;break a}Ti=f}}} -var ek={getCacheSignal:function(){return Xf(Gh).controller.signal},getCacheForType:function(a){var b=Xf(Gh),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},fk="function"===typeof WeakMap?WeakMap:Map,gk=da.ReactCurrentDispatcher,hk=da.ReactCurrentCache,ik=da.ReactCurrentOwner,jk=da.ReactCurrentBatchConfig,L=0,N=null,X=null,M=0,O=0,kk=null,lk=!1,Ge=0,oh=0,df=null,ce=0,mk=0,nk=0,ok=null,hf=null,Mj=0,Fi=Infinity,jf=null,gh=!1,hh=null,jh=null,pk=!1,qk=null,rk=0,sk=0,tk=null,Td=0,Ud=null; -function Rg(a){if(0===(a.mode&1))return 2;if(0!==(L&2)&&0!==M)return M&-M;if(null!==oi.transition)return a=rf,0!==a?a:of();a=F;if(0!==a)return a;a=window.event;a=void 0===a?32:uk(a.type);return a}function lg(a,b,c){if(a===N&&2===O||null!==a.cancelPendingCommit)ef(a,0),ff(a,M);sb(a,c);if(0===(L&2)||a!==N)a===N&&(0===(L&2)&&(mk|=c),4===oh&&ff(a,M)),Xe(a),2===c&&0===L&&0===(b.mode&1)&&(Fi=Wa()+500,$e(!0))} -function mf(a,b){if(0!==(L&6))throw Error(t(327));var c=a.callbackNode;if(af()&&a.callbackNode!==c)return null;var d=mb(a,a===N?M:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?vk(a,d):bf(a,d);if(0!==b){var f=e;do{if(6===b)ff(a,d);else{e=a.current.alternate;if(f&&!wk(e)){b=bf(a,d);f=!1;continue}if(2===b){f=d;var g=ob(a,f);0!==g&&(d=g,b=cf(a,f,g))}if(1===b)throw c=df,ef(a,0),ff(a,d),Xe(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); -case 4:if((d&8388480)===d){ff(f,d);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&125829120)===d&&(b=Mj+300-Wa(),10<b)){ff(f,d);if(0!==mb(f,0))break a;f.timeoutHandle=xk(yk.bind(null,f,e,hf,jf,d),b);break a}yk(f,e,hf,jf,d)}}break}while(1)}Xe(a);lf(a,Wa());a=a.callbackNode===c?mf.bind(null,a):null;return a} -function cf(a,b,c){var d=ok,e=a.current.memoizedState.isDehydrated;e&&(ef(a,c).flags|=256);c=bf(a,c);if(2!==c){if(lk&&!e)return a.errorRecoveryDisabledLanes|=b,mk|=b,4;a=hf;hf=d;null!==a&&xi(a)}return c}function xi(a){null===hf?hf=a:hf.push.apply(hf,a)}function yk(a,b,c,d,e){if(0===(e&42)&&(zk={stylesheets:null,count:0,unsuspend:Ak},Xj(b),b=Bk(),null!==b)){a.cancelPendingCommit=b(gf.bind(null,a,c,d));ff(a,e);return}gf(a,c,d)} -function wk(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!bd(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} -function ff(a,b){b&=~nk;b&=~mk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-gb(b),d=1<<c;a[c]=-1;b&=~d}}function Ck(a,b){var c=L;L|=1;try{return a(b)}finally{L=c,0===L&&(Fi=Wa()+500,$e(!0))}}function Dk(a){null!==qk&&0===qk.tag&&0===(L&6)&&af();var b=L;L|=1;var c=jk.transition,d=F;try{if(jk.transition=null,F=2,a)return a()}finally{F=d,jk.transition=c,L=b,0===(L&6)&&$e(!1)}} -function Ek(){if(null!==X){if(0===O)var a=X.return;else a=X,gi(),Sf(a),oe=null,pe=0,a=X;for(;null!==a;)Hi(a.alternate,a),a=a.return;X=null}}function ef(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Fk(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());Ek();N=a;X=a=ve(a.current,null);M=Ge=b;O=0;kk=null;lk=!1;oh=0;df=null;nk=mk=ce=0;hf=ok=null;Nd();return a} -function Gk(a,b){P=null;wf.current=Mf;ik.current=null;b===ge?(b=ne(),O=ti()&&0===(ce&268435455)&&0===(mk&268435455)?2:3):b===he?(b=ne(),O=4):O=b===sh?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;kk=b;null===X&&(oh=1,df=b)}function ti(){var a=Je.current;return null===a?!0:(M&8388480)===M?null===Ke?!0:!1:(M&125829120)===M||0!==(M&1073741824)?a===Ke:!1}function Hk(){var a=gk.current;gk.current=Mf;return null===a?Mf:a}function Ik(){var a=hk.current;hk.current=ek;return a} -function nh(){oh=4;null===N||0===(ce&268435455)&&0===(mk&268435455)||ff(N,M)}function qh(a){4!==oh&&(oh=2);null===ok?ok=[a]:ok.push(a)} -function bf(a,b){var c=L;L|=2;var d=Hk(),e=Ik();if(N!==a||M!==b)jf=null,ef(a,b);b=!1;a:do try{if(0!==O&&null!==X){var f=X,g=kk;switch(O){case 8:Ek();oh=6;break a;case 3:case 2:b||null!==Je.current||(b=!0);default:O=0,kk=null,Jk(f,g)}}Kk();break}catch(h){Gk(a,h)}while(1);b&&a.shellSuspendCounter++;gi();L=c;gk.current=d;hk.current=e;if(null!==X)throw Error(t(261));N=null;M=0;Nd();return oh}function Kk(){for(;null!==X;)Lk(X)} -function vk(a,b){var c=L;L|=2;var d=Hk(),e=Ik();if(N!==a||M!==b)jf=null,Fi=Wa()+500,ef(a,b);a:do try{if(0!==O&&null!==X){b=X;var f=kk;b:switch(O){case 1:O=0;kk=null;Jk(b,f);break;case 2:if(je(f)){O=0;kk=null;Mk(b);break}b=function(){2===O&&N===a&&(O=7);Xe(a)};f.then(b,b);break a;case 3:O=7;break a;case 4:O=5;break a;case 7:je(f)?(O=0,kk=null,Mk(b)):(O=0,kk=null,Jk(b,f));break;case 5:switch(X.tag){case 5:case 26:case 27:b=X;O=0;kk=null;var g=b.sibling;if(null!==g)X=g;else{var h=b.return;null!==h?(X= -h,Nk(h)):X=null}break b}O=0;kk=null;Jk(b,f);break;case 6:O=0;kk=null;Jk(b,f);break;case 8:Ek();oh=6;break a;default:throw Error(t(462));}}Ok();break}catch(l){Gk(a,l)}while(1);gi();gk.current=d;hk.current=e;L=c;if(null!==X)return 0;N=null;M=0;Nd();return oh}function Ok(){for(;null!==X&&!Ua();)Lk(X)}function Lk(a){var b=Pk(a.alternate,a,Ge);a.memoizedProps=a.pendingProps;null===b?Nk(a):X=b;ik.current=null} -function Mk(a){var b=a.alternate;switch(a.tag){case 2:a.tag=0;case 15:case 0:var c=a.type,d=a.pendingProps;d=a.elementType===c?d:Wg(c,d);var e=Vc(c)?Tc:Rc.current;e=Uc(a,e);b=Hh(b,a,d,c,e,M);break;case 11:c=a.type.render;d=a.pendingProps;d=a.elementType===c?d:Wg(c,d);b=Hh(b,a,d,c,a.ref,M);break;case 5:Sf(a);default:Hi(b,a),a=X=Ei(a,Ge),b=Pk(b,a,Ge)}a.memoizedProps=a.pendingProps;null===b?Nk(a):X=b;ik.current=null} -function Jk(a,b){gi();Sf(a);oe=null;pe=0;var c=a.return;if(null===c||null===N)oh=1,df=b,X=null;else{try{mh(N,c,a,b,M)}catch(d){throw X=c,d;}if(a.flags&32768)a:{do{b=Gi(a.alternate,a);if(null!==b){b.flags&=32767;X=b;break a}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);X=a}while(null!==a);oh=6;X=null}else Nk(a)}}function Nk(a){var b=a;do{a=b.return;var c=wi(b.alternate,b,Ge);if(null!==c){X=c;return}b=b.sibling;if(null!==b){X=b;return}X=b=a}while(null!==b);0===oh&&(oh=5)} -function gf(a,b,c){var d=F,e=jk.transition;try{jk.transition=null,F=2,Qk(a,b,c,d)}finally{jk.transition=e,F=d}return null} -function Qk(a,b,c,d){do af();while(null!==qk);if(0!==(L&6))throw Error(t(327));var e=a.finishedWork,f=a.finishedLanes;if(null===e)return null;a.finishedWork=null;a.finishedLanes=0;if(e===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var g=e.lanes|e.childLanes;g|=Md;tb(a,g);a===N&&(X=N=null,M=0);0===(e.subtreeFlags&10256)&&0===(e.flags&10256)||pk||(pk=!0,sk=g,tk=c,Rk($a,function(){af();return null}));c=0!==(e.flags&15990);if(0!==(e.subtreeFlags&15990)|| -c){c=jk.transition;jk.transition=null;var h=F;F=2;var l=L;L|=4;ik.current=null;Yi(a,e);Dj(e,a);Sk(cj);$i=!!Zi;cj=Zi=null;a.current=e;jj(a,e.alternate,e);Va();L=l;F=h;jk.transition=c}else a.current=e;pk?(pk=!1,qk=a,rk=f):Tk(a,g);g=a.pendingLanes;0===g&&(jh=null);eb(e.stateNode,d);Xe(a);if(null!==b)for(d=a.onRecoverableError,e=0;e<b.length;e++)g=b[e],c={digest:g.digest,componentStack:g.stack},d(g.value,c);if(gh)throw gh=!1,a=hh,hh=null,a;0!==(rk&3)&&0!==a.tag&&af();g=a.pendingLanes;0!==(f&8388522)&& -0!==(g&42)?a===Ud?Td++:(Td=0,Ud=a):Td=0;$e(!1);return null}function Tk(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,ni(b)))} -function af(){if(null!==qk){var a=qk,b=sk;sk=0;var c=wb(rk),d=32>c?32:c;c=jk.transition;var e=F;try{jk.transition=null;F=d;if(null===qk)var f=!1;else{d=tk;tk=null;var g=qk,h=rk;qk=null;rk=0;if(0!==(L&6))throw Error(t(331));var l=L;L|=4;ck(g.current);Sj(g,g.current,h,d);L=l;$e(!1);if(db&&"function"===typeof db.onPostCommitFiberRoot)try{db.onPostCommitFiberRoot(cb,g)}catch(p){}f=!0}return f}finally{F=e,jk.transition=c,Tk(a,b)}}return!1} -function Uk(a,b,c){b=ch(c,b);b=fh(a,b,2);a=Zd(a,b,2);null!==a&&(sb(a,2),Xe(a))}function W(a,b,c){if(3===a.tag)Uk(a,a,c);else for(;null!==b;){if(3===b.tag){Uk(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===jh||!jh.has(d))){a=ch(c,a);a=ih(b,a,2);b=Zd(b,a,2);null!==b&&(sb(b,2),Xe(b));break}}b=b.return}} -function ph(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new fk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(lk=!0,e.add(c),a=Vk.bind(null,a,b,c),b.then(a,a))}function Vk(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===oh||3===oh&&(M&125829120)===M&&300>Wa()-Mj?0===(L&2)&&ef(a,0):nk|=c);Xe(a)}function Wk(a,b){0===b&&(b=0===(a.mode&1)?2:qb());a=Sd(a,b);null!==a&&(sb(a,b),Xe(a))} -function Wh(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Wk(a,c)}function Bj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);Wk(a,c)}var Pk; -Pk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Sc.current)bg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return bg=!1,ai(a,b,c);bg=0!==(a.flags&131072)?!0:!1}else bg=!1,K&&0!==(b.flags&1048576)&&md(b,fd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Jh(a,b);a=b.pendingProps;var e=Uc(b,Rc.current);vh(b,c);e=Hf(null,b,d,a,e,c);var f=Qf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= -null,Vc(d)?(f=!0,Zc(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,Wd(b),e.updater=Yg,b.stateNode=e,e._reactInternals=b,bh(b,d,a,c),b=Kh(null,b,d,!0,f,c)):(b.tag=0,K&&f&&nd(b),th(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Jh(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Xk(d);a=Wg(d,a);switch(e){case 0:b=Ah(null,b,d,a,c);break a;case 1:b=Ih(null,b,d,a,c);break a;case 11:b=uh(null,b,d,a,c);break a;case 14:b=xh(null,b,d,Wg(d.type,a),c);break a}throw Error(t(306, -d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Wg(d,e),Ah(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Wg(d,e),Ih(a,b,d,e,c);case 3:a:{Lh(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;Xd(a,b);be(b,e,null,c);var g=b.memoizedState;e=g.cache;bi(b,Gh,e);e!==f.cache&&ii(b,Gh,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= -ch(Error(t(423)),b);b=Mh(a,b,e,c,d);break a}else if(e!==d){d=ch(Error(t(424)),b);b=Mh(a,b,e,c,d);break a}else for(J=wd(b.stateNode.containerInfo.firstChild),G=b,K=!0,pd=null,qd=!0,c=Ce(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Id();if(e===d){b=wh(a,b,c);break a}th(a,b,e,c)}b=b.child}return b;case 26:return Ch(a,b),c=b.memoizedState=Yk(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Ai(Ja.current).createElement(c),d[zb]= -b,d[Ab]=a,Bi(d,c,a),Pb(d),b.stateNode=d),null;case 27:return Qa(b),null===a&&K&&(d=b.stateNode=zi(b.type,b.pendingProps,Ja.current),G=b,qd=!0,J=wd(d.firstChild)),d=b.pendingProps.children,null!==a||K?th(a,b,d,c):b.child=Be(b,null,d,c),Ch(a,b),b.child;case 5:return Qa(b),null===a&&K&&((e=d=J,e)?ud(b,e)||(Bd(b)&&Cd(),J=Ad(e),f=G,J&&ud(b,J)?rd(f,e):(td(G,b),K=!1,G=b,J=d)):(Bd(b)&&Cd(),td(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Gd(e,f)?d=null:null!== -g&&Gd(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Hf(a,b,Of,null,null,c),La._currentValue=e,bg&&null!==a&&a.memoizedState.memoizedState!==e&&ii(b,La,c)),Ch(a,b),th(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?xd(b,a)||(Bd(b)&&Cd(),J=Ad(a),d=G,J&&xd(b,J)?rd(d,a):(td(G,b),K=!1,G=b,J=c)):(Bd(b)&&Cd(),td(G,b),K=!1,G=b,J=c)),null;case 13:return Qh(a,b,c);case 4:return Ma(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Be(b,null,d,c):th(a,b,d,c),b.child; -case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Wg(d,e),uh(a,b,d,e,c);case 7:return th(a,b,b.pendingProps,c),b.child;case 8:return th(a,b,b.pendingProps.children,c),b.child;case 12:return th(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;bi(b,d,g);if(null!==f)if(bd(f.value,g)){if(f.children===e.children&&!Sc.current){b=wh(a,b,c);break a}}else ii(b,d,c);th(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= -b.pendingProps.children,vh(b,c),e=Xf(e),d=d(e),b.flags|=1,th(a,b,d,c),b.child;case 14:return d=b.type,e=Wg(d,b.pendingProps),e=Wg(d.type,e),xh(a,b,d,e,c);case 15:return zh(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Wg(d,e),Jh(a,b),b.tag=1,Vc(d)?(a=!0,Zc(b)):a=!1,vh(b,c),$g(b,d,e),bh(b,d,e,c),Kh(null,b,d,!0,a,c);case 19:return $h(a,b,c);case 22:return Bh(a,b,c);case 24:return vh(b,c),d=Xf(Gh),null===a?(e=Fh(),null===e&&(e=N,f=Sg(),e.pooledCache=f,f.refCount++, -null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},Wd(b),bi(b,Gh,e)):(0!==(a.lanes&c)&&(Xd(a,b),be(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),bi(b,Gh,d)):(d=f.cache,bi(b,Gh,d),d!==e.cache&&ii(b,Gh,c))),th(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function Rk(a,b){return Sa(a,b)} -function Zk(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function sd(a,b,c,d){return new Zk(a,b,c,d)}function yh(a){a=a.prototype;return!(!a||!a.isReactComponent)} -function Xk(a){if("function"===typeof a)return yh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===ta)return 11;if(a===wa)return 14}return 2} -function ve(a,b){var c=a.alternate;null===c?(c=sd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; +b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,Gj(a,d))));break;case 19:Ij(b,a);Lj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Gj(a,c)));break;case 21:break;default:Ij(b,a),Lj(a)}} +function Lj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(uj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=vj(a);yj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(Ac(g,""),d.flags&=-33);var h=vj(a);yj(a,h,g);break;case 3:case 4:var l=d.stateNode.containerInfo,p=vj(a);wj(a,p,l);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} +function qj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)pj(a,b.alternate,b),b=b.sibling} +function Tj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:kj(4,b,b.return);Tj(b);break;case 1:aj(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{var f=d;c.props=f.memoizedProps;c.state=f.memoizedState;c.componentWillUnmount()}catch(g){W(d,e,g)}}Tj(b);break;case 26:case 27:case 5:aj(b,b.return);Tj(b);break;case 22:aj(b,b.return);null===b.memoizedState&&Tj(b);break;default:Tj(b)}a=a.sibling}} +function sj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:sj(e,f,c);mj(f,4);break;case 1:sj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(l){W(f,f.return,l)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)ge(h[d],e)}c&&g&64&&nj(f);$i(f,f.return);break;case 26:case 27:case 5:sj(e,f,c); +c&&null===d&&g&4&&oj(f);$i(f,f.return);break;case 12:sj(e,f,c);break;case 13:sj(e,f,c);c&&g&4&&rj(e,f);break;case 22:null===f.memoizedState&&sj(e,f,c);$i(f,f.return);break;default:sj(e,f,c)}b=b.sibling}}function Uj(a,b){try{lj(b,a)}catch(c){W(a,a.return,c)}} +function Vj(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&ti(c))}function Wj(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&ti(a))} +function Xj(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)Yj(a,b,c,d),b=b.sibling} +function Yj(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Xj(a,b,c,d);e&2048&&Uj(b,9);break;case 3:Xj(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&ti(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Xj(a,b,c,d):b.mode&1?Zj(a,b):(f._visibility|=4,Xj(a,b,c,d)):f._visibility&4?Xj(a,b,c,d):(f._visibility|=4,ak(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&Vj(b.alternate, +b);break;case 24:Xj(a,b,c,d);e&2048&&Wj(b.alternate,b);break;default:Xj(a,b,c,d)}} +function ak(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,l=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:ak(f,g,h,l,e);Uj(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?ak(f,g,h,l,e):g.mode&1?Zj(f,g):(q._visibility|=4,ak(f,g,h,l,e)):(q._visibility|=4,ak(f,g,h,l,e));e&&p&2048&&Vj(g.alternate,g);break;case 24:ak(f,g,h,l,e);e&&p&2048&&Wj(g.alternate,g);break;default:ak(f,g,h,l,e)}b=b.sibling}} +function Zj(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:Zj(c,d);e&2048&&Vj(d.alternate,d);break;case 24:Zj(c,d);e&2048&&Wj(d.alternate,d);break;default:Zj(c,d)}b=b.sibling}}var bk=8192;function ck(a){if(a.subtreeFlags&bk)for(a=a.child;null!==a;)dk(a),a=a.sibling} +function dk(a){switch(a.tag){case 26:ck(a);a.flags&bk&&null!==a.memoizedState&&ek(Kj,a.memoizedState,a.memoizedProps);break;case 5:ck(a);break;case 3:case 4:var b=Kj;Kj=Rj(a.stateNode.containerInfo);ck(a);Kj=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=bk,bk=16777216,ck(a),bk=b):ck(a));break;default:ck(a)}}function fk(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} +function gk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Zi=d;hk(d,a)}fk(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)ik(a),a=a.sibling}function ik(a){switch(a.tag){case 0:case 11:case 15:gk(a);a.flags&2048&&kj(9,a,a.return);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,jk(a)):gk(a);break;default:gk(a)}} +function jk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Zi=d;hk(d,a)}fk(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:kj(8,b,b.return);jk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,jk(b));break;default:jk(b)}a=a.sibling}} +function hk(a,b){for(;null!==Zi;){var c=Zi;switch(c.tag){case 0:case 11:case 15:kj(8,c,b);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:ti(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,Zi=d;else a:for(c=a;null!==Zi;){d=Zi;var e=d.sibling,f=d.return;tj(d);if(d===c){Zi=null;break a}if(null!==e){e.return=f;Zi=e;break a}Zi=f}}} +var kk={getCacheSignal:function(){return ag(Mh).controller.signal},getCacheForType:function(a){var b=ag(Mh),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},lk="function"===typeof WeakMap?WeakMap:Map,mk=da.ReactCurrentDispatcher,nk=da.ReactCurrentCache,ok=da.ReactCurrentOwner,pk=da.ReactCurrentBatchConfig,L=0,N=null,X=null,M=0,O=0,qk=null,rk=!1,Je=0,uh=0,gf=null,fe=0,sk=0,tk=0,nf=0,uk=null,lf=null,Sj=0,Li=Infinity,mf=null,mh=!1,nh=null,ph=null,vk=!1,wk=null,xk=0,yk=0,zk=null,Wd=0,Xd= +null;function Xg(a){if(0===(a.mode&1))return 2;if(0!==(L&2)&&0!==M)return M&-M;if(null!==ui.transition)return a=vf,0!==a?a:sf();a=F;if(0!==a)return a;a=window.event;a=void 0===a?32:Ak(a.type);return a}function Ng(){0===nf&&(nf=0!==(M&536870912)?536870912:sf());return nf}function pg(a,b,c){if(a===N&&2===O||null!==a.cancelPendingCommit)hf(a,0),jf(a,M,nf);tb(a,c);if(0===(L&2)||a!==N)a===N&&(0===(L&2)&&(sk|=c),4===uh&&jf(a,M,nf)),$e(a),2===c&&0===L&&0===(b.mode&1)&&(Li=Ya()+500,cf(!0))} +function qf(a,b){if(0!==(L&6))throw Error(t(327));var c=a.callbackNode;if(df()&&a.callbackNode!==c)return null;var d=ob(a,a===N?M:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?Bk(a,d):ef(a,d);if(0!==b){var f=e;do{if(6===b)jf(a,d,0);else{e=a.current.alternate;if(f&&!Ck(e)){b=ef(a,d);f=!1;continue}if(2===b){f=d;var g=qb(a,f);0!==g&&(d=g,b=ff(a,f,g))}if(1===b)throw c=gf,hf(a,0),jf(a,d,0),$e(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); +case 4:if((d&4194176)===d){jf(f,d,nf);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&62914560)===d&&(b=Sj+300-Ya(),10<b)){jf(f,d,nf);if(0!==ob(f,0))break a;f.timeoutHandle=Dk(Ek.bind(null,f,e,lf,mf,d,nf),b);break a}Ek(f,e,lf,mf,d,nf)}}break}while(1)}$e(a);pf(a,Ya());a=a.callbackNode===c?qf.bind(null,a):null;return a} +function ff(a,b,c){var d=uk,e=a.current.memoizedState.isDehydrated;e&&(hf(a,c).flags|=256);c=ef(a,c);if(2!==c){if(rk&&!e)return a.errorRecoveryDisabledLanes|=b,sk|=b,4;a=lf;lf=d;null!==a&&Di(a)}return c}function Di(a){null===lf?lf=a:lf.push.apply(lf,a)}function Ek(a,b,c,d,e,f){if(0===(e&42)&&(Fk={stylesheets:null,count:0,unsuspend:Gk},dk(b),b=Hk(),null!==b)){a.cancelPendingCommit=b(kf.bind(null,a,c,d));jf(a,e,f);return}kf(a,c,d,f)} +function Ck(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!ed(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} +function jf(a,b,c){b&=~tk;b&=~sk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(var d=a.expirationTimes,e=b;0<e;){var f=31-ib(e),g=1<<f;d[f]=-1;e&=~g}0!==c&&vb(a,c,b)}function Ik(a,b){var c=L;L|=1;try{return a(b)}finally{L=c,0===L&&(Li=Ya()+500,cf(!0))}}function Jk(a){null!==wk&&0===wk.tag&&0===(L&6)&&df();var b=L;L|=1;var c=pk.transition,d=F;try{if(pk.transition=null,F=2,a)return a()}finally{F=d,pk.transition=c,L=b,0===(L&6)&&cf(!1)}} +function Kk(){if(null!==X){if(0===O)var a=X.return;else a=X,mi(),Wf(a),re=null,se=0,a=X;for(;null!==a;)Ni(a.alternate,a),a=a.return;X=null}} +function hf(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Lk(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());Kk();N=a;X=c=ye(a.current,null);M=b;O=0;qk=null;rk=!1;uh=0;gf=null;nf=tk=sk=fe=0;lf=uk=null;0!==(b&8)&&(b|=b&32);var d=a.entangledLanes;if(0!==d)for(a=a.entanglements,d&=b;0<d;){var e=31-ib(d),f=1<<e;b|=a[e];d&=~f}Je=b;Qd();return c} +function Mk(a,b){P=null;Af.current=Qf;ok.current=null;b===je?(b=qe(),O=zi()&&0===(fe&134217727)&&0===(sk&134217727)?2:3):b===ke?(b=qe(),O=4):O=b===yh?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;qk=b;null===X&&(uh=1,gf=b)}function zi(){var a=Me.current;return null===a?!0:(M&4194176)===M?null===Ne?!0:!1:(M&62914560)===M||0!==(M&536870912)?a===Ne:!1}function Nk(){var a=mk.current;mk.current=Qf;return null===a?Qf:a}function Ok(){var a=nk.current;nk.current=kk;return a} +function th(){uh=4;0===(fe&134217727)&&0===(sk&134217727)||null===N||jf(N,M,nf)}function wh(a){4!==uh&&(uh=2);null===uk?uk=[a]:uk.push(a)} +function ef(a,b){var c=L;L|=2;var d=Nk(),e=Ok();if(N!==a||M!==b)mf=null,hf(a,b);b=!1;a:do try{if(0!==O&&null!==X){var f=X,g=qk;switch(O){case 8:Kk();uh=6;break a;case 3:case 2:b||null!==Me.current||(b=!0);default:O=0,qk=null,Pk(f,g)}}Qk();break}catch(h){Mk(a,h)}while(1);b&&a.shellSuspendCounter++;mi();L=c;mk.current=d;nk.current=e;if(null!==X)throw Error(t(261));N=null;M=0;Qd();return uh}function Qk(){for(;null!==X;)Rk(X)} +function Bk(a,b){var c=L;L|=2;var d=Nk(),e=Ok();if(N!==a||M!==b)mf=null,Li=Ya()+500,hf(a,b);a:do try{if(0!==O&&null!==X){b=X;var f=qk;b:switch(O){case 1:O=0;qk=null;Pk(b,f);break;case 2:if(me(f)){O=0;qk=null;Sk(b);break}b=function(){2===O&&N===a&&(O=7);$e(a)};f.then(b,b);break a;case 3:O=7;break a;case 4:O=5;break a;case 7:me(f)?(O=0,qk=null,Sk(b)):(O=0,qk=null,Pk(b,f));break;case 5:switch(X.tag){case 5:case 26:case 27:b=X;O=0;qk=null;var g=b.sibling;if(null!==g)X=g;else{var h=b.return;null!==h?(X= +h,Tk(h)):X=null}break b}O=0;qk=null;Pk(b,f);break;case 6:O=0;qk=null;Pk(b,f);break;case 8:Kk();uh=6;break a;default:throw Error(t(462));}}Uk();break}catch(l){Mk(a,l)}while(1);mi();mk.current=d;nk.current=e;L=c;if(null!==X)return 0;N=null;M=0;Qd();return uh}function Uk(){for(;null!==X&&!Wa();)Rk(X)}function Rk(a){var b=Vk(a.alternate,a,Je);a.memoizedProps=a.pendingProps;null===b?Tk(a):X=b;ok.current=null} +function Sk(a){var b=a.alternate;switch(a.tag){case 2:a.tag=0;case 15:case 0:var c=a.type,d=a.pendingProps;d=a.elementType===c?d:bh(c,d);var e=Yc(c)?Wc:Uc.current;e=Xc(a,e);b=Nh(b,a,d,c,e,M);break;case 11:c=a.type.render;d=a.pendingProps;d=a.elementType===c?d:bh(c,d);b=Nh(b,a,d,c,a.ref,M);break;case 5:Wf(a);default:Ni(b,a),a=X=Ki(a,Je),b=Vk(b,a,Je)}a.memoizedProps=a.pendingProps;null===b?Tk(a):X=b;ok.current=null} +function Pk(a,b){mi();Wf(a);re=null;se=0;var c=a.return;if(null===c||null===N)uh=1,gf=b,X=null;else{try{sh(N,c,a,b,M)}catch(d){throw X=c,d;}if(a.flags&32768)a:{do{b=Mi(a.alternate,a);if(null!==b){b.flags&=32767;X=b;break a}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);X=a}while(null!==a);uh=6;X=null}else Tk(a)}}function Tk(a){var b=a;do{a=b.return;var c=Ci(b.alternate,b,Je);if(null!==c){X=c;return}b=b.sibling;if(null!==b){X=b;return}X=b=a}while(null!==b);0===uh&&(uh=5)} +function kf(a,b,c,d){var e=F,f=pk.transition;try{pk.transition=null,F=2,Wk(a,b,c,e,d)}finally{pk.transition=f,F=e}return null} +function Wk(a,b,c,d,e){do df();while(null!==wk);if(0!==(L&6))throw Error(t(327));var f=a.finishedWork,g=a.finishedLanes;if(null===f)return null;a.finishedWork=null;a.finishedLanes=0;if(f===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var h=f.lanes|f.childLanes;h|=Pd;ub(a,h,e);a===N&&(X=N=null,M=0);0===(f.subtreeFlags&10256)&&0===(f.flags&10256)||vk||(vk=!0,yk=h,zk=c,Xk(bb,function(){df();return null}));c=0!==(f.flags&15990);if(0!==(f.subtreeFlags& +15990)||c){c=pk.transition;pk.transition=null;e=F;F=2;var l=L;L|=4;ok.current=null;dj(a,f);Jj(f,a);Yk(ij);fj=!!ej;ij=ej=null;a.current=f;pj(a,f.alternate,f);Xa();L=l;F=e;pk.transition=c}else a.current=f;vk?(vk=!1,wk=a,xk=g):Zk(a,h);h=a.pendingLanes;0===h&&(ph=null);gb(f.stateNode,d);$e(a);if(null!==b)for(d=a.onRecoverableError,f=0;f<b.length;f++)h=b[f],c={digest:h.digest,componentStack:h.stack},d(h.value,c);if(mh)throw mh=!1,a=nh,nh=null,a;0!==(xk&3)&&0!==a.tag&&df();h=a.pendingLanes;0!==(g&4194218)&& +0!==(h&42)?a===Xd?Wd++:(Wd=0,Xd=a):Wd=0;cf(!1);return null}function Zk(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,ti(b)))} +function df(){if(null!==wk){var a=wk,b=yk;yk=0;var c=zb(xk),d=32>c?32:c;c=pk.transition;var e=F;try{pk.transition=null;F=d;if(null===wk)var f=!1;else{d=zk;zk=null;var g=wk,h=xk;wk=null;xk=0;if(0!==(L&6))throw Error(t(331));var l=L;L|=4;ik(g.current);Yj(g,g.current,h,d);L=l;cf(!1);if(fb&&"function"===typeof fb.onPostCommitFiberRoot)try{fb.onPostCommitFiberRoot(eb,g)}catch(p){}f=!0}return f}finally{F=e,pk.transition=c,Zk(a,b)}}return!1} +function $k(a,b,c){b=ih(c,b);b=lh(a,b,2);a=be(a,b,2);null!==a&&(tb(a,2),$e(a))}function W(a,b,c){if(3===a.tag)$k(a,a,c);else for(;null!==b;){if(3===b.tag){$k(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===ph||!ph.has(d))){a=ih(c,a);a=oh(b,a,2);b=be(b,a,2);null!==b&&(tb(b,2),$e(b));break}}b=b.return}} +function vh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new lk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(rk=!0,e.add(c),a=al.bind(null,a,b,c),b.then(a,a))}function al(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===uh||3===uh&&(M&62914560)===M&&300>Ya()-Sj?0===(L&2)&&hf(a,0):tk|=c);$e(a)}function bl(a,b){0===b&&(b=0===(a.mode&1)?2:rb());a=Vd(a,b);null!==a&&(tb(a,b),$e(a))} +function bi(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);bl(a,c)}function Hj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);bl(a,c)}var Vk; +Vk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Vc.current)fg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return fg=!1,gi(a,b,c);fg=0!==(a.flags&131072)?!0:!1}else fg=!1,K&&0!==(b.flags&1048576)&&pd(b,id,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Ph(a,b);a=b.pendingProps;var e=Xc(b,Uc.current);Bh(b,c);e=Lf(null,b,d,a,e,c);var f=Uf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= +null,Yc(d)?(f=!0,bd(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,Zd(b),e.updater=dh,b.stateNode=e,e._reactInternals=b,hh(b,d,a,c),b=Qh(null,b,d,!0,f,c)):(b.tag=0,K&&f&&qd(b),zh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Ph(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=cl(d);a=bh(d,a);switch(e){case 0:b=Gh(null,b,d,a,c);break a;case 1:b=Oh(null,b,d,a,c);break a;case 11:b=Ah(null,b,d,a,c);break a;case 14:b=Dh(null,b,d,bh(d.type,a),c);break a}throw Error(t(306, +d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:bh(d,e),Gh(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:bh(d,e),Oh(a,b,d,e,c);case 3:a:{Rh(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;$d(a,b);ee(b,e,null,c);var g=b.memoizedState;e=g.cache;hi(b,Mh,e);e!==f.cache&&oi(b,Mh,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= +ih(Error(t(423)),b);b=Sh(a,b,e,c,d);break a}else if(e!==d){d=ih(Error(t(424)),b);b=Sh(a,b,e,c,d);break a}else for(J=zd(b.stateNode.containerInfo.firstChild),G=b,K=!0,sd=null,td=!0,c=Fe(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ld();if(e===d){b=Ch(a,b,c);break a}zh(a,b,e,c)}b=b.child}return b;case 26:return Ih(a,b),c=b.memoizedState=dl(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Gi(La.current).createElement(c),d[Cb]= +b,d[Db]=a,Hi(d,c,a),Sb(d),b.stateNode=d),null;case 27:return Sa(b),null===a&&K&&(d=b.stateNode=Fi(b.type,b.pendingProps,La.current),G=b,td=!0,J=zd(d.firstChild)),d=b.pendingProps.children,null!==a||K?zh(a,b,d,c):b.child=Ee(b,null,d,c),Ih(a,b),b.child;case 5:return Sa(b),null===a&&K&&((e=d=J,e)?xd(b,e)||(Ed(b)&&Fd(),J=Dd(e),f=G,J&&xd(b,J)?ud(f,e):(wd(G,b),K=!1,G=b,J=d)):(Ed(b)&&Fd(),wd(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Jd(e,f)?d=null:null!== +g&&Jd(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Lf(a,b,Sf,null,null,c),Na._currentValue=e,fg&&null!==a&&a.memoizedState.memoizedState!==e&&oi(b,Na,c)),Ih(a,b),zh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?Ad(b,a)||(Ed(b)&&Fd(),J=Dd(a),d=G,J&&Ad(b,J)?ud(d,a):(wd(G,b),K=!1,G=b,J=c)):(Ed(b)&&Fd(),wd(G,b),K=!1,G=b,J=c)),null;case 13:return Wh(a,b,c);case 4:return Oa(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ee(b,null,d,c):zh(a,b,d,c),b.child; +case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:bh(d,e),Ah(a,b,d,e,c);case 7:return zh(a,b,b.pendingProps,c),b.child;case 8:return zh(a,b,b.pendingProps.children,c),b.child;case 12:return zh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;hi(b,d,g);if(null!==f)if(ed(f.value,g)){if(f.children===e.children&&!Vc.current){b=Ch(a,b,c);break a}}else oi(b,d,c);zh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= +b.pendingProps.children,Bh(b,c),e=ag(e),d=d(e),b.flags|=1,zh(a,b,d,c),b.child;case 14:return d=b.type,e=bh(d,b.pendingProps),e=bh(d.type,e),Dh(a,b,d,e,c);case 15:return Fh(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:bh(d,e),Ph(a,b),b.tag=1,Yc(d)?(a=!0,bd(b)):a=!1,Bh(b,c),fh(b,d,e),hh(b,d,e,c),Qh(null,b,d,!0,a,c);case 19:return fi(a,b,c);case 22:return Hh(a,b,c);case 24:return Bh(b,c),d=ag(Mh),null===a?(e=Lh(),null===e&&(e=N,f=Yg(),e.pooledCache=f,f.refCount++, +null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},Zd(b),hi(b,Mh,e)):(0!==(a.lanes&c)&&($d(a,b),ee(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),hi(b,Mh,d)):(d=f.cache,hi(b,Mh,d),d!==e.cache&&oi(b,Mh,c))),zh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function Xk(a,b){return Ua(a,b)} +function el(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function vd(a,b,c,d){return new el(a,b,c,d)}function Eh(a){a=a.prototype;return!(!a||!a.isReactComponent)} +function cl(a){if("function"===typeof a)return Eh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===va)return 11;if(a===ya)return 14}return 2} +function ye(a,b){var c=a.alternate;null===c?(c=vd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;c.refCleanup=a.refCleanup;return c} -function Ei(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); +function Ki(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); return a} -function xe(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)yh(a)&&(e=1);else if("string"===typeof a)e=$k(a,c,Ha.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case na:return ze(c.children,f,g,b);case oa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case pa:return a=sd(12,c,b,f|2),a.elementType=pa,a.lanes=g,a;case ua:return a=sd(13,c,b,f),a.elementType=ua,a.lanes=g,a;case va:return a=sd(19,c,b,f),a.elementType=va,a.lanes=g,a;case za:return Uh(c,f,g,b);case Aa:case ya:case Ba:return a=sd(24, -c,b,f),a.elementType=Ba,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case qa:e=10;break a;case ra:e=9;break a;case ta:e=11;break a;case wa:e=14;break a;case xa:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=sd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function ze(a,b,c,d){a=sd(7,a,d,b);a.lanes=c;return a} -function Uh(a,b,c,d){a=sd(22,a,d,b);a.elementType=za;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Sd(f,2);null!==g&&(e._pendingVisibility|=2,lg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Sd(f,2);null!==g&&(e._pendingVisibility&=-3,lg(g,f,2))}}}; -a.stateNode=e;return a}function we(a,b,c){a=sd(6,a,null,b);a.lanes=c;return a}function ye(a,b,c){b=sd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} -function al(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=rb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=rb(0);this.hiddenUpdates= -rb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function bl(a,b,c,d,e,f,g,h,l,p,q){a=new al(a,b,c,h,l,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=sd(3,null,null,b);a.current=f;f.stateNode=a;b=Sg();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};Wd(f);return a} -function cl(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ma,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} -function dl(a){if(!a)return Qc;a=a._reactInternals;a:{if(Kc(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(Vc(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if(Vc(c))return Yc(a,c,b)}return b} -function el(a,b,c,d,e,f,g,h,l,p,q){a=bl(c,d,!0,a,e,f,g,h,l,p,q);a.context=dl(null);c=a.current;d=Rg(c);e=Yd(d);e.callback=void 0!==b&&null!==b?b:null;Zd(c,e,d);a.current.lanes=d;sb(a,d);Xe(a);return a}function fl(a,b,c,d){var e=b.current,f=Rg(e);c=dl(c);null===b.context?b.context=c:b.pendingContext=c;b=Yd(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=Zd(e,b,f);null!==a&&(lg(a,e,f),$d(a,e,f));return f} -function gl(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}}function hl(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=lb(b.pendingLanes);0!==c&&(ub(b,c|2),Xe(b),0===(L&6)&&(Fi=Wa()+500,$e(!1)))}break;case 13:Dk(function(){var d=Sd(a,2);null!==d&&lg(d,a,2)}),il(a,2)}} -function jl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function il(a,b){jl(a,b);(a=a.alternate)&&jl(a,b)}function kl(a){if(13===a.tag){var b=Sd(a,134217728);null!==b&&lg(b,a,134217728);il(a,134217728)}}function ll(){return null}var ml=!1;function nl(a,b,c){if(ml)return a(b,c);ml=!0;try{return Ck(a,b,c)}finally{if(ml=!1,null!==Fc||null!==Gc)Dk(),Jc()}} -function ol(a,b){var c=a.stateNode;if(null===c)return null;var d=Nb(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== -typeof c)throw Error(t(231,b,typeof c));return c}var pl=!1;if(Ub)try{var ql={};Object.defineProperty(ql,"passive",{get:function(){pl=!0}});window.addEventListener("test",ql,ql);window.removeEventListener("test",ql,ql)}catch(a){pl=!1}function rl(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function sl(){return!0}function tl(){return!1} -function ul(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?sl:tl;this.isPropagationStopped=tl;return this}C(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& -(c.returnValue=!1),this.isDefaultPrevented=sl)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=sl)},persist:function(){},isPersistent:sl});return b} -var vl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wl=ul(vl),xl=C({},vl,{view:0,detail:0}),yl=ul(xl),zl,Al,Bl,Dl=C({},xl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cl,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in -a)return a.movementX;a!==Bl&&(Bl&&"mousemove"===a.type?(zl=a.screenX-Bl.screenX,Al=a.screenY-Bl.screenY):Al=zl=0,Bl=a);return zl},movementY:function(a){return"movementY"in a?a.movementY:Al}}),El=ul(Dl),Fl=C({},Dl,{dataTransfer:0}),Gl=ul(Fl),Hl=C({},xl,{relatedTarget:0}),Il=ul(Hl),Jl=C({},vl,{animationName:0,elapsedTime:0,pseudoElement:0}),Kl=ul(Jl),Ll=C({},vl,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Ml=ul(Ll),Nl=C({},vl,{data:0}),Ol=ul(Nl),Pl={Esc:"Escape", -Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ql={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", -119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Rl={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sl(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Rl[a])?!!b[a]:!1}function Cl(){return Sl} -var Tl=C({},xl,{key:function(a){if(a.key){var b=Pl[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=rl(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Ql[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cl,charCode:function(a){return"keypress"===a.type?rl(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== -a.type?rl(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Ul=ul(Tl),Vl=C({},Dl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wl=ul(Vl),Xl=C({},xl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cl}),Yl=ul(Xl),Zl=C({},vl,{propertyName:0,elapsedTime:0,pseudoElement:0}),$l=ul(Zl),am=C({},Dl,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, -deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),bm=ul(am); -function cm(a,b,c,d,e){if("submit"===b&&c&&c.stateNode===e){var f=Nb(e).action,g=d.submitter;g&&(b=(b=Nb(g))?b.formAction:g.getAttribute("formAction"),null!=b&&(f=b,g=null));if("function"===typeof f){var h=new wl("action","action",null,d,e);a.push({event:h,listeners:[{instance:null,listener:function(){if(!d.defaultPrevented){h.preventDefault();if(g){var l=g.ownerDocument.createElement("input");l.name=g.name;l.value=g.value;g.parentNode.insertBefore(l,g);var p=new FormData(e);l.parentNode.removeChild(l)}else p= -new FormData(e);Mg(c,{pending:!0,data:p,method:e.method,action:f},f,p)}},currentTarget:e}]})}}}var dm=!1,em=null,fm=null,gm=null,hm=new Map,im=new Map,jm=[],km="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); -function lm(a,b){switch(a){case "focusin":case "focusout":em=null;break;case "dragenter":case "dragleave":fm=null;break;case "mouseover":case "mouseout":gm=null;break;case "pointerover":case "pointerout":hm.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":im.delete(b.pointerId)}} -function mm(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Lb(b),null!==b&&kl(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} -function nm(a,b,c,d,e){switch(b){case "focusin":return em=mm(em,a,b,c,d,e),!0;case "dragenter":return fm=mm(fm,a,b,c,d,e),!0;case "mouseover":return gm=mm(gm,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;hm.set(f,mm(hm.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,im.set(f,mm(im.get(f)||null,a,b,c,d,e)),!0}return!1} -function om(a){var b=Jb(a.target);if(null!==b){var c=Kc(b);if(null!==c)if(b=c.tag,13===b){if(b=Lc(c),null!==b){a.blockedOn=b;vb(a.priority,function(){if(13===c.tag){var d=Rg(c),e=Sd(c,d);null!==e&&lg(e,c,d);il(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} -function pm(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=qm(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Dc=d;c.target.dispatchEvent(d);Dc=null}else return b=Lb(c),null!==b&&kl(b),a.blockedOn=c,!1;b.shift()}return!0}function rm(a,b,c){pm(a)&&c.delete(b)}function sm(){dm=!1;null!==em&&pm(em)&&(em=null);null!==fm&&pm(fm)&&(fm=null);null!==gm&&pm(gm)&&(gm=null);hm.forEach(rm);im.forEach(rm)} -function tm(a,b){a.blockedOn===b&&(a.blockedOn=null,dm||(dm=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,sm)))}var um=null;function vm(a){um!==a&&(um=a,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){um===a&&(um=null);for(var b=0;b<a.length;b+=3){var c=a[b],d=a[b+1],e=a[b+2];if("function"!==typeof d)if(null===wm(d||c))continue;else break;var f=Lb(c);null!==f&&(a.splice(b,3),b-=3,Mg(f,{pending:!0,data:e,method:c.method,action:d},d,e))}}))} -function yj(a){function b(l){return tm(l,a)}null!==em&&tm(em,a);null!==fm&&tm(fm,a);null!==gm&&tm(gm,a);hm.forEach(b);im.forEach(b);for(var c=0;c<jm.length;c++){var d=jm[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<jm.length&&(c=jm[0],null===c.blockedOn);)om(c),null===c.blockedOn&&jm.shift();c=a.getRootNode().$$reactFormReplay;if(null!=c)for(d=0;d<c.length;d+=3){var e=c[d],f=c[d+1],g=Nb(e);if("function"===typeof f)g||vm(c);else if(g){var h=null;if(f&&f.hasAttribute("formAction"))if(e=f,g=Nb(f))h= -g.formAction;else{if(null!==wm(e))continue}else h=g.action;"function"===typeof h?c[d+1]=h:(c.splice(d,3),d-=3);vm(c)}}}var xm=da.ReactCurrentBatchConfig,$i=!0;function ym(a,b,c,d){var e=F,f=xm.transition;xm.transition=null;try{F=2,zm(a,b,c,d)}finally{F=e,xm.transition=f}}function Am(a,b,c,d){var e=F,f=xm.transition;xm.transition=null;try{F=8,zm(a,b,c,d)}finally{F=e,xm.transition=f}} -function zm(a,b,c,d){if($i){var e=qm(d);if(null===e)Bm(a,b,d,Cm,c),lm(a,d);else if(nm(e,a,b,c,d))d.stopPropagation();else if(lm(a,d),b&4&&-1<km.indexOf(a)){for(;null!==e;){var f=Lb(e);null!==f&&hl(f);f=qm(d);null===f&&Bm(a,b,d,Cm,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else Bm(a,b,d,null,c)}}function qm(a){a=Ec(a);return wm(a)}var Cm=null; -function wm(a){Cm=null;a=Jb(a);if(null!==a){var b=Kc(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=Lc(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null)}}Cm=a;return null} -function uk(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; -case "message":switch(Xa()){case Ya:return 2;case Za:return 8;case $a:case ab:return 32;case bb:return 536870912;default:return 32}default:return 32}}var Dm=null,Em=null,Fm=null;function Gm(){if(Fm)return Fm;var a,b=Em,c=b.length,d,e="value"in Dm?Dm.value:Dm.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Fm=e.slice(a,1<d?1-d:void 0)}var Hm=[9,13,27,32],Im=Ub&&"CompositionEvent"in window,Km=null;Ub&&"documentMode"in document&&(Km=document.documentMode); -var Lm=Ub&&"TextEvent"in window&&!Km,Mm=Ub&&(!Im||Km&&8<Km&&11>=Km),Nm=String.fromCharCode(32),Om=!1;function Pm(a,b){switch(a){case "keyup":return-1!==Hm.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function Qm(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Rm=!1; -function Sm(a,b){switch(a){case "compositionend":return Qm(b);case "keypress":if(32!==b.which)return null;Om=!0;return Nm;case "textInput":return a=b.data,a===Nm&&Om?null:a;default:return null}} -function Tm(a,b){if(Rm)return"compositionend"===a||!Im&&Pm(a,b)?(a=Gm(),Fm=Em=Dm=null,Rm=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return Mm&&"ko"!==b.locale?null:b.data;default:return null}} -var Um={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vm(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Um[a.type]:"textarea"===b?!0:!1}function Wm(a,b,c,d){Ic(d);b=Xm(b,"onChange");0<b.length&&(c=new wl("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var Ym=null,Zm=null;function $m(a){an(a,0)}function bn(a){var b=Mb(a);if(mc(b))return a} -function cn(a,b){if("change"===a)return b}var dn=!1;if(Ub){var en;if(Ub){var fn="oninput"in document;if(!fn){var gn=document.createElement("div");gn.setAttribute("oninput","return;");fn="function"===typeof gn.oninput}en=fn}else en=!1;dn=en&&(!document.documentMode||9<document.documentMode)}function hn(){Ym&&(Ym.detachEvent("onpropertychange",jn),Zm=Ym=null)}function jn(a){if("value"===a.propertyName&&bn(Zm)){var b=[];Wm(b,Zm,a,Ec(a));nl($m,b)}} -function kn(a,b,c){"focusin"===a?(hn(),Ym=b,Zm=c,Ym.attachEvent("onpropertychange",jn)):"focusout"===a&&hn()}function ln(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return bn(Zm)}function mn(a,b){if("click"===a)return bn(b)}function nn(a,b){if("input"===a||"change"===a)return bn(b)}function on(a){for(;a&&a.firstChild;)a=a.firstChild;return a} -function pn(a,b){var c=on(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=on(c)}}function qn(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?qn(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} -function aj(){for(var a=window,b=nc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=nc(a.document)}return b}function bj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} -function Sk(a){var b=aj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&qn(c.ownerDocument.documentElement,c)){if(null!==d&&bj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=pn(c,f);var g=pn(c, +function Ae(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)Eh(a)&&(e=1);else if("string"===typeof a)e=fl(a,c,Ja.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case pa:return Ce(c.children,f,g,b);case qa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case ra:return a=vd(12,c,b,f|2),a.elementType=ra,a.lanes=g,a;case wa:return a=vd(13,c,b,f),a.elementType=wa,a.lanes=g,a;case xa:return a=vd(19,c,b,f),a.elementType=xa,a.lanes=g,a;case Ba:return $h(c,f,g,b);case Ca:case Aa:case Da:return a=vd(24, +c,b,f),a.elementType=Da,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case sa:e=10;break a;case ta:e=9;break a;case va:e=11;break a;case ya:e=14;break a;case za:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=vd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Ce(a,b,c,d){a=vd(7,a,d,b);a.lanes=c;return a} +function $h(a,b,c,d){a=vd(22,a,d,b);a.elementType=Ba;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Vd(f,2);null!==g&&(e._pendingVisibility|=2,pg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Vd(f,2);null!==g&&(e._pendingVisibility&=-3,pg(g,f,2))}}}; +a.stateNode=e;return a}function ze(a,b,c){a=vd(6,a,null,b);a.lanes=c;return a}function Be(a,b,c){b=vd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} +function gl(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=sb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=sb(0);this.hiddenUpdates= +sb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function hl(a,b,c,d,e,f,g,h,l,p,q){a=new gl(a,b,c,h,l,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=vd(3,null,null,b);a.current=f;f.stateNode=a;b=Yg();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};Zd(f);return a} +function il(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:oa,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} +function jl(a){if(!a)return Tc;a=a._reactInternals;a:{if(Nc(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(Yc(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if(Yc(c))return ad(a,c,b)}return b} +function kl(a,b,c,d,e,f,g,h,l,p,q){a=hl(c,d,!0,a,e,f,g,h,l,p,q);a.context=jl(null);c=a.current;d=Xg(c);e=ae(d);e.callback=void 0!==b&&null!==b?b:null;be(c,e,d);a.current.lanes=d;tb(a,d);$e(a);return a}function ll(a,b,c,d){var e=b.current,f=Xg(e);c=jl(c);null===b.context?b.context=c:b.pendingContext=c;b=ae(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=be(e,b,f);null!==a&&(pg(a,e,f),ce(a,e,f));return f} +function ml(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}}function nl(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=nb(b.pendingLanes);0!==c&&(xb(b,c),$e(b),0===(L&6)&&(Li=Ya()+500,cf(!1)))}break;case 13:Jk(function(){var d=Vd(a,2);null!==d&&pg(d,a,2)}),ol(a,2)}} +function pl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function ol(a,b){pl(a,b);(a=a.alternate)&&pl(a,b)}function ql(a){if(13===a.tag){var b=Vd(a,67108864);null!==b&&pg(b,a,67108864);ol(a,67108864)}}function rl(){return null}var sl=!1;function tl(a,b,c){if(sl)return a(b,c);sl=!0;try{return Ik(a,b,c)}finally{if(sl=!1,null!==Ic||null!==Jc)Jk(),Mc()}} +function ul(a,b){var c=a.stateNode;if(null===c)return null;var d=Qb(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== +typeof c)throw Error(t(231,b,typeof c));return c}var vl=!1;if(Xb)try{var wl={};Object.defineProperty(wl,"passive",{get:function(){vl=!0}});window.addEventListener("test",wl,wl);window.removeEventListener("test",wl,wl)}catch(a){vl=!1}function xl(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function yl(){return!0}function zl(){return!1} +function Al(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?yl:zl;this.isPropagationStopped=zl;return this}B(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& +(c.returnValue=!1),this.isDefaultPrevented=yl)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=yl)},persist:function(){},isPersistent:yl});return b} +var Bl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cl=Al(Bl),Dl=B({},Bl,{view:0,detail:0}),El=Al(Dl),Fl,Gl,Hl,Jl=B({},Dl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Il,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in +a)return a.movementX;a!==Hl&&(Hl&&"mousemove"===a.type?(Fl=a.screenX-Hl.screenX,Gl=a.screenY-Hl.screenY):Gl=Fl=0,Hl=a);return Fl},movementY:function(a){return"movementY"in a?a.movementY:Gl}}),Kl=Al(Jl),Ll=B({},Jl,{dataTransfer:0}),Ml=Al(Ll),Nl=B({},Dl,{relatedTarget:0}),Ol=Al(Nl),Pl=B({},Bl,{animationName:0,elapsedTime:0,pseudoElement:0}),Ql=Al(Pl),Rl=B({},Bl,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Sl=Al(Rl),Tl=B({},Bl,{data:0}),Ul=Al(Tl),Vl={Esc:"Escape", +Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wl={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", +119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Xl={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yl(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Xl[a])?!!b[a]:!1}function Il(){return Yl} +var Zl=B({},Dl,{key:function(a){if(a.key){var b=Vl[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=xl(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Wl[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Il,charCode:function(a){return"keypress"===a.type?xl(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== +a.type?xl(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),$l=Al(Zl),am=B({},Jl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bm=Al(am),cm=B({},Dl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Il}),dm=Al(cm),em=B({},Bl,{propertyName:0,elapsedTime:0,pseudoElement:0}),fm=Al(em),gm=B({},Jl,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, +deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),hm=Al(gm); +function im(a,b,c,d,e){if("submit"===b&&c&&c.stateNode===e){var f=Qb(e).action,g=d.submitter;g&&(b=(b=Qb(g))?b.formAction:g.getAttribute("formAction"),null!=b&&(f=b,g=null));if("function"===typeof f){var h=new Cl("action","action",null,d,e);a.push({event:h,listeners:[{instance:null,listener:function(){if(!d.defaultPrevented){h.preventDefault();if(g){var l=g.ownerDocument.createElement("input");l.name=g.name;l.value=g.value;g.parentNode.insertBefore(l,g);var p=new FormData(e);l.parentNode.removeChild(l)}else p= +new FormData(e);Sg(c,{pending:!0,data:p,method:e.method,action:f},f,p)}},currentTarget:e}]})}}}var jm=!1,km=null,lm=null,mm=null,nm=new Map,om=new Map,pm=[],qm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); +function rm(a,b){switch(a){case "focusin":case "focusout":km=null;break;case "dragenter":case "dragleave":lm=null;break;case "mouseover":case "mouseout":mm=null;break;case "pointerover":case "pointerout":nm.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":om.delete(b.pointerId)}} +function sm(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Ob(b),null!==b&&ql(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} +function tm(a,b,c,d,e){switch(b){case "focusin":return km=sm(km,a,b,c,d,e),!0;case "dragenter":return lm=sm(lm,a,b,c,d,e),!0;case "mouseover":return mm=sm(mm,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;nm.set(f,sm(nm.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,om.set(f,sm(om.get(f)||null,a,b,c,d,e)),!0}return!1} +function um(a){var b=Mb(a.target);if(null!==b){var c=Nc(b);if(null!==c)if(b=c.tag,13===b){if(b=Oc(c),null!==b){a.blockedOn=b;yb(a.priority,function(){if(13===c.tag){var d=Xg(c),e=Vd(c,d);null!==e&&pg(e,c,d);ol(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} +function vm(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=wm(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Gc=d;c.target.dispatchEvent(d);Gc=null}else return b=Ob(c),null!==b&&ql(b),a.blockedOn=c,!1;b.shift()}return!0}function xm(a,b,c){vm(a)&&c.delete(b)}function ym(){jm=!1;null!==km&&vm(km)&&(km=null);null!==lm&&vm(lm)&&(lm=null);null!==mm&&vm(mm)&&(mm=null);nm.forEach(xm);om.forEach(xm)} +function zm(a,b){a.blockedOn===b&&(a.blockedOn=null,jm||(jm=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,ym)))}var Am=null;function Bm(a){Am!==a&&(Am=a,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){Am===a&&(Am=null);for(var b=0;b<a.length;b+=3){var c=a[b],d=a[b+1],e=a[b+2];if("function"!==typeof d)if(null===Cm(d||c))continue;else break;var f=Ob(c);null!==f&&(a.splice(b,3),b-=3,Sg(f,{pending:!0,data:e,method:c.method,action:d},d,e))}}))} +function Ej(a){function b(l){return zm(l,a)}null!==km&&zm(km,a);null!==lm&&zm(lm,a);null!==mm&&zm(mm,a);nm.forEach(b);om.forEach(b);for(var c=0;c<pm.length;c++){var d=pm[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<pm.length&&(c=pm[0],null===c.blockedOn);)um(c),null===c.blockedOn&&pm.shift();c=a.getRootNode().$$reactFormReplay;if(null!=c)for(d=0;d<c.length;d+=3){var e=c[d],f=c[d+1],g=Qb(e);if("function"===typeof f)g||Bm(c);else if(g){var h=null;if(f&&f.hasAttribute("formAction"))if(e=f,g=Qb(f))h= +g.formAction;else{if(null!==Cm(e))continue}else h=g.action;"function"===typeof h?c[d+1]=h:(c.splice(d,3),d-=3);Bm(c)}}}var Dm=da.ReactCurrentBatchConfig,fj=!0;function Em(a,b,c,d){var e=F,f=Dm.transition;Dm.transition=null;try{F=2,Fm(a,b,c,d)}finally{F=e,Dm.transition=f}}function Gm(a,b,c,d){var e=F,f=Dm.transition;Dm.transition=null;try{F=8,Fm(a,b,c,d)}finally{F=e,Dm.transition=f}} +function Fm(a,b,c,d){if(fj){var e=wm(d);if(null===e)Hm(a,b,d,Im,c),rm(a,d);else if(tm(e,a,b,c,d))d.stopPropagation();else if(rm(a,d),b&4&&-1<qm.indexOf(a)){for(;null!==e;){var f=Ob(e);null!==f&&nl(f);f=wm(d);null===f&&Hm(a,b,d,Im,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else Hm(a,b,d,null,c)}}function wm(a){a=Hc(a);return Cm(a)}var Im=null; +function Cm(a){Im=null;a=Mb(a);if(null!==a){var b=Nc(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=Oc(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null)}}Im=a;return null} +function Ak(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; +case "message":switch(Za()){case $a:return 2;case ab:return 8;case bb:case cb:return 32;case db:return 268435456;default:return 32}default:return 32}}var Jm=null,Km=null,Lm=null;function Mm(){if(Lm)return Lm;var a,b=Km,c=b.length,d,e="value"in Jm?Jm.value:Jm.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Lm=e.slice(a,1<d?1-d:void 0)}var Nm=[9,13,27,32],Om=Xb&&"CompositionEvent"in window,Qm=null;Xb&&"documentMode"in document&&(Qm=document.documentMode); +var Rm=Xb&&"TextEvent"in window&&!Qm,Sm=Xb&&(!Om||Qm&&8<Qm&&11>=Qm),Tm=String.fromCharCode(32),Um=!1;function Vm(a,b){switch(a){case "keyup":return-1!==Nm.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function Wm(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Xm=!1; +function Ym(a,b){switch(a){case "compositionend":return Wm(b);case "keypress":if(32!==b.which)return null;Um=!0;return Tm;case "textInput":return a=b.data,a===Tm&&Um?null:a;default:return null}} +function Zm(a,b){if(Xm)return"compositionend"===a||!Om&&Vm(a,b)?(a=Mm(),Lm=Km=Jm=null,Xm=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return Sm&&"ko"!==b.locale?null:b.data;default:return null}} +var $m={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function an(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!$m[a.type]:"textarea"===b?!0:!1}function bn(a,b,c,d){Lc(d);b=cn(b,"onChange");0<b.length&&(c=new Cl("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var dn=null,en=null;function fn(a){gn(a,0)}function hn(a){var b=Pb(a);if(pc(b))return a} +function jn(a,b){if("change"===a)return b}var kn=!1;if(Xb){var ln;if(Xb){var mn="oninput"in document;if(!mn){var nn=document.createElement("div");nn.setAttribute("oninput","return;");mn="function"===typeof nn.oninput}ln=mn}else ln=!1;kn=ln&&(!document.documentMode||9<document.documentMode)}function on(){dn&&(dn.detachEvent("onpropertychange",pn),en=dn=null)}function pn(a){if("value"===a.propertyName&&hn(en)){var b=[];bn(b,en,a,Hc(a));tl(fn,b)}} +function qn(a,b,c){"focusin"===a?(on(),dn=b,en=c,dn.attachEvent("onpropertychange",pn)):"focusout"===a&&on()}function rn(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return hn(en)}function sn(a,b){if("click"===a)return hn(b)}function tn(a,b){if("input"===a||"change"===a)return hn(b)}function un(a){for(;a&&a.firstChild;)a=a.firstChild;return a} +function vn(a,b){var c=un(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=un(c)}}function wn(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wn(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} +function gj(){for(var a=window,b=qc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=qc(a.document)}return b}function hj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} +function Yk(a){var b=gj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&wn(c.ownerDocument.documentElement,c)){if(null!==d&&hj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=vn(c,f);var g=vn(c, d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}} -var rn=Ub&&"documentMode"in document&&11>=document.documentMode,sn=null,tn=null,un=null,vn=!1; -function wn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;vn||null==sn||sn!==nc(d)||(d=sn,"selectionStart"in d&&bj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),un&&fe(un,d)||(un=d,d=Xm(tn,"onSelect"),0<d.length&&(b=new wl("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=sn)))} -function xn(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var yn={animationend:xn("Animation","AnimationEnd"),animationiteration:xn("Animation","AnimationIteration"),animationstart:xn("Animation","AnimationStart"),transitionend:xn("Transition","TransitionEnd")},zn={},An={}; -Ub&&(An=document.createElement("div").style,"AnimationEvent"in window||(delete yn.animationend.animation,delete yn.animationiteration.animation,delete yn.animationstart.animation),"TransitionEvent"in window||delete yn.transitionend.transition);function Bn(a){if(zn[a])return zn[a];if(!yn[a])return a;var b=yn[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in An)return zn[a]=b[c];return a}var Cn=Bn("animationend"),Dn=Bn("animationiteration"),En=Bn("animationstart"),Fn=Bn("transitionend"),Gn=new Map,Hn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); -function In(a,b){Gn.set(a,b);Sb(b,[a])}for(var Jn=0;Jn<Hn.length;Jn++){var Kn=Hn[Jn],Ln=Kn.toLowerCase(),Mn=Kn[0].toUpperCase()+Kn.slice(1);In(Ln,"on"+Mn)}In(Cn,"onAnimationEnd");In(Dn,"onAnimationIteration");In(En,"onAnimationStart");In("dblclick","onDoubleClick");In("focusin","onFocus");In("focusout","onBlur");In(Fn,"onTransitionEnd");Tb("onMouseEnter",["mouseout","mouseover"]);Tb("onMouseLeave",["mouseout","mouseover"]);Tb("onPointerEnter",["pointerout","pointerover"]); -Tb("onPointerLeave",["pointerout","pointerover"]);Sb("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Sb("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Sb("onBeforeInput",["compositionend","keypress","textInput","paste"]);Sb("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Sb("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); -Sb("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),On=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nn)); -function Pn(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Pi(d,b,void 0,a);a.currentTarget=null} -function an(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],l=h.instance,p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Pn(e,h,p);f=l}else for(g=0;g<d.length;g++){h=d[g];l=h.instance;p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Pn(e,h,p);f=l}}}if(Li)throw a=Mi,Li=!1,Mi=null,a;} -function Y(a,b){var c=b[Cb];void 0===c&&(c=b[Cb]=new Set);var d=a+"__bubble";c.has(d)||(Qn(b,a,2,!1),c.add(d))}function Rn(a,b,c){var d=0;b&&(d|=4);Qn(c,a,d,b)}var Sn="_reactListening"+Math.random().toString(36).slice(2);function Di(a){if(!a[Sn]){a[Sn]=!0;Qb.forEach(function(c){"selectionchange"!==c&&(On.has(c)||Rn(c,!1,a),Rn(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[Sn]||(b[Sn]=!0,Rn("selectionchange",!1,b))}} -function Qn(a,b,c,d){switch(uk(b)){case 2:var e=ym;break;case 8:e=Am;break;default:e=zm}c=e.bind(null,b,c,a);e=void 0;!pl||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} -function Bm(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var l=g.tag;if(3===l||4===l)if(l=g.stateNode.containerInfo,l===e||8===l.nodeType&&l.parentNode===e)return;g=g.return}for(;null!==h;){g=Jb(h);if(null===g)return;l=g.tag;if(5===l||6===l||26===l||27===l){d=f=g;continue a}h=h.parentNode}}d=d.return}nl(function(){var p= -f,q=Ec(c),w=[];a:{var r=Gn.get(a);if(void 0!==r){var u=wl,z=a;switch(a){case "keypress":if(0===rl(c))break a;case "keydown":case "keyup":u=Ul;break;case "focusin":z="focus";u=Il;break;case "focusout":z="blur";u=Il;break;case "beforeblur":case "afterblur":u=Il;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=El;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= -Gl;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=Yl;break;case Cn:case Dn:case En:u=Kl;break;case Fn:u=$l;break;case "scroll":u=yl;break;case "wheel":u=bm;break;case "copy":case "cut":case "paste":u=Ml;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=Wl}var B=0!==(b&4),V=!B&&"scroll"===a,Q=B?null!==r?r+"Capture":null:r;B=[];for(var m=p,k;null!== -m;){var n=m;k=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===k||null===Q||(n=ol(m,Q),null!=n&&B.push(Tn(m,n,k)));if(V)break;m=m.return}0<B.length&&(r=new u(r,z,null,c,q),w.push({event:r,listeners:B}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Dc&&(z=c.relatedTarget||c.fromElement)&&(Jb(z)||z[Bb]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(z=c.relatedTarget||c.toElement,u=p,z=z?Jb(z): -null,null!==z&&(V=Kc(z),B=z.tag,z!==V||5!==B&&27!==B&&6!==B))z=null}else u=null,z=p;if(u!==z){B=El;n="onMouseLeave";Q="onMouseEnter";m="mouse";if("pointerout"===a||"pointerover"===a)B=Wl,n="onPointerLeave",Q="onPointerEnter",m="pointer";V=null==u?r:Mb(u);k=null==z?r:Mb(z);r=new B(n,m+"leave",u,c,q);r.target=V;r.relatedTarget=k;n=null;Jb(q)===p&&(B=new B(Q,m+"enter",z,c,q),B.target=k,B.relatedTarget=V,n=B);V=n;if(u&&z)b:{B=u;Q=z;m=0;for(k=B;k;k=Un(k))m++;k=0;for(n=Q;n;n=Un(n))k++;for(;0<m-k;)B=Un(B), -m--;for(;0<k-m;)Q=Un(Q),k--;for(;m--;){if(B===Q||null!==Q&&B===Q.alternate)break b;B=Un(B);Q=Un(Q)}B=null}else B=null;null!==u&&Vn(w,r,u,B,!1);null!==z&&null!==V&&Vn(w,V,z,B,!0)}}}a:{r=p?Mb(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=cn;else if(Vm(r))if(dn)v=nn;else{v=ln;var x=kn}else u=r.nodeName,!u||"input"!==u.toLowerCase()||"checkbox"!==r.type&&"radio"!==r.type?p&&Bc(p.elementType)&&(v=cn):v=mn;if(v&&(v=v(a,p))){Wm(w,v,c,q);break a}x&&x(a, -r,p);"focusout"===a&&p&&"number"===r.type&&null!=p.memoizedProps.value&&rc(r,"number",r.value)}x=p?Mb(p):window;switch(a){case "focusin":if(Vm(x)||"true"===x.contentEditable)sn=x,tn=p,un=null;break;case "focusout":un=tn=sn=null;break;case "mousedown":vn=!0;break;case "contextmenu":case "mouseup":case "dragend":vn=!1;wn(w,c,q);break;case "selectionchange":if(rn)break;case "keydown":case "keyup":wn(w,c,q)}var A;if(Im)b:{switch(a){case "compositionstart":var y="onCompositionStart";break b;case "compositionend":y= -"onCompositionEnd";break b;case "compositionupdate":y="onCompositionUpdate";break b}y=void 0}else Rm?Pm(a,c)&&(y="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(y="onCompositionStart");y&&(Mm&&"ko"!==c.locale&&(Rm||"onCompositionStart"!==y?"onCompositionEnd"===y&&Rm&&(A=Gm()):(Dm=q,Em="value"in Dm?Dm.value:Dm.textContent,Rm=!0)),x=Xm(p,y),0<x.length&&(y=new Ol(y,a,null,c,q),w.push({event:y,listeners:x}),A?y.data=A:(A=Qm(c),null!==A&&(y.data=A))));if(A=Lm?Sm(a,c):Tm(a,c))y=Xm(p,"onBeforeInput"), -0<y.length&&(x=new Ol("onBeforeInput","beforeinput",null,c,q),w.push({event:x,listeners:y}),x.data=A);cm(w,a,p,c,q)}an(w,b)})}function Tn(a,b,c){return{instance:a,listener:b,currentTarget:c}}function Xm(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=ol(a,c),null!=e&&d.unshift(Tn(a,e,f)),e=ol(a,b),null!=e&&d.push(Tn(a,e,f)));a=a.return}return d} -function Un(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null}function Vn(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,l=h.alternate,p=h.stateNode;h=h.tag;if(null!==l&&l===d)break;5!==h&&26!==h&&27!==h||null===p||(l=p,e?(p=ol(c,f),null!=p&&g.unshift(Tn(c,p,l))):e||(p=ol(c,f),null!=p&&g.push(Tn(c,p,l))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var Wn=/\r\n?/g,Xn=/\u0000|\uFFFD/g; -function Yn(a){return("string"===typeof a?a:""+a).replace(Wn,"\n").replace(Xn,"")}function Ci(a,b,c){b=Yn(b);if(Yn(a)!==b&&c)throw Error(t(425));}function rj(){} -function Z(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||xc(a,d):"number"===typeof d&&"body"!==b&&xc(a,""+d);break;case "className":$b(a,"class",d);break;case "tabIndex":$b(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":$b(a,c,d);break;case "style":Ac(a,d,f);break;case "src":case "href":if(""===d){a.removeAttribute(c);break}if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c); +var xn=Xb&&"documentMode"in document&&11>=document.documentMode,yn=null,zn=null,An=null,Bn=!1; +function Cn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Bn||null==yn||yn!==qc(d)||(d=yn,"selectionStart"in d&&hj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),An&&ie(An,d)||(An=d,d=cn(zn,"onSelect"),0<d.length&&(b=new Cl("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=yn)))} +function Dn(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var En={animationend:Dn("Animation","AnimationEnd"),animationiteration:Dn("Animation","AnimationIteration"),animationstart:Dn("Animation","AnimationStart"),transitionend:Dn("Transition","TransitionEnd")},Fn={},Gn={}; +Xb&&(Gn=document.createElement("div").style,"AnimationEvent"in window||(delete En.animationend.animation,delete En.animationiteration.animation,delete En.animationstart.animation),"TransitionEvent"in window||delete En.transitionend.transition);function Hn(a){if(Fn[a])return Fn[a];if(!En[a])return a;var b=En[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Gn)return Fn[a]=b[c];return a}var In=Hn("animationend"),Jn=Hn("animationiteration"),Kn=Hn("animationstart"),Ln=Hn("transitionend"),Mn=new Map,Nn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" "); +function On(a,b){Mn.set(a,b);Vb(b,[a])}for(var Pn=0;Pn<Nn.length;Pn++){var Qn=Nn[Pn],Rn=Qn.toLowerCase(),Sn=Qn[0].toUpperCase()+Qn.slice(1);On(Rn,"on"+Sn)}On(In,"onAnimationEnd");On(Jn,"onAnimationIteration");On(Kn,"onAnimationStart");On("dblclick","onDoubleClick");On("focusin","onFocus");On("focusout","onBlur");On(Ln,"onTransitionEnd");Wb("onMouseEnter",["mouseout","mouseover"]);Wb("onMouseLeave",["mouseout","mouseover"]);Wb("onPointerEnter",["pointerout","pointerover"]); +Wb("onPointerLeave",["pointerout","pointerover"]);Vb("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Vb("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Vb("onBeforeInput",["compositionend","keypress","textInput","paste"]);Vb("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Vb("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); +Vb("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Un=new Set("cancel close invalid load scroll scrollend toggle".split(" ").concat(Tn)); +function Vn(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Vi(d,b,void 0,a);a.currentTarget=null} +function gn(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],l=h.instance,p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Vn(e,h,p);f=l}else for(g=0;g<d.length;g++){h=d[g];l=h.instance;p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Vn(e,h,p);f=l}}}if(Ri)throw a=Si,Ri=!1,Si=null,a;} +function Y(a,b){var c=b[Fb];void 0===c&&(c=b[Fb]=new Set);var d=a+"__bubble";c.has(d)||(Wn(b,a,2,!1),c.add(d))}function Xn(a,b,c){var d=0;b&&(d|=4);Wn(c,a,d,b)}var Yn="_reactListening"+Math.random().toString(36).slice(2);function Ji(a){if(!a[Yn]){a[Yn]=!0;Tb.forEach(function(c){"selectionchange"!==c&&(Un.has(c)||Xn(c,!1,a),Xn(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[Yn]||(b[Yn]=!0,Xn("selectionchange",!1,b))}} +function Wn(a,b,c,d){switch(Ak(b)){case 2:var e=Em;break;case 8:e=Gm;break;default:e=Fm}c=e.bind(null,b,c,a);e=void 0;!vl||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} +function Hm(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var l=g.tag;if(3===l||4===l)if(l=g.stateNode.containerInfo,l===e||8===l.nodeType&&l.parentNode===e)return;g=g.return}for(;null!==h;){g=Mb(h);if(null===g)return;l=g.tag;if(5===l||6===l||26===l||27===l){d=f=g;continue a}h=h.parentNode}}d=d.return}tl(function(){var p= +f,q=Hc(c),w=[];a:{var r=Mn.get(a);if(void 0!==r){var u=Cl,z=a;switch(a){case "keypress":if(0===xl(c))break a;case "keydown":case "keyup":u=$l;break;case "focusin":z="focus";u=Ol;break;case "focusout":z="blur";u=Ol;break;case "beforeblur":case "afterblur":u=Ol;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=Kl;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= +Ml;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=dm;break;case In:case Jn:case Kn:u=Ql;break;case Ln:u=fm;break;case "scroll":case "scrollend":u=El;break;case "wheel":u=hm;break;case "copy":case "cut":case "paste":u=Sl;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=bm}var C=0!==(b&4),V=!C&&("scroll"===a||"scrollend"===a),R=C?null!==r?r+"Capture": +null:r;C=[];for(var m=p,k;null!==m;){var n=m;k=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===k||null===R||(n=ul(m,R),null!=n&&C.push(Zn(m,n,k)));if(V)break;m=m.return}0<C.length&&(r=new u(r,z,null,c,q),w.push({event:r,listeners:C}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Gc&&(z=c.relatedTarget||c.fromElement)&&(Mb(z)||z[Eb]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(z=c.relatedTarget|| +c.toElement,u=p,z=z?Mb(z):null,null!==z&&(V=Nc(z),C=z.tag,z!==V||5!==C&&27!==C&&6!==C))z=null}else u=null,z=p;if(u!==z){C=Kl;n="onMouseLeave";R="onMouseEnter";m="mouse";if("pointerout"===a||"pointerover"===a)C=bm,n="onPointerLeave",R="onPointerEnter",m="pointer";V=null==u?r:Pb(u);k=null==z?r:Pb(z);r=new C(n,m+"leave",u,c,q);r.target=V;r.relatedTarget=k;n=null;Mb(q)===p&&(C=new C(R,m+"enter",z,c,q),C.target=k,C.relatedTarget=V,n=C);V=n;if(u&&z)b:{C=u;R=z;m=0;for(k=C;k;k=$n(k))m++;k=0;for(n=R;n;n=$n(n))k++; +for(;0<m-k;)C=$n(C),m--;for(;0<k-m;)R=$n(R),k--;for(;m--;){if(C===R||null!==R&&C===R.alternate)break b;C=$n(C);R=$n(R)}C=null}else C=null;null!==u&&ao(w,r,u,C,!1);null!==z&&null!==V&&ao(w,V,z,C,!0)}}}a:{r=p?Pb(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=jn;else if(an(r))if(kn)v=tn;else{v=rn;var x=qn}else u=r.nodeName,!u||"input"!==u.toLowerCase()||"checkbox"!==r.type&&"radio"!==r.type?p&&Ec(p.elementType)&&(v=jn):v=sn;if(v&&(v=v(a,p))){bn(w, +v,c,q);break a}x&&x(a,r,p);"focusout"===a&&p&&"number"===r.type&&null!=p.memoizedProps.value&&uc(r,"number",r.value)}x=p?Pb(p):window;switch(a){case "focusin":if(an(x)||"true"===x.contentEditable)yn=x,zn=p,An=null;break;case "focusout":An=zn=yn=null;break;case "mousedown":Bn=!0;break;case "contextmenu":case "mouseup":case "dragend":Bn=!1;Cn(w,c,q);break;case "selectionchange":if(xn)break;case "keydown":case "keyup":Cn(w,c,q)}var A;if(Om)b:{switch(a){case "compositionstart":var y="onCompositionStart"; +break b;case "compositionend":y="onCompositionEnd";break b;case "compositionupdate":y="onCompositionUpdate";break b}y=void 0}else Xm?Vm(a,c)&&(y="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(y="onCompositionStart");y&&(Sm&&"ko"!==c.locale&&(Xm||"onCompositionStart"!==y?"onCompositionEnd"===y&&Xm&&(A=Mm()):(Jm=q,Km="value"in Jm?Jm.value:Jm.textContent,Xm=!0)),x=cn(p,y),0<x.length&&(y=new Ul(y,a,null,c,q),w.push({event:y,listeners:x}),A?y.data=A:(A=Wm(c),null!==A&&(y.data=A))));if(A=Rm?Ym(a, +c):Zm(a,c))y=cn(p,"onBeforeInput"),0<y.length&&(x=new Ul("onBeforeInput","beforeinput",null,c,q),w.push({event:x,listeners:y}),x.data=A);im(w,a,p,c,q)}gn(w,b)})}function Zn(a,b,c){return{instance:a,listener:b,currentTarget:c}}function cn(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=ul(a,c),null!=e&&d.unshift(Zn(a,e,f)),e=ul(a,b),null!=e&&d.push(Zn(a,e,f)));a=a.return}return d} +function $n(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null}function ao(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,l=h.alternate,p=h.stateNode;h=h.tag;if(null!==l&&l===d)break;5!==h&&26!==h&&27!==h||null===p||(l=p,e?(p=ul(c,f),null!=p&&g.unshift(Zn(c,p,l))):e||(p=ul(c,f),null!=p&&g.push(Zn(c,p,l))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var bo=/\r\n?/g,co=/\u0000|\uFFFD/g; +function eo(a){return("string"===typeof a?a:""+a).replace(bo,"\n").replace(co,"")}function Ii(a,b,c){b=eo(b);if(eo(a)!==b&&c)throw Error(t(425));}function xj(){} +function Z(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||Ac(a,d):"number"===typeof d&&"body"!==b&&Ac(a,""+d);break;case "className":cc(a,"class",d);break;case "tabIndex":cc(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":cc(a,c,d);break;case "style":Dc(a,d,f);break;case "src":case "href":if(""===d){a.removeAttribute(c);break}if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c); break}a.setAttribute(c,""+d);break;case "action":case "formAction":if("function"===typeof d){a.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else"function"===typeof f&&("formAction"===c?("input"!==b&&Z(a,b,"name",e.name,e,null),Z(a,b,"formEncType", -e.formEncType,e,null),Z(a,b,"formMethod",e.formMethod,e,null),Z(a,b,"formTarget",e.formTarget,e,null)):(Z(a,b,"encType",e.encType,e,null),Z(a,b,"method",e.method,e,null),Z(a,b,"target",e.target,e,null)));if(null==d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=rj);break;case "onScroll":null!=d&&Y("scroll",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61)); -d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));a.innerHTML=d}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"===typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href"); -break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&& +e.formEncType,e,null),Z(a,b,"formMethod",e.formMethod,e,null),Z(a,b,"formTarget",e.formTarget,e,null)):(Z(a,b,"encType",e.encType,e,null),Z(a,b,"method",e.method,e,null),Z(a,b,"target",e.target,e,null)));if(null==d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=xj);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!== +typeof d||!("__html"in d))throw Error(t(61));d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));a.innerHTML=d}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"=== +typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href");break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&& "function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""):a.removeAttribute(c);break;case "capture":case "download":!0===d?a.setAttribute(c,""):!1!==d&&null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,d):a.removeAttribute(c);break;case "cols":case "rows":case "size":case "span":null!=d&&"function"!==typeof d&&"symbol"!==typeof d&&!isNaN(d)&&1<=d?a.setAttribute(c,d):a.removeAttribute(c);break;case "rowSpan":case "start":null==d||"function"===typeof d||"symbol"===typeof d|| -isNaN(d)?a.removeAttribute(c):a.setAttribute(c,d);break;case "xlinkActuate":ac(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":ac(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":ac(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":ac(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":ac(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":ac(a,"http://www.w3.org/1999/xlink","xlink:type", -d);break;case "xmlBase":ac(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":ac(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":ac(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":Zb(a,"is",d);break;case "innerText":case "textContent":break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Cc.get(c)||c,Zb(a,e,d)}} -function Zn(a,b,c,d,e,f){switch(c){case "style":Ac(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));c=d.__html;if(null!=c){if(null!=e.children)throw Error(t(60));a.innerHTML=c}}break;case "children":"string"===typeof d?xc(a,d):"number"===typeof d&&xc(a,""+d);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onClick":null!=d&&(a.onclick=rj);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; -case "innerText":case "textContent":break;default:if(!Rb.hasOwnProperty(c))a:{if("o"===c[0]&&"n"===c[1]&&(e=c.endsWith("Capture"),b=c.slice(2,e?c.length-7:void 0),f=Nb(a),f=null!=f?f[c]:null,"function"===typeof f&&a.removeEventListener(b,f,e),"function"===typeof d)){"function"!==typeof f&&null!==f&&(c in a?a[c]=null:a.hasAttribute(c)&&a.removeAttribute(c));a.addEventListener(b,d,e);break a}c in a?a[c]=d:!0===d?a.setAttribute(c,""):Zb(a,c,d)}}} -function Bi(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Y("invalid",a);var d=null,e=null,f=null,g=null,h=null,l=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":l=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:Z(a, -b,q,p,c,null)}}sc(a,f,g,h,l,e,d,!1);lc(a);return;case "select":Y("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:Z(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?uc(a,!!q,b,!1):null!=c&&uc(a,!!q,c,!0);return;case "textarea":Y("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= -g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:Z(a,b,e,g,c,null)}wc(a,q,d,f);lc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:Z(a,b,g,q,c,null)}return;case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":Y("load",a);break;case "video":case "audio":for(q=0;q<Nn.length;q++)Y(Nn[q],a);break;case "image":Y("error",a);Y("load", -a);break;case "details":Y("toggle",a);break;case "embed":case "source":case "img":case "link":Y("error",a),Y("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:Z(a,b,h,q,c,null)}return;default:if(Bc(b)){for(l in c)c.hasOwnProperty(l)&&(q=c[l],null!=q&&Zn(a,b,l,q,c,null)); +isNaN(d)?a.removeAttribute(c):a.setAttribute(c,d);break;case "xlinkActuate":dc(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":dc(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":dc(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":dc(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":dc(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":dc(a,"http://www.w3.org/1999/xlink","xlink:type", +d);break;case "xmlBase":dc(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":dc(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":dc(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":bc(a,"is",d);break;case "innerText":case "textContent":break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Fc.get(c)||c,bc(a,e,d)}} +function fo(a,b,c,d,e,f){switch(c){case "style":Dc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));c=d.__html;if(null!=c){if(null!=e.children)throw Error(t(60));a.innerHTML=c}}break;case "children":"string"===typeof d?Ac(a,d):"number"===typeof d&&Ac(a,""+d);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "onClick":null!=d&&(a.onclick=xj);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; +case "innerText":case "textContent":break;default:if(!Ub.hasOwnProperty(c))a:{if("o"===c[0]&&"n"===c[1]&&(e=c.endsWith("Capture"),b=c.slice(2,e?c.length-7:void 0),f=Qb(a),f=null!=f?f[c]:null,"function"===typeof f&&a.removeEventListener(b,f,e),"function"===typeof d)){"function"!==typeof f&&null!==f&&(c in a?a[c]=null:a.hasAttribute(c)&&a.removeAttribute(c));a.addEventListener(b,d,e);break a}c in a?a[c]=d:!0===d?a.setAttribute(c,""):bc(a,c,d)}}} +function Hi(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Y("invalid",a);var d=null,e=null,f=null,g=null,h=null,l=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":l=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:Z(a, +b,q,p,c,null)}}vc(a,f,g,h,l,e,d,!1);oc(a);return;case "select":Y("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:Z(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?xc(a,!!q,b,!1):null!=c&&xc(a,!!q,c,!0);return;case "textarea":Y("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= +g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:Z(a,b,e,g,c,null)}zc(a,q,d,f);oc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:Z(a,b,g,q,c,null)}return;case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":Y("load",a);break;case "video":case "audio":for(q=0;q<Tn.length;q++)Y(Tn[q],a);break;case "image":Y("error",a);Y("load", +a);break;case "details":Y("toggle",a);break;case "embed":case "source":case "img":case "link":Y("error",a),Y("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:Z(a,b,h,q,c,null)}return;default:if(Ec(b)){for(l in c)c.hasOwnProperty(l)&&(q=c[l],null!=q&&fo(a,b,l,q,c,null)); return}}for(f in c)c.hasOwnProperty(f)&&(q=c[f],null!=q&&Z(a,b,f,q,c,null))} -function Jj(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,l=null,p=null,q=null;for(u in c){var w=c[u];if(c.hasOwnProperty(u)&&null!=w)switch(u){case "checked":break;case "value":break;case "defaultValue":l=w;default:d.hasOwnProperty(u)||Z(a,b,u,null,d,w)}}for(var r in d){var u=d[r];w=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=w))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= -u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==w&&Z(a,b,r,u,d,w)}}qc(a,g,h,l,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(l=c[f],c.hasOwnProperty(f)&&null!=l)switch(f){case "value":break;case "multiple":u=l;default:d.hasOwnProperty(f)||Z(a,b,f,null,d,l)}for(e in d)if(f=d[e],l=c[e],d.hasOwnProperty(e)&&(null!=f||null!=l))switch(e){case "value":r= -f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==l&&Z(a,b,e,f,d,l)}b=h;c=g;d=u;null!=r?uc(a,!!c,r,!1):!!d!==!!c&&(null!=b?uc(a,!!c,b,!0):uc(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:Z(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; -case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&Z(a,b,g,e,d,f)}vc(a,r,u);return;case "option":for(var z in c)if(r=c[z],c.hasOwnProperty(z)&&null!=r&&!d.hasOwnProperty(z))switch(z){case "selected":a.selected=!1;break;default:Z(a,b,z,null,d,r)}for(l in d)if(r=d[l],u=c[l],d.hasOwnProperty(l)&&r!==u&&(null!=r||null!=u))switch(l){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:Z(a,b,l,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var B in c)r= -c[B],c.hasOwnProperty(B)&&null!=r&&!d.hasOwnProperty(B)&&Z(a,b,B,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:Z(a,b,p,r,d,u)}return;default:if(Bc(b)){for(var V in c)r=c[V],c.hasOwnProperty(V)&&null!=r&&!d.hasOwnProperty(V)&&Zn(a,b,V,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||Zn(a,b,q,r,d,u);return}}for(var Q in c)r=c[Q], -c.hasOwnProperty(Q)&&null!=r&&!d.hasOwnProperty(Q)&&Z(a,b,Q,null,d,r);for(w in d)r=d[w],u=c[w],!d.hasOwnProperty(w)||r===u||null==r&&null==u||Z(a,b,w,r,d,u)}var Zi=null,cj=null;function Ai(a){return 9===a.nodeType?a:a.ownerDocument}function Na(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} -function Oa(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Gd(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} -var xk="function"===typeof setTimeout?setTimeout:void 0,Fk="function"===typeof clearTimeout?clearTimeout:void 0,$n="function"===typeof Promise?Promise:void 0,nf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof $n?function(a){return $n.resolve(null).then(a).catch(ao)}:xk;function ao(a){setTimeout(function(){throw a;})} -function xj(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);yj(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);yj(b)}function dj(a){var b=a.nodeType;if(9===b)bo(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":bo(a);break;default:a.textContent=""}} -function bo(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":bo(c);Ib(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} -function vd(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d&&("INPUT"!==a.nodeName||"hidden"!==a.type))break}else if(!d)if("input"===b&&"hidden"===a.type){var f=null==e.name?null:""+e.name;if("hidden"===e.type&&a.getAttribute("name")===f)return a}else return a;else if(!a[Hb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel|| +function Pj(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,l=null,p=null,q=null;for(u in c){var w=c[u];if(c.hasOwnProperty(u)&&null!=w)switch(u){case "checked":break;case "value":break;case "defaultValue":l=w;default:d.hasOwnProperty(u)||Z(a,b,u,null,d,w)}}for(var r in d){var u=d[r];w=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=w))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= +u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==w&&Z(a,b,r,u,d,w)}}tc(a,g,h,l,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(l=c[f],c.hasOwnProperty(f)&&null!=l)switch(f){case "value":break;case "multiple":u=l;default:d.hasOwnProperty(f)||Z(a,b,f,null,d,l)}for(e in d)if(f=d[e],l=c[e],d.hasOwnProperty(e)&&(null!=f||null!=l))switch(e){case "value":r= +f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==l&&Z(a,b,e,f,d,l)}b=h;c=g;d=u;null!=r?xc(a,!!c,r,!1):!!d!==!!c&&(null!=b?xc(a,!!c,b,!0):xc(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:Z(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; +case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&Z(a,b,g,e,d,f)}yc(a,r,u);return;case "option":for(var z in c)if(r=c[z],c.hasOwnProperty(z)&&null!=r&&!d.hasOwnProperty(z))switch(z){case "selected":a.selected=!1;break;default:Z(a,b,z,null,d,r)}for(l in d)if(r=d[l],u=c[l],d.hasOwnProperty(l)&&r!==u&&(null!=r||null!=u))switch(l){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:Z(a,b,l,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var C in c)r= +c[C],c.hasOwnProperty(C)&&null!=r&&!d.hasOwnProperty(C)&&Z(a,b,C,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:Z(a,b,p,r,d,u)}return;default:if(Ec(b)){for(var V in c)r=c[V],c.hasOwnProperty(V)&&null!=r&&!d.hasOwnProperty(V)&&fo(a,b,V,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||fo(a,b,q,r,d,u);return}}for(var R in c)r=c[R], +c.hasOwnProperty(R)&&null!=r&&!d.hasOwnProperty(R)&&Z(a,b,R,null,d,r);for(w in d)r=d[w],u=c[w],!d.hasOwnProperty(w)||r===u||null==r&&null==u||Z(a,b,w,r,d,u)}var ej=null,ij=null;function Gi(a){return 9===a.nodeType?a:a.ownerDocument}function Pa(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} +function Qa(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Jd(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} +var Dk="function"===typeof setTimeout?setTimeout:void 0,Lk="function"===typeof clearTimeout?clearTimeout:void 0,go="function"===typeof Promise?Promise:void 0,rf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof go?function(a){return go.resolve(null).then(a).catch(ho)}:Dk;function ho(a){setTimeout(function(){throw a;})} +function Dj(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);Ej(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);Ej(b)}function jj(a){var b=a.nodeType;if(9===b)io(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":io(a);break;default:a.textContent=""}} +function io(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":io(c);Lb(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} +function yd(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d&&("INPUT"!==a.nodeName||"hidden"!==a.type))break}else if(!d)if("input"===b&&"hidden"===a.type){var f=null==e.name?null:""+e.name;if("hidden"===e.type&&a.getAttribute("name")===f)return a}else return a;else if(!a[Kb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel|| a.getAttribute("href")!==(null==e.href?null:e.href)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin)||a.getAttribute("title")!==(null==e.title?null:e.title))break;return a;case "style":if(a.hasAttribute("data-precedence"))break;return a;case "script":f=a.getAttribute("src");if((f!==(null==e.src?null:e.src)||a.getAttribute("type")!==(null==e.type?null:e.type)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin))&&f&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break; -return a;default:return a}a=Ad(a);if(null===a)break}return null}function yd(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Ad(a);if(null===a)return null}return a}function wd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Ad(a){return wd(a.nextSibling)} -function yi(a,b,c,d,e){a[zb]=e;a[Ab]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e<Nn.length;e++)Y(Nn[e],a);break;case "source":Y("error",a);break;case "img":case "image":case "link":Y("error",a);Y("load",a);break;case "details":Y("toggle",a);break;case "input":Y("invalid",a);sc(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);lc(a);break;case "select":Y("invalid", -a);break;case "textarea":Y("invalid",a),wc(a,c.value,c.defaultValue,c.children),lc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&Ci(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Y("scroll",a);null!=c.onClick&&(a.onclick=rj)} -function Kb(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function zi(a,b,c){b=Ai(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var co=new Map,eo=new Set; -function Lj(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var mo={prefetchDNS:fo,preconnect:go,preload:ho,preloadModule:io,preinitStyle:jo,preinitScript:ko,preinitModuleScript:lo}; -function no(a,b,c){var d=document;if("string"===typeof b&&b){var e=pc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');eo.has(e)||(eo.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),Bi(b,"link",a),Pb(b),d.head.appendChild(b)))}}function fo(a){no("dns-prefetch",a,null)}function go(a,b){no("preconnect",a,b)} -function ho(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+pc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+pc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+pc(c.imageSizes)+'"]')):e+='[href="'+pc(a)+'"]':e+='[href="'+pc(a)+'"]';var f=e;switch(b){case "style":f=oo(a);break;case "script":f=po(a)}co.has(f)||(a=C({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),co.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(qo(f))|| -"script"===b&&d.querySelector(ro(f))||(b=d.createElement("link"),Bi(b,"link",a),Pb(b),d.head.appendChild(b)))}} -function io(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+pc(d)+'"][href="'+pc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=po(a)}if(!co.has(f)&&(a=C({rel:"modulepreload",href:a},b),co.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(ro(f)))return}d=c.createElement("link"); -Bi(d,"link",a);Pb(d);c.head.appendChild(d)}}} -function jo(a,b,c){var d=document;if(a){var e=Ob(d).hoistableStyles,f=oo(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(qo(f)))h.loading=1;else{a=C({rel:"stylesheet",href:a,"data-precedence":b},c);(c=co.get(f))&&so(a,c);var l=g=d.createElement("link");Pb(l);Bi(l,"link",a);l._p=new Promise(function(p,q){l.onload=p;l.onerror=q});l.addEventListener("load",function(){h.loading|=1});l.addEventListener("error",function(){h.loading|=2});h.loading|=4;to(g,b,d)}g= -{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function ko(a,b){var c=document;if(a){var d=Ob(c).hoistableScripts,e=po(a),f=d.get(e);f||(f=c.querySelector(ro(e)),f||(a=C({src:a,async:!0},b),(b=co.get(e))&&uo(a,b),f=c.createElement("script"),Pb(f),Bi(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function lo(a,b){var c=document;if(a){var d=Ob(c).hoistableScripts,e=po(a),f=d.get(e);f||(f=c.querySelector(ro(e)),f||(a=C({src:a,async:!0,type:"module"},b),(b=co.get(e))&&uo(a,b),f=c.createElement("script"),Pb(f),Bi(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function Yk(a,b,c){b=(b=Ja.current)?Lj(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=oo(c.href),b=Ob(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=oo(c.href);var d=Ob(b).hoistableStyles,e=d.get(a); -e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),co.has(a)||vo(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=po(c.src),b=Ob(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", -instance:null,count:0,state:null};default:throw Error(t(444,a));}}function oo(a){return'href="'+pc(a)+'"'}function qo(a){return'link[rel="stylesheet"]['+a+"]"}function wo(a){return C({},a,{"data-precedence":a.precedence,precedence:null})} -function vo(a,b,c,d){co.set(b,c);a.querySelector(qo(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),Bi(b,"link",c),Pb(b),a.head.appendChild(b)))}function po(a){return'[src="'+pc(a)+'"]'}function ro(a){return"script[async]"+a} -function Ij(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+pc(c.href)+'"]');if(d)return b.instance=d,Pb(d),d;var e=C({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");Pb(d);Bi(d,"style",e);to(d,c.precedence,a);return b.instance=d;case "stylesheet":e=oo(c.href);var f=a.querySelector(qo(e));if(f)return b.instance=f,Pb(f),f;d=wo(c);(e=co.get(e))&&so(d,e);f=(a.ownerDocument|| -a).createElement("link");Pb(f);var g=f;g._p=new Promise(function(h,l){g.onload=h;g.onerror=l});Bi(f,"link",d);b.state.loading|=4;to(f,c.precedence,a);return b.instance=f;case "script":f=po(c.src);if(e=a.querySelector(ro(f)))return b.instance=e,Pb(e),e;d=c;if(e=co.get(f))d=C({},c),uo(d,e);a=a.ownerDocument||a;e=a.createElement("script");Pb(e);Bi(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& -4)&&(d=b.instance,b.state.loading|=4,to(d,c.precedence,a));return b.instance}function to(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} -function so(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function uo(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var Kj=null; -function Gj(a,b,c){if(null===Kj){var d=new Map;var e=Kj=new Map;e.set(c,d)}else e=Kj,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Hb]||f[zb]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} -function Hj(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} -function $k(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} -var zk=null;function Ak(){} -function Yj(a,b,c){if(null===zk)throw Error(t(475));var d=zk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=oo(c.href),f=a.querySelector(qo(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=xo.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Pb(f);return}f=a.ownerDocument||a;c=wo(c);(e=co.get(e))&&so(c,e);f=f.createElement("link");Pb(f);var g=f;g._p=new Promise(function(h,l){g.onload=h; -g.onerror=l});Bi(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=xo.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} -function Bk(){if(null===zk)throw Error(t(475));var a=zk;a.stylesheets&&0===a.count&&yo(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&yo(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function xo(){this.count--;if(0===this.count)if(this.stylesheets)yo(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var zo=null; -function yo(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,zo=new Map,b.forEach(Ao,a),zo=null,xo.call(a))} -function Ao(a,b){if(!(b.state.loading&4)){var c=zo.get(a);if(c)var d=c.get("last");else{c=new Map;zo.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=xo.bind(this);e.addEventListener("load",d);e.addEventListener("error", -d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var Bo=ca.Dispatcher;"undefined"!==typeof document&&(Bo.current=mo);var Co="function"===typeof reportError?reportError:function(a){console.error(a)};function Do(a){this._internalRoot=a}Eo.prototype.render=Do.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));fl(a,b,null,null)}; -Eo.prototype.unmount=Do.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Dk(function(){fl(null,a,null,null)});b[Bb]=null}};function Eo(a){this._internalRoot=a}Eo.prototype.unstable_scheduleHydration=function(a){if(a){var b=F;a={blockedOn:null,target:a,priority:b};for(var c=0;c<jm.length&&0!==b&&b<jm[c].priority;c++);jm.splice(c,0,a);0===c&&om(a)}};function Fo(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} -function Go(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function Ho(){} -function Io(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=gl(g);f.call(p)}}var g=el(b,d,a,0,null,!1,!1,"",Ho,null,null);a._reactRootContainer=g;a[Bb]=g.current;Di(8===a.nodeType?a.parentNode:a);Dk();return g}dj(a);if("function"===typeof d){var h=d;d=function(){var p=gl(l);h.call(p)}}var l=bl(a,0,!1,null,null,!1,!1,"",Ho,null,null);a._reactRootContainer=l;a[Bb]=l.current;Di(8===a.nodeType?a.parentNode:a);Dk(function(){fl(b,l,c,d)});return l} -function Jo(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var l=gl(g);h.call(l)}}fl(b,g,a,e)}else g=Io(c,b,a,e,d);return gl(g)}function Ko(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var Lo=ca.Dispatcher;ca.Events=[Lb,Mb,Nb,Ic,Jc,Ck];var Mo={findFiberByHostInstance:Jb,bundleType:0,version:"18.3.0-experimental-d900fadbf-20230929",rendererPackageName:"react-dom"}; -var No={bundleType:Mo.bundleType,version:Mo.version,rendererPackageName:Mo.rendererPackageName,rendererConfig:Mo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Oc(a);return null===a?null:a.stateNode},findFiberByHostInstance:Mo.findFiberByHostInstance|| -ll,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-experimental-d900fadbf-20230929"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Oo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Oo.isDisabled&&Oo.supportsFiber)try{cb=Oo.inject(No),db=Oo}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca; -exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Fo(b))throw Error(t(200));return cl(a,b,null,c)}; -exports.createRoot=function(a,b){if(!Fo(a))throw Error(t(299));var c=!1,d="",e=Co,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=bl(a,1,!1,null,null,c,!1,d,e,f,null);a[Bb]=b.current;Bo.current=mo;Di(8===a.nodeType?a.parentNode:a);return new Do(b)}; -exports.experimental_useFormState=function(a,b,c){return ea.current.useFormState(a,b,c)};exports.experimental_useFormStatus=function(){return ea.current.useHostTransitionStatus()};exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=Oc(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return Dk(a)}; -exports.hydrate=function(a,b,c){if(!Go(b))throw Error(t(200));return Jo(null,a,b,!0,c)}; -exports.hydrateRoot=function(a,b,c){if(!Fo(a))throw Error(t(405));var d=!1,e="",f=Co,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.experimental_formState&&(h=c.experimental_formState));b=el(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Bb]=b.current;Bo.current=mo;Di(a);return new Eo(b)}; -exports.preconnect=function(a,b){var c=Lo.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=Lo.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; -exports.preinit=function(a,b){var c=Lo.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=Ko(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; -exports.preinitModule=function(a,b){var c=Lo.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=Ko(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; -exports.preload=function(a,b){var c=Lo.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=Ko(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== -typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=Lo.current;if(c&&"string"===typeof a)if(b){var d=Ko(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!Go(b))throw Error(t(200));return Jo(null,a,b,!1,c)}; -exports.unmountComponentAtNode=function(a){if(!Go(a))throw Error(t(40));return a._reactRootContainer?(Dk(function(){Jo(null,null,a,!1,function(){a._reactRootContainer=null;a[Bb]=null})}),!0):!1};exports.unstable_batchedUpdates=Ck;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!Go(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return Jo(a,b,c,!1,d)};exports.unstable_runWithPriority=vb;exports.version="18.3.0-experimental-d900fadbf-20230929"; +return a;default:return a}a=Dd(a);if(null===a)break}return null}function Bd(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Dd(a);if(null===a)return null}return a}function zd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Dd(a){return zd(a.nextSibling)} +function Ei(a,b,c,d,e){a[Cb]=e;a[Db]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e<Tn.length;e++)Y(Tn[e],a);break;case "source":Y("error",a);break;case "img":case "image":case "link":Y("error",a);Y("load",a);break;case "details":Y("toggle",a);break;case "input":Y("invalid",a);vc(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);oc(a);break;case "select":Y("invalid", +a);break;case "textarea":Y("invalid",a),zc(a,c.value,c.defaultValue,c.children),oc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&Ii(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Y("scroll",a);null!=c.onScrollEnd&&Y("scrollend",a);null!=c.onClick&&(a.onclick=xj)} +function Nb(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function Fi(a,b,c){b=Gi(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var jo=new Map,ko=new Set; +function Rj(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var so={prefetchDNS:lo,preconnect:mo,preload:no,preloadModule:oo,preinitStyle:po,preinitScript:qo,preinitModuleScript:ro}; +function to(a,b,c){var d=document;if("string"===typeof b&&b){var e=sc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');ko.has(e)||(ko.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),Hi(b,"link",a),Sb(b),d.head.appendChild(b)))}}function lo(a){to("dns-prefetch",a,null)}function mo(a,b){to("preconnect",a,b)} +function no(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+sc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+sc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+sc(c.imageSizes)+'"]')):e+='[href="'+sc(a)+'"]':e+='[href="'+sc(a)+'"]';var f=e;switch(b){case "style":f=uo(a);break;case "script":f=vo(a)}jo.has(f)||(a=B({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),jo.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(wo(f))|| +"script"===b&&d.querySelector(xo(f))||(b=d.createElement("link"),Hi(b,"link",a),Sb(b),d.head.appendChild(b)))}} +function oo(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+sc(d)+'"][href="'+sc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=vo(a)}if(!jo.has(f)&&(a=B({rel:"modulepreload",href:a},b),jo.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(xo(f)))return}d=c.createElement("link"); +Hi(d,"link",a);Sb(d);c.head.appendChild(d)}}} +function po(a,b,c){var d=document;if(a){var e=Rb(d).hoistableStyles,f=uo(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(wo(f)))h.loading=1;else{a=B({rel:"stylesheet",href:a,"data-precedence":b},c);(c=jo.get(f))&&yo(a,c);var l=g=d.createElement("link");Sb(l);Hi(l,"link",a);l._p=new Promise(function(p,q){l.onload=p;l.onerror=q});l.addEventListener("load",function(){h.loading|=1});l.addEventListener("error",function(){h.loading|=2});h.loading|=4;zo(g,b,d)}g= +{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function qo(a,b){var c=document;if(a){var d=Rb(c).hoistableScripts,e=vo(a),f=d.get(e);f||(f=c.querySelector(xo(e)),f||(a=B({src:a,async:!0},b),(b=jo.get(e))&&Ao(a,b),f=c.createElement("script"),Sb(f),Hi(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function ro(a,b){var c=document;if(a){var d=Rb(c).hoistableScripts,e=vo(a),f=d.get(e);f||(f=c.querySelector(xo(e)),f||(a=B({src:a,async:!0,type:"module"},b),(b=jo.get(e))&&Ao(a,b),f=c.createElement("script"),Sb(f),Hi(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function dl(a,b,c){b=(b=La.current)?Rj(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=uo(c.href),b=Rb(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=uo(c.href);var d=Rb(b).hoistableStyles,e=d.get(a); +e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),jo.has(a)||Bo(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=vo(c.src),b=Rb(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", +instance:null,count:0,state:null};default:throw Error(t(444,a));}}function uo(a){return'href="'+sc(a)+'"'}function wo(a){return'link[rel="stylesheet"]['+a+"]"}function Co(a){return B({},a,{"data-precedence":a.precedence,precedence:null})} +function Bo(a,b,c,d){jo.set(b,c);a.querySelector(wo(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),Hi(b,"link",c),Sb(b),a.head.appendChild(b)))}function vo(a){return'[src="'+sc(a)+'"]'}function xo(a){return"script[async]"+a} +function Oj(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+sc(c.href)+'"]');if(d)return b.instance=d,Sb(d),d;var e=B({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");Sb(d);Hi(d,"style",e);zo(d,c.precedence,a);return b.instance=d;case "stylesheet":e=uo(c.href);var f=a.querySelector(wo(e));if(f)return b.instance=f,Sb(f),f;d=Co(c);(e=jo.get(e))&&yo(d,e);f=(a.ownerDocument|| +a).createElement("link");Sb(f);var g=f;g._p=new Promise(function(h,l){g.onload=h;g.onerror=l});Hi(f,"link",d);b.state.loading|=4;zo(f,c.precedence,a);return b.instance=f;case "script":f=vo(c.src);if(e=a.querySelector(xo(f)))return b.instance=e,Sb(e),e;d=c;if(e=jo.get(f))d=B({},c),Ao(d,e);a=a.ownerDocument||a;e=a.createElement("script");Sb(e);Hi(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& +4)&&(d=b.instance,b.state.loading|=4,zo(d,c.precedence,a));return b.instance}function zo(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} +function yo(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function Ao(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var Qj=null; +function Mj(a,b,c){if(null===Qj){var d=new Map;var e=Qj=new Map;e.set(c,d)}else e=Qj,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Kb]||f[Cb]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} +function Nj(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} +function fl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} +var Fk=null;function Gk(){} +function ek(a,b,c){if(null===Fk)throw Error(t(475));var d=Fk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=uo(c.href),f=a.querySelector(wo(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Do.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Sb(f);return}f=a.ownerDocument||a;c=Co(c);(e=jo.get(e))&&yo(c,e);f=f.createElement("link");Sb(f);var g=f;g._p=new Promise(function(h,l){g.onload=h; +g.onerror=l});Hi(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Do.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} +function Hk(){if(null===Fk)throw Error(t(475));var a=Fk;a.stylesheets&&0===a.count&&Eo(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&Eo(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function Do(){this.count--;if(0===this.count)if(this.stylesheets)Eo(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var Fo=null; +function Eo(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,Fo=new Map,b.forEach(Go,a),Fo=null,Do.call(a))} +function Go(a,b){if(!(b.state.loading&4)){var c=Fo.get(a);if(c)var d=c.get("last");else{c=new Map;Fo.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=Do.bind(this);e.addEventListener("load",d);e.addEventListener("error", +d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var Ho=ca.Dispatcher;"undefined"!==typeof document&&(Ho.current=so);var Io="function"===typeof reportError?reportError:function(a){console.error(a)};function Jo(a){this._internalRoot=a}Ko.prototype.render=Jo.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));ll(a,b,null,null)}; +Ko.prototype.unmount=Jo.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Jk(function(){ll(null,a,null,null)});b[Eb]=null}};function Ko(a){this._internalRoot=a}Ko.prototype.unstable_scheduleHydration=function(a){if(a){var b=F;a={blockedOn:null,target:a,priority:b};for(var c=0;c<pm.length&&0!==b&&b<pm[c].priority;c++);pm.splice(c,0,a);0===c&&um(a)}};function Lo(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} +function Mo(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function No(){} +function Oo(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=ml(g);f.call(p)}}var g=kl(b,d,a,0,null,!1,!1,"",No,null,null);a._reactRootContainer=g;a[Eb]=g.current;Ji(8===a.nodeType?a.parentNode:a);Jk();return g}jj(a);if("function"===typeof d){var h=d;d=function(){var p=ml(l);h.call(p)}}var l=hl(a,0,!1,null,null,!1,!1,"",No,null,null);a._reactRootContainer=l;a[Eb]=l.current;Ji(8===a.nodeType?a.parentNode:a);Jk(function(){ll(b,l,c,d)});return l} +function Po(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var l=ml(g);h.call(l)}}ll(b,g,a,e)}else g=Oo(c,b,a,e,d);return ml(g)}function Qo(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var Ro=ca.Dispatcher;ca.Events=[Ob,Pb,Qb,Lc,Mc,Ik];var So={findFiberByHostInstance:Mb,bundleType:0,version:"18.3.0-experimental-d803f519e-20231020",rendererPackageName:"react-dom"}; +var To={bundleType:So.bundleType,version:So.version,rendererPackageName:So.rendererPackageName,rendererConfig:So.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Rc(a);return null===a?null:a.stateNode},findFiberByHostInstance:So.findFiberByHostInstance|| +rl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-experimental-d803f519e-20231020"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Uo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Uo.isDisabled&&Uo.supportsFiber)try{eb=Uo.inject(To),fb=Uo}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca; +exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Lo(b))throw Error(t(200));return il(a,b,null,c)}; +exports.createRoot=function(a,b){if(!Lo(a))throw Error(t(299));var c=!1,d="",e=Io,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=hl(a,1,!1,null,null,c,!1,d,e,f,null);a[Eb]=b.current;Ho.current=so;Ji(8===a.nodeType?a.parentNode:a);return new Jo(b)}; +exports.experimental_useFormState=function(a,b,c){return ja(a,b,c)};exports.experimental_useFormStatus=function(){return ia()};exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=Rc(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return Jk(a)}; +exports.hydrate=function(a,b,c){if(!Mo(b))throw Error(t(200));return Po(null,a,b,!0,c)}; +exports.hydrateRoot=function(a,b,c){if(!Lo(a))throw Error(t(405));var d=!1,e="",f=Io,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.formState&&(h=c.formState));b=kl(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Eb]=b.current;Ho.current=so;Ji(a);return new Ko(b)}; +exports.preconnect=function(a,b){var c=Ro.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=Ro.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; +exports.preinit=function(a,b){var c=Ro.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=Qo(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; +exports.preinitModule=function(a,b){var c=Ro.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=Qo(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; +exports.preload=function(a,b){var c=Ro.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=Qo(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== +typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=Ro.current;if(c&&"string"===typeof a)if(b){var d=Qo(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!Mo(b))throw Error(t(200));return Po(null,a,b,!1,c)}; +exports.unmountComponentAtNode=function(a){if(!Mo(a))throw Error(t(40));return a._reactRootContainer?(Jk(function(){Po(null,null,a,!1,function(){a._reactRootContainer=null;a[Eb]=null})}),!0):!1};exports.unstable_batchedUpdates=Ik;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!Mo(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return Po(a,b,c,!1,d)};exports.unstable_runWithPriority=yb;exports.useFormState=ja;exports.useFormStatus=ia; +exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.profiling.min.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.profiling.min.js index b1f24673210ea..461ea09ec5ffb 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.profiling.min.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.profiling.min.js @@ -22,446 +22,449 @@ if ( Modernizr 3.0.0pre (Custom Build) | MIT */ 'use strict';var aa=require("next/dist/compiled/react-experimental"),ba=require("next/dist/compiled/scheduler-experimental"),ca={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function t(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -var w=Object.assign,da=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=da.ReactCurrentDispatcher,fa={pending:!1,data:null,method:null,action:null},ha=[],ia=-1;function ka(a){return{current:a}}function D(a){0>ia||(a.current=ha[ia],ha[ia]=null,ia--)}function E(a,b){ia++;ha[ia]=a.current;a.current=b} -var la=Symbol.for("react.element"),ma=Symbol.for("react.portal"),na=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),pa=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),ra=Symbol.for("react.context"),sa=Symbol.for("react.server_context"),ta=Symbol.for("react.forward_ref"),ua=Symbol.for("react.suspense"),va=Symbol.for("react.suspense_list"),wa=Symbol.for("react.memo"),xa=Symbol.for("react.lazy"),ya=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); -var za=Symbol.for("react.offscreen"),Aa=Symbol.for("react.legacy_hidden"),Ba=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ca=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.for("react.postpone"),Fa=Symbol.iterator;function Ga(a){if(null===a||"object"!==typeof a)return null;a=Fa&&a[Fa]||a["@@iterator"];return"function"===typeof a?a:null} -var Ha=ka(null),Ia=ka(null),Ja=ka(null),Ka=ka(null),La={$$typeof:ra,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function Ma(a,b){E(Ja,b);E(Ia,a);E(Ha,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Na(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Na(a),b=Oa(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ha);E(Ha,b)} -function Pa(){D(Ha);D(Ia);D(Ja)}function Qa(a){null!==a.memoizedState&&E(Ka,a);var b=Ha.current;var c=Oa(b,a.type);b!==c&&(E(Ia,a),E(Ha,c))}function Ra(a){Ia.current===a&&(D(Ha),D(Ia));Ka.current===a&&(D(Ka),La._currentValue=null)} -var Sa=ba.unstable_scheduleCallback,Ta=ba.unstable_cancelCallback,Ua=ba.unstable_shouldYield,Va=ba.unstable_requestPaint,Wa=ba.unstable_now,Xa=ba.unstable_getCurrentPriorityLevel,Ya=ba.unstable_ImmediatePriority,Za=ba.unstable_UserBlockingPriority,$a=ba.unstable_NormalPriority,ab=ba.unstable_LowPriority,bb=ba.unstable_IdlePriority,cb=null,db=null,F=null,eb="undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__; -function fb(a,b){if(db&&"function"===typeof db.onCommitFiberRoot)try{var c=128===(a.current.flags&128);switch(b){case 2:var d=Ya;break;case 8:d=Za;break;case 32:d=$a;break;case 536870912:d=bb;break;default:d=$a}db.onCommitFiberRoot(cb,a,d,c)}catch(e){}}function gb(a){F=a}function hb(){for(var a=new Map,b=1,c=0;31>c;c++){var d=ib(b);a.set(b,d);b*=2}return a}function jb(){null!==F&&"function"===typeof F.markCommitStopped&&F.markCommitStopped()} -function kb(a){null!==F&&"function"===typeof F.markComponentRenderStarted&&F.markComponentRenderStarted(a)}function lb(){null!==F&&"function"===typeof F.markComponentRenderStopped&&F.markComponentRenderStopped()}function mb(a){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStarted&&F.markComponentLayoutEffectUnmountStarted(a)}function nb(){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStopped&&F.markComponentLayoutEffectUnmountStopped()} -function ob(a){null!==F&&"function"===typeof F.markRenderStarted&&F.markRenderStarted(a)}function pb(){null!==F&&"function"===typeof F.markRenderStopped&&F.markRenderStopped()}function qb(a,b){null!==F&&"function"===typeof F.markStateUpdateScheduled&&F.markStateUpdateScheduled(a,b)}var sb=Math.clz32?Math.clz32:rb,tb=Math.log,ub=Math.LN2;function rb(a){a>>>=0;return 0===a?32:31-(tb(a)/ub|0)|0} -function ib(a){if(a&1)return"SyncHydrationLane";if(a&2)return"Sync";if(a&4)return"InputContinuousHydration";if(a&8)return"InputContinuous";if(a&16)return"DefaultHydration";if(a&32)return"Default";if(a&64)return"TransitionHydration";if(a&8388480)return"Transition";if(a&125829120)return"Retry";if(a&134217728)return"SelectiveHydration";if(a&268435456)return"IdleHydration";if(a&536870912)return"Idle";if(a&1073741824)return"Offscreen"}var vb=128,wb=8388608; -function xb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return a&8388480;case 8388608:case 16777216:case 33554432:case 67108864:return a&125829120;case 134217728:return 134217728;case 268435456:return 268435456; -case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}} -function yb(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=xb(h):(f&=g,0!==f&&(d=xb(f)))}else g=c&~e,0!==g?d=xb(g):0!==f&&(d=xb(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||32===e&&0!==(f&8388480)))return b;0!==(d&8)&&(d|=c&32);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-sb(b),e=1<<c,d|=a[c],b&=~e;return d} -function zb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return b+5E3;case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} -function Ab(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function Bb(){var a=vb;vb<<=1;0===(vb&8388480)&&(vb=128);return a}function Cb(){var a=wb;wb<<=1;0===(wb&125829120)&&(wb=8388608);return a}function Db(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function Eb(a,b){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} -function Fb(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;var d=a.expirationTimes;for(a=a.hiddenUpdates;0<c;){var e=31-sb(c),f=1<<e;b[e]=0;d[e]=-1;var g=a[e];if(null!==g)for(a[e]=null,e=0;e<g.length;e++){var h=g[e];null!==h&&(h.lane&=-1073741825)}c&=~f}} -function Gb(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-sb(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}function Hb(a,b,c){if(eb)for(a=a.pendingUpdatersLaneMap;0<c;){var d=31-sb(c),e=1<<d;a[d].add(b);c&=~e}}function Ib(a,b){if(eb)for(var c=a.pendingUpdatersLaneMap,d=a.memoizedUpdaters;0<b;){var e=31-sb(b);a=1<<e;e=c[e];0<e.size&&(e.forEach(function(f){var g=f.alternate;null!==g&&d.has(g)||d.add(f)}),e.clear());b&=~a}}var G=0; -function Jb(a,b){var c=G;try{return G=a,b()}finally{G=c}}function Kb(a){a&=-a;return 2<a?8<a?0!==(a&268435455)?32:536870912:8:2}var Mb=Object.prototype.hasOwnProperty,Nb=Math.random().toString(36).slice(2),Ob="__reactFiber$"+Nb,Pb="__reactProps$"+Nb,Qb="__reactContainer$"+Nb,Rb="__reactEvents$"+Nb,Sb="__reactListeners$"+Nb,Tb="__reactHandles$"+Nb,Ub="__reactResources$"+Nb,Vb="__reactMarker$"+Nb;function Wb(a){delete a[Ob];delete a[Pb];delete a[Rb];delete a[Sb];delete a[Tb]} -function Xb(a){var b=a[Ob];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Qb]||c[Ob]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Yb(a);null!==a;){if(c=a[Ob])return c;a=Yb(a)}return b}a=c;c=a.parentNode}return null}function Zb(a){if(a=a[Ob]||a[Qb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function $b(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function ac(a){return a[Pb]||null} -function bc(a){var b=a[Ub];b||(b=a[Ub]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function cc(a){a[Vb]=!0}var dc=new Set,ec={};function fc(a,b){gc(a,b);gc(a+"Capture",b)}function gc(a,b){ec[a]=b;for(a=0;a<b.length;a++)dc.add(b[a])} -var hc=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),ic=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),jc= -{},kc={};function lc(a){if(Mb.call(kc,a))return!0;if(Mb.call(jc,a))return!1;if(ic.test(a))return kc[a]=!0;jc[a]=!0;return!1}function mc(a,b,c){if(lc(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} -function nc(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function oc(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var pc; -function qc(a){if(void 0===pc)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);pc=b&&b[1]||""}return"\n"+pc+a}var rc=!1; -function sc(a,b){if(!a||rc)return"";rc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& -d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,l=g.length-1;1<=h&&0<=l&&f[h]!==g[l];)l--;for(;1<=h&&0<=l;h--,l--)if(f[h]!==g[l]){if(1!==h||1!==l){do if(h--,l--,0>l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{rc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?qc(a):""} -function tc(a){switch(a.tag){case 26:case 27:case 5:return qc(a.type);case 16:return qc("Lazy");case 13:return qc("Suspense");case 19:return qc("SuspenseList");case 0:case 2:case 15:return a=sc(a.type,!1),a;case 11:return a=sc(a.type.render,!1),a;case 1:return a=sc(a.type,!0),a;default:return""}} -function uc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case na:return"Fragment";case ma:return"Portal";case pa:return"Profiler";case oa:return"StrictMode";case ua:return"Suspense";case va:return"SuspenseList";case Ba:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ra:return(a.displayName||"Context")+".Consumer";case qa:return(a._context.displayName||"Context")+".Provider";case ta:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case wa:return b=a.displayName||null,null!==b?b:uc(a.type)||"Memo";case xa:b=a._payload;a=a._init;try{return uc(a(b))}catch(c){break}case sa:return(a.displayName||a._globalName)+".Provider"}return null} -function vc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return uc(b);case 8:return b===oa?"StrictMode":"Mode"; -case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function wc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} -function xc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} -function yc(a){var b=xc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= -null;delete a[b]}}}}function zc(a){a._valueTracker||(a._valueTracker=yc(a))}function Ac(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=xc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Bc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var Cc=/[\n"\\]/g; -function Dc(a){return a.replace(Cc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} -function Ec(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+wc(b)}else a.value!==""+wc(b)&&(a.value=""+wc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?Fc(a,g,wc(b)):null!=c?Fc(a,g,wc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&a.checked!==!!e&&(a.checked=e);null!=h&&"function"!== -typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+wc(h):a.removeAttribute("name")} -function Gc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+wc(c):"";b=null!=b?""+wc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;h||(a.checked=!!d);a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} -function Fc(a,b,c){"number"===b&&Bc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var Hc=Array.isArray; -function Ic(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+wc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} -function Jc(a,b,c){if(null!=b&&(b=""+wc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+wc(c):""}function Kc(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(Hc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=wc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)} -function Lc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Mc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); -function Nc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||Mc.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} -function Oc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&Nc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&Nc(a,f,b[f])} -function Pc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} -var Qc=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], +var w=Object.assign,da=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=da.ReactCurrentDispatcher,fa={pending:!1,data:null,method:null,action:null};function ha(){return ea.current.useHostTransitionStatus()}function ia(a,b,c){return ea.current.useFormState(a,b,c)}var ka=[],la=-1;function ma(a){return{current:a}}function D(a){0>la||(a.current=ka[la],ka[la]=null,la--)}function E(a,b){la++;ka[la]=a.current;a.current=b} +var na=Symbol.for("react.element"),oa=Symbol.for("react.portal"),pa=Symbol.for("react.fragment"),qa=Symbol.for("react.strict_mode"),ra=Symbol.for("react.profiler"),sa=Symbol.for("react.provider"),ta=Symbol.for("react.context"),ua=Symbol.for("react.server_context"),va=Symbol.for("react.forward_ref"),wa=Symbol.for("react.suspense"),xa=Symbol.for("react.suspense_list"),ya=Symbol.for("react.memo"),za=Symbol.for("react.lazy"),Aa=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); +var Ba=Symbol.for("react.offscreen"),Ca=Symbol.for("react.legacy_hidden"),Da=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ea=Symbol.for("react.default_value"),Fa=Symbol.for("react.memo_cache_sentinel"),Ga=Symbol.for("react.postpone"),Ha=Symbol.iterator;function Ia(a){if(null===a||"object"!==typeof a)return null;a=Ha&&a[Ha]||a["@@iterator"];return"function"===typeof a?a:null} +var Ja=ma(null),Ka=ma(null),La=ma(null),Ma=ma(null),Na={$$typeof:ta,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function Oa(a,b){E(La,b);E(Ka,a);E(Ja,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Pa(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Pa(a),b=Qa(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ja);E(Ja,b)} +function Ra(){D(Ja);D(Ka);D(La)}function Sa(a){null!==a.memoizedState&&E(Ma,a);var b=Ja.current;var c=Qa(b,a.type);b!==c&&(E(Ka,a),E(Ja,c))}function Ta(a){Ka.current===a&&(D(Ja),D(Ka));Ma.current===a&&(D(Ma),Na._currentValue=null)} +var Ua=ba.unstable_scheduleCallback,Va=ba.unstable_cancelCallback,Wa=ba.unstable_shouldYield,Xa=ba.unstable_requestPaint,Ya=ba.unstable_now,Za=ba.unstable_getCurrentPriorityLevel,$a=ba.unstable_ImmediatePriority,ab=ba.unstable_UserBlockingPriority,bb=ba.unstable_NormalPriority,cb=ba.unstable_LowPriority,db=ba.unstable_IdlePriority,eb=null,fb=null,F=null,gb="undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__; +function hb(a,b){if(fb&&"function"===typeof fb.onCommitFiberRoot)try{var c=128===(a.current.flags&128);switch(b){case 2:var d=$a;break;case 8:d=ab;break;case 32:d=bb;break;case 268435456:d=db;break;default:d=bb}fb.onCommitFiberRoot(eb,a,d,c)}catch(e){}}function ib(a){F=a}function jb(){for(var a=new Map,b=1,c=0;31>c;c++){var d=kb(b);a.set(b,d);b*=2}return a}function lb(){null!==F&&"function"===typeof F.markCommitStopped&&F.markCommitStopped()} +function mb(a){null!==F&&"function"===typeof F.markComponentRenderStarted&&F.markComponentRenderStarted(a)}function nb(){null!==F&&"function"===typeof F.markComponentRenderStopped&&F.markComponentRenderStopped()}function ob(a){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStarted&&F.markComponentLayoutEffectUnmountStarted(a)}function pb(){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStopped&&F.markComponentLayoutEffectUnmountStopped()} +function qb(a){null!==F&&"function"===typeof F.markRenderStarted&&F.markRenderStarted(a)}function rb(){null!==F&&"function"===typeof F.markRenderStopped&&F.markRenderStopped()}function sb(a,b){null!==F&&"function"===typeof F.markStateUpdateScheduled&&F.markStateUpdateScheduled(a,b)}var ub=Math.clz32?Math.clz32:tb,vb=Math.log,wb=Math.LN2;function tb(a){a>>>=0;return 0===a?32:31-(vb(a)/wb|0)|0} +function kb(a){if(a&1)return"SyncHydrationLane";if(a&2)return"Sync";if(a&4)return"InputContinuousHydration";if(a&8)return"InputContinuous";if(a&16)return"DefaultHydration";if(a&32)return"Default";if(a&64)return"TransitionHydration";if(a&4194176)return"Transition";if(a&62914560)return"Retry";if(a&67108864)return"SelectiveHydration";if(a&134217728)return"IdleHydration";if(a&268435456)return"Idle";if(a&536870912)return"Offscreen";if(a&1073741824)return"Deferred"}var xb=128,yb=4194304; +function zb(a){var b=a&42;if(0!==b)return b;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456; +case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Ab(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes;a=a.pingedLanes;var f=c&134217727;0!==f?(c=f&~e,0!==c?d=zb(c):(a&=f,0!==a&&(d=zb(a)))):(c&=~e,0!==c?d=zb(c):0!==a&&(d=zb(a)));return 0===d?0:0!==b&&b!==d&&0===(b&e)&&(e=d&-d,a=b&-b,e>=a||32===e&&0!==(a&4194176))?b:d} +function Bb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} +function Cb(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-536870913;return 0!==a?a:a&536870912?536870912:0}function Db(){var a=yb;yb<<=1;0===(yb&62914560)&&(yb=4194304);return a}function Eb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function Fb(a,b){a.pendingLanes|=b;268435456!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} +function Gb(a,b,c){var d=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;for(var e=a.expirationTimes,f=a.hiddenUpdates;0<d;){var g=31-ub(d),h=1<<g;b[g]=0;e[g]=-1;var l=f[g];if(null!==l)for(f[g]=null,g=0;g<l.length;g++){var p=l[g];null!==p&&(p.lane&=-536870913)}d&=~h}0!==c&&Hb(a,c,0)} +function Hb(a,b,c){a.pendingLanes|=b;a.suspendedLanes&=~b;var d=31-ub(b);a.entangledLanes|=b;a.entanglements[d]=a.entanglements[d]|1073741824|c}function Ib(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-ub(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}function Jb(a,b){a.pendingLanes|=2;for(a.entangledLanes|=2;b;){var c=1<<31-ub(b);a.entanglements[1]|=c;b&=~c}}function Kb(a,b,c){if(gb)for(a=a.pendingUpdatersLaneMap;0<c;){var d=31-ub(c),e=1<<d;a[d].add(b);c&=~e}} +function Lb(a,b){if(gb)for(var c=a.pendingUpdatersLaneMap,d=a.memoizedUpdaters;0<b;){var e=31-ub(b);a=1<<e;e=c[e];0<e.size&&(e.forEach(function(f){var g=f.alternate;null!==g&&d.has(g)||d.add(f)}),e.clear());b&=~a}}var G=0;function Nb(a,b){var c=G;try{return G=a,b()}finally{G=c}}function Ob(a){a&=-a;return 2<a?8<a?0!==(a&134217727)?32:268435456:8:2} +var Pb=Object.prototype.hasOwnProperty,Qb=Math.random().toString(36).slice(2),Rb="__reactFiber$"+Qb,Sb="__reactProps$"+Qb,Tb="__reactContainer$"+Qb,Ub="__reactEvents$"+Qb,Vb="__reactListeners$"+Qb,Wb="__reactHandles$"+Qb,Xb="__reactResources$"+Qb,Yb="__reactMarker$"+Qb;function Zb(a){delete a[Rb];delete a[Sb];delete a[Ub];delete a[Vb];delete a[Wb]} +function $b(a){var b=a[Rb];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Tb]||c[Rb]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=ac(a);null!==a;){if(c=a[Rb])return c;a=ac(a)}return b}a=c;c=a.parentNode}return null}function bc(a){if(a=a[Rb]||a[Tb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function cc(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function dc(a){return a[Sb]||null} +function ec(a){var b=a[Xb];b||(b=a[Xb]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function fc(a){a[Yb]=!0}var gc=new Set,hc={};function ic(a,b){jc(a,b);jc(a+"Capture",b)}function jc(a,b){hc[a]=b;for(a=0;a<b.length;a++)gc.add(b[a])} +var kc=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),lc=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),mc= +{},nc={};function oc(a){if(Pb.call(nc,a))return!0;if(Pb.call(mc,a))return!1;if(lc.test(a))return nc[a]=!0;mc[a]=!0;return!1}function pc(a,b,c){if(oc(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} +function qc(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function rc(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var sc; +function tc(a){if(void 0===sc)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);sc=b&&b[1]||""}return"\n"+sc+a}var uc=!1; +function vc(a,b){if(!a||uc)return"";uc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& +d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,l=g.length-1;1<=h&&0<=l&&f[h]!==g[l];)l--;for(;1<=h&&0<=l;h--,l--)if(f[h]!==g[l]){if(1!==h||1!==l){do if(h--,l--,0>l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{uc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?tc(a):""} +function wc(a){switch(a.tag){case 26:case 27:case 5:return tc(a.type);case 16:return tc("Lazy");case 13:return tc("Suspense");case 19:return tc("SuspenseList");case 0:case 2:case 15:return a=vc(a.type,!1),a;case 11:return a=vc(a.type.render,!1),a;case 1:return a=vc(a.type,!0),a;default:return""}} +function xc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case pa:return"Fragment";case oa:return"Portal";case ra:return"Profiler";case qa:return"StrictMode";case wa:return"Suspense";case xa:return"SuspenseList";case Da:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ta:return(a.displayName||"Context")+".Consumer";case sa:return(a._context.displayName||"Context")+".Provider";case va:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ya:return b=a.displayName||null,null!==b?b:xc(a.type)||"Memo";case za:b=a._payload;a=a._init;try{return xc(a(b))}catch(c){break}case ua:return(a.displayName||a._globalName)+".Provider"}return null} +function yc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xc(b);case 8:return b===qa?"StrictMode":"Mode"; +case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function zc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} +function Ac(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} +function Bc(a){var b=Ac(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= +null;delete a[b]}}}}function Cc(a){a._valueTracker||(a._valueTracker=Bc(a))}function Dc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=Ac(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Ec(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var Fc=/[\n"\\]/g; +function Gc(a){return a.replace(Fc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} +function Hc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+zc(b)}else a.value!==""+zc(b)&&(a.value=""+zc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?Ic(a,g,zc(b)):null!=c?Ic(a,g,zc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== +typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+zc(h):a.removeAttribute("name")} +function Jc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+zc(c):"";b=null!=b?""+zc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} +function Ic(a,b,c){"number"===b&&Ec(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var Kc=Array.isArray; +function Lc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+zc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} +function Mc(a,b,c){if(null!=b&&(b=""+zc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+zc(c):""}function Nc(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(Kc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=zc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)} +function Oc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Pc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); +function Qc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||Pc.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} +function Rc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&Qc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&Qc(a,f,b[f])} +function Sc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} +var Tc=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Rc=null;function Sc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Tc=null,Uc=null; -function Vc(a){var b=Zb(a);if(b&&(a=b.stateNode)){var c=ac(a);a:switch(a=b.stateNode,b.type){case "input":Ec(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+Dc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=ac(d);if(!e)throw Error(t(90));Ec(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, -e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&Ac(d)}break a;case "textarea":Jc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&Ic(a,!!c.multiple,b,!1)}}}function Wc(a){Tc?Uc?Uc.push(a):Uc=[a]:Tc=a}function Xc(){if(Tc){var a=Tc,b=Uc;Uc=Tc=null;Vc(a);if(b)for(a=0;a<b.length;a++)Vc(b[a])}}function Yc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} -function Zc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function $c(a){if(Yc(a)!==a)throw Error(t(188));} -function ad(a){var b=a.alternate;if(!b){b=Yc(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return $c(e),a;if(f===d)return $c(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== -c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function bd(a){a=ad(a);return null!==a?cd(a):null}function cd(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=cd(a);if(null!==b)return b;a=a.sibling}return null}var dd={},ed=ka(dd),fd=ka(!1),gd=dd; -function hd(a,b){var c=a.type.contextTypes;if(!c)return dd;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function id(a){a=a.childContextTypes;return null!==a&&void 0!==a}function jd(){D(fd);D(ed)} -function kd(a,b,c){if(ed.current!==dd)throw Error(t(168));E(ed,b);E(fd,c)}function ld(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,vc(a)||"Unknown",e));return w({},c,d)}function md(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||dd;gd=ed.current;E(ed,a);E(fd,fd.current);return!0} -function nd(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=ld(a,b,gd),d.__reactInternalMemoizedMergedChildContext=a,D(fd),D(ed),E(ed,a)):D(fd);E(fd,c)}function od(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var pd="function"===typeof Object.is?Object.is:od,qd=[],rd=0,sd=null,td=0,ud=[],vd=0,wd=null,xd=1,yd="";function zd(a,b){qd[rd++]=td;qd[rd++]=sd;sd=a;td=b} -function Ad(a,b,c){ud[vd++]=xd;ud[vd++]=yd;ud[vd++]=wd;wd=a;var d=xd;a=yd;var e=32-sb(d)-1;d&=~(1<<e);c+=1;var f=32-sb(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;xd=1<<32-sb(b)+e|c<<e|d;yd=f+a}else xd=1<<f|c<<e|d,yd=a}function Bd(a){null!==a.return&&(zd(a,1),Ad(a,1,0))}function Cd(a){for(;a===sd;)sd=qd[--rd],qd[rd]=null,td=qd[--rd],qd[rd]=null;for(;a===wd;)wd=ud[--vd],ud[vd]=null,yd=ud[--vd],ud[vd]=null,xd=ud[--vd],ud[vd]=null}var H=null,I=null,K=!1,Dd=null,Ed=!1; -function Fd(a,b){var c=Gd(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function Hd(a,b){b.flags=b.flags&-4097|2}function Id(a,b){b=Jd(b,a.type,a.pendingProps,Ed);return null!==b?(a.stateNode=b,H=a,I=Kd(b.firstChild),Ed=!1,!0):!1}function Ld(a,b){b=Md(b,a.pendingProps,Ed);return null!==b?(a.stateNode=b,H=a,I=null,!0):!1} -function Nd(a,b){a:{var c=b;for(b=Ed;8!==c.nodeType;){if(!b){b=null;break a}c=Od(c);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==wd?{id:xd,overflow:yd}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:1073741824},c=Gd(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,H=a,I=null,!0):!1}function Pd(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Qd(){throw Error(t(418));} -function Rd(){if(!K)return!1;if(I){a:{var a=I;for(var b=Ed;8!==a.nodeType;){if(!b){a=null;break a}a=Od(a);if(null===a){a=null;break a}}b=a.data;a="F!"===b||"F"===b?a:null}if(a)return I=Od(a),"F!"===a.data}Qd();return!1}function Sd(a){for(H=a.return;H;)switch(H.tag){case 3:case 27:Ed=!0;return;case 5:case 13:Ed=!1;return;default:H=H.return}} -function Td(a){if(a!==H)return!1;if(!K)return Sd(a),K=!0,!1;var b=!1,c;if(c=3!==a.tag&&27!==a.tag){if(c=5===a.tag)c=a.type,c=!("form"!==c&&"button"!==c)||Ud(a.type,a.memoizedProps);c=!c}c&&(b=!0);if(b&&(b=I))if(Pd(a))Vd(),Qd();else for(;b;)Fd(a,b),b=Od(b);Sd(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType)if(c=a.data,"/$"===c){if(0===b){I=Od(a);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++;a=a.nextSibling}I= -null}}else I=H?Od(a.stateNode):null;return!0}function Vd(){for(var a=I;a;)a=Od(a)}function Wd(){I=H=null;K=!1}function Xd(a){null===Dd?Dd=[a]:Dd.push(a)}var Yd=[],Zd=0,$d=0;function ae(){for(var a=Zd,b=$d=Zd=0;b<a;){var c=Yd[b];Yd[b++]=null;var d=Yd[b];Yd[b++]=null;var e=Yd[b];Yd[b++]=null;var f=Yd[b];Yd[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&be(c,e,f)}} -function ce(a,b,c,d){Yd[Zd++]=a;Yd[Zd++]=b;Yd[Zd++]=c;Yd[Zd++]=d;$d|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function de(a,b,c,d){ce(a,b,c,d);return ee(a)}function fe(a,b){ce(a,null,null,b);return ee(a)} -function be(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-sb(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|1073741824)}function ee(a){if(50<ge)throw ge=0,he=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} -var ie=!1;function je(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ke(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function le(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} -function me(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(N&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=ee(a);be(a,null,c);return b}ce(a,d,b,c);return ee(a)}function ne(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&8388480))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Gb(a,c)}} -function oe(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} -function pe(a,b,c,d){var e=a.updateQueue;ie=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var l=h,p=l.next;l.next=null;null===g?f=p:g.next=p;g=l;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=l))}if(null!==f){var x=e.baseState;g=0;q=p=l=null;h=f;do{var r=h.lane&-1073741825,u=r!==h.lane;if(u?(O&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, -callback:null,next:null});a:{var A=a,C=h;r=b;var J=c;switch(C.tag){case 1:A=C.payload;if("function"===typeof A){x=A.call(J,x,r);break a}x=A;break a;case 3:A.flags=A.flags&-65537|128;case 0:A=C.payload;r="function"===typeof A?A.call(J,x,r):A;if(null===r||void 0===r)break a;x=w({},x,r);break a;case 2:ie=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, -l=x):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(l=x);e.baseState=l;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);qe|=g;a.lanes=g;a.memoizedState=x}}function re(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function se(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)re(c[a],b)} -function te(a,b){if(pd(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!Mb.call(b,e)||!pd(a[e],b[e]))return!1}return!0}var ue=Error(t(460)),ve=Error(t(474)),we={then:function(){}};function xe(a){a=a.status;return"fulfilled"===a||"rejected"===a}function ye(){} -function ze(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(ye,ye),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===ue)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(ye,ye);else{a=P;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; -case "rejected":a=b.reason;if(a===ue)throw Error(t(483));throw a;}}Ae=b;throw ue;}}var Ae=null;function Be(){if(null===Ae)throw Error(t(459));var a=Ae;Ae=null;return a}var Ce=null,De=0;function Ee(a){var b=De;De+=1;null===Ce&&(Ce=[]);return ze(Ce,a,b)} -function Fe(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} -function Ge(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function He(a){var b=a._init;return b(a._payload)} -function Ie(a){function b(m,k){if(a){var n=m.deletions;null===n?(m.deletions=[k],m.flags|=16):n.push(k)}}function c(m,k){if(!a)return null;for(;null!==k;)b(m,k),k=k.sibling;return null}function d(m,k){for(m=new Map;null!==k;)null!==k.key?m.set(k.key,k):m.set(k.index,k),k=k.sibling;return m}function e(m,k){m=Je(m,k);m.index=0;m.sibling=null;return m}function f(m,k,n){m.index=n;if(!a)return m.flags|=1048576,k;n=m.alternate;if(null!==n)return n=n.index,n<k?(m.flags|=33554434,k):n;m.flags|=33554434;return k} -function g(m){a&&null===m.alternate&&(m.flags|=33554434);return m}function h(m,k,n,v){if(null===k||6!==k.tag)return k=Ke(n,m.mode,v),k.return=m,k;k=e(k,n);k.return=m;return k}function l(m,k,n,v){var y=n.type;if(y===na)return q(m,k,n.props.children,v,n.key);if(null!==k&&(k.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===xa&&He(y)===k.type))return v=e(k,n.props),v.ref=Fe(m,k,n),v.return=m,v;v=Le(n.type,n.key,n.props,null,null,m.mode,v);v.ref=Fe(m,k,n);v.return=m;return v}function p(m,k, -n,v){if(null===k||4!==k.tag||k.stateNode.containerInfo!==n.containerInfo||k.stateNode.implementation!==n.implementation)return k=Me(n,m.mode,v),k.return=m,k;k=e(k,n.children||[]);k.return=m;return k}function q(m,k,n,v,y){if(null===k||7!==k.tag)return k=Ne(n,m.mode,v,y),k.return=m,k;k=e(k,n);k.return=m;return k}function x(m,k,n){if("string"===typeof k&&""!==k||"number"===typeof k)return k=Ke(""+k,m.mode,n),k.return=m,k;if("object"===typeof k&&null!==k){switch(k.$$typeof){case la:return n=Le(k.type, -k.key,k.props,null,null,m.mode,n),n.ref=Fe(m,null,k),n.return=m,n;case ma:return k=Me(k,m.mode,n),k.return=m,k;case xa:var v=k._init;return x(m,v(k._payload),n)}if(Hc(k)||Ga(k))return k=Ne(k,m.mode,n,null),k.return=m,k;if("function"===typeof k.then)return x(m,Ee(k),n);if(k.$$typeof===ra||k.$$typeof===sa)return x(m,Oe(m,k,n),n);Ge(m,k)}return null}function r(m,k,n,v){var y=null!==k?k.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==y?null:h(m,k,""+n,v);if("object"===typeof n&& -null!==n){switch(n.$$typeof){case la:return n.key===y?l(m,k,n,v):null;case ma:return n.key===y?p(m,k,n,v):null;case xa:return y=n._init,r(m,k,y(n._payload),v)}if(Hc(n)||Ga(n))return null!==y?null:q(m,k,n,v,null);if("function"===typeof n.then)return r(m,k,Ee(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return r(m,k,Oe(m,n,v),v);Ge(m,n)}return null}function u(m,k,n,v,y){if("string"===typeof v&&""!==v||"number"===typeof v)return m=m.get(n)||null,h(k,m,""+v,y);if("object"===typeof v&&null!==v){switch(v.$$typeof){case la:return m= -m.get(null===v.key?n:v.key)||null,l(k,m,v,y);case ma:return m=m.get(null===v.key?n:v.key)||null,p(k,m,v,y);case xa:var B=v._init;return u(m,k,n,B(v._payload),y)}if(Hc(v)||Ga(v))return m=m.get(n)||null,q(k,m,v,y,null);if("function"===typeof v.then)return u(m,k,n,Ee(v),y);if(v.$$typeof===ra||v.$$typeof===sa)return u(m,k,n,Oe(k,v,y),y);Ge(k,v)}return null}function A(m,k,n,v){for(var y=null,B=null,z=k,L=k=0,ja=null;null!==z&&L<n.length;L++){z.index>L?(ja=z,z=null):ja=z.sibling;var M=r(m,z,n[L],v);if(null=== -M){null===z&&(z=ja);break}a&&z&&null===M.alternate&&b(m,z);k=f(M,k,L);null===B?y=M:B.sibling=M;B=M;z=ja}if(L===n.length)return c(m,z),K&&zd(m,L),y;if(null===z){for(;L<n.length;L++)z=x(m,n[L],v),null!==z&&(k=f(z,k,L),null===B?y=z:B.sibling=z,B=z);K&&zd(m,L);return y}for(z=d(m,z);L<n.length;L++)ja=u(z,m,L,n[L],v),null!==ja&&(a&&null!==ja.alternate&&z.delete(null===ja.key?L:ja.key),k=f(ja,k,L),null===B?y=ja:B.sibling=ja,B=ja);a&&z.forEach(function(Lb){return b(m,Lb)});K&&zd(m,L);return y}function C(m, -k,n,v){var y=Ga(n);if("function"!==typeof y)throw Error(t(150));n=y.call(n);if(null==n)throw Error(t(151));for(var B=y=null,z=k,L=k=0,ja=null,M=n.next();null!==z&&!M.done;L++,M=n.next()){z.index>L?(ja=z,z=null):ja=z.sibling;var Lb=r(m,z,M.value,v);if(null===Lb){null===z&&(z=ja);break}a&&z&&null===Lb.alternate&&b(m,z);k=f(Lb,k,L);null===B?y=Lb:B.sibling=Lb;B=Lb;z=ja}if(M.done)return c(m,z),K&&zd(m,L),y;if(null===z){for(;!M.done;L++,M=n.next())M=x(m,M.value,v),null!==M&&(k=f(M,k,L),null===B?y=M:B.sibling= -M,B=M);K&&zd(m,L);return y}for(z=d(m,z);!M.done;L++,M=n.next())M=u(z,m,L,M.value,v),null!==M&&(a&&null!==M.alternate&&z.delete(null===M.key?L:M.key),k=f(M,k,L),null===B?y=M:B.sibling=M,B=M);a&&z.forEach(function(un){return b(m,un)});K&&zd(m,L);return y}function J(m,k,n,v){"object"===typeof n&&null!==n&&n.type===na&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case la:a:{for(var y=n.key,B=k;null!==B;){if(B.key===y){y=n.type;if(y===na){if(7===B.tag){c(m,B.sibling); -k=e(B,n.props.children);k.return=m;m=k;break a}}else if(B.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===xa&&He(y)===B.type){c(m,B.sibling);k=e(B,n.props);k.ref=Fe(m,B,n);k.return=m;m=k;break a}c(m,B);break}else b(m,B);B=B.sibling}n.type===na?(k=Ne(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=Le(n.type,n.key,n.props,null,null,m.mode,v),v.ref=Fe(m,k,n),v.return=m,m=v)}return g(m);case ma:a:{for(B=n.key;null!==k;){if(k.key===B)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& -k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Me(n,m.mode,v);k.return=m;m=k}return g(m);case xa:return B=n._init,Q(m,k,B(n._payload),v)}if(Hc(n))return A(m,k,n,v);if(Ga(n))return C(m,k,n,v);if("function"===typeof n.then)return J(m,k,Ee(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return J(m,k,Oe(m,n,v),v);Ge(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, -k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=Ke(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function Q(m,k,n,v){De=0;m=J(m,k,n,v);Ce=null;return m}return Q}var Pe=Ie(!0),Qe=Ie(!1),Re=ka(null),Se=ka(0);function Te(a,b){a=Ue;E(Se,a);E(Re,b);Ue=a|b.baseLanes}function Ve(){E(Se,Ue);E(Re,Re.current)}function We(){Ue=Se.current;D(Re);D(Se)}var Xe=ka(null),Ye=null;function Ze(a){var b=a.alternate;E($e,$e.current&1);E(Xe,a);null===Ye&&(null===b||null!==Re.current?Ye=a:null!==b.memoizedState&&(Ye=a))} -function af(a){if(22===a.tag){if(E($e,$e.current),E(Xe,a),null===Ye){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Ye=a)}}else bf(a)}function bf(){E($e,$e.current);E(Xe,Xe.current)}function cf(a){D(Xe);Ye===a&&(Ye=null);D($e)}var $e=ka(0); -function df(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var ef=null,ff=null,gf=!1,hf=!1,jf=!1,kf=0; -function lf(a){a!==ff&&null===a.next&&(null===ff?ef=ff=a:ff=ff.next=a);hf=!0;gf||(gf=!0,mf(nf))} -function of(a){if(!jf&&hf){var b=null;jf=!0;do{var c=!1;for(var d=ef;null!==d;){if(!a||0===d.tag){var e=O,f=yb(d,d===P?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(N&6))throw Error(t(327));if(!pf()){qf=rf;rf=!1;var g=sf(e,f);if(0!==e.tag&&2===g){var h=f,l=Ab(e,h);0!==l&&(f=l,g=tf(e,h,l))}if(1===g)throw h=uf,vf(e,0),wf(e,f),lf(e),h;6===g?wf(e,f):(e.finishedWork=e.current.alternate,e.finishedLanes=f,xf(e,yf,zf))}lf(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);jf=!1;if(null!==b){if(1<b.length){if("function"=== -typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)mf(Af.bind(null,b[a]))}throw b[0];}}}function Af(a){throw a;}function nf(){hf=gf=!1;for(var a=Wa(),b=null,c=ef;null!==c;){var d=c.next;0!==kf&&window.event&&"popstate"===window.event.type&&Gb(c,kf|2);var e=Bf(c,a);0===e?(c.next=null,null===b?ef=d:b.next=d,null===d&&(ff=b)):(b=c,0!==(e&3)&&(hf=!0));c=d}kf=0;of(!1)} -function Bf(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-125829121;0<f;){var g=31-sb(f),h=1<<g,l=e[g];if(-1===l){if(0===(h&c)||0!==(h&d))e[g]=zb(h,b)}else l<=b&&(a.expiredLanes|=h);f&=~h}b=P;c=O;c=yb(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===R||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Ta(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Ta(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b=== -a.callbackPriority)return b;null!==d&&Ta(d);switch(Kb(c)){case 2:c=Ya;break;case 8:c=Za;break;case 32:c=$a;break;case 536870912:c=bb;break;default:c=$a}d=Cf.bind(null,a);c=Sa(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function mf(a){Df(function(){0!==(N&6)?Sa(Ya,a):a()})}function Ef(){0===kf&&(kf=Bb());return kf}var Ff=null,Gf=0,Hf=0; -function If(a,b){if(null===Ff){var c=Ff=[];Gf=0;Hf=Ef()}else c=Ff;Gf++;var d=Jf(c),e="pending",f,g;a.then(function(h){e="fulfilled";f=null!==b?b:h;Kf()},function(h){e="rejected";g=h;Kf()});c.push(function(){switch(e){case "fulfilled":d.status="fulfilled";d.value=f;break;case "rejected":d.status="rejected";d.reason=g;break;default:throw Error(t(478));}});return d}function Lf(a,b){var c=null!==b?b:a;if(null===Ff)return c;a=Ff;var d=Jf(a);a.push(function(){d.status="fulfilled";d.value=c});return d} -function Kf(){if(null!==Ff&&0===--Gf){var a=Ff;Ff=null;for(var b=Hf=0;b<a.length;b++)(0,a[b])()}}function Jf(a){return{status:"pending",value:null,reason:null,then:function(b){a.push(b)}}}var Mf=da.ReactCurrentDispatcher,Nf=da.ReactCurrentBatchConfig,Of=0,S=null,T=null,Pf=null,Qf=!1,Rf=!1,Sf=!1,Tf=0,Uf=0,Vf=null,Wf=0;function U(){throw Error(t(321));}function Xf(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!pd(a[c],b[c]))return!1;return!0} -function Yf(a,b,c,d,e,f){Of=f;S=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Mf.current=null===a||null===a.memoizedState?Zf:$f;Sf=!1;a=c(d,e);Sf=!1;Rf&&(a=ag(b,c,d,e));bg();return a}function bg(){Mf.current=cg;var a=null!==T&&null!==T.next;Of=0;Pf=T=S=null;Qf=!1;Uf=0;Vf=null;if(a)throw Error(t(300));}function ag(a,b,c,d){S=a;var e=0;do{Rf&&(Vf=null);Uf=0;Rf=!1;if(25<=e)throw Error(t(301));e+=1;Pf=T=null;a.updateQueue=null;Mf.current=dg;var f=b(c,d)}while(Rf);return f} -function eg(){var a=Mf.current.useState()[0];return"function"===typeof a.then?fg(a):a}function gg(){var a=0!==Tf;Tf=0;return a}function hg(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function ig(a){if(Qf){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}Qf=!1}Of=0;Pf=T=S=null;Rf=!1;Uf=Tf=0;Vf=null}function jg(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===Pf?S.memoizedState=Pf=a:Pf=Pf.next=a;return Pf} -function kg(){if(null===T){var a=S.alternate;a=null!==a?a.memoizedState:null}else a=T.next;var b=null===Pf?S.memoizedState:Pf.next;if(null!==b)Pf=b,T=a;else{if(null===a){if(null===S.alternate)throw Error(t(467));throw Error(t(310));}T=a;a={memoizedState:T.memoizedState,baseState:T.baseState,baseQueue:T.baseQueue,queue:T.queue,next:null};null===Pf?S.memoizedState=Pf=a:Pf=Pf.next=a}return Pf}var lg;lg=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}}; -function fg(a){var b=Uf;Uf+=1;null===Vf&&(Vf=[]);a=ze(Vf,a,b);null===S.alternate&&(null===Pf?null===S.memoizedState:null===Pf.next)&&(Mf.current=Zf);return a}function mg(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return fg(a);if(a.$$typeof===ra||a.$$typeof===sa)return ng(a)}throw Error(t(438,String(a)));} -function og(a){var b=null,c=S.updateQueue;null!==c&&(b=c.memoCache);if(null==b){var d=S.alternate;null!==d&&(d=d.updateQueue,null!==d&&(d=d.memoCache,null!=d&&(b={data:d.data.map(function(e){return e.slice()}),index:0})))}null==b&&(b={data:[],index:0});null===c&&(c=lg(),S.updateQueue=c);c.memoCache=b;c=b.data[b.index];if(void 0===c)for(c=b.data[b.index]=Array(a),d=0;d<a;d++)c[d]=Da;b.index++;return c}function pg(a,b){return"function"===typeof b?b(a):b}function qg(a){var b=kg();return rg(b,T,a)} -function rg(a,b,c){var d=a.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=c;var e=a.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}b.baseQueue=e=f;d.pending=null}if(null!==e){b=e.next;f=a.baseState;var h=g=null,l=null,p=b;do{var q=p.lane&-1073741825;if(q!==p.lane?(O&q)===q:(Of&q)===q){q=p.revertLane;if(0===q)null!==l&&(l=l.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null});else if((Of&q)===q){p= -p.next;continue}else{var x={lane:0,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===l?(h=l=x,g=f):l=l.next=x;S.lanes|=q;qe|=q}q=p.action;Sf&&c(f,q);f=p.hasEagerState?p.eagerState:c(f,q)}else x={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},null===l?(h=l=x,g=f):l=l.next=x,S.lanes|=q,qe|=q;p=p.next}while(null!==p&&p!==b);null===l?g=f:l.next=h;pd(f,a.memoizedState)||(sg=!0); -a.memoizedState=f;a.baseState=g;a.baseQueue=l;d.lastRenderedState=f}null===e&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function tg(a){var b=kg(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);pd(f,b.memoizedState)||(sg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} -function ug(a,b,c){var d=S,e=kg(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!pd((T||e).memoizedState,c);g&&(e.memoizedState=c,sg=!0);e=e.queue;vg(wg.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==Pf&&Pf.memoizedState.tag&1){d.flags|=2048;xg(9,yg.bind(null,d,e,c,b),{destroy:void 0},null);if(null===P)throw Error(t(349));f||0!==(Of&60)||zg(d,b,c)}return c} -function zg(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=S.updateQueue;null===b?(b=lg(),S.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function yg(a,b,c,d){b.value=c;b.getSnapshot=d;Ag(b)&&Bg(a)}function wg(a,b,c){return c(function(){Ag(b)&&Bg(a)})}function Ag(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!pd(a,c)}catch(d){return!0}}function Bg(a){var b=fe(a,2);null!==b&&Cg(b,a,2)} -function Dg(a){var b=jg();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pg,lastRenderedState:a};return b}function Eg(a,b,c,d){a.baseState=a.memoizedState=c;return rg(a,T,"function"===typeof d?d:pg)}function Fg(a,b,c,d){if(Gg(a))throw Error(t(485));a=b.pending;null===a?(a={payload:d,next:null},a.next=b.pending=a,Hg(b,c,d)):a.next={payload:d,next:a.next}} -function Hg(a,b,c){var d=a.action,e=a.state,f=Nf.transition;Nf.transition={};try{var g=d(e,c);g.then(function(l){a.state=l;Ig(a,b)},function(){return Ig(a,b)});var h=If(g,null);b(h)}finally{Nf.transition=f}}function Ig(a,b){var c=a.pending;if(null!==c){var d=c.next;d===c?a.pending=null:(d=d.next,c.next=d,Hg(a,b,d.payload))}}function Jg(a,b){return b} -function Kg(a,b,c){a=rg(a,b,Jg)[0];a=fg(a);b=kg();var d=b.queue,e=d.dispatch;c!==b.memoizedState&&(S.flags|=2048,xg(9,Lg.bind(null,d,c),{destroy:void 0},null));return[a,e]}function Lg(a,b){a.action=b}function xg(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=S.updateQueue;null===b?(b=lg(),S.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function Mg(){return kg().memoizedState} -function Ng(a,b,c,d){var e=jg();S.flags|=a;e.memoizedState=xg(1|b,c,{destroy:void 0},void 0===d?null:d)}function Og(a,b,c,d){var e=kg();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==T&&null!==d&&Xf(d,T.memoizedState.deps)?e.memoizedState=xg(b,c,f,d):(S.flags|=a,e.memoizedState=xg(1|b,c,f,d))}function Pg(a,b){Ng(8390656,8,a,b)}function vg(a,b){Og(2048,8,a,b)} -function Qg(a){S.flags|=4;var b=S.updateQueue;if(null===b)b=lg(),S.updateQueue=b,b.events=[a];else{var c=b.events;null===c?b.events=[a]:c.push(a)}}function Rg(a){var b=kg().memoizedState;Qg({ref:b,nextImpl:a});return function(){if(0!==(N&2))throw Error(t(440));return b.impl.apply(void 0,arguments)}}function Sg(a,b){return Og(4,2,a,b)}function Tg(a,b){return Og(4,4,a,b)} -function Ug(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Vg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Og(4,4,Ug.bind(null,b,a),c)}function Wg(){}function Xg(a,b){var c=kg();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Xf(b,d[1]))return d[0];c.memoizedState=[a,b];return a} -function Yg(a,b){var c=kg();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Xf(b,d[1]))return d[0];Sf&&a();a=a();c.memoizedState=[a,b];return a}function Zg(a,b,c){if(0===(Of&42))return a.baseState&&(a.baseState=!1,sg=!0),a.memoizedState=c;pd(c,b)||(c=Bb(),S.lanes|=c,qe|=c,a.baseState=!0);return b} -function $g(a,b,c,d,e){var f=G;G=0!==f&&8>f?f:8;var g=Nf.transition;ah(a,!1,b,c);Nf.transition={};try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=If(h,d);bh(a,b,l)}else{var p=Lf(h,d);bh(a,b,p)}}catch(q){bh(a,b,{then:function(){},status:"rejected",reason:q})}finally{G=f,Nf.transition=g}} -function ch(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;$g(a,f,b,fa,function(){return c(d)})}function dh(){var a=ng(La);return null!==a?a:fa}function eh(){return kg().memoizedState} -function fh(){return kg().memoizedState}function gh(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=hh(d);a=le(e);var f=me(d,a,e);null!==f&&(Cg(f,d,e),ne(f,d,e));d=ih();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function jh(a,b,c){var d=hh(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};Gg(a)?kh(b,c):(c=de(a,b,c,d),null!==c&&(Cg(c,a,d),lh(c,b,d)));qb(a,d)} -function bh(a,b,c){var d=hh(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Gg(a))kh(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(pd(h,g)){ce(a,b,e,0);null===P&&ae();return}}catch(l){}finally{}c=de(a,b,e,d);null!==c&&(Cg(c,a,d),lh(c,b,d))}qb(a,d)} -function ah(a,b,c,d){d={lane:2,revertLane:Ef(),action:d,hasEagerState:!1,eagerState:null,next:null};if(Gg(a)){if(b)throw Error(t(479));}else b=de(a,c,d,2),null!==b&&Cg(b,a,2);qb(a,2)}function Gg(a){var b=a.alternate;return a===S||null!==b&&b===S}function kh(a,b){Rf=Qf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function lh(a,b,c){if(0!==(c&8388480)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Gb(a,c)}} -var cg={readContext:ng,use:mg,useCallback:U,useContext:U,useEffect:U,useImperativeHandle:U,useInsertionEffect:U,useLayoutEffect:U,useMemo:U,useReducer:U,useRef:U,useState:U,useDebugValue:U,useDeferredValue:U,useTransition:U,useSyncExternalStore:U,useId:U};cg.useCacheRefresh=U;cg.useMemoCache=U;cg.useEffectEvent=U;cg.useHostTransitionStatus=U;cg.useFormState=U;cg.useOptimistic=U; -var Zf={readContext:ng,use:mg,useCallback:function(a,b){jg().memoizedState=[a,void 0===b?null:b];return a},useContext:ng,useEffect:Pg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Ng(4194308,4,Ug.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Ng(4194308,4,a,b)},useInsertionEffect:function(a,b){Ng(4,2,a,b)},useMemo:function(a,b){var c=jg();b=void 0===b?null:b;Sf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=jg();b=void 0!==c?c(b): -b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=jh.bind(null,S,a);return[d.memoizedState,a]},useRef:function(a){var b=jg();a={current:a};return b.memoizedState=a},useState:function(a){a=Dg(a);var b=a.queue,c=bh.bind(null,S,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Wg,useDeferredValue:function(a){return jg().memoizedState=a},useTransition:function(){var a=Dg(!1);a=$g.bind(null,S,a.queue,!0,!1);jg().memoizedState= -a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=S,e=jg();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===P)throw Error(t(349));0!==(Of&60)||zg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Pg(wg.bind(null,d,f,a),[a]);d.flags|=2048;xg(9,yg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=jg(),b=P.identifierPrefix;if(K){var c=yd;var d=xd;c=(d&~(1<<32-sb(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Tf++;0<c&&(b+="H"+c.toString(32)); -b+=":"}else c=Wf++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return jg().memoizedState=gh.bind(null,S)}};Zf.useMemoCache=og;Zf.useEffectEvent=function(a){var b=jg(),c={impl:a};b.memoizedState=c;return function(){if(0!==(N&2))throw Error(t(440));return c.impl.apply(void 0,arguments)}};Zf.useHostTransitionStatus=dh; -Zf.useFormState=function(a,b){if(K){var c=P.formState;null!==c&&Rd()&&(b=c[0])}var d={status:"fulfilled",value:b,then:function(){}};c=jg();c.memoizedState=c.baseState=d;d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jg,lastRenderedState:d};c.queue=d;c=bh.bind(null,S,d);d.dispatch=c;d=jg();var e={state:b,dispatch:null,action:a,pending:null};d.queue=e;c=Fg.bind(null,S,e,c);e.dispatch=c;d.memoizedState=a;return[b,c]}; -Zf.useOptimistic=function(a){var b=jg();b.memoizedState=b.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};b.queue=c;b=ah.bind(null,S,!0,c);c.dispatch=b;return[a,b]}; -var $f={readContext:ng,use:mg,useCallback:Xg,useContext:ng,useEffect:vg,useImperativeHandle:Vg,useInsertionEffect:Sg,useLayoutEffect:Tg,useMemo:Yg,useReducer:qg,useRef:Mg,useState:function(){return qg(pg)},useDebugValue:Wg,useDeferredValue:function(a){var b=kg();return Zg(b,T.memoizedState,a)},useTransition:function(){var a=qg(pg)[0],b=kg().memoizedState;return["boolean"===typeof a?a:fg(a),b]},useSyncExternalStore:ug,useId:eh};$f.useCacheRefresh=fh;$f.useMemoCache=og;$f.useEffectEvent=Rg; -$f.useHostTransitionStatus=dh;$f.useFormState=function(a){var b=kg();return Kg(b,T,a)};$f.useOptimistic=function(a,b){var c=kg();return Eg(c,T,a,b)}; -var dg={readContext:ng,use:mg,useCallback:Xg,useContext:ng,useEffect:vg,useImperativeHandle:Vg,useInsertionEffect:Sg,useLayoutEffect:Tg,useMemo:Yg,useReducer:tg,useRef:Mg,useState:function(){return tg(pg)},useDebugValue:Wg,useDeferredValue:function(a){var b=kg();return null===T?b.memoizedState=a:Zg(b,T.memoizedState,a)},useTransition:function(){var a=tg(pg)[0],b=kg().memoizedState;return["boolean"===typeof a?a:fg(a),b]},useSyncExternalStore:ug,useId:eh};dg.useCacheRefresh=fh;dg.useMemoCache=og; -dg.useEffectEvent=Rg;dg.useHostTransitionStatus=dh;dg.useFormState=function(a){var b=kg(),c=T;if(null!==c)return Kg(b,c,a);b=fg(b.memoizedState);c=kg();var d=c.queue.dispatch;c.memoizedState=a;return[b,d]};dg.useOptimistic=function(a,b){var c=kg();if(null!==T)return Eg(c,T,a,b);c.baseState=c.memoizedState=a;return[a,c.queue.dispatch]};var mh=ba.unstable_now,nh=0,oh=-1,ph=-1,qh=-1,qf=!1,rf=!1;function rh(a){ph=mh();0>a.actualStartTime&&(a.actualStartTime=mh())} -function sh(a,b){if(0<=ph){var c=mh()-ph;a.actualDuration+=c;b&&(a.selfBaseDuration=c);ph=-1}}function th(a){if(0<=oh){var b=mh()-oh;oh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a.stateNode.effectDuration+=b;return;case 12:a.stateNode.effectDuration+=b;return}a=a.return}}} -function uh(a){if(0<=qh){var b=mh()-qh;qh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return;case 12:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return}a=a.return}}}function vh(){oh=mh()}function wh(a){for(var b=a.child;b;)a.actualDuration+=b.actualDuration,b=b.sibling}function xh(a,b){if(a&&a.defaultProps){b=w({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function yh(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:w({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} -var zh={isMounted:function(a){return(a=a._reactInternals)?Yc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=hh(a),e=le(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=me(a,e,d);null!==b&&(Cg(b,a,d),ne(b,a,d));qb(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=hh(a),e=le(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=me(a,e,d);null!==b&&(Cg(b,a,d),ne(b,a,d));qb(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=hh(a),d=le(c); -d.tag=2;void 0!==b&&null!==b&&(d.callback=b);b=me(a,d,c);null!==b&&(Cg(b,a,c),ne(b,a,c));null!==F&&"function"===typeof F.markForceUpdateScheduled&&F.markForceUpdateScheduled(a,c)}};function Ah(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!te(c,d)||!te(e,f):!0} -function Bh(a,b,c){var d=!1,e=dd;var f=b.contextType;"object"===typeof f&&null!==f?f=ng(f):(e=id(b)?gd:ed.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?hd(a,e):dd);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=zh;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} -function Ch(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&zh.enqueueReplaceState(b,b.state,null)} -function Dh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};je(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=ng(f):(f=id(b)?gd:ed.current,e.context=hd(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(yh(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, -"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&zh.enqueueReplaceState(e,e.state,null),pe(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function Eh(a,b){try{var c="",d=b;do c+=tc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} -function Fh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function Gh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function Hh(a,b,c){c=le(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Ih||(Ih=!0,Jh=d);Gh(a,b)};return c} -function Kh(a,b,c){c=le(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Gh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){Gh(a,b);"function"!==typeof d&&(null===Lh?Lh=new Set([this]):Lh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} -function Mh(a){var b=a.tag;0!==(a.mode&1)||0!==b&&11!==b&&15!==b||((b=a.alternate)?(a.updateQueue=b.updateQueue,a.memoizedState=b.memoizedState,a.lanes=b.lanes):(a.updateQueue=null,a.memoizedState=null))}function Nh(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=le(2),b.tag=2,me(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} -function Oh(a,b,c,d,e){c.flags|=32768;eb&&Ph(a,e);if(null!==d&&"object"===typeof d&&(d.$$typeof===Ea&&(d={then:function(){}}),"function"===typeof d.then)){Mh(c);var f=Xe.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===Ye?Qh():null===f.alternate&&0===Rh&&(Rh=3));f.flags&=-257;Nh(f,b,c,a,e);d===we?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]):b.add(d),f.mode&1&&Sh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===we?f.flags|=16384:(b=f.updateQueue,null===b?(b= -{transitions:null,markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(f=b.retryQueue,null===f?b.retryQueue=new Set([d]):f.add(d)),Sh(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){Sh(a,d,e);Qh();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Xe.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);Nh(f,b,c,a,e);Xd(Eh(d,c));return}d=Eh(d,c);Th(d);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=Hh(a,d,e);oe(a,e);return;case 1:if(f=d,b=a.type,c=a.stateNode,0===(a.flags& -128)&&("function"===typeof b.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===Lh||!Lh.has(c)))){a.flags|=65536;e&=-e;a.lanes|=e;e=Kh(a,f,e);oe(a,e);return}}a=a.return}while(null!==a)}var Uh=da.ReactCurrentOwner,Vh=Error(t(461)),sg=!1;function Wh(a,b,c,d){b.child=null===a?Qe(b,null,c,d):Pe(b,a.child,c,d)} -function Xh(a,b,c,d,e){c=c.render;var f=b.ref;Yh(b,e);kb(b);d=Yf(a,b,c,d,f,e);c=gg();lb();if(null!==a&&!sg)return hg(a,b,e),Zh(a,b,e);K&&c&&Bd(b);b.flags|=1;Wh(a,b,d,e);return b.child} -function $h(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!ai(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,bi(a,b,f,d,e);a=Le(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:te;if(c(g,d)&&a.ref===b.ref)return Zh(a,b,e)}b.flags|=1;a=Je(f,d);a.ref=b.ref;a.return=b;return b.child=a} -function bi(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(te(f,d)&&a.ref===b.ref)if(sg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(sg=!0);else return b.lanes=a.lanes,Zh(a,b,e)}return ci(a,b,c,d,e)} -function di(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;ei(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return fi(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&gi(b,null),Ve(),af(b);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0, -cachePool:null},null!==a&&gi(b,null!==g?g.cachePool:null),null!==g?Te(b,g):Ve(),af(b);else return b.lanes=b.childLanes=1073741824,fi(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(gi(b,g.cachePool),Te(b,g),bf(b),b.memoizedState=null):(null!==a&&gi(b,null),Ve(),bf(b));Wh(a,b,e,c);return b.child}function fi(a,b,c){var d=hi();d=null===d?null:{parent:ii._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&gi(b,null);Ve();af(b);return null} -function ei(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function ci(a,b,c,d,e){var f=id(c)?gd:ed.current;f=hd(b,f);Yh(b,e);kb(b);c=Yf(a,b,c,d,f,e);d=gg();lb();if(null!==a&&!sg)return hg(a,b,e),Zh(a,b,e);K&&d&&Bd(b);b.flags|=1;Wh(a,b,c,e);return b.child}function ji(a,b,c,d,e,f){Yh(b,f);kb(b);c=ag(b,d,c,e);bg();d=gg();lb();if(null!==a&&!sg)return hg(a,b,f),Zh(a,b,f);K&&d&&Bd(b);b.flags|=1;Wh(a,b,c,f);return b.child} -function ki(a,b,c,d,e){if(id(c)){var f=!0;md(b)}else f=!1;Yh(b,e);if(null===b.stateNode)li(a,b),Bh(b,c,d),Dh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var l=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=ng(p):(p=id(c)?gd:ed.current,p=hd(b,p));var q=c.getDerivedStateFromProps,x="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;x||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| -(h!==d||l!==p)&&Ch(b,g,d,p);ie=!1;var r=b.memoizedState;g.state=r;pe(b,d,g,e);l=b.memoizedState;h!==d||r!==l||fd.current||ie?("function"===typeof q&&(yh(b,c,q,d),l=b.memoizedState),(h=ie||Ah(b,c,h,d,r,l,p))?(x||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): -("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=l),g.props=d,g.state=l,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;ke(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:xh(b.type,h);g.props=p;x=b.pendingProps;r=g.context;l=c.contextType;"object"===typeof l&&null!==l?l=ng(l):(l=id(c)?gd:ed.current,l=hd(b,l));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| -"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==x||r!==l)&&Ch(b,g,d,l);ie=!1;r=b.memoizedState;g.state=r;pe(b,d,g,e);var A=b.memoizedState;h!==x||r!==A||fd.current||ie?("function"===typeof u&&(yh(b,c,u,d),A=b.memoizedState),(p=ie||Ah(b,c,p,d,r,A,l)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,A,l),"function"===typeof g.UNSAFE_componentWillUpdate&& +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Uc=null;function Vc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Wc=null,Xc=null; +function Yc(a){var b=bc(a);if(b&&(a=b.stateNode)){var c=dc(a);a:switch(a=b.stateNode,b.type){case "input":Hc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+Gc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=dc(d);if(!e)throw Error(t(90));Hc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, +e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&Dc(d)}break a;case "textarea":Mc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&Lc(a,!!c.multiple,b,!1)}}}function Zc(a){Wc?Xc?Xc.push(a):Xc=[a]:Wc=a}function $c(){if(Wc){var a=Wc,b=Xc;Xc=Wc=null;Yc(a);if(b)for(a=0;a<b.length;a++)Yc(b[a])}}function ad(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} +function bd(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function cd(a){if(ad(a)!==a)throw Error(t(188));} +function dd(a){var b=a.alternate;if(!b){b=ad(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return cd(e),a;if(f===d)return cd(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== +c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function ed(a){a=dd(a);return null!==a?fd(a):null}function fd(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=fd(a);if(null!==b)return b;a=a.sibling}return null}var gd={},hd=ma(gd),id=ma(!1),jd=gd; +function kd(a,b){var c=a.type.contextTypes;if(!c)return gd;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function ld(a){a=a.childContextTypes;return null!==a&&void 0!==a}function md(){D(id);D(hd)} +function nd(a,b,c){if(hd.current!==gd)throw Error(t(168));E(hd,b);E(id,c)}function od(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,yc(a)||"Unknown",e));return w({},c,d)}function pd(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||gd;jd=hd.current;E(hd,a);E(id,id.current);return!0} +function qd(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=od(a,b,jd),d.__reactInternalMemoizedMergedChildContext=a,D(id),D(hd),E(hd,a)):D(id);E(id,c)}function rd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var sd="function"===typeof Object.is?Object.is:rd,td=[],ud=0,vd=null,wd=0,xd=[],yd=0,zd=null,Ad=1,Bd="";function Cd(a,b){td[ud++]=wd;td[ud++]=vd;vd=a;wd=b} +function Dd(a,b,c){xd[yd++]=Ad;xd[yd++]=Bd;xd[yd++]=zd;zd=a;var d=Ad;a=Bd;var e=32-ub(d)-1;d&=~(1<<e);c+=1;var f=32-ub(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;Ad=1<<32-ub(b)+e|c<<e|d;Bd=f+a}else Ad=1<<f|c<<e|d,Bd=a}function Ed(a){null!==a.return&&(Cd(a,1),Dd(a,1,0))}function Fd(a){for(;a===vd;)vd=td[--ud],td[ud]=null,wd=td[--ud],td[ud]=null;for(;a===zd;)zd=xd[--yd],xd[yd]=null,Bd=xd[--yd],xd[yd]=null,Ad=xd[--yd],xd[yd]=null}var H=null,I=null,K=!1,Gd=null,Hd=!1; +function Id(a,b){var c=Jd(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function Kd(a,b){b.flags=b.flags&-4097|2}function Ld(a,b){b=Md(b,a.type,a.pendingProps,Hd);return null!==b?(a.stateNode=b,H=a,I=Nd(b.firstChild),Hd=!1,!0):!1}function Od(a,b){b=Pd(b,a.pendingProps,Hd);return null!==b?(a.stateNode=b,H=a,I=null,!0):!1} +function Qd(a,b){a:{var c=b;for(b=Hd;8!==c.nodeType;){if(!b){b=null;break a}c=Rd(c);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==zd?{id:Ad,overflow:Bd}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:536870912},c=Jd(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,H=a,I=null,!0):!1}function Sd(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Td(){throw Error(t(418));} +function Ud(){if(!K)return!1;if(I){a:{var a=I;for(var b=Hd;8!==a.nodeType;){if(!b){a=null;break a}a=Rd(a);if(null===a){a=null;break a}}b=a.data;a="F!"===b||"F"===b?a:null}if(a)return I=Rd(a),"F!"===a.data}Td();return!1}function Vd(a){for(H=a.return;H;)switch(H.tag){case 3:case 27:Hd=!0;return;case 5:case 13:Hd=!1;return;default:H=H.return}} +function Wd(a){if(a!==H)return!1;if(!K)return Vd(a),K=!0,!1;var b=!1,c;if(c=3!==a.tag&&27!==a.tag){if(c=5===a.tag)c=a.type,c=!("form"!==c&&"button"!==c)||Xd(a.type,a.memoizedProps);c=!c}c&&(b=!0);if(b&&(b=I))if(Sd(a))Yd(),Td();else for(;b;)Id(a,b),b=Rd(b);Vd(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType)if(c=a.data,"/$"===c){if(0===b){I=Rd(a);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++;a=a.nextSibling}I= +null}}else I=H?Rd(a.stateNode):null;return!0}function Yd(){for(var a=I;a;)a=Rd(a)}function Zd(){I=H=null;K=!1}function $d(a){null===Gd?Gd=[a]:Gd.push(a)}var ae=[],be=0,ce=0;function de(){for(var a=be,b=ce=be=0;b<a;){var c=ae[b];ae[b++]=null;var d=ae[b];ae[b++]=null;var e=ae[b];ae[b++]=null;var f=ae[b];ae[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&ee(c,e,f)}} +function fe(a,b,c,d){ae[be++]=a;ae[be++]=b;ae[be++]=c;ae[be++]=d;ce|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function ge(a,b,c,d){fe(a,b,c,d);return he(a)}function ie(a,b){fe(a,null,null,b);return he(a)} +function ee(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-ub(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|536870912)}function he(a){if(50<je)throw je=0,ke=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} +var le=!1;function me(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ne(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function oe(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} +function pe(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(N&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=he(a);ee(a,null,c);return b}fe(a,d,b,c);return he(a)}function qe(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194176))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Ib(a,c)}} +function re(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} +function se(a,b,c,d){var e=a.updateQueue;le=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var l=h,p=l.next;l.next=null;null===g?f=p:g.next=p;g=l;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=l))}if(null!==f){var x=e.baseState;g=0;q=p=l=null;h=f;do{var r=h.lane&-536870913,u=r!==h.lane;if(u?(O&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, +callback:null,next:null});a:{var A=a,C=h;r=b;var J=c;switch(C.tag){case 1:A=C.payload;if("function"===typeof A){x=A.call(J,x,r);break a}x=A;break a;case 3:A.flags=A.flags&-65537|128;case 0:A=C.payload;r="function"===typeof A?A.call(J,x,r):A;if(null===r||void 0===r)break a;x=w({},x,r);break a;case 2:le=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, +l=x):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(l=x);e.baseState=l;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);te|=g;a.lanes=g;a.memoizedState=x}}function ue(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function ve(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)ue(c[a],b)} +function we(a,b){if(sd(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!Pb.call(b,e)||!sd(a[e],b[e]))return!1}return!0}var xe=Error(t(460)),ye=Error(t(474)),ze={then:function(){}};function Ae(a){a=a.status;return"fulfilled"===a||"rejected"===a}function Be(){} +function Ce(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Be,Be),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===xe)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(Be,Be);else{a=P;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; +case "rejected":a=b.reason;if(a===xe)throw Error(t(483));throw a;}}De=b;throw xe;}}var De=null;function Ee(){if(null===De)throw Error(t(459));var a=De;De=null;return a}var Fe=null,Ge=0;function He(a){var b=Ge;Ge+=1;null===Fe&&(Fe=[]);return Ce(Fe,a,b)} +function Ie(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} +function Je(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function Ke(a){var b=a._init;return b(a._payload)} +function Le(a){function b(m,k){if(a){var n=m.deletions;null===n?(m.deletions=[k],m.flags|=16):n.push(k)}}function c(m,k){if(!a)return null;for(;null!==k;)b(m,k),k=k.sibling;return null}function d(m,k){for(m=new Map;null!==k;)null!==k.key?m.set(k.key,k):m.set(k.index,k),k=k.sibling;return m}function e(m,k){m=Me(m,k);m.index=0;m.sibling=null;return m}function f(m,k,n){m.index=n;if(!a)return m.flags|=1048576,k;n=m.alternate;if(null!==n)return n=n.index,n<k?(m.flags|=33554434,k):n;m.flags|=33554434;return k} +function g(m){a&&null===m.alternate&&(m.flags|=33554434);return m}function h(m,k,n,v){if(null===k||6!==k.tag)return k=Ne(n,m.mode,v),k.return=m,k;k=e(k,n);k.return=m;return k}function l(m,k,n,v){var y=n.type;if(y===pa)return q(m,k,n.props.children,v,n.key);if(null!==k&&(k.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===za&&Ke(y)===k.type))return v=e(k,n.props),v.ref=Ie(m,k,n),v.return=m,v;v=Oe(n.type,n.key,n.props,null,null,m.mode,v);v.ref=Ie(m,k,n);v.return=m;return v}function p(m,k, +n,v){if(null===k||4!==k.tag||k.stateNode.containerInfo!==n.containerInfo||k.stateNode.implementation!==n.implementation)return k=Pe(n,m.mode,v),k.return=m,k;k=e(k,n.children||[]);k.return=m;return k}function q(m,k,n,v,y){if(null===k||7!==k.tag)return k=Qe(n,m.mode,v,y),k.return=m,k;k=e(k,n);k.return=m;return k}function x(m,k,n){if("string"===typeof k&&""!==k||"number"===typeof k)return k=Ne(""+k,m.mode,n),k.return=m,k;if("object"===typeof k&&null!==k){switch(k.$$typeof){case na:return n=Oe(k.type, +k.key,k.props,null,null,m.mode,n),n.ref=Ie(m,null,k),n.return=m,n;case oa:return k=Pe(k,m.mode,n),k.return=m,k;case za:var v=k._init;return x(m,v(k._payload),n)}if(Kc(k)||Ia(k))return k=Qe(k,m.mode,n,null),k.return=m,k;if("function"===typeof k.then)return x(m,He(k),n);if(k.$$typeof===ta||k.$$typeof===ua)return x(m,Re(m,k,n),n);Je(m,k)}return null}function r(m,k,n,v){var y=null!==k?k.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==y?null:h(m,k,""+n,v);if("object"===typeof n&& +null!==n){switch(n.$$typeof){case na:return n.key===y?l(m,k,n,v):null;case oa:return n.key===y?p(m,k,n,v):null;case za:return y=n._init,r(m,k,y(n._payload),v)}if(Kc(n)||Ia(n))return null!==y?null:q(m,k,n,v,null);if("function"===typeof n.then)return r(m,k,He(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return r(m,k,Re(m,n,v),v);Je(m,n)}return null}function u(m,k,n,v,y){if("string"===typeof v&&""!==v||"number"===typeof v)return m=m.get(n)||null,h(k,m,""+v,y);if("object"===typeof v&&null!==v){switch(v.$$typeof){case na:return m= +m.get(null===v.key?n:v.key)||null,l(k,m,v,y);case oa:return m=m.get(null===v.key?n:v.key)||null,p(k,m,v,y);case za:var B=v._init;return u(m,k,n,B(v._payload),y)}if(Kc(v)||Ia(v))return m=m.get(n)||null,q(k,m,v,y,null);if("function"===typeof v.then)return u(m,k,n,He(v),y);if(v.$$typeof===ta||v.$$typeof===ua)return u(m,k,n,Re(k,v,y),y);Je(k,v)}return null}function A(m,k,n,v){for(var y=null,B=null,z=k,L=k=0,ja=null;null!==z&&L<n.length;L++){z.index>L?(ja=z,z=null):ja=z.sibling;var M=r(m,z,n[L],v);if(null=== +M){null===z&&(z=ja);break}a&&z&&null===M.alternate&&b(m,z);k=f(M,k,L);null===B?y=M:B.sibling=M;B=M;z=ja}if(L===n.length)return c(m,z),K&&Cd(m,L),y;if(null===z){for(;L<n.length;L++)z=x(m,n[L],v),null!==z&&(k=f(z,k,L),null===B?y=z:B.sibling=z,B=z);K&&Cd(m,L);return y}for(z=d(m,z);L<n.length;L++)ja=u(z,m,L,n[L],v),null!==ja&&(a&&null!==ja.alternate&&z.delete(null===ja.key?L:ja.key),k=f(ja,k,L),null===B?y=ja:B.sibling=ja,B=ja);a&&z.forEach(function(Mb){return b(m,Mb)});K&&Cd(m,L);return y}function C(m, +k,n,v){var y=Ia(n);if("function"!==typeof y)throw Error(t(150));n=y.call(n);if(null==n)throw Error(t(151));for(var B=y=null,z=k,L=k=0,ja=null,M=n.next();null!==z&&!M.done;L++,M=n.next()){z.index>L?(ja=z,z=null):ja=z.sibling;var Mb=r(m,z,M.value,v);if(null===Mb){null===z&&(z=ja);break}a&&z&&null===Mb.alternate&&b(m,z);k=f(Mb,k,L);null===B?y=Mb:B.sibling=Mb;B=Mb;z=ja}if(M.done)return c(m,z),K&&Cd(m,L),y;if(null===z){for(;!M.done;L++,M=n.next())M=x(m,M.value,v),null!==M&&(k=f(M,k,L),null===B?y=M:B.sibling= +M,B=M);K&&Cd(m,L);return y}for(z=d(m,z);!M.done;L++,M=n.next())M=u(z,m,L,M.value,v),null!==M&&(a&&null!==M.alternate&&z.delete(null===M.key?L:M.key),k=f(M,k,L),null===B?y=M:B.sibling=M,B=M);a&&z.forEach(function(An){return b(m,An)});K&&Cd(m,L);return y}function J(m,k,n,v){"object"===typeof n&&null!==n&&n.type===pa&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case na:a:{for(var y=n.key,B=k;null!==B;){if(B.key===y){y=n.type;if(y===pa){if(7===B.tag){c(m,B.sibling); +k=e(B,n.props.children);k.return=m;m=k;break a}}else if(B.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===za&&Ke(y)===B.type){c(m,B.sibling);k=e(B,n.props);k.ref=Ie(m,B,n);k.return=m;m=k;break a}c(m,B);break}else b(m,B);B=B.sibling}n.type===pa?(k=Qe(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=Oe(n.type,n.key,n.props,null,null,m.mode,v),v.ref=Ie(m,k,n),v.return=m,m=v)}return g(m);case oa:a:{for(B=n.key;null!==k;){if(k.key===B)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& +k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Pe(n,m.mode,v);k.return=m;m=k}return g(m);case za:return B=n._init,Q(m,k,B(n._payload),v)}if(Kc(n))return A(m,k,n,v);if(Ia(n))return C(m,k,n,v);if("function"===typeof n.then)return J(m,k,He(n),v);if(n.$$typeof===ta||n.$$typeof===ua)return J(m,k,Re(m,n,v),v);Je(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, +k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=Ne(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function Q(m,k,n,v){Ge=0;m=J(m,k,n,v);Fe=null;return m}return Q}var Se=Le(!0),Te=Le(!1),Ue=ma(null),Ve=ma(0);function We(a,b){a=Xe;E(Ve,a);E(Ue,b);Xe=a|b.baseLanes}function Ye(){E(Ve,Xe);E(Ue,Ue.current)}function Ze(){Xe=Ve.current;D(Ue);D(Ve)}var $e=ma(null),af=null;function bf(a){var b=a.alternate;E(cf,cf.current&1);E($e,a);null===af&&(null===b||null!==Ue.current?af=a:null!==b.memoizedState&&(af=a))} +function df(a){if(22===a.tag){if(E(cf,cf.current),E($e,a),null===af){var b=a.alternate;null!==b&&null!==b.memoizedState&&(af=a)}}else ef(a)}function ef(){E(cf,cf.current);E($e,$e.current)}function ff(a){D($e);af===a&&(af=null);D(cf)}var cf=ma(0); +function gf(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var hf=null,jf=null,kf=!1,lf=!1,mf=!1,nf=0; +function of(a){a!==jf&&null===a.next&&(null===jf?hf=jf=a:jf=jf.next=a);lf=!0;kf||(kf=!0,pf(qf))} +function rf(a){if(!mf&&lf){var b=null;mf=!0;do{var c=!1;for(var d=hf;null!==d;){if(!a||0===d.tag){var e=O,f=Ab(d,d===P?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(N&6))throw Error(t(327));if(!sf()){tf=uf;uf=!1;var g=vf(e,f);if(0!==e.tag&&2===g){var h=f,l=Cb(e,h);0!==l&&(f=l,g=wf(e,h,l))}if(1===g)throw h=xf,yf(e,0),zf(e,f,0),of(e),h;6===g?zf(e,f,0):(e.finishedWork=e.current.alternate,e.finishedLanes=f,Af(e,Bf,Cf,Df))}of(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);mf=!1;if(null!==b){if(1<b.length){if("function"=== +typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)pf(Ef.bind(null,b[a]))}throw b[0];}}}function Ef(a){throw a;}function qf(){lf=kf=!1;for(var a=Ya(),b=null,c=hf;null!==c;){var d=c.next;if(0!==nf&&window.event&&"popstate"===window.event.type){var e=c,f=nf;e.pendingLanes|=2;e.entangledLanes|=2;e.entanglements[1]|=f}e=Ff(c,a);0===e?(c.next=null,null===b?hf=d:b.next=d,null===d&&(jf=b)):(b=c,0!==(e&3)&&(lf=!0));c=d}nf=0;rf(!1)} +function Ff(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-62914561;0<f;){var g=31-ub(f),h=1<<g,l=e[g];if(-1===l){if(0===(h&c)||0!==(h&d))e[g]=Bb(h,b)}else l<=b&&(a.expiredLanes|=h);f&=~h}b=P;c=O;c=Ab(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===R||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Va(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Va(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b===a.callbackPriority)return b; +null!==d&&Va(d);switch(Ob(c)){case 2:c=$a;break;case 8:c=ab;break;case 32:c=bb;break;case 268435456:c=db;break;default:c=bb}d=Gf.bind(null,a);c=Ua(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function pf(a){Hf(function(){0!==(N&6)?Ua($a,a):a()})}function If(){if(0===nf){var a=xb;xb<<=1;0===(xb&4194176)&&(xb=128);nf=a}return nf}var Jf=null,Kf=0,Lf=0; +function Mf(a,b){if(null===Jf){var c=Jf=[];Kf=0;Lf=If()}else c=Jf;Kf++;var d=Nf(c),e="pending",f,g;a.then(function(h){e="fulfilled";f=null!==b?b:h;Of()},function(h){e="rejected";g=h;Of()});c.push(function(){switch(e){case "fulfilled":d.status="fulfilled";d.value=f;break;case "rejected":d.status="rejected";d.reason=g;break;default:throw Error(t(478));}});return d}function Pf(a,b){var c=null!==b?b:a;if(null===Jf)return c;a=Jf;var d=Nf(a);a.push(function(){d.status="fulfilled";d.value=c});return d} +function Of(){if(null!==Jf&&0===--Kf){var a=Jf;Jf=null;for(var b=Lf=0;b<a.length;b++)(0,a[b])()}}function Nf(a){return{status:"pending",value:null,reason:null,then:function(b){a.push(b)}}}var Qf=da.ReactCurrentDispatcher,Rf=da.ReactCurrentBatchConfig,Sf=0,S=null,T=null,Tf=null,Uf=!1,Vf=!1,Wf=!1,Xf=0,Yf=0,Zf=null,$f=0;function U(){throw Error(t(321));}function ag(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!sd(a[c],b[c]))return!1;return!0} +function bg(a,b,c,d,e,f){Sf=f;S=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Qf.current=null===a||null===a.memoizedState?cg:dg;Wf=!1;a=c(d,e);Wf=!1;Vf&&(a=eg(b,c,d,e));fg();return a}function fg(){Qf.current=gg;var a=null!==T&&null!==T.next;Sf=0;Tf=T=S=null;Uf=!1;Yf=0;Zf=null;if(a)throw Error(t(300));}function eg(a,b,c,d){S=a;var e=0;do{Vf&&(Zf=null);Yf=0;Vf=!1;if(25<=e)throw Error(t(301));e+=1;Tf=T=null;a.updateQueue=null;Qf.current=hg;var f=b(c,d)}while(Vf);return f} +function ig(){var a=Qf.current.useState()[0];return"function"===typeof a.then?jg(a):a}function kg(){var a=0!==Xf;Xf=0;return a}function lg(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function mg(a){if(Uf){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}Uf=!1}Sf=0;Tf=T=S=null;Vf=!1;Yf=Xf=0;Zf=null}function ng(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===Tf?S.memoizedState=Tf=a:Tf=Tf.next=a;return Tf} +function og(){if(null===T){var a=S.alternate;a=null!==a?a.memoizedState:null}else a=T.next;var b=null===Tf?S.memoizedState:Tf.next;if(null!==b)Tf=b,T=a;else{if(null===a){if(null===S.alternate)throw Error(t(467));throw Error(t(310));}T=a;a={memoizedState:T.memoizedState,baseState:T.baseState,baseQueue:T.baseQueue,queue:T.queue,next:null};null===Tf?S.memoizedState=Tf=a:Tf=Tf.next=a}return Tf}var pg;pg=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}}; +function jg(a){var b=Yf;Yf+=1;null===Zf&&(Zf=[]);a=Ce(Zf,a,b);null===S.alternate&&(null===Tf?null===S.memoizedState:null===Tf.next)&&(Qf.current=cg);return a}function qg(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return jg(a);if(a.$$typeof===ta||a.$$typeof===ua)return rg(a)}throw Error(t(438,String(a)));} +function sg(a){var b=null,c=S.updateQueue;null!==c&&(b=c.memoCache);if(null==b){var d=S.alternate;null!==d&&(d=d.updateQueue,null!==d&&(d=d.memoCache,null!=d&&(b={data:d.data.map(function(e){return e.slice()}),index:0})))}null==b&&(b={data:[],index:0});null===c&&(c=pg(),S.updateQueue=c);c.memoCache=b;c=b.data[b.index];if(void 0===c)for(c=b.data[b.index]=Array(a),d=0;d<a;d++)c[d]=Fa;b.index++;return c}function tg(a,b){return"function"===typeof b?b(a):b}function ug(a){var b=og();return vg(b,T,a)} +function vg(a,b,c){var d=a.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=c;var e=a.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}b.baseQueue=e=f;d.pending=null}if(null!==e){b=e.next;f=a.baseState;var h=g=null,l=null,p=b;do{var q=p.lane&-536870913;if(q!==p.lane?(O&q)===q:(Sf&q)===q){q=p.revertLane;if(0===q)null!==l&&(l=l.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null});else if((Sf&q)===q){p= +p.next;continue}else{var x={lane:0,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===l?(h=l=x,g=f):l=l.next=x;S.lanes|=q;te|=q}q=p.action;Wf&&c(f,q);f=p.hasEagerState?p.eagerState:c(f,q)}else x={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},null===l?(h=l=x,g=f):l=l.next=x,S.lanes|=q,te|=q;p=p.next}while(null!==p&&p!==b);null===l?g=f:l.next=h;sd(f,a.memoizedState)||(wg=!0); +a.memoizedState=f;a.baseState=g;a.baseQueue=l;d.lastRenderedState=f}null===e&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function xg(a){var b=og(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);sd(f,b.memoizedState)||(wg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} +function yg(a,b,c){var d=S,e=og(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!sd((T||e).memoizedState,c);g&&(e.memoizedState=c,wg=!0);e=e.queue;zg(Ag.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==Tf&&Tf.memoizedState.tag&1){d.flags|=2048;Bg(9,Cg.bind(null,d,e,c,b),{destroy:void 0},null);if(null===P)throw Error(t(349));f||0!==(Sf&60)||Dg(d,b,c)}return c} +function Dg(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=S.updateQueue;null===b?(b=pg(),S.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function Cg(a,b,c,d){b.value=c;b.getSnapshot=d;Eg(b)&&Fg(a)}function Ag(a,b,c){return c(function(){Eg(b)&&Fg(a)})}function Eg(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!sd(a,c)}catch(d){return!0}}function Fg(a){var b=ie(a,2);null!==b&&Gg(b,a,2)} +function Hg(a){var b=ng();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tg,lastRenderedState:a};return b}function Ig(a,b,c,d){a.baseState=c;return vg(a,T,"function"===typeof d?d:tg)}function Jg(a,b,c,d){if(Kg(a))throw Error(t(485));a=b.pending;null===a?(a={payload:d,next:null},a.next=b.pending=a,Lg(b,c,d)):a.next={payload:d,next:a.next}} +function Lg(a,b,c){var d=a.action,e=a.state,f=Rf.transition;Rf.transition={};try{var g=d(e,c);g.then(function(l){a.state=l;Mg(a,b)},function(){return Mg(a,b)});var h=Mf(g,null);b(h)}finally{Rf.transition=f}}function Mg(a,b){var c=a.pending;if(null!==c){var d=c.next;d===c?a.pending=null:(d=d.next,c.next=d,Lg(a,b,d.payload))}}function Ng(a,b){return b} +function Og(a,b,c){a=vg(a,b,Ng)[0];a=jg(a);b=og();var d=b.queue,e=d.dispatch;c!==b.memoizedState&&(S.flags|=2048,Bg(9,Pg.bind(null,d,c),{destroy:void 0},null));return[a,e]}function Pg(a,b){a.action=b}function Bg(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=S.updateQueue;null===b?(b=pg(),S.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function Qg(){return og().memoizedState} +function Rg(a,b,c,d){var e=ng();S.flags|=a;e.memoizedState=Bg(1|b,c,{destroy:void 0},void 0===d?null:d)}function Sg(a,b,c,d){var e=og();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==T&&null!==d&&ag(d,T.memoizedState.deps)?e.memoizedState=Bg(b,c,f,d):(S.flags|=a,e.memoizedState=Bg(1|b,c,f,d))}function Tg(a,b){Rg(8390656,8,a,b)}function zg(a,b){Sg(2048,8,a,b)} +function Ug(a){S.flags|=4;var b=S.updateQueue;if(null===b)b=pg(),S.updateQueue=b,b.events=[a];else{var c=b.events;null===c?b.events=[a]:c.push(a)}}function Vg(a){var b=og().memoizedState;Ug({ref:b,nextImpl:a});return function(){if(0!==(N&2))throw Error(t(440));return b.impl.apply(void 0,arguments)}}function Wg(a,b){return Sg(4,2,a,b)}function Xg(a,b){return Sg(4,4,a,b)} +function Yg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Zg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Sg(4,4,Yg.bind(null,b,a),c)}function $g(){}function ah(a,b){var c=og();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&ag(b,d[1]))return d[0];c.memoizedState=[a,b];return a} +function bh(a,b){var c=og();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&ag(b,d[1]))return d[0];Wf&&a();a=a();c.memoizedState=[a,b];return a}function ch(a,b,c){if(void 0===c||0!==(Sf&1073741824))return a.memoizedState=b;a.memoizedState=c;a=dh();S.lanes|=a;te|=a;return c}function eh(a,b,c,d){if(sd(c,b))return c;if(null!==Ue.current)return a=ch(a,c,d),sd(a,b)||(wg=!0),a;if(0===(Sf&42))return wg=!0,a.memoizedState=c;a=dh();S.lanes|=a;te|=a;return b} +function fh(a,b,c,d,e){var f=G;G=0!==f&&8>f?f:8;var g=Rf.transition;Rf.transition={};gh(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=Mf(h,d);hh(a,b,l)}else{var p=Pf(h,d);hh(a,b,p)}}catch(q){hh(a,b,{then:function(){},status:"rejected",reason:q})}finally{G=f,Rf.transition=g}} +function ih(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;fh(a,f,b,fa,function(){return c(d)})}function jh(){var a=rg(Na);return null!==a?a:fa}function kh(){return og().memoizedState} +function lh(){return og().memoizedState}function mh(a,b,c){for(var d=a.return;null!==d;){switch(d.tag){case 24:case 3:var e=nh(d);a=oe(e);var f=pe(d,a,e);null!==f&&(Gg(f,d,e),qe(f,d,e));d=oh();null!==b&&void 0!==b&&null!==f&&d.data.set(b,c);a.payload={cache:d};return}d=d.return}}function ph(a,b,c){var d=nh(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};Kg(a)?qh(b,c):(c=ge(a,b,c,d),null!==c&&(Gg(c,a,d),rh(c,b,d)));sb(a,d)} +function hh(a,b,c){var d=nh(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Kg(a))qh(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(sd(h,g)){fe(a,b,e,0);null===P&&de();return}}catch(l){}finally{}c=ge(a,b,e,d);null!==c&&(Gg(c,a,d),rh(c,b,d))}sb(a,d)} +function gh(a,b,c,d){d={lane:2,revertLane:If(),action:d,hasEagerState:!1,eagerState:null,next:null};if(Kg(a)){if(b)throw Error(t(479));}else b=ge(a,c,d,2),null!==b&&Gg(b,a,2);sb(a,2)}function Kg(a){var b=a.alternate;return a===S||null!==b&&b===S}function qh(a,b){Vf=Uf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function rh(a,b,c){if(0!==(c&4194176)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Ib(a,c)}} +var gg={readContext:rg,use:qg,useCallback:U,useContext:U,useEffect:U,useImperativeHandle:U,useInsertionEffect:U,useLayoutEffect:U,useMemo:U,useReducer:U,useRef:U,useState:U,useDebugValue:U,useDeferredValue:U,useTransition:U,useSyncExternalStore:U,useId:U};gg.useCacheRefresh=U;gg.useMemoCache=U;gg.useEffectEvent=U;gg.useHostTransitionStatus=U;gg.useFormState=U;gg.useOptimistic=U; +var cg={readContext:rg,use:qg,useCallback:function(a,b){ng().memoizedState=[a,void 0===b?null:b];return a},useContext:rg,useEffect:Tg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Rg(4194308,4,Yg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Rg(4194308,4,a,b)},useInsertionEffect:function(a,b){Rg(4,2,a,b)},useMemo:function(a,b){var c=ng();b=void 0===b?null:b;Wf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=ng();b=void 0!==c?c(b): +b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=ph.bind(null,S,a);return[d.memoizedState,a]},useRef:function(a){var b=ng();a={current:a};return b.memoizedState=a},useState:function(a){a=Hg(a);var b=a.queue,c=hh.bind(null,S,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:$g,useDeferredValue:function(a,b){var c=ng();return ch(c,a,b)},useTransition:function(){var a=Hg(!1);a=fh.bind(null,S,a.queue,!0,!1); +ng().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=S,e=ng();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===P)throw Error(t(349));0!==(O&60)||Dg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Tg(Ag.bind(null,d,f,a),[a]);d.flags|=2048;Bg(9,Cg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=ng(),b=P.identifierPrefix;if(K){var c=Bd;var d=Ad;c=(d&~(1<<32-ub(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Xf++;0<c&&(b+="H"+ +c.toString(32));b+=":"}else c=$f++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return ng().memoizedState=mh.bind(null,S)}};cg.useMemoCache=sg;cg.useEffectEvent=function(a){var b=ng(),c={impl:a};b.memoizedState=c;return function(){if(0!==(N&2))throw Error(t(440));return c.impl.apply(void 0,arguments)}};cg.useHostTransitionStatus=jh; +cg.useFormState=function(a,b){if(K){var c=P.formState;null!==c&&Ud()&&(b=c[0])}var d={status:"fulfilled",value:b,then:function(){}};c=ng();c.memoizedState=c.baseState=d;d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ng,lastRenderedState:d};c.queue=d;c=hh.bind(null,S,d);d.dispatch=c;d=ng();var e={state:b,dispatch:null,action:a,pending:null};d.queue=e;c=Jg.bind(null,S,e,c);e.dispatch=c;d.memoizedState=a;return[b,c]}; +cg.useOptimistic=function(a){var b=ng();b.memoizedState=b.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};b.queue=c;b=gh.bind(null,S,!0,c);c.dispatch=b;return[a,b]}; +var dg={readContext:rg,use:qg,useCallback:ah,useContext:rg,useEffect:zg,useImperativeHandle:Zg,useInsertionEffect:Wg,useLayoutEffect:Xg,useMemo:bh,useReducer:ug,useRef:Qg,useState:function(){return ug(tg)},useDebugValue:$g,useDeferredValue:function(a,b){var c=og();return eh(c,T.memoizedState,a,b)},useTransition:function(){var a=ug(tg)[0],b=og().memoizedState;return["boolean"===typeof a?a:jg(a),b]},useSyncExternalStore:yg,useId:kh};dg.useCacheRefresh=lh;dg.useMemoCache=sg;dg.useEffectEvent=Vg; +dg.useHostTransitionStatus=jh;dg.useFormState=function(a){var b=og();return Og(b,T,a)};dg.useOptimistic=function(a,b){var c=og();return Ig(c,T,a,b)}; +var hg={readContext:rg,use:qg,useCallback:ah,useContext:rg,useEffect:zg,useImperativeHandle:Zg,useInsertionEffect:Wg,useLayoutEffect:Xg,useMemo:bh,useReducer:xg,useRef:Qg,useState:function(){return xg(tg)},useDebugValue:$g,useDeferredValue:function(a,b){var c=og();return null===T?ch(c,a,b):eh(c,T.memoizedState,a,b)},useTransition:function(){var a=xg(tg)[0],b=og().memoizedState;return["boolean"===typeof a?a:jg(a),b]},useSyncExternalStore:yg,useId:kh};hg.useCacheRefresh=lh;hg.useMemoCache=sg; +hg.useEffectEvent=Vg;hg.useHostTransitionStatus=jh;hg.useFormState=function(a){var b=og(),c=T;if(null!==c)return Og(b,c,a);b=jg(b.memoizedState);c=og();var d=c.queue.dispatch;c.memoizedState=a;return[b,d]};hg.useOptimistic=function(a,b){var c=og();if(null!==T)return Ig(c,T,a,b);c.baseState=a;return[a,c.queue.dispatch]};var sh=ba.unstable_now,th=0,uh=-1,vh=-1,wh=-1,tf=!1,uf=!1;function xh(a){vh=sh();0>a.actualStartTime&&(a.actualStartTime=sh())} +function yh(a,b){if(0<=vh){var c=sh()-vh;a.actualDuration+=c;b&&(a.selfBaseDuration=c);vh=-1}}function zh(a){if(0<=uh){var b=sh()-uh;uh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a.stateNode.effectDuration+=b;return;case 12:a.stateNode.effectDuration+=b;return}a=a.return}}} +function Ah(a){if(0<=wh){var b=sh()-wh;wh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return;case 12:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return}a=a.return}}}function Bh(){uh=sh()}function Ch(a){for(var b=a.child;b;)a.actualDuration+=b.actualDuration,b=b.sibling}function Dh(a,b){if(a&&a.defaultProps){b=w({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Eh(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:w({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} +var Fh={isMounted:function(a){return(a=a._reactInternals)?ad(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=nh(a),e=oe(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=pe(a,e,d);null!==b&&(Gg(b,a,d),qe(b,a,d));sb(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=nh(a),e=oe(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=pe(a,e,d);null!==b&&(Gg(b,a,d),qe(b,a,d));sb(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=nh(a),d=oe(c); +d.tag=2;void 0!==b&&null!==b&&(d.callback=b);b=pe(a,d,c);null!==b&&(Gg(b,a,c),qe(b,a,c));null!==F&&"function"===typeof F.markForceUpdateScheduled&&F.markForceUpdateScheduled(a,c)}};function Gh(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!we(c,d)||!we(e,f):!0} +function Hh(a,b,c){var d=!1,e=gd;var f=b.contextType;"object"===typeof f&&null!==f?f=rg(f):(e=ld(b)?jd:hd.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?kd(a,e):gd);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Fh;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} +function Ih(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Fh.enqueueReplaceState(b,b.state,null)} +function Jh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};me(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=rg(f):(f=ld(b)?jd:hd.current,e.context=kd(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Eh(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, +"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Fh.enqueueReplaceState(e,e.state,null),se(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function Kh(a,b){try{var c="",d=b;do c+=wc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} +function Lh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function Mh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function Nh(a,b,c){c=oe(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Oh||(Oh=!0,Ph=d);Mh(a,b)};return c} +function Qh(a,b,c){c=oe(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Mh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){Mh(a,b);"function"!==typeof d&&(null===Rh?Rh=new Set([this]):Rh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} +function Sh(a){var b=a.tag;0!==(a.mode&1)||0!==b&&11!==b&&15!==b||((b=a.alternate)?(a.updateQueue=b.updateQueue,a.memoizedState=b.memoizedState,a.lanes=b.lanes):(a.updateQueue=null,a.memoizedState=null))}function Th(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=oe(2),b.tag=2,pe(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} +function Uh(a,b,c,d,e){c.flags|=32768;gb&&Vh(a,e);if(null!==d&&"object"===typeof d&&(d.$$typeof===Ga&&(d={then:function(){}}),"function"===typeof d.then)){Sh(c);var f=$e.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===af?Wh():null===f.alternate&&0===Xh&&(Xh=3));f.flags&=-257;Th(f,b,c,a,e);d===ze?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]):b.add(d),f.mode&1&&Yh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===ze?f.flags|=16384:(b=f.updateQueue,null===b?(b= +{transitions:null,markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(f=b.retryQueue,null===f?b.retryQueue=new Set([d]):f.add(d)),Yh(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){Yh(a,d,e);Wh();return}d=Error(t(426))}if(K&&c.mode&1&&(f=$e.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);Th(f,b,c,a,e);$d(Kh(d,c));return}d=Kh(d,c);Zh(d);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=Nh(a,d,e);re(a,e);return;case 1:if(f=d,b=a.type,c=a.stateNode,0===(a.flags& +128)&&("function"===typeof b.getDerivedStateFromError||null!==c&&"function"===typeof c.componentDidCatch&&(null===Rh||!Rh.has(c)))){a.flags|=65536;e&=-e;a.lanes|=e;e=Qh(a,f,e);re(a,e);return}}a=a.return}while(null!==a)}var $h=da.ReactCurrentOwner,ai=Error(t(461)),wg=!1;function bi(a,b,c,d){b.child=null===a?Te(b,null,c,d):Se(b,a.child,c,d)} +function ci(a,b,c,d,e){c=c.render;var f=b.ref;di(b,e);mb(b);d=bg(a,b,c,d,f,e);c=kg();nb();if(null!==a&&!wg)return lg(a,b,e),ei(a,b,e);K&&c&&Ed(b);b.flags|=1;bi(a,b,d,e);return b.child} +function fi(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!gi(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,hi(a,b,f,d,e);a=Oe(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:we;if(c(g,d)&&a.ref===b.ref)return ei(a,b,e)}b.flags|=1;a=Me(f,d);a.ref=b.ref;a.return=b;return b.child=a} +function hi(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(we(f,d)&&a.ref===b.ref)if(wg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(wg=!0);else return b.lanes=a.lanes,ei(a,b,e)}return ii(a,b,c,d,e)} +function ji(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;ki(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return li(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&mi(b,null),Ye(),df(b);else if(0!==(c&536870912))b.memoizedState={baseLanes:0, +cachePool:null},null!==a&&mi(b,null!==g?g.cachePool:null),null!==g?We(b,g):Ye(),df(b);else return b.lanes=b.childLanes=536870912,li(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(mi(b,g.cachePool),We(b,g),ef(b),b.memoizedState=null):(null!==a&&mi(b,null),Ye(),ef(b));bi(a,b,e,c);return b.child}function li(a,b,c){var d=ni();d=null===d?null:{parent:oi._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&mi(b,null);Ye();df(b);return null} +function ki(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function ii(a,b,c,d,e){var f=ld(c)?jd:hd.current;f=kd(b,f);di(b,e);mb(b);c=bg(a,b,c,d,f,e);d=kg();nb();if(null!==a&&!wg)return lg(a,b,e),ei(a,b,e);K&&d&&Ed(b);b.flags|=1;bi(a,b,c,e);return b.child}function pi(a,b,c,d,e,f){di(b,f);mb(b);c=eg(b,d,c,e);fg();d=kg();nb();if(null!==a&&!wg)return lg(a,b,f),ei(a,b,f);K&&d&&Ed(b);b.flags|=1;bi(a,b,c,f);return b.child} +function qi(a,b,c,d,e){if(ld(c)){var f=!0;pd(b)}else f=!1;di(b,e);if(null===b.stateNode)ri(a,b),Hh(b,c,d),Jh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var l=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=rg(p):(p=ld(c)?jd:hd.current,p=kd(b,p));var q=c.getDerivedStateFromProps,x="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;x||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| +(h!==d||l!==p)&&Ih(b,g,d,p);le=!1;var r=b.memoizedState;g.state=r;se(b,d,g,e);l=b.memoizedState;h!==d||r!==l||id.current||le?("function"===typeof q&&(Eh(b,c,q,d),l=b.memoizedState),(h=le||Gh(b,c,h,d,r,l,p))?(x||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): +("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=l),g.props=d,g.state=l,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;ne(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:Dh(b.type,h);g.props=p;x=b.pendingProps;r=g.context;l=c.contextType;"object"===typeof l&&null!==l?l=rg(l):(l=ld(c)?jd:hd.current,l=kd(b,l));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| +"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==x||r!==l)&&Ih(b,g,d,l);le=!1;r=b.memoizedState;g.state=r;se(b,d,g,e);var A=b.memoizedState;h!==x||r!==A||id.current||le?("function"===typeof u&&(Eh(b,c,u,d),A=b.memoizedState),(p=le||Gh(b,c,p,d,r,A,l)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,A,l),"function"===typeof g.UNSAFE_componentWillUpdate&& g.UNSAFE_componentWillUpdate(d,A,l)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=A),g.props=d,g.state=A,g.context=l,d=p):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r=== -a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return mi(a,b,c,d,f,e)} -function mi(a,b,c,d,e,f){ei(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&nd(b,c,!1),Zh(a,b,f);d=b.stateNode;Uh.current=b;if(g&&"function"!==typeof c.getDerivedStateFromError){var h=null;ph=-1}else kb(b),h=d.render(),lb();b.flags|=1;null!==a&&g?(g=h,b.child=Pe(b,a.child,null,f),b.child=Pe(b,null,g,f)):Wh(a,b,h,f);b.memoizedState=d.state;e&&nd(b,c,!0);return b.child} -function ni(a){var b=a.stateNode;b.pendingContext?kd(a,b.pendingContext,b.pendingContext!==b.context):b.context&&kd(a,b.context,!1);Ma(a,b.containerInfo)}function oi(a,b,c,d,e){Wd();Xd(e);b.flags|=256;Wh(a,b,c,d);return b.child}var pi={dehydrated:null,treeContext:null,retryLane:0};function qi(a){return{baseLanes:a,cachePool:ri()}} -function si(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==($e.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?Ze(b):bf(b);K&&((f=a=I,f)?Nd(b,f)||(Pd(b)&&Qd(),I=Od(f),g=H,I&&Nd(b,I)?Fd(g,f):(Hd(H,b),K=!1,H=b,I=a)):(Pd(b)&&Qd(),Hd(H,b),K=!1,H=b,I=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=1073741824,null;cf(b)}a=d.children;f=d.fallback;if(e)return bf(b), -a=ti(b,a,f,c),b.child.memoizedState=qi(c),b.memoizedState=pi,a;if("number"===typeof d.unstable_expectedLoadTime)return bf(b),a=ti(b,a,f,c),b.child.memoizedState=qi(c),b.memoizedState=pi,b.lanes=8388608,a;Ze(b);return ui(b,a)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return vi(a,b,f,d,h,g,c)}if(e){bf(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var l={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=l,b.mode&2&&(d.actualDuration= -0,d.actualStartTime=-1,d.selfBaseDuration=g.selfBaseDuration,d.treeBaseDuration=g.treeBaseDuration),b.deletions=null):(d=Je(g,l),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=Je(h,e):(e=Ne(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=qi(c):(g=f.cachePool,null!==g?(h=ii._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=ri(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState= -pi;return d}Ze(b);e=a.child;a=e.sibling;d=Je(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function ui(a,b){b=wi({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b} -function ti(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&1)&&null!==f?(f.childLanes=0,f.pendingProps=b,a.mode&2&&(f.actualDuration=0,f.actualStartTime=-1,f.selfBaseDuration=0,f.treeBaseDuration=0)):f=wi(b,e,0,null);c=Ne(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c}function xi(a,b,c,d){null!==d&&Xd(d);Pe(b,a.child,null,c);a=ui(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} -function vi(a,b,c,d,e,f,g){if(c){if(b.flags&256)return Ze(b),b.flags&=-257,e=Fh(Error(t(422))),xi(a,b,g,e);if(null!==b.memoizedState)return bf(b),b.child=a.child,b.flags|=128,null;bf(b);e=d.fallback;f=b.mode;d=wi({mode:"visible",children:d.children},f,0,null);e=Ne(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Pe(b,a.child,null,g);b.child.memoizedState=qi(g);b.memoizedState=pi;return e}Ze(b);if(0===(b.mode&1))return xi(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& -e.nextSibling.dataset;if(e)var h=e.dgst;e=h;f=null;"POSTPONE"!==e&&(f=Error(t(419)),f.digest=e,f=Fh(f,e,void 0));return xi(a,b,g,f)}h=0!==(g&a.childLanes);if(sg||h){d=P;if(null!==d){h=g&-g;if(0!==(h&42))h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h= -64;break;case 536870912:h=268435456;break;default:h=0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,fe(a,h),Cg(d,a,h),Vh;}"$?"!==e.data&&Qh();return xi(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=yi.bind(null,a),e._reactRetry=b,null;a=f.treeContext;I=Kd(e.nextSibling);H=b;K=!0;Dd=null;Ed=!1;null!==a&&(ud[vd++]=xd,ud[vd++]=yd,ud[vd++]=wd,xd=a.id,yd=a.overflow,wd=b);b=ui(b,d.children);b.flags|=4096;return b} -function zi(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);Ai(a.return,b,c)}function Bi(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} -function Ci(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;Wh(a,b,d.children,c);d=$e.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&zi(a,c,b);else if(19===a.tag)zi(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E($e,d);if(0===(b.mode&1))b.memoizedState= -null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===df(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Bi(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===df(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Bi(b,!0,c,null,f);break;case "together":Bi(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} -function li(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function Zh(a,b,c){null!==a&&(b.dependencies=a.dependencies);ph=-1;qe|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=Je(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Je(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} -function Di(a,b,c){switch(b.tag){case 3:ni(b);Ei(b,ii,a.memoizedState.cache);Wd();break;case 27:case 5:Qa(b);break;case 1:id(b.type)&&md(b);break;case 4:Ma(b,b.stateNode.containerInfo);break;case 10:Ei(b,b.type._context,b.memoizedProps.value);break;case 12:0!==(c&b.childLanes)&&(b.flags|=4);var d=b.stateNode;d.effectDuration=0;d.passiveEffectDuration=0;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return Ze(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return si(a,b,c); -Ze(b);a=Zh(a,b,c);return null!==a?a.sibling:null}Ze(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&128)){if(d)return Ci(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E($e,$e.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,di(a,b,c);case 24:Ei(b,ii,a.memoizedState.cache)}return Zh(a,b,c)}var Fi=ka(null),Gi=null,Hi=null,Ii=null;function Ji(){Ii=Hi=Gi=null} -function Ei(a,b,c){E(Fi,b._currentValue);b._currentValue=c}function Ki(a){var b=Fi.current;a._currentValue=b===Ca?a._defaultValue:b;D(Fi)}function Ai(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} -function Li(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=le(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var l=h.pending;null===l?g.next=g:(g.next=l.next,l.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);Ai(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== -f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);Ai(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function Yh(a,b){Gi=a;Ii=Hi=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(sg=!0),a.firstContext=null)}function ng(a){return Mi(Gi,a)}function Oe(a,b,c){null===Gi&&Yh(a,c);return Mi(a,b)} -function Mi(a,b){var c=b._currentValue;if(Ii!==b)if(b={context:b,memoizedValue:c,next:null},null===Hi){if(null===a)throw Error(t(308));Hi=b;a.dependencies={lanes:0,firstContext:b}}else Hi=Hi.next=b;return c} -var Ni="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},Oi=ba.unstable_scheduleCallback,Pi=ba.unstable_NormalPriority,ii={$$typeof:ra,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function ih(){return{controller:new Ni,data:new Map,refCount:0}} -function Qi(a){a.refCount--;0===a.refCount&&Oi(Pi,function(){a.controller.abort()})}var Ri=da.ReactCurrentBatchConfig,Si=ka(null);function hi(){var a=Si.current;return null!==a?a:P.pooledCache}function gi(a,b){null===b?E(Si,Si.current):E(Si,b.pool)}function ri(){var a=hi();return null===a?null:{parent:ii._currentValue,pool:a}}function Ti(a){a.flags|=4}function Ui(a){a.flags|=2097664} -function Vi(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(O&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(Wi())a.flags|=8192;else throw Ae=we,ve;}function Xi(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?Cb():1073741824,a.lanes|=b)} -function Yi(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} +a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return si(a,b,c,d,f,e)} +function si(a,b,c,d,e,f){ki(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&qd(b,c,!1),ei(a,b,f);d=b.stateNode;$h.current=b;if(g&&"function"!==typeof c.getDerivedStateFromError){var h=null;vh=-1}else mb(b),h=d.render(),nb();b.flags|=1;null!==a&&g?(g=h,b.child=Se(b,a.child,null,f),b.child=Se(b,null,g,f)):bi(a,b,h,f);b.memoizedState=d.state;e&&qd(b,c,!0);return b.child} +function ti(a){var b=a.stateNode;b.pendingContext?nd(a,b.pendingContext,b.pendingContext!==b.context):b.context&&nd(a,b.context,!1);Oa(a,b.containerInfo)}function ui(a,b,c,d,e){Zd();$d(e);b.flags|=256;bi(a,b,c,d);return b.child}var vi={dehydrated:null,treeContext:null,retryLane:0};function wi(a){return{baseLanes:a,cachePool:xi()}} +function yi(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(cf.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?bf(b):ef(b);K&&((f=a=I,f)?Qd(b,f)||(Sd(b)&&Td(),I=Rd(f),g=H,I&&Qd(b,I)?Id(g,f):(Kd(H,b),K=!1,H=b,I=a)):(Sd(b)&&Td(),Kd(H,b),K=!1,H=b,I=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=536870912,null;ff(b)}a=d.children;f=d.fallback;if(e)return ef(b), +a=zi(b,a,f,c),b.child.memoizedState=wi(c),b.memoizedState=vi,a;if("number"===typeof d.unstable_expectedLoadTime)return ef(b),a=zi(b,a,f,c),b.child.memoizedState=wi(c),b.memoizedState=vi,b.lanes=4194304,a;bf(b);return Ai(b,a)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return Bi(a,b,f,d,h,g,c)}if(e){ef(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var l={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=l,b.mode&2&&(d.actualDuration= +0,d.actualStartTime=-1,d.selfBaseDuration=g.selfBaseDuration,d.treeBaseDuration=g.treeBaseDuration),b.deletions=null):(d=Me(g,l),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=Me(h,e):(e=Qe(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=wi(c):(g=f.cachePool,null!==g?(h=oi._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=xi(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState= +vi;return d}bf(b);e=a.child;a=e.sibling;d=Me(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function Ai(a,b){b=Ci({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b} +function zi(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&1)&&null!==f?(f.childLanes=0,f.pendingProps=b,a.mode&2&&(f.actualDuration=0,f.actualStartTime=-1,f.selfBaseDuration=0,f.treeBaseDuration=0)):f=Ci(b,e,0,null);c=Qe(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c}function Di(a,b,c,d){null!==d&&$d(d);Se(b,a.child,null,c);a=Ai(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} +function Bi(a,b,c,d,e,f,g){if(c){if(b.flags&256)return bf(b),b.flags&=-257,e=Lh(Error(t(422))),Di(a,b,g,e);if(null!==b.memoizedState)return ef(b),b.child=a.child,b.flags|=128,null;ef(b);e=d.fallback;f=b.mode;d=Ci({mode:"visible",children:d.children},f,0,null);e=Qe(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Se(b,a.child,null,g);b.child.memoizedState=wi(g);b.memoizedState=vi;return e}bf(b);if(0===(b.mode&1))return Di(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& +e.nextSibling.dataset;if(e)var h=e.dgst;e=h;f=null;"POSTPONE"!==e&&(f=Error(t(419)),f.digest=e,f=Lh(f,e,void 0));return Di(a,b,g,f)}h=0!==(g&a.childLanes);if(wg||h){d=P;if(null!==d){h=g&-g;if(0!==(h&42))h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:h=64;break; +case 268435456:h=134217728;break;default:h=0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,ie(a,h),Gg(d,a,h),ai;}"$?"!==e.data&&Wh();return Di(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=Ei.bind(null,a),e._reactRetry=b,null;a=f.treeContext;I=Nd(e.nextSibling);H=b;K=!0;Gd=null;Hd=!1;null!==a&&(xd[yd++]=Ad,xd[yd++]=Bd,xd[yd++]=zd,Ad=a.id,Bd=a.overflow,zd=b);b=Ai(b,d.children);b.flags|=4096;return b} +function Fi(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);Gi(a.return,b,c)}function Hi(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} +function Ii(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;bi(a,b,d.children,c);d=cf.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&Fi(a,c,b);else if(19===a.tag)Fi(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(cf,d);if(0===(b.mode&1))b.memoizedState= +null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===gf(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Hi(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===gf(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Hi(b,!0,c,null,f);break;case "together":Hi(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} +function ri(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function ei(a,b,c){null!==a&&(b.dependencies=a.dependencies);vh=-1;te|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=Me(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Me(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} +function Ji(a,b,c){switch(b.tag){case 3:ti(b);Ki(b,oi,a.memoizedState.cache);Zd();break;case 27:case 5:Sa(b);break;case 1:ld(b.type)&&pd(b);break;case 4:Oa(b,b.stateNode.containerInfo);break;case 10:Ki(b,b.type._context,b.memoizedProps.value);break;case 12:0!==(c&b.childLanes)&&(b.flags|=4);var d=b.stateNode;d.effectDuration=0;d.passiveEffectDuration=0;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return bf(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return yi(a,b,c); +bf(b);a=ei(a,b,c);return null!==a?a.sibling:null}bf(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&128)){if(d)return Ii(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(cf,cf.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,ji(a,b,c);case 24:Ki(b,oi,a.memoizedState.cache)}return ei(a,b,c)}var Li=ma(null),Mi=null,Ni=null,Oi=null;function Pi(){Oi=Ni=Mi=null} +function Ki(a,b,c){E(Li,b._currentValue);b._currentValue=c}function Qi(a){var b=Li.current;a._currentValue=b===Ea?a._defaultValue:b;D(Li)}function Gi(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} +function Ri(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=oe(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var l=h.pending;null===l?g.next=g:(g.next=l.next,l.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);Gi(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== +f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);Gi(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function di(a,b){Mi=a;Oi=Ni=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(wg=!0),a.firstContext=null)}function rg(a){return Si(Mi,a)}function Re(a,b,c){null===Mi&&di(a,c);return Si(a,b)} +function Si(a,b){var c=b._currentValue;if(Oi!==b)if(b={context:b,memoizedValue:c,next:null},null===Ni){if(null===a)throw Error(t(308));Ni=b;a.dependencies={lanes:0,firstContext:b}}else Ni=Ni.next=b;return c} +var Ti="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},Ui=ba.unstable_scheduleCallback,Vi=ba.unstable_NormalPriority,oi={$$typeof:ta,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function oh(){return{controller:new Ti,data:new Map,refCount:0}} +function Wi(a){a.refCount--;0===a.refCount&&Ui(Vi,function(){a.controller.abort()})}var Xi=da.ReactCurrentBatchConfig,Yi=ma(null);function ni(){var a=Yi.current;return null!==a?a:P.pooledCache}function mi(a,b){null===b?E(Yi,Yi.current):E(Yi,b.pool)}function xi(){var a=ni();return null===a?null:{parent:oi._currentValue,pool:a}}function Zi(a){a.flags|=4}function $i(a){a.flags|=2097664} +function aj(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(O&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(bj())a.flags|=8192;else throw De=ze,ye;}function cj(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?Db():536870912,a.lanes|=b)} +function dj(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} function V(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)if(0!==(a.mode&2)){for(var e=a.selfBaseDuration,f=a.child;null!==f;)c|=f.lanes|f.childLanes,d|=f.subtreeFlags&31457280,d|=f.flags&31457280,e+=f.treeBaseDuration,f=f.sibling;a.treeBaseDuration=e}else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&31457280,d|=e.flags&31457280,e.return=a,e=e.sibling;else if(0!==(a.mode&2)){e=a.actualDuration;f=a.selfBaseDuration;for(var g=a.child;null!==g;)c|=g.lanes| g.childLanes,d|=g.subtreeFlags,d|=g.flags,e+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;a.actualDuration=e;a.treeBaseDuration=f}else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b} -function Zi(a,b,c){var d=b.pendingProps;Cd(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return V(b),null;case 1:return id(b.type)&&jd(),V(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);Ki(ii);Pa();D(fd);D(ed);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Td(b)?Ti(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= -1024,null!==Dd&&($i(Dd),Dd=null));V(b);return null;case 26:c=b.memoizedState;if(null===a)Ti(b),null!==b.ref&&Ui(b),null!==c?(V(b),Vi(b,c)):(V(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&Ti(b);a.ref!==b.ref&&Ui(b);null!==c?(V(b),c===e?b.flags&=-16777217:Vi(b,c)):(a.memoizedProps!==d&&Ti(b),V(b),b.flags&=-16777217)}return null;case 27:Ra(b);c=Ja.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Ti(b),a.ref!==b.ref&&Ui(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); -V(b);return null}a=Ha.current;Td(b)?aj(b.stateNode,b.type,b.memoizedProps,a,b):(a=bj(e,d,c),b.stateNode=a,Ti(b));null!==b.ref&&Ui(b)}V(b);return null;case 5:Ra(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Ti(b),a.ref!==b.ref&&Ui(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));V(b);return null}a=Ha.current;if(Td(b))aj(b.stateNode,b.type,b.memoizedProps,a,b);else{e=cj(Ja.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", +function ej(a,b,c){var d=b.pendingProps;Fd(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return V(b),null;case 1:return ld(b.type)&&md(),V(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);Qi(oi);Ra();D(id);D(hd);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Wd(b)?Zi(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= +1024,null!==Gd&&(fj(Gd),Gd=null));V(b);return null;case 26:c=b.memoizedState;if(null===a)Zi(b),null!==b.ref&&$i(b),null!==c?(V(b),aj(b,c)):(V(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&Zi(b);a.ref!==b.ref&&$i(b);null!==c?(V(b),c===e?b.flags&=-16777217:aj(b,c)):(a.memoizedProps!==d&&Zi(b),V(b),b.flags&=-16777217)}return null;case 27:Ta(b);c=La.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Zi(b),a.ref!==b.ref&&$i(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); +V(b);return null}a=Ja.current;Wd(b)?gj(b.stateNode,b.type,b.memoizedProps,a,b):(a=hj(e,d,c),b.stateNode=a,Zi(b));null!==b.ref&&$i(b)}V(b);return null;case 5:Ta(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Zi(b),a.ref!==b.ref&&$i(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));V(b);return null}a=Ja.current;if(Wd(b))gj(b.stateNode,b.type,b.memoizedProps,a,b);else{e=ij(La.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", c);break;default:switch(c){case "svg":a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case "math":a=e.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case "script":a=e.createElement("div");a.innerHTML="<script>\x3c/script>";a=a.removeChild(a.firstChild);break;case "select":a="string"===typeof d.is?e.createElement("select",{is:d.is}):e.createElement("select");d.multiple?a.multiple=!0:d.size&&(a.size=d.size);break;default:a="string"===typeof d.is?e.createElement(c,{is:d.is}): -e.createElement(c)}}a[Ob]=b;a[Pb]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(dj(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&Ti(b)}null!==b.ref&& -Ui(b)}V(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&Ti(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=Ja.current;if(Td(b)){a:{a=b.stateNode;c=b.memoizedProps;a[Ob]=b;if(d=a.nodeValue!==c)if(e=H,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);ej(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&ej(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&Ti(b)}else a=cj(a).createTextNode(d), -a[Ob]=b,b.stateNode=a}V(b);return null;case 13:cf(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==I&&0!==(b.mode&1)&&0===(b.flags&128))Vd(),Wd(),b.flags|=384,e=!1;else if(e=Td(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[Ob]=b;V(b);0!==(b.mode&2)&&null!==d&&(e=b.child,null!==e&&(b.treeBaseDuration-=e.treeBaseDuration))}else Wd(),0===(b.flags& -128)&&(b.memoizedState=null),b.flags|=4,V(b),0!==(b.mode&2)&&null!==d&&(e=b.child,null!==e&&(b.treeBaseDuration-=e.treeBaseDuration));e=!1}else null!==Dd&&($i(Dd),Dd=null),e=!0;if(!e)return b.flags&256?b:null}if(0!==(b.flags&128))return b.lanes=c,0!==(b.mode&2)&&wh(b),b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&& -null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);Xi(b,b.updateQueue);V(b);0!==(b.mode&2)&&c&&(a=b.child,null!==a&&(b.treeBaseDuration-=a.treeBaseDuration));return null;case 4:return Pa(),null===a&&fj(b.stateNode.containerInfo),V(b),null;case 10:return Ki(b.type._context),V(b),null;case 17:return id(b.type)&&jd(),V(b),null;case 19:D($e);e=b.memoizedState;if(null===e)return V(b),null;d=0!==(b.flags&128);f=e.rendering;if(null=== -f)if(d)Yi(e,!1);else{if(0!==Rh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=df(a);if(null!==f){b.flags|=128;Yi(e,!1);a=f.updateQueue;b.updateQueue=a;Xi(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)gj(c,a),c=c.sibling;E($e,$e.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Wa()>hj&&(b.flags|=128,d=!0,Yi(e,!1),b.lanes=8388608)}else{if(!d)if(a=df(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,Xi(b,a),Yi(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&& -!K)return V(b),null}else 2*Wa()-e.renderingStartTime>hj&&1073741824!==c&&(b.flags|=128,d=!0,Yi(e,!1),b.lanes=8388608);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Wa(),b.sibling=null,a=$e.current,E($e,d?a&1|2:a&1),b;V(b);return null;case 22:case 23:return cf(b),We(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&& -0!==(b.mode&1)?0!==(c&1073741824)&&0===(b.flags&128)&&(V(b),b.subtreeFlags&6&&(b.flags|=8192)):V(b),c=b.updateQueue,null!==c&&Xi(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(Si),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),Ki(ii), +e.createElement(c)}}a[Rb]=b;a[Sb]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(jj(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&Zi(b)}null!==b.ref&& +$i(b)}V(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&Zi(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=La.current;if(Wd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[Rb]=b;if(d=a.nodeValue!==c)if(e=H,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);kj(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&kj(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&Zi(b)}else a=ij(a).createTextNode(d), +a[Rb]=b,b.stateNode=a}V(b);return null;case 13:ff(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==I&&0!==(b.mode&1)&&0===(b.flags&128))Yd(),Zd(),b.flags|=384,e=!1;else if(e=Wd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[Rb]=b;V(b);0!==(b.mode&2)&&null!==d&&(e=b.child,null!==e&&(b.treeBaseDuration-=e.treeBaseDuration))}else Zd(),0===(b.flags& +128)&&(b.memoizedState=null),b.flags|=4,V(b),0!==(b.mode&2)&&null!==d&&(e=b.child,null!==e&&(b.treeBaseDuration-=e.treeBaseDuration));e=!1}else null!==Gd&&(fj(Gd),Gd=null),e=!0;if(!e)return b.flags&256?b:null}if(0!==(b.flags&128))return b.lanes=c,0!==(b.mode&2)&&Ch(b),b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&& +null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);cj(b,b.updateQueue);V(b);0!==(b.mode&2)&&c&&(a=b.child,null!==a&&(b.treeBaseDuration-=a.treeBaseDuration));return null;case 4:return Ra(),null===a&&lj(b.stateNode.containerInfo),V(b),null;case 10:return Qi(b.type._context),V(b),null;case 17:return ld(b.type)&&md(),V(b),null;case 19:D(cf);e=b.memoizedState;if(null===e)return V(b),null;d=0!==(b.flags&128);f=e.rendering;if(null=== +f)if(d)dj(e,!1);else{if(0!==Xh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=gf(a);if(null!==f){b.flags|=128;dj(e,!1);a=f.updateQueue;b.updateQueue=a;cj(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)mj(c,a),c=c.sibling;E(cf,cf.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Ya()>nj&&(b.flags|=128,d=!0,dj(e,!1),b.lanes=4194304)}else{if(!d)if(a=gf(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,cj(b,a),dj(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&& +!K)return V(b),null}else 2*Ya()-e.renderingStartTime>nj&&536870912!==c&&(b.flags|=128,d=!0,dj(e,!1),b.lanes=4194304);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Ya(),b.sibling=null,a=cf.current,E(cf,d?a&1|2:a&1),b;V(b);return null;case 22:case 23:return ff(b),Ze(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&& +0!==(b.mode&1)?0!==(c&536870912)&&0===(b.flags&128)&&(V(b),b.subtreeFlags&6&&(b.flags|=8192)):V(b),c=b.updateQueue,null!==c&&cj(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(Yi),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),Qi(oi), V(b),null;case 25:return null}throw Error(t(156,b.tag));} -function ij(a,b){Cd(b);switch(b.tag){case 1:return id(b.type)&&jd(),a=b.flags,a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&wh(b),b):null;case 3:return Ki(ii),Pa(),D(fd),D(ed),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ra(b),null;case 13:cf(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Wd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&wh(b),b):null;case 19:return D($e),null;case 4:return Pa(), -null;case 10:return Ki(b.type._context),null;case 22:case 23:return cf(b),We(),null!==a&&D(Si),a=b.flags,a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&wh(b),b):null;case 24:return Ki(ii),null;case 25:return null;default:return null}} -function jj(a,b){Cd(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&jd();break;case 3:Ki(ii);Pa();D(fd);D(ed);break;case 26:case 27:case 5:Ra(b);break;case 4:Pa();break;case 13:cf(b);break;case 19:D($e);break;case 10:Ki(b.type._context);break;case 22:case 23:cf(b);We();null!==a&&D(Si);break;case 24:Ki(ii)}}function kj(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} -var lj=!1,mj=null,nj=!1,oj=null,pj={onError:function(a){lj=!0;mj=a}};function qj(a,b,c,d,e,f,g,h,l){lj=!1;mj=null;kj.apply(pj,arguments)}function rj(a,b,c,d,e,f,g,h,l){qj.apply(this,arguments);if(lj){if(lj){var p=mj;lj=!1;mj=null}else throw Error(t(198));nj||(nj=!0,oj=p)}}var sj=!1,tj=!1,uj="function"===typeof WeakSet?WeakSet:Set,vj=null,wj=null,xj=null;function yj(a){return 0!==(a.mode&2)&&0!==(N&4)} -function zj(a,b){b.props=a.memoizedProps;b.state=a.memoizedState;if(yj(a))try{vh(),b.componentWillUnmount()}finally{th(a)}else b.componentWillUnmount()}function Aj(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}if("function"===typeof c)if(yj(a))try{vh(),a.refCleanup=c(e)}finally{th(a)}else a.refCleanup=c(e);else c.current=e}}catch(f){W(a,b,f)}} -function Bj(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{if(yj(a))try{vh(),d()}finally{th(a)}else d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{if(yj(a))try{vh(),c(null)}finally{th(a)}else c(null)}catch(e){W(a,b,e)}else c.current=null}function Cj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Dj=!1; -function Ej(a,b){Fj=Gj;a=Hj();if(Ij(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(B){c=null;break a}var g=0,h=-1,l=-1,p=0,q=0,x=a,r=null;b:for(;;){for(var u;;){x!==c||0!==e&&3!==x.nodeType||(h=g+e);x!==f||0!==d&&3!==x.nodeType||(l=g+d);3===x.nodeType&&(g+= -x.nodeValue.length);if(null===(u=x.firstChild))break;r=x;x=u}for(;;){if(x===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(l=g);if(null!==(u=x.nextSibling))break;x=r;r=x.parentNode}x=u}c=-1===h||-1===l?null:{start:h,end:l}}else c=null}c=c||{start:0,end:0}}else c=null;Jj={focusedElem:a,selectionRange:c};Gj=!1;for(vj=b;null!==vj;)if(b=vj,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,vj=a;else for(;null!==vj;){b=vj;try{var A=b.alternate,C=b.flags;switch(b.tag){case 0:if(0!==(C&4)){var J= -b.updateQueue,Q=null!==J?J.events:null;if(null!==Q)for(a=0;a<Q.length;a++){var m=Q[a];m.ref.impl=m.nextImpl}}break;case 11:case 15:break;case 1:if(0!==(C&1024)&&null!==A){var k=A.memoizedProps,n=A.memoizedState,v=b.stateNode,y=v.getSnapshotBeforeUpdate(b.elementType===b.type?k:xh(b.type,k),n);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:0!==(C&1024)&&Kj(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(C&1024))throw Error(t(163));}}catch(B){W(b, -b.return,B)}a=b.sibling;if(null!==a){a.return=b.return;vj=a;break}vj=b.return}A=Dj;Dj=!1;return A} -function Lj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectUnmountStarted&&F.markComponentPassiveEffectUnmountStarted(b):0!==(a&4)&&mb(b),Cj(b,c,g),0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectUnmountStopped&&F.markComponentPassiveEffectUnmountStopped():0!==(a&4)&&nb())}e=e.next}while(e!==d)}} -function Mj(a,b){var c=b.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do{if((d.tag&a)===a){0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectMountStarted&&F.markComponentPassiveEffectMountStarted(b):0!==(a&4)&&null!==F&&"function"===typeof F.markComponentLayoutEffectMountStarted&&F.markComponentLayoutEffectMountStarted(b);var e=d.create,f=d.inst;e=e();f.destroy=e;0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectMountStopped&&F.markComponentPassiveEffectMountStopped(): -0!==(a&4)&&null!==F&&"function"===typeof F.markComponentLayoutEffectMountStopped&&F.markComponentLayoutEffectMountStopped()}d=d.next}while(d!==c)}}function Nj(a,b){if(yj(a)){try{vh(),Mj(b,a)}catch(c){W(a,a.return,c)}th(a)}else try{Mj(b,a)}catch(c){W(a,a.return,c)}}function Oj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{se(b,c)}catch(d){W(a,a.return,d)}}} -function Pj(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} -function Qj(a,b){if(N&4)try{var c=a.memoizedProps,d=c.onCommit,e=c.onRender,f=a.stateNode.effectDuration;c=nh;b=null===b?"mount":"update";qf&&(b="nested-update");"function"===typeof e&&e(a.memoizedProps.id,b,a.actualDuration,a.treeBaseDuration,a.actualStartTime,c);"function"===typeof d&&d(a.memoizedProps.id,b,f,c);Rj(a);var g=a.return;a:for(;null!==g;){switch(g.tag){case 3:g.stateNode.effectDuration+=f;break a;case 12:g.stateNode.effectDuration+=f;break a}g=g.return}}catch(h){W(a,a.return,h)}} -function Sj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:Tj(a,c);d&4&&Nj(c,5);break;case 1:Tj(a,c);if(d&4)if(a=c.stateNode,null===b)if(yj(c)){try{vh(),a.componentDidMount()}catch(h){W(c,c.return,h)}th(c)}else try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:xh(c.type,b.memoizedProps);b=b.memoizedState;if(yj(c)){try{vh(),a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}th(c)}else try{a.componentDidUpdate(e, -b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&Oj(c);d&512&&Aj(c,c.return);break;case 3:Tj(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}try{se(d,a)}catch(h){W(c,c.return,h)}}break;case 26:Tj(a,c);d&512&&Aj(c,c.return);break;case 27:case 5:Tj(a,c);null===b&&d&4&&Pj(c);d&512&&Aj(c,c.return);break;case 12:Tj(a,c);d&4&&Qj(c,b);break;case 13:Tj(a,c);d&4&&Uj(a,c);break; -case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||sj,!e){b=null!==b&&null!==b.memoizedState||tj;var f=sj,g=tj;sj=e;(tj=b)&&!g?Vj(a,c,0!==(c.subtreeFlags&8772)):Tj(a,c);sj=f;tj=g}}else Tj(a,c);d&512&&("manual"===c.memoizedProps.mode?Aj(c,c.return):Bj(c,c.return));break;default:Tj(a,c)}} -function Wj(a){var b=a.alternate;null!==b&&(a.alternate=null,Wj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Wb(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Xj(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} -function Yj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Xj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} -function Zj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=ak));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(Zj(a,b,c),a=a.sibling;null!==a;)Zj(a,b,c),a=a.sibling} -function bk(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(bk(a,b,c),a=a.sibling;null!==a;)bk(a,b,c),a=a.sibling}var ck=null,dk=!1;function ek(a,b,c){for(c=c.child;null!==c;)fk(a,b,c),c=c.sibling} -function fk(a,b,c){if(db&&"function"===typeof db.onCommitFiberUnmount)try{db.onCommitFiberUnmount(cb,c)}catch(l){}switch(c.tag){case 26:tj||Bj(c,b);ek(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:tj||Bj(c,b);var d=ck,e=dk;ck=c.stateNode;ek(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Wb(c);ck=d;dk=e;break;case 5:tj||Bj(c,b);case 6:d=ck;e=dk;ck=null;ek(a,b,c);ck=d;dk=e;null!==ck&&(dk?(a=ck,c=c.stateNode, -8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):ck.removeChild(c.stateNode));break;case 18:null!==ck&&(dk?(a=ck,c=c.stateNode,8===a.nodeType?gk(a.parentNode,c):1===a.nodeType&&gk(a,c),hk(a)):gk(ck,c.stateNode));break;case 4:d=ck;e=dk;ck=c.stateNode.containerInfo;dk=!0;ek(a,b,c);ck=d;dk=e;break;case 0:case 11:case 14:case 15:if(!tj&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,Cj(c,b,h)): -0!==(f&4)&&(mb(c),yj(c)?(vh(),g.destroy=void 0,Cj(c,b,h),th(c)):(g.destroy=void 0,Cj(c,b,h)),nb()));e=e.next}while(e!==d)}ek(a,b,c);break;case 1:if(!tj&&(Bj(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{zj(c,d)}catch(l){W(c,b,l)}ek(a,b,c);break;case 21:ek(a,b,c);break;case 22:Bj(c,b);c.mode&1?(tj=(d=tj)||null!==c.memoizedState,ek(a,b,c),tj=d):ek(a,b,c);break;default:ek(a,b,c)}} -function Uj(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{hk(a)}catch(c){W(b,b.return,c)}}function ik(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new uj);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new uj),b;default:throw Error(t(435,a.tag));}} -function jk(a,b){var c=ik(a);b.forEach(function(d){var e=kk.bind(null,a,d);if(!c.has(d)){c.add(d);if(eb)if(null!==wj&&null!==xj)Ph(xj,wj);else throw Error(t(413));d.then(e,e)}})}function lk(a,b,c){wj=c;xj=a;mk(b,a);xj=wj=null} -function nk(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:ck=h.stateNode;dk=!1;break a;case 3:ck=h.stateNode.containerInfo;dk=!0;break a;case 4:ck=h.stateNode.containerInfo;dk=!0;break a}h=h.return}if(null===ck)throw Error(t(160));fk(f,g,e);ck=null;dk=!1;var l=e.alternate;null!==l&&(l.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)mk(b,a),b=b.sibling} -var ok=null; -function mk(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:nk(b,a);pk(a);if(d&4){try{Lj(3,a,a.return),Mj(3,a)}catch(u){W(a,a.return,u)}if(yj(a)){try{vh(),Lj(5,a,a.return)}catch(u){W(a,a.return,u)}th(a)}else try{Lj(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:nk(b,a);pk(a);d&512&&null!==c&&Bj(c,c.return);d&64&&sj&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e= -ok;nk(b,a);pk(a);d&512&&null!==c&&Bj(c,c.return);if(d&4)if(b=null!==c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Vb]||e[Ob]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));dj(e,c,d);e[Ob]=a;cc(e);c=e;break a;case "link":var f=qk("link", -"href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g],e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);dj(e,c,d);b.head.appendChild(e);break;case "meta":if(f=qk("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")=== -(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null==d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);dj(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[Ob]=a;cc(e);c=e}a.stateNode=c}else rk(e,a.type,a.stateNode);else a.stateNode=sk(e,d,a.memoizedProps); -else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)):b.count--,null===d?rk(e,a.type,a.stateNode):sk(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,l=a.memoizedProps;tk(h,a.type,c.memoizedProps,l);h[Pb]=l}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Vb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"=== -q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p=e.attributes;p.length;)e.removeAttributeNode(p[0]);dj(e,g,f);e[Ob]=a;e[Pb]=f}case 5:nk(b,a);pk(a);d&512&&null!==c&&Bj(c,c.return);if(a.flags&32){b=a.stateNode;try{Lc(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{tk(d,e,c,b),d[Pb]=b}catch(u){W(a,a.return,u)}}break;case 6:nk(b,a);pk(a);if(d&4){if(null===a.stateNode)throw Error(t(162)); -c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return,u)}}break;case 3:uk=null;e=ok;ok=vk(b.containerInfo);nk(b,a);ok=e;pk(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{hk(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=ok;ok=vk(a.stateNode.containerInfo);nk(b,a);pk(a);ok=c;break;case 13:nk(b,a);pk(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(wk=Wa());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,jk(a,c)));break;case 22:d& -512&&null!==c&&Bj(c,c.return);h=null!==a.memoizedState;l=null!==c&&null!==c.memoizedState;if(a.mode&1){var x=sj,r=tj;sj=x||h;tj=r||l;nk(b,a);tj=r;sj=x}else nk(b,a);pk(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=sj||tj,null===c||l||b||0!==(a.mode&1)&&xk(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e= +function oj(a,b){Fd(b);switch(b.tag){case 1:return ld(b.type)&&md(),a=b.flags,a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&Ch(b),b):null;case 3:return Qi(oi),Ra(),D(id),D(hd),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Ta(b),null;case 13:ff(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Zd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&Ch(b),b):null;case 19:return D(cf),null;case 4:return Ra(), +null;case 10:return Qi(b.type._context),null;case 22:case 23:return ff(b),Ze(),null!==a&&D(Yi),a=b.flags,a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&Ch(b),b):null;case 24:return Qi(oi),null;case 25:return null;default:return null}} +function pj(a,b){Fd(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&md();break;case 3:Qi(oi);Ra();D(id);D(hd);break;case 26:case 27:case 5:Ta(b);break;case 4:Ra();break;case 13:ff(b);break;case 19:D(cf);break;case 10:Qi(b.type._context);break;case 22:case 23:ff(b);Ze();null!==a&&D(Yi);break;case 24:Qi(oi)}}function qj(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} +var rj=!1,sj=null,tj=!1,uj=null,vj={onError:function(a){rj=!0;sj=a}};function wj(a,b,c,d,e,f,g,h,l){rj=!1;sj=null;qj.apply(vj,arguments)}function xj(a,b,c,d,e,f,g,h,l){wj.apply(this,arguments);if(rj){if(rj){var p=sj;rj=!1;sj=null}else throw Error(t(198));tj||(tj=!0,uj=p)}}var yj=!1,zj=!1,Aj="function"===typeof WeakSet?WeakSet:Set,Bj=null,Cj=null,Dj=null;function Ej(a){return 0!==(a.mode&2)&&0!==(N&4)} +function Fj(a,b){b.props=a.memoizedProps;b.state=a.memoizedState;if(Ej(a))try{Bh(),b.componentWillUnmount()}finally{zh(a)}else b.componentWillUnmount()}function Gj(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}if("function"===typeof c)if(Ej(a))try{Bh(),a.refCleanup=c(e)}finally{zh(a)}else a.refCleanup=c(e);else c.current=e}}catch(f){W(a,b,f)}} +function Hj(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{if(Ej(a))try{Bh(),d()}finally{zh(a)}else d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{if(Ej(a))try{Bh(),c(null)}finally{zh(a)}else c(null)}catch(e){W(a,b,e)}else c.current=null}function Ij(a,b,c){try{c()}catch(d){W(a,b,d)}}var Jj=!1; +function Kj(a,b){Lj=Mj;a=Nj();if(Oj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(B){c=null;break a}var g=0,h=-1,l=-1,p=0,q=0,x=a,r=null;b:for(;;){for(var u;;){x!==c||0!==e&&3!==x.nodeType||(h=g+e);x!==f||0!==d&&3!==x.nodeType||(l=g+d);3===x.nodeType&&(g+= +x.nodeValue.length);if(null===(u=x.firstChild))break;r=x;x=u}for(;;){if(x===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(l=g);if(null!==(u=x.nextSibling))break;x=r;r=x.parentNode}x=u}c=-1===h||-1===l?null:{start:h,end:l}}else c=null}c=c||{start:0,end:0}}else c=null;Pj={focusedElem:a,selectionRange:c};Mj=!1;for(Bj=b;null!==Bj;)if(b=Bj,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Bj=a;else for(;null!==Bj;){b=Bj;try{var A=b.alternate,C=b.flags;switch(b.tag){case 0:if(0!==(C&4)){var J= +b.updateQueue,Q=null!==J?J.events:null;if(null!==Q)for(a=0;a<Q.length;a++){var m=Q[a];m.ref.impl=m.nextImpl}}break;case 11:case 15:break;case 1:if(0!==(C&1024)&&null!==A){var k=A.memoizedProps,n=A.memoizedState,v=b.stateNode,y=v.getSnapshotBeforeUpdate(b.elementType===b.type?k:Dh(b.type,k),n);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:0!==(C&1024)&&Qj(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(C&1024))throw Error(t(163));}}catch(B){W(b, +b.return,B)}a=b.sibling;if(null!==a){a.return=b.return;Bj=a;break}Bj=b.return}A=Jj;Jj=!1;return A} +function Rj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectUnmountStarted&&F.markComponentPassiveEffectUnmountStarted(b):0!==(a&4)&&ob(b),Ij(b,c,g),0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectUnmountStopped&&F.markComponentPassiveEffectUnmountStopped():0!==(a&4)&&pb())}e=e.next}while(e!==d)}} +function Sj(a,b){var c=b.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do{if((d.tag&a)===a){0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectMountStarted&&F.markComponentPassiveEffectMountStarted(b):0!==(a&4)&&null!==F&&"function"===typeof F.markComponentLayoutEffectMountStarted&&F.markComponentLayoutEffectMountStarted(b);var e=d.create,f=d.inst;e=e();f.destroy=e;0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectMountStopped&&F.markComponentPassiveEffectMountStopped(): +0!==(a&4)&&null!==F&&"function"===typeof F.markComponentLayoutEffectMountStopped&&F.markComponentLayoutEffectMountStopped()}d=d.next}while(d!==c)}}function Tj(a,b){if(Ej(a)){try{Bh(),Sj(b,a)}catch(c){W(a,a.return,c)}zh(a)}else try{Sj(b,a)}catch(c){W(a,a.return,c)}}function Uj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{ve(b,c)}catch(d){W(a,a.return,d)}}} +function Vj(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} +function Wj(a,b){if(N&4)try{var c=a.memoizedProps,d=c.onCommit,e=c.onRender,f=a.stateNode.effectDuration;c=th;b=null===b?"mount":"update";tf&&(b="nested-update");"function"===typeof e&&e(a.memoizedProps.id,b,a.actualDuration,a.treeBaseDuration,a.actualStartTime,c);"function"===typeof d&&d(a.memoizedProps.id,b,f,c);Xj(a);var g=a.return;a:for(;null!==g;){switch(g.tag){case 3:g.stateNode.effectDuration+=f;break a;case 12:g.stateNode.effectDuration+=f;break a}g=g.return}}catch(h){W(a,a.return,h)}} +function Yj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:Zj(a,c);d&4&&Tj(c,5);break;case 1:Zj(a,c);if(d&4)if(a=c.stateNode,null===b)if(Ej(c)){try{Bh(),a.componentDidMount()}catch(h){W(c,c.return,h)}zh(c)}else try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:Dh(c.type,b.memoizedProps);b=b.memoizedState;if(Ej(c)){try{Bh(),a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}zh(c)}else try{a.componentDidUpdate(e, +b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&Uj(c);d&512&&Gj(c,c.return);break;case 3:Zj(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}try{ve(d,a)}catch(h){W(c,c.return,h)}}break;case 26:Zj(a,c);d&512&&Gj(c,c.return);break;case 27:case 5:Zj(a,c);null===b&&d&4&&Vj(c);d&512&&Gj(c,c.return);break;case 12:Zj(a,c);d&4&&Wj(c,b);break;case 13:Zj(a,c);d&4&&ak(a,c);break; +case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||yj,!e){b=null!==b&&null!==b.memoizedState||zj;var f=yj,g=zj;yj=e;(zj=b)&&!g?bk(a,c,0!==(c.subtreeFlags&8772)):Zj(a,c);yj=f;zj=g}}else Zj(a,c);d&512&&("manual"===c.memoizedProps.mode?Gj(c,c.return):Hj(c,c.return));break;default:Zj(a,c)}} +function ck(a){var b=a.alternate;null!==b&&(a.alternate=null,ck(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Zb(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function dk(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} +function ek(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||dk(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} +function fk(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=gk));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(fk(a,b,c),a=a.sibling;null!==a;)fk(a,b,c),a=a.sibling} +function hk(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(hk(a,b,c),a=a.sibling;null!==a;)hk(a,b,c),a=a.sibling}var ik=null,jk=!1;function kk(a,b,c){for(c=c.child;null!==c;)lk(a,b,c),c=c.sibling} +function lk(a,b,c){if(fb&&"function"===typeof fb.onCommitFiberUnmount)try{fb.onCommitFiberUnmount(eb,c)}catch(l){}switch(c.tag){case 26:zj||Hj(c,b);kk(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:zj||Hj(c,b);var d=ik,e=jk;ik=c.stateNode;kk(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Zb(c);ik=d;jk=e;break;case 5:zj||Hj(c,b);case 6:d=ik;e=jk;ik=null;kk(a,b,c);ik=d;jk=e;null!==ik&&(jk?(a=ik,c=c.stateNode, +8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):ik.removeChild(c.stateNode));break;case 18:null!==ik&&(jk?(a=ik,c=c.stateNode,8===a.nodeType?mk(a.parentNode,c):1===a.nodeType&&mk(a,c),nk(a)):mk(ik,c.stateNode));break;case 4:d=ik;e=jk;ik=c.stateNode.containerInfo;jk=!0;kk(a,b,c);ik=d;jk=e;break;case 0:case 11:case 14:case 15:if(!zj&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,Ij(c,b,h)): +0!==(f&4)&&(ob(c),Ej(c)?(Bh(),g.destroy=void 0,Ij(c,b,h),zh(c)):(g.destroy=void 0,Ij(c,b,h)),pb()));e=e.next}while(e!==d)}kk(a,b,c);break;case 1:if(!zj&&(Hj(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{Fj(c,d)}catch(l){W(c,b,l)}kk(a,b,c);break;case 21:kk(a,b,c);break;case 22:Hj(c,b);c.mode&1?(zj=(d=zj)||null!==c.memoizedState,kk(a,b,c),zj=d):kk(a,b,c);break;default:kk(a,b,c)}} +function ak(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{nk(a)}catch(c){W(b,b.return,c)}}function ok(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new Aj);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new Aj),b;default:throw Error(t(435,a.tag));}} +function pk(a,b){var c=ok(a);b.forEach(function(d){var e=qk.bind(null,a,d);if(!c.has(d)){c.add(d);if(gb)if(null!==Cj&&null!==Dj)Vh(Dj,Cj);else throw Error(t(413));d.then(e,e)}})}function rk(a,b,c){Cj=c;Dj=a;sk(b,a);Dj=Cj=null} +function tk(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:ik=h.stateNode;jk=!1;break a;case 3:ik=h.stateNode.containerInfo;jk=!0;break a;case 4:ik=h.stateNode.containerInfo;jk=!0;break a}h=h.return}if(null===ik)throw Error(t(160));lk(f,g,e);ik=null;jk=!1;var l=e.alternate;null!==l&&(l.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)sk(b,a),b=b.sibling} +var uk=null; +function sk(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:tk(b,a);vk(a);if(d&4){try{Rj(3,a,a.return),Sj(3,a)}catch(u){W(a,a.return,u)}if(Ej(a)){try{Bh(),Rj(5,a,a.return)}catch(u){W(a,a.return,u)}zh(a)}else try{Rj(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:tk(b,a);vk(a);d&512&&null!==c&&Hj(c,c.return);d&64&&yj&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e= +uk;tk(b,a);vk(a);d&512&&null!==c&&Hj(c,c.return);if(d&4)if(b=null!==c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Yb]||e[Rb]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));jj(e,c,d);e[Rb]=a;fc(e);c=e;break a;case "link":var f=wk("link", +"href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g],e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);jj(e,c,d);b.head.appendChild(e);break;case "meta":if(f=wk("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")=== +(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null==d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);jj(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[Rb]=a;fc(e);c=e}a.stateNode=c}else xk(e,a.type,a.stateNode);else a.stateNode=yk(e,d,a.memoizedProps); +else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)):b.count--,null===d?xk(e,a.type,a.stateNode):yk(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,l=a.memoizedProps;zk(h,a.type,c.memoizedProps,l);h[Sb]=l}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Yb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"=== +q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p=e.attributes;p.length;)e.removeAttributeNode(p[0]);jj(e,g,f);e[Rb]=a;e[Sb]=f}case 5:tk(b,a);vk(a);d&512&&null!==c&&Hj(c,c.return);if(a.flags&32){b=a.stateNode;try{Oc(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{zk(d,e,c,b),d[Sb]=b}catch(u){W(a,a.return,u)}}break;case 6:tk(b,a);vk(a);if(d&4){if(null===a.stateNode)throw Error(t(162)); +c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return,u)}}break;case 3:Ak=null;e=uk;uk=Bk(b.containerInfo);tk(b,a);uk=e;vk(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{nk(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=uk;uk=Bk(a.stateNode.containerInfo);tk(b,a);vk(a);uk=c;break;case 13:tk(b,a);vk(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(Ck=Ya());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,pk(a,c)));break;case 22:d& +512&&null!==c&&Hj(c,c.return);h=null!==a.memoizedState;l=null!==c&&null!==c.memoizedState;if(a.mode&1){var x=yj,r=zj;yj=x||h;zj=r||l;tk(b,a);zj=r;yj=x}else tk(b,a);vk(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=yj||zj,null===c||l||b||0!==(a.mode&1)&&Dk(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e= b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display","none","important"):f.display="none"):(g=b.stateNode,p=b.memoizedProps.style,q=void 0!==p&&null!==p&&p.hasOwnProperty("display")?p.display:null,g.style.display=null==q||"boolean"===typeof q?"":(""+q).trim())}catch(u){W(a,a.return,u)}}}else if(6===b.tag){if(null===c)try{b.stateNode.nodeValue=h?"":b.memoizedProps}catch(u){W(a,a.return,u)}}else if((22!==b.tag&&23!==b.tag||null===b.memoizedState||b===a)&&null!==b.child){b.child.return= -b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null===b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,jk(a,d))));break;case 19:nk(b,a);pk(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,jk(a,c)));break;case 21:break;default:nk(b,a),pk(a)}} -function pk(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(Xj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=Yj(a);bk(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(Lc(g,""),d.flags&=-33);var h=Yj(a);bk(a,h,g);break;case 3:case 4:var l=d.stateNode.containerInfo,p=Yj(a);Zj(a,p,l);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} -function yk(a,b,c){wj=c;xj=b;Sj(b,a.alternate,a);xj=wj=null}function Tj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)Sj(a,b.alternate,b),b=b.sibling} -function xk(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:if(yj(b))try{vh(),Lj(4,b,b.return)}finally{th(b)}else Lj(4,b,b.return);xk(b);break;case 1:Bj(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{zj(d,c)}catch(f){W(d,e,f)}}xk(b);break;case 26:case 27:case 5:Bj(b,b.return);xk(b);break;case 22:Bj(b,b.return);null===b.memoizedState&&xk(b);break;default:xk(b)}a=a.sibling}} -function Vj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:Vj(e,f,c);Nj(f,4);break;case 1:Vj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(l){W(f,f.return,l)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)re(h[d],e)}c&&g&64&&Oj(f);Aj(f,f.return);break;case 26:case 27:case 5:Vj(e,f,c); -c&&null===d&&g&4&&Pj(f);Aj(f,f.return);break;case 12:Vj(e,f,c);c&&g&4&&Qj(f,d);break;case 13:Vj(e,f,c);c&&g&4&&Uj(e,f);break;case 22:null===f.memoizedState&&Vj(e,f,c);Aj(f,f.return);break;default:Vj(e,f,c)}b=b.sibling}}function zk(a,b){if(yj(a)){qh=mh();try{Mj(b,a)}catch(c){W(a,a.return,c)}uh(a)}else try{Mj(b,a)}catch(c){W(a,a.return,c)}} -function Ak(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&Qi(c))}function Bk(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&Qi(a))} -function Ck(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)Dk(a,b,c,d),b=b.sibling} -function Dk(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Ck(a,b,c,d);e&2048&&zk(b,9);break;case 3:Ck(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&Qi(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Ck(a,b,c,d):b.mode&1?Ek(a,b):(f._visibility|=4,Ck(a,b,c,d)):f._visibility&4?Ck(a,b,c,d):(f._visibility|=4,Fk(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&Ak(b.alternate, -b);break;case 24:Ck(a,b,c,d);e&2048&&Bk(b.alternate,b);break;default:Ck(a,b,c,d)}} -function Fk(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,l=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:Fk(f,g,h,l,e);zk(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?Fk(f,g,h,l,e):g.mode&1?Ek(f,g):(q._visibility|=4,Fk(f,g,h,l,e)):(q._visibility|=4,Fk(f,g,h,l,e));e&&p&2048&&Ak(g.alternate,g);break;case 24:Fk(f,g,h,l,e);e&&p&2048&&Bk(g.alternate,g);break;default:Fk(f,g,h,l,e)}b=b.sibling}} -function Ek(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:Ek(c,d);e&2048&&Ak(d.alternate,d);break;case 24:Ek(c,d);e&2048&&Bk(d.alternate,d);break;default:Ek(c,d)}b=b.sibling}}var Gk=8192;function Hk(a){if(a.subtreeFlags&Gk)for(a=a.child;null!==a;)Ik(a),a=a.sibling} -function Ik(a){switch(a.tag){case 26:Hk(a);a.flags&Gk&&null!==a.memoizedState&&Jk(ok,a.memoizedState,a.memoizedProps);break;case 5:Hk(a);break;case 3:case 4:var b=ok;ok=vk(a.stateNode.containerInfo);Hk(a);ok=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=Gk,Gk=16777216,Hk(a),Gk=b):Hk(a));break;default:Hk(a)}}function Kk(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} -function Lk(a,b,c){yj(a)?(qh=mh(),Lj(c,a,b),uh(a)):Lj(c,a,b)}function Mk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];vj=d;Nk(d,a)}Kk(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)Ok(a),a=a.sibling} -function Ok(a){switch(a.tag){case 0:case 11:case 15:Mk(a);a.flags&2048&&Lk(a,a.return,9);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,Pk(a)):Mk(a);break;default:Mk(a)}} -function Pk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];vj=d;Nk(d,a)}Kk(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:Lk(b,b.return,8);Pk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,Pk(b));break;default:Pk(b)}a=a.sibling}} -function Nk(a,b){for(;null!==vj;){var c=vj;switch(c.tag){case 0:case 11:case 15:Lk(c,b,8);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:Qi(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,vj=d;else a:for(c=a;null!==vj;){d=vj;var e=d.sibling,f=d.return;Wj(d);if(d===c){vj=null;break a}if(null!==e){e.return=f;vj=e;break a}vj=f}}} -var Qk={getCacheSignal:function(){return ng(ii).controller.signal},getCacheForType:function(a){var b=ng(ii),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},Rk="function"===typeof WeakMap?WeakMap:Map,Sk=da.ReactCurrentDispatcher,Tk=da.ReactCurrentCache,Uk=da.ReactCurrentOwner,Vk=da.ReactCurrentBatchConfig,N=0,P=null,X=null,O=0,R=0,Wk=null,Xk=!1,Ue=0,Rh=0,uf=null,qe=0,Yk=0,Zk=0,$k=null,yf=null,wk=0,hj=Infinity,zf=null,Ih=!1,Jh=null,Lh=null,al=!1,bl=null,cl=0,dl=[],el=0,fl=null,ge=0,he= -null;function hh(a){if(0===(a.mode&1))return 2;if(0!==(N&2)&&0!==O)return O&-O;if(null!==Ri.transition)return a=Hf,0!==a?a:Ef();a=G;if(0!==a)return a;a=window.event;a=void 0===a?32:gl(a.type);return a}function Cg(a,b,c){if(a===P&&2===R||null!==a.cancelPendingCommit)vf(a,0),wf(a,O);Eb(a,c);if(0===(N&2)||a!==P)eb&&Hb(a,b,c),a===P&&(0===(N&2)&&(Yk|=c),4===Rh&&wf(a,O)),lf(a),2===c&&0===N&&0===(b.mode&1)&&(hj=Wa()+500,of(!0))} -function Cf(a,b){rf=qf=!1;if(0!==(N&6))throw Error(t(327));var c=a.callbackNode;if(pf()&&a.callbackNode!==c)return null;var d=yb(a,a===P?O:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?hl(a,d):sf(a,d);if(0!==b){var f=e;do{if(6===b)wf(a,d);else{e=a.current.alternate;if(f&&!il(e)){b=sf(a,d);f=!1;continue}if(2===b){f=d;var g=Ab(a,f);0!==g&&(d=g,b=tf(a,f,g))}if(1===b)throw c=uf,vf(a,0),wf(a,d),lf(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); -case 4:if((d&8388480)===d){wf(f,d);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&125829120)===d&&(b=wk+300-Wa(),10<b)){wf(f,d);if(0!==yb(f,0))break a;f.timeoutHandle=jl(kl.bind(null,f,e,yf,zf,d),b);break a}kl(f,e,yf,zf,d)}}break}while(1)}lf(a);Bf(a,Wa());a=a.callbackNode===c?Cf.bind(null,a):null;return a} -function tf(a,b,c){var d=$k,e=a.current.memoizedState.isDehydrated;e&&(vf(a,c).flags|=256);c=sf(a,c);if(2!==c){if(Xk&&!e)return a.errorRecoveryDisabledLanes|=b,Yk|=b,4;a=yf;yf=d;null!==a&&$i(a)}return c}function $i(a){null===yf?yf=a:yf.push.apply(yf,a)}function kl(a,b,c,d,e){if(0===(e&42)&&(ll={stylesheets:null,count:0,unsuspend:ml},Ik(b),b=nl(),null!==b)){a.cancelPendingCommit=b(xf.bind(null,a,c,d));wf(a,e);return}xf(a,c,d)} -function il(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!pd(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} -function wf(a,b){b&=~Zk;b&=~Yk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-sb(b),d=1<<c;a[c]=-1;b&=~d}}function ol(a,b){var c=N;N|=1;try{return a(b)}finally{N=c,0===N&&(hj=Wa()+500,of(!0))}}function pl(a){null!==bl&&0===bl.tag&&0===(N&6)&&pf();var b=N;N|=1;var c=Vk.transition,d=G;try{if(Vk.transition=null,G=2,a)return a()}finally{G=d,Vk.transition=c,N=b,0===(N&6)&&of(!1)}} -function ql(){if(null!==X){if(0===R)var a=X.return;else a=X,Ji(),ig(a),Ce=null,De=0,a=X;for(;null!==a;)jj(a.alternate,a),a=a.return;X=null}}function vf(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,rl(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());ql();P=a;X=a=Je(a.current,null);O=Ue=b;R=0;Wk=null;Xk=!1;Rh=0;uf=null;Zk=Yk=qe=0;yf=$k=null;ae();return a} -function sl(a,b){S=null;Mf.current=cg;Uk.current=null;b===ue?(b=Be(),R=Wi()&&0===(qe&268435455)&&0===(Yk&268435455)?2:3):b===ve?(b=Be(),R=4):R=b===Vh?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;Wk=b;a=X;if(null===a)Rh=1,uf=b;else switch(a.mode&2&&sh(a,!0),lb(),R){case 1:null!==F&&"function"===typeof F.markComponentErrored&&F.markComponentErrored(a,b,O);break;case 2:case 3:case 6:case 7:null!==F&&"function"===typeof F.markComponentSuspended&&F.markComponentSuspended(a,b,O)}} -function Wi(){var a=Xe.current;return null===a?!0:(O&8388480)===O?null===Ye?!0:!1:(O&125829120)===O||0!==(O&1073741824)?a===Ye:!1}function tl(){var a=Sk.current;Sk.current=cg;return null===a?cg:a}function ul(){var a=Tk.current;Tk.current=Qk;return a}function Qh(){Rh=4;null===P||0===(qe&268435455)&&0===(Yk&268435455)||wf(P,O)}function Th(a){4!==Rh&&(Rh=2);null===$k?$k=[a]:$k.push(a)} -function sf(a,b){var c=N;N|=2;var d=tl(),e=ul();if(P!==a||O!==b){if(eb){var f=a.memoizedUpdaters;0<f.size&&(Ph(a,O),f.clear());Ib(a,b)}zf=null;vf(a,b)}ob(b);b=!1;a:do try{if(0!==R&&null!==X){f=X;var g=Wk;switch(R){case 8:ql();Rh=6;break a;case 3:case 2:b||null!==Xe.current||(b=!0);default:R=0,Wk=null,vl(f,g)}}wl();break}catch(h){sl(a,h)}while(1);b&&a.shellSuspendCounter++;Ji();N=c;Sk.current=d;Tk.current=e;if(null!==X)throw Error(t(261));pb();P=null;O=0;ae();return Rh} -function wl(){for(;null!==X;)xl(X)} -function hl(a,b){var c=N;N|=2;var d=tl(),e=ul();if(P!==a||O!==b){if(eb){var f=a.memoizedUpdaters;0<f.size&&(Ph(a,O),f.clear());Ib(a,b)}zf=null;hj=Wa()+500;vf(a,b)}ob(b);a:do try{if(0!==R&&null!==X)b:switch(b=X,f=Wk,R){case 1:R=0;Wk=null;vl(b,f);break;case 2:if(xe(f)){R=0;Wk=null;yl(b);break}b=function(){2===R&&P===a&&(R=7);lf(a)};f.then(b,b);break a;case 3:R=7;break a;case 4:R=5;break a;case 7:xe(f)?(R=0,Wk=null,yl(b)):(R=0,Wk=null,vl(b,f));break;case 5:switch(X.tag){case 5:case 26:case 27:b=X;R= -0;Wk=null;var g=b.sibling;if(null!==g)X=g;else{var h=b.return;null!==h?(X=h,zl(h)):X=null}break b}R=0;Wk=null;vl(b,f);break;case 6:R=0;Wk=null;vl(b,f);break;case 8:ql();Rh=6;break a;default:throw Error(t(462));}Al();break}catch(l){sl(a,l)}while(1);Ji();Sk.current=d;Tk.current=e;N=c;if(null!==X)return null!==F&&"function"===typeof F.markRenderYielded&&F.markRenderYielded(),0;pb();P=null;O=0;ae();return Rh}function Al(){for(;null!==X&&!Ua();)xl(X)} -function xl(a){var b=a.alternate;0!==(a.mode&2)?(rh(a),b=Bl(b,a,Ue),sh(a,!0)):b=Bl(b,a,Ue);a.memoizedProps=a.pendingProps;null===b?zl(a):X=b;Uk.current=null} -function yl(a){var b=a.alternate,c=0!==(a.mode&2);c&&rh(a);switch(a.tag){case 2:a.tag=0;case 15:case 0:var d=a.type,e=a.pendingProps;e=a.elementType===d?e:xh(d,e);var f=id(d)?gd:ed.current;f=hd(a,f);b=ji(b,a,e,d,f,O);break;case 11:d=a.type.render;e=a.pendingProps;e=a.elementType===d?e:xh(d,e);b=ji(b,a,e,d,a.ref,O);break;case 5:ig(a);default:jj(b,a),a=X=gj(a,Ue),b=Bl(b,a,Ue)}c&&sh(a,!0);a.memoizedProps=a.pendingProps;null===b?zl(a):X=b;Uk.current=null} -function vl(a,b){Ji();ig(a);Ce=null;De=0;var c=a.return;if(null===c||null===P)Rh=1,uf=b,X=null;else{try{Oh(P,c,a,b,O)}catch(d){throw X=c,d;}if(a.flags&32768)a:{do{b=ij(a.alternate,a);if(null!==b){b.flags&=32767;X=b;break a}if(0!==(a.mode&2)){sh(a,!1);b=a.actualDuration;for(c=a.child;null!==c;)b+=c.actualDuration,c=c.sibling;a.actualDuration=b}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);X=a}while(null!==a);Rh=6;X=null}else zl(a)}} -function zl(a){var b=a;do{var c=b.alternate;a=b.return;0===(b.mode&2)?c=Zi(c,b,Ue):(rh(b),c=Zi(c,b,Ue),sh(b,!1));if(null!==c){X=c;return}b=b.sibling;if(null!==b){X=b;return}X=b=a}while(null!==b);0===Rh&&(Rh=5)}function xf(a,b,c){var d=G,e=Vk.transition;try{Vk.transition=null,G=2,Cl(a,b,c,d)}finally{Vk.transition=e,G=d}return null} -function Cl(a,b,c,d){do pf();while(null!==bl);if(0!==(N&6))throw Error(t(327));var e=a.finishedWork,f=a.finishedLanes;null!==F&&"function"===typeof F.markCommitStarted&&F.markCommitStarted(f);if(null===e)return jb(),null;a.finishedWork=null;a.finishedLanes=0;if(e===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var g=e.lanes|e.childLanes;g|=$d;Fb(a,g);a===P&&(X=P=null,O=0);0===(e.subtreeFlags&10256)&&0===(e.flags&10256)||al||(al=!0,el=g,fl=c,Dl($a, -function(){pf();return null}));c=0!==(e.flags&15990);if(0!==(e.subtreeFlags&15990)||c){c=Vk.transition;Vk.transition=null;var h=G;G=2;var l=N;N|=4;Uk.current=null;Ej(a,e);nh=mh();lk(a,e,f);El(Jj);Gj=!!Fj;Jj=Fj=null;a.current=e;null!==F&&"function"===typeof F.markLayoutEffectsStarted&&F.markLayoutEffectsStarted(f);yk(e,a,f);null!==F&&"function"===typeof F.markLayoutEffectsStopped&&F.markLayoutEffectsStopped();Va();N=l;G=h;Vk.transition=c}else a.current=e,nh=mh();al?(al=!1,bl=a,cl=f):Fl(a,g);g=a.pendingLanes; -0===g&&(Lh=null);fb(e.stateNode,d);eb&&a.memoizedUpdaters.clear();lf(a);if(null!==b)for(d=a.onRecoverableError,e=0;e<b.length;e++)g=b[e],c={digest:g.digest,componentStack:g.stack},d(g.value,c);if(Ih)throw Ih=!1,a=Jh,Jh=null,a;0!==(cl&3)&&0!==a.tag&&pf();g=a.pendingLanes;0!==(f&8388522)&&0!==(g&42)?(rf=!0,a===he?ge++:(ge=0,he=a)):ge=0;of(!1);jb();return null}function Fl(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,Qi(b)))} -function pf(){if(null!==bl){var a=bl,b=el;el=0;var c=Kb(cl),d=32>c?32:c;c=Vk.transition;var e=G;try{Vk.transition=null;G=d;if(null===bl)var f=!1;else{var g=fl;fl=null;d=bl;var h=cl;bl=null;cl=0;if(0!==(N&6))throw Error(t(331));null!==F&&"function"===typeof F.markPassiveEffectsStarted&&F.markPassiveEffectsStarted(h);var l=N;N|=4;Ok(d.current);Dk(d,d.current,h,g);g=dl;dl=[];for(h=0;h<g.length;h++){var p=g[h];if(N&4&&0!==(p.flags&4))switch(p.tag){case 12:var q=p.stateNode.passiveEffectDuration,x=p.memoizedProps, -r=x.id,u=x.onPostCommit,A=nh,C=null===p.alternate?"mount":"update";qf&&(C="nested-update");"function"===typeof u&&u(r,C,q,A);var J=p.return;b:for(;null!==J;){switch(J.tag){case 3:J.stateNode.passiveEffectDuration+=q;break b;case 12:J.stateNode.passiveEffectDuration+=q;break b}J=J.return}}}null!==F&&"function"===typeof F.markPassiveEffectsStopped&&F.markPassiveEffectsStopped();N=l;of(!1);if(db&&"function"===typeof db.onPostCommitFiberRoot)try{db.onPostCommitFiberRoot(cb,d)}catch(m){}var Q=d.current.stateNode; -Q.effectDuration=0;Q.passiveEffectDuration=0;f=!0}return f}finally{G=e,Vk.transition=c,Fl(a,b)}}return!1}function Rj(a){dl.push(a);al||(al=!0,Dl($a,function(){pf();return null}))}function Gl(a,b,c){b=Eh(c,b);b=Hh(a,b,2);a=me(a,b,2);null!==a&&(Eb(a,2),lf(a))} -function W(a,b,c){if(3===a.tag)Gl(a,a,c);else for(;null!==b;){if(3===b.tag){Gl(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Lh||!Lh.has(d))){a=Eh(c,a);a=Kh(b,a,2);b=me(b,a,2);null!==b&&(Eb(b,2),lf(b));break}}b=b.return}} -function Sh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Rk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(Xk=!0,e.add(c),d=Hl.bind(null,a,b,c),eb&&Ph(a,c),b.then(d,d))}function Hl(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;P===a&&(O&c)===c&&(4===Rh||3===Rh&&(O&125829120)===O&&300>Wa()-wk?0===(N&2)&&vf(a,0):Zk|=c);lf(a)}function Il(a,b){0===b&&(b=0===(a.mode&1)?2:Cb());a=fe(a,b);null!==a&&(Eb(a,b),lf(a))} -function yi(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Il(a,c)}function kk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);Il(a,c)}var Bl; -Bl=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||fd.current)sg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return sg=!1,Di(a,b,c);sg=0!==(a.flags&131072)?!0:!1}else sg=!1,K&&0!==(b.flags&1048576)&&Ad(b,td,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;li(a,b);a=b.pendingProps;var e=hd(b,ed.current);Yh(b,c);kb(b);e=Yf(null,b,d,a,e,c);var f=gg();lb();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= -null,id(d)?(f=!0,md(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,je(b),e.updater=zh,b.stateNode=e,e._reactInternals=b,Dh(b,d,a,c),b=mi(null,b,d,!0,f,c)):(b.tag=0,K&&f&&Bd(b),Wh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{li(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Jl(d);a=xh(d,a);switch(e){case 0:b=ci(null,b,d,a,c);break a;case 1:b=ki(null,b,d,a,c);break a;case 11:b=Xh(null,b,d,a,c);break a;case 14:b=$h(null,b,d,xh(d.type,a),c);break a}throw Error(t(306, -d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:xh(d,e),ci(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:xh(d,e),ki(a,b,d,e,c);case 3:a:{ni(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;ke(a,b);pe(b,e,null,c);var g=b.memoizedState;e=g.cache;Ei(b,ii,e);e!==f.cache&&Li(b,ii,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= -Eh(Error(t(423)),b);b=oi(a,b,e,c,d);break a}else if(e!==d){d=Eh(Error(t(424)),b);b=oi(a,b,e,c,d);break a}else for(I=Kd(b.stateNode.containerInfo.firstChild),H=b,K=!0,Dd=null,Ed=!0,c=Qe(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Wd();if(e===d){b=Zh(a,b,c);break a}Wh(a,b,e,c)}b=b.child}return b;case 26:return ei(a,b),c=b.memoizedState=Kl(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=cj(Ja.current).createElement(c),d[Ob]= -b,d[Pb]=a,dj(d,c,a),cc(d),b.stateNode=d),null;case 27:return Qa(b),null===a&&K&&(d=b.stateNode=bj(b.type,b.pendingProps,Ja.current),H=b,Ed=!0,I=Kd(d.firstChild)),d=b.pendingProps.children,null!==a||K?Wh(a,b,d,c):b.child=Pe(b,null,d,c),ei(a,b),b.child;case 5:return Qa(b),null===a&&K&&((e=d=I,e)?Id(b,e)||(Pd(b)&&Qd(),I=Od(e),f=H,I&&Id(b,I)?Fd(f,e):(Hd(H,b),K=!1,H=b,I=d)):(Pd(b)&&Qd(),Hd(H,b),K=!1,H=b,I=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Ud(e,f)?d=null:null!== -g&&Ud(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Yf(a,b,eg,null,null,c),La._currentValue=e,sg&&null!==a&&a.memoizedState.memoizedState!==e&&Li(b,La,c)),ei(a,b),Wh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=I,a&&d)?Ld(b,a)||(Pd(b)&&Qd(),I=Od(a),d=H,I&&Ld(b,I)?Fd(d,a):(Hd(H,b),K=!1,H=b,I=c)):(Pd(b)&&Qd(),Hd(H,b),K=!1,H=b,I=c)),null;case 13:return si(a,b,c);case 4:return Ma(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Pe(b,null,d,c):Wh(a,b,d,c),b.child; -case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:xh(d,e),Xh(a,b,d,e,c);case 7:return Wh(a,b,b.pendingProps,c),b.child;case 8:return Wh(a,b,b.pendingProps.children,c),b.child;case 12:return b.flags|=4,d=b.stateNode,d.effectDuration=0,d.passiveEffectDuration=0,Wh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;Ei(b,d,g);if(null!==f)if(pd(f.value,g)){if(f.children===e.children&&!fd.current){b=Zh(a,b,c);break a}}else Li(b, -d,c);Wh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Yh(b,c),e=ng(e),kb(b),d=d(e),lb(),b.flags|=1,Wh(a,b,d,c),b.child;case 14:return d=b.type,e=xh(d,b.pendingProps),e=xh(d.type,e),$h(a,b,d,e,c);case 15:return bi(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:xh(d,e),li(a,b),b.tag=1,id(d)?(a=!0,md(b)):a=!1,Yh(b,c),Bh(b,d,e),Dh(b,d,e,c),mi(null,b,d,!0,a,c);case 19:return Ci(a,b,c);case 22:return di(a,b,c);case 24:return Yh(b, -c),d=ng(ii),null===a?(e=hi(),null===e&&(e=P,f=ih(),e.pooledCache=f,f.refCount++,null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},je(b),Ei(b,ii,e)):(0!==(a.lanes&c)&&(ke(a,b),pe(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),Ei(b,ii,d)):(d=f.cache,Ei(b,ii,d),d!==e.cache&&Li(b,ii,c))),Wh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));}; -function Ph(a,b){eb&&a.memoizedUpdaters.forEach(function(c){Hb(a,c,b)})}function Dl(a,b){return Sa(a,b)} -function Ll(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null;this.actualDuration=0;this.actualStartTime=-1;this.treeBaseDuration=this.selfBaseDuration=0} -function Gd(a,b,c,d){return new Ll(a,b,c,d)}function ai(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Jl(a){if("function"===typeof a)return ai(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===ta)return 11;if(a===wa)return 14}return 2} -function Je(a,b){var c=a.alternate;null===c?(c=Gd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null,c.actualDuration=0,c.actualStartTime=-1);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null: +b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null===b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,pk(a,d))));break;case 19:tk(b,a);vk(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,pk(a,c)));break;case 21:break;default:tk(b,a),vk(a)}} +function vk(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(dk(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=ek(a);hk(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(Oc(g,""),d.flags&=-33);var h=ek(a);hk(a,h,g);break;case 3:case 4:var l=d.stateNode.containerInfo,p=ek(a);fk(a,p,l);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} +function Ek(a,b,c){Cj=c;Dj=b;Yj(b,a.alternate,a);Dj=Cj=null}function Zj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)Yj(a,b.alternate,b),b=b.sibling} +function Dk(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:if(Ej(b))try{Bh(),Rj(4,b,b.return)}finally{zh(b)}else Rj(4,b,b.return);Dk(b);break;case 1:Hj(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{Fj(d,c)}catch(f){W(d,e,f)}}Dk(b);break;case 26:case 27:case 5:Hj(b,b.return);Dk(b);break;case 22:Hj(b,b.return);null===b.memoizedState&&Dk(b);break;default:Dk(b)}a=a.sibling}} +function bk(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:bk(e,f,c);Tj(f,4);break;case 1:bk(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(l){W(f,f.return,l)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)ue(h[d],e)}c&&g&64&&Uj(f);Gj(f,f.return);break;case 26:case 27:case 5:bk(e,f,c); +c&&null===d&&g&4&&Vj(f);Gj(f,f.return);break;case 12:bk(e,f,c);c&&g&4&&Wj(f,d);break;case 13:bk(e,f,c);c&&g&4&&ak(e,f);break;case 22:null===f.memoizedState&&bk(e,f,c);Gj(f,f.return);break;default:bk(e,f,c)}b=b.sibling}}function Fk(a,b){if(Ej(a)){wh=sh();try{Sj(b,a)}catch(c){W(a,a.return,c)}Ah(a)}else try{Sj(b,a)}catch(c){W(a,a.return,c)}} +function Gk(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&Wi(c))}function Hk(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&Wi(a))} +function Ik(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)Jk(a,b,c,d),b=b.sibling} +function Jk(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Ik(a,b,c,d);e&2048&&Fk(b,9);break;case 3:Ik(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&Wi(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Ik(a,b,c,d):b.mode&1?Kk(a,b):(f._visibility|=4,Ik(a,b,c,d)):f._visibility&4?Ik(a,b,c,d):(f._visibility|=4,Lk(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&Gk(b.alternate, +b);break;case 24:Ik(a,b,c,d);e&2048&&Hk(b.alternate,b);break;default:Ik(a,b,c,d)}} +function Lk(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,l=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:Lk(f,g,h,l,e);Fk(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?Lk(f,g,h,l,e):g.mode&1?Kk(f,g):(q._visibility|=4,Lk(f,g,h,l,e)):(q._visibility|=4,Lk(f,g,h,l,e));e&&p&2048&&Gk(g.alternate,g);break;case 24:Lk(f,g,h,l,e);e&&p&2048&&Hk(g.alternate,g);break;default:Lk(f,g,h,l,e)}b=b.sibling}} +function Kk(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:Kk(c,d);e&2048&&Gk(d.alternate,d);break;case 24:Kk(c,d);e&2048&&Hk(d.alternate,d);break;default:Kk(c,d)}b=b.sibling}}var Mk=8192;function Nk(a){if(a.subtreeFlags&Mk)for(a=a.child;null!==a;)Ok(a),a=a.sibling} +function Ok(a){switch(a.tag){case 26:Nk(a);a.flags&Mk&&null!==a.memoizedState&&Pk(uk,a.memoizedState,a.memoizedProps);break;case 5:Nk(a);break;case 3:case 4:var b=uk;uk=Bk(a.stateNode.containerInfo);Nk(a);uk=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=Mk,Mk=16777216,Nk(a),Mk=b):Nk(a));break;default:Nk(a)}}function Qk(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} +function Rk(a,b,c){Ej(a)?(wh=sh(),Rj(c,a,b),Ah(a)):Rj(c,a,b)}function Sk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Bj=d;Tk(d,a)}Qk(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)Uk(a),a=a.sibling} +function Uk(a){switch(a.tag){case 0:case 11:case 15:Sk(a);a.flags&2048&&Rk(a,a.return,9);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,Vk(a)):Sk(a);break;default:Sk(a)}} +function Vk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Bj=d;Tk(d,a)}Qk(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:Rk(b,b.return,8);Vk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,Vk(b));break;default:Vk(b)}a=a.sibling}} +function Tk(a,b){for(;null!==Bj;){var c=Bj;switch(c.tag){case 0:case 11:case 15:Rk(c,b,8);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:Wi(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,Bj=d;else a:for(c=a;null!==Bj;){d=Bj;var e=d.sibling,f=d.return;ck(d);if(d===c){Bj=null;break a}if(null!==e){e.return=f;Bj=e;break a}Bj=f}}} +var Wk={getCacheSignal:function(){return rg(oi).controller.signal},getCacheForType:function(a){var b=rg(oi),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},Xk="function"===typeof WeakMap?WeakMap:Map,Yk=da.ReactCurrentDispatcher,Zk=da.ReactCurrentCache,$k=da.ReactCurrentOwner,al=da.ReactCurrentBatchConfig,N=0,P=null,X=null,O=0,R=0,bl=null,cl=!1,Xe=0,Xh=0,xf=null,te=0,dl=0,el=0,Df=0,fl=null,Bf=null,Ck=0,nj=Infinity,Cf=null,Oh=!1,Ph=null,Rh=null,gl=!1,hl=null,il=0,jl=[],kl=0,ll=null,je= +0,ke=null;function nh(a){if(0===(a.mode&1))return 2;if(0!==(N&2)&&0!==O)return O&-O;if(null!==Xi.transition)return a=Lf,0!==a?a:If();a=G;if(0!==a)return a;a=window.event;a=void 0===a?32:ml(a.type);return a}function dh(){0===Df&&(Df=0!==(O&536870912)?536870912:If());return Df} +function Gg(a,b,c){if(a===P&&2===R||null!==a.cancelPendingCommit)yf(a,0),zf(a,O,Df);Fb(a,c);if(0===(N&2)||a!==P)gb&&Kb(a,b,c),a===P&&(0===(N&2)&&(dl|=c),4===Xh&&zf(a,O,Df)),of(a),2===c&&0===N&&0===(b.mode&1)&&(nj=Ya()+500,rf(!0))} +function Gf(a,b){uf=tf=!1;if(0!==(N&6))throw Error(t(327));var c=a.callbackNode;if(sf()&&a.callbackNode!==c)return null;var d=Ab(a,a===P?O:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?nl(a,d):vf(a,d);if(0!==b){var f=e;do{if(6===b)zf(a,d,0);else{e=a.current.alternate;if(f&&!ol(e)){b=vf(a,d);f=!1;continue}if(2===b){f=d;var g=Cb(a,f);0!==g&&(d=g,b=wf(a,f,g))}if(1===b)throw c=xf,yf(a,0),zf(a,d,0),of(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); +case 4:if((d&4194176)===d){zf(f,d,Df);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&62914560)===d&&(b=Ck+300-Ya(),10<b)){zf(f,d,Df);if(0!==Ab(f,0))break a;f.timeoutHandle=pl(ql.bind(null,f,e,Bf,Cf,d,Df),b);break a}ql(f,e,Bf,Cf,d,Df)}}break}while(1)}of(a);Ff(a,Ya());a=a.callbackNode===c?Gf.bind(null,a):null;return a} +function wf(a,b,c){var d=fl,e=a.current.memoizedState.isDehydrated;e&&(yf(a,c).flags|=256);c=vf(a,c);if(2!==c){if(cl&&!e)return a.errorRecoveryDisabledLanes|=b,dl|=b,4;a=Bf;Bf=d;null!==a&&fj(a)}return c}function fj(a){null===Bf?Bf=a:Bf.push.apply(Bf,a)}function ql(a,b,c,d,e,f){if(0===(e&42)&&(rl={stylesheets:null,count:0,unsuspend:sl},Ok(b),b=tl(),null!==b)){a.cancelPendingCommit=b(Af.bind(null,a,c,d));zf(a,e,f);return}Af(a,c,d,f)} +function ol(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!sd(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} +function zf(a,b,c){b&=~el;b&=~dl;a.suspendedLanes|=b;a.pingedLanes&=~b;for(var d=a.expirationTimes,e=b;0<e;){var f=31-ub(e),g=1<<f;d[f]=-1;e&=~g}0!==c&&Hb(a,c,b)}function ul(a,b){var c=N;N|=1;try{return a(b)}finally{N=c,0===N&&(nj=Ya()+500,rf(!0))}}function vl(a){null!==hl&&0===hl.tag&&0===(N&6)&&sf();var b=N;N|=1;var c=al.transition,d=G;try{if(al.transition=null,G=2,a)return a()}finally{G=d,al.transition=c,N=b,0===(N&6)&&rf(!1)}} +function wl(){if(null!==X){if(0===R)var a=X.return;else a=X,Pi(),mg(a),Fe=null,Ge=0,a=X;for(;null!==a;)pj(a.alternate,a),a=a.return;X=null}} +function yf(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,xl(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());wl();P=a;X=c=Me(a.current,null);O=b;R=0;bl=null;cl=!1;Xh=0;xf=null;Df=el=dl=te=0;Bf=fl=null;0!==(b&8)&&(b|=b&32);var d=a.entangledLanes;if(0!==d)for(a=a.entanglements,d&=b;0<d;){var e=31-ub(d),f=1<<e;b|=a[e];d&=~f}Xe=b;de();return c} +function yl(a,b){S=null;Qf.current=gg;$k.current=null;b===xe?(b=Ee(),R=bj()&&0===(te&134217727)&&0===(dl&134217727)?2:3):b===ye?(b=Ee(),R=4):R=b===ai?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;bl=b;a=X;if(null===a)Xh=1,xf=b;else switch(a.mode&2&&yh(a,!0),nb(),R){case 1:null!==F&&"function"===typeof F.markComponentErrored&&F.markComponentErrored(a,b,O);break;case 2:case 3:case 6:case 7:null!==F&&"function"===typeof F.markComponentSuspended&&F.markComponentSuspended(a,b,O)}} +function bj(){var a=$e.current;return null===a?!0:(O&4194176)===O?null===af?!0:!1:(O&62914560)===O||0!==(O&536870912)?a===af:!1}function zl(){var a=Yk.current;Yk.current=gg;return null===a?gg:a}function Al(){var a=Zk.current;Zk.current=Wk;return a}function Wh(){Xh=4;0===(te&134217727)&&0===(dl&134217727)||null===P||zf(P,O,Df)}function Zh(a){4!==Xh&&(Xh=2);null===fl?fl=[a]:fl.push(a)} +function vf(a,b){var c=N;N|=2;var d=zl(),e=Al();if(P!==a||O!==b){if(gb){var f=a.memoizedUpdaters;0<f.size&&(Vh(a,O),f.clear());Lb(a,b)}Cf=null;yf(a,b)}qb(b);b=!1;a:do try{if(0!==R&&null!==X){f=X;var g=bl;switch(R){case 8:wl();Xh=6;break a;case 3:case 2:b||null!==$e.current||(b=!0);default:R=0,bl=null,Bl(f,g)}}Cl();break}catch(h){yl(a,h)}while(1);b&&a.shellSuspendCounter++;Pi();N=c;Yk.current=d;Zk.current=e;if(null!==X)throw Error(t(261));rb();P=null;O=0;de();return Xh} +function Cl(){for(;null!==X;)Dl(X)} +function nl(a,b){var c=N;N|=2;var d=zl(),e=Al();if(P!==a||O!==b){if(gb){var f=a.memoizedUpdaters;0<f.size&&(Vh(a,O),f.clear());Lb(a,b)}Cf=null;nj=Ya()+500;yf(a,b)}qb(b);a:do try{if(0!==R&&null!==X)b:switch(b=X,f=bl,R){case 1:R=0;bl=null;Bl(b,f);break;case 2:if(Ae(f)){R=0;bl=null;El(b);break}b=function(){2===R&&P===a&&(R=7);of(a)};f.then(b,b);break a;case 3:R=7;break a;case 4:R=5;break a;case 7:Ae(f)?(R=0,bl=null,El(b)):(R=0,bl=null,Bl(b,f));break;case 5:switch(X.tag){case 5:case 26:case 27:b=X;R= +0;bl=null;var g=b.sibling;if(null!==g)X=g;else{var h=b.return;null!==h?(X=h,Fl(h)):X=null}break b}R=0;bl=null;Bl(b,f);break;case 6:R=0;bl=null;Bl(b,f);break;case 8:wl();Xh=6;break a;default:throw Error(t(462));}Gl();break}catch(l){yl(a,l)}while(1);Pi();Yk.current=d;Zk.current=e;N=c;if(null!==X)return null!==F&&"function"===typeof F.markRenderYielded&&F.markRenderYielded(),0;rb();P=null;O=0;de();return Xh}function Gl(){for(;null!==X&&!Wa();)Dl(X)} +function Dl(a){var b=a.alternate;0!==(a.mode&2)?(xh(a),b=Hl(b,a,Xe),yh(a,!0)):b=Hl(b,a,Xe);a.memoizedProps=a.pendingProps;null===b?Fl(a):X=b;$k.current=null} +function El(a){var b=a.alternate,c=0!==(a.mode&2);c&&xh(a);switch(a.tag){case 2:a.tag=0;case 15:case 0:var d=a.type,e=a.pendingProps;e=a.elementType===d?e:Dh(d,e);var f=ld(d)?jd:hd.current;f=kd(a,f);b=pi(b,a,e,d,f,O);break;case 11:d=a.type.render;e=a.pendingProps;e=a.elementType===d?e:Dh(d,e);b=pi(b,a,e,d,a.ref,O);break;case 5:mg(a);default:pj(b,a),a=X=mj(a,Xe),b=Hl(b,a,Xe)}c&&yh(a,!0);a.memoizedProps=a.pendingProps;null===b?Fl(a):X=b;$k.current=null} +function Bl(a,b){Pi();mg(a);Fe=null;Ge=0;var c=a.return;if(null===c||null===P)Xh=1,xf=b,X=null;else{try{Uh(P,c,a,b,O)}catch(d){throw X=c,d;}if(a.flags&32768)a:{do{b=oj(a.alternate,a);if(null!==b){b.flags&=32767;X=b;break a}if(0!==(a.mode&2)){yh(a,!1);b=a.actualDuration;for(c=a.child;null!==c;)b+=c.actualDuration,c=c.sibling;a.actualDuration=b}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);X=a}while(null!==a);Xh=6;X=null}else Fl(a)}} +function Fl(a){var b=a;do{var c=b.alternate;a=b.return;0===(b.mode&2)?c=ej(c,b,Xe):(xh(b),c=ej(c,b,Xe),yh(b,!1));if(null!==c){X=c;return}b=b.sibling;if(null!==b){X=b;return}X=b=a}while(null!==b);0===Xh&&(Xh=5)}function Af(a,b,c,d){var e=G,f=al.transition;try{al.transition=null,G=2,Il(a,b,c,e,d)}finally{al.transition=f,G=e}return null} +function Il(a,b,c,d,e){do sf();while(null!==hl);if(0!==(N&6))throw Error(t(327));var f=a.finishedWork,g=a.finishedLanes;null!==F&&"function"===typeof F.markCommitStarted&&F.markCommitStarted(g);if(null===f)return lb(),null;a.finishedWork=null;a.finishedLanes=0;if(f===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var h=f.lanes|f.childLanes;h|=ce;Gb(a,h,e);a===P&&(X=P=null,O=0);0===(f.subtreeFlags&10256)&&0===(f.flags&10256)||gl||(gl=!0,kl=h,ll=c, +Jl(bb,function(){sf();return null}));c=0!==(f.flags&15990);if(0!==(f.subtreeFlags&15990)||c){c=al.transition;al.transition=null;e=G;G=2;var l=N;N|=4;$k.current=null;Kj(a,f);th=sh();rk(a,f,g);Kl(Pj);Mj=!!Lj;Pj=Lj=null;a.current=f;null!==F&&"function"===typeof F.markLayoutEffectsStarted&&F.markLayoutEffectsStarted(g);Ek(f,a,g);null!==F&&"function"===typeof F.markLayoutEffectsStopped&&F.markLayoutEffectsStopped();Xa();N=l;G=e;al.transition=c}else a.current=f,th=sh();gl?(gl=!1,hl=a,il=g):Ll(a,h);h=a.pendingLanes; +0===h&&(Rh=null);hb(f.stateNode,d);gb&&a.memoizedUpdaters.clear();of(a);if(null!==b)for(d=a.onRecoverableError,f=0;f<b.length;f++)h=b[f],c={digest:h.digest,componentStack:h.stack},d(h.value,c);if(Oh)throw Oh=!1,a=Ph,Ph=null,a;0!==(il&3)&&0!==a.tag&&sf();h=a.pendingLanes;0!==(g&4194218)&&0!==(h&42)?(uf=!0,a===ke?je++:(je=0,ke=a)):je=0;rf(!1);lb();return null}function Ll(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,Wi(b)))} +function sf(){if(null!==hl){var a=hl,b=kl;kl=0;var c=Ob(il),d=32>c?32:c;c=al.transition;var e=G;try{al.transition=null;G=d;if(null===hl)var f=!1;else{var g=ll;ll=null;d=hl;var h=il;hl=null;il=0;if(0!==(N&6))throw Error(t(331));null!==F&&"function"===typeof F.markPassiveEffectsStarted&&F.markPassiveEffectsStarted(h);var l=N;N|=4;Uk(d.current);Jk(d,d.current,h,g);g=jl;jl=[];for(h=0;h<g.length;h++){var p=g[h];if(N&4&&0!==(p.flags&4))switch(p.tag){case 12:var q=p.stateNode.passiveEffectDuration,x=p.memoizedProps, +r=x.id,u=x.onPostCommit,A=th,C=null===p.alternate?"mount":"update";tf&&(C="nested-update");"function"===typeof u&&u(r,C,q,A);var J=p.return;b:for(;null!==J;){switch(J.tag){case 3:J.stateNode.passiveEffectDuration+=q;break b;case 12:J.stateNode.passiveEffectDuration+=q;break b}J=J.return}}}null!==F&&"function"===typeof F.markPassiveEffectsStopped&&F.markPassiveEffectsStopped();N=l;rf(!1);if(fb&&"function"===typeof fb.onPostCommitFiberRoot)try{fb.onPostCommitFiberRoot(eb,d)}catch(m){}var Q=d.current.stateNode; +Q.effectDuration=0;Q.passiveEffectDuration=0;f=!0}return f}finally{G=e,al.transition=c,Ll(a,b)}}return!1}function Xj(a){jl.push(a);gl||(gl=!0,Jl(bb,function(){sf();return null}))}function Ml(a,b,c){b=Kh(c,b);b=Nh(a,b,2);a=pe(a,b,2);null!==a&&(Fb(a,2),of(a))} +function W(a,b,c){if(3===a.tag)Ml(a,a,c);else for(;null!==b;){if(3===b.tag){Ml(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Rh||!Rh.has(d))){a=Kh(c,a);a=Qh(b,a,2);b=pe(b,a,2);null!==b&&(Fb(b,2),of(b));break}}b=b.return}} +function Yh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Xk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(cl=!0,e.add(c),d=Nl.bind(null,a,b,c),gb&&Vh(a,c),b.then(d,d))}function Nl(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;P===a&&(O&c)===c&&(4===Xh||3===Xh&&(O&62914560)===O&&300>Ya()-Ck?0===(N&2)&&yf(a,0):el|=c);of(a)}function Ol(a,b){0===b&&(b=0===(a.mode&1)?2:Db());a=ie(a,b);null!==a&&(Fb(a,b),of(a))} +function Ei(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Ol(a,c)}function qk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);Ol(a,c)}var Hl; +Hl=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||id.current)wg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return wg=!1,Ji(a,b,c);wg=0!==(a.flags&131072)?!0:!1}else wg=!1,K&&0!==(b.flags&1048576)&&Dd(b,wd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ri(a,b);a=b.pendingProps;var e=kd(b,hd.current);di(b,c);mb(b);e=bg(null,b,d,a,e,c);var f=kg();nb();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= +null,ld(d)?(f=!0,pd(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,me(b),e.updater=Fh,b.stateNode=e,e._reactInternals=b,Jh(b,d,a,c),b=si(null,b,d,!0,f,c)):(b.tag=0,K&&f&&Ed(b),bi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{ri(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Pl(d);a=Dh(d,a);switch(e){case 0:b=ii(null,b,d,a,c);break a;case 1:b=qi(null,b,d,a,c);break a;case 11:b=ci(null,b,d,a,c);break a;case 14:b=fi(null,b,d,Dh(d.type,a),c);break a}throw Error(t(306, +d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Dh(d,e),ii(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Dh(d,e),qi(a,b,d,e,c);case 3:a:{ti(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;ne(a,b);se(b,e,null,c);var g=b.memoizedState;e=g.cache;Ki(b,oi,e);e!==f.cache&&Ri(b,oi,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= +Kh(Error(t(423)),b);b=ui(a,b,e,c,d);break a}else if(e!==d){d=Kh(Error(t(424)),b);b=ui(a,b,e,c,d);break a}else for(I=Nd(b.stateNode.containerInfo.firstChild),H=b,K=!0,Gd=null,Hd=!0,c=Te(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Zd();if(e===d){b=ei(a,b,c);break a}bi(a,b,e,c)}b=b.child}return b;case 26:return ki(a,b),c=b.memoizedState=Ql(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=ij(La.current).createElement(c),d[Rb]= +b,d[Sb]=a,jj(d,c,a),fc(d),b.stateNode=d),null;case 27:return Sa(b),null===a&&K&&(d=b.stateNode=hj(b.type,b.pendingProps,La.current),H=b,Hd=!0,I=Nd(d.firstChild)),d=b.pendingProps.children,null!==a||K?bi(a,b,d,c):b.child=Se(b,null,d,c),ki(a,b),b.child;case 5:return Sa(b),null===a&&K&&((e=d=I,e)?Ld(b,e)||(Sd(b)&&Td(),I=Rd(e),f=H,I&&Ld(b,I)?Id(f,e):(Kd(H,b),K=!1,H=b,I=d)):(Sd(b)&&Td(),Kd(H,b),K=!1,H=b,I=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Xd(e,f)?d=null:null!== +g&&Xd(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=bg(a,b,ig,null,null,c),Na._currentValue=e,wg&&null!==a&&a.memoizedState.memoizedState!==e&&Ri(b,Na,c)),ki(a,b),bi(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=I,a&&d)?Od(b,a)||(Sd(b)&&Td(),I=Rd(a),d=H,I&&Od(b,I)?Id(d,a):(Kd(H,b),K=!1,H=b,I=c)):(Sd(b)&&Td(),Kd(H,b),K=!1,H=b,I=c)),null;case 13:return yi(a,b,c);case 4:return Oa(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Se(b,null,d,c):bi(a,b,d,c),b.child; +case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Dh(d,e),ci(a,b,d,e,c);case 7:return bi(a,b,b.pendingProps,c),b.child;case 8:return bi(a,b,b.pendingProps.children,c),b.child;case 12:return b.flags|=4,d=b.stateNode,d.effectDuration=0,d.passiveEffectDuration=0,bi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;Ki(b,d,g);if(null!==f)if(sd(f.value,g)){if(f.children===e.children&&!id.current){b=ei(a,b,c);break a}}else Ri(b, +d,c);bi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,di(b,c),e=rg(e),mb(b),d=d(e),nb(),b.flags|=1,bi(a,b,d,c),b.child;case 14:return d=b.type,e=Dh(d,b.pendingProps),e=Dh(d.type,e),fi(a,b,d,e,c);case 15:return hi(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Dh(d,e),ri(a,b),b.tag=1,ld(d)?(a=!0,pd(b)):a=!1,di(b,c),Hh(b,d,e),Jh(b,d,e,c),si(null,b,d,!0,a,c);case 19:return Ii(a,b,c);case 22:return ji(a,b,c);case 24:return di(b, +c),d=rg(oi),null===a?(e=ni(),null===e&&(e=P,f=oh(),e.pooledCache=f,f.refCount++,null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},me(b),Ki(b,oi,e)):(0!==(a.lanes&c)&&(ne(a,b),se(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),Ki(b,oi,d)):(d=f.cache,Ki(b,oi,d),d!==e.cache&&Ri(b,oi,c))),bi(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));}; +function Vh(a,b){gb&&a.memoizedUpdaters.forEach(function(c){Kb(a,c,b)})}function Jl(a,b){return Ua(a,b)} +function Rl(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null;this.actualDuration=0;this.actualStartTime=-1;this.treeBaseDuration=this.selfBaseDuration=0} +function Jd(a,b,c,d){return new Rl(a,b,c,d)}function gi(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Pl(a){if("function"===typeof a)return gi(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===va)return 11;if(a===ya)return 14}return 2} +function Me(a,b){var c=a.alternate;null===c?(c=Jd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null,c.actualDuration=0,c.actualStartTime=-1);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null: {lanes:b.lanes,firstContext:b.firstContext};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;c.refCleanup=a.refCleanup;c.selfBaseDuration=a.selfBaseDuration;c.treeBaseDuration=a.treeBaseDuration;return c} -function gj(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null,a.selfBaseDuration=0,a.treeBaseDuration=0):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null: +function mj(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null,a.selfBaseDuration=0,a.treeBaseDuration=0):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null: {lanes:b.lanes,firstContext:b.firstContext},a.selfBaseDuration=c.selfBaseDuration,a.treeBaseDuration=c.treeBaseDuration);return a} -function Le(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)ai(a)&&(e=1);else if("string"===typeof a)e=Ml(a,c,Ha.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case na:return Ne(c.children,f,g,b);case oa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case pa:return a=Gd(12,c,b,f|2),a.elementType=pa,a.lanes=g,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case ua:return a=Gd(13,c,b,f),a.elementType=ua,a.lanes=g,a;case va:return a=Gd(19,c,b,f),a.elementType=va,a.lanes=g,a;case za:return wi(c, -f,g,b);case Aa:case ya:case Ba:return a=Gd(24,c,b,f),a.elementType=Ba,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case qa:e=10;break a;case ra:e=9;break a;case ta:e=11;break a;case wa:e=14;break a;case xa:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=Gd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Ne(a,b,c,d){a=Gd(7,a,d,b);a.lanes=c;return a} -function wi(a,b,c,d){a=Gd(22,a,d,b);a.elementType=za;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=fe(f,2);null!==g&&(e._pendingVisibility|=2,Cg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=fe(f,2);null!==g&&(e._pendingVisibility&=-3,Cg(g,f,2))}}}; -a.stateNode=e;return a}function Ke(a,b,c){a=Gd(6,a,null,b);a.lanes=c;return a}function Me(a,b,c){b=Gd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} -function Nl(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=Db(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=Db(0);this.hiddenUpdates= -Db(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map;this.passiveEffectDuration=this.effectDuration=0;this.memoizedUpdaters=new Set;a=this.pendingUpdatersLaneMap=[];for(b=0;31>b;b++)a.push(new Set)} -function Ol(a,b,c,d,e,f,g,h,l,p,q){a=new Nl(a,b,c,h,l,q);1===b?(b=1,!0===f&&(b|=24)):b=0;eb&&(b|=2);f=Gd(3,null,null,b);a.current=f;f.stateNode=a;b=ih();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};je(f);return a}function Pl(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ma,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} -function Ql(a){if(!a)return dd;a=a._reactInternals;a:{if(Yc(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(id(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if(id(c))return ld(a,c,b)}return b} -function Rl(a,b,c,d,e,f,g,h,l,p,q){a=Ol(c,d,!0,a,e,f,g,h,l,p,q);a.context=Ql(null);c=a.current;d=hh(c);e=le(d);e.callback=void 0!==b&&null!==b?b:null;me(c,e,d);a.current.lanes=d;Eb(a,d);lf(a);return a} -function Sl(a,b,c,d){var e=b.current,f=hh(e);null!==F&&"function"===typeof F.markRenderScheduled&&F.markRenderScheduled(f);c=Ql(c);null===b.context?b.context=c:b.pendingContext=c;b=le(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=me(e,b,f);null!==a&&(Cg(a,e,f),ne(a,e,f));return f}function Tl(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}} -function Ul(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=xb(b.pendingLanes);0!==c&&(Gb(b,c|2),lf(b),0===(N&6)&&(hj=Wa()+500,of(!1)))}break;case 13:pl(function(){var d=fe(a,2);null!==d&&Cg(d,a,2)}),Vl(a,2)}}function Wl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function Vl(a,b){Wl(a,b);(a=a.alternate)&&Wl(a,b)} -function Xl(a){if(13===a.tag){var b=fe(a,134217728);null!==b&&Cg(b,a,134217728);Vl(a,134217728)}}function Yl(){return null}var Zl=!1;function $l(a,b,c){if(Zl)return a(b,c);Zl=!0;try{return ol(a,b,c)}finally{if(Zl=!1,null!==Tc||null!==Uc)pl(),Xc()}} -function am(a,b){var c=a.stateNode;if(null===c)return null;var d=ac(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== -typeof c)throw Error(t(231,b,typeof c));return c}var bm=!1;if(hc)try{var cm={};Object.defineProperty(cm,"passive",{get:function(){bm=!0}});window.addEventListener("test",cm,cm);window.removeEventListener("test",cm,cm)}catch(a){bm=!1}function dm(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function em(){return!0}function fm(){return!1} -function gm(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?em:fm;this.isPropagationStopped=fm;return this}w(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& -(c.returnValue=!1),this.isDefaultPrevented=em)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=em)},persist:function(){},isPersistent:em});return b} -var hm={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},im=gm(hm),jm=w({},hm,{view:0,detail:0}),km=gm(jm),lm,mm,nm,pm=w({},jm,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:om,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in -a)return a.movementX;a!==nm&&(nm&&"mousemove"===a.type?(lm=a.screenX-nm.screenX,mm=a.screenY-nm.screenY):mm=lm=0,nm=a);return lm},movementY:function(a){return"movementY"in a?a.movementY:mm}}),qm=gm(pm),rm=w({},pm,{dataTransfer:0}),sm=gm(rm),tm=w({},jm,{relatedTarget:0}),um=gm(tm),vm=w({},hm,{animationName:0,elapsedTime:0,pseudoElement:0}),wm=gm(vm),xm=w({},hm,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),ym=gm(xm),zm=w({},hm,{data:0}),Am=gm(zm),Bm={Esc:"Escape", -Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", -119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Dm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Em(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Dm[a])?!!b[a]:!1}function om(){return Em} -var Fm=w({},jm,{key:function(a){if(a.key){var b=Bm[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=dm(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Cm[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:om,charCode:function(a){return"keypress"===a.type?dm(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== -a.type?dm(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Gm=gm(Fm),Hm=w({},pm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Im=gm(Hm),Jm=w({},jm,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:om}),Km=gm(Jm),Lm=w({},hm,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mm=gm(Lm),Nm=w({},pm,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, -deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Om=gm(Nm); -function Pm(a,b,c,d,e){if("submit"===b&&c&&c.stateNode===e){var f=ac(e).action,g=d.submitter;g&&(b=(b=ac(g))?b.formAction:g.getAttribute("formAction"),null!=b&&(f=b,g=null));if("function"===typeof f){var h=new im("action","action",null,d,e);a.push({event:h,listeners:[{instance:null,listener:function(){if(!d.defaultPrevented){h.preventDefault();if(g){var l=g.ownerDocument.createElement("input");l.name=g.name;l.value=g.value;g.parentNode.insertBefore(l,g);var p=new FormData(e);l.parentNode.removeChild(l)}else p= -new FormData(e);ch(c,{pending:!0,data:p,method:e.method,action:f},f,p)}},currentTarget:e}]})}}}var Qm=!1,Rm=null,Sm=null,Tm=null,Um=new Map,Vm=new Map,Wm=[],Xm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); -function Ym(a,b){switch(a){case "focusin":case "focusout":Rm=null;break;case "dragenter":case "dragleave":Sm=null;break;case "mouseover":case "mouseout":Tm=null;break;case "pointerover":case "pointerout":Um.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":Vm.delete(b.pointerId)}} -function Zm(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Zb(b),null!==b&&Xl(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} -function $m(a,b,c,d,e){switch(b){case "focusin":return Rm=Zm(Rm,a,b,c,d,e),!0;case "dragenter":return Sm=Zm(Sm,a,b,c,d,e),!0;case "mouseover":return Tm=Zm(Tm,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;Um.set(f,Zm(Um.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,Vm.set(f,Zm(Vm.get(f)||null,a,b,c,d,e)),!0}return!1} -function an(a){var b=Xb(a.target);if(null!==b){var c=Yc(b);if(null!==c)if(b=c.tag,13===b){if(b=Zc(c),null!==b){a.blockedOn=b;Jb(a.priority,function(){if(13===c.tag){var d=hh(c),e=fe(c,d);null!==e&&Cg(e,c,d);Vl(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} -function bn(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=cn(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Rc=d;c.target.dispatchEvent(d);Rc=null}else return b=Zb(c),null!==b&&Xl(b),a.blockedOn=c,!1;b.shift()}return!0}function dn(a,b,c){bn(a)&&c.delete(b)}function en(){Qm=!1;null!==Rm&&bn(Rm)&&(Rm=null);null!==Sm&&bn(Sm)&&(Sm=null);null!==Tm&&bn(Tm)&&(Tm=null);Um.forEach(dn);Vm.forEach(dn)} -function fn(a,b){a.blockedOn===b&&(a.blockedOn=null,Qm||(Qm=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,en)))}var gn=null;function hn(a){gn!==a&&(gn=a,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){gn===a&&(gn=null);for(var b=0;b<a.length;b+=3){var c=a[b],d=a[b+1],e=a[b+2];if("function"!==typeof d)if(null===jn(d||c))continue;else break;var f=Zb(c);null!==f&&(a.splice(b,3),b-=3,ch(f,{pending:!0,data:e,method:c.method,action:d},d,e))}}))} -function hk(a){function b(l){return fn(l,a)}null!==Rm&&fn(Rm,a);null!==Sm&&fn(Sm,a);null!==Tm&&fn(Tm,a);Um.forEach(b);Vm.forEach(b);for(var c=0;c<Wm.length;c++){var d=Wm[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<Wm.length&&(c=Wm[0],null===c.blockedOn);)an(c),null===c.blockedOn&&Wm.shift();c=a.getRootNode().$$reactFormReplay;if(null!=c)for(d=0;d<c.length;d+=3){var e=c[d],f=c[d+1],g=ac(e);if("function"===typeof f)g||hn(c);else if(g){var h=null;if(f&&f.hasAttribute("formAction"))if(e=f,g=ac(f))h= -g.formAction;else{if(null!==jn(e))continue}else h=g.action;"function"===typeof h?c[d+1]=h:(c.splice(d,3),d-=3);hn(c)}}}var kn=da.ReactCurrentBatchConfig,Gj=!0;function ln(a,b,c,d){var e=G,f=kn.transition;kn.transition=null;try{G=2,mn(a,b,c,d)}finally{G=e,kn.transition=f}}function nn(a,b,c,d){var e=G,f=kn.transition;kn.transition=null;try{G=8,mn(a,b,c,d)}finally{G=e,kn.transition=f}} -function mn(a,b,c,d){if(Gj){var e=cn(d);if(null===e)on(a,b,d,pn,c),Ym(a,d);else if($m(e,a,b,c,d))d.stopPropagation();else if(Ym(a,d),b&4&&-1<Xm.indexOf(a)){for(;null!==e;){var f=Zb(e);null!==f&&Ul(f);f=cn(d);null===f&&on(a,b,d,pn,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else on(a,b,d,null,c)}}function cn(a){a=Sc(a);return jn(a)}var pn=null; -function jn(a){pn=null;a=Xb(a);if(null!==a){var b=Yc(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=Zc(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null)}}pn=a;return null} -function gl(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; -case "message":switch(Xa()){case Ya:return 2;case Za:return 8;case $a:case ab:return 32;case bb:return 536870912;default:return 32}default:return 32}}var qn=null,rn=null,sn=null;function tn(){if(sn)return sn;var a,b=rn,c=b.length,d,e="value"in qn?qn.value:qn.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return sn=e.slice(a,1<d?1-d:void 0)}var vn=[9,13,27,32],wn=hc&&"CompositionEvent"in window,xn=null;hc&&"documentMode"in document&&(xn=document.documentMode); -var yn=hc&&"TextEvent"in window&&!xn,zn=hc&&(!wn||xn&&8<xn&&11>=xn),An=String.fromCharCode(32),Bn=!1;function Cn(a,b){switch(a){case "keyup":return-1!==vn.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function Dn(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var En=!1; -function Fn(a,b){switch(a){case "compositionend":return Dn(b);case "keypress":if(32!==b.which)return null;Bn=!0;return An;case "textInput":return a=b.data,a===An&&Bn?null:a;default:return null}} -function Gn(a,b){if(En)return"compositionend"===a||!wn&&Cn(a,b)?(a=tn(),sn=rn=qn=null,En=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return zn&&"ko"!==b.locale?null:b.data;default:return null}} -var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function In(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Hn[a.type]:"textarea"===b?!0:!1}function Jn(a,b,c,d){Wc(d);b=Kn(b,"onChange");0<b.length&&(c=new im("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var Ln=null,Mn=null;function Nn(a){On(a,0)}function Pn(a){var b=$b(a);if(Ac(b))return a} -function Qn(a,b){if("change"===a)return b}var Rn=!1;if(hc){var Sn;if(hc){var Tn="oninput"in document;if(!Tn){var Un=document.createElement("div");Un.setAttribute("oninput","return;");Tn="function"===typeof Un.oninput}Sn=Tn}else Sn=!1;Rn=Sn&&(!document.documentMode||9<document.documentMode)}function Vn(){Ln&&(Ln.detachEvent("onpropertychange",Wn),Mn=Ln=null)}function Wn(a){if("value"===a.propertyName&&Pn(Mn)){var b=[];Jn(b,Mn,a,Sc(a));$l(Nn,b)}} -function Xn(a,b,c){"focusin"===a?(Vn(),Ln=b,Mn=c,Ln.attachEvent("onpropertychange",Wn)):"focusout"===a&&Vn()}function Yn(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return Pn(Mn)}function Zn(a,b){if("click"===a)return Pn(b)}function $n(a,b){if("input"===a||"change"===a)return Pn(b)}function ao(a){for(;a&&a.firstChild;)a=a.firstChild;return a} -function bo(a,b){var c=ao(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ao(c)}}function co(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?co(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} -function Hj(){for(var a=window,b=Bc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Bc(a.document)}return b}function Ij(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} -function El(a){var b=Hj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&co(c.ownerDocument.documentElement,c)){if(null!==d&&Ij(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=bo(c,f);var g=bo(c, +function Oe(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)gi(a)&&(e=1);else if("string"===typeof a)e=Sl(a,c,Ja.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case pa:return Qe(c.children,f,g,b);case qa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case ra:return a=Jd(12,c,b,f|2),a.elementType=ra,a.lanes=g,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case wa:return a=Jd(13,c,b,f),a.elementType=wa,a.lanes=g,a;case xa:return a=Jd(19,c,b,f),a.elementType=xa,a.lanes=g,a;case Ba:return Ci(c, +f,g,b);case Ca:case Aa:case Da:return a=Jd(24,c,b,f),a.elementType=Da,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case sa:e=10;break a;case ta:e=9;break a;case va:e=11;break a;case ya:e=14;break a;case za:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=Jd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Qe(a,b,c,d){a=Jd(7,a,d,b);a.lanes=c;return a} +function Ci(a,b,c,d){a=Jd(22,a,d,b);a.elementType=Ba;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=ie(f,2);null!==g&&(e._pendingVisibility|=2,Gg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=ie(f,2);null!==g&&(e._pendingVisibility&=-3,Gg(g,f,2))}}}; +a.stateNode=e;return a}function Ne(a,b,c){a=Jd(6,a,null,b);a.lanes=c;return a}function Pe(a,b,c){b=Jd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} +function Tl(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=Eb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=Eb(0);this.hiddenUpdates= +Eb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map;this.passiveEffectDuration=this.effectDuration=0;this.memoizedUpdaters=new Set;a=this.pendingUpdatersLaneMap=[];for(b=0;31>b;b++)a.push(new Set)} +function Ul(a,b,c,d,e,f,g,h,l,p,q){a=new Tl(a,b,c,h,l,q);1===b?(b=1,!0===f&&(b|=24)):b=0;gb&&(b|=2);f=Jd(3,null,null,b);a.current=f;f.stateNode=a;b=oh();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};me(f);return a}function Vl(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:oa,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} +function Wl(a){if(!a)return gd;a=a._reactInternals;a:{if(ad(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(ld(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if(ld(c))return od(a,c,b)}return b} +function Xl(a,b,c,d,e,f,g,h,l,p,q){a=Ul(c,d,!0,a,e,f,g,h,l,p,q);a.context=Wl(null);c=a.current;d=nh(c);e=oe(d);e.callback=void 0!==b&&null!==b?b:null;pe(c,e,d);a.current.lanes=d;Fb(a,d);of(a);return a} +function Yl(a,b,c,d){var e=b.current,f=nh(e);null!==F&&"function"===typeof F.markRenderScheduled&&F.markRenderScheduled(f);c=Wl(c);null===b.context?b.context=c:b.pendingContext=c;b=oe(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=pe(e,b,f);null!==a&&(Gg(a,e,f),qe(a,e,f));return f}function Zl(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}} +function $l(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=zb(b.pendingLanes);0!==c&&(Jb(b,c),of(b),0===(N&6)&&(nj=Ya()+500,rf(!1)))}break;case 13:vl(function(){var d=ie(a,2);null!==d&&Gg(d,a,2)}),am(a,2)}}function bm(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function am(a,b){bm(a,b);(a=a.alternate)&&bm(a,b)} +function cm(a){if(13===a.tag){var b=ie(a,67108864);null!==b&&Gg(b,a,67108864);am(a,67108864)}}function dm(){return null}var em=!1;function fm(a,b,c){if(em)return a(b,c);em=!0;try{return ul(a,b,c)}finally{if(em=!1,null!==Wc||null!==Xc)vl(),$c()}} +function gm(a,b){var c=a.stateNode;if(null===c)return null;var d=dc(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== +typeof c)throw Error(t(231,b,typeof c));return c}var hm=!1;if(kc)try{var im={};Object.defineProperty(im,"passive",{get:function(){hm=!0}});window.addEventListener("test",im,im);window.removeEventListener("test",im,im)}catch(a){hm=!1}function jm(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function km(){return!0}function lm(){return!1} +function mm(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?km:lm;this.isPropagationStopped=lm;return this}w(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& +(c.returnValue=!1),this.isDefaultPrevented=km)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=km)},persist:function(){},isPersistent:km});return b} +var nm={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},om=mm(nm),pm=w({},nm,{view:0,detail:0}),qm=mm(pm),rm,sm,tm,vm=w({},pm,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:um,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in +a)return a.movementX;a!==tm&&(tm&&"mousemove"===a.type?(rm=a.screenX-tm.screenX,sm=a.screenY-tm.screenY):sm=rm=0,tm=a);return rm},movementY:function(a){return"movementY"in a?a.movementY:sm}}),wm=mm(vm),xm=w({},vm,{dataTransfer:0}),ym=mm(xm),zm=w({},pm,{relatedTarget:0}),Am=mm(zm),Bm=w({},nm,{animationName:0,elapsedTime:0,pseudoElement:0}),Cm=mm(Bm),Dm=w({},nm,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Em=mm(Dm),Fm=w({},nm,{data:0}),Gm=mm(Fm),Hm={Esc:"Escape", +Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Im={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", +119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Jm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Km(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Jm[a])?!!b[a]:!1}function um(){return Km} +var Lm=w({},pm,{key:function(a){if(a.key){var b=Hm[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=jm(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Im[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:um,charCode:function(a){return"keypress"===a.type?jm(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== +a.type?jm(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Mm=mm(Lm),Nm=w({},vm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Om=mm(Nm),Pm=w({},pm,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:um}),Qm=mm(Pm),Rm=w({},nm,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sm=mm(Rm),Tm=w({},vm,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, +deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Um=mm(Tm); +function Vm(a,b,c,d,e){if("submit"===b&&c&&c.stateNode===e){var f=dc(e).action,g=d.submitter;g&&(b=(b=dc(g))?b.formAction:g.getAttribute("formAction"),null!=b&&(f=b,g=null));if("function"===typeof f){var h=new om("action","action",null,d,e);a.push({event:h,listeners:[{instance:null,listener:function(){if(!d.defaultPrevented){h.preventDefault();if(g){var l=g.ownerDocument.createElement("input");l.name=g.name;l.value=g.value;g.parentNode.insertBefore(l,g);var p=new FormData(e);l.parentNode.removeChild(l)}else p= +new FormData(e);ih(c,{pending:!0,data:p,method:e.method,action:f},f,p)}},currentTarget:e}]})}}}var Wm=!1,Xm=null,Ym=null,Zm=null,$m=new Map,an=new Map,bn=[],cn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); +function dn(a,b){switch(a){case "focusin":case "focusout":Xm=null;break;case "dragenter":case "dragleave":Ym=null;break;case "mouseover":case "mouseout":Zm=null;break;case "pointerover":case "pointerout":$m.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":an.delete(b.pointerId)}} +function en(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=bc(b),null!==b&&cm(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} +function fn(a,b,c,d,e){switch(b){case "focusin":return Xm=en(Xm,a,b,c,d,e),!0;case "dragenter":return Ym=en(Ym,a,b,c,d,e),!0;case "mouseover":return Zm=en(Zm,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;$m.set(f,en($m.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,an.set(f,en(an.get(f)||null,a,b,c,d,e)),!0}return!1} +function gn(a){var b=$b(a.target);if(null!==b){var c=ad(b);if(null!==c)if(b=c.tag,13===b){if(b=bd(c),null!==b){a.blockedOn=b;Nb(a.priority,function(){if(13===c.tag){var d=nh(c),e=ie(c,d);null!==e&&Gg(e,c,d);am(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} +function hn(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=jn(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Uc=d;c.target.dispatchEvent(d);Uc=null}else return b=bc(c),null!==b&&cm(b),a.blockedOn=c,!1;b.shift()}return!0}function kn(a,b,c){hn(a)&&c.delete(b)}function ln(){Wm=!1;null!==Xm&&hn(Xm)&&(Xm=null);null!==Ym&&hn(Ym)&&(Ym=null);null!==Zm&&hn(Zm)&&(Zm=null);$m.forEach(kn);an.forEach(kn)} +function mn(a,b){a.blockedOn===b&&(a.blockedOn=null,Wm||(Wm=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,ln)))}var nn=null;function on(a){nn!==a&&(nn=a,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){nn===a&&(nn=null);for(var b=0;b<a.length;b+=3){var c=a[b],d=a[b+1],e=a[b+2];if("function"!==typeof d)if(null===pn(d||c))continue;else break;var f=bc(c);null!==f&&(a.splice(b,3),b-=3,ih(f,{pending:!0,data:e,method:c.method,action:d},d,e))}}))} +function nk(a){function b(l){return mn(l,a)}null!==Xm&&mn(Xm,a);null!==Ym&&mn(Ym,a);null!==Zm&&mn(Zm,a);$m.forEach(b);an.forEach(b);for(var c=0;c<bn.length;c++){var d=bn[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<bn.length&&(c=bn[0],null===c.blockedOn);)gn(c),null===c.blockedOn&&bn.shift();c=a.getRootNode().$$reactFormReplay;if(null!=c)for(d=0;d<c.length;d+=3){var e=c[d],f=c[d+1],g=dc(e);if("function"===typeof f)g||on(c);else if(g){var h=null;if(f&&f.hasAttribute("formAction"))if(e=f,g=dc(f))h= +g.formAction;else{if(null!==pn(e))continue}else h=g.action;"function"===typeof h?c[d+1]=h:(c.splice(d,3),d-=3);on(c)}}}var qn=da.ReactCurrentBatchConfig,Mj=!0;function rn(a,b,c,d){var e=G,f=qn.transition;qn.transition=null;try{G=2,sn(a,b,c,d)}finally{G=e,qn.transition=f}}function tn(a,b,c,d){var e=G,f=qn.transition;qn.transition=null;try{G=8,sn(a,b,c,d)}finally{G=e,qn.transition=f}} +function sn(a,b,c,d){if(Mj){var e=jn(d);if(null===e)un(a,b,d,vn,c),dn(a,d);else if(fn(e,a,b,c,d))d.stopPropagation();else if(dn(a,d),b&4&&-1<cn.indexOf(a)){for(;null!==e;){var f=bc(e);null!==f&&$l(f);f=jn(d);null===f&&un(a,b,d,vn,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else un(a,b,d,null,c)}}function jn(a){a=Vc(a);return pn(a)}var vn=null; +function pn(a){vn=null;a=$b(a);if(null!==a){var b=ad(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=bd(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null)}}vn=a;return null} +function ml(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; +case "message":switch(Za()){case $a:return 2;case ab:return 8;case bb:case cb:return 32;case db:return 268435456;default:return 32}default:return 32}}var wn=null,xn=null,yn=null;function zn(){if(yn)return yn;var a,b=xn,c=b.length,d,e="value"in wn?wn.value:wn.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return yn=e.slice(a,1<d?1-d:void 0)}var Bn=[9,13,27,32],Cn=kc&&"CompositionEvent"in window,Dn=null;kc&&"documentMode"in document&&(Dn=document.documentMode); +var En=kc&&"TextEvent"in window&&!Dn,Fn=kc&&(!Cn||Dn&&8<Dn&&11>=Dn),Gn=String.fromCharCode(32),Hn=!1;function In(a,b){switch(a){case "keyup":return-1!==Bn.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function Jn(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Kn=!1; +function Ln(a,b){switch(a){case "compositionend":return Jn(b);case "keypress":if(32!==b.which)return null;Hn=!0;return Gn;case "textInput":return a=b.data,a===Gn&&Hn?null:a;default:return null}} +function Mn(a,b){if(Kn)return"compositionend"===a||!Cn&&In(a,b)?(a=zn(),yn=xn=wn=null,Kn=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return Fn&&"ko"!==b.locale?null:b.data;default:return null}} +var Nn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function On(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Nn[a.type]:"textarea"===b?!0:!1}function Pn(a,b,c,d){Zc(d);b=Qn(b,"onChange");0<b.length&&(c=new om("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var Rn=null,Sn=null;function Tn(a){Un(a,0)}function Vn(a){var b=cc(a);if(Dc(b))return a} +function Wn(a,b){if("change"===a)return b}var Xn=!1;if(kc){var Yn;if(kc){var Zn="oninput"in document;if(!Zn){var $n=document.createElement("div");$n.setAttribute("oninput","return;");Zn="function"===typeof $n.oninput}Yn=Zn}else Yn=!1;Xn=Yn&&(!document.documentMode||9<document.documentMode)}function ao(){Rn&&(Rn.detachEvent("onpropertychange",bo),Sn=Rn=null)}function bo(a){if("value"===a.propertyName&&Vn(Sn)){var b=[];Pn(b,Sn,a,Vc(a));fm(Tn,b)}} +function co(a,b,c){"focusin"===a?(ao(),Rn=b,Sn=c,Rn.attachEvent("onpropertychange",bo)):"focusout"===a&&ao()}function eo(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return Vn(Sn)}function fo(a,b){if("click"===a)return Vn(b)}function go(a,b){if("input"===a||"change"===a)return Vn(b)}function ho(a){for(;a&&a.firstChild;)a=a.firstChild;return a} +function io(a,b){var c=ho(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ho(c)}}function jo(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?jo(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} +function Nj(){for(var a=window,b=Ec();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Ec(a.document)}return b}function Oj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} +function Kl(a){var b=Nj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&jo(c.ownerDocument.documentElement,c)){if(null!==d&&Oj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=io(c,f);var g=io(c, d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}} -var eo=hc&&"documentMode"in document&&11>=document.documentMode,fo=null,go=null,ho=null,io=!1; -function jo(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;io||null==fo||fo!==Bc(d)||(d=fo,"selectionStart"in d&&Ij(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),ho&&te(ho,d)||(ho=d,d=Kn(go,"onSelect"),0<d.length&&(b=new im("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=fo)))} -function ko(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var lo={animationend:ko("Animation","AnimationEnd"),animationiteration:ko("Animation","AnimationIteration"),animationstart:ko("Animation","AnimationStart"),transitionend:ko("Transition","TransitionEnd")},mo={},no={}; -hc&&(no=document.createElement("div").style,"AnimationEvent"in window||(delete lo.animationend.animation,delete lo.animationiteration.animation,delete lo.animationstart.animation),"TransitionEvent"in window||delete lo.transitionend.transition);function oo(a){if(mo[a])return mo[a];if(!lo[a])return a;var b=lo[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in no)return mo[a]=b[c];return a}var po=oo("animationend"),qo=oo("animationiteration"),ro=oo("animationstart"),so=oo("transitionend"),to=new Map,uo="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); -function vo(a,b){to.set(a,b);fc(b,[a])}for(var wo=0;wo<uo.length;wo++){var xo=uo[wo],yo=xo.toLowerCase(),zo=xo[0].toUpperCase()+xo.slice(1);vo(yo,"on"+zo)}vo(po,"onAnimationEnd");vo(qo,"onAnimationIteration");vo(ro,"onAnimationStart");vo("dblclick","onDoubleClick");vo("focusin","onFocus");vo("focusout","onBlur");vo(so,"onTransitionEnd");gc("onMouseEnter",["mouseout","mouseover"]);gc("onMouseLeave",["mouseout","mouseover"]);gc("onPointerEnter",["pointerout","pointerover"]); -gc("onPointerLeave",["pointerout","pointerover"]);fc("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fc("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fc("onBeforeInput",["compositionend","keypress","textInput","paste"]);fc("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fc("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); -fc("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ao="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Bo=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ao)); -function Co(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;rj(d,b,void 0,a);a.currentTarget=null} -function On(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],l=h.instance,p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Co(e,h,p);f=l}else for(g=0;g<d.length;g++){h=d[g];l=h.instance;p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Co(e,h,p);f=l}}}if(nj)throw a=oj,nj=!1,oj=null,a;} -function Y(a,b){var c=b[Rb];void 0===c&&(c=b[Rb]=new Set);var d=a+"__bubble";c.has(d)||(Do(b,a,2,!1),c.add(d))}function Eo(a,b,c){var d=0;b&&(d|=4);Do(c,a,d,b)}var Fo="_reactListening"+Math.random().toString(36).slice(2);function fj(a){if(!a[Fo]){a[Fo]=!0;dc.forEach(function(c){"selectionchange"!==c&&(Bo.has(c)||Eo(c,!1,a),Eo(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[Fo]||(b[Fo]=!0,Eo("selectionchange",!1,b))}} -function Do(a,b,c,d){switch(gl(b)){case 2:var e=ln;break;case 8:e=nn;break;default:e=mn}c=e.bind(null,b,c,a);e=void 0;!bm||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} -function on(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var l=g.tag;if(3===l||4===l)if(l=g.stateNode.containerInfo,l===e||8===l.nodeType&&l.parentNode===e)return;g=g.return}for(;null!==h;){g=Xb(h);if(null===g)return;l=g.tag;if(5===l||6===l||26===l||27===l){d=f=g;continue a}h=h.parentNode}}d=d.return}$l(function(){var p= -f,q=Sc(c),x=[];a:{var r=to.get(a);if(void 0!==r){var u=im,A=a;switch(a){case "keypress":if(0===dm(c))break a;case "keydown":case "keyup":u=Gm;break;case "focusin":A="focus";u=um;break;case "focusout":A="blur";u=um;break;case "beforeblur":case "afterblur":u=um;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=qm;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= -sm;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=Km;break;case po:case qo:case ro:u=wm;break;case so:u=Mm;break;case "scroll":u=km;break;case "wheel":u=Om;break;case "copy":case "cut":case "paste":u=ym;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=Im}var C=0!==(b&4),J=!C&&"scroll"===a,Q=C?null!==r?r+"Capture":null:r;C=[];for(var m=p,k;null!== -m;){var n=m;k=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===k||null===Q||(n=am(m,Q),null!=n&&C.push(Go(m,n,k)));if(J)break;m=m.return}0<C.length&&(r=new u(r,A,null,c,q),x.push({event:r,listeners:C}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Rc&&(A=c.relatedTarget||c.fromElement)&&(Xb(A)||A[Qb]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(A=c.relatedTarget||c.toElement,u=p,A=A?Xb(A): -null,null!==A&&(J=Yc(A),C=A.tag,A!==J||5!==C&&27!==C&&6!==C))A=null}else u=null,A=p;if(u!==A){C=qm;n="onMouseLeave";Q="onMouseEnter";m="mouse";if("pointerout"===a||"pointerover"===a)C=Im,n="onPointerLeave",Q="onPointerEnter",m="pointer";J=null==u?r:$b(u);k=null==A?r:$b(A);r=new C(n,m+"leave",u,c,q);r.target=J;r.relatedTarget=k;n=null;Xb(q)===p&&(C=new C(Q,m+"enter",A,c,q),C.target=k,C.relatedTarget=J,n=C);J=n;if(u&&A)b:{C=u;Q=A;m=0;for(k=C;k;k=Ho(k))m++;k=0;for(n=Q;n;n=Ho(n))k++;for(;0<m-k;)C=Ho(C), -m--;for(;0<k-m;)Q=Ho(Q),k--;for(;m--;){if(C===Q||null!==Q&&C===Q.alternate)break b;C=Ho(C);Q=Ho(Q)}C=null}else C=null;null!==u&&Io(x,r,u,C,!1);null!==A&&null!==J&&Io(x,J,A,C,!0)}}}a:{r=p?$b(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=Qn;else if(In(r))if(Rn)v=$n;else{v=Yn;var y=Xn}else u=r.nodeName,!u||"input"!==u.toLowerCase()||"checkbox"!==r.type&&"radio"!==r.type?p&&Pc(p.elementType)&&(v=Qn):v=Zn;if(v&&(v=v(a,p))){Jn(x,v,c,q);break a}y&&y(a, -r,p);"focusout"===a&&p&&"number"===r.type&&null!=p.memoizedProps.value&&Fc(r,"number",r.value)}y=p?$b(p):window;switch(a){case "focusin":if(In(y)||"true"===y.contentEditable)fo=y,go=p,ho=null;break;case "focusout":ho=go=fo=null;break;case "mousedown":io=!0;break;case "contextmenu":case "mouseup":case "dragend":io=!1;jo(x,c,q);break;case "selectionchange":if(eo)break;case "keydown":case "keyup":jo(x,c,q)}var B;if(wn)b:{switch(a){case "compositionstart":var z="onCompositionStart";break b;case "compositionend":z= -"onCompositionEnd";break b;case "compositionupdate":z="onCompositionUpdate";break b}z=void 0}else En?Cn(a,c)&&(z="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(z="onCompositionStart");z&&(zn&&"ko"!==c.locale&&(En||"onCompositionStart"!==z?"onCompositionEnd"===z&&En&&(B=tn()):(qn=q,rn="value"in qn?qn.value:qn.textContent,En=!0)),y=Kn(p,z),0<y.length&&(z=new Am(z,a,null,c,q),x.push({event:z,listeners:y}),B?z.data=B:(B=Dn(c),null!==B&&(z.data=B))));if(B=yn?Fn(a,c):Gn(a,c))z=Kn(p,"onBeforeInput"), -0<z.length&&(y=new Am("onBeforeInput","beforeinput",null,c,q),x.push({event:y,listeners:z}),y.data=B);Pm(x,a,p,c,q)}On(x,b)})}function Go(a,b,c){return{instance:a,listener:b,currentTarget:c}}function Kn(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=am(a,c),null!=e&&d.unshift(Go(a,e,f)),e=am(a,b),null!=e&&d.push(Go(a,e,f)));a=a.return}return d} -function Ho(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null}function Io(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,l=h.alternate,p=h.stateNode;h=h.tag;if(null!==l&&l===d)break;5!==h&&26!==h&&27!==h||null===p||(l=p,e?(p=am(c,f),null!=p&&g.unshift(Go(c,p,l))):e||(p=am(c,f),null!=p&&g.push(Go(c,p,l))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var Jo=/\r\n?/g,Ko=/\u0000|\uFFFD/g; -function Lo(a){return("string"===typeof a?a:""+a).replace(Jo,"\n").replace(Ko,"")}function ej(a,b,c){b=Lo(b);if(Lo(a)!==b&&c)throw Error(t(425));}function ak(){} -function Z(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||Lc(a,d):"number"===typeof d&&"body"!==b&&Lc(a,""+d);break;case "className":nc(a,"class",d);break;case "tabIndex":nc(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":nc(a,c,d);break;case "style":Oc(a,d,f);break;case "src":case "href":if(""===d){a.removeAttribute(c);break}if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c); +var ko=kc&&"documentMode"in document&&11>=document.documentMode,lo=null,mo=null,no=null,oo=!1; +function po(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;oo||null==lo||lo!==Ec(d)||(d=lo,"selectionStart"in d&&Oj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),no&&we(no,d)||(no=d,d=Qn(mo,"onSelect"),0<d.length&&(b=new om("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=lo)))} +function qo(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var ro={animationend:qo("Animation","AnimationEnd"),animationiteration:qo("Animation","AnimationIteration"),animationstart:qo("Animation","AnimationStart"),transitionend:qo("Transition","TransitionEnd")},so={},to={}; +kc&&(to=document.createElement("div").style,"AnimationEvent"in window||(delete ro.animationend.animation,delete ro.animationiteration.animation,delete ro.animationstart.animation),"TransitionEvent"in window||delete ro.transitionend.transition);function uo(a){if(so[a])return so[a];if(!ro[a])return a;var b=ro[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in to)return so[a]=b[c];return a}var vo=uo("animationend"),wo=uo("animationiteration"),xo=uo("animationstart"),yo=uo("transitionend"),zo=new Map,Ao="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" "); +function Bo(a,b){zo.set(a,b);ic(b,[a])}for(var Co=0;Co<Ao.length;Co++){var Do=Ao[Co],Eo=Do.toLowerCase(),Fo=Do[0].toUpperCase()+Do.slice(1);Bo(Eo,"on"+Fo)}Bo(vo,"onAnimationEnd");Bo(wo,"onAnimationIteration");Bo(xo,"onAnimationStart");Bo("dblclick","onDoubleClick");Bo("focusin","onFocus");Bo("focusout","onBlur");Bo(yo,"onTransitionEnd");jc("onMouseEnter",["mouseout","mouseover"]);jc("onMouseLeave",["mouseout","mouseover"]);jc("onPointerEnter",["pointerout","pointerover"]); +jc("onPointerLeave",["pointerout","pointerover"]);ic("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ic("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ic("onBeforeInput",["compositionend","keypress","textInput","paste"]);ic("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ic("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); +ic("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Go="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ho=new Set("cancel close invalid load scroll scrollend toggle".split(" ").concat(Go)); +function Io(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;xj(d,b,void 0,a);a.currentTarget=null} +function Un(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],l=h.instance,p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Io(e,h,p);f=l}else for(g=0;g<d.length;g++){h=d[g];l=h.instance;p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Io(e,h,p);f=l}}}if(tj)throw a=uj,tj=!1,uj=null,a;} +function Y(a,b){var c=b[Ub];void 0===c&&(c=b[Ub]=new Set);var d=a+"__bubble";c.has(d)||(Jo(b,a,2,!1),c.add(d))}function Ko(a,b,c){var d=0;b&&(d|=4);Jo(c,a,d,b)}var Lo="_reactListening"+Math.random().toString(36).slice(2);function lj(a){if(!a[Lo]){a[Lo]=!0;gc.forEach(function(c){"selectionchange"!==c&&(Ho.has(c)||Ko(c,!1,a),Ko(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[Lo]||(b[Lo]=!0,Ko("selectionchange",!1,b))}} +function Jo(a,b,c,d){switch(ml(b)){case 2:var e=rn;break;case 8:e=tn;break;default:e=sn}c=e.bind(null,b,c,a);e=void 0;!hm||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} +function un(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var l=g.tag;if(3===l||4===l)if(l=g.stateNode.containerInfo,l===e||8===l.nodeType&&l.parentNode===e)return;g=g.return}for(;null!==h;){g=$b(h);if(null===g)return;l=g.tag;if(5===l||6===l||26===l||27===l){d=f=g;continue a}h=h.parentNode}}d=d.return}fm(function(){var p= +f,q=Vc(c),x=[];a:{var r=zo.get(a);if(void 0!==r){var u=om,A=a;switch(a){case "keypress":if(0===jm(c))break a;case "keydown":case "keyup":u=Mm;break;case "focusin":A="focus";u=Am;break;case "focusout":A="blur";u=Am;break;case "beforeblur":case "afterblur":u=Am;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=wm;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= +ym;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=Qm;break;case vo:case wo:case xo:u=Cm;break;case yo:u=Sm;break;case "scroll":case "scrollend":u=qm;break;case "wheel":u=Um;break;case "copy":case "cut":case "paste":u=Em;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=Om}var C=0!==(b&4),J=!C&&("scroll"===a||"scrollend"===a),Q=C?null!==r?r+"Capture": +null:r;C=[];for(var m=p,k;null!==m;){var n=m;k=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===k||null===Q||(n=gm(m,Q),null!=n&&C.push(Mo(m,n,k)));if(J)break;m=m.return}0<C.length&&(r=new u(r,A,null,c,q),x.push({event:r,listeners:C}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Uc&&(A=c.relatedTarget||c.fromElement)&&($b(A)||A[Tb]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(A=c.relatedTarget|| +c.toElement,u=p,A=A?$b(A):null,null!==A&&(J=ad(A),C=A.tag,A!==J||5!==C&&27!==C&&6!==C))A=null}else u=null,A=p;if(u!==A){C=wm;n="onMouseLeave";Q="onMouseEnter";m="mouse";if("pointerout"===a||"pointerover"===a)C=Om,n="onPointerLeave",Q="onPointerEnter",m="pointer";J=null==u?r:cc(u);k=null==A?r:cc(A);r=new C(n,m+"leave",u,c,q);r.target=J;r.relatedTarget=k;n=null;$b(q)===p&&(C=new C(Q,m+"enter",A,c,q),C.target=k,C.relatedTarget=J,n=C);J=n;if(u&&A)b:{C=u;Q=A;m=0;for(k=C;k;k=No(k))m++;k=0;for(n=Q;n;n=No(n))k++; +for(;0<m-k;)C=No(C),m--;for(;0<k-m;)Q=No(Q),k--;for(;m--;){if(C===Q||null!==Q&&C===Q.alternate)break b;C=No(C);Q=No(Q)}C=null}else C=null;null!==u&&Oo(x,r,u,C,!1);null!==A&&null!==J&&Oo(x,J,A,C,!0)}}}a:{r=p?cc(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=Wn;else if(On(r))if(Xn)v=go;else{v=eo;var y=co}else u=r.nodeName,!u||"input"!==u.toLowerCase()||"checkbox"!==r.type&&"radio"!==r.type?p&&Sc(p.elementType)&&(v=Wn):v=fo;if(v&&(v=v(a,p))){Pn(x, +v,c,q);break a}y&&y(a,r,p);"focusout"===a&&p&&"number"===r.type&&null!=p.memoizedProps.value&&Ic(r,"number",r.value)}y=p?cc(p):window;switch(a){case "focusin":if(On(y)||"true"===y.contentEditable)lo=y,mo=p,no=null;break;case "focusout":no=mo=lo=null;break;case "mousedown":oo=!0;break;case "contextmenu":case "mouseup":case "dragend":oo=!1;po(x,c,q);break;case "selectionchange":if(ko)break;case "keydown":case "keyup":po(x,c,q)}var B;if(Cn)b:{switch(a){case "compositionstart":var z="onCompositionStart"; +break b;case "compositionend":z="onCompositionEnd";break b;case "compositionupdate":z="onCompositionUpdate";break b}z=void 0}else Kn?In(a,c)&&(z="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(z="onCompositionStart");z&&(Fn&&"ko"!==c.locale&&(Kn||"onCompositionStart"!==z?"onCompositionEnd"===z&&Kn&&(B=zn()):(wn=q,xn="value"in wn?wn.value:wn.textContent,Kn=!0)),y=Qn(p,z),0<y.length&&(z=new Gm(z,a,null,c,q),x.push({event:z,listeners:y}),B?z.data=B:(B=Jn(c),null!==B&&(z.data=B))));if(B=En?Ln(a, +c):Mn(a,c))z=Qn(p,"onBeforeInput"),0<z.length&&(y=new Gm("onBeforeInput","beforeinput",null,c,q),x.push({event:y,listeners:z}),y.data=B);Vm(x,a,p,c,q)}Un(x,b)})}function Mo(a,b,c){return{instance:a,listener:b,currentTarget:c}}function Qn(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=gm(a,c),null!=e&&d.unshift(Mo(a,e,f)),e=gm(a,b),null!=e&&d.push(Mo(a,e,f)));a=a.return}return d} +function No(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null}function Oo(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,l=h.alternate,p=h.stateNode;h=h.tag;if(null!==l&&l===d)break;5!==h&&26!==h&&27!==h||null===p||(l=p,e?(p=gm(c,f),null!=p&&g.unshift(Mo(c,p,l))):e||(p=gm(c,f),null!=p&&g.push(Mo(c,p,l))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var Po=/\r\n?/g,Qo=/\u0000|\uFFFD/g; +function Ro(a){return("string"===typeof a?a:""+a).replace(Po,"\n").replace(Qo,"")}function kj(a,b,c){b=Ro(b);if(Ro(a)!==b&&c)throw Error(t(425));}function gk(){} +function Z(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||Oc(a,d):"number"===typeof d&&"body"!==b&&Oc(a,""+d);break;case "className":qc(a,"class",d);break;case "tabIndex":qc(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":qc(a,c,d);break;case "style":Rc(a,d,f);break;case "src":case "href":if(""===d){a.removeAttribute(c);break}if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c); break}a.setAttribute(c,""+d);break;case "action":case "formAction":if("function"===typeof d){a.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else"function"===typeof f&&("formAction"===c?("input"!==b&&Z(a,b,"name",e.name,e,null),Z(a,b,"formEncType", -e.formEncType,e,null),Z(a,b,"formMethod",e.formMethod,e,null),Z(a,b,"formTarget",e.formTarget,e,null)):(Z(a,b,"encType",e.encType,e,null),Z(a,b,"method",e.method,e,null),Z(a,b,"target",e.target,e,null)));if(null==d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=ak);break;case "onScroll":null!=d&&Y("scroll",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61)); -d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));a.innerHTML=d}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"===typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href"); -break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&& +e.formEncType,e,null),Z(a,b,"formMethod",e.formMethod,e,null),Z(a,b,"formTarget",e.formTarget,e,null)):(Z(a,b,"encType",e.encType,e,null),Z(a,b,"method",e.method,e,null),Z(a,b,"target",e.target,e,null)));if(null==d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=gk);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!== +typeof d||!("__html"in d))throw Error(t(61));d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));a.innerHTML=d}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"=== +typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href");break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&& "function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""):a.removeAttribute(c);break;case "capture":case "download":!0===d?a.setAttribute(c,""):!1!==d&&null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,d):a.removeAttribute(c);break;case "cols":case "rows":case "size":case "span":null!=d&&"function"!==typeof d&&"symbol"!==typeof d&&!isNaN(d)&&1<=d?a.setAttribute(c,d):a.removeAttribute(c);break;case "rowSpan":case "start":null==d||"function"===typeof d||"symbol"===typeof d|| -isNaN(d)?a.removeAttribute(c):a.setAttribute(c,d);break;case "xlinkActuate":oc(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":oc(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":oc(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":oc(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":oc(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":oc(a,"http://www.w3.org/1999/xlink","xlink:type", -d);break;case "xmlBase":oc(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":oc(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":oc(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":mc(a,"is",d);break;case "innerText":case "textContent":break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Qc.get(c)||c,mc(a,e,d)}} -function Mo(a,b,c,d,e,f){switch(c){case "style":Oc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));c=d.__html;if(null!=c){if(null!=e.children)throw Error(t(60));a.innerHTML=c}}break;case "children":"string"===typeof d?Lc(a,d):"number"===typeof d&&Lc(a,""+d);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onClick":null!=d&&(a.onclick=ak);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; -case "innerText":case "textContent":break;default:if(!ec.hasOwnProperty(c))a:{if("o"===c[0]&&"n"===c[1]&&(e=c.endsWith("Capture"),b=c.slice(2,e?c.length-7:void 0),f=ac(a),f=null!=f?f[c]:null,"function"===typeof f&&a.removeEventListener(b,f,e),"function"===typeof d)){"function"!==typeof f&&null!==f&&(c in a?a[c]=null:a.hasAttribute(c)&&a.removeAttribute(c));a.addEventListener(b,d,e);break a}c in a?a[c]=d:!0===d?a.setAttribute(c,""):mc(a,c,d)}}} -function dj(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Y("invalid",a);var d=null,e=null,f=null,g=null,h=null,l=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":l=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:Z(a, -b,q,p,c,null)}}Gc(a,f,g,h,l,e,d,!1);zc(a);return;case "select":Y("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:Z(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?Ic(a,!!q,b,!1):null!=c&&Ic(a,!!q,c,!0);return;case "textarea":Y("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= -g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:Z(a,b,e,g,c,null)}Kc(a,q,d,f);zc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:Z(a,b,g,q,c,null)}return;case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":Y("load",a);break;case "video":case "audio":for(q=0;q<Ao.length;q++)Y(Ao[q],a);break;case "image":Y("error",a);Y("load", -a);break;case "details":Y("toggle",a);break;case "embed":case "source":case "img":case "link":Y("error",a),Y("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:Z(a,b,h,q,c,null)}return;default:if(Pc(b)){for(l in c)c.hasOwnProperty(l)&&(q=c[l],null!=q&&Mo(a,b,l,q,c,null)); +isNaN(d)?a.removeAttribute(c):a.setAttribute(c,d);break;case "xlinkActuate":rc(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":rc(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":rc(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":rc(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":rc(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":rc(a,"http://www.w3.org/1999/xlink","xlink:type", +d);break;case "xmlBase":rc(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":rc(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":rc(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":pc(a,"is",d);break;case "innerText":case "textContent":break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Tc.get(c)||c,pc(a,e,d)}} +function So(a,b,c,d,e,f){switch(c){case "style":Rc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));c=d.__html;if(null!=c){if(null!=e.children)throw Error(t(60));a.innerHTML=c}}break;case "children":"string"===typeof d?Oc(a,d):"number"===typeof d&&Oc(a,""+d);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "onClick":null!=d&&(a.onclick=gk);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; +case "innerText":case "textContent":break;default:if(!hc.hasOwnProperty(c))a:{if("o"===c[0]&&"n"===c[1]&&(e=c.endsWith("Capture"),b=c.slice(2,e?c.length-7:void 0),f=dc(a),f=null!=f?f[c]:null,"function"===typeof f&&a.removeEventListener(b,f,e),"function"===typeof d)){"function"!==typeof f&&null!==f&&(c in a?a[c]=null:a.hasAttribute(c)&&a.removeAttribute(c));a.addEventListener(b,d,e);break a}c in a?a[c]=d:!0===d?a.setAttribute(c,""):pc(a,c,d)}}} +function jj(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Y("invalid",a);var d=null,e=null,f=null,g=null,h=null,l=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":l=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:Z(a, +b,q,p,c,null)}}Jc(a,f,g,h,l,e,d,!1);Cc(a);return;case "select":Y("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:Z(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?Lc(a,!!q,b,!1):null!=c&&Lc(a,!!q,c,!0);return;case "textarea":Y("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= +g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:Z(a,b,e,g,c,null)}Nc(a,q,d,f);Cc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:Z(a,b,g,q,c,null)}return;case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":Y("load",a);break;case "video":case "audio":for(q=0;q<Go.length;q++)Y(Go[q],a);break;case "image":Y("error",a);Y("load", +a);break;case "details":Y("toggle",a);break;case "embed":case "source":case "img":case "link":Y("error",a),Y("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:Z(a,b,h,q,c,null)}return;default:if(Sc(b)){for(l in c)c.hasOwnProperty(l)&&(q=c[l],null!=q&&So(a,b,l,q,c,null)); return}}for(f in c)c.hasOwnProperty(f)&&(q=c[f],null!=q&&Z(a,b,f,q,c,null))} -function tk(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,l=null,p=null,q=null;for(u in c){var x=c[u];if(c.hasOwnProperty(u)&&null!=x)switch(u){case "checked":break;case "value":break;case "defaultValue":l=x;default:d.hasOwnProperty(u)||Z(a,b,u,null,d,x)}}for(var r in d){var u=d[r];x=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=x))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= -u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==x&&Z(a,b,r,u,d,x)}}Ec(a,g,h,l,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(l=c[f],c.hasOwnProperty(f)&&null!=l)switch(f){case "value":break;case "multiple":u=l;default:d.hasOwnProperty(f)||Z(a,b,f,null,d,l)}for(e in d)if(f=d[e],l=c[e],d.hasOwnProperty(e)&&(null!=f||null!=l))switch(e){case "value":r= -f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==l&&Z(a,b,e,f,d,l)}b=h;c=g;d=u;null!=r?Ic(a,!!c,r,!1):!!d!==!!c&&(null!=b?Ic(a,!!c,b,!0):Ic(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:Z(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; -case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&Z(a,b,g,e,d,f)}Jc(a,r,u);return;case "option":for(var A in c)if(r=c[A],c.hasOwnProperty(A)&&null!=r&&!d.hasOwnProperty(A))switch(A){case "selected":a.selected=!1;break;default:Z(a,b,A,null,d,r)}for(l in d)if(r=d[l],u=c[l],d.hasOwnProperty(l)&&r!==u&&(null!=r||null!=u))switch(l){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:Z(a,b,l,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var C in c)r= -c[C],c.hasOwnProperty(C)&&null!=r&&!d.hasOwnProperty(C)&&Z(a,b,C,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:Z(a,b,p,r,d,u)}return;default:if(Pc(b)){for(var J in c)r=c[J],c.hasOwnProperty(J)&&null!=r&&!d.hasOwnProperty(J)&&Mo(a,b,J,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||Mo(a,b,q,r,d,u);return}}for(var Q in c)r=c[Q], -c.hasOwnProperty(Q)&&null!=r&&!d.hasOwnProperty(Q)&&Z(a,b,Q,null,d,r);for(x in d)r=d[x],u=c[x],!d.hasOwnProperty(x)||r===u||null==r&&null==u||Z(a,b,x,r,d,u)}var Fj=null,Jj=null;function cj(a){return 9===a.nodeType?a:a.ownerDocument}function Na(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} -function Oa(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Ud(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} -var jl="function"===typeof setTimeout?setTimeout:void 0,rl="function"===typeof clearTimeout?clearTimeout:void 0,No="function"===typeof Promise?Promise:void 0,Df="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof No?function(a){return No.resolve(null).then(a).catch(Oo)}:jl;function Oo(a){setTimeout(function(){throw a;})} -function gk(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);hk(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);hk(b)}function Kj(a){var b=a.nodeType;if(9===b)Po(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":Po(a);break;default:a.textContent=""}} -function Po(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":Po(c);Wb(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} -function Jd(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d&&("INPUT"!==a.nodeName||"hidden"!==a.type))break}else if(!d)if("input"===b&&"hidden"===a.type){var f=null==e.name?null:""+e.name;if("hidden"===e.type&&a.getAttribute("name")===f)return a}else return a;else if(!a[Vb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel|| +function zk(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,l=null,p=null,q=null;for(u in c){var x=c[u];if(c.hasOwnProperty(u)&&null!=x)switch(u){case "checked":break;case "value":break;case "defaultValue":l=x;default:d.hasOwnProperty(u)||Z(a,b,u,null,d,x)}}for(var r in d){var u=d[r];x=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=x))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= +u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==x&&Z(a,b,r,u,d,x)}}Hc(a,g,h,l,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(l=c[f],c.hasOwnProperty(f)&&null!=l)switch(f){case "value":break;case "multiple":u=l;default:d.hasOwnProperty(f)||Z(a,b,f,null,d,l)}for(e in d)if(f=d[e],l=c[e],d.hasOwnProperty(e)&&(null!=f||null!=l))switch(e){case "value":r= +f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==l&&Z(a,b,e,f,d,l)}b=h;c=g;d=u;null!=r?Lc(a,!!c,r,!1):!!d!==!!c&&(null!=b?Lc(a,!!c,b,!0):Lc(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:Z(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; +case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&Z(a,b,g,e,d,f)}Mc(a,r,u);return;case "option":for(var A in c)if(r=c[A],c.hasOwnProperty(A)&&null!=r&&!d.hasOwnProperty(A))switch(A){case "selected":a.selected=!1;break;default:Z(a,b,A,null,d,r)}for(l in d)if(r=d[l],u=c[l],d.hasOwnProperty(l)&&r!==u&&(null!=r||null!=u))switch(l){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:Z(a,b,l,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var C in c)r= +c[C],c.hasOwnProperty(C)&&null!=r&&!d.hasOwnProperty(C)&&Z(a,b,C,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:Z(a,b,p,r,d,u)}return;default:if(Sc(b)){for(var J in c)r=c[J],c.hasOwnProperty(J)&&null!=r&&!d.hasOwnProperty(J)&&So(a,b,J,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||So(a,b,q,r,d,u);return}}for(var Q in c)r=c[Q], +c.hasOwnProperty(Q)&&null!=r&&!d.hasOwnProperty(Q)&&Z(a,b,Q,null,d,r);for(x in d)r=d[x],u=c[x],!d.hasOwnProperty(x)||r===u||null==r&&null==u||Z(a,b,x,r,d,u)}var Lj=null,Pj=null;function ij(a){return 9===a.nodeType?a:a.ownerDocument}function Pa(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} +function Qa(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Xd(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} +var pl="function"===typeof setTimeout?setTimeout:void 0,xl="function"===typeof clearTimeout?clearTimeout:void 0,To="function"===typeof Promise?Promise:void 0,Hf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof To?function(a){return To.resolve(null).then(a).catch(Uo)}:pl;function Uo(a){setTimeout(function(){throw a;})} +function mk(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);nk(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);nk(b)}function Qj(a){var b=a.nodeType;if(9===b)Vo(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":Vo(a);break;default:a.textContent=""}} +function Vo(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":Vo(c);Zb(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} +function Md(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d&&("INPUT"!==a.nodeName||"hidden"!==a.type))break}else if(!d)if("input"===b&&"hidden"===a.type){var f=null==e.name?null:""+e.name;if("hidden"===e.type&&a.getAttribute("name")===f)return a}else return a;else if(!a[Yb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel|| a.getAttribute("href")!==(null==e.href?null:e.href)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin)||a.getAttribute("title")!==(null==e.title?null:e.title))break;return a;case "style":if(a.hasAttribute("data-precedence"))break;return a;case "script":f=a.getAttribute("src");if((f!==(null==e.src?null:e.src)||a.getAttribute("type")!==(null==e.type?null:e.type)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin))&&f&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break; -return a;default:return a}a=Od(a);if(null===a)break}return null}function Md(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Od(a);if(null===a)return null}return a}function Kd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Od(a){return Kd(a.nextSibling)} -function aj(a,b,c,d,e){a[Ob]=e;a[Pb]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e<Ao.length;e++)Y(Ao[e],a);break;case "source":Y("error",a);break;case "img":case "image":case "link":Y("error",a);Y("load",a);break;case "details":Y("toggle",a);break;case "input":Y("invalid",a);Gc(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);zc(a);break;case "select":Y("invalid", -a);break;case "textarea":Y("invalid",a),Kc(a,c.value,c.defaultValue,c.children),zc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&ej(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Y("scroll",a);null!=c.onClick&&(a.onclick=ak)} -function Yb(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function bj(a,b,c){b=cj(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var Qo=new Map,Ro=new Set; -function vk(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var Zo={prefetchDNS:So,preconnect:To,preload:Uo,preloadModule:Vo,preinitStyle:Wo,preinitScript:Xo,preinitModuleScript:Yo}; -function $o(a,b,c){var d=document;if("string"===typeof b&&b){var e=Dc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');Ro.has(e)||(Ro.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),dj(b,"link",a),cc(b),d.head.appendChild(b)))}}function So(a){$o("dns-prefetch",a,null)}function To(a,b){$o("preconnect",a,b)} -function Uo(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+Dc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+Dc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+Dc(c.imageSizes)+'"]')):e+='[href="'+Dc(a)+'"]':e+='[href="'+Dc(a)+'"]';var f=e;switch(b){case "style":f=ap(a);break;case "script":f=bp(a)}Qo.has(f)||(a=w({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),Qo.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(cp(f))|| -"script"===b&&d.querySelector(dp(f))||(b=d.createElement("link"),dj(b,"link",a),cc(b),d.head.appendChild(b)))}} -function Vo(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+Dc(d)+'"][href="'+Dc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=bp(a)}if(!Qo.has(f)&&(a=w({rel:"modulepreload",href:a},b),Qo.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(dp(f)))return}d=c.createElement("link"); -dj(d,"link",a);cc(d);c.head.appendChild(d)}}} -function Wo(a,b,c){var d=document;if(a){var e=bc(d).hoistableStyles,f=ap(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(cp(f)))h.loading=1;else{a=w({rel:"stylesheet",href:a,"data-precedence":b},c);(c=Qo.get(f))&&ep(a,c);var l=g=d.createElement("link");cc(l);dj(l,"link",a);l._p=new Promise(function(p,q){l.onload=p;l.onerror=q});l.addEventListener("load",function(){h.loading|=1});l.addEventListener("error",function(){h.loading|=2});h.loading|=4;fp(g,b,d)}g= -{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function Xo(a,b){var c=document;if(a){var d=bc(c).hoistableScripts,e=bp(a),f=d.get(e);f||(f=c.querySelector(dp(e)),f||(a=w({src:a,async:!0},b),(b=Qo.get(e))&&gp(a,b),f=c.createElement("script"),cc(f),dj(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function Yo(a,b){var c=document;if(a){var d=bc(c).hoistableScripts,e=bp(a),f=d.get(e);f||(f=c.querySelector(dp(e)),f||(a=w({src:a,async:!0,type:"module"},b),(b=Qo.get(e))&&gp(a,b),f=c.createElement("script"),cc(f),dj(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function Kl(a,b,c){b=(b=Ja.current)?vk(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=ap(c.href),b=bc(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=ap(c.href);var d=bc(b).hoistableStyles,e=d.get(a); -e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),Qo.has(a)||hp(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=bp(c.src),b=bc(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", -instance:null,count:0,state:null};default:throw Error(t(444,a));}}function ap(a){return'href="'+Dc(a)+'"'}function cp(a){return'link[rel="stylesheet"]['+a+"]"}function ip(a){return w({},a,{"data-precedence":a.precedence,precedence:null})} -function hp(a,b,c,d){Qo.set(b,c);a.querySelector(cp(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),dj(b,"link",c),cc(b),a.head.appendChild(b)))}function bp(a){return'[src="'+Dc(a)+'"]'}function dp(a){return"script[async]"+a} -function sk(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+Dc(c.href)+'"]');if(d)return b.instance=d,cc(d),d;var e=w({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");cc(d);dj(d,"style",e);fp(d,c.precedence,a);return b.instance=d;case "stylesheet":e=ap(c.href);var f=a.querySelector(cp(e));if(f)return b.instance=f,cc(f),f;d=ip(c);(e=Qo.get(e))&&ep(d,e);f=(a.ownerDocument|| -a).createElement("link");cc(f);var g=f;g._p=new Promise(function(h,l){g.onload=h;g.onerror=l});dj(f,"link",d);b.state.loading|=4;fp(f,c.precedence,a);return b.instance=f;case "script":f=bp(c.src);if(e=a.querySelector(dp(f)))return b.instance=e,cc(e),e;d=c;if(e=Qo.get(f))d=w({},c),gp(d,e);a=a.ownerDocument||a;e=a.createElement("script");cc(e);dj(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& -4)&&(d=b.instance,b.state.loading|=4,fp(d,c.precedence,a));return b.instance}function fp(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} -function ep(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function gp(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var uk=null; -function qk(a,b,c){if(null===uk){var d=new Map;var e=uk=new Map;e.set(c,d)}else e=uk,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Vb]||f[Ob]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} -function rk(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} -function Ml(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} -var ll=null;function ml(){} -function Jk(a,b,c){if(null===ll)throw Error(t(475));var d=ll;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=ap(c.href),f=a.querySelector(cp(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=jp.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;cc(f);return}f=a.ownerDocument||a;c=ip(c);(e=Qo.get(e))&&ep(c,e);f=f.createElement("link");cc(f);var g=f;g._p=new Promise(function(h,l){g.onload=h; -g.onerror=l});dj(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=jp.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} -function nl(){if(null===ll)throw Error(t(475));var a=ll;a.stylesheets&&0===a.count&&kp(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&kp(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function jp(){this.count--;if(0===this.count)if(this.stylesheets)kp(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var lp=null; -function kp(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,lp=new Map,b.forEach(mp,a),lp=null,jp.call(a))} -function mp(a,b){if(!(b.state.loading&4)){var c=lp.get(a);if(c)var d=c.get("last");else{c=new Map;lp.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=jp.bind(this);e.addEventListener("load",d);e.addEventListener("error", -d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var np=ca.Dispatcher;"undefined"!==typeof document&&(np.current=Zo);var op="function"===typeof reportError?reportError:function(a){console.error(a)};function pp(a){this._internalRoot=a}qp.prototype.render=pp.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));Sl(a,b,null,null)}; -qp.prototype.unmount=pp.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;pl(function(){Sl(null,a,null,null)});b[Qb]=null}};function qp(a){this._internalRoot=a}qp.prototype.unstable_scheduleHydration=function(a){if(a){var b=G;a={blockedOn:null,target:a,priority:b};for(var c=0;c<Wm.length&&0!==b&&b<Wm[c].priority;c++);Wm.splice(c,0,a);0===c&&an(a)}};function rp(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} -function sp(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function tp(){} -function up(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=Tl(g);f.call(p)}}var g=Rl(b,d,a,0,null,!1,!1,"",tp,null,null);a._reactRootContainer=g;a[Qb]=g.current;fj(8===a.nodeType?a.parentNode:a);pl();return g}Kj(a);if("function"===typeof d){var h=d;d=function(){var p=Tl(l);h.call(p)}}var l=Ol(a,0,!1,null,null,!1,!1,"",tp,null,null);a._reactRootContainer=l;a[Qb]=l.current;fj(8===a.nodeType?a.parentNode:a);pl(function(){Sl(b,l,c,d)});return l} -function vp(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var l=Tl(g);h.call(l)}}Sl(b,g,a,e)}else g=up(c,b,a,e,d);return Tl(g)}function wp(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var xp=ca.Dispatcher;ca.Events=[Zb,$b,ac,Wc,Xc,ol];var yp={findFiberByHostInstance:Xb,bundleType:0,version:"18.3.0-experimental-d900fadbf-20230929",rendererPackageName:"react-dom"}; -(function(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{a=w({},a,{getLaneLabelMap:hb,injectProfilingHooks:gb}),cb=b.inject(a),db=b}catch(c){}return b.checkDCE?!0:!1})({bundleType:yp.bundleType,version:yp.version,rendererPackageName:yp.rendererPackageName,rendererConfig:yp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null, -overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=bd(a);return null===a?null:a.stateNode},findFiberByHostInstance:yp.findFiberByHostInstance||Yl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-experimental-d900fadbf-20230929"}); -exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca;exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!rp(b))throw Error(t(200));return Pl(a,b,null,c)}; -exports.createRoot=function(a,b){if(!rp(a))throw Error(t(299));var c=!1,d="",e=op,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=Ol(a,1,!1,null,null,c,!1,d,e,f,null);a[Qb]=b.current;np.current=Zo;fj(8===a.nodeType?a.parentNode:a);return new pp(b)}; -exports.experimental_useFormState=function(a,b,c){return ea.current.useFormState(a,b,c)};exports.experimental_useFormStatus=function(){return ea.current.useHostTransitionStatus()};exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=bd(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return pl(a)}; -exports.hydrate=function(a,b,c){if(!sp(b))throw Error(t(200));return vp(null,a,b,!0,c)}; -exports.hydrateRoot=function(a,b,c){if(!rp(a))throw Error(t(405));var d=!1,e="",f=op,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.experimental_formState&&(h=c.experimental_formState));b=Rl(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Qb]=b.current;np.current=Zo;fj(a);return new qp(b)}; -exports.preconnect=function(a,b){var c=xp.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=xp.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; -exports.preinit=function(a,b){var c=xp.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=wp(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; -exports.preinitModule=function(a,b){var c=xp.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=wp(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; -exports.preload=function(a,b){var c=xp.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=wp(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== -typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=xp.current;if(c&&"string"===typeof a)if(b){var d=wp(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!sp(b))throw Error(t(200));return vp(null,a,b,!1,c)}; -exports.unmountComponentAtNode=function(a){if(!sp(a))throw Error(t(40));return a._reactRootContainer?(pl(function(){vp(null,null,a,!1,function(){a._reactRootContainer=null;a[Qb]=null})}),!0):!1};exports.unstable_batchedUpdates=ol;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!sp(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return vp(a,b,c,!1,d)};exports.unstable_runWithPriority=Jb;exports.version="18.3.0-experimental-d900fadbf-20230929"; +return a;default:return a}a=Rd(a);if(null===a)break}return null}function Pd(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Rd(a);if(null===a)return null}return a}function Nd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Rd(a){return Nd(a.nextSibling)} +function gj(a,b,c,d,e){a[Rb]=e;a[Sb]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e<Go.length;e++)Y(Go[e],a);break;case "source":Y("error",a);break;case "img":case "image":case "link":Y("error",a);Y("load",a);break;case "details":Y("toggle",a);break;case "input":Y("invalid",a);Jc(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);Cc(a);break;case "select":Y("invalid", +a);break;case "textarea":Y("invalid",a),Nc(a,c.value,c.defaultValue,c.children),Cc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&kj(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Y("scroll",a);null!=c.onScrollEnd&&Y("scrollend",a);null!=c.onClick&&(a.onclick=gk)} +function ac(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function hj(a,b,c){b=ij(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var Wo=new Map,Xo=new Set; +function Bk(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var ep={prefetchDNS:Yo,preconnect:Zo,preload:$o,preloadModule:ap,preinitStyle:bp,preinitScript:cp,preinitModuleScript:dp}; +function fp(a,b,c){var d=document;if("string"===typeof b&&b){var e=Gc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');Xo.has(e)||(Xo.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),jj(b,"link",a),fc(b),d.head.appendChild(b)))}}function Yo(a){fp("dns-prefetch",a,null)}function Zo(a,b){fp("preconnect",a,b)} +function $o(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+Gc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+Gc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+Gc(c.imageSizes)+'"]')):e+='[href="'+Gc(a)+'"]':e+='[href="'+Gc(a)+'"]';var f=e;switch(b){case "style":f=gp(a);break;case "script":f=hp(a)}Wo.has(f)||(a=w({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),Wo.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(ip(f))|| +"script"===b&&d.querySelector(jp(f))||(b=d.createElement("link"),jj(b,"link",a),fc(b),d.head.appendChild(b)))}} +function ap(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+Gc(d)+'"][href="'+Gc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=hp(a)}if(!Wo.has(f)&&(a=w({rel:"modulepreload",href:a},b),Wo.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(jp(f)))return}d=c.createElement("link"); +jj(d,"link",a);fc(d);c.head.appendChild(d)}}} +function bp(a,b,c){var d=document;if(a){var e=ec(d).hoistableStyles,f=gp(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(ip(f)))h.loading=1;else{a=w({rel:"stylesheet",href:a,"data-precedence":b},c);(c=Wo.get(f))&&kp(a,c);var l=g=d.createElement("link");fc(l);jj(l,"link",a);l._p=new Promise(function(p,q){l.onload=p;l.onerror=q});l.addEventListener("load",function(){h.loading|=1});l.addEventListener("error",function(){h.loading|=2});h.loading|=4;lp(g,b,d)}g= +{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function cp(a,b){var c=document;if(a){var d=ec(c).hoistableScripts,e=hp(a),f=d.get(e);f||(f=c.querySelector(jp(e)),f||(a=w({src:a,async:!0},b),(b=Wo.get(e))&&mp(a,b),f=c.createElement("script"),fc(f),jj(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function dp(a,b){var c=document;if(a){var d=ec(c).hoistableScripts,e=hp(a),f=d.get(e);f||(f=c.querySelector(jp(e)),f||(a=w({src:a,async:!0,type:"module"},b),(b=Wo.get(e))&&mp(a,b),f=c.createElement("script"),fc(f),jj(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function Ql(a,b,c){b=(b=La.current)?Bk(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=gp(c.href),b=ec(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=gp(c.href);var d=ec(b).hoistableStyles,e=d.get(a); +e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),Wo.has(a)||np(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=hp(c.src),b=ec(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", +instance:null,count:0,state:null};default:throw Error(t(444,a));}}function gp(a){return'href="'+Gc(a)+'"'}function ip(a){return'link[rel="stylesheet"]['+a+"]"}function op(a){return w({},a,{"data-precedence":a.precedence,precedence:null})} +function np(a,b,c,d){Wo.set(b,c);a.querySelector(ip(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),jj(b,"link",c),fc(b),a.head.appendChild(b)))}function hp(a){return'[src="'+Gc(a)+'"]'}function jp(a){return"script[async]"+a} +function yk(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+Gc(c.href)+'"]');if(d)return b.instance=d,fc(d),d;var e=w({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");fc(d);jj(d,"style",e);lp(d,c.precedence,a);return b.instance=d;case "stylesheet":e=gp(c.href);var f=a.querySelector(ip(e));if(f)return b.instance=f,fc(f),f;d=op(c);(e=Wo.get(e))&&kp(d,e);f=(a.ownerDocument|| +a).createElement("link");fc(f);var g=f;g._p=new Promise(function(h,l){g.onload=h;g.onerror=l});jj(f,"link",d);b.state.loading|=4;lp(f,c.precedence,a);return b.instance=f;case "script":f=hp(c.src);if(e=a.querySelector(jp(f)))return b.instance=e,fc(e),e;d=c;if(e=Wo.get(f))d=w({},c),mp(d,e);a=a.ownerDocument||a;e=a.createElement("script");fc(e);jj(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& +4)&&(d=b.instance,b.state.loading|=4,lp(d,c.precedence,a));return b.instance}function lp(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} +function kp(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function mp(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var Ak=null; +function wk(a,b,c){if(null===Ak){var d=new Map;var e=Ak=new Map;e.set(c,d)}else e=Ak,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Yb]||f[Rb]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} +function xk(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} +function Sl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} +var rl=null;function sl(){} +function Pk(a,b,c){if(null===rl)throw Error(t(475));var d=rl;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=gp(c.href),f=a.querySelector(ip(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=pp.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;fc(f);return}f=a.ownerDocument||a;c=op(c);(e=Wo.get(e))&&kp(c,e);f=f.createElement("link");fc(f);var g=f;g._p=new Promise(function(h,l){g.onload=h; +g.onerror=l});jj(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=pp.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} +function tl(){if(null===rl)throw Error(t(475));var a=rl;a.stylesheets&&0===a.count&&qp(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&qp(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function pp(){this.count--;if(0===this.count)if(this.stylesheets)qp(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var rp=null; +function qp(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,rp=new Map,b.forEach(sp,a),rp=null,pp.call(a))} +function sp(a,b){if(!(b.state.loading&4)){var c=rp.get(a);if(c)var d=c.get("last");else{c=new Map;rp.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=pp.bind(this);e.addEventListener("load",d);e.addEventListener("error", +d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var tp=ca.Dispatcher;"undefined"!==typeof document&&(tp.current=ep);var up="function"===typeof reportError?reportError:function(a){console.error(a)};function vp(a){this._internalRoot=a}wp.prototype.render=vp.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));Yl(a,b,null,null)}; +wp.prototype.unmount=vp.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;vl(function(){Yl(null,a,null,null)});b[Tb]=null}};function wp(a){this._internalRoot=a}wp.prototype.unstable_scheduleHydration=function(a){if(a){var b=G;a={blockedOn:null,target:a,priority:b};for(var c=0;c<bn.length&&0!==b&&b<bn[c].priority;c++);bn.splice(c,0,a);0===c&&gn(a)}};function xp(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} +function yp(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function zp(){} +function Ap(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=Zl(g);f.call(p)}}var g=Xl(b,d,a,0,null,!1,!1,"",zp,null,null);a._reactRootContainer=g;a[Tb]=g.current;lj(8===a.nodeType?a.parentNode:a);vl();return g}Qj(a);if("function"===typeof d){var h=d;d=function(){var p=Zl(l);h.call(p)}}var l=Ul(a,0,!1,null,null,!1,!1,"",zp,null,null);a._reactRootContainer=l;a[Tb]=l.current;lj(8===a.nodeType?a.parentNode:a);vl(function(){Yl(b,l,c,d)});return l} +function Bp(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var l=Zl(g);h.call(l)}}Yl(b,g,a,e)}else g=Ap(c,b,a,e,d);return Zl(g)}function Cp(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var Dp=ca.Dispatcher;ca.Events=[bc,cc,dc,Zc,$c,ul];var Ep={findFiberByHostInstance:$b,bundleType:0,version:"18.3.0-experimental-d803f519e-20231020",rendererPackageName:"react-dom"}; +(function(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{a=w({},a,{getLaneLabelMap:jb,injectProfilingHooks:ib}),eb=b.inject(a),fb=b}catch(c){}return b.checkDCE?!0:!1})({bundleType:Ep.bundleType,version:Ep.version,rendererPackageName:Ep.rendererPackageName,rendererConfig:Ep.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null, +overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=ed(a);return null===a?null:a.stateNode},findFiberByHostInstance:Ep.findFiberByHostInstance||dm,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-experimental-d803f519e-20231020"}); +exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca;exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!xp(b))throw Error(t(200));return Vl(a,b,null,c)}; +exports.createRoot=function(a,b){if(!xp(a))throw Error(t(299));var c=!1,d="",e=up,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=Ul(a,1,!1,null,null,c,!1,d,e,f,null);a[Tb]=b.current;tp.current=ep;lj(8===a.nodeType?a.parentNode:a);return new vp(b)}; +exports.experimental_useFormState=function(a,b,c){return ia(a,b,c)};exports.experimental_useFormStatus=function(){return ha()};exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=ed(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return vl(a)}; +exports.hydrate=function(a,b,c){if(!yp(b))throw Error(t(200));return Bp(null,a,b,!0,c)}; +exports.hydrateRoot=function(a,b,c){if(!xp(a))throw Error(t(405));var d=!1,e="",f=up,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.formState&&(h=c.formState));b=Xl(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Tb]=b.current;tp.current=ep;lj(a);return new wp(b)}; +exports.preconnect=function(a,b){var c=Dp.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=Dp.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; +exports.preinit=function(a,b){var c=Dp.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=Cp(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; +exports.preinitModule=function(a,b){var c=Dp.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=Cp(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; +exports.preload=function(a,b){var c=Dp.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=Cp(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== +typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=Dp.current;if(c&&"string"===typeof a)if(b){var d=Cp(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!yp(b))throw Error(t(200));return Bp(null,a,b,!1,c)}; +exports.unmountComponentAtNode=function(a){if(!yp(a))throw Error(t(40));return a._reactRootContainer?(vl(function(){Bp(null,null,a,!1,function(){a._reactRootContainer=null;a[Tb]=null})}),!0):!1};exports.unstable_batchedUpdates=ul;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!yp(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return Bp(a,b,c,!1,d)};exports.unstable_runWithPriority=Nb;exports.useFormState=ia;exports.useFormStatus=ha; +exports.version="18.3.0-experimental-d803f519e-20231020"; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( diff --git a/packages/next/src/compiled/react-dom-experimental/package.json b/packages/next/src/compiled/react-dom-experimental/package.json index f2e6d2ee28951..7c758f1da9b7f 100644 --- a/packages/next/src/compiled/react-dom-experimental/package.json +++ b/packages/next/src/compiled/react-dom-experimental/package.json @@ -42,10 +42,10 @@ }, "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "0.0.0-experimental-d900fadbf-20230929" + "scheduler": "0.0.0-experimental-d803f519e-20231020" }, "peerDependencies": { - "react": "0.0.0-experimental-d900fadbf-20230929" + "react": "0.0.0-experimental-d803f519e-20231020" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js index 4d2e43ea136cb..db449a9f7476f 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react"); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; +var ReactVersion = '18.3.0-canary-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -74,6 +74,98 @@ function printWarning(level, format, args) { } } +// A pure JS implementation of a string hashing function. We do not use it for +// security or obfuscation purposes, only to create compact hashes. So we +// prioritize speed over collision avoidance. For example, we use this to hash +// the component key path used by useFormState for MPA-style submissions. +// +// In environments where built-in hashing functions are available, we prefer +// those instead. Like Node's crypto module, or Bun.hash. Unfortunately this +// does not include the web standard crypto API because those methods are all +// async. For our purposes, we need it to be sync because the cost of context +// switching is too high to be worth it. +// +// The most popular hashing algorithm that meets these requirements in the JS +// ecosystem is MurmurHash3, and almost all implementations I could find used +// some version of the implementation by Gary Court inlined below. +function createFastHashJS(key) { + return murmurhash3_32_gc(key, 0); +} +/* eslint-disable prefer-const, no-fallthrough */ + +/** + * @license + * + * JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) + * + * Copyright (c) 2011 Gary Court + * 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. + */ + +function murmurhash3_32_gc(key, seed) { + var remainder, bytes, h1, h1b, c1, c2, k1, i; + remainder = key.length & 3; // key.length % 4 + + bytes = key.length - remainder; + h1 = seed; + c1 = 0xcc9e2d51; + c2 = 0x1b873593; + i = 0; + + while (i < bytes) { + k1 = key.charCodeAt(i) & 0xff | (key.charCodeAt(++i) & 0xff) << 8 | (key.charCodeAt(++i) & 0xff) << 16 | (key.charCodeAt(++i) & 0xff) << 24; + ++i; + k1 = (k1 & 0xffff) * c1 + (((k1 >>> 16) * c1 & 0xffff) << 16) & 0xffffffff; + k1 = k1 << 15 | k1 >>> 17; + k1 = (k1 & 0xffff) * c2 + (((k1 >>> 16) * c2 & 0xffff) << 16) & 0xffffffff; + h1 ^= k1; + h1 = h1 << 13 | h1 >>> 19; + h1b = (h1 & 0xffff) * 5 + (((h1 >>> 16) * 5 & 0xffff) << 16) & 0xffffffff; + h1 = (h1b & 0xffff) + 0x6b64 + (((h1b >>> 16) + 0xe654 & 0xffff) << 16); + } + + k1 = 0; + + switch (remainder) { + case 3: + k1 ^= (key.charCodeAt(i + 2) & 0xff) << 16; + + case 2: + k1 ^= (key.charCodeAt(i + 1) & 0xff) << 8; + + case 1: + k1 ^= key.charCodeAt(i) & 0xff; + k1 = (k1 & 0xffff) * c1 + (((k1 >>> 16) * c1 & 0xffff) << 16) & 0xffffffff; + k1 = k1 << 15 | k1 >>> 17; + k1 = (k1 & 0xffff) * c2 + (((k1 >>> 16) * c2 & 0xffff) << 16) & 0xffffffff; + h1 ^= k1; + } + + h1 ^= key.length; + h1 ^= h1 >>> 16; + h1 = (h1 & 0xffff) * 0x85ebca6b + (((h1 >>> 16) * 0x85ebca6b & 0xffff) << 16) & 0xffffffff; + h1 ^= h1 >>> 13; + h1 = (h1 & 0xffff) * 0xc2b2ae35 + (((h1 >>> 16) * 0xc2b2ae35 & 0xffff) << 16) & 0xffffffff; + h1 ^= h1 >>> 16; + return h1 >>> 0; +} + function scheduleWork(callback) { callback(); } @@ -166,7 +258,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -175,7 +267,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -184,7 +276,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -968,6 +1060,23 @@ function validateProperty(tagName, name, value, eventRegistry) { return true; } + { + // Actions are special because unlike events they can have other value types. + if (typeof value === 'function') { + if (tagName === 'form' && name === 'action') { + return true; + } + + if (tagName === 'input' && name === 'formAction') { + return true; + } + + if (tagName === 'button' && name === 'formAction') { + return true; + } + } + } // We can't rely on the event system being injected on the server. + if (eventRegistry != null) { var registrationNameDependencies = eventRegistry.registrationNameDependencies, @@ -1482,11 +1591,22 @@ var clientRenderBoundary = '$RX=function(b,c,d,e){var a=document.getElementById( var completeBoundary = '$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};'; var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};'; var completeSegment = '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};'; +var formReplaying = 'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'; function getValueDescriptorExpectingObjectForWarning(thing) { return thing === null ? '`null`' : thing === undefined ? '`undefined`' : thing === '' ? 'an empty string' : "something with type \"" + typeof thing + "\""; } +// same object across all transitions. + +var sharedNotPendingObject = { + pending: false, + data: null, + method: null, + action: null +}; +var NotPending = Object.freeze(sharedNotPendingObject) ; + var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher; @@ -1519,6 +1639,9 @@ var SentClientRenderFunction var SentStyleInsertionFunction /* */ = 8; +var SentFormReplayingRuntime +/* */ += 16; // Per request, global state that is not contextual to the rendering subtree. // This cannot be resumed and therefore should only contain things that are // temporary working state or are never used in the prerender pass. // Credentials here are things that affect whether a browser will make a request @@ -2026,10 +2149,15 @@ function pushStringAttribute(target, name, value) // not null or undefined target.push(attributeSeparator, stringToChunk(name), attributeAssign, stringToChunk(escapeTextForBrowser(value)), attributeEnd); } } + +function makeFormFieldPrefix(resumableState) { + var id = resumableState.nextFormID++; + return resumableState.idPrefix + id; +} // Since this will likely be repeated a lot in the HTML, we use a more concise message // than on the client and hopefully it's googleable. -stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url +var actionJavaScriptURL = stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url "javascript:throw new Error('A React form was unexpectedly submitted.')")); var startHiddenInputChunk = stringToPrecomputedChunk('<input type="hidden"'); @@ -2056,6 +2184,57 @@ function pushAdditionalFormFields(target, formData) { function pushFormActionAttribute(target, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name) { var formData = null; + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if (name !== null && !didWarnFormActionName) { + didWarnFormActionName = true; + + error('Cannot specify a "name" prop for a button that specifies a function as a formAction. ' + 'React needs it to encode which action should be invoked. It will get overridden.'); + } + + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a formEncType or formMethod for a button that specifies a ' + 'function as a formAction. React provides those automatically. They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a formTarget for a button that specifies a function as a formAction. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + name = customFields.name; + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('formAction'), attributeAssign, actionJavaScriptURL, attributeEnd); + name = null; + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (name != null) { pushAttribute(target, 'name', name); } @@ -2360,6 +2539,9 @@ var didWarnInvalidOptionChildren = false; var didWarnInvalidOptionInnerHTML = false; var didWarnSelectedSetOnOption = false; var didWarnFormActionType = false; +var didWarnFormActionName = false; +var didWarnFormActionTarget = false; +var didWarnFormActionMethod = false; function checkSelectProp(props, propName) { { @@ -2560,6 +2742,18 @@ function pushStartOption(target, props, formatContext) { return children; } +var formReplayingRuntimeScript = stringToPrecomputedChunk(formReplaying); + +function injectFormReplayingRuntime(resumableState, renderState) { + // If we haven't sent it yet, inject the runtime that tracks submitted JS actions + // for later replaying by Fiber. If we use an external runtime, we don't need + // to emit anything. It's always used. + if ((resumableState.instructions & SentFormReplayingRuntime) === NothingSent && (!renderState.externalRuntimeScript)) { + resumableState.instructions |= SentFormReplayingRuntime; + renderState.bootstrapChunks.unshift(renderState.startInlineScript, formReplayingRuntimeScript, endInlineScript); + } +} + var formStateMarkerIsMatching = stringToPrecomputedChunk('<!--F!-->'); var formStateMarkerIsNotMatching = stringToPrecomputedChunk('<!--F-->'); function pushFormStateMarkerIsMatching(target) { @@ -2618,6 +2812,53 @@ function pushStartForm(target, props, resumableState, renderState) { } } + var formData = null; + var formActionName = null; + + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a encType or method for a form that specifies a ' + 'function as the action. React provides those automatically. ' + 'They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a target for a form that specifies a function as the action. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + formActionName = customFields.name; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('action'), attributeAssign, actionJavaScriptURL, attributeEnd); + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (formAction != null) { pushAttribute(target, 'action', formAction); } @@ -2636,6 +2877,13 @@ function pushStartForm(target, props, resumableState, renderState) { target.push(endOfStartTag); + if (formActionName !== null) { + target.push(startHiddenInputChunk); + pushStringAttribute(target, 'name', formActionName); + target.push(endOfStartTagSelfClosing); + pushAdditionalFormFields(target, formData); + } + pushInnerHTML(target, innerHTML, children); if (typeof children === 'string') { @@ -3692,6 +3940,8 @@ function pushStartCustomElement(target, props, tag) { continue; } + var attributeName = propKey; + switch (propKey) { case 'children': children = propValue; @@ -3710,9 +3960,14 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -3867,7 +4122,7 @@ function pushStartInstance(target, type, props, resumableState, renderState, for return pushStartButton(target, props, resumableState, renderState); case 'form': - return pushStartForm(target, props); + return pushStartForm(target, props, resumableState, renderState); case 'menuitem': return pushStartMenuItem(target, props); @@ -5890,6 +6145,7 @@ function writeEndClientRenderedSuspenseBoundary(destination, renderState) { return writeEndClientRenderedSuspenseBoundary$1(destination); } +var NotPendingTransition = NotPending; // ATTENTION // When adding new symbols to this file, @@ -6028,12 +6284,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -7470,6 +7720,8 @@ typeof Object.is === 'function' ? Object.is : is; var currentlyRenderingComponent = null; var currentlyRenderingTask = null; +var currentlyRenderingRequest = null; +var currentlyRenderingKeyPath = null; var firstWorkInProgressHook = null; var workInProgressHook = null; // Whether the work-in-progress hook is a re-rendered hook @@ -7582,6 +7834,8 @@ function createWorkInProgressHook() { function prepareToUseHooks(request, task, keyPath, componentIdentity, prevThenableState) { currentlyRenderingComponent = componentIdentity; currentlyRenderingTask = task; + currentlyRenderingRequest = request; + currentlyRenderingKeyPath = keyPath; { isInHookUserCodeInDev = false; @@ -7653,6 +7907,8 @@ function resetHooksState() { currentlyRenderingComponent = null; currentlyRenderingTask = null; + currentlyRenderingRequest = null; + currentlyRenderingKeyPath = null; didScheduleRenderPhaseUpdate = false; firstWorkInProgressHook = null; numberOfReRenders = 0; @@ -7887,9 +8143,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return value; + } } function unsupportedStartTransition() { @@ -7901,6 +8160,133 @@ function useTransition() { return [false, unsupportedStartTransition]; } +function useHostTransitionStatus() { + resolveCurrentlyRenderingComponent(); + return NotPendingTransition; +} + +function unsupportedSetOptimisticState() { + throw new Error('Cannot update optimistic state while rendering.'); +} + +function useOptimistic(passthrough, reducer) { + resolveCurrentlyRenderingComponent(); + return [passthrough, unsupportedSetOptimisticState]; +} + +function createPostbackFormStateKey(permalink, componentKeyPath, hookIndex) { + if (permalink !== undefined) { + // Don't bother to hash a permalink-based key since it's already short. + return 'p' + permalink; + } else { + // Append a node to the key path that represents the form state hook. + var keyPath = [componentKeyPath, null, hookIndex]; // Key paths are hashed to reduce the size. It does not need to be secure, + // and it's more important that it's fast than that it's completely + // collision-free. + + var keyPathHash = createFastHashJS(JSON.stringify(keyPath)); + return 'k' + keyPathHash; + } +} + +function useFormState(action, initialState, permalink) { + resolveCurrentlyRenderingComponent(); // Count the number of useFormState hooks per component. We also use this to + // track the position of this useFormState hook relative to the other ones in + // this component, so we can generate a unique key for each one. + + var formStateHookIndex = formStateCounter++; + var request = currentlyRenderingRequest; // $FlowIgnore[prop-missing] + + var formAction = action.$$FORM_ACTION; + + if (typeof formAction === 'function') { + // This is a server action. These have additional features to enable + // MPA-style form submissions with progressive enhancement. + // TODO: If the same permalink is passed to multiple useFormStates, and + // they all have the same action signature, Fizz will pass the postback + // state to all of them. We should probably only pass it to the first one, + // and/or warn. + // The key is lazily generated and deduped so the that the keypath doesn't + // get JSON.stringify-ed unnecessarily, and at most once. + var nextPostbackStateKey = null; // Determine the current form state. If we received state during an MPA form + // submission, then we will reuse that, if the action identity matches. + // Otherwise we'll use the initial state argument. We will emit a comment + // marker into the stream that indicates whether the state was reused. + + var state = initialState; + var componentKeyPath = currentlyRenderingKeyPath; + var postbackFormState = getFormState(request); // $FlowIgnore[prop-missing] + + var isSignatureEqual = action.$$IS_SIGNATURE_EQUAL; + + if (postbackFormState !== null && typeof isSignatureEqual === 'function') { + var postbackKey = postbackFormState[1]; + var postbackReferenceId = postbackFormState[2]; + var postbackBoundArity = postbackFormState[3]; + + if (isSignatureEqual.call(action, postbackReferenceId, postbackBoundArity)) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + + if (postbackKey === nextPostbackStateKey) { + // This was a match + formStateMatchingIndex = formStateHookIndex; // Reuse the state that was submitted by the form. + + state = postbackFormState[0]; + } + } + } // Bind the state to the first argument of the action. + + + var boundAction = action.bind(null, state); // Wrap the action so the return value is void. + + var dispatch = function (payload) { + boundAction(payload); + }; // $FlowIgnore[prop-missing] + + + if (typeof boundAction.$$FORM_ACTION === 'function') { + // $FlowIgnore[prop-missing] + dispatch.$$FORM_ACTION = function (prefix) { + var metadata = boundAction.$$FORM_ACTION(prefix); // Override the action URL + + if (permalink !== undefined) { + { + checkAttributeStringCoercion(permalink, 'target'); + } + + permalink += ''; + metadata.action = permalink; + } + + var formData = metadata.data; + + if (formData) { + if (nextPostbackStateKey === null) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + } + + formData.append('$ACTION_KEY', nextPostbackStateKey); + } + + return metadata; + }; + } + + return [state, dispatch]; + } else { + // This is not a server action, so the implementation is much simpler. + // Bind the state to the first argument of the action. + var _boundAction = action.bind(null, initialState); // Wrap the action so the return value is void. + + + var _dispatch2 = function (payload) { + _boundAction(payload); + }; + + return [initialState, _dispatch2]; + } +} + function useId() { var task = currentlyRenderingTask; var treeId = getTreeId(task.treeContext); @@ -7980,6 +8366,15 @@ var HooksDispatcher = { HooksDispatcher.useCacheRefresh = useCacheRefresh; } +{ + HooksDispatcher.useHostTransitionStatus = useHostTransitionStatus; +} + +{ + HooksDispatcher.useOptimistic = useOptimistic; + HooksDispatcher.useFormState = useFormState; +} + var currentResumableState = null; function setCurrentResumableState(resumableState) { currentResumableState = resumableState; @@ -8509,11 +8904,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -8559,24 +8950,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -8584,8 +8966,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9126,37 +9507,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9167,17 +9517,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9185,37 +9536,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9279,8 +9633,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9458,24 +9819,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -9510,7 +9873,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -9734,6 +10097,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -9755,6 +10119,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -9868,8 +10234,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -9878,6 +10242,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -9888,6 +10253,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -9929,12 +10302,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10182,6 +10556,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -10611,7 +10993,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } } } @@ -10631,10 +11016,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -10664,6 +11056,9 @@ function startFlowing(request, destination) { fatalError(request, error); } } +function stopFlowing(request) { + request.destination = null; +} // This is called to early terminate a request. It puts all pending boundaries in client rendered state. function abort(request, reason) { try { @@ -10688,6 +11083,9 @@ function abort(request, reason) { function flushResources(request) { enqueueFlush(request); } +function getFormState(request) { + return request.formState; +} function getResumableState(request) { return request.resumableState; } diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js index 24843f8457b0a..29746797ccad0 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js @@ -7,154 +7,183 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("next/dist/compiled/react"),fa=require("react-dom");function p(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -var t=Object.assign,w=Object.prototype.hasOwnProperty,ha=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ia={},ta={}; -function ua(a){if(w.call(ta,a))return!0;if(w.call(ia,a))return!1;if(ha.test(a))return ta[a]=!0;ia[a]=!0;return!1} -var va=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),wa= +/* + + + JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) + + Copyright (c) 2011 Gary Court + 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. +*/ +'use strict';var aa=require("next/dist/compiled/react"),ba=require("react-dom");function n(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} +function ea(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< +16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0} +var t=Object.assign,v=Object.prototype.hasOwnProperty,ia=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ja={},ka={}; +function la(a){if(v.call(ka,a))return!0;if(v.call(ja,a))return!1;if(ia.test(a))return ka[a]=!0;ja[a]=!0;return!1} +var wa=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),xa= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),xa=/["'&<>]/; -function x(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=xa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var ya=/([A-Z])/g,Ca=/^ms-/,Da=Array.isArray,Ea=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Fa=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,bb={prefetchDNS:Ga,preconnect:Ha,preload:Ia,preloadModule:Ya,preinitStyle:Za,preinitScript:$a,preinitModuleScript:ab},cb=[]; -function db(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function y(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}} -function eb(a,b,c){switch(b){case "noscript":return y(2,null,a.tagScope|1);case "select":return y(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return y(3,null,a.tagScope);case "picture":return y(2,null,a.tagScope|2);case "math":return y(4,null,a.tagScope);case "foreignObject":return y(2,null,a.tagScope);case "table":return y(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return y(6,null,a.tagScope);case "colgroup":return y(8,null,a.tagScope);case "tr":return y(7,null,a.tagScope)}return 5<= -a.insertionMode?y(2,null,a.tagScope):0===a.insertionMode?"html"===b?y(1,null,a.tagScope):y(2,null,a.tagScope):1===a.insertionMode?y(2,null,a.tagScope):a}var fb=new Map; -function gb(a,b){if("object"!==typeof b)throw Error(p(62));var c=!0,d;for(d in b)if(w.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=x(d);e=x((""+e).trim())}else f=fb.get(d),void 0===f&&(f=x(d.replace(ya,"-$1").toLowerCase().replace(Ca,"-ms-")),fb.set(d,f)),e="number"===typeof e?0===e||va.has(d)?""+e:e+"px":x((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')} -function hb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function D(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',x(c),'"')}x("javascript:throw new Error('A React form was unexpectedly submitted.')");function ib(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error(p(480));D(this,"name",b);D(this,"value",a);this.push("/>")} -function sb(a,b,c,d,e,f,g,h){null!=h&&E(a,"name",h);null!=d&&E(a,"formAction",d);null!=e&&E(a,"formEncType",e);null!=f&&E(a,"formMethod",f);null!=g&&E(a,"formTarget",g);return null} -function E(a,b,c){switch(b){case "className":D(a,"class",c);break;case "tabIndex":D(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":D(a,b,c);break;case "style":gb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',x(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":hb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',x(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',x(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',x(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',x(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',x(c),'"');break;case "xlinkActuate":D(a,"xlink:actuate", -c);break;case "xlinkArcrole":D(a,"xlink:arcrole",c);break;case "xlinkRole":D(a,"xlink:role",c);break;case "xlinkShow":D(a,"xlink:show",c);break;case "xlinkTitle":D(a,"xlink:title",c);break;case "xlinkType":D(a,"xlink:type",c);break;case "xmlBase":D(a,"xml:base",c);break;case "xmlLang":D(a,"xml:lang",c);break;case "xmlSpace":D(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=wa.get(b)||b,ua(b)){switch(typeof c){case "function":case "symbol":return; -case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',x(c),'"')}}}function F(a,b,c){if(null!=b){if(null!=c)throw Error(p(60));if("object"!==typeof b||!("__html"in b))throw Error(p(61));b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}}function tb(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} -function ub(a,b,c,d,e,f,g){var h=b.rel,k=b.href,l=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return I(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return I(a,b);f=d.styles.get(l);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:x(l),rules:[],hrefs:[],sheets:new Map},d.styles.set(l,f)),b={state:0,props:t({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&vb(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return I(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return I(d.preconnectChunks,b);case "preload":return I(d.preloadChunks, -b);default:return I(d.hoistableChunks,b)}}function I(a,b){a.push(J("link"));for(var c in b)if(w.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error(p(399,"link"));default:E(a,c,d)}}a.push("/>");return null}function wb(a,b,c){a.push(J(c));for(var d in b)if(w.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(p(399,c));default:E(a,d,e)}}a.push("/>");return null} -function xb(a,b){a.push(J("title"));var c=null,d=null,e;for(e in b)if(w.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(x(""+b));F(a,d,c);a.push("</","title",">");return null} -function yb(a,b){a.push(J("script"));var c=null,d=null,e;for(e in b)if(w.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");F(a,d,c);"string"===typeof c&&a.push(x(c));a.push("</","script",">");return null} -function zb(a,b,c){a.push(J(c));var d=c=null,e;for(e in b)if(w.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");F(a,d,c);return"string"===typeof c?(a.push(x(c)),null):c}var Ab=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Bb=new Map;function J(a){var b=Bb.get(a);if(void 0===b){if(!Ab.test(a))throw Error(p(65,a));b="<"+a;Bb.set(a,b)}return b} -function Cb(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(J("select"));var h=null,k=null,l;for(l in c)if(w.call(c,l)){var n=c[l];if(null!=n)switch(l){case "children":h=n;break;case "dangerouslySetInnerHTML":k=n;break;case "defaultValue":case "value":break;default:E(a,l,n)}}a.push(">");F(a,k,h);return h;case "option":var r=f.selectedValue;a.push(J("option"));var m=null,u=null,G=null,H=null,v;for(v in c)if(w.call(c, -v)){var q=c[v];if(null!=q)switch(v){case "children":m=q;break;case "selected":G=q;break;case "dangerouslySetInnerHTML":H=q;break;case "value":u=q;default:E(a,v,q)}}if(null!=r){var A=null!==u?""+u:tb(m);if(Da(r))for(var ba=0;ba<r.length;ba++){if(""+r[ba]===A){a.push(' selected=""');break}}else""+r===A&&a.push(' selected=""')}else G&&a.push(' selected=""');a.push(">");F(a,H,m);return m;case "textarea":a.push(J("textarea"));var K=null,Q=null,L=null,z;for(z in c)if(w.call(c,z)){var W=c[z];if(null!=W)switch(z){case "children":L= -W;break;case "value":K=W;break;case "defaultValue":Q=W;break;case "dangerouslySetInnerHTML":throw Error(p(91));default:E(a,z,W)}}null===K&&null!==Q&&(K=Q);a.push(">");if(null!=L){if(null!=K)throw Error(p(92));if(Da(L)&&1<L.length)throw Error(p(93));K=""+L}"string"===typeof K&&"\n"===K[0]&&a.push("\n");null!==K&&a.push(x(""+K));return null;case "input":a.push(J("input"));var T=null,ca=null,M=null,X=null,B=null,Ja=null,Ka=null,La=null,Ma=null,ja;for(ja in c)if(w.call(c,ja)){var R=c[ja];if(null!=R)switch(ja){case "children":case "dangerouslySetInnerHTML":throw Error(p(399, -"input"));case "name":T=R;break;case "formAction":ca=R;break;case "formEncType":M=R;break;case "formMethod":X=R;break;case "formTarget":B=R;break;case "defaultChecked":Ma=R;break;case "defaultValue":Ka=R;break;case "checked":La=R;break;case "value":Ja=R;break;default:E(a,ja,R)}}var jb=sb(a,d,e,ca,M,X,B,T);null!==La?hb(a,"checked",La):null!==Ma&&hb(a,"checked",Ma);null!==Ja?E(a,"value",Ja):null!==Ka&&E(a,"value",Ka);a.push("/>");null!==jb&&jb.forEach(ib,a);return null;case "button":a.push(J("button")); -var Y=null,ka=null,la=null,ma=null,Na=null,na=null,rc=null,Oa;for(Oa in c)if(w.call(c,Oa)){var da=c[Oa];if(null!=da)switch(Oa){case "children":Y=da;break;case "dangerouslySetInnerHTML":ka=da;break;case "name":la=da;break;case "formAction":ma=da;break;case "formEncType":Na=da;break;case "formMethod":na=da;break;case "formTarget":rc=da;break;default:E(a,Oa,da)}}var sc=sb(a,d,e,ma,Na,na,rc,la);a.push(">");null!==sc&&sc.forEach(ib,a);F(a,ka,Y);if("string"===typeof Y){a.push(x(Y));var tc=null}else tc= -Y;return tc;case "form":a.push(J("form"));var Pa=null,uc=null,Lb=null,Mb=null,Nb=null,Ob=null,Qa;for(Qa in c)if(w.call(c,Qa)){var ea=c[Qa];if(null!=ea)switch(Qa){case "children":Pa=ea;break;case "dangerouslySetInnerHTML":uc=ea;break;case "action":Lb=ea;break;case "encType":Mb=ea;break;case "method":Nb=ea;break;case "target":Ob=ea;break;default:E(a,Qa,ea)}}null!=Lb&&E(a,"action",Lb);null!=Mb&&E(a,"encType",Mb);null!=Nb&&E(a,"method",Nb);null!=Ob&&E(a,"target",Ob);a.push(">");F(a,uc,Pa);if("string"=== -typeof Pa){a.push(x(Pa));var vc=null}else vc=Pa;return vc;case "menuitem":a.push(J("menuitem"));for(var kb in c)if(w.call(c,kb)){var wc=c[kb];if(null!=wc)switch(kb){case "children":case "dangerouslySetInnerHTML":throw Error(p(400));default:E(a,kb,wc)}}a.push(">");return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var xc=xb(a,c);else xb(e.hoistableChunks,c),xc=null;return xc;case "link":return ub(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var Pb=c.async; -if("string"!==typeof c.src||!c.src||!Pb||"function"===typeof Pb||"symbol"===typeof Pb||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var yc=yb(a,c);else{var lb=c.src;if("module"===c.type){var mb=d.moduleScriptResources;var zc=e.preloads.moduleScripts}else mb=d.scriptResources,zc=e.preloads.scripts;var nb=mb.hasOwnProperty(lb)?mb[lb]:void 0;if(null!==nb){mb[lb]=null;var Qb=c;if(nb){2===nb.length&&(Qb=t({},c),vb(Qb,nb));var Ac=zc.get(lb);Ac&&(Ac.length=0)}var Bc=[];e.scripts.add(Bc); -yb(Bc,Qb)}g&&a.push("\x3c!-- --\x3e");yc=null}return yc;case "style":var ob=c.precedence,oa=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof ob||"string"!==typeof oa||""===oa){a.push(J("style"));var za=null,Cc=null,Ra;for(Ra in c)if(w.call(c,Ra)){var pb=c[Ra];if(null!=pb)switch(Ra){case "children":za=pb;break;case "dangerouslySetInnerHTML":Cc=pb;break;default:E(a,Ra,pb)}}a.push(">");var Sa=Array.isArray(za)?2>za.length?za[0]:null:za;"function"!==typeof Sa&&"symbol"!== -typeof Sa&&null!==Sa&&void 0!==Sa&&a.push(x(""+Sa));F(a,Cc,za);a.push("</","style",">");var Dc=null}else{var pa=e.styles.get(ob);if(null!==(d.styleResources.hasOwnProperty(oa)?d.styleResources[oa]:void 0)){d.styleResources[oa]=null;pa?pa.hrefs.push(x(oa)):(pa={precedence:x(ob),rules:[],hrefs:[x(oa)],sheets:new Map},e.styles.set(ob,pa));var Ec=pa.rules,Aa=null,Fc=null,qb;for(qb in c)if(w.call(c,qb)){var Rb=c[qb];if(null!=Rb)switch(qb){case "children":Aa=Rb;break;case "dangerouslySetInnerHTML":Fc=Rb}}var Ta= -Array.isArray(Aa)?2>Aa.length?Aa[0]:null:Aa;"function"!==typeof Ta&&"symbol"!==typeof Ta&&null!==Ta&&void 0!==Ta&&Ec.push(x(""+Ta));F(Ec,Fc,Aa)}pa&&e.boundaryResources&&e.boundaryResources.styles.add(pa);g&&a.push("\x3c!-- --\x3e");Dc=void 0}return Dc;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Gc=wb(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),Gc="string"===typeof c.charSet?wb(e.charsetChunks,c,"meta"):"viewport"===c.name?wb(e.preconnectChunks,c,"meta"):wb(e.hoistableChunks, -c,"meta");return Gc;case "listing":case "pre":a.push(J(b));var Ua=null,Va=null,Wa;for(Wa in c)if(w.call(c,Wa)){var rb=c[Wa];if(null!=rb)switch(Wa){case "children":Ua=rb;break;case "dangerouslySetInnerHTML":Va=rb;break;default:E(a,Wa,rb)}}a.push(">");if(null!=Va){if(null!=Ua)throw Error(p(60));if("object"!==typeof Va||!("__html"in Va))throw Error(p(61));var qa=Va.__html;null!==qa&&void 0!==qa&&("string"===typeof qa&&0<qa.length&&"\n"===qa[0]?a.push("\n",qa):a.push(""+qa))}"string"===typeof Ua&&"\n"=== -Ua[0]&&a.push("\n");return Ua;case "img":var N=c.src,C=c.srcSet;if(!("lazy"===c.loading||!N&&!C||"string"!==typeof N&&null!=N||"string"!==typeof C&&null!=C)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof N||":"!==N[4]||"d"!==N[0]&&"D"!==N[0]||"a"!==N[1]&&"A"!==N[1]||"t"!==N[2]&&"T"!==N[2]||"a"!==N[3]&&"A"!==N[3])&&("string"!==typeof C||":"!==C[4]||"d"!==C[0]&&"D"!==C[0]||"a"!==C[1]&&"A"!==C[1]||"t"!==C[2]&&"T"!==C[2]||"a"!==C[3]&&"A"!==C[3])){var Hc="string"===typeof c.sizes? -c.sizes:void 0,Xa=C?C+"\n"+(Hc||""):N,Sb=e.preloads.images,ra=Sb.get(Xa);if(ra){if("high"===c.fetchPriority||10>e.highImagePreloads.size)Sb.delete(Xa),e.highImagePreloads.add(ra)}else d.imageResources.hasOwnProperty(Xa)||(d.imageResources[Xa]=cb,ra=[],I(ra,{rel:"preload",as:"image",href:C?void 0:N,imageSrcSet:C,imageSizes:Hc,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size? -e.highImagePreloads.add(ra):(e.bulkPreloads.add(ra),Sb.set(Xa,ra)))}return wb(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return wb(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Ic=zb(e.headChunks, -c,"head")}else Ic=zb(a,c,"head");return Ic;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[""];var Jc=zb(e.htmlChunks,c,"html")}else Jc=zb(a,c,"html");return Jc;default:if(-1!==b.indexOf("-")){a.push(J(b));var Tb=null,Kc=null,Ba;for(Ba in c)if(w.call(c,Ba)){var sa=c[Ba];if(null!=sa)switch(Ba){case "children":Tb=sa;break;case "dangerouslySetInnerHTML":Kc=sa;break;case "style":gb(a,sa);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:ua(Ba)&& -"function"!==typeof sa&&"symbol"!==typeof sa&&a.push(" ",Ba,'="',x(sa),'"')}}a.push(">");F(a,Kc,Tb);return Tb}}return zb(a,c,b)}function Db(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0}function Eb(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error(p(395));a.push(b.boundaryPrefix);b=c.toString(16);a.push(b);return a.push('"></template>')} -function Fb(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden id="'),a.push(b.segmentPrefix), -b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 8:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error(p(397));}} -function Gb(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error(p(397));}}var Hb=/[<\u2028\u2029]/g; -function Ib(a){return JSON.stringify(a).replace(Hb,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var Jb=/[&><\u2028\u2029]/g; -function Kb(a){return JSON.stringify(a).replace(Jb,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var Ub=!1,Vb=!0; -function Wb(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){this.push('<style media="not all" data-precedence="');this.push(a.precedence);for(this.push('" data-href="');d<c.length-1;d++)this.push(c[d]),this.push(" ");this.push(c[d]);this.push('">');for(d=0;d<b.length;d++)this.push(b[d]);Vb=this.push("</style>");Ub=!0;b.length=0;c.length=0}}function Xb(a){return 2!==a.state?Ub=!0:!1}function Yb(a,b,c){Ub=!1;Vb=!0;b.styles.forEach(Wb,a);b.stylesheets.forEach(Xb);Ub&&(c.stylesToHoist=!0);return Vb} -function O(a){for(var b=0;b<a.length;b++)this.push(a[b]);a.length=0}var Zb=[];function $b(a){I(Zb,a.props);for(var b=0;b<Zb.length;b++)this.push(Zb[b]);Zb.length=0;a.state=2} -function ac(a){var b=0<a.sheets.size;a.sheets.forEach($b,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){this.push('<style data-precedence="');this.push(a.precedence);a=0;if(d.length){for(this.push('" data-href="');a<d.length-1;a++)this.push(d[a]),this.push(" ");this.push(d[a])}this.push('">');for(a=0;a<c.length;a++)this.push(c[a]);this.push("</style>");c.length=0;d.length=0}} -function bc(a){if(0===a.state){a.state=1;var b=a.props;I(Zb,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<Zb.length;a++)this.push(Zb[a]);Zb.length=0}}function cc(a){a.sheets.forEach(bc,this);a.sheets.clear()} -function dc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=Kb(""+d.props.href),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=Kb(""+d.props.href);a.push(g);e=""+e;a.push(",");e=Kb(e);a.push(e);for(var h in f)if(w.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(p(399,"link"));default:a:{e= -a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!ua(h))break a;g=""+g}e.push(",");k=Kb(k);e.push(k);e.push(",");g=Kb(g);e.push(g)}}a.push("]"); +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ya=/["'&<>]/; +function w(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ya.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var za=/([A-Z])/g,Aa=/^ms-/,Ga=Array.isArray,Ha=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ia={pending:!1,data:null,method:null,action:null},Ja=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,hb={prefetchDNS:Ka,preconnect:La,preload:cb,preloadModule:db,preinitStyle:eb,preinitScript:fb,preinitModuleScript:gb},ib=[]; +function jb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function x(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}} +function kb(a,b,c){switch(b){case "noscript":return x(2,null,a.tagScope|1);case "select":return x(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return x(3,null,a.tagScope);case "picture":return x(2,null,a.tagScope|2);case "math":return x(4,null,a.tagScope);case "foreignObject":return x(2,null,a.tagScope);case "table":return x(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return x(6,null,a.tagScope);case "colgroup":return x(8,null,a.tagScope);case "tr":return x(7,null,a.tagScope)}return 5<= +a.insertionMode?x(2,null,a.tagScope):0===a.insertionMode?"html"===b?x(1,null,a.tagScope):x(2,null,a.tagScope):1===a.insertionMode?x(2,null,a.tagScope):a}var lb=new Map; +function mb(a,b){if("object"!==typeof b)throw Error(n(62));var c=!0,d;for(d in b)if(v.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=w(d);e=w((""+e).trim())}else f=lb.get(d),void 0===f&&(f=w(d.replace(za,"-$1").toLowerCase().replace(Aa,"-ms-")),lb.set(d,f)),e="number"===typeof e?0===e||wa.has(d)?""+e:e+"px":w((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')} +function nb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function C(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',w(c),'"')}function xb(a){var b=a.nextFormID++;return a.idPrefix+b}var yb=w("javascript:throw new Error('A React form was unexpectedly submitted.')");function zb(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error(n(480));C(this,"name",b);C(this,"value",a);this.push("/>")} +function Ab(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=xb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(" ","formAction",'="',yb,'"'),g=f=e=d=h=null,Bb(b,c)));null!=h&&D(a,"name",h);null!=d&&D(a,"formAction",d);null!=e&&D(a,"formEncType",e);null!=f&&D(a,"formMethod",f);null!=g&&D(a,"formTarget",g);return k} +function D(a,b,c){switch(b){case "className":C(a,"class",c);break;case "tabIndex":C(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":C(a,b,c);break;case "style":mb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',w(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":nb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',w(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',w(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',w(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',w(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',w(c),'"');break;case "xlinkActuate":C(a,"xlink:actuate", +c);break;case "xlinkArcrole":C(a,"xlink:arcrole",c);break;case "xlinkRole":C(a,"xlink:role",c);break;case "xlinkShow":C(a,"xlink:show",c);break;case "xlinkTitle":C(a,"xlink:title",c);break;case "xlinkType":C(a,"xlink:type",c);break;case "xmlBase":C(a,"xml:base",c);break;case "xmlLang":C(a,"xml:lang",c);break;case "xmlSpace":C(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=xa.get(b)||b,la(b)){switch(typeof c){case "function":case "symbol":return; +case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',w(c),'"')}}}function E(a,b,c){if(null!=b){if(null!=c)throw Error(n(60));if("object"!==typeof b||!("__html"in b))throw Error(n(61));b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}}function Cb(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} +function Bb(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});',"\x3c/script>"))} +function Db(a,b,c,d,e,f,g){var h=b.rel,k=b.href,l=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return J(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return J(a,b);f=d.styles.get(l);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:w(l),rules:[],hrefs:[],sheets:new Map},d.styles.set(l,f)),b={state:0,props:t({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&Eb(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return J(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return J(d.preconnectChunks,b);case "preload":return J(d.preloadChunks, +b);default:return J(d.hoistableChunks,b)}}function J(a,b){a.push(K("link"));for(var c in b)if(v.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error(n(399,"link"));default:D(a,c,d)}}a.push("/>");return null}function Fb(a,b,c){a.push(K(c));for(var d in b)if(v.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(n(399,c));default:D(a,d,e)}}a.push("/>");return null} +function Gb(a,b){a.push(K("title"));var c=null,d=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(w(""+b));E(a,d,c);a.push("</","title",">");return null} +function Hb(a,b){a.push(K("script"));var c=null,d=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");E(a,d,c);"string"===typeof c&&a.push(w(c));a.push("</","script",">");return null} +function Ib(a,b,c){a.push(K(c));var d=c=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");E(a,d,c);return"string"===typeof c?(a.push(w(c)),null):c}var Jb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Kb=new Map;function K(a){var b=Kb.get(a);if(void 0===b){if(!Jb.test(a))throw Error(n(65,a));b="<"+a;Kb.set(a,b)}return b} +function Lb(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(K("select"));var h=null,k=null,l;for(l in c)if(v.call(c,l)){var p=c[l];if(null!=p)switch(l){case "children":h=p;break;case "dangerouslySetInnerHTML":k=p;break;case "defaultValue":case "value":break;default:D(a,l,p)}}a.push(">");E(a,k,h);return h;case "option":var r=f.selectedValue;a.push(K("option"));var m=null,F=null,A=null,T=null,u;for(u in c)if(v.call(c, +u)){var q=c[u];if(null!=q)switch(u){case "children":m=q;break;case "selected":A=q;break;case "dangerouslySetInnerHTML":T=q;break;case "value":F=q;default:D(a,u,q)}}if(null!=r){var z=null!==F?""+F:Cb(m);if(Ga(r))for(var ca=0;ca<r.length;ca++){if(""+r[ca]===z){a.push(' selected=""');break}}else""+r===z&&a.push(' selected=""')}else A&&a.push(' selected=""');a.push(">");E(a,T,m);return m;case "textarea":a.push(K("textarea"));var G=null,O=null,H=null,y;for(y in c)if(v.call(c,y)){var X=c[y];if(null!=X)switch(y){case "children":H= +X;break;case "value":G=X;break;case "defaultValue":O=X;break;case "dangerouslySetInnerHTML":throw Error(n(91));default:D(a,y,X)}}null===G&&null!==O&&(G=O);a.push(">");if(null!=H){if(null!=G)throw Error(n(92));if(Ga(H)){if(1<H.length)throw Error(n(93));G=""+H[0]}G=""+H}"string"===typeof G&&"\n"===G[0]&&a.push("\n");null!==G&&a.push(w(""+G));return null;case "input":a.push(K("input"));var Ba=null,Q=null,Y=null,I=null,U=null,P=null,Ma=null,Na=null,Oa=null,ma;for(ma in c)if(v.call(c,ma)){var R=c[ma]; +if(null!=R)switch(ma){case "children":case "dangerouslySetInnerHTML":throw Error(n(399,"input"));case "name":Ba=R;break;case "formAction":Q=R;break;case "formEncType":Y=R;break;case "formMethod":I=R;break;case "formTarget":U=R;break;case "defaultChecked":Oa=R;break;case "defaultValue":Ma=R;break;case "checked":Na=R;break;case "value":P=R;break;default:D(a,ma,R)}}var ob=Ab(a,d,e,Q,Y,I,U,Ba);null!==Na?nb(a,"checked",Na):null!==Oa&&nb(a,"checked",Oa);null!==P?D(a,"value",P):null!==Ma&&D(a,"value",Ma); +a.push("/>");null!==ob&&ob.forEach(zb,a);return null;case "button":a.push(K("button"));var Z=null,na=null,oa=null,pa=null,Pa=null,qa=null,zc=null,Qa;for(Qa in c)if(v.call(c,Qa)){var da=c[Qa];if(null!=da)switch(Qa){case "children":Z=da;break;case "dangerouslySetInnerHTML":na=da;break;case "name":oa=da;break;case "formAction":pa=da;break;case "formEncType":Pa=da;break;case "formMethod":qa=da;break;case "formTarget":zc=da;break;default:D(a,Qa,da)}}var Ac=Ab(a,d,e,pa,Pa,qa,zc,oa);a.push(">");null!==Ac&& +Ac.forEach(zb,a);E(a,na,Z);if("string"===typeof Z){a.push(w(Z));var Bc=null}else Bc=Z;return Bc;case "form":a.push(K("form"));var Ra=null,Cc=null,fa=null,Sa=null,Ta=null,Ua=null,Va;for(Va in c)if(v.call(c,Va)){var ha=c[Va];if(null!=ha)switch(Va){case "children":Ra=ha;break;case "dangerouslySetInnerHTML":Cc=ha;break;case "action":fa=ha;break;case "encType":Sa=ha;break;case "method":Ta=ha;break;case "target":Ua=ha;break;default:D(a,Va,ha)}}var Sb=null,Tb=null;if("function"===typeof fa)if("function"=== +typeof fa.$$FORM_ACTION){var ce=xb(d),Ca=fa.$$FORM_ACTION(ce);fa=Ca.action||"";Sa=Ca.encType;Ta=Ca.method;Ua=Ca.target;Sb=Ca.data;Tb=Ca.name}else a.push(" ","action",'="',yb,'"'),Ua=Ta=Sa=fa=null,Bb(d,e);null!=fa&&D(a,"action",fa);null!=Sa&&D(a,"encType",Sa);null!=Ta&&D(a,"method",Ta);null!=Ua&&D(a,"target",Ua);a.push(">");null!==Tb&&(a.push('<input type="hidden"'),C(a,"name",Tb),a.push("/>"),null!==Sb&&Sb.forEach(zb,a));E(a,Cc,Ra);if("string"===typeof Ra){a.push(w(Ra));var Dc=null}else Dc=Ra;return Dc; +case "menuitem":a.push(K("menuitem"));for(var pb in c)if(v.call(c,pb)){var Ec=c[pb];if(null!=Ec)switch(pb){case "children":case "dangerouslySetInnerHTML":throw Error(n(400));default:D(a,pb,Ec)}}a.push(">");return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Fc=Gb(a,c);else Gb(e.hoistableChunks,c),Fc=null;return Fc;case "link":return Db(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var Ub=c.async;if("string"!==typeof c.src||!c.src||!Ub||"function"===typeof Ub|| +"symbol"===typeof Ub||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Gc=Hb(a,c);else{var qb=c.src;if("module"===c.type){var rb=d.moduleScriptResources;var Hc=e.preloads.moduleScripts}else rb=d.scriptResources,Hc=e.preloads.scripts;var sb=rb.hasOwnProperty(qb)?rb[qb]:void 0;if(null!==sb){rb[qb]=null;var Vb=c;if(sb){2===sb.length&&(Vb=t({},c),Eb(Vb,sb));var Ic=Hc.get(qb);Ic&&(Ic.length=0)}var Jc=[];e.scripts.add(Jc);Hb(Jc,Vb)}g&&a.push("\x3c!-- --\x3e");Gc=null}return Gc; +case "style":var tb=c.precedence,ra=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof tb||"string"!==typeof ra||""===ra){a.push(K("style"));var Da=null,Kc=null,Wa;for(Wa in c)if(v.call(c,Wa)){var ub=c[Wa];if(null!=ub)switch(Wa){case "children":Da=ub;break;case "dangerouslySetInnerHTML":Kc=ub;break;default:D(a,Wa,ub)}}a.push(">");var Xa=Array.isArray(Da)?2>Da.length?Da[0]:null:Da;"function"!==typeof Xa&&"symbol"!==typeof Xa&&null!==Xa&&void 0!==Xa&&a.push(w(""+Xa));E(a, +Kc,Da);a.push("</","style",">");var Lc=null}else{var sa=e.styles.get(tb);if(null!==(d.styleResources.hasOwnProperty(ra)?d.styleResources[ra]:void 0)){d.styleResources[ra]=null;sa?sa.hrefs.push(w(ra)):(sa={precedence:w(tb),rules:[],hrefs:[w(ra)],sheets:new Map},e.styles.set(tb,sa));var Mc=sa.rules,Ea=null,Nc=null,vb;for(vb in c)if(v.call(c,vb)){var Wb=c[vb];if(null!=Wb)switch(vb){case "children":Ea=Wb;break;case "dangerouslySetInnerHTML":Nc=Wb}}var Ya=Array.isArray(Ea)?2>Ea.length?Ea[0]:null:Ea;"function"!== +typeof Ya&&"symbol"!==typeof Ya&&null!==Ya&&void 0!==Ya&&Mc.push(w(""+Ya));E(Mc,Nc,Ea)}sa&&e.boundaryResources&&e.boundaryResources.styles.add(sa);g&&a.push("\x3c!-- --\x3e");Lc=void 0}return Lc;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Oc=Fb(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),Oc="string"===typeof c.charSet?Fb(e.charsetChunks,c,"meta"):"viewport"===c.name?Fb(e.preconnectChunks,c,"meta"):Fb(e.hoistableChunks,c,"meta");return Oc;case "listing":case "pre":a.push(K(b)); +var Za=null,$a=null,ab;for(ab in c)if(v.call(c,ab)){var wb=c[ab];if(null!=wb)switch(ab){case "children":Za=wb;break;case "dangerouslySetInnerHTML":$a=wb;break;default:D(a,ab,wb)}}a.push(">");if(null!=$a){if(null!=Za)throw Error(n(60));if("object"!==typeof $a||!("__html"in $a))throw Error(n(61));var ta=$a.__html;null!==ta&&void 0!==ta&&("string"===typeof ta&&0<ta.length&&"\n"===ta[0]?a.push("\n",ta):a.push(""+ta))}"string"===typeof Za&&"\n"===Za[0]&&a.push("\n");return Za;case "img":var M=c.src,B= +c.srcSet;if(!("lazy"===c.loading||!M&&!B||"string"!==typeof M&&null!=M||"string"!==typeof B&&null!=B)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof M||":"!==M[4]||"d"!==M[0]&&"D"!==M[0]||"a"!==M[1]&&"A"!==M[1]||"t"!==M[2]&&"T"!==M[2]||"a"!==M[3]&&"A"!==M[3])&&("string"!==typeof B||":"!==B[4]||"d"!==B[0]&&"D"!==B[0]||"a"!==B[1]&&"A"!==B[1]||"t"!==B[2]&&"T"!==B[2]||"a"!==B[3]&&"A"!==B[3])){var Pc="string"===typeof c.sizes?c.sizes:void 0,bb=B?B+"\n"+(Pc||""):M,Xb=e.preloads.images, +ua=Xb.get(bb);if(ua){if("high"===c.fetchPriority||10>e.highImagePreloads.size)Xb.delete(bb),e.highImagePreloads.add(ua)}else d.imageResources.hasOwnProperty(bb)||(d.imageResources[bb]=ib,ua=[],J(ua,{rel:"preload",as:"image",href:B?void 0:M,imageSrcSet:B,imageSizes:Pc,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(ua):(e.bulkPreloads.add(ua),Xb.set(bb, +ua)))}return Fb(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return Fb(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Qc=Ib(e.headChunks,c,"head")}else Qc=Ib(a,c,"head");return Qc;case "html":if(0=== +f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[""];var Rc=Ib(e.htmlChunks,c,"html")}else Rc=Ib(a,c,"html");return Rc;default:if(-1!==b.indexOf("-")){a.push(K(b));var Yb=null,Sc=null,Fa;for(Fa in c)if(v.call(c,Fa)){var va=c[Fa];if(null!=va){var de=Fa;switch(Fa){case "children":Yb=va;break;case "dangerouslySetInnerHTML":Sc=va;break;case "style":mb(a,va);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:la(Fa)&&"function"!==typeof va&&"symbol"!==typeof va&& +a.push(" ",de,'="',w(va),'"')}}}a.push(">");E(a,Sc,Yb);return Yb}}return Ib(a,c,b)}function Mb(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0}function Nb(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error(n(395));a.push(b.boundaryPrefix);b=c.toString(16);a.push(b);return a.push('"></template>')} +function Ob(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden id="'),a.push(b.segmentPrefix), +b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 8:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error(n(397));}} +function Pb(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error(n(397));}}var Qb=/[<\u2028\u2029]/g; +function Rb(a){return JSON.stringify(a).replace(Qb,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var Zb=/[&><\u2028\u2029]/g; +function $b(a){return JSON.stringify(a).replace(Zb,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var ac=!1,bc=!0; +function cc(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){this.push('<style media="not all" data-precedence="');this.push(a.precedence);for(this.push('" data-href="');d<c.length-1;d++)this.push(c[d]),this.push(" ");this.push(c[d]);this.push('">');for(d=0;d<b.length;d++)this.push(b[d]);bc=this.push("</style>");ac=!0;b.length=0;c.length=0}}function dc(a){return 2!==a.state?ac=!0:!1}function ec(a,b,c){ac=!1;bc=!0;b.styles.forEach(cc,a);b.stylesheets.forEach(dc);ac&&(c.stylesToHoist=!0);return bc} +function L(a){for(var b=0;b<a.length;b++)this.push(a[b]);a.length=0}var fc=[];function gc(a){J(fc,a.props);for(var b=0;b<fc.length;b++)this.push(fc[b]);fc.length=0;a.state=2} +function hc(a){var b=0<a.sheets.size;a.sheets.forEach(gc,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){this.push('<style data-precedence="');this.push(a.precedence);a=0;if(d.length){for(this.push('" data-href="');a<d.length-1;a++)this.push(d[a]),this.push(" ");this.push(d[a])}this.push('">');for(a=0;a<c.length;a++)this.push(c[a]);this.push("</style>");c.length=0;d.length=0}} +function ic(a){if(0===a.state){a.state=1;var b=a.props;J(fc,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<fc.length;a++)this.push(fc[a]);fc.length=0}}function jc(a){a.sheets.forEach(ic,this);a.sheets.clear()} +function kc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=$b(""+d.props.href),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=$b(""+d.props.href);a.push(g);e=""+e;a.push(",");e=$b(e);a.push(e);for(var h in f)if(v.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(n(399,"link"));default:a:{e= +a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!la(h))break a;g=""+g}e.push(",");k=$b(k);e.push(k);e.push(",");g=$b(g);e.push(g)}}a.push("]"); c=",[";d.state=3}});a.push("]")} -function ec(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=x(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=x(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=x(JSON.stringify(e));a.push(e);for(var h in f)if(w.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(p(399,"link")); -default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!ua(h))break a;g=""+g}e.push(",");k=x(JSON.stringify(k));e.push(k); -e.push(",");g=x(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")}function Ga(a){var b=P?P:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;I(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}fc(b)}}} -function Ha(a,b){var c=P?P:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;I(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}fc(c)}}} -function Ia(a,b,c){var d=P?P:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=cb;e=[];I(e,t({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];I(g,t({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?cb:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);I(g,t({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?cb:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=t({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}I(e,c);g[a]=cb}fc(d)}}} -function Ya(a,b){var c=P?P:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?cb:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=cb}I(f,t({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);fc(c)}}} -function Za(a,b,c){var d=P?P:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:x(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:t({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&vb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),fc(d))}}} -function $a(a,b){var c=P?P:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=t({src:a,async:!0},b),f&&(2===f.length&&vb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),yb(a,b),fc(c))}}} -function ab(a,b){var c=P?P:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=t({src:a,type:"module",async:!0},b),f&&(2===f.length&&vb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),yb(a,b),fc(c))}}}function vb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function gc(a){this.styles.add(a)} -function hc(a){this.stylesheets.add(a)} -function ic(a,b){var c=a.idPrefix;a=c+"P:";var d=c+"S:";c+="B:";var e=new Set,f=new Set,g=new Set,h=new Map,k=new Set,l=new Set,n=new Set,r={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};return{placeholderPrefix:a,segmentPrefix:d,boundaryPrefix:c,startInlineScript:"<script>",htmlChunks:null,headChunks:null,externalRuntimeScript:null,bootstrapChunks:[],charsetChunks:[],preconnectChunks:[],importMapChunks:[],preloadChunks:[],hoistableChunks:[],preconnects:e,fontPreloads:f, -highImagePreloads:g,styles:h,bootstrapScripts:k,scripts:l,bulkPreloads:n,preloads:r,boundaryResources:null,stylesToHoist:!1,generateStaticMarkup:b}}function jc(a,b,c,d){if(c.generateStaticMarkup)return a.push(x(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(x(b)),a=!0);return a} -var kc=Symbol.for("react.element"),lc=Symbol.for("react.portal"),mc=Symbol.for("react.fragment"),nc=Symbol.for("react.strict_mode"),oc=Symbol.for("react.profiler"),pc=Symbol.for("react.provider"),qc=Symbol.for("react.context"),Lc=Symbol.for("react.server_context"),Mc=Symbol.for("react.forward_ref"),Nc=Symbol.for("react.suspense"),Oc=Symbol.for("react.suspense_list"),Pc=Symbol.for("react.memo"),Qc=Symbol.for("react.lazy"),Rc=Symbol.for("react.scope"),Sc=Symbol.for("react.debug_trace_mode"),Tc=Symbol.for("react.offscreen"), -Uc=Symbol.for("react.legacy_hidden"),Vc=Symbol.for("react.cache"),Wc=Symbol.for("react.default_value"),Xc=Symbol.iterator; -function Yc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case mc:return"Fragment";case lc:return"Portal";case oc:return"Profiler";case nc:return"StrictMode";case Nc:return"Suspense";case Oc:return"SuspenseList";case Vc:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case qc:return(a.displayName||"Context")+".Consumer";case pc:return(a._context.displayName||"Context")+".Provider";case Mc:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Pc:return b=a.displayName||null,null!==b?b:Yc(a.type)||"Memo";case Qc:b=a._payload;a=a._init;try{return Yc(a(b))}catch(c){break}case Lc:return(a.displayName||a._globalName)+".Provider"}return null}var Zc={};function $c(a,b){a=a.contextTypes;if(!a)return Zc;var c={},d;for(d in a)c[d]=b[d];return c}var ad=null; -function bd(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(p(401));}else{if(null===c)throw Error(p(401));bd(a,c)}b.context._currentValue2=b.value}}function cd(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&cd(a)}function dd(a){var b=a.parent;null!==b&&dd(b);a.context._currentValue2=a.value} -function ed(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error(p(402));a.depth===b.depth?bd(a,b):ed(a,b)}function fd(a,b){var c=b.parent;if(null===c)throw Error(p(402));a.depth===c.depth?bd(a,c):fd(a,c);b.context._currentValue2=b.value}function gd(a){var b=ad;b!==a&&(null===b?dd(a):null===a?cd(b):b.depth===a.depth?bd(b,a):b.depth>a.depth?ed(b,a):fd(b,a),ad=a)} -var hd={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function id(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=hd;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:t({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&hd.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=t({},f,h)):t(f,h))}a.state=f}else f.queue=null} -var jd={id:1,overflow:""};function kd(a,b,c){var d=a.id;a=a.overflow;var e=32-ld(d)-1;d&=~(1<<e);c+=1;var f=32-ld(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-ld(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var ld=Math.clz32?Math.clz32:md,nd=Math.log,od=Math.LN2;function md(a){a>>>=0;return 0===a?32:31-(nd(a)/od|0)|0}var pd=Error(p(460));function qd(){} -function rd(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(qd,qd),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}sd=b;throw pd;}}var sd=null; -function td(){if(null===sd)throw Error(p(459));var a=sd;sd=null;return a}function ud(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var vd="function"===typeof Object.is?Object.is:ud,S=null,wd=null,xd=null,U=null,yd=!1,zd=!1,Ad=0,Bd=0,Cd=-1,Dd=0,Ed=null,Fd=null,Gd=0;function Hd(){if(null===S)throw Error(p(321));return S}function Id(){if(0<Gd)throw Error(p(312));return{memoizedState:null,queue:null,next:null}} -function Jd(){null===U?null===xd?(yd=!1,xd=U=Id()):(yd=!0,U=xd):null===U.next?(yd=!1,U=U.next=Id()):(yd=!0,U=U.next);return U}function Kd(a,b,c,d){for(;zd;)zd=!1,Bd=Ad=0,Cd=-1,Dd=0,Gd+=1,U=null,c=a(b,d);Ld();return c}function Md(){var a=Ed;Ed=null;return a}function Ld(){wd=S=null;zd=!1;xd=null;Gd=0;U=Fd=null}function Nd(a,b){return"function"===typeof b?b(a):b} -function Od(a,b,c){S=Hd();U=Jd();if(yd){var d=U.queue;b=d.dispatch;if(null!==Fd&&(c=Fd.get(d),void 0!==c)){Fd.delete(d);d=U.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);U.memoizedState=d;return[d,b]}return[U.memoizedState,b]}a=a===Nd?"function"===typeof b?b():b:void 0!==c?c(b):b;U.memoizedState=a;a=U.queue={last:null,dispatch:null};a=a.dispatch=Pd.bind(null,S,a);return[U.memoizedState,a]} -function Qd(a,b){S=Hd();U=Jd();b=void 0===b?null:b;if(null!==U){var c=U.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!vd(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();U.memoizedState=[a,b];return a}function Pd(a,b,c){if(25<=Gd)throw Error(p(301));if(a===S)if(zd=!0,a={action:c,next:null},null===Fd&&(Fd=new Map),c=Fd.get(b),void 0===c)Fd.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}} -function Rd(){throw Error(p(394));}function Sd(a){var b=Dd;Dd+=1;null===Ed&&(Ed=[]);return rd(Ed,a,b)}function Td(){throw Error(p(393));}function Ud(){} -var Wd={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Sd(a);if(a.$$typeof===qc||a.$$typeof===Lc)return a._currentValue2}throw Error(p(438,String(a)));},useContext:function(a){Hd();return a._currentValue2},useMemo:Qd,useReducer:Od,useRef:function(a){S=Hd();U=Jd();var b=U.memoizedState;return null===b?(a={current:a},U.memoizedState=a):b},useState:function(a){return Od(Nd,a)},useInsertionEffect:Ud,useLayoutEffect:Ud, -useCallback:function(a,b){return Qd(function(){return a},b)},useImperativeHandle:Ud,useEffect:Ud,useDebugValue:Ud,useDeferredValue:function(a){Hd();return a},useTransition:function(){Hd();return[!1,Rd]},useId:function(){var a=wd.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-ld(a)-1)).toString(32)+b;var c=Vd;if(null===c)throw Error(p(404));b=Ad++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(p(407));return c()},useCacheRefresh:function(){return Td}}, -Vd=null,Xd={getCacheSignal:function(){throw Error(p(248));},getCacheForType:function(){throw Error(p(248));}},Yd=Ea.ReactCurrentDispatcher,Zd=Ea.ReactCurrentCache;function $d(a){console.error(a);return null}function ae(){} -function be(a,b,c,d,e,f,g,h,k,l,n,r){Fa.current=bb;var m=[],u=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?$d:f,onPostpone:void 0===n?ae:n,onAllReady:void 0===g? -ae:g,onShellReady:void 0===h?ae:h,onShellError:void 0===k?ae:k,onFatalError:void 0===l?ae:l,formState:void 0===r?null:r};c=ce(b,0,null,d,!1,!1);c.parentFlushed=!0;a=de(b,null,a,-1,null,c,u,null,d,Zc,null,jd);m.push(a);return b}var P=null;function ee(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,fe(a))} -function ge(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function de(a,b,c,d,e,f,g,h,k,l,n,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var m={replay:null,node:c,childIndex:d,ping:function(){return ee(a,m)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:n,treeContext:r,thenableState:b};g.add(m);return m} -function he(a,b,c,d,e,f,g,h,k,l,n,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var m={replay:c,node:d,childIndex:e,ping:function(){return ee(a,m)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:n,treeContext:r,thenableState:b};g.add(m);return m}function ce(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function V(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function ie(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function je(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(p(108,Yc(e)||"Unknown",h));e=t({},c,d)}b.legacyContext=e;Z(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Z(a,b,null,f,-1),b.keyPath=e} -function ke(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var l=0;l<f;l++)l===g?k.push("\x3c!--F!--\x3e"):k.push("\x3c!--F--\x3e")}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=kd(c,1,0),le(a,b,d,-1),b.treeContext=c):h?le(a,b,d,-1):Z(a,b,null,d,-1);b.keyPath=f}function me(a,b){if(a&&a.defaultProps){b=t({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function ne(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=$c(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue2:d);id(h,e,f,d);je(a,b,c,h,e)}else{h=$c(e,b.legacyContext);S={};wd=b;Bd=Ad=0;Cd=-1;Dd=0;Ed=d;d=e(f,h);d=Kd(e,f,d,h);g=0!==Ad;var k=Bd,l=Cd;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(id(d,e,f,h),je(a,b,c,d,e)):ke(a,b,c,d,g,k,l)}else if("string"===typeof e)if(d=b.blockedSegment, -null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=eb(h,e,f),b.keyPath=c,le(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Cb(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=eb(h,e,f);b.keyPath=c;le(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push("</",e,">")}d.lastPushedText=!1}else{switch(e){case Uc:case Sc:case nc:case oc:case mc:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case Tc:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Z(a,b,null,f.children,-1),b.keyPath=e);return;case Oc:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case Rc:throw Error(p(343));case Nc:a:if(null!== -b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{le(a,b,c,-1)}finally{b.keyPath=e}}else{l=b.keyPath;e=b.blockedBoundary;var n=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=ge(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=ce(a,n.chunks.length,g,b.formatContext,!1,!1);n.children.push(k);n.lastPushedText=!1;var m=ce(a,0,null,b.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=m;a.renderState.boundaryResources=g.resources;b.keyPath=c;try{if(le(a, -b,r,-1),a.renderState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,oe(g,m),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(u){m.status=4,g.status=4,h=V(a,u),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=n,b.keyPath=l}h=[c[0],"Suspense Fallback",c[2]];l=a.trackedPostpones;null!==l&&(n=[h[1],h[2],[],null],l.workingMap.set(h,n),5===g.status?l.workingMap.get(c)[4]=n:g.trackedFallbackNode= -n);b=de(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Mc:e=e.render;S={};wd=b;Bd=Ad=0;Cd=-1;Dd=0;Ed=d;d=e(f,g);f=Kd(e,f,d,g);ke(a,b,c,f,0!==Ad,Bd,Cd);return;case Pc:e=e.type;f=me(e,f);ne(a,b,c,d,e,f,g);return;case pc:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue2;e._currentValue2=f;k=ad;ad=f={parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g,value:f};b.context= -f;b.keyPath=c;Z(a,b,null,h,-1);a=ad;if(null===a)throw Error(p(403));c=a.parentValue;a.context._currentValue2=c===Wc?a.context._defaultValue:c;a=ad=a.parent;b.context=a;b.keyPath=d;return;case qc:f=f.children;f=f(e._currentValue2);e=b.keyPath;b.keyPath=c;Z(a,b,null,f,-1);b.keyPath=e;return;case Qc:h=e._init;e=h(e._payload);f=me(e,f);ne(a,b,c,d,e,f,void 0);return}throw Error(p(130,null==e?e:typeof e,""));}} -function pe(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=ce(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,le(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(oe(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function Z(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case kc:var f=d.type,g=d.key,h=d.props,k=d.ref,l=Yc(f),n=null==g?-1===e?0:e:g;g=[b.keyPath,l,n];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var m=e[d];if(n===m[1]){if(null!==l&&l!==m[0])throw Error(p(489,l));if(4===m.length){l=m[2];m=m[3];b.replay={nodes:l,slots:m,pendingTasks:1};try{if("number"===typeof m){n=a;var u=b,G=u.replay,H=u.blockedBoundary,v=ce(n,0,null,u.formatContext, -!1,!1);v.id=m;v.parentFlushed=!0;try{u.replay=null,u.blockedSegment=v,ne(n,u,g,c,f,h,k),v.status=1,null===H?n.completedRootSegment=v:(oe(H,v),H.parentFlushed&&n.partialBoundaries.push(H))}finally{u.replay=G,u.blockedSegment=null}}else ne(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(p(488));}catch(A){if("object"===typeof A&&null!==A&&(A===pd||"function"===typeof A.then))throw A;h=void 0;var q=b.blockedBoundary;g=A;h=V(a,g);qe(a,q,l,m,g,h)}finally{b.replay.pendingTasks--, -b.replay=r}}else{if(f!==Nc)throw Error(p(490));b:{q=void 0;G=m[5];H=m[2];v=m[3];f=null===m[4]?[]:m[4][2];r=null===m[4]?null:m[4][3];k=b.keyPath;l=b.replay;m=b.blockedBoundary;n=h.children;h=h.fallback;c=new Set;u=ge(a,c);u.parentFlushed=!0;u.rootSegmentID=G;b.blockedBoundary=u;b.replay={nodes:H,slots:v,pendingTasks:1};a.renderState.boundaryResources=u.resources;try{"number"===typeof v?pe(a,b,v,n,-1):le(a,b,n,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(p(488));b.replay.pendingTasks--; -if(0===u.pendingTasks&&0===u.status){u.status=1;a.completedBoundaries.push(u);break b}}catch(A){u.status=4,q=V(a,A),u.errorDigest=q,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(u)}finally{a.renderState.boundaryResources=m?m.resources:null,b.blockedBoundary=m,b.replay=l,b.keyPath=k}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof r?(q=ce(a,0,null,b.formatContext,!1,!1),q.id=r,q.parentFlushed=!0,b=de(a,null,h,-1,m,q,c,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):b=he(a, -null,{nodes:f,slots:r,pendingTasks:0},h,-1,m,c,g,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else ne(a,b,g,c,f,h,k);return;case lc:throw Error(p(257));case Qc:h=d._init;d=h(d._payload);Z(a,b,null,d,e);return}if(Da(d)){re(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=Xc&&d[Xc]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);re(a,b,g,e)}return}if("function"=== -typeof d.then)return Z(a,b,null,Sd(d),e);if(d.$$typeof===qc||d.$$typeof===Lc)return Z(a,b,null,d._currentValue2,e);e=Object.prototype.toString.call(d);throw Error(p(31,"[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e));}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=jc(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=jc(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function re(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{if(re(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(p(488));}catch(r){if("object"===typeof r&&null!==r&&(r===pd||"function"===typeof r.then))throw r;c=void 0;var l=b.blockedBoundary,n=r;c=V(a,n);qe(a,l,d,k,n,c)}finally{b.replay.pendingTasks--, -b.replay=f}g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(l=0;l<g;l++)d=c[l],b.treeContext=kd(f,g,l),k=h[l],"number"===typeof k?(pe(a,b,k,d,l),delete h[l]):le(a,b,d,l);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)l=c[h],b.treeContext=kd(f,g,h),le(a,b,l,h);b.treeContext=f;b.keyPath=e} -function le(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,l=b.blockedSegment;if(null===l)try{return Z(a,b,null,c,d)}catch(m){if(Ld(),c=m===pd?td():m,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Md();a=he(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;gd(g);return}}else{var n= -l.children.length,r=l.chunks.length;try{return Z(a,b,null,c,d)}catch(m){if(Ld(),l.children.length=n,l.chunks.length=r,c=m===pd?td():m,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Md();l=b.blockedSegment;n=ce(a,l.chunks.length,null,b.formatContext,l.lastPushedText,!0);l.children.push(n);l.lastPushedText=!1;a=de(a,d,b.node,b.childIndex,b.blockedBoundary,n,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=k;gd(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;gd(g);throw c;}function se(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,te(this,b,a))} -function qe(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)qe(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,l=f,n=ge(k,new Set);n.parentFlushed=!0;n.rootSegmentID=h;n.status=4;n.errorDigest=l;n.parentFlushed&&k.clientRenderedBoundaries.push(n)}}c.length=0;if(null!==d){if(null===b)throw Error(p(487));4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} -function ue(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(V(b,c),ie(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=V(b,c),qe(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=V(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return ue(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function oe(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&oe(a,c)}else a.completedSegments.push(b)} -function te(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(p(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=ae,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&oe(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(se,a),b.fallbackAbortableTasks.clear())):null!== -c&&c.parentFlushed&&1===c.status&&(oe(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function fe(a){if(2!==a.status){var b=ad,c=Yd.current;Yd.current=Wd;var d=Zd.current;Zd.current=Xd;var e=P;P=a;var f=Vd;Vd=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],l=a,n=k.blockedBoundary;l.renderState.boundaryResources=n?n.resources:null;var r=k.blockedSegment;if(null===r){var m=l;if(0!==k.replay.pendingTasks){gd(k.context);try{var u=k.thenableState;k.thenableState=null;Z(m,k,u,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error(p(488)); -k.replay.pendingTasks--;k.abortSet.delete(k);te(m,k.blockedBoundary,null)}catch(B){Ld();var G=B===pd?td():B;if("object"===typeof G&&null!==G&&"function"===typeof G.then){var H=k.ping;G.then(H,H);k.thenableState=Md()}else{k.replay.pendingTasks--;k.abortSet.delete(k);l=void 0;var v=m,q=k.blockedBoundary,A=G,ba=k.replay.nodes,K=k.replay.slots;l=V(v,A);qe(v,q,ba,K,A,l);m.allPendingTasks--;if(0===m.allPendingTasks){var Q=m.onAllReady;Q()}}}finally{m.renderState.boundaryResources=null}}}else if(m=void 0, -v=r,0===v.status){gd(k.context);var L=v.children.length,z=v.chunks.length;try{var W=k.thenableState;k.thenableState=null;Z(l,k,W,k.node,k.childIndex);l.renderState.generateStaticMarkup||v.lastPushedText&&v.textEmbedded&&v.chunks.push("\x3c!-- --\x3e");k.abortSet.delete(k);v.status=1;te(l,k.blockedBoundary,v)}catch(B){Ld();v.children.length=L;v.chunks.length=z;var T=B===pd?td():B;if("object"===typeof T&&null!==T&&"function"===typeof T.then){var ca=k.ping;T.then(ca,ca);k.thenableState=Md()}else{k.abortSet.delete(k); -v.status=4;var M=k.blockedBoundary;m=V(l,T);null===M?ie(l,T):(M.pendingTasks--,4!==M.status&&(M.status=4,M.errorDigest=m,M.parentFlushed&&l.clientRenderedBoundaries.push(M)));l.allPendingTasks--;if(0===l.allPendingTasks){var X=l.onAllReady;X()}}}finally{l.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&ve(a,a.destination)}catch(B){V(a,B),ie(a,B)}finally{Vd=f,Yd.current=c,Zd.current=d,c===Wd&&gd(b),P=e}}} -function we(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=xe(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error(p(390)); -}} -function xe(a,b,c){var d=c.boundary;if(null===d)return we(a,b,c);d.parentFlushed=!0;if(4===d.status)return a.renderState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=x(d),b.push(d),b.push('"')),b.push("></template>")),we(a,b,c),a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(1!==d.status)return 0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Eb(b,a.renderState, -d.rootSegmentID),we(a,b,c),b.push("\x3c!--/$--\x3e");if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Eb(b,a.renderState,d.rootSegmentID),we(a,b,c),b.push("\x3c!--/$--\x3e");c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(gc,e),c.stylesheets.forEach(hc,e));a.renderState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error(p(391));xe(a,b,c[0]);a=a.renderState.generateStaticMarkup? -!0:b.push("\x3c!--/$--\x3e");return a}function ye(a,b,c){Fb(b,a.renderState,c.parentFormatContext,c.id);xe(a,b,c);return Gb(b,c.parentFormatContext)} -function ze(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Ae(a,b,c,d[e]);d.length=0;Yb(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(b.push(a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): +function lc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=w(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=w(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=w(JSON.stringify(e));a.push(e);for(var h in f)if(v.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(n(399,"link")); +default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!la(h))break a;g=""+g}e.push(",");k=w(JSON.stringify(k));e.push(k); +e.push(",");g=w(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")}function Ka(a){var b=N?N:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;J(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}mc(b)}}} +function La(a,b){var c=N?N:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;J(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}mc(c)}}} +function cb(a,b,c){var d=N?N:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=ib;e=[];J(e,t({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];J(g,t({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?ib:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);J(g,t({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?ib:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=t({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}J(e,c);g[a]=ib}mc(d)}}} +function db(a,b){var c=N?N:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?ib:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=ib}J(f,t({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);mc(c)}}} +function eb(a,b,c){var d=N?N:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:w(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:t({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&Eb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),mc(d))}}} +function fb(a,b){var c=N?N:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=t({src:a,async:!0},b),f&&(2===f.length&&Eb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Hb(a,b),mc(c))}}} +function gb(a,b){var c=N?N:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=t({src:a,type:"module",async:!0},b),f&&(2===f.length&&Eb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Hb(a,b),mc(c))}}}function Eb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function nc(a){this.styles.add(a)} +function oc(a){this.stylesheets.add(a)} +function pc(a,b){var c=a.idPrefix;a=c+"P:";var d=c+"S:";c+="B:";var e=new Set,f=new Set,g=new Set,h=new Map,k=new Set,l=new Set,p=new Set,r={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};return{placeholderPrefix:a,segmentPrefix:d,boundaryPrefix:c,startInlineScript:"<script>",htmlChunks:null,headChunks:null,externalRuntimeScript:null,bootstrapChunks:[],charsetChunks:[],preconnectChunks:[],importMapChunks:[],preloadChunks:[],hoistableChunks:[],preconnects:e,fontPreloads:f, +highImagePreloads:g,styles:h,bootstrapScripts:k,scripts:l,bulkPreloads:p,preloads:r,boundaryResources:null,stylesToHoist:!1,generateStaticMarkup:b}}function qc(a,b,c,d){if(c.generateStaticMarkup)return a.push(w(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(w(b)),a=!0);return a} +var rc=Symbol.for("react.element"),sc=Symbol.for("react.portal"),tc=Symbol.for("react.fragment"),uc=Symbol.for("react.strict_mode"),vc=Symbol.for("react.profiler"),wc=Symbol.for("react.provider"),xc=Symbol.for("react.context"),yc=Symbol.for("react.server_context"),Tc=Symbol.for("react.forward_ref"),Uc=Symbol.for("react.suspense"),Vc=Symbol.for("react.suspense_list"),Wc=Symbol.for("react.memo"),Xc=Symbol.for("react.lazy"),Yc=Symbol.for("react.scope"),Zc=Symbol.for("react.debug_trace_mode"),$c=Symbol.for("react.offscreen"), +ad=Symbol.for("react.legacy_hidden"),bd=Symbol.for("react.cache"),cd=Symbol.for("react.default_value"),dd=Symbol.iterator; +function ed(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case tc:return"Fragment";case sc:return"Portal";case vc:return"Profiler";case uc:return"StrictMode";case Uc:return"Suspense";case Vc:return"SuspenseList";case bd:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case xc:return(a.displayName||"Context")+".Consumer";case wc:return(a._context.displayName||"Context")+".Provider";case Tc:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Wc:return b=a.displayName||null,null!==b?b:ed(a.type)||"Memo";case Xc:b=a._payload;a=a._init;try{return ed(a(b))}catch(c){}}return null}var fd={};function gd(a,b){a=a.contextTypes;if(!a)return fd;var c={},d;for(d in a)c[d]=b[d];return c}var hd=null; +function id(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(n(401));}else{if(null===c)throw Error(n(401));id(a,c)}b.context._currentValue2=b.value}}function jd(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&jd(a)}function kd(a){var b=a.parent;null!==b&&kd(b);a.context._currentValue2=a.value} +function ld(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error(n(402));a.depth===b.depth?id(a,b):ld(a,b)}function md(a,b){var c=b.parent;if(null===c)throw Error(n(402));a.depth===c.depth?id(a,c):md(a,c);b.context._currentValue2=b.value}function nd(a){var b=hd;b!==a&&(null===b?kd(a):null===a?jd(b):b.depth===a.depth?id(b,a):b.depth>a.depth?ld(b,a):md(b,a),hd=a)} +var od={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function pd(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=od;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:t({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&od.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=t({},f,h)):t(f,h))}a.state=f}else f.queue=null} +var qd={id:1,overflow:""};function rd(a,b,c){var d=a.id;a=a.overflow;var e=32-sd(d)-1;d&=~(1<<e);c+=1;var f=32-sd(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-sd(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var sd=Math.clz32?Math.clz32:td,ud=Math.log,vd=Math.LN2;function td(a){a>>>=0;return 0===a?32:31-(ud(a)/vd|0)|0}var wd=Error(n(460));function xd(){} +function yd(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(xd,xd),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}zd=b;throw wd;}}var zd=null; +function Ad(){if(null===zd)throw Error(n(459));var a=zd;zd=null;return a}function Bd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Cd="function"===typeof Object.is?Object.is:Bd,Dd=null,Ed=null,Fd=null,Gd=null,Hd=null,S=null,Id=!1,Jd=!1,Kd=0,Ld=0,Md=-1,Nd=0,Od=null,Pd=null,Qd=0;function Rd(){if(null===Dd)throw Error(n(321));return Dd}function Sd(){if(0<Qd)throw Error(n(312));return{memoizedState:null,queue:null,next:null}} +function Td(){null===S?null===Hd?(Id=!1,Hd=S=Sd()):(Id=!0,S=Hd):null===S.next?(Id=!1,S=S.next=Sd()):(Id=!0,S=S.next);return S}function Ud(a,b,c,d){for(;Jd;)Jd=!1,Ld=Kd=0,Md=-1,Nd=0,Qd+=1,S=null,c=a(b,d);Vd();return c}function Wd(){var a=Od;Od=null;return a}function Vd(){Gd=Fd=Ed=Dd=null;Jd=!1;Hd=null;Qd=0;S=Pd=null}function Xd(a,b){return"function"===typeof b?b(a):b} +function Yd(a,b,c){Dd=Rd();S=Td();if(Id){var d=S.queue;b=d.dispatch;if(null!==Pd&&(c=Pd.get(d),void 0!==c)){Pd.delete(d);d=S.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);S.memoizedState=d;return[d,b]}return[S.memoizedState,b]}a=a===Xd?"function"===typeof b?b():b:void 0!==c?c(b):b;S.memoizedState=a;a=S.queue={last:null,dispatch:null};a=a.dispatch=Zd.bind(null,Dd,a);return[S.memoizedState,a]} +function $d(a,b){Dd=Rd();S=Td();b=void 0===b?null:b;if(null!==S){var c=S.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Cd(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();S.memoizedState=[a,b];return a}function Zd(a,b,c){if(25<=Qd)throw Error(n(301));if(a===Dd)if(Jd=!0,a={action:c,next:null},null===Pd&&(Pd=new Map),c=Pd.get(b),void 0===c)Pd.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}} +function ae(){throw Error(n(394));}function be(){throw Error(n(479));}function ee(a){var b=Nd;Nd+=1;null===Od&&(Od=[]);return yd(Od,a,b)}function fe(){throw Error(n(393));}function ge(){} +var ie={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return ee(a);if(a.$$typeof===xc||a.$$typeof===yc)return a._currentValue2}throw Error(n(438,String(a)));},useContext:function(a){Rd();return a._currentValue2},useMemo:$d,useReducer:Yd,useRef:function(a){Dd=Rd();S=Td();var b=S.memoizedState;return null===b?(a={current:a},S.memoizedState=a):b},useState:function(a){return Yd(Xd,a)},useInsertionEffect:ge,useLayoutEffect:ge, +useCallback:function(a,b){return $d(function(){return a},b)},useImperativeHandle:ge,useEffect:ge,useDebugValue:ge,useDeferredValue:function(a){Rd();return a},useTransition:function(){Rd();return[!1,ae]},useId:function(){var a=Ed.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-sd(a)-1)).toString(32)+b;var c=he;if(null===c)throw Error(n(404));b=Kd++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(n(407));return c()},useCacheRefresh:function(){return fe}, +useHostTransitionStatus:function(){Rd();return Ia},useOptimistic:function(a){Rd();return[a,be]},useFormState:function(a,b,c){Rd();var d=Ld++,e=Fd;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Gd;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ea(JSON.stringify([g,null,d]),0),k===f&&(Md=d,b=e[0]))}var l=a.bind(null,b);a=function(r){l(r)};"function"===typeof l.$$FORM_ACTION&&(a.$$FORM_ACTION=function(r){r= +l.$$FORM_ACTION(r);void 0!==c&&(c+="",r.action=c);var m=r.data;m&&(null===f&&(f=void 0!==c?"p"+c:"k"+ea(JSON.stringify([g,null,d]),0)),m.append("$ACTION_KEY",f));return r});return[b,a]}var p=a.bind(null,b);return[b,function(r){p(r)}]}},he=null,je={getCacheSignal:function(){throw Error(n(248));},getCacheForType:function(){throw Error(n(248));}},ke=Ha.ReactCurrentDispatcher,le=Ha.ReactCurrentCache;function me(a){console.error(a);return null}function ne(){} +function oe(a,b,c,d,e,f,g,h,k,l,p,r){Ja.current=hb;var m=[],F=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:F,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?me:f,onPostpone:void 0===p?ne:p,onAllReady:void 0===g? +ne:g,onShellReady:void 0===h?ne:h,onShellError:void 0===k?ne:k,onFatalError:void 0===l?ne:l,formState:void 0===r?null:r};c=pe(b,0,null,d,!1,!1);c.parentFlushed=!0;a=qe(b,null,a,-1,null,c,F,null,d,fd,null,qd);m.push(a);return b}var N=null;function re(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,se(a))} +function te(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function qe(a,b,c,d,e,f,g,h,k,l,p,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var m={replay:null,node:c,childIndex:d,ping:function(){return re(a,m)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:r,thenableState:b};g.add(m);return m} +function ue(a,b,c,d,e,f,g,h,k,l,p,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var m={replay:c,node:d,childIndex:e,ping:function(){return re(a,m)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:r,thenableState:b};g.add(m);return m}function pe(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function V(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function ve(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function we(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(n(108,ed(e)||"Unknown",h));e=t({},c,d)}b.legacyContext=e;W(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,W(a,b,null,f,-1),b.keyPath=e} +function xe(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var l=0;l<f;l++)l===g?k.push("\x3c!--F!--\x3e"):k.push("\x3c!--F--\x3e")}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=rd(c,1,0),ye(a,b,d,-1),b.treeContext=c):h?ye(a,b,d,-1):W(a,b,null,d,-1);b.keyPath=f}function ze(a,b){if(a&&a.defaultProps){b=t({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Ae(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=gd(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue2:d);pd(h,e,f,d);we(a,b,c,h,e)}else{h=gd(e,b.legacyContext);Dd={};Ed=b;Fd=a;Gd=c;Ld=Kd=0;Md=-1;Nd=0;Od=d;d=e(f,h);d=Ud(e,f,d,h);g=0!==Kd;var k=Ld,l=Md;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(pd(d,e,f,h),we(a,b,c,d,e)):xe(a,b,c,d,g,k,l)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=kb(h,e,f),b.keyPath=c,ye(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Lb(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=kb(h,e,f);b.keyPath=c;ye(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push("</",e,">")}d.lastPushedText=!1}else{switch(e){case ad:case Zc:case uc:case vc:case tc:e=b.keyPath;b.keyPath=c;W(a,b,null,f.children,-1);b.keyPath=e;return;case $c:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,W(a,b,null,f.children,-1),b.keyPath=e);return;case Vc:e=b.keyPath;b.keyPath=c;W(a,b,null,f.children,-1);b.keyPath=e;return;case Yc:throw Error(n(343));case Uc:a:if(null!== +b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{ye(a,b,c,-1)}finally{b.keyPath=e}}else{l=b.keyPath;e=b.blockedBoundary;var p=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=te(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=pe(a,p.chunks.length,g,b.formatContext,!1,!1);p.children.push(k);p.lastPushedText=!1;var m=pe(a,0,null,b.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=m;a.renderState.boundaryResources=g.resources;b.keyPath=c;try{if(ye(a, +b,r,-1),a.renderState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,Be(g,m),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(F){m.status=4,g.status=4,h=V(a,F),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=p,b.keyPath=l}h=[c[0],"Suspense Fallback",c[2]];l=a.trackedPostpones;null!==l&&(p=[h[1],h[2],[],null],l.workingMap.set(h,p),5===g.status?l.workingMap.get(c)[4]=p:g.trackedFallbackNode= +p);b=qe(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Tc:e=e.render;Dd={};Ed=b;Fd=a;Gd=c;Ld=Kd=0;Md=-1;Nd=0;Od=d;d=e(f,g);f=Ud(e,f,d,g);xe(a,b,c,f,0!==Kd,Ld,Md);return;case Wc:e=e.type;f=ze(e,f);Ae(a,b,c,d,e,f,g);return;case wc:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue2;e._currentValue2=f;k=hd;hd=f={parent:k,depth:null===k?0:k.depth+1,context:e,parentValue:g, +value:f};b.context=f;b.keyPath=c;W(a,b,null,h,-1);a=hd;if(null===a)throw Error(n(403));c=a.parentValue;a.context._currentValue2=c===cd?a.context._defaultValue:c;a=hd=a.parent;b.context=a;b.keyPath=d;return;case xc:f=f.children;f=f(e._currentValue2);e=b.keyPath;b.keyPath=c;W(a,b,null,f,-1);b.keyPath=e;return;case Xc:h=e._init;e=h(e._payload);f=ze(e,f);Ae(a,b,c,d,e,f,void 0);return}throw Error(n(130,null==e?e:typeof e,""));}} +function Ce(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=pe(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,ye(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Be(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function W(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Ce(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case rc:var f=d.type,g=d.key,h=d.props,k=d.ref,l=ed(f),p=null==g?-1===e?0:e:g;g=[b.keyPath,l,p];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var m=e[d];if(p===m[1]){if(4===m.length){if(null!==l&&l!==m[0])throw Error(n(490,m[0],l));l=m[2];m=m[3];p=b.node;b.replay={nodes:l,slots:m,pendingTasks:1}; +try{Ae(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(n(488));b.replay.pendingTasks--}catch(z){if("object"===typeof z&&null!==z&&(z===wd||"function"===typeof z.then))throw b.node===p&&(b.replay=r),z;b.replay.pendingTasks--;g=a;a=b.blockedBoundary;c=z;h=V(g,c);De(g,a,l,m,c,h)}b.replay=r}else{if(f!==Uc)throw Error(n(490,"Suspense",ed(f)||"Unknown"));b:{r=void 0;c=m[5];f=m[2];k=m[3];l=null===m[4]?[]:m[4][2];m=null===m[4]?null:m[4][3];p=b.keyPath;var F=b.replay,A=b.blockedBoundary, +T=h.children;h=h.fallback;var u=new Set,q=te(a,u);q.parentFlushed=!0;q.rootSegmentID=c;b.blockedBoundary=q;b.replay={nodes:f,slots:k,pendingTasks:1};a.renderState.boundaryResources=q.resources;try{ye(a,b,T,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(n(488));b.replay.pendingTasks--;if(0===q.pendingTasks&&0===q.status){q.status=1;a.completedBoundaries.push(q);break b}}catch(z){q.status=4,r=V(a,z),q.errorDigest=r,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(q)}finally{a.renderState.boundaryResources= +A?A.resources:null,b.blockedBoundary=A,b.replay=F,b.keyPath=p}b=ue(a,null,{nodes:l,slots:m,pendingTasks:0},h,-1,A,u,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else Ae(a,b,g,c,f,h,k);return;case sc:throw Error(n(257));case Xc:h=d._init;d=h(d._payload);W(a,b,null,d,e);return}if(Ga(d)){Ee(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=dd&&d[dd]||d["@@iterator"],h="function"===typeof h?h:null);if(h&& +(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Ee(a,b,g,e)}return}if("function"===typeof d.then)return W(a,b,null,ee(d),e);if(d.$$typeof===xc||d.$$typeof===yc)return W(a,b,null,d._currentValue2,e);e=Object.prototype.toString.call(d);throw Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e));}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=qc(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&& +(e=b.blockedSegment,null!==e&&(e.lastPushedText=qc(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Ee(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{Ee(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(n(488));b.replay.pendingTasks--}catch(r){if("object"===typeof r&&null!==r&&(r===wd||"function"===typeof r.then))throw r;b.replay.pendingTasks--;c=a;var l=b.blockedBoundary,p=r;a=V(c,p);De(c, +l,d,k,p,a)}b.replay=f;g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(d=0;d<g;d++)k=c[d],b.treeContext=rd(f,g,d),l=h[d],"number"===typeof l?(Ce(a,b,l,k,d),delete h[d]):ye(a,b,k,d);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)d=c[h],b.treeContext=rd(f,g,h),ye(a,b,d,h);b.treeContext=f;b.keyPath=e} +function ye(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,l=b.blockedSegment;if(null===l)try{return W(a,b,null,c,d)}catch(m){if(Vd(),c=m===wd?Ad():m,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Wd();a=ue(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;nd(g);return}}else{var p= +l.children.length,r=l.chunks.length;try{return W(a,b,null,c,d)}catch(m){if(Vd(),l.children.length=p,l.chunks.length=r,c=m===wd?Ad():m,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Wd();l=b.blockedSegment;p=pe(a,l.chunks.length,null,b.formatContext,l.lastPushedText,!0);l.children.push(p);l.lastPushedText=!1;a=qe(a,d,b.node,b.childIndex,b.blockedBoundary,p,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=k;nd(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;nd(g);throw c;}function Fe(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Ge(this,b,a))} +function De(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)De(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,l=f,p=te(k,new Set);p.parentFlushed=!0;p.rootSegmentID=h;p.status=4;p.errorDigest=l;p.parentFlushed&&k.clientRenderedBoundaries.push(p)}}c.length=0;if(null!==d){if(null===b)throw Error(n(487));4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} +function He(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){V(b,c);ve(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=V(b,c),De(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=ne,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=V(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return He(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Be(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Be(a,c)}else a.completedSegments.push(b)} +function Ge(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(n(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=ne,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Be(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Fe,a),b.fallbackAbortableTasks.clear())):null!== +c&&c.parentFlushed&&1===c.status&&(Be(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function se(a){if(2!==a.status){var b=hd,c=ke.current;ke.current=ie;var d=le.current;le.current=je;var e=N;N=a;var f=he;he=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],l=a,p=k.blockedBoundary;l.renderState.boundaryResources=p?p.resources:null;var r=k.blockedSegment;if(null===r){var m=l;if(0!==k.replay.pendingTasks){nd(k.context);try{var F=k.thenableState;k.thenableState=null;W(m,k,F,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error(n(488)); +k.replay.pendingTasks--;k.abortSet.delete(k);Ge(m,k.blockedBoundary,null)}catch(P){Vd();var A=P===wd?Ad():P;if("object"===typeof A&&null!==A&&"function"===typeof A.then){var T=k.ping;A.then(T,T);k.thenableState=Wd()}else{k.replay.pendingTasks--;k.abortSet.delete(k);l=void 0;var u=m,q=k.blockedBoundary,z=A,ca=k.replay.nodes,G=k.replay.slots;l=V(u,z);De(u,q,ca,G,z,l);m.pendingRootTasks--;if(0===m.pendingRootTasks){m.onShellError=ne;var O=m.onShellReady;O()}m.allPendingTasks--;if(0===m.allPendingTasks){var H= +m.onAllReady;H()}}}finally{m.renderState.boundaryResources=null}}}else if(m=void 0,u=r,0===u.status){nd(k.context);var y=u.children.length,X=u.chunks.length;try{var Ba=k.thenableState;k.thenableState=null;W(l,k,Ba,k.node,k.childIndex);l.renderState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("\x3c!-- --\x3e");k.abortSet.delete(k);u.status=1;Ge(l,k.blockedBoundary,u)}catch(P){Vd();u.children.length=y;u.chunks.length=X;var Q=P===wd?Ad():P;if("object"===typeof Q&&null!==Q&& +"function"===typeof Q.then){var Y=k.ping;Q.then(Y,Y);k.thenableState=Wd()}else{k.abortSet.delete(k);u.status=4;var I=k.blockedBoundary;m=V(l,Q);null===I?ve(l,Q):(I.pendingTasks--,4!==I.status&&(I.status=4,I.errorDigest=m,I.parentFlushed&&l.clientRenderedBoundaries.push(I)));l.allPendingTasks--;if(0===l.allPendingTasks){var U=l.onAllReady;U()}}}finally{l.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Ie(a,a.destination)}catch(P){V(a,P),ve(a,P)}finally{he=f,ke.current=c,le.current= +d,c===ie&&nd(b),N=e}}} +function Je(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=Ke(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error(n(390));}} +function Ke(a,b,c){var d=c.boundary;if(null===d)return Je(a,b,c);d.parentFlushed=!0;if(4===d.status)return a.renderState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=w(d),b.push(d),b.push('"')),b.push("></template>")),Je(a,b,c),a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(1!==d.status)return 0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Nb(b, +a.renderState,d.rootSegmentID),Je(a,b,c),b.push("\x3c!--/$--\x3e");if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Nb(b,a.renderState,d.rootSegmentID),Je(a,b,c),b.push("\x3c!--/$--\x3e");c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(nc,e),c.stylesheets.forEach(oc,e));a.renderState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error(n(391));Ke(a,b,c[0]);a=a.renderState.generateStaticMarkup? +!0:b.push("\x3c!--/$--\x3e");return a}function Le(a,b,c){Ob(b,a.renderState,c.parentFormatContext,c.id);Ke(a,b,c);return Pb(b,c.parentFormatContext)} +function Me(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Ne(a,b,c,d[e]);d.length=0;ec(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(b.push(a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): 0===(d.instructions&8)?(d.instructions|=8,b.push('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): b.push('$RR("'):0===(d.instructions&2)?(d.instructions|=2,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("')): -b.push('$RC("')):f?b.push('<template data-rri="" data-bid="'):b.push('<template data-rci="" data-bid="');d=e.toString(16);b.push(a.boundaryPrefix);b.push(d);g?b.push('","'):b.push('" data-sid="');b.push(a.segmentPrefix);b.push(d);f?g?(b.push('",'),dc(b,c)):(b.push('" data-sty="'),ec(b,c)):g&&b.push('"');d=g?b.push(")\x3c/script>"):b.push('"></template>');return Db(b,a)&&d} -function Ae(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error(p(392));return ye(a,b,d)}if(e===c.rootSegmentID)return ye(a,b,d);ye(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(b.push(a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')): +b.push('$RC("')):f?b.push('<template data-rri="" data-bid="'):b.push('<template data-rci="" data-bid="');d=e.toString(16);b.push(a.boundaryPrefix);b.push(d);g?b.push('","'):b.push('" data-sid="');b.push(a.segmentPrefix);b.push(d);f?g?(b.push('",'),kc(b,c)):(b.push('" data-sty="'),lc(b,c)):g&&b.push('"');d=g?b.push(")\x3c/script>"):b.push('"></template>');return Mb(b,a)&&d} +function Ne(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error(n(392));return Le(a,b,d)}if(e===c.rootSegmentID)return Le(a,b,d);Le(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(b.push(a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')): b.push('$RS("')):b.push('<template data-rsi="" data-sid="');b.push(a.segmentPrefix);e=e.toString(16);b.push(e);d?b.push('","'):b.push('" data-pid="');b.push(a.placeholderPrefix);b.push(e);b=d?b.push('")\x3c/script>'):b.push('"></template>');return b} -function ve(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var l=e.htmlChunks,n=e.headChunks;f=0;if(l){for(f=0;f<l.length;f++)b.push(l[f]);if(n)for(f=0;f<n.length;f++)b.push(n[f]);else{var r=J("head");b.push(r);b.push(">")}}else if(n)for(f= -0;f<n.length;f++)b.push(n[f]);var m=e.charsetChunks;for(f=0;f<m.length;f++)b.push(m[f]);m.length=0;e.preconnects.forEach(O,b);e.preconnects.clear();var u=e.preconnectChunks;for(f=0;f<u.length;f++)b.push(u[f]);u.length=0;e.fontPreloads.forEach(O,b);e.fontPreloads.clear();e.highImagePreloads.forEach(O,b);e.highImagePreloads.clear();e.styles.forEach(ac,b);var G=e.importMapChunks;for(f=0;f<G.length;f++)b.push(G[f]);G.length=0;e.bootstrapScripts.forEach(O,b);e.scripts.forEach(O,b);e.scripts.clear();e.bulkPreloads.forEach(O, -b);e.bulkPreloads.clear();var H=e.preloadChunks;for(f=0;f<H.length;f++)b.push(H[f]);H.length=0;var v=e.hoistableChunks;for(f=0;f<v.length;f++)b.push(v[f]);v.length=0;l&&null===n&&(b.push("</"),b.push("head"),b.push(">"));xe(a,b,d);a.completedRootSegment=null;Db(b,a.renderState)}else return;var q=a.renderState;d=0;q.preconnects.forEach(O,b);q.preconnects.clear();var A=q.preconnectChunks;for(d=0;d<A.length;d++)b.push(A[d]);A.length=0;q.fontPreloads.forEach(O,b);q.fontPreloads.clear();q.highImagePreloads.forEach(O, -b);q.highImagePreloads.clear();q.styles.forEach(cc,b);q.scripts.forEach(O,b);q.scripts.clear();q.bulkPreloads.forEach(O,b);q.bulkPreloads.clear();var ba=q.preloadChunks;for(d=0;d<ba.length;d++)b.push(ba[d]);ba.length=0;var K=q.hoistableChunks;for(d=0;d<K.length;d++)b.push(K[d]);K.length=0;var Q=a.clientRenderedBoundaries;for(c=0;c<Q.length;c++){var L=Q[c];q=b;var z=a.resumableState,W=a.renderState,T=L.rootSegmentID,ca=L.errorDigest,M=L.errorMessage,X=L.errorComponentStack,B=0===z.streamingFormat; -B?(q.push(W.startInlineScript),0===(z.instructions&4)?(z.instructions|=4,q.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("')):q.push('$RX("')):q.push('<template data-rxi="" data-bid="');q.push(W.boundaryPrefix);var Ja=T.toString(16);q.push(Ja);B&&q.push('"');if(ca||M||X)if(B){q.push(",");var Ka=Ib(ca||"");q.push(Ka)}else{q.push('" data-dgst="');var La=x(ca|| -"");q.push(La)}if(M||X)if(B){q.push(",");var Ma=Ib(M||"");q.push(Ma)}else{q.push('" data-msg="');var ja=x(M||"");q.push(ja)}if(X)if(B){q.push(",");var R=Ib(X);q.push(R)}else{q.push('" data-stck="');var jb=x(X);q.push(jb)}if(B?!q.push(")\x3c/script>"):!q.push('"></template>')){a.destination=null;c++;Q.splice(0,c);return}}Q.splice(0,c);var Y=a.completedBoundaries;for(c=0;c<Y.length;c++)if(!ze(a,b,Y[c])){a.destination=null;c++;Y.splice(0,c);return}Y.splice(0,c);var ka=a.partialBoundaries;for(c=0;c<ka.length;c++){var la= -ka[c];a:{Q=a;L=b;Q.renderState.boundaryResources=la.resources;var ma=la.completedSegments;for(z=0;z<ma.length;z++)if(!Ae(Q,L,la,ma[z])){z++;ma.splice(0,z);var Na=!1;break a}ma.splice(0,z);Na=Yb(L,la.resources,Q.renderState)}if(!Na){a.destination=null;c++;ka.splice(0,c);return}}ka.splice(0,c);var na=a.completedBoundaries;for(c=0;c<na.length;c++)if(!ze(a,b,na[c])){a.destination=null;c++;na.splice(0,c);return}na.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&& -0===a.completedBoundaries.length&&(a.flushScheduled=!1,a=a.resumableState,a.hasBody&&(b.push("</"),b.push("body"),b.push(">")),a.hasHtml&&(b.push("</"),b.push("html"),b.push(">")),b.push(null))}}function fc(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;ve(a,b)}} -function Be(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error(p(432)):b;c.forEach(function(e){return ue(e,a,d)});c.clear()}null!==a.destination&&ve(a,a.destination)}catch(e){V(a,e),ie(a,e)}}function Ce(){} -function De(a,b,c,d){var e=!1,f=null,g="",h={push:function(l){null!==l&&(g+=l);return!0},destroy:function(l){e=!0;f=l}},k=!1;b=db(b?b.identifierPrefix:void 0,void 0);a=be(a,b,ic(b,c),y(0,null,0),Infinity,Ce,void 0,function(){k=!0},void 0,void 0,void 0);a.flushScheduled=null!==a.destination;fe(a);Be(a,d);if(1===a.status)a.status=2,h.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=h;try{ve(a,h)}catch(l){V(a,l),ie(a,l)}}if(e&&f!==d)throw f;if(!k)throw Error(p(426));return g} -exports.renderToNodeStream=function(){throw Error(p(207));};exports.renderToStaticMarkup=function(a,b){return De(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};exports.renderToStaticNodeStream=function(){throw Error(p(208));};exports.renderToString=function(a,b){return De(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}; -exports.version="18.3.0-canary-d900fadbf-20230929"; +function Ie(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var l=e.htmlChunks,p=e.headChunks;f=0;if(l){for(f=0;f<l.length;f++)b.push(l[f]);if(p)for(f=0;f<p.length;f++)b.push(p[f]);else{var r=K("head");b.push(r);b.push(">")}}else if(p)for(f= +0;f<p.length;f++)b.push(p[f]);var m=e.charsetChunks;for(f=0;f<m.length;f++)b.push(m[f]);m.length=0;e.preconnects.forEach(L,b);e.preconnects.clear();var F=e.preconnectChunks;for(f=0;f<F.length;f++)b.push(F[f]);F.length=0;e.fontPreloads.forEach(L,b);e.fontPreloads.clear();e.highImagePreloads.forEach(L,b);e.highImagePreloads.clear();e.styles.forEach(hc,b);var A=e.importMapChunks;for(f=0;f<A.length;f++)b.push(A[f]);A.length=0;e.bootstrapScripts.forEach(L,b);e.scripts.forEach(L,b);e.scripts.clear();e.bulkPreloads.forEach(L, +b);e.bulkPreloads.clear();var T=e.preloadChunks;for(f=0;f<T.length;f++)b.push(T[f]);T.length=0;var u=e.hoistableChunks;for(f=0;f<u.length;f++)b.push(u[f]);u.length=0;l&&null===p&&(b.push("</"),b.push("head"),b.push(">"));Ke(a,b,d);a.completedRootSegment=null;Mb(b,a.renderState)}else return;var q=a.renderState;d=0;q.preconnects.forEach(L,b);q.preconnects.clear();var z=q.preconnectChunks;for(d=0;d<z.length;d++)b.push(z[d]);z.length=0;q.fontPreloads.forEach(L,b);q.fontPreloads.clear();q.highImagePreloads.forEach(L, +b);q.highImagePreloads.clear();q.styles.forEach(jc,b);q.scripts.forEach(L,b);q.scripts.clear();q.bulkPreloads.forEach(L,b);q.bulkPreloads.clear();var ca=q.preloadChunks;for(d=0;d<ca.length;d++)b.push(ca[d]);ca.length=0;var G=q.hoistableChunks;for(d=0;d<G.length;d++)b.push(G[d]);G.length=0;var O=a.clientRenderedBoundaries;for(c=0;c<O.length;c++){var H=O[c];q=b;var y=a.resumableState,X=a.renderState,Ba=H.rootSegmentID,Q=H.errorDigest,Y=H.errorMessage,I=H.errorComponentStack,U=0===y.streamingFormat; +U?(q.push(X.startInlineScript),0===(y.instructions&4)?(y.instructions|=4,q.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("')):q.push('$RX("')):q.push('<template data-rxi="" data-bid="');q.push(X.boundaryPrefix);var P=Ba.toString(16);q.push(P);U&&q.push('"');if(Q||Y||I)if(U){q.push(",");var Ma=Rb(Q||"");q.push(Ma)}else{q.push('" data-dgst="');var Na=w(Q||""); +q.push(Na)}if(Y||I)if(U){q.push(",");var Oa=Rb(Y||"");q.push(Oa)}else{q.push('" data-msg="');var ma=w(Y||"");q.push(ma)}if(I)if(U){q.push(",");var R=Rb(I);q.push(R)}else{q.push('" data-stck="');var ob=w(I);q.push(ob)}if(U?!q.push(")\x3c/script>"):!q.push('"></template>')){a.destination=null;c++;O.splice(0,c);return}}O.splice(0,c);var Z=a.completedBoundaries;for(c=0;c<Z.length;c++)if(!Me(a,b,Z[c])){a.destination=null;c++;Z.splice(0,c);return}Z.splice(0,c);var na=a.partialBoundaries;for(c=0;c<na.length;c++){var oa= +na[c];a:{O=a;H=b;O.renderState.boundaryResources=oa.resources;var pa=oa.completedSegments;for(y=0;y<pa.length;y++)if(!Ne(O,H,oa,pa[y])){y++;pa.splice(0,y);var Pa=!1;break a}pa.splice(0,y);Pa=ec(H,oa.resources,O.renderState)}if(!Pa){a.destination=null;c++;na.splice(0,c);return}}na.splice(0,c);var qa=a.completedBoundaries;for(c=0;c<qa.length;c++)if(!Me(a,b,qa[c])){a.destination=null;c++;qa.splice(0,c);return}qa.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&& +0===a.completedBoundaries.length&&(a.flushScheduled=!1,c=a.resumableState,c.hasBody&&(b.push("</"),b.push("body"),b.push(">")),c.hasHtml&&(b.push("</"),b.push("html"),b.push(">")),b.push(null),a.destination=null)}}function mc(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){a.flushScheduled=!0;var b=a.destination;b?Ie(a,b):a.flushScheduled=!1}} +function Oe(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error(n(432)):b;c.forEach(function(e){return He(e,a,d)});c.clear()}null!==a.destination&&Ie(a,a.destination)}catch(e){V(a,e),ve(a,e)}}function Pe(){} +function Qe(a,b,c,d){var e=!1,f=null,g="",h={push:function(l){null!==l&&(g+=l);return!0},destroy:function(l){e=!0;f=l}},k=!1;b=jb(b?b.identifierPrefix:void 0,void 0);a=oe(a,b,pc(b,c),x(0,null,0),Infinity,Pe,void 0,function(){k=!0},void 0,void 0,void 0);a.flushScheduled=null!==a.destination;se(a);Oe(a,d);if(1===a.status)a.status=2,h.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=h;try{Ie(a,h)}catch(l){V(a,l),ve(a,l)}}if(e&&f!==d)throw f;if(!k)throw Error(n(426));return g} +exports.renderToNodeStream=function(){throw Error(n(207));};exports.renderToStaticMarkup=function(a,b){return Qe(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')};exports.renderToStaticNodeStream=function(){throw Error(n(208));};exports.renderToString=function(a,b){return Qe(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}; +exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js index 56f036445196f..078f5ee263e0d 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js @@ -18,7 +18,7 @@ var React = require("next/dist/compiled/react"); var ReactDOM = require('react-dom'); var stream = require('stream'); -var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; +var ReactVersion = '18.3.0-canary-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -75,6 +75,98 @@ function printWarning(level, format, args) { } } +// A pure JS implementation of a string hashing function. We do not use it for +// security or obfuscation purposes, only to create compact hashes. So we +// prioritize speed over collision avoidance. For example, we use this to hash +// the component key path used by useFormState for MPA-style submissions. +// +// In environments where built-in hashing functions are available, we prefer +// those instead. Like Node's crypto module, or Bun.hash. Unfortunately this +// does not include the web standard crypto API because those methods are all +// async. For our purposes, we need it to be sync because the cost of context +// switching is too high to be worth it. +// +// The most popular hashing algorithm that meets these requirements in the JS +// ecosystem is MurmurHash3, and almost all implementations I could find used +// some version of the implementation by Gary Court inlined below. +function createFastHashJS(key) { + return murmurhash3_32_gc(key, 0); +} +/* eslint-disable prefer-const, no-fallthrough */ + +/** + * @license + * + * JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) + * + * Copyright (c) 2011 Gary Court + * 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. + */ + +function murmurhash3_32_gc(key, seed) { + var remainder, bytes, h1, h1b, c1, c2, k1, i; + remainder = key.length & 3; // key.length % 4 + + bytes = key.length - remainder; + h1 = seed; + c1 = 0xcc9e2d51; + c2 = 0x1b873593; + i = 0; + + while (i < bytes) { + k1 = key.charCodeAt(i) & 0xff | (key.charCodeAt(++i) & 0xff) << 8 | (key.charCodeAt(++i) & 0xff) << 16 | (key.charCodeAt(++i) & 0xff) << 24; + ++i; + k1 = (k1 & 0xffff) * c1 + (((k1 >>> 16) * c1 & 0xffff) << 16) & 0xffffffff; + k1 = k1 << 15 | k1 >>> 17; + k1 = (k1 & 0xffff) * c2 + (((k1 >>> 16) * c2 & 0xffff) << 16) & 0xffffffff; + h1 ^= k1; + h1 = h1 << 13 | h1 >>> 19; + h1b = (h1 & 0xffff) * 5 + (((h1 >>> 16) * 5 & 0xffff) << 16) & 0xffffffff; + h1 = (h1b & 0xffff) + 0x6b64 + (((h1b >>> 16) + 0xe654 & 0xffff) << 16); + } + + k1 = 0; + + switch (remainder) { + case 3: + k1 ^= (key.charCodeAt(i + 2) & 0xff) << 16; + + case 2: + k1 ^= (key.charCodeAt(i + 1) & 0xff) << 8; + + case 1: + k1 ^= key.charCodeAt(i) & 0xff; + k1 = (k1 & 0xffff) * c1 + (((k1 >>> 16) * c1 & 0xffff) << 16) & 0xffffffff; + k1 = k1 << 15 | k1 >>> 17; + k1 = (k1 & 0xffff) * c2 + (((k1 >>> 16) * c2 & 0xffff) << 16) & 0xffffffff; + h1 ^= k1; + } + + h1 ^= key.length; + h1 ^= h1 >>> 16; + h1 = (h1 & 0xffff) * 0x85ebca6b + (((h1 >>> 16) * 0x85ebca6b & 0xffff) << 16) & 0xffffffff; + h1 ^= h1 >>> 13; + h1 = (h1 & 0xffff) * 0xc2b2ae35 + (((h1 >>> 16) * 0xc2b2ae35 & 0xffff) << 16) & 0xffffffff; + h1 ^= h1 >>> 16; + return h1 >>> 0; +} + function scheduleWork(callback) { callback(); } @@ -167,7 +259,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -176,7 +268,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -185,7 +277,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -969,6 +1061,23 @@ function validateProperty(tagName, name, value, eventRegistry) { return true; } + { + // Actions are special because unlike events they can have other value types. + if (typeof value === 'function') { + if (tagName === 'form' && name === 'action') { + return true; + } + + if (tagName === 'input' && name === 'formAction') { + return true; + } + + if (tagName === 'button' && name === 'formAction') { + return true; + } + } + } // We can't rely on the event system being injected on the server. + if (eventRegistry != null) { var registrationNameDependencies = eventRegistry.registrationNameDependencies, @@ -1483,11 +1592,22 @@ var clientRenderBoundary = '$RX=function(b,c,d,e){var a=document.getElementById( var completeBoundary = '$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};'; var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};'; var completeSegment = '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};'; +var formReplaying = 'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'; function getValueDescriptorExpectingObjectForWarning(thing) { return thing === null ? '`null`' : thing === undefined ? '`undefined`' : thing === '' ? 'an empty string' : "something with type \"" + typeof thing + "\""; } +// same object across all transitions. + +var sharedNotPendingObject = { + pending: false, + data: null, + method: null, + action: null +}; +var NotPending = Object.freeze(sharedNotPendingObject) ; + var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher; @@ -1520,6 +1640,9 @@ var SentClientRenderFunction var SentStyleInsertionFunction /* */ = 8; +var SentFormReplayingRuntime +/* */ += 16; // Per request, global state that is not contextual to the rendering subtree. // This cannot be resumed and therefore should only contain things that are // temporary working state or are never used in the prerender pass. // Credentials here are things that affect whether a browser will make a request @@ -2027,10 +2150,15 @@ function pushStringAttribute(target, name, value) // not null or undefined target.push(attributeSeparator, stringToChunk(name), attributeAssign, stringToChunk(escapeTextForBrowser(value)), attributeEnd); } } + +function makeFormFieldPrefix(resumableState) { + var id = resumableState.nextFormID++; + return resumableState.idPrefix + id; +} // Since this will likely be repeated a lot in the HTML, we use a more concise message // than on the client and hopefully it's googleable. -stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url +var actionJavaScriptURL = stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url "javascript:throw new Error('A React form was unexpectedly submitted.')")); var startHiddenInputChunk = stringToPrecomputedChunk('<input type="hidden"'); @@ -2057,6 +2185,57 @@ function pushAdditionalFormFields(target, formData) { function pushFormActionAttribute(target, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name) { var formData = null; + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if (name !== null && !didWarnFormActionName) { + didWarnFormActionName = true; + + error('Cannot specify a "name" prop for a button that specifies a function as a formAction. ' + 'React needs it to encode which action should be invoked. It will get overridden.'); + } + + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a formEncType or formMethod for a button that specifies a ' + 'function as a formAction. React provides those automatically. They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a formTarget for a button that specifies a function as a formAction. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + name = customFields.name; + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('formAction'), attributeAssign, actionJavaScriptURL, attributeEnd); + name = null; + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (name != null) { pushAttribute(target, 'name', name); } @@ -2361,6 +2540,9 @@ var didWarnInvalidOptionChildren = false; var didWarnInvalidOptionInnerHTML = false; var didWarnSelectedSetOnOption = false; var didWarnFormActionType = false; +var didWarnFormActionName = false; +var didWarnFormActionTarget = false; +var didWarnFormActionMethod = false; function checkSelectProp(props, propName) { { @@ -2561,6 +2743,18 @@ function pushStartOption(target, props, formatContext) { return children; } +var formReplayingRuntimeScript = stringToPrecomputedChunk(formReplaying); + +function injectFormReplayingRuntime(resumableState, renderState) { + // If we haven't sent it yet, inject the runtime that tracks submitted JS actions + // for later replaying by Fiber. If we use an external runtime, we don't need + // to emit anything. It's always used. + if ((resumableState.instructions & SentFormReplayingRuntime) === NothingSent && (!renderState.externalRuntimeScript)) { + resumableState.instructions |= SentFormReplayingRuntime; + renderState.bootstrapChunks.unshift(renderState.startInlineScript, formReplayingRuntimeScript, endInlineScript); + } +} + var formStateMarkerIsMatching = stringToPrecomputedChunk('<!--F!-->'); var formStateMarkerIsNotMatching = stringToPrecomputedChunk('<!--F-->'); function pushFormStateMarkerIsMatching(target) { @@ -2619,6 +2813,53 @@ function pushStartForm(target, props, resumableState, renderState) { } } + var formData = null; + var formActionName = null; + + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a encType or method for a form that specifies a ' + 'function as the action. React provides those automatically. ' + 'They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a target for a form that specifies a function as the action. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + formActionName = customFields.name; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('action'), attributeAssign, actionJavaScriptURL, attributeEnd); + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (formAction != null) { pushAttribute(target, 'action', formAction); } @@ -2637,6 +2878,13 @@ function pushStartForm(target, props, resumableState, renderState) { target.push(endOfStartTag); + if (formActionName !== null) { + target.push(startHiddenInputChunk); + pushStringAttribute(target, 'name', formActionName); + target.push(endOfStartTagSelfClosing); + pushAdditionalFormFields(target, formData); + } + pushInnerHTML(target, innerHTML, children); if (typeof children === 'string') { @@ -3693,6 +3941,8 @@ function pushStartCustomElement(target, props, tag) { continue; } + var attributeName = propKey; + switch (propKey) { case 'children': children = propValue; @@ -3711,9 +3961,14 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -3868,7 +4123,7 @@ function pushStartInstance(target, type, props, resumableState, renderState, for return pushStartButton(target, props, resumableState, renderState); case 'form': - return pushStartForm(target, props); + return pushStartForm(target, props, resumableState, renderState); case 'menuitem': return pushStartMenuItem(target, props); @@ -5891,6 +6146,7 @@ function writeEndClientRenderedSuspenseBoundary(destination, renderState) { return writeEndClientRenderedSuspenseBoundary$1(destination); } +var NotPendingTransition = NotPending; // ATTENTION // When adding new symbols to this file, @@ -6029,12 +6285,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -7471,6 +7721,8 @@ typeof Object.is === 'function' ? Object.is : is; var currentlyRenderingComponent = null; var currentlyRenderingTask = null; +var currentlyRenderingRequest = null; +var currentlyRenderingKeyPath = null; var firstWorkInProgressHook = null; var workInProgressHook = null; // Whether the work-in-progress hook is a re-rendered hook @@ -7583,6 +7835,8 @@ function createWorkInProgressHook() { function prepareToUseHooks(request, task, keyPath, componentIdentity, prevThenableState) { currentlyRenderingComponent = componentIdentity; currentlyRenderingTask = task; + currentlyRenderingRequest = request; + currentlyRenderingKeyPath = keyPath; { isInHookUserCodeInDev = false; @@ -7654,6 +7908,8 @@ function resetHooksState() { currentlyRenderingComponent = null; currentlyRenderingTask = null; + currentlyRenderingRequest = null; + currentlyRenderingKeyPath = null; didScheduleRenderPhaseUpdate = false; firstWorkInProgressHook = null; numberOfReRenders = 0; @@ -7888,9 +8144,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return value; + } } function unsupportedStartTransition() { @@ -7902,6 +8161,133 @@ function useTransition() { return [false, unsupportedStartTransition]; } +function useHostTransitionStatus() { + resolveCurrentlyRenderingComponent(); + return NotPendingTransition; +} + +function unsupportedSetOptimisticState() { + throw new Error('Cannot update optimistic state while rendering.'); +} + +function useOptimistic(passthrough, reducer) { + resolveCurrentlyRenderingComponent(); + return [passthrough, unsupportedSetOptimisticState]; +} + +function createPostbackFormStateKey(permalink, componentKeyPath, hookIndex) { + if (permalink !== undefined) { + // Don't bother to hash a permalink-based key since it's already short. + return 'p' + permalink; + } else { + // Append a node to the key path that represents the form state hook. + var keyPath = [componentKeyPath, null, hookIndex]; // Key paths are hashed to reduce the size. It does not need to be secure, + // and it's more important that it's fast than that it's completely + // collision-free. + + var keyPathHash = createFastHashJS(JSON.stringify(keyPath)); + return 'k' + keyPathHash; + } +} + +function useFormState(action, initialState, permalink) { + resolveCurrentlyRenderingComponent(); // Count the number of useFormState hooks per component. We also use this to + // track the position of this useFormState hook relative to the other ones in + // this component, so we can generate a unique key for each one. + + var formStateHookIndex = formStateCounter++; + var request = currentlyRenderingRequest; // $FlowIgnore[prop-missing] + + var formAction = action.$$FORM_ACTION; + + if (typeof formAction === 'function') { + // This is a server action. These have additional features to enable + // MPA-style form submissions with progressive enhancement. + // TODO: If the same permalink is passed to multiple useFormStates, and + // they all have the same action signature, Fizz will pass the postback + // state to all of them. We should probably only pass it to the first one, + // and/or warn. + // The key is lazily generated and deduped so the that the keypath doesn't + // get JSON.stringify-ed unnecessarily, and at most once. + var nextPostbackStateKey = null; // Determine the current form state. If we received state during an MPA form + // submission, then we will reuse that, if the action identity matches. + // Otherwise we'll use the initial state argument. We will emit a comment + // marker into the stream that indicates whether the state was reused. + + var state = initialState; + var componentKeyPath = currentlyRenderingKeyPath; + var postbackFormState = getFormState(request); // $FlowIgnore[prop-missing] + + var isSignatureEqual = action.$$IS_SIGNATURE_EQUAL; + + if (postbackFormState !== null && typeof isSignatureEqual === 'function') { + var postbackKey = postbackFormState[1]; + var postbackReferenceId = postbackFormState[2]; + var postbackBoundArity = postbackFormState[3]; + + if (isSignatureEqual.call(action, postbackReferenceId, postbackBoundArity)) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + + if (postbackKey === nextPostbackStateKey) { + // This was a match + formStateMatchingIndex = formStateHookIndex; // Reuse the state that was submitted by the form. + + state = postbackFormState[0]; + } + } + } // Bind the state to the first argument of the action. + + + var boundAction = action.bind(null, state); // Wrap the action so the return value is void. + + var dispatch = function (payload) { + boundAction(payload); + }; // $FlowIgnore[prop-missing] + + + if (typeof boundAction.$$FORM_ACTION === 'function') { + // $FlowIgnore[prop-missing] + dispatch.$$FORM_ACTION = function (prefix) { + var metadata = boundAction.$$FORM_ACTION(prefix); // Override the action URL + + if (permalink !== undefined) { + { + checkAttributeStringCoercion(permalink, 'target'); + } + + permalink += ''; + metadata.action = permalink; + } + + var formData = metadata.data; + + if (formData) { + if (nextPostbackStateKey === null) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + } + + formData.append('$ACTION_KEY', nextPostbackStateKey); + } + + return metadata; + }; + } + + return [state, dispatch]; + } else { + // This is not a server action, so the implementation is much simpler. + // Bind the state to the first argument of the action. + var _boundAction = action.bind(null, initialState); // Wrap the action so the return value is void. + + + var _dispatch2 = function (payload) { + _boundAction(payload); + }; + + return [initialState, _dispatch2]; + } +} + function useId() { var task = currentlyRenderingTask; var treeId = getTreeId(task.treeContext); @@ -7981,6 +8367,15 @@ var HooksDispatcher = { HooksDispatcher.useCacheRefresh = useCacheRefresh; } +{ + HooksDispatcher.useHostTransitionStatus = useHostTransitionStatus; +} + +{ + HooksDispatcher.useOptimistic = useOptimistic; + HooksDispatcher.useFormState = useFormState; +} + var currentResumableState = null; function setCurrentResumableState(resumableState) { currentResumableState = resumableState; @@ -8510,11 +8905,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -8560,24 +8951,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -8585,8 +8967,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9127,37 +9508,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9168,17 +9518,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9186,37 +9537,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9280,8 +9634,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9459,24 +9820,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -9511,7 +9874,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -9735,6 +10098,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -9756,6 +10120,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -9869,8 +10235,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -9879,6 +10243,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -9889,6 +10254,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -9930,12 +10303,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10183,6 +10557,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -10612,7 +10994,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } } } @@ -10632,10 +11017,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -10665,6 +11057,9 @@ function startFlowing(request, destination) { fatalError(request, error); } } +function stopFlowing(request) { + request.destination = null; +} // This is called to early terminate a request. It puts all pending boundaries in client rendered state. function abort(request, reason) { try { @@ -10689,6 +11084,9 @@ function abort(request, reason) { function flushResources(request) { enqueueFlush(request); } +function getFormState(request) { + return request.formState; +} function getResumableState(request) { return request.resumableState; } diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js index 9af3641ef7230..b8a3fd092021b 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.min.js @@ -7,166 +7,196 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var ea=require("next/dist/compiled/react"),fa=require("react-dom"),ha=require("stream"),r=Object.assign,v=Object.prototype.hasOwnProperty,sa=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), -ta={},ua={};function va(a){if(v.call(ua,a))return!0;if(v.call(ta,a))return!1;if(sa.test(a))return ua[a]=!0;ta[a]=!0;return!1} +/* + + + JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) + + Copyright (c) 2011 Gary Court + 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. +*/ +'use strict';var aa=require("next/dist/compiled/react"),ba=require("react-dom"),da=require("stream"); +function ha(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< +16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0} +var r=Object.assign,u=Object.prototype.hasOwnProperty,ia=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ja={},ka={}; +function va(a){if(u.call(ka,a))return!0;if(u.call(ja,a))return!1;if(ia.test(a))return ka[a]=!0;ja[a]=!0;return!1} var wa=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),xa= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ba=/["'&<>]/; -function w(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Ba.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var Ca=/([A-Z])/g,Da=/^ms-/,Ea=Array.isArray,Fa=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ga=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,cb={prefetchDNS:Ha,preconnect:Xa,preload:Ya,preloadModule:Za,preinitStyle:$a,preinitScript:ab,preinitModuleScript:bb},db=[]; -function eb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function x(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}} -function fb(a){return x("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} -function gb(a,b,c){switch(b){case "noscript":return x(2,null,a.tagScope|1);case "select":return x(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return x(3,null,a.tagScope);case "picture":return x(2,null,a.tagScope|2);case "math":return x(4,null,a.tagScope);case "foreignObject":return x(2,null,a.tagScope);case "table":return x(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return x(6,null,a.tagScope);case "colgroup":return x(8,null,a.tagScope);case "tr":return x(7,null,a.tagScope)}return 5<= -a.insertionMode?x(2,null,a.tagScope):0===a.insertionMode?"html"===b?x(1,null,a.tagScope):x(2,null,a.tagScope):1===a.insertionMode?x(2,null,a.tagScope):a}var hb=new Map; -function rb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(v.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=w(d);e=w((""+e).trim())}else f=hb.get(d),void 0===f&&(f=w(d.replace(Ca,"-$1").toLowerCase().replace(Da,"-ms-")),hb.set(d,f)),e="number"===typeof e?0===e||wa.has(d)?""+e:e+"px": -w((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')}function sb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function C(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',w(c),'"')}w("javascript:throw new Error('A React form was unexpectedly submitted.')"); -function tb(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");C(this,"name",b);C(this,"value",a);this.push("/>")}function ub(a,b,c,d,e,f,g,h){null!=h&&D(a,"name",h);null!=d&&D(a,"formAction",d);null!=e&&D(a,"formEncType",e);null!=f&&D(a,"formMethod",f);null!=g&&D(a,"formTarget",g);return null} -function D(a,b,c){switch(b){case "className":C(a,"class",c);break;case "tabIndex":C(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":C(a,b,c);break;case "style":rb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',w(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":sb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',w(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',w(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',w(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',w(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',w(c),'"');break;case "xlinkActuate":C(a,"xlink:actuate", -c);break;case "xlinkArcrole":C(a,"xlink:arcrole",c);break;case "xlinkRole":C(a,"xlink:role",c);break;case "xlinkShow":C(a,"xlink:show",c);break;case "xlinkTitle":C(a,"xlink:title",c);break;case "xlinkType":C(a,"xlink:type",c);break;case "xmlBase":C(a,"xml:base",c);break;case "xmlLang":C(a,"xml:lang",c);break;case "xmlSpace":C(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=xa.get(b)||b,va(b)){switch(typeof c){case "function":case "symbol":return; -case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',w(c),'"')}}}function E(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} -function vb(a){var b="";ea.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} -function wb(a,b,c,d,e,f,g){var h=b.rel,k=b.href,l=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return H(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return H(a,b);f=d.styles.get(l);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:w(l),rules:[],hrefs:[],sheets:new Map},d.styles.set(l,f)),b={state:0,props:r({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&xb(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return H(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return H(d.preconnectChunks,b);case "preload":return H(d.preloadChunks, -b);default:return H(d.hoistableChunks,b)}}function H(a,b){a.push(I("link"));for(var c in b)if(v.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:D(a,c,d)}}a.push("/>");return null} -function yb(a,b,c){a.push(I(c));for(var d in b)if(v.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:D(a,d,e)}}a.push("/>");return null} -function zb(a,b){a.push(I("title"));var c=null,d=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(w(""+b));E(a,d,c);a.push("</","title",">");return null} -function Ab(a,b){a.push(I("script"));var c=null,d=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");E(a,d,c);"string"===typeof c&&a.push(w(c));a.push("</","script",">");return null} -function Bb(a,b,c){a.push(I(c));var d=c=null,e;for(e in b)if(v.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:D(a,e,f)}}a.push(">");E(a,d,c);return"string"===typeof c?(a.push(w(c)),null):c}var Cb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Db=new Map;function I(a){var b=Db.get(a);if(void 0===b){if(!Cb.test(a))throw Error("Invalid tag: "+a);b="<"+a;Db.set(a,b)}return b} -function Eb(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(I("select"));var h=null,k=null,l;for(l in c)if(v.call(c,l)){var n=c[l];if(null!=n)switch(l){case "children":h=n;break;case "dangerouslySetInnerHTML":k=n;break;case "defaultValue":case "value":break;default:D(a,l,n)}}a.push(">");E(a,k,h);return h;case "option":var q=f.selectedValue;a.push(I("option"));var m=null,t=null,F=null,G=null,u;for(u in c)if(v.call(c, -u)){var p=c[u];if(null!=p)switch(u){case "children":m=p;break;case "selected":F=p;break;case "dangerouslySetInnerHTML":G=p;break;case "value":t=p;default:D(a,u,p)}}if(null!=q){var z=null!==t?""+t:vb(m);if(Ea(q))for(var aa=0;aa<q.length;aa++){if(""+q[aa]===z){a.push(' selected=""');break}}else""+q===z&&a.push(' selected=""')}else F&&a.push(' selected=""');a.push(">");E(a,G,m);return m;case "textarea":a.push(I("textarea"));var J=null,P=null,K=null,y;for(y in c)if(v.call(c,y)){var V=c[y];if(null!=V)switch(y){case "children":K= -V;break;case "value":J=V;break;case "defaultValue":P=V;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:D(a,y,V)}}null===J&&null!==P&&(J=P);a.push(">");if(null!=K){if(null!=J)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ea(K)&&1<K.length)throw Error("<textarea> can only have at most one child.");J=""+K}"string"===typeof J&&"\n"===J[0]&&a.push("\n");null!==J&&a.push(w(""+J));return null; -case "input":a.push(I("input"));var S=null,ba=null,L=null,W=null,A=null,Ia=null,Ja=null,Ka=null,La=null,ia;for(ia in c)if(v.call(c,ia)){var Q=c[ia];if(null!=Q)switch(ia){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":S=Q;break;case "formAction":ba=Q;break;case "formEncType":L=Q;break;case "formMethod":W=Q;break;case "formTarget":A=Q;break;case "defaultChecked":La=Q;break;case "defaultValue":Ja= -Q;break;case "checked":Ka=Q;break;case "value":Ia=Q;break;default:D(a,ia,Q)}}var ib=ub(a,d,e,ba,L,W,A,S);null!==Ka?sb(a,"checked",Ka):null!==La&&sb(a,"checked",La);null!==Ia?D(a,"value",Ia):null!==Ja&&D(a,"value",Ja);a.push("/>");null!==ib&&ib.forEach(tb,a);return null;case "button":a.push(I("button"));var X=null,ja=null,ka=null,la=null,Ma=null,ma=null,uc=null,Na;for(Na in c)if(v.call(c,Na)){var ca=c[Na];if(null!=ca)switch(Na){case "children":X=ca;break;case "dangerouslySetInnerHTML":ja=ca;break; -case "name":ka=ca;break;case "formAction":la=ca;break;case "formEncType":Ma=ca;break;case "formMethod":ma=ca;break;case "formTarget":uc=ca;break;default:D(a,Na,ca)}}var vc=ub(a,d,e,la,Ma,ma,uc,ka);a.push(">");null!==vc&&vc.forEach(tb,a);E(a,ja,X);if("string"===typeof X){a.push(w(X));var wc=null}else wc=X;return wc;case "form":a.push(I("form"));var Oa=null,xc=null,Kb=null,Lb=null,Mb=null,Nb=null,Pa;for(Pa in c)if(v.call(c,Pa)){var da=c[Pa];if(null!=da)switch(Pa){case "children":Oa=da;break;case "dangerouslySetInnerHTML":xc= -da;break;case "action":Kb=da;break;case "encType":Lb=da;break;case "method":Mb=da;break;case "target":Nb=da;break;default:D(a,Pa,da)}}null!=Kb&&D(a,"action",Kb);null!=Lb&&D(a,"encType",Lb);null!=Mb&&D(a,"method",Mb);null!=Nb&&D(a,"target",Nb);a.push(">");E(a,xc,Oa);if("string"===typeof Oa){a.push(w(Oa));var yc=null}else yc=Oa;return yc;case "menuitem":a.push(I("menuitem"));for(var jb in c)if(v.call(c,jb)){var zc=c[jb];if(null!=zc)switch(jb){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`."); -default:D(a,jb,zc)}}a.push(">");return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Ac=zb(a,c);else zb(e.hoistableChunks,c),Ac=null;return Ac;case "link":return wb(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var Ob=c.async;if("string"!==typeof c.src||!c.src||!Ob||"function"===typeof Ob||"symbol"===typeof Ob||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Bc=Ab(a,c);else{var kb=c.src;if("module"===c.type){var lb=d.moduleScriptResources; -var Cc=e.preloads.moduleScripts}else lb=d.scriptResources,Cc=e.preloads.scripts;var mb=lb.hasOwnProperty(kb)?lb[kb]:void 0;if(null!==mb){lb[kb]=null;var Pb=c;if(mb){2===mb.length&&(Pb=r({},c),xb(Pb,mb));var Dc=Cc.get(kb);Dc&&(Dc.length=0)}var Ec=[];e.scripts.add(Ec);Ab(Ec,Pb)}g&&a.push("\x3c!-- --\x3e");Bc=null}return Bc;case "style":var nb=c.precedence,na=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof nb||"string"!==typeof na||""===na){a.push(I("style"));var ya= -null,Fc=null,Qa;for(Qa in c)if(v.call(c,Qa)){var ob=c[Qa];if(null!=ob)switch(Qa){case "children":ya=ob;break;case "dangerouslySetInnerHTML":Fc=ob;break;default:D(a,Qa,ob)}}a.push(">");var Ra=Array.isArray(ya)?2>ya.length?ya[0]:null:ya;"function"!==typeof Ra&&"symbol"!==typeof Ra&&null!==Ra&&void 0!==Ra&&a.push(w(""+Ra));E(a,Fc,ya);a.push("</","style",">");var Gc=null}else{var oa=e.styles.get(nb);if(null!==(d.styleResources.hasOwnProperty(na)?d.styleResources[na]:void 0)){d.styleResources[na]=null; -oa?oa.hrefs.push(w(na)):(oa={precedence:w(nb),rules:[],hrefs:[w(na)],sheets:new Map},e.styles.set(nb,oa));var Hc=oa.rules,za=null,Ic=null,pb;for(pb in c)if(v.call(c,pb)){var Qb=c[pb];if(null!=Qb)switch(pb){case "children":za=Qb;break;case "dangerouslySetInnerHTML":Ic=Qb}}var Sa=Array.isArray(za)?2>za.length?za[0]:null:za;"function"!==typeof Sa&&"symbol"!==typeof Sa&&null!==Sa&&void 0!==Sa&&Hc.push(w(""+Sa));E(Hc,Ic,za)}oa&&e.boundaryResources&&e.boundaryResources.styles.add(oa);g&&a.push("\x3c!-- --\x3e"); -Gc=void 0}return Gc;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Jc=yb(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),Jc="string"===typeof c.charSet?yb(e.charsetChunks,c,"meta"):"viewport"===c.name?yb(e.preconnectChunks,c,"meta"):yb(e.hoistableChunks,c,"meta");return Jc;case "listing":case "pre":a.push(I(b));var Ta=null,Ua=null,Va;for(Va in c)if(v.call(c,Va)){var qb=c[Va];if(null!=qb)switch(Va){case "children":Ta=qb;break;case "dangerouslySetInnerHTML":Ua=qb;break;default:D(a, -Va,qb)}}a.push(">");if(null!=Ua){if(null!=Ta)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof Ua||!("__html"in Ua))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var pa=Ua.__html;null!==pa&&void 0!==pa&&("string"===typeof pa&&0<pa.length&&"\n"===pa[0]?a.push("\n",pa):a.push(""+pa))}"string"===typeof Ta&&"\n"===Ta[0]&&a.push("\n"); -return Ta;case "img":var M=c.src,B=c.srcSet;if(!("lazy"===c.loading||!M&&!B||"string"!==typeof M&&null!=M||"string"!==typeof B&&null!=B)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof M||":"!==M[4]||"d"!==M[0]&&"D"!==M[0]||"a"!==M[1]&&"A"!==M[1]||"t"!==M[2]&&"T"!==M[2]||"a"!==M[3]&&"A"!==M[3])&&("string"!==typeof B||":"!==B[4]||"d"!==B[0]&&"D"!==B[0]||"a"!==B[1]&&"A"!==B[1]||"t"!==B[2]&&"T"!==B[2]||"a"!==B[3]&&"A"!==B[3])){var Kc="string"===typeof c.sizes?c.sizes:void 0,Wa=B? -B+"\n"+(Kc||""):M,Rb=e.preloads.images,qa=Rb.get(Wa);if(qa){if("high"===c.fetchPriority||10>e.highImagePreloads.size)Rb.delete(Wa),e.highImagePreloads.add(qa)}else d.imageResources.hasOwnProperty(Wa)||(d.imageResources[Wa]=db,qa=[],H(qa,{rel:"preload",as:"image",href:B?void 0:M,imageSrcSet:B,imageSizes:Kc,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(qa): -(e.bulkPreloads.add(qa),Rb.set(Wa,qa)))}return yb(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return yb(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Lc=Bb(e.headChunks,c,"head")}else Lc=Bb(a, -c,"head");return Lc;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[""];var Mc=Bb(e.htmlChunks,c,"html")}else Mc=Bb(a,c,"html");return Mc;default:if(-1!==b.indexOf("-")){a.push(I(b));var Sb=null,Nc=null,Aa;for(Aa in c)if(v.call(c,Aa)){var ra=c[Aa];if(null!=ra)switch(Aa){case "children":Sb=ra;break;case "dangerouslySetInnerHTML":Nc=ra;break;case "style":rb(a,ra);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:va(Aa)&&"function"!==typeof ra&& -"symbol"!==typeof ra&&a.push(" ",Aa,'="',w(ra),'"')}}a.push(">");E(a,Nc,Sb);return Sb}}return Bb(a,c,b)}function Fb(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0}function Gb(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");a.push(b.boundaryPrefix);b=c.toString(16);a.push(b);return a.push('"></template>')} -function Hb(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden id="'),a.push(b.segmentPrefix), +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ya=/["'&<>]/; +function v(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ya.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var za=/([A-Z])/g,Fa=/^ms-/,Ga=Array.isArray,Ha=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ia={pending:!1,data:null,method:null,action:null},Ja=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,hb={prefetchDNS:Ka,preconnect:bb,preload:cb,preloadModule:db,preinitStyle:eb,preinitScript:fb,preinitModuleScript:gb},ib=[]; +function jb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function w(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}} +function kb(a){return w("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} +function lb(a,b,c){switch(b){case "noscript":return w(2,null,a.tagScope|1);case "select":return w(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return w(3,null,a.tagScope);case "picture":return w(2,null,a.tagScope|2);case "math":return w(4,null,a.tagScope);case "foreignObject":return w(2,null,a.tagScope);case "table":return w(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return w(6,null,a.tagScope);case "colgroup":return w(8,null,a.tagScope);case "tr":return w(7,null,a.tagScope)}return 5<= +a.insertionMode?w(2,null,a.tagScope):0===a.insertionMode?"html"===b?w(1,null,a.tagScope):w(2,null,a.tagScope):1===a.insertionMode?w(2,null,a.tagScope):a}var mb=new Map; +function wb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(u.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=v(d);e=v((""+e).trim())}else f=mb.get(d),void 0===f&&(f=v(d.replace(za,"-$1").toLowerCase().replace(Fa,"-ms-")),mb.set(d,f)),e="number"===typeof e?0===e||wa.has(d)?""+e:e+"px": +v((""+e).trim());c?(c=!1,a.push(' style="',f,":",e)):a.push(";",f,":",e)}}c||a.push('"')}function xb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function D(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',v(c),'"')}function yb(a){var b=a.nextFormID++;return a.idPrefix+b}var zb=v("javascript:throw new Error('A React form was unexpectedly submitted.')"); +function Ab(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");D(this,"name",b);D(this,"value",a);this.push("/>")} +function Bb(a,b,c,d,e,f,g,h){var k=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=yb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,k=b.data):(a.push(" ","formAction",'="',zb,'"'),g=f=e=d=h=null,Cb(b,c)));null!=h&&E(a,"name",h);null!=d&&E(a,"formAction",d);null!=e&&E(a,"formEncType",e);null!=f&&E(a,"formMethod",f);null!=g&&E(a,"formTarget",g);return k} +function E(a,b,c){switch(b){case "className":D(a,"class",c);break;case "tabIndex":D(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":D(a,b,c);break;case "style":wb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',v(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":xb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',v(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',v(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',v(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',v(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',v(c),'"');break;case "xlinkActuate":D(a,"xlink:actuate", +c);break;case "xlinkArcrole":D(a,"xlink:arcrole",c);break;case "xlinkRole":D(a,"xlink:role",c);break;case "xlinkShow":D(a,"xlink:show",c);break;case "xlinkTitle":D(a,"xlink:title",c);break;case "xlinkType":D(a,"xlink:type",c);break;case "xmlBase":D(a,"xml:base",c);break;case "xmlLang":D(a,"xml:lang",c);break;case "xmlSpace":D(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=xa.get(b)||b,va(b)){switch(typeof c){case "function":case "symbol":return; +case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',v(c),'"')}}}function F(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} +function Db(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} +function Cb(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});',"\x3c/script>"))} +function Eb(a,b,c,d,e,f,g){var h=b.rel,k=b.href,l=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof k||""===k)return J(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return J(a,b);f=d.styles.get(l);g=c.styleResources.hasOwnProperty(k)?c.styleResources[k]:void 0;null!==g?(c.styleResources[k]=null,f||(f={precedence:v(l),rules:[],hrefs:[],sheets:new Map},d.styles.set(l,f)),b={state:0,props:r({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&Fb(b.props,g),(c=d.preloads.stylesheets.get(k))&&0<c.length?c.length=0:b.state=1),f.sheets.set(k,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(k=f.sheets.get(k))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(k);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return J(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return J(d.preconnectChunks,b);case "preload":return J(d.preloadChunks, +b);default:return J(d.hoistableChunks,b)}}function J(a,b){a.push(K("link"));for(var c in b)if(u.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:E(a,c,d)}}a.push("/>");return null} +function Gb(a,b,c){a.push(K(c));for(var d in b)if(u.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:E(a,d,e)}}a.push("/>");return null} +function Hb(a,b){a.push(K("title"));var c=null,d=null,e;for(e in b)if(u.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(v(""+b));F(a,d,c);a.push("</","title",">");return null} +function Ib(a,b){a.push(K("script"));var c=null,d=null,e;for(e in b)if(u.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");F(a,d,c);"string"===typeof c&&a.push(v(c));a.push("</","script",">");return null} +function Jb(a,b,c){a.push(K(c));var d=c=null,e;for(e in b)if(u.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:E(a,e,f)}}a.push(">");F(a,d,c);return"string"===typeof c?(a.push(v(c)),null):c}var Kb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Lb=new Map;function K(a){var b=Lb.get(a);if(void 0===b){if(!Kb.test(a))throw Error("Invalid tag: "+a);b="<"+a;Lb.set(a,b)}return b} +function Mb(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(K("select"));var h=null,k=null,l;for(l in c)if(u.call(c,l)){var p=c[l];if(null!=p)switch(l){case "children":h=p;break;case "dangerouslySetInnerHTML":k=p;break;case "defaultValue":case "value":break;default:E(a,l,p)}}a.push(">");F(a,k,h);return h;case "option":var q=f.selectedValue;a.push(K("option"));var m=null,A=null,y=null,P=null,t;for(t in c)if(u.call(c, +t)){var n=c[t];if(null!=n)switch(t){case "children":m=n;break;case "selected":y=n;break;case "dangerouslySetInnerHTML":P=n;break;case "value":A=n;default:E(a,t,n)}}if(null!=q){var x=null!==A?""+A:Db(m);if(Ga(q))for(var T=0;T<q.length;T++){if(""+q[T]===x){a.push(' selected=""');break}}else""+q===x&&a.push(' selected=""')}else y&&a.push(' selected=""');a.push(">");F(a,P,m);return m;case "textarea":a.push(K("textarea"));var B=null,G=null,H=null,z;for(z in c)if(u.call(c,z)){var X=c[z];if(null!=X)switch(z){case "children":H= +X;break;case "value":B=X;break;case "defaultValue":G=X;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:E(a,z,X)}}null===B&&null!==G&&(B=G);a.push(">");if(null!=H){if(null!=B)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ga(H)){if(1<H.length)throw Error("<textarea> can only have at most one child.");B=""+H[0]}B=""+H}"string"===typeof B&&"\n"===B[0]&&a.push("\n");null!==B&&a.push(v(""+B)); +return null;case "input":a.push(K("input"));var Aa=null,Q=null,Y=null,I=null,U=null,O=null,La=null,Ma=null,Na=null,la;for(la in c)if(u.call(c,la)){var R=c[la];if(null!=R)switch(la){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":Aa=R;break;case "formAction":Q=R;break;case "formEncType":Y=R;break;case "formMethod":I=R;break;case "formTarget":U=R;break;case "defaultChecked":Na=R; +break;case "defaultValue":La=R;break;case "checked":Ma=R;break;case "value":O=R;break;default:E(a,la,R)}}var nb=Bb(a,d,e,Q,Y,I,U,Aa);null!==Ma?xb(a,"checked",Ma):null!==Na&&xb(a,"checked",Na);null!==O?E(a,"value",O):null!==La&&E(a,"value",La);a.push("/>");null!==nb&&nb.forEach(Ab,a);return null;case "button":a.push(K("button"));var Z=null,ma=null,na=null,oa=null,Oa=null,pa=null,Cc=null,Pa;for(Pa in c)if(u.call(c,Pa)){var ca=c[Pa];if(null!=ca)switch(Pa){case "children":Z=ca;break;case "dangerouslySetInnerHTML":ma= +ca;break;case "name":na=ca;break;case "formAction":oa=ca;break;case "formEncType":Oa=ca;break;case "formMethod":pa=ca;break;case "formTarget":Cc=ca;break;default:E(a,Pa,ca)}}var Dc=Bb(a,d,e,oa,Oa,pa,Cc,na);a.push(">");null!==Dc&&Dc.forEach(Ab,a);F(a,ma,Z);if("string"===typeof Z){a.push(v(Z));var Ec=null}else Ec=Z;return Ec;case "form":a.push(K("form"));var Qa=null,Fc=null,ea=null,Ra=null,Sa=null,Ta=null,Ua;for(Ua in c)if(u.call(c,Ua)){var fa=c[Ua];if(null!=fa)switch(Ua){case "children":Qa=fa;break; +case "dangerouslySetInnerHTML":Fc=fa;break;case "action":ea=fa;break;case "encType":Ra=fa;break;case "method":Sa=fa;break;case "target":Ta=fa;break;default:E(a,Ua,fa)}}var Rb=null,Sb=null;if("function"===typeof ea)if("function"===typeof ea.$$FORM_ACTION){var ie=yb(d),Ba=ea.$$FORM_ACTION(ie);ea=Ba.action||"";Ra=Ba.encType;Sa=Ba.method;Ta=Ba.target;Rb=Ba.data;Sb=Ba.name}else a.push(" ","action",'="',zb,'"'),Ta=Sa=Ra=ea=null,Cb(d,e);null!=ea&&E(a,"action",ea);null!=Ra&&E(a,"encType",Ra);null!=Sa&&E(a, +"method",Sa);null!=Ta&&E(a,"target",Ta);a.push(">");null!==Sb&&(a.push('<input type="hidden"'),D(a,"name",Sb),a.push("/>"),null!==Rb&&Rb.forEach(Ab,a));F(a,Fc,Qa);if("string"===typeof Qa){a.push(v(Qa));var Gc=null}else Gc=Qa;return Gc;case "menuitem":a.push(K("menuitem"));for(var ob in c)if(u.call(c,ob)){var Hc=c[ob];if(null!=Hc)switch(ob){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:E(a,ob,Hc)}}a.push(">");return null; +case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Ic=Hb(a,c);else Hb(e.hoistableChunks,c),Ic=null;return Ic;case "link":return Eb(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var Tb=c.async;if("string"!==typeof c.src||!c.src||!Tb||"function"===typeof Tb||"symbol"===typeof Tb||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Jc=Ib(a,c);else{var pb=c.src;if("module"===c.type){var qb=d.moduleScriptResources;var Kc=e.preloads.moduleScripts}else qb= +d.scriptResources,Kc=e.preloads.scripts;var rb=qb.hasOwnProperty(pb)?qb[pb]:void 0;if(null!==rb){qb[pb]=null;var Ub=c;if(rb){2===rb.length&&(Ub=r({},c),Fb(Ub,rb));var Lc=Kc.get(pb);Lc&&(Lc.length=0)}var Mc=[];e.scripts.add(Mc);Ib(Mc,Ub)}g&&a.push("\x3c!-- --\x3e");Jc=null}return Jc;case "style":var sb=c.precedence,qa=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof sb||"string"!==typeof qa||""===qa){a.push(K("style"));var Ca=null,Nc=null,Va;for(Va in c)if(u.call(c, +Va)){var tb=c[Va];if(null!=tb)switch(Va){case "children":Ca=tb;break;case "dangerouslySetInnerHTML":Nc=tb;break;default:E(a,Va,tb)}}a.push(">");var Wa=Array.isArray(Ca)?2>Ca.length?Ca[0]:null:Ca;"function"!==typeof Wa&&"symbol"!==typeof Wa&&null!==Wa&&void 0!==Wa&&a.push(v(""+Wa));F(a,Nc,Ca);a.push("</","style",">");var Oc=null}else{var ra=e.styles.get(sb);if(null!==(d.styleResources.hasOwnProperty(qa)?d.styleResources[qa]:void 0)){d.styleResources[qa]=null;ra?ra.hrefs.push(v(qa)):(ra={precedence:v(sb), +rules:[],hrefs:[v(qa)],sheets:new Map},e.styles.set(sb,ra));var Pc=ra.rules,Da=null,Qc=null,ub;for(ub in c)if(u.call(c,ub)){var Vb=c[ub];if(null!=Vb)switch(ub){case "children":Da=Vb;break;case "dangerouslySetInnerHTML":Qc=Vb}}var Xa=Array.isArray(Da)?2>Da.length?Da[0]:null:Da;"function"!==typeof Xa&&"symbol"!==typeof Xa&&null!==Xa&&void 0!==Xa&&Pc.push(v(""+Xa));F(Pc,Qc,Da)}ra&&e.boundaryResources&&e.boundaryResources.styles.add(ra);g&&a.push("\x3c!-- --\x3e");Oc=void 0}return Oc;case "meta":if(3=== +f.insertionMode||f.tagScope&1||null!=c.itemProp)var Rc=Gb(a,c,"meta");else g&&a.push("\x3c!-- --\x3e"),Rc="string"===typeof c.charSet?Gb(e.charsetChunks,c,"meta"):"viewport"===c.name?Gb(e.preconnectChunks,c,"meta"):Gb(e.hoistableChunks,c,"meta");return Rc;case "listing":case "pre":a.push(K(b));var Ya=null,Za=null,$a;for($a in c)if(u.call(c,$a)){var vb=c[$a];if(null!=vb)switch($a){case "children":Ya=vb;break;case "dangerouslySetInnerHTML":Za=vb;break;default:E(a,$a,vb)}}a.push(">");if(null!=Za){if(null!= +Ya)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof Za||!("__html"in Za))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var sa=Za.__html;null!==sa&&void 0!==sa&&("string"===typeof sa&&0<sa.length&&"\n"===sa[0]?a.push("\n",sa):a.push(""+sa))}"string"===typeof Ya&&"\n"===Ya[0]&&a.push("\n");return Ya;case "img":var M=c.src, +C=c.srcSet;if(!("lazy"===c.loading||!M&&!C||"string"!==typeof M&&null!=M||"string"!==typeof C&&null!=C)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof M||":"!==M[4]||"d"!==M[0]&&"D"!==M[0]||"a"!==M[1]&&"A"!==M[1]||"t"!==M[2]&&"T"!==M[2]||"a"!==M[3]&&"A"!==M[3])&&("string"!==typeof C||":"!==C[4]||"d"!==C[0]&&"D"!==C[0]||"a"!==C[1]&&"A"!==C[1]||"t"!==C[2]&&"T"!==C[2]||"a"!==C[3]&&"A"!==C[3])){var Sc="string"===typeof c.sizes?c.sizes:void 0,ab=C?C+"\n"+(Sc||""):M,Wb=e.preloads.images, +ta=Wb.get(ab);if(ta){if("high"===c.fetchPriority||10>e.highImagePreloads.size)Wb.delete(ab),e.highImagePreloads.add(ta)}else d.imageResources.hasOwnProperty(ab)||(d.imageResources[ab]=ib,ta=[],J(ta,{rel:"preload",as:"image",href:C?void 0:M,imageSrcSet:C,imageSizes:Sc,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(ta):(e.bulkPreloads.add(ta),Wb.set(ab, +ta)))}return Gb(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return Gb(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Tc=Jb(e.headChunks,c,"head")}else Tc=Jb(a,c,"head");return Tc;case "html":if(0=== +f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[""];var Uc=Jb(e.htmlChunks,c,"html")}else Uc=Jb(a,c,"html");return Uc;default:if(-1!==b.indexOf("-")){a.push(K(b));var Xb=null,Vc=null,Ea;for(Ea in c)if(u.call(c,Ea)){var ua=c[Ea];if(null!=ua){var je=Ea;switch(Ea){case "children":Xb=ua;break;case "dangerouslySetInnerHTML":Vc=ua;break;case "style":wb(a,ua);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:va(Ea)&&"function"!==typeof ua&&"symbol"!==typeof ua&& +a.push(" ",je,'="',v(ua),'"')}}}a.push(">");F(a,Vc,Xb);return Xb}}return Jb(a,c,b)}function Nb(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0}function Ob(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");a.push(b.boundaryPrefix);b=c.toString(16);a.push(b);return a.push('"></template>')} +function Pb(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden id="'),a.push(b.segmentPrefix), b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 8:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error("Unknown insertion mode. This is a bug in React.");}} -function Ib(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.");}}var Jb=/[<\u2028\u2029]/g; -function Tb(a){return JSON.stringify(a).replace(Jb,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var Ub=/[&><\u2028\u2029]/g; -function Vb(a){return JSON.stringify(a).replace(Ub,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var Wb=!1,Xb=!0; -function Yb(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){this.push('<style media="not all" data-precedence="');this.push(a.precedence);for(this.push('" data-href="');d<c.length-1;d++)this.push(c[d]),this.push(" ");this.push(c[d]);this.push('">');for(d=0;d<b.length;d++)this.push(b[d]);Xb=this.push("</style>");Wb=!0;b.length=0;c.length=0}}function Zb(a){return 2!==a.state?Wb=!0:!1}function $b(a,b,c){Wb=!1;Xb=!0;b.styles.forEach(Yb,a);b.stylesheets.forEach(Zb);Wb&&(c.stylesToHoist=!0);return Xb} -function N(a){for(var b=0;b<a.length;b++)this.push(a[b]);a.length=0}var ac=[];function bc(a){H(ac,a.props);for(var b=0;b<ac.length;b++)this.push(ac[b]);ac.length=0;a.state=2} -function cc(a){var b=0<a.sheets.size;a.sheets.forEach(bc,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){this.push('<style data-precedence="');this.push(a.precedence);a=0;if(d.length){for(this.push('" data-href="');a<d.length-1;a++)this.push(d[a]),this.push(" ");this.push(d[a])}this.push('">');for(a=0;a<c.length;a++)this.push(c[a]);this.push("</style>");c.length=0;d.length=0}} -function dc(a){if(0===a.state){a.state=1;var b=a.props;H(ac,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<ac.length;a++)this.push(ac[a]);ac.length=0}}function ec(a){a.sheets.forEach(dc,this);a.sheets.clear()} -function fc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=Vb(""+d.props.href),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=Vb(""+d.props.href);a.push(g);e=""+e;a.push(",");e=Vb(e);a.push(e);for(var h in f)if(v.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); -default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!va(h))break a;g=""+g}e.push(",");k=Vb(k);e.push(k);e.push(",");g= -Vb(g);e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")} -function gc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=w(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=w(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=w(JSON.stringify(e));a.push(e);for(var h in f)if(v.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); -default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!va(h))break a;g=""+g}e.push(",");k=w(JSON.stringify(k));e.push(k); -e.push(",");g=w(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")}function Ha(a){var b=O?O:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;H(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}hc(b)}}} -function Xa(a,b){var c=O?O:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;H(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}hc(c)}}} -function Ya(a,b,c){var d=O?O:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=db;e=[];H(e,r({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];H(g,r({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?db:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);H(g,r({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?db:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=r({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}H(e,c);g[a]=db}hc(d)}}} -function Za(a,b){var c=O?O:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?db:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=db}H(f,r({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);hc(c)}}} -function $a(a,b,c){var d=O?O:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:w(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:r({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&xb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),hc(d))}}} -function ab(a,b){var c=O?O:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=r({src:a,async:!0},b),f&&(2===f.length&&xb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Ab(a,b),hc(c))}}} -function bb(a,b){var c=O?O:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=r({src:a,type:"module",async:!0},b),f&&(2===f.length&&xb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Ab(a,b),hc(c))}}}function xb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function ic(a){this.styles.add(a)} -function jc(a){this.stylesheets.add(a)} -function kc(a,b){var c=a.idPrefix;a=c+"P:";var d=c+"S:";c+="B:";var e=new Set,f=new Set,g=new Set,h=new Map,k=new Set,l=new Set,n=new Set,q={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};return{placeholderPrefix:a,segmentPrefix:d,boundaryPrefix:c,startInlineScript:"<script>",htmlChunks:null,headChunks:null,externalRuntimeScript:null,bootstrapChunks:[],charsetChunks:[],preconnectChunks:[],importMapChunks:[],preloadChunks:[],hoistableChunks:[],preconnects:e,fontPreloads:f, -highImagePreloads:g,styles:h,bootstrapScripts:k,scripts:l,bulkPreloads:n,preloads:q,boundaryResources:null,stylesToHoist:!1,generateStaticMarkup:b}}function lc(a,b,c,d){if(c.generateStaticMarkup)return a.push(w(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(w(b)),a=!0);return a} -var mc=Symbol.for("react.element"),nc=Symbol.for("react.portal"),oc=Symbol.for("react.fragment"),pc=Symbol.for("react.strict_mode"),qc=Symbol.for("react.profiler"),rc=Symbol.for("react.provider"),sc=Symbol.for("react.context"),tc=Symbol.for("react.server_context"),Oc=Symbol.for("react.forward_ref"),Pc=Symbol.for("react.suspense"),Qc=Symbol.for("react.suspense_list"),Rc=Symbol.for("react.memo"),Sc=Symbol.for("react.lazy"),Tc=Symbol.for("react.scope"),Uc=Symbol.for("react.debug_trace_mode"),Vc=Symbol.for("react.offscreen"), -Wc=Symbol.for("react.legacy_hidden"),Xc=Symbol.for("react.cache"),Yc=Symbol.for("react.default_value"),Zc=Symbol.iterator; -function $c(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case oc:return"Fragment";case nc:return"Portal";case qc:return"Profiler";case pc:return"StrictMode";case Pc:return"Suspense";case Qc:return"SuspenseList";case Xc:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case sc:return(a.displayName||"Context")+".Consumer";case rc:return(a._context.displayName||"Context")+".Provider";case Oc:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Rc:return b=a.displayName||null,null!==b?b:$c(a.type)||"Memo";case Sc:b=a._payload;a=a._init;try{return $c(a(b))}catch(c){break}case tc:return(a.displayName||a._globalName)+".Provider"}return null}var ad={};function bd(a,b){a=a.contextTypes;if(!a)return ad;var c={},d;for(d in a)c[d]=b[d];return c}var cd=null; -function dd(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");dd(a,c)}b.context._currentValue2=b.value}}function ed(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&ed(a)} -function fd(a){var b=a.parent;null!==b&&fd(b);a.context._currentValue2=a.value}function gd(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?dd(a,b):gd(a,b)} -function hd(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?dd(a,c):hd(a,c);b.context._currentValue2=b.value}function id(a){var b=cd;b!==a&&(null===b?fd(a):null===a?ed(b):b.depth===a.depth?dd(b,a):b.depth>a.depth?gd(b,a):hd(b,a),cd=a)} -var jd={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function kd(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=jd;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:r({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&jd.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=r({},f,h)):r(f,h))}a.state=f}else f.queue=null} -var ld={id:1,overflow:""};function md(a,b,c){var d=a.id;a=a.overflow;var e=32-nd(d)-1;d&=~(1<<e);c+=1;var f=32-nd(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-nd(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var nd=Math.clz32?Math.clz32:od,pd=Math.log,qd=Math.LN2;function od(a){a>>>=0;return 0===a?32:31-(pd(a)/qd|0)|0}var rd=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function sd(){}function td(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(sd,sd),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}ud=b;throw rd;}}var ud=null; -function vd(){if(null===ud)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=ud;ud=null;return a}function wd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var xd="function"===typeof Object.is?Object.is:wd,R=null,yd=null,zd=null,T=null,Ad=!1,Bd=!1,Cd=0,Dd=0,Ed=-1,Fd=0,Gd=null,Hd=null,Id=0; -function Jd(){if(null===R)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return R} -function Kd(){if(0<Id)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ld(){null===T?null===zd?(Ad=!1,zd=T=Kd()):(Ad=!0,T=zd):null===T.next?(Ad=!1,T=T.next=Kd()):(Ad=!0,T=T.next);return T}function Md(a,b,c,d){for(;Bd;)Bd=!1,Dd=Cd=0,Ed=-1,Fd=0,Id+=1,T=null,c=a(b,d);Nd();return c}function Od(){var a=Gd;Gd=null;return a}function Nd(){yd=R=null;Bd=!1;zd=null;Id=0;T=Hd=null}function Pd(a,b){return"function"===typeof b?b(a):b} -function Qd(a,b,c){R=Jd();T=Ld();if(Ad){var d=T.queue;b=d.dispatch;if(null!==Hd&&(c=Hd.get(d),void 0!==c)){Hd.delete(d);d=T.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);T.memoizedState=d;return[d,b]}return[T.memoizedState,b]}a=a===Pd?"function"===typeof b?b():b:void 0!==c?c(b):b;T.memoizedState=a;a=T.queue={last:null,dispatch:null};a=a.dispatch=Rd.bind(null,R,a);return[T.memoizedState,a]} -function Sd(a,b){R=Jd();T=Ld();b=void 0===b?null:b;if(null!==T){var c=T.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!xd(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();T.memoizedState=[a,b];return a} -function Rd(a,b,c){if(25<=Id)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===R)if(Bd=!0,a={action:c,next:null},null===Hd&&(Hd=new Map),c=Hd.get(b),void 0===c)Hd.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Td(){throw Error("startTransition cannot be called during server rendering.");}function Ud(a){var b=Fd;Fd+=1;null===Gd&&(Gd=[]);return td(Gd,a,b)} -function Vd(){throw Error("Cache cannot be refreshed during server rendering.");}function Wd(){} -var Yd={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Ud(a);if(a.$$typeof===sc||a.$$typeof===tc)return a._currentValue2}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){Jd();return a._currentValue2},useMemo:Sd,useReducer:Qd,useRef:function(a){R=Jd();T=Ld();var b=T.memoizedState;return null===b?(a={current:a},T.memoizedState=a):b},useState:function(a){return Qd(Pd,a)}, -useInsertionEffect:Wd,useLayoutEffect:Wd,useCallback:function(a,b){return Sd(function(){return a},b)},useImperativeHandle:Wd,useEffect:Wd,useDebugValue:Wd,useDeferredValue:function(a){Jd();return a},useTransition:function(){Jd();return[!1,Td]},useId:function(){var a=yd.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-nd(a)-1)).toString(32)+b;var c=Xd;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Cd++;a=":"+c.idPrefix+"R"+a;0<b&& -(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return Vd}},Xd=null,Zd={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},$d=Fa.ReactCurrentDispatcher,ae=Fa.ReactCurrentCache;function be(a){console.error(a);return null} -function ce(){} -function de(a,b,c,d,e,f,g,h,k,l,n,q){Ga.current=cb;var m=[],t=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:t,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?be:f,onPostpone:void 0===n?ce:n,onAllReady:void 0===g? -ce:g,onShellReady:void 0===h?ce:h,onShellError:void 0===k?ce:k,onFatalError:void 0===l?ce:l,formState:void 0===q?null:q};c=ee(b,0,null,d,!1,!1);c.parentFlushed=!0;a=fe(b,null,a,-1,null,c,t,null,d,ad,null,ld);m.push(a);return b}var O=null;function ge(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,he(a))} -function ie(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function fe(a,b,c,d,e,f,g,h,k,l,n,q){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var m={replay:null,node:c,childIndex:d,ping:function(){return ge(a,m)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:n,treeContext:q,thenableState:b};g.add(m);return m} -function je(a,b,c,d,e,f,g,h,k,l,n,q){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var m={replay:c,node:d,childIndex:e,ping:function(){return ge(a,m)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:n,treeContext:q,thenableState:b};g.add(m);return m}function ee(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function U(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function ke(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function le(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(($c(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=r({},c,d)}b.legacyContext=e;Y(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Y(a,b,null,f,-1),b.keyPath=e} -function me(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var l=0;l<f;l++)l===g?k.push("\x3c!--F!--\x3e"):k.push("\x3c!--F--\x3e")}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=md(c,1,0),Z(a,b,d,-1),b.treeContext=c):h?Z(a,b,d,-1):Y(a,b,null,d,-1);b.keyPath=f}function ne(a,b){if(a&&a.defaultProps){b=r({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function oe(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=bd(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue2:d);kd(h,e,f,d);le(a,b,c,h,e)}else{h=bd(e,b.legacyContext);R={};yd=b;Dd=Cd=0;Ed=-1;Fd=0;Gd=d;d=e(f,h);d=Md(e,f,d,h);g=0!==Cd;var k=Dd,l=Ed;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(kd(d,e,f,h),le(a,b,c,d,e)):me(a,b,c,d,g,k,l)}else if("string"===typeof e)if(d=b.blockedSegment, -null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=gb(h,e,f),b.keyPath=c,Z(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Eb(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=gb(h,e,f);b.keyPath=c;Z(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push("</",e,">")}d.lastPushedText=!1}else{switch(e){case Wc:case Uc:case pc:case qc:case oc:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case Vc:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Y(a,b,null,f.children,-1),b.keyPath=e);return;case Qc:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case Tc:throw Error("ReactDOMServer does not yet support scope components."); -case Pc:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Z(a,b,c,-1)}finally{b.keyPath=e}}else{l=b.keyPath;e=b.blockedBoundary;var n=b.blockedSegment;d=f.fallback;var q=f.children;f=new Set;g=ie(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=ee(a,n.chunks.length,g,b.formatContext,!1,!1);n.children.push(k);n.lastPushedText=!1;var m=ee(a,0,null,b.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=m;a.renderState.boundaryResources=g.resources;b.keyPath= -c;try{if(Z(a,b,q,-1),a.renderState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,pe(g,m),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(t){m.status=4,g.status=4,h=U(a,t),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=n,b.keyPath=l}h=[c[0],"Suspense Fallback",c[2]];l=a.trackedPostpones;null!==l&&(n=[h[1],h[2],[],null],l.workingMap.set(h,n),5===g.status?l.workingMap.get(c)[4]= -n:g.trackedFallbackNode=n);b=fe(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Oc:e=e.render;R={};yd=b;Dd=Cd=0;Ed=-1;Fd=0;Gd=d;d=e(f,g);f=Md(e,f,d,g);me(a,b,c,f,0!==Cd,Dd,Ed);return;case Rc:e=e.type;f=ne(e,f);oe(a,b,c,d,e,f,g);return;case rc:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue2;e._currentValue2=f;k=cd;cd=f={parent:k,depth:null===k?0:k.depth+1,context:e, -parentValue:g,value:f};b.context=f;b.keyPath=c;Y(a,b,null,h,-1);a=cd;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue2=c===Yc?a.context._defaultValue:c;a=cd=a.parent;b.context=a;b.keyPath=d;return;case sc:f=f.children;f=f(e._currentValue2);e=b.keyPath;b.keyPath=c;Y(a,b,null,f,-1);b.keyPath=e;return;case Sc:h=e._init;e=h(e._payload);f=ne(e,f);oe(a,b,c,d,e,f,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+ -((null==e?e:typeof e)+"."));}}function qe(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=ee(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Z(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(pe(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function Y(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case mc:var f=d.type,g=d.key,h=d.props,k=d.ref,l=$c(f),n=null==g?-1===e?0:e:g;g=[b.keyPath,l,n];if(null!==b.replay)a:{var q=b.replay;e=q.nodes;for(d=0;d<e.length;d++){var m=e[d];if(n===m[1]){if(null!==l&&l!==m[0])throw Error('Expected to see a component of type "'+l+"\" in this slot. The tree doesn't match so React will fallback to client rendering.");if(4===m.length){l=m[2];m=m[3];b.replay={nodes:l, -slots:m,pendingTasks:1};try{if("number"===typeof m){n=a;var t=b,F=t.replay,G=t.blockedBoundary,u=ee(n,0,null,t.formatContext,!1,!1);u.id=m;u.parentFlushed=!0;try{t.replay=null,t.blockedSegment=u,oe(n,t,g,c,f,h,k),u.status=1,null===G?n.completedRootSegment=u:(pe(G,u),G.parentFlushed&&n.partialBoundaries.push(G))}finally{t.replay=F,t.blockedSegment=null}}else oe(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -}catch(z){if("object"===typeof z&&null!==z&&(z===rd||"function"===typeof z.then))throw z;h=void 0;var p=b.blockedBoundary;g=z;h=U(a,g);re(a,p,l,m,g,h)}finally{b.replay.pendingTasks--,b.replay=q}}else{if(f!==Pc)throw Error("Expected to see a Suspense boundary in this slot. The tree doesn't match so React will fallback to client rendering.");b:{p=void 0;F=m[5];G=m[2];u=m[3];f=null===m[4]?[]:m[4][2];q=null===m[4]?null:m[4][3];k=b.keyPath;l=b.replay;m=b.blockedBoundary;n=h.children;h=h.fallback;c=new Set; -t=ie(a,c);t.parentFlushed=!0;t.rootSegmentID=F;b.blockedBoundary=t;b.replay={nodes:G,slots:u,pendingTasks:1};a.renderState.boundaryResources=t.resources;try{"number"===typeof u?qe(a,b,u,n,-1):Z(a,b,n,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===t.pendingTasks&&0===t.status){t.status=1;a.completedBoundaries.push(t); -break b}}catch(z){t.status=4,p=U(a,z),t.errorDigest=p,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(t)}finally{a.renderState.boundaryResources=m?m.resources:null,b.blockedBoundary=m,b.replay=l,b.keyPath=k}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof q?(p=ee(a,0,null,b.formatContext,!1,!1),p.id=q,p.parentFlushed=!0,b=fe(a,null,h,-1,m,p,c,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):b=je(a,null,{nodes:f,slots:q,pendingTasks:0},h,-1,m,c,g,b.formatContext,b.legacyContext, -b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else oe(a,b,g,c,f,h,k);return;case nc:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Sc:h=d._init;d=h(d._payload);Y(a,b,null,d,e);return}if(Ea(d)){se(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=Zc&&d[Zc]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value), -d=h.next();while(!d.done);se(a,b,g,e)}return}if("function"===typeof d.then)return Y(a,b,null,Ud(d),e);if(d.$$typeof===sc||d.$$typeof===tc)return Y(a,b,null,d._currentValue2,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=lc(e.chunks, -d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=lc(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function se(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{if(se(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");}catch(q){if("object"===typeof q&&null!==q&&(q===rd|| -"function"===typeof q.then))throw q;c=void 0;var l=b.blockedBoundary,n=q;c=U(a,n);re(a,l,d,k,n,c)}finally{b.replay.pendingTasks--,b.replay=f}g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(l=0;l<g;l++)d=c[l],b.treeContext=md(f,g,l),k=h[l],"number"===typeof k?(qe(a,b,k,d,l),delete h[l]):Z(a,b,d,l);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)l=c[h],b.treeContext=md(f,g,h),Z(a,b,l,h);b.treeContext=f;b.keyPath= -e} -function Z(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,l=b.blockedSegment;if(null===l)try{return Y(a,b,null,c,d)}catch(m){if(Nd(),c=m===rd?vd():m,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Od();a=je(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;id(g);return}}else{var n=l.children.length, -q=l.chunks.length;try{return Y(a,b,null,c,d)}catch(m){if(Nd(),l.children.length=n,l.chunks.length=q,c=m===rd?vd():m,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Od();l=b.blockedSegment;n=ee(a,l.chunks.length,null,b.formatContext,l.lastPushedText,!0);l.children.push(n);l.lastPushedText=!1;a=fe(a,d,b.node,b.childIndex,b.blockedBoundary,n,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath= -h;b.treeContext=k;id(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;id(g);throw c;}function te(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,ue(this,b,a))} -function re(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)re(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,l=f,n=ie(k,new Set);n.parentFlushed=!0;n.rootSegmentID=h;n.status=4;n.errorDigest=l;n.parentFlushed&&k.clientRenderedBoundaries.push(n)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var q in d)delete d[q]}} -function ve(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(U(b,c),ke(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=U(b,c),re(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=U(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return ve(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function pe(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&pe(a,c)}else a.completedSegments.push(b)} -function ue(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=ce,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&pe(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(te, -a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(pe(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function he(a){if(2!==a.status){var b=cd,c=$d.current;$d.current=Yd;var d=ae.current;ae.current=Zd;var e=O;O=a;var f=Xd;Xd=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],l=a,n=k.blockedBoundary;l.renderState.boundaryResources=n?n.resources:null;var q=k.blockedSegment;if(null===q){var m=l;if(0!==k.replay.pendingTasks){id(k.context);try{var t=k.thenableState;k.thenableState=null;Y(m,k,t,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -k.replay.pendingTasks--;k.abortSet.delete(k);ue(m,k.blockedBoundary,null)}catch(A){Nd();var F=A===rd?vd():A;if("object"===typeof F&&null!==F&&"function"===typeof F.then){var G=k.ping;F.then(G,G);k.thenableState=Od()}else{k.replay.pendingTasks--;k.abortSet.delete(k);l=void 0;var u=m,p=k.blockedBoundary,z=F,aa=k.replay.nodes,J=k.replay.slots;l=U(u,z);re(u,p,aa,J,z,l);m.allPendingTasks--;if(0===m.allPendingTasks){var P=m.onAllReady;P()}}}finally{m.renderState.boundaryResources=null}}}else if(m=void 0, -u=q,0===u.status){id(k.context);var K=u.children.length,y=u.chunks.length;try{var V=k.thenableState;k.thenableState=null;Y(l,k,V,k.node,k.childIndex);l.renderState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("\x3c!-- --\x3e");k.abortSet.delete(k);u.status=1;ue(l,k.blockedBoundary,u)}catch(A){Nd();u.children.length=K;u.chunks.length=y;var S=A===rd?vd():A;if("object"===typeof S&&null!==S&&"function"===typeof S.then){var ba=k.ping;S.then(ba,ba);k.thenableState=Od()}else{k.abortSet.delete(k); -u.status=4;var L=k.blockedBoundary;m=U(l,S);null===L?ke(l,S):(L.pendingTasks--,4!==L.status&&(L.status=4,L.errorDigest=m,L.parentFlushed&&l.clientRenderedBoundaries.push(L)));l.allPendingTasks--;if(0===l.allPendingTasks){var W=l.onAllReady;W()}}}finally{l.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&we(a,a.destination)}catch(A){U(a,A),ke(a,A)}finally{Xd=f,$d.current=c,ae.current=d,c===Yd&&id(b),O=e}}} -function xe(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=ye(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); -}} -function ye(a,b,c){var d=c.boundary;if(null===d)return xe(a,b,c);d.parentFlushed=!0;if(4===d.status)return a.renderState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=w(d),b.push(d),b.push('"')),b.push("></template>")),xe(a,b,c),a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(1!==d.status)return 0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Gb(b,a.renderState, -d.rootSegmentID),xe(a,b,c),b.push("\x3c!--/$--\x3e");if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Gb(b,a.renderState,d.rootSegmentID),xe(a,b,c),b.push("\x3c!--/$--\x3e");c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(ic,e),c.stylesheets.forEach(jc,e));a.renderState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React."); -ye(a,b,c[0]);a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e");return a}function ze(a,b,c){Hb(b,a.renderState,c.parentFormatContext,c.id);ye(a,b,c);return Ib(b,c.parentFormatContext)} -function Ae(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Be(a,b,c,d[e]);d.length=0;$b(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(b.push(a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): +function Qb(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.");}}var Yb=/[<\u2028\u2029]/g; +function Zb(a){return JSON.stringify(a).replace(Yb,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var $b=/[&><\u2028\u2029]/g; +function ac(a){return JSON.stringify(a).replace($b,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var bc=!1,cc=!0; +function dc(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){this.push('<style media="not all" data-precedence="');this.push(a.precedence);for(this.push('" data-href="');d<c.length-1;d++)this.push(c[d]),this.push(" ");this.push(c[d]);this.push('">');for(d=0;d<b.length;d++)this.push(b[d]);cc=this.push("</style>");bc=!0;b.length=0;c.length=0}}function ec(a){return 2!==a.state?bc=!0:!1}function fc(a,b,c){bc=!1;cc=!0;b.styles.forEach(dc,a);b.stylesheets.forEach(ec);bc&&(c.stylesToHoist=!0);return cc} +function L(a){for(var b=0;b<a.length;b++)this.push(a[b]);a.length=0}var gc=[];function hc(a){J(gc,a.props);for(var b=0;b<gc.length;b++)this.push(gc[b]);gc.length=0;a.state=2} +function ic(a){var b=0<a.sheets.size;a.sheets.forEach(hc,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){this.push('<style data-precedence="');this.push(a.precedence);a=0;if(d.length){for(this.push('" data-href="');a<d.length-1;a++)this.push(d[a]),this.push(" ");this.push(d[a])}this.push('">');for(a=0;a<c.length;a++)this.push(c[a]);this.push("</style>");c.length=0;d.length=0}} +function jc(a){if(0===a.state){a.state=1;var b=a.props;J(gc,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<gc.length;a++)this.push(gc[a]);gc.length=0}}function kc(a){a.sheets.forEach(jc,this);a.sheets.clear()} +function lc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=ac(""+d.props.href),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=ac(""+d.props.href);a.push(g);e=""+e;a.push(",");e=ac(e);a.push(e);for(var h in f)if(u.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); +default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!va(h))break a;g=""+g}e.push(",");k=ac(k);e.push(k);e.push(",");g= +ac(g);e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")} +function mc(a,b){a.push("[");var c="[";b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)a.push(c),d=v(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else{a.push(c);var e=d.props["data-precedence"],f=d.props,g=v(JSON.stringify(""+d.props.href));a.push(g);e=""+e;a.push(",");e=v(JSON.stringify(e));a.push(e);for(var h in f)if(u.call(f,h)&&(g=f[h],null!=g))switch(h){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); +default:a:{e=a;var k=h.toLowerCase();switch(typeof g){case "function":case "symbol":break a}switch(h){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":k="class";g=""+g;break;case "hidden":if(!1===g)break a;g="";break;case "src":case "href":g=""+g;break;default:if(2<h.length&&("o"===h[0]||"O"===h[0])&&("n"===h[1]||"N"===h[1])||!va(h))break a;g=""+g}e.push(",");k=v(JSON.stringify(k));e.push(k); +e.push(",");g=v(JSON.stringify(g));e.push(g)}}a.push("]");c=",[";d.state=3}});a.push("]")}function Ka(a){var b=N?N:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;J(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}nc(b)}}} +function bb(a,b){var c=N?N:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;J(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}nc(c)}}} +function cb(a,b,c){var d=N?N:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var k=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=ib;e=[];J(e,r({rel:"preload",href:g?void 0:a,as:b},c));"high"===k?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];J(g,r({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?ib:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);J(g,r({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?ib:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=r({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}J(e,c);g[a]=ib}nc(d)}}} +function db(a,b){var c=N?N:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?ib:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=ib}J(f,r({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);nc(c)}}} +function eb(a,b,c){var d=N?N:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:v(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:r({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&Fb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),nc(d))}}} +function fb(a,b){var c=N?N:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=r({src:a,async:!0},b),f&&(2===f.length&&Fb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Ib(a,b),nc(c))}}} +function gb(a,b){var c=N?N:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=r({src:a,type:"module",async:!0},b),f&&(2===f.length&&Fb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Ib(a,b),nc(c))}}}function Fb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function oc(a){this.styles.add(a)} +function pc(a){this.stylesheets.add(a)} +function qc(a,b){var c=a.idPrefix;a=c+"P:";var d=c+"S:";c+="B:";var e="<script>",f=null,g=null,h=null,k=[],l=[],p=[],q=[],m=[],A=[],y=new Set,P=new Set,t=new Set,n=new Map,x=new Set,T=new Set,B=new Set,G={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};return{placeholderPrefix:a,segmentPrefix:d,boundaryPrefix:c,startInlineScript:e,htmlChunks:f,headChunks:g,externalRuntimeScript:h,bootstrapChunks:k,charsetChunks:l,preconnectChunks:p,importMapChunks:q,preloadChunks:m,hoistableChunks:A, +preconnects:y,fontPreloads:P,highImagePreloads:t,styles:n,bootstrapScripts:x,scripts:T,bulkPreloads:B,preloads:G,boundaryResources:null,stylesToHoist:!1,generateStaticMarkup:b}}function rc(a,b,c,d){if(c.generateStaticMarkup)return a.push(v(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(v(b)),a=!0);return a} +var sc=Symbol.for("react.element"),tc=Symbol.for("react.portal"),uc=Symbol.for("react.fragment"),vc=Symbol.for("react.strict_mode"),wc=Symbol.for("react.profiler"),xc=Symbol.for("react.provider"),yc=Symbol.for("react.context"),zc=Symbol.for("react.server_context"),Ac=Symbol.for("react.forward_ref"),Bc=Symbol.for("react.suspense"),Wc=Symbol.for("react.suspense_list"),Xc=Symbol.for("react.memo"),Yc=Symbol.for("react.lazy"),Zc=Symbol.for("react.scope"),$c=Symbol.for("react.debug_trace_mode"),ad=Symbol.for("react.offscreen"), +bd=Symbol.for("react.legacy_hidden"),cd=Symbol.for("react.cache"),dd=Symbol.for("react.default_value"),ed=Symbol.iterator; +function fd(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case uc:return"Fragment";case tc:return"Portal";case wc:return"Profiler";case vc:return"StrictMode";case Bc:return"Suspense";case Wc:return"SuspenseList";case cd:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case yc:return(a.displayName||"Context")+".Consumer";case xc:return(a._context.displayName||"Context")+".Provider";case Ac:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Xc:return b=a.displayName||null,null!==b?b:fd(a.type)||"Memo";case Yc:b=a._payload;a=a._init;try{return fd(a(b))}catch(c){}}return null}var gd={};function hd(a,b){a=a.contextTypes;if(!a)return gd;var c={},d;for(d in a)c[d]=b[d];return c}var id=null; +function jd(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");jd(a,c)}b.context._currentValue2=b.value}}function kd(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&kd(a)} +function ld(a){var b=a.parent;null!==b&&ld(b);a.context._currentValue2=a.value}function md(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?jd(a,b):md(a,b)} +function nd(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?jd(a,c):nd(a,c);b.context._currentValue2=b.value}function od(a){var b=id;b!==a&&(null===b?ld(a):null===a?kd(b):b.depth===a.depth?jd(b,a):b.depth>a.depth?md(b,a):nd(b,a),id=a)} +var pd={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function qd(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=pd;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:r({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&pd.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=r({},f,h)):r(f,h))}a.state=f}else f.queue=null} +var rd={id:1,overflow:""};function sd(a,b,c){var d=a.id;a=a.overflow;var e=32-td(d)-1;d&=~(1<<e);c+=1;var f=32-td(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-td(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var td=Math.clz32?Math.clz32:ud,vd=Math.log,wd=Math.LN2;function ud(a){a>>>=0;return 0===a?32:31-(vd(a)/wd|0)|0}var xd=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function yd(){}function zd(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(yd,yd),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ad=b;throw xd;}}var Ad=null; +function Bd(){if(null===Ad)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ad;Ad=null;return a}function Cd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Dd="function"===typeof Object.is?Object.is:Cd,Ed=null,Fd=null,Gd=null,Hd=null,Id=null,S=null,Jd=!1,Kd=!1,Ld=0,Md=0,Nd=-1,Od=0,Pd=null,Qd=null,Rd=0; +function Sd(){if(null===Ed)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Ed} +function Td(){if(0<Rd)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ud(){null===S?null===Id?(Jd=!1,Id=S=Td()):(Jd=!0,S=Id):null===S.next?(Jd=!1,S=S.next=Td()):(Jd=!0,S=S.next);return S}function Vd(a,b,c,d){for(;Kd;)Kd=!1,Md=Ld=0,Nd=-1,Od=0,Rd+=1,S=null,c=a(b,d);Wd();return c}function Xd(){var a=Pd;Pd=null;return a}function Wd(){Hd=Gd=Fd=Ed=null;Kd=!1;Id=null;Rd=0;S=Qd=null} +function Yd(a,b){return"function"===typeof b?b(a):b}function Zd(a,b,c){Ed=Sd();S=Ud();if(Jd){var d=S.queue;b=d.dispatch;if(null!==Qd&&(c=Qd.get(d),void 0!==c)){Qd.delete(d);d=S.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);S.memoizedState=d;return[d,b]}return[S.memoizedState,b]}a=a===Yd?"function"===typeof b?b():b:void 0!==c?c(b):b;S.memoizedState=a;a=S.queue={last:null,dispatch:null};a=a.dispatch=$d.bind(null,Ed,a);return[S.memoizedState,a]} +function ae(a,b){Ed=Sd();S=Ud();b=void 0===b?null:b;if(null!==S){var c=S.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Dd(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();S.memoizedState=[a,b];return a} +function $d(a,b,c){if(25<=Rd)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Ed)if(Kd=!0,a={action:c,next:null},null===Qd&&(Qd=new Map),c=Qd.get(b),void 0===c)Qd.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function be(){throw Error("startTransition cannot be called during server rendering.");}function ce(){throw Error("Cannot update optimistic state while rendering.");} +function de(a){var b=Od;Od+=1;null===Pd&&(Pd=[]);return zd(Pd,a,b)}function ee(){throw Error("Cache cannot be refreshed during server rendering.");}function fe(){} +var he={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return de(a);if(a.$$typeof===yc||a.$$typeof===zc)return a._currentValue2}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){Sd();return a._currentValue2},useMemo:ae,useReducer:Zd,useRef:function(a){Ed=Sd();S=Ud();var b=S.memoizedState;return null===b?(a={current:a},S.memoizedState=a):b},useState:function(a){return Zd(Yd,a)}, +useInsertionEffect:fe,useLayoutEffect:fe,useCallback:function(a,b){return ae(function(){return a},b)},useImperativeHandle:fe,useEffect:fe,useDebugValue:fe,useDeferredValue:function(a){Sd();return a},useTransition:function(){Sd();return[!1,be]},useId:function(){var a=Fd.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-td(a)-1)).toString(32)+b;var c=ge;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Ld++;a=":"+c.idPrefix+"R"+a;0<b&& +(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return ee},useHostTransitionStatus:function(){Sd();return Ia},useOptimistic:function(a){Sd();return[a,ce]},useFormState:function(a,b,c){Sd();var d=Md++,e=Gd;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Hd;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL; +if(null!==e&&"function"===typeof h){var k=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ha(JSON.stringify([g,null,d]),0),k===f&&(Nd=d,b=e[0]))}var l=a.bind(null,b);a=function(q){l(q)};"function"===typeof l.$$FORM_ACTION&&(a.$$FORM_ACTION=function(q){q=l.$$FORM_ACTION(q);void 0!==c&&(c+="",q.action=c);var m=q.data;m&&(null===f&&(f=void 0!==c?"p"+c:"k"+ha(JSON.stringify([g,null,d]),0)),m.append("$ACTION_KEY",f));return q});return[b,a]}var p=a.bind(null,b);return[b,function(q){p(q)}]}},ge=null,ke= +{getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},le=Ha.ReactCurrentDispatcher,me=Ha.ReactCurrentCache;function ne(a){console.error(a);return null}function oe(){} +function pe(a,b,c,d,e,f,g,h,k,l,p,q){Ja.current=hb;var m=[],A=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:A,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?ne:f,onPostpone:void 0===p?oe:p,onAllReady:void 0===g? +oe:g,onShellReady:void 0===h?oe:h,onShellError:void 0===k?oe:k,onFatalError:void 0===l?oe:l,formState:void 0===q?null:q};c=qe(b,0,null,d,!1,!1);c.parentFlushed=!0;a=re(b,null,a,-1,null,c,A,null,d,gd,null,rd);m.push(a);return b}var N=null;function se(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,te(a))} +function ue(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function re(a,b,c,d,e,f,g,h,k,l,p,q){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var m={replay:null,node:c,childIndex:d,ping:function(){return se(a,m)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:q,thenableState:b};g.add(m);return m} +function ve(a,b,c,d,e,f,g,h,k,l,p,q){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var m={replay:c,node:d,childIndex:e,ping:function(){return se(a,m)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:k,legacyContext:l,context:p,treeContext:q,thenableState:b};g.add(m);return m}function qe(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function V(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function we(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function xe(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((fd(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=r({},c,d)}b.legacyContext=e;W(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,W(a,b,null,f,-1),b.keyPath=e} +function ye(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var k=b.blockedSegment;if(null!==k){h=!0;k=k.chunks;for(var l=0;l<f;l++)l===g?k.push("\x3c!--F!--\x3e"):k.push("\x3c!--F--\x3e")}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=sd(c,1,0),ze(a,b,d,-1),b.treeContext=c):h?ze(a,b,d,-1):W(a,b,null,d,-1);b.keyPath=f}function Ae(a,b){if(a&&a.defaultProps){b=r({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Be(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=hd(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue2:d);qd(h,e,f,d);xe(a,b,c,h,e)}else{h=hd(e,b.legacyContext);Ed={};Fd=b;Gd=a;Hd=c;Md=Ld=0;Nd=-1;Od=0;Pd=d;d=e(f,h);d=Vd(e,f,d,h);g=0!==Ld;var k=Md,l=Nd;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(qd(d,e,f,h),xe(a,b,c,d,e)):ye(a,b,c,d,g,k,l)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=lb(h,e,f),b.keyPath=c,ze(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Mb(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;k=b.keyPath;b.formatContext=lb(h,e,f);b.keyPath=c;ze(a,b,g,-1);b.formatContext=h;b.keyPath=k;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push("</",e,">")}d.lastPushedText=!1}else{switch(e){case bd:case $c:case vc:case wc:case uc:e=b.keyPath;b.keyPath=c;W(a,b,null,f.children,-1);b.keyPath=e;return;case ad:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,W(a,b,null,f.children,-1),b.keyPath=e);return;case Wc:e=b.keyPath;b.keyPath=c;W(a,b,null,f.children,-1);b.keyPath=e;return;case Zc:throw Error("ReactDOMServer does not yet support scope components."); +case Bc:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{ze(a,b,c,-1)}finally{b.keyPath=e}}else{l=b.keyPath;e=b.blockedBoundary;var p=b.blockedSegment;d=f.fallback;var q=f.children;f=new Set;g=ue(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);k=qe(a,p.chunks.length,g,b.formatContext,!1,!1);p.children.push(k);p.lastPushedText=!1;var m=qe(a,0,null,b.formatContext,!1,!1);m.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=m;a.renderState.boundaryResources=g.resources;b.keyPath= +c;try{if(ze(a,b,q,-1),a.renderState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,Ce(g,m),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(A){m.status=4,g.status=4,h=V(a,A),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=p,b.keyPath=l}h=[c[0],"Suspense Fallback",c[2]];l=a.trackedPostpones;null!==l&&(p=[h[1],h[2],[],null],l.workingMap.set(h,p),5===g.status?l.workingMap.get(c)[4]= +p:g.trackedFallbackNode=p);b=re(a,null,d,-1,e,k,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Ac:e=e.render;Ed={};Fd=b;Gd=a;Hd=c;Md=Ld=0;Nd=-1;Od=0;Pd=d;d=e(f,g);f=Vd(e,f,d,g);ye(a,b,c,f,0!==Ld,Md,Nd);return;case Xc:e=e.type;f=Ae(e,f);Be(a,b,c,d,e,f,g);return;case xc:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue2;e._currentValue2=f;k=id;id=f={parent:k,depth:null===k?0:k.depth+1, +context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;W(a,b,null,h,-1);a=id;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue2=c===dd?a.context._defaultValue:c;a=id=a.parent;b.context=a;b.keyPath=d;return;case yc:f=f.children;f=f(e._currentValue2);e=b.keyPath;b.keyPath=c;W(a,b,null,f,-1);b.keyPath=e;return;case Yc:h=e._init;e=h(e._payload);f=Ae(e,f);Be(a,b,c,d,e,f,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+ +((null==e?e:typeof e)+"."));}}function De(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=qe(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,ze(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Ce(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function W(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)De(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case sc:var f=d.type,g=d.key,h=d.props,k=d.ref,l=fd(f),p=null==g?-1===e?0:e:g;g=[b.keyPath,l,p];if(null!==b.replay)a:{var q=b.replay;e=q.nodes;for(d=0;d<e.length;d++){var m=e[d];if(p===m[1]){if(4===m.length){if(null!==l&&l!==m[0])throw Error("Expected the resume to render <"+m[0]+"> in this slot but instead it rendered <"+ +l+">. The tree doesn't match so React will fallback to client rendering.");l=m[2];m=m[3];p=b.node;b.replay={nodes:l,slots:m,pendingTasks:1};try{Be(a,b,g,c,f,h,k);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(x){if("object"===typeof x&&null!==x&&(x===xd||"function"===typeof x.then))throw b.node===p&&(b.replay=q),x;b.replay.pendingTasks--; +g=a;a=b.blockedBoundary;c=x;h=V(g,c);Ee(g,a,l,m,c,h)}b.replay=q}else{if(f!==Bc)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(fd(f)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");b:{q=void 0;c=m[5];f=m[2];k=m[3];l=null===m[4]?[]:m[4][2];m=null===m[4]?null:m[4][3];p=b.keyPath;var A=b.replay,y=b.blockedBoundary,P=h.children;h=h.fallback;var t=new Set,n=ue(a,t);n.parentFlushed=!0;n.rootSegmentID=c;b.blockedBoundary= +n;b.replay={nodes:f,slots:k,pendingTasks:1};a.renderState.boundaryResources=n.resources;try{ze(a,b,P,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===n.pendingTasks&&0===n.status){n.status=1;a.completedBoundaries.push(n);break b}}catch(x){n.status=4,q=V(a,x),n.errorDigest=q,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(n)}finally{a.renderState.boundaryResources= +y?y.resources:null,b.blockedBoundary=y,b.replay=A,b.keyPath=p}b=ve(a,null,{nodes:l,slots:m,pendingTasks:0},h,-1,y,t,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else Be(a,b,g,c,f,h,k);return;case tc:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Yc:h=d._init;d=h(d._payload);W(a,b,null,d,e);return}if(Ga(d)){Fe(a, +b,d,e);return}null===d||"object"!==typeof d?h=null:(h=ed&&d[ed]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Fe(a,b,g,e)}return}if("function"===typeof d.then)return W(a,b,null,de(d),e);if(d.$$typeof===yc||d.$$typeof===zc)return W(a,b,null,d._currentValue2,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+ +"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=rc(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=rc(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Fe(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var k=g[h];if(k[1]===d){d=k[2];k=k[3];b.replay={nodes:d,slots:k,pendingTasks:1};try{Fe(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(q){if("object"===typeof q&& +null!==q&&(q===xd||"function"===typeof q.then))throw q;b.replay.pendingTasks--;c=a;var l=b.blockedBoundary,p=q;a=V(c,p);Ee(c,l,d,k,p,a)}b.replay=f;g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(d=0;d<g;d++)k=c[d],b.treeContext=sd(f,g,d),l=h[d],"number"===typeof l?(De(a,b,l,k,d),delete h[d]):ze(a,b,k,d);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)d=c[h],b.treeContext=sd(f,g,h),ze(a,b,d,h);b.treeContext= +f;b.keyPath=e} +function ze(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,k=b.treeContext,l=b.blockedSegment;if(null===l)try{return W(a,b,null,c,d)}catch(m){if(Wd(),c=m===xd?Bd():m,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Xd();a=ve(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;od(g);return}}else{var p= +l.children.length,q=l.chunks.length;try{return W(a,b,null,c,d)}catch(m){if(Wd(),l.children.length=p,l.chunks.length=q,c=m===xd?Bd():m,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Xd();l=b.blockedSegment;p=qe(a,l.chunks.length,null,b.formatContext,l.lastPushedText,!0);l.children.push(p);l.lastPushedText=!1;a=re(a,d,b.node,b.childIndex,b.blockedBoundary,p,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=k;od(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=k;od(g);throw c;}function Ge(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,He(this,b,a))} +function Ee(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Ee(a,b,h[2],h[3],e,f);else{h=h[5];var k=a,l=f,p=ue(k,new Set);p.parentFlushed=!0;p.rootSegmentID=h;p.status=4;p.errorDigest=l;p.parentFlushed&&k.clientRenderedBoundaries.push(p)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var q in d)delete d[q]}} +function Ie(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){V(b,c);we(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=V(b,c),Ee(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=oe,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=V(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Ie(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Ce(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Ce(a,c)}else a.completedSegments.push(b)} +function He(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=oe,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Ce(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Ge, +a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Ce(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function te(a){if(2!==a.status){var b=id,c=le.current;le.current=he;var d=me.current;me.current=ke;var e=N;N=a;var f=ge;ge=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var k=g[h],l=a,p=k.blockedBoundary;l.renderState.boundaryResources=p?p.resources:null;var q=k.blockedSegment;if(null===q){var m=l;if(0!==k.replay.pendingTasks){od(k.context);try{var A=k.thenableState;k.thenableState=null;W(m,k,A,k.node,-1);if(1===k.replay.pendingTasks&&0<k.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); +k.replay.pendingTasks--;k.abortSet.delete(k);He(m,k.blockedBoundary,null)}catch(O){Wd();var y=O===xd?Bd():O;if("object"===typeof y&&null!==y&&"function"===typeof y.then){var P=k.ping;y.then(P,P);k.thenableState=Xd()}else{k.replay.pendingTasks--;k.abortSet.delete(k);l=void 0;var t=m,n=k.blockedBoundary,x=y,T=k.replay.nodes,B=k.replay.slots;l=V(t,x);Ee(t,n,T,B,x,l);m.pendingRootTasks--;if(0===m.pendingRootTasks){m.onShellError=oe;var G=m.onShellReady;G()}m.allPendingTasks--;if(0===m.allPendingTasks){var H= +m.onAllReady;H()}}}finally{m.renderState.boundaryResources=null}}}else if(m=void 0,t=q,0===t.status){od(k.context);var z=t.children.length,X=t.chunks.length;try{var Aa=k.thenableState;k.thenableState=null;W(l,k,Aa,k.node,k.childIndex);l.renderState.generateStaticMarkup||t.lastPushedText&&t.textEmbedded&&t.chunks.push("\x3c!-- --\x3e");k.abortSet.delete(k);t.status=1;He(l,k.blockedBoundary,t)}catch(O){Wd();t.children.length=z;t.chunks.length=X;var Q=O===xd?Bd():O;if("object"===typeof Q&&null!==Q&& +"function"===typeof Q.then){var Y=k.ping;Q.then(Y,Y);k.thenableState=Xd()}else{k.abortSet.delete(k);t.status=4;var I=k.blockedBoundary;m=V(l,Q);null===I?we(l,Q):(I.pendingTasks--,4!==I.status&&(I.status=4,I.errorDigest=m,I.parentFlushed&&l.clientRenderedBoundaries.push(I)));l.allPendingTasks--;if(0===l.allPendingTasks){var U=l.onAllReady;U()}}}finally{l.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Je(a,a.destination)}catch(O){V(a,O),we(a,O)}finally{ge=f,le.current=c,me.current= +d,c===he&&od(b),N=e}}} +function Ke(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)b.push(d[f]);e=Le(a,b,e)}for(;f<d.length-1;f++)b.push(d[f]);f<d.length&&(e=b.push(d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.");}} +function Le(a,b,c){var d=c.boundary;if(null===d)return Ke(a,b,c);d.parentFlushed=!0;if(4===d.status)return a.renderState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=v(d),b.push(d),b.push('"')),b.push("></template>")),Ke(a,b,c),a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(1!==d.status)return 0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Ob(b, +a.renderState,d.rootSegmentID),Ke(a,b,c),b.push("\x3c!--/$--\x3e");if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Ob(b,a.renderState,d.rootSegmentID),Ke(a,b,c),b.push("\x3c!--/$--\x3e");c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(oc,e),c.stylesheets.forEach(pc,e));a.renderState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React."); +Le(a,b,c[0]);a=a.renderState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e");return a}function Me(a,b,c){Pb(b,a.renderState,c.parentFormatContext,c.id);Le(a,b,c);return Qb(b,c.parentFormatContext)} +function Ne(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Oe(a,b,c,d[e]);d.length=0;fc(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(b.push(a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): 0===(d.instructions&8)?(d.instructions|=8,b.push('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("')): b.push('$RR("'):0===(d.instructions&2)?(d.instructions|=2,b.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("')): -b.push('$RC("')):f?b.push('<template data-rri="" data-bid="'):b.push('<template data-rci="" data-bid="');d=e.toString(16);b.push(a.boundaryPrefix);b.push(d);g?b.push('","'):b.push('" data-sid="');b.push(a.segmentPrefix);b.push(d);f?g?(b.push('",'),fc(b,c)):(b.push('" data-sty="'),gc(b,c)):g&&b.push('"');d=g?b.push(")\x3c/script>"):b.push('"></template>');return Fb(b,a)&&d} -function Be(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return ze(a,b,d)}if(e===c.rootSegmentID)return ze(a,b,d);ze(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(b.push(a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')): +b.push('$RC("')):f?b.push('<template data-rri="" data-bid="'):b.push('<template data-rci="" data-bid="');d=e.toString(16);b.push(a.boundaryPrefix);b.push(d);g?b.push('","'):b.push('" data-sid="');b.push(a.segmentPrefix);b.push(d);f?g?(b.push('",'),lc(b,c)):(b.push('" data-sty="'),mc(b,c)):g&&b.push('"');d=g?b.push(")\x3c/script>"):b.push('"></template>');return Nb(b,a)&&d} +function Oe(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Me(a,b,d)}if(e===c.rootSegmentID)return Me(a,b,d);Me(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(b.push(a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,b.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')): b.push('$RS("')):b.push('<template data-rsi="" data-sid="');b.push(a.segmentPrefix);e=e.toString(16);b.push(e);d?b.push('","'):b.push('" data-pid="');b.push(a.placeholderPrefix);b.push(e);b=d?b.push('")\x3c/script>'):b.push('"></template>');return b} -function we(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var l=e.htmlChunks,n=e.headChunks;f=0;if(l){for(f=0;f<l.length;f++)b.push(l[f]);if(n)for(f=0;f<n.length;f++)b.push(n[f]);else{var q=I("head");b.push(q);b.push(">")}}else if(n)for(f= -0;f<n.length;f++)b.push(n[f]);var m=e.charsetChunks;for(f=0;f<m.length;f++)b.push(m[f]);m.length=0;e.preconnects.forEach(N,b);e.preconnects.clear();var t=e.preconnectChunks;for(f=0;f<t.length;f++)b.push(t[f]);t.length=0;e.fontPreloads.forEach(N,b);e.fontPreloads.clear();e.highImagePreloads.forEach(N,b);e.highImagePreloads.clear();e.styles.forEach(cc,b);var F=e.importMapChunks;for(f=0;f<F.length;f++)b.push(F[f]);F.length=0;e.bootstrapScripts.forEach(N,b);e.scripts.forEach(N,b);e.scripts.clear();e.bulkPreloads.forEach(N, -b);e.bulkPreloads.clear();var G=e.preloadChunks;for(f=0;f<G.length;f++)b.push(G[f]);G.length=0;var u=e.hoistableChunks;for(f=0;f<u.length;f++)b.push(u[f]);u.length=0;l&&null===n&&(b.push("</"),b.push("head"),b.push(">"));ye(a,b,d);a.completedRootSegment=null;Fb(b,a.renderState)}else return;var p=a.renderState;d=0;p.preconnects.forEach(N,b);p.preconnects.clear();var z=p.preconnectChunks;for(d=0;d<z.length;d++)b.push(z[d]);z.length=0;p.fontPreloads.forEach(N,b);p.fontPreloads.clear();p.highImagePreloads.forEach(N, -b);p.highImagePreloads.clear();p.styles.forEach(ec,b);p.scripts.forEach(N,b);p.scripts.clear();p.bulkPreloads.forEach(N,b);p.bulkPreloads.clear();var aa=p.preloadChunks;for(d=0;d<aa.length;d++)b.push(aa[d]);aa.length=0;var J=p.hoistableChunks;for(d=0;d<J.length;d++)b.push(J[d]);J.length=0;var P=a.clientRenderedBoundaries;for(c=0;c<P.length;c++){var K=P[c];p=b;var y=a.resumableState,V=a.renderState,S=K.rootSegmentID,ba=K.errorDigest,L=K.errorMessage,W=K.errorComponentStack,A=0===y.streamingFormat; -A?(p.push(V.startInlineScript),0===(y.instructions&4)?(y.instructions|=4,p.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("')):p.push('$RX("')):p.push('<template data-rxi="" data-bid="');p.push(V.boundaryPrefix);var Ia=S.toString(16);p.push(Ia);A&&p.push('"');if(ba||L||W)if(A){p.push(",");var Ja=Tb(ba||"");p.push(Ja)}else{p.push('" data-dgst="');var Ka=w(ba|| -"");p.push(Ka)}if(L||W)if(A){p.push(",");var La=Tb(L||"");p.push(La)}else{p.push('" data-msg="');var ia=w(L||"");p.push(ia)}if(W)if(A){p.push(",");var Q=Tb(W);p.push(Q)}else{p.push('" data-stck="');var ib=w(W);p.push(ib)}if(A?!p.push(")\x3c/script>"):!p.push('"></template>')){a.destination=null;c++;P.splice(0,c);return}}P.splice(0,c);var X=a.completedBoundaries;for(c=0;c<X.length;c++)if(!Ae(a,b,X[c])){a.destination=null;c++;X.splice(0,c);return}X.splice(0,c);var ja=a.partialBoundaries;for(c=0;c<ja.length;c++){var ka= -ja[c];a:{P=a;K=b;P.renderState.boundaryResources=ka.resources;var la=ka.completedSegments;for(y=0;y<la.length;y++)if(!Be(P,K,ka,la[y])){y++;la.splice(0,y);var Ma=!1;break a}la.splice(0,y);Ma=$b(K,ka.resources,P.renderState)}if(!Ma){a.destination=null;c++;ja.splice(0,c);return}}ja.splice(0,c);var ma=a.completedBoundaries;for(c=0;c<ma.length;c++)if(!Ae(a,b,ma[c])){a.destination=null;c++;ma.splice(0,c);return}ma.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&& -0===a.completedBoundaries.length&&(a.flushScheduled=!1,a=a.resumableState,a.hasBody&&(b.push("</"),b.push("body"),b.push(">")),a.hasHtml&&(b.push("</"),b.push("html"),b.push(">")),b.push(null))}}function hc(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;we(a,b)}}function Ce(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{we(a,b)}catch(c){U(a,c),ke(a,c)}}} -function De(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return ve(e,a,d)});c.clear()}null!==a.destination&&we(a,a.destination)}catch(e){U(a,e),ke(a,e)}}function Ee(){} -function Fe(a,b,c,d){var e=!1,f=null,g="",h=!1;b=eb(b?b.identifierPrefix:void 0,void 0);a=de(a,b,kc(b,c),fb(),Infinity,Ee,void 0,function(){h=!0},void 0,void 0,void 0);a.flushScheduled=null!==a.destination;he(a);De(a,d);Ce(a,{push:function(k){null!==k&&(g+=k);return!0},destroy:function(k){e=!0;f=k}});if(e&&f!==d)throw f;if(!h)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition."); -return g}function Ge(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}var He=function(a){function b(){var d=a.call(this,{})||this;d.request=null;d.startedFlowing=!1;return d}Ge(b,a);var c=b.prototype;c._destroy=function(d,e){De(this.request);e(d)};c._read=function(){this.startedFlowing&&Ce(this.request,this)};return b}(ha.Readable);function Ie(){} -function Je(a,b){var c=new He;b=eb(b?b.identifierPrefix:void 0,void 0);var d=de(a,b,kc(b,!1),fb(),Infinity,Ie,function(){c.startedFlowing=!0;Ce(d,c)},void 0,void 0,void 0);c.request=d;d.flushScheduled=null!==d.destination;he(d);return c}exports.renderToNodeStream=function(a,b){return Je(a,b)};exports.renderToStaticMarkup=function(a,b){return Fe(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')}; -exports.renderToStaticNodeStream=function(a,b){return Je(a,b)};exports.renderToString=function(a,b){return Fe(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')}; -exports.version="18.3.0-canary-d900fadbf-20230929"; +function Je(a,b){try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,k=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(k))}var l=e.htmlChunks,p=e.headChunks;f=0;if(l){for(f=0;f<l.length;f++)b.push(l[f]);if(p)for(f=0;f<p.length;f++)b.push(p[f]);else{var q=K("head");b.push(q);b.push(">")}}else if(p)for(f= +0;f<p.length;f++)b.push(p[f]);var m=e.charsetChunks;for(f=0;f<m.length;f++)b.push(m[f]);m.length=0;e.preconnects.forEach(L,b);e.preconnects.clear();var A=e.preconnectChunks;for(f=0;f<A.length;f++)b.push(A[f]);A.length=0;e.fontPreloads.forEach(L,b);e.fontPreloads.clear();e.highImagePreloads.forEach(L,b);e.highImagePreloads.clear();e.styles.forEach(ic,b);var y=e.importMapChunks;for(f=0;f<y.length;f++)b.push(y[f]);y.length=0;e.bootstrapScripts.forEach(L,b);e.scripts.forEach(L,b);e.scripts.clear();e.bulkPreloads.forEach(L, +b);e.bulkPreloads.clear();var P=e.preloadChunks;for(f=0;f<P.length;f++)b.push(P[f]);P.length=0;var t=e.hoistableChunks;for(f=0;f<t.length;f++)b.push(t[f]);t.length=0;l&&null===p&&(b.push("</"),b.push("head"),b.push(">"));Le(a,b,d);a.completedRootSegment=null;Nb(b,a.renderState)}else return;var n=a.renderState;d=0;n.preconnects.forEach(L,b);n.preconnects.clear();var x=n.preconnectChunks;for(d=0;d<x.length;d++)b.push(x[d]);x.length=0;n.fontPreloads.forEach(L,b);n.fontPreloads.clear();n.highImagePreloads.forEach(L, +b);n.highImagePreloads.clear();n.styles.forEach(kc,b);n.scripts.forEach(L,b);n.scripts.clear();n.bulkPreloads.forEach(L,b);n.bulkPreloads.clear();var T=n.preloadChunks;for(d=0;d<T.length;d++)b.push(T[d]);T.length=0;var B=n.hoistableChunks;for(d=0;d<B.length;d++)b.push(B[d]);B.length=0;var G=a.clientRenderedBoundaries;for(c=0;c<G.length;c++){var H=G[c];n=b;var z=a.resumableState,X=a.renderState,Aa=H.rootSegmentID,Q=H.errorDigest,Y=H.errorMessage,I=H.errorComponentStack,U=0===z.streamingFormat;U?(n.push(X.startInlineScript), +0===(z.instructions&4)?(z.instructions|=4,n.push('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("')):n.push('$RX("')):n.push('<template data-rxi="" data-bid="');n.push(X.boundaryPrefix);var O=Aa.toString(16);n.push(O);U&&n.push('"');if(Q||Y||I)if(U){n.push(",");var La=Zb(Q||"");n.push(La)}else{n.push('" data-dgst="');var Ma=v(Q||"");n.push(Ma)}if(Y||I)if(U){n.push(","); +var Na=Zb(Y||"");n.push(Na)}else{n.push('" data-msg="');var la=v(Y||"");n.push(la)}if(I)if(U){n.push(",");var R=Zb(I);n.push(R)}else{n.push('" data-stck="');var nb=v(I);n.push(nb)}if(U?!n.push(")\x3c/script>"):!n.push('"></template>')){a.destination=null;c++;G.splice(0,c);return}}G.splice(0,c);var Z=a.completedBoundaries;for(c=0;c<Z.length;c++)if(!Ne(a,b,Z[c])){a.destination=null;c++;Z.splice(0,c);return}Z.splice(0,c);var ma=a.partialBoundaries;for(c=0;c<ma.length;c++){var na=ma[c];a:{G=a;H=b;G.renderState.boundaryResources= +na.resources;var oa=na.completedSegments;for(z=0;z<oa.length;z++)if(!Oe(G,H,na,oa[z])){z++;oa.splice(0,z);var Oa=!1;break a}oa.splice(0,z);Oa=fc(H,na.resources,G.renderState)}if(!Oa){a.destination=null;c++;ma.splice(0,c);return}}ma.splice(0,c);var pa=a.completedBoundaries;for(c=0;c<pa.length;c++)if(!Ne(a,b,pa[c])){a.destination=null;c++;pa.splice(0,c);return}pa.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length&& +(a.flushScheduled=!1,c=a.resumableState,c.hasBody&&(b.push("</"),b.push("body"),b.push(">")),c.hasHtml&&(b.push("</"),b.push("html"),b.push(">")),b.push(null),a.destination=null)}}function nc(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){a.flushScheduled=!0;var b=a.destination;b?Je(a,b):a.flushScheduled=!1}} +function Pe(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Je(a,b)}catch(c){V(a,c),we(a,c)}}}function Qe(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return Ie(e,a,d)});c.clear()}null!==a.destination&&Je(a,a.destination)}catch(e){V(a,e),we(a,e)}}function Re(){} +function Se(a,b,c,d){var e=!1,f=null,g="",h=!1;b=jb(b?b.identifierPrefix:void 0,void 0);a=pe(a,b,qc(b,c),kb(),Infinity,Re,void 0,function(){h=!0},void 0,void 0,void 0);a.flushScheduled=null!==a.destination;te(a);Qe(a,d);Pe(a,{push:function(k){null!==k&&(g+=k);return!0},destroy:function(k){e=!0;f=k}});if(e&&f!==d)throw f;if(!h)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition."); +return g}function Te(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}var Ue=function(a){function b(){var d=a.call(this,{})||this;d.request=null;d.startedFlowing=!1;return d}Te(b,a);var c=b.prototype;c._destroy=function(d,e){Qe(this.request);e(d)};c._read=function(){this.startedFlowing&&Pe(this.request,this)};return b}(da.Readable);function Ve(){} +function We(a,b){var c=new Ue;b=jb(b?b.identifierPrefix:void 0,void 0);var d=pe(a,b,qc(b,!1),kb(),Infinity,Ve,function(){c.startedFlowing=!0;Pe(d,c)},void 0,void 0,void 0);c.request=d;d.flushScheduled=null!==d.destination;te(d);return c}exports.renderToNodeStream=function(a,b){return We(a,b)};exports.renderToStaticMarkup=function(a,b){return Se(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')}; +exports.renderToStaticNodeStream=function(a,b){return We(a,b)};exports.renderToString=function(a,b){return Se(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')}; +exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-rendering-stub.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-rendering-stub.development.js index 782cfb49d89e4..199494b402566 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-rendering-stub.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-rendering-stub.development.js @@ -16,16 +16,6 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react"); -var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; - -var Internals = { - usingClientEntryPoint: false, - Events: null, - Dispatcher: { - current: null - } -}; - var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function error(format) { @@ -65,6 +55,16 @@ function printWarning(level, format, args) { } } +var ReactVersion = '18.3.0-canary-d803f519e-20231020'; + +var Internals = { + usingClientEntryPoint: false, + Events: null, + Dispatcher: { + current: null + } +}; + function getCrossOriginString(input) { if (typeof input === 'string') { return input === 'use-credentials' ? input : ''; @@ -310,14 +310,37 @@ function getValueDescriptorExpectingEnumForWarning(thing) { return thing === null ? '`null`' : thing === undefined ? '`undefined`' : thing === '' ? 'an empty string' : typeof thing === 'string' ? JSON.stringify(thing) : typeof thing === 'number' ? '`' + thing + '`' : "something with type \"" + typeof thing + "\""; } +var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; // Since the "not pending" value is always the same, we can reuse the + +function resolveDispatcher() { + // Copied from react/src/ReactHooks.js. It's the same thing but in a + // different package. + var dispatcher = ReactCurrentDispatcher.current; + + { + if (dispatcher === null) { + error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.'); + } + } // Will result in a null access error if accessed outside render phase. We + // intentionally don't throw our own error because this is in a hot path. + // Also helps ensure this is inlined. + + + return dispatcher; +} + function useFormStatus() { { - throw new Error('Not implemented.'); + var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] We know this exists because of the feature check above. + + return dispatcher.useHostTransitionStatus(); } } function useFormState(action, initialState, permalink) { { - throw new Error('Not implemented.'); + var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional + + return dispatcher.useFormState(action, initialState, permalink); } } @@ -335,10 +358,25 @@ function batchedUpdates(fn, a) { return fn(a); } +function experimental_useFormStatus() { + { + error('useFormStatus is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useFormStatus(); +} +function experimental_useFormState(action, initialState, permalink) { + { + error('useFormState is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useFormState(action, initialState, permalink); +} + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.createPortal = createPortal; -exports.experimental_useFormState = useFormState; -exports.experimental_useFormStatus = useFormStatus; +exports.experimental_useFormState = experimental_useFormState; +exports.experimental_useFormStatus = experimental_useFormStatus; exports.flushSync = flushSync; exports.preconnect = preconnect; exports.prefetchDNS = prefetchDNS; @@ -347,6 +385,8 @@ exports.preinitModule = preinitModule; exports.preload = preload; exports.preloadModule = preloadModule; exports.unstable_batchedUpdates = batchedUpdates; +exports.useFormState = useFormState; +exports.useFormStatus = useFormStatus; exports.version = ReactVersion; })(); } diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-rendering-stub.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-rendering-stub.production.min.js index 227d173abc812..e6bdfd903cc3a 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-rendering-stub.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-rendering-stub.production.min.js @@ -7,10 +7,11 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var e={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function f(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function g(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""} -var k=e.Dispatcher;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e;exports.createPortal=function(){throw Error(f(448));};exports.experimental_useFormState=function(){throw Error(f(248));};exports.experimental_useFormStatus=function(){throw Error(f(248));};exports.flushSync=function(){throw Error(f(449));};exports.preconnect=function(b,a){var c=k.current;c&&"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=null,c.preconnect(b,a))}; -exports.prefetchDNS=function(b){var a=k.current;a&&"string"===typeof b&&a.prefetchDNS(b)}; -exports.preinit=function(b,a){var c=k.current;if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var d=a.as,h=g(d,a.crossOrigin),l="string"===typeof a.integrity?a.integrity:void 0,m="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===d?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:h,integrity:l,fetchPriority:m}):"script"===d&&c.preinitScript(b,{crossOrigin:h,integrity:l,fetchPriority:m,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}; -exports.preinitModule=function(b,a){var c=k.current;if(c&&"string"===typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var d=g(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null==a&&c.preinitModuleScript(b)}; -exports.preload=function(b,a){var c=k.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var d=a.as,h=g(d,a.crossOrigin);c.preload(b,d,{crossOrigin:h,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0,type:"string"===typeof a.type?a.type:void 0,fetchPriority:"string"===typeof a.fetchPriority?a.fetchPriority:void 0,referrerPolicy:"string"===typeof a.referrerPolicy?a.referrerPolicy:void 0,imageSrcSet:"string"=== -typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=k.current;if(c&&"string"===typeof b)if(a){var d=g(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.version="18.3.0-canary-d900fadbf-20230929"; +'use strict';var e=require("next/dist/compiled/react"),f={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function h(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} +function k(b,a){if("font"===b)return"";if("string"===typeof a)return"use-credentials"===a?a:""}var l=f.Dispatcher,m=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function n(){return m.current.useHostTransitionStatus()}function r(b,a,c){return m.current.useFormState(b,a,c)}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=f;exports.createPortal=function(){throw Error(h(448));};exports.experimental_useFormState=function(b,a,c){return r(b,a,c)}; +exports.experimental_useFormStatus=function(){return n()};exports.flushSync=function(){throw Error(h(449));};exports.preconnect=function(b,a){var c=l.current;c&&"string"===typeof b&&(a?(a=a.crossOrigin,a="string"===typeof a?"use-credentials"===a?a:"":void 0):a=null,c.preconnect(b,a))};exports.prefetchDNS=function(b){var a=l.current;a&&"string"===typeof b&&a.prefetchDNS(b)}; +exports.preinit=function(b,a){var c=l.current;if(c&&"string"===typeof b&&a&&"string"===typeof a.as){var d=a.as,g=k(d,a.crossOrigin),p="string"===typeof a.integrity?a.integrity:void 0,q="string"===typeof a.fetchPriority?a.fetchPriority:void 0;"style"===d?c.preinitStyle(b,"string"===typeof a.precedence?a.precedence:void 0,{crossOrigin:g,integrity:p,fetchPriority:q}):"script"===d&&c.preinitScript(b,{crossOrigin:g,integrity:p,fetchPriority:q,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}; +exports.preinitModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if("object"===typeof a&&null!==a){if(null==a.as||"script"===a.as){var d=k(a.as,a.crossOrigin);c.preinitModuleScript(b,{crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0})}}else null==a&&c.preinitModuleScript(b)}; +exports.preload=function(b,a){var c=l.current;if(c&&"string"===typeof b&&"object"===typeof a&&null!==a&&"string"===typeof a.as){var d=a.as,g=k(d,a.crossOrigin);c.preload(b,d,{crossOrigin:g,integrity:"string"===typeof a.integrity?a.integrity:void 0,nonce:"string"===typeof a.nonce?a.nonce:void 0,type:"string"===typeof a.type?a.type:void 0,fetchPriority:"string"===typeof a.fetchPriority?a.fetchPriority:void 0,referrerPolicy:"string"===typeof a.referrerPolicy?a.referrerPolicy:void 0,imageSrcSet:"string"=== +typeof a.imageSrcSet?a.imageSrcSet:void 0,imageSizes:"string"===typeof a.imageSizes?a.imageSizes:void 0})}};exports.preloadModule=function(b,a){var c=l.current;if(c&&"string"===typeof b)if(a){var d=k(a.as,a.crossOrigin);c.preloadModule(b,{as:"string"===typeof a.as&&"script"!==a.as?a.as:void 0,crossOrigin:d,integrity:"string"===typeof a.integrity?a.integrity:void 0})}else c.preloadModule(b)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.useFormState=r;exports.useFormStatus=n; +exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js index ceae177a77e9c..bf384471f6211 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react"); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; +var ReactVersion = '18.3.0-canary-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -74,6 +74,98 @@ function printWarning(level, format, args) { } } +// A pure JS implementation of a string hashing function. We do not use it for +// security or obfuscation purposes, only to create compact hashes. So we +// prioritize speed over collision avoidance. For example, we use this to hash +// the component key path used by useFormState for MPA-style submissions. +// +// In environments where built-in hashing functions are available, we prefer +// those instead. Like Node's crypto module, or Bun.hash. Unfortunately this +// does not include the web standard crypto API because those methods are all +// async. For our purposes, we need it to be sync because the cost of context +// switching is too high to be worth it. +// +// The most popular hashing algorithm that meets these requirements in the JS +// ecosystem is MurmurHash3, and almost all implementations I could find used +// some version of the implementation by Gary Court inlined below. +function createFastHashJS(key) { + return murmurhash3_32_gc(key, 0); +} +/* eslint-disable prefer-const, no-fallthrough */ + +/** + * @license + * + * JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) + * + * Copyright (c) 2011 Gary Court + * 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. + */ + +function murmurhash3_32_gc(key, seed) { + var remainder, bytes, h1, h1b, c1, c2, k1, i; + remainder = key.length & 3; // key.length % 4 + + bytes = key.length - remainder; + h1 = seed; + c1 = 0xcc9e2d51; + c2 = 0x1b873593; + i = 0; + + while (i < bytes) { + k1 = key.charCodeAt(i) & 0xff | (key.charCodeAt(++i) & 0xff) << 8 | (key.charCodeAt(++i) & 0xff) << 16 | (key.charCodeAt(++i) & 0xff) << 24; + ++i; + k1 = (k1 & 0xffff) * c1 + (((k1 >>> 16) * c1 & 0xffff) << 16) & 0xffffffff; + k1 = k1 << 15 | k1 >>> 17; + k1 = (k1 & 0xffff) * c2 + (((k1 >>> 16) * c2 & 0xffff) << 16) & 0xffffffff; + h1 ^= k1; + h1 = h1 << 13 | h1 >>> 19; + h1b = (h1 & 0xffff) * 5 + (((h1 >>> 16) * 5 & 0xffff) << 16) & 0xffffffff; + h1 = (h1b & 0xffff) + 0x6b64 + (((h1b >>> 16) + 0xe654 & 0xffff) << 16); + } + + k1 = 0; + + switch (remainder) { + case 3: + k1 ^= (key.charCodeAt(i + 2) & 0xff) << 16; + + case 2: + k1 ^= (key.charCodeAt(i + 1) & 0xff) << 8; + + case 1: + k1 ^= key.charCodeAt(i) & 0xff; + k1 = (k1 & 0xffff) * c1 + (((k1 >>> 16) * c1 & 0xffff) << 16) & 0xffffffff; + k1 = k1 << 15 | k1 >>> 17; + k1 = (k1 & 0xffff) * c2 + (((k1 >>> 16) * c2 & 0xffff) << 16) & 0xffffffff; + h1 ^= k1; + } + + h1 ^= key.length; + h1 ^= h1 >>> 16; + h1 = (h1 & 0xffff) * 0x85ebca6b + (((h1 >>> 16) * 0x85ebca6b & 0xffff) << 16) & 0xffffffff; + h1 ^= h1 >>> 13; + h1 = (h1 & 0xffff) * 0xc2b2ae35 + (((h1 >>> 16) * 0xc2b2ae35 & 0xffff) << 16) & 0xffffffff; + h1 ^= h1 >>> 16; + return h1 >>> 0; +} + function scheduleWork(callback) { callback(); } @@ -246,7 +338,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -255,7 +347,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -264,7 +356,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1048,6 +1140,23 @@ function validateProperty(tagName, name, value, eventRegistry) { return true; } + { + // Actions are special because unlike events they can have other value types. + if (typeof value === 'function') { + if (tagName === 'form' && name === 'action') { + return true; + } + + if (tagName === 'input' && name === 'formAction') { + return true; + } + + if (tagName === 'button' && name === 'formAction') { + return true; + } + } + } // We can't rely on the event system being injected on the server. + if (eventRegistry != null) { var registrationNameDependencies = eventRegistry.registrationNameDependencies, @@ -1568,6 +1677,16 @@ function getValueDescriptorExpectingObjectForWarning(thing) { return thing === null ? '`null`' : thing === undefined ? '`undefined`' : thing === '' ? 'an empty string' : "something with type \"" + typeof thing + "\""; } +// same object across all transitions. + +var sharedNotPendingObject = { + pending: false, + data: null, + method: null, + action: null +}; +var NotPending = Object.freeze(sharedNotPendingObject) ; + var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher; @@ -1600,6 +1719,9 @@ var SentClientRenderFunction var SentStyleInsertionFunction /* */ = 8; +var SentFormReplayingRuntime +/* */ += 16; // Per request, global state that is not contextual to the rendering subtree. // This cannot be resumed and therefore should only contain things that are // temporary working state or are never used in the prerender pass. // Credentials here are things that affect whether a browser will make a request @@ -2107,10 +2229,15 @@ function pushStringAttribute(target, name, value) // not null or undefined target.push(attributeSeparator, stringToChunk(name), attributeAssign, stringToChunk(escapeTextForBrowser(value)), attributeEnd); } } + +function makeFormFieldPrefix(resumableState) { + var id = resumableState.nextFormID++; + return resumableState.idPrefix + id; +} // Since this will likely be repeated a lot in the HTML, we use a more concise message // than on the client and hopefully it's googleable. -stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url +var actionJavaScriptURL = stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url "javascript:throw new Error('A React form was unexpectedly submitted.')")); var startHiddenInputChunk = stringToPrecomputedChunk('<input type="hidden"'); @@ -2137,6 +2264,57 @@ function pushAdditionalFormFields(target, formData) { function pushFormActionAttribute(target, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name) { var formData = null; + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if (name !== null && !didWarnFormActionName) { + didWarnFormActionName = true; + + error('Cannot specify a "name" prop for a button that specifies a function as a formAction. ' + 'React needs it to encode which action should be invoked. It will get overridden.'); + } + + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a formEncType or formMethod for a button that specifies a ' + 'function as a formAction. React provides those automatically. They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a formTarget for a button that specifies a function as a formAction. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + name = customFields.name; + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('formAction'), attributeAssign, actionJavaScriptURL, attributeEnd); + name = null; + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (name != null) { pushAttribute(target, 'name', name); } @@ -2441,6 +2619,9 @@ var didWarnInvalidOptionChildren = false; var didWarnInvalidOptionInnerHTML = false; var didWarnSelectedSetOnOption = false; var didWarnFormActionType = false; +var didWarnFormActionName = false; +var didWarnFormActionTarget = false; +var didWarnFormActionMethod = false; function checkSelectProp(props, propName) { { @@ -2641,7 +2822,17 @@ function pushStartOption(target, props, formatContext) { return children; } -stringToPrecomputedChunk(formReplaying); +var formReplayingRuntimeScript = stringToPrecomputedChunk(formReplaying); + +function injectFormReplayingRuntime(resumableState, renderState) { + // If we haven't sent it yet, inject the runtime that tracks submitted JS actions + // for later replaying by Fiber. If we use an external runtime, we don't need + // to emit anything. It's always used. + if ((resumableState.instructions & SentFormReplayingRuntime) === NothingSent && (!renderState.externalRuntimeScript)) { + resumableState.instructions |= SentFormReplayingRuntime; + renderState.bootstrapChunks.unshift(renderState.startInlineScript, formReplayingRuntimeScript, endInlineScript); + } +} var formStateMarkerIsMatching = stringToPrecomputedChunk('<!--F!-->'); var formStateMarkerIsNotMatching = stringToPrecomputedChunk('<!--F-->'); @@ -2701,6 +2892,53 @@ function pushStartForm(target, props, resumableState, renderState) { } } + var formData = null; + var formActionName = null; + + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a encType or method for a form that specifies a ' + 'function as the action. React provides those automatically. ' + 'They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a target for a form that specifies a function as the action. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + formActionName = customFields.name; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('action'), attributeAssign, actionJavaScriptURL, attributeEnd); + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (formAction != null) { pushAttribute(target, 'action', formAction); } @@ -2719,6 +2957,13 @@ function pushStartForm(target, props, resumableState, renderState) { target.push(endOfStartTag); + if (formActionName !== null) { + target.push(startHiddenInputChunk); + pushStringAttribute(target, 'name', formActionName); + target.push(endOfStartTagSelfClosing); + pushAdditionalFormFields(target, formData); + } + pushInnerHTML(target, innerHTML, children); if (typeof children === 'string') { @@ -3775,6 +4020,8 @@ function pushStartCustomElement(target, props, tag) { continue; } + var attributeName = propKey; + switch (propKey) { case 'children': children = propValue; @@ -3793,9 +4040,14 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -3952,7 +4204,7 @@ function pushStartInstance(target, type, props, resumableState, renderState, for return pushStartButton(target, props, resumableState, renderState); case 'form': - return pushStartForm(target, props); + return pushStartForm(target, props, resumableState, renderState); case 'menuitem': return pushStartMenuItem(target, props); @@ -5892,6 +6144,7 @@ function hoistResources(renderState, source) { source.stylesheets.forEach(hoistStylesheetDependency, currentBoundaryResources); } } +var NotPendingTransition = NotPending; // ATTENTION // When adding new symbols to this file, @@ -6030,12 +6283,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -7472,6 +7719,8 @@ typeof Object.is === 'function' ? Object.is : is; var currentlyRenderingComponent = null; var currentlyRenderingTask = null; +var currentlyRenderingRequest = null; +var currentlyRenderingKeyPath = null; var firstWorkInProgressHook = null; var workInProgressHook = null; // Whether the work-in-progress hook is a re-rendered hook @@ -7584,6 +7833,8 @@ function createWorkInProgressHook() { function prepareToUseHooks(request, task, keyPath, componentIdentity, prevThenableState) { currentlyRenderingComponent = componentIdentity; currentlyRenderingTask = task; + currentlyRenderingRequest = request; + currentlyRenderingKeyPath = keyPath; { isInHookUserCodeInDev = false; @@ -7655,6 +7906,8 @@ function resetHooksState() { currentlyRenderingComponent = null; currentlyRenderingTask = null; + currentlyRenderingRequest = null; + currentlyRenderingKeyPath = null; didScheduleRenderPhaseUpdate = false; firstWorkInProgressHook = null; numberOfReRenders = 0; @@ -7889,9 +8142,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return value; + } } function unsupportedStartTransition() { @@ -7903,6 +8159,133 @@ function useTransition() { return [false, unsupportedStartTransition]; } +function useHostTransitionStatus() { + resolveCurrentlyRenderingComponent(); + return NotPendingTransition; +} + +function unsupportedSetOptimisticState() { + throw new Error('Cannot update optimistic state while rendering.'); +} + +function useOptimistic(passthrough, reducer) { + resolveCurrentlyRenderingComponent(); + return [passthrough, unsupportedSetOptimisticState]; +} + +function createPostbackFormStateKey(permalink, componentKeyPath, hookIndex) { + if (permalink !== undefined) { + // Don't bother to hash a permalink-based key since it's already short. + return 'p' + permalink; + } else { + // Append a node to the key path that represents the form state hook. + var keyPath = [componentKeyPath, null, hookIndex]; // Key paths are hashed to reduce the size. It does not need to be secure, + // and it's more important that it's fast than that it's completely + // collision-free. + + var keyPathHash = createFastHashJS(JSON.stringify(keyPath)); + return 'k' + keyPathHash; + } +} + +function useFormState(action, initialState, permalink) { + resolveCurrentlyRenderingComponent(); // Count the number of useFormState hooks per component. We also use this to + // track the position of this useFormState hook relative to the other ones in + // this component, so we can generate a unique key for each one. + + var formStateHookIndex = formStateCounter++; + var request = currentlyRenderingRequest; // $FlowIgnore[prop-missing] + + var formAction = action.$$FORM_ACTION; + + if (typeof formAction === 'function') { + // This is a server action. These have additional features to enable + // MPA-style form submissions with progressive enhancement. + // TODO: If the same permalink is passed to multiple useFormStates, and + // they all have the same action signature, Fizz will pass the postback + // state to all of them. We should probably only pass it to the first one, + // and/or warn. + // The key is lazily generated and deduped so the that the keypath doesn't + // get JSON.stringify-ed unnecessarily, and at most once. + var nextPostbackStateKey = null; // Determine the current form state. If we received state during an MPA form + // submission, then we will reuse that, if the action identity matches. + // Otherwise we'll use the initial state argument. We will emit a comment + // marker into the stream that indicates whether the state was reused. + + var state = initialState; + var componentKeyPath = currentlyRenderingKeyPath; + var postbackFormState = getFormState(request); // $FlowIgnore[prop-missing] + + var isSignatureEqual = action.$$IS_SIGNATURE_EQUAL; + + if (postbackFormState !== null && typeof isSignatureEqual === 'function') { + var postbackKey = postbackFormState[1]; + var postbackReferenceId = postbackFormState[2]; + var postbackBoundArity = postbackFormState[3]; + + if (isSignatureEqual.call(action, postbackReferenceId, postbackBoundArity)) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + + if (postbackKey === nextPostbackStateKey) { + // This was a match + formStateMatchingIndex = formStateHookIndex; // Reuse the state that was submitted by the form. + + state = postbackFormState[0]; + } + } + } // Bind the state to the first argument of the action. + + + var boundAction = action.bind(null, state); // Wrap the action so the return value is void. + + var dispatch = function (payload) { + boundAction(payload); + }; // $FlowIgnore[prop-missing] + + + if (typeof boundAction.$$FORM_ACTION === 'function') { + // $FlowIgnore[prop-missing] + dispatch.$$FORM_ACTION = function (prefix) { + var metadata = boundAction.$$FORM_ACTION(prefix); // Override the action URL + + if (permalink !== undefined) { + { + checkAttributeStringCoercion(permalink, 'target'); + } + + permalink += ''; + metadata.action = permalink; + } + + var formData = metadata.data; + + if (formData) { + if (nextPostbackStateKey === null) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + } + + formData.append('$ACTION_KEY', nextPostbackStateKey); + } + + return metadata; + }; + } + + return [state, dispatch]; + } else { + // This is not a server action, so the implementation is much simpler. + // Bind the state to the first argument of the action. + var _boundAction = action.bind(null, initialState); // Wrap the action so the return value is void. + + + var _dispatch2 = function (payload) { + _boundAction(payload); + }; + + return [initialState, _dispatch2]; + } +} + function useId() { var task = currentlyRenderingTask; var treeId = getTreeId(task.treeContext); @@ -7982,6 +8365,15 @@ var HooksDispatcher = { HooksDispatcher.useCacheRefresh = useCacheRefresh; } +{ + HooksDispatcher.useHostTransitionStatus = useHostTransitionStatus; +} + +{ + HooksDispatcher.useOptimistic = useOptimistic; + HooksDispatcher.useFormState = useFormState; +} + var currentResumableState = null; function setCurrentResumableState(resumableState) { currentResumableState = resumableState; @@ -8511,11 +8903,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -8561,24 +8949,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -8586,8 +8965,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9128,37 +9506,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9169,17 +9516,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9187,37 +9535,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9281,8 +9632,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9460,24 +9818,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -9512,7 +9872,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -9736,6 +10096,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -9757,6 +10118,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -9870,8 +10233,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -9880,6 +10241,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -9890,6 +10252,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -9931,12 +10301,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10184,6 +10555,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -10616,7 +10995,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } else { completeWriting(destination); } @@ -10638,10 +11020,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -10698,6 +11087,9 @@ function abort(request, reason) { function flushResources(request) { enqueueFlush(request); } +function getFormState(request) { + return request.formState; +} function getResumableState(request) { return request.resumableState; } @@ -10722,7 +11114,7 @@ function renderToReadableStream(children, options) { }, cancel: function (reason) { stopFlowing(request); - abort(request); + abort(request, reason); } }, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams. { @@ -10742,7 +11134,7 @@ function renderToReadableStream(children, options) { } var resumableState = createResumableState(options ? options.identifierPrefix : undefined, options ? options.unstable_externalRuntimeSrc : undefined); - var request = createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, onAllReady, onShellReady, onShellError, onFatalError, options ? options.onPostpone : undefined, options ? options.experimental_formState : undefined); + var request = createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, onAllReady, onShellReady, onShellError, onFatalError, options ? options.onPostpone : undefined, options ? options.formState : undefined); if (options && options.signal) { var signal = options.signal; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js index 5da0948ab07e8..71f135f38af1f 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.min.js @@ -7,159 +7,187 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var ca=require("next/dist/compiled/react"),da=require("react-dom");function k(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m=null,p=0; -function v(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<p&&(a.enqueue(new Uint8Array(m.buffer,0,p)),m=new Uint8Array(512),p=0),a.enqueue(b);else{var c=m.length-p;c<b.byteLength&&(0===c?a.enqueue(m):(m.set(b.subarray(0,c),p),a.enqueue(m),b=b.subarray(c)),m=new Uint8Array(512),p=0);m.set(b,p);p+=b.byteLength}}function w(a,b){v(a,b);return!0}function ea(a){m&&0<p&&(a.enqueue(new Uint8Array(m.buffer,0,p)),m=null,p=0)}var ja=new TextEncoder;function y(a){return ja.encode(a)} -function z(a){return ja.encode(a)}function ka(a,b){"function"===typeof a.error?a.error(b):a.close()} -var A=Object.assign,B=Object.prototype.hasOwnProperty,la=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),pa={},ua={}; -function va(a){if(B.call(ua,a))return!0;if(B.call(pa,a))return!1;if(la.test(a))return ua[a]=!0;pa[a]=!0;return!1} -var wa=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),xa= +/* + + + JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) + + Copyright (c) 2011 Gary Court + 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. +*/ +'use strict';var aa=require("next/dist/compiled/react"),ea=require("react-dom");function k(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} +function fa(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< +16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0}var m=null,p=0; +function v(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<p&&(a.enqueue(new Uint8Array(m.buffer,0,p)),m=new Uint8Array(512),p=0),a.enqueue(b);else{var c=m.length-p;c<b.byteLength&&(0===c?a.enqueue(m):(m.set(b.subarray(0,c),p),a.enqueue(m),b=b.subarray(c)),m=new Uint8Array(512),p=0);m.set(b,p);p+=b.byteLength}}function w(a,b){v(a,b);return!0}function ja(a){m&&0<p&&(a.enqueue(new Uint8Array(m.buffer,0,p)),m=null,p=0)}var ka=new TextEncoder;function x(a){return ka.encode(a)} +function y(a){return ka.encode(a)}function pa(a,b){"function"===typeof a.error?a.error(b):a.close()} +var z=Object.assign,B=Object.prototype.hasOwnProperty,qa=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),wa={},xa={}; +function ya(a){if(B.call(xa,a))return!0;if(B.call(wa,a))return!1;if(qa.test(a))return xa[a]=!0;wa[a]=!0;return!1} +var za=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Aa= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ya=/["'&<>]/; -function F(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ya.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var Ea=/([A-Z])/g,Fa=/^ms-/,Ga=Array.isArray,Ha=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ia=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Ua={prefetchDNS:Ja,preconnect:Ka,preload:Pa,preloadModule:Qa,preinitStyle:Ra,preinitScript:Sa,preinitModuleScript:Ta},Va=[],Wa=z('"></template>'),Xa=z("<script>"),ib=z("\x3c/script>"),jb=z('<script src="'),kb=z('<script type="module" src="'),lb=z('" nonce="'),mb=z('" integrity="'),nb=z('" crossorigin="'),ob=z('" async="">\x3c/script>'), -pb=/(<\/|<)(s)(cript)/gi;function qb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var rb=z('<script type="importmap">'),sb=z("\x3c/script>"); -function tb(a,b,c,d,e,f,g){var h=void 0===b?Xa:z('<script nonce="'+F(b)+'">'),l=a.idPrefix,n=[],r=null;void 0!==c&&n.push(h,y((""+c).replace(pb,qb)),ib);void 0!==f&&("string"===typeof f?(r={src:f,chunks:[]},Cb(r.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(r={src:f.src,chunks:[]},Cb(r.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(rb),c.push(y((""+JSON.stringify(g)).replace(pb,qb))),c.push(sb));g={placeholderPrefix:z(l+"P:"),segmentPrefix:z(l+"S:"),boundaryPrefix:z(l+ -"B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:r,bootstrapChunks:n,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var u= -d[h];c=r=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof u?f.href=l=u:(f.href=l=u.src,f.integrity=c="string"===typeof u.integrity?u.integrity:void 0,f.crossOrigin=r="string"===typeof u||null==u.crossOrigin?void 0:"use-credentials"===u.crossOrigin?"use-credentials":"");u=a;var q=l;u.scriptResources[q]=null;u.moduleScriptResources[q]=null;u=[];I(u,f);g.bootstrapScripts.add(u);n.push(jb,y(F(l)));b&&n.push(lb,y(F(b)));"string"===typeof c&&n.push(mb,y(F(c)));"string"=== -typeof r&&n.push(nb,y(F(r)));n.push(ob)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],r=l=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=r="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=l="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,u=h,f.scriptResources[u]=null,f.moduleScriptResources[u]=null,f=[],I(f,c),g.bootstrapScripts.add(f),n.push(kb,y(F(h))),b&& -n.push(lb,y(F(b))),"string"===typeof r&&n.push(mb,y(F(r))),"string"===typeof l&&n.push(nb,y(F(l))),n.push(ob);return g}function Db(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} -function J(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Eb(a){return J("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} -function Fb(a,b,c){switch(b){case "noscript":return J(2,null,a.tagScope|1);case "select":return J(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return J(3,null,a.tagScope);case "picture":return J(2,null,a.tagScope|2);case "math":return J(4,null,a.tagScope);case "foreignObject":return J(2,null,a.tagScope);case "table":return J(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return J(6,null,a.tagScope);case "colgroup":return J(8,null,a.tagScope);case "tr":return J(7,null,a.tagScope)}return 5<= -a.insertionMode?J(2,null,a.tagScope):0===a.insertionMode?"html"===b?J(1,null,a.tagScope):J(2,null,a.tagScope):1===a.insertionMode?J(2,null,a.tagScope):a}var Gb=z("\x3c!-- --\x3e");function Hb(a,b,c,d){if(""===b)return d;d&&a.push(Gb);a.push(y(F(b)));return!0}var Ib=new Map,Jb=z(' style="'),Kb=z(":"),Lb=z(";"); -function Mb(a,b){if("object"!==typeof b)throw Error(k(62));var c=!0,d;for(d in b)if(B.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=y(F(d));e=y(F((""+e).trim()))}else f=Ib.get(d),void 0===f&&(f=z(F(d.replace(Ea,"-$1").toLowerCase().replace(Fa,"-ms-"))),Ib.set(d,f)),e="number"===typeof e?0===e||wa.has(d)?y(""+e):y(e+"px"):y(F((""+e).trim()));c?(c=!1,a.push(Jb,f,Kb,e)):a.push(Lb,f,Kb,e)}}c||a.push(Nb)}var O=z(" "),Ob=z('="'),Nb=z('"'),Pb=z('=""'); -function Qb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,y(b),Pb)}function P(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(O,y(b),Ob,y(F(c)),Nb)}z(F("javascript:throw new Error('A React form was unexpectedly submitted.')"));var Rb=z('<input type="hidden"');function Sb(a,b){this.push(Rb);if("string"!==typeof a)throw Error(k(480));P(this,"name",b);P(this,"value",a);this.push(Tb)} -function Ub(a,b,c,d,e,f,g,h){null!=h&&R(a,"name",h);null!=d&&R(a,"formAction",d);null!=e&&R(a,"formEncType",e);null!=f&&R(a,"formMethod",f);null!=g&&R(a,"formTarget",g);return null} -function R(a,b,c){switch(b){case "className":P(a,"class",c);break;case "tabIndex":P(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":P(a,b,c);break;case "style":Mb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(O,y(b),Ob,y(F(c)),Nb);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":Qb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(O,y("xlink:href"),Ob,y(F(c)),Nb);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,y(b),Ob,y(F(c)),Nb);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,y(b),Pb);break;case "capture":case "download":!0===c?a.push(O,y(b),Pb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,y(b),Ob,y(F(c)),Nb);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(O,y(b),Ob,y(F(c)),Nb);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(O,y(b),Ob,y(F(c)),Nb);break;case "xlinkActuate":P(a,"xlink:actuate", -c);break;case "xlinkArcrole":P(a,"xlink:arcrole",c);break;case "xlinkRole":P(a,"xlink:role",c);break;case "xlinkShow":P(a,"xlink:show",c);break;case "xlinkTitle":P(a,"xlink:title",c);break;case "xlinkType":P(a,"xlink:type",c);break;case "xmlBase":P(a,"xml:base",c);break;case "xmlLang":P(a,"xml:lang",c);break;case "xmlSpace":P(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=xa.get(b)||b,va(b)){switch(typeof c){case "function":case "symbol":return; -case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(O,y(b),Ob,y(F(c)),Nb)}}}var S=z(">"),Tb=z("/>");function Vb(a,b,c){if(null!=b){if(null!=c)throw Error(k(60));if("object"!==typeof b||!("__html"in b))throw Error(k(61));b=b.__html;null!==b&&void 0!==b&&a.push(y(""+b))}}function Wb(a){var b="";ca.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var Xb=z(' selected=""');z('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); -var Yb=z("\x3c!--F!--\x3e"),Zb=z("\x3c!--F--\x3e"); -function $b(a,b,c,d,e,f,g){var h=b.rel,l=b.href,n=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof l||""===l)return I(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof n||null!=b.disabled||b.onLoad||b.onError)return I(a,b);f=d.styles.get(n);g=c.styleResources.hasOwnProperty(l)?c.styleResources[l]:void 0;null!==g?(c.styleResources[l]=null,f||(f={precedence:y(F(n)),rules:[],hrefs:[],sheets:new Map},d.styles.set(n,f)),b={state:0,props:A({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&ac(b.props,g),(c=d.preloads.stylesheets.get(l))&&0<c.length?c.length=0:b.state=1),f.sheets.set(l,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(l=f.sheets.get(l))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(l);e&&a.push(Gb);return null}if(b.onLoad||b.onError)return I(a,b);e&&a.push(Gb);switch(b.rel){case "preconnect":case "dns-prefetch":return I(d.preconnectChunks,b);case "preload":return I(d.preloadChunks,b);default:return I(d.hoistableChunks, -b)}}function I(a,b){a.push(T("link"));for(var c in b)if(B.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error(k(399,"link"));default:R(a,c,d)}}a.push(Tb);return null}function kc(a,b,c){a.push(T(c));for(var d in b)if(B.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(k(399,c));default:R(a,d,e)}}a.push(Tb);return null} -function lc(a,b){a.push(T("title"));var c=null,d=null,e;for(e in b)if(B.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(y(F(""+b)));Vb(a,d,c);a.push(mc,y("title"),nc);return null} -function Cb(a,b){a.push(T("script"));var c=null,d=null,e;for(e in b)if(B.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);Vb(a,d,c);"string"===typeof c&&a.push(y(F(c)));a.push(mc,y("script"),nc);return null} -function oc(a,b,c){a.push(T(c));var d=c=null,e;for(e in b)if(B.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);Vb(a,d,c);return"string"===typeof c?(a.push(y(F(c))),null):c}var pc=z("\n"),qc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,rc=new Map;function T(a){var b=rc.get(a);if(void 0===b){if(!qc.test(a))throw Error(k(65,a));b=z("<"+a);rc.set(a,b)}return b}var sc=z("<!DOCTYPE html>"); -function tc(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(T("select"));var h=null,l=null,n;for(n in c)if(B.call(c,n)){var r=c[n];if(null!=r)switch(n){case "children":h=r;break;case "dangerouslySetInnerHTML":l=r;break;case "defaultValue":case "value":break;default:R(a,n,r)}}a.push(S);Vb(a,l,h);return h;case "option":var u=f.selectedValue;a.push(T("option"));var q=null,x=null,K=null,L=null,t;for(t in c)if(B.call(c, -t)){var C=c[t];if(null!=C)switch(t){case "children":q=C;break;case "selected":K=C;break;case "dangerouslySetInnerHTML":L=C;break;case "value":x=C;default:R(a,t,C)}}if(null!=u){var G=null!==x?""+x:Wb(q);if(Ga(u))for(var ma=0;ma<u.length;ma++){if(""+u[ma]===G){a.push(Xb);break}}else""+u===G&&a.push(Xb)}else K&&a.push(Xb);a.push(S);Vb(a,L,q);return q;case "textarea":a.push(T("textarea"));var D=null,W=null,E=null,fa;for(fa in c)if(B.call(c,fa)){var na=c[fa];if(null!=na)switch(fa){case "children":E=na; -break;case "value":D=na;break;case "defaultValue":W=na;break;case "dangerouslySetInnerHTML":throw Error(k(91));default:R(a,fa,na)}}null===D&&null!==W&&(D=W);a.push(S);if(null!=E){if(null!=D)throw Error(k(92));if(Ga(E)&&1<E.length)throw Error(k(93));D=""+E}"string"===typeof D&&"\n"===D[0]&&a.push(pc);null!==D&&a.push(y(F(""+D)));return null;case "input":a.push(T("input"));var X=null,ha=null,M=null,aa=null,N=null,qa=null,ra=null,sa=null,La=null,ia;for(ia in c)if(B.call(c,ia)){var ba=c[ia];if(null!= -ba)switch(ia){case "children":case "dangerouslySetInnerHTML":throw Error(k(399,"input"));case "name":X=ba;break;case "formAction":ha=ba;break;case "formEncType":M=ba;break;case "formMethod":aa=ba;break;case "formTarget":N=ba;break;case "defaultChecked":La=ba;break;case "defaultValue":ra=ba;break;case "checked":sa=ba;break;case "value":qa=ba;break;default:R(a,ia,ba)}}var Vc=Ub(a,d,e,ha,M,aa,N,X);null!==sa?Qb(a,"checked",sa):null!==La&&Qb(a,"checked",La);null!==qa?R(a,"value",qa):null!==ra&&R(a,"value", -ra);a.push(Tb);null!==Vc&&Vc.forEach(Sb,a);return null;case "button":a.push(T("button"));var Ya=null,Wc=null,Xc=null,Yc=null,Zc=null,$c=null,ad=null,Za;for(Za in c)if(B.call(c,Za)){var oa=c[Za];if(null!=oa)switch(Za){case "children":Ya=oa;break;case "dangerouslySetInnerHTML":Wc=oa;break;case "name":Xc=oa;break;case "formAction":Yc=oa;break;case "formEncType":Zc=oa;break;case "formMethod":$c=oa;break;case "formTarget":ad=oa;break;default:R(a,Za,oa)}}var bd=Ub(a,d,e,Yc,Zc,$c,ad,Xc);a.push(S);null!== -bd&&bd.forEach(Sb,a);Vb(a,Wc,Ya);if("string"===typeof Ya){a.push(y(F(Ya)));var cd=null}else cd=Ya;return cd;case "form":a.push(T("form"));var $a=null,dd=null,bc=null,cc=null,dc=null,ec=null,ab;for(ab in c)if(B.call(c,ab)){var ta=c[ab];if(null!=ta)switch(ab){case "children":$a=ta;break;case "dangerouslySetInnerHTML":dd=ta;break;case "action":bc=ta;break;case "encType":cc=ta;break;case "method":dc=ta;break;case "target":ec=ta;break;default:R(a,ab,ta)}}null!=bc&&R(a,"action",bc);null!=cc&&R(a,"encType", -cc);null!=dc&&R(a,"method",dc);null!=ec&&R(a,"target",ec);a.push(S);Vb(a,dd,$a);if("string"===typeof $a){a.push(y(F($a)));var ed=null}else ed=$a;return ed;case "menuitem":a.push(T("menuitem"));for(var ub in c)if(B.call(c,ub)){var fd=c[ub];if(null!=fd)switch(ub){case "children":case "dangerouslySetInnerHTML":throw Error(k(400));default:R(a,ub,fd)}}a.push(S);return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var gd=lc(a,c);else lc(e.hoistableChunks,c),gd=null;return gd; -case "link":return $b(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var fc=c.async;if("string"!==typeof c.src||!c.src||!fc||"function"===typeof fc||"symbol"===typeof fc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var hd=Cb(a,c);else{var vb=c.src;if("module"===c.type){var wb=d.moduleScriptResources;var id=e.preloads.moduleScripts}else wb=d.scriptResources,id=e.preloads.scripts;var xb=wb.hasOwnProperty(vb)?wb[vb]:void 0;if(null!==xb){wb[vb]=null;var gc=c;if(xb){2=== -xb.length&&(gc=A({},c),ac(gc,xb));var jd=id.get(vb);jd&&(jd.length=0)}var kd=[];e.scripts.add(kd);Cb(kd,gc)}g&&a.push(Gb);hd=null}return hd;case "style":var yb=c.precedence,za=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof yb||"string"!==typeof za||""===za){a.push(T("style"));var Ma=null,ld=null,bb;for(bb in c)if(B.call(c,bb)){var zb=c[bb];if(null!=zb)switch(bb){case "children":Ma=zb;break;case "dangerouslySetInnerHTML":ld=zb;break;default:R(a,bb,zb)}}a.push(S);var cb= -Array.isArray(Ma)?2>Ma.length?Ma[0]:null:Ma;"function"!==typeof cb&&"symbol"!==typeof cb&&null!==cb&&void 0!==cb&&a.push(y(F(""+cb)));Vb(a,ld,Ma);a.push(mc,y("style"),nc);var md=null}else{var Aa=e.styles.get(yb);if(null!==(d.styleResources.hasOwnProperty(za)?d.styleResources[za]:void 0)){d.styleResources[za]=null;Aa?Aa.hrefs.push(y(F(za))):(Aa={precedence:y(F(yb)),rules:[],hrefs:[y(F(za))],sheets:new Map},e.styles.set(yb,Aa));var nd=Aa.rules,Na=null,od=null,Ab;for(Ab in c)if(B.call(c,Ab)){var hc= -c[Ab];if(null!=hc)switch(Ab){case "children":Na=hc;break;case "dangerouslySetInnerHTML":od=hc}}var db=Array.isArray(Na)?2>Na.length?Na[0]:null:Na;"function"!==typeof db&&"symbol"!==typeof db&&null!==db&&void 0!==db&&nd.push(y(F(""+db)));Vb(nd,od,Na)}Aa&&e.boundaryResources&&e.boundaryResources.styles.add(Aa);g&&a.push(Gb);md=void 0}return md;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var pd=kc(a,c,"meta");else g&&a.push(Gb),pd="string"===typeof c.charSet?kc(e.charsetChunks, -c,"meta"):"viewport"===c.name?kc(e.preconnectChunks,c,"meta"):kc(e.hoistableChunks,c,"meta");return pd;case "listing":case "pre":a.push(T(b));var eb=null,fb=null,gb;for(gb in c)if(B.call(c,gb)){var Bb=c[gb];if(null!=Bb)switch(gb){case "children":eb=Bb;break;case "dangerouslySetInnerHTML":fb=Bb;break;default:R(a,gb,Bb)}}a.push(S);if(null!=fb){if(null!=eb)throw Error(k(60));if("object"!==typeof fb||!("__html"in fb))throw Error(k(61));var Ba=fb.__html;null!==Ba&&void 0!==Ba&&("string"===typeof Ba&&0< -Ba.length&&"\n"===Ba[0]?a.push(pc,y(Ba)):a.push(y(""+Ba)))}"string"===typeof eb&&"\n"===eb[0]&&a.push(pc);return eb;case "img":var Q=c.src,H=c.srcSet;if(!("lazy"===c.loading||!Q&&!H||"string"!==typeof Q&&null!=Q||"string"!==typeof H&&null!=H)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof Q||":"!==Q[4]||"d"!==Q[0]&&"D"!==Q[0]||"a"!==Q[1]&&"A"!==Q[1]||"t"!==Q[2]&&"T"!==Q[2]||"a"!==Q[3]&&"A"!==Q[3])&&("string"!==typeof H||":"!==H[4]||"d"!==H[0]&&"D"!==H[0]||"a"!==H[1]&&"A"!==H[1]|| -"t"!==H[2]&&"T"!==H[2]||"a"!==H[3]&&"A"!==H[3])){var qd="string"===typeof c.sizes?c.sizes:void 0,hb=H?H+"\n"+(qd||""):Q,ic=e.preloads.images,Ca=ic.get(hb);if(Ca){if("high"===c.fetchPriority||10>e.highImagePreloads.size)ic.delete(hb),e.highImagePreloads.add(Ca)}else d.imageResources.hasOwnProperty(hb)||(d.imageResources[hb]=Va,Ca=[],I(Ca,{rel:"preload",as:"image",href:H?void 0:Q,imageSrcSet:H,imageSizes:qd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}), -"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Ca):(e.bulkPreloads.add(Ca),ic.set(hb,Ca)))}return kc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return kc(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&& -null===e.headChunks){e.headChunks=[];var rd=oc(e.headChunks,c,"head")}else rd=oc(a,c,"head");return rd;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[sc];var sd=oc(e.htmlChunks,c,"html")}else sd=oc(a,c,"html");return sd;default:if(-1!==b.indexOf("-")){a.push(T(b));var jc=null,td=null,Oa;for(Oa in c)if(B.call(c,Oa)){var Da=c[Oa];if(null!=Da)switch(Oa){case "children":jc=Da;break;case "dangerouslySetInnerHTML":td=Da;break;case "style":Mb(a,Da);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -default:va(Oa)&&"function"!==typeof Da&&"symbol"!==typeof Da&&a.push(O,y(Oa),Ob,y(F(Da)),Nb)}}a.push(S);Vb(a,td,jc);return jc}}return oc(a,c,b)}var mc=z("</"),nc=z(">");function uc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)v(a,b[c]);return c<b.length?(c=b[c],b.length=0,w(a,c)):!0} -var vc=z('<template id="'),wc=z('"></template>'),xc=z("\x3c!--$--\x3e"),yc=z('\x3c!--$?--\x3e<template id="'),zc=z('"></template>'),Ac=z("\x3c!--$!--\x3e"),Bc=z("\x3c!--/$--\x3e"),Cc=z("<template"),Dc=z('"'),Ec=z(' data-dgst="');z(' data-msg="');z(' data-stck="');var Fc=z("></template>");function Gc(a,b,c){v(a,yc);if(null===c)throw Error(k(395));v(a,b.boundaryPrefix);v(a,y(c.toString(16)));return w(a,zc)} -var Hc=z('<div hidden id="'),Ic=z('">'),Jc=z("</div>"),Kc=z('<svg aria-hidden="true" style="display:none" id="'),Lc=z('">'),Mc=z("</svg>"),Nc=z('<math aria-hidden="true" style="display:none" id="'),Oc=z('">'),Pc=z("</math>"),Qc=z('<table hidden id="'),Rc=z('">'),Sc=z("</table>"),Tc=z('<table hidden><tbody id="'),Uc=z('">'),ud=z("</tbody></table>"),vd=z('<table hidden><tr id="'),wd=z('">'),xd=z("</tr></table>"),yd=z('<table hidden><colgroup id="'),zd=z('">'),Ad=z("</colgroup></table>"); -function Bd(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return v(a,Hc),v(a,b.segmentPrefix),v(a,y(d.toString(16))),w(a,Ic);case 3:return v(a,Kc),v(a,b.segmentPrefix),v(a,y(d.toString(16))),w(a,Lc);case 4:return v(a,Nc),v(a,b.segmentPrefix),v(a,y(d.toString(16))),w(a,Oc);case 5:return v(a,Qc),v(a,b.segmentPrefix),v(a,y(d.toString(16))),w(a,Rc);case 6:return v(a,Tc),v(a,b.segmentPrefix),v(a,y(d.toString(16))),w(a,Uc);case 7:return v(a,vd),v(a,b.segmentPrefix),v(a,y(d.toString(16))),w(a,wd); -case 8:return v(a,yd),v(a,b.segmentPrefix),v(a,y(d.toString(16))),w(a,zd);default:throw Error(k(397));}}function Cd(a,b){switch(b.insertionMode){case 0:case 1:case 2:return w(a,Jc);case 3:return w(a,Mc);case 4:return w(a,Pc);case 5:return w(a,Sc);case 6:return w(a,ud);case 7:return w(a,xd);case 8:return w(a,Ad);default:throw Error(k(397));}} -var Dd=z('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ed=z('$RS("'),Fd=z('","'),Gd=z('")\x3c/script>'),Hd=z('<template data-rsi="" data-sid="'),Id=z('" data-pid="'),Jd=z('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), -Kd=z('$RC("'),Ld=z('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Md=z('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Nd=z('$RR("'),Od=z('","'),Pd=z('",'),Qd=z('"'),Rd=z(")\x3c/script>"),Sd=z('<template data-rci="" data-bid="'),Td=z('<template data-rri="" data-bid="'),Ud=z('" data-sid="'),Vd=z('" data-sty="'),Wd=z('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),Xd=z('$RX("'),Yd=z('"'),Zd=z(","),$d=z(")\x3c/script>"),ae=z('<template data-rxi="" data-bid="'),be=z('" data-dgst="'), -ce=z('" data-msg="'),de=z('" data-stck="'),ee=/[<\u2028\u2029]/g;function fe(a){return JSON.stringify(a).replace(ee,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var ge=/[&><\u2028\u2029]/g; -function he(a){return JSON.stringify(a).replace(ge,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} -var ie=z('<style media="not all" data-precedence="'),je=z('" data-href="'),ke=z('">'),le=z("</style>"),me=!1,ne=!0;function oe(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){v(this,ie);v(this,a.precedence);for(v(this,je);d<c.length-1;d++)v(this,c[d]),v(this,pe);v(this,c[d]);v(this,ke);for(d=0;d<b.length;d++)v(this,b[d]);ne=w(this,le);me=!0;b.length=0;c.length=0}}function qe(a){return 2!==a.state?me=!0:!1} -function re(a,b,c){me=!1;ne=!0;b.styles.forEach(oe,a);b.stylesheets.forEach(qe);me&&(c.stylesToHoist=!0);return ne}function se(a){for(var b=0;b<a.length;b++)v(this,a[b]);a.length=0}var te=[];function ue(a){I(te,a.props);for(var b=0;b<te.length;b++)v(this,te[b]);te.length=0;a.state=2}var ve=z('<style data-precedence="'),we=z('" data-href="'),pe=z(" "),xe=z('">'),ye=z("</style>"); -function ze(a){var b=0<a.sheets.size;a.sheets.forEach(ue,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){v(this,ve);v(this,a.precedence);a=0;if(d.length){for(v(this,we);a<d.length-1;a++)v(this,d[a]),v(this,pe);v(this,d[a])}v(this,xe);for(a=0;a<c.length;a++)v(this,c[a]);v(this,ye);c.length=0;d.length=0}} -function Ae(a){if(0===a.state){a.state=1;var b=a.props;I(te,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<te.length;a++)v(this,te[a]);te.length=0}}function Be(a){a.sheets.forEach(Ae,this);a.sheets.clear()}var Ce=z("["),De=z(",["),Ee=z(","),Fe=z("]"); -function Ge(a,b){v(a,Ce);var c=Ce;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)v(a,c),v(a,y(he(""+d.props.href))),v(a,Fe),c=De;else{v(a,c);var e=d.props["data-precedence"],f=d.props;v(a,y(he(""+d.props.href)));e=""+e;v(a,Ee);v(a,y(he(e)));for(var g in f)if(B.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(k(399,"link"));default:a:{e=a;var l=g.toLowerCase(); -switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!va(g))break a;h=""+h}v(e,Ee);v(e,y(he(l)));v(e,Ee);v(e,y(he(h)))}}}v(a,Fe);c=De;d.state=3}});v(a,Fe)} -function He(a,b){v(a,Ce);var c=Ce;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)v(a,c),v(a,y(F(JSON.stringify(""+d.props.href)))),v(a,Fe),c=De;else{v(a,c);var e=d.props["data-precedence"],f=d.props;v(a,y(F(JSON.stringify(""+d.props.href))));e=""+e;v(a,Ee);v(a,y(F(JSON.stringify(e))));for(var g in f)if(B.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(k(399, -"link"));default:a:{e=a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!va(g))break a;h=""+h}v(e,Ee);v(e,y(F(JSON.stringify(l)))); -v(e,Ee);v(e,y(F(JSON.stringify(h))))}}}v(a,Fe);c=De;d.state=3}});v(a,Fe)}function Ja(a){var b=U?U:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;I(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Ie(b)}}} -function Ka(a,b){var c=U?U:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;I(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Ie(c)}}} -function Pa(a,b,c){var d=U?U:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var l=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=Va;e=[];I(e,A({rel:"preload",href:g?void 0:a,as:b},c));"high"===l?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];I(g,A({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Va:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);I(g,A({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Va:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=A({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}I(e,c);g[a]=Va}Ie(d)}}} -function Qa(a,b){var c=U?U:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?Va:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=Va}I(f,A({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Ie(c)}}} -function Ra(a,b,c){var d=U?U:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:y(F(b)),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:A({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&ac(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Ie(d))}}} -function Sa(a,b){var c=U?U:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=A({src:a,async:!0},b),f&&(2===f.length&&ac(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Cb(a,b),Ie(c))}}} -function Ta(a,b){var c=U?U:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=A({src:a,type:"module",async:!0},b),f&&(2===f.length&&ac(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Cb(a,b),Ie(c))}}}function ac(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Je(a){this.styles.add(a)} -function Ke(a){this.stylesheets.add(a)} -var Le=Symbol.for("react.element"),Me=Symbol.for("react.portal"),Ne=Symbol.for("react.fragment"),Oe=Symbol.for("react.strict_mode"),Pe=Symbol.for("react.profiler"),Qe=Symbol.for("react.provider"),Re=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),Te=Symbol.for("react.forward_ref"),Ue=Symbol.for("react.suspense"),Ve=Symbol.for("react.suspense_list"),We=Symbol.for("react.memo"),Xe=Symbol.for("react.lazy"),Ye=Symbol.for("react.scope"),Ze=Symbol.for("react.debug_trace_mode"),$e=Symbol.for("react.offscreen"), -af=Symbol.for("react.legacy_hidden"),bf=Symbol.for("react.cache"),cf=Symbol.for("react.default_value"),df=Symbol.iterator; -function ef(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Ne:return"Fragment";case Me:return"Portal";case Pe:return"Profiler";case Oe:return"StrictMode";case Ue:return"Suspense";case Ve:return"SuspenseList";case bf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case Re:return(a.displayName||"Context")+".Consumer";case Qe:return(a._context.displayName||"Context")+".Provider";case Te:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case We:return b=a.displayName||null,null!==b?b:ef(a.type)||"Memo";case Xe:b=a._payload;a=a._init;try{return ef(a(b))}catch(c){break}case Se:return(a.displayName||a._globalName)+".Provider"}return null}var ff={};function gf(a,b){a=a.contextTypes;if(!a)return ff;var c={},d;for(d in a)c[d]=b[d];return c}var hf=null; -function jf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(k(401));}else{if(null===c)throw Error(k(401));jf(a,c)}b.context._currentValue=b.value}}function kf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&kf(a)}function lf(a){var b=a.parent;null!==b&&lf(b);a.context._currentValue=a.value} -function mf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error(k(402));a.depth===b.depth?jf(a,b):mf(a,b)}function nf(a,b){var c=b.parent;if(null===c)throw Error(k(402));a.depth===c.depth?jf(a,c):nf(a,c);b.context._currentValue=b.value}function of(a){var b=hf;b!==a&&(null===b?lf(a):null===a?kf(b):b.depth===a.depth?jf(b,a):b.depth>a.depth?mf(b,a):nf(b,a),hf=a)} -var pf={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function qf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=pf;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:A({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&pf.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=A({},f,h)):A(f,h))}a.state=f}else f.queue=null} -var rf={id:1,overflow:""};function sf(a,b,c){var d=a.id;a=a.overflow;var e=32-tf(d)-1;d&=~(1<<e);c+=1;var f=32-tf(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-tf(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var tf=Math.clz32?Math.clz32:uf,vf=Math.log,wf=Math.LN2;function uf(a){a>>>=0;return 0===a?32:31-(vf(a)/wf|0)|0}var xf=Error(k(460));function yf(){} -function zf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(yf,yf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Af=b;throw xf;}}var Af=null; -function Bf(){if(null===Af)throw Error(k(459));var a=Af;Af=null;return a}function Cf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Df="function"===typeof Object.is?Object.is:Cf,Ef=null,Ff=null,Gf=null,V=null,Hf=!1,If=!1,Jf=0,Kf=0,Lf=-1,Mf=0,Nf=null,Of=null,Pf=0;function Qf(){if(null===Ef)throw Error(k(321));return Ef}function Rf(){if(0<Pf)throw Error(k(312));return{memoizedState:null,queue:null,next:null}} -function Sf(){null===V?null===Gf?(Hf=!1,Gf=V=Rf()):(Hf=!0,V=Gf):null===V.next?(Hf=!1,V=V.next=Rf()):(Hf=!0,V=V.next);return V}function Tf(a,b,c,d){for(;If;)If=!1,Kf=Jf=0,Lf=-1,Mf=0,Pf+=1,V=null,c=a(b,d);Uf();return c}function Vf(){var a=Nf;Nf=null;return a}function Uf(){Ff=Ef=null;If=!1;Gf=null;Pf=0;V=Of=null}function Wf(a,b){return"function"===typeof b?b(a):b} -function Xf(a,b,c){Ef=Qf();V=Sf();if(Hf){var d=V.queue;b=d.dispatch;if(null!==Of&&(c=Of.get(d),void 0!==c)){Of.delete(d);d=V.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);V.memoizedState=d;return[d,b]}return[V.memoizedState,b]}a=a===Wf?"function"===typeof b?b():b:void 0!==c?c(b):b;V.memoizedState=a;a=V.queue={last:null,dispatch:null};a=a.dispatch=Yf.bind(null,Ef,a);return[V.memoizedState,a]} -function Zf(a,b){Ef=Qf();V=Sf();b=void 0===b?null:b;if(null!==V){var c=V.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Df(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();V.memoizedState=[a,b];return a}function Yf(a,b,c){if(25<=Pf)throw Error(k(301));if(a===Ef)if(If=!0,a={action:c,next:null},null===Of&&(Of=new Map),c=Of.get(b),void 0===c)Of.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}} -function $f(){throw Error(k(394));}function ag(a){var b=Mf;Mf+=1;null===Nf&&(Nf=[]);return zf(Nf,a,b)}function bg(){throw Error(k(393));}function cg(){} -var eg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return ag(a);if(a.$$typeof===Re||a.$$typeof===Se)return a._currentValue}throw Error(k(438,String(a)));},useContext:function(a){Qf();return a._currentValue},useMemo:Zf,useReducer:Xf,useRef:function(a){Ef=Qf();V=Sf();var b=V.memoizedState;return null===b?(a={current:a},V.memoizedState=a):b},useState:function(a){return Xf(Wf,a)},useInsertionEffect:cg,useLayoutEffect:cg, -useCallback:function(a,b){return Zf(function(){return a},b)},useImperativeHandle:cg,useEffect:cg,useDebugValue:cg,useDeferredValue:function(a){Qf();return a},useTransition:function(){Qf();return[!1,$f]},useId:function(){var a=Ff.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-tf(a)-1)).toString(32)+b;var c=dg;if(null===c)throw Error(k(404));b=Jf++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(k(407));return c()},useCacheRefresh:function(){return bg}}, -dg=null,fg={getCacheSignal:function(){throw Error(k(248));},getCacheForType:function(){throw Error(k(248));}},gg=Ha.ReactCurrentDispatcher,hg=Ha.ReactCurrentCache;function ig(a){console.error(a);return null}function jg(){} -function kg(a,b,c,d,e,f,g,h,l,n,r,u){Ia.current=Ua;var q=[],x=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:x,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?ig:f,onPostpone:void 0===r?jg:r,onAllReady:void 0===g? -jg:g,onShellReady:void 0===h?jg:h,onShellError:void 0===l?jg:l,onFatalError:void 0===n?jg:n,formState:void 0===u?null:u};c=lg(b,0,null,d,!1,!1);c.parentFlushed=!0;a=mg(b,null,a,-1,null,c,x,null,d,ff,null,rf);q.push(a);return b}var U=null;function ng(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,og(a))} -function pg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function mg(a,b,c,d,e,f,g,h,l,n,r,u){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var q={replay:null,node:c,childIndex:d,ping:function(){return ng(a,q)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:r,treeContext:u,thenableState:b};g.add(q);return q} -function qg(a,b,c,d,e,f,g,h,l,n,r,u){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var q={replay:c,node:d,childIndex:e,ping:function(){return ng(a,q)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:r,treeContext:u,thenableState:b};g.add(q);return q}function lg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function Y(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function rg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,ka(a.destination,b)):(a.status=1,a.fatalError=b)} -function sg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(k(108,ef(e)||"Unknown",h));e=A({},c,d)}b.legacyContext=e;Z(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Z(a,b,null,f,-1),b.keyPath=e} -function tg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var l=b.blockedSegment;if(null!==l){h=!0;l=l.chunks;for(var n=0;n<f;n++)n===g?l.push(Yb):l.push(Zb)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=sf(c,1,0),ug(a,b,d,-1),b.treeContext=c):h?ug(a,b,d,-1):Z(a,b,null,d,-1);b.keyPath=f}function vg(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function wg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=gf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);qf(h,e,f,d);sg(a,b,c,h,e)}else{h=gf(e,b.legacyContext);Ef={};Ff=b;Kf=Jf=0;Lf=-1;Mf=0;Nf=d;d=e(f,h);d=Tf(e,f,d,h);g=0!==Jf;var l=Kf,n=Lf;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(qf(d,e,f,h),sg(a,b,c,d,e)):tg(a,b,c,d,g,l,n)}else if("string"===typeof e)if(d=b.blockedSegment, -null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Fb(h,e,f),b.keyPath=c,ug(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=tc(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;l=b.keyPath;b.formatContext=Fb(h,e,f);b.keyPath=c;ug(a,b,g,-1);b.formatContext=h;b.keyPath=l;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(mc,y(e),nc)}d.lastPushedText=!1}else{switch(e){case af:case Ze:case Oe:case Pe:case Ne:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case $e:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Z(a,b,null,f.children,-1),b.keyPath=e);return;case Ve:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case Ye:throw Error(k(343));case Ue:a:if(null!== -b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{ug(a,b,c,-1)}finally{b.keyPath=e}}else{n=b.keyPath;e=b.blockedBoundary;var r=b.blockedSegment;d=f.fallback;var u=f.children;f=new Set;g=pg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);l=lg(a,r.chunks.length,g,b.formatContext,!1,!1);r.children.push(l);r.lastPushedText=!1;var q=lg(a,0,null,b.formatContext,!1,!1);q.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=q;a.renderState.boundaryResources=g.resources;b.keyPath=c;try{if(ug(a, -b,u,-1),q.lastPushedText&&q.textEmbedded&&q.chunks.push(Gb),q.status=1,xg(g,q),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(x){q.status=4,g.status=4,h=Y(a,x),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=r,b.keyPath=n}h=[c[0],"Suspense Fallback",c[2]];n=a.trackedPostpones;null!==n&&(r=[h[1],h[2],[],null],n.workingMap.set(h,r),5===g.status?n.workingMap.get(c)[4]=r:g.trackedFallbackNode=r);b=mg(a,null,d,-1,e,l,f,h,b.formatContext, -b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Te:e=e.render;Ef={};Ff=b;Kf=Jf=0;Lf=-1;Mf=0;Nf=d;d=e(f,g);f=Tf(e,f,d,g);tg(a,b,c,f,0!==Jf,Kf,Lf);return;case We:e=e.type;f=vg(e,f);wg(a,b,c,d,e,f,g);return;case Qe:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;l=hf;hf=f={parent:l,depth:null===l?0:l.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;Z(a,b,null,h,-1);a=hf; -if(null===a)throw Error(k(403));c=a.parentValue;a.context._currentValue=c===cf?a.context._defaultValue:c;a=hf=a.parent;b.context=a;b.keyPath=d;return;case Re:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;Z(a,b,null,f,-1);b.keyPath=e;return;case Xe:h=e._init;e=h(e._payload);f=vg(e,f);wg(a,b,c,d,e,f,void 0);return}throw Error(k(130,null==e?e:typeof e,""));}} -function yg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=lg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,ug(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(xg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function Z(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Le:var f=d.type,g=d.key,h=d.props,l=d.ref,n=ef(f),r=null==g?-1===e?0:e:g;g=[b.keyPath,n,r];if(null!==b.replay)a:{var u=b.replay;e=u.nodes;for(d=0;d<e.length;d++){var q=e[d];if(r===q[1]){if(null!==n&&n!==q[0])throw Error(k(489,n));if(4===q.length){n=q[2];q=q[3];b.replay={nodes:n,slots:q,pendingTasks:1};try{if("number"===typeof q){r=a;var x=b,K=x.replay,L=x.blockedBoundary,t=lg(r,0,null,x.formatContext, -!1,!1);t.id=q;t.parentFlushed=!0;try{x.replay=null,x.blockedSegment=t,wg(r,x,g,c,f,h,l),t.status=1,null===L?r.completedRootSegment=t:(xg(L,t),L.parentFlushed&&r.partialBoundaries.push(L))}finally{x.replay=K,x.blockedSegment=null}}else wg(a,b,g,c,f,h,l);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(k(488));}catch(G){if("object"===typeof G&&null!==G&&(G===xf||"function"===typeof G.then))throw G;h=void 0;var C=b.blockedBoundary;g=G;h=Y(a,g);zg(a,C,n,q,g,h)}finally{b.replay.pendingTasks--, -b.replay=u}}else{if(f!==Ue)throw Error(k(490));b:{C=void 0;K=q[5];L=q[2];t=q[3];f=null===q[4]?[]:q[4][2];u=null===q[4]?null:q[4][3];l=b.keyPath;n=b.replay;q=b.blockedBoundary;r=h.children;h=h.fallback;c=new Set;x=pg(a,c);x.parentFlushed=!0;x.rootSegmentID=K;b.blockedBoundary=x;b.replay={nodes:L,slots:t,pendingTasks:1};a.renderState.boundaryResources=x.resources;try{"number"===typeof t?yg(a,b,t,r,-1):ug(a,b,r,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(k(488));b.replay.pendingTasks--; -if(0===x.pendingTasks&&0===x.status){x.status=1;a.completedBoundaries.push(x);break b}}catch(G){x.status=4,C=Y(a,G),x.errorDigest=C,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(x)}finally{a.renderState.boundaryResources=q?q.resources:null,b.blockedBoundary=q,b.replay=n,b.keyPath=l}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof u?(C=lg(a,0,null,b.formatContext,!1,!1),C.id=u,C.parentFlushed=!0,b=mg(a,null,h,-1,q,C,c,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):b=qg(a, -null,{nodes:f,slots:u,pendingTasks:0},h,-1,q,c,g,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else wg(a,b,g,c,f,h,l);return;case Me:throw Error(k(257));case Xe:h=d._init;d=h(d._payload);Z(a,b,null,d,e);return}if(Ga(d)){Ag(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=df&&d[df]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Ag(a,b,g,e)}return}if("function"=== -typeof d.then)return Z(a,b,null,ag(d),e);if(d.$$typeof===Re||d.$$typeof===Se)return Z(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error(k(31,"[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e));}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Hb(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Hb(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function Ag(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var l=g[h];if(l[1]===d){d=l[2];l=l[3];b.replay={nodes:d,slots:l,pendingTasks:1};try{if(Ag(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(k(488));}catch(u){if("object"===typeof u&&null!==u&&(u===xf||"function"===typeof u.then))throw u;c=void 0;var n=b.blockedBoundary,r=u;c=Y(a,r);zg(a,n,d,l,r,c)}finally{b.replay.pendingTasks--, -b.replay=f}g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(n=0;n<g;n++)d=c[n],b.treeContext=sf(f,g,n),l=h[n],"number"===typeof l?(yg(a,b,l,d,n),delete h[n]):ug(a,b,d,n);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)n=c[h],b.treeContext=sf(f,g,h),ug(a,b,n,h);b.treeContext=f;b.keyPath=e} -function ug(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,l=b.treeContext,n=b.blockedSegment;if(null===n)try{return Z(a,b,null,c,d)}catch(q){if(Uf(),c=q===xf?Bf():q,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Vf();a=qg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;of(g);return}}else{var r= -n.children.length,u=n.chunks.length;try{return Z(a,b,null,c,d)}catch(q){if(Uf(),n.children.length=r,n.chunks.length=u,c=q===xf?Bf():q,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Vf();n=b.blockedSegment;r=lg(a,n.chunks.length,null,b.formatContext,n.lastPushedText,!0);n.children.push(r);n.lastPushedText=!1;a=mg(a,d,b.node,b.childIndex,b.blockedBoundary,r,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=l;of(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;of(g);throw c;}function Bg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Cg(this,b,a))} -function zg(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)zg(a,b,h[2],h[3],e,f);else{h=h[5];var l=a,n=f,r=pg(l,new Set);r.parentFlushed=!0;r.rootSegmentID=h;r.status=4;r.errorDigest=n;r.parentFlushed&&l.clientRenderedBoundaries.push(r)}}c.length=0;if(null!==d){if(null===b)throw Error(k(487));4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var u in d)delete d[u]}} -function Dg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(Y(b,c),rg(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=Y(b,c),zg(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=Y(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Dg(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function xg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&xg(a,c)}else a.completedSegments.push(b)} -function Cg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(k(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=jg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&xg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Bg,a),b.fallbackAbortableTasks.clear())):null!== -c&&c.parentFlushed&&1===c.status&&(xg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function og(a){if(2!==a.status){var b=hf,c=gg.current;gg.current=eg;var d=hg.current;hg.current=fg;var e=U;U=a;var f=dg;dg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var l=g[h],n=a,r=l.blockedBoundary;n.renderState.boundaryResources=r?r.resources:null;var u=l.blockedSegment;if(null===u){var q=n;if(0!==l.replay.pendingTasks){of(l.context);try{var x=l.thenableState;l.thenableState=null;Z(q,l,x,l.node,-1);if(1===l.replay.pendingTasks&&0<l.replay.nodes.length)throw Error(k(488)); -l.replay.pendingTasks--;l.abortSet.delete(l);Cg(q,l.blockedBoundary,null)}catch(N){Uf();var K=N===xf?Bf():N;if("object"===typeof K&&null!==K&&"function"===typeof K.then){var L=l.ping;K.then(L,L);l.thenableState=Vf()}else{l.replay.pendingTasks--;l.abortSet.delete(l);n=void 0;var t=q,C=l.blockedBoundary,G=K,ma=l.replay.nodes,D=l.replay.slots;n=Y(t,G);zg(t,C,ma,D,G,n);q.allPendingTasks--;if(0===q.allPendingTasks){var W=q.onAllReady;W()}}}finally{q.renderState.boundaryResources=null}}}else if(q=void 0, -t=u,0===t.status){of(l.context);var E=t.children.length,fa=t.chunks.length;try{var na=l.thenableState;l.thenableState=null;Z(n,l,na,l.node,l.childIndex);t.lastPushedText&&t.textEmbedded&&t.chunks.push(Gb);l.abortSet.delete(l);t.status=1;Cg(n,l.blockedBoundary,t)}catch(N){Uf();t.children.length=E;t.chunks.length=fa;var X=N===xf?Bf():N;if("object"===typeof X&&null!==X&&"function"===typeof X.then){var ha=l.ping;X.then(ha,ha);l.thenableState=Vf()}else{l.abortSet.delete(l);t.status=4;var M=l.blockedBoundary; -q=Y(n,X);null===M?rg(n,X):(M.pendingTasks--,4!==M.status&&(M.status=4,M.errorDigest=q,M.parentFlushed&&n.clientRenderedBoundaries.push(M)));n.allPendingTasks--;if(0===n.allPendingTasks){var aa=n.onAllReady;aa()}}}finally{n.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Eg(a,a.destination)}catch(N){Y(a,N),rg(a,N)}finally{dg=f,gg.current=c,hg.current=d,c===eg&&of(b),U=e}}} -function Fg(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;v(b,vc);v(b,a.placeholderPrefix);a=y(d.toString(16));v(b,a);return w(b,wc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)v(b,d[f]);e=Gg(a,b,e)}for(;f<d.length-1;f++)v(b,d[f]);f<d.length&&(e=w(b,d[f]));return e;default:throw Error(k(390));}} -function Gg(a,b,c){var d=c.boundary;if(null===d)return Fg(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,w(b,Ac),v(b,Cc),d&&(v(b,Ec),v(b,y(F(d))),v(b,Dc)),w(b,Fc),Fg(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Gc(b,a.renderState,d.rootSegmentID),Fg(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Gc(b,a.renderState,d.rootSegmentID), -Fg(a,b,c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Je,e),c.stylesheets.forEach(Ke,e));w(b,xc);d=d.completedSegments;if(1!==d.length)throw Error(k(391));Gg(a,b,d[0])}return w(b,Bc)}function Hg(a,b,c){Bd(b,a.renderState,c.parentFormatContext,c.id);Gg(a,b,c);return Cd(b,c.parentFormatContext)} -function Ig(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Jg(a,b,c,d[e]);d.length=0;re(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(v(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,v(b,512<Ld.byteLength?Ld.slice():Ld)):0===(d.instructions&8)?(d.instructions|=8,v(b,Md)):v(b,Nd):0===(d.instructions&2)?(d.instructions|= -2,v(b,Jd)):v(b,Kd)):f?v(b,Td):v(b,Sd);d=y(e.toString(16));v(b,a.boundaryPrefix);v(b,d);g?v(b,Od):v(b,Ud);v(b,a.segmentPrefix);v(b,d);f?g?(v(b,Pd),Ge(b,c)):(v(b,Vd),He(b,c)):g&&v(b,Qd);d=g?w(b,Rd):w(b,Wa);return uc(b,a)&&d} -function Jg(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error(k(392));return Hg(a,b,d)}if(e===c.rootSegmentID)return Hg(a,b,d);Hg(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(v(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,v(b,Dd)):v(b,Ed)):v(b,Hd);v(b,a.segmentPrefix);e=y(e.toString(16));v(b,e);d?v(b,Fd):v(b,Id);v(b,a.placeholderPrefix);v(b,e);b=d?w(b,Gd):w(b,Wa);return b} -function Eg(a,b){m=new Uint8Array(512);p=0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,l=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(l))}var n=e.htmlChunks,r=e.headChunks;f=0;if(n){for(f=0;f<n.length;f++)v(b,n[f]);if(r)for(f=0;f<r.length;f++)v(b,r[f]);else v(b,T("head")), -v(b,S)}else if(r)for(f=0;f<r.length;f++)v(b,r[f]);var u=e.charsetChunks;for(f=0;f<u.length;f++)v(b,u[f]);u.length=0;e.preconnects.forEach(se,b);e.preconnects.clear();var q=e.preconnectChunks;for(f=0;f<q.length;f++)v(b,q[f]);q.length=0;e.fontPreloads.forEach(se,b);e.fontPreloads.clear();e.highImagePreloads.forEach(se,b);e.highImagePreloads.clear();e.styles.forEach(ze,b);var x=e.importMapChunks;for(f=0;f<x.length;f++)v(b,x[f]);x.length=0;e.bootstrapScripts.forEach(se,b);e.scripts.forEach(se,b);e.scripts.clear(); -e.bulkPreloads.forEach(se,b);e.bulkPreloads.clear();var K=e.preloadChunks;for(f=0;f<K.length;f++)v(b,K[f]);K.length=0;var L=e.hoistableChunks;for(f=0;f<L.length;f++)v(b,L[f]);L.length=0;n&&null===r&&(v(b,mc),v(b,y("head")),v(b,nc));Gg(a,b,d);a.completedRootSegment=null;uc(b,a.renderState)}else return;var t=a.renderState;d=0;t.preconnects.forEach(se,b);t.preconnects.clear();var C=t.preconnectChunks;for(d=0;d<C.length;d++)v(b,C[d]);C.length=0;t.fontPreloads.forEach(se,b);t.fontPreloads.clear();t.highImagePreloads.forEach(se, -b);t.highImagePreloads.clear();t.styles.forEach(Be,b);t.scripts.forEach(se,b);t.scripts.clear();t.bulkPreloads.forEach(se,b);t.bulkPreloads.clear();var G=t.preloadChunks;for(d=0;d<G.length;d++)v(b,G[d]);G.length=0;var ma=t.hoistableChunks;for(d=0;d<ma.length;d++)v(b,ma[d]);ma.length=0;var D=a.clientRenderedBoundaries;for(c=0;c<D.length;c++){var W=D[c];t=b;var E=a.resumableState,fa=a.renderState,na=W.rootSegmentID,X=W.errorDigest,ha=W.errorMessage,M=W.errorComponentStack,aa=0===E.streamingFormat;aa? -(v(t,fa.startInlineScript),0===(E.instructions&4)?(E.instructions|=4,v(t,Wd)):v(t,Xd)):v(t,ae);v(t,fa.boundaryPrefix);v(t,y(na.toString(16)));aa&&v(t,Yd);if(X||ha||M)aa?(v(t,Zd),v(t,y(fe(X||"")))):(v(t,be),v(t,y(F(X||""))));if(ha||M)aa?(v(t,Zd),v(t,y(fe(ha||"")))):(v(t,ce),v(t,y(F(ha||""))));M&&(aa?(v(t,Zd),v(t,y(fe(M)))):(v(t,de),v(t,y(F(M)))));if(aa?!w(t,$d):!w(t,Wa)){a.destination=null;c++;D.splice(0,c);return}}D.splice(0,c);var N=a.completedBoundaries;for(c=0;c<N.length;c++)if(!Ig(a,b,N[c])){a.destination= -null;c++;N.splice(0,c);return}N.splice(0,c);ea(b);m=new Uint8Array(512);p=0;var qa=a.partialBoundaries;for(c=0;c<qa.length;c++){var ra=qa[c];a:{D=a;W=b;D.renderState.boundaryResources=ra.resources;var sa=ra.completedSegments;for(E=0;E<sa.length;E++)if(!Jg(D,W,ra,sa[E])){E++;sa.splice(0,E);var La=!1;break a}sa.splice(0,E);La=re(W,ra.resources,D.renderState)}if(!La){a.destination=null;c++;qa.splice(0,c);return}}qa.splice(0,c);var ia=a.completedBoundaries;for(c=0;c<ia.length;c++)if(!Ig(a,b,ia[c])){a.destination= -null;c++;ia.splice(0,c);return}ia.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,a=a.resumableState,a.hasBody&&(v(b,mc),v(b,y("body")),v(b,nc)),a.hasHtml&&(v(b,mc),v(b,y("html")),v(b,nc)),ea(b),b.close()):ea(b)}}function Ie(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;Eg(a,b)}} -function Kg(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error(k(432)):b;c.forEach(function(e){return Dg(e,a,d)});c.clear()}null!==a.destination&&Eg(a,a.destination)}catch(e){Y(a,e),rg(a,e)}} -exports.renderToReadableStream=function(a,b){return new Promise(function(c,d){var e,f,g=new Promise(function(u,q){f=u;e=q}),h=Db(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),l=kg(a,h,tb(h,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Eb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,f,function(){var u=new ReadableStream({type:"bytes", -pull:function(q){if(1===l.status)l.status=2,ka(q,l.fatalError);else if(2!==l.status&&null===l.destination){l.destination=q;try{Eg(l,q)}catch(x){Y(l,x),rg(l,x)}}},cancel:function(){l.destination=null;Kg(l)}},{highWaterMark:0});u.allReady=g;c(u)},function(u){g.catch(function(){});d(u)},e,b?b.onPostpone:void 0,b?b.experimental_formState:void 0);if(b&&b.signal){var n=b.signal;if(n.aborted)Kg(l,n.reason);else{var r=function(){Kg(l,n.reason);n.removeEventListener("abort",r)};n.addEventListener("abort", -r)}}l.flushScheduled=null!==l.destination;og(l)})};exports.version="18.3.0-canary-d900fadbf-20230929"; +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ba=/["'&<>]/; +function F(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Ba.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var Ha=/([A-Z])/g,Ia=/^ms-/,Ja=Array.isArray,Ka=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,La={pending:!1,data:null,method:null,action:null},Ma=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Za={prefetchDNS:Sa,preconnect:Ta,preload:Ua,preloadModule:Va,preinitStyle:Wa,preinitScript:Xa,preinitModuleScript:Ya},$a=[],ob=y('"></template>'),pb=y("<script>"),qb=y("\x3c/script>"),rb=y('<script src="'),sb=y('<script type="module" src="'),tb=y('" nonce="'),ub=y('" integrity="'), +vb=y('" crossorigin="'),wb=y('" async="">\x3c/script>'),xb=/(<\/|<)(s)(cript)/gi;function yb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var Hb=y('<script type="importmap">'),Ib=y("\x3c/script>"); +function Jb(a,b,c,d,e,f,g){var h=void 0===b?pb:y('<script nonce="'+F(b)+'">'),l=a.idPrefix,n=[],t=null;void 0!==c&&n.push(h,x((""+c).replace(xb,yb)),qb);void 0!==f&&("string"===typeof f?(t={src:f,chunks:[]},Kb(t.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(t={src:f.src,chunks:[]},Kb(t.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(Hb),c.push(x((""+JSON.stringify(g)).replace(xb,yb))),c.push(Ib));g={placeholderPrefix:y(l+"P:"),segmentPrefix:y(l+"S:"),boundaryPrefix:y(l+ +"B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:t,bootstrapChunks:n,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var r= +d[h];c=t=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof r?f.href=l=r:(f.href=l=r.src,f.integrity=c="string"===typeof r.integrity?r.integrity:void 0,f.crossOrigin=t="string"===typeof r||null==r.crossOrigin?void 0:"use-credentials"===r.crossOrigin?"use-credentials":"");r=a;var q=l;r.scriptResources[q]=null;r.moduleScriptResources[q]=null;r=[];L(r,f);g.bootstrapScripts.add(r);n.push(rb,x(F(l)));b&&n.push(tb,x(F(b)));"string"===typeof c&&n.push(ub,x(F(c)));"string"=== +typeof t&&n.push(vb,x(F(t)));n.push(wb)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],t=l=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=t="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=l="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,r=h,f.scriptResources[r]=null,f.moduleScriptResources[r]=null,f=[],L(f,c),g.bootstrapScripts.add(f),n.push(sb,x(F(h))),b&& +n.push(tb,x(F(b))),"string"===typeof t&&n.push(ub,x(F(t))),"string"===typeof l&&n.push(vb,x(F(l))),n.push(wb);return g}function Lb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} +function M(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Mb(a){return M("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} +function Nb(a,b,c){switch(b){case "noscript":return M(2,null,a.tagScope|1);case "select":return M(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return M(3,null,a.tagScope);case "picture":return M(2,null,a.tagScope|2);case "math":return M(4,null,a.tagScope);case "foreignObject":return M(2,null,a.tagScope);case "table":return M(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return M(6,null,a.tagScope);case "colgroup":return M(8,null,a.tagScope);case "tr":return M(7,null,a.tagScope)}return 5<= +a.insertionMode?M(2,null,a.tagScope):0===a.insertionMode?"html"===b?M(1,null,a.tagScope):M(2,null,a.tagScope):1===a.insertionMode?M(2,null,a.tagScope):a}var Ob=y("\x3c!-- --\x3e");function Pb(a,b,c,d){if(""===b)return d;d&&a.push(Ob);a.push(x(F(b)));return!0}var Qb=new Map,Rb=y(' style="'),Sb=y(":"),Tb=y(";"); +function Ub(a,b){if("object"!==typeof b)throw Error(k(62));var c=!0,d;for(d in b)if(B.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=x(F(d));e=x(F((""+e).trim()))}else f=Qb.get(d),void 0===f&&(f=y(F(d.replace(Ha,"-$1").toLowerCase().replace(Ia,"-ms-"))),Qb.set(d,f)),e="number"===typeof e?0===e||za.has(d)?x(""+e):x(e+"px"):x(F((""+e).trim()));c?(c=!1,a.push(Rb,f,Sb,e)):a.push(Tb,f,Sb,e)}}c||a.push(N)}var O=y(" "),Vb=y('="'),N=y('"'),Wb=y('=""'); +function Xb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,x(b),Wb)}function P(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(O,x(b),Vb,x(F(c)),N)}function Yb(a){var b=a.nextFormID++;return a.idPrefix+b}var Zb=y(F("javascript:throw new Error('A React form was unexpectedly submitted.')")),$b=y('<input type="hidden"');function ac(a,b){this.push($b);if("string"!==typeof a)throw Error(k(480));P(this,"name",b);P(this,"value",a);this.push(bc)} +function cc(a,b,c,d,e,f,g,h){var l=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Yb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,l=b.data):(a.push(O,x("formAction"),Vb,Zb,N),g=f=e=d=h=null,dc(b,c)));null!=h&&R(a,"name",h);null!=d&&R(a,"formAction",d);null!=e&&R(a,"formEncType",e);null!=f&&R(a,"formMethod",f);null!=g&&R(a,"formTarget",g);return l} +function R(a,b,c){switch(b){case "className":P(a,"class",c);break;case "tabIndex":P(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":P(a,b,c);break;case "style":Ub(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(O,x(b),Vb,x(F(c)),N);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":Xb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(O,x("xlink:href"),Vb,x(F(c)),N);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,x(b),Vb,x(F(c)),N);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,x(b),Wb);break;case "capture":case "download":!0===c?a.push(O,x(b),Wb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(O,x(b),Vb,x(F(c)),N);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(O,x(b),Vb,x(F(c)),N);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(O,x(b),Vb,x(F(c)),N);break;case "xlinkActuate":P(a,"xlink:actuate", +c);break;case "xlinkArcrole":P(a,"xlink:arcrole",c);break;case "xlinkRole":P(a,"xlink:role",c);break;case "xlinkShow":P(a,"xlink:show",c);break;case "xlinkTitle":P(a,"xlink:title",c);break;case "xlinkType":P(a,"xlink:type",c);break;case "xmlBase":P(a,"xml:base",c);break;case "xmlLang":P(a,"xml:lang",c);break;case "xmlSpace":P(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=Aa.get(b)||b,ya(b)){switch(typeof c){case "function":case "symbol":return; +case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(O,x(b),Vb,x(F(c)),N)}}}var S=y(">"),bc=y("/>");function ec(a,b,c){if(null!=b){if(null!=c)throw Error(k(60));if("object"!==typeof b||!("__html"in b))throw Error(k(61));b=b.__html;null!==b&&void 0!==b&&a.push(x(""+b))}}function fc(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var gc=y(' selected=""'),hc=y('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); +function dc(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,hc,qb))}var pc=y("\x3c!--F!--\x3e"),qc=y("\x3c!--F--\x3e"); +function rc(a,b,c,d,e,f,g){var h=b.rel,l=b.href,n=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof l||""===l)return L(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof n||null!=b.disabled||b.onLoad||b.onError)return L(a,b);f=d.styles.get(n);g=c.styleResources.hasOwnProperty(l)?c.styleResources[l]:void 0;null!==g?(c.styleResources[l]=null,f||(f={precedence:x(F(n)),rules:[],hrefs:[],sheets:new Map},d.styles.set(n,f)),b={state:0,props:z({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&sc(b.props,g),(c=d.preloads.stylesheets.get(l))&&0<c.length?c.length=0:b.state=1),f.sheets.set(l,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(l=f.sheets.get(l))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(l);e&&a.push(Ob);return null}if(b.onLoad||b.onError)return L(a,b);e&&a.push(Ob);switch(b.rel){case "preconnect":case "dns-prefetch":return L(d.preconnectChunks,b);case "preload":return L(d.preloadChunks,b);default:return L(d.hoistableChunks, +b)}}function L(a,b){a.push(U("link"));for(var c in b)if(B.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error(k(399,"link"));default:R(a,c,d)}}a.push(bc);return null}function tc(a,b,c){a.push(U(c));for(var d in b)if(B.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(k(399,c));default:R(a,d,e)}}a.push(bc);return null} +function uc(a,b){a.push(U("title"));var c=null,d=null,e;for(e in b)if(B.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(x(F(""+b)));ec(a,d,c);a.push(vc,x("title"),wc);return null} +function Kb(a,b){a.push(U("script"));var c=null,d=null,e;for(e in b)if(B.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);ec(a,d,c);"string"===typeof c&&a.push(x(F(c)));a.push(vc,x("script"),wc);return null} +function xc(a,b,c){a.push(U(c));var d=c=null,e;for(e in b)if(B.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:R(a,e,f)}}a.push(S);ec(a,d,c);return"string"===typeof c?(a.push(x(F(c))),null):c}var yc=y("\n"),zc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ac=new Map;function U(a){var b=Ac.get(a);if(void 0===b){if(!zc.test(a))throw Error(k(65,a));b=y("<"+a);Ac.set(a,b)}return b}var Bc=y("<!DOCTYPE html>"); +function Cc(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(U("select"));var h=null,l=null,n;for(n in c)if(B.call(c,n)){var t=c[n];if(null!=t)switch(n){case "children":h=t;break;case "dangerouslySetInnerHTML":l=t;break;case "defaultValue":case "value":break;default:R(a,n,t)}}a.push(S);ec(a,l,h);return h;case "option":var r=f.selectedValue;a.push(U("option"));var q=null,E=null,H=null,ba=null,u;for(u in c)if(B.call(c, +u)){var A=c[u];if(null!=A)switch(u){case "children":q=A;break;case "selected":H=A;break;case "dangerouslySetInnerHTML":ba=A;break;case "value":E=A;default:R(a,u,A)}}if(null!=r){var G=null!==E?""+E:fc(q);if(Ja(r))for(var la=0;la<r.length;la++){if(""+r[la]===G){a.push(gc);break}}else""+r===G&&a.push(gc)}else H&&a.push(gc);a.push(S);ec(a,ba,q);return q;case "textarea":a.push(U("textarea"));var C=null,X=null,D=null,ha;for(ha in c)if(B.call(c,ha)){var ma=c[ha];if(null!=ma)switch(ha){case "children":D= +ma;break;case "value":C=ma;break;case "defaultValue":X=ma;break;case "dangerouslySetInnerHTML":throw Error(k(91));default:R(a,ha,ma)}}null===C&&null!==X&&(C=X);a.push(S);if(null!=D){if(null!=C)throw Error(k(92));if(Ja(D)){if(1<D.length)throw Error(k(93));C=""+D[0]}C=""+D}"string"===typeof C&&"\n"===C[0]&&a.push(yc);null!==C&&a.push(x(F(""+C)));return null;case "input":a.push(U("input"));var ra=null,T=null,ca=null,I=null,na=null,J=null,sa=null,ta=null,Na=null,ia;for(ia in c)if(B.call(c,ia)){var da= +c[ia];if(null!=da)switch(ia){case "children":case "dangerouslySetInnerHTML":throw Error(k(399,"input"));case "name":ra=da;break;case "formAction":T=da;break;case "formEncType":ca=da;break;case "formMethod":I=da;break;case "formTarget":na=da;break;case "defaultChecked":Na=da;break;case "defaultValue":sa=da;break;case "checked":ta=da;break;case "value":J=da;break;default:R(a,ia,da)}}var ed=cc(a,d,e,T,ca,I,na,ra);null!==ta?Xb(a,"checked",ta):null!==Na&&Xb(a,"checked",Na);null!==J?R(a,"value",J):null!== +sa&&R(a,"value",sa);a.push(bc);null!==ed&&ed.forEach(ac,a);return null;case "button":a.push(U("button"));var ab=null,fd=null,gd=null,hd=null,id=null,jd=null,kd=null,bb;for(bb in c)if(B.call(c,bb)){var oa=c[bb];if(null!=oa)switch(bb){case "children":ab=oa;break;case "dangerouslySetInnerHTML":fd=oa;break;case "name":gd=oa;break;case "formAction":hd=oa;break;case "formEncType":id=oa;break;case "formMethod":jd=oa;break;case "formTarget":kd=oa;break;default:R(a,bb,oa)}}var ld=cc(a,d,e,hd,id,jd,kd,gd); +a.push(S);null!==ld&&ld.forEach(ac,a);ec(a,fd,ab);if("string"===typeof ab){a.push(x(F(ab)));var md=null}else md=ab;return md;case "form":a.push(U("form"));var cb=null,nd=null,ua=null,db=null,eb=null,fb=null,gb;for(gb in c)if(B.call(c,gb)){var va=c[gb];if(null!=va)switch(gb){case "children":cb=va;break;case "dangerouslySetInnerHTML":nd=va;break;case "action":ua=va;break;case "encType":db=va;break;case "method":eb=va;break;case "target":fb=va;break;default:R(a,gb,va)}}var ic=null,jc=null;if("function"=== +typeof ua)if("function"===typeof ua.$$FORM_ACTION){var $e=Yb(d),Oa=ua.$$FORM_ACTION($e);ua=Oa.action||"";db=Oa.encType;eb=Oa.method;fb=Oa.target;ic=Oa.data;jc=Oa.name}else a.push(O,x("action"),Vb,Zb,N),fb=eb=db=ua=null,dc(d,e);null!=ua&&R(a,"action",ua);null!=db&&R(a,"encType",db);null!=eb&&R(a,"method",eb);null!=fb&&R(a,"target",fb);a.push(S);null!==jc&&(a.push($b),P(a,"name",jc),a.push(bc),null!==ic&&ic.forEach(ac,a));ec(a,nd,cb);if("string"===typeof cb){a.push(x(F(cb)));var od=null}else od=cb; +return od;case "menuitem":a.push(U("menuitem"));for(var zb in c)if(B.call(c,zb)){var pd=c[zb];if(null!=pd)switch(zb){case "children":case "dangerouslySetInnerHTML":throw Error(k(400));default:R(a,zb,pd)}}a.push(S);return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var qd=uc(a,c);else uc(e.hoistableChunks,c),qd=null;return qd;case "link":return rc(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var kc=c.async;if("string"!==typeof c.src||!c.src||!kc||"function"=== +typeof kc||"symbol"===typeof kc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var rd=Kb(a,c);else{var Ab=c.src;if("module"===c.type){var Bb=d.moduleScriptResources;var sd=e.preloads.moduleScripts}else Bb=d.scriptResources,sd=e.preloads.scripts;var Cb=Bb.hasOwnProperty(Ab)?Bb[Ab]:void 0;if(null!==Cb){Bb[Ab]=null;var lc=c;if(Cb){2===Cb.length&&(lc=z({},c),sc(lc,Cb));var td=sd.get(Ab);td&&(td.length=0)}var ud=[];e.scripts.add(ud);Kb(ud,lc)}g&&a.push(Ob);rd=null}return rd; +case "style":var Db=c.precedence,Ca=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Db||"string"!==typeof Ca||""===Ca){a.push(U("style"));var Pa=null,vd=null,hb;for(hb in c)if(B.call(c,hb)){var Eb=c[hb];if(null!=Eb)switch(hb){case "children":Pa=Eb;break;case "dangerouslySetInnerHTML":vd=Eb;break;default:R(a,hb,Eb)}}a.push(S);var ib=Array.isArray(Pa)?2>Pa.length?Pa[0]:null:Pa;"function"!==typeof ib&&"symbol"!==typeof ib&&null!==ib&&void 0!==ib&&a.push(x(F(""+ib))); +ec(a,vd,Pa);a.push(vc,x("style"),wc);var wd=null}else{var Da=e.styles.get(Db);if(null!==(d.styleResources.hasOwnProperty(Ca)?d.styleResources[Ca]:void 0)){d.styleResources[Ca]=null;Da?Da.hrefs.push(x(F(Ca))):(Da={precedence:x(F(Db)),rules:[],hrefs:[x(F(Ca))],sheets:new Map},e.styles.set(Db,Da));var xd=Da.rules,Qa=null,yd=null,Fb;for(Fb in c)if(B.call(c,Fb)){var mc=c[Fb];if(null!=mc)switch(Fb){case "children":Qa=mc;break;case "dangerouslySetInnerHTML":yd=mc}}var jb=Array.isArray(Qa)?2>Qa.length?Qa[0]: +null:Qa;"function"!==typeof jb&&"symbol"!==typeof jb&&null!==jb&&void 0!==jb&&xd.push(x(F(""+jb)));ec(xd,yd,Qa)}Da&&e.boundaryResources&&e.boundaryResources.styles.add(Da);g&&a.push(Ob);wd=void 0}return wd;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var zd=tc(a,c,"meta");else g&&a.push(Ob),zd="string"===typeof c.charSet?tc(e.charsetChunks,c,"meta"):"viewport"===c.name?tc(e.preconnectChunks,c,"meta"):tc(e.hoistableChunks,c,"meta");return zd;case "listing":case "pre":a.push(U(b)); +var kb=null,lb=null,mb;for(mb in c)if(B.call(c,mb)){var Gb=c[mb];if(null!=Gb)switch(mb){case "children":kb=Gb;break;case "dangerouslySetInnerHTML":lb=Gb;break;default:R(a,mb,Gb)}}a.push(S);if(null!=lb){if(null!=kb)throw Error(k(60));if("object"!==typeof lb||!("__html"in lb))throw Error(k(61));var Ea=lb.__html;null!==Ea&&void 0!==Ea&&("string"===typeof Ea&&0<Ea.length&&"\n"===Ea[0]?a.push(yc,x(Ea)):a.push(x(""+Ea)))}"string"===typeof kb&&"\n"===kb[0]&&a.push(yc);return kb;case "img":var Q=c.src,K= +c.srcSet;if(!("lazy"===c.loading||!Q&&!K||"string"!==typeof Q&&null!=Q||"string"!==typeof K&&null!=K)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof Q||":"!==Q[4]||"d"!==Q[0]&&"D"!==Q[0]||"a"!==Q[1]&&"A"!==Q[1]||"t"!==Q[2]&&"T"!==Q[2]||"a"!==Q[3]&&"A"!==Q[3])&&("string"!==typeof K||":"!==K[4]||"d"!==K[0]&&"D"!==K[0]||"a"!==K[1]&&"A"!==K[1]||"t"!==K[2]&&"T"!==K[2]||"a"!==K[3]&&"A"!==K[3])){var Ad="string"===typeof c.sizes?c.sizes:void 0,nb=K?K+"\n"+(Ad||""):Q,nc=e.preloads.images, +Fa=nc.get(nb);if(Fa){if("high"===c.fetchPriority||10>e.highImagePreloads.size)nc.delete(nb),e.highImagePreloads.add(Fa)}else d.imageResources.hasOwnProperty(nb)||(d.imageResources[nb]=$a,Fa=[],L(Fa,{rel:"preload",as:"image",href:K?void 0:Q,imageSrcSet:K,imageSizes:Ad,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Fa):(e.bulkPreloads.add(Fa),nc.set(nb, +Fa)))}return tc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return tc(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Bd=xc(e.headChunks,c,"head")}else Bd=xc(a,c,"head");return Bd;case "html":if(0=== +f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[Bc];var Cd=xc(e.htmlChunks,c,"html")}else Cd=xc(a,c,"html");return Cd;default:if(-1!==b.indexOf("-")){a.push(U(b));var oc=null,Dd=null,Ra;for(Ra in c)if(B.call(c,Ra)){var Ga=c[Ra];if(null!=Ga){var af=Ra;switch(Ra){case "children":oc=Ga;break;case "dangerouslySetInnerHTML":Dd=Ga;break;case "style":Ub(a,Ga);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:ya(Ra)&&"function"!==typeof Ga&&"symbol"!==typeof Ga&& +a.push(O,x(af),Vb,x(F(Ga)),N)}}}a.push(S);ec(a,Dd,oc);return oc}}return xc(a,c,b)}var vc=y("</"),wc=y(">");function Dc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)v(a,b[c]);return c<b.length?(c=b[c],b.length=0,w(a,c)):!0}var Ec=y('<template id="'),Fc=y('"></template>'),Gc=y("\x3c!--$--\x3e"),Hc=y('\x3c!--$?--\x3e<template id="'),Ic=y('"></template>'),Jc=y("\x3c!--$!--\x3e"),Kc=y("\x3c!--/$--\x3e"),Lc=y("<template"),Mc=y('"'),Nc=y(' data-dgst="');y(' data-msg="');y(' data-stck="'); +var Oc=y("></template>");function Pc(a,b,c){v(a,Hc);if(null===c)throw Error(k(395));v(a,b.boundaryPrefix);v(a,x(c.toString(16)));return w(a,Ic)} +var Qc=y('<div hidden id="'),Rc=y('">'),Sc=y("</div>"),Tc=y('<svg aria-hidden="true" style="display:none" id="'),Uc=y('">'),Vc=y("</svg>"),Wc=y('<math aria-hidden="true" style="display:none" id="'),Xc=y('">'),Yc=y("</math>"),Zc=y('<table hidden id="'),$c=y('">'),ad=y("</table>"),bd=y('<table hidden><tbody id="'),cd=y('">'),dd=y("</tbody></table>"),Ed=y('<table hidden><tr id="'),Fd=y('">'),Gd=y("</tr></table>"),Hd=y('<table hidden><colgroup id="'),Id=y('">'),Jd=y("</colgroup></table>"); +function Kd(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return v(a,Qc),v(a,b.segmentPrefix),v(a,x(d.toString(16))),w(a,Rc);case 3:return v(a,Tc),v(a,b.segmentPrefix),v(a,x(d.toString(16))),w(a,Uc);case 4:return v(a,Wc),v(a,b.segmentPrefix),v(a,x(d.toString(16))),w(a,Xc);case 5:return v(a,Zc),v(a,b.segmentPrefix),v(a,x(d.toString(16))),w(a,$c);case 6:return v(a,bd),v(a,b.segmentPrefix),v(a,x(d.toString(16))),w(a,cd);case 7:return v(a,Ed),v(a,b.segmentPrefix),v(a,x(d.toString(16))),w(a,Fd); +case 8:return v(a,Hd),v(a,b.segmentPrefix),v(a,x(d.toString(16))),w(a,Id);default:throw Error(k(397));}}function Ld(a,b){switch(b.insertionMode){case 0:case 1:case 2:return w(a,Sc);case 3:return w(a,Vc);case 4:return w(a,Yc);case 5:return w(a,ad);case 6:return w(a,dd);case 7:return w(a,Gd);case 8:return w(a,Jd);default:throw Error(k(397));}} +var Md=y('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Nd=y('$RS("'),Od=y('","'),Pd=y('")\x3c/script>'),Qd=y('<template data-rsi="" data-sid="'),Rd=y('" data-pid="'),Sd=y('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), +Td=y('$RC("'),Ud=y('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Vd=y('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Wd=y('$RR("'),Xd=y('","'),Yd=y('",'),Zd=y('"'),$d=y(")\x3c/script>"),ae=y('<template data-rci="" data-bid="'),be=y('<template data-rri="" data-bid="'),ce=y('" data-sid="'),de=y('" data-sty="'),ee=y('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),fe=y('$RX("'),ge=y('"'),he=y(","),ie=y(")\x3c/script>"),je=y('<template data-rxi="" data-bid="'),ke=y('" data-dgst="'), +le=y('" data-msg="'),me=y('" data-stck="'),ne=/[<\u2028\u2029]/g;function oe(a){return JSON.stringify(a).replace(ne,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var pe=/[&><\u2028\u2029]/g; +function qe(a){return JSON.stringify(a).replace(pe,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} +var re=y('<style media="not all" data-precedence="'),se=y('" data-href="'),te=y('">'),ue=y("</style>"),ve=!1,we=!0;function xe(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){v(this,re);v(this,a.precedence);for(v(this,se);d<c.length-1;d++)v(this,c[d]),v(this,ye);v(this,c[d]);v(this,te);for(d=0;d<b.length;d++)v(this,b[d]);we=w(this,ue);ve=!0;b.length=0;c.length=0}}function ze(a){return 2!==a.state?ve=!0:!1} +function Ae(a,b,c){ve=!1;we=!0;b.styles.forEach(xe,a);b.stylesheets.forEach(ze);ve&&(c.stylesToHoist=!0);return we}function Be(a){for(var b=0;b<a.length;b++)v(this,a[b]);a.length=0}var Ce=[];function De(a){L(Ce,a.props);for(var b=0;b<Ce.length;b++)v(this,Ce[b]);Ce.length=0;a.state=2}var Ee=y('<style data-precedence="'),Fe=y('" data-href="'),ye=y(" "),Ge=y('">'),He=y("</style>"); +function Ie(a){var b=0<a.sheets.size;a.sheets.forEach(De,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){v(this,Ee);v(this,a.precedence);a=0;if(d.length){for(v(this,Fe);a<d.length-1;a++)v(this,d[a]),v(this,ye);v(this,d[a])}v(this,Ge);for(a=0;a<c.length;a++)v(this,c[a]);v(this,He);c.length=0;d.length=0}} +function Je(a){if(0===a.state){a.state=1;var b=a.props;L(Ce,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<Ce.length;a++)v(this,Ce[a]);Ce.length=0}}function Ke(a){a.sheets.forEach(Je,this);a.sheets.clear()}var Le=y("["),Me=y(",["),Ne=y(","),Oe=y("]"); +function Pe(a,b){v(a,Le);var c=Le;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)v(a,c),v(a,x(qe(""+d.props.href))),v(a,Oe),c=Me;else{v(a,c);var e=d.props["data-precedence"],f=d.props;v(a,x(qe(""+d.props.href)));e=""+e;v(a,Ne);v(a,x(qe(e)));for(var g in f)if(B.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(k(399,"link"));default:a:{e=a;var l=g.toLowerCase(); +switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!ya(g))break a;h=""+h}v(e,Ne);v(e,x(qe(l)));v(e,Ne);v(e,x(qe(h)))}}}v(a,Oe);c=Me;d.state=3}});v(a,Oe)} +function Qe(a,b){v(a,Le);var c=Le;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)v(a,c),v(a,x(F(JSON.stringify(""+d.props.href)))),v(a,Oe),c=Me;else{v(a,c);var e=d.props["data-precedence"],f=d.props;v(a,x(F(JSON.stringify(""+d.props.href))));e=""+e;v(a,Ne);v(a,x(F(JSON.stringify(e))));for(var g in f)if(B.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error(k(399, +"link"));default:a:{e=a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!ya(g))break a;h=""+h}v(e,Ne);v(e,x(F(JSON.stringify(l)))); +v(e,Ne);v(e,x(F(JSON.stringify(h))))}}}v(a,Oe);c=Me;d.state=3}});v(a,Oe)}function Sa(a){var b=V?V:null;if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;L(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Re(b)}}} +function Ta(a,b){var c=V?V:null;if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;L(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Re(c)}}} +function Ua(a,b,c){var d=V?V:null;if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var l=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=$a;e=[];L(e,z({rel:"preload",href:g?void 0:a,as:b},c));"high"===l?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];L(g,z({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?$a:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);L(g,z({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?$a:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=z({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}L(e,c);g[a]=$a}Re(d)}}} +function Va(a,b){var c=V?V:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?$a:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=$a}L(f,z({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Re(c)}}} +function Wa(a,b,c){var d=V?V:null;if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:x(F(b)),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:z({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&sc(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Re(d))}}} +function Xa(a,b){var c=V?V:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=z({src:a,async:!0},b),f&&(2===f.length&&sc(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Kb(a,b),Re(c))}}} +function Ya(a,b){var c=V?V:null;if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=z({src:a,type:"module",async:!0},b),f&&(2===f.length&&sc(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Kb(a,b),Re(c))}}}function sc(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Se(a){this.styles.add(a)} +function Te(a){this.stylesheets.add(a)} +var Ue=Symbol.for("react.element"),Ve=Symbol.for("react.portal"),We=Symbol.for("react.fragment"),Xe=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),Ze=Symbol.for("react.provider"),bf=Symbol.for("react.context"),cf=Symbol.for("react.server_context"),df=Symbol.for("react.forward_ref"),ef=Symbol.for("react.suspense"),ff=Symbol.for("react.suspense_list"),gf=Symbol.for("react.memo"),hf=Symbol.for("react.lazy"),jf=Symbol.for("react.scope"),kf=Symbol.for("react.debug_trace_mode"),lf=Symbol.for("react.offscreen"), +mf=Symbol.for("react.legacy_hidden"),nf=Symbol.for("react.cache"),of=Symbol.for("react.default_value"),pf=Symbol.iterator; +function qf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case We:return"Fragment";case Ve:return"Portal";case Ye:return"Profiler";case Xe:return"StrictMode";case ef:return"Suspense";case ff:return"SuspenseList";case nf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case bf:return(a.displayName||"Context")+".Consumer";case Ze:return(a._context.displayName||"Context")+".Provider";case df:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case gf:return b=a.displayName||null,null!==b?b:qf(a.type)||"Memo";case hf:b=a._payload;a=a._init;try{return qf(a(b))}catch(c){}}return null}var rf={};function sf(a,b){a=a.contextTypes;if(!a)return rf;var c={},d;for(d in a)c[d]=b[d];return c}var tf=null; +function uf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(k(401));}else{if(null===c)throw Error(k(401));uf(a,c)}b.context._currentValue=b.value}}function vf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&vf(a)}function wf(a){var b=a.parent;null!==b&&wf(b);a.context._currentValue=a.value} +function xf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error(k(402));a.depth===b.depth?uf(a,b):xf(a,b)}function yf(a,b){var c=b.parent;if(null===c)throw Error(k(402));a.depth===c.depth?uf(a,c):yf(a,c);b.context._currentValue=b.value}function zf(a){var b=tf;b!==a&&(null===b?wf(a):null===a?vf(b):b.depth===a.depth?uf(b,a):b.depth>a.depth?xf(b,a):yf(b,a),tf=a)} +var Af={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function Bf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Af;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:z({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Af.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=z({},f,h)):z(f,h))}a.state=f}else f.queue=null} +var Cf={id:1,overflow:""};function Df(a,b,c){var d=a.id;a=a.overflow;var e=32-Ef(d)-1;d&=~(1<<e);c+=1;var f=32-Ef(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Ef(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Ef=Math.clz32?Math.clz32:Ff,Gf=Math.log,Hf=Math.LN2;function Ff(a){a>>>=0;return 0===a?32:31-(Gf(a)/Hf|0)|0}var If=Error(k(460));function Jf(){} +function Kf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Jf,Jf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Lf=b;throw If;}}var Lf=null; +function Mf(){if(null===Lf)throw Error(k(459));var a=Lf;Lf=null;return a}function Nf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Of="function"===typeof Object.is?Object.is:Nf,Pf=null,Qf=null,Rf=null,Sf=null,Tf=null,W=null,Uf=!1,Vf=!1,Wf=0,Xf=0,Yf=-1,Zf=0,$f=null,ag=null,bg=0;function cg(){if(null===Pf)throw Error(k(321));return Pf}function dg(){if(0<bg)throw Error(k(312));return{memoizedState:null,queue:null,next:null}} +function eg(){null===W?null===Tf?(Uf=!1,Tf=W=dg()):(Uf=!0,W=Tf):null===W.next?(Uf=!1,W=W.next=dg()):(Uf=!0,W=W.next);return W}function fg(a,b,c,d){for(;Vf;)Vf=!1,Xf=Wf=0,Yf=-1,Zf=0,bg+=1,W=null,c=a(b,d);gg();return c}function hg(){var a=$f;$f=null;return a}function gg(){Sf=Rf=Qf=Pf=null;Vf=!1;Tf=null;bg=0;W=ag=null}function ig(a,b){return"function"===typeof b?b(a):b} +function jg(a,b,c){Pf=cg();W=eg();if(Uf){var d=W.queue;b=d.dispatch;if(null!==ag&&(c=ag.get(d),void 0!==c)){ag.delete(d);d=W.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);W.memoizedState=d;return[d,b]}return[W.memoizedState,b]}a=a===ig?"function"===typeof b?b():b:void 0!==c?c(b):b;W.memoizedState=a;a=W.queue={last:null,dispatch:null};a=a.dispatch=kg.bind(null,Pf,a);return[W.memoizedState,a]} +function lg(a,b){Pf=cg();W=eg();b=void 0===b?null:b;if(null!==W){var c=W.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Of(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();W.memoizedState=[a,b];return a}function kg(a,b,c){if(25<=bg)throw Error(k(301));if(a===Pf)if(Vf=!0,a={action:c,next:null},null===ag&&(ag=new Map),c=ag.get(b),void 0===c)ag.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}} +function mg(){throw Error(k(394));}function ng(){throw Error(k(479));}function og(a){var b=Zf;Zf+=1;null===$f&&($f=[]);return Kf($f,a,b)}function pg(){throw Error(k(393));}function qg(){} +var sg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return og(a);if(a.$$typeof===bf||a.$$typeof===cf)return a._currentValue}throw Error(k(438,String(a)));},useContext:function(a){cg();return a._currentValue},useMemo:lg,useReducer:jg,useRef:function(a){Pf=cg();W=eg();var b=W.memoizedState;return null===b?(a={current:a},W.memoizedState=a):b},useState:function(a){return jg(ig,a)},useInsertionEffect:qg,useLayoutEffect:qg, +useCallback:function(a,b){return lg(function(){return a},b)},useImperativeHandle:qg,useEffect:qg,useDebugValue:qg,useDeferredValue:function(a){cg();return a},useTransition:function(){cg();return[!1,mg]},useId:function(){var a=Qf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Ef(a)-1)).toString(32)+b;var c=rg;if(null===c)throw Error(k(404));b=Wf++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(k(407));return c()},useCacheRefresh:function(){return pg}, +useHostTransitionStatus:function(){cg();return La},useOptimistic:function(a){cg();return[a,ng]},useFormState:function(a,b,c){cg();var d=Xf++,e=Rf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Sf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL;if(null!==e&&"function"===typeof h){var l=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+fa(JSON.stringify([g,null,d]),0),l===f&&(Yf=d,b=e[0]))}var n=a.bind(null,b);a=function(r){n(r)};"function"===typeof n.$$FORM_ACTION&&(a.$$FORM_ACTION=function(r){r= +n.$$FORM_ACTION(r);void 0!==c&&(c+="",r.action=c);var q=r.data;q&&(null===f&&(f=void 0!==c?"p"+c:"k"+fa(JSON.stringify([g,null,d]),0)),q.append("$ACTION_KEY",f));return r});return[b,a]}var t=a.bind(null,b);return[b,function(r){t(r)}]}},rg=null,tg={getCacheSignal:function(){throw Error(k(248));},getCacheForType:function(){throw Error(k(248));}},ug=Ka.ReactCurrentDispatcher,vg=Ka.ReactCurrentCache;function wg(a){console.error(a);return null}function xg(){} +function yg(a,b,c,d,e,f,g,h,l,n,t,r){Ma.current=Za;var q=[],E=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:E,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?wg:f,onPostpone:void 0===t?xg:t,onAllReady:void 0===g? +xg:g,onShellReady:void 0===h?xg:h,onShellError:void 0===l?xg:l,onFatalError:void 0===n?xg:n,formState:void 0===r?null:r};c=zg(b,0,null,d,!1,!1);c.parentFlushed=!0;a=Ag(b,null,a,-1,null,c,E,null,d,rf,null,Cf);q.push(a);return b}var V=null;function Bg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,Cg(a))} +function Dg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function Ag(a,b,c,d,e,f,g,h,l,n,t,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var q={replay:null,node:c,childIndex:d,ping:function(){return Bg(a,q)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:t,treeContext:r,thenableState:b};g.add(q);return q} +function Eg(a,b,c,d,e,f,g,h,l,n,t,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var q={replay:c,node:d,childIndex:e,ping:function(){return Bg(a,q)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:t,treeContext:r,thenableState:b};g.add(q);return q}function zg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function Y(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Fg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,pa(a.destination,b)):(a.status=1,a.fatalError=b)} +function Gg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error(k(108,qf(e)||"Unknown",h));e=z({},c,d)}b.legacyContext=e;Z(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Z(a,b,null,f,-1),b.keyPath=e} +function Hg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var l=b.blockedSegment;if(null!==l){h=!0;l=l.chunks;for(var n=0;n<f;n++)n===g?l.push(pc):l.push(qc)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Df(c,1,0),Ig(a,b,d,-1),b.treeContext=c):h?Ig(a,b,d,-1):Z(a,b,null,d,-1);b.keyPath=f}function Jg(a,b){if(a&&a.defaultProps){b=z({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Kg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=sf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Bf(h,e,f,d);Gg(a,b,c,h,e)}else{h=sf(e,b.legacyContext);Pf={};Qf=b;Rf=a;Sf=c;Xf=Wf=0;Yf=-1;Zf=0;$f=d;d=e(f,h);d=fg(e,f,d,h);g=0!==Wf;var l=Xf,n=Yf;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Bf(d,e,f,h),Gg(a,b,c,d,e)):Hg(a,b,c,d,g,l,n)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Nb(h,e,f),b.keyPath=c,Ig(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Cc(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;l=b.keyPath;b.formatContext=Nb(h,e,f);b.keyPath=c;Ig(a,b,g,-1);b.formatContext=h;b.keyPath=l;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(vc,x(e),wc)}d.lastPushedText=!1}else{switch(e){case mf:case kf:case Xe:case Ye:case We:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case lf:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Z(a,b,null,f.children,-1),b.keyPath=e);return;case ff:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case jf:throw Error(k(343));case ef:a:if(null!== +b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Ig(a,b,c,-1)}finally{b.keyPath=e}}else{n=b.keyPath;e=b.blockedBoundary;var t=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=Dg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);l=zg(a,t.chunks.length,g,b.formatContext,!1,!1);t.children.push(l);t.lastPushedText=!1;var q=zg(a,0,null,b.formatContext,!1,!1);q.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=q;a.renderState.boundaryResources=g.resources;b.keyPath=c;try{if(Ig(a, +b,r,-1),q.lastPushedText&&q.textEmbedded&&q.chunks.push(Ob),q.status=1,Lg(g,q),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(E){q.status=4,g.status=4,h=Y(a,E),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=t,b.keyPath=n}h=[c[0],"Suspense Fallback",c[2]];n=a.trackedPostpones;null!==n&&(t=[h[1],h[2],[],null],n.workingMap.set(h,t),5===g.status?n.workingMap.get(c)[4]=t:g.trackedFallbackNode=t);b=Ag(a,null,d,-1,e,l,f,h,b.formatContext, +b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case df:e=e.render;Pf={};Qf=b;Rf=a;Sf=c;Xf=Wf=0;Yf=-1;Zf=0;$f=d;d=e(f,g);f=fg(e,f,d,g);Hg(a,b,c,f,0!==Wf,Xf,Yf);return;case gf:e=e.type;f=Jg(e,f);Kg(a,b,c,d,e,f,g);return;case Ze:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;l=tf;tf=f={parent:l,depth:null===l?0:l.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath=c;Z(a,b,null,h, +-1);a=tf;if(null===a)throw Error(k(403));c=a.parentValue;a.context._currentValue=c===of?a.context._defaultValue:c;a=tf=a.parent;b.context=a;b.keyPath=d;return;case bf:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;Z(a,b,null,f,-1);b.keyPath=e;return;case hf:h=e._init;e=h(e._payload);f=Jg(e,f);Kg(a,b,c,d,e,f,void 0);return}throw Error(k(130,null==e?e:typeof e,""));}} +function Mg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=zg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Ig(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Lg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function Z(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Mg(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Ue:var f=d.type,g=d.key,h=d.props,l=d.ref,n=qf(f),t=null==g?-1===e?0:e:g;g=[b.keyPath,n,t];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var q=e[d];if(t===q[1]){if(4===q.length){if(null!==n&&n!==q[0])throw Error(k(490,q[0],n));n=q[2];q=q[3];t=b.node;b.replay={nodes:n,slots:q,pendingTasks:1}; +try{Kg(a,b,g,c,f,h,l);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(k(488));b.replay.pendingTasks--}catch(G){if("object"===typeof G&&null!==G&&(G===If||"function"===typeof G.then))throw b.node===t&&(b.replay=r),G;b.replay.pendingTasks--;g=a;a=b.blockedBoundary;c=G;h=Y(g,c);Ng(g,a,n,q,c,h)}b.replay=r}else{if(f!==ef)throw Error(k(490,"Suspense",qf(f)||"Unknown"));b:{r=void 0;c=q[5];f=q[2];l=q[3];n=null===q[4]?[]:q[4][2];q=null===q[4]?null:q[4][3];t=b.keyPath;var E=b.replay,H=b.blockedBoundary, +ba=h.children;h=h.fallback;var u=new Set,A=Dg(a,u);A.parentFlushed=!0;A.rootSegmentID=c;b.blockedBoundary=A;b.replay={nodes:f,slots:l,pendingTasks:1};a.renderState.boundaryResources=A.resources;try{Ig(a,b,ba,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(k(488));b.replay.pendingTasks--;if(0===A.pendingTasks&&0===A.status){A.status=1;a.completedBoundaries.push(A);break b}}catch(G){A.status=4,r=Y(a,G),A.errorDigest=r,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(A)}finally{a.renderState.boundaryResources= +H?H.resources:null,b.blockedBoundary=H,b.replay=E,b.keyPath=t}b=Eg(a,null,{nodes:n,slots:q,pendingTasks:0},h,-1,H,u,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else Kg(a,b,g,c,f,h,l);return;case Ve:throw Error(k(257));case hf:h=d._init;d=h(d._payload);Z(a,b,null,d,e);return}if(Ja(d)){Og(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=pf&&d[pf]||d["@@iterator"],h="function"===typeof h?h:null);if(h&& +(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Og(a,b,g,e)}return}if("function"===typeof d.then)return Z(a,b,null,og(d),e);if(d.$$typeof===bf||d.$$typeof===cf)return Z(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error(k(31,"[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e));}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Pb(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&& +(e=b.blockedSegment,null!==e&&(e.lastPushedText=Pb(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Og(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var l=g[h];if(l[1]===d){d=l[2];l=l[3];b.replay={nodes:d,slots:l,pendingTasks:1};try{Og(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error(k(488));b.replay.pendingTasks--}catch(r){if("object"===typeof r&&null!==r&&(r===If||"function"===typeof r.then))throw r;b.replay.pendingTasks--;c=a;var n=b.blockedBoundary,t=r;a=Y(c,t);Ng(c, +n,d,l,t,a)}b.replay=f;g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(d=0;d<g;d++)l=c[d],b.treeContext=Df(f,g,d),n=h[d],"number"===typeof n?(Mg(a,b,n,l,d),delete h[d]):Ig(a,b,l,d);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)d=c[h],b.treeContext=Df(f,g,h),Ig(a,b,d,h);b.treeContext=f;b.keyPath=e} +function Ig(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,l=b.treeContext,n=b.blockedSegment;if(null===n)try{return Z(a,b,null,c,d)}catch(q){if(gg(),c=q===If?Mf():q,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=hg();a=Eg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;zf(g);return}}else{var t= +n.children.length,r=n.chunks.length;try{return Z(a,b,null,c,d)}catch(q){if(gg(),n.children.length=t,n.chunks.length=r,c=q===If?Mf():q,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=hg();n=b.blockedSegment;t=zg(a,n.chunks.length,null,b.formatContext,n.lastPushedText,!0);n.children.push(t);n.lastPushedText=!1;a=Ag(a,d,b.node,b.childIndex,b.blockedBoundary,t,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=l;zf(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;zf(g);throw c;}function Pg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Qg(this,b,a))} +function Ng(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Ng(a,b,h[2],h[3],e,f);else{h=h[5];var l=a,n=f,t=Dg(l,new Set);t.parentFlushed=!0;t.rootSegmentID=h;t.status=4;t.errorDigest=n;t.parentFlushed&&l.clientRenderedBoundaries.push(t)}}c.length=0;if(null!==d){if(null===b)throw Error(k(487));4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} +function Rg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){Y(b,c);Fg(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=Y(b,c),Ng(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=xg,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=Y(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Rg(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Lg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Lg(a,c)}else a.completedSegments.push(b)} +function Qg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error(k(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=xg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Lg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Pg,a),b.fallbackAbortableTasks.clear())):null!== +c&&c.parentFlushed&&1===c.status&&(Lg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function Cg(a){if(2!==a.status){var b=tf,c=ug.current;ug.current=sg;var d=vg.current;vg.current=tg;var e=V;V=a;var f=rg;rg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var l=g[h],n=a,t=l.blockedBoundary;n.renderState.boundaryResources=t?t.resources:null;var r=l.blockedSegment;if(null===r){var q=n;if(0!==l.replay.pendingTasks){zf(l.context);try{var E=l.thenableState;l.thenableState=null;Z(q,l,E,l.node,-1);if(1===l.replay.pendingTasks&&0<l.replay.nodes.length)throw Error(k(488)); +l.replay.pendingTasks--;l.abortSet.delete(l);Qg(q,l.blockedBoundary,null)}catch(J){gg();var H=J===If?Mf():J;if("object"===typeof H&&null!==H&&"function"===typeof H.then){var ba=l.ping;H.then(ba,ba);l.thenableState=hg()}else{l.replay.pendingTasks--;l.abortSet.delete(l);n=void 0;var u=q,A=l.blockedBoundary,G=H,la=l.replay.nodes,C=l.replay.slots;n=Y(u,G);Ng(u,A,la,C,G,n);q.pendingRootTasks--;if(0===q.pendingRootTasks){q.onShellError=xg;var X=q.onShellReady;X()}q.allPendingTasks--;if(0===q.allPendingTasks){var D= +q.onAllReady;D()}}}finally{q.renderState.boundaryResources=null}}}else if(q=void 0,u=r,0===u.status){zf(l.context);var ha=u.children.length,ma=u.chunks.length;try{var ra=l.thenableState;l.thenableState=null;Z(n,l,ra,l.node,l.childIndex);u.lastPushedText&&u.textEmbedded&&u.chunks.push(Ob);l.abortSet.delete(l);u.status=1;Qg(n,l.blockedBoundary,u)}catch(J){gg();u.children.length=ha;u.chunks.length=ma;var T=J===If?Mf():J;if("object"===typeof T&&null!==T&&"function"===typeof T.then){var ca=l.ping;T.then(ca, +ca);l.thenableState=hg()}else{l.abortSet.delete(l);u.status=4;var I=l.blockedBoundary;q=Y(n,T);null===I?Fg(n,T):(I.pendingTasks--,4!==I.status&&(I.status=4,I.errorDigest=q,I.parentFlushed&&n.clientRenderedBoundaries.push(I)));n.allPendingTasks--;if(0===n.allPendingTasks){var na=n.onAllReady;na()}}}finally{n.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Sg(a,a.destination)}catch(J){Y(a,J),Fg(a,J)}finally{rg=f,ug.current=c,vg.current=d,c===sg&&zf(b),V=e}}} +function Tg(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;v(b,Ec);v(b,a.placeholderPrefix);a=x(d.toString(16));v(b,a);return w(b,Fc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)v(b,d[f]);e=Ug(a,b,e)}for(;f<d.length-1;f++)v(b,d[f]);f<d.length&&(e=w(b,d[f]));return e;default:throw Error(k(390));}} +function Ug(a,b,c){var d=c.boundary;if(null===d)return Tg(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,w(b,Jc),v(b,Lc),d&&(v(b,Nc),v(b,x(F(d))),v(b,Mc)),w(b,Oc),Tg(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Pc(b,a.renderState,d.rootSegmentID),Tg(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Pc(b,a.renderState,d.rootSegmentID), +Tg(a,b,c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Se,e),c.stylesheets.forEach(Te,e));w(b,Gc);d=d.completedSegments;if(1!==d.length)throw Error(k(391));Ug(a,b,d[0])}return w(b,Kc)}function Vg(a,b,c){Kd(b,a.renderState,c.parentFormatContext,c.id);Ug(a,b,c);return Ld(b,c.parentFormatContext)} +function Wg(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Xg(a,b,c,d[e]);d.length=0;Ae(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(v(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,v(b,512<Ud.byteLength?Ud.slice():Ud)):0===(d.instructions&8)?(d.instructions|=8,v(b,Vd)):v(b,Wd):0===(d.instructions&2)?(d.instructions|= +2,v(b,Sd)):v(b,Td)):f?v(b,be):v(b,ae);d=x(e.toString(16));v(b,a.boundaryPrefix);v(b,d);g?v(b,Xd):v(b,ce);v(b,a.segmentPrefix);v(b,d);f?g?(v(b,Yd),Pe(b,c)):(v(b,de),Qe(b,c)):g&&v(b,Zd);d=g?w(b,$d):w(b,ob);return Dc(b,a)&&d} +function Xg(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error(k(392));return Vg(a,b,d)}if(e===c.rootSegmentID)return Vg(a,b,d);Vg(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(v(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,v(b,Md)):v(b,Nd)):v(b,Qd);v(b,a.segmentPrefix);e=x(e.toString(16));v(b,e);d?v(b,Od):v(b,Rd);v(b,a.placeholderPrefix);v(b,e);b=d?w(b,Pd):w(b,ob);return b} +function Sg(a,b){m=new Uint8Array(512);p=0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,l=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(l))}var n=e.htmlChunks,t=e.headChunks;f=0;if(n){for(f=0;f<n.length;f++)v(b,n[f]);if(t)for(f=0;f<t.length;f++)v(b,t[f]);else v(b,U("head")), +v(b,S)}else if(t)for(f=0;f<t.length;f++)v(b,t[f]);var r=e.charsetChunks;for(f=0;f<r.length;f++)v(b,r[f]);r.length=0;e.preconnects.forEach(Be,b);e.preconnects.clear();var q=e.preconnectChunks;for(f=0;f<q.length;f++)v(b,q[f]);q.length=0;e.fontPreloads.forEach(Be,b);e.fontPreloads.clear();e.highImagePreloads.forEach(Be,b);e.highImagePreloads.clear();e.styles.forEach(Ie,b);var E=e.importMapChunks;for(f=0;f<E.length;f++)v(b,E[f]);E.length=0;e.bootstrapScripts.forEach(Be,b);e.scripts.forEach(Be,b);e.scripts.clear(); +e.bulkPreloads.forEach(Be,b);e.bulkPreloads.clear();var H=e.preloadChunks;for(f=0;f<H.length;f++)v(b,H[f]);H.length=0;var ba=e.hoistableChunks;for(f=0;f<ba.length;f++)v(b,ba[f]);ba.length=0;n&&null===t&&(v(b,vc),v(b,x("head")),v(b,wc));Ug(a,b,d);a.completedRootSegment=null;Dc(b,a.renderState)}else return;var u=a.renderState;d=0;u.preconnects.forEach(Be,b);u.preconnects.clear();var A=u.preconnectChunks;for(d=0;d<A.length;d++)v(b,A[d]);A.length=0;u.fontPreloads.forEach(Be,b);u.fontPreloads.clear(); +u.highImagePreloads.forEach(Be,b);u.highImagePreloads.clear();u.styles.forEach(Ke,b);u.scripts.forEach(Be,b);u.scripts.clear();u.bulkPreloads.forEach(Be,b);u.bulkPreloads.clear();var G=u.preloadChunks;for(d=0;d<G.length;d++)v(b,G[d]);G.length=0;var la=u.hoistableChunks;for(d=0;d<la.length;d++)v(b,la[d]);la.length=0;var C=a.clientRenderedBoundaries;for(c=0;c<C.length;c++){var X=C[c];u=b;var D=a.resumableState,ha=a.renderState,ma=X.rootSegmentID,ra=X.errorDigest,T=X.errorMessage,ca=X.errorComponentStack, +I=0===D.streamingFormat;I?(v(u,ha.startInlineScript),0===(D.instructions&4)?(D.instructions|=4,v(u,ee)):v(u,fe)):v(u,je);v(u,ha.boundaryPrefix);v(u,x(ma.toString(16)));I&&v(u,ge);if(ra||T||ca)I?(v(u,he),v(u,x(oe(ra||"")))):(v(u,ke),v(u,x(F(ra||""))));if(T||ca)I?(v(u,he),v(u,x(oe(T||"")))):(v(u,le),v(u,x(F(T||""))));ca&&(I?(v(u,he),v(u,x(oe(ca)))):(v(u,me),v(u,x(F(ca)))));if(I?!w(u,ie):!w(u,ob)){a.destination=null;c++;C.splice(0,c);return}}C.splice(0,c);var na=a.completedBoundaries;for(c=0;c<na.length;c++)if(!Wg(a, +b,na[c])){a.destination=null;c++;na.splice(0,c);return}na.splice(0,c);ja(b);m=new Uint8Array(512);p=0;var J=a.partialBoundaries;for(c=0;c<J.length;c++){var sa=J[c];a:{C=a;X=b;C.renderState.boundaryResources=sa.resources;var ta=sa.completedSegments;for(D=0;D<ta.length;D++)if(!Xg(C,X,sa,ta[D])){D++;ta.splice(0,D);var Na=!1;break a}ta.splice(0,D);Na=Ae(X,sa.resources,C.renderState)}if(!Na){a.destination=null;c++;J.splice(0,c);return}}J.splice(0,c);var ia=a.completedBoundaries;for(c=0;c<ia.length;c++)if(!Wg(a, +b,ia[c])){a.destination=null;c++;ia.splice(0,c);return}ia.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,c=a.resumableState,c.hasBody&&(v(b,vc),v(b,x("body")),v(b,wc)),c.hasHtml&&(v(b,vc),v(b,x("html")),v(b,wc)),ja(b),b.close(),a.destination=null):ja(b)}} +function Re(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){a.flushScheduled=!0;var b=a.destination;b?Sg(a,b):a.flushScheduled=!1}}function Yg(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error(k(432)):b;c.forEach(function(e){return Rg(e,a,d)});c.clear()}null!==a.destination&&Sg(a,a.destination)}catch(e){Y(a,e),Fg(a,e)}} +exports.renderToReadableStream=function(a,b){return new Promise(function(c,d){var e,f,g=new Promise(function(r,q){f=r;e=q}),h=Lb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),l=yg(a,h,Jb(h,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Mb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,f,function(){var r=new ReadableStream({type:"bytes", +pull:function(q){if(1===l.status)l.status=2,pa(q,l.fatalError);else if(2!==l.status&&null===l.destination){l.destination=q;try{Sg(l,q)}catch(E){Y(l,E),Fg(l,E)}}},cancel:function(q){l.destination=null;Yg(l,q)}},{highWaterMark:0});r.allReady=g;c(r)},function(r){g.catch(function(){});d(r)},e,b?b.onPostpone:void 0,b?b.formState:void 0);if(b&&b.signal){var n=b.signal;if(n.aborted)Yg(l,n.reason);else{var t=function(){Yg(l,n.reason);n.removeEventListener("abort",t)};n.addEventListener("abort",t)}}l.flushScheduled= +null!==l.destination;Cg(l)})};exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js index 29f4011f3ae12..d1122f56c6720 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react"); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; +var ReactVersion = '18.3.0-canary-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -74,6 +74,98 @@ function printWarning(level, format, args) { } } +// A pure JS implementation of a string hashing function. We do not use it for +// security or obfuscation purposes, only to create compact hashes. So we +// prioritize speed over collision avoidance. For example, we use this to hash +// the component key path used by useFormState for MPA-style submissions. +// +// In environments where built-in hashing functions are available, we prefer +// those instead. Like Node's crypto module, or Bun.hash. Unfortunately this +// does not include the web standard crypto API because those methods are all +// async. For our purposes, we need it to be sync because the cost of context +// switching is too high to be worth it. +// +// The most popular hashing algorithm that meets these requirements in the JS +// ecosystem is MurmurHash3, and almost all implementations I could find used +// some version of the implementation by Gary Court inlined below. +function createFastHashJS(key) { + return murmurhash3_32_gc(key, 0); +} +/* eslint-disable prefer-const, no-fallthrough */ + +/** + * @license + * + * JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) + * + * Copyright (c) 2011 Gary Court + * 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. + */ + +function murmurhash3_32_gc(key, seed) { + var remainder, bytes, h1, h1b, c1, c2, k1, i; + remainder = key.length & 3; // key.length % 4 + + bytes = key.length - remainder; + h1 = seed; + c1 = 0xcc9e2d51; + c2 = 0x1b873593; + i = 0; + + while (i < bytes) { + k1 = key.charCodeAt(i) & 0xff | (key.charCodeAt(++i) & 0xff) << 8 | (key.charCodeAt(++i) & 0xff) << 16 | (key.charCodeAt(++i) & 0xff) << 24; + ++i; + k1 = (k1 & 0xffff) * c1 + (((k1 >>> 16) * c1 & 0xffff) << 16) & 0xffffffff; + k1 = k1 << 15 | k1 >>> 17; + k1 = (k1 & 0xffff) * c2 + (((k1 >>> 16) * c2 & 0xffff) << 16) & 0xffffffff; + h1 ^= k1; + h1 = h1 << 13 | h1 >>> 19; + h1b = (h1 & 0xffff) * 5 + (((h1 >>> 16) * 5 & 0xffff) << 16) & 0xffffffff; + h1 = (h1b & 0xffff) + 0x6b64 + (((h1b >>> 16) + 0xe654 & 0xffff) << 16); + } + + k1 = 0; + + switch (remainder) { + case 3: + k1 ^= (key.charCodeAt(i + 2) & 0xff) << 16; + + case 2: + k1 ^= (key.charCodeAt(i + 1) & 0xff) << 8; + + case 1: + k1 ^= key.charCodeAt(i) & 0xff; + k1 = (k1 & 0xffff) * c1 + (((k1 >>> 16) * c1 & 0xffff) << 16) & 0xffffffff; + k1 = k1 << 15 | k1 >>> 17; + k1 = (k1 & 0xffff) * c2 + (((k1 >>> 16) * c2 & 0xffff) << 16) & 0xffffffff; + h1 ^= k1; + } + + h1 ^= key.length; + h1 ^= h1 >>> 16; + h1 = (h1 & 0xffff) * 0x85ebca6b + (((h1 >>> 16) * 0x85ebca6b & 0xffff) << 16) & 0xffffffff; + h1 ^= h1 >>> 13; + h1 = (h1 & 0xffff) * 0xc2b2ae35 + (((h1 >>> 16) * 0xc2b2ae35 & 0xffff) << 16) & 0xffffffff; + h1 ^= h1 >>> 16; + return h1 >>> 0; +} + function scheduleWork(callback) { setTimeout(callback, 0); } @@ -246,7 +338,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -255,7 +347,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -264,7 +356,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1048,6 +1140,23 @@ function validateProperty(tagName, name, value, eventRegistry) { return true; } + { + // Actions are special because unlike events they can have other value types. + if (typeof value === 'function') { + if (tagName === 'form' && name === 'action') { + return true; + } + + if (tagName === 'input' && name === 'formAction') { + return true; + } + + if (tagName === 'button' && name === 'formAction') { + return true; + } + } + } // We can't rely on the event system being injected on the server. + if (eventRegistry != null) { var registrationNameDependencies = eventRegistry.registrationNameDependencies, @@ -1568,6 +1677,16 @@ function getValueDescriptorExpectingObjectForWarning(thing) { return thing === null ? '`null`' : thing === undefined ? '`undefined`' : thing === '' ? 'an empty string' : "something with type \"" + typeof thing + "\""; } +// same object across all transitions. + +var sharedNotPendingObject = { + pending: false, + data: null, + method: null, + action: null +}; +var NotPending = Object.freeze(sharedNotPendingObject) ; + var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher; @@ -1600,6 +1719,9 @@ var SentClientRenderFunction var SentStyleInsertionFunction /* */ = 8; +var SentFormReplayingRuntime +/* */ += 16; // Per request, global state that is not contextual to the rendering subtree. // This cannot be resumed and therefore should only contain things that are // temporary working state or are never used in the prerender pass. // Credentials here are things that affect whether a browser will make a request @@ -2107,10 +2229,15 @@ function pushStringAttribute(target, name, value) // not null or undefined target.push(attributeSeparator, stringToChunk(name), attributeAssign, stringToChunk(escapeTextForBrowser(value)), attributeEnd); } } + +function makeFormFieldPrefix(resumableState) { + var id = resumableState.nextFormID++; + return resumableState.idPrefix + id; +} // Since this will likely be repeated a lot in the HTML, we use a more concise message // than on the client and hopefully it's googleable. -stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url +var actionJavaScriptURL = stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url "javascript:throw new Error('A React form was unexpectedly submitted.')")); var startHiddenInputChunk = stringToPrecomputedChunk('<input type="hidden"'); @@ -2137,6 +2264,57 @@ function pushAdditionalFormFields(target, formData) { function pushFormActionAttribute(target, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name) { var formData = null; + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if (name !== null && !didWarnFormActionName) { + didWarnFormActionName = true; + + error('Cannot specify a "name" prop for a button that specifies a function as a formAction. ' + 'React needs it to encode which action should be invoked. It will get overridden.'); + } + + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a formEncType or formMethod for a button that specifies a ' + 'function as a formAction. React provides those automatically. They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a formTarget for a button that specifies a function as a formAction. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + name = customFields.name; + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('formAction'), attributeAssign, actionJavaScriptURL, attributeEnd); + name = null; + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (name != null) { pushAttribute(target, 'name', name); } @@ -2441,6 +2619,9 @@ var didWarnInvalidOptionChildren = false; var didWarnInvalidOptionInnerHTML = false; var didWarnSelectedSetOnOption = false; var didWarnFormActionType = false; +var didWarnFormActionName = false; +var didWarnFormActionTarget = false; +var didWarnFormActionMethod = false; function checkSelectProp(props, propName) { { @@ -2641,7 +2822,17 @@ function pushStartOption(target, props, formatContext) { return children; } -stringToPrecomputedChunk(formReplaying); +var formReplayingRuntimeScript = stringToPrecomputedChunk(formReplaying); + +function injectFormReplayingRuntime(resumableState, renderState) { + // If we haven't sent it yet, inject the runtime that tracks submitted JS actions + // for later replaying by Fiber. If we use an external runtime, we don't need + // to emit anything. It's always used. + if ((resumableState.instructions & SentFormReplayingRuntime) === NothingSent && (!renderState.externalRuntimeScript)) { + resumableState.instructions |= SentFormReplayingRuntime; + renderState.bootstrapChunks.unshift(renderState.startInlineScript, formReplayingRuntimeScript, endInlineScript); + } +} var formStateMarkerIsMatching = stringToPrecomputedChunk('<!--F!-->'); var formStateMarkerIsNotMatching = stringToPrecomputedChunk('<!--F-->'); @@ -2701,6 +2892,53 @@ function pushStartForm(target, props, resumableState, renderState) { } } + var formData = null; + var formActionName = null; + + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a encType or method for a form that specifies a ' + 'function as the action. React provides those automatically. ' + 'They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a target for a form that specifies a function as the action. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + formActionName = customFields.name; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('action'), attributeAssign, actionJavaScriptURL, attributeEnd); + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (formAction != null) { pushAttribute(target, 'action', formAction); } @@ -2719,6 +2957,13 @@ function pushStartForm(target, props, resumableState, renderState) { target.push(endOfStartTag); + if (formActionName !== null) { + target.push(startHiddenInputChunk); + pushStringAttribute(target, 'name', formActionName); + target.push(endOfStartTagSelfClosing); + pushAdditionalFormFields(target, formData); + } + pushInnerHTML(target, innerHTML, children); if (typeof children === 'string') { @@ -3775,6 +4020,8 @@ function pushStartCustomElement(target, props, tag) { continue; } + var attributeName = propKey; + switch (propKey) { case 'children': children = propValue; @@ -3793,9 +4040,14 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -3952,7 +4204,7 @@ function pushStartInstance(target, type, props, resumableState, renderState, for return pushStartButton(target, props, resumableState, renderState); case 'form': - return pushStartForm(target, props); + return pushStartForm(target, props, resumableState, renderState); case 'menuitem': return pushStartMenuItem(target, props); @@ -5892,6 +6144,7 @@ function hoistResources(renderState, source) { source.stylesheets.forEach(hoistStylesheetDependency, currentBoundaryResources); } } +var NotPendingTransition = NotPending; var supportsRequestStorage = typeof AsyncLocalStorage === 'function'; var requestStorage = supportsRequestStorage ? new AsyncLocalStorage() : null; @@ -6033,12 +6286,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -7475,6 +7722,8 @@ typeof Object.is === 'function' ? Object.is : is; var currentlyRenderingComponent = null; var currentlyRenderingTask = null; +var currentlyRenderingRequest = null; +var currentlyRenderingKeyPath = null; var firstWorkInProgressHook = null; var workInProgressHook = null; // Whether the work-in-progress hook is a re-rendered hook @@ -7587,6 +7836,8 @@ function createWorkInProgressHook() { function prepareToUseHooks(request, task, keyPath, componentIdentity, prevThenableState) { currentlyRenderingComponent = componentIdentity; currentlyRenderingTask = task; + currentlyRenderingRequest = request; + currentlyRenderingKeyPath = keyPath; { isInHookUserCodeInDev = false; @@ -7658,6 +7909,8 @@ function resetHooksState() { currentlyRenderingComponent = null; currentlyRenderingTask = null; + currentlyRenderingRequest = null; + currentlyRenderingKeyPath = null; didScheduleRenderPhaseUpdate = false; firstWorkInProgressHook = null; numberOfReRenders = 0; @@ -7892,9 +8145,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return value; + } } function unsupportedStartTransition() { @@ -7906,6 +8162,133 @@ function useTransition() { return [false, unsupportedStartTransition]; } +function useHostTransitionStatus() { + resolveCurrentlyRenderingComponent(); + return NotPendingTransition; +} + +function unsupportedSetOptimisticState() { + throw new Error('Cannot update optimistic state while rendering.'); +} + +function useOptimistic(passthrough, reducer) { + resolveCurrentlyRenderingComponent(); + return [passthrough, unsupportedSetOptimisticState]; +} + +function createPostbackFormStateKey(permalink, componentKeyPath, hookIndex) { + if (permalink !== undefined) { + // Don't bother to hash a permalink-based key since it's already short. + return 'p' + permalink; + } else { + // Append a node to the key path that represents the form state hook. + var keyPath = [componentKeyPath, null, hookIndex]; // Key paths are hashed to reduce the size. It does not need to be secure, + // and it's more important that it's fast than that it's completely + // collision-free. + + var keyPathHash = createFastHashJS(JSON.stringify(keyPath)); + return 'k' + keyPathHash; + } +} + +function useFormState(action, initialState, permalink) { + resolveCurrentlyRenderingComponent(); // Count the number of useFormState hooks per component. We also use this to + // track the position of this useFormState hook relative to the other ones in + // this component, so we can generate a unique key for each one. + + var formStateHookIndex = formStateCounter++; + var request = currentlyRenderingRequest; // $FlowIgnore[prop-missing] + + var formAction = action.$$FORM_ACTION; + + if (typeof formAction === 'function') { + // This is a server action. These have additional features to enable + // MPA-style form submissions with progressive enhancement. + // TODO: If the same permalink is passed to multiple useFormStates, and + // they all have the same action signature, Fizz will pass the postback + // state to all of them. We should probably only pass it to the first one, + // and/or warn. + // The key is lazily generated and deduped so the that the keypath doesn't + // get JSON.stringify-ed unnecessarily, and at most once. + var nextPostbackStateKey = null; // Determine the current form state. If we received state during an MPA form + // submission, then we will reuse that, if the action identity matches. + // Otherwise we'll use the initial state argument. We will emit a comment + // marker into the stream that indicates whether the state was reused. + + var state = initialState; + var componentKeyPath = currentlyRenderingKeyPath; + var postbackFormState = getFormState(request); // $FlowIgnore[prop-missing] + + var isSignatureEqual = action.$$IS_SIGNATURE_EQUAL; + + if (postbackFormState !== null && typeof isSignatureEqual === 'function') { + var postbackKey = postbackFormState[1]; + var postbackReferenceId = postbackFormState[2]; + var postbackBoundArity = postbackFormState[3]; + + if (isSignatureEqual.call(action, postbackReferenceId, postbackBoundArity)) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + + if (postbackKey === nextPostbackStateKey) { + // This was a match + formStateMatchingIndex = formStateHookIndex; // Reuse the state that was submitted by the form. + + state = postbackFormState[0]; + } + } + } // Bind the state to the first argument of the action. + + + var boundAction = action.bind(null, state); // Wrap the action so the return value is void. + + var dispatch = function (payload) { + boundAction(payload); + }; // $FlowIgnore[prop-missing] + + + if (typeof boundAction.$$FORM_ACTION === 'function') { + // $FlowIgnore[prop-missing] + dispatch.$$FORM_ACTION = function (prefix) { + var metadata = boundAction.$$FORM_ACTION(prefix); // Override the action URL + + if (permalink !== undefined) { + { + checkAttributeStringCoercion(permalink, 'target'); + } + + permalink += ''; + metadata.action = permalink; + } + + var formData = metadata.data; + + if (formData) { + if (nextPostbackStateKey === null) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + } + + formData.append('$ACTION_KEY', nextPostbackStateKey); + } + + return metadata; + }; + } + + return [state, dispatch]; + } else { + // This is not a server action, so the implementation is much simpler. + // Bind the state to the first argument of the action. + var _boundAction = action.bind(null, initialState); // Wrap the action so the return value is void. + + + var _dispatch2 = function (payload) { + _boundAction(payload); + }; + + return [initialState, _dispatch2]; + } +} + function useId() { var task = currentlyRenderingTask; var treeId = getTreeId(task.treeContext); @@ -7985,6 +8368,15 @@ var HooksDispatcher = { HooksDispatcher.useCacheRefresh = useCacheRefresh; } +{ + HooksDispatcher.useHostTransitionStatus = useHostTransitionStatus; +} + +{ + HooksDispatcher.useOptimistic = useOptimistic; + HooksDispatcher.useFormState = useFormState; +} + var currentResumableState = null; function setCurrentResumableState(resumableState) { currentResumableState = resumableState; @@ -8519,11 +8911,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -8569,24 +8957,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -8594,8 +8973,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9136,37 +9514,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9177,17 +9524,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9195,37 +9543,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9289,8 +9640,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9468,24 +9826,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -9520,7 +9880,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -9744,6 +10104,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -9765,6 +10126,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -9878,8 +10241,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -9888,6 +10249,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -9898,6 +10260,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -9939,12 +10309,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10192,6 +10563,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -10624,7 +11003,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } else { completeWriting(destination); } @@ -10650,10 +11032,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -10710,6 +11099,9 @@ function abort(request, reason) { function flushResources(request) { enqueueFlush(request); } +function getFormState(request) { + return request.formState; +} function getResumableState(request) { return request.resumableState; } @@ -10734,7 +11126,7 @@ function renderToReadableStream(children, options) { }, cancel: function (reason) { stopFlowing(request); - abort(request); + abort(request, reason); } }, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams. { @@ -10754,7 +11146,7 @@ function renderToReadableStream(children, options) { } var resumableState = createResumableState(options ? options.identifierPrefix : undefined, options ? options.unstable_externalRuntimeSrc : undefined); - var request = createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, onAllReady, onShellReady, onShellError, onFatalError, options ? options.onPostpone : undefined, options ? options.experimental_formState : undefined); + var request = createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, onAllReady, onShellReady, onShellError, onFatalError, options ? options.onPostpone : undefined, options ? options.formState : undefined); if (options && options.signal) { var signal = options.signal; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js index 6e7d14059293f..66afe36056446 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.min.js @@ -7,171 +7,200 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("next/dist/compiled/react"),ba=require("react-dom"),k=null,m=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<m&&(a.enqueue(new Uint8Array(k.buffer,0,m)),k=new Uint8Array(512),m=0),a.enqueue(b);else{var c=k.length-m;c<b.byteLength&&(0===c?a.enqueue(k):(k.set(b.subarray(0,c),m),a.enqueue(k),b=b.subarray(c)),k=new Uint8Array(512),m=0);k.set(b,m);m+=b.byteLength}}function v(a,b){p(a,b);return!0}function ca(a){k&&0<m&&(a.enqueue(new Uint8Array(k.buffer,0,m)),k=null,m=0)}var ha=new TextEncoder; -function x(a){return ha.encode(a)}function y(a){return ha.encode(a)}function ia(a,b){"function"===typeof a.error?a.error(b):a.close()} -var z=Object.assign,A=Object.prototype.hasOwnProperty,ja=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),na={},sa={}; -function ta(a){if(A.call(sa,a))return!0;if(A.call(na,a))return!1;if(ja.test(a))return sa[a]=!0;na[a]=!0;return!1} -var ua=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),va= +/* + + + JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) + + Copyright (c) 2011 Gary Court + 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. +*/ +'use strict';var ca=require("next/dist/compiled/react"),da=require("react-dom"); +function ha(a,b){var c=a.length&3;var d=a.length-c;var e=b;for(b=0;b<d;){var f=a.charCodeAt(b)&255|(a.charCodeAt(++b)&255)<<8|(a.charCodeAt(++b)&255)<<16|(a.charCodeAt(++b)&255)<<24;++b;f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295;f=f<<15|f>>>17;f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295;e^=f;e=e<<13|e>>>19;e=5*(e&65535)+((5*(e>>>16)&65535)<<16)&4294967295;e=(e&65535)+27492+(((e>>>16)+58964&65535)<<16)}f=0;switch(c){case 3:f^=(a.charCodeAt(b+2)&255)<< +16;case 2:f^=(a.charCodeAt(b+1)&255)<<8;case 1:f^=a.charCodeAt(b)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,e^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}e^=a.length;e^=e>>>16;e=2246822507*(e&65535)+((2246822507*(e>>>16)&65535)<<16)&4294967295;e^=e>>>13;e=3266489909*(e&65535)+((3266489909*(e>>>16)&65535)<<16)&4294967295;return(e^e>>>16)>>>0}var k=null,m=0; +function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<m&&(a.enqueue(new Uint8Array(k.buffer,0,m)),k=new Uint8Array(512),m=0),a.enqueue(b);else{var c=k.length-m;c<b.byteLength&&(0===c?a.enqueue(k):(k.set(b.subarray(0,c),m),a.enqueue(k),b=b.subarray(c)),k=new Uint8Array(512),m=0);k.set(b,m);m+=b.byteLength}}function v(a,b){p(a,b);return!0}function ia(a){k&&0<m&&(a.enqueue(new Uint8Array(k.buffer,0,m)),k=null,m=0)}var na=new TextEncoder;function w(a){return na.encode(a)} +function x(a){return na.encode(a)}function oa(a,b){"function"===typeof a.error?a.error(b):a.close()} +var y=Object.assign,A=Object.prototype.hasOwnProperty,ua=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),va={},wa={}; +function xa(a){if(A.call(wa,a))return!0;if(A.call(va,a))return!1;if(ua.test(a))return wa[a]=!0;va[a]=!0;return!1} +var ya=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),za= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),wa=/["'&<>]/; -function E(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=wa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var Ca=/([A-Z])/g,Da=/^ms-/,Ea=Array.isArray,Fa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ga=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Sa={prefetchDNS:Ha,preconnect:Ia,preload:Ja,preloadModule:Oa,preinitStyle:Pa,preinitScript:Qa,preinitModuleScript:Ra},Ta=[],Ua=y('"></template>'),Va=y("<script>"),Wa=y("\x3c/script>"),hb=y('<script src="'),ib=y('<script type="module" src="'),jb=y('" nonce="'),kb=y('" integrity="'),lb=y('" crossorigin="'),mb=y('" async="">\x3c/script>'), -nb=/(<\/|<)(s)(cript)/gi;function ob(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var pb=y('<script type="importmap">'),qb=y("\x3c/script>"); -function rb(a,b,c,d,e,f,g){var h=void 0===b?Va:y('<script nonce="'+E(b)+'">'),l=a.idPrefix,n=[],r=null;void 0!==c&&n.push(h,x((""+c).replace(nb,ob)),Wa);void 0!==f&&("string"===typeof f?(r={src:f,chunks:[]},sb(r.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(r={src:f.src,chunks:[]},sb(r.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(pb),c.push(x((""+JSON.stringify(g)).replace(nb,ob))),c.push(qb));g={placeholderPrefix:y(l+"P:"),segmentPrefix:y(l+"S:"),boundaryPrefix:y(l+ -"B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:r,bootstrapChunks:n,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var u= -d[h];c=r=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof u?f.href=l=u:(f.href=l=u.src,f.integrity=c="string"===typeof u.integrity?u.integrity:void 0,f.crossOrigin=r="string"===typeof u||null==u.crossOrigin?void 0:"use-credentials"===u.crossOrigin?"use-credentials":"");u=a;var q=l;u.scriptResources[q]=null;u.moduleScriptResources[q]=null;u=[];H(u,f);g.bootstrapScripts.add(u);n.push(hb,x(E(l)));b&&n.push(jb,x(E(b)));"string"===typeof c&&n.push(kb,x(E(c)));"string"=== -typeof r&&n.push(lb,x(E(r)));n.push(mb)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],r=l=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=r="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=l="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,u=h,f.scriptResources[u]=null,f.moduleScriptResources[u]=null,f=[],H(f,c),g.bootstrapScripts.add(f),n.push(ib,x(E(h))),b&& -n.push(jb,x(E(b))),"string"===typeof r&&n.push(kb,x(E(r))),"string"===typeof l&&n.push(lb,x(E(l))),n.push(mb);return g}function tb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} -function M(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Cb(a){return M("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} -function Db(a,b,c){switch(b){case "noscript":return M(2,null,a.tagScope|1);case "select":return M(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return M(3,null,a.tagScope);case "picture":return M(2,null,a.tagScope|2);case "math":return M(4,null,a.tagScope);case "foreignObject":return M(2,null,a.tagScope);case "table":return M(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return M(6,null,a.tagScope);case "colgroup":return M(8,null,a.tagScope);case "tr":return M(7,null,a.tagScope)}return 5<= -a.insertionMode?M(2,null,a.tagScope):0===a.insertionMode?"html"===b?M(1,null,a.tagScope):M(2,null,a.tagScope):1===a.insertionMode?M(2,null,a.tagScope):a}var Eb=y("\x3c!-- --\x3e");function Fb(a,b,c,d){if(""===b)return d;d&&a.push(Eb);a.push(x(E(b)));return!0}var Gb=new Map,Hb=y(' style="'),Ib=y(":"),Jb=y(";"); -function Kb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(A.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=x(E(d));e=x(E((""+e).trim()))}else f=Gb.get(d),void 0===f&&(f=y(E(d.replace(Ca,"-$1").toLowerCase().replace(Da,"-ms-"))),Gb.set(d,f)),e="number"===typeof e?0===e||ua.has(d)?x(""+ -e):x(e+"px"):x(E((""+e).trim()));c?(c=!1,a.push(Hb,f,Ib,e)):a.push(Jb,f,Ib,e)}}c||a.push(Lb)}var N=y(" "),Mb=y('="'),Lb=y('"'),Nb=y('=""');function Ob(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,x(b),Nb)}function P(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(N,x(b),Mb,x(E(c)),Lb)}y(E("javascript:throw new Error('A React form was unexpectedly submitted.')"));var Pb=y('<input type="hidden"'); -function Qb(a,b){this.push(Pb);if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");P(this,"name",b);P(this,"value",a);this.push(Rb)}function Sb(a,b,c,d,e,f,g,h){null!=h&&Q(a,"name",h);null!=d&&Q(a,"formAction",d);null!=e&&Q(a,"formEncType",e);null!=f&&Q(a,"formMethod",f);null!=g&&Q(a,"formTarget",g);return null} -function Q(a,b,c){switch(b){case "className":P(a,"class",c);break;case "tabIndex":P(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":P(a,b,c);break;case "style":Kb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(N,x(b),Mb,x(E(c)),Lb);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":Ob(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(N,x("xlink:href"),Mb,x(E(c)),Lb);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,x(b),Mb,x(E(c)),Lb);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,x(b),Nb);break;case "capture":case "download":!0===c?a.push(N,x(b),Nb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,x(b),Mb,x(E(c)),Lb);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(N,x(b),Mb,x(E(c)),Lb);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(N,x(b),Mb,x(E(c)),Lb);break;case "xlinkActuate":P(a,"xlink:actuate", -c);break;case "xlinkArcrole":P(a,"xlink:arcrole",c);break;case "xlinkRole":P(a,"xlink:role",c);break;case "xlinkShow":P(a,"xlink:show",c);break;case "xlinkTitle":P(a,"xlink:title",c);break;case "xlinkType":P(a,"xlink:type",c);break;case "xmlBase":P(a,"xml:base",c);break;case "xmlLang":P(a,"xml:lang",c);break;case "xmlSpace":P(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=va.get(b)||b,ta(b)){switch(typeof c){case "function":case "symbol":return; -case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(N,x(b),Mb,x(E(c)),Lb)}}}var R=y(">"),Rb=y("/>"); -function Tb(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(x(""+b))}}function Ub(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var Vb=y(' selected=""');y('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); -var Wb=y("\x3c!--F!--\x3e"),Xb=y("\x3c!--F--\x3e"); -function Yb(a,b,c,d,e,f,g){var h=b.rel,l=b.href,n=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof l||""===l)return H(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof n||null!=b.disabled||b.onLoad||b.onError)return H(a,b);f=d.styles.get(n);g=c.styleResources.hasOwnProperty(l)?c.styleResources[l]:void 0;null!==g?(c.styleResources[l]=null,f||(f={precedence:x(E(n)),rules:[],hrefs:[],sheets:new Map},d.styles.set(n,f)),b={state:0,props:z({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&Zb(b.props,g),(c=d.preloads.stylesheets.get(l))&&0<c.length?c.length=0:b.state=1),f.sheets.set(l,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(l=f.sheets.get(l))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(l);e&&a.push(Eb);return null}if(b.onLoad||b.onError)return H(a,b);e&&a.push(Eb);switch(b.rel){case "preconnect":case "dns-prefetch":return H(d.preconnectChunks,b);case "preload":return H(d.preloadChunks,b);default:return H(d.hoistableChunks, -b)}}function H(a,b){a.push(S("link"));for(var c in b)if(A.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Q(a,c,d)}}a.push(Rb);return null} -function $b(a,b,c){a.push(S(c));for(var d in b)if(A.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Q(a,d,e)}}a.push(Rb);return null} -function ac(a,b){a.push(S("title"));var c=null,d=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:Q(a,e,f)}}a.push(R);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(x(E(""+b)));Tb(a,d,c);a.push(kc,x("title"),lc);return null} -function sb(a,b){a.push(S("script"));var c=null,d=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:Q(a,e,f)}}a.push(R);Tb(a,d,c);"string"===typeof c&&a.push(x(E(c)));a.push(kc,x("script"),lc);return null} -function mc(a,b,c){a.push(S(c));var d=c=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:Q(a,e,f)}}a.push(R);Tb(a,d,c);return"string"===typeof c?(a.push(x(E(c))),null):c}var nc=y("\n"),oc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,pc=new Map;function S(a){var b=pc.get(a);if(void 0===b){if(!oc.test(a))throw Error("Invalid tag: "+a);b=y("<"+a);pc.set(a,b)}return b}var qc=y("<!DOCTYPE html>"); -function rc(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(S("select"));var h=null,l=null,n;for(n in c)if(A.call(c,n)){var r=c[n];if(null!=r)switch(n){case "children":h=r;break;case "dangerouslySetInnerHTML":l=r;break;case "defaultValue":case "value":break;default:Q(a,n,r)}}a.push(R);Tb(a,l,h);return h;case "option":var u=f.selectedValue;a.push(S("option"));var q=null,w=null,I=null,J=null,t;for(t in c)if(A.call(c, -t)){var B=c[t];if(null!=B)switch(t){case "children":q=B;break;case "selected":I=B;break;case "dangerouslySetInnerHTML":J=B;break;case "value":w=B;default:Q(a,t,B)}}if(null!=u){var F=null!==w?""+w:Ub(q);if(Ea(u))for(var ka=0;ka<u.length;ka++){if(""+u[ka]===F){a.push(Vb);break}}else""+u===F&&a.push(Vb)}else I&&a.push(Vb);a.push(R);Tb(a,J,q);return q;case "textarea":a.push(S("textarea"));var C=null,U=null,D=null,da;for(da in c)if(A.call(c,da)){var la=c[da];if(null!=la)switch(da){case "children":D=la; -break;case "value":C=la;break;case "defaultValue":U=la;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Q(a,da,la)}}null===C&&null!==U&&(C=U);a.push(R);if(null!=D){if(null!=C)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ea(D)&&1<D.length)throw Error("<textarea> can only have at most one child.");C=""+D}"string"===typeof C&&"\n"===C[0]&&a.push(nc);null!==C&&a.push(x(E(""+C)));return null; -case "input":a.push(S("input"));var V=null,ea=null,K=null,Y=null,L=null,oa=null,pa=null,qa=null,Ka=null,fa;for(fa in c)if(A.call(c,fa)){var Z=c[fa];if(null!=Z)switch(fa){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":V=Z;break;case "formAction":ea=Z;break;case "formEncType":K=Z;break;case "formMethod":Y=Z;break;case "formTarget":L=Z;break;case "defaultChecked":Ka=Z;break;case "defaultValue":pa= -Z;break;case "checked":qa=Z;break;case "value":oa=Z;break;default:Q(a,fa,Z)}}var Xc=Sb(a,d,e,ea,K,Y,L,V);null!==qa?Ob(a,"checked",qa):null!==Ka&&Ob(a,"checked",Ka);null!==oa?Q(a,"value",oa):null!==pa&&Q(a,"value",pa);a.push(Rb);null!==Xc&&Xc.forEach(Qb,a);return null;case "button":a.push(S("button"));var Xa=null,Yc=null,Zc=null,$c=null,ad=null,bd=null,cd=null,Ya;for(Ya in c)if(A.call(c,Ya)){var ma=c[Ya];if(null!=ma)switch(Ya){case "children":Xa=ma;break;case "dangerouslySetInnerHTML":Yc=ma;break; -case "name":Zc=ma;break;case "formAction":$c=ma;break;case "formEncType":ad=ma;break;case "formMethod":bd=ma;break;case "formTarget":cd=ma;break;default:Q(a,Ya,ma)}}var dd=Sb(a,d,e,$c,ad,bd,cd,Zc);a.push(R);null!==dd&&dd.forEach(Qb,a);Tb(a,Yc,Xa);if("string"===typeof Xa){a.push(x(E(Xa)));var ed=null}else ed=Xa;return ed;case "form":a.push(S("form"));var Za=null,fd=null,bc=null,cc=null,dc=null,ec=null,$a;for($a in c)if(A.call(c,$a)){var ra=c[$a];if(null!=ra)switch($a){case "children":Za=ra;break;case "dangerouslySetInnerHTML":fd= -ra;break;case "action":bc=ra;break;case "encType":cc=ra;break;case "method":dc=ra;break;case "target":ec=ra;break;default:Q(a,$a,ra)}}null!=bc&&Q(a,"action",bc);null!=cc&&Q(a,"encType",cc);null!=dc&&Q(a,"method",dc);null!=ec&&Q(a,"target",ec);a.push(R);Tb(a,fd,Za);if("string"===typeof Za){a.push(x(E(Za)));var gd=null}else gd=Za;return gd;case "menuitem":a.push(S("menuitem"));for(var ub in c)if(A.call(c,ub)){var hd=c[ub];if(null!=hd)switch(ub){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`."); -default:Q(a,ub,hd)}}a.push(R);return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var id=ac(a,c);else ac(e.hoistableChunks,c),id=null;return id;case "link":return Yb(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var fc=c.async;if("string"!==typeof c.src||!c.src||!fc||"function"===typeof fc||"symbol"===typeof fc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var jd=sb(a,c);else{var vb=c.src;if("module"===c.type){var wb=d.moduleScriptResources; -var kd=e.preloads.moduleScripts}else wb=d.scriptResources,kd=e.preloads.scripts;var xb=wb.hasOwnProperty(vb)?wb[vb]:void 0;if(null!==xb){wb[vb]=null;var gc=c;if(xb){2===xb.length&&(gc=z({},c),Zb(gc,xb));var ld=kd.get(vb);ld&&(ld.length=0)}var md=[];e.scripts.add(md);sb(md,gc)}g&&a.push(Eb);jd=null}return jd;case "style":var yb=c.precedence,xa=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof yb||"string"!==typeof xa||""===xa){a.push(S("style"));var La=null,nd=null,ab; -for(ab in c)if(A.call(c,ab)){var zb=c[ab];if(null!=zb)switch(ab){case "children":La=zb;break;case "dangerouslySetInnerHTML":nd=zb;break;default:Q(a,ab,zb)}}a.push(R);var bb=Array.isArray(La)?2>La.length?La[0]:null:La;"function"!==typeof bb&&"symbol"!==typeof bb&&null!==bb&&void 0!==bb&&a.push(x(E(""+bb)));Tb(a,nd,La);a.push(kc,x("style"),lc);var od=null}else{var ya=e.styles.get(yb);if(null!==(d.styleResources.hasOwnProperty(xa)?d.styleResources[xa]:void 0)){d.styleResources[xa]=null;ya?ya.hrefs.push(x(E(xa))): -(ya={precedence:x(E(yb)),rules:[],hrefs:[x(E(xa))],sheets:new Map},e.styles.set(yb,ya));var pd=ya.rules,Ma=null,qd=null,Ab;for(Ab in c)if(A.call(c,Ab)){var hc=c[Ab];if(null!=hc)switch(Ab){case "children":Ma=hc;break;case "dangerouslySetInnerHTML":qd=hc}}var cb=Array.isArray(Ma)?2>Ma.length?Ma[0]:null:Ma;"function"!==typeof cb&&"symbol"!==typeof cb&&null!==cb&&void 0!==cb&&pd.push(x(E(""+cb)));Tb(pd,qd,Ma)}ya&&e.boundaryResources&&e.boundaryResources.styles.add(ya);g&&a.push(Eb);od=void 0}return od; -case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var rd=$b(a,c,"meta");else g&&a.push(Eb),rd="string"===typeof c.charSet?$b(e.charsetChunks,c,"meta"):"viewport"===c.name?$b(e.preconnectChunks,c,"meta"):$b(e.hoistableChunks,c,"meta");return rd;case "listing":case "pre":a.push(S(b));var db=null,eb=null,fb;for(fb in c)if(A.call(c,fb)){var Bb=c[fb];if(null!=Bb)switch(fb){case "children":db=Bb;break;case "dangerouslySetInnerHTML":eb=Bb;break;default:Q(a,fb,Bb)}}a.push(R);if(null!=eb){if(null!= -db)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof eb||!("__html"in eb))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var za=eb.__html;null!==za&&void 0!==za&&("string"===typeof za&&0<za.length&&"\n"===za[0]?a.push(nc,x(za)):a.push(x(""+za)))}"string"===typeof db&&"\n"===db[0]&&a.push(nc);return db;case "img":var O=c.src, -G=c.srcSet;if(!("lazy"===c.loading||!O&&!G||"string"!==typeof O&&null!=O||"string"!==typeof G&&null!=G)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof O||":"!==O[4]||"d"!==O[0]&&"D"!==O[0]||"a"!==O[1]&&"A"!==O[1]||"t"!==O[2]&&"T"!==O[2]||"a"!==O[3]&&"A"!==O[3])&&("string"!==typeof G||":"!==G[4]||"d"!==G[0]&&"D"!==G[0]||"a"!==G[1]&&"A"!==G[1]||"t"!==G[2]&&"T"!==G[2]||"a"!==G[3]&&"A"!==G[3])){var sd="string"===typeof c.sizes?c.sizes:void 0,gb=G?G+"\n"+(sd||""):O,ic=e.preloads.images, -Aa=ic.get(gb);if(Aa){if("high"===c.fetchPriority||10>e.highImagePreloads.size)ic.delete(gb),e.highImagePreloads.add(Aa)}else d.imageResources.hasOwnProperty(gb)||(d.imageResources[gb]=Ta,Aa=[],H(Aa,{rel:"preload",as:"image",href:G?void 0:O,imageSrcSet:G,imageSizes:sd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Aa):(e.bulkPreloads.add(Aa),ic.set(gb, -Aa)))}return $b(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return $b(a,c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var td=mc(e.headChunks,c,"head")}else td=mc(a,c,"head");return td;case "html":if(0=== -f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[qc];var ud=mc(e.htmlChunks,c,"html")}else ud=mc(a,c,"html");return ud;default:if(-1!==b.indexOf("-")){a.push(S(b));var jc=null,vd=null,Na;for(Na in c)if(A.call(c,Na)){var Ba=c[Na];if(null!=Ba)switch(Na){case "children":jc=Ba;break;case "dangerouslySetInnerHTML":vd=Ba;break;case "style":Kb(a,Ba);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:ta(Na)&&"function"!==typeof Ba&&"symbol"!==typeof Ba&&a.push(N, -x(Na),Mb,x(E(Ba)),Lb)}}a.push(R);Tb(a,vd,jc);return jc}}return mc(a,c,b)}var kc=y("</"),lc=y(">");function sc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)p(a,b[c]);return c<b.length?(c=b[c],b.length=0,v(a,c)):!0}var tc=y('<template id="'),uc=y('"></template>'),vc=y("\x3c!--$--\x3e"),wc=y('\x3c!--$?--\x3e<template id="'),xc=y('"></template>'),yc=y("\x3c!--$!--\x3e"),zc=y("\x3c!--/$--\x3e"),Ac=y("<template"),Bc=y('"'),Cc=y(' data-dgst="');y(' data-msg="');y(' data-stck="');var Dc=y("></template>"); -function Ec(a,b,c){p(a,wc);if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");p(a,b.boundaryPrefix);p(a,x(c.toString(16)));return v(a,xc)} -var Fc=y('<div hidden id="'),Gc=y('">'),Hc=y("</div>"),Ic=y('<svg aria-hidden="true" style="display:none" id="'),Jc=y('">'),Kc=y("</svg>"),Lc=y('<math aria-hidden="true" style="display:none" id="'),Mc=y('">'),Nc=y("</math>"),Oc=y('<table hidden id="'),Pc=y('">'),Qc=y("</table>"),Rc=y('<table hidden><tbody id="'),Sc=y('">'),Tc=y("</tbody></table>"),Uc=y('<table hidden><tr id="'),Vc=y('">'),Wc=y("</tr></table>"),wd=y('<table hidden><colgroup id="'),xd=y('">'),yd=y("</colgroup></table>"); -function zd(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return p(a,Fc),p(a,b.segmentPrefix),p(a,x(d.toString(16))),v(a,Gc);case 3:return p(a,Ic),p(a,b.segmentPrefix),p(a,x(d.toString(16))),v(a,Jc);case 4:return p(a,Lc),p(a,b.segmentPrefix),p(a,x(d.toString(16))),v(a,Mc);case 5:return p(a,Oc),p(a,b.segmentPrefix),p(a,x(d.toString(16))),v(a,Pc);case 6:return p(a,Rc),p(a,b.segmentPrefix),p(a,x(d.toString(16))),v(a,Sc);case 7:return p(a,Uc),p(a,b.segmentPrefix),p(a,x(d.toString(16))),v(a,Vc); -case 8:return p(a,wd),p(a,b.segmentPrefix),p(a,x(d.toString(16))),v(a,xd);default:throw Error("Unknown insertion mode. This is a bug in React.");}}function Ad(a,b){switch(b.insertionMode){case 0:case 1:case 2:return v(a,Hc);case 3:return v(a,Kc);case 4:return v(a,Nc);case 5:return v(a,Qc);case 6:return v(a,Tc);case 7:return v(a,Wc);case 8:return v(a,yd);default:throw Error("Unknown insertion mode. This is a bug in React.");}} -var Bd=y('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Cd=y('$RS("'),Dd=y('","'),Ed=y('")\x3c/script>'),Fd=y('<template data-rsi="" data-sid="'),Gd=y('" data-pid="'),Hd=y('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), -Id=y('$RC("'),Jd=y('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Kd=y('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Ld=y('$RR("'),Md=y('","'),Nd=y('",'),Od=y('"'),Pd=y(")\x3c/script>"),Qd=y('<template data-rci="" data-bid="'),Rd=y('<template data-rri="" data-bid="'),Sd=y('" data-sid="'),Td=y('" data-sty="'),Ud=y('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),Vd=y('$RX("'),Wd=y('"'),Xd=y(","),Yd=y(")\x3c/script>"),Zd=y('<template data-rxi="" data-bid="'),$d=y('" data-dgst="'), -ae=y('" data-msg="'),be=y('" data-stck="'),ce=/[<\u2028\u2029]/g;function de(a){return JSON.stringify(a).replace(ce,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var ee=/[&><\u2028\u2029]/g; -function fe(a){return JSON.stringify(a).replace(ee,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} -var ge=y('<style media="not all" data-precedence="'),he=y('" data-href="'),ie=y('">'),je=y("</style>"),ke=!1,le=!0;function me(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){p(this,ge);p(this,a.precedence);for(p(this,he);d<c.length-1;d++)p(this,c[d]),p(this,ne);p(this,c[d]);p(this,ie);for(d=0;d<b.length;d++)p(this,b[d]);le=v(this,je);ke=!0;b.length=0;c.length=0}}function oe(a){return 2!==a.state?ke=!0:!1} -function pe(a,b,c){ke=!1;le=!0;b.styles.forEach(me,a);b.stylesheets.forEach(oe);ke&&(c.stylesToHoist=!0);return le}function qe(a){for(var b=0;b<a.length;b++)p(this,a[b]);a.length=0}var re=[];function se(a){H(re,a.props);for(var b=0;b<re.length;b++)p(this,re[b]);re.length=0;a.state=2}var te=y('<style data-precedence="'),ue=y('" data-href="'),ne=y(" "),ve=y('">'),we=y("</style>"); -function xe(a){var b=0<a.sheets.size;a.sheets.forEach(se,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){p(this,te);p(this,a.precedence);a=0;if(d.length){for(p(this,ue);a<d.length-1;a++)p(this,d[a]),p(this,ne);p(this,d[a])}p(this,ve);for(a=0;a<c.length;a++)p(this,c[a]);p(this,we);c.length=0;d.length=0}} -function ye(a){if(0===a.state){a.state=1;var b=a.props;H(re,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<re.length;a++)p(this,re[a]);re.length=0}}function ze(a){a.sheets.forEach(ye,this);a.sheets.clear()}var Ae=y("["),Be=y(",["),Ce=y(","),De=y("]"); -function Ee(a,b){p(a,Ae);var c=Ae;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)p(a,c),p(a,x(fe(""+d.props.href))),p(a,De),c=Be;else{p(a,c);var e=d.props["data-precedence"],f=d.props;p(a,x(fe(""+d.props.href)));e=""+e;p(a,Ce);p(a,x(fe(e)));for(var g in f)if(A.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); -default:a:{e=a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!ta(g))break a;h=""+h}p(e,Ce);p(e,x(fe(l)));p(e,Ce);p(e,x(fe(h)))}}}p(a, -De);c=Be;d.state=3}});p(a,De)} -function Fe(a,b){p(a,Ae);var c=Ae;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)p(a,c),p(a,x(E(JSON.stringify(""+d.props.href)))),p(a,De),c=Be;else{p(a,c);var e=d.props["data-precedence"],f=d.props;p(a,x(E(JSON.stringify(""+d.props.href))));e=""+e;p(a,Ce);p(a,x(E(JSON.stringify(e))));for(var g in f)if(A.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:a:{e= -a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!ta(g))break a;h=""+h}p(e,Ce);p(e,x(E(JSON.stringify(l))));p(e,Ce);p(e,x(E(JSON.stringify(h))))}}}p(a, -De);c=Be;d.state=3}});p(a,De)}function Ha(a){var b=Ge();if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;H(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}He(b)}}} -function Ia(a,b){var c=Ge();if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;H(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}He(c)}}} -function Ja(a,b,c){var d=Ge();if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var l=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=Ta;e=[];H(e,z({rel:"preload",href:g?void 0:a,as:b},c));"high"===l?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];H(g,z({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Ta:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);H(g,z({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Ta:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=z({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}H(e,c);g[a]=Ta}He(d)}}} -function Oa(a,b){var c=Ge();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?Ta:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=Ta}H(f,z({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);He(c)}}} -function Pa(a,b,c){var d=Ge();if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:x(E(b)),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:z({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&Zb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),He(d))}}} -function Qa(a,b){var c=Ge();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=z({src:a,async:!0},b),f&&(2===f.length&&Zb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),sb(a,b),He(c))}}} -function Ra(a,b){var c=Ge();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=z({src:a,type:"module",async:!0},b),f&&(2===f.length&&Zb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),sb(a,b),He(c))}}}function Zb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Ie(a){this.styles.add(a)} -function Je(a){this.stylesheets.add(a)} -var Ke="function"===typeof AsyncLocalStorage,Le=Ke?new AsyncLocalStorage:null,Me=Symbol.for("react.element"),Ne=Symbol.for("react.portal"),Oe=Symbol.for("react.fragment"),Pe=Symbol.for("react.strict_mode"),Qe=Symbol.for("react.profiler"),Re=Symbol.for("react.provider"),Se=Symbol.for("react.context"),Te=Symbol.for("react.server_context"),Ue=Symbol.for("react.forward_ref"),Ve=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),Xe=Symbol.for("react.memo"),Ye=Symbol.for("react.lazy"),Ze= -Symbol.for("react.scope"),$e=Symbol.for("react.debug_trace_mode"),af=Symbol.for("react.offscreen"),bf=Symbol.for("react.legacy_hidden"),cf=Symbol.for("react.cache"),df=Symbol.for("react.default_value"),ef=Symbol.iterator; -function ff(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Oe:return"Fragment";case Ne:return"Portal";case Qe:return"Profiler";case Pe:return"StrictMode";case Ve:return"Suspense";case We:return"SuspenseList";case cf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case Se:return(a.displayName||"Context")+".Consumer";case Re:return(a._context.displayName||"Context")+".Provider";case Ue:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Xe:return b=a.displayName||null,null!==b?b:ff(a.type)||"Memo";case Ye:b=a._payload;a=a._init;try{return ff(a(b))}catch(c){break}case Te:return(a.displayName||a._globalName)+".Provider"}return null}var gf={};function hf(a,b){a=a.contextTypes;if(!a)return gf;var c={},d;for(d in a)c[d]=b[d];return c}var jf=null; -function kf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");kf(a,c)}b.context._currentValue=b.value}}function lf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&lf(a)} -function mf(a){var b=a.parent;null!==b&&mf(b);a.context._currentValue=a.value}function nf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?kf(a,b):nf(a,b)} -function of(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?kf(a,c):of(a,c);b.context._currentValue=b.value}function pf(a){var b=jf;b!==a&&(null===b?mf(a):null===a?lf(b):b.depth===a.depth?kf(b,a):b.depth>a.depth?nf(b,a):of(b,a),jf=a)} -var qf={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function rf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=qf;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:z({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&qf.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=z({},f,h)):z(f,h))}a.state=f}else f.queue=null} -var sf={id:1,overflow:""};function tf(a,b,c){var d=a.id;a=a.overflow;var e=32-uf(d)-1;d&=~(1<<e);c+=1;var f=32-uf(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-uf(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var uf=Math.clz32?Math.clz32:vf,wf=Math.log,xf=Math.LN2;function vf(a){a>>>=0;return 0===a?32:31-(wf(a)/xf|0)|0}var yf=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function zf(){}function Af(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(zf,zf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Bf=b;throw yf;}}var Bf=null; -function Cf(){if(null===Bf)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Bf;Bf=null;return a}function Df(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Ef="function"===typeof Object.is?Object.is:Df,Ff=null,Gf=null,Hf=null,T=null,If=!1,Jf=!1,Kf=0,Lf=0,Mf=-1,Nf=0,Of=null,Pf=null,Qf=0; -function Rf(){if(null===Ff)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Ff} -function Sf(){if(0<Qf)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Tf(){null===T?null===Hf?(If=!1,Hf=T=Sf()):(If=!0,T=Hf):null===T.next?(If=!1,T=T.next=Sf()):(If=!0,T=T.next);return T}function Uf(a,b,c,d){for(;Jf;)Jf=!1,Lf=Kf=0,Mf=-1,Nf=0,Qf+=1,T=null,c=a(b,d);Vf();return c}function Wf(){var a=Of;Of=null;return a}function Vf(){Gf=Ff=null;Jf=!1;Hf=null;Qf=0;T=Pf=null}function Xf(a,b){return"function"===typeof b?b(a):b} -function Yf(a,b,c){Ff=Rf();T=Tf();if(If){var d=T.queue;b=d.dispatch;if(null!==Pf&&(c=Pf.get(d),void 0!==c)){Pf.delete(d);d=T.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);T.memoizedState=d;return[d,b]}return[T.memoizedState,b]}a=a===Xf?"function"===typeof b?b():b:void 0!==c?c(b):b;T.memoizedState=a;a=T.queue={last:null,dispatch:null};a=a.dispatch=Zf.bind(null,Ff,a);return[T.memoizedState,a]} -function $f(a,b){Ff=Rf();T=Tf();b=void 0===b?null:b;if(null!==T){var c=T.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Ef(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();T.memoizedState=[a,b];return a} -function Zf(a,b,c){if(25<=Qf)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Ff)if(Jf=!0,a={action:c,next:null},null===Pf&&(Pf=new Map),c=Pf.get(b),void 0===c)Pf.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function ag(){throw Error("startTransition cannot be called during server rendering.");}function bg(a){var b=Nf;Nf+=1;null===Of&&(Of=[]);return Af(Of,a,b)} -function cg(){throw Error("Cache cannot be refreshed during server rendering.");}function dg(){} -var fg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return bg(a);if(a.$$typeof===Se||a.$$typeof===Te)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){Rf();return a._currentValue},useMemo:$f,useReducer:Yf,useRef:function(a){Ff=Rf();T=Tf();var b=T.memoizedState;return null===b?(a={current:a},T.memoizedState=a):b},useState:function(a){return Yf(Xf,a)}, -useInsertionEffect:dg,useLayoutEffect:dg,useCallback:function(a,b){return $f(function(){return a},b)},useImperativeHandle:dg,useEffect:dg,useDebugValue:dg,useDeferredValue:function(a){Rf();return a},useTransition:function(){Rf();return[!1,ag]},useId:function(){var a=Gf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-uf(a)-1)).toString(32)+b;var c=eg;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Kf++;a=":"+c.idPrefix+"R"+a;0<b&& -(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return cg}},eg=null,gg={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},hg=Fa.ReactCurrentDispatcher,ig=Fa.ReactCurrentCache;function jg(a){console.error(a);return null} -function kg(){} -function lg(a,b,c,d,e,f,g,h,l,n,r,u){Ga.current=Sa;var q=[],w=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:w,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?jg:f,onPostpone:void 0===r?kg:r,onAllReady:void 0===g? -kg:g,onShellReady:void 0===h?kg:h,onShellError:void 0===l?kg:l,onFatalError:void 0===n?kg:n,formState:void 0===u?null:u};c=mg(b,0,null,d,!1,!1);c.parentFlushed=!0;a=ng(b,null,a,-1,null,c,w,null,d,gf,null,sf);q.push(a);return b}var og=null;function Ge(){if(og)return og;if(Ke){var a=Le.getStore();if(a)return a}return null}function pg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return qg(a)},0))} -function rg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function ng(a,b,c,d,e,f,g,h,l,n,r,u){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var q={replay:null,node:c,childIndex:d,ping:function(){return pg(a,q)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:r,treeContext:u,thenableState:b};g.add(q);return q} -function sg(a,b,c,d,e,f,g,h,l,n,r,u){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var q={replay:c,node:d,childIndex:e,ping:function(){return pg(a,q)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:r,treeContext:u,thenableState:b};g.add(q);return q}function mg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function W(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function tg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,ia(a.destination,b)):(a.status=1,a.fatalError=b)} -function ug(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((ff(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=z({},c,d)}b.legacyContext=e;X(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,X(a,b,null,f,-1),b.keyPath=e} -function vg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var l=b.blockedSegment;if(null!==l){h=!0;l=l.chunks;for(var n=0;n<f;n++)n===g?l.push(Wb):l.push(Xb)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=tf(c,1,0),wg(a,b,d,-1),b.treeContext=c):h?wg(a,b,d,-1):X(a,b,null,d,-1);b.keyPath=f}function xg(a,b){if(a&&a.defaultProps){b=z({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function yg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=hf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);rf(h,e,f,d);ug(a,b,c,h,e)}else{h=hf(e,b.legacyContext);Ff={};Gf=b;Lf=Kf=0;Mf=-1;Nf=0;Of=d;d=e(f,h);d=Uf(e,f,d,h);g=0!==Kf;var l=Lf,n=Mf;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(rf(d,e,f,h),ug(a,b,c,d,e)):vg(a,b,c,d,g,l,n)}else if("string"===typeof e)if(d=b.blockedSegment, -null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Db(h,e,f),b.keyPath=c,wg(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=rc(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;l=b.keyPath;b.formatContext=Db(h,e,f);b.keyPath=c;wg(a,b,g,-1);b.formatContext=h;b.keyPath=l;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(kc,x(e),lc)}d.lastPushedText=!1}else{switch(e){case bf:case $e:case Pe:case Qe:case Oe:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case af:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,X(a,b,null,f.children,-1),b.keyPath=e);return;case We:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case Ze:throw Error("ReactDOMServer does not yet support scope components."); -case Ve:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{wg(a,b,c,-1)}finally{b.keyPath=e}}else{n=b.keyPath;e=b.blockedBoundary;var r=b.blockedSegment;d=f.fallback;var u=f.children;f=new Set;g=rg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);l=mg(a,r.chunks.length,g,b.formatContext,!1,!1);r.children.push(l);r.lastPushedText=!1;var q=mg(a,0,null,b.formatContext,!1,!1);q.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=q;a.renderState.boundaryResources=g.resources;b.keyPath= -c;try{if(wg(a,b,u,-1),q.lastPushedText&&q.textEmbedded&&q.chunks.push(Eb),q.status=1,zg(g,q),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(w){q.status=4,g.status=4,h=W(a,w),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=r,b.keyPath=n}h=[c[0],"Suspense Fallback",c[2]];n=a.trackedPostpones;null!==n&&(r=[h[1],h[2],[],null],n.workingMap.set(h,r),5===g.status?n.workingMap.get(c)[4]=r:g.trackedFallbackNode=r);b=ng(a,null,d,-1, -e,l,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Ue:e=e.render;Ff={};Gf=b;Lf=Kf=0;Mf=-1;Nf=0;Of=d;d=e(f,g);f=Uf(e,f,d,g);vg(a,b,c,f,0!==Kf,Lf,Mf);return;case Xe:e=e.type;f=xg(e,f);yg(a,b,c,d,e,f,g);return;case Re:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;l=jf;jf=f={parent:l,depth:null===l?0:l.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath= -c;X(a,b,null,h,-1);a=jf;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===df?a.context._defaultValue:c;a=jf=a.parent;b.context=a;b.keyPath=d;return;case Se:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;X(a,b,null,f,-1);b.keyPath=e;return;case Ye:h=e._init;e=h(e._payload);f=xg(e,f);yg(a,b,c,d,e,f,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+ -((null==e?e:typeof e)+"."));}}function Ag(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=mg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,wg(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(zg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function X(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Me:var f=d.type,g=d.key,h=d.props,l=d.ref,n=ff(f),r=null==g?-1===e?0:e:g;g=[b.keyPath,n,r];if(null!==b.replay)a:{var u=b.replay;e=u.nodes;for(d=0;d<e.length;d++){var q=e[d];if(r===q[1]){if(null!==n&&n!==q[0])throw Error('Expected to see a component of type "'+n+"\" in this slot. The tree doesn't match so React will fallback to client rendering.");if(4===q.length){n=q[2];q=q[3];b.replay={nodes:n, -slots:q,pendingTasks:1};try{if("number"===typeof q){r=a;var w=b,I=w.replay,J=w.blockedBoundary,t=mg(r,0,null,w.formatContext,!1,!1);t.id=q;t.parentFlushed=!0;try{w.replay=null,w.blockedSegment=t,yg(r,w,g,c,f,h,l),t.status=1,null===J?r.completedRootSegment=t:(zg(J,t),J.parentFlushed&&r.partialBoundaries.push(J))}finally{w.replay=I,w.blockedSegment=null}}else yg(a,b,g,c,f,h,l);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -}catch(F){if("object"===typeof F&&null!==F&&(F===yf||"function"===typeof F.then))throw F;h=void 0;var B=b.blockedBoundary;g=F;h=W(a,g);Bg(a,B,n,q,g,h)}finally{b.replay.pendingTasks--,b.replay=u}}else{if(f!==Ve)throw Error("Expected to see a Suspense boundary in this slot. The tree doesn't match so React will fallback to client rendering.");b:{B=void 0;I=q[5];J=q[2];t=q[3];f=null===q[4]?[]:q[4][2];u=null===q[4]?null:q[4][3];l=b.keyPath;n=b.replay;q=b.blockedBoundary;r=h.children;h=h.fallback;c=new Set; -w=rg(a,c);w.parentFlushed=!0;w.rootSegmentID=I;b.blockedBoundary=w;b.replay={nodes:J,slots:t,pendingTasks:1};a.renderState.boundaryResources=w.resources;try{"number"===typeof t?Ag(a,b,t,r,-1):wg(a,b,r,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===w.pendingTasks&&0===w.status){w.status=1;a.completedBoundaries.push(w); -break b}}catch(F){w.status=4,B=W(a,F),w.errorDigest=B,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(w)}finally{a.renderState.boundaryResources=q?q.resources:null,b.blockedBoundary=q,b.replay=n,b.keyPath=l}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof u?(B=mg(a,0,null,b.formatContext,!1,!1),B.id=u,B.parentFlushed=!0,b=ng(a,null,h,-1,q,B,c,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):b=sg(a,null,{nodes:f,slots:u,pendingTasks:0},h,-1,q,c,g,b.formatContext,b.legacyContext, -b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else yg(a,b,g,c,f,h,l);return;case Ne:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ye:h=d._init;d=h(d._payload);X(a,b,null,d,e);return}if(Ea(d)){Cg(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=ef&&d[ef]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value), -d=h.next();while(!d.done);Cg(a,b,g,e)}return}if("function"===typeof d.then)return X(a,b,null,bg(d),e);if(d.$$typeof===Se||d.$$typeof===Te)return X(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Fb(e.chunks, -d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Fb(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function Cg(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var l=g[h];if(l[1]===d){d=l[2];l=l[3];b.replay={nodes:d,slots:l,pendingTasks:1};try{if(Cg(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");}catch(u){if("object"===typeof u&&null!==u&&(u===yf|| -"function"===typeof u.then))throw u;c=void 0;var n=b.blockedBoundary,r=u;c=W(a,r);Bg(a,n,d,l,r,c)}finally{b.replay.pendingTasks--,b.replay=f}g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(n=0;n<g;n++)d=c[n],b.treeContext=tf(f,g,n),l=h[n],"number"===typeof l?(Ag(a,b,l,d,n),delete h[n]):wg(a,b,d,n);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)n=c[h],b.treeContext=tf(f,g,h),wg(a,b,n,h);b.treeContext=f; -b.keyPath=e} -function wg(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,l=b.treeContext,n=b.blockedSegment;if(null===n)try{return X(a,b,null,c,d)}catch(q){if(Vf(),c=q===yf?Cf():q,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Wf();a=sg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;pf(g);return}}else{var r= -n.children.length,u=n.chunks.length;try{return X(a,b,null,c,d)}catch(q){if(Vf(),n.children.length=r,n.chunks.length=u,c=q===yf?Cf():q,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Wf();n=b.blockedSegment;r=mg(a,n.chunks.length,null,b.formatContext,n.lastPushedText,!0);n.children.push(r);n.lastPushedText=!1;a=ng(a,d,b.node,b.childIndex,b.blockedBoundary,r,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=l;pf(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;pf(g);throw c;}function Dg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Eg(this,b,a))} -function Bg(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Bg(a,b,h[2],h[3],e,f);else{h=h[5];var l=a,n=f,r=rg(l,new Set);r.parentFlushed=!0;r.rootSegmentID=h;r.status=4;r.errorDigest=n;r.parentFlushed&&l.clientRenderedBoundaries.push(r)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var u in d)delete d[u]}} -function Fg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(W(b,c),tg(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=W(b,c),Bg(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=W(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Fg(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function zg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&zg(a,c)}else a.completedSegments.push(b)} -function Eg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=kg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&zg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Dg, -a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(zg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function qg(a){if(2!==a.status){var b=jf,c=hg.current;hg.current=fg;var d=ig.current;ig.current=gg;var e=og;og=a;var f=eg;eg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var l=g[h],n=a,r=l.blockedBoundary;n.renderState.boundaryResources=r?r.resources:null;var u=l.blockedSegment;if(null===u){var q=n;if(0!==l.replay.pendingTasks){pf(l.context);try{var w=l.thenableState;l.thenableState=null;X(q,l,w,l.node,-1);if(1===l.replay.pendingTasks&&0<l.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -l.replay.pendingTasks--;l.abortSet.delete(l);Eg(q,l.blockedBoundary,null)}catch(L){Vf();var I=L===yf?Cf():L;if("object"===typeof I&&null!==I&&"function"===typeof I.then){var J=l.ping;I.then(J,J);l.thenableState=Wf()}else{l.replay.pendingTasks--;l.abortSet.delete(l);n=void 0;var t=q,B=l.blockedBoundary,F=I,ka=l.replay.nodes,C=l.replay.slots;n=W(t,F);Bg(t,B,ka,C,F,n);q.allPendingTasks--;if(0===q.allPendingTasks){var U=q.onAllReady;U()}}}finally{q.renderState.boundaryResources=null}}}else if(q=void 0, -t=u,0===t.status){pf(l.context);var D=t.children.length,da=t.chunks.length;try{var la=l.thenableState;l.thenableState=null;X(n,l,la,l.node,l.childIndex);t.lastPushedText&&t.textEmbedded&&t.chunks.push(Eb);l.abortSet.delete(l);t.status=1;Eg(n,l.blockedBoundary,t)}catch(L){Vf();t.children.length=D;t.chunks.length=da;var V=L===yf?Cf():L;if("object"===typeof V&&null!==V&&"function"===typeof V.then){var ea=l.ping;V.then(ea,ea);l.thenableState=Wf()}else{l.abortSet.delete(l);t.status=4;var K=l.blockedBoundary; -q=W(n,V);null===K?tg(n,V):(K.pendingTasks--,4!==K.status&&(K.status=4,K.errorDigest=q,K.parentFlushed&&n.clientRenderedBoundaries.push(K)));n.allPendingTasks--;if(0===n.allPendingTasks){var Y=n.onAllReady;Y()}}}finally{n.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Gg(a,a.destination)}catch(L){W(a,L),tg(a,L)}finally{eg=f,hg.current=c,ig.current=d,c===fg&&pf(b),og=e}}} -function Hg(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;p(b,tc);p(b,a.placeholderPrefix);a=x(d.toString(16));p(b,a);return v(b,uc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)p(b,d[f]);e=Ig(a,b,e)}for(;f<d.length-1;f++)p(b,d[f]);f<d.length&&(e=v(b,d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fa=/["'&<>]/; +function E(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Fa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var Ga=/([A-Z])/g,Ha=/^ms-/,Ia=Array.isArray,Ja=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ka={pending:!1,data:null,method:null,action:null},La=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Ya={prefetchDNS:Ra,preconnect:Sa,preload:Ta,preloadModule:Ua,preinitStyle:Va,preinitScript:Wa,preinitModuleScript:Xa},Za=[],nb=x('"></template>'),ob=x("<script>"),pb=x("\x3c/script>"),qb=x('<script src="'),rb=x('<script type="module" src="'),sb=x('" nonce="'),tb=x('" integrity="'), +ub=x('" crossorigin="'),vb=x('" async="">\x3c/script>'),wb=/(<\/|<)(s)(cript)/gi;function xb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var yb=x('<script type="importmap">'),Hb=x("\x3c/script>"); +function Ib(a,b,c,d,e,f,g){var h=void 0===b?ob:x('<script nonce="'+E(b)+'">'),l=a.idPrefix,n=[],t=null;void 0!==c&&n.push(h,w((""+c).replace(wb,xb)),pb);void 0!==f&&("string"===typeof f?(t={src:f,chunks:[]},Jb(t.chunks,{src:f,async:!0,integrity:void 0,nonce:b})):(t={src:f.src,chunks:[]},Jb(t.chunks,{src:f.src,async:!0,integrity:f.integrity,nonce:b})));c=[];void 0!==g&&(c.push(yb),c.push(w((""+JSON.stringify(g)).replace(wb,xb))),c.push(Hb));g={placeholderPrefix:x(l+"P:"),segmentPrefix:x(l+"S:"),boundaryPrefix:x(l+ +"B:"),startInlineScript:h,htmlChunks:null,headChunks:null,externalRuntimeScript:t,bootstrapChunks:n,charsetChunks:[],preconnectChunks:[],importMapChunks:c,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:b,boundaryResources:null,stylesToHoist:!1};if(void 0!==d)for(h=0;h<d.length;h++){var r= +d[h];c=t=void 0;f={rel:"preload",as:"script",fetchPriority:"low",nonce:b};"string"===typeof r?f.href=l=r:(f.href=l=r.src,f.integrity=c="string"===typeof r.integrity?r.integrity:void 0,f.crossOrigin=t="string"===typeof r||null==r.crossOrigin?void 0:"use-credentials"===r.crossOrigin?"use-credentials":"");r=a;var q=l;r.scriptResources[q]=null;r.moduleScriptResources[q]=null;r=[];K(r,f);g.bootstrapScripts.add(r);n.push(qb,w(E(l)));b&&n.push(sb,w(E(b)));"string"===typeof c&&n.push(tb,w(E(c)));"string"=== +typeof t&&n.push(ub,w(E(t)));n.push(vb)}if(void 0!==e)for(d=0;d<e.length;d++)f=e[d],t=l=void 0,c={rel:"modulepreload",fetchPriority:"low",nonce:b},"string"===typeof f?c.href=h=f:(c.href=h=f.src,c.integrity=t="string"===typeof f.integrity?f.integrity:void 0,c.crossOrigin=l="string"===typeof f||null==f.crossOrigin?void 0:"use-credentials"===f.crossOrigin?"use-credentials":""),f=a,r=h,f.scriptResources[r]=null,f.moduleScriptResources[r]=null,f=[],K(f,c),g.bootstrapScripts.add(f),n.push(rb,w(E(h))),b&& +n.push(sb,w(E(b))),"string"===typeof t&&n.push(tb,w(E(t))),"string"===typeof l&&n.push(ub,w(E(l))),n.push(vb);return g}function Kb(a,b){var c=0;void 0!==b&&(c=1);return{idPrefix:void 0===a?"":a,nextFormID:0,streamingFormat:c,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}} +function L(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}}function Lb(a){return L("http://www.w3.org/2000/svg"===a?3:"http://www.w3.org/1998/Math/MathML"===a?4:0,null,0)} +function Mb(a,b,c){switch(b){case "noscript":return L(2,null,a.tagScope|1);case "select":return L(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return L(3,null,a.tagScope);case "picture":return L(2,null,a.tagScope|2);case "math":return L(4,null,a.tagScope);case "foreignObject":return L(2,null,a.tagScope);case "table":return L(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return L(6,null,a.tagScope);case "colgroup":return L(8,null,a.tagScope);case "tr":return L(7,null,a.tagScope)}return 5<= +a.insertionMode?L(2,null,a.tagScope):0===a.insertionMode?"html"===b?L(1,null,a.tagScope):L(2,null,a.tagScope):1===a.insertionMode?L(2,null,a.tagScope):a}var Nb=x("\x3c!-- --\x3e");function Ob(a,b,c,d){if(""===b)return d;d&&a.push(Nb);a.push(w(E(b)));return!0}var Pb=new Map,Qb=x(' style="'),Rb=x(":"),Sb=x(";"); +function Tb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(A.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=w(E(d));e=w(E((""+e).trim()))}else f=Pb.get(d),void 0===f&&(f=x(E(d.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-"))),Pb.set(d,f)),e="number"===typeof e?0===e||ya.has(d)?w(""+ +e):w(e+"px"):w(E((""+e).trim()));c?(c=!1,a.push(Qb,f,Rb,e)):a.push(Sb,f,Rb,e)}}c||a.push(M)}var N=x(" "),P=x('="'),M=x('"'),Ub=x('=""');function Vb(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,w(b),Ub)}function Q(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(N,w(b),P,w(E(c)),M)}function Wb(a){var b=a.nextFormID++;return a.idPrefix+b}var Xb=x(E("javascript:throw new Error('A React form was unexpectedly submitted.')")),Yb=x('<input type="hidden"'); +function Zb(a,b){this.push(Yb);if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");Q(this,"name",b);Q(this,"value",a);this.push($b)} +function ac(a,b,c,d,e,f,g,h){var l=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Wb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,l=b.data):(a.push(N,w("formAction"),P,Xb,M),g=f=e=d=h=null,bc(b,c)));null!=h&&S(a,"name",h);null!=d&&S(a,"formAction",d);null!=e&&S(a,"formEncType",e);null!=f&&S(a,"formMethod",f);null!=g&&S(a,"formTarget",g);return l} +function S(a,b,c){switch(b){case "className":Q(a,"class",c);break;case "tabIndex":Q(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":Q(a,b,c);break;case "style":Tb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(N,w(b),P,w(E(c)),M);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":Vb(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;c=""+c;a.push(N,w("xlink:href"),P,w(E(c)),M);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,w(b),P,w(E(c)),M);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,w(b),Ub);break;case "capture":case "download":!0===c?a.push(N,w(b),Ub):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(N,w(b),P,w(E(c)),M);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(N,w(b),P,w(E(c)),M);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(N,w(b),P,w(E(c)),M);break;case "xlinkActuate":Q(a,"xlink:actuate", +c);break;case "xlinkArcrole":Q(a,"xlink:arcrole",c);break;case "xlinkRole":Q(a,"xlink:role",c);break;case "xlinkShow":Q(a,"xlink:show",c);break;case "xlinkTitle":Q(a,"xlink:title",c);break;case "xlinkType":Q(a,"xlink:type",c);break;case "xmlBase":Q(a,"xml:base",c);break;case "xmlLang":Q(a,"xml:lang",c);break;case "xmlSpace":Q(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=za.get(b)||b,xa(b)){switch(typeof c){case "function":case "symbol":return; +case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(N,w(b),P,w(E(c)),M)}}}var T=x(">"),$b=x("/>"); +function cc(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(w(""+b))}}function dc(a){var b="";ca.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var ec=x(' selected=""'),fc=x('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); +function bc(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,fc,pb))}var gc=x("\x3c!--F!--\x3e"),hc=x("\x3c!--F--\x3e"); +function pc(a,b,c,d,e,f,g){var h=b.rel,l=b.href,n=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof l||""===l)return K(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof n||null!=b.disabled||b.onLoad||b.onError)return K(a,b);f=d.styles.get(n);g=c.styleResources.hasOwnProperty(l)?c.styleResources[l]:void 0;null!==g?(c.styleResources[l]=null,f||(f={precedence:w(E(n)),rules:[],hrefs:[],sheets:new Map},d.styles.set(n,f)),b={state:0,props:y({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&qc(b.props,g),(c=d.preloads.stylesheets.get(l))&&0<c.length?c.length=0:b.state=1),f.sheets.set(l,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(l=f.sheets.get(l))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(l);e&&a.push(Nb);return null}if(b.onLoad||b.onError)return K(a,b);e&&a.push(Nb);switch(b.rel){case "preconnect":case "dns-prefetch":return K(d.preconnectChunks,b);case "preload":return K(d.preloadChunks,b);default:return K(d.hoistableChunks, +b)}}function K(a,b){a.push(U("link"));for(var c in b)if(A.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:S(a,c,d)}}a.push($b);return null} +function rc(a,b,c){a.push(U(c));for(var d in b)if(A.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:S(a,d,e)}}a.push($b);return null} +function sc(a,b){a.push(U("title"));var c=null,d=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:S(a,e,f)}}a.push(T);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(w(E(""+b)));cc(a,d,c);a.push(tc,w("title"),uc);return null} +function Jb(a,b){a.push(U("script"));var c=null,d=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:S(a,e,f)}}a.push(T);cc(a,d,c);"string"===typeof c&&a.push(w(E(c)));a.push(tc,w("script"),uc);return null} +function vc(a,b,c){a.push(U(c));var d=c=null,e;for(e in b)if(A.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:S(a,e,f)}}a.push(T);cc(a,d,c);return"string"===typeof c?(a.push(w(E(c))),null):c}var wc=x("\n"),xc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yc=new Map;function U(a){var b=yc.get(a);if(void 0===b){if(!xc.test(a))throw Error("Invalid tag: "+a);b=x("<"+a);yc.set(a,b)}return b}var zc=x("<!DOCTYPE html>"); +function Ac(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(U("select"));var h=null,l=null,n;for(n in c)if(A.call(c,n)){var t=c[n];if(null!=t)switch(n){case "children":h=t;break;case "dangerouslySetInnerHTML":l=t;break;case "defaultValue":case "value":break;default:S(a,n,t)}}a.push(T);cc(a,l,h);return h;case "option":var r=f.selectedValue;a.push(U("option"));var q=null,D=null,G=null,Z=null,u;for(u in c)if(A.call(c, +u)){var z=c[u];if(null!=z)switch(u){case "children":q=z;break;case "selected":G=z;break;case "dangerouslySetInnerHTML":Z=z;break;case "value":D=z;default:S(a,u,z)}}if(null!=r){var F=null!==D?""+D:dc(q);if(Ia(r))for(var ja=0;ja<r.length;ja++){if(""+r[ja]===F){a.push(ec);break}}else""+r===F&&a.push(ec)}else G&&a.push(ec);a.push(T);cc(a,Z,q);return q;case "textarea":a.push(U("textarea"));var B=null,V=null,C=null,ea;for(ea in c)if(A.call(c,ea)){var ka=c[ea];if(null!=ka)switch(ea){case "children":C=ka; +break;case "value":B=ka;break;case "defaultValue":V=ka;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:S(a,ea,ka)}}null===B&&null!==V&&(B=V);a.push(T);if(null!=C){if(null!=B)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ia(C)){if(1<C.length)throw Error("<textarea> can only have at most one child.");B=""+C[0]}B=""+C}"string"===typeof B&&"\n"===B[0]&&a.push(wc);null!==B&&a.push(w(E(""+B))); +return null;case "input":a.push(U("input"));var pa=null,R=null,aa=null,H=null,la=null,I=null,qa=null,ra=null,Ma=null,fa;for(fa in c)if(A.call(c,fa)){var ba=c[fa];if(null!=ba)switch(fa){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":pa=ba;break;case "formAction":R=ba;break;case "formEncType":aa=ba;break;case "formMethod":H=ba;break;case "formTarget":la=ba;break;case "defaultChecked":Ma= +ba;break;case "defaultValue":qa=ba;break;case "checked":ra=ba;break;case "value":I=ba;break;default:S(a,fa,ba)}}var gd=ac(a,d,e,R,aa,H,la,pa);null!==ra?Vb(a,"checked",ra):null!==Ma&&Vb(a,"checked",Ma);null!==I?S(a,"value",I):null!==qa&&S(a,"value",qa);a.push($b);null!==gd&&gd.forEach(Zb,a);return null;case "button":a.push(U("button"));var $a=null,hd=null,id=null,jd=null,kd=null,ld=null,md=null,ab;for(ab in c)if(A.call(c,ab)){var ma=c[ab];if(null!=ma)switch(ab){case "children":$a=ma;break;case "dangerouslySetInnerHTML":hd= +ma;break;case "name":id=ma;break;case "formAction":jd=ma;break;case "formEncType":kd=ma;break;case "formMethod":ld=ma;break;case "formTarget":md=ma;break;default:S(a,ab,ma)}}var nd=ac(a,d,e,jd,kd,ld,md,id);a.push(T);null!==nd&&nd.forEach(Zb,a);cc(a,hd,$a);if("string"===typeof $a){a.push(w(E($a)));var od=null}else od=$a;return od;case "form":a.push(U("form"));var bb=null,pd=null,sa=null,cb=null,db=null,eb=null,fb;for(fb in c)if(A.call(c,fb)){var ta=c[fb];if(null!=ta)switch(fb){case "children":bb=ta; +break;case "dangerouslySetInnerHTML":pd=ta;break;case "action":sa=ta;break;case "encType":cb=ta;break;case "method":db=ta;break;case "target":eb=ta;break;default:S(a,fb,ta)}}var ic=null,jc=null;if("function"===typeof sa)if("function"===typeof sa.$$FORM_ACTION){var bf=Wb(d),Na=sa.$$FORM_ACTION(bf);sa=Na.action||"";cb=Na.encType;db=Na.method;eb=Na.target;ic=Na.data;jc=Na.name}else a.push(N,w("action"),P,Xb,M),eb=db=cb=sa=null,bc(d,e);null!=sa&&S(a,"action",sa);null!=cb&&S(a,"encType",cb);null!=db&& +S(a,"method",db);null!=eb&&S(a,"target",eb);a.push(T);null!==jc&&(a.push(Yb),Q(a,"name",jc),a.push($b),null!==ic&&ic.forEach(Zb,a));cc(a,pd,bb);if("string"===typeof bb){a.push(w(E(bb)));var qd=null}else qd=bb;return qd;case "menuitem":a.push(U("menuitem"));for(var zb in c)if(A.call(c,zb)){var rd=c[zb];if(null!=rd)switch(zb){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:S(a,zb,rd)}}a.push(T);return null;case "title":if(3=== +f.insertionMode||f.tagScope&1||null!=c.itemProp)var sd=sc(a,c);else sc(e.hoistableChunks,c),sd=null;return sd;case "link":return pc(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var kc=c.async;if("string"!==typeof c.src||!c.src||!kc||"function"===typeof kc||"symbol"===typeof kc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var td=Jb(a,c);else{var Ab=c.src;if("module"===c.type){var Bb=d.moduleScriptResources;var ud=e.preloads.moduleScripts}else Bb=d.scriptResources, +ud=e.preloads.scripts;var Cb=Bb.hasOwnProperty(Ab)?Bb[Ab]:void 0;if(null!==Cb){Bb[Ab]=null;var lc=c;if(Cb){2===Cb.length&&(lc=y({},c),qc(lc,Cb));var vd=ud.get(Ab);vd&&(vd.length=0)}var wd=[];e.scripts.add(wd);Jb(wd,lc)}g&&a.push(Nb);td=null}return td;case "style":var Db=c.precedence,Aa=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Db||"string"!==typeof Aa||""===Aa){a.push(U("style"));var Oa=null,xd=null,gb;for(gb in c)if(A.call(c,gb)){var Eb=c[gb];if(null!=Eb)switch(gb){case "children":Oa= +Eb;break;case "dangerouslySetInnerHTML":xd=Eb;break;default:S(a,gb,Eb)}}a.push(T);var hb=Array.isArray(Oa)?2>Oa.length?Oa[0]:null:Oa;"function"!==typeof hb&&"symbol"!==typeof hb&&null!==hb&&void 0!==hb&&a.push(w(E(""+hb)));cc(a,xd,Oa);a.push(tc,w("style"),uc);var yd=null}else{var Ba=e.styles.get(Db);if(null!==(d.styleResources.hasOwnProperty(Aa)?d.styleResources[Aa]:void 0)){d.styleResources[Aa]=null;Ba?Ba.hrefs.push(w(E(Aa))):(Ba={precedence:w(E(Db)),rules:[],hrefs:[w(E(Aa))],sheets:new Map},e.styles.set(Db, +Ba));var zd=Ba.rules,Pa=null,Ad=null,Fb;for(Fb in c)if(A.call(c,Fb)){var mc=c[Fb];if(null!=mc)switch(Fb){case "children":Pa=mc;break;case "dangerouslySetInnerHTML":Ad=mc}}var ib=Array.isArray(Pa)?2>Pa.length?Pa[0]:null:Pa;"function"!==typeof ib&&"symbol"!==typeof ib&&null!==ib&&void 0!==ib&&zd.push(w(E(""+ib)));cc(zd,Ad,Pa)}Ba&&e.boundaryResources&&e.boundaryResources.styles.add(Ba);g&&a.push(Nb);yd=void 0}return yd;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var Bd=rc(a,c, +"meta");else g&&a.push(Nb),Bd="string"===typeof c.charSet?rc(e.charsetChunks,c,"meta"):"viewport"===c.name?rc(e.preconnectChunks,c,"meta"):rc(e.hoistableChunks,c,"meta");return Bd;case "listing":case "pre":a.push(U(b));var jb=null,kb=null,lb;for(lb in c)if(A.call(c,lb)){var Gb=c[lb];if(null!=Gb)switch(lb){case "children":jb=Gb;break;case "dangerouslySetInnerHTML":kb=Gb;break;default:S(a,lb,Gb)}}a.push(T);if(null!=kb){if(null!=jb)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); +if("object"!==typeof kb||!("__html"in kb))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Ca=kb.__html;null!==Ca&&void 0!==Ca&&("string"===typeof Ca&&0<Ca.length&&"\n"===Ca[0]?a.push(wc,w(Ca)):a.push(w(""+Ca)))}"string"===typeof jb&&"\n"===jb[0]&&a.push(wc);return jb;case "img":var O=c.src,J=c.srcSet;if(!("lazy"===c.loading||!O&&!J||"string"!==typeof O&&null!=O||"string"!== +typeof J&&null!=J)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof O||":"!==O[4]||"d"!==O[0]&&"D"!==O[0]||"a"!==O[1]&&"A"!==O[1]||"t"!==O[2]&&"T"!==O[2]||"a"!==O[3]&&"A"!==O[3])&&("string"!==typeof J||":"!==J[4]||"d"!==J[0]&&"D"!==J[0]||"a"!==J[1]&&"A"!==J[1]||"t"!==J[2]&&"T"!==J[2]||"a"!==J[3]&&"A"!==J[3])){var Cd="string"===typeof c.sizes?c.sizes:void 0,mb=J?J+"\n"+(Cd||""):O,nc=e.preloads.images,Da=nc.get(mb);if(Da){if("high"===c.fetchPriority||10>e.highImagePreloads.size)nc.delete(mb), +e.highImagePreloads.add(Da)}else d.imageResources.hasOwnProperty(mb)||(d.imageResources[mb]=Za,Da=[],K(Da,{rel:"preload",as:"image",href:J?void 0:O,imageSrcSet:J,imageSizes:Cd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Da):(e.bulkPreloads.add(Da),nc.set(mb,Da)))}return rc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return rc(a, +c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Dd=vc(e.headChunks,c,"head")}else Dd=vc(a,c,"head");return Dd;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[zc];var Ed=vc(e.htmlChunks,c,"html")}else Ed=vc(a,c,"html");return Ed;default:if(-1!==b.indexOf("-")){a.push(U(b)); +var oc=null,Fd=null,Qa;for(Qa in c)if(A.call(c,Qa)){var Ea=c[Qa];if(null!=Ea){var cf=Qa;switch(Qa){case "children":oc=Ea;break;case "dangerouslySetInnerHTML":Fd=Ea;break;case "style":Tb(a,Ea);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:xa(Qa)&&"function"!==typeof Ea&&"symbol"!==typeof Ea&&a.push(N,w(cf),P,w(E(Ea)),M)}}}a.push(T);cc(a,Fd,oc);return oc}}return vc(a,c,b)}var tc=x("</"),uc=x(">"); +function Bc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)p(a,b[c]);return c<b.length?(c=b[c],b.length=0,v(a,c)):!0}var Cc=x('<template id="'),Dc=x('"></template>'),Ec=x("\x3c!--$--\x3e"),Fc=x('\x3c!--$?--\x3e<template id="'),Gc=x('"></template>'),Hc=x("\x3c!--$!--\x3e"),Ic=x("\x3c!--/$--\x3e"),Jc=x("<template"),Kc=x('"'),Lc=x(' data-dgst="');x(' data-msg="');x(' data-stck="');var Mc=x("></template>"); +function Nc(a,b,c){p(a,Fc);if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");p(a,b.boundaryPrefix);p(a,w(c.toString(16)));return v(a,Gc)} +var Oc=x('<div hidden id="'),Pc=x('">'),Qc=x("</div>"),Rc=x('<svg aria-hidden="true" style="display:none" id="'),Sc=x('">'),Tc=x("</svg>"),Uc=x('<math aria-hidden="true" style="display:none" id="'),Vc=x('">'),Wc=x("</math>"),Xc=x('<table hidden id="'),Yc=x('">'),Zc=x("</table>"),$c=x('<table hidden><tbody id="'),ad=x('">'),bd=x("</tbody></table>"),cd=x('<table hidden><tr id="'),dd=x('">'),ed=x("</tr></table>"),fd=x('<table hidden><colgroup id="'),Gd=x('">'),Hd=x("</colgroup></table>"); +function Id(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return p(a,Oc),p(a,b.segmentPrefix),p(a,w(d.toString(16))),v(a,Pc);case 3:return p(a,Rc),p(a,b.segmentPrefix),p(a,w(d.toString(16))),v(a,Sc);case 4:return p(a,Uc),p(a,b.segmentPrefix),p(a,w(d.toString(16))),v(a,Vc);case 5:return p(a,Xc),p(a,b.segmentPrefix),p(a,w(d.toString(16))),v(a,Yc);case 6:return p(a,$c),p(a,b.segmentPrefix),p(a,w(d.toString(16))),v(a,ad);case 7:return p(a,cd),p(a,b.segmentPrefix),p(a,w(d.toString(16))),v(a,dd); +case 8:return p(a,fd),p(a,b.segmentPrefix),p(a,w(d.toString(16))),v(a,Gd);default:throw Error("Unknown insertion mode. This is a bug in React.");}}function Jd(a,b){switch(b.insertionMode){case 0:case 1:case 2:return v(a,Qc);case 3:return v(a,Tc);case 4:return v(a,Wc);case 5:return v(a,Zc);case 6:return v(a,bd);case 7:return v(a,ed);case 8:return v(a,Hd);default:throw Error("Unknown insertion mode. This is a bug in React.");}} +var Kd=x('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ld=x('$RS("'),Md=x('","'),Nd=x('")\x3c/script>'),Od=x('<template data-rsi="" data-sid="'),Pd=x('" data-pid="'),Qd=x('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), +Rd=x('$RC("'),Sd=x('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Td=x('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Ud=x('$RR("'),Vd=x('","'),Wd=x('",'),Xd=x('"'),Yd=x(")\x3c/script>"),Zd=x('<template data-rci="" data-bid="'),$d=x('<template data-rri="" data-bid="'),ae=x('" data-sid="'),be=x('" data-sty="'),ce=x('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),de=x('$RX("'),ee=x('"'),fe=x(","),ge=x(")\x3c/script>"),he=x('<template data-rxi="" data-bid="'),ie=x('" data-dgst="'), +je=x('" data-msg="'),ke=x('" data-stck="'),le=/[<\u2028\u2029]/g;function me(a){return JSON.stringify(a).replace(le,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var ne=/[&><\u2028\u2029]/g; +function oe(a){return JSON.stringify(a).replace(ne,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} +var pe=x('<style media="not all" data-precedence="'),qe=x('" data-href="'),re=x('">'),se=x("</style>"),te=!1,ue=!0;function ve(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){p(this,pe);p(this,a.precedence);for(p(this,qe);d<c.length-1;d++)p(this,c[d]),p(this,we);p(this,c[d]);p(this,re);for(d=0;d<b.length;d++)p(this,b[d]);ue=v(this,se);te=!0;b.length=0;c.length=0}}function xe(a){return 2!==a.state?te=!0:!1} +function ye(a,b,c){te=!1;ue=!0;b.styles.forEach(ve,a);b.stylesheets.forEach(xe);te&&(c.stylesToHoist=!0);return ue}function ze(a){for(var b=0;b<a.length;b++)p(this,a[b]);a.length=0}var Ae=[];function Be(a){K(Ae,a.props);for(var b=0;b<Ae.length;b++)p(this,Ae[b]);Ae.length=0;a.state=2}var Ce=x('<style data-precedence="'),De=x('" data-href="'),we=x(" "),Ee=x('">'),Fe=x("</style>"); +function Ge(a){var b=0<a.sheets.size;a.sheets.forEach(Be,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){p(this,Ce);p(this,a.precedence);a=0;if(d.length){for(p(this,De);a<d.length-1;a++)p(this,d[a]),p(this,we);p(this,d[a])}p(this,Ee);for(a=0;a<c.length;a++)p(this,c[a]);p(this,Fe);c.length=0;d.length=0}} +function He(a){if(0===a.state){a.state=1;var b=a.props;K(Ae,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<Ae.length;a++)p(this,Ae[a]);Ae.length=0}}function Ie(a){a.sheets.forEach(He,this);a.sheets.clear()}var Je=x("["),Ke=x(",["),Le=x(","),Me=x("]"); +function Ne(a,b){p(a,Je);var c=Je;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)p(a,c),p(a,w(oe(""+d.props.href))),p(a,Me),c=Ke;else{p(a,c);var e=d.props["data-precedence"],f=d.props;p(a,w(oe(""+d.props.href)));e=""+e;p(a,Le);p(a,w(oe(e)));for(var g in f)if(A.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); +default:a:{e=a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!xa(g))break a;h=""+h}p(e,Le);p(e,w(oe(l)));p(e,Le);p(e,w(oe(h)))}}}p(a, +Me);c=Ke;d.state=3}});p(a,Me)} +function Oe(a,b){p(a,Je);var c=Je;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)p(a,c),p(a,w(E(JSON.stringify(""+d.props.href)))),p(a,Me),c=Ke;else{p(a,c);var e=d.props["data-precedence"],f=d.props;p(a,w(E(JSON.stringify(""+d.props.href))));e=""+e;p(a,Le);p(a,w(E(JSON.stringify(e))));for(var g in f)if(A.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:a:{e= +a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!xa(g))break a;h=""+h}p(e,Le);p(e,w(E(JSON.stringify(l))));p(e,Le);p(e,w(E(JSON.stringify(h))))}}}p(a, +Me);c=Ke;d.state=3}});p(a,Me)}function Ra(a){var b=Pe();if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;K(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Qe(b)}}} +function Sa(a,b){var c=Pe();if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;K(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Qe(c)}}} +function Ta(a,b,c){var d=Pe();if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var l=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=Za;e=[];K(e,y({rel:"preload",href:g?void 0:a,as:b},c));"high"===l?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];K(g,y({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Za:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);K(g,y({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Za:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=y({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}K(e,c);g[a]=Za}Qe(d)}}} +function Ua(a,b){var c=Pe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?Za:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=Za}K(f,y({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Qe(c)}}} +function Va(a,b,c){var d=Pe();if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:w(E(b)),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:y({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&qc(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Qe(d))}}} +function Wa(a,b){var c=Pe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=y({src:a,async:!0},b),f&&(2===f.length&&qc(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),Qe(c))}}} +function Xa(a,b){var c=Pe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=y({src:a,type:"module",async:!0},b),f&&(2===f.length&&qc(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),Jb(a,b),Qe(c))}}}function qc(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Re(a){this.styles.add(a)} +function Se(a){this.stylesheets.add(a)} +var Te="function"===typeof AsyncLocalStorage,Ue=Te?new AsyncLocalStorage:null,Ve=Symbol.for("react.element"),We=Symbol.for("react.portal"),Xe=Symbol.for("react.fragment"),Ye=Symbol.for("react.strict_mode"),Ze=Symbol.for("react.profiler"),$e=Symbol.for("react.provider"),af=Symbol.for("react.context"),df=Symbol.for("react.server_context"),ef=Symbol.for("react.forward_ref"),ff=Symbol.for("react.suspense"),gf=Symbol.for("react.suspense_list"),hf=Symbol.for("react.memo"),jf=Symbol.for("react.lazy"),kf= +Symbol.for("react.scope"),lf=Symbol.for("react.debug_trace_mode"),mf=Symbol.for("react.offscreen"),nf=Symbol.for("react.legacy_hidden"),of=Symbol.for("react.cache"),pf=Symbol.for("react.default_value"),qf=Symbol.iterator; +function rf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Xe:return"Fragment";case We:return"Portal";case Ze:return"Profiler";case Ye:return"StrictMode";case ff:return"Suspense";case gf:return"SuspenseList";case of:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case af:return(a.displayName||"Context")+".Consumer";case $e:return(a._context.displayName||"Context")+".Provider";case ef:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case hf:return b=a.displayName||null,null!==b?b:rf(a.type)||"Memo";case jf:b=a._payload;a=a._init;try{return rf(a(b))}catch(c){}}return null}var sf={};function tf(a,b){a=a.contextTypes;if(!a)return sf;var c={},d;for(d in a)c[d]=b[d];return c}var uf=null; +function vf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");vf(a,c)}b.context._currentValue=b.value}}function wf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&wf(a)} +function xf(a){var b=a.parent;null!==b&&xf(b);a.context._currentValue=a.value}function yf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?vf(a,b):yf(a,b)} +function zf(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?vf(a,c):zf(a,c);b.context._currentValue=b.value}function Af(a){var b=uf;b!==a&&(null===b?xf(a):null===a?wf(b):b.depth===a.depth?vf(b,a):b.depth>a.depth?yf(b,a):zf(b,a),uf=a)} +var Bf={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function Cf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Bf;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:y({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Bf.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=y({},f,h)):y(f,h))}a.state=f}else f.queue=null} +var Df={id:1,overflow:""};function Ef(a,b,c){var d=a.id;a=a.overflow;var e=32-Ff(d)-1;d&=~(1<<e);c+=1;var f=32-Ff(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Ff(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Ff=Math.clz32?Math.clz32:Gf,Hf=Math.log,If=Math.LN2;function Gf(a){a>>>=0;return 0===a?32:31-(Hf(a)/If|0)|0}var Jf=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Kf(){}function Lf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Kf,Kf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Mf=b;throw Jf;}}var Mf=null; +function Nf(){if(null===Mf)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Mf;Mf=null;return a}function Of(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Pf="function"===typeof Object.is?Object.is:Of,Qf=null,Rf=null,Sf=null,Tf=null,Uf=null,W=null,Vf=!1,Wf=!1,Xf=0,Yf=0,Zf=-1,$f=0,ag=null,bg=null,cg=0; +function dg(){if(null===Qf)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Qf} +function eg(){if(0<cg)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function fg(){null===W?null===Uf?(Vf=!1,Uf=W=eg()):(Vf=!0,W=Uf):null===W.next?(Vf=!1,W=W.next=eg()):(Vf=!0,W=W.next);return W}function gg(a,b,c,d){for(;Wf;)Wf=!1,Yf=Xf=0,Zf=-1,$f=0,cg+=1,W=null,c=a(b,d);hg();return c}function ig(){var a=ag;ag=null;return a}function hg(){Tf=Sf=Rf=Qf=null;Wf=!1;Uf=null;cg=0;W=bg=null} +function jg(a,b){return"function"===typeof b?b(a):b}function kg(a,b,c){Qf=dg();W=fg();if(Vf){var d=W.queue;b=d.dispatch;if(null!==bg&&(c=bg.get(d),void 0!==c)){bg.delete(d);d=W.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);W.memoizedState=d;return[d,b]}return[W.memoizedState,b]}a=a===jg?"function"===typeof b?b():b:void 0!==c?c(b):b;W.memoizedState=a;a=W.queue={last:null,dispatch:null};a=a.dispatch=lg.bind(null,Qf,a);return[W.memoizedState,a]} +function mg(a,b){Qf=dg();W=fg();b=void 0===b?null:b;if(null!==W){var c=W.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Pf(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();W.memoizedState=[a,b];return a} +function lg(a,b,c){if(25<=cg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Qf)if(Wf=!0,a={action:c,next:null},null===bg&&(bg=new Map),c=bg.get(b),void 0===c)bg.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function ng(){throw Error("startTransition cannot be called during server rendering.");}function og(){throw Error("Cannot update optimistic state while rendering.");} +function pg(a){var b=$f;$f+=1;null===ag&&(ag=[]);return Lf(ag,a,b)}function qg(){throw Error("Cache cannot be refreshed during server rendering.");}function rg(){} +var tg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return pg(a);if(a.$$typeof===af||a.$$typeof===df)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){dg();return a._currentValue},useMemo:mg,useReducer:kg,useRef:function(a){Qf=dg();W=fg();var b=W.memoizedState;return null===b?(a={current:a},W.memoizedState=a):b},useState:function(a){return kg(jg,a)}, +useInsertionEffect:rg,useLayoutEffect:rg,useCallback:function(a,b){return mg(function(){return a},b)},useImperativeHandle:rg,useEffect:rg,useDebugValue:rg,useDeferredValue:function(a){dg();return a},useTransition:function(){dg();return[!1,ng]},useId:function(){var a=Rf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Ff(a)-1)).toString(32)+b;var c=sg;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Xf++;a=":"+c.idPrefix+"R"+a;0<b&& +(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return qg},useHostTransitionStatus:function(){dg();return Ka},useOptimistic:function(a){dg();return[a,og]},useFormState:function(a,b,c){dg();var d=Yf++,e=Sf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Tf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL; +if(null!==e&&"function"===typeof h){var l=e[1];h.call(a,e[2],e[3])&&(f=void 0!==c?"p"+c:"k"+ha(JSON.stringify([g,null,d]),0),l===f&&(Zf=d,b=e[0]))}var n=a.bind(null,b);a=function(r){n(r)};"function"===typeof n.$$FORM_ACTION&&(a.$$FORM_ACTION=function(r){r=n.$$FORM_ACTION(r);void 0!==c&&(c+="",r.action=c);var q=r.data;q&&(null===f&&(f=void 0!==c?"p"+c:"k"+ha(JSON.stringify([g,null,d]),0)),q.append("$ACTION_KEY",f));return r});return[b,a]}var t=a.bind(null,b);return[b,function(r){t(r)}]}},sg=null,ug= +{getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},vg=Ja.ReactCurrentDispatcher,wg=Ja.ReactCurrentCache;function xg(a){console.error(a);return null}function yg(){} +function zg(a,b,c,d,e,f,g,h,l,n,t,r){La.current=Ya;var q=[],D=new Set;b={destination:null,flushScheduled:!1,resumableState:b,renderState:c,rootFormatContext:d,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:D,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===f?xg:f,onPostpone:void 0===t?yg:t,onAllReady:void 0===g? +yg:g,onShellReady:void 0===h?yg:h,onShellError:void 0===l?yg:l,onFatalError:void 0===n?yg:n,formState:void 0===r?null:r};c=Ag(b,0,null,d,!1,!1);c.parentFlushed=!0;a=Bg(b,null,a,-1,null,c,D,null,d,sf,null,Df);q.push(a);return b}var Cg=null;function Pe(){if(Cg)return Cg;if(Te){var a=Ue.getStore();if(a)return a}return null}function Dg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return Eg(a)},0))} +function Fg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function Bg(a,b,c,d,e,f,g,h,l,n,t,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var q={replay:null,node:c,childIndex:d,ping:function(){return Dg(a,q)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:t,treeContext:r,thenableState:b};g.add(q);return q} +function Gg(a,b,c,d,e,f,g,h,l,n,t,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var q={replay:c,node:d,childIndex:e,ping:function(){return Dg(a,q)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:t,treeContext:r,thenableState:b};g.add(q);return q}function Ag(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function X(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Hg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,oa(a.destination,b)):(a.status=1,a.fatalError=b)} +function Ig(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((rf(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=y({},c,d)}b.legacyContext=e;Y(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Y(a,b,null,f,-1),b.keyPath=e} +function Jg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var l=b.blockedSegment;if(null!==l){h=!0;l=l.chunks;for(var n=0;n<f;n++)n===g?l.push(gc):l.push(hc)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Ef(c,1,0),Kg(a,b,d,-1),b.treeContext=c):h?Kg(a,b,d,-1):Y(a,b,null,d,-1);b.keyPath=f}function Lg(a,b){if(a&&a.defaultProps){b=y({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Mg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=tf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Cf(h,e,f,d);Ig(a,b,c,h,e)}else{h=tf(e,b.legacyContext);Qf={};Rf=b;Sf=a;Tf=c;Yf=Xf=0;Zf=-1;$f=0;ag=d;d=e(f,h);d=gg(e,f,d,h);g=0!==Xf;var l=Yf,n=Zf;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Cf(d,e,f,h),Ig(a,b,c,d,e)):Jg(a,b,c,d,g,l,n)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Mb(h,e,f),b.keyPath=c,Kg(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Ac(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;l=b.keyPath;b.formatContext=Mb(h,e,f);b.keyPath=c;Kg(a,b,g,-1);b.formatContext=h;b.keyPath=l;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(tc,w(e),uc)}d.lastPushedText=!1}else{switch(e){case nf:case lf:case Ye:case Ze:case Xe:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case mf:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Y(a,b,null,f.children,-1),b.keyPath=e);return;case gf:e=b.keyPath;b.keyPath=c;Y(a,b,null,f.children,-1);b.keyPath=e;return;case kf:throw Error("ReactDOMServer does not yet support scope components."); +case ff:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Kg(a,b,c,-1)}finally{b.keyPath=e}}else{n=b.keyPath;e=b.blockedBoundary;var t=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=Fg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);l=Ag(a,t.chunks.length,g,b.formatContext,!1,!1);t.children.push(l);t.lastPushedText=!1;var q=Ag(a,0,null,b.formatContext,!1,!1);q.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=q;a.renderState.boundaryResources=g.resources;b.keyPath= +c;try{if(Kg(a,b,r,-1),q.lastPushedText&&q.textEmbedded&&q.chunks.push(Nb),q.status=1,Ng(g,q),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(D){q.status=4,g.status=4,h=X(a,D),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=t,b.keyPath=n}h=[c[0],"Suspense Fallback",c[2]];n=a.trackedPostpones;null!==n&&(t=[h[1],h[2],[],null],n.workingMap.set(h,t),5===g.status?n.workingMap.get(c)[4]=t:g.trackedFallbackNode=t);b=Bg(a,null,d,-1, +e,l,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case ef:e=e.render;Qf={};Rf=b;Sf=a;Tf=c;Yf=Xf=0;Zf=-1;$f=0;ag=d;d=e(f,g);f=gg(e,f,d,g);Jg(a,b,c,f,0!==Xf,Yf,Zf);return;case hf:e=e.type;f=Lg(e,f);Mg(a,b,c,d,e,f,g);return;case $e:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;l=uf;uf=f={parent:l,depth:null===l?0:l.depth+1,context:e,parentValue:g,value:f};b.context=f; +b.keyPath=c;Y(a,b,null,h,-1);a=uf;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===pf?a.context._defaultValue:c;a=uf=a.parent;b.context=a;b.keyPath=d;return;case af:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;Y(a,b,null,f,-1);b.keyPath=e;return;case jf:h=e._init;e=h(e._payload);f=Lg(e,f);Mg(a,b,c,d,e,f,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+ +((null==e?e:typeof e)+"."));}}function Og(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=Ag(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Kg(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Ng(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function Y(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Og(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Ve:var f=d.type,g=d.key,h=d.props,l=d.ref,n=rf(f),t=null==g?-1===e?0:e:g;g=[b.keyPath,n,t];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var q=e[d];if(t===q[1]){if(4===q.length){if(null!==n&&n!==q[0])throw Error("Expected the resume to render <"+q[0]+"> in this slot but instead it rendered <"+ +n+">. The tree doesn't match so React will fallback to client rendering.");n=q[2];q=q[3];t=b.node;b.replay={nodes:n,slots:q,pendingTasks:1};try{Mg(a,b,g,c,f,h,l);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(F){if("object"===typeof F&&null!==F&&(F===Jf||"function"===typeof F.then))throw b.node===t&&(b.replay=r),F;b.replay.pendingTasks--; +g=a;a=b.blockedBoundary;c=F;h=X(g,c);Pg(g,a,n,q,c,h)}b.replay=r}else{if(f!==ff)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(rf(f)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");b:{r=void 0;c=q[5];f=q[2];l=q[3];n=null===q[4]?[]:q[4][2];q=null===q[4]?null:q[4][3];t=b.keyPath;var D=b.replay,G=b.blockedBoundary,Z=h.children;h=h.fallback;var u=new Set,z=Fg(a,u);z.parentFlushed=!0;z.rootSegmentID=c;b.blockedBoundary= +z;b.replay={nodes:f,slots:l,pendingTasks:1};a.renderState.boundaryResources=z.resources;try{Kg(a,b,Z,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===z.pendingTasks&&0===z.status){z.status=1;a.completedBoundaries.push(z);break b}}catch(F){z.status=4,r=X(a,F),z.errorDigest=r,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(z)}finally{a.renderState.boundaryResources= +G?G.resources:null,b.blockedBoundary=G,b.replay=D,b.keyPath=t}b=Gg(a,null,{nodes:n,slots:q,pendingTasks:0},h,-1,G,u,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else Mg(a,b,g,c,f,h,l);return;case We:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case jf:h=d._init;d=h(d._payload);Y(a,b,null,d,e);return}if(Ia(d)){Qg(a, +b,d,e);return}null===d||"object"!==typeof d?h=null:(h=qf&&d[qf]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Qg(a,b,g,e)}return}if("function"===typeof d.then)return Y(a,b,null,pg(d),e);if(d.$$typeof===af||d.$$typeof===df)return Y(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+ +"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Ob(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Ob(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Qg(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var l=g[h];if(l[1]===d){d=l[2];l=l[3];b.replay={nodes:d,slots:l,pendingTasks:1};try{Qg(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(r){if("object"===typeof r&& +null!==r&&(r===Jf||"function"===typeof r.then))throw r;b.replay.pendingTasks--;c=a;var n=b.blockedBoundary,t=r;a=X(c,t);Pg(c,n,d,l,t,a)}b.replay=f;g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(d=0;d<g;d++)l=c[d],b.treeContext=Ef(f,g,d),n=h[d],"number"===typeof n?(Og(a,b,n,l,d),delete h[d]):Kg(a,b,l,d);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)d=c[h],b.treeContext=Ef(f,g,h),Kg(a,b,d,h);b.treeContext= +f;b.keyPath=e} +function Kg(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,l=b.treeContext,n=b.blockedSegment;if(null===n)try{return Y(a,b,null,c,d)}catch(q){if(hg(),c=q===Jf?Nf():q,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=ig();a=Gg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;Af(g);return}}else{var t= +n.children.length,r=n.chunks.length;try{return Y(a,b,null,c,d)}catch(q){if(hg(),n.children.length=t,n.chunks.length=r,c=q===Jf?Nf():q,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=ig();n=b.blockedSegment;t=Ag(a,n.chunks.length,null,b.formatContext,n.lastPushedText,!0);n.children.push(t);n.lastPushedText=!1;a=Bg(a,d,b.node,b.childIndex,b.blockedBoundary,t,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=l;Af(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;Af(g);throw c;}function Rg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Sg(this,b,a))} +function Pg(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Pg(a,b,h[2],h[3],e,f);else{h=h[5];var l=a,n=f,t=Fg(l,new Set);t.parentFlushed=!0;t.rootSegmentID=h;t.status=4;t.errorDigest=n;t.parentFlushed&&l.clientRenderedBoundaries.push(t)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} +function Tg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){X(b,c);Hg(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=X(b,c),Pg(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=yg,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=X(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Tg(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Ng(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Ng(a,c)}else a.completedSegments.push(b)} +function Sg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=yg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Ng(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Rg, +a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Ng(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function Eg(a){if(2!==a.status){var b=uf,c=vg.current;vg.current=tg;var d=wg.current;wg.current=ug;var e=Cg;Cg=a;var f=sg;sg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var l=g[h],n=a,t=l.blockedBoundary;n.renderState.boundaryResources=t?t.resources:null;var r=l.blockedSegment;if(null===r){var q=n;if(0!==l.replay.pendingTasks){Af(l.context);try{var D=l.thenableState;l.thenableState=null;Y(q,l,D,l.node,-1);if(1===l.replay.pendingTasks&&0<l.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); +l.replay.pendingTasks--;l.abortSet.delete(l);Sg(q,l.blockedBoundary,null)}catch(I){hg();var G=I===Jf?Nf():I;if("object"===typeof G&&null!==G&&"function"===typeof G.then){var Z=l.ping;G.then(Z,Z);l.thenableState=ig()}else{l.replay.pendingTasks--;l.abortSet.delete(l);n=void 0;var u=q,z=l.blockedBoundary,F=G,ja=l.replay.nodes,B=l.replay.slots;n=X(u,F);Pg(u,z,ja,B,F,n);q.pendingRootTasks--;if(0===q.pendingRootTasks){q.onShellError=yg;var V=q.onShellReady;V()}q.allPendingTasks--;if(0===q.allPendingTasks){var C= +q.onAllReady;C()}}}finally{q.renderState.boundaryResources=null}}}else if(q=void 0,u=r,0===u.status){Af(l.context);var ea=u.children.length,ka=u.chunks.length;try{var pa=l.thenableState;l.thenableState=null;Y(n,l,pa,l.node,l.childIndex);u.lastPushedText&&u.textEmbedded&&u.chunks.push(Nb);l.abortSet.delete(l);u.status=1;Sg(n,l.blockedBoundary,u)}catch(I){hg();u.children.length=ea;u.chunks.length=ka;var R=I===Jf?Nf():I;if("object"===typeof R&&null!==R&&"function"===typeof R.then){var aa=l.ping;R.then(aa, +aa);l.thenableState=ig()}else{l.abortSet.delete(l);u.status=4;var H=l.blockedBoundary;q=X(n,R);null===H?Hg(n,R):(H.pendingTasks--,4!==H.status&&(H.status=4,H.errorDigest=q,H.parentFlushed&&n.clientRenderedBoundaries.push(H)));n.allPendingTasks--;if(0===n.allPendingTasks){var la=n.onAllReady;la()}}}finally{n.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Ug(a,a.destination)}catch(I){X(a,I),Hg(a,I)}finally{sg=f,vg.current=c,wg.current=d,c===tg&&Af(b),Cg=e}}} +function Vg(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;p(b,Cc);p(b,a.placeholderPrefix);a=w(d.toString(16));p(b,a);return v(b,Dc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)p(b,d[f]);e=Wg(a,b,e)}for(;f<d.length-1;f++)p(b,d[f]);f<d.length&&(e=v(b,d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); }} -function Ig(a,b,c){var d=c.boundary;if(null===d)return Hg(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,v(b,yc),p(b,Ac),d&&(p(b,Cc),p(b,x(E(d))),p(b,Bc)),v(b,Dc),Hg(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Ec(b,a.renderState,d.rootSegmentID),Hg(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Ec(b,a.renderState,d.rootSegmentID),Hg(a, -b,c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Ie,e),c.stylesheets.forEach(Je,e));v(b,vc);d=d.completedSegments;if(1!==d.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");Ig(a,b,d[0])}return v(b,zc)}function Jg(a,b,c){zd(b,a.renderState,c.parentFormatContext,c.id);Ig(a,b,c);return Ad(b,c.parentFormatContext)} -function Kg(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Lg(a,b,c,d[e]);d.length=0;pe(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(p(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,p(b,512<Jd.byteLength?Jd.slice():Jd)):0===(d.instructions&8)?(d.instructions|=8,p(b,Kd)):p(b,Ld):0===(d.instructions&2)?(d.instructions|= -2,p(b,Hd)):p(b,Id)):f?p(b,Rd):p(b,Qd);d=x(e.toString(16));p(b,a.boundaryPrefix);p(b,d);g?p(b,Md):p(b,Sd);p(b,a.segmentPrefix);p(b,d);f?g?(p(b,Nd),Ee(b,c)):(p(b,Td),Fe(b,c)):g&&p(b,Od);d=g?v(b,Pd):v(b,Ua);return sc(b,a)&&d} -function Lg(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Jg(a,b,d)}if(e===c.rootSegmentID)return Jg(a,b,d);Jg(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(p(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,p(b,Bd)):p(b,Cd)):p(b,Fd);p(b,a.segmentPrefix);e=x(e.toString(16));p(b,e);d?p(b,Dd):p(b,Gd);p(b,a.placeholderPrefix); -p(b,e);b=d?v(b,Ed):v(b,Ua);return b} -function Gg(a,b){k=new Uint8Array(512);m=0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,l=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(l))}var n=e.htmlChunks,r=e.headChunks;f=0;if(n){for(f=0;f<n.length;f++)p(b,n[f]);if(r)for(f=0;f<r.length;f++)p(b,r[f]);else p(b,S("head")), -p(b,R)}else if(r)for(f=0;f<r.length;f++)p(b,r[f]);var u=e.charsetChunks;for(f=0;f<u.length;f++)p(b,u[f]);u.length=0;e.preconnects.forEach(qe,b);e.preconnects.clear();var q=e.preconnectChunks;for(f=0;f<q.length;f++)p(b,q[f]);q.length=0;e.fontPreloads.forEach(qe,b);e.fontPreloads.clear();e.highImagePreloads.forEach(qe,b);e.highImagePreloads.clear();e.styles.forEach(xe,b);var w=e.importMapChunks;for(f=0;f<w.length;f++)p(b,w[f]);w.length=0;e.bootstrapScripts.forEach(qe,b);e.scripts.forEach(qe,b);e.scripts.clear(); -e.bulkPreloads.forEach(qe,b);e.bulkPreloads.clear();var I=e.preloadChunks;for(f=0;f<I.length;f++)p(b,I[f]);I.length=0;var J=e.hoistableChunks;for(f=0;f<J.length;f++)p(b,J[f]);J.length=0;n&&null===r&&(p(b,kc),p(b,x("head")),p(b,lc));Ig(a,b,d);a.completedRootSegment=null;sc(b,a.renderState)}else return;var t=a.renderState;d=0;t.preconnects.forEach(qe,b);t.preconnects.clear();var B=t.preconnectChunks;for(d=0;d<B.length;d++)p(b,B[d]);B.length=0;t.fontPreloads.forEach(qe,b);t.fontPreloads.clear();t.highImagePreloads.forEach(qe, -b);t.highImagePreloads.clear();t.styles.forEach(ze,b);t.scripts.forEach(qe,b);t.scripts.clear();t.bulkPreloads.forEach(qe,b);t.bulkPreloads.clear();var F=t.preloadChunks;for(d=0;d<F.length;d++)p(b,F[d]);F.length=0;var ka=t.hoistableChunks;for(d=0;d<ka.length;d++)p(b,ka[d]);ka.length=0;var C=a.clientRenderedBoundaries;for(c=0;c<C.length;c++){var U=C[c];t=b;var D=a.resumableState,da=a.renderState,la=U.rootSegmentID,V=U.errorDigest,ea=U.errorMessage,K=U.errorComponentStack,Y=0===D.streamingFormat;Y? -(p(t,da.startInlineScript),0===(D.instructions&4)?(D.instructions|=4,p(t,Ud)):p(t,Vd)):p(t,Zd);p(t,da.boundaryPrefix);p(t,x(la.toString(16)));Y&&p(t,Wd);if(V||ea||K)Y?(p(t,Xd),p(t,x(de(V||"")))):(p(t,$d),p(t,x(E(V||""))));if(ea||K)Y?(p(t,Xd),p(t,x(de(ea||"")))):(p(t,ae),p(t,x(E(ea||""))));K&&(Y?(p(t,Xd),p(t,x(de(K)))):(p(t,be),p(t,x(E(K)))));if(Y?!v(t,Yd):!v(t,Ua)){a.destination=null;c++;C.splice(0,c);return}}C.splice(0,c);var L=a.completedBoundaries;for(c=0;c<L.length;c++)if(!Kg(a,b,L[c])){a.destination= -null;c++;L.splice(0,c);return}L.splice(0,c);ca(b);k=new Uint8Array(512);m=0;var oa=a.partialBoundaries;for(c=0;c<oa.length;c++){var pa=oa[c];a:{C=a;U=b;C.renderState.boundaryResources=pa.resources;var qa=pa.completedSegments;for(D=0;D<qa.length;D++)if(!Lg(C,U,pa,qa[D])){D++;qa.splice(0,D);var Ka=!1;break a}qa.splice(0,D);Ka=pe(U,pa.resources,C.renderState)}if(!Ka){a.destination=null;c++;oa.splice(0,c);return}}oa.splice(0,c);var fa=a.completedBoundaries;for(c=0;c<fa.length;c++)if(!Kg(a,b,fa[c])){a.destination= -null;c++;fa.splice(0,c);return}fa.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,a=a.resumableState,a.hasBody&&(p(b,kc),p(b,x("body")),p(b,lc)),a.hasHtml&&(p(b,kc),p(b,x("html")),p(b,lc)),ca(b),b.close()):ca(b)}}function Mg(a){a.flushScheduled=null!==a.destination;Ke?setTimeout(function(){return Le.run(a,qg,a)},0):setTimeout(function(){return qg(a)},0)} -function He(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return Gg(a,b)},0)}}function Ng(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return Fg(e,a,d)});c.clear()}null!==a.destination&&Gg(a,a.destination)}catch(e){W(a,e),tg(a,e)}} -exports.renderToReadableStream=function(a,b){return new Promise(function(c,d){var e,f,g=new Promise(function(u,q){f=u;e=q}),h=tb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),l=lg(a,h,rb(h,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Cb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,f,function(){var u=new ReadableStream({type:"bytes", -pull:function(q){if(1===l.status)l.status=2,ia(q,l.fatalError);else if(2!==l.status&&null===l.destination){l.destination=q;try{Gg(l,q)}catch(w){W(l,w),tg(l,w)}}},cancel:function(){l.destination=null;Ng(l)}},{highWaterMark:0});u.allReady=g;c(u)},function(u){g.catch(function(){});d(u)},e,b?b.onPostpone:void 0,b?b.experimental_formState:void 0);if(b&&b.signal){var n=b.signal;if(n.aborted)Ng(l,n.reason);else{var r=function(){Ng(l,n.reason);n.removeEventListener("abort",r)};n.addEventListener("abort", -r)}}Mg(l)})};exports.version="18.3.0-canary-d900fadbf-20230929"; +function Wg(a,b,c){var d=c.boundary;if(null===d)return Vg(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,v(b,Hc),p(b,Jc),d&&(p(b,Lc),p(b,w(E(d))),p(b,Kc)),v(b,Mc),Vg(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Nc(b,a.renderState,d.rootSegmentID),Vg(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Nc(b,a.renderState,d.rootSegmentID),Vg(a, +b,c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Re,e),c.stylesheets.forEach(Se,e));v(b,Ec);d=d.completedSegments;if(1!==d.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");Wg(a,b,d[0])}return v(b,Ic)}function Xg(a,b,c){Id(b,a.renderState,c.parentFormatContext,c.id);Wg(a,b,c);return Jd(b,c.parentFormatContext)} +function Yg(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Zg(a,b,c,d[e]);d.length=0;ye(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(p(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,p(b,512<Sd.byteLength?Sd.slice():Sd)):0===(d.instructions&8)?(d.instructions|=8,p(b,Td)):p(b,Ud):0===(d.instructions&2)?(d.instructions|= +2,p(b,Qd)):p(b,Rd)):f?p(b,$d):p(b,Zd);d=w(e.toString(16));p(b,a.boundaryPrefix);p(b,d);g?p(b,Vd):p(b,ae);p(b,a.segmentPrefix);p(b,d);f?g?(p(b,Wd),Ne(b,c)):(p(b,be),Oe(b,c)):g&&p(b,Xd);d=g?v(b,Yd):v(b,nb);return Bc(b,a)&&d} +function Zg(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Xg(a,b,d)}if(e===c.rootSegmentID)return Xg(a,b,d);Xg(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(p(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,p(b,Kd)):p(b,Ld)):p(b,Od);p(b,a.segmentPrefix);e=w(e.toString(16));p(b,e);d?p(b,Md):p(b,Pd);p(b,a.placeholderPrefix); +p(b,e);b=d?v(b,Nd):v(b,nb);return b} +function Ug(a,b){k=new Uint8Array(512);m=0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,l=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(l))}var n=e.htmlChunks,t=e.headChunks;f=0;if(n){for(f=0;f<n.length;f++)p(b,n[f]);if(t)for(f=0;f<t.length;f++)p(b,t[f]);else p(b,U("head")), +p(b,T)}else if(t)for(f=0;f<t.length;f++)p(b,t[f]);var r=e.charsetChunks;for(f=0;f<r.length;f++)p(b,r[f]);r.length=0;e.preconnects.forEach(ze,b);e.preconnects.clear();var q=e.preconnectChunks;for(f=0;f<q.length;f++)p(b,q[f]);q.length=0;e.fontPreloads.forEach(ze,b);e.fontPreloads.clear();e.highImagePreloads.forEach(ze,b);e.highImagePreloads.clear();e.styles.forEach(Ge,b);var D=e.importMapChunks;for(f=0;f<D.length;f++)p(b,D[f]);D.length=0;e.bootstrapScripts.forEach(ze,b);e.scripts.forEach(ze,b);e.scripts.clear(); +e.bulkPreloads.forEach(ze,b);e.bulkPreloads.clear();var G=e.preloadChunks;for(f=0;f<G.length;f++)p(b,G[f]);G.length=0;var Z=e.hoistableChunks;for(f=0;f<Z.length;f++)p(b,Z[f]);Z.length=0;n&&null===t&&(p(b,tc),p(b,w("head")),p(b,uc));Wg(a,b,d);a.completedRootSegment=null;Bc(b,a.renderState)}else return;var u=a.renderState;d=0;u.preconnects.forEach(ze,b);u.preconnects.clear();var z=u.preconnectChunks;for(d=0;d<z.length;d++)p(b,z[d]);z.length=0;u.fontPreloads.forEach(ze,b);u.fontPreloads.clear();u.highImagePreloads.forEach(ze, +b);u.highImagePreloads.clear();u.styles.forEach(Ie,b);u.scripts.forEach(ze,b);u.scripts.clear();u.bulkPreloads.forEach(ze,b);u.bulkPreloads.clear();var F=u.preloadChunks;for(d=0;d<F.length;d++)p(b,F[d]);F.length=0;var ja=u.hoistableChunks;for(d=0;d<ja.length;d++)p(b,ja[d]);ja.length=0;var B=a.clientRenderedBoundaries;for(c=0;c<B.length;c++){var V=B[c];u=b;var C=a.resumableState,ea=a.renderState,ka=V.rootSegmentID,pa=V.errorDigest,R=V.errorMessage,aa=V.errorComponentStack,H=0===C.streamingFormat;H? +(p(u,ea.startInlineScript),0===(C.instructions&4)?(C.instructions|=4,p(u,ce)):p(u,de)):p(u,he);p(u,ea.boundaryPrefix);p(u,w(ka.toString(16)));H&&p(u,ee);if(pa||R||aa)H?(p(u,fe),p(u,w(me(pa||"")))):(p(u,ie),p(u,w(E(pa||""))));if(R||aa)H?(p(u,fe),p(u,w(me(R||"")))):(p(u,je),p(u,w(E(R||""))));aa&&(H?(p(u,fe),p(u,w(me(aa)))):(p(u,ke),p(u,w(E(aa)))));if(H?!v(u,ge):!v(u,nb)){a.destination=null;c++;B.splice(0,c);return}}B.splice(0,c);var la=a.completedBoundaries;for(c=0;c<la.length;c++)if(!Yg(a,b,la[c])){a.destination= +null;c++;la.splice(0,c);return}la.splice(0,c);ia(b);k=new Uint8Array(512);m=0;var I=a.partialBoundaries;for(c=0;c<I.length;c++){var qa=I[c];a:{B=a;V=b;B.renderState.boundaryResources=qa.resources;var ra=qa.completedSegments;for(C=0;C<ra.length;C++)if(!Zg(B,V,qa,ra[C])){C++;ra.splice(0,C);var Ma=!1;break a}ra.splice(0,C);Ma=ye(V,qa.resources,B.renderState)}if(!Ma){a.destination=null;c++;I.splice(0,c);return}}I.splice(0,c);var fa=a.completedBoundaries;for(c=0;c<fa.length;c++)if(!Yg(a,b,fa[c])){a.destination= +null;c++;fa.splice(0,c);return}fa.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,c=a.resumableState,c.hasBody&&(p(b,tc),p(b,w("body")),p(b,uc)),c.hasHtml&&(p(b,tc),p(b,w("html")),p(b,uc)),ia(b),b.close(),a.destination=null):ia(b)}}function $g(a){a.flushScheduled=null!==a.destination;Te?setTimeout(function(){return Ue.run(a,Eg,a)},0):setTimeout(function(){return Eg(a)},0)} +function Qe(a){!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(a.flushScheduled=!0,setTimeout(function(){var b=a.destination;b?Ug(a,b):a.flushScheduled=!1},0))}function ah(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return Tg(e,a,d)});c.clear()}null!==a.destination&&Ug(a,a.destination)}catch(e){X(a,e),Hg(a,e)}} +exports.renderToReadableStream=function(a,b){return new Promise(function(c,d){var e,f,g=new Promise(function(r,q){f=r;e=q}),h=Kb(b?b.identifierPrefix:void 0,b?b.unstable_externalRuntimeSrc:void 0),l=zg(a,h,Ib(h,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0,b?b.unstable_externalRuntimeSrc:void 0,b?b.importMap:void 0),Lb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:void 0,b?b.onError:void 0,f,function(){var r=new ReadableStream({type:"bytes", +pull:function(q){if(1===l.status)l.status=2,oa(q,l.fatalError);else if(2!==l.status&&null===l.destination){l.destination=q;try{Ug(l,q)}catch(D){X(l,D),Hg(l,D)}}},cancel:function(q){l.destination=null;ah(l,q)}},{highWaterMark:0});r.allReady=g;c(r)},function(r){g.catch(function(){});d(r)},e,b?b.onPostpone:void 0,b?b.formState:void 0);if(b&&b.signal){var n=b.signal;if(n.aborted)ah(l,n.reason);else{var t=function(){ah(l,n.reason);n.removeEventListener("abort",t)};n.addEventListener("abort",t)}}$g(l)})}; +exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js index dd726afde22e4..454d245babf0e 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js @@ -16,11 +16,11 @@ if (process.env.NODE_ENV !== "production") { var React = require("next/dist/compiled/react"); var util = require('util'); -require('crypto'); +var crypto = require('crypto'); var async_hooks = require('async_hooks'); var ReactDOM = require('react-dom'); -var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; +var ReactVersion = '18.3.0-canary-d803f519e-20231020'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -250,6 +250,11 @@ function closeWithError(destination, error) { // $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types. destination.destroy(error); } +function createFastHash(input) { + var hash = crypto.createHash('md5'); + hash.update(input); + return hash.digest('hex'); +} var assign = Object.assign; @@ -315,7 +320,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -324,7 +329,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -333,7 +338,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1117,6 +1122,23 @@ function validateProperty(tagName, name, value, eventRegistry) { return true; } + { + // Actions are special because unlike events they can have other value types. + if (typeof value === 'function') { + if (tagName === 'form' && name === 'action') { + return true; + } + + if (tagName === 'input' && name === 'formAction') { + return true; + } + + if (tagName === 'button' && name === 'formAction') { + return true; + } + } + } // We can't rely on the event system being injected on the server. + if (eventRegistry != null) { var registrationNameDependencies = eventRegistry.registrationNameDependencies, @@ -1637,6 +1659,16 @@ function getValueDescriptorExpectingObjectForWarning(thing) { return thing === null ? '`null`' : thing === undefined ? '`undefined`' : thing === '' ? 'an empty string' : "something with type \"" + typeof thing + "\""; } +// same object across all transitions. + +var sharedNotPendingObject = { + pending: false, + data: null, + method: null, + action: null +}; +var NotPending = Object.freeze(sharedNotPendingObject) ; + var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher; @@ -1669,6 +1701,9 @@ var SentClientRenderFunction var SentStyleInsertionFunction /* */ = 8; +var SentFormReplayingRuntime +/* */ += 16; // Per request, global state that is not contextual to the rendering subtree. // This cannot be resumed and therefore should only contain things that are // temporary working state or are never used in the prerender pass. // Credentials here are things that affect whether a browser will make a request @@ -2176,10 +2211,15 @@ function pushStringAttribute(target, name, value) // not null or undefined target.push(attributeSeparator, stringToChunk(name), attributeAssign, stringToChunk(escapeTextForBrowser(value)), attributeEnd); } } + +function makeFormFieldPrefix(resumableState) { + var id = resumableState.nextFormID++; + return resumableState.idPrefix + id; +} // Since this will likely be repeated a lot in the HTML, we use a more concise message // than on the client and hopefully it's googleable. -stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url +var actionJavaScriptURL = stringToPrecomputedChunk(escapeTextForBrowser( // eslint-disable-next-line no-script-url "javascript:throw new Error('A React form was unexpectedly submitted.')")); var startHiddenInputChunk = stringToPrecomputedChunk('<input type="hidden"'); @@ -2206,6 +2246,57 @@ function pushAdditionalFormFields(target, formData) { function pushFormActionAttribute(target, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name) { var formData = null; + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if (name !== null && !didWarnFormActionName) { + didWarnFormActionName = true; + + error('Cannot specify a "name" prop for a button that specifies a function as a formAction. ' + 'React needs it to encode which action should be invoked. It will get overridden.'); + } + + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a formEncType or formMethod for a button that specifies a ' + 'function as a formAction. React provides those automatically. They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a formTarget for a button that specifies a function as a formAction. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + name = customFields.name; + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('formAction'), attributeAssign, actionJavaScriptURL, attributeEnd); + name = null; + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (name != null) { pushAttribute(target, 'name', name); } @@ -2510,6 +2601,9 @@ var didWarnInvalidOptionChildren = false; var didWarnInvalidOptionInnerHTML = false; var didWarnSelectedSetOnOption = false; var didWarnFormActionType = false; +var didWarnFormActionName = false; +var didWarnFormActionTarget = false; +var didWarnFormActionMethod = false; function checkSelectProp(props, propName) { { @@ -2710,7 +2804,17 @@ function pushStartOption(target, props, formatContext) { return children; } -stringToPrecomputedChunk(formReplaying); +var formReplayingRuntimeScript = stringToPrecomputedChunk(formReplaying); + +function injectFormReplayingRuntime(resumableState, renderState) { + // If we haven't sent it yet, inject the runtime that tracks submitted JS actions + // for later replaying by Fiber. If we use an external runtime, we don't need + // to emit anything. It's always used. + if ((resumableState.instructions & SentFormReplayingRuntime) === NothingSent && (!renderState.externalRuntimeScript)) { + resumableState.instructions |= SentFormReplayingRuntime; + renderState.bootstrapChunks.unshift(renderState.startInlineScript, formReplayingRuntimeScript, endInlineScript); + } +} var formStateMarkerIsMatching = stringToPrecomputedChunk('<!--F!-->'); var formStateMarkerIsNotMatching = stringToPrecomputedChunk('<!--F-->'); @@ -2770,6 +2874,53 @@ function pushStartForm(target, props, resumableState, renderState) { } } + var formData = null; + var formActionName = null; + + if (typeof formAction === 'function') { + // Function form actions cannot control the form properties + { + if ((formEncType !== null || formMethod !== null) && !didWarnFormActionMethod) { + didWarnFormActionMethod = true; + + error('Cannot specify a encType or method for a form that specifies a ' + 'function as the action. React provides those automatically. ' + 'They will get overridden.'); + } + + if (formTarget !== null && !didWarnFormActionTarget) { + didWarnFormActionTarget = true; + + error('Cannot specify a target for a form that specifies a function as the action. ' + 'The function will always be executed in the same window.'); + } + } + + var customAction = formAction.$$FORM_ACTION; + + if (typeof customAction === 'function') { + // This action has a custom progressive enhancement form that can submit the form + // back to the server if it's invoked before hydration. Such as a Server Action. + var prefix = makeFormFieldPrefix(resumableState); + var customFields = formAction.$$FORM_ACTION(prefix); + formAction = customFields.action || ''; + formEncType = customFields.encType; + formMethod = customFields.method; + formTarget = customFields.target; + formData = customFields.data; + formActionName = customFields.name; + } else { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault in the Fizz runtime, but it can happen if a form is + // manually submitted or if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + target.push(attributeSeparator, stringToChunk('action'), attributeAssign, actionJavaScriptURL, attributeEnd); + formAction = null; + formEncType = null; + formMethod = null; + formTarget = null; + injectFormReplayingRuntime(resumableState, renderState); + } + } + if (formAction != null) { pushAttribute(target, 'action', formAction); } @@ -2788,6 +2939,13 @@ function pushStartForm(target, props, resumableState, renderState) { target.push(endOfStartTag); + if (formActionName !== null) { + target.push(startHiddenInputChunk); + pushStringAttribute(target, 'name', formActionName); + target.push(endOfStartTagSelfClosing); + pushAdditionalFormFields(target, formData); + } + pushInnerHTML(target, innerHTML, children); if (typeof children === 'string') { @@ -3844,6 +4002,8 @@ function pushStartCustomElement(target, props, tag) { continue; } + var attributeName = propKey; + switch (propKey) { case 'children': children = propValue; @@ -3862,9 +4022,14 @@ function pushStartCustomElement(target, props, tag) { // Ignored. These are built-in to React on the client. break; + case 'className': + + // intentional fallthrough + default: if (isAttributeNameSafe(propKey) && typeof propValue !== 'function' && typeof propValue !== 'symbol') { - target.push(attributeSeparator, stringToChunk(propKey), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); + + target.push(attributeSeparator, stringToChunk(attributeName), attributeAssign, stringToChunk(escapeTextForBrowser(propValue)), attributeEnd); } break; @@ -4021,7 +4186,7 @@ function pushStartInstance(target, type, props, resumableState, renderState, for return pushStartButton(target, props, resumableState, renderState); case 'form': - return pushStartForm(target, props); + return pushStartForm(target, props, resumableState, renderState); case 'menuitem': return pushStartMenuItem(target, props); @@ -5961,6 +6126,7 @@ function hoistResources(renderState, source) { source.stylesheets.forEach(hoistStylesheetDependency, currentBoundaryResources); } } +var NotPendingTransition = NotPending; var requestStorage = new async_hooks.AsyncLocalStorage(); @@ -6101,12 +6267,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -7543,6 +7703,8 @@ typeof Object.is === 'function' ? Object.is : is; var currentlyRenderingComponent = null; var currentlyRenderingTask = null; +var currentlyRenderingRequest = null; +var currentlyRenderingKeyPath = null; var firstWorkInProgressHook = null; var workInProgressHook = null; // Whether the work-in-progress hook is a re-rendered hook @@ -7655,6 +7817,8 @@ function createWorkInProgressHook() { function prepareToUseHooks(request, task, keyPath, componentIdentity, prevThenableState) { currentlyRenderingComponent = componentIdentity; currentlyRenderingTask = task; + currentlyRenderingRequest = request; + currentlyRenderingKeyPath = keyPath; { isInHookUserCodeInDev = false; @@ -7726,6 +7890,8 @@ function resetHooksState() { currentlyRenderingComponent = null; currentlyRenderingTask = null; + currentlyRenderingRequest = null; + currentlyRenderingKeyPath = null; didScheduleRenderPhaseUpdate = false; firstWorkInProgressHook = null; numberOfReRenders = 0; @@ -7960,9 +8126,12 @@ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { return getServerSnapshot(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { resolveCurrentlyRenderingComponent(); - return value; + + { + return value; + } } function unsupportedStartTransition() { @@ -7974,6 +8143,133 @@ function useTransition() { return [false, unsupportedStartTransition]; } +function useHostTransitionStatus() { + resolveCurrentlyRenderingComponent(); + return NotPendingTransition; +} + +function unsupportedSetOptimisticState() { + throw new Error('Cannot update optimistic state while rendering.'); +} + +function useOptimistic(passthrough, reducer) { + resolveCurrentlyRenderingComponent(); + return [passthrough, unsupportedSetOptimisticState]; +} + +function createPostbackFormStateKey(permalink, componentKeyPath, hookIndex) { + if (permalink !== undefined) { + // Don't bother to hash a permalink-based key since it's already short. + return 'p' + permalink; + } else { + // Append a node to the key path that represents the form state hook. + var keyPath = [componentKeyPath, null, hookIndex]; // Key paths are hashed to reduce the size. It does not need to be secure, + // and it's more important that it's fast than that it's completely + // collision-free. + + var keyPathHash = createFastHash(JSON.stringify(keyPath)); + return 'k' + keyPathHash; + } +} + +function useFormState(action, initialState, permalink) { + resolveCurrentlyRenderingComponent(); // Count the number of useFormState hooks per component. We also use this to + // track the position of this useFormState hook relative to the other ones in + // this component, so we can generate a unique key for each one. + + var formStateHookIndex = formStateCounter++; + var request = currentlyRenderingRequest; // $FlowIgnore[prop-missing] + + var formAction = action.$$FORM_ACTION; + + if (typeof formAction === 'function') { + // This is a server action. These have additional features to enable + // MPA-style form submissions with progressive enhancement. + // TODO: If the same permalink is passed to multiple useFormStates, and + // they all have the same action signature, Fizz will pass the postback + // state to all of them. We should probably only pass it to the first one, + // and/or warn. + // The key is lazily generated and deduped so the that the keypath doesn't + // get JSON.stringify-ed unnecessarily, and at most once. + var nextPostbackStateKey = null; // Determine the current form state. If we received state during an MPA form + // submission, then we will reuse that, if the action identity matches. + // Otherwise we'll use the initial state argument. We will emit a comment + // marker into the stream that indicates whether the state was reused. + + var state = initialState; + var componentKeyPath = currentlyRenderingKeyPath; + var postbackFormState = getFormState(request); // $FlowIgnore[prop-missing] + + var isSignatureEqual = action.$$IS_SIGNATURE_EQUAL; + + if (postbackFormState !== null && typeof isSignatureEqual === 'function') { + var postbackKey = postbackFormState[1]; + var postbackReferenceId = postbackFormState[2]; + var postbackBoundArity = postbackFormState[3]; + + if (isSignatureEqual.call(action, postbackReferenceId, postbackBoundArity)) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + + if (postbackKey === nextPostbackStateKey) { + // This was a match + formStateMatchingIndex = formStateHookIndex; // Reuse the state that was submitted by the form. + + state = postbackFormState[0]; + } + } + } // Bind the state to the first argument of the action. + + + var boundAction = action.bind(null, state); // Wrap the action so the return value is void. + + var dispatch = function (payload) { + boundAction(payload); + }; // $FlowIgnore[prop-missing] + + + if (typeof boundAction.$$FORM_ACTION === 'function') { + // $FlowIgnore[prop-missing] + dispatch.$$FORM_ACTION = function (prefix) { + var metadata = boundAction.$$FORM_ACTION(prefix); // Override the action URL + + if (permalink !== undefined) { + { + checkAttributeStringCoercion(permalink, 'target'); + } + + permalink += ''; + metadata.action = permalink; + } + + var formData = metadata.data; + + if (formData) { + if (nextPostbackStateKey === null) { + nextPostbackStateKey = createPostbackFormStateKey(permalink, componentKeyPath, formStateHookIndex); + } + + formData.append('$ACTION_KEY', nextPostbackStateKey); + } + + return metadata; + }; + } + + return [state, dispatch]; + } else { + // This is not a server action, so the implementation is much simpler. + // Bind the state to the first argument of the action. + var _boundAction = action.bind(null, initialState); // Wrap the action so the return value is void. + + + var _dispatch2 = function (payload) { + _boundAction(payload); + }; + + return [initialState, _dispatch2]; + } +} + function useId() { var task = currentlyRenderingTask; var treeId = getTreeId(task.treeContext); @@ -8053,6 +8349,15 @@ var HooksDispatcher = { HooksDispatcher.useCacheRefresh = useCacheRefresh; } +{ + HooksDispatcher.useHostTransitionStatus = useHostTransitionStatus; +} + +{ + HooksDispatcher.useOptimistic = useOptimistic; + HooksDispatcher.useFormState = useFormState; +} + var currentResumableState = null; function setCurrentResumableState(resumableState) { currentResumableState = resumableState; @@ -8587,11 +8892,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c try { // We use the safe form because we don't handle suspending here. Only error handling. - if (typeof childSlots === 'number') { - resumeNode(request, task, childSlots, content, -1); - } else { - renderNode(request, task, content, -1); - } + renderNode(request, task, content, -1); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); @@ -8637,24 +8938,15 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c task.keyPath = prevKeyPath; } - var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; - var suspendedFallbackTask; // We create suspended task for the fallback because we don't want to actually work + var fallbackKeyPath = [keyPath[0], 'Suspense Fallback', keyPath[2]]; // We create suspended task for the fallback because we don't want to actually work // on it yet in case we finish the main content, so we queue for later. - if (typeof fallbackSlots === 'number') { - // Resuming directly in the fallback. - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = fallbackSlots; - resumedSegment.parentFlushed = true; - suspendedFallbackTask = createRenderTask(request, null, fallback, -1, parentBoundary, resumedSegment, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } else { - var fallbackReplay = { - nodes: fallbackNodes, - slots: fallbackSlots, - pendingTasks: 0 - }; - suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); - } + var fallbackReplay = { + nodes: fallbackNodes, + slots: fallbackSlots, + pendingTasks: 0 + }; + var suspendedFallbackTask = createReplayTask(request, null, fallbackReplay, fallback, -1, parentBoundary, fallbackAbortSet, fallbackKeyPath, task.formatContext, task.legacyContext, task.context, task.treeContext); { suspendedFallbackTask.componentStack = task.componentStack; @@ -8662,8 +8954,7 @@ function replaySuspenseBoundary(request, task, keyPath, props, id, childNodes, c // on preparing fallbacks if we don't have any more main content to task on. - request.pingedTasks.push(suspendedFallbackTask); // TODO: Should this be in the finally? - + request.pingedTasks.push(suspendedFallbackTask); popComponentStackInDEV(task); } @@ -9204,37 +9495,6 @@ function resumeNode(request, task, segmentId, node, childIndex) { } } -function resumeElement(request, task, keyPath, segmentId, prevThenableState, type, props, ref) { - var prevReplay = task.replay; - var blockedBoundary = task.blockedBoundary; - var resumedSegment = createPendingSegment(request, 0, null, task.formatContext, false, false); - resumedSegment.id = segmentId; - resumedSegment.parentFlushed = true; - - try { - // Convert the current ReplayTask to a RenderTask. - var renderTask = task; - renderTask.replay = null; - renderTask.blockedSegment = resumedSegment; - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - resumedSegment.status = COMPLETED; - - if (blockedBoundary === null) { - request.completedRootSegment = resumedSegment; - } else { - queueCompletedSegment(blockedBoundary, resumedSegment); - - if (blockedBoundary.parentFlushed) { - request.partialBoundaries.push(blockedBoundary); - } - } - } finally { - // Restore to a ReplayTask. - task.replay = prevReplay; - task.blockedSegment = null; - } -} - function replayElement(request, task, keyPath, prevThenableState, name, keyOrIndex, childIndex, type, props, ref, replay) { // We're replaying. Find the path to follow. var replayNodes = replay.nodes; @@ -9245,17 +9505,18 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd if (keyOrIndex !== node[1]) { continue; - } // Let's double check that the component name matches as a precaution. - - - if (name !== null && name !== node[0]) { - throw new Error('Expected to see a component of type "' + name + '" in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); } if (node.length === 4) { // Matched a replayable path. + // Let's double check that the component name matches as a precaution. + if (name !== null && name !== node[0]) { + throw new Error('Expected the resume to render <' + node[0] + '> in this slot but instead it rendered <' + name + '>. ' + "The tree doesn't match so React will fallback to client rendering."); + } + var childNodes = node[2]; var childSlots = node[3]; + var currentNode = task.node; task.replay = { nodes: childNodes, slots: childSlots, @@ -9263,37 +9524,40 @@ function replayElement(request, task, keyPath, prevThenableState, name, keyOrInd }; try { - if (typeof childSlots === 'number') { - // Matched a resumable element. - resumeElement(request, task, keyPath, childSlots, prevThenableState, type, props, ref); - } else { - renderElement(request, task, keyPath, prevThenableState, type, props, ref); - } + renderElement(request, task, keyPath, prevThenableState, type, props, ref); if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0 // TODO check remaining slots ) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend + if (task.node === currentNode) { + // This same element suspended so we need to pop the replay we just added. + task.replay = replay; + } + throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; } + + task.replay = replay; } else { // Let's double check that the component type matches. if (type !== REACT_SUSPENSE_TYPE) { - throw new Error('Expected to see a Suspense boundary in this slot. ' + "The tree doesn't match so React will fallback to client rendering."); + var expectedType = 'Suspense'; + throw new Error('Expected the resume to render <' + expectedType + '> in this slot but instead it rendered <' + (getComponentNameFromType(type) || 'Unknown') + '>. ' + "The tree doesn't match so React will fallback to client rendering."); } // Matched a replayable path. @@ -9357,8 +9621,15 @@ prevThenableState, node, childIndex) { function renderNodeDestructiveImpl(request, task, prevThenableState, node, childIndex) { - // Stash the node we're working on. We'll pick up from this task in case + if (task.replay !== null && typeof task.replay.slots === 'number') { + // TODO: Figure out a cheaper place than this hot path to do this check. + var resumeSegmentID = task.replay.slots; + resumeNode(request, task, resumeSegmentID, node, childIndex); + return; + } // Stash the node we're working on. We'll pick up from this task in case // something suspends. + + task.node = node; task.childIndex = childIndex; // Handle object types @@ -9536,24 +9807,26 @@ function replayFragment(request, task, children, childIndex) { if (task.replay.pendingTasks === 1 && task.replay.nodes.length > 0) { throw new Error("Couldn't find all resumable slots by key/index during replaying. " + "The tree doesn't match so React will fallback to client rendering."); } + + task.replay.pendingTasks--; } catch (x) { if (typeof x === 'object' && x !== null && (x === SuspenseException || typeof x.then === 'function')) { // Suspend throw x; - } // Unlike regular render, we don't terminate the siblings if we error + } + + task.replay.pendingTasks--; // Unlike regular render, we don't terminate the siblings if we error // during a replay. That's because this component didn't actually error // in the original prerender. What's unable to complete is the child // replay nodes which might be Suspense boundaries which are able to // absorb the error and we can still continue with siblings. - + // This is an error, stash the component stack if it is null. erroredReplay(request, task.blockedBoundary, x, childNodes, childSlots); - } finally { - task.replay.pendingTasks--; - task.replay = replay; - } // We finished rendering this node, so now we can consume this - // slot. This must happen after in case we rerender this task. + } + task.replay = replay; // We finished rendering this node, so now we can consume this + // slot. This must happen after in case we rerender this task. replayNodes.splice(j, 1); break; @@ -9588,7 +9861,7 @@ function renderChildrenArray(request, task, children, childIndex) { task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i); // We need to use the non-destructive form so that we can safely pop back // up and render the sibling if something suspends. - var resumeSegmentID = resumeSlots[i]; + var resumeSegmentID = resumeSlots[i]; // TODO: If this errors we should still continue with the next sibling. if (typeof resumeSegmentID === 'number') { resumeNode(request, task, resumeSegmentID, node, i); // We finished rendering this node, so now we can consume this @@ -9812,6 +10085,7 @@ function erroredTask(request, boundary, error) { } if (boundary === null) { + lastBoundaryErrorComponentStackDev = null; fatalError(request, error); } else { boundary.pendingTasks--; @@ -9833,6 +10107,8 @@ function erroredTask(request, boundary, error) { // We reuse the same queue for errors. request.clientRenderedBoundaries.push(boundary); } + } else { + lastBoundaryErrorComponentStackDev = null; } } @@ -9946,8 +10222,6 @@ function abortTask(task, request, error) { } if (boundary === null) { - request.allPendingTasks--; - if (request.status !== CLOSING && request.status !== CLOSED) { var replay = task.replay; @@ -9956,6 +10230,7 @@ function abortTask(task, request, error) { // the request; logRecoverableError(request, error); fatalError(request, error); + return; } else { // If the shell aborts during a replay, that's not a fatal error. Instead // we should be able to recover by client rendering all the root boundaries in @@ -9966,6 +10241,14 @@ function abortTask(task, request, error) { var errorDigest = logRecoverableError(request, error); abortRemainingReplayNodes(request, null, replay.nodes, replay.slots, error, errorDigest); } + + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } } } } else { @@ -10007,12 +10290,13 @@ function abortTask(task, request, error) { return abortTask(fallbackTask, request, error); }); boundary.fallbackAbortableTasks.clear(); - request.allPendingTasks--; + } - if (request.allPendingTasks === 0) { - var onAllReady = request.onAllReady; - onAllReady(); - } + request.allPendingTasks--; + + if (request.allPendingTasks === 0) { + var onAllReady = request.onAllReady; + onAllReady(); } } @@ -10260,6 +10544,14 @@ function retryReplayTask(request, task) { task.replay.pendingTasks--; task.abortSet.delete(task); erroredReplay(request, task.blockedBoundary, x, task.replay.nodes, task.replay.slots); + request.pendingRootTasks--; + + if (request.pendingRootTasks === 0) { + request.onShellError = noop; + var onShellReady = request.onShellReady; + onShellReady(); + } + request.allPendingTasks--; if (request.allPendingTasks === 0) { @@ -10693,7 +10985,10 @@ function flushCompletedQueues(request, destination) { } // We're done. - close(destination); + close(destination); // We need to stop flowing now because we do not want any async contexts which might call + // float methods to initiate any flushes after this point + + stopFlowing(request); } else { completeWriting(destination); flushBuffered(destination); @@ -10716,10 +11011,17 @@ function enqueueFlush(request) { request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will // happen when we start flowing again request.destination !== null) { - var destination = request.destination; request.flushScheduled = true; scheduleWork(function () { - return flushCompletedQueues(request, destination); + // We need to existence check destination again here because it might go away + // in between the enqueueFlush call and the work execution + var destination = request.destination; + + if (destination) { + flushCompletedQueues(request, destination); + } else { + request.flushScheduled = false; + } }); } } @@ -10776,6 +11078,9 @@ function abort(request, reason) { function flushResources(request) { enqueueFlush(request); } +function getFormState(request) { + return request.formState; +} function getResumableState(request) { return request.resumableState; } @@ -10799,7 +11104,7 @@ function createCancelHandler(request, reason) { function createRequestImpl(children, options) { var resumableState = createResumableState(options ? options.identifierPrefix : undefined, options ? options.unstable_externalRuntimeSrc : undefined); - return createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, options ? options.onAllReady : undefined, options ? options.onShellReady : undefined, options ? options.onShellError : undefined, undefined, options ? options.onPostpone : undefined, options ? options.experimental_formState : undefined); + return createRequest(children, resumableState, createRenderState(resumableState, options ? options.nonce : undefined, options ? options.bootstrapScriptContent : undefined, options ? options.bootstrapScripts : undefined, options ? options.bootstrapModules : undefined, options ? options.unstable_externalRuntimeSrc : undefined, options ? options.importMap : undefined), createRootFormatContext(options ? options.namespaceURI : undefined), options ? options.progressiveChunkSize : undefined, options ? options.onError : undefined, options ? options.onAllReady : undefined, options ? options.onShellReady : undefined, options ? options.onShellError : undefined, undefined, options ? options.onPostpone : undefined, options ? options.formState : undefined); } function renderToPipeableStream(children, options) { diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js index 7b68a8df5d2cc..47c9fe47c76da 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.min.js @@ -7,170 +7,173 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),fa=require("next/dist/compiled/react"),ha=require("react-dom");function ia(a){"function"===typeof a.flush&&a.flush()}var k=null,m=0,ja=!0; -function v(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(na(a,k.subarray(0,m)),k=new Uint8Array(2048),m=0),na(a,sa.encode(b));else{var c=k;0<m&&(c=k.subarray(m));c=sa.encodeInto(b,c);var d=c.read;m+=c.written;d<b.length&&(na(a,k.subarray(0,m)),k=new Uint8Array(2048),m=sa.encodeInto(b.slice(d),k).written);2048===m&&(na(a,k),k=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(na(a,k.subarray(0,m)),k=new Uint8Array(2048),m=0),na(a,b)):(c=k.length-m,c< -b.byteLength&&(0===c?na(a,k):(k.set(b.subarray(0,c),m),m+=c,na(a,k),b=b.subarray(c)),k=new Uint8Array(2048),m=0),k.set(b,m),m+=b.byteLength,2048===m&&(na(a,k),k=new Uint8Array(2048),m=0)))}function na(a,b){a=a.write(b);ja=ja&&a}function w(a,b){v(a,b);return ja}function ta(a){k&&0<m&&a.write(k.subarray(0,m));k=null;m=0;ja=!0}var sa=new aa.TextEncoder;function x(a){return sa.encode(a)} -var y=Object.assign,z=Object.prototype.hasOwnProperty,ua=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),va={},wa={}; -function Ca(a){if(z.call(wa,a))return!0;if(z.call(va,a))return!1;if(ua.test(a))return wa[a]=!0;va[a]=!0;return!1} -var Da=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Ea= +'use strict';var ba=require("util"),ca=require("crypto"),fa=require("async_hooks"),ha=require("next/dist/compiled/react"),ia=require("react-dom");function na(a){"function"===typeof a.flush&&a.flush()}var k=null,m=0,oa=!0; +function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(ua(a,k.subarray(0,m)),k=new Uint8Array(2048),m=0),ua(a,va.encode(b));else{var c=k;0<m&&(c=k.subarray(m));c=va.encodeInto(b,c);var d=c.read;m+=c.written;d<b.length&&(ua(a,k.subarray(0,m)),k=new Uint8Array(2048),m=va.encodeInto(b.slice(d),k).written);2048===m&&(ua(a,k),k=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(ua(a,k.subarray(0,m)),k=new Uint8Array(2048),m=0),ua(a,b)):(c=k.length-m,c< +b.byteLength&&(0===c?ua(a,k):(k.set(b.subarray(0,c),m),m+=c,ua(a,k),b=b.subarray(c)),k=new Uint8Array(2048),m=0),k.set(b,m),m+=b.byteLength,2048===m&&(ua(a,k),k=new Uint8Array(2048),m=0)))}function ua(a,b){a=a.write(b);oa=oa&&a}function w(a,b){u(a,b);return oa}function wa(a){k&&0<m&&a.write(k.subarray(0,m));k=null;m=0;oa=!0}var va=new ba.TextEncoder;function x(a){return va.encode(a)} +var y=Object.assign,z=Object.prototype.hasOwnProperty,xa=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ya={},za={}; +function Fa(a){if(z.call(za,a))return!0;if(z.call(ya,a))return!1;if(xa.test(a))return za[a]=!0;ya[a]=!0;return!1} +var Ga=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Ha= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fa=/["'&<>]/; -function A(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Fa.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} -var Ga=/([A-Z])/g,Ha=/^ms-/,Ia=Array.isArray,Ja=fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ka=ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Wa={prefetchDNS:Pa,preconnect:Qa,preload:Ra,preloadModule:Sa,preinitStyle:Ta,preinitScript:Ua,preinitModuleScript:Va},Xa=[],ib=x('"></template>'),jb=x("<script>"),kb=x("\x3c/script>"),lb=x('<script src="'),mb=x('<script type="module" src="'),nb=x('" nonce="'),ob=x('" integrity="'),pb=x('" crossorigin="'),qb=x('" async="">\x3c/script>'), -rb=/(<\/|<)(s)(cript)/gi;function sb(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var tb=x('<script type="importmap">'),ub=x("\x3c/script>");function B(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}} -function vb(a,b,c){switch(b){case "noscript":return B(2,null,a.tagScope|1);case "select":return B(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return B(3,null,a.tagScope);case "picture":return B(2,null,a.tagScope|2);case "math":return B(4,null,a.tagScope);case "foreignObject":return B(2,null,a.tagScope);case "table":return B(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return B(6,null,a.tagScope);case "colgroup":return B(8,null,a.tagScope);case "tr":return B(7,null,a.tagScope)}return 5<= -a.insertionMode?B(2,null,a.tagScope):0===a.insertionMode?"html"===b?B(1,null,a.tagScope):B(2,null,a.tagScope):1===a.insertionMode?B(2,null,a.tagScope):a}var Eb=x("\x3c!-- --\x3e");function Fb(a,b,c,d){if(""===b)return d;d&&a.push(Eb);a.push(A(b));return!0}var Gb=new Map,Hb=x(' style="'),Ib=x(":"),Jb=x(";"); -function Kb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(z.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=A(d);e=A((""+e).trim())}else f=Gb.get(d),void 0===f&&(f=x(A(d.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-"))),Gb.set(d,f)),e="number"===typeof e?0===e||Da.has(d)?""+e:e+"px": -A((""+e).trim());c?(c=!1,a.push(Hb,f,Ib,e)):a.push(Jb,f,Ib,e)}}c||a.push(Lb)}var G=x(" "),Mb=x('="'),Lb=x('"'),Nb=x('=""');function Ob(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(G,b,Nb)}function J(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(G,b,Mb,A(c),Lb)}x(A("javascript:throw new Error('A React form was unexpectedly submitted.')"));var Pb=x('<input type="hidden"'); -function Qb(a,b){this.push(Pb);if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");J(this,"name",b);J(this,"value",a);this.push(Rb)}function Sb(a,b,c,d,e,f,g,h){null!=h&&N(a,"name",h);null!=d&&N(a,"formAction",d);null!=e&&N(a,"formEncType",e);null!=f&&N(a,"formMethod",f);null!=g&&N(a,"formTarget",g);return null} -function N(a,b,c){switch(b){case "className":J(a,"class",c);break;case "tabIndex":J(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":J(a,b,c);break;case "style":Kb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(G,b,Mb,A(""+c),Lb);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; -case "autoFocus":case "multiple":case "muted":Ob(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(G,"xlink:href",Mb,A(""+c),Lb);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(G,b,Mb,A(c),Lb);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& -"function"!==typeof c&&"symbol"!==typeof c&&a.push(G,b,Nb);break;case "capture":case "download":!0===c?a.push(G,b,Nb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(G,b,Mb,A(c),Lb);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(G,b,Mb,A(c),Lb);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(G,b,Mb,A(c),Lb);break;case "xlinkActuate":J(a,"xlink:actuate",c);break;case "xlinkArcrole":J(a, -"xlink:arcrole",c);break;case "xlinkRole":J(a,"xlink:role",c);break;case "xlinkShow":J(a,"xlink:show",c);break;case "xlinkTitle":J(a,"xlink:title",c);break;case "xlinkType":J(a,"xlink:type",c);break;case "xmlBase":J(a,"xml:base",c);break;case "xmlLang":J(a,"xml:lang",c);break;case "xmlSpace":J(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=Ea.get(b)||b,Ca(b)){switch(typeof c){case "function":case "symbol":return;case "boolean":var d=b.toLowerCase().slice(0, -5);if("data-"!==d&&"aria-"!==d)return}a.push(G,b,Mb,A(c),Lb)}}}var O=x(">"),Rb=x("/>");function Tb(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} -function Ub(a){var b="";fa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var Vb=x(' selected=""');x('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); -var Wb=x("\x3c!--F!--\x3e"),Xb=x("\x3c!--F--\x3e"); -function Yb(a,b,c,d,e,f,g){var h=b.rel,l=b.href,n=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof l||""===l)return Q(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof n||null!=b.disabled||b.onLoad||b.onError)return Q(a,b);f=d.styles.get(n);g=c.styleResources.hasOwnProperty(l)?c.styleResources[l]:void 0;null!==g?(c.styleResources[l]=null,f||(f={precedence:A(n),rules:[],hrefs:[],sheets:new Map},d.styles.set(n,f)),b={state:0,props:y({},b,{"data-precedence":b.precedence, -precedence:null})},g&&(2===g.length&&Zb(b.props,g),(c=d.preloads.stylesheets.get(l))&&0<c.length?c.length=0:b.state=1),f.sheets.set(l,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(l=f.sheets.get(l))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(l);e&&a.push(Eb);return null}if(b.onLoad||b.onError)return Q(a,b);e&&a.push(Eb);switch(b.rel){case "preconnect":case "dns-prefetch":return Q(d.preconnectChunks,b);case "preload":return Q(d.preloadChunks,b);default:return Q(d.hoistableChunks, -b)}}function Q(a,b){a.push(R("link"));for(var c in b)if(z.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:N(a,c,d)}}a.push(Rb);return null} -function $b(a,b,c){a.push(R(c));for(var d in b)if(z.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:N(a,d,e)}}a.push(Rb);return null} -function ac(a,b){a.push(R("title"));var c=null,d=null,e;for(e in b)if(z.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:N(a,e,f)}}a.push(O);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(A(""+b));Tb(a,d,c);a.push(bc,"title",cc);return null} -function mc(a,b){a.push(R("script"));var c=null,d=null,e;for(e in b)if(z.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:N(a,e,f)}}a.push(O);Tb(a,d,c);"string"===typeof c&&a.push(A(c));a.push(bc,"script",cc);return null} -function nc(a,b,c){a.push(R(c));var d=c=null,e;for(e in b)if(z.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:N(a,e,f)}}a.push(O);Tb(a,d,c);return"string"===typeof c?(a.push(A(c)),null):c}var oc=x("\n"),pc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,qc=new Map;function R(a){var b=qc.get(a);if(void 0===b){if(!pc.test(a))throw Error("Invalid tag: "+a);b=x("<"+a);qc.set(a,b)}return b}var rc=x("<!DOCTYPE html>"); -function sc(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(R("select"));var h=null,l=null,n;for(n in c)if(z.call(c,n)){var q=c[n];if(null!=q)switch(n){case "children":h=q;break;case "dangerouslySetInnerHTML":l=q;break;case "defaultValue":case "value":break;default:N(a,n,q)}}a.push(O);Tb(a,l,h);return h;case "option":var t=f.selectedValue;a.push(R("option"));var p=null,u=null,E=null,K=null,r;for(r in c)if(z.call(c, -r)){var C=c[r];if(null!=C)switch(r){case "children":p=C;break;case "selected":E=C;break;case "dangerouslySetInnerHTML":K=C;break;case "value":u=C;default:N(a,r,C)}}if(null!=t){var H=null!==u?""+u:Ub(p);if(Ia(t))for(var ka=0;ka<t.length;ka++){if(""+t[ka]===H){a.push(Vb);break}}else""+t===H&&a.push(Vb)}else E&&a.push(Vb);a.push(O);Tb(a,K,p);return p;case "textarea":a.push(R("textarea"));var D=null,T=null,F=null,ca;for(ca in c)if(z.call(c,ca)){var la=c[ca];if(null!=la)switch(ca){case "children":F=la; -break;case "value":D=la;break;case "defaultValue":T=la;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:N(a,ca,la)}}null===D&&null!==T&&(D=T);a.push(O);if(null!=F){if(null!=D)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ia(F)&&1<F.length)throw Error("<textarea> can only have at most one child.");D=""+F}"string"===typeof D&&"\n"===D[0]&&a.push(oc);null!==D&&a.push(A(""+D));return null;case "input":a.push(R("input")); -var U=null,da=null,L=null,X=null,M=null,oa=null,pa=null,qa=null,La=null,ea;for(ea in c)if(z.call(c,ea)){var Y=c[ea];if(null!=Y)switch(ea){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":U=Y;break;case "formAction":da=Y;break;case "formEncType":L=Y;break;case "formMethod":X=Y;break;case "formTarget":M=Y;break;case "defaultChecked":La=Y;break;case "defaultValue":pa=Y;break;case "checked":qa= -Y;break;case "value":oa=Y;break;default:N(a,ea,Y)}}var Vc=Sb(a,d,e,da,L,X,M,U);null!==qa?Ob(a,"checked",qa):null!==La&&Ob(a,"checked",La);null!==oa?N(a,"value",oa):null!==pa&&N(a,"value",pa);a.push(Rb);null!==Vc&&Vc.forEach(Qb,a);return null;case "button":a.push(R("button"));var Ya=null,Wc=null,Xc=null,Yc=null,Zc=null,$c=null,ad=null,Za;for(Za in c)if(z.call(c,Za)){var ma=c[Za];if(null!=ma)switch(Za){case "children":Ya=ma;break;case "dangerouslySetInnerHTML":Wc=ma;break;case "name":Xc=ma;break;case "formAction":Yc= -ma;break;case "formEncType":Zc=ma;break;case "formMethod":$c=ma;break;case "formTarget":ad=ma;break;default:N(a,Za,ma)}}var bd=Sb(a,d,e,Yc,Zc,$c,ad,Xc);a.push(O);null!==bd&&bd.forEach(Qb,a);Tb(a,Wc,Ya);if("string"===typeof Ya){a.push(A(Ya));var cd=null}else cd=Ya;return cd;case "form":a.push(R("form"));var $a=null,dd=null,dc=null,ec=null,fc=null,gc=null,ab;for(ab in c)if(z.call(c,ab)){var ra=c[ab];if(null!=ra)switch(ab){case "children":$a=ra;break;case "dangerouslySetInnerHTML":dd=ra;break;case "action":dc= -ra;break;case "encType":ec=ra;break;case "method":fc=ra;break;case "target":gc=ra;break;default:N(a,ab,ra)}}null!=dc&&N(a,"action",dc);null!=ec&&N(a,"encType",ec);null!=fc&&N(a,"method",fc);null!=gc&&N(a,"target",gc);a.push(O);Tb(a,dd,$a);if("string"===typeof $a){a.push(A($a));var ed=null}else ed=$a;return ed;case "menuitem":a.push(R("menuitem"));for(var wb in c)if(z.call(c,wb)){var fd=c[wb];if(null!=fd)switch(wb){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`."); -default:N(a,wb,fd)}}a.push(O);return null;case "title":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var gd=ac(a,c);else ac(e.hoistableChunks,c),gd=null;return gd;case "link":return Yb(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var hc=c.async;if("string"!==typeof c.src||!c.src||!hc||"function"===typeof hc||"symbol"===typeof hc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var hd=mc(a,c);else{var xb=c.src;if("module"===c.type){var yb=d.moduleScriptResources; -var id=e.preloads.moduleScripts}else yb=d.scriptResources,id=e.preloads.scripts;var zb=yb.hasOwnProperty(xb)?yb[xb]:void 0;if(null!==zb){yb[xb]=null;var ic=c;if(zb){2===zb.length&&(ic=y({},c),Zb(ic,zb));var jd=id.get(xb);jd&&(jd.length=0)}var kd=[];e.scripts.add(kd);mc(kd,ic)}g&&a.push(Eb);hd=null}return hd;case "style":var Ab=c.precedence,xa=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Ab||"string"!==typeof xa||""===xa){a.push(R("style"));var Ma=null,ld=null,bb; -for(bb in c)if(z.call(c,bb)){var Bb=c[bb];if(null!=Bb)switch(bb){case "children":Ma=Bb;break;case "dangerouslySetInnerHTML":ld=Bb;break;default:N(a,bb,Bb)}}a.push(O);var cb=Array.isArray(Ma)?2>Ma.length?Ma[0]:null:Ma;"function"!==typeof cb&&"symbol"!==typeof cb&&null!==cb&&void 0!==cb&&a.push(A(""+cb));Tb(a,ld,Ma);a.push(bc,"style",cc);var md=null}else{var ya=e.styles.get(Ab);if(null!==(d.styleResources.hasOwnProperty(xa)?d.styleResources[xa]:void 0)){d.styleResources[xa]=null;ya?ya.hrefs.push(A(xa)): -(ya={precedence:A(Ab),rules:[],hrefs:[A(xa)],sheets:new Map},e.styles.set(Ab,ya));var nd=ya.rules,Na=null,od=null,Cb;for(Cb in c)if(z.call(c,Cb)){var jc=c[Cb];if(null!=jc)switch(Cb){case "children":Na=jc;break;case "dangerouslySetInnerHTML":od=jc}}var db=Array.isArray(Na)?2>Na.length?Na[0]:null:Na;"function"!==typeof db&&"symbol"!==typeof db&&null!==db&&void 0!==db&&nd.push(A(""+db));Tb(nd,od,Na)}ya&&e.boundaryResources&&e.boundaryResources.styles.add(ya);g&&a.push(Eb);md=void 0}return md;case "meta":if(3=== -f.insertionMode||f.tagScope&1||null!=c.itemProp)var pd=$b(a,c,"meta");else g&&a.push(Eb),pd="string"===typeof c.charSet?$b(e.charsetChunks,c,"meta"):"viewport"===c.name?$b(e.preconnectChunks,c,"meta"):$b(e.hoistableChunks,c,"meta");return pd;case "listing":case "pre":a.push(R(b));var eb=null,fb=null,gb;for(gb in c)if(z.call(c,gb)){var Db=c[gb];if(null!=Db)switch(gb){case "children":eb=Db;break;case "dangerouslySetInnerHTML":fb=Db;break;default:N(a,gb,Db)}}a.push(O);if(null!=fb){if(null!=eb)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); -if("object"!==typeof fb||!("__html"in fb))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var za=fb.__html;null!==za&&void 0!==za&&("string"===typeof za&&0<za.length&&"\n"===za[0]?a.push(oc,za):a.push(""+za))}"string"===typeof eb&&"\n"===eb[0]&&a.push(oc);return eb;case "img":var P=c.src,I=c.srcSet;if(!("lazy"===c.loading||!P&&!I||"string"!==typeof P&&null!=P||"string"!==typeof I&& -null!=I)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof P||":"!==P[4]||"d"!==P[0]&&"D"!==P[0]||"a"!==P[1]&&"A"!==P[1]||"t"!==P[2]&&"T"!==P[2]||"a"!==P[3]&&"A"!==P[3])&&("string"!==typeof I||":"!==I[4]||"d"!==I[0]&&"D"!==I[0]||"a"!==I[1]&&"A"!==I[1]||"t"!==I[2]&&"T"!==I[2]||"a"!==I[3]&&"A"!==I[3])){var qd="string"===typeof c.sizes?c.sizes:void 0,hb=I?I+"\n"+(qd||""):P,kc=e.preloads.images,Aa=kc.get(hb);if(Aa){if("high"===c.fetchPriority||10>e.highImagePreloads.size)kc.delete(hb), -e.highImagePreloads.add(Aa)}else d.imageResources.hasOwnProperty(hb)||(d.imageResources[hb]=Xa,Aa=[],Q(Aa,{rel:"preload",as:"image",href:I?void 0:P,imageSrcSet:I,imageSizes:qd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Aa):(e.bulkPreloads.add(Aa),kc.set(hb,Aa)))}return $b(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return $b(a, -c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var rd=nc(e.headChunks,c,"head")}else rd=nc(a,c,"head");return rd;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[rc];var sd=nc(e.htmlChunks,c,"html")}else sd=nc(a,c,"html");return sd;default:if(-1!==b.indexOf("-")){a.push(R(b)); -var lc=null,td=null,Oa;for(Oa in c)if(z.call(c,Oa)){var Ba=c[Oa];if(null!=Ba)switch(Oa){case "children":lc=Ba;break;case "dangerouslySetInnerHTML":td=Ba;break;case "style":Kb(a,Ba);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:Ca(Oa)&&"function"!==typeof Ba&&"symbol"!==typeof Ba&&a.push(G,Oa,Mb,A(Ba),Lb)}}a.push(O);Tb(a,td,lc);return lc}}return nc(a,c,b)}var bc=x("</"),cc=x(">"); -function tc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)v(a,b[c]);return c<b.length?(c=b[c],b.length=0,w(a,c)):!0}var uc=x('<template id="'),vc=x('"></template>'),wc=x("\x3c!--$--\x3e"),xc=x('\x3c!--$?--\x3e<template id="'),yc=x('"></template>'),zc=x("\x3c!--$!--\x3e"),Ac=x("\x3c!--/$--\x3e"),Bc=x("<template"),Cc=x('"'),Dc=x(' data-dgst="');x(' data-msg="');x(' data-stck="');var Ec=x("></template>"); -function Fc(a,b,c){v(a,xc);if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");v(a,b.boundaryPrefix);v(a,c.toString(16));return w(a,yc)} -var Gc=x('<div hidden id="'),Hc=x('">'),Ic=x("</div>"),Jc=x('<svg aria-hidden="true" style="display:none" id="'),Kc=x('">'),Lc=x("</svg>"),Mc=x('<math aria-hidden="true" style="display:none" id="'),Nc=x('">'),Oc=x("</math>"),Pc=x('<table hidden id="'),Qc=x('">'),Rc=x("</table>"),Sc=x('<table hidden><tbody id="'),Tc=x('">'),Uc=x("</tbody></table>"),ud=x('<table hidden><tr id="'),vd=x('">'),wd=x("</tr></table>"),xd=x('<table hidden><colgroup id="'),yd=x('">'),zd=x("</colgroup></table>"); -function Ad(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return v(a,Gc),v(a,b.segmentPrefix),v(a,d.toString(16)),w(a,Hc);case 3:return v(a,Jc),v(a,b.segmentPrefix),v(a,d.toString(16)),w(a,Kc);case 4:return v(a,Mc),v(a,b.segmentPrefix),v(a,d.toString(16)),w(a,Nc);case 5:return v(a,Pc),v(a,b.segmentPrefix),v(a,d.toString(16)),w(a,Qc);case 6:return v(a,Sc),v(a,b.segmentPrefix),v(a,d.toString(16)),w(a,Tc);case 7:return v(a,ud),v(a,b.segmentPrefix),v(a,d.toString(16)),w(a,vd);case 8:return v(a, -xd),v(a,b.segmentPrefix),v(a,d.toString(16)),w(a,yd);default:throw Error("Unknown insertion mode. This is a bug in React.");}}function Bd(a,b){switch(b.insertionMode){case 0:case 1:case 2:return w(a,Ic);case 3:return w(a,Lc);case 4:return w(a,Oc);case 5:return w(a,Rc);case 6:return w(a,Uc);case 7:return w(a,wd);case 8:return w(a,zd);default:throw Error("Unknown insertion mode. This is a bug in React.");}} -var Cd=x('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Dd=x('$RS("'),Ed=x('","'),Fd=x('")\x3c/script>'),Gd=x('<template data-rsi="" data-sid="'),Hd=x('" data-pid="'),Id=x('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), -Jd=x('$RC("'),Kd=x('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Ld=x('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), -Md=x('$RR("'),Nd=x('","'),Od=x('",'),Pd=x('"'),Qd=x(")\x3c/script>"),Rd=x('<template data-rci="" data-bid="'),Sd=x('<template data-rri="" data-bid="'),Td=x('" data-sid="'),Ud=x('" data-sty="'),Vd=x('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),Wd=x('$RX("'),Xd=x('"'),Yd=x(","),Zd=x(")\x3c/script>"),$d=x('<template data-rxi="" data-bid="'),ae=x('" data-dgst="'), -be=x('" data-msg="'),ce=x('" data-stck="'),de=/[<\u2028\u2029]/g;function ee(a){return JSON.stringify(a).replace(de,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var fe=/[&><\u2028\u2029]/g; -function ge(a){return JSON.stringify(a).replace(fe,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} -var he=x('<style media="not all" data-precedence="'),ie=x('" data-href="'),je=x('">'),ke=x("</style>"),le=!1,me=!0;function ne(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){v(this,he);v(this,a.precedence);for(v(this,ie);d<c.length-1;d++)v(this,c[d]),v(this,oe);v(this,c[d]);v(this,je);for(d=0;d<b.length;d++)v(this,b[d]);me=w(this,ke);le=!0;b.length=0;c.length=0}}function pe(a){return 2!==a.state?le=!0:!1} -function qe(a,b,c){le=!1;me=!0;b.styles.forEach(ne,a);b.stylesheets.forEach(pe);le&&(c.stylesToHoist=!0);return me}function S(a){for(var b=0;b<a.length;b++)v(this,a[b]);a.length=0}var re=[];function se(a){Q(re,a.props);for(var b=0;b<re.length;b++)v(this,re[b]);re.length=0;a.state=2}var te=x('<style data-precedence="'),ue=x('" data-href="'),oe=x(" "),ve=x('">'),we=x("</style>"); -function xe(a){var b=0<a.sheets.size;a.sheets.forEach(se,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){v(this,te);v(this,a.precedence);a=0;if(d.length){for(v(this,ue);a<d.length-1;a++)v(this,d[a]),v(this,oe);v(this,d[a])}v(this,ve);for(a=0;a<c.length;a++)v(this,c[a]);v(this,we);c.length=0;d.length=0}} -function ye(a){if(0===a.state){a.state=1;var b=a.props;Q(re,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<re.length;a++)v(this,re[a]);re.length=0}}function ze(a){a.sheets.forEach(ye,this);a.sheets.clear()}var Ae=x("["),Be=x(",["),Ce=x(","),De=x("]"); -function Ee(a,b){v(a,Ae);var c=Ae;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)v(a,c),v(a,ge(""+d.props.href)),v(a,De),c=Be;else{v(a,c);var e=d.props["data-precedence"],f=d.props;v(a,ge(""+d.props.href));e=""+e;v(a,Ce);v(a,ge(e));for(var g in f)if(z.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); -default:a:{e=a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!Ca(g))break a;h=""+h}v(e,Ce);v(e,ge(l));v(e,Ce);v(e,ge(h))}}}v(a, -De);c=Be;d.state=3}});v(a,De)} -function Fe(a,b){v(a,Ae);var c=Ae;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)v(a,c),v(a,A(JSON.stringify(""+d.props.href))),v(a,De),c=Be;else{v(a,c);var e=d.props["data-precedence"],f=d.props;v(a,A(JSON.stringify(""+d.props.href)));e=""+e;v(a,Ce);v(a,A(JSON.stringify(e)));for(var g in f)if(z.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:a:{e= -a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!Ca(g))break a;h=""+h}v(e,Ce);v(e,A(JSON.stringify(l)));v(e,Ce);v(e,A(JSON.stringify(h)))}}}v(a, -De);c=Be;d.state=3}});v(a,De)}function Pa(a){var b=Ge();if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;Q(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}He(b)}}} -function Qa(a,b){var c=Ge();if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;Q(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}He(c)}}} -function Ra(a,b,c){var d=Ge();if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var l=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=Xa;e=[];Q(e,y({rel:"preload",href:g?void 0:a,as:b},c));"high"===l?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];Q(g,y({rel:"preload",href:a, -as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Xa:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);Q(g,y({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?Xa:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= -e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=y({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}Q(e,c);g[a]=Xa}He(d)}}} -function Sa(a,b){var c=Ge();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?Xa:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= -g;f=[];g[a]=Xa}Q(f,y({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);He(c)}}} -function Ta(a,b,c){var d=Ge();if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:A(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:y({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&Zb(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),He(d))}}} -function Ua(a,b){var c=Ge();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=y({src:a,async:!0},b),f&&(2===f.length&&Zb(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),mc(a,b),He(c))}}} -function Va(a,b){var c=Ge();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=y({src:a,type:"module",async:!0},b),f&&(2===f.length&&Zb(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),mc(a,b),He(c))}}}function Zb(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Ie(a){this.styles.add(a)} -function Je(a){this.stylesheets.add(a)} -var Ke=new ba.AsyncLocalStorage,Le=Symbol.for("react.element"),Me=Symbol.for("react.portal"),Ne=Symbol.for("react.fragment"),Oe=Symbol.for("react.strict_mode"),Pe=Symbol.for("react.profiler"),Qe=Symbol.for("react.provider"),Re=Symbol.for("react.context"),Se=Symbol.for("react.server_context"),Te=Symbol.for("react.forward_ref"),Ue=Symbol.for("react.suspense"),Ve=Symbol.for("react.suspense_list"),We=Symbol.for("react.memo"),Xe=Symbol.for("react.lazy"),Ye=Symbol.for("react.scope"),Ze=Symbol.for("react.debug_trace_mode"), -$e=Symbol.for("react.offscreen"),af=Symbol.for("react.legacy_hidden"),bf=Symbol.for("react.cache"),cf=Symbol.for("react.default_value"),df=Symbol.iterator; -function ef(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Ne:return"Fragment";case Me:return"Portal";case Pe:return"Profiler";case Oe:return"StrictMode";case Ue:return"Suspense";case Ve:return"SuspenseList";case bf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case Re:return(a.displayName||"Context")+".Consumer";case Qe:return(a._context.displayName||"Context")+".Provider";case Te:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case We:return b=a.displayName||null,null!==b?b:ef(a.type)||"Memo";case Xe:b=a._payload;a=a._init;try{return ef(a(b))}catch(c){break}case Se:return(a.displayName||a._globalName)+".Provider"}return null}var ff={};function gf(a,b){a=a.contextTypes;if(!a)return ff;var c={},d;for(d in a)c[d]=b[d];return c}var hf=null; -function jf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");jf(a,c)}b.context._currentValue=b.value}}function kf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&kf(a)} -function lf(a){var b=a.parent;null!==b&&lf(b);a.context._currentValue=a.value}function mf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?jf(a,b):mf(a,b)} -function nf(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?jf(a,c):nf(a,c);b.context._currentValue=b.value}function of(a){var b=hf;b!==a&&(null===b?lf(a):null===a?kf(b):b.depth===a.depth?jf(b,a):b.depth>a.depth?mf(b,a):nf(b,a),hf=a)} -var pf={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; -function qf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=pf;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:y({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= -a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&pf.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=y({},f,h)):y(f,h))}a.state=f}else f.queue=null} -var rf={id:1,overflow:""};function sf(a,b,c){var d=a.id;a=a.overflow;var e=32-tf(d)-1;d&=~(1<<e);c+=1;var f=32-tf(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-tf(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var tf=Math.clz32?Math.clz32:uf,vf=Math.log,wf=Math.LN2;function uf(a){a>>>=0;return 0===a?32:31-(vf(a)/wf|0)|0}var xf=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function yf(){}function zf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(yf,yf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Af=b;throw xf;}}var Af=null; -function Bf(){if(null===Af)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Af;Af=null;return a}function Cf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Df="function"===typeof Object.is?Object.is:Cf,Ef=null,Ff=null,Gf=null,V=null,Hf=!1,If=!1,Jf=0,Kf=0,Lf=-1,Mf=0,Nf=null,Of=null,Pf=0; -function Qf(){if(null===Ef)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Ef} -function Rf(){if(0<Pf)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Sf(){null===V?null===Gf?(Hf=!1,Gf=V=Rf()):(Hf=!0,V=Gf):null===V.next?(Hf=!1,V=V.next=Rf()):(Hf=!0,V=V.next);return V}function Tf(a,b,c,d){for(;If;)If=!1,Kf=Jf=0,Lf=-1,Mf=0,Pf+=1,V=null,c=a(b,d);Uf();return c}function Vf(){var a=Nf;Nf=null;return a}function Uf(){Ff=Ef=null;If=!1;Gf=null;Pf=0;V=Of=null}function Wf(a,b){return"function"===typeof b?b(a):b} -function Xf(a,b,c){Ef=Qf();V=Sf();if(Hf){var d=V.queue;b=d.dispatch;if(null!==Of&&(c=Of.get(d),void 0!==c)){Of.delete(d);d=V.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);V.memoizedState=d;return[d,b]}return[V.memoizedState,b]}a=a===Wf?"function"===typeof b?b():b:void 0!==c?c(b):b;V.memoizedState=a;a=V.queue={last:null,dispatch:null};a=a.dispatch=Yf.bind(null,Ef,a);return[V.memoizedState,a]} -function Zf(a,b){Ef=Qf();V=Sf();b=void 0===b?null:b;if(null!==V){var c=V.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Df(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();V.memoizedState=[a,b];return a} -function Yf(a,b,c){if(25<=Pf)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Ef)if(If=!0,a={action:c,next:null},null===Of&&(Of=new Map),c=Of.get(b),void 0===c)Of.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function $f(){throw Error("startTransition cannot be called during server rendering.");}function ag(a){var b=Mf;Mf+=1;null===Nf&&(Nf=[]);return zf(Nf,a,b)} -function bg(){throw Error("Cache cannot be refreshed during server rendering.");}function cg(){} -var eg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return ag(a);if(a.$$typeof===Re||a.$$typeof===Se)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){Qf();return a._currentValue},useMemo:Zf,useReducer:Xf,useRef:function(a){Ef=Qf();V=Sf();var b=V.memoizedState;return null===b?(a={current:a},V.memoizedState=a):b},useState:function(a){return Xf(Wf,a)}, -useInsertionEffect:cg,useLayoutEffect:cg,useCallback:function(a,b){return Zf(function(){return a},b)},useImperativeHandle:cg,useEffect:cg,useDebugValue:cg,useDeferredValue:function(a){Qf();return a},useTransition:function(){Qf();return[!1,$f]},useId:function(){var a=Ff.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-tf(a)-1)).toString(32)+b;var c=dg;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Jf++;a=":"+c.idPrefix+"R"+a;0<b&& -(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return bg}},dg=null,fg={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},gg=Ja.ReactCurrentDispatcher,hg=Ja.ReactCurrentCache;function ig(a){console.error(a);return null} -function jg(){}var kg=null;function Ge(){if(kg)return kg;var a=Ke.getStore();return a?a:null}function lg(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return mg(a)}))}function ng(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} -function og(a,b,c,d,e,f,g,h,l,n,q,t){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var p={replay:null,node:c,childIndex:d,ping:function(){return lg(a,p)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:q,treeContext:t,thenableState:b};g.add(p);return p} -function pg(a,b,c,d,e,f,g,h,l,n,q,t){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var p={replay:c,node:d,childIndex:e,ping:function(){return lg(a,p)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:q,treeContext:t,thenableState:b};g.add(p);return p}function qg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} -function W(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function rg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function sg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((ef(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=y({},c,d)}b.legacyContext=e;Z(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,Z(a,b,null,f,-1),b.keyPath=e} -function tg(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var l=b.blockedSegment;if(null!==l){h=!0;l=l.chunks;for(var n=0;n<f;n++)n===g?l.push(Wb):l.push(Xb)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=sf(c,1,0),ug(a,b,d,-1),b.treeContext=c):h?ug(a,b,d,-1):Z(a,b,null,d,-1);b.keyPath=f}function vg(a,b){if(a&&a.defaultProps){b=y({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function wg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=gf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);qf(h,e,f,d);sg(a,b,c,h,e)}else{h=gf(e,b.legacyContext);Ef={};Ff=b;Kf=Jf=0;Lf=-1;Mf=0;Nf=d;d=e(f,h);d=Tf(e,f,d,h);g=0!==Jf;var l=Kf,n=Lf;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(qf(d,e,f,h),sg(a,b,c,d,e)):tg(a,b,c,d,g,l,n)}else if("string"===typeof e)if(d=b.blockedSegment, -null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=vb(h,e,f),b.keyPath=c,ug(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=sc(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;l=b.keyPath;b.formatContext=vb(h,e,f);b.keyPath=c;ug(a,b,g,-1);b.formatContext=h;b.keyPath=l;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; -case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(bc,e,cc)}d.lastPushedText=!1}else{switch(e){case af:case Ze:case Oe:case Pe:case Ne:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case $e:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,Z(a,b,null,f.children,-1),b.keyPath=e);return;case Ve:e=b.keyPath;b.keyPath=c;Z(a,b,null,f.children,-1);b.keyPath=e;return;case Ye:throw Error("ReactDOMServer does not yet support scope components."); -case Ue:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{ug(a,b,c,-1)}finally{b.keyPath=e}}else{n=b.keyPath;e=b.blockedBoundary;var q=b.blockedSegment;d=f.fallback;var t=f.children;f=new Set;g=ng(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);l=qg(a,q.chunks.length,g,b.formatContext,!1,!1);q.children.push(l);q.lastPushedText=!1;var p=qg(a,0,null,b.formatContext,!1,!1);p.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=p;a.renderState.boundaryResources=g.resources;b.keyPath= -c;try{if(ug(a,b,t,-1),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Eb),p.status=1,xg(g,p),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(u){p.status=4,g.status=4,h=W(a,u),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=q,b.keyPath=n}h=[c[0],"Suspense Fallback",c[2]];n=a.trackedPostpones;null!==n&&(q=[h[1],h[2],[],null],n.workingMap.set(h,q),5===g.status?n.workingMap.get(c)[4]=q:g.trackedFallbackNode=q);b=og(a,null,d,-1, -e,l,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case Te:e=e.render;Ef={};Ff=b;Kf=Jf=0;Lf=-1;Mf=0;Nf=d;d=e(f,g);f=Tf(e,f,d,g);tg(a,b,c,f,0!==Jf,Kf,Lf);return;case We:e=e.type;f=vg(e,f);wg(a,b,c,d,e,f,g);return;case Qe:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;l=hf;hf=f={parent:l,depth:null===l?0:l.depth+1,context:e,parentValue:g,value:f};b.context=f;b.keyPath= -c;Z(a,b,null,h,-1);a=hf;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===cf?a.context._defaultValue:c;a=hf=a.parent;b.context=a;b.keyPath=d;return;case Re:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;Z(a,b,null,f,-1);b.keyPath=e;return;case Xe:h=e._init;e=h(e._payload);f=vg(e,f);wg(a,b,c,d,e,f,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+ -((null==e?e:typeof e)+"."));}}function yg(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=qg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,ug(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(xg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} -function Z(a,b,c,d,e){b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Le:var f=d.type,g=d.key,h=d.props,l=d.ref,n=ef(f),q=null==g?-1===e?0:e:g;g=[b.keyPath,n,q];if(null!==b.replay)a:{var t=b.replay;e=t.nodes;for(d=0;d<e.length;d++){var p=e[d];if(q===p[1]){if(null!==n&&n!==p[0])throw Error('Expected to see a component of type "'+n+"\" in this slot. The tree doesn't match so React will fallback to client rendering.");if(4===p.length){n=p[2];p=p[3];b.replay={nodes:n, -slots:p,pendingTasks:1};try{if("number"===typeof p){q=a;var u=b,E=u.replay,K=u.blockedBoundary,r=qg(q,0,null,u.formatContext,!1,!1);r.id=p;r.parentFlushed=!0;try{u.replay=null,u.blockedSegment=r,wg(q,u,g,c,f,h,l),r.status=1,null===K?q.completedRootSegment=r:(xg(K,r),K.parentFlushed&&q.partialBoundaries.push(K))}finally{u.replay=E,u.blockedSegment=null}}else wg(a,b,g,c,f,h,l);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -}catch(H){if("object"===typeof H&&null!==H&&(H===xf||"function"===typeof H.then))throw H;h=void 0;var C=b.blockedBoundary;g=H;h=W(a,g);zg(a,C,n,p,g,h)}finally{b.replay.pendingTasks--,b.replay=t}}else{if(f!==Ue)throw Error("Expected to see a Suspense boundary in this slot. The tree doesn't match so React will fallback to client rendering.");b:{C=void 0;E=p[5];K=p[2];r=p[3];f=null===p[4]?[]:p[4][2];t=null===p[4]?null:p[4][3];l=b.keyPath;n=b.replay;p=b.blockedBoundary;q=h.children;h=h.fallback;c=new Set; -u=ng(a,c);u.parentFlushed=!0;u.rootSegmentID=E;b.blockedBoundary=u;b.replay={nodes:K,slots:r,pendingTasks:1};a.renderState.boundaryResources=u.resources;try{"number"===typeof r?yg(a,b,r,q,-1):ug(a,b,q,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===u.pendingTasks&&0===u.status){u.status=1;a.completedBoundaries.push(u); -break b}}catch(H){u.status=4,C=W(a,H),u.errorDigest=C,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(u)}finally{a.renderState.boundaryResources=p?p.resources:null,b.blockedBoundary=p,b.replay=n,b.keyPath=l}g=[g[0],"Suspense Fallback",g[2]];"number"===typeof t?(C=qg(a,0,null,b.formatContext,!1,!1),C.id=t,C.parentFlushed=!0,b=og(a,null,h,-1,p,C,c,g,b.formatContext,b.legacyContext,b.context,b.treeContext)):b=pg(a,null,{nodes:f,slots:t,pendingTasks:0},h,-1,p,c,g,b.formatContext,b.legacyContext, -b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else wg(a,b,g,c,f,h,l);return;case Me:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Xe:h=d._init;d=h(d._payload);Z(a,b,null,d,e);return}if(Ia(d)){Ag(a,b,d,e);return}null===d||"object"!==typeof d?h=null:(h=df&&d[df]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value), -d=h.next();while(!d.done);Ag(a,b,g,e)}return}if("function"===typeof d.then)return Z(a,b,null,ag(d),e);if(d.$$typeof===Re||d.$$typeof===Se)return Z(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Fb(e.chunks, -d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Fb(e.chunks,""+d,a.renderState,e.lastPushedText)))} -function Ag(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var l=g[h];if(l[1]===d){d=l[2];l=l[3];b.replay={nodes:d,slots:l,pendingTasks:1};try{if(Ag(a,b,c,-1),1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");}catch(t){if("object"===typeof t&&null!==t&&(t===xf|| -"function"===typeof t.then))throw t;c=void 0;var n=b.blockedBoundary,q=t;c=W(a,q);zg(a,n,d,l,q,c)}finally{b.replay.pendingTasks--,b.replay=f}g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(n=0;n<g;n++)d=c[n],b.treeContext=sf(f,g,n),l=h[n],"number"===typeof l?(yg(a,b,l,d,n),delete h[n]):ug(a,b,d,n);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)n=c[h],b.treeContext=sf(f,g,h),ug(a,b,n,h);b.treeContext=f; -b.keyPath=e} -function ug(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,l=b.treeContext,n=b.blockedSegment;if(null===n)try{return Z(a,b,null,c,d)}catch(p){if(Uf(),c=p===xf?Bf():p,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Vf();a=pg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;of(g);return}}else{var q= -n.children.length,t=n.chunks.length;try{return Z(a,b,null,c,d)}catch(p){if(Uf(),n.children.length=q,n.chunks.length=t,c=p===xf?Bf():p,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=Vf();n=b.blockedSegment;q=qg(a,n.chunks.length,null,b.formatContext,n.lastPushedText,!0);n.children.push(q);n.lastPushedText=!1;a=og(a,d,b.node,b.childIndex,b.blockedBoundary,q,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= -f;b.context=g;b.keyPath=h;b.treeContext=l;of(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;of(g);throw c;}function Bg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Cg(this,b,a))} -function zg(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)zg(a,b,h[2],h[3],e,f);else{h=h[5];var l=a,n=f,q=ng(l,new Set);q.parentFlushed=!0;q.rootSegmentID=h;q.status=4;q.errorDigest=n;q.parentFlushed&&l.clientRenderedBoundaries.push(q)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var t in d)delete d[t]}} -function Dg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(a=a.replay,null===a?(W(b,c),rg(b,c)):(a.pendingTasks--,0===a.pendingTasks&&0<a.nodes.length&&(d=W(b,c),zg(b,null,a.nodes,a.slots,c,d))))):(d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=W(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Dg(f,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--, -0===b.allPendingTasks&&(a=b.onAllReady,a()))}function xg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&xg(a,c)}else a.completedSegments.push(b)} -function Cg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=jg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&xg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Bg, -a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(xg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} -function mg(a){if(2!==a.status){var b=hf,c=gg.current;gg.current=eg;var d=hg.current;hg.current=fg;var e=kg;kg=a;var f=dg;dg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var l=g[h],n=a,q=l.blockedBoundary;n.renderState.boundaryResources=q?q.resources:null;var t=l.blockedSegment;if(null===t){var p=n;if(0!==l.replay.pendingTasks){of(l.context);try{var u=l.thenableState;l.thenableState=null;Z(p,l,u,l.node,-1);if(1===l.replay.pendingTasks&&0<l.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); -l.replay.pendingTasks--;l.abortSet.delete(l);Cg(p,l.blockedBoundary,null)}catch(M){Uf();var E=M===xf?Bf():M;if("object"===typeof E&&null!==E&&"function"===typeof E.then){var K=l.ping;E.then(K,K);l.thenableState=Vf()}else{l.replay.pendingTasks--;l.abortSet.delete(l);n=void 0;var r=p,C=l.blockedBoundary,H=E,ka=l.replay.nodes,D=l.replay.slots;n=W(r,H);zg(r,C,ka,D,H,n);p.allPendingTasks--;if(0===p.allPendingTasks){var T=p.onAllReady;T()}}}finally{p.renderState.boundaryResources=null}}}else if(p=void 0, -r=t,0===r.status){of(l.context);var F=r.children.length,ca=r.chunks.length;try{var la=l.thenableState;l.thenableState=null;Z(n,l,la,l.node,l.childIndex);r.lastPushedText&&r.textEmbedded&&r.chunks.push(Eb);l.abortSet.delete(l);r.status=1;Cg(n,l.blockedBoundary,r)}catch(M){Uf();r.children.length=F;r.chunks.length=ca;var U=M===xf?Bf():M;if("object"===typeof U&&null!==U&&"function"===typeof U.then){var da=l.ping;U.then(da,da);l.thenableState=Vf()}else{l.abortSet.delete(l);r.status=4;var L=l.blockedBoundary; -p=W(n,U);null===L?rg(n,U):(L.pendingTasks--,4!==L.status&&(L.status=4,L.errorDigest=p,L.parentFlushed&&n.clientRenderedBoundaries.push(L)));n.allPendingTasks--;if(0===n.allPendingTasks){var X=n.onAllReady;X()}}}finally{n.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Eg(a,a.destination)}catch(M){W(a,M),rg(a,M)}finally{dg=f,gg.current=c,hg.current=d,c===eg&&of(b),kg=e}}} -function Fg(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;v(b,uc);v(b,a.placeholderPrefix);a=d.toString(16);v(b,a);return w(b,vc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)v(b,d[f]);e=Gg(a,b,e)}for(;f<d.length-1;f++)v(b,d[f]);f<d.length&&(e=w(b,d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ia=/["'&<>]/; +function A(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Ia.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} +var Ja=/([A-Z])/g,Ka=/^ms-/,La=Array.isArray,Ma=ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Sa={pending:!1,data:null,method:null,action:null},Ta=ia.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,ob={prefetchDNS:Ua,preconnect:Va,preload:Wa,preloadModule:Xa,preinitStyle:Ya,preinitScript:Za,preinitModuleScript:$a},pb=[],qb=x('"></template>'),rb=x("<script>"),sb=x("\x3c/script>"),tb=x('<script src="'),ub=x('<script type="module" src="'),vb=x('" nonce="'),wb=x('" integrity="'), +xb=x('" crossorigin="'),yb=x('" async="">\x3c/script>'),zb=/(<\/|<)(s)(cript)/gi;function Ab(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d}var Jb=x('<script type="importmap">'),Kb=x("\x3c/script>");function C(a,b,c){return{insertionMode:a,selectedValue:b,tagScope:c}} +function Lb(a,b,c){switch(b){case "noscript":return C(2,null,a.tagScope|1);case "select":return C(2,null!=c.value?c.value:c.defaultValue,a.tagScope);case "svg":return C(3,null,a.tagScope);case "picture":return C(2,null,a.tagScope|2);case "math":return C(4,null,a.tagScope);case "foreignObject":return C(2,null,a.tagScope);case "table":return C(5,null,a.tagScope);case "thead":case "tbody":case "tfoot":return C(6,null,a.tagScope);case "colgroup":return C(8,null,a.tagScope);case "tr":return C(7,null,a.tagScope)}return 5<= +a.insertionMode?C(2,null,a.tagScope):0===a.insertionMode?"html"===b?C(1,null,a.tagScope):C(2,null,a.tagScope):1===a.insertionMode?C(2,null,a.tagScope):a}var Mb=x("\x3c!-- --\x3e");function Nb(a,b,c,d){if(""===b)return d;d&&a.push(Mb);a.push(A(b));return!0}var Ob=new Map,Pb=x(' style="'),Qb=x(":"),Rb=x(";"); +function Sb(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(z.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var f=A(d);e=A((""+e).trim())}else f=Ob.get(d),void 0===f&&(f=x(A(d.replace(Ja,"-$1").toLowerCase().replace(Ka,"-ms-"))),Ob.set(d,f)),e="number"===typeof e?0===e||Ga.has(d)?""+e:e+"px": +A((""+e).trim());c?(c=!1,a.push(Pb,f,Qb,e)):a.push(Rb,f,Qb,e)}}c||a.push(G)}var L=x(" "),M=x('="'),G=x('"'),Tb=x('=""');function Ub(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(L,b,Tb)}function N(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(L,b,M,A(c),G)}function Vb(a){var b=a.nextFormID++;return a.idPrefix+b}var Wb=x(A("javascript:throw new Error('A React form was unexpectedly submitted.')")),Xb=x('<input type="hidden"'); +function Yb(a,b){this.push(Xb);if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");N(this,"name",b);N(this,"value",a);this.push(Zb)} +function $b(a,b,c,d,e,f,g,h){var l=null;"function"===typeof d&&("function"===typeof d.$$FORM_ACTION?(e=Vb(b),b=d.$$FORM_ACTION(e),h=b.name,d=b.action||"",e=b.encType,f=b.method,g=b.target,l=b.data):(a.push(L,"formAction",M,Wb,G),g=f=e=d=h=null,ac(b,c)));null!=h&&O(a,"name",h);null!=d&&O(a,"formAction",d);null!=e&&O(a,"formEncType",e);null!=f&&O(a,"formMethod",f);null!=g&&O(a,"formTarget",g);return l} +function O(a,b,c){switch(b){case "className":N(a,"class",c);break;case "tabIndex":N(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":N(a,b,c);break;case "style":Sb(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(L,b,M,A(""+c),G);break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; +case "autoFocus":case "multiple":case "muted":Ub(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(L,"xlink:href",M,A(""+c),G);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(L,b,M,A(c),G);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& +"function"!==typeof c&&"symbol"!==typeof c&&a.push(L,b,Tb);break;case "capture":case "download":!0===c?a.push(L,b,Tb):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(L,b,M,A(c),G);break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(L,b,M,A(c),G);break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(L,b,M,A(c),G);break;case "xlinkActuate":N(a,"xlink:actuate",c);break;case "xlinkArcrole":N(a, +"xlink:arcrole",c);break;case "xlinkRole":N(a,"xlink:role",c);break;case "xlinkShow":N(a,"xlink:show",c);break;case "xlinkTitle":N(a,"xlink:title",c);break;case "xlinkType":N(a,"xlink:type",c);break;case "xmlBase":N(a,"xml:base",c);break;case "xmlLang":N(a,"xml:lang",c);break;case "xmlSpace":N(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=Ha.get(b)||b,Fa(b)){switch(typeof c){case "function":case "symbol":return;case "boolean":var d=b.toLowerCase().slice(0, +5);if("data-"!==d&&"aria-"!==d)return}a.push(L,b,M,A(c),G)}}}var Q=x(">"),Zb=x("/>");function bc(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} +function cc(a){var b="";ha.Children.forEach(a,function(c){null!=c&&(b+=c)});return b}var dc=x(' selected=""'),ec=x('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'A React form was unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.getRootNode(),(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,\nd,b))}});'); +function ac(a,b){0!==(a.instructions&16)||b.externalRuntimeScript||(a.instructions|=16,b.bootstrapChunks.unshift(b.startInlineScript,ec,sb))}var fc=x("\x3c!--F!--\x3e"),gc=x("\x3c!--F--\x3e"); +function hc(a,b,c,d,e,f,g){var h=b.rel,l=b.href,n=b.precedence;if(3===f||g||null!=b.itemProp||"string"!==typeof h||"string"!==typeof l||""===l)return R(a,b),null;if("stylesheet"===b.rel){if("string"!==typeof n||null!=b.disabled||b.onLoad||b.onError)return R(a,b);f=d.styles.get(n);g=c.styleResources.hasOwnProperty(l)?c.styleResources[l]:void 0;null!==g?(c.styleResources[l]=null,f||(f={precedence:A(n),rules:[],hrefs:[],sheets:new Map},d.styles.set(n,f)),b={state:0,props:y({},b,{"data-precedence":b.precedence, +precedence:null})},g&&(2===g.length&&ic(b.props,g),(c=d.preloads.stylesheets.get(l))&&0<c.length?c.length=0:b.state=1),f.sheets.set(l,b),d.boundaryResources&&d.boundaryResources.stylesheets.add(b)):f&&(l=f.sheets.get(l))&&d.boundaryResources&&d.boundaryResources.stylesheets.add(l);e&&a.push(Mb);return null}if(b.onLoad||b.onError)return R(a,b);e&&a.push(Mb);switch(b.rel){case "preconnect":case "dns-prefetch":return R(d.preconnectChunks,b);case "preload":return R(d.preloadChunks,b);default:return R(d.hoistableChunks, +b)}}function R(a,b){a.push(T("link"));for(var c in b)if(z.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:O(a,c,d)}}a.push(Zb);return null} +function jc(a,b,c){a.push(T(c));for(var d in b)if(z.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:O(a,d,e)}}a.push(Zb);return null} +function rc(a,b){a.push(T("title"));var c=null,d=null,e;for(e in b)if(z.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:O(a,e,f)}}a.push(Q);b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(A(""+b));bc(a,d,c);a.push(sc,"title",tc);return null} +function uc(a,b){a.push(T("script"));var c=null,d=null,e;for(e in b)if(z.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:O(a,e,f)}}a.push(Q);bc(a,d,c);"string"===typeof c&&a.push(A(c));a.push(sc,"script",tc);return null} +function vc(a,b,c){a.push(T(c));var d=c=null,e;for(e in b)if(z.call(b,e)){var f=b[e];if(null!=f)switch(e){case "children":c=f;break;case "dangerouslySetInnerHTML":d=f;break;default:O(a,e,f)}}a.push(Q);bc(a,d,c);return"string"===typeof c?(a.push(A(c)),null):c}var wc=x("\n"),xc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yc=new Map;function T(a){var b=yc.get(a);if(void 0===b){if(!xc.test(a))throw Error("Invalid tag: "+a);b=x("<"+a);yc.set(a,b)}return b}var zc=x("<!DOCTYPE html>"); +function Ac(a,b,c,d,e,f,g){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(T("select"));var h=null,l=null,n;for(n in c)if(z.call(c,n)){var q=c[n];if(null!=q)switch(n){case "children":h=q;break;case "dangerouslySetInnerHTML":l=q;break;case "defaultValue":case "value":break;default:O(a,n,q)}}a.push(Q);bc(a,l,h);return h;case "option":var r=f.selectedValue;a.push(T("option"));var p=null,v=null,E=null,Y=null,t;for(t in c)if(z.call(c, +t)){var B=c[t];if(null!=B)switch(t){case "children":p=B;break;case "selected":E=B;break;case "dangerouslySetInnerHTML":Y=B;break;case "value":v=B;default:O(a,t,B)}}if(null!=r){var H=null!==v?""+v:cc(p);if(La(r))for(var ja=0;ja<r.length;ja++){if(""+r[ja]===H){a.push(dc);break}}else""+r===H&&a.push(dc)}else E&&a.push(dc);a.push(Q);bc(a,Y,p);return p;case "textarea":a.push(T("textarea"));var D=null,U=null,F=null,da;for(da in c)if(z.call(c,da)){var ka=c[da];if(null!=ka)switch(da){case "children":F=ka; +break;case "value":D=ka;break;case "defaultValue":U=ka;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:O(a,da,ka)}}null===D&&null!==U&&(D=U);a.push(Q);if(null!=F){if(null!=D)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(La(F)){if(1<F.length)throw Error("<textarea> can only have at most one child.");D=""+F[0]}D=""+F}"string"===typeof D&&"\n"===D[0]&&a.push(wc);null!==D&&a.push(A(""+D)); +return null;case "input":a.push(T("input"));var pa=null,S=null,Z=null,I=null,la=null,J=null,qa=null,ra=null,Na=null,ea;for(ea in c)if(z.call(c,ea)){var aa=c[ea];if(null!=aa)switch(ea){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":pa=aa;break;case "formAction":S=aa;break;case "formEncType":Z=aa;break;case "formMethod":I=aa;break;case "formTarget":la=aa;break;case "defaultChecked":Na= +aa;break;case "defaultValue":qa=aa;break;case "checked":ra=aa;break;case "value":J=aa;break;default:O(a,ea,aa)}}var dd=$b(a,d,e,S,Z,I,la,pa);null!==ra?Ub(a,"checked",ra):null!==Na&&Ub(a,"checked",Na);null!==J?O(a,"value",J):null!==qa&&O(a,"value",qa);a.push(Zb);null!==dd&&dd.forEach(Yb,a);return null;case "button":a.push(T("button"));var ab=null,ed=null,fd=null,gd=null,hd=null,id=null,jd=null,bb;for(bb in c)if(z.call(c,bb)){var ma=c[bb];if(null!=ma)switch(bb){case "children":ab=ma;break;case "dangerouslySetInnerHTML":ed= +ma;break;case "name":fd=ma;break;case "formAction":gd=ma;break;case "formEncType":hd=ma;break;case "formMethod":id=ma;break;case "formTarget":jd=ma;break;default:O(a,bb,ma)}}var kd=$b(a,d,e,gd,hd,id,jd,fd);a.push(Q);null!==kd&&kd.forEach(Yb,a);bc(a,ed,ab);if("string"===typeof ab){a.push(A(ab));var ld=null}else ld=ab;return ld;case "form":a.push(T("form"));var cb=null,md=null,sa=null,db=null,eb=null,fb=null,gb;for(gb in c)if(z.call(c,gb)){var ta=c[gb];if(null!=ta)switch(gb){case "children":cb=ta;break; +case "dangerouslySetInnerHTML":md=ta;break;case "action":sa=ta;break;case "encType":db=ta;break;case "method":eb=ta;break;case "target":fb=ta;break;default:O(a,gb,ta)}}var kc=null,lc=null;if("function"===typeof sa)if("function"===typeof sa.$$FORM_ACTION){var df=Vb(d),Oa=sa.$$FORM_ACTION(df);sa=Oa.action||"";db=Oa.encType;eb=Oa.method;fb=Oa.target;kc=Oa.data;lc=Oa.name}else a.push(L,"action",M,Wb,G),fb=eb=db=sa=null,ac(d,e);null!=sa&&O(a,"action",sa);null!=db&&O(a,"encType",db);null!=eb&&O(a,"method", +eb);null!=fb&&O(a,"target",fb);a.push(Q);null!==lc&&(a.push(Xb),N(a,"name",lc),a.push(Zb),null!==kc&&kc.forEach(Yb,a));bc(a,md,cb);if("string"===typeof cb){a.push(A(cb));var nd=null}else nd=cb;return nd;case "menuitem":a.push(T("menuitem"));for(var Bb in c)if(z.call(c,Bb)){var od=c[Bb];if(null!=od)switch(Bb){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:O(a,Bb,od)}}a.push(Q);return null;case "title":if(3===f.insertionMode|| +f.tagScope&1||null!=c.itemProp)var pd=rc(a,c);else rc(e.hoistableChunks,c),pd=null;return pd;case "link":return hc(a,c,d,e,g,f.insertionMode,!!(f.tagScope&1));case "script":var mc=c.async;if("string"!==typeof c.src||!c.src||!mc||"function"===typeof mc||"symbol"===typeof mc||c.onLoad||c.onError||3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var qd=uc(a,c);else{var Cb=c.src;if("module"===c.type){var Db=d.moduleScriptResources;var rd=e.preloads.moduleScripts}else Db=d.scriptResources,rd=e.preloads.scripts; +var Eb=Db.hasOwnProperty(Cb)?Db[Cb]:void 0;if(null!==Eb){Db[Cb]=null;var nc=c;if(Eb){2===Eb.length&&(nc=y({},c),ic(nc,Eb));var sd=rd.get(Cb);sd&&(sd.length=0)}var td=[];e.scripts.add(td);uc(td,nc)}g&&a.push(Mb);qd=null}return qd;case "style":var Fb=c.precedence,Aa=c.href;if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp||"string"!==typeof Fb||"string"!==typeof Aa||""===Aa){a.push(T("style"));var Pa=null,ud=null,hb;for(hb in c)if(z.call(c,hb)){var Gb=c[hb];if(null!=Gb)switch(hb){case "children":Pa= +Gb;break;case "dangerouslySetInnerHTML":ud=Gb;break;default:O(a,hb,Gb)}}a.push(Q);var ib=Array.isArray(Pa)?2>Pa.length?Pa[0]:null:Pa;"function"!==typeof ib&&"symbol"!==typeof ib&&null!==ib&&void 0!==ib&&a.push(A(""+ib));bc(a,ud,Pa);a.push(sc,"style",tc);var vd=null}else{var Ba=e.styles.get(Fb);if(null!==(d.styleResources.hasOwnProperty(Aa)?d.styleResources[Aa]:void 0)){d.styleResources[Aa]=null;Ba?Ba.hrefs.push(A(Aa)):(Ba={precedence:A(Fb),rules:[],hrefs:[A(Aa)],sheets:new Map},e.styles.set(Fb,Ba)); +var wd=Ba.rules,Qa=null,xd=null,Hb;for(Hb in c)if(z.call(c,Hb)){var oc=c[Hb];if(null!=oc)switch(Hb){case "children":Qa=oc;break;case "dangerouslySetInnerHTML":xd=oc}}var jb=Array.isArray(Qa)?2>Qa.length?Qa[0]:null:Qa;"function"!==typeof jb&&"symbol"!==typeof jb&&null!==jb&&void 0!==jb&&wd.push(A(""+jb));bc(wd,xd,Qa)}Ba&&e.boundaryResources&&e.boundaryResources.styles.add(Ba);g&&a.push(Mb);vd=void 0}return vd;case "meta":if(3===f.insertionMode||f.tagScope&1||null!=c.itemProp)var yd=jc(a,c,"meta"); +else g&&a.push(Mb),yd="string"===typeof c.charSet?jc(e.charsetChunks,c,"meta"):"viewport"===c.name?jc(e.preconnectChunks,c,"meta"):jc(e.hoistableChunks,c,"meta");return yd;case "listing":case "pre":a.push(T(b));var kb=null,lb=null,mb;for(mb in c)if(z.call(c,mb)){var Ib=c[mb];if(null!=Ib)switch(mb){case "children":kb=Ib;break;case "dangerouslySetInnerHTML":lb=Ib;break;default:O(a,mb,Ib)}}a.push(Q);if(null!=lb){if(null!=kb)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); +if("object"!==typeof lb||!("__html"in lb))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Ca=lb.__html;null!==Ca&&void 0!==Ca&&("string"===typeof Ca&&0<Ca.length&&"\n"===Ca[0]?a.push(wc,Ca):a.push(""+Ca))}"string"===typeof kb&&"\n"===kb[0]&&a.push(wc);return kb;case "img":var P=c.src,K=c.srcSet;if(!("lazy"===c.loading||!P&&!K||"string"!==typeof P&&null!=P||"string"!==typeof K&& +null!=K)&&"low"!==c.fetchPriority&&!1===!!(f.tagScope&2)&&("string"!==typeof P||":"!==P[4]||"d"!==P[0]&&"D"!==P[0]||"a"!==P[1]&&"A"!==P[1]||"t"!==P[2]&&"T"!==P[2]||"a"!==P[3]&&"A"!==P[3])&&("string"!==typeof K||":"!==K[4]||"d"!==K[0]&&"D"!==K[0]||"a"!==K[1]&&"A"!==K[1]||"t"!==K[2]&&"T"!==K[2]||"a"!==K[3]&&"A"!==K[3])){var zd="string"===typeof c.sizes?c.sizes:void 0,nb=K?K+"\n"+(zd||""):P,pc=e.preloads.images,Da=pc.get(nb);if(Da){if("high"===c.fetchPriority||10>e.highImagePreloads.size)pc.delete(nb), +e.highImagePreloads.add(Da)}else d.imageResources.hasOwnProperty(nb)||(d.imageResources[nb]=pb,Da=[],R(Da,{rel:"preload",as:"image",href:K?void 0:P,imageSrcSet:K,imageSizes:zd,crossOrigin:c.crossOrigin,integrity:c.integrity,type:c.type,fetchPriority:c.fetchPriority,referrerPolicy:c.referrerPolicy}),"high"===c.fetchPriority||10>e.highImagePreloads.size?e.highImagePreloads.add(Da):(e.bulkPreloads.add(Da),pc.set(nb,Da)))}return jc(a,c,"img");case "base":case "area":case "br":case "col":case "embed":case "hr":case "keygen":case "param":case "source":case "track":case "wbr":return jc(a, +c,b);case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":break;case "head":if(2>f.insertionMode&&null===e.headChunks){e.headChunks=[];var Ad=vc(e.headChunks,c,"head")}else Ad=vc(a,c,"head");return Ad;case "html":if(0===f.insertionMode&&null===e.htmlChunks){e.htmlChunks=[zc];var Bd=vc(e.htmlChunks,c,"html")}else Bd=vc(a,c,"html");return Bd;default:if(-1!==b.indexOf("-")){a.push(T(b)); +var qc=null,Cd=null,Ra;for(Ra in c)if(z.call(c,Ra)){var Ea=c[Ra];if(null!=Ea){var ef=Ra;switch(Ra){case "children":qc=Ea;break;case "dangerouslySetInnerHTML":Cd=Ea;break;case "style":Sb(a,Ea);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:Fa(Ra)&&"function"!==typeof Ea&&"symbol"!==typeof Ea&&a.push(L,ef,M,A(Ea),G)}}}a.push(Q);bc(a,Cd,qc);return qc}}return vc(a,c,b)}var sc=x("</"),tc=x(">"); +function Bc(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)u(a,b[c]);return c<b.length?(c=b[c],b.length=0,w(a,c)):!0}var Cc=x('<template id="'),Dc=x('"></template>'),Ec=x("\x3c!--$--\x3e"),Fc=x('\x3c!--$?--\x3e<template id="'),Gc=x('"></template>'),Hc=x("\x3c!--$!--\x3e"),Ic=x("\x3c!--/$--\x3e"),Jc=x("<template"),Kc=x('"'),Lc=x(' data-dgst="');x(' data-msg="');x(' data-stck="');var Mc=x("></template>"); +function Nc(a,b,c){u(a,Fc);if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");u(a,b.boundaryPrefix);u(a,c.toString(16));return w(a,Gc)} +var Oc=x('<div hidden id="'),Pc=x('">'),Qc=x("</div>"),Rc=x('<svg aria-hidden="true" style="display:none" id="'),Sc=x('">'),Tc=x("</svg>"),Uc=x('<math aria-hidden="true" style="display:none" id="'),Vc=x('">'),Wc=x("</math>"),Xc=x('<table hidden id="'),Yc=x('">'),Zc=x("</table>"),$c=x('<table hidden><tbody id="'),ad=x('">'),bd=x("</tbody></table>"),cd=x('<table hidden><tr id="'),Dd=x('">'),Ed=x("</tr></table>"),Fd=x('<table hidden><colgroup id="'),Gd=x('">'),Hd=x("</colgroup></table>"); +function Id(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return u(a,Oc),u(a,b.segmentPrefix),u(a,d.toString(16)),w(a,Pc);case 3:return u(a,Rc),u(a,b.segmentPrefix),u(a,d.toString(16)),w(a,Sc);case 4:return u(a,Uc),u(a,b.segmentPrefix),u(a,d.toString(16)),w(a,Vc);case 5:return u(a,Xc),u(a,b.segmentPrefix),u(a,d.toString(16)),w(a,Yc);case 6:return u(a,$c),u(a,b.segmentPrefix),u(a,d.toString(16)),w(a,ad);case 7:return u(a,cd),u(a,b.segmentPrefix),u(a,d.toString(16)),w(a,Dd);case 8:return u(a, +Fd),u(a,b.segmentPrefix),u(a,d.toString(16)),w(a,Gd);default:throw Error("Unknown insertion mode. This is a bug in React.");}}function Jd(a,b){switch(b.insertionMode){case 0:case 1:case 2:return w(a,Qc);case 3:return w(a,Tc);case 4:return w(a,Wc);case 5:return w(a,Zc);case 6:return w(a,bd);case 7:return w(a,Ed);case 8:return w(a,Hd);default:throw Error("Unknown insertion mode. This is a bug in React.");}} +var Kd=x('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ld=x('$RS("'),Md=x('","'),Nd=x('")\x3c/script>'),Od=x('<template data-rsi="" data-sid="'),Pd=x('" data-pid="'),Qd=x('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'), +Rd=x('$RC("'),Sd=x('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Td=x('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("'), +Ud=x('$RR("'),Vd=x('","'),Wd=x('",'),Xd=x('"'),Yd=x(")\x3c/script>"),Zd=x('<template data-rci="" data-bid="'),$d=x('<template data-rri="" data-bid="'),ae=x('" data-sid="'),be=x('" data-sty="'),ce=x('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("'),de=x('$RX("'),ee=x('"'),fe=x(","),ge=x(")\x3c/script>"),he=x('<template data-rxi="" data-bid="'),ie=x('" data-dgst="'), +je=x('" data-msg="'),ke=x('" data-stck="'),le=/[<\u2028\u2029]/g;function me(a){return JSON.stringify(a).replace(le,function(b){switch(b){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}var ne=/[&><\u2028\u2029]/g; +function oe(a){return JSON.stringify(a).replace(ne,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})} +var pe=x('<style media="not all" data-precedence="'),qe=x('" data-href="'),re=x('">'),se=x("</style>"),te=!1,ue=!0;function ve(a){var b=a.rules,c=a.hrefs,d=0;if(c.length){u(this,pe);u(this,a.precedence);for(u(this,qe);d<c.length-1;d++)u(this,c[d]),u(this,we);u(this,c[d]);u(this,re);for(d=0;d<b.length;d++)u(this,b[d]);ue=w(this,se);te=!0;b.length=0;c.length=0}}function xe(a){return 2!==a.state?te=!0:!1} +function ye(a,b,c){te=!1;ue=!0;b.styles.forEach(ve,a);b.stylesheets.forEach(xe);te&&(c.stylesToHoist=!0);return ue}function ze(a){for(var b=0;b<a.length;b++)u(this,a[b]);a.length=0}var Ae=[];function Be(a){R(Ae,a.props);for(var b=0;b<Ae.length;b++)u(this,Ae[b]);Ae.length=0;a.state=2}var Ce=x('<style data-precedence="'),De=x('" data-href="'),we=x(" "),Ee=x('">'),Fe=x("</style>"); +function Ge(a){var b=0<a.sheets.size;a.sheets.forEach(Be,this);a.sheets.clear();var c=a.rules,d=a.hrefs;if(!b||d.length){u(this,Ce);u(this,a.precedence);a=0;if(d.length){for(u(this,De);a<d.length-1;a++)u(this,d[a]),u(this,we);u(this,d[a])}u(this,Ee);for(a=0;a<c.length;a++)u(this,c[a]);u(this,Fe);c.length=0;d.length=0}} +function He(a){if(0===a.state){a.state=1;var b=a.props;R(Ae,{rel:"preload",as:"style",href:a.props.href,crossOrigin:b.crossOrigin,fetchPriority:b.fetchPriority,integrity:b.integrity,media:b.media,hrefLang:b.hrefLang,referrerPolicy:b.referrerPolicy});for(a=0;a<Ae.length;a++)u(this,Ae[a]);Ae.length=0}}function Ie(a){a.sheets.forEach(He,this);a.sheets.clear()}var Je=x("["),Ke=x(",["),Le=x(","),Me=x("]"); +function Ne(a,b){u(a,Je);var c=Je;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,oe(""+d.props.href)),u(a,Me),c=Ke;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,oe(""+d.props.href));e=""+e;u(a,Le);u(a,oe(e));for(var g in f)if(z.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); +default:a:{e=a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!Fa(g))break a;h=""+h}u(e,Le);u(e,oe(l));u(e,Le);u(e,oe(h))}}}u(a, +Me);c=Ke;d.state=3}});u(a,Me)} +function Oe(a,b){u(a,Je);var c=Je;b.stylesheets.forEach(function(d){if(2!==d.state)if(3===d.state)u(a,c),u(a,A(JSON.stringify(""+d.props.href))),u(a,Me),c=Ke;else{u(a,c);var e=d.props["data-precedence"],f=d.props;u(a,A(JSON.stringify(""+d.props.href)));e=""+e;u(a,Le);u(a,A(JSON.stringify(e)));for(var g in f)if(z.call(f,g)){var h=f[g];if(null!=h)switch(g){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:a:{e= +a;var l=g.toLowerCase();switch(typeof h){case "function":case "symbol":break a}switch(g){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":l="class";h=""+h;break;case "hidden":if(!1===h)break a;h="";break;case "src":case "href":h=""+h;break;default:if(2<g.length&&("o"===g[0]||"O"===g[0])&&("n"===g[1]||"N"===g[1])||!Fa(g))break a;h=""+h}u(e,Le);u(e,A(JSON.stringify(l)));u(e,Le);u(e,A(JSON.stringify(h)))}}}u(a, +Me);c=Ke;d.state=3}});u(a,Me)}function Ua(a){var b=Pe();if(b){var c=b.resumableState,d=b.renderState;if("string"===typeof a&&a){if(!c.dnsResources.hasOwnProperty(a)){var e=[];c.dnsResources[a]=null;R(e,{href:a,rel:"dns-prefetch"});d.preconnects.add(e)}Qe(b)}}} +function Va(a,b){var c=Pe();if(c){var d=c.resumableState,e=c.renderState;if("string"===typeof a&&a){d="use-credentials"===b?d.connectResources.credentials:"string"===typeof b?d.connectResources.anonymous:d.connectResources.default;if(!d.hasOwnProperty(a)){var f=[];d[a]=null;R(f,{rel:"preconnect",href:a,crossOrigin:b});e.preconnects.add(f)}Qe(c)}}} +function Wa(a,b,c){var d=Pe();if(d){var e=d.resumableState,f=d.renderState;if(b&&a){switch(b){case "image":if(c){var g=c.imageSrcSet;var h=c.imageSizes;var l=c.fetchPriority}h=g?g+"\n"+(h||""):a;if(e.imageResources.hasOwnProperty(h))return;e.imageResources[h]=pb;e=[];R(e,y({rel:"preload",href:g?void 0:a,as:b},c));"high"===l?f.highImagePreloads.add(e):(f.bulkPreloads.add(e),f.preloads.images.set(h,e));break;case "style":if(e.styleResources.hasOwnProperty(a))return;g=[];R(g,y({rel:"preload",href:a, +as:b},c));e.styleResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?pb:[c.crossOrigin,c.integrity];f.preloads.stylesheets.set(a,g);f.bulkPreloads.add(g);break;case "script":if(e.scriptResources.hasOwnProperty(a))return;g=[];f.preloads.scripts.set(a,g);f.bulkPreloads.add(g);R(g,y({rel:"preload",href:a,as:b},c));e.scriptResources[a]=!c||"string"!==typeof c.crossOrigin&&"string"!==typeof c.integrity?pb:[c.crossOrigin,c.integrity];break;default:if(e.unknownResources.hasOwnProperty(b)){if(g= +e.unknownResources[b],g.hasOwnProperty(a))return}else g={},e.unknownResources[b]=g;e=[];c=y({rel:"preload",href:a,as:b},c);switch(b){case "font":f.fontPreloads.add(e);break;default:f.bulkPreloads.add(e)}R(e,c);g[a]=pb}Qe(d)}}} +function Xa(a,b){var c=Pe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=b&&"string"===typeof b.as?b.as:"script";switch(f){case "script":if(d.moduleScriptResources.hasOwnProperty(a))return;f=[];d.moduleScriptResources[a]=!b||"string"!==typeof b.crossOrigin&&"string"!==typeof b.integrity?pb:[b.crossOrigin,b.integrity];e.preloads.moduleScripts.set(a,f);break;default:if(d.moduleUnknownResources.hasOwnProperty(f)){var g=d.unknownResources[f];if(g.hasOwnProperty(a))return}else g={},d.moduleUnknownResources[f]= +g;f=[];g[a]=pb}R(f,y({rel:"modulepreload",href:a},b));e.bulkPreloads.add(f);Qe(c)}}} +function Ya(a,b,c){var d=Pe();if(d){var e=d.resumableState,f=d.renderState;if(a){b=b||"default";var g=f.styles.get(b),h=e.styleResources.hasOwnProperty(a)?e.styleResources[a]:void 0;null!==h&&(e.styleResources[a]=null,g||(g={precedence:A(b),rules:[],hrefs:[],sheets:new Map},f.styles.set(b,g)),b={state:0,props:y({rel:"stylesheet",href:a,"data-precedence":b},c)},h&&(2===h.length&&ic(b.props,h),(f=f.preloads.stylesheets.get(a))&&0<f.length?f.length=0:b.state=1),g.sheets.set(a,b),Qe(d))}}} +function Za(a,b){var c=Pe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.scriptResources.hasOwnProperty(a)?d.scriptResources[a]:void 0;null!==f&&(d.scriptResources[a]=null,b=y({src:a,async:!0},b),f&&(2===f.length&&ic(b,f),a=e.preloads.scripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),uc(a,b),Qe(c))}}} +function $a(a,b){var c=Pe();if(c){var d=c.resumableState,e=c.renderState;if(a){var f=d.moduleScriptResources.hasOwnProperty(a)?d.moduleScriptResources[a]:void 0;null!==f&&(d.moduleScriptResources[a]=null,b=y({src:a,type:"module",async:!0},b),f&&(2===f.length&&ic(b,f),a=e.preloads.moduleScripts.get(a))&&(a.length=0),a=[],e.scripts.add(a),uc(a,b),Qe(c))}}}function ic(a,b){null==a.crossOrigin&&(a.crossOrigin=b[0]);null==a.integrity&&(a.integrity=b[1])}function Re(a){this.styles.add(a)} +function Se(a){this.stylesheets.add(a)} +var Te=new fa.AsyncLocalStorage,Ue=Symbol.for("react.element"),Ve=Symbol.for("react.portal"),We=Symbol.for("react.fragment"),Xe=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),Ze=Symbol.for("react.provider"),$e=Symbol.for("react.context"),af=Symbol.for("react.server_context"),bf=Symbol.for("react.forward_ref"),cf=Symbol.for("react.suspense"),ff=Symbol.for("react.suspense_list"),gf=Symbol.for("react.memo"),hf=Symbol.for("react.lazy"),jf=Symbol.for("react.scope"),kf=Symbol.for("react.debug_trace_mode"), +lf=Symbol.for("react.offscreen"),mf=Symbol.for("react.legacy_hidden"),nf=Symbol.for("react.cache"),of=Symbol.for("react.default_value"),pf=Symbol.iterator; +function qf(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case We:return"Fragment";case Ve:return"Portal";case Ye:return"Profiler";case Xe:return"StrictMode";case cf:return"Suspense";case ff:return"SuspenseList";case nf:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case $e:return(a.displayName||"Context")+".Consumer";case Ze:return(a._context.displayName||"Context")+".Provider";case bf:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case gf:return b=a.displayName||null,null!==b?b:qf(a.type)||"Memo";case hf:b=a._payload;a=a._init;try{return qf(a(b))}catch(c){}}return null}var rf={};function sf(a,b){a=a.contextTypes;if(!a)return rf;var c={},d;for(d in a)c[d]=b[d];return c}var tf=null; +function uf(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");uf(a,c)}b.context._currentValue=b.value}}function vf(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&vf(a)} +function wf(a){var b=a.parent;null!==b&&wf(b);a.context._currentValue=a.value}function xf(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?uf(a,b):xf(a,b)} +function yf(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?uf(a,c):yf(a,c);b.context._currentValue=b.value}function zf(a){var b=tf;b!==a&&(null===b?wf(a):null===a?vf(b):b.depth===a.depth?uf(b,a):b.depth>a.depth?xf(b,a):yf(b,a),tf=a)} +var Af={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; +function Bf(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Af;a.props=c;a.state=e;var f={queue:[],replace:!1};a._reactInternals=f;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,e),e=null===g||void 0===g?e:y({},e,g),a.state=e);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b= +a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&Af.enqueueReplaceState(a,a.state,null),null!==f.queue&&0<f.queue.length)if(b=f.queue,g=f.replace,f.queue=null,f.replace=!1,g&&1===b.length)a.state=b[0];else{f=g?b[0]:a.state;e=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,f,c,d):h;null!=h&&(e?(e=!1,f=y({},f,h)):y(f,h))}a.state=f}else f.queue=null} +var Cf={id:1,overflow:""};function Df(a,b,c){var d=a.id;a=a.overflow;var e=32-Ef(d)-1;d&=~(1<<e);c+=1;var f=32-Ef(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;return{id:1<<32-Ef(b)+e|c<<e|d,overflow:f+a}}return{id:1<<f|c<<e|d,overflow:a}}var Ef=Math.clz32?Math.clz32:Ff,Gf=Math.log,Hf=Math.LN2;function Ff(a){a>>>=0;return 0===a?32:31-(Gf(a)/Hf|0)|0}var If=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Jf(){}function Kf(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Jf,Jf),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Lf=b;throw If;}}var Lf=null; +function Mf(){if(null===Lf)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Lf;Lf=null;return a}function Nf(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var Of="function"===typeof Object.is?Object.is:Nf,Pf=null,Qf=null,Rf=null,Sf=null,Tf=null,V=null,Uf=!1,Vf=!1,Wf=0,Xf=0,Yf=-1,Zf=0,$f=null,ag=null,bg=0; +function cg(){if(null===Pf)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Pf} +function dg(){if(0<bg)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function eg(){null===V?null===Tf?(Uf=!1,Tf=V=dg()):(Uf=!0,V=Tf):null===V.next?(Uf=!1,V=V.next=dg()):(Uf=!0,V=V.next);return V}function fg(a,b,c,d){for(;Vf;)Vf=!1,Xf=Wf=0,Yf=-1,Zf=0,bg+=1,V=null,c=a(b,d);gg();return c}function hg(){var a=$f;$f=null;return a}function gg(){Sf=Rf=Qf=Pf=null;Vf=!1;Tf=null;bg=0;V=ag=null} +function ig(a,b){return"function"===typeof b?b(a):b}function jg(a,b,c){Pf=cg();V=eg();if(Uf){var d=V.queue;b=d.dispatch;if(null!==ag&&(c=ag.get(d),void 0!==c)){ag.delete(d);d=V.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);V.memoizedState=d;return[d,b]}return[V.memoizedState,b]}a=a===ig?"function"===typeof b?b():b:void 0!==c?c(b):b;V.memoizedState=a;a=V.queue={last:null,dispatch:null};a=a.dispatch=kg.bind(null,Pf,a);return[V.memoizedState,a]} +function lg(a,b){Pf=cg();V=eg();b=void 0===b?null:b;if(null!==V){var c=V.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!Of(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();V.memoizedState=[a,b];return a} +function kg(a,b,c){if(25<=bg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Pf)if(Vf=!0,a={action:c,next:null},null===ag&&(ag=new Map),c=ag.get(b),void 0===c)ag.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function mg(){throw Error("startTransition cannot be called during server rendering.");}function ng(){throw Error("Cannot update optimistic state while rendering.");} +function og(a,b,c){if(void 0!==a)return"p"+a;a=JSON.stringify([b,null,c]);b=ca.createHash("md5");b.update(a);return"k"+b.digest("hex")}function pg(a){var b=Zf;Zf+=1;null===$f&&($f=[]);return Kf($f,a,b)}function qg(){throw Error("Cache cannot be refreshed during server rendering.");}function rg(){} +var tg={readContext:function(a){return a._currentValue},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return pg(a);if(a.$$typeof===$e||a.$$typeof===af)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){cg();return a._currentValue},useMemo:lg,useReducer:jg,useRef:function(a){Pf=cg();V=eg();var b=V.memoizedState;return null===b?(a={current:a},V.memoizedState=a):b},useState:function(a){return jg(ig,a)}, +useInsertionEffect:rg,useLayoutEffect:rg,useCallback:function(a,b){return lg(function(){return a},b)},useImperativeHandle:rg,useEffect:rg,useDebugValue:rg,useDeferredValue:function(a){cg();return a},useTransition:function(){cg();return[!1,mg]},useId:function(){var a=Qf.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Ef(a)-1)).toString(32)+b;var c=sg;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=Wf++;a=":"+c.idPrefix+"R"+a;0<b&& +(a+="H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return qg},useHostTransitionStatus:function(){cg();return Sa},useOptimistic:function(a){cg();return[a,ng]},useFormState:function(a,b,c){cg();var d=Xf++,e=Rf;if("function"===typeof a.$$FORM_ACTION){var f=null,g=Sf;e=e.formState;var h=a.$$IS_SIGNATURE_EQUAL; +if(null!==e&&"function"===typeof h){var l=e[1];h.call(a,e[2],e[3])&&(f=og(c,g,d),l===f&&(Yf=d,b=e[0]))}var n=a.bind(null,b);a=function(r){n(r)};"function"===typeof n.$$FORM_ACTION&&(a.$$FORM_ACTION=function(r){r=n.$$FORM_ACTION(r);void 0!==c&&(c+="",r.action=c);var p=r.data;p&&(null===f&&(f=og(c,g,d)),p.append("$ACTION_KEY",f));return r});return[b,a]}var q=a.bind(null,b);return[b,function(r){q(r)}]}},sg=null,ug={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented."); +}},vg=Ma.ReactCurrentDispatcher,wg=Ma.ReactCurrentCache;function xg(a){console.error(a);return null}function yg(){}var zg=null;function Pe(){if(zg)return zg;var a=Te.getStore();return a?a:null}function Ag(a,b){a.pingedTasks.push(b);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return Bg(a)}))} +function Cg(a,b){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:b,errorDigest:null,resources:{styles:new Set,stylesheets:new Set},trackedContentKeyPath:null,trackedFallbackNode:null}} +function Dg(a,b,c,d,e,f,g,h,l,n,q,r){a.allPendingTasks++;null===e?a.pendingRootTasks++:e.pendingTasks++;var p={replay:null,node:c,childIndex:d,ping:function(){return Ag(a,p)},blockedBoundary:e,blockedSegment:f,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:q,treeContext:r,thenableState:b};g.add(p);return p} +function Eg(a,b,c,d,e,f,g,h,l,n,q,r){a.allPendingTasks++;null===f?a.pendingRootTasks++:f.pendingTasks++;c.pendingTasks++;var p={replay:c,node:d,childIndex:e,ping:function(){return Ag(a,p)},blockedBoundary:f,blockedSegment:null,abortSet:g,keyPath:h,formatContext:l,legacyContext:n,context:q,treeContext:r,thenableState:b};g.add(p);return p}function Fg(a,b,c,d,e,f){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],parentFormatContext:d,boundary:c,lastPushedText:e,textEmbedded:f}} +function W(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function Gg(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function Hg(a,b,c,d,e){var f=d.render(),g=e.childContextTypes;if(null!==g&&void 0!==g){c=b.legacyContext;if("function"!==typeof d.getChildContext)e=c;else{d=d.getChildContext();for(var h in d)if(!(h in g))throw Error((qf(e)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');e=y({},c,d)}b.legacyContext=e;X(a,b,null,f,-1);b.legacyContext=c}else e=b.keyPath,b.keyPath=c,X(a,b,null,f,-1),b.keyPath=e} +function Ig(a,b,c,d,e,f,g){var h=!1;if(0!==f&&null!==a.formState){var l=b.blockedSegment;if(null!==l){h=!0;l=l.chunks;for(var n=0;n<f;n++)n===g?l.push(fc):l.push(gc)}}f=b.keyPath;b.keyPath=c;e?(c=b.treeContext,b.treeContext=Df(c,1,0),Jg(a,b,d,-1),b.treeContext=c):h?Jg(a,b,d,-1):X(a,b,null,d,-1);b.keyPath=f}function Kg(a,b){if(a&&a.defaultProps){b=y({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Lg(a,b,c,d,e,f,g){if("function"===typeof e)if(e.prototype&&e.prototype.isReactComponent){d=sf(e,b.legacyContext);var h=e.contextType;h=new e(f,"object"===typeof h&&null!==h?h._currentValue:d);Bf(h,e,f,d);Hg(a,b,c,h,e)}else{h=sf(e,b.legacyContext);Pf={};Qf=b;Rf=a;Sf=c;Xf=Wf=0;Yf=-1;Zf=0;$f=d;d=e(f,h);d=fg(e,f,d,h);g=0!==Wf;var l=Xf,n=Yf;"object"===typeof d&&null!==d&&"function"===typeof d.render&&void 0===d.$$typeof?(Bf(d,e,f,h),Hg(a,b,c,d,e)):Ig(a,b,c,d,g,l,n)}else if("string"===typeof e)if(d= +b.blockedSegment,null===d)d=f.children,h=b.formatContext,g=b.keyPath,b.formatContext=Lb(h,e,f),b.keyPath=c,Jg(a,b,d,-1),b.formatContext=h,b.keyPath=g;else{g=Ac(d.chunks,e,f,a.resumableState,a.renderState,b.formatContext,d.lastPushedText);d.lastPushedText=!1;h=b.formatContext;l=b.keyPath;b.formatContext=Lb(h,e,f);b.keyPath=c;Jg(a,b,g,-1);b.formatContext=h;b.keyPath=l;a:{b=d.chunks;a=a.resumableState;switch(e){case "title":case "style":case "script":case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break a; +case "body":if(1>=h.insertionMode){a.hasBody=!0;break a}break;case "html":if(0===h.insertionMode){a.hasHtml=!0;break a}}b.push(sc,e,tc)}d.lastPushedText=!1}else{switch(e){case mf:case kf:case Xe:case Ye:case We:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case lf:"hidden"!==f.mode&&(e=b.keyPath,b.keyPath=c,X(a,b,null,f.children,-1),b.keyPath=e);return;case ff:e=b.keyPath;b.keyPath=c;X(a,b,null,f.children,-1);b.keyPath=e;return;case jf:throw Error("ReactDOMServer does not yet support scope components."); +case cf:a:if(null!==b.replay){e=b.keyPath;b.keyPath=c;c=f.children;try{Jg(a,b,c,-1)}finally{b.keyPath=e}}else{n=b.keyPath;e=b.blockedBoundary;var q=b.blockedSegment;d=f.fallback;var r=f.children;f=new Set;g=Cg(a,f);null!==a.trackedPostpones&&(g.trackedContentKeyPath=c);l=Fg(a,q.chunks.length,g,b.formatContext,!1,!1);q.children.push(l);q.lastPushedText=!1;var p=Fg(a,0,null,b.formatContext,!1,!1);p.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=p;a.renderState.boundaryResources=g.resources;b.keyPath= +c;try{if(Jg(a,b,r,-1),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Mb),p.status=1,Mg(g,p),0===g.pendingTasks&&0===g.status){g.status=1;break a}}catch(v){p.status=4,g.status=4,h=W(a,v),g.errorDigest=h}finally{a.renderState.boundaryResources=e?e.resources:null,b.blockedBoundary=e,b.blockedSegment=q,b.keyPath=n}h=[c[0],"Suspense Fallback",c[2]];n=a.trackedPostpones;null!==n&&(q=[h[1],h[2],[],null],n.workingMap.set(h,q),5===g.status?n.workingMap.get(c)[4]=q:g.trackedFallbackNode=q);b=Dg(a,null,d,-1, +e,l,f,h,b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof e&&null!==e)switch(e.$$typeof){case bf:e=e.render;Pf={};Qf=b;Rf=a;Sf=c;Xf=Wf=0;Yf=-1;Zf=0;$f=d;d=e(f,g);f=fg(e,f,d,g);Ig(a,b,c,f,0!==Wf,Xf,Yf);return;case gf:e=e.type;f=Kg(e,f);Lg(a,b,c,d,e,f,g);return;case Ze:h=f.children;d=b.keyPath;e=e._context;f=f.value;g=e._currentValue;e._currentValue=f;l=tf;tf=f={parent:l,depth:null===l?0:l.depth+1,context:e,parentValue:g,value:f};b.context=f; +b.keyPath=c;X(a,b,null,h,-1);a=tf;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===of?a.context._defaultValue:c;a=tf=a.parent;b.context=a;b.keyPath=d;return;case $e:f=f.children;f=f(e._currentValue);e=b.keyPath;b.keyPath=c;X(a,b,null,f,-1);b.keyPath=e;return;case hf:h=e._init;e=h(e._payload);f=Kg(e,f);Lg(a,b,c,d,e,f,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+ +((null==e?e:typeof e)+"."));}}function Ng(a,b,c,d,e){var f=b.replay,g=b.blockedBoundary,h=Fg(a,0,null,b.formatContext,!1,!1);h.id=c;h.parentFlushed=!0;try{b.replay=null,b.blockedSegment=h,Jg(a,b,d,e),h.status=1,null===g?a.completedRootSegment=h:(Mg(g,h),g.parentFlushed&&a.partialBoundaries.push(g))}finally{b.replay=f,b.blockedSegment=null}} +function X(a,b,c,d,e){if(null!==b.replay&&"number"===typeof b.replay.slots)Ng(a,b,b.replay.slots,d,e);else{b.node=d;b.childIndex=e;if("object"===typeof d&&null!==d){switch(d.$$typeof){case Ue:var f=d.type,g=d.key,h=d.props,l=d.ref,n=qf(f),q=null==g?-1===e?0:e:g;g=[b.keyPath,n,q];if(null!==b.replay)a:{var r=b.replay;e=r.nodes;for(d=0;d<e.length;d++){var p=e[d];if(q===p[1]){if(4===p.length){if(null!==n&&n!==p[0])throw Error("Expected the resume to render <"+p[0]+"> in this slot but instead it rendered <"+ +n+">. The tree doesn't match so React will fallback to client rendering.");n=p[2];p=p[3];q=b.node;b.replay={nodes:n,slots:p,pendingTasks:1};try{Lg(a,b,g,c,f,h,l);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(H){if("object"===typeof H&&null!==H&&(H===If||"function"===typeof H.then))throw b.node===q&&(b.replay=r),H;b.replay.pendingTasks--; +g=a;a=b.blockedBoundary;c=H;h=W(g,c);Og(g,a,n,p,c,h)}b.replay=r}else{if(f!==cf)throw Error("Expected the resume to render <Suspense> in this slot but instead it rendered <"+(qf(f)||"Unknown")+">. The tree doesn't match so React will fallback to client rendering.");b:{r=void 0;c=p[5];f=p[2];l=p[3];n=null===p[4]?[]:p[4][2];p=null===p[4]?null:p[4][3];q=b.keyPath;var v=b.replay,E=b.blockedBoundary,Y=h.children;h=h.fallback;var t=new Set,B=Cg(a,t);B.parentFlushed=!0;B.rootSegmentID=c;b.blockedBoundary= +B;b.replay={nodes:f,slots:l,pendingTasks:1};a.renderState.boundaryResources=B.resources;try{Jg(a,b,Y,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--;if(0===B.pendingTasks&&0===B.status){B.status=1;a.completedBoundaries.push(B);break b}}catch(H){B.status=4,r=W(a,H),B.errorDigest=r,b.replay.pendingTasks--,a.clientRenderedBoundaries.push(B)}finally{a.renderState.boundaryResources= +E?E.resources:null,b.blockedBoundary=E,b.replay=v,b.keyPath=q}b=Eg(a,null,{nodes:n,slots:p,pendingTasks:0},h,-1,E,t,[g[0],"Suspense Fallback",g[2]],b.formatContext,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}}e.splice(d,1);break a}}}else Lg(a,b,g,c,f,h,l);return;case Ve:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case hf:h=d._init;d=h(d._payload);X(a,b,null,d,e);return}if(La(d)){Pg(a, +b,d,e);return}null===d||"object"!==typeof d?h=null:(h=pf&&d[pf]||d["@@iterator"],h="function"===typeof h?h:null);if(h&&(h=h.call(d))){d=h.next();if(!d.done){g=[];do g.push(d.value),d=h.next();while(!d.done);Pg(a,b,g,e)}return}if("function"===typeof d.then)return X(a,b,null,pg(d),e);if(d.$$typeof===$e||d.$$typeof===af)return X(a,b,null,d._currentValue,e);e=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(d).join(", ")+ +"}":e)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(e=b.blockedSegment,null!==e&&(e.lastPushedText=Nb(e.chunks,d,a.renderState,e.lastPushedText))):"number"===typeof d&&(e=b.blockedSegment,null!==e&&(e.lastPushedText=Nb(e.chunks,""+d,a.renderState,e.lastPushedText)))}} +function Pg(a,b,c,d){var e=b.keyPath;if(-1!==d&&(b.keyPath=[b.keyPath,"Fragment",d],null!==b.replay)){for(var f=b.replay,g=f.nodes,h=0;h<g.length;h++){var l=g[h];if(l[1]===d){d=l[2];l=l[3];b.replay={nodes:d,slots:l,pendingTasks:1};try{Pg(a,b,c,-1);if(1===b.replay.pendingTasks&&0<b.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.");b.replay.pendingTasks--}catch(r){if("object"===typeof r&& +null!==r&&(r===If||"function"===typeof r.then))throw r;b.replay.pendingTasks--;c=a;var n=b.blockedBoundary,q=r;a=W(c,q);Og(c,n,d,l,q,a)}b.replay=f;g.splice(h,1);break}}b.keyPath=e;return}f=b.treeContext;g=c.length;if(null!==b.replay&&(h=b.replay.slots,null!==h&&"object"===typeof h)){for(d=0;d<g;d++)l=c[d],b.treeContext=Df(f,g,d),n=h[d],"number"===typeof n?(Ng(a,b,n,l,d),delete h[d]):Jg(a,b,l,d);b.treeContext=f;b.keyPath=e;return}for(h=0;h<g;h++)d=c[h],b.treeContext=Df(f,g,h),Jg(a,b,d,h);b.treeContext= +f;b.keyPath=e} +function Jg(a,b,c,d){var e=b.formatContext,f=b.legacyContext,g=b.context,h=b.keyPath,l=b.treeContext,n=b.blockedSegment;if(null===n)try{return X(a,b,null,c,d)}catch(p){if(gg(),c=p===If?Mf():p,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=hg();a=Eg(a,d,b.replay,b.node,b.childIndex,b.blockedBoundary,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;zf(g);return}}else{var q= +n.children.length,r=n.chunks.length;try{return X(a,b,null,c,d)}catch(p){if(gg(),n.children.length=q,n.chunks.length=r,c=p===If?Mf():p,"object"===typeof c&&null!==c&&"function"===typeof c.then){d=hg();n=b.blockedSegment;q=Fg(a,n.chunks.length,null,b.formatContext,n.lastPushedText,!0);n.children.push(q);n.lastPushedText=!1;a=Dg(a,d,b.node,b.childIndex,b.blockedBoundary,q,b.abortSet,b.keyPath,b.formatContext,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.formatContext=e;b.legacyContext= +f;b.context=g;b.keyPath=h;b.treeContext=l;zf(g);return}}}b.formatContext=e;b.legacyContext=f;b.context=g;b.keyPath=h;b.treeContext=l;zf(g);throw c;}function Qg(a){var b=a.blockedBoundary;a=a.blockedSegment;null!==a&&(a.status=3,Rg(this,b,a))} +function Og(a,b,c,d,e,f){for(var g=0;g<c.length;g++){var h=c[g];if(4===h.length)Og(a,b,h[2],h[3],e,f);else{h=h[5];var l=a,n=f,q=Cg(l,new Set);q.parentFlushed=!0;q.rootSegmentID=h;q.status=4;q.errorDigest=n;q.parentFlushed&&l.clientRenderedBoundaries.push(q)}}c.length=0;if(null!==d){if(null===b)throw Error("We should not have any resumable nodes in the shell. This is a bug in React.");4!==b.status&&(b.status=4,b.errorDigest=f,b.parentFlushed&&a.clientRenderedBoundaries.push(b));if("object"===typeof d)for(var r in d)delete d[r]}} +function Sg(a,b,c){var d=a.blockedBoundary,e=a.blockedSegment;null!==e&&(e.status=3);if(null===d){if(1!==b.status&&2!==b.status){a=a.replay;if(null===a){W(b,c);Gg(b,c);return}a.pendingTasks--;0===a.pendingTasks&&0<a.nodes.length&&(d=W(b,c),Og(b,null,a.nodes,a.slots,c,d));b.pendingRootTasks--;0===b.pendingRootTasks&&(b.onShellError=yg,a=b.onShellReady,a())}}else d.pendingTasks--,4!==d.status&&(d.status=4,d.errorDigest=W(b,c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(f){return Sg(f, +b,c)}),d.fallbackAbortableTasks.clear();b.allPendingTasks--;0===b.allPendingTasks&&(a=b.onAllReady,a())}function Mg(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&Mg(a,c)}else a.completedSegments.push(b)} +function Rg(a,b,c){if(null===b){if(null!==c&&c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=yg,b=a.onShellReady,b())}else b.pendingTasks--,4!==b.status&&(0===b.pendingTasks?(0===b.status&&(b.status=1),null!==c&&c.parentFlushed&&1===c.status&&Mg(b,c),b.parentFlushed&&a.completedBoundaries.push(b),1===b.status&&(b.fallbackAbortableTasks.forEach(Qg, +a),b.fallbackAbortableTasks.clear())):null!==c&&c.parentFlushed&&1===c.status&&(Mg(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} +function Bg(a){if(2!==a.status){var b=tf,c=vg.current;vg.current=tg;var d=wg.current;wg.current=ug;var e=zg;zg=a;var f=sg;sg=a.resumableState;try{var g=a.pingedTasks,h;for(h=0;h<g.length;h++){var l=g[h],n=a,q=l.blockedBoundary;n.renderState.boundaryResources=q?q.resources:null;var r=l.blockedSegment;if(null===r){var p=n;if(0!==l.replay.pendingTasks){zf(l.context);try{var v=l.thenableState;l.thenableState=null;X(p,l,v,l.node,-1);if(1===l.replay.pendingTasks&&0<l.replay.nodes.length)throw Error("Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."); +l.replay.pendingTasks--;l.abortSet.delete(l);Rg(p,l.blockedBoundary,null)}catch(J){gg();var E=J===If?Mf():J;if("object"===typeof E&&null!==E&&"function"===typeof E.then){var Y=l.ping;E.then(Y,Y);l.thenableState=hg()}else{l.replay.pendingTasks--;l.abortSet.delete(l);n=void 0;var t=p,B=l.blockedBoundary,H=E,ja=l.replay.nodes,D=l.replay.slots;n=W(t,H);Og(t,B,ja,D,H,n);p.pendingRootTasks--;if(0===p.pendingRootTasks){p.onShellError=yg;var U=p.onShellReady;U()}p.allPendingTasks--;if(0===p.allPendingTasks){var F= +p.onAllReady;F()}}}finally{p.renderState.boundaryResources=null}}}else if(p=void 0,t=r,0===t.status){zf(l.context);var da=t.children.length,ka=t.chunks.length;try{var pa=l.thenableState;l.thenableState=null;X(n,l,pa,l.node,l.childIndex);t.lastPushedText&&t.textEmbedded&&t.chunks.push(Mb);l.abortSet.delete(l);t.status=1;Rg(n,l.blockedBoundary,t)}catch(J){gg();t.children.length=da;t.chunks.length=ka;var S=J===If?Mf():J;if("object"===typeof S&&null!==S&&"function"===typeof S.then){var Z=l.ping;S.then(Z, +Z);l.thenableState=hg()}else{l.abortSet.delete(l);t.status=4;var I=l.blockedBoundary;p=W(n,S);null===I?Gg(n,S):(I.pendingTasks--,4!==I.status&&(I.status=4,I.errorDigest=p,I.parentFlushed&&n.clientRenderedBoundaries.push(I)));n.allPendingTasks--;if(0===n.allPendingTasks){var la=n.onAllReady;la()}}}finally{n.renderState.boundaryResources=null}}}g.splice(0,h);null!==a.destination&&Tg(a,a.destination)}catch(J){W(a,J),Gg(a,J)}finally{sg=f,vg.current=c,wg.current=d,c===tg&&zf(b),zg=e}}} +function Ug(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:c.id=a.nextSegmentId++;case 5:var d=c.id;c.lastPushedText=!1;c.textEmbedded=!1;a=a.renderState;u(b,Cc);u(b,a.placeholderPrefix);a=d.toString(16);u(b,a);return w(b,Dc);case 1:c.status=2;var e=!0;d=c.chunks;var f=0;c=c.children;for(var g=0;g<c.length;g++){for(e=c[g];f<e.index;f++)u(b,d[f]);e=Vg(a,b,e)}for(;f<d.length-1;f++)u(b,d[f]);f<d.length&&(e=w(b,d[f]));return e;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."); }} -function Gg(a,b,c){var d=c.boundary;if(null===d)return Fg(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,w(b,zc),v(b,Bc),d&&(v(b,Dc),v(b,A(d)),v(b,Cc)),w(b,Ec),Fg(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Fc(b,a.renderState,d.rootSegmentID),Fg(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Fc(b,a.renderState,d.rootSegmentID),Fg(a,b, -c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Ie,e),c.stylesheets.forEach(Je,e));w(b,wc);d=d.completedSegments;if(1!==d.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");Gg(a,b,d[0])}return w(b,Ac)}function Hg(a,b,c){Ad(b,a.renderState,c.parentFormatContext,c.id);Gg(a,b,c);return Bd(b,c.parentFormatContext)} -function Ig(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Jg(a,b,c,d[e]);d.length=0;qe(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(v(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,v(b,2048<Kd.length?Kd.slice():Kd)):0===(d.instructions&8)?(d.instructions|=8,v(b,Ld)):v(b,Md):0===(d.instructions&2)?(d.instructions|= -2,v(b,Id)):v(b,Jd)):f?v(b,Sd):v(b,Rd);d=e.toString(16);v(b,a.boundaryPrefix);v(b,d);g?v(b,Nd):v(b,Td);v(b,a.segmentPrefix);v(b,d);f?g?(v(b,Od),Ee(b,c)):(v(b,Ud),Fe(b,c)):g&&v(b,Pd);d=g?w(b,Qd):w(b,ib);return tc(b,a)&&d} -function Jg(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Hg(a,b,d)}if(e===c.rootSegmentID)return Hg(a,b,d);Hg(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(v(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,v(b,Cd)):v(b,Dd)):v(b,Gd);v(b,a.segmentPrefix);e=e.toString(16);v(b,e);d?v(b,Ed):v(b,Hd);v(b,a.placeholderPrefix);v(b, -e);b=d?w(b,Fd):w(b,ib);return b} -function Eg(a,b){k=new Uint8Array(2048);m=0;ja=!0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,l=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(l))}var n=e.htmlChunks,q=e.headChunks;f=0;if(n){for(f=0;f<n.length;f++)v(b,n[f]);if(q)for(f=0;f<q.length;f++)v(b,q[f]);else v(b,R("head")), -v(b,O)}else if(q)for(f=0;f<q.length;f++)v(b,q[f]);var t=e.charsetChunks;for(f=0;f<t.length;f++)v(b,t[f]);t.length=0;e.preconnects.forEach(S,b);e.preconnects.clear();var p=e.preconnectChunks;for(f=0;f<p.length;f++)v(b,p[f]);p.length=0;e.fontPreloads.forEach(S,b);e.fontPreloads.clear();e.highImagePreloads.forEach(S,b);e.highImagePreloads.clear();e.styles.forEach(xe,b);var u=e.importMapChunks;for(f=0;f<u.length;f++)v(b,u[f]);u.length=0;e.bootstrapScripts.forEach(S,b);e.scripts.forEach(S,b);e.scripts.clear(); -e.bulkPreloads.forEach(S,b);e.bulkPreloads.clear();var E=e.preloadChunks;for(f=0;f<E.length;f++)v(b,E[f]);E.length=0;var K=e.hoistableChunks;for(f=0;f<K.length;f++)v(b,K[f]);K.length=0;n&&null===q&&(v(b,bc),v(b,"head"),v(b,cc));Gg(a,b,d);a.completedRootSegment=null;tc(b,a.renderState)}else return;var r=a.renderState;d=0;r.preconnects.forEach(S,b);r.preconnects.clear();var C=r.preconnectChunks;for(d=0;d<C.length;d++)v(b,C[d]);C.length=0;r.fontPreloads.forEach(S,b);r.fontPreloads.clear();r.highImagePreloads.forEach(S, -b);r.highImagePreloads.clear();r.styles.forEach(ze,b);r.scripts.forEach(S,b);r.scripts.clear();r.bulkPreloads.forEach(S,b);r.bulkPreloads.clear();var H=r.preloadChunks;for(d=0;d<H.length;d++)v(b,H[d]);H.length=0;var ka=r.hoistableChunks;for(d=0;d<ka.length;d++)v(b,ka[d]);ka.length=0;var D=a.clientRenderedBoundaries;for(c=0;c<D.length;c++){var T=D[c];r=b;var F=a.resumableState,ca=a.renderState,la=T.rootSegmentID,U=T.errorDigest,da=T.errorMessage,L=T.errorComponentStack,X=0===F.streamingFormat;X?(v(r, -ca.startInlineScript),0===(F.instructions&4)?(F.instructions|=4,v(r,Vd)):v(r,Wd)):v(r,$d);v(r,ca.boundaryPrefix);v(r,la.toString(16));X&&v(r,Xd);if(U||da||L)X?(v(r,Yd),v(r,ee(U||""))):(v(r,ae),v(r,A(U||"")));if(da||L)X?(v(r,Yd),v(r,ee(da||""))):(v(r,be),v(r,A(da||"")));L&&(X?(v(r,Yd),v(r,ee(L))):(v(r,ce),v(r,A(L))));if(X?!w(r,Zd):!w(r,ib)){a.destination=null;c++;D.splice(0,c);return}}D.splice(0,c);var M=a.completedBoundaries;for(c=0;c<M.length;c++)if(!Ig(a,b,M[c])){a.destination=null;c++;M.splice(0, -c);return}M.splice(0,c);ta(b);k=new Uint8Array(2048);m=0;ja=!0;var oa=a.partialBoundaries;for(c=0;c<oa.length;c++){var pa=oa[c];a:{D=a;T=b;D.renderState.boundaryResources=pa.resources;var qa=pa.completedSegments;for(F=0;F<qa.length;F++)if(!Jg(D,T,pa,qa[F])){F++;qa.splice(0,F);var La=!1;break a}qa.splice(0,F);La=qe(T,pa.resources,D.renderState)}if(!La){a.destination=null;c++;oa.splice(0,c);return}}oa.splice(0,c);var ea=a.completedBoundaries;for(c=0;c<ea.length;c++)if(!Ig(a,b,ea[c])){a.destination= -null;c++;ea.splice(0,c);return}ea.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,a=a.resumableState,a.hasBody&&(v(b,bc),v(b,"body"),v(b,cc)),a.hasHtml&&(v(b,bc),v(b,"html"),v(b,cc)),ta(b),ia(b),b.end()):(ta(b),ia(b))}}function Kg(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return Ke.run(a,mg,a)})} -function He(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Eg(a,b)})}}function Lg(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Eg(a,b)}catch(c){W(a,c),rg(a,c)}}} -function Mg(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return Dg(e,a,d)});c.clear()}null!==a.destination&&Eg(a,a.destination)}catch(e){W(a,e),rg(a,e)}}function Ng(a,b){return function(){return Lg(b,a)}}function Og(a,b){return function(){a.destination=null;Mg(a,Error(b))}} -function Pg(a,b){var c=b?b.identifierPrefix:void 0;var d=0;void 0!==(b?b.unstable_externalRuntimeSrc:void 0)&&(d=1);c={idPrefix:void 0===c?"":c,nextFormID:0,streamingFormat:d,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}};var e=b?b.nonce:void 0,f=b?b.bootstrapScriptContent:void 0,g=b?b.bootstrapScripts:void 0, -h=b?b.bootstrapModules:void 0,l=b?b.unstable_externalRuntimeSrc:void 0;d=b?b.importMap:void 0;var n=void 0===e?jb:x('<script nonce="'+A(e)+'">'),q=c.idPrefix,t=[],p=null;void 0!==f&&t.push(n,(""+f).replace(rb,sb),kb);void 0!==l&&("string"===typeof l?(p={src:l,chunks:[]},mc(p.chunks,{src:l,async:!0,integrity:void 0,nonce:e})):(p={src:l.src,chunks:[]},mc(p.chunks,{src:l.src,async:!0,integrity:l.integrity,nonce:e})));f=[];void 0!==d&&(f.push(tb),f.push((""+JSON.stringify(d)).replace(rb,sb)),f.push(ub)); -d={placeholderPrefix:x(q+"P:"),segmentPrefix:x(q+"S:"),boundaryPrefix:x(q+"B:"),startInlineScript:n,htmlChunks:null,headChunks:null,externalRuntimeScript:p,bootstrapChunks:t,charsetChunks:[],preconnectChunks:[],importMapChunks:f,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:e, -boundaryResources:null,stylesToHoist:!1};if(void 0!==g)for(n=0;n<g.length;n++){var u=g[n];f=p=void 0;l={rel:"preload",as:"script",fetchPriority:"low",nonce:e};"string"===typeof u?l.href=q=u:(l.href=q=u.src,l.integrity=f="string"===typeof u.integrity?u.integrity:void 0,l.crossOrigin=p="string"===typeof u||null==u.crossOrigin?void 0:"use-credentials"===u.crossOrigin?"use-credentials":"");u=c;var E=q;u.scriptResources[E]=null;u.moduleScriptResources[E]=null;u=[];Q(u,l);d.bootstrapScripts.add(u);t.push(lb, -A(q));e&&t.push(nb,A(e));"string"===typeof f&&t.push(ob,A(f));"string"===typeof p&&t.push(pb,A(p));t.push(qb)}if(void 0!==h)for(g=0;g<h.length;g++)l=h[g],p=q=void 0,f={rel:"modulepreload",fetchPriority:"low",nonce:e},"string"===typeof l?f.href=n=l:(f.href=n=l.src,f.integrity=p="string"===typeof l.integrity?l.integrity:void 0,f.crossOrigin=q="string"===typeof l||null==l.crossOrigin?void 0:"use-credentials"===l.crossOrigin?"use-credentials":""),l=c,u=n,l.scriptResources[u]=null,l.moduleScriptResources[u]= -null,l=[],Q(l,f),d.bootstrapScripts.add(l),t.push(mb,A(n)),e&&t.push(nb,A(e)),"string"===typeof p&&t.push(ob,A(p)),"string"===typeof q&&t.push(pb,A(q)),t.push(qb);e=b?b.namespaceURI:void 0;e=B("http://www.w3.org/2000/svg"===e?3:"http://www.w3.org/1998/Math/MathML"===e?4:0,null,0);t=b?b.progressiveChunkSize:void 0;g=b?b.onError:void 0;n=b?b.onAllReady:void 0;q=b?b.onShellReady:void 0;p=b?b.onShellError:void 0;f=b?b.onPostpone:void 0;l=b?b.experimental_formState:void 0;Ka.current=Wa;b=[];h=new Set; -c={destination:null,flushScheduled:!1,resumableState:c,renderState:d,rootFormatContext:e,progressiveChunkSize:void 0===t?12800:t,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:h,pingedTasks:b,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===g?ig:g,onPostpone:void 0===f?jg:f,onAllReady:void 0===n?jg:n,onShellReady:void 0===q?jg:q,onShellError:void 0===p?jg:p,onFatalError:jg, -formState:void 0===l?null:l};d=qg(c,0,null,e,!1,!1);d.parentFlushed=!0;a=og(c,null,a,-1,null,d,h,null,e,ff,null,rf);b.push(a);return c} -exports.renderToPipeableStream=function(a,b){var c=Pg(a,b),d=!1;Kg(c);return{pipe:function(e){if(d)throw Error("React currently only supports piping to one writable stream.");d=!0;Lg(c,e);e.on("drain",Ng(e,c));e.on("error",Og(c,"The destination stream errored while writing data."));e.on("close",Og(c,"The destination stream closed early."));return e},abort:function(e){Mg(c,e)}}};exports.version="18.3.0-canary-d900fadbf-20230929"; +function Vg(a,b,c){var d=c.boundary;if(null===d)return Ug(a,b,c);d.parentFlushed=!0;if(4===d.status)d=d.errorDigest,w(b,Hc),u(b,Jc),d&&(u(b,Lc),u(b,A(d)),u(b,Kc)),w(b,Mc),Ug(a,b,c);else if(1!==d.status)0===d.status&&(d.rootSegmentID=a.nextSegmentId++),0<d.completedSegments.length&&a.partialBoundaries.push(d),Nc(b,a.renderState,d.rootSegmentID),Ug(a,b,c);else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Nc(b,a.renderState,d.rootSegmentID),Ug(a,b, +c);else{c=d.resources;var e=a.renderState.boundaryResources;e&&(c.styles.forEach(Re,e),c.stylesheets.forEach(Se,e));w(b,Ec);d=d.completedSegments;if(1!==d.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");Vg(a,b,d[0])}return w(b,Ic)}function Wg(a,b,c){Id(b,a.renderState,c.parentFormatContext,c.id);Vg(a,b,c);return Jd(b,c.parentFormatContext)} +function Xg(a,b,c){a.renderState.boundaryResources=c.resources;for(var d=c.completedSegments,e=0;e<d.length;e++)Yg(a,b,c,d[e]);d.length=0;ye(b,c.resources,a.renderState);d=a.resumableState;a=a.renderState;e=c.rootSegmentID;c=c.resources;var f=a.stylesToHoist;a.stylesToHoist=!1;var g=0===d.streamingFormat;g?(u(b,a.startInlineScript),f?0===(d.instructions&2)?(d.instructions|=10,u(b,2048<Sd.length?Sd.slice():Sd)):0===(d.instructions&8)?(d.instructions|=8,u(b,Td)):u(b,Ud):0===(d.instructions&2)?(d.instructions|= +2,u(b,Qd)):u(b,Rd)):f?u(b,$d):u(b,Zd);d=e.toString(16);u(b,a.boundaryPrefix);u(b,d);g?u(b,Vd):u(b,ae);u(b,a.segmentPrefix);u(b,d);f?g?(u(b,Wd),Ne(b,c)):(u(b,be),Oe(b,c)):g&&u(b,Xd);d=g?w(b,Yd):w(b,qb);return Bc(b,a)&&d} +function Yg(a,b,c,d){if(2===d.status)return!0;var e=d.id;if(-1===e){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Wg(a,b,d)}if(e===c.rootSegmentID)return Wg(a,b,d);Wg(a,b,d);c=a.resumableState;a=a.renderState;(d=0===c.streamingFormat)?(u(b,a.startInlineScript),0===(c.instructions&1)?(c.instructions|=1,u(b,Kd)):u(b,Ld)):u(b,Od);u(b,a.segmentPrefix);e=e.toString(16);u(b,e);d?u(b,Md):u(b,Pd);u(b,a.placeholderPrefix);u(b, +e);b=d?w(b,Nd):w(b,qb);return b} +function Tg(a,b){k=new Uint8Array(2048);m=0;oa=!0;try{var c,d=a.completedRootSegment;if(null!==d)if(0===a.pendingRootTasks){var e=a.renderState;if((0!==a.allPendingTasks||null!==a.trackedPostpones)&&e.externalRuntimeScript){var f=e.externalRuntimeScript,g=a.resumableState,h=f.src,l=f.chunks;g.scriptResources.hasOwnProperty(h)||(g.scriptResources[h]=null,e.scripts.add(l))}var n=e.htmlChunks,q=e.headChunks;f=0;if(n){for(f=0;f<n.length;f++)u(b,n[f]);if(q)for(f=0;f<q.length;f++)u(b,q[f]);else u(b,T("head")), +u(b,Q)}else if(q)for(f=0;f<q.length;f++)u(b,q[f]);var r=e.charsetChunks;for(f=0;f<r.length;f++)u(b,r[f]);r.length=0;e.preconnects.forEach(ze,b);e.preconnects.clear();var p=e.preconnectChunks;for(f=0;f<p.length;f++)u(b,p[f]);p.length=0;e.fontPreloads.forEach(ze,b);e.fontPreloads.clear();e.highImagePreloads.forEach(ze,b);e.highImagePreloads.clear();e.styles.forEach(Ge,b);var v=e.importMapChunks;for(f=0;f<v.length;f++)u(b,v[f]);v.length=0;e.bootstrapScripts.forEach(ze,b);e.scripts.forEach(ze,b);e.scripts.clear(); +e.bulkPreloads.forEach(ze,b);e.bulkPreloads.clear();var E=e.preloadChunks;for(f=0;f<E.length;f++)u(b,E[f]);E.length=0;var Y=e.hoistableChunks;for(f=0;f<Y.length;f++)u(b,Y[f]);Y.length=0;n&&null===q&&(u(b,sc),u(b,"head"),u(b,tc));Vg(a,b,d);a.completedRootSegment=null;Bc(b,a.renderState)}else return;var t=a.renderState;d=0;t.preconnects.forEach(ze,b);t.preconnects.clear();var B=t.preconnectChunks;for(d=0;d<B.length;d++)u(b,B[d]);B.length=0;t.fontPreloads.forEach(ze,b);t.fontPreloads.clear();t.highImagePreloads.forEach(ze, +b);t.highImagePreloads.clear();t.styles.forEach(Ie,b);t.scripts.forEach(ze,b);t.scripts.clear();t.bulkPreloads.forEach(ze,b);t.bulkPreloads.clear();var H=t.preloadChunks;for(d=0;d<H.length;d++)u(b,H[d]);H.length=0;var ja=t.hoistableChunks;for(d=0;d<ja.length;d++)u(b,ja[d]);ja.length=0;var D=a.clientRenderedBoundaries;for(c=0;c<D.length;c++){var U=D[c];t=b;var F=a.resumableState,da=a.renderState,ka=U.rootSegmentID,pa=U.errorDigest,S=U.errorMessage,Z=U.errorComponentStack,I=0===F.streamingFormat;I? +(u(t,da.startInlineScript),0===(F.instructions&4)?(F.instructions|=4,u(t,ce)):u(t,de)):u(t,he);u(t,da.boundaryPrefix);u(t,ka.toString(16));I&&u(t,ee);if(pa||S||Z)I?(u(t,fe),u(t,me(pa||""))):(u(t,ie),u(t,A(pa||"")));if(S||Z)I?(u(t,fe),u(t,me(S||""))):(u(t,je),u(t,A(S||"")));Z&&(I?(u(t,fe),u(t,me(Z))):(u(t,ke),u(t,A(Z))));if(I?!w(t,ge):!w(t,qb)){a.destination=null;c++;D.splice(0,c);return}}D.splice(0,c);var la=a.completedBoundaries;for(c=0;c<la.length;c++)if(!Xg(a,b,la[c])){a.destination=null;c++;la.splice(0, +c);return}la.splice(0,c);wa(b);k=new Uint8Array(2048);m=0;oa=!0;var J=a.partialBoundaries;for(c=0;c<J.length;c++){var qa=J[c];a:{D=a;U=b;D.renderState.boundaryResources=qa.resources;var ra=qa.completedSegments;for(F=0;F<ra.length;F++)if(!Yg(D,U,qa,ra[F])){F++;ra.splice(0,F);var Na=!1;break a}ra.splice(0,F);Na=ye(U,qa.resources,D.renderState)}if(!Na){a.destination=null;c++;J.splice(0,c);return}}J.splice(0,c);var ea=a.completedBoundaries;for(c=0;c<ea.length;c++)if(!Xg(a,b,ea[c])){a.destination=null; +c++;ea.splice(0,c);return}ea.splice(0,c)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length?(a.flushScheduled=!1,c=a.resumableState,c.hasBody&&(u(b,sc),u(b,"body"),u(b,tc)),c.hasHtml&&(u(b,sc),u(b,"html"),u(b,tc)),wa(b),na(b),b.end(),a.destination=null):(wa(b),na(b))}}function Zg(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return Te.run(a,Bg,a)})} +function Qe(a){!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(a.flushScheduled=!0,setImmediate(function(){var b=a.destination;b?Tg(a,b):a.flushScheduled=!1}))}function $g(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Tg(a,b)}catch(c){W(a,c),Gg(a,c)}}} +function ah(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):b;c.forEach(function(e){return Sg(e,a,d)});c.clear()}null!==a.destination&&Tg(a,a.destination)}catch(e){W(a,e),Gg(a,e)}}function bh(a,b){return function(){return $g(b,a)}}function ch(a,b){return function(){a.destination=null;ah(a,Error(b))}} +function dh(a,b){var c=b?b.identifierPrefix:void 0;var d=0;void 0!==(b?b.unstable_externalRuntimeSrc:void 0)&&(d=1);c={idPrefix:void 0===c?"":c,nextFormID:0,streamingFormat:d,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}};var e=b?b.nonce:void 0,f=b?b.bootstrapScriptContent:void 0,g=b?b.bootstrapScripts:void 0, +h=b?b.bootstrapModules:void 0,l=b?b.unstable_externalRuntimeSrc:void 0;d=b?b.importMap:void 0;var n=void 0===e?rb:x('<script nonce="'+A(e)+'">'),q=c.idPrefix,r=[],p=null;void 0!==f&&r.push(n,(""+f).replace(zb,Ab),sb);void 0!==l&&("string"===typeof l?(p={src:l,chunks:[]},uc(p.chunks,{src:l,async:!0,integrity:void 0,nonce:e})):(p={src:l.src,chunks:[]},uc(p.chunks,{src:l.src,async:!0,integrity:l.integrity,nonce:e})));f=[];void 0!==d&&(f.push(Jb),f.push((""+JSON.stringify(d)).replace(zb,Ab)),f.push(Kb)); +d={placeholderPrefix:x(q+"P:"),segmentPrefix:x(q+"S:"),boundaryPrefix:x(q+"B:"),startInlineScript:n,htmlChunks:null,headChunks:null,externalRuntimeScript:p,bootstrapChunks:r,charsetChunks:[],preconnectChunks:[],importMapChunks:f,preloadChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:e, +boundaryResources:null,stylesToHoist:!1};if(void 0!==g)for(n=0;n<g.length;n++){var v=g[n];f=p=void 0;l={rel:"preload",as:"script",fetchPriority:"low",nonce:e};"string"===typeof v?l.href=q=v:(l.href=q=v.src,l.integrity=f="string"===typeof v.integrity?v.integrity:void 0,l.crossOrigin=p="string"===typeof v||null==v.crossOrigin?void 0:"use-credentials"===v.crossOrigin?"use-credentials":"");v=c;var E=q;v.scriptResources[E]=null;v.moduleScriptResources[E]=null;v=[];R(v,l);d.bootstrapScripts.add(v);r.push(tb, +A(q));e&&r.push(vb,A(e));"string"===typeof f&&r.push(wb,A(f));"string"===typeof p&&r.push(xb,A(p));r.push(yb)}if(void 0!==h)for(g=0;g<h.length;g++)l=h[g],p=q=void 0,f={rel:"modulepreload",fetchPriority:"low",nonce:e},"string"===typeof l?f.href=n=l:(f.href=n=l.src,f.integrity=p="string"===typeof l.integrity?l.integrity:void 0,f.crossOrigin=q="string"===typeof l||null==l.crossOrigin?void 0:"use-credentials"===l.crossOrigin?"use-credentials":""),l=c,v=n,l.scriptResources[v]=null,l.moduleScriptResources[v]= +null,l=[],R(l,f),d.bootstrapScripts.add(l),r.push(ub,A(n)),e&&r.push(vb,A(e)),"string"===typeof p&&r.push(wb,A(p)),"string"===typeof q&&r.push(xb,A(q)),r.push(yb);e=b?b.namespaceURI:void 0;e=C("http://www.w3.org/2000/svg"===e?3:"http://www.w3.org/1998/Math/MathML"===e?4:0,null,0);r=b?b.progressiveChunkSize:void 0;g=b?b.onError:void 0;n=b?b.onAllReady:void 0;q=b?b.onShellReady:void 0;p=b?b.onShellError:void 0;f=b?b.onPostpone:void 0;l=b?b.formState:void 0;Ta.current=ob;b=[];h=new Set;c={destination:null, +flushScheduled:!1,resumableState:c,renderState:d,rootFormatContext:e,progressiveChunkSize:void 0===r?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:h,pingedTasks:b,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],trackedPostpones:null,onError:void 0===g?xg:g,onPostpone:void 0===f?yg:f,onAllReady:void 0===n?yg:n,onShellReady:void 0===q?yg:q,onShellError:void 0===p?yg:p,onFatalError:yg,formState:void 0=== +l?null:l};d=Fg(c,0,null,e,!1,!1);d.parentFlushed=!0;a=Dg(c,null,a,-1,null,d,h,null,e,rf,null,Cf);b.push(a);return c}exports.renderToPipeableStream=function(a,b){var c=dh(a,b),d=!1;Zg(c);return{pipe:function(e){if(d)throw Error("React currently only supports piping to one writable stream.");d=!0;$g(c,e);e.on("drain",bh(e,c));e.on("error",ch(c,"The destination stream errored while writing data."));e.on("close",ch(c,"The destination stream closed early."));return e},abort:function(e){ah(c,e)}}}; +exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js index c160110408b1b..0eacfa8bff151 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js @@ -111,7 +111,9 @@ var assign = Object.assign; // ----------------------------------------------------------------------------- // TODO: Finish rolling out in www -var enableClientRenderFallbackOnTextMismatch = true; // Not sure if www still uses this. We don't have a replacement but whatever we +var enableClientRenderFallbackOnTextMismatch = true; +var enableFormActions = true; +var enableAsyncActions = true; // Not sure if www still uses this. We don't have a replacement but whatever we // Slated for removal in the future (significant effort) // // These are experiments that didn't work out, and never shipped, but we can't @@ -127,14 +129,12 @@ var enableClientRenderFallbackOnTextMismatch = true; // Not sure if www still us // This will eventually be replaced by the Transition Tracing proposal. var enableSuspenseCallback = false; // Experimental Scope support. -var enableFormActions = false; var enableLazyContextPropagation = false; // FB-only usage. The new API has different semantics. var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber var enableHostSingletons = true; -var enableAsyncActions = false; -var alwaysThrottleRetries = true; // ----------------------------------------------------------------------------- +var alwaysThrottleRetries = true; // Chopping Block // // Planned feature deprecations and breaking changes. Sorted roughly in order of @@ -169,6 +169,49 @@ var enableProfilerCommitHooks = true; // Phase param passed to onRender callback var enableProfilerNestedUpdatePhase = true; // Adds verbose console logging for e.g. state updates, suspense, and work loop +var ReactCurrentDispatcher$3 = ReactSharedInternals.ReactCurrentDispatcher; // Since the "not pending" value is always the same, we can reuse the +// same object across all transitions. + +var sharedNotPendingObject = { + pending: false, + data: null, + method: null, + action: null +}; +var NotPending = Object.freeze(sharedNotPendingObject) ; + +function resolveDispatcher() { + // Copied from react/src/ReactHooks.js. It's the same thing but in a + // different package. + var dispatcher = ReactCurrentDispatcher$3.current; + + { + if (dispatcher === null) { + error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.'); + } + } // Will result in a null access error if accessed outside render phase. We + // intentionally don't throw our own error because this is in a hot path. + // Also helps ensure this is inlined. + + + return dispatcher; +} + +function useFormStatus() { + { + var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] We know this exists because of the feature check above. + + return dispatcher.useHostTransitionStatus(); + } +} +function useFormState(action, initialState, permalink) { + { + var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional + + return dispatcher.useFormState(action, initialState, permalink); + } +} + var valueStack = []; var fiberStack; @@ -243,7 +286,6 @@ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); var REACT_LEGACY_HIDDEN_TYPE = Symbol.for('react.legacy_hidden'); var REACT_CACHE_TYPE = Symbol.for('react.cache'); var REACT_TRACING_MARKER_TYPE = Symbol.for('react.tracing_marker'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; function getIteratorFn(maybeIterable) { @@ -263,6 +305,27 @@ function getIteratorFn(maybeIterable) { var contextStackCursor$1 = createCursor(null); var contextFiberStackCursor = createCursor(null); var rootInstanceStackCursor = createCursor(null); // Represents the nearest host transition provider (in React DOM, a <form />) +// NOTE: Since forms cannot be nested, and this feature is only implemented by +// React DOM, we don't technically need this to be a stack. It could be a single +// module variable instead. + +var hostTransitionProviderCursor = createCursor(null); // TODO: This should initialize to NotPendingTransition, a constant +// imported from the fiber config. However, because of a cycle in the module +// graph, that value isn't defined during this module's initialization. I can't +// think of a way to work around this without moving that value out of the +// fiber config. For now, the "no provider" case is handled when reading, +// inside useHostTransitionStatus. + +var HostTransitionContext = { + $$typeof: REACT_CONTEXT_TYPE, + _currentValue: null, + _currentValue2: null, + _threadCount: 0, + Provider: null, + Consumer: null, + _defaultValue: null, + _globalName: null +}; function requiredContext(c) { { @@ -314,6 +377,15 @@ function getHostContext() { } function pushHostContext(fiber) { + { + var stateHook = fiber.memoizedState; + + if (stateHook !== null) { + // Only provide context if this fiber has been upgraded by a host + // transition. We use the same optimization for regular host context below. + push(hostTransitionProviderCursor, fiber, fiber); + } + } var context = requiredContext(contextStackCursor$1.current); var nextContext = getChildHostContext(context, fiber.type); // Don't push this Fiber's context unless it's unique. @@ -333,6 +405,25 @@ function popHostContext(fiber) { pop(contextStackCursor$1, fiber); pop(contextFiberStackCursor, fiber); } + + { + if (hostTransitionProviderCursor.current === fiber) { + // Do not pop unless this Fiber provided the current context. This is mostly + // a performance optimization, but conveniently it also prevents a potential + // data race where a host provider is upgraded (i.e. memoizedState becomes + // non-null) during a concurrent event. This is a bit of a flaw in the way + // we upgrade host components, but because we're accounting for it here, it + // should be fine. + pop(hostTransitionProviderCursor, fiber); // When popping the transition provider, we reset the context value back + // to `null`. We can do this because you're not allowd to nest forms. If + // we allowed for multiple nested host transition providers, then we'd + // need to reset this to the parent provider's status. + + { + HostTransitionContext._currentValue = null; + } + } + } } var NoFlags$1 = @@ -975,6 +1066,7 @@ var SyncHydrationLane = var SyncLane = /* */ 2; +var SyncLaneIndex = 1; var InputContinuousHydrationLane = /* */ 4; @@ -993,7 +1085,7 @@ var TransitionHydrationLane = 64; var TransitionLanes = /* */ -8388480; +4194176; var TransitionLane1 = /* */ 128; @@ -1039,39 +1131,39 @@ var TransitionLane14 = var TransitionLane15 = /* */ 2097152; -var TransitionLane16 = -/* */ -4194304; var RetryLanes = /* */ -125829120; +62914560; var RetryLane1 = /* */ -8388608; +4194304; var RetryLane2 = /* */ -16777216; +8388608; var RetryLane3 = /* */ -33554432; +16777216; var RetryLane4 = /* */ -67108864; +33554432; var SomeRetryLane = RetryLane1; var SelectiveHydrationLane = /* */ -134217728; +67108864; var NonIdleLanes = /* */ -268435455; +134217727; var IdleHydrationLane = /* */ -268435456; +134217728; var IdleLane = /* */ -536870912; +268435456; var OffscreenLane = /* */ +536870912; +var DeferredLane = +/* */ 1073741824; // Any lane that might schedule an update. This is used to detect infinite // update loops, so it doesn't include hydration lanes or retries. @@ -1131,6 +1223,10 @@ function getLabelForLane(lane) { if (lane & OffscreenLane) { return 'Offscreen'; } + + if (lane & DeferredLane) { + return 'Deferred'; + } } } var NoTimestamp = -1; @@ -1176,7 +1272,6 @@ function getHighestPriorityLanes(lanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return lanes & TransitionLanes; case RetryLane1: @@ -1197,6 +1292,11 @@ function getHighestPriorityLanes(lanes) { case OffscreenLane: return OffscreenLane; + case DeferredLane: + // This shouldn't be reachable because deferred work is always entangled + // with something else. + return NoLanes; + default: { error('Should have found matching lanes. This is a bug in React.'); @@ -1273,12 +1373,17 @@ function getNextLanes(root, wipLanes) { } } - if ((nextLanes & InputContinuousLane) !== NoLanes) { + return nextLanes; +} +function getEntangledLanes(root, renderLanes) { + var entangledLanes = renderLanes; + + if ((entangledLanes & InputContinuousLane) !== NoLanes) { // When updates are sync by default, we entangle continuous priority updates // and default updates, so they render in the same batch. The only reason // they use separate lanes is because continuous updates should interrupt // transitions, but default updates should not. - nextLanes |= pendingLanes & DefaultLane; + entangledLanes |= entangledLanes & DefaultLane; } // Check for entangled lanes and add them to the batch. // // A lane is said to be entangled with another when it's not allowed to render @@ -1303,21 +1408,21 @@ function getNextLanes(root, wipLanes) { // time we apply the entanglement. - var entangledLanes = root.entangledLanes; + var allEntangledLanes = root.entangledLanes; - if (entangledLanes !== NoLanes) { + if (allEntangledLanes !== NoLanes) { var entanglements = root.entanglements; - var lanes = nextLanes & entangledLanes; + var lanes = entangledLanes & allEntangledLanes; while (lanes > 0) { var index = pickArbitraryLaneIndex(lanes); var lane = 1 << index; - nextLanes |= entanglements[index]; + entangledLanes |= entanglements[index]; lanes &= ~lane; } } - return nextLanes; + return entangledLanes; } function computeExpirationTime(lane, currentTime) { @@ -1355,7 +1460,6 @@ function computeExpirationTime(lane, currentTime) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: return currentTime + 5000; case RetryLane1: @@ -1373,6 +1477,7 @@ function computeExpirationTime(lane, currentTime) { case IdleHydrationLane: case IdleLane: case OffscreenLane: + case DeferredLane: // Anything idle priority or lower should never expire. return NoTimestamp; @@ -1395,6 +1500,7 @@ function markStarvedLanesAsExpired(root, currentTime) { var expirationTimes = root.expirationTimes; // Iterate through the pending lanes and check if we've reached their // expiration time. If so, we'll assume the update is being starved and mark // it as expired to force it to finish. + // TODO: We should be able to replace this with upgradePendingLanesToSync // // We exclude retry lanes because those must always be time sliced, in order // to unwrap uncached promises. @@ -1573,7 +1679,7 @@ function markRootUpdated(root, updateLane) { root.pingedLanes = NoLanes; } } -function markRootSuspended$1(root, suspendedLanes) { +function markRootSuspended$1(root, suspendedLanes, spawnedLane) { root.suspendedLanes |= suspendedLanes; root.pingedLanes &= ~suspendedLanes; // The suspended lanes are no longer CPU-bound. Clear their expiration times. @@ -1586,11 +1692,15 @@ function markRootSuspended$1(root, suspendedLanes) { expirationTimes[index] = NoTimestamp; lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, suspendedLanes); + } } function markRootPinged(root, pingedLanes) { root.pingedLanes |= root.suspendedLanes & pingedLanes; } -function markRootFinished(root, remainingLanes) { +function markRootFinished(root, remainingLanes, spawnedLane) { var noLongerPendingLanes = root.pendingLanes & ~remainingLanes; root.pendingLanes = remainingLanes; // Let's try everything again @@ -1630,7 +1740,28 @@ function markRootFinished(root, remainingLanes) { lanes &= ~lane; } + + if (spawnedLane !== NoLane) { + markSpawnedDeferredLane(root, spawnedLane, // This render finished successfully without suspending, so we don't need + // to entangle the spawned task with the parent task. + NoLanes); + } } + +function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { + // This render spawned a deferred task. Mark it as pending. + root.pendingLanes |= spawnedLane; + root.suspendedLanes &= ~spawnedLane; // Entangle the spawned lane with the DeferredLane bit so that we know it + // was the result of another render. This lets us avoid a useDeferredValue + // waterfall — only the first level will defer. + + var spawnedLaneIndex = laneToIndex(spawnedLane); + root.entangledLanes |= spawnedLane; + root.entanglements[spawnedLaneIndex] |= DeferredLane | // If the parent render task suspended, we must also entangle those lanes + // with the spawned task. + entangledLanes; +} + function markRootEntangled(root, entangledLanes) { // In addition to entangling each of the given lanes with each other, we also // have to consider _transitive_ entanglements. For each lane that is already @@ -1660,6 +1791,29 @@ function markRootEntangled(root, entangledLanes) { lanes &= ~lane; } } +function upgradePendingLaneToSync(root, lane) { + // Since we're upgrading the priority of the given lane, there is now pending + // sync work. + root.pendingLanes |= SyncLane; // Entangle the sync lane with the lane we're upgrading. This means SyncLane + // will not be allowed to finish without also finishing the given lane. + + root.entangledLanes |= SyncLane; + root.entanglements[SyncLaneIndex] |= lane; +} +function upgradePendingLanesToSync(root, lanesToUpgrade) { + // Same as upgradePendingLaneToSync but accepts multiple lanes, so it's a + // bit slower. + root.pendingLanes |= SyncLane; + root.entangledLanes |= SyncLane; + var lanes = lanesToUpgrade; + + while (lanes) { + var index = pickArbitraryLaneIndex(lanes); + var lane = 1 << index; + root.entanglements[SyncLaneIndex] |= lane; + lanes &= ~lane; + } +} function markHiddenUpdate(root, update, lane) { var index = laneToIndex(lane); var hiddenUpdates = root.hiddenUpdates; @@ -1706,7 +1860,6 @@ function getBumpedLaneForHydration(root, renderLanes) { case TransitionLane13: case TransitionLane14: case TransitionLane15: - case TransitionLane16: case RetryLane1: case RetryLane2: case RetryLane3: @@ -1899,7 +2052,7 @@ function testStringCoercion(value) { function checkAttributeStringCoercion(value, attributeName) { { if (willCoercionThrow(value)) { - error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value)); + error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', attributeName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1908,7 +2061,7 @@ function checkAttributeStringCoercion(value, attributeName) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1917,7 +2070,7 @@ function checkKeyStringCoercion(value) { function checkPropStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1926,7 +2079,7 @@ function checkPropStringCoercion(value, propName) { function checkCSSPropertyStringCoercion(value, propName) { { if (willCoercionThrow(value)) { - error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); + error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', propName, typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1935,7 +2088,7 @@ function checkCSSPropertyStringCoercion(value, propName) { function checkHtmlStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided HTML markup uses a value of unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1944,7 +2097,7 @@ function checkHtmlStringCoercion(value) { function checkFormFieldValueStringCoercion(value) { { if (willCoercionThrow(value)) { - error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('Form field values (value, checked, defaultValue, or defaultChecked props)' + ' must be strings, not %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2846,12 +2999,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -3288,8 +3435,12 @@ function updateInput(element, value, defaultValue, lastDefaultValue, checked, de } } - if (checked != null && node.checked !== !!checked) { - node.checked = checked; + if (checked != null) { + // Important to set this even if it's not a change in order to update input + // value tracking with radio buttons + // TODO: Should really update input value tracking for the whole radio + // button group in an effect or something (similar to #27024) + node.checked = checked && typeof checked !== 'function' && typeof checked !== 'symbol'; } if (name != null && typeof name !== 'function' && typeof name !== 'symbol' && typeof name !== 'boolean') { @@ -3355,13 +3506,12 @@ function initInput(element, value, defaultValue, checked, defaultChecked, type, var checkedOrDefault = checked != null ? checked : defaultChecked; // TODO: This 'function' or 'symbol' check isn't replicated in other places // so this semantic is inconsistent. - var initialChecked = typeof checkedOrDefault !== 'function' && typeof checkedOrDefault !== 'symbol' && !!checkedOrDefault; // The checked property never gets assigned. It must be manually set. - // We don't want to do this when hydrating so that existing user input isn't - // modified - // TODO: I'm pretty sure this is a bug because initialValueTracking won't be - // correct for the hydration case then. + var initialChecked = typeof checkedOrDefault !== 'function' && typeof checkedOrDefault !== 'symbol' && !!checkedOrDefault; - if (!isHydrating) { + if (isHydrating) { + // Detach .checked from .defaultChecked but leave user input alone + node.checked = node.checked; + } else { node.checked = !!initialChecked; } @@ -5315,6 +5465,23 @@ function validateProperty(tagName, name, value, eventRegistry) { return true; } + { + // Actions are special because unlike events they can have other value types. + if (typeof value === 'function') { + if (tagName === 'form' && name === 'action') { + return true; + } + + if (tagName === 'input' && name === 'formAction') { + return true; + } + + if (tagName === 'button' && name === 'formAction') { + return true; + } + } + } // We can't rely on the event system being injected on the server. + if (eventRegistry != null) { var registrationNameDependencies = eventRegistry.registrationNameDependencies, @@ -7006,6 +7173,32 @@ function tryToClaimNextHydratableSuspenseInstance(fiber) { } } +function tryToClaimNextHydratableFormMarkerInstance(fiber) { + if (!isHydrating) { + return false; + } + + if (nextHydratableInstance) { + var markerInstance = canHydrateFormStateMarker(nextHydratableInstance, rootOrSingletonContext); + + if (markerInstance) { + // Found the marker instance. + nextHydratableInstance = getNextHydratableSibling(markerInstance); // Return true if this marker instance should use the state passed + // to hydrateRoot. + // TODO: As an optimization, Fizz should only emit these markers if form + // state is passed at the root. + + return isFormStateMarkerMatching(markerInstance); + } + } // Should have found a marker instance. Throw an error to trigger client + // rendering. We don't bother to check if we're in a concurrent root because + // useFormState is a new API, so backwards compat is not an issue. + + + throwOnHydrationMismatch(); + return false; +} + function prepareToHydrateHostInstance(fiber, hostContext) { var instance = fiber.stateNode; @@ -7137,7 +7330,7 @@ function popHydrationState(fiber) { { // With float we never clear the Root, or Singleton instances. We also do not clear Instances // that have singleton text content - if (fiber.tag !== HostRoot && fiber.tag !== HostSingleton && !(fiber.tag === HostComponent && (shouldSetTextContent(fiber.type, fiber.memoizedProps)))) { + if (fiber.tag !== HostRoot && fiber.tag !== HostSingleton && !(fiber.tag === HostComponent && (!shouldDeleteUnhydratedTailInstances(fiber.type) || shouldSetTextContent(fiber.type, fiber.memoizedProps)))) { shouldClear = true; } } @@ -9676,29 +9869,29 @@ function resetChildFibers(workInProgress, lanes) { // InvisibleParentContext that is currently managed by SuspenseContext. var currentTreeHiddenStackCursor = createCursor(null); -var prevRenderLanesStackCursor = createCursor(NoLanes); +var prevEntangledRenderLanesCursor = createCursor(NoLanes); function pushHiddenContext(fiber, context) { - var prevRenderLanes = getRenderLanes(); - push(prevRenderLanesStackCursor, prevRenderLanes, fiber); + var prevEntangledRenderLanes = getEntangledRenderLanes(); + push(prevEntangledRenderLanesCursor, prevEntangledRenderLanes, fiber); push(currentTreeHiddenStackCursor, context, fiber); // When rendering a subtree that's currently hidden, we must include all // lanes that would have rendered if the hidden subtree hadn't been deferred. // That is, in order to reveal content from hidden -> visible, we must commit // all the updates that we skipped when we originally hid the tree. - setRenderLanes(mergeLanes(prevRenderLanes, context.baseLanes)); + setEntangledRenderLanes(mergeLanes(prevEntangledRenderLanes, context.baseLanes)); } function reuseHiddenContextOnStack(fiber) { // This subtree is not currently hidden, so we don't need to add any lanes // to the render lanes. But we still need to push something to avoid a // context mismatch. Reuse the existing context on the stack. - push(prevRenderLanesStackCursor, getRenderLanes(), fiber); + push(prevEntangledRenderLanesCursor, getEntangledRenderLanes(), fiber); push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current, fiber); } function popHiddenContext(fiber) { // Restore the previous render lanes from the stack - setRenderLanes(prevRenderLanesStackCursor.current); + setEntangledRenderLanes(prevEntangledRenderLanesCursor.current); pop(currentTreeHiddenStackCursor, fiber); - pop(prevRenderLanesStackCursor, fiber); + pop(prevEntangledRenderLanesCursor, fiber); } function isCurrentTreeHidden() { return currentTreeHiddenStackCursor.current !== null; @@ -10060,7 +10253,10 @@ function processRootScheduleInMicrotask() { var next = root.next; if (currentEventTransitionLane !== NoLane && shouldAttemptEagerTransition()) { - markRootEntangled(root, mergeLanes(currentEventTransitionLane, SyncLane)); + // A transition was scheduled during an event, but we're going to try to + // render it synchronously anyway. We do this during a popstate event to + // preserve the scroll position of the previous page. + upgradePendingLaneToSync(root, currentEventTransitionLane); } var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); @@ -10466,7 +10662,7 @@ var didWarnAboutAsyncClientComponent; // These are set right before calling the component. -var renderLanes$1 = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from +var renderLanes = NoLanes; // The work-in-progress fiber. I've named it differently to distinguish it from // the work-in-progress hook. var currentlyRenderingFiber$1 = null; // Hooks are stored as a linked list on the fiber's memoizedState field. The @@ -10660,7 +10856,7 @@ function areHookInputsEqual(nextDeps, prevDeps) { } function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) { - renderLanes$1 = nextRenderLanes; + renderLanes = nextRenderLanes; currentlyRenderingFiber$1 = workInProgress; { @@ -10766,7 +10962,7 @@ function finishRenderingHooks(current, workInProgress, Component) { // hookTypesDev could catch more cases (e.g. context) but only in DEV bundles. var didRenderTooFewHooks = currentHook !== null && currentHook.next !== null; - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -10887,6 +11083,26 @@ function renderWithHooksAgain(workInProgress, Component, props, secondArg) { return children; } + +function renderTransitionAwareHostComponentWithHooks(current, workInProgress, lanes) { + + return renderWithHooks(current, workInProgress, TransitionAwareHostComponent, null, null, lanes); +} +function TransitionAwareHostComponent() { + + var dispatcher = ReactCurrentDispatcher$1.current; + + var _dispatcher$useState = dispatcher.useState(), + maybeThenable = _dispatcher$useState[0]; + + if (typeof maybeThenable.then === 'function') { + var thenable = maybeThenable; + return useThenable(thenable); + } else { + var status = maybeThenable; + return status; + } +} function checkDidRenderIdHook() { // This should be called immediately after every renderWithHooks call. // Conceptually, it's part of the return value of renderWithHooks; it's only a @@ -10944,7 +11160,7 @@ function resetHooksOnUnwind(workInProgress) { didScheduleRenderPhaseUpdate = false; } - renderLanes$1 = NoLanes; + renderLanes = NoLanes; currentlyRenderingFiber$1 = null; currentHook = null; workInProgressHook = null; @@ -11192,7 +11408,7 @@ function updateReducerImpl(hook, current, reducer) { // it's not a "base" update and we should disregard the extra base lanes // that were added to renderLanes when we entered the Offscreen tree. - var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes$1, updateLane); + var shouldSkipUpdate = isHiddenUpdate ? !isSubsetOfLanes(getWorkInProgressRootRenderLanes(), updateLane) : !isSubsetOfLanes(renderLanes, updateLane); if (shouldSkipUpdate) { // Priority is insufficient. Skip this update. If this is the first @@ -11220,8 +11436,11 @@ function updateReducerImpl(hook, current, reducer) { currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, updateLane); markSkippedUpdateLanes(updateLane); } else { + // This update does have sufficient priority. + // Check if this is an optimistic update. + var revertLane = update.revertLane; - { + if (revertLane === NoLane) { // This is not an optimistic update, and we're going to apply it now. // But, if there were earlier updates that were skipped, we need to // leave this update in the queue so it can be rebased later. @@ -11239,6 +11458,47 @@ function updateReducerImpl(hook, current, reducer) { }; newBaseQueueLast = newBaseQueueLast.next = _clone; } + } else { + // This is an optimistic update. If the "revert" priority is + // sufficient, don't apply the update. Otherwise, apply the update, + // but leave it in the queue so it can be either reverted or + // rebased in a subsequent render. + if (isSubsetOfLanes(renderLanes, revertLane)) { + // The transition that this optimistic update is associated with + // has finished. Pretend the update doesn't exist by skipping + // over it. + update = update.next; + continue; + } else { + var _clone2 = { + // Once we commit an optimistic update, we shouldn't uncommit it + // until the transition it is associated with has finished + // (represented by revertLane). Using NoLane here works because 0 + // is a subset of all bitmasks, so this will never be skipped by + // the check above. + lane: NoLane, + // Reuse the same revertLane so we know when the transition + // has finished. + revertLane: update.revertLane, + action: update.action, + hasEagerState: update.hasEagerState, + eagerState: update.eagerState, + next: null + }; + + if (newBaseQueueLast === null) { + newBaseQueueFirst = newBaseQueueLast = _clone2; + newBaseState = newState; + } else { + newBaseQueueLast = newBaseQueueLast.next = _clone2; + } // Update the remaining priority in the queue. + // TODO: Don't need to accumulate this. Instead, we can remove + // renderLanes from the original lanes. + + + currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, revertLane); + markSkippedUpdateLanes(revertLane); + } } // Process this update. @@ -11389,7 +11649,9 @@ function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!includesBlockingLane(root, renderLanes$1)) { + var rootRenderLanes = getWorkInProgressRootRenderLanes(); + + if (!includesBlockingLane(root, rootRenderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } // Read the current snapshot from the store on every render. This breaks the @@ -11475,7 +11737,7 @@ function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { throw new Error('Expected a work-in-progress root. This is a bug in React. Please file an issue.'); } - if (!isHydrating && !includesBlockingLane(root, renderLanes$1)) { + if (!isHydrating && !includesBlockingLane(root, renderLanes)) { pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } } @@ -11590,6 +11852,288 @@ function rerenderState(initialState) { return rerenderReducer(basicStateReducer); } +function mountOptimistic(passthrough, reducer) { + var hook = mountWorkInProgressHook(); + hook.memoizedState = hook.baseState = passthrough; + var queue = { + pending: null, + lanes: NoLanes, + dispatch: null, + // Optimistic state does not use the eager update optimization. + lastRenderedReducer: null, + lastRenderedState: null + }; + hook.queue = queue; // This is different than the normal setState function. + + var dispatch = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber$1, true, queue); + queue.dispatch = dispatch; + return [passthrough, dispatch]; +} + +function updateOptimistic(passthrough, reducer) { + var hook = updateWorkInProgressHook(); + return updateOptimisticImpl(hook, currentHook, passthrough, reducer); +} + +function updateOptimisticImpl(hook, current, passthrough, reducer) { + // Optimistic updates are always rebased on top of the latest value passed in + // as an argument. It's called a passthrough because if there are no pending + // updates, it will be returned as-is. + // + // Reset the base state to the passthrough. Future updates will be applied + // on top of this. + hook.baseState = passthrough; // If a reducer is not provided, default to the same one used by useState. + + var resolvedReducer = typeof reducer === 'function' ? reducer : basicStateReducer; + return updateReducerImpl(hook, currentHook, resolvedReducer); +} + +function rerenderOptimistic(passthrough, reducer) { + // Unlike useState, useOptimistic doesn't support render phase updates. + // Also unlike useState, we need to replay all pending updates again in case + // the passthrough value changed. + // + // So instead of a forked re-render implementation that knows how to handle + // render phase udpates, we can use the same implementation as during a + // regular mount or update. + var hook = updateWorkInProgressHook(); + + if (currentHook !== null) { + // This is an update. Process the update queue. + return updateOptimisticImpl(hook, currentHook, passthrough, reducer); + } // This is a mount. No updates to process. + // Reset the base state to the passthrough. Future updates will be applied + // on top of this. + + + hook.baseState = passthrough; + var dispatch = hook.queue.dispatch; + return [passthrough, dispatch]; +} // useFormState actions run sequentially, because each action receives the +// previous state as an argument. We store pending actions on a queue. + + +function dispatchFormState(fiber, actionQueue, setState, payload) { + if (isRenderPhaseUpdate(fiber)) { + throw new Error('Cannot update form state while rendering.'); + } + + var last = actionQueue.pending; + + if (last === null) { + // There are no pending actions; this is the first one. We can run + // it immediately. + var newLast = { + payload: payload, + next: null // circular + + }; + newLast.next = actionQueue.pending = newLast; + runFormStateAction(actionQueue, setState, payload); + } else { + // There's already an action running. Add to the queue. + var first = last.next; + var _newLast = { + payload: payload, + next: first + }; + last.next = _newLast; + } +} + +function runFormStateAction(actionQueue, setState, payload) { + var action = actionQueue.action; + var prevState = actionQueue.state; // This is a fork of startTransition + + var prevTransition = ReactCurrentBatchConfig$3.transition; + ReactCurrentBatchConfig$3.transition = {}; + var currentTransition = ReactCurrentBatchConfig$3.transition; + + { + ReactCurrentBatchConfig$3.transition._updatedFibers = new Set(); + } + + try { + var promise = action(prevState, payload); + + if (true) { + if (promise === null || typeof promise !== 'object' || typeof promise.then !== 'function') { + error('The action passed to useFormState must be an async function.'); + } + } // Attach a listener to read the return state of the action. As soon as this + // resolves, we can run the next action in the sequence. + + + promise.then(function (nextState) { + actionQueue.state = nextState; + finishRunningFormStateAction(actionQueue, setState); + }, function () { + return finishRunningFormStateAction(actionQueue, setState); + }); // Create a thenable that resolves once the current async action scope has + // finished. Then stash that thenable in state. We'll unwrap it with the + // `use` algorithm during render. This is the same logic used + // by startTransition. + + var entangledThenable = requestAsyncActionContext(promise, null); + setState(entangledThenable); + } finally { + ReactCurrentBatchConfig$3.transition = prevTransition; + + { + if (prevTransition === null && currentTransition._updatedFibers) { + var updatedFibersCount = currentTransition._updatedFibers.size; + + currentTransition._updatedFibers.clear(); + + if (updatedFibersCount > 10) { + warn('Detected a large number of updates inside startTransition. ' + 'If this is due to a subscription please re-write it to use React provided hooks. ' + 'Otherwise concurrent mode guarantees are off the table.'); + } + } + } + } +} + +function finishRunningFormStateAction(actionQueue, setState) { + // The action finished running. Pop it from the queue and run the next pending + // action, if there are any. + var last = actionQueue.pending; + + if (last !== null) { + var first = last.next; + + if (first === last) { + // This was the last action in the queue. + actionQueue.pending = null; + } else { + // Remove the first node from the circular queue. + var next = first.next; + last.next = next; // Run the next action. + + runFormStateAction(actionQueue, setState, next.payload); + } + } +} + +function formStateReducer(oldState, newState) { + return newState; +} + +function mountFormState(action, initialStateProp, permalink) { + var initialState = initialStateProp; + + if (getIsHydrating()) { + var root = getWorkInProgressRoot(); + var ssrFormState = root.formState; // If a formState option was passed to the root, there are form state + // markers that we need to hydrate. These indicate whether the form state + // matches this hook instance. + + if (ssrFormState !== null) { + var isMatching = tryToClaimNextHydratableFormMarkerInstance(); + + if (isMatching) { + initialState = ssrFormState[0]; + } + } + } + + var initialStateThenable = { + status: 'fulfilled', + value: initialState, + then: function () {} + }; // State hook. The state is stored in a thenable which is then unwrapped by + // the `use` algorithm during render. + + var stateHook = mountWorkInProgressHook(); + stateHook.memoizedState = stateHook.baseState = initialStateThenable; + var stateQueue = { + pending: null, + lanes: NoLanes, + dispatch: null, + lastRenderedReducer: formStateReducer, + lastRenderedState: initialStateThenable + }; + stateHook.queue = stateQueue; + var setState = dispatchSetState.bind(null, currentlyRenderingFiber$1, stateQueue); + stateQueue.dispatch = setState; // Action queue hook. This is used to queue pending actions. The queue is + // shared between all instances of the hook. Similar to a regular state queue, + // but different because the actions are run sequentially, and they run in + // an event instead of during render. + + var actionQueueHook = mountWorkInProgressHook(); + var actionQueue = { + state: initialState, + dispatch: null, + // circular + action: action, + pending: null + }; + actionQueueHook.queue = actionQueue; + var dispatch = dispatchFormState.bind(null, currentlyRenderingFiber$1, actionQueue, setState); + actionQueue.dispatch = dispatch; // Stash the action function on the memoized state of the hook. We'll use this + // to detect when the action function changes so we can update it in + // an effect. + + actionQueueHook.memoizedState = action; + return [initialState, dispatch]; +} + +function updateFormState(action, initialState, permalink) { + var stateHook = updateWorkInProgressHook(); + var currentStateHook = currentHook; + return updateFormStateImpl(stateHook, currentStateHook, action); +} + +function updateFormStateImpl(stateHook, currentStateHook, action, initialState, permalink) { + var _updateReducerImpl = updateReducerImpl(stateHook, currentStateHook, formStateReducer), + thenable = _updateReducerImpl[0]; // This will suspend until the action finishes. + + + var state = useThenable(thenable); + var actionQueueHook = updateWorkInProgressHook(); + var actionQueue = actionQueueHook.queue; + var dispatch = actionQueue.dispatch; // Check if a new action was passed. If so, update it in an effect. + + var prevAction = actionQueueHook.memoizedState; + + if (action !== prevAction) { + currentlyRenderingFiber$1.flags |= Passive$1; + pushEffect(HasEffect | Passive, formStateActionEffect.bind(null, actionQueue, action), createEffectInstance(), null); + } + + return [state, dispatch]; +} + +function formStateActionEffect(actionQueue, action) { + actionQueue.action = action; +} + +function rerenderFormState(action, initialState, permalink) { + // Unlike useState, useFormState doesn't support render phase updates. + // Also unlike useState, we need to replay all pending updates again in case + // the passthrough value changed. + // + // So instead of a forked re-render implementation that knows how to handle + // render phase udpates, we can use the same implementation as during a + // regular mount or update. + var stateHook = updateWorkInProgressHook(); + var currentStateHook = currentHook; + + if (currentStateHook !== null) { + // This is an update. Process the update queue. + return updateFormStateImpl(stateHook, currentStateHook, action); + } // This is a mount. No updates to process. + + + var thenable = stateHook.memoizedState; + var state = useThenable(thenable); + var actionQueueHook = updateWorkInProgressHook(); + var actionQueue = actionQueueHook.queue; + var dispatch = actionQueue.dispatch; // This may have changed during the rerender. + + actionQueueHook.memoizedState = action; + return [state, dispatch]; +} + function pushEffect(tag, create, inst, deps) { var effect = { tag: tag, @@ -11830,26 +12374,24 @@ function updateMemo(nextCreate, deps) { return nextValue; } -function mountDeferredValue(value) { +function mountDeferredValue(value, initialValue) { var hook = mountWorkInProgressHook(); - hook.memoizedState = value; - return value; + return mountDeferredValueImpl(hook, value); } -function updateDeferredValue(value) { +function updateDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); var resolvedCurrentHook = currentHook; var prevValue = resolvedCurrentHook.memoizedState; return updateDeferredValueImpl(hook, prevValue, value); } -function rerenderDeferredValue(value) { +function rerenderDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); if (currentHook === null) { // This is a rerender during a mount. - hook.memoizedState = value; - return value; + return mountDeferredValueImpl(hook, value); } else { // This is a rerender during an update. var prevValue = currentHook.memoizedState; @@ -11857,43 +12399,54 @@ function rerenderDeferredValue(value) { } } -function updateDeferredValueImpl(hook, prevValue, value) { - var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes$1); +function mountDeferredValueImpl(hook, value, initialValue) { + { + hook.memoizedState = value; + return value; + } +} - if (shouldDeferValue) { - // This is an urgent update. If the value has changed, keep using the - // previous value and spawn a deferred render to update it later. - if (!objectIs(value, prevValue)) { - // Schedule a deferred render - var deferredLane = claimNextTransitionLane(); - currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); - markSkippedUpdateLanes(deferredLane); // Set this to true to indicate that the rendered value is inconsistent - // from the latest value. The name "baseState" doesn't really match how we - // use it because we're reusing a state hook field instead of creating a - // new one. +function updateDeferredValueImpl(hook, prevValue, value, initialValue) { + if (objectIs(value, prevValue)) { + // The incoming value is referentially identical to the currently rendered + // value, so we can bail out quickly. + return value; + } else { + // Received a new value that's different from the current value. + // Check if we're inside a hidden tree + if (isCurrentTreeHidden()) { + // Revealing a prerendered tree is considered the same as mounting new + // one, so we reuse the "mount" path in this case. + var resultValue = mountDeferredValueImpl(hook, value); // Unlike during an actual mount, we need to mark this as an update if + // the value changed. - hook.baseState = true; - } // Reuse the previous value + if (!objectIs(resultValue, prevValue)) { + markWorkInProgressReceivedUpdate(); + } + return resultValue; + } - return prevValue; - } else { - // This is not an urgent update, so we can use the latest value regardless - // of what it is. No need to defer it. - // However, if we're currently inside a spawned render, then we need to mark - // this as an update to prevent the fiber from bailing out. - // - // `baseState` is true when the current value is different from the rendered - // value. The name doesn't really match how we use it because we're reusing - // a state hook field instead of creating a new one. - if (hook.baseState) { - // Flip this back to false. - hook.baseState = false; + var shouldDeferValue = !includesOnlyNonUrgentLanes(renderLanes); + + if (shouldDeferValue) { + // This is an urgent update. Since the value has changed, keep using the + // previous value and spawn a deferred render to update it later. + // Schedule a deferred render + var deferredLane = requestDeferredLane(); + currentlyRenderingFiber$1.lanes = mergeLanes(currentlyRenderingFiber$1.lanes, deferredLane); + markSkippedUpdateLanes(deferredLane); // Reuse the previous value. We do not need to mark this as an update, + // because we did not render a new value. + + return prevValue; + } else { + // This is not an urgent update, so we can use the latest value regardless + // of what it is. No need to defer it. + // Mark this as an update to prevent the fiber from bailing out. markWorkInProgressReceivedUpdate(); + hook.memoizedState = value; + return value; } - - hook.memoizedState = value; - return value; } } @@ -11901,29 +12454,60 @@ function startTransition(fiber, queue, pendingState, finishedState, callback, op var previousPriority = getCurrentUpdatePriority(); setCurrentUpdatePriority(higherEventPriority(previousPriority, ContinuousEventPriority)); var prevTransition = ReactCurrentBatchConfig$3.transition; + var currentTransition = {}; { - ReactCurrentBatchConfig$3.transition = null; - dispatchSetState(fiber, queue, pendingState); + // We don't really need to use an optimistic update here, because we + // schedule a second "revert" update below (which we use to suspend the + // transition until the async action scope has finished). But we'll use an + // optimistic update anyway to make it less likely the behavior accidentally + // diverges; for example, both an optimistic update and this one should + // share the same lane. + ReactCurrentBatchConfig$3.transition = currentTransition; + dispatchOptimisticSetState(fiber, false, queue, pendingState); } - var currentTransition = ReactCurrentBatchConfig$3.transition = {}; - { ReactCurrentBatchConfig$3.transition._updatedFibers = new Set(); } try { - var returnValue, thenable, entangledResult, _entangledResult; if (enableAsyncActions) ; else { - // Async actions are not enabled. - dispatchSetState(fiber, queue, finishedState); - callback(); + if (enableAsyncActions) { + var returnValue = callback(); // Check if we're inside an async action scope. If so, we'll entangle + // this new action with the existing scope. + // + // If we're not already inside an async action scope, and this action is + // async, then we'll create a new async scope. + // + // In the async case, the resulting render will suspend until the async + // action scope has finished. + + if (returnValue !== null && typeof returnValue === 'object' && typeof returnValue.then === 'function') { + var thenable = returnValue; // This is a thenable that resolves to `finishedState` once the async + // action scope has finished. + + var entangledResult = requestAsyncActionContext(thenable, finishedState); + dispatchSetState(fiber, queue, entangledResult); + } else { + // This is either `finishedState` or a thenable that resolves to + // `finishedState`, depending on whether we're inside an async + // action scope. + var _entangledResult = requestSyncActionContext(returnValue, finishedState); + + dispatchSetState(fiber, queue, _entangledResult); + } } } catch (error) { { - // The error rethrowing behavior is only enabled when the async actions - // feature is on, even for sync actions. - throw error; + // This is a trick to get the `useTransition` hook to rethrow the error. + // When it unwraps the thenable with the `use` algorithm, the error + // will be thrown. + var rejectedThenable = { + then: function () {}, + status: 'rejected', + reason: error + }; + dispatchSetState(fiber, queue, rejectedThenable); } } finally { setCurrentUpdatePriority(previousPriority); @@ -11943,6 +12527,59 @@ function startTransition(fiber, queue, pendingState, finishedState, callback, op } } +function startHostTransition(formFiber, pendingState, callback, formData) { + + if (formFiber.tag !== HostComponent) { + throw new Error('Expected the form instance to be a HostComponent. This ' + 'is a bug in React.'); + } + + var queue; + + if (formFiber.memoizedState === null) { + // Upgrade this host component fiber to be stateful. We're going to pretend + // it was stateful all along so we can reuse most of the implementation + // for function components and useTransition. + // + // Create the state hook used by TransitionAwareHostComponent. This is + // essentially an inlined version of mountState. + var newQueue = { + pending: null, + lanes: NoLanes, + // We're going to cheat and intentionally not create a bound dispatch + // method, because we can call it directly in startTransition. + dispatch: null, + lastRenderedReducer: basicStateReducer, + lastRenderedState: NotPendingTransition + }; + queue = newQueue; + var stateHook = { + memoizedState: NotPendingTransition, + baseState: NotPendingTransition, + baseQueue: null, + queue: newQueue, + next: null + }; // Add the state hook to both fiber alternates. The idea is that the fiber + // had this hook all along. + + formFiber.memoizedState = stateHook; + var alternate = formFiber.alternate; + + if (alternate !== null) { + alternate.memoizedState = stateHook; + } + } else { + // This fiber was already upgraded to be stateful. + var _stateHook = formFiber.memoizedState; + queue = _stateHook.queue; + } + + startTransition(formFiber, queue, pendingState, NotPendingTransition, // TODO: We can avoid this extra wrapper, somehow. Figure out layering + // once more of this function is implemented. + function () { + return callback(formData); + }); +} + function mountTransition() { var stateHook = mountStateImpl(false); // The `start` method never changes. @@ -11974,6 +12611,12 @@ function rerenderTransition() { return [isPending, start]; } +function useHostTransitionStatus() { + + var status = readContext(HostTransitionContext); + return status !== null ? status : NotPendingTransition; +} + function mountId() { var hook = mountWorkInProgressHook(); var root = getWorkInProgressRoot(); // TODO: In Fizz, id generation is specific to each server config. Maybe we @@ -12180,6 +12823,77 @@ function dispatchSetState(fiber, queue, action) { markUpdateInDevTools(fiber, lane); } +function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { + { + if (ReactCurrentBatchConfig$3.transition === null) { + // An optimistic update occurred, but startTransition is not on the stack. + // There are two likely scenarios. + // One possibility is that the optimistic update is triggered by a regular + // event handler (e.g. `onSubmit`) instead of an action. This is a mistake + // and we will warn. + // The other possibility is the optimistic update is inside an async + // action, but after an `await`. In this case, we can make it "just work" + // by associating the optimistic update with the pending async action. + // Technically it's possible that the optimistic update is unrelated to + // the pending action, but we don't have a way of knowing this for sure + // because browsers currently do not provide a way to track async scope. + // (The AsyncContext proposal, if it lands, will solve this in the + // future.) However, this is no different than the problem of unrelated + // transitions being grouped together — it's not wrong per se, but it's + // not ideal. + // Once AsyncContext starts landing in browsers, we will provide better + // warnings in development for these cases. + if (peekEntangledActionLane() !== NoLane) ; else { + // There's no pending async action. The most likely cause is that we're + // inside a regular event handler (e.g. onSubmit) instead of an action. + error('An optimistic state update occurred outside a transition or ' + 'action. To fix, move the update to an action, or wrap ' + 'with startTransition.'); + } + } + } + + var update = { + // An optimistic update commits synchronously. + lane: SyncLane, + // After committing, the optimistic update is "reverted" using the same + // lane as the transition it's associated with. + revertLane: requestTransitionLane(), + action: action, + hasEagerState: false, + eagerState: null, + next: null + }; + + if (isRenderPhaseUpdate(fiber)) { + // When calling startTransition during render, this warns instead of + // throwing because throwing would be a breaking change. setOptimisticState + // is a new API so it's OK to throw. + if (throwIfDuringRender) { + throw new Error('Cannot update optimistic state while rendering.'); + } else { + // startTransition was called during render. We don't need to do anything + // besides warn here because the render phase update would be overidden by + // the second update, anyway. We can remove this branch and make it throw + // in a future release. + { + error('Cannot call startTransition while rendering.'); + } + } + } else { + var root = enqueueConcurrentHookUpdate(fiber, queue, update, SyncLane); + + if (root !== null) { + // NOTE: The optimistic update implementation assumes that the transition + // will never be attempted before the optimistic update. This currently + // holds because the optimistic update is always synchronous. If we ever + // change that, we'll need to account for this. + scheduleUpdateOnFiber(root, fiber, SyncLane); // Optimistic updates are always synchronous, so we don't need to call + // entangleTransitionUpdate here. + } + } + + markUpdateInDevTools(fiber, SyncLane); +} + function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; return fiber === currentlyRenderingFiber$1 || alternate !== null && alternate === currentlyRenderingFiber$1; @@ -12254,6 +12968,15 @@ var ContextOnlyDispatcher = { ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError; } +{ + ContextOnlyDispatcher.useHostTransitionStatus = throwInvalidHookError; + ContextOnlyDispatcher.useFormState = throwInvalidHookError; +} + +{ + ContextOnlyDispatcher.useOptimistic = throwInvalidHookError; +} + var HooksDispatcherOnMountInDEV = null; var HooksDispatcherOnMountWithHookTypesInDEV = null; var HooksDispatcherOnUpdateInDEV = null; @@ -12358,7 +13081,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; mountHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; mountHookTypesDev(); return mountDeferredValue(value); @@ -12388,6 +13111,24 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; }; } + { + HooksDispatcherOnMountInDEV.useHostTransitionStatus = useHostTransitionStatus; + + HooksDispatcherOnMountInDEV.useFormState = function useFormState(action, initialState, permalink) { + currentHookNameInDev = 'useFormState'; + mountHookTypesDev(); + return mountFormState(action, initialState); + }; + } + + { + HooksDispatcherOnMountInDEV.useOptimistic = function useOptimistic(passthrough, reducer) { + currentHookNameInDev = 'useOptimistic'; + mountHookTypesDev(); + return mountOptimistic(passthrough); + }; + } + HooksDispatcherOnMountWithHookTypesInDEV = { readContext: function (context) { return readContext(context); @@ -12469,7 +13210,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); return mountDeferredValue(value); @@ -12499,6 +13240,24 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; }; } + { + HooksDispatcherOnMountWithHookTypesInDEV.useHostTransitionStatus = useHostTransitionStatus; + + HooksDispatcherOnMountWithHookTypesInDEV.useFormState = function useFormState(action, initialState, permalink) { + currentHookNameInDev = 'useFormState'; + updateHookTypesDev(); + return mountFormState(action, initialState); + }; + } + + { + HooksDispatcherOnMountWithHookTypesInDEV.useOptimistic = function useOptimistic(passthrough, reducer) { + currentHookNameInDev = 'useOptimistic'; + updateHookTypesDev(); + return mountOptimistic(passthrough); + }; + } + HooksDispatcherOnUpdateInDEV = { readContext: function (context) { return readContext(context); @@ -12580,7 +13339,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); return updateDeferredValue(value); @@ -12610,6 +13369,24 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; }; } + { + HooksDispatcherOnUpdateInDEV.useHostTransitionStatus = useHostTransitionStatus; + + HooksDispatcherOnUpdateInDEV.useFormState = function useFormState(action, initialState, permalink) { + currentHookNameInDev = 'useFormState'; + updateHookTypesDev(); + return updateFormState(action); + }; + } + + { + HooksDispatcherOnUpdateInDEV.useOptimistic = function useOptimistic(passthrough, reducer) { + currentHookNameInDev = 'useOptimistic'; + updateHookTypesDev(); + return updateOptimistic(passthrough, reducer); + }; + } + HooksDispatcherOnRerenderInDEV = { readContext: function (context) { return readContext(context); @@ -12691,7 +13468,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; updateHookTypesDev(); return rerenderDeferredValue(value); @@ -12721,6 +13498,24 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; }; } + { + HooksDispatcherOnRerenderInDEV.useHostTransitionStatus = useHostTransitionStatus; + + HooksDispatcherOnRerenderInDEV.useFormState = function useFormState(action, initialState, permalink) { + currentHookNameInDev = 'useFormState'; + updateHookTypesDev(); + return rerenderFormState(action); + }; + } + + { + HooksDispatcherOnRerenderInDEV.useOptimistic = function useOptimistic(passthrough, reducer) { + currentHookNameInDev = 'useOptimistic'; + updateHookTypesDev(); + return rerenderOptimistic(passthrough, reducer); + }; + } + InvalidNestedHooksDispatcherOnMountInDEV = { readContext: function (context) { warnInvalidContextAccess(); @@ -12817,7 +13612,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; mountHookTypesDev(); return mountDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); mountHookTypesDev(); @@ -12851,6 +13646,26 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; }; } + { + InvalidNestedHooksDispatcherOnMountInDEV.useHostTransitionStatus = useHostTransitionStatus; + + InvalidNestedHooksDispatcherOnMountInDEV.useFormState = function useFormState(action, initialState, permalink) { + currentHookNameInDev = 'useFormState'; + warnInvalidHookAccess(); + mountHookTypesDev(); + return mountFormState(action, initialState); + }; + } + + { + InvalidNestedHooksDispatcherOnMountInDEV.useOptimistic = function useOptimistic(passthrough, reducer) { + currentHookNameInDev = 'useOptimistic'; + warnInvalidHookAccess(); + mountHookTypesDev(); + return mountOptimistic(passthrough); + }; + } + InvalidNestedHooksDispatcherOnUpdateInDEV = { readContext: function (context) { warnInvalidContextAccess(); @@ -12947,7 +13762,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); updateHookTypesDev(); @@ -12981,6 +13796,26 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; }; } + { + InvalidNestedHooksDispatcherOnUpdateInDEV.useHostTransitionStatus = useHostTransitionStatus; + + InvalidNestedHooksDispatcherOnUpdateInDEV.useFormState = function useFormState(action, initialState, permalink) { + currentHookNameInDev = 'useFormState'; + warnInvalidHookAccess(); + updateHookTypesDev(); + return updateFormState(action); + }; + } + + { + InvalidNestedHooksDispatcherOnUpdateInDEV.useOptimistic = function useOptimistic(passthrough, reducer) { + currentHookNameInDev = 'useOptimistic'; + warnInvalidHookAccess(); + updateHookTypesDev(); + return updateOptimistic(passthrough, reducer); + }; + } + InvalidNestedHooksDispatcherOnRerenderInDEV = { readContext: function (context) { warnInvalidContextAccess(); @@ -13077,7 +13912,7 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; updateHookTypesDev(); return updateDebugValue(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = 'useDeferredValue'; warnInvalidHookAccess(); updateHookTypesDev(); @@ -13110,6 +13945,26 @@ var InvalidNestedHooksDispatcherOnRerenderInDEV = null; return updateRefresh(); }; } + + { + InvalidNestedHooksDispatcherOnRerenderInDEV.useHostTransitionStatus = useHostTransitionStatus; + + InvalidNestedHooksDispatcherOnRerenderInDEV.useFormState = function useFormState(action, initialState, permalink) { + currentHookNameInDev = 'useFormState'; + warnInvalidHookAccess(); + updateHookTypesDev(); + return rerenderFormState(action); + }; + } + + { + InvalidNestedHooksDispatcherOnRerenderInDEV.useOptimistic = function useOptimistic(passthrough, reducer) { + currentHookNameInDev = 'useOptimistic'; + warnInvalidHookAccess(); + updateHookTypesDev(); + return rerenderOptimistic(passthrough, reducer); + }; + } } var now = Scheduler.unstable_now; @@ -15573,6 +16428,49 @@ function updateHostComponent$1(current, workInProgress, renderLanes) { workInProgress.flags |= ContentReset; } + { + var memoizedState = workInProgress.memoizedState; + + if (memoizedState !== null) { + // This fiber has been upgraded to a stateful component. The only way + // happens currently is for form actions. We use hooks to track the + // pending and error state of the form. + // + // Once a fiber is upgraded to be stateful, it remains stateful for the + // rest of its lifetime. + var newState = renderTransitionAwareHostComponentWithHooks(current, workInProgress, renderLanes); // If the transition state changed, propagate the change to all the + // descendents. We use Context as an implementation detail for this. + // + // This is intentionally set here instead of pushHostContext because + // pushHostContext gets called before we process the state hook, to avoid + // a state mismatch in the event that something suspends. + // + // NOTE: This assumes that there cannot be nested transition providers, + // because the only renderer that implements this feature is React DOM, + // and forms cannot be nested. If we did support nested providers, then + // we would need to push a context value even for host fibers that + // haven't been upgraded yet. + + { + HostTransitionContext._currentValue = newState; + } + + { + if (didReceiveUpdate) { + if (current !== null) { + var oldStateHook = current.memoizedState; + var oldState = oldStateHook.memoizedState; // This uses regular equality instead of Object.is because we assume + // that host transition state doesn't include NaN as a valid type. + + if (oldState !== newState) { + propagateContextChange(workInProgress, HostTransitionContext, renderLanes); + } + } + } + } + } + } + markRef$1(current, workInProgress); reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; @@ -17561,9 +18459,7 @@ function popProvider(context, providerFiber) { var currentValue = valueCursor.current; { - if (currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._currentValue = context._defaultValue; - } else { + { context._currentValue = currentValue; } @@ -18684,7 +19580,9 @@ function completeWork(current, workInProgress, renderLanes) { } else { var _rootContainerInstance = getRootHostContainer(); - var _instance3 = createInstance(_type2, newProps, _rootContainerInstance, _currentHostContext, workInProgress); + var _instance3 = createInstance(_type2, newProps, _rootContainerInstance, _currentHostContext, workInProgress); // TODO: For persistent renderers, we should pass children as part + // of the initial instance creation + appendAllChildren(_instance3, workInProgress); workInProgress.stateNode = _instance3; // Certain renderers require commit-time effects for initial mount. @@ -23071,9 +23969,9 @@ var workInProgressRootDidAttachPingListener = false; // A contextual version of // HiddenContext module. // // Most things in the work loop should deal with workInProgressRootRenderLanes. -// Most things in begin/complete phases should deal with renderLanes. +// Most things in begin/complete phases should deal with entangledRenderLanes. -var renderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. +var entangledRenderLanes = NoLanes; // Whether to root completed, errored, suspended, etc. var workInProgressRootExitStatus = RootInProgress; // A fatal error, if one is thrown @@ -23084,7 +23982,9 @@ var workInProgressRootSkippedLanes = NoLanes; // Lanes that were updated (in an var workInProgressRootInterleavedUpdatedLanes = NoLanes; // Lanes that were updated during the render phase (*not* an interleaved event). -var workInProgressRootPingedLanes = NoLanes; // Errors that are thrown during the render phase. +var workInProgressRootPingedLanes = NoLanes; // If this lane scheduled deferred work, this is the lane of the deferred task. + +var workInProgressDeferredLane = NoLane; // Errors that are thrown during the render phase. var workInProgressRootConcurrentErrors = null; // These are errors that we recovered from without surfacing them to the UI. // We will log them once the tree commits. @@ -23215,6 +24115,27 @@ function requestRetryLane(fiber) { return claimNextRetryLane(); } +function requestDeferredLane() { + if (workInProgressDeferredLane === NoLane) { + // If there are multiple useDeferredValue hooks in the same render, the + // tasks that they spawn should all be batched together, so they should all + // receive the same lane. + if (includesSomeLane(workInProgressRootRenderLanes, OffscreenLane)) { + // There's only one OffscreenLane, so if it contains deferred work, we + // should just reschedule using the same lane. + // TODO: We also use OffscreenLane for hydration, on the basis that the + // initial HTML is the same as the hydrated UI, but since the deferred + // task will change the UI, it should be treated like an update. Use + // TransitionHydrationLane to trigger selective hydration. + workInProgressDeferredLane = OffscreenLane; + } else { + // Everything else is spawned as a transition. + workInProgressDeferredLane = requestTransitionLane(); + } + } + + return workInProgressDeferredLane; +} function scheduleUpdateOnFiber(root, fiber, lane) { { if (isRunningInsertionEffect) { @@ -23236,7 +24157,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // The incoming update might unblock the current render. Interrupt the // current attempt and restart from the top. prepareFreshStack(root, NoLanes); - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } // Mark that the root has a pending update. @@ -23274,7 +24195,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) { // effect of interrupting the current render and switching to the update. // TODO: Make sure this doesn't override pings that happen while we've // already started rendering. - markRootSuspended(root, workInProgressRootRenderLanes); + markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane); } } @@ -23367,7 +24288,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); } else { // The render completed. // Check if this render may have yielded to a concurrent event, and if so, @@ -23403,7 +24324,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } // We now have a consistent tree. The next step is either to commit it, @@ -23517,7 +24438,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // This is a transition, so we should exit without committing a // placeholder and without scheduling a timeout. Delay indefinitely // until we receive more data. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); return; } // Commit the placeholder. @@ -23540,7 +24461,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { if (shouldForceFlushFallbacksInDEV()) { // We're inside an `act` scope. Commit immediately. - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); } else { if (includesOnlyRetries(lanes) && (alwaysThrottleRetries )) { // This render only included retries, no updates. Throttle committing @@ -23548,7 +24469,7 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { var msUntilTimeout = globalMostRecentFallbackTime + FALLBACK_THROTTLE_MS - now$1(); // Don't bother with a very short suspense time. if (msUntilTimeout > 10) { - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, workInProgressDeferredLane); var nextLanes = getNextLanes(root, NoLanes); if (nextLanes !== NoLanes) { @@ -23562,16 +24483,16 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { // run one after the other. - root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes), msUntilTimeout); + root.timeoutHandle = scheduleTimeout(commitRootWhenReady.bind(null, root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane), msUntilTimeout); return; } } - commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes); + commitRootWhenReady(root, finishedWork, workInProgressRootRecoverableErrors, workInProgressTransitions, lanes, workInProgressDeferredLane); } } -function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes) { +function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. if (includesOnlyNonUrgentLanes(lanes)) { @@ -23596,13 +24517,13 @@ function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, // us that it's ready. This will be canceled if we start work on the // root again. root.cancelPendingCommit = schedulePendingCommit(commitRoot.bind(null, root, recoverableErrors, transitions)); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, spawnedLane); return; } } // Otherwise, commit immediately. - commitRoot(root, recoverableErrors, transitions); + commitRoot(root, recoverableErrors, transitions, spawnedLane); } function isRenderConsistentWithExternalStores(finishedWork) { @@ -23668,14 +24589,14 @@ function isRenderConsistentWithExternalStores(finishedWork) { return true; } -function markRootSuspended(root, suspendedLanes) { +function markRootSuspended(root, suspendedLanes, spawnedLane) { // When suspending, we should always exclude lanes that were pinged or (more // rarely, since we try to avoid it) updated during the render phase. // TODO: Lol maybe there's a better way to factor this besides this // obnoxiously named function :) suspendedLanes = removeLanes(suspendedLanes, workInProgressRootPingedLanes); suspendedLanes = removeLanes(suspendedLanes, workInProgressRootInterleavedUpdatedLanes); - markRootSuspended$1(root, suspendedLanes); + markRootSuspended$1(root, suspendedLanes, spawnedLane); } // This is the entry point for synchronous tasks that don't go // through Scheduler @@ -23721,7 +24642,7 @@ function performSyncWorkOnRoot(root, lanes) { if (exitStatus === RootFatalErrored) { var fatalError = workInProgressRootFatalError; prepareFreshStack(root, NoLanes); - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); throw fatalError; } @@ -23730,7 +24651,7 @@ function performSyncWorkOnRoot(root, lanes) { // The render unwound without completing the tree. This happens in special // cases where need to exit the current render without producing a // consistent tree or committing. - markRootSuspended(root, lanes); + markRootSuspended(root, lanes, NoLane); ensureRootIsScheduled(root); return null; } // We now have a consistent tree. Because this is a sync render, we @@ -23740,7 +24661,7 @@ function performSyncWorkOnRoot(root, lanes) { var finishedWork = root.current.alternate; root.finishedWork = finishedWork; root.finishedLanes = lanes; - commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions); // Before exiting, make sure there's a callback scheduled for the next + commitRoot(root, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressDeferredLane); // Before exiting, make sure there's a callback scheduled for the next // pending level. ensureRootIsScheduled(root); @@ -23748,7 +24669,7 @@ function performSyncWorkOnRoot(root, lanes) { } function flushRoot(root, lanes) { if (lanes !== NoLanes) { - markRootEntangled(root, mergeLanes(lanes, SyncLane)); + upgradePendingLanesToSync(root, lanes); ensureRootIsScheduled(root); if ((executionContext & (RenderContext | CommitContext)) === NoContext) { @@ -23827,11 +24748,11 @@ function isAlreadyRendering() { // place that ever modifies it. Which module it lives in doesn't matter for // performance because this function will get inlined regardless -function setRenderLanes(subtreeRenderLanes) { - renderLanes = subtreeRenderLanes; +function setEntangledRenderLanes(newEntangledRenderLanes) { + entangledRenderLanes = newEntangledRenderLanes; } -function getRenderLanes() { - return renderLanes; +function getEntangledRenderLanes() { + return entangledRenderLanes; } function resetWorkInProgressStack() { @@ -23882,7 +24803,7 @@ function prepareFreshStack(root, lanes) { workInProgressRoot = root; var rootWorkInProgress = createWorkInProgress(root.current, null); workInProgress = rootWorkInProgress; - workInProgressRootRenderLanes = renderLanes = lanes; + workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; workInProgressRootDidAttachPingListener = false; @@ -23891,8 +24812,17 @@ function prepareFreshStack(root, lanes) { workInProgressRootSkippedLanes = NoLanes; workInProgressRootInterleavedUpdatedLanes = NoLanes; workInProgressRootPingedLanes = NoLanes; + workInProgressDeferredLane = NoLane; workInProgressRootConcurrentErrors = null; - workInProgressRootRecoverableErrors = null; + workInProgressRootRecoverableErrors = null; // Get the lanes that are entangled with whatever we're about to render. We + // track these separately so we can distinguish the priority of the render + // task from the priority of the lanes it is entangled with. For example, a + // transition may not be allowed to finish unless it includes the Sync lane, + // which is currently suspended. We should be able to render the Transition + // and Sync lane in the same batch, but at Transition priority, because the + // Sync lane already suspended. + + entangledRenderLanes = getEntangledLanes(root, lanes); finishQueueingConcurrentUpdates(); { @@ -24110,7 +25040,7 @@ function renderDidSuspendDelayIfPossible() { workInProgressRootExitStatus = RootSuspendedWithDelay; // Check if there are updates that we skipped tree that might have unblocked // this render. - if (workInProgressRoot !== null && (includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes))) { + if ((includesNonIdleWork(workInProgressRootSkippedLanes) || includesNonIdleWork(workInProgressRootInterleavedUpdatedLanes)) && workInProgressRoot !== null) { // Mark the current render as suspended so that we switch to working on // the updates that were skipped. Usually we only suspend at the end of // the render phase. @@ -24120,8 +25050,7 @@ function renderDidSuspendDelayIfPossible() { // pinged or updated while we were rendering. // TODO: Consider unwinding immediately, using the // SuspendedOnHydration mechanism. - // $FlowFixMe[incompatible-call] need null check workInProgressRoot - markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes); + markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane); } } function renderDidError(error) { @@ -24554,10 +25483,10 @@ function performUnitOfWork(unitOfWork) { if ((unitOfWork.mode & ProfileMode) !== NoMode) { startProfilerTimer(unitOfWork); - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); stopProfilerTimerIfRunningAndRecordDelta(unitOfWork, true); } else { - next = beginWork(current, unitOfWork, renderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); } resetCurrentFiber(); @@ -24653,8 +25582,8 @@ function replaySuspendedUnitOfWork(unitOfWork) { // reconciled previously. So it's intentional that we don't call // resetSuspendedWorkLoopOnUnwind here. unwindInterruptedWork(current, unitOfWork); - unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, renderLanes); - next = beginWork(current, unitOfWork, renderLanes); + unitOfWork = workInProgress = resetWorkInProgress(unitOfWork, entangledRenderLanes); + next = beginWork(current, unitOfWork, entangledRenderLanes); break; } } @@ -24757,10 +25686,10 @@ function completeUnitOfWork(unitOfWork) { var next = void 0; if ((completedWork.mode & ProfileMode) === NoMode) { - next = completeWork(current, completedWork, renderLanes); + next = completeWork(current, completedWork, entangledRenderLanes); } else { startProfilerTimer(completedWork); - next = completeWork(current, completedWork, renderLanes); // Update render duration assuming we didn't error. + next = completeWork(current, completedWork, entangledRenderLanes); // Update render duration assuming we didn't error. stopProfilerTimerIfRunningAndRecordDelta(completedWork, false); } @@ -24865,7 +25794,7 @@ function unwindUnitOfWork(unitOfWork) { workInProgress = null; } -function commitRoot(root, recoverableErrors, transitions) { +function commitRoot(root, recoverableErrors, transitions, spawnedLane) { // TODO: This no longer makes any sense. We already wrap the mutation and // layout phases. Should be able to remove. var previousUpdateLanePriority = getCurrentUpdatePriority(); @@ -24874,7 +25803,7 @@ function commitRoot(root, recoverableErrors, transitions) { try { ReactCurrentBatchConfig$1.transition = null; setCurrentUpdatePriority(DiscreteEventPriority); - commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority); + commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority, spawnedLane); } finally { ReactCurrentBatchConfig$1.transition = prevTransition; setCurrentUpdatePriority(previousUpdateLanePriority); @@ -24883,7 +25812,7 @@ function commitRoot(root, recoverableErrors, transitions) { return null; } -function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) { +function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel, spawnedLane) { do { // `flushPassiveEffects` will call `flushSyncUpdateQueue` at the end, which // means `flushPassiveEffects` will sometimes result in additional @@ -24941,7 +25870,7 @@ function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLeve var concurrentlyUpdatedLanes = getConcurrentlyUpdatedLanes(); remainingLanes = mergeLanes(remainingLanes, concurrentlyUpdatedLanes); - markRootFinished(root, remainingLanes); + markRootFinished(root, remainingLanes, spawnedLane); if (root === workInProgressRoot) { // We can reset these now that they are finished. @@ -27000,7 +27929,7 @@ identifierPrefix, onRecoverableError, transitionCallbacks, formState) { return root; } -var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; +var ReactVersion = '18.3.0-canary-d803f519e-20231020'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { @@ -28280,6 +29209,114 @@ var WheelEventInterface = assign({}, MouseEventInterface, { var SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface); +/** + * This plugin invokes action functions on forms, inputs and buttons if + * the form doesn't prevent default. + */ + +function extractEvents$6(dispatchQueue, domEventName, maybeTargetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) { + if (domEventName !== 'submit') { + return; + } + + if (!maybeTargetInst || maybeTargetInst.stateNode !== nativeEventTarget) { + // If we're inside a parent root that itself is a parent of this root, then + // its deepest target won't be the actual form that's being submitted. + return; + } + + var formInst = maybeTargetInst; + var form = nativeEventTarget; + var action = getFiberCurrentPropsFromNode(form).action; + var submitter = nativeEvent.submitter; + var submitterAction; + + if (submitter) { + var submitterProps = getFiberCurrentPropsFromNode(submitter); + submitterAction = submitterProps ? submitterProps.formAction : submitter.getAttribute('formAction'); + + if (submitterAction != null) { + // The submitter overrides the form action. + action = submitterAction; // If the action is a function, we don't want to pass its name + // value to the FormData since it's controlled by the server. + + submitter = null; + } + } + + if (typeof action !== 'function') { + return; + } + + var event = new SyntheticEvent('action', 'action', null, nativeEvent, nativeEventTarget); + + function submitForm() { + if (nativeEvent.defaultPrevented) { + // We let earlier events to prevent the action from submitting. + return; + } // Prevent native navigation. + + + event.preventDefault(); + var formData; + + if (submitter) { + // The submitter's value should be included in the FormData. + // It should be in the document order in the form. + // Since the FormData constructor invokes the formdata event it also + // needs to be available before that happens so after construction it's too + // late. We use a temporary fake node for the duration of this event. + // TODO: FormData takes a second argument that it's the submitter but this + // is fairly new so not all browsers support it yet. Switch to that technique + // when available. + var temp = submitter.ownerDocument.createElement('input'); + temp.name = submitter.name; + temp.value = submitter.value; + submitter.parentNode.insertBefore(temp, submitter); + formData = new FormData(form); + temp.parentNode.removeChild(temp); + } else { + formData = new FormData(form); + } + + var pendingState = { + pending: true, + data: formData, + method: form.method, + action: action + }; + + { + Object.freeze(pendingState); + } + + startHostTransition(formInst, pendingState, action, formData); + } + + dispatchQueue.push({ + event: event, + listeners: [{ + instance: null, + listener: submitForm, + currentTarget: form + }] + }); +} +function dispatchReplayedFormAction(formInst, form, action, formData) { + var pendingState = { + pending: true, + data: formData, + method: form.method, + action: action + }; + + { + Object.freeze(pendingState); + } + + startHostTransition(formInst, pendingState, action, formData); +} + // has this definition built-in. var hasScheduledReplayAttempt = false; // The last of each continuous event type. We only need to replay the last one @@ -28562,6 +29599,65 @@ function scheduleCallbackIfUnblocked(queuedEvent, unblocked) { } } // [form, submitter or action, formData...] + +var lastScheduledReplayQueue = null; + +function replayUnblockedFormActions(formReplayingQueue) { + if (lastScheduledReplayQueue === formReplayingQueue) { + lastScheduledReplayQueue = null; + } + + for (var i = 0; i < formReplayingQueue.length; i += 3) { + var form = formReplayingQueue[i]; + var submitterOrAction = formReplayingQueue[i + 1]; + var formData = formReplayingQueue[i + 2]; + + if (typeof submitterOrAction !== 'function') { + // This action is not hydrated yet. This might be because it's blocked on + // a different React instance or higher up our tree. + var blockedOn = findInstanceBlockingTarget(submitterOrAction || form); + + if (blockedOn === null) { + // We're not blocked but we don't have an action. This must mean that + // this is in another React instance. We'll just skip past it. + continue; + } else { + // We're blocked on something in this React instance. We'll retry later. + break; + } + } + + var formInst = getInstanceFromNode(form); + + if (formInst !== null) { + // This is part of our instance. + // We're ready to replay this. Let's delete it from the queue. + formReplayingQueue.splice(i, 3); + i -= 3; + dispatchReplayedFormAction(formInst, form, submitterOrAction, formData); // Continue without incrementing the index. + + continue; + } // This form must've been part of a different React instance. + // If we want to preserve ordering between React instances on the same root + // we'd need some way for the other instance to ping us when it's done. + // We'll just skip this and let the other instance execute it. + + } +} + +function scheduleReplayQueueIfNeeded(formReplayingQueue) { + // Schedule a callback to execute any unblocked form actions in. + // We only keep track of the last queue which means that if multiple React oscillate + // commits, we could schedule more callbacks than necessary but it's not a big deal + // and we only really except one instance. + if (lastScheduledReplayQueue !== formReplayingQueue) { + lastScheduledReplayQueue = formReplayingQueue; + Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, function () { + return replayUnblockedFormActions(formReplayingQueue); + }); + } +} + function retryIfBlockedOn(unblocked) { if (queuedFocus !== null) { scheduleCallbackIfUnblocked(queuedFocus, unblocked); @@ -28605,6 +29701,79 @@ function retryIfBlockedOn(unblocked) { } } } + + { + // Check the document if there are any queued form actions. + var root = unblocked.getRootNode(); + var formReplayingQueue = root.$$reactFormReplay; + + if (formReplayingQueue != null) { + for (var _i = 0; _i < formReplayingQueue.length; _i += 3) { + var form = formReplayingQueue[_i]; + var submitterOrAction = formReplayingQueue[_i + 1]; + var formProps = getFiberCurrentPropsFromNode(form); + + if (typeof submitterOrAction === 'function') { + // This action has already resolved. We're just waiting to dispatch it. + if (!formProps) { + // This was not part of this React instance. It might have been recently + // unblocking us from dispatching our events. So let's make sure we schedule + // a retry. + scheduleReplayQueueIfNeeded(formReplayingQueue); + } + + continue; + } + + var target = form; + + if (formProps) { + // This form belongs to this React instance but the submitter might + // not be done yet. + var action = null; + var submitter = submitterOrAction; + + if (submitter && submitter.hasAttribute('formAction')) { + // The submitter is the one that is responsible for the action. + target = submitter; + var submitterProps = getFiberCurrentPropsFromNode(submitter); + + if (submitterProps) { + // The submitter is part of this instance. + action = submitterProps.formAction; + } else { + var blockedOn = findInstanceBlockingTarget(target); + + if (blockedOn !== null) { + // The submitter is not hydrated yet. We'll wait for it. + continue; + } // The submitter must have been a part of a different React instance. + // Except the form isn't. We don't dispatch actions in this scenario. + + } + } else { + action = formProps.action; + } + + if (typeof action === 'function') { + formReplayingQueue[_i + 1] = action; + } else { + // Something went wrong so let's just delete this action. + formReplayingQueue.splice(_i, 3); + _i -= 3; + } // Schedule a replay in case this unblocked something. + + + scheduleReplayQueueIfNeeded(formReplayingQueue); + continue; + } // Something above this target is still blocked so we can't continue yet. + // We're not sure if this target is actually part of this React instance + // yet. It could be a different React as a child but at least some parent is. + // We must continue for any further queued actions. + + } + } + } } var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig; // TODO: can we stop exporting these? @@ -30434,7 +31603,7 @@ var topLevelEventsToReactNames = new Map(); // NOTE: Capitalization is important // // prettier-ignore -var simpleEventPluginEvents = ['abort', 'auxClick', 'cancel', 'canPlay', 'canPlayThrough', 'click', 'close', 'contextMenu', 'copy', 'cut', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'pointerCancel', 'pointerDown', 'pointerMove', 'pointerOut', 'pointerOver', 'pointerUp', 'progress', 'rateChange', 'reset', 'resize', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'scroll', 'toggle', 'touchMove', 'waiting', 'wheel']; +var simpleEventPluginEvents = ['abort', 'auxClick', 'cancel', 'canPlay', 'canPlayThrough', 'click', 'close', 'contextMenu', 'copy', 'cut', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'pointerCancel', 'pointerDown', 'pointerMove', 'pointerOut', 'pointerOver', 'pointerUp', 'progress', 'rateChange', 'reset', 'resize', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'scroll', 'scrollEnd', 'toggle', 'touchMove', 'waiting', 'wheel']; function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); @@ -30556,6 +31725,7 @@ function extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, n break; case 'scroll': + case 'scrollend': SyntheticEventCtor = SyntheticUIEvent; break; @@ -30588,11 +31758,11 @@ function extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, n // In the past, React has always bubbled them, but this can be surprising. // We're going to try aligning closer to the browser behavior by not bubbling // them in React either. We'll start by not bubbling onScroll, and then expand. - var accumulateTargetOnly = !inCapturePhase && // TODO: ideally, we'd eventually add all events from + var accumulateTargetOnly = !inCapturePhase && ( // TODO: ideally, we'd eventually add all events from // nonDelegatedEvents list in DOMPluginEventSystem. // Then we can remove this special list. // This is a breaking change that can wait until React 18. - domEventName === 'scroll'; + domEventName === 'scroll' || domEventName === 'scrollend'); var _listeners = accumulateSinglePhaseListeners(targetInst, reactName, nativeEvent.type, inCapturePhase, accumulateTargetOnly); @@ -30645,6 +31815,10 @@ function extractEvents(dispatchQueue, domEventName, targetInst, nativeEvent, nat extractEvents$4(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget); extractEvents$2(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget); extractEvents$5(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget); + + { + extractEvents$6(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget); + } } } // List of events that need to be individually attached to media elements. @@ -30653,7 +31827,7 @@ var mediaEventTypes = ['abort', 'canplay', 'canplaythrough', 'durationchange', ' // set them on the actual target element itself. This is primarily // because these events do not consistently bubble in the DOM. -var nonDelegatedEvents = new Set(['cancel', 'close', 'invalid', 'load', 'scroll', 'toggle'].concat(mediaEventTypes)); +var nonDelegatedEvents = new Set(['cancel', 'close', 'invalid', 'load', 'scroll', 'scrollend', 'toggle'].concat(mediaEventTypes)); function executeDispatch(event, listener, currentTarget) { var type = event.type || 'unknown-event'; @@ -31438,7 +32612,42 @@ function setProp(domElement, tag, key, value, props, prevValue) { validateFormActionInDevelopment(tag, key, value, props); } - if (value == null || typeof value === 'function' || typeof value === 'symbol' || typeof value === 'boolean') { + { + if (typeof value === 'function') { + // Set a javascript URL that doesn't do anything. We don't expect this to be invoked + // because we'll preventDefault, but it can happen if a form is manually submitted or + // if someone calls stopPropagation before React gets the event. + // If CSP is used to block javascript: URLs that's fine too. It just won't show this + // error message but the URL will be logged. + domElement.setAttribute(key, // eslint-disable-next-line no-script-url + "javascript:throw new Error('" + 'A React form was unexpectedly submitted. If you called form.submit() manually, ' + "consider using form.requestSubmit() instead. If you\\'re trying to use " + 'event.stopPropagation() in a submit event handler, consider also calling ' + 'event.preventDefault().' + "')"); + break; + } else if (typeof prevValue === 'function') { + // When we're switching off a Server Action that was originally hydrated. + // The server control these fields during SSR that are now trailing. + // The regular diffing doesn't apply since we compare against the previous props. + // Instead, we need to force them to be set to whatever they should be now. + // This would be a lot cleaner if we did this whole fork in the per-tag approach. + if (key === 'formAction') { + if (tag !== 'input') { + // Setting the name here isn't completely safe for inputs if this is switching + // to become a radio button. In that case we let the tag based override take + // control. + setProp(domElement, tag, 'name', props.name, props, null); + } + + setProp(domElement, tag, 'formEncType', props.formEncType, props, null); + setProp(domElement, tag, 'formMethod', props.formMethod, props, null); + setProp(domElement, tag, 'formTarget', props.formTarget, props, null); + } else { + setProp(domElement, tag, 'encType', props.encType, props, null); + setProp(domElement, tag, 'method', props.method, props, null); + setProp(domElement, tag, 'target', props.target, props, null); + } + } + } + + if (value == null || !enableFormActions || typeof value === 'symbol' || typeof value === 'boolean') { domElement.removeAttribute(key); break; } // `setAttribute` with objects becomes only `[object]` in IE8/9, @@ -31482,6 +32691,19 @@ function setProp(domElement, tag, key, value, props, prevValue) { break; } + case 'onScrollEnd': + { + if (value != null) { + if (typeof value !== 'function') { + warnForInvalidEventListener(key, value); + } + + listenToNonDelegatedEvent('scrollend', domElement); + } + + break; + } + case 'dangerouslySetInnerHTML': { if (value != null) { @@ -31805,6 +33027,19 @@ function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) { break; } + case 'onScrollEnd': + { + if (value != null) { + if (typeof value !== 'function') { + warnForInvalidEventListener(key, value); + } + + listenToNonDelegatedEvent('scrollend', domElement); + } + + break; + } + case 'onClick': { // TODO: This cast may not be sound for SVG, MathML or custom elements. @@ -33097,6 +34332,12 @@ function diffHydratedCustomComponent(domElement, tag, props, hostContext, extraA } } } // This is the exact URL string we expect that Fizz renders if we provide a function action. +// We use this for hydration warnings. It needs to be in sync with Fizz. Maybe makes sense +// as a shared module for that reason. + + +var EXPECTED_FORM_ACTION_URL = // eslint-disable-next-line no-script-url +"javascript:throw new Error('A React form was unexpectedly submitted.')"; function diffHydratedGenericElement(domElement, tag, props, hostContext, extraAttributes) { for (var propKey in props) { @@ -33196,6 +34437,37 @@ function diffHydratedGenericElement(domElement, tag, props, hostContext, extraAt case 'action': case 'formAction': + { + var _serverValue4 = domElement.getAttribute(propKey); + + if (typeof value === 'function') { + extraAttributes.delete(propKey.toLowerCase()); // The server can set these extra properties to implement actions. + // So we remove them from the extra attributes warnings. + + if (propKey === 'formAction') { + extraAttributes.delete('name'); + extraAttributes.delete('formenctype'); + extraAttributes.delete('formmethod'); + extraAttributes.delete('formtarget'); + } else { + extraAttributes.delete('enctype'); + extraAttributes.delete('method'); + extraAttributes.delete('target'); + } // Ideally we should be able to warn if the server value was not a function + // however since the function can return any of these attributes any way it + // wants as a custom progressive enhancement, there's nothing to compare to. + // We can check if the function has the $FORM_ACTION property on the client + // and if it's not, warn, but that's an unnecessary constraint that they + // have to have the extra extension that doesn't do anything on the client. + + + continue; + } else if (_serverValue4 === EXPECTED_FORM_ACTION_URL) { + extraAttributes.delete(propKey.toLowerCase()); + warnForPropDifference(propKey, 'function', value); + continue; + } + } hydrateSanitizedAttribute(domElement, propKey, propKey.toLowerCase(), value, extraAttributes); continue; @@ -33502,6 +34774,10 @@ function diffHydratedProperties(domElement, tag, props, isConcurrentMode, should listenToNonDelegatedEvent('scroll', domElement); } + if (props.onScrollEnd != null) { + listenToNonDelegatedEvent('scrollend', domElement); + } + if (props.onClick != null) { // TODO: This cast may not be sound for SVG, MathML or custom elements. trapClickOnNonInteractiveElement(domElement); @@ -33662,6 +34938,8 @@ var SUSPENSE_START_DATA = '$'; var SUSPENSE_END_DATA = '/$'; var SUSPENSE_PENDING_START_DATA = '$?'; var SUSPENSE_FALLBACK_START_DATA = '$!'; +var FORM_STATE_IS_MATCHING = 'F!'; +var FORM_STATE_IS_NOT_MATCHING = 'F'; var STYLE = 'style'; var HostContextNamespaceNone = 0; var HostContextNamespaceSvg = 1; @@ -34256,14 +35534,24 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) { if (element.nodeName.toLowerCase() !== type.toLowerCase()) { if (!inRootOrSingleton || !enableHostSingletons) { // Usually we error for mismatched tags. - { + if (element.nodeName === 'INPUT' && element.type === 'hidden') ; else { return null; } } // In root or singleton parents we skip past mismatched instances. } else if (!inRootOrSingleton || !enableHostSingletons) { // Match - { + if (type === 'input' && element.type === 'hidden') { + { + checkAttributeStringCoercion(anyProps.name, 'name'); + } + + var name = anyProps.name == null ? null : '' + anyProps.name; + + if (anyProps.type !== 'hidden' || element.getAttribute('name') !== name) ; else { + return element; + } + } else { return element; } } else if (isMarkedHoistable(element)) ; else { @@ -34373,7 +35661,7 @@ function canHydrateTextInstance(instance, text, inRootOrSingleton) { if (text === '') return null; while (instance.nodeType !== TEXT_NODE) { - if (!inRootOrSingleton || !enableHostSingletons) { + if (instance.nodeType === ELEMENT_NODE && instance.nodeName === 'INPUT' && instance.type === 'hidden') ; else if (!inRootOrSingleton || !enableHostSingletons) { return null; } @@ -34437,6 +35725,33 @@ function getSuspenseInstanceFallbackErrorDetails(instance) { function registerSuspenseInstanceRetry(instance, callback) { instance._reactRetry = callback; } +function canHydrateFormStateMarker(instance, inRootOrSingleton) { + while (instance.nodeType !== COMMENT_NODE) { + if (!inRootOrSingleton || !enableHostSingletons) { + return null; + } + + var nextInstance = getNextHydratableSibling(instance); + + if (nextInstance === null) { + return null; + } + + instance = nextInstance; + } + + var nodeData = instance.data; + + if (nodeData === FORM_STATE_IS_MATCHING || nodeData === FORM_STATE_IS_NOT_MATCHING) { + var markerInstance = instance; + return markerInstance; + } + + return null; +} +function isFormStateMarkerMatching(markerInstance) { + return markerInstance.data === FORM_STATE_IS_MATCHING; +} function getNextHydratable(node) { // Skip non-hydratable nodes. @@ -34450,7 +35765,7 @@ function getNextHydratable(node) { if (nodeType === COMMENT_NODE) { var nodeData = node.data; - if (nodeData === SUSPENSE_START_DATA || nodeData === SUSPENSE_FALLBACK_START_DATA || nodeData === SUSPENSE_PENDING_START_DATA || enableFormActions ) { + if (nodeData === SUSPENSE_START_DATA || nodeData === SUSPENSE_FALLBACK_START_DATA || nodeData === SUSPENSE_PENDING_START_DATA || (nodeData === FORM_STATE_IS_MATCHING || nodeData === FORM_STATE_IS_NOT_MATCHING)) { break; } @@ -34558,6 +35873,9 @@ function commitHydratedSuspenseInstance(suspenseInstance) { // Retry if any event replaying was blocked on this. retryIfBlockedOn(suspenseInstance); } +function shouldDeleteUnhydratedTailInstances(parentType) { + return (parentType !== 'form' && parentType !== 'button'); +} function didNotMatchHydratedContainerTextInstance(parentContainer, textInstance, text, isConcurrentMode, shouldWarnDev) { checkForUnmatchedText(textInstance.nodeValue, text, isConcurrentMode, shouldWarnDev); } @@ -36088,6 +37406,8 @@ function insertStylesheetIntoRoot(root, resource, map) { resource.state.loading |= Inserted; } +var NotPendingTransition = NotPending; + var Dispatcher$1 = Internals.Dispatcher; if (typeof document !== 'undefined') { @@ -36258,6 +37578,12 @@ function hydrateRoot$1(container, initialChildren, options) { if (options.unstable_transitionCallbacks !== undefined) { transitionCallbacks = options.unstable_transitionCallbacks; } + + { + if (options.formState !== undefined) { + formState = options.formState; + } + } } var root = createHydrationContainer(initialChildren, null, container, ConcurrentRoot, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError, transitionCallbacks, formState); @@ -36908,6 +38234,8 @@ exports.render = render; exports.unmountComponentAtNode = unmountComponentAtNode; exports.unstable_batchedUpdates = batchedUpdates$1; exports.unstable_renderSubtreeIntoContainer = renderSubtreeIntoContainer; +exports.useFormState = useFormState; +exports.useFormStatus = useFormStatus; exports.version = ReactVersion; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.production.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom.production.min.js index 3bb4071fbdec0..cfb4cf44c1241 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.production.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.production.min.js @@ -11,403 +11,420 @@ Modernizr 3.0.0pre (Custom Build) | MIT */ 'use strict';var aa=require("next/dist/compiled/react"),ba=require("next/dist/compiled/scheduler"),ca={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function t(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -var C=Object.assign,ea=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fa=[],ha=-1;function ia(a){return{current:a}}function D(a){0>ha||(a.current=fa[ha],fa[ha]=null,ha--)}function E(a,b){ha++;fa[ha]=a.current;a.current=b} -var ja=Symbol.for("react.element"),ka=Symbol.for("react.portal"),la=Symbol.for("react.fragment"),ma=Symbol.for("react.strict_mode"),na=Symbol.for("react.profiler"),oa=Symbol.for("react.provider"),pa=Symbol.for("react.context"),qa=Symbol.for("react.server_context"),ra=Symbol.for("react.forward_ref"),sa=Symbol.for("react.suspense"),ta=Symbol.for("react.suspense_list"),ua=Symbol.for("react.memo"),va=Symbol.for("react.lazy"),wa=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); -var xa=Symbol.for("react.offscreen"),ya=Symbol.for("react.legacy_hidden"),za=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Aa=Symbol.for("react.default_value"),Ba=Symbol.iterator;function Ca(a){if(null===a||"object"!==typeof a)return null;a=Ba&&a[Ba]||a["@@iterator"];return"function"===typeof a?a:null}var Da=ia(null),Ea=ia(null),Fa=ia(null); -function Ga(a,b){E(Fa,b);E(Ea,a);E(Da,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Ha(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Ha(a),b=Ia(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Da);E(Da,b)}function Ja(){D(Da);D(Ea);D(Fa)}function Ka(a){var b=Da.current;var c=Ia(b,a.type);b!==c&&(E(Ea,a),E(Da,c))}function La(a){Ea.current===a&&(D(Da),D(Ea))} -var Ma=ba.unstable_scheduleCallback,Na=ba.unstable_cancelCallback,Oa=ba.unstable_shouldYield,Pa=ba.unstable_requestPaint,Qa=ba.unstable_now,Ra=ba.unstable_getCurrentPriorityLevel,Sa=ba.unstable_ImmediatePriority,Ta=ba.unstable_UserBlockingPriority,Ua=ba.unstable_NormalPriority,Va=ba.unstable_LowPriority,Wa=ba.unstable_IdlePriority,Xa=null,Ya=null;function Za(a){if(Ya&&"function"===typeof Ya.onCommitFiberRoot)try{Ya.onCommitFiberRoot(Xa,a,void 0,128===(a.current.flags&128))}catch(b){}} -var ab=Math.clz32?Math.clz32:$a,bb=Math.log,cb=Math.LN2;function $a(a){a>>>=0;return 0===a?32:31-(bb(a)/cb|0)|0}var db=128,eb=8388608; -function fb(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return a&8388480;case 8388608:case 16777216:case 33554432:case 67108864:return a&125829120;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912; -case 1073741824:return 1073741824;default:return a}}function gb(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=fb(h):(f&=g,0!==f&&(d=fb(f)))}else g=c&~e,0!==g?d=fb(g):0!==f&&(d=fb(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||32===e&&0!==(f&8388480)))return b;0!==(d&8)&&(d|=c&32);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-ab(b),e=1<<c,d|=a[c],b&=~e;return d} -function hb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return b+5E3;case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} -function ib(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function jb(){var a=db;db<<=1;0===(db&8388480)&&(db=128);return a}function kb(){var a=eb;eb<<=1;0===(eb&125829120)&&(eb=8388608);return a}function lb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function mb(a,b){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} -function nb(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;var d=a.expirationTimes;for(a=a.hiddenUpdates;0<c;){var e=31-ab(c),f=1<<e;b[e]=0;d[e]=-1;var g=a[e];if(null!==g)for(a[e]=null,e=0;e<g.length;e++){var h=g[e];null!==h&&(h.lane&=-1073741825)}c&=~f}} -function ob(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-ab(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}var H=0;function pb(a,b){var c=H;try{return H=a,b()}finally{H=c}}function qb(a){a&=-a;return 2<a?8<a?0!==(a&268435455)?32:536870912:8:2} -var rb=Object.prototype.hasOwnProperty,sb=Math.random().toString(36).slice(2),tb="__reactFiber$"+sb,ub="__reactProps$"+sb,vb="__reactContainer$"+sb,wb="__reactEvents$"+sb,xb="__reactListeners$"+sb,yb="__reactHandles$"+sb,zb="__reactResources$"+sb,Ab="__reactMarker$"+sb;function Cb(a){delete a[tb];delete a[ub];delete a[wb];delete a[xb];delete a[yb]} -function Db(a){var b=a[tb];if(b)return b;for(var c=a.parentNode;c;){if(b=c[vb]||c[tb]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Eb(a);null!==a;){if(c=a[tb])return c;a=Eb(a)}return b}a=c;c=a.parentNode}return null}function Fb(a){if(a=a[tb]||a[vb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function Gb(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function Hb(a){return a[ub]||null} -function Ib(a){var b=a[zb];b||(b=a[zb]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function Jb(a){a[Ab]=!0}var Kb=new Set,Lb={};function Mb(a,b){Nb(a,b);Nb(a+"Capture",b)}function Nb(a,b){Lb[a]=b;for(a=0;a<b.length;a++)Kb.add(b[a])} -var Ob=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),Pb=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Qb= -{},Rb={};function Sb(a){if(rb.call(Rb,a))return!0;if(rb.call(Qb,a))return!1;if(Pb.test(a))return Rb[a]=!0;Qb[a]=!0;return!1}function Tb(a,b,c){if(Sb(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} -function Ub(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function Vb(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var Wb; -function Xb(a){if(void 0===Wb)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);Wb=b&&b[1]||""}return"\n"+Wb+a}var Yb=!1; -function Zb(a,b){if(!a||Yb)return"";Yb=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& -d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,m=g.length-1;1<=h&&0<=m&&f[h]!==g[m];)m--;for(;1<=h&&0<=m;h--,m--)if(f[h]!==g[m]){if(1!==h||1!==m){do if(h--,m--,0>m||f[h]!==g[m]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=m)}break}}}finally{Yb=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?Xb(a):""} -function $b(a){switch(a.tag){case 26:case 27:case 5:return Xb(a.type);case 16:return Xb("Lazy");case 13:return Xb("Suspense");case 19:return Xb("SuspenseList");case 0:case 2:case 15:return a=Zb(a.type,!1),a;case 11:return a=Zb(a.type.render,!1),a;case 1:return a=Zb(a.type,!0),a;default:return""}} -function ac(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case la:return"Fragment";case ka:return"Portal";case na:return"Profiler";case ma:return"StrictMode";case sa:return"Suspense";case ta:return"SuspenseList";case za:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case pa:return(a.displayName||"Context")+".Consumer";case oa:return(a._context.displayName||"Context")+".Provider";case ra:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ua:return b=a.displayName||null,null!==b?b:ac(a.type)||"Memo";case va:b=a._payload;a=a._init;try{return ac(a(b))}catch(c){break}case qa:return(a.displayName||a._globalName)+".Provider"}return null} -function bc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ac(b);case 8:return b===ma?"StrictMode":"Mode"; -case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function cc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} -function dc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} -function ec(a){var b=dc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= -null;delete a[b]}}}}function fc(a){a._valueTracker||(a._valueTracker=ec(a))}function gc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=dc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function hc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var ic=/[\n"\\]/g; -function jc(a){return a.replace(ic,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} -function kc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+cc(b)}else a.value!==""+cc(b)&&(a.value=""+cc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?lc(a,g,cc(b)):null!=c?lc(a,g,cc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&a.checked!==!!e&&(a.checked=e);null!=h&&"function"!== -typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+cc(h):a.removeAttribute("name")} -function mc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+cc(c):"";b=null!=b?""+cc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;h||(a.checked=!!d);a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} -function lc(a,b,c){"number"===b&&hc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var nc=Array.isArray; -function oc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+cc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} -function pc(a,b,c){if(null!=b&&(b=""+cc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+cc(c):""}function qc(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(nc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=cc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)}var rc; -function sc(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{rc=rc||document.createElement("div");rc.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=rc.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}var tc=sc;"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction&&(tc=function(a,b){return MSApp.execUnsafeLocalFunction(function(){return sc(a,b)})});var uc=tc; -function vc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var wc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); -function xc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||wc.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} -function yc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&xc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&xc(a,f,b[f])} -function zc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} -var Ac=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], +var C=Object.assign,da=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=da.ReactCurrentDispatcher,fa={pending:!1,data:null,method:null,action:null},ia=[],ja=-1;function ka(a){return{current:a}}function D(a){0>ja||(a.current=ia[ja],ia[ja]=null,ja--)}function E(a,b){ja++;ia[ja]=a.current;a.current=b} +var la=Symbol.for("react.element"),ma=Symbol.for("react.portal"),na=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),pa=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),ra=Symbol.for("react.context"),sa=Symbol.for("react.server_context"),ta=Symbol.for("react.forward_ref"),ua=Symbol.for("react.suspense"),va=Symbol.for("react.suspense_list"),wa=Symbol.for("react.memo"),xa=Symbol.for("react.lazy"),ya=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); +var za=Symbol.for("react.offscreen"),Aa=Symbol.for("react.legacy_hidden"),Ba=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ca=Symbol.iterator;function Da(a){if(null===a||"object"!==typeof a)return null;a=Ca&&a[Ca]||a["@@iterator"];return"function"===typeof a?a:null}var Ea=ka(null),Fa=ka(null),Ga=ka(null),Ha=ka(null),Ia={$$typeof:ra,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}; +function Ja(a,b){E(Ga,b);E(Fa,a);E(Ea,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Ka(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Ka(a),b=La(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ea);E(Ea,b)}function Ma(){D(Ea);D(Fa);D(Ga)}function Na(a){null!==a.memoizedState&&E(Ha,a);var b=Ea.current;var c=La(b,a.type);b!==c&&(E(Fa,a),E(Ea,c))} +function Oa(a){Fa.current===a&&(D(Ea),D(Fa));Ha.current===a&&(D(Ha),Ia._currentValue=null)}var Pa=ba.unstable_scheduleCallback,Qa=ba.unstable_cancelCallback,Ra=ba.unstable_shouldYield,Sa=ba.unstable_requestPaint,Ta=ba.unstable_now,Ua=ba.unstable_getCurrentPriorityLevel,Va=ba.unstable_ImmediatePriority,Wa=ba.unstable_UserBlockingPriority,Xa=ba.unstable_NormalPriority,Ya=ba.unstable_LowPriority,Za=ba.unstable_IdlePriority,$a=null,ab=null; +function bb(a){if(ab&&"function"===typeof ab.onCommitFiberRoot)try{ab.onCommitFiberRoot($a,a,void 0,128===(a.current.flags&128))}catch(b){}}var db=Math.clz32?Math.clz32:cb,eb=Math.log,fb=Math.LN2;function cb(a){a>>>=0;return 0===a?32:31-(eb(a)/fb|0)|0}var gb=128,hb=4194304; +function ib(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912; +case 1073741824:return 0;default:return a}}function jb(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes;a=a.pingedLanes;var f=c&134217727;0!==f?(c=f&~e,0!==c?d=ib(c):(a&=f,0!==a&&(d=ib(a)))):(c&=~e,0!==c?d=ib(c):0!==a&&(d=ib(a)));return 0===d?0:0!==b&&b!==d&&0===(b&e)&&(e=d&-d,a=b&-b,e>=a||32===e&&0!==(a&4194176))?b:d} +function kb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} +function lb(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-536870913;return 0!==a?a:a&536870912?536870912:0}function mb(){var a=hb;hb<<=1;0===(hb&62914560)&&(hb=4194304);return a}function nb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function ob(a,b){a.pendingLanes|=b;268435456!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} +function pb(a,b,c){var d=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;for(var e=a.expirationTimes,f=a.hiddenUpdates;0<d;){var g=31-db(d),h=1<<g;b[g]=0;e[g]=-1;var l=f[g];if(null!==l)for(f[g]=null,g=0;g<l.length;g++){var p=l[g];null!==p&&(p.lane&=-536870913)}d&=~h}0!==c&&qb(a,c,0)} +function qb(a,b,c){a.pendingLanes|=b;a.suspendedLanes&=~b;var d=31-db(b);a.entangledLanes|=b;a.entanglements[d]=a.entanglements[d]|1073741824|c}function rb(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-db(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}function sb(a,b){a.pendingLanes|=2;for(a.entangledLanes|=2;b;){var c=1<<31-db(b);a.entanglements[1]|=c;b&=~c}}var F=0;function tb(a,b){var c=F;try{return F=a,b()}finally{F=c}} +function ub(a){a&=-a;return 2<a?8<a?0!==(a&134217727)?32:268435456:8:2}var vb=Object.prototype.hasOwnProperty,wb=Math.random().toString(36).slice(2),xb="__reactFiber$"+wb,yb="__reactProps$"+wb,zb="__reactContainer$"+wb,Ab="__reactEvents$"+wb,Bb="__reactListeners$"+wb,Cb="__reactHandles$"+wb,Db="__reactResources$"+wb,Fb="__reactMarker$"+wb;function Gb(a){delete a[xb];delete a[yb];delete a[Ab];delete a[Bb];delete a[Cb]} +function Hb(a){var b=a[xb];if(b)return b;for(var c=a.parentNode;c;){if(b=c[zb]||c[xb]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Ib(a);null!==a;){if(c=a[xb])return c;a=Ib(a)}return b}a=c;c=a.parentNode}return null}function Jb(a){if(a=a[xb]||a[zb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function Kb(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function Lb(a){return a[yb]||null} +function Mb(a){var b=a[Db];b||(b=a[Db]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function Nb(a){a[Fb]=!0}var Ob=new Set,Pb={};function Qb(a,b){Rb(a,b);Rb(a+"Capture",b)}function Rb(a,b){Pb[a]=b;for(a=0;a<b.length;a++)Ob.add(b[a])} +var Sb=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),Tb=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ub= +{},Vb={};function Wb(a){if(vb.call(Vb,a))return!0;if(vb.call(Ub,a))return!1;if(Tb.test(a))return Vb[a]=!0;Ub[a]=!0;return!1}function Xb(a,b,c){if(Wb(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} +function Yb(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function Zb(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var $b; +function ac(a){if(void 0===$b)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);$b=b&&b[1]||""}return"\n"+$b+a}var bc=!1; +function cc(a,b){if(!a||bc)return"";bc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& +d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,l=g.length-1;1<=h&&0<=l&&f[h]!==g[l];)l--;for(;1<=h&&0<=l;h--,l--)if(f[h]!==g[l]){if(1!==h||1!==l){do if(h--,l--,0>l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{bc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?ac(a):""} +function dc(a){switch(a.tag){case 26:case 27:case 5:return ac(a.type);case 16:return ac("Lazy");case 13:return ac("Suspense");case 19:return ac("SuspenseList");case 0:case 2:case 15:return a=cc(a.type,!1),a;case 11:return a=cc(a.type.render,!1),a;case 1:return a=cc(a.type,!0),a;default:return""}} +function ec(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case na:return"Fragment";case ma:return"Portal";case pa:return"Profiler";case oa:return"StrictMode";case ua:return"Suspense";case va:return"SuspenseList";case Ba:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ra:return(a.displayName||"Context")+".Consumer";case qa:return(a._context.displayName||"Context")+".Provider";case ta:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case wa:return b=a.displayName||null,null!==b?b:ec(a.type)||"Memo";case xa:b=a._payload;a=a._init;try{return ec(a(b))}catch(c){}}return null} +function fc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ec(b);case 8:return b===oa?"StrictMode":"Mode"; +case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function gc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} +function hc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} +function ic(a){var b=hc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= +null;delete a[b]}}}}function jc(a){a._valueTracker||(a._valueTracker=ic(a))}function kc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=hc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function lc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var mc=/[\n"\\]/g; +function nc(a){return a.replace(mc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} +function oc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+gc(b)}else a.value!==""+gc(b)&&(a.value=""+gc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?pc(a,g,gc(b)):null!=c?pc(a,g,gc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== +typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+gc(h):a.removeAttribute("name")} +function qc(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+gc(c):"";b=null!=b?""+gc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} +function pc(a,b,c){"number"===b&&lc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var rc=Array.isArray; +function sc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+gc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} +function tc(a,b,c){if(null!=b&&(b=""+gc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+gc(c):""}function uc(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(rc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=gc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)}var vc; +function wc(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{vc=vc||document.createElement("div");vc.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=vc.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}var xc=wc;"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction&&(xc=function(a,b){return MSApp.execUnsafeLocalFunction(function(){return wc(a,b)})});var yc=xc; +function zc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Ac=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); +function Bc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||Ac.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} +function Cc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&Bc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&Bc(a,f,b[f])} +function Dc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} +var Ec=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Bc=null;function Cc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Dc=null,Ec=null; -function Fc(a){var b=Fb(a);if(b&&(a=b.stateNode)){var c=Hb(a);a:switch(a=b.stateNode,b.type){case "input":kc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+jc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Hb(d);if(!e)throw Error(t(90));kc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, -e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&gc(d)}break a;case "textarea":pc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&oc(a,!!c.multiple,b,!1)}}}function Gc(a){Dc?Ec?Ec.push(a):Ec=[a]:Dc=a}function Hc(){if(Dc){var a=Dc,b=Ec;Ec=Dc=null;Fc(a);if(b)for(a=0;a<b.length;a++)Fc(b[a])}}function Ic(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} -function Jc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Kc(a){if(Ic(a)!==a)throw Error(t(188));} -function Lc(a){var b=a.alternate;if(!b){b=Ic(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Kc(e),a;if(f===d)return Kc(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== -c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function Mc(a){a=Lc(a);return null!==a?Nc(a):null}function Nc(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=Nc(a);if(null!==b)return b;a=a.sibling}return null}var Oc={},Pc=ia(Oc),Qc=ia(!1),Rc=Oc; -function Sc(a,b){var c=a.type.contextTypes;if(!c)return Oc;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function Tc(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Uc(){D(Qc);D(Pc)} -function Vc(a,b,c){if(Pc.current!==Oc)throw Error(t(168));E(Pc,b);E(Qc,c)}function Wc(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,bc(a)||"Unknown",e));return C({},c,d)}function Xc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Oc;Rc=Pc.current;E(Pc,a);E(Qc,Qc.current);return!0} -function Yc(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=Wc(a,b,Rc),d.__reactInternalMemoizedMergedChildContext=a,D(Qc),D(Pc),E(Pc,a)):D(Qc);E(Qc,c)}function Zc(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var $c="function"===typeof Object.is?Object.is:Zc,ad=[],bd=0,cd=null,dd=0,ed=[],fd=0,gd=null,hd=1,id="";function jd(a,b){ad[bd++]=dd;ad[bd++]=cd;cd=a;dd=b} -function kd(a,b,c){ed[fd++]=hd;ed[fd++]=id;ed[fd++]=gd;gd=a;var d=hd;a=id;var e=32-ab(d)-1;d&=~(1<<e);c+=1;var f=32-ab(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;hd=1<<32-ab(b)+e|c<<e|d;id=f+a}else hd=1<<f|c<<e|d,id=a}function ld(a){null!==a.return&&(jd(a,1),kd(a,1,0))}function md(a){for(;a===cd;)cd=ad[--bd],ad[bd]=null,dd=ad[--bd],ad[bd]=null;for(;a===gd;)gd=ed[--fd],ed[fd]=null,id=ed[--fd],ed[fd]=null,hd=ed[--fd],ed[fd]=null}var I=null,J=null,K=!1,nd=null,od=!1; -function pd(a,b){var c=qd(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function rd(a,b){b.flags=b.flags&-4097|2}function sd(a,b){b=td(b,a.type,a.pendingProps,od);return null!==b?(a.stateNode=b,I=a,J=ud(b.firstChild),od=!1,!0):!1}function vd(a,b){b=wd(b,a.pendingProps,od);return null!==b?(a.stateNode=b,I=a,J=null,!0):!1} -function xd(a,b){a:{var c=b;for(b=od;8!==c.nodeType;){if(!b){b=null;break a}c=ud(c.nextSibling);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==gd?{id:hd,overflow:id}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:1073741824},c=qd(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,I=a,J=null,!0):!1}function yd(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function zd(){throw Error(t(418));} -function Ad(a){for(I=a.return;I;)switch(I.tag){case 3:case 27:od=!0;return;case 5:case 13:od=!1;return;default:I=I.return}} -function Bd(a){if(a!==I)return!1;if(!K)return Ad(a),K=!0,!1;var b=!1;3===a.tag||27===a.tag||5===a.tag&&Cd(a.type,a.memoizedProps)||(b=!0);if(b&&(b=J))if(yd(a))Dd(),zd();else for(;b;)pd(a,b),b=ud(b.nextSibling);Ad(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if("/$"===c){if(0===b){J=ud(a.nextSibling);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++}a=a.nextSibling}J=null}}else J=I?ud(a.stateNode.nextSibling): -null;return!0}function Dd(){for(var a=J;a;)a=ud(a.nextSibling)}function Ed(){J=I=null;K=!1}function Fd(a){null===nd?nd=[a]:nd.push(a)}var Gd=[],Hd=0,Id=0;function Jd(){for(var a=Hd,b=Id=Hd=0;b<a;){var c=Gd[b];Gd[b++]=null;var d=Gd[b];Gd[b++]=null;var e=Gd[b];Gd[b++]=null;var f=Gd[b];Gd[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&Kd(c,e,f)}} -function Ld(a,b,c,d){Gd[Hd++]=a;Gd[Hd++]=b;Gd[Hd++]=c;Gd[Hd++]=d;Id|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function Md(a,b){Ld(a,null,null,b);return Nd(a)} -function Kd(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-ab(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|1073741824)}function Nd(a){if(50<Od)throw Od=0,Pd=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} -var Qd=!1;function Rd(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Sd(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Td(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} -function Ud(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(L&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=Nd(a);Kd(a,null,c);return b}Ld(a,d,b,c);return Nd(a)}function Vd(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&8388480))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;ob(a,c)}} -function Wd(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} -function Xd(a,b,c,d){var e=a.updateQueue;Qd=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var m=h,p=m.next;m.next=null;null===g?f=p:g.next=p;g=m;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=m))}if(null!==f){var w=e.baseState;g=0;q=p=m=null;h=f;do{var r=h.lane&-1073741825,u=r!==h.lane;if(u?(M&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, -callback:null,next:null});a:{var z=a,B=h;r=b;var S=c;switch(B.tag){case 1:z=B.payload;if("function"===typeof z){w=z.call(S,w,r);break a}w=z;break a;case 3:z.flags=z.flags&-65537|128;case 0:z=B.payload;r="function"===typeof z?z.call(S,w,r):z;if(null===r||void 0===r)break a;w=C({},w,r);break a;case 2:Qd=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, -m=w):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(m=w);e.baseState=m;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);Yd|=g;a.lanes=g;a.memoizedState=w}}function Zd(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function $d(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)Zd(c[a],b)} -function ae(a,b){if($c(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!rb.call(b,e)||!$c(a[e],b[e]))return!1}return!0}var be=Error(t(460)),ce=Error(t(474)),de={then:function(){}};function ee(a){a=a.status;return"fulfilled"===a||"rejected"===a}function fe(){} -function ge(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(fe,fe),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===be)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(fe,fe);else{a=N;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; -case "rejected":a=b.reason;if(a===be)throw Error(t(483));throw a;}}he=b;throw be;}}var he=null;function ie(){if(null===he)throw Error(t(459));var a=he;he=null;return a}var je=null,ke=0;function le(a){var b=ke;ke+=1;null===je&&(je=[]);return ge(je,a,b)} -function me(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} -function ne(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function oe(a){var b=a._init;return b(a._payload)} -function pe(a){function b(l,k){if(a){var n=l.deletions;null===n?(l.deletions=[k],l.flags|=16):n.push(k)}}function c(l,k){if(!a)return null;for(;null!==k;)b(l,k),k=k.sibling;return null}function d(l,k){for(l=new Map;null!==k;)null!==k.key?l.set(k.key,k):l.set(k.index,k),k=k.sibling;return l}function e(l,k){l=qe(l,k);l.index=0;l.sibling=null;return l}function f(l,k,n){l.index=n;if(!a)return l.flags|=1048576,k;n=l.alternate;if(null!==n)return n=n.index,n<k?(l.flags|=33554434,k):n;l.flags|=33554434;return k} -function g(l){a&&null===l.alternate&&(l.flags|=33554434);return l}function h(l,k,n,v){if(null===k||6!==k.tag)return k=re(n,l.mode,v),k.return=l,k;k=e(k,n);k.return=l;return k}function m(l,k,n,v){var x=n.type;if(x===la)return q(l,k,n.props.children,v,n.key);if(null!==k&&(k.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===va&&oe(x)===k.type))return v=e(k,n.props),v.ref=me(l,k,n),v.return=l,v;v=se(n.type,n.key,n.props,null,null,l.mode,v);v.ref=me(l,k,n);v.return=l;return v}function p(l,k, -n,v){if(null===k||4!==k.tag||k.stateNode.containerInfo!==n.containerInfo||k.stateNode.implementation!==n.implementation)return k=te(n,l.mode,v),k.return=l,k;k=e(k,n.children||[]);k.return=l;return k}function q(l,k,n,v,x){if(null===k||7!==k.tag)return k=ue(n,l.mode,v,x),k.return=l,k;k=e(k,n);k.return=l;return k}function w(l,k,n){if("string"===typeof k&&""!==k||"number"===typeof k)return k=re(""+k,l.mode,n),k.return=l,k;if("object"===typeof k&&null!==k){switch(k.$$typeof){case ja:return n=se(k.type, -k.key,k.props,null,null,l.mode,n),n.ref=me(l,null,k),n.return=l,n;case ka:return k=te(k,l.mode,n),k.return=l,k;case va:var v=k._init;return w(l,v(k._payload),n)}if(nc(k)||Ca(k))return k=ue(k,l.mode,n,null),k.return=l,k;if("function"===typeof k.then)return w(l,le(k),n);if(k.$$typeof===pa||k.$$typeof===qa)return w(l,ve(l,k,n),n);ne(l,k)}return null}function r(l,k,n,v){var x=null!==k?k.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==x?null:h(l,k,""+n,v);if("object"===typeof n&& -null!==n){switch(n.$$typeof){case ja:return n.key===x?m(l,k,n,v):null;case ka:return n.key===x?p(l,k,n,v):null;case va:return x=n._init,r(l,k,x(n._payload),v)}if(nc(n)||Ca(n))return null!==x?null:q(l,k,n,v,null);if("function"===typeof n.then)return r(l,k,le(n),v);if(n.$$typeof===pa||n.$$typeof===qa)return r(l,k,ve(l,n,v),v);ne(l,n)}return null}function u(l,k,n,v,x){if("string"===typeof v&&""!==v||"number"===typeof v)return l=l.get(n)||null,h(k,l,""+v,x);if("object"===typeof v&&null!==v){switch(v.$$typeof){case ja:return l= -l.get(null===v.key?n:v.key)||null,m(k,l,v,x);case ka:return l=l.get(null===v.key?n:v.key)||null,p(k,l,v,x);case va:var A=v._init;return u(l,k,n,A(v._payload),x)}if(nc(v)||Ca(v))return l=l.get(n)||null,q(k,l,v,x,null);if("function"===typeof v.then)return u(l,k,n,le(v),x);if(v.$$typeof===pa||v.$$typeof===qa)return u(l,k,n,ve(k,v,x),x);ne(k,v)}return null}function z(l,k,n,v){for(var x=null,A=null,y=k,F=k=0,da=null;null!==y&&F<n.length;F++){y.index>F?(da=y,y=null):da=y.sibling;var G=r(l,y,n[F],v);if(null=== -G){null===y&&(y=da);break}a&&y&&null===G.alternate&&b(l,y);k=f(G,k,F);null===A?x=G:A.sibling=G;A=G;y=da}if(F===n.length)return c(l,y),K&&jd(l,F),x;if(null===y){for(;F<n.length;F++)y=w(l,n[F],v),null!==y&&(k=f(y,k,F),null===A?x=y:A.sibling=y,A=y);K&&jd(l,F);return x}for(y=d(l,y);F<n.length;F++)da=u(y,l,F,n[F],v),null!==da&&(a&&null!==da.alternate&&y.delete(null===da.key?F:da.key),k=f(da,k,F),null===A?x=da:A.sibling=da,A=da);a&&y.forEach(function(Bb){return b(l,Bb)});K&&jd(l,F);return x}function B(l, -k,n,v){var x=Ca(n);if("function"!==typeof x)throw Error(t(150));n=x.call(n);if(null==n)throw Error(t(151));for(var A=x=null,y=k,F=k=0,da=null,G=n.next();null!==y&&!G.done;F++,G=n.next()){y.index>F?(da=y,y=null):da=y.sibling;var Bb=r(l,y,G.value,v);if(null===Bb){null===y&&(y=da);break}a&&y&&null===Bb.alternate&&b(l,y);k=f(Bb,k,F);null===A?x=Bb:A.sibling=Bb;A=Bb;y=da}if(G.done)return c(l,y),K&&jd(l,F),x;if(null===y){for(;!G.done;F++,G=n.next())G=w(l,G.value,v),null!==G&&(k=f(G,k,F),null===A?x=G:A.sibling= -G,A=G);K&&jd(l,F);return x}for(y=d(l,y);!G.done;F++,G=n.next())G=u(y,l,F,G.value,v),null!==G&&(a&&null!==G.alternate&&y.delete(null===G.key?F:G.key),k=f(G,k,F),null===A?x=G:A.sibling=G,A=G);a&&y.forEach(function(gm){return b(l,gm)});K&&jd(l,F);return x}function S(l,k,n,v){"object"===typeof n&&null!==n&&n.type===la&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ja:a:{for(var x=n.key,A=k;null!==A;){if(A.key===x){x=n.type;if(x===la){if(7===A.tag){c(l,A.sibling); -k=e(A,n.props.children);k.return=l;l=k;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===va&&oe(x)===A.type){c(l,A.sibling);k=e(A,n.props);k.ref=me(l,A,n);k.return=l;l=k;break a}c(l,A);break}else b(l,A);A=A.sibling}n.type===la?(k=ue(n.props.children,l.mode,v,n.key),k.return=l,l=k):(v=se(n.type,n.key,n.props,null,null,l.mode,v),v.ref=me(l,k,n),v.return=l,l=v)}return g(l);case ka:a:{for(A=n.key;null!==k;){if(k.key===A)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& -k.stateNode.implementation===n.implementation){c(l,k.sibling);k=e(k,n.children||[]);k.return=l;l=k;break a}else{c(l,k);break}else b(l,k);k=k.sibling}k=te(n,l.mode,v);k.return=l;l=k}return g(l);case va:return A=n._init,T(l,k,A(n._payload),v)}if(nc(n))return z(l,k,n,v);if(Ca(n))return B(l,k,n,v);if("function"===typeof n.then)return S(l,k,le(n),v);if(n.$$typeof===pa||n.$$typeof===qa)return S(l,k,ve(l,n,v),v);ne(l,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(l, -k.sibling),k=e(k,n),k.return=l,l=k):(c(l,k),k=re(n,l.mode,v),k.return=l,l=k),g(l)):c(l,k)}function T(l,k,n,v){ke=0;l=S(l,k,n,v);je=null;return l}return T}var we=pe(!0),xe=pe(!1),ye=ia(null),ze=ia(0);function Ae(a,b){a=Be;E(ze,a);E(ye,b);Be=a|b.baseLanes}function Ce(){E(ze,Be);E(ye,ye.current)}function De(){Be=ze.current;D(ye);D(ze)}var Ee=ia(null),Fe=null;function Ge(a){var b=a.alternate;E(He,He.current&1);E(Ee,a);null===Fe&&(null===b||null!==ye.current?Fe=a:null!==b.memoizedState&&(Fe=a))} -function Ie(a){if(22===a.tag){if(E(He,He.current),E(Ee,a),null===Fe){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Fe=a)}}else Je(a)}function Je(){E(He,He.current);E(Ee,Ee.current)}function Ke(a){D(Ee);Fe===a&&(Fe=null);D(He)}var He=ia(0); -function Le(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Me=null,Ne=null,Oe=!1,Pe=!1,Qe=!1,Re=0; -function Se(a){a!==Ne&&null===a.next&&(null===Ne?Me=Ne=a:Ne=Ne.next=a);Pe=!0;Oe||(Oe=!0,Te(Ue))} -function Ve(a){if(!Qe&&Pe){var b=null;Qe=!0;do{var c=!1;for(var d=Me;null!==d;){if(!a||0===d.tag){var e=M,f=gb(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!We()){var g=Xe(e,f);if(0!==e.tag&&2===g){var h=f,m=ib(e,h);0!==m&&(f=m,g=Ye(e,h,m))}if(1===g)throw h=Ze,$e(e,0),af(e,f),Se(e),h;6===g?af(e,f):(e.finishedWork=e.current.alternate,e.finishedLanes=f,bf(e,cf,df))}Se(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);Qe=!1;if(null!==b){if(1<b.length){if("function"=== -typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)Te(ef.bind(null,b[a]))}throw b[0];}}}function ef(a){throw a;}function Ue(){Pe=Oe=!1;for(var a=Qa(),b=null,c=Me;null!==c;){var d=c.next;0!==Re&&window.event&&"popstate"===window.event.type&&ob(c,Re|2);var e=ff(c,a);0===e?(c.next=null,null===b?Me=d:b.next=d,null===d&&(Ne=b)):(b=c,0!==(e&3)&&(Pe=!0));c=d}Re=0;Ve(!1)} -function ff(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-125829121;0<f;){var g=31-ab(f),h=1<<g,m=e[g];if(-1===m){if(0===(h&c)||0!==(h&d))e[g]=hb(h,b)}else m<=b&&(a.expiredLanes|=h);f&=~h}b=N;c=M;c=gb(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===O||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Na(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Na(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b=== -a.callbackPriority)return b;null!==d&&Na(d);switch(qb(c)){case 2:c=Sa;break;case 8:c=Ta;break;case 32:c=Ua;break;case 536870912:c=Wa;break;default:c=Ua}d=gf.bind(null,a);c=Ma(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function Te(a){hf(function(){0!==(L&6)?Ma(Sa,a):a()})}var jf=0,kf=ea.ReactCurrentDispatcher,lf=ea.ReactCurrentBatchConfig,mf=0,P=null,Q=null,R=null,nf=!1,of=!1,pf=!1,qf=0,rf=0,sf=null,tf=0;function uf(){throw Error(t(321));} -function vf(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!$c(a[c],b[c]))return!1;return!0}function wf(a,b,c,d,e,f){mf=f;P=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;kf.current=null===a||null===a.memoizedState?xf:yf;pf=!1;a=c(d,e);pf=!1;of&&(a=zf(b,c,d,e));Af();return a}function Af(){kf.current=Bf;var a=null!==Q&&null!==Q.next;mf=0;R=Q=P=null;nf=!1;rf=0;sf=null;if(a)throw Error(t(300));} -function zf(a,b,c,d){P=a;var e=0;do{of&&(sf=null);rf=0;of=!1;if(25<=e)throw Error(t(301));e+=1;R=Q=null;a.updateQueue=null;kf.current=Cf;var f=b(c,d)}while(of);return f}function Df(){var a=0!==qf;qf=0;return a}function Ef(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function Ff(a){if(nf){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}nf=!1}mf=0;R=Q=P=null;of=!1;rf=qf=0;sf=null} -function Gf(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===R?P.memoizedState=R=a:R=R.next=a;return R} -function Hf(){if(null===Q){var a=P.alternate;a=null!==a?a.memoizedState:null}else a=Q.next;var b=null===R?P.memoizedState:R.next;if(null!==b)R=b,Q=a;else{if(null===a){if(null===P.alternate)throw Error(t(467));throw Error(t(310));}Q=a;a={memoizedState:Q.memoizedState,baseState:Q.baseState,baseQueue:Q.baseQueue,queue:Q.queue,next:null};null===R?P.memoizedState=R=a:R=R.next=a}return R}var If;If=function(){return{lastEffect:null,events:null,stores:null}}; -function Jf(a){var b=rf;rf+=1;null===sf&&(sf=[]);a=ge(sf,a,b);null===P.alternate&&(null===R?null===P.memoizedState:null===R.next)&&(kf.current=xf);return a}function Kf(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Jf(a);if(a.$$typeof===pa||a.$$typeof===qa)return Lf(a)}throw Error(t(438,String(a)));}function Mf(a,b){return"function"===typeof b?b(a):b} -function Nf(a){var b=Hf(),c=Q,d=b.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=a;var e=b.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}c.baseQueue=e=f;d.pending=null}if(null!==e){c=e.next;f=b.baseState;var h=g=null,m=null,p=c;do{var q=p.lane&-1073741825;if(q!==p.lane?(M&q)===q:(mf&q)===q)null!==m&&(m=m.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),q=p.action,pf&&a(f,q),f=p.hasEagerState? -p.eagerState:a(f,q);else{var w={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===m?(h=m=w,g=f):m=m.next=w;P.lanes|=q;Yd|=q}p=p.next}while(null!==p&&p!==c);null===m?g=f:m.next=h;$c(f,b.memoizedState)||(Of=!0);b.memoizedState=f;b.baseState=g;b.baseQueue=m;d.lastRenderedState=f}null===e&&(d.lanes=0);return[b.memoizedState,d.dispatch]} -function Pf(a){var b=Hf(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);$c(f,b.memoizedState)||(Of=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} -function Qf(a,b,c){var d=P,e=Hf(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!$c((Q||e).memoizedState,c);g&&(e.memoizedState=c,Of=!0);e=e.queue;Rf(Sf.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==R&&R.memoizedState.tag&1){d.flags|=2048;Tf(9,Uf.bind(null,d,e,c,b),{destroy:void 0},null);if(null===N)throw Error(t(349));f||0!==(mf&60)||Vf(d,b,c)}return c} -function Vf(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=P.updateQueue;null===b?(b=If(),P.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function Uf(a,b,c,d){b.value=c;b.getSnapshot=d;Wf(b)&&Xf(a)}function Sf(a,b,c){return c(function(){Wf(b)&&Xf(a)})}function Wf(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!$c(a,c)}catch(d){return!0}}function Xf(a){var b=Md(a,2);null!==b&&Yf(b,a,2)} -function Zf(a){var b=Gf();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mf,lastRenderedState:a};return b}function Tf(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=P.updateQueue;null===b?(b=If(),P.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function $f(){return Hf().memoizedState} -function ag(a,b,c,d){var e=Gf();P.flags|=a;e.memoizedState=Tf(1|b,c,{destroy:void 0},void 0===d?null:d)}function bg(a,b,c,d){var e=Hf();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==Q&&null!==d&&vf(d,Q.memoizedState.deps)?e.memoizedState=Tf(b,c,f,d):(P.flags|=a,e.memoizedState=Tf(1|b,c,f,d))}function cg(a,b){ag(8390656,8,a,b)}function Rf(a,b){bg(2048,8,a,b)}function dg(a,b){return bg(4,2,a,b)}function eg(a,b){return bg(4,4,a,b)} -function fg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function gg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;bg(4,4,fg.bind(null,b,a),c)}function hg(){}function ig(a,b){var c=Hf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&vf(b,d[1]))return d[0];c.memoizedState=[a,b];return a} -function jg(a,b){var c=Hf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&vf(b,d[1]))return d[0];pf&&a();a=a();c.memoizedState=[a,b];return a}function kg(a,b,c){if(0===(mf&42))return a.baseState&&(a.baseState=!1,Of=!0),a.memoizedState=c;$c(c,b)||(c=jb(),P.lanes|=c,Yd|=c,a.baseState=!0);return b}function lg(a,b,c,d,e){var f=H;H=0!==f&&8>f?f:8;var g=lf.transition;lf.transition=null;mg(a,b,c);lf.transition={};try{mg(a,b,d),e()}catch(h){throw h;}finally{H=f,lf.transition=g}} -function ng(){return Hf().memoizedState}function og(){return Hf().memoizedState}function pg(a){for(var b=a.return;null!==b;){switch(b.tag){case 24:case 3:var c=qg(b);a=Td(c);var d=Ud(b,a,c);null!==d&&(Yf(d,b,c),Vd(d,b,c));b={cache:rg()};a.payload=b;return}b=b.return}}function sg(a,b,c){var d=qg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};tg(a)?ug(b,c):(Ld(a,b,c,d),c=Nd(a),null!==c&&(Yf(c,a,d),vg(c,b,d)))} -function mg(a,b,c){var d=qg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(tg(a))ug(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if($c(h,g)){Ld(a,b,e,0);null===N&&Jd();return}}catch(m){}finally{}Ld(a,b,e,d);c=Nd(a);null!==c&&(Yf(c,a,d),vg(c,b,d))}}function tg(a){var b=a.alternate;return a===P||null!==b&&b===P} -function ug(a,b){of=nf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function vg(a,b,c){if(0!==(c&8388480)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;ob(a,c)}}var Bf={readContext:Lf,use:Kf,useCallback:uf,useContext:uf,useEffect:uf,useImperativeHandle:uf,useInsertionEffect:uf,useLayoutEffect:uf,useMemo:uf,useReducer:uf,useRef:uf,useState:uf,useDebugValue:uf,useDeferredValue:uf,useTransition:uf,useSyncExternalStore:uf,useId:uf};Bf.useCacheRefresh=uf; -var xf={readContext:Lf,use:Kf,useCallback:function(a,b){Gf().memoizedState=[a,void 0===b?null:b];return a},useContext:Lf,useEffect:cg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;ag(4194308,4,fg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ag(4194308,4,a,b)},useInsertionEffect:function(a,b){ag(4,2,a,b)},useMemo:function(a,b){var c=Gf();b=void 0===b?null:b;pf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Gf();b=void 0!==c?c(b): -b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=sg.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Gf();a={current:a};return b.memoizedState=a},useState:function(a){a=Zf(a);var b=a.queue,c=mg.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:hg,useDeferredValue:function(a){return Gf().memoizedState=a},useTransition:function(){var a=Zf(!1);a=lg.bind(null,P,a.queue,!0,!1);Gf().memoizedState= -a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Gf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(mf&60)||Vf(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;cg(Sf.bind(null,d,f,a),[a]);d.flags|=2048;Tf(9,Uf.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Gf(),b=N.identifierPrefix;if(K){var c=id;var d=hd;c=(d&~(1<<32-ab(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=qf++;0<c&&(b+="H"+c.toString(32)); -b+=":"}else c=tf++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return Gf().memoizedState=pg.bind(null,P)}},yf={readContext:Lf,use:Kf,useCallback:ig,useContext:Lf,useEffect:Rf,useImperativeHandle:gg,useInsertionEffect:dg,useLayoutEffect:eg,useMemo:jg,useReducer:Nf,useRef:$f,useState:function(){return Nf(Mf)},useDebugValue:hg,useDeferredValue:function(a){var b=Hf();return kg(b,Q.memoizedState,a)},useTransition:function(){var a=Nf(Mf)[0],b=Hf().memoizedState;return["boolean"=== -typeof a?a:Jf(a),b]},useSyncExternalStore:Qf,useId:ng};yf.useCacheRefresh=og; -var Cf={readContext:Lf,use:Kf,useCallback:ig,useContext:Lf,useEffect:Rf,useImperativeHandle:gg,useInsertionEffect:dg,useLayoutEffect:eg,useMemo:jg,useReducer:Pf,useRef:$f,useState:function(){return Pf(Mf)},useDebugValue:hg,useDeferredValue:function(a){var b=Hf();return null===Q?b.memoizedState=a:kg(b,Q.memoizedState,a)},useTransition:function(){var a=Pf(Mf)[0],b=Hf().memoizedState;return["boolean"===typeof a?a:Jf(a),b]},useSyncExternalStore:Qf,useId:ng};Cf.useCacheRefresh=og; -function wg(a,b){if(a&&a.defaultProps){b=C({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}function xg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:C({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} -var yg={isMounted:function(a){return(a=a._reactInternals)?Ic(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=qg(a),e=Td(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=Ud(a,e,d);null!==b&&(Yf(b,a,d),Vd(b,a,d))},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=qg(a),e=Td(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=Ud(a,e,d);null!==b&&(Yf(b,a,d),Vd(b,a,d))},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=qg(a),d=Td(c);d.tag=2;void 0!== -b&&null!==b&&(d.callback=b);b=Ud(a,d,c);null!==b&&(Yf(b,a,c),Vd(b,a,c))}};function zg(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!ae(c,d)||!ae(e,f):!0} -function Ag(a,b,c){var d=!1,e=Oc;var f=b.contextType;"object"===typeof f&&null!==f?f=Lf(f):(e=Tc(b)?Rc:Pc.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Sc(a,e):Oc);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=yg;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} -function Bg(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&yg.enqueueReplaceState(b,b.state,null)} -function Cg(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};Rd(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=Lf(f):(f=Tc(b)?Rc:Pc.current,e.context=Sc(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(xg(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, -"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&yg.enqueueReplaceState(e,e.state,null),Xd(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function Dg(a,b){try{var c="",d=b;do c+=$b(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} -function Eg(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function Fg(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function Gg(a,b,c){c=Td(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Hg||(Hg=!0,Ig=d);Fg(a,b)};return c} -function Jg(a,b,c){c=Td(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Fg(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){Fg(a,b);"function"!==typeof d&&(null===Kg?Kg=new Set([this]):Kg.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} -function Lg(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=Td(2),b.tag=2,Ud(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} -function Mg(a,b,c,d,e){c.flags|=32768;if(null!==d&&"object"===typeof d&&"function"===typeof d.then){var f=c.tag;0!==(c.mode&1)||0!==f&&11!==f&&15!==f||((f=c.alternate)?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null));f=Ee.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===Fe?Ng():null===f.alternate&&0===Og&&(Og=3));f.flags&=-257;Lg(f,b,c,a,e);d===de?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]): -b.add(d),f.mode&1&&Pg(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===de?f.flags|=16384:(b=f.updateQueue,null===b?(b={transitions:null,markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(c=b.retryQueue,null===c?b.retryQueue=new Set([d]):c.add(d)),Pg(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){Pg(a,d,e);Ng();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Ee.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);Lg(f,b,c,a,e);Fd(Dg(d,c));return}a=d=Dg(d,c);4!==Og&&(Og=2); -null===Qg?Qg=[a]:Qg.push(a);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=Gg(a,d,e);Wd(a,e);return;case 1:if(b=d,c=a.type,f=a.stateNode,0===(a.flags&128)&&("function"===typeof c.getDerivedStateFromError||null!==f&&"function"===typeof f.componentDidCatch&&(null===Kg||!Kg.has(f)))){a.flags|=65536;e&=-e;a.lanes|=e;e=Jg(a,b,e);Wd(a,e);return}}a=a.return}while(null!==a)}var Rg=ea.ReactCurrentOwner,Sg=Error(t(461)),Of=!1; -function Tg(a,b,c,d){b.child=null===a?xe(b,null,c,d):we(b,a.child,c,d)}function Ug(a,b,c,d,e){c=c.render;var f=b.ref;Vg(b,e);d=wf(a,b,c,d,f,e);c=Df();if(null!==a&&!Of)return Ef(a,b,e),Wg(a,b,e);K&&c&&ld(b);b.flags|=1;Tg(a,b,d,e);return b.child} -function Xg(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!Yg(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,Zg(a,b,f,d,e);a=se(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:ae;if(c(g,d)&&a.ref===b.ref)return Wg(a,b,e)}b.flags|=1;a=qe(f,d);a.ref=b.ref;a.return=b;return b.child=a} -function Zg(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(ae(f,d)&&a.ref===b.ref)if(Of=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(Of=!0);else return b.lanes=a.lanes,Wg(a,b,e)}return $g(a,b,c,d,e)} -function ah(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;bh(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return ch(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&dh(b,null),Ce(),Ie(b);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0, -cachePool:null},null!==a&&dh(b,null!==g?g.cachePool:null),null!==g?Ae(b,g):Ce(),Ie(b);else return b.lanes=b.childLanes=1073741824,ch(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(dh(b,g.cachePool),Ae(b,g),Je(b),b.memoizedState=null):(null!==a&&dh(b,null),Ce(),Je(b));Tg(a,b,e,c);return b.child}function ch(a,b,c){var d=eh();d=null===d?null:{parent:U._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&dh(b,null);Ce();Ie(b);return null} -function bh(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function $g(a,b,c,d,e){var f=Tc(c)?Rc:Pc.current;f=Sc(b,f);Vg(b,e);c=wf(a,b,c,d,f,e);d=Df();if(null!==a&&!Of)return Ef(a,b,e),Wg(a,b,e);K&&d&&ld(b);b.flags|=1;Tg(a,b,c,e);return b.child}function fh(a,b,c,d,e,f){Vg(b,f);c=zf(b,d,c,e);Af();d=Df();if(null!==a&&!Of)return Ef(a,b,f),Wg(a,b,f);K&&d&&ld(b);b.flags|=1;Tg(a,b,c,f);return b.child} -function gh(a,b,c,d,e){if(Tc(c)){var f=!0;Xc(b)}else f=!1;Vg(b,e);if(null===b.stateNode)hh(a,b),Ag(b,c,d),Cg(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var m=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=Lf(p):(p=Tc(c)?Rc:Pc.current,p=Sc(b,p));var q=c.getDerivedStateFromProps,w="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;w||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| -(h!==d||m!==p)&&Bg(b,g,d,p);Qd=!1;var r=b.memoizedState;g.state=r;Xd(b,d,g,e);m=b.memoizedState;h!==d||r!==m||Qc.current||Qd?("function"===typeof q&&(xg(b,c,q,d),m=b.memoizedState),(h=Qd||zg(b,c,h,d,r,m,p))?(w||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): -("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=m),g.props=d,g.state=m,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;Sd(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:wg(b.type,h);g.props=p;w=b.pendingProps;r=g.context;m=c.contextType;"object"===typeof m&&null!==m?m=Lf(m):(m=Tc(c)?Rc:Pc.current,m=Sc(b,m));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| -"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==w||r!==m)&&Bg(b,g,d,m);Qd=!1;r=b.memoizedState;g.state=r;Xd(b,d,g,e);var z=b.memoizedState;h!==w||r!==z||Qc.current||Qd?("function"===typeof u&&(xg(b,c,u,d),z=b.memoizedState),(p=Qd||zg(b,c,p,d,r,z,m)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,z,m),"function"===typeof g.UNSAFE_componentWillUpdate&& -g.UNSAFE_componentWillUpdate(d,z,m)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=z),g.props=d,g.state=z,g.context=m,d=p):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r=== -a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return ih(a,b,c,d,f,e)} -function ih(a,b,c,d,e,f){bh(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&Yc(b,c,!1),Wg(a,b,f);d=b.stateNode;Rg.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=we(b,a.child,null,f),b.child=we(b,null,h,f)):Tg(a,b,h,f);b.memoizedState=d.state;e&&Yc(b,c,!0);return b.child}function jh(a){var b=a.stateNode;b.pendingContext?Vc(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Vc(a,b.context,!1);Ga(a,b.containerInfo)} -function kh(a,b,c,d,e){Ed();Fd(e);b.flags|=256;Tg(a,b,c,d);return b.child}var lh={dehydrated:null,treeContext:null,retryLane:0};function mh(a){return{baseLanes:a,cachePool:nh()}} -function oh(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(He.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?Ge(b):Je(b);K&&((f=a=J,f)?xd(b,f)||(yd(b)&&zd(),J=ud(f.nextSibling),g=I,J&&xd(b,J)?pd(g,f):(rd(I,b),K=!1,I=b,J=a)):(yd(b)&&zd(),rd(I,b),K=!1,I=b,J=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=1073741824,null;Ke(b)}f=d.children;a=d.fallback;if(e)return Je(b), -d=b.mode,e=b.child,f={mode:"hidden",children:f},0===(d&1)&&null!==e?(e.childLanes=0,e.pendingProps=f):e=ph(f,d,0,null),a=ue(a,d,c,null),e.return=b,a.return=b,e.sibling=a,b.child=e,b.child.memoizedState=mh(c),b.memoizedState=lh,a;Ge(b);return qh(b,f)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return rh(a,b,f,d,h,g,c)}if(e){Je(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var m={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=m, -b.deletions=null):(d=qe(g,m),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=qe(h,e):(e=ue(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=mh(c):(g=f.cachePool,null!==g?(h=U._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=nh(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState=lh;return d}Ge(b);e=a.child;a=e.sibling;d=qe(e,{mode:"visible",children:d.children});0===(b.mode& -1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function qh(a,b){b=ph({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b}function sh(a,b,c,d){null!==d&&Fd(d);we(b,a.child,null,c);a=qh(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} -function rh(a,b,c,d,e,f,g){if(c){if(b.flags&256)return Ge(b),b.flags&=-257,e=Eg(Error(t(422))),sh(a,b,g,e);if(null!==b.memoizedState)return Je(b),b.child=a.child,b.flags|=128,null;Je(b);e=d.fallback;f=b.mode;d=ph({mode:"visible",children:d.children},f,0,null);e=ue(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&we(b,a.child,null,g);b.child.memoizedState=mh(g);b.memoizedState=lh;return e}Ge(b);if(0===(b.mode&1))return sh(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& -e.nextSibling.dataset;if(e)var h=e.dgst;e=h;d=Error(t(419));d.digest=e;e=Eg(d,e,void 0);return sh(a,b,g,e)}h=0!==(g&a.childLanes);if(Of||h){d=N;if(null!==d){switch(g&-g){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=64;break;case 536870912:h=268435456;break;default:h= -0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,Md(a,h),Yf(d,a,h),Sg;}"$?"!==e.data&&Ng();return sh(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=th.bind(null,a),e._reactRetry=b,null;a=f.treeContext;J=ud(e.nextSibling);I=b;K=!0;nd=null;od=!1;null!==a&&(ed[fd++]=hd,ed[fd++]=id,ed[fd++]=gd,hd=a.id,id=a.overflow,gd=b);b=qh(b,d.children);b.flags|=4096;return b} -function uh(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);vh(a.return,b,c)}function wh(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} -function xh(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;Tg(a,b,d.children,c);d=He.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&uh(a,c,b);else if(19===a.tag)uh(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(He,d);if(0===(b.mode&1))b.memoizedState= -null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Le(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);wh(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Le(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}wh(b,!0,c,null,f);break;case "together":wh(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} -function hh(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function Wg(a,b,c){null!==a&&(b.dependencies=a.dependencies);Yd|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=qe(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=qe(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} -function yh(a,b,c){switch(b.tag){case 3:jh(b);zh(b,U,a.memoizedState.cache);Ed();break;case 27:case 5:Ka(b);break;case 1:Tc(b.type)&&Xc(b);break;case 4:Ga(b,b.stateNode.containerInfo);break;case 10:zh(b,b.type._context,b.memoizedProps.value);break;case 13:var d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return Ge(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return oh(a,b,c);Ge(b);a=Wg(a,b,c);return null!==a?a.sibling:null}Ge(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&128)){if(d)return xh(a, -b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(He,He.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,ah(a,b,c);case 24:zh(b,U,a.memoizedState.cache)}return Wg(a,b,c)}var Ah=ia(null),Bh=null,Ch=null,Dh=null;function Eh(){Dh=Ch=Bh=null}function zh(a,b,c){E(Ah,b._currentValue);b._currentValue=c}function Fh(a){var b=Ah.current;a._currentValue=b===Aa?a._defaultValue:b;D(Ah)} -function vh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} -function Gh(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=Td(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var m=h.pending;null===m?g.next=g:(g.next=m.next,m.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);vh(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== -f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);vh(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function Vg(a,b){Bh=a;Dh=Ch=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(Of=!0),a.firstContext=null)}function Lf(a){return Hh(Bh,a)}function ve(a,b,c){null===Bh&&Vg(a,c);return Hh(a,b)} -function Hh(a,b){var c=b._currentValue;if(Dh!==b)if(b={context:b,memoizedValue:c,next:null},null===Ch){if(null===a)throw Error(t(308));Ch=b;a.dependencies={lanes:0,firstContext:b}}else Ch=Ch.next=b;return c} -var Ih="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},Jh=ba.unstable_scheduleCallback,Kh=ba.unstable_NormalPriority,U={$$typeof:pa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function rg(){return{controller:new Ih,data:new Map,refCount:0}} -function Lh(a){a.refCount--;0===a.refCount&&Jh(Kh,function(){a.controller.abort()})}var Mh=ea.ReactCurrentBatchConfig,Nh=ia(null);function eh(){var a=Nh.current;return null!==a?a:N.pooledCache}function dh(a,b){null===b?E(Nh,Nh.current):E(Nh,b.pool)}function nh(){var a=eh();return null===a?null:{parent:U._currentValue,pool:a}}function Oh(a){a.flags|=4}function Ph(a){a.flags|=2097664} -function Qh(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(M&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(Rh())a.flags|=8192;else throw he=de,ce;}function Sh(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?kb():1073741824,a.lanes|=b)} -function Th(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} -function V(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)for(var e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&31457280,d|=e.flags&31457280,e.return=a,e=e.sibling;else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b} -function Uh(a,b,c){var d=b.pendingProps;md(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return V(b),null;case 1:return Tc(b.type)&&Uc(),V(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);Fh(U);Ja();D(Qc);D(Pc);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Bd(b)?Oh(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= -1024,null!==nd&&(Vh(nd),nd=null));V(b);return null;case 26:c=b.memoizedState;if(null===a)Oh(b),null!==b.ref&&Ph(b),null!==c?(V(b),Qh(b,c)):(V(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&Oh(b);a.ref!==b.ref&&Ph(b);null!==c?(V(b),c===e?b.flags&=-16777217:Qh(b,c)):(a.memoizedProps!==d&&Oh(b),V(b),b.flags&=-16777217)}return null;case 27:La(b);c=Fa.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Oh(b),a.ref!==b.ref&&Ph(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); -V(b);return null}a=Da.current;Bd(b)?Wh(b.stateNode,b.type,b.memoizedProps,a,b):(a=Xh(e,d,c),b.stateNode=a,Oh(b));null!==b.ref&&Ph(b)}V(b);return null;case 5:La(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Oh(b),a.ref!==b.ref&&Ph(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));V(b);return null}a=Da.current;if(Bd(b))Wh(b.stateNode,b.type,b.memoizedProps,a,b);else{e=Yh(Fa.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fc=null;function Gc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Hc=null,Ic=null; +function Jc(a){var b=Jb(a);if(b&&(a=b.stateNode)){var c=Lb(a);a:switch(a=b.stateNode,b.type){case "input":oc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+nc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Lb(d);if(!e)throw Error(t(90));oc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, +e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&kc(d)}break a;case "textarea":tc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&sc(a,!!c.multiple,b,!1)}}}function Kc(a){Hc?Ic?Ic.push(a):Ic=[a]:Hc=a}function Lc(){if(Hc){var a=Hc,b=Ic;Ic=Hc=null;Jc(a);if(b)for(a=0;a<b.length;a++)Jc(b[a])}}function Mc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} +function Nc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Oc(a){if(Mc(a)!==a)throw Error(t(188));} +function Pc(a){var b=a.alternate;if(!b){b=Mc(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Oc(e),a;if(f===d)return Oc(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== +c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function Qc(a){a=Pc(a);return null!==a?Rc(a):null}function Rc(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=Rc(a);if(null!==b)return b;a=a.sibling}return null}var Sc={},Tc=ka(Sc),Uc=ka(!1),Vc=Sc; +function Wc(a,b){var c=a.type.contextTypes;if(!c)return Sc;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function Xc(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Yc(){D(Uc);D(Tc)} +function Zc(a,b,c){if(Tc.current!==Sc)throw Error(t(168));E(Tc,b);E(Uc,c)}function $c(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,fc(a)||"Unknown",e));return C({},c,d)}function ad(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Sc;Vc=Tc.current;E(Tc,a);E(Uc,Uc.current);return!0} +function bd(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=$c(a,b,Vc),d.__reactInternalMemoizedMergedChildContext=a,D(Uc),D(Tc),E(Tc,a)):D(Uc);E(Uc,c)}function cd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var dd="function"===typeof Object.is?Object.is:cd,ed=[],fd=0,gd=null,hd=0,id=[],jd=0,kd=null,ld=1,md="";function nd(a,b){ed[fd++]=hd;ed[fd++]=gd;gd=a;hd=b} +function od(a,b,c){id[jd++]=ld;id[jd++]=md;id[jd++]=kd;kd=a;var d=ld;a=md;var e=32-db(d)-1;d&=~(1<<e);c+=1;var f=32-db(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;ld=1<<32-db(b)+e|c<<e|d;md=f+a}else ld=1<<f|c<<e|d,md=a}function pd(a){null!==a.return&&(nd(a,1),od(a,1,0))}function qd(a){for(;a===gd;)gd=ed[--fd],ed[fd]=null,hd=ed[--fd],ed[fd]=null;for(;a===kd;)kd=id[--jd],id[jd]=null,md=id[--jd],id[jd]=null,ld=id[--jd],id[jd]=null}var G=null,J=null,K=!1,rd=null,sd=!1; +function td(a,b){var c=ud(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function vd(a,b){b.flags=b.flags&-4097|2}function wd(a,b){b=xd(b,a.type,a.pendingProps,sd);return null!==b?(a.stateNode=b,G=a,J=yd(b.firstChild),sd=!1,!0):!1}function zd(a,b){b=Ad(b,a.pendingProps,sd);return null!==b?(a.stateNode=b,G=a,J=null,!0):!1} +function Bd(a,b){a:{var c=b;for(b=sd;8!==c.nodeType;){if(!b){b=null;break a}c=Cd(c);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==kd?{id:ld,overflow:md}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:536870912},c=ud(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,G=a,J=null,!0):!1}function Dd(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Ed(){throw Error(t(418));} +function Fd(){if(!K)return!1;if(J){a:{var a=J;for(var b=sd;8!==a.nodeType;){if(!b){a=null;break a}a=Cd(a);if(null===a){a=null;break a}}b=a.data;a="F!"===b||"F"===b?a:null}if(a)return J=Cd(a),"F!"===a.data}Ed();return!1}function Gd(a){for(G=a.return;G;)switch(G.tag){case 3:case 27:sd=!0;return;case 5:case 13:sd=!1;return;default:G=G.return}} +function Hd(a){if(a!==G)return!1;if(!K)return Gd(a),K=!0,!1;var b=!1,c;if(c=3!==a.tag&&27!==a.tag){if(c=5===a.tag)c=a.type,c=!("form"!==c&&"button"!==c)||Id(a.type,a.memoizedProps);c=!c}c&&(b=!0);if(b&&(b=J))if(Dd(a))Jd(),Ed();else for(;b;)td(a,b),b=Cd(b);Gd(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType)if(c=a.data,"/$"===c){if(0===b){J=Cd(a);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++;a=a.nextSibling}J= +null}}else J=G?Cd(a.stateNode):null;return!0}function Jd(){for(var a=J;a;)a=Cd(a)}function Kd(){J=G=null;K=!1}function Ld(a){null===rd?rd=[a]:rd.push(a)}var Md=[],Nd=0,Od=0;function Pd(){for(var a=Nd,b=Od=Nd=0;b<a;){var c=Md[b];Md[b++]=null;var d=Md[b];Md[b++]=null;var e=Md[b];Md[b++]=null;var f=Md[b];Md[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&Qd(c,e,f)}} +function Rd(a,b,c,d){Md[Nd++]=a;Md[Nd++]=b;Md[Nd++]=c;Md[Nd++]=d;Od|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function Sd(a,b,c,d){Rd(a,b,c,d);return Td(a)}function Ud(a,b){Rd(a,null,null,b);return Td(a)} +function Qd(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-db(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|536870912)}function Td(a){if(50<Vd)throw Vd=0,Wd=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} +var Xd=!1;function Yd(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zd(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function $d(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} +function ae(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(L&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=Td(a);Qd(a,null,c);return b}Rd(a,d,b,c);return Td(a)}function be(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194176))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;rb(a,c)}} +function ce(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} +function de(a,b,c,d){var e=a.updateQueue;Xd=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var l=h,p=l.next;l.next=null;null===g?f=p:g.next=p;g=l;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=l))}if(null!==f){var w=e.baseState;g=0;q=p=l=null;h=f;do{var r=h.lane&-536870913,u=r!==h.lane;if(u?(M&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, +callback:null,next:null});a:{var z=a,B=h;r=b;var U=c;switch(B.tag){case 1:z=B.payload;if("function"===typeof z){w=z.call(U,w,r);break a}w=z;break a;case 3:z.flags=z.flags&-65537|128;case 0:z=B.payload;r="function"===typeof z?z.call(U,w,r):z;if(null===r||void 0===r)break a;w=C({},w,r);break a;case 2:Xd=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, +l=w):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(l=w);e.baseState=l;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);ee|=g;a.lanes=g;a.memoizedState=w}}function fe(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function ge(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)fe(c[a],b)} +function he(a,b){if(dd(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!vb.call(b,e)||!dd(a[e],b[e]))return!1}return!0}var ie=Error(t(460)),je=Error(t(474)),ke={then:function(){}};function le(a){a=a.status;return"fulfilled"===a||"rejected"===a}function me(){} +function ne(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(me,me),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===ie)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(me,me);else{a=N;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; +case "rejected":a=b.reason;if(a===ie)throw Error(t(483));throw a;}}oe=b;throw ie;}}var oe=null;function pe(){if(null===oe)throw Error(t(459));var a=oe;oe=null;return a}var qe=null,re=0;function se(a){var b=re;re+=1;null===qe&&(qe=[]);return ne(qe,a,b)} +function te(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} +function ue(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function ve(a){var b=a._init;return b(a._payload)} +function we(a){function b(m,k){if(a){var n=m.deletions;null===n?(m.deletions=[k],m.flags|=16):n.push(k)}}function c(m,k){if(!a)return null;for(;null!==k;)b(m,k),k=k.sibling;return null}function d(m,k){for(m=new Map;null!==k;)null!==k.key?m.set(k.key,k):m.set(k.index,k),k=k.sibling;return m}function e(m,k){m=xe(m,k);m.index=0;m.sibling=null;return m}function f(m,k,n){m.index=n;if(!a)return m.flags|=1048576,k;n=m.alternate;if(null!==n)return n=n.index,n<k?(m.flags|=33554434,k):n;m.flags|=33554434;return k} +function g(m){a&&null===m.alternate&&(m.flags|=33554434);return m}function h(m,k,n,v){if(null===k||6!==k.tag)return k=ye(n,m.mode,v),k.return=m,k;k=e(k,n);k.return=m;return k}function l(m,k,n,v){var x=n.type;if(x===na)return q(m,k,n.props.children,v,n.key);if(null!==k&&(k.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===xa&&ve(x)===k.type))return v=e(k,n.props),v.ref=te(m,k,n),v.return=m,v;v=ze(n.type,n.key,n.props,null,null,m.mode,v);v.ref=te(m,k,n);v.return=m;return v}function p(m,k, +n,v){if(null===k||4!==k.tag||k.stateNode.containerInfo!==n.containerInfo||k.stateNode.implementation!==n.implementation)return k=Ae(n,m.mode,v),k.return=m,k;k=e(k,n.children||[]);k.return=m;return k}function q(m,k,n,v,x){if(null===k||7!==k.tag)return k=Be(n,m.mode,v,x),k.return=m,k;k=e(k,n);k.return=m;return k}function w(m,k,n){if("string"===typeof k&&""!==k||"number"===typeof k)return k=ye(""+k,m.mode,n),k.return=m,k;if("object"===typeof k&&null!==k){switch(k.$$typeof){case la:return n=ze(k.type, +k.key,k.props,null,null,m.mode,n),n.ref=te(m,null,k),n.return=m,n;case ma:return k=Ae(k,m.mode,n),k.return=m,k;case xa:var v=k._init;return w(m,v(k._payload),n)}if(rc(k)||Da(k))return k=Be(k,m.mode,n,null),k.return=m,k;if("function"===typeof k.then)return w(m,se(k),n);if(k.$$typeof===ra||k.$$typeof===sa)return w(m,Ce(m,k,n),n);ue(m,k)}return null}function r(m,k,n,v){var x=null!==k?k.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==x?null:h(m,k,""+n,v);if("object"===typeof n&& +null!==n){switch(n.$$typeof){case la:return n.key===x?l(m,k,n,v):null;case ma:return n.key===x?p(m,k,n,v):null;case xa:return x=n._init,r(m,k,x(n._payload),v)}if(rc(n)||Da(n))return null!==x?null:q(m,k,n,v,null);if("function"===typeof n.then)return r(m,k,se(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return r(m,k,Ce(m,n,v),v);ue(m,n)}return null}function u(m,k,n,v,x){if("string"===typeof v&&""!==v||"number"===typeof v)return m=m.get(n)||null,h(k,m,""+v,x);if("object"===typeof v&&null!==v){switch(v.$$typeof){case la:return m= +m.get(null===v.key?n:v.key)||null,l(k,m,v,x);case ma:return m=m.get(null===v.key?n:v.key)||null,p(k,m,v,x);case xa:var A=v._init;return u(m,k,n,A(v._payload),x)}if(rc(v)||Da(v))return m=m.get(n)||null,q(k,m,v,x,null);if("function"===typeof v.then)return u(m,k,n,se(v),x);if(v.$$typeof===ra||v.$$typeof===sa)return u(m,k,n,Ce(k,v,x),x);ue(k,v)}return null}function z(m,k,n,v){for(var x=null,A=null,y=k,H=k=0,ha=null;null!==y&&H<n.length;H++){y.index>H?(ha=y,y=null):ha=y.sibling;var I=r(m,y,n[H],v);if(null=== +I){null===y&&(y=ha);break}a&&y&&null===I.alternate&&b(m,y);k=f(I,k,H);null===A?x=I:A.sibling=I;A=I;y=ha}if(H===n.length)return c(m,y),K&&nd(m,H),x;if(null===y){for(;H<n.length;H++)y=w(m,n[H],v),null!==y&&(k=f(y,k,H),null===A?x=y:A.sibling=y,A=y);K&&nd(m,H);return x}for(y=d(m,y);H<n.length;H++)ha=u(y,m,H,n[H],v),null!==ha&&(a&&null!==ha.alternate&&y.delete(null===ha.key?H:ha.key),k=f(ha,k,H),null===A?x=ha:A.sibling=ha,A=ha);a&&y.forEach(function(Eb){return b(m,Eb)});K&&nd(m,H);return x}function B(m, +k,n,v){var x=Da(n);if("function"!==typeof x)throw Error(t(150));n=x.call(n);if(null==n)throw Error(t(151));for(var A=x=null,y=k,H=k=0,ha=null,I=n.next();null!==y&&!I.done;H++,I=n.next()){y.index>H?(ha=y,y=null):ha=y.sibling;var Eb=r(m,y,I.value,v);if(null===Eb){null===y&&(y=ha);break}a&&y&&null===Eb.alternate&&b(m,y);k=f(Eb,k,H);null===A?x=Eb:A.sibling=Eb;A=Eb;y=ha}if(I.done)return c(m,y),K&&nd(m,H),x;if(null===y){for(;!I.done;H++,I=n.next())I=w(m,I.value,v),null!==I&&(k=f(I,k,H),null===A?x=I:A.sibling= +I,A=I);K&&nd(m,H);return x}for(y=d(m,y);!I.done;H++,I=n.next())I=u(y,m,H,I.value,v),null!==I&&(a&&null!==I.alternate&&y.delete(null===I.key?H:I.key),k=f(I,k,H),null===A?x=I:A.sibling=I,A=I);a&&y.forEach(function(Im){return b(m,Im)});K&&nd(m,H);return x}function U(m,k,n,v){"object"===typeof n&&null!==n&&n.type===na&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case la:a:{for(var x=n.key,A=k;null!==A;){if(A.key===x){x=n.type;if(x===na){if(7===A.tag){c(m,A.sibling); +k=e(A,n.props.children);k.return=m;m=k;break a}}else if(A.elementType===x||"object"===typeof x&&null!==x&&x.$$typeof===xa&&ve(x)===A.type){c(m,A.sibling);k=e(A,n.props);k.ref=te(m,A,n);k.return=m;m=k;break a}c(m,A);break}else b(m,A);A=A.sibling}n.type===na?(k=Be(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=ze(n.type,n.key,n.props,null,null,m.mode,v),v.ref=te(m,k,n),v.return=m,m=v)}return g(m);case ma:a:{for(A=n.key;null!==k;){if(k.key===A)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& +k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Ae(n,m.mode,v);k.return=m;m=k}return g(m);case xa:return A=n._init,V(m,k,A(n._payload),v)}if(rc(n))return z(m,k,n,v);if(Da(n))return B(m,k,n,v);if("function"===typeof n.then)return U(m,k,se(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return U(m,k,Ce(m,n,v),v);ue(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, +k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=ye(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function V(m,k,n,v){re=0;m=U(m,k,n,v);qe=null;return m}return V}var De=we(!0),Ee=we(!1),Fe=ka(null),Ge=ka(0);function He(a,b){a=Ie;E(Ge,a);E(Fe,b);Ie=a|b.baseLanes}function Je(){E(Ge,Ie);E(Fe,Fe.current)}function Ke(){Ie=Ge.current;D(Fe);D(Ge)}var Le=ka(null),Me=null;function Ne(a){var b=a.alternate;E(Oe,Oe.current&1);E(Le,a);null===Me&&(null===b||null!==Fe.current?Me=a:null!==b.memoizedState&&(Me=a))} +function Pe(a){if(22===a.tag){if(E(Oe,Oe.current),E(Le,a),null===Me){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Me=a)}}else Qe(a)}function Qe(){E(Oe,Oe.current);E(Le,Le.current)}function Re(a){D(Le);Me===a&&(Me=null);D(Oe)}var Oe=ka(0); +function Se(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Te=null,Ue=null,Ve=!1,We=!1,Xe=!1,Ye=0; +function Ze(a){a!==Ue&&null===a.next&&(null===Ue?Te=Ue=a:Ue=Ue.next=a);We=!0;Ve||(Ve=!0,$e(af))} +function bf(a){if(!Xe&&We){var b=null;Xe=!0;do{var c=!1;for(var d=Te;null!==d;){if(!a||0===d.tag){var e=M,f=jb(d,d===N?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(L&6))throw Error(t(327));if(!cf()){var g=df(e,f);if(0!==e.tag&&2===g){var h=f,l=lb(e,h);0!==l&&(f=l,g=ef(e,h,l))}if(1===g)throw h=ff,gf(e,0),hf(e,f,0),Ze(e),h;6===g?hf(e,f,0):(e.finishedWork=e.current.alternate,e.finishedLanes=f,jf(e,kf,lf,mf))}Ze(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);Xe=!1;if(null!==b){if(1<b.length){if("function"=== +typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)$e(nf.bind(null,b[a]))}throw b[0];}}}function nf(a){throw a;}function af(){We=Ve=!1;for(var a=Ta(),b=null,c=Te;null!==c;){var d=c.next;if(0!==Ye&&window.event&&"popstate"===window.event.type){var e=c,f=Ye;e.pendingLanes|=2;e.entangledLanes|=2;e.entanglements[1]|=f}e=of(c,a);0===e?(c.next=null,null===b?Te=d:b.next=d,null===d&&(Ue=b)):(b=c,0!==(e&3)&&(We=!0));c=d}Ye=0;bf(!1)} +function of(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-62914561;0<f;){var g=31-db(f),h=1<<g,l=e[g];if(-1===l){if(0===(h&c)||0!==(h&d))e[g]=kb(h,b)}else l<=b&&(a.expiredLanes|=h);f&=~h}b=N;c=M;c=jb(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===O||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Qa(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Qa(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b===a.callbackPriority)return b; +null!==d&&Qa(d);switch(ub(c)){case 2:c=Va;break;case 8:c=Wa;break;case 32:c=Xa;break;case 268435456:c=Za;break;default:c=Xa}d=pf.bind(null,a);c=Pa(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function $e(a){qf(function(){0!==(L&6)?Pa(Va,a):a()})}function rf(){if(0===Ye){var a=gb;gb<<=1;0===(gb&4194176)&&(gb=128);Ye=a}return Ye}var sf=null,tf=0,uf=0; +function vf(a,b){if(null===sf){var c=sf=[];tf=0;uf=rf()}else c=sf;tf++;var d=wf(c),e="pending",f,g;a.then(function(h){e="fulfilled";f=null!==b?b:h;xf()},function(h){e="rejected";g=h;xf()});c.push(function(){switch(e){case "fulfilled":d.status="fulfilled";d.value=f;break;case "rejected":d.status="rejected";d.reason=g;break;default:throw Error(t(478));}});return d}function yf(a,b){var c=null!==b?b:a;if(null===sf)return c;a=sf;var d=wf(a);a.push(function(){d.status="fulfilled";d.value=c});return d} +function xf(){if(null!==sf&&0===--tf){var a=sf;sf=null;for(var b=uf=0;b<a.length;b++)(0,a[b])()}}function wf(a){return{status:"pending",value:null,reason:null,then:function(b){a.push(b)}}}var zf=da.ReactCurrentDispatcher,Af=da.ReactCurrentBatchConfig,Bf=0,P=null,Q=null,R=null,Cf=!1,Df=!1,Ef=!1,Ff=0,Gf=0,Hf=null,If=0;function Jf(){throw Error(t(321));}function Kf(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!dd(a[c],b[c]))return!1;return!0} +function Lf(a,b,c,d,e,f){Bf=f;P=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;zf.current=null===a||null===a.memoizedState?Mf:Nf;Ef=!1;a=c(d,e);Ef=!1;Df&&(a=Of(b,c,d,e));Pf();return a}function Pf(){zf.current=Qf;var a=null!==Q&&null!==Q.next;Bf=0;R=Q=P=null;Cf=!1;Gf=0;Hf=null;if(a)throw Error(t(300));}function Of(a,b,c,d){P=a;var e=0;do{Df&&(Hf=null);Gf=0;Df=!1;if(25<=e)throw Error(t(301));e+=1;R=Q=null;a.updateQueue=null;zf.current=Rf;var f=b(c,d)}while(Df);return f} +function Sf(){var a=zf.current.useState()[0];return"function"===typeof a.then?Tf(a):a}function Uf(){var a=0!==Ff;Ff=0;return a}function Vf(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function Wf(a){if(Cf){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}Cf=!1}Bf=0;R=Q=P=null;Df=!1;Gf=Ff=0;Hf=null}function Xf(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===R?P.memoizedState=R=a:R=R.next=a;return R} +function Yf(){if(null===Q){var a=P.alternate;a=null!==a?a.memoizedState:null}else a=Q.next;var b=null===R?P.memoizedState:R.next;if(null!==b)R=b,Q=a;else{if(null===a){if(null===P.alternate)throw Error(t(467));throw Error(t(310));}Q=a;a={memoizedState:Q.memoizedState,baseState:Q.baseState,baseQueue:Q.baseQueue,queue:Q.queue,next:null};null===R?P.memoizedState=R=a:R=R.next=a}return R}var Zf;Zf=function(){return{lastEffect:null,events:null,stores:null}}; +function Tf(a){var b=Gf;Gf+=1;null===Hf&&(Hf=[]);a=ne(Hf,a,b);null===P.alternate&&(null===R?null===P.memoizedState:null===R.next)&&(zf.current=Mf);return a}function $f(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Tf(a);if(a.$$typeof===ra||a.$$typeof===sa)return ag(a)}throw Error(t(438,String(a)));}function bg(a,b){return"function"===typeof b?b(a):b}function cg(a){var b=Yf();return dg(b,Q,a)} +function dg(a,b,c){var d=a.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=c;var e=a.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}b.baseQueue=e=f;d.pending=null}if(null!==e){b=e.next;f=a.baseState;var h=g=null,l=null,p=b;do{var q=p.lane&-536870913;if(q!==p.lane?(M&q)===q:(Bf&q)===q){q=p.revertLane;if(0===q)null!==l&&(l=l.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null});else if((Bf&q)===q){p= +p.next;continue}else{var w={lane:0,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===l?(h=l=w,g=f):l=l.next=w;P.lanes|=q;ee|=q}q=p.action;Ef&&c(f,q);f=p.hasEagerState?p.eagerState:c(f,q)}else w={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},null===l?(h=l=w,g=f):l=l.next=w,P.lanes|=q,ee|=q;p=p.next}while(null!==p&&p!==b);null===l?g=f:l.next=h;dd(f,a.memoizedState)||(eg=!0); +a.memoizedState=f;a.baseState=g;a.baseQueue=l;d.lastRenderedState=f}null===e&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function fg(a){var b=Yf(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);dd(f,b.memoizedState)||(eg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} +function gg(a,b,c){var d=P,e=Yf(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!dd((Q||e).memoizedState,c);g&&(e.memoizedState=c,eg=!0);e=e.queue;hg(ig.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==R&&R.memoizedState.tag&1){d.flags|=2048;jg(9,kg.bind(null,d,e,c,b),{destroy:void 0},null);if(null===N)throw Error(t(349));f||0!==(Bf&60)||lg(d,b,c)}return c} +function lg(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=P.updateQueue;null===b?(b=Zf(),P.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function kg(a,b,c,d){b.value=c;b.getSnapshot=d;mg(b)&&ng(a)}function ig(a,b,c){return c(function(){mg(b)&&ng(a)})}function mg(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!dd(a,c)}catch(d){return!0}}function ng(a){var b=Ud(a,2);null!==b&&og(b,a,2)} +function pg(a){var b=Xf();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bg,lastRenderedState:a};return b}function qg(a,b,c,d){a.baseState=c;return dg(a,Q,"function"===typeof d?d:bg)}function rg(a,b,c,d){if(sg(a))throw Error(t(485));a=b.pending;null===a?(a={payload:d,next:null},a.next=b.pending=a,tg(b,c,d)):a.next={payload:d,next:a.next}} +function tg(a,b,c){var d=a.action,e=a.state,f=Af.transition;Af.transition={};try{var g=d(e,c);g.then(function(l){a.state=l;ug(a,b)},function(){return ug(a,b)});var h=vf(g,null);b(h)}finally{Af.transition=f}}function ug(a,b){var c=a.pending;if(null!==c){var d=c.next;d===c?a.pending=null:(d=d.next,c.next=d,tg(a,b,d.payload))}}function vg(a,b){return b} +function wg(a,b,c){a=dg(a,b,vg)[0];a=Tf(a);b=Yf();var d=b.queue,e=d.dispatch;c!==b.memoizedState&&(P.flags|=2048,jg(9,xg.bind(null,d,c),{destroy:void 0},null));return[a,e]}function xg(a,b){a.action=b}function jg(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=P.updateQueue;null===b?(b=Zf(),P.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function yg(){return Yf().memoizedState} +function zg(a,b,c,d){var e=Xf();P.flags|=a;e.memoizedState=jg(1|b,c,{destroy:void 0},void 0===d?null:d)}function Ag(a,b,c,d){var e=Yf();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==Q&&null!==d&&Kf(d,Q.memoizedState.deps)?e.memoizedState=jg(b,c,f,d):(P.flags|=a,e.memoizedState=jg(1|b,c,f,d))}function Bg(a,b){zg(8390656,8,a,b)}function hg(a,b){Ag(2048,8,a,b)}function Cg(a,b){return Ag(4,2,a,b)}function Dg(a,b){return Ag(4,4,a,b)} +function Eg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Fg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Ag(4,4,Eg.bind(null,b,a),c)}function Gg(){}function Hg(a,b){var c=Yf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Kf(b,d[1]))return d[0];c.memoizedState=[a,b];return a} +function Ig(a,b){var c=Yf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Kf(b,d[1]))return d[0];Ef&&a();a=a();c.memoizedState=[a,b];return a}function Jg(a,b,c){if(dd(c,b))return c;if(null!==Fe.current)return a.memoizedState=c,dd(c,b)||(eg=!0),c;if(0===(Bf&42))return eg=!0,a.memoizedState=c;0===mf&&(mf=0!==(M&536870912)?536870912:rf());a=mf;P.lanes|=a;ee|=a;return b} +function Kg(a,b,c,d,e){var f=F;F=0!==f&&8>f?f:8;var g=Af.transition;Af.transition={};Lg(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=vf(h,d);Mg(a,b,l)}else{var p=yf(h,d);Mg(a,b,p)}}catch(q){Mg(a,b,{then:function(){},status:"rejected",reason:q})}finally{F=f,Af.transition=g}} +function Ng(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;Kg(a,f,b,fa,function(){return c(d)})}function Og(){var a=ag(Ia);return null!==a?a:fa}function Pg(){return Yf().memoizedState} +function Qg(){return Yf().memoizedState}function Rg(a){for(var b=a.return;null!==b;){switch(b.tag){case 24:case 3:var c=Sg(b);a=$d(c);var d=ae(b,a,c);null!==d&&(og(d,b,c),be(d,b,c));b={cache:Tg()};a.payload=b;return}b=b.return}}function Ug(a,b,c){var d=Sg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};sg(a)?Vg(b,c):(c=Sd(a,b,c,d),null!==c&&(og(c,a,d),Wg(c,b,d)))} +function Mg(a,b,c){var d=Sg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(sg(a))Vg(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(dd(h,g)){Rd(a,b,e,0);null===N&&Pd();return}}catch(l){}finally{}c=Sd(a,b,e,d);null!==c&&(og(c,a,d),Wg(c,b,d))}} +function Lg(a,b,c,d){d={lane:2,revertLane:rf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(sg(a)){if(b)throw Error(t(479));}else b=Sd(a,c,d,2),null!==b&&og(b,a,2)}function sg(a){var b=a.alternate;return a===P||null!==b&&b===P}function Vg(a,b){Df=Cf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Wg(a,b,c){if(0!==(c&4194176)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;rb(a,c)}} +var Qf={readContext:ag,use:$f,useCallback:Jf,useContext:Jf,useEffect:Jf,useImperativeHandle:Jf,useInsertionEffect:Jf,useLayoutEffect:Jf,useMemo:Jf,useReducer:Jf,useRef:Jf,useState:Jf,useDebugValue:Jf,useDeferredValue:Jf,useTransition:Jf,useSyncExternalStore:Jf,useId:Jf};Qf.useCacheRefresh=Jf;Qf.useHostTransitionStatus=Jf;Qf.useFormState=Jf;Qf.useOptimistic=Jf; +var Mf={readContext:ag,use:$f,useCallback:function(a,b){Xf().memoizedState=[a,void 0===b?null:b];return a},useContext:ag,useEffect:Bg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;zg(4194308,4,Eg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return zg(4194308,4,a,b)},useInsertionEffect:function(a,b){zg(4,2,a,b)},useMemo:function(a,b){var c=Xf();b=void 0===b?null:b;Ef&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Xf();b=void 0!==c?c(b): +b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Ug.bind(null,P,a);return[d.memoizedState,a]},useRef:function(a){var b=Xf();a={current:a};return b.memoizedState=a},useState:function(a){a=pg(a);var b=a.queue,c=Mg.bind(null,P,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Gg,useDeferredValue:function(a){Xf().memoizedState=a;return a},useTransition:function(){var a=pg(!1);a=Kg.bind(null,P,a.queue,!0,!1); +Xf().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=P,e=Xf();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===N)throw Error(t(349));0!==(M&60)||lg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Bg(ig.bind(null,d,f,a),[a]);d.flags|=2048;jg(9,kg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Xf(),b=N.identifierPrefix;if(K){var c=md;var d=ld;c=(d&~(1<<32-db(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Ff++;0<c&&(b+="H"+ +c.toString(32));b+=":"}else c=If++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return Xf().memoizedState=Rg.bind(null,P)}};Mf.useHostTransitionStatus=Og; +Mf.useFormState=function(a,b){if(K){var c=N.formState;null!==c&&Fd()&&(b=c[0])}var d={status:"fulfilled",value:b,then:function(){}};c=Xf();c.memoizedState=c.baseState=d;d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vg,lastRenderedState:d};c.queue=d;c=Mg.bind(null,P,d);d.dispatch=c;d=Xf();var e={state:b,dispatch:null,action:a,pending:null};d.queue=e;c=rg.bind(null,P,e,c);e.dispatch=c;d.memoizedState=a;return[b,c]}; +Mf.useOptimistic=function(a){var b=Xf();b.memoizedState=b.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};b.queue=c;b=Lg.bind(null,P,!0,c);c.dispatch=b;return[a,b]}; +var Nf={readContext:ag,use:$f,useCallback:Hg,useContext:ag,useEffect:hg,useImperativeHandle:Fg,useInsertionEffect:Cg,useLayoutEffect:Dg,useMemo:Ig,useReducer:cg,useRef:yg,useState:function(){return cg(bg)},useDebugValue:Gg,useDeferredValue:function(a){var b=Yf();return Jg(b,Q.memoizedState,a)},useTransition:function(){var a=cg(bg)[0],b=Yf().memoizedState;return["boolean"===typeof a?a:Tf(a),b]},useSyncExternalStore:gg,useId:Pg};Nf.useCacheRefresh=Qg;Nf.useHostTransitionStatus=Og; +Nf.useFormState=function(a){var b=Yf();return wg(b,Q,a)};Nf.useOptimistic=function(a,b){var c=Yf();return qg(c,Q,a,b)}; +var Rf={readContext:ag,use:$f,useCallback:Hg,useContext:ag,useEffect:hg,useImperativeHandle:Fg,useInsertionEffect:Cg,useLayoutEffect:Dg,useMemo:Ig,useReducer:fg,useRef:yg,useState:function(){return fg(bg)},useDebugValue:Gg,useDeferredValue:function(a){var b=Yf();return null===Q?(b.memoizedState=a,a):Jg(b,Q.memoizedState,a)},useTransition:function(){var a=fg(bg)[0],b=Yf().memoizedState;return["boolean"===typeof a?a:Tf(a),b]},useSyncExternalStore:gg,useId:Pg};Rf.useCacheRefresh=Qg; +Rf.useHostTransitionStatus=Og;Rf.useFormState=function(a){var b=Yf(),c=Q;if(null!==c)return wg(b,c,a);b=Tf(b.memoizedState);c=Yf();var d=c.queue.dispatch;c.memoizedState=a;return[b,d]};Rf.useOptimistic=function(a,b){var c=Yf();if(null!==Q)return qg(c,Q,a,b);c.baseState=a;return[a,c.queue.dispatch]};function Xg(a,b){if(a&&a.defaultProps){b=C({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function Yg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:C({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} +var Zg={isMounted:function(a){return(a=a._reactInternals)?Mc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Sg(a),e=$d(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=ae(a,e,d);null!==b&&(og(b,a,d),be(b,a,d))},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Sg(a),e=$d(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=ae(a,e,d);null!==b&&(og(b,a,d),be(b,a,d))},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Sg(a),d=$d(c);d.tag=2;void 0!== +b&&null!==b&&(d.callback=b);b=ae(a,d,c);null!==b&&(og(b,a,c),be(b,a,c))}};function $g(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!he(c,d)||!he(e,f):!0} +function ah(a,b,c){var d=!1,e=Sc;var f=b.contextType;"object"===typeof f&&null!==f?f=ag(f):(e=Xc(b)?Vc:Tc.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Wc(a,e):Sc);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Zg;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} +function bh(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Zg.enqueueReplaceState(b,b.state,null)} +function ch(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};Yd(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=ag(f):(f=Xc(b)?Vc:Tc.current,e.context=Wc(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Yg(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, +"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Zg.enqueueReplaceState(e,e.state,null),de(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function dh(a,b){try{var c="",d=b;do c+=dc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} +function eh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function fh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function gh(a,b,c){c=$d(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){hh||(hh=!0,ih=d);fh(a,b)};return c} +function jh(a,b,c){c=$d(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){fh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){fh(a,b);"function"!==typeof d&&(null===kh?kh=new Set([this]):kh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} +function lh(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=$d(2),b.tag=2,ae(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} +function mh(a,b,c,d,e){c.flags|=32768;if(null!==d&&"object"===typeof d&&"function"===typeof d.then){var f=c.tag;0!==(c.mode&1)||0!==f&&11!==f&&15!==f||((f=c.alternate)?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null));f=Le.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===Me?nh():null===f.alternate&&0===oh&&(oh=3));f.flags&=-257;lh(f,b,c,a,e);d===ke?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue=new Set([d]): +b.add(d),f.mode&1&&ph(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===ke?f.flags|=16384:(b=f.updateQueue,null===b?(b={transitions:null,markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(c=b.retryQueue,null===c?b.retryQueue=new Set([d]):c.add(d)),ph(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){ph(a,d,e);nh();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Le.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);lh(f,b,c,a,e);Ld(dh(d,c));return}a=d=dh(d,c);4!==oh&&(oh=2); +null===qh?qh=[a]:qh.push(a);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=gh(a,d,e);ce(a,e);return;case 1:if(b=d,c=a.type,f=a.stateNode,0===(a.flags&128)&&("function"===typeof c.getDerivedStateFromError||null!==f&&"function"===typeof f.componentDidCatch&&(null===kh||!kh.has(f)))){a.flags|=65536;e&=-e;a.lanes|=e;e=jh(a,b,e);ce(a,e);return}}a=a.return}while(null!==a)}var rh=da.ReactCurrentOwner,sh=Error(t(461)),eg=!1; +function th(a,b,c,d){b.child=null===a?Ee(b,null,c,d):De(b,a.child,c,d)}function uh(a,b,c,d,e){c=c.render;var f=b.ref;vh(b,e);d=Lf(a,b,c,d,f,e);c=Uf();if(null!==a&&!eg)return Vf(a,b,e),wh(a,b,e);K&&c&&pd(b);b.flags|=1;th(a,b,d,e);return b.child} +function xh(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!yh(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,zh(a,b,f,d,e);a=ze(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:he;if(c(g,d)&&a.ref===b.ref)return wh(a,b,e)}b.flags|=1;a=xe(f,d);a.ref=b.ref;a.return=b;return b.child=a} +function zh(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(he(f,d)&&a.ref===b.ref)if(eg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(eg=!0);else return b.lanes=a.lanes,wh(a,b,e)}return Ah(a,b,c,d,e)} +function Bh(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;Ch(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return Dh(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&Eh(b,null),Je(),Pe(b);else if(0!==(c&536870912))b.memoizedState={baseLanes:0, +cachePool:null},null!==a&&Eh(b,null!==g?g.cachePool:null),null!==g?He(b,g):Je(),Pe(b);else return b.lanes=b.childLanes=536870912,Dh(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(Eh(b,g.cachePool),He(b,g),Qe(b),b.memoizedState=null):(null!==a&&Eh(b,null),Je(),Qe(b));th(a,b,e,c);return b.child}function Dh(a,b,c){var d=Fh();d=null===d?null:{parent:S._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&Eh(b,null);Je();Pe(b);return null} +function Ch(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function Ah(a,b,c,d,e){var f=Xc(c)?Vc:Tc.current;f=Wc(b,f);vh(b,e);c=Lf(a,b,c,d,f,e);d=Uf();if(null!==a&&!eg)return Vf(a,b,e),wh(a,b,e);K&&d&&pd(b);b.flags|=1;th(a,b,c,e);return b.child}function Gh(a,b,c,d,e,f){vh(b,f);c=Of(b,d,c,e);Pf();d=Uf();if(null!==a&&!eg)return Vf(a,b,f),wh(a,b,f);K&&d&&pd(b);b.flags|=1;th(a,b,c,f);return b.child} +function Hh(a,b,c,d,e){if(Xc(c)){var f=!0;ad(b)}else f=!1;vh(b,e);if(null===b.stateNode)Ih(a,b),ah(b,c,d),ch(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var l=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=ag(p):(p=Xc(c)?Vc:Tc.current,p=Wc(b,p));var q=c.getDerivedStateFromProps,w="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;w||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| +(h!==d||l!==p)&&bh(b,g,d,p);Xd=!1;var r=b.memoizedState;g.state=r;de(b,d,g,e);l=b.memoizedState;h!==d||r!==l||Uc.current||Xd?("function"===typeof q&&(Yg(b,c,q,d),l=b.memoizedState),(h=Xd||$g(b,c,h,d,r,l,p))?(w||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): +("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=l),g.props=d,g.state=l,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;Zd(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:Xg(b.type,h);g.props=p;w=b.pendingProps;r=g.context;l=c.contextType;"object"===typeof l&&null!==l?l=ag(l):(l=Xc(c)?Vc:Tc.current,l=Wc(b,l));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| +"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==w||r!==l)&&bh(b,g,d,l);Xd=!1;r=b.memoizedState;g.state=r;de(b,d,g,e);var z=b.memoizedState;h!==w||r!==z||Uc.current||Xd?("function"===typeof u&&(Yg(b,c,u,d),z=b.memoizedState),(p=Xd||$g(b,c,p,d,r,z,l)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,z,l),"function"===typeof g.UNSAFE_componentWillUpdate&& +g.UNSAFE_componentWillUpdate(d,z,l)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=z),g.props=d,g.state=z,g.context=l,d=p):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r=== +a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return Jh(a,b,c,d,f,e)} +function Jh(a,b,c,d,e,f){Ch(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&bd(b,c,!1),wh(a,b,f);d=b.stateNode;rh.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=De(b,a.child,null,f),b.child=De(b,null,h,f)):th(a,b,h,f);b.memoizedState=d.state;e&&bd(b,c,!0);return b.child}function Kh(a){var b=a.stateNode;b.pendingContext?Zc(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Zc(a,b.context,!1);Ja(a,b.containerInfo)} +function Lh(a,b,c,d,e){Kd();Ld(e);b.flags|=256;th(a,b,c,d);return b.child}var Mh={dehydrated:null,treeContext:null,retryLane:0};function Nh(a){return{baseLanes:a,cachePool:Oh()}} +function Ph(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(Oe.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?Ne(b):Qe(b);K&&((f=a=J,f)?Bd(b,f)||(Dd(b)&&Ed(),J=Cd(f),g=G,J&&Bd(b,J)?td(g,f):(vd(G,b),K=!1,G=b,J=a)):(Dd(b)&&Ed(),vd(G,b),K=!1,G=b,J=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=536870912,null;Re(b)}f=d.children;a=d.fallback;if(e)return Qe(b), +d=b.mode,e=b.child,f={mode:"hidden",children:f},0===(d&1)&&null!==e?(e.childLanes=0,e.pendingProps=f):e=Qh(f,d,0,null),a=Be(a,d,c,null),e.return=b,a.return=b,e.sibling=a,b.child=e,b.child.memoizedState=Nh(c),b.memoizedState=Mh,a;Ne(b);return Rh(b,f)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return Sh(a,b,f,d,h,g,c)}if(e){Qe(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var l={mode:"hidden",children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=l, +b.deletions=null):(d=xe(g,l),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=xe(h,e):(e=Be(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=Nh(c):(g=f.cachePool,null!==g?(h=S._currentValue,g=g.parent!==h?{parent:h,pool:h}:g):g=Oh(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState=Mh;return d}Ne(b);e=a.child;a=e.sibling;d=xe(e,{mode:"visible",children:d.children});0===(b.mode& +1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function Rh(a,b){b=Qh({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b}function Th(a,b,c,d){null!==d&&Ld(d);De(b,a.child,null,c);a=Rh(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} +function Sh(a,b,c,d,e,f,g){if(c){if(b.flags&256)return Ne(b),b.flags&=-257,e=eh(Error(t(422))),Th(a,b,g,e);if(null!==b.memoizedState)return Qe(b),b.child=a.child,b.flags|=128,null;Qe(b);e=d.fallback;f=b.mode;d=Qh({mode:"visible",children:d.children},f,0,null);e=Be(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&De(b,a.child,null,g);b.child.memoizedState=Nh(g);b.memoizedState=Mh;return e}Ne(b);if(0===(b.mode&1))return Th(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& +e.nextSibling.dataset;if(e)var h=e.dgst;e=h;d=Error(t(419));d.digest=e;e=eh(d,e,void 0);return Th(a,b,g,e)}h=0!==(g&a.childLanes);if(eg||h){d=N;if(null!==d){switch(g&-g){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:h=64;break;case 268435456:h=134217728;break;default:h=0}h=0!== +(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,Ud(a,h),og(d,a,h),sh;}"$?"!==e.data&&nh();return Th(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=Uh.bind(null,a),e._reactRetry=b,null;a=f.treeContext;J=yd(e.nextSibling);G=b;K=!0;rd=null;sd=!1;null!==a&&(id[jd++]=ld,id[jd++]=md,id[jd++]=kd,ld=a.id,md=a.overflow,kd=b);b=Rh(b,d.children);b.flags|=4096;return b}function Vh(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);Wh(a.return,b,c)} +function Xh(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} +function Yh(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;th(a,b,d.children,c);d=Oe.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&Vh(a,c,b);else if(19===a.tag)Vh(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(Oe,d);if(0===(b.mode&1))b.memoizedState= +null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Se(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Xh(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Se(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Xh(b,!0,c,null,f);break;case "together":Xh(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} +function Ih(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function wh(a,b,c){null!==a&&(b.dependencies=a.dependencies);ee|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=xe(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=xe(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} +function Zh(a,b,c){switch(b.tag){case 3:Kh(b);$h(b,S,a.memoizedState.cache);Kd();break;case 27:case 5:Na(b);break;case 1:Xc(b.type)&&ad(b);break;case 4:Ja(b,b.stateNode.containerInfo);break;case 10:$h(b,b.type._context,b.memoizedProps.value);break;case 13:var d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return Ne(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return Ph(a,b,c);Ne(b);a=wh(a,b,c);return null!==a?a.sibling:null}Ne(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&128)){if(d)return Yh(a, +b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(Oe,Oe.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,Bh(a,b,c);case 24:$h(b,S,a.memoizedState.cache)}return wh(a,b,c)}var ai=ka(null),bi=null,ci=null,di=null;function ei(){di=ci=bi=null}function $h(a,b,c){E(ai,b._currentValue);b._currentValue=c}function fi(a){a._currentValue=ai.current;D(ai)} +function Wh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} +function gi(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=$d(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var l=h.pending;null===l?g.next=g:(g.next=l.next,l.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);Wh(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== +f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);Wh(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function vh(a,b){bi=a;di=ci=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(eg=!0),a.firstContext=null)}function ag(a){return hi(bi,a)}function Ce(a,b,c){null===bi&&vh(a,c);return hi(a,b)} +function hi(a,b){var c=b._currentValue;if(di!==b)if(b={context:b,memoizedValue:c,next:null},null===ci){if(null===a)throw Error(t(308));ci=b;a.dependencies={lanes:0,firstContext:b}}else ci=ci.next=b;return c} +var ii="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},ji=ba.unstable_scheduleCallback,ki=ba.unstable_NormalPriority,S={$$typeof:ra,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function Tg(){return{controller:new ii,data:new Map,refCount:0}} +function li(a){a.refCount--;0===a.refCount&&ji(ki,function(){a.controller.abort()})}var mi=da.ReactCurrentBatchConfig,ni=ka(null);function Fh(){var a=ni.current;return null!==a?a:N.pooledCache}function Eh(a,b){null===b?E(ni,ni.current):E(ni,b.pool)}function Oh(){var a=Fh();return null===a?null:{parent:S._currentValue,pool:a}}function oi(a){a.flags|=4}function pi(a){a.flags|=2097664} +function qi(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(M&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(ri())a.flags|=8192;else throw oe=ke,je;}function si(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?mb():536870912,a.lanes|=b)} +function ti(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} +function T(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)for(var e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&31457280,d|=e.flags&31457280,e.return=a,e=e.sibling;else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b} +function ui(a,b,c){var d=b.pendingProps;qd(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return T(b),null;case 1:return Xc(b.type)&&Yc(),T(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);fi(S);Ma();D(Uc);D(Tc);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Hd(b)?oi(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= +1024,null!==rd&&(vi(rd),rd=null));T(b);return null;case 26:c=b.memoizedState;if(null===a)oi(b),null!==b.ref&&pi(b),null!==c?(T(b),qi(b,c)):(T(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&oi(b);a.ref!==b.ref&&pi(b);null!==c?(T(b),c===e?b.flags&=-16777217:qi(b,c)):(a.memoizedProps!==d&&oi(b),T(b),b.flags&=-16777217)}return null;case 27:Oa(b);c=Ga.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&oi(b),a.ref!==b.ref&&pi(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); +T(b);return null}a=Ea.current;Hd(b)?wi(b.stateNode,b.type,b.memoizedProps,a,b):(a=xi(e,d,c),b.stateNode=a,oi(b));null!==b.ref&&pi(b)}T(b);return null;case 5:Oa(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&oi(b),a.ref!==b.ref&&pi(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));T(b);return null}a=Ea.current;if(Hd(b))wi(b.stateNode,b.type,b.memoizedProps,a,b);else{e=yi(Ga.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", c);break;default:switch(c){case "svg":a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case "math":a=e.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case "script":a=e.createElement("div");a.innerHTML="<script>\x3c/script>";a=a.removeChild(a.firstChild);break;case "select":a="string"===typeof d.is?e.createElement("select",{is:d.is}):e.createElement("select");d.multiple?a.multiple=!0:d.size&&(a.size=d.size);break;default:a="string"===typeof d.is?e.createElement(c,{is:d.is}): -e.createElement(c)}}a[tb]=b;a[ub]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(Zh(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&Oh(b)}null!==b.ref&& -Ph(b)}V(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&Oh(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=Fa.current;if(Bd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[tb]=b;if(d=a.nodeValue!==c)if(e=I,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);$h(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&$h(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&Oh(b)}else a=Yh(a).createTextNode(d), -a[tb]=b,b.stateNode=a}V(b);return null;case 13:Ke(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==J&&0!==(b.mode&1)&&0===(b.flags&128))Dd(),Ed(),b.flags|=384,e=!1;else if(e=Bd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[tb]=b}else Ed(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;V(b);e=!1}else null!==nd&&(Vh(nd),nd=null),e=!0;if(!e)return b.flags& -256?b:null}if(0!==(b.flags&128))return b.lanes=c,b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&&null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);Sh(b,b.updateQueue);V(b);return null;case 4:return Ja(),null===a&&ai(b.stateNode.containerInfo), -V(b),null;case 10:return Fh(b.type._context),V(b),null;case 17:return Tc(b.type)&&Uc(),V(b),null;case 19:D(He);e=b.memoizedState;if(null===e)return V(b),null;d=0!==(b.flags&128);f=e.rendering;if(null===f)if(d)Th(e,!1);else{if(0!==Og||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Le(a);if(null!==f){b.flags|=128;Th(e,!1);a=f.updateQueue;b.updateQueue=a;Sh(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)bi(c,a),c=c.sibling;E(He,He.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Qa()> -ci&&(b.flags|=128,d=!0,Th(e,!1),b.lanes=8388608)}else{if(!d)if(a=Le(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,Sh(b,a),Th(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return V(b),null}else 2*Qa()-e.renderingStartTime>ci&&1073741824!==c&&(b.flags|=128,d=!0,Th(e,!1),b.lanes=8388608);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime= -Qa(),b.sibling=null,a=He.current,E(He,d?a&1|2:a&1),b;V(b);return null;case 22:case 23:return Ke(b),De(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&1073741824)&&0===(b.flags&128)&&(V(b),b.subtreeFlags&6&&(b.flags|=8192)):V(b),c=b.updateQueue,null!==c&&Sh(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& -(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(Nh),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),Fh(U),V(b),null;case 25:return null}throw Error(t(156,b.tag));} -function di(a,b){md(b);switch(b.tag){case 1:return Tc(b.type)&&Uc(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return Fh(U),Ja(),D(Qc),D(Pc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return La(b),null;case 13:Ke(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Ed()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(He),null;case 4:return Ja(),null;case 10:return Fh(b.type._context), -null;case 22:case 23:return Ke(b),De(),null!==a&&D(Nh),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return Fh(U),null;case 25:return null;default:return null}} -function ei(a,b){md(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&Uc();break;case 3:Fh(U);Ja();D(Qc);D(Pc);break;case 26:case 27:case 5:La(b);break;case 4:Ja();break;case 13:Ke(b);break;case 19:D(He);break;case 10:Fh(b.type._context);break;case 22:case 23:Ke(b);De();null!==a&&D(Nh);break;case 24:Fh(U)}}function fi(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} -var gi=!1,hi=null,ii=!1,ji=null,ki={onError:function(a){gi=!0;hi=a}};function li(a,b,c,d,e,f,g,h,m){gi=!1;hi=null;fi.apply(ki,arguments)}function mi(a,b,c,d,e,f,g,h,m){li.apply(this,arguments);if(gi){if(gi){var p=hi;gi=!1;hi=null}else throw Error(t(198));ii||(ii=!0,ji=p)}}var ni=!1,oi=!1,pi="function"===typeof WeakSet?WeakSet:Set,qi=null; -function ri(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function si(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} -function ti(a,b,c){try{c()}catch(d){W(a,b,d)}}var ui=!1; -function vi(a,b){wi=xi;a=yi();if(zi(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(n){c=null;break a}var g=0,h=-1,m=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(m=g+d);3===w.nodeType&&(g+= -w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(m=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===m?null:{start:h,end:m}}else c=null}c=c||{start:0,end:0}}else c=null;Ai={focusedElem:a,selectionRange:c};xi=!1;for(qi=b;null!==qi;)if(b=qi,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,qi=a;else for(;null!==qi;){b=qi;try{var z=b.alternate,B=b.flags;switch(b.tag){case 0:break;case 11:case 15:break; -case 1:if(0!==(B&1024)&&null!==z){var S=z.memoizedProps,T=z.memoizedState,l=b.stateNode,k=l.getSnapshotBeforeUpdate(b.elementType===b.type?S:wg(b.type,S),T);l.__reactInternalSnapshotBeforeUpdate=k}break;case 3:0!==(B&1024)&&Bi(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(B&1024))throw Error(t(163));}}catch(n){W(b,b.return,n)}a=b.sibling;if(null!==a){a.return=b.return;qi=a;break}qi=b.return}z=ui;ui=!1;return z} -function Ci(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,ti(b,c,g))}e=e.next}while(e!==d)}}function Di(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create,e=c.inst;d=d();e.destroy=d}c=c.next}while(c!==b)}}function Ei(a,b){try{Di(b,a)}catch(c){W(a,a.return,c)}} -function Fi(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{$d(b,c)}catch(d){W(a,a.return,d)}}}function Gi(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} -function Hi(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:Ii(a,c);d&4&&Ei(c,5);break;case 1:Ii(a,c);if(d&4)if(a=c.stateNode,null===b)try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:wg(c.type,b.memoizedProps);b=b.memoizedState;try{a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&Fi(c);d&512&&ri(c,c.return);break;case 3:Ii(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a= -c.child.stateNode;break;case 1:a=c.child.stateNode}try{$d(d,a)}catch(h){W(c,c.return,h)}}break;case 26:Ii(a,c);d&512&&ri(c,c.return);break;case 27:case 5:Ii(a,c);null===b&&d&4&&Gi(c);d&512&&ri(c,c.return);break;case 12:Ii(a,c);break;case 13:Ii(a,c);d&4&&Ji(a,c);break;case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||ni,!e){b=null!==b&&null!==b.memoizedState||oi;var f=ni,g=oi;ni=e;(oi=b)&&!g?Ki(a,c,0!==(c.subtreeFlags&8772)):Ii(a,c);ni=f;oi=g}}else Ii(a,c);d&512&&("manual"===c.memoizedProps.mode? -ri(c,c.return):si(c,c.return));break;default:Ii(a,c)}}function Li(a){var b=a.alternate;null!==b&&(a.alternate=null,Li(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Cb(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Mi(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} -function Ni(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Mi(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} -function Oi(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Pi));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(Oi(a,b,c),a=a.sibling;null!==a;)Oi(a,b,c),a=a.sibling} -function Qi(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(Qi(a,b,c),a=a.sibling;null!==a;)Qi(a,b,c),a=a.sibling}var X=null,Ri=!1;function Si(a,b,c){for(c=c.child;null!==c;)Ti(a,b,c),c=c.sibling} -function Ti(a,b,c){if(Ya&&"function"===typeof Ya.onCommitFiberUnmount)try{Ya.onCommitFiberUnmount(Xa,c)}catch(m){}switch(c.tag){case 26:oi||si(c,b);Si(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:oi||si(c,b);var d=X,e=Ri;X=c.stateNode;Si(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Cb(c);X=d;Ri=e;break;case 5:oi||si(c,b);case 6:d=X;e=Ri;X=null;Si(a,b,c);X=d;Ri=e;null!==X&&(Ri?(a=X,c=c.stateNode, -8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Ri?(a=X,c=c.stateNode,8===a.nodeType?Ui(a.parentNode,c):1===a.nodeType&&Ui(a,c),Vi(a)):Ui(X,c.stateNode));break;case 4:d=X;e=Ri;X=c.stateNode.containerInfo;Ri=!0;Si(a,b,c);X=d;Ri=e;break;case 0:case 11:case 14:case 15:if(!oi&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,ti(c,b,h)):0!==(f& -4)&&(g.destroy=void 0,ti(c,b,h)));e=e.next}while(e!==d)}Si(a,b,c);break;case 1:if(!oi&&(si(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(m){W(c,b,m)}Si(a,b,c);break;case 21:Si(a,b,c);break;case 22:si(c,b);c.mode&1?(oi=(d=oi)||null!==c.memoizedState,Si(a,b,c),oi=d):Si(a,b,c);break;default:Si(a,b,c)}} -function Ji(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{Vi(a)}catch(c){W(b,b.return,c)}}function Wi(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new pi);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new pi),b;default:throw Error(t(435,a.tag));}}function Xi(a,b){var c=Wi(a);b.forEach(function(d){var e=Yi.bind(null,a,d);c.has(d)||(c.add(d),d.then(e,e))})} -function Zi(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:X=h.stateNode;Ri=!1;break a;case 3:X=h.stateNode.containerInfo;Ri=!0;break a;case 4:X=h.stateNode.containerInfo;Ri=!0;break a}h=h.return}if(null===X)throw Error(t(160));Ti(f,g,e);X=null;Ri=!1;var m=e.alternate;null!==m&&(m.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)$i(b,a),b=b.sibling}var aj=null; -function $i(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Zi(b,a);bj(a);if(d&4){try{Ci(3,a,a.return),Di(3,a)}catch(u){W(a,a.return,u)}try{Ci(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:Zi(b,a);bj(a);d&512&&null!==c&&si(c,c.return);d&64&&ni&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e=aj;Zi(b,a);bj(a);d&512&&null!==c&&si(c,c.return);if(d&4)if(b=null!== -c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Ab]||e[tb]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));Zh(e,c,d);e[tb]=a;Jb(e);c=e;break a;case "link":var f=cj("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g], -e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);Zh(e,c,d);b.head.appendChild(e);break;case "meta":if(f=cj("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")===(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null== -d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);Zh(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[tb]=a;Jb(e);c=e}a.stateNode=c}else dj(e,a.type,a.stateNode);else a.stateNode=ej(e,d,a.memoizedProps);else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)): -b.count--,null===d?dj(e,a.type,a.stateNode):ej(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,m=a.memoizedProps;fj(h,a.type,c.memoizedProps,m);h[ub]=m}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Ab]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"===q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p= -e.attributes;p.length;)e.removeAttributeNode(p[0]);Zh(e,g,f);e[tb]=a;e[ub]=f}case 5:Zi(b,a);bj(a);d&512&&null!==c&&si(c,c.return);if(a.flags&32){b=a.stateNode;try{vc(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{fj(d,e,c,b),d[ub]=b}catch(u){W(a,a.return,u)}}break;case 6:Zi(b,a);bj(a);if(d&4){if(null===a.stateNode)throw Error(t(162));c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return, -u)}}break;case 3:gj=null;e=aj;aj=hj(b.containerInfo);Zi(b,a);aj=e;bj(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{Vi(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=aj;aj=hj(a.stateNode.containerInfo);Zi(b,a);bj(a);aj=c;break;case 13:Zi(b,a);bj(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(ij=Qa());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Xi(a,c)));break;case 22:d&512&&null!==c&&si(c,c.return);h=null!==a.memoizedState;m=null!==c&& -null!==c.memoizedState;if(a.mode&1){var w=ni,r=oi;ni=w||h;oi=r||m;Zi(b,a);oi=r;ni=w}else Zi(b,a);bj(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=ni||oi,null===c||m||b||0!==(a.mode&1)&&jj(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e=b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display", +e.createElement(c)}}a[xb]=b;a[yb]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(zi(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&oi(b)}null!==b.ref&& +pi(b)}T(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&oi(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=Ga.current;if(Hd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[xb]=b;if(d=a.nodeValue!==c)if(e=G,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);Ai(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&Ai(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&oi(b)}else a=yi(a).createTextNode(d), +a[xb]=b,b.stateNode=a}T(b);return null;case 13:Re(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==J&&0!==(b.mode&1)&&0===(b.flags&128))Jd(),Kd(),b.flags|=384,e=!1;else if(e=Hd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[xb]=b}else Kd(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;T(b);e=!1}else null!==rd&&(vi(rd),rd=null),e=!0;if(!e)return b.flags& +256?b:null}if(0!==(b.flags&128))return b.lanes=c,b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&&null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);si(b,b.updateQueue);T(b);return null;case 4:return Ma(),null===a&&Bi(b.stateNode.containerInfo), +T(b),null;case 10:return fi(b.type._context),T(b),null;case 17:return Xc(b.type)&&Yc(),T(b),null;case 19:D(Oe);e=b.memoizedState;if(null===e)return T(b),null;d=0!==(b.flags&128);f=e.rendering;if(null===f)if(d)ti(e,!1);else{if(0!==oh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Se(a);if(null!==f){b.flags|=128;ti(e,!1);a=f.updateQueue;b.updateQueue=a;si(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)Ci(c,a),c=c.sibling;E(Oe,Oe.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Ta()> +Di&&(b.flags|=128,d=!0,ti(e,!1),b.lanes=4194304)}else{if(!d)if(a=Se(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,si(b,a),ti(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&&!K)return T(b),null}else 2*Ta()-e.renderingStartTime>Di&&536870912!==c&&(b.flags|=128,d=!0,ti(e,!1),b.lanes=4194304);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Ta(), +b.sibling=null,a=Oe.current,E(Oe,d?a&1|2:a&1),b;T(b);return null;case 22:case 23:return Re(b),Ke(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(c&536870912)&&0===(b.flags&128)&&(T(b),b.subtreeFlags&6&&(b.flags|=8192)):T(b),c=b.updateQueue,null!==c&&si(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&& +(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(ni),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),fi(S),T(b),null;case 25:return null}throw Error(t(156,b.tag));} +function Ei(a,b){qd(b);switch(b.tag){case 1:return Xc(b.type)&&Yc(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return fi(S),Ma(),D(Uc),D(Tc),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Oa(b),null;case 13:Re(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Kd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return D(Oe),null;case 4:return Ma(),null;case 10:return fi(b.type._context), +null;case 22:case 23:return Re(b),Ke(),null!==a&&D(ni),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 24:return fi(S),null;case 25:return null;default:return null}} +function Fi(a,b){qd(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&Yc();break;case 3:fi(S);Ma();D(Uc);D(Tc);break;case 26:case 27:case 5:Oa(b);break;case 4:Ma();break;case 13:Re(b);break;case 19:D(Oe);break;case 10:fi(b.type._context);break;case 22:case 23:Re(b);Ke();null!==a&&D(ni);break;case 24:fi(S)}}function Gi(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} +var Hi=!1,Ii=null,Ji=!1,Ki=null,Li={onError:function(a){Hi=!0;Ii=a}};function Mi(a,b,c,d,e,f,g,h,l){Hi=!1;Ii=null;Gi.apply(Li,arguments)}function Ni(a,b,c,d,e,f,g,h,l){Mi.apply(this,arguments);if(Hi){if(Hi){var p=Ii;Hi=!1;Ii=null}else throw Error(t(198));Ji||(Ji=!0,Ki=p)}}var Oi=!1,Pi=!1,Qi="function"===typeof WeakSet?WeakSet:Set,Ri=null; +function Si(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}"function"===typeof c?a.refCleanup=c(e):c.current=e}}catch(f){W(a,b,f)}}function Ti(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{c(null)}catch(e){W(a,b,e)}else c.current=null} +function Ui(a,b,c){try{c()}catch(d){W(a,b,d)}}var Vi=!1; +function Wi(a,b){Xi=Yi;a=Zi();if($i(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(n){c=null;break a}var g=0,h=-1,l=-1,p=0,q=0,w=a,r=null;b:for(;;){for(var u;;){w!==c||0!==e&&3!==w.nodeType||(h=g+e);w!==f||0!==d&&3!==w.nodeType||(l=g+d);3===w.nodeType&&(g+= +w.nodeValue.length);if(null===(u=w.firstChild))break;r=w;w=u}for(;;){if(w===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(l=g);if(null!==(u=w.nextSibling))break;w=r;r=w.parentNode}w=u}c=-1===h||-1===l?null:{start:h,end:l}}else c=null}c=c||{start:0,end:0}}else c=null;aj={focusedElem:a,selectionRange:c};Yi=!1;for(Ri=b;null!==Ri;)if(b=Ri,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Ri=a;else for(;null!==Ri;){b=Ri;try{var z=b.alternate,B=b.flags;switch(b.tag){case 0:break;case 11:case 15:break; +case 1:if(0!==(B&1024)&&null!==z){var U=z.memoizedProps,V=z.memoizedState,m=b.stateNode,k=m.getSnapshotBeforeUpdate(b.elementType===b.type?U:Xg(b.type,U),V);m.__reactInternalSnapshotBeforeUpdate=k}break;case 3:0!==(B&1024)&&bj(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(B&1024))throw Error(t(163));}}catch(n){W(b,b.return,n)}a=b.sibling;if(null!==a){a.return=b.return;Ri=a;break}Ri=b.return}z=Vi;Vi=!1;return z} +function cj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,Ui(b,c,g))}e=e.next}while(e!==d)}}function dj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create,e=c.inst;d=d();e.destroy=d}c=c.next}while(c!==b)}}function ej(a,b){try{dj(b,a)}catch(c){W(a,a.return,c)}} +function fj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{ge(b,c)}catch(d){W(a,a.return,d)}}}function gj(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} +function hj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:ij(a,c);d&4&&ej(c,5);break;case 1:ij(a,c);if(d&4)if(a=c.stateNode,null===b)try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:Xg(c.type,b.memoizedProps);b=b.memoizedState;try{a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&fj(c);d&512&&Si(c,c.return);break;case 3:ij(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a= +c.child.stateNode;break;case 1:a=c.child.stateNode}try{ge(d,a)}catch(h){W(c,c.return,h)}}break;case 26:ij(a,c);d&512&&Si(c,c.return);break;case 27:case 5:ij(a,c);null===b&&d&4&&gj(c);d&512&&Si(c,c.return);break;case 12:ij(a,c);break;case 13:ij(a,c);d&4&&jj(a,c);break;case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||Oi,!e){b=null!==b&&null!==b.memoizedState||Pi;var f=Oi,g=Pi;Oi=e;(Pi=b)&&!g?kj(a,c,0!==(c.subtreeFlags&8772)):ij(a,c);Oi=f;Pi=g}}else ij(a,c);d&512&&("manual"===c.memoizedProps.mode? +Si(c,c.return):Ti(c,c.return));break;default:ij(a,c)}}function lj(a){var b=a.alternate;null!==b&&(a.alternate=null,lj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Gb(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function mj(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} +function nj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||mj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} +function oj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=pj));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(oj(a,b,c),a=a.sibling;null!==a;)oj(a,b,c),a=a.sibling} +function qj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(qj(a,b,c),a=a.sibling;null!==a;)qj(a,b,c),a=a.sibling}var rj=null,sj=!1;function tj(a,b,c){for(c=c.child;null!==c;)uj(a,b,c),c=c.sibling} +function uj(a,b,c){if(ab&&"function"===typeof ab.onCommitFiberUnmount)try{ab.onCommitFiberUnmount($a,c)}catch(l){}switch(c.tag){case 26:Pi||Ti(c,b);tj(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Pi||Ti(c,b);var d=rj,e=sj;rj=c.stateNode;tj(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Gb(c);rj=d;sj=e;break;case 5:Pi||Ti(c,b);case 6:d=rj;e=sj;rj=null;tj(a,b,c);rj=d;sj=e;null!==rj&&(sj?(a=rj,c=c.stateNode, +8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):rj.removeChild(c.stateNode));break;case 18:null!==rj&&(sj?(a=rj,c=c.stateNode,8===a.nodeType?vj(a.parentNode,c):1===a.nodeType&&vj(a,c),wj(a)):vj(rj,c.stateNode));break;case 4:d=rj;e=sj;rj=c.stateNode.containerInfo;sj=!0;tj(a,b,c);rj=d;sj=e;break;case 0:case 11:case 14:case 15:if(!Pi&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,Ui(c,b,h)): +0!==(f&4)&&(g.destroy=void 0,Ui(c,b,h)));e=e.next}while(e!==d)}tj(a,b,c);break;case 1:if(!Pi&&(Ti(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(l){W(c,b,l)}tj(a,b,c);break;case 21:tj(a,b,c);break;case 22:Ti(c,b);c.mode&1?(Pi=(d=Pi)||null!==c.memoizedState,tj(a,b,c),Pi=d):tj(a,b,c);break;default:tj(a,b,c)}} +function jj(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{wj(a)}catch(c){W(b,b.return,c)}}function xj(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new Qi);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new Qi),b;default:throw Error(t(435,a.tag));}}function yj(a,b){var c=xj(a);b.forEach(function(d){var e=zj.bind(null,a,d);c.has(d)||(c.add(d),d.then(e,e))})} +function Aj(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:rj=h.stateNode;sj=!1;break a;case 3:rj=h.stateNode.containerInfo;sj=!0;break a;case 4:rj=h.stateNode.containerInfo;sj=!0;break a}h=h.return}if(null===rj)throw Error(t(160));uj(f,g,e);rj=null;sj=!1;var l=e.alternate;null!==l&&(l.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)Bj(b,a),b=b.sibling} +var Cj=null; +function Bj(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Aj(b,a);Dj(a);if(d&4){try{cj(3,a,a.return),dj(3,a)}catch(u){W(a,a.return,u)}try{cj(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:Aj(b,a);Dj(a);d&512&&null!==c&&Ti(c,c.return);d&64&&Oi&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e=Cj;Aj(b,a);Dj(a);d&512&&null!==c&&Ti(c,c.return);if(d&4)if(b=null!== +c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Fb]||e[xb]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));zi(e,c,d);e[xb]=a;Nb(e);c=e;break a;case "link":var f=Ej("link","href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g], +e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);zi(e,c,d);b.head.appendChild(e);break;case "meta":if(f=Ej("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")===(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null== +d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);zi(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[xb]=a;Nb(e);c=e}a.stateNode=c}else Fj(e,a.type,a.stateNode);else a.stateNode=Gj(e,d,a.memoizedProps);else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)): +b.count--,null===d?Fj(e,a.type,a.stateNode):Gj(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,l=a.memoizedProps;Hj(h,a.type,c.memoizedProps,l);h[yb]=l}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Fb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"===q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p= +e.attributes;p.length;)e.removeAttributeNode(p[0]);zi(e,g,f);e[xb]=a;e[yb]=f}case 5:Aj(b,a);Dj(a);d&512&&null!==c&&Ti(c,c.return);if(a.flags&32){b=a.stateNode;try{zc(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{Hj(d,e,c,b),d[yb]=b}catch(u){W(a,a.return,u)}}break;case 6:Aj(b,a);Dj(a);if(d&4){if(null===a.stateNode)throw Error(t(162));c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return, +u)}}break;case 3:Ij=null;e=Cj;Cj=Jj(b.containerInfo);Aj(b,a);Cj=e;Dj(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{wj(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=Cj;Cj=Jj(a.stateNode.containerInfo);Aj(b,a);Dj(a);Cj=c;break;case 13:Aj(b,a);Dj(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(Kj=Ta());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,yj(a,c)));break;case 22:d&512&&null!==c&&Ti(c,c.return);h=null!==a.memoizedState;l=null!==c&& +null!==c.memoizedState;if(a.mode&1){var w=Oi,r=Pi;Oi=w||h;Pi=r||l;Aj(b,a);Pi=r;Oi=w}else Aj(b,a);Dj(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=Oi||Pi,null===c||l||b||0!==(a.mode&1)&&Lj(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e=b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display", "none","important"):f.display="none"):(g=b.stateNode,p=b.memoizedProps.style,q=void 0!==p&&null!==p&&p.hasOwnProperty("display")?p.display:null,g.style.display=null==q||"boolean"===typeof q?"":(""+q).trim())}catch(u){W(a,a.return,u)}}}else if(6===b.tag){if(null===c)try{b.stateNode.nodeValue=h?"":b.memoizedProps}catch(u){W(a,a.return,u)}}else if((22!==b.tag&&23!==b.tag||null===b.memoizedState||b===a)&&null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null=== -b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,Xi(a,d))));break;case 19:Zi(b,a);bj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Xi(a,c)));break;case 21:break;default:Zi(b,a),bj(a)}} -function bj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(Mi(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=Ni(a);Qi(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(vc(g,""),d.flags&=-33);var h=Ni(a);Qi(a,h,g);break;case 3:case 4:var m=d.stateNode.containerInfo,p=Ni(a);Oi(a,p,m);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} -function Ii(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)Hi(a,b.alternate,b),b=b.sibling} -function jj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:Ci(4,b,b.return);jj(b);break;case 1:si(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{var f=d;c.props=f.memoizedProps;c.state=f.memoizedState;c.componentWillUnmount()}catch(g){W(d,e,g)}}jj(b);break;case 26:case 27:case 5:si(b,b.return);jj(b);break;case 22:si(b,b.return);null===b.memoizedState&&jj(b);break;default:jj(b)}a=a.sibling}} -function Ki(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:Ki(e,f,c);Ei(f,4);break;case 1:Ki(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(m){W(f,f.return,m)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)Zd(h[d],e)}c&&g&64&&Fi(f);ri(f,f.return);break;case 26:case 27:case 5:Ki(e,f,c); -c&&null===d&&g&4&&Gi(f);ri(f,f.return);break;case 12:Ki(e,f,c);break;case 13:Ki(e,f,c);c&&g&4&&Ji(e,f);break;case 22:null===f.memoizedState&&Ki(e,f,c);ri(f,f.return);break;default:Ki(e,f,c)}b=b.sibling}}function kj(a,b){try{Di(b,a)}catch(c){W(a,a.return,c)}} -function lj(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&Lh(c))}function mj(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&Lh(a))} -function nj(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)oj(a,b,c,d),b=b.sibling} -function oj(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:nj(a,b,c,d);e&2048&&kj(b,9);break;case 3:nj(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&Lh(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?nj(a,b,c,d):b.mode&1?pj(a,b):(f._visibility|=4,nj(a,b,c,d)):f._visibility&4?nj(a,b,c,d):(f._visibility|=4,qj(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&lj(b.alternate, -b);break;case 24:nj(a,b,c,d);e&2048&&mj(b.alternate,b);break;default:nj(a,b,c,d)}} -function qj(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,m=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:qj(f,g,h,m,e);kj(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?qj(f,g,h,m,e):g.mode&1?pj(f,g):(q._visibility|=4,qj(f,g,h,m,e)):(q._visibility|=4,qj(f,g,h,m,e));e&&p&2048&&lj(g.alternate,g);break;case 24:qj(f,g,h,m,e);e&&p&2048&&mj(g.alternate,g);break;default:qj(f,g,h,m,e)}b=b.sibling}} -function pj(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:pj(c,d);e&2048&&lj(d.alternate,d);break;case 24:pj(c,d);e&2048&&mj(d.alternate,d);break;default:pj(c,d)}b=b.sibling}}var rj=8192;function sj(a){if(a.subtreeFlags&rj)for(a=a.child;null!==a;)tj(a),a=a.sibling} -function tj(a){switch(a.tag){case 26:sj(a);a.flags&rj&&null!==a.memoizedState&&uj(aj,a.memoizedState,a.memoizedProps);break;case 5:sj(a);break;case 3:case 4:var b=aj;aj=hj(a.stateNode.containerInfo);sj(a);aj=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=rj,rj=16777216,sj(a),rj=b):sj(a));break;default:sj(a)}}function vj(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} -function wj(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];qi=d;xj(d,a)}vj(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)yj(a),a=a.sibling}function yj(a){switch(a.tag){case 0:case 11:case 15:wj(a);a.flags&2048&&Ci(9,a,a.return);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,zj(a)):wj(a);break;default:wj(a)}} -function zj(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];qi=d;xj(d,a)}vj(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:Ci(8,b,b.return);zj(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,zj(b));break;default:zj(b)}a=a.sibling}} -function xj(a,b){for(;null!==qi;){var c=qi;switch(c.tag){case 0:case 11:case 15:Ci(8,c,b);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:Lh(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,qi=d;else a:for(c=a;null!==qi;){d=qi;var e=d.sibling,f=d.return;Li(d);if(d===c){qi=null;break a}if(null!==e){e.return=f;qi=e;break a}qi=f}}} -var Aj={getCacheSignal:function(){return Lf(U).controller.signal},getCacheForType:function(a){var b=Lf(U),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},Bj="function"===typeof WeakMap?WeakMap:Map,Cj=ea.ReactCurrentDispatcher,Dj=ea.ReactCurrentCache,Ej=ea.ReactCurrentOwner,Fj=ea.ReactCurrentBatchConfig,L=0,N=null,Y=null,M=0,O=0,Gj=null,Hj=!1,Be=0,Og=0,Ze=null,Yd=0,Ij=0,Jj=0,Qg=null,cf=null,ij=0,ci=Infinity,df=null,Hg=!1,Ig=null,Kg=null,Kj=!1,Lj=null,Mj=0,Nj=0,Oj=null,Od=0,Pd=null; -function qg(a){if(0===(a.mode&1))return 2;if(0!==(L&2)&&0!==M)return M&-M;if(null!==Mh.transition)return a=jf,0===a&&(0===Re&&(Re=jb()),a=Re),a;a=H;if(0!==a)return a;a=window.event;a=void 0===a?32:Pj(a.type);return a}function Yf(a,b,c){if(a===N&&2===O||null!==a.cancelPendingCommit)$e(a,0),af(a,M);mb(a,c);if(0===(L&2)||a!==N)a===N&&(0===(L&2)&&(Ij|=c),4===Og&&af(a,M)),Se(a),2===c&&0===L&&0===(b.mode&1)&&(ci=Qa()+500,Ve(!0))} -function gf(a,b){if(0!==(L&6))throw Error(t(327));var c=a.callbackNode;if(We()&&a.callbackNode!==c)return null;var d=gb(a,a===N?M:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?Qj(a,d):Xe(a,d);if(0!==b){var f=e;do{if(6===b)af(a,d);else{e=a.current.alternate;if(f&&!Rj(e)){b=Xe(a,d);f=!1;continue}if(2===b){f=d;var g=ib(a,f);0!==g&&(d=g,b=Ye(a,f,g))}if(1===b)throw c=Ze,$e(a,0),af(a,d),Se(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); -case 4:if((d&8388480)===d){af(f,d);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&125829120)===d&&(b=ij+300-Qa(),10<b)){af(f,d);if(0!==gb(f,0))break a;f.timeoutHandle=Sj(Tj.bind(null,f,e,cf,df,d),b);break a}Tj(f,e,cf,df,d)}}break}while(1)}Se(a);ff(a,Qa());a=a.callbackNode===c?gf.bind(null,a):null;return a} -function Ye(a,b,c){var d=Qg,e=a.current.memoizedState.isDehydrated;e&&($e(a,c).flags|=256);c=Xe(a,c);if(2!==c){if(Hj&&!e)return a.errorRecoveryDisabledLanes|=b,Ij|=b,4;a=cf;cf=d;null!==a&&Vh(a)}return c}function Vh(a){null===cf?cf=a:cf.push.apply(cf,a)}function Tj(a,b,c,d,e){if(0===(e&42)&&(Uj={stylesheets:null,count:0,unsuspend:Vj},tj(b),b=Wj(),null!==b)){a.cancelPendingCommit=b(bf.bind(null,a,c,d));af(a,e);return}bf(a,c,d)} -function Rj(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!$c(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} -function af(a,b){b&=~Jj;b&=~Ij;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-ab(b),d=1<<c;a[c]=-1;b&=~d}}function Xj(a,b){var c=L;L|=1;try{return a(b)}finally{L=c,0===L&&(ci=Qa()+500,Ve(!0))}}function Yj(a){null!==Lj&&0===Lj.tag&&0===(L&6)&&We();var b=L;L|=1;var c=Fj.transition,d=H;try{if(Fj.transition=null,H=2,a)return a()}finally{H=d,Fj.transition=c,L=b,0===(L&6)&&Ve(!1)}} -function Zj(){if(null!==Y){if(0===O)var a=Y.return;else a=Y,Eh(),Ff(a),je=null,ke=0,a=Y;for(;null!==a;)ei(a.alternate,a),a=a.return;Y=null}}function $e(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,ak(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());Zj();N=a;Y=a=qe(a.current,null);M=Be=b;O=0;Gj=null;Hj=!1;Og=0;Ze=null;Jj=Ij=Yd=0;cf=Qg=null;Jd();return a} -function bk(a,b){P=null;kf.current=Bf;Ej.current=null;b===be?(b=ie(),O=Rh()&&0===(Yd&268435455)&&0===(Ij&268435455)?2:3):b===ce?(b=ie(),O=4):O=b===Sg?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;Gj=b;null===Y&&(Og=1,Ze=b)}function Rh(){var a=Ee.current;return null===a?!0:(M&8388480)===M?null===Fe?!0:!1:(M&125829120)===M||0!==(M&1073741824)?a===Fe:!1}function ck(){var a=Cj.current;Cj.current=Bf;return null===a?Bf:a}function dk(){var a=Dj.current;Dj.current=Aj;return a} -function Ng(){Og=4;null===N||0===(Yd&268435455)&&0===(Ij&268435455)||af(N,M)}function Xe(a,b){var c=L;L|=2;var d=ck(),e=dk();if(N!==a||M!==b)df=null,$e(a,b);b=!1;a:do try{if(0!==O&&null!==Y){var f=Y,g=Gj;switch(O){case 8:Zj();Og=6;break a;case 3:case 2:b||null!==Ee.current||(b=!0);default:O=0,Gj=null,ek(f,g)}}fk();break}catch(h){bk(a,h)}while(1);b&&a.shellSuspendCounter++;Eh();L=c;Cj.current=d;Dj.current=e;if(null!==Y)throw Error(t(261));N=null;M=0;Jd();return Og} -function fk(){for(;null!==Y;)gk(Y)} -function Qj(a,b){var c=L;L|=2;var d=ck(),e=dk();if(N!==a||M!==b)df=null,ci=Qa()+500,$e(a,b);a:do try{if(0!==O&&null!==Y){b=Y;var f=Gj;b:switch(O){case 1:O=0;Gj=null;ek(b,f);break;case 2:if(ee(f)){O=0;Gj=null;hk(b);break}b=function(){2===O&&N===a&&(O=7);Se(a)};f.then(b,b);break a;case 3:O=7;break a;case 4:O=5;break a;case 7:ee(f)?(O=0,Gj=null,hk(b)):(O=0,Gj=null,ek(b,f));break;case 5:switch(Y.tag){case 5:case 26:case 27:b=Y;O=0;Gj=null;var g=b.sibling;if(null!==g)Y=g;else{var h=b.return;null!==h?(Y= -h,ik(h)):Y=null}break b}O=0;Gj=null;ek(b,f);break;case 6:O=0;Gj=null;ek(b,f);break;case 8:Zj();Og=6;break a;default:throw Error(t(462));}}jk();break}catch(m){bk(a,m)}while(1);Eh();Cj.current=d;Dj.current=e;L=c;if(null!==Y)return 0;N=null;M=0;Jd();return Og}function jk(){for(;null!==Y&&!Oa();)gk(Y)}function gk(a){var b=kk(a.alternate,a,Be);a.memoizedProps=a.pendingProps;null===b?ik(a):Y=b;Ej.current=null} -function hk(a){var b=a.alternate;switch(a.tag){case 2:a.tag=0;case 15:case 0:var c=a.type,d=a.pendingProps;d=a.elementType===c?d:wg(c,d);var e=Tc(c)?Rc:Pc.current;e=Sc(a,e);b=fh(b,a,d,c,e,M);break;case 11:c=a.type.render;d=a.pendingProps;d=a.elementType===c?d:wg(c,d);b=fh(b,a,d,c,a.ref,M);break;case 5:Ff(a);default:ei(b,a),a=Y=bi(a,Be),b=kk(b,a,Be)}a.memoizedProps=a.pendingProps;null===b?ik(a):Y=b;Ej.current=null} -function ek(a,b){Eh();Ff(a);je=null;ke=0;var c=a.return;if(null===c||null===N)Og=1,Ze=b,Y=null;else{try{Mg(N,c,a,b,M)}catch(d){throw Y=c,d;}if(a.flags&32768)a:{do{b=di(a.alternate,a);if(null!==b){b.flags&=32767;Y=b;break a}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);Y=a}while(null!==a);Og=6;Y=null}else ik(a)}}function ik(a){var b=a;do{a=b.return;var c=Uh(b.alternate,b,Be);if(null!==c){Y=c;return}b=b.sibling;if(null!==b){Y=b;return}Y=b=a}while(null!==b);0===Og&&(Og=5)} -function bf(a,b,c){var d=H,e=Fj.transition;try{Fj.transition=null,H=2,lk(a,b,c,d)}finally{Fj.transition=e,H=d}return null} -function lk(a,b,c,d){do We();while(null!==Lj);if(0!==(L&6))throw Error(t(327));var e=a.finishedWork,f=a.finishedLanes;if(null===e)return null;a.finishedWork=null;a.finishedLanes=0;if(e===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var g=e.lanes|e.childLanes;g|=Id;nb(a,g);a===N&&(Y=N=null,M=0);0===(e.subtreeFlags&10256)&&0===(e.flags&10256)||Kj||(Kj=!0,Nj=g,Oj=c,mk(Ua,function(){We();return null}));c=0!==(e.flags&15990);if(0!==(e.subtreeFlags&15990)|| -c){c=Fj.transition;Fj.transition=null;var h=H;H=2;var m=L;L|=4;Ej.current=null;vi(a,e);$i(e,a);nk(Ai);xi=!!wi;Ai=wi=null;a.current=e;Hi(a,e.alternate,e);Pa();L=m;H=h;Fj.transition=c}else a.current=e;Kj?(Kj=!1,Lj=a,Mj=f):ok(a,g);g=a.pendingLanes;0===g&&(Kg=null);Za(e.stateNode,d);Se(a);if(null!==b)for(d=a.onRecoverableError,e=0;e<b.length;e++)g=b[e],c={digest:g.digest,componentStack:g.stack},d(g.value,c);if(Hg)throw Hg=!1,a=Ig,Ig=null,a;0!==(Mj&3)&&0!==a.tag&&We();g=a.pendingLanes;0!==(f&8388522)&& -0!==(g&2)?a===Pd?Od++:(Od=0,Pd=a):Od=0;Ve(!1);return null}function ok(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,Lh(b)))} -function We(){if(null!==Lj){var a=Lj,b=Nj;Nj=0;var c=qb(Mj),d=32>c?32:c;c=Fj.transition;var e=H;try{Fj.transition=null;H=d;if(null===Lj)var f=!1;else{d=Oj;Oj=null;var g=Lj,h=Mj;Lj=null;Mj=0;if(0!==(L&6))throw Error(t(331));var m=L;L|=4;yj(g.current);oj(g,g.current,h,d);L=m;Ve(!1);if(Ya&&"function"===typeof Ya.onPostCommitFiberRoot)try{Ya.onPostCommitFiberRoot(Xa,g)}catch(p){}f=!0}return f}finally{H=e,Fj.transition=c,ok(a,b)}}return!1} -function pk(a,b,c){b=Dg(c,b);b=Gg(a,b,2);a=Ud(a,b,2);null!==a&&(mb(a,2),Se(a))}function W(a,b,c){if(3===a.tag)pk(a,a,c);else for(;null!==b;){if(3===b.tag){pk(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Kg||!Kg.has(d))){a=Dg(c,a);a=Jg(b,a,2);b=Ud(b,a,2);null!==b&&(mb(b,2),Se(b));break}}b=b.return}} -function Pg(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Bj;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(Hj=!0,e.add(c),a=qk.bind(null,a,b,c),b.then(a,a))}function qk(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===Og||3===Og&&(M&125829120)===M&&300>Qa()-ij?0===(L&2)&&$e(a,0):Jj|=c);Se(a)}function rk(a,b){0===b&&(b=0===(a.mode&1)?2:kb());a=Md(a,b);null!==a&&(mb(a,b),Se(a))} -function th(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);rk(a,c)}function Yi(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);rk(a,c)}var kk; -kk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Qc.current)Of=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return Of=!1,yh(a,b,c);Of=0!==(a.flags&131072)?!0:!1}else Of=!1,K&&0!==(b.flags&1048576)&&kd(b,dd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;hh(a,b);a=b.pendingProps;var e=Sc(b,Pc.current);Vg(b,c);e=wf(null,b,d,a,e,c);var f=Df();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= -null,Tc(d)?(f=!0,Xc(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,Rd(b),e.updater=yg,b.stateNode=e,e._reactInternals=b,Cg(b,d,a,c),b=ih(null,b,d,!0,f,c)):(b.tag=0,K&&f&&ld(b),Tg(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{hh(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=sk(d);a=wg(d,a);switch(e){case 0:b=$g(null,b,d,a,c);break a;case 1:b=gh(null,b,d,a,c);break a;case 11:b=Ug(null,b,d,a,c);break a;case 14:b=Xg(null,b,d,wg(d.type,a),c);break a}throw Error(t(306, -d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:wg(d,e),$g(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:wg(d,e),gh(a,b,d,e,c);case 3:a:{jh(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;Sd(a,b);Xd(b,e,null,c);var g=b.memoizedState;e=g.cache;zh(b,U,e);e!==f.cache&&Gh(b,U,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= -Dg(Error(t(423)),b);b=kh(a,b,e,c,d);break a}else if(e!==d){d=Dg(Error(t(424)),b);b=kh(a,b,e,c,d);break a}else for(J=ud(b.stateNode.containerInfo.firstChild),I=b,K=!0,nd=null,od=!0,c=xe(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ed();if(e===d){b=Wg(a,b,c);break a}Tg(a,b,e,c)}b=b.child}return b;case 26:return bh(a,b),c=b.memoizedState=tk(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=Yh(Fa.current).createElement(c),d[tb]= -b,d[ub]=a,Zh(d,c,a),Jb(d),b.stateNode=d),null;case 27:return Ka(b),null===a&&K&&(d=b.stateNode=Xh(b.type,b.pendingProps,Fa.current),I=b,od=!0,J=ud(d.firstChild)),d=b.pendingProps.children,null!==a||K?Tg(a,b,d,c):b.child=we(b,null,d,c),bh(a,b),b.child;case 5:return Ka(b),null===a&&K&&((e=d=J,e)?sd(b,e)||(yd(b)&&zd(),J=ud(e.nextSibling),f=I,J&&sd(b,J)?pd(f,e):(rd(I,b),K=!1,I=b,J=d)):(yd(b)&&zd(),rd(I,b),K=!1,I=b,J=d)),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Cd(d,e)?g= -null:null!==f&&Cd(d,f)&&(b.flags|=32),bh(a,b),Tg(a,b,g,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?vd(b,a)||(yd(b)&&zd(),J=ud(a.nextSibling),d=I,J&&vd(b,J)?pd(d,a):(rd(I,b),K=!1,I=b,J=c)):(yd(b)&&zd(),rd(I,b),K=!1,I=b,J=c)),null;case 13:return oh(a,b,c);case 4:return Ga(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=we(b,null,d,c):Tg(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:wg(d,e),Ug(a,b,d,e,c);case 7:return Tg(a, -b,b.pendingProps,c),b.child;case 8:return Tg(a,b,b.pendingProps.children,c),b.child;case 12:return Tg(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;zh(b,d,g);if(null!==f)if($c(f.value,g)){if(f.children===e.children&&!Qc.current){b=Wg(a,b,c);break a}}else Gh(b,d,c);Tg(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Vg(b,c),e=Lf(e),d=d(e),b.flags|=1,Tg(a,b,d,c),b.child;case 14:return d=b.type,e= -wg(d,b.pendingProps),e=wg(d.type,e),Xg(a,b,d,e,c);case 15:return Zg(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:wg(d,e),hh(a,b),b.tag=1,Tc(d)?(a=!0,Xc(b)):a=!1,Vg(b,c),Ag(b,d,e),Cg(b,d,e,c),ih(null,b,d,!0,a,c);case 19:return xh(a,b,c);case 22:return ah(a,b,c);case 24:return Vg(b,c),d=Lf(U),null===a?(e=eh(),null===e&&(e=N,f=rg(),e.pooledCache=f,f.refCount++,null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},Rd(b),zh(b,U,e)):(0!== -(a.lanes&c)&&(Sd(a,b),Xd(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),zh(b,U,d)):(d=f.cache,zh(b,U,d),d!==e.cache&&Gh(b,U,c))),Tg(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function mk(a,b){return Ma(a,b)} -function uk(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function qd(a,b,c,d){return new uk(a,b,c,d)}function Yg(a){a=a.prototype;return!(!a||!a.isReactComponent)} -function sk(a){if("function"===typeof a)return Yg(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===ra)return 11;if(a===ua)return 14}return 2} -function qe(a,b){var c=a.alternate;null===c?(c=qd(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; +b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,yj(a,d))));break;case 19:Aj(b,a);Dj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,yj(a,c)));break;case 21:break;default:Aj(b,a),Dj(a)}} +function Dj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(mj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=nj(a);qj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(zc(g,""),d.flags&=-33);var h=nj(a);qj(a,h,g);break;case 3:case 4:var l=d.stateNode.containerInfo,p=nj(a);oj(a,p,l);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} +function ij(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)hj(a,b.alternate,b),b=b.sibling} +function Lj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:cj(4,b,b.return);Lj(b);break;case 1:Ti(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{var f=d;c.props=f.memoizedProps;c.state=f.memoizedState;c.componentWillUnmount()}catch(g){W(d,e,g)}}Lj(b);break;case 26:case 27:case 5:Ti(b,b.return);Lj(b);break;case 22:Ti(b,b.return);null===b.memoizedState&&Lj(b);break;default:Lj(b)}a=a.sibling}} +function kj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:kj(e,f,c);ej(f,4);break;case 1:kj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(l){W(f,f.return,l)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)fe(h[d],e)}c&&g&64&&fj(f);Si(f,f.return);break;case 26:case 27:case 5:kj(e,f,c); +c&&null===d&&g&4&&gj(f);Si(f,f.return);break;case 12:kj(e,f,c);break;case 13:kj(e,f,c);c&&g&4&&jj(e,f);break;case 22:null===f.memoizedState&&kj(e,f,c);Si(f,f.return);break;default:kj(e,f,c)}b=b.sibling}}function Mj(a,b){try{dj(b,a)}catch(c){W(a,a.return,c)}} +function Nj(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&li(c))}function Oj(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&li(a))} +function Pj(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)Qj(a,b,c,d),b=b.sibling} +function Qj(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Pj(a,b,c,d);e&2048&&Mj(b,9);break;case 3:Pj(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&li(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Pj(a,b,c,d):b.mode&1?Rj(a,b):(f._visibility|=4,Pj(a,b,c,d)):f._visibility&4?Pj(a,b,c,d):(f._visibility|=4,Sj(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&Nj(b.alternate, +b);break;case 24:Pj(a,b,c,d);e&2048&&Oj(b.alternate,b);break;default:Pj(a,b,c,d)}} +function Sj(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,l=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:Sj(f,g,h,l,e);Mj(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?Sj(f,g,h,l,e):g.mode&1?Rj(f,g):(q._visibility|=4,Sj(f,g,h,l,e)):(q._visibility|=4,Sj(f,g,h,l,e));e&&p&2048&&Nj(g.alternate,g);break;case 24:Sj(f,g,h,l,e);e&&p&2048&&Oj(g.alternate,g);break;default:Sj(f,g,h,l,e)}b=b.sibling}} +function Rj(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:Rj(c,d);e&2048&&Nj(d.alternate,d);break;case 24:Rj(c,d);e&2048&&Oj(d.alternate,d);break;default:Rj(c,d)}b=b.sibling}}var Tj=8192;function Uj(a){if(a.subtreeFlags&Tj)for(a=a.child;null!==a;)Vj(a),a=a.sibling} +function Vj(a){switch(a.tag){case 26:Uj(a);a.flags&Tj&&null!==a.memoizedState&&Wj(Cj,a.memoizedState,a.memoizedProps);break;case 5:Uj(a);break;case 3:case 4:var b=Cj;Cj=Jj(a.stateNode.containerInfo);Uj(a);Cj=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=Tj,Tj=16777216,Uj(a),Tj=b):Uj(a));break;default:Uj(a)}}function Xj(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} +function Yj(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Ri=d;Zj(d,a)}Xj(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)ak(a),a=a.sibling}function ak(a){switch(a.tag){case 0:case 11:case 15:Yj(a);a.flags&2048&&cj(9,a,a.return);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,bk(a)):Yj(a);break;default:Yj(a)}} +function bk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Ri=d;Zj(d,a)}Xj(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:cj(8,b,b.return);bk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,bk(b));break;default:bk(b)}a=a.sibling}} +function Zj(a,b){for(;null!==Ri;){var c=Ri;switch(c.tag){case 0:case 11:case 15:cj(8,c,b);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:li(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,Ri=d;else a:for(c=a;null!==Ri;){d=Ri;var e=d.sibling,f=d.return;lj(d);if(d===c){Ri=null;break a}if(null!==e){e.return=f;Ri=e;break a}Ri=f}}} +var ck={getCacheSignal:function(){return ag(S).controller.signal},getCacheForType:function(a){var b=ag(S),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},dk="function"===typeof WeakMap?WeakMap:Map,ek=da.ReactCurrentDispatcher,fk=da.ReactCurrentCache,gk=da.ReactCurrentOwner,hk=da.ReactCurrentBatchConfig,L=0,N=null,X=null,M=0,O=0,ik=null,jk=!1,Ie=0,oh=0,ff=null,ee=0,kk=0,lk=0,mf=0,qh=null,kf=null,Kj=0,Di=Infinity,lf=null,hh=!1,ih=null,kh=null,mk=!1,nk=null,ok=0,pk=0,qk=null,Vd=0,Wd=null; +function Sg(a){if(0===(a.mode&1))return 2;if(0!==(L&2)&&0!==M)return M&-M;if(null!==mi.transition)return a=uf,0!==a?a:rf();a=F;if(0!==a)return a;a=window.event;a=void 0===a?32:rk(a.type);return a}function og(a,b,c){if(a===N&&2===O||null!==a.cancelPendingCommit)gf(a,0),hf(a,M,mf);ob(a,c);if(0===(L&2)||a!==N)a===N&&(0===(L&2)&&(kk|=c),4===oh&&hf(a,M,mf)),Ze(a),2===c&&0===L&&0===(b.mode&1)&&(Di=Ta()+500,bf(!0))} +function pf(a,b){if(0!==(L&6))throw Error(t(327));var c=a.callbackNode;if(cf()&&a.callbackNode!==c)return null;var d=jb(a,a===N?M:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?sk(a,d):df(a,d);if(0!==b){var f=e;do{if(6===b)hf(a,d,0);else{e=a.current.alternate;if(f&&!tk(e)){b=df(a,d);f=!1;continue}if(2===b){f=d;var g=lb(a,f);0!==g&&(d=g,b=ef(a,f,g))}if(1===b)throw c=ff,gf(a,0),hf(a,d,0),Ze(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); +case 4:if((d&4194176)===d){hf(f,d,mf);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&62914560)===d&&(b=Kj+300-Ta(),10<b)){hf(f,d,mf);if(0!==jb(f,0))break a;f.timeoutHandle=uk(vk.bind(null,f,e,kf,lf,d,mf),b);break a}vk(f,e,kf,lf,d,mf)}}break}while(1)}Ze(a);of(a,Ta());a=a.callbackNode===c?pf.bind(null,a):null;return a} +function ef(a,b,c){var d=qh,e=a.current.memoizedState.isDehydrated;e&&(gf(a,c).flags|=256);c=df(a,c);if(2!==c){if(jk&&!e)return a.errorRecoveryDisabledLanes|=b,kk|=b,4;a=kf;kf=d;null!==a&&vi(a)}return c}function vi(a){null===kf?kf=a:kf.push.apply(kf,a)}function vk(a,b,c,d,e,f){if(0===(e&42)&&(wk={stylesheets:null,count:0,unsuspend:xk},Vj(b),b=yk(),null!==b)){a.cancelPendingCommit=b(jf.bind(null,a,c,d));hf(a,e,f);return}jf(a,c,d,f)} +function tk(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!dd(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} +function hf(a,b,c){b&=~lk;b&=~kk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(var d=a.expirationTimes,e=b;0<e;){var f=31-db(e),g=1<<f;d[f]=-1;e&=~g}0!==c&&qb(a,c,b)}function zk(a,b){var c=L;L|=1;try{return a(b)}finally{L=c,0===L&&(Di=Ta()+500,bf(!0))}}function Ak(a){null!==nk&&0===nk.tag&&0===(L&6)&&cf();var b=L;L|=1;var c=hk.transition,d=F;try{if(hk.transition=null,F=2,a)return a()}finally{F=d,hk.transition=c,L=b,0===(L&6)&&bf(!1)}} +function Bk(){if(null!==X){if(0===O)var a=X.return;else a=X,ei(),Wf(a),qe=null,re=0,a=X;for(;null!==a;)Fi(a.alternate,a),a=a.return;X=null}} +function gf(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Ck(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());Bk();N=a;X=c=xe(a.current,null);M=b;O=0;ik=null;jk=!1;oh=0;ff=null;mf=lk=kk=ee=0;kf=qh=null;0!==(b&8)&&(b|=b&32);var d=a.entangledLanes;if(0!==d)for(a=a.entanglements,d&=b;0<d;){var e=31-db(d),f=1<<e;b|=a[e];d&=~f}Ie=b;Pd();return c} +function Dk(a,b){P=null;zf.current=Qf;gk.current=null;b===ie?(b=pe(),O=ri()&&0===(ee&134217727)&&0===(kk&134217727)?2:3):b===je?(b=pe(),O=4):O=b===sh?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;ik=b;null===X&&(oh=1,ff=b)}function ri(){var a=Le.current;return null===a?!0:(M&4194176)===M?null===Me?!0:!1:(M&62914560)===M||0!==(M&536870912)?a===Me:!1}function Ek(){var a=ek.current;ek.current=Qf;return null===a?Qf:a}function Fk(){var a=fk.current;fk.current=ck;return a} +function nh(){oh=4;0===(ee&134217727)&&0===(kk&134217727)||null===N||hf(N,M,mf)}function df(a,b){var c=L;L|=2;var d=Ek(),e=Fk();if(N!==a||M!==b)lf=null,gf(a,b);b=!1;a:do try{if(0!==O&&null!==X){var f=X,g=ik;switch(O){case 8:Bk();oh=6;break a;case 3:case 2:b||null!==Le.current||(b=!0);default:O=0,ik=null,Gk(f,g)}}Hk();break}catch(h){Dk(a,h)}while(1);b&&a.shellSuspendCounter++;ei();L=c;ek.current=d;fk.current=e;if(null!==X)throw Error(t(261));N=null;M=0;Pd();return oh} +function Hk(){for(;null!==X;)Ik(X)} +function sk(a,b){var c=L;L|=2;var d=Ek(),e=Fk();if(N!==a||M!==b)lf=null,Di=Ta()+500,gf(a,b);a:do try{if(0!==O&&null!==X){b=X;var f=ik;b:switch(O){case 1:O=0;ik=null;Gk(b,f);break;case 2:if(le(f)){O=0;ik=null;Jk(b);break}b=function(){2===O&&N===a&&(O=7);Ze(a)};f.then(b,b);break a;case 3:O=7;break a;case 4:O=5;break a;case 7:le(f)?(O=0,ik=null,Jk(b)):(O=0,ik=null,Gk(b,f));break;case 5:switch(X.tag){case 5:case 26:case 27:b=X;O=0;ik=null;var g=b.sibling;if(null!==g)X=g;else{var h=b.return;null!==h?(X= +h,Kk(h)):X=null}break b}O=0;ik=null;Gk(b,f);break;case 6:O=0;ik=null;Gk(b,f);break;case 8:Bk();oh=6;break a;default:throw Error(t(462));}}Lk();break}catch(l){Dk(a,l)}while(1);ei();ek.current=d;fk.current=e;L=c;if(null!==X)return 0;N=null;M=0;Pd();return oh}function Lk(){for(;null!==X&&!Ra();)Ik(X)}function Ik(a){var b=Mk(a.alternate,a,Ie);a.memoizedProps=a.pendingProps;null===b?Kk(a):X=b;gk.current=null} +function Jk(a){var b=a.alternate;switch(a.tag){case 2:a.tag=0;case 15:case 0:var c=a.type,d=a.pendingProps;d=a.elementType===c?d:Xg(c,d);var e=Xc(c)?Vc:Tc.current;e=Wc(a,e);b=Gh(b,a,d,c,e,M);break;case 11:c=a.type.render;d=a.pendingProps;d=a.elementType===c?d:Xg(c,d);b=Gh(b,a,d,c,a.ref,M);break;case 5:Wf(a);default:Fi(b,a),a=X=Ci(a,Ie),b=Mk(b,a,Ie)}a.memoizedProps=a.pendingProps;null===b?Kk(a):X=b;gk.current=null} +function Gk(a,b){ei();Wf(a);qe=null;re=0;var c=a.return;if(null===c||null===N)oh=1,ff=b,X=null;else{try{mh(N,c,a,b,M)}catch(d){throw X=c,d;}if(a.flags&32768)a:{do{b=Ei(a.alternate,a);if(null!==b){b.flags&=32767;X=b;break a}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);X=a}while(null!==a);oh=6;X=null}else Kk(a)}}function Kk(a){var b=a;do{a=b.return;var c=ui(b.alternate,b,Ie);if(null!==c){X=c;return}b=b.sibling;if(null!==b){X=b;return}X=b=a}while(null!==b);0===oh&&(oh=5)} +function jf(a,b,c,d){var e=F,f=hk.transition;try{hk.transition=null,F=2,Nk(a,b,c,e,d)}finally{hk.transition=f,F=e}return null} +function Nk(a,b,c,d,e){do cf();while(null!==nk);if(0!==(L&6))throw Error(t(327));var f=a.finishedWork,g=a.finishedLanes;if(null===f)return null;a.finishedWork=null;a.finishedLanes=0;if(f===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var h=f.lanes|f.childLanes;h|=Od;pb(a,h,e);a===N&&(X=N=null,M=0);0===(f.subtreeFlags&10256)&&0===(f.flags&10256)||mk||(mk=!0,pk=h,qk=c,Ok(Xa,function(){cf();return null}));c=0!==(f.flags&15990);if(0!==(f.subtreeFlags& +15990)||c){c=hk.transition;hk.transition=null;e=F;F=2;var l=L;L|=4;gk.current=null;Wi(a,f);Bj(f,a);Pk(aj);Yi=!!Xi;aj=Xi=null;a.current=f;hj(a,f.alternate,f);Sa();L=l;F=e;hk.transition=c}else a.current=f;mk?(mk=!1,nk=a,ok=g):Qk(a,h);h=a.pendingLanes;0===h&&(kh=null);bb(f.stateNode,d);Ze(a);if(null!==b)for(d=a.onRecoverableError,f=0;f<b.length;f++)h=b[f],c={digest:h.digest,componentStack:h.stack},d(h.value,c);if(hh)throw hh=!1,a=ih,ih=null,a;0!==(ok&3)&&0!==a.tag&&cf();h=a.pendingLanes;0!==(g&4194218)&& +0!==(h&2)?a===Wd?Vd++:(Vd=0,Wd=a):Vd=0;bf(!1);return null}function Qk(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,li(b)))} +function cf(){if(null!==nk){var a=nk,b=pk;pk=0;var c=ub(ok),d=32>c?32:c;c=hk.transition;var e=F;try{hk.transition=null;F=d;if(null===nk)var f=!1;else{d=qk;qk=null;var g=nk,h=ok;nk=null;ok=0;if(0!==(L&6))throw Error(t(331));var l=L;L|=4;ak(g.current);Qj(g,g.current,h,d);L=l;bf(!1);if(ab&&"function"===typeof ab.onPostCommitFiberRoot)try{ab.onPostCommitFiberRoot($a,g)}catch(p){}f=!0}return f}finally{F=e,hk.transition=c,Qk(a,b)}}return!1} +function Rk(a,b,c){b=dh(c,b);b=gh(a,b,2);a=ae(a,b,2);null!==a&&(ob(a,2),Ze(a))}function W(a,b,c){if(3===a.tag)Rk(a,a,c);else for(;null!==b;){if(3===b.tag){Rk(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===kh||!kh.has(d))){a=dh(c,a);a=jh(b,a,2);b=ae(b,a,2);null!==b&&(ob(b,2),Ze(b));break}}b=b.return}} +function ph(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new dk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(jk=!0,e.add(c),a=Sk.bind(null,a,b,c),b.then(a,a))}function Sk(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;N===a&&(M&c)===c&&(4===oh||3===oh&&(M&62914560)===M&&300>Ta()-Kj?0===(L&2)&&gf(a,0):lk|=c);Ze(a)}function Tk(a,b){0===b&&(b=0===(a.mode&1)?2:mb());a=Ud(a,b);null!==a&&(ob(a,b),Ze(a))} +function Uh(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Tk(a,c)}function zj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);Tk(a,c)}var Mk; +Mk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Uc.current)eg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return eg=!1,Zh(a,b,c);eg=0!==(a.flags&131072)?!0:!1}else eg=!1,K&&0!==(b.flags&1048576)&&od(b,hd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Ih(a,b);a=b.pendingProps;var e=Wc(b,Tc.current);vh(b,c);e=Lf(null,b,d,a,e,c);var f=Uf();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= +null,Xc(d)?(f=!0,ad(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,Yd(b),e.updater=Zg,b.stateNode=e,e._reactInternals=b,ch(b,d,a,c),b=Jh(null,b,d,!0,f,c)):(b.tag=0,K&&f&&pd(b),th(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Ih(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Uk(d);a=Xg(d,a);switch(e){case 0:b=Ah(null,b,d,a,c);break a;case 1:b=Hh(null,b,d,a,c);break a;case 11:b=uh(null,b,d,a,c);break a;case 14:b=xh(null,b,d,Xg(d.type,a),c);break a}throw Error(t(306, +d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Xg(d,e),Ah(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Xg(d,e),Hh(a,b,d,e,c);case 3:a:{Kh(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;Zd(a,b);de(b,e,null,c);var g=b.memoizedState;e=g.cache;$h(b,S,e);e!==f.cache&&gi(b,S,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= +dh(Error(t(423)),b);b=Lh(a,b,e,c,d);break a}else if(e!==d){d=dh(Error(t(424)),b);b=Lh(a,b,e,c,d);break a}else for(J=yd(b.stateNode.containerInfo.firstChild),G=b,K=!0,rd=null,sd=!0,c=Ee(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Kd();if(e===d){b=wh(a,b,c);break a}th(a,b,e,c)}b=b.child}return b;case 26:return Ch(a,b),c=b.memoizedState=Vk(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=yi(Ga.current).createElement(c),d[xb]= +b,d[yb]=a,zi(d,c,a),Nb(d),b.stateNode=d),null;case 27:return Na(b),null===a&&K&&(d=b.stateNode=xi(b.type,b.pendingProps,Ga.current),G=b,sd=!0,J=yd(d.firstChild)),d=b.pendingProps.children,null!==a||K?th(a,b,d,c):b.child=De(b,null,d,c),Ch(a,b),b.child;case 5:return Na(b),null===a&&K&&((e=d=J,e)?wd(b,e)||(Dd(b)&&Ed(),J=Cd(e),f=G,J&&wd(b,J)?td(f,e):(vd(G,b),K=!1,G=b,J=d)):(Dd(b)&&Ed(),vd(G,b),K=!1,G=b,J=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Id(e,f)?d=null:null!== +g&&Id(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=Lf(a,b,Sf,null,null,c),Ia._currentValue=e,eg&&null!==a&&a.memoizedState.memoizedState!==e&&gi(b,Ia,c)),Ch(a,b),th(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=J,a&&d)?zd(b,a)||(Dd(b)&&Ed(),J=Cd(a),d=G,J&&zd(b,J)?td(d,a):(vd(G,b),K=!1,G=b,J=c)):(Dd(b)&&Ed(),vd(G,b),K=!1,G=b,J=c)),null;case 13:return Ph(a,b,c);case 4:return Ja(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=De(b,null,d,c):th(a,b,d,c),b.child; +case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Xg(d,e),uh(a,b,d,e,c);case 7:return th(a,b,b.pendingProps,c),b.child;case 8:return th(a,b,b.pendingProps.children,c),b.child;case 12:return th(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;$h(b,d,g);if(null!==f)if(dd(f.value,g)){if(f.children===e.children&&!Uc.current){b=wh(a,b,c);break a}}else gi(b,d,c);th(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d= +b.pendingProps.children,vh(b,c),e=ag(e),d=d(e),b.flags|=1,th(a,b,d,c),b.child;case 14:return d=b.type,e=Xg(d,b.pendingProps),e=Xg(d.type,e),xh(a,b,d,e,c);case 15:return zh(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Xg(d,e),Ih(a,b),b.tag=1,Xc(d)?(a=!0,ad(b)):a=!1,vh(b,c),ah(b,d,e),ch(b,d,e,c),Jh(null,b,d,!0,a,c);case 19:return Yh(a,b,c);case 22:return Bh(a,b,c);case 24:return vh(b,c),d=ag(S),null===a?(e=Fh(),null===e&&(e=N,f=Tg(),e.pooledCache=f,f.refCount++, +null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},Yd(b),$h(b,S,e)):(0!==(a.lanes&c)&&(Zd(a,b),de(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),$h(b,S,d)):(d=f.cache,$h(b,S,d),d!==e.cache&&gi(b,S,c))),th(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));};function Ok(a,b){return Pa(a,b)} +function Wk(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function ud(a,b,c,d){return new Wk(a,b,c,d)}function yh(a){a=a.prototype;return!(!a||!a.isReactComponent)} +function Uk(a){if("function"===typeof a)return yh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===ta)return 11;if(a===wa)return 14}return 2} +function xe(a,b){var c=a.alternate;null===c?(c=ud(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}; c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;c.refCleanup=a.refCleanup;return c} -function bi(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); +function Ci(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext}); return a} -function se(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)Yg(a)&&(e=1);else if("string"===typeof a)e=vk(a,c,Da.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case la:return ue(c.children,f,g,b);case ma:e=8;f|=8;0!==(f&1)&&(f|=16);break;case na:return a=qd(12,c,b,f|2),a.elementType=na,a.lanes=g,a;case sa:return a=qd(13,c,b,f),a.elementType=sa,a.lanes=g,a;case ta:return a=qd(19,c,b,f),a.elementType=ta,a.lanes=g,a;case xa:return ph(c,f,g,b);case ya:case wa:case za:return a=qd(24, -c,b,f),a.elementType=za,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case oa:e=10;break a;case pa:e=9;break a;case ra:e=11;break a;case ua:e=14;break a;case va:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=qd(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function ue(a,b,c,d){a=qd(7,a,d,b);a.lanes=c;return a} -function ph(a,b,c,d){a=qd(22,a,d,b);a.elementType=xa;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Md(f,2);null!==g&&(e._pendingVisibility|=2,Yf(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Md(f,2);null!==g&&(e._pendingVisibility&=-3,Yf(g,f,2))}}}; -a.stateNode=e;return a}function re(a,b,c){a=qd(6,a,null,b);a.lanes=c;return a}function te(a,b,c){b=qd(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} -function wk(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=lb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=lb(0);this.hiddenUpdates= -lb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function xk(a,b,c,d,e,f,g,h,m,p,q){a=new wk(a,b,c,h,m,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=qd(3,null,null,b);a.current=f;f.stateNode=a;b=rg();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};Rd(f);return a} -function yk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ka,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} -function zk(a){if(!a)return Oc;a=a._reactInternals;a:{if(Ic(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(Tc(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if(Tc(c))return Wc(a,c,b)}return b} -function Ak(a,b,c,d,e,f,g,h,m,p,q){a=xk(c,d,!0,a,e,f,g,h,m,p,q);a.context=zk(null);c=a.current;d=qg(c);e=Td(d);e.callback=void 0!==b&&null!==b?b:null;Ud(c,e,d);a.current.lanes=d;mb(a,d);Se(a);return a}function Bk(a,b,c,d){var e=b.current,f=qg(e);c=zk(c);null===b.context?b.context=c:b.pendingContext=c;b=Td(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=Ud(e,b,f);null!==a&&(Yf(a,e,f),Vd(a,e,f));return f} -function Ck(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}}function Dk(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=fb(b.pendingLanes);0!==c&&(ob(b,c|2),Se(b),0===(L&6)&&(ci=Qa()+500,Ve(!1)))}break;case 13:Yj(function(){var d=Md(a,2);null!==d&&Yf(d,a,2)}),Ek(a,2)}} -function Fk(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function Ek(a,b){Fk(a,b);(a=a.alternate)&&Fk(a,b)}function Gk(a){if(13===a.tag){var b=Md(a,134217728);null!==b&&Yf(b,a,134217728);Ek(a,134217728)}}function Hk(){return null}var Ik=!1;function Jk(a,b,c){if(Ik)return a(b,c);Ik=!0;try{return Xj(a,b,c)}finally{if(Ik=!1,null!==Dc||null!==Ec)Yj(),Hc()}} -function Kk(a,b){var c=a.stateNode;if(null===c)return null;var d=Hb(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== -typeof c)throw Error(t(231,b,typeof c));return c}var Lk=!1;if(Ob)try{var Mk={};Object.defineProperty(Mk,"passive",{get:function(){Lk=!0}});window.addEventListener("test",Mk,Mk);window.removeEventListener("test",Mk,Mk)}catch(a){Lk=!1}function Nk(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Ok(){return!0}function Pk(){return!1} -function Qk(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?Ok:Pk;this.isPropagationStopped=Pk;return this}C(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& -(c.returnValue=!1),this.isDefaultPrevented=Ok)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=Ok)},persist:function(){},isPersistent:Ok});return b} -var Rk={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sk=Qk(Rk),Tk=C({},Rk,{view:0,detail:0}),Uk=Qk(Tk),Vk,Wk,Xk,Zk=C({},Tk,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yk,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in -a)return a.movementX;a!==Xk&&(Xk&&"mousemove"===a.type?(Vk=a.screenX-Xk.screenX,Wk=a.screenY-Xk.screenY):Wk=Vk=0,Xk=a);return Vk},movementY:function(a){return"movementY"in a?a.movementY:Wk}}),$k=Qk(Zk),al=C({},Zk,{dataTransfer:0}),bl=Qk(al),cl=C({},Tk,{relatedTarget:0}),dl=Qk(cl),el=C({},Rk,{animationName:0,elapsedTime:0,pseudoElement:0}),fl=Qk(el),gl=C({},Rk,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),hl=Qk(gl),il=C({},Rk,{data:0}),jl=Qk(il),kl={Esc:"Escape", -Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ll={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", -119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ml={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nl(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=ml[a])?!!b[a]:!1}function Yk(){return nl} -var ol=C({},Tk,{key:function(a){if(a.key){var b=kl[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Nk(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?ll[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yk,charCode:function(a){return"keypress"===a.type?Nk(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== -a.type?Nk(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),pl=Qk(ol),ql=C({},Zk,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rl=Qk(ql),sl=C({},Tk,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yk}),tl=Qk(sl),ul=C({},Rk,{propertyName:0,elapsedTime:0,pseudoElement:0}),vl=Qk(ul),wl=C({},Zk,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, -deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),xl=Qk(wl),yl=!1,zl=null,Al=null,Bl=null,Cl=new Map,Dl=new Map,El=[],Fl="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); -function Gl(a,b){switch(a){case "focusin":case "focusout":zl=null;break;case "dragenter":case "dragleave":Al=null;break;case "mouseover":case "mouseout":Bl=null;break;case "pointerover":case "pointerout":Cl.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":Dl.delete(b.pointerId)}} -function Hl(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Fb(b),null!==b&&Gk(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} -function Il(a,b,c,d,e){switch(b){case "focusin":return zl=Hl(zl,a,b,c,d,e),!0;case "dragenter":return Al=Hl(Al,a,b,c,d,e),!0;case "mouseover":return Bl=Hl(Bl,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;Cl.set(f,Hl(Cl.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,Dl.set(f,Hl(Dl.get(f)||null,a,b,c,d,e)),!0}return!1} -function Jl(a){var b=Db(a.target);if(null!==b){var c=Ic(b);if(null!==c)if(b=c.tag,13===b){if(b=Jc(c),null!==b){a.blockedOn=b;pb(a.priority,function(){if(13===c.tag){var d=qg(c),e=Md(c,d);null!==e&&Yf(e,c,d);Ek(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} -function Kl(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=Ll(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Bc=d;c.target.dispatchEvent(d);Bc=null}else return b=Fb(c),null!==b&&Gk(b),a.blockedOn=c,!1;b.shift()}return!0}function Ml(a,b,c){Kl(a)&&c.delete(b)}function Nl(){yl=!1;null!==zl&&Kl(zl)&&(zl=null);null!==Al&&Kl(Al)&&(Al=null);null!==Bl&&Kl(Bl)&&(Bl=null);Cl.forEach(Ml);Dl.forEach(Ml)} -function Ol(a,b){a.blockedOn===b&&(a.blockedOn=null,yl||(yl=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,Nl)))}function Vi(a){function b(e){return Ol(e,a)}null!==zl&&Ol(zl,a);null!==Al&&Ol(Al,a);null!==Bl&&Ol(Bl,a);Cl.forEach(b);Dl.forEach(b);for(var c=0;c<El.length;c++){var d=El[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<El.length&&(c=El[0],null===c.blockedOn);)Jl(c),null===c.blockedOn&&El.shift()}var Pl=ea.ReactCurrentBatchConfig,xi=!0; -function Ql(a,b,c,d){var e=H,f=Pl.transition;Pl.transition=null;try{H=2,Rl(a,b,c,d)}finally{H=e,Pl.transition=f}}function Sl(a,b,c,d){var e=H,f=Pl.transition;Pl.transition=null;try{H=8,Rl(a,b,c,d)}finally{H=e,Pl.transition=f}} -function Rl(a,b,c,d){if(xi){var e=Ll(d);if(null===e)Tl(a,b,d,Ul,c),Gl(a,d);else if(Il(e,a,b,c,d))d.stopPropagation();else if(Gl(a,d),b&4&&-1<Fl.indexOf(a)){for(;null!==e;){var f=Fb(e);null!==f&&Dk(f);f=Ll(d);null===f&&Tl(a,b,d,Ul,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else Tl(a,b,d,null,c)}} -function Ll(a){a=Cc(a);a:{Ul=null;a=Db(a);if(null!==a){var b=Ic(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=Jc(b);if(null!==a)break a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated){a=3===b.tag?b.stateNode.containerInfo:null;break a}a=null}else b!==a&&(a=null)}}Ul=a;a=null}return a}var Ul=null; -function Pj(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; -case "message":switch(Ra()){case Sa:return 2;case Ta:return 8;case Ua:case Va:return 32;case Wa:return 536870912;default:return 32}default:return 32}}var Vl=null,Wl=null,Xl=null;function Yl(){if(Xl)return Xl;var a,b=Wl,c=b.length,d,e="value"in Vl?Vl.value:Vl.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Xl=e.slice(a,1<d?1-d:void 0)}var Zl=[9,13,27,32],$l=Ob&&"CompositionEvent"in window,am=null;Ob&&"documentMode"in document&&(am=document.documentMode); -var bm=Ob&&"TextEvent"in window&&!am,cm=Ob&&(!$l||am&&8<am&&11>=am),dm=String.fromCharCode(32),em=!1;function fm(a,b){switch(a){case "keyup":return-1!==Zl.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function hm(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var im=!1; -function jm(a,b){switch(a){case "compositionend":return hm(b);case "keypress":if(32!==b.which)return null;em=!0;return dm;case "textInput":return a=b.data,a===dm&&em?null:a;default:return null}} -function km(a,b){if(im)return"compositionend"===a||!$l&&fm(a,b)?(a=Yl(),Xl=Wl=Vl=null,im=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return cm&&"ko"!==b.locale?null:b.data;default:return null}} -var lm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function mm(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!lm[a.type]:"textarea"===b?!0:!1}function nm(a,b,c,d){Gc(d);b=om(b,"onChange");0<b.length&&(c=new Sk("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var pm=null,qm=null;function rm(a){sm(a,0)}function tm(a){var b=Gb(a);if(gc(b))return a} -function um(a,b){if("change"===a)return b}var vm=!1;if(Ob){var wm;if(Ob){var xm="oninput"in document;if(!xm){var ym=document.createElement("div");ym.setAttribute("oninput","return;");xm="function"===typeof ym.oninput}wm=xm}else wm=!1;vm=wm&&(!document.documentMode||9<document.documentMode)}function zm(){pm&&(pm.detachEvent("onpropertychange",Am),qm=pm=null)}function Am(a){if("value"===a.propertyName&&tm(qm)){var b=[];nm(b,qm,a,Cc(a));Jk(rm,b)}} -function Bm(a,b,c){"focusin"===a?(zm(),pm=b,qm=c,pm.attachEvent("onpropertychange",Am)):"focusout"===a&&zm()}function Cm(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return tm(qm)}function Dm(a,b){if("click"===a)return tm(b)}function Em(a,b){if("input"===a||"change"===a)return tm(b)}function Fm(a){for(;a&&a.firstChild;)a=a.firstChild;return a} -function Gm(a,b){var c=Fm(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Fm(c)}}function Hm(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Hm(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} -function yi(){for(var a=window,b=hc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=hc(a.document)}return b}function zi(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} -function nk(a){var b=yi(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Hm(c.ownerDocument.documentElement,c)){if(null!==d&&zi(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Gm(c,f);var g=Gm(c, +function ze(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)yh(a)&&(e=1);else if("string"===typeof a)e=Xk(a,c,Ea.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case na:return Be(c.children,f,g,b);case oa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case pa:return a=ud(12,c,b,f|2),a.elementType=pa,a.lanes=g,a;case ua:return a=ud(13,c,b,f),a.elementType=ua,a.lanes=g,a;case va:return a=ud(19,c,b,f),a.elementType=va,a.lanes=g,a;case za:return Qh(c,f,g,b);case Aa:case ya:case Ba:return a=ud(24, +c,b,f),a.elementType=Ba,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case qa:e=10;break a;case ra:e=9;break a;case ta:e=11;break a;case wa:e=14;break a;case xa:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=ud(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Be(a,b,c,d){a=ud(7,a,d,b);a.lanes=c;return a} +function Qh(a,b,c,d){a=ud(22,a,d,b);a.elementType=za;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=Ud(f,2);null!==g&&(e._pendingVisibility|=2,og(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=Ud(f,2);null!==g&&(e._pendingVisibility&=-3,og(g,f,2))}}}; +a.stateNode=e;return a}function ye(a,b,c){a=ud(6,a,null,b);a.lanes=c;return a}function Ae(a,b,c){b=ud(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} +function Yk(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=nb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=nb(0);this.hiddenUpdates= +nb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map}function Zk(a,b,c,d,e,f,g,h,l,p,q){a=new Yk(a,b,c,h,l,q);1===b?(b=1,!0===f&&(b|=24)):b=0;f=ud(3,null,null,b);a.current=f;f.stateNode=a;b=Tg();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};Yd(f);return a} +function $k(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ma,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} +function al(a){if(!a)return Sc;a=a._reactInternals;a:{if(Mc(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(Xc(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if(Xc(c))return $c(a,c,b)}return b} +function bl(a,b,c,d,e,f,g,h,l,p,q){a=Zk(c,d,!0,a,e,f,g,h,l,p,q);a.context=al(null);c=a.current;d=Sg(c);e=$d(d);e.callback=void 0!==b&&null!==b?b:null;ae(c,e,d);a.current.lanes=d;ob(a,d);Ze(a);return a}function cl(a,b,c,d){var e=b.current,f=Sg(e);c=al(c);null===b.context?b.context=c:b.pendingContext=c;b=$d(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=ae(e,b,f);null!==a&&(og(a,e,f),be(a,e,f));return f} +function dl(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}}function el(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=ib(b.pendingLanes);0!==c&&(sb(b,c),Ze(b),0===(L&6)&&(Di=Ta()+500,bf(!1)))}break;case 13:Ak(function(){var d=Ud(a,2);null!==d&&og(d,a,2)}),fl(a,2)}} +function gl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function fl(a,b){gl(a,b);(a=a.alternate)&&gl(a,b)}function hl(a){if(13===a.tag){var b=Ud(a,67108864);null!==b&&og(b,a,67108864);fl(a,67108864)}}function il(){return null}var jl=!1;function kl(a,b,c){if(jl)return a(b,c);jl=!0;try{return zk(a,b,c)}finally{if(jl=!1,null!==Hc||null!==Ic)Ak(),Lc()}} +function ll(a,b){var c=a.stateNode;if(null===c)return null;var d=Lb(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== +typeof c)throw Error(t(231,b,typeof c));return c}var ml=!1;if(Sb)try{var nl={};Object.defineProperty(nl,"passive",{get:function(){ml=!0}});window.addEventListener("test",nl,nl);window.removeEventListener("test",nl,nl)}catch(a){ml=!1}function ol(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function pl(){return!0}function ql(){return!1} +function rl(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?pl:ql;this.isPropagationStopped=ql;return this}C(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& +(c.returnValue=!1),this.isDefaultPrevented=pl)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=pl)},persist:function(){},isPersistent:pl});return b} +var sl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tl=rl(sl),ul=C({},sl,{view:0,detail:0}),vl=rl(ul),wl,xl,yl,Al=C({},ul,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zl,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in +a)return a.movementX;a!==yl&&(yl&&"mousemove"===a.type?(wl=a.screenX-yl.screenX,xl=a.screenY-yl.screenY):xl=wl=0,yl=a);return wl},movementY:function(a){return"movementY"in a?a.movementY:xl}}),Bl=rl(Al),Cl=C({},Al,{dataTransfer:0}),Dl=rl(Cl),El=C({},ul,{relatedTarget:0}),Fl=rl(El),Gl=C({},sl,{animationName:0,elapsedTime:0,pseudoElement:0}),Hl=rl(Gl),Il=C({},sl,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Jl=rl(Il),Kl=C({},sl,{data:0}),Ll=rl(Kl),Ml={Esc:"Escape", +Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nl={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", +119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ol={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pl(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Ol[a])?!!b[a]:!1}function zl(){return Pl} +var Ql=C({},ul,{key:function(a){if(a.key){var b=Ml[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=ol(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Nl[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zl,charCode:function(a){return"keypress"===a.type?ol(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== +a.type?ol(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Rl=rl(Ql),Sl=C({},Al,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Tl=rl(Sl),Ul=C({},ul,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zl}),Vl=rl(Ul),Wl=C({},sl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xl=rl(Wl),Yl=C({},Al,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, +deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Zl=rl(Yl); +function $l(a,b,c,d,e){if("submit"===b&&c&&c.stateNode===e){var f=Lb(e).action,g=d.submitter;g&&(b=(b=Lb(g))?b.formAction:g.getAttribute("formAction"),null!=b&&(f=b,g=null));if("function"===typeof f){var h=new tl("action","action",null,d,e);a.push({event:h,listeners:[{instance:null,listener:function(){if(!d.defaultPrevented){h.preventDefault();if(g){var l=g.ownerDocument.createElement("input");l.name=g.name;l.value=g.value;g.parentNode.insertBefore(l,g);var p=new FormData(e);l.parentNode.removeChild(l)}else p= +new FormData(e);Ng(c,{pending:!0,data:p,method:e.method,action:f},f,p)}},currentTarget:e}]})}}}var am=!1,bm=null,cm=null,dm=null,em=new Map,fm=new Map,gm=[],hm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); +function im(a,b){switch(a){case "focusin":case "focusout":bm=null;break;case "dragenter":case "dragleave":cm=null;break;case "mouseover":case "mouseout":dm=null;break;case "pointerover":case "pointerout":em.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":fm.delete(b.pointerId)}} +function jm(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Jb(b),null!==b&&hl(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} +function km(a,b,c,d,e){switch(b){case "focusin":return bm=jm(bm,a,b,c,d,e),!0;case "dragenter":return cm=jm(cm,a,b,c,d,e),!0;case "mouseover":return dm=jm(dm,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;em.set(f,jm(em.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,fm.set(f,jm(fm.get(f)||null,a,b,c,d,e)),!0}return!1} +function lm(a){var b=Hb(a.target);if(null!==b){var c=Mc(b);if(null!==c)if(b=c.tag,13===b){if(b=Nc(c),null!==b){a.blockedOn=b;tb(a.priority,function(){if(13===c.tag){var d=Sg(c),e=Ud(c,d);null!==e&&og(e,c,d);fl(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} +function mm(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=nm(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Fc=d;c.target.dispatchEvent(d);Fc=null}else return b=Jb(c),null!==b&&hl(b),a.blockedOn=c,!1;b.shift()}return!0}function om(a,b,c){mm(a)&&c.delete(b)}function pm(){am=!1;null!==bm&&mm(bm)&&(bm=null);null!==cm&&mm(cm)&&(cm=null);null!==dm&&mm(dm)&&(dm=null);em.forEach(om);fm.forEach(om)} +function qm(a,b){a.blockedOn===b&&(a.blockedOn=null,am||(am=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,pm)))}var rm=null;function sm(a){rm!==a&&(rm=a,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){rm===a&&(rm=null);for(var b=0;b<a.length;b+=3){var c=a[b],d=a[b+1],e=a[b+2];if("function"!==typeof d)if(null===tm(d||c))continue;else break;var f=Jb(c);null!==f&&(a.splice(b,3),b-=3,Ng(f,{pending:!0,data:e,method:c.method,action:d},d,e))}}))} +function wj(a){function b(l){return qm(l,a)}null!==bm&&qm(bm,a);null!==cm&&qm(cm,a);null!==dm&&qm(dm,a);em.forEach(b);fm.forEach(b);for(var c=0;c<gm.length;c++){var d=gm[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<gm.length&&(c=gm[0],null===c.blockedOn);)lm(c),null===c.blockedOn&&gm.shift();c=a.getRootNode().$$reactFormReplay;if(null!=c)for(d=0;d<c.length;d+=3){var e=c[d],f=c[d+1],g=Lb(e);if("function"===typeof f)g||sm(c);else if(g){var h=null;if(f&&f.hasAttribute("formAction"))if(e=f,g=Lb(f))h= +g.formAction;else{if(null!==tm(e))continue}else h=g.action;"function"===typeof h?c[d+1]=h:(c.splice(d,3),d-=3);sm(c)}}}var um=da.ReactCurrentBatchConfig,Yi=!0;function vm(a,b,c,d){var e=F,f=um.transition;um.transition=null;try{F=2,wm(a,b,c,d)}finally{F=e,um.transition=f}}function xm(a,b,c,d){var e=F,f=um.transition;um.transition=null;try{F=8,wm(a,b,c,d)}finally{F=e,um.transition=f}} +function wm(a,b,c,d){if(Yi){var e=nm(d);if(null===e)ym(a,b,d,zm,c),im(a,d);else if(km(e,a,b,c,d))d.stopPropagation();else if(im(a,d),b&4&&-1<hm.indexOf(a)){for(;null!==e;){var f=Jb(e);null!==f&&el(f);f=nm(d);null===f&&ym(a,b,d,zm,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else ym(a,b,d,null,c)}}function nm(a){a=Gc(a);return tm(a)}var zm=null; +function tm(a){zm=null;a=Hb(a);if(null!==a){var b=Mc(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=Nc(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null)}}zm=a;return null} +function rk(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; +case "message":switch(Ua()){case Va:return 2;case Wa:return 8;case Xa:case Ya:return 32;case Za:return 268435456;default:return 32}default:return 32}}var Am=null,Bm=null,Cm=null;function Dm(){if(Cm)return Cm;var a,b=Bm,c=b.length,d,e="value"in Am?Am.value:Am.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Cm=e.slice(a,1<d?1-d:void 0)}var Em=[9,13,27,32],Fm=Sb&&"CompositionEvent"in window,Gm=null;Sb&&"documentMode"in document&&(Gm=document.documentMode); +var Hm=Sb&&"TextEvent"in window&&!Gm,Jm=Sb&&(!Fm||Gm&&8<Gm&&11>=Gm),Km=String.fromCharCode(32),Lm=!1;function Mm(a,b){switch(a){case "keyup":return-1!==Em.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function Nm(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Om=!1; +function Pm(a,b){switch(a){case "compositionend":return Nm(b);case "keypress":if(32!==b.which)return null;Lm=!0;return Km;case "textInput":return a=b.data,a===Km&&Lm?null:a;default:return null}} +function Qm(a,b){if(Om)return"compositionend"===a||!Fm&&Mm(a,b)?(a=Dm(),Cm=Bm=Am=null,Om=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return Jm&&"ko"!==b.locale?null:b.data;default:return null}} +var Rm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Sm(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Rm[a.type]:"textarea"===b?!0:!1}function Tm(a,b,c,d){Kc(d);b=Um(b,"onChange");0<b.length&&(c=new tl("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var Vm=null,Wm=null;function Xm(a){Ym(a,0)}function Zm(a){var b=Kb(a);if(kc(b))return a} +function $m(a,b){if("change"===a)return b}var an=!1;if(Sb){var bn;if(Sb){var cn="oninput"in document;if(!cn){var dn=document.createElement("div");dn.setAttribute("oninput","return;");cn="function"===typeof dn.oninput}bn=cn}else bn=!1;an=bn&&(!document.documentMode||9<document.documentMode)}function en(){Vm&&(Vm.detachEvent("onpropertychange",fn),Wm=Vm=null)}function fn(a){if("value"===a.propertyName&&Zm(Wm)){var b=[];Tm(b,Wm,a,Gc(a));kl(Xm,b)}} +function gn(a,b,c){"focusin"===a?(en(),Vm=b,Wm=c,Vm.attachEvent("onpropertychange",fn)):"focusout"===a&&en()}function hn(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return Zm(Wm)}function jn(a,b){if("click"===a)return Zm(b)}function kn(a,b){if("input"===a||"change"===a)return Zm(b)}function ln(a){for(;a&&a.firstChild;)a=a.firstChild;return a} +function mn(a,b){var c=ln(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ln(c)}}function nn(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?nn(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} +function Zi(){for(var a=window,b=lc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=lc(a.document)}return b}function $i(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} +function Pk(a){var b=Zi(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&nn(c.ownerDocument.documentElement,c)){if(null!==d&&$i(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=mn(c,f);var g=mn(c, d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}} -var Im=Ob&&"documentMode"in document&&11>=document.documentMode,Jm=null,Km=null,Lm=null,Mm=!1; -function Nm(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Mm||null==Jm||Jm!==hc(d)||(d=Jm,"selectionStart"in d&&zi(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Lm&&ae(Lm,d)||(Lm=d,d=om(Km,"onSelect"),0<d.length&&(b=new Sk("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=Jm)))} -function Om(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Pm={animationend:Om("Animation","AnimationEnd"),animationiteration:Om("Animation","AnimationIteration"),animationstart:Om("Animation","AnimationStart"),transitionend:Om("Transition","TransitionEnd")},Qm={},Rm={}; -Ob&&(Rm=document.createElement("div").style,"AnimationEvent"in window||(delete Pm.animationend.animation,delete Pm.animationiteration.animation,delete Pm.animationstart.animation),"TransitionEvent"in window||delete Pm.transitionend.transition);function Sm(a){if(Qm[a])return Qm[a];if(!Pm[a])return a;var b=Pm[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Rm)return Qm[a]=b[c];return a}var Tm=Sm("animationend"),Um=Sm("animationiteration"),Vm=Sm("animationstart"),Wm=Sm("transitionend"),Xm=new Map,Ym="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); -function Zm(a,b){Xm.set(a,b);Mb(b,[a])}for(var $m=0;$m<Ym.length;$m++){var an=Ym[$m],bn=an.toLowerCase(),cn=an[0].toUpperCase()+an.slice(1);Zm(bn,"on"+cn)}Zm(Tm,"onAnimationEnd");Zm(Um,"onAnimationIteration");Zm(Vm,"onAnimationStart");Zm("dblclick","onDoubleClick");Zm("focusin","onFocus");Zm("focusout","onBlur");Zm(Wm,"onTransitionEnd");Nb("onMouseEnter",["mouseout","mouseover"]);Nb("onMouseLeave",["mouseout","mouseover"]);Nb("onPointerEnter",["pointerout","pointerover"]); -Nb("onPointerLeave",["pointerout","pointerover"]);Mb("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Mb("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Mb("onBeforeInput",["compositionend","keypress","textInput","paste"]);Mb("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Mb("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); -Mb("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var dn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),en=new Set("cancel close invalid load scroll toggle".split(" ").concat(dn)); -function fn(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;mi(d,b,void 0,a);a.currentTarget=null} -function sm(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],m=h.instance,p=h.currentTarget;h=h.listener;if(m!==f&&e.isPropagationStopped())break a;fn(e,h,p);f=m}else for(g=0;g<d.length;g++){h=d[g];m=h.instance;p=h.currentTarget;h=h.listener;if(m!==f&&e.isPropagationStopped())break a;fn(e,h,p);f=m}}}if(ii)throw a=ji,ii=!1,ji=null,a;} -function Z(a,b){var c=b[wb];void 0===c&&(c=b[wb]=new Set);var d=a+"__bubble";c.has(d)||(gn(b,a,2,!1),c.add(d))}function hn(a,b,c){var d=0;b&&(d|=4);gn(c,a,d,b)}var jn="_reactListening"+Math.random().toString(36).slice(2);function ai(a){if(!a[jn]){a[jn]=!0;Kb.forEach(function(c){"selectionchange"!==c&&(en.has(c)||hn(c,!1,a),hn(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[jn]||(b[jn]=!0,hn("selectionchange",!1,b))}} -function gn(a,b,c,d){switch(Pj(b)){case 2:var e=Ql;break;case 8:e=Sl;break;default:e=Rl}c=e.bind(null,b,c,a);e=void 0;!Lk||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} -function Tl(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var m=g.tag;if(3===m||4===m)if(m=g.stateNode.containerInfo,m===e||8===m.nodeType&&m.parentNode===e)return;g=g.return}for(;null!==h;){g=Db(h);if(null===g)return;m=g.tag;if(5===m||6===m||26===m||27===m){d=f=g;continue a}h=h.parentNode}}d=d.return}Jk(function(){var p= -f,q=Cc(c),w=[];a:{var r=Xm.get(a);if(void 0!==r){var u=Sk,z=a;switch(a){case "keypress":if(0===Nk(c))break a;case "keydown":case "keyup":u=pl;break;case "focusin":z="focus";u=dl;break;case "focusout":z="blur";u=dl;break;case "beforeblur":case "afterblur":u=dl;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=$k;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= -bl;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=tl;break;case Tm:case Um:case Vm:u=fl;break;case Wm:u=vl;break;case "scroll":u=Uk;break;case "wheel":u=xl;break;case "copy":case "cut":case "paste":u=hl;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=rl}var B=0!==(b&4),S=!B&&"scroll"===a,T=B?null!==r?r+"Capture":null:r;B=[];for(var l=p,k;null!== -l;){var n=l;k=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===k||null===T||(n=Kk(l,T),null!=n&&B.push(kn(l,n,k)));if(S)break;l=l.return}0<B.length&&(r=new u(r,z,null,c,q),w.push({event:r,listeners:B}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Bc&&(z=c.relatedTarget||c.fromElement)&&(Db(z)||z[vb]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(z=c.relatedTarget||c.toElement,u=p,z=z?Db(z): -null,null!==z&&(S=Ic(z),B=z.tag,z!==S||5!==B&&27!==B&&6!==B))z=null}else u=null,z=p;if(u!==z){B=$k;n="onMouseLeave";T="onMouseEnter";l="mouse";if("pointerout"===a||"pointerover"===a)B=rl,n="onPointerLeave",T="onPointerEnter",l="pointer";S=null==u?r:Gb(u);k=null==z?r:Gb(z);r=new B(n,l+"leave",u,c,q);r.target=S;r.relatedTarget=k;n=null;Db(q)===p&&(B=new B(T,l+"enter",z,c,q),B.target=k,B.relatedTarget=S,n=B);S=n;if(u&&z)b:{B=u;T=z;l=0;for(k=B;k;k=ln(k))l++;k=0;for(n=T;n;n=ln(n))k++;for(;0<l-k;)B=ln(B), -l--;for(;0<k-l;)T=ln(T),k--;for(;l--;){if(B===T||null!==T&&B===T.alternate)break b;B=ln(B);T=ln(T)}B=null}else B=null;null!==u&&mn(w,r,u,B,!1);null!==z&&null!==S&&mn(w,S,z,B,!0)}}}a:{r=p?Gb(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=um;else if(mm(r))if(vm)v=Em;else{v=Cm;var x=Bm}else(u=r.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(v=Dm);if(v&&(v=v(a,p))){nm(w,v,c,q);break a}x&&x(a,r,p);"focusout"===a&&p&& -"number"===r.type&&null!=p.memoizedProps.value&&lc(r,"number",r.value)}x=p?Gb(p):window;switch(a){case "focusin":if(mm(x)||"true"===x.contentEditable)Jm=x,Km=p,Lm=null;break;case "focusout":Lm=Km=Jm=null;break;case "mousedown":Mm=!0;break;case "contextmenu":case "mouseup":case "dragend":Mm=!1;Nm(w,c,q);break;case "selectionchange":if(Im)break;case "keydown":case "keyup":Nm(w,c,q)}var A;if($l)b:{switch(a){case "compositionstart":var y="onCompositionStart";break b;case "compositionend":y="onCompositionEnd"; -break b;case "compositionupdate":y="onCompositionUpdate";break b}y=void 0}else im?fm(a,c)&&(y="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(y="onCompositionStart");y&&(cm&&"ko"!==c.locale&&(im||"onCompositionStart"!==y?"onCompositionEnd"===y&&im&&(A=Yl()):(Vl=q,Wl="value"in Vl?Vl.value:Vl.textContent,im=!0)),x=om(p,y),0<x.length&&(y=new jl(y,a,null,c,q),w.push({event:y,listeners:x}),A?y.data=A:(A=hm(c),null!==A&&(y.data=A))));if(A=bm?jm(a,c):km(a,c))p=om(p,"onBeforeInput"),0<p.length&&(q=new jl("onBeforeInput", -"beforeinput",null,c,q),w.push({event:q,listeners:p}),q.data=A)}sm(w,b)})}function kn(a,b,c){return{instance:a,listener:b,currentTarget:c}}function om(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=Kk(a,c),null!=e&&d.unshift(kn(a,e,f)),e=Kk(a,b),null!=e&&d.push(kn(a,e,f)));a=a.return}return d}function ln(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null} -function mn(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,m=h.alternate,p=h.stateNode;h=h.tag;if(null!==m&&m===d)break;5!==h&&26!==h&&27!==h||null===p||(m=p,e?(p=Kk(c,f),null!=p&&g.unshift(kn(c,p,m))):e||(p=Kk(c,f),null!=p&&g.push(kn(c,p,m))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var nn=/\r\n?/g,on=/\u0000|\uFFFD/g;function pn(a){return("string"===typeof a?a:""+a).replace(nn,"\n").replace(on,"")}function $h(a,b,c){b=pn(b);if(pn(a)!==b&&c)throw Error(t(425));} -function Pi(){} -function qn(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||vc(a,d):"number"===typeof d&&"body"!==b&&vc(a,""+d);break;case "className":Ub(a,"class",d);break;case "tabIndex":Ub(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":Ub(a,c,d);break;case "style":yc(a,d,f);break;case "src":case "href":if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+ -d);break;case "action":case "formAction":if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=Pi);break;case "onScroll":null!=d&&Z("scroll",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));uc(a,d)}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!== -typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"===typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href");break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!= -d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&&"function"!==typeof d&& -"symbol"!==typeof d?a.setAttribute(c,""):a.removeAttribute(c);break;case "capture":case "download":!0===d?a.setAttribute(c,""):!1!==d&&null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,d):a.removeAttribute(c);break;case "cols":case "rows":case "size":case "span":null!=d&&"function"!==typeof d&&"symbol"!==typeof d&&!isNaN(d)&&1<=d?a.setAttribute(c,d):a.removeAttribute(c);break;case "rowSpan":case "start":null==d||"function"===typeof d||"symbol"===typeof d||isNaN(d)?a.removeAttribute(c): -a.setAttribute(c,d);break;case "xlinkActuate":Vb(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":Vb(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":Vb(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":Vb(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":Vb(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":Vb(a,"http://www.w3.org/1999/xlink","xlink:type",d);break;case "xmlBase":Vb(a, -"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":Vb(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":Vb(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":Tb(a,"is",d);break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Ac.get(c)||c,Tb(a,e,d)}} -function rn(a,b,c,d,e,f){switch(c){case "style":yc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));b=d.__html;if(null!=b){if(null!=e.children)throw Error(t(60));uc(a,b)}}break;case "children":"string"===typeof d?vc(a,d):"number"===typeof d&&vc(a,""+d);break;case "onScroll":null!=d&&Z("scroll",a);break;case "onClick":null!=d&&(a.onclick=Pi);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; -default:Lb.hasOwnProperty(c)||("boolean"===typeof d&&(d=""+d),Tb(a,c,d))}} -function Zh(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Z("invalid",a);var d=null,e=null,f=null,g=null,h=null,m=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":m=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:qn(a, -b,q,p,c,null)}}mc(a,f,g,h,m,e,d,!1);fc(a);return;case "select":Z("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:qn(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?oc(a,!!q,b,!1):null!=c&&oc(a,!!q,c,!0);return;case "textarea":Z("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= -g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:qn(a,b,e,g,c,null)}qc(a,q,d,f);fc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:qn(a,b,g,q,c,null)}return;case "dialog":Z("cancel",a);Z("close",a);break;case "iframe":case "object":Z("load",a);break;case "video":case "audio":for(q=0;q<dn.length;q++)Z(dn[q],a);break;case "image":Z("error",a); -Z("load",a);break;case "details":Z("toggle",a);break;case "embed":case "source":case "img":case "link":Z("error",a),Z("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:qn(a,b,h,q,c,null)}return;default:if(zc(b)){for(m in c)c.hasOwnProperty(m)&&(q=c[m],null!=q&&rn(a,b, -m,q,c,null));return}}for(f in c)c.hasOwnProperty(f)&&(q=c[f],null!=q&&qn(a,b,f,q,c,null))} -function fj(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,m=null,p=null,q=null;for(u in c){var w=c[u];if(c.hasOwnProperty(u)&&null!=w)switch(u){case "checked":break;case "value":break;case "defaultValue":m=w;default:d.hasOwnProperty(u)||qn(a,b,u,null,d,w)}}for(var r in d){var u=d[r];w=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=w))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= -u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==w&&qn(a,b,r,u,d,w)}}kc(a,g,h,m,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(m=c[f],c.hasOwnProperty(f)&&null!=m)switch(f){case "value":break;case "multiple":u=m;default:d.hasOwnProperty(f)||qn(a,b,f,null,d,m)}for(e in d)if(f=d[e],m=c[e],d.hasOwnProperty(e)&&(null!=f||null!=m))switch(e){case "value":r= -f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==m&&qn(a,b,e,f,d,m)}b=h;c=g;d=u;null!=r?oc(a,!!c,r,!1):!!d!==!!c&&(null!=b?oc(a,!!c,b,!0):oc(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:qn(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; -case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&qn(a,b,g,e,d,f)}pc(a,r,u);return;case "option":for(var z in c)if(r=c[z],c.hasOwnProperty(z)&&null!=r&&!d.hasOwnProperty(z))switch(z){case "selected":a.selected=!1;break;default:qn(a,b,z,null,d,r)}for(m in d)if(r=d[m],u=c[m],d.hasOwnProperty(m)&&r!==u&&(null!=r||null!=u))switch(m){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:qn(a,b,m,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var B in c)r= -c[B],c.hasOwnProperty(B)&&null!=r&&!d.hasOwnProperty(B)&&qn(a,b,B,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:qn(a,b,p,r,d,u)}return;default:if(zc(b)){for(var S in c)r=c[S],c.hasOwnProperty(S)&&null!=r&&!d.hasOwnProperty(S)&&rn(a,b,S,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||rn(a,b,q,r,d,u);return}}for(var T in c)r= -c[T],c.hasOwnProperty(T)&&null!=r&&!d.hasOwnProperty(T)&&qn(a,b,T,null,d,r);for(w in d)r=d[w],u=c[w],!d.hasOwnProperty(w)||r===u||null==r&&null==u||qn(a,b,w,r,d,u)}var wi=null,Ai=null;function Yh(a){return 9===a.nodeType?a:a.ownerDocument}function Ha(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} -function Ia(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Cd(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} -var Sj="function"===typeof setTimeout?setTimeout:void 0,ak="function"===typeof clearTimeout?clearTimeout:void 0,sn="function"===typeof Promise?Promise:void 0,hf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof sn?function(a){return sn.resolve(null).then(a).catch(tn)}:Sj;function tn(a){setTimeout(function(){throw a;})} -function Ui(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);Vi(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);Vi(b)}function Bi(a){var b=a.nodeType;if(9===b)un(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":un(a);break;default:a.textContent=""}} -function un(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":un(c);Cb(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} -function td(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d)break}else{if(!d)return a;if(!a[Ab])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":var f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel||a.getAttribute("href")!==(null==e.href?null:e.href)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin)||a.getAttribute("title")!==(null==e.title?null: -e.title))break;return a;case "style":if(a.hasAttribute("data-precedence"))break;return a;case "script":f=a.getAttribute("src");if((f!==(null==e.src?null:e.src)||a.getAttribute("type")!==(null==e.type?null:e.type)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin))&&f&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}a=ud(a.nextSibling);if(null===a)break}return null} -function wd(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if(!c)return null;a=ud(a.nextSibling);if(null===a)return null}return a}function ud(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b)break;if("/$"===b)return null}}return a} -function Wh(a,b,c,d,e){a[tb]=e;a[ub]=c;d=0!==(e.mode&1);switch(b){case "dialog":Z("cancel",a);Z("close",a);break;case "iframe":case "object":case "embed":Z("load",a);break;case "video":case "audio":for(e=0;e<dn.length;e++)Z(dn[e],a);break;case "source":Z("error",a);break;case "img":case "image":case "link":Z("error",a);Z("load",a);break;case "details":Z("toggle",a);break;case "input":Z("invalid",a);mc(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);fc(a);break;case "select":Z("invalid", -a);break;case "textarea":Z("invalid",a),qc(a,c.value,c.defaultValue,c.children),fc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&$h(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Z("scroll",a);null!=c.onClick&&(a.onclick=Pi)} -function Eb(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function Xh(a,b,c){b=Yh(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var vn=new Map,wn=new Set; -function hj(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var En={prefetchDNS:xn,preconnect:yn,preload:zn,preloadModule:An,preinitStyle:Bn,preinitScript:Cn,preinitModuleScript:Dn}; -function Fn(a,b,c){var d=document;if("string"===typeof b&&b){var e=jc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');wn.has(e)||(wn.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),Zh(b,"link",a),Jb(b),d.head.appendChild(b)))}}function xn(a){Fn("dns-prefetch",a,null)}function yn(a,b){Fn("preconnect",a,b)} -function zn(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+jc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+jc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+jc(c.imageSizes)+'"]')):e+='[href="'+jc(a)+'"]':e+='[href="'+jc(a)+'"]';var f=e;switch(b){case "style":f=Gn(a);break;case "script":f=Hn(a)}vn.has(f)||(a=C({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),vn.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(In(f))|| -"script"===b&&d.querySelector(Jn(f))||(b=d.createElement("link"),Zh(b,"link",a),Jb(b),d.head.appendChild(b)))}} -function An(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+jc(d)+'"][href="'+jc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=Hn(a)}if(!vn.has(f)&&(a=C({rel:"modulepreload",href:a},b),vn.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(Jn(f)))return}d=c.createElement("link"); -Zh(d,"link",a);Jb(d);c.head.appendChild(d)}}} -function Bn(a,b,c){var d=document;if(a){var e=Ib(d).hoistableStyles,f=Gn(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(In(f)))h.loading=1;else{a=C({rel:"stylesheet",href:a,"data-precedence":b},c);(c=vn.get(f))&&Kn(a,c);var m=g=d.createElement("link");Jb(m);Zh(m,"link",a);m._p=new Promise(function(p,q){m.onload=p;m.onerror=q});m.addEventListener("load",function(){h.loading|=1});m.addEventListener("error",function(){h.loading|=2});h.loading|=4;Ln(g,b,d)}g= -{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function Cn(a,b){var c=document;if(a){var d=Ib(c).hoistableScripts,e=Hn(a),f=d.get(e);f||(f=c.querySelector(Jn(e)),f||(a=C({src:a,async:!0},b),(b=vn.get(e))&&Mn(a,b),f=c.createElement("script"),Jb(f),Zh(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function Dn(a,b){var c=document;if(a){var d=Ib(c).hoistableScripts,e=Hn(a),f=d.get(e);f||(f=c.querySelector(Jn(e)),f||(a=C({src:a,async:!0,type:"module"},b),(b=vn.get(e))&&Mn(a,b),f=c.createElement("script"),Jb(f),Zh(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function tk(a,b,c){b=(b=Fa.current)?hj(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=Gn(c.href),b=Ib(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=Gn(c.href);var d=Ib(b).hoistableStyles,e=d.get(a); -e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),vn.has(a)||Nn(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=Hn(c.src),b=Ib(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", -instance:null,count:0,state:null};default:throw Error(t(444,a));}}function Gn(a){return'href="'+jc(a)+'"'}function In(a){return'link[rel="stylesheet"]['+a+"]"}function On(a){return C({},a,{"data-precedence":a.precedence,precedence:null})} -function Nn(a,b,c,d){vn.set(b,c);a.querySelector(In(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),Zh(b,"link",c),Jb(b),a.head.appendChild(b)))}function Hn(a){return'[src="'+jc(a)+'"]'}function Jn(a){return"script[async]"+a} -function ej(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+jc(c.href)+'"]');if(d)return b.instance=d,Jb(d),d;var e=C({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");Jb(d);Zh(d,"style",e);Ln(d,c.precedence,a);return b.instance=d;case "stylesheet":e=Gn(c.href);var f=a.querySelector(In(e));if(f)return b.instance=f,Jb(f),f;d=On(c);(e=vn.get(e))&&Kn(d,e);f=(a.ownerDocument|| -a).createElement("link");Jb(f);var g=f;g._p=new Promise(function(h,m){g.onload=h;g.onerror=m});Zh(f,"link",d);b.state.loading|=4;Ln(f,c.precedence,a);return b.instance=f;case "script":f=Hn(c.src);if(e=a.querySelector(Jn(f)))return b.instance=e,Jb(e),e;d=c;if(e=vn.get(f))d=C({},c),Mn(d,e);a=a.ownerDocument||a;e=a.createElement("script");Jb(e);Zh(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& -4)&&(d=b.instance,b.state.loading|=4,Ln(d,c.precedence,a));return b.instance}function Ln(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} -function Kn(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function Mn(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var gj=null; -function cj(a,b,c){if(null===gj){var d=new Map;var e=gj=new Map;e.set(c,d)}else e=gj,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Ab]||f[tb]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} -function dj(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} -function vk(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} -var Uj=null;function Vj(){} -function uj(a,b,c){if(null===Uj)throw Error(t(475));var d=Uj;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=Gn(c.href),f=a.querySelector(In(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Pn.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Jb(f);return}f=a.ownerDocument||a;c=On(c);(e=vn.get(e))&&Kn(c,e);f=f.createElement("link");Jb(f);var g=f;g._p=new Promise(function(h,m){g.onload=h; -g.onerror=m});Zh(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Pn.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} -function Wj(){if(null===Uj)throw Error(t(475));var a=Uj;a.stylesheets&&0===a.count&&Qn(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&Qn(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function Pn(){this.count--;if(0===this.count)if(this.stylesheets)Qn(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var Rn=null; -function Qn(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,Rn=new Map,b.forEach(Sn,a),Rn=null,Pn.call(a))} -function Sn(a,b){if(!(b.state.loading&4)){var c=Rn.get(a);if(c)var d=c.get("last");else{c=new Map;Rn.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=Pn.bind(this);e.addEventListener("load",d);e.addEventListener("error", -d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var Tn=ca.Dispatcher;"undefined"!==typeof document&&(Tn.current=En);var Un="function"===typeof reportError?reportError:function(a){console.error(a)};function Vn(a){this._internalRoot=a}Wn.prototype.render=Vn.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));Bk(a,b,null,null)}; -Wn.prototype.unmount=Vn.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Yj(function(){Bk(null,a,null,null)});b[vb]=null}};function Wn(a){this._internalRoot=a}Wn.prototype.unstable_scheduleHydration=function(a){if(a){var b=H;a={blockedOn:null,target:a,priority:b};for(var c=0;c<El.length&&0!==b&&b<El[c].priority;c++);El.splice(c,0,a);0===c&&Jl(a)}};function Xn(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} -function Yn(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function Zn(){} -function $n(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=Ck(g);f.call(p)}}var g=Ak(b,d,a,0,null,!1,!1,"",Zn,null,null);a._reactRootContainer=g;a[vb]=g.current;ai(8===a.nodeType?a.parentNode:a);Yj();return g}Bi(a);if("function"===typeof d){var h=d;d=function(){var p=Ck(m);h.call(p)}}var m=xk(a,0,!1,null,null,!1,!1,"",Zn,null,null);a._reactRootContainer=m;a[vb]=m.current;ai(8===a.nodeType?a.parentNode:a);Yj(function(){Bk(b,m,c,d)});return m} -function ao(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var m=Ck(g);h.call(m)}}Bk(b,g,a,e)}else g=$n(c,b,a,e,d);return Ck(g)}function bo(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var co=ca.Dispatcher;ca.Events=[Fb,Gb,Hb,Gc,Hc,Xj];var eo={findFiberByHostInstance:Db,bundleType:0,version:"18.3.0-canary-d900fadbf-20230929",rendererPackageName:"react-dom"}; -var fo={bundleType:eo.bundleType,version:eo.version,rendererPackageName:eo.rendererPackageName,rendererConfig:eo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ea.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Mc(a);return null===a?null:a.stateNode},findFiberByHostInstance:eo.findFiberByHostInstance|| -Hk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-canary-d900fadbf-20230929"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var go=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!go.isDisabled&&go.supportsFiber)try{Xa=go.inject(fo),Ya=go}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca; -exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xn(b))throw Error(t(200));return yk(a,b,null,c)}; -exports.createRoot=function(a,b){if(!Xn(a))throw Error(t(299));var c=!1,d="",e=Un,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=xk(a,1,!1,null,null,c,!1,d,e,f,null);a[vb]=b.current;Tn.current=En;ai(8===a.nodeType?a.parentNode:a);return new Vn(b)}; -exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=Mc(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return Yj(a)};exports.hydrate=function(a,b,c){if(!Yn(b))throw Error(t(200));return ao(null,a,b,!0,c)}; -exports.hydrateRoot=function(a,b,c){if(!Xn(a))throw Error(t(405));var d=!1,e="",f=Un,g=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks));b=Ak(b,null,a,1,null!=c?c:null,d,!1,e,f,g,null);a[vb]=b.current;Tn.current=En;ai(a);return new Wn(b)}; -exports.preconnect=function(a,b){var c=co.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=co.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; -exports.preinit=function(a,b){var c=co.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=bo(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; -exports.preinitModule=function(a,b){var c=co.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=bo(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; -exports.preload=function(a,b){var c=co.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=bo(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== -typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=co.current;if(c&&"string"===typeof a)if(b){var d=bo(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!Yn(b))throw Error(t(200));return ao(null,a,b,!1,c)}; -exports.unmountComponentAtNode=function(a){if(!Yn(a))throw Error(t(40));return a._reactRootContainer?(Yj(function(){ao(null,null,a,!1,function(){a._reactRootContainer=null;a[vb]=null})}),!0):!1};exports.unstable_batchedUpdates=Xj;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!Yn(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return ao(a,b,c,!1,d)};exports.version="18.3.0-canary-d900fadbf-20230929"; +var on=Sb&&"documentMode"in document&&11>=document.documentMode,pn=null,qn=null,rn=null,sn=!1; +function tn(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;sn||null==pn||pn!==lc(d)||(d=pn,"selectionStart"in d&&$i(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),rn&&he(rn,d)||(rn=d,d=Um(qn,"onSelect"),0<d.length&&(b=new tl("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=pn)))} +function un(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var vn={animationend:un("Animation","AnimationEnd"),animationiteration:un("Animation","AnimationIteration"),animationstart:un("Animation","AnimationStart"),transitionend:un("Transition","TransitionEnd")},wn={},xn={}; +Sb&&(xn=document.createElement("div").style,"AnimationEvent"in window||(delete vn.animationend.animation,delete vn.animationiteration.animation,delete vn.animationstart.animation),"TransitionEvent"in window||delete vn.transitionend.transition);function yn(a){if(wn[a])return wn[a];if(!vn[a])return a;var b=vn[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in xn)return wn[a]=b[c];return a}var zn=yn("animationend"),An=yn("animationiteration"),Bn=yn("animationstart"),Cn=yn("transitionend"),Dn=new Map,En="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" "); +function Fn(a,b){Dn.set(a,b);Qb(b,[a])}for(var Gn=0;Gn<En.length;Gn++){var Hn=En[Gn],In=Hn.toLowerCase(),Jn=Hn[0].toUpperCase()+Hn.slice(1);Fn(In,"on"+Jn)}Fn(zn,"onAnimationEnd");Fn(An,"onAnimationIteration");Fn(Bn,"onAnimationStart");Fn("dblclick","onDoubleClick");Fn("focusin","onFocus");Fn("focusout","onBlur");Fn(Cn,"onTransitionEnd");Rb("onMouseEnter",["mouseout","mouseover"]);Rb("onMouseLeave",["mouseout","mouseover"]);Rb("onPointerEnter",["pointerout","pointerover"]); +Rb("onPointerLeave",["pointerout","pointerover"]);Qb("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qb("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qb("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qb("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qb("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); +Qb("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ln=new Set("cancel close invalid load scroll scrollend toggle".split(" ").concat(Kn)); +function Mn(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Ni(d,b,void 0,a);a.currentTarget=null} +function Ym(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],l=h.instance,p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Mn(e,h,p);f=l}else for(g=0;g<d.length;g++){h=d[g];l=h.instance;p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;Mn(e,h,p);f=l}}}if(Ji)throw a=Ki,Ji=!1,Ki=null,a;} +function Y(a,b){var c=b[Ab];void 0===c&&(c=b[Ab]=new Set);var d=a+"__bubble";c.has(d)||(Nn(b,a,2,!1),c.add(d))}function On(a,b,c){var d=0;b&&(d|=4);Nn(c,a,d,b)}var Pn="_reactListening"+Math.random().toString(36).slice(2);function Bi(a){if(!a[Pn]){a[Pn]=!0;Ob.forEach(function(c){"selectionchange"!==c&&(Ln.has(c)||On(c,!1,a),On(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[Pn]||(b[Pn]=!0,On("selectionchange",!1,b))}} +function Nn(a,b,c,d){switch(rk(b)){case 2:var e=vm;break;case 8:e=xm;break;default:e=wm}c=e.bind(null,b,c,a);e=void 0;!ml||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} +function ym(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var l=g.tag;if(3===l||4===l)if(l=g.stateNode.containerInfo,l===e||8===l.nodeType&&l.parentNode===e)return;g=g.return}for(;null!==h;){g=Hb(h);if(null===g)return;l=g.tag;if(5===l||6===l||26===l||27===l){d=f=g;continue a}h=h.parentNode}}d=d.return}kl(function(){var p= +f,q=Gc(c),w=[];a:{var r=Dn.get(a);if(void 0!==r){var u=tl,z=a;switch(a){case "keypress":if(0===ol(c))break a;case "keydown":case "keyup":u=Rl;break;case "focusin":z="focus";u=Fl;break;case "focusout":z="blur";u=Fl;break;case "beforeblur":case "afterblur":u=Fl;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=Bl;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= +Dl;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=Vl;break;case zn:case An:case Bn:u=Hl;break;case Cn:u=Xl;break;case "scroll":case "scrollend":u=vl;break;case "wheel":u=Zl;break;case "copy":case "cut":case "paste":u=Jl;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=Tl}var B=0!==(b&4),U=!B&&("scroll"===a||"scrollend"===a),V=B?null!==r?r+"Capture": +null:r;B=[];for(var m=p,k;null!==m;){var n=m;k=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===k||null===V||(n=ll(m,V),null!=n&&B.push(Qn(m,n,k)));if(U)break;m=m.return}0<B.length&&(r=new u(r,z,null,c,q),w.push({event:r,listeners:B}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Fc&&(z=c.relatedTarget||c.fromElement)&&(Hb(z)||z[zb]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(z=c.relatedTarget|| +c.toElement,u=p,z=z?Hb(z):null,null!==z&&(U=Mc(z),B=z.tag,z!==U||5!==B&&27!==B&&6!==B))z=null}else u=null,z=p;if(u!==z){B=Bl;n="onMouseLeave";V="onMouseEnter";m="mouse";if("pointerout"===a||"pointerover"===a)B=Tl,n="onPointerLeave",V="onPointerEnter",m="pointer";U=null==u?r:Kb(u);k=null==z?r:Kb(z);r=new B(n,m+"leave",u,c,q);r.target=U;r.relatedTarget=k;n=null;Hb(q)===p&&(B=new B(V,m+"enter",z,c,q),B.target=k,B.relatedTarget=U,n=B);U=n;if(u&&z)b:{B=u;V=z;m=0;for(k=B;k;k=Rn(k))m++;k=0;for(n=V;n;n=Rn(n))k++; +for(;0<m-k;)B=Rn(B),m--;for(;0<k-m;)V=Rn(V),k--;for(;m--;){if(B===V||null!==V&&B===V.alternate)break b;B=Rn(B);V=Rn(V)}B=null}else B=null;null!==u&&Sn(w,r,u,B,!1);null!==z&&null!==U&&Sn(w,U,z,B,!0)}}}a:{r=p?Kb(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=$m;else if(Sm(r))if(an)v=kn;else{v=hn;var x=gn}else(u=r.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(v=jn);if(v&&(v=v(a,p))){Tm(w,v,c,q);break a}x&&x(a,r,p); +"focusout"===a&&p&&"number"===r.type&&null!=p.memoizedProps.value&&pc(r,"number",r.value)}x=p?Kb(p):window;switch(a){case "focusin":if(Sm(x)||"true"===x.contentEditable)pn=x,qn=p,rn=null;break;case "focusout":rn=qn=pn=null;break;case "mousedown":sn=!0;break;case "contextmenu":case "mouseup":case "dragend":sn=!1;tn(w,c,q);break;case "selectionchange":if(on)break;case "keydown":case "keyup":tn(w,c,q)}var A;if(Fm)b:{switch(a){case "compositionstart":var y="onCompositionStart";break b;case "compositionend":y= +"onCompositionEnd";break b;case "compositionupdate":y="onCompositionUpdate";break b}y=void 0}else Om?Mm(a,c)&&(y="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(y="onCompositionStart");y&&(Jm&&"ko"!==c.locale&&(Om||"onCompositionStart"!==y?"onCompositionEnd"===y&&Om&&(A=Dm()):(Am=q,Bm="value"in Am?Am.value:Am.textContent,Om=!0)),x=Um(p,y),0<x.length&&(y=new Ll(y,a,null,c,q),w.push({event:y,listeners:x}),A?y.data=A:(A=Nm(c),null!==A&&(y.data=A))));if(A=Hm?Pm(a,c):Qm(a,c))y=Um(p,"onBeforeInput"), +0<y.length&&(x=new Ll("onBeforeInput","beforeinput",null,c,q),w.push({event:x,listeners:y}),x.data=A);$l(w,a,p,c,q)}Ym(w,b)})}function Qn(a,b,c){return{instance:a,listener:b,currentTarget:c}}function Um(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=ll(a,c),null!=e&&d.unshift(Qn(a,e,f)),e=ll(a,b),null!=e&&d.push(Qn(a,e,f)));a=a.return}return d} +function Rn(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null}function Sn(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,l=h.alternate,p=h.stateNode;h=h.tag;if(null!==l&&l===d)break;5!==h&&26!==h&&27!==h||null===p||(l=p,e?(p=ll(c,f),null!=p&&g.unshift(Qn(c,p,l))):e||(p=ll(c,f),null!=p&&g.push(Qn(c,p,l))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var Tn=/\r\n?/g,Un=/\u0000|\uFFFD/g; +function Vn(a){return("string"===typeof a?a:""+a).replace(Tn,"\n").replace(Un,"")}function Ai(a,b,c){b=Vn(b);if(Vn(a)!==b&&c)throw Error(t(425));}function pj(){} +function Z(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||zc(a,d):"number"===typeof d&&"body"!==b&&zc(a,""+d);break;case "className":Yb(a,"class",d);break;case "tabIndex":Yb(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":Yb(a,c,d);break;case "style":Cc(a,d,f);break;case "src":case "href":if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+ +d);break;case "action":case "formAction":if("function"===typeof d){a.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else"function"===typeof f&&("formAction"===c?("input"!==b&&Z(a,b,"name",e.name,e,null),Z(a,b,"formEncType",e.formEncType,e,null),Z(a, +b,"formMethod",e.formMethod,e,null),Z(a,b,"formTarget",e.formTarget,e,null)):(Z(a,b,"encType",e.encType,e,null),Z(a,b,"method",e.method,e,null),Z(a,b,"target",e.target,e,null)));if(null==d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=pj);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in +d))throw Error(t(61));d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));yc(a,d)}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"===typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href"); +break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&& +"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""):a.removeAttribute(c);break;case "capture":case "download":!0===d?a.setAttribute(c,""):!1!==d&&null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,d):a.removeAttribute(c);break;case "cols":case "rows":case "size":case "span":null!=d&&"function"!==typeof d&&"symbol"!==typeof d&&!isNaN(d)&&1<=d?a.setAttribute(c,d):a.removeAttribute(c);break;case "rowSpan":case "start":null==d||"function"===typeof d||"symbol"===typeof d|| +isNaN(d)?a.removeAttribute(c):a.setAttribute(c,d);break;case "xlinkActuate":Zb(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":Zb(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":Zb(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":Zb(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":Zb(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":Zb(a,"http://www.w3.org/1999/xlink","xlink:type", +d);break;case "xmlBase":Zb(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":Zb(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":Zb(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":Xb(a,"is",d);break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Ec.get(c)||c,Xb(a,e,d)}} +function Wn(a,b,c,d,e,f){switch(c){case "style":Cc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));b=d.__html;if(null!=b){if(null!=e.children)throw Error(t(60));yc(a,b)}}break;case "children":"string"===typeof d?zc(a,d):"number"===typeof d&&zc(a,""+d);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "onClick":null!=d&&(a.onclick=pj);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; +default:Pb.hasOwnProperty(c)||("boolean"===typeof d&&(d=""+d),Xb(a,c,d))}} +function zi(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Y("invalid",a);var d=null,e=null,f=null,g=null,h=null,l=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":l=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:Z(a, +b,q,p,c,null)}}qc(a,f,g,h,l,e,d,!1);jc(a);return;case "select":Y("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:Z(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?sc(a,!!q,b,!1):null!=c&&sc(a,!!q,c,!0);return;case "textarea":Y("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= +g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:Z(a,b,e,g,c,null)}uc(a,q,d,f);jc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:Z(a,b,g,q,c,null)}return;case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":Y("load",a);break;case "video":case "audio":for(q=0;q<Kn.length;q++)Y(Kn[q],a);break;case "image":Y("error",a);Y("load", +a);break;case "details":Y("toggle",a);break;case "embed":case "source":case "img":case "link":Y("error",a),Y("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:Z(a,b,h,q,c,null)}return;default:if(Dc(b)){for(l in c)c.hasOwnProperty(l)&&(q=c[l],null!=q&&Wn(a,b,l,q,c,null)); +return}}for(f in c)c.hasOwnProperty(f)&&(q=c[f],null!=q&&Z(a,b,f,q,c,null))} +function Hj(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,l=null,p=null,q=null;for(u in c){var w=c[u];if(c.hasOwnProperty(u)&&null!=w)switch(u){case "checked":break;case "value":break;case "defaultValue":l=w;default:d.hasOwnProperty(u)||Z(a,b,u,null,d,w)}}for(var r in d){var u=d[r];w=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=w))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= +u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==w&&Z(a,b,r,u,d,w)}}oc(a,g,h,l,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(l=c[f],c.hasOwnProperty(f)&&null!=l)switch(f){case "value":break;case "multiple":u=l;default:d.hasOwnProperty(f)||Z(a,b,f,null,d,l)}for(e in d)if(f=d[e],l=c[e],d.hasOwnProperty(e)&&(null!=f||null!=l))switch(e){case "value":r= +f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==l&&Z(a,b,e,f,d,l)}b=h;c=g;d=u;null!=r?sc(a,!!c,r,!1):!!d!==!!c&&(null!=b?sc(a,!!c,b,!0):sc(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:Z(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; +case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&Z(a,b,g,e,d,f)}tc(a,r,u);return;case "option":for(var z in c)if(r=c[z],c.hasOwnProperty(z)&&null!=r&&!d.hasOwnProperty(z))switch(z){case "selected":a.selected=!1;break;default:Z(a,b,z,null,d,r)}for(l in d)if(r=d[l],u=c[l],d.hasOwnProperty(l)&&r!==u&&(null!=r||null!=u))switch(l){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:Z(a,b,l,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var B in c)r= +c[B],c.hasOwnProperty(B)&&null!=r&&!d.hasOwnProperty(B)&&Z(a,b,B,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:Z(a,b,p,r,d,u)}return;default:if(Dc(b)){for(var U in c)r=c[U],c.hasOwnProperty(U)&&null!=r&&!d.hasOwnProperty(U)&&Wn(a,b,U,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||Wn(a,b,q,r,d,u);return}}for(var V in c)r=c[V], +c.hasOwnProperty(V)&&null!=r&&!d.hasOwnProperty(V)&&Z(a,b,V,null,d,r);for(w in d)r=d[w],u=c[w],!d.hasOwnProperty(w)||r===u||null==r&&null==u||Z(a,b,w,r,d,u)}var Xi=null,aj=null;function yi(a){return 9===a.nodeType?a:a.ownerDocument}function Ka(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} +function La(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Id(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} +var uk="function"===typeof setTimeout?setTimeout:void 0,Ck="function"===typeof clearTimeout?clearTimeout:void 0,Xn="function"===typeof Promise?Promise:void 0,qf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof Xn?function(a){return Xn.resolve(null).then(a).catch(Yn)}:uk;function Yn(a){setTimeout(function(){throw a;})} +function vj(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);wj(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);wj(b)}function bj(a){var b=a.nodeType;if(9===b)Zn(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":Zn(a);break;default:a.textContent=""}} +function Zn(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":Zn(c);Gb(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} +function xd(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d&&("INPUT"!==a.nodeName||"hidden"!==a.type))break}else if(!d)if("input"===b&&"hidden"===a.type){var f=null==e.name?null:""+e.name;if("hidden"===e.type&&a.getAttribute("name")===f)return a}else return a;else if(!a[Fb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel|| +a.getAttribute("href")!==(null==e.href?null:e.href)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin)||a.getAttribute("title")!==(null==e.title?null:e.title))break;return a;case "style":if(a.hasAttribute("data-precedence"))break;return a;case "script":f=a.getAttribute("src");if((f!==(null==e.src?null:e.src)||a.getAttribute("type")!==(null==e.type?null:e.type)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin))&&f&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break; +return a;default:return a}a=Cd(a);if(null===a)break}return null}function Ad(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Cd(a);if(null===a)return null}return a}function yd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Cd(a){return yd(a.nextSibling)} +function wi(a,b,c,d,e){a[xb]=e;a[yb]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e<Kn.length;e++)Y(Kn[e],a);break;case "source":Y("error",a);break;case "img":case "image":case "link":Y("error",a);Y("load",a);break;case "details":Y("toggle",a);break;case "input":Y("invalid",a);qc(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);jc(a);break;case "select":Y("invalid", +a);break;case "textarea":Y("invalid",a),uc(a,c.value,c.defaultValue,c.children),jc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&Ai(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Y("scroll",a);null!=c.onScrollEnd&&Y("scrollend",a);null!=c.onClick&&(a.onclick=pj)} +function Ib(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function xi(a,b,c){b=yi(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var $n=new Map,ao=new Set; +function Jj(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var jo={prefetchDNS:bo,preconnect:co,preload:eo,preloadModule:fo,preinitStyle:go,preinitScript:ho,preinitModuleScript:io}; +function ko(a,b,c){var d=document;if("string"===typeof b&&b){var e=nc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');ao.has(e)||(ao.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),zi(b,"link",a),Nb(b),d.head.appendChild(b)))}}function bo(a){ko("dns-prefetch",a,null)}function co(a,b){ko("preconnect",a,b)} +function eo(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+nc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+nc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+nc(c.imageSizes)+'"]')):e+='[href="'+nc(a)+'"]':e+='[href="'+nc(a)+'"]';var f=e;switch(b){case "style":f=lo(a);break;case "script":f=mo(a)}$n.has(f)||(a=C({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),$n.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(no(f))|| +"script"===b&&d.querySelector(oo(f))||(b=d.createElement("link"),zi(b,"link",a),Nb(b),d.head.appendChild(b)))}} +function fo(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+nc(d)+'"][href="'+nc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=mo(a)}if(!$n.has(f)&&(a=C({rel:"modulepreload",href:a},b),$n.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(oo(f)))return}d=c.createElement("link"); +zi(d,"link",a);Nb(d);c.head.appendChild(d)}}} +function go(a,b,c){var d=document;if(a){var e=Mb(d).hoistableStyles,f=lo(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(no(f)))h.loading=1;else{a=C({rel:"stylesheet",href:a,"data-precedence":b},c);(c=$n.get(f))&&po(a,c);var l=g=d.createElement("link");Nb(l);zi(l,"link",a);l._p=new Promise(function(p,q){l.onload=p;l.onerror=q});l.addEventListener("load",function(){h.loading|=1});l.addEventListener("error",function(){h.loading|=2});h.loading|=4;qo(g,b,d)}g= +{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function ho(a,b){var c=document;if(a){var d=Mb(c).hoistableScripts,e=mo(a),f=d.get(e);f||(f=c.querySelector(oo(e)),f||(a=C({src:a,async:!0},b),(b=$n.get(e))&&ro(a,b),f=c.createElement("script"),Nb(f),zi(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function io(a,b){var c=document;if(a){var d=Mb(c).hoistableScripts,e=mo(a),f=d.get(e);f||(f=c.querySelector(oo(e)),f||(a=C({src:a,async:!0,type:"module"},b),(b=$n.get(e))&&ro(a,b),f=c.createElement("script"),Nb(f),zi(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function Vk(a,b,c){b=(b=Ga.current)?Jj(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=lo(c.href),b=Mb(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=lo(c.href);var d=Mb(b).hoistableStyles,e=d.get(a); +e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),$n.has(a)||so(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=mo(c.src),b=Mb(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", +instance:null,count:0,state:null};default:throw Error(t(444,a));}}function lo(a){return'href="'+nc(a)+'"'}function no(a){return'link[rel="stylesheet"]['+a+"]"}function to(a){return C({},a,{"data-precedence":a.precedence,precedence:null})} +function so(a,b,c,d){$n.set(b,c);a.querySelector(no(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),zi(b,"link",c),Nb(b),a.head.appendChild(b)))}function mo(a){return'[src="'+nc(a)+'"]'}function oo(a){return"script[async]"+a} +function Gj(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+nc(c.href)+'"]');if(d)return b.instance=d,Nb(d),d;var e=C({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");Nb(d);zi(d,"style",e);qo(d,c.precedence,a);return b.instance=d;case "stylesheet":e=lo(c.href);var f=a.querySelector(no(e));if(f)return b.instance=f,Nb(f),f;d=to(c);(e=$n.get(e))&&po(d,e);f=(a.ownerDocument|| +a).createElement("link");Nb(f);var g=f;g._p=new Promise(function(h,l){g.onload=h;g.onerror=l});zi(f,"link",d);b.state.loading|=4;qo(f,c.precedence,a);return b.instance=f;case "script":f=mo(c.src);if(e=a.querySelector(oo(f)))return b.instance=e,Nb(e),e;d=c;if(e=$n.get(f))d=C({},c),ro(d,e);a=a.ownerDocument||a;e=a.createElement("script");Nb(e);zi(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& +4)&&(d=b.instance,b.state.loading|=4,qo(d,c.precedence,a));return b.instance}function qo(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} +function po(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function ro(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var Ij=null; +function Ej(a,b,c){if(null===Ij){var d=new Map;var e=Ij=new Map;e.set(c,d)}else e=Ij,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Fb]||f[xb]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} +function Fj(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} +function Xk(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} +var wk=null;function xk(){} +function Wj(a,b,c){if(null===wk)throw Error(t(475));var d=wk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=lo(c.href),f=a.querySelector(no(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=uo.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Nb(f);return}f=a.ownerDocument||a;c=to(c);(e=$n.get(e))&&po(c,e);f=f.createElement("link");Nb(f);var g=f;g._p=new Promise(function(h,l){g.onload=h; +g.onerror=l});zi(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=uo.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} +function yk(){if(null===wk)throw Error(t(475));var a=wk;a.stylesheets&&0===a.count&&vo(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&vo(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function uo(){this.count--;if(0===this.count)if(this.stylesheets)vo(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var wo=null; +function vo(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,wo=new Map,b.forEach(xo,a),wo=null,uo.call(a))} +function xo(a,b){if(!(b.state.loading&4)){var c=wo.get(a);if(c)var d=c.get("last");else{c=new Map;wo.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=uo.bind(this);e.addEventListener("load",d);e.addEventListener("error", +d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var yo=ca.Dispatcher;"undefined"!==typeof document&&(yo.current=jo);var zo="function"===typeof reportError?reportError:function(a){console.error(a)};function Ao(a){this._internalRoot=a}Bo.prototype.render=Ao.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));cl(a,b,null,null)}; +Bo.prototype.unmount=Ao.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Ak(function(){cl(null,a,null,null)});b[zb]=null}};function Bo(a){this._internalRoot=a}Bo.prototype.unstable_scheduleHydration=function(a){if(a){var b=F;a={blockedOn:null,target:a,priority:b};for(var c=0;c<gm.length&&0!==b&&b<gm[c].priority;c++);gm.splice(c,0,a);0===c&&lm(a)}};function Co(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} +function Do(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function Eo(){} +function Fo(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=dl(g);f.call(p)}}var g=bl(b,d,a,0,null,!1,!1,"",Eo,null,null);a._reactRootContainer=g;a[zb]=g.current;Bi(8===a.nodeType?a.parentNode:a);Ak();return g}bj(a);if("function"===typeof d){var h=d;d=function(){var p=dl(l);h.call(p)}}var l=Zk(a,0,!1,null,null,!1,!1,"",Eo,null,null);a._reactRootContainer=l;a[zb]=l.current;Bi(8===a.nodeType?a.parentNode:a);Ak(function(){cl(b,l,c,d)});return l} +function Go(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var l=dl(g);h.call(l)}}cl(b,g,a,e)}else g=Fo(c,b,a,e,d);return dl(g)}function Ho(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var Io=ca.Dispatcher;ca.Events=[Jb,Kb,Lb,Kc,Lc,zk];var Jo={findFiberByHostInstance:Hb,bundleType:0,version:"18.3.0-canary-d803f519e-20231020",rendererPackageName:"react-dom"}; +var Ko={bundleType:Jo.bundleType,version:Jo.version,rendererPackageName:Jo.rendererPackageName,rendererConfig:Jo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Qc(a);return null===a?null:a.stateNode},findFiberByHostInstance:Jo.findFiberByHostInstance|| +il,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-canary-d803f519e-20231020"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Lo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Lo.isDisabled&&Lo.supportsFiber)try{$a=Lo.inject(Ko),ab=Lo}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca; +exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Co(b))throw Error(t(200));return $k(a,b,null,c)}; +exports.createRoot=function(a,b){if(!Co(a))throw Error(t(299));var c=!1,d="",e=zo,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=Zk(a,1,!1,null,null,c,!1,d,e,f,null);a[zb]=b.current;yo.current=jo;Bi(8===a.nodeType?a.parentNode:a);return new Ao(b)}; +exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=Qc(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return Ak(a)};exports.hydrate=function(a,b,c){if(!Do(b))throw Error(t(200));return Go(null,a,b,!0,c)}; +exports.hydrateRoot=function(a,b,c){if(!Co(a))throw Error(t(405));var d=!1,e="",f=zo,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.formState&&(h=c.formState));b=bl(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[zb]=b.current;yo.current=jo;Bi(a);return new Bo(b)}; +exports.preconnect=function(a,b){var c=Io.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=Io.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; +exports.preinit=function(a,b){var c=Io.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=Ho(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; +exports.preinitModule=function(a,b){var c=Io.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=Ho(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; +exports.preload=function(a,b){var c=Io.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=Ho(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== +typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=Io.current;if(c&&"string"===typeof a)if(b){var d=Ho(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!Do(b))throw Error(t(200));return Go(null,a,b,!1,c)}; +exports.unmountComponentAtNode=function(a){if(!Do(a))throw Error(t(40));return a._reactRootContainer?(Ak(function(){Go(null,null,a,!1,function(){a._reactRootContainer=null;a[zb]=null})}),!0):!1};exports.unstable_batchedUpdates=zk;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!Do(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return Go(a,b,c,!1,d)};exports.useFormState=function(a,b,c){return ea.current.useFormState(a,b,c)}; +exports.useFormStatus=function(){return ea.current.useHostTransitionStatus()};exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.profiling.min.js b/packages/next/src/compiled/react-dom/cjs/react-dom.profiling.min.js index 4fa142b2c64a2..8d6441f9cd57f 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.profiling.min.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.profiling.min.js @@ -21,427 +21,445 @@ if ( /* Modernizr 3.0.0pre (Custom Build) | MIT */ -'use strict';var aa=require("next/dist/compiled/scheduler"),ba=require("next/dist/compiled/react"),ca={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function u(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -var w=Object.assign,da=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fa=[],ha=-1;function ia(a){return{current:a}}function D(a){0>ha||(a.current=fa[ha],fa[ha]=null,ha--)}function E(a,b){ha++;fa[ha]=a.current;a.current=b} -var ja=Symbol.for("react.element"),ka=Symbol.for("react.portal"),la=Symbol.for("react.fragment"),ma=Symbol.for("react.strict_mode"),na=Symbol.for("react.profiler"),oa=Symbol.for("react.provider"),pa=Symbol.for("react.context"),qa=Symbol.for("react.server_context"),ra=Symbol.for("react.forward_ref"),sa=Symbol.for("react.suspense"),ta=Symbol.for("react.suspense_list"),ua=Symbol.for("react.memo"),va=Symbol.for("react.lazy"),wa=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); -var xa=Symbol.for("react.offscreen"),ya=Symbol.for("react.legacy_hidden"),za=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Aa=Symbol.for("react.default_value"),Ba=Symbol.iterator;function Ca(a){if(null===a||"object"!==typeof a)return null;a=Ba&&a[Ba]||a["@@iterator"];return"function"===typeof a?a:null}var Da=ia(null),Ea=ia(null),Fa=ia(null); -function Ga(a,b){E(Fa,b);E(Ea,a);E(Da,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Ha(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Ha(a),b=Ia(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Da);E(Da,b)}function Ja(){D(Da);D(Ea);D(Fa)}function Ka(a){var b=Da.current;var c=Ia(b,a.type);b!==c&&(E(Ea,a),E(Da,c))}function La(a){Ea.current===a&&(D(Da),D(Ea))} -var Ma=aa.unstable_scheduleCallback,Na=aa.unstable_cancelCallback,Oa=aa.unstable_shouldYield,Pa=aa.unstable_requestPaint,Qa=aa.unstable_now,Ra=aa.unstable_getCurrentPriorityLevel,Sa=aa.unstable_ImmediatePriority,Ta=aa.unstable_UserBlockingPriority,Ua=aa.unstable_NormalPriority,Va=aa.unstable_LowPriority,Wa=aa.unstable_IdlePriority,Xa=null,Ya=null,F=null,Za="undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__; -function $a(a,b){if(Ya&&"function"===typeof Ya.onCommitFiberRoot)try{var c=128===(a.current.flags&128);switch(b){case 2:var d=Sa;break;case 8:d=Ta;break;case 32:d=Ua;break;case 536870912:d=Wa;break;default:d=Ua}Ya.onCommitFiberRoot(Xa,a,d,c)}catch(e){}}function ab(a){F=a}function bb(){for(var a=new Map,b=1,c=0;31>c;c++){var d=cb(b);a.set(b,d);b*=2}return a}function db(){null!==F&&"function"===typeof F.markCommitStopped&&F.markCommitStopped()} -function eb(a){null!==F&&"function"===typeof F.markComponentRenderStarted&&F.markComponentRenderStarted(a)}function fb(){null!==F&&"function"===typeof F.markComponentRenderStopped&&F.markComponentRenderStopped()}function gb(a){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStarted&&F.markComponentLayoutEffectUnmountStarted(a)}function hb(){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStopped&&F.markComponentLayoutEffectUnmountStopped()} -function ib(a){null!==F&&"function"===typeof F.markRenderStarted&&F.markRenderStarted(a)}function jb(){null!==F&&"function"===typeof F.markRenderStopped&&F.markRenderStopped()}function kb(a,b){null!==F&&"function"===typeof F.markStateUpdateScheduled&&F.markStateUpdateScheduled(a,b)}var mb=Math.clz32?Math.clz32:lb,nb=Math.log,ob=Math.LN2;function lb(a){a>>>=0;return 0===a?32:31-(nb(a)/ob|0)|0} -function cb(a){if(a&1)return"SyncHydrationLane";if(a&2)return"Sync";if(a&4)return"InputContinuousHydration";if(a&8)return"InputContinuous";if(a&16)return"DefaultHydration";if(a&32)return"Default";if(a&64)return"TransitionHydration";if(a&8388480)return"Transition";if(a&125829120)return"Retry";if(a&134217728)return"SelectiveHydration";if(a&268435456)return"IdleHydration";if(a&536870912)return"Idle";if(a&1073741824)return"Offscreen"}var pb=128,qb=8388608; -function rb(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return a&8388480;case 8388608:case 16777216:case 33554432:case 67108864:return a&125829120;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912; -case 1073741824:return 1073741824;default:return a}}function sb(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=rb(h):(f&=g,0!==f&&(d=rb(f)))}else g=c&~e,0!==g?d=rb(g):0!==f&&(d=rb(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||32===e&&0!==(f&8388480)))return b;0!==(d&8)&&(d|=c&32);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-mb(b),e=1<<c,d|=a[c],b&=~e;return d} -function tb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:return b+5E3;case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} -function ub(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function vb(){var a=pb;pb<<=1;0===(pb&8388480)&&(pb=128);return a}function wb(){var a=qb;qb<<=1;0===(qb&125829120)&&(qb=8388608);return a}function xb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function yb(a,b){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} -function zb(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;var d=a.expirationTimes;for(a=a.hiddenUpdates;0<c;){var e=31-mb(c),f=1<<e;b[e]=0;d[e]=-1;var g=a[e];if(null!==g)for(a[e]=null,e=0;e<g.length;e++){var h=g[e];null!==h&&(h.lane&=-1073741825)}c&=~f}} -function Ab(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-mb(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}function Bb(a,b,c){if(Za)for(a=a.pendingUpdatersLaneMap;0<c;){var d=31-mb(c),e=1<<d;a[d].add(b);c&=~e}}function Cb(a,b){if(Za)for(var c=a.pendingUpdatersLaneMap,d=a.memoizedUpdaters;0<b;){var e=31-mb(b);a=1<<e;e=c[e];0<e.size&&(e.forEach(function(f){var g=f.alternate;null!==g&&d.has(g)||d.add(f)}),e.clear());b&=~a}}var G=0; -function Db(a,b){var c=G;try{return G=a,b()}finally{G=c}}function Eb(a){a&=-a;return 2<a?8<a?0!==(a&268435455)?32:536870912:8:2}var Fb=Object.prototype.hasOwnProperty,Gb=Math.random().toString(36).slice(2),Ib="__reactFiber$"+Gb,Jb="__reactProps$"+Gb,Kb="__reactContainer$"+Gb,Lb="__reactEvents$"+Gb,Mb="__reactListeners$"+Gb,Nb="__reactHandles$"+Gb,Ob="__reactResources$"+Gb,Pb="__reactMarker$"+Gb;function Qb(a){delete a[Ib];delete a[Jb];delete a[Lb];delete a[Mb];delete a[Nb]} -function Rb(a){var b=a[Ib];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Kb]||c[Ib]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Sb(a);null!==a;){if(c=a[Ib])return c;a=Sb(a)}return b}a=c;c=a.parentNode}return null}function Tb(a){if(a=a[Ib]||a[Kb]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function Ub(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(u(33));}function Vb(a){return a[Jb]||null} -function Wb(a){var b=a[Ob];b||(b=a[Ob]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function Xb(a){a[Pb]=!0}var Yb=new Set,Zb={};function $b(a,b){ac(a,b);ac(a+"Capture",b)}function ac(a,b){Zb[a]=b;for(a=0;a<b.length;a++)Yb.add(b[a])} -var bc=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),cc=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),dc= -{},ec={};function fc(a){if(Fb.call(ec,a))return!0;if(Fb.call(dc,a))return!1;if(cc.test(a))return ec[a]=!0;dc[a]=!0;return!1}function gc(a,b,c){if(fc(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} -function hc(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function ic(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var jc; -function kc(a){if(void 0===jc)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);jc=b&&b[1]||""}return"\n"+jc+a}var lc=!1; -function mc(a,b){if(!a||lc)return"";lc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& -d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,m=g.length-1;1<=h&&0<=m&&f[h]!==g[m];)m--;for(;1<=h&&0<=m;h--,m--)if(f[h]!==g[m]){if(1!==h||1!==m){do if(h--,m--,0>m||f[h]!==g[m]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=m)}break}}}finally{lc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?kc(a):""} -function nc(a){switch(a.tag){case 26:case 27:case 5:return kc(a.type);case 16:return kc("Lazy");case 13:return kc("Suspense");case 19:return kc("SuspenseList");case 0:case 2:case 15:return a=mc(a.type,!1),a;case 11:return a=mc(a.type.render,!1),a;case 1:return a=mc(a.type,!0),a;default:return""}} -function oc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case la:return"Fragment";case ka:return"Portal";case na:return"Profiler";case ma:return"StrictMode";case sa:return"Suspense";case ta:return"SuspenseList";case za:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case pa:return(a.displayName||"Context")+".Consumer";case oa:return(a._context.displayName||"Context")+".Provider";case ra:var b=a.render;a=a.displayName; -a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case ua:return b=a.displayName||null,null!==b?b:oc(a.type)||"Memo";case va:b=a._payload;a=a._init;try{return oc(a(b))}catch(c){break}case qa:return(a.displayName||a._globalName)+".Provider"}return null} -function pc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return oc(b);case 8:return b===ma?"StrictMode":"Mode"; -case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function qc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} -function rc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} -function sc(a){var b=rc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= -null;delete a[b]}}}}function tc(a){a._valueTracker||(a._valueTracker=sc(a))}function uc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=rc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function vc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var wc=/[\n"\\]/g; -function xc(a){return a.replace(wc,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} -function yc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+qc(b)}else a.value!==""+qc(b)&&(a.value=""+qc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?zc(a,g,qc(b)):null!=c?zc(a,g,qc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&a.checked!==!!e&&(a.checked=e);null!=h&&"function"!== -typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+qc(h):a.removeAttribute("name")} -function Ac(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+qc(c):"";b=null!=b?""+qc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;h||(a.checked=!!d);a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} -function zc(a,b,c){"number"===b&&vc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var Bc=Array.isArray; -function Cc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+qc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} -function Dc(a,b,c){if(null!=b&&(b=""+qc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+qc(c):""}function Ec(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(u(92));if(Bc(d)){if(1<d.length)throw Error(u(93));d=d[0]}c=d}null==c&&(c="");b=c}c=qc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)}var Fc; -function Gc(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{Fc=Fc||document.createElement("div");Fc.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=Fc.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}var Hc=Gc;"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction&&(Hc=function(a,b){return MSApp.execUnsafeLocalFunction(function(){return Gc(a,b)})});var Ic=Hc; -function Jc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Kc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); -function Lc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||Kc.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} -function Mc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(u(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&Lc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&Lc(a,f,b[f])} -function Nc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} -var Oc=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], +'use strict';var aa=require("next/dist/compiled/react"),ba=require("next/dist/compiled/scheduler"),ca={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function t(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} +var w=Object.assign,da=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea=da.ReactCurrentDispatcher,fa={pending:!1,data:null,method:null,action:null},ha=[],ia=-1;function ka(a){return{current:a}}function D(a){0>ia||(a.current=ha[ia],ha[ia]=null,ia--)}function E(a,b){ia++;ha[ia]=a.current;a.current=b} +var la=Symbol.for("react.element"),ma=Symbol.for("react.portal"),na=Symbol.for("react.fragment"),oa=Symbol.for("react.strict_mode"),pa=Symbol.for("react.profiler"),qa=Symbol.for("react.provider"),ra=Symbol.for("react.context"),sa=Symbol.for("react.server_context"),ta=Symbol.for("react.forward_ref"),ua=Symbol.for("react.suspense"),va=Symbol.for("react.suspense_list"),wa=Symbol.for("react.memo"),xa=Symbol.for("react.lazy"),ya=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode"); +var za=Symbol.for("react.offscreen"),Aa=Symbol.for("react.legacy_hidden"),Ba=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ca=Symbol.iterator;function Da(a){if(null===a||"object"!==typeof a)return null;a=Ca&&a[Ca]||a["@@iterator"];return"function"===typeof a?a:null}var Ea=ka(null),Fa=ka(null),Ga=ka(null),Ha=ka(null),Ia={$$typeof:ra,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}; +function Ja(a,b){E(Ga,b);E(Fa,a);E(Ea,null);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?(b=b.namespaceURI)?Ka(b):0:0;break;default:if(a=8===a?b.parentNode:b,b=a.tagName,a=a.namespaceURI)a=Ka(a),b=La(a,b);else switch(b){case "svg":b=1;break;case "math":b=2;break;default:b=0}}D(Ea);E(Ea,b)}function Ma(){D(Ea);D(Fa);D(Ga)}function Na(a){null!==a.memoizedState&&E(Ha,a);var b=Ea.current;var c=La(b,a.type);b!==c&&(E(Fa,a),E(Ea,c))} +function Oa(a){Fa.current===a&&(D(Ea),D(Fa));Ha.current===a&&(D(Ha),Ia._currentValue=null)}var Pa=ba.unstable_scheduleCallback,Qa=ba.unstable_cancelCallback,Ra=ba.unstable_shouldYield,Sa=ba.unstable_requestPaint,Ta=ba.unstable_now,Ua=ba.unstable_getCurrentPriorityLevel,Va=ba.unstable_ImmediatePriority,Wa=ba.unstable_UserBlockingPriority,Xa=ba.unstable_NormalPriority,Ya=ba.unstable_LowPriority,Za=ba.unstable_IdlePriority,$a=null,ab=null,F=null,bb="undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__; +function cb(a,b){if(ab&&"function"===typeof ab.onCommitFiberRoot)try{var c=128===(a.current.flags&128);switch(b){case 2:var d=Va;break;case 8:d=Wa;break;case 32:d=Xa;break;case 268435456:d=Za;break;default:d=Xa}ab.onCommitFiberRoot($a,a,d,c)}catch(e){}}function db(a){F=a}function eb(){for(var a=new Map,b=1,c=0;31>c;c++){var d=fb(b);a.set(b,d);b*=2}return a}function gb(){null!==F&&"function"===typeof F.markCommitStopped&&F.markCommitStopped()} +function hb(a){null!==F&&"function"===typeof F.markComponentRenderStarted&&F.markComponentRenderStarted(a)}function ib(){null!==F&&"function"===typeof F.markComponentRenderStopped&&F.markComponentRenderStopped()}function jb(a){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStarted&&F.markComponentLayoutEffectUnmountStarted(a)}function kb(){null!==F&&"function"===typeof F.markComponentLayoutEffectUnmountStopped&&F.markComponentLayoutEffectUnmountStopped()} +function lb(a){null!==F&&"function"===typeof F.markRenderStarted&&F.markRenderStarted(a)}function mb(){null!==F&&"function"===typeof F.markRenderStopped&&F.markRenderStopped()}function nb(a,b){null!==F&&"function"===typeof F.markStateUpdateScheduled&&F.markStateUpdateScheduled(a,b)}var pb=Math.clz32?Math.clz32:ob,qb=Math.log,rb=Math.LN2;function ob(a){a>>>=0;return 0===a?32:31-(qb(a)/rb|0)|0} +function fb(a){if(a&1)return"SyncHydrationLane";if(a&2)return"Sync";if(a&4)return"InputContinuousHydration";if(a&8)return"InputContinuous";if(a&16)return"DefaultHydration";if(a&32)return"Default";if(a&64)return"TransitionHydration";if(a&4194176)return"Transition";if(a&62914560)return"Retry";if(a&67108864)return"SelectiveHydration";if(a&134217728)return"IdleHydration";if(a&268435456)return"Idle";if(a&536870912)return"Offscreen";if(a&1073741824)return"Deferred"}var sb=128,tb=4194304; +function ub(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912; +case 1073741824:return 0;default:return a}}function vb(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes;a=a.pingedLanes;var f=c&134217727;0!==f?(c=f&~e,0!==c?d=ub(c):(a&=f,0!==a&&(d=ub(a)))):(c&=~e,0!==c?d=ub(c):0!==a&&(d=ub(a)));return 0===d?0:0!==b&&b!==d&&0===(b&e)&&(e=d&-d,a=b&-b,e>=a||32===e&&0!==(a&4194176))?b:d} +function wb(a,b){switch(a){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}} +function xb(a,b){if(a.errorRecoveryDisabledLanes&b)return 0;a=a.pendingLanes&-536870913;return 0!==a?a:a&536870912?536870912:0}function yb(){var a=tb;tb<<=1;0===(tb&62914560)&&(tb=4194304);return a}function zb(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function Ab(a,b){a.pendingLanes|=b;268435456!==b&&(a.suspendedLanes=0,a.pingedLanes=0)} +function Bb(a,b,c){var d=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.entangledLanes&=b;a.errorRecoveryDisabledLanes&=b;a.shellSuspendCounter=0;b=a.entanglements;for(var e=a.expirationTimes,f=a.hiddenUpdates;0<d;){var g=31-pb(d),h=1<<g;b[g]=0;e[g]=-1;var l=f[g];if(null!==l)for(f[g]=null,g=0;g<l.length;g++){var p=l[g];null!==p&&(p.lane&=-536870913)}d&=~h}0!==c&&Cb(a,c,0)} +function Cb(a,b,c){a.pendingLanes|=b;a.suspendedLanes&=~b;var d=31-pb(b);a.entangledLanes|=b;a.entanglements[d]=a.entanglements[d]|1073741824|c}function Db(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-pb(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}function Eb(a,b){a.pendingLanes|=2;for(a.entangledLanes|=2;b;){var c=1<<31-pb(b);a.entanglements[1]|=c;b&=~c}}function Fb(a,b,c){if(bb)for(a=a.pendingUpdatersLaneMap;0<c;){var d=31-pb(c),e=1<<d;a[d].add(b);c&=~e}} +function Gb(a,b){if(bb)for(var c=a.pendingUpdatersLaneMap,d=a.memoizedUpdaters;0<b;){var e=31-pb(b);a=1<<e;e=c[e];0<e.size&&(e.forEach(function(f){var g=f.alternate;null!==g&&d.has(g)||d.add(f)}),e.clear());b&=~a}}var G=0;function Hb(a,b){var c=G;try{return G=a,b()}finally{G=c}}function Ib(a){a&=-a;return 2<a?8<a?0!==(a&134217727)?32:268435456:8:2} +var Jb=Object.prototype.hasOwnProperty,Lb=Math.random().toString(36).slice(2),Mb="__reactFiber$"+Lb,Nb="__reactProps$"+Lb,Ob="__reactContainer$"+Lb,Pb="__reactEvents$"+Lb,Qb="__reactListeners$"+Lb,Rb="__reactHandles$"+Lb,Sb="__reactResources$"+Lb,Tb="__reactMarker$"+Lb;function Ub(a){delete a[Mb];delete a[Nb];delete a[Pb];delete a[Qb];delete a[Rb]} +function Vb(a){var b=a[Mb];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Ob]||c[Mb]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Wb(a);null!==a;){if(c=a[Mb])return c;a=Wb(a)}return b}a=c;c=a.parentNode}return null}function Xb(a){if(a=a[Mb]||a[Ob]){var b=a.tag;if(5===b||6===b||13===b||26===b||27===b||3===b)return a}return null}function Yb(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a.stateNode;throw Error(t(33));}function Zb(a){return a[Nb]||null} +function $b(a){var b=a[Sb];b||(b=a[Sb]={hoistableStyles:new Map,hoistableScripts:new Map});return b}function ac(a){a[Tb]=!0}var bc=new Set,cc={};function dc(a,b){ec(a,b);ec(a+"Capture",b)}function ec(a,b){cc[a]=b;for(a=0;a<b.length;a++)bc.add(b[a])} +var fc=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),gc=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),hc= +{},ic={};function jc(a){if(Jb.call(ic,a))return!0;if(Jb.call(hc,a))return!1;if(gc.test(a))return ic[a]=!0;hc[a]=!0;return!1}function kc(a,b,c){if(jc(b))if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":a.removeAttribute(b);return;case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d){a.removeAttribute(b);return}}a.setAttribute(b,""+c)}} +function lc(a,b,c){if(null===c)a.removeAttribute(b);else{switch(typeof c){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(b);return}a.setAttribute(b,""+c)}}function mc(a,b,c,d){if(null===d)a.removeAttribute(c);else{switch(typeof d){case "undefined":case "function":case "symbol":case "boolean":a.removeAttribute(c);return}a.setAttributeNS(b,c,""+d)}}var nc; +function oc(a){if(void 0===nc)try{throw Error();}catch(c){var b=c.stack.trim().match(/\n( *(at )?)/);nc=b&&b[1]||""}return"\n"+nc+a}var pc=!1; +function qc(a,b){if(!a||pc)return"";pc=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(q){var d=q}Reflect.construct(a,[],b)}else{try{b.call()}catch(q){d=q}a.call(b.prototype)}else{try{throw Error();}catch(q){d=q}var e=a();e&&"function"===typeof e.catch&&e.catch(function(){})}}catch(q){if(q&& +d&&"string"===typeof q.stack){for(var f=q.stack.split("\n"),g=d.stack.split("\n"),h=f.length-1,l=g.length-1;1<=h&&0<=l&&f[h]!==g[l];)l--;for(;1<=h&&0<=l;h--,l--)if(f[h]!==g[l]){if(1!==h||1!==l){do if(h--,l--,0>l||f[h]!==g[l]){var p="\n"+f[h].replace(" at new "," at ");a.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",a.displayName));return p}while(1<=h&&0<=l)}break}}}finally{pc=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?oc(a):""} +function rc(a){switch(a.tag){case 26:case 27:case 5:return oc(a.type);case 16:return oc("Lazy");case 13:return oc("Suspense");case 19:return oc("SuspenseList");case 0:case 2:case 15:return a=qc(a.type,!1),a;case 11:return a=qc(a.type.render,!1),a;case 1:return a=qc(a.type,!0),a;default:return""}} +function sc(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case na:return"Fragment";case ma:return"Portal";case pa:return"Profiler";case oa:return"StrictMode";case ua:return"Suspense";case va:return"SuspenseList";case Ba:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case ra:return(a.displayName||"Context")+".Consumer";case qa:return(a._context.displayName||"Context")+".Provider";case ta:var b=a.render;a=a.displayName; +a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case wa:return b=a.displayName||null,null!==b?b:sc(a.type)||"Memo";case xa:b=a._payload;a=a._init;try{return sc(a(b))}catch(c){}}return null} +function tc(a){var b=a.type;switch(a.tag){case 24:return"Cache";case 9:return(b.displayName||"Context")+".Consumer";case 10:return(b._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return b;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return sc(b);case 8:return b===oa?"StrictMode":"Mode"; +case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b}return null}function uc(a){switch(typeof a){case "boolean":case "number":case "string":case "undefined":return a;case "object":return a;default:return""}} +function vc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)} +function wc(a){var b=vc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(g){d=""+g;f.call(this,g)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(g){d=""+g},stopTracking:function(){a._valueTracker= +null;delete a[b]}}}}function xc(a){a._valueTracker||(a._valueTracker=wc(a))}function yc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=vc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function zc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}var Ac=/[\n"\\]/g; +function Bc(a){return a.replace(Ac,function(b){return"\\"+b.charCodeAt(0).toString(16)+" "})} +function Cc(a,b,c,d,e,f,g,h){a.name="";null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g?a.type=g:a.removeAttribute("type");if(null!=b)if("number"===g){if(0===b&&""===a.value||a.value!=b)a.value=""+uc(b)}else a.value!==""+uc(b)&&(a.value=""+uc(b));else"submit"!==g&&"reset"!==g||a.removeAttribute("value");null!=b?Dc(a,g,uc(b)):null!=c?Dc(a,g,uc(c)):null!=d&&a.removeAttribute("value");null==e&&null!=f&&(a.defaultChecked=!!f);null!=e&&(a.checked=e&&"function"!==typeof e&&"symbol"!== +typeof e);null!=h&&"function"!==typeof h&&"symbol"!==typeof h&&"boolean"!==typeof h?a.name=""+uc(h):a.removeAttribute("name")} +function Ec(a,b,c,d,e,f,g,h){null!=f&&"function"!==typeof f&&"symbol"!==typeof f&&"boolean"!==typeof f&&(a.type=f);if(null!=b||null!=c){if(!("submit"!==f&&"reset"!==f||void 0!==b&&null!==b))return;c=null!=c?""+uc(c):"";b=null!=b?""+uc(b):c;h||b===a.value||(a.value=b);a.defaultValue=b}d=null!=d?d:e;d="function"!==typeof d&&"symbol"!==typeof d&&!!d;a.checked=h?a.checked:!!d;a.defaultChecked=!!d;null!=g&&"function"!==typeof g&&"symbol"!==typeof g&&"boolean"!==typeof g&&(a.name=g)} +function Dc(a,b,c){"number"===b&&zc(a.ownerDocument)===a||a.defaultValue===""+c||(a.defaultValue=""+c)}var Fc=Array.isArray; +function Gc(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+uc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}} +function Hc(a,b,c){if(null!=b&&(b=""+uc(b),b!==a.value&&(a.value=b),null==c)){a.defaultValue!==b&&(a.defaultValue=b);return}a.defaultValue=null!=c?""+uc(c):""}function Ic(a,b,c,d){if(null==b){if(null!=d){if(null!=c)throw Error(t(92));if(Fc(d)){if(1<d.length)throw Error(t(93));d=d[0]}c=d}null==c&&(c="");b=c}c=uc(b);a.defaultValue=c;d=a.textContent;d===c&&""!==d&&null!==d&&(a.value=d)}var Jc; +function Kc(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{Jc=Jc||document.createElement("div");Jc.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=Jc.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}var Lc=Kc;"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction&&(Lc=function(a,b){return MSApp.execUnsafeLocalFunction(function(){return Kc(a,b)})});var Mc=Lc; +function Nc(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Oc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")); +function Pc(a,b,c){var d=0===b.indexOf("--");null==c||"boolean"===typeof c||""===c?d?a.setProperty(b,""):"float"===b?a.cssFloat="":a[b]="":d?a.setProperty(b,c):"number"!==typeof c||0===c||Oc.has(b)?"float"===b?a.cssFloat=c:a[b]=(""+c).trim():a[b]=c+"px"} +function Qc(a,b,c){if(null!=b&&"object"!==typeof b)throw Error(t(62));a=a.style;if(null!=c){for(var d in c)!c.hasOwnProperty(d)||null!=b&&b.hasOwnProperty(d)||(0===d.indexOf("--")?a.setProperty(d,""):"float"===d?a.cssFloat="":a[d]="");for(var e in b)d=b[e],b.hasOwnProperty(e)&&c[e]!==d&&Pc(a,e,d)}else for(var f in b)b.hasOwnProperty(f)&&Pc(a,f,b[f])} +function Rc(a){if(-1===a.indexOf("-"))return!1;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}} +var Sc=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], -["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Pc=null;function Qc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Rc=null,Sc=null; -function Tc(a){var b=Tb(a);if(b&&(a=b.stateNode)){var c=Vb(a);a:switch(a=b.stateNode,b.type){case "input":yc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+xc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Vb(d);if(!e)throw Error(u(90));yc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, -e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&uc(d)}break a;case "textarea":Dc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&Cc(a,!!c.multiple,b,!1)}}}function Uc(a){Rc?Sc?Sc.push(a):Sc=[a]:Rc=a}function Vc(){if(Rc){var a=Rc,b=Sc;Sc=Rc=null;Tc(a);if(b)for(a=0;a<b.length;a++)Tc(b[a])}}function Wc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} -function Xc(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Yc(a){if(Wc(a)!==a)throw Error(u(188));} -function Zc(a){var b=a.alternate;if(!b){b=Wc(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Yc(e),a;if(f===d)return Yc(e),b;f=f.sibling}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== -c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function $c(a){a=Zc(a);return null!==a?ad(a):null}function ad(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=ad(a);if(null!==b)return b;a=a.sibling}return null}var bd={},cd=ia(bd),dd=ia(!1),ed=bd; -function fd(a,b){var c=a.type.contextTypes;if(!c)return bd;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function gd(a){a=a.childContextTypes;return null!==a&&void 0!==a}function hd(){D(dd);D(cd)} -function id(a,b,c){if(cd.current!==bd)throw Error(u(168));E(cd,b);E(dd,c)}function jd(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(u(108,pc(a)||"Unknown",e));return w({},c,d)}function kd(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||bd;ed=cd.current;E(cd,a);E(dd,dd.current);return!0} -function ld(a,b,c){var d=a.stateNode;if(!d)throw Error(u(169));c?(a=jd(a,b,ed),d.__reactInternalMemoizedMergedChildContext=a,D(dd),D(cd),E(cd,a)):D(dd);E(dd,c)}function md(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var nd="function"===typeof Object.is?Object.is:md,od=[],pd=0,qd=null,rd=0,sd=[],td=0,ud=null,vd=1,wd="";function xd(a,b){od[pd++]=rd;od[pd++]=qd;qd=a;rd=b} -function yd(a,b,c){sd[td++]=vd;sd[td++]=wd;sd[td++]=ud;ud=a;var d=vd;a=wd;var e=32-mb(d)-1;d&=~(1<<e);c+=1;var f=32-mb(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;vd=1<<32-mb(b)+e|c<<e|d;wd=f+a}else vd=1<<f|c<<e|d,wd=a}function zd(a){null!==a.return&&(xd(a,1),yd(a,1,0))}function Ad(a){for(;a===qd;)qd=od[--pd],od[pd]=null,rd=od[--pd],od[pd]=null;for(;a===ud;)ud=sd[--td],sd[td]=null,wd=sd[--td],sd[td]=null,vd=sd[--td],sd[td]=null}var I=null,L=null,M=!1,Bd=null,Cd=!1; -function Dd(a,b){var c=Ed(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function Fd(a,b){b.flags=b.flags&-4097|2}function Gd(a,b){b=Hd(b,a.type,a.pendingProps,Cd);return null!==b?(a.stateNode=b,I=a,L=Id(b.firstChild),Cd=!1,!0):!1}function Jd(a,b){b=Kd(b,a.pendingProps,Cd);return null!==b?(a.stateNode=b,I=a,L=null,!0):!1} -function Ld(a,b){a:{var c=b;for(b=Cd;8!==c.nodeType;){if(!b){b=null;break a}c=Id(c.nextSibling);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==ud?{id:vd,overflow:wd}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:1073741824},c=Ed(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,I=a,L=null,!0):!1}function Md(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Nd(){throw Error(u(418));} -function Od(a){for(I=a.return;I;)switch(I.tag){case 3:case 27:Cd=!0;return;case 5:case 13:Cd=!1;return;default:I=I.return}} -function Pd(a){if(a!==I)return!1;if(!M)return Od(a),M=!0,!1;var b=!1;3===a.tag||27===a.tag||5===a.tag&&Qd(a.type,a.memoizedProps)||(b=!0);if(b&&(b=L))if(Md(a))Rd(),Nd();else for(;b;)Dd(a,b),b=Id(b.nextSibling);Od(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(u(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if("/$"===c){if(0===b){L=Id(a.nextSibling);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++}a=a.nextSibling}L=null}}else L=I?Id(a.stateNode.nextSibling): -null;return!0}function Rd(){for(var a=L;a;)a=Id(a.nextSibling)}function Sd(){L=I=null;M=!1}function Td(a){null===Bd?Bd=[a]:Bd.push(a)}var Ud=[],Vd=0,Wd=0;function Xd(){for(var a=Vd,b=Wd=Vd=0;b<a;){var c=Ud[b];Ud[b++]=null;var d=Ud[b];Ud[b++]=null;var e=Ud[b];Ud[b++]=null;var f=Ud[b];Ud[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&Yd(c,e,f)}} -function Zd(a,b,c,d){Ud[Vd++]=a;Ud[Vd++]=b;Ud[Vd++]=c;Ud[Vd++]=d;Wd|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function $d(a,b){Zd(a,null,null,b);return ae(a)} -function Yd(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-mb(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|1073741824)}function ae(a){if(50<be)throw be=0,ce=null,Error(u(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} -var de=!1;function ee(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fe(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function ge(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} -function he(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(N&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=ae(a);Yd(a,null,c);return b}Zd(a,d,b,c);return ae(a)}function ie(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&8388480))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Ab(a,c)}} -function je(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} -function ke(a,b,c,d){var e=a.updateQueue;de=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var m=h,p=m.next;m.next=null;null===g?f=p:g.next=p;g=m;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=m))}if(null!==f){var x=e.baseState;g=0;q=p=m=null;h=f;do{var r=h.lane&-1073741825,t=r!==h.lane;if(t?(O&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, -callback:null,next:null});a:{var z=a,C=h;r=b;var H=c;switch(C.tag){case 1:z=C.payload;if("function"===typeof z){x=z.call(H,x,r);break a}x=z;break a;case 3:z.flags=z.flags&-65537|128;case 0:z=C.payload;r="function"===typeof z?z.call(H,x,r):z;if(null===r||void 0===r)break a;x=w({},x,r);break a;case 2:de=!0}}r=h.callback;null!==r&&(a.flags|=64,t&&(a.flags|=8192),t=e.callbacks,null===t?e.callbacks=[r]:t.push(r))}else t={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=t, -m=x):q=q.next=t,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else t=h,h=t.next,t.next=null,e.lastBaseUpdate=t,e.shared.pending=null}while(1);null===q&&(m=x);e.baseState=m;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);le|=g;a.lanes=g;a.memoizedState=x}}function me(a,b){if("function"!==typeof a)throw Error(u(191,a));a.call(b)}function ne(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)me(c[a],b)} -function oe(a,b){if(nd(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!Fb.call(b,e)||!nd(a[e],b[e]))return!1}return!0}var pe=Error(u(460)),qe=Error(u(474)),re={then:function(){}};function se(a){a=a.status;return"fulfilled"===a||"rejected"===a}function te(){} -function ue(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(te,te),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===pe)throw Error(u(483));throw a;default:if("string"===typeof b.status)b.then(te,te);else{a=P;if(null!==a&&100<a.shellSuspendCounter)throw Error(u(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; -case "rejected":a=b.reason;if(a===pe)throw Error(u(483));throw a;}}ve=b;throw pe;}}var ve=null;function we(){if(null===ve)throw Error(u(459));var a=ve;ve=null;return a}var xe=null,ye=0;function ze(a){var b=ye;ye+=1;null===xe&&(xe=[]);return ue(xe,a,b)} -function Ae(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(u(309));var d=c.stateNode}if(!d)throw Error(u(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(u(284));if(!c._owner)throw Error(u(290,a));}return a} -function Be(a,b){a=Object.prototype.toString.call(b);throw Error(u(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function Ce(a){var b=a._init;return b(a._payload)} -function De(a){function b(l,k){if(a){var n=l.deletions;null===n?(l.deletions=[k],l.flags|=16):n.push(k)}}function c(l,k){if(!a)return null;for(;null!==k;)b(l,k),k=k.sibling;return null}function d(l,k){for(l=new Map;null!==k;)null!==k.key?l.set(k.key,k):l.set(k.index,k),k=k.sibling;return l}function e(l,k){l=Ee(l,k);l.index=0;l.sibling=null;return l}function f(l,k,n){l.index=n;if(!a)return l.flags|=1048576,k;n=l.alternate;if(null!==n)return n=n.index,n<k?(l.flags|=33554434,k):n;l.flags|=33554434;return k} -function g(l){a&&null===l.alternate&&(l.flags|=33554434);return l}function h(l,k,n,v){if(null===k||6!==k.tag)return k=Fe(n,l.mode,v),k.return=l,k;k=e(k,n);k.return=l;return k}function m(l,k,n,v){var y=n.type;if(y===la)return q(l,k,n.props.children,v,n.key);if(null!==k&&(k.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===va&&Ce(y)===k.type))return v=e(k,n.props),v.ref=Ae(l,k,n),v.return=l,v;v=Ge(n.type,n.key,n.props,null,null,l.mode,v);v.ref=Ae(l,k,n);v.return=l;return v}function p(l,k, -n,v){if(null===k||4!==k.tag||k.stateNode.containerInfo!==n.containerInfo||k.stateNode.implementation!==n.implementation)return k=He(n,l.mode,v),k.return=l,k;k=e(k,n.children||[]);k.return=l;return k}function q(l,k,n,v,y){if(null===k||7!==k.tag)return k=Ie(n,l.mode,v,y),k.return=l,k;k=e(k,n);k.return=l;return k}function x(l,k,n){if("string"===typeof k&&""!==k||"number"===typeof k)return k=Fe(""+k,l.mode,n),k.return=l,k;if("object"===typeof k&&null!==k){switch(k.$$typeof){case ja:return n=Ge(k.type, -k.key,k.props,null,null,l.mode,n),n.ref=Ae(l,null,k),n.return=l,n;case ka:return k=He(k,l.mode,n),k.return=l,k;case va:var v=k._init;return x(l,v(k._payload),n)}if(Bc(k)||Ca(k))return k=Ie(k,l.mode,n,null),k.return=l,k;if("function"===typeof k.then)return x(l,ze(k),n);if(k.$$typeof===pa||k.$$typeof===qa)return x(l,Je(l,k,n),n);Be(l,k)}return null}function r(l,k,n,v){var y=null!==k?k.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==y?null:h(l,k,""+n,v);if("object"===typeof n&& -null!==n){switch(n.$$typeof){case ja:return n.key===y?m(l,k,n,v):null;case ka:return n.key===y?p(l,k,n,v):null;case va:return y=n._init,r(l,k,y(n._payload),v)}if(Bc(n)||Ca(n))return null!==y?null:q(l,k,n,v,null);if("function"===typeof n.then)return r(l,k,ze(n),v);if(n.$$typeof===pa||n.$$typeof===qa)return r(l,k,Je(l,n,v),v);Be(l,n)}return null}function t(l,k,n,v,y){if("string"===typeof v&&""!==v||"number"===typeof v)return l=l.get(n)||null,h(k,l,""+v,y);if("object"===typeof v&&null!==v){switch(v.$$typeof){case ja:return l= -l.get(null===v.key?n:v.key)||null,m(k,l,v,y);case ka:return l=l.get(null===v.key?n:v.key)||null,p(k,l,v,y);case va:var B=v._init;return t(l,k,n,B(v._payload),y)}if(Bc(v)||Ca(v))return l=l.get(n)||null,q(k,l,v,y,null);if("function"===typeof v.then)return t(l,k,n,ze(v),y);if(v.$$typeof===pa||v.$$typeof===qa)return t(l,k,n,Je(k,v,y),y);Be(k,v)}return null}function z(l,k,n,v){for(var y=null,B=null,A=k,J=k=0,ea=null;null!==A&&J<n.length;J++){A.index>J?(ea=A,A=null):ea=A.sibling;var K=r(l,A,n[J],v);if(null=== -K){null===A&&(A=ea);break}a&&A&&null===K.alternate&&b(l,A);k=f(K,k,J);null===B?y=K:B.sibling=K;B=K;A=ea}if(J===n.length)return c(l,A),M&&xd(l,J),y;if(null===A){for(;J<n.length;J++)A=x(l,n[J],v),null!==A&&(k=f(A,k,J),null===B?y=A:B.sibling=A,B=A);M&&xd(l,J);return y}for(A=d(l,A);J<n.length;J++)ea=t(A,l,J,n[J],v),null!==ea&&(a&&null!==ea.alternate&&A.delete(null===ea.key?J:ea.key),k=f(ea,k,J),null===B?y=ea:B.sibling=ea,B=ea);a&&A.forEach(function(Hb){return b(l,Hb)});M&&xd(l,J);return y}function C(l, -k,n,v){var y=Ca(n);if("function"!==typeof y)throw Error(u(150));n=y.call(n);if(null==n)throw Error(u(151));for(var B=y=null,A=k,J=k=0,ea=null,K=n.next();null!==A&&!K.done;J++,K=n.next()){A.index>J?(ea=A,A=null):ea=A.sibling;var Hb=r(l,A,K.value,v);if(null===Hb){null===A&&(A=ea);break}a&&A&&null===Hb.alternate&&b(l,A);k=f(Hb,k,J);null===B?y=Hb:B.sibling=Hb;B=Hb;A=ea}if(K.done)return c(l,A),M&&xd(l,J),y;if(null===A){for(;!K.done;J++,K=n.next())K=x(l,K.value,v),null!==K&&(k=f(K,k,J),null===B?y=K:B.sibling= -K,B=K);M&&xd(l,J);return y}for(A=d(l,A);!K.done;J++,K=n.next())K=t(A,l,J,K.value,v),null!==K&&(a&&null!==K.alternate&&A.delete(null===K.key?J:K.key),k=f(K,k,J),null===B?y=K:B.sibling=K,B=K);a&&A.forEach(function(Rm){return b(l,Rm)});M&&xd(l,J);return y}function H(l,k,n,v){"object"===typeof n&&null!==n&&n.type===la&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ja:a:{for(var y=n.key,B=k;null!==B;){if(B.key===y){y=n.type;if(y===la){if(7===B.tag){c(l,B.sibling); -k=e(B,n.props.children);k.return=l;l=k;break a}}else if(B.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===va&&Ce(y)===B.type){c(l,B.sibling);k=e(B,n.props);k.ref=Ae(l,B,n);k.return=l;l=k;break a}c(l,B);break}else b(l,B);B=B.sibling}n.type===la?(k=Ie(n.props.children,l.mode,v,n.key),k.return=l,l=k):(v=Ge(n.type,n.key,n.props,null,null,l.mode,v),v.ref=Ae(l,k,n),v.return=l,l=v)}return g(l);case ka:a:{for(B=n.key;null!==k;){if(k.key===B)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& -k.stateNode.implementation===n.implementation){c(l,k.sibling);k=e(k,n.children||[]);k.return=l;l=k;break a}else{c(l,k);break}else b(l,k);k=k.sibling}k=He(n,l.mode,v);k.return=l;l=k}return g(l);case va:return B=n._init,R(l,k,B(n._payload),v)}if(Bc(n))return z(l,k,n,v);if(Ca(n))return C(l,k,n,v);if("function"===typeof n.then)return H(l,k,ze(n),v);if(n.$$typeof===pa||n.$$typeof===qa)return H(l,k,Je(l,n,v),v);Be(l,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(l, -k.sibling),k=e(k,n),k.return=l,l=k):(c(l,k),k=Fe(n,l.mode,v),k.return=l,l=k),g(l)):c(l,k)}function R(l,k,n,v){ye=0;l=H(l,k,n,v);xe=null;return l}return R}var Ke=De(!0),Le=De(!1),Me=ia(null),Ne=ia(0);function Oe(a,b){a=Pe;E(Ne,a);E(Me,b);Pe=a|b.baseLanes}function Qe(){E(Ne,Pe);E(Me,Me.current)}function Re(){Pe=Ne.current;D(Me);D(Ne)}var Se=ia(null),Te=null;function Ue(a){var b=a.alternate;E(Ve,Ve.current&1);E(Se,a);null===Te&&(null===b||null!==Me.current?Te=a:null!==b.memoizedState&&(Te=a))} -function We(a){if(22===a.tag){if(E(Ve,Ve.current),E(Se,a),null===Te){var b=a.alternate;null!==b&&null!==b.memoizedState&&(Te=a)}}else Xe(a)}function Xe(){E(Ve,Ve.current);E(Se,Se.current)}function Ye(a){D(Se);Te===a&&(Te=null);D(Ve)}var Ve=ia(0); -function Ze(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var $e=null,af=null,bf=!1,cf=!1,df=!1,ef=0; -function ff(a){a!==af&&null===a.next&&(null===af?$e=af=a:af=af.next=a);cf=!0;bf||(bf=!0,gf(hf))} -function jf(a){if(!df&&cf){var b=null;df=!0;do{var c=!1;for(var d=$e;null!==d;){if(!a||0===d.tag){var e=O,f=sb(d,d===P?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(N&6))throw Error(u(327));if(!kf()){lf=mf;mf=!1;var g=nf(e,f);if(0!==e.tag&&2===g){var h=f,m=ub(e,h);0!==m&&(f=m,g=of(e,h,m))}if(1===g)throw h=pf,qf(e,0),rf(e,f),ff(e),h;6===g?rf(e,f):(e.finishedWork=e.current.alternate,e.finishedLanes=f,sf(e,tf,uf))}ff(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);df=!1;if(null!==b){if(1<b.length){if("function"=== -typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)gf(vf.bind(null,b[a]))}throw b[0];}}}function vf(a){throw a;}function hf(){cf=bf=!1;for(var a=Qa(),b=null,c=$e;null!==c;){var d=c.next;0!==ef&&window.event&&"popstate"===window.event.type&&Ab(c,ef|2);var e=wf(c,a);0===e?(c.next=null,null===b?$e=d:b.next=d,null===d&&(af=b)):(b=c,0!==(e&3)&&(cf=!0));c=d}ef=0;jf(!1)} -function wf(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-125829121;0<f;){var g=31-mb(f),h=1<<g,m=e[g];if(-1===m){if(0===(h&c)||0!==(h&d))e[g]=tb(h,b)}else m<=b&&(a.expiredLanes|=h);f&=~h}b=P;c=O;c=sb(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===Q||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Na(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Na(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b=== -a.callbackPriority)return b;null!==d&&Na(d);switch(Eb(c)){case 2:c=Sa;break;case 8:c=Ta;break;case 32:c=Ua;break;case 536870912:c=Wa;break;default:c=Ua}d=xf.bind(null,a);c=Ma(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function gf(a){yf(function(){0!==(N&6)?Ma(Sa,a):a()})}var zf=0,Af=da.ReactCurrentDispatcher,Bf=da.ReactCurrentBatchConfig,Cf=0,S=null,T=null,U=null,Df=!1,Ef=!1,Ff=!1,Gf=0,Hf=0,If=null,Jf=0;function Kf(){throw Error(u(321));} -function Lf(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!nd(a[c],b[c]))return!1;return!0}function Mf(a,b,c,d,e,f){Cf=f;S=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Af.current=null===a||null===a.memoizedState?Nf:Of;Ff=!1;a=c(d,e);Ff=!1;Ef&&(a=Pf(b,c,d,e));Qf();return a}function Qf(){Af.current=Rf;var a=null!==T&&null!==T.next;Cf=0;U=T=S=null;Df=!1;Hf=0;If=null;if(a)throw Error(u(300));} -function Pf(a,b,c,d){S=a;var e=0;do{Ef&&(If=null);Hf=0;Ef=!1;if(25<=e)throw Error(u(301));e+=1;U=T=null;a.updateQueue=null;Af.current=Sf;var f=b(c,d)}while(Ef);return f}function Tf(){var a=0!==Gf;Gf=0;return a}function Uf(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function Vf(a){if(Df){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}Df=!1}Cf=0;U=T=S=null;Ef=!1;Hf=Gf=0;If=null} -function Wf(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===U?S.memoizedState=U=a:U=U.next=a;return U} -function Xf(){if(null===T){var a=S.alternate;a=null!==a?a.memoizedState:null}else a=T.next;var b=null===U?S.memoizedState:U.next;if(null!==b)U=b,T=a;else{if(null===a){if(null===S.alternate)throw Error(u(467));throw Error(u(310));}T=a;a={memoizedState:T.memoizedState,baseState:T.baseState,baseQueue:T.baseQueue,queue:T.queue,next:null};null===U?S.memoizedState=U=a:U=U.next=a}return U}var Yf;Yf=function(){return{lastEffect:null,events:null,stores:null}}; -function Zf(a){var b=Hf;Hf+=1;null===If&&(If=[]);a=ue(If,a,b);null===S.alternate&&(null===U?null===S.memoizedState:null===U.next)&&(Af.current=Nf);return a}function $f(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return Zf(a);if(a.$$typeof===pa||a.$$typeof===qa)return ag(a)}throw Error(u(438,String(a)));}function bg(a,b){return"function"===typeof b?b(a):b} -function cg(a){var b=Xf(),c=T,d=b.queue;if(null===d)throw Error(u(311));d.lastRenderedReducer=a;var e=b.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}c.baseQueue=e=f;d.pending=null}if(null!==e){c=e.next;f=b.baseState;var h=g=null,m=null,p=c;do{var q=p.lane&-1073741825;if(q!==p.lane?(O&q)===q:(Cf&q)===q)null!==m&&(m=m.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),q=p.action,Ff&&a(f,q),f=p.hasEagerState? -p.eagerState:a(f,q);else{var x={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===m?(h=m=x,g=f):m=m.next=x;S.lanes|=q;le|=q}p=p.next}while(null!==p&&p!==c);null===m?g=f:m.next=h;nd(f,b.memoizedState)||(dg=!0);b.memoizedState=f;b.baseState=g;b.baseQueue=m;d.lastRenderedState=f}null===e&&(d.lanes=0);return[b.memoizedState,d.dispatch]} -function eg(a){var b=Xf(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);nd(f,b.memoizedState)||(dg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} -function fg(a,b,c){var d=S,e=Xf(),f=M;if(f){if(void 0===c)throw Error(u(407));c=c()}else c=b();var g=!nd((T||e).memoizedState,c);g&&(e.memoizedState=c,dg=!0);e=e.queue;gg(hg.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==U&&U.memoizedState.tag&1){d.flags|=2048;ig(9,jg.bind(null,d,e,c,b),{destroy:void 0},null);if(null===P)throw Error(u(349));f||0!==(Cf&60)||kg(d,b,c)}return c} -function kg(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=S.updateQueue;null===b?(b=Yf(),S.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function jg(a,b,c,d){b.value=c;b.getSnapshot=d;lg(b)&&mg(a)}function hg(a,b,c){return c(function(){lg(b)&&mg(a)})}function lg(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!nd(a,c)}catch(d){return!0}}function mg(a){var b=$d(a,2);null!==b&&ng(b,a,2)} -function og(a){var b=Wf();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bg,lastRenderedState:a};return b}function ig(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=S.updateQueue;null===b?(b=Yf(),S.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function pg(){return Xf().memoizedState} -function qg(a,b,c,d){var e=Wf();S.flags|=a;e.memoizedState=ig(1|b,c,{destroy:void 0},void 0===d?null:d)}function rg(a,b,c,d){var e=Xf();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==T&&null!==d&&Lf(d,T.memoizedState.deps)?e.memoizedState=ig(b,c,f,d):(S.flags|=a,e.memoizedState=ig(1|b,c,f,d))}function sg(a,b){qg(8390656,8,a,b)}function gg(a,b){rg(2048,8,a,b)}function tg(a,b){return rg(4,2,a,b)}function ug(a,b){return rg(4,4,a,b)} -function vg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function wg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;rg(4,4,vg.bind(null,b,a),c)}function xg(){}function yg(a,b){var c=Xf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Lf(b,d[1]))return d[0];c.memoizedState=[a,b];return a} -function zg(a,b){var c=Xf();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&Lf(b,d[1]))return d[0];Ff&&a();a=a();c.memoizedState=[a,b];return a}function Ag(a,b,c){if(0===(Cf&42))return a.baseState&&(a.baseState=!1,dg=!0),a.memoizedState=c;nd(c,b)||(c=vb(),S.lanes|=c,le|=c,a.baseState=!0);return b}function Bg(a,b,c,d,e){var f=G;G=0!==f&&8>f?f:8;var g=Bf.transition;Bf.transition=null;Cg(a,b,c);Bf.transition={};try{Cg(a,b,d),e()}catch(h){throw h;}finally{G=f,Bf.transition=g}} -function Dg(){return Xf().memoizedState}function Eg(){return Xf().memoizedState}function Fg(a){for(var b=a.return;null!==b;){switch(b.tag){case 24:case 3:var c=Gg(b);a=ge(c);var d=he(b,a,c);null!==d&&(ng(d,b,c),ie(d,b,c));b={cache:Hg()};a.payload=b;return}b=b.return}}function Ig(a,b,c){var d=Gg(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};Jg(a)?Kg(b,c):(Zd(a,b,c,d),c=ae(a),null!==c&&(ng(c,a,d),Lg(c,b,d)));kb(a,d)} -function Cg(a,b,c){var d=Gg(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Jg(a))Kg(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(nd(h,g)){Zd(a,b,e,0);null===P&&Xd();return}}catch(m){}finally{}Zd(a,b,e,d);c=ae(a);null!==c&&(ng(c,a,d),Lg(c,b,d))}kb(a,d)}function Jg(a){var b=a.alternate;return a===S||null!==b&&b===S} -function Kg(a,b){Ef=Df=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Lg(a,b,c){if(0!==(c&8388480)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Ab(a,c)}}var Rf={readContext:ag,use:$f,useCallback:Kf,useContext:Kf,useEffect:Kf,useImperativeHandle:Kf,useInsertionEffect:Kf,useLayoutEffect:Kf,useMemo:Kf,useReducer:Kf,useRef:Kf,useState:Kf,useDebugValue:Kf,useDeferredValue:Kf,useTransition:Kf,useSyncExternalStore:Kf,useId:Kf};Rf.useCacheRefresh=Kf; -var Nf={readContext:ag,use:$f,useCallback:function(a,b){Wf().memoizedState=[a,void 0===b?null:b];return a},useContext:ag,useEffect:sg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;qg(4194308,4,vg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return qg(4194308,4,a,b)},useInsertionEffect:function(a,b){qg(4,2,a,b)},useMemo:function(a,b){var c=Wf();b=void 0===b?null:b;Ff&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Wf();b=void 0!==c?c(b): -b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Ig.bind(null,S,a);return[d.memoizedState,a]},useRef:function(a){var b=Wf();a={current:a};return b.memoizedState=a},useState:function(a){a=og(a);var b=a.queue,c=Cg.bind(null,S,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:xg,useDeferredValue:function(a){return Wf().memoizedState=a},useTransition:function(){var a=og(!1);a=Bg.bind(null,S,a.queue,!0,!1);Wf().memoizedState= -a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=S,e=Wf();if(M){if(void 0===c)throw Error(u(407));c=c()}else{c=b();if(null===P)throw Error(u(349));0!==(Cf&60)||kg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;sg(hg.bind(null,d,f,a),[a]);d.flags|=2048;ig(9,jg.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=Wf(),b=P.identifierPrefix;if(M){var c=wd;var d=vd;c=(d&~(1<<32-mb(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Gf++;0<c&&(b+="H"+c.toString(32)); -b+=":"}else c=Jf++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return Wf().memoizedState=Fg.bind(null,S)}},Of={readContext:ag,use:$f,useCallback:yg,useContext:ag,useEffect:gg,useImperativeHandle:wg,useInsertionEffect:tg,useLayoutEffect:ug,useMemo:zg,useReducer:cg,useRef:pg,useState:function(){return cg(bg)},useDebugValue:xg,useDeferredValue:function(a){var b=Xf();return Ag(b,T.memoizedState,a)},useTransition:function(){var a=cg(bg)[0],b=Xf().memoizedState;return["boolean"=== -typeof a?a:Zf(a),b]},useSyncExternalStore:fg,useId:Dg};Of.useCacheRefresh=Eg; -var Sf={readContext:ag,use:$f,useCallback:yg,useContext:ag,useEffect:gg,useImperativeHandle:wg,useInsertionEffect:tg,useLayoutEffect:ug,useMemo:zg,useReducer:eg,useRef:pg,useState:function(){return eg(bg)},useDebugValue:xg,useDeferredValue:function(a){var b=Xf();return null===T?b.memoizedState=a:Ag(b,T.memoizedState,a)},useTransition:function(){var a=eg(bg)[0],b=Xf().memoizedState;return["boolean"===typeof a?a:Zf(a),b]},useSyncExternalStore:fg,useId:Dg};Sf.useCacheRefresh=Eg; -var Mg=aa.unstable_now,Ng=0,Og=-1,Pg=-1,Qg=-1,lf=!1,mf=!1;function Rg(a){Pg=Mg();0>a.actualStartTime&&(a.actualStartTime=Mg())}function Sg(a,b){if(0<=Pg){var c=Mg()-Pg;a.actualDuration+=c;b&&(a.selfBaseDuration=c);Pg=-1}}function Tg(a){if(0<=Og){var b=Mg()-Og;Og=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a.stateNode.effectDuration+=b;return;case 12:a.stateNode.effectDuration+=b;return}a=a.return}}} -function Ug(a){if(0<=Qg){var b=Mg()-Qg;Qg=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return;case 12:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return}a=a.return}}}function Vg(){Og=Mg()}function Wg(a){for(var b=a.child;b;)a.actualDuration+=b.actualDuration,b=b.sibling}function Xg(a,b){if(a&&a.defaultProps){b=w({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} -function Yg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:w({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} -var Zg={isMounted:function(a){return(a=a._reactInternals)?Wc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=Gg(a),e=ge(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=he(a,e,d);null!==b&&(ng(b,a,d),ie(b,a,d));kb(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=Gg(a),e=ge(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=he(a,e,d);null!==b&&(ng(b,a,d),ie(b,a,d));kb(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=Gg(a),d=ge(c); -d.tag=2;void 0!==b&&null!==b&&(d.callback=b);b=he(a,d,c);null!==b&&(ng(b,a,c),ie(b,a,c));null!==F&&"function"===typeof F.markForceUpdateScheduled&&F.markForceUpdateScheduled(a,c)}};function $g(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!oe(c,d)||!oe(e,f):!0} -function ah(a,b,c){var d=!1,e=bd;var f=b.contextType;"object"===typeof f&&null!==f?f=ag(f):(e=gd(b)?ed:cd.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?fd(a,e):bd);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Zg;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} -function bh(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Zg.enqueueReplaceState(b,b.state,null)} -function ch(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};ee(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=ag(f):(f=gd(b)?ed:cd.current,e.context=fd(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(Yg(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, -"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Zg.enqueueReplaceState(e,e.state,null),ke(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function dh(a,b){try{var c="",d=b;do c+=nc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} -function eh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function fh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function gh(a,b,c){c=ge(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){hh||(hh=!0,ih=d);fh(a,b)};return c} -function jh(a,b,c){c=ge(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){fh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){fh(a,b);"function"!==typeof d&&(null===kh?kh=new Set([this]):kh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} -function lh(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=ge(2),b.tag=2,he(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} -function mh(a,b,c,d,e){c.flags|=32768;Za&&nh(a,e);if(null!==d&&"object"===typeof d&&"function"===typeof d.then){var f=c.tag;0!==(c.mode&1)||0!==f&&11!==f&&15!==f||((f=c.alternate)?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null));f=Se.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===Te?oh():null===f.alternate&&0===ph&&(ph=3));f.flags&=-257;lh(f,b,c,a,e);d===re?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue= -new Set([d]):b.add(d),f.mode&1&&qh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===re?f.flags|=16384:(b=f.updateQueue,null===b?(b={transitions:null,markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(c=b.retryQueue,null===c?b.retryQueue=new Set([d]):c.add(d)),qh(a,d,e));return}}throw Error(u(435,f.tag));}if(1===a.tag){qh(a,d,e);oh();return}d=Error(u(426))}if(M&&c.mode&1&&(f=Se.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);lh(f,b,c,a,e);Td(dh(d,c));return}a=d=dh(d,c);4!== -ph&&(ph=2);null===rh?rh=[a]:rh.push(a);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=gh(a,d,e);je(a,e);return;case 1:if(b=d,c=a.type,f=a.stateNode,0===(a.flags&128)&&("function"===typeof c.getDerivedStateFromError||null!==f&&"function"===typeof f.componentDidCatch&&(null===kh||!kh.has(f)))){a.flags|=65536;e&=-e;a.lanes|=e;e=jh(a,b,e);je(a,e);return}}a=a.return}while(null!==a)}var sh=da.ReactCurrentOwner,th=Error(u(461)),dg=!1; -function uh(a,b,c,d){b.child=null===a?Le(b,null,c,d):Ke(b,a.child,c,d)}function vh(a,b,c,d,e){c=c.render;var f=b.ref;wh(b,e);eb(b);d=Mf(a,b,c,d,f,e);c=Tf();fb();if(null!==a&&!dg)return Uf(a,b,e),xh(a,b,e);M&&c&&zd(b);b.flags|=1;uh(a,b,d,e);return b.child} -function yh(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!zh(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,Ah(a,b,f,d,e);a=Ge(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:oe;if(c(g,d)&&a.ref===b.ref)return xh(a,b,e)}b.flags|=1;a=Ee(f,d);a.ref=b.ref;a.return=b;return b.child=a} -function Ah(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(oe(f,d)&&a.ref===b.ref)if(dg=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(dg=!0);else return b.lanes=a.lanes,xh(a,b,e)}return Bh(a,b,c,d,e)} -function Ch(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;Dh(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return Eh(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&Fh(b,null),Qe(),We(b);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0, -cachePool:null},null!==a&&Fh(b,null!==g?g.cachePool:null),null!==g?Oe(b,g):Qe(),We(b);else return b.lanes=b.childLanes=1073741824,Eh(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(Fh(b,g.cachePool),Oe(b,g),Xe(b),b.memoizedState=null):(null!==a&&Fh(b,null),Qe(),Xe(b));uh(a,b,e,c);return b.child}function Eh(a,b,c){var d=Gh();d=null===d?null:{parent:V._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&Fh(b,null);Qe();We(b);return null} -function Dh(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function Bh(a,b,c,d,e){var f=gd(c)?ed:cd.current;f=fd(b,f);wh(b,e);eb(b);c=Mf(a,b,c,d,f,e);d=Tf();fb();if(null!==a&&!dg)return Uf(a,b,e),xh(a,b,e);M&&d&&zd(b);b.flags|=1;uh(a,b,c,e);return b.child}function Hh(a,b,c,d,e,f){wh(b,f);eb(b);c=Pf(b,d,c,e);Qf();d=Tf();fb();if(null!==a&&!dg)return Uf(a,b,f),xh(a,b,f);M&&d&&zd(b);b.flags|=1;uh(a,b,c,f);return b.child} -function Ih(a,b,c,d,e){if(gd(c)){var f=!0;kd(b)}else f=!1;wh(b,e);if(null===b.stateNode)Jh(a,b),ah(b,c,d),ch(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var m=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=ag(p):(p=gd(c)?ed:cd.current,p=fd(b,p));var q=c.getDerivedStateFromProps,x="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;x||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| -(h!==d||m!==p)&&bh(b,g,d,p);de=!1;var r=b.memoizedState;g.state=r;ke(b,d,g,e);m=b.memoizedState;h!==d||r!==m||dd.current||de?("function"===typeof q&&(Yg(b,c,q,d),m=b.memoizedState),(h=de||$g(b,c,h,d,r,m,p))?(x||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): -("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=m),g.props=d,g.state=m,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;fe(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:Xg(b.type,h);g.props=p;x=b.pendingProps;r=g.context;m=c.contextType;"object"===typeof m&&null!==m?m=ag(m):(m=gd(c)?ed:cd.current,m=fd(b,m));var t=c.getDerivedStateFromProps;(q="function"===typeof t||"function"===typeof g.getSnapshotBeforeUpdate)|| -"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==x||r!==m)&&bh(b,g,d,m);de=!1;r=b.memoizedState;g.state=r;ke(b,d,g,e);var z=b.memoizedState;h!==x||r!==z||dd.current||de?("function"===typeof t&&(Yg(b,c,t,d),z=b.memoizedState),(p=de||$g(b,c,p,d,r,z,m)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,z,m),"function"===typeof g.UNSAFE_componentWillUpdate&& -g.UNSAFE_componentWillUpdate(d,z,m)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=z),g.props=d,g.state=z,g.context=m,d=p):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r=== -a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return Kh(a,b,c,d,f,e)} -function Kh(a,b,c,d,e,f){Dh(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&ld(b,c,!1),xh(a,b,f);d=b.stateNode;sh.current=b;if(g&&"function"!==typeof c.getDerivedStateFromError){var h=null;Pg=-1}else eb(b),h=d.render(),fb();b.flags|=1;null!==a&&g?(g=h,b.child=Ke(b,a.child,null,f),b.child=Ke(b,null,g,f)):uh(a,b,h,f);b.memoizedState=d.state;e&&ld(b,c,!0);return b.child} -function Lh(a){var b=a.stateNode;b.pendingContext?id(a,b.pendingContext,b.pendingContext!==b.context):b.context&&id(a,b.context,!1);Ga(a,b.containerInfo)}function Mh(a,b,c,d,e){Sd();Td(e);b.flags|=256;uh(a,b,c,d);return b.child}var Nh={dehydrated:null,treeContext:null,retryLane:0};function Oh(a){return{baseLanes:a,cachePool:Ph()}} -function Qh(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(Ve.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(M){e?Ue(b):Xe(b);M&&((f=a=L,f)?Ld(b,f)||(Md(b)&&Nd(),L=Id(f.nextSibling),g=I,L&&Ld(b,L)?Dd(g,f):(Fd(I,b),M=!1,I=b,L=a)):(Md(b)&&Nd(),Fd(I,b),M=!1,I=b,L=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=1073741824,null;Ye(b)}f=d.children;a=d.fallback;if(e)return Xe(b), -d=b.mode,e=b.child,f={mode:"hidden",children:f},0===(d&1)&&null!==e?(e.childLanes=0,e.pendingProps=f,b.mode&2&&(e.actualDuration=0,e.actualStartTime=-1,e.selfBaseDuration=0,e.treeBaseDuration=0)):e=Rh(f,d,0,null),a=Ie(a,d,c,null),e.return=b,a.return=b,e.sibling=a,b.child=e,b.child.memoizedState=Oh(c),b.memoizedState=Nh,a;Ue(b);return Sh(b,f)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return Th(a,b,f,d,h,g,c)}if(e){Xe(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var m={mode:"hidden", -children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=m,b.mode&2&&(d.actualDuration=0,d.actualStartTime=-1,d.selfBaseDuration=g.selfBaseDuration,d.treeBaseDuration=g.treeBaseDuration),b.deletions=null):(d=Ee(g,m),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=Ee(h,e):(e=Ie(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=Oh(c):(g=f.cachePool,null!==g?(h=V._currentValue,g=g.parent!==h?{parent:h,pool:h}: -g):g=Ph(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState=Nh;return d}Ue(b);e=a.child;a=e.sibling;d=Ee(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function Sh(a,b){b=Rh({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b} -function Uh(a,b,c,d){null!==d&&Td(d);Ke(b,a.child,null,c);a=Sh(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} -function Th(a,b,c,d,e,f,g){if(c){if(b.flags&256)return Ue(b),b.flags&=-257,e=eh(Error(u(422))),Uh(a,b,g,e);if(null!==b.memoizedState)return Xe(b),b.child=a.child,b.flags|=128,null;Xe(b);e=d.fallback;f=b.mode;d=Rh({mode:"visible",children:d.children},f,0,null);e=Ie(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Ke(b,a.child,null,g);b.child.memoizedState=Oh(g);b.memoizedState=Nh;return e}Ue(b);if(0===(b.mode&1))return Uh(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& -e.nextSibling.dataset;if(e)var h=e.dgst;e=h;d=Error(u(419));d.digest=e;e=eh(d,e,void 0);return Uh(a,b,g,e)}h=0!==(g&a.childLanes);if(dg||h){d=P;if(null!==d){switch(g&-g){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=64;break;case 536870912:h=268435456;break;default:h= -0}h=0!==(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,$d(a,h),ng(d,a,h),th;}"$?"!==e.data&&oh();return Uh(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=Vh.bind(null,a),e._reactRetry=b,null;a=f.treeContext;L=Id(e.nextSibling);I=b;M=!0;Bd=null;Cd=!1;null!==a&&(sd[td++]=vd,sd[td++]=wd,sd[td++]=ud,vd=a.id,wd=a.overflow,ud=b);b=Sh(b,d.children);b.flags|=4096;return b} -function Wh(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);Xh(a.return,b,c)}function Yh(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} -function Zh(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;uh(a,b,d.children,c);d=Ve.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&Wh(a,c,b);else if(19===a.tag)Wh(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(Ve,d);if(0===(b.mode&1))b.memoizedState= -null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Ze(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Yh(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Ze(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Yh(b,!0,c,null,f);break;case "together":Yh(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} -function Jh(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function xh(a,b,c){null!==a&&(b.dependencies=a.dependencies);Pg=-1;le|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(u(153));if(null!==b.child){a=b.child;c=Ee(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Ee(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} -function $h(a,b,c){switch(b.tag){case 3:Lh(b);ai(b,V,a.memoizedState.cache);Sd();break;case 27:case 5:Ka(b);break;case 1:gd(b.type)&&kd(b);break;case 4:Ga(b,b.stateNode.containerInfo);break;case 10:ai(b,b.type._context,b.memoizedProps.value);break;case 12:0!==(c&b.childLanes)&&(b.flags|=4);var d=b.stateNode;d.effectDuration=0;d.passiveEffectDuration=0;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return Ue(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return Qh(a,b,c);Ue(b); -a=xh(a,b,c);return null!==a?a.sibling:null}Ue(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&128)){if(d)return Zh(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(Ve,Ve.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,Ch(a,b,c);case 24:ai(b,V,a.memoizedState.cache)}return xh(a,b,c)}var bi=ia(null),ci=null,di=null,ei=null;function fi(){ei=di=ci=null}function ai(a,b,c){E(bi,b._currentValue);b._currentValue=c} -function gi(a){var b=bi.current;a._currentValue=b===Aa?a._defaultValue:b;D(bi)}function Xh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} -function hi(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=ge(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var m=h.pending;null===m?g.next=g:(g.next=m.next,m.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);Xh(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== -f)throw Error(u(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);Xh(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function wh(a,b){ci=a;ei=di=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(dg=!0),a.firstContext=null)}function ag(a){return ii(ci,a)}function Je(a,b,c){null===ci&&wh(a,c);return ii(a,b)} -function ii(a,b){var c=b._currentValue;if(ei!==b)if(b={context:b,memoizedValue:c,next:null},null===di){if(null===a)throw Error(u(308));di=b;a.dependencies={lanes:0,firstContext:b}}else di=di.next=b;return c} -var ji="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},ki=aa.unstable_scheduleCallback,li=aa.unstable_NormalPriority,V={$$typeof:pa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function Hg(){return{controller:new ji,data:new Map,refCount:0}} -function mi(a){a.refCount--;0===a.refCount&&ki(li,function(){a.controller.abort()})}var ni=da.ReactCurrentBatchConfig,oi=ia(null);function Gh(){var a=oi.current;return null!==a?a:P.pooledCache}function Fh(a,b){null===b?E(oi,oi.current):E(oi,b.pool)}function Ph(){var a=Gh();return null===a?null:{parent:V._currentValue,pool:a}}function pi(a){a.flags|=4}function qi(a){a.flags|=2097664} -function ri(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(O&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(si())a.flags|=8192;else throw ve=re,qe;}function ti(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?wb():1073741824,a.lanes|=b)} -function ui(a,b){if(!M)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} -function W(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)if(0!==(a.mode&2)){for(var e=a.selfBaseDuration,f=a.child;null!==f;)c|=f.lanes|f.childLanes,d|=f.subtreeFlags&31457280,d|=f.flags&31457280,e+=f.treeBaseDuration,f=f.sibling;a.treeBaseDuration=e}else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&31457280,d|=e.flags&31457280,e.return=a,e=e.sibling;else if(0!==(a.mode&2)){e=a.actualDuration;f=a.selfBaseDuration;for(var g=a.child;null!==g;)c|=g.lanes| +["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Tc=null;function Uc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var Vc=null,Wc=null; +function Xc(a){var b=Xb(a);if(b&&(a=b.stateNode)){var c=Zb(a);a:switch(a=b.stateNode,b.type){case "input":Cc(a,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll('input[name="'+Bc(""+b)+'"][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Zb(d);if(!e)throw Error(t(90));Cc(d,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked, +e.type,e.name)}}for(b=0;b<c.length;b++)d=c[b],d.form===a.form&&yc(d)}break a;case "textarea":Hc(a,c.value,c.defaultValue);break a;case "select":b=c.value,null!=b&&Gc(a,!!c.multiple,b,!1)}}}function Yc(a){Vc?Wc?Wc.push(a):Wc=[a]:Vc=a}function Zc(){if(Vc){var a=Vc,b=Wc;Wc=Vc=null;Xc(a);if(b)for(a=0;a<b.length;a++)Xc(b[a])}}function $c(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null} +function ad(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function bd(a){if($c(a)!==a)throw Error(t(188));} +function cd(a){var b=a.alternate;if(!b){b=$c(a);if(null===b)throw Error(t(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return bd(e),a;if(f===d)return bd(e),b;f=f.sibling}throw Error(t(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h=== +c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(t(189));}}if(c.alternate!==d)throw Error(t(190));}if(3!==c.tag)throw Error(t(188));return c.stateNode.current===c?a:b}function dd(a){a=cd(a);return null!==a?ed(a):null}function ed(a){var b=a.tag;if(5===b||26===b||27===b||6===b)return a;for(a=a.child;null!==a;){b=ed(a);if(null!==b)return b;a=a.sibling}return null}var fd={},gd=ka(fd),hd=ka(!1),id=fd; +function jd(a,b){var c=a.type.contextTypes;if(!c)return fd;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function kd(a){a=a.childContextTypes;return null!==a&&void 0!==a}function ld(){D(hd);D(gd)} +function md(a,b,c){if(gd.current!==fd)throw Error(t(168));E(gd,b);E(hd,c)}function nd(a,b,c){var d=a.stateNode;b=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(t(108,tc(a)||"Unknown",e));return w({},c,d)}function od(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||fd;id=gd.current;E(gd,a);E(hd,hd.current);return!0} +function pd(a,b,c){var d=a.stateNode;if(!d)throw Error(t(169));c?(a=nd(a,b,id),d.__reactInternalMemoizedMergedChildContext=a,D(hd),D(gd),E(gd,a)):D(hd);E(hd,c)}function qd(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var rd="function"===typeof Object.is?Object.is:qd,sd=[],td=0,ud=null,vd=0,wd=[],xd=0,yd=null,zd=1,Ad="";function Bd(a,b){sd[td++]=vd;sd[td++]=ud;ud=a;vd=b} +function Cd(a,b,c){wd[xd++]=zd;wd[xd++]=Ad;wd[xd++]=yd;yd=a;var d=zd;a=Ad;var e=32-pb(d)-1;d&=~(1<<e);c+=1;var f=32-pb(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;zd=1<<32-pb(b)+e|c<<e|d;Ad=f+a}else zd=1<<f|c<<e|d,Ad=a}function Dd(a){null!==a.return&&(Bd(a,1),Cd(a,1,0))}function Ed(a){for(;a===ud;)ud=sd[--td],sd[td]=null,vd=sd[--td],sd[td]=null;for(;a===yd;)yd=wd[--xd],wd[xd]=null,Ad=wd[--xd],wd[xd]=null,zd=wd[--xd],wd[xd]=null}var H=null,I=null,K=!1,Fd=null,Gd=!1; +function Hd(a,b){var c=Id(5,null,null,0);c.elementType="DELETED";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}function Jd(a,b){b.flags=b.flags&-4097|2}function Kd(a,b){b=Ld(b,a.type,a.pendingProps,Gd);return null!==b?(a.stateNode=b,H=a,I=Md(b.firstChild),Gd=!1,!0):!1}function Nd(a,b){b=Od(b,a.pendingProps,Gd);return null!==b?(a.stateNode=b,H=a,I=null,!0):!1} +function Pd(a,b){a:{var c=b;for(b=Gd;8!==c.nodeType;){if(!b){b=null;break a}c=Qd(c);if(null===c){b=null;break a}}b=c}return null!==b?(c=null!==yd?{id:zd,overflow:Ad}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:536870912},c=Id(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,H=a,I=null,!0):!1}function Rd(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Sd(){throw Error(t(418));} +function Td(){if(!K)return!1;if(I){a:{var a=I;for(var b=Gd;8!==a.nodeType;){if(!b){a=null;break a}a=Qd(a);if(null===a){a=null;break a}}b=a.data;a="F!"===b||"F"===b?a:null}if(a)return I=Qd(a),"F!"===a.data}Sd();return!1}function Ud(a){for(H=a.return;H;)switch(H.tag){case 3:case 27:Gd=!0;return;case 5:case 13:Gd=!1;return;default:H=H.return}} +function Vd(a){if(a!==H)return!1;if(!K)return Ud(a),K=!0,!1;var b=!1,c;if(c=3!==a.tag&&27!==a.tag){if(c=5===a.tag)c=a.type,c=!("form"!==c&&"button"!==c)||Wd(a.type,a.memoizedProps);c=!c}c&&(b=!0);if(b&&(b=I))if(Rd(a))Xd(),Sd();else for(;b;)Hd(a,b),b=Qd(b);Ud(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(t(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType)if(c=a.data,"/$"===c){if(0===b){I=Qd(a);break a}b--}else"$"!==c&&"$!"!==c&&"$?"!==c||b++;a=a.nextSibling}I= +null}}else I=H?Qd(a.stateNode):null;return!0}function Xd(){for(var a=I;a;)a=Qd(a)}function Yd(){I=H=null;K=!1}function Zd(a){null===Fd?Fd=[a]:Fd.push(a)}var $d=[],ae=0,be=0;function ce(){for(var a=ae,b=be=ae=0;b<a;){var c=$d[b];$d[b++]=null;var d=$d[b];$d[b++]=null;var e=$d[b];$d[b++]=null;var f=$d[b];$d[b++]=null;if(null!==d&&null!==e){var g=d.pending;null===g?e.next=e:(e.next=g.next,g.next=e);d.pending=e}0!==f&&de(c,e,f)}} +function ee(a,b,c,d){$d[ae++]=a;$d[ae++]=b;$d[ae++]=c;$d[ae++]=d;be|=d;a.lanes|=d;a=a.alternate;null!==a&&(a.lanes|=d)}function fe(a,b,c,d){ee(a,b,c,d);return ge(a)}function he(a,b){ee(a,null,null,b);return ge(a)} +function de(a,b,c){a.lanes|=c;var d=a.alternate;null!==d&&(d.lanes|=c);for(var e=!1,f=a.return;null!==f;)f.childLanes|=c,d=f.alternate,null!==d&&(d.childLanes|=c),22===f.tag&&(a=f.stateNode,null===a||a._visibility&1||(e=!0)),a=f,f=f.return;e&&null!==b&&3===a.tag&&(f=a.stateNode,e=31-pb(c),f=f.hiddenUpdates,a=f[e],null===a?f[e]=[b]:a.push(b),b.lane=c|536870912)}function ge(a){if(50<ie)throw ie=0,je=null,Error(t(185));for(var b=a.return;null!==b;)a=b,b=a.return;return 3===a.tag?a.stateNode:null} +var ke=!1;function le(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function me(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function ne(a){return{lane:a,tag:0,payload:null,callback:null,next:null}} +function oe(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(N&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;b=ge(a);de(a,null,c);return b}ee(a,d,b,c);return ge(a)}function pe(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194176))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Db(a,c)}} +function qe(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b} +function re(a,b,c,d){var e=a.updateQueue;ke=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var l=h,p=l.next;l.next=null;null===g?f=p:g.next=p;g=l;var q=a.alternate;null!==q&&(q=q.updateQueue,h=q.lastBaseUpdate,h!==g&&(null===h?q.firstBaseUpdate=p:h.next=p,q.lastBaseUpdate=l))}if(null!==f){var x=e.baseState;g=0;q=p=l=null;h=f;do{var r=h.lane&-536870913,u=r!==h.lane;if(u?(O&r)===r:(d&r)===r){null!==q&&(q=q.next={lane:0,tag:h.tag,payload:h.payload, +callback:null,next:null});a:{var A=a,C=h;r=b;var J=c;switch(C.tag){case 1:A=C.payload;if("function"===typeof A){x=A.call(J,x,r);break a}x=A;break a;case 3:A.flags=A.flags&-65537|128;case 0:A=C.payload;r="function"===typeof A?A.call(J,x,r):A;if(null===r||void 0===r)break a;x=w({},x,r);break a;case 2:ke=!0}}r=h.callback;null!==r&&(a.flags|=64,u&&(a.flags|=8192),u=e.callbacks,null===u?e.callbacks=[r]:u.push(r))}else u={lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===q?(p=q=u, +l=x):q=q.next=u,g|=r;h=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else u=h,h=u.next,u.next=null,e.lastBaseUpdate=u,e.shared.pending=null}while(1);null===q&&(l=x);e.baseState=l;e.firstBaseUpdate=p;e.lastBaseUpdate=q;null===f&&(e.shared.lanes=0);se|=g;a.lanes=g;a.memoizedState=x}}function te(a,b){if("function"!==typeof a)throw Error(t(191,a));a.call(b)}function ue(a,b){var c=a.callbacks;if(null!==c)for(a.callbacks=null,a=0;a<c.length;a++)te(c[a],b)} +function ve(a,b){if(rd(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!Jb.call(b,e)||!rd(a[e],b[e]))return!1}return!0}var we=Error(t(460)),xe=Error(t(474)),ye={then:function(){}};function ze(a){a=a.status;return"fulfilled"===a||"rejected"===a}function Ae(){} +function Be(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ae,Ae),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":a=b.reason;if(a===we)throw Error(t(483));throw a;default:if("string"===typeof b.status)b.then(Ae,Ae);else{a=P;if(null!==a&&100<a.shellSuspendCounter)throw Error(t(482));a=b;a.status="pending";a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}});switch(b.status){case "fulfilled":return b.value; +case "rejected":a=b.reason;if(a===we)throw Error(t(483));throw a;}}Ce=b;throw we;}}var Ce=null;function De(){if(null===Ce)throw Error(t(459));var a=Ce;Ce=null;return a}var Ee=null,Fe=0;function Ge(a){var b=Fe;Fe+=1;null===Ee&&(Ee=[]);return Be(Ee,a,b)} +function He(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(t(309));var d=c.stateNode}if(!d)throw Error(t(147,a));var e=d,f=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(g){var h=e.refs;null===g?delete h[f]:h[f]=g};b._stringRef=f;return b}if("string"!==typeof a)throw Error(t(284));if(!c._owner)throw Error(t(290,a));}return a} +function Ie(a,b){a=Object.prototype.toString.call(b);throw Error(t(31,"[object Object]"===a?"object with keys {"+Object.keys(b).join(", ")+"}":a));}function Je(a){var b=a._init;return b(a._payload)} +function Ke(a){function b(m,k){if(a){var n=m.deletions;null===n?(m.deletions=[k],m.flags|=16):n.push(k)}}function c(m,k){if(!a)return null;for(;null!==k;)b(m,k),k=k.sibling;return null}function d(m,k){for(m=new Map;null!==k;)null!==k.key?m.set(k.key,k):m.set(k.index,k),k=k.sibling;return m}function e(m,k){m=Le(m,k);m.index=0;m.sibling=null;return m}function f(m,k,n){m.index=n;if(!a)return m.flags|=1048576,k;n=m.alternate;if(null!==n)return n=n.index,n<k?(m.flags|=33554434,k):n;m.flags|=33554434;return k} +function g(m){a&&null===m.alternate&&(m.flags|=33554434);return m}function h(m,k,n,v){if(null===k||6!==k.tag)return k=Me(n,m.mode,v),k.return=m,k;k=e(k,n);k.return=m;return k}function l(m,k,n,v){var y=n.type;if(y===na)return q(m,k,n.props.children,v,n.key);if(null!==k&&(k.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===xa&&Je(y)===k.type))return v=e(k,n.props),v.ref=He(m,k,n),v.return=m,v;v=Ne(n.type,n.key,n.props,null,null,m.mode,v);v.ref=He(m,k,n);v.return=m;return v}function p(m,k, +n,v){if(null===k||4!==k.tag||k.stateNode.containerInfo!==n.containerInfo||k.stateNode.implementation!==n.implementation)return k=Oe(n,m.mode,v),k.return=m,k;k=e(k,n.children||[]);k.return=m;return k}function q(m,k,n,v,y){if(null===k||7!==k.tag)return k=Pe(n,m.mode,v,y),k.return=m,k;k=e(k,n);k.return=m;return k}function x(m,k,n){if("string"===typeof k&&""!==k||"number"===typeof k)return k=Me(""+k,m.mode,n),k.return=m,k;if("object"===typeof k&&null!==k){switch(k.$$typeof){case la:return n=Ne(k.type, +k.key,k.props,null,null,m.mode,n),n.ref=He(m,null,k),n.return=m,n;case ma:return k=Oe(k,m.mode,n),k.return=m,k;case xa:var v=k._init;return x(m,v(k._payload),n)}if(Fc(k)||Da(k))return k=Pe(k,m.mode,n,null),k.return=m,k;if("function"===typeof k.then)return x(m,Ge(k),n);if(k.$$typeof===ra||k.$$typeof===sa)return x(m,Qe(m,k,n),n);Ie(m,k)}return null}function r(m,k,n,v){var y=null!==k?k.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==y?null:h(m,k,""+n,v);if("object"===typeof n&& +null!==n){switch(n.$$typeof){case la:return n.key===y?l(m,k,n,v):null;case ma:return n.key===y?p(m,k,n,v):null;case xa:return y=n._init,r(m,k,y(n._payload),v)}if(Fc(n)||Da(n))return null!==y?null:q(m,k,n,v,null);if("function"===typeof n.then)return r(m,k,Ge(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return r(m,k,Qe(m,n,v),v);Ie(m,n)}return null}function u(m,k,n,v,y){if("string"===typeof v&&""!==v||"number"===typeof v)return m=m.get(n)||null,h(k,m,""+v,y);if("object"===typeof v&&null!==v){switch(v.$$typeof){case la:return m= +m.get(null===v.key?n:v.key)||null,l(k,m,v,y);case ma:return m=m.get(null===v.key?n:v.key)||null,p(k,m,v,y);case xa:var B=v._init;return u(m,k,n,B(v._payload),y)}if(Fc(v)||Da(v))return m=m.get(n)||null,q(k,m,v,y,null);if("function"===typeof v.then)return u(m,k,n,Ge(v),y);if(v.$$typeof===ra||v.$$typeof===sa)return u(m,k,n,Qe(k,v,y),y);Ie(k,v)}return null}function A(m,k,n,v){for(var y=null,B=null,z=k,L=k=0,ja=null;null!==z&&L<n.length;L++){z.index>L?(ja=z,z=null):ja=z.sibling;var M=r(m,z,n[L],v);if(null=== +M){null===z&&(z=ja);break}a&&z&&null===M.alternate&&b(m,z);k=f(M,k,L);null===B?y=M:B.sibling=M;B=M;z=ja}if(L===n.length)return c(m,z),K&&Bd(m,L),y;if(null===z){for(;L<n.length;L++)z=x(m,n[L],v),null!==z&&(k=f(z,k,L),null===B?y=z:B.sibling=z,B=z);K&&Bd(m,L);return y}for(z=d(m,z);L<n.length;L++)ja=u(z,m,L,n[L],v),null!==ja&&(a&&null!==ja.alternate&&z.delete(null===ja.key?L:ja.key),k=f(ja,k,L),null===B?y=ja:B.sibling=ja,B=ja);a&&z.forEach(function(Kb){return b(m,Kb)});K&&Bd(m,L);return y}function C(m, +k,n,v){var y=Da(n);if("function"!==typeof y)throw Error(t(150));n=y.call(n);if(null==n)throw Error(t(151));for(var B=y=null,z=k,L=k=0,ja=null,M=n.next();null!==z&&!M.done;L++,M=n.next()){z.index>L?(ja=z,z=null):ja=z.sibling;var Kb=r(m,z,M.value,v);if(null===Kb){null===z&&(z=ja);break}a&&z&&null===Kb.alternate&&b(m,z);k=f(Kb,k,L);null===B?y=Kb:B.sibling=Kb;B=Kb;z=ja}if(M.done)return c(m,z),K&&Bd(m,L),y;if(null===z){for(;!M.done;L++,M=n.next())M=x(m,M.value,v),null!==M&&(k=f(M,k,L),null===B?y=M:B.sibling= +M,B=M);K&&Bd(m,L);return y}for(z=d(m,z);!M.done;L++,M=n.next())M=u(z,m,L,M.value,v),null!==M&&(a&&null!==M.alternate&&z.delete(null===M.key?L:M.key),k=f(M,k,L),null===B?y=M:B.sibling=M,B=M);a&&z.forEach(function(tn){return b(m,tn)});K&&Bd(m,L);return y}function J(m,k,n,v){"object"===typeof n&&null!==n&&n.type===na&&null===n.key&&(n=n.props.children);if("object"===typeof n&&null!==n){switch(n.$$typeof){case la:a:{for(var y=n.key,B=k;null!==B;){if(B.key===y){y=n.type;if(y===na){if(7===B.tag){c(m,B.sibling); +k=e(B,n.props.children);k.return=m;m=k;break a}}else if(B.elementType===y||"object"===typeof y&&null!==y&&y.$$typeof===xa&&Je(y)===B.type){c(m,B.sibling);k=e(B,n.props);k.ref=He(m,B,n);k.return=m;m=k;break a}c(m,B);break}else b(m,B);B=B.sibling}n.type===na?(k=Pe(n.props.children,m.mode,v,n.key),k.return=m,m=k):(v=Ne(n.type,n.key,n.props,null,null,m.mode,v),v.ref=He(m,k,n),v.return=m,m=v)}return g(m);case ma:a:{for(B=n.key;null!==k;){if(k.key===B)if(4===k.tag&&k.stateNode.containerInfo===n.containerInfo&& +k.stateNode.implementation===n.implementation){c(m,k.sibling);k=e(k,n.children||[]);k.return=m;m=k;break a}else{c(m,k);break}else b(m,k);k=k.sibling}k=Oe(n,m.mode,v);k.return=m;m=k}return g(m);case xa:return B=n._init,S(m,k,B(n._payload),v)}if(Fc(n))return A(m,k,n,v);if(Da(n))return C(m,k,n,v);if("function"===typeof n.then)return J(m,k,Ge(n),v);if(n.$$typeof===ra||n.$$typeof===sa)return J(m,k,Qe(m,n,v),v);Ie(m,n)}return"string"===typeof n&&""!==n||"number"===typeof n?(n=""+n,null!==k&&6===k.tag?(c(m, +k.sibling),k=e(k,n),k.return=m,m=k):(c(m,k),k=Me(n,m.mode,v),k.return=m,m=k),g(m)):c(m,k)}function S(m,k,n,v){Fe=0;m=J(m,k,n,v);Ee=null;return m}return S}var Re=Ke(!0),Se=Ke(!1),Te=ka(null),Ue=ka(0);function Ve(a,b){a=We;E(Ue,a);E(Te,b);We=a|b.baseLanes}function Xe(){E(Ue,We);E(Te,Te.current)}function Ye(){We=Ue.current;D(Te);D(Ue)}var Ze=ka(null),$e=null;function af(a){var b=a.alternate;E(bf,bf.current&1);E(Ze,a);null===$e&&(null===b||null!==Te.current?$e=a:null!==b.memoizedState&&($e=a))} +function cf(a){if(22===a.tag){if(E(bf,bf.current),E(Ze,a),null===$e){var b=a.alternate;null!==b&&null!==b.memoizedState&&($e=a)}}else df(a)}function df(){E(bf,bf.current);E(Ze,Ze.current)}function ef(a){D(Ze);$e===a&&($e=null);D(bf)}var bf=ka(0); +function ff(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var gf=null,hf=null,jf=!1,kf=!1,lf=!1,mf=0; +function nf(a){a!==hf&&null===a.next&&(null===hf?gf=hf=a:hf=hf.next=a);kf=!0;jf||(jf=!0,of(pf))} +function qf(a){if(!lf&&kf){var b=null;lf=!0;do{var c=!1;for(var d=gf;null!==d;){if(!a||0===d.tag){var e=O,f=vb(d,d===P?e:0);if(0!==(f&3))try{c=!0;e=d;if(0!==(N&6))throw Error(t(327));if(!rf()){sf=tf;tf=!1;var g=uf(e,f);if(0!==e.tag&&2===g){var h=f,l=xb(e,h);0!==l&&(f=l,g=vf(e,h,l))}if(1===g)throw h=wf,xf(e,0),yf(e,f,0),nf(e),h;6===g?yf(e,f,0):(e.finishedWork=e.current.alternate,e.finishedLanes=f,zf(e,Af,Bf,Cf))}nf(e)}catch(p){null===b?b=[p]:b.push(p)}}d=d.next}}while(c);lf=!1;if(null!==b){if(1<b.length){if("function"=== +typeof AggregateError)throw new AggregateError(b);for(a=1;a<b.length;a++)of(Df.bind(null,b[a]))}throw b[0];}}}function Df(a){throw a;}function pf(){kf=jf=!1;for(var a=Ta(),b=null,c=gf;null!==c;){var d=c.next;if(0!==mf&&window.event&&"popstate"===window.event.type){var e=c,f=mf;e.pendingLanes|=2;e.entangledLanes|=2;e.entanglements[1]|=f}e=Ef(c,a);0===e?(c.next=null,null===b?gf=d:b.next=d,null===d&&(hf=b)):(b=c,0!==(e&3)&&(kf=!0));c=d}mf=0;qf(!1)} +function Ef(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes&-62914561;0<f;){var g=31-pb(f),h=1<<g,l=e[g];if(-1===l){if(0===(h&c)||0!==(h&d))e[g]=wb(h,b)}else l<=b&&(a.expiredLanes|=h);f&=~h}b=P;c=O;c=vb(a,a===b?c:0);d=a.callbackNode;if(0===c||a===b&&2===Q||null!==a.cancelPendingCommit)return null!==d&&null!==d&&Qa(d),a.callbackNode=null,a.callbackPriority=0;if(0!==(c&3))return null!==d&&null!==d&&Qa(d),a.callbackPriority=2,a.callbackNode=null,2;b=c&-c;if(b===a.callbackPriority)return b; +null!==d&&Qa(d);switch(Ib(c)){case 2:c=Va;break;case 8:c=Wa;break;case 32:c=Xa;break;case 268435456:c=Za;break;default:c=Xa}d=Ff.bind(null,a);c=Pa(c,d);a.callbackPriority=b;a.callbackNode=c;return b}function of(a){Gf(function(){0!==(N&6)?Pa(Va,a):a()})}function Hf(){if(0===mf){var a=sb;sb<<=1;0===(sb&4194176)&&(sb=128);mf=a}return mf}var If=null,Jf=0,Kf=0; +function Lf(a,b){if(null===If){var c=If=[];Jf=0;Kf=Hf()}else c=If;Jf++;var d=Mf(c),e="pending",f,g;a.then(function(h){e="fulfilled";f=null!==b?b:h;Nf()},function(h){e="rejected";g=h;Nf()});c.push(function(){switch(e){case "fulfilled":d.status="fulfilled";d.value=f;break;case "rejected":d.status="rejected";d.reason=g;break;default:throw Error(t(478));}});return d}function Of(a,b){var c=null!==b?b:a;if(null===If)return c;a=If;var d=Mf(a);a.push(function(){d.status="fulfilled";d.value=c});return d} +function Nf(){if(null!==If&&0===--Jf){var a=If;If=null;for(var b=Kf=0;b<a.length;b++)(0,a[b])()}}function Mf(a){return{status:"pending",value:null,reason:null,then:function(b){a.push(b)}}}var Pf=da.ReactCurrentDispatcher,Qf=da.ReactCurrentBatchConfig,Rf=0,R=null,T=null,U=null,Sf=!1,Tf=!1,Uf=!1,Vf=0,Wf=0,Xf=null,Yf=0;function Zf(){throw Error(t(321));}function $f(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!rd(a[c],b[c]))return!1;return!0} +function ag(a,b,c,d,e,f){Rf=f;R=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Pf.current=null===a||null===a.memoizedState?bg:cg;Uf=!1;a=c(d,e);Uf=!1;Tf&&(a=dg(b,c,d,e));eg();return a}function eg(){Pf.current=fg;var a=null!==T&&null!==T.next;Rf=0;U=T=R=null;Sf=!1;Wf=0;Xf=null;if(a)throw Error(t(300));}function dg(a,b,c,d){R=a;var e=0;do{Tf&&(Xf=null);Wf=0;Tf=!1;if(25<=e)throw Error(t(301));e+=1;U=T=null;a.updateQueue=null;Pf.current=gg;var f=b(c,d)}while(Tf);return f} +function hg(){var a=Pf.current.useState()[0];return"function"===typeof a.then?ig(a):a}function jg(){var a=0!==Vf;Vf=0;return a}function kg(a,b,c){b.updateQueue=a.updateQueue;b.flags&=-2053;a.lanes&=~c}function lg(a){if(Sf){for(a=a.memoizedState;null!==a;){var b=a.queue;null!==b&&(b.pending=null);a=a.next}Sf=!1}Rf=0;U=T=R=null;Tf=!1;Wf=Vf=0;Xf=null}function mg(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===U?R.memoizedState=U=a:U=U.next=a;return U} +function ng(){if(null===T){var a=R.alternate;a=null!==a?a.memoizedState:null}else a=T.next;var b=null===U?R.memoizedState:U.next;if(null!==b)U=b,T=a;else{if(null===a){if(null===R.alternate)throw Error(t(467));throw Error(t(310));}T=a;a={memoizedState:T.memoizedState,baseState:T.baseState,baseQueue:T.baseQueue,queue:T.queue,next:null};null===U?R.memoizedState=U=a:U=U.next=a}return U}var og;og=function(){return{lastEffect:null,events:null,stores:null}}; +function ig(a){var b=Wf;Wf+=1;null===Xf&&(Xf=[]);a=Be(Xf,a,b);null===R.alternate&&(null===U?null===R.memoizedState:null===U.next)&&(Pf.current=bg);return a}function pg(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return ig(a);if(a.$$typeof===ra||a.$$typeof===sa)return qg(a)}throw Error(t(438,String(a)));}function rg(a,b){return"function"===typeof b?b(a):b}function sg(a){var b=ng();return tg(b,T,a)} +function tg(a,b,c){var d=a.queue;if(null===d)throw Error(t(311));d.lastRenderedReducer=c;var e=a.baseQueue,f=d.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}b.baseQueue=e=f;d.pending=null}if(null!==e){b=e.next;f=a.baseState;var h=g=null,l=null,p=b;do{var q=p.lane&-536870913;if(q!==p.lane?(O&q)===q:(Rf&q)===q){q=p.revertLane;if(0===q)null!==l&&(l=l.next={lane:0,revertLane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null});else if((Rf&q)===q){p= +p.next;continue}else{var x={lane:0,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};null===l?(h=l=x,g=f):l=l.next=x;R.lanes|=q;se|=q}q=p.action;Uf&&c(f,q);f=p.hasEagerState?p.eagerState:c(f,q)}else x={lane:q,revertLane:p.revertLane,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},null===l?(h=l=x,g=f):l=l.next=x,R.lanes|=q,se|=q;p=p.next}while(null!==p&&p!==b);null===l?g=f:l.next=h;rd(f,a.memoizedState)||(ug=!0); +a.memoizedState=f;a.baseState=g;a.baseQueue=l;d.lastRenderedState=f}null===e&&(d.lanes=0);return[a.memoizedState,d.dispatch]}function vg(a){var b=ng(),c=b.queue;if(null===c)throw Error(t(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);rd(f,b.memoizedState)||(ug=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]} +function wg(a,b,c){var d=R,e=ng(),f=K;if(f){if(void 0===c)throw Error(t(407));c=c()}else c=b();var g=!rd((T||e).memoizedState,c);g&&(e.memoizedState=c,ug=!0);e=e.queue;xg(yg.bind(null,d,e,a),[a]);if(e.getSnapshot!==b||g||null!==U&&U.memoizedState.tag&1){d.flags|=2048;zg(9,Ag.bind(null,d,e,c,b),{destroy:void 0},null);if(null===P)throw Error(t(349));f||0!==(Rf&60)||Bg(d,b,c)}return c} +function Bg(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=R.updateQueue;null===b?(b=og(),R.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}function Ag(a,b,c,d){b.value=c;b.getSnapshot=d;Cg(b)&&Dg(a)}function yg(a,b,c){return c(function(){Cg(b)&&Dg(a)})}function Cg(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!rd(a,c)}catch(d){return!0}}function Dg(a){var b=he(a,2);null!==b&&Eg(b,a,2)} +function Fg(a){var b=mg();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rg,lastRenderedState:a};return b}function Gg(a,b,c,d){a.baseState=c;return tg(a,T,"function"===typeof d?d:rg)}function Hg(a,b,c,d){if(Ig(a))throw Error(t(485));a=b.pending;null===a?(a={payload:d,next:null},a.next=b.pending=a,Jg(b,c,d)):a.next={payload:d,next:a.next}} +function Jg(a,b,c){var d=a.action,e=a.state,f=Qf.transition;Qf.transition={};try{var g=d(e,c);g.then(function(l){a.state=l;Kg(a,b)},function(){return Kg(a,b)});var h=Lf(g,null);b(h)}finally{Qf.transition=f}}function Kg(a,b){var c=a.pending;if(null!==c){var d=c.next;d===c?a.pending=null:(d=d.next,c.next=d,Jg(a,b,d.payload))}}function Lg(a,b){return b} +function Mg(a,b,c){a=tg(a,b,Lg)[0];a=ig(a);b=ng();var d=b.queue,e=d.dispatch;c!==b.memoizedState&&(R.flags|=2048,zg(9,Ng.bind(null,d,c),{destroy:void 0},null));return[a,e]}function Ng(a,b){a.action=b}function zg(a,b,c,d){a={tag:a,create:b,inst:c,deps:d,next:null};b=R.updateQueue;null===b?(b=og(),R.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function Og(){return ng().memoizedState} +function Pg(a,b,c,d){var e=mg();R.flags|=a;e.memoizedState=zg(1|b,c,{destroy:void 0},void 0===d?null:d)}function Qg(a,b,c,d){var e=ng();d=void 0===d?null:d;var f=e.memoizedState.inst;null!==T&&null!==d&&$f(d,T.memoizedState.deps)?e.memoizedState=zg(b,c,f,d):(R.flags|=a,e.memoizedState=zg(1|b,c,f,d))}function Rg(a,b){Pg(8390656,8,a,b)}function xg(a,b){Qg(2048,8,a,b)}function Sg(a,b){return Qg(4,2,a,b)}function Tg(a,b){return Qg(4,4,a,b)} +function Ug(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Vg(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Qg(4,4,Ug.bind(null,b,a),c)}function Wg(){}function Xg(a,b){var c=ng();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&$f(b,d[1]))return d[0];c.memoizedState=[a,b];return a} +function Yg(a,b){var c=ng();b=void 0===b?null:b;var d=c.memoizedState;if(null!==b&&$f(b,d[1]))return d[0];Uf&&a();a=a();c.memoizedState=[a,b];return a}function Zg(a,b,c){if(rd(c,b))return c;if(null!==Te.current)return a.memoizedState=c,rd(c,b)||(ug=!0),c;if(0===(Rf&42))return ug=!0,a.memoizedState=c;0===Cf&&(Cf=0!==(O&536870912)?536870912:Hf());a=Cf;R.lanes|=a;se|=a;return b} +function $g(a,b,c,d,e){var f=G;G=0!==f&&8>f?f:8;var g=Qf.transition;Qf.transition={};ah(a,!1,b,c);try{var h=e();if(null!==h&&"object"===typeof h&&"function"===typeof h.then){var l=Lf(h,d);bh(a,b,l)}else{var p=Of(h,d);bh(a,b,p)}}catch(q){bh(a,b,{then:function(){},status:"rejected",reason:q})}finally{G=f,Qf.transition=g}} +function ch(a,b,c,d){if(5!==a.tag)throw Error(t(476));if(null===a.memoizedState){var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rg,lastRenderedState:fa};var f=e;e={memoizedState:fa,baseState:fa,baseQueue:null,queue:e,next:null};a.memoizedState=e;var g=a.alternate;null!==g&&(g.memoizedState=e)}else f=a.memoizedState.queue;$g(a,f,b,fa,function(){return c(d)})}function dh(){var a=qg(Ia);return null!==a?a:fa}function eh(){return ng().memoizedState} +function fh(){return ng().memoizedState}function gh(a){for(var b=a.return;null!==b;){switch(b.tag){case 24:case 3:var c=hh(b);a=ne(c);var d=oe(b,a,c);null!==d&&(Eg(d,b,c),pe(d,b,c));b={cache:ih()};a.payload=b;return}b=b.return}}function jh(a,b,c){var d=hh(a);c={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};Ig(a)?kh(b,c):(c=fe(a,b,c,d),null!==c&&(Eg(c,a,d),lh(c,b,d)));nb(a,d)} +function bh(a,b,c){var d=hh(a),e={lane:d,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Ig(a))kh(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(rd(h,g)){ee(a,b,e,0);null===P&&ce();return}}catch(l){}finally{}c=fe(a,b,e,d);null!==c&&(Eg(c,a,d),lh(c,b,d))}nb(a,d)} +function ah(a,b,c,d){d={lane:2,revertLane:Hf(),action:d,hasEagerState:!1,eagerState:null,next:null};if(Ig(a)){if(b)throw Error(t(479));}else b=fe(a,c,d,2),null!==b&&Eg(b,a,2);nb(a,2)}function Ig(a){var b=a.alternate;return a===R||null!==b&&b===R}function kh(a,b){Tf=Sf=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function lh(a,b,c){if(0!==(c&4194176)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Db(a,c)}} +var fg={readContext:qg,use:pg,useCallback:Zf,useContext:Zf,useEffect:Zf,useImperativeHandle:Zf,useInsertionEffect:Zf,useLayoutEffect:Zf,useMemo:Zf,useReducer:Zf,useRef:Zf,useState:Zf,useDebugValue:Zf,useDeferredValue:Zf,useTransition:Zf,useSyncExternalStore:Zf,useId:Zf};fg.useCacheRefresh=Zf;fg.useHostTransitionStatus=Zf;fg.useFormState=Zf;fg.useOptimistic=Zf; +var bg={readContext:qg,use:pg,useCallback:function(a,b){mg().memoizedState=[a,void 0===b?null:b];return a},useContext:qg,useEffect:Rg,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;Pg(4194308,4,Ug.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Pg(4194308,4,a,b)},useInsertionEffect:function(a,b){Pg(4,2,a,b)},useMemo:function(a,b){var c=mg();b=void 0===b?null:b;Uf&&a();a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=mg();b=void 0!==c?c(b): +b;d.memoizedState=d.baseState=b;a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=jh.bind(null,R,a);return[d.memoizedState,a]},useRef:function(a){var b=mg();a={current:a};return b.memoizedState=a},useState:function(a){a=Fg(a);var b=a.queue,c=bh.bind(null,R,b);b.dispatch=c;return[a.memoizedState,c]},useDebugValue:Wg,useDeferredValue:function(a){mg().memoizedState=a;return a},useTransition:function(){var a=Fg(!1);a=$g.bind(null,R,a.queue,!0,!1); +mg().memoizedState=a;return[!1,a]},useSyncExternalStore:function(a,b,c){var d=R,e=mg();if(K){if(void 0===c)throw Error(t(407));c=c()}else{c=b();if(null===P)throw Error(t(349));0!==(O&60)||Bg(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;Rg(yg.bind(null,d,f,a),[a]);d.flags|=2048;zg(9,Ag.bind(null,d,f,c,b),{destroy:void 0},null);return c},useId:function(){var a=mg(),b=P.identifierPrefix;if(K){var c=Ad;var d=zd;c=(d&~(1<<32-pb(d)-1)).toString(32)+c;b=":"+b+"R"+c;c=Vf++;0<c&&(b+="H"+ +c.toString(32));b+=":"}else c=Yf++,b=":"+b+"r"+c.toString(32)+":";return a.memoizedState=b},useCacheRefresh:function(){return mg().memoizedState=gh.bind(null,R)}};bg.useHostTransitionStatus=dh; +bg.useFormState=function(a,b){if(K){var c=P.formState;null!==c&&Td()&&(b=c[0])}var d={status:"fulfilled",value:b,then:function(){}};c=mg();c.memoizedState=c.baseState=d;d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lg,lastRenderedState:d};c.queue=d;c=bh.bind(null,R,d);d.dispatch=c;d=mg();var e={state:b,dispatch:null,action:a,pending:null};d.queue=e;c=Hg.bind(null,R,e,c);e.dispatch=c;d.memoizedState=a;return[b,c]}; +bg.useOptimistic=function(a){var b=mg();b.memoizedState=b.baseState=a;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};b.queue=c;b=ah.bind(null,R,!0,c);c.dispatch=b;return[a,b]}; +var cg={readContext:qg,use:pg,useCallback:Xg,useContext:qg,useEffect:xg,useImperativeHandle:Vg,useInsertionEffect:Sg,useLayoutEffect:Tg,useMemo:Yg,useReducer:sg,useRef:Og,useState:function(){return sg(rg)},useDebugValue:Wg,useDeferredValue:function(a){var b=ng();return Zg(b,T.memoizedState,a)},useTransition:function(){var a=sg(rg)[0],b=ng().memoizedState;return["boolean"===typeof a?a:ig(a),b]},useSyncExternalStore:wg,useId:eh};cg.useCacheRefresh=fh;cg.useHostTransitionStatus=dh; +cg.useFormState=function(a){var b=ng();return Mg(b,T,a)};cg.useOptimistic=function(a,b){var c=ng();return Gg(c,T,a,b)}; +var gg={readContext:qg,use:pg,useCallback:Xg,useContext:qg,useEffect:xg,useImperativeHandle:Vg,useInsertionEffect:Sg,useLayoutEffect:Tg,useMemo:Yg,useReducer:vg,useRef:Og,useState:function(){return vg(rg)},useDebugValue:Wg,useDeferredValue:function(a){var b=ng();return null===T?(b.memoizedState=a,a):Zg(b,T.memoizedState,a)},useTransition:function(){var a=vg(rg)[0],b=ng().memoizedState;return["boolean"===typeof a?a:ig(a),b]},useSyncExternalStore:wg,useId:eh};gg.useCacheRefresh=fh; +gg.useHostTransitionStatus=dh;gg.useFormState=function(a){var b=ng(),c=T;if(null!==c)return Mg(b,c,a);b=ig(b.memoizedState);c=ng();var d=c.queue.dispatch;c.memoizedState=a;return[b,d]};gg.useOptimistic=function(a,b){var c=ng();if(null!==T)return Gg(c,T,a,b);c.baseState=a;return[a,c.queue.dispatch]};var mh=ba.unstable_now,nh=0,oh=-1,ph=-1,qh=-1,sf=!1,tf=!1;function rh(a){ph=mh();0>a.actualStartTime&&(a.actualStartTime=mh())} +function sh(a,b){if(0<=ph){var c=mh()-ph;a.actualDuration+=c;b&&(a.selfBaseDuration=c);ph=-1}}function th(a){if(0<=oh){var b=mh()-oh;oh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a.stateNode.effectDuration+=b;return;case 12:a.stateNode.effectDuration+=b;return}a=a.return}}} +function uh(a){if(0<=qh){var b=mh()-qh;qh=-1;for(a=a.return;null!==a;){switch(a.tag){case 3:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return;case 12:a=a.stateNode;null!==a&&(a.passiveEffectDuration+=b);return}a=a.return}}}function vh(){oh=mh()}function wh(a){for(var b=a.child;b;)a.actualDuration+=b.actualDuration,b=b.sibling}function xh(a,b){if(a&&a.defaultProps){b=w({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b} +function yh(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:w({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)} +var zh={isMounted:function(a){return(a=a._reactInternals)?$c(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=hh(a),e=ne(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=oe(a,e,d);null!==b&&(Eg(b,a,d),pe(b,a,d));nb(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=hh(a),e=ne(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);b=oe(a,e,d);null!==b&&(Eg(b,a,d),pe(b,a,d));nb(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=hh(a),d=ne(c); +d.tag=2;void 0!==b&&null!==b&&(d.callback=b);b=oe(a,d,c);null!==b&&(Eg(b,a,c),pe(b,a,c));null!==F&&"function"===typeof F.markForceUpdateScheduled&&F.markForceUpdateScheduled(a,c)}};function Ah(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!ve(c,d)||!ve(e,f):!0} +function Bh(a,b,c){var d=!1,e=fd;var f=b.contextType;"object"===typeof f&&null!==f?f=qg(f):(e=kd(b)?id:gd.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?jd(a,e):fd);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=zh;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} +function Ch(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&zh.enqueueReplaceState(b,b.state,null)} +function Dh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs={};le(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=qg(f):(f=kd(b)?id:gd.current,e.context=jd(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(yh(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state, +"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&zh.enqueueReplaceState(e,e.state,null),re(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4194308)}function Eh(a,b){try{var c="",d=b;do c+=rc(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e,digest:null}} +function Fh(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}function Gh(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function Hh(a,b,c){c=ne(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Ih||(Ih=!0,Jh=d);Gh(a,b)};return c} +function Kh(a,b,c){c=ne(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Gh(a,b)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){Gh(a,b);"function"!==typeof d&&(null===Lh?Lh=new Set([this]):Lh.add(this));var g=b.stack;this.componentDidCatch(b.value,{componentStack:null!==g?g:""})});return c} +function Mh(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=ne(2),b.tag=2,oe(c,b,2))),c.lanes|=2),a;a.flags|=65536;a.lanes=e;return a} +function Nh(a,b,c,d,e){c.flags|=32768;bb&&Oh(a,e);if(null!==d&&"object"===typeof d&&"function"===typeof d.then){var f=c.tag;0!==(c.mode&1)||0!==f&&11!==f&&15!==f||((f=c.alternate)?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null));f=Ze.current;if(null!==f){switch(f.tag){case 13:c.mode&1&&(null===$e?Ph():null===f.alternate&&0===Qh&&(Qh=3));f.flags&=-257;Mh(f,b,c,a,e);d===ye?f.flags|=16384:(b=f.updateQueue,null===b?f.updateQueue= +new Set([d]):b.add(d),f.mode&1&&Rh(a,d,e));return;case 22:if(f.mode&1){f.flags|=65536;d===ye?f.flags|=16384:(b=f.updateQueue,null===b?(b={transitions:null,markerInstances:null,retryQueue:new Set([d])},f.updateQueue=b):(c=b.retryQueue,null===c?b.retryQueue=new Set([d]):c.add(d)),Rh(a,d,e));return}}throw Error(t(435,f.tag));}if(1===a.tag){Rh(a,d,e);Ph();return}d=Error(t(426))}if(K&&c.mode&1&&(f=Ze.current,null!==f)){0===(f.flags&65536)&&(f.flags|=256);Mh(f,b,c,a,e);Zd(Eh(d,c));return}a=d=Eh(d,c);4!== +Qh&&(Qh=2);null===Sh?Sh=[a]:Sh.push(a);a=b;do{switch(a.tag){case 3:a.flags|=65536;e&=-e;a.lanes|=e;e=Hh(a,d,e);qe(a,e);return;case 1:if(b=d,c=a.type,f=a.stateNode,0===(a.flags&128)&&("function"===typeof c.getDerivedStateFromError||null!==f&&"function"===typeof f.componentDidCatch&&(null===Lh||!Lh.has(f)))){a.flags|=65536;e&=-e;a.lanes|=e;e=Kh(a,b,e);qe(a,e);return}}a=a.return}while(null!==a)}var Th=da.ReactCurrentOwner,Uh=Error(t(461)),ug=!1; +function Vh(a,b,c,d){b.child=null===a?Se(b,null,c,d):Re(b,a.child,c,d)}function Wh(a,b,c,d,e){c=c.render;var f=b.ref;Xh(b,e);hb(b);d=ag(a,b,c,d,f,e);c=jg();ib();if(null!==a&&!ug)return kg(a,b,e),Yh(a,b,e);K&&c&&Dd(b);b.flags|=1;Vh(a,b,d,e);return b.child} +function Zh(a,b,c,d,e){if(null===a){var f=c.type;if("function"===typeof f&&!$h(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,ai(a,b,f,d,e);a=Ne(c.type,null,d,null,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:ve;if(c(g,d)&&a.ref===b.ref)return Yh(a,b,e)}b.flags|=1;a=Le(f,d);a.ref=b.ref;a.return=b;return b.child=a} +function ai(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(ve(f,d)&&a.ref===b.ref)if(ug=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(ug=!0);else return b.lanes=a.lanes,Yh(a,b,e)}return bi(a,b,c,d,e)} +function ci(a,b,c){var d=b.pendingProps,e=d.children,f=0!==(b.stateNode._pendingVisibility&2),g=null!==a?a.memoizedState:null;di(a,b);if("hidden"===d.mode||f){if(0!==(b.flags&128)){c=null!==g?g.baseLanes|c:c;if(null!==a){d=b.child=a.child;for(e=0;null!==d;)e=e|d.lanes|d.childLanes,d=d.sibling;b.childLanes=e&~c}else b.childLanes=0,b.child=null;return ei(a,b,c)}if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null},null!==a&&fi(b,null),Xe(),cf(b);else if(0!==(c&536870912))b.memoizedState={baseLanes:0, +cachePool:null},null!==a&&fi(b,null!==g?g.cachePool:null),null!==g?Ve(b,g):Xe(),cf(b);else return b.lanes=b.childLanes=536870912,ei(a,b,null!==g?g.baseLanes|c:c)}else null!==g?(fi(b,g.cachePool),Ve(b,g),df(b),b.memoizedState=null):(null!==a&&fi(b,null),Xe(),df(b));Vh(a,b,e,c);return b.child}function ei(a,b,c){var d=gi();d=null===d?null:{parent:hi._currentValue,pool:d};b.memoizedState={baseLanes:c,cachePool:d};null!==a&&fi(b,null);Xe();cf(b);return null} +function di(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function bi(a,b,c,d,e){var f=kd(c)?id:gd.current;f=jd(b,f);Xh(b,e);hb(b);c=ag(a,b,c,d,f,e);d=jg();ib();if(null!==a&&!ug)return kg(a,b,e),Yh(a,b,e);K&&d&&Dd(b);b.flags|=1;Vh(a,b,c,e);return b.child}function ii(a,b,c,d,e,f){Xh(b,f);hb(b);c=dg(b,d,c,e);eg();d=jg();ib();if(null!==a&&!ug)return kg(a,b,f),Yh(a,b,f);K&&d&&Dd(b);b.flags|=1;Vh(a,b,c,f);return b.child} +function ji(a,b,c,d,e){if(kd(c)){var f=!0;od(b)}else f=!1;Xh(b,e);if(null===b.stateNode)ki(a,b),Bh(b,c,d),Dh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var l=g.context,p=c.contextType;"object"===typeof p&&null!==p?p=qg(p):(p=kd(c)?id:gd.current,p=jd(b,p));var q=c.getDerivedStateFromProps,x="function"===typeof q||"function"===typeof g.getSnapshotBeforeUpdate;x||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps|| +(h!==d||l!==p)&&Ch(b,g,d,p);ke=!1;var r=b.memoizedState;g.state=r;re(b,d,g,e);l=b.memoizedState;h!==d||r!==l||hd.current||ke?("function"===typeof q&&(yh(b,c,q,d),l=b.memoizedState),(h=ke||Ah(b,c,h,d,r,l,p))?(x||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4194308)): +("function"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=l),g.props=d,g.state=l,g.context=p,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;me(a,b);h=b.memoizedProps;p=b.type===b.elementType?h:xh(b.type,h);g.props=p;x=b.pendingProps;r=g.context;l=c.contextType;"object"===typeof l&&null!==l?l=qg(l):(l=kd(c)?id:gd.current,l=jd(b,l));var u=c.getDerivedStateFromProps;(q="function"===typeof u||"function"===typeof g.getSnapshotBeforeUpdate)|| +"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==x||r!==l)&&Ch(b,g,d,l);ke=!1;r=b.memoizedState;g.state=r;re(b,d,g,e);var A=b.memoizedState;h!==x||r!==A||hd.current||ke?("function"===typeof u&&(yh(b,c,u,d),A=b.memoizedState),(p=ke||Ah(b,c,p,d,r,A,l)||!1)?(q||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,A,l),"function"===typeof g.UNSAFE_componentWillUpdate&& +g.UNSAFE_componentWillUpdate(d,A,l)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=A),g.props=d,g.state=A,g.context=l,d=p):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r=== +a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return li(a,b,c,d,f,e)} +function li(a,b,c,d,e,f){di(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&pd(b,c,!1),Yh(a,b,f);d=b.stateNode;Th.current=b;if(g&&"function"!==typeof c.getDerivedStateFromError){var h=null;ph=-1}else hb(b),h=d.render(),ib();b.flags|=1;null!==a&&g?(g=h,b.child=Re(b,a.child,null,f),b.child=Re(b,null,g,f)):Vh(a,b,h,f);b.memoizedState=d.state;e&&pd(b,c,!0);return b.child} +function mi(a){var b=a.stateNode;b.pendingContext?md(a,b.pendingContext,b.pendingContext!==b.context):b.context&&md(a,b.context,!1);Ja(a,b.containerInfo)}function ni(a,b,c,d,e){Yd();Zd(e);b.flags|=256;Vh(a,b,c,d);return b.child}var oi={dehydrated:null,treeContext:null,retryLane:0};function pi(a){return{baseLanes:a,cachePool:qi()}} +function ri(a,b,c){var d=b.pendingProps,e=!1,f=0!==(b.flags&128),g;(g=f)||(g=null!==a&&null===a.memoizedState?!1:0!==(bf.current&2));g&&(e=!0,b.flags&=-129);if(null===a){if(K){e?af(b):df(b);K&&((f=a=I,f)?Pd(b,f)||(Rd(b)&&Sd(),I=Qd(f),g=H,I&&Pd(b,I)?Hd(g,f):(Jd(H,b),K=!1,H=b,I=a)):(Rd(b)&&Sd(),Jd(H,b),K=!1,H=b,I=a));a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=2:"$!"===a.data?b.lanes=16:b.lanes=536870912,null;ef(b)}f=d.children;a=d.fallback;if(e)return df(b), +d=b.mode,e=b.child,f={mode:"hidden",children:f},0===(d&1)&&null!==e?(e.childLanes=0,e.pendingProps=f,b.mode&2&&(e.actualDuration=0,e.actualStartTime=-1,e.selfBaseDuration=0,e.treeBaseDuration=0)):e=si(f,d,0,null),a=Pe(a,d,c,null),e.return=b,a.return=b,e.sibling=a,b.child=e,b.child.memoizedState=pi(c),b.memoizedState=oi,a;af(b);return ti(b,f)}g=a.memoizedState;if(null!==g){var h=g.dehydrated;if(null!==h)return ui(a,b,f,d,h,g,c)}if(e){df(b);e=d.fallback;f=b.mode;g=a.child;h=g.sibling;var l={mode:"hidden", +children:d.children};0===(f&1)&&b.child!==g?(d=b.child,d.childLanes=0,d.pendingProps=l,b.mode&2&&(d.actualDuration=0,d.actualStartTime=-1,d.selfBaseDuration=g.selfBaseDuration,d.treeBaseDuration=g.treeBaseDuration),b.deletions=null):(d=Le(g,l),d.subtreeFlags=g.subtreeFlags&31457280);null!==h?e=Le(h,e):(e=Pe(e,f,c,null),e.flags|=2);e.return=b;d.return=b;d.sibling=e;b.child=d;d=e;e=b.child;f=a.child.memoizedState;null===f?f=pi(c):(g=f.cachePool,null!==g?(h=hi._currentValue,g=g.parent!==h?{parent:h, +pool:h}:g):g=qi(),f={baseLanes:f.baseLanes|c,cachePool:g});e.memoizedState=f;e.childLanes=a.childLanes&~c;b.memoizedState=oi;return d}af(b);e=a.child;a=e.sibling;d=Le(e,{mode:"visible",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}function ti(a,b){b=si({mode:"visible",children:b},a.mode,0,null);b.return=a;return a.child=b} +function vi(a,b,c,d){null!==d&&Zd(d);Re(b,a.child,null,c);a=ti(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a} +function ui(a,b,c,d,e,f,g){if(c){if(b.flags&256)return af(b),b.flags&=-257,e=Fh(Error(t(422))),vi(a,b,g,e);if(null!==b.memoizedState)return df(b),b.child=a.child,b.flags|=128,null;df(b);e=d.fallback;f=b.mode;d=si({mode:"visible",children:d.children},f,0,null);e=Pe(e,f,g,null);e.flags|=2;d.return=b;e.return=b;d.sibling=e;b.child=d;0!==(b.mode&1)&&Re(b,a.child,null,g);b.child.memoizedState=pi(g);b.memoizedState=oi;return e}af(b);if(0===(b.mode&1))return vi(a,b,g,null);if("$!"===e.data){e=e.nextSibling&& +e.nextSibling.dataset;if(e)var h=e.dgst;e=h;d=Error(t(419));d.digest=e;e=Fh(d,e,void 0);return vi(a,b,g,e)}h=0!==(g&a.childLanes);if(ug||h){d=P;if(null!==d){switch(g&-g){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:h=64;break;case 268435456:h=134217728;break;default:h=0}h=0!== +(h&(d.suspendedLanes|g))?0:h;if(0!==h&&h!==f.retryLane)throw f.retryLane=h,he(a,h),Eg(d,a,h),Uh;}"$?"!==e.data&&Ph();return vi(a,b,g,null)}if("$?"===e.data)return b.flags|=128,b.child=a.child,b=wi.bind(null,a),e._reactRetry=b,null;a=f.treeContext;I=Md(e.nextSibling);H=b;K=!0;Fd=null;Gd=!1;null!==a&&(wd[xd++]=zd,wd[xd++]=Ad,wd[xd++]=yd,zd=a.id,Ad=a.overflow,yd=b);b=ti(b,d.children);b.flags|=4096;return b}function xi(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);yi(a.return,b,c)} +function zi(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)} +function Ai(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;Vh(a,b,d.children,c);d=bf.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&xi(a,c,b);else if(19===a.tag)xi(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}E(bf,d);if(0===(b.mode&1))b.memoizedState= +null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===ff(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);zi(b,!1,e,c,f);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===ff(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}zi(b,!0,c,null,f);break;case "together":zi(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child} +function ki(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function Yh(a,b,c){null!==a&&(b.dependencies=a.dependencies);ph=-1;se|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(t(153));if(null!==b.child){a=b.child;c=Le(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Le(a,a.pendingProps),c.return=b;c.sibling=null}return b.child} +function Bi(a,b,c){switch(b.tag){case 3:mi(b);Ci(b,hi,a.memoizedState.cache);Yd();break;case 27:case 5:Na(b);break;case 1:kd(b.type)&&od(b);break;case 4:Ja(b,b.stateNode.containerInfo);break;case 10:Ci(b,b.type._context,b.memoizedProps.value);break;case 12:0!==(c&b.childLanes)&&(b.flags|=4);var d=b.stateNode;d.effectDuration=0;d.passiveEffectDuration=0;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return af(b),b.flags|=128,null;if(0!==(c&b.child.childLanes))return ri(a,b,c); +af(b);a=Yh(a,b,c);return null!==a?a.sibling:null}af(b);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&128)){if(d)return Ai(a,b,c);b.flags|=128}var e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);E(bf,bf.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,ci(a,b,c);case 24:Ci(b,hi,a.memoizedState.cache)}return Yh(a,b,c)}var Di=ka(null),Ei=null,Fi=null,Gi=null;function Hi(){Gi=Fi=Ei=null} +function Ci(a,b,c){E(Di,b._currentValue);b._currentValue=c}function Ii(a){a._currentValue=Di.current;D(Di)}function yi(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}} +function Ji(a,b,c){var d=a.child;null!==d&&(d.return=a);for(;null!==d;){var e=d.dependencies;if(null!==e){var f=d.child;for(var g=e.firstContext;null!==g;){if(g.context===b){if(1===d.tag){g=ne(c&-c);g.tag=2;var h=d.updateQueue;if(null!==h){h=h.shared;var l=h.pending;null===l?g.next=g:(g.next=l.next,l.next=g);h.pending=g}}d.lanes|=c;g=d.alternate;null!==g&&(g.lanes|=c);yi(d.return,c,a);e.lanes|=c;break}g=g.next}}else if(10===d.tag)f=d.type===a.type?null:d.child;else if(18===d.tag){f=d.return;if(null=== +f)throw Error(t(341));f.lanes|=c;e=f.alternate;null!==e&&(e.lanes|=c);yi(f,c,a);f=d.sibling}else f=d.child;if(null!==f)f.return=d;else for(f=d;null!==f;){if(f===a){f=null;break}d=f.sibling;if(null!==d){d.return=f.return;f=d;break}f=f.return}d=f}}function Xh(a,b){Ei=a;Gi=Fi=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(ug=!0),a.firstContext=null)}function qg(a){return Ki(Ei,a)}function Qe(a,b,c){null===Ei&&Xh(a,c);return Ki(a,b)} +function Ki(a,b){var c=b._currentValue;if(Gi!==b)if(b={context:b,memoizedValue:c,next:null},null===Fi){if(null===a)throw Error(t(308));Fi=b;a.dependencies={lanes:0,firstContext:b}}else Fi=Fi.next=b;return c} +var Li="undefined"!==typeof AbortController?AbortController:function(){var a=[],b=this.signal={aborted:!1,addEventListener:function(c,d){a.push(d)}};this.abort=function(){b.aborted=!0;a.forEach(function(c){return c()})}},Mi=ba.unstable_scheduleCallback,Ni=ba.unstable_NormalPriority,hi={$$typeof:ra,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function ih(){return{controller:new Li,data:new Map,refCount:0}} +function Oi(a){a.refCount--;0===a.refCount&&Mi(Ni,function(){a.controller.abort()})}var Pi=da.ReactCurrentBatchConfig,Qi=ka(null);function gi(){var a=Qi.current;return null!==a?a:P.pooledCache}function fi(a,b){null===b?E(Qi,Qi.current):E(Qi,b.pool)}function qi(){var a=gi();return null===a?null:{parent:hi._currentValue,pool:a}}function Ri(a){a.flags|=4}function Si(a){a.flags|=2097664} +function Ti(a,b){if("stylesheet"!==b.type||0!==(b.state.loading&4))a.flags&=-16777217;else if(a.flags|=16777216,0===(O&42)&&(b="stylesheet"===b.type&&0===(b.state.loading&3)?!1:!0,!b))if(Ui())a.flags|=8192;else throw Ce=ye,xe;}function Vi(a,b){null!==b?a.flags|=4:a.flags&16384&&(b=22!==a.tag?yb():536870912,a.lanes|=b)} +function Wi(a,b){if(!K)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}} +function V(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)if(0!==(a.mode&2)){for(var e=a.selfBaseDuration,f=a.child;null!==f;)c|=f.lanes|f.childLanes,d|=f.subtreeFlags&31457280,d|=f.flags&31457280,e+=f.treeBaseDuration,f=f.sibling;a.treeBaseDuration=e}else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&31457280,d|=e.flags&31457280,e.return=a,e=e.sibling;else if(0!==(a.mode&2)){e=a.actualDuration;f=a.selfBaseDuration;for(var g=a.child;null!==g;)c|=g.lanes| g.childLanes,d|=g.subtreeFlags,d|=g.flags,e+=g.actualDuration,f+=g.treeBaseDuration,g=g.sibling;a.actualDuration=e;a.treeBaseDuration=f}else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b} -function vi(a,b,c){var d=b.pendingProps;Ad(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return W(b),null;case 1:return gd(b.type)&&hd(),W(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);gi(V);Ja();D(dd);D(cd);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Pd(b)?pi(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= -1024,null!==Bd&&(wi(Bd),Bd=null));W(b);return null;case 26:c=b.memoizedState;if(null===a)pi(b),null!==b.ref&&qi(b),null!==c?(W(b),ri(b,c)):(W(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&pi(b);a.ref!==b.ref&&qi(b);null!==c?(W(b),c===e?b.flags&=-16777217:ri(b,c)):(a.memoizedProps!==d&&pi(b),W(b),b.flags&=-16777217)}return null;case 27:La(b);c=Fa.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&pi(b),a.ref!==b.ref&&qi(b);else{if(!d){if(null===b.stateNode)throw Error(u(166)); -W(b);return null}a=Da.current;Pd(b)?xi(b.stateNode,b.type,b.memoizedProps,a,b):(a=yi(e,d,c),b.stateNode=a,pi(b));null!==b.ref&&qi(b)}W(b);return null;case 5:La(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&pi(b),a.ref!==b.ref&&qi(b);else{if(!d){if(null===b.stateNode)throw Error(u(166));W(b);return null}a=Da.current;if(Pd(b))xi(b.stateNode,b.type,b.memoizedProps,a,b);else{e=zi(Fa.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", +function Xi(a,b,c){var d=b.pendingProps;Ed(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return V(b),null;case 1:return kd(b.type)&&ld(),V(b),null;case 3:c=b.stateNode;d=null;null!==a&&(d=a.memoizedState.cache);b.memoizedState.cache!==d&&(b.flags|=2048);Ii(hi);Ma();D(hd);D(gd);c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);if(null===a||null===a.child)Vd(b)?Ri(b):null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|= +1024,null!==Fd&&(Yi(Fd),Fd=null));V(b);return null;case 26:c=b.memoizedState;if(null===a)Ri(b),null!==b.ref&&Si(b),null!==c?(V(b),Ti(b,c)):(V(b),b.flags&=-16777217);else{var e=a.memoizedState;c!==e&&Ri(b);a.ref!==b.ref&&Si(b);null!==c?(V(b),c===e?b.flags&=-16777217:Ti(b,c)):(a.memoizedProps!==d&&Ri(b),V(b),b.flags&=-16777217)}return null;case 27:Oa(b);c=Ga.current;e=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Ri(b),a.ref!==b.ref&&Si(b);else{if(!d){if(null===b.stateNode)throw Error(t(166)); +V(b);return null}a=Ea.current;Vd(b)?Zi(b.stateNode,b.type,b.memoizedProps,a,b):(a=$i(e,d,c),b.stateNode=a,Ri(b));null!==b.ref&&Si(b)}V(b);return null;case 5:Oa(b);c=b.type;if(null!==a&&null!=b.stateNode)a.memoizedProps!==d&&Ri(b),a.ref!==b.ref&&Si(b);else{if(!d){if(null===b.stateNode)throw Error(t(166));V(b);return null}a=Ea.current;if(Vd(b))Zi(b.stateNode,b.type,b.memoizedProps,a,b);else{e=aj(Ga.current);switch(a){case 1:a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:a=e.createElementNS("http://www.w3.org/1998/Math/MathML", c);break;default:switch(c){case "svg":a=e.createElementNS("http://www.w3.org/2000/svg",c);break;case "math":a=e.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case "script":a=e.createElement("div");a.innerHTML="<script>\x3c/script>";a=a.removeChild(a.firstChild);break;case "select":a="string"===typeof d.is?e.createElement("select",{is:d.is}):e.createElement("select");d.multiple?a.multiple=!0:d.size&&(a.size=d.size);break;default:a="string"===typeof d.is?e.createElement(c,{is:d.is}): -e.createElement(c)}}a[Ib]=b;a[Jb]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(Ai(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&pi(b)}null!==b.ref&& -qi(b)}W(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&pi(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(u(166));a=Fa.current;if(Pd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[Ib]=b;if(d=a.nodeValue!==c)if(e=I,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);Bi(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&Bi(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&pi(b)}else a=zi(a).createTextNode(d), -a[Ib]=b,b.stateNode=a}W(b);return null;case 13:Ye(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(M&&null!==L&&0!==(b.mode&1)&&0===(b.flags&128))Rd(),Sd(),b.flags|=384,e=!1;else if(e=Pd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(u(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(u(317));e[Ib]=b;W(b);0!==(b.mode&2)&&null!==d&&(e=b.child,null!==e&&(b.treeBaseDuration-=e.treeBaseDuration))}else Sd(),0===(b.flags& -128)&&(b.memoizedState=null),b.flags|=4,W(b),0!==(b.mode&2)&&null!==d&&(e=b.child,null!==e&&(b.treeBaseDuration-=e.treeBaseDuration));e=!1}else null!==Bd&&(wi(Bd),Bd=null),e=!0;if(!e)return b.flags&256?b:null}if(0!==(b.flags&128))return b.lanes=c,0!==(b.mode&2)&&Wg(b),b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&& -null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);ti(b,b.updateQueue);W(b);0!==(b.mode&2)&&c&&(a=b.child,null!==a&&(b.treeBaseDuration-=a.treeBaseDuration));return null;case 4:return Ja(),null===a&&Ci(b.stateNode.containerInfo),W(b),null;case 10:return gi(b.type._context),W(b),null;case 17:return gd(b.type)&&hd(),W(b),null;case 19:D(Ve);e=b.memoizedState;if(null===e)return W(b),null;d=0!==(b.flags&128);f=e.rendering;if(null=== -f)if(d)ui(e,!1);else{if(0!==ph||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=Ze(a);if(null!==f){b.flags|=128;ui(e,!1);a=f.updateQueue;b.updateQueue=a;ti(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)Di(c,a),c=c.sibling;E(Ve,Ve.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Qa()>Ei&&(b.flags|=128,d=!0,ui(e,!1),b.lanes=8388608)}else{if(!d)if(a=Ze(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,ti(b,a),ui(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&& -!M)return W(b),null}else 2*Qa()-e.renderingStartTime>Ei&&1073741824!==c&&(b.flags|=128,d=!0,ui(e,!1),b.lanes=8388608);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Qa(),b.sibling=null,a=Ve.current,E(Ve,d?a&1|2:a&1),b;W(b);return null;case 22:case 23:return Ye(b),Re(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&& -0!==(b.mode&1)?0!==(c&1073741824)&&0===(b.flags&128)&&(W(b),b.subtreeFlags&6&&(b.flags|=8192)):W(b),c=b.updateQueue,null!==c&&ti(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(oi),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),gi(V), -W(b),null;case 25:return null}throw Error(u(156,b.tag));} -function Fi(a,b){Ad(b);switch(b.tag){case 1:return gd(b.type)&&hd(),a=b.flags,a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&Wg(b),b):null;case 3:return gi(V),Ja(),D(dd),D(cd),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return La(b),null;case 13:Ye(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(u(340));Sd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&Wg(b),b):null;case 19:return D(Ve),null;case 4:return Ja(), -null;case 10:return gi(b.type._context),null;case 22:case 23:return Ye(b),Re(),null!==a&&D(oi),a=b.flags,a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&Wg(b),b):null;case 24:return gi(V),null;case 25:return null;default:return null}} -function Gi(a,b){Ad(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&hd();break;case 3:gi(V);Ja();D(dd);D(cd);break;case 26:case 27:case 5:La(b);break;case 4:Ja();break;case 13:Ye(b);break;case 19:D(Ve);break;case 10:gi(b.type._context);break;case 22:case 23:Ye(b);Re();null!==a&&D(oi);break;case 24:gi(V)}}function Hi(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} -var Ii=!1,Ji=null,Ki=!1,Li=null,Mi={onError:function(a){Ii=!0;Ji=a}};function Ni(a,b,c,d,e,f,g,h,m){Ii=!1;Ji=null;Hi.apply(Mi,arguments)}function Oi(a,b,c,d,e,f,g,h,m){Ni.apply(this,arguments);if(Ii){if(Ii){var p=Ji;Ii=!1;Ji=null}else throw Error(u(198));Ki||(Ki=!0,Li=p)}}var Pi=!1,Qi=!1,Ri="function"===typeof WeakSet?WeakSet:Set,Si=null,Ti=null,Ui=null;function Vi(a){return 0!==(a.mode&2)&&0!==(N&4)} -function Wi(a,b){b.props=a.memoizedProps;b.state=a.memoizedState;if(Vi(a))try{Vg(),b.componentWillUnmount()}finally{Tg(a)}else b.componentWillUnmount()}function Xi(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}if("function"===typeof c)if(Vi(a))try{Vg(),a.refCleanup=c(e)}finally{Tg(a)}else a.refCleanup=c(e);else c.current=e}}catch(f){X(a,b,f)}} -function Yi(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{if(Vi(a))try{Vg(),d()}finally{Tg(a)}else d()}catch(e){X(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{if(Vi(a))try{Vg(),c(null)}finally{Tg(a)}else c(null)}catch(e){X(a,b,e)}else c.current=null}function Zi(a,b,c){try{c()}catch(d){X(a,b,d)}}var $i=!1; -function aj(a,b){bj=cj;a=dj();if(ej(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(n){c=null;break a}var g=0,h=-1,m=-1,p=0,q=0,x=a,r=null;b:for(;;){for(var t;;){x!==c||0!==e&&3!==x.nodeType||(h=g+e);x!==f||0!==d&&3!==x.nodeType||(m=g+d);3===x.nodeType&&(g+= -x.nodeValue.length);if(null===(t=x.firstChild))break;r=x;x=t}for(;;){if(x===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(m=g);if(null!==(t=x.nextSibling))break;x=r;r=x.parentNode}x=t}c=-1===h||-1===m?null:{start:h,end:m}}else c=null}c=c||{start:0,end:0}}else c=null;fj={focusedElem:a,selectionRange:c};cj=!1;for(Si=b;null!==Si;)if(b=Si,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,Si=a;else for(;null!==Si;){b=Si;try{var z=b.alternate,C=b.flags;switch(b.tag){case 0:break;case 11:case 15:break; -case 1:if(0!==(C&1024)&&null!==z){var H=z.memoizedProps,R=z.memoizedState,l=b.stateNode,k=l.getSnapshotBeforeUpdate(b.elementType===b.type?H:Xg(b.type,H),R);l.__reactInternalSnapshotBeforeUpdate=k}break;case 3:0!==(C&1024)&&gj(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(C&1024))throw Error(u(163));}}catch(n){X(b,b.return,n)}a=b.sibling;if(null!==a){a.return=b.return;Si=a;break}Si=b.return}z=$i;$i=!1;return z} -function hj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectUnmountStarted&&F.markComponentPassiveEffectUnmountStarted(b):0!==(a&4)&&gb(b),Zi(b,c,g),0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectUnmountStopped&&F.markComponentPassiveEffectUnmountStopped():0!==(a&4)&&hb())}e=e.next}while(e!==d)}} -function ij(a,b){var c=b.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do{if((d.tag&a)===a){0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectMountStarted&&F.markComponentPassiveEffectMountStarted(b):0!==(a&4)&&null!==F&&"function"===typeof F.markComponentLayoutEffectMountStarted&&F.markComponentLayoutEffectMountStarted(b);var e=d.create,f=d.inst;e=e();f.destroy=e;0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectMountStopped&&F.markComponentPassiveEffectMountStopped(): -0!==(a&4)&&null!==F&&"function"===typeof F.markComponentLayoutEffectMountStopped&&F.markComponentLayoutEffectMountStopped()}d=d.next}while(d!==c)}}function jj(a,b){if(Vi(a)){try{Vg(),ij(b,a)}catch(c){X(a,a.return,c)}Tg(a)}else try{ij(b,a)}catch(c){X(a,a.return,c)}}function kj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{ne(b,c)}catch(d){X(a,a.return,d)}}} -function lj(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){X(a,a.return,e)}} -function mj(a,b){if(N&4)try{var c=a.memoizedProps,d=c.onCommit,e=c.onRender,f=a.stateNode.effectDuration;c=Ng;b=null===b?"mount":"update";lf&&(b="nested-update");"function"===typeof e&&e(a.memoizedProps.id,b,a.actualDuration,a.treeBaseDuration,a.actualStartTime,c);"function"===typeof d&&d(a.memoizedProps.id,b,f,c);nj(a);var g=a.return;a:for(;null!==g;){switch(g.tag){case 3:g.stateNode.effectDuration+=f;break a;case 12:g.stateNode.effectDuration+=f;break a}g=g.return}}catch(h){X(a,a.return,h)}} -function oj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:pj(a,c);d&4&&jj(c,5);break;case 1:pj(a,c);if(d&4)if(a=c.stateNode,null===b)if(Vi(c)){try{Vg(),a.componentDidMount()}catch(h){X(c,c.return,h)}Tg(c)}else try{a.componentDidMount()}catch(h){X(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:Xg(c.type,b.memoizedProps);b=b.memoizedState;if(Vi(c)){try{Vg(),a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){X(c,c.return,h)}Tg(c)}else try{a.componentDidUpdate(e, -b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){X(c,c.return,h)}}d&64&&kj(c);d&512&&Xi(c,c.return);break;case 3:pj(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}try{ne(d,a)}catch(h){X(c,c.return,h)}}break;case 26:pj(a,c);d&512&&Xi(c,c.return);break;case 27:case 5:pj(a,c);null===b&&d&4&&lj(c);d&512&&Xi(c,c.return);break;case 12:pj(a,c);d&4&&mj(c,b);break;case 13:pj(a,c);d&4&&qj(a,c);break; -case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||Pi,!e){b=null!==b&&null!==b.memoizedState||Qi;var f=Pi,g=Qi;Pi=e;(Qi=b)&&!g?rj(a,c,0!==(c.subtreeFlags&8772)):pj(a,c);Pi=f;Qi=g}}else pj(a,c);d&512&&("manual"===c.memoizedProps.mode?Xi(c,c.return):Yi(c,c.return));break;default:pj(a,c)}} -function sj(a){var b=a.alternate;null!==b&&(a.alternate=null,sj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Qb(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function tj(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} -function uj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||tj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} -function vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=wj));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(vj(a,b,c),a=a.sibling;null!==a;)vj(a,b,c),a=a.sibling} -function xj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(xj(a,b,c),a=a.sibling;null!==a;)xj(a,b,c),a=a.sibling}var yj=null,zj=!1;function Aj(a,b,c){for(c=c.child;null!==c;)Bj(a,b,c),c=c.sibling} -function Bj(a,b,c){if(Ya&&"function"===typeof Ya.onCommitFiberUnmount)try{Ya.onCommitFiberUnmount(Xa,c)}catch(m){}switch(c.tag){case 26:Qi||Yi(c,b);Aj(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Qi||Yi(c,b);var d=yj,e=zj;yj=c.stateNode;Aj(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Qb(c);yj=d;zj=e;break;case 5:Qi||Yi(c,b);case 6:d=yj;e=zj;yj=null;Aj(a,b,c);yj=d;zj=e;null!==yj&&(zj?(a=yj,c=c.stateNode, -8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):yj.removeChild(c.stateNode));break;case 18:null!==yj&&(zj?(a=yj,c=c.stateNode,8===a.nodeType?Cj(a.parentNode,c):1===a.nodeType&&Cj(a,c),Dj(a)):Cj(yj,c.stateNode));break;case 4:d=yj;e=zj;yj=c.stateNode.containerInfo;zj=!0;Aj(a,b,c);yj=d;zj=e;break;case 0:case 11:case 14:case 15:if(!Qi&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,Zi(c,b,h)): -0!==(f&4)&&(gb(c),Vi(c)?(Vg(),g.destroy=void 0,Zi(c,b,h),Tg(c)):(g.destroy=void 0,Zi(c,b,h)),hb()));e=e.next}while(e!==d)}Aj(a,b,c);break;case 1:if(!Qi&&(Yi(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{Wi(c,d)}catch(m){X(c,b,m)}Aj(a,b,c);break;case 21:Aj(a,b,c);break;case 22:Yi(c,b);c.mode&1?(Qi=(d=Qi)||null!==c.memoizedState,Aj(a,b,c),Qi=d):Aj(a,b,c);break;default:Aj(a,b,c)}} -function qj(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{Dj(a)}catch(c){X(b,b.return,c)}}function Ej(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new Ri);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new Ri),b;default:throw Error(u(435,a.tag));}} -function Fj(a,b){var c=Ej(a);b.forEach(function(d){var e=Gj.bind(null,a,d);if(!c.has(d)){c.add(d);if(Za)if(null!==Ti&&null!==Ui)nh(Ui,Ti);else throw Error(u(413));d.then(e,e)}})}function Hj(a,b,c){Ti=c;Ui=a;Ij(b,a);Ui=Ti=null} -function Jj(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:yj=h.stateNode;zj=!1;break a;case 3:yj=h.stateNode.containerInfo;zj=!0;break a;case 4:yj=h.stateNode.containerInfo;zj=!0;break a}h=h.return}if(null===yj)throw Error(u(160));Bj(f,g,e);yj=null;zj=!1;var m=e.alternate;null!==m&&(m.return=null);e.return=null}catch(p){X(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)Ij(b,a),b=b.sibling} -var Kj=null; -function Ij(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Jj(b,a);Lj(a);if(d&4){try{hj(3,a,a.return),ij(3,a)}catch(t){X(a,a.return,t)}if(Vi(a)){try{Vg(),hj(5,a,a.return)}catch(t){X(a,a.return,t)}Tg(a)}else try{hj(5,a,a.return)}catch(t){X(a,a.return,t)}}break;case 1:Jj(b,a);Lj(a);d&512&&null!==c&&Yi(c,c.return);d&64&&Pi&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e= -Kj;Jj(b,a);Lj(a);d&512&&null!==c&&Yi(c,c.return);if(d&4)if(b=null!==c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Pb]||e[Ib]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));Ai(e,c,d);e[Ib]=a;Xb(e);c=e;break a;case "link":var f=Mj("link", -"href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g],e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);Ai(e,c,d);b.head.appendChild(e);break;case "meta":if(f=Mj("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")=== -(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null==d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);Ai(e,c,d);b.head.appendChild(e);break;default:throw Error(u(468,c));}e[Ib]=a;Xb(e);c=e}a.stateNode=c}else Nj(e,a.type,a.stateNode);else a.stateNode=Oj(e,d,a.memoizedProps); -else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)):b.count--,null===d?Nj(e,a.type,a.stateNode):Oj(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,m=a.memoizedProps;Pj(h,a.type,c.memoizedProps,m);h[Jb]=m}catch(t){X(a,a.return,t)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Pb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"=== -q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p=e.attributes;p.length;)e.removeAttributeNode(p[0]);Ai(e,g,f);e[Ib]=a;e[Jb]=f}case 5:Jj(b,a);Lj(a);d&512&&null!==c&&Yi(c,c.return);if(a.flags&32){b=a.stateNode;try{Jc(b,"")}catch(t){X(a,a.return,t)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{Pj(d,e,c,b),d[Jb]=b}catch(t){X(a,a.return,t)}}break;case 6:Jj(b,a);Lj(a);if(d&4){if(null===a.stateNode)throw Error(u(162)); -c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(t){X(a,a.return,t)}}break;case 3:Qj=null;e=Kj;Kj=Rj(b.containerInfo);Jj(b,a);Kj=e;Lj(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{Dj(b.containerInfo)}catch(t){X(a,a.return,t)}break;case 4:c=Kj;Kj=Rj(a.stateNode.containerInfo);Jj(b,a);Lj(a);Kj=c;break;case 13:Jj(b,a);Lj(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(Sj=Qa());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Fj(a,c)));break;case 22:d& -512&&null!==c&&Yi(c,c.return);h=null!==a.memoizedState;m=null!==c&&null!==c.memoizedState;if(a.mode&1){var x=Pi,r=Qi;Pi=x||h;Qi=r||m;Jj(b,a);Qi=r;Pi=x}else Jj(b,a);Lj(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=Pi||Qi,null===c||m||b||0!==(a.mode&1)&&Tj(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e= -b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display","none","important"):f.display="none"):(g=b.stateNode,p=b.memoizedProps.style,q=void 0!==p&&null!==p&&p.hasOwnProperty("display")?p.display:null,g.style.display=null==q||"boolean"===typeof q?"":(""+q).trim())}catch(t){X(a,a.return,t)}}}else if(6===b.tag){if(null===c)try{b.stateNode.nodeValue=h?"":b.memoizedProps}catch(t){X(a,a.return,t)}}else if((22!==b.tag&&23!==b.tag||null===b.memoizedState||b===a)&&null!==b.child){b.child.return= -b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null===b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,Fj(a,d))));break;case 19:Jj(b,a);Lj(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,Fj(a,c)));break;case 21:break;default:Jj(b,a),Lj(a)}} -function Lj(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(tj(c)){var d=c;break b}c=c.return}throw Error(u(160));}switch(d.tag){case 27:var e=d.stateNode,f=uj(a);xj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(Jc(g,""),d.flags&=-33);var h=uj(a);xj(a,h,g);break;case 3:case 4:var m=d.stateNode.containerInfo,p=uj(a);vj(a,p,m);break;default:throw Error(u(161));}}}catch(q){X(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} -function Uj(a,b,c){Ti=c;Ui=b;oj(b,a.alternate,a);Ui=Ti=null}function pj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)oj(a,b.alternate,b),b=b.sibling} -function Tj(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:if(Vi(b))try{Vg(),hj(4,b,b.return)}finally{Tg(b)}else hj(4,b,b.return);Tj(b);break;case 1:Yi(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{Wi(d,c)}catch(f){X(d,e,f)}}Tj(b);break;case 26:case 27:case 5:Yi(b,b.return);Tj(b);break;case 22:Yi(b,b.return);null===b.memoizedState&&Tj(b);break;default:Tj(b)}a=a.sibling}} -function rj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:rj(e,f,c);jj(f,4);break;case 1:rj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(m){X(f,f.return,m)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)me(h[d],e)}c&&g&64&&kj(f);Xi(f,f.return);break;case 26:case 27:case 5:rj(e,f,c); -c&&null===d&&g&4&&lj(f);Xi(f,f.return);break;case 12:rj(e,f,c);c&&g&4&&mj(f,d);break;case 13:rj(e,f,c);c&&g&4&&qj(e,f);break;case 22:null===f.memoizedState&&rj(e,f,c);Xi(f,f.return);break;default:rj(e,f,c)}b=b.sibling}}function Vj(a,b){if(Vi(a)){Qg=Mg();try{ij(b,a)}catch(c){X(a,a.return,c)}Ug(a)}else try{ij(b,a)}catch(c){X(a,a.return,c)}} -function Wj(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&mi(c))}function Xj(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&mi(a))} -function Yj(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)Zj(a,b,c,d),b=b.sibling} -function Zj(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Yj(a,b,c,d);e&2048&&Vj(b,9);break;case 3:Yj(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&mi(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Yj(a,b,c,d):b.mode&1?ak(a,b):(f._visibility|=4,Yj(a,b,c,d)):f._visibility&4?Yj(a,b,c,d):(f._visibility|=4,bk(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&Wj(b.alternate, -b);break;case 24:Yj(a,b,c,d);e&2048&&Xj(b.alternate,b);break;default:Yj(a,b,c,d)}} -function bk(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,m=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:bk(f,g,h,m,e);Vj(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?bk(f,g,h,m,e):g.mode&1?ak(f,g):(q._visibility|=4,bk(f,g,h,m,e)):(q._visibility|=4,bk(f,g,h,m,e));e&&p&2048&&Wj(g.alternate,g);break;case 24:bk(f,g,h,m,e);e&&p&2048&&Xj(g.alternate,g);break;default:bk(f,g,h,m,e)}b=b.sibling}} -function ak(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:ak(c,d);e&2048&&Wj(d.alternate,d);break;case 24:ak(c,d);e&2048&&Xj(d.alternate,d);break;default:ak(c,d)}b=b.sibling}}var ck=8192;function dk(a){if(a.subtreeFlags&ck)for(a=a.child;null!==a;)ek(a),a=a.sibling} -function ek(a){switch(a.tag){case 26:dk(a);a.flags&ck&&null!==a.memoizedState&&fk(Kj,a.memoizedState,a.memoizedProps);break;case 5:dk(a);break;case 3:case 4:var b=Kj;Kj=Rj(a.stateNode.containerInfo);dk(a);Kj=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=ck,ck=16777216,dk(a),ck=b):dk(a));break;default:dk(a)}}function gk(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} -function hk(a,b,c){Vi(a)?(Qg=Mg(),hj(c,a,b),Ug(a)):hj(c,a,b)}function ik(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Si=d;jk(d,a)}gk(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)kk(a),a=a.sibling} -function kk(a){switch(a.tag){case 0:case 11:case 15:ik(a);a.flags&2048&&hk(a,a.return,9);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,lk(a)):ik(a);break;default:ik(a)}} -function lk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];Si=d;jk(d,a)}gk(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:hk(b,b.return,8);lk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,lk(b));break;default:lk(b)}a=a.sibling}} -function jk(a,b){for(;null!==Si;){var c=Si;switch(c.tag){case 0:case 11:case 15:hk(c,b,8);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:mi(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,Si=d;else a:for(c=a;null!==Si;){d=Si;var e=d.sibling,f=d.return;sj(d);if(d===c){Si=null;break a}if(null!==e){e.return=f;Si=e;break a}Si=f}}} -var mk={getCacheSignal:function(){return ag(V).controller.signal},getCacheForType:function(a){var b=ag(V),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},nk="function"===typeof WeakMap?WeakMap:Map,ok=da.ReactCurrentDispatcher,pk=da.ReactCurrentCache,qk=da.ReactCurrentOwner,rk=da.ReactCurrentBatchConfig,N=0,P=null,Y=null,O=0,Q=0,sk=null,tk=!1,Pe=0,ph=0,pf=null,le=0,uk=0,vk=0,rh=null,tf=null,Sj=0,Ei=Infinity,uf=null,hh=!1,ih=null,kh=null,wk=!1,xk=null,yk=0,zk=[],Ak=0,Bk=null,be=0,ce= -null;function Gg(a){if(0===(a.mode&1))return 2;if(0!==(N&2)&&0!==O)return O&-O;if(null!==ni.transition)return a=zf,0===a&&(0===ef&&(ef=vb()),a=ef),a;a=G;if(0!==a)return a;a=window.event;a=void 0===a?32:Ck(a.type);return a}function ng(a,b,c){if(a===P&&2===Q||null!==a.cancelPendingCommit)qf(a,0),rf(a,O);yb(a,c);if(0===(N&2)||a!==P)Za&&Bb(a,b,c),a===P&&(0===(N&2)&&(uk|=c),4===ph&&rf(a,O)),ff(a),2===c&&0===N&&0===(b.mode&1)&&(Ei=Qa()+500,jf(!0))} -function xf(a,b){mf=lf=!1;if(0!==(N&6))throw Error(u(327));var c=a.callbackNode;if(kf()&&a.callbackNode!==c)return null;var d=sb(a,a===P?O:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?Dk(a,d):nf(a,d);if(0!==b){var f=e;do{if(6===b)rf(a,d);else{e=a.current.alternate;if(f&&!Ek(e)){b=nf(a,d);f=!1;continue}if(2===b){f=d;var g=ub(a,f);0!==g&&(d=g,b=of(a,f,g))}if(1===b)throw c=pf,qf(a,0),rf(a,d),ff(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(u(345)); -case 4:if((d&8388480)===d){rf(f,d);break a}break;case 2:case 3:case 5:break;default:throw Error(u(329));}if((d&125829120)===d&&(b=Sj+300-Qa(),10<b)){rf(f,d);if(0!==sb(f,0))break a;f.timeoutHandle=Fk(Gk.bind(null,f,e,tf,uf,d),b);break a}Gk(f,e,tf,uf,d)}}break}while(1)}ff(a);wf(a,Qa());a=a.callbackNode===c?xf.bind(null,a):null;return a} -function of(a,b,c){var d=rh,e=a.current.memoizedState.isDehydrated;e&&(qf(a,c).flags|=256);c=nf(a,c);if(2!==c){if(tk&&!e)return a.errorRecoveryDisabledLanes|=b,uk|=b,4;a=tf;tf=d;null!==a&&wi(a)}return c}function wi(a){null===tf?tf=a:tf.push.apply(tf,a)}function Gk(a,b,c,d,e){if(0===(e&42)&&(Hk={stylesheets:null,count:0,unsuspend:Ik},ek(b),b=Jk(),null!==b)){a.cancelPendingCommit=b(sf.bind(null,a,c,d));rf(a,e);return}sf(a,c,d)} -function Ek(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!nd(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} -function rf(a,b){b&=~vk;b&=~uk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-mb(b),d=1<<c;a[c]=-1;b&=~d}}function Kk(a,b){var c=N;N|=1;try{return a(b)}finally{N=c,0===N&&(Ei=Qa()+500,jf(!0))}}function Lk(a){null!==xk&&0===xk.tag&&0===(N&6)&&kf();var b=N;N|=1;var c=rk.transition,d=G;try{if(rk.transition=null,G=2,a)return a()}finally{G=d,rk.transition=c,N=b,0===(N&6)&&jf(!1)}} -function Mk(){if(null!==Y){if(0===Q)var a=Y.return;else a=Y,fi(),Vf(a),xe=null,ye=0,a=Y;for(;null!==a;)Gi(a.alternate,a),a=a.return;Y=null}}function qf(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Nk(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());Mk();P=a;Y=a=Ee(a.current,null);O=Pe=b;Q=0;sk=null;tk=!1;ph=0;pf=null;vk=uk=le=0;tf=rh=null;Xd();return a} -function Ok(a,b){S=null;Af.current=Rf;qk.current=null;b===pe?(b=we(),Q=si()&&0===(le&268435455)&&0===(uk&268435455)?2:3):b===qe?(b=we(),Q=4):Q=b===th?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;sk=b;a=Y;if(null===a)ph=1,pf=b;else switch(a.mode&2&&Sg(a,!0),fb(),Q){case 1:null!==F&&"function"===typeof F.markComponentErrored&&F.markComponentErrored(a,b,O);break;case 2:case 3:case 6:case 7:null!==F&&"function"===typeof F.markComponentSuspended&&F.markComponentSuspended(a,b,O)}} -function si(){var a=Se.current;return null===a?!0:(O&8388480)===O?null===Te?!0:!1:(O&125829120)===O||0!==(O&1073741824)?a===Te:!1}function Pk(){var a=ok.current;ok.current=Rf;return null===a?Rf:a}function Qk(){var a=pk.current;pk.current=mk;return a}function oh(){ph=4;null===P||0===(le&268435455)&&0===(uk&268435455)||rf(P,O)} -function nf(a,b){var c=N;N|=2;var d=Pk(),e=Qk();if(P!==a||O!==b){if(Za){var f=a.memoizedUpdaters;0<f.size&&(nh(a,O),f.clear());Cb(a,b)}uf=null;qf(a,b)}ib(b);b=!1;a:do try{if(0!==Q&&null!==Y){f=Y;var g=sk;switch(Q){case 8:Mk();ph=6;break a;case 3:case 2:b||null!==Se.current||(b=!0);default:Q=0,sk=null,Rk(f,g)}}Sk();break}catch(h){Ok(a,h)}while(1);b&&a.shellSuspendCounter++;fi();N=c;ok.current=d;pk.current=e;if(null!==Y)throw Error(u(261));jb();P=null;O=0;Xd();return ph} -function Sk(){for(;null!==Y;)Tk(Y)} -function Dk(a,b){var c=N;N|=2;var d=Pk(),e=Qk();if(P!==a||O!==b){if(Za){var f=a.memoizedUpdaters;0<f.size&&(nh(a,O),f.clear());Cb(a,b)}uf=null;Ei=Qa()+500;qf(a,b)}ib(b);a:do try{if(0!==Q&&null!==Y)b:switch(b=Y,f=sk,Q){case 1:Q=0;sk=null;Rk(b,f);break;case 2:if(se(f)){Q=0;sk=null;Uk(b);break}b=function(){2===Q&&P===a&&(Q=7);ff(a)};f.then(b,b);break a;case 3:Q=7;break a;case 4:Q=5;break a;case 7:se(f)?(Q=0,sk=null,Uk(b)):(Q=0,sk=null,Rk(b,f));break;case 5:switch(Y.tag){case 5:case 26:case 27:b=Y;Q= -0;sk=null;var g=b.sibling;if(null!==g)Y=g;else{var h=b.return;null!==h?(Y=h,Vk(h)):Y=null}break b}Q=0;sk=null;Rk(b,f);break;case 6:Q=0;sk=null;Rk(b,f);break;case 8:Mk();ph=6;break a;default:throw Error(u(462));}Wk();break}catch(m){Ok(a,m)}while(1);fi();ok.current=d;pk.current=e;N=c;if(null!==Y)return null!==F&&"function"===typeof F.markRenderYielded&&F.markRenderYielded(),0;jb();P=null;O=0;Xd();return ph}function Wk(){for(;null!==Y&&!Oa();)Tk(Y)} -function Tk(a){var b=a.alternate;0!==(a.mode&2)?(Rg(a),b=Xk(b,a,Pe),Sg(a,!0)):b=Xk(b,a,Pe);a.memoizedProps=a.pendingProps;null===b?Vk(a):Y=b;qk.current=null} -function Uk(a){var b=a.alternate,c=0!==(a.mode&2);c&&Rg(a);switch(a.tag){case 2:a.tag=0;case 15:case 0:var d=a.type,e=a.pendingProps;e=a.elementType===d?e:Xg(d,e);var f=gd(d)?ed:cd.current;f=fd(a,f);b=Hh(b,a,e,d,f,O);break;case 11:d=a.type.render;e=a.pendingProps;e=a.elementType===d?e:Xg(d,e);b=Hh(b,a,e,d,a.ref,O);break;case 5:Vf(a);default:Gi(b,a),a=Y=Di(a,Pe),b=Xk(b,a,Pe)}c&&Sg(a,!0);a.memoizedProps=a.pendingProps;null===b?Vk(a):Y=b;qk.current=null} -function Rk(a,b){fi();Vf(a);xe=null;ye=0;var c=a.return;if(null===c||null===P)ph=1,pf=b,Y=null;else{try{mh(P,c,a,b,O)}catch(d){throw Y=c,d;}if(a.flags&32768)a:{do{b=Fi(a.alternate,a);if(null!==b){b.flags&=32767;Y=b;break a}if(0!==(a.mode&2)){Sg(a,!1);b=a.actualDuration;for(c=a.child;null!==c;)b+=c.actualDuration,c=c.sibling;a.actualDuration=b}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);Y=a}while(null!==a);ph=6;Y=null}else Vk(a)}} -function Vk(a){var b=a;do{var c=b.alternate;a=b.return;0===(b.mode&2)?c=vi(c,b,Pe):(Rg(b),c=vi(c,b,Pe),Sg(b,!1));if(null!==c){Y=c;return}b=b.sibling;if(null!==b){Y=b;return}Y=b=a}while(null!==b);0===ph&&(ph=5)}function sf(a,b,c){var d=G,e=rk.transition;try{rk.transition=null,G=2,Yk(a,b,c,d)}finally{rk.transition=e,G=d}return null} -function Yk(a,b,c,d){do kf();while(null!==xk);if(0!==(N&6))throw Error(u(327));var e=a.finishedWork,f=a.finishedLanes;null!==F&&"function"===typeof F.markCommitStarted&&F.markCommitStarted(f);if(null===e)return db(),null;a.finishedWork=null;a.finishedLanes=0;if(e===a.current)throw Error(u(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var g=e.lanes|e.childLanes;g|=Wd;zb(a,g);a===P&&(Y=P=null,O=0);0===(e.subtreeFlags&10256)&&0===(e.flags&10256)||wk||(wk=!0,Ak=g,Bk=c,Zk(Ua, -function(){kf();return null}));c=0!==(e.flags&15990);if(0!==(e.subtreeFlags&15990)||c){c=rk.transition;rk.transition=null;var h=G;G=2;var m=N;N|=4;qk.current=null;aj(a,e);Ng=Mg();Hj(a,e,f);$k(fj);cj=!!bj;fj=bj=null;a.current=e;null!==F&&"function"===typeof F.markLayoutEffectsStarted&&F.markLayoutEffectsStarted(f);Uj(e,a,f);null!==F&&"function"===typeof F.markLayoutEffectsStopped&&F.markLayoutEffectsStopped();Pa();N=m;G=h;rk.transition=c}else a.current=e,Ng=Mg();wk?(wk=!1,xk=a,yk=f):al(a,g);g=a.pendingLanes; -0===g&&(kh=null);$a(e.stateNode,d);Za&&a.memoizedUpdaters.clear();ff(a);if(null!==b)for(d=a.onRecoverableError,e=0;e<b.length;e++)g=b[e],c={digest:g.digest,componentStack:g.stack},d(g.value,c);if(hh)throw hh=!1,a=ih,ih=null,a;0!==(yk&3)&&0!==a.tag&&kf();g=a.pendingLanes;0!==(f&8388522)&&0!==(g&2)?(mf=!0,a===ce?be++:(be=0,ce=a)):be=0;jf(!1);db();return null}function al(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,mi(b)))} -function kf(){if(null!==xk){var a=xk,b=Ak;Ak=0;var c=Eb(yk),d=32>c?32:c;c=rk.transition;var e=G;try{rk.transition=null;G=d;if(null===xk)var f=!1;else{var g=Bk;Bk=null;d=xk;var h=yk;xk=null;yk=0;if(0!==(N&6))throw Error(u(331));null!==F&&"function"===typeof F.markPassiveEffectsStarted&&F.markPassiveEffectsStarted(h);var m=N;N|=4;kk(d.current);Zj(d,d.current,h,g);g=zk;zk=[];for(h=0;h<g.length;h++){var p=g[h];if(N&4&&0!==(p.flags&4))switch(p.tag){case 12:var q=p.stateNode.passiveEffectDuration,x=p.memoizedProps, -r=x.id,t=x.onPostCommit,z=Ng,C=null===p.alternate?"mount":"update";lf&&(C="nested-update");"function"===typeof t&&t(r,C,q,z);var H=p.return;b:for(;null!==H;){switch(H.tag){case 3:H.stateNode.passiveEffectDuration+=q;break b;case 12:H.stateNode.passiveEffectDuration+=q;break b}H=H.return}}}null!==F&&"function"===typeof F.markPassiveEffectsStopped&&F.markPassiveEffectsStopped();N=m;jf(!1);if(Ya&&"function"===typeof Ya.onPostCommitFiberRoot)try{Ya.onPostCommitFiberRoot(Xa,d)}catch(l){}var R=d.current.stateNode; -R.effectDuration=0;R.passiveEffectDuration=0;f=!0}return f}finally{G=e,rk.transition=c,al(a,b)}}return!1}function nj(a){zk.push(a);wk||(wk=!0,Zk(Ua,function(){kf();return null}))}function bl(a,b,c){b=dh(c,b);b=gh(a,b,2);a=he(a,b,2);null!==a&&(yb(a,2),ff(a))} -function X(a,b,c){if(3===a.tag)bl(a,a,c);else for(;null!==b;){if(3===b.tag){bl(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===kh||!kh.has(d))){a=dh(c,a);a=jh(b,a,2);b=he(b,a,2);null!==b&&(yb(b,2),ff(b));break}}b=b.return}} -function qh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new nk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(tk=!0,e.add(c),d=cl.bind(null,a,b,c),Za&&nh(a,c),b.then(d,d))}function cl(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;P===a&&(O&c)===c&&(4===ph||3===ph&&(O&125829120)===O&&300>Qa()-Sj?0===(N&2)&&qf(a,0):vk|=c);ff(a)}function dl(a,b){0===b&&(b=0===(a.mode&1)?2:wb());a=$d(a,b);null!==a&&(yb(a,b),ff(a))} -function Vh(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);dl(a,c)}function Gj(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(u(314));}null!==d&&d.delete(b);dl(a,c)}var Xk; -Xk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||dd.current)dg=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return dg=!1,$h(a,b,c);dg=0!==(a.flags&131072)?!0:!1}else dg=!1,M&&0!==(b.flags&1048576)&&yd(b,rd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;Jh(a,b);a=b.pendingProps;var e=fd(b,cd.current);wh(b,c);eb(b);e=Mf(null,b,d,a,e,c);var f=Tf();fb();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= -null,gd(d)?(f=!0,kd(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ee(b),e.updater=Zg,b.stateNode=e,e._reactInternals=b,ch(b,d,a,c),b=Kh(null,b,d,!0,f,c)):(b.tag=0,M&&f&&zd(b),uh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{Jh(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=el(d);a=Xg(d,a);switch(e){case 0:b=Bh(null,b,d,a,c);break a;case 1:b=Ih(null,b,d,a,c);break a;case 11:b=vh(null,b,d,a,c);break a;case 14:b=yh(null,b,d,Xg(d.type,a),c);break a}throw Error(u(306, -d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Xg(d,e),Bh(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Xg(d,e),Ih(a,b,d,e,c);case 3:a:{Lh(b);if(null===a)throw Error(u(387));e=b.pendingProps;f=b.memoizedState;d=f.element;fe(a,b);ke(b,e,null,c);var g=b.memoizedState;e=g.cache;ai(b,V,e);e!==f.cache&&hi(b,V,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= -dh(Error(u(423)),b);b=Mh(a,b,e,c,d);break a}else if(e!==d){d=dh(Error(u(424)),b);b=Mh(a,b,e,c,d);break a}else for(L=Id(b.stateNode.containerInfo.firstChild),I=b,M=!0,Bd=null,Cd=!0,c=Le(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Sd();if(e===d){b=xh(a,b,c);break a}uh(a,b,e,c)}b=b.child}return b;case 26:return Dh(a,b),c=b.memoizedState=fl(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||M||null!==c||(c=b.type,a=b.pendingProps,d=zi(Fa.current).createElement(c),d[Ib]= -b,d[Jb]=a,Ai(d,c,a),Xb(d),b.stateNode=d),null;case 27:return Ka(b),null===a&&M&&(d=b.stateNode=yi(b.type,b.pendingProps,Fa.current),I=b,Cd=!0,L=Id(d.firstChild)),d=b.pendingProps.children,null!==a||M?uh(a,b,d,c):b.child=Ke(b,null,d,c),Dh(a,b),b.child;case 5:return Ka(b),null===a&&M&&((e=d=L,e)?Gd(b,e)||(Md(b)&&Nd(),L=Id(e.nextSibling),f=I,L&&Gd(b,L)?Dd(f,e):(Fd(I,b),M=!1,I=b,L=d)):(Md(b)&&Nd(),Fd(I,b),M=!1,I=b,L=d)),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Qd(d,e)?g= -null:null!==f&&Qd(d,f)&&(b.flags|=32),Dh(a,b),uh(a,b,g,c),b.child;case 6:return null===a&&M&&((d=""!==b.pendingProps,a=c=L,a&&d)?Jd(b,a)||(Md(b)&&Nd(),L=Id(a.nextSibling),d=I,L&&Jd(b,L)?Dd(d,a):(Fd(I,b),M=!1,I=b,L=c)):(Md(b)&&Nd(),Fd(I,b),M=!1,I=b,L=c)),null;case 13:return Qh(a,b,c);case 4:return Ga(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ke(b,null,d,c):uh(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Xg(d,e),vh(a,b,d,e,c);case 7:return uh(a, -b,b.pendingProps,c),b.child;case 8:return uh(a,b,b.pendingProps.children,c),b.child;case 12:return b.flags|=4,d=b.stateNode,d.effectDuration=0,d.passiveEffectDuration=0,uh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;ai(b,d,g);if(null!==f)if(nd(f.value,g)){if(f.children===e.children&&!dd.current){b=xh(a,b,c);break a}}else hi(b,d,c);uh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,wh(b,c),e= -ag(e),eb(b),d=d(e),fb(),b.flags|=1,uh(a,b,d,c),b.child;case 14:return d=b.type,e=Xg(d,b.pendingProps),e=Xg(d.type,e),yh(a,b,d,e,c);case 15:return Ah(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Xg(d,e),Jh(a,b),b.tag=1,gd(d)?(a=!0,kd(b)):a=!1,wh(b,c),ah(b,d,e),ch(b,d,e,c),Kh(null,b,d,!0,a,c);case 19:return Zh(a,b,c);case 22:return Ch(a,b,c);case 24:return wh(b,c),d=ag(V),null===a?(e=Gh(),null===e&&(e=P,f=Hg(),e.pooledCache=f,f.refCount++,null!==f&&(e.pooledCacheLanes|= -c),e=f),b.memoizedState={parent:d,cache:e},ee(b),ai(b,V,e)):(0!==(a.lanes&c)&&(fe(a,b),ke(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),ai(b,V,d)):(d=f.cache,ai(b,V,d),d!==e.cache&&hi(b,V,c))),uh(a,b,b.pendingProps.children,c),b.child}throw Error(u(156,b.tag));};function nh(a,b){Za&&a.memoizedUpdaters.forEach(function(c){Bb(a,c,b)})}function Zk(a,b){return Ma(a,b)} -function gl(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null;this.actualDuration=0;this.actualStartTime=-1;this.treeBaseDuration=this.selfBaseDuration=0} -function Ed(a,b,c,d){return new gl(a,b,c,d)}function zh(a){a=a.prototype;return!(!a||!a.isReactComponent)}function el(a){if("function"===typeof a)return zh(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===ra)return 11;if(a===ua)return 14}return 2} -function Ee(a,b){var c=a.alternate;null===c?(c=Ed(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null,c.actualDuration=0,c.actualStartTime=-1);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null: +e.createElement(c)}}a[Mb]=b;a[Nb]=d;a:for(e=b.child;null!==e;){if(5===e.tag||6===e.tag)a.appendChild(e.stateNode);else if(4!==e.tag&&27!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break a;for(;null===e.sibling;){if(null===e.return||e.return===b)break a;e=e.return}e.sibling.return=e.return;e=e.sibling}b.stateNode=a;a:switch(bj(a,c,d),c){case "button":case "input":case "select":case "textarea":a=!!d.autoFocus;break a;case "img":a=!0;break a;default:a=!1}a&&Ri(b)}null!==b.ref&& +Si(b)}V(b);b.flags&=-16777217;return null;case 6:if(a&&null!=b.stateNode)a.memoizedProps!==d&&Ri(b);else{if("string"!==typeof d&&null===b.stateNode)throw Error(t(166));a=Ga.current;if(Vd(b)){a:{a=b.stateNode;c=b.memoizedProps;a[Mb]=b;if(d=a.nodeValue!==c)if(e=H,null!==e)switch(e.tag){case 3:e=0!==(e.mode&1);cj(a.nodeValue,c,e);if(e){a=!1;break a}break;case 27:case 5:var f=0!==(e.mode&1);!0!==e.memoizedProps.suppressHydrationWarning&&cj(a.nodeValue,c,f);if(f){a=!1;break a}}a=d}a&&Ri(b)}else a=aj(a).createTextNode(d), +a[Mb]=b,b.stateNode=a}V(b);return null;case 13:ef(b);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(K&&null!==I&&0!==(b.mode&1)&&0===(b.flags&128))Xd(),Yd(),b.flags|=384,e=!1;else if(e=Vd(b),null!==d&&null!==d.dehydrated){if(null===a){if(!e)throw Error(t(318));e=b.memoizedState;e=null!==e?e.dehydrated:null;if(!e)throw Error(t(317));e[Mb]=b;V(b);0!==(b.mode&2)&&null!==d&&(e=b.child,null!==e&&(b.treeBaseDuration-=e.treeBaseDuration))}else Yd(),0===(b.flags& +128)&&(b.memoizedState=null),b.flags|=4,V(b),0!==(b.mode&2)&&null!==d&&(e=b.child,null!==e&&(b.treeBaseDuration-=e.treeBaseDuration));e=!1}else null!==Fd&&(Yi(Fd),Fd=null),e=!0;if(!e)return b.flags&256?b:null}if(0!==(b.flags&128))return b.lanes=c,0!==(b.mode&2)&&wh(b),b;c=null!==d;a=null!==a&&null!==a.memoizedState;c&&(d=b.child,e=null,null!==d.alternate&&null!==d.alternate.memoizedState&&null!==d.alternate.memoizedState.cachePool&&(e=d.alternate.memoizedState.cachePool.pool),f=null,null!==d.memoizedState&& +null!==d.memoizedState.cachePool&&(f=d.memoizedState.cachePool.pool),f!==e&&(d.flags|=2048));c!==a&&c&&(b.child.flags|=8192);Vi(b,b.updateQueue);V(b);0!==(b.mode&2)&&c&&(a=b.child,null!==a&&(b.treeBaseDuration-=a.treeBaseDuration));return null;case 4:return Ma(),null===a&&dj(b.stateNode.containerInfo),V(b),null;case 10:return Ii(b.type._context),V(b),null;case 17:return kd(b.type)&&ld(),V(b),null;case 19:D(bf);e=b.memoizedState;if(null===e)return V(b),null;d=0!==(b.flags&128);f=e.rendering;if(null=== +f)if(d)Wi(e,!1);else{if(0!==Qh||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){f=ff(a);if(null!==f){b.flags|=128;Wi(e,!1);a=f.updateQueue;b.updateQueue=a;Vi(b,a);b.subtreeFlags=0;a=c;for(c=b.child;null!==c;)ej(c,a),c=c.sibling;E(bf,bf.current&1|2);return b.child}a=a.sibling}null!==e.tail&&Ta()>fj&&(b.flags|=128,d=!0,Wi(e,!1),b.lanes=4194304)}else{if(!d)if(a=ff(f),null!==a){if(b.flags|=128,d=!0,a=a.updateQueue,b.updateQueue=a,Vi(b,a),Wi(e,!0),null===e.tail&&"hidden"===e.tailMode&&!f.alternate&& +!K)return V(b),null}else 2*Ta()-e.renderingStartTime>fj&&536870912!==c&&(b.flags|=128,d=!0,Wi(e,!1),b.lanes=4194304);e.isBackwards?(f.sibling=b.child,b.child=f):(a=e.last,null!==a?a.sibling=f:b.child=f,e.last=f)}if(null!==e.tail)return b=e.tail,e.rendering=b,e.tail=b.sibling,e.renderingStartTime=Ta(),b.sibling=null,a=bf.current,E(bf,d?a&1|2:a&1),b;V(b);return null;case 22:case 23:return ef(b),Ye(),d=null!==b.memoizedState,null!==a?null!==a.memoizedState!==d&&(b.flags|=8192):d&&(b.flags|=8192),d&& +0!==(b.mode&1)?0!==(c&536870912)&&0===(b.flags&128)&&(V(b),b.subtreeFlags&6&&(b.flags|=8192)):V(b),c=b.updateQueue,null!==c&&Vi(b,c.retryQueue),c=null,null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool),d=null,null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(d=b.memoizedState.cachePool.pool),d!==c&&(b.flags|=2048),null!==a&&D(Qi),null;case 24:return c=null,null!==a&&(c=a.memoizedState.cache),b.memoizedState.cache!==c&&(b.flags|=2048),Ii(hi), +V(b),null;case 25:return null}throw Error(t(156,b.tag));} +function gj(a,b){Ed(b);switch(b.tag){case 1:return kd(b.type)&&ld(),a=b.flags,a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&wh(b),b):null;case 3:return Ii(hi),Ma(),D(hd),D(gd),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 26:case 27:case 5:return Oa(b),null;case 13:ef(b);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(t(340));Yd()}a=b.flags;return a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&wh(b),b):null;case 19:return D(bf),null;case 4:return Ma(), +null;case 10:return Ii(b.type._context),null;case 22:case 23:return ef(b),Ye(),null!==a&&D(Qi),a=b.flags,a&65536?(b.flags=a&-65537|128,0!==(b.mode&2)&&wh(b),b):null;case 24:return Ii(hi),null;case 25:return null;default:return null}} +function hj(a,b){Ed(b);switch(b.tag){case 1:a=b.type.childContextTypes;null!==a&&void 0!==a&&ld();break;case 3:Ii(hi);Ma();D(hd);D(gd);break;case 26:case 27:case 5:Oa(b);break;case 4:Ma();break;case 13:ef(b);break;case 19:D(bf);break;case 10:Ii(b.type._context);break;case 22:case 23:ef(b);Ye();null!==a&&D(Qi);break;case 24:Ii(hi)}}function ij(a,b,c){var d=Array.prototype.slice.call(arguments,3);try{b.apply(c,d)}catch(e){this.onError(e)}} +var jj=!1,kj=null,lj=!1,mj=null,nj={onError:function(a){jj=!0;kj=a}};function oj(a,b,c,d,e,f,g,h,l){jj=!1;kj=null;ij.apply(nj,arguments)}function pj(a,b,c,d,e,f,g,h,l){oj.apply(this,arguments);if(jj){if(jj){var p=kj;jj=!1;kj=null}else throw Error(t(198));lj||(lj=!0,mj=p)}}var qj=!1,rj=!1,sj="function"===typeof WeakSet?WeakSet:Set,tj=null,uj=null,vj=null;function wj(a){return 0!==(a.mode&2)&&0!==(N&4)} +function xj(a,b){b.props=a.memoizedProps;b.state=a.memoizedState;if(wj(a))try{vh(),b.componentWillUnmount()}finally{th(a)}else b.componentWillUnmount()}function yj(a,b){try{var c=a.ref;if(null!==c){var d=a.stateNode;switch(a.tag){case 26:case 27:case 5:var e=d;break;default:e=d}if("function"===typeof c)if(wj(a))try{vh(),a.refCleanup=c(e)}finally{th(a)}else a.refCleanup=c(e);else c.current=e}}catch(f){W(a,b,f)}} +function zj(a,b){var c=a.ref,d=a.refCleanup;if(null!==c)if("function"===typeof d)try{if(wj(a))try{vh(),d()}finally{th(a)}else d()}catch(e){W(a,b,e)}finally{a.refCleanup=null,a=a.alternate,null!=a&&(a.refCleanup=null)}else if("function"===typeof c)try{if(wj(a))try{vh(),c(null)}finally{th(a)}else c(null)}catch(e){W(a,b,e)}else c.current=null}function Aj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Bj=!1; +function Cj(a,b){Dj=Ej;a=Fj();if(Gj(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(n){c=null;break a}var g=0,h=-1,l=-1,p=0,q=0,x=a,r=null;b:for(;;){for(var u;;){x!==c||0!==e&&3!==x.nodeType||(h=g+e);x!==f||0!==d&&3!==x.nodeType||(l=g+d);3===x.nodeType&&(g+= +x.nodeValue.length);if(null===(u=x.firstChild))break;r=x;x=u}for(;;){if(x===a)break b;r===c&&++p===e&&(h=g);r===f&&++q===d&&(l=g);if(null!==(u=x.nextSibling))break;x=r;r=x.parentNode}x=u}c=-1===h||-1===l?null:{start:h,end:l}}else c=null}c=c||{start:0,end:0}}else c=null;Hj={focusedElem:a,selectionRange:c};Ej=!1;for(tj=b;null!==tj;)if(b=tj,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,tj=a;else for(;null!==tj;){b=tj;try{var A=b.alternate,C=b.flags;switch(b.tag){case 0:break;case 11:case 15:break; +case 1:if(0!==(C&1024)&&null!==A){var J=A.memoizedProps,S=A.memoizedState,m=b.stateNode,k=m.getSnapshotBeforeUpdate(b.elementType===b.type?J:xh(b.type,J),S);m.__reactInternalSnapshotBeforeUpdate=k}break;case 3:0!==(C&1024)&&Ij(b.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(0!==(C&1024))throw Error(t(163));}}catch(n){W(b,b.return,n)}a=b.sibling;if(null!==a){a.return=b.return;tj=a;break}tj=b.return}A=Bj;Bj=!1;return A} +function Jj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.inst,g=f.destroy;void 0!==g&&(f.destroy=void 0,0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectUnmountStarted&&F.markComponentPassiveEffectUnmountStarted(b):0!==(a&4)&&jb(b),Aj(b,c,g),0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectUnmountStopped&&F.markComponentPassiveEffectUnmountStopped():0!==(a&4)&&kb())}e=e.next}while(e!==d)}} +function Kj(a,b){var c=b.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do{if((d.tag&a)===a){0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectMountStarted&&F.markComponentPassiveEffectMountStarted(b):0!==(a&4)&&null!==F&&"function"===typeof F.markComponentLayoutEffectMountStarted&&F.markComponentLayoutEffectMountStarted(b);var e=d.create,f=d.inst;e=e();f.destroy=e;0!==(a&8)?null!==F&&"function"===typeof F.markComponentPassiveEffectMountStopped&&F.markComponentPassiveEffectMountStopped(): +0!==(a&4)&&null!==F&&"function"===typeof F.markComponentLayoutEffectMountStopped&&F.markComponentLayoutEffectMountStopped()}d=d.next}while(d!==c)}}function Lj(a,b){if(wj(a)){try{vh(),Kj(b,a)}catch(c){W(a,a.return,c)}th(a)}else try{Kj(b,a)}catch(c){W(a,a.return,c)}}function Mj(a){var b=a.updateQueue;if(null!==b){var c=a.stateNode;try{ue(b,c)}catch(d){W(a,a.return,d)}}} +function Nj(a){var b=a.type,c=a.memoizedProps,d=a.stateNode;try{a:switch(b){case "button":case "input":case "select":case "textarea":c.autoFocus&&d.focus();break a;case "img":c.src&&(d.src=c.src)}}catch(e){W(a,a.return,e)}} +function Oj(a,b){if(N&4)try{var c=a.memoizedProps,d=c.onCommit,e=c.onRender,f=a.stateNode.effectDuration;c=nh;b=null===b?"mount":"update";sf&&(b="nested-update");"function"===typeof e&&e(a.memoizedProps.id,b,a.actualDuration,a.treeBaseDuration,a.actualStartTime,c);"function"===typeof d&&d(a.memoizedProps.id,b,f,c);Pj(a);var g=a.return;a:for(;null!==g;){switch(g.tag){case 3:g.stateNode.effectDuration+=f;break a;case 12:g.stateNode.effectDuration+=f;break a}g=g.return}}catch(h){W(a,a.return,h)}} +function Qj(a,b,c){var d=c.flags;switch(c.tag){case 0:case 11:case 15:Rj(a,c);d&4&&Lj(c,5);break;case 1:Rj(a,c);if(d&4)if(a=c.stateNode,null===b)if(wj(c)){try{vh(),a.componentDidMount()}catch(h){W(c,c.return,h)}th(c)}else try{a.componentDidMount()}catch(h){W(c,c.return,h)}else{var e=c.elementType===c.type?b.memoizedProps:xh(c.type,b.memoizedProps);b=b.memoizedState;if(wj(c)){try{vh(),a.componentDidUpdate(e,b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}th(c)}else try{a.componentDidUpdate(e, +b,a.__reactInternalSnapshotBeforeUpdate)}catch(h){W(c,c.return,h)}}d&64&&Mj(c);d&512&&yj(c,c.return);break;case 3:Rj(a,c);if(d&64&&(d=c.updateQueue,null!==d)){a=null;if(null!==c.child)switch(c.child.tag){case 27:case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}try{ue(d,a)}catch(h){W(c,c.return,h)}}break;case 26:Rj(a,c);d&512&&yj(c,c.return);break;case 27:case 5:Rj(a,c);null===b&&d&4&&Nj(c);d&512&&yj(c,c.return);break;case 12:Rj(a,c);d&4&&Oj(c,b);break;case 13:Rj(a,c);d&4&&Sj(a,c);break; +case 22:if(0!==(c.mode&1)){if(e=null!==c.memoizedState||qj,!e){b=null!==b&&null!==b.memoizedState||rj;var f=qj,g=rj;qj=e;(rj=b)&&!g?Tj(a,c,0!==(c.subtreeFlags&8772)):Rj(a,c);qj=f;rj=g}}else Rj(a,c);d&512&&("manual"===c.memoizedProps.mode?yj(c,c.return):zj(c,c.return));break;default:Rj(a,c)}} +function Uj(a){var b=a.alternate;null!==b&&(a.alternate=null,Uj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&Ub(b));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Vj(a){return 5===a.tag||3===a.tag||26===a.tag||27===a.tag||4===a.tag} +function Wj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Vj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&27!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}} +function Xj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Yj));else if(4!==d&&27!==d&&(a=a.child,null!==a))for(Xj(a,b,c),a=a.sibling;null!==a;)Xj(a,b,c),a=a.sibling} +function Zj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&27!==d&&(a=a.child,null!==a))for(Zj(a,b,c),a=a.sibling;null!==a;)Zj(a,b,c),a=a.sibling}var ak=null,bk=!1;function ck(a,b,c){for(c=c.child;null!==c;)dk(a,b,c),c=c.sibling} +function dk(a,b,c){if(ab&&"function"===typeof ab.onCommitFiberUnmount)try{ab.onCommitFiberUnmount($a,c)}catch(l){}switch(c.tag){case 26:rj||zj(c,b);ck(a,b,c);c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:rj||zj(c,b);var d=ak,e=bk;ak=c.stateNode;ck(a,b,c);c=c.stateNode;for(a=c.attributes;a.length;)c.removeAttributeNode(a[0]);Ub(c);ak=d;bk=e;break;case 5:rj||zj(c,b);case 6:d=ak;e=bk;ak=null;ck(a,b,c);ak=d;bk=e;null!==ak&&(bk?(a=ak,c=c.stateNode, +8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):ak.removeChild(c.stateNode));break;case 18:null!==ak&&(bk?(a=ak,c=c.stateNode,8===a.nodeType?ek(a.parentNode,c):1===a.nodeType&&ek(a,c),fk(a)):ek(ak,c.stateNode));break;case 4:d=ak;e=bk;ak=c.stateNode.containerInfo;bk=!0;ck(a,b,c);ak=d;bk=e;break;case 0:case 11:case 14:case 15:if(!rj&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e.tag,g=e.inst,h=g.destroy;void 0!==h&&(0!==(f&2)?(g.destroy=void 0,Aj(c,b,h)): +0!==(f&4)&&(jb(c),wj(c)?(vh(),g.destroy=void 0,Aj(c,b,h),th(c)):(g.destroy=void 0,Aj(c,b,h)),kb()));e=e.next}while(e!==d)}ck(a,b,c);break;case 1:if(!rj&&(zj(c,b),d=c.stateNode,"function"===typeof d.componentWillUnmount))try{xj(c,d)}catch(l){W(c,b,l)}ck(a,b,c);break;case 21:ck(a,b,c);break;case 22:zj(c,b);c.mode&1?(rj=(d=rj)||null!==c.memoizedState,ck(a,b,c),rj=d):ck(a,b,c);break;default:ck(a,b,c)}} +function Sj(a,b){if(null===b.memoizedState&&(a=b.alternate,null!==a&&(a=a.memoizedState,null!==a&&(a=a.dehydrated,null!==a))))try{fk(a)}catch(c){W(b,b.return,c)}}function gk(a){switch(a.tag){case 13:case 19:var b=a.stateNode;null===b&&(b=a.stateNode=new sj);return b;case 22:return a=a.stateNode,b=a._retryCache,null===b&&(b=a._retryCache=new sj),b;default:throw Error(t(435,a.tag));}} +function hk(a,b){var c=gk(a);b.forEach(function(d){var e=ik.bind(null,a,d);if(!c.has(d)){c.add(d);if(bb)if(null!==uj&&null!==vj)Oh(vj,uj);else throw Error(t(413));d.then(e,e)}})}function jk(a,b,c){uj=c;vj=a;kk(b,a);vj=uj=null} +function lk(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 27:case 5:ak=h.stateNode;bk=!1;break a;case 3:ak=h.stateNode.containerInfo;bk=!0;break a;case 4:ak=h.stateNode.containerInfo;bk=!0;break a}h=h.return}if(null===ak)throw Error(t(160));dk(f,g,e);ak=null;bk=!1;var l=e.alternate;null!==l&&(l.return=null);e.return=null}catch(p){W(e,b,p)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)kk(b,a),b=b.sibling} +var mk=null; +function kk(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:lk(b,a);nk(a);if(d&4){try{Jj(3,a,a.return),Kj(3,a)}catch(u){W(a,a.return,u)}if(wj(a)){try{vh(),Jj(5,a,a.return)}catch(u){W(a,a.return,u)}th(a)}else try{Jj(5,a,a.return)}catch(u){W(a,a.return,u)}}break;case 1:lk(b,a);nk(a);d&512&&null!==c&&zj(c,c.return);d&64&&qj&&(a=a.updateQueue,null!==a&&(c=a.callbacks,null!==c&&(d=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=null===d?c:d.concat(c))));break;case 26:var e= +mk;lk(b,a);nk(a);d&512&&null!==c&&zj(c,c.return);if(d&4)if(b=null!==c?c.memoizedState:null,d=a.memoizedState,null===c)if(null===d)if(null===a.stateNode){a:{c=a.type;d=a.memoizedProps;b=e.ownerDocument||e;b:switch(c){case "title":e=b.getElementsByTagName("title")[0];if(!e||e[Tb]||e[Mb]||"http://www.w3.org/2000/svg"===e.namespaceURI||e.hasAttribute("itemprop"))e=b.createElement(c),b.head.insertBefore(e,b.querySelector("head > title"));bj(e,c,d);e[Mb]=a;ac(e);c=e;break a;case "link":var f=ok("link", +"href",b).get(c+(d.href||""));if(f)for(var g=0;g<f.length;g++)if(e=f[g],e.getAttribute("href")===(null==d.href?null:d.href)&&e.getAttribute("rel")===(null==d.rel?null:d.rel)&&e.getAttribute("title")===(null==d.title?null:d.title)&&e.getAttribute("crossorigin")===(null==d.crossOrigin?null:d.crossOrigin)){f.splice(g,1);break b}e=b.createElement(c);bj(e,c,d);b.head.appendChild(e);break;case "meta":if(f=ok("meta","content",b).get(c+(d.content||"")))for(g=0;g<f.length;g++)if(e=f[g],e.getAttribute("content")=== +(null==d.content?null:""+d.content)&&e.getAttribute("name")===(null==d.name?null:d.name)&&e.getAttribute("property")===(null==d.property?null:d.property)&&e.getAttribute("http-equiv")===(null==d.httpEquiv?null:d.httpEquiv)&&e.getAttribute("charset")===(null==d.charSet?null:d.charSet)){f.splice(g,1);break b}e=b.createElement(c);bj(e,c,d);b.head.appendChild(e);break;default:throw Error(t(468,c));}e[Mb]=a;ac(e);c=e}a.stateNode=c}else pk(e,a.type,a.stateNode);else a.stateNode=qk(e,d,a.memoizedProps); +else if(b!==d)null===b?null!==c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c)):b.count--,null===d?pk(e,a.type,a.stateNode):qk(e,d,a.memoizedProps);else if(null===d&&null!==a.stateNode){a.updateQueue=null;try{var h=a.stateNode,l=a.memoizedProps;rk(h,a.type,c.memoizedProps,l);h[Nb]=l}catch(u){W(a,a.return,u)}}break;case 27:if(d&4&&null===a.alternate){e=a.stateNode;f=a.memoizedProps;for(g=e.firstChild;g;){var p=g.nextSibling,q=g.nodeName;g[Tb]||"HEAD"===q||"BODY"===q||"SCRIPT"===q||"STYLE"=== +q||"LINK"===q&&"stylesheet"===g.rel.toLowerCase()||e.removeChild(g);g=p}g=a.type;for(p=e.attributes;p.length;)e.removeAttributeNode(p[0]);bj(e,g,f);e[Mb]=a;e[Nb]=f}case 5:lk(b,a);nk(a);d&512&&null!==c&&zj(c,c.return);if(a.flags&32){b=a.stateNode;try{Nc(b,"")}catch(u){W(a,a.return,u)}}if(d&4&&(d=a.stateNode,null!=d)){b=a.memoizedProps;c=null!==c?c.memoizedProps:b;e=a.type;a.updateQueue=null;try{rk(d,e,c,b),d[Nb]=b}catch(u){W(a,a.return,u)}}break;case 6:lk(b,a);nk(a);if(d&4){if(null===a.stateNode)throw Error(t(162)); +c=a.stateNode;d=a.memoizedProps;try{c.nodeValue=d}catch(u){W(a,a.return,u)}}break;case 3:sk=null;e=mk;mk=tk(b.containerInfo);lk(b,a);mk=e;nk(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{fk(b.containerInfo)}catch(u){W(a,a.return,u)}break;case 4:c=mk;mk=tk(a.stateNode.containerInfo);lk(b,a);nk(a);mk=c;break;case 13:lk(b,a);nk(a);a.child.flags&8192&&null!==a.memoizedState!==(null!==c&&null!==c.memoizedState)&&(uk=Ta());d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,hk(a,c)));break;case 22:d& +512&&null!==c&&zj(c,c.return);h=null!==a.memoizedState;l=null!==c&&null!==c.memoizedState;if(a.mode&1){var x=qj,r=rj;qj=x||h;rj=r||l;lk(b,a);rj=r;qj=x}else lk(b,a);nk(a);b=a.stateNode;b._current=a;b._visibility&=-3;b._visibility|=b._pendingVisibility&2;if(d&8192&&(b._visibility=h?b._visibility&-2:b._visibility|1,h&&(b=qj||rj,null===c||l||b||0!==(a.mode&1)&&vk(a)),null===a.memoizedProps||"manual"!==a.memoizedProps.mode))a:for(c=null,b=a;;){if(5===b.tag||26===b.tag||27===b.tag){if(null===c){c=b;try{e= +b.stateNode,h?(f=e.style,"function"===typeof f.setProperty?f.setProperty("display","none","important"):f.display="none"):(g=b.stateNode,p=b.memoizedProps.style,q=void 0!==p&&null!==p&&p.hasOwnProperty("display")?p.display:null,g.style.display=null==q||"boolean"===typeof q?"":(""+q).trim())}catch(u){W(a,a.return,u)}}}else if(6===b.tag){if(null===c)try{b.stateNode.nodeValue=h?"":b.memoizedProps}catch(u){W(a,a.return,u)}}else if((22!==b.tag&&23!==b.tag||null===b.memoizedState||b===a)&&null!==b.child){b.child.return= +b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null===b.return||b.return===a)break a;c===b&&(c=null);b=b.return}c===b&&(c=null);b.sibling.return=b.return;b=b.sibling}d&4&&(c=a.updateQueue,null!==c&&(d=c.retryQueue,null!==d&&(c.retryQueue=null,hk(a,d))));break;case 19:lk(b,a);nk(a);d&4&&(c=a.updateQueue,null!==c&&(a.updateQueue=null,hk(a,c)));break;case 21:break;default:lk(b,a),nk(a)}} +function nk(a){var b=a.flags;if(b&2){try{if(27!==a.tag){b:{for(var c=a.return;null!==c;){if(Vj(c)){var d=c;break b}c=c.return}throw Error(t(160));}switch(d.tag){case 27:var e=d.stateNode,f=Wj(a);Zj(a,f,e);break;case 5:var g=d.stateNode;d.flags&32&&(Nc(g,""),d.flags&=-33);var h=Wj(a);Zj(a,h,g);break;case 3:case 4:var l=d.stateNode.containerInfo,p=Wj(a);Xj(a,p,l);break;default:throw Error(t(161));}}}catch(q){W(a,a.return,q)}a.flags&=-3}b&4096&&(a.flags&=-4097)} +function wk(a,b,c){uj=c;vj=b;Qj(b,a.alternate,a);vj=uj=null}function Rj(a,b){if(b.subtreeFlags&8772)for(b=b.child;null!==b;)Qj(a,b.alternate,b),b=b.sibling} +function vk(a){for(a=a.child;null!==a;){var b=a;switch(b.tag){case 0:case 11:case 14:case 15:if(wj(b))try{vh(),Jj(4,b,b.return)}finally{th(b)}else Jj(4,b,b.return);vk(b);break;case 1:zj(b,b.return);var c=b.stateNode;if("function"===typeof c.componentWillUnmount){var d=b,e=b.return;try{xj(d,c)}catch(f){W(d,e,f)}}vk(b);break;case 26:case 27:case 5:zj(b,b.return);vk(b);break;case 22:zj(b,b.return);null===b.memoizedState&&vk(b);break;default:vk(b)}a=a.sibling}} +function Tj(a,b,c){c=c&&0!==(b.subtreeFlags&8772);for(b=b.child;null!==b;){var d=b.alternate,e=a,f=b,g=f.flags;switch(f.tag){case 0:case 11:case 15:Tj(e,f,c);Lj(f,4);break;case 1:Tj(e,f,c);e=f.stateNode;if("function"===typeof e.componentDidMount)try{e.componentDidMount()}catch(l){W(f,f.return,l)}d=f.updateQueue;if(null!==d){var h=d.shared.hiddenCallbacks;if(null!==h)for(d.shared.hiddenCallbacks=null,d=0;d<h.length;d++)te(h[d],e)}c&&g&64&&Mj(f);yj(f,f.return);break;case 26:case 27:case 5:Tj(e,f,c); +c&&null===d&&g&4&&Nj(f);yj(f,f.return);break;case 12:Tj(e,f,c);c&&g&4&&Oj(f,d);break;case 13:Tj(e,f,c);c&&g&4&&Sj(e,f);break;case 22:null===f.memoizedState&&Tj(e,f,c);yj(f,f.return);break;default:Tj(e,f,c)}b=b.sibling}}function xk(a,b){if(wj(a)){qh=mh();try{Kj(b,a)}catch(c){W(a,a.return,c)}uh(a)}else try{Kj(b,a)}catch(c){W(a,a.return,c)}} +function yk(a,b){var c=null;null!==a&&null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(c=a.memoizedState.cachePool.pool);a=null;null!==b.memoizedState&&null!==b.memoizedState.cachePool&&(a=b.memoizedState.cachePool.pool);a!==c&&(null!=a&&a.refCount++,null!=c&&Oi(c))}function zk(a,b){a=null;null!==b.alternate&&(a=b.alternate.memoizedState.cache);b=b.memoizedState.cache;b!==a&&(b.refCount++,null!=a&&Oi(a))} +function Ak(a,b,c,d){if(b.subtreeFlags&10256)for(b=b.child;null!==b;)Bk(a,b,c,d),b=b.sibling} +function Bk(a,b,c,d){var e=b.flags;switch(b.tag){case 0:case 11:case 15:Ak(a,b,c,d);e&2048&&xk(b,9);break;case 3:Ak(a,b,c,d);e&2048&&(a=null,null!==b.alternate&&(a=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==a&&(b.refCount++,null!=a&&Oi(a)));break;case 23:break;case 22:var f=b.stateNode;null!==b.memoizedState?f._visibility&4?Ak(a,b,c,d):b.mode&1?Ck(a,b):(f._visibility|=4,Ak(a,b,c,d)):f._visibility&4?Ak(a,b,c,d):(f._visibility|=4,Dk(a,b,c,d,0!==(b.subtreeFlags&10256)));e&2048&&yk(b.alternate, +b);break;case 24:Ak(a,b,c,d);e&2048&&zk(b.alternate,b);break;default:Ak(a,b,c,d)}} +function Dk(a,b,c,d,e){e=e&&0!==(b.subtreeFlags&10256);for(b=b.child;null!==b;){var f=a,g=b,h=c,l=d,p=g.flags;switch(g.tag){case 0:case 11:case 15:Dk(f,g,h,l,e);xk(g,8);break;case 23:break;case 22:var q=g.stateNode;null!==g.memoizedState?q._visibility&4?Dk(f,g,h,l,e):g.mode&1?Ck(f,g):(q._visibility|=4,Dk(f,g,h,l,e)):(q._visibility|=4,Dk(f,g,h,l,e));e&&p&2048&&yk(g.alternate,g);break;case 24:Dk(f,g,h,l,e);e&&p&2048&&zk(g.alternate,g);break;default:Dk(f,g,h,l,e)}b=b.sibling}} +function Ck(a,b){if(b.subtreeFlags&10256)for(b=b.child;null!==b;){var c=a,d=b,e=d.flags;switch(d.tag){case 22:Ck(c,d);e&2048&&yk(d.alternate,d);break;case 24:Ck(c,d);e&2048&&zk(d.alternate,d);break;default:Ck(c,d)}b=b.sibling}}var Ek=8192;function Fk(a){if(a.subtreeFlags&Ek)for(a=a.child;null!==a;)Gk(a),a=a.sibling} +function Gk(a){switch(a.tag){case 26:Fk(a);a.flags&Ek&&null!==a.memoizedState&&Hk(mk,a.memoizedState,a.memoizedProps);break;case 5:Fk(a);break;case 3:case 4:var b=mk;mk=tk(a.stateNode.containerInfo);Fk(a);mk=b;break;case 22:null===a.memoizedState&&(b=a.alternate,null!==b&&null!==b.memoizedState?(b=Ek,Ek=16777216,Fk(a),Ek=b):Fk(a));break;default:Fk(a)}}function Ik(a){var b=a.alternate;if(null!==b&&(a=b.child,null!==a)){b.child=null;do b=a.sibling,a.sibling=null,a=b;while(null!==a)}} +function Jk(a,b,c){wj(a)?(qh=mh(),Jj(c,a,b),uh(a)):Jj(c,a,b)}function Kk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];tj=d;Lk(d,a)}Ik(a)}if(a.subtreeFlags&10256)for(a=a.child;null!==a;)Mk(a),a=a.sibling} +function Mk(a){switch(a.tag){case 0:case 11:case 15:Kk(a);a.flags&2048&&Jk(a,a.return,9);break;case 22:var b=a.stateNode;null!==a.memoizedState&&b._visibility&4&&(null===a.return||13!==a.return.tag)?(b._visibility&=-5,Nk(a)):Kk(a);break;default:Kk(a)}} +function Nk(a){var b=a.deletions;if(0!==(a.flags&16)){if(null!==b)for(var c=0;c<b.length;c++){var d=b[c];tj=d;Lk(d,a)}Ik(a)}for(a=a.child;null!==a;){b=a;switch(b.tag){case 0:case 11:case 15:Jk(b,b.return,8);Nk(b);break;case 22:c=b.stateNode;c._visibility&4&&(c._visibility&=-5,Nk(b));break;default:Nk(b)}a=a.sibling}} +function Lk(a,b){for(;null!==tj;){var c=tj;switch(c.tag){case 0:case 11:case 15:Jk(c,b,8);break;case 23:case 22:if(null!==c.memoizedState&&null!==c.memoizedState.cachePool){var d=c.memoizedState.cachePool.pool;null!=d&&d.refCount++}break;case 24:Oi(c.memoizedState.cache)}d=c.child;if(null!==d)d.return=c,tj=d;else a:for(c=a;null!==tj;){d=tj;var e=d.sibling,f=d.return;Uj(d);if(d===c){tj=null;break a}if(null!==e){e.return=f;tj=e;break a}tj=f}}} +var Ok={getCacheSignal:function(){return qg(hi).controller.signal},getCacheForType:function(a){var b=qg(hi),c=b.data.get(a);void 0===c&&(c=a(),b.data.set(a,c));return c}},Pk="function"===typeof WeakMap?WeakMap:Map,Qk=da.ReactCurrentDispatcher,Rk=da.ReactCurrentCache,Sk=da.ReactCurrentOwner,Tk=da.ReactCurrentBatchConfig,N=0,P=null,X=null,O=0,Q=0,Uk=null,Vk=!1,We=0,Qh=0,wf=null,se=0,Wk=0,Xk=0,Cf=0,Sh=null,Af=null,uk=0,fj=Infinity,Bf=null,Ih=!1,Jh=null,Lh=null,Yk=!1,Zk=null,$k=0,al=[],bl=0,cl=null,ie= +0,je=null;function hh(a){if(0===(a.mode&1))return 2;if(0!==(N&2)&&0!==O)return O&-O;if(null!==Pi.transition)return a=Kf,0!==a?a:Hf();a=G;if(0!==a)return a;a=window.event;a=void 0===a?32:dl(a.type);return a}function Eg(a,b,c){if(a===P&&2===Q||null!==a.cancelPendingCommit)xf(a,0),yf(a,O,Cf);Ab(a,c);if(0===(N&2)||a!==P)bb&&Fb(a,b,c),a===P&&(0===(N&2)&&(Wk|=c),4===Qh&&yf(a,O,Cf)),nf(a),2===c&&0===N&&0===(b.mode&1)&&(fj=Ta()+500,qf(!0))} +function Ff(a,b){tf=sf=!1;if(0!==(N&6))throw Error(t(327));var c=a.callbackNode;if(rf()&&a.callbackNode!==c)return null;var d=vb(a,a===P?O:0);if(0===d)return null;var e=0===(d&60)&&0===(d&a.expiredLanes)&&!b;b=e?el(a,d):uf(a,d);if(0!==b){var f=e;do{if(6===b)yf(a,d,0);else{e=a.current.alternate;if(f&&!fl(e)){b=uf(a,d);f=!1;continue}if(2===b){f=d;var g=xb(a,f);0!==g&&(d=g,b=vf(a,f,g))}if(1===b)throw c=wf,xf(a,0),yf(a,d,0),nf(a),c;a.finishedWork=e;a.finishedLanes=d;a:{f=a;switch(b){case 0:case 1:throw Error(t(345)); +case 4:if((d&4194176)===d){yf(f,d,Cf);break a}break;case 2:case 3:case 5:break;default:throw Error(t(329));}if((d&62914560)===d&&(b=uk+300-Ta(),10<b)){yf(f,d,Cf);if(0!==vb(f,0))break a;f.timeoutHandle=gl(hl.bind(null,f,e,Af,Bf,d,Cf),b);break a}hl(f,e,Af,Bf,d,Cf)}}break}while(1)}nf(a);Ef(a,Ta());a=a.callbackNode===c?Ff.bind(null,a):null;return a} +function vf(a,b,c){var d=Sh,e=a.current.memoizedState.isDehydrated;e&&(xf(a,c).flags|=256);c=uf(a,c);if(2!==c){if(Vk&&!e)return a.errorRecoveryDisabledLanes|=b,Wk|=b,4;a=Af;Af=d;null!==a&&Yi(a)}return c}function Yi(a){null===Af?Af=a:Af.push.apply(Af,a)}function hl(a,b,c,d,e,f){if(0===(e&42)&&(il={stylesheets:null,count:0,unsuspend:jl},Gk(b),b=kl(),null!==b)){a.cancelPendingCommit=b(zf.bind(null,a,c,d));yf(a,e,f);return}zf(a,c,d,f)} +function fl(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!rd(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0} +function yf(a,b,c){b&=~Xk;b&=~Wk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(var d=a.expirationTimes,e=b;0<e;){var f=31-pb(e),g=1<<f;d[f]=-1;e&=~g}0!==c&&Cb(a,c,b)}function ll(a,b){var c=N;N|=1;try{return a(b)}finally{N=c,0===N&&(fj=Ta()+500,qf(!0))}}function ml(a){null!==Zk&&0===Zk.tag&&0===(N&6)&&rf();var b=N;N|=1;var c=Tk.transition,d=G;try{if(Tk.transition=null,G=2,a)return a()}finally{G=d,Tk.transition=c,N=b,0===(N&6)&&qf(!1)}} +function nl(){if(null!==X){if(0===Q)var a=X.return;else a=X,Hi(),lg(a),Ee=null,Fe=0,a=X;for(;null!==a;)hj(a.alternate,a),a=a.return;X=null}} +function xf(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,ol(c));c=a.cancelPendingCommit;null!==c&&(a.cancelPendingCommit=null,c());nl();P=a;X=c=Le(a.current,null);O=b;Q=0;Uk=null;Vk=!1;Qh=0;wf=null;Cf=Xk=Wk=se=0;Af=Sh=null;0!==(b&8)&&(b|=b&32);var d=a.entangledLanes;if(0!==d)for(a=a.entanglements,d&=b;0<d;){var e=31-pb(d),f=1<<e;b|=a[e];d&=~f}We=b;ce();return c} +function pl(a,b){R=null;Pf.current=fg;Sk.current=null;b===we?(b=De(),Q=Ui()&&0===(se&134217727)&&0===(Wk&134217727)?2:3):b===xe?(b=De(),Q=4):Q=b===Uh?8:null!==b&&"object"===typeof b&&"function"===typeof b.then?6:1;Uk=b;a=X;if(null===a)Qh=1,wf=b;else switch(a.mode&2&&sh(a,!0),ib(),Q){case 1:null!==F&&"function"===typeof F.markComponentErrored&&F.markComponentErrored(a,b,O);break;case 2:case 3:case 6:case 7:null!==F&&"function"===typeof F.markComponentSuspended&&F.markComponentSuspended(a,b,O)}} +function Ui(){var a=Ze.current;return null===a?!0:(O&4194176)===O?null===$e?!0:!1:(O&62914560)===O||0!==(O&536870912)?a===$e:!1}function ql(){var a=Qk.current;Qk.current=fg;return null===a?fg:a}function rl(){var a=Rk.current;Rk.current=Ok;return a}function Ph(){Qh=4;0===(se&134217727)&&0===(Wk&134217727)||null===P||yf(P,O,Cf)} +function uf(a,b){var c=N;N|=2;var d=ql(),e=rl();if(P!==a||O!==b){if(bb){var f=a.memoizedUpdaters;0<f.size&&(Oh(a,O),f.clear());Gb(a,b)}Bf=null;xf(a,b)}lb(b);b=!1;a:do try{if(0!==Q&&null!==X){f=X;var g=Uk;switch(Q){case 8:nl();Qh=6;break a;case 3:case 2:b||null!==Ze.current||(b=!0);default:Q=0,Uk=null,sl(f,g)}}tl();break}catch(h){pl(a,h)}while(1);b&&a.shellSuspendCounter++;Hi();N=c;Qk.current=d;Rk.current=e;if(null!==X)throw Error(t(261));mb();P=null;O=0;ce();return Qh} +function tl(){for(;null!==X;)ul(X)} +function el(a,b){var c=N;N|=2;var d=ql(),e=rl();if(P!==a||O!==b){if(bb){var f=a.memoizedUpdaters;0<f.size&&(Oh(a,O),f.clear());Gb(a,b)}Bf=null;fj=Ta()+500;xf(a,b)}lb(b);a:do try{if(0!==Q&&null!==X)b:switch(b=X,f=Uk,Q){case 1:Q=0;Uk=null;sl(b,f);break;case 2:if(ze(f)){Q=0;Uk=null;vl(b);break}b=function(){2===Q&&P===a&&(Q=7);nf(a)};f.then(b,b);break a;case 3:Q=7;break a;case 4:Q=5;break a;case 7:ze(f)?(Q=0,Uk=null,vl(b)):(Q=0,Uk=null,sl(b,f));break;case 5:switch(X.tag){case 5:case 26:case 27:b=X;Q= +0;Uk=null;var g=b.sibling;if(null!==g)X=g;else{var h=b.return;null!==h?(X=h,wl(h)):X=null}break b}Q=0;Uk=null;sl(b,f);break;case 6:Q=0;Uk=null;sl(b,f);break;case 8:nl();Qh=6;break a;default:throw Error(t(462));}xl();break}catch(l){pl(a,l)}while(1);Hi();Qk.current=d;Rk.current=e;N=c;if(null!==X)return null!==F&&"function"===typeof F.markRenderYielded&&F.markRenderYielded(),0;mb();P=null;O=0;ce();return Qh}function xl(){for(;null!==X&&!Ra();)ul(X)} +function ul(a){var b=a.alternate;0!==(a.mode&2)?(rh(a),b=yl(b,a,We),sh(a,!0)):b=yl(b,a,We);a.memoizedProps=a.pendingProps;null===b?wl(a):X=b;Sk.current=null} +function vl(a){var b=a.alternate,c=0!==(a.mode&2);c&&rh(a);switch(a.tag){case 2:a.tag=0;case 15:case 0:var d=a.type,e=a.pendingProps;e=a.elementType===d?e:xh(d,e);var f=kd(d)?id:gd.current;f=jd(a,f);b=ii(b,a,e,d,f,O);break;case 11:d=a.type.render;e=a.pendingProps;e=a.elementType===d?e:xh(d,e);b=ii(b,a,e,d,a.ref,O);break;case 5:lg(a);default:hj(b,a),a=X=ej(a,We),b=yl(b,a,We)}c&&sh(a,!0);a.memoizedProps=a.pendingProps;null===b?wl(a):X=b;Sk.current=null} +function sl(a,b){Hi();lg(a);Ee=null;Fe=0;var c=a.return;if(null===c||null===P)Qh=1,wf=b,X=null;else{try{Nh(P,c,a,b,O)}catch(d){throw X=c,d;}if(a.flags&32768)a:{do{b=gj(a.alternate,a);if(null!==b){b.flags&=32767;X=b;break a}if(0!==(a.mode&2)){sh(a,!1);b=a.actualDuration;for(c=a.child;null!==c;)b+=c.actualDuration,c=c.sibling;a.actualDuration=b}a=a.return;null!==a&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null);X=a}while(null!==a);Qh=6;X=null}else wl(a)}} +function wl(a){var b=a;do{var c=b.alternate;a=b.return;0===(b.mode&2)?c=Xi(c,b,We):(rh(b),c=Xi(c,b,We),sh(b,!1));if(null!==c){X=c;return}b=b.sibling;if(null!==b){X=b;return}X=b=a}while(null!==b);0===Qh&&(Qh=5)}function zf(a,b,c,d){var e=G,f=Tk.transition;try{Tk.transition=null,G=2,zl(a,b,c,e,d)}finally{Tk.transition=f,G=e}return null} +function zl(a,b,c,d,e){do rf();while(null!==Zk);if(0!==(N&6))throw Error(t(327));var f=a.finishedWork,g=a.finishedLanes;null!==F&&"function"===typeof F.markCommitStarted&&F.markCommitStarted(g);if(null===f)return gb(),null;a.finishedWork=null;a.finishedLanes=0;if(f===a.current)throw Error(t(177));a.callbackNode=null;a.callbackPriority=0;a.cancelPendingCommit=null;var h=f.lanes|f.childLanes;h|=be;Bb(a,h,e);a===P&&(X=P=null,O=0);0===(f.subtreeFlags&10256)&&0===(f.flags&10256)||Yk||(Yk=!0,bl=h,cl=c, +Al(Xa,function(){rf();return null}));c=0!==(f.flags&15990);if(0!==(f.subtreeFlags&15990)||c){c=Tk.transition;Tk.transition=null;e=G;G=2;var l=N;N|=4;Sk.current=null;Cj(a,f);nh=mh();jk(a,f,g);Bl(Hj);Ej=!!Dj;Hj=Dj=null;a.current=f;null!==F&&"function"===typeof F.markLayoutEffectsStarted&&F.markLayoutEffectsStarted(g);wk(f,a,g);null!==F&&"function"===typeof F.markLayoutEffectsStopped&&F.markLayoutEffectsStopped();Sa();N=l;G=e;Tk.transition=c}else a.current=f,nh=mh();Yk?(Yk=!1,Zk=a,$k=g):Cl(a,h);h=a.pendingLanes; +0===h&&(Lh=null);cb(f.stateNode,d);bb&&a.memoizedUpdaters.clear();nf(a);if(null!==b)for(d=a.onRecoverableError,f=0;f<b.length;f++)h=b[f],c={digest:h.digest,componentStack:h.stack},d(h.value,c);if(Ih)throw Ih=!1,a=Jh,Jh=null,a;0!==($k&3)&&0!==a.tag&&rf();h=a.pendingLanes;0!==(g&4194218)&&0!==(h&2)?(tf=!0,a===je?ie++:(ie=0,je=a)):ie=0;qf(!1);gb();return null}function Cl(a,b){0===(a.pooledCacheLanes&=b)&&(b=a.pooledCache,null!=b&&(a.pooledCache=null,Oi(b)))} +function rf(){if(null!==Zk){var a=Zk,b=bl;bl=0;var c=Ib($k),d=32>c?32:c;c=Tk.transition;var e=G;try{Tk.transition=null;G=d;if(null===Zk)var f=!1;else{var g=cl;cl=null;d=Zk;var h=$k;Zk=null;$k=0;if(0!==(N&6))throw Error(t(331));null!==F&&"function"===typeof F.markPassiveEffectsStarted&&F.markPassiveEffectsStarted(h);var l=N;N|=4;Mk(d.current);Bk(d,d.current,h,g);g=al;al=[];for(h=0;h<g.length;h++){var p=g[h];if(N&4&&0!==(p.flags&4))switch(p.tag){case 12:var q=p.stateNode.passiveEffectDuration,x=p.memoizedProps, +r=x.id,u=x.onPostCommit,A=nh,C=null===p.alternate?"mount":"update";sf&&(C="nested-update");"function"===typeof u&&u(r,C,q,A);var J=p.return;b:for(;null!==J;){switch(J.tag){case 3:J.stateNode.passiveEffectDuration+=q;break b;case 12:J.stateNode.passiveEffectDuration+=q;break b}J=J.return}}}null!==F&&"function"===typeof F.markPassiveEffectsStopped&&F.markPassiveEffectsStopped();N=l;qf(!1);if(ab&&"function"===typeof ab.onPostCommitFiberRoot)try{ab.onPostCommitFiberRoot($a,d)}catch(m){}var S=d.current.stateNode; +S.effectDuration=0;S.passiveEffectDuration=0;f=!0}return f}finally{G=e,Tk.transition=c,Cl(a,b)}}return!1}function Pj(a){al.push(a);Yk||(Yk=!0,Al(Xa,function(){rf();return null}))}function Dl(a,b,c){b=Eh(c,b);b=Hh(a,b,2);a=oe(a,b,2);null!==a&&(Ab(a,2),nf(a))} +function W(a,b,c){if(3===a.tag)Dl(a,a,c);else for(;null!==b;){if(3===b.tag){Dl(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if("function"===typeof b.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Lh||!Lh.has(d))){a=Eh(c,a);a=Kh(b,a,2);b=oe(b,a,2);null!==b&&(Ab(b,2),nf(b));break}}b=b.return}} +function Rh(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Pk;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(Vk=!0,e.add(c),d=El.bind(null,a,b,c),bb&&Oh(a,c),b.then(d,d))}function El(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);a.pingedLanes|=a.suspendedLanes&c;P===a&&(O&c)===c&&(4===Qh||3===Qh&&(O&62914560)===O&&300>Ta()-uk?0===(N&2)&&xf(a,0):Xk|=c);nf(a)}function Fl(a,b){0===b&&(b=0===(a.mode&1)?2:yb());a=he(a,b);null!==a&&(Ab(a,b),nf(a))} +function wi(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Fl(a,c)}function ik(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;case 22:d=a.stateNode._retryCache;break;default:throw Error(t(314));}null!==d&&d.delete(b);Fl(a,c)}var yl; +yl=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||hd.current)ug=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return ug=!1,Bi(a,b,c);ug=0!==(a.flags&131072)?!0:!1}else ug=!1,K&&0!==(b.flags&1048576)&&Cd(b,vd,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ki(a,b);a=b.pendingProps;var e=jd(b,gd.current);Xh(b,c);hb(b);e=ag(null,b,d,a,e,c);var f=jg();ib();b.flags|=1;"object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue= +null,kd(d)?(f=!0,od(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,le(b),e.updater=zh,b.stateNode=e,e._reactInternals=b,Dh(b,d,a,c),b=li(null,b,d,!0,f,c)):(b.tag=0,K&&f&&Dd(b),Vh(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{ki(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Gl(d);a=xh(d,a);switch(e){case 0:b=bi(null,b,d,a,c);break a;case 1:b=ji(null,b,d,a,c);break a;case 11:b=Wh(null,b,d,a,c);break a;case 14:b=Zh(null,b,d,xh(d.type,a),c);break a}throw Error(t(306, +d,""));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:xh(d,e),bi(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:xh(d,e),ji(a,b,d,e,c);case 3:a:{mi(b);if(null===a)throw Error(t(387));e=b.pendingProps;f=b.memoizedState;d=f.element;me(a,b);re(b,e,null,c);var g=b.memoizedState;e=g.cache;Ci(b,hi,e);e!==f.cache&&Ji(b,hi,c);e=g.element;if(f.isDehydrated)if(f={element:e,isDehydrated:!1,cache:g.cache},b.updateQueue.baseState=f,b.memoizedState=f,b.flags&256){d= +Eh(Error(t(423)),b);b=ni(a,b,e,c,d);break a}else if(e!==d){d=Eh(Error(t(424)),b);b=ni(a,b,e,c,d);break a}else for(I=Md(b.stateNode.containerInfo.firstChild),H=b,K=!0,Fd=null,Gd=!0,c=Se(b,null,e,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Yd();if(e===d){b=Yh(a,b,c);break a}Vh(a,b,e,c)}b=b.child}return b;case 26:return di(a,b),c=b.memoizedState=Hl(b.type,null===a?null:a.memoizedProps,b.pendingProps),null!==a||K||null!==c||(c=b.type,a=b.pendingProps,d=aj(Ga.current).createElement(c),d[Mb]= +b,d[Nb]=a,bj(d,c,a),ac(d),b.stateNode=d),null;case 27:return Na(b),null===a&&K&&(d=b.stateNode=$i(b.type,b.pendingProps,Ga.current),H=b,Gd=!0,I=Md(d.firstChild)),d=b.pendingProps.children,null!==a||K?Vh(a,b,d,c):b.child=Re(b,null,d,c),di(a,b),b.child;case 5:return Na(b),null===a&&K&&((e=d=I,e)?Kd(b,e)||(Rd(b)&&Sd(),I=Qd(e),f=H,I&&Kd(b,I)?Hd(f,e):(Jd(H,b),K=!1,H=b,I=d)):(Rd(b)&&Sd(),Jd(H,b),K=!1,H=b,I=d)),e=b.type,f=b.pendingProps,g=null!==a?a.memoizedProps:null,d=f.children,Wd(e,f)?d=null:null!== +g&&Wd(e,g)&&(b.flags|=32),null!==b.memoizedState&&(e=ag(a,b,hg,null,null,c),Ia._currentValue=e,ug&&null!==a&&a.memoizedState.memoizedState!==e&&Ji(b,Ia,c)),di(a,b),Vh(a,b,d,c),b.child;case 6:return null===a&&K&&((d=""!==b.pendingProps,a=c=I,a&&d)?Nd(b,a)||(Rd(b)&&Sd(),I=Qd(a),d=H,I&&Nd(b,I)?Hd(d,a):(Jd(H,b),K=!1,H=b,I=c)):(Rd(b)&&Sd(),Jd(H,b),K=!1,H=b,I=c)),null;case 13:return ri(a,b,c);case 4:return Ja(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Re(b,null,d,c):Vh(a,b,d,c),b.child; +case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:xh(d,e),Wh(a,b,d,e,c);case 7:return Vh(a,b,b.pendingProps,c),b.child;case 8:return Vh(a,b,b.pendingProps.children,c),b.child;case 12:return b.flags|=4,d=b.stateNode,d.effectDuration=0,d.passiveEffectDuration=0,Vh(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;g=e.value;Ci(b,d,g);if(null!==f)if(rd(f.value,g)){if(f.children===e.children&&!hd.current){b=Yh(a,b,c);break a}}else Ji(b, +d,c);Vh(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Xh(b,c),e=qg(e),hb(b),d=d(e),ib(),b.flags|=1,Vh(a,b,d,c),b.child;case 14:return d=b.type,e=xh(d,b.pendingProps),e=xh(d.type,e),Zh(a,b,d,e,c);case 15:return ai(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:xh(d,e),ki(a,b),b.tag=1,kd(d)?(a=!0,od(b)):a=!1,Xh(b,c),Bh(b,d,e),Dh(b,d,e,c),li(null,b,d,!0,a,c);case 19:return Ai(a,b,c);case 22:return ci(a,b,c);case 24:return Xh(b, +c),d=qg(hi),null===a?(e=gi(),null===e&&(e=P,f=ih(),e.pooledCache=f,f.refCount++,null!==f&&(e.pooledCacheLanes|=c),e=f),b.memoizedState={parent:d,cache:e},le(b),Ci(b,hi,e)):(0!==(a.lanes&c)&&(me(a,b),re(b,null,null,c)),e=a.memoizedState,f=b.memoizedState,e.parent!==d?(e={parent:d,cache:d},b.memoizedState=e,0===b.lanes&&(b.memoizedState=b.updateQueue.baseState=e),Ci(b,hi,d)):(d=f.cache,Ci(b,hi,d),d!==e.cache&&Ji(b,hi,c))),Vh(a,b,b.pendingProps.children,c),b.child}throw Error(t(156,b.tag));}; +function Oh(a,b){bb&&a.memoizedUpdaters.forEach(function(c){Fb(a,c,b)})}function Al(a,b){return Pa(a,b)} +function Il(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.refCleanup=this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null;this.actualDuration=0;this.actualStartTime=-1;this.treeBaseDuration=this.selfBaseDuration=0} +function Id(a,b,c,d){return new Il(a,b,c,d)}function $h(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Gl(a){if("function"===typeof a)return $h(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===ta)return 11;if(a===wa)return 14}return 2} +function Le(a,b){var c=a.alternate;null===c?(c=Id(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null,c.actualDuration=0,c.actualStartTime=-1);c.flags=a.flags&31457280;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null: {lanes:b.lanes,firstContext:b.firstContext};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;c.refCleanup=a.refCleanup;c.selfBaseDuration=a.selfBaseDuration;c.treeBaseDuration=a.treeBaseDuration;return c} -function Di(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null,a.selfBaseDuration=0,a.treeBaseDuration=0):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null: +function ej(a,b){a.flags&=31457282;var c=a.alternate;null===c?(a.childLanes=0,a.lanes=b,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null,a.selfBaseDuration=0,a.treeBaseDuration=0):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,b=c.dependencies,a.dependencies=null===b?null: {lanes:b.lanes,firstContext:b.firstContext},a.selfBaseDuration=c.selfBaseDuration,a.treeBaseDuration=c.treeBaseDuration);return a} -function Ge(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)zh(a)&&(e=1);else if("string"===typeof a)e=hl(a,c,Da.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case la:return Ie(c.children,f,g,b);case ma:e=8;f|=8;0!==(f&1)&&(f|=16);break;case na:return a=Ed(12,c,b,f|2),a.elementType=na,a.lanes=g,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case sa:return a=Ed(13,c,b,f),a.elementType=sa,a.lanes=g,a;case ta:return a=Ed(19,c,b,f),a.elementType=ta,a.lanes=g,a;case xa:return Rh(c, -f,g,b);case ya:case wa:case za:return a=Ed(24,c,b,f),a.elementType=za,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case oa:e=10;break a;case pa:e=9;break a;case ra:e=11;break a;case ua:e=14;break a;case va:e=16;d=null;break a}throw Error(u(130,null==a?a:typeof a,""));}b=Ed(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Ie(a,b,c,d){a=Ed(7,a,d,b);a.lanes=c;return a} -function Rh(a,b,c,d){a=Ed(22,a,d,b);a.elementType=xa;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(u(456));if(0===(e._pendingVisibility&2)){var g=$d(f,2);null!==g&&(e._pendingVisibility|=2,ng(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(u(456));if(0!==(e._pendingVisibility&2)){var g=$d(f,2);null!==g&&(e._pendingVisibility&=-3,ng(g,f,2))}}}; -a.stateNode=e;return a}function Fe(a,b,c){a=Ed(6,a,null,b);a.lanes=c;return a}function He(a,b,c){b=Ed(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} -function il(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=xb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=xb(0);this.hiddenUpdates= -xb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map;this.passiveEffectDuration=this.effectDuration=0;this.memoizedUpdaters=new Set;a=this.pendingUpdatersLaneMap=[];for(b=0;31>b;b++)a.push(new Set)} -function jl(a,b,c,d,e,f,g,h,m,p,q){a=new il(a,b,c,h,m,q);1===b?(b=1,!0===f&&(b|=24)):b=0;Za&&(b|=2);f=Ed(3,null,null,b);a.current=f;f.stateNode=a;b=Hg();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};ee(f);return a}function kl(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ka,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} -function ll(a){if(!a)return bd;a=a._reactInternals;a:{if(Wc(a)!==a||1!==a.tag)throw Error(u(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(gd(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(u(171));}if(1===a.tag){var c=a.type;if(gd(c))return jd(a,c,b)}return b} -function ml(a,b,c,d,e,f,g,h,m,p,q){a=jl(c,d,!0,a,e,f,g,h,m,p,q);a.context=ll(null);c=a.current;d=Gg(c);e=ge(d);e.callback=void 0!==b&&null!==b?b:null;he(c,e,d);a.current.lanes=d;yb(a,d);ff(a);return a} -function nl(a,b,c,d){var e=b.current,f=Gg(e);null!==F&&"function"===typeof F.markRenderScheduled&&F.markRenderScheduled(f);c=ll(c);null===b.context?b.context=c:b.pendingContext=c;b=ge(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=he(e,b,f);null!==a&&(ng(a,e,f),ie(a,e,f));return f}function ol(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}} -function pl(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=rb(b.pendingLanes);0!==c&&(Ab(b,c|2),ff(b),0===(N&6)&&(Ei=Qa()+500,jf(!1)))}break;case 13:Lk(function(){var d=$d(a,2);null!==d&&ng(d,a,2)}),ql(a,2)}}function rl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function ql(a,b){rl(a,b);(a=a.alternate)&&rl(a,b)} -function sl(a){if(13===a.tag){var b=$d(a,134217728);null!==b&&ng(b,a,134217728);ql(a,134217728)}}function tl(){return null}var ul=!1;function vl(a,b,c){if(ul)return a(b,c);ul=!0;try{return Kk(a,b,c)}finally{if(ul=!1,null!==Rc||null!==Sc)Lk(),Vc()}} -function wl(a,b){var c=a.stateNode;if(null===c)return null;var d=Vb(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== -typeof c)throw Error(u(231,b,typeof c));return c}var xl=!1;if(bc)try{var yl={};Object.defineProperty(yl,"passive",{get:function(){xl=!0}});window.addEventListener("test",yl,yl);window.removeEventListener("test",yl,yl)}catch(a){xl=!1}function zl(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Al(){return!0}function Bl(){return!1} -function Cl(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?Al:Bl;this.isPropagationStopped=Bl;return this}w(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& -(c.returnValue=!1),this.isDefaultPrevented=Al)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=Al)},persist:function(){},isPersistent:Al});return b} -var Dl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},El=Cl(Dl),Fl=w({},Dl,{view:0,detail:0}),Gl=Cl(Fl),Hl,Il,Jl,Ll=w({},Fl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kl,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in -a)return a.movementX;a!==Jl&&(Jl&&"mousemove"===a.type?(Hl=a.screenX-Jl.screenX,Il=a.screenY-Jl.screenY):Il=Hl=0,Jl=a);return Hl},movementY:function(a){return"movementY"in a?a.movementY:Il}}),Ml=Cl(Ll),Nl=w({},Ll,{dataTransfer:0}),Ol=Cl(Nl),Pl=w({},Fl,{relatedTarget:0}),Ql=Cl(Pl),Rl=w({},Dl,{animationName:0,elapsedTime:0,pseudoElement:0}),Sl=Cl(Rl),Tl=w({},Dl,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Ul=Cl(Tl),Vl=w({},Dl,{data:0}),Wl=Cl(Vl),Xl={Esc:"Escape", -Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yl={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", -119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Zl={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $l(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Zl[a])?!!b[a]:!1}function Kl(){return $l} -var am=w({},Fl,{key:function(a){if(a.key){var b=Xl[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=zl(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Yl[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kl,charCode:function(a){return"keypress"===a.type?zl(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== -a.type?zl(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),bm=Cl(am),cm=w({},Ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dm=Cl(cm),em=w({},Fl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kl}),fm=Cl(em),gm=w({},Dl,{propertyName:0,elapsedTime:0,pseudoElement:0}),hm=Cl(gm),im=w({},Ll,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, -deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),jm=Cl(im),km=!1,lm=null,mm=null,nm=null,om=new Map,pm=new Map,qm=[],rm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); -function sm(a,b){switch(a){case "focusin":case "focusout":lm=null;break;case "dragenter":case "dragleave":mm=null;break;case "mouseover":case "mouseout":nm=null;break;case "pointerover":case "pointerout":om.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":pm.delete(b.pointerId)}} -function tm(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Tb(b),null!==b&&sl(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} -function um(a,b,c,d,e){switch(b){case "focusin":return lm=tm(lm,a,b,c,d,e),!0;case "dragenter":return mm=tm(mm,a,b,c,d,e),!0;case "mouseover":return nm=tm(nm,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;om.set(f,tm(om.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,pm.set(f,tm(pm.get(f)||null,a,b,c,d,e)),!0}return!1} -function vm(a){var b=Rb(a.target);if(null!==b){var c=Wc(b);if(null!==c)if(b=c.tag,13===b){if(b=Xc(c),null!==b){a.blockedOn=b;Db(a.priority,function(){if(13===c.tag){var d=Gg(c),e=$d(c,d);null!==e&&ng(e,c,d);ql(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} -function wm(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=xm(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Pc=d;c.target.dispatchEvent(d);Pc=null}else return b=Tb(c),null!==b&&sl(b),a.blockedOn=c,!1;b.shift()}return!0}function ym(a,b,c){wm(a)&&c.delete(b)}function zm(){km=!1;null!==lm&&wm(lm)&&(lm=null);null!==mm&&wm(mm)&&(mm=null);null!==nm&&wm(nm)&&(nm=null);om.forEach(ym);pm.forEach(ym)} -function Am(a,b){a.blockedOn===b&&(a.blockedOn=null,km||(km=!0,aa.unstable_scheduleCallback(aa.unstable_NormalPriority,zm)))}function Dj(a){function b(e){return Am(e,a)}null!==lm&&Am(lm,a);null!==mm&&Am(mm,a);null!==nm&&Am(nm,a);om.forEach(b);pm.forEach(b);for(var c=0;c<qm.length;c++){var d=qm[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<qm.length&&(c=qm[0],null===c.blockedOn);)vm(c),null===c.blockedOn&&qm.shift()}var Bm=da.ReactCurrentBatchConfig,cj=!0; -function Cm(a,b,c,d){var e=G,f=Bm.transition;Bm.transition=null;try{G=2,Dm(a,b,c,d)}finally{G=e,Bm.transition=f}}function Em(a,b,c,d){var e=G,f=Bm.transition;Bm.transition=null;try{G=8,Dm(a,b,c,d)}finally{G=e,Bm.transition=f}} -function Dm(a,b,c,d){if(cj){var e=xm(d);if(null===e)Fm(a,b,d,Gm,c),sm(a,d);else if(um(e,a,b,c,d))d.stopPropagation();else if(sm(a,d),b&4&&-1<rm.indexOf(a)){for(;null!==e;){var f=Tb(e);null!==f&&pl(f);f=xm(d);null===f&&Fm(a,b,d,Gm,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else Fm(a,b,d,null,c)}} -function xm(a){a=Qc(a);a:{Gm=null;a=Rb(a);if(null!==a){var b=Wc(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=Xc(b);if(null!==a)break a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated){a=3===b.tag?b.stateNode.containerInfo:null;break a}a=null}else b!==a&&(a=null)}}Gm=a;a=null}return a}var Gm=null; -function Ck(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; -case "message":switch(Ra()){case Sa:return 2;case Ta:return 8;case Ua:case Va:return 32;case Wa:return 536870912;default:return 32}default:return 32}}var Hm=null,Im=null,Jm=null;function Km(){if(Jm)return Jm;var a,b=Im,c=b.length,d,e="value"in Hm?Hm.value:Hm.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Jm=e.slice(a,1<d?1-d:void 0)}var Lm=[9,13,27,32],Mm=bc&&"CompositionEvent"in window,Nm=null;bc&&"documentMode"in document&&(Nm=document.documentMode); -var Om=bc&&"TextEvent"in window&&!Nm,Pm=bc&&(!Mm||Nm&&8<Nm&&11>=Nm),Qm=String.fromCharCode(32),Sm=!1;function Tm(a,b){switch(a){case "keyup":return-1!==Lm.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function Um(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Vm=!1; -function Wm(a,b){switch(a){case "compositionend":return Um(b);case "keypress":if(32!==b.which)return null;Sm=!0;return Qm;case "textInput":return a=b.data,a===Qm&&Sm?null:a;default:return null}} -function Xm(a,b){if(Vm)return"compositionend"===a||!Mm&&Tm(a,b)?(a=Km(),Jm=Im=Hm=null,Vm=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return Pm&&"ko"!==b.locale?null:b.data;default:return null}} -var Ym={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zm(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Ym[a.type]:"textarea"===b?!0:!1}function $m(a,b,c,d){Uc(d);b=an(b,"onChange");0<b.length&&(c=new El("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var bn=null,cn=null;function dn(a){en(a,0)}function fn(a){var b=Ub(a);if(uc(b))return a} -function gn(a,b){if("change"===a)return b}var hn=!1;if(bc){var jn;if(bc){var kn="oninput"in document;if(!kn){var ln=document.createElement("div");ln.setAttribute("oninput","return;");kn="function"===typeof ln.oninput}jn=kn}else jn=!1;hn=jn&&(!document.documentMode||9<document.documentMode)}function mn(){bn&&(bn.detachEvent("onpropertychange",nn),cn=bn=null)}function nn(a){if("value"===a.propertyName&&fn(cn)){var b=[];$m(b,cn,a,Qc(a));vl(dn,b)}} -function on(a,b,c){"focusin"===a?(mn(),bn=b,cn=c,bn.attachEvent("onpropertychange",nn)):"focusout"===a&&mn()}function pn(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return fn(cn)}function qn(a,b){if("click"===a)return fn(b)}function rn(a,b){if("input"===a||"change"===a)return fn(b)}function sn(a){for(;a&&a.firstChild;)a=a.firstChild;return a} -function tn(a,b){var c=sn(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=sn(c)}}function un(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?un(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} -function dj(){for(var a=window,b=vc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=vc(a.document)}return b}function ej(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} -function $k(a){var b=dj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&un(c.ownerDocument.documentElement,c)){if(null!==d&&ej(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=tn(c,f);var g=tn(c, +function Ne(a,b,c,d,e,f,g){e=2;d=a;if("function"===typeof a)$h(a)&&(e=1);else if("string"===typeof a)e=Jl(a,c,Ea.current)?26:"html"===a||"head"===a||"body"===a?27:5;else a:switch(a){case na:return Pe(c.children,f,g,b);case oa:e=8;f|=8;0!==(f&1)&&(f|=16);break;case pa:return a=Id(12,c,b,f|2),a.elementType=pa,a.lanes=g,a.stateNode={effectDuration:0,passiveEffectDuration:0},a;case ua:return a=Id(13,c,b,f),a.elementType=ua,a.lanes=g,a;case va:return a=Id(19,c,b,f),a.elementType=va,a.lanes=g,a;case za:return si(c, +f,g,b);case Aa:case ya:case Ba:return a=Id(24,c,b,f),a.elementType=Ba,a.lanes=g,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case qa:e=10;break a;case ra:e=9;break a;case ta:e=11;break a;case wa:e=14;break a;case xa:e=16;d=null;break a}throw Error(t(130,null==a?a:typeof a,""));}b=Id(e,c,b,f);b.elementType=a;b.type=d;b.lanes=g;return b}function Pe(a,b,c,d){a=Id(7,a,d,b);a.lanes=c;return a} +function si(a,b,c,d){a=Id(22,a,d,b);a.elementType=za;a.lanes=c;var e={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0===(e._pendingVisibility&2)){var g=he(f,2);null!==g&&(e._pendingVisibility|=2,Eg(g,f,2))}},attach:function(){var f=e._current;if(null===f)throw Error(t(456));if(0!==(e._pendingVisibility&2)){var g=he(f,2);null!==g&&(e._pendingVisibility&=-3,Eg(g,f,2))}}}; +a.stateNode=e;return a}function Me(a,b,c){a=Id(6,a,null,b);a.lanes=c;return a}function Oe(a,b,c){b=Id(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b} +function Kl(a,b,c,d,e,f){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null;this.callbackPriority=0;this.expirationTimes=zb(-1);this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zb(0);this.hiddenUpdates= +zb(null);this.identifierPrefix=d;this.onRecoverableError=e;this.pooledCache=null;this.pooledCacheLanes=0;this.formState=f;this.incompleteTransitions=new Map;this.passiveEffectDuration=this.effectDuration=0;this.memoizedUpdaters=new Set;a=this.pendingUpdatersLaneMap=[];for(b=0;31>b;b++)a.push(new Set)} +function Ll(a,b,c,d,e,f,g,h,l,p,q){a=new Kl(a,b,c,h,l,q);1===b?(b=1,!0===f&&(b|=24)):b=0;bb&&(b|=2);f=Id(3,null,null,b);a.current=f;f.stateNode=a;b=ih();b.refCount++;a.pooledCache=b;b.refCount++;f.memoizedState={element:d,isDehydrated:c,cache:b};le(f);return a}function Ml(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ma,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}} +function Nl(a){if(!a)return fd;a=a._reactInternals;a:{if($c(a)!==a||1!==a.tag)throw Error(t(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(kd(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(t(171));}if(1===a.tag){var c=a.type;if(kd(c))return nd(a,c,b)}return b} +function Ol(a,b,c,d,e,f,g,h,l,p,q){a=Ll(c,d,!0,a,e,f,g,h,l,p,q);a.context=Nl(null);c=a.current;d=hh(c);e=ne(d);e.callback=void 0!==b&&null!==b?b:null;oe(c,e,d);a.current.lanes=d;Ab(a,d);nf(a);return a} +function Pl(a,b,c,d){var e=b.current,f=hh(e);null!==F&&"function"===typeof F.markRenderScheduled&&F.markRenderScheduled(f);c=Nl(c);null===b.context?b.context=c:b.pendingContext=c;b=ne(f);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=oe(e,b,f);null!==a&&(Eg(a,e,f),pe(a,e,f));return f}function Ql(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 27:case 5:return a.child.stateNode;default:return a.child.stateNode}} +function Rl(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=ub(b.pendingLanes);0!==c&&(Eb(b,c),nf(b),0===(N&6)&&(fj=Ta()+500,qf(!1)))}break;case 13:ml(function(){var d=he(a,2);null!==d&&Eg(d,a,2)}),Sl(a,2)}}function Tl(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function Sl(a,b){Tl(a,b);(a=a.alternate)&&Tl(a,b)} +function Ul(a){if(13===a.tag){var b=he(a,67108864);null!==b&&Eg(b,a,67108864);Sl(a,67108864)}}function Vl(){return null}var Wl=!1;function Xl(a,b,c){if(Wl)return a(b,c);Wl=!0;try{return ll(a,b,c)}finally{if(Wl=!1,null!==Vc||null!==Wc)ml(),Zc()}} +function Yl(a,b){var c=a.stateNode;if(null===c)return null;var d=Zb(c);if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!== +typeof c)throw Error(t(231,b,typeof c));return c}var Zl=!1;if(fc)try{var $l={};Object.defineProperty($l,"passive",{get:function(){Zl=!0}});window.addEventListener("test",$l,$l);window.removeEventListener("test",$l,$l)}catch(a){Zl=!1}function am(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function bm(){return!0}function cm(){return!1} +function dm(a){function b(c,d,e,f,g){this._reactName=c;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var h in a)a.hasOwnProperty(h)&&(c=a[h],this[h]=c?c(f):f[h]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?bm:cm;this.isPropagationStopped=cm;return this}w(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():"unknown"!==typeof c.returnValue&& +(c.returnValue=!1),this.isDefaultPrevented=bm)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():"unknown"!==typeof c.cancelBubble&&(c.cancelBubble=!0),this.isPropagationStopped=bm)},persist:function(){},isPersistent:bm});return b} +var em={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fm=dm(em),gm=w({},em,{view:0,detail:0}),hm=dm(gm),im,jm,km,mm=w({},gm,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lm,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in +a)return a.movementX;a!==km&&(km&&"mousemove"===a.type?(im=a.screenX-km.screenX,jm=a.screenY-km.screenY):jm=im=0,km=a);return im},movementY:function(a){return"movementY"in a?a.movementY:jm}}),nm=dm(mm),om=w({},mm,{dataTransfer:0}),pm=dm(om),qm=w({},gm,{relatedTarget:0}),rm=dm(qm),sm=w({},em,{animationName:0,elapsedTime:0,pseudoElement:0}),tm=dm(sm),um=w({},em,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),vm=dm(um),wm=w({},em,{data:0}),xm=dm(wm),ym={Esc:"Escape", +Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7", +119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Am={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bm(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Am[a])?!!b[a]:!1}function lm(){return Bm} +var Cm=w({},gm,{key:function(a){if(a.key){var b=ym[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=am(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?zm[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lm,charCode:function(a){return"keypress"===a.type?am(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"=== +a.type?am(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Dm=dm(Cm),Em=w({},mm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Fm=dm(Em),Gm=w({},gm,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lm}),Hm=dm(Gm),Im=w({},em,{propertyName:0,elapsedTime:0,pseudoElement:0}),Jm=dm(Im),Km=w({},mm,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0}, +deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Lm=dm(Km); +function Mm(a,b,c,d,e){if("submit"===b&&c&&c.stateNode===e){var f=Zb(e).action,g=d.submitter;g&&(b=(b=Zb(g))?b.formAction:g.getAttribute("formAction"),null!=b&&(f=b,g=null));if("function"===typeof f){var h=new fm("action","action",null,d,e);a.push({event:h,listeners:[{instance:null,listener:function(){if(!d.defaultPrevented){h.preventDefault();if(g){var l=g.ownerDocument.createElement("input");l.name=g.name;l.value=g.value;g.parentNode.insertBefore(l,g);var p=new FormData(e);l.parentNode.removeChild(l)}else p= +new FormData(e);ch(c,{pending:!0,data:p,method:e.method,action:f},f,p)}},currentTarget:e}]})}}}var Nm=!1,Om=null,Pm=null,Qm=null,Rm=new Map,Sm=new Map,Tm=[],Um="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "); +function Vm(a,b){switch(a){case "focusin":case "focusout":Om=null;break;case "dragenter":case "dragleave":Pm=null;break;case "mouseover":case "mouseout":Qm=null;break;case "pointerover":case "pointerout":Rm.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":Sm.delete(b.pointerId)}} +function Wm(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Xb(b),null!==b&&Ul(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a} +function Xm(a,b,c,d,e){switch(b){case "focusin":return Om=Wm(Om,a,b,c,d,e),!0;case "dragenter":return Pm=Wm(Pm,a,b,c,d,e),!0;case "mouseover":return Qm=Wm(Qm,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;Rm.set(f,Wm(Rm.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,Sm.set(f,Wm(Sm.get(f)||null,a,b,c,d,e)),!0}return!1} +function Ym(a){var b=Vb(a.target);if(null!==b){var c=$c(b);if(null!==c)if(b=c.tag,13===b){if(b=ad(c),null!==b){a.blockedOn=b;Hb(a.priority,function(){if(13===c.tag){var d=hh(c),e=he(c,d);null!==e&&Eg(e,c,d);Sl(c,d)}});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null} +function Zm(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=$m(a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);Tc=d;c.target.dispatchEvent(d);Tc=null}else return b=Xb(c),null!==b&&Ul(b),a.blockedOn=c,!1;b.shift()}return!0}function an(a,b,c){Zm(a)&&c.delete(b)}function bn(){Nm=!1;null!==Om&&Zm(Om)&&(Om=null);null!==Pm&&Zm(Pm)&&(Pm=null);null!==Qm&&Zm(Qm)&&(Qm=null);Rm.forEach(an);Sm.forEach(an)} +function cn(a,b){a.blockedOn===b&&(a.blockedOn=null,Nm||(Nm=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,bn)))}var dn=null;function en(a){dn!==a&&(dn=a,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){dn===a&&(dn=null);for(var b=0;b<a.length;b+=3){var c=a[b],d=a[b+1],e=a[b+2];if("function"!==typeof d)if(null===fn(d||c))continue;else break;var f=Xb(c);null!==f&&(a.splice(b,3),b-=3,ch(f,{pending:!0,data:e,method:c.method,action:d},d,e))}}))} +function fk(a){function b(l){return cn(l,a)}null!==Om&&cn(Om,a);null!==Pm&&cn(Pm,a);null!==Qm&&cn(Qm,a);Rm.forEach(b);Sm.forEach(b);for(var c=0;c<Tm.length;c++){var d=Tm[c];d.blockedOn===a&&(d.blockedOn=null)}for(;0<Tm.length&&(c=Tm[0],null===c.blockedOn);)Ym(c),null===c.blockedOn&&Tm.shift();c=a.getRootNode().$$reactFormReplay;if(null!=c)for(d=0;d<c.length;d+=3){var e=c[d],f=c[d+1],g=Zb(e);if("function"===typeof f)g||en(c);else if(g){var h=null;if(f&&f.hasAttribute("formAction"))if(e=f,g=Zb(f))h= +g.formAction;else{if(null!==fn(e))continue}else h=g.action;"function"===typeof h?c[d+1]=h:(c.splice(d,3),d-=3);en(c)}}}var gn=da.ReactCurrentBatchConfig,Ej=!0;function hn(a,b,c,d){var e=G,f=gn.transition;gn.transition=null;try{G=2,jn(a,b,c,d)}finally{G=e,gn.transition=f}}function kn(a,b,c,d){var e=G,f=gn.transition;gn.transition=null;try{G=8,jn(a,b,c,d)}finally{G=e,gn.transition=f}} +function jn(a,b,c,d){if(Ej){var e=$m(d);if(null===e)ln(a,b,d,mn,c),Vm(a,d);else if(Xm(e,a,b,c,d))d.stopPropagation();else if(Vm(a,d),b&4&&-1<Um.indexOf(a)){for(;null!==e;){var f=Xb(e);null!==f&&Rl(f);f=$m(d);null===f&&ln(a,b,d,mn,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else ln(a,b,d,null,c)}}function $m(a){a=Uc(a);return fn(a)}var mn=null; +function fn(a){mn=null;a=Vb(a);if(null!==a){var b=$c(a);if(null===b)a=null;else{var c=b.tag;if(13===c){a=ad(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null)}}mn=a;return null} +function dl(a){switch(a){case "cancel":case "click":case "close":case "contextmenu":case "copy":case "cut":case "auxclick":case "dblclick":case "dragend":case "dragstart":case "drop":case "focusin":case "focusout":case "input":case "invalid":case "keydown":case "keypress":case "keyup":case "mousedown":case "mouseup":case "paste":case "pause":case "play":case "pointercancel":case "pointerdown":case "pointerup":case "ratechange":case "reset":case "resize":case "seeked":case "submit":case "touchcancel":case "touchend":case "touchstart":case "volumechange":case "change":case "selectionchange":case "textInput":case "compositionstart":case "compositionend":case "compositionupdate":case "beforeblur":case "afterblur":case "beforeinput":case "blur":case "fullscreenchange":case "focus":case "hashchange":case "popstate":case "select":case "selectstart":return 2;case "drag":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "mousemove":case "mouseout":case "mouseover":case "pointermove":case "pointerout":case "pointerover":case "scroll":case "toggle":case "touchmove":case "wheel":case "mouseenter":case "mouseleave":case "pointerenter":case "pointerleave":return 8; +case "message":switch(Ua()){case Va:return 2;case Wa:return 8;case Xa:case Ya:return 32;case Za:return 268435456;default:return 32}default:return 32}}var nn=null,on=null,pn=null;function qn(){if(pn)return pn;var a,b=on,c=b.length,d,e="value"in nn?nn.value:nn.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return pn=e.slice(a,1<d?1-d:void 0)}var rn=[9,13,27,32],sn=fc&&"CompositionEvent"in window,un=null;fc&&"documentMode"in document&&(un=document.documentMode); +var vn=fc&&"TextEvent"in window&&!un,wn=fc&&(!sn||un&&8<un&&11>=un),xn=String.fromCharCode(32),yn=!1;function zn(a,b){switch(a){case "keyup":return-1!==rn.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}function An(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Bn=!1; +function Cn(a,b){switch(a){case "compositionend":return An(b);case "keypress":if(32!==b.which)return null;yn=!0;return xn;case "textInput":return a=b.data,a===xn&&yn?null:a;default:return null}} +function Dn(a,b){if(Bn)return"compositionend"===a||!sn&&zn(a,b)?(a=qn(),pn=on=nn=null,Bn=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return wn&&"ko"!==b.locale?null:b.data;default:return null}} +var En={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fn(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!En[a.type]:"textarea"===b?!0:!1}function Gn(a,b,c,d){Yc(d);b=Hn(b,"onChange");0<b.length&&(c=new fm("onChange","change",null,c,d),a.push({event:c,listeners:b}))}var In=null,Jn=null;function Kn(a){Ln(a,0)}function Mn(a){var b=Yb(a);if(yc(b))return a} +function Nn(a,b){if("change"===a)return b}var On=!1;if(fc){var Pn;if(fc){var Qn="oninput"in document;if(!Qn){var Rn=document.createElement("div");Rn.setAttribute("oninput","return;");Qn="function"===typeof Rn.oninput}Pn=Qn}else Pn=!1;On=Pn&&(!document.documentMode||9<document.documentMode)}function Sn(){In&&(In.detachEvent("onpropertychange",Tn),Jn=In=null)}function Tn(a){if("value"===a.propertyName&&Mn(Jn)){var b=[];Gn(b,Jn,a,Uc(a));Xl(Kn,b)}} +function Un(a,b,c){"focusin"===a?(Sn(),In=b,Jn=c,In.attachEvent("onpropertychange",Tn)):"focusout"===a&&Sn()}function Vn(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return Mn(Jn)}function Wn(a,b){if("click"===a)return Mn(b)}function Xn(a,b){if("input"===a||"change"===a)return Mn(b)}function Yn(a){for(;a&&a.firstChild;)a=a.firstChild;return a} +function Zn(a,b){var c=Yn(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Yn(c)}}function $n(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?$n(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1} +function Fj(){for(var a=window,b=zc();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=zc(a.document)}return b}function Gj(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)} +function Bl(a){var b=Fj(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&$n(c.ownerDocument.documentElement,c)){if(null!==d&&Gj(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Zn(c,f);var g=Zn(c, d);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}} -var vn=bc&&"documentMode"in document&&11>=document.documentMode,wn=null,xn=null,yn=null,zn=!1; -function An(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;zn||null==wn||wn!==vc(d)||(d=wn,"selectionStart"in d&&ej(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),yn&&oe(yn,d)||(yn=d,d=an(xn,"onSelect"),0<d.length&&(b=new El("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=wn)))} -function Bn(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Cn={animationend:Bn("Animation","AnimationEnd"),animationiteration:Bn("Animation","AnimationIteration"),animationstart:Bn("Animation","AnimationStart"),transitionend:Bn("Transition","TransitionEnd")},Dn={},En={}; -bc&&(En=document.createElement("div").style,"AnimationEvent"in window||(delete Cn.animationend.animation,delete Cn.animationiteration.animation,delete Cn.animationstart.animation),"TransitionEvent"in window||delete Cn.transitionend.transition);function Fn(a){if(Dn[a])return Dn[a];if(!Cn[a])return a;var b=Cn[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in En)return Dn[a]=b[c];return a}var Gn=Fn("animationend"),Hn=Fn("animationiteration"),In=Fn("animationstart"),Jn=Fn("transitionend"),Kn=new Map,Ln="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); -function Mn(a,b){Kn.set(a,b);$b(b,[a])}for(var Nn=0;Nn<Ln.length;Nn++){var On=Ln[Nn],Pn=On.toLowerCase(),Qn=On[0].toUpperCase()+On.slice(1);Mn(Pn,"on"+Qn)}Mn(Gn,"onAnimationEnd");Mn(Hn,"onAnimationIteration");Mn(In,"onAnimationStart");Mn("dblclick","onDoubleClick");Mn("focusin","onFocus");Mn("focusout","onBlur");Mn(Jn,"onTransitionEnd");ac("onMouseEnter",["mouseout","mouseover"]);ac("onMouseLeave",["mouseout","mouseover"]);ac("onPointerEnter",["pointerout","pointerover"]); -ac("onPointerLeave",["pointerout","pointerover"]);$b("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));$b("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));$b("onBeforeInput",["compositionend","keypress","textInput","paste"]);$b("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));$b("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); -$b("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Sn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rn)); -function Tn(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Oi(d,b,void 0,a);a.currentTarget=null} -function en(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],m=h.instance,p=h.currentTarget;h=h.listener;if(m!==f&&e.isPropagationStopped())break a;Tn(e,h,p);f=m}else for(g=0;g<d.length;g++){h=d[g];m=h.instance;p=h.currentTarget;h=h.listener;if(m!==f&&e.isPropagationStopped())break a;Tn(e,h,p);f=m}}}if(Ki)throw a=Li,Ki=!1,Li=null,a;} -function Z(a,b){var c=b[Lb];void 0===c&&(c=b[Lb]=new Set);var d=a+"__bubble";c.has(d)||(Un(b,a,2,!1),c.add(d))}function Vn(a,b,c){var d=0;b&&(d|=4);Un(c,a,d,b)}var Wn="_reactListening"+Math.random().toString(36).slice(2);function Ci(a){if(!a[Wn]){a[Wn]=!0;Yb.forEach(function(c){"selectionchange"!==c&&(Sn.has(c)||Vn(c,!1,a),Vn(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[Wn]||(b[Wn]=!0,Vn("selectionchange",!1,b))}} -function Un(a,b,c,d){switch(Ck(b)){case 2:var e=Cm;break;case 8:e=Em;break;default:e=Dm}c=e.bind(null,b,c,a);e=void 0;!xl||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} -function Fm(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var m=g.tag;if(3===m||4===m)if(m=g.stateNode.containerInfo,m===e||8===m.nodeType&&m.parentNode===e)return;g=g.return}for(;null!==h;){g=Rb(h);if(null===g)return;m=g.tag;if(5===m||6===m||26===m||27===m){d=f=g;continue a}h=h.parentNode}}d=d.return}vl(function(){var p= -f,q=Qc(c),x=[];a:{var r=Kn.get(a);if(void 0!==r){var t=El,z=a;switch(a){case "keypress":if(0===zl(c))break a;case "keydown":case "keyup":t=bm;break;case "focusin":z="focus";t=Ql;break;case "focusout":z="blur";t=Ql;break;case "beforeblur":case "afterblur":t=Ql;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":t=Ml;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":t= -Ol;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":t=fm;break;case Gn:case Hn:case In:t=Sl;break;case Jn:t=hm;break;case "scroll":t=Gl;break;case "wheel":t=jm;break;case "copy":case "cut":case "paste":t=Ul;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":t=dm}var C=0!==(b&4),H=!C&&"scroll"===a,R=C?null!==r?r+"Capture":null:r;C=[];for(var l=p,k;null!== -l;){var n=l;k=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===k||null===R||(n=wl(l,R),null!=n&&C.push(Xn(l,n,k)));if(H)break;l=l.return}0<C.length&&(r=new t(r,z,null,c,q),x.push({event:r,listeners:C}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;t="mouseout"===a||"pointerout"===a;if(r&&c!==Pc&&(z=c.relatedTarget||c.fromElement)&&(Rb(z)||z[Kb]))break a;if(t||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(t){if(z=c.relatedTarget||c.toElement,t=p,z=z?Rb(z): -null,null!==z&&(H=Wc(z),C=z.tag,z!==H||5!==C&&27!==C&&6!==C))z=null}else t=null,z=p;if(t!==z){C=Ml;n="onMouseLeave";R="onMouseEnter";l="mouse";if("pointerout"===a||"pointerover"===a)C=dm,n="onPointerLeave",R="onPointerEnter",l="pointer";H=null==t?r:Ub(t);k=null==z?r:Ub(z);r=new C(n,l+"leave",t,c,q);r.target=H;r.relatedTarget=k;n=null;Rb(q)===p&&(C=new C(R,l+"enter",z,c,q),C.target=k,C.relatedTarget=H,n=C);H=n;if(t&&z)b:{C=t;R=z;l=0;for(k=C;k;k=Yn(k))l++;k=0;for(n=R;n;n=Yn(n))k++;for(;0<l-k;)C=Yn(C), -l--;for(;0<k-l;)R=Yn(R),k--;for(;l--;){if(C===R||null!==R&&C===R.alternate)break b;C=Yn(C);R=Yn(R)}C=null}else C=null;null!==t&&Zn(x,r,t,C,!1);null!==z&&null!==H&&Zn(x,H,z,C,!0)}}}a:{r=p?Ub(p):window;t=r.nodeName&&r.nodeName.toLowerCase();if("select"===t||"input"===t&&"file"===r.type)var v=gn;else if(Zm(r))if(hn)v=rn;else{v=pn;var y=on}else(t=r.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(v=qn);if(v&&(v=v(a,p))){$m(x,v,c,q);break a}y&&y(a,r,p);"focusout"===a&&p&& -"number"===r.type&&null!=p.memoizedProps.value&&zc(r,"number",r.value)}y=p?Ub(p):window;switch(a){case "focusin":if(Zm(y)||"true"===y.contentEditable)wn=y,xn=p,yn=null;break;case "focusout":yn=xn=wn=null;break;case "mousedown":zn=!0;break;case "contextmenu":case "mouseup":case "dragend":zn=!1;An(x,c,q);break;case "selectionchange":if(vn)break;case "keydown":case "keyup":An(x,c,q)}var B;if(Mm)b:{switch(a){case "compositionstart":var A="onCompositionStart";break b;case "compositionend":A="onCompositionEnd"; -break b;case "compositionupdate":A="onCompositionUpdate";break b}A=void 0}else Vm?Tm(a,c)&&(A="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(A="onCompositionStart");A&&(Pm&&"ko"!==c.locale&&(Vm||"onCompositionStart"!==A?"onCompositionEnd"===A&&Vm&&(B=Km()):(Hm=q,Im="value"in Hm?Hm.value:Hm.textContent,Vm=!0)),y=an(p,A),0<y.length&&(A=new Wl(A,a,null,c,q),x.push({event:A,listeners:y}),B?A.data=B:(B=Um(c),null!==B&&(A.data=B))));if(B=Om?Wm(a,c):Xm(a,c))p=an(p,"onBeforeInput"),0<p.length&&(q=new Wl("onBeforeInput", -"beforeinput",null,c,q),x.push({event:q,listeners:p}),q.data=B)}en(x,b)})}function Xn(a,b,c){return{instance:a,listener:b,currentTarget:c}}function an(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=wl(a,c),null!=e&&d.unshift(Xn(a,e,f)),e=wl(a,b),null!=e&&d.push(Xn(a,e,f)));a=a.return}return d}function Yn(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null} -function Zn(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,m=h.alternate,p=h.stateNode;h=h.tag;if(null!==m&&m===d)break;5!==h&&26!==h&&27!==h||null===p||(m=p,e?(p=wl(c,f),null!=p&&g.unshift(Xn(c,p,m))):e||(p=wl(c,f),null!=p&&g.push(Xn(c,p,m))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var $n=/\r\n?/g,ao=/\u0000|\uFFFD/g;function bo(a){return("string"===typeof a?a:""+a).replace($n,"\n").replace(ao,"")}function Bi(a,b,c){b=bo(b);if(bo(a)!==b&&c)throw Error(u(425));} -function wj(){} -function co(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||Jc(a,d):"number"===typeof d&&"body"!==b&&Jc(a,""+d);break;case "className":hc(a,"class",d);break;case "tabIndex":hc(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":hc(a,c,d);break;case "style":Mc(a,d,f);break;case "src":case "href":if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+ -d);break;case "action":case "formAction":if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=wj);break;case "onScroll":null!=d&&Z("scroll",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(u(61));d=d.__html;if(null!=d){if(null!=e.children)throw Error(u(60));Ic(a,d)}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!== -typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"===typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href");break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!= -d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&&"function"!==typeof d&& -"symbol"!==typeof d?a.setAttribute(c,""):a.removeAttribute(c);break;case "capture":case "download":!0===d?a.setAttribute(c,""):!1!==d&&null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,d):a.removeAttribute(c);break;case "cols":case "rows":case "size":case "span":null!=d&&"function"!==typeof d&&"symbol"!==typeof d&&!isNaN(d)&&1<=d?a.setAttribute(c,d):a.removeAttribute(c);break;case "rowSpan":case "start":null==d||"function"===typeof d||"symbol"===typeof d||isNaN(d)?a.removeAttribute(c): -a.setAttribute(c,d);break;case "xlinkActuate":ic(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":ic(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":ic(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":ic(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":ic(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":ic(a,"http://www.w3.org/1999/xlink","xlink:type",d);break;case "xmlBase":ic(a, -"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":ic(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":ic(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":gc(a,"is",d);break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Oc.get(c)||c,gc(a,e,d)}} -function eo(a,b,c,d,e,f){switch(c){case "style":Mc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(u(61));b=d.__html;if(null!=b){if(null!=e.children)throw Error(u(60));Ic(a,b)}}break;case "children":"string"===typeof d?Jc(a,d):"number"===typeof d&&Jc(a,""+d);break;case "onScroll":null!=d&&Z("scroll",a);break;case "onClick":null!=d&&(a.onclick=wj);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; -default:Zb.hasOwnProperty(c)||("boolean"===typeof d&&(d=""+d),gc(a,c,d))}} -function Ai(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Z("invalid",a);var d=null,e=null,f=null,g=null,h=null,m=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":m=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(u(137,b));break;default:co(a, -b,q,p,c,null)}}Ac(a,f,g,h,m,e,d,!1);tc(a);return;case "select":Z("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:co(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?Cc(a,!!q,b,!1):null!=c&&Cc(a,!!q,c,!0);return;case "textarea":Z("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= -g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(u(91));break;default:co(a,b,e,g,c,null)}Ec(a,q,d,f);tc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:co(a,b,g,q,c,null)}return;case "dialog":Z("cancel",a);Z("close",a);break;case "iframe":case "object":Z("load",a);break;case "video":case "audio":for(q=0;q<Rn.length;q++)Z(Rn[q],a);break;case "image":Z("error",a); -Z("load",a);break;case "details":Z("toggle",a);break;case "embed":case "source":case "img":case "link":Z("error",a),Z("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(u(137,b));default:co(a,b,h,q,c,null)}return;default:if(Nc(b)){for(m in c)c.hasOwnProperty(m)&&(q=c[m],null!=q&&eo(a,b, -m,q,c,null));return}}for(f in c)c.hasOwnProperty(f)&&(q=c[f],null!=q&&co(a,b,f,q,c,null))} -function Pj(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,m=null,p=null,q=null;for(t in c){var x=c[t];if(c.hasOwnProperty(t)&&null!=x)switch(t){case "checked":break;case "value":break;case "defaultValue":m=x;default:d.hasOwnProperty(t)||co(a,b,t,null,d,x)}}for(var r in d){var t=d[r];x=c[r];if(d.hasOwnProperty(r)&&(null!=t||null!=x))switch(r){case "type":f=t;break;case "name":e=t;break;case "checked":p= -t;break;case "defaultChecked":q=t;break;case "value":g=t;break;case "defaultValue":h=t;break;case "children":case "dangerouslySetInnerHTML":if(null!=t)throw Error(u(137,b));break;default:t!==x&&co(a,b,r,t,d,x)}}yc(a,g,h,m,p,q,f,e);return;case "select":t=g=h=r=null;for(f in c)if(m=c[f],c.hasOwnProperty(f)&&null!=m)switch(f){case "value":break;case "multiple":t=m;default:d.hasOwnProperty(f)||co(a,b,f,null,d,m)}for(e in d)if(f=d[e],m=c[e],d.hasOwnProperty(e)&&(null!=f||null!=m))switch(e){case "value":r= -f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==m&&co(a,b,e,f,d,m)}b=h;c=g;d=t;null!=r?Cc(a,!!c,r,!1):!!d!==!!c&&(null!=b?Cc(a,!!c,b,!0):Cc(a,!!c,c?[]:"",!1));return;case "textarea":t=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:co(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":t=e;break;case "children":break; -case "dangerouslySetInnerHTML":if(null!=e)throw Error(u(91));break;default:e!==f&&co(a,b,g,e,d,f)}Dc(a,r,t);return;case "option":for(var z in c)if(r=c[z],c.hasOwnProperty(z)&&null!=r&&!d.hasOwnProperty(z))switch(z){case "selected":a.selected=!1;break;default:co(a,b,z,null,d,r)}for(m in d)if(r=d[m],t=c[m],d.hasOwnProperty(m)&&r!==t&&(null!=r||null!=t))switch(m){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:co(a,b,m,r,d,t)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var C in c)r= -c[C],c.hasOwnProperty(C)&&null!=r&&!d.hasOwnProperty(C)&&co(a,b,C,null,d,r);for(p in d)if(r=d[p],t=c[p],d.hasOwnProperty(p)&&r!==t&&(null!=r||null!=t))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(u(137,b));break;default:co(a,b,p,r,d,t)}return;default:if(Nc(b)){for(var H in c)r=c[H],c.hasOwnProperty(H)&&null!=r&&!d.hasOwnProperty(H)&&eo(a,b,H,null,d,r);for(q in d)r=d[q],t=c[q],!d.hasOwnProperty(q)||r===t||null==r&&null==t||eo(a,b,q,r,d,t);return}}for(var R in c)r= -c[R],c.hasOwnProperty(R)&&null!=r&&!d.hasOwnProperty(R)&&co(a,b,R,null,d,r);for(x in d)r=d[x],t=c[x],!d.hasOwnProperty(x)||r===t||null==r&&null==t||co(a,b,x,r,d,t)}var bj=null,fj=null;function zi(a){return 9===a.nodeType?a:a.ownerDocument}function Ha(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} -function Ia(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Qd(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} -var Fk="function"===typeof setTimeout?setTimeout:void 0,Nk="function"===typeof clearTimeout?clearTimeout:void 0,fo="function"===typeof Promise?Promise:void 0,yf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof fo?function(a){return fo.resolve(null).then(a).catch(go)}:Fk;function go(a){setTimeout(function(){throw a;})} -function Cj(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);Dj(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);Dj(b)}function gj(a){var b=a.nodeType;if(9===b)ho(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":ho(a);break;default:a.textContent=""}} -function ho(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":ho(c);Qb(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} -function Hd(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d)break}else{if(!d)return a;if(!a[Pb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":var f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel||a.getAttribute("href")!==(null==e.href?null:e.href)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin)||a.getAttribute("title")!==(null==e.title?null: -e.title))break;return a;case "style":if(a.hasAttribute("data-precedence"))break;return a;case "script":f=a.getAttribute("src");if((f!==(null==e.src?null:e.src)||a.getAttribute("type")!==(null==e.type?null:e.type)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin))&&f&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}a=Id(a.nextSibling);if(null===a)break}return null} -function Kd(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if(!c)return null;a=Id(a.nextSibling);if(null===a)return null}return a}function Id(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b)break;if("/$"===b)return null}}return a} -function xi(a,b,c,d,e){a[Ib]=e;a[Jb]=c;d=0!==(e.mode&1);switch(b){case "dialog":Z("cancel",a);Z("close",a);break;case "iframe":case "object":case "embed":Z("load",a);break;case "video":case "audio":for(e=0;e<Rn.length;e++)Z(Rn[e],a);break;case "source":Z("error",a);break;case "img":case "image":case "link":Z("error",a);Z("load",a);break;case "details":Z("toggle",a);break;case "input":Z("invalid",a);Ac(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);tc(a);break;case "select":Z("invalid", -a);break;case "textarea":Z("invalid",a),Ec(a,c.value,c.defaultValue,c.children),tc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&Bi(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Z("scroll",a);null!=c.onClick&&(a.onclick=wj)} -function Sb(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function yi(a,b,c){b=zi(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(u(452));return a;case "head":a=b.head;if(!a)throw Error(u(453));return a;case "body":a=b.body;if(!a)throw Error(u(454));return a;default:throw Error(u(451));}}var io=new Map,jo=new Set; -function Rj(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var ro={prefetchDNS:ko,preconnect:lo,preload:mo,preloadModule:no,preinitStyle:oo,preinitScript:po,preinitModuleScript:qo}; -function so(a,b,c){var d=document;if("string"===typeof b&&b){var e=xc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');jo.has(e)||(jo.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),Ai(b,"link",a),Xb(b),d.head.appendChild(b)))}}function ko(a){so("dns-prefetch",a,null)}function lo(a,b){so("preconnect",a,b)} -function mo(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+xc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+xc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+xc(c.imageSizes)+'"]')):e+='[href="'+xc(a)+'"]':e+='[href="'+xc(a)+'"]';var f=e;switch(b){case "style":f=to(a);break;case "script":f=uo(a)}io.has(f)||(a=w({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),io.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector(vo(f))|| -"script"===b&&d.querySelector(wo(f))||(b=d.createElement("link"),Ai(b,"link",a),Xb(b),d.head.appendChild(b)))}} -function no(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+xc(d)+'"][href="'+xc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=uo(a)}if(!io.has(f)&&(a=w({rel:"modulepreload",href:a},b),io.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(wo(f)))return}d=c.createElement("link"); -Ai(d,"link",a);Xb(d);c.head.appendChild(d)}}} -function oo(a,b,c){var d=document;if(a){var e=Wb(d).hoistableStyles,f=to(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector(vo(f)))h.loading=1;else{a=w({rel:"stylesheet",href:a,"data-precedence":b},c);(c=io.get(f))&&xo(a,c);var m=g=d.createElement("link");Xb(m);Ai(m,"link",a);m._p=new Promise(function(p,q){m.onload=p;m.onerror=q});m.addEventListener("load",function(){h.loading|=1});m.addEventListener("error",function(){h.loading|=2});h.loading|=4;yo(g,b,d)}g= -{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function po(a,b){var c=document;if(a){var d=Wb(c).hoistableScripts,e=uo(a),f=d.get(e);f||(f=c.querySelector(wo(e)),f||(a=w({src:a,async:!0},b),(b=io.get(e))&&zo(a,b),f=c.createElement("script"),Xb(f),Ai(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function qo(a,b){var c=document;if(a){var d=Wb(c).hoistableScripts,e=uo(a),f=d.get(e);f||(f=c.querySelector(wo(e)),f||(a=w({src:a,async:!0,type:"module"},b),(b=io.get(e))&&zo(a,b),f=c.createElement("script"),Xb(f),Ai(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} -function fl(a,b,c){b=(b=Fa.current)?Rj(b):null;if(!b)throw Error(u(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=to(c.href),b=Wb(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=to(c.href);var d=Wb(b).hoistableStyles,e=d.get(a); -e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),io.has(a)||Ao(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=uo(c.src),b=Wb(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", -instance:null,count:0,state:null};default:throw Error(u(444,a));}}function to(a){return'href="'+xc(a)+'"'}function vo(a){return'link[rel="stylesheet"]['+a+"]"}function Bo(a){return w({},a,{"data-precedence":a.precedence,precedence:null})} -function Ao(a,b,c,d){io.set(b,c);a.querySelector(vo(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),Ai(b,"link",c),Xb(b),a.head.appendChild(b)))}function uo(a){return'[src="'+xc(a)+'"]'}function wo(a){return"script[async]"+a} -function Oj(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+xc(c.href)+'"]');if(d)return b.instance=d,Xb(d),d;var e=w({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");Xb(d);Ai(d,"style",e);yo(d,c.precedence,a);return b.instance=d;case "stylesheet":e=to(c.href);var f=a.querySelector(vo(e));if(f)return b.instance=f,Xb(f),f;d=Bo(c);(e=io.get(e))&&xo(d,e);f=(a.ownerDocument|| -a).createElement("link");Xb(f);var g=f;g._p=new Promise(function(h,m){g.onload=h;g.onerror=m});Ai(f,"link",d);b.state.loading|=4;yo(f,c.precedence,a);return b.instance=f;case "script":f=uo(c.src);if(e=a.querySelector(wo(f)))return b.instance=e,Xb(e),e;d=c;if(e=io.get(f))d=w({},c),zo(d,e);a=a.ownerDocument||a;e=a.createElement("script");Xb(e);Ai(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(u(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& -4)&&(d=b.instance,b.state.loading|=4,yo(d,c.precedence,a));return b.instance}function yo(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} -function xo(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function zo(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var Qj=null; -function Mj(a,b,c){if(null===Qj){var d=new Map;var e=Qj=new Map;e.set(c,d)}else e=Qj,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Pb]||f[Ib]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} -function Nj(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} -function hl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} -var Hk=null;function Ik(){} -function fk(a,b,c){if(null===Hk)throw Error(u(475));var d=Hk;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=to(c.href),f=a.querySelector(vo(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=Co.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;Xb(f);return}f=a.ownerDocument||a;c=Bo(c);(e=io.get(e))&&xo(c,e);f=f.createElement("link");Xb(f);var g=f;g._p=new Promise(function(h,m){g.onload=h; -g.onerror=m});Ai(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=Co.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} -function Jk(){if(null===Hk)throw Error(u(475));var a=Hk;a.stylesheets&&0===a.count&&Do(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&Do(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function Co(){this.count--;if(0===this.count)if(this.stylesheets)Do(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var Eo=null; -function Do(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,Eo=new Map,b.forEach(Fo,a),Eo=null,Co.call(a))} -function Fo(a,b){if(!(b.state.loading&4)){var c=Eo.get(a);if(c)var d=c.get("last");else{c=new Map;Eo.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=Co.bind(this);e.addEventListener("load",d);e.addEventListener("error", -d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var Go=ca.Dispatcher;"undefined"!==typeof document&&(Go.current=ro);var Ho="function"===typeof reportError?reportError:function(a){console.error(a)};function Io(a){this._internalRoot=a}Jo.prototype.render=Io.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(u(409));nl(a,b,null,null)}; -Jo.prototype.unmount=Io.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Lk(function(){nl(null,a,null,null)});b[Kb]=null}};function Jo(a){this._internalRoot=a}Jo.prototype.unstable_scheduleHydration=function(a){if(a){var b=G;a={blockedOn:null,target:a,priority:b};for(var c=0;c<qm.length&&0!==b&&b<qm[c].priority;c++);qm.splice(c,0,a);0===c&&vm(a)}};function Ko(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} -function Lo(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function Mo(){} -function No(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=ol(g);f.call(p)}}var g=ml(b,d,a,0,null,!1,!1,"",Mo,null,null);a._reactRootContainer=g;a[Kb]=g.current;Ci(8===a.nodeType?a.parentNode:a);Lk();return g}gj(a);if("function"===typeof d){var h=d;d=function(){var p=ol(m);h.call(p)}}var m=jl(a,0,!1,null,null,!1,!1,"",Mo,null,null);a._reactRootContainer=m;a[Kb]=m.current;Ci(8===a.nodeType?a.parentNode:a);Lk(function(){nl(b,m,c,d)});return m} -function Oo(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var m=ol(g);h.call(m)}}nl(b,g,a,e)}else g=No(c,b,a,e,d);return ol(g)}function Po(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var Qo=ca.Dispatcher;ca.Events=[Tb,Ub,Vb,Uc,Vc,Kk];var Ro={findFiberByHostInstance:Rb,bundleType:0,version:"18.3.0-canary-d900fadbf-20230929",rendererPackageName:"react-dom"}; -(function(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{a=w({},a,{getLaneLabelMap:bb,injectProfilingHooks:ab}),Xa=b.inject(a),Ya=b}catch(c){}return b.checkDCE?!0:!1})({bundleType:Ro.bundleType,version:Ro.version,rendererPackageName:Ro.rendererPackageName,rendererConfig:Ro.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null, -overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=$c(a);return null===a?null:a.stateNode},findFiberByHostInstance:Ro.findFiberByHostInstance||tl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-canary-d900fadbf-20230929"}); -exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca;exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ko(b))throw Error(u(200));return kl(a,b,null,c)}; -exports.createRoot=function(a,b){if(!Ko(a))throw Error(u(299));var c=!1,d="",e=Ho,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=jl(a,1,!1,null,null,c,!1,d,e,f,null);a[Kb]=b.current;Go.current=ro;Ci(8===a.nodeType?a.parentNode:a);return new Io(b)}; -exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(u(188));a=Object.keys(a).join(",");throw Error(u(268,a));}a=$c(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return Lk(a)};exports.hydrate=function(a,b,c){if(!Lo(b))throw Error(u(200));return Oo(null,a,b,!0,c)}; -exports.hydrateRoot=function(a,b,c){if(!Ko(a))throw Error(u(405));var d=!1,e="",f=Ho,g=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks));b=ml(b,null,a,1,null!=c?c:null,d,!1,e,f,g,null);a[Kb]=b.current;Go.current=ro;Ci(a);return new Jo(b)}; -exports.preconnect=function(a,b){var c=Qo.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=Qo.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; -exports.preinit=function(a,b){var c=Qo.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=Po(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; -exports.preinitModule=function(a,b){var c=Qo.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=Po(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; -exports.preload=function(a,b){var c=Qo.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=Po(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== -typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=Qo.current;if(c&&"string"===typeof a)if(b){var d=Po(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!Lo(b))throw Error(u(200));return Oo(null,a,b,!1,c)}; -exports.unmountComponentAtNode=function(a){if(!Lo(a))throw Error(u(40));return a._reactRootContainer?(Lk(function(){Oo(null,null,a,!1,function(){a._reactRootContainer=null;a[Kb]=null})}),!0):!1};exports.unstable_batchedUpdates=Kk;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!Lo(c))throw Error(u(200));if(null==a||void 0===a._reactInternals)throw Error(u(38));return Oo(a,b,c,!1,d)};exports.version="18.3.0-canary-d900fadbf-20230929"; +var ao=fc&&"documentMode"in document&&11>=document.documentMode,bo=null,co=null,eo=null,fo=!1; +function go(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;fo||null==bo||bo!==zc(d)||(d=bo,"selectionStart"in d&&Gj(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),eo&&ve(eo,d)||(eo=d,d=Hn(co,"onSelect"),0<d.length&&(b=new fm("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=bo)))} +function ho(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var io={animationend:ho("Animation","AnimationEnd"),animationiteration:ho("Animation","AnimationIteration"),animationstart:ho("Animation","AnimationStart"),transitionend:ho("Transition","TransitionEnd")},jo={},ko={}; +fc&&(ko=document.createElement("div").style,"AnimationEvent"in window||(delete io.animationend.animation,delete io.animationiteration.animation,delete io.animationstart.animation),"TransitionEvent"in window||delete io.transitionend.transition);function lo(a){if(jo[a])return jo[a];if(!io[a])return a;var b=io[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in ko)return jo[a]=b[c];return a}var mo=lo("animationend"),no=lo("animationiteration"),oo=lo("animationstart"),po=lo("transitionend"),qo=new Map,ro="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" "); +function so(a,b){qo.set(a,b);dc(b,[a])}for(var to=0;to<ro.length;to++){var uo=ro[to],vo=uo.toLowerCase(),wo=uo[0].toUpperCase()+uo.slice(1);so(vo,"on"+wo)}so(mo,"onAnimationEnd");so(no,"onAnimationIteration");so(oo,"onAnimationStart");so("dblclick","onDoubleClick");so("focusin","onFocus");so("focusout","onBlur");so(po,"onTransitionEnd");ec("onMouseEnter",["mouseout","mouseover"]);ec("onMouseLeave",["mouseout","mouseover"]);ec("onPointerEnter",["pointerout","pointerover"]); +ec("onPointerLeave",["pointerout","pointerover"]);dc("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));dc("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));dc("onBeforeInput",["compositionend","keypress","textInput","paste"]);dc("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));dc("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")); +dc("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),yo=new Set("cancel close invalid load scroll scrollend toggle".split(" ").concat(xo)); +function zo(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;pj(d,b,void 0,a);a.currentTarget=null} +function Ln(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],l=h.instance,p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;zo(e,h,p);f=l}else for(g=0;g<d.length;g++){h=d[g];l=h.instance;p=h.currentTarget;h=h.listener;if(l!==f&&e.isPropagationStopped())break a;zo(e,h,p);f=l}}}if(lj)throw a=mj,lj=!1,mj=null,a;} +function Y(a,b){var c=b[Pb];void 0===c&&(c=b[Pb]=new Set);var d=a+"__bubble";c.has(d)||(Ao(b,a,2,!1),c.add(d))}function Bo(a,b,c){var d=0;b&&(d|=4);Ao(c,a,d,b)}var Co="_reactListening"+Math.random().toString(36).slice(2);function dj(a){if(!a[Co]){a[Co]=!0;bc.forEach(function(c){"selectionchange"!==c&&(yo.has(c)||Bo(c,!1,a),Bo(c,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[Co]||(b[Co]=!0,Bo("selectionchange",!1,b))}} +function Ao(a,b,c,d){switch(dl(b)){case 2:var e=hn;break;case 8:e=kn;break;default:e=jn}c=e.bind(null,b,c,a);e=void 0;!Zl||"touchstart"!==b&&"touchmove"!==b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)} +function ln(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var l=g.tag;if(3===l||4===l)if(l=g.stateNode.containerInfo,l===e||8===l.nodeType&&l.parentNode===e)return;g=g.return}for(;null!==h;){g=Vb(h);if(null===g)return;l=g.tag;if(5===l||6===l||26===l||27===l){d=f=g;continue a}h=h.parentNode}}d=d.return}Xl(function(){var p= +f,q=Uc(c),x=[];a:{var r=qo.get(a);if(void 0!==r){var u=fm,A=a;switch(a){case "keypress":if(0===am(c))break a;case "keydown":case "keyup":u=Dm;break;case "focusin":A="focus";u=rm;break;case "focusout":A="blur";u=rm;break;case "beforeblur":case "afterblur":u=rm;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":u=nm;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":u= +pm;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":u=Hm;break;case mo:case no:case oo:u=tm;break;case po:u=Jm;break;case "scroll":case "scrollend":u=hm;break;case "wheel":u=Lm;break;case "copy":case "cut":case "paste":u=vm;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":u=Fm}var C=0!==(b&4),J=!C&&("scroll"===a||"scrollend"===a),S=C?null!==r?r+"Capture": +null:r;C=[];for(var m=p,k;null!==m;){var n=m;k=n.stateNode;n=n.tag;5!==n&&26!==n&&27!==n||null===k||null===S||(n=Yl(m,S),null!=n&&C.push(Do(m,n,k)));if(J)break;m=m.return}0<C.length&&(r=new u(r,A,null,c,q),x.push({event:r,listeners:C}))}}if(0===(b&7)){a:{r="mouseover"===a||"pointerover"===a;u="mouseout"===a||"pointerout"===a;if(r&&c!==Tc&&(A=c.relatedTarget||c.fromElement)&&(Vb(A)||A[Ob]))break a;if(u||r){r=q.window===q?q:(r=q.ownerDocument)?r.defaultView||r.parentWindow:window;if(u){if(A=c.relatedTarget|| +c.toElement,u=p,A=A?Vb(A):null,null!==A&&(J=$c(A),C=A.tag,A!==J||5!==C&&27!==C&&6!==C))A=null}else u=null,A=p;if(u!==A){C=nm;n="onMouseLeave";S="onMouseEnter";m="mouse";if("pointerout"===a||"pointerover"===a)C=Fm,n="onPointerLeave",S="onPointerEnter",m="pointer";J=null==u?r:Yb(u);k=null==A?r:Yb(A);r=new C(n,m+"leave",u,c,q);r.target=J;r.relatedTarget=k;n=null;Vb(q)===p&&(C=new C(S,m+"enter",A,c,q),C.target=k,C.relatedTarget=J,n=C);J=n;if(u&&A)b:{C=u;S=A;m=0;for(k=C;k;k=Eo(k))m++;k=0;for(n=S;n;n=Eo(n))k++; +for(;0<m-k;)C=Eo(C),m--;for(;0<k-m;)S=Eo(S),k--;for(;m--;){if(C===S||null!==S&&C===S.alternate)break b;C=Eo(C);S=Eo(S)}C=null}else C=null;null!==u&&Fo(x,r,u,C,!1);null!==A&&null!==J&&Fo(x,J,A,C,!0)}}}a:{r=p?Yb(p):window;u=r.nodeName&&r.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===r.type)var v=Nn;else if(Fn(r))if(On)v=Xn;else{v=Vn;var y=Un}else(u=r.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(v=Wn);if(v&&(v=v(a,p))){Gn(x,v,c,q);break a}y&&y(a,r,p); +"focusout"===a&&p&&"number"===r.type&&null!=p.memoizedProps.value&&Dc(r,"number",r.value)}y=p?Yb(p):window;switch(a){case "focusin":if(Fn(y)||"true"===y.contentEditable)bo=y,co=p,eo=null;break;case "focusout":eo=co=bo=null;break;case "mousedown":fo=!0;break;case "contextmenu":case "mouseup":case "dragend":fo=!1;go(x,c,q);break;case "selectionchange":if(ao)break;case "keydown":case "keyup":go(x,c,q)}var B;if(sn)b:{switch(a){case "compositionstart":var z="onCompositionStart";break b;case "compositionend":z= +"onCompositionEnd";break b;case "compositionupdate":z="onCompositionUpdate";break b}z=void 0}else Bn?zn(a,c)&&(z="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(z="onCompositionStart");z&&(wn&&"ko"!==c.locale&&(Bn||"onCompositionStart"!==z?"onCompositionEnd"===z&&Bn&&(B=qn()):(nn=q,on="value"in nn?nn.value:nn.textContent,Bn=!0)),y=Hn(p,z),0<y.length&&(z=new xm(z,a,null,c,q),x.push({event:z,listeners:y}),B?z.data=B:(B=An(c),null!==B&&(z.data=B))));if(B=vn?Cn(a,c):Dn(a,c))z=Hn(p,"onBeforeInput"), +0<z.length&&(y=new xm("onBeforeInput","beforeinput",null,c,q),x.push({event:y,listeners:z}),y.data=B);Mm(x,a,p,c,q)}Ln(x,b)})}function Do(a,b,c){return{instance:a,listener:b,currentTarget:c}}function Hn(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;e=e.tag;5!==e&&26!==e&&27!==e||null===f||(e=Yl(a,c),null!=e&&d.unshift(Do(a,e,f)),e=Yl(a,b),null!=e&&d.push(Do(a,e,f)));a=a.return}return d} +function Eo(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag&&27!==a.tag);return a?a:null}function Fo(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,l=h.alternate,p=h.stateNode;h=h.tag;if(null!==l&&l===d)break;5!==h&&26!==h&&27!==h||null===p||(l=p,e?(p=Yl(c,f),null!=p&&g.unshift(Do(c,p,l))):e||(p=Yl(c,f),null!=p&&g.push(Do(c,p,l))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var Go=/\r\n?/g,Ho=/\u0000|\uFFFD/g; +function Io(a){return("string"===typeof a?a:""+a).replace(Go,"\n").replace(Ho,"")}function cj(a,b,c){b=Io(b);if(Io(a)!==b&&c)throw Error(t(425));}function Yj(){} +function Z(a,b,c,d,e,f){switch(c){case "children":"string"===typeof d?"body"===b||"textarea"===b&&""===d||Nc(a,d):"number"===typeof d&&"body"!==b&&Nc(a,""+d);break;case "className":lc(a,"class",d);break;case "tabIndex":lc(a,"tabindex",d);break;case "dir":case "role":case "viewBox":case "width":case "height":lc(a,c,d);break;case "style":Qc(a,d,f);break;case "src":case "href":if(null==d||"function"===typeof d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+ +d);break;case "action":case "formAction":if("function"===typeof d){a.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else"function"===typeof f&&("formAction"===c?("input"!==b&&Z(a,b,"name",e.name,e,null),Z(a,b,"formEncType",e.formEncType,e,null),Z(a, +b,"formMethod",e.formMethod,e,null),Z(a,b,"formTarget",e.formTarget,e,null)):(Z(a,b,"encType",e.encType,e,null),Z(a,b,"method",e.method,e,null),Z(a,b,"target",e.target,e,null)));if(null==d||"symbol"===typeof d||"boolean"===typeof d){a.removeAttribute(c);break}a.setAttribute(c,""+d);break;case "onClick":null!=d&&(a.onclick=Yj);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in +d))throw Error(t(61));d=d.__html;if(null!=d){if(null!=e.children)throw Error(t(60));Mc(a,d)}}break;case "multiple":a.multiple=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "muted":a.muted=d&&"function"!==typeof d&&"symbol"!==typeof d;break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "defaultValue":case "defaultChecked":case "innerHTML":break;case "autoFocus":break;case "xlinkHref":if(null==d||"function"===typeof d||"boolean"===typeof d||"symbol"===typeof d){a.removeAttribute("xlink:href"); +break}a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+d);break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""+d):a.removeAttribute(c);break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":d&& +"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,""):a.removeAttribute(c);break;case "capture":case "download":!0===d?a.setAttribute(c,""):!1!==d&&null!=d&&"function"!==typeof d&&"symbol"!==typeof d?a.setAttribute(c,d):a.removeAttribute(c);break;case "cols":case "rows":case "size":case "span":null!=d&&"function"!==typeof d&&"symbol"!==typeof d&&!isNaN(d)&&1<=d?a.setAttribute(c,d):a.removeAttribute(c);break;case "rowSpan":case "start":null==d||"function"===typeof d||"symbol"===typeof d|| +isNaN(d)?a.removeAttribute(c):a.setAttribute(c,d);break;case "xlinkActuate":mc(a,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case "xlinkArcrole":mc(a,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case "xlinkRole":mc(a,"http://www.w3.org/1999/xlink","xlink:role",d);break;case "xlinkShow":mc(a,"http://www.w3.org/1999/xlink","xlink:show",d);break;case "xlinkTitle":mc(a,"http://www.w3.org/1999/xlink","xlink:title",d);break;case "xlinkType":mc(a,"http://www.w3.org/1999/xlink","xlink:type", +d);break;case "xmlBase":mc(a,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case "xmlLang":mc(a,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case "xmlSpace":mc(a,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case "is":kc(a,"is",d);break;default:if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])e=Sc.get(c)||c,kc(a,e,d)}} +function Jo(a,b,c,d,e,f){switch(c){case "style":Qc(a,d,f);break;case "dangerouslySetInnerHTML":if(null!=d){if("object"!==typeof d||!("__html"in d))throw Error(t(61));b=d.__html;if(null!=b){if(null!=e.children)throw Error(t(60));Mc(a,b)}}break;case "children":"string"===typeof d?Nc(a,d):"number"===typeof d&&Nc(a,""+d);break;case "onScroll":null!=d&&Y("scroll",a);break;case "onScrollEnd":null!=d&&Y("scrollend",a);break;case "onClick":null!=d&&(a.onclick=Yj);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":case "innerHTML":break; +default:cc.hasOwnProperty(c)||("boolean"===typeof d&&(d=""+d),kc(a,c,d))}} +function bj(a,b,c){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":Y("invalid",a);var d=null,e=null,f=null,g=null,h=null,l=null;for(q in c)if(c.hasOwnProperty(q)){var p=c[q];if(null!=p)switch(q){case "name":d=p;break;case "type":e=p;break;case "checked":h=p;break;case "defaultChecked":l=p;break;case "value":f=p;break;case "defaultValue":g=p;break;case "children":case "dangerouslySetInnerHTML":if(null!=p)throw Error(t(137,b));break;default:Z(a, +b,q,p,c,null)}}Ec(a,f,g,h,l,e,d,!1);xc(a);return;case "select":Y("invalid",a);var q=e=f=null;for(d in c)if(c.hasOwnProperty(d)&&(g=c[d],null!=g))switch(d){case "value":f=g;break;case "defaultValue":e=g;break;case "multiple":q=g;default:Z(a,b,d,g,c,null)}b=f;c=e;a.multiple=!!q;null!=b?Gc(a,!!q,b,!1):null!=c&&Gc(a,!!q,c,!0);return;case "textarea":Y("invalid",a);f=d=q=null;for(e in c)if(c.hasOwnProperty(e)&&(g=c[e],null!=g))switch(e){case "value":q=g;break;case "defaultValue":d=g;break;case "children":f= +g;break;case "dangerouslySetInnerHTML":if(null!=g)throw Error(t(91));break;default:Z(a,b,e,g,c,null)}Ic(a,q,d,f);xc(a);return;case "option":for(g in c)if(c.hasOwnProperty(g)&&(q=c[g],null!=q))switch(g){case "selected":a.selected=q&&"function"!==typeof q&&"symbol"!==typeof q;break;default:Z(a,b,g,q,c,null)}return;case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":Y("load",a);break;case "video":case "audio":for(q=0;q<xo.length;q++)Y(xo[q],a);break;case "image":Y("error",a);Y("load", +a);break;case "details":Y("toggle",a);break;case "embed":case "source":case "img":case "link":Y("error",a),Y("load",a);case "area":case "base":case "br":case "col":case "hr":case "keygen":case "meta":case "param":case "track":case "wbr":case "menuitem":for(h in c)if(c.hasOwnProperty(h)&&(q=c[h],null!=q))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(t(137,b));default:Z(a,b,h,q,c,null)}return;default:if(Rc(b)){for(l in c)c.hasOwnProperty(l)&&(q=c[l],null!=q&&Jo(a,b,l,q,c,null)); +return}}for(f in c)c.hasOwnProperty(f)&&(q=c[f],null!=q&&Z(a,b,f,q,c,null))} +function rk(a,b,c,d){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "input":var e=null,f=null,g=null,h=null,l=null,p=null,q=null;for(u in c){var x=c[u];if(c.hasOwnProperty(u)&&null!=x)switch(u){case "checked":break;case "value":break;case "defaultValue":l=x;default:d.hasOwnProperty(u)||Z(a,b,u,null,d,x)}}for(var r in d){var u=d[r];x=c[r];if(d.hasOwnProperty(r)&&(null!=u||null!=x))switch(r){case "type":f=u;break;case "name":e=u;break;case "checked":p= +u;break;case "defaultChecked":q=u;break;case "value":g=u;break;case "defaultValue":h=u;break;case "children":case "dangerouslySetInnerHTML":if(null!=u)throw Error(t(137,b));break;default:u!==x&&Z(a,b,r,u,d,x)}}Cc(a,g,h,l,p,q,f,e);return;case "select":u=g=h=r=null;for(f in c)if(l=c[f],c.hasOwnProperty(f)&&null!=l)switch(f){case "value":break;case "multiple":u=l;default:d.hasOwnProperty(f)||Z(a,b,f,null,d,l)}for(e in d)if(f=d[e],l=c[e],d.hasOwnProperty(e)&&(null!=f||null!=l))switch(e){case "value":r= +f;break;case "defaultValue":h=f;break;case "multiple":g=f;default:f!==l&&Z(a,b,e,f,d,l)}b=h;c=g;d=u;null!=r?Gc(a,!!c,r,!1):!!d!==!!c&&(null!=b?Gc(a,!!c,b,!0):Gc(a,!!c,c?[]:"",!1));return;case "textarea":u=r=null;for(h in c)if(e=c[h],c.hasOwnProperty(h)&&null!=e&&!d.hasOwnProperty(h))switch(h){case "value":break;case "children":break;default:Z(a,b,h,null,d,e)}for(g in d)if(e=d[g],f=c[g],d.hasOwnProperty(g)&&(null!=e||null!=f))switch(g){case "value":r=e;break;case "defaultValue":u=e;break;case "children":break; +case "dangerouslySetInnerHTML":if(null!=e)throw Error(t(91));break;default:e!==f&&Z(a,b,g,e,d,f)}Hc(a,r,u);return;case "option":for(var A in c)if(r=c[A],c.hasOwnProperty(A)&&null!=r&&!d.hasOwnProperty(A))switch(A){case "selected":a.selected=!1;break;default:Z(a,b,A,null,d,r)}for(l in d)if(r=d[l],u=c[l],d.hasOwnProperty(l)&&r!==u&&(null!=r||null!=u))switch(l){case "selected":a.selected=r&&"function"!==typeof r&&"symbol"!==typeof r;break;default:Z(a,b,l,r,d,u)}return;case "img":case "link":case "area":case "base":case "br":case "col":case "embed":case "hr":case "keygen":case "meta":case "param":case "source":case "track":case "wbr":case "menuitem":for(var C in c)r= +c[C],c.hasOwnProperty(C)&&null!=r&&!d.hasOwnProperty(C)&&Z(a,b,C,null,d,r);for(p in d)if(r=d[p],u=c[p],d.hasOwnProperty(p)&&r!==u&&(null!=r||null!=u))switch(p){case "children":case "dangerouslySetInnerHTML":if(null!=r)throw Error(t(137,b));break;default:Z(a,b,p,r,d,u)}return;default:if(Rc(b)){for(var J in c)r=c[J],c.hasOwnProperty(J)&&null!=r&&!d.hasOwnProperty(J)&&Jo(a,b,J,null,d,r);for(q in d)r=d[q],u=c[q],!d.hasOwnProperty(q)||r===u||null==r&&null==u||Jo(a,b,q,r,d,u);return}}for(var S in c)r=c[S], +c.hasOwnProperty(S)&&null!=r&&!d.hasOwnProperty(S)&&Z(a,b,S,null,d,r);for(x in d)r=d[x],u=c[x],!d.hasOwnProperty(x)||r===u||null==r&&null==u||Z(a,b,x,r,d,u)}var Dj=null,Hj=null;function aj(a){return 9===a.nodeType?a:a.ownerDocument}function Ka(a){switch(a){case "http://www.w3.org/2000/svg":return 1;case "http://www.w3.org/1998/Math/MathML":return 2;default:return 0}} +function La(a,b){if(0===a)switch(b){case "svg":return 1;case "math":return 2;default:return 0}return 1===a&&"foreignObject"===b?0:a}function Wd(a,b){return"textarea"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html} +var gl="function"===typeof setTimeout?setTimeout:void 0,ol="function"===typeof clearTimeout?clearTimeout:void 0,Ko="function"===typeof Promise?Promise:void 0,Gf="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof Ko?function(a){return Ko.resolve(null).then(a).catch(Lo)}:gl;function Lo(a){setTimeout(function(){throw a;})} +function ek(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,"/$"===c){if(0===d){a.removeChild(e);fk(b);return}d--}else"$"!==c&&"$?"!==c&&"$!"!==c||d++;c=e}while(c);fk(b)}function Ij(a){var b=a.nodeType;if(9===b)Mo(a);else if(1===b)switch(a.nodeName){case "HEAD":case "HTML":case "BODY":Mo(a);break;default:a.textContent=""}} +function Mo(a){var b=a.firstChild;b&&10===b.nodeType&&(b=b.nextSibling);for(;b;){var c=b;b=b.nextSibling;switch(c.nodeName){case "HTML":case "HEAD":case "BODY":Mo(c);Ub(c);continue;case "SCRIPT":case "STYLE":continue;case "LINK":if("stylesheet"===c.rel.toLowerCase())continue}a.removeChild(c)}} +function Ld(a,b,c,d){for(;1===a.nodeType;){var e=c;if(a.nodeName.toLowerCase()!==b.toLowerCase()){if(!d&&("INPUT"!==a.nodeName||"hidden"!==a.type))break}else if(!d)if("input"===b&&"hidden"===a.type){var f=null==e.name?null:""+e.name;if("hidden"===e.type&&a.getAttribute("name")===f)return a}else return a;else if(!a[Tb])switch(b){case "meta":if(!a.hasAttribute("itemprop"))break;return a;case "link":f=a.getAttribute("rel");if("stylesheet"===f&&a.hasAttribute("data-precedence"))break;else if(f!==e.rel|| +a.getAttribute("href")!==(null==e.href?null:e.href)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin)||a.getAttribute("title")!==(null==e.title?null:e.title))break;return a;case "style":if(a.hasAttribute("data-precedence"))break;return a;case "script":f=a.getAttribute("src");if((f!==(null==e.src?null:e.src)||a.getAttribute("type")!==(null==e.type?null:e.type)||a.getAttribute("crossorigin")!==(null==e.crossOrigin?null:e.crossOrigin))&&f&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break; +return a;default:return a}a=Qd(a);if(null===a)break}return null}function Od(a,b,c){if(""===b)return null;for(;3!==a.nodeType;){if((1!==a.nodeType||"INPUT"!==a.nodeName||"hidden"!==a.type)&&!c)return null;a=Qd(a);if(null===a)return null}return a}function Md(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if("$"===b||"$!"===b||"$?"===b||"F!"===b||"F"===b)break;if("/$"===b)return null}}return a}function Qd(a){return Md(a.nextSibling)} +function Zi(a,b,c,d,e){a[Mb]=e;a[Nb]=c;d=0!==(e.mode&1);switch(b){case "dialog":Y("cancel",a);Y("close",a);break;case "iframe":case "object":case "embed":Y("load",a);break;case "video":case "audio":for(e=0;e<xo.length;e++)Y(xo[e],a);break;case "source":Y("error",a);break;case "img":case "image":case "link":Y("error",a);Y("load",a);break;case "details":Y("toggle",a);break;case "input":Y("invalid",a);Ec(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);xc(a);break;case "select":Y("invalid", +a);break;case "textarea":Y("invalid",a),Ic(a,c.value,c.defaultValue,c.children),xc(a)}e=c.children;"string"!==typeof e&&"number"!==typeof e||a.textContent===""+e||(!0!==c.suppressHydrationWarning&&cj(a.textContent,e,d),d||"body"===b||(a.textContent=e));null!=c.onScroll&&Y("scroll",a);null!=c.onScrollEnd&&Y("scrollend",a);null!=c.onClick&&(a.onclick=Yj)} +function Wb(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function $i(a,b,c){b=aj(c);switch(a){case "html":a=b.documentElement;if(!a)throw Error(t(452));return a;case "head":a=b.head;if(!a)throw Error(t(453));return a;case "body":a=b.body;if(!a)throw Error(t(454));return a;default:throw Error(t(451));}}var No=new Map,Oo=new Set; +function tk(a){return"function"===typeof a.getRootNode?a.getRootNode():a.ownerDocument}var Wo={prefetchDNS:Po,preconnect:Qo,preload:Ro,preloadModule:So,preinitStyle:To,preinitScript:Uo,preinitModuleScript:Vo}; +function Xo(a,b,c){var d=document;if("string"===typeof b&&b){var e=Bc(b);e='link[rel="'+a+'"][href="'+e+'"]';"string"===typeof c&&(e+='[crossorigin="'+c+'"]');Oo.has(e)||(Oo.add(e),a={rel:a,crossOrigin:c,href:b},null===d.querySelector(e)&&(b=d.createElement("link"),bj(b,"link",a),ac(b),d.head.appendChild(b)))}}function Po(a){Xo("dns-prefetch",a,null)}function Qo(a,b){Xo("preconnect",a,b)} +function Ro(a,b,c){var d=document;if(a&&b&&d){var e='link[rel="preload"][as="'+Bc(b)+'"]';"image"===b?c&&c.imageSrcSet?(e+='[imagesrcset="'+Bc(c.imageSrcSet)+'"]',"string"===typeof c.imageSizes&&(e+='[imagesizes="'+Bc(c.imageSizes)+'"]')):e+='[href="'+Bc(a)+'"]':e+='[href="'+Bc(a)+'"]';var f=e;switch(b){case "style":f=Yo(a);break;case "script":f=Zo(a)}No.has(f)||(a=w({rel:"preload",href:"image"===b&&c&&c.imageSrcSet?void 0:a,as:b},c),No.set(f,a),null!==d.querySelector(e)||"style"===b&&d.querySelector($o(f))|| +"script"===b&&d.querySelector(ap(f))||(b=d.createElement("link"),bj(b,"link",a),ac(b),d.head.appendChild(b)))}} +function So(a,b){var c=document;if(a){var d=b&&"string"===typeof b.as?b.as:"script",e='link[rel="modulepreload"][as="'+Bc(d)+'"][href="'+Bc(a)+'"]',f=e;switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":f=Zo(a)}if(!No.has(f)&&(a=w({rel:"modulepreload",href:a},b),No.set(f,a),null===c.querySelector(e))){switch(d){case "audioworklet":case "paintworklet":case "serviceworker":case "sharedworker":case "worker":case "script":if(c.querySelector(ap(f)))return}d=c.createElement("link"); +bj(d,"link",a);ac(d);c.head.appendChild(d)}}} +function To(a,b,c){var d=document;if(a){var e=$b(d).hoistableStyles,f=Yo(a);b=b||"default";var g=e.get(f);if(!g){var h={loading:0,preload:null};if(g=d.querySelector($o(f)))h.loading=1;else{a=w({rel:"stylesheet",href:a,"data-precedence":b},c);(c=No.get(f))&&bp(a,c);var l=g=d.createElement("link");ac(l);bj(l,"link",a);l._p=new Promise(function(p,q){l.onload=p;l.onerror=q});l.addEventListener("load",function(){h.loading|=1});l.addEventListener("error",function(){h.loading|=2});h.loading|=4;cp(g,b,d)}g= +{type:"stylesheet",instance:g,count:1,state:h};e.set(f,g)}}}function Uo(a,b){var c=document;if(a){var d=$b(c).hoistableScripts,e=Zo(a),f=d.get(e);f||(f=c.querySelector(ap(e)),f||(a=w({src:a,async:!0},b),(b=No.get(e))&&dp(a,b),f=c.createElement("script"),ac(f),bj(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function Vo(a,b){var c=document;if(a){var d=$b(c).hoistableScripts,e=Zo(a),f=d.get(e);f||(f=c.querySelector(ap(e)),f||(a=w({src:a,async:!0,type:"module"},b),(b=No.get(e))&&dp(a,b),f=c.createElement("script"),ac(f),bj(f,"link",a),c.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(e,f))}} +function Hl(a,b,c){b=(b=Ga.current)?tk(b):null;if(!b)throw Error(t(446));switch(a){case "meta":case "title":return null;case "style":return"string"===typeof c.precedence&&"string"===typeof c.href?(c=Yo(c.href),b=$b(b).hoistableStyles,a=b.get(c),a||(a={type:"style",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void",instance:null,count:0,state:null};case "link":if("stylesheet"===c.rel&&"string"===typeof c.href&&"string"===typeof c.precedence){a=Yo(c.href);var d=$b(b).hoistableStyles,e=d.get(a); +e||(b=b.ownerDocument||b,e={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(a,e),No.has(a)||ep(b,a,{rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},e.state));return e}return null;case "script":return"string"===typeof c.src&&!0===c.async?(c=Zo(c.src),b=$b(b).hoistableScripts,a=b.get(c),a||(a={type:"script",instance:null,count:0,state:null},b.set(c,a)),a):{type:"void", +instance:null,count:0,state:null};default:throw Error(t(444,a));}}function Yo(a){return'href="'+Bc(a)+'"'}function $o(a){return'link[rel="stylesheet"]['+a+"]"}function fp(a){return w({},a,{"data-precedence":a.precedence,precedence:null})} +function ep(a,b,c,d){No.set(b,c);a.querySelector($o(b))||(a.querySelector('link[rel="preload"][as="style"]['+b+"]")?d.loading=1:(b=a.createElement("link"),d.preload=b,b.addEventListener("load",function(){return d.loading|=1}),b.addEventListener("error",function(){return d.loading|=2}),bj(b,"link",c),ac(b),a.head.appendChild(b)))}function Zo(a){return'[src="'+Bc(a)+'"]'}function ap(a){return"script[async]"+a} +function qk(a,b,c){b.count++;if(null===b.instance)switch(b.type){case "style":var d=a.querySelector('style[data-href~="'+Bc(c.href)+'"]');if(d)return b.instance=d,ac(d),d;var e=w({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});d=(a.ownerDocument||a).createElement("style");ac(d);bj(d,"style",e);cp(d,c.precedence,a);return b.instance=d;case "stylesheet":e=Yo(c.href);var f=a.querySelector($o(e));if(f)return b.instance=f,ac(f),f;d=fp(c);(e=No.get(e))&&bp(d,e);f=(a.ownerDocument|| +a).createElement("link");ac(f);var g=f;g._p=new Promise(function(h,l){g.onload=h;g.onerror=l});bj(f,"link",d);b.state.loading|=4;cp(f,c.precedence,a);return b.instance=f;case "script":f=Zo(c.src);if(e=a.querySelector(ap(f)))return b.instance=e,ac(e),e;d=c;if(e=No.get(f))d=w({},c),dp(d,e);a=a.ownerDocument||a;e=a.createElement("script");ac(e);bj(e,"link",d);a.head.appendChild(e);return b.instance=e;case "void":return null;default:throw Error(t(443,b.type));}else"stylesheet"===b.type&&0===(b.state.loading& +4)&&(d=b.instance,b.state.loading|=4,cp(d,c.precedence,a));return b.instance}function cp(a,b,c){for(var d=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=d.length?d[d.length-1]:null,f=e,g=0;g<d.length;g++){var h=d[g];if(h.dataset.precedence===b)f=h;else if(f!==e)break}f?f.parentNode.insertBefore(a,f.nextSibling):(b=9===c.nodeType?c.head:c,b.insertBefore(a,b.firstChild))} +function bp(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.title&&(a.title=b.title)}function dp(a,b){null==a.crossOrigin&&(a.crossOrigin=b.crossOrigin);null==a.referrerPolicy&&(a.referrerPolicy=b.referrerPolicy);null==a.integrity&&(a.integrity=b.integrity)}var sk=null; +function ok(a,b,c){if(null===sk){var d=new Map;var e=sk=new Map;e.set(c,d)}else e=sk,d=e.get(c),d||(d=new Map,e.set(c,d));if(d.has(a))return d;d.set(a,null);c=c.getElementsByTagName(a);for(e=0;e<c.length;e++){var f=c[e];if(!(f[Tb]||f[Mb]||"link"===a&&"stylesheet"===f.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==f.namespaceURI){var g=f.getAttribute(b)||"";g=a+g;var h=d.get(g);h?h.push(f):d.set(g,[f])}}return d} +function pk(a,b,c){a=a.ownerDocument||a;a.head.insertBefore(c,"title"===b?a.querySelector("head > title"):null)} +function Jl(a,b,c){if(1===c||null!=b.itemProp)return!1;switch(a){case "meta":case "title":return!0;case "style":if("string"!==typeof b.precedence||"string"!==typeof b.href||""===b.href)break;return!0;case "link":if("string"!==typeof b.rel||"string"!==typeof b.href||""===b.href||b.onLoad||b.onError)break;switch(b.rel){case "stylesheet":return a=b.disabled,"string"===typeof b.precedence&&null==a;default:return!0}case "script":if(!0===b.async&&!b.onLoad&&!b.onError&&"string"===typeof b.src&&b.src)return!0}return!1} +var il=null;function jl(){} +function Hk(a,b,c){if(null===il)throw Error(t(475));var d=il;if("stylesheet"===b.type&&("string"!==typeof c.media||!1!==matchMedia(c.media).matches)){if(null===b.instance){var e=Yo(c.href),f=a.querySelector($o(e));if(f){a=f._p;null!==a&&"object"===typeof a&&"function"===typeof a.then&&(d.count++,d=gp.bind(d),a.then(d,d));b.state.loading|=4;b.instance=f;ac(f);return}f=a.ownerDocument||a;c=fp(c);(e=No.get(e))&&bp(c,e);f=f.createElement("link");ac(f);var g=f;g._p=new Promise(function(h,l){g.onload=h; +g.onerror=l});bj(f,"link",c);b.instance=f}null===d.stylesheets&&(d.stylesheets=new Map);d.stylesheets.set(b,a);(a=b.state.preload)&&0===(b.state.loading&3)&&(d.count++,b=gp.bind(d),a.addEventListener("load",b),a.addEventListener("error",b))}} +function kl(){if(null===il)throw Error(t(475));var a=il;a.stylesheets&&0===a.count&&hp(a,a.stylesheets);return 0<a.count?function(b){var c=setTimeout(function(){a.stylesheets&&hp(a,a.stylesheets);if(a.unsuspend){var d=a.unsuspend;a.unsuspend=null;d()}},6E4);a.unsuspend=b;return function(){a.unsuspend=null;clearTimeout(c)}}:null}function gp(){this.count--;if(0===this.count)if(this.stylesheets)hp(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null;a()}}var ip=null; +function hp(a,b){a.stylesheets=null;null!==a.unsuspend&&(a.count++,ip=new Map,b.forEach(jp,a),ip=null,gp.call(a))} +function jp(a,b){if(!(b.state.loading&4)){var c=ip.get(a);if(c)var d=c.get("last");else{c=new Map;ip.set(a,c);for(var e=a.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<e.length;f++){var g=e[f];if("link"===g.nodeName||"not all"!==g.getAttribute("media"))c.set("p"+g.dataset.precedence,g),d=g}d&&c.set("last",d)}e=b.instance;g=e.getAttribute("data-precedence");f=c.get("p"+g)||d;f===d&&c.set("last",e);c.set(g,e);this.count++;d=gp.bind(this);e.addEventListener("load",d);e.addEventListener("error", +d);f?f.parentNode.insertBefore(e,f.nextSibling):(a=9===a.nodeType?a.head:a,a.insertBefore(e,a.firstChild));b.state.loading|=4}}var kp=ca.Dispatcher;"undefined"!==typeof document&&(kp.current=Wo);var lp="function"===typeof reportError?reportError:function(a){console.error(a)};function mp(a){this._internalRoot=a}np.prototype.render=mp.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(t(409));Pl(a,b,null,null)}; +np.prototype.unmount=mp.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;ml(function(){Pl(null,a,null,null)});b[Ob]=null}};function np(a){this._internalRoot=a}np.prototype.unstable_scheduleHydration=function(a){if(a){var b=G;a={blockedOn:null,target:a,priority:b};for(var c=0;c<Tm.length&&0!==b&&b<Tm[c].priority;c++);Tm.splice(c,0,a);0===c&&Ym(a)}};function op(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)} +function pp(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function qp(){} +function rp(a,b,c,d,e){if(e){if("function"===typeof d){var f=d;d=function(){var p=Ql(g);f.call(p)}}var g=Ol(b,d,a,0,null,!1,!1,"",qp,null,null);a._reactRootContainer=g;a[Ob]=g.current;dj(8===a.nodeType?a.parentNode:a);ml();return g}Ij(a);if("function"===typeof d){var h=d;d=function(){var p=Ql(l);h.call(p)}}var l=Ll(a,0,!1,null,null,!1,!1,"",qp,null,null);a._reactRootContainer=l;a[Ob]=l.current;dj(8===a.nodeType?a.parentNode:a);ml(function(){Pl(b,l,c,d)});return l} +function sp(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if("function"===typeof e){var h=e;e=function(){var l=Ql(g);h.call(l)}}Pl(b,g,a,e)}else g=rp(c,b,a,e,d);return Ql(g)}function tp(a,b){if("font"===a)return"";if("string"===typeof b)return"use-credentials"===b?b:""}var up=ca.Dispatcher;ca.Events=[Xb,Yb,Zb,Yc,Zc,ll];var vp={findFiberByHostInstance:Vb,bundleType:0,version:"18.3.0-canary-d803f519e-20231020",rendererPackageName:"react-dom"}; +(function(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{a=w({},a,{getLaneLabelMap:eb,injectProfilingHooks:db}),$a=b.inject(a),ab=b}catch(c){}return b.checkDCE?!0:!1})({bundleType:vp.bundleType,version:vp.version,rendererPackageName:vp.rendererPackageName,rendererConfig:vp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null, +overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=dd(a);return null===a?null:a.stateNode},findFiberByHostInstance:vp.findFiberByHostInstance||Vl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-canary-d803f519e-20231020"}); +exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ca;exports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!op(b))throw Error(t(200));return Ml(a,b,null,c)}; +exports.createRoot=function(a,b){if(!op(a))throw Error(t(299));var c=!1,d="",e=lp,f=null;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError),void 0!==b.unstable_transitionCallbacks&&(f=b.unstable_transitionCallbacks));b=Ll(a,1,!1,null,null,c,!1,d,e,f,null);a[Ob]=b.current;kp.current=Wo;dj(8===a.nodeType?a.parentNode:a);return new mp(b)}; +exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(t(188));a=Object.keys(a).join(",");throw Error(t(268,a));}a=dd(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return ml(a)};exports.hydrate=function(a,b,c){if(!pp(b))throw Error(t(200));return sp(null,a,b,!0,c)}; +exports.hydrateRoot=function(a,b,c){if(!op(a))throw Error(t(405));var d=!1,e="",f=lp,g=null,h=null;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(d=!0),void 0!==c.identifierPrefix&&(e=c.identifierPrefix),void 0!==c.onRecoverableError&&(f=c.onRecoverableError),void 0!==c.unstable_transitionCallbacks&&(g=c.unstable_transitionCallbacks),void 0!==c.formState&&(h=c.formState));b=Ol(b,null,a,1,null!=c?c:null,d,!1,e,f,g,h);a[Ob]=b.current;kp.current=Wo;dj(a);return new np(b)}; +exports.preconnect=function(a,b){var c=up.current;c&&"string"===typeof a&&(b?(b=b.crossOrigin,b="string"===typeof b?"use-credentials"===b?b:"":void 0):b=null,c.preconnect(a,b))};exports.prefetchDNS=function(a){var b=up.current;b&&"string"===typeof a&&b.prefetchDNS(a)}; +exports.preinit=function(a,b){var c=up.current;if(c&&"string"===typeof a&&b&&"string"===typeof b.as){var d=b.as,e=tp(d,b.crossOrigin),f="string"===typeof b.integrity?b.integrity:void 0,g="string"===typeof b.fetchPriority?b.fetchPriority:void 0;"style"===d?c.preinitStyle(a,"string"===typeof b.precedence?b.precedence:void 0,{crossOrigin:e,integrity:f,fetchPriority:g}):"script"===d&&c.preinitScript(a,{crossOrigin:e,integrity:f,fetchPriority:g,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}; +exports.preinitModule=function(a,b){var c=up.current;if(c&&"string"===typeof a)if("object"===typeof b&&null!==b){if(null==b.as||"script"===b.as){var d=tp(b.as,b.crossOrigin);c.preinitModuleScript(a,{crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0})}}else null==b&&c.preinitModuleScript(a)}; +exports.preload=function(a,b){var c=up.current;if(c&&"string"===typeof a&&"object"===typeof b&&null!==b&&"string"===typeof b.as){var d=b.as,e=tp(d,b.crossOrigin);c.preload(a,d,{crossOrigin:e,integrity:"string"===typeof b.integrity?b.integrity:void 0,nonce:"string"===typeof b.nonce?b.nonce:void 0,type:"string"===typeof b.type?b.type:void 0,fetchPriority:"string"===typeof b.fetchPriority?b.fetchPriority:void 0,referrerPolicy:"string"===typeof b.referrerPolicy?b.referrerPolicy:void 0,imageSrcSet:"string"=== +typeof b.imageSrcSet?b.imageSrcSet:void 0,imageSizes:"string"===typeof b.imageSizes?b.imageSizes:void 0})}};exports.preloadModule=function(a,b){var c=up.current;if(c&&"string"===typeof a)if(b){var d=tp(b.as,b.crossOrigin);c.preloadModule(a,{as:"string"===typeof b.as&&"script"!==b.as?b.as:void 0,crossOrigin:d,integrity:"string"===typeof b.integrity?b.integrity:void 0})}else c.preloadModule(a)};exports.render=function(a,b,c){if(!pp(b))throw Error(t(200));return sp(null,a,b,!1,c)}; +exports.unmountComponentAtNode=function(a){if(!pp(a))throw Error(t(40));return a._reactRootContainer?(ml(function(){sp(null,null,a,!1,function(){a._reactRootContainer=null;a[Ob]=null})}),!0):!1};exports.unstable_batchedUpdates=ll;exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!pp(c))throw Error(t(200));if(null==a||void 0===a._reactInternals)throw Error(t(38));return sp(a,b,c,!1,d)};exports.useFormState=function(a,b,c){return ea.current.useFormState(a,b,c)}; +exports.useFormStatus=function(){return ea.current.useHostTransitionStatus()};exports.version="18.3.0-canary-d803f519e-20231020"; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( diff --git a/packages/next/src/compiled/react-dom/package.json b/packages/next/src/compiled/react-dom/package.json index ed56d612bb813..1a361cbd0c565 100644 --- a/packages/next/src/compiled/react-dom/package.json +++ b/packages/next/src/compiled/react-dom/package.json @@ -41,10 +41,10 @@ }, "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "0.24.0-canary-d900fadbf-20230929" + "scheduler": "0.24.0-canary-d803f519e-20231020" }, "peerDependencies": { - "react": "18.3.0-canary-d900fadbf-20230929" + "react": "18.3.0-canary-d803f519e-20231020" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-experimental/cjs/react-jsx-dev-runtime.development.js b/packages/next/src/compiled/react-experimental/cjs/react-jsx-dev-runtime.development.js index b7fbf53834137..137ed097fe752 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react-jsx-dev-runtime.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react-jsx-dev-runtime.development.js @@ -722,7 +722,7 @@ function testStringCoercion(value) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } diff --git a/packages/next/src/compiled/react-experimental/cjs/react-jsx-runtime.development.js b/packages/next/src/compiled/react-experimental/cjs/react-jsx-runtime.development.js index cbc97be6bbc73..a6fb0c6a7d768 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react-jsx-runtime.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react-jsx-runtime.development.js @@ -722,7 +722,7 @@ function testStringCoercion(value) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } diff --git a/packages/next/src/compiled/react-experimental/cjs/react.development.js b/packages/next/src/compiled/react-experimental/cjs/react.development.js index df085690ff555..9df27256e7446 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.development.js @@ -23,47 +23,7 @@ if ( ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; - -// ATTENTION -// When adding new symbols to this file, -// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' -// The Symbol used to tag the ReactElement-like types. -var REACT_ELEMENT_TYPE = Symbol.for('react.element'); -var REACT_PORTAL_TYPE = Symbol.for('react.portal'); -var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); -var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); -var REACT_CONTEXT_TYPE = Symbol.for('react.context'); -var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); -var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); -var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); -var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); -var REACT_MEMO_TYPE = Symbol.for('react.memo'); -var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for('react.debug_trace_mode'); -var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); -var REACT_CACHE_TYPE = Symbol.for('react.cache'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); -var REACT_POSTPONE_TYPE = Symbol.for('react.postpone'); -var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; -var FAUX_ITERATOR_SYMBOL = '@@iterator'; -function getIteratorFn(maybeIterable) { - if (maybeIterable === null || typeof maybeIterable !== 'object') { - return null; - } - - var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; - - if (typeof maybeIterator === 'function') { - return maybeIterator; - } - - return null; -} - -/** + /** * Keeps track of the current dispatcher. */ var ReactCurrentDispatcher$1 = { @@ -157,7 +117,7 @@ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in var enableDebugTracing = false; // Track which Fiber(s) schedule render work. -var ContextRegistry$1 = {}; +var ContextRegistry = {}; var ReactSharedInternals = { ReactCurrentDispatcher: ReactCurrentDispatcher$1, @@ -172,7 +132,7 @@ var ReactSharedInternals = { } { - ReactSharedInternals.ContextRegistry = ContextRegistry$1; + ReactSharedInternals.ContextRegistry = ContextRegistry; } // by calls to these methods by a Babel plugin. @@ -228,6 +188,46 @@ function printWarning(level, format, args) { } } +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; + +// ATTENTION +// When adding new symbols to this file, +// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' +// The Symbol used to tag the ReactElement-like types. +var REACT_ELEMENT_TYPE = Symbol.for('react.element'); +var REACT_PORTAL_TYPE = Symbol.for('react.portal'); +var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); +var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); +var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); +var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); +var REACT_CONTEXT_TYPE = Symbol.for('react.context'); +var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); +var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); +var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); +var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); +var REACT_MEMO_TYPE = Symbol.for('react.memo'); +var REACT_LAZY_TYPE = Symbol.for('react.lazy'); +var REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for('react.debug_trace_mode'); +var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); +var REACT_CACHE_TYPE = Symbol.for('react.cache'); +var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); +var REACT_POSTPONE_TYPE = Symbol.for('react.postpone'); +var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; +var FAUX_ITERATOR_SYMBOL = '@@iterator'; +function getIteratorFn(maybeIterable) { + if (maybeIterable === null || typeof maybeIterable !== 'object') { + return null; + } + + var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; + + if (typeof maybeIterator === 'function') { + return maybeIterator; + } + + return null; +} + var didWarnStateUpdateForUnmountedComponent = {}; function warnNoop(publicInstance, callerName) { @@ -521,7 +521,7 @@ function testStringCoercion(value) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -1834,9 +1834,9 @@ function useTransition() { var dispatcher = resolveDispatcher(); return dispatcher.useTransition(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { var dispatcher = resolveDispatcher(); - return dispatcher.useDeferredValue(value); + return dispatcher.useDeferredValue(value, initialValue); } function useId() { var dispatcher = resolveDispatcher(); @@ -2632,7 +2632,6 @@ function cloneElementWithValidation(element, props, children) { return newElement; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; function createServerContext(globalName, defaultValue) { { @@ -3060,6 +3059,14 @@ var Children = { only: onlyChild }; +function experimental_useOptimistic(passthrough, reducer) { + { + error('useOptimistic is now in canary. Remove the experimental_ prefix. ' + 'The prefixed alias will be removed in an upcoming release.'); + } + + return useOptimistic(passthrough, reducer); +} + exports.Children = Children; exports.Component = Component; exports.Fragment = REACT_FRAGMENT_TYPE; @@ -3076,7 +3083,7 @@ exports.createFactory = createFactory; exports.createRef = createRef; exports.createServerContext = createServerContext; exports.experimental_useEffectEvent = useEffectEvent; -exports.experimental_useOptimistic = useOptimistic; +exports.experimental_useOptimistic = experimental_useOptimistic; exports.forwardRef = forwardRef; exports.isValidElement = isValidElement; exports.lazy = lazy; @@ -3103,6 +3110,7 @@ exports.useImperativeHandle = useImperativeHandle; exports.useInsertionEffect = useInsertionEffect; exports.useLayoutEffect = useLayoutEffect; exports.useMemo = useMemo; +exports.useOptimistic = useOptimistic; exports.useReducer = useReducer; exports.useRef = useRef; exports.useState = useState; diff --git a/packages/next/src/compiled/react-experimental/cjs/react.production.min.js b/packages/next/src/compiled/react-experimental/cjs/react.production.min.js index 43b6a6a2331dd..7e6061869aedb 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.production.min.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.production.min.js @@ -16,17 +16,16 @@ function fa(a,b){return{$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_ow function S(a,b,c,d,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var g=!1;if(null===a)g=!0;else switch(f){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case l:case n:g=!0}}if(g)return g=a,e=e(g),a=""===d?"."+R(g,0):d,K(e)?(c="",null!=a&&(c=a.replace(Q,"$&/")+"/"),S(e,b,c,"",function(m){return m})):null!=e&&(P(e)&&(e=fa(e,c+(!e.key||g&&g.key===e.key?"":(""+e.key).replace(Q,"$&/")+"/")+a)),b.push(e)),1;g=0;d=""===d?".":d+":";if(K(a))for(var h=0;h<a.length;h++){f= a[h];var k=d+R(f,h);g+=S(f,b,c,k,e)}else if(k=ea(a),"function"===typeof k)for(a=k.call(a),h=0;!(f=a.next()).done;)f=f.value,k=d+R(f,h++),g+=S(f,b,c,k,e);else if("object"===f)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return g} function T(a,b,c){if(null==a)return a;var d=[],e=0;S(a,d,"","",function(f){return b.call(c,f,e++)});return d}function ha(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var U={current:null};function ia(){return new WeakMap} -function V(){return{s:0,v:void 0,o:null,p:null}}var W={current:null},X={transition:null},Y={ReactCurrentDispatcher:W,ReactCurrentCache:U,ReactCurrentBatchConfig:X,ReactCurrentOwner:M,ContextRegistry:{}},Z=Y.ContextRegistry; +function V(){return{s:0,v:void 0,o:null,p:null}}var W={current:null};function X(a,b){return W.current.useOptimistic(a,b)}var Y={transition:null},Z={},ja={ReactCurrentDispatcher:W,ReactCurrentCache:U,ReactCurrentBatchConfig:Y,ReactCurrentOwner:M,ContextRegistry:Z}; exports.Children={map:T,forEach:function(a,b,c){T(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;T(a,function(){b++});return b},toArray:function(a){return T(a,function(b){return b})||[]},only:function(a){if(!P(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};exports.Component=G;exports.Fragment=p;exports.Profiler=r;exports.PureComponent=I;exports.StrictMode=q;exports.Suspense=x; -exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y; +exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ja; exports.cache=function(a){return function(){var b=U.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ia);b=c.get(a);void 0===b&&(b=V(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var f=b.o;null===f&&(b.o=f=new WeakMap);b=f.get(e);void 0===b&&(b=V(),f.set(e,b))}else f=b.p,null===f&&(b.p=f=new Map),b=f.get(e),void 0===b&&(b=V(),f.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var g=a.apply(null, arguments);c=b;c.s=1;return c.v=g}catch(h){throw g=b,g.s=2,g.v=h,h;}}}; exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=E({},a.props),e=a.key,f=a.ref,g=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,g=M.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var h=a.type.defaultProps;for(k in b)L.call(b,k)&&!N.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==h?h[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){h=Array(k); for(var m=0;m<k;m++)h[m]=arguments[m+2];d.children=h}return{$$typeof:l,type:a.type,key:e,ref:f,props:d,_owner:g}};exports.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};exports.createElement=O;exports.createFactory=function(a){var b=O.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}}; exports.createServerContext=function(a,b){var c=!0;if(!Z[a]){c=!1;var d={$$typeof:v,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};d.Provider={$$typeof:t,_context:d};Z[a]=d}d=Z[a];if(d._defaultValue===B)d._defaultValue=b,d._currentValue===B&&(d._currentValue=b),d._currentValue2===B&&(d._currentValue2=b);else if(c)throw Error("ServerContext: "+a+" already defined");return d};exports.experimental_useEffectEvent=function(a){return W.current.useEffectEvent(a)}; -exports.experimental_useOptimistic=function(a,b){return W.current.useOptimistic(a,b)};exports.forwardRef=function(a){return{$$typeof:w,render:a}};exports.isValidElement=P;exports.lazy=function(a){return{$$typeof:A,_payload:{_status:-1,_result:a},_init:ha}};exports.memo=function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_Cache=ca; -exports.unstable_DebugTracingMode=aa;exports.unstable_Offscreen=ba;exports.unstable_SuspenseList=y;exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};exports.unstable_getCacheForType=function(a){var b=U.current;return b?b.getCacheForType(a):a()}; -exports.unstable_getCacheSignal=function(){var a=U.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=da;throw a;};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.unstable_useMemoCache=function(a){return W.current.useMemoCache(a)};exports.use=function(a){return W.current.use(a)}; -exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)}; -exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)}; -exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-experimental-d900fadbf-20230929"; +exports.experimental_useOptimistic=function(a,b){return X(a,b)};exports.forwardRef=function(a){return{$$typeof:w,render:a}};exports.isValidElement=P;exports.lazy=function(a){return{$$typeof:A,_payload:{_status:-1,_result:a},_init:ha}};exports.memo=function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=Y.transition;Y.transition={};try{a()}finally{Y.transition=b}};exports.unstable_Cache=ca;exports.unstable_DebugTracingMode=aa; +exports.unstable_Offscreen=ba;exports.unstable_SuspenseList=y;exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};exports.unstable_getCacheForType=function(a){var b=U.current;return b?b.getCacheForType(a):a()};exports.unstable_getCacheSignal=function(){var a=U.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)}; +exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=da;throw a;};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.unstable_useMemoCache=function(a){return W.current.useMemoCache(a)};exports.use=function(a){return W.current.use(a)};exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){}; +exports.useDeferredValue=function(a,b){return W.current.useDeferredValue(a,b)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)};exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)}; +exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useOptimistic=X;exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)};exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-experimental/cjs/react.shared-subset.development.js b/packages/next/src/compiled/react-experimental/cjs/react.shared-subset.development.js index 13b37e8fd21e9..7d15356923598 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.shared-subset.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.shared-subset.development.js @@ -21,32 +21,6 @@ var ReactCurrentDispatcher$1 = { current: null }; -/** - * Keeps track of the current Cache dispatcher. - */ -var ReactCurrentCache = { - current: null -}; - -/** - * Keeps track of the current batch's configuration such as how long an update - * should suspend for if it needs to. - */ -var ReactCurrentBatchConfig = { - transition: null -}; - -var ReactCurrentActQueue = { - current: null, - // Used to reproduce behavior of `batchedUpdates` in legacy mode. - isBatchingLegacy: false, - didScheduleLegacyUpdate: false, - // Tracks whether something called `use` during the current batch of work. - // Determines whether we should yield to microtasks to unwrap already resolved - // promises without suspending. - didUsePromise: false -}; - /** * Keeps track of the current owner. * @@ -108,22 +82,19 @@ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in var enableDebugTracing = false; // Track which Fiber(s) schedule render work. -var ContextRegistry$1 = {}; +var ContextRegistry = {}; var ReactSharedInternals = { ReactCurrentDispatcher: ReactCurrentDispatcher$1, - ReactCurrentCache: ReactCurrentCache, - ReactCurrentBatchConfig: ReactCurrentBatchConfig, ReactCurrentOwner: ReactCurrentOwner }; { ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame$1; - ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue; } { - ReactSharedInternals.ContextRegistry = ContextRegistry$1; + ReactSharedInternals.ContextRegistry = ContextRegistry; } // by calls to these methods by a Babel plugin. @@ -181,6 +152,13 @@ function printWarning(level, format, args) { var assign = Object.assign; +/** + * Keeps track of the current Cache dispatcher. + */ +var ReactCurrentCache = { + current: null +}; + function createFetchCache() { return new Map(); } @@ -304,7 +282,126 @@ function generateCacheKey(request) { } } -var ReactVersion = '18.3.0-experimental-d900fadbf-20230929'; +var TaintRegistryObjects$1 = new WeakMap(); +var TaintRegistryValues$1 = new Map(); // Byte lengths of all binary values we've ever seen. We don't both refcounting this. +// We expect to see only a few lengths here such as the length of token. + +var TaintRegistryByteLengths$1 = new Set(); // When a value is finalized, it means that it has been removed from any global caches. +// No future requests can get a handle on it but any ongoing requests can still have +// a handle on it. It's still tainted until that happens. + +var TaintRegistryPendingRequests$1 = new Set(); + +var ReactServerSharedInternals = { + ReactCurrentCache: ReactCurrentCache +}; + +{ + ReactServerSharedInternals.TaintRegistryObjects = TaintRegistryObjects$1; + ReactServerSharedInternals.TaintRegistryValues = TaintRegistryValues$1; + ReactServerSharedInternals.TaintRegistryByteLengths = TaintRegistryByteLengths$1; + ReactServerSharedInternals.TaintRegistryPendingRequests = TaintRegistryPendingRequests$1; +} + +var getPrototypeOf = Object.getPrototypeOf; + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var TaintRegistryObjects = ReactServerSharedInternals.TaintRegistryObjects, + TaintRegistryValues = ReactServerSharedInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactServerSharedInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactServerSharedInternals.TaintRegistryPendingRequests; // This is the shared constructor of all typed arrays. + +var TypedArrayConstructor = getPrototypeOf(Uint32Array.prototype).constructor; +var defaultMessage = 'A tainted value was attempted to be serialized to a Client Component or Action closure. ' + 'This would leak it to the client.'; + +function cleanup(entryValue) { + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + TaintRegistryPendingRequests.forEach(function (requestQueue) { + requestQueue.push(entryValue); + entry.count++; + }); + + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } +} // If FinalizationRegistry doesn't exist, we assume that objects life forever. +// E.g. the whole VM is just the lifetime of a request. + + +var finalizationRegistry = typeof FinalizationRegistry === 'function' ? new FinalizationRegistry(cleanup) : null; +function taintUniqueValue(message, lifetime, value) { + + + message = '' + (message || defaultMessage); + + if (lifetime === null || typeof lifetime !== 'object' && typeof lifetime !== 'function') { + throw new Error('To taint a value, a lifetime must be defined by passing an object that holds ' + 'the value.'); + } + + var entryValue; + + if (typeof value === 'string' || typeof value === 'bigint') { + // Use as is. + entryValue = value; + } else if ((value instanceof TypedArrayConstructor || value instanceof DataView)) { + // For now, we just convert binary data to a string so that we can just use the native + // hashing in the Map implementation. It doesn't really matter what form the string + // take as long as it's the same when we look it up. + // We're not too worried about collisions since this should be a high entropy value. + TaintRegistryByteLengths.add(value.byteLength); + entryValue = binaryToComparableString(value); + } else { + var kind = value === null ? 'null' : typeof value; + + if (kind === 'object' || kind === 'function') { + throw new Error('taintUniqueValue cannot taint objects or functions. Try taintObjectReference instead.'); + } + + throw new Error('Cannot taint a ' + kind + ' because the value is too general and not unique enough to block globally.'); + } + + var existingEntry = TaintRegistryValues.get(entryValue); + + if (existingEntry === undefined) { + TaintRegistryValues.set(entryValue, { + message: message, + count: 1 + }); + } else { + existingEntry.count++; + } + + if (finalizationRegistry !== null) { + finalizationRegistry.register(lifetime, entryValue); + } +} +function taintObjectReference(message, object) { + + + message = '' + (message || defaultMessage); + + if (typeof object === 'string' || typeof object === 'bigint') { + throw new Error('Only objects or functions can be passed to taintObjectReference. Try taintUniqueValue instead.'); + } + + if (object === null || typeof object !== 'object' && typeof object !== 'function') { + throw new Error('Only objects or functions can be passed to taintObjectReference.'); + } + + TaintRegistryObjects.set(object, message); +} + +var ReactVersion = '18.3.0-experimental-d803f519e-20231020'; // ATTENTION // When adding new symbols to this file, @@ -635,7 +732,7 @@ function testStringCoercion(value) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -2544,7 +2641,6 @@ function cloneElementWithValidation(element, props, children) { return newElement; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; function createServerContext(globalName, defaultValue) { { @@ -2619,6 +2715,14 @@ function createServerContext(globalName, defaultValue) { return context; } +/** + * Keeps track of the current batch's configuration such as how long an update + * should suspend for if it needs to. + */ +var ReactCurrentBatchConfig = { + transition: null +}; + function startTransition(scope, options) { var prevTransition = ReactCurrentBatchConfig.transition; ReactCurrentBatchConfig.transition = {}; @@ -2663,11 +2767,14 @@ exports.Profiler = REACT_PROFILER_TYPE; exports.StrictMode = REACT_STRICT_MODE_TYPE; exports.Suspense = REACT_SUSPENSE_TYPE; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; +exports.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactServerSharedInternals; exports.cache = cache; exports.cloneElement = cloneElement; exports.createElement = createElement; exports.createRef = createRef; exports.createServerContext = createServerContext; +exports.experimental_taintObjectReference = taintObjectReference; +exports.experimental_taintUniqueValue = taintUniqueValue; exports.forwardRef = forwardRef; exports.isValidElement = isValidElement; exports.lazy = lazy; diff --git a/packages/next/src/compiled/react-experimental/cjs/react.shared-subset.production.min.js b/packages/next/src/compiled/react-experimental/cjs/react.shared-subset.production.min.js index 8ca04920d6897..c5360a9b841cd 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.shared-subset.production.min.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.shared-subset.production.min.js @@ -7,24 +7,27 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var m=Object.assign,n={current:null};function p(){return new Map} -if("function"===typeof fetch){var q=fetch,r=function(a,b){var d=n.current;if(!d||b&&b.signal&&b.signal!==d.getCacheSignal())return q(a,b);if("string"!==typeof a||b){var c="string"===typeof a||a instanceof URL?new Request(a,b):a;if("GET"!==c.method&&"HEAD"!==c.method||c.keepalive)return q(a,b);var e=JSON.stringify([c.method,Array.from(c.headers.entries()),c.mode,c.redirect,c.credentials,c.referrer,c.referrerPolicy,c.integrity]);c=c.url}else e='["GET",[],null,"follow",null,null,null,null]',c=a;var f= -d.getCacheForType(p);d=f.get(c);if(void 0===d)a=q(a,b),f.set(c,[e,a]);else{c=0;for(f=d.length;c<f;c+=2){var h=d[c+1];if(d[c]===e)return a=h,a.then(function(g){return g.clone()})}a=q(a,b);d.push(e,a)}return a.then(function(g){return g.clone()})};m(r,q);try{fetch=r}catch(a){try{globalThis.fetch=r}catch(b){console.warn("React was unable to patch the fetch() function in this environment. Suspensey APIs might not work correctly as a result.")}}} -var t=Symbol.for("react.element"),u=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),z=Symbol.for("react.server_context"),A=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),aa=Symbol.for("react.memo"),ba=Symbol.for("react.lazy"),ca=Symbol.for("react.debug_trace_mode"),D=Symbol.for("react.default_value"),da=Symbol.for("react.postpone"),E=Symbol.iterator; -function ea(a){if(null===a||"object"!==typeof a)return null;a=E&&a[E]||a["@@iterator"];return"function"===typeof a?a:null}function F(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)b+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H={};function I(a,b,d){this.props=a;this.context=b;this.refs=H;this.updater=d||G}I.prototype.isReactComponent={};I.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(F(85));this.updater.enqueueSetState(this,a,b,"setState")};I.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")}; -function J(){}J.prototype=I.prototype;function K(a,b,d){this.props=a;this.context=b;this.refs=H;this.updater=d||G}var L=K.prototype=new J;L.constructor=K;m(L,I.prototype);L.isPureReactComponent=!0;var M=Array.isArray,N=Object.prototype.hasOwnProperty,O={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function fa(a,b){return{$$typeof:t,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function Q(a){return"object"===typeof a&&null!==a&&a.$$typeof===t} -function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(d){return b[d]})}var R=/\/+/g;function S(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)} -function T(a,b,d,c,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var h=!1;if(null===a)h=!0;else switch(f){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case t:case u:h=!0}}if(h)return h=a,e=e(h),a=""===c?"."+S(h,0):c,M(e)?(d="",null!=a&&(d=a.replace(R,"$&/")+"/"),T(e,b,d,"",function(l){return l})):null!=e&&(Q(e)&&(e=fa(e,d+(!e.key||h&&h.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+a)),b.push(e)),1;h=0;c=""===c?".":c+":";if(M(a))for(var g=0;g<a.length;g++){f= -a[g];var k=c+S(f,g);h+=T(f,b,d,k,e)}else if(k=ea(a),"function"===typeof k)for(a=k.call(a),g=0;!(f=a.next()).done;)f=f.value,k=c+S(f,g++),h+=T(f,b,d,k,e);else if("object"===f)throw b=String(a),Error(F(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function U(a,b,d){if(null==a)return a;var c=[],e=0;T(a,c,"","",function(f){return b.call(d,f,e++)});return c} -function ha(a){if(-1===a._status){var b=a._result;b=b();b.then(function(d){if(0===a._status||-1===a._status)a._status=1,a._result=d},function(d){if(0===a._status||-1===a._status)a._status=2,a._result=d});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ia(){return new WeakMap}function V(){return{s:0,v:void 0,o:null,p:null}} -var W={current:null},X={transition:null},Y={ReactCurrentDispatcher:W,ReactCurrentCache:n,ReactCurrentBatchConfig:X,ReactCurrentOwner:O,ContextRegistry:{}},Z=Y.ContextRegistry;exports.Children={map:U,forEach:function(a,b,d){U(a,function(){b.apply(this,arguments)},d)},count:function(a){var b=0;U(a,function(){b++});return b},toArray:function(a){return U(a,function(b){return b})||[]},only:function(a){if(!Q(a))throw Error(F(143));return a}};exports.Fragment=v;exports.Profiler=x;exports.StrictMode=w; -exports.Suspense=B;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y; -exports.cache=function(a){return function(){var b=n.current;if(!b)return a.apply(null,arguments);var d=b.getCacheForType(ia);b=d.get(a);void 0===b&&(b=V(),d.set(a,b));d=0;for(var c=arguments.length;d<c;d++){var e=arguments[d];if("function"===typeof e||"object"===typeof e&&null!==e){var f=b.o;null===f&&(b.o=f=new WeakMap);b=f.get(e);void 0===b&&(b=V(),f.set(e,b))}else f=b.p,null===f&&(b.p=f=new Map),b=f.get(e),void 0===b&&(b=V(),f.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var h=a.apply(null, -arguments);d=b;d.s=1;return d.v=h}catch(g){throw h=b,h.s=2,h.v=g,g;}}}; -exports.cloneElement=function(a,b,d){if(null===a||void 0===a)throw Error(F(267,a));var c=m({},a.props),e=a.key,f=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,h=O.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)N.call(b,k)&&!P.hasOwnProperty(k)&&(c[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)c.children=d;else if(1<k){g=Array(k);for(var l=0;l<k;l++)g[l]=arguments[l+2];c.children=g}return{$$typeof:t,type:a.type, -key:e,ref:f,props:c,_owner:h}};exports.createElement=function(a,b,d){var c,e={},f=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(f=""+b.key),b)N.call(b,c)&&!P.hasOwnProperty(c)&&(e[c]=b[c]);var g=arguments.length-2;if(1===g)e.children=d;else if(1<g){for(var k=Array(g),l=0;l<g;l++)k[l]=arguments[l+2];e.children=k}if(a&&a.defaultProps)for(c in g=a.defaultProps,g)void 0===e[c]&&(e[c]=g[c]);return{$$typeof:t,type:a,key:f,ref:h,props:e,_owner:O.current}};exports.createRef=function(){return{current:null}}; -exports.createServerContext=function(a,b){var d=!0;if(!Z[a]){d=!1;var c={$$typeof:z,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};c.Provider={$$typeof:y,_context:c};Z[a]=c}c=Z[a];if(c._defaultValue===D)c._defaultValue=b,c._currentValue===D&&(c._currentValue=b),c._currentValue2===D&&(c._currentValue2=b);else if(d)throw Error(F(429,a));return c};exports.forwardRef=function(a){return{$$typeof:A,render:a}};exports.isValidElement=Q; -exports.lazy=function(a){return{$$typeof:ba,_payload:{_status:-1,_result:a},_init:ha}};exports.memo=function(a,b){return{$$typeof:aa,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_DebugTracingMode=ca;exports.unstable_SuspenseList=C;exports.unstable_getCacheForType=function(a){var b=n.current;return b?b.getCacheForType(a):a()}; -exports.unstable_getCacheSignal=function(){var a=n.current;if(!a){a=new AbortController;var b=Error(F(455));a.abort(b);return a.signal}return a.getCacheSignal()};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=da;throw a;};exports.use=function(a){return W.current.use(a)};exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useId=function(){return W.current.useId()}; -exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.version="18.3.0-experimental-d900fadbf-20230929"; +'use strict';var l=Object.assign,n={current:null};function p(){return new Map} +if("function"===typeof fetch){var q=fetch,r=function(a,b){var c=n.current;if(!c||b&&b.signal&&b.signal!==c.getCacheSignal())return q(a,b);if("string"!==typeof a||b){var d="string"===typeof a||a instanceof URL?new Request(a,b):a;if("GET"!==d.method&&"HEAD"!==d.method||d.keepalive)return q(a,b);var e=JSON.stringify([d.method,Array.from(d.headers.entries()),d.mode,d.redirect,d.credentials,d.referrer,d.referrerPolicy,d.integrity]);d=d.url}else e='["GET",[],null,"follow",null,null,null,null]',d=a;var f= +c.getCacheForType(p);c=f.get(d);if(void 0===c)a=q(a,b),f.set(d,[e,a]);else{d=0;for(f=c.length;d<f;d+=2){var h=c[d+1];if(c[d]===e)return a=h,a.then(function(g){return g.clone()})}a=q(a,b);c.push(e,a)}return a.then(function(g){return g.clone()})};l(r,q);try{fetch=r}catch(a){try{globalThis.fetch=r}catch(b){console.warn("React was unable to patch the fetch() function in this environment. Suspensey APIs might not work correctly as a result.")}}} +var t={current:null},u={current:null},v={},w={ReactCurrentDispatcher:t,ReactCurrentOwner:u,ContextRegistry:v},x=new WeakMap,y=new Map,z=new Set,A=new Set,B={ReactCurrentCache:n,TaintRegistryObjects:x,TaintRegistryValues:y,TaintRegistryByteLengths:z,TaintRegistryPendingRequests:A}; +function C(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var D=Object.getPrototypeOf,E=B.TaintRegistryObjects,F=B.TaintRegistryValues,G=B.TaintRegistryByteLengths,aa=B.TaintRegistryPendingRequests,ba=D(Uint32Array.prototype).constructor; +function ca(a){var b=F.get(a);void 0!==b&&(aa.forEach(function(c){c.push(a);b.count++}),1===b.count?F.delete(a):b.count--)} +var H="function"===typeof FinalizationRegistry?new FinalizationRegistry(ca):null,I=Symbol.for("react.element"),da=Symbol.for("react.portal"),ea=Symbol.for("react.fragment"),fa=Symbol.for("react.strict_mode"),ha=Symbol.for("react.profiler"),ia=Symbol.for("react.provider"),ja=Symbol.for("react.server_context"),ka=Symbol.for("react.forward_ref"),la=Symbol.for("react.suspense"),ma=Symbol.for("react.suspense_list"),na=Symbol.for("react.memo"),oa=Symbol.for("react.lazy"),pa=Symbol.for("react.debug_trace_mode"), +J=Symbol.for("react.default_value"),qa=Symbol.for("react.postpone"),K=Symbol.iterator;function ra(a){if(null===a||"object"!==typeof a)return null;a=K&&a[K]||a["@@iterator"];return"function"===typeof a?a:null}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M={};function N(a,b,c){this.props=a;this.context=b;this.refs=M;this.updater=c||L}N.prototype.isReactComponent={}; +N.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(C(85));this.updater.enqueueSetState(this,a,b,"setState")};N.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function O(){}O.prototype=N.prototype;function P(a,b,c){this.props=a;this.context=b;this.refs=M;this.updater=c||L}var Q=P.prototype=new O;Q.constructor=P;l(Q,N.prototype);Q.isPureReactComponent=!0; +var R=Array.isArray,S=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function sa(a,b){return{$$typeof:I,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function U(a){return"object"===typeof a&&null!==a&&a.$$typeof===I}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var V=/\/+/g;function W(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)} +function X(a,b,c,d,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var h=!1;if(null===a)h=!0;else switch(f){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case I:case da:h=!0}}if(h)return h=a,e=e(h),a=""===d?"."+W(h,0):d,R(e)?(c="",null!=a&&(c=a.replace(V,"$&/")+"/"),X(e,b,c,"",function(m){return m})):null!=e&&(U(e)&&(e=sa(e,c+(!e.key||h&&h.key===e.key?"":(""+e.key).replace(V,"$&/")+"/")+a)),b.push(e)),1;h=0;d=""===d?".":d+":";if(R(a))for(var g=0;g<a.length;g++){f= +a[g];var k=d+W(f,g);h+=X(f,b,c,k,e)}else if(k=ra(a),"function"===typeof k)for(a=k.call(a),g=0;!(f=a.next()).done;)f=f.value,k=d+W(f,g++),h+=X(f,b,c,k,e);else if("object"===f)throw b=String(a),Error(C(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function Y(a,b,c){if(null==a)return a;var d=[],e=0;X(a,d,"","",function(f){return b.call(c,f,e++)});return d} +function ta(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ua(){return new WeakMap}function Z(){return{s:0,v:void 0,o:null,p:null}} +exports.Children={map:Y,forEach:function(a,b,c){Y(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;Y(a,function(){b++});return b},toArray:function(a){return Y(a,function(b){return b})||[]},only:function(a){if(!U(a))throw Error(C(143));return a}};exports.Fragment=ea;exports.Profiler=ha;exports.StrictMode=fa;exports.Suspense=la;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=w;exports.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B; +exports.cache=function(a){return function(){var b=n.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ua);b=c.get(a);void 0===b&&(b=Z(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var f=b.o;null===f&&(b.o=f=new WeakMap);b=f.get(e);void 0===b&&(b=Z(),f.set(e,b))}else f=b.p,null===f&&(b.p=f=new Map),b=f.get(e),void 0===b&&(b=Z(),f.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var h=a.apply(null, +arguments);c=b;c.s=1;return c.v=h}catch(g){throw h=b,h.s=2,h.v=g,g;}}}; +exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var d=l({},a.props),e=a.key,f=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,h=u.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)S.call(b,k)&&!T.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){g=Array(k);for(var m=0;m<k;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:I,type:a.type, +key:e,ref:f,props:d,_owner:h}};exports.createElement=function(a,b,c){var d,e={},f=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(f=""+b.key),b)S.call(b,d)&&!T.hasOwnProperty(d)&&(e[d]=b[d]);var g=arguments.length-2;if(1===g)e.children=c;else if(1<g){for(var k=Array(g),m=0;m<g;m++)k[m]=arguments[m+2];e.children=k}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===e[d]&&(e[d]=g[d]);return{$$typeof:I,type:a,key:f,ref:h,props:e,_owner:u.current}};exports.createRef=function(){return{current:null}}; +exports.createServerContext=function(a,b){var c=!0;if(!v[a]){c=!1;var d={$$typeof:ja,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};d.Provider={$$typeof:ia,_context:d};v[a]=d}d=v[a];if(d._defaultValue===J)d._defaultValue=b,d._currentValue===J&&(d._currentValue=b),d._currentValue2===J&&(d._currentValue2=b);else if(c)throw Error(C(429,a));return d}; +exports.experimental_taintObjectReference=function(a,b){a=""+(a||"A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");if("string"===typeof b||"bigint"===typeof b)throw Error(C(496));if(null===b||"object"!==typeof b&&"function"!==typeof b)throw Error(C(497));E.set(b,a)}; +exports.experimental_taintUniqueValue=function(a,b,c){a=""+(a||"A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");if(null===b||"object"!==typeof b&&"function"!==typeof b)throw Error(C(493));if("string"!==typeof c&&"bigint"!==typeof c)if(c instanceof ba||c instanceof DataView)G.add(c.byteLength),c=String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength));else{a=null===c?"null":typeof c;if("object"=== +a||"function"===a)throw Error(C(494));throw Error(C(495,a));}var d=F.get(c);void 0===d?F.set(c,{message:a,count:1}):d.count++;null!==H&&H.register(b,c)};exports.forwardRef=function(a){return{$$typeof:ka,render:a}};exports.isValidElement=U;exports.lazy=function(a){return{$$typeof:oa,_payload:{_status:-1,_result:a},_init:ta}};exports.memo=function(a,b){return{$$typeof:na,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){a()};exports.unstable_DebugTracingMode=pa; +exports.unstable_SuspenseList=ma;exports.unstable_getCacheForType=function(a){var b=n.current;return b?b.getCacheForType(a):a()};exports.unstable_getCacheSignal=function(){var a=n.current;if(!a){a=new AbortController;var b=Error(C(455));a.abort(b);return a.signal}return a.getCacheSignal()};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=qa;throw a;};exports.use=function(a){return t.current.use(a)};exports.useCallback=function(a,b){return t.current.useCallback(a,b)}; +exports.useContext=function(a){return t.current.useContext(a)};exports.useDebugValue=function(){};exports.useId=function(){return t.current.useId()};exports.useMemo=function(a,b){return t.current.useMemo(a,b)};exports.version="18.3.0-experimental-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js index 30862f737b0eb..54f79ed40dc6e 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js @@ -378,6 +378,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -396,7 +398,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -412,7 +414,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -688,6 +690,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -816,6 +819,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -862,33 +870,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1059,6 +1069,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1096,6 +1107,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1140,6 +1152,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1183,6 +1196,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1280,9 +1294,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1293,9 +1315,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1396,15 +1423,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1625,9 +1655,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.min.js index 33d2aea8708fb..c0a64b99b0f9e 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.min.js @@ -9,31 +9,32 @@ */ 'use strict';var p=require("react-dom"),q=require("react"),r={stream:!0};function u(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map; function x(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function z(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var f=b[d],k=w.get(f);if(void 0===k){k=__turbopack_load__(f);c.push(k);var e=w.set.bind(w,f,null);k.then(e,y);w.set(f,k)}else null!==k&&c.push(k)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} -var A=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),aa=Symbol.for("react.server_context"),ba=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),ca=Symbol.for("react.postpone"),F=Symbol.iterator;function da(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var ea=Array.isArray,G=new WeakMap; -function fa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ha(a,b,c,d){function f(h,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===l&&(l=new FormData);e++;var n=k++;g.then(function(m){m=JSON.stringify(m,f);var t=l;t.append(b+n,m);e--;0===e&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(g instanceof FormData){null===l&&(l=new FormData);var v=l;h=k++;var E=b+h+"_";g.forEach(function(m,t){v.append(E+t,m)});return"$K"+h.toString(16)}return g instanceof Map?(g=JSON.stringify(Array.from(g),f),null===l&& -(l=new FormData),h=k++,l.append(b+h,g),"$Q"+h.toString(16)):g instanceof Set?(g=JSON.stringify(Array.from(g),f),null===l&&(l=new FormData),h=k++,l.append(b+h,g),"$W"+h.toString(16)):!ea(g)&&da(g)?Array.from(g):g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[h]instanceof Date)return"$D"+g;g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return fa(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=G.get(g);if(void 0!==g)return g=JSON.stringify(g, -f),null===l&&(l=new FormData),h=k++,l.set(b+h,g),"$F"+h.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){h=g.description;if(Symbol.for(h)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(g.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof g)return"$n"+ -g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var k=1,e=0,l=null;a=JSON.stringify(a,f);null===l?c(a):(l.set(b+"0",a),0===e&&c(l))}function H(a,b){G.set(a,b)}var I=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype); -J.prototype.then=function(a,b){switch(this.status){case "resolved_model":K(this);break;case "resolved_module":L(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function ia(a){switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function M(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function N(a,b,c){switch(a.status){case "fulfilled":M(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&M(c,a.reason)}} +function z(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var f=b[d],h=w.get(f);if(void 0===h){h=__turbopack_load__(f);c.push(h);var e=w.set.bind(w,f,null);h.then(e,y);w.set(f,h)}else null!==h&&c.push(h)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} +var A=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),aa=Symbol.for("react.provider"),ba=Symbol.for("react.server_context"),ca=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),da=Symbol.for("react.postpone"),D=Symbol.iterator;function ea(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var fa=Array.isArray,F=Object.getPrototypeOf,ha=Object.prototype,G=new WeakMap; +function ia(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ja(a,b,c,d){function f(k,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===l&&(l=new FormData);e++;var n=h++;g.then(function(m){m=JSON.stringify(m,f);var t=l;t.append(b+n,m);e--;0===e&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(fa(g))return g;if(g instanceof FormData){null===l&&(l=new FormData);var v=l;k=h++;var E=b+k+"_";g.forEach(function(m,t){v.append(E+t,m)});return"$K"+k.toString(16)}if(g instanceof Map)return g=JSON.stringify(Array.from(g), +f),null===l&&(l=new FormData),k=h++,l.append(b+k,g),"$Q"+k.toString(16);if(g instanceof Set)return g=JSON.stringify(Array.from(g),f),null===l&&(l=new FormData),k=h++,l.append(b+k,g),"$W"+k.toString(16);if(ea(g))return Array.from(g);k=F(g);if(k!==ha&&(null===k||null!==F(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[k]instanceof Date)return"$D"+g; +g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return ia(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=G.get(g);if(void 0!==g)return g=JSON.stringify(g,f),null===l&&(l=new FormData),k=h++,l.set(b+k,g),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){k=g.description;if(Symbol.for(k)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(g.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof g)return"$n"+g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var h=1,e=0,l=null;a=JSON.stringify(a,f);null===l?c(a):(l.set(b+"0",a),0===e&&c(l))}function H(a,b){G.set(a,b)}var I=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype); +J.prototype.then=function(a,b){switch(this.status){case "resolved_model":K(this);break;case "resolved_module":L(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ka(a){switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function M(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function N(a,b,c){switch(a.status){case "fulfilled":M(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&M(c,a.reason)}} function O(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&M(c,b)}}function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(L(a),N(a,c,d))}}var Q=null,R=null; -function K(a){var b=Q,c=R;Q=a;R=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==R&&0<R.deps?(R.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(f){a.status="rejected",a.reason=f}finally{Q=b,R=c}} +function K(a){var b=Q,c=R;Q=a;R=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var f=JSON.parse(d,a._response._fromJSON);if(null!==R&&0<R.deps)R.value=f,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=f;null!==h&&M(h,f)}}catch(e){a.status="rejected",a.reason=e}finally{Q=b,R=c}} function L(a){try{var b=a.value,c=__turbopack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(f){a.status="rejected",a.reason=f}}function S(a,b){a._chunks.forEach(function(c){"pending"===c.status&&O(c,b)})}function T(a,b){var c=a._chunks,d=c.get(b);d||(d=new J("pending",null,null,a),c.set(b,d));return d} -function ja(a,b,c){if(R){var d=R;d.deps++}else d=R={deps:1,value:null};return function(f){b[c]=f;d.deps--;0===d.deps&&"blocked"===a.status&&(f=a.value,a.status="fulfilled",a.value=d.value,null!==f&&M(f,d.value))}}function ka(a){return function(b){return O(a,b)}} -function la(a,b){function c(){var f=Array.prototype.slice.call(arguments),k=b.bound;return k?"fulfilled"===k.status?d(b.id,k.value.concat(f)):Promise.resolve(k).then(function(e){return d(b.id,e.concat(f))}):d(b.id,f)}var d=a._callServer;H(c,b);return c}function U(a,b){a=T(a,b);switch(a.status){case "resolved_model":K(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ma(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=T(a,b),{$$typeof:ba,_payload:a,_init:ia};case "@":return b=parseInt(d.slice(2),16),T(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(b={$$typeof:aa,_currentValue:D,_currentValue2:D,_defaultValue:D,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},I[a]=b),I[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=U(a,b),la(a,b);case "Q":return b=parseInt(d.slice(2),16),a=U(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=U(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=T(a,d);switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=Q,a.then(ja(d,b,c),ka(d)),null;default:throw a.reason;}}}return d}function na(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function V(a,b,c,d){var f=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:na,_nonce:d,_chunks:f,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=oa(a);return a} -function W(a,b,c){a._chunks.set(b,new J("fulfilled",c,null,a))}function pa(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var k=u(a._bundlerConfig,c);if(c=z(k)){if(f){var e=f;e.status="blocked"}else e=new J("blocked",null,null,a),d.set(b,e);c.then(function(){return P(e,k)},function(l){return O(e,l)})}else f?P(f,k):d.set(b,new J("resolved_module",k,null,a))} -function X(a,b){for(var c=a.length,d=b.length,f=0;f<c;f++)d+=a[f].byteLength;d=new Uint8Array(d);for(var k=f=0;k<c;k++){var e=a[k];d.set(e,f);f+=e.byteLength}d.set(b,f);return d}function Y(a,b,c,d,f,k){c=0===c.length&&0===d.byteOffset%k?d:X(c,d);f=new f(c.buffer,c.byteOffset,c.byteLength/k);W(a,b,f)} -function qa(a,b,c,d,f){switch(c){case 65:W(a,b,X(d,f).buffer);return;case 67:Y(a,b,d,f,Int8Array,1);return;case 99:W(a,b,0===d.length?f:X(d,f));return;case 85:Y(a,b,d,f,Uint8ClampedArray,1);return;case 83:Y(a,b,d,f,Int16Array,2);return;case 115:Y(a,b,d,f,Uint16Array,2);return;case 76:Y(a,b,d,f,Int32Array,4);return;case 108:Y(a,b,d,f,Uint32Array,4);return;case 70:Y(a,b,d,f,Float32Array,4);return;case 68:Y(a,b,d,f,Float64Array,8);return;case 78:Y(a,b,d,f,BigInt64Array,8);return;case 109:Y(a,b,d,f,BigUint64Array, -8);return;case 86:Y(a,b,d,f,DataView,1);return}for(var k=a._stringDecoder,e="",l=0;l<d.length;l++)e+=k.decode(d[l],r);e+=k.decode(f);switch(c){case 73:pa(a,b,e);break;case 72:b=e[0];e=e.slice(1);a=JSON.parse(e,a._fromJSON);if(e=A.current)switch(b){case "D":e.prefetchDNS(a);break;case "C":"string"===typeof a?e.preconnect(a):e.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?e.preload(b,c,a[2]):e.preload(b,c);break;case "m":"string"===typeof a?e.preloadModule(a):e.preloadModule(a[0], +function la(a,b,c,d){if(R){var f=R;d||f.deps++}else f=R={deps:d?0:1,value:null};return function(h){b[c]=h;f.deps--;0===f.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=f.value,null!==h&&M(h,f.value))}}function ma(a){return function(b){return O(a,b)}} +function na(a,b){function c(){var f=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(f)):Promise.resolve(h).then(function(e){return d(b.id,e.concat(f))}):d(b.id,f)}var d=a._callServer;H(c,b);return c}function U(a,b){a=T(a,b);switch(a.status){case "resolved_model":K(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function oa(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=T(a,b),{$$typeof:ca,_payload:a,_init:ka};case "@":return b=parseInt(d.slice(2),16),T(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(b={$$typeof:ba,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:aa,_context:b},I[a]=b),I[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=U(a,b),na(a,b);case "Q":return b=parseInt(d.slice(2),16),a=U(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=U(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=T(a,d);switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=Q,a.then(la(d,b,c,"cyclic"===a.status),ma(d)),null;default:throw a.reason;}}}return d}function pa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function V(a,b,c,d){var f=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:pa,_nonce:d,_chunks:f,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=qa(a);return a}function W(a,b,c){a._chunks.set(b,new J("fulfilled",c,null,a))} +function ra(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var h=u(a._bundlerConfig,c);if(c=z(h)){if(f){var e=f;e.status="blocked"}else e=new J("blocked",null,null,a),d.set(b,e);c.then(function(){return P(e,h)},function(l){return O(e,l)})}else f?P(f,h):d.set(b,new J("resolved_module",h,null,a))}function X(a,b){for(var c=a.length,d=b.length,f=0;f<c;f++)d+=a[f].byteLength;d=new Uint8Array(d);for(var h=f=0;h<c;h++){var e=a[h];d.set(e,f);f+=e.byteLength}d.set(b,f);return d} +function Y(a,b,c,d,f,h){c=0===c.length&&0===d.byteOffset%h?d:X(c,d);f=new f(c.buffer,c.byteOffset,c.byteLength/h);W(a,b,f)} +function sa(a,b,c,d,f){switch(c){case 65:W(a,b,X(d,f).buffer);return;case 67:Y(a,b,d,f,Int8Array,1);return;case 99:W(a,b,0===d.length?f:X(d,f));return;case 85:Y(a,b,d,f,Uint8ClampedArray,1);return;case 83:Y(a,b,d,f,Int16Array,2);return;case 115:Y(a,b,d,f,Uint16Array,2);return;case 76:Y(a,b,d,f,Int32Array,4);return;case 108:Y(a,b,d,f,Uint32Array,4);return;case 70:Y(a,b,d,f,Float32Array,4);return;case 68:Y(a,b,d,f,Float64Array,8);return;case 78:Y(a,b,d,f,BigInt64Array,8);return;case 109:Y(a,b,d,f,BigUint64Array, +8);return;case 86:Y(a,b,d,f,DataView,1);return}for(var h=a._stringDecoder,e="",l=0;l<d.length;l++)e+=h.decode(d[l],r);e+=h.decode(f);switch(c){case 73:ra(a,b,e);break;case 72:b=e[0];e=e.slice(1);a=JSON.parse(e,a._fromJSON);if(e=A.current)switch(b){case "D":e.prefetchDNS(a);break;case "C":"string"===typeof a?e.preconnect(a):e.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?e.preload(b,c,a[2]):e.preload(b,c);break;case "m":"string"===typeof a?e.preloadModule(a):e.preloadModule(a[0], a[1]);break;case "S":"string"===typeof a?e.preinitStyle(a):e.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?e.preinitScript(a):e.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?e.preinitModuleScript(a):e.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(e).digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -e.stack="Error: "+e.message;e.digest=c;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;case 84:a._chunks.set(b,new J("fulfilled",e,null,a));break;case 80:e=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");e.$$typeof=ca;e.stack="Error: "+e.message;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= -"resolved_model",c.value=e,null!==a&&(K(c),N(c,a,b))):d.set(b,new J("resolved_model",e,null,a))}}function oa(a){return function(b,c){return"string"===typeof c?ma(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}} -function Z(a,b){function c(k){var e=k.value;if(k.done)S(a,Error("Connection closed."));else{var l=0,h=a._rowState;k=a._rowID;for(var g=a._rowTag,n=a._rowLength,v=a._buffer,E=e.length;l<E;){var m=-1;switch(h){case 0:m=e[l++];58===m?h=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:h=e[l];84===h||65===h||67===h||99===h||85===h||83===h||115===h||76===h||108===h||70===h||68===h||78===h||109===h||86===h?(g=h,h=2,l++):64<h&&91>h?(g=h,h=3,l++):(g=0,h=3);continue;case 2:m=e[l++];44===m?h=4:n=n<<4|(96<m?m-87:m- -48);continue;case 3:m=e.indexOf(10,l);break;case 4:m=l+n,m>e.length&&(m=-1)}var t=e.byteOffset+l;if(-1<m)n=new Uint8Array(e.buffer,t,m-l),qa(a,k,g,v,n),l=m,3===h&&l++,n=k=g=h=0,v.length=0;else{e=new Uint8Array(e.buffer,t,e.byteLength-l);v.push(e);n-=e.byteLength;break}}a._rowState=h;a._rowID=k;a._rowTag=g;a._rowLength=n;return f.read().then(c).catch(d)}}function d(k){S(a,k)}var f=b.getReader();f.read().then(c).catch(d)} +e.stack="Error: "+e.message;e.digest=c;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;case 84:a._chunks.set(b,new J("fulfilled",e,null,a));break;case 80:e=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");e.$$typeof=da;e.stack="Error: "+e.message;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= +"resolved_model",c.value=e,null!==a&&(K(c),N(c,a,b))):d.set(b,new J("resolved_model",e,null,a))}}function qa(a){return function(b,c){return"string"===typeof c?oa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}} +function Z(a,b){function c(h){var e=h.value;if(h.done)S(a,Error("Connection closed."));else{var l=0,k=a._rowState;h=a._rowID;for(var g=a._rowTag,n=a._rowLength,v=a._buffer,E=e.length;l<E;){var m=-1;switch(k){case 0:m=e[l++];58===m?k=1:h=h<<4|(96<m?m-87:m-48);continue;case 1:k=e[l];84===k||65===k||67===k||99===k||85===k||83===k||115===k||76===k||108===k||70===k||68===k||78===k||109===k||86===k?(g=k,k=2,l++):64<k&&91>k?(g=k,k=3,l++):(g=0,k=3);continue;case 2:m=e[l++];44===m?k=4:n=n<<4|(96<m?m-87:m- +48);continue;case 3:m=e.indexOf(10,l);break;case 4:m=l+n,m>e.length&&(m=-1)}var t=e.byteOffset+l;if(-1<m)n=new Uint8Array(e.buffer,t,m-l),sa(a,h,g,v,n),l=m,3===k&&l++,n=h=g=k=0,v.length=0;else{e=new Uint8Array(e.buffer,t,e.byteLength-l);v.push(e);n-=e.byteLength;break}}a._rowState=k;a._rowID=h;a._rowTag=g;a._rowLength=n;return f.read().then(c).catch(d)}}function d(h){S(a,h)}var f=b.getReader();f.read().then(c).catch(d)} exports.createFromFetch=function(a,b){var c=V(null,null,b&&b.callServer?b.callServer:void 0,void 0);a.then(function(d){Z(c,d.body)},function(d){S(c,d)});return T(c,0)};exports.createFromReadableStream=function(a,b){b=V(null,null,b&&b.callServer?b.callServer:void 0,void 0);Z(b,a);return T(b,0)};exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}H(c,{id:a,bound:null});return c}; -exports.encodeReply=function(a){return new Promise(function(b,c){ha(a,"",b,c)})}; +exports.encodeReply=function(a){return new Promise(function(b,c){ja(a,"",b,c)})}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js index 66b3a323d2620..ca2174ee158d0 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js @@ -415,6 +415,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -433,7 +435,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -449,7 +451,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -725,6 +727,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -853,6 +856,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -899,33 +907,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1282,6 +1292,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1319,6 +1330,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1363,6 +1375,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1406,6 +1419,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1503,9 +1517,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1516,9 +1538,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1619,15 +1646,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1848,9 +1878,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; @@ -2438,8 +2469,17 @@ function createFromFetch(promiseForResponse, options) { return getRoot(response); } +function encodeReply(value) +/* We don't use URLSearchParams yet but maybe */ +{ + return new Promise(function (resolve, reject) { + processReply(value, '', resolve, reject); + }); +} + exports.createFromFetch = createFromFetch; exports.createFromReadableStream = createFromReadableStream; exports.createServerReference = createServerReference; +exports.encodeReply = encodeReply; })(); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.min.js index dfe8a18c4e981..a27a9fc10e818 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.production.min.js @@ -7,38 +7,39 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var p=require("react-dom"),q=require("react"),r={stream:!0};function u(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var v=new Map; -function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function aa(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],g=v.get(e);if(void 0===g){g=globalThis.__next_chunk_load__(e);c.push(g);var f=v.set.bind(v,e,null);g.then(f,y);v.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} -function ba(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=z.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}} -var z=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,A=Symbol.for("react.element"),ca=Symbol.for("react.provider"),da=Symbol.for("react.server_context"),ea=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),fa=Symbol.for("react.postpone"),C=Symbol.iterator;function ha(a){if(null===a||"object"!==typeof a)return null;a=C&&a[C]||a["@@iterator"];return"function"===typeof a?a:null}var ia=Array.isArray,D=new WeakMap; -function ja(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ka(a,b,c,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var n=g++;h.then(function(m){m=JSON.stringify(m,e);var t=l;t.append(b+n,m);f--;0===f&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(h instanceof FormData){null===l&&(l=new FormData);var w=l;k=g++;var F=b+k+"_";h.forEach(function(m,t){w.append(F+t,m)});return"$K"+k.toString(16)}return h instanceof Map?(h=JSON.stringify(Array.from(h),e),null===l&& -(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16)):h instanceof Set?(h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16)):!ia(h)&&ha(h)?Array.from(h):h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h;h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ja(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=D.get(h);if(void 0!==h)return h=JSON.stringify(h, -e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+ -h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var E=new WeakMap;function la(a){var b,c,d=new Promise(function(e,g){b=e;c=g});ka(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} -function ma(a){var b=D.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=E.get(b);c||(c=la(b),E.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} -function na(a,b){var c=D.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} -function G(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ma},$$IS_SIGNATURE_EQUAL:{value:na},bind:{value:oa}});D.set(a,b)}var pa=Function.prototype.bind,qa=Array.prototype.slice;function oa(){var a=pa.apply(this,arguments),b=D.get(this);if(b){var c=qa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);G(a,{id:b.id,bound:d})}return a} -function ra(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}G(c,{id:a,bound:null});return c}var H=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function I(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}I.prototype=Object.create(Promise.prototype); -I.prototype.then=function(a,b){switch(this.status){case "resolved_model":J(this);break;case "resolved_module":K(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function sa(a){switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function L(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function M(a,b,c){switch(a.status){case "fulfilled":L(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&L(c,a.reason)}} +'use strict';var p=require("react-dom"),q=require("react"),r={stream:!0};function aa(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var u=new Map; +function v(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function ba(){} +function ca(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],g=u.get(e);if(void 0===g){g=globalThis.__next_chunk_load__(e);c.push(g);var f=u.set.bind(u,e,null);g.then(f,ba);u.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?v(a[0]):Promise.all(c).then(function(){return v(a[0])}):0<c.length?Promise.all(c):null} +function da(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=x.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var h=a.crossOrigin;h="string"===typeof h?"use-credentials"===h?h:"":void 0;f.call(g,l,{crossOrigin:h,nonce:e})}}} +var x=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,y=Symbol.for("react.element"),ea=Symbol.for("react.provider"),fa=Symbol.for("react.server_context"),ha=Symbol.for("react.lazy"),z=Symbol.for("react.default_value"),ia=Symbol.for("react.postpone"),A=Symbol.iterator;function ja(a){if(null===a||"object"!==typeof a)return null;a=A&&a[A]||a["@@iterator"];return"function"===typeof a?a:null}var ka=Array.isArray,B=Object.getPrototypeOf,la=Object.prototype,C=new WeakMap; +function ma(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function D(a,b,c,d){function e(h,k){if(null===k)return null;if("object"===typeof k){if("function"===typeof k.then){null===l&&(l=new FormData);f++;var n=g++;k.then(function(m){m=JSON.stringify(m,e);var t=l;t.append(b+n,m);f--;0===f&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(ka(k))return k;if(k instanceof FormData){null===l&&(l=new FormData);var w=l;h=g++;var F=b+h+"_";k.forEach(function(m,t){w.append(F+t,m)});return"$K"+h.toString(16)}if(k instanceof Map)return k=JSON.stringify(Array.from(k), +e),null===l&&(l=new FormData),h=g++,l.append(b+h,k),"$Q"+h.toString(16);if(k instanceof Set)return k=JSON.stringify(Array.from(k),e),null===l&&(l=new FormData),h=g++,l.append(b+h,k),"$W"+h.toString(16);if(ja(k))return Array.from(k);h=B(k);if(h!==la&&(null===h||null!==B(h)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return k}if("string"===typeof k){if("Z"===k[k.length-1]&&this[h]instanceof Date)return"$D"+k; +k="$"===k[0]?"$"+k:k;return k}if("boolean"===typeof k)return k;if("number"===typeof k)return ma(k);if("undefined"===typeof k)return"$undefined";if("function"===typeof k){k=C.get(k);if(void 0!==k)return k=JSON.stringify(k,e),null===l&&(l=new FormData),h=g++,l.set(b+h,k),"$F"+h.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof k){h=k.description;if(Symbol.for(h)!==k)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(k.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof k)return"$n"+k.toString(10);throw Error("Type "+typeof k+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var E=new WeakMap; +function na(a){var b,c,d=new Promise(function(e,g){b=e;c=g});D(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} +function oa(a){var b=C.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=E.get(b);c||(c=na(b),E.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function pa(a,b){var c=C.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} +function G(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:oa},$$IS_SIGNATURE_EQUAL:{value:pa},bind:{value:qa}});C.set(a,b)}var ra=Function.prototype.bind,sa=Array.prototype.slice;function qa(){var a=ra.apply(this,arguments),b=C.get(this);if(b){var c=sa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);G(a,{id:b.id,bound:d})}return a} +function ta(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}G(c,{id:a,bound:null});return c}var H=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function I(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}I.prototype=Object.create(Promise.prototype); +I.prototype.then=function(a,b){switch(this.status){case "resolved_model":J(this);break;case "resolved_module":K(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ua(a){switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function L(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function M(a,b,c){switch(a.status){case "fulfilled":L(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&L(c,a.reason)}} function N(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&L(c,b)}}function O(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(K(a),M(a,c,d))}}var P=null,Q=null; -function J(a){var b=P,c=Q;P=a;Q=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==Q&&0<Q.deps?(Q.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{P=b,Q=c}} +function J(a){var b=P,c=Q;P=a;Q=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==Q&&0<Q.deps)Q.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&L(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{P=b,Q=c}} function K(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(e){a.status="rejected",a.reason=e}}function R(a,b){a._chunks.forEach(function(c){"pending"===c.status&&N(c,b)})}function S(a,b){var c=a._chunks,d=c.get(b);d||(d=new I("pending",null,null,a),c.set(b,d));return d} -function ta(a,b,c){if(Q){var d=Q;d.deps++}else d=Q={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&L(e,d.value))}}function ua(a){return function(b){return N(a,b)}} -function va(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;G(c,b);return c}function T(a,b){a=S(a,b);switch(a.status){case "resolved_model":J(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function wa(a,b,c,d){if("$"===d[0]){if("$"===d)return A;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=S(a,b),{$$typeof:ea,_payload:a,_init:sa};case "@":return b=parseInt(d.slice(2),16),S(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),H[a]||(b={$$typeof:da,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ca,_context:b},H[a]=b),H[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=T(a,b),va(a,b);case "Q":return b=parseInt(d.slice(2),16),a=T(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=T(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=S(a,d);switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=P,a.then(ta(d,b,c),ua(d)),null;default:throw a.reason;}}}return d}function xa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function U(a,b,c){a._chunks.set(b,new I("fulfilled",c,null,a))} -function ya(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=u(a._bundlerConfig,c);ba(a._moduleLoading,c[1],a._nonce);if(c=aa(g)){if(e){var f=e;f.status="blocked"}else f=new I("blocked",null,null,a),d.set(b,f);c.then(function(){return O(f,g)},function(l){return N(f,l)})}else e?O(e,g):d.set(b,new I("resolved_module",g,null,a))} +function va(a,b,c,d){if(Q){var e=Q;d||e.deps++}else e=Q={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&L(g,e.value))}}function wa(a){return function(b){return N(a,b)}} +function xa(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;G(c,b);return c}function T(a,b){a=S(a,b);switch(a.status){case "resolved_model":J(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function ya(a,b,c,d){if("$"===d[0]){if("$"===d)return y;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=S(a,b),{$$typeof:ha,_payload:a,_init:ua};case "@":return b=parseInt(d.slice(2),16),S(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),H[a]||(b={$$typeof:fa,_currentValue:z,_currentValue2:z,_defaultValue:z,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ea,_context:b},H[a]=b),H[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=T(a,b),xa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=T(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=T(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=S(a,d);switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=P,a.then(va(d,b,c,"cyclic"===a.status),wa(d)),null;default:throw a.reason;}}}return d}function za(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function U(a,b,c){a._chunks.set(b,new I("fulfilled",c,null,a))} +function Aa(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=aa(a._bundlerConfig,c);da(a._moduleLoading,c[1],a._nonce);if(c=ca(g)){if(e){var f=e;f.status="blocked"}else f=new I("blocked",null,null,a),d.set(b,f);c.then(function(){return O(f,g)},function(l){return N(f,l)})}else e?O(e,g):d.set(b,new I("resolved_module",g,null,a))} function V(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function W(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:V(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);U(a,b,e)} -function za(a,b,c,d,e){switch(c){case 65:U(a,b,V(d,e).buffer);return;case 67:W(a,b,d,e,Int8Array,1);return;case 99:U(a,b,0===d.length?e:V(d,e));return;case 85:W(a,b,d,e,Uint8ClampedArray,1);return;case 83:W(a,b,d,e,Int16Array,2);return;case 115:W(a,b,d,e,Uint16Array,2);return;case 76:W(a,b,d,e,Int32Array,4);return;case 108:W(a,b,d,e,Uint32Array,4);return;case 70:W(a,b,d,e,Float32Array,4);return;case 68:W(a,b,d,e,Float64Array,8);return;case 78:W(a,b,d,e,BigInt64Array,8);return;case 109:W(a,b,d,e,BigUint64Array, -8);return;case 86:W(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],r);f+=g.decode(e);switch(c){case 73:ya(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=z.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], +function Ba(a,b,c,d,e){switch(c){case 65:U(a,b,V(d,e).buffer);return;case 67:W(a,b,d,e,Int8Array,1);return;case 99:U(a,b,0===d.length?e:V(d,e));return;case 85:W(a,b,d,e,Uint8ClampedArray,1);return;case 83:W(a,b,d,e,Int16Array,2);return;case 115:W(a,b,d,e,Uint16Array,2);return;case 76:W(a,b,d,e,Int32Array,4);return;case 108:W(a,b,d,e,Uint32Array,4);return;case 70:W(a,b,d,e,Float32Array,4);return;case 68:W(a,b,d,e,Float64Array,8);return;case 78:W(a,b,d,e,BigInt64Array,8);return;case 109:W(a,b,d,e,BigUint64Array, +8);return;case 86:W(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],r);f+=g.decode(e);switch(c){case 73:Aa(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=x.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;case 84:a._chunks.set(b,new I("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=fa;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= -"resolved_model",c.value=f,null!==a&&(J(c),M(c,a,b))):d.set(b,new I("resolved_model",f,null,a))}}function Aa(a){return function(b,c){return"string"===typeof c?wa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===A?{$$typeof:A,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading;a="string"===typeof a.nonce?a.nonce:void 0;var d=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:xa,_nonce:a,_chunks:d,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=Aa(b);return b} -function Z(a,b){function c(g){var f=g.value;if(g.done)R(a,Error("Connection closed."));else{var l=0,k=a._rowState;g=a._rowID;for(var h=a._rowTag,n=a._rowLength,w=a._buffer,F=f.length;l<F;){var m=-1;switch(k){case 0:m=f[l++];58===m?k=1:g=g<<4|(96<m?m-87:m-48);continue;case 1:k=f[l];84===k||65===k||67===k||99===k||85===k||83===k||115===k||76===k||108===k||70===k||68===k||78===k||109===k||86===k?(h=k,k=2,l++):64<k&&91>k?(h=k,k=3,l++):(h=0,k=3);continue;case 2:m=f[l++];44===m?k=4:n=n<<4|(96<m?m-87:m- -48);continue;case 3:m=f.indexOf(10,l);break;case 4:m=l+n,m>f.length&&(m=-1)}var t=f.byteOffset+l;if(-1<m)n=new Uint8Array(f.buffer,t,m-l),za(a,g,h,w,n),l=m,3===k&&l++,n=g=h=k=0,w.length=0;else{f=new Uint8Array(f.buffer,t,f.byteLength-l);w.push(f);n-=f.byteLength;break}}a._rowState=k;a._rowID=g;a._rowTag=h;a._rowLength=n;return e.read().then(c).catch(d)}}function d(g){R(a,g)}var e=b.getReader();e.read().then(c).catch(d)} -exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){R(c,d)});return S(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return S(b,0)};exports.createServerReference=function(a){return ra(a,X)}; +f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;case 84:a._chunks.set(b,new I("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=ia;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= +"resolved_model",c.value=f,null!==a&&(J(c),M(c,a,b))):d.set(b,new I("resolved_model",f,null,a))}}function Ca(a){return function(b,c){return"string"===typeof c?ya(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===y?{$$typeof:y,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading;a="string"===typeof a.nonce?a.nonce:void 0;var d=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:za,_nonce:a,_chunks:d,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=Ca(b);return b} +function Z(a,b){function c(g){var f=g.value;if(g.done)R(a,Error("Connection closed."));else{var l=0,h=a._rowState;g=a._rowID;for(var k=a._rowTag,n=a._rowLength,w=a._buffer,F=f.length;l<F;){var m=-1;switch(h){case 0:m=f[l++];58===m?h=1:g=g<<4|(96<m?m-87:m-48);continue;case 1:h=f[l];84===h||65===h||67===h||99===h||85===h||83===h||115===h||76===h||108===h||70===h||68===h||78===h||109===h||86===h?(k=h,h=2,l++):64<h&&91>h?(k=h,h=3,l++):(k=0,h=3);continue;case 2:m=f[l++];44===m?h=4:n=n<<4|(96<m?m-87:m- +48);continue;case 3:m=f.indexOf(10,l);break;case 4:m=l+n,m>f.length&&(m=-1)}var t=f.byteOffset+l;if(-1<m)n=new Uint8Array(f.buffer,t,m-l),Ba(a,g,k,w,n),l=m,3===h&&l++,n=g=k=h=0,w.length=0;else{f=new Uint8Array(f.buffer,t,f.byteLength-l);w.push(f);n-=f.byteLength;break}}a._rowState=h;a._rowID=g;a._rowTag=k;a._rowLength=n;return e.read().then(c).catch(d)}}function d(g){R(a,g)}var e=b.getReader();e.read().then(c).catch(d)} +exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){R(c,d)});return S(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return S(b,0)};exports.createServerReference=function(a){return ta(a,X)};exports.encodeReply=function(a){return new Promise(function(b,c){D(a,"",b,c)})}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js index 32ae6c9e14548..f4645a9b6a9de 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js @@ -416,6 +416,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -434,7 +436,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -450,7 +452,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -726,6 +728,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -854,6 +857,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -900,33 +908,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1283,6 +1293,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1320,6 +1331,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1364,6 +1376,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1407,6 +1420,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1504,9 +1518,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1517,9 +1539,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1620,15 +1647,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1849,9 +1879,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.min.js index fce8b904731e3..67ab0ad0631bc 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.production.min.js @@ -9,35 +9,37 @@ */ 'use strict';var n=require("util"),q=require("react-dom"),r=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map; function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function A(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],g=w.get(e);if(void 0===g){g=globalThis.__next_chunk_load__(e);c.push(g);var f=w.set.bind(w,e,null);g.then(f,y);w.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} -function aa(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=B.current;if(g){var f=g.preinitScript,k=a.prefix+b[d];var l=a.crossOrigin;l="string"===typeof l?"use-credentials"===l?l:"":void 0;f.call(g,k,{crossOrigin:l,nonce:e})}}} -var B=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,C=Symbol.for("react.element"),ba=Symbol.for("react.provider"),ca=Symbol.for("react.server_context"),da=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),ea=Symbol.for("react.postpone"),E=Symbol.iterator;function fa(a){if(null===a||"object"!==typeof a)return null;a=E&&a[E]||a["@@iterator"];return"function"===typeof a?a:null}var ha=Array.isArray,G=new WeakMap; -function ia(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ja(a,b,c,d){function e(l,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===k&&(k=new FormData);f++;var t=g++;h.then(function(p){p=JSON.stringify(p,e);var z=k;z.append(b+t,p);f--;0===f&&c(z)},function(p){d(p)});return"$@"+t.toString(16)}if(h instanceof FormData){null===k&&(k=new FormData);var F=k;l=g++;var m=b+l+"_";h.forEach(function(p,z){F.append(m+z,p)});return"$K"+l.toString(16)}return h instanceof Map?(h=JSON.stringify(Array.from(h),e),null===k&& -(k=new FormData),l=g++,k.append(b+l,h),"$Q"+l.toString(16)):h instanceof Set?(h=JSON.stringify(Array.from(h),e),null===k&&(k=new FormData),l=g++,k.append(b+l,h),"$W"+l.toString(16)):!ha(h)&&fa(h)?Array.from(h):h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[l]instanceof Date)return"$D"+h;h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ia(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=G.get(h);if(void 0!==h)return h=JSON.stringify(h, -e),null===k&&(k=new FormData),l=g++,k.set(b+l,h),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){l=h.description;if(Symbol.for(l)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(h.description+") cannot be found among global symbols."));return"$S"+l}if("bigint"===typeof h)return"$n"+ -h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,k=null;a=JSON.stringify(a,e);null===k?c(a):(k.set(b+"0",a),0===f&&c(k))}var H=new WeakMap;function ka(a){var b,c,d=new Promise(function(e,g){b=e;c=g});ja(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} -function la(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=H.get(b);c||(c=ka(b),H.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} -function ma(a,b){var c=G.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} -function I(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:la},$$IS_SIGNATURE_EQUAL:{value:ma},bind:{value:na}});G.set(a,b)}var oa=Function.prototype.bind,pa=Array.prototype.slice;function na(){var a=oa.apply(this,arguments),b=G.get(this);if(b){var c=pa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);I(a,{id:b.id,bound:d})}return a} -function qa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}I(c,{id:a,bound:null});return c}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function K(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}K.prototype=Object.create(Promise.prototype); -K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function ra(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} +function aa(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],g=w.get(e);if(void 0===g){g=globalThis.__next_chunk_load__(e);c.push(g);var f=w.set.bind(w,e,null);g.then(f,y);w.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} +function ba(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=z.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}} +var z=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),ca=Symbol.for("react.provider"),da=Symbol.for("react.server_context"),ea=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),fa=Symbol.for("react.postpone"),D=Symbol.iterator;function ha(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var ia=Array.isArray,E=Object.getPrototypeOf,ja=Object.prototype,G=new WeakMap; +function ka(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function la(a,b,c,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var t=g++;h.then(function(p){p=JSON.stringify(p,e);var A=l;A.append(b+t,p);f--;0===f&&c(A)},function(p){d(p)});return"$@"+t.toString(16)}if(ia(h))return h;if(h instanceof FormData){null===l&&(l=new FormData);var F=l;k=g++;var m=b+k+"_";h.forEach(function(p,A){F.append(m+A,p)});return"$K"+k.toString(16)}if(h instanceof Map)return h=JSON.stringify(Array.from(h), +e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16);if(h instanceof Set)return h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16);if(ha(h))return Array.from(h);k=E(h);if(k!==ja&&(null===k||null!==E(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h; +h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ka(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=G.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var H=new WeakMap; +function ma(a){var b,c,d=new Promise(function(e,g){b=e;c=g});la(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} +function na(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=H.get(b);c||(c=ma(b),H.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function oa(a,b){var c=G.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} +function I(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:na},$$IS_SIGNATURE_EQUAL:{value:oa},bind:{value:pa}});G.set(a,b)}var qa=Function.prototype.bind,ra=Array.prototype.slice;function pa(){var a=qa.apply(this,arguments),b=G.get(this);if(b){var c=ra.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);I(a,{id:b.id,bound:d})}return a} +function sa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}I(c,{id:a,bound:null});return c}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function K(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}K.prototype=Object.create(Promise.prototype); +K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ta(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&N(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(M(a),O(a,c,d))}}var R=null,S=null; -function L(a){var b=R,c=S;R=a;S=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==S&&0<S.deps?(S.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{R=b,S=c}} +function L(a){var b=R,c=S;R=a;S=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&N(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{R=b,S=c}} function M(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(e){a.status="rejected",a.reason=e}}function T(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function U(a,b){var c=a._chunks,d=c.get(b);d||(d=new K("pending",null,null,a),c.set(b,d));return d} -function sa(a,b,c){if(S){var d=S;d.deps++}else d=S={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&N(e,d.value))}}function ta(a){return function(b){return P(a,b)}} -function ua(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;I(c,b);return c}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function va(a,b,c,d){if("$"===d[0]){if("$"===d)return C;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:da,_payload:a,_init:ra};case "@":return b=parseInt(d.slice(2),16),U(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),J[a]||(b={$$typeof:ca,_currentValue:D,_currentValue2:D,_defaultValue:D,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ba,_context:b},J[a]=b),J[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=V(a,b),ua(a,b);case "Q":return b=parseInt(d.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=R,a.then(sa(d,b,c),ta(d)),null;default:throw a.reason;}}}return d}function wa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function xa(a,b,c,d){var e=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:wa,_nonce:d,_chunks:e,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ya(a);return a} -function W(a,b,c){a._chunks.set(b,new K("fulfilled",c,null,a))}function za(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=v(a._bundlerConfig,c);aa(a._moduleLoading,c[1],a._nonce);if(c=A(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),d.set(b,f);c.then(function(){return Q(f,g)},function(k){return P(f,k)})}else e?Q(e,g):d.set(b,new K("resolved_module",g,null,a))} +function ua(a,b,c,d){if(S){var e=S;d||e.deps++}else e=S={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&N(g,e.value))}}function va(a){return function(b){return P(a,b)}} +function wa(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;I(c,b);return c}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function xa(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:ea,_payload:a,_init:ta};case "@":return b=parseInt(d.slice(2),16),U(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),J[a]||(b={$$typeof:da,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ca,_context:b},J[a]=b),J[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=V(a,b),wa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=R,a.then(ua(d,b,c,"cyclic"===a.status),va(d)),null;default:throw a.reason;}}}return d}function ya(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function za(a,b,c,d){var e=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:ya,_nonce:d,_chunks:e,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=Aa(a);return a}function W(a,b,c){a._chunks.set(b,new K("fulfilled",c,null,a))} +function Ba(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=v(a._bundlerConfig,c);ba(a._moduleLoading,c[1],a._nonce);if(c=aa(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),d.set(b,f);c.then(function(){return Q(f,g)},function(l){return P(f,l)})}else e?Q(e,g):d.set(b,new K("resolved_module",g,null,a))} function X(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function Y(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:X(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);W(a,b,e)} -function Aa(a,b,c,d,e){switch(c){case 65:W(a,b,X(d,e).buffer);return;case 67:Y(a,b,d,e,Int8Array,1);return;case 99:W(a,b,0===d.length?e:X(d,e));return;case 85:Y(a,b,d,e,Uint8ClampedArray,1);return;case 83:Y(a,b,d,e,Int16Array,2);return;case 115:Y(a,b,d,e,Uint16Array,2);return;case 76:Y(a,b,d,e,Int32Array,4);return;case 108:Y(a,b,d,e,Uint32Array,4);return;case 70:Y(a,b,d,e,Float32Array,4);return;case 68:Y(a,b,d,e,Float64Array,8);return;case 78:Y(a,b,d,e,BigInt64Array,8);return;case 109:Y(a,b,d,e,BigUint64Array, -8);return;case 86:Y(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",k=0;k<d.length;k++)f+=g.decode(d[k],u);f+=g.decode(e);switch(c){case 73:za(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=B.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], +function Ca(a,b,c,d,e){switch(c){case 65:W(a,b,X(d,e).buffer);return;case 67:Y(a,b,d,e,Int8Array,1);return;case 99:W(a,b,0===d.length?e:X(d,e));return;case 85:Y(a,b,d,e,Uint8ClampedArray,1);return;case 83:Y(a,b,d,e,Int16Array,2);return;case 115:Y(a,b,d,e,Uint16Array,2);return;case 76:Y(a,b,d,e,Int32Array,4);return;case 108:Y(a,b,d,e,Uint32Array,4);return;case 70:Y(a,b,d,e,Float32Array,4);return;case 68:Y(a,b,d,e,Float64Array,8);return;case 78:Y(a,b,d,e,BigInt64Array,8);return;case 109:Y(a,b,d,e,BigUint64Array, +8);return;case 86:Y(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],u);f+=g.decode(e);switch(c){case 73:Ba(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=z.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=ea;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= -"resolved_model",c.value=f,null!==a&&(L(c),O(c,a,b))):d.set(b,new K("resolved_model",f,null,a))}}function ya(a){return function(b,c){return"string"===typeof c?va(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===C?{$$typeof:C,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -exports.createFromNodeStream=function(a,b,c){var d=xa(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(e){for(var g=0,f=d._rowState,k=d._rowID,l=d._rowTag,h=d._rowLength,t=d._buffer,F=e.length;g<F;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||68===f||78===f||109===f||86===f?(l=f,f=2,g++):64<f&&91>f?(l=f,f=3,g++):(l=0,f=3); -continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),Aa(d,k,l,t,h),g=m,3===f&&g++,h=k=l=f=0,t.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);t.push(e);h-=e.byteLength;break}}d._rowState=f;d._rowID=k;d._rowTag=l;d._rowLength=h});a.on("error",function(e){T(d,e)});a.on("end",function(){T(d,Error("Connection closed."))});return U(d,0)}; -exports.createServerReference=function(a){return qa(a,Z)}; +f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=fa;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= +"resolved_model",c.value=f,null!==a&&(L(c),O(c,a,b))):d.set(b,new K("resolved_model",f,null,a))}}function Aa(a){return function(b,c){return"string"===typeof c?xa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +exports.createFromNodeStream=function(a,b,c){var d=za(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(e){for(var g=0,f=d._rowState,l=d._rowID,k=d._rowTag,h=d._rowLength,t=d._buffer,F=e.length;g<F;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||68===f||78===f||109===f||86===f?(k=f,f=2,g++):64<f&&91>f?(k=f,f=3,g++):(k=0,f=3); +continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),Ca(d,l,k,t,h),g=m,3===f&&g++,h=l=k=f=0,t.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);t.push(e);h-=e.byteLength;break}}d._rowState=f;d._rowID=l;d._rowTag=k;d._rowLength=h});a.on("error",function(e){T(d,e)});a.on("end",function(){T(d,Error("Connection closed."))});return U(d,0)}; +exports.createServerReference=function(a){return sa(a,Z)}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.unbundled.development.js index 52336142043da..f4ddaf4b0d442 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.unbundled.development.js @@ -371,6 +371,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -389,7 +391,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -405,7 +407,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -681,6 +683,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -809,6 +812,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -855,33 +863,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1238,6 +1248,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1275,6 +1286,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1319,6 +1331,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1362,6 +1375,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1459,9 +1473,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1472,9 +1494,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1575,15 +1602,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1804,9 +1834,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js index 1d6a01a9d268d..d2680f749e1ad 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js @@ -7,35 +7,38 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var n=require("util"),q=require("react-dom"),r=require("react"),u={stream:!0};function v(a,b){var d=a[b[0]];if(a=d[b[2]])d=a.name;else{a=d["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');d=b[2]}return{specifier:a.specifier,name:d,async:4===b.length}}var w=new Map; -function x(a){var b=w.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});w.set(a.specifier,d);return d} -function z(a,b,d){if(null!==a)for(var c=0;c<b.length;c++){var e=d,h=A.current;if(h){var f=h.preinitScript,k=a.prefix+b[c];var l=a.crossOrigin;l="string"===typeof l?"use-credentials"===l?l:"":void 0;f.call(h,k,{crossOrigin:l,nonce:e})}}} -var A=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),aa=Symbol.for("react.server_context"),ba=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),ca=Symbol.for("react.postpone"),E=Symbol.iterator;function da(a){if(null===a||"object"!==typeof a)return null;a=E&&a[E]||a["@@iterator"];return"function"===typeof a?a:null}var ea=Array.isArray,G=new WeakMap; -function fa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ha(a,b,d,c){function e(l,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===k&&(k=new FormData);f++;var t=h++;g.then(function(p){p=JSON.stringify(p,e);var y=k;y.append(b+t,p);f--;0===f&&d(y)},function(p){c(p)});return"$@"+t.toString(16)}if(g instanceof FormData){null===k&&(k=new FormData);var F=k;l=h++;var m=b+l+"_";g.forEach(function(p,y){F.append(m+y,p)});return"$K"+l.toString(16)}return g instanceof Map?(g=JSON.stringify(Array.from(g),e),null===k&& -(k=new FormData),l=h++,k.append(b+l,g),"$Q"+l.toString(16)):g instanceof Set?(g=JSON.stringify(Array.from(g),e),null===k&&(k=new FormData),l=h++,k.append(b+l,g),"$W"+l.toString(16)):!ea(g)&&da(g)?Array.from(g):g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[l]instanceof Date)return"$D"+g;g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return fa(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=G.get(g);if(void 0!==g)return g=JSON.stringify(g, -e),null===k&&(k=new FormData),l=h++,k.set(b+l,g),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){l=g.description;if(Symbol.for(l)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(g.description+") cannot be found among global symbols."));return"$S"+l}if("bigint"===typeof g)return"$n"+ -g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var h=1,f=0,k=null;a=JSON.stringify(a,e);null===k?d(a):(k.set(b+"0",a),0===f&&d(k))}var H=new WeakMap;function ia(a){var b,d,c=new Promise(function(e,h){b=e;d=h});ha(a,"",function(e){if("string"===typeof e){var h=new FormData;h.append("0",e);e=h}c.status="fulfilled";c.value=e;b(e)},function(e){c.status="rejected";c.reason=e;d(e)});return c} -function ja(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var d=null;if(null!==b.bound){d=H.get(b);d||(d=ia(b),H.set(b,d));if("rejected"===d.status)throw d.reason;if("fulfilled"!==d.status)throw d;b=d.value;var c=new FormData;b.forEach(function(e,h){c.append("$ACTION_"+a+":"+h,e)});d=c;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:d}} -function ka(a,b){var d=G.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(d.id!==a)return!1;var c=d.bound;if(null===c)return 0===b;switch(c.status){case "fulfilled":return c.value.length===b;case "pending":throw c;case "rejected":throw c.reason;default:throw"string"!==typeof c.status&&(c.status="pending",c.then(function(e){c.status="fulfilled";c.value=e},function(e){c.status="rejected";c.reason=e})),c;}} -function I(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ja},$$IS_SIGNATURE_EQUAL:{value:ka},bind:{value:la}});G.set(a,b)}var ma=Function.prototype.bind,na=Array.prototype.slice;function la(){var a=ma.apply(this,arguments),b=G.get(this);if(b){var d=na.call(arguments,1),c=null;c=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(d)}):Promise.resolve(d);I(a,{id:b.id,bound:c})}return a} -function oa(a,b){function d(){var c=Array.prototype.slice.call(arguments);return b(a,c)}I(d,{id:a,bound:null});return d}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function K(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}K.prototype=Object.create(Promise.prototype); -K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function pa(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function N(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function O(a,b,d){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=d;break;case "rejected":d&&N(d,a.reason)}} -function P(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&N(d,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.value,c=a.reason;a.status="resolved_module";a.value=b;null!==d&&(M(a),O(a,d,c))}}var R=null,S=null; -function L(a){var b=R,d=S;R=a;S=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==S&&0<S.deps?(S.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{R=b,S=d}}function M(a){try{var b=a.value,d=w.get(b.specifier);if("fulfilled"===d.status)var c=d.value;else throw d.reason;var e="*"===b.name?c:""===b.name?c.default:c[b.name];a.status="fulfilled";a.value=e}catch(h){a.status="rejected",a.reason=h}} -function T(a,b){a._chunks.forEach(function(d){"pending"===d.status&&P(d,b)})}function U(a,b){var d=a._chunks,c=d.get(b);c||(c=new K("pending",null,null,a),d.set(b,c));return c}function qa(a,b,d){if(S){var c=S;c.deps++}else c=S={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&N(e,c.value))}}function ra(a){return function(b){return P(a,b)}} -function sa(a,b){function d(){var e=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?c(b.id,h.value.concat(e)):Promise.resolve(h).then(function(f){return c(b.id,f.concat(e))}):c(b.id,e)}var c=a._callServer;I(d,b);return d}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ta(a,b,d,c){if("$"===c[0]){if("$"===c)return B;switch(c[1]){case "$":return c.slice(1);case "L":return b=parseInt(c.slice(2),16),a=U(a,b),{$$typeof:ba,_payload:a,_init:pa};case "@":return b=parseInt(c.slice(2),16),U(a,b);case "S":return Symbol.for(c.slice(2));case "P":return a=c.slice(2),J[a]||(b={$$typeof:aa,_currentValue:D,_currentValue2:D,_defaultValue:D,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},J[a]=b),J[a].Provider;case "F":return b= -parseInt(c.slice(2),16),b=V(a,b),sa(a,b);case "Q":return b=parseInt(c.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=U(a,c);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return c=R,a.then(qa(c,b,d),ra(c)),null;default:throw a.reason;}}}return c}function ua(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function va(a,b,d,c){var e=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==d?d:ua,_nonce:c,_chunks:e,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=wa(a);return a} -function W(a,b,d){a._chunks.set(b,new K("fulfilled",d,null,a))}function xa(a,b,d){var c=a._chunks,e=c.get(b);d=JSON.parse(d,a._fromJSON);var h=v(a._bundlerConfig,d);z(a._moduleLoading,d[1],a._nonce);if(d=x(h)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),c.set(b,f);d.then(function(){return Q(f,h)},function(k){return P(f,k)})}else e?Q(e,h):c.set(b,new K("resolved_module",h,null,a))} -function X(a,b){for(var d=a.length,c=b.length,e=0;e<d;e++)c+=a[e].byteLength;c=new Uint8Array(c);for(var h=e=0;h<d;h++){var f=a[h];c.set(f,e);e+=f.byteLength}c.set(b,e);return c}function Y(a,b,d,c,e,h){d=0===d.length&&0===c.byteOffset%h?c:X(d,c);e=new e(d.buffer,d.byteOffset,d.byteLength/h);W(a,b,e)} -function ya(a,b,d,c,e){switch(d){case 65:W(a,b,X(c,e).buffer);return;case 67:Y(a,b,c,e,Int8Array,1);return;case 99:W(a,b,0===c.length?e:X(c,e));return;case 85:Y(a,b,c,e,Uint8ClampedArray,1);return;case 83:Y(a,b,c,e,Int16Array,2);return;case 115:Y(a,b,c,e,Uint16Array,2);return;case 76:Y(a,b,c,e,Int32Array,4);return;case 108:Y(a,b,c,e,Uint32Array,4);return;case 70:Y(a,b,c,e,Float32Array,4);return;case 68:Y(a,b,c,e,Float64Array,8);return;case 78:Y(a,b,c,e,BigInt64Array,8);return;case 109:Y(a,b,c,e,BigUint64Array, -8);return;case 86:Y(a,b,c,e,DataView,1);return}for(var h=a._stringDecoder,f="",k=0;k<c.length;k++)f+=h.decode(c[k],u);f+=h.decode(e);switch(d){case 73:xa(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=A.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];d=a[1];3===a.length?f.preload(b,d,a[2]):f.preload(b,d);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], -a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:d=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=d;d=a._chunks;(c=d.get(b))?P(c,f):d.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=ca;f.stack="Error: "+f.message;d=a._chunks;(c=d.get(b))?P(c,f):d.set(b,new K("rejected",null,f,a));break;default:c=a._chunks,(d=c.get(b))?"pending"===d.status&&(a=d.value,b=d.reason,d.status= -"resolved_model",d.value=f,null!==a&&(L(d),O(d,a,b))):c.set(b,new K("resolved_model",f,null,a))}}function wa(a){return function(b,d){return"string"===typeof d?ta(a,this,b,d):"object"===typeof d&&null!==d?(b=d[0]===B?{$$typeof:B,type:d[1],key:d[2],ref:null,props:d[3],_owner:null}:d,b):d}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -exports.createFromNodeStream=function(a,b,d){var c=va(b.moduleMap,b.moduleLoading,Z,d&&"string"===typeof d.nonce?d.nonce:void 0);a.on("data",function(e){for(var h=0,f=c._rowState,k=c._rowID,l=c._rowTag,g=c._rowLength,t=c._buffer,F=e.length;h<F;){var m=-1;switch(f){case 0:m=e[h++];58===m?f=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:f=e[h];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||68===f||78===f||109===f||86===f?(l=f,f=2,h++):64<f&&91>f?(l=f,f=3,h++):(l=0,f=3); -continue;case 2:m=e[h++];44===m?f=4:g=g<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,h);break;case 4:m=h+g,m>e.length&&(m=-1)}var p=e.byteOffset+h;if(-1<m)g=new Uint8Array(e.buffer,p,m-h),ya(c,k,l,t,g),h=m,3===f&&h++,g=k=l=f=0,t.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-h);t.push(e);g-=e.byteLength;break}}c._rowState=f;c._rowID=k;c._rowTag=l;c._rowLength=g});a.on("error",function(e){T(c,e)});a.on("end",function(){T(c,Error("Connection closed."))});return U(c,0)}; -exports.createServerReference=function(a){return oa(a,Z)}; +'use strict';var n=require("util"),q=require("react-dom"),r=require("react"),u={stream:!0};function v(a,b){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return{specifier:a.specifier,name:c,async:4===b.length}}var w=new Map; +function x(a){var b=w.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var c=import(a.specifier);a.async&&(c=c.then(function(d){return d.default}));c.then(function(d){var e=c;e.status="fulfilled";e.value=d},function(d){var e=c;e.status="rejected";e.reason=d});w.set(a.specifier,c);return c} +function y(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=A.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}} +var A=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),aa=Symbol.for("react.provider"),ba=Symbol.for("react.server_context"),ca=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),da=Symbol.for("react.postpone"),D=Symbol.iterator;function ea(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var fa=Array.isArray,E=Object.getPrototypeOf,ha=Object.prototype,G=new WeakMap; +function ia(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ja(a,b,c,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var t=g++;h.then(function(p){p=JSON.stringify(p,e);var z=l;z.append(b+t,p);f--;0===f&&c(z)},function(p){d(p)});return"$@"+t.toString(16)}if(fa(h))return h;if(h instanceof FormData){null===l&&(l=new FormData);var F=l;k=g++;var m=b+k+"_";h.forEach(function(p,z){F.append(m+z,p)});return"$K"+k.toString(16)}if(h instanceof Map)return h=JSON.stringify(Array.from(h), +e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16);if(h instanceof Set)return h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16);if(ea(h))return Array.from(h);k=E(h);if(k!==ha&&(null===k||null!==E(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h; +h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ia(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=G.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var H=new WeakMap; +function ka(a){var b,c,d=new Promise(function(e,g){b=e;c=g});ja(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} +function la(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=H.get(b);c||(c=ka(b),H.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function ma(a,b){var c=G.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} +function I(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:la},$$IS_SIGNATURE_EQUAL:{value:ma},bind:{value:na}});G.set(a,b)}var oa=Function.prototype.bind,pa=Array.prototype.slice;function na(){var a=oa.apply(this,arguments),b=G.get(this);if(b){var c=pa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);I(a,{id:b.id,bound:d})}return a} +function qa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}I(c,{id:a,bound:null});return c}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function K(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}K.prototype=Object.create(Promise.prototype); +K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ra(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} +function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&N(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(M(a),O(a,c,d))}}var R=null,S=null; +function L(a){var b=R,c=S;R=a;S=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&N(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{R=b,S=c}} +function M(a){try{var b=a.value,c=w.get(b.specifier);if("fulfilled"===c.status)var d=c.value;else throw c.reason;var e="*"===b.name?d:""===b.name?d.default:d[b.name];a.status="fulfilled";a.value=e}catch(g){a.status="rejected",a.reason=g}}function T(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function U(a,b){var c=a._chunks,d=c.get(b);d||(d=new K("pending",null,null,a),c.set(b,d));return d} +function sa(a,b,c,d){if(S){var e=S;d||e.deps++}else e=S={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&N(g,e.value))}}function ta(a){return function(b){return P(a,b)}} +function ua(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;I(c,b);return c}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function va(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:ca,_payload:a,_init:ra};case "@":return b=parseInt(d.slice(2),16),U(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),J[a]||(b={$$typeof:ba,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:aa,_context:b},J[a]=b),J[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=V(a,b),ua(a,b);case "Q":return b=parseInt(d.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=R,a.then(sa(d,b,c,"cyclic"===a.status),ta(d)),null;default:throw a.reason;}}}return d}function wa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function xa(a,b,c,d){var e=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:wa,_nonce:d,_chunks:e,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ya(a);return a}function W(a,b,c){a._chunks.set(b,new K("fulfilled",c,null,a))} +function za(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=v(a._bundlerConfig,c);y(a._moduleLoading,c[1],a._nonce);if(c=x(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),d.set(b,f);c.then(function(){return Q(f,g)},function(l){return P(f,l)})}else e?Q(e,g):d.set(b,new K("resolved_module",g,null,a))} +function X(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function Y(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:X(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);W(a,b,e)} +function Aa(a,b,c,d,e){switch(c){case 65:W(a,b,X(d,e).buffer);return;case 67:Y(a,b,d,e,Int8Array,1);return;case 99:W(a,b,0===d.length?e:X(d,e));return;case 85:Y(a,b,d,e,Uint8ClampedArray,1);return;case 83:Y(a,b,d,e,Int16Array,2);return;case 115:Y(a,b,d,e,Uint16Array,2);return;case 76:Y(a,b,d,e,Int32Array,4);return;case 108:Y(a,b,d,e,Uint32Array,4);return;case 70:Y(a,b,d,e,Float32Array,4);return;case 68:Y(a,b,d,e,Float64Array,8);return;case 78:Y(a,b,d,e,BigInt64Array,8);return;case 109:Y(a,b,d,e,BigUint64Array, +8);return;case 86:Y(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],u);f+=g.decode(e);switch(c){case 73:za(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=A.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], +a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); +f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=da;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= +"resolved_model",c.value=f,null!==a&&(L(c),O(c,a,b))):d.set(b,new K("resolved_model",f,null,a))}}function ya(a){return function(b,c){return"string"===typeof c?va(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +exports.createFromNodeStream=function(a,b,c){var d=xa(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(e){for(var g=0,f=d._rowState,l=d._rowID,k=d._rowTag,h=d._rowLength,t=d._buffer,F=e.length;g<F;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||68===f||78===f||109===f||86===f?(k=f,f=2,g++):64<f&&91>f?(k=f,f=3,g++):(k=0,f=3); +continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),Aa(d,l,k,t,h),g=m,3===f&&g++,h=l=k=f=0,t.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);t.push(e);h-=e.byteLength;break}}d._rowState=f;d._rowID=l;d._rowTag=k;d._rowLength=h});a.on("error",function(e){T(d,e)});a.on("end",function(){T(d,Error("Connection closed."))});return U(d,0)}; +exports.createServerReference=function(a){return qa(a,Z)}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js index a4e205bee5407..f0a2650058907 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js @@ -1173,6 +1173,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1191,7 +1193,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1207,7 +1209,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1534,6 +1536,20 @@ function getOrCreateServerContext(globalName) { return ContextRegistry[globalName]; } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); +} + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1541,8 +1557,37 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var TaintRegistryObjects = ReactSharedServerInternals.TaintRegistryObjects, + TaintRegistryValues = ReactSharedServerInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactSharedServerInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactSharedServerInternals.TaintRegistryPendingRequests, + ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; + +function throwTaintViolation(message) { + // eslint-disable-next-line react-internal/prod-error-codes + throw new Error(message); +} + +function cleanupTaintQueue(request) { + var cleanupQueue = request.taintCleanupQueue; + TaintRegistryPendingRequests.delete(cleanupQueue); + + for (var i = 0; i < cleanupQueue.length; i++) { + var entryValue = cleanupQueue[i]; + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } + } + + cleanupQueue.length = 0; +} function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1563,6 +1608,12 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + + { + TaintRegistryPendingRequests.add(cleanupQueue); + } + var hints = createHints(); var request = { status: OPEN, @@ -1584,8 +1635,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1838,28 +1891,31 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState case REACT_PROVIDER_TYPE: { - pushProvider(type._context, props.value); - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } + pushProvider(type._context, props.value); - return true; - }); + { + var extraKeys = Object.keys(props).filter(function (value) { + if (value === 'children' || value === 'value') { + return false; + } - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + return true; + }); + + if (extraKeys.length !== 0) { + error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + } } - } - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; + return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. + { + value: props.value, + children: props.children, + __pop: POP + }]; + } // Fallthrough + } } } @@ -2007,10 +2063,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2043,16 +2098,60 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } function serializeTypedArray(request, tag, typedArray) { + { + if (TaintRegistryByteLengths.has(typedArray.byteLength)) { + // If we have had any tainted values of this length, we check + // to see if these bytes matches any entries in the registry. + var tainted = TaintRegistryValues.get(binaryToComparableString(typedArray)); + + if (tainted !== undefined) { + throwTaintViolation(tainted.message); + } + } + } + request.pendingChunks += 2; var bufferId = request.nextChunkId++; // TODO: Convert to little endian if that's not the server default. @@ -2076,6 +2175,7 @@ function escapeStringValue(value) { var insideContextProps = null; var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2126,7 +2226,30 @@ function resolveModelToJSON(request, parent, key, value) { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2187,35 +2310,94 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + { + var tainted = TaintRegistryObjects.get(value); + + if (tainted !== undefined) { + throwTaintViolation(tainted); + } + } + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); + } + + { + if (value.$$typeof === REACT_PROVIDER_TYPE) { + var providerKey = value._context._globalName; + var writtenProviders = request.writtenProviders; + var providerId = writtenProviders.get(key); + + if (providerId === undefined) { + request.pendingChunks++; + providerId = request.nextChunkId++; + writtenProviders.set(providerKey, providerId); + emitProviderChunk(request, providerId, providerKey); + } + + return serializeByValueID(providerId); + } else if (value === POP) { + popProvider(); + + { + insideContextProps = null; + isInsideContextValue = false; + } - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); + return undefined; } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2292,27 +2474,29 @@ function resolveModelToJSON(request, parent, key, value) { } } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2322,7 +2506,15 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + { + var _tainted = TaintRegistryValues.get(value); + + if (_tainted !== undefined) { + throwTaintViolation(_tainted.message); + } + } // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2356,6 +2548,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + { + var _tainted2 = TaintRegistryObjects.get(value); + + if (_tainted2 !== undefined) { + throwTaintViolation(_tainted2); + } + } + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2373,10 +2573,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2395,6 +2596,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + { + var _tainted3 = TaintRegistryValues.get(value); + + if (_tainted3 !== undefined) { + throwTaintViolation(_tainted3.message); + } + } + return serializeBigInt(value); } @@ -2419,7 +2628,11 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + { + cleanupTaintQueue(request); + } // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2514,7 +2727,11 @@ function emitProviderChunk(request, id, contextName) { } function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2533,7 +2750,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2550,11 +2768,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2715,6 +2939,10 @@ function flushCompletedChunks(request, destination) { if (request.pendingChunks === 0) { // We're done. + { + cleanupTaintQueue(request); + } + close$1(destination); } } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js index 7d69bcdb31809..c2b329e1e5ef0 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js @@ -7,69 +7,74 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("react-dom"),ba=require("react"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(512),n=0),a.enqueue(b);else{var d=l.length-n;d<b.byteLength&&(0===d?a.enqueue(l):(l.set(b.subarray(0,d),n),a.enqueue(l),b=b.subarray(d)),l=new Uint8Array(512),n=0);l.set(b,n);n+=b.byteLength}return!0}var r=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} -var t=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);a.$$typeof=u;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +'use strict';var aa=require("react-dom"),ba=require("react"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(512),n=0),a.enqueue(b);else{var d=l.length-n;d<b.byteLength&&(0===d?a.enqueue(l):(l.set(b.subarray(0,d),n),a.enqueue(l),b=b.subarray(d)),l=new Uint8Array(512),n=0);l.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} +var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);a.$$typeof=t;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider."); }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ja={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; -case "__esModule":var d=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=v({},a.$$id,!0),e=new Proxy(c,ja);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))}, -a.$$id+"#then",!1)}c=a[b];c||(c=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module."); -}},ra={prefetchDNS:ka,preconnect:la,preload:ma,preloadModule:na,preinitStyle:oa,preinitScript:pa,preinitModuleScript:qa};function ka(a){if("string"===typeof a&&a){var b=w?w:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),x(b,"D",a))}}}function la(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?x(d,"C",[a,b]):x(d,"C",a))}}} -function ma(a,b,d){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?x(c,"L",[a,b,d]):x(c,"L",[a,b]))}}}function na(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"m",[a,b]):x(d,"m",a)}}} -function oa(a,b,d){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?x(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?x(c,"S",[a,b]):x(c,"S",a)}}}function pa(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"X",[a,b]):x(d,"X",a)}}} -function qa(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"M",[a,b]):x(d,"M",a)}}}function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var sa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),ta=Symbol.for("react.fragment"),ua=Symbol.for("react.provider"),va=Symbol.for("react.server_context"),wa=Symbol.for("react.forward_ref"),xa=Symbol.for("react.suspense"),ya=Symbol.for("react.suspense_list"),za=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),Aa=Symbol.for("react.memo_cache_sentinel"),Ba=Symbol.for("react.postpone"),Ca=Symbol.iterator,D=null; -function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function Da(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Da(a)} -function Ea(a){var b=a.parent;null!==b&&Ea(b);a.context._currentValue=a.value}function Fa(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):Fa(a,b)} -function Ga(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):Ga(a,d);b.context._currentValue=b.value}function Ha(a){var b=D;b!==a&&(null===b?Ea(a):null===a?Da(b):b.depth===a.depth?E(b,a):b.depth>a.depth?Fa(b,a):Ga(b,a),D=a)}function Ia(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ja=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Ka(){}function La(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ka,Ka),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}G=b;throw Ja;}}var G=null; -function Ma(){if(null===G)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=G;G=null;return a}var I=null,J=0,K=null;function Na(){var a=K;K=null;return a}function Oa(a){return a._currentValue} -var Sa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:L,useTransition:L,readContext:Oa,useContext:Oa,useReducer:L,useRef:L,useState:L,useInsertionEffect:L,useLayoutEffect:L,useImperativeHandle:L,useEffect:L,useId:Pa,useSyncExternalStore:L,useCacheRefresh:function(){return Qa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Aa;return b},use:Ra}; -function L(){throw Error("This Hook is not supported in Server Components.");}function Qa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Pa(){if(null===I)throw Error("useId can only be used while React is rendering");var a=I.identifierCount++;return":"+I.identifierPrefix+"S"+a.toString(32)+":"} -function Ra(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return La(K,a,b)}if(a.$$typeof===va)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ta(){return(new AbortController).signal}function Ua(){var a=w?w:null;return a?a.cache:new Map} -var Va={getCacheSignal:function(){var a=Ua(),b=a.get(Ta);void 0===b&&(b=Ta(),a.set(Ta,b));return b},getCacheForType:function(a){var b=Ua(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Wa=Array.isArray;function Xa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function Ya(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Wa(a))return"[...]";a=Xa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function M(a){if("string"===typeof a)return a;switch(a){case xa:return"Suspense";case ya:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case wa:return M(a.render);case za:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""} -function N(a,b){var d=Xa(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Wa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):Ya(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -Ya(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Za=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$a=Za.ContextRegistry,O=JSON.stringify,ab=Za.ReactCurrentDispatcher,bb=Za.ReactCurrentCache;function cb(a){console.error(a)}function db(){} -function eb(a,b,d,c,e,f){if(null!==bb.current&&bb.current!==Va)throw Error("Currently React only supports one RSC renderer at a time.");sa.current=ra;bb.current=Va;var g=new Set,h=[],k=new Set,m={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?cb:d,onPostpone:void 0===f?db:f,toJSON:function(q,F){return fb(m,this,q,F)}};m.pendingChunks++;b=gb(c);a=hb(m,a,b,g);h.push(a);return m}var w=null,ib={}; -function jb(a,b){a.pendingChunks++;var d=hb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,kb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ba?(lb(a,c.message),mb(a,d.id)):(c=P(a,c),Q(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= -e;kb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=P(a,e);Q(a,d.id,e);null!==a.destination&&R(a,a.destination)});return d.id}function x(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=r.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,R(a,d))}function nb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function ob(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:nb}} -function S(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[z,b,d,e];J=0;K=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:ob(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===ta?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[z,b,d,e];switch(b.$$typeof){case A:var g= -b._init;b=g(b._payload);return S(a,b,d,c,e,f);case wa:return a=b.render,J=0,K=f,a(e,void 0);case za:return S(a,b.type,d,c,e,f);case ua:return Ia(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:ib}]}}throw Error("Unsupported Server Component type: "+Ya(b));}function kb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,pb(a))} -function hb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return kb(a,e)},thenableState:null};c.add(e);return e}function T(a){return"$"+a.toString(16)}function qb(a,b,d){a=O(d);b=b.toString(16)+":"+a+"\n";return r.encode(b)} -function rb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):T(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var m=h[k];if(m)g=m.name;else{var q=k.lastIndexOf("#");-1!==q&&(g=k.slice(q+1),m=h[k.slice(0,q)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var F=!0===c.$$async?[m.id,m.chunks,g,1]:[m.id,m.chunks, -g];a.pendingChunks++;var H=a.nextChunkId++,C=O(F),Jb=H.toString(16)+":I"+C+"\n",Kb=r.encode(Jb);a.completedImportChunks.push(Kb);f.set(e,H);return b[0]===z&&"1"===d?"$L"+H.toString(16):T(H)}catch(Lb){return a.pendingChunks++,b=a.nextChunkId++,d=P(a,Lb),Q(a,b,d),T(b)}}function sb(a,b){a.pendingChunks++;var d=a.nextChunkId++;tb(a,d,b);return d} -function U(a,b,d){a.pendingChunks+=2;var c=a.nextChunkId++,e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);d=512<d.byteLength?e.slice():e;e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";b=r.encode(b);a.completedRegularChunks.push(b,d);return T(c)} -function fb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=S(a,e.type,e.key,e.ref,e.props,null);break;case A:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ja?Ma():g;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=hb(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Na(),"$L"+a.id.toString(16);if(d.$$typeof===Ba)return c=d,a.pendingChunks++,d=a.nextChunkId++, -lb(a,c.message),mb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=P(a,d);Q(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return rb(a,b,d,c);if("function"===typeof c.then)return"$@"+jb(a,c).toString(16);if(c.$$typeof===ua)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=qb(a,d,"$P"+c),a.completedRegularChunks.push(c)),T(d);if(c===ib){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); -c=a.parentValue;a.context._currentValue=c===B?a.context._defaultValue:c;D=a.parent;return}return c instanceof Map?"$Q"+sb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+sb(a,Array.from(c)).toString(16):c instanceof ArrayBuffer?U(a,"A",new Uint8Array(c)):c instanceof Int8Array?U(a,"C",c):c instanceof Uint8Array?U(a,"c",c):c instanceof Uint8ClampedArray?U(a,"U",c):c instanceof Int16Array?U(a,"S",c):c instanceof Uint16Array?U(a,"s",c):c instanceof Int32Array?U(a,"L",c):c instanceof Uint32Array? -U(a,"l",c):c instanceof Float32Array?U(a,"F",c):c instanceof Float64Array?U(a,"D",c):c instanceof BigInt64Array?U(a,"N",c):c instanceof BigUint64Array?U(a,"m",c):c instanceof DataView?U(a,"V",c):!Wa(c)&&(null===c||"object"!==typeof c?a=null:(a=Ca&&c[Ca]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,c=r.encode(c),b=c.byteLength,b=d.toString(16)+ -":T"+b.toString(16)+",",b=r.encode(b),a.completedRegularChunks.push(b,c),T(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return rb(a,b,d,c);if(c.$$typeof===u)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound, -b={id:c.$$id,bound:b?Promise.resolve(b):null},a=sb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return T(f); -f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=qb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return T(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function lb(a,b){a=a.onPostpone;a(b)}function P(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function ub(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} -function mb(a,b){b=b.toString(16)+":P\n";b=r.encode(b);a.completedErrorChunks.push(b)}function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";b=r.encode(b);a.completedErrorChunks.push(b)}function tb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";b=r.encode(b);a.completedRegularChunks.push(b)} -function pb(a){var b=ab.current;ab.current=Sa;var d=w;I=w=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];a:{var g=a;if(0===f.status){Ha(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===z){var k=h,m=f.thenableState;f.model=h;h=S(g,k.type,k.key,k.ref,k.props,m);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===z;)k=h,f.model=h,h=S(g,k.type,k.key,k.ref,k.props,null)}tb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(C){var q= -C===Ja?Ma():C;if("object"===typeof q&&null!==q)if("function"===typeof q.then){var F=f.ping;q.then(F,F);f.thenableState=Na();break a}else if(q.$$typeof===Ba){g.abortableTasks.delete(f);f.status=4;lb(g,q.message);mb(g,f.id);break a}g.abortableTasks.delete(f);f.status=4;var H=P(g,q);Q(g,f.id,H)}}}}null!==a.destination&&R(a,a.destination)}catch(C){P(a,C),ub(a,C)}finally{ab.current=b,I=null,w=d}} -function R(a,b){l=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&& -b.close()}function vb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=P(a,c);a.pendingChunks++;var f=a.nextChunkId++;Q(a,f,e,c);d.forEach(function(g){g.status=3;var h=T(f);g=qb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){P(a,g),ub(a,g)}} -function gb(a){if(a){var b=D;Ha(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!$a[e]){var f={$$typeof:va,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ua,_context:f};$a[e]=f}Ia($a[e],c)}a=D;Ha(b);return a}return null} -function wb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var V=new Map; -function xb(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function yb(){} -function zb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=V.get(e);if(void 0===f){f=__turbopack_load__(e);d.push(f);var g=V.set.bind(V,e,null);f.then(g,yb);V.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?xb(a[0]):Promise.all(d).then(function(){return xb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=__turbopack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Ab(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Ab.prototype=Object.create(Promise.prototype); -Ab.prototype.then=function(a,b){switch(this.status){case "resolved_model":Bb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Cb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Db(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Cb(d,b)}}function Eb(a,b,d,c,e,f){var g=wb(a._bundlerConfig,b);a=zb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Fb(c,e,f),Gb(c));return null}var X=null,Y=null; -function Bb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Hb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Db(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Ab("resolved_model",c,null,a):new Ab("pending",null,null,a),d.set(b,c));return c}function Fb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Cb(e,c.value))}}function Gb(a){return function(b){return Db(a,b)}} -function Ib(a,b){a=Z(a,b);"resolved_model"===a.status&&Bb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Mb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Ib(a,c),Eb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Ib(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Ib(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Bb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Fb(c,b,d),Gb(c)),null;default:throw a.reason;}}return c} -function Nb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Mb(e,this,f,g):g}};return e}function Ob(a){Hb(a,Error("Connection closed."))}function Pb(a,b,d){var c=wb(a,b);a=zb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} -function Qb(a,b,d){a=Nb(b,d,a);Ob(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ja)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Qb(a,b,e),c=Pb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Pb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Nb(b,"",a);Ob(a);return Z(a,0)}; -exports.registerClientReference=function(a,b,d){return v(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; -exports.renderToReadableStream=function(a,b,d){var c=eb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)vb(c,e.reason);else{var f=function(){vb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){c.flushScheduled=null!==c.destination;pb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null=== -c.destination){c.destination=g;try{R(c,g)}catch(h){P(c,h),ub(c,h)}}},cancel:function(){}},{highWaterMark:0})}; +case "__esModule":var d=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=u({},a.$$id,!0),e=new Proxy(c,ja);a.status="fulfilled";a.value=e;return a.then=u(function(f){return Promise.resolve(f(e))}, +a.$$id+"#then",!1)}c=a[b];c||(c=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module."); +}},sa={prefetchDNS:ka,preconnect:la,preload:ma,preloadModule:na,preinitStyle:oa,preinitScript:pa,preinitModuleScript:ra};function ka(a){if("string"===typeof a&&a){var b=v?v:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),w(b,"D",a))}}}function la(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?w(d,"C",[a,b]):w(d,"C",a))}}} +function ma(a,b,d){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=x(d))?w(c,"L",[a,b,d]):w(c,"L",[a,b]))}}}function na(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"m",[a,b]):w(d,"m",a)}}} +function oa(a,b,d){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=x(d))?w(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?w(c,"S",[a,b]):w(c,"S",a)}}}function pa(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"X",[a,b]):w(d,"X",a)}}} +function ra(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"M",[a,b]):w(d,"M",a)}}}function x(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} +var ta=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,y=Symbol.for("react.element"),ua=Symbol.for("react.fragment"),va=Symbol.for("react.provider"),wa=Symbol.for("react.server_context"),xa=Symbol.for("react.forward_ref"),ya=Symbol.for("react.suspense"),za=Symbol.for("react.suspense_list"),Aa=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),Ba=Symbol.for("react.memo_cache_sentinel"),Ca=Symbol.for("react.postpone"),Da=Symbol.iterator,C=null; +function D(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");D(a,d);b.context._currentValue=b.value}}}function Ea(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ea(a)} +function Fa(a){var b=a.parent;null!==b&&Fa(b);a.context._currentValue=a.value}function Ga(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?D(a,b):Ga(a,b)} +function Ha(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?D(a,d):Ha(a,d);b.context._currentValue=b.value}function Ia(a){var b=C;b!==a&&(null===b?Fa(a):null===a?Ea(b):b.depth===a.depth?D(b,a):b.depth>a.depth?Ga(b,a):Ha(b,a),C=a)}function Ja(a,b){var d=a._currentValue;a._currentValue=b;var c=C;return C=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ka=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function La(){}function Ma(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(La,La),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}E=b;throw Ka;}}var E=null; +function Na(){if(null===E)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=E;E=null;return a}var F=null,Oa=0,H=null;function Pa(){var a=H;H=null;return a}function Qa(a){return a._currentValue} +var Ua={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:I,useTransition:I,readContext:Qa,useContext:Qa,useReducer:I,useRef:I,useState:I,useInsertionEffect:I,useLayoutEffect:I,useImperativeHandle:I,useEffect:I,useId:Ra,useSyncExternalStore:I,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ba;return b},use:Ta}; +function I(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ra(){if(null===F)throw Error("useId can only be used while React is rendering");var a=F.identifierCount++;return":"+F.identifierPrefix+"S"+a.toString(32)+":"} +function Ta(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Oa;Oa+=1;null===H&&(H=[]);return Ma(H,a,b)}if(a.$$typeof===wa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Va(){return(new AbortController).signal}function Wa(){var a=v?v:null;return a?a.cache:new Map} +var Xa={getCacheSignal:function(){var a=Wa(),b=a.get(Va);void 0===b&&(b=Va(),a.set(Va,b));return b},getCacheForType:function(a){var b=Wa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Ya=Array.isArray,Za=Object.getPrototypeOf;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ya(a))return"[...]";a=$a(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function bb(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return bb(a.render);case Aa:return bb(a.type);case z:var b=a._payload;a=a._init;try{return bb(a(b))}catch(d){}}return""} +function J(a,b){var d=$a(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Ya(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?J(g):ab(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+bb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?J(h): +ab(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var cb=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,db=cb.ContextRegistry,K=ba.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +if(!K)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var eb=Object.prototype,L=JSON.stringify,fb=K.TaintRegistryObjects,M=K.TaintRegistryValues,gb=K.TaintRegistryByteLengths,hb=K.TaintRegistryPendingRequests,ib=K.ReactCurrentCache,jb=cb.ReactCurrentDispatcher;function N(a){throw Error(a);} +function kb(a){a=a.taintCleanupQueue;hb.delete(a);for(var b=0;b<a.length;b++){var d=a[b],c=M.get(d);void 0!==c&&(1===c.count?M.delete(d):c.count--)}a.length=0}function lb(a){console.error(a)}function mb(){} +function nb(a,b,d,c,e,f){if(null!==ib.current&&ib.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=sa;ib.current=Xa;var g=new Set,k=[],h=[];hb.add(h);var m=new Set,A={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:m,abortableTasks:g,pingedTasks:k,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:h,onError:void 0===d?lb:d,onPostpone:void 0===f?mb:f,toJSON:function(qa,G){return ob(A,this,qa,G)}};A.pendingChunks++;b=pb(c);a=qb(A,a,b,g);k.push(a);return A}var v=null,rb={}; +function sb(a,b){a.pendingChunks++;var d=qb(a,null,C,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,tb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ca?(ub(a,c.message),vb(a,d.id)):(c=O(a,c),P(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= +e;tb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=O(a,e);P(a,d.id,e);null!==a.destination&&Q(a,a.destination)});return d.id}function w(a,b,d){d=L(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,Q(a,d))}function wb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function xb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:z,_payload:a,_init:wb}} +function R(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[y,b,d,e];Oa=0;H=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:xb(e):e}if("string"===typeof b)return[y,b,d,e];if("symbol"===typeof b)return b===ua?e.children:[y,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[y,b,d,e];switch(b.$$typeof){case z:var g= +b._init;b=g(b._payload);return R(a,b,d,c,e,f);case xa:return a=b.render,Oa=0,H=f,a(e,void 0);case Aa:return R(a,b.type,d,c,e,f);case va:return Ja(b._context,e.value),[y,b,d,{value:e.value,children:e.children,__pop:rb}]}}throw Error("Unsupported Server Component type: "+ab(b));}function tb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,yb(a))} +function qb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return tb(a,e)},thenableState:null};c.add(e);return e}function S(a){return"$"+a.toString(16)}function zb(a,b,d){a=L(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} +function Ab(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===y&&"1"===d?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var m=k[h];if(m)g=m.name;else{var A=h.lastIndexOf("#");-1!==A&&(g=h.slice(A+1),m=k[h.slice(0,A)]);if(!m)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var qa=!0===c.$$async?[m.id,m.chunks,g,1]:[m.id,m.chunks, +g];a.pendingChunks++;var G=a.nextChunkId++,Sb=L(qa),Tb=G.toString(16)+":I"+Sb+"\n",Ub=q.encode(Tb);a.completedImportChunks.push(Ub);f.set(e,G);return b[0]===y&&"1"===d?"$L"+G.toString(16):S(G)}catch(Vb){return a.pendingChunks++,b=a.nextChunkId++,d=O(a,Vb),P(a,b,d),S(b)}}function T(a,b){a.pendingChunks++;b=qb(a,b,C,a.abortableTasks);Bb(a,b);return b.id} +function U(a,b,d){if(gb.has(d.byteLength)){var c=M.get(String.fromCharCode.apply(String,new Uint8Array(d.buffer,d.byteOffset,d.byteLength)));void 0!==c&&N(c.message)}a.pendingChunks+=2;c=a.nextChunkId++;var e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);d=512<d.byteLength?e.slice():e;e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";b=q.encode(b);a.completedRegularChunks.push(b,d);return S(c)}var V=!1; +function ob(a,b,d,c){switch(c){case y:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===y||c.$$typeof===z);)try{switch(c.$$typeof){case y:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=T(a,c);return S(g)}if(V===c)V=null;else return S(f)}else e.set(c,-1);var k=c;c=R(a,k.type,k.key,k.ref,k.props,null);break;case z:var h=c._init;c=h(c._payload)}}catch(m){d=m===Ka?Na():m;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=qb(a,c,C,a.abortableTasks), +c=a.ping,d.then(c,c),a.thenableState=Pa(),"$L"+a.id.toString(16);if(d.$$typeof===Ca)return c=d,a.pendingChunks++,d=a.nextChunkId++,ub(a,c.message),vb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){e=fb.get(c);void 0!==e&&N(e);if(c.$$typeof===r)return Ab(a,b,d,c);b=a.writtenObjects;e=b.get(c);if("function"===typeof c.then){if(void 0!==e)if(V===c)V=null;else return"$@"+e.toString(16);a=sb(a,c); +b.set(c,a);return"$@"+a.toString(16)}if(c.$$typeof===va)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=zb(a,d,"$P"+c),a.completedRegularChunks.push(c)),S(d);if(c===rb){a=C;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===B?a.context._defaultValue:c;C=a.parent;return}if(void 0!==e){if(-1===e)return a=T(a,c),S(a);if(V===c)V=null; +else return S(e)}else b.set(c,-1);if(Ya(c))return c;if(c instanceof Map){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d][0],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$Q"+T(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$W"+T(a,c).toString(16)}if(c instanceof ArrayBuffer)return U(a,"A",new Uint8Array(c));if(c instanceof Int8Array)return U(a, +"C",c);if(c instanceof Uint8Array)return U(a,"c",c);if(c instanceof Uint8ClampedArray)return U(a,"U",c);if(c instanceof Int16Array)return U(a,"S",c);if(c instanceof Uint16Array)return U(a,"s",c);if(c instanceof Int32Array)return U(a,"L",c);if(c instanceof Uint32Array)return U(a,"l",c);if(c instanceof Float32Array)return U(a,"F",c);if(c instanceof Float64Array)return U(a,"D",c);if(c instanceof BigInt64Array)return U(a,"N",c);if(c instanceof BigUint64Array)return U(a,"m",c);if(c instanceof DataView)return U(a, +"V",c);null===c||"object"!==typeof c?a=null:(a=Da&&c[Da]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Za(c);if(a!==eb&&(null===a||null!==Za(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){e=M.get(c);void 0!==e&&N(e.message);if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+= +2,d=a.nextChunkId++,c=q.encode(c),b=c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",b=q.encode(b),a.completedRegularChunks.push(b,c),S(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){e=fb.get(c);void 0!==e&&N(e);if(c.$$typeof===r)return Ab(a,b,d,c);if(c.$$typeof=== +t)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=T(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+J(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+ +J(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return S(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+J(b,d));a.pendingChunks++;d=a.nextChunkId++;b=zb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return S(d)}if("bigint"===typeof c)return a=M.get(c),void 0!==a&&N(a.message),"$n"+c.toString(10); +throw Error("Type "+typeof c+" is not supported in Client Component props."+J(b,d));}function ub(a,b){a=a.onPostpone;a(b)}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""} +function Cb(a,b){kb(a);null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}function vb(a,b){b=b.toString(16)+":P\n";b=q.encode(b);a.completedErrorChunks.push(b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+L(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)} +function Bb(a,b){if(0===b.status){Ia(b.context);try{var d=b.model;if("object"===typeof d&&null!==d&&d.$$typeof===y){a.writtenObjects.set(d,b.id);var c=d,e=b.thenableState;b.model=d;d=R(a,c.type,c.key,c.ref,c.props,e);for(b.thenableState=null;"object"===typeof d&&null!==d&&d.$$typeof===y;)a.writtenObjects.set(d,b.id),c=d,b.model=d,d=R(a,c.type,c.key,c.ref,c.props,null)}"object"===typeof d&&null!==d&&a.writtenObjects.set(d,b.id);var f=b.id;V=d;var g=L(d,a.toJSON),k=f.toString(16)+":"+g+"\n",h=q.encode(k); +a.completedRegularChunks.push(h);a.abortableTasks.delete(b);b.status=1}catch(m){f=m===Ka?Na():m;if("object"===typeof f&&null!==f){if("function"===typeof f.then){a=b.ping;f.then(a,a);b.thenableState=Pa();return}if(f.$$typeof===Ca){a.abortableTasks.delete(b);b.status=4;ub(a,f.message);vb(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;f=O(a,f);P(a,b.id,f)}}} +function yb(a){var b=jb.current;jb.current=Ua;var d=v;F=v=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Bb(a,c[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Cb(a,f)}finally{jb.current=b,F=null,v=d}} +function Q(a,b){l=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&& +(kb(a),b.close())}function Db(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=O(a,c);a.pendingChunks++;var f=a.nextChunkId++;P(a,f,e,c);d.forEach(function(g){g.status=3;var k=S(f);g=zb(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Cb(a,g)}} +function pb(a){if(a){var b=C;Ia(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!db[e]){var f={$$typeof:wa,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:va,_context:f};db[e]=f}Ja(db[e],c)}a=C;Ia(b);return a}return null} +function Eb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Fb=new Map; +function Gb(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Hb(){} +function Ib(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=Fb.get(e);if(void 0===f){f=__turbopack_load__(e);d.push(f);var g=Fb.set.bind(Fb,e,null);f.then(g,Hb);Fb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Gb(a[0]):Promise.all(d).then(function(){return Gb(a[0])}):0<d.length?Promise.all(d):null} +function W(a){var b=__turbopack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Jb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Jb.prototype=Object.create(Promise.prototype); +Jb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Kb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Lb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Mb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Lb(d,b)}}function Nb(a,b,d,c,e,f){var g=Eb(a._bundlerConfig,b);a=Ib(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Ob(c,e,f),Pb(c));return null}var X=null,Y=null; +function Kb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Qb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Mb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Jb("resolved_model",c,null,a):new Jb("pending",null,null,a),d.set(b,c));return c}function Ob(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Lb(e,c.value))}}function Pb(a){return function(b){return Mb(a,b)}} +function Rb(a,b){a=Z(a,b);"resolved_model"===a.status&&Kb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Wb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Rb(a,c),Nb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Rb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Rb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Kb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Ob(c,b,d),Pb(c)),null;default:throw a.reason;}}return c} +function Xb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Wb(e,this,f,g):g}};return e}function Yb(a){Qb(a,Error("Connection closed."))}function Zb(a,b,d){var c=Eb(a,b);a=Ib(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} +function $b(a,b,d){a=Xb(b,d,a);Yb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ja)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=$b(a,b,e),c=Zb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Zb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Xb(b,"",a);Yb(a);return Z(a,0)}; +exports.registerClientReference=function(a,b,d){return u(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; +exports.renderToReadableStream=function(a,b,d){var c=nb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)Db(c,e.reason);else{var f=function(){Db(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){c.flushScheduled=null!==c.destination;yb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null=== +c.destination){c.destination=g;try{Q(c,g)}catch(k){O(c,k),Cb(c,k)}}},cancel:function(){}},{highWaterMark:0})}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js index 4bf4e942d2bd3..18c41cf652413 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js @@ -1176,6 +1176,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1194,7 +1196,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1210,7 +1212,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1537,6 +1539,20 @@ function getOrCreateServerContext(globalName) { return ContextRegistry[globalName]; } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); +} + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1544,8 +1560,37 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var TaintRegistryObjects = ReactSharedServerInternals.TaintRegistryObjects, + TaintRegistryValues = ReactSharedServerInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactSharedServerInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactSharedServerInternals.TaintRegistryPendingRequests, + ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; + +function throwTaintViolation(message) { + // eslint-disable-next-line react-internal/prod-error-codes + throw new Error(message); +} + +function cleanupTaintQueue(request) { + var cleanupQueue = request.taintCleanupQueue; + TaintRegistryPendingRequests.delete(cleanupQueue); + + for (var i = 0; i < cleanupQueue.length; i++) { + var entryValue = cleanupQueue[i]; + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } + } + + cleanupQueue.length = 0; +} function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1566,6 +1611,12 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + + { + TaintRegistryPendingRequests.add(cleanupQueue); + } + var hints = createHints(); var request = { status: OPEN, @@ -1587,8 +1638,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1846,28 +1899,31 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState case REACT_PROVIDER_TYPE: { - pushProvider(type._context, props.value); - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } + pushProvider(type._context, props.value); - return true; - }); + { + var extraKeys = Object.keys(props).filter(function (value) { + if (value === 'children' || value === 'value') { + return false; + } - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + return true; + }); + + if (extraKeys.length !== 0) { + error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + } } - } - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; + return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. + { + value: props.value, + children: props.children, + __pop: POP + }]; + } // Fallthrough + } } } @@ -2015,10 +2071,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2051,16 +2106,60 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } function serializeTypedArray(request, tag, typedArray) { + { + if (TaintRegistryByteLengths.has(typedArray.byteLength)) { + // If we have had any tainted values of this length, we check + // to see if these bytes matches any entries in the registry. + var tainted = TaintRegistryValues.get(binaryToComparableString(typedArray)); + + if (tainted !== undefined) { + throwTaintViolation(tainted.message); + } + } + } + request.pendingChunks += 2; var bufferId = request.nextChunkId++; // TODO: Convert to little endian if that's not the server default. @@ -2084,6 +2183,7 @@ function escapeStringValue(value) { var insideContextProps = null; var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2134,7 +2234,30 @@ function resolveModelToJSON(request, parent, key, value) { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2195,35 +2318,94 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + { + var tainted = TaintRegistryObjects.get(value); + + if (tainted !== undefined) { + throwTaintViolation(tainted); + } + } + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); + } + + { + if (value.$$typeof === REACT_PROVIDER_TYPE) { + var providerKey = value._context._globalName; + var writtenProviders = request.writtenProviders; + var providerId = writtenProviders.get(key); + + if (providerId === undefined) { + request.pendingChunks++; + providerId = request.nextChunkId++; + writtenProviders.set(providerKey, providerId); + emitProviderChunk(request, providerId, providerKey); + } + + return serializeByValueID(providerId); + } else if (value === POP) { + popProvider(); + + { + insideContextProps = null; + isInsideContextValue = false; + } - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); + return undefined; } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2300,27 +2482,29 @@ function resolveModelToJSON(request, parent, key, value) { } } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2330,7 +2514,15 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + { + var _tainted = TaintRegistryValues.get(value); + + if (_tainted !== undefined) { + throwTaintViolation(_tainted.message); + } + } // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2364,6 +2556,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + { + var _tainted2 = TaintRegistryObjects.get(value); + + if (_tainted2 !== undefined) { + throwTaintViolation(_tainted2); + } + } + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2381,10 +2581,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2403,6 +2604,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + { + var _tainted3 = TaintRegistryValues.get(value); + + if (_tainted3 !== undefined) { + throwTaintViolation(_tainted3.message); + } + } + return serializeBigInt(value); } @@ -2427,7 +2636,11 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + { + cleanupTaintQueue(request); + } // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2522,7 +2735,11 @@ function emitProviderChunk(request, id, contextName) { } function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2541,7 +2758,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2558,11 +2776,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2723,6 +2947,10 @@ function flushCompletedChunks(request, destination) { if (request.pendingChunks === 0) { // We're done. + { + cleanupTaintQueue(request); + } + close$1(destination); } } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js index 7c892dc9c2c29..aace52080d4f7 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js @@ -7,70 +7,75 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("react"),ba=require("react-dom"),m=null,n=0;function q(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var d=m.length-n;d<b.byteLength&&(0===d?a.enqueue(m):(m.set(b.subarray(0,d),n),a.enqueue(m),b=b.subarray(d)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.byteLength}return!0}var r=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} -var t=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);a.$$typeof=u;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +'use strict';var aa=require("react"),ba=require("react-dom"),m=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var d=m.length-n;d<b.byteLength&&(0===d?a.enqueue(m):(m.set(b.subarray(0,d),n),a.enqueue(m),b=b.subarray(d)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} +var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);a.$$typeof=t;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider."); }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ja={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; -case "__esModule":var d=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=v({},a.$$id,!0),e=new Proxy(c,ja);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))}, -a.$$id+"#then",!1)}c=a[b];c||(c=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module."); -}},ra={prefetchDNS:ka,preconnect:la,preload:ma,preloadModule:na,preinitStyle:oa,preinitScript:pa,preinitModuleScript:qa};function ka(a){if("string"===typeof a&&a){var b=w();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),x(b,"D",a))}}}function la(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?x(d,"C",[a,b]):x(d,"C",a))}}} -function ma(a,b,d){if("string"===typeof a){var c=w();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?x(c,"L",[a,b,d]):x(c,"L",[a,b]))}}}function na(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"m",[a,b]):x(d,"m",a)}}} -function oa(a,b,d){if("string"===typeof a){var c=w();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?x(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?x(c,"S",[a,b]):x(c,"S",a)}}}function pa(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"X",[a,b]):x(d,"X",a)}}}function qa(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"M",[a,b]):x(d,"M",a)}}} -function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var sa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,ta="function"===typeof AsyncLocalStorage,ua=ta?new AsyncLocalStorage:null,z=Symbol.for("react.element"),va=Symbol.for("react.fragment"),wa=Symbol.for("react.provider"),xa=Symbol.for("react.server_context"),ya=Symbol.for("react.forward_ref"),za=Symbol.for("react.suspense"),Aa=Symbol.for("react.suspense_list"),Ba=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),Ca=Symbol.for("react.memo_cache_sentinel"), -Da=Symbol.for("react.postpone"),Ea=Symbol.iterator,D=null;function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function Fa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Fa(a)} -function Ga(a){var b=a.parent;null!==b&&Ga(b);a.context._currentValue=a.value}function Ha(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):Ha(a,b)} -function Ia(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):Ia(a,d);b.context._currentValue=b.value}function Ja(a){var b=D;b!==a&&(null===b?Ga(a):null===a?Fa(b):b.depth===a.depth?E(b,a):b.depth>a.depth?Ha(b,a):Ia(b,a),D=a)}function Ka(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var La=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Ma(){}function Na(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ma,Ma),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}G=b;throw La;}}var G=null; -function Oa(){if(null===G)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=G;G=null;return a}var I=null,J=0,K=null;function Pa(){var a=K;K=null;return a}function Qa(a){return a._currentValue} -var Ua={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:L,useTransition:L,readContext:Qa,useContext:Qa,useReducer:L,useRef:L,useState:L,useInsertionEffect:L,useLayoutEffect:L,useImperativeHandle:L,useEffect:L,useId:Ra,useSyncExternalStore:L,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ca;return b},use:Ta}; -function L(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ra(){if(null===I)throw Error("useId can only be used while React is rendering");var a=I.identifierCount++;return":"+I.identifierPrefix+"S"+a.toString(32)+":"} -function Ta(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return Na(K,a,b)}if(a.$$typeof===xa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Va(){return(new AbortController).signal}function Wa(){var a=w();return a?a.cache:new Map} -var Xa={getCacheSignal:function(){var a=Wa(),b=a.get(Va);void 0===b&&(b=Va(),a.set(Va,b));return b},getCacheForType:function(a){var b=Wa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Ya=Array.isArray;function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function $a(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ya(a))return"[...]";a=Za(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function M(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return M(a.render);case Ba:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""} -function N(a,b){var d=Za(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Ya(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):$a(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -$a(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var ab=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bb=ab.ContextRegistry,O=JSON.stringify,cb=ab.ReactCurrentDispatcher,db=ab.ReactCurrentCache;function eb(a){console.error(a)}function fb(){} -function gb(a,b,d,c,e,f){if(null!==db.current&&db.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");sa.current=ra;db.current=Xa;var g=new Set,h=[],k=new Set,l={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?eb:d,onPostpone:void 0===f?fb:f,toJSON:function(p,F){return hb(l,this,p,F)}};l.pendingChunks++;b=ib(c);a=jb(l,a,b,g);h.push(a);return l}var P=null;function w(){if(P)return P;if(ta){var a=ua.getStore();if(a)return a}return null}var kb={}; -function lb(a,b){a.pendingChunks++;var d=jb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,mb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Da?(nb(a,c.message),ob(a,d.id)):(c=Q(a,c),R(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= -e;mb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=Q(a,e);R(a,d.id,e);null!==a.destination&&S(a,a.destination)});return d.id}function x(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=r.encode(b+d+"\n");a.completedHintChunks.push(d);pb(a)}function qb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function rb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:qb}} -function T(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[z,b,d,e];J=0;K=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:rb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===va?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[z,b,d,e];switch(b.$$typeof){case A:var g= -b._init;b=g(b._payload);return T(a,b,d,c,e,f);case ya:return a=b.render,J=0,K=f,a(e,void 0);case Ba:return T(a,b.type,d,c,e,f);case wa:return Ka(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:kb}]}}throw Error("Unsupported Server Component type: "+$a(b));}function mb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return sb(a)},0))} -function jb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return mb(a,e)},thenableState:null};c.add(e);return e}function U(a){return"$"+a.toString(16)}function tb(a,b,d){a=O(d);b=b.toString(16)+":"+a+"\n";return r.encode(b)} -function ub(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):U(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var l=h[k];if(l)g=l.name;else{var p=k.lastIndexOf("#");-1!==p&&(g=k.slice(p+1),l=h[k.slice(0,p)]);if(!l)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var F=!0===c.$$async?[l.id,l.chunks,g,1]:[l.id,l.chunks, -g];a.pendingChunks++;var H=a.nextChunkId++,C=O(F),Nb=H.toString(16)+":I"+C+"\n",Ob=r.encode(Nb);a.completedImportChunks.push(Ob);f.set(e,H);return b[0]===z&&"1"===d?"$L"+H.toString(16):U(H)}catch(Pb){return a.pendingChunks++,b=a.nextChunkId++,d=Q(a,Pb),R(a,b,d),U(b)}}function vb(a,b){a.pendingChunks++;var d=a.nextChunkId++;wb(a,d,b);return d} -function V(a,b,d){a.pendingChunks+=2;var c=a.nextChunkId++,e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);d=512<d.byteLength?e.slice():e;e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";b=r.encode(b);a.completedRegularChunks.push(b,d);return U(c)} -function hb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=T(a,e.type,e.key,e.ref,e.props,null);break;case A:var f=c._init;c=f(c._payload)}}catch(g){d=g===La?Oa():g;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=jb(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Pa(),"$L"+a.id.toString(16);if(d.$$typeof===Da)return c=d,a.pendingChunks++,d=a.nextChunkId++, -nb(a,c.message),ob(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=Q(a,d);R(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return ub(a,b,d,c);if("function"===typeof c.then)return"$@"+lb(a,c).toString(16);if(c.$$typeof===wa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=tb(a,d,"$P"+c),a.completedRegularChunks.push(c)),U(d);if(c===kb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); -c=a.parentValue;a.context._currentValue=c===B?a.context._defaultValue:c;D=a.parent;return}return c instanceof Map?"$Q"+vb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+vb(a,Array.from(c)).toString(16):c instanceof ArrayBuffer?V(a,"A",new Uint8Array(c)):c instanceof Int8Array?V(a,"C",c):c instanceof Uint8Array?V(a,"c",c):c instanceof Uint8ClampedArray?V(a,"U",c):c instanceof Int16Array?V(a,"S",c):c instanceof Uint16Array?V(a,"s",c):c instanceof Int32Array?V(a,"L",c):c instanceof Uint32Array? -V(a,"l",c):c instanceof Float32Array?V(a,"F",c):c instanceof Float64Array?V(a,"D",c):c instanceof BigInt64Array?V(a,"N",c):c instanceof BigUint64Array?V(a,"m",c):c instanceof DataView?V(a,"V",c):!Ya(c)&&(null===c||"object"!==typeof c?a=null:(a=Ea&&c[Ea]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,c=r.encode(c),b=c.byteLength,b=d.toString(16)+ -":T"+b.toString(16)+",",b=r.encode(b),a.completedRegularChunks.push(b,c),U(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return ub(a,b,d,c);if(c.$$typeof===u)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound, -b={id:c.$$id,bound:b?Promise.resolve(b):null},a=vb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return U(f); -f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=tb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return U(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function nb(a,b){a=a.onPostpone;a(b)}function Q(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function xb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} -function ob(a,b){b=b.toString(16)+":P\n";b=r.encode(b);a.completedErrorChunks.push(b)}function R(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";b=r.encode(b);a.completedErrorChunks.push(b)}function wb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";b=r.encode(b);a.completedRegularChunks.push(b)} -function sb(a){var b=cb.current;cb.current=Ua;var d=P;I=P=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];a:{var g=a;if(0===f.status){Ja(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===z){var k=h,l=f.thenableState;f.model=h;h=T(g,k.type,k.key,k.ref,k.props,l);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===z;)k=h,f.model=h,h=T(g,k.type,k.key,k.ref,k.props,null)}wb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(C){var p= -C===La?Oa():C;if("object"===typeof p&&null!==p)if("function"===typeof p.then){var F=f.ping;p.then(F,F);f.thenableState=Pa();break a}else if(p.$$typeof===Da){g.abortableTasks.delete(f);f.status=4;nb(g,p.message);ob(g,f.id);break a}g.abortableTasks.delete(f);f.status=4;var H=Q(g,p);R(g,f.id,H)}}}}null!==a.destination&&S(a,a.destination)}catch(C){Q(a,C),xb(a,C)}finally{cb.current=b,I=null,P=d}} -function S(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,q(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)q(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,q(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,q(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&& -b.close()}function yb(a){a.flushScheduled=null!==a.destination;ta?setTimeout(function(){return ua.run(a,sb,a)},0):setTimeout(function(){return sb(a)},0)}function pb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return S(a,b)},0)}} -function zb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=Q(a,c);a.pendingChunks++;var f=a.nextChunkId++;R(a,f,e,c);d.forEach(function(g){g.status=3;var h=U(f);g=tb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&S(a,a.destination)}catch(g){Q(a,g),xb(a,g)}} -function ib(a){if(a){var b=D;Ja(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!bb[e]){var f={$$typeof:xa,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:wa,_context:f};bb[e]=f}Ka(bb[e],c)}a=D;Ja(b);return a}return null} -function Ab(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Bb=new Map; -function Cb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Db(){} -function Eb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=Bb.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);d.push(f);var g=Bb.set.bind(Bb,e,null);f.then(g,Db);Bb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Cb(a[0]):Promise.all(d).then(function(){return Cb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Fb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Fb.prototype=Object.create(Promise.prototype); -Fb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Gb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Hb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Ib(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Hb(d,b)}}function Jb(a,b,d,c,e,f){var g=Ab(a._bundlerConfig,b);a=Eb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Kb(c,e,f),Lb(c));return null}var X=null,Y=null; -function Gb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Mb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Ib(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Fb("resolved_model",c,null,a):new Fb("pending",null,null,a),d.set(b,c));return c}function Kb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Hb(e,c.value))}}function Lb(a){return function(b){return Ib(a,b)}} -function Qb(a,b){a=Z(a,b);"resolved_model"===a.status&&Gb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Rb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Qb(a,c),Jb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Qb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Qb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Gb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Kb(c,b,d),Lb(c)),null;default:throw a.reason;}}return c} -function Sb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Rb(e,this,f,g):g}};return e}function Tb(a){Mb(a,Error("Connection closed."))}function Ub(a,b,d){var c=Ab(a,b);a=Eb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} -function Vb(a,b,d){a=Sb(b,d,a);Tb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ja)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Vb(a,b,e),c=Ub(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Ub(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Sb(b,"",a);Tb(a);return Z(a,0)}; -exports.registerClientReference=function(a,b,d){return v(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; -exports.renderToReadableStream=function(a,b,d){var c=gb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)zb(c,e.reason);else{var f=function(){zb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){yb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{S(c, -g)}catch(h){Q(c,h),xb(c,h)}}},cancel:function(){}},{highWaterMark:0})}; +case "__esModule":var d=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=u({},a.$$id,!0),e=new Proxy(c,ja);a.status="fulfilled";a.value=e;return a.then=u(function(f){return Promise.resolve(f(e))}, +a.$$id+"#then",!1)}c=a[b];c||(c=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module."); +}},ra={prefetchDNS:ka,preconnect:la,preload:ma,preloadModule:na,preinitStyle:oa,preinitScript:pa,preinitModuleScript:qa};function ka(a){if("string"===typeof a&&a){var b=v();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),w(b,"D",a))}}}function la(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?w(d,"C",[a,b]):w(d,"C",a))}}} +function ma(a,b,d){if("string"===typeof a){var c=v();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=x(d))?w(c,"L",[a,b,d]):w(c,"L",[a,b]))}}}function na(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"m",[a,b]):w(d,"m",a)}}} +function oa(a,b,d){if("string"===typeof a){var c=v();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=x(d))?w(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?w(c,"S",[a,b]):w(c,"S",a)}}}function pa(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"X",[a,b]):w(d,"X",a)}}}function qa(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"M",[a,b]):w(d,"M",a)}}} +function x(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} +var ta=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,ua="function"===typeof AsyncLocalStorage,va=ua?new AsyncLocalStorage:null,y=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"), +Ea=Symbol.for("react.postpone"),Fa=Symbol.iterator,C=null;function D(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");D(a,d);b.context._currentValue=b.value}}}function Ga(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ga(a)} +function Ha(a){var b=a.parent;null!==b&&Ha(b);a.context._currentValue=a.value}function Ia(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?D(a,b):Ia(a,b)} +function Ja(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?D(a,d):Ja(a,d);b.context._currentValue=b.value}function Ka(a){var b=C;b!==a&&(null===b?Ha(a):null===a?Ga(b):b.depth===a.depth?D(b,a):b.depth>a.depth?Ia(b,a):Ja(b,a),C=a)}function La(a,b){var d=a._currentValue;a._currentValue=b;var c=C;return C=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ma=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Na(){}function Oa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Na,Na),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Pa=b;throw Ma;}}var Pa=null; +function Qa(){if(null===Pa)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Pa;Pa=null;return a}var E=null,Ra=0,F=null;function Sa(){var a=F;F=null;return a}function Ta(a){return a._currentValue} +var Xa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:Ta,useContext:Ta,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:Ua,useSyncExternalStore:H,useCacheRefresh:function(){return Va},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Wa}; +function H(){throw Error("This Hook is not supported in Server Components.");}function Va(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ua(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Wa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ra;Ra+=1;null===F&&(F=[]);return Oa(F,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ya(){return(new AbortController).signal}function Za(){var a=v();return a?a.cache:new Map} +var $a={getCacheSignal:function(){var a=Za(),b=a.get(Ya);void 0===b&&(b=Ya(),a.set(Ya,b));return b},getCacheForType:function(a){var b=Za(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},ab=Array.isArray,bb=Object.getPrototypeOf;function cb(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function db(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(ab(a))return"[...]";a=cb(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function eb(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return eb(a.render);case Ca:return eb(a.type);case z:var b=a._payload;a=a._init;try{return eb(a(b))}catch(d){}}return""} +function I(a,b){var d=cb(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(ab(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?I(g):db(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+eb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?I(h): +db(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var fb=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,gb=fb.ContextRegistry,J=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +if(!J)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var hb=Object.prototype,K=JSON.stringify,ib=J.TaintRegistryObjects,L=J.TaintRegistryValues,jb=J.TaintRegistryByteLengths,kb=J.TaintRegistryPendingRequests,lb=J.ReactCurrentCache,mb=fb.ReactCurrentDispatcher;function M(a){throw Error(a);} +function nb(a){a=a.taintCleanupQueue;kb.delete(a);for(var b=0;b<a.length;b++){var d=a[b],c=L.get(d);void 0!==c&&(1===c.count?L.delete(d):c.count--)}a.length=0}function ob(a){console.error(a)}function pb(){} +function qb(a,b,d,c,e,f){if(null!==lb.current&&lb.current!==$a)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=ra;lb.current=$a;var g=new Set,k=[],h=[];kb.add(h);var l=new Set,A={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:l,abortableTasks:g,pingedTasks:k,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:h,onError:void 0===d?ob:d,onPostpone:void 0===f?pb:f,toJSON:function(sa,G){return rb(A,this,sa,G)}};A.pendingChunks++;b=sb(c);a=tb(A,a,b,g);k.push(a);return A}var N=null;function v(){if(N)return N;if(ua){var a=va.getStore();if(a)return a}return null}var ub={}; +function vb(a,b){a.pendingChunks++;var d=tb(a,null,C,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,wb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ea?(xb(a,c.message),yb(a,d.id)):(c=O(a,c),P(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= +e;wb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=O(a,e);P(a,d.id,e);null!==a.destination&&Q(a,a.destination)});return d.id}function w(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);zb(a)}function Ab(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function Bb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:z,_payload:a,_init:Ab}} +function R(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[y,b,d,e];Ra=0;F=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Bb(e):e}if("string"===typeof b)return[y,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[y,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[y,b,d,e];switch(b.$$typeof){case z:var g= +b._init;b=g(b._payload);return R(a,b,d,c,e,f);case za:return a=b.render,Ra=0,F=f,a(e,void 0);case Ca:return R(a,b.type,d,c,e,f);case xa:return La(b._context,e.value),[y,b,d,{value:e.value,children:e.children,__pop:ub}]}}throw Error("Unsupported Server Component type: "+db(b));}function wb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return Cb(a)},0))} +function tb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return wb(a,e)},thenableState:null};c.add(e);return e}function S(a){return"$"+a.toString(16)}function Db(a,b,d){a=K(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} +function Eb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===y&&"1"===d?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var l=k[h];if(l)g=l.name;else{var A=h.lastIndexOf("#");-1!==A&&(g=h.slice(A+1),l=k[h.slice(0,A)]);if(!l)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var sa=!0===c.$$async?[l.id,l.chunks,g,1]:[l.id,l.chunks, +g];a.pendingChunks++;var G=a.nextChunkId++,Wb=K(sa),Xb=G.toString(16)+":I"+Wb+"\n",Yb=q.encode(Xb);a.completedImportChunks.push(Yb);f.set(e,G);return b[0]===y&&"1"===d?"$L"+G.toString(16):S(G)}catch(Zb){return a.pendingChunks++,b=a.nextChunkId++,d=O(a,Zb),P(a,b,d),S(b)}}function T(a,b){a.pendingChunks++;b=tb(a,b,C,a.abortableTasks);Fb(a,b);return b.id} +function U(a,b,d){if(jb.has(d.byteLength)){var c=L.get(String.fromCharCode.apply(String,new Uint8Array(d.buffer,d.byteOffset,d.byteLength)));void 0!==c&&M(c.message)}a.pendingChunks+=2;c=a.nextChunkId++;var e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);d=512<d.byteLength?e.slice():e;e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";b=q.encode(b);a.completedRegularChunks.push(b,d);return S(c)}var V=!1; +function rb(a,b,d,c){switch(c){case y:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===y||c.$$typeof===z);)try{switch(c.$$typeof){case y:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=T(a,c);return S(g)}if(V===c)V=null;else return S(f)}else e.set(c,-1);var k=c;c=R(a,k.type,k.key,k.ref,k.props,null);break;case z:var h=c._init;c=h(c._payload)}}catch(l){d=l===Ma?Qa():l;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=tb(a,c,C,a.abortableTasks), +c=a.ping,d.then(c,c),a.thenableState=Sa(),"$L"+a.id.toString(16);if(d.$$typeof===Ea)return c=d,a.pendingChunks++,d=a.nextChunkId++,xb(a,c.message),yb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){e=ib.get(c);void 0!==e&&M(e);if(c.$$typeof===r)return Eb(a,b,d,c);b=a.writtenObjects;e=b.get(c);if("function"===typeof c.then){if(void 0!==e)if(V===c)V=null;else return"$@"+e.toString(16);a=vb(a,c); +b.set(c,a);return"$@"+a.toString(16)}if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=Db(a,d,"$P"+c),a.completedRegularChunks.push(c)),S(d);if(c===ub){a=C;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===B?a.context._defaultValue:c;C=a.parent;return}if(void 0!==e){if(-1===e)return a=T(a,c),S(a);if(V===c)V=null; +else return S(e)}else b.set(c,-1);if(ab(c))return c;if(c instanceof Map){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d][0],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$Q"+T(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$W"+T(a,c).toString(16)}if(c instanceof ArrayBuffer)return U(a,"A",new Uint8Array(c));if(c instanceof Int8Array)return U(a, +"C",c);if(c instanceof Uint8Array)return U(a,"c",c);if(c instanceof Uint8ClampedArray)return U(a,"U",c);if(c instanceof Int16Array)return U(a,"S",c);if(c instanceof Uint16Array)return U(a,"s",c);if(c instanceof Int32Array)return U(a,"L",c);if(c instanceof Uint32Array)return U(a,"l",c);if(c instanceof Float32Array)return U(a,"F",c);if(c instanceof Float64Array)return U(a,"D",c);if(c instanceof BigInt64Array)return U(a,"N",c);if(c instanceof BigUint64Array)return U(a,"m",c);if(c instanceof DataView)return U(a, +"V",c);null===c||"object"!==typeof c?a=null:(a=Fa&&c[Fa]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=bb(c);if(a!==hb&&(null===a||null!==bb(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){e=L.get(c);void 0!==e&&M(e.message);if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+= +2,d=a.nextChunkId++,c=q.encode(c),b=c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",b=q.encode(b),a.completedRegularChunks.push(b,c),S(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){e=ib.get(c);void 0!==e&&M(e);if(c.$$typeof===r)return Eb(a,b,d,c);if(c.$$typeof=== +t)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=T(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+I(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+ +I(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return S(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+I(b,d));a.pendingChunks++;d=a.nextChunkId++;b=Db(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return S(d)}if("bigint"===typeof c)return a=L.get(c),void 0!==a&&M(a.message),"$n"+c.toString(10); +throw Error("Type "+typeof c+" is not supported in Client Component props."+I(b,d));}function xb(a,b){a=a.onPostpone;a(b)}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""} +function Gb(a,b){nb(a);null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}function yb(a,b){b=b.toString(16)+":P\n";b=q.encode(b);a.completedErrorChunks.push(b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)} +function Fb(a,b){if(0===b.status){Ka(b.context);try{var d=b.model;if("object"===typeof d&&null!==d&&d.$$typeof===y){a.writtenObjects.set(d,b.id);var c=d,e=b.thenableState;b.model=d;d=R(a,c.type,c.key,c.ref,c.props,e);for(b.thenableState=null;"object"===typeof d&&null!==d&&d.$$typeof===y;)a.writtenObjects.set(d,b.id),c=d,b.model=d,d=R(a,c.type,c.key,c.ref,c.props,null)}"object"===typeof d&&null!==d&&a.writtenObjects.set(d,b.id);var f=b.id;V=d;var g=K(d,a.toJSON),k=f.toString(16)+":"+g+"\n",h=q.encode(k); +a.completedRegularChunks.push(h);a.abortableTasks.delete(b);b.status=1}catch(l){f=l===Ma?Qa():l;if("object"===typeof f&&null!==f){if("function"===typeof f.then){a=b.ping;f.then(a,a);b.thenableState=Sa();return}if(f.$$typeof===Ea){a.abortableTasks.delete(b);b.status=4;xb(a,f.message);yb(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;f=O(a,f);P(a,b.id,f)}}} +function Cb(a){var b=mb.current;mb.current=Xa;var d=N;E=N=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Fb(a,c[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Gb(a,f)}finally{mb.current=b,E=null,N=d}} +function Q(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&& +(nb(a),b.close())}function Hb(a){a.flushScheduled=null!==a.destination;ua?setTimeout(function(){return va.run(a,Cb,a)},0):setTimeout(function(){return Cb(a)},0)}function zb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return Q(a,b)},0)}} +function Ib(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=O(a,c);a.pendingChunks++;var f=a.nextChunkId++;P(a,f,e,c);d.forEach(function(g){g.status=3;var k=S(f);g=Db(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Gb(a,g)}} +function sb(a){if(a){var b=C;Ka(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!gb[e]){var f={$$typeof:ya,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};gb[e]=f}La(gb[e],c)}a=C;Ka(b);return a}return null} +function Jb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Kb=new Map; +function Lb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Mb(){} +function Nb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=Kb.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);d.push(f);var g=Kb.set.bind(Kb,e,null);f.then(g,Mb);Kb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Lb(a[0]):Promise.all(d).then(function(){return Lb(a[0])}):0<d.length?Promise.all(d):null} +function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Ob(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Ob.prototype=Object.create(Promise.prototype); +Ob.prototype.then=function(a,b){switch(this.status){case "resolved_model":Pb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Qb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Rb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Qb(d,b)}}function Sb(a,b,d,c,e,f){var g=Jb(a._bundlerConfig,b);a=Nb(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Tb(c,e,f),Ub(c));return null}var X=null,Y=null; +function Pb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Vb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Rb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Ob("resolved_model",c,null,a):new Ob("pending",null,null,a),d.set(b,c));return c}function Tb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Qb(e,c.value))}}function Ub(a){return function(b){return Rb(a,b)}} +function $b(a,b){a=Z(a,b);"resolved_model"===a.status&&Pb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function ac(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=$b(a,c),Sb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=$b(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=$b(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Pb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Tb(c,b,d),Ub(c)),null;default:throw a.reason;}}return c} +function bc(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?ac(e,this,f,g):g}};return e}function cc(a){Vb(a,Error("Connection closed."))}function dc(a,b,d){var c=Jb(a,b);a=Nb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} +function ec(a,b,d){a=bc(b,d,a);cc(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ja)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=ec(a,b,e),c=dc(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=dc(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=bc(b,"",a);cc(a);return Z(a,0)}; +exports.registerClientReference=function(a,b,d){return u(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; +exports.renderToReadableStream=function(a,b,d){var c=qb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)Ib(c,e.reason);else{var f=function(){Ib(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){Hb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{Q(c, +g)}catch(k){O(c,k),Gb(c,k)}}},cancel:function(){}},{highWaterMark:0})}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js index 7384bc3cbbf65..92858e78133d2 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js @@ -1236,6 +1236,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1254,7 +1256,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1270,7 +1272,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1597,6 +1599,20 @@ function getOrCreateServerContext(globalName) { return ContextRegistry[globalName]; } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); +} + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1604,8 +1620,37 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var TaintRegistryObjects = ReactSharedServerInternals.TaintRegistryObjects, + TaintRegistryValues = ReactSharedServerInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactSharedServerInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactSharedServerInternals.TaintRegistryPendingRequests, + ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; + +function throwTaintViolation(message) { + // eslint-disable-next-line react-internal/prod-error-codes + throw new Error(message); +} + +function cleanupTaintQueue(request) { + var cleanupQueue = request.taintCleanupQueue; + TaintRegistryPendingRequests.delete(cleanupQueue); + + for (var i = 0; i < cleanupQueue.length; i++) { + var entryValue = cleanupQueue[i]; + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } + } + + cleanupQueue.length = 0; +} function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1626,6 +1671,12 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + + { + TaintRegistryPendingRequests.add(cleanupQueue); + } + var hints = createHints(); var request = { status: OPEN, @@ -1647,8 +1698,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1906,28 +1959,31 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState case REACT_PROVIDER_TYPE: { - pushProvider(type._context, props.value); - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } + pushProvider(type._context, props.value); - return true; - }); + { + var extraKeys = Object.keys(props).filter(function (value) { + if (value === 'children' || value === 'value') { + return false; + } - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + return true; + }); + + if (extraKeys.length !== 0) { + error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + } } - } - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; + return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. + { + value: props.value, + children: props.children, + __pop: POP + }]; + } // Fallthrough + } } } @@ -2075,10 +2131,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2111,16 +2166,60 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } function serializeTypedArray(request, tag, typedArray) { + { + if (TaintRegistryByteLengths.has(typedArray.byteLength)) { + // If we have had any tainted values of this length, we check + // to see if these bytes matches any entries in the registry. + var tainted = TaintRegistryValues.get(binaryToComparableString(typedArray)); + + if (tainted !== undefined) { + throwTaintViolation(tainted.message); + } + } + } + request.pendingChunks += 2; var bufferId = request.nextChunkId++; // TODO: Convert to little endian if that's not the server default. @@ -2144,6 +2243,7 @@ function escapeStringValue(value) { var insideContextProps = null; var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2194,7 +2294,30 @@ function resolveModelToJSON(request, parent, key, value) { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2255,35 +2378,94 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + { + var tainted = TaintRegistryObjects.get(value); + + if (tainted !== undefined) { + throwTaintViolation(tainted); + } + } + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); + } + + { + if (value.$$typeof === REACT_PROVIDER_TYPE) { + var providerKey = value._context._globalName; + var writtenProviders = request.writtenProviders; + var providerId = writtenProviders.get(key); + + if (providerId === undefined) { + request.pendingChunks++; + providerId = request.nextChunkId++; + writtenProviders.set(providerKey, providerId); + emitProviderChunk(request, providerId, providerKey); + } + + return serializeByValueID(providerId); + } else if (value === POP) { + popProvider(); + + { + insideContextProps = null; + isInsideContextValue = false; + } - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); + return undefined; } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2360,27 +2542,29 @@ function resolveModelToJSON(request, parent, key, value) { } } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2390,7 +2574,15 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + { + var _tainted = TaintRegistryValues.get(value); + + if (_tainted !== undefined) { + throwTaintViolation(_tainted.message); + } + } // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2424,6 +2616,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + { + var _tainted2 = TaintRegistryObjects.get(value); + + if (_tainted2 !== undefined) { + throwTaintViolation(_tainted2); + } + } + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2441,10 +2641,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2463,6 +2664,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + { + var _tainted3 = TaintRegistryValues.get(value); + + if (_tainted3 !== undefined) { + throwTaintViolation(_tainted3.message); + } + } + return serializeBigInt(value); } @@ -2487,7 +2696,11 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + { + cleanupTaintQueue(request); + } // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2582,7 +2795,11 @@ function emitProviderChunk(request, id, contextName) { } function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2601,7 +2818,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2618,11 +2836,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2785,6 +3009,10 @@ function flushCompletedChunks(request, destination) { if (request.pendingChunks === 0) { // We're done. + { + cleanupTaintQueue(request); + } + close$1(destination); } } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js index 10d0e65f75a64..5aa2b121cc3b0 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js @@ -7,74 +7,79 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,r=!0;function t(a,b){a=a.write(b);r=r&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,b)):(d=l.length-m,d<b.byteLength&& -(0===d?t(a,l):(l.set(b.subarray(0,d),m),m+=d,t(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)));return r}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; -function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);a.$$typeof=w;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,p=!0;function q(a,b){a=a.write(b);p=p&&a} +function r(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,b)):(d=l.length-m,d<b.byteLength&& +(0===d?q(a,l):(l.set(b.subarray(0,d),m),m+=d,q(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)));return p}var ea=new aa.TextEncoder,t=Symbol.for("react.client.reference"),v=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; +function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===v){var b=ha.call(arguments,1);a.$$typeof=v;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ja=Promise.prototype,ka={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ (String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; case "__esModule":var d=a.$$id;a.default=x(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=x({},a.$$id,!0),e=new Proxy(c,la);a.status="fulfilled";a.value=e;return a.then=x(function(f){return Promise.resolve(f(e))}, a.$$id+"#then",!1)}c=a[b];c||(c=x(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ka));return c},getPrototypeOf:function(){return ja},set:function(){throw Error("Cannot assign to a client module from a server module."); }},ta={prefetchDNS:ma,preconnect:na,preload:oa,preloadModule:pa,preinitStyle:qa,preinitScript:ra,preinitModuleScript:sa};function ma(a){if("string"===typeof a&&a){var b=y();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),z(b,"D",a))}}}function na(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?z(d,"C",[a,b]):z(d,"C",a))}}} -function oa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function pa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} +function oa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function pa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} function qa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?z(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?z(c,"S",[a,b]):z(c,"S",a)}}}function ra(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"X",[a,b]):z(d,"X",a)}}}function sa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"M",[a,b]):z(d,"M",a)}}} function A(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var ua=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,va=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.for("react.postpone"), -Fa=Symbol.iterator,F=null;function G(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");G(a,d);b.context._currentValue=b.value}}}function Ga(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ga(a)} -function Ha(a){var b=a.parent;null!==b&&Ha(b);a.context._currentValue=a.value}function Ia(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?G(a,b):Ia(a,b)} -function Ja(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?G(a,d):Ja(a,d);b.context._currentValue=b.value}function Ka(a){var b=F;b!==a&&(null===b?Ha(a):null===a?Ga(b):b.depth===a.depth?G(b,a):b.depth>a.depth?Ia(b,a):Ja(b,a),F=a)}function La(a,b){var d=a._currentValue;a._currentValue=b;var c=F;return F=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ma=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Na(){}function Oa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Na,Na),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}I=b;throw Ma;}}var I=null; -function Pa(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}var J=null,K=0,L=null;function Qa(){var a=L;L=null;return a}function Ra(a){return a._currentValue} -var Va={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:M,useTransition:M,readContext:Ra,useContext:Ra,useReducer:M,useRef:M,useState:M,useInsertionEffect:M,useLayoutEffect:M,useImperativeHandle:M,useEffect:M,useId:Sa,useSyncExternalStore:M,useCacheRefresh:function(){return Ta},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Ua}; -function M(){throw Error("This Hook is not supported in Server Components.");}function Ta(){throw Error("Refreshing the cache is not supported in Server Components.");}function Sa(){if(null===J)throw Error("useId can only be used while React is rendering");var a=J.identifierCount++;return":"+J.identifierPrefix+"S"+a.toString(32)+":"} -function Ua(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===L&&(L=[]);return Oa(L,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Wa(){return(new AbortController).signal}function Xa(){var a=y();return a?a.cache:new Map} -var Ya={getCacheSignal:function(){var a=Xa(),b=a.get(Wa);void 0===b&&(b=Wa(),a.set(Wa,b));return b},getCacheForType:function(a){var b=Xa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Za=Array.isArray;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Za(a))return"[...]";a=$a(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function bb(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return bb(a.render);case Ca:return bb(a.type);case C:var b=a._payload;a=a._init;try{return bb(a(b))}catch(d){}}return""} -function N(a,b){var d=$a(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Za(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):ab(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+bb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -ab(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var cb=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,db=cb.ContextRegistry,O=JSON.stringify,eb=cb.ReactCurrentDispatcher,fb=cb.ReactCurrentCache;function gb(a){console.error(a)}function hb(){} -function ib(a,b,d,c,e,f){if(null!==fb.current&&fb.current!==Ya)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;fb.current=Ya;var g=new Set,h=[],k=new Set,n={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?gb:d,onPostpone:void 0===f?hb:f,toJSON:function(p,q){return jb(n,this,p,q)}};n.pendingChunks++;b=kb(c);a=lb(n,a,b,g);h.push(a);return n}var P=null;function y(){if(P)return P;var a=va.getStore();return a?a:null}var mb={}; -function nb(a,b){a.pendingChunks++;var d=lb(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,ob(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ea?(pb(a,c.message),qb(a,d.id)):(c=Q(a,c),R(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= -e;ob(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=Q(a,e);R(a,d.id,e);null!==a.destination&&S(a,a.destination)});return d.id}function z(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");rb(a)}function sb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function tb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:sb}} -function T(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[B,b,d,e];K=0;L=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:tb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[B,b,d,e];switch(b.$$typeof){case C:var g= -b._init;b=g(b._payload);return T(a,b,d,c,e,f);case za:return a=b.render,K=0,L=f,a(e,void 0);case Ca:return T(a,b.type,d,c,e,f);case xa:return La(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:mb}]}}throw Error("Unsupported Server Component type: "+ab(b));}function ob(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return ub(a)}))} -function lb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return ob(a,e)},thenableState:null};c.add(e);return e}function U(a){return"$"+a.toString(16)}function vb(a,b,d){a=O(d);return b.toString(16)+":"+a+"\n"} -function wb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):U(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var p=k.lastIndexOf("#");-1!==p&&(g=k.slice(p+1),n=h[k.slice(0,p)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var q=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, -g];a.pendingChunks++;var H=a.nextChunkId++,D=O(q),Rb=H.toString(16)+":I"+D+"\n";a.completedImportChunks.push(Rb);f.set(e,H);return b[0]===B&&"1"===d?"$L"+H.toString(16):U(H)}catch(Sb){return a.pendingChunks++,b=a.nextChunkId++,d=Q(a,Sb),R(a,b,d),U(b)}}function xb(a,b){a.pendingChunks++;var d=a.nextChunkId++;yb(a,d,b);return d} -function V(a,b,d){a.pendingChunks+=2;var c=a.nextChunkId++;d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);var e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,d);return U(c)} -function jb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=c;c=T(a,e.type,e.key,e.ref,e.props,null);break;case C:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ma?Pa():g;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=lb(a,c,F,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Qa(),"$L"+a.id.toString(16);if(d.$$typeof===Ea)return c=d,a.pendingChunks++,d=a.nextChunkId++, -pb(a,c.message),qb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=Q(a,d);R(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===v)return wb(a,b,d,c);if("function"===typeof c.then)return"$@"+nb(a,c).toString(16);if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=vb(a,d,"$P"+c),a.completedRegularChunks.push(c)),U(d);if(c===mb){a=F;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); -c=a.parentValue;a.context._currentValue=c===E?a.context._defaultValue:c;F=a.parent;return}return c instanceof Map?"$Q"+xb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+xb(a,Array.from(c)).toString(16):c instanceof ArrayBuffer?V(a,"A",new Uint8Array(c)):c instanceof Int8Array?V(a,"C",c):c instanceof Uint8Array?V(a,"c",c):c instanceof Uint8ClampedArray?V(a,"U",c):c instanceof Int16Array?V(a,"S",c):c instanceof Uint16Array?V(a,"s",c):c instanceof Int32Array?V(a,"L",c):c instanceof Uint32Array? -V(a,"l",c):c instanceof Float32Array?V(a,"F",c):c instanceof Float64Array?V(a,"D",c):c instanceof BigInt64Array?V(a,"N",c):c instanceof BigUint64Array?V(a,"m",c):c instanceof DataView?V(a,"V",c):!Za(c)&&(null===c||"object"!==typeof c?a=null:(a=Fa&&c[Fa]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c, -"utf8"):c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),U(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===v)return wb(a,b,d,c);if(c.$$typeof===w)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16): -(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=xb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!== -f)return U(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=vb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return U(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function pb(a,b){a=a.onPostpone;a(b)}function Q(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function zb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function qb(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function R(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";a.completedErrorChunks.push(b)}function yb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";a.completedRegularChunks.push(b)} -function ub(a){var b=eb.current;eb.current=Va;var d=P;J=P=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];a:{var g=a;if(0===f.status){Ka(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===B){var k=h,n=f.thenableState;f.model=h;h=T(g,k.type,k.key,k.ref,k.props,n);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===B;)k=h,f.model=h,h=T(g,k.type,k.key,k.ref,k.props,null)}yb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(D){var p= -D===Ma?Pa():D;if("object"===typeof p&&null!==p)if("function"===typeof p.then){var q=f.ping;p.then(q,q);f.thenableState=Qa();break a}else if(p.$$typeof===Ea){g.abortableTasks.delete(f);f.status=4;pb(g,p.message);qb(g,f.id);break a}g.abortableTasks.delete(f);f.status=4;var H=Q(g,p);R(g,f.id,H)}}}}null!==a.destination&&S(a,a.destination)}catch(D){Q(a,D),zb(a,D)}finally{eb.current=b,J=null,P=d}} -function S(a,b){l=new Uint8Array(2048);m=0;r=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!u(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!u(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!u(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!u(b,g[c])){a.destination= -null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,r=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function Ab(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return va.run(a,ub,a)})}function rb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return S(a,b)})}} -function Bb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{S(a,b)}catch(d){Q(a,d),zb(a,d)}}} -function Cb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=Q(a,c);a.pendingChunks++;var f=a.nextChunkId++;R(a,f,e,c);d.forEach(function(g){g.status=3;var h=U(f);g=vb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&S(a,a.destination)}catch(g){Q(a,g),zb(a,g)}} -function kb(a){if(a){var b=F;Ka(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!db[e]){var f={$$typeof:ya,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};db[e]=f}La(db[e],c)}a=F;Ka(b);return a}return null} -function Db(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Eb=new Map; -function Fb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Gb(){} -function Hb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=Eb.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);d.push(f);var g=Eb.set.bind(Eb,e,null);f.then(g,Gb);Eb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Fb(a[0]):Promise.all(d).then(function(){return Fb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Ib(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Ib.prototype=Object.create(Promise.prototype); -Ib.prototype.then=function(a,b){switch(this.status){case "resolved_model":Jb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Kb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Lb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Kb(d,b)}}function Mb(a,b,d,c,e,f){var g=Db(a._bundlerConfig,b);a=Hb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Nb(c,e,f),Ob(c));return null}var X=null,Y=null; -function Jb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Pb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Lb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Ib("resolved_model",c,null,a):new Ib("pending",null,null,a),d.set(b,c));return c}function Nb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Kb(e,c.value))}}function Ob(a){return function(b){return Lb(a,b)}} -function Qb(a,b){a=Z(a,b);"resolved_model"===a.status&&Jb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Tb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Qb(a,c),Mb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Qb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Qb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Jb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Nb(c,b,d),Ob(c)),null;default:throw a.reason;}}return c} -function Ub(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Tb(e,this,f,g):g}};return e} -function Vb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Jb(b),b.status){case "fulfilled":Kb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Kb(a,b.reason)}}function Wb(a){Pb(a,Error("Connection closed."))} -function Xb(a,b,d){var c=Db(a,b);a=Hb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Yb(a,b,d){a=Ub(b,d,a);Wb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Zb(a,b){return function(){return Bb(b,a)}}exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,la)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Yb(a,b,e),c=Xb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Xb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Ub(b,"",a);Wb(a);return Z(a,0)}; -exports.decodeReplyFromBusboy=function(a,b){var d=Ub(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Vb(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var p=[];g.on("data",function(q){p.push(q)});g.on("end",function(){var q= -new Blob(p,{type:n});d._formData.append(f,q,k);c--;if(0===c){for(q=0;q<e.length;q+=2)Vb(d,e[q],e[q+1]);e.length=0}})});a.on("finish",function(){Wb(d)});a.on("error",function(f){Pb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; -exports.renderToPipeableStream=function(a,b,d){var c=ib(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;Ab(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Bb(c,f);f.on("drain",Zb(f,c));return f},abort:function(f){Cb(c,f)}}}; +var ua=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,va=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Da=Symbol.for("react.default_value"),Ea=Symbol.for("react.memo_cache_sentinel"),Fa=Symbol.for("react.postpone"), +Ga=Symbol.iterator,D=null;function Ha(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");Ha(a,d);b.context._currentValue=b.value}}}function Ia(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ia(a)} +function Ja(a){var b=a.parent;null!==b&&Ja(b);a.context._currentValue=a.value}function Ka(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?Ha(a,b):Ka(a,b)} +function La(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?Ha(a,d):La(a,d);b.context._currentValue=b.value}function Ma(a){var b=D;b!==a&&(null===b?Ja(a):null===a?Ia(b):b.depth===a.depth?Ha(b,a):b.depth>a.depth?Ka(b,a):La(b,a),D=a)}function Na(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Oa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Pa(){}function Qa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Pa,Pa),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ra=b;throw Oa;}}var Ra=null; +function Sa(){if(null===Ra)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ra;Ra=null;return a}var E=null,Ta=0,F=null;function Ua(){var a=F;F=null;return a}function Va(a){return a._currentValue} +var Za={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:G,useTransition:G,readContext:Va,useContext:Va,useReducer:G,useRef:G,useState:G,useInsertionEffect:G,useLayoutEffect:G,useImperativeHandle:G,useEffect:G,useId:Wa,useSyncExternalStore:G,useCacheRefresh:function(){return Xa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Ya}; +function G(){throw Error("This Hook is not supported in Server Components.");}function Xa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Wa(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Ya(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ta;Ta+=1;null===F&&(F=[]);return Qa(F,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function $a(){return(new AbortController).signal}function ab(){var a=y();return a?a.cache:new Map} +var bb={getCacheSignal:function(){var a=ab(),b=a.get($a);void 0===b&&(b=$a(),a.set($a,b));return b},getCacheForType:function(a){var b=ab(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},cb=Array.isArray,db=Object.getPrototypeOf;function eb(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function fb(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(cb(a))return"[...]";a=eb(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function gb(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return gb(a.render);case Ca:return gb(a.type);case C:var b=a._payload;a=a._init;try{return gb(a(b))}catch(d){}}return""} +function I(a,b){var d=eb(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(cb(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?I(g):fb(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+gb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?I(h): +fb(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var hb=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ib=hb.ContextRegistry,J=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +if(!J)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var jb=Object.prototype,K=JSON.stringify,kb=J.TaintRegistryObjects,L=J.TaintRegistryValues,lb=J.TaintRegistryByteLengths,mb=J.TaintRegistryPendingRequests,nb=J.ReactCurrentCache,ob=hb.ReactCurrentDispatcher;function M(a){throw Error(a);} +function pb(a){a=a.taintCleanupQueue;mb.delete(a);for(var b=0;b<a.length;b++){var d=a[b],c=L.get(d);void 0!==c&&(1===c.count?L.delete(d):c.count--)}a.length=0}function qb(a){console.error(a)}function rb(){} +function sb(a,b,d,c,e,f){if(null!==nb.current&&nb.current!==bb)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;nb.current=bb;var g=new Set,k=[],h=[];mb.add(h);var n=new Set,w={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:n,abortableTasks:g,pingedTasks:k,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:h,onError:void 0===d?qb:d,onPostpone:void 0===f?rb:f,toJSON:function(u,H){return tb(w,this,u,H)}};w.pendingChunks++;b=ub(c);a=vb(w,a,b,g);k.push(a);return w}var N=null;function y(){if(N)return N;var a=va.getStore();return a?a:null}var wb={}; +function xb(a,b){a.pendingChunks++;var d=vb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,yb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Fa?(zb(a,c.message),Ab(a,d.id)):(c=O(a,c),P(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= +e;yb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=O(a,e);P(a,d.id,e);null!==a.destination&&Q(a,a.destination)});return d.id}function z(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");Bb(a)}function Cb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function Db(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:Cb}} +function R(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[B,b,d,e];Ta=0;F=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Db(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[B,b,d,e];switch(b.$$typeof){case C:var g= +b._init;b=g(b._payload);return R(a,b,d,c,e,f);case za:return a=b.render,Ta=0,F=f,a(e,void 0);case Ca:return R(a,b.type,d,c,e,f);case xa:return Na(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:wb}]}}throw Error("Unsupported Server Component type: "+fb(b));}function yb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return Eb(a)}))} +function vb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return yb(a,e)},thenableState:null};c.add(e);return e}function S(a){return"$"+a.toString(16)}function Fb(a,b,d){a=K(d);return b.toString(16)+":"+a+"\n"} +function Gb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var n=k[h];if(n)g=n.name;else{var w=h.lastIndexOf("#");-1!==w&&(g=h.slice(w+1),n=k[h.slice(0,w)]);if(!n)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, +g];a.pendingChunks++;var H=a.nextChunkId++,$b=K(u),ac=H.toString(16)+":I"+$b+"\n";a.completedImportChunks.push(ac);f.set(e,H);return b[0]===B&&"1"===d?"$L"+H.toString(16):S(H)}catch(bc){return a.pendingChunks++,b=a.nextChunkId++,d=O(a,bc),P(a,b,d),S(b)}}function T(a,b){a.pendingChunks++;b=vb(a,b,D,a.abortableTasks);Hb(a,b);return b.id} +function U(a,b,d){if(lb.has(d.byteLength)){var c=L.get(String.fromCharCode.apply(String,new Uint8Array(d.buffer,d.byteOffset,d.byteLength)));void 0!==c&&M(c.message)}a.pendingChunks+=2;c=a.nextChunkId++;d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);var e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,d);return S(c)}var V=!1; +function tb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=T(a,c);return S(g)}if(V===c)V=null;else return S(f)}else e.set(c,-1);var k=c;c=R(a,k.type,k.key,k.ref,k.props,null);break;case C:var h=c._init;c=h(c._payload)}}catch(n){d=n===Oa?Sa():n;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=vb(a,c,D,a.abortableTasks), +c=a.ping,d.then(c,c),a.thenableState=Ua(),"$L"+a.id.toString(16);if(d.$$typeof===Fa)return c=d,a.pendingChunks++,d=a.nextChunkId++,zb(a,c.message),Ab(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){e=kb.get(c);void 0!==e&&M(e);if(c.$$typeof===t)return Gb(a,b,d,c);b=a.writtenObjects;e=b.get(c);if("function"===typeof c.then){if(void 0!==e)if(V===c)V=null;else return"$@"+e.toString(16);a=xb(a,c); +b.set(c,a);return"$@"+a.toString(16)}if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=Fb(a,d,"$P"+c),a.completedRegularChunks.push(c)),S(d);if(c===wb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===Da?a.context._defaultValue:c;D=a.parent;return}if(void 0!==e){if(-1===e)return a=T(a,c),S(a);if(V===c)V=null; +else return S(e)}else b.set(c,-1);if(cb(c))return c;if(c instanceof Map){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d][0],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$Q"+T(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$W"+T(a,c).toString(16)}if(c instanceof ArrayBuffer)return U(a,"A",new Uint8Array(c));if(c instanceof Int8Array)return U(a, +"C",c);if(c instanceof Uint8Array)return U(a,"c",c);if(c instanceof Uint8ClampedArray)return U(a,"U",c);if(c instanceof Int16Array)return U(a,"S",c);if(c instanceof Uint16Array)return U(a,"s",c);if(c instanceof Int32Array)return U(a,"L",c);if(c instanceof Uint32Array)return U(a,"l",c);if(c instanceof Float32Array)return U(a,"F",c);if(c instanceof Float64Array)return U(a,"D",c);if(c instanceof BigInt64Array)return U(a,"N",c);if(c instanceof BigUint64Array)return U(a,"m",c);if(c instanceof DataView)return U(a, +"V",c);null===c||"object"!==typeof c?a=null:(a=Ga&&c[Ga]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=db(c);if(a!==jb&&(null===a||null!==db(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){e=L.get(c);void 0!==e&&M(e.message);if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+= +2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),S(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){e=kb.get(c);void 0!==e&&M(e);if(c.$$typeof===t)return Gb(a,b, +d,c);if(c.$$typeof===v)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=T(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+I(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+ +I(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return S(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+I(b,d));a.pendingChunks++;d=a.nextChunkId++;b=Fb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return S(d)}if("bigint"===typeof c)return a=L.get(c),void 0!==a&&M(a.message),"$n"+c.toString(10); +throw Error("Type "+typeof c+" is not supported in Client Component props."+I(b,d));}function zb(a,b){a=a.onPostpone;a(b)}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""} +function Ib(a,b){pb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function Ab(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";a.completedErrorChunks.push(b)} +function Hb(a,b){if(0===b.status){Ma(b.context);try{var d=b.model;if("object"===typeof d&&null!==d&&d.$$typeof===B){a.writtenObjects.set(d,b.id);var c=d,e=b.thenableState;b.model=d;d=R(a,c.type,c.key,c.ref,c.props,e);for(b.thenableState=null;"object"===typeof d&&null!==d&&d.$$typeof===B;)a.writtenObjects.set(d,b.id),c=d,b.model=d,d=R(a,c.type,c.key,c.ref,c.props,null)}"object"===typeof d&&null!==d&&a.writtenObjects.set(d,b.id);var f=b.id;V=d;var g=K(d,a.toJSON),k=f.toString(16)+":"+g+"\n";a.completedRegularChunks.push(k); +a.abortableTasks.delete(b);b.status=1}catch(h){f=h===Oa?Sa():h;if("object"===typeof f&&null!==f){if("function"===typeof f.then){a=b.ping;f.then(a,a);b.thenableState=Ua();return}if(f.$$typeof===Fa){a.abortableTasks.delete(b);b.status=4;zb(a,f.message);Ab(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;f=O(a,f);P(a,b.id,f)}}} +function Eb(a){var b=ob.current;ob.current=Za;var d=N;E=N=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Hb(a,c[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Ib(a,f)}finally{ob.current=b,E=null,N=d}} +function Q(a,b){l=new Uint8Array(2048);m=0;p=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!r(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!r(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!r(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!r(b,g[c])){a.destination= +null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,p=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(pb(a),b.end())}function Jb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return va.run(a,Eb,a)})}function Bb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}} +function Kb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(d){O(a,d),Ib(a,d)}}} +function Lb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=O(a,c);a.pendingChunks++;var f=a.nextChunkId++;P(a,f,e,c);d.forEach(function(g){g.status=3;var k=S(f);g=Fb(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Ib(a,g)}} +function ub(a){if(a){var b=D;Ma(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!ib[e]){var f={$$typeof:ya,_currentValue:Da,_currentValue2:Da,_defaultValue:Da,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};ib[e]=f}Na(ib[e],c)}a=D;Ma(b);return a}return null} +function Mb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Nb=new Map; +function Ob(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Pb(){} +function Qb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=Nb.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);d.push(f);var g=Nb.set.bind(Nb,e,null);f.then(g,Pb);Nb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Ob(a[0]):Promise.all(d).then(function(){return Ob(a[0])}):0<d.length?Promise.all(d):null} +function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Rb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Rb.prototype=Object.create(Promise.prototype); +Rb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Sb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Tb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Ub(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Tb(d,b)}}function Vb(a,b,d,c,e,f){var g=Mb(a._bundlerConfig,b);a=Qb(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Wb(c,e,f),Xb(c));return null}var X=null,Y=null; +function Sb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Yb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Ub(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Rb("resolved_model",c,null,a):new Rb("pending",null,null,a),d.set(b,c));return c}function Wb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Tb(e,c.value))}}function Xb(a){return function(b){return Ub(a,b)}} +function Zb(a,b){a=Z(a,b);"resolved_model"===a.status&&Sb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function cc(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Zb(a,c),Vb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Zb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Zb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Sb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Wb(c,b,d),Xb(c)),null;default:throw a.reason;}}return c} +function dc(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?cc(e,this,f,g):g}};return e} +function ec(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Sb(b),b.status){case "fulfilled":Tb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Tb(a,b.reason)}}function fc(a){Yb(a,Error("Connection closed."))} +function gc(a,b,d){var c=Mb(a,b);a=Qb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function hc(a,b,d){a=dc(b,d,a);fc(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function ic(a,b){return function(){return Kb(b,a)}}exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,la)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=hc(a,b,e),c=gc(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=gc(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=dc(b,"",a);fc(a);return Z(a,0)}; +exports.decodeReplyFromBusboy=function(a,b){var d=dc(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):ec(d,f,g)});a.on("file",function(f,g,k){var h=k.filename,n=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var w=[];g.on("data",function(u){w.push(u)});g.on("end",function(){var u= +new Blob(w,{type:n});d._formData.append(f,u,h);c--;if(0===c){for(u=0;u<e.length;u+=2)ec(d,e[u],e[u+1]);e.length=0}})});a.on("finish",function(){fc(d)});a.on("error",function(f){Yb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; +exports.renderToPipeableStream=function(a,b,d){var c=sb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;Jb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Kb(c,f);f.on("drain",ic(f,c));return f},abort:function(f){Lb(c,f)}}}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.development.js index 7be66c4ddb5f1..5217ebfe661af 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.development.js @@ -1236,6 +1236,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1254,7 +1256,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1270,7 +1272,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1597,6 +1599,20 @@ function getOrCreateServerContext(globalName) { return ContextRegistry[globalName]; } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); +} + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1604,8 +1620,37 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var TaintRegistryObjects = ReactSharedServerInternals.TaintRegistryObjects, + TaintRegistryValues = ReactSharedServerInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactSharedServerInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactSharedServerInternals.TaintRegistryPendingRequests, + ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; + +function throwTaintViolation(message) { + // eslint-disable-next-line react-internal/prod-error-codes + throw new Error(message); +} + +function cleanupTaintQueue(request) { + var cleanupQueue = request.taintCleanupQueue; + TaintRegistryPendingRequests.delete(cleanupQueue); + + for (var i = 0; i < cleanupQueue.length; i++) { + var entryValue = cleanupQueue[i]; + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } + } + + cleanupQueue.length = 0; +} function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1626,6 +1671,12 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + + { + TaintRegistryPendingRequests.add(cleanupQueue); + } + var hints = createHints(); var request = { status: OPEN, @@ -1647,8 +1698,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1906,28 +1959,31 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState case REACT_PROVIDER_TYPE: { - pushProvider(type._context, props.value); - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } + pushProvider(type._context, props.value); - return true; - }); + { + var extraKeys = Object.keys(props).filter(function (value) { + if (value === 'children' || value === 'value') { + return false; + } - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + return true; + }); + + if (extraKeys.length !== 0) { + error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + } } - } - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; + return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. + { + value: props.value, + children: props.children, + __pop: POP + }]; + } // Fallthrough + } } } @@ -2075,10 +2131,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2111,16 +2166,60 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } function serializeTypedArray(request, tag, typedArray) { + { + if (TaintRegistryByteLengths.has(typedArray.byteLength)) { + // If we have had any tainted values of this length, we check + // to see if these bytes matches any entries in the registry. + var tainted = TaintRegistryValues.get(binaryToComparableString(typedArray)); + + if (tainted !== undefined) { + throwTaintViolation(tainted.message); + } + } + } + request.pendingChunks += 2; var bufferId = request.nextChunkId++; // TODO: Convert to little endian if that's not the server default. @@ -2144,6 +2243,7 @@ function escapeStringValue(value) { var insideContextProps = null; var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2194,7 +2294,30 @@ function resolveModelToJSON(request, parent, key, value) { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2255,35 +2378,94 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + { + var tainted = TaintRegistryObjects.get(value); + + if (tainted !== undefined) { + throwTaintViolation(tainted); + } + } + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); + } + + { + if (value.$$typeof === REACT_PROVIDER_TYPE) { + var providerKey = value._context._globalName; + var writtenProviders = request.writtenProviders; + var providerId = writtenProviders.get(key); + + if (providerId === undefined) { + request.pendingChunks++; + providerId = request.nextChunkId++; + writtenProviders.set(providerKey, providerId); + emitProviderChunk(request, providerId, providerKey); + } + + return serializeByValueID(providerId); + } else if (value === POP) { + popProvider(); + + { + insideContextProps = null; + isInsideContextValue = false; + } - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); + return undefined; } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2360,27 +2542,29 @@ function resolveModelToJSON(request, parent, key, value) { } } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2390,7 +2574,15 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + { + var _tainted = TaintRegistryValues.get(value); + + if (_tainted !== undefined) { + throwTaintViolation(_tainted.message); + } + } // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2424,6 +2616,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + { + var _tainted2 = TaintRegistryObjects.get(value); + + if (_tainted2 !== undefined) { + throwTaintViolation(_tainted2); + } + } + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2441,10 +2641,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2463,6 +2664,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + { + var _tainted3 = TaintRegistryValues.get(value); + + if (_tainted3 !== undefined) { + throwTaintViolation(_tainted3.message); + } + } + return serializeBigInt(value); } @@ -2487,7 +2696,11 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + { + cleanupTaintQueue(request); + } // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2582,7 +2795,11 @@ function emitProviderChunk(request, id, contextName) { } function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2601,7 +2818,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2618,11 +2836,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2785,6 +3009,10 @@ function flushCompletedChunks(request, destination) { if (request.pendingChunks === 0) { // We're done. + { + cleanupTaintQueue(request); + } + close$1(destination); } } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js index 596bf223646a1..42cfb02d69394 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js @@ -7,71 +7,76 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,r=!0;function t(a,b){a=a.write(b);r=r&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,b)):(d=l.length-m,d<b.byteLength&& -(0===d?t(a,l):(l.set(b.subarray(0,d),m),m+=d,t(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)));return r}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; -function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);a.$$typeof=w;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,p=!0;function q(a,b){a=a.write(b);p=p&&a} +function r(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,b)):(d=l.length-m,d<b.byteLength&& +(0===d?q(a,l):(l.set(b.subarray(0,d),m),m+=d,q(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)));return p}var ea=new aa.TextEncoder,t=Symbol.for("react.client.reference"),v=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; +function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===v){var b=ha.call(arguments,1);a.$$typeof=v;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ja=Promise.prototype,ka={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ (String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; case "__esModule":var d=a.$$id;a.default=x(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=x({},a.$$id,!0),e=new Proxy(c,la);a.status="fulfilled";a.value=e;return a.then=x(function(f){return Promise.resolve(f(e))}, a.$$id+"#then",!1)}c=a[b];c||(c=x(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ka));return c},getPrototypeOf:function(){return ja},set:function(){throw Error("Cannot assign to a client module from a server module."); }},ta={prefetchDNS:ma,preconnect:na,preload:oa,preloadModule:pa,preinitStyle:qa,preinitScript:ra,preinitModuleScript:sa};function ma(a){if("string"===typeof a&&a){var b=y();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),z(b,"D",a))}}}function na(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?z(d,"C",[a,b]):z(d,"C",a))}}} -function oa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function pa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} +function oa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function pa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} function qa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?z(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?z(c,"S",[a,b]):z(c,"S",a)}}}function ra(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"X",[a,b]):z(d,"X",a)}}}function sa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"M",[a,b]):z(d,"M",a)}}} function A(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var ua=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,va=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.for("react.postpone"), -Fa=Symbol.iterator,F=null;function G(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");G(a,d);b.context._currentValue=b.value}}}function Ga(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ga(a)} -function Ha(a){var b=a.parent;null!==b&&Ha(b);a.context._currentValue=a.value}function Ia(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?G(a,b):Ia(a,b)} -function Ja(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?G(a,d):Ja(a,d);b.context._currentValue=b.value}function Ka(a){var b=F;b!==a&&(null===b?Ha(a):null===a?Ga(b):b.depth===a.depth?G(b,a):b.depth>a.depth?Ia(b,a):Ja(b,a),F=a)}function La(a,b){var d=a._currentValue;a._currentValue=b;var c=F;return F=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ma=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Na(){}function Oa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Na,Na),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}I=b;throw Ma;}}var I=null; -function Pa(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}var J=null,K=0,L=null;function Qa(){var a=L;L=null;return a}function Ra(a){return a._currentValue} -var Va={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:M,useTransition:M,readContext:Ra,useContext:Ra,useReducer:M,useRef:M,useState:M,useInsertionEffect:M,useLayoutEffect:M,useImperativeHandle:M,useEffect:M,useId:Sa,useSyncExternalStore:M,useCacheRefresh:function(){return Ta},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Ua}; -function M(){throw Error("This Hook is not supported in Server Components.");}function Ta(){throw Error("Refreshing the cache is not supported in Server Components.");}function Sa(){if(null===J)throw Error("useId can only be used while React is rendering");var a=J.identifierCount++;return":"+J.identifierPrefix+"S"+a.toString(32)+":"} -function Ua(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===L&&(L=[]);return Oa(L,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Wa(){return(new AbortController).signal}function Xa(){var a=y();return a?a.cache:new Map} -var Ya={getCacheSignal:function(){var a=Xa(),b=a.get(Wa);void 0===b&&(b=Wa(),a.set(Wa,b));return b},getCacheForType:function(a){var b=Xa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Za=Array.isArray;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Za(a))return"[...]";a=$a(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function bb(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return bb(a.render);case Ca:return bb(a.type);case C:var b=a._payload;a=a._init;try{return bb(a(b))}catch(d){}}return""} -function N(a,b){var d=$a(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Za(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):ab(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+bb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -ab(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var cb=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,db=cb.ContextRegistry,O=JSON.stringify,eb=cb.ReactCurrentDispatcher,fb=cb.ReactCurrentCache;function gb(a){console.error(a)}function hb(){} -function ib(a,b,d,c,e,f){if(null!==fb.current&&fb.current!==Ya)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;fb.current=Ya;var g=new Set,h=[],k=new Set,n={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?gb:d,onPostpone:void 0===f?hb:f,toJSON:function(p,q){return jb(n,this,p,q)}};n.pendingChunks++;b=kb(c);a=lb(n,a,b,g);h.push(a);return n}var P=null;function y(){if(P)return P;var a=va.getStore();return a?a:null}var mb={}; -function nb(a,b){a.pendingChunks++;var d=lb(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,ob(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ea?(pb(a,c.message),qb(a,d.id)):(c=Q(a,c),R(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= -e;ob(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=Q(a,e);R(a,d.id,e);null!==a.destination&&S(a,a.destination)});return d.id}function z(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");rb(a)}function sb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function tb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:sb}} -function T(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[B,b,d,e];K=0;L=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:tb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[B,b,d,e];switch(b.$$typeof){case C:var g= -b._init;b=g(b._payload);return T(a,b,d,c,e,f);case za:return a=b.render,K=0,L=f,a(e,void 0);case Ca:return T(a,b.type,d,c,e,f);case xa:return La(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:mb}]}}throw Error("Unsupported Server Component type: "+ab(b));}function ob(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return ub(a)}))} -function lb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return ob(a,e)},thenableState:null};c.add(e);return e}function U(a){return"$"+a.toString(16)}function vb(a,b,d){a=O(d);return b.toString(16)+":"+a+"\n"} -function wb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):U(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var p=k.lastIndexOf("#");-1!==p&&(g=k.slice(p+1),n=h[k.slice(0,p)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var q=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, -g];a.pendingChunks++;var H=a.nextChunkId++,D=O(q),Qb=H.toString(16)+":I"+D+"\n";a.completedImportChunks.push(Qb);f.set(e,H);return b[0]===B&&"1"===d?"$L"+H.toString(16):U(H)}catch(Rb){return a.pendingChunks++,b=a.nextChunkId++,d=Q(a,Rb),R(a,b,d),U(b)}}function xb(a,b){a.pendingChunks++;var d=a.nextChunkId++;yb(a,d,b);return d} -function V(a,b,d){a.pendingChunks+=2;var c=a.nextChunkId++;d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);var e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,d);return U(c)} -function jb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=c;c=T(a,e.type,e.key,e.ref,e.props,null);break;case C:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ma?Pa():g;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=lb(a,c,F,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Qa(),"$L"+a.id.toString(16);if(d.$$typeof===Ea)return c=d,a.pendingChunks++,d=a.nextChunkId++, -pb(a,c.message),qb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=Q(a,d);R(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===v)return wb(a,b,d,c);if("function"===typeof c.then)return"$@"+nb(a,c).toString(16);if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=vb(a,d,"$P"+c),a.completedRegularChunks.push(c)),U(d);if(c===mb){a=F;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); -c=a.parentValue;a.context._currentValue=c===E?a.context._defaultValue:c;F=a.parent;return}return c instanceof Map?"$Q"+xb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+xb(a,Array.from(c)).toString(16):c instanceof ArrayBuffer?V(a,"A",new Uint8Array(c)):c instanceof Int8Array?V(a,"C",c):c instanceof Uint8Array?V(a,"c",c):c instanceof Uint8ClampedArray?V(a,"U",c):c instanceof Int16Array?V(a,"S",c):c instanceof Uint16Array?V(a,"s",c):c instanceof Int32Array?V(a,"L",c):c instanceof Uint32Array? -V(a,"l",c):c instanceof Float32Array?V(a,"F",c):c instanceof Float64Array?V(a,"D",c):c instanceof BigInt64Array?V(a,"N",c):c instanceof BigUint64Array?V(a,"m",c):c instanceof DataView?V(a,"V",c):!Za(c)&&(null===c||"object"!==typeof c?a=null:(a=Fa&&c[Fa]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c, -"utf8"):c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),U(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===v)return wb(a,b,d,c);if(c.$$typeof===w)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16): -(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=xb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!== -f)return U(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=vb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return U(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function pb(a,b){a=a.onPostpone;a(b)}function Q(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function zb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function qb(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function R(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";a.completedErrorChunks.push(b)}function yb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";a.completedRegularChunks.push(b)} -function ub(a){var b=eb.current;eb.current=Va;var d=P;J=P=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];a:{var g=a;if(0===f.status){Ka(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===B){var k=h,n=f.thenableState;f.model=h;h=T(g,k.type,k.key,k.ref,k.props,n);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===B;)k=h,f.model=h,h=T(g,k.type,k.key,k.ref,k.props,null)}yb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(D){var p= -D===Ma?Pa():D;if("object"===typeof p&&null!==p)if("function"===typeof p.then){var q=f.ping;p.then(q,q);f.thenableState=Qa();break a}else if(p.$$typeof===Ea){g.abortableTasks.delete(f);f.status=4;pb(g,p.message);qb(g,f.id);break a}g.abortableTasks.delete(f);f.status=4;var H=Q(g,p);R(g,f.id,H)}}}}null!==a.destination&&S(a,a.destination)}catch(D){Q(a,D),zb(a,D)}finally{eb.current=b,J=null,P=d}} -function S(a,b){l=new Uint8Array(2048);m=0;r=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!u(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!u(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!u(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!u(b,g[c])){a.destination= -null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,r=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function Ab(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return va.run(a,ub,a)})}function rb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return S(a,b)})}} -function Bb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{S(a,b)}catch(d){Q(a,d),zb(a,d)}}} -function Cb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=Q(a,c);a.pendingChunks++;var f=a.nextChunkId++;R(a,f,e,c);d.forEach(function(g){g.status=3;var h=U(f);g=vb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&S(a,a.destination)}catch(g){Q(a,g),zb(a,g)}} -function kb(a){if(a){var b=F;Ka(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!db[e]){var f={$$typeof:ya,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};db[e]=f}La(db[e],c)}a=F;Ka(b);return a}return null}function Db(a,b){var d=b.lastIndexOf("#");a=b.slice(0,d);b=b.slice(d+1);return{specifier:a,name:b}}var Eb=new Map; -function Fb(a){var b=Eb.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});Eb.set(a.specifier,d);return d}function W(a){var b=Eb.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]} -function Gb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Gb.prototype=Object.create(Promise.prototype);Gb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Hb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function Ib(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Jb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Ib(d,b)}}function Kb(a,b,d,c,e,f){var g=Db(a._bundlerConfig,b);a=Fb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Lb(c,e,f),Mb(c));return null}var X=null,Y=null; -function Hb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Nb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Jb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Gb("resolved_model",c,null,a):new Gb("pending",null,null,a),d.set(b,c));return c}function Lb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Ib(e,c.value))}}function Mb(a){return function(b){return Jb(a,b)}} -function Ob(a,b){a=Z(a,b);"resolved_model"===a.status&&Hb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Pb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Ob(a,c),Kb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Ob(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Ob(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Hb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Lb(c,b,d),Mb(c)),null;default:throw a.reason;}}return c} -function Sb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Pb(e,this,f,g):g}};return e} -function Tb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Hb(b),b.status){case "fulfilled":Ib(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Ib(a,b.reason)}}function Ub(a){Nb(a,Error("Connection closed."))} -function Vb(a,b,d){var c=Db(a,b);a=Fb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Wb(a,b,d){a=Sb(b,d,a);Ub(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Xb(a,b){return function(){return Bb(b,a)}}exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,la)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Wb(a,b,e),c=Vb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Vb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Sb(b,"",a);Ub(a);return Z(a,0)}; -exports.decodeReplyFromBusboy=function(a,b){var d=Sb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Tb(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var p=[];g.on("data",function(q){p.push(q)});g.on("end",function(){var q= -new Blob(p,{type:n});d._formData.append(f,q,k);c--;if(0===c){for(q=0;q<e.length;q+=2)Tb(d,e[q],e[q+1]);e.length=0}})});a.on("finish",function(){Ub(d)});a.on("error",function(f){Nb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; -exports.renderToPipeableStream=function(a,b,d){var c=ib(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;Ab(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Bb(c,f);f.on("drain",Xb(f,c));return f},abort:function(f){Cb(c,f)}}}; +var ua=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,va=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Da=Symbol.for("react.default_value"),Ea=Symbol.for("react.memo_cache_sentinel"),Fa=Symbol.for("react.postpone"), +Ga=Symbol.iterator,D=null;function Ha(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");Ha(a,d);b.context._currentValue=b.value}}}function Ia(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ia(a)} +function Ja(a){var b=a.parent;null!==b&&Ja(b);a.context._currentValue=a.value}function Ka(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?Ha(a,b):Ka(a,b)} +function La(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?Ha(a,d):La(a,d);b.context._currentValue=b.value}function Ma(a){var b=D;b!==a&&(null===b?Ja(a):null===a?Ia(b):b.depth===a.depth?Ha(b,a):b.depth>a.depth?Ka(b,a):La(b,a),D=a)}function Na(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Oa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Pa(){}function Qa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Pa,Pa),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ra=b;throw Oa;}}var Ra=null; +function Sa(){if(null===Ra)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ra;Ra=null;return a}var E=null,Ta=0,F=null;function Ua(){var a=F;F=null;return a}function Va(a){return a._currentValue} +var Za={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:G,useTransition:G,readContext:Va,useContext:Va,useReducer:G,useRef:G,useState:G,useInsertionEffect:G,useLayoutEffect:G,useImperativeHandle:G,useEffect:G,useId:Wa,useSyncExternalStore:G,useCacheRefresh:function(){return Xa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Ya}; +function G(){throw Error("This Hook is not supported in Server Components.");}function Xa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Wa(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Ya(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ta;Ta+=1;null===F&&(F=[]);return Qa(F,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function $a(){return(new AbortController).signal}function ab(){var a=y();return a?a.cache:new Map} +var bb={getCacheSignal:function(){var a=ab(),b=a.get($a);void 0===b&&(b=$a(),a.set($a,b));return b},getCacheForType:function(a){var b=ab(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},cb=Array.isArray,db=Object.getPrototypeOf;function eb(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function fb(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(cb(a))return"[...]";a=eb(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function gb(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return gb(a.render);case Ca:return gb(a.type);case C:var b=a._payload;a=a._init;try{return gb(a(b))}catch(d){}}return""} +function I(a,b){var d=eb(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(cb(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?I(g):fb(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+gb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?I(h): +fb(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var hb=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ib=hb.ContextRegistry,J=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +if(!J)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var jb=Object.prototype,K=JSON.stringify,kb=J.TaintRegistryObjects,L=J.TaintRegistryValues,lb=J.TaintRegistryByteLengths,mb=J.TaintRegistryPendingRequests,nb=J.ReactCurrentCache,ob=hb.ReactCurrentDispatcher;function M(a){throw Error(a);} +function pb(a){a=a.taintCleanupQueue;mb.delete(a);for(var b=0;b<a.length;b++){var d=a[b],c=L.get(d);void 0!==c&&(1===c.count?L.delete(d):c.count--)}a.length=0}function qb(a){console.error(a)}function rb(){} +function sb(a,b,d,c,e,f){if(null!==nb.current&&nb.current!==bb)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;nb.current=bb;var g=new Set,k=[],h=[];mb.add(h);var n=new Set,w={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:n,abortableTasks:g,pingedTasks:k,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:h,onError:void 0===d?qb:d,onPostpone:void 0===f?rb:f,toJSON:function(u,H){return tb(w,this,u,H)}};w.pendingChunks++;b=ub(c);a=vb(w,a,b,g);k.push(a);return w}var N=null;function y(){if(N)return N;var a=va.getStore();return a?a:null}var wb={}; +function xb(a,b){a.pendingChunks++;var d=vb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,yb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Fa?(zb(a,c.message),Ab(a,d.id)):(c=O(a,c),P(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= +e;yb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=O(a,e);P(a,d.id,e);null!==a.destination&&Q(a,a.destination)});return d.id}function z(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");Bb(a)}function Cb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function Db(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:Cb}} +function R(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[B,b,d,e];Ta=0;F=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Db(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[B,b,d,e];switch(b.$$typeof){case C:var g= +b._init;b=g(b._payload);return R(a,b,d,c,e,f);case za:return a=b.render,Ta=0,F=f,a(e,void 0);case Ca:return R(a,b.type,d,c,e,f);case xa:return Na(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:wb}]}}throw Error("Unsupported Server Component type: "+fb(b));}function yb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return Eb(a)}))} +function vb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return yb(a,e)},thenableState:null};c.add(e);return e}function S(a){return"$"+a.toString(16)}function Fb(a,b,d){a=K(d);return b.toString(16)+":"+a+"\n"} +function Gb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var n=k[h];if(n)g=n.name;else{var w=h.lastIndexOf("#");-1!==w&&(g=h.slice(w+1),n=k[h.slice(0,w)]);if(!n)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, +g];a.pendingChunks++;var H=a.nextChunkId++,Zb=K(u),$b=H.toString(16)+":I"+Zb+"\n";a.completedImportChunks.push($b);f.set(e,H);return b[0]===B&&"1"===d?"$L"+H.toString(16):S(H)}catch(ac){return a.pendingChunks++,b=a.nextChunkId++,d=O(a,ac),P(a,b,d),S(b)}}function T(a,b){a.pendingChunks++;b=vb(a,b,D,a.abortableTasks);Hb(a,b);return b.id} +function U(a,b,d){if(lb.has(d.byteLength)){var c=L.get(String.fromCharCode.apply(String,new Uint8Array(d.buffer,d.byteOffset,d.byteLength)));void 0!==c&&M(c.message)}a.pendingChunks+=2;c=a.nextChunkId++;d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);var e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,d);return S(c)}var V=!1; +function tb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=T(a,c);return S(g)}if(V===c)V=null;else return S(f)}else e.set(c,-1);var k=c;c=R(a,k.type,k.key,k.ref,k.props,null);break;case C:var h=c._init;c=h(c._payload)}}catch(n){d=n===Oa?Sa():n;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=vb(a,c,D,a.abortableTasks), +c=a.ping,d.then(c,c),a.thenableState=Ua(),"$L"+a.id.toString(16);if(d.$$typeof===Fa)return c=d,a.pendingChunks++,d=a.nextChunkId++,zb(a,c.message),Ab(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){e=kb.get(c);void 0!==e&&M(e);if(c.$$typeof===t)return Gb(a,b,d,c);b=a.writtenObjects;e=b.get(c);if("function"===typeof c.then){if(void 0!==e)if(V===c)V=null;else return"$@"+e.toString(16);a=xb(a,c); +b.set(c,a);return"$@"+a.toString(16)}if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=Fb(a,d,"$P"+c),a.completedRegularChunks.push(c)),S(d);if(c===wb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===Da?a.context._defaultValue:c;D=a.parent;return}if(void 0!==e){if(-1===e)return a=T(a,c),S(a);if(V===c)V=null; +else return S(e)}else b.set(c,-1);if(cb(c))return c;if(c instanceof Map){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d][0],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$Q"+T(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$W"+T(a,c).toString(16)}if(c instanceof ArrayBuffer)return U(a,"A",new Uint8Array(c));if(c instanceof Int8Array)return U(a, +"C",c);if(c instanceof Uint8Array)return U(a,"c",c);if(c instanceof Uint8ClampedArray)return U(a,"U",c);if(c instanceof Int16Array)return U(a,"S",c);if(c instanceof Uint16Array)return U(a,"s",c);if(c instanceof Int32Array)return U(a,"L",c);if(c instanceof Uint32Array)return U(a,"l",c);if(c instanceof Float32Array)return U(a,"F",c);if(c instanceof Float64Array)return U(a,"D",c);if(c instanceof BigInt64Array)return U(a,"N",c);if(c instanceof BigUint64Array)return U(a,"m",c);if(c instanceof DataView)return U(a, +"V",c);null===c||"object"!==typeof c?a=null:(a=Ga&&c[Ga]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=db(c);if(a!==jb&&(null===a||null!==db(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){e=L.get(c);void 0!==e&&M(e.message);if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+= +2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),S(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){e=kb.get(c);void 0!==e&&M(e);if(c.$$typeof===t)return Gb(a,b, +d,c);if(c.$$typeof===v)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=T(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+I(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+ +I(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return S(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+I(b,d));a.pendingChunks++;d=a.nextChunkId++;b=Fb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return S(d)}if("bigint"===typeof c)return a=L.get(c),void 0!==a&&M(a.message),"$n"+c.toString(10); +throw Error("Type "+typeof c+" is not supported in Client Component props."+I(b,d));}function zb(a,b){a=a.onPostpone;a(b)}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""} +function Ib(a,b){pb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function Ab(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";a.completedErrorChunks.push(b)} +function Hb(a,b){if(0===b.status){Ma(b.context);try{var d=b.model;if("object"===typeof d&&null!==d&&d.$$typeof===B){a.writtenObjects.set(d,b.id);var c=d,e=b.thenableState;b.model=d;d=R(a,c.type,c.key,c.ref,c.props,e);for(b.thenableState=null;"object"===typeof d&&null!==d&&d.$$typeof===B;)a.writtenObjects.set(d,b.id),c=d,b.model=d,d=R(a,c.type,c.key,c.ref,c.props,null)}"object"===typeof d&&null!==d&&a.writtenObjects.set(d,b.id);var f=b.id;V=d;var g=K(d,a.toJSON),k=f.toString(16)+":"+g+"\n";a.completedRegularChunks.push(k); +a.abortableTasks.delete(b);b.status=1}catch(h){f=h===Oa?Sa():h;if("object"===typeof f&&null!==f){if("function"===typeof f.then){a=b.ping;f.then(a,a);b.thenableState=Ua();return}if(f.$$typeof===Fa){a.abortableTasks.delete(b);b.status=4;zb(a,f.message);Ab(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;f=O(a,f);P(a,b.id,f)}}} +function Eb(a){var b=ob.current;ob.current=Za;var d=N;E=N=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Hb(a,c[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Ib(a,f)}finally{ob.current=b,E=null,N=d}} +function Q(a,b){l=new Uint8Array(2048);m=0;p=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!r(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!r(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!r(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!r(b,g[c])){a.destination= +null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,p=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(pb(a),b.end())}function Jb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return va.run(a,Eb,a)})}function Bb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}} +function Kb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(d){O(a,d),Ib(a,d)}}} +function Lb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=O(a,c);a.pendingChunks++;var f=a.nextChunkId++;P(a,f,e,c);d.forEach(function(g){g.status=3;var k=S(f);g=Fb(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Ib(a,g)}} +function ub(a){if(a){var b=D;Ma(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!ib[e]){var f={$$typeof:ya,_currentValue:Da,_currentValue2:Da,_defaultValue:Da,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};ib[e]=f}Na(ib[e],c)}a=D;Ma(b);return a}return null}function Mb(a,b){var d=b.lastIndexOf("#");a=b.slice(0,d);b=b.slice(d+1);return{specifier:a,name:b}}var Nb=new Map; +function Ob(a){var b=Nb.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});Nb.set(a.specifier,d);return d}function W(a){var b=Nb.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]} +function Pb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Pb.prototype=Object.create(Promise.prototype);Pb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Qb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function Rb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Sb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Rb(d,b)}}function Tb(a,b,d,c,e,f){var g=Mb(a._bundlerConfig,b);a=Ob(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Ub(c,e,f),Vb(c));return null}var X=null,Y=null; +function Qb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Wb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Sb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Pb("resolved_model",c,null,a):new Pb("pending",null,null,a),d.set(b,c));return c}function Ub(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Rb(e,c.value))}}function Vb(a){return function(b){return Sb(a,b)}} +function Xb(a,b){a=Z(a,b);"resolved_model"===a.status&&Qb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Yb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Xb(a,c),Tb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Xb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Xb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Qb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Ub(c,b,d),Vb(c)),null;default:throw a.reason;}}return c} +function bc(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Yb(e,this,f,g):g}};return e} +function cc(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Qb(b),b.status){case "fulfilled":Rb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Rb(a,b.reason)}}function dc(a){Wb(a,Error("Connection closed."))} +function ec(a,b,d){var c=Mb(a,b);a=Ob(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function fc(a,b,d){a=bc(b,d,a);dc(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function gc(a,b){return function(){return Kb(b,a)}}exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,la)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=fc(a,b,e),c=ec(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=ec(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=bc(b,"",a);dc(a);return Z(a,0)}; +exports.decodeReplyFromBusboy=function(a,b){var d=bc(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):cc(d,f,g)});a.on("file",function(f,g,k){var h=k.filename,n=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var w=[];g.on("data",function(u){w.push(u)});g.on("end",function(){var u= +new Blob(w,{type:n});d._formData.append(f,u,h);c--;if(0===c){for(u=0;u<e.length;u+=2)cc(d,e[u],e[u+1]);e.length=0}})});a.on("finish",function(){dc(d)});a.on("error",function(f){Wb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; +exports.renderToPipeableStream=function(a,b,d){var c=sb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;Jb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Kb(c,f);f.on("drain",gc(f,c));return f},abort:function(f){Lb(c,f)}}}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json index 3329093b6af70..22ef35123202b 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json @@ -48,7 +48,7 @@ "loose-envify": "^1.1.0" }, "peerDependencies": { - "react": "0.0.0-experimental-d900fadbf-20230929", - "react-dom": "0.0.0-experimental-d900fadbf-20230929" + "react": "0.0.0-experimental-d803f519e-20231020", + "react-dom": "0.0.0-experimental-d803f519e-20231020" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js index 278cb7fbca0d2..ddfee0c3f1900 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js @@ -380,6 +380,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -398,7 +400,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -414,7 +416,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -690,6 +692,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -818,6 +821,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -864,33 +872,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1061,6 +1071,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1098,6 +1109,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1142,6 +1154,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1185,6 +1198,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1277,9 +1291,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1290,9 +1312,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1393,15 +1420,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1622,9 +1652,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.production.min.js index 56e2f35ce31bd..6b34aa4d15ef8 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.production.min.js @@ -9,28 +9,29 @@ */ 'use strict';var r=require("react-dom"),t=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map; function x(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function z(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var k=b[d],l=w.get(k);if(void 0===l){l=__turbopack_load__(k);c.push(l);var n=w.set.bind(w,k,null);l.then(n,y);w.set(k,l)}else null!==l&&c.push(l)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} -var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),E=Symbol.for("react.server_context"),aa=Symbol.for("react.lazy"),F=Symbol.for("react.default_value"),G=Symbol.iterator;function ba(a){if(null===a||"object"!==typeof a)return null;a=G&&a[G]||a["@@iterator"];return"function"===typeof a?a:null}var ca=Array.isArray,I=new WeakMap; -function da(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ea(a,b,c,d){function k(m,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===g&&(g=new FormData);n++;var h=l++;e.then(function(p){p=JSON.stringify(p,k);var q=g;q.append(b+h,p);n--;0===n&&c(q)},function(p){d(p)});return"$@"+h.toString(16)}if(e instanceof FormData){null===g&&(g=new FormData);var f=g;m=l++;var D=b+m+"_";e.forEach(function(p,q){f.append(D+q,p)});return"$K"+m.toString(16)}return e instanceof Map?(e=JSON.stringify(Array.from(e),k),null===g&& -(g=new FormData),m=l++,g.append(b+m,e),"$Q"+m.toString(16)):e instanceof Set?(e=JSON.stringify(Array.from(e),k),null===g&&(g=new FormData),m=l++,g.append(b+m,e),"$W"+m.toString(16)):!ca(e)&&ba(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[m]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return da(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=I.get(e);if(void 0!==e)return e=JSON.stringify(e, -k),null===g&&(g=new FormData),m=l++,g.set(b+m,e),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){m=e.description;if(Symbol.for(m)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof e)return"$n"+ -e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var l=1,n=0,g=null;a=JSON.stringify(a,k);null===g?c(a):(g.set(b+"0",a),0===n&&c(g))}function J(a,b){I.set(a,b)}var K=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function L(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}L.prototype=Object.create(Promise.prototype); -L.prototype.then=function(a,b){switch(this.status){case "resolved_model":M(this);break;case "resolved_module":N(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function fa(a){switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function O(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function P(a,b,c){switch(a.status){case "fulfilled":O(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&O(c,a.reason)}} -function R(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&O(c,b)}}function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(N(a),P(a,c,d))}}var T=null,U=null; -function M(a){var b=T,c=U;T=a;U=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==U&&0<U.deps?(U.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(k){a.status="rejected",a.reason=k}finally{T=b,U=c}} -function N(a){try{var b=a.value,c=__turbopack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(k){a.status="rejected",a.reason=k}}function V(a,b){a._chunks.forEach(function(c){"pending"===c.status&&R(c,b)})}function W(a,b){var c=a._chunks,d=c.get(b);d||(d=new L("pending",null,null,a),c.set(b,d));return d} -function ha(a,b,c){if(U){var d=U;d.deps++}else d=U={deps:1,value:null};return function(k){b[c]=k;d.deps--;0===d.deps&&"blocked"===a.status&&(k=a.value,a.status="fulfilled",a.value=d.value,null!==k&&O(k,d.value))}}function ia(a){return function(b){return R(a,b)}} -function ja(a,b){function c(){var k=Array.prototype.slice.call(arguments),l=b.bound;return l?"fulfilled"===l.status?d(b.id,l.value.concat(k)):Promise.resolve(l).then(function(n){return d(b.id,n.concat(k))}):d(b.id,k)}var d=a._callServer;J(c,b);return c}function X(a,b){a=W(a,b);switch(a.status){case "resolved_model":M(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ka(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=W(a,b),{$$typeof:aa,_payload:a,_init:fa};case "@":return b=parseInt(d.slice(2),16),W(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),K[a]||(b={$$typeof:E,_currentValue:F,_currentValue2:F,_defaultValue:F,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},K[a]=b),K[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=X(a,b),ja(a,b);case "Q":return b=parseInt(d.slice(2),16),a=X(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=X(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=W(a,d);switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=T,a.then(ha(d,b,c),ia(d)),null;default:throw a.reason;}}}return d}function la(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function Y(a,b,c,d){var k=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:la,_nonce:d,_chunks:k,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ma(a);return a} -function na(a,b,c){var d=a._chunks,k=d.get(b);c=JSON.parse(c,a._fromJSON);var l=v(a._bundlerConfig,c);if(c=z(l)){if(k){var n=k;n.status="blocked"}else n=new L("blocked",null,null,a),d.set(b,n);c.then(function(){return S(n,l)},function(g){return R(n,g)})}else k?S(k,l):d.set(b,new L("resolved_module",l,null,a))} -function ma(a){return function(b,c){return"string"===typeof c?ka(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}} -function Z(a,b){function c(l){var n=l.value;if(l.done)V(a,Error("Connection closed."));else{var g=0,m=a._rowState,e=a._rowID,h=a._rowTag,f=a._rowLength;l=a._buffer;for(var D=n.length;g<D;){var p=-1;switch(m){case 0:p=n[g++];58===p?m=1:e=e<<4|(96<p?p-87:p-48);continue;case 1:m=n[g];84===m?(h=m,m=2,g++):64<m&&91>m?(h=m,m=3,g++):(h=0,m=3);continue;case 2:p=n[g++];44===p?m=4:f=f<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,g);break;case 4:p=g+f,p>n.length&&(p=-1)}var q=n.byteOffset+g;if(-1<p){g= -new Uint8Array(n.buffer,q,p-g);f=a;q=h;var Q=f._stringDecoder;h="";for(var H=0;H<l.length;H++)h+=Q.decode(l[H],u);h+=Q.decode(g);switch(q){case 73:na(f,e,h);break;case 72:e=h[0];h=h.slice(1);f=JSON.parse(h,f._fromJSON);if(h=A.current)switch(e){case "D":h.prefetchDNS(f);break;case "C":"string"===typeof f?h.preconnect(f):h.preconnect(f[0],f[1]);break;case "L":e=f[0];g=f[1];3===f.length?h.preload(e,g,f[2]):h.preload(e,g);break;case "m":"string"===typeof f?h.preloadModule(f):h.preloadModule(f[0],f[1]); +function z(a){for(var b=a[1],c=[],e=0;e<b.length;e++){var l=b[e],k=w.get(l);if(void 0===k){k=__turbopack_load__(l);c.push(k);var n=w.set.bind(w,l,null);k.then(n,y);w.set(l,k)}else null!==k&&c.push(k)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} +var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),aa=Symbol.for("react.server_context"),ba=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),F=Symbol.iterator;function ca(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var da=Array.isArray,G=Object.getPrototypeOf,ea=Object.prototype,I=new WeakMap; +function fa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ha(a,b,c,e){function l(m,d){if(null===d)return null;if("object"===typeof d){if("function"===typeof d.then){null===g&&(g=new FormData);n++;var h=k++;d.then(function(p){p=JSON.stringify(p,l);var q=g;q.append(b+h,p);n--;0===n&&c(q)},function(p){e(p)});return"$@"+h.toString(16)}if(da(d))return d;if(d instanceof FormData){null===g&&(g=new FormData);var f=g;m=k++;var D=b+m+"_";d.forEach(function(p,q){f.append(D+q,p)});return"$K"+m.toString(16)}if(d instanceof Map)return d=JSON.stringify(Array.from(d), +l),null===g&&(g=new FormData),m=k++,g.append(b+m,d),"$Q"+m.toString(16);if(d instanceof Set)return d=JSON.stringify(Array.from(d),l),null===g&&(g=new FormData),m=k++,g.append(b+m,d),"$W"+m.toString(16);if(ca(d))return Array.from(d);m=G(d);if(m!==ea&&(null===m||null!==G(m)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return d}if("string"===typeof d){if("Z"===d[d.length-1]&&this[m]instanceof Date)return"$D"+d; +d="$"===d[0]?"$"+d:d;return d}if("boolean"===typeof d)return d;if("number"===typeof d)return fa(d);if("undefined"===typeof d)return"$undefined";if("function"===typeof d){d=I.get(d);if(void 0!==d)return d=JSON.stringify(d,l),null===g&&(g=new FormData),m=k++,g.set(b+m,d),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof d){m=d.description;if(Symbol.for(m)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(d.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof d)return"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported as an argument to a Server Function.");}var k=1,n=0,g=null;a=JSON.stringify(a,l);null===g?c(a):(g.set(b+"0",a),0===n&&c(g))}function J(a,b){I.set(a,b)}var K=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function L(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}L.prototype=Object.create(Promise.prototype); +L.prototype.then=function(a,b){switch(this.status){case "resolved_model":M(this);break;case "resolved_module":N(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ia(a){switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function O(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function P(a,b,c){switch(a.status){case "fulfilled":O(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&O(c,a.reason)}} +function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&O(c,b)}}function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,e=a.reason;a.status="resolved_module";a.value=b;null!==c&&(N(a),P(a,c,e))}}var T=null,U=null; +function M(a){var b=T,c=U;T=a;U=null;var e=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var l=JSON.parse(e,a._response._fromJSON);if(null!==U&&0<U.deps)U.value=l,a.status="blocked",a.value=null,a.reason=null;else{var k=a.value;a.status="fulfilled";a.value=l;null!==k&&O(k,l)}}catch(n){a.status="rejected",a.reason=n}finally{T=b,U=c}} +function N(a){try{var b=a.value,c=__turbopack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var e="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=e}catch(l){a.status="rejected",a.reason=l}}function V(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Q(c,b)})}function W(a,b){var c=a._chunks,e=c.get(b);e||(e=new L("pending",null,null,a),c.set(b,e));return e} +function ja(a,b,c,e){if(U){var l=U;e||l.deps++}else l=U={deps:e?0:1,value:null};return function(k){b[c]=k;l.deps--;0===l.deps&&"blocked"===a.status&&(k=a.value,a.status="fulfilled",a.value=l.value,null!==k&&O(k,l.value))}}function ka(a){return function(b){return Q(a,b)}} +function la(a,b){function c(){var l=Array.prototype.slice.call(arguments),k=b.bound;return k?"fulfilled"===k.status?e(b.id,k.value.concat(l)):Promise.resolve(k).then(function(n){return e(b.id,n.concat(l))}):e(b.id,l)}var e=a._callServer;J(c,b);return c}function X(a,b){a=W(a,b);switch(a.status){case "resolved_model":M(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function ma(a,b,c,e){if("$"===e[0]){if("$"===e)return B;switch(e[1]){case "$":return e.slice(1);case "L":return b=parseInt(e.slice(2),16),a=W(a,b),{$$typeof:ba,_payload:a,_init:ia};case "@":return b=parseInt(e.slice(2),16),W(a,b);case "S":return Symbol.for(e.slice(2));case "P":return a=e.slice(2),K[a]||(b={$$typeof:aa,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},K[a]=b),K[a].Provider;case "F":return b= +parseInt(e.slice(2),16),b=X(a,b),la(a,b);case "Q":return b=parseInt(e.slice(2),16),a=X(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=X(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=W(a,e);switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return e=T,a.then(ja(e,b,c,"cyclic"===a.status),ka(e)),null;default:throw a.reason;}}}return e}function na(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function Y(a,b,c,e){var l=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:na,_nonce:e,_chunks:l,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=oa(a);return a} +function pa(a,b,c){var e=a._chunks,l=e.get(b);c=JSON.parse(c,a._fromJSON);var k=v(a._bundlerConfig,c);if(c=z(k)){if(l){var n=l;n.status="blocked"}else n=new L("blocked",null,null,a),e.set(b,n);c.then(function(){return S(n,k)},function(g){return Q(n,g)})}else l?S(l,k):e.set(b,new L("resolved_module",k,null,a))} +function oa(a){return function(b,c){return"string"===typeof c?ma(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}} +function Z(a,b){function c(k){var n=k.value;if(k.done)V(a,Error("Connection closed."));else{var g=0,m=a._rowState,d=a._rowID,h=a._rowTag,f=a._rowLength;k=a._buffer;for(var D=n.length;g<D;){var p=-1;switch(m){case 0:p=n[g++];58===p?m=1:d=d<<4|(96<p?p-87:p-48);continue;case 1:m=n[g];84===m?(h=m,m=2,g++):64<m&&91>m?(h=m,m=3,g++):(h=0,m=3);continue;case 2:p=n[g++];44===p?m=4:f=f<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,g);break;case 4:p=g+f,p>n.length&&(p=-1)}var q=n.byteOffset+g;if(-1<p){g= +new Uint8Array(n.buffer,q,p-g);f=a;q=h;var R=f._stringDecoder;h="";for(var H=0;H<k.length;H++)h+=R.decode(k[H],u);h+=R.decode(g);switch(q){case 73:pa(f,d,h);break;case 72:d=h[0];h=h.slice(1);f=JSON.parse(h,f._fromJSON);if(h=A.current)switch(d){case "D":h.prefetchDNS(f);break;case "C":"string"===typeof f?h.preconnect(f):h.preconnect(f[0],f[1]);break;case "L":d=f[0];g=f[1];3===f.length?h.preload(d,g,f[2]):h.preload(d,g);break;case "m":"string"===typeof f?h.preloadModule(f):h.preloadModule(f[0],f[1]); break;case "S":"string"===typeof f?h.preinitStyle(f):h.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?h.preinitScript(f):h.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?h.preinitModuleScript(f):h.preinitModuleScript(f[0],f[1])}break;case 69:h=JSON.parse(h);g=h.digest;h=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -h.stack="Error: "+h.message;h.digest=g;g=f._chunks;(q=g.get(e))?R(q,h):g.set(e,new L("rejected",null,h,f));break;case 84:f._chunks.set(e,new L("fulfilled",h,null,f));break;default:g=f._chunks,(q=g.get(e))?(f=q,e=h,"pending"===f.status&&(h=f.value,g=f.reason,f.status="resolved_model",f.value=e,null!==h&&(M(f),P(f,h,g)))):g.set(e,new L("resolved_model",h,null,f))}g=p;3===m&&g++;f=e=h=m=0;l.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-g);l.push(n);f-=n.byteLength;break}}a._rowState=m;a._rowID= -e;a._rowTag=h;a._rowLength=f;return k.read().then(c).catch(d)}}function d(l){V(a,l)}var k=b.getReader();k.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=Y(null,null,b&&b.callServer?b.callServer:void 0,void 0);a.then(function(d){Z(c,d.body)},function(d){V(c,d)});return W(c,0)};exports.createFromReadableStream=function(a,b){b=Y(null,null,b&&b.callServer?b.callServer:void 0,void 0);Z(b,a);return W(b,0)}; -exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}J(c,{id:a,bound:null});return c};exports.encodeReply=function(a){return new Promise(function(b,c){ea(a,"",b,c)})}; +h.stack="Error: "+h.message;h.digest=g;g=f._chunks;(q=g.get(d))?Q(q,h):g.set(d,new L("rejected",null,h,f));break;case 84:f._chunks.set(d,new L("fulfilled",h,null,f));break;default:g=f._chunks,(q=g.get(d))?(f=q,d=h,"pending"===f.status&&(h=f.value,g=f.reason,f.status="resolved_model",f.value=d,null!==h&&(M(f),P(f,h,g)))):g.set(d,new L("resolved_model",h,null,f))}g=p;3===m&&g++;f=d=h=m=0;k.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-g);k.push(n);f-=n.byteLength;break}}a._rowState=m;a._rowID= +d;a._rowTag=h;a._rowLength=f;return l.read().then(c).catch(e)}}function e(k){V(a,k)}var l=b.getReader();l.read().then(c).catch(e)}exports.createFromFetch=function(a,b){var c=Y(null,null,b&&b.callServer?b.callServer:void 0,void 0);a.then(function(e){Z(c,e.body)},function(e){V(c,e)});return W(c,0)};exports.createFromReadableStream=function(a,b){b=Y(null,null,b&&b.callServer?b.callServer:void 0,void 0);Z(b,a);return W(b,0)}; +exports.createServerReference=function(a,b){function c(){var e=Array.prototype.slice.call(arguments);return b(a,e)}J(c,{id:a,bound:null});return c};exports.encodeReply=function(a){return new Promise(function(b,c){ha(a,"",b,c)})}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js index 73c5877e532fd..9bcb873c22364 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.development.js @@ -417,6 +417,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -435,7 +437,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -451,7 +453,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -727,6 +729,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -855,6 +858,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -901,33 +909,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1284,6 +1294,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1321,6 +1332,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1365,6 +1377,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1408,6 +1421,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1500,9 +1514,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1513,9 +1535,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1616,15 +1643,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1845,9 +1875,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; @@ -2258,8 +2289,17 @@ function createFromFetch(promiseForResponse, options) { return getRoot(response); } +function encodeReply(value) +/* We don't use URLSearchParams yet but maybe */ +{ + return new Promise(function (resolve, reject) { + processReply(value, '', resolve, reject); + }); +} + exports.createFromFetch = createFromFetch; exports.createFromReadableStream = createFromReadableStream; exports.createServerReference = createServerReference; +exports.encodeReply = encodeReply; })(); } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.min.js index d62820cdf557d..9a00f298bb518 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.edge.production.min.js @@ -8,33 +8,34 @@ * LICENSE file in the root directory of this source tree. */ 'use strict';var r=require("react-dom"),t=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map; -function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function z(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var g=b[d],l=w.get(g);if(void 0===l){l=globalThis.__next_chunk_load__(g);c.push(l);var n=w.set.bind(w,g,null);l.then(n,y);w.set(g,l)}else null!==l&&c.push(l)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} -function aa(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var g=c,l=A.current;if(l){var n=l.preinitScript,h=a.prefix+b[d];var m=a.crossOrigin;m="string"===typeof m?"use-credentials"===m?m:"":void 0;n.call(l,h,{crossOrigin:m,nonce:g})}}}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),ba=Symbol.for("react.provider"),ca=Symbol.for("react.server_context"),da=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),D=Symbol.iterator; -function ea(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var fa=Array.isArray,F=new WeakMap;function ha(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ia(a,b,c,d){function g(m,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===h&&(h=new FormData);n++;var k=l++;e.then(function(p){p=JSON.stringify(p,g);var q=h;q.append(b+k,p);n--;0===n&&c(q)},function(p){d(p)});return"$@"+k.toString(16)}if(e instanceof FormData){null===h&&(h=new FormData);var f=h;m=l++;var E=b+m+"_";e.forEach(function(p,q){f.append(E+q,p)});return"$K"+m.toString(16)}return e instanceof Map?(e=JSON.stringify(Array.from(e),g),null===h&& -(h=new FormData),m=l++,h.append(b+m,e),"$Q"+m.toString(16)):e instanceof Set?(e=JSON.stringify(Array.from(e),g),null===h&&(h=new FormData),m=l++,h.append(b+m,e),"$W"+m.toString(16)):!fa(e)&&ea(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[m]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return ha(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=F.get(e);if(void 0!==e)return e=JSON.stringify(e, -g),null===h&&(h=new FormData),m=l++,h.set(b+m,e),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){m=e.description;if(Symbol.for(m)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof e)return"$n"+ -e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var l=1,n=0,h=null;a=JSON.stringify(a,g);null===h?c(a):(h.set(b+"0",a),0===n&&c(h))}var G=new WeakMap;function ja(a){var b,c,d=new Promise(function(g,l){b=g;c=l});ia(a,"",function(g){if("string"===typeof g){var l=new FormData;l.append("0",g);g=l}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d} -function ka(a){var b=F.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=G.get(b);c||(c=ja(b),G.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,l){d.append("$ACTION_"+a+":"+l,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} -function la(a,b){var c=F.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(g){d.status="fulfilled";d.value=g},function(g){d.status="rejected";d.reason=g})),d;}} -function H(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ka},$$IS_SIGNATURE_EQUAL:{value:la},bind:{value:ma}});F.set(a,b)}var na=Function.prototype.bind,oa=Array.prototype.slice;function ma(){var a=na.apply(this,arguments),b=F.get(this);if(b){var c=oa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(c)}):Promise.resolve(c);H(a,{id:b.id,bound:d})}return a} -function pa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}H(c,{id:a,bound:null});return c}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype); -J.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function qa(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} +function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function aa(){} +function ba(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var f=b[d],h=w.get(f);if(void 0===h){h=globalThis.__next_chunk_load__(f);c.push(h);var n=w.set.bind(w,f,null);h.then(n,aa);w.set(f,h)}else null!==h&&c.push(h)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} +function ca(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var f=c,h=y.current;if(h){var n=h.preinitScript,k=a.prefix+b[d];var m=a.crossOrigin;m="string"===typeof m?"use-credentials"===m?m:"":void 0;n.call(h,k,{crossOrigin:m,nonce:f})}}}var y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),da=Symbol.for("react.provider"),ea=Symbol.for("react.server_context"),fa=Symbol.for("react.lazy"),A=Symbol.for("react.default_value"),B=Symbol.iterator; +function ha(a){if(null===a||"object"!==typeof a)return null;a=B&&a[B]||a["@@iterator"];return"function"===typeof a?a:null}var ia=Array.isArray,C=Object.getPrototypeOf,ja=Object.prototype,D=new WeakMap;function ka(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function F(a,b,c,d){function f(m,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===k&&(k=new FormData);n++;var l=h++;e.then(function(p){p=JSON.stringify(p,f);var q=k;q.append(b+l,p);n--;0===n&&c(q)},function(p){d(p)});return"$@"+l.toString(16)}if(ia(e))return e;if(e instanceof FormData){null===k&&(k=new FormData);var g=k;m=h++;var E=b+m+"_";e.forEach(function(p,q){g.append(E+q,p)});return"$K"+m.toString(16)}if(e instanceof Map)return e=JSON.stringify(Array.from(e), +f),null===k&&(k=new FormData),m=h++,k.append(b+m,e),"$Q"+m.toString(16);if(e instanceof Set)return e=JSON.stringify(Array.from(e),f),null===k&&(k=new FormData),m=h++,k.append(b+m,e),"$W"+m.toString(16);if(ha(e))return Array.from(e);m=C(e);if(m!==ja&&(null===m||null!==C(m)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[m]instanceof Date)return"$D"+e; +e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return ka(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=D.get(e);if(void 0!==e)return e=JSON.stringify(e,f),null===k&&(k=new FormData),m=h++,k.set(b+m,e),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){m=e.description;if(Symbol.for(m)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(e.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var h=1,n=0,k=null;a=JSON.stringify(a,f);null===k?c(a):(k.set(b+"0",a),0===n&&c(k))}var G=new WeakMap; +function la(a){var b,c,d=new Promise(function(f,h){b=f;c=h});F(a,"",function(f){if("string"===typeof f){var h=new FormData;h.append("0",f);f=h}d.status="fulfilled";d.value=f;b(f)},function(f){d.status="rejected";d.reason=f;c(f)});return d} +function ma(a){var b=D.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=G.get(b);c||(c=la(b),G.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(f,h){d.append("$ACTION_"+a+":"+h,f)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function na(a,b){var c=D.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(f){d.status="fulfilled";d.value=f},function(f){d.status="rejected";d.reason=f})),d;}} +function H(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ma},$$IS_SIGNATURE_EQUAL:{value:na},bind:{value:oa}});D.set(a,b)}var pa=Function.prototype.bind,qa=Array.prototype.slice;function oa(){var a=pa.apply(this,arguments),b=D.get(this);if(b){var c=qa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(f){return f.concat(c)}):Promise.resolve(c);H(a,{id:b.id,bound:d})}return a} +function ra(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}H(c,{id:a,bound:null});return c}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype); +J.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function sa(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&N(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(M(a),O(a,c,d))}}var R=null,S=null; -function L(a){var b=R,c=S;R=a;S=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==S&&0<S.deps?(S.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{R=b,S=c}} -function M(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(g){a.status="rejected",a.reason=g}}function U(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function V(a,b){var c=a._chunks,d=c.get(b);d||(d=new J("pending",null,null,a),c.set(b,d));return d} -function ra(a,b,c){if(S){var d=S;d.deps++}else d=S={deps:1,value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&N(g,d.value))}}function sa(a){return function(b){return P(a,b)}} -function ta(a,b){function c(){var g=Array.prototype.slice.call(arguments),l=b.bound;return l?"fulfilled"===l.status?d(b.id,l.value.concat(g)):Promise.resolve(l).then(function(n){return d(b.id,n.concat(g))}):d(b.id,g)}var d=a._callServer;H(c,b);return c}function W(a,b){a=V(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ua(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=V(a,b),{$$typeof:da,_payload:a,_init:qa};case "@":return b=parseInt(d.slice(2),16),V(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(b={$$typeof:ca,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ba,_context:b},I[a]=b),I[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=W(a,b),ta(a,b);case "Q":return b=parseInt(d.slice(2),16),a=W(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=W(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=V(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=R,a.then(ra(d,b,c),sa(d)),null;default:throw a.reason;}}}return d}function va(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} -function wa(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var l=v(a._bundlerConfig,c);aa(a._moduleLoading,c[1],a._nonce);if(c=z(l)){if(g){var n=g;n.status="blocked"}else n=new J("blocked",null,null,a),d.set(b,n);c.then(function(){return Q(n,l)},function(h){return P(n,h)})}else g?Q(g,l):d.set(b,new J("resolved_module",l,null,a))} -function xa(a){return function(b,c){return"string"===typeof c?ua(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading;a="string"===typeof a.nonce?a.nonce:void 0;var d=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:va,_nonce:a,_chunks:d,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=xa(b);return b} -function Z(a,b){function c(l){var n=l.value;if(l.done)U(a,Error("Connection closed."));else{var h=0,m=a._rowState,e=a._rowID,k=a._rowTag,f=a._rowLength;l=a._buffer;for(var E=n.length;h<E;){var p=-1;switch(m){case 0:p=n[h++];58===p?m=1:e=e<<4|(96<p?p-87:p-48);continue;case 1:m=n[h];84===m?(k=m,m=2,h++):64<m&&91>m?(k=m,m=3,h++):(k=0,m=3);continue;case 2:p=n[h++];44===p?m=4:f=f<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,h);break;case 4:p=h+f,p>n.length&&(p=-1)}var q=n.byteOffset+h;if(-1<p){h= -new Uint8Array(n.buffer,q,p-h);f=a;q=k;var T=f._stringDecoder;k="";for(var K=0;K<l.length;K++)k+=T.decode(l[K],u);k+=T.decode(h);switch(q){case 73:wa(f,e,k);break;case 72:e=k[0];k=k.slice(1);f=JSON.parse(k,f._fromJSON);if(k=A.current)switch(e){case "D":k.prefetchDNS(f);break;case "C":"string"===typeof f?k.preconnect(f):k.preconnect(f[0],f[1]);break;case "L":e=f[0];h=f[1];3===f.length?k.preload(e,h,f[2]):k.preload(e,h);break;case "m":"string"===typeof f?k.preloadModule(f):k.preloadModule(f[0],f[1]); -break;case "S":"string"===typeof f?k.preinitStyle(f):k.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?k.preinitScript(f):k.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?k.preinitModuleScript(f):k.preinitModuleScript(f[0],f[1])}break;case 69:k=JSON.parse(k);h=k.digest;k=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -k.stack="Error: "+k.message;k.digest=h;h=f._chunks;(q=h.get(e))?P(q,k):h.set(e,new J("rejected",null,k,f));break;case 84:f._chunks.set(e,new J("fulfilled",k,null,f));break;default:h=f._chunks,(q=h.get(e))?(f=q,e=k,"pending"===f.status&&(k=f.value,h=f.reason,f.status="resolved_model",f.value=e,null!==k&&(L(f),O(f,k,h)))):h.set(e,new J("resolved_model",k,null,f))}h=p;3===m&&h++;f=e=k=m=0;l.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-h);l.push(n);f-=n.byteLength;break}}a._rowState=m;a._rowID= -e;a._rowTag=k;a._rowLength=f;return g.read().then(c).catch(d)}}function d(l){U(a,l)}var g=b.getReader();g.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){U(c,d)});return V(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return V(b,0)};exports.createServerReference=function(a){return pa(a,X)}; +function L(a){var b=R,c=S;R=a;S=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var f=JSON.parse(d,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=f,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=f;null!==h&&N(h,f)}}catch(n){a.status="rejected",a.reason=n}finally{R=b,S=c}} +function M(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(f){a.status="rejected",a.reason=f}}function T(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function U(a,b){var c=a._chunks,d=c.get(b);d||(d=new J("pending",null,null,a),c.set(b,d));return d} +function ta(a,b,c,d){if(S){var f=S;d||f.deps++}else f=S={deps:d?0:1,value:null};return function(h){b[c]=h;f.deps--;0===f.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=f.value,null!==h&&N(h,f.value))}}function ua(a){return function(b){return P(a,b)}} +function va(a,b){function c(){var f=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(f)):Promise.resolve(h).then(function(n){return d(b.id,n.concat(f))}):d(b.id,f)}var d=a._callServer;H(c,b);return c}function W(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function wa(a,b,c,d){if("$"===d[0]){if("$"===d)return z;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:fa,_payload:a,_init:sa};case "@":return b=parseInt(d.slice(2),16),U(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(b={$$typeof:ea,_currentValue:A,_currentValue2:A,_defaultValue:A,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:da,_context:b},I[a]=b),I[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=W(a,b),va(a,b);case "Q":return b=parseInt(d.slice(2),16),a=W(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=W(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=R,a.then(ta(d,b,c,"cyclic"===a.status),ua(d)),null;default:throw a.reason;}}}return d}function xa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function ya(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var h=v(a._bundlerConfig,c);ca(a._moduleLoading,c[1],a._nonce);if(c=ba(h)){if(f){var n=f;n.status="blocked"}else n=new J("blocked",null,null,a),d.set(b,n);c.then(function(){return Q(n,h)},function(k){return P(n,k)})}else f?Q(f,h):d.set(b,new J("resolved_module",h,null,a))} +function za(a){return function(b,c){return"string"===typeof c?wa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===z?{$$typeof:z,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading;a="string"===typeof a.nonce?a.nonce:void 0;var d=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:xa,_nonce:a,_chunks:d,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=za(b);return b} +function Z(a,b){function c(h){var n=h.value;if(h.done)T(a,Error("Connection closed."));else{var k=0,m=a._rowState,e=a._rowID,l=a._rowTag,g=a._rowLength;h=a._buffer;for(var E=n.length;k<E;){var p=-1;switch(m){case 0:p=n[k++];58===p?m=1:e=e<<4|(96<p?p-87:p-48);continue;case 1:m=n[k];84===m?(l=m,m=2,k++):64<m&&91>m?(l=m,m=3,k++):(l=0,m=3);continue;case 2:p=n[k++];44===p?m=4:g=g<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,k);break;case 4:p=k+g,p>n.length&&(p=-1)}var q=n.byteOffset+k;if(-1<p){k= +new Uint8Array(n.buffer,q,p-k);g=a;q=l;var V=g._stringDecoder;l="";for(var K=0;K<h.length;K++)l+=V.decode(h[K],u);l+=V.decode(k);switch(q){case 73:ya(g,e,l);break;case 72:e=l[0];l=l.slice(1);g=JSON.parse(l,g._fromJSON);if(l=y.current)switch(e){case "D":l.prefetchDNS(g);break;case "C":"string"===typeof g?l.preconnect(g):l.preconnect(g[0],g[1]);break;case "L":e=g[0];k=g[1];3===g.length?l.preload(e,k,g[2]):l.preload(e,k);break;case "m":"string"===typeof g?l.preloadModule(g):l.preloadModule(g[0],g[1]); +break;case "S":"string"===typeof g?l.preinitStyle(g):l.preinitStyle(g[0],0===g[1]?void 0:g[1],3===g.length?g[2]:void 0);break;case "X":"string"===typeof g?l.preinitScript(g):l.preinitScript(g[0],g[1]);break;case "M":"string"===typeof g?l.preinitModuleScript(g):l.preinitModuleScript(g[0],g[1])}break;case 69:l=JSON.parse(l);k=l.digest;l=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); +l.stack="Error: "+l.message;l.digest=k;k=g._chunks;(q=k.get(e))?P(q,l):k.set(e,new J("rejected",null,l,g));break;case 84:g._chunks.set(e,new J("fulfilled",l,null,g));break;default:k=g._chunks,(q=k.get(e))?(g=q,e=l,"pending"===g.status&&(l=g.value,k=g.reason,g.status="resolved_model",g.value=e,null!==l&&(L(g),O(g,l,k)))):k.set(e,new J("resolved_model",l,null,g))}k=p;3===m&&k++;g=e=l=m=0;h.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-k);h.push(n);g-=n.byteLength;break}}a._rowState=m;a._rowID= +e;a._rowTag=l;a._rowLength=g;return f.read().then(c).catch(d)}}function d(h){T(a,h)}var f=b.getReader();f.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){T(c,d)});return U(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return U(b,0)};exports.createServerReference=function(a){return ra(a,X)};exports.encodeReply=function(a){return new Promise(function(b,c){F(a,"",b,c)})}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js index 3b39bddc3d333..042f1e1ca67e6 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.development.js @@ -418,6 +418,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -436,7 +438,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -452,7 +454,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -728,6 +730,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -856,6 +859,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -902,33 +910,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1285,6 +1295,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1322,6 +1333,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1366,6 +1378,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1409,6 +1422,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1501,9 +1515,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1514,9 +1536,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1617,15 +1644,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1846,9 +1876,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.min.js index 10b2c99d51c0b..cbb80231af4c2 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.min.js @@ -10,30 +10,32 @@ 'use strict';var p=require("util"),r=require("react-dom"),u=require("react"),v={stream:!0};function w(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var x=new Map; function y(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function z(){} function A(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var g=b[d],h=x.get(g);if(void 0===h){h=globalThis.__next_chunk_load__(g);c.push(h);var l=x.set.bind(x,g,null);h.then(l,z);x.set(g,h)}else null!==h&&c.push(h)}return 4===a.length?0===c.length?y(a[0]):Promise.all(c).then(function(){return y(a[0])}):0<c.length?Promise.all(c):null} -function B(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var g=c,h=C.current;if(h){var l=h.preinitScript,k=a.prefix+b[d];var f=a.crossOrigin;f="string"===typeof f?"use-credentials"===f?f:"":void 0;l.call(h,k,{crossOrigin:f,nonce:g})}}}var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,D=Symbol.for("react.element"),F=Symbol.for("react.provider"),G=Symbol.for("react.server_context"),aa=Symbol.for("react.lazy"),H=Symbol.for("react.default_value"),I=Symbol.iterator; -function ba(a){if(null===a||"object"!==typeof a)return null;a=I&&a[I]||a["@@iterator"];return"function"===typeof a?a:null}var ca=Array.isArray,J=new WeakMap;function da(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ea(a,b,c,d){function g(f,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===k&&(k=new FormData);l++;var t=h++;e.then(function(n){n=JSON.stringify(n,g);var q=k;q.append(b+t,n);l--;0===l&&c(q)},function(n){d(n)});return"$@"+t.toString(16)}if(e instanceof FormData){null===k&&(k=new FormData);var E=k;f=h++;var m=b+f+"_";e.forEach(function(n,q){E.append(m+q,n)});return"$K"+f.toString(16)}return e instanceof Map?(e=JSON.stringify(Array.from(e),g),null===k&& -(k=new FormData),f=h++,k.append(b+f,e),"$Q"+f.toString(16)):e instanceof Set?(e=JSON.stringify(Array.from(e),g),null===k&&(k=new FormData),f=h++,k.append(b+f,e),"$W"+f.toString(16)):!ca(e)&&ba(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[f]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return da(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=J.get(e);if(void 0!==e)return e=JSON.stringify(e, -g),null===k&&(k=new FormData),f=h++,k.set(b+f,e),"$F"+f.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){f=e.description;if(Symbol.for(f)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+f}if("bigint"===typeof e)return"$n"+ -e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var h=1,l=0,k=null;a=JSON.stringify(a,g);null===k?c(a):(k.set(b+"0",a),0===l&&c(k))}var K=new WeakMap;function fa(a){var b,c,d=new Promise(function(g,h){b=g;c=h});ea(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d} -function ha(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=K.get(b);c||(c=fa(b),K.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,h){d.append("$ACTION_"+a+":"+h,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} -function ia(a,b){var c=J.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(g){d.status="fulfilled";d.value=g},function(g){d.status="rejected";d.reason=g})),d;}} -function L(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ha},$$IS_SIGNATURE_EQUAL:{value:ia},bind:{value:ja}});J.set(a,b)}var ka=Function.prototype.bind,la=Array.prototype.slice;function ja(){var a=ka.apply(this,arguments),b=J.get(this);if(b){var c=la.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(c)}):Promise.resolve(c);L(a,{id:b.id,bound:d})}return a} -function ma(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}L(c,{id:a,bound:null});return c}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}N.prototype=Object.create(Promise.prototype); -N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function na(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function Q(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function R(a,b,c){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&Q(c,a.reason)}} +function B(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var g=c,h=C.current;if(h){var l=h.preinitScript,k=a.prefix+b[d];var e=a.crossOrigin;e="string"===typeof e?"use-credentials"===e?e:"":void 0;l.call(h,k,{crossOrigin:e,nonce:g})}}}var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,D=Symbol.for("react.element"),F=Symbol.for("react.provider"),aa=Symbol.for("react.server_context"),ba=Symbol.for("react.lazy"),G=Symbol.for("react.default_value"),H=Symbol.iterator; +function ca(a){if(null===a||"object"!==typeof a)return null;a=H&&a[H]||a["@@iterator"];return"function"===typeof a?a:null}var da=Array.isArray,I=Object.getPrototypeOf,ea=Object.prototype,J=new WeakMap;function fa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ha(a,b,c,d){function g(e,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===k&&(k=new FormData);l++;var t=h++;f.then(function(n){n=JSON.stringify(n,g);var q=k;q.append(b+t,n);l--;0===l&&c(q)},function(n){d(n)});return"$@"+t.toString(16)}if(da(f))return f;if(f instanceof FormData){null===k&&(k=new FormData);var E=k;e=h++;var m=b+e+"_";f.forEach(function(n,q){E.append(m+q,n)});return"$K"+e.toString(16)}if(f instanceof Map)return f=JSON.stringify(Array.from(f), +g),null===k&&(k=new FormData),e=h++,k.append(b+e,f),"$Q"+e.toString(16);if(f instanceof Set)return f=JSON.stringify(Array.from(f),g),null===k&&(k=new FormData),e=h++,k.append(b+e,f),"$W"+e.toString(16);if(ca(f))return Array.from(f);e=I(f);if(e!==ea&&(null===e||null!==I(e)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return f}if("string"===typeof f){if("Z"===f[f.length-1]&&this[e]instanceof Date)return"$D"+f; +f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return fa(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=J.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===k&&(k=new FormData),e=h++,k.set(b+e,f),"$F"+e.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){e=f.description;if(Symbol.for(e)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(f.description+") cannot be found among global symbols."));return"$S"+e}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var h=1,l=0,k=null;a=JSON.stringify(a,g);null===k?c(a):(k.set(b+"0",a),0===l&&c(k))}var K=new WeakMap; +function ia(a){var b,c,d=new Promise(function(g,h){b=g;c=h});ha(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d} +function ja(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=K.get(b);c||(c=ia(b),K.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,h){d.append("$ACTION_"+a+":"+h,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function ka(a,b){var c=J.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(g){d.status="fulfilled";d.value=g},function(g){d.status="rejected";d.reason=g})),d;}} +function L(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ja},$$IS_SIGNATURE_EQUAL:{value:ka},bind:{value:la}});J.set(a,b)}var ma=Function.prototype.bind,na=Array.prototype.slice;function la(){var a=ma.apply(this,arguments),b=J.get(this);if(b){var c=na.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(c)}):Promise.resolve(c);L(a,{id:b.id,bound:d})}return a} +function oa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}L(c,{id:a,bound:null});return c}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}N.prototype=Object.create(Promise.prototype); +N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function pa(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function Q(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function R(a,b,c){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&Q(c,a.reason)}} function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Q(c,b)}}function T(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(P(a),R(a,c,d))}}var U=null,V=null; -function O(a){var b=U,c=V;U=a;V=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==V&&0<V.deps?(V.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{U=b,V=c}} +function O(a){var b=U,c=V;U=a;V=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var g=JSON.parse(d,a._response._fromJSON);if(null!==V&&0<V.deps)V.value=g,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=g;null!==h&&Q(h,g)}}catch(l){a.status="rejected",a.reason=l}finally{U=b,V=c}} function P(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(g){a.status="rejected",a.reason=g}}function W(a,b){a._chunks.forEach(function(c){"pending"===c.status&&S(c,b)})}function X(a,b){var c=a._chunks,d=c.get(b);d||(d=new N("pending",null,null,a),c.set(b,d));return d} -function oa(a,b,c){if(V){var d=V;d.deps++}else d=V={deps:1,value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&Q(g,d.value))}}function pa(a){return function(b){return S(a,b)}} -function qa(a,b){function c(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(g)):Promise.resolve(h).then(function(l){return d(b.id,l.concat(g))}):d(b.id,g)}var d=a._callServer;L(c,b);return c}function Y(a,b){a=X(a,b);switch(a.status){case "resolved_model":O(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ra(a,b,c,d){if("$"===d[0]){if("$"===d)return D;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=X(a,b),{$$typeof:aa,_payload:a,_init:na};case "@":return b=parseInt(d.slice(2),16),X(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),M[a]||(b={$$typeof:G,_currentValue:H,_currentValue2:H,_defaultValue:H,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:F,_context:b},M[a]=b),M[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=Y(a,b),qa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=Y(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Y(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=X(a,d);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=U,a.then(oa(d,b,c),pa(d)),null;default:throw a.reason;}}}return d}function sa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ta(a,b,c,d){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:sa,_nonce:d,_chunks:g,_stringDecoder:new p.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ua(a);return a} -function va(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var h=w(a._bundlerConfig,c);B(a._moduleLoading,c[1],a._nonce);if(c=A(h)){if(g){var l=g;l.status="blocked"}else l=new N("blocked",null,null,a),d.set(b,l);c.then(function(){return T(l,h)},function(k){return S(l,k)})}else g?T(g,h):d.set(b,new N("resolved_module",h,null,a))} -function ua(a){return function(b,c){return"string"===typeof c?ra(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===D?{$$typeof:D,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -exports.createFromNodeStream=function(a,b,c){var d=ta(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(g){for(var h=0,l=d._rowState,k=d._rowID,f=d._rowTag,e=d._rowLength,t=d._buffer,E=g.length;h<E;){var m=-1;switch(l){case 0:m=g[h++];58===m?l=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:l=g[h];84===l?(f=l,l=2,h++):64<l&&91>l?(f=l,l=3,h++):(f=0,l=3);continue;case 2:m=g[h++];44===m?l=4:e=e<<4|(96<m?m-87:m-48);continue;case 3:m=g.indexOf(10,h);break;case 4:m= -h+e,m>g.length&&(m=-1)}var n=g.byteOffset+h;if(-1<m){e=new Uint8Array(g.buffer,n,m-h);h=f;n=d._stringDecoder;f="";for(var q=0;q<t.length;q++)f+=n.decode(t[q],v);f+=n.decode(e);switch(h){case 73:va(d,k,f);break;case 72:k=f[0];f=f.slice(1);f=JSON.parse(f,d._fromJSON);if(e=C.current)switch(k){case "D":e.prefetchDNS(f);break;case "C":"string"===typeof f?e.preconnect(f):e.preconnect(f[0],f[1]);break;case "L":k=f[0];h=f[1];3===f.length?e.preload(k,h,f[2]):e.preload(k,h);break;case "m":"string"===typeof f? -e.preloadModule(f):e.preloadModule(f[0],f[1]);break;case "S":"string"===typeof f?e.preinitStyle(f):e.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?e.preinitScript(f):e.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?e.preinitModuleScript(f):e.preinitModuleScript(f[0],f[1])}break;case 69:f=JSON.parse(f);e=f.digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=e;e=d._chunks;(h=e.get(k))?S(h,f):e.set(k,new N("rejected",null,f,d));break;case 84:d._chunks.set(k,new N("fulfilled",f,null,d));break;default:e=d._chunks,(h=e.get(k))?(k=h,"pending"===k.status&&(e=k.value,h=k.reason,k.status="resolved_model",k.value=f,null!==e&&(O(k),R(k,e,h)))):e.set(k,new N("resolved_model",f,null,d))}h=m;3===l&&h++;e=k=f=l=0;t.length=0}else{g=new Uint8Array(g.buffer,n,g.byteLength-h);t.push(g);e-=g.byteLength;break}}d._rowState=l;d._rowID= -k;d._rowTag=f;d._rowLength=e});a.on("error",function(g){W(d,g)});a.on("end",function(){W(d,Error("Connection closed."))});return X(d,0)};exports.createServerReference=function(a){return ma(a,Z)}; +function qa(a,b,c,d){if(V){var g=V;d||g.deps++}else g=V={deps:d?0:1,value:null};return function(h){b[c]=h;g.deps--;0===g.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=g.value,null!==h&&Q(h,g.value))}}function ra(a){return function(b){return S(a,b)}} +function sa(a,b){function c(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(g)):Promise.resolve(h).then(function(l){return d(b.id,l.concat(g))}):d(b.id,g)}var d=a._callServer;L(c,b);return c}function Y(a,b){a=X(a,b);switch(a.status){case "resolved_model":O(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function ta(a,b,c,d){if("$"===d[0]){if("$"===d)return D;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=X(a,b),{$$typeof:ba,_payload:a,_init:pa};case "@":return b=parseInt(d.slice(2),16),X(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),M[a]||(b={$$typeof:aa,_currentValue:G,_currentValue2:G,_defaultValue:G,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:F,_context:b},M[a]=b),M[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=Y(a,b),sa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=Y(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Y(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=X(a,d);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=U,a.then(qa(d,b,c,"cyclic"===a.status),ra(d)),null;default:throw a.reason;}}}return d}function ua(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function va(a,b,c,d){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:ua,_nonce:d,_chunks:g,_stringDecoder:new p.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=wa(a);return a} +function xa(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var h=w(a._bundlerConfig,c);B(a._moduleLoading,c[1],a._nonce);if(c=A(h)){if(g){var l=g;l.status="blocked"}else l=new N("blocked",null,null,a),d.set(b,l);c.then(function(){return T(l,h)},function(k){return S(l,k)})}else g?T(g,h):d.set(b,new N("resolved_module",h,null,a))} +function wa(a){return function(b,c){return"string"===typeof c?ta(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===D?{$$typeof:D,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +exports.createFromNodeStream=function(a,b,c){var d=va(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(g){for(var h=0,l=d._rowState,k=d._rowID,e=d._rowTag,f=d._rowLength,t=d._buffer,E=g.length;h<E;){var m=-1;switch(l){case 0:m=g[h++];58===m?l=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:l=g[h];84===l?(e=l,l=2,h++):64<l&&91>l?(e=l,l=3,h++):(e=0,l=3);continue;case 2:m=g[h++];44===m?l=4:f=f<<4|(96<m?m-87:m-48);continue;case 3:m=g.indexOf(10,h);break;case 4:m= +h+f,m>g.length&&(m=-1)}var n=g.byteOffset+h;if(-1<m){f=new Uint8Array(g.buffer,n,m-h);h=e;n=d._stringDecoder;e="";for(var q=0;q<t.length;q++)e+=n.decode(t[q],v);e+=n.decode(f);switch(h){case 73:xa(d,k,e);break;case 72:k=e[0];e=e.slice(1);e=JSON.parse(e,d._fromJSON);if(f=C.current)switch(k){case "D":f.prefetchDNS(e);break;case "C":"string"===typeof e?f.preconnect(e):f.preconnect(e[0],e[1]);break;case "L":k=e[0];h=e[1];3===e.length?f.preload(k,h,e[2]):f.preload(k,h);break;case "m":"string"===typeof e? +f.preloadModule(e):f.preloadModule(e[0],e[1]);break;case "S":"string"===typeof e?f.preinitStyle(e):f.preinitStyle(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case "X":"string"===typeof e?f.preinitScript(e):f.preinitScript(e[0],e[1]);break;case "M":"string"===typeof e?f.preinitModuleScript(e):f.preinitModuleScript(e[0],e[1])}break;case 69:e=JSON.parse(e);f=e.digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); +e.stack="Error: "+e.message;e.digest=f;f=d._chunks;(h=f.get(k))?S(h,e):f.set(k,new N("rejected",null,e,d));break;case 84:d._chunks.set(k,new N("fulfilled",e,null,d));break;default:f=d._chunks,(h=f.get(k))?(k=h,"pending"===k.status&&(f=k.value,h=k.reason,k.status="resolved_model",k.value=e,null!==f&&(O(k),R(k,f,h)))):f.set(k,new N("resolved_model",e,null,d))}h=m;3===l&&h++;f=k=e=l=0;t.length=0}else{g=new Uint8Array(g.buffer,n,g.byteLength-h);t.push(g);f-=g.byteLength;break}}d._rowState=l;d._rowID= +k;d._rowTag=e;d._rowLength=f});a.on("error",function(g){W(d,g)});a.on("end",function(){W(d,Error("Connection closed."))});return X(d,0)};exports.createServerReference=function(a){return oa(a,Z)}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.unbundled.development.js index 875bf05eb74e5..6a5bd4d9b774d 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.unbundled.development.js @@ -373,6 +373,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -391,7 +393,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -407,7 +409,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -683,6 +685,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -811,6 +814,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -857,33 +865,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1240,6 +1250,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1277,6 +1288,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1321,6 +1333,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1364,6 +1377,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1456,9 +1470,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1469,9 +1491,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1572,15 +1599,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1801,9 +1831,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js index a33685122a500..62c10abc50e76 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js @@ -9,29 +9,31 @@ */ 'use strict';var p=require("util"),r=require("react-dom"),u=require("react"),v={stream:!0};function w(a,b){var d=a[b[0]];if(a=d[b[2]])d=a.name;else{a=d["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');d=b[2]}return{specifier:a.specifier,name:d,async:4===b.length}}var x=new Map; function y(a){var b=x.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var g=d;g.status="fulfilled";g.value=c},function(c){var g=d;g.status="rejected";g.reason=c});x.set(a.specifier,d);return d} -function z(a,b,d){if(null!==a)for(var c=0;c<b.length;c++){var g=d,h=A.current;if(h){var l=h.preinitScript,k=a.prefix+b[c];var f=a.crossOrigin;f="string"===typeof f?"use-credentials"===f?f:"":void 0;l.call(h,k,{crossOrigin:f,nonce:g})}}}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),D=Symbol.for("react.server_context"),F=Symbol.for("react.lazy"),G=Symbol.for("react.default_value"),H=Symbol.iterator; -function I(a){if(null===a||"object"!==typeof a)return null;a=H&&a[H]||a["@@iterator"];return"function"===typeof a?a:null}var aa=Array.isArray,J=new WeakMap;function ba(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ca(a,b,d,c){function g(f,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===k&&(k=new FormData);l++;var t=h++;e.then(function(n){n=JSON.stringify(n,g);var q=k;q.append(b+t,n);l--;0===l&&d(q)},function(n){c(n)});return"$@"+t.toString(16)}if(e instanceof FormData){null===k&&(k=new FormData);var E=k;f=h++;var m=b+f+"_";e.forEach(function(n,q){E.append(m+q,n)});return"$K"+f.toString(16)}return e instanceof Map?(e=JSON.stringify(Array.from(e),g),null===k&& -(k=new FormData),f=h++,k.append(b+f,e),"$Q"+f.toString(16)):e instanceof Set?(e=JSON.stringify(Array.from(e),g),null===k&&(k=new FormData),f=h++,k.append(b+f,e),"$W"+f.toString(16)):!aa(e)&&I(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[f]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return ba(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=J.get(e);if(void 0!==e)return e=JSON.stringify(e, -g),null===k&&(k=new FormData),f=h++,k.set(b+f,e),"$F"+f.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){f=e.description;if(Symbol.for(f)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+f}if("bigint"===typeof e)return"$n"+ -e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var h=1,l=0,k=null;a=JSON.stringify(a,g);null===k?d(a):(k.set(b+"0",a),0===l&&d(k))}var K=new WeakMap;function da(a){var b,d,c=new Promise(function(g,h){b=g;d=h});ca(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}c.status="fulfilled";c.value=g;b(g)},function(g){c.status="rejected";c.reason=g;d(g)});return c} -function ea(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var d=null;if(null!==b.bound){d=K.get(b);d||(d=da(b),K.set(b,d));if("rejected"===d.status)throw d.reason;if("fulfilled"!==d.status)throw d;b=d.value;var c=new FormData;b.forEach(function(g,h){c.append("$ACTION_"+a+":"+h,g)});d=c;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:d}} -function fa(a,b){var d=J.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(d.id!==a)return!1;var c=d.bound;if(null===c)return 0===b;switch(c.status){case "fulfilled":return c.value.length===b;case "pending":throw c;case "rejected":throw c.reason;default:throw"string"!==typeof c.status&&(c.status="pending",c.then(function(g){c.status="fulfilled";c.value=g},function(g){c.status="rejected";c.reason=g})),c;}} -function L(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ea},$$IS_SIGNATURE_EQUAL:{value:fa},bind:{value:ha}});J.set(a,b)}var ia=Function.prototype.bind,ja=Array.prototype.slice;function ha(){var a=ia.apply(this,arguments),b=J.get(this);if(b){var d=ja.call(arguments,1),c=null;c=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(d)}):Promise.resolve(d);L(a,{id:b.id,bound:c})}return a} -function ka(a,b){function d(){var c=Array.prototype.slice.call(arguments);return b(a,c)}L(d,{id:a,bound:null});return d}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}N.prototype=Object.create(Promise.prototype); -N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function la(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function Q(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function R(a,b,d){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=d;break;case "rejected":d&&Q(d,a.reason)}} +function z(a,b,d){if(null!==a)for(var c=0;c<b.length;c++){var g=d,h=A.current;if(h){var l=h.preinitScript,k=a.prefix+b[c];var e=a.crossOrigin;e="string"===typeof e?"use-credentials"===e?e:"":void 0;l.call(h,k,{crossOrigin:e,nonce:g})}}}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),D=Symbol.for("react.server_context"),F=Symbol.for("react.lazy"),G=Symbol.for("react.default_value"),H=Symbol.iterator; +function aa(a){if(null===a||"object"!==typeof a)return null;a=H&&a[H]||a["@@iterator"];return"function"===typeof a?a:null}var ba=Array.isArray,I=Object.getPrototypeOf,ca=Object.prototype,J=new WeakMap;function da(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ea(a,b,d,c){function g(e,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===k&&(k=new FormData);l++;var t=h++;f.then(function(n){n=JSON.stringify(n,g);var q=k;q.append(b+t,n);l--;0===l&&d(q)},function(n){c(n)});return"$@"+t.toString(16)}if(ba(f))return f;if(f instanceof FormData){null===k&&(k=new FormData);var E=k;e=h++;var m=b+e+"_";f.forEach(function(n,q){E.append(m+q,n)});return"$K"+e.toString(16)}if(f instanceof Map)return f=JSON.stringify(Array.from(f), +g),null===k&&(k=new FormData),e=h++,k.append(b+e,f),"$Q"+e.toString(16);if(f instanceof Set)return f=JSON.stringify(Array.from(f),g),null===k&&(k=new FormData),e=h++,k.append(b+e,f),"$W"+e.toString(16);if(aa(f))return Array.from(f);e=I(f);if(e!==ca&&(null===e||null!==I(e)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return f}if("string"===typeof f){if("Z"===f[f.length-1]&&this[e]instanceof Date)return"$D"+f; +f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return da(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=J.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===k&&(k=new FormData),e=h++,k.set(b+e,f),"$F"+e.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){e=f.description;if(Symbol.for(e)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(f.description+") cannot be found among global symbols."));return"$S"+e}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var h=1,l=0,k=null;a=JSON.stringify(a,g);null===k?d(a):(k.set(b+"0",a),0===l&&d(k))}var K=new WeakMap; +function fa(a){var b,d,c=new Promise(function(g,h){b=g;d=h});ea(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}c.status="fulfilled";c.value=g;b(g)},function(g){c.status="rejected";c.reason=g;d(g)});return c} +function ha(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var d=null;if(null!==b.bound){d=K.get(b);d||(d=fa(b),K.set(b,d));if("rejected"===d.status)throw d.reason;if("fulfilled"!==d.status)throw d;b=d.value;var c=new FormData;b.forEach(function(g,h){c.append("$ACTION_"+a+":"+h,g)});d=c;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:d}} +function ia(a,b){var d=J.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(d.id!==a)return!1;var c=d.bound;if(null===c)return 0===b;switch(c.status){case "fulfilled":return c.value.length===b;case "pending":throw c;case "rejected":throw c.reason;default:throw"string"!==typeof c.status&&(c.status="pending",c.then(function(g){c.status="fulfilled";c.value=g},function(g){c.status="rejected";c.reason=g})),c;}} +function L(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ha},$$IS_SIGNATURE_EQUAL:{value:ia},bind:{value:ja}});J.set(a,b)}var ka=Function.prototype.bind,la=Array.prototype.slice;function ja(){var a=ka.apply(this,arguments),b=J.get(this);if(b){var d=la.call(arguments,1),c=null;c=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(d)}):Promise.resolve(d);L(a,{id:b.id,bound:c})}return a} +function ma(a,b){function d(){var c=Array.prototype.slice.call(arguments);return b(a,c)}L(d,{id:a,bound:null});return d}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}N.prototype=Object.create(Promise.prototype); +N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function na(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function Q(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function R(a,b,d){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=d;break;case "rejected":d&&Q(d,a.reason)}} function S(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Q(d,b)}}function T(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.value,c=a.reason;a.status="resolved_module";a.value=b;null!==d&&(P(a),R(a,d,c))}}var U=null,V=null; -function O(a){var b=U,d=V;U=a;V=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==V&&0<V.deps?(V.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(g){a.status="rejected",a.reason=g}finally{U=b,V=d}}function P(a){try{var b=a.value,d=x.get(b.specifier);if("fulfilled"===d.status)var c=d.value;else throw d.reason;var g="*"===b.name?c:""===b.name?c.default:c[b.name];a.status="fulfilled";a.value=g}catch(h){a.status="rejected",a.reason=h}} -function W(a,b){a._chunks.forEach(function(d){"pending"===d.status&&S(d,b)})}function X(a,b){var d=a._chunks,c=d.get(b);c||(c=new N("pending",null,null,a),d.set(b,c));return c}function ma(a,b,d){if(V){var c=V;c.deps++}else c=V={deps:1,value:null};return function(g){b[d]=g;c.deps--;0===c.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=c.value,null!==g&&Q(g,c.value))}}function na(a){return function(b){return S(a,b)}} -function oa(a,b){function d(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?c(b.id,h.value.concat(g)):Promise.resolve(h).then(function(l){return c(b.id,l.concat(g))}):c(b.id,g)}var c=a._callServer;L(d,b);return d}function Y(a,b){a=X(a,b);switch(a.status){case "resolved_model":O(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function pa(a,b,d,c){if("$"===c[0]){if("$"===c)return B;switch(c[1]){case "$":return c.slice(1);case "L":return b=parseInt(c.slice(2),16),a=X(a,b),{$$typeof:F,_payload:a,_init:la};case "@":return b=parseInt(c.slice(2),16),X(a,b);case "S":return Symbol.for(c.slice(2));case "P":return a=c.slice(2),M[a]||(b={$$typeof:D,_currentValue:G,_currentValue2:G,_defaultValue:G,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},M[a]=b),M[a].Provider;case "F":return b=parseInt(c.slice(2), -16),b=Y(a,b),oa(a,b);case "Q":return b=parseInt(c.slice(2),16),a=Y(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Y(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=X(a,c);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c= -U,a.then(ma(c,b,d),na(c)),null;default:throw a.reason;}}}return c}function qa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ra(a,b,d,c){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==d?d:qa,_nonce:c,_chunks:g,_stringDecoder:new p.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=sa(a);return a} -function ta(a,b,d){var c=a._chunks,g=c.get(b);d=JSON.parse(d,a._fromJSON);var h=w(a._bundlerConfig,d);z(a._moduleLoading,d[1],a._nonce);if(d=y(h)){if(g){var l=g;l.status="blocked"}else l=new N("blocked",null,null,a),c.set(b,l);d.then(function(){return T(l,h)},function(k){return S(l,k)})}else g?T(g,h):c.set(b,new N("resolved_module",h,null,a))} -function sa(a){return function(b,d){return"string"===typeof d?pa(a,this,b,d):"object"===typeof d&&null!==d?(b=d[0]===B?{$$typeof:B,type:d[1],key:d[2],ref:null,props:d[3],_owner:null}:d,b):d}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -exports.createFromNodeStream=function(a,b,d){var c=ra(b.moduleMap,b.moduleLoading,Z,d&&"string"===typeof d.nonce?d.nonce:void 0);a.on("data",function(g){for(var h=0,l=c._rowState,k=c._rowID,f=c._rowTag,e=c._rowLength,t=c._buffer,E=g.length;h<E;){var m=-1;switch(l){case 0:m=g[h++];58===m?l=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:l=g[h];84===l?(f=l,l=2,h++):64<l&&91>l?(f=l,l=3,h++):(f=0,l=3);continue;case 2:m=g[h++];44===m?l=4:e=e<<4|(96<m?m-87:m-48);continue;case 3:m=g.indexOf(10,h);break;case 4:m= -h+e,m>g.length&&(m=-1)}var n=g.byteOffset+h;if(-1<m){e=new Uint8Array(g.buffer,n,m-h);h=f;n=c._stringDecoder;f="";for(var q=0;q<t.length;q++)f+=n.decode(t[q],v);f+=n.decode(e);switch(h){case 73:ta(c,k,f);break;case 72:k=f[0];f=f.slice(1);f=JSON.parse(f,c._fromJSON);if(e=A.current)switch(k){case "D":e.prefetchDNS(f);break;case "C":"string"===typeof f?e.preconnect(f):e.preconnect(f[0],f[1]);break;case "L":k=f[0];h=f[1];3===f.length?e.preload(k,h,f[2]):e.preload(k,h);break;case "m":"string"===typeof f? -e.preloadModule(f):e.preloadModule(f[0],f[1]);break;case "S":"string"===typeof f?e.preinitStyle(f):e.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?e.preinitScript(f):e.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?e.preinitModuleScript(f):e.preinitModuleScript(f[0],f[1])}break;case 69:f=JSON.parse(f);e=f.digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=e;e=c._chunks;(h=e.get(k))?S(h,f):e.set(k,new N("rejected",null,f,c));break;case 84:c._chunks.set(k,new N("fulfilled",f,null,c));break;default:e=c._chunks,(h=e.get(k))?(k=h,"pending"===k.status&&(e=k.value,h=k.reason,k.status="resolved_model",k.value=f,null!==e&&(O(k),R(k,e,h)))):e.set(k,new N("resolved_model",f,null,c))}h=m;3===l&&h++;e=k=f=l=0;t.length=0}else{g=new Uint8Array(g.buffer,n,g.byteLength-h);t.push(g);e-=g.byteLength;break}}c._rowState=l;c._rowID= -k;c._rowTag=f;c._rowLength=e});a.on("error",function(g){W(c,g)});a.on("end",function(){W(c,Error("Connection closed."))});return X(c,0)};exports.createServerReference=function(a){return ka(a,Z)}; +function O(a){var b=U,d=V;U=a;V=null;var c=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var g=JSON.parse(c,a._response._fromJSON);if(null!==V&&0<V.deps)V.value=g,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=g;null!==h&&Q(h,g)}}catch(l){a.status="rejected",a.reason=l}finally{U=b,V=d}} +function P(a){try{var b=a.value,d=x.get(b.specifier);if("fulfilled"===d.status)var c=d.value;else throw d.reason;var g="*"===b.name?c:""===b.name?c.default:c[b.name];a.status="fulfilled";a.value=g}catch(h){a.status="rejected",a.reason=h}}function W(a,b){a._chunks.forEach(function(d){"pending"===d.status&&S(d,b)})}function X(a,b){var d=a._chunks,c=d.get(b);c||(c=new N("pending",null,null,a),d.set(b,c));return c} +function oa(a,b,d,c){if(V){var g=V;c||g.deps++}else g=V={deps:c?0:1,value:null};return function(h){b[d]=h;g.deps--;0===g.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=g.value,null!==h&&Q(h,g.value))}}function pa(a){return function(b){return S(a,b)}} +function qa(a,b){function d(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?c(b.id,h.value.concat(g)):Promise.resolve(h).then(function(l){return c(b.id,l.concat(g))}):c(b.id,g)}var c=a._callServer;L(d,b);return d}function Y(a,b){a=X(a,b);switch(a.status){case "resolved_model":O(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function ra(a,b,d,c){if("$"===c[0]){if("$"===c)return B;switch(c[1]){case "$":return c.slice(1);case "L":return b=parseInt(c.slice(2),16),a=X(a,b),{$$typeof:F,_payload:a,_init:na};case "@":return b=parseInt(c.slice(2),16),X(a,b);case "S":return Symbol.for(c.slice(2));case "P":return a=c.slice(2),M[a]||(b={$$typeof:D,_currentValue:G,_currentValue2:G,_defaultValue:G,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},M[a]=b),M[a].Provider;case "F":return b=parseInt(c.slice(2), +16),b=Y(a,b),qa(a,b);case "Q":return b=parseInt(c.slice(2),16),a=Y(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Y(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=X(a,c);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return c= +U,a.then(oa(c,b,d,"cyclic"===a.status),pa(c)),null;default:throw a.reason;}}}return c}function sa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ta(a,b,d,c){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==d?d:sa,_nonce:c,_chunks:g,_stringDecoder:new p.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ua(a);return a} +function va(a,b,d){var c=a._chunks,g=c.get(b);d=JSON.parse(d,a._fromJSON);var h=w(a._bundlerConfig,d);z(a._moduleLoading,d[1],a._nonce);if(d=y(h)){if(g){var l=g;l.status="blocked"}else l=new N("blocked",null,null,a),c.set(b,l);d.then(function(){return T(l,h)},function(k){return S(l,k)})}else g?T(g,h):c.set(b,new N("resolved_module",h,null,a))} +function ua(a){return function(b,d){return"string"===typeof d?ra(a,this,b,d):"object"===typeof d&&null!==d?(b=d[0]===B?{$$typeof:B,type:d[1],key:d[2],ref:null,props:d[3],_owner:null}:d,b):d}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +exports.createFromNodeStream=function(a,b,d){var c=ta(b.moduleMap,b.moduleLoading,Z,d&&"string"===typeof d.nonce?d.nonce:void 0);a.on("data",function(g){for(var h=0,l=c._rowState,k=c._rowID,e=c._rowTag,f=c._rowLength,t=c._buffer,E=g.length;h<E;){var m=-1;switch(l){case 0:m=g[h++];58===m?l=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:l=g[h];84===l?(e=l,l=2,h++):64<l&&91>l?(e=l,l=3,h++):(e=0,l=3);continue;case 2:m=g[h++];44===m?l=4:f=f<<4|(96<m?m-87:m-48);continue;case 3:m=g.indexOf(10,h);break;case 4:m= +h+f,m>g.length&&(m=-1)}var n=g.byteOffset+h;if(-1<m){f=new Uint8Array(g.buffer,n,m-h);h=e;n=c._stringDecoder;e="";for(var q=0;q<t.length;q++)e+=n.decode(t[q],v);e+=n.decode(f);switch(h){case 73:va(c,k,e);break;case 72:k=e[0];e=e.slice(1);e=JSON.parse(e,c._fromJSON);if(f=A.current)switch(k){case "D":f.prefetchDNS(e);break;case "C":"string"===typeof e?f.preconnect(e):f.preconnect(e[0],e[1]);break;case "L":k=e[0];h=e[1];3===e.length?f.preload(k,h,e[2]):f.preload(k,h);break;case "m":"string"===typeof e? +f.preloadModule(e):f.preloadModule(e[0],e[1]);break;case "S":"string"===typeof e?f.preinitStyle(e):f.preinitStyle(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case "X":"string"===typeof e?f.preinitScript(e):f.preinitScript(e[0],e[1]);break;case "M":"string"===typeof e?f.preinitModuleScript(e):f.preinitModuleScript(e[0],e[1])}break;case 69:e=JSON.parse(e);f=e.digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); +e.stack="Error: "+e.message;e.digest=f;f=c._chunks;(h=f.get(k))?S(h,e):f.set(k,new N("rejected",null,e,c));break;case 84:c._chunks.set(k,new N("fulfilled",e,null,c));break;default:f=c._chunks,(h=f.get(k))?(k=h,"pending"===k.status&&(f=k.value,h=k.reason,k.status="resolved_model",k.value=e,null!==f&&(O(k),R(k,f,h)))):f.set(k,new N("resolved_model",e,null,c))}h=m;3===l&&h++;f=k=e=l=0;t.length=0}else{g=new Uint8Array(g.buffer,n,g.byteLength-h);t.push(g);f-=g.byteLength;break}}c._rowState=l;c._rowID= +k;c._rowTag=e;c._rowLength=f});a.on("error",function(g){W(c,g)});a.on("end",function(){W(c,Error("Connection closed."))});return X(c,0)};exports.createServerReference=function(a){return ma(a,Z)}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js index 1584969f29e1c..592d7a307ab2b 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js @@ -660,14 +660,12 @@ function createHints() { // The Symbol used to tag the ReactElement-like types. var REACT_ELEMENT_TYPE = Symbol.for('react.element'); var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; @@ -685,12 +683,6 @@ function getIteratorFn(maybeIterable) { return null; } -var rendererSigil; - -{ - // Use this to detect multiple renderers using the same context - rendererSigil = {}; -} // Used to store the parent path of all context overrides in a shared linked list. // Forming a reverse tree. // The structure of a context snapshot is an implementation of this file. // Currently, it's implemented as tracking the current active node. @@ -823,52 +815,6 @@ function switchContext(newSnapshot) { currentActiveSnapshot = next; } } -function pushProvider(context, nextValue) { - var prevValue; - - { - prevValue = context._currentValue; - context._currentValue = nextValue; - - { - if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { - error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); - } - - context._currentRenderer = rendererSigil; - } - } - - var prevNode = currentActiveSnapshot; - var newNode = { - parent: prevNode, - depth: prevNode === null ? 0 : prevNode.depth + 1, - context: context, - parentValue: prevValue, - value: nextValue - }; - currentActiveSnapshot = newNode; - return newNode; -} -function popProvider() { - var prevSnapshot = currentActiveSnapshot; - - if (prevSnapshot === null) { - throw new Error('Tried to pop a Context at the root of the app. This is a bug in React.'); - } - - { - var value = prevSnapshot.parentValue; - - if (value === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - prevSnapshot.context._currentValue = prevSnapshot.context._defaultValue; - } else { - prevSnapshot.context._currentValue = value; - } - } - - return currentActiveSnapshot = prevSnapshot.parent; -} function getActiveContext() { return currentActiveSnapshot; } @@ -1159,6 +1105,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1177,7 +1125,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1193,7 +1141,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1469,57 +1417,14 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function getOrCreateServerContext(globalName) { - if (!ContextRegistry[globalName]) { - var context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _currentValue2: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _defaultValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - - { - var hasWarnedAboutUsingConsumer; - context._currentRenderer = null; - context._currentRenderer2 = null; - Object.defineProperties(context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } - - return null; - } - } - }); - } - - ContextRegistry[globalName] = context; - } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - return ContextRegistry[globalName]; +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); } +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1527,8 +1432,8 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1549,6 +1454,8 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + var hints = createHints(); var request = { status: OPEN, @@ -1570,8 +1477,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1580,7 +1489,7 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, } }; request.pendingChunks++; - var rootContext = createRootContext(context); + var rootContext = createRootContext(); var rootTask = createTask(request, model, rootContext, abortSet); pingedTasks.push(rootTask); return request; @@ -1593,11 +1502,9 @@ function resolveRequest() { } function createRootContext(reqContext) { - return importServerContexts(reqContext); + return importServerContexts(); } -var POP = {}; - function serializeThenable(request, thenable) { request.pendingChunks++; var newTask = createTask(request, null, getActiveContext(), request.abortableTasks); @@ -1817,32 +1724,6 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState { return attemptResolveElement(request, type.type, key, ref, props, prevThenableState); } - - case REACT_PROVIDER_TYPE: - { - pushProvider(type._context, props.value); - - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } - - return true; - }); - - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); - } - } - - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; - } } } @@ -1897,10 +1778,6 @@ function serializeSymbolReference(name) { return '$S' + name; } -function serializeProviderReference(name) { - return '$P' + name; -} - function serializeNumber(number) { if (Number.isFinite(number)) { if (number === 0 && 1 / number === -Infinity) { @@ -1989,10 +1866,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2025,12 +1901,44 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } @@ -2043,9 +1951,7 @@ function escapeStringValue(value) { return value; } } - -var insideContextProps = null; -var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2074,29 +1980,37 @@ function resolveModelToJSON(request, parent, key, value) { return '$'; } - { - if (parent[0] === REACT_ELEMENT_TYPE && parent[1] && parent[1].$$typeof === REACT_PROVIDER_TYPE && key === '3') { - insideContextProps = value; - } else if (insideContextProps === parent && key === 'value') { - isInsideContextValue = true; - } else if (insideContextProps === parent && key === 'children') { - isInsideContextValue = false; - } - } // Resolve Server Components. - while (typeof value === 'object' && value !== null && (value.$$typeof === REACT_ELEMENT_TYPE || value.$$typeof === REACT_LAZY_TYPE)) { - { - if (isInsideContextValue) { - error('React elements are not allowed in ServerContext'); - } - } try { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2148,35 +2062,61 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); - - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); - } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2187,27 +2127,29 @@ function resolveModelToJSON(request, parent, key, value) { return serializeSet(request, value); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2217,7 +2159,8 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2251,6 +2194,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2268,10 +2212,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2290,6 +2235,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + return serializeBigInt(value); } @@ -2309,7 +2255,8 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2373,14 +2320,12 @@ function emitSymbolChunk(request, id, name) { request.completedImportChunks.push(processedChunk); } -function emitProviderChunk(request, id, contextName) { - var contextReference = serializeProviderReference(contextName); - var processedChunk = encodeReferenceChunk(request, id, contextReference); - request.completedRegularChunks.push(processedChunk); -} - function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2399,7 +2344,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2416,11 +2362,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2573,7 +2525,7 @@ function flushCompletedChunks(request, destination) { } if (request.pendingChunks === 0) { - // We're done. + close$1(destination); } } @@ -2655,22 +2607,6 @@ function abort(request, reason) { } function importServerContexts(contexts) { - if (contexts) { - var prevContext = getActiveContext(); - switchContext(rootContextSnapshot); - - for (var i = 0; i < contexts.length; i++) { - var _contexts$i = contexts[i], - name = _contexts$i[0], - value = _contexts$i[1]; - var context = getOrCreateServerContext(name); - pushProvider(context, value); - } - - var importedContext = getActiveContext(); - switchContext(prevContext); - return importedContext; - } return rootContextSnapshot; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js index 321995c50205e..dc0098bd1ebac 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js @@ -8,66 +8,68 @@ * LICENSE file in the root directory of this source tree. */ 'use strict';var aa=require("react-dom"),ba=require("react"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(512),n=0),a.enqueue(b);else{var d=l.length-n;d<b.byteLength&&(0===d?a.enqueue(l):(l.set(b.subarray(0,d),n),a.enqueue(l),b=b.subarray(d)),l=new Uint8Array(512),n=0);l.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} -var r=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);a.$$typeof=u;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);a.$$typeof=t;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider."); }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ja={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; -case "__esModule":var d=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=v({},a.$$id,!0),e=new Proxy(c,ja);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))}, -a.$$id+"#then",!1)}c=a[b];c||(c=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module."); -}},ra={prefetchDNS:ka,preconnect:la,preload:ma,preloadModule:na,preinitStyle:oa,preinitScript:pa,preinitModuleScript:qa};function ka(a){if("string"===typeof a&&a){var b=w?w:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),x(b,"D",a))}}}function la(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?x(d,"C",[a,b]):x(d,"C",a))}}} -function ma(a,b,d){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?x(c,"L",[a,b,d]):x(c,"L",[a,b]))}}}function na(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"m",[a,b]):x(d,"m",a)}}} -function oa(a,b,d){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?x(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?x(c,"S",[a,b]):x(c,"S",a)}}}function pa(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"X",[a,b]):x(d,"X",a)}}} -function qa(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"M",[a,b]):x(d,"M",a)}}}function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var sa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),ta=Symbol.for("react.fragment"),ua=Symbol.for("react.provider"),va=Symbol.for("react.server_context"),wa=Symbol.for("react.forward_ref"),xa=Symbol.for("react.suspense"),ya=Symbol.for("react.suspense_list"),za=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),Aa=Symbol.for("react.memo_cache_sentinel"),Ba=Symbol.iterator,D=null; -function F(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");F(a,d);b.context._currentValue=b.value}}}function Ca(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ca(a)} -function Da(a){var b=a.parent;null!==b&&Da(b);a.context._currentValue=a.value}function Ea(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?F(a,b):Ea(a,b)} -function Fa(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?F(a,d):Fa(a,d);b.context._currentValue=b.value}function Ga(a){var b=D;b!==a&&(null===b?Da(a):null===a?Ca(b):b.depth===a.depth?F(b,a):b.depth>a.depth?Ea(b,a):Fa(b,a),D=a)}function Ha(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ia=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Ja(){}function Ka(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ja,Ja),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}H=b;throw Ia;}}var H=null; -function La(){if(null===H)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=H;H=null;return a}var I=null,J=0,K=null;function Ma(){var a=K;K=null;return a}function Na(a){return a._currentValue} -var Ra={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:L,useTransition:L,readContext:Na,useContext:Na,useReducer:L,useRef:L,useState:L,useInsertionEffect:L,useLayoutEffect:L,useImperativeHandle:L,useEffect:L,useId:Oa,useSyncExternalStore:L,useCacheRefresh:function(){return Pa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Aa;return b},use:Qa}; -function L(){throw Error("This Hook is not supported in Server Components.");}function Pa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Oa(){if(null===I)throw Error("useId can only be used while React is rendering");var a=I.identifierCount++;return":"+I.identifierPrefix+"S"+a.toString(32)+":"} -function Qa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return Ka(K,a,b)}if(a.$$typeof===va)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Sa(){return(new AbortController).signal}function Ta(){var a=w?w:null;return a?a.cache:new Map} -var Ua={getCacheSignal:function(){var a=Ta(),b=a.get(Sa);void 0===b&&(b=Sa(),a.set(Sa,b));return b},getCacheForType:function(a){var b=Ta(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Va=Array.isArray;function Wa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function Xa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Va(a))return"[...]";a=Wa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function M(a){if("string"===typeof a)return a;switch(a){case xa:return"Suspense";case ya:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case wa:return M(a.render);case za:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""} -function N(a,b){var d=Wa(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Va(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):Xa(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -Xa(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Ya=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Za=Ya.ContextRegistry,O=JSON.stringify,$a=Ya.ReactCurrentDispatcher,ab=Ya.ReactCurrentCache;function bb(a){console.error(a)}function cb(){} -function db(a,b,d,c,e,f){if(null!==ab.current&&ab.current!==Ua)throw Error("Currently React only supports one RSC renderer at a time.");sa.current=ra;ab.current=Ua;var g=new Set,h=[],k=new Set,m={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?bb:d,onPostpone:void 0===f?cb:f,toJSON:function(t,E){return eb(m,this,t,E)}};m.pendingChunks++;b=fb(c);a=gb(m,a,b,g);h.push(a);return m}var w=null,hb={}; -function ib(a,b){a.pendingChunks++;var d=gb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,jb(a,d),d.id;case "rejected":var c=P(a,b.reason);Q(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;jb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=P(a,e);Q(a, -d.id,e);null!==a.destination&&R(a,a.destination)});return d.id}function x(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,R(a,d))}function kb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function lb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:kb}} -function S(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[z,b,d,e];J=0;K=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:lb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===ta?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[z,b,d,e];switch(b.$$typeof){case A:var g= -b._init;b=g(b._payload);return S(a,b,d,c,e,f);case wa:return a=b.render,J=0,K=f,a(e,void 0);case za:return S(a,b.type,d,c,e,f);case ua:return Ha(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:hb}]}}throw Error("Unsupported Server Component type: "+Xa(b));}function jb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,mb(a))} -function gb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return jb(a,e)},thenableState:null};c.add(e);return e}function T(a){return"$"+a.toString(16)}function nb(a,b,d){a=O(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} -function ob(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):T(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var m=h[k];if(m)g=m.name;else{var t=k.lastIndexOf("#");-1!==t&&(g=k.slice(t+1),m=h[k.slice(0,t)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var E=!0===c.$$async?[m.id,m.chunks,g,1]:[m.id,m.chunks, -g];a.pendingChunks++;var G=a.nextChunkId++,B=O(E),Fb=G.toString(16)+":I"+B+"\n",Gb=q.encode(Fb);a.completedImportChunks.push(Gb);f.set(e,G);return b[0]===z&&"1"===d?"$L"+G.toString(16):T(G)}catch(Hb){return a.pendingChunks++,b=a.nextChunkId++,d=P(a,Hb),Q(a,b,d),T(b)}}function pb(a,b){a.pendingChunks++;var d=a.nextChunkId++;qb(a,d,b);return d} -function eb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=S(a,e.type,e.key,e.ref,e.props,null);break;case A:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ia?La():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=gb(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Ma(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=P(a,d);Q(a,c,d);return"$L"+ -c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===r)return ob(a,b,d,c);if("function"===typeof c.then)return"$@"+ib(a,c).toString(16);if(c.$$typeof===ua)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=nb(a,d,"$P"+c),a.completedRegularChunks.push(c)),T(d);if(c===hb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue= -c===C?a.context._defaultValue:c;D=a.parent;return}return c instanceof Map?"$Q"+pb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+pb(a,Array.from(c)).toString(16):!Va(c)&&(null===c||"object"!==typeof c?a=null:(a=Ba&&c[Ba]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,c=q.encode(c),b=c.byteLength,b=d.toString(16)+":T"+b.toString(16)+ -",",b=q.encode(b),a.completedRegularChunks.push(b,c),T(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===r)return ob(a,b,d,c);if(c.$$typeof===u)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b? -Promise.resolve(b):null},a=pb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return T(f);f=c.description; -if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=nb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return T(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function P(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function rb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} -function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}function qb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";b=q.encode(b);a.completedRegularChunks.push(b)} -function mb(a){var b=$a.current;$a.current=Ra;var d=w;I=w=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];var g=a;if(0===f.status){Ga(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===z){var k=h,m=f.thenableState;f.model=h;h=S(g,k.type,k.key,k.ref,k.props,m);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===z;)k=h,f.model=h,h=S(g,k.type,k.key,k.ref,k.props,null)}qb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(B){var t= -B===Ia?La():B;if("object"===typeof t&&null!==t&&"function"===typeof t.then){var E=f.ping;t.then(E,E);f.thenableState=Ma()}else{g.abortableTasks.delete(f);f.status=4;var G=P(g,t);Q(g,f.id,G)}}}}null!==a.destination&&R(a,a.destination)}catch(B){P(a,B),rb(a,B)}finally{$a.current=b,I=null,w=d}} -function R(a,b){l=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&& -b.close()}function sb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=P(a,c);a.pendingChunks++;var f=a.nextChunkId++;Q(a,f,e,c);d.forEach(function(g){g.status=3;var h=T(f);g=nb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){P(a,g),rb(a,g)}} -function fb(a){if(a){var b=D;Ga(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!Za[e]){var f={$$typeof:va,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ua,_context:f};Za[e]=f}Ha(Za[e],c)}a=D;Ga(b);return a}return null} -function tb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var U=new Map; -function ub(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function vb(){} -function wb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=U.get(e);if(void 0===f){f=__turbopack_load__(e);d.push(f);var g=U.set.bind(U,e,null);f.then(g,vb);U.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?ub(a[0]):Promise.all(d).then(function(){return ub(a[0])}):0<d.length?Promise.all(d):null} -function V(a){var b=__turbopack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function W(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}W.prototype=Object.create(Promise.prototype); -W.prototype.then=function(a,b){switch(this.status){case "resolved_model":xb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function yb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function zb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&yb(d,b)}}function Ab(a,b,d,c,e,f){var g=tb(a._bundlerConfig,b);a=wb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=V(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return V(g)});else return V(g);d.then(Bb(c,e,f),Cb(c));return null}var X=null,Y=null; -function xb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Db(a,b){a._chunks.forEach(function(d){"pending"===d.status&&zb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new W("resolved_model",c,null,a):new W("pending",null,null,a),d.set(b,c));return c}function Bb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&yb(e,c.value))}}function Cb(a){return function(b){return zb(a,b)}} -function Eb(a,b){a=Z(a,b);"resolved_model"===a.status&&xb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Ib(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Eb(a,c),Ab(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Eb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Eb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":xb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Bb(c,b,d),Cb(c)),null;default:throw a.reason;}}return c} -function Jb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Ib(e,this,f,g):g}};return e}function Kb(a){Db(a,Error("Connection closed."))}function Lb(a,b,d){var c=tb(a,b);a=wb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=V(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return V(c)}):Promise.resolve(V(c))} -function Mb(a,b,d){a=Jb(b,d,a);Kb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ja)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Mb(a,b,e),c=Lb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Lb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Jb(b,"",a);Kb(a);return Z(a,0)}; -exports.registerClientReference=function(a,b,d){return v(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; -exports.renderToReadableStream=function(a,b,d){var c=db(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)sb(c,e.reason);else{var f=function(){sb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){c.flushScheduled=null!==c.destination;mb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null=== -c.destination){c.destination=g;try{R(c,g)}catch(h){P(c,h),rb(c,h)}}},cancel:function(){}},{highWaterMark:0})}; +case "__esModule":var d=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=u({},a.$$id,!0),e=new Proxy(c,ja);a.status="fulfilled";a.value=e;return a.then=u(function(f){return Promise.resolve(f(e))}, +a.$$id+"#then",!1)}c=a[b];c||(c=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module."); +}},ra={prefetchDNS:ka,preconnect:la,preload:ma,preloadModule:na,preinitStyle:oa,preinitScript:pa,preinitModuleScript:qa};function ka(a){if("string"===typeof a&&a){var b=v?v:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),w(b,"D",a))}}}function la(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?w(d,"C",[a,b]):w(d,"C",a))}}} +function ma(a,b,d){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?w(c,"L",[a,b,d]):w(c,"L",[a,b]))}}}function na(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"m",[a,b]):w(d,"m",a)}}} +function oa(a,b,d){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?w(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?w(c,"S",[a,b]):w(c,"S",a)}}}function pa(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"X",[a,b]):w(d,"X",a)}}} +function qa(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"M",[a,b]):w(d,"M",a)}}}function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} +var sa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),ta=Symbol.for("react.fragment"),ua=Symbol.for("react.server_context"),va=Symbol.for("react.forward_ref"),wa=Symbol.for("react.suspense"),xa=Symbol.for("react.suspense_list"),ya=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),za=Symbol.for("react.memo_cache_sentinel"),Aa=Symbol.iterator,B=null; +function C(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");C(a,d);b.context._currentValue=b.value}}}function Ba(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ba(a)} +function Ca(a){var b=a.parent;null!==b&&Ca(b);a.context._currentValue=a.value}function Da(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?C(a,b):Da(a,b)} +function Ea(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?C(a,d):Ea(a,d);b.context._currentValue=b.value}var Fa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Ga(){}function Ha(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ga,Ga),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}D=b;throw Fa;}}var D=null; +function Ia(){if(null===D)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=D;D=null;return a}var E=null,F=0,G=null;function Ja(){var a=G;G=null;return a}function Ka(a){return a._currentValue} +var Oa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:Ka,useContext:Ka,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:La,useSyncExternalStore:H,useCacheRefresh:function(){return Ma},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=za;return b},use:Na}; +function H(){throw Error("This Hook is not supported in Server Components.");}function Ma(){throw Error("Refreshing the cache is not supported in Server Components.");}function La(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Na(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=F;F+=1;null===G&&(G=[]);return Ha(G,a,b)}if(a.$$typeof===ua)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Pa(){return(new AbortController).signal}function Qa(){var a=v?v:null;return a?a.cache:new Map} +var Ra={getCacheSignal:function(){var a=Qa(),b=a.get(Pa);void 0===b&&(b=Pa(),a.set(Pa,b));return b},getCacheForType:function(a){var b=Qa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Sa=Array.isArray,Ta=Object.getPrototypeOf;function Ua(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function Va(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Sa(a))return"[...]";a=Ua(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case wa:return"Suspense";case xa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case va:return I(a.render);case ya:return I(a.type);case A:var b=a._payload;a=a._init;try{return I(a(b))}catch(d){}}return""} +function J(a,b){var d=Ua(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Sa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?J(g):Va(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+I(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?J(h): +Va(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Wa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xa=ba.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!Xa)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); +var Ya=Object.prototype,K=JSON.stringify,Za=Xa.ReactCurrentCache,$a=Wa.ReactCurrentDispatcher;function ab(a){console.error(a)}function bb(){} +function cb(a,b,d,c,e,f){if(null!==Za.current&&Za.current!==Ra)throw Error("Currently React only supports one RSC renderer at a time.");sa.current=ra;Za.current=Ra;var g=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===d?ab:d,onPostpone:void 0===f?bb:f,toJSON:function(m,x){return db(h,this,m,x)}};h.pendingChunks++;a=L(h,a,null,g);c.push(a);return h}var v=null; +function eb(a,b){a.pendingChunks++;var d=L(a,null,B,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,fb(a,d),d.id;case "rejected":var c=M(a,b.reason);N(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;fb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=M(a,e);N(a, +d.id,e);null!==a.destination&&O(a,a.destination)});return d.id}function w(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,O(a,d))}function gb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function hb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:gb}} +function P(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[z,b,d,e];F=0;G=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:hb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===ta?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[z,b,d,e];switch(b.$$typeof){case A:var g= +b._init;b=g(b._payload);return P(a,b,d,c,e,f);case va:return a=b.render,F=0,G=f,a(e,void 0);case ya:return P(a,b.type,d,c,e,f)}}throw Error("Unsupported Server Component type: "+Va(b));}function fb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,ib(a))}function L(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return fb(a,e)},thenableState:null};c.add(e);return e}function Q(a){return"$"+a.toString(16)} +function jb(a,b,d){a=K(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} +function kb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):Q(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var m=k[h];if(m)g=m.name;else{var x=h.lastIndexOf("#");-1!==x&&(g=h.slice(x+1),m=k[h.slice(0,x)]);if(!m)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var Ab=!0===c.$$async?[m.id,m.chunks,g,1]:[m.id,m.chunks, +g];a.pendingChunks++;var X=a.nextChunkId++,Bb=K(Ab),Cb=X.toString(16)+":I"+Bb+"\n",Db=q.encode(Cb);a.completedImportChunks.push(Db);f.set(e,X);return b[0]===z&&"1"===d?"$L"+X.toString(16):Q(X)}catch(Eb){return a.pendingChunks++,b=a.nextChunkId++,d=M(a,Eb),N(a,b,d),Q(b)}}function R(a,b){a.pendingChunks++;b=L(a,b,B,a.abortableTasks);lb(a,b);return b.id}var S=!1; +function db(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=R(a,c);return Q(g)}if(S===c)S=null;else return Q(f)}else e.set(c,-1);var k=c;c=P(a,k.type,k.key,k.ref,k.props,null);break;case A:var h=c._init;c=h(c._payload)}}catch(m){b=m===Fa?Ia():m;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=L(a,c,B,a.abortableTasks), +c=a.ping,b.then(c,c),a.thenableState=Ja(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=M(a,b);N(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===r)return kb(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===typeof c.then){if(void 0!==d)if(S===c)S=null;else return"$@"+d.toString(16);a=eb(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=R(a,c),Q(a);if(S===c)S=null;else return Q(d)}else b.set(c,-1);if(Sa(c))return c; +if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+R(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+R(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Aa&&c[Aa]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Ta(c);if(a!== +Ya&&(null===a||null!==Ta(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,c=q.encode(c),d=c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",d=q.encode(d),a.completedRegularChunks.push(d,c),Q(b);a="$"===c[0]?"$"+c:c;return a}if("boolean"=== +typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===r)return kb(a,b,d,c);if(c.$$typeof===t)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=R(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+ +J(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+J(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return Q(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+ +J(b,d));a.pendingChunks++;b=a.nextChunkId++;d=jb(a,b,"$S"+f);a.completedImportChunks.push(d);e.set(c,b);return Q(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+J(b,d));} +function M(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function mb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} +function N(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)} +function lb(a,b){if(0===b.status){var d=B,c=b.context;d!==c&&(null===d?Ca(c):null===c?Ba(d):d.depth===c.depth?C(d,c):d.depth>c.depth?Da(d,c):Ea(d,c),B=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===z){a.writtenObjects.set(e,b.id);d=e;var f=b.thenableState;b.model=e;e=P(a,d.type,d.key,d.ref,d.props,f);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===z;)a.writtenObjects.set(e,b.id),f=e,b.model=e,e=P(a,f.type,f.key,f.ref,f.props,null)}"object"===typeof e&&null!== +e&&a.writtenObjects.set(e,b.id);var g=b.id;S=e;var k=K(e,a.toJSON),h=g.toString(16)+":"+k+"\n",m=q.encode(h);a.completedRegularChunks.push(m);a.abortableTasks.delete(b);b.status=1}catch(x){g=x===Fa?Ia():x,"object"===typeof g&&null!==g&&"function"===typeof g.then?(a=b.ping,g.then(a,a),b.thenableState=Ja()):(a.abortableTasks.delete(b),b.status=4,g=M(a,g),N(a,b.id,g))}}} +function ib(a){var b=$a.current;$a.current=Oa;var d=v;E=v=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)lb(a,c[e]);null!==a.destination&&O(a,a.destination)}catch(f){M(a,f),mb(a,f)}finally{$a.current=b,E=null,v=d}} +function O(a,b){l=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&& +b.close()}function nb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=M(a,c);a.pendingChunks++;var f=a.nextChunkId++;N(a,f,e,c);d.forEach(function(g){g.status=3;var k=Q(f);g=jb(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&O(a,a.destination)}catch(g){M(a,g),mb(a,g)}} +function ob(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var T=new Map; +function pb(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function qb(){} +function rb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=T.get(e);if(void 0===f){f=__turbopack_load__(e);d.push(f);var g=T.set.bind(T,e,null);f.then(g,qb);T.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?pb(a[0]):Promise.all(d).then(function(){return pb(a[0])}):0<d.length?Promise.all(d):null} +function U(a){var b=__turbopack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function V(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}V.prototype=Object.create(Promise.prototype); +V.prototype.then=function(a,b){switch(this.status){case "resolved_model":sb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function tb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function ub(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&tb(d,b)}}function vb(a,b,d,c,e,f){var g=ob(a._bundlerConfig,b);a=rb(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=U(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return U(g)});else return U(g);d.then(wb(c,e,f),xb(c));return null}var W=null,Y=null; +function sb(a){var b=W,d=Y;W=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{W=b,Y=d}}function yb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&ub(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new V("resolved_model",c,null,a):new V("pending",null,null,a),d.set(b,c));return c}function wb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&tb(e,c.value))}}function xb(a){return function(b){return ub(a,b)}} +function zb(a,b){a=Z(a,b);"resolved_model"===a.status&&sb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Fb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=zb(a,c),vb(a,c.id,c.bound,W,b,d);case "Q":return b=parseInt(c.slice(2),16),a=zb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=zb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":sb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=W,a.then(wb(c,b,d),xb(c)),null;default:throw a.reason;}}return c} +function Gb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Fb(e,this,f,g):g}};return e}function Hb(a){yb(a,Error("Connection closed."))}function Ib(a,b,d){var c=ob(a,b);a=rb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=U(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return U(c)}):Promise.resolve(U(c))} +function Jb(a,b,d){a=Gb(b,d,a);Hb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ja)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Jb(a,b,e),c=Ib(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Ib(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Gb(b,"",a);Hb(a);return Z(a,0)}; +exports.registerClientReference=function(a,b,d){return u(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; +exports.renderToReadableStream=function(a,b,d){var c=cb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)nb(c,e.reason);else{var f=function(){nb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){c.flushScheduled=null!==c.destination;ib(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null=== +c.destination){c.destination=g;try{O(c,g)}catch(k){M(c,k),mb(c,k)}}},cancel:function(){}},{highWaterMark:0})}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js index d26e11fb275ee..3e2f43b9e74b2 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js @@ -663,14 +663,12 @@ var requestStorage = supportsRequestStorage ? new AsyncLocalStorage() : null; // The Symbol used to tag the ReactElement-like types. var REACT_ELEMENT_TYPE = Symbol.for('react.element'); var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; @@ -688,12 +686,6 @@ function getIteratorFn(maybeIterable) { return null; } -var rendererSigil; - -{ - // Use this to detect multiple renderers using the same context - rendererSigil = {}; -} // Used to store the parent path of all context overrides in a shared linked list. // Forming a reverse tree. // The structure of a context snapshot is an implementation of this file. // Currently, it's implemented as tracking the current active node. @@ -826,52 +818,6 @@ function switchContext(newSnapshot) { currentActiveSnapshot = next; } } -function pushProvider(context, nextValue) { - var prevValue; - - { - prevValue = context._currentValue; - context._currentValue = nextValue; - - { - if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { - error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); - } - - context._currentRenderer = rendererSigil; - } - } - - var prevNode = currentActiveSnapshot; - var newNode = { - parent: prevNode, - depth: prevNode === null ? 0 : prevNode.depth + 1, - context: context, - parentValue: prevValue, - value: nextValue - }; - currentActiveSnapshot = newNode; - return newNode; -} -function popProvider() { - var prevSnapshot = currentActiveSnapshot; - - if (prevSnapshot === null) { - throw new Error('Tried to pop a Context at the root of the app. This is a bug in React.'); - } - - { - var value = prevSnapshot.parentValue; - - if (value === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - prevSnapshot.context._currentValue = prevSnapshot.context._defaultValue; - } else { - prevSnapshot.context._currentValue = value; - } - } - - return currentActiveSnapshot = prevSnapshot.parent; -} function getActiveContext() { return currentActiveSnapshot; } @@ -1162,6 +1108,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1180,7 +1128,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1196,7 +1144,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1472,57 +1420,14 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function getOrCreateServerContext(globalName) { - if (!ContextRegistry[globalName]) { - var context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _currentValue2: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _defaultValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - - { - var hasWarnedAboutUsingConsumer; - context._currentRenderer = null; - context._currentRenderer2 = null; - Object.defineProperties(context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } - - return null; - } - } - }); - } - - ContextRegistry[globalName] = context; - } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - return ContextRegistry[globalName]; +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); } +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1530,8 +1435,8 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1552,6 +1457,8 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + var hints = createHints(); var request = { status: OPEN, @@ -1573,8 +1480,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1583,7 +1492,7 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, } }; request.pendingChunks++; - var rootContext = createRootContext(context); + var rootContext = createRootContext(); var rootTask = createTask(request, model, rootContext, abortSet); pingedTasks.push(rootTask); return request; @@ -1601,11 +1510,9 @@ function resolveRequest() { } function createRootContext(reqContext) { - return importServerContexts(reqContext); + return importServerContexts(); } -var POP = {}; - function serializeThenable(request, thenable) { request.pendingChunks++; var newTask = createTask(request, null, getActiveContext(), request.abortableTasks); @@ -1825,32 +1732,6 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState { return attemptResolveElement(request, type.type, key, ref, props, prevThenableState); } - - case REACT_PROVIDER_TYPE: - { - pushProvider(type._context, props.value); - - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } - - return true; - }); - - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); - } - } - - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; - } } } @@ -1905,10 +1786,6 @@ function serializeSymbolReference(name) { return '$S' + name; } -function serializeProviderReference(name) { - return '$P' + name; -} - function serializeNumber(number) { if (Number.isFinite(number)) { if (number === 0 && 1 / number === -Infinity) { @@ -1997,10 +1874,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2033,12 +1909,44 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } @@ -2051,9 +1959,7 @@ function escapeStringValue(value) { return value; } } - -var insideContextProps = null; -var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2082,29 +1988,37 @@ function resolveModelToJSON(request, parent, key, value) { return '$'; } - { - if (parent[0] === REACT_ELEMENT_TYPE && parent[1] && parent[1].$$typeof === REACT_PROVIDER_TYPE && key === '3') { - insideContextProps = value; - } else if (insideContextProps === parent && key === 'value') { - isInsideContextValue = true; - } else if (insideContextProps === parent && key === 'children') { - isInsideContextValue = false; - } - } // Resolve Server Components. - while (typeof value === 'object' && value !== null && (value.$$typeof === REACT_ELEMENT_TYPE || value.$$typeof === REACT_LAZY_TYPE)) { - { - if (isInsideContextValue) { - error('React elements are not allowed in ServerContext'); - } - } try { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2156,35 +2070,61 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); - - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); - } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2195,27 +2135,29 @@ function resolveModelToJSON(request, parent, key, value) { return serializeSet(request, value); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2225,7 +2167,8 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2259,6 +2202,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2276,10 +2220,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2298,6 +2243,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + return serializeBigInt(value); } @@ -2317,7 +2263,8 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2381,14 +2328,12 @@ function emitSymbolChunk(request, id, name) { request.completedImportChunks.push(processedChunk); } -function emitProviderChunk(request, id, contextName) { - var contextReference = serializeProviderReference(contextName); - var processedChunk = encodeReferenceChunk(request, id, contextReference); - request.completedRegularChunks.push(processedChunk); -} - function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2407,7 +2352,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2424,11 +2370,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2581,7 +2533,7 @@ function flushCompletedChunks(request, destination) { } if (request.pendingChunks === 0) { - // We're done. + close$1(destination); } } @@ -2667,22 +2619,6 @@ function abort(request, reason) { } function importServerContexts(contexts) { - if (contexts) { - var prevContext = getActiveContext(); - switchContext(rootContextSnapshot); - - for (var i = 0; i < contexts.length; i++) { - var _contexts$i = contexts[i], - name = _contexts$i[0], - value = _contexts$i[1]; - var context = getOrCreateServerContext(name); - pushProvider(context, value); - } - - var importedContext = getActiveContext(); - switchContext(prevContext); - return importedContext; - } return rootContextSnapshot; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js index ca7590963f71f..2868e55cd7edc 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js @@ -8,67 +8,69 @@ * LICENSE file in the root directory of this source tree. */ 'use strict';var aa=require("react"),ba=require("react-dom"),m=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var d=m.length-n;d<b.byteLength&&(0===d?a.enqueue(m):(m.set(b.subarray(0,d),n),a.enqueue(m),b=b.subarray(d)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} -var t=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);a.$$typeof=u;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);a.$$typeof=t;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider."); }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ja={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; -case "__esModule":var d=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=v({},a.$$id,!0),e=new Proxy(c,ja);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))}, -a.$$id+"#then",!1)}c=a[b];c||(c=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module."); -}},ra={prefetchDNS:ka,preconnect:la,preload:ma,preloadModule:na,preinitStyle:oa,preinitScript:pa,preinitModuleScript:qa};function ka(a){if("string"===typeof a&&a){var b=w();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),x(b,"D",a))}}}function la(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?x(d,"C",[a,b]):x(d,"C",a))}}} -function ma(a,b,d){if("string"===typeof a){var c=w();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?x(c,"L",[a,b,d]):x(c,"L",[a,b]))}}}function na(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"m",[a,b]):x(d,"m",a)}}} -function oa(a,b,d){if("string"===typeof a){var c=w();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?x(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?x(c,"S",[a,b]):x(c,"S",a)}}}function pa(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"X",[a,b]):x(d,"X",a)}}}function qa(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"M",[a,b]):x(d,"M",a)}}} +case "__esModule":var d=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=u({},a.$$id,!0),e=new Proxy(c,ja);a.status="fulfilled";a.value=e;return a.then=u(function(f){return Promise.resolve(f(e))}, +a.$$id+"#then",!1)}c=a[b];c||(c=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module."); +}},ra={prefetchDNS:ka,preconnect:la,preload:ma,preloadModule:na,preinitStyle:oa,preinitScript:pa,preinitModuleScript:qa};function ka(a){if("string"===typeof a&&a){var b=v();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),w(b,"D",a))}}}function la(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?w(d,"C",[a,b]):w(d,"C",a))}}} +function ma(a,b,d){if("string"===typeof a){var c=v();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?w(c,"L",[a,b,d]):w(c,"L",[a,b]))}}}function na(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"m",[a,b]):w(d,"m",a)}}} +function oa(a,b,d){if("string"===typeof a){var c=v();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?w(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?w(c,"S",[a,b]):w(c,"S",a)}}}function pa(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"X",[a,b]):w(d,"X",a)}}}function qa(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"M",[a,b]):w(d,"M",a)}}} function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var sa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,ta="function"===typeof AsyncLocalStorage,ua=ta?new AsyncLocalStorage:null,z=Symbol.for("react.element"),va=Symbol.for("react.fragment"),wa=Symbol.for("react.provider"),xa=Symbol.for("react.server_context"),ya=Symbol.for("react.forward_ref"),za=Symbol.for("react.suspense"),Aa=Symbol.for("react.suspense_list"),Ba=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),Ca=Symbol.for("react.memo_cache_sentinel"), -Da=Symbol.iterator,D=null;function F(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");F(a,d);b.context._currentValue=b.value}}}function Ea(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ea(a)} -function Fa(a){var b=a.parent;null!==b&&Fa(b);a.context._currentValue=a.value}function Ga(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?F(a,b):Ga(a,b)} -function Ha(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?F(a,d):Ha(a,d);b.context._currentValue=b.value}function Ia(a){var b=D;b!==a&&(null===b?Fa(a):null===a?Ea(b):b.depth===a.depth?F(b,a):b.depth>a.depth?Ga(b,a):Ha(b,a),D=a)}function Ja(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ka=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function La(){}function Ma(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(La,La),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}H=b;throw Ka;}}var H=null; -function Na(){if(null===H)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=H;H=null;return a}var I=null,J=0,K=null;function Oa(){var a=K;K=null;return a}function Pa(a){return a._currentValue} -var Ta={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:L,useTransition:L,readContext:Pa,useContext:Pa,useReducer:L,useRef:L,useState:L,useInsertionEffect:L,useLayoutEffect:L,useImperativeHandle:L,useEffect:L,useId:Qa,useSyncExternalStore:L,useCacheRefresh:function(){return Ra},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ca;return b},use:Sa}; -function L(){throw Error("This Hook is not supported in Server Components.");}function Ra(){throw Error("Refreshing the cache is not supported in Server Components.");}function Qa(){if(null===I)throw Error("useId can only be used while React is rendering");var a=I.identifierCount++;return":"+I.identifierPrefix+"S"+a.toString(32)+":"} -function Sa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return Ma(K,a,b)}if(a.$$typeof===xa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ua(){return(new AbortController).signal}function Va(){var a=w();return a?a.cache:new Map} -var Wa={getCacheSignal:function(){var a=Va(),b=a.get(Ua);void 0===b&&(b=Ua(),a.set(Ua,b));return b},getCacheForType:function(a){var b=Va(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Xa=Array.isArray;function Ya(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function Za(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Xa(a))return"[...]";a=Ya(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function M(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return M(a.render);case Ba:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""} -function N(a,b){var d=Ya(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Xa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):Za(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -Za(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var $a=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ab=$a.ContextRegistry,O=JSON.stringify,bb=$a.ReactCurrentDispatcher,cb=$a.ReactCurrentCache;function db(a){console.error(a)}function eb(){} -function fb(a,b,d,c,e,f){if(null!==cb.current&&cb.current!==Wa)throw Error("Currently React only supports one RSC renderer at a time.");sa.current=ra;cb.current=Wa;var g=new Set,h=[],k=new Set,l={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?db:d,onPostpone:void 0===f?eb:f,toJSON:function(r,E){return gb(l,this,r,E)}};l.pendingChunks++;b=hb(c);a=ib(l,a,b,g);h.push(a);return l}var P=null;function w(){if(P)return P;if(ta){var a=ua.getStore();if(a)return a}return null}var jb={}; -function kb(a,b){a.pendingChunks++;var d=ib(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,lb(a,d),d.id;case "rejected":var c=Q(a,b.reason);R(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;lb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=Q(a,e);R(a, -d.id,e);null!==a.destination&&S(a,a.destination)});return d.id}function x(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);mb(a)}function nb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function ob(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:nb}} -function T(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[z,b,d,e];J=0;K=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:ob(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===va?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[z,b,d,e];switch(b.$$typeof){case A:var g= -b._init;b=g(b._payload);return T(a,b,d,c,e,f);case ya:return a=b.render,J=0,K=f,a(e,void 0);case Ba:return T(a,b.type,d,c,e,f);case wa:return Ja(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:jb}]}}throw Error("Unsupported Server Component type: "+Za(b));}function lb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return pb(a)},0))} -function ib(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return lb(a,e)},thenableState:null};c.add(e);return e}function U(a){return"$"+a.toString(16)}function qb(a,b,d){a=O(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} -function rb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):U(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var l=h[k];if(l)g=l.name;else{var r=k.lastIndexOf("#");-1!==r&&(g=k.slice(r+1),l=h[k.slice(0,r)]);if(!l)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var E=!0===c.$$async?[l.id,l.chunks,g,1]:[l.id,l.chunks, -g];a.pendingChunks++;var G=a.nextChunkId++,B=O(E),Jb=G.toString(16)+":I"+B+"\n",Kb=q.encode(Jb);a.completedImportChunks.push(Kb);f.set(e,G);return b[0]===z&&"1"===d?"$L"+G.toString(16):U(G)}catch(Lb){return a.pendingChunks++,b=a.nextChunkId++,d=Q(a,Lb),R(a,b,d),U(b)}}function sb(a,b){a.pendingChunks++;var d=a.nextChunkId++;tb(a,d,b);return d} -function gb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=T(a,e.type,e.key,e.ref,e.props,null);break;case A:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ka?Na():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=ib(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Oa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=Q(a,d);R(a,c,d);return"$L"+ -c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return rb(a,b,d,c);if("function"===typeof c.then)return"$@"+kb(a,c).toString(16);if(c.$$typeof===wa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=qb(a,d,"$P"+c),a.completedRegularChunks.push(c)),U(d);if(c===jb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue= -c===C?a.context._defaultValue:c;D=a.parent;return}return c instanceof Map?"$Q"+sb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+sb(a,Array.from(c)).toString(16):!Xa(c)&&(null===c||"object"!==typeof c?a=null:(a=Da&&c[Da]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,c=q.encode(c),b=c.byteLength,b=d.toString(16)+":T"+b.toString(16)+ -",",b=q.encode(b),a.completedRegularChunks.push(b,c),U(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return rb(a,b,d,c);if(c.$$typeof===u)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b? -Promise.resolve(b):null},a=sb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return U(f);f=c.description; -if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=qb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return U(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function Q(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function ub(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} -function R(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}function tb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";b=q.encode(b);a.completedRegularChunks.push(b)} -function pb(a){var b=bb.current;bb.current=Ta;var d=P;I=P=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];var g=a;if(0===f.status){Ia(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===z){var k=h,l=f.thenableState;f.model=h;h=T(g,k.type,k.key,k.ref,k.props,l);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===z;)k=h,f.model=h,h=T(g,k.type,k.key,k.ref,k.props,null)}tb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(B){var r= -B===Ka?Na():B;if("object"===typeof r&&null!==r&&"function"===typeof r.then){var E=f.ping;r.then(E,E);f.thenableState=Oa()}else{g.abortableTasks.delete(f);f.status=4;var G=Q(g,r);R(g,f.id,G)}}}}null!==a.destination&&S(a,a.destination)}catch(B){Q(a,B),ub(a,B)}finally{bb.current=b,I=null,P=d}} -function S(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&& -b.close()}function vb(a){a.flushScheduled=null!==a.destination;ta?setTimeout(function(){return ua.run(a,pb,a)},0):setTimeout(function(){return pb(a)},0)}function mb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return S(a,b)},0)}} -function wb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=Q(a,c);a.pendingChunks++;var f=a.nextChunkId++;R(a,f,e,c);d.forEach(function(g){g.status=3;var h=U(f);g=qb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&S(a,a.destination)}catch(g){Q(a,g),ub(a,g)}} -function hb(a){if(a){var b=D;Ia(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!ab[e]){var f={$$typeof:xa,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:wa,_context:f};ab[e]=f}Ja(ab[e],c)}a=D;Ia(b);return a}return null} -function xb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var V=new Map; -function yb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function zb(){} -function Ab(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=V.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);d.push(f);var g=V.set.bind(V,e,null);f.then(g,zb);V.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?yb(a[0]):Promise.all(d).then(function(){return yb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Bb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Bb.prototype=Object.create(Promise.prototype); -Bb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Cb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Db(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Eb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Db(d,b)}}function Fb(a,b,d,c,e,f){var g=xb(a._bundlerConfig,b);a=Ab(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Gb(c,e,f),Hb(c));return null}var X=null,Y=null; -function Cb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Ib(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Eb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Bb("resolved_model",c,null,a):new Bb("pending",null,null,a),d.set(b,c));return c}function Gb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Db(e,c.value))}}function Hb(a){return function(b){return Eb(a,b)}} -function Mb(a,b){a=Z(a,b);"resolved_model"===a.status&&Cb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Nb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Mb(a,c),Fb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Mb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Mb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Cb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Gb(c,b,d),Hb(c)),null;default:throw a.reason;}}return c} -function Ob(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Nb(e,this,f,g):g}};return e}function Pb(a){Ib(a,Error("Connection closed."))}function Qb(a,b,d){var c=xb(a,b);a=Ab(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} -function Rb(a,b,d){a=Ob(b,d,a);Pb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ja)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Rb(a,b,e),c=Qb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Qb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Ob(b,"",a);Pb(a);return Z(a,0)}; -exports.registerClientReference=function(a,b,d){return v(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; -exports.renderToReadableStream=function(a,b,d){var c=fb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)wb(c,e.reason);else{var f=function(){wb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){vb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{S(c, -g)}catch(h){Q(c,h),ub(c,h)}}},cancel:function(){}},{highWaterMark:0})}; +var sa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,ta="function"===typeof AsyncLocalStorage,ua=ta?new AsyncLocalStorage:null,z=Symbol.for("react.element"),va=Symbol.for("react.fragment"),wa=Symbol.for("react.server_context"),xa=Symbol.for("react.forward_ref"),ya=Symbol.for("react.suspense"),za=Symbol.for("react.suspense_list"),Aa=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Ba=Symbol.for("react.memo_cache_sentinel"),Ca=Symbol.iterator,B=null; +function C(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");C(a,d);b.context._currentValue=b.value}}}function Da(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Da(a)} +function Ea(a){var b=a.parent;null!==b&&Ea(b);a.context._currentValue=a.value}function Fa(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?C(a,b):Fa(a,b)} +function Ga(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?C(a,d):Ga(a,d);b.context._currentValue=b.value}var Ha=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Ia(){}function Ja(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ia,Ia),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}D=b;throw Ha;}}var D=null; +function Ka(){if(null===D)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=D;D=null;return a}var E=null,F=0,G=null;function La(){var a=G;G=null;return a}function Ma(a){return a._currentValue} +var Qa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:Ma,useContext:Ma,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:Na,useSyncExternalStore:H,useCacheRefresh:function(){return Oa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ba;return b},use:Pa}; +function H(){throw Error("This Hook is not supported in Server Components.");}function Oa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Na(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Pa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=F;F+=1;null===G&&(G=[]);return Ja(G,a,b)}if(a.$$typeof===wa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ra(){return(new AbortController).signal}function Sa(){var a=v();return a?a.cache:new Map} +var Ta={getCacheSignal:function(){var a=Sa(),b=a.get(Ra);void 0===b&&(b=Ra(),a.set(Ra,b));return b},getCacheForType:function(a){var b=Sa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Ua=Array.isArray,Va=Object.getPrototypeOf;function Wa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function Xa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ua(a))return"[...]";a=Wa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return I(a.render);case Aa:return I(a.type);case A:var b=a._payload;a=a._init;try{return I(a(b))}catch(d){}}return""} +function J(a,b){var d=Wa(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Ua(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?J(g):Xa(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+I(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?J(h): +Xa(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Ya=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Za=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!Za)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); +var $a=Object.prototype,K=JSON.stringify,ab=Za.ReactCurrentCache,bb=Ya.ReactCurrentDispatcher;function cb(a){console.error(a)}function db(){} +function eb(a,b,d,c,e,f){if(null!==ab.current&&ab.current!==Ta)throw Error("Currently React only supports one RSC renderer at a time.");sa.current=ra;ab.current=Ta;var g=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===d?cb:d,onPostpone:void 0===f?db:f,toJSON:function(l,x){return fb(h,this,l,x)}};h.pendingChunks++;a=L(h,a,null,g);c.push(a);return h}var M=null;function v(){if(M)return M;if(ta){var a=ua.getStore();if(a)return a}return null} +function gb(a,b){a.pendingChunks++;var d=L(a,null,B,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,hb(a,d),d.id;case "rejected":var c=N(a,b.reason);O(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;hb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=N(a,e);O(a, +d.id,e);null!==a.destination&&P(a,a.destination)});return d.id}function w(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);ib(a)}function jb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function kb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:jb}} +function Q(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[z,b,d,e];F=0;G=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:kb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===va?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[z,b,d,e];switch(b.$$typeof){case A:var g= +b._init;b=g(b._payload);return Q(a,b,d,c,e,f);case xa:return a=b.render,F=0,G=f,a(e,void 0);case Aa:return Q(a,b.type,d,c,e,f)}}throw Error("Unsupported Server Component type: "+Xa(b));}function hb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return lb(a)},0))}function L(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return hb(a,e)},thenableState:null};c.add(e);return e} +function R(a){return"$"+a.toString(16)}function mb(a,b,d){a=K(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} +function nb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):R(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var l=k[h];if(l)g=l.name;else{var x=h.lastIndexOf("#");-1!==x&&(g=h.slice(x+1),l=k[h.slice(0,x)]);if(!l)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var Eb=!0===c.$$async?[l.id,l.chunks,g,1]:[l.id,l.chunks, +g];a.pendingChunks++;var Y=a.nextChunkId++,Fb=K(Eb),Gb=Y.toString(16)+":I"+Fb+"\n",Hb=q.encode(Gb);a.completedImportChunks.push(Hb);f.set(e,Y);return b[0]===z&&"1"===d?"$L"+Y.toString(16):R(Y)}catch(Ib){return a.pendingChunks++,b=a.nextChunkId++,d=N(a,Ib),O(a,b,d),R(b)}}function S(a,b){a.pendingChunks++;b=L(a,b,B,a.abortableTasks);ob(a,b);return b.id}var T=!1; +function fb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=S(a,c);return R(g)}if(T===c)T=null;else return R(f)}else e.set(c,-1);var k=c;c=Q(a,k.type,k.key,k.ref,k.props,null);break;case A:var h=c._init;c=h(c._payload)}}catch(l){b=l===Ha?Ka():l;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=L(a,c,B,a.abortableTasks), +c=a.ping,b.then(c,c),a.thenableState=La(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=N(a,b);O(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===r)return nb(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===typeof c.then){if(void 0!==d)if(T===c)T=null;else return"$@"+d.toString(16);a=gb(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=S(a,c),R(a);if(T===c)T=null;else return R(d)}else b.set(c,-1);if(Ua(c))return c; +if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+S(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+S(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Ca&&c[Ca]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Va(c);if(a!== +$a&&(null===a||null!==Va(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,c=q.encode(c),d=c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",d=q.encode(d),a.completedRegularChunks.push(d,c),R(b);a="$"===c[0]?"$"+c:c;return a}if("boolean"=== +typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===r)return nb(a,b,d,c);if(c.$$typeof===t)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=S(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+ +J(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+J(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return R(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+ +J(b,d));a.pendingChunks++;b=a.nextChunkId++;d=mb(a,b,"$S"+f);a.completedImportChunks.push(d);e.set(c,b);return R(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+J(b,d));} +function N(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function pb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} +function O(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)} +function ob(a,b){if(0===b.status){var d=B,c=b.context;d!==c&&(null===d?Ea(c):null===c?Da(d):d.depth===c.depth?C(d,c):d.depth>c.depth?Fa(d,c):Ga(d,c),B=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===z){a.writtenObjects.set(e,b.id);d=e;var f=b.thenableState;b.model=e;e=Q(a,d.type,d.key,d.ref,d.props,f);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===z;)a.writtenObjects.set(e,b.id),f=e,b.model=e,e=Q(a,f.type,f.key,f.ref,f.props,null)}"object"===typeof e&&null!== +e&&a.writtenObjects.set(e,b.id);var g=b.id;T=e;var k=K(e,a.toJSON),h=g.toString(16)+":"+k+"\n",l=q.encode(h);a.completedRegularChunks.push(l);a.abortableTasks.delete(b);b.status=1}catch(x){g=x===Ha?Ka():x,"object"===typeof g&&null!==g&&"function"===typeof g.then?(a=b.ping,g.then(a,a),b.thenableState=La()):(a.abortableTasks.delete(b),b.status=4,g=N(a,g),O(a,b.id,g))}}} +function lb(a){var b=bb.current;bb.current=Qa;var d=M;E=M=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)ob(a,c[e]);null!==a.destination&&P(a,a.destination)}catch(f){N(a,f),pb(a,f)}finally{bb.current=b,E=null,M=d}} +function P(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&& +b.close()}function qb(a){a.flushScheduled=null!==a.destination;ta?setTimeout(function(){return ua.run(a,lb,a)},0):setTimeout(function(){return lb(a)},0)}function ib(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return P(a,b)},0)}} +function rb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=N(a,c);a.pendingChunks++;var f=a.nextChunkId++;O(a,f,e,c);d.forEach(function(g){g.status=3;var k=R(f);g=mb(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&P(a,a.destination)}catch(g){N(a,g),pb(a,g)}} +function sb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var U=new Map; +function tb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function ub(){} +function vb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=U.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);d.push(f);var g=U.set.bind(U,e,null);f.then(g,ub);U.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?tb(a[0]):Promise.all(d).then(function(){return tb(a[0])}):0<d.length?Promise.all(d):null} +function V(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function wb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}wb.prototype=Object.create(Promise.prototype); +wb.prototype.then=function(a,b){switch(this.status){case "resolved_model":xb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function yb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function zb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&yb(d,b)}}function Ab(a,b,d,c,e,f){var g=sb(a._bundlerConfig,b);a=vb(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=V(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return V(g)});else return V(g);d.then(Bb(c,e,f),Cb(c));return null}var W=null,X=null; +function xb(a){var b=W,d=X;W=a;X=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==X&&0<X.deps?(X.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{W=b,X=d}}function Db(a,b){a._chunks.forEach(function(d){"pending"===d.status&&zb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new wb("resolved_model",c,null,a):new wb("pending",null,null,a),d.set(b,c));return c}function Bb(a,b,d){if(X){var c=X;c.deps++}else c=X={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&yb(e,c.value))}}function Cb(a){return function(b){return zb(a,b)}} +function Jb(a,b){a=Z(a,b);"resolved_model"===a.status&&xb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Kb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Jb(a,c),Ab(a,c.id,c.bound,W,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Jb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Jb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":xb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=W,a.then(Bb(c,b,d),Cb(c)),null;default:throw a.reason;}}return c} +function Lb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Kb(e,this,f,g):g}};return e}function Mb(a){Db(a,Error("Connection closed."))}function Nb(a,b,d){var c=sb(a,b);a=vb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=V(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return V(c)}):Promise.resolve(V(c))} +function Ob(a,b,d){a=Lb(b,d,a);Mb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ja)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Ob(a,b,e),c=Nb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Nb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Lb(b,"",a);Mb(a);return Z(a,0)}; +exports.registerClientReference=function(a,b,d){return u(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; +exports.renderToReadableStream=function(a,b,d){var c=eb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)rb(c,e.reason);else{var f=function(){rb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){qb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{P(c, +g)}catch(k){N(c,k),pb(c,k)}}},cancel:function(){}},{highWaterMark:0})}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js index afe61d52d045b..31f90b31c6377 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js @@ -729,14 +729,12 @@ var requestStorage = new async_hooks.AsyncLocalStorage(); // The Symbol used to tag the ReactElement-like types. var REACT_ELEMENT_TYPE = Symbol.for('react.element'); var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; @@ -754,12 +752,6 @@ function getIteratorFn(maybeIterable) { return null; } -var rendererSigil; - -{ - // Use this to detect multiple renderers using the same context - rendererSigil = {}; -} // Used to store the parent path of all context overrides in a shared linked list. // Forming a reverse tree. // The structure of a context snapshot is an implementation of this file. // Currently, it's implemented as tracking the current active node. @@ -892,52 +884,6 @@ function switchContext(newSnapshot) { currentActiveSnapshot = next; } } -function pushProvider(context, nextValue) { - var prevValue; - - { - prevValue = context._currentValue; - context._currentValue = nextValue; - - { - if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { - error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); - } - - context._currentRenderer = rendererSigil; - } - } - - var prevNode = currentActiveSnapshot; - var newNode = { - parent: prevNode, - depth: prevNode === null ? 0 : prevNode.depth + 1, - context: context, - parentValue: prevValue, - value: nextValue - }; - currentActiveSnapshot = newNode; - return newNode; -} -function popProvider() { - var prevSnapshot = currentActiveSnapshot; - - if (prevSnapshot === null) { - throw new Error('Tried to pop a Context at the root of the app. This is a bug in React.'); - } - - { - var value = prevSnapshot.parentValue; - - if (value === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - prevSnapshot.context._currentValue = prevSnapshot.context._defaultValue; - } else { - prevSnapshot.context._currentValue = value; - } - } - - return currentActiveSnapshot = prevSnapshot.parent; -} function getActiveContext() { return currentActiveSnapshot; } @@ -1228,6 +1174,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1246,7 +1194,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1262,7 +1210,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1538,57 +1486,14 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function getOrCreateServerContext(globalName) { - if (!ContextRegistry[globalName]) { - var context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _currentValue2: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _defaultValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - - { - var hasWarnedAboutUsingConsumer; - context._currentRenderer = null; - context._currentRenderer2 = null; - Object.defineProperties(context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } - - return null; - } - } - }); - } - - ContextRegistry[globalName] = context; - } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - return ContextRegistry[globalName]; +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); } +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1596,8 +1501,8 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1618,6 +1523,8 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + var hints = createHints(); var request = { status: OPEN, @@ -1639,8 +1546,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1649,7 +1558,7 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, } }; request.pendingChunks++; - var rootContext = createRootContext(context); + var rootContext = createRootContext(); var rootTask = createTask(request, model, rootContext, abortSet); pingedTasks.push(rootTask); return request; @@ -1667,11 +1576,9 @@ function resolveRequest() { } function createRootContext(reqContext) { - return importServerContexts(reqContext); + return importServerContexts(); } -var POP = {}; - function serializeThenable(request, thenable) { request.pendingChunks++; var newTask = createTask(request, null, getActiveContext(), request.abortableTasks); @@ -1891,32 +1798,6 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState { return attemptResolveElement(request, type.type, key, ref, props, prevThenableState); } - - case REACT_PROVIDER_TYPE: - { - pushProvider(type._context, props.value); - - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } - - return true; - }); - - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); - } - } - - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; - } } } @@ -1971,10 +1852,6 @@ function serializeSymbolReference(name) { return '$S' + name; } -function serializeProviderReference(name) { - return '$P' + name; -} - function serializeNumber(number) { if (Number.isFinite(number)) { if (number === 0 && 1 / number === -Infinity) { @@ -2063,10 +1940,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2099,12 +1975,44 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } @@ -2117,9 +2025,7 @@ function escapeStringValue(value) { return value; } } - -var insideContextProps = null; -var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2148,29 +2054,37 @@ function resolveModelToJSON(request, parent, key, value) { return '$'; } - { - if (parent[0] === REACT_ELEMENT_TYPE && parent[1] && parent[1].$$typeof === REACT_PROVIDER_TYPE && key === '3') { - insideContextProps = value; - } else if (insideContextProps === parent && key === 'value') { - isInsideContextValue = true; - } else if (insideContextProps === parent && key === 'children') { - isInsideContextValue = false; - } - } // Resolve Server Components. - while (typeof value === 'object' && value !== null && (value.$$typeof === REACT_ELEMENT_TYPE || value.$$typeof === REACT_LAZY_TYPE)) { - { - if (isInsideContextValue) { - error('React elements are not allowed in ServerContext'); - } - } try { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2222,35 +2136,61 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); - - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); - } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2261,27 +2201,29 @@ function resolveModelToJSON(request, parent, key, value) { return serializeSet(request, value); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2291,7 +2233,8 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2325,6 +2268,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2342,10 +2286,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2364,6 +2309,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + return serializeBigInt(value); } @@ -2383,7 +2329,8 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2447,14 +2394,12 @@ function emitSymbolChunk(request, id, name) { request.completedImportChunks.push(processedChunk); } -function emitProviderChunk(request, id, contextName) { - var contextReference = serializeProviderReference(contextName); - var processedChunk = encodeReferenceChunk(request, id, contextReference); - request.completedRegularChunks.push(processedChunk); -} - function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2473,7 +2418,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2490,11 +2436,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2649,7 +2601,7 @@ function flushCompletedChunks(request, destination) { flushBuffered(destination); if (request.pendingChunks === 0) { - // We're done. + close$1(destination); } } @@ -2731,22 +2683,6 @@ function abort(request, reason) { } function importServerContexts(contexts) { - if (contexts) { - var prevContext = getActiveContext(); - switchContext(rootContextSnapshot); - - for (var i = 0; i < contexts.length; i++) { - var _contexts$i = contexts[i], - name = _contexts$i[0], - value = _contexts$i[1]; - var context = getOrCreateServerContext(name); - pushProvider(context, value); - } - - var importedContext = getActiveContext(); - switchContext(prevContext); - return importedContext; - } return rootContextSnapshot; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js index 785d1147a1852..b7e6888de4bae 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js @@ -7,72 +7,74 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function t(a,b){a=a.write(b);q=q&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,b)):(d=l.length-m,d<b.byteLength&& -(0===d?t(a,l):(l.set(b.subarray(0,d),m),m+=d,t(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)));return q}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; -function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);a.$$typeof=w;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} -var ja=Promise.prototype,ka={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ -(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; -case "__esModule":var d=a.$$id;a.default=x(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=x({},a.$$id,!0),e=new Proxy(c,la);a.status="fulfilled";a.value=e;return a.then=x(function(f){return Promise.resolve(f(e))}, -a.$$id+"#then",!1)}c=a[b];c||(c=x(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ka));return c},getPrototypeOf:function(){return ja},set:function(){throw Error("Cannot assign to a client module from a server module."); -}},ta={prefetchDNS:ma,preconnect:na,preload:oa,preloadModule:pa,preinitStyle:qa,preinitScript:ra,preinitModuleScript:sa};function ma(a){if("string"===typeof a&&a){var b=y();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),z(b,"D",a))}}}function na(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?z(d,"C",[a,b]):z(d,"C",a))}}} -function oa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function pa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} -function qa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?z(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?z(c,"S",[a,b]):z(c,"S",a)}}}function ra(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"X",[a,b]):z(d,"X",a)}}}function sa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"M",[a,b]):z(d,"M",a)}}} +'use strict';var ba=require("util");require("crypto");var ca=require("async_hooks"),da=require("react"),ea=require("react-dom"),l=null,m=0,p=!0;function q(a,b){a=a.write(b);p=p&&a} +function r(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,fa.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=fa.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=fa.encodeInto(b.slice(c),l).written);2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,b)):(d=l.length-m,d<b.byteLength&& +(0===d?q(a,l):(l.set(b.subarray(0,d),m),m+=d,q(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)));return p}var fa=new ba.TextEncoder,t=Symbol.for("react.client.reference"),v=Symbol.for("react.server.reference");function w(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var ha=Function.prototype.bind,ia=Array.prototype.slice; +function ja(){var a=ha.apply(this,arguments);if(this.$$typeof===v){var b=ia.call(arguments,1);a.$$typeof=v;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +var ka=Promise.prototype,la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ +(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ma={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; +case "__esModule":var d=a.$$id;a.default=w(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=w({},a.$$id,!0),e=new Proxy(c,ma);a.status="fulfilled";a.value=e;return a.then=w(function(f){return Promise.resolve(f(e))}, +a.$$id+"#then",!1)}c=a[b];c||(c=w(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,la));return c},getPrototypeOf:function(){return ka},set:function(){throw Error("Cannot assign to a client module from a server module."); +}},ua={prefetchDNS:na,preconnect:oa,preload:pa,preloadModule:qa,preinitStyle:ra,preinitScript:sa,preinitModuleScript:ta};function na(a){if("string"===typeof a&&a){var b=x();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),y(b,"D",a))}}}function oa(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?y(d,"C",[a,b]):y(d,"C",a))}}} +function pa(a,b,d){if("string"===typeof a){var c=x();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?y(c,"L",[a,b,d]):y(c,"L",[a,b]))}}}function qa(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"m",[a,b]):y(d,"m",a)}}} +function ra(a,b,d){if("string"===typeof a){var c=x();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?y(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?y(c,"S",[a,b]):y(c,"S",a)}}}function sa(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"X",[a,b]):y(d,"X",a)}}}function ta(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"M",[a,b]):y(d,"M",a)}}} function A(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var ua=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,va=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.iterator,F=null; -function H(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");H(a,d);b.context._currentValue=b.value}}}function Fa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Fa(a)} -function Ga(a){var b=a.parent;null!==b&&Ga(b);a.context._currentValue=a.value}function Ha(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?H(a,b):Ha(a,b)} -function Ia(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?H(a,d):Ia(a,d);b.context._currentValue=b.value}function Ja(a){var b=F;b!==a&&(null===b?Ga(a):null===a?Fa(b):b.depth===a.depth?H(b,a):b.depth>a.depth?Ha(b,a):Ia(b,a),F=a)}function Ka(a,b){var d=a._currentValue;a._currentValue=b;var c=F;return F=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var La=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Ma(){}function Na(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ma,Ma),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}I=b;throw La;}}var I=null; -function Oa(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}var J=null,K=0,L=null;function Pa(){var a=L;L=null;return a}function Qa(a){return a._currentValue} -var Ua={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:M,useTransition:M,readContext:Qa,useContext:Qa,useReducer:M,useRef:M,useState:M,useInsertionEffect:M,useLayoutEffect:M,useImperativeHandle:M,useEffect:M,useId:Ra,useSyncExternalStore:M,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Ta}; -function M(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ra(){if(null===J)throw Error("useId can only be used while React is rendering");var a=J.identifierCount++;return":"+J.identifierPrefix+"S"+a.toString(32)+":"} -function Ta(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===L&&(L=[]);return Na(L,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Va(){return(new AbortController).signal}function Wa(){var a=y();return a?a.cache:new Map} -var Xa={getCacheSignal:function(){var a=Wa(),b=a.get(Va);void 0===b&&(b=Va(),a.set(Va,b));return b},getCacheForType:function(a){var b=Wa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Ya=Array.isArray;function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function $a(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ya(a))return"[...]";a=Za(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function N(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return N(a.render);case Ca:return N(a.type);case D:var b=a._payload;a=a._init;try{return N(a(b))}catch(d){}}return""} -function O(a,b){var d=Za(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Ya(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?O(g):$a(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+N(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?O(k): -$a(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var ab=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bb=ab.ContextRegistry,P=JSON.stringify,cb=ab.ReactCurrentDispatcher,db=ab.ReactCurrentCache;function eb(a){console.error(a)}function fb(){} -function gb(a,b,d,c,e,f){if(null!==db.current&&db.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;db.current=Xa;var g=new Set,h=[],k=new Set,n={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?eb:d,onPostpone:void 0===f?fb:f,toJSON:function(r,p){return hb(n,this,r,p)}};n.pendingChunks++;b=ib(c);a=jb(n,a,b,g);h.push(a);return n}var Q=null;function y(){if(Q)return Q;var a=va.getStore();return a?a:null}var kb={}; -function lb(a,b){a.pendingChunks++;var d=jb(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,mb(a,d),d.id;case "rejected":var c=R(a,b.reason);S(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;mb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=R(a,e);S(a, -d.id,e);null!==a.destination&&T(a,a.destination)});return d.id}function z(a,b,d){d=P(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");nb(a)}function ob(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function pb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:D,_payload:a,_init:ob}} -function U(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[B,b,d,e];K=0;L=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:pb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[B,b,d,e];switch(b.$$typeof){case D:var g= -b._init;b=g(b._payload);return U(a,b,d,c,e,f);case za:return a=b.render,K=0,L=f,a(e,void 0);case Ca:return U(a,b.type,d,c,e,f);case xa:return Ka(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:kb}]}}throw Error("Unsupported Server Component type: "+$a(b));}function mb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return qb(a)}))} -function jb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return mb(a,e)},thenableState:null};c.add(e);return e}function V(a){return"$"+a.toString(16)}function rb(a,b,d){a=P(d);return b.toString(16)+":"+a+"\n"} -function sb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):V(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var r=k.lastIndexOf("#");-1!==r&&(g=k.slice(r+1),n=h[k.slice(0,r)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var p=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, -g];a.pendingChunks++;var G=a.nextChunkId++,C=P(p),Nb=G.toString(16)+":I"+C+"\n";a.completedImportChunks.push(Nb);f.set(e,G);return b[0]===B&&"1"===d?"$L"+G.toString(16):V(G)}catch(Ob){return a.pendingChunks++,b=a.nextChunkId++,d=R(a,Ob),S(a,b,d),V(b)}}function tb(a,b){a.pendingChunks++;var d=a.nextChunkId++;ub(a,d,b);return d} -function hb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===D);)try{switch(c.$$typeof){case B:var e=c;c=U(a,e.type,e.key,e.ref,e.props,null);break;case D:var f=c._init;c=f(c._payload)}}catch(g){d=g===La?Oa():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=jb(a,c,F,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Pa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=R(a,d);S(a,c,d);return"$L"+ -c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===v)return sb(a,b,d,c);if("function"===typeof c.then)return"$@"+lb(a,c).toString(16);if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=rb(a,d,"$P"+c),a.completedRegularChunks.push(c)),V(d);if(c===kb){a=F;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue= -c===E?a.context._defaultValue:c;F=a.parent;return}return c instanceof Map?"$Q"+tb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+tb(a,Array.from(c)).toString(16):!Ya(c)&&(null===c||"object"!==typeof c?a=null:(a=Ea&&c[Ea]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,b= -d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),V(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===v)return sb(a,b,d,c);if(c.$$typeof===w)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound, -b={id:c.$$id,bound:b?Promise.resolve(b):null},a=tb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+O(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+O(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return V(f); -f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+O(b,d));a.pendingChunks++;d=a.nextChunkId++;b=rb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return V(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+O(b,d));} -function R(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function vb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function S(a,b,d){d={digest:d};b=b.toString(16)+":E"+P(d)+"\n";a.completedErrorChunks.push(b)}function ub(a,b,d){d=P(d,a.toJSON);b=b.toString(16)+":"+d+"\n";a.completedRegularChunks.push(b)} -function qb(a){var b=cb.current;cb.current=Ua;var d=Q;J=Q=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];var g=a;if(0===f.status){Ja(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===B){var k=h,n=f.thenableState;f.model=h;h=U(g,k.type,k.key,k.ref,k.props,n);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===B;)k=h,f.model=h,h=U(g,k.type,k.key,k.ref,k.props,null)}ub(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(C){var r= -C===La?Oa():C;if("object"===typeof r&&null!==r&&"function"===typeof r.then){var p=f.ping;r.then(p,p);f.thenableState=Pa()}else{g.abortableTasks.delete(f);f.status=4;var G=R(g,r);S(g,f.id,G)}}}}null!==a.destination&&T(a,a.destination)}catch(C){R(a,C),vb(a,C)}finally{cb.current=b,J=null,Q=d}} -function T(a,b){l=new Uint8Array(2048);m=0;q=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!u(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!u(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!u(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!u(b,g[c])){a.destination= -null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function wb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return va.run(a,qb,a)})}function nb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return T(a,b)})}} -function xb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{T(a,b)}catch(d){R(a,d),vb(a,d)}}} -function yb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=R(a,c);a.pendingChunks++;var f=a.nextChunkId++;S(a,f,e,c);d.forEach(function(g){g.status=3;var h=V(f);g=rb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&T(a,a.destination)}catch(g){R(a,g),vb(a,g)}} -function ib(a){if(a){var b=F;Ja(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!bb[e]){var f={$$typeof:ya,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};bb[e]=f}Ka(bb[e],c)}a=F;Ja(b);return a}return null} -function zb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Ab=new Map; -function Bb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Cb(){} -function Db(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=Ab.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);d.push(f);var g=Ab.set.bind(Ab,e,null);f.then(g,Cb);Ab.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Bb(a[0]):Promise.all(d).then(function(){return Bb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Eb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Eb.prototype=Object.create(Promise.prototype); -Eb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Fb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Gb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Hb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Gb(d,b)}}function Ib(a,b,d,c,e,f){var g=zb(a._bundlerConfig,b);a=Db(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Jb(c,e,f),Kb(c));return null}var X=null,Y=null; -function Fb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Lb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Hb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Eb("resolved_model",c,null,a):new Eb("pending",null,null,a),d.set(b,c));return c}function Jb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Gb(e,c.value))}}function Kb(a){return function(b){return Hb(a,b)}} -function Mb(a,b){a=Z(a,b);"resolved_model"===a.status&&Fb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Pb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Mb(a,c),Ib(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Mb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Mb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Fb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Jb(c,b,d),Kb(c)),null;default:throw a.reason;}}return c} -function Qb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Pb(e,this,f,g):g}};return e} -function Rb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Fb(b),b.status){case "fulfilled":Gb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Gb(a,b.reason)}}function Sb(a){Lb(a,Error("Connection closed."))} -function Tb(a,b,d){var c=zb(a,b);a=Db(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Ub(a,b,d){a=Qb(b,d,a);Sb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Vb(a,b){return function(){return xb(b,a)}}exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,la)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Ub(a,b,e),c=Tb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Tb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Qb(b,"",a);Sb(a);return Z(a,0)}; -exports.decodeReplyFromBusboy=function(a,b){var d=Qb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Rb(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var r=[];g.on("data",function(p){r.push(p)});g.on("end",function(){var p= -new Blob(r,{type:n});d._formData.append(f,p,k);c--;if(0===c){for(p=0;p<e.length;p+=2)Rb(d,e[p],e[p+1]);e.length=0}})});a.on("finish",function(){Sb(d)});a.on("error",function(f){Lb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; -exports.renderToPipeableStream=function(a,b,d){var c=gb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;wb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;xb(c,f);f.on("drain",Vb(f,c));return f},abort:function(f){yb(c,f)}}}; +var va=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ca.AsyncLocalStorage,B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.iterator,D=null; +function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function Fa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Fa(a)} +function Ga(a){var b=a.parent;null!==b&&Ga(b);a.context._currentValue=a.value}function Ha(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):Ha(a,b)} +function Ia(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):Ia(a,d);b.context._currentValue=b.value}var Ja=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Ka(){}function La(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ka,Ka),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}F=b;throw Ja;}}var F=null; +function Ma(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,H=0,I=null;function Na(){var a=I;I=null;return a}function Oa(a){return a._currentValue} +var Sa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:J,useTransition:J,readContext:Oa,useContext:Oa,useReducer:J,useRef:J,useState:J,useInsertionEffect:J,useLayoutEffect:J,useImperativeHandle:J,useEffect:J,useId:Pa,useSyncExternalStore:J,useCacheRefresh:function(){return Qa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Ra}; +function J(){throw Error("This Hook is not supported in Server Components.");}function Qa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Pa(){if(null===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"} +function Ra(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=H;H+=1;null===I&&(I=[]);return La(I,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ta(){return(new AbortController).signal}function Ua(){var a=x();return a?a.cache:new Map} +var Va={getCacheSignal:function(){var a=Ua(),b=a.get(Ta);void 0===b&&(b=Ta(),a.set(Ta,b));return b},getCacheForType:function(a){var b=Ua(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Wa=Array.isArray,Xa=Object.getPrototypeOf;function Ya(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function Za(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Wa(a))return"[...]";a=Ya(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function K(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return K(a.render);case Ca:return K(a.type);case C:var b=a._payload;a=a._init;try{return K(a(b))}catch(d){}}return""} +function L(a,b){var d=Ya(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Wa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?L(g):Za(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+K(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?L(h): +Za(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var $a=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ab=da.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!ab)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); +var bb=Object.prototype,M=JSON.stringify,cb=ab.ReactCurrentCache,db=$a.ReactCurrentDispatcher;function eb(a){console.error(a)}function fb(){} +function gb(a,b,d,c,e,f){if(null!==cb.current&&cb.current!==Va)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;cb.current=Va;var g=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===d?eb:d,onPostpone:void 0===f?fb:f,toJSON:function(n,z){return hb(h,this,n,z)}};h.pendingChunks++;a=N(h,a,null,g);c.push(a);return h}var O=null;function x(){if(O)return O;var a=wa.getStore();return a?a:null} +function ib(a,b){a.pendingChunks++;var d=N(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,jb(a,d),d.id;case "rejected":var c=P(a,b.reason);Q(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;jb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=P(a,e);Q(a, +d.id,e);null!==a.destination&&R(a,a.destination)});return d.id}function y(a,b,d){d=M(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");kb(a)}function lb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function mb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:lb}} +function S(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[B,b,d,e];H=0;I=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:mb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[B,b,d,e];switch(b.$$typeof){case C:var g= +b._init;b=g(b._payload);return S(a,b,d,c,e,f);case za:return a=b.render,H=0,I=f,a(e,void 0);case Ca:return S(a,b.type,d,c,e,f)}}throw Error("Unsupported Server Component type: "+Za(b));}function jb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return nb(a)}))}function N(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return jb(a,e)},thenableState:null};c.add(e);return e} +function T(a){return"$"+a.toString(16)}function ob(a,b,d){a=M(d);return b.toString(16)+":"+a+"\n"} +function pb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):T(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var n=k[h];if(n)g=n.name;else{var z=h.lastIndexOf("#");-1!==z&&(g=h.slice(z+1),n=k[h.slice(0,z)]);if(!n)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, +g];a.pendingChunks++;var aa=a.nextChunkId++,Jb=M(u),Kb=aa.toString(16)+":I"+Jb+"\n";a.completedImportChunks.push(Kb);f.set(e,aa);return b[0]===B&&"1"===d?"$L"+aa.toString(16):T(aa)}catch(Lb){return a.pendingChunks++,b=a.nextChunkId++,d=P(a,Lb),Q(a,b,d),T(b)}}function U(a,b){a.pendingChunks++;b=N(a,b,D,a.abortableTasks);qb(a,b);return b.id}var V=!1; +function hb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=U(a,c);return T(g)}if(V===c)V=null;else return T(f)}else e.set(c,-1);var k=c;c=S(a,k.type,k.key,k.ref,k.props,null);break;case C:var h=c._init;c=h(c._payload)}}catch(n){b=n===Ja?Ma():n;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=N(a,c,D,a.abortableTasks), +c=a.ping,b.then(c,c),a.thenableState=Na(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=P(a,b);Q(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return pb(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===typeof c.then){if(void 0!==d)if(V===c)V=null;else return"$@"+d.toString(16);a=ib(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=U(a,c),T(a);if(V===c)V=null;else return T(d)}else b.set(c,-1);if(Wa(c))return c; +if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+U(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+U(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Ea&&c[Ea]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Xa(c);if(a!== +bb&&(null===a||null!==Xa(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,d="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",a.completedRegularChunks.push(d,c),T(b);a="$"===c[0]?"$"+ +c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return pb(a,b,d,c);if(c.$$typeof===v)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=U(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+ +L(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+L(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return T(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+ +L(b,d));a.pendingChunks++;b=a.nextChunkId++;d=ob(a,b,"$S"+f);a.completedImportChunks.push(d);e.set(c,b);return T(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+L(b,d));} +function P(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function rb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+M(d)+"\n";a.completedErrorChunks.push(b)} +function qb(a,b){if(0===b.status){var d=D,c=b.context;d!==c&&(null===d?Ga(c):null===c?Fa(d):d.depth===c.depth?E(d,c):d.depth>c.depth?Ha(d,c):Ia(d,c),D=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===B){a.writtenObjects.set(e,b.id);d=e;var f=b.thenableState;b.model=e;e=S(a,d.type,d.key,d.ref,d.props,f);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===B;)a.writtenObjects.set(e,b.id),f=e,b.model=e,e=S(a,f.type,f.key,f.ref,f.props,null)}"object"===typeof e&&null!== +e&&a.writtenObjects.set(e,b.id);var g=b.id;V=e;var k=M(e,a.toJSON),h=g.toString(16)+":"+k+"\n";a.completedRegularChunks.push(h);a.abortableTasks.delete(b);b.status=1}catch(n){g=n===Ja?Ma():n,"object"===typeof g&&null!==g&&"function"===typeof g.then?(a=b.ping,g.then(a,a),b.thenableState=Na()):(a.abortableTasks.delete(b),b.status=4,g=P(a,g),Q(a,b.id,g))}}} +function nb(a){var b=db.current;db.current=Sa;var d=O;G=O=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)qb(a,c[e]);null!==a.destination&&R(a,a.destination)}catch(f){P(a,f),rb(a,f)}finally{db.current=b,G=null,O=d}} +function R(a,b){l=new Uint8Array(2048);m=0;p=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!r(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!r(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!r(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!r(b,g[c])){a.destination= +null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,p=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function sb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,nb,a)})}function kb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return R(a,b)})}} +function tb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{R(a,b)}catch(d){P(a,d),rb(a,d)}}} +function ub(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=P(a,c);a.pendingChunks++;var f=a.nextChunkId++;Q(a,f,e,c);d.forEach(function(g){g.status=3;var k=T(f);g=ob(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){P(a,g),rb(a,g)}} +function vb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var wb=new Map; +function xb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function yb(){} +function zb(a){for(var b=a[1],d=[],c=0;c<b.length;c++){var e=b[c],f=wb.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);d.push(f);var g=wb.set.bind(wb,e,null);f.then(g,yb);wb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?xb(a[0]):Promise.all(d).then(function(){return xb(a[0])}):0<d.length?Promise.all(d):null} +function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Ab(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Ab.prototype=Object.create(Promise.prototype); +Ab.prototype.then=function(a,b){switch(this.status){case "resolved_model":Bb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Cb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Db(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Cb(d,b)}}function Eb(a,b,d,c,e,f){var g=vb(a._bundlerConfig,b);a=zb(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Fb(c,e,f),Gb(c));return null}var X=null,Y=null; +function Bb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Hb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Db(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Ab("resolved_model",c,null,a):new Ab("pending",null,null,a),d.set(b,c));return c}function Fb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Cb(e,c.value))}}function Gb(a){return function(b){return Db(a,b)}} +function Ib(a,b){a=Z(a,b);"resolved_model"===a.status&&Bb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Mb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Ib(a,c),Eb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Ib(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Ib(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Bb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Fb(c,b,d),Gb(c)),null;default:throw a.reason;}}return c} +function Nb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Mb(e,this,f,g):g}};return e} +function Ob(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Bb(b),b.status){case "fulfilled":Cb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Cb(a,b.reason)}}function Pb(a){Hb(a,Error("Connection closed."))} +function Qb(a,b,d){var c=vb(a,b);a=zb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Rb(a,b,d){a=Nb(b,d,a);Pb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Sb(a,b){return function(){return tb(b,a)}}exports.createClientModuleProxy=function(a){a=w({},a,!1);return new Proxy(a,ma)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Rb(a,b,e),c=Qb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Qb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Nb(b,"",a);Pb(a);return Z(a,0)}; +exports.decodeReplyFromBusboy=function(a,b){var d=Nb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Ob(d,f,g)});a.on("file",function(f,g,k){var h=k.filename,n=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var z=[];g.on("data",function(u){z.push(u)});g.on("end",function(){var u= +new Blob(z,{type:n});d._formData.append(f,u,h);c--;if(0===c){for(u=0;u<e.length;u+=2)Ob(d,e[u],e[u+1]);e.length=0}})});a.on("finish",function(){Pb(d)});a.on("error",function(f){Hb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return w(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ja}})}; +exports.renderToPipeableStream=function(a,b,d){var c=gb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;sb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;tb(c,f);f.on("drain",Sb(f,c));return f},abort:function(f){ub(c,f)}}}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js index e3c55b22c115b..64ddff6cf064c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js @@ -729,14 +729,12 @@ var requestStorage = new async_hooks.AsyncLocalStorage(); // The Symbol used to tag the ReactElement-like types. var REACT_ELEMENT_TYPE = Symbol.for('react.element'); var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; @@ -754,12 +752,6 @@ function getIteratorFn(maybeIterable) { return null; } -var rendererSigil; - -{ - // Use this to detect multiple renderers using the same context - rendererSigil = {}; -} // Used to store the parent path of all context overrides in a shared linked list. // Forming a reverse tree. // The structure of a context snapshot is an implementation of this file. // Currently, it's implemented as tracking the current active node. @@ -892,52 +884,6 @@ function switchContext(newSnapshot) { currentActiveSnapshot = next; } } -function pushProvider(context, nextValue) { - var prevValue; - - { - prevValue = context._currentValue; - context._currentValue = nextValue; - - { - if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { - error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); - } - - context._currentRenderer = rendererSigil; - } - } - - var prevNode = currentActiveSnapshot; - var newNode = { - parent: prevNode, - depth: prevNode === null ? 0 : prevNode.depth + 1, - context: context, - parentValue: prevValue, - value: nextValue - }; - currentActiveSnapshot = newNode; - return newNode; -} -function popProvider() { - var prevSnapshot = currentActiveSnapshot; - - if (prevSnapshot === null) { - throw new Error('Tried to pop a Context at the root of the app. This is a bug in React.'); - } - - { - var value = prevSnapshot.parentValue; - - if (value === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - prevSnapshot.context._currentValue = prevSnapshot.context._defaultValue; - } else { - prevSnapshot.context._currentValue = value; - } - } - - return currentActiveSnapshot = prevSnapshot.parent; -} function getActiveContext() { return currentActiveSnapshot; } @@ -1228,6 +1174,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1246,7 +1194,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1262,7 +1210,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1538,57 +1486,14 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function getOrCreateServerContext(globalName) { - if (!ContextRegistry[globalName]) { - var context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _currentValue2: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _defaultValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - - { - var hasWarnedAboutUsingConsumer; - context._currentRenderer = null; - context._currentRenderer2 = null; - Object.defineProperties(context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } - - return null; - } - } - }); - } - - ContextRegistry[globalName] = context; - } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - return ContextRegistry[globalName]; +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); } +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1596,8 +1501,8 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1618,6 +1523,8 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + var hints = createHints(); var request = { status: OPEN, @@ -1639,8 +1546,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1649,7 +1558,7 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, } }; request.pendingChunks++; - var rootContext = createRootContext(context); + var rootContext = createRootContext(); var rootTask = createTask(request, model, rootContext, abortSet); pingedTasks.push(rootTask); return request; @@ -1667,11 +1576,9 @@ function resolveRequest() { } function createRootContext(reqContext) { - return importServerContexts(reqContext); + return importServerContexts(); } -var POP = {}; - function serializeThenable(request, thenable) { request.pendingChunks++; var newTask = createTask(request, null, getActiveContext(), request.abortableTasks); @@ -1891,32 +1798,6 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState { return attemptResolveElement(request, type.type, key, ref, props, prevThenableState); } - - case REACT_PROVIDER_TYPE: - { - pushProvider(type._context, props.value); - - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } - - return true; - }); - - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); - } - } - - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; - } } } @@ -1971,10 +1852,6 @@ function serializeSymbolReference(name) { return '$S' + name; } -function serializeProviderReference(name) { - return '$P' + name; -} - function serializeNumber(number) { if (Number.isFinite(number)) { if (number === 0 && 1 / number === -Infinity) { @@ -2063,10 +1940,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2099,12 +1975,44 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } @@ -2117,9 +2025,7 @@ function escapeStringValue(value) { return value; } } - -var insideContextProps = null; -var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2148,29 +2054,37 @@ function resolveModelToJSON(request, parent, key, value) { return '$'; } - { - if (parent[0] === REACT_ELEMENT_TYPE && parent[1] && parent[1].$$typeof === REACT_PROVIDER_TYPE && key === '3') { - insideContextProps = value; - } else if (insideContextProps === parent && key === 'value') { - isInsideContextValue = true; - } else if (insideContextProps === parent && key === 'children') { - isInsideContextValue = false; - } - } // Resolve Server Components. - while (typeof value === 'object' && value !== null && (value.$$typeof === REACT_ELEMENT_TYPE || value.$$typeof === REACT_LAZY_TYPE)) { - { - if (isInsideContextValue) { - error('React elements are not allowed in ServerContext'); - } - } try { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2222,35 +2136,61 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); - - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); - } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2261,27 +2201,29 @@ function resolveModelToJSON(request, parent, key, value) { return serializeSet(request, value); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2291,7 +2233,8 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2325,6 +2268,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2342,10 +2286,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2364,6 +2309,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + return serializeBigInt(value); } @@ -2383,7 +2329,8 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2447,14 +2394,12 @@ function emitSymbolChunk(request, id, name) { request.completedImportChunks.push(processedChunk); } -function emitProviderChunk(request, id, contextName) { - var contextReference = serializeProviderReference(contextName); - var processedChunk = encodeReferenceChunk(request, id, contextReference); - request.completedRegularChunks.push(processedChunk); -} - function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2473,7 +2418,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2490,11 +2436,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2649,7 +2601,7 @@ function flushCompletedChunks(request, destination) { flushBuffered(destination); if (request.pendingChunks === 0) { - // We're done. + close$1(destination); } } @@ -2731,22 +2683,6 @@ function abort(request, reason) { } function importServerContexts(contexts) { - if (contexts) { - var prevContext = getActiveContext(); - switchContext(rootContextSnapshot); - - for (var i = 0; i < contexts.length; i++) { - var _contexts$i = contexts[i], - name = _contexts$i[0], - value = _contexts$i[1]; - var context = getOrCreateServerContext(name); - pushProvider(context, value); - } - - var importedContext = getActiveContext(); - switchContext(prevContext); - return importedContext; - } return rootContextSnapshot; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js index 19536b9b6b56b..9311593088437 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js @@ -7,69 +7,71 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function t(a,b){a=a.write(b);q=q&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,b)):(d=l.length-m,d<b.byteLength&& -(0===d?t(a,l):(l.set(b.subarray(0,d),m),m+=d,t(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)));return q}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; -function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);a.$$typeof=w;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} -var ja=Promise.prototype,ka={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ -(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; -case "__esModule":var d=a.$$id;a.default=x(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=x({},a.$$id,!0),e=new Proxy(c,la);a.status="fulfilled";a.value=e;return a.then=x(function(f){return Promise.resolve(f(e))}, -a.$$id+"#then",!1)}c=a[b];c||(c=x(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ka));return c},getPrototypeOf:function(){return ja},set:function(){throw Error("Cannot assign to a client module from a server module."); -}},ta={prefetchDNS:ma,preconnect:na,preload:oa,preloadModule:pa,preinitStyle:qa,preinitScript:ra,preinitModuleScript:sa};function ma(a){if("string"===typeof a&&a){var b=y();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),z(b,"D",a))}}}function na(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?z(d,"C",[a,b]):z(d,"C",a))}}} -function oa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function pa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} -function qa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?z(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?z(c,"S",[a,b]):z(c,"S",a)}}}function ra(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"X",[a,b]):z(d,"X",a)}}}function sa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"M",[a,b]):z(d,"M",a)}}} +'use strict';var ba=require("util");require("crypto");var ca=require("async_hooks"),da=require("react"),ea=require("react-dom"),l=null,m=0,p=!0;function q(a,b){a=a.write(b);p=p&&a} +function r(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,fa.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=fa.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=fa.encodeInto(b.slice(c),l).written);2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,b)):(d=l.length-m,d<b.byteLength&& +(0===d?q(a,l):(l.set(b.subarray(0,d),m),m+=d,q(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)));return p}var fa=new ba.TextEncoder,t=Symbol.for("react.client.reference"),v=Symbol.for("react.server.reference");function w(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var ha=Function.prototype.bind,ia=Array.prototype.slice; +function ja(){var a=ha.apply(this,arguments);if(this.$$typeof===v){var b=ia.call(arguments,1);a.$$typeof=v;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +var ka=Promise.prototype,la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ +(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ma={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive]; +case "__esModule":var d=a.$$id;a.default=w(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=w({},a.$$id,!0),e=new Proxy(c,ma);a.status="fulfilled";a.value=e;return a.then=w(function(f){return Promise.resolve(f(e))}, +a.$$id+"#then",!1)}c=a[b];c||(c=w(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,la));return c},getPrototypeOf:function(){return ka},set:function(){throw Error("Cannot assign to a client module from a server module."); +}},ua={prefetchDNS:na,preconnect:oa,preload:pa,preloadModule:qa,preinitStyle:ra,preinitScript:sa,preinitModuleScript:ta};function na(a){if("string"===typeof a&&a){var b=x();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),y(b,"D",a))}}}function oa(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?y(d,"C",[a,b]):y(d,"C",a))}}} +function pa(a,b,d){if("string"===typeof a){var c=x();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?y(c,"L",[a,b,d]):y(c,"L",[a,b]))}}}function qa(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"m",[a,b]):y(d,"m",a)}}} +function ra(a,b,d){if("string"===typeof a){var c=x();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?y(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?y(c,"S",[a,b]):y(c,"S",a)}}}function sa(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"X",[a,b]):y(d,"X",a)}}}function ta(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"M",[a,b]):y(d,"M",a)}}} function A(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var ua=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,va=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.iterator,F=null; -function H(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");H(a,d);b.context._currentValue=b.value}}}function Fa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Fa(a)} -function Ga(a){var b=a.parent;null!==b&&Ga(b);a.context._currentValue=a.value}function Ha(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?H(a,b):Ha(a,b)} -function Ia(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?H(a,d):Ia(a,d);b.context._currentValue=b.value}function Ja(a){var b=F;b!==a&&(null===b?Ga(a):null===a?Fa(b):b.depth===a.depth?H(b,a):b.depth>a.depth?Ha(b,a):Ia(b,a),F=a)}function Ka(a,b){var d=a._currentValue;a._currentValue=b;var c=F;return F=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var La=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Ma(){}function Na(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ma,Ma),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}I=b;throw La;}}var I=null; -function Oa(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}var J=null,K=0,L=null;function Pa(){var a=L;L=null;return a}function Qa(a){return a._currentValue} -var Ua={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:M,useTransition:M,readContext:Qa,useContext:Qa,useReducer:M,useRef:M,useState:M,useInsertionEffect:M,useLayoutEffect:M,useImperativeHandle:M,useEffect:M,useId:Ra,useSyncExternalStore:M,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Ta}; -function M(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ra(){if(null===J)throw Error("useId can only be used while React is rendering");var a=J.identifierCount++;return":"+J.identifierPrefix+"S"+a.toString(32)+":"} -function Ta(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===L&&(L=[]);return Na(L,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Va(){return(new AbortController).signal}function Wa(){var a=y();return a?a.cache:new Map} -var Xa={getCacheSignal:function(){var a=Wa(),b=a.get(Va);void 0===b&&(b=Va(),a.set(Va,b));return b},getCacheForType:function(a){var b=Wa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Ya=Array.isArray;function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function $a(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ya(a))return"[...]";a=Za(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function N(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return N(a.render);case Ca:return N(a.type);case D:var b=a._payload;a=a._init;try{return N(a(b))}catch(d){}}return""} -function O(a,b){var d=Za(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Ya(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?O(g):$a(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+N(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?O(k): -$a(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var ab=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bb=ab.ContextRegistry,P=JSON.stringify,cb=ab.ReactCurrentDispatcher,db=ab.ReactCurrentCache;function eb(a){console.error(a)}function fb(){} -function gb(a,b,d,c,e,f){if(null!==db.current&&db.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;db.current=Xa;var g=new Set,h=[],k=new Set,n={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?eb:d,onPostpone:void 0===f?fb:f,toJSON:function(r,p){return hb(n,this,r,p)}};n.pendingChunks++;b=ib(c);a=jb(n,a,b,g);h.push(a);return n}var Q=null;function y(){if(Q)return Q;var a=va.getStore();return a?a:null}var kb={}; -function lb(a,b){a.pendingChunks++;var d=jb(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,mb(a,d),d.id;case "rejected":var c=R(a,b.reason);S(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;mb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=R(a,e);S(a, -d.id,e);null!==a.destination&&T(a,a.destination)});return d.id}function z(a,b,d){d=P(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");nb(a)}function ob(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function pb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:D,_payload:a,_init:ob}} -function U(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[B,b,d,e];K=0;L=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:pb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[B,b,d,e];switch(b.$$typeof){case D:var g= -b._init;b=g(b._payload);return U(a,b,d,c,e,f);case za:return a=b.render,K=0,L=f,a(e,void 0);case Ca:return U(a,b.type,d,c,e,f);case xa:return Ka(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:kb}]}}throw Error("Unsupported Server Component type: "+$a(b));}function mb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return qb(a)}))} -function jb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return mb(a,e)},thenableState:null};c.add(e);return e}function V(a){return"$"+a.toString(16)}function rb(a,b,d){a=P(d);return b.toString(16)+":"+a+"\n"} -function sb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):V(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var r=k.lastIndexOf("#");-1!==r&&(g=k.slice(r+1),n=h[k.slice(0,r)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var p=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, -g];a.pendingChunks++;var G=a.nextChunkId++,C=P(p),Mb=G.toString(16)+":I"+C+"\n";a.completedImportChunks.push(Mb);f.set(e,G);return b[0]===B&&"1"===d?"$L"+G.toString(16):V(G)}catch(Nb){return a.pendingChunks++,b=a.nextChunkId++,d=R(a,Nb),S(a,b,d),V(b)}}function tb(a,b){a.pendingChunks++;var d=a.nextChunkId++;ub(a,d,b);return d} -function hb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===D);)try{switch(c.$$typeof){case B:var e=c;c=U(a,e.type,e.key,e.ref,e.props,null);break;case D:var f=c._init;c=f(c._payload)}}catch(g){d=g===La?Oa():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=jb(a,c,F,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Pa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=R(a,d);S(a,c,d);return"$L"+ -c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===v)return sb(a,b,d,c);if("function"===typeof c.then)return"$@"+lb(a,c).toString(16);if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=rb(a,d,"$P"+c),a.completedRegularChunks.push(c)),V(d);if(c===kb){a=F;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue= -c===E?a.context._defaultValue:c;F=a.parent;return}return c instanceof Map?"$Q"+tb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+tb(a,Array.from(c)).toString(16):!Ya(c)&&(null===c||"object"!==typeof c?a=null:(a=Ea&&c[Ea]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,b= -d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),V(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===v)return sb(a,b,d,c);if(c.$$typeof===w)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound, -b={id:c.$$id,bound:b?Promise.resolve(b):null},a=tb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+O(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+O(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return V(f); -f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+O(b,d));a.pendingChunks++;d=a.nextChunkId++;b=rb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return V(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+O(b,d));} -function R(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function vb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function S(a,b,d){d={digest:d};b=b.toString(16)+":E"+P(d)+"\n";a.completedErrorChunks.push(b)}function ub(a,b,d){d=P(d,a.toJSON);b=b.toString(16)+":"+d+"\n";a.completedRegularChunks.push(b)} -function qb(a){var b=cb.current;cb.current=Ua;var d=Q;J=Q=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];var g=a;if(0===f.status){Ja(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===B){var k=h,n=f.thenableState;f.model=h;h=U(g,k.type,k.key,k.ref,k.props,n);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===B;)k=h,f.model=h,h=U(g,k.type,k.key,k.ref,k.props,null)}ub(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(C){var r= -C===La?Oa():C;if("object"===typeof r&&null!==r&&"function"===typeof r.then){var p=f.ping;r.then(p,p);f.thenableState=Pa()}else{g.abortableTasks.delete(f);f.status=4;var G=R(g,r);S(g,f.id,G)}}}}null!==a.destination&&T(a,a.destination)}catch(C){R(a,C),vb(a,C)}finally{cb.current=b,J=null,Q=d}} -function T(a,b){l=new Uint8Array(2048);m=0;q=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!u(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!u(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!u(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!u(b,g[c])){a.destination= -null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function wb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return va.run(a,qb,a)})}function nb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return T(a,b)})}} -function xb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{T(a,b)}catch(d){R(a,d),vb(a,d)}}} -function yb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=R(a,c);a.pendingChunks++;var f=a.nextChunkId++;S(a,f,e,c);d.forEach(function(g){g.status=3;var h=V(f);g=rb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&T(a,a.destination)}catch(g){R(a,g),vb(a,g)}} -function ib(a){if(a){var b=F;Ja(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!bb[e]){var f={$$typeof:ya,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};bb[e]=f}Ka(bb[e],c)}a=F;Ja(b);return a}return null}function zb(a,b){var d=b.lastIndexOf("#");a=b.slice(0,d);b=b.slice(d+1);return{specifier:a,name:b}}var Ab=new Map; -function Bb(a){var b=Ab.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});Ab.set(a.specifier,d);return d}function W(a){var b=Ab.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]} -function Cb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Cb.prototype=Object.create(Promise.prototype);Cb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Db(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function Eb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Fb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Eb(d,b)}}function Gb(a,b,d,c,e,f){var g=zb(a._bundlerConfig,b);a=Bb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Hb(c,e,f),Ib(c));return null}var X=null,Y=null; -function Db(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Jb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Fb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Cb("resolved_model",c,null,a):new Cb("pending",null,null,a),d.set(b,c));return c}function Hb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Eb(e,c.value))}}function Ib(a){return function(b){return Fb(a,b)}} -function Kb(a,b){a=Z(a,b);"resolved_model"===a.status&&Db(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Lb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Kb(a,c),Gb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Kb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Kb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Db(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Hb(c,b,d),Ib(c)),null;default:throw a.reason;}}return c} -function Ob(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Lb(e,this,f,g):g}};return e} -function Pb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Db(b),b.status){case "fulfilled":Eb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Eb(a,b.reason)}}function Qb(a){Jb(a,Error("Connection closed."))} -function Rb(a,b,d){var c=zb(a,b);a=Bb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Sb(a,b,d){a=Ob(b,d,a);Qb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Tb(a,b){return function(){return xb(b,a)}}exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,la)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Sb(a,b,e),c=Rb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Rb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Ob(b,"",a);Qb(a);return Z(a,0)}; -exports.decodeReplyFromBusboy=function(a,b){var d=Ob(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Pb(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var r=[];g.on("data",function(p){r.push(p)});g.on("end",function(){var p= -new Blob(r,{type:n});d._formData.append(f,p,k);c--;if(0===c){for(p=0;p<e.length;p+=2)Pb(d,e[p],e[p+1]);e.length=0}})});a.on("finish",function(){Qb(d)});a.on("error",function(f){Jb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; -exports.renderToPipeableStream=function(a,b,d){var c=gb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;wb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;xb(c,f);f.on("drain",Tb(f,c));return f},abort:function(f){yb(c,f)}}}; +var va=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ca.AsyncLocalStorage,B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Da=Symbol.for("react.memo_cache_sentinel"),Ea=Symbol.iterator,D=null; +function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function Fa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Fa(a)} +function Ga(a){var b=a.parent;null!==b&&Ga(b);a.context._currentValue=a.value}function Ha(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):Ha(a,b)} +function Ia(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):Ia(a,d);b.context._currentValue=b.value}var Ja=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Ka(){}function La(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ka,Ka),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}F=b;throw Ja;}}var F=null; +function Ma(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,H=0,I=null;function Na(){var a=I;I=null;return a}function Oa(a){return a._currentValue} +var Sa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:J,useTransition:J,readContext:Oa,useContext:Oa,useReducer:J,useRef:J,useState:J,useInsertionEffect:J,useLayoutEffect:J,useImperativeHandle:J,useEffect:J,useId:Pa,useSyncExternalStore:J,useCacheRefresh:function(){return Qa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Ra}; +function J(){throw Error("This Hook is not supported in Server Components.");}function Qa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Pa(){if(null===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"} +function Ra(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=H;H+=1;null===I&&(I=[]);return La(I,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ta(){return(new AbortController).signal}function Ua(){var a=x();return a?a.cache:new Map} +var Va={getCacheSignal:function(){var a=Ua(),b=a.get(Ta);void 0===b&&(b=Ta(),a.set(Ta,b));return b},getCacheForType:function(a){var b=Ua(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Wa=Array.isArray,Xa=Object.getPrototypeOf;function Ya(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function Za(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Wa(a))return"[...]";a=Ya(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function K(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return K(a.render);case Ca:return K(a.type);case C:var b=a._payload;a=a._init;try{return K(a(b))}catch(d){}}return""} +function L(a,b){var d=Ya(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Wa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?L(g):Za(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+K(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?L(h): +Za(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var $a=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ab=da.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!ab)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); +var bb=Object.prototype,M=JSON.stringify,cb=ab.ReactCurrentCache,db=$a.ReactCurrentDispatcher;function eb(a){console.error(a)}function fb(){} +function gb(a,b,d,c,e,f){if(null!==cb.current&&cb.current!==Va)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;cb.current=Va;var g=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===d?eb:d,onPostpone:void 0===f?fb:f,toJSON:function(n,z){return hb(h,this,n,z)}};h.pendingChunks++;a=N(h,a,null,g);c.push(a);return h}var O=null;function x(){if(O)return O;var a=wa.getStore();return a?a:null} +function ib(a,b){a.pendingChunks++;var d=N(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,jb(a,d),d.id;case "rejected":var c=P(a,b.reason);Q(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;jb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=P(a,e);Q(a, +d.id,e);null!==a.destination&&R(a,a.destination)});return d.id}function y(a,b,d){d=M(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");kb(a)}function lb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function mb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:lb}} +function S(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[B,b,d,e];H=0;I=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:mb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[B,b,d,e];switch(b.$$typeof){case C:var g= +b._init;b=g(b._payload);return S(a,b,d,c,e,f);case za:return a=b.render,H=0,I=f,a(e,void 0);case Ca:return S(a,b.type,d,c,e,f)}}throw Error("Unsupported Server Component type: "+Za(b));}function jb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return nb(a)}))}function N(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return jb(a,e)},thenableState:null};c.add(e);return e} +function T(a){return"$"+a.toString(16)}function ob(a,b,d){a=M(d);return b.toString(16)+":"+a+"\n"} +function pb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):T(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var n=k[h];if(n)g=n.name;else{var z=h.lastIndexOf("#");-1!==z&&(g=h.slice(z+1),n=k[h.slice(0,z)]);if(!n)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, +g];a.pendingChunks++;var aa=a.nextChunkId++,Ib=M(u),Jb=aa.toString(16)+":I"+Ib+"\n";a.completedImportChunks.push(Jb);f.set(e,aa);return b[0]===B&&"1"===d?"$L"+aa.toString(16):T(aa)}catch(Kb){return a.pendingChunks++,b=a.nextChunkId++,d=P(a,Kb),Q(a,b,d),T(b)}}function U(a,b){a.pendingChunks++;b=N(a,b,D,a.abortableTasks);qb(a,b);return b.id}var V=!1; +function hb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=U(a,c);return T(g)}if(V===c)V=null;else return T(f)}else e.set(c,-1);var k=c;c=S(a,k.type,k.key,k.ref,k.props,null);break;case C:var h=c._init;c=h(c._payload)}}catch(n){b=n===Ja?Ma():n;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=N(a,c,D,a.abortableTasks), +c=a.ping,b.then(c,c),a.thenableState=Na(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=P(a,b);Q(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return pb(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===typeof c.then){if(void 0!==d)if(V===c)V=null;else return"$@"+d.toString(16);a=ib(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=U(a,c),T(a);if(V===c)V=null;else return T(d)}else b.set(c,-1);if(Wa(c))return c; +if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+U(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+U(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Ea&&c[Ea]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Xa(c);if(a!== +bb&&(null===a||null!==Xa(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,d="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",a.completedRegularChunks.push(d,c),T(b);a="$"===c[0]?"$"+ +c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return pb(a,b,d,c);if(c.$$typeof===v)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=U(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+ +L(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+L(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return T(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+ +L(b,d));a.pendingChunks++;b=a.nextChunkId++;d=ob(a,b,"$S"+f);a.completedImportChunks.push(d);e.set(c,b);return T(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+L(b,d));} +function P(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function rb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+M(d)+"\n";a.completedErrorChunks.push(b)} +function qb(a,b){if(0===b.status){var d=D,c=b.context;d!==c&&(null===d?Ga(c):null===c?Fa(d):d.depth===c.depth?E(d,c):d.depth>c.depth?Ha(d,c):Ia(d,c),D=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===B){a.writtenObjects.set(e,b.id);d=e;var f=b.thenableState;b.model=e;e=S(a,d.type,d.key,d.ref,d.props,f);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===B;)a.writtenObjects.set(e,b.id),f=e,b.model=e,e=S(a,f.type,f.key,f.ref,f.props,null)}"object"===typeof e&&null!== +e&&a.writtenObjects.set(e,b.id);var g=b.id;V=e;var k=M(e,a.toJSON),h=g.toString(16)+":"+k+"\n";a.completedRegularChunks.push(h);a.abortableTasks.delete(b);b.status=1}catch(n){g=n===Ja?Ma():n,"object"===typeof g&&null!==g&&"function"===typeof g.then?(a=b.ping,g.then(a,a),b.thenableState=Na()):(a.abortableTasks.delete(b),b.status=4,g=P(a,g),Q(a,b.id,g))}}} +function nb(a){var b=db.current;db.current=Sa;var d=O;G=O=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)qb(a,c[e]);null!==a.destination&&R(a,a.destination)}catch(f){P(a,f),rb(a,f)}finally{db.current=b,G=null,O=d}} +function R(a,b){l=new Uint8Array(2048);m=0;p=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!r(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!r(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!r(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!r(b,g[c])){a.destination= +null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,p=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function sb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,nb,a)})}function kb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return R(a,b)})}} +function tb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{R(a,b)}catch(d){P(a,d),rb(a,d)}}} +function ub(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=P(a,c);a.pendingChunks++;var f=a.nextChunkId++;Q(a,f,e,c);d.forEach(function(g){g.status=3;var k=T(f);g=ob(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){P(a,g),rb(a,g)}}function vb(a,b){var d=b.lastIndexOf("#");a=b.slice(0,d);b=b.slice(d+1);return{specifier:a,name:b}}var wb=new Map; +function xb(a){var b=wb.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});wb.set(a.specifier,d);return d}function W(a){var b=wb.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]} +function yb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}yb.prototype=Object.create(Promise.prototype);yb.prototype.then=function(a,b){switch(this.status){case "resolved_model":zb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function Ab(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Bb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Ab(d,b)}}function Cb(a,b,d,c,e,f){var g=vb(a._bundlerConfig,b);a=xb(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Db(c,e,f),Eb(c));return null}var X=null,Y=null; +function zb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Fb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Bb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new yb("resolved_model",c,null,a):new yb("pending",null,null,a),d.set(b,c));return c}function Db(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Ab(e,c.value))}}function Eb(a){return function(b){return Bb(a,b)}} +function Gb(a,b){a=Z(a,b);"resolved_model"===a.status&&zb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Hb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Gb(a,c),Cb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Gb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Gb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":zb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Db(c,b,d),Eb(c)),null;default:throw a.reason;}}return c} +function Lb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Hb(e,this,f,g):g}};return e} +function Mb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(zb(b),b.status){case "fulfilled":Ab(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Ab(a,b.reason)}}function Nb(a){Fb(a,Error("Connection closed."))} +function Ob(a,b,d){var c=vb(a,b);a=xb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Pb(a,b,d){a=Lb(b,d,a);Nb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Qb(a,b){return function(){return tb(b,a)}}exports.createClientModuleProxy=function(a){a=w({},a,!1);return new Proxy(a,ma)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Pb(a,b,e),c=Ob(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Ob(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Lb(b,"",a);Nb(a);return Z(a,0)}; +exports.decodeReplyFromBusboy=function(a,b){var d=Lb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Mb(d,f,g)});a.on("file",function(f,g,k){var h=k.filename,n=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var z=[];g.on("data",function(u){z.push(u)});g.on("end",function(){var u= +new Blob(z,{type:n});d._formData.append(f,u,h);c--;if(0===c){for(u=0;u<e.length;u+=2)Mb(d,e[u],e[u+1]);e.length=0}})});a.on("finish",function(){Nb(d)});a.on("error",function(f){Fb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return w(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ja}})}; +exports.renderToPipeableStream=function(a,b,d){var c=gb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;sb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;tb(c,f);f.on("drain",Qb(f,c));return f},abort:function(f){ub(c,f)}}}; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/package.json b/packages/next/src/compiled/react-server-dom-turbopack/package.json index 4c1bd39be87a6..73a0f90d7c64a 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack/package.json @@ -48,7 +48,7 @@ "loose-envify": "^1.1.0" }, "peerDependencies": { - "react": "18.3.0-canary-d900fadbf-20230929", - "react-dom": "18.3.0-canary-d900fadbf-20230929" + "react": "18.3.0-canary-d803f519e-20231020", + "react-dom": "18.3.0-canary-d803f519e-20231020" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js index a0323db27d0ae..0153c83ef3ae2 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js @@ -399,6 +399,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -417,7 +419,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -433,7 +435,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -709,6 +711,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -837,6 +840,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -883,33 +891,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1080,6 +1090,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1117,6 +1128,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1161,6 +1173,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1204,6 +1217,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1301,9 +1315,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1314,9 +1336,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1417,15 +1444,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1646,9 +1676,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.production.min.js index d264e01e798a7..2677a9b21f24a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.production.min.js @@ -9,31 +9,32 @@ */ 'use strict';var p=require("react-dom"),q=require("react"),r={stream:!0};function u(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map; function x(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function z(a){for(var b=a[1],c=[],d=0;d<b.length;){var f=b[d++],k=b[d++],e=w.get(f);void 0===e?(A.set(f,k),k=__webpack_chunk_load__(f),c.push(k),e=w.set.bind(w,f,null),k.then(e,y),w.set(f,k)):null!==e&&c.push(e)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null}var A=new Map,B=__webpack_require__.u;__webpack_require__.u=function(a){var b=A.get(a);return void 0!==b?b:B(a)}; -var aa=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,C=Symbol.for("react.element"),ba=Symbol.for("react.provider"),ca=Symbol.for("react.server_context"),da=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),ea=Symbol.for("react.postpone"),F=Symbol.iterator;function fa(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var ha=Array.isArray,G=new WeakMap; -function ia(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ja(a,b,c,d){function f(h,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===l&&(l=new FormData);e++;var n=k++;g.then(function(m){m=JSON.stringify(m,f);var t=l;t.append(b+n,m);e--;0===e&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(g instanceof FormData){null===l&&(l=new FormData);var v=l;h=k++;var E=b+h+"_";g.forEach(function(m,t){v.append(E+t,m)});return"$K"+h.toString(16)}return g instanceof Map?(g=JSON.stringify(Array.from(g),f),null===l&& -(l=new FormData),h=k++,l.append(b+h,g),"$Q"+h.toString(16)):g instanceof Set?(g=JSON.stringify(Array.from(g),f),null===l&&(l=new FormData),h=k++,l.append(b+h,g),"$W"+h.toString(16)):!ha(g)&&fa(g)?Array.from(g):g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[h]instanceof Date)return"$D"+g;g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return ia(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=G.get(g);if(void 0!==g)return g=JSON.stringify(g, -f),null===l&&(l=new FormData),h=k++,l.set(b+h,g),"$F"+h.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){h=g.description;if(Symbol.for(h)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(g.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof g)return"$n"+ -g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var k=1,e=0,l=null;a=JSON.stringify(a,f);null===l?c(a):(l.set(b+"0",a),0===e&&c(l))}function H(a,b){G.set(a,b)}var I=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype); -J.prototype.then=function(a,b){switch(this.status){case "resolved_model":K(this);break;case "resolved_module":L(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function ka(a){switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function M(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function N(a,b,c){switch(a.status){case "fulfilled":M(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&M(c,a.reason)}} +function z(a){for(var b=a[1],c=[],d=0;d<b.length;){var f=b[d++],h=b[d++],e=w.get(f);void 0===e?(A.set(f,h),h=__webpack_chunk_load__(f),c.push(h),e=w.set.bind(w,f,null),h.then(e,y),w.set(f,h)):null!==e&&c.push(e)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null}var A=new Map,aa=__webpack_require__.u;__webpack_require__.u=function(a){var b=A.get(a);return void 0!==b?b:aa(a)}; +var ba=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),ca=Symbol.for("react.provider"),da=Symbol.for("react.server_context"),ea=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),fa=Symbol.for("react.postpone"),D=Symbol.iterator;function ha(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var ia=Array.isArray,F=Object.getPrototypeOf,ja=Object.prototype,G=new WeakMap; +function ka(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function la(a,b,c,d){function f(k,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===l&&(l=new FormData);e++;var n=h++;g.then(function(m){m=JSON.stringify(m,f);var t=l;t.append(b+n,m);e--;0===e&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(ia(g))return g;if(g instanceof FormData){null===l&&(l=new FormData);var v=l;k=h++;var E=b+k+"_";g.forEach(function(m,t){v.append(E+t,m)});return"$K"+k.toString(16)}if(g instanceof Map)return g=JSON.stringify(Array.from(g), +f),null===l&&(l=new FormData),k=h++,l.append(b+k,g),"$Q"+k.toString(16);if(g instanceof Set)return g=JSON.stringify(Array.from(g),f),null===l&&(l=new FormData),k=h++,l.append(b+k,g),"$W"+k.toString(16);if(ha(g))return Array.from(g);k=F(g);if(k!==ja&&(null===k||null!==F(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[k]instanceof Date)return"$D"+g; +g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return ka(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=G.get(g);if(void 0!==g)return g=JSON.stringify(g,f),null===l&&(l=new FormData),k=h++,l.set(b+k,g),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){k=g.description;if(Symbol.for(k)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(g.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof g)return"$n"+g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var h=1,e=0,l=null;a=JSON.stringify(a,f);null===l?c(a):(l.set(b+"0",a),0===e&&c(l))}function H(a,b){G.set(a,b)}var I=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype); +J.prototype.then=function(a,b){switch(this.status){case "resolved_model":K(this);break;case "resolved_module":L(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ma(a){switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function M(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function N(a,b,c){switch(a.status){case "fulfilled":M(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&M(c,a.reason)}} function O(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&M(c,b)}}function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(L(a),N(a,c,d))}}var Q=null,R=null; -function K(a){var b=Q,c=R;Q=a;R=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==R&&0<R.deps?(R.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(f){a.status="rejected",a.reason=f}finally{Q=b,R=c}} +function K(a){var b=Q,c=R;Q=a;R=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var f=JSON.parse(d,a._response._fromJSON);if(null!==R&&0<R.deps)R.value=f,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=f;null!==h&&M(h,f)}}catch(e){a.status="rejected",a.reason=e}finally{Q=b,R=c}} function L(a){try{var b=a.value,c=__webpack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(f){a.status="rejected",a.reason=f}}function S(a,b){a._chunks.forEach(function(c){"pending"===c.status&&O(c,b)})}function T(a,b){var c=a._chunks,d=c.get(b);d||(d=new J("pending",null,null,a),c.set(b,d));return d} -function la(a,b,c){if(R){var d=R;d.deps++}else d=R={deps:1,value:null};return function(f){b[c]=f;d.deps--;0===d.deps&&"blocked"===a.status&&(f=a.value,a.status="fulfilled",a.value=d.value,null!==f&&M(f,d.value))}}function ma(a){return function(b){return O(a,b)}} -function na(a,b){function c(){var f=Array.prototype.slice.call(arguments),k=b.bound;return k?"fulfilled"===k.status?d(b.id,k.value.concat(f)):Promise.resolve(k).then(function(e){return d(b.id,e.concat(f))}):d(b.id,f)}var d=a._callServer;H(c,b);return c}function U(a,b){a=T(a,b);switch(a.status){case "resolved_model":K(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function oa(a,b,c,d){if("$"===d[0]){if("$"===d)return C;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=T(a,b),{$$typeof:da,_payload:a,_init:ka};case "@":return b=parseInt(d.slice(2),16),T(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(b={$$typeof:ca,_currentValue:D,_currentValue2:D,_defaultValue:D,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ba,_context:b},I[a]=b),I[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=U(a,b),na(a,b);case "Q":return b=parseInt(d.slice(2),16),a=U(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=U(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=T(a,d);switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=Q,a.then(la(d,b,c),ma(d)),null;default:throw a.reason;}}}return d}function pa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function V(a,b,c,d){var f=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:pa,_nonce:d,_chunks:f,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=qa(a);return a} -function W(a,b,c){a._chunks.set(b,new J("fulfilled",c,null,a))}function ra(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var k=u(a._bundlerConfig,c);if(c=z(k)){if(f){var e=f;e.status="blocked"}else e=new J("blocked",null,null,a),d.set(b,e);c.then(function(){return P(e,k)},function(l){return O(e,l)})}else f?P(f,k):d.set(b,new J("resolved_module",k,null,a))} -function X(a,b){for(var c=a.length,d=b.length,f=0;f<c;f++)d+=a[f].byteLength;d=new Uint8Array(d);for(var k=f=0;k<c;k++){var e=a[k];d.set(e,f);f+=e.byteLength}d.set(b,f);return d}function Y(a,b,c,d,f,k){c=0===c.length&&0===d.byteOffset%k?d:X(c,d);f=new f(c.buffer,c.byteOffset,c.byteLength/k);W(a,b,f)} -function sa(a,b,c,d,f){switch(c){case 65:W(a,b,X(d,f).buffer);return;case 67:Y(a,b,d,f,Int8Array,1);return;case 99:W(a,b,0===d.length?f:X(d,f));return;case 85:Y(a,b,d,f,Uint8ClampedArray,1);return;case 83:Y(a,b,d,f,Int16Array,2);return;case 115:Y(a,b,d,f,Uint16Array,2);return;case 76:Y(a,b,d,f,Int32Array,4);return;case 108:Y(a,b,d,f,Uint32Array,4);return;case 70:Y(a,b,d,f,Float32Array,4);return;case 68:Y(a,b,d,f,Float64Array,8);return;case 78:Y(a,b,d,f,BigInt64Array,8);return;case 109:Y(a,b,d,f,BigUint64Array, -8);return;case 86:Y(a,b,d,f,DataView,1);return}for(var k=a._stringDecoder,e="",l=0;l<d.length;l++)e+=k.decode(d[l],r);e+=k.decode(f);switch(c){case 73:ra(a,b,e);break;case 72:b=e[0];e=e.slice(1);a=JSON.parse(e,a._fromJSON);if(e=aa.current)switch(b){case "D":e.prefetchDNS(a);break;case "C":"string"===typeof a?e.preconnect(a):e.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?e.preload(b,c,a[2]):e.preload(b,c);break;case "m":"string"===typeof a?e.preloadModule(a):e.preloadModule(a[0], +function na(a,b,c,d){if(R){var f=R;d||f.deps++}else f=R={deps:d?0:1,value:null};return function(h){b[c]=h;f.deps--;0===f.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=f.value,null!==h&&M(h,f.value))}}function oa(a){return function(b){return O(a,b)}} +function pa(a,b){function c(){var f=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(f)):Promise.resolve(h).then(function(e){return d(b.id,e.concat(f))}):d(b.id,f)}var d=a._callServer;H(c,b);return c}function U(a,b){a=T(a,b);switch(a.status){case "resolved_model":K(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function qa(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=T(a,b),{$$typeof:ea,_payload:a,_init:ma};case "@":return b=parseInt(d.slice(2),16),T(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(b={$$typeof:da,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ca,_context:b},I[a]=b),I[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=U(a,b),pa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=U(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=U(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=T(a,d);switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=Q,a.then(na(d,b,c,"cyclic"===a.status),oa(d)),null;default:throw a.reason;}}}return d}function ra(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function V(a,b,c,d){var f=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:ra,_nonce:d,_chunks:f,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=sa(a);return a}function W(a,b,c){a._chunks.set(b,new J("fulfilled",c,null,a))} +function ta(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var h=u(a._bundlerConfig,c);if(c=z(h)){if(f){var e=f;e.status="blocked"}else e=new J("blocked",null,null,a),d.set(b,e);c.then(function(){return P(e,h)},function(l){return O(e,l)})}else f?P(f,h):d.set(b,new J("resolved_module",h,null,a))}function X(a,b){for(var c=a.length,d=b.length,f=0;f<c;f++)d+=a[f].byteLength;d=new Uint8Array(d);for(var h=f=0;h<c;h++){var e=a[h];d.set(e,f);f+=e.byteLength}d.set(b,f);return d} +function Y(a,b,c,d,f,h){c=0===c.length&&0===d.byteOffset%h?d:X(c,d);f=new f(c.buffer,c.byteOffset,c.byteLength/h);W(a,b,f)} +function ua(a,b,c,d,f){switch(c){case 65:W(a,b,X(d,f).buffer);return;case 67:Y(a,b,d,f,Int8Array,1);return;case 99:W(a,b,0===d.length?f:X(d,f));return;case 85:Y(a,b,d,f,Uint8ClampedArray,1);return;case 83:Y(a,b,d,f,Int16Array,2);return;case 115:Y(a,b,d,f,Uint16Array,2);return;case 76:Y(a,b,d,f,Int32Array,4);return;case 108:Y(a,b,d,f,Uint32Array,4);return;case 70:Y(a,b,d,f,Float32Array,4);return;case 68:Y(a,b,d,f,Float64Array,8);return;case 78:Y(a,b,d,f,BigInt64Array,8);return;case 109:Y(a,b,d,f,BigUint64Array, +8);return;case 86:Y(a,b,d,f,DataView,1);return}for(var h=a._stringDecoder,e="",l=0;l<d.length;l++)e+=h.decode(d[l],r);e+=h.decode(f);switch(c){case 73:ta(a,b,e);break;case 72:b=e[0];e=e.slice(1);a=JSON.parse(e,a._fromJSON);if(e=ba.current)switch(b){case "D":e.prefetchDNS(a);break;case "C":"string"===typeof a?e.preconnect(a):e.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?e.preload(b,c,a[2]):e.preload(b,c);break;case "m":"string"===typeof a?e.preloadModule(a):e.preloadModule(a[0], a[1]);break;case "S":"string"===typeof a?e.preinitStyle(a):e.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?e.preinitScript(a):e.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?e.preinitModuleScript(a):e.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(e).digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -e.stack="Error: "+e.message;e.digest=c;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;case 84:a._chunks.set(b,new J("fulfilled",e,null,a));break;case 80:e=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");e.$$typeof=ea;e.stack="Error: "+e.message;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= -"resolved_model",c.value=e,null!==a&&(K(c),N(c,a,b))):d.set(b,new J("resolved_model",e,null,a))}}function qa(a){return function(b,c){return"string"===typeof c?oa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===C?{$$typeof:C,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}} -function Z(a,b){function c(k){var e=k.value;if(k.done)S(a,Error("Connection closed."));else{var l=0,h=a._rowState;k=a._rowID;for(var g=a._rowTag,n=a._rowLength,v=a._buffer,E=e.length;l<E;){var m=-1;switch(h){case 0:m=e[l++];58===m?h=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:h=e[l];84===h||65===h||67===h||99===h||85===h||83===h||115===h||76===h||108===h||70===h||68===h||78===h||109===h||86===h?(g=h,h=2,l++):64<h&&91>h?(g=h,h=3,l++):(g=0,h=3);continue;case 2:m=e[l++];44===m?h=4:n=n<<4|(96<m?m-87:m- -48);continue;case 3:m=e.indexOf(10,l);break;case 4:m=l+n,m>e.length&&(m=-1)}var t=e.byteOffset+l;if(-1<m)n=new Uint8Array(e.buffer,t,m-l),sa(a,k,g,v,n),l=m,3===h&&l++,n=k=g=h=0,v.length=0;else{e=new Uint8Array(e.buffer,t,e.byteLength-l);v.push(e);n-=e.byteLength;break}}a._rowState=h;a._rowID=k;a._rowTag=g;a._rowLength=n;return f.read().then(c).catch(d)}}function d(k){S(a,k)}var f=b.getReader();f.read().then(c).catch(d)} +e.stack="Error: "+e.message;e.digest=c;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;case 84:a._chunks.set(b,new J("fulfilled",e,null,a));break;case 80:e=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");e.$$typeof=fa;e.stack="Error: "+e.message;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= +"resolved_model",c.value=e,null!==a&&(K(c),N(c,a,b))):d.set(b,new J("resolved_model",e,null,a))}}function sa(a){return function(b,c){return"string"===typeof c?qa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}} +function Z(a,b){function c(h){var e=h.value;if(h.done)S(a,Error("Connection closed."));else{var l=0,k=a._rowState;h=a._rowID;for(var g=a._rowTag,n=a._rowLength,v=a._buffer,E=e.length;l<E;){var m=-1;switch(k){case 0:m=e[l++];58===m?k=1:h=h<<4|(96<m?m-87:m-48);continue;case 1:k=e[l];84===k||65===k||67===k||99===k||85===k||83===k||115===k||76===k||108===k||70===k||68===k||78===k||109===k||86===k?(g=k,k=2,l++):64<k&&91>k?(g=k,k=3,l++):(g=0,k=3);continue;case 2:m=e[l++];44===m?k=4:n=n<<4|(96<m?m-87:m- +48);continue;case 3:m=e.indexOf(10,l);break;case 4:m=l+n,m>e.length&&(m=-1)}var t=e.byteOffset+l;if(-1<m)n=new Uint8Array(e.buffer,t,m-l),ua(a,h,g,v,n),l=m,3===k&&l++,n=h=g=k=0,v.length=0;else{e=new Uint8Array(e.buffer,t,e.byteLength-l);v.push(e);n-=e.byteLength;break}}a._rowState=k;a._rowID=h;a._rowTag=g;a._rowLength=n;return f.read().then(c).catch(d)}}function d(h){S(a,h)}var f=b.getReader();f.read().then(c).catch(d)} exports.createFromFetch=function(a,b){var c=V(null,null,b&&b.callServer?b.callServer:void 0,void 0);a.then(function(d){Z(c,d.body)},function(d){S(c,d)});return T(c,0)};exports.createFromReadableStream=function(a,b){b=V(null,null,b&&b.callServer?b.callServer:void 0,void 0);Z(b,a);return T(b,0)};exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}H(c,{id:a,bound:null});return c}; -exports.encodeReply=function(a){return new Promise(function(b,c){ja(a,"",b,c)})}; +exports.encodeReply=function(a){return new Promise(function(b,c){la(a,"",b,c)})}; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js index 7104c7644851e..1080b3fcd6e30 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js @@ -417,6 +417,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -435,7 +437,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -451,7 +453,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -727,6 +729,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -855,6 +858,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -901,33 +909,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1284,6 +1294,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1321,6 +1332,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1365,6 +1377,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1408,6 +1421,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1505,9 +1519,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1518,9 +1540,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1621,15 +1648,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1850,9 +1880,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; @@ -2440,8 +2471,17 @@ function createFromFetch(promiseForResponse, options) { return getRoot(response); } +function encodeReply(value) +/* We don't use URLSearchParams yet but maybe */ +{ + return new Promise(function (resolve, reject) { + processReply(value, '', resolve, reject); + }); +} + exports.createFromFetch = createFromFetch; exports.createFromReadableStream = createFromReadableStream; exports.createServerReference = createServerReference; +exports.encodeReply = encodeReply; })(); } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.production.min.js index 47a333a703808..8f4cfce467109 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.production.min.js @@ -7,38 +7,39 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var p=require("react-dom"),q=require("react"),r={stream:!0};function u(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var v=new Map; -function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function aa(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++];b[d++];var g=v.get(e);if(void 0===g){g=__webpack_chunk_load__(e);c.push(g);var f=v.set.bind(v,e,null);g.then(f,y);v.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} -function ba(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var e=c,g=z.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}} -var z=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,A=Symbol.for("react.element"),ca=Symbol.for("react.provider"),da=Symbol.for("react.server_context"),ea=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),fa=Symbol.for("react.postpone"),C=Symbol.iterator;function ha(a){if(null===a||"object"!==typeof a)return null;a=C&&a[C]||a["@@iterator"];return"function"===typeof a?a:null}var ia=Array.isArray,D=new WeakMap; -function ja(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ka(a,b,c,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var n=g++;h.then(function(m){m=JSON.stringify(m,e);var t=l;t.append(b+n,m);f--;0===f&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(h instanceof FormData){null===l&&(l=new FormData);var w=l;k=g++;var F=b+k+"_";h.forEach(function(m,t){w.append(F+t,m)});return"$K"+k.toString(16)}return h instanceof Map?(h=JSON.stringify(Array.from(h),e),null===l&& -(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16)):h instanceof Set?(h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16)):!ia(h)&&ha(h)?Array.from(h):h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h;h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ja(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=D.get(h);if(void 0!==h)return h=JSON.stringify(h, -e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+ -h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var E=new WeakMap;function la(a){var b,c,d=new Promise(function(e,g){b=e;c=g});ka(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} -function ma(a){var b=D.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=E.get(b);c||(c=la(b),E.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} -function na(a,b){var c=D.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} -function G(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ma},$$IS_SIGNATURE_EQUAL:{value:na},bind:{value:oa}});D.set(a,b)}var pa=Function.prototype.bind,qa=Array.prototype.slice;function oa(){var a=pa.apply(this,arguments),b=D.get(this);if(b){var c=qa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);G(a,{id:b.id,bound:d})}return a} -function ra(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}G(c,{id:a,bound:null});return c}var H=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function I(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}I.prototype=Object.create(Promise.prototype); -I.prototype.then=function(a,b){switch(this.status){case "resolved_model":J(this);break;case "resolved_module":K(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function sa(a){switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function L(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function M(a,b,c){switch(a.status){case "fulfilled":L(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&L(c,a.reason)}} +'use strict';var p=require("react-dom"),q=require("react"),r={stream:!0};function aa(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var u=new Map; +function v(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function ba(){} +function ca(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++];b[d++];var g=u.get(e);if(void 0===g){g=__webpack_chunk_load__(e);c.push(g);var f=u.set.bind(u,e,null);g.then(f,ba);u.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?v(a[0]):Promise.all(c).then(function(){return v(a[0])}):0<c.length?Promise.all(c):null} +function da(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var e=c,g=x.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var h=a.crossOrigin;h="string"===typeof h?"use-credentials"===h?h:"":void 0;f.call(g,l,{crossOrigin:h,nonce:e})}}} +var x=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,y=Symbol.for("react.element"),ea=Symbol.for("react.provider"),fa=Symbol.for("react.server_context"),ha=Symbol.for("react.lazy"),z=Symbol.for("react.default_value"),ia=Symbol.for("react.postpone"),A=Symbol.iterator;function ja(a){if(null===a||"object"!==typeof a)return null;a=A&&a[A]||a["@@iterator"];return"function"===typeof a?a:null}var ka=Array.isArray,B=Object.getPrototypeOf,la=Object.prototype,C=new WeakMap; +function ma(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function D(a,b,c,d){function e(h,k){if(null===k)return null;if("object"===typeof k){if("function"===typeof k.then){null===l&&(l=new FormData);f++;var n=g++;k.then(function(m){m=JSON.stringify(m,e);var t=l;t.append(b+n,m);f--;0===f&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(ka(k))return k;if(k instanceof FormData){null===l&&(l=new FormData);var w=l;h=g++;var F=b+h+"_";k.forEach(function(m,t){w.append(F+t,m)});return"$K"+h.toString(16)}if(k instanceof Map)return k=JSON.stringify(Array.from(k), +e),null===l&&(l=new FormData),h=g++,l.append(b+h,k),"$Q"+h.toString(16);if(k instanceof Set)return k=JSON.stringify(Array.from(k),e),null===l&&(l=new FormData),h=g++,l.append(b+h,k),"$W"+h.toString(16);if(ja(k))return Array.from(k);h=B(k);if(h!==la&&(null===h||null!==B(h)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return k}if("string"===typeof k){if("Z"===k[k.length-1]&&this[h]instanceof Date)return"$D"+k; +k="$"===k[0]?"$"+k:k;return k}if("boolean"===typeof k)return k;if("number"===typeof k)return ma(k);if("undefined"===typeof k)return"$undefined";if("function"===typeof k){k=C.get(k);if(void 0!==k)return k=JSON.stringify(k,e),null===l&&(l=new FormData),h=g++,l.set(b+h,k),"$F"+h.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof k){h=k.description;if(Symbol.for(h)!==k)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(k.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof k)return"$n"+k.toString(10);throw Error("Type "+typeof k+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var E=new WeakMap; +function na(a){var b,c,d=new Promise(function(e,g){b=e;c=g});D(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} +function oa(a){var b=C.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=E.get(b);c||(c=na(b),E.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function pa(a,b){var c=C.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} +function G(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:oa},$$IS_SIGNATURE_EQUAL:{value:pa},bind:{value:qa}});C.set(a,b)}var ra=Function.prototype.bind,sa=Array.prototype.slice;function qa(){var a=ra.apply(this,arguments),b=C.get(this);if(b){var c=sa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);G(a,{id:b.id,bound:d})}return a} +function ta(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}G(c,{id:a,bound:null});return c}var H=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function I(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}I.prototype=Object.create(Promise.prototype); +I.prototype.then=function(a,b){switch(this.status){case "resolved_model":J(this);break;case "resolved_module":K(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ua(a){switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function L(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function M(a,b,c){switch(a.status){case "fulfilled":L(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&L(c,a.reason)}} function N(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&L(c,b)}}function O(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(K(a),M(a,c,d))}}var P=null,Q=null; -function J(a){var b=P,c=Q;P=a;Q=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==Q&&0<Q.deps?(Q.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{P=b,Q=c}} +function J(a){var b=P,c=Q;P=a;Q=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==Q&&0<Q.deps)Q.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&L(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{P=b,Q=c}} function K(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(e){a.status="rejected",a.reason=e}}function R(a,b){a._chunks.forEach(function(c){"pending"===c.status&&N(c,b)})}function S(a,b){var c=a._chunks,d=c.get(b);d||(d=new I("pending",null,null,a),c.set(b,d));return d} -function ta(a,b,c){if(Q){var d=Q;d.deps++}else d=Q={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&L(e,d.value))}}function ua(a){return function(b){return N(a,b)}} -function va(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;G(c,b);return c}function T(a,b){a=S(a,b);switch(a.status){case "resolved_model":J(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function wa(a,b,c,d){if("$"===d[0]){if("$"===d)return A;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=S(a,b),{$$typeof:ea,_payload:a,_init:sa};case "@":return b=parseInt(d.slice(2),16),S(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),H[a]||(b={$$typeof:da,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ca,_context:b},H[a]=b),H[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=T(a,b),va(a,b);case "Q":return b=parseInt(d.slice(2),16),a=T(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=T(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=S(a,d);switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=P,a.then(ta(d,b,c),ua(d)),null;default:throw a.reason;}}}return d}function xa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function U(a,b,c){a._chunks.set(b,new I("fulfilled",c,null,a))} -function ya(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=u(a._bundlerConfig,c);ba(a._moduleLoading,c[1],a._nonce);if(c=aa(g)){if(e){var f=e;f.status="blocked"}else f=new I("blocked",null,null,a),d.set(b,f);c.then(function(){return O(f,g)},function(l){return N(f,l)})}else e?O(e,g):d.set(b,new I("resolved_module",g,null,a))} +function va(a,b,c,d){if(Q){var e=Q;d||e.deps++}else e=Q={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&L(g,e.value))}}function wa(a){return function(b){return N(a,b)}} +function xa(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;G(c,b);return c}function T(a,b){a=S(a,b);switch(a.status){case "resolved_model":J(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function ya(a,b,c,d){if("$"===d[0]){if("$"===d)return y;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=S(a,b),{$$typeof:ha,_payload:a,_init:ua};case "@":return b=parseInt(d.slice(2),16),S(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),H[a]||(b={$$typeof:fa,_currentValue:z,_currentValue2:z,_defaultValue:z,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ea,_context:b},H[a]=b),H[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=T(a,b),xa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=T(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=T(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=S(a,d);switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=P,a.then(va(d,b,c,"cyclic"===a.status),wa(d)),null;default:throw a.reason;}}}return d}function za(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function U(a,b,c){a._chunks.set(b,new I("fulfilled",c,null,a))} +function Aa(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=aa(a._bundlerConfig,c);da(a._moduleLoading,c[1],a._nonce);if(c=ca(g)){if(e){var f=e;f.status="blocked"}else f=new I("blocked",null,null,a),d.set(b,f);c.then(function(){return O(f,g)},function(l){return N(f,l)})}else e?O(e,g):d.set(b,new I("resolved_module",g,null,a))} function V(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function W(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:V(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);U(a,b,e)} -function za(a,b,c,d,e){switch(c){case 65:U(a,b,V(d,e).buffer);return;case 67:W(a,b,d,e,Int8Array,1);return;case 99:U(a,b,0===d.length?e:V(d,e));return;case 85:W(a,b,d,e,Uint8ClampedArray,1);return;case 83:W(a,b,d,e,Int16Array,2);return;case 115:W(a,b,d,e,Uint16Array,2);return;case 76:W(a,b,d,e,Int32Array,4);return;case 108:W(a,b,d,e,Uint32Array,4);return;case 70:W(a,b,d,e,Float32Array,4);return;case 68:W(a,b,d,e,Float64Array,8);return;case 78:W(a,b,d,e,BigInt64Array,8);return;case 109:W(a,b,d,e,BigUint64Array, -8);return;case 86:W(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],r);f+=g.decode(e);switch(c){case 73:ya(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=z.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], +function Ba(a,b,c,d,e){switch(c){case 65:U(a,b,V(d,e).buffer);return;case 67:W(a,b,d,e,Int8Array,1);return;case 99:U(a,b,0===d.length?e:V(d,e));return;case 85:W(a,b,d,e,Uint8ClampedArray,1);return;case 83:W(a,b,d,e,Int16Array,2);return;case 115:W(a,b,d,e,Uint16Array,2);return;case 76:W(a,b,d,e,Int32Array,4);return;case 108:W(a,b,d,e,Uint32Array,4);return;case 70:W(a,b,d,e,Float32Array,4);return;case 68:W(a,b,d,e,Float64Array,8);return;case 78:W(a,b,d,e,BigInt64Array,8);return;case 109:W(a,b,d,e,BigUint64Array, +8);return;case 86:W(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],r);f+=g.decode(e);switch(c){case 73:Aa(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=x.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;case 84:a._chunks.set(b,new I("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=fa;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= -"resolved_model",c.value=f,null!==a&&(J(c),M(c,a,b))):d.set(b,new I("resolved_model",f,null,a))}}function Aa(a){return function(b,c){return"string"===typeof c?wa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===A?{$$typeof:A,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading;a="string"===typeof a.nonce?a.nonce:void 0;var d=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:xa,_nonce:a,_chunks:d,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=Aa(b);return b} -function Z(a,b){function c(g){var f=g.value;if(g.done)R(a,Error("Connection closed."));else{var l=0,k=a._rowState;g=a._rowID;for(var h=a._rowTag,n=a._rowLength,w=a._buffer,F=f.length;l<F;){var m=-1;switch(k){case 0:m=f[l++];58===m?k=1:g=g<<4|(96<m?m-87:m-48);continue;case 1:k=f[l];84===k||65===k||67===k||99===k||85===k||83===k||115===k||76===k||108===k||70===k||68===k||78===k||109===k||86===k?(h=k,k=2,l++):64<k&&91>k?(h=k,k=3,l++):(h=0,k=3);continue;case 2:m=f[l++];44===m?k=4:n=n<<4|(96<m?m-87:m- -48);continue;case 3:m=f.indexOf(10,l);break;case 4:m=l+n,m>f.length&&(m=-1)}var t=f.byteOffset+l;if(-1<m)n=new Uint8Array(f.buffer,t,m-l),za(a,g,h,w,n),l=m,3===k&&l++,n=g=h=k=0,w.length=0;else{f=new Uint8Array(f.buffer,t,f.byteLength-l);w.push(f);n-=f.byteLength;break}}a._rowState=k;a._rowID=g;a._rowTag=h;a._rowLength=n;return e.read().then(c).catch(d)}}function d(g){R(a,g)}var e=b.getReader();e.read().then(c).catch(d)} -exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){R(c,d)});return S(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return S(b,0)};exports.createServerReference=function(a){return ra(a,X)}; +f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;case 84:a._chunks.set(b,new I("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=ia;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= +"resolved_model",c.value=f,null!==a&&(J(c),M(c,a,b))):d.set(b,new I("resolved_model",f,null,a))}}function Ca(a){return function(b,c){return"string"===typeof c?ya(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===y?{$$typeof:y,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading;a="string"===typeof a.nonce?a.nonce:void 0;var d=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:za,_nonce:a,_chunks:d,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=Ca(b);return b} +function Z(a,b){function c(g){var f=g.value;if(g.done)R(a,Error("Connection closed."));else{var l=0,h=a._rowState;g=a._rowID;for(var k=a._rowTag,n=a._rowLength,w=a._buffer,F=f.length;l<F;){var m=-1;switch(h){case 0:m=f[l++];58===m?h=1:g=g<<4|(96<m?m-87:m-48);continue;case 1:h=f[l];84===h||65===h||67===h||99===h||85===h||83===h||115===h||76===h||108===h||70===h||68===h||78===h||109===h||86===h?(k=h,h=2,l++):64<h&&91>h?(k=h,h=3,l++):(k=0,h=3);continue;case 2:m=f[l++];44===m?h=4:n=n<<4|(96<m?m-87:m- +48);continue;case 3:m=f.indexOf(10,l);break;case 4:m=l+n,m>f.length&&(m=-1)}var t=f.byteOffset+l;if(-1<m)n=new Uint8Array(f.buffer,t,m-l),Ba(a,g,k,w,n),l=m,3===h&&l++,n=g=k=h=0,w.length=0;else{f=new Uint8Array(f.buffer,t,f.byteLength-l);w.push(f);n-=f.byteLength;break}}a._rowState=h;a._rowID=g;a._rowTag=k;a._rowLength=n;return e.read().then(c).catch(d)}}function d(g){R(a,g)}var e=b.getReader();e.read().then(c).catch(d)} +exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){R(c,d)});return S(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return S(b,0)};exports.createServerReference=function(a){return ta(a,X)};exports.encodeReply=function(a){return new Promise(function(b,c){D(a,"",b,c)})}; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js index 73e6bedd0244b..d4fc1c62de94c 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js @@ -418,6 +418,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -436,7 +438,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -452,7 +454,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -728,6 +730,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -856,6 +859,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -902,33 +910,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1285,6 +1295,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1322,6 +1333,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1366,6 +1378,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1409,6 +1422,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1506,9 +1520,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1519,9 +1541,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1622,15 +1649,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1851,9 +1881,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.production.min.js index 0c7d992ddcc15..e8be4a860a64c 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.production.min.js @@ -9,35 +9,37 @@ */ 'use strict';var n=require("util"),q=require("react-dom"),r=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map; function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function A(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++];b[d++];var g=w.get(e);if(void 0===g){g=__webpack_chunk_load__(e);c.push(g);var f=w.set.bind(w,e,null);g.then(f,y);w.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} -function aa(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var e=c,g=B.current;if(g){var f=g.preinitScript,k=a.prefix+b[d];var l=a.crossOrigin;l="string"===typeof l?"use-credentials"===l?l:"":void 0;f.call(g,k,{crossOrigin:l,nonce:e})}}} -var B=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,C=Symbol.for("react.element"),ba=Symbol.for("react.provider"),ca=Symbol.for("react.server_context"),da=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),ea=Symbol.for("react.postpone"),E=Symbol.iterator;function fa(a){if(null===a||"object"!==typeof a)return null;a=E&&a[E]||a["@@iterator"];return"function"===typeof a?a:null}var ha=Array.isArray,G=new WeakMap; -function ia(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ja(a,b,c,d){function e(l,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===k&&(k=new FormData);f++;var t=g++;h.then(function(p){p=JSON.stringify(p,e);var z=k;z.append(b+t,p);f--;0===f&&c(z)},function(p){d(p)});return"$@"+t.toString(16)}if(h instanceof FormData){null===k&&(k=new FormData);var F=k;l=g++;var m=b+l+"_";h.forEach(function(p,z){F.append(m+z,p)});return"$K"+l.toString(16)}return h instanceof Map?(h=JSON.stringify(Array.from(h),e),null===k&& -(k=new FormData),l=g++,k.append(b+l,h),"$Q"+l.toString(16)):h instanceof Set?(h=JSON.stringify(Array.from(h),e),null===k&&(k=new FormData),l=g++,k.append(b+l,h),"$W"+l.toString(16)):!ha(h)&&fa(h)?Array.from(h):h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[l]instanceof Date)return"$D"+h;h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ia(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=G.get(h);if(void 0!==h)return h=JSON.stringify(h, -e),null===k&&(k=new FormData),l=g++,k.set(b+l,h),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){l=h.description;if(Symbol.for(l)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(h.description+") cannot be found among global symbols."));return"$S"+l}if("bigint"===typeof h)return"$n"+ -h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,k=null;a=JSON.stringify(a,e);null===k?c(a):(k.set(b+"0",a),0===f&&c(k))}var H=new WeakMap;function ka(a){var b,c,d=new Promise(function(e,g){b=e;c=g});ja(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} -function la(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=H.get(b);c||(c=ka(b),H.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} -function ma(a,b){var c=G.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} -function I(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:la},$$IS_SIGNATURE_EQUAL:{value:ma},bind:{value:na}});G.set(a,b)}var oa=Function.prototype.bind,pa=Array.prototype.slice;function na(){var a=oa.apply(this,arguments),b=G.get(this);if(b){var c=pa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);I(a,{id:b.id,bound:d})}return a} -function qa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}I(c,{id:a,bound:null});return c}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function K(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}K.prototype=Object.create(Promise.prototype); -K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function ra(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} +function aa(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++];b[d++];var g=w.get(e);if(void 0===g){g=__webpack_chunk_load__(e);c.push(g);var f=w.set.bind(w,e,null);g.then(f,y);w.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} +function ba(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var e=c,g=z.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}} +var z=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),ca=Symbol.for("react.provider"),da=Symbol.for("react.server_context"),ea=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),fa=Symbol.for("react.postpone"),D=Symbol.iterator;function ha(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var ia=Array.isArray,E=Object.getPrototypeOf,ja=Object.prototype,G=new WeakMap; +function ka(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function la(a,b,c,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var t=g++;h.then(function(p){p=JSON.stringify(p,e);var A=l;A.append(b+t,p);f--;0===f&&c(A)},function(p){d(p)});return"$@"+t.toString(16)}if(ia(h))return h;if(h instanceof FormData){null===l&&(l=new FormData);var F=l;k=g++;var m=b+k+"_";h.forEach(function(p,A){F.append(m+A,p)});return"$K"+k.toString(16)}if(h instanceof Map)return h=JSON.stringify(Array.from(h), +e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16);if(h instanceof Set)return h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16);if(ha(h))return Array.from(h);k=E(h);if(k!==ja&&(null===k||null!==E(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h; +h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ka(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=G.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var H=new WeakMap; +function ma(a){var b,c,d=new Promise(function(e,g){b=e;c=g});la(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} +function na(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=H.get(b);c||(c=ma(b),H.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function oa(a,b){var c=G.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} +function I(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:na},$$IS_SIGNATURE_EQUAL:{value:oa},bind:{value:pa}});G.set(a,b)}var qa=Function.prototype.bind,ra=Array.prototype.slice;function pa(){var a=qa.apply(this,arguments),b=G.get(this);if(b){var c=ra.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);I(a,{id:b.id,bound:d})}return a} +function sa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}I(c,{id:a,bound:null});return c}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function K(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}K.prototype=Object.create(Promise.prototype); +K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ta(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&N(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(M(a),O(a,c,d))}}var R=null,S=null; -function L(a){var b=R,c=S;R=a;S=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==S&&0<S.deps?(S.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{R=b,S=c}} +function L(a){var b=R,c=S;R=a;S=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&N(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{R=b,S=c}} function M(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(e){a.status="rejected",a.reason=e}}function T(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function U(a,b){var c=a._chunks,d=c.get(b);d||(d=new K("pending",null,null,a),c.set(b,d));return d} -function sa(a,b,c){if(S){var d=S;d.deps++}else d=S={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&N(e,d.value))}}function ta(a){return function(b){return P(a,b)}} -function ua(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;I(c,b);return c}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function va(a,b,c,d){if("$"===d[0]){if("$"===d)return C;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:da,_payload:a,_init:ra};case "@":return b=parseInt(d.slice(2),16),U(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),J[a]||(b={$$typeof:ca,_currentValue:D,_currentValue2:D,_defaultValue:D,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ba,_context:b},J[a]=b),J[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=V(a,b),ua(a,b);case "Q":return b=parseInt(d.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=R,a.then(sa(d,b,c),ta(d)),null;default:throw a.reason;}}}return d}function wa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function xa(a,b,c,d){var e=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:wa,_nonce:d,_chunks:e,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ya(a);return a} -function W(a,b,c){a._chunks.set(b,new K("fulfilled",c,null,a))}function za(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=v(a._bundlerConfig,c);aa(a._moduleLoading,c[1],a._nonce);if(c=A(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),d.set(b,f);c.then(function(){return Q(f,g)},function(k){return P(f,k)})}else e?Q(e,g):d.set(b,new K("resolved_module",g,null,a))} +function ua(a,b,c,d){if(S){var e=S;d||e.deps++}else e=S={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&N(g,e.value))}}function va(a){return function(b){return P(a,b)}} +function wa(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;I(c,b);return c}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function xa(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:ea,_payload:a,_init:ta};case "@":return b=parseInt(d.slice(2),16),U(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),J[a]||(b={$$typeof:da,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ca,_context:b},J[a]=b),J[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=V(a,b),wa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=R,a.then(ua(d,b,c,"cyclic"===a.status),va(d)),null;default:throw a.reason;}}}return d}function ya(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function za(a,b,c,d){var e=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:ya,_nonce:d,_chunks:e,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=Aa(a);return a}function W(a,b,c){a._chunks.set(b,new K("fulfilled",c,null,a))} +function Ba(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=v(a._bundlerConfig,c);ba(a._moduleLoading,c[1],a._nonce);if(c=aa(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),d.set(b,f);c.then(function(){return Q(f,g)},function(l){return P(f,l)})}else e?Q(e,g):d.set(b,new K("resolved_module",g,null,a))} function X(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function Y(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:X(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);W(a,b,e)} -function Aa(a,b,c,d,e){switch(c){case 65:W(a,b,X(d,e).buffer);return;case 67:Y(a,b,d,e,Int8Array,1);return;case 99:W(a,b,0===d.length?e:X(d,e));return;case 85:Y(a,b,d,e,Uint8ClampedArray,1);return;case 83:Y(a,b,d,e,Int16Array,2);return;case 115:Y(a,b,d,e,Uint16Array,2);return;case 76:Y(a,b,d,e,Int32Array,4);return;case 108:Y(a,b,d,e,Uint32Array,4);return;case 70:Y(a,b,d,e,Float32Array,4);return;case 68:Y(a,b,d,e,Float64Array,8);return;case 78:Y(a,b,d,e,BigInt64Array,8);return;case 109:Y(a,b,d,e,BigUint64Array, -8);return;case 86:Y(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",k=0;k<d.length;k++)f+=g.decode(d[k],u);f+=g.decode(e);switch(c){case 73:za(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=B.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], +function Ca(a,b,c,d,e){switch(c){case 65:W(a,b,X(d,e).buffer);return;case 67:Y(a,b,d,e,Int8Array,1);return;case 99:W(a,b,0===d.length?e:X(d,e));return;case 85:Y(a,b,d,e,Uint8ClampedArray,1);return;case 83:Y(a,b,d,e,Int16Array,2);return;case 115:Y(a,b,d,e,Uint16Array,2);return;case 76:Y(a,b,d,e,Int32Array,4);return;case 108:Y(a,b,d,e,Uint32Array,4);return;case 70:Y(a,b,d,e,Float32Array,4);return;case 68:Y(a,b,d,e,Float64Array,8);return;case 78:Y(a,b,d,e,BigInt64Array,8);return;case 109:Y(a,b,d,e,BigUint64Array, +8);return;case 86:Y(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],u);f+=g.decode(e);switch(c){case 73:Ba(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=z.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=ea;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= -"resolved_model",c.value=f,null!==a&&(L(c),O(c,a,b))):d.set(b,new K("resolved_model",f,null,a))}}function ya(a){return function(b,c){return"string"===typeof c?va(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===C?{$$typeof:C,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -exports.createFromNodeStream=function(a,b,c){var d=xa(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(e){for(var g=0,f=d._rowState,k=d._rowID,l=d._rowTag,h=d._rowLength,t=d._buffer,F=e.length;g<F;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||68===f||78===f||109===f||86===f?(l=f,f=2,g++):64<f&&91>f?(l=f,f=3,g++):(l=0,f=3); -continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),Aa(d,k,l,t,h),g=m,3===f&&g++,h=k=l=f=0,t.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);t.push(e);h-=e.byteLength;break}}d._rowState=f;d._rowID=k;d._rowTag=l;d._rowLength=h});a.on("error",function(e){T(d,e)});a.on("end",function(){T(d,Error("Connection closed."))});return U(d,0)}; -exports.createServerReference=function(a){return qa(a,Z)}; +f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=fa;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= +"resolved_model",c.value=f,null!==a&&(L(c),O(c,a,b))):d.set(b,new K("resolved_model",f,null,a))}}function Aa(a){return function(b,c){return"string"===typeof c?xa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +exports.createFromNodeStream=function(a,b,c){var d=za(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(e){for(var g=0,f=d._rowState,l=d._rowID,k=d._rowTag,h=d._rowLength,t=d._buffer,F=e.length;g<F;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||68===f||78===f||109===f||86===f?(k=f,f=2,g++):64<f&&91>f?(k=f,f=3,g++):(k=0,f=3); +continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),Ca(d,l,k,t,h),g=m,3===f&&g++,h=l=k=f=0,t.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);t.push(e);h-=e.byteLength;break}}d._rowState=f;d._rowID=l;d._rowTag=k;d._rowLength=h});a.on("error",function(e){T(d,e)});a.on("end",function(){T(d,Error("Connection closed."))});return U(d,0)}; +exports.createServerReference=function(a){return sa(a,Z)}; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js index 0af1df055b444..5e70e3e056de7 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js @@ -371,6 +371,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -389,7 +391,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -405,7 +407,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -681,6 +683,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -809,6 +812,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -855,33 +863,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1238,6 +1248,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1275,6 +1286,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1319,6 +1331,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1362,6 +1375,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1459,9 +1473,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1472,9 +1494,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1575,15 +1602,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1804,9 +1834,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js index aa0da0320a411..c8cf04e2268bc 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js @@ -7,35 +7,38 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var n=require("util"),q=require("react-dom"),r=require("react"),u={stream:!0};function v(a,b){var d=a[b[0]];if(a=d[b[2]])d=a.name;else{a=d["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');d=b[2]}return{specifier:a.specifier,name:d,async:4===b.length}}var w=new Map; -function x(a){var b=w.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});w.set(a.specifier,d);return d} -function z(a,b,d){if(null!==a)for(var c=1;c<b.length;c+=2){var e=d,h=A.current;if(h){var f=h.preinitScript,k=a.prefix+b[c];var l=a.crossOrigin;l="string"===typeof l?"use-credentials"===l?l:"":void 0;f.call(h,k,{crossOrigin:l,nonce:e})}}} -var A=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),aa=Symbol.for("react.server_context"),ba=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),ca=Symbol.for("react.postpone"),E=Symbol.iterator;function da(a){if(null===a||"object"!==typeof a)return null;a=E&&a[E]||a["@@iterator"];return"function"===typeof a?a:null}var ea=Array.isArray,G=new WeakMap; -function fa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ha(a,b,d,c){function e(l,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===k&&(k=new FormData);f++;var t=h++;g.then(function(p){p=JSON.stringify(p,e);var y=k;y.append(b+t,p);f--;0===f&&d(y)},function(p){c(p)});return"$@"+t.toString(16)}if(g instanceof FormData){null===k&&(k=new FormData);var F=k;l=h++;var m=b+l+"_";g.forEach(function(p,y){F.append(m+y,p)});return"$K"+l.toString(16)}return g instanceof Map?(g=JSON.stringify(Array.from(g),e),null===k&& -(k=new FormData),l=h++,k.append(b+l,g),"$Q"+l.toString(16)):g instanceof Set?(g=JSON.stringify(Array.from(g),e),null===k&&(k=new FormData),l=h++,k.append(b+l,g),"$W"+l.toString(16)):!ea(g)&&da(g)?Array.from(g):g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[l]instanceof Date)return"$D"+g;g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return fa(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=G.get(g);if(void 0!==g)return g=JSON.stringify(g, -e),null===k&&(k=new FormData),l=h++,k.set(b+l,g),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){l=g.description;if(Symbol.for(l)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(g.description+") cannot be found among global symbols."));return"$S"+l}if("bigint"===typeof g)return"$n"+ -g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var h=1,f=0,k=null;a=JSON.stringify(a,e);null===k?d(a):(k.set(b+"0",a),0===f&&d(k))}var H=new WeakMap;function ia(a){var b,d,c=new Promise(function(e,h){b=e;d=h});ha(a,"",function(e){if("string"===typeof e){var h=new FormData;h.append("0",e);e=h}c.status="fulfilled";c.value=e;b(e)},function(e){c.status="rejected";c.reason=e;d(e)});return c} -function ja(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var d=null;if(null!==b.bound){d=H.get(b);d||(d=ia(b),H.set(b,d));if("rejected"===d.status)throw d.reason;if("fulfilled"!==d.status)throw d;b=d.value;var c=new FormData;b.forEach(function(e,h){c.append("$ACTION_"+a+":"+h,e)});d=c;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:d}} -function ka(a,b){var d=G.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(d.id!==a)return!1;var c=d.bound;if(null===c)return 0===b;switch(c.status){case "fulfilled":return c.value.length===b;case "pending":throw c;case "rejected":throw c.reason;default:throw"string"!==typeof c.status&&(c.status="pending",c.then(function(e){c.status="fulfilled";c.value=e},function(e){c.status="rejected";c.reason=e})),c;}} -function I(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ja},$$IS_SIGNATURE_EQUAL:{value:ka},bind:{value:la}});G.set(a,b)}var ma=Function.prototype.bind,na=Array.prototype.slice;function la(){var a=ma.apply(this,arguments),b=G.get(this);if(b){var d=na.call(arguments,1),c=null;c=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(d)}):Promise.resolve(d);I(a,{id:b.id,bound:c})}return a} -function oa(a,b){function d(){var c=Array.prototype.slice.call(arguments);return b(a,c)}I(d,{id:a,bound:null});return d}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function K(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}K.prototype=Object.create(Promise.prototype); -K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function pa(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function N(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function O(a,b,d){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=d;break;case "rejected":d&&N(d,a.reason)}} -function P(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&N(d,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.value,c=a.reason;a.status="resolved_module";a.value=b;null!==d&&(M(a),O(a,d,c))}}var R=null,S=null; -function L(a){var b=R,d=S;R=a;S=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==S&&0<S.deps?(S.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{R=b,S=d}}function M(a){try{var b=a.value,d=w.get(b.specifier);if("fulfilled"===d.status)var c=d.value;else throw d.reason;var e="*"===b.name?c:""===b.name?c.default:c[b.name];a.status="fulfilled";a.value=e}catch(h){a.status="rejected",a.reason=h}} -function T(a,b){a._chunks.forEach(function(d){"pending"===d.status&&P(d,b)})}function U(a,b){var d=a._chunks,c=d.get(b);c||(c=new K("pending",null,null,a),d.set(b,c));return c}function qa(a,b,d){if(S){var c=S;c.deps++}else c=S={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&N(e,c.value))}}function ra(a){return function(b){return P(a,b)}} -function sa(a,b){function d(){var e=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?c(b.id,h.value.concat(e)):Promise.resolve(h).then(function(f){return c(b.id,f.concat(e))}):c(b.id,e)}var c=a._callServer;I(d,b);return d}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ta(a,b,d,c){if("$"===c[0]){if("$"===c)return B;switch(c[1]){case "$":return c.slice(1);case "L":return b=parseInt(c.slice(2),16),a=U(a,b),{$$typeof:ba,_payload:a,_init:pa};case "@":return b=parseInt(c.slice(2),16),U(a,b);case "S":return Symbol.for(c.slice(2));case "P":return a=c.slice(2),J[a]||(b={$$typeof:aa,_currentValue:D,_currentValue2:D,_defaultValue:D,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},J[a]=b),J[a].Provider;case "F":return b= -parseInt(c.slice(2),16),b=V(a,b),sa(a,b);case "Q":return b=parseInt(c.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=U(a,c);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return c=R,a.then(qa(c,b,d),ra(c)),null;default:throw a.reason;}}}return c}function ua(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function va(a,b,d,c){var e=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==d?d:ua,_nonce:c,_chunks:e,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=wa(a);return a} -function W(a,b,d){a._chunks.set(b,new K("fulfilled",d,null,a))}function xa(a,b,d){var c=a._chunks,e=c.get(b);d=JSON.parse(d,a._fromJSON);var h=v(a._bundlerConfig,d);z(a._moduleLoading,d[1],a._nonce);if(d=x(h)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),c.set(b,f);d.then(function(){return Q(f,h)},function(k){return P(f,k)})}else e?Q(e,h):c.set(b,new K("resolved_module",h,null,a))} -function X(a,b){for(var d=a.length,c=b.length,e=0;e<d;e++)c+=a[e].byteLength;c=new Uint8Array(c);for(var h=e=0;h<d;h++){var f=a[h];c.set(f,e);e+=f.byteLength}c.set(b,e);return c}function Y(a,b,d,c,e,h){d=0===d.length&&0===c.byteOffset%h?c:X(d,c);e=new e(d.buffer,d.byteOffset,d.byteLength/h);W(a,b,e)} -function ya(a,b,d,c,e){switch(d){case 65:W(a,b,X(c,e).buffer);return;case 67:Y(a,b,c,e,Int8Array,1);return;case 99:W(a,b,0===c.length?e:X(c,e));return;case 85:Y(a,b,c,e,Uint8ClampedArray,1);return;case 83:Y(a,b,c,e,Int16Array,2);return;case 115:Y(a,b,c,e,Uint16Array,2);return;case 76:Y(a,b,c,e,Int32Array,4);return;case 108:Y(a,b,c,e,Uint32Array,4);return;case 70:Y(a,b,c,e,Float32Array,4);return;case 68:Y(a,b,c,e,Float64Array,8);return;case 78:Y(a,b,c,e,BigInt64Array,8);return;case 109:Y(a,b,c,e,BigUint64Array, -8);return;case 86:Y(a,b,c,e,DataView,1);return}for(var h=a._stringDecoder,f="",k=0;k<c.length;k++)f+=h.decode(c[k],u);f+=h.decode(e);switch(d){case 73:xa(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=A.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];d=a[1];3===a.length?f.preload(b,d,a[2]):f.preload(b,d);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], -a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:d=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=d;d=a._chunks;(c=d.get(b))?P(c,f):d.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=ca;f.stack="Error: "+f.message;d=a._chunks;(c=d.get(b))?P(c,f):d.set(b,new K("rejected",null,f,a));break;default:c=a._chunks,(d=c.get(b))?"pending"===d.status&&(a=d.value,b=d.reason,d.status= -"resolved_model",d.value=f,null!==a&&(L(d),O(d,a,b))):c.set(b,new K("resolved_model",f,null,a))}}function wa(a){return function(b,d){return"string"===typeof d?ta(a,this,b,d):"object"===typeof d&&null!==d?(b=d[0]===B?{$$typeof:B,type:d[1],key:d[2],ref:null,props:d[3],_owner:null}:d,b):d}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -exports.createFromNodeStream=function(a,b,d){var c=va(b.moduleMap,b.moduleLoading,Z,d&&"string"===typeof d.nonce?d.nonce:void 0);a.on("data",function(e){for(var h=0,f=c._rowState,k=c._rowID,l=c._rowTag,g=c._rowLength,t=c._buffer,F=e.length;h<F;){var m=-1;switch(f){case 0:m=e[h++];58===m?f=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:f=e[h];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||68===f||78===f||109===f||86===f?(l=f,f=2,h++):64<f&&91>f?(l=f,f=3,h++):(l=0,f=3); -continue;case 2:m=e[h++];44===m?f=4:g=g<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,h);break;case 4:m=h+g,m>e.length&&(m=-1)}var p=e.byteOffset+h;if(-1<m)g=new Uint8Array(e.buffer,p,m-h),ya(c,k,l,t,g),h=m,3===f&&h++,g=k=l=f=0,t.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-h);t.push(e);g-=e.byteLength;break}}c._rowState=f;c._rowID=k;c._rowTag=l;c._rowLength=g});a.on("error",function(e){T(c,e)});a.on("end",function(){T(c,Error("Connection closed."))});return U(c,0)}; -exports.createServerReference=function(a){return oa(a,Z)}; +'use strict';var n=require("util"),q=require("react-dom"),r=require("react"),u={stream:!0};function v(a,b){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return{specifier:a.specifier,name:c,async:4===b.length}}var w=new Map; +function x(a){var b=w.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var c=import(a.specifier);a.async&&(c=c.then(function(d){return d.default}));c.then(function(d){var e=c;e.status="fulfilled";e.value=d},function(d){var e=c;e.status="rejected";e.reason=d});w.set(a.specifier,c);return c} +function y(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var e=c,g=A.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}} +var A=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),aa=Symbol.for("react.provider"),ba=Symbol.for("react.server_context"),ca=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),da=Symbol.for("react.postpone"),D=Symbol.iterator;function ea(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var fa=Array.isArray,E=Object.getPrototypeOf,ha=Object.prototype,G=new WeakMap; +function ia(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ja(a,b,c,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var t=g++;h.then(function(p){p=JSON.stringify(p,e);var z=l;z.append(b+t,p);f--;0===f&&c(z)},function(p){d(p)});return"$@"+t.toString(16)}if(fa(h))return h;if(h instanceof FormData){null===l&&(l=new FormData);var F=l;k=g++;var m=b+k+"_";h.forEach(function(p,z){F.append(m+z,p)});return"$K"+k.toString(16)}if(h instanceof Map)return h=JSON.stringify(Array.from(h), +e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16);if(h instanceof Set)return h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16);if(ea(h))return Array.from(h);k=E(h);if(k!==ha&&(null===k||null!==E(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h; +h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ia(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=G.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var H=new WeakMap; +function ka(a){var b,c,d=new Promise(function(e,g){b=e;c=g});ja(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d} +function la(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=H.get(b);c||(c=ka(b),H.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function ma(a,b){var c=G.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}} +function I(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:la},$$IS_SIGNATURE_EQUAL:{value:ma},bind:{value:na}});G.set(a,b)}var oa=Function.prototype.bind,pa=Array.prototype.slice;function na(){var a=oa.apply(this,arguments),b=G.get(this);if(b){var c=pa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);I(a,{id:b.id,bound:d})}return a} +function qa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}I(c,{id:a,bound:null});return c}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function K(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}K.prototype=Object.create(Promise.prototype); +K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ra(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} +function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&N(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(M(a),O(a,c,d))}}var R=null,S=null; +function L(a){var b=R,c=S;R=a;S=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&N(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{R=b,S=c}} +function M(a){try{var b=a.value,c=w.get(b.specifier);if("fulfilled"===c.status)var d=c.value;else throw c.reason;var e="*"===b.name?d:""===b.name?d.default:d[b.name];a.status="fulfilled";a.value=e}catch(g){a.status="rejected",a.reason=g}}function T(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function U(a,b){var c=a._chunks,d=c.get(b);d||(d=new K("pending",null,null,a),c.set(b,d));return d} +function sa(a,b,c,d){if(S){var e=S;d||e.deps++}else e=S={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&N(g,e.value))}}function ta(a){return function(b){return P(a,b)}} +function ua(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;I(c,b);return c}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function va(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:ca,_payload:a,_init:ra};case "@":return b=parseInt(d.slice(2),16),U(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),J[a]||(b={$$typeof:ba,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:aa,_context:b},J[a]=b),J[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=V(a,b),ua(a,b);case "Q":return b=parseInt(d.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=V(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=R,a.then(sa(d,b,c,"cyclic"===a.status),ta(d)),null;default:throw a.reason;}}}return d}function wa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function xa(a,b,c,d){var e=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:wa,_nonce:d,_chunks:e,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ya(a);return a}function W(a,b,c){a._chunks.set(b,new K("fulfilled",c,null,a))} +function za(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=v(a._bundlerConfig,c);y(a._moduleLoading,c[1],a._nonce);if(c=x(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),d.set(b,f);c.then(function(){return Q(f,g)},function(l){return P(f,l)})}else e?Q(e,g):d.set(b,new K("resolved_module",g,null,a))} +function X(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function Y(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:X(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);W(a,b,e)} +function Aa(a,b,c,d,e){switch(c){case 65:W(a,b,X(d,e).buffer);return;case 67:Y(a,b,d,e,Int8Array,1);return;case 99:W(a,b,0===d.length?e:X(d,e));return;case 85:Y(a,b,d,e,Uint8ClampedArray,1);return;case 83:Y(a,b,d,e,Int16Array,2);return;case 115:Y(a,b,d,e,Uint16Array,2);return;case 76:Y(a,b,d,e,Int32Array,4);return;case 108:Y(a,b,d,e,Uint32Array,4);return;case 70:Y(a,b,d,e,Float32Array,4);return;case 68:Y(a,b,d,e,Float64Array,8);return;case 78:Y(a,b,d,e,BigInt64Array,8);return;case 109:Y(a,b,d,e,BigUint64Array, +8);return;case 86:Y(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],u);f+=g.decode(e);switch(c){case 73:za(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=A.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0], +a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); +f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");f.$$typeof=da;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status= +"resolved_model",c.value=f,null!==a&&(L(c),O(c,a,b))):d.set(b,new K("resolved_model",f,null,a))}}function ya(a){return function(b,c){return"string"===typeof c?va(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +exports.createFromNodeStream=function(a,b,c){var d=xa(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(e){for(var g=0,f=d._rowState,l=d._rowID,k=d._rowTag,h=d._rowLength,t=d._buffer,F=e.length;g<F;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||68===f||78===f||109===f||86===f?(k=f,f=2,g++):64<f&&91>f?(k=f,f=3,g++):(k=0,f=3); +continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),Aa(d,l,k,t,h),g=m,3===f&&g++,h=l=k=f=0,t.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);t.push(e);h-=e.byteLength;break}}d._rowState=f;d._rowID=l;d._rowTag=k;d._rowLength=h});a.on("error",function(e){T(d,e)});a.on("end",function(){T(d,Error("Connection closed."))});return U(d,0)}; +exports.createServerReference=function(a){return qa(a,Z)}; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js index 2ca0346f29b84..9251144e0b9ce 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js @@ -1193,6 +1193,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1211,7 +1213,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1227,7 +1229,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1554,6 +1556,20 @@ function getOrCreateServerContext(globalName) { return ContextRegistry[globalName]; } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); +} + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1561,8 +1577,37 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var TaintRegistryObjects = ReactSharedServerInternals.TaintRegistryObjects, + TaintRegistryValues = ReactSharedServerInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactSharedServerInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactSharedServerInternals.TaintRegistryPendingRequests, + ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; + +function throwTaintViolation(message) { + // eslint-disable-next-line react-internal/prod-error-codes + throw new Error(message); +} + +function cleanupTaintQueue(request) { + var cleanupQueue = request.taintCleanupQueue; + TaintRegistryPendingRequests.delete(cleanupQueue); + + for (var i = 0; i < cleanupQueue.length; i++) { + var entryValue = cleanupQueue[i]; + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } + } + + cleanupQueue.length = 0; +} function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1583,6 +1628,12 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + + { + TaintRegistryPendingRequests.add(cleanupQueue); + } + var hints = createHints(); var request = { status: OPEN, @@ -1604,8 +1655,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1858,28 +1911,31 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState case REACT_PROVIDER_TYPE: { - pushProvider(type._context, props.value); - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } + pushProvider(type._context, props.value); + + { + var extraKeys = Object.keys(props).filter(function (value) { + if (value === 'children' || value === 'value') { + return false; + } - return true; - }); + return true; + }); - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + if (extraKeys.length !== 0) { + error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + } } - } - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; + return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. + { + value: props.value, + children: props.children, + __pop: POP + }]; + } // Fallthrough + } } } @@ -2027,10 +2083,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2063,16 +2118,60 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } function serializeTypedArray(request, tag, typedArray) { + { + if (TaintRegistryByteLengths.has(typedArray.byteLength)) { + // If we have had any tainted values of this length, we check + // to see if these bytes matches any entries in the registry. + var tainted = TaintRegistryValues.get(binaryToComparableString(typedArray)); + + if (tainted !== undefined) { + throwTaintViolation(tainted.message); + } + } + } + request.pendingChunks += 2; var bufferId = request.nextChunkId++; // TODO: Convert to little endian if that's not the server default. @@ -2096,6 +2195,7 @@ function escapeStringValue(value) { var insideContextProps = null; var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2146,7 +2246,30 @@ function resolveModelToJSON(request, parent, key, value) { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2207,35 +2330,94 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + { + var tainted = TaintRegistryObjects.get(value); + + if (tainted !== undefined) { + throwTaintViolation(tainted); + } + } + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); + } + + { + if (value.$$typeof === REACT_PROVIDER_TYPE) { + var providerKey = value._context._globalName; + var writtenProviders = request.writtenProviders; + var providerId = writtenProviders.get(key); + + if (providerId === undefined) { + request.pendingChunks++; + providerId = request.nextChunkId++; + writtenProviders.set(providerKey, providerId); + emitProviderChunk(request, providerId, providerKey); + } - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); + return serializeByValueID(providerId); + } else if (value === POP) { + popProvider(); + + { + insideContextProps = null; + isInsideContextValue = false; + } + + return undefined; } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2312,27 +2494,29 @@ function resolveModelToJSON(request, parent, key, value) { } } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2342,7 +2526,15 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + { + var _tainted = TaintRegistryValues.get(value); + + if (_tainted !== undefined) { + throwTaintViolation(_tainted.message); + } + } // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2376,6 +2568,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + { + var _tainted2 = TaintRegistryObjects.get(value); + + if (_tainted2 !== undefined) { + throwTaintViolation(_tainted2); + } + } + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2393,10 +2593,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2415,6 +2616,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + { + var _tainted3 = TaintRegistryValues.get(value); + + if (_tainted3 !== undefined) { + throwTaintViolation(_tainted3.message); + } + } + return serializeBigInt(value); } @@ -2439,7 +2648,11 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + { + cleanupTaintQueue(request); + } // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2534,7 +2747,11 @@ function emitProviderChunk(request, id, contextName) { } function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2553,7 +2770,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2570,11 +2788,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2735,6 +2959,10 @@ function flushCompletedChunks(request, destination) { if (request.pendingChunks === 0) { // We're done. + { + cleanupTaintQueue(request); + } + close$1(destination); } } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js index e47baaea4b42f..89748089ebd7f 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js @@ -7,72 +7,77 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("react-dom"),ba=require("react"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(512),n=0),a.enqueue(b);else{var d=l.length-n;d<b.byteLength&&(0===d?a.enqueue(l):(l.set(b.subarray(0,d),n),a.enqueue(l),b=b.subarray(d)),l=new Uint8Array(512),n=0);l.set(b,n);n+=b.byteLength}return!0}var r=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} -var t=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);a.$$typeof=u;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +'use strict';var aa=require("react-dom"),ba=require("react"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(512),n=0),a.enqueue(b);else{var d=l.length-n;d<b.byteLength&&(0===d?a.enqueue(l):(l.set(b.subarray(0,d),n),a.enqueue(l),b=b.subarray(d)),l=new Uint8Array(512),n=0);l.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} +var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);a.$$typeof=t;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider."); }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}}; -function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); -},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=v({},a.$$id,!0),e=new Proxy(c,ka);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=u({},a.$$id,!0),e=new Proxy(c,ka);a.status="fulfilled";a.value=e;return a.then=u(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c} -var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},sa={prefetchDNS:la,preconnect:ma,preload:na,preloadModule:oa,preinitStyle:pa,preinitScript:qa,preinitModuleScript:ra}; -function la(a){if("string"===typeof a&&a){var b=w?w:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),x(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?x(d,"C",[a,b]):x(d,"C",a))}}} -function na(a,b,d){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?x(c,"L",[a,b,d]):x(c,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"m",[a,b]):x(d,"m",a)}}} -function pa(a,b,d){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?x(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?x(c,"S",[a,b]):x(c,"S",a)}}}function qa(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"X",[a,b]):x(d,"X",a)}}} -function ra(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"M",[a,b]):x(d,"M",a)}}}function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var ta=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),ua=Symbol.for("react.fragment"),va=Symbol.for("react.provider"),wa=Symbol.for("react.server_context"),xa=Symbol.for("react.forward_ref"),ya=Symbol.for("react.suspense"),za=Symbol.for("react.suspense_list"),Aa=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),Ba=Symbol.for("react.memo_cache_sentinel"),Ca=Symbol.for("react.postpone"),Da=Symbol.iterator,D=null; -function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function Ea(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ea(a)} -function Fa(a){var b=a.parent;null!==b&&Fa(b);a.context._currentValue=a.value}function Ga(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):Ga(a,b)} -function Ha(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):Ha(a,d);b.context._currentValue=b.value}function Ia(a){var b=D;b!==a&&(null===b?Fa(a):null===a?Ea(b):b.depth===a.depth?E(b,a):b.depth>a.depth?Ga(b,a):Ha(b,a),D=a)}function Ja(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ka=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function La(){}function Ma(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(La,La),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}G=b;throw Ka;}}var G=null; -function Na(){if(null===G)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=G;G=null;return a}var I=null,J=0,K=null;function Oa(){var a=K;K=null;return a}function Pa(a){return a._currentValue} -var Ta={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:L,useTransition:L,readContext:Pa,useContext:Pa,useReducer:L,useRef:L,useState:L,useInsertionEffect:L,useLayoutEffect:L,useImperativeHandle:L,useEffect:L,useId:Qa,useSyncExternalStore:L,useCacheRefresh:function(){return Ra},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ba;return b},use:Sa}; -function L(){throw Error("This Hook is not supported in Server Components.");}function Ra(){throw Error("Refreshing the cache is not supported in Server Components.");}function Qa(){if(null===I)throw Error("useId can only be used while React is rendering");var a=I.identifierCount++;return":"+I.identifierPrefix+"S"+a.toString(32)+":"} -function Sa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return Ma(K,a,b)}if(a.$$typeof===wa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ua(){return(new AbortController).signal}function Va(){var a=w?w:null;return a?a.cache:new Map} -var Wa={getCacheSignal:function(){var a=Va(),b=a.get(Ua);void 0===b&&(b=Ua(),a.set(Ua,b));return b},getCacheForType:function(a){var b=Va(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Xa=Array.isArray;function Ya(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function Za(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Xa(a))return"[...]";a=Ya(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function M(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return M(a.render);case Aa:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""} -function N(a,b){var d=Ya(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Xa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):Za(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -Za(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var $a=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ab=$a.ContextRegistry,O=JSON.stringify,bb=$a.ReactCurrentDispatcher,cb=$a.ReactCurrentCache;function db(a){console.error(a)}function eb(){} -function fb(a,b,d,c,e,f){if(null!==cb.current&&cb.current!==Wa)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=sa;cb.current=Wa;var g=new Set,h=[],k=new Set,m={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?db:d,onPostpone:void 0===f?eb:f,toJSON:function(q,F){return gb(m,this,q,F)}};m.pendingChunks++;b=hb(c);a=ib(m,a,b,g);h.push(a);return m}var w=null,jb={}; -function kb(a,b){a.pendingChunks++;var d=ib(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,lb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ca?(mb(a,c.message),nb(a,d.id)):(c=P(a,c),Q(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= -e;lb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=P(a,e);Q(a,d.id,e);null!==a.destination&&R(a,a.destination)});return d.id}function x(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=r.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,R(a,d))}function ob(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function pb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:ob}} -function S(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[z,b,d,e];J=0;K=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:pb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===ua?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[z,b,d,e];switch(b.$$typeof){case A:var g= -b._init;b=g(b._payload);return S(a,b,d,c,e,f);case xa:return a=b.render,J=0,K=f,a(e,void 0);case Aa:return S(a,b.type,d,c,e,f);case va:return Ja(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:jb}]}}throw Error("Unsupported Server Component type: "+Za(b));}function lb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,qb(a))} -function ib(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return lb(a,e)},thenableState:null};c.add(e);return e}function T(a){return"$"+a.toString(16)}function rb(a,b,d){a=O(d);b=b.toString(16)+":"+a+"\n";return r.encode(b)} -function sb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):T(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var m=h[k];if(m)g=m.name;else{var q=k.lastIndexOf("#");-1!==q&&(g=k.slice(q+1),m=h[k.slice(0,q)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var F=!0===c.$$async?[m.id,m.chunks,g,1]:[m.id,m.chunks, -g];a.pendingChunks++;var H=a.nextChunkId++,C=O(F),Mb=H.toString(16)+":I"+C+"\n",Nb=r.encode(Mb);a.completedImportChunks.push(Nb);f.set(e,H);return b[0]===z&&"1"===d?"$L"+H.toString(16):T(H)}catch(Ob){return a.pendingChunks++,b=a.nextChunkId++,d=P(a,Ob),Q(a,b,d),T(b)}}function tb(a,b){a.pendingChunks++;var d=a.nextChunkId++;ub(a,d,b);return d} -function U(a,b,d){a.pendingChunks+=2;var c=a.nextChunkId++,e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);d=512<d.byteLength?e.slice():e;e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";b=r.encode(b);a.completedRegularChunks.push(b,d);return T(c)} -function gb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=S(a,e.type,e.key,e.ref,e.props,null);break;case A:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ka?Na():g;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=ib(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Oa(),"$L"+a.id.toString(16);if(d.$$typeof===Ca)return c=d,a.pendingChunks++,d=a.nextChunkId++, -mb(a,c.message),nb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=P(a,d);Q(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return sb(a,b,d,c);if("function"===typeof c.then)return"$@"+kb(a,c).toString(16);if(c.$$typeof===va)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=rb(a,d,"$P"+c),a.completedRegularChunks.push(c)),T(d);if(c===jb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); -c=a.parentValue;a.context._currentValue=c===B?a.context._defaultValue:c;D=a.parent;return}return c instanceof Map?"$Q"+tb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+tb(a,Array.from(c)).toString(16):c instanceof ArrayBuffer?U(a,"A",new Uint8Array(c)):c instanceof Int8Array?U(a,"C",c):c instanceof Uint8Array?U(a,"c",c):c instanceof Uint8ClampedArray?U(a,"U",c):c instanceof Int16Array?U(a,"S",c):c instanceof Uint16Array?U(a,"s",c):c instanceof Int32Array?U(a,"L",c):c instanceof Uint32Array? -U(a,"l",c):c instanceof Float32Array?U(a,"F",c):c instanceof Float64Array?U(a,"D",c):c instanceof BigInt64Array?U(a,"N",c):c instanceof BigUint64Array?U(a,"m",c):c instanceof DataView?U(a,"V",c):!Xa(c)&&(null===c||"object"!==typeof c?a=null:(a=Da&&c[Da]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,c=r.encode(c),b=c.byteLength,b=d.toString(16)+ -":T"+b.toString(16)+",",b=r.encode(b),a.completedRegularChunks.push(b,c),T(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return sb(a,b,d,c);if(c.$$typeof===u)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound, -b={id:c.$$id,bound:b?Promise.resolve(b):null},a=tb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return T(f); -f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=rb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return T(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function mb(a,b){a=a.onPostpone;a(b)}function P(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function vb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} -function nb(a,b){b=b.toString(16)+":P\n";b=r.encode(b);a.completedErrorChunks.push(b)}function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";b=r.encode(b);a.completedErrorChunks.push(b)}function ub(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";b=r.encode(b);a.completedRegularChunks.push(b)} -function qb(a){var b=bb.current;bb.current=Ta;var d=w;I=w=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];a:{var g=a;if(0===f.status){Ia(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===z){var k=h,m=f.thenableState;f.model=h;h=S(g,k.type,k.key,k.ref,k.props,m);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===z;)k=h,f.model=h,h=S(g,k.type,k.key,k.ref,k.props,null)}ub(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(C){var q= -C===Ka?Na():C;if("object"===typeof q&&null!==q)if("function"===typeof q.then){var F=f.ping;q.then(F,F);f.thenableState=Oa();break a}else if(q.$$typeof===Ca){g.abortableTasks.delete(f);f.status=4;mb(g,q.message);nb(g,f.id);break a}g.abortableTasks.delete(f);f.status=4;var H=P(g,q);Q(g,f.id,H)}}}}null!==a.destination&&R(a,a.destination)}catch(C){P(a,C),vb(a,C)}finally{bb.current=b,I=null,w=d}} -function R(a,b){l=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&& -b.close()}function wb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=P(a,c);a.pendingChunks++;var f=a.nextChunkId++;Q(a,f,e,c);d.forEach(function(g){g.status=3;var h=T(f);g=rb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){P(a,g),vb(a,g)}} -function hb(a){if(a){var b=D;Ia(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!ab[e]){var f={$$typeof:wa,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:va,_context:f};ab[e]=f}Ja(ab[e],c)}a=D;Ia(b);return a}return null} -function xb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var V=new Map; -function yb(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function zb(){} -function Ab(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++],f=b[c++],g=V.get(e);void 0===g?(Bb.set(e,f),f=__webpack_chunk_load__(e),d.push(f),g=V.set.bind(V,e,null),f.then(g,zb),V.set(e,f)):null!==g&&d.push(g)}return 4===a.length?0===d.length?yb(a[0]):Promise.all(d).then(function(){return yb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}var Bb=new Map,Cb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Bb.get(a);return void 0!==b?b:Cb(a)};function Db(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Db.prototype=Object.create(Promise.prototype); -Db.prototype.then=function(a,b){switch(this.status){case "resolved_model":Eb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Fb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Gb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Fb(d,b)}}function Hb(a,b,d,c,e,f){var g=xb(a._bundlerConfig,b);a=Ab(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Ib(c,e,f),Jb(c));return null}var X=null,Y=null; -function Eb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Kb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Gb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Db("resolved_model",c,null,a):new Db("pending",null,null,a),d.set(b,c));return c}function Ib(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Fb(e,c.value))}}function Jb(a){return function(b){return Gb(a,b)}} -function Lb(a,b){a=Z(a,b);"resolved_model"===a.status&&Eb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Pb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Lb(a,c),Hb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Lb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Lb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Eb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Ib(c,b,d),Jb(c)),null;default:throw a.reason;}}return c} -function Qb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Pb(e,this,f,g):g}};return e}function Rb(a){Kb(a,Error("Connection closed."))}function Sb(a,b,d){var c=xb(a,b);a=Ab(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} -function Tb(a,b,d){a=Qb(b,d,a);Rb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ka)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Tb(a,b,e),c=Sb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Sb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; -exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=Tb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Qb(b,"",a);Rb(a);return Z(a,0)}; -exports.registerClientReference=function(a,b,d){return v(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; -exports.renderToReadableStream=function(a,b,d){var c=fb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)wb(c,e.reason);else{var f=function(){wb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){c.flushScheduled=null!==c.destination;qb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null=== -c.destination){c.destination=g;try{R(c,g)}catch(h){P(c,h),vb(c,h)}}},cancel:function(g){c.destination=null;wb(c,g)}},{highWaterMark:0})}; +var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ta={prefetchDNS:la,preconnect:ma,preload:na,preloadModule:oa,preinitStyle:pa,preinitScript:ra,preinitModuleScript:sa}; +function la(a){if("string"===typeof a&&a){var b=v?v:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),w(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?w(d,"C",[a,b]):w(d,"C",a))}}} +function na(a,b,d){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=x(d))?w(c,"L",[a,b,d]):w(c,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"m",[a,b]):w(d,"m",a)}}} +function pa(a,b,d){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=x(d))?w(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?w(c,"S",[a,b]):w(c,"S",a)}}}function ra(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"X",[a,b]):w(d,"X",a)}}} +function sa(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"M",[a,b]):w(d,"M",a)}}}function x(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} +var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,y=Symbol.for("react.element"),va=Symbol.for("react.fragment"),wa=Symbol.for("react.provider"),xa=Symbol.for("react.server_context"),ya=Symbol.for("react.forward_ref"),za=Symbol.for("react.suspense"),Aa=Symbol.for("react.suspense_list"),Ba=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),Ca=Symbol.for("react.memo_cache_sentinel"),Da=Symbol.for("react.postpone"),Ea=Symbol.iterator,C=null; +function D(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");D(a,d);b.context._currentValue=b.value}}}function Fa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Fa(a)} +function Ga(a){var b=a.parent;null!==b&&Ga(b);a.context._currentValue=a.value}function Ha(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?D(a,b):Ha(a,b)} +function Ia(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?D(a,d):Ia(a,d);b.context._currentValue=b.value}function Ja(a){var b=C;b!==a&&(null===b?Ga(a):null===a?Fa(b):b.depth===a.depth?D(b,a):b.depth>a.depth?Ha(b,a):Ia(b,a),C=a)}function Ka(a,b){var d=a._currentValue;a._currentValue=b;var c=C;return C=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var La=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Ma(){}function Na(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ma,Ma),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}E=b;throw La;}}var E=null; +function Oa(){if(null===E)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=E;E=null;return a}var F=null,Pa=0,H=null;function Qa(){var a=H;H=null;return a}function Ra(a){return a._currentValue} +var Va={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:I,useTransition:I,readContext:Ra,useContext:Ra,useReducer:I,useRef:I,useState:I,useInsertionEffect:I,useLayoutEffect:I,useImperativeHandle:I,useEffect:I,useId:Sa,useSyncExternalStore:I,useCacheRefresh:function(){return Ta},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ca;return b},use:Ua}; +function I(){throw Error("This Hook is not supported in Server Components.");}function Ta(){throw Error("Refreshing the cache is not supported in Server Components.");}function Sa(){if(null===F)throw Error("useId can only be used while React is rendering");var a=F.identifierCount++;return":"+F.identifierPrefix+"S"+a.toString(32)+":"} +function Ua(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Pa;Pa+=1;null===H&&(H=[]);return Na(H,a,b)}if(a.$$typeof===xa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Wa(){return(new AbortController).signal}function Xa(){var a=v?v:null;return a?a.cache:new Map} +var Ya={getCacheSignal:function(){var a=Xa(),b=a.get(Wa);void 0===b&&(b=Wa(),a.set(Wa,b));return b},getCacheForType:function(a){var b=Xa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Za=Array.isArray,$a=Object.getPrototypeOf;function ab(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function bb(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Za(a))return"[...]";a=ab(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function cb(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return cb(a.render);case Ba:return cb(a.type);case z:var b=a._payload;a=a._init;try{return cb(a(b))}catch(d){}}return""} +function J(a,b){var d=ab(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Za(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?J(g):bb(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+cb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?J(k): +bb(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var db=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,eb=db.ContextRegistry,K=ba.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +if(!K)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var fb=Object.prototype,L=JSON.stringify,gb=K.TaintRegistryObjects,M=K.TaintRegistryValues,hb=K.TaintRegistryByteLengths,ib=K.TaintRegistryPendingRequests,jb=K.ReactCurrentCache,kb=db.ReactCurrentDispatcher;function N(a){throw Error(a);} +function lb(a){a=a.taintCleanupQueue;ib.delete(a);for(var b=0;b<a.length;b++){var d=a[b],c=M.get(d);void 0!==c&&(1===c.count?M.delete(d):c.count--)}a.length=0}function mb(a){console.error(a)}function nb(){} +function ob(a,b,d,c,e,f){if(null!==jb.current&&jb.current!==Ya)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;jb.current=Ya;var g=new Set,h=[],k=[];ib.add(k);var m=new Set,A={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:m,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===d?mb:d,onPostpone:void 0===f?nb:f,toJSON:function(qa,G){return pb(A,this,qa,G)}};A.pendingChunks++;b=qb(c);a=rb(A,a,b,g);h.push(a);return A}var v=null,sb={}; +function tb(a,b){a.pendingChunks++;var d=rb(a,null,C,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,ub(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Da?(vb(a,c.message),wb(a,d.id)):(c=O(a,c),P(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= +e;ub(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=O(a,e);P(a,d.id,e);null!==a.destination&&Q(a,a.destination)});return d.id}function w(a,b,d){d=L(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,Q(a,d))}function xb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function yb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:z,_payload:a,_init:xb}} +function R(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[y,b,d,e];Pa=0;H=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:yb(e):e}if("string"===typeof b)return[y,b,d,e];if("symbol"===typeof b)return b===va?e.children:[y,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[y,b,d,e];switch(b.$$typeof){case z:var g= +b._init;b=g(b._payload);return R(a,b,d,c,e,f);case ya:return a=b.render,Pa=0,H=f,a(e,void 0);case Ba:return R(a,b.type,d,c,e,f);case wa:return Ka(b._context,e.value),[y,b,d,{value:e.value,children:e.children,__pop:sb}]}}throw Error("Unsupported Server Component type: "+bb(b));}function ub(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,zb(a))} +function rb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return ub(a,e)},thenableState:null};c.add(e);return e}function S(a){return"$"+a.toString(16)}function Ab(a,b,d){a=L(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} +function Bb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===y&&"1"===d?"$L"+g.toString(16):S(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var m=h[k];if(m)g=m.name;else{var A=k.lastIndexOf("#");-1!==A&&(g=k.slice(A+1),m=h[k.slice(0,A)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var qa=!0===c.$$async?[m.id,m.chunks,g,1]:[m.id,m.chunks, +g];a.pendingChunks++;var G=a.nextChunkId++,Vb=L(qa),Wb=G.toString(16)+":I"+Vb+"\n",Xb=q.encode(Wb);a.completedImportChunks.push(Xb);f.set(e,G);return b[0]===y&&"1"===d?"$L"+G.toString(16):S(G)}catch(Yb){return a.pendingChunks++,b=a.nextChunkId++,d=O(a,Yb),P(a,b,d),S(b)}}function T(a,b){a.pendingChunks++;b=rb(a,b,C,a.abortableTasks);Cb(a,b);return b.id} +function U(a,b,d){if(hb.has(d.byteLength)){var c=M.get(String.fromCharCode.apply(String,new Uint8Array(d.buffer,d.byteOffset,d.byteLength)));void 0!==c&&N(c.message)}a.pendingChunks+=2;c=a.nextChunkId++;var e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);d=512<d.byteLength?e.slice():e;e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";b=q.encode(b);a.completedRegularChunks.push(b,d);return S(c)}var V=!1; +function pb(a,b,d,c){switch(c){case y:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===y||c.$$typeof===z);)try{switch(c.$$typeof){case y:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=T(a,c);return S(g)}if(V===c)V=null;else return S(f)}else e.set(c,-1);var h=c;c=R(a,h.type,h.key,h.ref,h.props,null);break;case z:var k=c._init;c=k(c._payload)}}catch(m){d=m===La?Oa():m;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=rb(a,c,C,a.abortableTasks), +c=a.ping,d.then(c,c),a.thenableState=Qa(),"$L"+a.id.toString(16);if(d.$$typeof===Da)return c=d,a.pendingChunks++,d=a.nextChunkId++,vb(a,c.message),wb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){e=gb.get(c);void 0!==e&&N(e);if(c.$$typeof===r)return Bb(a,b,d,c);b=a.writtenObjects;e=b.get(c);if("function"===typeof c.then){if(void 0!==e)if(V===c)V=null;else return"$@"+e.toString(16);a=tb(a,c); +b.set(c,a);return"$@"+a.toString(16)}if(c.$$typeof===wa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=Ab(a,d,"$P"+c),a.completedRegularChunks.push(c)),S(d);if(c===sb){a=C;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===B?a.context._defaultValue:c;C=a.parent;return}if(void 0!==e){if(-1===e)return a=T(a,c),S(a);if(V===c)V=null; +else return S(e)}else b.set(c,-1);if(Za(c))return c;if(c instanceof Map){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d][0],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$Q"+T(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$W"+T(a,c).toString(16)}if(c instanceof ArrayBuffer)return U(a,"A",new Uint8Array(c));if(c instanceof Int8Array)return U(a, +"C",c);if(c instanceof Uint8Array)return U(a,"c",c);if(c instanceof Uint8ClampedArray)return U(a,"U",c);if(c instanceof Int16Array)return U(a,"S",c);if(c instanceof Uint16Array)return U(a,"s",c);if(c instanceof Int32Array)return U(a,"L",c);if(c instanceof Uint32Array)return U(a,"l",c);if(c instanceof Float32Array)return U(a,"F",c);if(c instanceof Float64Array)return U(a,"D",c);if(c instanceof BigInt64Array)return U(a,"N",c);if(c instanceof BigUint64Array)return U(a,"m",c);if(c instanceof DataView)return U(a, +"V",c);null===c||"object"!==typeof c?a=null:(a=Ea&&c[Ea]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=$a(c);if(a!==fb&&(null===a||null!==$a(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){e=M.get(c);void 0!==e&&N(e.message);if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+= +2,d=a.nextChunkId++,c=q.encode(c),b=c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",b=q.encode(b),a.completedRegularChunks.push(b,c),S(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){e=gb.get(c);void 0!==e&&N(e);if(c.$$typeof===r)return Bb(a,b,d,c);if(c.$$typeof=== +t)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=T(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+J(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+ +J(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return S(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+J(b,d));a.pendingChunks++;d=a.nextChunkId++;b=Ab(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return S(d)}if("bigint"===typeof c)return a=M.get(c),void 0!==a&&N(a.message),"$n"+c.toString(10); +throw Error("Type "+typeof c+" is not supported in Client Component props."+J(b,d));}function vb(a,b){a=a.onPostpone;a(b)}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""} +function Db(a,b){lb(a);null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}function wb(a,b){b=b.toString(16)+":P\n";b=q.encode(b);a.completedErrorChunks.push(b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+L(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)} +function Cb(a,b){if(0===b.status){Ja(b.context);try{var d=b.model;if("object"===typeof d&&null!==d&&d.$$typeof===y){a.writtenObjects.set(d,b.id);var c=d,e=b.thenableState;b.model=d;d=R(a,c.type,c.key,c.ref,c.props,e);for(b.thenableState=null;"object"===typeof d&&null!==d&&d.$$typeof===y;)a.writtenObjects.set(d,b.id),c=d,b.model=d,d=R(a,c.type,c.key,c.ref,c.props,null)}"object"===typeof d&&null!==d&&a.writtenObjects.set(d,b.id);var f=b.id;V=d;var g=L(d,a.toJSON),h=f.toString(16)+":"+g+"\n",k=q.encode(h); +a.completedRegularChunks.push(k);a.abortableTasks.delete(b);b.status=1}catch(m){f=m===La?Oa():m;if("object"===typeof f&&null!==f){if("function"===typeof f.then){a=b.ping;f.then(a,a);b.thenableState=Qa();return}if(f.$$typeof===Da){a.abortableTasks.delete(b);b.status=4;vb(a,f.message);wb(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;f=O(a,f);P(a,b.id,f)}}} +function zb(a){var b=kb.current;kb.current=Va;var d=v;F=v=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Cb(a,c[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Db(a,f)}finally{kb.current=b,F=null,v=d}} +function Q(a,b){l=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&& +(lb(a),b.close())}function Eb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=O(a,c);a.pendingChunks++;var f=a.nextChunkId++;P(a,f,e,c);d.forEach(function(g){g.status=3;var h=S(f);g=Ab(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Db(a,g)}} +function qb(a){if(a){var b=C;Ja(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!eb[e]){var f={$$typeof:xa,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:wa,_context:f};eb[e]=f}Ka(eb[e],c)}a=C;Ja(b);return a}return null} +function Fb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Gb=new Map; +function Hb(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Ib(){} +function Jb(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++],f=b[c++],g=Gb.get(e);void 0===g?(Kb.set(e,f),f=__webpack_chunk_load__(e),d.push(f),g=Gb.set.bind(Gb,e,null),f.then(g,Ib),Gb.set(e,f)):null!==g&&d.push(g)}return 4===a.length?0===d.length?Hb(a[0]):Promise.all(d).then(function(){return Hb(a[0])}):0<d.length?Promise.all(d):null} +function W(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}var Kb=new Map,Lb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Kb.get(a);return void 0!==b?b:Lb(a)};function Mb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Mb.prototype=Object.create(Promise.prototype); +Mb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Nb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Ob(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Pb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Ob(d,b)}}function Qb(a,b,d,c,e,f){var g=Fb(a._bundlerConfig,b);a=Jb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Rb(c,e,f),Sb(c));return null}var X=null,Y=null; +function Nb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Tb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Pb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Mb("resolved_model",c,null,a):new Mb("pending",null,null,a),d.set(b,c));return c}function Rb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Ob(e,c.value))}}function Sb(a){return function(b){return Pb(a,b)}} +function Ub(a,b){a=Z(a,b);"resolved_model"===a.status&&Nb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Zb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Ub(a,c),Qb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Ub(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Ub(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Nb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Rb(c,b,d),Sb(c)),null;default:throw a.reason;}}return c} +function $b(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Zb(e,this,f,g):g}};return e}function ac(a){Tb(a,Error("Connection closed."))}function bc(a,b,d){var c=Fb(a,b);a=Jb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} +function cc(a,b,d){a=$b(b,d,a);ac(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ka)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=cc(a,b,e),c=bc(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=bc(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; +exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=cc(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=$b(b,"",a);ac(a);return Z(a,0)}; +exports.registerClientReference=function(a,b,d){return u(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; +exports.renderToReadableStream=function(a,b,d){var c=ob(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)Eb(c,e.reason);else{var f=function(){Eb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){c.flushScheduled=null!==c.destination;zb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null=== +c.destination){c.destination=g;try{Q(c,g)}catch(h){O(c,h),Db(c,h)}}},cancel:function(g){c.destination=null;Eb(c,g)}},{highWaterMark:0})}; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js index 8393b3589520a..6590c1313afa5 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js @@ -1196,6 +1196,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1214,7 +1216,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1230,7 +1232,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1557,6 +1559,20 @@ function getOrCreateServerContext(globalName) { return ContextRegistry[globalName]; } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); +} + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1564,8 +1580,37 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var TaintRegistryObjects = ReactSharedServerInternals.TaintRegistryObjects, + TaintRegistryValues = ReactSharedServerInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactSharedServerInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactSharedServerInternals.TaintRegistryPendingRequests, + ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; + +function throwTaintViolation(message) { + // eslint-disable-next-line react-internal/prod-error-codes + throw new Error(message); +} + +function cleanupTaintQueue(request) { + var cleanupQueue = request.taintCleanupQueue; + TaintRegistryPendingRequests.delete(cleanupQueue); + + for (var i = 0; i < cleanupQueue.length; i++) { + var entryValue = cleanupQueue[i]; + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } + } + + cleanupQueue.length = 0; +} function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1586,6 +1631,12 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + + { + TaintRegistryPendingRequests.add(cleanupQueue); + } + var hints = createHints(); var request = { status: OPEN, @@ -1607,8 +1658,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1866,28 +1919,31 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState case REACT_PROVIDER_TYPE: { - pushProvider(type._context, props.value); - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } + pushProvider(type._context, props.value); + + { + var extraKeys = Object.keys(props).filter(function (value) { + if (value === 'children' || value === 'value') { + return false; + } - return true; - }); + return true; + }); - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + if (extraKeys.length !== 0) { + error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + } } - } - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; + return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. + { + value: props.value, + children: props.children, + __pop: POP + }]; + } // Fallthrough + } } } @@ -2035,10 +2091,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2071,16 +2126,60 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } function serializeTypedArray(request, tag, typedArray) { + { + if (TaintRegistryByteLengths.has(typedArray.byteLength)) { + // If we have had any tainted values of this length, we check + // to see if these bytes matches any entries in the registry. + var tainted = TaintRegistryValues.get(binaryToComparableString(typedArray)); + + if (tainted !== undefined) { + throwTaintViolation(tainted.message); + } + } + } + request.pendingChunks += 2; var bufferId = request.nextChunkId++; // TODO: Convert to little endian if that's not the server default. @@ -2104,6 +2203,7 @@ function escapeStringValue(value) { var insideContextProps = null; var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2154,7 +2254,30 @@ function resolveModelToJSON(request, parent, key, value) { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2215,35 +2338,94 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + { + var tainted = TaintRegistryObjects.get(value); + + if (tainted !== undefined) { + throwTaintViolation(tainted); + } + } + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); + } + + { + if (value.$$typeof === REACT_PROVIDER_TYPE) { + var providerKey = value._context._globalName; + var writtenProviders = request.writtenProviders; + var providerId = writtenProviders.get(key); + + if (providerId === undefined) { + request.pendingChunks++; + providerId = request.nextChunkId++; + writtenProviders.set(providerKey, providerId); + emitProviderChunk(request, providerId, providerKey); + } - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); + return serializeByValueID(providerId); + } else if (value === POP) { + popProvider(); + + { + insideContextProps = null; + isInsideContextValue = false; + } + + return undefined; } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2320,27 +2502,29 @@ function resolveModelToJSON(request, parent, key, value) { } } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2350,7 +2534,15 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + { + var _tainted = TaintRegistryValues.get(value); + + if (_tainted !== undefined) { + throwTaintViolation(_tainted.message); + } + } // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2384,6 +2576,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + { + var _tainted2 = TaintRegistryObjects.get(value); + + if (_tainted2 !== undefined) { + throwTaintViolation(_tainted2); + } + } + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2401,10 +2601,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2423,6 +2624,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + { + var _tainted3 = TaintRegistryValues.get(value); + + if (_tainted3 !== undefined) { + throwTaintViolation(_tainted3.message); + } + } + return serializeBigInt(value); } @@ -2447,7 +2656,11 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + { + cleanupTaintQueue(request); + } // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2542,7 +2755,11 @@ function emitProviderChunk(request, id, contextName) { } function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2561,7 +2778,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2578,11 +2796,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2743,6 +2967,10 @@ function flushCompletedChunks(request, destination) { if (request.pendingChunks === 0) { // We're done. + { + cleanupTaintQueue(request); + } + close$1(destination); } } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js index 71056191a5ef4..da34dc375deee 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js @@ -7,73 +7,78 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("react"),ba=require("react-dom"),m=null,n=0;function q(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var d=m.length-n;d<b.byteLength&&(0===d?a.enqueue(m):(m.set(b.subarray(0,d),n),a.enqueue(m),b=b.subarray(d)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.byteLength}return!0}var r=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} -var t=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);a.$$typeof=u;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +'use strict';var aa=require("react"),ba=require("react-dom"),m=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var d=m.length-n;d<b.byteLength&&(0===d?a.enqueue(m):(m.set(b.subarray(0,d),n),a.enqueue(m),b=b.subarray(d)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} +var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);a.$$typeof=t;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider."); }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}}; -function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); -},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=v({},a.$$id,!0),e=new Proxy(c,ka);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=u({},a.$$id,!0),e=new Proxy(c,ka);a.status="fulfilled";a.value=e;return a.then=u(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c} -var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},sa={prefetchDNS:la,preconnect:ma,preload:na,preloadModule:oa,preinitStyle:pa,preinitScript:qa,preinitModuleScript:ra}; -function la(a){if("string"===typeof a&&a){var b=w();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),x(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?x(d,"C",[a,b]):x(d,"C",a))}}} -function na(a,b,d){if("string"===typeof a){var c=w();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?x(c,"L",[a,b,d]):x(c,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"m",[a,b]):x(d,"m",a)}}} -function pa(a,b,d){if("string"===typeof a){var c=w();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?x(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?x(c,"S",[a,b]):x(c,"S",a)}}}function qa(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"X",[a,b]):x(d,"X",a)}}}function ra(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"M",[a,b]):x(d,"M",a)}}} -function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var ta=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,ua="function"===typeof AsyncLocalStorage,va=ua?new AsyncLocalStorage:null,z=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"), -Ea=Symbol.for("react.postpone"),Fa=Symbol.iterator,D=null;function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function Ga(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ga(a)} -function Ha(a){var b=a.parent;null!==b&&Ha(b);a.context._currentValue=a.value}function Ia(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):Ia(a,b)} -function Ja(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):Ja(a,d);b.context._currentValue=b.value}function Ka(a){var b=D;b!==a&&(null===b?Ha(a):null===a?Ga(b):b.depth===a.depth?E(b,a):b.depth>a.depth?Ia(b,a):Ja(b,a),D=a)}function La(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ma=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Na(){}function Oa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Na,Na),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}G=b;throw Ma;}}var G=null; -function Pa(){if(null===G)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=G;G=null;return a}var I=null,J=0,K=null;function Qa(){var a=K;K=null;return a}function Ra(a){return a._currentValue} -var Va={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:L,useTransition:L,readContext:Ra,useContext:Ra,useReducer:L,useRef:L,useState:L,useInsertionEffect:L,useLayoutEffect:L,useImperativeHandle:L,useEffect:L,useId:Sa,useSyncExternalStore:L,useCacheRefresh:function(){return Ta},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Ua}; -function L(){throw Error("This Hook is not supported in Server Components.");}function Ta(){throw Error("Refreshing the cache is not supported in Server Components.");}function Sa(){if(null===I)throw Error("useId can only be used while React is rendering");var a=I.identifierCount++;return":"+I.identifierPrefix+"S"+a.toString(32)+":"} -function Ua(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return Oa(K,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Wa(){return(new AbortController).signal}function Xa(){var a=w();return a?a.cache:new Map} -var Ya={getCacheSignal:function(){var a=Xa(),b=a.get(Wa);void 0===b&&(b=Wa(),a.set(Wa,b));return b},getCacheForType:function(a){var b=Xa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Za=Array.isArray;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Za(a))return"[...]";a=$a(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function M(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return M(a.render);case Ca:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""} -function N(a,b){var d=$a(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Za(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):ab(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -ab(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var bb=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,cb=bb.ContextRegistry,O=JSON.stringify,db=bb.ReactCurrentDispatcher,eb=bb.ReactCurrentCache;function fb(a){console.error(a)}function gb(){} -function hb(a,b,d,c,e,f){if(null!==eb.current&&eb.current!==Ya)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=sa;eb.current=Ya;var g=new Set,h=[],k=new Set,l={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?fb:d,onPostpone:void 0===f?gb:f,toJSON:function(p,F){return ib(l,this,p,F)}};l.pendingChunks++;b=jb(c);a=kb(l,a,b,g);h.push(a);return l}var P=null;function w(){if(P)return P;if(ua){var a=va.getStore();if(a)return a}return null}var lb={}; -function mb(a,b){a.pendingChunks++;var d=kb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,nb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ea?(ob(a,c.message),pb(a,d.id)):(c=Q(a,c),R(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= -e;nb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=Q(a,e);R(a,d.id,e);null!==a.destination&&S(a,a.destination)});return d.id}function x(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=r.encode(b+d+"\n");a.completedHintChunks.push(d);qb(a)}function rb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function sb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:rb}} -function T(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[z,b,d,e];J=0;K=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:sb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[z,b,d,e];switch(b.$$typeof){case A:var g= -b._init;b=g(b._payload);return T(a,b,d,c,e,f);case za:return a=b.render,J=0,K=f,a(e,void 0);case Ca:return T(a,b.type,d,c,e,f);case xa:return La(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:lb}]}}throw Error("Unsupported Server Component type: "+ab(b));}function nb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return tb(a)},0))} -function kb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return nb(a,e)},thenableState:null};c.add(e);return e}function U(a){return"$"+a.toString(16)}function ub(a,b,d){a=O(d);b=b.toString(16)+":"+a+"\n";return r.encode(b)} -function vb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):U(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var l=h[k];if(l)g=l.name;else{var p=k.lastIndexOf("#");-1!==p&&(g=k.slice(p+1),l=h[k.slice(0,p)]);if(!l)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var F=!0===c.$$async?[l.id,l.chunks,g,1]:[l.id,l.chunks, -g];a.pendingChunks++;var H=a.nextChunkId++,C=O(F),Pb=H.toString(16)+":I"+C+"\n",Qb=r.encode(Pb);a.completedImportChunks.push(Qb);f.set(e,H);return b[0]===z&&"1"===d?"$L"+H.toString(16):U(H)}catch(Rb){return a.pendingChunks++,b=a.nextChunkId++,d=Q(a,Rb),R(a,b,d),U(b)}}function wb(a,b){a.pendingChunks++;var d=a.nextChunkId++;xb(a,d,b);return d} -function V(a,b,d){a.pendingChunks+=2;var c=a.nextChunkId++,e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);d=512<d.byteLength?e.slice():e;e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";b=r.encode(b);a.completedRegularChunks.push(b,d);return U(c)} -function ib(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=T(a,e.type,e.key,e.ref,e.props,null);break;case A:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ma?Pa():g;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=kb(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Qa(),"$L"+a.id.toString(16);if(d.$$typeof===Ea)return c=d,a.pendingChunks++,d=a.nextChunkId++, -ob(a,c.message),pb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=Q(a,d);R(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return vb(a,b,d,c);if("function"===typeof c.then)return"$@"+mb(a,c).toString(16);if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=ub(a,d,"$P"+c),a.completedRegularChunks.push(c)),U(d);if(c===lb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); -c=a.parentValue;a.context._currentValue=c===B?a.context._defaultValue:c;D=a.parent;return}return c instanceof Map?"$Q"+wb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+wb(a,Array.from(c)).toString(16):c instanceof ArrayBuffer?V(a,"A",new Uint8Array(c)):c instanceof Int8Array?V(a,"C",c):c instanceof Uint8Array?V(a,"c",c):c instanceof Uint8ClampedArray?V(a,"U",c):c instanceof Int16Array?V(a,"S",c):c instanceof Uint16Array?V(a,"s",c):c instanceof Int32Array?V(a,"L",c):c instanceof Uint32Array? -V(a,"l",c):c instanceof Float32Array?V(a,"F",c):c instanceof Float64Array?V(a,"D",c):c instanceof BigInt64Array?V(a,"N",c):c instanceof BigUint64Array?V(a,"m",c):c instanceof DataView?V(a,"V",c):!Za(c)&&(null===c||"object"!==typeof c?a=null:(a=Fa&&c[Fa]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,c=r.encode(c),b=c.byteLength,b=d.toString(16)+ -":T"+b.toString(16)+",",b=r.encode(b),a.completedRegularChunks.push(b,c),U(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return vb(a,b,d,c);if(c.$$typeof===u)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound, -b={id:c.$$id,bound:b?Promise.resolve(b):null},a=wb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return U(f); -f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=ub(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return U(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function ob(a,b){a=a.onPostpone;a(b)}function Q(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function yb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} -function pb(a,b){b=b.toString(16)+":P\n";b=r.encode(b);a.completedErrorChunks.push(b)}function R(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";b=r.encode(b);a.completedErrorChunks.push(b)}function xb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";b=r.encode(b);a.completedRegularChunks.push(b)} -function tb(a){var b=db.current;db.current=Va;var d=P;I=P=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];a:{var g=a;if(0===f.status){Ka(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===z){var k=h,l=f.thenableState;f.model=h;h=T(g,k.type,k.key,k.ref,k.props,l);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===z;)k=h,f.model=h,h=T(g,k.type,k.key,k.ref,k.props,null)}xb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(C){var p= -C===Ma?Pa():C;if("object"===typeof p&&null!==p)if("function"===typeof p.then){var F=f.ping;p.then(F,F);f.thenableState=Qa();break a}else if(p.$$typeof===Ea){g.abortableTasks.delete(f);f.status=4;ob(g,p.message);pb(g,f.id);break a}g.abortableTasks.delete(f);f.status=4;var H=Q(g,p);R(g,f.id,H)}}}}null!==a.destination&&S(a,a.destination)}catch(C){Q(a,C),yb(a,C)}finally{db.current=b,I=null,P=d}} -function S(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,q(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)q(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,q(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,q(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&& -b.close()}function zb(a){a.flushScheduled=null!==a.destination;ua?setTimeout(function(){return va.run(a,tb,a)},0):setTimeout(function(){return tb(a)},0)}function qb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return S(a,b)},0)}} -function Ab(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=Q(a,c);a.pendingChunks++;var f=a.nextChunkId++;R(a,f,e,c);d.forEach(function(g){g.status=3;var h=U(f);g=ub(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&S(a,a.destination)}catch(g){Q(a,g),yb(a,g)}} -function jb(a){if(a){var b=D;Ka(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!cb[e]){var f={$$typeof:ya,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};cb[e]=f}La(cb[e],c)}a=D;Ka(b);return a}return null} -function Bb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Cb=new Map; -function Db(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Eb(){} -function Fb(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++];b[c++];var f=Cb.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=Cb.set.bind(Cb,e,null);f.then(g,Eb);Cb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Db(a[0]):Promise.all(d).then(function(){return Db(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Gb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Gb.prototype=Object.create(Promise.prototype); -Gb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Hb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Ib(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Jb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Ib(d,b)}}function Kb(a,b,d,c,e,f){var g=Bb(a._bundlerConfig,b);a=Fb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Lb(c,e,f),Mb(c));return null}var X=null,Y=null; -function Hb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Nb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Jb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Gb("resolved_model",c,null,a):new Gb("pending",null,null,a),d.set(b,c));return c}function Lb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Ib(e,c.value))}}function Mb(a){return function(b){return Jb(a,b)}} -function Ob(a,b){a=Z(a,b);"resolved_model"===a.status&&Hb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Sb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Ob(a,c),Kb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Ob(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Ob(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Hb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Lb(c,b,d),Mb(c)),null;default:throw a.reason;}}return c} -function Tb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Sb(e,this,f,g):g}};return e}function Ub(a){Nb(a,Error("Connection closed."))}function Vb(a,b,d){var c=Bb(a,b);a=Fb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} -function Wb(a,b,d){a=Tb(b,d,a);Ub(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ka)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Wb(a,b,e),c=Vb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Vb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; -exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=Wb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Tb(b,"",a);Ub(a);return Z(a,0)}; -exports.registerClientReference=function(a,b,d){return v(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; -exports.renderToReadableStream=function(a,b,d){var c=hb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)Ab(c,e.reason);else{var f=function(){Ab(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){zb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{S(c, -g)}catch(h){Q(c,h),yb(c,h)}}},cancel:function(g){c.destination=null;Ab(c,g)}},{highWaterMark:0})}; +var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ta={prefetchDNS:la,preconnect:ma,preload:na,preloadModule:oa,preinitStyle:pa,preinitScript:qa,preinitModuleScript:ra}; +function la(a){if("string"===typeof a&&a){var b=v();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),w(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?w(d,"C",[a,b]):w(d,"C",a))}}} +function na(a,b,d){if("string"===typeof a){var c=v();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=x(d))?w(c,"L",[a,b,d]):w(c,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"m",[a,b]):w(d,"m",a)}}} +function pa(a,b,d){if("string"===typeof a){var c=v();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=x(d))?w(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?w(c,"S",[a,b]):w(c,"S",a)}}}function qa(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"X",[a,b]):w(d,"X",a)}}}function ra(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=x(b))?w(d,"M",[a,b]):w(d,"M",a)}}} +function x(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} +var ua=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,va="function"===typeof AsyncLocalStorage,wa=va?new AsyncLocalStorage:null,y=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.provider"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),B=Symbol.for("react.default_value"),Ea=Symbol.for("react.memo_cache_sentinel"), +Fa=Symbol.for("react.postpone"),Ga=Symbol.iterator,C=null;function D(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");D(a,d);b.context._currentValue=b.value}}}function Ha(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ha(a)} +function Ia(a){var b=a.parent;null!==b&&Ia(b);a.context._currentValue=a.value}function Ja(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?D(a,b):Ja(a,b)} +function Ka(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?D(a,d):Ka(a,d);b.context._currentValue=b.value}function La(a){var b=C;b!==a&&(null===b?Ia(a):null===a?Ha(b):b.depth===a.depth?D(b,a):b.depth>a.depth?Ja(b,a):Ka(b,a),C=a)}function Ma(a,b){var d=a._currentValue;a._currentValue=b;var c=C;return C=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Na=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Oa(){}function Pa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Oa,Oa),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Qa=b;throw Na;}}var Qa=null; +function Ra(){if(null===Qa)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Qa;Qa=null;return a}var E=null,Sa=0,F=null;function Ta(){var a=F;F=null;return a}function Ua(a){return a._currentValue} +var Ya={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:Ua,useContext:Ua,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:Va,useSyncExternalStore:H,useCacheRefresh:function(){return Wa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Xa}; +function H(){throw Error("This Hook is not supported in Server Components.");}function Wa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Va(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Xa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Sa;Sa+=1;null===F&&(F=[]);return Pa(F,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Za(){return(new AbortController).signal}function $a(){var a=v();return a?a.cache:new Map} +var ab={getCacheSignal:function(){var a=$a(),b=a.get(Za);void 0===b&&(b=Za(),a.set(Za,b));return b},getCacheForType:function(a){var b=$a(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},bb=Array.isArray,cb=Object.getPrototypeOf;function db(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function eb(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(bb(a))return"[...]";a=db(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function fb(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return fb(a.render);case Da:return fb(a.type);case z:var b=a._payload;a=a._init;try{return fb(a(b))}catch(d){}}return""} +function I(a,b){var d=db(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(bb(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?I(g):eb(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+fb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?I(k): +eb(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var gb=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,hb=gb.ContextRegistry,J=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +if(!J)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var ib=Object.prototype,K=JSON.stringify,jb=J.TaintRegistryObjects,L=J.TaintRegistryValues,kb=J.TaintRegistryByteLengths,lb=J.TaintRegistryPendingRequests,mb=J.ReactCurrentCache,nb=gb.ReactCurrentDispatcher;function M(a){throw Error(a);} +function ob(a){a=a.taintCleanupQueue;lb.delete(a);for(var b=0;b<a.length;b++){var d=a[b],c=L.get(d);void 0!==c&&(1===c.count?L.delete(d):c.count--)}a.length=0}function pb(a){console.error(a)}function qb(){} +function rb(a,b,d,c,e,f){if(null!==mb.current&&mb.current!==ab)throw Error("Currently React only supports one RSC renderer at a time.");ua.current=ta;mb.current=ab;var g=new Set,h=[],k=[];lb.add(k);var l=new Set,A={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:l,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===d?pb:d,onPostpone:void 0===f?qb:f,toJSON:function(sa,G){return sb(A,this,sa,G)}};A.pendingChunks++;b=tb(c);a=ub(A,a,b,g);h.push(a);return A}var N=null;function v(){if(N)return N;if(va){var a=wa.getStore();if(a)return a}return null}var vb={}; +function wb(a,b){a.pendingChunks++;var d=ub(a,null,C,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,xb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Fa?(yb(a,c.message),zb(a,d.id)):(c=O(a,c),P(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= +e;xb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=O(a,e);P(a,d.id,e);null!==a.destination&&Q(a,a.destination)});return d.id}function w(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);Ab(a)}function Bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function Cb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:z,_payload:a,_init:Bb}} +function R(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[y,b,d,e];Sa=0;F=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Cb(e):e}if("string"===typeof b)return[y,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[y,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[y,b,d,e];switch(b.$$typeof){case z:var g= +b._init;b=g(b._payload);return R(a,b,d,c,e,f);case Aa:return a=b.render,Sa=0,F=f,a(e,void 0);case Da:return R(a,b.type,d,c,e,f);case ya:return Ma(b._context,e.value),[y,b,d,{value:e.value,children:e.children,__pop:vb}]}}throw Error("Unsupported Server Component type: "+eb(b));}function xb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return Db(a)},0))} +function ub(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return xb(a,e)},thenableState:null};c.add(e);return e}function S(a){return"$"+a.toString(16)}function Eb(a,b,d){a=K(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} +function Fb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===y&&"1"===d?"$L"+g.toString(16):S(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var l=h[k];if(l)g=l.name;else{var A=k.lastIndexOf("#");-1!==A&&(g=k.slice(A+1),l=h[k.slice(0,A)]);if(!l)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var sa=!0===c.$$async?[l.id,l.chunks,g,1]:[l.id,l.chunks, +g];a.pendingChunks++;var G=a.nextChunkId++,Yb=K(sa),Zb=G.toString(16)+":I"+Yb+"\n",$b=q.encode(Zb);a.completedImportChunks.push($b);f.set(e,G);return b[0]===y&&"1"===d?"$L"+G.toString(16):S(G)}catch(ac){return a.pendingChunks++,b=a.nextChunkId++,d=O(a,ac),P(a,b,d),S(b)}}function T(a,b){a.pendingChunks++;b=ub(a,b,C,a.abortableTasks);Gb(a,b);return b.id} +function U(a,b,d){if(kb.has(d.byteLength)){var c=L.get(String.fromCharCode.apply(String,new Uint8Array(d.buffer,d.byteOffset,d.byteLength)));void 0!==c&&M(c.message)}a.pendingChunks+=2;c=a.nextChunkId++;var e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);d=512<d.byteLength?e.slice():e;e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";b=q.encode(b);a.completedRegularChunks.push(b,d);return S(c)}var V=!1; +function sb(a,b,d,c){switch(c){case y:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===y||c.$$typeof===z);)try{switch(c.$$typeof){case y:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=T(a,c);return S(g)}if(V===c)V=null;else return S(f)}else e.set(c,-1);var h=c;c=R(a,h.type,h.key,h.ref,h.props,null);break;case z:var k=c._init;c=k(c._payload)}}catch(l){d=l===Na?Ra():l;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=ub(a,c,C,a.abortableTasks), +c=a.ping,d.then(c,c),a.thenableState=Ta(),"$L"+a.id.toString(16);if(d.$$typeof===Fa)return c=d,a.pendingChunks++,d=a.nextChunkId++,yb(a,c.message),zb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){e=jb.get(c);void 0!==e&&M(e);if(c.$$typeof===r)return Fb(a,b,d,c);b=a.writtenObjects;e=b.get(c);if("function"===typeof c.then){if(void 0!==e)if(V===c)V=null;else return"$@"+e.toString(16);a=wb(a,c); +b.set(c,a);return"$@"+a.toString(16)}if(c.$$typeof===ya)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=Eb(a,d,"$P"+c),a.completedRegularChunks.push(c)),S(d);if(c===vb){a=C;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===B?a.context._defaultValue:c;C=a.parent;return}if(void 0!==e){if(-1===e)return a=T(a,c),S(a);if(V===c)V=null; +else return S(e)}else b.set(c,-1);if(bb(c))return c;if(c instanceof Map){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d][0],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$Q"+T(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$W"+T(a,c).toString(16)}if(c instanceof ArrayBuffer)return U(a,"A",new Uint8Array(c));if(c instanceof Int8Array)return U(a, +"C",c);if(c instanceof Uint8Array)return U(a,"c",c);if(c instanceof Uint8ClampedArray)return U(a,"U",c);if(c instanceof Int16Array)return U(a,"S",c);if(c instanceof Uint16Array)return U(a,"s",c);if(c instanceof Int32Array)return U(a,"L",c);if(c instanceof Uint32Array)return U(a,"l",c);if(c instanceof Float32Array)return U(a,"F",c);if(c instanceof Float64Array)return U(a,"D",c);if(c instanceof BigInt64Array)return U(a,"N",c);if(c instanceof BigUint64Array)return U(a,"m",c);if(c instanceof DataView)return U(a, +"V",c);null===c||"object"!==typeof c?a=null:(a=Ga&&c[Ga]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=cb(c);if(a!==ib&&(null===a||null!==cb(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){e=L.get(c);void 0!==e&&M(e.message);if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+= +2,d=a.nextChunkId++,c=q.encode(c),b=c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",b=q.encode(b),a.completedRegularChunks.push(b,c),S(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){e=jb.get(c);void 0!==e&&M(e);if(c.$$typeof===r)return Fb(a,b,d,c);if(c.$$typeof=== +t)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=T(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+I(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+ +I(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return S(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+I(b,d));a.pendingChunks++;d=a.nextChunkId++;b=Eb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return S(d)}if("bigint"===typeof c)return a=L.get(c),void 0!==a&&M(a.message),"$n"+c.toString(10); +throw Error("Type "+typeof c+" is not supported in Client Component props."+I(b,d));}function yb(a,b){a=a.onPostpone;a(b)}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""} +function Hb(a,b){ob(a);null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}function zb(a,b){b=b.toString(16)+":P\n";b=q.encode(b);a.completedErrorChunks.push(b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)} +function Gb(a,b){if(0===b.status){La(b.context);try{var d=b.model;if("object"===typeof d&&null!==d&&d.$$typeof===y){a.writtenObjects.set(d,b.id);var c=d,e=b.thenableState;b.model=d;d=R(a,c.type,c.key,c.ref,c.props,e);for(b.thenableState=null;"object"===typeof d&&null!==d&&d.$$typeof===y;)a.writtenObjects.set(d,b.id),c=d,b.model=d,d=R(a,c.type,c.key,c.ref,c.props,null)}"object"===typeof d&&null!==d&&a.writtenObjects.set(d,b.id);var f=b.id;V=d;var g=K(d,a.toJSON),h=f.toString(16)+":"+g+"\n",k=q.encode(h); +a.completedRegularChunks.push(k);a.abortableTasks.delete(b);b.status=1}catch(l){f=l===Na?Ra():l;if("object"===typeof f&&null!==f){if("function"===typeof f.then){a=b.ping;f.then(a,a);b.thenableState=Ta();return}if(f.$$typeof===Fa){a.abortableTasks.delete(b);b.status=4;yb(a,f.message);zb(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;f=O(a,f);P(a,b.id,f)}}} +function Db(a){var b=nb.current;nb.current=Ya;var d=N;E=N=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Gb(a,c[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Hb(a,f)}finally{nb.current=b,E=null,N=d}} +function Q(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&& +(ob(a),b.close())}function Ib(a){a.flushScheduled=null!==a.destination;va?setTimeout(function(){return wa.run(a,Db,a)},0):setTimeout(function(){return Db(a)},0)}function Ab(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return Q(a,b)},0)}} +function Jb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=O(a,c);a.pendingChunks++;var f=a.nextChunkId++;P(a,f,e,c);d.forEach(function(g){g.status=3;var h=S(f);g=Eb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Hb(a,g)}} +function tb(a){if(a){var b=C;La(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!hb[e]){var f={$$typeof:za,_currentValue:B,_currentValue2:B,_defaultValue:B,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ya,_context:f};hb[e]=f}Ma(hb[e],c)}a=C;La(b);return a}return null} +function Kb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Lb=new Map; +function Mb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Nb(){} +function Ob(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++];b[c++];var f=Lb.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=Lb.set.bind(Lb,e,null);f.then(g,Nb);Lb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Mb(a[0]):Promise.all(d).then(function(){return Mb(a[0])}):0<d.length?Promise.all(d):null} +function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Pb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Pb.prototype=Object.create(Promise.prototype); +Pb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Qb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Rb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Sb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Rb(d,b)}}function Tb(a,b,d,c,e,f){var g=Kb(a._bundlerConfig,b);a=Ob(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Ub(c,e,f),Vb(c));return null}var X=null,Y=null; +function Qb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Wb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Sb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Pb("resolved_model",c,null,a):new Pb("pending",null,null,a),d.set(b,c));return c}function Ub(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Rb(e,c.value))}}function Vb(a){return function(b){return Sb(a,b)}} +function Xb(a,b){a=Z(a,b);"resolved_model"===a.status&&Qb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function bc(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Xb(a,c),Tb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Xb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Xb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Qb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Ub(c,b,d),Vb(c)),null;default:throw a.reason;}}return c} +function cc(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?bc(e,this,f,g):g}};return e}function dc(a){Wb(a,Error("Connection closed."))}function ec(a,b,d){var c=Kb(a,b);a=Ob(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} +function fc(a,b,d){a=cc(b,d,a);dc(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ka)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=fc(a,b,e),c=ec(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=ec(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; +exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=fc(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=cc(b,"",a);dc(a);return Z(a,0)}; +exports.registerClientReference=function(a,b,d){return u(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; +exports.renderToReadableStream=function(a,b,d){var c=rb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)Jb(c,e.reason);else{var f=function(){Jb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){Ib(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{Q(c, +g)}catch(h){O(c,h),Hb(c,h)}}},cancel:function(g){c.destination=null;Jb(c,g)}},{highWaterMark:0})}; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js index 46a3144aed905..5a96681627beb 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js @@ -1256,6 +1256,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1274,7 +1276,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1290,7 +1292,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1617,6 +1619,20 @@ function getOrCreateServerContext(globalName) { return ContextRegistry[globalName]; } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); +} + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1624,8 +1640,37 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var TaintRegistryObjects = ReactSharedServerInternals.TaintRegistryObjects, + TaintRegistryValues = ReactSharedServerInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactSharedServerInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactSharedServerInternals.TaintRegistryPendingRequests, + ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; + +function throwTaintViolation(message) { + // eslint-disable-next-line react-internal/prod-error-codes + throw new Error(message); +} + +function cleanupTaintQueue(request) { + var cleanupQueue = request.taintCleanupQueue; + TaintRegistryPendingRequests.delete(cleanupQueue); + + for (var i = 0; i < cleanupQueue.length; i++) { + var entryValue = cleanupQueue[i]; + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } + } + + cleanupQueue.length = 0; +} function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1646,6 +1691,12 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + + { + TaintRegistryPendingRequests.add(cleanupQueue); + } + var hints = createHints(); var request = { status: OPEN, @@ -1667,8 +1718,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1926,28 +1979,31 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState case REACT_PROVIDER_TYPE: { - pushProvider(type._context, props.value); - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } + pushProvider(type._context, props.value); + + { + var extraKeys = Object.keys(props).filter(function (value) { + if (value === 'children' || value === 'value') { + return false; + } - return true; - }); + return true; + }); - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + if (extraKeys.length !== 0) { + error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + } } - } - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; + return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. + { + value: props.value, + children: props.children, + __pop: POP + }]; + } // Fallthrough + } } } @@ -2095,10 +2151,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2131,16 +2186,60 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } function serializeTypedArray(request, tag, typedArray) { + { + if (TaintRegistryByteLengths.has(typedArray.byteLength)) { + // If we have had any tainted values of this length, we check + // to see if these bytes matches any entries in the registry. + var tainted = TaintRegistryValues.get(binaryToComparableString(typedArray)); + + if (tainted !== undefined) { + throwTaintViolation(tainted.message); + } + } + } + request.pendingChunks += 2; var bufferId = request.nextChunkId++; // TODO: Convert to little endian if that's not the server default. @@ -2164,6 +2263,7 @@ function escapeStringValue(value) { var insideContextProps = null; var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2214,7 +2314,30 @@ function resolveModelToJSON(request, parent, key, value) { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2275,35 +2398,94 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + { + var tainted = TaintRegistryObjects.get(value); + + if (tainted !== undefined) { + throwTaintViolation(tainted); + } + } + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); + } + + { + if (value.$$typeof === REACT_PROVIDER_TYPE) { + var providerKey = value._context._globalName; + var writtenProviders = request.writtenProviders; + var providerId = writtenProviders.get(key); + + if (providerId === undefined) { + request.pendingChunks++; + providerId = request.nextChunkId++; + writtenProviders.set(providerKey, providerId); + emitProviderChunk(request, providerId, providerKey); + } - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); + return serializeByValueID(providerId); + } else if (value === POP) { + popProvider(); + + { + insideContextProps = null; + isInsideContextValue = false; + } + + return undefined; } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2380,27 +2562,29 @@ function resolveModelToJSON(request, parent, key, value) { } } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2410,7 +2594,15 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + { + var _tainted = TaintRegistryValues.get(value); + + if (_tainted !== undefined) { + throwTaintViolation(_tainted.message); + } + } // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2444,6 +2636,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + { + var _tainted2 = TaintRegistryObjects.get(value); + + if (_tainted2 !== undefined) { + throwTaintViolation(_tainted2); + } + } + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2461,10 +2661,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2483,6 +2684,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + { + var _tainted3 = TaintRegistryValues.get(value); + + if (_tainted3 !== undefined) { + throwTaintViolation(_tainted3.message); + } + } + return serializeBigInt(value); } @@ -2507,7 +2716,11 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + { + cleanupTaintQueue(request); + } // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2602,7 +2815,11 @@ function emitProviderChunk(request, id, contextName) { } function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2621,7 +2838,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2638,11 +2856,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2805,6 +3029,10 @@ function flushCompletedChunks(request, destination) { if (request.pendingChunks === 0) { // We're done. + { + cleanupTaintQueue(request); + } + close$1(destination); } } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js index 505a7a911d7a9..7a4f8fbec9dd9 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js @@ -7,10 +7,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,r=!0;function t(a,b){a=a.write(b);r=r&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,b)):(d=l.length-m,d<b.byteLength&& -(0===d?t(a,l):(l.set(b.subarray(0,d),m),m+=d,t(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)));return r}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; -function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);a.$$typeof=w;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,p=!0;function q(a,b){a=a.write(b);p=p&&a} +function r(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,b)):(d=l.length-m,d<b.byteLength&& +(0===d?q(a,l):(l.set(b.subarray(0,d),m),m+=d,q(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)));return p}var ea=new aa.TextEncoder,t=Symbol.for("react.client.reference"),v=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; +function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===v){var b=ha.call(arguments,1);a.$$typeof=v;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ja=Promise.prototype,ka={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ (String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}}; function la(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=x(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); @@ -21,63 +21,68 @@ function na(a){if("string"===typeof a&&a){var b=y();if(b){var d=b.hints,c="D|"+a function pa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function qa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} function ra(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?z(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?z(c,"S",[a,b]):z(c,"S",a)}}}function sa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"X",[a,b]):z(d,"X",a)}}}function ta(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"M",[a,b]):z(d,"M",a)}}} function A(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var va=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.provider"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),Ea=Symbol.for("react.memo_cache_sentinel"),Fa=Symbol.for("react.postpone"), -Ga=Symbol.iterator,F=null;function G(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");G(a,d);b.context._currentValue=b.value}}}function Ha(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ha(a)} -function Ia(a){var b=a.parent;null!==b&&Ia(b);a.context._currentValue=a.value}function Ja(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?G(a,b):Ja(a,b)} -function Ka(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?G(a,d):Ka(a,d);b.context._currentValue=b.value}function La(a){var b=F;b!==a&&(null===b?Ia(a):null===a?Ha(b):b.depth===a.depth?G(b,a):b.depth>a.depth?Ja(b,a):Ka(b,a),F=a)}function Ma(a,b){var d=a._currentValue;a._currentValue=b;var c=F;return F=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Na=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Oa(){}function Pa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Oa,Oa),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}I=b;throw Na;}}var I=null; -function Qa(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}var J=null,K=0,L=null;function Ra(){var a=L;L=null;return a}function Sa(a){return a._currentValue} -var Wa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:M,useTransition:M,readContext:Sa,useContext:Sa,useReducer:M,useRef:M,useState:M,useInsertionEffect:M,useLayoutEffect:M,useImperativeHandle:M,useEffect:M,useId:Ta,useSyncExternalStore:M,useCacheRefresh:function(){return Ua},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Va}; -function M(){throw Error("This Hook is not supported in Server Components.");}function Ua(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ta(){if(null===J)throw Error("useId can only be used while React is rendering");var a=J.identifierCount++;return":"+J.identifierPrefix+"S"+a.toString(32)+":"} -function Va(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===L&&(L=[]);return Pa(L,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Xa(){return(new AbortController).signal}function Ya(){var a=y();return a?a.cache:new Map} -var Za={getCacheSignal:function(){var a=Ya(),b=a.get(Xa);void 0===b&&(b=Xa(),a.set(Xa,b));return b},getCacheForType:function(a){var b=Ya(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},$a=Array.isArray;function ab(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function bb(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if($a(a))return"[...]";a=ab(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function cb(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return cb(a.render);case Da:return cb(a.type);case C:var b=a._payload;a=a._init;try{return cb(a(b))}catch(d){}}return""} -function N(a,b){var d=ab(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if($a(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):bb(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+cb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -bb(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var db=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,eb=db.ContextRegistry,O=JSON.stringify,fb=db.ReactCurrentDispatcher,gb=db.ReactCurrentCache;function hb(a){console.error(a)}function ib(){} -function jb(a,b,d,c,e,f){if(null!==gb.current&&gb.current!==Za)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;gb.current=Za;var g=new Set,h=[],k=new Set,n={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?hb:d,onPostpone:void 0===f?ib:f,toJSON:function(p,q){return kb(n,this,p,q)}};n.pendingChunks++;b=lb(c);a=mb(n,a,b,g);h.push(a);return n}var P=null;function y(){if(P)return P;var a=wa.getStore();return a?a:null}var nb={}; -function ob(a,b){a.pendingChunks++;var d=mb(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,pb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Fa?(qb(a,c.message),rb(a,d.id)):(c=Q(a,c),R(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= -e;pb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=Q(a,e);R(a,d.id,e);null!==a.destination&&S(a,a.destination)});return d.id}function z(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");sb(a)}function tb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function ub(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:tb}} -function T(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[B,b,d,e];K=0;L=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:ub(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[B,b,d,e];switch(b.$$typeof){case C:var g= -b._init;b=g(b._payload);return T(a,b,d,c,e,f);case Aa:return a=b.render,K=0,L=f,a(e,void 0);case Da:return T(a,b.type,d,c,e,f);case ya:return Ma(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:nb}]}}throw Error("Unsupported Server Component type: "+bb(b));}function pb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return vb(a)}))} -function mb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return pb(a,e)},thenableState:null};c.add(e);return e}function U(a){return"$"+a.toString(16)}function wb(a,b,d){a=O(d);return b.toString(16)+":"+a+"\n"} -function xb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):U(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var p=k.lastIndexOf("#");-1!==p&&(g=k.slice(p+1),n=h[k.slice(0,p)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var q=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, -g];a.pendingChunks++;var H=a.nextChunkId++,D=O(q),Vb=H.toString(16)+":I"+D+"\n";a.completedImportChunks.push(Vb);f.set(e,H);return b[0]===B&&"1"===d?"$L"+H.toString(16):U(H)}catch(Wb){return a.pendingChunks++,b=a.nextChunkId++,d=Q(a,Wb),R(a,b,d),U(b)}}function yb(a,b){a.pendingChunks++;var d=a.nextChunkId++;zb(a,d,b);return d} -function V(a,b,d){a.pendingChunks+=2;var c=a.nextChunkId++;d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);var e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,d);return U(c)} -function kb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=c;c=T(a,e.type,e.key,e.ref,e.props,null);break;case C:var f=c._init;c=f(c._payload)}}catch(g){d=g===Na?Qa():g;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=mb(a,c,F,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Ra(),"$L"+a.id.toString(16);if(d.$$typeof===Fa)return c=d,a.pendingChunks++,d=a.nextChunkId++, -qb(a,c.message),rb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=Q(a,d);R(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===v)return xb(a,b,d,c);if("function"===typeof c.then)return"$@"+ob(a,c).toString(16);if(c.$$typeof===ya)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=wb(a,d,"$P"+c),a.completedRegularChunks.push(c)),U(d);if(c===nb){a=F;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); -c=a.parentValue;a.context._currentValue=c===E?a.context._defaultValue:c;F=a.parent;return}return c instanceof Map?"$Q"+yb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+yb(a,Array.from(c)).toString(16):c instanceof ArrayBuffer?V(a,"A",new Uint8Array(c)):c instanceof Int8Array?V(a,"C",c):c instanceof Uint8Array?V(a,"c",c):c instanceof Uint8ClampedArray?V(a,"U",c):c instanceof Int16Array?V(a,"S",c):c instanceof Uint16Array?V(a,"s",c):c instanceof Int32Array?V(a,"L",c):c instanceof Uint32Array? -V(a,"l",c):c instanceof Float32Array?V(a,"F",c):c instanceof Float64Array?V(a,"D",c):c instanceof BigInt64Array?V(a,"N",c):c instanceof BigUint64Array?V(a,"m",c):c instanceof DataView?V(a,"V",c):!$a(c)&&(null===c||"object"!==typeof c?a=null:(a=Ga&&c[Ga]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c, -"utf8"):c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),U(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===v)return xb(a,b,d,c);if(c.$$typeof===w)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16): -(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=yb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!== -f)return U(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=wb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return U(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function qb(a,b){a=a.onPostpone;a(b)}function Q(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function Ab(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function rb(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function R(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";a.completedErrorChunks.push(b)}function zb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";a.completedRegularChunks.push(b)} -function vb(a){var b=fb.current;fb.current=Wa;var d=P;J=P=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];a:{var g=a;if(0===f.status){La(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===B){var k=h,n=f.thenableState;f.model=h;h=T(g,k.type,k.key,k.ref,k.props,n);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===B;)k=h,f.model=h,h=T(g,k.type,k.key,k.ref,k.props,null)}zb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(D){var p= -D===Na?Qa():D;if("object"===typeof p&&null!==p)if("function"===typeof p.then){var q=f.ping;p.then(q,q);f.thenableState=Ra();break a}else if(p.$$typeof===Fa){g.abortableTasks.delete(f);f.status=4;qb(g,p.message);rb(g,f.id);break a}g.abortableTasks.delete(f);f.status=4;var H=Q(g,p);R(g,f.id,H)}}}}null!==a.destination&&S(a,a.destination)}catch(D){Q(a,D),Ab(a,D)}finally{fb.current=b,J=null,P=d}} -function S(a,b){l=new Uint8Array(2048);m=0;r=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!u(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!u(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!u(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!u(b,g[c])){a.destination= -null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,r=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function Bb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,vb,a)})}function sb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return S(a,b)})}} -function Cb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{S(a,b)}catch(d){Q(a,d),Ab(a,d)}}} -function Db(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=Q(a,c);a.pendingChunks++;var f=a.nextChunkId++;R(a,f,e,c);d.forEach(function(g){g.status=3;var h=U(f);g=wb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&S(a,a.destination)}catch(g){Q(a,g),Ab(a,g)}} -function lb(a){if(a){var b=F;La(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!eb[e]){var f={$$typeof:za,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ya,_context:f};eb[e]=f}Ma(eb[e],c)}a=F;La(b);return a}return null} -function Eb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Fb=new Map; -function Gb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Hb(){} -function Ib(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++];b[c++];var f=Fb.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=Fb.set.bind(Fb,e,null);f.then(g,Hb);Fb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Gb(a[0]):Promise.all(d).then(function(){return Gb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Jb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Jb.prototype=Object.create(Promise.prototype); -Jb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Kb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Lb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Mb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Lb(d,b)}}function Nb(a,b,d,c,e,f){var g=Eb(a._bundlerConfig,b);a=Ib(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Ob(c,e,f),Pb(c));return null}var X=null,Y=null; -function Kb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Qb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Mb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Jb("resolved_model",c,null,a):new Jb("pending",null,null,a),d.set(b,c));return c}function Ob(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Lb(e,c.value))}}function Pb(a){return function(b){return Mb(a,b)}} -function Rb(a,b){a=Z(a,b);"resolved_model"===a.status&&Kb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Sb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Rb(a,c),Nb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Rb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Rb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Kb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Ob(c,b,d),Pb(c)),null;default:throw a.reason;}}return c} -function Tb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Sb(e,this,f,g):g}};return e} -function Ub(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Kb(b),b.status){case "fulfilled":Lb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Lb(a,b.reason)}}function Xb(a){Qb(a,Error("Connection closed."))} -function Yb(a,b,d){var c=Eb(a,b);a=Ib(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Zb(a,b,d){a=Tb(b,d,a);Xb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function $b(a,b){return function(){return Cb(b,a)}}function ac(a,b){return function(){a.destination=null;Db(a,Error(b))}} -exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,ma)};exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Zb(a,b,e),c=Yb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Yb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; -exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=Zb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Tb(b,"",a);Xb(a);return Z(a,0)}; -exports.decodeReplyFromBusboy=function(a,b){var d=Tb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Ub(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var p=[];g.on("data",function(q){p.push(q)});g.on("end",function(){var q= -new Blob(p,{type:n});d._formData.append(f,q,k);c--;if(0===c){for(q=0;q<e.length;q+=2)Ub(d,e[q],e[q+1]);e.length=0}})});a.on("finish",function(){Xb(d)});a.on("error",function(f){Qb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; -exports.renderToPipeableStream=function(a,b,d){var c=jb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;Bb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Cb(c,f);f.on("drain",$b(f,c));f.on("error",ac(c,"The destination stream errored while writing data."));f.on("close",ac(c,"The destination stream closed early."));return f},abort:function(f){Db(c,f)}}}; +var va=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.provider"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Ea=Symbol.for("react.default_value"),Fa=Symbol.for("react.memo_cache_sentinel"),Ga=Symbol.for("react.postpone"), +Ha=Symbol.iterator,D=null;function Ia(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");Ia(a,d);b.context._currentValue=b.value}}}function Ja(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ja(a)} +function Ka(a){var b=a.parent;null!==b&&Ka(b);a.context._currentValue=a.value}function La(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?Ia(a,b):La(a,b)} +function Ma(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?Ia(a,d):Ma(a,d);b.context._currentValue=b.value}function Na(a){var b=D;b!==a&&(null===b?Ka(a):null===a?Ja(b):b.depth===a.depth?Ia(b,a):b.depth>a.depth?La(b,a):Ma(b,a),D=a)}function Oa(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Pa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Qa(){}function Ra(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Qa,Qa),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Sa=b;throw Pa;}}var Sa=null; +function Ta(){if(null===Sa)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Sa;Sa=null;return a}var E=null,Ua=0,F=null;function Va(){var a=F;F=null;return a}function Wa(a){return a._currentValue} +var $a={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:G,useTransition:G,readContext:Wa,useContext:Wa,useReducer:G,useRef:G,useState:G,useInsertionEffect:G,useLayoutEffect:G,useImperativeHandle:G,useEffect:G,useId:Xa,useSyncExternalStore:G,useCacheRefresh:function(){return Ya},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Fa;return b},use:Za}; +function G(){throw Error("This Hook is not supported in Server Components.");}function Ya(){throw Error("Refreshing the cache is not supported in Server Components.");}function Xa(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Za(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ua;Ua+=1;null===F&&(F=[]);return Ra(F,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function ab(){return(new AbortController).signal}function bb(){var a=y();return a?a.cache:new Map} +var cb={getCacheSignal:function(){var a=bb(),b=a.get(ab);void 0===b&&(b=ab(),a.set(ab,b));return b},getCacheForType:function(a){var b=bb(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},db=Array.isArray,eb=Object.getPrototypeOf;function fb(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function gb(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(db(a))return"[...]";a=fb(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function hb(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return hb(a.render);case Da:return hb(a.type);case C:var b=a._payload;a=a._init;try{return hb(a(b))}catch(d){}}return""} +function I(a,b){var d=fb(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(db(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?I(g):gb(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+hb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?I(k): +gb(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var ib=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,jb=ib.ContextRegistry,J=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +if(!J)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var kb=Object.prototype,K=JSON.stringify,lb=J.TaintRegistryObjects,L=J.TaintRegistryValues,mb=J.TaintRegistryByteLengths,nb=J.TaintRegistryPendingRequests,ob=J.ReactCurrentCache,pb=ib.ReactCurrentDispatcher;function M(a){throw Error(a);} +function qb(a){a=a.taintCleanupQueue;nb.delete(a);for(var b=0;b<a.length;b++){var d=a[b],c=L.get(d);void 0!==c&&(1===c.count?L.delete(d):c.count--)}a.length=0}function rb(a){console.error(a)}function sb(){} +function tb(a,b,d,c,e,f){if(null!==ob.current&&ob.current!==cb)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;ob.current=cb;var g=new Set,h=[],k=[];nb.add(k);var n=new Set,w={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:n,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===d?rb:d,onPostpone:void 0===f?sb:f,toJSON:function(u,H){return ub(w,this,u,H)}};w.pendingChunks++;b=vb(c);a=wb(w,a,b,g);h.push(a);return w}var N=null;function y(){if(N)return N;var a=wa.getStore();return a?a:null}var xb={}; +function yb(a,b){a.pendingChunks++;var d=wb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,zb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ga?(Ab(a,c.message),Bb(a,d.id)):(c=O(a,c),P(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= +e;zb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=O(a,e);P(a,d.id,e);null!==a.destination&&Q(a,a.destination)});return d.id}function z(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");Cb(a)}function Db(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function Eb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:Db}} +function R(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[B,b,d,e];Ua=0;F=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Eb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[B,b,d,e];switch(b.$$typeof){case C:var g= +b._init;b=g(b._payload);return R(a,b,d,c,e,f);case Aa:return a=b.render,Ua=0,F=f,a(e,void 0);case Da:return R(a,b.type,d,c,e,f);case ya:return Oa(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:xb}]}}throw Error("Unsupported Server Component type: "+gb(b));}function zb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return Fb(a)}))} +function wb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return zb(a,e)},thenableState:null};c.add(e);return e}function S(a){return"$"+a.toString(16)}function Gb(a,b,d){a=K(d);return b.toString(16)+":"+a+"\n"} +function Hb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):S(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var w=k.lastIndexOf("#");-1!==w&&(g=k.slice(w+1),n=h[k.slice(0,w)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, +g];a.pendingChunks++;var H=a.nextChunkId++,dc=K(u),ec=H.toString(16)+":I"+dc+"\n";a.completedImportChunks.push(ec);f.set(e,H);return b[0]===B&&"1"===d?"$L"+H.toString(16):S(H)}catch(fc){return a.pendingChunks++,b=a.nextChunkId++,d=O(a,fc),P(a,b,d),S(b)}}function T(a,b){a.pendingChunks++;b=wb(a,b,D,a.abortableTasks);Ib(a,b);return b.id} +function U(a,b,d){if(mb.has(d.byteLength)){var c=L.get(String.fromCharCode.apply(String,new Uint8Array(d.buffer,d.byteOffset,d.byteLength)));void 0!==c&&M(c.message)}a.pendingChunks+=2;c=a.nextChunkId++;d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);var e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,d);return S(c)}var V=!1; +function ub(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=T(a,c);return S(g)}if(V===c)V=null;else return S(f)}else e.set(c,-1);var h=c;c=R(a,h.type,h.key,h.ref,h.props,null);break;case C:var k=c._init;c=k(c._payload)}}catch(n){d=n===Pa?Ta():n;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=wb(a,c,D,a.abortableTasks), +c=a.ping,d.then(c,c),a.thenableState=Va(),"$L"+a.id.toString(16);if(d.$$typeof===Ga)return c=d,a.pendingChunks++,d=a.nextChunkId++,Ab(a,c.message),Bb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){e=lb.get(c);void 0!==e&&M(e);if(c.$$typeof===t)return Hb(a,b,d,c);b=a.writtenObjects;e=b.get(c);if("function"===typeof c.then){if(void 0!==e)if(V===c)V=null;else return"$@"+e.toString(16);a=yb(a,c); +b.set(c,a);return"$@"+a.toString(16)}if(c.$$typeof===ya)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=Gb(a,d,"$P"+c),a.completedRegularChunks.push(c)),S(d);if(c===xb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===Ea?a.context._defaultValue:c;D=a.parent;return}if(void 0!==e){if(-1===e)return a=T(a,c),S(a);if(V===c)V=null; +else return S(e)}else b.set(c,-1);if(db(c))return c;if(c instanceof Map){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d][0],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$Q"+T(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$W"+T(a,c).toString(16)}if(c instanceof ArrayBuffer)return U(a,"A",new Uint8Array(c));if(c instanceof Int8Array)return U(a, +"C",c);if(c instanceof Uint8Array)return U(a,"c",c);if(c instanceof Uint8ClampedArray)return U(a,"U",c);if(c instanceof Int16Array)return U(a,"S",c);if(c instanceof Uint16Array)return U(a,"s",c);if(c instanceof Int32Array)return U(a,"L",c);if(c instanceof Uint32Array)return U(a,"l",c);if(c instanceof Float32Array)return U(a,"F",c);if(c instanceof Float64Array)return U(a,"D",c);if(c instanceof BigInt64Array)return U(a,"N",c);if(c instanceof BigUint64Array)return U(a,"m",c);if(c instanceof DataView)return U(a, +"V",c);null===c||"object"!==typeof c?a=null:(a=Ha&&c[Ha]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=eb(c);if(a!==kb&&(null===a||null!==eb(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){e=L.get(c);void 0!==e&&M(e.message);if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+= +2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),S(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){e=lb.get(c);void 0!==e&&M(e);if(c.$$typeof===t)return Hb(a,b, +d,c);if(c.$$typeof===v)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=T(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+I(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+ +I(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return S(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+I(b,d));a.pendingChunks++;d=a.nextChunkId++;b=Gb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return S(d)}if("bigint"===typeof c)return a=L.get(c),void 0!==a&&M(a.message),"$n"+c.toString(10); +throw Error("Type "+typeof c+" is not supported in Client Component props."+I(b,d));}function Ab(a,b){a=a.onPostpone;a(b)}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""} +function Jb(a,b){qb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function Bb(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";a.completedErrorChunks.push(b)} +function Ib(a,b){if(0===b.status){Na(b.context);try{var d=b.model;if("object"===typeof d&&null!==d&&d.$$typeof===B){a.writtenObjects.set(d,b.id);var c=d,e=b.thenableState;b.model=d;d=R(a,c.type,c.key,c.ref,c.props,e);for(b.thenableState=null;"object"===typeof d&&null!==d&&d.$$typeof===B;)a.writtenObjects.set(d,b.id),c=d,b.model=d,d=R(a,c.type,c.key,c.ref,c.props,null)}"object"===typeof d&&null!==d&&a.writtenObjects.set(d,b.id);var f=b.id;V=d;var g=K(d,a.toJSON),h=f.toString(16)+":"+g+"\n";a.completedRegularChunks.push(h); +a.abortableTasks.delete(b);b.status=1}catch(k){f=k===Pa?Ta():k;if("object"===typeof f&&null!==f){if("function"===typeof f.then){a=b.ping;f.then(a,a);b.thenableState=Va();return}if(f.$$typeof===Ga){a.abortableTasks.delete(b);b.status=4;Ab(a,f.message);Bb(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;f=O(a,f);P(a,b.id,f)}}} +function Fb(a){var b=pb.current;pb.current=$a;var d=N;E=N=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Ib(a,c[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Jb(a,f)}finally{pb.current=b,E=null,N=d}} +function Q(a,b){l=new Uint8Array(2048);m=0;p=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!r(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!r(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!r(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!r(b,g[c])){a.destination= +null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,p=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(qb(a),b.end())}function Kb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,Fb,a)})}function Cb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}} +function Lb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(d){O(a,d),Jb(a,d)}}} +function Mb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=O(a,c);a.pendingChunks++;var f=a.nextChunkId++;P(a,f,e,c);d.forEach(function(g){g.status=3;var h=S(f);g=Gb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Jb(a,g)}} +function vb(a){if(a){var b=D;Na(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!jb[e]){var f={$$typeof:za,_currentValue:Ea,_currentValue2:Ea,_defaultValue:Ea,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ya,_context:f};jb[e]=f}Oa(jb[e],c)}a=D;Na(b);return a}return null} +function Nb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Ob=new Map; +function Pb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Qb(){} +function Rb(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++];b[c++];var f=Ob.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=Ob.set.bind(Ob,e,null);f.then(g,Qb);Ob.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Pb(a[0]):Promise.all(d).then(function(){return Pb(a[0])}):0<d.length?Promise.all(d):null} +function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Sb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Sb.prototype=Object.create(Promise.prototype); +Sb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Tb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Ub(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Vb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Ub(d,b)}}function Wb(a,b,d,c,e,f){var g=Nb(a._bundlerConfig,b);a=Rb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Xb(c,e,f),Yb(c));return null}var X=null,Y=null; +function Tb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Zb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Vb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Sb("resolved_model",c,null,a):new Sb("pending",null,null,a),d.set(b,c));return c}function Xb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Ub(e,c.value))}}function Yb(a){return function(b){return Vb(a,b)}} +function $b(a,b){a=Z(a,b);"resolved_model"===a.status&&Tb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function ac(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=$b(a,c),Wb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=$b(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=$b(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Tb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Xb(c,b,d),Yb(c)),null;default:throw a.reason;}}return c} +function bc(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?ac(e,this,f,g):g}};return e} +function cc(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Tb(b),b.status){case "fulfilled":Ub(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Ub(a,b.reason)}}function gc(a){Zb(a,Error("Connection closed."))} +function hc(a,b,d){var c=Nb(a,b);a=Rb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function ic(a,b,d){a=bc(b,d,a);gc(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function jc(a,b){return function(){return Lb(b,a)}}function kc(a,b){return function(){a.destination=null;Mb(a,Error(b))}} +exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,ma)};exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=ic(a,b,e),c=hc(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=hc(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; +exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=ic(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=bc(b,"",a);gc(a);return Z(a,0)}; +exports.decodeReplyFromBusboy=function(a,b){var d=bc(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):cc(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var w=[];g.on("data",function(u){w.push(u)});g.on("end",function(){var u= +new Blob(w,{type:n});d._formData.append(f,u,k);c--;if(0===c){for(u=0;u<e.length;u+=2)cc(d,e[u],e[u+1]);e.length=0}})});a.on("finish",function(){gc(d)});a.on("error",function(f){Zb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; +exports.renderToPipeableStream=function(a,b,d){var c=tb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;Kb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Lb(c,f);f.on("drain",jc(f,c));f.on("error",kc(c,"The destination stream errored while writing data."));f.on("close",kc(c,"The destination stream closed early."));return f},abort:function(f){Mb(c,f)}}}; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js index 7a1f1b10113de..833e7b2bcec1a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js @@ -1256,6 +1256,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1274,7 +1276,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1290,7 +1292,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1617,6 +1619,20 @@ function getOrCreateServerContext(globalName) { return ContextRegistry[globalName]; } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); +} + +// Turns a TypedArray or ArrayBuffer into a string that can be used for comparison +// in a Map to see if the bytes are the same. +function binaryToComparableString(view) { + return String.fromCharCode.apply(String, new Uint8Array(view.buffer, view.byteOffset, view.byteLength)); +} + +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1624,8 +1640,37 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var TaintRegistryObjects = ReactSharedServerInternals.TaintRegistryObjects, + TaintRegistryValues = ReactSharedServerInternals.TaintRegistryValues, + TaintRegistryByteLengths = ReactSharedServerInternals.TaintRegistryByteLengths, + TaintRegistryPendingRequests = ReactSharedServerInternals.TaintRegistryPendingRequests, + ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; + +function throwTaintViolation(message) { + // eslint-disable-next-line react-internal/prod-error-codes + throw new Error(message); +} + +function cleanupTaintQueue(request) { + var cleanupQueue = request.taintCleanupQueue; + TaintRegistryPendingRequests.delete(cleanupQueue); + + for (var i = 0; i < cleanupQueue.length; i++) { + var entryValue = cleanupQueue[i]; + var entry = TaintRegistryValues.get(entryValue); + + if (entry !== undefined) { + if (entry.count === 1) { + TaintRegistryValues.delete(entryValue); + } else { + entry.count--; + } + } + } + + cleanupQueue.length = 0; +} function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1646,6 +1691,12 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + + { + TaintRegistryPendingRequests.add(cleanupQueue); + } + var hints = createHints(); var request = { status: OPEN, @@ -1667,8 +1718,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1926,28 +1979,31 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState case REACT_PROVIDER_TYPE: { - pushProvider(type._context, props.value); - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } + pushProvider(type._context, props.value); + + { + var extraKeys = Object.keys(props).filter(function (value) { + if (value === 'children' || value === 'value') { + return false; + } - return true; - }); + return true; + }); - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + if (extraKeys.length !== 0) { + error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); + } } - } - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; + return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. + { + value: props.value, + children: props.children, + __pop: POP + }]; + } // Fallthrough + } } } @@ -2095,10 +2151,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2131,16 +2186,60 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } function serializeTypedArray(request, tag, typedArray) { + { + if (TaintRegistryByteLengths.has(typedArray.byteLength)) { + // If we have had any tainted values of this length, we check + // to see if these bytes matches any entries in the registry. + var tainted = TaintRegistryValues.get(binaryToComparableString(typedArray)); + + if (tainted !== undefined) { + throwTaintViolation(tainted.message); + } + } + } + request.pendingChunks += 2; var bufferId = request.nextChunkId++; // TODO: Convert to little endian if that's not the server default. @@ -2164,6 +2263,7 @@ function escapeStringValue(value) { var insideContextProps = null; var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2214,7 +2314,30 @@ function resolveModelToJSON(request, parent, key, value) { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2275,35 +2398,94 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + { + var tainted = TaintRegistryObjects.get(value); + + if (tainted !== undefined) { + throwTaintViolation(tainted); + } + } + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); + } + + { + if (value.$$typeof === REACT_PROVIDER_TYPE) { + var providerKey = value._context._globalName; + var writtenProviders = request.writtenProviders; + var providerId = writtenProviders.get(key); + + if (providerId === undefined) { + request.pendingChunks++; + providerId = request.nextChunkId++; + writtenProviders.set(providerKey, providerId); + emitProviderChunk(request, providerId, providerKey); + } - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); + return serializeByValueID(providerId); + } else if (value === POP) { + popProvider(); + + { + insideContextProps = null; + isInsideContextValue = false; + } + + return undefined; } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2380,27 +2562,29 @@ function resolveModelToJSON(request, parent, key, value) { } } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2410,7 +2594,15 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + { + var _tainted = TaintRegistryValues.get(value); + + if (_tainted !== undefined) { + throwTaintViolation(_tainted.message); + } + } // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2444,6 +2636,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + { + var _tainted2 = TaintRegistryObjects.get(value); + + if (_tainted2 !== undefined) { + throwTaintViolation(_tainted2); + } + } + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2461,10 +2661,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2483,6 +2684,14 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + { + var _tainted3 = TaintRegistryValues.get(value); + + if (_tainted3 !== undefined) { + throwTaintViolation(_tainted3.message); + } + } + return serializeBigInt(value); } @@ -2507,7 +2716,11 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + { + cleanupTaintQueue(request); + } // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2602,7 +2815,11 @@ function emitProviderChunk(request, id, contextName) { } function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2621,7 +2838,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2638,11 +2856,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2805,6 +3029,10 @@ function flushCompletedChunks(request, destination) { if (request.pendingChunks === 0) { // We're done. + { + cleanupTaintQueue(request); + } + close$1(destination); } } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js index 7b19de7737676..380f134e49ade 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js @@ -7,10 +7,10 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,r=!0;function t(a,b){a=a.write(b);r=r&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,b)):(d=l.length-m,d<b.byteLength&& -(0===d?t(a,l):(l.set(b.subarray(0,d),m),m+=d,t(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)));return r}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; -function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);a.$$typeof=w;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,p=!0;function q(a,b){a=a.write(b);p=p&&a} +function r(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,b)):(d=l.length-m,d<b.byteLength&& +(0===d?q(a,l):(l.set(b.subarray(0,d),m),m+=d,q(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)));return p}var ea=new aa.TextEncoder,t=Symbol.for("react.client.reference"),v=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; +function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===v){var b=ha.call(arguments,1);a.$$typeof=v;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ja=Promise.prototype,ka={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ (String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}}; function la(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=x(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); @@ -21,60 +21,65 @@ function na(a){if("string"===typeof a&&a){var b=y();if(b){var d=b.hints,c="D|"+a function pa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function qa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} function ra(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?z(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?z(c,"S",[a,b]):z(c,"S",a)}}}function sa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"X",[a,b]):z(d,"X",a)}}}function ta(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"M",[a,b]):z(d,"M",a)}}} function A(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var va=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.provider"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),Ea=Symbol.for("react.memo_cache_sentinel"),Fa=Symbol.for("react.postpone"), -Ga=Symbol.iterator,F=null;function G(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");G(a,d);b.context._currentValue=b.value}}}function Ha(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ha(a)} -function Ia(a){var b=a.parent;null!==b&&Ia(b);a.context._currentValue=a.value}function Ja(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?G(a,b):Ja(a,b)} -function Ka(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?G(a,d):Ka(a,d);b.context._currentValue=b.value}function La(a){var b=F;b!==a&&(null===b?Ia(a):null===a?Ha(b):b.depth===a.depth?G(b,a):b.depth>a.depth?Ja(b,a):Ka(b,a),F=a)}function Ma(a,b){var d=a._currentValue;a._currentValue=b;var c=F;return F=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Na=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Oa(){}function Pa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Oa,Oa),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}I=b;throw Na;}}var I=null; -function Qa(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}var J=null,K=0,L=null;function Ra(){var a=L;L=null;return a}function Sa(a){return a._currentValue} -var Wa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:M,useTransition:M,readContext:Sa,useContext:Sa,useReducer:M,useRef:M,useState:M,useInsertionEffect:M,useLayoutEffect:M,useImperativeHandle:M,useEffect:M,useId:Ta,useSyncExternalStore:M,useCacheRefresh:function(){return Ua},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Va}; -function M(){throw Error("This Hook is not supported in Server Components.");}function Ua(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ta(){if(null===J)throw Error("useId can only be used while React is rendering");var a=J.identifierCount++;return":"+J.identifierPrefix+"S"+a.toString(32)+":"} -function Va(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===L&&(L=[]);return Pa(L,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Xa(){return(new AbortController).signal}function Ya(){var a=y();return a?a.cache:new Map} -var Za={getCacheSignal:function(){var a=Ya(),b=a.get(Xa);void 0===b&&(b=Xa(),a.set(Xa,b));return b},getCacheForType:function(a){var b=Ya(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},$a=Array.isArray;function ab(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function bb(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if($a(a))return"[...]";a=ab(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function cb(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return cb(a.render);case Da:return cb(a.type);case C:var b=a._payload;a=a._init;try{return cb(a(b))}catch(d){}}return""} -function N(a,b){var d=ab(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if($a(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):bb(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+cb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -bb(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var db=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,eb=db.ContextRegistry,O=JSON.stringify,fb=db.ReactCurrentDispatcher,gb=db.ReactCurrentCache;function hb(a){console.error(a)}function ib(){} -function jb(a,b,d,c,e,f){if(null!==gb.current&&gb.current!==Za)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;gb.current=Za;var g=new Set,h=[],k=new Set,n={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?hb:d,onPostpone:void 0===f?ib:f,toJSON:function(p,q){return kb(n,this,p,q)}};n.pendingChunks++;b=lb(c);a=mb(n,a,b,g);h.push(a);return n}var P=null;function y(){if(P)return P;var a=wa.getStore();return a?a:null}var nb={}; -function ob(a,b){a.pendingChunks++;var d=mb(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,pb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Fa?(qb(a,c.message),rb(a,d.id)):(c=Q(a,c),R(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= -e;pb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=Q(a,e);R(a,d.id,e);null!==a.destination&&S(a,a.destination)});return d.id}function z(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");sb(a)}function tb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function ub(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:tb}} -function T(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[B,b,d,e];K=0;L=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:ub(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[B,b,d,e];switch(b.$$typeof){case C:var g= -b._init;b=g(b._payload);return T(a,b,d,c,e,f);case Aa:return a=b.render,K=0,L=f,a(e,void 0);case Da:return T(a,b.type,d,c,e,f);case ya:return Ma(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:nb}]}}throw Error("Unsupported Server Component type: "+bb(b));}function pb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return vb(a)}))} -function mb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return pb(a,e)},thenableState:null};c.add(e);return e}function U(a){return"$"+a.toString(16)}function wb(a,b,d){a=O(d);return b.toString(16)+":"+a+"\n"} -function xb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):U(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var p=k.lastIndexOf("#");-1!==p&&(g=k.slice(p+1),n=h[k.slice(0,p)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var q=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, -g];a.pendingChunks++;var H=a.nextChunkId++,D=O(q),Ub=H.toString(16)+":I"+D+"\n";a.completedImportChunks.push(Ub);f.set(e,H);return b[0]===B&&"1"===d?"$L"+H.toString(16):U(H)}catch(Vb){return a.pendingChunks++,b=a.nextChunkId++,d=Q(a,Vb),R(a,b,d),U(b)}}function yb(a,b){a.pendingChunks++;var d=a.nextChunkId++;zb(a,d,b);return d} -function V(a,b,d){a.pendingChunks+=2;var c=a.nextChunkId++;d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);var e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,d);return U(c)} -function kb(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=c;c=T(a,e.type,e.key,e.ref,e.props,null);break;case C:var f=c._init;c=f(c._payload)}}catch(g){d=g===Na?Qa():g;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=mb(a,c,F,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Ra(),"$L"+a.id.toString(16);if(d.$$typeof===Fa)return c=d,a.pendingChunks++,d=a.nextChunkId++, -qb(a,c.message),rb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=Q(a,d);R(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===v)return xb(a,b,d,c);if("function"===typeof c.then)return"$@"+ob(a,c).toString(16);if(c.$$typeof===ya)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=wb(a,d,"$P"+c),a.completedRegularChunks.push(c)),U(d);if(c===nb){a=F;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); -c=a.parentValue;a.context._currentValue=c===E?a.context._defaultValue:c;F=a.parent;return}return c instanceof Map?"$Q"+yb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+yb(a,Array.from(c)).toString(16):c instanceof ArrayBuffer?V(a,"A",new Uint8Array(c)):c instanceof Int8Array?V(a,"C",c):c instanceof Uint8Array?V(a,"c",c):c instanceof Uint8ClampedArray?V(a,"U",c):c instanceof Int16Array?V(a,"S",c):c instanceof Uint16Array?V(a,"s",c):c instanceof Int32Array?V(a,"L",c):c instanceof Uint32Array? -V(a,"l",c):c instanceof Float32Array?V(a,"F",c):c instanceof Float64Array?V(a,"D",c):c instanceof BigInt64Array?V(a,"N",c):c instanceof BigUint64Array?V(a,"m",c):c instanceof DataView?V(a,"V",c):!$a(c)&&(null===c||"object"!==typeof c?a=null:(a=Ga&&c[Ga]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c, -"utf8"):c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),U(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===v)return xb(a,b,d,c);if(c.$$typeof===w)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16): -(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=yb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!== -f)return U(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=wb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return U(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function qb(a,b){a=a.onPostpone;a(b)}function Q(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function Ab(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function rb(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function R(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";a.completedErrorChunks.push(b)}function zb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";a.completedRegularChunks.push(b)} -function vb(a){var b=fb.current;fb.current=Wa;var d=P;J=P=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];a:{var g=a;if(0===f.status){La(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===B){var k=h,n=f.thenableState;f.model=h;h=T(g,k.type,k.key,k.ref,k.props,n);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===B;)k=h,f.model=h,h=T(g,k.type,k.key,k.ref,k.props,null)}zb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(D){var p= -D===Na?Qa():D;if("object"===typeof p&&null!==p)if("function"===typeof p.then){var q=f.ping;p.then(q,q);f.thenableState=Ra();break a}else if(p.$$typeof===Fa){g.abortableTasks.delete(f);f.status=4;qb(g,p.message);rb(g,f.id);break a}g.abortableTasks.delete(f);f.status=4;var H=Q(g,p);R(g,f.id,H)}}}}null!==a.destination&&S(a,a.destination)}catch(D){Q(a,D),Ab(a,D)}finally{fb.current=b,J=null,P=d}} -function S(a,b){l=new Uint8Array(2048);m=0;r=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!u(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!u(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!u(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!u(b,g[c])){a.destination= -null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,r=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function Bb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,vb,a)})}function sb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return S(a,b)})}} -function Cb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{S(a,b)}catch(d){Q(a,d),Ab(a,d)}}} -function Db(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=Q(a,c);a.pendingChunks++;var f=a.nextChunkId++;R(a,f,e,c);d.forEach(function(g){g.status=3;var h=U(f);g=wb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&S(a,a.destination)}catch(g){Q(a,g),Ab(a,g)}} -function lb(a){if(a){var b=F;La(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!eb[e]){var f={$$typeof:za,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ya,_context:f};eb[e]=f}Ma(eb[e],c)}a=F;La(b);return a}return null}function Eb(a,b){var d=b.lastIndexOf("#");a=b.slice(0,d);b=b.slice(d+1);return{specifier:a,name:b}}var Fb=new Map; -function Gb(a){var b=Fb.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});Fb.set(a.specifier,d);return d}function W(a){var b=Fb.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]} -function Hb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Hb.prototype=Object.create(Promise.prototype);Hb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Ib(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function Jb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Kb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Jb(d,b)}}function Lb(a,b,d,c,e,f){var g=Eb(a._bundlerConfig,b);a=Gb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Mb(c,e,f),Nb(c));return null}var X=null,Y=null; -function Ib(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Ob(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Kb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Hb("resolved_model",c,null,a):new Hb("pending",null,null,a),d.set(b,c));return c}function Mb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Jb(e,c.value))}}function Nb(a){return function(b){return Kb(a,b)}} -function Pb(a,b){a=Z(a,b);"resolved_model"===a.status&&Ib(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Qb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Pb(a,c),Lb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Pb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Pb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Ib(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Mb(c,b,d),Nb(c)),null;default:throw a.reason;}}return c} -function Rb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Qb(e,this,f,g):g}};return e} -function Sb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Ib(b),b.status){case "fulfilled":Jb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Jb(a,b.reason)}}function Tb(a){Ob(a,Error("Connection closed."))} -function Wb(a,b,d){var c=Eb(a,b);a=Gb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Xb(a,b,d){a=Rb(b,d,a);Tb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Yb(a,b){return function(){return Cb(b,a)}}function Zb(a,b){return function(){a.destination=null;Db(a,Error(b))}} -exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,ma)};exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Xb(a,b,e),c=Wb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Wb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; -exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=Xb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Rb(b,"",a);Tb(a);return Z(a,0)}; -exports.decodeReplyFromBusboy=function(a,b){var d=Rb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Sb(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var p=[];g.on("data",function(q){p.push(q)});g.on("end",function(){var q= -new Blob(p,{type:n});d._formData.append(f,q,k);c--;if(0===c){for(q=0;q<e.length;q+=2)Sb(d,e[q],e[q+1]);e.length=0}})});a.on("finish",function(){Tb(d)});a.on("error",function(f){Ob(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; -exports.renderToPipeableStream=function(a,b,d){var c=jb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;Bb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Cb(c,f);f.on("drain",Yb(f,c));f.on("error",Zb(c,"The destination stream errored while writing data."));f.on("close",Zb(c,"The destination stream closed early."));return f},abort:function(f){Db(c,f)}}}; +var va=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.provider"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Ea=Symbol.for("react.default_value"),Fa=Symbol.for("react.memo_cache_sentinel"),Ga=Symbol.for("react.postpone"), +Ha=Symbol.iterator,D=null;function Ia(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");Ia(a,d);b.context._currentValue=b.value}}}function Ja(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ja(a)} +function Ka(a){var b=a.parent;null!==b&&Ka(b);a.context._currentValue=a.value}function La(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?Ia(a,b):La(a,b)} +function Ma(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?Ia(a,d):Ma(a,d);b.context._currentValue=b.value}function Na(a){var b=D;b!==a&&(null===b?Ka(a):null===a?Ja(b):b.depth===a.depth?Ia(b,a):b.depth>a.depth?La(b,a):Ma(b,a),D=a)}function Oa(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Pa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Qa(){}function Ra(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Qa,Qa),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Sa=b;throw Pa;}}var Sa=null; +function Ta(){if(null===Sa)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Sa;Sa=null;return a}var E=null,Ua=0,F=null;function Va(){var a=F;F=null;return a}function Wa(a){return a._currentValue} +var $a={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:G,useTransition:G,readContext:Wa,useContext:Wa,useReducer:G,useRef:G,useState:G,useInsertionEffect:G,useLayoutEffect:G,useImperativeHandle:G,useEffect:G,useId:Xa,useSyncExternalStore:G,useCacheRefresh:function(){return Ya},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Fa;return b},use:Za}; +function G(){throw Error("This Hook is not supported in Server Components.");}function Ya(){throw Error("Refreshing the cache is not supported in Server Components.");}function Xa(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Za(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ua;Ua+=1;null===F&&(F=[]);return Ra(F,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function ab(){return(new AbortController).signal}function bb(){var a=y();return a?a.cache:new Map} +var cb={getCacheSignal:function(){var a=bb(),b=a.get(ab);void 0===b&&(b=ab(),a.set(ab,b));return b},getCacheForType:function(a){var b=bb(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},db=Array.isArray,eb=Object.getPrototypeOf;function fb(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function gb(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(db(a))return"[...]";a=fb(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function hb(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return hb(a.render);case Da:return hb(a.type);case C:var b=a._payload;a=a._init;try{return hb(a(b))}catch(d){}}return""} +function I(a,b){var d=fb(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(db(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?I(g):gb(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+hb(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?I(k): +gb(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var ib=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,jb=ib.ContextRegistry,J=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +if(!J)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var kb=Object.prototype,K=JSON.stringify,lb=J.TaintRegistryObjects,L=J.TaintRegistryValues,mb=J.TaintRegistryByteLengths,nb=J.TaintRegistryPendingRequests,ob=J.ReactCurrentCache,pb=ib.ReactCurrentDispatcher;function M(a){throw Error(a);} +function qb(a){a=a.taintCleanupQueue;nb.delete(a);for(var b=0;b<a.length;b++){var d=a[b],c=L.get(d);void 0!==c&&(1===c.count?L.delete(d):c.count--)}a.length=0}function rb(a){console.error(a)}function sb(){} +function tb(a,b,d,c,e,f){if(null!==ob.current&&ob.current!==cb)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;ob.current=cb;var g=new Set,h=[],k=[];nb.add(k);var n=new Set,w={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:n,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===d?rb:d,onPostpone:void 0===f?sb:f,toJSON:function(u,H){return ub(w,this,u,H)}};w.pendingChunks++;b=vb(c);a=wb(w,a,b,g);h.push(a);return w}var N=null;function y(){if(N)return N;var a=wa.getStore();return a?a:null}var xb={}; +function yb(a,b){a.pendingChunks++;var d=wb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,zb(a,d),d.id;case "rejected":var c=b.reason;"object"===typeof c&&null!==c&&c.$$typeof===Ga?(Ab(a,c.message),Bb(a,d.id)):(c=O(a,c),P(a,d.id,c));return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model= +e;zb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=O(a,e);P(a,d.id,e);null!==a.destination&&Q(a,a.destination)});return d.id}function z(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");Cb(a)}function Db(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function Eb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:Db}} +function R(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[B,b,d,e];Ua=0;F=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Eb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[B,b,d,e];switch(b.$$typeof){case C:var g= +b._init;b=g(b._payload);return R(a,b,d,c,e,f);case Aa:return a=b.render,Ua=0,F=f,a(e,void 0);case Da:return R(a,b.type,d,c,e,f);case ya:return Oa(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:xb}]}}throw Error("Unsupported Server Component type: "+gb(b));}function zb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return Fb(a)}))} +function wb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return zb(a,e)},thenableState:null};c.add(e);return e}function S(a){return"$"+a.toString(16)}function Gb(a,b,d){a=K(d);return b.toString(16)+":"+a+"\n"} +function Hb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):S(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var w=k.lastIndexOf("#");-1!==w&&(g=k.slice(w+1),n=h[k.slice(0,w)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, +g];a.pendingChunks++;var H=a.nextChunkId++,cc=K(u),dc=H.toString(16)+":I"+cc+"\n";a.completedImportChunks.push(dc);f.set(e,H);return b[0]===B&&"1"===d?"$L"+H.toString(16):S(H)}catch(ec){return a.pendingChunks++,b=a.nextChunkId++,d=O(a,ec),P(a,b,d),S(b)}}function T(a,b){a.pendingChunks++;b=wb(a,b,D,a.abortableTasks);Ib(a,b);return b.id} +function U(a,b,d){if(mb.has(d.byteLength)){var c=L.get(String.fromCharCode.apply(String,new Uint8Array(d.buffer,d.byteOffset,d.byteLength)));void 0!==c&&M(c.message)}a.pendingChunks+=2;c=a.nextChunkId++;d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength);var e=d.byteLength;b=c.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,d);return S(c)}var V=!1; +function ub(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=T(a,c);return S(g)}if(V===c)V=null;else return S(f)}else e.set(c,-1);var h=c;c=R(a,h.type,h.key,h.ref,h.props,null);break;case C:var k=c._init;c=k(c._payload)}}catch(n){d=n===Pa?Ta():n;if("object"===typeof d&&null!==d){if("function"===typeof d.then)return a.pendingChunks++,a=wb(a,c,D,a.abortableTasks), +c=a.ping,d.then(c,c),a.thenableState=Va(),"$L"+a.id.toString(16);if(d.$$typeof===Ga)return c=d,a.pendingChunks++,d=a.nextChunkId++,Ab(a,c.message),Bb(a,d),"$L"+d.toString(16)}a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){e=lb.get(c);void 0!==e&&M(e);if(c.$$typeof===t)return Hb(a,b,d,c);b=a.writtenObjects;e=b.get(c);if("function"===typeof c.then){if(void 0!==e)if(V===c)V=null;else return"$@"+e.toString(16);a=yb(a,c); +b.set(c,a);return"$@"+a.toString(16)}if(c.$$typeof===ya)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=Gb(a,d,"$P"+c),a.completedRegularChunks.push(c)),S(d);if(c===xb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===Ea?a.context._defaultValue:c;D=a.parent;return}if(void 0!==e){if(-1===e)return a=T(a,c),S(a);if(V===c)V=null; +else return S(e)}else b.set(c,-1);if(db(c))return c;if(c instanceof Map){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d][0],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$Q"+T(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(d=0;d<c.length;d++)b=c[d],"object"===typeof b&&null!==b&&(e=a.writtenObjects,void 0===e.get(b)&&e.set(b,-1));return"$W"+T(a,c).toString(16)}if(c instanceof ArrayBuffer)return U(a,"A",new Uint8Array(c));if(c instanceof Int8Array)return U(a, +"C",c);if(c instanceof Uint8Array)return U(a,"c",c);if(c instanceof Uint8ClampedArray)return U(a,"U",c);if(c instanceof Int16Array)return U(a,"S",c);if(c instanceof Uint16Array)return U(a,"s",c);if(c instanceof Int32Array)return U(a,"L",c);if(c instanceof Uint32Array)return U(a,"l",c);if(c instanceof Float32Array)return U(a,"F",c);if(c instanceof Float64Array)return U(a,"D",c);if(c instanceof BigInt64Array)return U(a,"N",c);if(c instanceof BigUint64Array)return U(a,"m",c);if(c instanceof DataView)return U(a, +"V",c);null===c||"object"!==typeof c?a=null:(a=Ha&&c[Ha]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=eb(c);if(a!==kb&&(null===a||null!==eb(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){e=L.get(c);void 0!==e&&M(e.message);if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+= +2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,b=d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),S(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){e=lb.get(c);void 0!==e&&M(e);if(c.$$typeof===t)return Hb(a,b, +d,c);if(c.$$typeof===v)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b?Promise.resolve(b):null},a=T(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+I(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+ +I(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return S(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+I(b,d));a.pendingChunks++;d=a.nextChunkId++;b=Gb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return S(d)}if("bigint"===typeof c)return a=L.get(c),void 0!==a&&M(a.message),"$n"+c.toString(10); +throw Error("Type "+typeof c+" is not supported in Client Component props."+I(b,d));}function Ab(a,b){a=a.onPostpone;a(b)}function O(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""} +function Jb(a,b){qb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function Bb(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";a.completedErrorChunks.push(b)} +function Ib(a,b){if(0===b.status){Na(b.context);try{var d=b.model;if("object"===typeof d&&null!==d&&d.$$typeof===B){a.writtenObjects.set(d,b.id);var c=d,e=b.thenableState;b.model=d;d=R(a,c.type,c.key,c.ref,c.props,e);for(b.thenableState=null;"object"===typeof d&&null!==d&&d.$$typeof===B;)a.writtenObjects.set(d,b.id),c=d,b.model=d,d=R(a,c.type,c.key,c.ref,c.props,null)}"object"===typeof d&&null!==d&&a.writtenObjects.set(d,b.id);var f=b.id;V=d;var g=K(d,a.toJSON),h=f.toString(16)+":"+g+"\n";a.completedRegularChunks.push(h); +a.abortableTasks.delete(b);b.status=1}catch(k){f=k===Pa?Ta():k;if("object"===typeof f&&null!==f){if("function"===typeof f.then){a=b.ping;f.then(a,a);b.thenableState=Va();return}if(f.$$typeof===Ga){a.abortableTasks.delete(b);b.status=4;Ab(a,f.message);Bb(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;f=O(a,f);P(a,b.id,f)}}} +function Fb(a){var b=pb.current;pb.current=$a;var d=N;E=N=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)Ib(a,c[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Jb(a,f)}finally{pb.current=b,E=null,N=d}} +function Q(a,b){l=new Uint8Array(2048);m=0;p=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!r(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!r(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!r(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!r(b,g[c])){a.destination= +null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,p=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(qb(a),b.end())}function Kb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,Fb,a)})}function Cb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}} +function Lb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(d){O(a,d),Jb(a,d)}}} +function Mb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=O(a,c);a.pendingChunks++;var f=a.nextChunkId++;P(a,f,e,c);d.forEach(function(g){g.status=3;var h=S(f);g=Gb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Jb(a,g)}} +function vb(a){if(a){var b=D;Na(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!jb[e]){var f={$$typeof:za,_currentValue:Ea,_currentValue2:Ea,_defaultValue:Ea,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ya,_context:f};jb[e]=f}Oa(jb[e],c)}a=D;Na(b);return a}return null}function Nb(a,b){var d=b.lastIndexOf("#");a=b.slice(0,d);b=b.slice(d+1);return{specifier:a,name:b}}var Ob=new Map; +function Pb(a){var b=Ob.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});Ob.set(a.specifier,d);return d}function W(a){var b=Ob.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]} +function Qb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Qb.prototype=Object.create(Promise.prototype);Qb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Rb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function Sb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Tb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Sb(d,b)}}function Ub(a,b,d,c,e,f){var g=Nb(a._bundlerConfig,b);a=Pb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Vb(c,e,f),Wb(c));return null}var X=null,Y=null; +function Rb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Xb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Tb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Qb("resolved_model",c,null,a):new Qb("pending",null,null,a),d.set(b,c));return c}function Vb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Sb(e,c.value))}}function Wb(a){return function(b){return Tb(a,b)}} +function Yb(a,b){a=Z(a,b);"resolved_model"===a.status&&Rb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Zb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Yb(a,c),Ub(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Yb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Yb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Rb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Vb(c,b,d),Wb(c)),null;default:throw a.reason;}}return c} +function $b(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Zb(e,this,f,g):g}};return e} +function ac(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Rb(b),b.status){case "fulfilled":Sb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Sb(a,b.reason)}}function bc(a){Xb(a,Error("Connection closed."))} +function fc(a,b,d){var c=Nb(a,b);a=Pb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function gc(a,b,d){a=$b(b,d,a);bc(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function hc(a,b){return function(){return Lb(b,a)}}function ic(a,b){return function(){a.destination=null;Mb(a,Error(b))}} +exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,ma)};exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=gc(a,b,e),c=fc(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=fc(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; +exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=gc(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=$b(b,"",a);bc(a);return Z(a,0)}; +exports.decodeReplyFromBusboy=function(a,b){var d=$b(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):ac(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var w=[];g.on("data",function(u){w.push(u)});g.on("end",function(){var u= +new Blob(w,{type:n});d._formData.append(f,u,k);c--;if(0===c){for(u=0;u<e.length;u+=2)ac(d,e[u],e[u+1]);e.length=0}})});a.on("finish",function(){bc(d)});a.on("error",function(f){Xb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; +exports.renderToPipeableStream=function(a,b,d){var c=tb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;Kb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Lb(c,f);f.on("drain",hc(f,c));f.on("error",ic(c,"The destination stream errored while writing data."));f.on("close",ic(c,"The destination stream closed early."));return f},abort:function(f){Mb(c,f)}}}; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json index 9c46829cf70ff..5cb6751348b10 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json @@ -47,8 +47,8 @@ "loose-envify": "^1.1.0" }, "peerDependencies": { - "react": "0.0.0-experimental-d900fadbf-20230929", - "react-dom": "0.0.0-experimental-d900fadbf-20230929", + "react": "0.0.0-experimental-d803f519e-20231020", + "react-dom": "0.0.0-experimental-d803f519e-20231020", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js index cfbdd833675f2..6325249a9c09e 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js @@ -401,6 +401,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -419,7 +421,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -435,7 +437,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -711,6 +713,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -839,6 +842,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -885,33 +893,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1082,6 +1092,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1119,6 +1130,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1163,6 +1175,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1206,6 +1219,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1298,9 +1312,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1311,9 +1333,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1414,15 +1441,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1643,9 +1673,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.min.js index 62c5d3591ef8a..7b0d87fe7f746 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.min.js @@ -9,28 +9,29 @@ */ 'use strict';var r=require("react-dom"),t=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map; function x(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function z(a){for(var b=a[1],c=[],d=0;d<b.length;){var k=b[d++],n=b[d++],l=w.get(k);void 0===l?(A.set(k,n),n=__webpack_chunk_load__(k),c.push(n),l=w.set.bind(w,k,null),n.then(l,y),w.set(k,n)):null!==l&&c.push(l)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null}var A=new Map,B=__webpack_require__.u;__webpack_require__.u=function(a){var b=A.get(a);return void 0!==b?b:B(a)}; -var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,E=Symbol.for("react.element"),aa=Symbol.for("react.provider"),ba=Symbol.for("react.server_context"),ca=Symbol.for("react.lazy"),F=Symbol.for("react.default_value"),G=Symbol.iterator;function da(a){if(null===a||"object"!==typeof a)return null;a=G&&a[G]||a["@@iterator"];return"function"===typeof a?a:null}var ea=Array.isArray,I=new WeakMap; -function fa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ha(a,b,c,d){function k(m,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===g&&(g=new FormData);l++;var h=n++;e.then(function(p){p=JSON.stringify(p,k);var q=g;q.append(b+h,p);l--;0===l&&c(q)},function(p){d(p)});return"$@"+h.toString(16)}if(e instanceof FormData){null===g&&(g=new FormData);var f=g;m=n++;var D=b+m+"_";e.forEach(function(p,q){f.append(D+q,p)});return"$K"+m.toString(16)}return e instanceof Map?(e=JSON.stringify(Array.from(e),k),null===g&& -(g=new FormData),m=n++,g.append(b+m,e),"$Q"+m.toString(16)):e instanceof Set?(e=JSON.stringify(Array.from(e),k),null===g&&(g=new FormData),m=n++,g.append(b+m,e),"$W"+m.toString(16)):!ea(e)&&da(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[m]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return fa(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=I.get(e);if(void 0!==e)return e=JSON.stringify(e, -k),null===g&&(g=new FormData),m=n++,g.set(b+m,e),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){m=e.description;if(Symbol.for(m)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof e)return"$n"+ -e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var n=1,l=0,g=null;a=JSON.stringify(a,k);null===g?c(a):(g.set(b+"0",a),0===l&&c(g))}function J(a,b){I.set(a,b)}var K=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function L(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}L.prototype=Object.create(Promise.prototype); -L.prototype.then=function(a,b){switch(this.status){case "resolved_model":M(this);break;case "resolved_module":N(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function ia(a){switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function O(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function P(a,b,c){switch(a.status){case "fulfilled":O(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&O(c,a.reason)}} -function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&O(c,b)}}function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(N(a),P(a,c,d))}}var T=null,U=null; -function M(a){var b=T,c=U;T=a;U=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==U&&0<U.deps?(U.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(k){a.status="rejected",a.reason=k}finally{T=b,U=c}} -function N(a){try{var b=a.value,c=__webpack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(k){a.status="rejected",a.reason=k}}function V(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Q(c,b)})}function W(a,b){var c=a._chunks,d=c.get(b);d||(d=new L("pending",null,null,a),c.set(b,d));return d} -function ja(a,b,c){if(U){var d=U;d.deps++}else d=U={deps:1,value:null};return function(k){b[c]=k;d.deps--;0===d.deps&&"blocked"===a.status&&(k=a.value,a.status="fulfilled",a.value=d.value,null!==k&&O(k,d.value))}}function ka(a){return function(b){return Q(a,b)}} -function la(a,b){function c(){var k=Array.prototype.slice.call(arguments),n=b.bound;return n?"fulfilled"===n.status?d(b.id,n.value.concat(k)):Promise.resolve(n).then(function(l){return d(b.id,l.concat(k))}):d(b.id,k)}var d=a._callServer;J(c,b);return c}function X(a,b){a=W(a,b);switch(a.status){case "resolved_model":M(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ma(a,b,c,d){if("$"===d[0]){if("$"===d)return E;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=W(a,b),{$$typeof:ca,_payload:a,_init:ia};case "@":return b=parseInt(d.slice(2),16),W(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),K[a]||(b={$$typeof:ba,_currentValue:F,_currentValue2:F,_defaultValue:F,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:aa,_context:b},K[a]=b),K[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=X(a,b),la(a,b);case "Q":return b=parseInt(d.slice(2),16),a=X(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=X(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=W(a,d);switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=T,a.then(ja(d,b,c),ka(d)),null;default:throw a.reason;}}}return d}function na(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function Y(a,b,c,d){var k=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:na,_nonce:d,_chunks:k,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=oa(a);return a} -function pa(a,b,c){var d=a._chunks,k=d.get(b);c=JSON.parse(c,a._fromJSON);var n=v(a._bundlerConfig,c);if(c=z(n)){if(k){var l=k;l.status="blocked"}else l=new L("blocked",null,null,a),d.set(b,l);c.then(function(){return S(l,n)},function(g){return Q(l,g)})}else k?S(k,n):d.set(b,new L("resolved_module",n,null,a))} -function oa(a){return function(b,c){return"string"===typeof c?ma(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===E?{$$typeof:E,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}} -function Z(a,b){function c(n){var l=n.value;if(n.done)V(a,Error("Connection closed."));else{var g=0,m=a._rowState,e=a._rowID,h=a._rowTag,f=a._rowLength;n=a._buffer;for(var D=l.length;g<D;){var p=-1;switch(m){case 0:p=l[g++];58===p?m=1:e=e<<4|(96<p?p-87:p-48);continue;case 1:m=l[g];84===m?(h=m,m=2,g++):64<m&&91>m?(h=m,m=3,g++):(h=0,m=3);continue;case 2:p=l[g++];44===p?m=4:f=f<<4|(96<p?p-87:p-48);continue;case 3:p=l.indexOf(10,g);break;case 4:p=g+f,p>l.length&&(p=-1)}var q=l.byteOffset+g;if(-1<p){g= -new Uint8Array(l.buffer,q,p-g);f=a;q=h;var R=f._stringDecoder;h="";for(var H=0;H<n.length;H++)h+=R.decode(n[H],u);h+=R.decode(g);switch(q){case 73:pa(f,e,h);break;case 72:e=h[0];h=h.slice(1);f=JSON.parse(h,f._fromJSON);if(h=C.current)switch(e){case "D":h.prefetchDNS(f);break;case "C":"string"===typeof f?h.preconnect(f):h.preconnect(f[0],f[1]);break;case "L":e=f[0];g=f[1];3===f.length?h.preload(e,g,f[2]):h.preload(e,g);break;case "m":"string"===typeof f?h.preloadModule(f):h.preloadModule(f[0],f[1]); +function z(a){for(var b=a[1],c=[],e=0;e<b.length;){var l=b[e++],k=b[e++],n=w.get(l);void 0===n?(A.set(l,k),k=__webpack_chunk_load__(l),c.push(k),n=w.set.bind(w,l,null),k.then(n,y),w.set(l,k)):null!==n&&c.push(n)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null}var A=new Map,B=__webpack_require__.u;__webpack_require__.u=function(a){var b=A.get(a);return void 0!==b?b:B(a)}; +var aa=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,C=Symbol.for("react.element"),ba=Symbol.for("react.provider"),ca=Symbol.for("react.server_context"),da=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),F=Symbol.iterator;function ea(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var fa=Array.isArray,G=Object.getPrototypeOf,ha=Object.prototype,I=new WeakMap; +function ia(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ja(a,b,c,e){function l(m,d){if(null===d)return null;if("object"===typeof d){if("function"===typeof d.then){null===g&&(g=new FormData);n++;var h=k++;d.then(function(p){p=JSON.stringify(p,l);var q=g;q.append(b+h,p);n--;0===n&&c(q)},function(p){e(p)});return"$@"+h.toString(16)}if(fa(d))return d;if(d instanceof FormData){null===g&&(g=new FormData);var f=g;m=k++;var D=b+m+"_";d.forEach(function(p,q){f.append(D+q,p)});return"$K"+m.toString(16)}if(d instanceof Map)return d=JSON.stringify(Array.from(d), +l),null===g&&(g=new FormData),m=k++,g.append(b+m,d),"$Q"+m.toString(16);if(d instanceof Set)return d=JSON.stringify(Array.from(d),l),null===g&&(g=new FormData),m=k++,g.append(b+m,d),"$W"+m.toString(16);if(ea(d))return Array.from(d);m=G(d);if(m!==ha&&(null===m||null!==G(m)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return d}if("string"===typeof d){if("Z"===d[d.length-1]&&this[m]instanceof Date)return"$D"+d; +d="$"===d[0]?"$"+d:d;return d}if("boolean"===typeof d)return d;if("number"===typeof d)return ia(d);if("undefined"===typeof d)return"$undefined";if("function"===typeof d){d=I.get(d);if(void 0!==d)return d=JSON.stringify(d,l),null===g&&(g=new FormData),m=k++,g.set(b+m,d),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof d){m=d.description;if(Symbol.for(m)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(d.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof d)return"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported as an argument to a Server Function.");}var k=1,n=0,g=null;a=JSON.stringify(a,l);null===g?c(a):(g.set(b+"0",a),0===n&&c(g))}function J(a,b){I.set(a,b)}var K=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function L(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}L.prototype=Object.create(Promise.prototype); +L.prototype.then=function(a,b){switch(this.status){case "resolved_model":M(this);break;case "resolved_module":N(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function ka(a){switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function O(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function P(a,b,c){switch(a.status){case "fulfilled":O(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&O(c,a.reason)}} +function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&O(c,b)}}function R(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,e=a.reason;a.status="resolved_module";a.value=b;null!==c&&(N(a),P(a,c,e))}}var T=null,U=null; +function M(a){var b=T,c=U;T=a;U=null;var e=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var l=JSON.parse(e,a._response._fromJSON);if(null!==U&&0<U.deps)U.value=l,a.status="blocked",a.value=null,a.reason=null;else{var k=a.value;a.status="fulfilled";a.value=l;null!==k&&O(k,l)}}catch(n){a.status="rejected",a.reason=n}finally{T=b,U=c}} +function N(a){try{var b=a.value,c=__webpack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var e="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=e}catch(l){a.status="rejected",a.reason=l}}function V(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Q(c,b)})}function W(a,b){var c=a._chunks,e=c.get(b);e||(e=new L("pending",null,null,a),c.set(b,e));return e} +function la(a,b,c,e){if(U){var l=U;e||l.deps++}else l=U={deps:e?0:1,value:null};return function(k){b[c]=k;l.deps--;0===l.deps&&"blocked"===a.status&&(k=a.value,a.status="fulfilled",a.value=l.value,null!==k&&O(k,l.value))}}function ma(a){return function(b){return Q(a,b)}} +function na(a,b){function c(){var l=Array.prototype.slice.call(arguments),k=b.bound;return k?"fulfilled"===k.status?e(b.id,k.value.concat(l)):Promise.resolve(k).then(function(n){return e(b.id,n.concat(l))}):e(b.id,l)}var e=a._callServer;J(c,b);return c}function X(a,b){a=W(a,b);switch(a.status){case "resolved_model":M(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function oa(a,b,c,e){if("$"===e[0]){if("$"===e)return C;switch(e[1]){case "$":return e.slice(1);case "L":return b=parseInt(e.slice(2),16),a=W(a,b),{$$typeof:da,_payload:a,_init:ka};case "@":return b=parseInt(e.slice(2),16),W(a,b);case "S":return Symbol.for(e.slice(2));case "P":return a=e.slice(2),K[a]||(b={$$typeof:ca,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ba,_context:b},K[a]=b),K[a].Provider;case "F":return b= +parseInt(e.slice(2),16),b=X(a,b),na(a,b);case "Q":return b=parseInt(e.slice(2),16),a=X(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=X(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=W(a,e);switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return e=T,a.then(la(e,b,c,"cyclic"===a.status),ma(e)),null;default:throw a.reason;}}}return e}function pa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function Y(a,b,c,e){var l=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:pa,_nonce:e,_chunks:l,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=qa(a);return a} +function ra(a,b,c){var e=a._chunks,l=e.get(b);c=JSON.parse(c,a._fromJSON);var k=v(a._bundlerConfig,c);if(c=z(k)){if(l){var n=l;n.status="blocked"}else n=new L("blocked",null,null,a),e.set(b,n);c.then(function(){return R(n,k)},function(g){return Q(n,g)})}else l?R(l,k):e.set(b,new L("resolved_module",k,null,a))} +function qa(a){return function(b,c){return"string"===typeof c?oa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===C?{$$typeof:C,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}} +function Z(a,b){function c(k){var n=k.value;if(k.done)V(a,Error("Connection closed."));else{var g=0,m=a._rowState,d=a._rowID,h=a._rowTag,f=a._rowLength;k=a._buffer;for(var D=n.length;g<D;){var p=-1;switch(m){case 0:p=n[g++];58===p?m=1:d=d<<4|(96<p?p-87:p-48);continue;case 1:m=n[g];84===m?(h=m,m=2,g++):64<m&&91>m?(h=m,m=3,g++):(h=0,m=3);continue;case 2:p=n[g++];44===p?m=4:f=f<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,g);break;case 4:p=g+f,p>n.length&&(p=-1)}var q=n.byteOffset+g;if(-1<p){g= +new Uint8Array(n.buffer,q,p-g);f=a;q=h;var S=f._stringDecoder;h="";for(var H=0;H<k.length;H++)h+=S.decode(k[H],u);h+=S.decode(g);switch(q){case 73:ra(f,d,h);break;case 72:d=h[0];h=h.slice(1);f=JSON.parse(h,f._fromJSON);if(h=aa.current)switch(d){case "D":h.prefetchDNS(f);break;case "C":"string"===typeof f?h.preconnect(f):h.preconnect(f[0],f[1]);break;case "L":d=f[0];g=f[1];3===f.length?h.preload(d,g,f[2]):h.preload(d,g);break;case "m":"string"===typeof f?h.preloadModule(f):h.preloadModule(f[0],f[1]); break;case "S":"string"===typeof f?h.preinitStyle(f):h.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?h.preinitScript(f):h.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?h.preinitModuleScript(f):h.preinitModuleScript(f[0],f[1])}break;case 69:h=JSON.parse(h);g=h.digest;h=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -h.stack="Error: "+h.message;h.digest=g;g=f._chunks;(q=g.get(e))?Q(q,h):g.set(e,new L("rejected",null,h,f));break;case 84:f._chunks.set(e,new L("fulfilled",h,null,f));break;default:g=f._chunks,(q=g.get(e))?(f=q,e=h,"pending"===f.status&&(h=f.value,g=f.reason,f.status="resolved_model",f.value=e,null!==h&&(M(f),P(f,h,g)))):g.set(e,new L("resolved_model",h,null,f))}g=p;3===m&&g++;f=e=h=m=0;n.length=0}else{l=new Uint8Array(l.buffer,q,l.byteLength-g);n.push(l);f-=l.byteLength;break}}a._rowState=m;a._rowID= -e;a._rowTag=h;a._rowLength=f;return k.read().then(c).catch(d)}}function d(n){V(a,n)}var k=b.getReader();k.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=Y(null,null,b&&b.callServer?b.callServer:void 0,void 0);a.then(function(d){Z(c,d.body)},function(d){V(c,d)});return W(c,0)};exports.createFromReadableStream=function(a,b){b=Y(null,null,b&&b.callServer?b.callServer:void 0,void 0);Z(b,a);return W(b,0)}; -exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}J(c,{id:a,bound:null});return c};exports.encodeReply=function(a){return new Promise(function(b,c){ha(a,"",b,c)})}; +h.stack="Error: "+h.message;h.digest=g;g=f._chunks;(q=g.get(d))?Q(q,h):g.set(d,new L("rejected",null,h,f));break;case 84:f._chunks.set(d,new L("fulfilled",h,null,f));break;default:g=f._chunks,(q=g.get(d))?(f=q,d=h,"pending"===f.status&&(h=f.value,g=f.reason,f.status="resolved_model",f.value=d,null!==h&&(M(f),P(f,h,g)))):g.set(d,new L("resolved_model",h,null,f))}g=p;3===m&&g++;f=d=h=m=0;k.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-g);k.push(n);f-=n.byteLength;break}}a._rowState=m;a._rowID= +d;a._rowTag=h;a._rowLength=f;return l.read().then(c).catch(e)}}function e(k){V(a,k)}var l=b.getReader();l.read().then(c).catch(e)}exports.createFromFetch=function(a,b){var c=Y(null,null,b&&b.callServer?b.callServer:void 0,void 0);a.then(function(e){Z(c,e.body)},function(e){V(c,e)});return W(c,0)};exports.createFromReadableStream=function(a,b){b=Y(null,null,b&&b.callServer?b.callServer:void 0,void 0);Z(b,a);return W(b,0)}; +exports.createServerReference=function(a,b){function c(){var e=Array.prototype.slice.call(arguments);return b(a,e)}J(c,{id:a,bound:null});return c};exports.encodeReply=function(a){return new Promise(function(b,c){ja(a,"",b,c)})}; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js index 947227b404938..e7026625dd193 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js @@ -419,6 +419,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -437,7 +439,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -453,7 +455,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -729,6 +731,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -857,6 +860,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -903,33 +911,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1286,6 +1296,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1323,6 +1334,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1367,6 +1379,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1410,6 +1423,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1502,9 +1516,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1515,9 +1537,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1618,15 +1645,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1847,9 +1877,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; @@ -2260,8 +2291,17 @@ function createFromFetch(promiseForResponse, options) { return getRoot(response); } +function encodeReply(value) +/* We don't use URLSearchParams yet but maybe */ +{ + return new Promise(function (resolve, reject) { + processReply(value, '', resolve, reject); + }); +} + exports.createFromFetch = createFromFetch; exports.createFromReadableStream = createFromReadableStream; exports.createServerReference = createServerReference; +exports.encodeReply = encodeReply; })(); } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.min.js index a6888ccc1a658..cf884b0e0b155 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.min.js @@ -8,33 +8,34 @@ * LICENSE file in the root directory of this source tree. */ 'use strict';var r=require("react-dom"),t=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map; -function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){} -function z(a){for(var b=a[1],c=[],d=0;d<b.length;){var g=b[d++];b[d++];var l=w.get(g);if(void 0===l){l=__webpack_chunk_load__(g);c.push(l);var n=w.set.bind(w,g,null);l.then(n,y);w.set(g,l)}else null!==l&&c.push(l)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} -function aa(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var g=c,l=A.current;if(l){var n=l.preinitScript,h=a.prefix+b[d];var m=a.crossOrigin;m="string"===typeof m?"use-credentials"===m?m:"":void 0;n.call(l,h,{crossOrigin:m,nonce:g})}}}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),ba=Symbol.for("react.provider"),ca=Symbol.for("react.server_context"),da=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),D=Symbol.iterator; -function ea(a){if(null===a||"object"!==typeof a)return null;a=D&&a[D]||a["@@iterator"];return"function"===typeof a?a:null}var fa=Array.isArray,F=new WeakMap;function ha(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ia(a,b,c,d){function g(m,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===h&&(h=new FormData);n++;var k=l++;e.then(function(p){p=JSON.stringify(p,g);var q=h;q.append(b+k,p);n--;0===n&&c(q)},function(p){d(p)});return"$@"+k.toString(16)}if(e instanceof FormData){null===h&&(h=new FormData);var f=h;m=l++;var E=b+m+"_";e.forEach(function(p,q){f.append(E+q,p)});return"$K"+m.toString(16)}return e instanceof Map?(e=JSON.stringify(Array.from(e),g),null===h&& -(h=new FormData),m=l++,h.append(b+m,e),"$Q"+m.toString(16)):e instanceof Set?(e=JSON.stringify(Array.from(e),g),null===h&&(h=new FormData),m=l++,h.append(b+m,e),"$W"+m.toString(16)):!fa(e)&&ea(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[m]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return ha(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=F.get(e);if(void 0!==e)return e=JSON.stringify(e, -g),null===h&&(h=new FormData),m=l++,h.set(b+m,e),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){m=e.description;if(Symbol.for(m)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof e)return"$n"+ -e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var l=1,n=0,h=null;a=JSON.stringify(a,g);null===h?c(a):(h.set(b+"0",a),0===n&&c(h))}var G=new WeakMap;function ja(a){var b,c,d=new Promise(function(g,l){b=g;c=l});ia(a,"",function(g){if("string"===typeof g){var l=new FormData;l.append("0",g);g=l}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d} -function ka(a){var b=F.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=G.get(b);c||(c=ja(b),G.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,l){d.append("$ACTION_"+a+":"+l,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} -function la(a,b){var c=F.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(g){d.status="fulfilled";d.value=g},function(g){d.status="rejected";d.reason=g})),d;}} -function H(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ka},$$IS_SIGNATURE_EQUAL:{value:la},bind:{value:ma}});F.set(a,b)}var na=Function.prototype.bind,oa=Array.prototype.slice;function ma(){var a=na.apply(this,arguments),b=F.get(this);if(b){var c=oa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(c)}):Promise.resolve(c);H(a,{id:b.id,bound:d})}return a} -function pa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}H(c,{id:a,bound:null});return c}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype); -J.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function qa(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} +function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function aa(){} +function ba(a){for(var b=a[1],c=[],d=0;d<b.length;){var f=b[d++];b[d++];var h=w.get(f);if(void 0===h){h=__webpack_chunk_load__(f);c.push(h);var n=w.set.bind(w,f,null);h.then(n,aa);w.set(f,h)}else null!==h&&c.push(h)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null} +function ca(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var f=c,h=y.current;if(h){var n=h.preinitScript,k=a.prefix+b[d];var m=a.crossOrigin;m="string"===typeof m?"use-credentials"===m?m:"":void 0;n.call(h,k,{crossOrigin:m,nonce:f})}}}var y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),da=Symbol.for("react.provider"),ea=Symbol.for("react.server_context"),fa=Symbol.for("react.lazy"),A=Symbol.for("react.default_value"),B=Symbol.iterator; +function ha(a){if(null===a||"object"!==typeof a)return null;a=B&&a[B]||a["@@iterator"];return"function"===typeof a?a:null}var ia=Array.isArray,C=Object.getPrototypeOf,ja=Object.prototype,D=new WeakMap;function ka(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function F(a,b,c,d){function f(m,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===k&&(k=new FormData);n++;var l=h++;e.then(function(p){p=JSON.stringify(p,f);var q=k;q.append(b+l,p);n--;0===n&&c(q)},function(p){d(p)});return"$@"+l.toString(16)}if(ia(e))return e;if(e instanceof FormData){null===k&&(k=new FormData);var g=k;m=h++;var E=b+m+"_";e.forEach(function(p,q){g.append(E+q,p)});return"$K"+m.toString(16)}if(e instanceof Map)return e=JSON.stringify(Array.from(e), +f),null===k&&(k=new FormData),m=h++,k.append(b+m,e),"$Q"+m.toString(16);if(e instanceof Set)return e=JSON.stringify(Array.from(e),f),null===k&&(k=new FormData),m=h++,k.append(b+m,e),"$W"+m.toString(16);if(ha(e))return Array.from(e);m=C(e);if(m!==ja&&(null===m||null!==C(m)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[m]instanceof Date)return"$D"+e; +e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return ka(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=D.get(e);if(void 0!==e)return e=JSON.stringify(e,f),null===k&&(k=new FormData),m=h++,k.set(b+m,e),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){m=e.description;if(Symbol.for(m)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(e.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var h=1,n=0,k=null;a=JSON.stringify(a,f);null===k?c(a):(k.set(b+"0",a),0===n&&c(k))}var G=new WeakMap; +function la(a){var b,c,d=new Promise(function(f,h){b=f;c=h});F(a,"",function(f){if("string"===typeof f){var h=new FormData;h.append("0",f);f=h}d.status="fulfilled";d.value=f;b(f)},function(f){d.status="rejected";d.reason=f;c(f)});return d} +function ma(a){var b=D.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=G.get(b);c||(c=la(b),G.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(f,h){d.append("$ACTION_"+a+":"+h,f)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function na(a,b){var c=D.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(f){d.status="fulfilled";d.value=f},function(f){d.status="rejected";d.reason=f})),d;}} +function H(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ma},$$IS_SIGNATURE_EQUAL:{value:na},bind:{value:oa}});D.set(a,b)}var pa=Function.prototype.bind,qa=Array.prototype.slice;function oa(){var a=pa.apply(this,arguments),b=D.get(this);if(b){var c=qa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(f){return f.concat(c)}):Promise.resolve(c);H(a,{id:b.id,bound:d})}return a} +function ra(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}H(c,{id:a,bound:null});return c}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype); +J.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function sa(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}} function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&N(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(M(a),O(a,c,d))}}var R=null,S=null; -function L(a){var b=R,c=S;R=a;S=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==S&&0<S.deps?(S.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{R=b,S=c}} -function M(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(g){a.status="rejected",a.reason=g}}function U(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function V(a,b){var c=a._chunks,d=c.get(b);d||(d=new J("pending",null,null,a),c.set(b,d));return d} -function ra(a,b,c){if(S){var d=S;d.deps++}else d=S={deps:1,value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&N(g,d.value))}}function sa(a){return function(b){return P(a,b)}} -function ta(a,b){function c(){var g=Array.prototype.slice.call(arguments),l=b.bound;return l?"fulfilled"===l.status?d(b.id,l.value.concat(g)):Promise.resolve(l).then(function(n){return d(b.id,n.concat(g))}):d(b.id,g)}var d=a._callServer;H(c,b);return c}function W(a,b){a=V(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ua(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=V(a,b),{$$typeof:da,_payload:a,_init:qa};case "@":return b=parseInt(d.slice(2),16),V(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(b={$$typeof:ca,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:ba,_context:b},I[a]=b),I[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=W(a,b),ta(a,b);case "Q":return b=parseInt(d.slice(2),16),a=W(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=W(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=V(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=R,a.then(ra(d,b,c),sa(d)),null;default:throw a.reason;}}}return d}function va(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} -function wa(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var l=v(a._bundlerConfig,c);aa(a._moduleLoading,c[1],a._nonce);if(c=z(l)){if(g){var n=g;n.status="blocked"}else n=new J("blocked",null,null,a),d.set(b,n);c.then(function(){return Q(n,l)},function(h){return P(n,h)})}else g?Q(g,l):d.set(b,new J("resolved_module",l,null,a))} -function xa(a){return function(b,c){return"string"===typeof c?ua(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading;a="string"===typeof a.nonce?a.nonce:void 0;var d=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:va,_nonce:a,_chunks:d,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=xa(b);return b} -function Z(a,b){function c(l){var n=l.value;if(l.done)U(a,Error("Connection closed."));else{var h=0,m=a._rowState,e=a._rowID,k=a._rowTag,f=a._rowLength;l=a._buffer;for(var E=n.length;h<E;){var p=-1;switch(m){case 0:p=n[h++];58===p?m=1:e=e<<4|(96<p?p-87:p-48);continue;case 1:m=n[h];84===m?(k=m,m=2,h++):64<m&&91>m?(k=m,m=3,h++):(k=0,m=3);continue;case 2:p=n[h++];44===p?m=4:f=f<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,h);break;case 4:p=h+f,p>n.length&&(p=-1)}var q=n.byteOffset+h;if(-1<p){h= -new Uint8Array(n.buffer,q,p-h);f=a;q=k;var T=f._stringDecoder;k="";for(var K=0;K<l.length;K++)k+=T.decode(l[K],u);k+=T.decode(h);switch(q){case 73:wa(f,e,k);break;case 72:e=k[0];k=k.slice(1);f=JSON.parse(k,f._fromJSON);if(k=A.current)switch(e){case "D":k.prefetchDNS(f);break;case "C":"string"===typeof f?k.preconnect(f):k.preconnect(f[0],f[1]);break;case "L":e=f[0];h=f[1];3===f.length?k.preload(e,h,f[2]):k.preload(e,h);break;case "m":"string"===typeof f?k.preloadModule(f):k.preloadModule(f[0],f[1]); -break;case "S":"string"===typeof f?k.preinitStyle(f):k.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?k.preinitScript(f):k.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?k.preinitModuleScript(f):k.preinitModuleScript(f[0],f[1])}break;case 69:k=JSON.parse(k);h=k.digest;k=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -k.stack="Error: "+k.message;k.digest=h;h=f._chunks;(q=h.get(e))?P(q,k):h.set(e,new J("rejected",null,k,f));break;case 84:f._chunks.set(e,new J("fulfilled",k,null,f));break;default:h=f._chunks,(q=h.get(e))?(f=q,e=k,"pending"===f.status&&(k=f.value,h=f.reason,f.status="resolved_model",f.value=e,null!==k&&(L(f),O(f,k,h)))):h.set(e,new J("resolved_model",k,null,f))}h=p;3===m&&h++;f=e=k=m=0;l.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-h);l.push(n);f-=n.byteLength;break}}a._rowState=m;a._rowID= -e;a._rowTag=k;a._rowLength=f;return g.read().then(c).catch(d)}}function d(l){U(a,l)}var g=b.getReader();g.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){U(c,d)});return V(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return V(b,0)};exports.createServerReference=function(a){return pa(a,X)}; +function L(a){var b=R,c=S;R=a;S=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var f=JSON.parse(d,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=f,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=f;null!==h&&N(h,f)}}catch(n){a.status="rejected",a.reason=n}finally{R=b,S=c}} +function M(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(f){a.status="rejected",a.reason=f}}function T(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function U(a,b){var c=a._chunks,d=c.get(b);d||(d=new J("pending",null,null,a),c.set(b,d));return d} +function ta(a,b,c,d){if(S){var f=S;d||f.deps++}else f=S={deps:d?0:1,value:null};return function(h){b[c]=h;f.deps--;0===f.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=f.value,null!==h&&N(h,f.value))}}function ua(a){return function(b){return P(a,b)}} +function va(a,b){function c(){var f=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(f)):Promise.resolve(h).then(function(n){return d(b.id,n.concat(f))}):d(b.id,f)}var d=a._callServer;H(c,b);return c}function W(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function wa(a,b,c,d){if("$"===d[0]){if("$"===d)return z;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:fa,_payload:a,_init:sa};case "@":return b=parseInt(d.slice(2),16),U(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(b={$$typeof:ea,_currentValue:A,_currentValue2:A,_defaultValue:A,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:da,_context:b},I[a]=b),I[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=W(a,b),va(a,b);case "Q":return b=parseInt(d.slice(2),16),a=W(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=W(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=R,a.then(ta(d,b,c,"cyclic"===a.status),ua(d)),null;default:throw a.reason;}}}return d}function xa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function ya(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var h=v(a._bundlerConfig,c);ca(a._moduleLoading,c[1],a._nonce);if(c=ba(h)){if(f){var n=f;n.status="blocked"}else n=new J("blocked",null,null,a),d.set(b,n);c.then(function(){return Q(n,h)},function(k){return P(n,k)})}else f?Q(f,h):d.set(b,new J("resolved_module",h,null,a))} +function za(a){return function(b,c){return"string"===typeof c?wa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===z?{$$typeof:z,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading;a="string"===typeof a.nonce?a.nonce:void 0;var d=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:xa,_nonce:a,_chunks:d,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=za(b);return b} +function Z(a,b){function c(h){var n=h.value;if(h.done)T(a,Error("Connection closed."));else{var k=0,m=a._rowState,e=a._rowID,l=a._rowTag,g=a._rowLength;h=a._buffer;for(var E=n.length;k<E;){var p=-1;switch(m){case 0:p=n[k++];58===p?m=1:e=e<<4|(96<p?p-87:p-48);continue;case 1:m=n[k];84===m?(l=m,m=2,k++):64<m&&91>m?(l=m,m=3,k++):(l=0,m=3);continue;case 2:p=n[k++];44===p?m=4:g=g<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,k);break;case 4:p=k+g,p>n.length&&(p=-1)}var q=n.byteOffset+k;if(-1<p){k= +new Uint8Array(n.buffer,q,p-k);g=a;q=l;var V=g._stringDecoder;l="";for(var K=0;K<h.length;K++)l+=V.decode(h[K],u);l+=V.decode(k);switch(q){case 73:ya(g,e,l);break;case 72:e=l[0];l=l.slice(1);g=JSON.parse(l,g._fromJSON);if(l=y.current)switch(e){case "D":l.prefetchDNS(g);break;case "C":"string"===typeof g?l.preconnect(g):l.preconnect(g[0],g[1]);break;case "L":e=g[0];k=g[1];3===g.length?l.preload(e,k,g[2]):l.preload(e,k);break;case "m":"string"===typeof g?l.preloadModule(g):l.preloadModule(g[0],g[1]); +break;case "S":"string"===typeof g?l.preinitStyle(g):l.preinitStyle(g[0],0===g[1]?void 0:g[1],3===g.length?g[2]:void 0);break;case "X":"string"===typeof g?l.preinitScript(g):l.preinitScript(g[0],g[1]);break;case "M":"string"===typeof g?l.preinitModuleScript(g):l.preinitModuleScript(g[0],g[1])}break;case 69:l=JSON.parse(l);k=l.digest;l=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); +l.stack="Error: "+l.message;l.digest=k;k=g._chunks;(q=k.get(e))?P(q,l):k.set(e,new J("rejected",null,l,g));break;case 84:g._chunks.set(e,new J("fulfilled",l,null,g));break;default:k=g._chunks,(q=k.get(e))?(g=q,e=l,"pending"===g.status&&(l=g.value,k=g.reason,g.status="resolved_model",g.value=e,null!==l&&(L(g),O(g,l,k)))):k.set(e,new J("resolved_model",l,null,g))}k=p;3===m&&k++;g=e=l=m=0;h.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-k);h.push(n);g-=n.byteLength;break}}a._rowState=m;a._rowID= +e;a._rowTag=l;a._rowLength=g;return f.read().then(c).catch(d)}}function d(h){T(a,h)}var f=b.getReader();f.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){T(c,d)});return U(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return U(b,0)};exports.createServerReference=function(a){return ra(a,X)};exports.encodeReply=function(a){return new Promise(function(b,c){F(a,"",b,c)})}; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js index 9ef25b8ea8de2..a23f685d5f31e 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js @@ -420,6 +420,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -438,7 +440,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -454,7 +456,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -730,6 +732,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -858,6 +861,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -904,33 +912,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1287,6 +1297,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1324,6 +1335,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1368,6 +1380,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1411,6 +1424,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1503,9 +1517,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1516,9 +1538,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1619,15 +1646,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1848,9 +1878,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.min.js index dcf7d9df9e81d..2d3274320b65a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.min.js @@ -10,30 +10,32 @@ 'use strict';var p=require("util"),r=require("react-dom"),u=require("react"),v={stream:!0};function w(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var x=new Map; function y(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function z(){} function A(a){for(var b=a[1],c=[],d=0;d<b.length;){var g=b[d++];b[d++];var h=x.get(g);if(void 0===h){h=__webpack_chunk_load__(g);c.push(h);var l=x.set.bind(x,g,null);h.then(l,z);x.set(g,h)}else null!==h&&c.push(h)}return 4===a.length?0===c.length?y(a[0]):Promise.all(c).then(function(){return y(a[0])}):0<c.length?Promise.all(c):null} -function B(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var g=c,h=C.current;if(h){var l=h.preinitScript,k=a.prefix+b[d];var f=a.crossOrigin;f="string"===typeof f?"use-credentials"===f?f:"":void 0;l.call(h,k,{crossOrigin:f,nonce:g})}}}var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,D=Symbol.for("react.element"),F=Symbol.for("react.provider"),G=Symbol.for("react.server_context"),aa=Symbol.for("react.lazy"),H=Symbol.for("react.default_value"),I=Symbol.iterator; -function ba(a){if(null===a||"object"!==typeof a)return null;a=I&&a[I]||a["@@iterator"];return"function"===typeof a?a:null}var ca=Array.isArray,J=new WeakMap;function da(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ea(a,b,c,d){function g(f,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===k&&(k=new FormData);l++;var t=h++;e.then(function(n){n=JSON.stringify(n,g);var q=k;q.append(b+t,n);l--;0===l&&c(q)},function(n){d(n)});return"$@"+t.toString(16)}if(e instanceof FormData){null===k&&(k=new FormData);var E=k;f=h++;var m=b+f+"_";e.forEach(function(n,q){E.append(m+q,n)});return"$K"+f.toString(16)}return e instanceof Map?(e=JSON.stringify(Array.from(e),g),null===k&& -(k=new FormData),f=h++,k.append(b+f,e),"$Q"+f.toString(16)):e instanceof Set?(e=JSON.stringify(Array.from(e),g),null===k&&(k=new FormData),f=h++,k.append(b+f,e),"$W"+f.toString(16)):!ca(e)&&ba(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[f]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return da(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=J.get(e);if(void 0!==e)return e=JSON.stringify(e, -g),null===k&&(k=new FormData),f=h++,k.set(b+f,e),"$F"+f.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){f=e.description;if(Symbol.for(f)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+f}if("bigint"===typeof e)return"$n"+ -e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var h=1,l=0,k=null;a=JSON.stringify(a,g);null===k?c(a):(k.set(b+"0",a),0===l&&c(k))}var K=new WeakMap;function fa(a){var b,c,d=new Promise(function(g,h){b=g;c=h});ea(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d} -function ha(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=K.get(b);c||(c=fa(b),K.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,h){d.append("$ACTION_"+a+":"+h,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} -function ia(a,b){var c=J.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(g){d.status="fulfilled";d.value=g},function(g){d.status="rejected";d.reason=g})),d;}} -function L(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ha},$$IS_SIGNATURE_EQUAL:{value:ia},bind:{value:ja}});J.set(a,b)}var ka=Function.prototype.bind,la=Array.prototype.slice;function ja(){var a=ka.apply(this,arguments),b=J.get(this);if(b){var c=la.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(c)}):Promise.resolve(c);L(a,{id:b.id,bound:d})}return a} -function ma(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}L(c,{id:a,bound:null});return c}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}N.prototype=Object.create(Promise.prototype); -N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function na(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function Q(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function R(a,b,c){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&Q(c,a.reason)}} +function B(a,b,c){if(null!==a)for(var d=1;d<b.length;d+=2){var g=c,h=C.current;if(h){var l=h.preinitScript,k=a.prefix+b[d];var e=a.crossOrigin;e="string"===typeof e?"use-credentials"===e?e:"":void 0;l.call(h,k,{crossOrigin:e,nonce:g})}}}var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,D=Symbol.for("react.element"),F=Symbol.for("react.provider"),aa=Symbol.for("react.server_context"),ba=Symbol.for("react.lazy"),G=Symbol.for("react.default_value"),H=Symbol.iterator; +function ca(a){if(null===a||"object"!==typeof a)return null;a=H&&a[H]||a["@@iterator"];return"function"===typeof a?a:null}var da=Array.isArray,I=Object.getPrototypeOf,ea=Object.prototype,J=new WeakMap;function fa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ha(a,b,c,d){function g(e,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===k&&(k=new FormData);l++;var t=h++;f.then(function(n){n=JSON.stringify(n,g);var q=k;q.append(b+t,n);l--;0===l&&c(q)},function(n){d(n)});return"$@"+t.toString(16)}if(da(f))return f;if(f instanceof FormData){null===k&&(k=new FormData);var E=k;e=h++;var m=b+e+"_";f.forEach(function(n,q){E.append(m+q,n)});return"$K"+e.toString(16)}if(f instanceof Map)return f=JSON.stringify(Array.from(f), +g),null===k&&(k=new FormData),e=h++,k.append(b+e,f),"$Q"+e.toString(16);if(f instanceof Set)return f=JSON.stringify(Array.from(f),g),null===k&&(k=new FormData),e=h++,k.append(b+e,f),"$W"+e.toString(16);if(ca(f))return Array.from(f);e=I(f);if(e!==ea&&(null===e||null!==I(e)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return f}if("string"===typeof f){if("Z"===f[f.length-1]&&this[e]instanceof Date)return"$D"+f; +f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return fa(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=J.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===k&&(k=new FormData),e=h++,k.set(b+e,f),"$F"+e.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){e=f.description;if(Symbol.for(e)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(f.description+") cannot be found among global symbols."));return"$S"+e}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var h=1,l=0,k=null;a=JSON.stringify(a,g);null===k?c(a):(k.set(b+"0",a),0===l&&c(k))}var K=new WeakMap; +function ia(a){var b,c,d=new Promise(function(g,h){b=g;c=h});ha(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d} +function ja(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=K.get(b);c||(c=ia(b),K.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,h){d.append("$ACTION_"+a+":"+h,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}} +function ka(a,b){var c=J.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(g){d.status="fulfilled";d.value=g},function(g){d.status="rejected";d.reason=g})),d;}} +function L(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ja},$$IS_SIGNATURE_EQUAL:{value:ka},bind:{value:la}});J.set(a,b)}var ma=Function.prototype.bind,na=Array.prototype.slice;function la(){var a=ma.apply(this,arguments),b=J.get(this);if(b){var c=na.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(c)}):Promise.resolve(c);L(a,{id:b.id,bound:d})}return a} +function oa(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}L(c,{id:a,bound:null});return c}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}N.prototype=Object.create(Promise.prototype); +N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function pa(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function Q(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function R(a,b,c){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&Q(c,a.reason)}} function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Q(c,b)}}function T(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(P(a),R(a,c,d))}}var U=null,V=null; -function O(a){var b=U,c=V;U=a;V=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==V&&0<V.deps?(V.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{U=b,V=c}} +function O(a){var b=U,c=V;U=a;V=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var g=JSON.parse(d,a._response._fromJSON);if(null!==V&&0<V.deps)V.value=g,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=g;null!==h&&Q(h,g)}}catch(l){a.status="rejected",a.reason=l}finally{U=b,V=c}} function P(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=d}catch(g){a.status="rejected",a.reason=g}}function W(a,b){a._chunks.forEach(function(c){"pending"===c.status&&S(c,b)})}function X(a,b){var c=a._chunks,d=c.get(b);d||(d=new N("pending",null,null,a),c.set(b,d));return d} -function oa(a,b,c){if(V){var d=V;d.deps++}else d=V={deps:1,value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&Q(g,d.value))}}function pa(a){return function(b){return S(a,b)}} -function qa(a,b){function c(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(g)):Promise.resolve(h).then(function(l){return d(b.id,l.concat(g))}):d(b.id,g)}var d=a._callServer;L(c,b);return c}function Y(a,b){a=X(a,b);switch(a.status){case "resolved_model":O(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function ra(a,b,c,d){if("$"===d[0]){if("$"===d)return D;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=X(a,b),{$$typeof:aa,_payload:a,_init:na};case "@":return b=parseInt(d.slice(2),16),X(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),M[a]||(b={$$typeof:G,_currentValue:H,_currentValue2:H,_defaultValue:H,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:F,_context:b},M[a]=b),M[a].Provider;case "F":return b= -parseInt(d.slice(2),16),b=Y(a,b),qa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=Y(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Y(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=X(a,d);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value; -case "pending":case "blocked":return d=U,a.then(oa(d,b,c),pa(d)),null;default:throw a.reason;}}}return d}function sa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ta(a,b,c,d){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:sa,_nonce:d,_chunks:g,_stringDecoder:new p.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ua(a);return a} -function va(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var h=w(a._bundlerConfig,c);B(a._moduleLoading,c[1],a._nonce);if(c=A(h)){if(g){var l=g;l.status="blocked"}else l=new N("blocked",null,null,a),d.set(b,l);c.then(function(){return T(l,h)},function(k){return S(l,k)})}else g?T(g,h):d.set(b,new N("resolved_module",h,null,a))} -function ua(a){return function(b,c){return"string"===typeof c?ra(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===D?{$$typeof:D,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -exports.createFromNodeStream=function(a,b,c){var d=ta(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(g){for(var h=0,l=d._rowState,k=d._rowID,f=d._rowTag,e=d._rowLength,t=d._buffer,E=g.length;h<E;){var m=-1;switch(l){case 0:m=g[h++];58===m?l=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:l=g[h];84===l?(f=l,l=2,h++):64<l&&91>l?(f=l,l=3,h++):(f=0,l=3);continue;case 2:m=g[h++];44===m?l=4:e=e<<4|(96<m?m-87:m-48);continue;case 3:m=g.indexOf(10,h);break;case 4:m= -h+e,m>g.length&&(m=-1)}var n=g.byteOffset+h;if(-1<m){e=new Uint8Array(g.buffer,n,m-h);h=f;n=d._stringDecoder;f="";for(var q=0;q<t.length;q++)f+=n.decode(t[q],v);f+=n.decode(e);switch(h){case 73:va(d,k,f);break;case 72:k=f[0];f=f.slice(1);f=JSON.parse(f,d._fromJSON);if(e=C.current)switch(k){case "D":e.prefetchDNS(f);break;case "C":"string"===typeof f?e.preconnect(f):e.preconnect(f[0],f[1]);break;case "L":k=f[0];h=f[1];3===f.length?e.preload(k,h,f[2]):e.preload(k,h);break;case "m":"string"===typeof f? -e.preloadModule(f):e.preloadModule(f[0],f[1]);break;case "S":"string"===typeof f?e.preinitStyle(f):e.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?e.preinitScript(f):e.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?e.preinitModuleScript(f):e.preinitModuleScript(f[0],f[1])}break;case 69:f=JSON.parse(f);e=f.digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=e;e=d._chunks;(h=e.get(k))?S(h,f):e.set(k,new N("rejected",null,f,d));break;case 84:d._chunks.set(k,new N("fulfilled",f,null,d));break;default:e=d._chunks,(h=e.get(k))?(k=h,"pending"===k.status&&(e=k.value,h=k.reason,k.status="resolved_model",k.value=f,null!==e&&(O(k),R(k,e,h)))):e.set(k,new N("resolved_model",f,null,d))}h=m;3===l&&h++;e=k=f=l=0;t.length=0}else{g=new Uint8Array(g.buffer,n,g.byteLength-h);t.push(g);e-=g.byteLength;break}}d._rowState=l;d._rowID= -k;d._rowTag=f;d._rowLength=e});a.on("error",function(g){W(d,g)});a.on("end",function(){W(d,Error("Connection closed."))});return X(d,0)};exports.createServerReference=function(a){return ma(a,Z)}; +function qa(a,b,c,d){if(V){var g=V;d||g.deps++}else g=V={deps:d?0:1,value:null};return function(h){b[c]=h;g.deps--;0===g.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=g.value,null!==h&&Q(h,g.value))}}function ra(a){return function(b){return S(a,b)}} +function sa(a,b){function c(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(g)):Promise.resolve(h).then(function(l){return d(b.id,l.concat(g))}):d(b.id,g)}var d=a._callServer;L(c,b);return c}function Y(a,b){a=X(a,b);switch(a.status){case "resolved_model":O(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function ta(a,b,c,d){if("$"===d[0]){if("$"===d)return D;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=X(a,b),{$$typeof:ba,_payload:a,_init:pa};case "@":return b=parseInt(d.slice(2),16),X(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),M[a]||(b={$$typeof:aa,_currentValue:G,_currentValue2:G,_defaultValue:G,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:F,_context:b},M[a]=b),M[a].Provider;case "F":return b= +parseInt(d.slice(2),16),b=Y(a,b),sa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=Y(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Y(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=X(a,d);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value; +case "pending":case "blocked":case "cyclic":return d=U,a.then(qa(d,b,c,"cyclic"===a.status),ra(d)),null;default:throw a.reason;}}}return d}function ua(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');} +function va(a,b,c,d){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:ua,_nonce:d,_chunks:g,_stringDecoder:new p.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=wa(a);return a} +function xa(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var h=w(a._bundlerConfig,c);B(a._moduleLoading,c[1],a._nonce);if(c=A(h)){if(g){var l=g;l.status="blocked"}else l=new N("blocked",null,null,a),d.set(b,l);c.then(function(){return T(l,h)},function(k){return S(l,k)})}else g?T(g,h):d.set(b,new N("resolved_module",h,null,a))} +function wa(a){return function(b,c){return"string"===typeof c?ta(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===D?{$$typeof:D,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +exports.createFromNodeStream=function(a,b,c){var d=va(b.moduleMap,b.moduleLoading,Z,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(g){for(var h=0,l=d._rowState,k=d._rowID,e=d._rowTag,f=d._rowLength,t=d._buffer,E=g.length;h<E;){var m=-1;switch(l){case 0:m=g[h++];58===m?l=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:l=g[h];84===l?(e=l,l=2,h++):64<l&&91>l?(e=l,l=3,h++):(e=0,l=3);continue;case 2:m=g[h++];44===m?l=4:f=f<<4|(96<m?m-87:m-48);continue;case 3:m=g.indexOf(10,h);break;case 4:m= +h+f,m>g.length&&(m=-1)}var n=g.byteOffset+h;if(-1<m){f=new Uint8Array(g.buffer,n,m-h);h=e;n=d._stringDecoder;e="";for(var q=0;q<t.length;q++)e+=n.decode(t[q],v);e+=n.decode(f);switch(h){case 73:xa(d,k,e);break;case 72:k=e[0];e=e.slice(1);e=JSON.parse(e,d._fromJSON);if(f=C.current)switch(k){case "D":f.prefetchDNS(e);break;case "C":"string"===typeof e?f.preconnect(e):f.preconnect(e[0],e[1]);break;case "L":k=e[0];h=e[1];3===e.length?f.preload(k,h,e[2]):f.preload(k,h);break;case "m":"string"===typeof e? +f.preloadModule(e):f.preloadModule(e[0],e[1]);break;case "S":"string"===typeof e?f.preinitStyle(e):f.preinitStyle(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case "X":"string"===typeof e?f.preinitScript(e):f.preinitScript(e[0],e[1]);break;case "M":"string"===typeof e?f.preinitModuleScript(e):f.preinitModuleScript(e[0],e[1])}break;case 69:e=JSON.parse(e);f=e.digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); +e.stack="Error: "+e.message;e.digest=f;f=d._chunks;(h=f.get(k))?S(h,e):f.set(k,new N("rejected",null,e,d));break;case 84:d._chunks.set(k,new N("fulfilled",e,null,d));break;default:f=d._chunks,(h=f.get(k))?(k=h,"pending"===k.status&&(f=k.value,h=k.reason,k.status="resolved_model",k.value=e,null!==f&&(O(k),R(k,f,h)))):f.set(k,new N("resolved_model",e,null,d))}h=m;3===l&&h++;f=k=e=l=0;t.length=0}else{g=new Uint8Array(g.buffer,n,g.byteLength-h);t.push(g);f-=g.byteLength;break}}d._rowState=l;d._rowID= +k;d._rowTag=e;d._rowLength=f});a.on("error",function(g){W(d,g)});a.on("end",function(){W(d,Error("Connection closed."))});return X(d,0)};exports.createServerReference=function(a){return oa(a,Z)}; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js index a3d23e51d45b5..7d74a9b595fca 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js @@ -373,6 +373,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -391,7 +393,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -407,7 +409,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -683,6 +685,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } +var ObjectPrototype = Object.prototype; var knownServerReferences = new WeakMap(); // Serializable values // Thenable<ReactServerValue> // function serializeByValueID(id: number): string { @@ -811,6 +814,11 @@ function processReply(root, formFieldPrefix, resolve, reject) { reject(reason); }); return serializePromiseID(promiseId); + } + + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } // TODO: Should we the Object.prototype.toString.call() to test for cross-realm objects? @@ -857,33 +865,35 @@ function processReply(root, formFieldPrefix, resolve, reject) { return serializeSetID(setId); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Server Actions. ' + 'Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (value.$$typeof === REACT_ELEMENT_TYPE) { - error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_LAZY_TYPE) { - error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); - } else if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (value.$$typeof === REACT_ELEMENT_TYPE) { + error('React Element cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_LAZY_TYPE) { + error('React Lazy cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (value.$$typeof === REACT_PROVIDER_TYPE) { + error('React Context Providers cannot be passed to Server Functions from the Client.%s', describeObjectForErrorMessage(parent, key)); + } else if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Server Functions from the Client. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Server Functions from the Client. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -1240,6 +1250,7 @@ var ROW_CHUNK_BY_NEWLINE = 3; var ROW_CHUNK_BY_LENGTH = 4; var PENDING = 'pending'; var BLOCKED = 'blocked'; +var CYCLIC = 'cyclic'; var RESOLVED_MODEL = 'resolved_model'; var RESOLVED_MODULE = 'resolved_module'; var INITIALIZED = 'fulfilled'; @@ -1277,6 +1288,7 @@ Chunk.prototype.then = function (resolve, reject) { case PENDING: case BLOCKED: + case CYCLIC: if (resolve) { if (chunk.value === null) { chunk.value = []; @@ -1321,6 +1333,7 @@ function readChunk(chunk) { case PENDING: case BLOCKED: + case CYCLIC: // eslint-disable-next-line no-throw-literal throw chunk; @@ -1364,6 +1377,7 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) { case PENDING: case BLOCKED: + case CYCLIC: chunk.value = resolveListeners; chunk.reason = rejectListeners; break; @@ -1456,9 +1470,17 @@ function initializeModelChunk(chunk) { var prevBlocked = initializingChunkBlockedModel; initializingChunk = chunk; initializingChunkBlockedModel = null; + var resolvedModel = chunk.value; // We go to the CYCLIC state until we've fully resolved this. + // We do this before parsing in case we try to initialize the same chunk + // while parsing the model. Such as in a cyclic reference. + + var cyclicChunk = chunk; + cyclicChunk.status = CYCLIC; + cyclicChunk.value = null; + cyclicChunk.reason = null; try { - var value = parseModel(chunk._response, chunk.value); + var value = parseModel(chunk._response, resolvedModel); if (initializingChunkBlockedModel !== null && initializingChunkBlockedModel.deps > 0) { initializingChunkBlockedModel.value = value; // We discovered new dependencies on modules that are not yet resolved. @@ -1469,9 +1491,14 @@ function initializeModelChunk(chunk) { blockedChunk.value = null; blockedChunk.reason = null; } else { + var resolveListeners = cyclicChunk.value; var initializedChunk = chunk; initializedChunk.status = INITIALIZED; initializedChunk.value = value; + + if (resolveListeners !== null) { + wakeChunk(resolveListeners, value); + } } } catch (error) { var erroredChunk = chunk; @@ -1572,15 +1599,18 @@ function getChunk(response, id) { return chunk; } -function createModelResolver(chunk, parentObject, key) { +function createModelResolver(chunk, parentObject, key, cyclic) { var blocked; if (initializingChunkBlockedModel) { blocked = initializingChunkBlockedModel; - blocked.deps++; + + if (!cyclic) { + blocked.deps++; + } } else { blocked = initializingChunkBlockedModel = { - deps: 1, + deps: cyclic ? 0 : 1, value: null }; } @@ -1801,9 +1831,10 @@ function parseModelString(response, parentObject, key, value) { case PENDING: case BLOCKED: + case CYCLIC: var parentChunk = initializingChunk; - _chunk2.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); + _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk)); return null; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js index df0eccd7c92a6..e5755da5faa4a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js @@ -9,29 +9,31 @@ */ 'use strict';var p=require("util"),r=require("react-dom"),u=require("react"),v={stream:!0};function w(a,b){var d=a[b[0]];if(a=d[b[2]])d=a.name;else{a=d["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');d=b[2]}return{specifier:a.specifier,name:d,async:4===b.length}}var x=new Map; function y(a){var b=x.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var g=d;g.status="fulfilled";g.value=c},function(c){var g=d;g.status="rejected";g.reason=c});x.set(a.specifier,d);return d} -function z(a,b,d){if(null!==a)for(var c=1;c<b.length;c+=2){var g=d,h=A.current;if(h){var l=h.preinitScript,k=a.prefix+b[c];var f=a.crossOrigin;f="string"===typeof f?"use-credentials"===f?f:"":void 0;l.call(h,k,{crossOrigin:f,nonce:g})}}}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),D=Symbol.for("react.server_context"),F=Symbol.for("react.lazy"),G=Symbol.for("react.default_value"),H=Symbol.iterator; -function I(a){if(null===a||"object"!==typeof a)return null;a=H&&a[H]||a["@@iterator"];return"function"===typeof a?a:null}var aa=Array.isArray,J=new WeakMap;function ba(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} -function ca(a,b,d,c){function g(f,e){if(null===e)return null;if("object"===typeof e){if("function"===typeof e.then){null===k&&(k=new FormData);l++;var t=h++;e.then(function(n){n=JSON.stringify(n,g);var q=k;q.append(b+t,n);l--;0===l&&d(q)},function(n){c(n)});return"$@"+t.toString(16)}if(e instanceof FormData){null===k&&(k=new FormData);var E=k;f=h++;var m=b+f+"_";e.forEach(function(n,q){E.append(m+q,n)});return"$K"+f.toString(16)}return e instanceof Map?(e=JSON.stringify(Array.from(e),g),null===k&& -(k=new FormData),f=h++,k.append(b+f,e),"$Q"+f.toString(16)):e instanceof Set?(e=JSON.stringify(Array.from(e),g),null===k&&(k=new FormData),f=h++,k.append(b+f,e),"$W"+f.toString(16)):!aa(e)&&I(e)?Array.from(e):e}if("string"===typeof e){if("Z"===e[e.length-1]&&this[f]instanceof Date)return"$D"+e;e="$"===e[0]?"$"+e:e;return e}if("boolean"===typeof e)return e;if("number"===typeof e)return ba(e);if("undefined"===typeof e)return"$undefined";if("function"===typeof e){e=J.get(e);if(void 0!==e)return e=JSON.stringify(e, -g),null===k&&(k=new FormData),f=h++,k.set(b+f,e),"$F"+f.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof e){f=e.description;if(Symbol.for(f)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(e.description+") cannot be found among global symbols."));return"$S"+f}if("bigint"===typeof e)return"$n"+ -e.toString(10);throw Error("Type "+typeof e+" is not supported as an argument to a Server Function.");}var h=1,l=0,k=null;a=JSON.stringify(a,g);null===k?d(a):(k.set(b+"0",a),0===l&&d(k))}var K=new WeakMap;function da(a){var b,d,c=new Promise(function(g,h){b=g;d=h});ca(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}c.status="fulfilled";c.value=g;b(g)},function(g){c.status="rejected";c.reason=g;d(g)});return c} -function ea(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var d=null;if(null!==b.bound){d=K.get(b);d||(d=da(b),K.set(b,d));if("rejected"===d.status)throw d.reason;if("fulfilled"!==d.status)throw d;b=d.value;var c=new FormData;b.forEach(function(g,h){c.append("$ACTION_"+a+":"+h,g)});d=c;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:d}} -function fa(a,b){var d=J.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(d.id!==a)return!1;var c=d.bound;if(null===c)return 0===b;switch(c.status){case "fulfilled":return c.value.length===b;case "pending":throw c;case "rejected":throw c.reason;default:throw"string"!==typeof c.status&&(c.status="pending",c.then(function(g){c.status="fulfilled";c.value=g},function(g){c.status="rejected";c.reason=g})),c;}} -function L(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ea},$$IS_SIGNATURE_EQUAL:{value:fa},bind:{value:ha}});J.set(a,b)}var ia=Function.prototype.bind,ja=Array.prototype.slice;function ha(){var a=ia.apply(this,arguments),b=J.get(this);if(b){var d=ja.call(arguments,1),c=null;c=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(d)}):Promise.resolve(d);L(a,{id:b.id,bound:c})}return a} -function ka(a,b){function d(){var c=Array.prototype.slice.call(arguments);return b(a,c)}L(d,{id:a,bound:null});return d}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}N.prototype=Object.create(Promise.prototype); -N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function la(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function Q(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function R(a,b,d){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=d;break;case "rejected":d&&Q(d,a.reason)}} +function z(a,b,d){if(null!==a)for(var c=1;c<b.length;c+=2){var g=d,h=A.current;if(h){var l=h.preinitScript,k=a.prefix+b[c];var e=a.crossOrigin;e="string"===typeof e?"use-credentials"===e?e:"":void 0;l.call(h,k,{crossOrigin:e,nonce:g})}}}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.provider"),D=Symbol.for("react.server_context"),F=Symbol.for("react.lazy"),G=Symbol.for("react.default_value"),H=Symbol.iterator; +function aa(a){if(null===a||"object"!==typeof a)return null;a=H&&a[H]||a["@@iterator"];return"function"===typeof a?a:null}var ba=Array.isArray,I=Object.getPrototypeOf,ca=Object.prototype,J=new WeakMap;function da(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"} +function ea(a,b,d,c){function g(e,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===k&&(k=new FormData);l++;var t=h++;f.then(function(n){n=JSON.stringify(n,g);var q=k;q.append(b+t,n);l--;0===l&&d(q)},function(n){c(n)});return"$@"+t.toString(16)}if(ba(f))return f;if(f instanceof FormData){null===k&&(k=new FormData);var E=k;e=h++;var m=b+e+"_";f.forEach(function(n,q){E.append(m+q,n)});return"$K"+e.toString(16)}if(f instanceof Map)return f=JSON.stringify(Array.from(f), +g),null===k&&(k=new FormData),e=h++,k.append(b+e,f),"$Q"+e.toString(16);if(f instanceof Set)return f=JSON.stringify(Array.from(f),g),null===k&&(k=new FormData),e=h++,k.append(b+e,f),"$W"+e.toString(16);if(aa(f))return Array.from(f);e=I(f);if(e!==ca&&(null===e||null!==I(e)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return f}if("string"===typeof f){if("Z"===f[f.length-1]&&this[e]instanceof Date)return"$D"+f; +f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return da(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=J.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===k&&(k=new FormData),e=h++,k.set(b+e,f),"$F"+e.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){e=f.description;if(Symbol.for(e)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+ +(f.description+") cannot be found among global symbols."));return"$S"+e}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var h=1,l=0,k=null;a=JSON.stringify(a,g);null===k?d(a):(k.set(b+"0",a),0===l&&d(k))}var K=new WeakMap; +function fa(a){var b,d,c=new Promise(function(g,h){b=g;d=h});ea(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}c.status="fulfilled";c.value=g;b(g)},function(g){c.status="rejected";c.reason=g;d(g)});return c} +function ha(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var d=null;if(null!==b.bound){d=K.get(b);d||(d=fa(b),K.set(b,d));if("rejected"===d.status)throw d.reason;if("fulfilled"!==d.status)throw d;b=d.value;var c=new FormData;b.forEach(function(g,h){c.append("$ACTION_"+a+":"+h,g)});d=c;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:d}} +function ia(a,b){var d=J.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(d.id!==a)return!1;var c=d.bound;if(null===c)return 0===b;switch(c.status){case "fulfilled":return c.value.length===b;case "pending":throw c;case "rejected":throw c.reason;default:throw"string"!==typeof c.status&&(c.status="pending",c.then(function(g){c.status="fulfilled";c.value=g},function(g){c.status="rejected";c.reason=g})),c;}} +function L(a,b){Object.defineProperties(a,{$$FORM_ACTION:{value:ha},$$IS_SIGNATURE_EQUAL:{value:ia},bind:{value:ja}});J.set(a,b)}var ka=Function.prototype.bind,la=Array.prototype.slice;function ja(){var a=ka.apply(this,arguments),b=J.get(this);if(b){var d=la.call(arguments,1),c=null;c=null!==b.bound?Promise.resolve(b.bound).then(function(g){return g.concat(d)}):Promise.resolve(d);L(a,{id:b.id,bound:c})}return a} +function ma(a,b){function d(){var c=Array.prototype.slice.call(arguments);return b(a,c)}L(d,{id:a,bound:null});return d}var M=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}N.prototype=Object.create(Promise.prototype); +N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function na(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function Q(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function R(a,b,d){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=d;break;case "rejected":d&&Q(d,a.reason)}} function S(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Q(d,b)}}function T(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.value,c=a.reason;a.status="resolved_module";a.value=b;null!==d&&(P(a),R(a,d,c))}}var U=null,V=null; -function O(a){var b=U,d=V;U=a;V=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==V&&0<V.deps?(V.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(g){a.status="rejected",a.reason=g}finally{U=b,V=d}}function P(a){try{var b=a.value,d=x.get(b.specifier);if("fulfilled"===d.status)var c=d.value;else throw d.reason;var g="*"===b.name?c:""===b.name?c.default:c[b.name];a.status="fulfilled";a.value=g}catch(h){a.status="rejected",a.reason=h}} -function W(a,b){a._chunks.forEach(function(d){"pending"===d.status&&S(d,b)})}function X(a,b){var d=a._chunks,c=d.get(b);c||(c=new N("pending",null,null,a),d.set(b,c));return c}function ma(a,b,d){if(V){var c=V;c.deps++}else c=V={deps:1,value:null};return function(g){b[d]=g;c.deps--;0===c.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=c.value,null!==g&&Q(g,c.value))}}function na(a){return function(b){return S(a,b)}} -function oa(a,b){function d(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?c(b.id,h.value.concat(g)):Promise.resolve(h).then(function(l){return c(b.id,l.concat(g))}):c(b.id,g)}var c=a._callServer;L(d,b);return d}function Y(a,b){a=X(a,b);switch(a.status){case "resolved_model":O(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} -function pa(a,b,d,c){if("$"===c[0]){if("$"===c)return B;switch(c[1]){case "$":return c.slice(1);case "L":return b=parseInt(c.slice(2),16),a=X(a,b),{$$typeof:F,_payload:a,_init:la};case "@":return b=parseInt(c.slice(2),16),X(a,b);case "S":return Symbol.for(c.slice(2));case "P":return a=c.slice(2),M[a]||(b={$$typeof:D,_currentValue:G,_currentValue2:G,_defaultValue:G,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},M[a]=b),M[a].Provider;case "F":return b=parseInt(c.slice(2), -16),b=Y(a,b),oa(a,b);case "Q":return b=parseInt(c.slice(2),16),a=Y(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Y(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=X(a,c);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c= -U,a.then(ma(c,b,d),na(c)),null;default:throw a.reason;}}}return c}function qa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ra(a,b,d,c){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==d?d:qa,_nonce:c,_chunks:g,_stringDecoder:new p.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=sa(a);return a} -function ta(a,b,d){var c=a._chunks,g=c.get(b);d=JSON.parse(d,a._fromJSON);var h=w(a._bundlerConfig,d);z(a._moduleLoading,d[1],a._nonce);if(d=y(h)){if(g){var l=g;l.status="blocked"}else l=new N("blocked",null,null,a),c.set(b,l);d.then(function(){return T(l,h)},function(k){return S(l,k)})}else g?T(g,h):c.set(b,new N("resolved_module",h,null,a))} -function sa(a){return function(b,d){return"string"===typeof d?pa(a,this,b,d):"object"===typeof d&&null!==d?(b=d[0]===B?{$$typeof:B,type:d[1],key:d[2],ref:null,props:d[3],_owner:null}:d,b):d}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} -exports.createFromNodeStream=function(a,b,d){var c=ra(b.moduleMap,b.moduleLoading,Z,d&&"string"===typeof d.nonce?d.nonce:void 0);a.on("data",function(g){for(var h=0,l=c._rowState,k=c._rowID,f=c._rowTag,e=c._rowLength,t=c._buffer,E=g.length;h<E;){var m=-1;switch(l){case 0:m=g[h++];58===m?l=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:l=g[h];84===l?(f=l,l=2,h++):64<l&&91>l?(f=l,l=3,h++):(f=0,l=3);continue;case 2:m=g[h++];44===m?l=4:e=e<<4|(96<m?m-87:m-48);continue;case 3:m=g.indexOf(10,h);break;case 4:m= -h+e,m>g.length&&(m=-1)}var n=g.byteOffset+h;if(-1<m){e=new Uint8Array(g.buffer,n,m-h);h=f;n=c._stringDecoder;f="";for(var q=0;q<t.length;q++)f+=n.decode(t[q],v);f+=n.decode(e);switch(h){case 73:ta(c,k,f);break;case 72:k=f[0];f=f.slice(1);f=JSON.parse(f,c._fromJSON);if(e=A.current)switch(k){case "D":e.prefetchDNS(f);break;case "C":"string"===typeof f?e.preconnect(f):e.preconnect(f[0],f[1]);break;case "L":k=f[0];h=f[1];3===f.length?e.preload(k,h,f[2]):e.preload(k,h);break;case "m":"string"===typeof f? -e.preloadModule(f):e.preloadModule(f[0],f[1]);break;case "S":"string"===typeof f?e.preinitStyle(f):e.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?e.preinitScript(f):e.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?e.preinitModuleScript(f):e.preinitModuleScript(f[0],f[1])}break;case 69:f=JSON.parse(f);e=f.digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); -f.stack="Error: "+f.message;f.digest=e;e=c._chunks;(h=e.get(k))?S(h,f):e.set(k,new N("rejected",null,f,c));break;case 84:c._chunks.set(k,new N("fulfilled",f,null,c));break;default:e=c._chunks,(h=e.get(k))?(k=h,"pending"===k.status&&(e=k.value,h=k.reason,k.status="resolved_model",k.value=f,null!==e&&(O(k),R(k,e,h)))):e.set(k,new N("resolved_model",f,null,c))}h=m;3===l&&h++;e=k=f=l=0;t.length=0}else{g=new Uint8Array(g.buffer,n,g.byteLength-h);t.push(g);e-=g.byteLength;break}}c._rowState=l;c._rowID= -k;c._rowTag=f;c._rowLength=e});a.on("error",function(g){W(c,g)});a.on("end",function(){W(c,Error("Connection closed."))});return X(c,0)};exports.createServerReference=function(a){return ka(a,Z)}; +function O(a){var b=U,d=V;U=a;V=null;var c=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var g=JSON.parse(c,a._response._fromJSON);if(null!==V&&0<V.deps)V.value=g,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=g;null!==h&&Q(h,g)}}catch(l){a.status="rejected",a.reason=l}finally{U=b,V=d}} +function P(a){try{var b=a.value,d=x.get(b.specifier);if("fulfilled"===d.status)var c=d.value;else throw d.reason;var g="*"===b.name?c:""===b.name?c.default:c[b.name];a.status="fulfilled";a.value=g}catch(h){a.status="rejected",a.reason=h}}function W(a,b){a._chunks.forEach(function(d){"pending"===d.status&&S(d,b)})}function X(a,b){var d=a._chunks,c=d.get(b);c||(c=new N("pending",null,null,a),d.set(b,c));return c} +function oa(a,b,d,c){if(V){var g=V;c||g.deps++}else g=V={deps:c?0:1,value:null};return function(h){b[d]=h;g.deps--;0===g.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=g.value,null!==h&&Q(h,g.value))}}function pa(a){return function(b){return S(a,b)}} +function qa(a,b){function d(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?c(b.id,h.value.concat(g)):Promise.resolve(h).then(function(l){return c(b.id,l.concat(g))}):c(b.id,g)}var c=a._callServer;L(d,b);return d}function Y(a,b){a=X(a,b);switch(a.status){case "resolved_model":O(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}} +function ra(a,b,d,c){if("$"===c[0]){if("$"===c)return B;switch(c[1]){case "$":return c.slice(1);case "L":return b=parseInt(c.slice(2),16),a=X(a,b),{$$typeof:F,_payload:a,_init:na};case "@":return b=parseInt(c.slice(2),16),X(a,b);case "S":return Symbol.for(c.slice(2));case "P":return a=c.slice(2),M[a]||(b={$$typeof:D,_currentValue:G,_currentValue2:G,_defaultValue:G,_threadCount:0,Provider:null,Consumer:null,_globalName:a},b.Provider={$$typeof:C,_context:b},M[a]=b),M[a].Provider;case "F":return b=parseInt(c.slice(2), +16),b=Y(a,b),qa(a,b);case "Q":return b=parseInt(c.slice(2),16),a=Y(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Y(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=X(a,c);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return c= +U,a.then(oa(c,b,d,"cyclic"===a.status),pa(c)),null;default:throw a.reason;}}}return c}function sa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ta(a,b,d,c){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==d?d:sa,_nonce:c,_chunks:g,_stringDecoder:new p.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ua(a);return a} +function va(a,b,d){var c=a._chunks,g=c.get(b);d=JSON.parse(d,a._fromJSON);var h=w(a._bundlerConfig,d);z(a._moduleLoading,d[1],a._nonce);if(d=y(h)){if(g){var l=g;l.status="blocked"}else l=new N("blocked",null,null,a),c.set(b,l);d.then(function(){return T(l,h)},function(k){return S(l,k)})}else g?T(g,h):c.set(b,new N("resolved_module",h,null,a))} +function ua(a){return function(b,d){return"string"===typeof d?ra(a,this,b,d):"object"===typeof d&&null!==d?(b=d[0]===B?{$$typeof:B,type:d[1],key:d[2],ref:null,props:d[3],_owner:null}:d,b):d}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");} +exports.createFromNodeStream=function(a,b,d){var c=ta(b.moduleMap,b.moduleLoading,Z,d&&"string"===typeof d.nonce?d.nonce:void 0);a.on("data",function(g){for(var h=0,l=c._rowState,k=c._rowID,e=c._rowTag,f=c._rowLength,t=c._buffer,E=g.length;h<E;){var m=-1;switch(l){case 0:m=g[h++];58===m?l=1:k=k<<4|(96<m?m-87:m-48);continue;case 1:l=g[h];84===l?(e=l,l=2,h++):64<l&&91>l?(e=l,l=3,h++):(e=0,l=3);continue;case 2:m=g[h++];44===m?l=4:f=f<<4|(96<m?m-87:m-48);continue;case 3:m=g.indexOf(10,h);break;case 4:m= +h+f,m>g.length&&(m=-1)}var n=g.byteOffset+h;if(-1<m){f=new Uint8Array(g.buffer,n,m-h);h=e;n=c._stringDecoder;e="";for(var q=0;q<t.length;q++)e+=n.decode(t[q],v);e+=n.decode(f);switch(h){case 73:va(c,k,e);break;case 72:k=e[0];e=e.slice(1);e=JSON.parse(e,c._fromJSON);if(f=A.current)switch(k){case "D":f.prefetchDNS(e);break;case "C":"string"===typeof e?f.preconnect(e):f.preconnect(e[0],e[1]);break;case "L":k=e[0];h=e[1];3===e.length?f.preload(k,h,e[2]):f.preload(k,h);break;case "m":"string"===typeof e? +f.preloadModule(e):f.preloadModule(e[0],e[1]);break;case "S":"string"===typeof e?f.preinitStyle(e):f.preinitStyle(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case "X":"string"===typeof e?f.preinitScript(e):f.preinitScript(e[0],e[1]);break;case "M":"string"===typeof e?f.preinitModuleScript(e):f.preinitModuleScript(e[0],e[1])}break;case 69:e=JSON.parse(e);f=e.digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."); +e.stack="Error: "+e.message;e.digest=f;f=c._chunks;(h=f.get(k))?S(h,e):f.set(k,new N("rejected",null,e,c));break;case 84:c._chunks.set(k,new N("fulfilled",e,null,c));break;default:f=c._chunks,(h=f.get(k))?(k=h,"pending"===k.status&&(f=k.value,h=k.reason,k.status="resolved_model",k.value=e,null!==f&&(O(k),R(k,f,h)))):f.set(k,new N("resolved_model",e,null,c))}h=m;3===l&&h++;f=k=e=l=0;t.length=0}else{g=new Uint8Array(g.buffer,n,g.byteLength-h);t.push(g);f-=g.byteLength;break}}c._rowState=l;c._rowID= +k;c._rowTag=e;c._rowLength=f});a.on("error",function(g){W(c,g)});a.on("end",function(){W(c,Error("Connection closed."))});return X(c,0)};exports.createServerReference=function(a){return ma(a,Z)}; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js index 53b331e413dce..05aeb90020804 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js @@ -680,14 +680,12 @@ function createHints() { // The Symbol used to tag the ReactElement-like types. var REACT_ELEMENT_TYPE = Symbol.for('react.element'); var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; @@ -705,12 +703,6 @@ function getIteratorFn(maybeIterable) { return null; } -var rendererSigil; - -{ - // Use this to detect multiple renderers using the same context - rendererSigil = {}; -} // Used to store the parent path of all context overrides in a shared linked list. // Forming a reverse tree. // The structure of a context snapshot is an implementation of this file. // Currently, it's implemented as tracking the current active node. @@ -843,52 +835,6 @@ function switchContext(newSnapshot) { currentActiveSnapshot = next; } } -function pushProvider(context, nextValue) { - var prevValue; - - { - prevValue = context._currentValue; - context._currentValue = nextValue; - - { - if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { - error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); - } - - context._currentRenderer = rendererSigil; - } - } - - var prevNode = currentActiveSnapshot; - var newNode = { - parent: prevNode, - depth: prevNode === null ? 0 : prevNode.depth + 1, - context: context, - parentValue: prevValue, - value: nextValue - }; - currentActiveSnapshot = newNode; - return newNode; -} -function popProvider() { - var prevSnapshot = currentActiveSnapshot; - - if (prevSnapshot === null) { - throw new Error('Tried to pop a Context at the root of the app. This is a bug in React.'); - } - - { - var value = prevSnapshot.parentValue; - - if (value === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - prevSnapshot.context._currentValue = prevSnapshot.context._defaultValue; - } else { - prevSnapshot.context._currentValue = value; - } - } - - return currentActiveSnapshot = prevSnapshot.parent; -} function getActiveContext() { return currentActiveSnapshot; } @@ -1179,6 +1125,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1197,7 +1145,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1213,7 +1161,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1489,57 +1437,14 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function getOrCreateServerContext(globalName) { - if (!ContextRegistry[globalName]) { - var context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _currentValue2: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _defaultValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - - { - var hasWarnedAboutUsingConsumer; - context._currentRenderer = null; - context._currentRenderer2 = null; - Object.defineProperties(context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - return null; - } - } - }); - } - - ContextRegistry[globalName] = context; - } - - return ContextRegistry[globalName]; +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); } +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1547,8 +1452,8 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1569,6 +1474,8 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + var hints = createHints(); var request = { status: OPEN, @@ -1590,8 +1497,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1600,7 +1509,7 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, } }; request.pendingChunks++; - var rootContext = createRootContext(context); + var rootContext = createRootContext(); var rootTask = createTask(request, model, rootContext, abortSet); pingedTasks.push(rootTask); return request; @@ -1613,11 +1522,9 @@ function resolveRequest() { } function createRootContext(reqContext) { - return importServerContexts(reqContext); + return importServerContexts(); } -var POP = {}; - function serializeThenable(request, thenable) { request.pendingChunks++; var newTask = createTask(request, null, getActiveContext(), request.abortableTasks); @@ -1837,32 +1744,6 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState { return attemptResolveElement(request, type.type, key, ref, props, prevThenableState); } - - case REACT_PROVIDER_TYPE: - { - pushProvider(type._context, props.value); - - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } - - return true; - }); - - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); - } - } - - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; - } } } @@ -1917,10 +1798,6 @@ function serializeSymbolReference(name) { return '$S' + name; } -function serializeProviderReference(name) { - return '$P' + name; -} - function serializeNumber(number) { if (Number.isFinite(number)) { if (number === 0 && 1 / number === -Infinity) { @@ -2009,10 +1886,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2045,12 +1921,44 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } @@ -2063,9 +1971,7 @@ function escapeStringValue(value) { return value; } } - -var insideContextProps = null; -var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2094,29 +2000,37 @@ function resolveModelToJSON(request, parent, key, value) { return '$'; } - { - if (parent[0] === REACT_ELEMENT_TYPE && parent[1] && parent[1].$$typeof === REACT_PROVIDER_TYPE && key === '3') { - insideContextProps = value; - } else if (insideContextProps === parent && key === 'value') { - isInsideContextValue = true; - } else if (insideContextProps === parent && key === 'children') { - isInsideContextValue = false; - } - } // Resolve Server Components. - while (typeof value === 'object' && value !== null && (value.$$typeof === REACT_ELEMENT_TYPE || value.$$typeof === REACT_LAZY_TYPE)) { - { - if (isInsideContextValue) { - error('React elements are not allowed in ServerContext'); - } - } try { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2168,35 +2082,61 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); - - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); - } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2207,27 +2147,29 @@ function resolveModelToJSON(request, parent, key, value) { return serializeSet(request, value); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2237,7 +2179,8 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2271,6 +2214,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2288,10 +2232,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2310,6 +2255,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + return serializeBigInt(value); } @@ -2329,7 +2275,8 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2393,14 +2340,12 @@ function emitSymbolChunk(request, id, name) { request.completedImportChunks.push(processedChunk); } -function emitProviderChunk(request, id, contextName) { - var contextReference = serializeProviderReference(contextName); - var processedChunk = encodeReferenceChunk(request, id, contextReference); - request.completedRegularChunks.push(processedChunk); -} - function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2419,7 +2364,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2436,11 +2382,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2593,7 +2545,7 @@ function flushCompletedChunks(request, destination) { } if (request.pendingChunks === 0) { - // We're done. + close$1(destination); } } @@ -2678,22 +2630,6 @@ function abort(request, reason) { } function importServerContexts(contexts) { - if (contexts) { - var prevContext = getActiveContext(); - switchContext(rootContextSnapshot); - - for (var i = 0; i < contexts.length; i++) { - var _contexts$i = contexts[i], - name = _contexts$i[0], - value = _contexts$i[1]; - var context = getOrCreateServerContext(name); - pushProvider(context, value); - } - - var importedContext = getActiveContext(); - switchContext(prevContext); - return importedContext; - } return rootContextSnapshot; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js index 716d379235d2a..0353e8ef26306 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js @@ -8,69 +8,71 @@ * LICENSE file in the root directory of this source tree. */ 'use strict';var aa=require("react-dom"),ba=require("react"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(512),n=0),a.enqueue(b);else{var d=l.length-n;d<b.byteLength&&(0===d?a.enqueue(l):(l.set(b.subarray(0,d),n),a.enqueue(l),b=b.subarray(d)),l=new Uint8Array(512),n=0);l.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} -var r=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);a.$$typeof=u;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);a.$$typeof=t;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider."); }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}}; -function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); -},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=v({},a.$$id,!0),e=new Proxy(c,ka);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=u({},a.$$id,!0),e=new Proxy(c,ka);a.status="fulfilled";a.value=e;return a.then=u(function(g){return Promise.resolve(g(e))},a.$$id+"#then",!1)}c=a[b];c||(c=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c} var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},sa={prefetchDNS:la,preconnect:ma,preload:na,preloadModule:oa,preinitStyle:pa,preinitScript:qa,preinitModuleScript:ra}; -function la(a){if("string"===typeof a&&a){var b=w?w:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),x(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?x(d,"C",[a,b]):x(d,"C",a))}}} -function na(a,b,d){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?x(c,"L",[a,b,d]):x(c,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"m",[a,b]):x(d,"m",a)}}} -function pa(a,b,d){if("string"===typeof a){var c=w?w:null;if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?x(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?x(c,"S",[a,b]):x(c,"S",a)}}}function qa(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"X",[a,b]):x(d,"X",a)}}} -function ra(a,b){if("string"===typeof a){var d=w?w:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"M",[a,b]):x(d,"M",a)}}}function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var ta=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),ua=Symbol.for("react.fragment"),va=Symbol.for("react.provider"),wa=Symbol.for("react.server_context"),xa=Symbol.for("react.forward_ref"),ya=Symbol.for("react.suspense"),za=Symbol.for("react.suspense_list"),Aa=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),Ba=Symbol.for("react.memo_cache_sentinel"),Ca=Symbol.iterator,D=null; -function F(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");F(a,d);b.context._currentValue=b.value}}}function Da(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Da(a)} -function Ea(a){var b=a.parent;null!==b&&Ea(b);a.context._currentValue=a.value}function Fa(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?F(a,b):Fa(a,b)} -function Ga(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?F(a,d):Ga(a,d);b.context._currentValue=b.value}function Ha(a){var b=D;b!==a&&(null===b?Ea(a):null===a?Da(b):b.depth===a.depth?F(b,a):b.depth>a.depth?Fa(b,a):Ga(b,a),D=a)}function Ia(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ja=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Ka(){}function La(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ka,Ka),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}H=b;throw Ja;}}var H=null; -function Ma(){if(null===H)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=H;H=null;return a}var I=null,J=0,K=null;function Na(){var a=K;K=null;return a}function Oa(a){return a._currentValue} -var Sa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:L,useTransition:L,readContext:Oa,useContext:Oa,useReducer:L,useRef:L,useState:L,useInsertionEffect:L,useLayoutEffect:L,useImperativeHandle:L,useEffect:L,useId:Pa,useSyncExternalStore:L,useCacheRefresh:function(){return Qa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ba;return b},use:Ra}; -function L(){throw Error("This Hook is not supported in Server Components.");}function Qa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Pa(){if(null===I)throw Error("useId can only be used while React is rendering");var a=I.identifierCount++;return":"+I.identifierPrefix+"S"+a.toString(32)+":"} -function Ra(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return La(K,a,b)}if(a.$$typeof===wa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ta(){return(new AbortController).signal}function Ua(){var a=w?w:null;return a?a.cache:new Map} -var Va={getCacheSignal:function(){var a=Ua(),b=a.get(Ta);void 0===b&&(b=Ta(),a.set(Ta,b));return b},getCacheForType:function(a){var b=Ua(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Wa=Array.isArray;function Xa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function Ya(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Wa(a))return"[...]";a=Xa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function M(a){if("string"===typeof a)return a;switch(a){case ya:return"Suspense";case za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case xa:return M(a.render);case Aa:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""} -function N(a,b){var d=Xa(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Wa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):Ya(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -Ya(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Za=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$a=Za.ContextRegistry,O=JSON.stringify,ab=Za.ReactCurrentDispatcher,bb=Za.ReactCurrentCache;function cb(a){console.error(a)}function db(){} -function eb(a,b,d,c,e,f){if(null!==bb.current&&bb.current!==Va)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=sa;bb.current=Va;var g=new Set,h=[],k=new Set,m={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?cb:d,onPostpone:void 0===f?db:f,toJSON:function(t,E){return fb(m,this,t,E)}};m.pendingChunks++;b=gb(c);a=hb(m,a,b,g);h.push(a);return m}var w=null,ib={}; -function jb(a,b){a.pendingChunks++;var d=hb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,kb(a,d),d.id;case "rejected":var c=P(a,b.reason);Q(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;kb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=P(a,e);Q(a, -d.id,e);null!==a.destination&&R(a,a.destination)});return d.id}function x(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,R(a,d))}function lb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function mb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:lb}} -function S(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[z,b,d,e];J=0;K=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:mb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===ua?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[z,b,d,e];switch(b.$$typeof){case A:var g= -b._init;b=g(b._payload);return S(a,b,d,c,e,f);case xa:return a=b.render,J=0,K=f,a(e,void 0);case Aa:return S(a,b.type,d,c,e,f);case va:return Ia(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:ib}]}}throw Error("Unsupported Server Component type: "+Ya(b));}function kb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,nb(a))} -function hb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return kb(a,e)},thenableState:null};c.add(e);return e}function T(a){return"$"+a.toString(16)}function ob(a,b,d){a=O(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} -function pb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):T(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var m=h[k];if(m)g=m.name;else{var t=k.lastIndexOf("#");-1!==t&&(g=k.slice(t+1),m=h[k.slice(0,t)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var E=!0===c.$$async?[m.id,m.chunks,g,1]:[m.id,m.chunks, -g];a.pendingChunks++;var G=a.nextChunkId++,B=O(E),Ib=G.toString(16)+":I"+B+"\n",Jb=q.encode(Ib);a.completedImportChunks.push(Jb);f.set(e,G);return b[0]===z&&"1"===d?"$L"+G.toString(16):T(G)}catch(Kb){return a.pendingChunks++,b=a.nextChunkId++,d=P(a,Kb),Q(a,b,d),T(b)}}function qb(a,b){a.pendingChunks++;var d=a.nextChunkId++;rb(a,d,b);return d} -function fb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=S(a,e.type,e.key,e.ref,e.props,null);break;case A:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ja?Ma():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=hb(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Na(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=P(a,d);Q(a,c,d);return"$L"+ -c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===r)return pb(a,b,d,c);if("function"===typeof c.then)return"$@"+jb(a,c).toString(16);if(c.$$typeof===va)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=ob(a,d,"$P"+c),a.completedRegularChunks.push(c)),T(d);if(c===ib){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue= -c===C?a.context._defaultValue:c;D=a.parent;return}return c instanceof Map?"$Q"+qb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+qb(a,Array.from(c)).toString(16):!Wa(c)&&(null===c||"object"!==typeof c?a=null:(a=Ca&&c[Ca]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,c=q.encode(c),b=c.byteLength,b=d.toString(16)+":T"+b.toString(16)+ -",",b=q.encode(b),a.completedRegularChunks.push(b,c),T(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===r)return pb(a,b,d,c);if(c.$$typeof===u)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b? -Promise.resolve(b):null},a=qb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return T(f);f=c.description; -if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=ob(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return T(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function P(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function sb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} -function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}function rb(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";b=q.encode(b);a.completedRegularChunks.push(b)} -function nb(a){var b=ab.current;ab.current=Sa;var d=w;I=w=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];var g=a;if(0===f.status){Ha(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===z){var k=h,m=f.thenableState;f.model=h;h=S(g,k.type,k.key,k.ref,k.props,m);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===z;)k=h,f.model=h,h=S(g,k.type,k.key,k.ref,k.props,null)}rb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(B){var t= -B===Ja?Ma():B;if("object"===typeof t&&null!==t&&"function"===typeof t.then){var E=f.ping;t.then(E,E);f.thenableState=Na()}else{g.abortableTasks.delete(f);f.status=4;var G=P(g,t);Q(g,f.id,G)}}}}null!==a.destination&&R(a,a.destination)}catch(B){P(a,B),sb(a,B)}finally{ab.current=b,I=null,w=d}} -function R(a,b){l=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&& -b.close()}function tb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=P(a,c);a.pendingChunks++;var f=a.nextChunkId++;Q(a,f,e,c);d.forEach(function(g){g.status=3;var h=T(f);g=ob(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){P(a,g),sb(a,g)}} -function gb(a){if(a){var b=D;Ha(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!$a[e]){var f={$$typeof:wa,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:va,_context:f};$a[e]=f}Ia($a[e],c)}a=D;Ha(b);return a}return null} -function ub(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var U=new Map; -function vb(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function wb(){} -function xb(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++],f=b[c++],g=U.get(e);void 0===g?(yb.set(e,f),f=__webpack_chunk_load__(e),d.push(f),g=U.set.bind(U,e,null),f.then(g,wb),U.set(e,f)):null!==g&&d.push(g)}return 4===a.length?0===d.length?vb(a[0]):Promise.all(d).then(function(){return vb(a[0])}):0<d.length?Promise.all(d):null} -function V(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}var yb=new Map,zb=__webpack_require__.u;__webpack_require__.u=function(a){var b=yb.get(a);return void 0!==b?b:zb(a)};function W(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}W.prototype=Object.create(Promise.prototype); -W.prototype.then=function(a,b){switch(this.status){case "resolved_model":Ab(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Bb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Cb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Bb(d,b)}}function Db(a,b,d,c,e,f){var g=ub(a._bundlerConfig,b);a=xb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=V(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return V(g)});else return V(g);d.then(Eb(c,e,f),Fb(c));return null}var X=null,Y=null; -function Ab(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Gb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Cb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new W("resolved_model",c,null,a):new W("pending",null,null,a),d.set(b,c));return c}function Eb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Bb(e,c.value))}}function Fb(a){return function(b){return Cb(a,b)}} -function Hb(a,b){a=Z(a,b);"resolved_model"===a.status&&Ab(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Lb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Hb(a,c),Db(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Hb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Hb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Ab(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Eb(c,b,d),Fb(c)),null;default:throw a.reason;}}return c} -function Mb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Lb(e,this,f,g):g}};return e}function Nb(a){Gb(a,Error("Connection closed."))}function Ob(a,b,d){var c=ub(a,b);a=xb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=V(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return V(c)}):Promise.resolve(V(c))} -function Pb(a,b,d){a=Mb(b,d,a);Nb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ka)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Pb(a,b,e),c=Ob(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Ob(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; -exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=Pb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Mb(b,"",a);Nb(a);return Z(a,0)}; -exports.registerClientReference=function(a,b,d){return v(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; -exports.renderToReadableStream=function(a,b,d){var c=eb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)tb(c,e.reason);else{var f=function(){tb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){c.flushScheduled=null!==c.destination;nb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null=== -c.destination){c.destination=g;try{R(c,g)}catch(h){P(c,h),sb(c,h)}}},cancel:function(g){c.destination=null;tb(c,g)}},{highWaterMark:0})}; +function la(a){if("string"===typeof a&&a){var b=v?v:null;if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),w(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?w(d,"C",[a,b]):w(d,"C",a))}}} +function na(a,b,d){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,g="L";if("image"===b&&d){var f=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof f&&""!==f?(h+="["+f+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;g+="[image]"+h}else g+="["+b+"]"+a;e.has(g)||(e.add(g),(d=y(d))?w(c,"L",[a,b,d]):w(c,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"m",[a,b]):w(d,"m",a)}}} +function pa(a,b,d){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,g="S|"+a;if(!e.has(g))return e.add(g),(d=y(d))?w(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?w(c,"S",[a,b]):w(c,"S",a)}}}function qa(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"X",[a,b]):w(d,"X",a)}}} +function ra(a,b){if("string"===typeof a){var d=v?v:null;if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"M",[a,b]):w(d,"M",a)}}}function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} +var ta=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),ua=Symbol.for("react.fragment"),va=Symbol.for("react.server_context"),wa=Symbol.for("react.forward_ref"),xa=Symbol.for("react.suspense"),ya=Symbol.for("react.suspense_list"),za=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Aa=Symbol.for("react.memo_cache_sentinel"),Ba=Symbol.iterator,B=null; +function C(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");C(a,d);b.context._currentValue=b.value}}}function Ca(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ca(a)} +function Da(a){var b=a.parent;null!==b&&Da(b);a.context._currentValue=a.value}function Ea(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?C(a,b):Ea(a,b)} +function Fa(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?C(a,d):Fa(a,d);b.context._currentValue=b.value}var Ga=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Ha(){}function Ia(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ha,Ha),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}D=b;throw Ga;}}var D=null; +function Ja(){if(null===D)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=D;D=null;return a}var E=null,F=0,G=null;function Ka(){var a=G;G=null;return a}function La(a){return a._currentValue} +var Pa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:La,useContext:La,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:Ma,useSyncExternalStore:H,useCacheRefresh:function(){return Na},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Aa;return b},use:Oa}; +function H(){throw Error("This Hook is not supported in Server Components.");}function Na(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ma(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Oa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=F;F+=1;null===G&&(G=[]);return Ia(G,a,b)}if(a.$$typeof===va)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Qa(){return(new AbortController).signal}function Ra(){var a=v?v:null;return a?a.cache:new Map} +var Sa={getCacheSignal:function(){var a=Ra(),b=a.get(Qa);void 0===b&&(b=Qa(),a.set(Qa,b));return b},getCacheForType:function(a){var b=Ra(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Ta=Array.isArray,Ua=Object.getPrototypeOf;function Va(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function Wa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ta(a))return"[...]";a=Va(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case xa:return"Suspense";case ya:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case wa:return I(a.render);case za:return I(a.type);case A:var b=a._payload;a=a._init;try{return I(a(b))}catch(d){}}return""} +function J(a,b){var d=Va(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Ta(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?J(f):Wa(f);""+g===b?(d=e.length,c=f.length,e+=f):e=10>f.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+I(a.type)+"/>";else{e="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(e+=", ");var k=g[f],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?J(h): +Wa(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Xa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ya=ba.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!Ya)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); +var Za=Object.prototype,K=JSON.stringify,$a=Ya.ReactCurrentCache,ab=Xa.ReactCurrentDispatcher;function bb(a){console.error(a)}function cb(){} +function db(a,b,d,c,e,g){if(null!==$a.current&&$a.current!==Sa)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=sa;$a.current=Sa;var f=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:f,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===d?bb:d,onPostpone:void 0===g?cb:g,toJSON:function(m,x){return eb(h,this,m,x)}};h.pendingChunks++;a=L(h,a,null,f);c.push(a);return h}var v=null; +function fb(a,b){a.pendingChunks++;var d=L(a,null,B,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,gb(a,d),d.id;case "rejected":var c=M(a,b.reason);N(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;gb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=M(a,e);N(a, +d.id,e);null!==a.destination&&O(a,a.destination)});return d.id}function w(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(d=a.destination,a.flushScheduled=!0,O(a,d))}function hb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function ib(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:hb}} +function P(a,b,d,c,e,g){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[z,b,d,e];F=0;G=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:ib(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===ua?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[z,b,d,e];switch(b.$$typeof){case A:var f= +b._init;b=f(b._payload);return P(a,b,d,c,e,g);case wa:return a=b.render,F=0,G=g,a(e,void 0);case za:return P(a,b.type,d,c,e,g)}}throw Error("Unsupported Server Component type: "+Wa(b));}function gb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,jb(a))}function L(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return gb(a,e)},thenableState:null};c.add(e);return e}function Q(a){return"$"+a.toString(16)} +function kb(a,b,d){a=K(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} +function lb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,g=a.writtenClientReferences,f=g.get(e);if(void 0!==f)return b[0]===z&&"1"===d?"$L"+f.toString(16):Q(f);try{var k=a.bundlerConfig,h=c.$$id;f="";var m=k[h];if(m)f=m.name;else{var x=h.lastIndexOf("#");-1!==x&&(f=h.slice(x+1),m=k[h.slice(0,x)]);if(!m)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var Db=!0===c.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks, +f];a.pendingChunks++;var X=a.nextChunkId++,Eb=K(Db),Fb=X.toString(16)+":I"+Eb+"\n",Gb=q.encode(Fb);a.completedImportChunks.push(Gb);g.set(e,X);return b[0]===z&&"1"===d?"$L"+X.toString(16):Q(X)}catch(Hb){return a.pendingChunks++,b=a.nextChunkId++,d=M(a,Hb),N(a,b,d),Q(b)}}function R(a,b){a.pendingChunks++;b=L(a,b,B,a.abortableTasks);mb(a,b);return b.id}var S=!1; +function eb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=a.writtenObjects,g=e.get(c);if(void 0!==g){if(-1===g){var f=R(a,c);return Q(f)}if(S===c)S=null;else return Q(g)}else e.set(c,-1);var k=c;c=P(a,k.type,k.key,k.ref,k.props,null);break;case A:var h=c._init;c=h(c._payload)}}catch(m){b=m===Ga?Ja():m;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=L(a,c,B,a.abortableTasks), +c=a.ping,b.then(c,c),a.thenableState=Ka(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=M(a,b);N(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===r)return lb(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===typeof c.then){if(void 0!==d)if(S===c)S=null;else return"$@"+d.toString(16);a=fb(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=R(a,c),Q(a);if(S===c)S=null;else return Q(d)}else b.set(c,-1);if(Ta(c))return c; +if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+R(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+R(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Ba&&c[Ba]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Ua(c);if(a!== +Za&&(null===a||null!==Ua(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,c=q.encode(c),d=c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",d=q.encode(d),a.completedRegularChunks.push(d,c),Q(b);a="$"===c[0]?"$"+c:c;return a}if("boolean"=== +typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===r)return lb(a,b,d,c);if(c.$$typeof===t)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=R(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+ +J(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+J(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;g=e.get(c);if(void 0!==g)return Q(g);g=c.description;if(Symbol.for(g)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+ +J(b,d));a.pendingChunks++;b=a.nextChunkId++;d=kb(a,b,"$S"+g);a.completedImportChunks.push(d);e.set(c,b);return Q(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+J(b,d));} +function M(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function nb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} +function N(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)} +function mb(a,b){if(0===b.status){var d=B,c=b.context;d!==c&&(null===d?Da(c):null===c?Ca(d):d.depth===c.depth?C(d,c):d.depth>c.depth?Ea(d,c):Fa(d,c),B=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===z){a.writtenObjects.set(e,b.id);d=e;var g=b.thenableState;b.model=e;e=P(a,d.type,d.key,d.ref,d.props,g);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===z;)a.writtenObjects.set(e,b.id),g=e,b.model=e,e=P(a,g.type,g.key,g.ref,g.props,null)}"object"===typeof e&&null!== +e&&a.writtenObjects.set(e,b.id);var f=b.id;S=e;var k=K(e,a.toJSON),h=f.toString(16)+":"+k+"\n",m=q.encode(h);a.completedRegularChunks.push(m);a.abortableTasks.delete(b);b.status=1}catch(x){f=x===Ga?Ja():x,"object"===typeof f&&null!==f&&"function"===typeof f.then?(a=b.ping,f.then(a,a),b.thenableState=Ka()):(a.abortableTasks.delete(b),b.status=4,f=M(a,f),N(a,b.id,f))}}} +function jb(a){var b=ab.current;ab.current=Pa;var d=v;E=v=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)mb(a,c[e]);null!==a.destination&&O(a,a.destination)}catch(g){M(a,g),nb(a,g)}finally{ab.current=b,E=null,v=d}} +function O(a,b){l=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var g=a.completedRegularChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c);var f=a.completedErrorChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&& +b.close()}function ob(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=M(a,c);a.pendingChunks++;var g=a.nextChunkId++;N(a,g,e,c);d.forEach(function(f){f.status=3;var k=Q(g);f=kb(a,f.id,k);a.completedErrorChunks.push(f)});d.clear()}null!==a.destination&&O(a,a.destination)}catch(f){M(a,f),nb(a,f)}} +function pb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var T=new Map; +function qb(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function rb(){} +function sb(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++],g=b[c++],f=T.get(e);void 0===f?(tb.set(e,g),g=__webpack_chunk_load__(e),d.push(g),f=T.set.bind(T,e,null),g.then(f,rb),T.set(e,g)):null!==f&&d.push(f)}return 4===a.length?0===d.length?qb(a[0]):Promise.all(d).then(function(){return qb(a[0])}):0<d.length?Promise.all(d):null} +function U(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}var tb=new Map,ub=__webpack_require__.u;__webpack_require__.u=function(a){var b=tb.get(a);return void 0!==b?b:ub(a)};function V(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}V.prototype=Object.create(Promise.prototype); +V.prototype.then=function(a,b){switch(this.status){case "resolved_model":vb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function wb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function xb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&wb(d,b)}}function yb(a,b,d,c,e,g){var f=pb(a._bundlerConfig,b);a=sb(f);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=U(f);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return U(f)});else return U(f);d.then(zb(c,e,g),Ab(c));return null}var W=null,Y=null; +function vb(a){var b=W,d=Y;W=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{W=b,Y=d}}function Bb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&xb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new V("resolved_model",c,null,a):new V("pending",null,null,a),d.set(b,c));return c}function zb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&wb(e,c.value))}}function Ab(a){return function(b){return xb(a,b)}} +function Cb(a,b){a=Z(a,b);"resolved_model"===a.status&&vb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Ib(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Cb(a,c),yb(a,c.id,c.bound,W,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Cb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Cb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,k){k.startsWith(e)&&g.append(k.slice(e.length), +f)});return g;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":vb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=W,a.then(zb(c,b,d),Ab(c)),null;default:throw a.reason;}}return c} +function Jb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(g,f){return"string"===typeof f?Ib(e,this,g,f):f}};return e}function Kb(a){Bb(a,Error("Connection closed."))}function Lb(a,b,d){var c=pb(a,b);a=sb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var g=U(c);return g.bind.apply(g,[null].concat(e))}):a?Promise.resolve(a).then(function(){return U(c)}):Promise.resolve(U(c))} +function Mb(a,b,d){a=Jb(b,d,a);Kb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ka)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(e="$ACTION_"+g.slice(12)+":",e=Mb(a,b,e),c=Lb(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),c=Lb(b,e,null)):d.append(g,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; +exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(f,k){k.startsWith("$ACTION_REF_")&&(f="$ACTION_"+k.slice(12)+":",e=Mb(b,d,f))});if(null===e)return Promise.resolve(null);var g=e.id;return Promise.resolve(e.bound).then(function(f){return null===f?null:[a,c,g,f.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Jb(b,"",a);Kb(a);return Z(a,0)}; +exports.registerClientReference=function(a,b,d){return u(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; +exports.renderToReadableStream=function(a,b,d){var c=db(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)ob(c,e.reason);else{var g=function(){ob(c,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){c.flushScheduled=null!==c.destination;jb(c)},pull:function(f){if(1===c.status)c.status=2,ca(f,c.fatalError);else if(2!==c.status&&null=== +c.destination){c.destination=f;try{O(c,f)}catch(k){M(c,k),nb(c,k)}}},cancel:function(f){c.destination=null;ob(c,f)}},{highWaterMark:0})}; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js index fb7a0cc0315d0..e384c40ca1aa6 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js @@ -683,14 +683,12 @@ var requestStorage = supportsRequestStorage ? new AsyncLocalStorage() : null; // The Symbol used to tag the ReactElement-like types. var REACT_ELEMENT_TYPE = Symbol.for('react.element'); var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; @@ -708,12 +706,6 @@ function getIteratorFn(maybeIterable) { return null; } -var rendererSigil; - -{ - // Use this to detect multiple renderers using the same context - rendererSigil = {}; -} // Used to store the parent path of all context overrides in a shared linked list. // Forming a reverse tree. // The structure of a context snapshot is an implementation of this file. // Currently, it's implemented as tracking the current active node. @@ -846,52 +838,6 @@ function switchContext(newSnapshot) { currentActiveSnapshot = next; } } -function pushProvider(context, nextValue) { - var prevValue; - - { - prevValue = context._currentValue; - context._currentValue = nextValue; - - { - if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { - error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); - } - - context._currentRenderer = rendererSigil; - } - } - - var prevNode = currentActiveSnapshot; - var newNode = { - parent: prevNode, - depth: prevNode === null ? 0 : prevNode.depth + 1, - context: context, - parentValue: prevValue, - value: nextValue - }; - currentActiveSnapshot = newNode; - return newNode; -} -function popProvider() { - var prevSnapshot = currentActiveSnapshot; - - if (prevSnapshot === null) { - throw new Error('Tried to pop a Context at the root of the app. This is a bug in React.'); - } - - { - var value = prevSnapshot.parentValue; - - if (value === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - prevSnapshot.context._currentValue = prevSnapshot.context._defaultValue; - } else { - prevSnapshot.context._currentValue = value; - } - } - - return currentActiveSnapshot = prevSnapshot.parent; -} function getActiveContext() { return currentActiveSnapshot; } @@ -1182,6 +1128,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1200,7 +1148,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1216,7 +1164,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1492,57 +1440,14 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function getOrCreateServerContext(globalName) { - if (!ContextRegistry[globalName]) { - var context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _currentValue2: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _defaultValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - - { - var hasWarnedAboutUsingConsumer; - context._currentRenderer = null; - context._currentRenderer2 = null; - Object.defineProperties(context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - return null; - } - } - }); - } - - ContextRegistry[globalName] = context; - } - - return ContextRegistry[globalName]; +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); } +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1550,8 +1455,8 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1572,6 +1477,8 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + var hints = createHints(); var request = { status: OPEN, @@ -1593,8 +1500,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1603,7 +1512,7 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, } }; request.pendingChunks++; - var rootContext = createRootContext(context); + var rootContext = createRootContext(); var rootTask = createTask(request, model, rootContext, abortSet); pingedTasks.push(rootTask); return request; @@ -1621,11 +1530,9 @@ function resolveRequest() { } function createRootContext(reqContext) { - return importServerContexts(reqContext); + return importServerContexts(); } -var POP = {}; - function serializeThenable(request, thenable) { request.pendingChunks++; var newTask = createTask(request, null, getActiveContext(), request.abortableTasks); @@ -1845,32 +1752,6 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState { return attemptResolveElement(request, type.type, key, ref, props, prevThenableState); } - - case REACT_PROVIDER_TYPE: - { - pushProvider(type._context, props.value); - - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } - - return true; - }); - - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); - } - } - - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; - } } } @@ -1925,10 +1806,6 @@ function serializeSymbolReference(name) { return '$S' + name; } -function serializeProviderReference(name) { - return '$P' + name; -} - function serializeNumber(number) { if (Number.isFinite(number)) { if (number === 0 && 1 / number === -Infinity) { @@ -2017,10 +1894,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2053,12 +1929,44 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } @@ -2071,9 +1979,7 @@ function escapeStringValue(value) { return value; } } - -var insideContextProps = null; -var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2102,29 +2008,37 @@ function resolveModelToJSON(request, parent, key, value) { return '$'; } - { - if (parent[0] === REACT_ELEMENT_TYPE && parent[1] && parent[1].$$typeof === REACT_PROVIDER_TYPE && key === '3') { - insideContextProps = value; - } else if (insideContextProps === parent && key === 'value') { - isInsideContextValue = true; - } else if (insideContextProps === parent && key === 'children') { - isInsideContextValue = false; - } - } // Resolve Server Components. - while (typeof value === 'object' && value !== null && (value.$$typeof === REACT_ELEMENT_TYPE || value.$$typeof === REACT_LAZY_TYPE)) { - { - if (isInsideContextValue) { - error('React elements are not allowed in ServerContext'); - } - } try { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2176,35 +2090,61 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); - - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); - } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2215,27 +2155,29 @@ function resolveModelToJSON(request, parent, key, value) { return serializeSet(request, value); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2245,7 +2187,8 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2279,6 +2222,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2296,10 +2240,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2318,6 +2263,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + return serializeBigInt(value); } @@ -2337,7 +2283,8 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2401,14 +2348,12 @@ function emitSymbolChunk(request, id, name) { request.completedImportChunks.push(processedChunk); } -function emitProviderChunk(request, id, contextName) { - var contextReference = serializeProviderReference(contextName); - var processedChunk = encodeReferenceChunk(request, id, contextReference); - request.completedRegularChunks.push(processedChunk); -} - function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2427,7 +2372,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2444,11 +2390,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2601,7 +2553,7 @@ function flushCompletedChunks(request, destination) { } if (request.pendingChunks === 0) { - // We're done. + close$1(destination); } } @@ -2690,22 +2642,6 @@ function abort(request, reason) { } function importServerContexts(contexts) { - if (contexts) { - var prevContext = getActiveContext(); - switchContext(rootContextSnapshot); - - for (var i = 0; i < contexts.length; i++) { - var _contexts$i = contexts[i], - name = _contexts$i[0], - value = _contexts$i[1]; - var context = getOrCreateServerContext(name); - pushProvider(context, value); - } - - var importedContext = getActiveContext(); - switchContext(prevContext); - return importedContext; - } return rootContextSnapshot; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js index 628e72066db0f..d59bc153edd3a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js @@ -8,70 +8,72 @@ * LICENSE file in the root directory of this source tree. */ 'use strict';var aa=require("react"),ba=require("react-dom"),m=null,n=0;function p(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var d=m.length-n;d<b.byteLength&&(0===d?a.enqueue(m):(m.set(b.subarray(0,d),n),a.enqueue(m),b=b.subarray(d)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()} -var t=Symbol.for("react.client.reference"),u=Symbol.for("react.server.reference");function v(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===u){var b=ea.call(arguments,1);a.$$typeof=u;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,d){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:d}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);a.$$typeof=t;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider."); }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}}; -function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); -},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=v({},a.$$id,!0),e=new Proxy(c,ka);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=u({},a.$$id,!0),e=new Proxy(c,ka);a.status="fulfilled";a.value=e;return a.then=u(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ia));return c} var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},sa={prefetchDNS:la,preconnect:ma,preload:na,preloadModule:oa,preinitStyle:pa,preinitScript:qa,preinitModuleScript:ra}; -function la(a){if("string"===typeof a&&a){var b=w();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),x(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?x(d,"C",[a,b]):x(d,"C",a))}}} -function na(a,b,d){if("string"===typeof a){var c=w();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?x(c,"L",[a,b,d]):x(c,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"m",[a,b]):x(d,"m",a)}}} -function pa(a,b,d){if("string"===typeof a){var c=w();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?x(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?x(c,"S",[a,b]):x(c,"S",a)}}}function qa(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"X",[a,b]):x(d,"X",a)}}}function ra(a,b){if("string"===typeof a){var d=w();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?x(d,"M",[a,b]):x(d,"M",a)}}} +function la(a){if("string"===typeof a&&a){var b=v();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),w(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?w(d,"C",[a,b]):w(d,"C",a))}}} +function na(a,b,d){if("string"===typeof a){var c=v();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=y(d))?w(c,"L",[a,b,d]):w(c,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"m",[a,b]):w(d,"m",a)}}} +function pa(a,b,d){if("string"===typeof a){var c=v();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=y(d))?w(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?w(c,"S",[a,b]):w(c,"S",a)}}}function qa(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"X",[a,b]):w(d,"X",a)}}}function ra(a,b){if("string"===typeof a){var d=v();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=y(b))?w(d,"M",[a,b]):w(d,"M",a)}}} function y(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var ta=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,ua="function"===typeof AsyncLocalStorage,va=ua?new AsyncLocalStorage:null,z=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.provider"),ya=Symbol.for("react.server_context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),C=Symbol.for("react.default_value"),Da=Symbol.for("react.memo_cache_sentinel"), -Ea=Symbol.iterator,D=null;function F(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");F(a,d);b.context._currentValue=b.value}}}function Fa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Fa(a)} -function Ga(a){var b=a.parent;null!==b&&Ga(b);a.context._currentValue=a.value}function Ha(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?F(a,b):Ha(a,b)} -function Ia(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?F(a,d):Ia(a,d);b.context._currentValue=b.value}function Ja(a){var b=D;b!==a&&(null===b?Ga(a):null===a?Fa(b):b.depth===a.depth?F(b,a):b.depth>a.depth?Ha(b,a):Ia(b,a),D=a)}function Ka(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var La=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Ma(){}function Na(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ma,Ma),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}H=b;throw La;}}var H=null; -function Oa(){if(null===H)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=H;H=null;return a}var I=null,J=0,K=null;function Pa(){var a=K;K=null;return a}function Qa(a){return a._currentValue} -var Ua={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:L,useTransition:L,readContext:Qa,useContext:Qa,useReducer:L,useRef:L,useState:L,useInsertionEffect:L,useLayoutEffect:L,useImperativeHandle:L,useEffect:L,useId:Ra,useSyncExternalStore:L,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Da;return b},use:Ta}; -function L(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ra(){if(null===I)throw Error("useId can only be used while React is rendering");var a=I.identifierCount++;return":"+I.identifierPrefix+"S"+a.toString(32)+":"} -function Ta(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return Na(K,a,b)}if(a.$$typeof===ya)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Va(){return(new AbortController).signal}function Wa(){var a=w();return a?a.cache:new Map} -var Xa={getCacheSignal:function(){var a=Wa(),b=a.get(Va);void 0===b&&(b=Va(),a.set(Va,b));return b},getCacheForType:function(a){var b=Wa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Ya=Array.isArray;function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function $a(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ya(a))return"[...]";a=Za(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function M(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return M(a.render);case Ca:return M(a.type);case A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""} -function N(a,b){var d=Za(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Ya(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?N(g):$a(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+M(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?N(k): -$a(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var ab=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bb=ab.ContextRegistry,O=JSON.stringify,cb=ab.ReactCurrentDispatcher,db=ab.ReactCurrentCache;function eb(a){console.error(a)}function fb(){} -function gb(a,b,d,c,e,f){if(null!==db.current&&db.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=sa;db.current=Xa;var g=new Set,h=[],k=new Set,l={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?eb:d,onPostpone:void 0===f?fb:f,toJSON:function(r,E){return hb(l,this,r,E)}};l.pendingChunks++;b=ib(c);a=jb(l,a,b,g);h.push(a);return l}var P=null;function w(){if(P)return P;if(ua){var a=va.getStore();if(a)return a}return null}var kb={}; -function lb(a,b){a.pendingChunks++;var d=jb(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,mb(a,d),d.id;case "rejected":var c=Q(a,b.reason);R(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;mb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=Q(a,e);R(a, -d.id,e);null!==a.destination&&S(a,a.destination)});return d.id}function x(a,b,d){d=O(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);nb(a)}function ob(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function pb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:ob}} -function T(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[z,b,d,e];J=0;K=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:pb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[z,b,d,e];switch(b.$$typeof){case A:var g= -b._init;b=g(b._payload);return T(a,b,d,c,e,f);case za:return a=b.render,J=0,K=f,a(e,void 0);case Ca:return T(a,b.type,d,c,e,f);case xa:return Ka(b._context,e.value),[z,b,d,{value:e.value,children:e.children,__pop:kb}]}}throw Error("Unsupported Server Component type: "+$a(b));}function mb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return qb(a)},0))} -function jb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return mb(a,e)},thenableState:null};c.add(e);return e}function U(a){return"$"+a.toString(16)}function rb(a,b,d){a=O(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} -function sb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):U(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var l=h[k];if(l)g=l.name;else{var r=k.lastIndexOf("#");-1!==r&&(g=k.slice(r+1),l=h[k.slice(0,r)]);if(!l)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var E=!0===c.$$async?[l.id,l.chunks,g,1]:[l.id,l.chunks, -g];a.pendingChunks++;var G=a.nextChunkId++,B=O(E),Lb=G.toString(16)+":I"+B+"\n",Mb=q.encode(Lb);a.completedImportChunks.push(Mb);f.set(e,G);return b[0]===z&&"1"===d?"$L"+G.toString(16):U(G)}catch(Nb){return a.pendingChunks++,b=a.nextChunkId++,d=Q(a,Nb),R(a,b,d),U(b)}}function tb(a,b){a.pendingChunks++;var d=a.nextChunkId++;ub(a,d,b);return d} -function hb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=c;c=T(a,e.type,e.key,e.ref,e.props,null);break;case A:var f=c._init;c=f(c._payload)}}catch(g){d=g===La?Oa():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=jb(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Pa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=Q(a,d);R(a,c,d);return"$L"+ -c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return sb(a,b,d,c);if("function"===typeof c.then)return"$@"+lb(a,c).toString(16);if(c.$$typeof===xa)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=rb(a,d,"$P"+c),a.completedRegularChunks.push(c)),U(d);if(c===kb){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue= -c===C?a.context._defaultValue:c;D=a.parent;return}return c instanceof Map?"$Q"+tb(a,Array.from(c)).toString(16):c instanceof Set?"$W"+tb(a,Array.from(c)).toString(16):!Ya(c)&&(null===c||"object"!==typeof c?a=null:(a=Ea&&c[Ea]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,c=q.encode(c),b=c.byteLength,b=d.toString(16)+":T"+b.toString(16)+ -",",b=q.encode(b),a.completedRegularChunks.push(b,c),U(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return sb(a,b,d,c);if(c.$$typeof===u)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,b={id:c.$$id,bound:b? -Promise.resolve(b):null},a=tb(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+N(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return U(f);f=c.description; -if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=rb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return U(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));} -function Q(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function vb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} -function R(a,b,d){d={digest:d};b=b.toString(16)+":E"+O(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}function ub(a,b,d){d=O(d,a.toJSON);b=b.toString(16)+":"+d+"\n";b=q.encode(b);a.completedRegularChunks.push(b)} -function qb(a){var b=cb.current;cb.current=Ua;var d=P;I=P=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];var g=a;if(0===f.status){Ja(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===z){var k=h,l=f.thenableState;f.model=h;h=T(g,k.type,k.key,k.ref,k.props,l);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===z;)k=h,f.model=h,h=T(g,k.type,k.key,k.ref,k.props,null)}ub(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(B){var r= -B===La?Oa():B;if("object"===typeof r&&null!==r&&"function"===typeof r.then){var E=f.ping;r.then(E,E);f.thenableState=Pa()}else{g.abortableTasks.delete(f);f.status=4;var G=Q(g,r);R(g,f.id,G)}}}}null!==a.destination&&S(a,a.destination)}catch(B){Q(a,B),vb(a,B)}finally{cb.current=b,I=null,P=d}} -function S(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&& -b.close()}function wb(a){a.flushScheduled=null!==a.destination;ua?setTimeout(function(){return va.run(a,qb,a)},0):setTimeout(function(){return qb(a)},0)}function nb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return S(a,b)},0)}} -function xb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=Q(a,c);a.pendingChunks++;var f=a.nextChunkId++;R(a,f,e,c);d.forEach(function(g){g.status=3;var h=U(f);g=rb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&S(a,a.destination)}catch(g){Q(a,g),vb(a,g)}} -function ib(a){if(a){var b=D;Ja(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!bb[e]){var f={$$typeof:ya,_currentValue:C,_currentValue2:C,_defaultValue:C,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:xa,_context:f};bb[e]=f}Ka(bb[e],c)}a=D;Ja(b);return a}return null} -function yb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var V=new Map; -function zb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Ab(){} -function Bb(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++];b[c++];var f=V.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=V.set.bind(V,e,null);f.then(g,Ab);V.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?zb(a[0]):Promise.all(d).then(function(){return zb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Cb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Cb.prototype=Object.create(Promise.prototype); -Cb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Db(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Eb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Fb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Eb(d,b)}}function Gb(a,b,d,c,e,f){var g=yb(a._bundlerConfig,b);a=Bb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Hb(c,e,f),Ib(c));return null}var X=null,Y=null; -function Db(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Jb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Fb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Cb("resolved_model",c,null,a):new Cb("pending",null,null,a),d.set(b,c));return c}function Hb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Eb(e,c.value))}}function Ib(a){return function(b){return Fb(a,b)}} -function Kb(a,b){a=Z(a,b);"resolved_model"===a.status&&Db(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Ob(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Kb(a,c),Gb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Kb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Kb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Db(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Hb(c,b,d),Ib(c)),null;default:throw a.reason;}}return c} -function Pb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Ob(e,this,f,g):g}};return e}function Qb(a){Jb(a,Error("Connection closed."))}function Rb(a,b,d){var c=yb(a,b);a=Bb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))} -function Sb(a,b,d){a=Pb(b,d,a);Qb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ka)}; -exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Sb(a,b,e),c=Rb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Rb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; -exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=Sb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Pb(b,"",a);Qb(a);return Z(a,0)}; -exports.registerClientReference=function(a,b,d){return v(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:u},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; -exports.renderToReadableStream=function(a,b,d){var c=gb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)xb(c,e.reason);else{var f=function(){xb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){wb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{S(c, -g)}catch(h){Q(c,h),vb(c,h)}}},cancel:function(g){c.destination=null;xb(c,g)}},{highWaterMark:0})}; +var ta=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,ua="function"===typeof AsyncLocalStorage,va=ua?new AsyncLocalStorage:null,z=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.server_context"),ya=Symbol.for("react.forward_ref"),za=Symbol.for("react.suspense"),Aa=Symbol.for("react.suspense_list"),Ba=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Ca=Symbol.for("react.memo_cache_sentinel"),Da=Symbol.iterator,B=null; +function C(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");C(a,d);b.context._currentValue=b.value}}}function Ea(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ea(a)} +function Fa(a){var b=a.parent;null!==b&&Fa(b);a.context._currentValue=a.value}function Ga(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?C(a,b):Ga(a,b)} +function Ha(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?C(a,d):Ha(a,d);b.context._currentValue=b.value}var Ia=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function Ja(){}function Ka(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Ja,Ja),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}D=b;throw Ia;}}var D=null; +function La(){if(null===D)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=D;D=null;return a}var E=null,F=0,G=null;function Ma(){var a=G;G=null;return a}function Na(a){return a._currentValue} +var Ra={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:Na,useContext:Na,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:Oa,useSyncExternalStore:H,useCacheRefresh:function(){return Pa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ca;return b},use:Qa}; +function H(){throw Error("This Hook is not supported in Server Components.");}function Pa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Oa(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"} +function Qa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=F;F+=1;null===G&&(G=[]);return Ka(G,a,b)}if(a.$$typeof===xa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Sa(){return(new AbortController).signal}function Ta(){var a=v();return a?a.cache:new Map} +var Ua={getCacheSignal:function(){var a=Ta(),b=a.get(Sa);void 0===b&&(b=Sa(),a.set(Sa,b));return b},getCacheForType:function(a){var b=Ta(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Va=Array.isArray,Wa=Object.getPrototypeOf;function Xa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function Ya(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Va(a))return"[...]";a=Xa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function I(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return I(a.render);case Ba:return I(a.type);case A:var b=a._payload;a=a._init;try{return I(a(b))}catch(d){}}return""} +function J(a,b){var d=Xa(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Va(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?J(g):Ya(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+I(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?J(h): +Ya(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Za=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$a=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!$a)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); +var ab=Object.prototype,K=JSON.stringify,bb=$a.ReactCurrentCache,cb=Za.ReactCurrentDispatcher;function db(a){console.error(a)}function eb(){} +function fb(a,b,d,c,e,f){if(null!==bb.current&&bb.current!==Ua)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=sa;bb.current=Ua;var g=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===d?db:d,onPostpone:void 0===f?eb:f,toJSON:function(l,x){return gb(h,this,l,x)}};h.pendingChunks++;a=L(h,a,null,g);c.push(a);return h}var M=null;function v(){if(M)return M;if(ua){var a=va.getStore();if(a)return a}return null} +function hb(a,b){a.pendingChunks++;var d=L(a,null,B,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,ib(a,d),d.id;case "rejected":var c=N(a,b.reason);O(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;ib(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=N(a,e);O(a, +d.id,e);null!==a.destination&&P(a,a.destination)});return d.id}function w(a,b,d){d=K(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;d=q.encode(b+d+"\n");a.completedHintChunks.push(d);jb(a)}function kb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function lb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:kb}} +function Q(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===r)return[z,b,d,e];F=0;G=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:lb(e):e}if("string"===typeof b)return[z,b,d,e];if("symbol"===typeof b)return b===wa?e.children:[z,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===r)return[z,b,d,e];switch(b.$$typeof){case A:var g= +b._init;b=g(b._payload);return Q(a,b,d,c,e,f);case ya:return a=b.render,F=0,G=f,a(e,void 0);case Ba:return Q(a,b.type,d,c,e,f)}}throw Error("Unsupported Server Component type: "+Ya(b));}function ib(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return mb(a)},0))}function L(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return ib(a,e)},thenableState:null};c.add(e);return e} +function R(a){return"$"+a.toString(16)}function nb(a,b,d){a=K(d);b=b.toString(16)+":"+a+"\n";return q.encode(b)} +function ob(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===z&&"1"===d?"$L"+g.toString(16):R(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var l=k[h];if(l)g=l.name;else{var x=h.lastIndexOf("#");-1!==x&&(g=h.slice(x+1),l=k[h.slice(0,x)]);if(!l)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var Gb=!0===c.$$async?[l.id,l.chunks,g,1]:[l.id,l.chunks, +g];a.pendingChunks++;var Y=a.nextChunkId++,Hb=K(Gb),Ib=Y.toString(16)+":I"+Hb+"\n",Jb=q.encode(Ib);a.completedImportChunks.push(Jb);f.set(e,Y);return b[0]===z&&"1"===d?"$L"+Y.toString(16):R(Y)}catch(Kb){return a.pendingChunks++,b=a.nextChunkId++,d=N(a,Kb),O(a,b,d),R(b)}}function S(a,b){a.pendingChunks++;b=L(a,b,B,a.abortableTasks);pb(a,b);return b.id}var T=!1; +function gb(a,b,d,c){switch(c){case z:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===z||c.$$typeof===A);)try{switch(c.$$typeof){case z:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=S(a,c);return R(g)}if(T===c)T=null;else return R(f)}else e.set(c,-1);var k=c;c=Q(a,k.type,k.key,k.ref,k.props,null);break;case A:var h=c._init;c=h(c._payload)}}catch(l){b=l===Ia?La():l;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=L(a,c,B,a.abortableTasks), +c=a.ping,b.then(c,c),a.thenableState=Ma(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=N(a,b);O(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===r)return ob(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===typeof c.then){if(void 0!==d)if(T===c)T=null;else return"$@"+d.toString(16);a=hb(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=S(a,c),R(a);if(T===c)T=null;else return R(d)}else b.set(c,-1);if(Va(c))return c; +if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+S(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+S(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Da&&c[Da]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Wa(c);if(a!== +ab&&(null===a||null!==Wa(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,c=q.encode(c),d=c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",d=q.encode(d),a.completedRegularChunks.push(d,c),R(b);a="$"===c[0]?"$"+c:c;return a}if("boolean"=== +typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===r)return ob(a,b,d,c);if(c.$$typeof===t)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=S(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+ +J(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+J(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return R(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+ +J(b,d));a.pendingChunks++;b=a.nextChunkId++;d=nb(a,b,"$S"+f);a.completedImportChunks.push(d);e.set(c,b);return R(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+J(b,d));} +function N(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function qb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)} +function O(a,b,d){d={digest:d};b=b.toString(16)+":E"+K(d)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)} +function pb(a,b){if(0===b.status){var d=B,c=b.context;d!==c&&(null===d?Fa(c):null===c?Ea(d):d.depth===c.depth?C(d,c):d.depth>c.depth?Ga(d,c):Ha(d,c),B=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===z){a.writtenObjects.set(e,b.id);d=e;var f=b.thenableState;b.model=e;e=Q(a,d.type,d.key,d.ref,d.props,f);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===z;)a.writtenObjects.set(e,b.id),f=e,b.model=e,e=Q(a,f.type,f.key,f.ref,f.props,null)}"object"===typeof e&&null!== +e&&a.writtenObjects.set(e,b.id);var g=b.id;T=e;var k=K(e,a.toJSON),h=g.toString(16)+":"+k+"\n",l=q.encode(h);a.completedRegularChunks.push(l);a.abortableTasks.delete(b);b.status=1}catch(x){g=x===Ia?La():x,"object"===typeof g&&null!==g&&"function"===typeof g.then?(a=b.ping,g.then(a,a),b.thenableState=Ma()):(a.abortableTasks.delete(b),b.status=4,g=N(a,g),O(a,b.id,g))}}} +function mb(a){var b=cb.current;cb.current=Ra;var d=M;E=M=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)pb(a,c[e]);null!==a.destination&&P(a,a.destination)}catch(f){N(a,f),qb(a,f)}finally{cb.current=b,E=null,M=d}} +function P(a,b){m=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,p(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)p(b,e[c]);e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)a.pendingChunks--,p(b,f[c]);f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,p(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&& +b.close()}function rb(a){a.flushScheduled=null!==a.destination;ua?setTimeout(function(){return va.run(a,mb,a)},0):setTimeout(function(){return mb(a)},0)}function jb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return P(a,b)},0)}} +function sb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=N(a,c);a.pendingChunks++;var f=a.nextChunkId++;O(a,f,e,c);d.forEach(function(g){g.status=3;var k=R(f);g=nb(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&P(a,a.destination)}catch(g){N(a,g),qb(a,g)}} +function tb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var U=new Map; +function ub(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function vb(){} +function wb(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++];b[c++];var f=U.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=U.set.bind(U,e,null);f.then(g,vb);U.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?ub(a[0]):Promise.all(d).then(function(){return ub(a[0])}):0<d.length?Promise.all(d):null} +function V(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function xb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}xb.prototype=Object.create(Promise.prototype); +xb.prototype.then=function(a,b){switch(this.status){case "resolved_model":yb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function zb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Ab(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&zb(d,b)}}function Bb(a,b,d,c,e,f){var g=tb(a._bundlerConfig,b);a=wb(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=V(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return V(g)});else return V(g);d.then(Cb(c,e,f),Db(c));return null}var W=null,X=null; +function yb(a){var b=W,d=X;W=a;X=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==X&&0<X.deps?(X.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{W=b,X=d}}function Eb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Ab(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new xb("resolved_model",c,null,a):new xb("pending",null,null,a),d.set(b,c));return c}function Cb(a,b,d){if(X){var c=X;c.deps++}else c=X={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&zb(e,c.value))}}function Db(a){return function(b){return Ab(a,b)}} +function Fb(a,b){a=Z(a,b);"resolved_model"===a.status&&yb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Lb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Fb(a,c),Bb(a,c.id,c.bound,W,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Fb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Fb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":yb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=W,a.then(Cb(c,b,d),Db(c)),null;default:throw a.reason;}}return c} +function Mb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Lb(e,this,f,g):g}};return e}function Nb(a){Eb(a,Error("Connection closed."))}function Ob(a,b,d){var c=tb(a,b);a=wb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=V(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return V(c)}):Promise.resolve(V(c))} +function Pb(a,b,d){a=Mb(b,d,a);Nb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ka)}; +exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Pb(a,b,e),c=Ob(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Ob(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; +exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,k){k.startsWith("$ACTION_REF_")&&(g="$ACTION_"+k.slice(12)+":",e=Pb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Mb(b,"",a);Nb(a);return Z(a,0)}; +exports.registerClientReference=function(a,b,d){return u(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:fa}})}; +exports.renderToReadableStream=function(a,b,d){var c=fb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)sb(c,e.reason);else{var f=function(){sb(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){rb(c)},pull:function(g){if(1===c.status)c.status=2,ca(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{P(c, +g)}catch(k){N(c,k),qb(c,k)}}},cancel:function(g){c.destination=null;sb(c,g)}},{highWaterMark:0})}; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js index a025db3108aa7..61364af6e0736 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js @@ -749,14 +749,12 @@ var requestStorage = new async_hooks.AsyncLocalStorage(); // The Symbol used to tag the ReactElement-like types. var REACT_ELEMENT_TYPE = Symbol.for('react.element'); var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; @@ -774,12 +772,6 @@ function getIteratorFn(maybeIterable) { return null; } -var rendererSigil; - -{ - // Use this to detect multiple renderers using the same context - rendererSigil = {}; -} // Used to store the parent path of all context overrides in a shared linked list. // Forming a reverse tree. // The structure of a context snapshot is an implementation of this file. // Currently, it's implemented as tracking the current active node. @@ -912,52 +904,6 @@ function switchContext(newSnapshot) { currentActiveSnapshot = next; } } -function pushProvider(context, nextValue) { - var prevValue; - - { - prevValue = context._currentValue; - context._currentValue = nextValue; - - { - if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { - error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); - } - - context._currentRenderer = rendererSigil; - } - } - - var prevNode = currentActiveSnapshot; - var newNode = { - parent: prevNode, - depth: prevNode === null ? 0 : prevNode.depth + 1, - context: context, - parentValue: prevValue, - value: nextValue - }; - currentActiveSnapshot = newNode; - return newNode; -} -function popProvider() { - var prevSnapshot = currentActiveSnapshot; - - if (prevSnapshot === null) { - throw new Error('Tried to pop a Context at the root of the app. This is a bug in React.'); - } - - { - var value = prevSnapshot.parentValue; - - if (value === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - prevSnapshot.context._currentValue = prevSnapshot.context._defaultValue; - } else { - prevSnapshot.context._currentValue = value; - } - } - - return currentActiveSnapshot = prevSnapshot.parent; -} function getActiveContext() { return currentActiveSnapshot; } @@ -1248,6 +1194,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1266,7 +1214,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1282,7 +1230,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1558,57 +1506,14 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function getOrCreateServerContext(globalName) { - if (!ContextRegistry[globalName]) { - var context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _currentValue2: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _defaultValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - - { - var hasWarnedAboutUsingConsumer; - context._currentRenderer = null; - context._currentRenderer2 = null; - Object.defineProperties(context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - return null; - } - } - }); - } - - ContextRegistry[globalName] = context; - } - - return ContextRegistry[globalName]; +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); } +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1616,8 +1521,8 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1638,6 +1543,8 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + var hints = createHints(); var request = { status: OPEN, @@ -1659,8 +1566,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1669,7 +1578,7 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, } }; request.pendingChunks++; - var rootContext = createRootContext(context); + var rootContext = createRootContext(); var rootTask = createTask(request, model, rootContext, abortSet); pingedTasks.push(rootTask); return request; @@ -1687,11 +1596,9 @@ function resolveRequest() { } function createRootContext(reqContext) { - return importServerContexts(reqContext); + return importServerContexts(); } -var POP = {}; - function serializeThenable(request, thenable) { request.pendingChunks++; var newTask = createTask(request, null, getActiveContext(), request.abortableTasks); @@ -1911,32 +1818,6 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState { return attemptResolveElement(request, type.type, key, ref, props, prevThenableState); } - - case REACT_PROVIDER_TYPE: - { - pushProvider(type._context, props.value); - - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } - - return true; - }); - - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); - } - } - - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; - } } } @@ -1991,10 +1872,6 @@ function serializeSymbolReference(name) { return '$S' + name; } -function serializeProviderReference(name) { - return '$P' + name; -} - function serializeNumber(number) { if (Number.isFinite(number)) { if (number === 0 && 1 / number === -Infinity) { @@ -2083,10 +1960,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2119,12 +1995,44 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } @@ -2137,9 +2045,7 @@ function escapeStringValue(value) { return value; } } - -var insideContextProps = null; -var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2168,29 +2074,37 @@ function resolveModelToJSON(request, parent, key, value) { return '$'; } - { - if (parent[0] === REACT_ELEMENT_TYPE && parent[1] && parent[1].$$typeof === REACT_PROVIDER_TYPE && key === '3') { - insideContextProps = value; - } else if (insideContextProps === parent && key === 'value') { - isInsideContextValue = true; - } else if (insideContextProps === parent && key === 'children') { - isInsideContextValue = false; - } - } // Resolve Server Components. - while (typeof value === 'object' && value !== null && (value.$$typeof === REACT_ELEMENT_TYPE || value.$$typeof === REACT_LAZY_TYPE)) { - { - if (isInsideContextValue) { - error('React elements are not allowed in ServerContext'); - } - } try { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2242,35 +2156,61 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); - - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); - } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2281,27 +2221,29 @@ function resolveModelToJSON(request, parent, key, value) { return serializeSet(request, value); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2311,7 +2253,8 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2345,6 +2288,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2362,10 +2306,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2384,6 +2329,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + return serializeBigInt(value); } @@ -2403,7 +2349,8 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2467,14 +2414,12 @@ function emitSymbolChunk(request, id, name) { request.completedImportChunks.push(processedChunk); } -function emitProviderChunk(request, id, contextName) { - var contextReference = serializeProviderReference(contextName); - var processedChunk = encodeReferenceChunk(request, id, contextReference); - request.completedRegularChunks.push(processedChunk); -} - function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2493,7 +2438,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2510,11 +2456,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2669,7 +2621,7 @@ function flushCompletedChunks(request, destination) { flushBuffered(destination); if (request.pendingChunks === 0) { - // We're done. + close$1(destination); } } @@ -2754,22 +2706,6 @@ function abort(request, reason) { } function importServerContexts(contexts) { - if (contexts) { - var prevContext = getActiveContext(); - switchContext(rootContextSnapshot); - - for (var i = 0; i < contexts.length; i++) { - var _contexts$i = contexts[i], - name = _contexts$i[0], - value = _contexts$i[1]; - var context = getOrCreateServerContext(name); - pushProvider(context, value); - } - - var importedContext = getActiveContext(); - switchContext(prevContext); - return importedContext; - } return rootContextSnapshot; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js index ea9e8fae34280..a953bbd60ee57 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js @@ -7,75 +7,77 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function t(a,b){a=a.write(b);q=q&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,b)):(d=l.length-m,d<b.byteLength&& -(0===d?t(a,l):(l.set(b.subarray(0,d),m),m+=d,t(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)));return q}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; -function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);a.$$typeof=w;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} -var ja=Promise.prototype,ka={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ +'use strict';var ba=require("util");require("crypto");var ca=require("async_hooks"),da=require("react"),ea=require("react-dom"),l=null,m=0,p=!0;function q(a,b){a=a.write(b);p=p&&a} +function r(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,fa.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=fa.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=fa.encodeInto(b.slice(c),l).written);2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,b)):(d=l.length-m,d<b.byteLength&& +(0===d?q(a,l):(l.set(b.subarray(0,d),m),m+=d,q(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)));return p}var fa=new ba.TextEncoder,t=Symbol.for("react.client.reference"),v=Symbol.for("react.server.reference");function w(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var ha=Function.prototype.bind,ia=Array.prototype.slice; +function ja(){var a=ha.apply(this,arguments);if(this.$$typeof===v){var b=ia.call(arguments,1);a.$$typeof=v;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +var ka=Promise.prototype,la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ (String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}}; -function la(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=x(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); -},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=x({},a.$$id,!0),e=new Proxy(c,ma);a.status="fulfilled";a.value=e;return a.then=x(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=x(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); -},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ka));return c} -var ma={get:function(a,b){return la(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:la(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ja},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ua={prefetchDNS:na,preconnect:oa,preload:pa,preloadModule:qa,preinitStyle:ra,preinitScript:sa,preinitModuleScript:ta}; -function na(a){if("string"===typeof a&&a){var b=y();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),z(b,"D",a))}}}function oa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?z(d,"C",[a,b]):z(d,"C",a))}}} -function pa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function qa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} -function ra(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?z(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?z(c,"S",[a,b]):z(c,"S",a)}}}function sa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"X",[a,b]):z(d,"X",a)}}}function ta(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"M",[a,b]):z(d,"M",a)}}} +function ma(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=w(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=w({},a.$$id,!0),e=new Proxy(c,na);a.status="fulfilled";a.value=e;return a.then=w(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=w(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,la));return c} +var na={get:function(a,b){return ma(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ma(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ka},set:function(){throw Error("Cannot assign to a client module from a server module.");}},va={prefetchDNS:oa,preconnect:pa,preload:qa,preloadModule:ra,preinitStyle:sa,preinitScript:ta,preinitModuleScript:ua}; +function oa(a){if("string"===typeof a&&a){var b=x();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),y(b,"D",a))}}}function pa(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?y(d,"C",[a,b]):y(d,"C",a))}}} +function qa(a,b,d){if("string"===typeof a){var c=x();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?y(c,"L",[a,b,d]):y(c,"L",[a,b]))}}}function ra(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"m",[a,b]):y(d,"m",a)}}} +function sa(a,b,d){if("string"===typeof a){var c=x();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?y(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?y(c,"S",[a,b]):y(c,"S",a)}}}function ta(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"X",[a,b]):y(d,"X",a)}}}function ua(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"M",[a,b]):y(d,"M",a)}}} function A(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var va=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.provider"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),Ea=Symbol.for("react.memo_cache_sentinel"),Fa=Symbol.iterator,F=null; -function H(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");H(a,d);b.context._currentValue=b.value}}}function Ga(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ga(a)} -function Ha(a){var b=a.parent;null!==b&&Ha(b);a.context._currentValue=a.value}function Ia(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?H(a,b):Ia(a,b)} -function Ja(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?H(a,d):Ja(a,d);b.context._currentValue=b.value}function Ka(a){var b=F;b!==a&&(null===b?Ha(a):null===a?Ga(b):b.depth===a.depth?H(b,a):b.depth>a.depth?Ia(b,a):Ja(b,a),F=a)}function La(a,b){var d=a._currentValue;a._currentValue=b;var c=F;return F=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ma=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Na(){}function Oa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Na,Na),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}I=b;throw Ma;}}var I=null; -function Pa(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}var J=null,K=0,L=null;function Qa(){var a=L;L=null;return a}function Ra(a){return a._currentValue} -var Va={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:M,useTransition:M,readContext:Ra,useContext:Ra,useReducer:M,useRef:M,useState:M,useInsertionEffect:M,useLayoutEffect:M,useImperativeHandle:M,useEffect:M,useId:Sa,useSyncExternalStore:M,useCacheRefresh:function(){return Ta},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Ua}; -function M(){throw Error("This Hook is not supported in Server Components.");}function Ta(){throw Error("Refreshing the cache is not supported in Server Components.");}function Sa(){if(null===J)throw Error("useId can only be used while React is rendering");var a=J.identifierCount++;return":"+J.identifierPrefix+"S"+a.toString(32)+":"} -function Ua(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===L&&(L=[]);return Oa(L,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Wa(){return(new AbortController).signal}function Xa(){var a=y();return a?a.cache:new Map} -var Ya={getCacheSignal:function(){var a=Xa(),b=a.get(Wa);void 0===b&&(b=Wa(),a.set(Wa,b));return b},getCacheForType:function(a){var b=Xa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Za=Array.isArray;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Za(a))return"[...]";a=$a(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function N(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return N(a.render);case Da:return N(a.type);case D:var b=a._payload;a=a._init;try{return N(a(b))}catch(d){}}return""} -function O(a,b){var d=$a(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Za(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?O(g):ab(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+N(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?O(k): -ab(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var bb=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,cb=bb.ContextRegistry,P=JSON.stringify,db=bb.ReactCurrentDispatcher,eb=bb.ReactCurrentCache;function fb(a){console.error(a)}function gb(){} -function hb(a,b,d,c,e,f){if(null!==eb.current&&eb.current!==Ya)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;eb.current=Ya;var g=new Set,h=[],k=new Set,n={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?fb:d,onPostpone:void 0===f?gb:f,toJSON:function(r,p){return ib(n,this,r,p)}};n.pendingChunks++;b=jb(c);a=kb(n,a,b,g);h.push(a);return n}var Q=null;function y(){if(Q)return Q;var a=wa.getStore();return a?a:null}var lb={}; -function mb(a,b){a.pendingChunks++;var d=kb(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,nb(a,d),d.id;case "rejected":var c=R(a,b.reason);S(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;nb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=R(a,e);S(a, -d.id,e);null!==a.destination&&T(a,a.destination)});return d.id}function z(a,b,d){d=P(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");ob(a)}function pb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function qb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:D,_payload:a,_init:pb}} -function U(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[B,b,d,e];K=0;L=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:qb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[B,b,d,e];switch(b.$$typeof){case D:var g= -b._init;b=g(b._payload);return U(a,b,d,c,e,f);case Aa:return a=b.render,K=0,L=f,a(e,void 0);case Da:return U(a,b.type,d,c,e,f);case ya:return La(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:lb}]}}throw Error("Unsupported Server Component type: "+ab(b));}function nb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return rb(a)}))} -function kb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return nb(a,e)},thenableState:null};c.add(e);return e}function V(a){return"$"+a.toString(16)}function sb(a,b,d){a=P(d);return b.toString(16)+":"+a+"\n"} -function tb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):V(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var r=k.lastIndexOf("#");-1!==r&&(g=k.slice(r+1),n=h[k.slice(0,r)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var p=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, -g];a.pendingChunks++;var G=a.nextChunkId++,C=P(p),Rb=G.toString(16)+":I"+C+"\n";a.completedImportChunks.push(Rb);f.set(e,G);return b[0]===B&&"1"===d?"$L"+G.toString(16):V(G)}catch(Sb){return a.pendingChunks++,b=a.nextChunkId++,d=R(a,Sb),S(a,b,d),V(b)}}function ub(a,b){a.pendingChunks++;var d=a.nextChunkId++;vb(a,d,b);return d} -function ib(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===D);)try{switch(c.$$typeof){case B:var e=c;c=U(a,e.type,e.key,e.ref,e.props,null);break;case D:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ma?Pa():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=kb(a,c,F,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Qa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=R(a,d);S(a,c,d);return"$L"+ -c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===v)return tb(a,b,d,c);if("function"===typeof c.then)return"$@"+mb(a,c).toString(16);if(c.$$typeof===ya)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=sb(a,d,"$P"+c),a.completedRegularChunks.push(c)),V(d);if(c===lb){a=F;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue= -c===E?a.context._defaultValue:c;F=a.parent;return}return c instanceof Map?"$Q"+ub(a,Array.from(c)).toString(16):c instanceof Set?"$W"+ub(a,Array.from(c)).toString(16):!Za(c)&&(null===c||"object"!==typeof c?a=null:(a=Fa&&c[Fa]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,b= -d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),V(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===v)return tb(a,b,d,c);if(c.$$typeof===w)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound, -b={id:c.$$id,bound:b?Promise.resolve(b):null},a=ub(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+O(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+O(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return V(f); -f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+O(b,d));a.pendingChunks++;d=a.nextChunkId++;b=sb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return V(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+O(b,d));} -function R(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function wb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function S(a,b,d){d={digest:d};b=b.toString(16)+":E"+P(d)+"\n";a.completedErrorChunks.push(b)}function vb(a,b,d){d=P(d,a.toJSON);b=b.toString(16)+":"+d+"\n";a.completedRegularChunks.push(b)} -function rb(a){var b=db.current;db.current=Va;var d=Q;J=Q=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];var g=a;if(0===f.status){Ka(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===B){var k=h,n=f.thenableState;f.model=h;h=U(g,k.type,k.key,k.ref,k.props,n);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===B;)k=h,f.model=h,h=U(g,k.type,k.key,k.ref,k.props,null)}vb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(C){var r= -C===Ma?Pa():C;if("object"===typeof r&&null!==r&&"function"===typeof r.then){var p=f.ping;r.then(p,p);f.thenableState=Qa()}else{g.abortableTasks.delete(f);f.status=4;var G=R(g,r);S(g,f.id,G)}}}}null!==a.destination&&T(a,a.destination)}catch(C){R(a,C),wb(a,C)}finally{db.current=b,J=null,Q=d}} -function T(a,b){l=new Uint8Array(2048);m=0;q=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!u(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!u(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!u(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!u(b,g[c])){a.destination= -null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function xb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,rb,a)})}function ob(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return T(a,b)})}} -function yb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{T(a,b)}catch(d){R(a,d),wb(a,d)}}} -function zb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=R(a,c);a.pendingChunks++;var f=a.nextChunkId++;S(a,f,e,c);d.forEach(function(g){g.status=3;var h=V(f);g=sb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&T(a,a.destination)}catch(g){R(a,g),wb(a,g)}} -function jb(a){if(a){var b=F;Ka(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!cb[e]){var f={$$typeof:za,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ya,_context:f};cb[e]=f}La(cb[e],c)}a=F;Ka(b);return a}return null} -function Ab(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var Bb=new Map; -function Cb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function Db(){} -function Eb(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++];b[c++];var f=Bb.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=Bb.set.bind(Bb,e,null);f.then(g,Db);Bb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?Cb(a[0]):Promise.all(d).then(function(){return Cb(a[0])}):0<d.length?Promise.all(d):null} -function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Fb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Fb.prototype=Object.create(Promise.prototype); -Fb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Gb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Hb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} -function Ib(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Hb(d,b)}}function Jb(a,b,d,c,e,f){var g=Ab(a._bundlerConfig,b);a=Eb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Kb(c,e,f),Lb(c));return null}var X=null,Y=null; -function Gb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Mb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Ib(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Fb("resolved_model",c,null,a):new Fb("pending",null,null,a),d.set(b,c));return c}function Kb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Hb(e,c.value))}}function Lb(a){return function(b){return Ib(a,b)}} -function Nb(a,b){a=Z(a,b);"resolved_model"===a.status&&Gb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Ob(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Nb(a,c),Jb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Nb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Nb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Gb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Kb(c,b,d),Lb(c)),null;default:throw a.reason;}}return c} -function Pb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Ob(e,this,f,g):g}};return e} -function Qb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Gb(b),b.status){case "fulfilled":Hb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Hb(a,b.reason)}}function Tb(a){Mb(a,Error("Connection closed."))} -function Ub(a,b,d){var c=Ab(a,b);a=Eb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Vb(a,b,d){a=Pb(b,d,a);Tb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Wb(a,b){return function(){return yb(b,a)}}function Xb(a,b){return function(){a.destination=null;zb(a,Error(b))}} -exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,ma)};exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Vb(a,b,e),c=Ub(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Ub(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; -exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=Vb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Pb(b,"",a);Tb(a);return Z(a,0)}; -exports.decodeReplyFromBusboy=function(a,b){var d=Pb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Qb(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var r=[];g.on("data",function(p){r.push(p)});g.on("end",function(){var p= -new Blob(r,{type:n});d._formData.append(f,p,k);c--;if(0===c){for(p=0;p<e.length;p+=2)Qb(d,e[p],e[p+1]);e.length=0}})});a.on("finish",function(){Tb(d)});a.on("error",function(f){Mb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; -exports.renderToPipeableStream=function(a,b,d){var c=hb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;xb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;yb(c,f);f.on("drain",Wb(f,c));f.on("error",Xb(c,"The destination stream errored while writing data."));f.on("close",Xb(c,"The destination stream closed early."));return f},abort:function(f){zb(c,f)}}}; +var wa=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,xa=new ca.AsyncLocalStorage,B=Symbol.for("react.element"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Ea=Symbol.for("react.memo_cache_sentinel"),Fa=Symbol.iterator,D=null; +function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function Ga(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ga(a)} +function Ha(a){var b=a.parent;null!==b&&Ha(b);a.context._currentValue=a.value}function Ia(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):Ia(a,b)} +function Ja(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):Ja(a,d);b.context._currentValue=b.value}var Ka=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function La(){}function Ma(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(La,La),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}F=b;throw Ka;}}var F=null; +function Na(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,H=0,I=null;function Oa(){var a=I;I=null;return a}function Pa(a){return a._currentValue} +var Ta={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:J,useTransition:J,readContext:Pa,useContext:Pa,useReducer:J,useRef:J,useState:J,useInsertionEffect:J,useLayoutEffect:J,useImperativeHandle:J,useEffect:J,useId:Qa,useSyncExternalStore:J,useCacheRefresh:function(){return Ra},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Sa}; +function J(){throw Error("This Hook is not supported in Server Components.");}function Ra(){throw Error("Refreshing the cache is not supported in Server Components.");}function Qa(){if(null===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"} +function Sa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=H;H+=1;null===I&&(I=[]);return Ma(I,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ua(){return(new AbortController).signal}function Va(){var a=x();return a?a.cache:new Map} +var Wa={getCacheSignal:function(){var a=Va(),b=a.get(Ua);void 0===b&&(b=Ua(),a.set(Ua,b));return b},getCacheForType:function(a){var b=Va(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Xa=Array.isArray,Ya=Object.getPrototypeOf;function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function $a(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Xa(a))return"[...]";a=Za(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function K(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return K(a.render);case Da:return K(a.type);case C:var b=a._payload;a=a._init;try{return K(a(b))}catch(d){}}return""} +function L(a,b){var d=Za(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Xa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?L(g):$a(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+K(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?L(h): +$a(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var ab=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bb=da.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!bb)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); +var cb=Object.prototype,M=JSON.stringify,db=bb.ReactCurrentCache,eb=ab.ReactCurrentDispatcher;function fb(a){console.error(a)}function gb(){} +function hb(a,b,d,c,e,f){if(null!==db.current&&db.current!==Wa)throw Error("Currently React only supports one RSC renderer at a time.");wa.current=va;db.current=Wa;var g=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===d?fb:d,onPostpone:void 0===f?gb:f,toJSON:function(n,z){return ib(h,this,n,z)}};h.pendingChunks++;a=N(h,a,null,g);c.push(a);return h}var O=null;function x(){if(O)return O;var a=xa.getStore();return a?a:null} +function jb(a,b){a.pendingChunks++;var d=N(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,kb(a,d),d.id;case "rejected":var c=P(a,b.reason);Q(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;kb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=P(a,e);Q(a, +d.id,e);null!==a.destination&&R(a,a.destination)});return d.id}function y(a,b,d){d=M(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");lb(a)}function mb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function nb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:mb}} +function S(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[B,b,d,e];H=0;I=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:nb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===ya?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[B,b,d,e];switch(b.$$typeof){case C:var g= +b._init;b=g(b._payload);return S(a,b,d,c,e,f);case Aa:return a=b.render,H=0,I=f,a(e,void 0);case Da:return S(a,b.type,d,c,e,f)}}throw Error("Unsupported Server Component type: "+$a(b));}function kb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return ob(a)}))}function N(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return kb(a,e)},thenableState:null};c.add(e);return e} +function T(a){return"$"+a.toString(16)}function pb(a,b,d){a=M(d);return b.toString(16)+":"+a+"\n"} +function qb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):T(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var n=k[h];if(n)g=n.name;else{var z=h.lastIndexOf("#");-1!==z&&(g=h.slice(z+1),n=k[h.slice(0,z)]);if(!n)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, +g];a.pendingChunks++;var aa=a.nextChunkId++,Nb=M(u),Ob=aa.toString(16)+":I"+Nb+"\n";a.completedImportChunks.push(Ob);f.set(e,aa);return b[0]===B&&"1"===d?"$L"+aa.toString(16):T(aa)}catch(Pb){return a.pendingChunks++,b=a.nextChunkId++,d=P(a,Pb),Q(a,b,d),T(b)}}function U(a,b){a.pendingChunks++;b=N(a,b,D,a.abortableTasks);rb(a,b);return b.id}var V=!1; +function ib(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=U(a,c);return T(g)}if(V===c)V=null;else return T(f)}else e.set(c,-1);var k=c;c=S(a,k.type,k.key,k.ref,k.props,null);break;case C:var h=c._init;c=h(c._payload)}}catch(n){b=n===Ka?Na():n;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=N(a,c,D,a.abortableTasks), +c=a.ping,b.then(c,c),a.thenableState=Oa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=P(a,b);Q(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return qb(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===typeof c.then){if(void 0!==d)if(V===c)V=null;else return"$@"+d.toString(16);a=jb(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=U(a,c),T(a);if(V===c)V=null;else return T(d)}else b.set(c,-1);if(Xa(c))return c; +if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+U(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+U(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Fa&&c[Fa]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Ya(c);if(a!== +cb&&(null===a||null!==Ya(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,d="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",a.completedRegularChunks.push(d,c),T(b);a="$"===c[0]?"$"+ +c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return qb(a,b,d,c);if(c.$$typeof===v)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=U(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+ +L(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+L(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return T(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+ +L(b,d));a.pendingChunks++;b=a.nextChunkId++;d=pb(a,b,"$S"+f);a.completedImportChunks.push(d);e.set(c,b);return T(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+L(b,d));} +function P(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function sb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+M(d)+"\n";a.completedErrorChunks.push(b)} +function rb(a,b){if(0===b.status){var d=D,c=b.context;d!==c&&(null===d?Ha(c):null===c?Ga(d):d.depth===c.depth?E(d,c):d.depth>c.depth?Ia(d,c):Ja(d,c),D=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===B){a.writtenObjects.set(e,b.id);d=e;var f=b.thenableState;b.model=e;e=S(a,d.type,d.key,d.ref,d.props,f);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===B;)a.writtenObjects.set(e,b.id),f=e,b.model=e,e=S(a,f.type,f.key,f.ref,f.props,null)}"object"===typeof e&&null!== +e&&a.writtenObjects.set(e,b.id);var g=b.id;V=e;var k=M(e,a.toJSON),h=g.toString(16)+":"+k+"\n";a.completedRegularChunks.push(h);a.abortableTasks.delete(b);b.status=1}catch(n){g=n===Ka?Na():n,"object"===typeof g&&null!==g&&"function"===typeof g.then?(a=b.ping,g.then(a,a),b.thenableState=Oa()):(a.abortableTasks.delete(b),b.status=4,g=P(a,g),Q(a,b.id,g))}}} +function ob(a){var b=eb.current;eb.current=Ta;var d=O;G=O=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)rb(a,c[e]);null!==a.destination&&R(a,a.destination)}catch(f){P(a,f),sb(a,f)}finally{eb.current=b,G=null,O=d}} +function R(a,b){l=new Uint8Array(2048);m=0;p=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!r(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!r(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!r(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!r(b,g[c])){a.destination= +null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,p=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function tb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return xa.run(a,ob,a)})}function lb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return R(a,b)})}} +function ub(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{R(a,b)}catch(d){P(a,d),sb(a,d)}}} +function vb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=P(a,c);a.pendingChunks++;var f=a.nextChunkId++;Q(a,f,e,c);d.forEach(function(g){g.status=3;var k=T(f);g=pb(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){P(a,g),sb(a,g)}} +function wb(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,e)]);if(!c)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[c.id,c.chunks,d]}var xb=new Map; +function yb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});return b}function zb(){} +function Ab(a){for(var b=a[1],d=[],c=0;c<b.length;){var e=b[c++];b[c++];var f=xb.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=xb.set.bind(xb,e,null);f.then(g,zb);xb.set(e,f)}else null!==f&&d.push(f)}return 4===a.length?0===d.length?yb(a[0]):Promise.all(d).then(function(){return yb(a[0])}):0<d.length?Promise.all(d):null} +function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function Bb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Bb.prototype=Object.create(Promise.prototype); +Bb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Cb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function Db(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)} +function Eb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Db(d,b)}}function Fb(a,b,d,c,e,f){var g=wb(a._bundlerConfig,b);a=Ab(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Gb(c,e,f),Hb(c));return null}var X=null,Y=null; +function Cb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Ib(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Eb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Bb("resolved_model",c,null,a):new Bb("pending",null,null,a),d.set(b,c));return c}function Gb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Db(e,c.value))}}function Hb(a){return function(b){return Eb(a,b)}} +function Jb(a,b){a=Z(a,b);"resolved_model"===a.status&&Cb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Kb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Jb(a,c),Fb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Jb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Jb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Cb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Gb(c,b,d),Hb(c)),null;default:throw a.reason;}}return c} +function Lb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Kb(e,this,f,g):g}};return e} +function Mb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Cb(b),b.status){case "fulfilled":Db(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Db(a,b.reason)}}function Qb(a){Ib(a,Error("Connection closed."))} +function Rb(a,b,d){var c=wb(a,b);a=Ab(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Sb(a,b,d){a=Lb(b,d,a);Qb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Tb(a,b){return function(){return ub(b,a)}}function Ub(a,b){return function(){a.destination=null;vb(a,Error(b))}} +exports.createClientModuleProxy=function(a){a=w({},a,!1);return new Proxy(a,na)};exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Sb(a,b,e),c=Rb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Rb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; +exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,k){k.startsWith("$ACTION_REF_")&&(g="$ACTION_"+k.slice(12)+":",e=Sb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Lb(b,"",a);Qb(a);return Z(a,0)}; +exports.decodeReplyFromBusboy=function(a,b){var d=Lb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Mb(d,f,g)});a.on("file",function(f,g,k){var h=k.filename,n=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var z=[];g.on("data",function(u){z.push(u)});g.on("end",function(){var u= +new Blob(z,{type:n});d._formData.append(f,u,h);c--;if(0===c){for(u=0;u<e.length;u+=2)Mb(d,e[u],e[u+1]);e.length=0}})});a.on("finish",function(){Qb(d)});a.on("error",function(f){Ib(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return w(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ja}})}; +exports.renderToPipeableStream=function(a,b,d){var c=hb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;tb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;ub(c,f);f.on("drain",Tb(f,c));f.on("error",Ub(c,"The destination stream errored while writing data."));f.on("close",Ub(c,"The destination stream closed early."));return f},abort:function(f){vb(c,f)}}}; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js index c6425a94f87aa..65dd6e4899862 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js @@ -749,14 +749,12 @@ var requestStorage = new async_hooks.AsyncLocalStorage(); // The Symbol used to tag the ReactElement-like types. var REACT_ELEMENT_TYPE = Symbol.for('react.element'); var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'); -var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; @@ -774,12 +772,6 @@ function getIteratorFn(maybeIterable) { return null; } -var rendererSigil; - -{ - // Use this to detect multiple renderers using the same context - rendererSigil = {}; -} // Used to store the parent path of all context overrides in a shared linked list. // Forming a reverse tree. // The structure of a context snapshot is an implementation of this file. // Currently, it's implemented as tracking the current active node. @@ -912,52 +904,6 @@ function switchContext(newSnapshot) { currentActiveSnapshot = next; } } -function pushProvider(context, nextValue) { - var prevValue; - - { - prevValue = context._currentValue; - context._currentValue = nextValue; - - { - if (context._currentRenderer !== undefined && context._currentRenderer !== null && context._currentRenderer !== rendererSigil) { - error('Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.'); - } - - context._currentRenderer = rendererSigil; - } - } - - var prevNode = currentActiveSnapshot; - var newNode = { - parent: prevNode, - depth: prevNode === null ? 0 : prevNode.depth + 1, - context: context, - parentValue: prevValue, - value: nextValue - }; - currentActiveSnapshot = newNode; - return newNode; -} -function popProvider() { - var prevSnapshot = currentActiveSnapshot; - - if (prevSnapshot === null) { - throw new Error('Tried to pop a Context at the root of the app. This is a bug in React.'); - } - - { - var value = prevSnapshot.parentValue; - - if (value === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - prevSnapshot.context._currentValue = prevSnapshot.context._defaultValue; - } else { - prevSnapshot.context._currentValue = value; - } - } - - return currentActiveSnapshot = prevSnapshot.parent; -} function getActiveContext() { return currentActiveSnapshot; } @@ -1248,6 +1194,8 @@ function isArray(a) { return isArrayImpl(a); } +var getPrototypeOf = Object.getPrototypeOf; + // in case they error. var jsxPropsParents = new WeakMap(); @@ -1266,7 +1214,7 @@ function isObjectPrototype(object) { // still just a plain simple object. - if (Object.getPrototypeOf(object)) { + if (getPrototypeOf(object)) { return false; } @@ -1282,7 +1230,7 @@ function isObjectPrototype(object) { } function isSimpleObject(object) { - if (!isObjectPrototype(Object.getPrototypeOf(object))) { + if (!isObjectPrototype(getPrototypeOf(object))) { return false; } @@ -1558,57 +1506,14 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { return '\n ' + str; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function getOrCreateServerContext(globalName) { - if (!ContextRegistry[globalName]) { - var context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _currentValue2: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - _defaultValue: REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: context - }; - - { - var hasWarnedAboutUsingConsumer; - context._currentRenderer = null; - context._currentRenderer2 = null; - Object.defineProperties(context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } +var ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to. +React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - return null; - } - } - }); - } - - ContextRegistry[globalName] = context; - } - - return ContextRegistry[globalName]; +if (!ReactSharedServerInternals) { + throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); } +var ObjectPrototype = Object.prototype; var stringify = JSON.stringify; // Serializable values // Thenable<ReactClientValue> @@ -1616,8 +1521,8 @@ var PENDING$1 = 0; var COMPLETED = 1; var ABORTED = 3; var ERRORED$1 = 4; +var ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache; var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; -var ReactCurrentCache = ReactSharedInternals.ReactCurrentCache; function defaultErrorHandler(error) { console['error'](error); // Don't transform to our wrapper @@ -1638,6 +1543,8 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, ReactCurrentCache.current = DefaultCacheDispatcher; var abortSet = new Set(); var pingedTasks = []; + var cleanupQueue = []; + var hints = createHints(); var request = { status: OPEN, @@ -1659,8 +1566,10 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, writtenClientReferences: new Map(), writtenServerReferences: new Map(), writtenProviders: new Map(), + writtenObjects: new WeakMap(), identifierPrefix: identifierPrefix || '', identifierCount: 1, + taintCleanupQueue: cleanupQueue, onError: onError === undefined ? defaultErrorHandler : onError, onPostpone: onPostpone === undefined ? defaultPostponeHandler : onPostpone, // $FlowFixMe[missing-this-annot] @@ -1669,7 +1578,7 @@ function createRequest(model, bundlerConfig, onError, context, identifierPrefix, } }; request.pendingChunks++; - var rootContext = createRootContext(context); + var rootContext = createRootContext(); var rootTask = createTask(request, model, rootContext, abortSet); pingedTasks.push(rootTask); return request; @@ -1687,11 +1596,9 @@ function resolveRequest() { } function createRootContext(reqContext) { - return importServerContexts(reqContext); + return importServerContexts(); } -var POP = {}; - function serializeThenable(request, thenable) { request.pendingChunks++; var newTask = createTask(request, null, getActiveContext(), request.abortableTasks); @@ -1911,32 +1818,6 @@ function attemptResolveElement(request, type, key, ref, props, prevThenableState { return attemptResolveElement(request, type.type, key, ref, props, prevThenableState); } - - case REACT_PROVIDER_TYPE: - { - pushProvider(type._context, props.value); - - { - var extraKeys = Object.keys(props).filter(function (value) { - if (value === 'children' || value === 'value') { - return false; - } - - return true; - }); - - if (extraKeys.length !== 0) { - error('ServerContext can only have a value prop and children. Found: %s', JSON.stringify(extraKeys)); - } - } - - return [REACT_ELEMENT_TYPE, type, key, // Rely on __popProvider being serialized last to pop the provider. - { - value: props.value, - children: props.children, - __pop: POP - }]; - } } } @@ -1991,10 +1872,6 @@ function serializeSymbolReference(name) { return '$S' + name; } -function serializeProviderReference(name) { - return '$P' + name; -} - function serializeNumber(number) { if (Number.isFinite(number)) { if (number === 0 && 1 / number === -Infinity) { @@ -2083,10 +1960,9 @@ function serializeClientReference(request, parent, key, clientReference) { function outlineModel(request, value) { request.pendingChunks++; - var outlinedId = request.nextChunkId++; // We assume that this object doesn't suspend, but a child might. - - emitModelChunk(request, outlinedId, value); - return outlinedId; + var newTask = createTask(request, value, getActiveContext(), request.abortableTasks); + retryTask(request, newTask); + return newTask.id; } function serializeServerReference(request, parent, key, serverReference) { @@ -2119,12 +1995,44 @@ function serializeLargeTextString(request, text) { } function serializeMap(request, map) { - var id = outlineModel(request, Array.from(map)); + var entries = Array.from(map); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i][0]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$Q' + id.toString(16); } function serializeSet(request, set) { - var id = outlineModel(request, Array.from(set)); + var entries = Array.from(set); + + for (var i = 0; i < entries.length; i++) { + var key = entries[i]; + + if (typeof key === 'object' && key !== null) { + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(key); + + if (existingId === undefined) { + // Mark all object keys as seen so that they're always outlined. + writtenObjects.set(key, -1); + } + } + } + + var id = outlineModel(request, entries); return '$W' + id.toString(16); } @@ -2137,9 +2045,7 @@ function escapeStringValue(value) { return value; } } - -var insideContextProps = null; -var isInsideContextValue = false; +var modelRoot = false; function resolveModelToJSON(request, parent, key, value) { // Make sure that `parent[key]` wasn't JSONified before `value` was passed to us @@ -2168,29 +2074,37 @@ function resolveModelToJSON(request, parent, key, value) { return '$'; } - { - if (parent[0] === REACT_ELEMENT_TYPE && parent[1] && parent[1].$$typeof === REACT_PROVIDER_TYPE && key === '3') { - insideContextProps = value; - } else if (insideContextProps === parent && key === 'value') { - isInsideContextValue = true; - } else if (insideContextProps === parent && key === 'children') { - isInsideContextValue = false; - } - } // Resolve Server Components. - while (typeof value === 'object' && value !== null && (value.$$typeof === REACT_ELEMENT_TYPE || value.$$typeof === REACT_LAZY_TYPE)) { - { - if (isInsideContextValue) { - error('React elements are not allowed in ServerContext'); - } - } try { switch (value.$$typeof) { case REACT_ELEMENT_TYPE: { - // TODO: Concatenate keys of parents onto children. + var writtenObjects = request.writtenObjects; + var existingId = writtenObjects.get(value); + + if (existingId !== undefined) { + if (existingId === -1) { + // Seen but not yet outlined. + var newId = outlineModel(request, value); + return serializeByValueID(newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(existingId); + } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + writtenObjects.set(value, -1); + } // TODO: Concatenate keys of parents onto children. + + var element = value; // Attempt to render the Server Component. value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null); @@ -2242,35 +2156,61 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'object') { + if (isClientReference(value)) { - return serializeClientReference(request, parent, key, value); // $FlowFixMe[method-unbinding] - } else if (typeof value.then === 'function') { - // We assume that any object with a .then property is a "Thenable" type, + return serializeClientReference(request, parent, key, value); + } + + var _writtenObjects = request.writtenObjects; + + var _existingId = _writtenObjects.get(value); // $FlowFixMe[method-unbinding] + + + if (typeof value.then === 'function') { + if (_existingId !== undefined) { + if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've seen this promise before, so we can just refer to the same result. + return serializePromiseID(_existingId); + } + } // We assume that any object with a .then property is a "Thenable" type, // or a Promise type. Either of which can be represented by a Promise. + + var promiseId = serializeThenable(request, value); + + _writtenObjects.set(value, promiseId); + return serializePromiseID(promiseId); - } else if (value.$$typeof === REACT_PROVIDER_TYPE) { - var providerKey = value._context._globalName; - var writtenProviders = request.writtenProviders; - var providerId = writtenProviders.get(key); - - if (providerId === undefined) { - request.pendingChunks++; - providerId = request.nextChunkId++; - writtenProviders.set(providerKey, providerId); - emitProviderChunk(request, providerId, providerKey); - } + } - return serializeByValueID(providerId); - } else if (value === POP) { - popProvider(); + if (_existingId !== undefined) { + if (_existingId === -1) { + // Seen but not yet outlined. + var _newId = outlineModel(request, value); - { - insideContextProps = null; - isInsideContextValue = false; + return serializeByValueID(_newId); + } else if (modelRoot === value) { + // This is the ID we're currently emitting so we need to write it + // once but if we discover it again, we refer to it by id. + modelRoot = null; + } else { + // We've already emitted this as an outlined object, so we can + // just refer to that by its existing ID. + return serializeByValueID(_existingId); } + } else { + // This is the first time we've seen this object. We may never see it again + // so we'll inline it. Mark it as seen. If we see it again, we'll outline. + _writtenObjects.set(value, -1); + } - return undefined; + if (isArray(value)) { + // $FlowFixMe[incompatible-return] + return value; } if (value instanceof Map) { @@ -2281,27 +2221,29 @@ function resolveModelToJSON(request, parent, key, value) { return serializeSet(request, value); } - if (!isArray(value)) { - var iteratorFn = getIteratorFn(value); + var iteratorFn = getIteratorFn(value); - if (iteratorFn) { - return Array.from(value); - } + if (iteratorFn) { + return Array.from(value); + } // Verify that this is a simple plain object. + + + var proto = getPrototypeOf(value); + + if (proto !== ObjectPrototype && (proto === null || getPrototypeOf(proto) !== null)) { + throw new Error('Only plain objects, and a few built-ins, can be passed to Client Components ' + 'from Server Components. Classes or null prototypes are not supported.'); } { - if (value !== null && !isArray(value)) { - // Verify that this is a simple plain object. - if (objectName(value) !== 'Object') { - error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); - } else if (!isSimpleObject(value)) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); - } else if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(value); - - if (symbols.length > 0) { - error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); - } + if (objectName(value) !== 'Object') { + error('Only plain objects can be passed to Client Components from Server Components. ' + '%s objects are not supported.%s', objectName(value), describeObjectForErrorMessage(parent, key)); + } else if (!isSimpleObject(value)) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Classes or other objects with methods are not supported.%s', describeObjectForErrorMessage(parent, key)); + } else if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(value); + + if (symbols.length > 0) { + error('Only plain objects can be passed to Client Components from Server Components. ' + 'Objects with symbol properties like %s are not supported.%s', symbols[0].description, describeObjectForErrorMessage(parent, key)); } } } // $FlowFixMe[incompatible-return] @@ -2311,7 +2253,8 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'string') { - // TODO: Maybe too clever. If we support URL there's no similar trick. + + if (value[value.length - 1] === 'Z') { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] @@ -2345,6 +2288,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'function') { + if (isClientReference(value)) { return serializeClientReference(request, parent, key, value); } @@ -2362,10 +2306,11 @@ function resolveModelToJSON(request, parent, key, value) { if (typeof value === 'symbol') { var writtenSymbols = request.writtenSymbols; - var existingId = writtenSymbols.get(value); - if (existingId !== undefined) { - return serializeByValueID(existingId); + var _existingId2 = writtenSymbols.get(value); + + if (_existingId2 !== undefined) { + return serializeByValueID(_existingId2); } // $FlowFixMe[incompatible-type] `description` might be undefined @@ -2384,6 +2329,7 @@ function resolveModelToJSON(request, parent, key, value) { } if (typeof value === 'bigint') { + return serializeBigInt(value); } @@ -2403,7 +2349,8 @@ function logRecoverableError(request, error) { } function fatalError(request, error) { - // This is called outside error handling code such as if an error happens in React internals. + + if (request.destination !== null) { request.status = CLOSED; closeWithError(request.destination, error); @@ -2467,14 +2414,12 @@ function emitSymbolChunk(request, id, name) { request.completedImportChunks.push(processedChunk); } -function emitProviderChunk(request, id, contextName) { - var contextReference = serializeProviderReference(contextName); - var processedChunk = encodeReferenceChunk(request, id, contextReference); - request.completedRegularChunks.push(processedChunk); -} - function emitModelChunk(request, id, model) { - // $FlowFixMe[incompatible-type] stringify can return null + // Track the root so we know that we have to emit this object even though it + // already has an ID. This is needed because we might see this object twice + // in the same toJSON if it is cyclic. + modelRoot = model; // $FlowFixMe[incompatible-type] stringify can return null + var json = stringify(model, request.toJSON); var row = id.toString(16) + ':' + json + '\n'; var processedChunk = stringToChunk(row); @@ -2493,7 +2438,8 @@ function retryTask(request, task) { var value = task.model; if (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var element = value; // When retrying a component, reuse the thenableState from the // previous attempt. @@ -2510,11 +2456,17 @@ function retryTask(request, task) { // until the next time something suspends and retries. while (typeof value === 'object' && value !== null && value.$$typeof === REACT_ELEMENT_TYPE) { - // TODO: Concatenate keys of parents onto children. + request.writtenObjects.set(value, task.id); // TODO: Concatenate keys of parents onto children. + var nextElement = value; task.model = value; value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null); } + } // Track that this object is outlined and has an id. + + + if (typeof value === 'object' && value !== null) { + request.writtenObjects.set(value, task.id); } emitModelChunk(request, task.id, value); @@ -2669,7 +2621,7 @@ function flushCompletedChunks(request, destination) { flushBuffered(destination); if (request.pendingChunks === 0) { - // We're done. + close$1(destination); } } @@ -2754,22 +2706,6 @@ function abort(request, reason) { } function importServerContexts(contexts) { - if (contexts) { - var prevContext = getActiveContext(); - switchContext(rootContextSnapshot); - - for (var i = 0; i < contexts.length; i++) { - var _contexts$i = contexts[i], - name = _contexts$i[0], - value = _contexts$i[1]; - var context = getOrCreateServerContext(name); - pushProvider(context, value); - } - - var importedContext = getActiveContext(); - switchContext(prevContext); - return importedContext; - } return rootContextSnapshot; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js index 277ddbe3597ec..635c7f885b902 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js @@ -7,72 +7,74 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function t(a,b){a=a.write(b);q=q&&a} -function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,ea.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=ea.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(c),l).written);2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(t(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),t(a,b)):(d=l.length-m,d<b.byteLength&& -(0===d?t(a,l):(l.set(b.subarray(0,d),m),m+=d,t(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(t(a,l),l=new Uint8Array(2048),m=0)));return q}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:d}})}var fa=Function.prototype.bind,ha=Array.prototype.slice; -function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);a.$$typeof=w;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} -var ja=Promise.prototype,ka={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ +'use strict';var ba=require("util");require("crypto");var ca=require("async_hooks"),da=require("react"),ea=require("react-dom"),l=null,m=0,p=!0;function q(a,b){a=a.write(b);p=p&&a} +function r(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,fa.encode(b));else{var d=l;0<m&&(d=l.subarray(m));d=fa.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=fa.encodeInto(b.slice(c),l).written);2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(q(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),q(a,b)):(d=l.length-m,d<b.byteLength&& +(0===d?q(a,l):(l.set(b.subarray(0,d),m),m+=d,q(a,l),b=b.subarray(d)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(q(a,l),l=new Uint8Array(2048),m=0)));return p}var fa=new ba.TextEncoder,t=Symbol.for("react.client.reference"),v=Symbol.for("react.server.reference");function w(a,b,d){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:d}})}var ha=Function.prototype.bind,ia=Array.prototype.slice; +function ja(){var a=ha.apply(this,arguments);if(this.$$typeof===v){var b=ia.call(arguments,1);a.$$typeof=v;a.$$id=this.$$id;a.$$bound=this.$$bound?this.$$bound.concat(b):b}return a} +var ka=Promise.prototype,la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+ (String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}}; -function la(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=x(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); -},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=x({},a.$$id,!0),e=new Proxy(c,ma);a.status="fulfilled";a.value=e;return a.then=x(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=x(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); -},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,ka));return c} -var ma={get:function(a,b){return la(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:la(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ja},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ua={prefetchDNS:na,preconnect:oa,preload:pa,preloadModule:qa,preinitStyle:ra,preinitScript:sa,preinitModuleScript:ta}; -function na(a){if("string"===typeof a&&a){var b=y();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),z(b,"D",a))}}}function oa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?z(d,"C",[a,b]):z(d,"C",a))}}} -function pa(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,h=d.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?z(c,"L",[a,b,d]):z(c,"L",[a,b]))}}}function qa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"m",[a,b]):z(d,"m",a)}}} -function ra(a,b,d){if("string"===typeof a){var c=y();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?z(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?z(c,"S",[a,b]):z(c,"S",a)}}}function sa(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"X",[a,b]):z(d,"X",a)}}}function ta(a,b){if("string"===typeof a){var d=y();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?z(d,"M",[a,b]):z(d,"M",a)}}} +function ma(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case "__esModule":var d=a.$$id;a.default=w(function(){throw Error("Attempted to call the default export of "+d+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var c=w({},a.$$id,!0),e=new Proxy(c,na);a.status="fulfilled";a.value=e;return a.then=w(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}c=a[b];c||(c=w(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); +},a.$$id+"#"+b,a.$$async),Object.defineProperty(c,"name",{value:b}),c=a[b]=new Proxy(c,la));return c} +var na={get:function(a,b){return ma(a,b)},getOwnPropertyDescriptor:function(a,b){var d=Object.getOwnPropertyDescriptor(a,b);d||(d={value:ma(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,d));return d},getPrototypeOf:function(){return ka},set:function(){throw Error("Cannot assign to a client module from a server module.");}},va={prefetchDNS:oa,preconnect:pa,preload:qa,preloadModule:ra,preinitStyle:sa,preinitScript:ta,preinitModuleScript:ua}; +function oa(a){if("string"===typeof a&&a){var b=x();if(b){var d=b.hints,c="D|"+a;d.has(c)||(d.add(c),y(b,"D",a))}}}function pa(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="C|"+(null==b?"null":b)+"|"+a;c.has(e)||(c.add(e),"string"===typeof b?y(d,"C",[a,b]):y(d,"C",a))}}} +function qa(a,b,d){if("string"===typeof a){var c=x();if(c){var e=c.hints,f="L";if("image"===b&&d){var g=d.imageSrcSet,k=d.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(d=A(d))?y(c,"L",[a,b,d]):y(c,"L",[a,b]))}}}function ra(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="m|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"m",[a,b]):y(d,"m",a)}}} +function sa(a,b,d){if("string"===typeof a){var c=x();if(c){var e=c.hints,f="S|"+a;if(!e.has(f))return e.add(f),(d=A(d))?y(c,"S",[a,"string"===typeof b?b:0,d]):"string"===typeof b?y(c,"S",[a,b]):y(c,"S",a)}}}function ta(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="X|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"X",[a,b]):y(d,"X",a)}}}function ua(a,b){if("string"===typeof a){var d=x();if(d){var c=d.hints,e="M|"+a;if(!c.has(e))return c.add(e),(b=A(b))?y(d,"M",[a,b]):y(d,"M",a)}}} function A(a){if(null==a)return null;var b=!1,d={},c;for(c in a)null!=a[c]&&(b=!0,d[c]=a[c]);return b?d:null} -var va=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ba.AsyncLocalStorage,B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.provider"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),E=Symbol.for("react.default_value"),Ea=Symbol.for("react.memo_cache_sentinel"),Fa=Symbol.iterator,F=null; -function H(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");H(a,d);b.context._currentValue=b.value}}}function Ga(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ga(a)} -function Ha(a){var b=a.parent;null!==b&&Ha(b);a.context._currentValue=a.value}function Ia(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?H(a,b):Ia(a,b)} -function Ja(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?H(a,d):Ja(a,d);b.context._currentValue=b.value}function Ka(a){var b=F;b!==a&&(null===b?Ha(a):null===a?Ga(b):b.depth===a.depth?H(b,a):b.depth>a.depth?Ia(b,a):Ja(b,a),F=a)}function La(a,b){var d=a._currentValue;a._currentValue=b;var c=F;return F=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var Ma=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); -function Na(){}function Oa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Na,Na),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}I=b;throw Ma;}}var I=null; -function Pa(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}var J=null,K=0,L=null;function Qa(){var a=L;L=null;return a}function Ra(a){return a._currentValue} -var Va={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:M,useTransition:M,readContext:Ra,useContext:Ra,useReducer:M,useRef:M,useState:M,useInsertionEffect:M,useLayoutEffect:M,useImperativeHandle:M,useEffect:M,useId:Sa,useSyncExternalStore:M,useCacheRefresh:function(){return Ta},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Ua}; -function M(){throw Error("This Hook is not supported in Server Components.");}function Ta(){throw Error("Refreshing the cache is not supported in Server Components.");}function Sa(){if(null===J)throw Error("useId can only be used while React is rendering");var a=J.identifierCount++;return":"+J.identifierPrefix+"S"+a.toString(32)+":"} -function Ua(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===L&&(L=[]);return Oa(L,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Wa(){return(new AbortController).signal}function Xa(){var a=y();return a?a.cache:new Map} -var Ya={getCacheSignal:function(){var a=Xa(),b=a.get(Wa);void 0===b&&(b=Wa(),a.set(Wa,b));return b},getCacheForType:function(a){var b=Xa(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Za=Array.isArray;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} -function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Za(a))return"[...]";a=$a(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} -function N(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return N(a.render);case Da:return N(a.type);case D:var b=a._payload;a=a._init;try{return N(a(b))}catch(d){}}return""} -function O(a,b){var d=$a(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Za(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?O(g):ab(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+N(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?O(k): -ab(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var bb=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,cb=bb.ContextRegistry,P=JSON.stringify,db=bb.ReactCurrentDispatcher,eb=bb.ReactCurrentCache;function fb(a){console.error(a)}function gb(){} -function hb(a,b,d,c,e,f){if(null!==eb.current&&eb.current!==Ya)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;eb.current=Ya;var g=new Set,h=[],k=new Set,n={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, -writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?fb:d,onPostpone:void 0===f?gb:f,toJSON:function(r,p){return ib(n,this,r,p)}};n.pendingChunks++;b=jb(c);a=kb(n,a,b,g);h.push(a);return n}var Q=null;function y(){if(Q)return Q;var a=wa.getStore();return a?a:null}var lb={}; -function mb(a,b){a.pendingChunks++;var d=kb(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,nb(a,d),d.id;case "rejected":var c=R(a,b.reason);S(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;nb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=R(a,e);S(a, -d.id,e);null!==a.destination&&T(a,a.destination)});return d.id}function z(a,b,d){d=P(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");ob(a)}function pb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} -function qb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:D,_payload:a,_init:pb}} -function U(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[B,b,d,e];K=0;L=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:qb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===xa?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[B,b,d,e];switch(b.$$typeof){case D:var g= -b._init;b=g(b._payload);return U(a,b,d,c,e,f);case Aa:return a=b.render,K=0,L=f,a(e,void 0);case Da:return U(a,b.type,d,c,e,f);case ya:return La(b._context,e.value),[B,b,d,{value:e.value,children:e.children,__pop:lb}]}}throw Error("Unsupported Server Component type: "+ab(b));}function nb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return rb(a)}))} -function kb(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return nb(a,e)},thenableState:null};c.add(e);return e}function V(a){return"$"+a.toString(16)}function sb(a,b,d){a=P(d);return b.toString(16)+":"+a+"\n"} -function tb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):V(g);try{var h=a.bundlerConfig,k=c.$$id;g="";var n=h[k];if(n)g=n.name;else{var r=k.lastIndexOf("#");-1!==r&&(g=k.slice(r+1),n=h[k.slice(0,r)]);if(!n)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var p=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, -g];a.pendingChunks++;var G=a.nextChunkId++,C=P(p),Qb=G.toString(16)+":I"+C+"\n";a.completedImportChunks.push(Qb);f.set(e,G);return b[0]===B&&"1"===d?"$L"+G.toString(16):V(G)}catch(Rb){return a.pendingChunks++,b=a.nextChunkId++,d=R(a,Rb),S(a,b,d),V(b)}}function ub(a,b){a.pendingChunks++;var d=a.nextChunkId++;vb(a,d,b);return d} -function ib(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===D);)try{switch(c.$$typeof){case B:var e=c;c=U(a,e.type,e.key,e.ref,e.props,null);break;case D:var f=c._init;c=f(c._payload)}}catch(g){d=g===Ma?Pa():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=kb(a,c,F,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Qa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=R(a,d);S(a,c,d);return"$L"+ -c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===v)return tb(a,b,d,c);if("function"===typeof c.then)return"$@"+mb(a,c).toString(16);if(c.$$typeof===ya)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=sb(a,d,"$P"+c),a.completedRegularChunks.push(c)),V(d);if(c===lb){a=F;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue= -c===E?a.context._defaultValue:c;F=a.parent;return}return c instanceof Map?"$Q"+ub(a,Array.from(c)).toString(16):c instanceof Set?"$W"+ub(a,Array.from(c)).toString(16):!Za(c)&&(null===c||"object"!==typeof c?a=null:(a=Fa&&c[Fa]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,d=a.nextChunkId++,b="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,b= -d.toString(16)+":T"+b.toString(16)+",",a.completedRegularChunks.push(b,c),V(d);a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===v)return tb(a,b,d,c);if(c.$$typeof===w)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound, -b={id:c.$$id,bound:b?Promise.resolve(b):null},a=ub(a,b),d.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+O(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+O(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return V(f); -f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+O(b,d));a.pendingChunks++;d=a.nextChunkId++;b=sb(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return V(d)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+O(b,d));} -function R(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function wb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} -function S(a,b,d){d={digest:d};b=b.toString(16)+":E"+P(d)+"\n";a.completedErrorChunks.push(b)}function vb(a,b,d){d=P(d,a.toJSON);b=b.toString(16)+":"+d+"\n";a.completedRegularChunks.push(b)} -function rb(a){var b=db.current;db.current=Va;var d=Q;J=Q=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=c[e];var g=a;if(0===f.status){Ka(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===B){var k=h,n=f.thenableState;f.model=h;h=U(g,k.type,k.key,k.ref,k.props,n);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===B;)k=h,f.model=h,h=U(g,k.type,k.key,k.ref,k.props,null)}vb(g,f.id,h);g.abortableTasks.delete(f);f.status=1}catch(C){var r= -C===Ma?Pa():C;if("object"===typeof r&&null!==r&&"function"===typeof r.then){var p=f.ping;r.then(p,p);f.thenableState=Qa()}else{g.abortableTasks.delete(f);f.status=4;var G=R(g,r);S(g,f.id,G)}}}}null!==a.destination&&T(a,a.destination)}catch(C){R(a,C),wb(a,C)}finally{db.current=b,J=null,Q=d}} -function T(a,b){l=new Uint8Array(2048);m=0;q=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!u(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!u(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!u(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!u(b,g[c])){a.destination= -null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function xb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,rb,a)})}function ob(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return T(a,b)})}} -function yb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{T(a,b)}catch(d){R(a,d),wb(a,d)}}} -function zb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=R(a,c);a.pendingChunks++;var f=a.nextChunkId++;S(a,f,e,c);d.forEach(function(g){g.status=3;var h=V(f);g=sb(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&T(a,a.destination)}catch(g){R(a,g),wb(a,g)}} -function jb(a){if(a){var b=F;Ka(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];if(!cb[e]){var f={$$typeof:za,_currentValue:E,_currentValue2:E,_defaultValue:E,_threadCount:0,Provider:null,Consumer:null,_globalName:e};f.Provider={$$typeof:ya,_context:f};cb[e]=f}La(cb[e],c)}a=F;Ka(b);return a}return null}function Ab(a,b){var d=b.lastIndexOf("#");a=b.slice(0,d);b=b.slice(d+1);return{specifier:a,name:b}}var Bb=new Map; -function Cb(a){var b=Bb.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});Bb.set(a.specifier,d);return d}function W(a){var b=Bb.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]} -function Db(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}Db.prototype=Object.create(Promise.prototype);Db.prototype.then=function(a,b){switch(this.status){case "resolved_model":Eb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; -function Fb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Gb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Fb(d,b)}}function Hb(a,b,d,c,e,f){var g=Ab(a._bundlerConfig,b);a=Cb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Ib(c,e,f),Jb(c));return null}var X=null,Y=null; -function Eb(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Kb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Gb(d,b)})} -function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new Db("resolved_model",c,null,a):new Db("pending",null,null,a),d.set(b,c));return c}function Ib(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Fb(e,c.value))}}function Jb(a){return function(b){return Gb(a,b)}} -function Lb(a,b){a=Z(a,b);"resolved_model"===a.status&&Eb(a);if("fulfilled"!==a.status)throw a.reason;return a.value} -function Mb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Lb(a,c),Hb(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Lb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Lb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length), -g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Eb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Ib(c,b,d),Jb(c)),null;default:throw a.reason;}}return c} -function Nb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Mb(e,this,f,g):g}};return e} -function Ob(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Eb(b),b.status){case "fulfilled":Fb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Fb(a,b.reason)}}function Pb(a){Kb(a,Error("Connection closed."))} -function Sb(a,b,d){var c=Ab(a,b);a=Cb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Tb(a,b,d){a=Nb(b,d,a);Pb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Ub(a,b){return function(){return yb(b,a)}}function Vb(a,b){return function(){a.destination=null;zb(a,Error(b))}} -exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,ma)};exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Tb(a,b,e),c=Sb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Sb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; -exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=Tb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Nb(b,"",a);Pb(a);return Z(a,0)}; -exports.decodeReplyFromBusboy=function(a,b){var d=Nb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Ob(d,f,g)});a.on("file",function(f,g,h){var k=h.filename,n=h.mimeType;if("base64"===h.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var r=[];g.on("data",function(p){r.push(p)});g.on("end",function(){var p= -new Blob(r,{type:n});d._formData.append(f,p,k);c--;if(0===c){for(p=0;p<e.length;p+=2)Ob(d,e[p],e[p+1]);e.length=0}})});a.on("finish",function(){Pb(d)});a.on("error",function(f){Kb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return x(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ia}})}; -exports.renderToPipeableStream=function(a,b,d){var c=hb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;xb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;yb(c,f);f.on("drain",Ub(f,c));f.on("error",Vb(c,"The destination stream errored while writing data."));f.on("close",Vb(c,"The destination stream closed early."));return f},abort:function(f){zb(c,f)}}}; +var wa=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,xa=new ca.AsyncLocalStorage,B=Symbol.for("react.element"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.server_context"),Aa=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Ea=Symbol.for("react.memo_cache_sentinel"),Fa=Symbol.iterator,D=null; +function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function Ga(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&Ga(a)} +function Ha(a){var b=a.parent;null!==b&&Ha(b);a.context._currentValue=a.value}function Ia(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):Ia(a,b)} +function Ja(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):Ja(a,d);b.context._currentValue=b.value}var Ka=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); +function La(){}function Ma(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(La,La),b=d);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}F=b;throw Ka;}}var F=null; +function Na(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,H=0,I=null;function Oa(){var a=I;I=null;return a}function Pa(a){return a._currentValue} +var Ta={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:J,useTransition:J,readContext:Pa,useContext:Pa,useReducer:J,useRef:J,useState:J,useInsertionEffect:J,useLayoutEffect:J,useImperativeHandle:J,useEffect:J,useId:Qa,useSyncExternalStore:J,useCacheRefresh:function(){return Ra},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=Ea;return b},use:Sa}; +function J(){throw Error("This Hook is not supported in Server Components.");}function Ra(){throw Error("Refreshing the cache is not supported in Server Components.");}function Qa(){if(null===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"} +function Sa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=H;H+=1;null===I&&(I=[]);return Ma(I,a,b)}if(a.$$typeof===za)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ua(){return(new AbortController).signal}function Va(){var a=x();return a?a.cache:new Map} +var Wa={getCacheSignal:function(){var a=Va(),b=a.get(Ua);void 0===b&&(b=Ua(),a.set(Ua,b));return b},getCacheForType:function(a){var b=Va(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},Xa=Array.isArray,Ya=Object.getPrototypeOf;function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})} +function $a(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Xa(a))return"[...]";a=Za(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}} +function K(a){if("string"===typeof a)return a;switch(a){case Ba:return"Suspense";case Ca:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Aa:return K(a.render);case Da:return K(a.type);case C:var b=a._payload;a=a._init;try{return K(a(b))}catch(d){}}return""} +function L(a,b){var d=Za(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(Xa(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?L(g):$a(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+K(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?L(h): +$a(h);k===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var ab=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bb=da.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!bb)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); +var cb=Object.prototype,M=JSON.stringify,db=bb.ReactCurrentCache,eb=ab.ReactCurrentDispatcher;function fb(a){console.error(a)}function gb(){} +function hb(a,b,d,c,e,f){if(null!==db.current&&db.current!==Wa)throw Error("Currently React only supports one RSC renderer at a time.");wa.current=va;db.current=Wa;var g=new Set;c=[];var k=new Set,h={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:g,pingedTasks:c,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map, +writtenServerReferences:new Map,writtenProviders:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===d?fb:d,onPostpone:void 0===f?gb:f,toJSON:function(n,z){return ib(h,this,n,z)}};h.pendingChunks++;a=N(h,a,null,g);c.push(a);return h}var O=null;function x(){if(O)return O;var a=xa.getStore();return a?a:null} +function jb(a,b){a.pendingChunks++;var d=N(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,kb(a,d),d.id;case "rejected":var c=P(a,b.reason);Q(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;kb(a,d)},function(e){d.status=4;a.abortableTasks.delete(d);e=P(a,e);Q(a, +d.id,e);null!==a.destination&&R(a,a.destination)});return d.id}function y(a,b,d){d=M(d);var c=a.nextChunkId++;b="H"+b;b=c.toString(16)+":"+b;a.completedHintChunks.push(b+d+"\n");lb(a)}function mb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;} +function nb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:mb}} +function S(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===t)return[B,b,d,e];H=0;I=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:nb(e):e}if("string"===typeof b)return[B,b,d,e];if("symbol"===typeof b)return b===ya?e.children:[B,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===t)return[B,b,d,e];switch(b.$$typeof){case C:var g= +b._init;b=g(b._payload);return S(a,b,d,c,e,f);case Aa:return a=b.render,H=0,I=f,a(e,void 0);case Da:return S(a,b.type,d,c,e,f)}}throw Error("Unsupported Server Component type: "+$a(b));}function kb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return ob(a)}))}function N(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return kb(a,e)},thenableState:null};c.add(e);return e} +function T(a){return"$"+a.toString(16)}function pb(a,b,d){a=M(d);return b.toString(16)+":"+a+"\n"} +function qb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===d?"$L"+g.toString(16):T(g);try{var k=a.bundlerConfig,h=c.$$id;g="";var n=k[h];if(n)g=n.name;else{var z=h.lastIndexOf("#");-1!==z&&(g=h.slice(z+1),n=k[h.slice(0,z)]);if(!n)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===c.$$async?[n.id,n.chunks,g,1]:[n.id,n.chunks, +g];a.pendingChunks++;var aa=a.nextChunkId++,Mb=M(u),Nb=aa.toString(16)+":I"+Mb+"\n";a.completedImportChunks.push(Nb);f.set(e,aa);return b[0]===B&&"1"===d?"$L"+aa.toString(16):T(aa)}catch(Ob){return a.pendingChunks++,b=a.nextChunkId++,d=P(a,Ob),Q(a,b,d),T(b)}}function U(a,b){a.pendingChunks++;b=N(a,b,D,a.abortableTasks);rb(a,b);return b.id}var V=!1; +function ib(a,b,d,c){switch(c){case B:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===B||c.$$typeof===C);)try{switch(c.$$typeof){case B:var e=a.writtenObjects,f=e.get(c);if(void 0!==f){if(-1===f){var g=U(a,c);return T(g)}if(V===c)V=null;else return T(f)}else e.set(c,-1);var k=c;c=S(a,k.type,k.key,k.ref,k.props,null);break;case C:var h=c._init;c=h(c._payload)}}catch(n){b=n===Ka?Na():n;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=N(a,c,D,a.abortableTasks), +c=a.ping,b.then(c,c),a.thenableState=Oa(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;b=P(a,b);Q(a,c,b);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===t)return qb(a,b,d,c);b=a.writtenObjects;d=b.get(c);if("function"===typeof c.then){if(void 0!==d)if(V===c)V=null;else return"$@"+d.toString(16);a=jb(a,c);b.set(c,a);return"$@"+a.toString(16)}if(void 0!==d){if(-1===d)return a=U(a,c),T(a);if(V===c)V=null;else return T(d)}else b.set(c,-1);if(Xa(c))return c; +if(c instanceof Map){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b][0],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$Q"+U(a,c).toString(16)}if(c instanceof Set){c=Array.from(c);for(b=0;b<c.length;b++)d=c[b],"object"===typeof d&&null!==d&&(e=a.writtenObjects,void 0===e.get(d)&&e.set(d,-1));return"$W"+U(a,c).toString(16)}null===c||"object"!==typeof c?a=null:(a=Fa&&c[Fa]||c["@@iterator"],a="function"===typeof a?a:null);if(a)return Array.from(c);a=Ya(c);if(a!== +cb&&(null===a||null!==Ya(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;if(1024<=c.length)return a.pendingChunks+=2,b=a.nextChunkId++,d="string"===typeof c?Buffer.byteLength(c,"utf8"):c.byteLength,d=b.toString(16)+":T"+d.toString(16)+",",a.completedRegularChunks.push(d,c),T(b);a="$"===c[0]?"$"+ +c:c;return a}if("boolean"===typeof c)return c;if("number"===typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===t)return qb(a,b,d,c);if(c.$$typeof===v)return b=a.writtenServerReferences,d=b.get(c),void 0!==d?a="$F"+d.toString(16):(d=c.$$bound,d={id:c.$$id,bound:d?Promise.resolve(d):null},a=U(a,d),b.set(c,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+ +L(b,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".'+L(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return T(f);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+ +L(b,d));a.pendingChunks++;b=a.nextChunkId++;d=pb(a,b,"$S"+f);a.completedImportChunks.push(d);e.set(c,b);return T(b)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+L(b,d));} +function P(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function sb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} +function Q(a,b,d){d={digest:d};b=b.toString(16)+":E"+M(d)+"\n";a.completedErrorChunks.push(b)} +function rb(a,b){if(0===b.status){var d=D,c=b.context;d!==c&&(null===d?Ha(c):null===c?Ga(d):d.depth===c.depth?E(d,c):d.depth>c.depth?Ia(d,c):Ja(d,c),D=c);try{var e=b.model;if("object"===typeof e&&null!==e&&e.$$typeof===B){a.writtenObjects.set(e,b.id);d=e;var f=b.thenableState;b.model=e;e=S(a,d.type,d.key,d.ref,d.props,f);for(b.thenableState=null;"object"===typeof e&&null!==e&&e.$$typeof===B;)a.writtenObjects.set(e,b.id),f=e,b.model=e,e=S(a,f.type,f.key,f.ref,f.props,null)}"object"===typeof e&&null!== +e&&a.writtenObjects.set(e,b.id);var g=b.id;V=e;var k=M(e,a.toJSON),h=g.toString(16)+":"+k+"\n";a.completedRegularChunks.push(h);a.abortableTasks.delete(b);b.status=1}catch(n){g=n===Ka?Na():n,"object"===typeof g&&null!==g&&"function"===typeof g.then?(a=b.ping,g.then(a,a),b.thenableState=Oa()):(a.abortableTasks.delete(b),b.status=4,g=P(a,g),Q(a,b.id,g))}}} +function ob(a){var b=eb.current;eb.current=Ta;var d=O;G=O=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++)rb(a,c[e]);null!==a.destination&&R(a,a.destination)}catch(f){P(a,f),sb(a,f)}finally{eb.current=b,G=null,O=d}} +function R(a,b){l=new Uint8Array(2048);m=0;p=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!r(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)if(!r(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var f=a.completedRegularChunks;for(c=0;c<f.length;c++)if(a.pendingChunks--,!r(b,f[c])){a.destination=null;c++;break}f.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!r(b,g[c])){a.destination= +null;c++;break}g.splice(0,c)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,p=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function tb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return xa.run(a,ob,a)})}function lb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return R(a,b)})}} +function ub(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{R(a,b)}catch(d){P(a,d),sb(a,d)}}} +function vb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=void 0===b?Error("The render was aborted by the server without a reason."):b,e=P(a,c);a.pendingChunks++;var f=a.nextChunkId++;Q(a,f,e,c);d.forEach(function(g){g.status=3;var k=T(f);g=pb(a,g.id,k);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&R(a,a.destination)}catch(g){P(a,g),sb(a,g)}}function wb(a,b){var d=b.lastIndexOf("#");a=b.slice(0,d);b=b.slice(d+1);return{specifier:a,name:b}}var xb=new Map; +function yb(a){var b=xb.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});xb.set(a.specifier,d);return d}function W(a){var b=xb.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]} +function zb(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}zb.prototype=Object.create(Promise.prototype);zb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Ab(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}}; +function Bb(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Cb(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Bb(d,b)}}function Db(a,b,d,c,e,f){var g=wb(a._bundlerConfig,b);a=yb(g);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return W(g)});else return W(g);d.then(Eb(c,e,f),Fb(c));return null}var X=null,Y=null; +function Ab(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function Gb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Cb(d,b)})} +function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new zb("resolved_model",c,null,a):new zb("pending",null,null,a),d.set(b,c));return c}function Eb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Bb(e,c.value))}}function Fb(a){return function(b){return Cb(a,b)}} +function Hb(a,b){a=Z(a,b);"resolved_model"===a.status&&Ab(a);if("fulfilled"!==a.status)throw a.reason;return a.value} +function Ib(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),Z(a,b);case "S":return Symbol.for(c.slice(2));case "F":return c=parseInt(c.slice(2),16),c=Hb(a,c),Db(a,c.id,c.bound,X,b,d);case "Q":return b=parseInt(c.slice(2),16),a=Hb(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=Hb(a,b),new Set(a);case "K":b=c.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length), +g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=Z(a,c);switch(a.status){case "resolved_model":Ab(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=X,a.then(Eb(c,b,d),Fb(c)),null;default:throw a.reason;}}return c} +function Jb(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?Ib(e,this,f,g):g}};return e} +function Kb(a,b,d){a._formData.append(b,d);var c=a._prefix;if(b.startsWith(c)&&(a=a._chunks,b=+b.slice(c.length),(b=a.get(b))&&"pending"===b.status&&(c=b.value,a=b.reason,b.status="resolved_model",b.value=d,null!==c)))switch(Ab(b),b.status){case "fulfilled":Bb(c,b.value);break;case "pending":case "blocked":b.value=c;b.reason=a;break;case "rejected":a&&Bb(a,b.reason)}}function Lb(a){Gb(a,Error("Connection closed."))} +function Pb(a,b,d){var c=wb(a,b);a=yb(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=W(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(c)}):Promise.resolve(W(c))}function Qb(a,b,d){a=Jb(b,d,a);Lb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Rb(a,b){return function(){return ub(b,a)}}function Sb(a,b){return function(){a.destination=null;vb(a,Error(b))}} +exports.createClientModuleProxy=function(a){a=w({},a,!1);return new Proxy(a,na)};exports.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Qb(a,b,e),c=Pb(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Pb(b,e,null)):d.append(f,e)});return null===c?null:c.then(function(e){return e.bind(null,d)})}; +exports.decodeFormState=function(a,b,d){var c=b.get("$ACTION_KEY");if("string"!==typeof c)return Promise.resolve(null);var e=null;b.forEach(function(g,k){k.startsWith("$ACTION_REF_")&&(g="$ACTION_"+k.slice(12)+":",e=Qb(b,d,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,c,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Jb(b,"",a);Lb(a);return Z(a,0)}; +exports.decodeReplyFromBusboy=function(a,b){var d=Jb(b,""),c=0,e=[];a.on("field",function(f,g){0<c?e.push(f,g):Kb(d,f,g)});a.on("file",function(f,g,k){var h=k.filename,n=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");c++;var z=[];g.on("data",function(u){z.push(u)});g.on("end",function(){var u= +new Blob(z,{type:n});d._formData.append(f,u,h);c--;if(0===c){for(u=0;u<e.length;u+=2)Kb(d,e[u],e[u+1]);e.length=0}})});a.on("finish",function(){Lb(d)});a.on("error",function(f){Gb(d,f)});return Z(d,0)};exports.registerClientReference=function(a,b,d){return w(a,b+"#"+d,!1)};exports.registerServerReference=function(a,b,d){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:null===d?b:b+"#"+d},$$bound:{value:null},bind:{value:ja}})}; +exports.renderToPipeableStream=function(a,b,d){var c=hb(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0,d?d.onPostpone:void 0),e=!1;tb(c);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;ub(c,f);f.on("drain",Rb(f,c));f.on("error",Sb(c,"The destination stream errored while writing data."));f.on("close",Sb(c,"The destination stream closed early."));return f},abort:function(f){vb(c,f)}}}; diff --git a/packages/next/src/compiled/react-server-dom-webpack/package.json b/packages/next/src/compiled/react-server-dom-webpack/package.json index c5d059ee2bf58..416f9d86bb14f 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack/package.json @@ -47,8 +47,8 @@ "loose-envify": "^1.1.0" }, "peerDependencies": { - "react": "18.3.0-canary-d900fadbf-20230929", - "react-dom": "18.3.0-canary-d900fadbf-20230929", + "react": "18.3.0-canary-d803f519e-20231020", + "react-dom": "18.3.0-canary-d803f519e-20231020", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react/cjs/react-jsx-dev-runtime.development.js b/packages/next/src/compiled/react/cjs/react-jsx-dev-runtime.development.js index 9d4d9fe8f9768..ee92edad3be79 100644 --- a/packages/next/src/compiled/react/cjs/react-jsx-dev-runtime.development.js +++ b/packages/next/src/compiled/react/cjs/react-jsx-dev-runtime.development.js @@ -27,7 +27,6 @@ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_CONTEXT_TYPE = Symbol.for('react.context'); -var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); @@ -224,12 +223,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -723,7 +716,7 @@ function testStringCoercion(value) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } diff --git a/packages/next/src/compiled/react/cjs/react-jsx-runtime.development.js b/packages/next/src/compiled/react/cjs/react-jsx-runtime.development.js index 9c7bd16ccdb47..d6ce97ab26c0c 100644 --- a/packages/next/src/compiled/react/cjs/react-jsx-runtime.development.js +++ b/packages/next/src/compiled/react/cjs/react-jsx-runtime.development.js @@ -27,7 +27,6 @@ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_CONTEXT_TYPE = Symbol.for('react.context'); -var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); @@ -224,12 +223,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -723,7 +716,7 @@ function testStringCoercion(value) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } diff --git a/packages/next/src/compiled/react/cjs/react.development.js b/packages/next/src/compiled/react/cjs/react.development.js index 2f5ae758e2e2b..c21d8e1f7e0e2 100644 --- a/packages/next/src/compiled/react/cjs/react.development.js +++ b/packages/next/src/compiled/react/cjs/react.development.js @@ -23,7 +23,7 @@ if ( ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; + var ReactVersion = '18.3.0-canary-d803f519e-20231020'; // ATTENTION // When adding new symbols to this file, @@ -36,7 +36,6 @@ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_CONTEXT_TYPE = Symbol.for('react.context'); -var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); @@ -44,7 +43,6 @@ var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); var REACT_CACHE_TYPE = Symbol.for('react.cache'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; function getIteratorFn(maybeIterable) { @@ -156,8 +154,6 @@ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in var enableDebugTracing = false; // Track which Fiber(s) schedule render work. -var ContextRegistry$1 = {}; - var ReactSharedInternals = { ReactCurrentDispatcher: ReactCurrentDispatcher$1, ReactCurrentCache: ReactCurrentCache, @@ -170,10 +166,6 @@ var ReactSharedInternals = { ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue; } -{ - ReactSharedInternals.ContextRegistry = ContextRegistry$1; -} - // by calls to these methods by a Babel plugin. // // In PROD (or in packages without access to React internals), @@ -520,7 +512,7 @@ function testStringCoercion(value) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -625,12 +617,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -1797,9 +1783,9 @@ function useTransition() { var dispatcher = resolveDispatcher(); return dispatcher.useTransition(); } -function useDeferredValue(value) { +function useDeferredValue(value, initialValue) { var dispatcher = resolveDispatcher(); - return dispatcher.useDeferredValue(value); + return dispatcher.useDeferredValue(value, initialValue); } function useId() { var dispatcher = resolveDispatcher(); @@ -1818,6 +1804,11 @@ function use(usable) { var dispatcher = resolveDispatcher(); return dispatcher.use(usable); } +function useOptimistic(passthrough, reducer) { + var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional + + return dispatcher.useOptimistic(passthrough, reducer); +} // Helpers to patch console.logs to avoid logging during side-effect free // replaying on render function. This currently only patches the object @@ -2580,81 +2571,6 @@ function cloneElementWithValidation(element, props, children) { return newElement; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; -function createServerContext(globalName, defaultValue) { - - { - error('Server Context is deprecated and will soon be removed. ' + 'It was never documented and we have found it not to be useful ' + 'enough to warrant the downside it imposes on all apps.'); - } - - var wasDefined = true; - - if (!ContextRegistry[globalName]) { - wasDefined = false; - var _context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: defaultValue, - _currentValue2: defaultValue, - _defaultValue: defaultValue, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - _context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: _context - }; - - { - var hasWarnedAboutUsingConsumer; - _context._currentRenderer = null; - _context._currentRenderer2 = null; - Object.defineProperties(_context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } - - return null; - } - } - }); - } - - ContextRegistry[globalName] = _context; - } - - var context = ContextRegistry[globalName]; - - if (context._defaultValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._defaultValue = defaultValue; - - if (context._currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._currentValue = defaultValue; - } - - if (context._currentValue2 === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._currentValue2 = defaultValue; - } - } else if (wasDefined) { - throw new Error("ServerContext: " + globalName + " already defined"); - } - - return context; -} - function startTransition(scope, options) { var prevTransition = ReactCurrentBatchConfig.transition; ReactCurrentBatchConfig.transition = {}; @@ -3022,7 +2938,6 @@ exports.createContext = createContext; exports.createElement = createElement; exports.createFactory = createFactory; exports.createRef = createRef; -exports.createServerContext = createServerContext; exports.forwardRef = forwardRef; exports.isValidElement = isValidElement; exports.lazy = lazy; @@ -3041,6 +2956,7 @@ exports.useImperativeHandle = useImperativeHandle; exports.useInsertionEffect = useInsertionEffect; exports.useLayoutEffect = useLayoutEffect; exports.useMemo = useMemo; +exports.useOptimistic = useOptimistic; exports.useReducer = useReducer; exports.useRef = useRef; exports.useState = useState; diff --git a/packages/next/src/compiled/react/cjs/react.production.min.js b/packages/next/src/compiled/react/cjs/react.production.min.js index 259b209e817bf..ae5e3eb88d734 100644 --- a/packages/next/src/compiled/react/cjs/react.production.min.js +++ b/packages/next/src/compiled/react/cjs/react.production.min.js @@ -7,24 +7,23 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -'use strict';var l=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t=Symbol.for("react.provider"),u=Symbol.for("react.context"),v=Symbol.for("react.server_context"),w=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),A=Symbol.for("react.default_value"),B=Symbol.iterator; -function C(a){if(null===a||"object"!==typeof a)return null;a=B&&a[B]||a["@@iterator"];return"function"===typeof a?a:null}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,F={};function G(a,b,c){this.props=a;this.context=b;this.refs=F;this.updater=c||D}G.prototype.isReactComponent={}; -G.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function H(){}H.prototype=G.prototype;function I(a,b,c){this.props=a;this.context=b;this.refs=F;this.updater=c||D}var J=I.prototype=new H; -J.constructor=I;E(J,G.prototype);J.isPureReactComponent=!0;var K=Array.isArray,L=Object.prototype.hasOwnProperty,M={current:null},N={key:!0,ref:!0,__self:!0,__source:!0}; -function O(a,b,c){var d,e={},f=null,g=null;if(null!=b)for(d in void 0!==b.ref&&(g=b.ref),void 0!==b.key&&(f=""+b.key),b)L.call(b,d)&&!N.hasOwnProperty(d)&&(e[d]=b[d]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var k=Array(h),m=0;m<h;m++)k[m]=arguments[m+2];e.children=k}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===e[d]&&(e[d]=h[d]);return{$$typeof:l,type:a,key:f,ref:g,props:e,_owner:M.current}} -function aa(a,b){return{$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function P(a){return"object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var Q=/\/+/g;function R(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)} -function S(a,b,c,d,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var g=!1;if(null===a)g=!0;else switch(f){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case l:case n:g=!0}}if(g)return g=a,e=e(g),a=""===d?"."+R(g,0):d,K(e)?(c="",null!=a&&(c=a.replace(Q,"$&/")+"/"),S(e,b,c,"",function(m){return m})):null!=e&&(P(e)&&(e=aa(e,c+(!e.key||g&&g.key===e.key?"":(""+e.key).replace(Q,"$&/")+"/")+a)),b.push(e)),1;g=0;d=""===d?".":d+":";if(K(a))for(var h=0;h<a.length;h++){f= -a[h];var k=d+R(f,h);g+=S(f,b,c,k,e)}else if(k=C(a),"function"===typeof k)for(a=k.call(a),h=0;!(f=a.next()).done;)f=f.value,k=d+R(f,h++),g+=S(f,b,c,k,e);else if("object"===f)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return g} -function T(a,b,c){if(null==a)return a;var d=[],e=0;S(a,d,"","",function(f){return b.call(c,f,e++)});return d}function ba(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var U={current:null};function ca(){return new WeakMap} -function V(){return{s:0,v:void 0,o:null,p:null}}var W={current:null},X={transition:null},Y={ReactCurrentDispatcher:W,ReactCurrentCache:U,ReactCurrentBatchConfig:X,ReactCurrentOwner:M,ContextRegistry:{}},Z=Y.ContextRegistry; -exports.Children={map:T,forEach:function(a,b,c){T(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;T(a,function(){b++});return b},toArray:function(a){return T(a,function(b){return b})||[]},only:function(a){if(!P(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};exports.Component=G;exports.Fragment=p;exports.Profiler=r;exports.PureComponent=I;exports.StrictMode=q;exports.Suspense=x; -exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y; -exports.cache=function(a){return function(){var b=U.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ca);b=c.get(a);void 0===b&&(b=V(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var f=b.o;null===f&&(b.o=f=new WeakMap);b=f.get(e);void 0===b&&(b=V(),f.set(e,b))}else f=b.p,null===f&&(b.p=f=new Map),b=f.get(e),void 0===b&&(b=V(),f.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var g=a.apply(null, +'use strict';var l=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t=Symbol.for("react.provider"),u=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),z=Symbol.iterator;function A(a){if(null===a||"object"!==typeof a)return null;a=z&&a[z]||a["@@iterator"];return"function"===typeof a?a:null} +var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,c){this.props=a;this.context=b;this.refs=D;this.updater=c||B}E.prototype.isReactComponent={}; +E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}F.prototype=E.prototype;function G(a,b,c){this.props=a;this.context=b;this.refs=D;this.updater=c||B}var H=G.prototype=new F; +H.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0}; +function M(a,b,c){var f,d={},e=null,g=null;if(null!=b)for(f in void 0!==b.ref&&(g=b.ref),void 0!==b.key&&(e=""+b.key),b)J.call(b,f)&&!L.hasOwnProperty(f)&&(d[f]=b[f]);var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){for(var k=Array(h),m=0;m<h;m++)k[m]=arguments[m+2];d.children=k}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===d[f]&&(d[f]=h[f]);return{$$typeof:l,type:a,key:e,ref:g,props:d,_owner:K.current}} +function N(a,b){return{$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return"object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var P=/\/+/g;function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)} +function R(a,b,c,f,d){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var g=!1;if(null===a)g=!0;else switch(e){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case l:case n:g=!0}}if(g)return g=a,d=d(g),a=""===f?"."+Q(g,0):f,I(d)?(c="",null!=a&&(c=a.replace(P,"$&/")+"/"),R(d,b,c,"",function(m){return m})):null!=d&&(O(d)&&(d=N(d,c+(!d.key||g&&g.key===d.key?"":(""+d.key).replace(P,"$&/")+"/")+a)),b.push(d)),1;g=0;f=""===f?".":f+":";if(I(a))for(var h=0;h<a.length;h++){e= +a[h];var k=f+Q(e,h);g+=R(e,b,c,k,d)}else if(k=A(a),"function"===typeof k)for(a=k.call(a),h=0;!(e=a.next()).done;)e=e.value,k=f+Q(e,h++),g+=R(e,b,c,k,d);else if("object"===e)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return g} +function S(a,b,c){if(null==a)return a;var f=[],d=0;R(a,f,"","",function(e){return b.call(c,e,d++)});return f}function T(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var U={current:null};function V(){return new WeakMap} +function W(){return{s:0,v:void 0,o:null,p:null}}var X={current:null},Y={transition:null},Z={ReactCurrentDispatcher:X,ReactCurrentCache:U,ReactCurrentBatchConfig:Y,ReactCurrentOwner:K}; +exports.Children={map:S,forEach:function(a,b,c){S(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;S(a,function(){b++});return b},toArray:function(a){return S(a,function(b){return b})||[]},only:function(a){if(!O(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};exports.Component=E;exports.Fragment=p;exports.Profiler=r;exports.PureComponent=G;exports.StrictMode=q;exports.Suspense=w; +exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z; +exports.cache=function(a){return function(){var b=U.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(V);b=c.get(a);void 0===b&&(b=W(),c.set(a,b));c=0;for(var f=arguments.length;c<f;c++){var d=arguments[c];if("function"===typeof d||"object"===typeof d&&null!==d){var e=b.o;null===e&&(b.o=e=new WeakMap);b=e.get(d);void 0===b&&(b=W(),e.set(d,b))}else e=b.p,null===e&&(b.p=e=new Map),b=e.get(d),void 0===b&&(b=W(),e.set(d,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var g=a.apply(null, arguments);c=b;c.s=1;return c.v=g}catch(h){throw g=b,g.s=2,g.v=h,h;}}}; -exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=E({},a.props),e=a.key,f=a.ref,g=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,g=M.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var h=a.type.defaultProps;for(k in b)L.call(b,k)&&!N.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==h?h[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){h=Array(k); -for(var m=0;m<k;m++)h[m]=arguments[m+2];d.children=h}return{$$typeof:l,type:a.type,key:e,ref:f,props:d,_owner:g}};exports.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};exports.createElement=O;exports.createFactory=function(a){var b=O.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}}; -exports.createServerContext=function(a,b){var c=!0;if(!Z[a]){c=!1;var d={$$typeof:v,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};d.Provider={$$typeof:t,_context:d};Z[a]=d}d=Z[a];if(d._defaultValue===A)d._defaultValue=b,d._currentValue===A&&(d._currentValue=b),d._currentValue2===A&&(d._currentValue2=b);else if(c)throw Error("ServerContext: "+a+" already defined");return d};exports.forwardRef=function(a){return{$$typeof:w,render:a}}; -exports.isValidElement=P;exports.lazy=function(a){return{$$typeof:z,_payload:{_status:-1,_result:a},_init:ba}};exports.memo=function(a,b){return{$$typeof:y,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.use=function(a){return W.current.use(a)}; -exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)}; -exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)}; -exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-canary-d900fadbf-20230929"; +exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var f=C({},a.props),d=a.key,e=a.ref,g=a._owner;if(null!=b){void 0!==b.ref&&(e=b.ref,g=K.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var h=a.type.defaultProps;for(k in b)J.call(b,k)&&!L.hasOwnProperty(k)&&(f[k]=void 0===b[k]&&void 0!==h?h[k]:b[k])}var k=arguments.length-2;if(1===k)f.children=c;else if(1<k){h=Array(k); +for(var m=0;m<k;m++)h[m]=arguments[m+2];f.children=h}return{$$typeof:l,type:a.type,key:d,ref:e,props:f,_owner:g}};exports.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};exports.createElement=M;exports.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}}; +exports.forwardRef=function(a){return{$$typeof:v,render:a}};exports.isValidElement=O;exports.lazy=function(a){return{$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};exports.memo=function(a,b){return{$$typeof:x,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=Y.transition;Y.transition={};try{a()}finally{Y.transition=b}};exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};exports.unstable_useCacheRefresh=function(){return X.current.useCacheRefresh()}; +exports.use=function(a){return X.current.use(a)};exports.useCallback=function(a,b){return X.current.useCallback(a,b)};exports.useContext=function(a){return X.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a,b){return X.current.useDeferredValue(a,b)};exports.useEffect=function(a,b){return X.current.useEffect(a,b)};exports.useId=function(){return X.current.useId()};exports.useImperativeHandle=function(a,b,c){return X.current.useImperativeHandle(a,b,c)}; +exports.useInsertionEffect=function(a,b){return X.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return X.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return X.current.useMemo(a,b)};exports.useOptimistic=function(a,b){return X.current.useOptimistic(a,b)};exports.useReducer=function(a,b,c){return X.current.useReducer(a,b,c)};exports.useRef=function(a){return X.current.useRef(a)};exports.useState=function(a){return X.current.useState(a)}; +exports.useSyncExternalStore=function(a,b,c){return X.current.useSyncExternalStore(a,b,c)};exports.useTransition=function(){return X.current.useTransition()};exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/react/cjs/react.shared-subset.development.js b/packages/next/src/compiled/react/cjs/react.shared-subset.development.js index ae2c1a6f39c28..8cd8dc0a656d6 100644 --- a/packages/next/src/compiled/react/cjs/react.shared-subset.development.js +++ b/packages/next/src/compiled/react/cjs/react.shared-subset.development.js @@ -21,32 +21,6 @@ var ReactCurrentDispatcher$1 = { current: null }; -/** - * Keeps track of the current Cache dispatcher. - */ -var ReactCurrentCache = { - current: null -}; - -/** - * Keeps track of the current batch's configuration such as how long an update - * should suspend for if it needs to. - */ -var ReactCurrentBatchConfig = { - transition: null -}; - -var ReactCurrentActQueue = { - current: null, - // Used to reproduce behavior of `batchedUpdates` in legacy mode. - isBatchingLegacy: false, - didScheduleLegacyUpdate: false, - // Tracks whether something called `use` during the current batch of work. - // Determines whether we should yield to microtasks to unwrap already resolved - // promises without suspending. - didUsePromise: false -}; - /** * Keeps track of the current owner. * @@ -109,22 +83,13 @@ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in var enableDebugTracing = false; // Track which Fiber(s) schedule render work. -var ContextRegistry$1 = {}; - var ReactSharedInternals = { ReactCurrentDispatcher: ReactCurrentDispatcher$1, - ReactCurrentCache: ReactCurrentCache, - ReactCurrentBatchConfig: ReactCurrentBatchConfig, ReactCurrentOwner: ReactCurrentOwner }; { ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame$1; - ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue; -} - -{ - ReactSharedInternals.ContextRegistry = ContextRegistry$1; } // by calls to these methods by a Babel plugin. @@ -182,6 +147,13 @@ function printWarning(level, format, args) { var assign = Object.assign; +/** + * Keeps track of the current Cache dispatcher. + */ +var ReactCurrentCache = { + current: null +}; + function createFetchCache() { return new Map(); } @@ -305,7 +277,11 @@ function generateCacheKey(request) { } } -var ReactVersion = '18.3.0-canary-d900fadbf-20230929'; +var ReactServerSharedInternals = { + ReactCurrentCache: ReactCurrentCache +}; + +var ReactVersion = '18.3.0-canary-d803f519e-20231020'; // ATTENTION // When adding new symbols to this file, @@ -318,7 +294,6 @@ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'); var REACT_PROFILER_TYPE = Symbol.for('react.profiler'); var REACT_PROVIDER_TYPE = Symbol.for('react.provider'); var REACT_CONTEXT_TYPE = Symbol.for('react.context'); -var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context'); var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'); var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'); @@ -326,7 +301,6 @@ var REACT_MEMO_TYPE = Symbol.for('react.memo'); var REACT_LAZY_TYPE = Symbol.for('react.lazy'); var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); var REACT_CACHE_TYPE = Symbol.for('react.cache'); -var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value'); var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; function getIteratorFn(maybeIterable) { @@ -634,7 +608,7 @@ function testStringCoercion(value) { function checkKeyStringCoercion(value) { { if (willCoercionThrow(value)) { - error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value)); + error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before using it here.', typeName(value)); return testStringCoercion(value); // throw (to help callers find troubleshooting comments) } @@ -739,12 +713,6 @@ function getComponentNameFromType(type) { } } - case REACT_SERVER_CONTEXT_TYPE: - { - var context2 = type; - return (context2.displayName || context2._globalName) + '.Provider'; - } - } } @@ -2507,81 +2475,20 @@ function cloneElementWithValidation(element, props, children) { return newElement; } -var ContextRegistry = ReactSharedInternals.ContextRegistry; function createServerContext(globalName, defaultValue) { - { - error('Server Context is deprecated and will soon be removed. ' + 'It was never documented and we have found it not to be useful ' + 'enough to warrant the downside it imposes on all apps.'); - } - - var wasDefined = true; - - if (!ContextRegistry[globalName]) { - wasDefined = false; - var _context = { - $$typeof: REACT_SERVER_CONTEXT_TYPE, - // As a workaround to support multiple concurrent renderers, we categorize - // some renderers as primary and others as secondary. We only expect - // there to be two concurrent renderers at most: React Native (primary) and - // Fabric (secondary); React DOM (primary) and React ART (secondary). - // Secondary renderers store their context values on separate fields. - _currentValue: defaultValue, - _currentValue2: defaultValue, - _defaultValue: defaultValue, - // Used to track how many concurrent renderers this context currently - // supports within in a single renderer. Such as parallel server rendering. - _threadCount: 0, - // These are circular - Provider: null, - Consumer: null, - _globalName: globalName - }; - _context.Provider = { - $$typeof: REACT_PROVIDER_TYPE, - _context: _context - }; - - { - var hasWarnedAboutUsingConsumer; - _context._currentRenderer = null; - _context._currentRenderer2 = null; - Object.defineProperties(_context, { - Consumer: { - get: function () { - if (!hasWarnedAboutUsingConsumer) { - error('Consumer pattern is not supported by ReactServerContext'); - - hasWarnedAboutUsingConsumer = true; - } - - return null; - } - } - }); - } - - ContextRegistry[globalName] = _context; + throw new Error('Not implemented.'); } - - var context = ContextRegistry[globalName]; - - if (context._defaultValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._defaultValue = defaultValue; - - if (context._currentValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._currentValue = defaultValue; - } - - if (context._currentValue2 === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) { - context._currentValue2 = defaultValue; - } - } else if (wasDefined) { - throw new Error("ServerContext: " + globalName + " already defined"); - } - - return context; } +/** + * Keeps track of the current batch's configuration such as how long an update + * should suspend for if it needs to. + */ +var ReactCurrentBatchConfig = { + transition: null +}; + function startTransition(scope, options) { var prevTransition = ReactCurrentBatchConfig.transition; ReactCurrentBatchConfig.transition = {}; @@ -2626,6 +2533,7 @@ exports.Profiler = REACT_PROFILER_TYPE; exports.StrictMode = REACT_STRICT_MODE_TYPE; exports.Suspense = REACT_SUSPENSE_TYPE; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; +exports.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactServerSharedInternals; exports.cache = cache; exports.cloneElement = cloneElement; exports.createElement = createElement; diff --git a/packages/next/src/compiled/react/cjs/react.shared-subset.production.min.js b/packages/next/src/compiled/react/cjs/react.shared-subset.production.min.js index c224c0e7159a4..d881e07cecb5a 100644 --- a/packages/next/src/compiled/react/cjs/react.shared-subset.production.min.js +++ b/packages/next/src/compiled/react/cjs/react.shared-subset.production.min.js @@ -10,20 +10,18 @@ 'use strict';var m=Object.assign,n={current:null};function p(){return new Map} if("function"===typeof fetch){var q=fetch,r=function(a,b){var d=n.current;if(!d||b&&b.signal&&b.signal!==d.getCacheSignal())return q(a,b);if("string"!==typeof a||b){var c="string"===typeof a||a instanceof URL?new Request(a,b):a;if("GET"!==c.method&&"HEAD"!==c.method||c.keepalive)return q(a,b);var e=JSON.stringify([c.method,Array.from(c.headers.entries()),c.mode,c.redirect,c.credentials,c.referrer,c.referrerPolicy,c.integrity]);c=c.url}else e='["GET",[],null,"follow",null,null,null,null]',c=a;var f= d.getCacheForType(p);d=f.get(c);if(void 0===d)a=q(a,b),f.set(c,[e,a]);else{c=0;for(f=d.length;c<f;c+=2){var h=d[c+1];if(d[c]===e)return a=h,a.then(function(g){return g.clone()})}a=q(a,b);d.push(e,a)}return a.then(function(g){return g.clone()})};m(r,q);try{fetch=r}catch(a){try{globalThis.fetch=r}catch(b){console.warn("React was unable to patch the fetch() function in this environment. Suspensey APIs might not work correctly as a result.")}}} -var t=Symbol.for("react.element"),u=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),z=Symbol.for("react.server_context"),A=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),aa=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),E=Symbol.iterator; -function ba(a){if(null===a||"object"!==typeof a)return null;a=E&&a[E]||a["@@iterator"];return"function"===typeof a?a:null}function F(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)b+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} -var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H={};function I(a,b,d){this.props=a;this.context=b;this.refs=H;this.updater=d||G}I.prototype.isReactComponent={};I.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(F(85));this.updater.enqueueSetState(this,a,b,"setState")};I.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")}; -function J(){}J.prototype=I.prototype;function K(a,b,d){this.props=a;this.context=b;this.refs=H;this.updater=d||G}var L=K.prototype=new J;L.constructor=K;m(L,I.prototype);L.isPureReactComponent=!0;var M=Array.isArray,N=Object.prototype.hasOwnProperty,O={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function ca(a,b){return{$$typeof:t,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function Q(a){return"object"===typeof a&&null!==a&&a.$$typeof===t} -function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(d){return b[d]})}var R=/\/+/g;function S(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)} -function T(a,b,d,c,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var h=!1;if(null===a)h=!0;else switch(f){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case t:case u:h=!0}}if(h)return h=a,e=e(h),a=""===c?"."+S(h,0):c,M(e)?(d="",null!=a&&(d=a.replace(R,"$&/")+"/"),T(e,b,d,"",function(l){return l})):null!=e&&(Q(e)&&(e=ca(e,d+(!e.key||h&&h.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+a)),b.push(e)),1;h=0;c=""===c?".":c+":";if(M(a))for(var g=0;g<a.length;g++){f= -a[g];var k=c+S(f,g);h+=T(f,b,d,k,e)}else if(k=ba(a),"function"===typeof k)for(a=k.call(a),g=0;!(f=a.next()).done;)f=f.value,k=c+S(f,g++),h+=T(f,b,d,k,e);else if("object"===f)throw b=String(a),Error(F(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function U(a,b,d){if(null==a)return a;var c=[],e=0;T(a,c,"","",function(f){return b.call(d,f,e++)});return c} -function da(a){if(-1===a._status){var b=a._result;b=b();b.then(function(d){if(0===a._status||-1===a._status)a._status=1,a._result=d},function(d){if(0===a._status||-1===a._status)a._status=2,a._result=d});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ea(){return new WeakMap}function V(){return{s:0,v:void 0,o:null,p:null}} -var W={current:null},X={transition:null},Y={ReactCurrentDispatcher:W,ReactCurrentCache:n,ReactCurrentBatchConfig:X,ReactCurrentOwner:O,ContextRegistry:{}},Z=Y.ContextRegistry;exports.Children={map:U,forEach:function(a,b,d){U(a,function(){b.apply(this,arguments)},d)},count:function(a){var b=0;U(a,function(){b++});return b},toArray:function(a){return U(a,function(b){return b})||[]},only:function(a){if(!Q(a))throw Error(F(143));return a}};exports.Fragment=v;exports.Profiler=x;exports.StrictMode=w; -exports.Suspense=B;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y; -exports.cache=function(a){return function(){var b=n.current;if(!b)return a.apply(null,arguments);var d=b.getCacheForType(ea);b=d.get(a);void 0===b&&(b=V(),d.set(a,b));d=0;for(var c=arguments.length;d<c;d++){var e=arguments[d];if("function"===typeof e||"object"===typeof e&&null!==e){var f=b.o;null===f&&(b.o=f=new WeakMap);b=f.get(e);void 0===b&&(b=V(),f.set(e,b))}else f=b.p,null===f&&(b.p=f=new Map),b=f.get(e),void 0===b&&(b=V(),f.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var h=a.apply(null, +var t={current:null},u={current:null},v={ReactCurrentDispatcher:t,ReactCurrentOwner:u},w={ReactCurrentCache:n},x=Symbol.for("react.element"),y=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),C=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),G=Symbol.iterator; +function H(a){if(null===a||"object"!==typeof a)return null;a=G&&a[G]||a["@@iterator"];return"function"===typeof a?a:null}function I(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)b+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} +var J={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},K={};function L(a,b,d){this.props=a;this.context=b;this.refs=K;this.updater=d||J}L.prototype.isReactComponent={};L.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(I(85));this.updater.enqueueSetState(this,a,b,"setState")};L.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")}; +function M(){}M.prototype=L.prototype;function N(a,b,d){this.props=a;this.context=b;this.refs=K;this.updater=d||J}var O=N.prototype=new M;O.constructor=N;m(O,L.prototype);O.isPureReactComponent=!0;var P=Array.isArray,Q=Object.prototype.hasOwnProperty,R={key:!0,ref:!0,__self:!0,__source:!0};function S(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function T(a){return"object"===typeof a&&null!==a&&a.$$typeof===x} +function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(d){return b[d]})}var U=/\/+/g;function V(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)} +function W(a,b,d,c,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var h=!1;if(null===a)h=!0;else switch(f){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case x:case y:h=!0}}if(h)return h=a,e=e(h),a=""===c?"."+V(h,0):c,P(e)?(d="",null!=a&&(d=a.replace(U,"$&/")+"/"),W(e,b,d,"",function(l){return l})):null!=e&&(T(e)&&(e=S(e,d+(!e.key||h&&h.key===e.key?"":(""+e.key).replace(U,"$&/")+"/")+a)),b.push(e)),1;h=0;c=""===c?".":c+":";if(P(a))for(var g=0;g<a.length;g++){f= +a[g];var k=c+V(f,g);h+=W(f,b,d,k,e)}else if(k=H(a),"function"===typeof k)for(a=k.call(a),g=0;!(f=a.next()).done;)f=f.value,k=c+V(f,g++),h+=W(f,b,d,k,e);else if("object"===f)throw b=String(a),Error(I(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function X(a,b,d){if(null==a)return a;var c=[],e=0;W(a,c,"","",function(f){return b.call(d,f,e++)});return c} +function Y(a){if(-1===a._status){var b=a._result;b=b();b.then(function(d){if(0===a._status||-1===a._status)a._status=1,a._result=d},function(d){if(0===a._status||-1===a._status)a._status=2,a._result=d});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function aa(){return new WeakMap}function Z(){return{s:0,v:void 0,o:null,p:null}} +exports.Children={map:X,forEach:function(a,b,d){X(a,function(){b.apply(this,arguments)},d)},count:function(a){var b=0;X(a,function(){b++});return b},toArray:function(a){return X(a,function(b){return b})||[]},only:function(a){if(!T(a))throw Error(I(143));return a}};exports.Fragment=z;exports.Profiler=B;exports.StrictMode=A;exports.Suspense=D;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=v;exports.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=w; +exports.cache=function(a){return function(){var b=n.current;if(!b)return a.apply(null,arguments);var d=b.getCacheForType(aa);b=d.get(a);void 0===b&&(b=Z(),d.set(a,b));d=0;for(var c=arguments.length;d<c;d++){var e=arguments[d];if("function"===typeof e||"object"===typeof e&&null!==e){var f=b.o;null===f&&(b.o=f=new WeakMap);b=f.get(e);void 0===b&&(b=Z(),f.set(e,b))}else f=b.p,null===f&&(b.p=f=new Map),b=f.get(e),void 0===b&&(b=Z(),f.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var h=a.apply(null, arguments);d=b;d.s=1;return d.v=h}catch(g){throw h=b,h.s=2,h.v=g,g;}}}; -exports.cloneElement=function(a,b,d){if(null===a||void 0===a)throw Error(F(267,a));var c=m({},a.props),e=a.key,f=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,h=O.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)N.call(b,k)&&!P.hasOwnProperty(k)&&(c[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)c.children=d;else if(1<k){g=Array(k);for(var l=0;l<k;l++)g[l]=arguments[l+2];c.children=g}return{$$typeof:t,type:a.type, -key:e,ref:f,props:c,_owner:h}};exports.createElement=function(a,b,d){var c,e={},f=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(f=""+b.key),b)N.call(b,c)&&!P.hasOwnProperty(c)&&(e[c]=b[c]);var g=arguments.length-2;if(1===g)e.children=d;else if(1<g){for(var k=Array(g),l=0;l<g;l++)k[l]=arguments[l+2];e.children=k}if(a&&a.defaultProps)for(c in g=a.defaultProps,g)void 0===e[c]&&(e[c]=g[c]);return{$$typeof:t,type:a,key:f,ref:h,props:e,_owner:O.current}};exports.createRef=function(){return{current:null}}; -exports.createServerContext=function(a,b){var d=!0;if(!Z[a]){d=!1;var c={$$typeof:z,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};c.Provider={$$typeof:y,_context:c};Z[a]=c}c=Z[a];if(c._defaultValue===D)c._defaultValue=b,c._currentValue===D&&(c._currentValue=b),c._currentValue2===D&&(c._currentValue2=b);else if(d)throw Error(F(429,a));return c};exports.forwardRef=function(a){return{$$typeof:A,render:a}};exports.isValidElement=Q; -exports.lazy=function(a){return{$$typeof:aa,_payload:{_status:-1,_result:a},_init:da}};exports.memo=function(a,b){return{$$typeof:C,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.use=function(a){return W.current.use(a)};exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){}; -exports.useId=function(){return W.current.useId()};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.version="18.3.0-canary-d900fadbf-20230929"; +exports.cloneElement=function(a,b,d){if(null===a||void 0===a)throw Error(I(267,a));var c=m({},a.props),e=a.key,f=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,h=u.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)Q.call(b,k)&&!R.hasOwnProperty(k)&&(c[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)c.children=d;else if(1<k){g=Array(k);for(var l=0;l<k;l++)g[l]=arguments[l+2];c.children=g}return{$$typeof:x,type:a.type, +key:e,ref:f,props:c,_owner:h}};exports.createElement=function(a,b,d){var c,e={},f=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(f=""+b.key),b)Q.call(b,c)&&!R.hasOwnProperty(c)&&(e[c]=b[c]);var g=arguments.length-2;if(1===g)e.children=d;else if(1<g){for(var k=Array(g),l=0;l<g;l++)k[l]=arguments[l+2];e.children=k}if(a&&a.defaultProps)for(c in g=a.defaultProps,g)void 0===e[c]&&(e[c]=g[c]);return{$$typeof:x,type:a,key:f,ref:h,props:e,_owner:u.current}};exports.createRef=function(){return{current:null}}; +exports.createServerContext=function(){throw Error(I(248));};exports.forwardRef=function(a){return{$$typeof:C,render:a}};exports.isValidElement=T;exports.lazy=function(a){return{$$typeof:F,_payload:{_status:-1,_result:a},_init:Y}};exports.memo=function(a,b){return{$$typeof:E,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){a()};exports.use=function(a){return t.current.use(a)};exports.useCallback=function(a,b){return t.current.useCallback(a,b)};exports.useContext=function(a){return t.current.useContext(a)}; +exports.useDebugValue=function(){};exports.useId=function(){return t.current.useId()};exports.useMemo=function(a,b){return t.current.useMemo(a,b)};exports.version="18.3.0-canary-d803f519e-20231020"; diff --git a/packages/next/src/compiled/undici/LICENSE b/packages/next/src/compiled/undici/LICENSE deleted file mode 100644 index e7323bb52ec35..0000000000000 --- a/packages/next/src/compiled/undici/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Matteo Collina and Undici 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/packages/next/src/compiled/undici/index.js b/packages/next/src/compiled/undici/index.js deleted file mode 100644 index 7df975a258e05..0000000000000 --- a/packages/next/src/compiled/undici/index.js +++ /dev/null @@ -1,3 +0,0 @@ -(()=>{var __webpack_modules__={7560:(A,e,t)=>{"use strict";const s=t(4492).Writable;const r=t(7261).inherits;const o=t(2326);const n=t(2768);const i=t(4830);const E=45;const Q=Buffer.from("-");const g=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(A){if(!(this instanceof Dicer)){return new Dicer(A)}s.call(this,A);if(!A||!A.headerFirst&&typeof A.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof A.boundary==="string"){this.setBoundary(A.boundary)}else{this._bparser=undefined}this._headerFirst=A.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:A.partHwm};this._pause=false;const e=this;this._hparser=new i(A);this._hparser.on("header",(function(A){e._inHeader=false;e._part.emit("header",A)}))}r(Dicer,s);Dicer.prototype.emit=function(A){if(A==="finish"&&!this._realFinish){if(!this._finished){const A=this;process.nextTick((function(){A.emit("error",new Error("Unexpected end of multipart data"));if(A._part&&!A._ignoreData){const e=A._isPreamble?"Preamble":"Part";A._part.emit("error",new Error(e+" terminated early due to unexpected end of multipart data"));A._part.push(null);process.nextTick((function(){A._realFinish=true;A.emit("finish");A._realFinish=false}));return}A._realFinish=true;A.emit("finish");A._realFinish=false}))}}else{s.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(A,e,t){if(!this._hparser&&!this._bparser){return t()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new n(this._partOpts);if(this._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const e=this._hparser.push(A);if(!this._inHeader&&e!==undefined&&e<A.length){A=A.slice(e)}else{return t()}}if(this._firstWrite){this._bparser.push(g);this._firstWrite=false}this._bparser.push(A);if(this._pause){this._cb=t}else{t()}};Dicer.prototype.reset=function(){this._part=undefined;this._bparser=undefined;this._hparser=undefined};Dicer.prototype.setBoundary=function(A){const e=this;this._bparser=new o("\r\n--"+A);this._bparser.on("info",(function(A,t,s,r){e._oninfo(A,t,s,r)}))};Dicer.prototype._ignore=function(){if(this._part&&!this._ignoreData){this._ignoreData=true;this._part.on("error",EMPTY_FN);this._part.resume()}};Dicer.prototype._oninfo=function(A,e,t,s){let r;const o=this;let i=0;let g;let B=true;if(!this._part&&this._justMatched&&e){while(this._dashes<2&&t+i<s){if(e[t+i]===E){++i;++this._dashes}else{if(this._dashes){r=Q}this._dashes=0;break}}if(this._dashes===2){if(t+i<s&&this._events.trailer){this.emit("trailer",e.slice(t+i,s))}this.reset();this._finished=true;if(o._parts===0){o._realFinish=true;o.emit("finish");o._realFinish=false}}if(this._dashes){return}}if(this._justMatched){this._justMatched=false}if(!this._part){this._part=new n(this._partOpts);this._part._read=function(A){o._unpause()};if(this._isPreamble&&this._events.preamble){this.emit("preamble",this._part)}else if(this._isPreamble!==true&&this._events.part){this.emit("part",this._part)}else{this._ignore()}if(!this._isPreamble){this._inHeader=true}}if(e&&t<s&&!this._ignoreData){if(this._isPreamble||!this._inHeader){if(r){B=this._part.push(r)}B=this._part.push(e.slice(t,s));if(!B){this._pause=true}}else if(!this._isPreamble&&this._inHeader){if(r){this._hparser.push(r)}g=this._hparser.push(e.slice(t,s));if(!this._inHeader&&g!==undefined&&g<s){this._oninfo(false,e,t+g,s)}}}if(A){this._hparser.reset();if(this._isPreamble){this._isPreamble=false}else{if(t!==s){++this._parts;this._part.on("end",(function(){if(--o._parts===0){if(o._finished){o._realFinish=true;o.emit("finish");o._realFinish=false}else{o._unpause()}}}))}}this._part.push(null);this._part=undefined;this._ignoreData=false;this._justMatched=true;this._dashes=0}};Dicer.prototype._unpause=function(){if(!this._pause){return}this._pause=false;if(this._cb){const A=this._cb;this._cb=undefined;A()}};A.exports=Dicer},4830:(A,e,t)=>{"use strict";const s=t(5673).EventEmitter;const r=t(7261).inherits;const o=t(3836);const n=t(2326);const i=Buffer.from("\r\n\r\n");const E=/\r\n/g;const Q=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(A){s.call(this);A=A||{};const e=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=o(A,"maxHeaderPairs",2e3);this.maxHeaderSize=o(A,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new n(i);this.ss.on("info",(function(A,t,s,r){if(t&&!e.maxed){if(e.nread+r-s>=e.maxHeaderSize){r=e.maxHeaderSize-e.nread+s;e.nread=e.maxHeaderSize;e.maxed=true}else{e.nread+=r-s}e.buffer+=t.toString("binary",s,r)}if(A){e._finish()}}))}r(HeaderParser,s);HeaderParser.prototype.push=function(A){const e=this.ss.push(A);if(this.finished){return e}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const A=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",A)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const A=this.buffer.split(E);const e=A.length;let t,s;for(var r=0;r<e;++r){if(A[r].length===0){continue}if(A[r][0]==="\t"||A[r][0]===" "){if(s){this.header[s][this.header[s].length-1]+=A[r];continue}}const e=A[r].indexOf(":");if(e===-1||e===0){return}t=Q.exec(A[r]);s=t[1].toLowerCase();this.header[s]=this.header[s]||[];this.header[s].push(t[2]||"");if(++this.npairs===this.maxHeaderPairs){break}}};A.exports=HeaderParser},2768:(A,e,t)=>{"use strict";const s=t(7261).inherits;const r=t(4492).Readable;function PartStream(A){r.call(this,A)}s(PartStream,r);PartStream.prototype._read=function(A){};A.exports=PartStream},2326:(A,e,t)=>{"use strict";const s=t(5673).EventEmitter;const r=t(7261).inherits;function SBMH(A){if(typeof A==="string"){A=Buffer.from(A)}if(!Buffer.isBuffer(A)){throw new TypeError("The needle has to be a String or a Buffer.")}const e=A.length;if(e===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(e>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(e);this._lookbehind_size=0;this._needle=A;this._bufpos=0;this._lookbehind=Buffer.alloc(e);for(var t=0;t<e-1;++t){this._occ[A[t]]=e-1-t}}r(SBMH,s);SBMH.prototype.reset=function(){this._lookbehind_size=0;this.matches=0;this._bufpos=0};SBMH.prototype.push=function(A,e){if(!Buffer.isBuffer(A)){A=Buffer.from(A,"binary")}const t=A.length;this._bufpos=e||0;let s;while(s!==t&&this.matches<this.maxMatches){s=this._sbmh_feed(A)}return s};SBMH.prototype._sbmh_feed=function(A){const e=A.length;const t=this._needle;const s=t.length;const r=t[s-1];let o=-this._lookbehind_size;let n;if(o<0){while(o<0&&o<=e-s){n=this._sbmh_lookup_char(A,o+s-1);if(n===r&&this._sbmh_memcmp(A,o,s-1)){this._lookbehind_size=0;++this.matches;this.emit("info",true);return this._bufpos=o+s}o+=this._occ[n]}if(o<0){while(o<0&&!this._sbmh_memcmp(A,o,e-o)){++o}}if(o>=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const t=this._lookbehind_size+o;if(t>0){this.emit("info",false,this._lookbehind,0,t)}this._lookbehind.copy(this._lookbehind,0,t,this._lookbehind_size-t);this._lookbehind_size-=t;A.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=e;this._bufpos=e;return e}}o+=(o>=0)*this._bufpos;if(A.indexOf(t,o)!==-1){o=A.indexOf(t,o);++this.matches;if(o>0){this.emit("info",true,A,this._bufpos,o)}else{this.emit("info",true)}return this._bufpos=o+s}else{o=e-s}while(o<e&&(A[o]!==t[0]||Buffer.compare(A.subarray(o,o+e-o),t.subarray(0,e-o))!==0)){++o}if(o<e){A.copy(this._lookbehind,0,o,o+(e-o));this._lookbehind_size=e-o}if(o>0){this.emit("info",false,A,this._bufpos,o<e?o:e)}this._bufpos=e;return e};SBMH.prototype._sbmh_lookup_char=function(A,e){return e<0?this._lookbehind[this._lookbehind_size+e]:A[e]};SBMH.prototype._sbmh_memcmp=function(A,e,t){for(var s=0;s<t;++s){if(this._sbmh_lookup_char(A,e+s)!==this._needle[s]){return false}}return true};A.exports=SBMH},8826:(A,e,t)=>{"use strict";const s=t(4492).Writable;const{inherits:r}=t(7261);const o=t(7560);const n=t(2321);const i=t(2688);const E=t(4485);function Busboy(A){if(!(this instanceof Busboy)){return new Busboy(A)}if(typeof A!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof A.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof A.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:e,...t}=A;this.opts={autoDestroy:false,...t};s.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(e);this._finished=false}r(Busboy,s);Busboy.prototype.emit=function(A){if(A==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}s.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(A){const e=E(A["content-type"]);const t={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:A,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:e,preservePath:this.opts.preservePath};if(n.detect.test(e[0])){return new n(this,t)}if(i.detect.test(e[0])){return new i(this,t)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(A,e,t){this._parser.write(A,t)};A.exports=Busboy;A.exports["default"]=Busboy;A.exports.Busboy=Busboy;A.exports.Dicer=o},2321:(A,e,t)=>{"use strict";const{Readable:s}=t(4492);const{inherits:r}=t(7261);const o=t(7560);const n=t(4485);const i=t(5603);const E=t(6722);const Q=t(3836);const g=/^boundary$/i;const B=/^form-data$/i;const C=/^charset$/i;const a=/^filename$/i;const I=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(A,e){let t;let s;const r=this;let c;const h=e.limits;const l=e.isPartAFile||((A,e,t)=>e==="application/octet-stream"||t!==undefined);const u=e.parsedConType||[];const d=e.defCharset||"utf8";const f=e.preservePath;const y={highWaterMark:e.fileHwm};for(t=0,s=u.length;t<s;++t){if(Array.isArray(u[t])&&g.test(u[t][0])){c=u[t][1];break}}function checkFinished(){if(m===0&&M&&!A._done){M=false;r.end()}}if(typeof c!=="string"){throw new Error("Multipart: Boundary not found")}const D=Q(h,"fieldSize",1*1024*1024);const R=Q(h,"fileSize",Infinity);const p=Q(h,"files",Infinity);const w=Q(h,"fields",Infinity);const k=Q(h,"parts",Infinity);const F=Q(h,"headerPairs",2e3);const N=Q(h,"headerSize",80*1024);let b=0;let S=0;let m=0;let U;let L;let M=false;this._needDrain=false;this._pause=false;this._cb=undefined;this._nparts=0;this._boy=A;const Y={boundary:c,maxHeaderPairs:F,maxHeaderSize:N,partHwm:y.highWaterMark,highWaterMark:e.highWaterMark};this.parser=new o(Y);this.parser.on("drain",(function(){r._needDrain=false;if(r._cb&&!r._pause){const A=r._cb;r._cb=undefined;A()}})).on("part",(function onPart(e){if(++r._nparts>k){r.parser.removeListener("part",onPart);r.parser.on("part",skipPart);A.hitPartsLimit=true;A.emit("partsLimit");return skipPart(e)}if(L){const A=L;A.emit("end");A.removeAllListeners("end")}e.on("header",(function(o){let Q;let g;let c;let h;let u;let k;let F=0;if(o["content-type"]){c=n(o["content-type"][0]);if(c[0]){Q=c[0].toLowerCase();for(t=0,s=c.length;t<s;++t){if(C.test(c[t][0])){h=c[t][1].toLowerCase();break}}}}if(Q===undefined){Q="text/plain"}if(h===undefined){h=d}if(o["content-disposition"]){c=n(o["content-disposition"][0]);if(!B.test(c[0])){return skipPart(e)}for(t=0,s=c.length;t<s;++t){if(I.test(c[t][0])){g=c[t][1]}else if(a.test(c[t][0])){k=c[t][1];if(!f){k=E(k)}}}}else{return skipPart(e)}if(o["content-transfer-encoding"]){u=o["content-transfer-encoding"][0].toLowerCase()}else{u="7bit"}let N,M;if(l(g,Q,k)){if(b===p){if(!A.hitFilesLimit){A.hitFilesLimit=true;A.emit("filesLimit")}return skipPart(e)}++b;if(!A._events.file){r.parser._ignore();return}++m;const t=new FileStream(y);U=t;t.on("end",(function(){--m;r._pause=false;checkFinished();if(r._cb&&!r._needDrain){const A=r._cb;r._cb=undefined;A()}}));t._read=function(A){if(!r._pause){return}r._pause=false;if(r._cb&&!r._needDrain){const A=r._cb;r._cb=undefined;A()}};A.emit("file",g,t,k,u,Q);N=function(A){if((F+=A.length)>R){const s=R-F+A.length;if(s>0){t.push(A.slice(0,s))}t.truncated=true;t.bytesRead=R;e.removeAllListeners("data");t.emit("limit");return}else if(!t.push(A)){r._pause=true}t.bytesRead=F};M=function(){U=undefined;t.push(null)}}else{if(S===w){if(!A.hitFieldsLimit){A.hitFieldsLimit=true;A.emit("fieldsLimit")}return skipPart(e)}++S;++m;let t="";let s=false;L=e;N=function(A){if((F+=A.length)>D){const r=D-(F-A.length);t+=A.toString("binary",0,r);s=true;e.removeAllListeners("data")}else{t+=A.toString("binary")}};M=function(){L=undefined;if(t.length){t=i(t,"binary",h)}A.emit("field",g,t,false,s,u,Q);--m;checkFinished()}}e._readableState.sync=false;e.on("data",N);e.on("end",M)})).on("error",(function(A){if(U){U.emit("error",A)}}))})).on("error",(function(e){A.emit("error",e)})).on("finish",(function(){M=true;checkFinished()}))}Multipart.prototype.write=function(A,e){const t=this.parser.write(A);if(t&&!this._pause){e()}else{this._needDrain=!t;this._cb=e}};Multipart.prototype.end=function(){const A=this;if(A.parser.writable){A.parser.end()}else if(!A._boy._done){process.nextTick((function(){A._boy._done=true;A._boy.emit("finish")}))}};function skipPart(A){A.resume()}function FileStream(A){s.call(this,A);this.bytesRead=0;this.truncated=false}r(FileStream,s);FileStream.prototype._read=function(A){};A.exports=Multipart},2688:(A,e,t)=>{"use strict";const s=t(721);const r=t(5603);const o=t(3836);const n=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(A,e){const t=e.limits;const r=e.parsedConType;this.boy=A;this.fieldSizeLimit=o(t,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=o(t,"fieldNameSize",100);this.fieldsLimit=o(t,"fields",Infinity);let i;for(var E=0,Q=r.length;E<Q;++E){if(Array.isArray(r[E])&&n.test(r[E][0])){i=r[E][1].toLowerCase();break}}if(i===undefined){i=e.defCharset||"utf8"}this.decoder=new s;this.charset=i;this._fields=0;this._state="key";this._checkingBytes=true;this._bytesKey=0;this._bytesVal=0;this._key="";this._val="";this._keyTrunc=false;this._valTrunc=false;this._hitLimit=false}UrlEncoded.prototype.write=function(A,e){if(this._fields===this.fieldsLimit){if(!this.boy.hitFieldsLimit){this.boy.hitFieldsLimit=true;this.boy.emit("fieldsLimit")}return e()}let t;let s;let o;let n=0;const i=A.length;while(n<i){if(this._state==="key"){t=s=undefined;for(o=n;o<i;++o){if(!this._checkingBytes){++n}if(A[o]===61){t=o;break}else if(A[o]===38){s=o;break}if(this._checkingBytes&&this._bytesKey===this.fieldNameSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesKey}}if(t!==undefined){if(t>n){this._key+=this.decoder.write(A.toString("binary",n,t))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();n=t+1}else if(s!==undefined){++this._fields;let t;const o=this._keyTrunc;if(s>n){t=this._key+=this.decoder.write(A.toString("binary",n,s))}else{t=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(t.length){this.boy.emit("field",r(t,"binary",this.charset),"",o,false)}n=s+1;if(this._fields===this.fieldsLimit){return e()}}else if(this._hitLimit){if(o>n){this._key+=this.decoder.write(A.toString("binary",n,o))}n=o;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(n<i){this._key+=this.decoder.write(A.toString("binary",n))}n=i}}else{s=undefined;for(o=n;o<i;++o){if(!this._checkingBytes){++n}if(A[o]===38){s=o;break}if(this._checkingBytes&&this._bytesVal===this.fieldSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesVal}}if(s!==undefined){++this._fields;if(s>n){this._val+=this.decoder.write(A.toString("binary",n,s))}this.boy.emit("field",r(this._key,"binary",this.charset),r(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();n=s+1;if(this._fields===this.fieldsLimit){return e()}}else if(this._hitLimit){if(o>n){this._val+=this.decoder.write(A.toString("binary",n,o))}n=o;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(n<i){this._val+=this.decoder.write(A.toString("binary",n))}n=i}}}e()};UrlEncoded.prototype.end=function(){if(this.boy._done){return}if(this._state==="key"&&this._key.length>0){this.boy.emit("field",r(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",r(this._key,"binary",this.charset),r(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};A.exports=UrlEncoded},721:A=>{"use strict";const e=/\+/g;const t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(A){A=A.replace(e," ");let s="";let r=0;let o=0;const n=A.length;for(;r<n;++r){if(this.buffer!==undefined){if(!t[A.charCodeAt(r)]){s+="%"+this.buffer;this.buffer=undefined;--r}else{this.buffer+=A[r];++o;if(this.buffer.length===2){s+=String.fromCharCode(parseInt(this.buffer,16));this.buffer=undefined}}}else if(A[r]==="%"){if(r>o){s+=A.substring(o,r);o=r}this.buffer="";++o}}if(o<n&&this.buffer===undefined){s+=A.substring(o)}return s};Decoder.prototype.reset=function(){this.buffer=undefined};A.exports=Decoder},6722:A=>{"use strict";A.exports=function basename(A){if(typeof A!=="string"){return""}for(var e=A.length-1;e>=0;--e){switch(A.charCodeAt(e)){case 47:case 92:A=A.slice(e+1);return A===".."||A==="."?"":A}}return A===".."||A==="."?"":A}},5603:A=>{"use strict";const e=new TextDecoder("utf-8");const t=new Map([["utf-8",e],["utf8",e]]);function decodeText(A,e,s){if(A){if(t.has(s)){try{return t.get(s).decode(Buffer.from(A,e))}catch(A){}}else{try{t.set(s,new TextDecoder(s));return t.get(s).decode(Buffer.from(A,e))}catch(A){}}}return A}A.exports=decodeText},3836:A=>{"use strict";A.exports=function getLimit(A,e,t){if(!A||A[e]===undefined||A[e]===null){return t}if(typeof A[e]!=="number"||isNaN(A[e])){throw new TypeError("Limit "+e+" is not a valid number")}return A[e]}},4485:(A,e,t)=>{"use strict";const s=t(5603);const r=/%([a-fA-F0-9]{2})/g;function encodedReplacer(A,e){return String.fromCharCode(parseInt(e,16))}function parseParams(A){const e=[];let t="key";let o="";let n=false;let i=false;let E=0;let Q="";for(var g=0,B=A.length;g<B;++g){const B=A[g];if(B==="\\"&&n){if(i){i=false}else{i=true;continue}}else if(B==='"'){if(!i){if(n){n=false;t="key"}else{n=true}continue}else{i=false}}else{if(i&&n){Q+="\\"}i=false;if((t==="charset"||t==="lang")&&B==="'"){if(t==="charset"){t="lang";o=Q.substring(1)}else{t="value"}Q="";continue}else if(t==="key"&&(B==="*"||B==="=")&&e.length){if(B==="*"){t="charset"}else{t="value"}e[E]=[Q,undefined];Q="";continue}else if(!n&&B===";"){t="key";if(o){if(Q.length){Q=s(Q.replace(r,encodedReplacer),"binary",o)}o=""}else if(Q.length){Q=s(Q,"binary","utf8")}if(e[E]===undefined){e[E]=Q}else{e[E][1]=Q}Q="";++E;continue}else if(!n&&(B===" "||B==="\t")){continue}}Q+=B}if(o&&Q.length){Q=s(Q.replace(r,encodedReplacer),"binary",o)}else if(Q){Q=s(Q,"binary","utf8")}if(e[E]===undefined){if(Q){e[E]=Q}}else{e[E][1]=Q}return e}A.exports=parseParams},4567:(A,e,t)=>{"use strict";const s=t(3379);const r=t(5242);const o=t(7528);const n=t(8116);const i=t(8842);const E=t(6283);const Q=t(7234);const{InvalidArgumentError:g}=o;const B=t(6637);const C=t(1724);const a=t(4425);const I=t(1028);const c=t(5387);const h=t(7610);const l=t(4090);const{getGlobalDispatcher:u,setGlobalDispatcher:d}=t(366);const f=t(9759);const y=t(1964);const D=t(7100);let R;try{t(6113);R=true}catch{R=false}Object.assign(r.prototype,B);A.exports.Dispatcher=r;A.exports.Client=s;A.exports.Pool=n;A.exports.BalancedPool=i;A.exports.Agent=E;A.exports.ProxyAgent=l;A.exports.DecoratorHandler=f;A.exports.RedirectHandler=y;A.exports.createRedirectInterceptor=D;A.exports.buildConnector=C;A.exports.errors=o;function makeDispatcher(A){return(e,t,s)=>{if(typeof t==="function"){s=t;t=null}if(!e||typeof e!=="string"&&typeof e!=="object"&&!(e instanceof URL)){throw new g("invalid url")}if(t!=null&&typeof t!=="object"){throw new g("invalid opts")}if(t&&t.path!=null){if(typeof t.path!=="string"){throw new g("invalid opts.path")}let A=t.path;if(!t.path.startsWith("/")){A=`/${A}`}e=new URL(Q.parseOrigin(e).origin+A)}else{if(!t){t=typeof e==="object"?e:{}}e=Q.parseURL(e)}const{agent:r,dispatcher:o=u()}=t;if(r){throw new g("unsupported opts.agent. Did you mean opts.client?")}return A.call(o,{...t,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:t.method||(t.body?"PUT":"GET")},s)}}A.exports.setGlobalDispatcher=d;A.exports.getGlobalDispatcher=u;if(Q.nodeMajor>16||Q.nodeMajor===16&&Q.nodeMinor>=8){let e=null;A.exports.fetch=async function fetch(A){if(!e){e=t(2486).fetch}try{return await e(...arguments)}catch(A){if(typeof A==="object"){Error.captureStackTrace(A,this)}throw A}};A.exports.Headers=t(7913).Headers;A.exports.Response=t(2567).Response;A.exports.Request=t(2487).Request;A.exports.FormData=t(3097).FormData;A.exports.File=t(2769).File;A.exports.FileReader=t(5094).FileReader;const{setGlobalOrigin:s,getGlobalOrigin:r}=t(66);A.exports.setGlobalOrigin=s;A.exports.getGlobalOrigin=r;const{CacheStorage:o}=t(8186);const{kConstruct:n}=t(3175);A.exports.caches=new o(n)}if(Q.nodeMajor>=16){const{deleteCookie:e,getCookies:s,getSetCookies:r,setCookie:o}=t(7077);A.exports.deleteCookie=e;A.exports.getCookies=s;A.exports.getSetCookies=r;A.exports.setCookie=o;const{parseMIMEType:n,serializeAMimeType:i}=t(9051);A.exports.parseMIMEType=n;A.exports.serializeAMimeType=i}if(Q.nodeMajor>=18&&R){const{WebSocket:e}=t(5394);A.exports.WebSocket=e}A.exports.request=makeDispatcher(B.request);A.exports.stream=makeDispatcher(B.stream);A.exports.pipeline=makeDispatcher(B.pipeline);A.exports.connect=makeDispatcher(B.connect);A.exports.upgrade=makeDispatcher(B.upgrade);A.exports.MockClient=a;A.exports.MockPool=c;A.exports.MockAgent=I;A.exports.mockErrors=h},6283:(A,e,t)=>{"use strict";const{InvalidArgumentError:s}=t(7528);const{kClients:r,kRunning:o,kClose:n,kDestroy:i,kDispatch:E,kInterceptors:Q}=t(6168);const g=t(7210);const B=t(8116);const C=t(3379);const a=t(7234);const I=t(7100);const{WeakRef:c,FinalizationRegistry:h}=t(1438)();const l=Symbol("onConnect");const u=Symbol("onDisconnect");const d=Symbol("onConnectionError");const f=Symbol("maxRedirections");const y=Symbol("onDrain");const D=Symbol("factory");const R=Symbol("finalizer");const p=Symbol("options");function defaultFactory(A,e){return e&&e.connections===1?new C(A,e):new B(A,e)}class Agent extends g{constructor({factory:A=defaultFactory,maxRedirections:e=0,connect:t,...o}={}){super();if(typeof A!=="function"){throw new s("factory must be a function.")}if(t!=null&&typeof t!=="function"&&typeof t!=="object"){throw new s("connect must be a function or an object")}if(!Number.isInteger(e)||e<0){throw new s("maxRedirections must be a positive number")}if(t&&typeof t!=="function"){t={...t}}this[Q]=o.interceptors&&o.interceptors.Agent&&Array.isArray(o.interceptors.Agent)?o.interceptors.Agent:[I({maxRedirections:e})];this[p]={...a.deepClone(o),connect:t};this[p].interceptors=o.interceptors?{...o.interceptors}:undefined;this[f]=e;this[D]=A;this[r]=new Map;this[R]=new h((A=>{const e=this[r].get(A);if(e!==undefined&&e.deref()===undefined){this[r].delete(A)}}));const n=this;this[y]=(A,e)=>{n.emit("drain",A,[n,...e])};this[l]=(A,e)=>{n.emit("connect",A,[n,...e])};this[u]=(A,e,t)=>{n.emit("disconnect",A,[n,...e],t)};this[d]=(A,e,t)=>{n.emit("connectionError",A,[n,...e],t)}}get[o](){let A=0;for(const e of this[r].values()){const t=e.deref();if(t){A+=t[o]}}return A}[E](A,e){let t;if(A.origin&&(typeof A.origin==="string"||A.origin instanceof URL)){t=String(A.origin)}else{throw new s("opts.origin must be a non-empty string or URL.")}const o=this[r].get(t);let n=o?o.deref():null;if(!n){n=this[D](A.origin,this[p]).on("drain",this[y]).on("connect",this[l]).on("disconnect",this[u]).on("connectionError",this[d]);this[r].set(t,new c(n));this[R].register(n,t)}return n.dispatch(A,e)}async[n](){const A=[];for(const e of this[r].values()){const t=e.deref();if(t){A.push(t.close())}}await Promise.all(A)}async[i](A){const e=[];for(const t of this[r].values()){const s=t.deref();if(s){e.push(s.destroy(A))}}await Promise.all(e)}}A.exports=Agent},2371:(A,e,t)=>{const{addAbortListener:s}=t(7234);const{RequestAbortedError:r}=t(7528);const o=Symbol("kListener");const n=Symbol("kSignal");function abort(A){if(A.abort){A.abort()}else{A.onError(new r)}}function addSignal(A,e){A[n]=null;A[o]=null;if(!e){return}if(e.aborted){abort(A);return}A[n]=e;A[o]=()=>{abort(A)};s(A[n],A[o])}function removeSignal(A){if(!A[n]){return}if("removeEventListener"in A[n]){A[n].removeEventListener("abort",A[o])}else{A[n].removeListener("abort",A[o])}A[n]=null;A[o]=null}A.exports={addSignal:addSignal,removeSignal:removeSignal}},4373:(A,e,t)=>{"use strict";const{AsyncResource:s}=t(852);const{InvalidArgumentError:r,RequestAbortedError:o,SocketError:n}=t(7528);const i=t(7234);const{addSignal:E,removeSignal:Q}=t(2371);class ConnectHandler extends s{constructor(A,e){if(!A||typeof A!=="object"){throw new r("invalid opts")}if(typeof e!=="function"){throw new r("invalid callback")}const{signal:t,opaque:s,responseHeaders:o}=A;if(t&&typeof t.on!=="function"&&typeof t.addEventListener!=="function"){throw new r("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=s||null;this.responseHeaders=o||null;this.callback=e;this.abort=null;E(this,t)}onConnect(A,e){if(!this.callback){throw new o}this.abort=A;this.context=e}onHeaders(){throw new n("bad connect",null)}onUpgrade(A,e,t){const{callback:s,opaque:r,context:o}=this;Q(this);this.callback=null;let n=e;if(n!=null){n=this.responseHeaders==="raw"?i.parseRawHeaders(e):i.parseHeaders(e)}this.runInAsyncScope(s,null,null,{statusCode:A,headers:n,socket:t,opaque:r,context:o})}onError(A){const{callback:e,opaque:t}=this;Q(this);if(e){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(e,null,A,{opaque:t})}))}}}function connect(A,e){if(e===undefined){return new Promise(((e,t)=>{connect.call(this,A,((A,s)=>A?t(A):e(s)))}))}try{const t=new ConnectHandler(A,e);this.dispatch({...A,method:"CONNECT"},t)}catch(t){if(typeof e!=="function"){throw t}const s=A&&A.opaque;queueMicrotask((()=>e(t,{opaque:s})))}}A.exports=connect},1618:(A,e,t)=>{"use strict";const{Readable:s,Duplex:r,PassThrough:o}=t(2781);const{InvalidArgumentError:n,InvalidReturnValueError:i,RequestAbortedError:E}=t(7528);const Q=t(7234);const{AsyncResource:g}=t(852);const{addSignal:B,removeSignal:C}=t(2371);const a=t(9491);const I=Symbol("resume");class PipelineRequest extends s{constructor(){super({autoDestroy:true});this[I]=null}_read(){const{[I]:A}=this;if(A){this[I]=null;A()}}_destroy(A,e){this._read();e(A)}}class PipelineResponse extends s{constructor(A){super({autoDestroy:true});this[I]=A}_read(){this[I]()}_destroy(A,e){if(!A&&!this._readableState.endEmitted){A=new E}e(A)}}class PipelineHandler extends g{constructor(A,e){if(!A||typeof A!=="object"){throw new n("invalid opts")}if(typeof e!=="function"){throw new n("invalid handler")}const{signal:t,method:s,opaque:o,onInfo:i,responseHeaders:g}=A;if(t&&typeof t.on!=="function"&&typeof t.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new n("invalid method")}if(i&&typeof i!=="function"){throw new n("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=o||null;this.responseHeaders=g||null;this.handler=e;this.abort=null;this.context=null;this.onInfo=i||null;this.req=(new PipelineRequest).on("error",Q.nop);this.ret=new r({readableObjectMode:A.objectMode,autoDestroy:true,read:()=>{const{body:A}=this;if(A&&A.resume){A.resume()}},write:(A,e,t)=>{const{req:s}=this;if(s.push(A,e)||s._readableState.destroyed){t()}else{s[I]=t}},destroy:(A,e)=>{const{body:t,req:s,res:r,ret:o,abort:n}=this;if(!A&&!o._readableState.endEmitted){A=new E}if(n&&A){n()}Q.destroy(t,A);Q.destroy(s,A);Q.destroy(r,A);C(this);e(A)}}).on("prefinish",(()=>{const{req:A}=this;A.push(null)}));this.res=null;B(this,t)}onConnect(A,e){const{ret:t,res:s}=this;a(!s,"pipeline cannot be retried");if(t.destroyed){throw new E}this.abort=A;this.context=e}onHeaders(A,e,t){const{opaque:s,handler:r,context:o}=this;if(A<200){if(this.onInfo){const t=this.responseHeaders==="raw"?Q.parseRawHeaders(e):Q.parseHeaders(e);this.onInfo({statusCode:A,headers:t})}return}this.res=new PipelineResponse(t);let n;try{this.handler=null;const t=this.responseHeaders==="raw"?Q.parseRawHeaders(e):Q.parseHeaders(e);n=this.runInAsyncScope(r,null,{statusCode:A,headers:t,opaque:s,body:this.res,context:o})}catch(A){this.res.on("error",Q.nop);throw A}if(!n||typeof n.on!=="function"){throw new i("expected Readable")}n.on("data",(A=>{const{ret:e,body:t}=this;if(!e.push(A)&&t.pause){t.pause()}})).on("error",(A=>{const{ret:e}=this;Q.destroy(e,A)})).on("end",(()=>{const{ret:A}=this;A.push(null)})).on("close",(()=>{const{ret:A}=this;if(!A._readableState.ended){Q.destroy(A,new E)}}));this.body=n}onData(A){const{res:e}=this;return e.push(A)}onComplete(A){const{res:e}=this;e.push(null)}onError(A){const{ret:e}=this;this.handler=null;Q.destroy(e,A)}}function pipeline(A,e){try{const t=new PipelineHandler(A,e);this.dispatch({...A,body:t.req},t);return t.ret}catch(A){return(new o).destroy(A)}}A.exports=pipeline},516:(A,e,t)=>{"use strict";const s=t(1786);const{InvalidArgumentError:r,RequestAbortedError:o}=t(7528);const n=t(7234);const{getResolveErrorBodyCallback:i}=t(3184);const{AsyncResource:E}=t(852);const{addSignal:Q,removeSignal:g}=t(2371);class RequestHandler extends E{constructor(A,e){if(!A||typeof A!=="object"){throw new r("invalid opts")}const{signal:t,method:s,opaque:o,body:i,onInfo:E,responseHeaders:g,throwOnError:B,highWaterMark:C}=A;try{if(typeof e!=="function"){throw new r("invalid callback")}if(C&&(typeof C!=="number"||C<0)){throw new r("invalid highWaterMark")}if(t&&typeof t.on!=="function"&&typeof t.addEventListener!=="function"){throw new r("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new r("invalid method")}if(E&&typeof E!=="function"){throw new r("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(A){if(n.isStream(i)){n.destroy(i.on("error",n.nop),A)}throw A}this.responseHeaders=g||null;this.opaque=o||null;this.callback=e;this.res=null;this.abort=null;this.body=i;this.trailers={};this.context=null;this.onInfo=E||null;this.throwOnError=B;this.highWaterMark=C;if(n.isStream(i)){i.on("error",(A=>{this.onError(A)}))}Q(this,t)}onConnect(A,e){if(!this.callback){throw new o}this.abort=A;this.context=e}onHeaders(A,e,t,r){const{callback:o,opaque:E,abort:Q,context:g,responseHeaders:B,highWaterMark:C}=this;const a=B==="raw"?n.parseRawHeaders(e):n.parseHeaders(e);if(A<200){if(this.onInfo){this.onInfo({statusCode:A,headers:a})}return}const I=B==="raw"?n.parseHeaders(e):a;const c=I["content-type"];const h=new s({resume:t,abort:Q,contentType:c,highWaterMark:C});this.callback=null;this.res=h;if(o!==null){if(this.throwOnError&&A>=400){this.runInAsyncScope(i,null,{callback:o,body:h,contentType:c,statusCode:A,statusMessage:r,headers:a})}else{this.runInAsyncScope(o,null,null,{statusCode:A,headers:a,trailers:this.trailers,opaque:E,body:h,context:g})}}}onData(A){const{res:e}=this;return e.push(A)}onComplete(A){const{res:e}=this;g(this);n.parseHeaders(A,this.trailers);e.push(null)}onError(A){const{res:e,callback:t,body:s,opaque:r}=this;g(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,A,{opaque:r})}))}if(e){this.res=null;queueMicrotask((()=>{n.destroy(e,A)}))}if(s){this.body=null;n.destroy(s,A)}}}function request(A,e){if(e===undefined){return new Promise(((e,t)=>{request.call(this,A,((A,s)=>A?t(A):e(s)))}))}try{this.dispatch(A,new RequestHandler(A,e))}catch(t){if(typeof e!=="function"){throw t}const s=A&&A.opaque;queueMicrotask((()=>e(t,{opaque:s})))}}A.exports=request},5397:(A,e,t)=>{"use strict";const{finished:s,PassThrough:r}=t(2781);const{InvalidArgumentError:o,InvalidReturnValueError:n,RequestAbortedError:i}=t(7528);const E=t(7234);const{getResolveErrorBodyCallback:Q}=t(3184);const{AsyncResource:g}=t(852);const{addSignal:B,removeSignal:C}=t(2371);class StreamHandler extends g{constructor(A,e,t){if(!A||typeof A!=="object"){throw new o("invalid opts")}const{signal:s,method:r,opaque:n,body:i,onInfo:Q,responseHeaders:g,throwOnError:C}=A;try{if(typeof t!=="function"){throw new o("invalid callback")}if(typeof e!=="function"){throw new o("invalid factory")}if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new o("invalid method")}if(Q&&typeof Q!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_STREAM")}catch(A){if(E.isStream(i)){E.destroy(i.on("error",E.nop),A)}throw A}this.responseHeaders=g||null;this.opaque=n||null;this.factory=e;this.callback=t;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=i;this.onInfo=Q||null;this.throwOnError=C||false;if(E.isStream(i)){i.on("error",(A=>{this.onError(A)}))}B(this,s)}onConnect(A,e){if(!this.callback){throw new i}this.abort=A;this.context=e}onHeaders(A,e,t,o){const{factory:i,opaque:g,context:B,callback:C,responseHeaders:a}=this;const I=a==="raw"?E.parseRawHeaders(e):E.parseHeaders(e);if(A<200){if(this.onInfo){this.onInfo({statusCode:A,headers:I})}return}this.factory=null;let c;if(this.throwOnError&&A>=400){const t=a==="raw"?E.parseHeaders(e):I;const s=t["content-type"];c=new r;this.callback=null;this.runInAsyncScope(Q,null,{callback:C,body:c,contentType:s,statusCode:A,statusMessage:o,headers:I})}else{c=this.runInAsyncScope(i,null,{statusCode:A,headers:I,opaque:g,context:B});if(!c||typeof c.write!=="function"||typeof c.end!=="function"||typeof c.on!=="function"){throw new n("expected Writable")}s(c,{readable:false},(A=>{const{callback:e,res:t,opaque:s,trailers:r,abort:o}=this;this.res=null;if(A||!t.readable){E.destroy(t,A)}this.callback=null;this.runInAsyncScope(e,null,A||null,{opaque:s,trailers:r});if(A){o()}}))}c.on("drain",t);this.res=c;const h=c.writableNeedDrain!==undefined?c.writableNeedDrain:c._writableState&&c._writableState.needDrain;return h!==true}onData(A){const{res:e}=this;return e.write(A)}onComplete(A){const{res:e}=this;C(this);this.trailers=E.parseHeaders(A);e.end()}onError(A){const{res:e,callback:t,opaque:s,body:r}=this;C(this);this.factory=null;if(e){this.res=null;E.destroy(e,A)}else if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,A,{opaque:s})}))}if(r){this.body=null;E.destroy(r,A)}}}function stream(A,e,t){if(t===undefined){return new Promise(((t,s)=>{stream.call(this,A,e,((A,e)=>A?s(A):t(e)))}))}try{this.dispatch(A,new StreamHandler(A,e,t))}catch(e){if(typeof t!=="function"){throw e}const s=A&&A.opaque;queueMicrotask((()=>t(e,{opaque:s})))}}A.exports=stream},8710:(A,e,t)=>{"use strict";const{InvalidArgumentError:s,RequestAbortedError:r,SocketError:o}=t(7528);const{AsyncResource:n}=t(852);const i=t(7234);const{addSignal:E,removeSignal:Q}=t(2371);const g=t(9491);class UpgradeHandler extends n{constructor(A,e){if(!A||typeof A!=="object"){throw new s("invalid opts")}if(typeof e!=="function"){throw new s("invalid callback")}const{signal:t,opaque:r,responseHeaders:o}=A;if(t&&typeof t.on!=="function"&&typeof t.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=o||null;this.opaque=r||null;this.callback=e;this.abort=null;this.context=null;E(this,t)}onConnect(A,e){if(!this.callback){throw new r}this.abort=A;this.context=null}onHeaders(){throw new o("bad upgrade",null)}onUpgrade(A,e,t){const{callback:s,opaque:r,context:o}=this;g.strictEqual(A,101);Q(this);this.callback=null;const n=this.responseHeaders==="raw"?i.parseRawHeaders(e):i.parseHeaders(e);this.runInAsyncScope(s,null,null,{headers:n,socket:t,opaque:r,context:o})}onError(A){const{callback:e,opaque:t}=this;Q(this);if(e){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(e,null,A,{opaque:t})}))}}}function upgrade(A,e){if(e===undefined){return new Promise(((e,t)=>{upgrade.call(this,A,((A,s)=>A?t(A):e(s)))}))}try{const t=new UpgradeHandler(A,e);this.dispatch({...A,method:A.method||"GET",upgrade:A.protocol||"Websocket"},t)}catch(t){if(typeof e!=="function"){throw t}const s=A&&A.opaque;queueMicrotask((()=>e(t,{opaque:s})))}}A.exports=upgrade},6637:(A,e,t)=>{"use strict";A.exports.request=t(516);A.exports.stream=t(5397);A.exports.pipeline=t(1618);A.exports.upgrade=t(8710);A.exports.connect=t(4373)},1786:(A,e,t)=>{"use strict";const s=t(9491);const{Readable:r}=t(2781);const{RequestAbortedError:o,NotSupportedError:n,InvalidArgumentError:i}=t(7528);const E=t(7234);const{ReadableStreamFrom:Q,toUSVString:g}=t(7234);let B;const C=Symbol("kConsume");const a=Symbol("kReading");const I=Symbol("kBody");const c=Symbol("abort");const h=Symbol("kContentType");A.exports=class BodyReadable extends r{constructor({resume:A,abort:e,contentType:t="",highWaterMark:s=64*1024}){super({autoDestroy:true,read:A,highWaterMark:s});this._readableState.dataEmitted=false;this[c]=e;this[C]=null;this[I]=null;this[h]=t;this[a]=false}destroy(A){if(this.destroyed){return this}if(!A&&!this._readableState.endEmitted){A=new o}if(A){this[c]()}return super.destroy(A)}emit(A,...e){if(A==="data"){this._readableState.dataEmitted=true}else if(A==="error"){this._readableState.errorEmitted=true}return super.emit(A,...e)}on(A,...e){if(A==="data"||A==="readable"){this[a]=true}return super.on(A,...e)}addListener(A,...e){return this.on(A,...e)}off(A,...e){const t=super.off(A,...e);if(A==="data"||A==="readable"){this[a]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return t}removeListener(A,...e){return this.off(A,...e)}push(A){if(this[C]&&A!==null&&this.readableLength===0){consumePush(this[C],A);return this[a]?super.push(A):true}return super.push(A)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new n}get bodyUsed(){return E.isDisturbed(this)}get body(){if(!this[I]){this[I]=Q(this);if(this[C]){this[I].getReader();s(this[I].locked)}}return this[I]}async dump(A){let e=A&&Number.isFinite(A.limit)?A.limit:262144;const t=A&&A.signal;const abortFn=()=>{this.destroy()};let s;if(t){if(typeof t!=="object"||!("aborted"in t)){throw new i("signal must be an AbortSignal")}E.throwIfAborted(t);s=E.addAbortListener(t,abortFn)}try{for await(const A of this){E.throwIfAborted(t);e-=Buffer.byteLength(A);if(e<0){return}}}catch{E.throwIfAborted(t)}finally{if(typeof s==="function"){s()}else if(s){s[Symbol.dispose]()}}}};function isLocked(A){return A[I]&&A[I].locked===true||A[C]}function isUnusable(A){return E.isDisturbed(A)||isLocked(A)}async function consume(A,e){if(isUnusable(A)){throw new TypeError("unusable")}s(!A[C]);return new Promise(((t,s)=>{A[C]={type:e,stream:A,resolve:t,reject:s,length:0,body:[]};A.on("error",(function(A){consumeFinish(this[C],A)})).on("close",(function(){if(this[C].body!==null){consumeFinish(this[C],new o)}}));process.nextTick(consumeStart,A[C])}))}function consumeStart(A){if(A.body===null){return}const{_readableState:e}=A.stream;for(const t of e.buffer){consumePush(A,t)}if(e.endEmitted){consumeEnd(this[C])}else{A.stream.on("end",(function(){consumeEnd(this[C])}))}A.stream.resume();while(A.stream.read()!=null){}}function consumeEnd(A){const{type:e,body:s,resolve:r,stream:o,length:n}=A;try{if(e==="text"){r(g(Buffer.concat(s)))}else if(e==="json"){r(JSON.parse(Buffer.concat(s)))}else if(e==="arrayBuffer"){const A=new Uint8Array(n);let e=0;for(const t of s){A.set(t,e);e+=t.byteLength}r(A)}else if(e==="blob"){if(!B){B=t(4300).Blob}r(new B(s,{type:o[h]}))}consumeFinish(A)}catch(A){o.destroy(A)}}function consumePush(A,e){A.length+=e.length;A.body.push(e)}function consumeFinish(A,e){if(A.body===null){return}if(e){A.reject(e)}else{A.resolve()}A.type=null;A.stream=null;A.resolve=null;A.reject=null;A.length=0;A.body=null}},3184:(A,e,t)=>{const s=t(9491);const{ResponseStatusCodeError:r}=t(7528);const{toUSVString:o}=t(7234);async function getResolveErrorBodyCallback({callback:A,body:e,contentType:t,statusCode:n,statusMessage:i,headers:E}){s(e);let Q=[];let g=0;for await(const A of e){Q.push(A);g+=A.length;if(g>128*1024){Q=null;break}}if(n===204||!t||!Q){process.nextTick(A,new r(`Response status code ${n}${i?`: ${i}`:""}`,n,E));return}try{if(t.startsWith("application/json")){const e=JSON.parse(o(Buffer.concat(Q)));process.nextTick(A,new r(`Response status code ${n}${i?`: ${i}`:""}`,n,E,e));return}if(t.startsWith("text/")){const e=o(Buffer.concat(Q));process.nextTick(A,new r(`Response status code ${n}${i?`: ${i}`:""}`,n,E,e));return}}catch(A){}process.nextTick(A,new r(`Response status code ${n}${i?`: ${i}`:""}`,n,E))}A.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},8842:(A,e,t)=>{"use strict";const{BalancedPoolMissingUpstreamError:s,InvalidArgumentError:r}=t(7528);const{PoolBase:o,kClients:n,kNeedDrain:i,kAddClient:E,kRemoveClient:Q,kGetDispatcher:g}=t(3129);const B=t(8116);const{kUrl:C,kInterceptors:a}=t(6168);const{parseOrigin:I}=t(7234);const c=Symbol("factory");const h=Symbol("options");const l=Symbol("kGreatestCommonDivisor");const u=Symbol("kCurrentWeight");const d=Symbol("kIndex");const f=Symbol("kWeight");const y=Symbol("kMaxWeightPerServer");const D=Symbol("kErrorPenalty");function getGreatestCommonDivisor(A,e){if(e===0)return A;return getGreatestCommonDivisor(e,A%e)}function defaultFactory(A,e){return new B(A,e)}class BalancedPool extends o{constructor(A=[],{factory:e=defaultFactory,...t}={}){super();this[h]=t;this[d]=-1;this[u]=0;this[y]=this[h].maxWeightPerServer||100;this[D]=this[h].errorPenalty||15;if(!Array.isArray(A)){A=[A]}if(typeof e!=="function"){throw new r("factory must be a function.")}this[a]=t.interceptors&&t.interceptors.BalancedPool&&Array.isArray(t.interceptors.BalancedPool)?t.interceptors.BalancedPool:[];this[c]=e;for(const e of A){this.addUpstream(e)}this._updateBalancedPoolStats()}addUpstream(A){const e=I(A).origin;if(this[n].find((A=>A[C].origin===e&&A.closed!==true&&A.destroyed!==true))){return this}const t=this[c](e,Object.assign({},this[h]));this[E](t);t.on("connect",(()=>{t[f]=Math.min(this[y],t[f]+this[D])}));t.on("connectionError",(()=>{t[f]=Math.max(1,t[f]-this[D]);this._updateBalancedPoolStats()}));t.on("disconnect",((...A)=>{const e=A[2];if(e&&e.code==="UND_ERR_SOCKET"){t[f]=Math.max(1,t[f]-this[D]);this._updateBalancedPoolStats()}}));for(const A of this[n]){A[f]=this[y]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[l]=this[n].map((A=>A[f])).reduce(getGreatestCommonDivisor,0)}removeUpstream(A){const e=I(A).origin;const t=this[n].find((A=>A[C].origin===e&&A.closed!==true&&A.destroyed!==true));if(t){this[Q](t)}return this}get upstreams(){return this[n].filter((A=>A.closed!==true&&A.destroyed!==true)).map((A=>A[C].origin))}[g](){if(this[n].length===0){throw new s}const A=this[n].find((A=>!A[i]&&A.closed!==true&&A.destroyed!==true));if(!A){return}const e=this[n].map((A=>A[i])).reduce(((A,e)=>A&&e),true);if(e){return}let t=0;let r=this[n].findIndex((A=>!A[i]));while(t++<this[n].length){this[d]=(this[d]+1)%this[n].length;const A=this[n][this[d]];if(A[f]>this[n][r][f]&&!A[i]){r=this[d]}if(this[d]===0){this[u]=this[u]-this[l];if(this[u]<=0){this[u]=this[y]}}if(A[f]>=this[u]&&!A[i]){return A}}this[u]=this[n][r][f];this[d]=r;return this[n][r]}}A.exports=BalancedPool},1188:(A,e,t)=>{"use strict";const{kConstruct:s}=t(3175);const{urlEquals:r,fieldValues:o}=t(4342);const{kEnumerableProperty:n,isDisturbed:i}=t(7234);const{kHeadersList:E}=t(6168);const{webidl:Q}=t(5756);const{Response:g,cloneResponse:B}=t(2567);const{Request:C}=t(2487);const{kState:a,kHeaders:I,kGuard:c,kRealm:h}=t(1460);const{fetching:l}=t(2486);const{urlIsHttpHttpsScheme:u,createDeferredPromise:d,readAllBytes:f}=t(8037);const y=t(9491);const{getGlobalDispatcher:D}=t(366);class Cache{#A;constructor(){if(arguments[0]!==s){Q.illegalConstructor()}this.#A=arguments[1]}async match(A,e={}){Q.brandCheck(this,Cache);Q.argumentLengthCheck(arguments,1,{header:"Cache.match"});A=Q.converters.RequestInfo(A);e=Q.converters.CacheQueryOptions(e);const t=await this.matchAll(A,e);if(t.length===0){return}return t[0]}async matchAll(A=undefined,e={}){Q.brandCheck(this,Cache);if(A!==undefined)A=Q.converters.RequestInfo(A);e=Q.converters.CacheQueryOptions(e);let t=null;if(A!==undefined){if(A instanceof C){t=A[a];if(t.method!=="GET"&&!e.ignoreMethod){return[]}}else if(typeof A==="string"){t=new C(A)[a]}}const s=[];if(A===undefined){for(const A of this.#A){s.push(A[1])}}else{const A=this.#e(t,e);for(const e of A){s.push(e[1])}}const r=[];for(const A of s){const e=new g(A.body?.source??null);const t=e[a].body;e[a]=A;e[a].body=t;e[I][E]=A.headersList;e[I][c]="immutable";r.push(e)}return Object.freeze(r)}async add(A){Q.brandCheck(this,Cache);Q.argumentLengthCheck(arguments,1,{header:"Cache.add"});A=Q.converters.RequestInfo(A);const e=[A];const t=this.addAll(e);return await t}async addAll(A){Q.brandCheck(this,Cache);Q.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});A=Q.converters["sequence<RequestInfo>"](A);const e=[];const t=[];for(const e of A){if(typeof e==="string"){continue}const A=e[a];if(!u(A.url)||A.method!=="GET"){throw Q.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const s=[];for(const r of A){const A=new C(r)[a];if(!u(A.url)){throw Q.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}A.initiator="fetch";A.destination="subresource";t.push(A);const n=d();s.push(l({request:A,dispatcher:D(),processResponse(A){if(A.type==="error"||A.status===206||A.status<200||A.status>299){n.reject(Q.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(A.headersList.contains("vary")){const e=o(A.headersList.get("vary"));for(const A of e){if(A==="*"){n.reject(Q.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const A of s){A.abort()}return}}}},processResponseEndOfBody(A){if(A.aborted){n.reject(new DOMException("aborted","AbortError"));return}n.resolve(A)}}));e.push(n.promise)}const r=Promise.all(e);const n=await r;const i=[];let E=0;for(const A of n){const e={type:"put",request:t[E],response:A};i.push(e);E++}const g=d();let B=null;try{this.#t(i)}catch(A){B=A}queueMicrotask((()=>{if(B===null){g.resolve(undefined)}else{g.reject(B)}}));return g.promise}async put(A,e){Q.brandCheck(this,Cache);Q.argumentLengthCheck(arguments,2,{header:"Cache.put"});A=Q.converters.RequestInfo(A);e=Q.converters.Response(e);let t=null;if(A instanceof C){t=A[a]}else{t=new C(A)[a]}if(!u(t.url)||t.method!=="GET"){throw Q.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const s=e[a];if(s.status===206){throw Q.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(s.headersList.contains("vary")){const A=o(s.headersList.get("vary"));for(const e of A){if(e==="*"){throw Q.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(s.body&&(i(s.body.stream)||s.body.stream.locked)){throw Q.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const r=B(s);const n=d();if(s.body!=null){const A=s.body.stream;const e=A.getReader();f(e).then(n.resolve,n.reject)}else{n.resolve(undefined)}const E=[];const g={type:"put",request:t,response:r};E.push(g);const I=await n.promise;if(r.body!=null){r.body.source=I}const c=d();let h=null;try{this.#t(E)}catch(A){h=A}queueMicrotask((()=>{if(h===null){c.resolve()}else{c.reject(h)}}));return c.promise}async delete(A,e={}){Q.brandCheck(this,Cache);Q.argumentLengthCheck(arguments,1,{header:"Cache.delete"});A=Q.converters.RequestInfo(A);e=Q.converters.CacheQueryOptions(e);let t=null;if(A instanceof C){t=A[a];if(t.method!=="GET"&&!e.ignoreMethod){return false}}else{y(typeof A==="string");t=new C(A)[a]}const s=[];const r={type:"delete",request:t,options:e};s.push(r);const o=d();let n=null;let i;try{i=this.#t(s)}catch(A){n=A}queueMicrotask((()=>{if(n===null){o.resolve(!!i?.length)}else{o.reject(n)}}));return o.promise}async keys(A=undefined,e={}){Q.brandCheck(this,Cache);if(A!==undefined)A=Q.converters.RequestInfo(A);e=Q.converters.CacheQueryOptions(e);let t=null;if(A!==undefined){if(A instanceof C){t=A[a];if(t.method!=="GET"&&!e.ignoreMethod){return[]}}else if(typeof A==="string"){t=new C(A)[a]}}const s=d();const r=[];if(A===undefined){for(const A of this.#A){r.push(A[0])}}else{const A=this.#e(t,e);for(const e of A){r.push(e[0])}}queueMicrotask((()=>{const A=[];for(const e of r){const t=new C("https://a");t[a]=e;t[I][E]=e.headersList;t[I][c]="immutable";t[h]=e.client;A.push(t)}s.resolve(Object.freeze(A))}));return s.promise}#t(A){const e=this.#A;const t=[...e];const s=[];const r=[];try{for(const t of A){if(t.type!=="delete"&&t.type!=="put"){throw Q.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(t.type==="delete"&&t.response!=null){throw Q.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#e(t.request,t.options,s).length){throw new DOMException("???","InvalidStateError")}let A;if(t.type==="delete"){A=this.#e(t.request,t.options);if(A.length===0){return[]}for(const t of A){const A=e.indexOf(t);y(A!==-1);e.splice(A,1)}}else if(t.type==="put"){if(t.response==null){throw Q.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const r=t.request;if(!u(r.url)){throw Q.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(r.method!=="GET"){throw Q.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(t.options!=null){throw Q.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}A=this.#e(t.request);for(const t of A){const A=e.indexOf(t);y(A!==-1);e.splice(A,1)}e.push([t.request,t.response]);s.push([t.request,t.response])}r.push([t.request,t.response])}return r}catch(A){this.#A.length=0;this.#A=t;throw A}}#e(A,e,t){const s=[];const r=t??this.#A;for(const t of r){const[r,o]=t;if(this.#s(A,r,o,e)){s.push(t)}}return s}#s(A,e,t=null,s){const n=new URL(A.url);const i=new URL(e.url);if(s?.ignoreSearch){i.search="";n.search=""}if(!r(n,i,true)){return false}if(t==null||s?.ignoreVary||!t.headersList.contains("vary")){return true}const E=o(t.headersList.get("vary"));for(const t of E){if(t==="*"){return false}const s=e.headersList.get(t);const r=A.headersList.get(t);if(s!==r){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:n,matchAll:n,add:n,addAll:n,put:n,delete:n,keys:n});const R=[{key:"ignoreSearch",converter:Q.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:Q.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:Q.converters.boolean,defaultValue:false}];Q.converters.CacheQueryOptions=Q.dictionaryConverter(R);Q.converters.MultiCacheQueryOptions=Q.dictionaryConverter([...R,{key:"cacheName",converter:Q.converters.DOMString}]);Q.converters.Response=Q.interfaceConverter(g);Q.converters["sequence<RequestInfo>"]=Q.sequenceConverter(Q.converters.RequestInfo);A.exports={Cache:Cache}},8186:(A,e,t)=>{"use strict";const{kConstruct:s}=t(3175);const{Cache:r}=t(1188);const{webidl:o}=t(5756);const{kEnumerableProperty:n}=t(7234);class CacheStorage{#r=new Map;constructor(){if(arguments[0]!==s){o.illegalConstructor()}}async match(A,e={}){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});A=o.converters.RequestInfo(A);e=o.converters.MultiCacheQueryOptions(e);if(e.cacheName!=null){if(this.#r.has(e.cacheName)){const t=this.#r.get(e.cacheName);const o=new r(s,t);return await o.match(A,e)}}else{for(const t of this.#r.values()){const o=new r(s,t);const n=await o.match(A,e);if(n!==undefined){return n}}}}async has(A){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});A=o.converters.DOMString(A);return this.#r.has(A)}async open(A){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});A=o.converters.DOMString(A);if(this.#r.has(A)){const e=this.#r.get(A);return new r(s,e)}const e=[];this.#r.set(A,e);return new r(s,e)}async delete(A){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});A=o.converters.DOMString(A);return this.#r.delete(A)}async keys(){o.brandCheck(this,CacheStorage);const A=this.#r.keys();return[...A]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:n,has:n,open:n,delete:n,keys:n});A.exports={CacheStorage:CacheStorage}},3175:A=>{"use strict";A.exports={kConstruct:Symbol("constructable")}},4342:(A,e,t)=>{"use strict";const s=t(9491);const{URLSerializer:r}=t(9051);const{isValidHeaderName:o}=t(8037);function urlEquals(A,e,t=false){const s=r(A,t);const o=r(e,t);return s===o}function fieldValues(A){s(A!==null);const e=[];for(let t of A.split(",")){t=t.trim();if(!t.length){continue}else if(!o(t)){continue}e.push(t)}return e}A.exports={urlEquals:urlEquals,fieldValues:fieldValues}},3379:(A,e,t)=>{"use strict";const s=t(9491);const r=t(1808);const o=t(3685);const{pipeline:n}=t(2781);const i=t(7234);const E=t(3698);const Q=t(5882);const g=t(7210);const{RequestContentLengthMismatchError:B,ResponseContentLengthMismatchError:C,InvalidArgumentError:a,RequestAbortedError:I,HeadersTimeoutError:c,HeadersOverflowError:h,SocketError:l,InformationalError:u,BodyTimeoutError:d,HTTPParserError:f,ResponseExceededMaxSizeError:y,ClientDestroyedError:D}=t(7528);const R=t(1724);const{kUrl:p,kReset:w,kServerName:k,kClient:F,kBusy:N,kParser:b,kConnect:S,kBlocking:m,kResuming:U,kRunning:L,kPending:M,kSize:Y,kWriting:J,kQueue:G,kConnected:T,kConnecting:H,kNeedDrain:V,kNoRef:v,kKeepAliveDefaultTimeout:x,kHostHeader:W,kPendingIdx:q,kRunningIdx:O,kError:P,kPipelining:Z,kSocket:_,kKeepAliveTimeoutValue:X,kMaxHeadersSize:K,kKeepAliveMaxTimeout:z,kKeepAliveTimeoutThreshold:j,kHeadersTimeout:$,kBodyTimeout:AA,kStrictContentLength:eA,kConnector:tA,kMaxRedirections:sA,kMaxRequests:rA,kCounter:oA,kClose:nA,kDestroy:iA,kDispatch:EA,kInterceptors:QA,kLocalAddress:gA,kMaxResponseSize:BA,kHTTPConnVersion:CA,kHost:aA,kHTTP2Session:IA,kHTTP2SessionState:cA,kHTTP2BuildRequest:hA,kHTTP2CopyHeaders:lA,kHTTP1BuildRequest:uA}=t(6168);let dA;try{dA=t(5158)}catch{dA={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:fA,HTTP2_HEADER_METHOD:yA,HTTP2_HEADER_PATH:DA,HTTP2_HEADER_SCHEME:RA,HTTP2_HEADER_CONTENT_LENGTH:pA,HTTP2_HEADER_EXPECT:wA,HTTP2_HEADER_STATUS:kA}}=dA;let FA=false;const NA=Buffer[Symbol.species];const bA=Symbol("kClosedResolve");const SA={};try{const A=t(7643);SA.sendHeaders=A.channel("undici:client:sendHeaders");SA.beforeConnect=A.channel("undici:client:beforeConnect");SA.connectError=A.channel("undici:client:connectError");SA.connected=A.channel("undici:client:connected")}catch{SA.sendHeaders={hasSubscribers:false};SA.beforeConnect={hasSubscribers:false};SA.connectError={hasSubscribers:false};SA.connected={hasSubscribers:false}}class Client extends g{constructor(A,{interceptors:e,maxHeaderSize:t,headersTimeout:s,socketTimeout:n,requestTimeout:E,connectTimeout:Q,bodyTimeout:g,idleTimeout:B,keepAlive:C,keepAliveTimeout:I,maxKeepAliveTimeout:c,keepAliveMaxTimeout:h,keepAliveTimeoutThreshold:l,socketPath:u,pipelining:d,tls:f,strictContentLength:y,maxCachedSessions:D,maxRedirections:w,connect:F,maxRequestsPerClient:N,localAddress:b,maxResponseSize:S,autoSelectFamily:m,autoSelectFamilyAttemptTimeout:L,allowH2:M,maxConcurrentStreams:Y}={}){super();if(C!==undefined){throw new a("unsupported keepAlive, use pipelining=0 instead")}if(n!==undefined){throw new a("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(E!==undefined){throw new a("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(B!==undefined){throw new a("unsupported idleTimeout, use keepAliveTimeout instead")}if(c!==undefined){throw new a("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(t!=null&&!Number.isFinite(t)){throw new a("invalid maxHeaderSize")}if(u!=null&&typeof u!=="string"){throw new a("invalid socketPath")}if(Q!=null&&(!Number.isFinite(Q)||Q<0)){throw new a("invalid connectTimeout")}if(I!=null&&(!Number.isFinite(I)||I<=0)){throw new a("invalid keepAliveTimeout")}if(h!=null&&(!Number.isFinite(h)||h<=0)){throw new a("invalid keepAliveMaxTimeout")}if(l!=null&&!Number.isFinite(l)){throw new a("invalid keepAliveTimeoutThreshold")}if(s!=null&&(!Number.isInteger(s)||s<0)){throw new a("headersTimeout must be a positive integer or zero")}if(g!=null&&(!Number.isInteger(g)||g<0)){throw new a("bodyTimeout must be a positive integer or zero")}if(F!=null&&typeof F!=="function"&&typeof F!=="object"){throw new a("connect must be a function or an object")}if(w!=null&&(!Number.isInteger(w)||w<0)){throw new a("maxRedirections must be a positive number")}if(N!=null&&(!Number.isInteger(N)||N<0)){throw new a("maxRequestsPerClient must be a positive number")}if(b!=null&&(typeof b!=="string"||r.isIP(b)===0)){throw new a("localAddress must be valid string IP address")}if(S!=null&&(!Number.isInteger(S)||S<-1)){throw new a("maxResponseSize must be a positive number")}if(L!=null&&(!Number.isInteger(L)||L<-1)){throw new a("autoSelectFamilyAttemptTimeout must be a positive number")}if(M!=null&&typeof M!=="boolean"){throw new a("allowH2 must be a valid boolean value")}if(Y!=null&&(typeof Y!=="number"||Y<1)){throw new a("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof F!=="function"){F=R({...f,maxCachedSessions:D,allowH2:M,socketPath:u,timeout:Q,...i.nodeHasAutoSelectFamily&&m?{autoSelectFamily:m,autoSelectFamilyAttemptTimeout:L}:undefined,...F})}this[QA]=e&&e.Client&&Array.isArray(e.Client)?e.Client:[UA({maxRedirections:w})];this[p]=i.parseOrigin(A);this[tA]=F;this[_]=null;this[Z]=d!=null?d:1;this[K]=t||o.maxHeaderSize;this[x]=I==null?4e3:I;this[z]=h==null?6e5:h;this[j]=l==null?1e3:l;this[X]=this[x];this[k]=null;this[gA]=b!=null?b:null;this[U]=0;this[V]=0;this[W]=`host: ${this[p].hostname}${this[p].port?`:${this[p].port}`:""}\r\n`;this[AA]=g!=null?g:3e5;this[$]=s!=null?s:3e5;this[eA]=y==null?true:y;this[sA]=w;this[rA]=N;this[bA]=null;this[BA]=S>-1?S:-1;this[CA]="h1";this[IA]=null;this[cA]=!M?null:{openStreams:0,maxConcurrentStreams:Y!=null?Y:100};this[aA]=`${this[p].hostname}${this[p].port?`:${this[p].port}`:""}`;this[G]=[];this[O]=0;this[q]=0}get pipelining(){return this[Z]}set pipelining(A){this[Z]=A;resume(this,true)}get[M](){return this[G].length-this[q]}get[L](){return this[q]-this[O]}get[Y](){return this[G].length-this[O]}get[T](){return!!this[_]&&!this[H]&&!this[_].destroyed}get[N](){const A=this[_];return A&&(A[w]||A[J]||A[m])||this[Y]>=(this[Z]||1)||this[M]>0}[S](A){connect(this);this.once("connect",A)}[EA](A,e){const t=A.origin||this[p].origin;const s=this[CA]==="h2"?Q[hA](t,A,e):Q[uA](t,A,e);this[G].push(s);if(this[U]){}else if(i.bodyLength(s.body)==null&&i.isIterable(s.body)){this[U]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[U]&&this[V]!==2&&this[N]){this[V]=2}return this[V]<2}async[nA](){return new Promise((A=>{if(!this[Y]){A(null)}else{this[bA]=A}}))}async[iA](A){return new Promise((e=>{const t=this[G].splice(this[q]);for(let e=0;e<t.length;e++){const s=t[e];errorRequest(this,s,A)}const callback=()=>{if(this[bA]){this[bA]();this[bA]=null}e()};if(this[IA]!=null){i.destroy(this[IA],A);this[IA]=null;this[cA]=null}if(!this[_]){queueMicrotask(callback)}else{i.destroy(this[_].on("close",callback),A)}resume(this)}))}}function onHttp2SessionError(A){s(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[_][P]=A;onError(this[F],A)}function onHttp2FrameError(A,e,t){const s=new u(`HTTP/2: "frameError" received - type ${A}, code ${e}`);if(t===0){this[_][P]=s;onError(this[F],s)}}function onHttp2SessionEnd(){i.destroy(this,new l("other side closed"));i.destroy(this[_],new l("other side closed"))}function onHTTP2GoAway(A){const e=this[F];const t=new u(`HTTP/2: "GOAWAY" frame received with code ${A}`);e[_]=null;e[IA]=null;if(e.destroyed){s(this[M]===0);const A=e[G].splice(e[O]);for(let e=0;e<A.length;e++){const s=A[e];errorRequest(this,s,t)}}else if(e[L]>0){const A=e[G][e[O]];e[G][e[O]++]=null;errorRequest(e,A,t)}e[q]=e[O];s(e[L]===0);e.emit("disconnect",e[p],[e],t);resume(e)}const mA=t(8031);const UA=t(7100);const LA=Buffer.alloc(0);async function lazyllhttp(){const A=process.env.JEST_WORKER_ID?t(210):undefined;let e;try{e=await WebAssembly.compile(Buffer.from(t(7266),"base64"))}catch(s){e=await WebAssembly.compile(Buffer.from(A||t(210),"base64"))}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(A,e,t)=>0,wasm_on_status:(A,e,t)=>{s.strictEqual(JA.ptr,A);const r=e-HA+GA.byteOffset;return JA.onStatus(new NA(GA.buffer,r,t))||0},wasm_on_message_begin:A=>{s.strictEqual(JA.ptr,A);return JA.onMessageBegin()||0},wasm_on_header_field:(A,e,t)=>{s.strictEqual(JA.ptr,A);const r=e-HA+GA.byteOffset;return JA.onHeaderField(new NA(GA.buffer,r,t))||0},wasm_on_header_value:(A,e,t)=>{s.strictEqual(JA.ptr,A);const r=e-HA+GA.byteOffset;return JA.onHeaderValue(new NA(GA.buffer,r,t))||0},wasm_on_headers_complete:(A,e,t,r)=>{s.strictEqual(JA.ptr,A);return JA.onHeadersComplete(e,Boolean(t),Boolean(r))||0},wasm_on_body:(A,e,t)=>{s.strictEqual(JA.ptr,A);const r=e-HA+GA.byteOffset;return JA.onBody(new NA(GA.buffer,r,t))||0},wasm_on_message_complete:A=>{s.strictEqual(JA.ptr,A);return JA.onMessageComplete()||0}}})}let MA=null;let YA=lazyllhttp();YA.catch();let JA=null;let GA=null;let TA=0;let HA=null;const VA=1;const vA=2;const xA=3;class Parser{constructor(A,e,{exports:t}){s(Number.isFinite(A[K])&&A[K]>0);this.llhttp=t;this.ptr=this.llhttp.llhttp_alloc(mA.TYPE.RESPONSE);this.client=A;this.socket=e;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=A[K];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=A[BA]}setTimeout(A,e){this.timeoutType=e;if(A!==this.timeoutValue){E.clearTimeout(this.timeout);if(A){this.timeout=E.setTimeout(onParserTimeout,A,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=A}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}s(this.ptr!=null);s(JA==null);this.llhttp.llhttp_resume(this.ptr);s(this.timeoutType===vA);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||LA);this.readMore()}readMore(){while(!this.paused&&this.ptr){const A=this.socket.read();if(A===null){break}this.execute(A)}}execute(A){s(this.ptr!=null);s(JA==null);s(!this.paused);const{socket:e,llhttp:t}=this;if(A.length>TA){if(HA){t.free(HA)}TA=Math.ceil(A.length/4096)*4096;HA=t.malloc(TA)}new Uint8Array(t.memory.buffer,HA,TA).set(A);try{let s;try{GA=A;JA=this;s=t.llhttp_execute(this.ptr,HA,A.length)}catch(A){throw A}finally{JA=null;GA=null}const r=t.llhttp_get_error_pos(this.ptr)-HA;if(s===mA.ERROR.PAUSED_UPGRADE){this.onUpgrade(A.slice(r))}else if(s===mA.ERROR.PAUSED){this.paused=true;e.unshift(A.slice(r))}else if(s!==mA.ERROR.OK){const e=t.llhttp_get_error_reason(this.ptr);let o="";if(e){const A=new Uint8Array(t.memory.buffer,e).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(t.memory.buffer,e,A).toString()+")"}throw new f(o,mA.ERROR[s],A.slice(r))}}catch(A){i.destroy(e,A)}}destroy(){s(this.ptr!=null);s(JA==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;E.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(A){this.statusText=A.toString()}onMessageBegin(){const{socket:A,client:e}=this;if(A.destroyed){return-1}const t=e[G][e[O]];if(!t){return-1}}onHeaderField(A){const e=this.headers.length;if((e&1)===0){this.headers.push(A)}else{this.headers[e-1]=Buffer.concat([this.headers[e-1],A])}this.trackHeader(A.length)}onHeaderValue(A){let e=this.headers.length;if((e&1)===1){this.headers.push(A);e+=1}else{this.headers[e-1]=Buffer.concat([this.headers[e-1],A])}const t=this.headers[e-2];if(t.length===10&&t.toString().toLowerCase()==="keep-alive"){this.keepAlive+=A.toString()}else if(t.length===10&&t.toString().toLowerCase()==="connection"){this.connection+=A.toString()}else if(t.length===14&&t.toString().toLowerCase()==="content-length"){this.contentLength+=A.toString()}this.trackHeader(A.length)}trackHeader(A){this.headersSize+=A;if(this.headersSize>=this.headersMaxSize){i.destroy(this.socket,new h)}}onUpgrade(A){const{upgrade:e,client:t,socket:r,headers:o,statusCode:n}=this;s(e);const E=t[G][t[O]];s(E);s(!r.destroyed);s(r===t[_]);s(!this.paused);s(E.upgrade||E.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;s(this.headers.length%2===0);this.headers=[];this.headersSize=0;r.unshift(A);r[b].destroy();r[b]=null;r[F]=null;r[P]=null;r.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);t[_]=null;t[G][t[O]++]=null;t.emit("disconnect",t[p],[t],new u("upgrade"));try{E.onUpgrade(n,o,r)}catch(A){i.destroy(r,A)}resume(t)}onHeadersComplete(A,e,t){const{client:r,socket:o,headers:n,statusText:E}=this;if(o.destroyed){return-1}const Q=r[G][r[O]];if(!Q){return-1}s(!this.upgrade);s(this.statusCode<200);if(A===100){i.destroy(o,new l("bad response",i.getSocketInfo(o)));return-1}if(e&&!Q.upgrade){i.destroy(o,new l("bad upgrade",i.getSocketInfo(o)));return-1}s.strictEqual(this.timeoutType,VA);this.statusCode=A;this.shouldKeepAlive=t||Q.method==="HEAD"&&!o[w]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const A=Q.bodyTimeout!=null?Q.bodyTimeout:r[AA];this.setTimeout(A,vA)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(Q.method==="CONNECT"){s(r[L]===1);this.upgrade=true;return 2}if(e){s(r[L]===1);this.upgrade=true;return 2}s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&r[Z]){const A=this.keepAlive?i.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){const e=Math.min(A-r[j],r[z]);if(e<=0){o[w]=true}else{r[X]=e}}else{r[X]=r[x]}}else{o[w]=true}let g;try{g=Q.onHeaders(A,n,this.resume,E)===false}catch(A){i.destroy(o,A);return-1}if(Q.method==="HEAD"){return 1}if(A<200){return 1}if(o[m]){o[m]=false;resume(r)}return g?mA.ERROR.PAUSED:0}onBody(A){const{client:e,socket:t,statusCode:r,maxResponseSize:o}=this;if(t.destroyed){return-1}const n=e[G][e[O]];s(n);s.strictEqual(this.timeoutType,vA);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}s(r>=200);if(o>-1&&this.bytesRead+A.length>o){i.destroy(t,new y);return-1}this.bytesRead+=A.length;try{if(n.onData(A)===false){return mA.ERROR.PAUSED}}catch(A){i.destroy(t,A);return-1}}onMessageComplete(){const{client:A,socket:e,statusCode:t,upgrade:r,headers:o,contentLength:n,bytesRead:E,shouldKeepAlive:Q}=this;if(e.destroyed&&(!t||Q)){return-1}if(r){return}const g=A[G][A[O]];s(g);s(t>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(t<200){return}if(g.method!=="HEAD"&&n&&E!==parseInt(n,10)){i.destroy(e,new C);return-1}try{g.onComplete(o)}catch(e){errorRequest(A,g,e)}A[G][A[O]++]=null;if(e[J]){s.strictEqual(A[L],0);i.destroy(e,new u("reset"));return mA.ERROR.PAUSED}else if(!Q){i.destroy(e,new u("reset"));return mA.ERROR.PAUSED}else if(e[w]&&A[L]===0){i.destroy(e,new u("reset"));return mA.ERROR.PAUSED}else if(A[Z]===1){setImmediate(resume,A)}else{resume(A)}}}function onParserTimeout(A){const{socket:e,timeoutType:t,client:r}=A;if(t===VA){if(!e[J]||e.writableNeedDrain||r[L]>1){s(!A.paused,"cannot be paused while waiting for headers");i.destroy(e,new c)}}else if(t===vA){if(!A.paused){i.destroy(e,new d)}}else if(t===xA){s(r[L]===0&&r[X]);i.destroy(e,new u("socket idle timeout"))}}function onSocketReadable(){const{[b]:A}=this;A.readMore()}function onSocketError(A){const{[F]:e,[b]:t}=this;s(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(e[CA]!=="h2"){if(A.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}}this[P]=A;onError(this[F],A)}function onError(A,e){if(A[L]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){s(A[q]===A[O]);const t=A[G].splice(A[O]);for(let s=0;s<t.length;s++){const r=t[s];errorRequest(A,r,e)}s(A[Y]===0)}}function onSocketEnd(){const{[b]:A,[F]:e}=this;if(e[CA]!=="h2"){if(A.statusCode&&!A.shouldKeepAlive){A.onMessageComplete();return}}i.destroy(this,new l("other side closed",i.getSocketInfo(this)))}function onSocketClose(){const{[F]:A,[b]:e}=this;if(A[CA]==="h1"&&e){if(!this[P]&&e.statusCode&&!e.shouldKeepAlive){e.onMessageComplete()}this[b].destroy();this[b]=null}const t=this[P]||new l("closed",i.getSocketInfo(this));A[_]=null;if(A.destroyed){s(A[M]===0);const e=A[G].splice(A[O]);for(let s=0;s<e.length;s++){const r=e[s];errorRequest(A,r,t)}}else if(A[L]>0&&t.code!=="UND_ERR_INFO"){const e=A[G][A[O]];A[G][A[O]++]=null;errorRequest(A,e,t)}A[q]=A[O];s(A[L]===0);A.emit("disconnect",A[p],[A],t);resume(A)}async function connect(A){s(!A[H]);s(!A[_]);let{host:e,hostname:t,protocol:o,port:n}=A[p];if(t[0]==="["){const A=t.indexOf("]");s(A!==-1);const e=t.substr(1,A-1);s(r.isIP(e));t=e}A[H]=true;if(SA.beforeConnect.hasSubscribers){SA.beforeConnect.publish({connectParams:{host:e,hostname:t,protocol:o,port:n,servername:A[k],localAddress:A[gA]},connector:A[tA]})}try{const r=await new Promise(((s,r)=>{A[tA]({host:e,hostname:t,protocol:o,port:n,servername:A[k],localAddress:A[gA]},((A,e)=>{if(A){r(A)}else{s(e)}}))}));if(A.destroyed){i.destroy(r.on("error",(()=>{})),new D);return}A[H]=false;s(r);const E=r.alpnProtocol==="h2";if(E){if(!FA){FA=true;void("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const e=dA.connect(A[p],{createConnection:()=>r,peerMaxConcurrentStreams:A[cA].maxConcurrentStreams});A[CA]="h2";e[F]=A;e[_]=r;e.on("error",onHttp2SessionError);e.on("frameError",onHttp2FrameError);e.on("end",onHttp2SessionEnd);e.on("goaway",onHTTP2GoAway);e.on("close",onSocketClose);e.unref();A[IA]=e;r[IA]=e}else{if(!MA){MA=await YA;YA=null}r[v]=false;r[J]=false;r[w]=false;r[m]=false;r[b]=new Parser(A,r,MA)}r[oA]=0;r[rA]=A[rA];r[F]=A;r[P]=null;r.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);A[_]=r;if(SA.connected.hasSubscribers){SA.connected.publish({connectParams:{host:e,hostname:t,protocol:o,port:n,servername:A[k],localAddress:A[gA]},connector:A[tA],socket:r})}A.emit("connect",A[p],[A])}catch(r){if(A.destroyed){return}A[H]=false;if(SA.connectError.hasSubscribers){SA.connectError.publish({connectParams:{host:e,hostname:t,protocol:o,port:n,servername:A[k],localAddress:A[gA]},connector:A[tA],error:r})}if(r.code==="ERR_TLS_CERT_ALTNAME_INVALID"){s(A[L]===0);while(A[M]>0&&A[G][A[q]].servername===A[k]){const e=A[G][A[q]++];errorRequest(A,e,r)}}else{onError(A,r)}A.emit("connectionError",A[p],[A],r)}resume(A)}function emitDrain(A){A[V]=0;A.emit("drain",A[p],[A])}function resume(A,e){if(A[U]===2){return}A[U]=2;_resume(A,e);A[U]=0;if(A[O]>256){A[G].splice(0,A[O]);A[q]-=A[O];A[O]=0}}function _resume(A,e){while(true){if(A.destroyed){s(A[M]===0);return}if(A[bA]&&!A[Y]){A[bA]();A[bA]=null;return}const t=A[_];if(t&&!t.destroyed&&t.alpnProtocol!=="h2"){if(A[Y]===0){if(!t[v]&&t.unref){t.unref();t[v]=true}}else if(t[v]&&t.ref){t.ref();t[v]=false}if(A[Y]===0){if(t[b].timeoutType!==xA){t[b].setTimeout(A[X],xA)}}else if(A[L]>0&&t[b].statusCode<200){if(t[b].timeoutType!==VA){const e=A[G][A[O]];const s=e.headersTimeout!=null?e.headersTimeout:A[$];t[b].setTimeout(s,VA)}}}if(A[N]){A[V]=2}else if(A[V]===2){if(e){A[V]=1;process.nextTick(emitDrain,A)}else{emitDrain(A)}continue}if(A[M]===0){return}if(A[L]>=(A[Z]||1)){return}const r=A[G][A[q]];if(A[p].protocol==="https:"&&A[k]!==r.servername){if(A[L]>0){return}A[k]=r.servername;if(t&&t.servername!==r.servername){i.destroy(t,new u("servername changed"));return}}if(A[H]){return}if(!t&&!A[IA]){connect(A);return}if(t.destroyed||t[J]||t[w]||t[m]){return}if(A[L]>0&&!r.idempotent){return}if(A[L]>0&&(r.upgrade||r.method==="CONNECT")){return}if(i.isStream(r.body)&&i.bodyLength(r.body)===0){r.body.on("data",(function(){s(false)})).on("error",(function(e){errorRequest(A,r,e)})).on("end",(function(){i.destroy(this)}));r.body=null}if(A[L]>0&&(i.isStream(r.body)||i.isAsyncIterable(r.body))){return}if(!r.aborted&&write(A,r)){A[q]++}else{A[G].splice(A[q],1)}}}function write(A,e){if(A[CA]==="h2"){writeH2(A,A[IA],e);return}const{body:t,method:r,path:o,host:n,upgrade:E,headers:Q,blocking:g,reset:C}=e;const a=r==="PUT"||r==="POST"||r==="PATCH";if(t&&typeof t.read==="function"){t.read(0)}let c=i.bodyLength(t);if(c===null){c=e.contentLength}if(c===0&&!a){c=null}if(e.contentLength!==null&&e.contentLength!==c){if(A[eA]){errorRequest(A,e,new B);return false}void(new B)}const h=A[_];try{e.onConnect((t=>{if(e.aborted||e.completed){return}errorRequest(A,e,t||new I);i.destroy(h,new u("aborted"))}))}catch(t){errorRequest(A,e,t)}if(e.aborted){return false}if(r==="HEAD"){h[w]=true}if(E||r==="CONNECT"){h[w]=true}if(C!=null){h[w]=C}if(A[rA]&&h[oA]++>=A[rA]){h[w]=true}if(g){h[m]=true}let l=`${r} ${o} HTTP/1.1\r\n`;if(typeof n==="string"){l+=`host: ${n}\r\n`}else{l+=A[W]}if(E){l+=`connection: upgrade\r\nupgrade: ${E}\r\n`}else if(A[Z]&&!h[w]){l+="connection: keep-alive\r\n"}else{l+="connection: close\r\n"}if(Q){l+=Q}if(SA.sendHeaders.hasSubscribers){SA.sendHeaders.publish({request:e,headers:l,socket:h})}if(!t){if(c===0){h.write(`${l}content-length: 0\r\n\r\n`,"latin1")}else{s(c===null,"no body must not have content length");h.write(`${l}\r\n`,"latin1")}e.onRequestSent()}else if(i.isBuffer(t)){s(c===t.byteLength,"buffer body must have content length");h.cork();h.write(`${l}content-length: ${c}\r\n\r\n`,"latin1");h.write(t);h.uncork();e.onBodySent(t);e.onRequestSent();if(!a){h[w]=true}}else if(i.isBlobLike(t)){if(typeof t.stream==="function"){writeIterable({body:t.stream(),client:A,request:e,socket:h,contentLength:c,header:l,expectsPayload:a})}else{writeBlob({body:t,client:A,request:e,socket:h,contentLength:c,header:l,expectsPayload:a})}}else if(i.isStream(t)){writeStream({body:t,client:A,request:e,socket:h,contentLength:c,header:l,expectsPayload:a})}else if(i.isIterable(t)){writeIterable({body:t,client:A,request:e,socket:h,contentLength:c,header:l,expectsPayload:a})}else{s(false)}return true}function writeH2(A,e,t){const{body:r,method:o,path:n,host:E,upgrade:g,expectContinue:C,signal:a,headers:c}=t;let h;if(typeof c==="string")h=Q[lA](c.trim());else h=c;if(g){errorRequest(A,t,new Error("Upgrade not supported for H2"));return false}try{t.onConnect((e=>{if(t.aborted||t.completed){return}errorRequest(A,t,e||new I)}))}catch(e){errorRequest(A,t,e)}if(t.aborted){return false}let l;const d=A[cA];h[fA]=E||A[aA];h[yA]=o;if(o==="CONNECT"){e.ref();l=e.request(h,{endStream:false,signal:a});if(l.id&&!l.pending){t.onUpgrade(null,null,l);++d.openStreams}else{l.once("ready",(()=>{t.onUpgrade(null,null,l);++d.openStreams}))}l.once("close",(()=>{d.openStreams-=1;if(d.openStreams===0)e.unref()}));return true}h[DA]=n;h[RA]="https";const f=o==="PUT"||o==="POST"||o==="PATCH";if(r&&typeof r.read==="function"){r.read(0)}let y=i.bodyLength(r);if(y==null){y=t.contentLength}if(y===0||!f){y=null}if(t.contentLength!=null&&t.contentLength!==y){if(A[eA]){errorRequest(A,t,new B);return false}void(new B)}if(y!=null){s(r,"no body must not have content length");h[pA]=`${y}`}e.ref();const D=o==="GET"||o==="HEAD";if(C){h[wA]="100-continue";l=e.request(h,{endStream:D,signal:a});l.once("continue",writeBodyH2)}else{l=e.request(h,{endStream:D,signal:a});writeBodyH2()}++d.openStreams;l.once("response",(A=>{if(t.onHeaders(Number(A[kA]),A,l.resume.bind(l),"")===false){l.pause()}}));l.once("end",(()=>{t.onComplete([])}));l.on("data",(A=>{if(t.onData(A)===false)l.pause()}));l.once("close",(()=>{d.openStreams-=1;if(d.openStreams===0)e.unref()}));l.once("error",(function(e){if(A[IA]&&!A[IA].destroyed&&!this.closed&&!this.destroyed){d.streams-=1;i.destroy(l,e)}}));l.once("frameError",((e,s)=>{const r=new u(`HTTP/2: "frameError" received - type ${e}, code ${s}`);errorRequest(A,t,r);if(A[IA]&&!A[IA].destroyed&&!this.closed&&!this.destroyed){d.streams-=1;i.destroy(l,r)}}));return true;function writeBodyH2(){if(!r){t.onRequestSent()}else if(i.isBuffer(r)){s(y===r.byteLength,"buffer body must have content length");l.cork();l.write(r);l.uncork();l.end();t.onBodySent(r);t.onRequestSent()}else if(i.isBlobLike(r)){if(typeof r.stream==="function"){writeIterable({client:A,request:t,contentLength:y,h2stream:l,expectsPayload:f,body:r.stream(),socket:A[_],header:""})}else{writeBlob({body:r,client:A,request:t,contentLength:y,expectsPayload:f,h2stream:l,header:"",socket:A[_]})}}else if(i.isStream(r)){writeStream({body:r,client:A,request:t,contentLength:y,expectsPayload:f,socket:A[_],h2stream:l,header:""})}else if(i.isIterable(r)){writeIterable({body:r,client:A,request:t,contentLength:y,expectsPayload:f,header:"",h2stream:l,socket:A[_]})}else{s(false)}}}function writeStream({h2stream:A,body:e,client:t,request:r,socket:o,contentLength:E,header:Q,expectsPayload:g}){s(E!==0||t[L]===0,"stream body cannot be pipelined");if(t[CA]==="h2"){const t=n(e,A,(t=>{if(t){i.destroy(e,t);i.destroy(A,t)}else{r.onRequestSent()}}));t.on("data",onPipeData);t.once("end",(()=>{t.removeListener("data",onPipeData);i.destroy(t)}));function onPipeData(A){r.onBodySent(A)}return}let B=false;const C=new AsyncWriter({socket:o,request:r,contentLength:E,client:t,expectsPayload:g,header:Q});const onData=function(A){if(B){return}try{if(!C.write(A)&&this.pause){this.pause()}}catch(A){i.destroy(this,A)}};const onDrain=function(){if(B){return}if(e.resume){e.resume()}};const onAbort=function(){onFinished(new I)};const onFinished=function(A){if(B){return}B=true;s(o.destroyed||o[J]&&t[L]<=1);o.off("drain",onDrain).off("error",onFinished);e.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!A){try{C.end()}catch(e){A=e}}C.destroy(A);if(A&&(A.code!=="UND_ERR_INFO"||A.message!=="reset")){i.destroy(e,A)}else{i.destroy(e)}};e.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(e.resume){e.resume()}o.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:A,body:e,client:t,request:r,socket:o,contentLength:n,header:E,expectsPayload:Q}){s(n===e.size,"blob body must have content length");const g=t[CA]==="h2";try{if(n!=null&&n!==e.size){throw new B}const s=Buffer.from(await e.arrayBuffer());if(g){A.cork();A.write(s);A.uncork()}else{o.cork();o.write(`${E}content-length: ${n}\r\n\r\n`,"latin1");o.write(s);o.uncork()}r.onBodySent(s);r.onRequestSent();if(!Q){o[w]=true}resume(t)}catch(e){i.destroy(g?A:o,e)}}async function writeIterable({h2stream:A,body:e,client:t,request:r,socket:o,contentLength:n,header:i,expectsPayload:E}){s(n!==0||t[L]===0,"iterator body cannot be pipelined");let Q=null;function onDrain(){if(Q){const A=Q;Q=null;A()}}const waitForDrain=()=>new Promise(((A,e)=>{s(Q===null);if(o[P]){e(o[P])}else{Q=A}}));if(t[CA]==="h2"){A.on("close",onDrain).on("drain",onDrain);try{for await(const t of e){if(o[P]){throw o[P]}const e=A.write(t);r.onBodySent(t);if(!e){await waitForDrain()}}}catch(e){A.destroy(e)}finally{r.onRequestSent();A.end();A.off("close",onDrain).off("drain",onDrain)}return}o.on("close",onDrain).on("drain",onDrain);const g=new AsyncWriter({socket:o,request:r,contentLength:n,client:t,expectsPayload:E,header:i});try{for await(const A of e){if(o[P]){throw o[P]}if(!g.write(A)){await waitForDrain()}}g.end()}catch(A){g.destroy(A)}finally{o.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:A,request:e,contentLength:t,client:s,expectsPayload:r,header:o}){this.socket=A;this.request=e;this.contentLength=t;this.client=s;this.bytesWritten=0;this.expectsPayload=r;this.header=o;A[J]=true}write(A){const{socket:e,request:t,contentLength:s,client:r,bytesWritten:o,expectsPayload:n,header:i}=this;if(e[P]){throw e[P]}if(e.destroyed){return false}const E=Buffer.byteLength(A);if(!E){return true}if(s!==null&&o+E>s){if(r[eA]){throw new B}void(new B)}e.cork();if(o===0){if(!n){e[w]=true}if(s===null){e.write(`${i}transfer-encoding: chunked\r\n`,"latin1")}else{e.write(`${i}content-length: ${s}\r\n\r\n`,"latin1")}}if(s===null){e.write(`\r\n${E.toString(16)}\r\n`,"latin1")}this.bytesWritten+=E;const Q=e.write(A);e.uncork();t.onBodySent(A);if(!Q){if(e[b].timeout&&e[b].timeoutType===VA){if(e[b].timeout.refresh){e[b].timeout.refresh()}}}return Q}end(){const{socket:A,contentLength:e,client:t,bytesWritten:s,expectsPayload:r,header:o,request:n}=this;n.onRequestSent();A[J]=false;if(A[P]){throw A[P]}if(A.destroyed){return}if(s===0){if(r){A.write(`${o}content-length: 0\r\n\r\n`,"latin1")}else{A.write(`${o}\r\n`,"latin1")}}else if(e===null){A.write("\r\n0\r\n\r\n","latin1")}if(e!==null&&s!==e){if(t[eA]){throw new B}else{void(new B)}}if(A[b].timeout&&A[b].timeoutType===VA){if(A[b].timeout.refresh){A[b].timeout.refresh()}}resume(t)}destroy(A){const{socket:e,client:t}=this;e[J]=false;if(A){s(t[L]<=1,"pipeline should only contain this request");i.destroy(e,A)}}}function errorRequest(A,e,t){try{e.onError(t);s(e.aborted)}catch(t){A.emit("error",t)}}A.exports=Client},1438:(A,e,t)=>{"use strict";const{kConnected:s,kSize:r}=t(6168);class CompatWeakRef{constructor(A){this.value=A}deref(){return this.value[s]===0&&this.value[r]===0?undefined:this.value}}class CompatFinalizer{constructor(A){this.finalizer=A}register(A,e){if(A.on){A.on("disconnect",(()=>{if(A[s]===0&&A[r]===0){this.finalizer(e)}}))}}}A.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},1498:A=>{"use strict";const e=1024;const t=4096;A.exports={maxAttributeValueSize:e,maxNameValuePairSize:t}},7077:(A,e,t)=>{"use strict";const{parseSetCookie:s}=t(1536);const{stringify:r,getHeadersList:o}=t(5518);const{webidl:n}=t(5756);const{Headers:i}=t(7913);function getCookies(A){n.argumentLengthCheck(arguments,1,{header:"getCookies"});n.brandCheck(A,i,{strict:false});const e=A.get("cookie");const t={};if(!e){return t}for(const A of e.split(";")){const[e,...s]=A.split("=");t[e.trim()]=s.join("=")}return t}function deleteCookie(A,e,t){n.argumentLengthCheck(arguments,2,{header:"deleteCookie"});n.brandCheck(A,i,{strict:false});e=n.converters.DOMString(e);t=n.converters.DeleteCookieAttributes(t);setCookie(A,{name:e,value:"",expires:new Date(0),...t})}function getSetCookies(A){n.argumentLengthCheck(arguments,1,{header:"getSetCookies"});n.brandCheck(A,i,{strict:false});const e=o(A).cookies;if(!e){return[]}return e.map((A=>s(Array.isArray(A)?A[1]:A)))}function setCookie(A,e){n.argumentLengthCheck(arguments,2,{header:"setCookie"});n.brandCheck(A,i,{strict:false});e=n.converters.Cookie(e);const t=r(e);if(t){A.append("Set-Cookie",r(e))}}n.converters.DeleteCookieAttributes=n.dictionaryConverter([{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:null}]);n.converters.Cookie=n.dictionaryConverter([{converter:n.converters.DOMString,key:"name"},{converter:n.converters.DOMString,key:"value"},{converter:n.nullableConverter((A=>{if(typeof A==="number"){return n.converters["unsigned long long"](A)}return new Date(A)})),key:"expires",defaultValue:null},{converter:n.nullableConverter(n.converters["long long"]),key:"maxAge",defaultValue:null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:null},{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:null},{converter:n.nullableConverter(n.converters.boolean),key:"secure",defaultValue:null},{converter:n.nullableConverter(n.converters.boolean),key:"httpOnly",defaultValue:null},{converter:n.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:n.sequenceConverter(n.converters.DOMString),key:"unparsed",defaultValue:[]}]);A.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},1536:(A,e,t)=>{"use strict";const{maxNameValuePairSize:s,maxAttributeValueSize:r}=t(1498);const{isCTLExcludingHtab:o}=t(5518);const{collectASequenceOfCodePointsFast:n}=t(9051);const i=t(9491);function parseSetCookie(A){if(o(A)){return null}let e="";let t="";let r="";let i="";if(A.includes(";")){const s={position:0};e=n(";",A,s);t=A.slice(s.position)}else{e=A}if(!e.includes("=")){i=e}else{const A={position:0};r=n("=",e,A);i=e.slice(A.position+1)}r=r.trim();i=i.trim();if(r.length+i.length>s){return null}return{name:r,value:i,...parseUnparsedAttributes(t)}}function parseUnparsedAttributes(A,e={}){if(A.length===0){return e}i(A[0]===";");A=A.slice(1);let t="";if(A.includes(";")){t=n(";",A,{position:0});A=A.slice(t.length)}else{t=A;A=""}let s="";let o="";if(t.includes("=")){const A={position:0};s=n("=",t,A);o=t.slice(A.position+1)}else{s=t}s=s.trim();o=o.trim();if(o.length>r){return parseUnparsedAttributes(A,e)}const E=s.toLowerCase();if(E==="expires"){const A=new Date(o);e.expires=A}else if(E==="max-age"){const t=o.charCodeAt(0);if((t<48||t>57)&&o[0]!=="-"){return parseUnparsedAttributes(A,e)}if(!/^\d+$/.test(o)){return parseUnparsedAttributes(A,e)}const s=Number(o);e.maxAge=s}else if(E==="domain"){let A=o;if(A[0]==="."){A=A.slice(1)}A=A.toLowerCase();e.domain=A}else if(E==="path"){let A="";if(o.length===0||o[0]!=="/"){A="/"}else{A=o}e.path=A}else if(E==="secure"){e.secure=true}else if(E==="httponly"){e.httpOnly=true}else if(E==="samesite"){let A="Default";const t=o.toLowerCase();if(t.includes("none")){A="None"}if(t.includes("strict")){A="Strict"}if(t.includes("lax")){A="Lax"}e.sameSite=A}else{e.unparsed??=[];e.unparsed.push(`${s}=${o}`)}return parseUnparsedAttributes(A,e)}A.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},5518:(A,e,t)=>{"use strict";const s=t(9491);const{kHeadersList:r}=t(6168);function isCTLExcludingHtab(A){if(A.length===0){return false}for(const e of A){const A=e.charCodeAt(0);if(A>=0||A<=8||(A>=10||A<=31)||A===127){return false}}}function validateCookieName(A){for(const e of A){const A=e.charCodeAt(0);if(A<=32||A>127||e==="("||e===")"||e===">"||e==="<"||e==="@"||e===","||e===";"||e===":"||e==="\\"||e==='"'||e==="/"||e==="["||e==="]"||e==="?"||e==="="||e==="{"||e==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(A){for(const e of A){const A=e.charCodeAt(0);if(A<33||A===34||A===44||A===59||A===92||A>126){throw new Error("Invalid header value")}}}function validateCookiePath(A){for(const e of A){const A=e.charCodeAt(0);if(A<33||e===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(A){if(A.startsWith("-")||A.endsWith(".")||A.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(A){if(typeof A==="number"){A=new Date(A)}const e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const s=e[A.getUTCDay()];const r=A.getUTCDate().toString().padStart(2,"0");const o=t[A.getUTCMonth()];const n=A.getUTCFullYear();const i=A.getUTCHours().toString().padStart(2,"0");const E=A.getUTCMinutes().toString().padStart(2,"0");const Q=A.getUTCSeconds().toString().padStart(2,"0");return`${s}, ${r} ${o} ${n} ${i}:${E}:${Q} GMT`}function validateCookieMaxAge(A){if(A<0){throw new Error("Invalid cookie max-age")}}function stringify(A){if(A.name.length===0){return null}validateCookieName(A.name);validateCookieValue(A.value);const e=[`${A.name}=${A.value}`];if(A.name.startsWith("__Secure-")){A.secure=true}if(A.name.startsWith("__Host-")){A.secure=true;A.domain=null;A.path="/"}if(A.secure){e.push("Secure")}if(A.httpOnly){e.push("HttpOnly")}if(typeof A.maxAge==="number"){validateCookieMaxAge(A.maxAge);e.push(`Max-Age=${A.maxAge}`)}if(A.domain){validateCookieDomain(A.domain);e.push(`Domain=${A.domain}`)}if(A.path){validateCookiePath(A.path);e.push(`Path=${A.path}`)}if(A.expires&&A.expires.toString()!=="Invalid Date"){e.push(`Expires=${toIMFDate(A.expires)}`)}if(A.sameSite){e.push(`SameSite=${A.sameSite}`)}for(const t of A.unparsed){if(!t.includes("=")){throw new Error("Invalid unparsed")}const[A,...s]=t.split("=");e.push(`${A.trim()}=${s.join("=")}`)}return e.join("; ")}let o;function getHeadersList(A){if(A[r]){return A[r]}if(!o){o=Object.getOwnPropertySymbols(A).find((A=>A.description==="headers list"));s(o,"Headers cannot be parsed")}const e=A[o];s(e);return e}A.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},1724:(A,e,t)=>{"use strict";const s=t(1808);const r=t(9491);const o=t(7234);const{InvalidArgumentError:n,ConnectTimeoutError:i}=t(7528);let E;let Q;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){Q=class WeakSessionCache{constructor(A){this._maxCachedSessions=A;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((A=>{if(this._sessionCache.size<this._maxCachedSessions){return}const e=this._sessionCache.get(A);if(e!==undefined&&e.deref()===undefined){this._sessionCache.delete(A)}}))}get(A){const e=this._sessionCache.get(A);return e?e.deref():null}set(A,e){if(this._maxCachedSessions===0){return}this._sessionCache.set(A,new WeakRef(e));this._sessionRegistry.register(e,A)}}}else{Q=class SimpleSessionCache{constructor(A){this._maxCachedSessions=A;this._sessionCache=new Map}get(A){return this._sessionCache.get(A)}set(A,e){if(this._maxCachedSessions===0){return}if(this._sessionCache.size>=this._maxCachedSessions){const{value:A}=this._sessionCache.keys().next();this._sessionCache.delete(A)}this._sessionCache.set(A,e)}}}function buildConnector({allowH2:A,maxCachedSessions:e,socketPath:i,timeout:g,...B}){if(e!=null&&(!Number.isInteger(e)||e<0)){throw new n("maxCachedSessions must be a positive integer or zero")}const C={path:i,...B};const a=new Q(e==null?100:e);g=g==null?1e4:g;A=A!=null?A:false;return function connect({hostname:e,host:n,protocol:i,port:Q,servername:B,localAddress:I,httpSocket:c},h){let l;if(i==="https:"){if(!E){E=t(4404)}B=B||C.servername||o.getServerName(n)||null;const s=B||e;const i=a.get(s)||null;r(s);l=E.connect({highWaterMark:16384,...C,servername:B,session:i,localAddress:I,ALPNProtocols:A?["http/1.1","h2"]:["http/1.1"],socket:c,port:Q||443,host:e});l.on("session",(function(A){a.set(s,A)}))}else{r(!c,"httpSocket can only be sent on TLS update");l=s.connect({highWaterMark:64*1024,...C,localAddress:I,port:Q||80,host:e})}if(C.keepAlive==null||C.keepAlive){const A=C.keepAliveInitialDelay===undefined?6e4:C.keepAliveInitialDelay;l.setKeepAlive(true,A)}const u=setupTimeout((()=>onConnectTimeout(l)),g);l.setNoDelay(true).once(i==="https:"?"secureConnect":"connect",(function(){u();if(h){const A=h;h=null;A(null,this)}})).on("error",(function(A){u();if(h){const e=h;h=null;e(A)}}));return l}}function setupTimeout(A,e){if(!e){return()=>{}}let t=null;let s=null;const r=setTimeout((()=>{t=setImmediate((()=>{if(process.platform==="win32"){s=setImmediate((()=>A()))}else{A()}}))}),e);return()=>{clearTimeout(r);clearImmediate(t);clearImmediate(s)}}function onConnectTimeout(A){o.destroy(A,new i)}A.exports=buildConnector},7528:A=>{"use strict";class UndiciError extends Error{constructor(A){super(A);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=A||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=A||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=A||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=A||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(A,e,t,s){super(A);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=A||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=s;this.status=e;this.statusCode=e;this.headers=t}}class InvalidArgumentError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=A||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=A||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=A||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=A||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=A||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=A||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=A||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=A||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(A,e){super(A);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=A||"Socket error";this.code="UND_ERR_SOCKET";this.socket=e}}class NotSupportedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=A||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=A||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(A,e,t){super(A);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=e?`HPE_${e}`:undefined;this.data=t?t.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=A||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}A.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError}},5882:(A,e,t)=>{"use strict";const{InvalidArgumentError:s,NotSupportedError:r}=t(7528);const o=t(9491);const{kHTTP2BuildRequest:n,kHTTP2CopyHeaders:i,kHTTP1BuildRequest:E}=t(6168);const Q=t(7234);const g=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const B=/[^\t\x20-\x7e\x80-\xff]/;const C=/[^\u0021-\u00ff]/;const a=Symbol("handler");const I={};let c;try{const A=t(7643);I.create=A.channel("undici:request:create");I.bodySent=A.channel("undici:request:bodySent");I.headers=A.channel("undici:request:headers");I.trailers=A.channel("undici:request:trailers");I.error=A.channel("undici:request:error")}catch{I.create={hasSubscribers:false};I.bodySent={hasSubscribers:false};I.headers={hasSubscribers:false};I.trailers={hasSubscribers:false};I.error={hasSubscribers:false}}class Request{constructor(A,{path:e,method:r,body:o,headers:n,query:i,idempotent:E,blocking:B,upgrade:h,headersTimeout:l,bodyTimeout:u,reset:d,throwOnError:f,expectContinue:y},D){if(typeof e!=="string"){throw new s("path must be a string")}else if(e[0]!=="/"&&!(e.startsWith("http://")||e.startsWith("https://"))&&r!=="CONNECT"){throw new s("path must be an absolute URL or start with a slash")}else if(C.exec(e)!==null){throw new s("invalid request path")}if(typeof r!=="string"){throw new s("method must be a string")}else if(g.exec(r)===null){throw new s("invalid request method")}if(h&&typeof h!=="string"){throw new s("upgrade must be a string")}if(l!=null&&(!Number.isFinite(l)||l<0)){throw new s("invalid headersTimeout")}if(u!=null&&(!Number.isFinite(u)||u<0)){throw new s("invalid bodyTimeout")}if(d!=null&&typeof d!=="boolean"){throw new s("invalid reset")}if(y!=null&&typeof y!=="boolean"){throw new s("invalid expectContinue")}this.headersTimeout=l;this.bodyTimeout=u;this.throwOnError=f===true;this.method=r;if(o==null){this.body=null}else if(Q.isStream(o)){this.body=o}else if(Q.isBuffer(o)){this.body=o.byteLength?o:null}else if(ArrayBuffer.isView(o)){this.body=o.buffer.byteLength?Buffer.from(o.buffer,o.byteOffset,o.byteLength):null}else if(o instanceof ArrayBuffer){this.body=o.byteLength?Buffer.from(o):null}else if(typeof o==="string"){this.body=o.length?Buffer.from(o):null}else if(Q.isFormDataLike(o)||Q.isIterable(o)||Q.isBlobLike(o)){this.body=o}else{throw new s("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=h||null;this.path=i?Q.buildURL(e,i):e;this.origin=A;this.idempotent=E==null?r==="HEAD"||r==="GET":E;this.blocking=B==null?false:B;this.reset=d==null?null:d;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=y!=null?y:false;if(Array.isArray(n)){if(n.length%2!==0){throw new s("headers array must be even")}for(let A=0;A<n.length;A+=2){processHeader(this,n[A],n[A+1])}}else if(n&&typeof n==="object"){const A=Object.keys(n);for(let e=0;e<A.length;e++){const t=A[e];processHeader(this,t,n[t])}}else if(n!=null){throw new s("headers must be an object or an array")}if(Q.isFormDataLike(this.body)){if(Q.nodeMajor<16||Q.nodeMajor===16&&Q.nodeMinor<8){throw new s("Form-Data bodies are only supported in node v16.8 and newer.")}if(!c){c=t(5363).extractBody}const[A,e]=c(o);if(this.contentType==null){this.contentType=e;this.headers+=`content-type: ${e}\r\n`}this.body=A.stream;this.contentLength=A.length}else if(Q.isBlobLike(o)&&this.contentType==null&&o.type){this.contentType=o.type;this.headers+=`content-type: ${o.type}\r\n`}Q.validateHandler(D,r,h);this.servername=Q.getServerName(this.host);this[a]=D;if(I.create.hasSubscribers){I.create.publish({request:this})}}onBodySent(A){if(this[a].onBodySent){try{this[a].onBodySent(A)}catch(A){this.onError(A)}}}onRequestSent(){if(I.bodySent.hasSubscribers){I.bodySent.publish({request:this})}}onConnect(A){o(!this.aborted);o(!this.completed);return this[a].onConnect(A)}onHeaders(A,e,t,s){o(!this.aborted);o(!this.completed);if(I.headers.hasSubscribers){I.headers.publish({request:this,response:{statusCode:A,headers:e,statusText:s}})}return this[a].onHeaders(A,e,t,s)}onData(A){o(!this.aborted);o(!this.completed);return this[a].onData(A)}onUpgrade(A,e,t){o(!this.aborted);o(!this.completed);return this[a].onUpgrade(A,e,t)}onComplete(A){o(!this.aborted);this.completed=true;if(I.trailers.hasSubscribers){I.trailers.publish({request:this,trailers:A})}return this[a].onComplete(A)}onError(A){if(I.error.hasSubscribers){I.error.publish({request:this,error:A})}if(this.aborted){return}this.aborted=true;return this[a].onError(A)}addHeader(A,e){processHeader(this,A,e);return this}static[E](A,e,t){return new Request(A,e,t)}static[n](A,e,t){const r=e.headers;e={...e,headers:null};const o=new Request(A,e,t);o.headers={};if(Array.isArray(r)){if(r.length%2!==0){throw new s("headers array must be even")}for(let A=0;A<r.length;A+=2){processHeader(o,r[A],r[A+1],true)}}else if(r&&typeof r==="object"){const A=Object.keys(r);for(let e=0;e<A.length;e++){const t=A[e];processHeader(o,t,r[t],true)}}else if(r!=null){throw new s("headers must be an object or an array")}return o}static[i](A){const e=A.split("\r\n");const t={};for(const A of e){const[e,s]=A.split(": ");if(s==null||s.length===0)continue;if(t[e])t[e]+=`,${s}`;else t[e]=s}return t}}function processHeaderValue(A,e,t){if(e&&typeof e==="object"){throw new s(`invalid ${A} header`)}e=e!=null?`${e}`:"";if(B.exec(e)!==null){throw new s(`invalid ${A} header`)}return t?e:`${A}: ${e}\r\n`}function processHeader(A,e,t,o=false){if(t&&(typeof t==="object"&&!Array.isArray(t))){throw new s(`invalid ${e} header`)}else if(t===undefined){return}if(A.host===null&&e.length===4&&e.toLowerCase()==="host"){if(B.exec(t)!==null){throw new s(`invalid ${e} header`)}A.host=t}else if(A.contentLength===null&&e.length===14&&e.toLowerCase()==="content-length"){A.contentLength=parseInt(t,10);if(!Number.isFinite(A.contentLength)){throw new s("invalid content-length header")}}else if(A.contentType===null&&e.length===12&&e.toLowerCase()==="content-type"){A.contentType=t;if(o)A.headers[e]=processHeaderValue(e,t,o);else A.headers+=processHeaderValue(e,t)}else if(e.length===17&&e.toLowerCase()==="transfer-encoding"){throw new s("invalid transfer-encoding header")}else if(e.length===10&&e.toLowerCase()==="connection"){const e=typeof t==="string"?t.toLowerCase():null;if(e!=="close"&&e!=="keep-alive"){throw new s("invalid connection header")}else if(e==="close"){A.reset=true}}else if(e.length===10&&e.toLowerCase()==="keep-alive"){throw new s("invalid keep-alive header")}else if(e.length===7&&e.toLowerCase()==="upgrade"){throw new s("invalid upgrade header")}else if(e.length===6&&e.toLowerCase()==="expect"){throw new r("expect header not supported")}else if(g.exec(e)===null){throw new s("invalid header key")}else{if(Array.isArray(t)){for(let s=0;s<t.length;s++){if(o){if(A.headers[e])A.headers[e]+=`,${processHeaderValue(e,t[s],o)}`;else A.headers[e]=processHeaderValue(e,t[s],o)}else{A.headers+=processHeaderValue(e,t[s])}}}else{if(o)A.headers[e]=processHeaderValue(e,t,o);else A.headers+=processHeaderValue(e,t)}}}A.exports=Request},6168:A=>{A.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version")}},7234:(A,e,t)=>{"use strict";const s=t(9491);const{kDestroyed:r,kBodyUsed:o}=t(6168);const{IncomingMessage:n}=t(3685);const i=t(2781);const E=t(1808);const{InvalidArgumentError:Q}=t(7528);const{Blob:g}=t(4300);const B=t(3837);const{stringify:C}=t(3477);const[a,I]=process.versions.node.split(".").map((A=>Number(A)));function nop(){}function isStream(A){return A&&typeof A==="object"&&typeof A.pipe==="function"&&typeof A.on==="function"}function isBlobLike(A){return g&&A instanceof g||A&&typeof A==="object"&&(typeof A.stream==="function"||typeof A.arrayBuffer==="function")&&/^(Blob|File)$/.test(A[Symbol.toStringTag])}function buildURL(A,e){if(A.includes("?")||A.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const t=C(e);if(t){A+="?"+t}return A}function parseURL(A){if(typeof A==="string"){A=new URL(A);if(!/^https?:/.test(A.origin||A.protocol)){throw new Q("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return A}if(!A||typeof A!=="object"){throw new Q("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(A.origin||A.protocol)){throw new Q("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(A instanceof URL)){if(A.port!=null&&A.port!==""&&!Number.isFinite(parseInt(A.port))){throw new Q("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(A.path!=null&&typeof A.path!=="string"){throw new Q("Invalid URL path: the path must be a string or null/undefined.")}if(A.pathname!=null&&typeof A.pathname!=="string"){throw new Q("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(A.hostname!=null&&typeof A.hostname!=="string"){throw new Q("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(A.origin!=null&&typeof A.origin!=="string"){throw new Q("Invalid URL origin: the origin must be a string or null/undefined.")}const e=A.port!=null?A.port:A.protocol==="https:"?443:80;let t=A.origin!=null?A.origin:`${A.protocol}//${A.hostname}:${e}`;let s=A.path!=null?A.path:`${A.pathname||""}${A.search||""}`;if(t.endsWith("/")){t=t.substring(0,t.length-1)}if(s&&!s.startsWith("/")){s=`/${s}`}A=new URL(t+s)}return A}function parseOrigin(A){A=parseURL(A);if(A.pathname!=="/"||A.search||A.hash){throw new Q("invalid url")}return A}function getHostname(A){if(A[0]==="["){const e=A.indexOf("]");s(e!==-1);return A.substr(1,e-1)}const e=A.indexOf(":");if(e===-1)return A;return A.substr(0,e)}function getServerName(A){if(!A){return null}s.strictEqual(typeof A,"string");const e=getHostname(A);if(E.isIP(e)){return""}return e}function deepClone(A){return JSON.parse(JSON.stringify(A))}function isAsyncIterable(A){return!!(A!=null&&typeof A[Symbol.asyncIterator]==="function")}function isIterable(A){return!!(A!=null&&(typeof A[Symbol.iterator]==="function"||typeof A[Symbol.asyncIterator]==="function"))}function bodyLength(A){if(A==null){return 0}else if(isStream(A)){const e=A._readableState;return e&&e.objectMode===false&&e.ended===true&&Number.isFinite(e.length)?e.length:null}else if(isBlobLike(A)){return A.size!=null?A.size:null}else if(isBuffer(A)){return A.byteLength}return null}function isDestroyed(A){return!A||!!(A.destroyed||A[r])}function isReadableAborted(A){const e=A&&A._readableState;return isDestroyed(A)&&e&&!e.endEmitted}function destroy(A,e){if(!isStream(A)||isDestroyed(A)){return}if(typeof A.destroy==="function"){if(Object.getPrototypeOf(A).constructor===n){A.socket=null}A.destroy(e)}else if(e){process.nextTick(((A,e)=>{A.emit("error",e)}),A,e)}if(A.destroyed!==true){A[r]=true}}const c=/timeout=(\d+)/;function parseKeepAliveTimeout(A){const e=A.toString().match(c);return e?parseInt(e[1],10)*1e3:null}function parseHeaders(A,e={}){if(!Array.isArray(A))return A;for(let t=0;t<A.length;t+=2){const s=A[t].toString().toLowerCase();let r=e[s];if(!r){if(Array.isArray(A[t+1])){e[s]=A[t+1]}else{e[s]=A[t+1].toString("utf8")}}else{if(!Array.isArray(r)){r=[r];e[s]=r}r.push(A[t+1].toString("utf8"))}}if("content-length"in e&&"content-disposition"in e){e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")}return e}function parseRawHeaders(A){const e=[];let t=false;let s=-1;for(let r=0;r<A.length;r+=2){const o=A[r+0].toString();const n=A[r+1].toString("utf8");if(o.length===14&&(o==="content-length"||o.toLowerCase()==="content-length")){e.push(o,n);t=true}else if(o.length===19&&(o==="content-disposition"||o.toLowerCase()==="content-disposition")){s=e.push(o,n)-1}else{e.push(o,n)}}if(t&&s!==-1){e[s]=Buffer.from(e[s]).toString("latin1")}return e}function isBuffer(A){return A instanceof Uint8Array||Buffer.isBuffer(A)}function validateHandler(A,e,t){if(!A||typeof A!=="object"){throw new Q("handler must be an object")}if(typeof A.onConnect!=="function"){throw new Q("invalid onConnect method")}if(typeof A.onError!=="function"){throw new Q("invalid onError method")}if(typeof A.onBodySent!=="function"&&A.onBodySent!==undefined){throw new Q("invalid onBodySent method")}if(t||e==="CONNECT"){if(typeof A.onUpgrade!=="function"){throw new Q("invalid onUpgrade method")}}else{if(typeof A.onHeaders!=="function"){throw new Q("invalid onHeaders method")}if(typeof A.onData!=="function"){throw new Q("invalid onData method")}if(typeof A.onComplete!=="function"){throw new Q("invalid onComplete method")}}}function isDisturbed(A){return!!(A&&(i.isDisturbed?i.isDisturbed(A)||A[o]:A[o]||A.readableDidRead||A._readableState&&A._readableState.dataEmitted||isReadableAborted(A)))}function isErrored(A){return!!(A&&(i.isErrored?i.isErrored(A):/state: 'errored'/.test(B.inspect(A))))}function isReadable(A){return!!(A&&(i.isReadable?i.isReadable(A):/state: 'readable'/.test(B.inspect(A))))}function getSocketInfo(A){return{localAddress:A.localAddress,localPort:A.localPort,remoteAddress:A.remoteAddress,remotePort:A.remotePort,remoteFamily:A.remoteFamily,timeout:A.timeout,bytesWritten:A.bytesWritten,bytesRead:A.bytesRead}}async function*convertIterableToBuffer(A){for await(const e of A){yield Buffer.isBuffer(e)?e:Buffer.from(e)}}let h;function ReadableStreamFrom(A){if(!h){h=t(5356).ReadableStream}if(h.from){return h.from(convertIterableToBuffer(A))}let e;return new h({async start(){e=A[Symbol.asyncIterator]()},async pull(A){const{done:t,value:s}=await e.next();if(t){queueMicrotask((()=>{A.close()}))}else{const e=Buffer.isBuffer(s)?s:Buffer.from(s);A.enqueue(new Uint8Array(e))}return A.desiredSize>0},async cancel(A){await e.return()}},0)}function isFormDataLike(A){return A&&typeof A==="object"&&typeof A.append==="function"&&typeof A.delete==="function"&&typeof A.get==="function"&&typeof A.getAll==="function"&&typeof A.has==="function"&&typeof A.set==="function"&&A[Symbol.toStringTag]==="FormData"}function throwIfAborted(A){if(!A){return}if(typeof A.throwIfAborted==="function"){A.throwIfAborted()}else{if(A.aborted){const A=new Error("The operation was aborted");A.name="AbortError";throw A}}}let l;function addAbortListener(A,e){if(typeof Symbol.dispose==="symbol"){if(!l){l=t(2361)}if(typeof l.addAbortListener==="function"&&"aborted"in A){return l.addAbortListener(A,e)}}if("addEventListener"in A){A.addEventListener("abort",e,{once:true});return()=>A.removeEventListener("abort",e)}A.addListener("abort",e);return()=>A.removeListener("abort",e)}const u=!!String.prototype.toWellFormed;function toUSVString(A){if(u){return`${A}`.toWellFormed()}else if(B.toUSVString){return B.toUSVString(A)}return`${A}`}const d=Object.create(null);d.enumerable=true;A.exports={kEnumerableProperty:d,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,nodeMajor:a,nodeMinor:I,nodeHasAutoSelectFamily:a>18||a===18&&I>=13}},7210:(A,e,t)=>{"use strict";const s=t(5242);const{ClientDestroyedError:r,ClientClosedError:o,InvalidArgumentError:n}=t(7528);const{kDestroy:i,kClose:E,kDispatch:Q,kInterceptors:g}=t(6168);const B=Symbol("destroyed");const C=Symbol("closed");const a=Symbol("onDestroyed");const I=Symbol("onClosed");const c=Symbol("Intercepted Dispatch");class DispatcherBase extends s{constructor(){super();this[B]=false;this[a]=null;this[C]=false;this[I]=[]}get destroyed(){return this[B]}get closed(){return this[C]}get interceptors(){return this[g]}set interceptors(A){if(A){for(let e=A.length-1;e>=0;e--){const A=this[g][e];if(typeof A!=="function"){throw new n("interceptor must be an function")}}}this[g]=A}close(A){if(A===undefined){return new Promise(((A,e)=>{this.close(((t,s)=>t?e(t):A(s)))}))}if(typeof A!=="function"){throw new n("invalid callback")}if(this[B]){queueMicrotask((()=>A(new r,null)));return}if(this[C]){if(this[I]){this[I].push(A)}else{queueMicrotask((()=>A(null,null)))}return}this[C]=true;this[I].push(A);const onClosed=()=>{const A=this[I];this[I]=null;for(let e=0;e<A.length;e++){A[e](null,null)}};this[E]().then((()=>this.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(A,e){if(typeof A==="function"){e=A;A=null}if(e===undefined){return new Promise(((e,t)=>{this.destroy(A,((A,s)=>A?t(A):e(s)))}))}if(typeof e!=="function"){throw new n("invalid callback")}if(this[B]){if(this[a]){this[a].push(e)}else{queueMicrotask((()=>e(null,null)))}return}if(!A){A=new r}this[B]=true;this[a]=this[a]||[];this[a].push(e);const onDestroyed=()=>{const A=this[a];this[a]=null;for(let e=0;e<A.length;e++){A[e](null,null)}};this[i](A).then((()=>{queueMicrotask(onDestroyed)}))}[c](A,e){if(!this[g]||this[g].length===0){this[c]=this[Q];return this[Q](A,e)}let t=this[Q].bind(this);for(let A=this[g].length-1;A>=0;A--){t=this[g][A](t)}this[c]=t;return t(A,e)}dispatch(A,e){if(!e||typeof e!=="object"){throw new n("handler must be an object")}try{if(!A||typeof A!=="object"){throw new n("opts must be an object.")}if(this[B]||this[a]){throw new r}if(this[C]){throw new o}return this[c](A,e)}catch(A){if(typeof e.onError!=="function"){throw new n("invalid onError method")}e.onError(A);return false}}}A.exports=DispatcherBase},5242:(A,e,t)=>{"use strict";const s=t(2361);class Dispatcher extends s{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}A.exports=Dispatcher},5363:(A,e,t)=>{"use strict";const s=t(8826);const r=t(7234);const{ReadableStreamFrom:o,isBlobLike:n,isReadableStreamLike:i,readableStreamClose:E,createDeferredPromise:Q,fullyReadBody:g}=t(8037);const{FormData:B}=t(3097);const{kState:C}=t(1460);const{webidl:a}=t(5756);const{DOMException:I,structuredClone:c}=t(3193);const{Blob:h,File:l}=t(4300);const{kBodyUsed:u}=t(6168);const d=t(9491);const{isErrored:f}=t(7234);const{isUint8Array:y,isArrayBuffer:D}=t(223);const{File:R}=t(2769);const{parseMIMEType:p,serializeAMimeType:w}=t(9051);let k=globalThis.ReadableStream;const F=l??R;function extractBody(A,e=false){if(!k){k=t(5356).ReadableStream}let s=null;if(A instanceof k){s=A}else if(n(A)){s=A.stream()}else{s=new k({async pull(A){A.enqueue(typeof g==="string"?(new TextEncoder).encode(g):g);queueMicrotask((()=>E(A)))},start(){},type:undefined})}d(i(s));let Q=null;let g=null;let B=null;let C=null;if(typeof A==="string"){g=A;C="text/plain;charset=UTF-8"}else if(A instanceof URLSearchParams){g=A.toString();C="application/x-www-form-urlencoded;charset=UTF-8"}else if(D(A)){g=new Uint8Array(A.slice())}else if(ArrayBuffer.isView(A)){g=new Uint8Array(A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength))}else if(r.isFormDataLike(A)){const e=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const t=`--${e}\r\nContent-Disposition: form-data` -/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=A=>A.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=A=>A.replace(/\r?\n|\r/g,"\r\n");const s=new TextEncoder;const r=[];const o=new Uint8Array([13,10]);B=0;let n=false;for(const[e,i]of A){if(typeof i==="string"){const A=s.encode(t+`; name="${escape(normalizeLinefeeds(e))}"`+`\r\n\r\n${normalizeLinefeeds(i)}\r\n`);r.push(A);B+=A.byteLength}else{const A=s.encode(`${t}; name="${escape(normalizeLinefeeds(e))}"`+(i.name?`; filename="${escape(i.name)}"`:"")+"\r\n"+`Content-Type: ${i.type||"application/octet-stream"}\r\n\r\n`);r.push(A,i,o);if(typeof i.size==="number"){B+=A.byteLength+i.size+o.byteLength}else{n=true}}}const i=s.encode(`--${e}--`);r.push(i);B+=i.byteLength;if(n){B=null}g=A;Q=async function*(){for(const A of r){if(A.stream){yield*A.stream()}else{yield A}}};C="multipart/form-data; boundary="+e}else if(n(A)){g=A;B=A.size;if(A.type){C=A.type}}else if(typeof A[Symbol.asyncIterator]==="function"){if(e){throw new TypeError("keepalive")}if(r.isDisturbed(A)||A.locked){throw new TypeError("Response body object should not be disturbed or locked")}s=A instanceof k?A:o(A)}if(typeof g==="string"||r.isBuffer(g)){B=Buffer.byteLength(g)}if(Q!=null){let e;s=new k({async start(){e=Q(A)[Symbol.asyncIterator]()},async pull(A){const{value:t,done:r}=await e.next();if(r){queueMicrotask((()=>{A.close()}))}else{if(!f(s)){A.enqueue(new Uint8Array(t))}}return A.desiredSize>0},async cancel(A){await e.return()},type:undefined})}const a={stream:s,source:g,length:B};return[a,C]}function safelyExtractBody(A,e=false){if(!k){k=t(5356).ReadableStream}if(A instanceof k){d(!r.isDisturbed(A),"The body has already been consumed.");d(!A.locked,"The stream is locked.")}return extractBody(A,e)}function cloneBody(A){const[e,t]=A.stream.tee();const s=c(t,{transfer:[t]});const[,r]=s.tee();A.stream=e;return{stream:r,length:A.length,source:A.source}}async function*consumeBody(A){if(A){if(y(A)){yield A}else{const e=A.stream;if(r.isDisturbed(e)){throw new TypeError("The body has already been consumed.")}if(e.locked){throw new TypeError("The stream is locked.")}e[u]=true;yield*e}}}function throwIfAborted(A){if(A.aborted){throw new I("The operation was aborted.","AbortError")}}function bodyMixinMethods(A){const e={blob(){return specConsumeBody(this,(A=>{let e=bodyMimeType(this);if(e==="failure"){e=""}else if(e){e=w(e)}return new h([A],{type:e})}),A)},arrayBuffer(){return specConsumeBody(this,(A=>new Uint8Array(A).buffer),A)},text(){return specConsumeBody(this,utf8DecodeBytes,A)},json(){return specConsumeBody(this,parseJSONFromBytes,A)},async formData(){a.brandCheck(this,A);throwIfAborted(this[C]);const e=this.headers.get("Content-Type");if(/multipart\/form-data/.test(e)){const A={};for(const[e,t]of this.headers)A[e.toLowerCase()]=t;const e=new B;let t;try{t=new s({headers:A,preservePath:true})}catch(A){throw new I(`${A}`,"AbortError")}t.on("field",((A,t)=>{e.append(A,t)}));t.on("file",((A,t,s,r,o)=>{const n=[];if(r==="base64"||r.toLowerCase()==="base64"){let r="";t.on("data",(A=>{r+=A.toString().replace(/[\r\n]/gm,"");const e=r.length-r.length%4;n.push(Buffer.from(r.slice(0,e),"base64"));r=r.slice(e)}));t.on("end",(()=>{n.push(Buffer.from(r,"base64"));e.append(A,new F(n,s,{type:o}))}))}else{t.on("data",(A=>{n.push(A)}));t.on("end",(()=>{e.append(A,new F(n,s,{type:o}))}))}}));const r=new Promise(((A,e)=>{t.on("finish",A);t.on("error",(A=>e(new TypeError(A))))}));if(this.body!==null)for await(const A of consumeBody(this[C].body))t.write(A);t.end();await r;return e}else if(/application\/x-www-form-urlencoded/.test(e)){let A;try{let e="";const t=new TextDecoder("utf-8",{ignoreBOM:true});for await(const A of consumeBody(this[C].body)){if(!y(A)){throw new TypeError("Expected Uint8Array chunk")}e+=t.decode(A,{stream:true})}e+=t.decode();A=new URLSearchParams(e)}catch(A){throw Object.assign(new TypeError,{cause:A})}const e=new B;for(const[t,s]of A){e.append(t,s)}return e}else{await Promise.resolve();throwIfAborted(this[C]);throw a.errors.exception({header:`${A.name}.formData`,message:"Could not parse content as FormData."})}}};return e}function mixinBody(A){Object.assign(A.prototype,bodyMixinMethods(A))}async function specConsumeBody(A,e,t){a.brandCheck(A,t);throwIfAborted(A[C]);if(bodyUnusable(A[C].body)){throw new TypeError("Body is unusable")}const s=Q();const errorSteps=A=>s.reject(A);const successSteps=A=>{try{s.resolve(e(A))}catch(A){errorSteps(A)}};if(A[C].body==null){successSteps(new Uint8Array);return s.promise}await g(A[C].body,successSteps,errorSteps);return s.promise}function bodyUnusable(A){return A!=null&&(A.stream.locked||r.isDisturbed(A.stream))}function utf8DecodeBytes(A){if(A.length===0){return""}if(A[0]===239&&A[1]===187&&A[2]===191){A=A.subarray(3)}const e=(new TextDecoder).decode(A);return e}function parseJSONFromBytes(A){return JSON.parse(utf8DecodeBytes(A))}function bodyMimeType(A){const{headersList:e}=A[C];const t=e.get("content-type");if(t===null){return"failure"}return p(t)}A.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},3193:(A,e,t)=>{"use strict";const{MessageChannel:s,receiveMessageOnPort:r}=t(1267);const o=["GET","HEAD","POST"];const n=[101,204,205,304];const i=[301,302,303,307,308];const E=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const Q=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const g=["follow","manual","error"];const B=["GET","HEAD","OPTIONS","TRACE"];const C=["navigate","same-origin","no-cors","cors"];const a=["omit","same-origin","include"];const I=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const c=["content-encoding","content-language","content-location","content-type","content-length"];const h=["half"];const l=["CONNECT","TRACE","TRACK"];const u=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const d=globalThis.DOMException??(()=>{try{atob("~")}catch(A){return Object.getPrototypeOf(A).constructor}})();let f;const y=globalThis.structuredClone??function structuredClone(A,e=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!f){f=new s}f.port1.unref();f.port2.unref();f.port1.postMessage(A,e?.transfer);return r(f.port2).message};A.exports={DOMException:d,structuredClone:y,subresource:u,forbiddenMethods:l,requestBodyHeader:c,referrerPolicy:Q,requestRedirect:g,requestMode:C,requestCredentials:a,requestCache:I,redirectStatus:i,corsSafeListedMethods:o,nullBodyStatus:n,safeMethods:B,badPorts:E,requestDuplex:h}},9051:(A,e,t)=>{const s=t(9491);const{atob:r}=t(4300);const{isomorphicDecode:o}=t(8037);const n=new TextEncoder;const i=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const E=/(\u000A|\u000D|\u0009|\u0020)/;const Q=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(A){s(A.protocol==="data:");let e=URLSerializer(A,true);e=e.slice(5);const t={position:0};let r=collectASequenceOfCodePointsFast(",",e,t);const n=r.length;r=removeASCIIWhitespace(r,true,true);if(t.position>=e.length){return"failure"}t.position++;const i=e.slice(n+1);let E=stringPercentDecode(i);if(/;(\u0020){0,}base64$/i.test(r)){const A=o(E);E=forgivingBase64(A);if(E==="failure"){return"failure"}r=r.slice(0,-6);r=r.replace(/(\u0020)+$/,"");r=r.slice(0,-1)}if(r.startsWith(";")){r="text/plain"+r}let Q=parseMIMEType(r);if(Q==="failure"){Q=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:Q,body:E}}function URLSerializer(A,e=false){const t=A.href;if(!e){return t}const s=t.lastIndexOf("#");if(s===-1){return t}return t.slice(0,s)}function collectASequenceOfCodePoints(A,e,t){let s="";while(t.position<e.length&&A(e[t.position])){s+=e[t.position];t.position++}return s}function collectASequenceOfCodePointsFast(A,e,t){const s=e.indexOf(A,t.position);const r=t.position;if(s===-1){t.position=e.length;return e.slice(r)}t.position=s;return e.slice(r,t.position)}function stringPercentDecode(A){const e=n.encode(A);return percentDecode(e)}function percentDecode(A){const e=[];for(let t=0;t<A.length;t++){const s=A[t];if(s!==37){e.push(s)}else if(s===37&&!/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(A[t+1],A[t+2]))){e.push(37)}else{const s=String.fromCharCode(A[t+1],A[t+2]);const r=Number.parseInt(s,16);e.push(r);t+=2}}return Uint8Array.from(e)}function parseMIMEType(A){A=removeHTTPWhitespace(A,true,true);const e={position:0};const t=collectASequenceOfCodePointsFast("/",A,e);if(t.length===0||!i.test(t)){return"failure"}if(e.position>A.length){return"failure"}e.position++;let s=collectASequenceOfCodePointsFast(";",A,e);s=removeHTTPWhitespace(s,false,true);if(s.length===0||!i.test(s)){return"failure"}const r=t.toLowerCase();const o=s.toLowerCase();const n={type:r,subtype:o,parameters:new Map,essence:`${r}/${o}`};while(e.position<A.length){e.position++;collectASequenceOfCodePoints((A=>E.test(A)),A,e);let t=collectASequenceOfCodePoints((A=>A!==";"&&A!=="="),A,e);t=t.toLowerCase();if(e.position<A.length){if(A[e.position]===";"){continue}e.position++}if(e.position>A.length){break}let s=null;if(A[e.position]==='"'){s=collectAnHTTPQuotedString(A,e,true);collectASequenceOfCodePointsFast(";",A,e)}else{s=collectASequenceOfCodePointsFast(";",A,e);s=removeHTTPWhitespace(s,false,true);if(s.length===0){continue}}if(t.length!==0&&i.test(t)&&(s.length===0||Q.test(s))&&!n.parameters.has(t)){n.parameters.set(t,s)}}return n}function forgivingBase64(A){A=A.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(A.length%4===0){A=A.replace(/=?=$/,"")}if(A.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(A)){return"failure"}const e=r(A);const t=new Uint8Array(e.length);for(let A=0;A<e.length;A++){t[A]=e.charCodeAt(A)}return t}function collectAnHTTPQuotedString(A,e,t){const r=e.position;let o="";s(A[e.position]==='"');e.position++;while(true){o+=collectASequenceOfCodePoints((A=>A!=='"'&&A!=="\\"),A,e);if(e.position>=A.length){break}const t=A[e.position];e.position++;if(t==="\\"){if(e.position>=A.length){o+="\\";break}o+=A[e.position];e.position++}else{s(t==='"');break}}if(t){return o}return A.slice(r,e.position)}function serializeAMimeType(A){s(A!=="failure");const{parameters:e,essence:t}=A;let r=t;for(let[A,t]of e.entries()){r+=";";r+=A;r+="=";if(!i.test(t)){t=t.replace(/(\\|")/g,"\\$1");t='"'+t;t+='"'}r+=t}return r}function isHTTPWhiteSpace(A){return A==="\r"||A==="\n"||A==="\t"||A===" "}function removeHTTPWhitespace(A,e=true,t=true){let s=0;let r=A.length-1;if(e){for(;s<A.length&&isHTTPWhiteSpace(A[s]);s++);}if(t){for(;r>0&&isHTTPWhiteSpace(A[r]);r--);}return A.slice(s,r+1)}function isASCIIWhitespace(A){return A==="\r"||A==="\n"||A==="\t"||A==="\f"||A===" "}function removeASCIIWhitespace(A,e=true,t=true){let s=0;let r=A.length-1;if(e){for(;s<A.length&&isASCIIWhitespace(A[s]);s++);}if(t){for(;r>0&&isASCIIWhitespace(A[r]);r--);}return A.slice(s,r+1)}A.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},2769:(A,e,t)=>{"use strict";const{Blob:s,File:r}=t(4300);const{types:o}=t(3837);const{kState:n}=t(1460);const{isBlobLike:i}=t(8037);const{webidl:E}=t(5756);const{parseMIMEType:Q,serializeAMimeType:g}=t(9051);const{kEnumerableProperty:B}=t(7234);class File extends s{constructor(A,e,t={}){E.argumentLengthCheck(arguments,2,{header:"File constructor"});A=E.converters["sequence<BlobPart>"](A);e=E.converters.USVString(e);t=E.converters.FilePropertyBag(t);const s=e;let r=t.type;let o;A:{if(r){r=Q(r);if(r==="failure"){r="";break A}r=g(r).toLowerCase()}o=t.lastModified}super(processBlobParts(A,t),{type:r});this[n]={name:s,lastModified:o,type:r}}get name(){E.brandCheck(this,File);return this[n].name}get lastModified(){E.brandCheck(this,File);return this[n].lastModified}get type(){E.brandCheck(this,File);return this[n].type}}class FileLike{constructor(A,e,t={}){const s=e;const r=t.type;const o=t.lastModified??Date.now();this[n]={blobLike:A,name:s,type:r,lastModified:o}}stream(...A){E.brandCheck(this,FileLike);return this[n].blobLike.stream(...A)}arrayBuffer(...A){E.brandCheck(this,FileLike);return this[n].blobLike.arrayBuffer(...A)}slice(...A){E.brandCheck(this,FileLike);return this[n].blobLike.slice(...A)}text(...A){E.brandCheck(this,FileLike);return this[n].blobLike.text(...A)}get size(){E.brandCheck(this,FileLike);return this[n].blobLike.size}get type(){E.brandCheck(this,FileLike);return this[n].blobLike.type}get name(){E.brandCheck(this,FileLike);return this[n].name}get lastModified(){E.brandCheck(this,FileLike);return this[n].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:B,lastModified:B});E.converters.Blob=E.interfaceConverter(s);E.converters.BlobPart=function(A,e){if(E.util.Type(A)==="Object"){if(i(A)){return E.converters.Blob(A,{strict:false})}if(ArrayBuffer.isView(A)||o.isAnyArrayBuffer(A)){return E.converters.BufferSource(A,e)}}return E.converters.USVString(A,e)};E.converters["sequence<BlobPart>"]=E.sequenceConverter(E.converters.BlobPart);E.converters.FilePropertyBag=E.dictionaryConverter([{key:"lastModified",converter:E.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:E.converters.DOMString,defaultValue:""},{key:"endings",converter:A=>{A=E.converters.DOMString(A);A=A.toLowerCase();if(A!=="native"){A="transparent"}return A},defaultValue:"transparent"}]);function processBlobParts(A,e){const t=[];for(const s of A){if(typeof s==="string"){let A=s;if(e.endings==="native"){A=convertLineEndingsNative(A)}t.push((new TextEncoder).encode(A))}else if(o.isAnyArrayBuffer(s)||o.isTypedArray(s)){if(!s.buffer){t.push(new Uint8Array(s))}else{t.push(new Uint8Array(s.buffer,s.byteOffset,s.byteLength))}}else if(i(s)){t.push(s)}}return t}function convertLineEndingsNative(A){let e="\n";if(process.platform==="win32"){e="\r\n"}return A.replace(/\r?\n/g,e)}function isFileLike(A){return r&&A instanceof r||A instanceof File||A&&(typeof A.stream==="function"||typeof A.arrayBuffer==="function")&&A[Symbol.toStringTag]==="File"}A.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},3097:(A,e,t)=>{"use strict";const{isBlobLike:s,toUSVString:r,makeIterator:o}=t(8037);const{kState:n}=t(1460);const{File:i,FileLike:E,isFileLike:Q}=t(2769);const{webidl:g}=t(5756);const{Blob:B,File:C}=t(4300);const a=C??i;class FormData{constructor(A){if(A!==undefined){throw g.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[n]=[]}append(A,e,t=undefined){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!s(e)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}A=g.converters.USVString(A);e=s(e)?g.converters.Blob(e,{strict:false}):g.converters.USVString(e);t=arguments.length===3?g.converters.USVString(t):undefined;const r=makeEntry(A,e,t);this[n].push(r)}delete(A){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.delete"});A=g.converters.USVString(A);this[n]=this[n].filter((e=>e.name!==A))}get(A){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.get"});A=g.converters.USVString(A);const e=this[n].findIndex((e=>e.name===A));if(e===-1){return null}return this[n][e].value}getAll(A){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});A=g.converters.USVString(A);return this[n].filter((e=>e.name===A)).map((A=>A.value))}has(A){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.has"});A=g.converters.USVString(A);return this[n].findIndex((e=>e.name===A))!==-1}set(A,e,t=undefined){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!s(e)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}A=g.converters.USVString(A);e=s(e)?g.converters.Blob(e,{strict:false}):g.converters.USVString(e);t=arguments.length===3?r(t):undefined;const o=makeEntry(A,e,t);const i=this[n].findIndex((e=>e.name===A));if(i!==-1){this[n]=[...this[n].slice(0,i),o,...this[n].slice(i+1).filter((e=>e.name!==A))]}else{this[n].push(o)}}entries(){g.brandCheck(this,FormData);return o((()=>this[n].map((A=>[A.name,A.value]))),"FormData","key+value")}keys(){g.brandCheck(this,FormData);return o((()=>this[n].map((A=>[A.name,A.value]))),"FormData","key")}values(){g.brandCheck(this,FormData);return o((()=>this[n].map((A=>[A.name,A.value]))),"FormData","value")}forEach(A,e=globalThis){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof A!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[t,s]of this){A.apply(e,[s,t,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(A,e,t){A=Buffer.from(A).toString("utf8");if(typeof e==="string"){e=Buffer.from(e).toString("utf8")}else{if(!Q(e)){e=e instanceof B?new a([e],"blob",{type:e.type}):new E(e,"blob",{type:e.type})}if(t!==undefined){const A={type:e.type,lastModified:e.lastModified};e=C&&e instanceof C||e instanceof i?new a([e],t,A):new E(e,t,A)}}return{name:A,value:e}}A.exports={FormData:FormData}},66:A=>{"use strict";const e=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[e]}function setGlobalOrigin(A){if(A===undefined){Object.defineProperty(globalThis,e,{value:undefined,writable:true,enumerable:false,configurable:false});return}const t=new URL(A);if(t.protocol!=="http:"&&t.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${t.protocol}`)}Object.defineProperty(globalThis,e,{value:t,writable:true,enumerable:false,configurable:false})}A.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},7913:(A,e,t)=>{"use strict";const{kHeadersList:s}=t(6168);const{kGuard:r}=t(1460);const{kEnumerableProperty:o}=t(7234);const{makeIterator:n,isValidHeaderName:i,isValidHeaderValue:E}=t(8037);const{webidl:Q}=t(5756);const g=t(9491);const B=Symbol("headers map");const C=Symbol("headers map sorted");function headerValueNormalize(A){let e=A.length;while(/[\r\n\t ]/.test(A.charAt(--e)));return A.slice(0,e+1).replace(/^[\r\n\t ]+/,"")}function fill(A,e){if(Array.isArray(e)){for(const t of e){if(t.length!==2){throw Q.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${t.length}.`})}A.append(t[0],t[1])}}else if(typeof e==="object"&&e!==null){for(const[t,s]of Object.entries(e)){A.append(t,s)}}else{throw Q.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}}class HeadersList{cookies=null;constructor(A){if(A instanceof HeadersList){this[B]=new Map(A[B]);this[C]=A[C];this.cookies=A.cookies}else{this[B]=new Map(A);this[C]=null}}contains(A){A=A.toLowerCase();return this[B].has(A)}clear(){this[B].clear();this[C]=null;this.cookies=null}append(A,e){this[C]=null;const t=A.toLowerCase();const s=this[B].get(t);if(s){const A=t==="cookie"?"; ":", ";this[B].set(t,{name:s.name,value:`${s.value}${A}${e}`})}else{this[B].set(t,{name:A,value:e})}if(t==="set-cookie"){this.cookies??=[];this.cookies.push(e)}}set(A,e){this[C]=null;const t=A.toLowerCase();if(t==="set-cookie"){this.cookies=[e]}return this[B].set(t,{name:A,value:e})}delete(A){this[C]=null;A=A.toLowerCase();if(A==="set-cookie"){this.cookies=null}return this[B].delete(A)}get(A){if(!this.contains(A)){return null}return this[B].get(A.toLowerCase())?.value??null}*[Symbol.iterator](){for(const[A,{value:e}]of this[B]){yield[A,e]}}get entries(){const A={};if(this[B].size){for(const{name:e,value:t}of this[B].values()){A[e]=t}}return A}}class Headers{constructor(A=undefined){this[s]=new HeadersList;this[r]="none";if(A!==undefined){A=Q.converters.HeadersInit(A);fill(this,A)}}append(A,e){Q.brandCheck(this,Headers);Q.argumentLengthCheck(arguments,2,{header:"Headers.append"});A=Q.converters.ByteString(A);e=Q.converters.ByteString(e);e=headerValueNormalize(e);if(!i(A)){throw Q.errors.invalidArgument({prefix:"Headers.append",value:A,type:"header name"})}else if(!E(e)){throw Q.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header value"})}if(this[r]==="immutable"){throw new TypeError("immutable")}else if(this[r]==="request-no-cors"){}return this[s].append(A,e)}delete(A){Q.brandCheck(this,Headers);Q.argumentLengthCheck(arguments,1,{header:"Headers.delete"});A=Q.converters.ByteString(A);if(!i(A)){throw Q.errors.invalidArgument({prefix:"Headers.delete",value:A,type:"header name"})}if(this[r]==="immutable"){throw new TypeError("immutable")}else if(this[r]==="request-no-cors"){}if(!this[s].contains(A)){return}return this[s].delete(A)}get(A){Q.brandCheck(this,Headers);Q.argumentLengthCheck(arguments,1,{header:"Headers.get"});A=Q.converters.ByteString(A);if(!i(A)){throw Q.errors.invalidArgument({prefix:"Headers.get",value:A,type:"header name"})}return this[s].get(A)}has(A){Q.brandCheck(this,Headers);Q.argumentLengthCheck(arguments,1,{header:"Headers.has"});A=Q.converters.ByteString(A);if(!i(A)){throw Q.errors.invalidArgument({prefix:"Headers.has",value:A,type:"header name"})}return this[s].contains(A)}set(A,e){Q.brandCheck(this,Headers);Q.argumentLengthCheck(arguments,2,{header:"Headers.set"});A=Q.converters.ByteString(A);e=Q.converters.ByteString(e);e=headerValueNormalize(e);if(!i(A)){throw Q.errors.invalidArgument({prefix:"Headers.set",value:A,type:"header name"})}else if(!E(e)){throw Q.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header value"})}if(this[r]==="immutable"){throw new TypeError("immutable")}else if(this[r]==="request-no-cors"){}return this[s].set(A,e)}getSetCookie(){Q.brandCheck(this,Headers);const A=this[s].cookies;if(A){return[...A]}return[]}get[C](){if(this[s][C]){return this[s][C]}const A=[];const e=[...this[s]].sort(((A,e)=>A[0]<e[0]?-1:1));const t=this[s].cookies;for(const[s,r]of e){if(s==="set-cookie"){for(const e of t){A.push([s,e])}}else{g(r!==null);A.push([s,r])}}this[s][C]=A;return A}keys(){Q.brandCheck(this,Headers);return n((()=>[...this[C].values()]),"Headers","key")}values(){Q.brandCheck(this,Headers);return n((()=>[...this[C].values()]),"Headers","value")}entries(){Q.brandCheck(this,Headers);return n((()=>[...this[C].values()]),"Headers","key+value")}forEach(A,e=globalThis){Q.brandCheck(this,Headers);Q.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof A!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[t,s]of this){A.apply(e,[s,t,this])}}[Symbol.for("nodejs.util.inspect.custom")](){Q.brandCheck(this,Headers);return this[s]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:o,delete:o,get:o,has:o,set:o,getSetCookie:o,keys:o,values:o,entries:o,forEach:o,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});Q.converters.HeadersInit=function(A){if(Q.util.Type(A)==="Object"){if(A[Symbol.iterator]){return Q.converters["sequence<sequence<ByteString>>"](A)}return Q.converters["record<ByteString, ByteString>"](A)}throw Q.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};A.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},2486:(A,e,t)=>{"use strict";const{Response:s,makeNetworkError:r,makeAppropriateNetworkError:o,filterResponse:n,makeResponse:i}=t(2567);const{Headers:E}=t(7913);const{Request:Q,makeRequest:g}=t(2487);const B=t(9796);const{bytesMatch:C,makePolicyContainer:a,clonePolicyContainer:I,requestBadPort:c,TAOCheck:h,appendRequestOriginHeader:l,responseLocationURL:u,requestCurrentURL:d,setRequestReferrerPolicyOnRedirect:f,tryUpgradeRequestToAPotentiallyTrustworthyURL:y,createOpaqueTimingInfo:D,appendFetchMetadata:R,corsCheck:p,crossOriginResourcePolicyCheck:w,determineRequestsReferrer:k,coarsenedSharedCurrentTime:F,createDeferredPromise:N,isBlobLike:b,sameOrigin:S,isCancelled:m,isAborted:U,isErrorLike:L,fullyReadBody:M,readableStreamClose:Y,isomorphicEncode:J,urlIsLocal:G,urlIsHttpHttpsScheme:T,urlHasHttpsScheme:H}=t(8037);const{kState:V,kHeaders:v,kGuard:x,kRealm:W}=t(1460);const q=t(9491);const{safelyExtractBody:O}=t(5363);const{redirectStatus:P,nullBodyStatus:Z,safeMethods:_,requestBodyHeader:X,subresource:K,DOMException:z}=t(3193);const{kHeadersList:j}=t(6168);const $=t(2361);const{Readable:AA,pipeline:eA}=t(2781);const{addAbortListener:tA,isErrored:sA,isReadable:rA,nodeMajor:oA,nodeMinor:nA}=t(7234);const{dataURLProcessor:iA,serializeAMimeType:EA}=t(9051);const{TransformStream:QA}=t(5356);const{getGlobalDispatcher:gA}=t(366);const{webidl:BA}=t(5756);const{STATUS_CODES:CA}=t(3685);let aA;let IA=globalThis.ReadableStream;class Fetch extends ${constructor(A){super();this.dispatcher=A;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(A){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(A);this.emit("terminated",A)}abort(A){if(this.state!=="ongoing"){return}this.state="aborted";if(!A){A=new z("The operation was aborted.","AbortError")}this.serializedAbortReason=A;this.connection?.destroy(A);this.emit("terminated",A)}}async function fetch(A,e={}){BA.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const t=N();let r;try{r=new Q(A,e)}catch(A){t.reject(A);return t.promise}const o=r[V];if(r.signal.aborted){abortFetch(t,o,null,r.signal.reason);return t.promise}const n=o.client.globalObject;if(n?.constructor?.name==="ServiceWorkerGlobalScope"){o.serviceWorkers="none"}let i=null;const E=null;let g=false;let B=null;tA(r.signal,(()=>{g=true;q(B!=null);B.abort(r.signal.reason);abortFetch(t,o,i,r.signal.reason)}));const handleFetchDone=A=>finalizeAndReportTiming(A,"fetch");const processResponse=A=>{if(g){return}if(A.aborted){abortFetch(t,o,i,B.serializedAbortReason);return}if(A.type==="error"){t.reject(Object.assign(new TypeError("fetch failed"),{cause:A.error}));return}i=new s;i[V]=A;i[W]=E;i[v][j]=A.headersList;i[v][x]="immutable";i[v][W]=E;t.resolve(i)};B=fetching({request:o,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:e.dispatcher??gA()});return t.promise}function finalizeAndReportTiming(A,e="other"){if(A.type==="error"&&A.aborted){return}if(!A.urlList?.length){return}const t=A.urlList[0];let s=A.timingInfo;let r=A.cacheState;if(!T(t)){return}if(s===null){return}if(!s.timingAllowPassed){s=D({startTime:s.startTime});r=""}s.endTime=F();A.timingInfo=s;markResourceTiming(s,t,e,globalThis,r)}function markResourceTiming(A,e,t,s,r){if(oA>18||oA===18&&nA>=2){performance.markResourceTiming(A,e.href,t,s,r)}}function abortFetch(A,e,t,s){if(!s){s=new z("The operation was aborted.","AbortError")}A.reject(s);if(e.body!=null&&rA(e.body?.stream)){e.body.stream.cancel(s).catch((A=>{if(A.code==="ERR_INVALID_STATE"){return}throw A}))}if(t==null){return}const r=t[V];if(r.body!=null&&rA(r.body?.stream)){r.body.stream.cancel(s).catch((A=>{if(A.code==="ERR_INVALID_STATE"){return}throw A}))}}function fetching({request:A,processRequestBodyChunkLength:e,processRequestEndOfBody:t,processResponse:s,processResponseEndOfBody:r,processResponseConsumeBody:o,useParallelQueue:n=false,dispatcher:i}){let E=null;let Q=false;if(A.client!=null){E=A.client.globalObject;Q=A.client.crossOriginIsolatedCapability}const g=F(Q);const B=D({startTime:g});const C={controller:new Fetch(i),request:A,timingInfo:B,processRequestBodyChunkLength:e,processRequestEndOfBody:t,processResponse:s,processResponseConsumeBody:o,processResponseEndOfBody:r,taskDestination:E,crossOriginIsolatedCapability:Q};q(!A.body||A.body.stream);if(A.window==="client"){A.window=A.client?.globalObject?.constructor?.name==="Window"?A.client:"no-window"}if(A.origin==="client"){A.origin=A.client?.origin}if(A.policyContainer==="client"){if(A.client!=null){A.policyContainer=I(A.client.policyContainer)}else{A.policyContainer=a()}}if(!A.headersList.contains("accept")){const e="*/*";A.headersList.append("accept",e)}if(!A.headersList.contains("accept-language")){A.headersList.append("accept-language","*")}if(A.priority===null){}if(K.includes(A.destination)){}mainFetch(C).catch((A=>{C.controller.terminate(A)}));return C.controller}async function mainFetch(A,e=false){const t=A.request;let s=null;if(t.localURLsOnly&&!G(d(t))){s=r("local URLs only")}y(t);if(c(t)==="blocked"){s=r("bad port")}if(t.referrerPolicy===""){t.referrerPolicy=t.policyContainer.referrerPolicy}if(t.referrer!=="no-referrer"){t.referrer=k(t)}if(s===null){s=await(async()=>{const e=d(t);if(S(e,t.url)&&t.responseTainting==="basic"||e.protocol==="data:"||(t.mode==="navigate"||t.mode==="websocket")){t.responseTainting="basic";return await schemeFetch(A)}if(t.mode==="same-origin"){return r('request mode cannot be "same-origin"')}if(t.mode==="no-cors"){if(t.redirect!=="follow"){return r('redirect mode cannot be "follow" for "no-cors" request')}t.responseTainting="opaque";return await schemeFetch(A)}if(!T(d(t))){return r("URL scheme must be a HTTP(S) scheme")}t.responseTainting="cors";return await httpFetch(A)})()}if(e){return s}if(s.status!==0&&!s.internalResponse){if(t.responseTainting==="cors"){}if(t.responseTainting==="basic"){s=n(s,"basic")}else if(t.responseTainting==="cors"){s=n(s,"cors")}else if(t.responseTainting==="opaque"){s=n(s,"opaque")}else{q(false)}}let o=s.status===0?s:s.internalResponse;if(o.urlList.length===0){o.urlList.push(...t.urlList)}if(!t.timingAllowFailed){s.timingAllowPassed=true}if(s.type==="opaque"&&o.status===206&&o.rangeRequested&&!t.headers.contains("range")){s=o=r()}if(s.status!==0&&(t.method==="HEAD"||t.method==="CONNECT"||Z.includes(o.status))){o.body=null;A.controller.dump=true}if(t.integrity){const processBodyError=e=>fetchFinale(A,r(e));if(t.responseTainting==="opaque"||s.body==null){processBodyError(s.error);return}const processBody=e=>{if(!C(e,t.integrity)){processBodyError("integrity mismatch");return}s.body=O(e)[0];fetchFinale(A,s)};await M(s.body,processBody,processBodyError)}else{fetchFinale(A,s)}}async function schemeFetch(A){if(m(A)&&A.request.redirectCount===0){return o(A)}const{request:e}=A;const{protocol:s}=d(e);switch(s){case"about:":{return r("about scheme is not supported")}case"blob:":{if(!aA){aA=t(4300).resolveObjectURL}const A=d(e);if(A.search.length!==0){return r("NetworkError when attempting to fetch resource.")}const s=aA(A.toString());if(e.method!=="GET"||!b(s)){return r("invalid method")}const o=O(s);const n=o[0];const E=J(`${n.length}`);const Q=o[1]??"";const g=i({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:E}],["content-type",{name:"Content-Type",value:Q}]]});g.body=n;return g}case"data:":{const A=d(e);const t=iA(A);if(t==="failure"){return r("failed to fetch the data URL")}const s=EA(t.mimeType);return i({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:O(t.body)[0]})}case"file:":{return r("not implemented... yet...")}case"http:":case"https:":{return await httpFetch(A).catch((A=>r(A)))}default:{return r("unknown scheme")}}}function finalizeResponse(A,e){A.request.done=true;if(A.processResponseDone!=null){queueMicrotask((()=>A.processResponseDone(e)))}}async function fetchFinale(A,e){if(e.type==="error"){e.urlList=[A.request.urlList[0]];e.timingInfo=D({startTime:A.timingInfo.startTime})}const processResponseEndOfBody=()=>{A.request.done=true;if(A.processResponseEndOfBody!=null){queueMicrotask((()=>A.processResponseEndOfBody(e)))}};if(A.processResponse!=null){queueMicrotask((()=>A.processResponse(e)))}if(e.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(A,e)=>{e.enqueue(A)};const A=new QA({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});e.body={stream:e.body.stream.pipeThrough(A)}}if(A.processResponseConsumeBody!=null){const processBody=t=>A.processResponseConsumeBody(e,t);const processBodyError=t=>A.processResponseConsumeBody(e,t);if(e.body==null){queueMicrotask((()=>processBody(null)))}else{await M(e.body,processBody,processBodyError)}}}async function httpFetch(A){const e=A.request;let t=null;let s=null;const o=A.timingInfo;if(e.serviceWorkers==="all"){}if(t===null){if(e.redirect==="follow"){e.serviceWorkers="none"}s=t=await httpNetworkOrCacheFetch(A);if(e.responseTainting==="cors"&&p(e,t)==="failure"){return r("cors failure")}if(h(e,t)==="failure"){e.timingAllowFailed=true}}if((e.responseTainting==="opaque"||t.type==="opaque")&&w(e.origin,e.client,e.destination,s)==="blocked"){return r("blocked")}if(P.includes(s.status)){if(e.redirect!=="manual"){A.controller.connection.destroy()}if(e.redirect==="error"){t=r("unexpected redirect")}else if(e.redirect==="manual"){t=s}else if(e.redirect==="follow"){t=await httpRedirectFetch(A,t)}else{q(false)}}t.timingInfo=o;return t}async function httpRedirectFetch(A,e){const t=A.request;const s=e.internalResponse?e.internalResponse:e;let o;try{o=u(s,d(t).hash);if(o==null){return e}}catch(A){return r(A)}if(!T(o)){return r("URL scheme must be a HTTP(S) scheme")}if(t.redirectCount===20){return r("redirect count exceeded")}t.redirectCount+=1;if(t.mode==="cors"&&(o.username||o.password)&&!S(t,o)){return r('cross origin not allowed for request mode "cors"')}if(t.responseTainting==="cors"&&(o.username||o.password)){return r('URL cannot contain credentials for request mode "cors"')}if(s.status!==303&&t.body!=null&&t.body.source==null){return r()}if([301,302].includes(s.status)&&t.method==="POST"||s.status===303&&!["GET","HEAD"].includes(t.method)){t.method="GET";t.body=null;for(const A of X){t.headersList.delete(A)}}if(!S(d(t),o)){t.headersList.delete("authorization");t.headersList.delete("cookie");t.headersList.delete("host")}if(t.body!=null){q(t.body.source!=null);t.body=O(t.body.source)[0]}const n=A.timingInfo;n.redirectEndTime=n.postRedirectStartTime=F(A.crossOriginIsolatedCapability);if(n.redirectStartTime===0){n.redirectStartTime=n.startTime}t.urlList.push(o);f(t,s);return mainFetch(A,true)}async function httpNetworkOrCacheFetch(A,e=false,t=false){const s=A.request;let n=null;let i=null;let E=null;const Q=null;const B=false;if(s.window==="no-window"&&s.redirect==="error"){n=A;i=s}else{i=g(s);n={...A};n.request=i}const C=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic";const a=i.body?i.body.length:null;let I=null;if(i.body==null&&["POST","PUT"].includes(i.method)){I="0"}if(a!=null){I=J(`${a}`)}if(I!=null){i.headersList.append("content-length",I)}if(a!=null&&i.keepalive){}if(i.referrer instanceof URL){i.headersList.append("referer",J(i.referrer.href))}l(i);R(i);if(!i.headersList.contains("user-agent")){i.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(i.cache==="default"&&(i.headersList.contains("if-modified-since")||i.headersList.contains("if-none-match")||i.headersList.contains("if-unmodified-since")||i.headersList.contains("if-match")||i.headersList.contains("if-range"))){i.cache="no-store"}if(i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control")){i.headersList.append("cache-control","max-age=0")}if(i.cache==="no-store"||i.cache==="reload"){if(!i.headersList.contains("pragma")){i.headersList.append("pragma","no-cache")}if(!i.headersList.contains("cache-control")){i.headersList.append("cache-control","no-cache")}}if(i.headersList.contains("range")){i.headersList.append("accept-encoding","identity")}if(!i.headersList.contains("accept-encoding")){if(H(d(i))){i.headersList.append("accept-encoding","br, gzip, deflate")}else{i.headersList.append("accept-encoding","gzip, deflate")}}i.headersList.delete("host");if(C){}if(Q==null){i.cache="no-store"}if(i.mode!=="no-store"&&i.mode!=="reload"){}if(E==null){if(i.mode==="only-if-cached"){return r("only if cached")}const A=await httpNetworkFetch(n,C,t);if(!_.includes(i.method)&&A.status>=200&&A.status<=399){}if(B&&A.status===304){}if(E==null){E=A}}E.urlList=[...i.urlList];if(i.headersList.contains("range")){E.rangeRequested=true}E.requestIncludesCredentials=C;if(E.status===407){if(s.window==="no-window"){return r()}if(m(A)){return o(A)}return r("proxy authentication required")}if(E.status===421&&!t&&(s.body==null||s.body.source!=null)){if(m(A)){return o(A)}A.controller.connection.destroy();E=await httpNetworkOrCacheFetch(A,e,true)}if(e){}return E}async function httpNetworkFetch(A,e=false,s=false){q(!A.controller.connection||A.controller.connection.destroyed);A.controller.connection={abort:null,destroyed:false,destroy(A){if(!this.destroyed){this.destroyed=true;this.abort?.(A??new z("The operation was aborted.","AbortError"))}}};const n=A.request;let Q=null;const g=A.timingInfo;const C=null;if(C==null){n.cache="no-store"}const a=s?"yes":"no";if(n.mode==="websocket"){}else{}let I=null;if(n.body==null&&A.processRequestEndOfBody){queueMicrotask((()=>A.processRequestEndOfBody()))}else if(n.body!=null){const processBodyChunk=async function*(e){if(m(A)){return}yield e;A.processRequestBodyChunkLength?.(e.byteLength)};const processEndOfBody=()=>{if(m(A)){return}if(A.processRequestEndOfBody){A.processRequestEndOfBody()}};const processBodyError=e=>{if(m(A)){return}if(e.name==="AbortError"){A.controller.abort()}else{A.controller.terminate(e)}};I=async function*(){try{for await(const A of n.body.stream){yield*processBodyChunk(A)}processEndOfBody()}catch(A){processBodyError(A)}}()}try{const{body:e,status:t,statusText:s,headersList:r,socket:o}=await dispatch({body:I});if(o){Q=i({status:t,statusText:s,headersList:r,socket:o})}else{const o=e[Symbol.asyncIterator]();A.controller.next=()=>o.next();Q=i({status:t,statusText:s,headersList:r})}}catch(e){if(e.name==="AbortError"){A.controller.connection.destroy();return o(A,e)}return r(e)}const pullAlgorithm=()=>{A.controller.resume()};const cancelAlgorithm=e=>{A.controller.abort(e)};if(!IA){IA=t(5356).ReadableStream}const c=new IA({async start(e){A.controller.controller=e},async pull(A){await pullAlgorithm(A)},async cancel(A){await cancelAlgorithm(A)}},{highWaterMark:0,size(){return 1}});Q.body={stream:c};A.controller.on("terminated",onAborted);A.controller.resume=async()=>{while(true){let e;let t;try{const{done:t,value:s}=await A.controller.next();if(U(A)){break}e=t?undefined:s}catch(s){if(A.controller.ended&&!g.encodedBodySize){e=undefined}else{e=s;t=true}}if(e===undefined){Y(A.controller.controller);finalizeResponse(A,Q);return}g.decodedBodySize+=e?.byteLength??0;if(t){A.controller.terminate(e);return}A.controller.controller.enqueue(new Uint8Array(e));if(sA(c)){A.controller.terminate();return}if(!A.controller.controller.desiredSize){return}}};function onAborted(e){if(U(A)){Q.aborted=true;if(rA(c)){A.controller.controller.error(A.controller.serializedAbortReason)}}else{if(rA(c)){A.controller.controller.error(new TypeError("terminated",{cause:L(e)?e:undefined}))}}A.controller.connection.destroy()}return Q;async function dispatch({body:e}){const t=d(n);const s=A.controller.dispatcher;return new Promise(((r,o)=>s.dispatch({path:t.pathname+t.search,origin:t.origin,method:n.method,body:A.controller.dispatcher.isMockActive?n.body&&n.body.source:e,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(e){const{connection:t}=A.controller;if(t.destroyed){e(new z("The operation was aborted.","AbortError"))}else{A.controller.on("terminated",e);this.abort=t.abort=e}},onHeaders(A,e,t,s){if(A<200){return}let o=[];let i="";const Q=new E;if(Array.isArray(e)){for(let A=0;A<e.length;A+=2){const t=e[A+0].toString("latin1");const s=e[A+1].toString("latin1");if(t.toLowerCase()==="content-encoding"){o=s.toLowerCase().split(",").map((A=>A.trim()))}else if(t.toLowerCase()==="location"){i=s}Q.append(t,s)}}else{const A=Object.keys(e);for(const t of A){const A=e[t];if(t.toLowerCase()==="content-encoding"){o=A.toLowerCase().split(",").map((A=>A.trim())).reverse()}else if(t.toLowerCase()==="location"){i=A}Q.append(t,A)}}this.body=new AA({read:t});const g=[];const C=n.redirect==="follow"&&i&&P.includes(A);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!Z.includes(A)&&!C){for(const A of o){if(A==="x-gzip"||A==="gzip"){g.push(B.createGunzip({flush:B.constants.Z_SYNC_FLUSH,finishFlush:B.constants.Z_SYNC_FLUSH}))}else if(A==="deflate"){g.push(B.createInflate())}else if(A==="br"){g.push(B.createBrotliDecompress())}else{g.length=0;break}}}r({status:A,statusText:s,headersList:Q[j],body:g.length?eA(this.body,...g,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(e){if(A.controller.dump){return}const t=e;g.encodedBodySize+=t.byteLength;return this.body.push(t)},onComplete(){if(this.abort){A.controller.off("terminated",this.abort)}A.controller.ended=true;this.body.push(null)},onError(e){if(this.abort){A.controller.off("terminated",this.abort)}this.body?.destroy(e);A.controller.terminate(e);o(e)},onUpgrade(A,e,t){if(A!==101){return}const s=new E;for(let A=0;A<e.length;A+=2){const t=e[A+0].toString("latin1");const r=e[A+1].toString("latin1");s.append(t,r)}r({status:A,statusText:CA[A],headersList:s[j],socket:t});return true}})))}}A.exports={fetch:fetch,Fetch:Fetch,fetching:fetching,finalizeAndReportTiming:finalizeAndReportTiming}},2487:(A,e,t)=>{"use strict";const{extractBody:s,mixinBody:r,cloneBody:o}=t(5363);const{Headers:n,fill:i,HeadersList:E}=t(7913);const{FinalizationRegistry:Q}=t(1438)();const g=t(7234);const{isValidHTTPToken:B,sameOrigin:C,normalizeMethod:a,makePolicyContainer:I}=t(8037);const{forbiddenMethods:c,corsSafeListedMethods:h,referrerPolicy:l,requestRedirect:u,requestMode:d,requestCredentials:f,requestCache:y,requestDuplex:D}=t(3193);const{kEnumerableProperty:R}=g;const{kHeaders:p,kSignal:w,kState:k,kGuard:F,kRealm:N}=t(1460);const{webidl:b}=t(5756);const{getGlobalOrigin:S}=t(66);const{URLSerializer:m}=t(9051);const{kHeadersList:U}=t(6168);const L=t(9491);const{getMaxListeners:M,setMaxListeners:Y,getEventListeners:J,defaultMaxListeners:G}=t(2361);let T=globalThis.TransformStream;const H=Symbol("init");const V=Symbol("abortController");const v=new Q((({signal:A,abort:e})=>{A.removeEventListener("abort",e)}));class Request{constructor(A,e={}){if(A===H){return}b.argumentLengthCheck(arguments,1,{header:"Request constructor"});A=b.converters.RequestInfo(A);e=b.converters.RequestInit(e);this[N]={settingsObject:{baseUrl:S(),get origin(){return this.baseUrl?.origin},policyContainer:I()}};let r=null;let o=null;const E=this[N].settingsObject.baseUrl;let Q=null;if(typeof A==="string"){let e;try{e=new URL(A,E)}catch(e){throw new TypeError("Failed to parse URL from "+A,{cause:e})}if(e.username||e.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+A)}r=makeRequest({urlList:[e]});o="cors"}else{L(A instanceof Request);r=A[k];Q=A[w]}const l=this[N].settingsObject.origin;let u="client";if(r.window?.constructor?.name==="EnvironmentSettingsObject"&&C(r.window,l)){u=r.window}if(e.window!=null){throw new TypeError(`'window' option '${u}' must be null`)}if("window"in e){u="no-window"}r=makeRequest({method:r.method,headersList:r.headersList,unsafeRequest:r.unsafeRequest,client:this[N].settingsObject,window:u,priority:r.priority,origin:r.origin,referrer:r.referrer,referrerPolicy:r.referrerPolicy,mode:r.mode,credentials:r.credentials,cache:r.cache,redirect:r.redirect,integrity:r.integrity,keepalive:r.keepalive,reloadNavigation:r.reloadNavigation,historyNavigation:r.historyNavigation,urlList:[...r.urlList]});if(Object.keys(e).length>0){if(r.mode==="navigate"){r.mode="same-origin"}r.reloadNavigation=false;r.historyNavigation=false;r.origin="client";r.referrer="client";r.referrerPolicy="";r.url=r.urlList[r.urlList.length-1];r.urlList=[r.url]}if(e.referrer!==undefined){const A=e.referrer;if(A===""){r.referrer="no-referrer"}else{let e;try{e=new URL(A,E)}catch(e){throw new TypeError(`Referrer "${A}" is not a valid URL.`,{cause:e})}if(e.protocol==="about:"&&e.hostname==="client"||l&&!C(e,this[N].settingsObject.baseUrl)){r.referrer="client"}else{r.referrer=e}}}if(e.referrerPolicy!==undefined){r.referrerPolicy=e.referrerPolicy}let d;if(e.mode!==undefined){d=e.mode}else{d=o}if(d==="navigate"){throw b.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(d!=null){r.mode=d}if(e.credentials!==undefined){r.credentials=e.credentials}if(e.cache!==undefined){r.cache=e.cache}if(r.cache==="only-if-cached"&&r.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(e.redirect!==undefined){r.redirect=e.redirect}if(e.integrity!==undefined&&e.integrity!=null){r.integrity=String(e.integrity)}if(e.keepalive!==undefined){r.keepalive=Boolean(e.keepalive)}if(e.method!==undefined){let A=e.method;if(!B(e.method)){throw TypeError(`'${e.method}' is not a valid HTTP method.`)}if(c.indexOf(A.toUpperCase())!==-1){throw TypeError(`'${e.method}' HTTP method is unsupported.`)}A=a(e.method);r.method=A}if(e.signal!==undefined){Q=e.signal}this[k]=r;const f=new AbortController;this[w]=f.signal;this[w][N]=this[N];if(Q!=null){if(!Q||typeof Q.aborted!=="boolean"||typeof Q.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(Q.aborted){f.abort(Q.reason)}else{this[V]=f;const A=new WeakRef(f);const abort=function(){const e=A.deref();if(e!==undefined){e.abort(this.reason)}};try{if(typeof M==="function"&&M(Q)===G){Y(100,Q)}else if(J(Q,"abort").length>=G){Y(100,Q)}}catch{}g.addAbortListener(Q,abort);v.register(f,{signal:Q,abort:abort})}}this[p]=new n;this[p][U]=r.headersList;this[p][F]="request";this[p][N]=this[N];if(d==="no-cors"){if(!h.includes(r.method)){throw new TypeError(`'${r.method} is unsupported in no-cors mode.`)}this[p][F]="request-no-cors"}if(Object.keys(e).length!==0){let A=new n(this[p]);if(e.headers!==undefined){A=e.headers}this[p][U].clear();if(A.constructor.name==="Headers"){for(const[e,t]of A){this[p].append(e,t)}}else{i(this[p],A)}}const y=A instanceof Request?A[k].body:null;if((e.body!=null||y!=null)&&(r.method==="GET"||r.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let D=null;if(e.body!=null){const[A,t]=s(e.body,r.keepalive);D=A;if(t&&!this[p][U].contains("content-type")){this[p].append("content-type",t)}}const R=D??y;if(R!=null&&R.source==null){if(D!=null&&e.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(r.mode!=="same-origin"&&r.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}r.useCORSPreflightFlag=true}let m=R;if(D==null&&y!=null){if(g.isDisturbed(y.stream)||y.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!T){T=t(5356).TransformStream}const A=new T;y.stream.pipeThrough(A);m={source:y.source,length:y.length,stream:A.readable}}this[k].body=m}get method(){b.brandCheck(this,Request);return this[k].method}get url(){b.brandCheck(this,Request);return m(this[k].url)}get headers(){b.brandCheck(this,Request);return this[p]}get destination(){b.brandCheck(this,Request);return this[k].destination}get referrer(){b.brandCheck(this,Request);if(this[k].referrer==="no-referrer"){return""}if(this[k].referrer==="client"){return"about:client"}return this[k].referrer.toString()}get referrerPolicy(){b.brandCheck(this,Request);return this[k].referrerPolicy}get mode(){b.brandCheck(this,Request);return this[k].mode}get credentials(){return this[k].credentials}get cache(){b.brandCheck(this,Request);return this[k].cache}get redirect(){b.brandCheck(this,Request);return this[k].redirect}get integrity(){b.brandCheck(this,Request);return this[k].integrity}get keepalive(){b.brandCheck(this,Request);return this[k].keepalive}get isReloadNavigation(){b.brandCheck(this,Request);return this[k].reloadNavigation}get isHistoryNavigation(){b.brandCheck(this,Request);return this[k].historyNavigation}get signal(){b.brandCheck(this,Request);return this[w]}get body(){b.brandCheck(this,Request);return this[k].body?this[k].body.stream:null}get bodyUsed(){b.brandCheck(this,Request);return!!this[k].body&&g.isDisturbed(this[k].body.stream)}get duplex(){b.brandCheck(this,Request);return"half"}clone(){b.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const A=cloneRequest(this[k]);const e=new Request(H);e[k]=A;e[N]=this[N];e[p]=new n;e[p][U]=A.headersList;e[p][F]=this[p][F];e[p][N]=this[p][N];const t=new AbortController;if(this.signal.aborted){t.abort(this.signal.reason)}else{g.addAbortListener(this.signal,(()=>{t.abort(this.signal.reason)}))}e[w]=t.signal;return e}}r(Request);function makeRequest(A){const e={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...A,headersList:A.headersList?new E(A.headersList):new E};e.url=e.urlList[0];return e}function cloneRequest(A){const e=makeRequest({...A,body:null});if(A.body!=null){e.body=o(A.body)}return e}Object.defineProperties(Request.prototype,{method:R,url:R,headers:R,redirect:R,clone:R,signal:R,duplex:R,destination:R,body:R,bodyUsed:R,isHistoryNavigation:R,isReloadNavigation:R,keepalive:R,integrity:R,cache:R,credentials:R,attribute:R,referrerPolicy:R,referrer:R,mode:R,[Symbol.toStringTag]:{value:"Request",configurable:true}});b.converters.Request=b.interfaceConverter(Request);b.converters.RequestInfo=function(A){if(typeof A==="string"){return b.converters.USVString(A)}if(A instanceof Request){return b.converters.Request(A)}return b.converters.USVString(A)};b.converters.AbortSignal=b.interfaceConverter(AbortSignal);b.converters.RequestInit=b.dictionaryConverter([{key:"method",converter:b.converters.ByteString},{key:"headers",converter:b.converters.HeadersInit},{key:"body",converter:b.nullableConverter(b.converters.BodyInit)},{key:"referrer",converter:b.converters.USVString},{key:"referrerPolicy",converter:b.converters.DOMString,allowedValues:l},{key:"mode",converter:b.converters.DOMString,allowedValues:d},{key:"credentials",converter:b.converters.DOMString,allowedValues:f},{key:"cache",converter:b.converters.DOMString,allowedValues:y},{key:"redirect",converter:b.converters.DOMString,allowedValues:u},{key:"integrity",converter:b.converters.DOMString},{key:"keepalive",converter:b.converters.boolean},{key:"signal",converter:b.nullableConverter((A=>b.converters.AbortSignal(A,{strict:false})))},{key:"window",converter:b.converters.any},{key:"duplex",converter:b.converters.DOMString,allowedValues:D}]);A.exports={Request:Request,makeRequest:makeRequest}},2567:(A,e,t)=>{"use strict";const{Headers:s,HeadersList:r,fill:o}=t(7913);const{extractBody:n,cloneBody:i,mixinBody:E}=t(5363);const Q=t(7234);const{kEnumerableProperty:g}=Q;const{isValidReasonPhrase:B,isCancelled:C,isAborted:a,isBlobLike:I,serializeJavascriptValueToJSONString:c,isErrorLike:h,isomorphicEncode:l}=t(8037);const{redirectStatus:u,nullBodyStatus:d,DOMException:f}=t(3193);const{kState:y,kHeaders:D,kGuard:R,kRealm:p}=t(1460);const{webidl:w}=t(5756);const{FormData:k}=t(3097);const{getGlobalOrigin:F}=t(66);const{URLSerializer:N}=t(9051);const{kHeadersList:b}=t(6168);const S=t(9491);const{types:m}=t(3837);const U=globalThis.ReadableStream||t(5356).ReadableStream;class Response{static error(){const A={settingsObject:{}};const e=new Response;e[y]=makeNetworkError();e[p]=A;e[D][b]=e[y].headersList;e[D][R]="immutable";e[D][p]=A;return e}static json(A,e={}){w.argumentLengthCheck(arguments,1,{header:"Response.json"});if(e!==null){e=w.converters.ResponseInit(e)}const t=new TextEncoder("utf-8").encode(c(A));const s=n(t);const r={settingsObject:{}};const o=new Response;o[p]=r;o[D][R]="response";o[D][p]=r;initializeResponse(o,e,{body:s[0],type:"application/json"});return o}static redirect(A,e=302){const t={settingsObject:{}};w.argumentLengthCheck(arguments,1,{header:"Response.redirect"});A=w.converters.USVString(A);e=w.converters["unsigned short"](e);let s;try{s=new URL(A,F())}catch(e){throw Object.assign(new TypeError("Failed to parse URL from "+A),{cause:e})}if(!u.includes(e)){throw new RangeError("Invalid status code "+e)}const r=new Response;r[p]=t;r[D][R]="immutable";r[D][p]=t;r[y].status=e;const o=l(N(s));r[y].headersList.append("location",o);return r}constructor(A=null,e={}){if(A!==null){A=w.converters.BodyInit(A)}e=w.converters.ResponseInit(e);this[p]={settingsObject:{}};this[y]=makeResponse({});this[D]=new s;this[D][R]="response";this[D][b]=this[y].headersList;this[D][p]=this[p];let t=null;if(A!=null){const[e,s]=n(A);t={body:e,type:s}}initializeResponse(this,e,t)}get type(){w.brandCheck(this,Response);return this[y].type}get url(){w.brandCheck(this,Response);const A=this[y].urlList;const e=A[A.length-1]??null;if(e===null){return""}return N(e,true)}get redirected(){w.brandCheck(this,Response);return this[y].urlList.length>1}get status(){w.brandCheck(this,Response);return this[y].status}get ok(){w.brandCheck(this,Response);return this[y].status>=200&&this[y].status<=299}get statusText(){w.brandCheck(this,Response);return this[y].statusText}get headers(){w.brandCheck(this,Response);return this[D]}get body(){w.brandCheck(this,Response);return this[y].body?this[y].body.stream:null}get bodyUsed(){w.brandCheck(this,Response);return!!this[y].body&&Q.isDisturbed(this[y].body.stream)}clone(){w.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw w.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const A=cloneResponse(this[y]);const e=new Response;e[y]=A;e[p]=this[p];e[D][b]=A.headersList;e[D][R]=this[D][R];e[D][p]=this[D][p];return e}}E(Response);Object.defineProperties(Response.prototype,{type:g,url:g,status:g,ok:g,redirected:g,statusText:g,headers:g,clone:g,body:g,bodyUsed:g,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:g,redirect:g,error:g});function cloneResponse(A){if(A.internalResponse){return filterResponse(cloneResponse(A.internalResponse),A.type)}const e=makeResponse({...A,body:null});if(A.body!=null){e.body=i(A.body)}return e}function makeResponse(A){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...A,headersList:A.headersList?new r(A.headersList):new r,urlList:A.urlList?[...A.urlList]:[]}}function makeNetworkError(A){const e=h(A);return makeResponse({type:"error",status:0,error:e?A:new Error(A?String(A):A),aborted:A&&A.name==="AbortError"})}function makeFilteredResponse(A,e){e={internalResponse:A,...e};return new Proxy(A,{get(A,t){return t in e?e[t]:A[t]},set(A,t,s){S(!(t in e));A[t]=s;return true}})}function filterResponse(A,e){if(e==="basic"){return makeFilteredResponse(A,{type:"basic",headersList:A.headersList})}else if(e==="cors"){return makeFilteredResponse(A,{type:"cors",headersList:A.headersList})}else if(e==="opaque"){return makeFilteredResponse(A,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(e==="opaqueredirect"){return makeFilteredResponse(A,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{S(false)}}function makeAppropriateNetworkError(A,e=null){S(C(A));return a(A)?makeNetworkError(Object.assign(new f("The operation was aborted.","AbortError"),{cause:e})):makeNetworkError(Object.assign(new f("Request was cancelled."),{cause:e}))}function initializeResponse(A,e,t){if(e.status!==null&&(e.status<200||e.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in e&&e.statusText!=null){if(!B(String(e.statusText))){throw new TypeError("Invalid statusText")}}if("status"in e&&e.status!=null){A[y].status=e.status}if("statusText"in e&&e.statusText!=null){A[y].statusText=e.statusText}if("headers"in e&&e.headers!=null){o(A[D],e.headers)}if(t){if(d.includes(A.status)){throw w.errors.exception({header:"Response constructor",message:"Invalid response status code "+A.status})}A[y].body=t.body;if(t.type!=null&&!A[y].headersList.contains("Content-Type")){A[y].headersList.append("content-type",t.type)}}}w.converters.ReadableStream=w.interfaceConverter(U);w.converters.FormData=w.interfaceConverter(k);w.converters.URLSearchParams=w.interfaceConverter(URLSearchParams);w.converters.XMLHttpRequestBodyInit=function(A){if(typeof A==="string"){return w.converters.USVString(A)}if(I(A)){return w.converters.Blob(A,{strict:false})}if(m.isAnyArrayBuffer(A)||m.isTypedArray(A)||m.isDataView(A)){return w.converters.BufferSource(A)}if(Q.isFormDataLike(A)){return w.converters.FormData(A,{strict:false})}if(A instanceof URLSearchParams){return w.converters.URLSearchParams(A)}return w.converters.DOMString(A)};w.converters.BodyInit=function(A){if(A instanceof U){return w.converters.ReadableStream(A)}if(A?.[Symbol.asyncIterator]){return A}return w.converters.XMLHttpRequestBodyInit(A)};w.converters.ResponseInit=w.dictionaryConverter([{key:"status",converter:w.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:w.converters.ByteString,defaultValue:""},{key:"headers",converter:w.converters.HeadersInit}]);A.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},1460:A=>{"use strict";A.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},8037:(A,e,t)=>{"use strict";const{redirectStatus:s,badPorts:r,referrerPolicy:o}=t(3193);const{getGlobalOrigin:n}=t(66);const{performance:i}=t(4074);const{isBlobLike:E,toUSVString:Q,ReadableStreamFrom:g}=t(7234);const B=t(9491);const{isUint8Array:C}=t(223);let a;try{a=t(6113)}catch{}function responseURL(A){const e=A.urlList;const t=e.length;return t===0?null:e[t-1].toString()}function responseLocationURL(A,e){if(!s.includes(A.status)){return null}let t=A.headersList.get("location");if(t!==null&&isValidHeaderValue(t)){t=new URL(t,responseURL(A))}if(t&&!t.hash){t.hash=e}return t}function requestCurrentURL(A){return A.urlList[A.urlList.length-1]}function requestBadPort(A){const e=requestCurrentURL(A);if(urlIsHttpHttpsScheme(e)&&r.includes(e.port)){return"blocked"}return"allowed"}function isErrorLike(A){return A instanceof Error||(A?.constructor?.name==="Error"||A?.constructor?.name==="DOMException")}function isValidReasonPhrase(A){for(let e=0;e<A.length;++e){const t=A.charCodeAt(e);if(!(t===9||t>=32&&t<=126||t>=128&&t<=255)){return false}}return true}function isTokenChar(A){return!(A>=127||A<=32||A==="("||A===")"||A==="<"||A===">"||A==="@"||A===","||A===";"||A===":"||A==="\\"||A==='"'||A==="/"||A==="["||A==="]"||A==="?"||A==="="||A==="{"||A==="}")}function isValidHTTPToken(A){if(!A||typeof A!=="string"){return false}for(let e=0;e<A.length;++e){const t=A.charCodeAt(e);if(t>127||!isTokenChar(t)){return false}}return true}function isValidHeaderName(A){if(A.length===0){return false}return isValidHTTPToken(A)}function isValidHeaderValue(A){if(A.startsWith("\t")||A.startsWith(" ")||A.endsWith("\t")||A.endsWith(" ")){return false}if(A.includes("\0")||A.includes("\r")||A.includes("\n")){return false}return true}function setRequestReferrerPolicyOnRedirect(A,e){const{headersList:t}=e;const s=(t.get("referrer-policy")??"").split(",");let r="";if(s.length>0){for(let A=s.length;A!==0;A--){const e=s[A-1].trim();if(o.includes(e)){r=e;break}}}if(r!==""){A.referrerPolicy=r}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(A){let e=null;e=A.mode;A.headersList.set("sec-fetch-mode",e)}function appendRequestOriginHeader(A){let e=A.origin;if(A.responseTainting==="cors"||A.mode==="websocket"){if(e){A.headersList.append("origin",e)}}else if(A.method!=="GET"&&A.method!=="HEAD"){switch(A.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(A.origin&&urlHasHttpsScheme(A.origin)&&!urlHasHttpsScheme(requestCurrentURL(A))){e=null}break;case"same-origin":if(!sameOrigin(A,requestCurrentURL(A))){e=null}break;default:}if(e){A.headersList.append("origin",e)}}}function coarsenedSharedCurrentTime(A){return i.now()}function createOpaqueTimingInfo(A){return{startTime:A.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:A.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(A){return{referrerPolicy:A.referrerPolicy}}function determineRequestsReferrer(A){const e=A.referrerPolicy;B(e);let t=null;if(A.referrer==="client"){const A=n();if(!A||A.origin==="null"){return"no-referrer"}t=new URL(A)}else if(A.referrer instanceof URL){t=A.referrer}let s=stripURLForReferrer(t);const r=stripURLForReferrer(t,true);if(s.toString().length>4096){s=r}const o=sameOrigin(A,s);const i=isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(A.url);switch(e){case"origin":return r!=null?r:stripURLForReferrer(t,true);case"unsafe-url":return s;case"same-origin":return o?r:"no-referrer";case"origin-when-cross-origin":return o?s:r;case"strict-origin-when-cross-origin":{const e=requestCurrentURL(A);if(sameOrigin(s,e)){return s}if(isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(e)){return"no-referrer"}return r}case"strict-origin":case"no-referrer-when-downgrade":default:return i?"no-referrer":r}}function stripURLForReferrer(A,e){B(A instanceof URL);if(A.protocol==="file:"||A.protocol==="about:"||A.protocol==="blank:"){return"no-referrer"}A.username="";A.password="";A.hash="";if(e){A.pathname="";A.search=""}return A}function isURLPotentiallyTrustworthy(A){if(!(A instanceof URL)){return false}if(A.href==="about:blank"||A.href==="about:srcdoc"){return true}if(A.protocol==="data:")return true;if(A.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(A.origin);function isOriginPotentiallyTrustworthy(A){if(A==null||A==="null")return false;const e=new URL(A);if(e.protocol==="https:"||e.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(e.hostname)||(e.hostname==="localhost"||e.hostname.includes("localhost."))||e.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(A,e){if(a===undefined){return true}const t=parseMetadata(e);if(t==="no metadata"){return true}if(t.length===0){return true}const s=t.sort(((A,e)=>e.algo.localeCompare(A.algo)));const r=s[0].algo;const o=s.filter((A=>A.algo===r));for(const e of o){const t=e.algo;let s=e.hash;if(s.endsWith("==")){s=s.slice(0,-2)}let r=a.createHash(t).update(A).digest("base64");if(r.endsWith("==")){r=r.slice(0,-2)}if(r===s){return true}let o=a.createHash(t).update(A).digest("base64url");if(o.endsWith("==")){o=o.slice(0,-2)}if(o===s){return true}}return false}const I=/((?<algo>sha256|sha384|sha512)-(?<hash>[A-z0-9+/]{1}.*={0,2}))( +[\x21-\x7e]?)?/i;function parseMetadata(A){const e=[];let t=true;const s=a.getHashes();for(const r of A.split(" ")){t=false;const A=I.exec(r);if(A===null||A.groups===undefined){continue}const o=A.groups.algo;if(s.includes(o.toLowerCase())){e.push(A.groups)}}if(t===true){return"no metadata"}return e}function tryUpgradeRequestToAPotentiallyTrustworthyURL(A){}function sameOrigin(A,e){if(A.origin===e.origin&&A.origin==="null"){return true}if(A.protocol===e.protocol&&A.hostname===e.hostname&&A.port===e.port){return true}return false}function createDeferredPromise(){let A;let e;const t=new Promise(((t,s)=>{A=t;e=s}));return{promise:t,resolve:A,reject:e}}function isAborted(A){return A.controller.state==="aborted"}function isCancelled(A){return A.controller.state==="aborted"||A.controller.state==="terminated"}function normalizeMethod(A){return/^(DELETE|GET|HEAD|OPTIONS|POST|PUT)$/i.test(A)?A.toUpperCase():A}function serializeJavascriptValueToJSONString(A){const e=JSON.stringify(A);if(e===undefined){throw new TypeError("Value is not JSON serializable")}B(typeof e==="string");return e}const c=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(A,e,t){const s={index:0,kind:t,target:A};const r={next(){if(Object.getPrototypeOf(this)!==r){throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`)}const{index:A,kind:t,target:o}=s;const n=o();const i=n.length;if(A>=i){return{value:undefined,done:true}}const E=n[A];s.index=A+1;return iteratorResult(E,t)},[Symbol.toStringTag]:`${e} Iterator`};Object.setPrototypeOf(r,c);return Object.setPrototypeOf({},r)}function iteratorResult(A,e){let t;switch(e){case"key":{t=A[0];break}case"value":{t=A[1];break}case"key+value":{t=A;break}}return{value:t,done:false}}async function fullyReadBody(A,e,t){const s=e;const r=t;let o;try{o=A.stream.getReader()}catch(A){r(A);return}try{const A=await readAllBytes(o);s(A)}catch(A){r(A)}}let h=globalThis.ReadableStream;function isReadableStreamLike(A){if(!h){h=t(5356).ReadableStream}return A instanceof h||A[Symbol.toStringTag]==="ReadableStream"&&typeof A.tee==="function"}const l=65535;function isomorphicDecode(A){if(A.length<l){return String.fromCharCode(...A)}return A.reduce(((A,e)=>A+String.fromCharCode(e)),"")}function readableStreamClose(A){try{A.close()}catch(A){if(!A.message.includes("Controller is already closed")){throw A}}}function isomorphicEncode(A){for(let e=0;e<A.length;e++){B(A.charCodeAt(e)<=255)}return A}async function readAllBytes(A){const e=[];let t=0;while(true){const{done:s,value:r}=await A.read();if(s){return Buffer.concat(e,t)}if(!C(r)){throw new TypeError("Received non-Uint8Array chunk")}e.push(r);t+=r.length}}function urlIsLocal(A){B("protocol"in A);const e=A.protocol;return e==="about:"||e==="blob:"||e==="data:"}function urlHasHttpsScheme(A){if(typeof A==="string"){return A.startsWith("https:")}return A.protocol==="https:"}function urlIsHttpHttpsScheme(A){B("protocol"in A);const e=A.protocol;return e==="http:"||e==="https:"}const u=Object.hasOwn||((A,e)=>Object.prototype.hasOwnProperty.call(A,e));A.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:g,toUSVString:Q,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:E,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:u,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes}},5756:(A,e,t)=>{"use strict";const{types:s}=t(3837);const{hasOwn:r,toUSVString:o}=t(8037);const n={};n.converters={};n.util={};n.errors={};n.errors.exception=function(A){return new TypeError(`${A.header}: ${A.message}`)};n.errors.conversionFailed=function(A){const e=A.types.length===1?"":" one of";const t=`${A.argument} could not be converted to`+`${e}: ${A.types.join(", ")}.`;return n.errors.exception({header:A.prefix,message:t})};n.errors.invalidArgument=function(A){return n.errors.exception({header:A.prefix,message:`"${A.value}" is an invalid ${A.type}.`})};n.brandCheck=function(A,e,t=undefined){if(t?.strict!==false&&!(A instanceof e)){throw new TypeError("Illegal invocation")}else{return A?.[Symbol.toStringTag]===e.prototype[Symbol.toStringTag]}};n.argumentLengthCheck=function({length:A},e,t){if(A<e){throw n.errors.exception({message:`${e} argument${e!==1?"s":""} required, `+`but${A?" only":""} ${A} found.`,...t})}};n.illegalConstructor=function(){throw n.errors.exception({header:"TypeError",message:"Illegal constructor"})};n.util.Type=function(A){switch(typeof A){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":{if(A===null){return"Null"}return"Object"}}};n.util.ConvertToInt=function(A,e,t,s={}){let r;let o;if(e===64){r=Math.pow(2,53)-1;if(t==="unsigned"){o=0}else{o=Math.pow(-2,53)+1}}else if(t==="unsigned"){o=0;r=Math.pow(2,e)-1}else{o=Math.pow(-2,e)-1;r=Math.pow(2,e-1)-1}let i=Number(A);if(i===0){i=0}if(s.enforceRange===true){if(Number.isNaN(i)||i===Number.POSITIVE_INFINITY||i===Number.NEGATIVE_INFINITY){throw n.errors.exception({header:"Integer conversion",message:`Could not convert ${A} to an integer.`})}i=n.util.IntegerPart(i);if(i<o||i>r){throw n.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${r}, got ${i}.`})}return i}if(!Number.isNaN(i)&&s.clamp===true){i=Math.min(Math.max(i,o),r);if(Math.floor(i)%2===0){i=Math.floor(i)}else{i=Math.ceil(i)}return i}if(Number.isNaN(i)||i===0&&Object.is(0,i)||i===Number.POSITIVE_INFINITY||i===Number.NEGATIVE_INFINITY){return 0}i=n.util.IntegerPart(i);i=i%Math.pow(2,e);if(t==="signed"&&i>=Math.pow(2,e)-1){return i-Math.pow(2,e)}return i};n.util.IntegerPart=function(A){const e=Math.floor(Math.abs(A));if(A<0){return-1*e}return e};n.sequenceConverter=function(A){return e=>{if(n.util.Type(e)!=="Object"){throw n.errors.exception({header:"Sequence",message:`Value of type ${n.util.Type(e)} is not an Object.`})}const t=e?.[Symbol.iterator]?.();const s=[];if(t===undefined||typeof t.next!=="function"){throw n.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:e,value:r}=t.next();if(e){break}s.push(A(r))}return s}};n.recordConverter=function(A,e){return t=>{if(n.util.Type(t)!=="Object"){throw n.errors.exception({header:"Record",message:`Value of type ${n.util.Type(t)} is not an Object.`})}const r={};if(!s.isProxy(t)){const s=Object.keys(t);for(const o of s){const s=A(o);const n=e(t[o]);r[s]=n}return r}const o=Reflect.ownKeys(t);for(const s of o){const o=Reflect.getOwnPropertyDescriptor(t,s);if(o?.enumerable){const o=A(s);const n=e(t[s]);r[o]=n}}return r}};n.interfaceConverter=function(A){return(e,t={})=>{if(t.strict!==false&&!(e instanceof A)){throw n.errors.exception({header:A.name,message:`Expected ${e} to be an instance of ${A.name}.`})}return e}};n.dictionaryConverter=function(A){return e=>{const t=n.util.Type(e);const s={};if(t==="Null"||t==="Undefined"){return s}else if(t!=="Object"){throw n.errors.exception({header:"Dictionary",message:`Expected ${e} to be one of: Null, Undefined, Object.`})}for(const t of A){const{key:A,defaultValue:o,required:i,converter:E}=t;if(i===true){if(!r(e,A)){throw n.errors.exception({header:"Dictionary",message:`Missing required key "${A}".`})}}let Q=e[A];const g=r(t,"defaultValue");if(g&&Q!==null){Q=Q??o}if(i||g||Q!==undefined){Q=E(Q);if(t.allowedValues&&!t.allowedValues.includes(Q)){throw n.errors.exception({header:"Dictionary",message:`${Q} is not an accepted type. Expected one of ${t.allowedValues.join(", ")}.`})}s[A]=Q}}return s}};n.nullableConverter=function(A){return e=>{if(e===null){return e}return A(e)}};n.converters.DOMString=function(A,e={}){if(A===null&&e.legacyNullToEmptyString){return""}if(typeof A==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(A)};n.converters.ByteString=function(A){const e=n.converters.DOMString(A);for(let A=0;A<e.length;A++){const t=e.charCodeAt(A);if(t>255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${A} has a value of ${t} which is greater than 255.`)}}return e};n.converters.USVString=o;n.converters.boolean=function(A){const e=Boolean(A);return e};n.converters.any=function(A){return A};n.converters["long long"]=function(A){const e=n.util.ConvertToInt(A,64,"signed");return e};n.converters["unsigned long long"]=function(A){const e=n.util.ConvertToInt(A,64,"unsigned");return e};n.converters["unsigned long"]=function(A){const e=n.util.ConvertToInt(A,32,"unsigned");return e};n.converters["unsigned short"]=function(A,e){const t=n.util.ConvertToInt(A,16,"unsigned",e);return t};n.converters.ArrayBuffer=function(A,e={}){if(n.util.Type(A)!=="Object"||!s.isAnyArrayBuffer(A)){throw n.errors.conversionFailed({prefix:`${A}`,argument:`${A}`,types:["ArrayBuffer"]})}if(e.allowShared===false&&s.isSharedArrayBuffer(A)){throw n.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};n.converters.TypedArray=function(A,e,t={}){if(n.util.Type(A)!=="Object"||!s.isTypedArray(A)||A.constructor.name!==e.name){throw n.errors.conversionFailed({prefix:`${e.name}`,argument:`${A}`,types:[e.name]})}if(t.allowShared===false&&s.isSharedArrayBuffer(A.buffer)){throw n.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};n.converters.DataView=function(A,e={}){if(n.util.Type(A)!=="Object"||!s.isDataView(A)){throw n.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(e.allowShared===false&&s.isSharedArrayBuffer(A.buffer)){throw n.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};n.converters.BufferSource=function(A,e={}){if(s.isAnyArrayBuffer(A)){return n.converters.ArrayBuffer(A,e)}if(s.isTypedArray(A)){return n.converters.TypedArray(A,A.constructor)}if(s.isDataView(A)){return n.converters.DataView(A,e)}throw new TypeError(`Could not convert ${A} to a BufferSource.`)};n.converters["sequence<ByteString>"]=n.sequenceConverter(n.converters.ByteString);n.converters["sequence<sequence<ByteString>>"]=n.sequenceConverter(n.converters["sequence<ByteString>"]);n.converters["record<ByteString, ByteString>"]=n.recordConverter(n.converters.ByteString,n.converters.ByteString);A.exports={webidl:n}},7170:A=>{"use strict";function getEncoding(A){if(!A){return"failure"}switch(A.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}A.exports={getEncoding:getEncoding}},5094:(A,e,t)=>{"use strict";const{staticPropertyDescriptors:s,readOperation:r,fireAProgressEvent:o}=t(5960);const{kState:n,kError:i,kResult:E,kEvents:Q,kAborted:g}=t(7696);const{webidl:B}=t(5756);const{kEnumerableProperty:C}=t(7234);class FileReader extends EventTarget{constructor(){super();this[n]="empty";this[E]=null;this[i]=null;this[Q]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(A){B.brandCheck(this,FileReader);B.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});A=B.converters.Blob(A,{strict:false});r(this,A,"ArrayBuffer")}readAsBinaryString(A){B.brandCheck(this,FileReader);B.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});A=B.converters.Blob(A,{strict:false});r(this,A,"BinaryString")}readAsText(A,e=undefined){B.brandCheck(this,FileReader);B.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});A=B.converters.Blob(A,{strict:false});if(e!==undefined){e=B.converters.DOMString(e)}r(this,A,"Text",e)}readAsDataURL(A){B.brandCheck(this,FileReader);B.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});A=B.converters.Blob(A,{strict:false});r(this,A,"DataURL")}abort(){if(this[n]==="empty"||this[n]==="done"){this[E]=null;return}if(this[n]==="loading"){this[n]="done";this[E]=null}this[g]=true;o("abort",this);if(this[n]!=="loading"){o("loadend",this)}}get readyState(){B.brandCheck(this,FileReader);switch(this[n]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){B.brandCheck(this,FileReader);return this[E]}get error(){B.brandCheck(this,FileReader);return this[i]}get onloadend(){B.brandCheck(this,FileReader);return this[Q].loadend}set onloadend(A){B.brandCheck(this,FileReader);if(this[Q].loadend){this.removeEventListener("loadend",this[Q].loadend)}if(typeof A==="function"){this[Q].loadend=A;this.addEventListener("loadend",A)}else{this[Q].loadend=null}}get onerror(){B.brandCheck(this,FileReader);return this[Q].error}set onerror(A){B.brandCheck(this,FileReader);if(this[Q].error){this.removeEventListener("error",this[Q].error)}if(typeof A==="function"){this[Q].error=A;this.addEventListener("error",A)}else{this[Q].error=null}}get onloadstart(){B.brandCheck(this,FileReader);return this[Q].loadstart}set onloadstart(A){B.brandCheck(this,FileReader);if(this[Q].loadstart){this.removeEventListener("loadstart",this[Q].loadstart)}if(typeof A==="function"){this[Q].loadstart=A;this.addEventListener("loadstart",A)}else{this[Q].loadstart=null}}get onprogress(){B.brandCheck(this,FileReader);return this[Q].progress}set onprogress(A){B.brandCheck(this,FileReader);if(this[Q].progress){this.removeEventListener("progress",this[Q].progress)}if(typeof A==="function"){this[Q].progress=A;this.addEventListener("progress",A)}else{this[Q].progress=null}}get onload(){B.brandCheck(this,FileReader);return this[Q].load}set onload(A){B.brandCheck(this,FileReader);if(this[Q].load){this.removeEventListener("load",this[Q].load)}if(typeof A==="function"){this[Q].load=A;this.addEventListener("load",A)}else{this[Q].load=null}}get onabort(){B.brandCheck(this,FileReader);return this[Q].abort}set onabort(A){B.brandCheck(this,FileReader);if(this[Q].abort){this.removeEventListener("abort",this[Q].abort)}if(typeof A==="function"){this[Q].abort=A;this.addEventListener("abort",A)}else{this[Q].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:s,LOADING:s,DONE:s,readAsArrayBuffer:C,readAsBinaryString:C,readAsText:C,readAsDataURL:C,abort:C,readyState:C,result:C,error:C,onloadstart:C,onprogress:C,onload:C,onabort:C,onerror:C,onloadend:C,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:s,LOADING:s,DONE:s});A.exports={FileReader:FileReader}},1160:(A,e,t)=>{"use strict";const{webidl:s}=t(5756);const r=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(A,e={}){A=s.converters.DOMString(A);e=s.converters.ProgressEventInit(e??{});super(A,e);this[r]={lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total}}get lengthComputable(){s.brandCheck(this,ProgressEvent);return this[r].lengthComputable}get loaded(){s.brandCheck(this,ProgressEvent);return this[r].loaded}get total(){s.brandCheck(this,ProgressEvent);return this[r].total}}s.converters.ProgressEventInit=s.dictionaryConverter([{key:"lengthComputable",converter:s.converters.boolean,defaultValue:false},{key:"loaded",converter:s.converters["unsigned long long"],defaultValue:0},{key:"total",converter:s.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}]);A.exports={ProgressEvent:ProgressEvent}},7696:A=>{"use strict";A.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},5960:(A,e,t)=>{"use strict";const{kState:s,kError:r,kResult:o,kAborted:n,kLastProgressEventFired:i}=t(7696);const{ProgressEvent:E}=t(1160);const{getEncoding:Q}=t(7170);const{DOMException:g}=t(3193);const{serializeAMimeType:B,parseMIMEType:C}=t(9051);const{types:a}=t(3837);const{StringDecoder:I}=t(1576);const{btoa:c}=t(4300);const h={enumerable:true,writable:false,configurable:false};function readOperation(A,e,t,E){if(A[s]==="loading"){throw new g("Invalid state","InvalidStateError")}A[s]="loading";A[o]=null;A[r]=null;const Q=e.stream();const B=Q.getReader();const C=[];let I=B.read();let c=true;(async()=>{while(!A[n]){try{const{done:Q,value:g}=await I;if(c&&!A[n]){queueMicrotask((()=>{fireAProgressEvent("loadstart",A)}))}c=false;if(!Q&&a.isUint8Array(g)){C.push(g);if((A[i]===undefined||Date.now()-A[i]>=50)&&!A[n]){A[i]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",A)}))}I=B.read()}else if(Q){queueMicrotask((()=>{A[s]="done";try{const s=packageData(C,t,e.type,E);if(A[n]){return}A[o]=s;fireAProgressEvent("load",A)}catch(e){A[r]=e;fireAProgressEvent("error",A)}if(A[s]!=="loading"){fireAProgressEvent("loadend",A)}}));break}}catch(e){if(A[n]){return}queueMicrotask((()=>{A[s]="done";A[r]=e;fireAProgressEvent("error",A);if(A[s]!=="loading"){fireAProgressEvent("loadend",A)}}));break}}})()}function fireAProgressEvent(A,e){const t=new E(A,{bubbles:false,cancelable:false});e.dispatchEvent(t)}function packageData(A,e,t,s){switch(e){case"DataURL":{let e="data:";const s=C(t||"application/octet-stream");if(s!=="failure"){e+=B(s)}e+=";base64,";const r=new I("latin1");for(const t of A){e+=c(r.write(t))}e+=c(r.end());return e}case"Text":{let e="failure";if(s){e=Q(s)}if(e==="failure"&&t){const A=C(t);if(A!=="failure"){e=Q(A.parameters.get("charset"))}}if(e==="failure"){e="UTF-8"}return decode(A,e)}case"ArrayBuffer":{const e=combineByteSequences(A);return e.buffer}case"BinaryString":{let e="";const t=new I("latin1");for(const s of A){e+=t.write(s)}e+=t.end();return e}}}function decode(A,e){const t=combineByteSequences(A);const s=BOMSniffing(t);let r=0;if(s!==null){e=s;r=s==="UTF-8"?3:2}const o=t.slice(r);return new TextDecoder(e).decode(o)}function BOMSniffing(A){const[e,t,s]=A;if(e===239&&t===187&&s===191){return"UTF-8"}else if(e===254&&t===255){return"UTF-16BE"}else if(e===255&&t===254){return"UTF-16LE"}return null}function combineByteSequences(A){const e=A.reduce(((A,e)=>A+e.byteLength),0);let t=0;return A.reduce(((A,e)=>{A.set(e,t);t+=e.byteLength;return A}),new Uint8Array(e))}A.exports={staticPropertyDescriptors:h,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},366:(A,e,t)=>{"use strict";const s=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:r}=t(7528);const o=t(6283);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new o)}function setGlobalDispatcher(A){if(!A||typeof A.dispatch!=="function"){throw new r("Argument agent must implement Agent")}Object.defineProperty(globalThis,s,{value:A,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[s]}A.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},9759:A=>{"use strict";A.exports=class DecoratorHandler{constructor(A){this.handler=A}onConnect(...A){return this.handler.onConnect(...A)}onError(...A){return this.handler.onError(...A)}onUpgrade(...A){return this.handler.onUpgrade(...A)}onHeaders(...A){return this.handler.onHeaders(...A)}onData(...A){return this.handler.onData(...A)}onComplete(...A){return this.handler.onComplete(...A)}onBodySent(...A){return this.handler.onBodySent(...A)}}},1964:(A,e,t)=>{"use strict";const s=t(7234);const{kBodyUsed:r}=t(6168);const o=t(9491);const{InvalidArgumentError:n}=t(7528);const i=t(2361);const E=[300,301,302,303,307,308];const Q=Symbol("body");class BodyAsyncIterable{constructor(A){this[Q]=A;this[r]=false}async*[Symbol.asyncIterator](){o(!this[r],"disturbed");this[r]=true;yield*this[Q]}}class RedirectHandler{constructor(A,e,t,E){if(e!=null&&(!Number.isInteger(e)||e<0)){throw new n("maxRedirections must be a positive number")}s.validateHandler(E,t.method,t.upgrade);this.dispatch=A;this.location=null;this.abort=null;this.opts={...t,maxRedirections:0};this.maxRedirections=e;this.handler=E;this.history=[];if(s.isStream(this.opts.body)){if(s.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){o(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[r]=false;i.prototype.on.call(this.opts.body,"data",(function(){this[r]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&s.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(A){this.abort=A;this.handler.onConnect(A,{history:this.history})}onUpgrade(A,e,t){this.handler.onUpgrade(A,e,t)}onError(A){this.handler.onError(A)}onHeaders(A,e,t,r){this.location=this.history.length>=this.maxRedirections||s.isDisturbed(this.opts.body)?null:parseLocation(A,e);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(A,e,t,r)}const{origin:o,pathname:n,search:i}=s.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const E=i?`${n}${i}`:n;this.opts.headers=cleanRequestHeaders(this.opts.headers,A===303,this.opts.origin!==o);this.opts.path=E;this.opts.origin=o;this.opts.maxRedirections=0;this.opts.query=null;if(A===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(A){if(this.location){}else{return this.handler.onData(A)}}onComplete(A){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(A)}}onBodySent(A){if(this.handler.onBodySent){this.handler.onBodySent(A)}}}function parseLocation(A,e){if(E.indexOf(A)===-1){return null}for(let A=0;A<e.length;A+=2){if(e[A].toString().toLowerCase()==="location"){return e[A+1]}}}function shouldRemoveHeader(A,e,t){return A.length===4&&A.toString().toLowerCase()==="host"||e&&A.toString().toLowerCase().indexOf("content-")===0||t&&A.length===13&&A.toString().toLowerCase()==="authorization"||t&&A.length===6&&A.toString().toLowerCase()==="cookie"}function cleanRequestHeaders(A,e,t){const s=[];if(Array.isArray(A)){for(let r=0;r<A.length;r+=2){if(!shouldRemoveHeader(A[r],e,t)){s.push(A[r],A[r+1])}}}else if(A&&typeof A==="object"){for(const r of Object.keys(A)){if(!shouldRemoveHeader(r,e,t)){s.push(r,A[r])}}}else{o(A==null,"headers must be an object or an array")}return s}A.exports=RedirectHandler},7100:(A,e,t)=>{"use strict";const s=t(1964);function createRedirectInterceptor({maxRedirections:A}){return e=>function Intercept(t,r){const{maxRedirections:o=A}=t;if(!o){return e(t,r)}const n=new s(e,o,t,r);t={...t,maxRedirections:0};return e(t,n)}}A.exports=createRedirectInterceptor},8031:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.SPECIAL_HEADERS=e.HEADER_STATE=e.MINOR=e.MAJOR=e.CONNECTION_TOKEN_CHARS=e.HEADER_CHARS=e.TOKEN=e.STRICT_TOKEN=e.HEX=e.URL_CHAR=e.STRICT_URL_CHAR=e.USERINFO_CHARS=e.MARK=e.ALPHANUM=e.NUM=e.HEX_MAP=e.NUM_MAP=e.ALPHA=e.FINISH=e.H_METHOD_MAP=e.METHOD_MAP=e.METHODS_RTSP=e.METHODS_ICE=e.METHODS_HTTP=e.METHODS=e.LENIENT_FLAGS=e.FLAGS=e.TYPE=e.ERROR=void 0;const s=t(2261);var r;(function(A){A[A["OK"]=0]="OK";A[A["INTERNAL"]=1]="INTERNAL";A[A["STRICT"]=2]="STRICT";A[A["LF_EXPECTED"]=3]="LF_EXPECTED";A[A["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";A[A["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";A[A["INVALID_METHOD"]=6]="INVALID_METHOD";A[A["INVALID_URL"]=7]="INVALID_URL";A[A["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";A[A["INVALID_VERSION"]=9]="INVALID_VERSION";A[A["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";A[A["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";A[A["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";A[A["INVALID_STATUS"]=13]="INVALID_STATUS";A[A["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";A[A["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";A[A["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";A[A["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";A[A["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";A[A["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";A[A["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";A[A["PAUSED"]=21]="PAUSED";A[A["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";A[A["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";A[A["USER"]=24]="USER"})(r=e.ERROR||(e.ERROR={}));var o;(function(A){A[A["BOTH"]=0]="BOTH";A[A["REQUEST"]=1]="REQUEST";A[A["RESPONSE"]=2]="RESPONSE"})(o=e.TYPE||(e.TYPE={}));var n;(function(A){A[A["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";A[A["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";A[A["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";A[A["CHUNKED"]=8]="CHUNKED";A[A["UPGRADE"]=16]="UPGRADE";A[A["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";A[A["SKIPBODY"]=64]="SKIPBODY";A[A["TRAILING"]=128]="TRAILING";A[A["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(n=e.FLAGS||(e.FLAGS={}));var i;(function(A){A[A["HEADERS"]=1]="HEADERS";A[A["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";A[A["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(i=e.LENIENT_FLAGS||(e.LENIENT_FLAGS={}));var E;(function(A){A[A["DELETE"]=0]="DELETE";A[A["GET"]=1]="GET";A[A["HEAD"]=2]="HEAD";A[A["POST"]=3]="POST";A[A["PUT"]=4]="PUT";A[A["CONNECT"]=5]="CONNECT";A[A["OPTIONS"]=6]="OPTIONS";A[A["TRACE"]=7]="TRACE";A[A["COPY"]=8]="COPY";A[A["LOCK"]=9]="LOCK";A[A["MKCOL"]=10]="MKCOL";A[A["MOVE"]=11]="MOVE";A[A["PROPFIND"]=12]="PROPFIND";A[A["PROPPATCH"]=13]="PROPPATCH";A[A["SEARCH"]=14]="SEARCH";A[A["UNLOCK"]=15]="UNLOCK";A[A["BIND"]=16]="BIND";A[A["REBIND"]=17]="REBIND";A[A["UNBIND"]=18]="UNBIND";A[A["ACL"]=19]="ACL";A[A["REPORT"]=20]="REPORT";A[A["MKACTIVITY"]=21]="MKACTIVITY";A[A["CHECKOUT"]=22]="CHECKOUT";A[A["MERGE"]=23]="MERGE";A[A["M-SEARCH"]=24]="M-SEARCH";A[A["NOTIFY"]=25]="NOTIFY";A[A["SUBSCRIBE"]=26]="SUBSCRIBE";A[A["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";A[A["PATCH"]=28]="PATCH";A[A["PURGE"]=29]="PURGE";A[A["MKCALENDAR"]=30]="MKCALENDAR";A[A["LINK"]=31]="LINK";A[A["UNLINK"]=32]="UNLINK";A[A["SOURCE"]=33]="SOURCE";A[A["PRI"]=34]="PRI";A[A["DESCRIBE"]=35]="DESCRIBE";A[A["ANNOUNCE"]=36]="ANNOUNCE";A[A["SETUP"]=37]="SETUP";A[A["PLAY"]=38]="PLAY";A[A["PAUSE"]=39]="PAUSE";A[A["TEARDOWN"]=40]="TEARDOWN";A[A["GET_PARAMETER"]=41]="GET_PARAMETER";A[A["SET_PARAMETER"]=42]="SET_PARAMETER";A[A["REDIRECT"]=43]="REDIRECT";A[A["RECORD"]=44]="RECORD";A[A["FLUSH"]=45]="FLUSH"})(E=e.METHODS||(e.METHODS={}));e.METHODS_HTTP=[E.DELETE,E.GET,E.HEAD,E.POST,E.PUT,E.CONNECT,E.OPTIONS,E.TRACE,E.COPY,E.LOCK,E.MKCOL,E.MOVE,E.PROPFIND,E.PROPPATCH,E.SEARCH,E.UNLOCK,E.BIND,E.REBIND,E.UNBIND,E.ACL,E.REPORT,E.MKACTIVITY,E.CHECKOUT,E.MERGE,E["M-SEARCH"],E.NOTIFY,E.SUBSCRIBE,E.UNSUBSCRIBE,E.PATCH,E.PURGE,E.MKCALENDAR,E.LINK,E.UNLINK,E.PRI,E.SOURCE];e.METHODS_ICE=[E.SOURCE];e.METHODS_RTSP=[E.OPTIONS,E.DESCRIBE,E.ANNOUNCE,E.SETUP,E.PLAY,E.PAUSE,E.TEARDOWN,E.GET_PARAMETER,E.SET_PARAMETER,E.REDIRECT,E.RECORD,E.FLUSH,E.GET,E.POST];e.METHOD_MAP=s.enumToMap(E);e.H_METHOD_MAP={};Object.keys(e.METHOD_MAP).forEach((A=>{if(/^H/.test(A)){e.H_METHOD_MAP[A]=e.METHOD_MAP[A]}}));var Q;(function(A){A[A["SAFE"]=0]="SAFE";A[A["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";A[A["UNSAFE"]=2]="UNSAFE"})(Q=e.FINISH||(e.FINISH={}));e.ALPHA=[];for(let A="A".charCodeAt(0);A<="Z".charCodeAt(0);A++){e.ALPHA.push(String.fromCharCode(A));e.ALPHA.push(String.fromCharCode(A+32))}e.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};e.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};e.NUM=["0","1","2","3","4","5","6","7","8","9"];e.ALPHANUM=e.ALPHA.concat(e.NUM);e.MARK=["-","_",".","!","~","*","'","(",")"];e.USERINFO_CHARS=e.ALPHANUM.concat(e.MARK).concat(["%",";",":","&","=","+","$",","]);e.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(e.ALPHANUM);e.URL_CHAR=e.STRICT_URL_CHAR.concat(["\t","\f"]);for(let A=128;A<=255;A++){e.URL_CHAR.push(A)}e.HEX=e.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);e.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(e.ALPHANUM);e.TOKEN=e.STRICT_TOKEN.concat([" "]);e.HEADER_CHARS=["\t"];for(let A=32;A<=255;A++){if(A!==127){e.HEADER_CHARS.push(A)}}e.CONNECTION_TOKEN_CHARS=e.HEADER_CHARS.filter((A=>A!==44));e.MAJOR=e.NUM_MAP;e.MINOR=e.MAJOR;var g;(function(A){A[A["GENERAL"]=0]="GENERAL";A[A["CONNECTION"]=1]="CONNECTION";A[A["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";A[A["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";A[A["UPGRADE"]=4]="UPGRADE";A[A["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";A[A["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";A[A["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";A[A["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(g=e.HEADER_STATE||(e.HEADER_STATE={}));e.SPECIAL_HEADERS={connection:g.CONNECTION,"content-length":g.CONTENT_LENGTH,"proxy-connection":g.CONNECTION,"transfer-encoding":g.TRANSFER_ENCODING,upgrade:g.UPGRADE}},210:A=>{A.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJsbGh0dHBfc3RhdHVzX25hbWUAIRpsbGh0dHBfc2V0X2xlbmllbnRfaGVhZGVycwAiIWxsaHR0cF9zZXRfbGVuaWVudF9jaHVua2VkX2xlbmd0aAAjHWxsaHR0cF9zZXRfbGVuaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0Hhp4CAAA8LQaShgIAADwtBy6yAgAAPC0H+sYCAAA8LQcCkgIAADwtBq6SAgAAPC0GNqICAAA8LQeKmgIAADwtBgLCAgAAPC0G5r4CAAA8LQdekgIAADwtB75+AgAAPC0Hhn4CAAA8LQfqfgIAADwtB8qCAgAAPC0Gor4CAAA8LQa6ygIAADwtBiLCAgAAPC0Hsp4CAAA8LQYKigIAADwtBjp2AgAAPC0HQroCAAA8LQcqjgIAADwtBxbKAgAAPC0HfnICAAA8LQdKcgIAADwtBxKCAgAAPC0HXoICAAA8LQaKfgIAADwtB7a6AgAAPC0GrsICAAA8LQdSlgIAADwtBzK6AgAAPC0H6roCAAA8LQfyrgIAADwtB0rCAgAAPC0HxnYCAAA8LQbuggIAADwtB96uAgAAPC0GQsYCAAA8LQdexgIAADwtBoq2AgAAPC0HUp4CAAA8LQeCrgIAADwtBn6yAgAAPC0HrsYCAAA8LQdWfgIAADwtByrGAgAAPC0HepYCAAA8LQdSegIAADwtB9JyAgAAPC0GnsoCAAA8LQbGdgIAADwtBoJ2AgAAPC0G5sYCAAA8LQbywgIAADwtBkqGAgAAPC0GzpoCAAA8LQemsgIAADwtBrJ6AgAAPC0HUq4CAAA8LQfemgIAADwtBgKaAgAAPC0GwoYCAAA8LQf6egIAADwtBjaOAgAAPC0GJrYCAAA8LQfeigIAADwtBoLGAgAAPC0Gun4CAAA8LQcalgIAADwtB6J6AgAAPC0GTooCAAA8LQcKvgIAADwtBw52AgAAPC0GLrICAAA8LQeGdgIAADwtBja+AgAAPC0HqoYCAAA8LQbStgIAADwtB0q+AgAAPC0HfsoCAAA8LQdKygIAADwtB8LCAgAAPC0GpooCAAA8LQfmjgIAADwtBmZ6AgAAPC0G1rICAAA8LQZuwgIAADwtBkrKAgAAPC0G2q4CAAA8LQcKigIAADwtB+LKAgAAPC0GepYCAAA8LQdCigIAADwtBup6AgAAPC0GBnoCAAA8LEMqAgIAAAAtB1qGAgAAhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAgAiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCBCIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQcaRgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIwIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAggiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2ioCAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCNCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIMIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZqAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAjgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCECIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZWQgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAI8IgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAhQiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEGqm4CAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCQCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIYIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZOAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCJCIERQ0AIAAgBBGAgICAAAAhAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIsIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAigiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2iICAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCUCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIcIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABBwpmAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCICIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZSUgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAJMIgRFDQAgACAEEYCAgIAAACEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAlQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCWCIERQ0AIAAgBBGAgICAAAAhAwsgAwtFAQF/AkACQCAALwEwQRRxQRRHDQBBASEDIAAtAChBAUYNASAALwEyQeUARiEDDAELIAAtAClBBUYhAwsgACADOgAuQQAL/gEBA39BASEDAkAgAC8BMCIEQQhxDQAgACkDIEIAUiEDCwJAAkAgAC0ALkUNAEEBIQUgAC0AKUEFRg0BQQEhBSAEQcAAcUUgA3FBAUcNAQtBACEFIARBwABxDQBBAiEFIARB//8DcSIDQQhxDQACQCADQYAEcUUNAAJAIAAtAChBAUcNACAALQAtQQpxDQBBBQ8LQQQPCwJAIANBIHENAAJAIAAtAChBAUYNACAALwEyQf//A3EiAEGcf2pB5ABJDQAgAEHMAUYNACAAQbACRg0AQQQhBSAEQShxRQ0CIANBiARxQYAERg0CC0EADwtBAEEDIAApAyBQGyEFCyAFC2IBAn9BACEBAkAgAC0AKEEBRg0AIAAvATJB//8DcSICQZx/akHkAEkNACACQcwBRg0AIAJBsAJGDQAgAC8BMCIAQcAAcQ0AQQEhASAAQYgEcUGABEYNACAAQShxRSEBCyABC6cBAQN/AkACQAJAIAAtACpFDQAgAC0AK0UNAEEAIQMgAC8BMCIEQQJxRQ0BDAILQQAhAyAALwEwIgRBAXFFDQELQQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAdABLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVG2wFHSElKzwHOAUvNAUzMAU1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4ABgQGCAYMBhAGFAYYBhwGIAYkBigGLAYwBjQGOAY8BkAGRAZIBkwGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAbABsQGyAbMBtAG1AbYBtwHLAcoBuAHJAbkByAG6AbsBvAG9Ab4BvwHAAcEBwgHDAcQBxQHGAQDcAQtBACEQDMYBC0EOIRAMxQELQQ0hEAzEAQtBDyEQDMMBC0EQIRAMwgELQRMhEAzBAQtBFCEQDMABC0EVIRAMvwELQRYhEAy+AQtBFyEQDL0BC0EYIRAMvAELQRkhEAy7AQtBGiEQDLoBC0EbIRAMuQELQRwhEAy4AQtBCCEQDLcBC0EdIRAMtgELQSAhEAy1AQtBHyEQDLQBC0EHIRAMswELQSEhEAyyAQtBIiEQDLEBC0EeIRAMsAELQSMhEAyvAQtBEiEQDK4BC0ERIRAMrQELQSQhEAysAQtBJSEQDKsBC0EmIRAMqgELQSchEAypAQtBwwEhEAyoAQtBKSEQDKcBC0ErIRAMpgELQSwhEAylAQtBLSEQDKQBC0EuIRAMowELQS8hEAyiAQtBxAEhEAyhAQtBMCEQDKABC0E0IRAMnwELQQwhEAyeAQtBMSEQDJ0BC0EyIRAMnAELQTMhEAybAQtBOSEQDJoBC0E1IRAMmQELQcUBIRAMmAELQQshEAyXAQtBOiEQDJYBC0E2IRAMlQELQQohEAyUAQtBNyEQDJMBC0E4IRAMkgELQTwhEAyRAQtBOyEQDJABC0E9IRAMjwELQQkhEAyOAQtBKCEQDI0BC0E+IRAMjAELQT8hEAyLAQtBwAAhEAyKAQtBwQAhEAyJAQtBwgAhEAyIAQtBwwAhEAyHAQtBxAAhEAyGAQtBxQAhEAyFAQtBxgAhEAyEAQtBKiEQDIMBC0HHACEQDIIBC0HIACEQDIEBC0HJACEQDIABC0HKACEQDH8LQcsAIRAMfgtBzQAhEAx9C0HMACEQDHwLQc4AIRAMewtBzwAhEAx6C0HQACEQDHkLQdEAIRAMeAtB0gAhEAx3C0HTACEQDHYLQdQAIRAMdQtB1gAhEAx0C0HVACEQDHMLQQYhEAxyC0HXACEQDHELQQUhEAxwC0HYACEQDG8LQQQhEAxuC0HZACEQDG0LQdoAIRAMbAtB2wAhEAxrC0HcACEQDGoLQQMhEAxpC0HdACEQDGgLQd4AIRAMZwtB3wAhEAxmC0HhACEQDGULQeAAIRAMZAtB4gAhEAxjC0HjACEQDGILQQIhEAxhC0HkACEQDGALQeUAIRAMXwtB5gAhEAxeC0HnACEQDF0LQegAIRAMXAtB6QAhEAxbC0HqACEQDFoLQesAIRAMWQtB7AAhEAxYC0HtACEQDFcLQe4AIRAMVgtB7wAhEAxVC0HwACEQDFQLQfEAIRAMUwtB8gAhEAxSC0HzACEQDFELQfQAIRAMUAtB9QAhEAxPC0H2ACEQDE4LQfcAIRAMTQtB+AAhEAxMC0H5ACEQDEsLQfoAIRAMSgtB+wAhEAxJC0H8ACEQDEgLQf0AIRAMRwtB/gAhEAxGC0H/ACEQDEULQYABIRAMRAtBgQEhEAxDC0GCASEQDEILQYMBIRAMQQtBhAEhEAxAC0GFASEQDD8LQYYBIRAMPgtBhwEhEAw9C0GIASEQDDwLQYkBIRAMOwtBigEhEAw6C0GLASEQDDkLQYwBIRAMOAtBjQEhEAw3C0GOASEQDDYLQY8BIRAMNQtBkAEhEAw0C0GRASEQDDMLQZIBIRAMMgtBkwEhEAwxC0GUASEQDDALQZUBIRAMLwtBlgEhEAwuC0GXASEQDC0LQZgBIRAMLAtBmQEhEAwrC0GaASEQDCoLQZsBIRAMKQtBnAEhEAwoC0GdASEQDCcLQZ4BIRAMJgtBnwEhEAwlC0GgASEQDCQLQaEBIRAMIwtBogEhEAwiC0GjASEQDCELQaQBIRAMIAtBpQEhEAwfC0GmASEQDB4LQacBIRAMHQtBqAEhEAwcC0GpASEQDBsLQaoBIRAMGgtBqwEhEAwZC0GsASEQDBgLQa0BIRAMFwtBrgEhEAwWC0EBIRAMFQtBrwEhEAwUC0GwASEQDBMLQbEBIRAMEgtBswEhEAwRC0GyASEQDBALQbQBIRAMDwtBtQEhEAwOC0G2ASEQDA0LQbcBIRAMDAtBuAEhEAwLC0G5ASEQDAoLQboBIRAMCQtBuwEhEAwIC0HGASEQDAcLQbwBIRAMBgtBvQEhEAwFC0G+ASEQDAQLQb8BIRAMAwtBwAEhEAwCC0HCASEQDAELQcEBIRALA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB1gHXAdgB2QHaAdsB3AHdAd4B4AHhAeIB4wHkAeUB5gHnAegB6QHqAesB7AHtAe4B7wHwAfEB8gHzAZkCpAKwAv4C/gILIAEiBCACRw3zAUHdASEQDP8DCyABIhAgAkcN3QFBwwEhEAz+AwsgASIBIAJHDZABQfcAIRAM/QMLIAEiASACRw2GAUHvACEQDPwDCyABIgEgAkcNf0HqACEQDPsDCyABIgEgAkcNe0HoACEQDPoDCyABIgEgAkcNeEHmACEQDPkDCyABIgEgAkcNGkEYIRAM+AMLIAEiASACRw0UQRIhEAz3AwsgASIBIAJHDVlBxQAhEAz2AwsgASIBIAJHDUpBPyEQDPUDCyABIgEgAkcNSEE8IRAM9AMLIAEiASACRw1BQTEhEAzzAwsgAC0ALkEBRg3rAwyHAgsgACABIgEgAhDAgICAAEEBRw3mASAAQgA3AyAM5wELIAAgASIBIAIQtICAgAAiEA3nASABIQEM9QILAkAgASIBIAJHDQBBBiEQDPADCyAAIAFBAWoiASACELuAgIAAIhAN6AEgASEBDDELIABCADcDIEESIRAM1QMLIAEiECACRw0rQR0hEAztAwsCQCABIgEgAkYNACABQQFqIQFBECEQDNQDC0EHIRAM7AMLIABCACAAKQMgIhEgAiABIhBrrSISfSITIBMgEVYbNwMgIBEgElYiFEUN5QFBCCEQDOsDCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEUIRAM0gMLQQkhEAzqAwsgASEBIAApAyBQDeQBIAEhAQzyAgsCQCABIgEgAkcNAEELIRAM6QMLIAAgAUEBaiIBIAIQtoCAgAAiEA3lASABIQEM8gILIAAgASIBIAIQuICAgAAiEA3lASABIQEM8gILIAAgASIBIAIQuICAgAAiEA3mASABIQEMDQsgACABIgEgAhC6gICAACIQDecBIAEhAQzwAgsCQCABIgEgAkcNAEEPIRAM5QMLIAEtAAAiEEE7Rg0IIBBBDUcN6AEgAUEBaiEBDO8CCyAAIAEiASACELqAgIAAIhAN6AEgASEBDPICCwNAAkAgAS0AAEHwtYCAAGotAAAiEEEBRg0AIBBBAkcN6wEgACgCBCEQIABBADYCBCAAIBAgAUEBaiIBELmAgIAAIhAN6gEgASEBDPQCCyABQQFqIgEgAkcNAAtBEiEQDOIDCyAAIAEiASACELqAgIAAIhAN6QEgASEBDAoLIAEiASACRw0GQRshEAzgAwsCQCABIgEgAkcNAEEWIRAM4AMLIABBioCAgAA2AgggACABNgIEIAAgASACELiAgIAAIhAN6gEgASEBQSAhEAzGAwsCQCABIgEgAkYNAANAAkAgAS0AAEHwt4CAAGotAAAiEEECRg0AAkAgEEF/ag4E5QHsAQDrAewBCyABQQFqIQFBCCEQDMgDCyABQQFqIgEgAkcNAAtBFSEQDN8DC0EVIRAM3gMLA0ACQCABLQAAQfC5gIAAai0AACIQQQJGDQAgEEF/ag4E3gHsAeAB6wHsAQsgAUEBaiIBIAJHDQALQRghEAzdAwsCQCABIgEgAkYNACAAQYuAgIAANgIIIAAgATYCBCABIQFBByEQDMQDC0EZIRAM3AMLIAFBAWohAQwCCwJAIAEiFCACRw0AQRohEAzbAwsgFCEBAkAgFC0AAEFzag4U3QLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gIA7gILQQAhECAAQQA2AhwgAEGvi4CAADYCECAAQQI2AgwgACAUQQFqNgIUDNoDCwJAIAEtAAAiEEE7Rg0AIBBBDUcN6AEgAUEBaiEBDOUCCyABQQFqIQELQSIhEAy/AwsCQCABIhAgAkcNAEEcIRAM2AMLQgAhESAQIQEgEC0AAEFQag435wHmAQECAwQFBgcIAAAAAAAAAAkKCwwNDgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADxAREhMUAAtBHiEQDL0DC0ICIREM5QELQgMhEQzkAQtCBCERDOMBC0IFIREM4gELQgYhEQzhAQtCByERDOABC0IIIREM3wELQgkhEQzeAQtCCiERDN0BC0ILIREM3AELQgwhEQzbAQtCDSERDNoBC0IOIREM2QELQg8hEQzYAQtCCiERDNcBC0ILIREM1gELQgwhEQzVAQtCDSERDNQBC0IOIREM0wELQg8hEQzSAQtCACERAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQLQAAQVBqDjflAeQBAAECAwQFBgfmAeYB5gHmAeYB5gHmAQgJCgsMDeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gEODxAREhPmAQtCAiERDOQBC0IDIREM4wELQgQhEQziAQtCBSERDOEBC0IGIREM4AELQgchEQzfAQtCCCERDN4BC0IJIREM3QELQgohEQzcAQtCCyERDNsBC0IMIREM2gELQg0hEQzZAQtCDiERDNgBC0IPIREM1wELQgohEQzWAQtCCyERDNUBC0IMIREM1AELQg0hEQzTAQtCDiERDNIBC0IPIREM0QELIABCACAAKQMgIhEgAiABIhBrrSISfSITIBMgEVYbNwMgIBEgElYiFEUN0gFBHyEQDMADCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEkIRAMpwMLQSAhEAy/AwsgACABIhAgAhC+gICAAEF/ag4FtgEAxQIB0QHSAQtBESEQDKQDCyAAQQE6AC8gECEBDLsDCyABIgEgAkcN0gFBJCEQDLsDCyABIg0gAkcNHkHGACEQDLoDCyAAIAEiASACELKAgIAAIhAN1AEgASEBDLUBCyABIhAgAkcNJkHQACEQDLgDCwJAIAEiASACRw0AQSghEAy4AwsgAEEANgIEIABBjICAgAA2AgggACABIAEQsYCAgAAiEA3TASABIQEM2AELAkAgASIQIAJHDQBBKSEQDLcDCyAQLQAAIgFBIEYNFCABQQlHDdMBIBBBAWohAQwVCwJAIAEiASACRg0AIAFBAWohAQwXC0EqIRAMtQMLAkAgASIQIAJHDQBBKyEQDLUDCwJAIBAtAAAiAUEJRg0AIAFBIEcN1QELIAAtACxBCEYN0wEgECEBDJEDCwJAIAEiASACRw0AQSwhEAy0AwsgAS0AAEEKRw3VASABQQFqIQEMyQILIAEiDiACRw3VAUEvIRAMsgMLA0ACQCABLQAAIhBBIEYNAAJAIBBBdmoOBADcAdwBANoBCyABIQEM4AELIAFBAWoiASACRw0AC0ExIRAMsQMLQTIhECABIhQgAkYNsAMgAiAUayAAKAIAIgFqIRUgFCABa0EDaiEWAkADQCAULQAAIhdBIHIgFyAXQb9/akH/AXFBGkkbQf8BcSABQfC7gIAAai0AAEcNAQJAIAFBA0cNAEEGIQEMlgMLIAFBAWohASAUQQFqIhQgAkcNAAsgACAVNgIADLEDCyAAQQA2AgAgFCEBDNkBC0EzIRAgASIUIAJGDa8DIAIgFGsgACgCACIBaiEVIBQgAWtBCGohFgJAA0AgFC0AACIXQSByIBcgF0G/f2pB/wFxQRpJG0H/AXEgAUH0u4CAAGotAABHDQECQCABQQhHDQBBBSEBDJUDCyABQQFqIQEgFEEBaiIUIAJHDQALIAAgFTYCAAywAwsgAEEANgIAIBQhAQzYAQtBNCEQIAEiFCACRg2uAyACIBRrIAAoAgAiAWohFSAUIAFrQQVqIRYCQANAIBQtAAAiF0EgciAXIBdBv39qQf8BcUEaSRtB/wFxIAFB0MKAgABqLQAARw0BAkAgAUEFRw0AQQchAQyUAwsgAUEBaiEBIBRBAWoiFCACRw0ACyAAIBU2AgAMrwMLIABBADYCACAUIQEM1wELAkAgASIBIAJGDQADQAJAIAEtAABBgL6AgABqLQAAIhBBAUYNACAQQQJGDQogASEBDN0BCyABQQFqIgEgAkcNAAtBMCEQDK4DC0EwIRAMrQMLAkAgASIBIAJGDQADQAJAIAEtAAAiEEEgRg0AIBBBdmoOBNkB2gHaAdkB2gELIAFBAWoiASACRw0AC0E4IRAMrQMLQTghEAysAwsDQAJAIAEtAAAiEEEgRg0AIBBBCUcNAwsgAUEBaiIBIAJHDQALQTwhEAyrAwsDQAJAIAEtAAAiEEEgRg0AAkACQCAQQXZqDgTaAQEB2gEACyAQQSxGDdsBCyABIQEMBAsgAUEBaiIBIAJHDQALQT8hEAyqAwsgASEBDNsBC0HAACEQIAEiFCACRg2oAyACIBRrIAAoAgAiAWohFiAUIAFrQQZqIRcCQANAIBQtAABBIHIgAUGAwICAAGotAABHDQEgAUEGRg2OAyABQQFqIQEgFEEBaiIUIAJHDQALIAAgFjYCAAypAwsgAEEANgIAIBQhAQtBNiEQDI4DCwJAIAEiDyACRw0AQcEAIRAMpwMLIABBjICAgAA2AgggACAPNgIEIA8hASAALQAsQX9qDgTNAdUB1wHZAYcDCyABQQFqIQEMzAELAkAgASIBIAJGDQADQAJAIAEtAAAiEEEgciAQIBBBv39qQf8BcUEaSRtB/wFxIhBBCUYNACAQQSBGDQACQAJAAkACQCAQQZ1/ag4TAAMDAwMDAwMBAwMDAwMDAwMDAgMLIAFBAWohAUExIRAMkQMLIAFBAWohAUEyIRAMkAMLIAFBAWohAUEzIRAMjwMLIAEhAQzQAQsgAUEBaiIBIAJHDQALQTUhEAylAwtBNSEQDKQDCwJAIAEiASACRg0AA0ACQCABLQAAQYC8gIAAai0AAEEBRg0AIAEhAQzTAQsgAUEBaiIBIAJHDQALQT0hEAykAwtBPSEQDKMDCyAAIAEiASACELCAgIAAIhAN1gEgASEBDAELIBBBAWohAQtBPCEQDIcDCwJAIAEiASACRw0AQcIAIRAMoAMLAkADQAJAIAEtAABBd2oOGAAC/gL+AoQD/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4CAP4CCyABQQFqIgEgAkcNAAtBwgAhEAygAwsgAUEBaiEBIAAtAC1BAXFFDb0BIAEhAQtBLCEQDIUDCyABIgEgAkcN0wFBxAAhEAydAwsDQAJAIAEtAABBkMCAgABqLQAAQQFGDQAgASEBDLcCCyABQQFqIgEgAkcNAAtBxQAhEAycAwsgDS0AACIQQSBGDbMBIBBBOkcNgQMgACgCBCEBIABBADYCBCAAIAEgDRCvgICAACIBDdABIA1BAWohAQyzAgtBxwAhECABIg0gAkYNmgMgAiANayAAKAIAIgFqIRYgDSABa0EFaiEXA0AgDS0AACIUQSByIBQgFEG/f2pB/wFxQRpJG0H/AXEgAUGQwoCAAGotAABHDYADIAFBBUYN9AIgAUEBaiEBIA1BAWoiDSACRw0ACyAAIBY2AgAMmgMLQcgAIRAgASINIAJGDZkDIAIgDWsgACgCACIBaiEWIA0gAWtBCWohFwNAIA0tAAAiFEEgciAUIBRBv39qQf8BcUEaSRtB/wFxIAFBlsKAgABqLQAARw3/AgJAIAFBCUcNAEECIQEM9QILIAFBAWohASANQQFqIg0gAkcNAAsgACAWNgIADJkDCwJAIAEiDSACRw0AQckAIRAMmQMLAkACQCANLQAAIgFBIHIgASABQb9/akH/AXFBGkkbQf8BcUGSf2oOBwCAA4ADgAOAA4ADAYADCyANQQFqIQFBPiEQDIADCyANQQFqIQFBPyEQDP8CC0HKACEQIAEiDSACRg2XAyACIA1rIAAoAgAiAWohFiANIAFrQQFqIRcDQCANLQAAIhRBIHIgFCAUQb9/akH/AXFBGkkbQf8BcSABQaDCgIAAai0AAEcN/QIgAUEBRg3wAiABQQFqIQEgDUEBaiINIAJHDQALIAAgFjYCAAyXAwtBywAhECABIg0gAkYNlgMgAiANayAAKAIAIgFqIRYgDSABa0EOaiEXA0AgDS0AACIUQSByIBQgFEG/f2pB/wFxQRpJG0H/AXEgAUGiwoCAAGotAABHDfwCIAFBDkYN8AIgAUEBaiEBIA1BAWoiDSACRw0ACyAAIBY2AgAMlgMLQcwAIRAgASINIAJGDZUDIAIgDWsgACgCACIBaiEWIA0gAWtBD2ohFwNAIA0tAAAiFEEgciAUIBRBv39qQf8BcUEaSRtB/wFxIAFBwMKAgABqLQAARw37AgJAIAFBD0cNAEEDIQEM8QILIAFBAWohASANQQFqIg0gAkcNAAsgACAWNgIADJUDC0HNACEQIAEiDSACRg2UAyACIA1rIAAoAgAiAWohFiANIAFrQQVqIRcDQCANLQAAIhRBIHIgFCAUQb9/akH/AXFBGkkbQf8BcSABQdDCgIAAai0AAEcN+gICQCABQQVHDQBBBCEBDPACCyABQQFqIQEgDUEBaiINIAJHDQALIAAgFjYCAAyUAwsCQCABIg0gAkcNAEHOACEQDJQDCwJAAkACQAJAIA0tAAAiAUEgciABIAFBv39qQf8BcUEaSRtB/wFxQZ1/ag4TAP0C/QL9Av0C/QL9Av0C/QL9Av0C/QL9AgH9Av0C/QICA/0CCyANQQFqIQFBwQAhEAz9AgsgDUEBaiEBQcIAIRAM/AILIA1BAWohAUHDACEQDPsCCyANQQFqIQFBxAAhEAz6AgsCQCABIgEgAkYNACAAQY2AgIAANgIIIAAgATYCBCABIQFBxQAhEAz6AgtBzwAhEAySAwsgECEBAkACQCAQLQAAQXZqDgQBqAKoAgCoAgsgEEEBaiEBC0EnIRAM+AILAkAgASIBIAJHDQBB0QAhEAyRAwsCQCABLQAAQSBGDQAgASEBDI0BCyABQQFqIQEgAC0ALUEBcUUNxwEgASEBDIwBCyABIhcgAkcNyAFB0gAhEAyPAwtB0wAhECABIhQgAkYNjgMgAiAUayAAKAIAIgFqIRYgFCABa0EBaiEXA0AgFC0AACABQdbCgIAAai0AAEcNzAEgAUEBRg3HASABQQFqIQEgFEEBaiIUIAJHDQALIAAgFjYCAAyOAwsCQCABIgEgAkcNAEHVACEQDI4DCyABLQAAQQpHDcwBIAFBAWohAQzHAQsCQCABIgEgAkcNAEHWACEQDI0DCwJAAkAgAS0AAEF2ag4EAM0BzQEBzQELIAFBAWohAQzHAQsgAUEBaiEBQcoAIRAM8wILIAAgASIBIAIQroCAgAAiEA3LASABIQFBzQAhEAzyAgsgAC0AKUEiRg2FAwymAgsCQCABIgEgAkcNAEHbACEQDIoDC0EAIRRBASEXQQEhFkEAIRACQAJAAkACQAJAAkACQAJAAkAgAS0AAEFQag4K1AHTAQABAgMEBQYI1QELQQIhEAwGC0EDIRAMBQtBBCEQDAQLQQUhEAwDC0EGIRAMAgtBByEQDAELQQghEAtBACEXQQAhFkEAIRQMzAELQQkhEEEBIRRBACEXQQAhFgzLAQsCQCABIgEgAkcNAEHdACEQDIkDCyABLQAAQS5HDcwBIAFBAWohAQymAgsgASIBIAJHDcwBQd8AIRAMhwMLAkAgASIBIAJGDQAgAEGOgICAADYCCCAAIAE2AgQgASEBQdAAIRAM7gILQeAAIRAMhgMLQeEAIRAgASIBIAJGDYUDIAIgAWsgACgCACIUaiEWIAEgFGtBA2ohFwNAIAEtAAAgFEHiwoCAAGotAABHDc0BIBRBA0YNzAEgFEEBaiEUIAFBAWoiASACRw0ACyAAIBY2AgAMhQMLQeIAIRAgASIBIAJGDYQDIAIgAWsgACgCACIUaiEWIAEgFGtBAmohFwNAIAEtAAAgFEHmwoCAAGotAABHDcwBIBRBAkYNzgEgFEEBaiEUIAFBAWoiASACRw0ACyAAIBY2AgAMhAMLQeMAIRAgASIBIAJGDYMDIAIgAWsgACgCACIUaiEWIAEgFGtBA2ohFwNAIAEtAAAgFEHpwoCAAGotAABHDcsBIBRBA0YNzgEgFEEBaiEUIAFBAWoiASACRw0ACyAAIBY2AgAMgwMLAkAgASIBIAJHDQBB5QAhEAyDAwsgACABQQFqIgEgAhCogICAACIQDc0BIAEhAUHWACEQDOkCCwJAIAEiASACRg0AA0ACQCABLQAAIhBBIEYNAAJAAkACQCAQQbh/ag4LAAHPAc8BzwHPAc8BzwHPAc8BAs8BCyABQQFqIQFB0gAhEAztAgsgAUEBaiEBQdMAIRAM7AILIAFBAWohAUHUACEQDOsCCyABQQFqIgEgAkcNAAtB5AAhEAyCAwtB5AAhEAyBAwsDQAJAIAEtAABB8MKAgABqLQAAIhBBAUYNACAQQX5qDgPPAdAB0QHSAQsgAUEBaiIBIAJHDQALQeYAIRAMgAMLAkAgASIBIAJGDQAgAUEBaiEBDAMLQecAIRAM/wILA0ACQCABLQAAQfDEgIAAai0AACIQQQFGDQACQCAQQX5qDgTSAdMB1AEA1QELIAEhAUHXACEQDOcCCyABQQFqIgEgAkcNAAtB6AAhEAz+AgsCQCABIgEgAkcNAEHpACEQDP4CCwJAIAEtAAAiEEF2ag4augHVAdUBvAHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHKAdUB1QEA0wELIAFBAWohAQtBBiEQDOMCCwNAAkAgAS0AAEHwxoCAAGotAABBAUYNACABIQEMngILIAFBAWoiASACRw0AC0HqACEQDPsCCwJAIAEiASACRg0AIAFBAWohAQwDC0HrACEQDPoCCwJAIAEiASACRw0AQewAIRAM+gILIAFBAWohAQwBCwJAIAEiASACRw0AQe0AIRAM+QILIAFBAWohAQtBBCEQDN4CCwJAIAEiFCACRw0AQe4AIRAM9wILIBQhAQJAAkACQCAULQAAQfDIgIAAai0AAEF/ag4H1AHVAdYBAJwCAQLXAQsgFEEBaiEBDAoLIBRBAWohAQzNAQtBACEQIABBADYCHCAAQZuSgIAANgIQIABBBzYCDCAAIBRBAWo2AhQM9gILAkADQAJAIAEtAABB8MiAgABqLQAAIhBBBEYNAAJAAkAgEEF/ag4H0gHTAdQB2QEABAHZAQsgASEBQdoAIRAM4AILIAFBAWohAUHcACEQDN8CCyABQQFqIgEgAkcNAAtB7wAhEAz2AgsgAUEBaiEBDMsBCwJAIAEiFCACRw0AQfAAIRAM9QILIBQtAABBL0cN1AEgFEEBaiEBDAYLAkAgASIUIAJHDQBB8QAhEAz0AgsCQCAULQAAIgFBL0cNACAUQQFqIQFB3QAhEAzbAgsgAUF2aiIEQRZLDdMBQQEgBHRBiYCAAnFFDdMBDMoCCwJAIAEiASACRg0AIAFBAWohAUHeACEQDNoCC0HyACEQDPICCwJAIAEiFCACRw0AQfQAIRAM8gILIBQhAQJAIBQtAABB8MyAgABqLQAAQX9qDgPJApQCANQBC0HhACEQDNgCCwJAIAEiFCACRg0AA0ACQCAULQAAQfDKgIAAai0AACIBQQNGDQACQCABQX9qDgLLAgDVAQsgFCEBQd8AIRAM2gILIBRBAWoiFCACRw0AC0HzACEQDPECC0HzACEQDPACCwJAIAEiASACRg0AIABBj4CAgAA2AgggACABNgIEIAEhAUHgACEQDNcCC0H1ACEQDO8CCwJAIAEiASACRw0AQfYAIRAM7wILIABBj4CAgAA2AgggACABNgIEIAEhAQtBAyEQDNQCCwNAIAEtAABBIEcNwwIgAUEBaiIBIAJHDQALQfcAIRAM7AILAkAgASIBIAJHDQBB+AAhEAzsAgsgAS0AAEEgRw3OASABQQFqIQEM7wELIAAgASIBIAIQrICAgAAiEA3OASABIQEMjgILAkAgASIEIAJHDQBB+gAhEAzqAgsgBC0AAEHMAEcN0QEgBEEBaiEBQRMhEAzPAQsCQCABIgQgAkcNAEH7ACEQDOkCCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRADQCAELQAAIAFB8M6AgABqLQAARw3QASABQQVGDc4BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQfsAIRAM6AILAkAgASIEIAJHDQBB/AAhEAzoAgsCQAJAIAQtAABBvX9qDgwA0QHRAdEB0QHRAdEB0QHRAdEB0QEB0QELIARBAWohAUHmACEQDM8CCyAEQQFqIQFB5wAhEAzOAgsCQCABIgQgAkcNAEH9ACEQDOcCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHtz4CAAGotAABHDc8BIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEH9ACEQDOcCCyAAQQA2AgAgEEEBaiEBQRAhEAzMAQsCQCABIgQgAkcNAEH+ACEQDOYCCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUH2zoCAAGotAABHDc4BIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEH+ACEQDOYCCyAAQQA2AgAgEEEBaiEBQRYhEAzLAQsCQCABIgQgAkcNAEH/ACEQDOUCCyACIARrIAAoAgAiAWohFCAEIAFrQQNqIRACQANAIAQtAAAgAUH8zoCAAGotAABHDc0BIAFBA0YNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEH/ACEQDOUCCyAAQQA2AgAgEEEBaiEBQQUhEAzKAQsCQCABIgQgAkcNAEGAASEQDOQCCyAELQAAQdkARw3LASAEQQFqIQFBCCEQDMkBCwJAIAEiBCACRw0AQYEBIRAM4wILAkACQCAELQAAQbJ/ag4DAMwBAcwBCyAEQQFqIQFB6wAhEAzKAgsgBEEBaiEBQewAIRAMyQILAkAgASIEIAJHDQBBggEhEAziAgsCQAJAIAQtAABBuH9qDggAywHLAcsBywHLAcsBAcsBCyAEQQFqIQFB6gAhEAzJAgsgBEEBaiEBQe0AIRAMyAILAkAgASIEIAJHDQBBgwEhEAzhAgsgAiAEayAAKAIAIgFqIRAgBCABa0ECaiEUAkADQCAELQAAIAFBgM+AgABqLQAARw3JASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBA2AgBBgwEhEAzhAgtBACEQIABBADYCACAUQQFqIQEMxgELAkAgASIEIAJHDQBBhAEhEAzgAgsgAiAEayAAKAIAIgFqIRQgBCABa0EEaiEQAkADQCAELQAAIAFBg8+AgABqLQAARw3IASABQQRGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBhAEhEAzgAgsgAEEANgIAIBBBAWohAUEjIRAMxQELAkAgASIEIAJHDQBBhQEhEAzfAgsCQAJAIAQtAABBtH9qDggAyAHIAcgByAHIAcgBAcgBCyAEQQFqIQFB7wAhEAzGAgsgBEEBaiEBQfAAIRAMxQILAkAgASIEIAJHDQBBhgEhEAzeAgsgBC0AAEHFAEcNxQEgBEEBaiEBDIMCCwJAIAEiBCACRw0AQYcBIRAM3QILIAIgBGsgACgCACIBaiEUIAQgAWtBA2ohEAJAA0AgBC0AACABQYjPgIAAai0AAEcNxQEgAUEDRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYcBIRAM3QILIABBADYCACAQQQFqIQFBLSEQDMIBCwJAIAEiBCACRw0AQYgBIRAM3AILIAIgBGsgACgCACIBaiEUIAQgAWtBCGohEAJAA0AgBC0AACABQdDPgIAAai0AAEcNxAEgAUEIRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYgBIRAM3AILIABBADYCACAQQQFqIQFBKSEQDMEBCwJAIAEiASACRw0AQYkBIRAM2wILQQEhECABLQAAQd8ARw3AASABQQFqIQEMgQILAkAgASIEIAJHDQBBigEhEAzaAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQA0AgBC0AACABQYzPgIAAai0AAEcNwQEgAUEBRg2vAiABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGKASEQDNkCCwJAIAEiBCACRw0AQYsBIRAM2QILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQY7PgIAAai0AAEcNwQEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYsBIRAM2QILIABBADYCACAQQQFqIQFBAiEQDL4BCwJAIAEiBCACRw0AQYwBIRAM2AILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQfDPgIAAai0AAEcNwAEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYwBIRAM2AILIABBADYCACAQQQFqIQFBHyEQDL0BCwJAIAEiBCACRw0AQY0BIRAM1wILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQfLPgIAAai0AAEcNvwEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQY0BIRAM1wILIABBADYCACAQQQFqIQFBCSEQDLwBCwJAIAEiBCACRw0AQY4BIRAM1gILAkACQCAELQAAQbd/ag4HAL8BvwG/Ab8BvwEBvwELIARBAWohAUH4ACEQDL0CCyAEQQFqIQFB+QAhEAy8AgsCQCABIgQgAkcNAEGPASEQDNUCCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUGRz4CAAGotAABHDb0BIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGPASEQDNUCCyAAQQA2AgAgEEEBaiEBQRghEAy6AQsCQCABIgQgAkcNAEGQASEQDNQCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUGXz4CAAGotAABHDbwBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGQASEQDNQCCyAAQQA2AgAgEEEBaiEBQRchEAy5AQsCQCABIgQgAkcNAEGRASEQDNMCCyACIARrIAAoAgAiAWohFCAEIAFrQQZqIRACQANAIAQtAAAgAUGaz4CAAGotAABHDbsBIAFBBkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGRASEQDNMCCyAAQQA2AgAgEEEBaiEBQRUhEAy4AQsCQCABIgQgAkcNAEGSASEQDNICCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUGhz4CAAGotAABHDboBIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGSASEQDNICCyAAQQA2AgAgEEEBaiEBQR4hEAy3AQsCQCABIgQgAkcNAEGTASEQDNECCyAELQAAQcwARw24ASAEQQFqIQFBCiEQDLYBCwJAIAQgAkcNAEGUASEQDNACCwJAAkAgBC0AAEG/f2oODwC5AbkBuQG5AbkBuQG5AbkBuQG5AbkBuQG5AQG5AQsgBEEBaiEBQf4AIRAMtwILIARBAWohAUH/ACEQDLYCCwJAIAQgAkcNAEGVASEQDM8CCwJAAkAgBC0AAEG/f2oOAwC4AQG4AQsgBEEBaiEBQf0AIRAMtgILIARBAWohBEGAASEQDLUCCwJAIAQgAkcNAEGWASEQDM4CCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUGnz4CAAGotAABHDbYBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGWASEQDM4CCyAAQQA2AgAgEEEBaiEBQQshEAyzAQsCQCAEIAJHDQBBlwEhEAzNAgsCQAJAAkACQCAELQAAQVNqDiMAuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AQG4AbgBuAG4AbgBArgBuAG4AQO4AQsgBEEBaiEBQfsAIRAMtgILIARBAWohAUH8ACEQDLUCCyAEQQFqIQRBgQEhEAy0AgsgBEEBaiEEQYIBIRAMswILAkAgBCACRw0AQZgBIRAMzAILIAIgBGsgACgCACIBaiEUIAQgAWtBBGohEAJAA0AgBC0AACABQanPgIAAai0AAEcNtAEgAUEERg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZgBIRAMzAILIABBADYCACAQQQFqIQFBGSEQDLEBCwJAIAQgAkcNAEGZASEQDMsCCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUGuz4CAAGotAABHDbMBIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGZASEQDMsCCyAAQQA2AgAgEEEBaiEBQQYhEAywAQsCQCAEIAJHDQBBmgEhEAzKAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFBtM+AgABqLQAARw2yASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBmgEhEAzKAgsgAEEANgIAIBBBAWohAUEcIRAMrwELAkAgBCACRw0AQZsBIRAMyQILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQbbPgIAAai0AAEcNsQEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZsBIRAMyQILIABBADYCACAQQQFqIQFBJyEQDK4BCwJAIAQgAkcNAEGcASEQDMgCCwJAAkAgBC0AAEGsf2oOAgABsQELIARBAWohBEGGASEQDK8CCyAEQQFqIQRBhwEhEAyuAgsCQCAEIAJHDQBBnQEhEAzHAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFBuM+AgABqLQAARw2vASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBnQEhEAzHAgsgAEEANgIAIBBBAWohAUEmIRAMrAELAkAgBCACRw0AQZ4BIRAMxgILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQbrPgIAAai0AAEcNrgEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZ4BIRAMxgILIABBADYCACAQQQFqIQFBAyEQDKsBCwJAIAQgAkcNAEGfASEQDMUCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHtz4CAAGotAABHDa0BIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGfASEQDMUCCyAAQQA2AgAgEEEBaiEBQQwhEAyqAQsCQCAEIAJHDQBBoAEhEAzEAgsgAiAEayAAKAIAIgFqIRQgBCABa0EDaiEQAkADQCAELQAAIAFBvM+AgABqLQAARw2sASABQQNGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBoAEhEAzEAgsgAEEANgIAIBBBAWohAUENIRAMqQELAkAgBCACRw0AQaEBIRAMwwILAkACQCAELQAAQbp/ag4LAKwBrAGsAawBrAGsAawBrAGsAQGsAQsgBEEBaiEEQYsBIRAMqgILIARBAWohBEGMASEQDKkCCwJAIAQgAkcNAEGiASEQDMICCyAELQAAQdAARw2pASAEQQFqIQQM6QELAkAgBCACRw0AQaMBIRAMwQILAkACQCAELQAAQbd/ag4HAaoBqgGqAaoBqgEAqgELIARBAWohBEGOASEQDKgCCyAEQQFqIQFBIiEQDKYBCwJAIAQgAkcNAEGkASEQDMACCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUHAz4CAAGotAABHDagBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGkASEQDMACCyAAQQA2AgAgEEEBaiEBQR0hEAylAQsCQCAEIAJHDQBBpQEhEAy/AgsCQAJAIAQtAABBrn9qDgMAqAEBqAELIARBAWohBEGQASEQDKYCCyAEQQFqIQFBBCEQDKQBCwJAIAQgAkcNAEGmASEQDL4CCwJAAkACQAJAAkAgBC0AAEG/f2oOFQCqAaoBqgGqAaoBqgGqAaoBqgGqAQGqAaoBAqoBqgEDqgGqAQSqAQsgBEEBaiEEQYgBIRAMqAILIARBAWohBEGJASEQDKcCCyAEQQFqIQRBigEhEAymAgsgBEEBaiEEQY8BIRAMpQILIARBAWohBEGRASEQDKQCCwJAIAQgAkcNAEGnASEQDL0CCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHtz4CAAGotAABHDaUBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGnASEQDL0CCyAAQQA2AgAgEEEBaiEBQREhEAyiAQsCQCAEIAJHDQBBqAEhEAy8AgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFBws+AgABqLQAARw2kASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBqAEhEAy8AgsgAEEANgIAIBBBAWohAUEsIRAMoQELAkAgBCACRw0AQakBIRAMuwILIAIgBGsgACgCACIBaiEUIAQgAWtBBGohEAJAA0AgBC0AACABQcXPgIAAai0AAEcNowEgAUEERg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQakBIRAMuwILIABBADYCACAQQQFqIQFBKyEQDKABCwJAIAQgAkcNAEGqASEQDLoCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHKz4CAAGotAABHDaIBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGqASEQDLoCCyAAQQA2AgAgEEEBaiEBQRQhEAyfAQsCQCAEIAJHDQBBqwEhEAy5AgsCQAJAAkACQCAELQAAQb5/ag4PAAECpAGkAaQBpAGkAaQBpAGkAaQBpAGkAQOkAQsgBEEBaiEEQZMBIRAMogILIARBAWohBEGUASEQDKECCyAEQQFqIQRBlQEhEAygAgsgBEEBaiEEQZYBIRAMnwILAkAgBCACRw0AQawBIRAMuAILIAQtAABBxQBHDZ8BIARBAWohBAzgAQsCQCAEIAJHDQBBrQEhEAy3AgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFBzc+AgABqLQAARw2fASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBrQEhEAy3AgsgAEEANgIAIBBBAWohAUEOIRAMnAELAkAgBCACRw0AQa4BIRAMtgILIAQtAABB0ABHDZ0BIARBAWohAUElIRAMmwELAkAgBCACRw0AQa8BIRAMtQILIAIgBGsgACgCACIBaiEUIAQgAWtBCGohEAJAA0AgBC0AACABQdDPgIAAai0AAEcNnQEgAUEIRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQa8BIRAMtQILIABBADYCACAQQQFqIQFBKiEQDJoBCwJAIAQgAkcNAEGwASEQDLQCCwJAAkAgBC0AAEGrf2oOCwCdAZ0BnQGdAZ0BnQGdAZ0BnQEBnQELIARBAWohBEGaASEQDJsCCyAEQQFqIQRBmwEhEAyaAgsCQCAEIAJHDQBBsQEhEAyzAgsCQAJAIAQtAABBv39qDhQAnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBAZwBCyAEQQFqIQRBmQEhEAyaAgsgBEEBaiEEQZwBIRAMmQILAkAgBCACRw0AQbIBIRAMsgILIAIgBGsgACgCACIBaiEUIAQgAWtBA2ohEAJAA0AgBC0AACABQdnPgIAAai0AAEcNmgEgAUEDRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbIBIRAMsgILIABBADYCACAQQQFqIQFBISEQDJcBCwJAIAQgAkcNAEGzASEQDLECCyACIARrIAAoAgAiAWohFCAEIAFrQQZqIRACQANAIAQtAAAgAUHdz4CAAGotAABHDZkBIAFBBkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGzASEQDLECCyAAQQA2AgAgEEEBaiEBQRohEAyWAQsCQCAEIAJHDQBBtAEhEAywAgsCQAJAAkAgBC0AAEG7f2oOEQCaAZoBmgGaAZoBmgGaAZoBmgEBmgGaAZoBmgGaAQKaAQsgBEEBaiEEQZ0BIRAMmAILIARBAWohBEGeASEQDJcCCyAEQQFqIQRBnwEhEAyWAgsCQCAEIAJHDQBBtQEhEAyvAgsgAiAEayAAKAIAIgFqIRQgBCABa0EFaiEQAkADQCAELQAAIAFB5M+AgABqLQAARw2XASABQQVGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBtQEhEAyvAgsgAEEANgIAIBBBAWohAUEoIRAMlAELAkAgBCACRw0AQbYBIRAMrgILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQerPgIAAai0AAEcNlgEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbYBIRAMrgILIABBADYCACAQQQFqIQFBByEQDJMBCwJAIAQgAkcNAEG3ASEQDK0CCwJAAkAgBC0AAEG7f2oODgCWAZYBlgGWAZYBlgGWAZYBlgGWAZYBlgEBlgELIARBAWohBEGhASEQDJQCCyAEQQFqIQRBogEhEAyTAgsCQCAEIAJHDQBBuAEhEAysAgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFB7c+AgABqLQAARw2UASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBuAEhEAysAgsgAEEANgIAIBBBAWohAUESIRAMkQELAkAgBCACRw0AQbkBIRAMqwILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQfDPgIAAai0AAEcNkwEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbkBIRAMqwILIABBADYCACAQQQFqIQFBICEQDJABCwJAIAQgAkcNAEG6ASEQDKoCCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUHyz4CAAGotAABHDZIBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEG6ASEQDKoCCyAAQQA2AgAgEEEBaiEBQQ8hEAyPAQsCQCAEIAJHDQBBuwEhEAypAgsCQAJAIAQtAABBt39qDgcAkgGSAZIBkgGSAQGSAQsgBEEBaiEEQaUBIRAMkAILIARBAWohBEGmASEQDI8CCwJAIAQgAkcNAEG8ASEQDKgCCyACIARrIAAoAgAiAWohFCAEIAFrQQdqIRACQANAIAQtAAAgAUH0z4CAAGotAABHDZABIAFBB0YNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEG8ASEQDKgCCyAAQQA2AgAgEEEBaiEBQRshEAyNAQsCQCAEIAJHDQBBvQEhEAynAgsCQAJAAkAgBC0AAEG+f2oOEgCRAZEBkQGRAZEBkQGRAZEBkQEBkQGRAZEBkQGRAZEBApEBCyAEQQFqIQRBpAEhEAyPAgsgBEEBaiEEQacBIRAMjgILIARBAWohBEGoASEQDI0CCwJAIAQgAkcNAEG+ASEQDKYCCyAELQAAQc4ARw2NASAEQQFqIQQMzwELAkAgBCACRw0AQb8BIRAMpQILAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgBC0AAEG/f2oOFQABAgOcAQQFBpwBnAGcAQcICQoLnAEMDQ4PnAELIARBAWohAUHoACEQDJoCCyAEQQFqIQFB6QAhEAyZAgsgBEEBaiEBQe4AIRAMmAILIARBAWohAUHyACEQDJcCCyAEQQFqIQFB8wAhEAyWAgsgBEEBaiEBQfYAIRAMlQILIARBAWohAUH3ACEQDJQCCyAEQQFqIQFB+gAhEAyTAgsgBEEBaiEEQYMBIRAMkgILIARBAWohBEGEASEQDJECCyAEQQFqIQRBhQEhEAyQAgsgBEEBaiEEQZIBIRAMjwILIARBAWohBEGYASEQDI4CCyAEQQFqIQRBoAEhEAyNAgsgBEEBaiEEQaMBIRAMjAILIARBAWohBEGqASEQDIsCCwJAIAQgAkYNACAAQZCAgIAANgIIIAAgBDYCBEGrASEQDIsCC0HAASEQDKMCCyAAIAUgAhCqgICAACIBDYsBIAUhAQxcCwJAIAYgAkYNACAGQQFqIQUMjQELQcIBIRAMoQILA0ACQCAQLQAAQXZqDgSMAQAAjwEACyAQQQFqIhAgAkcNAAtBwwEhEAygAgsCQCAHIAJGDQAgAEGRgICAADYCCCAAIAc2AgQgByEBQQEhEAyHAgtBxAEhEAyfAgsCQCAHIAJHDQBBxQEhEAyfAgsCQAJAIActAABBdmoOBAHOAc4BAM4BCyAHQQFqIQYMjQELIAdBAWohBQyJAQsCQCAHIAJHDQBBxgEhEAyeAgsCQAJAIActAABBdmoOFwGPAY8BAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAQCPAQsgB0EBaiEHC0GwASEQDIQCCwJAIAggAkcNAEHIASEQDJ0CCyAILQAAQSBHDY0BIABBADsBMiAIQQFqIQFBswEhEAyDAgsgASEXAkADQCAXIgcgAkYNASAHLQAAQVBqQf8BcSIQQQpPDcwBAkAgAC8BMiIUQZkzSw0AIAAgFEEKbCIUOwEyIBBB//8DcyAUQf7/A3FJDQAgB0EBaiEXIAAgFCAQaiIQOwEyIBBB//8DcUHoB0kNAQsLQQAhECAAQQA2AhwgAEHBiYCAADYCECAAQQ02AgwgACAHQQFqNgIUDJwCC0HHASEQDJsCCyAAIAggAhCugICAACIQRQ3KASAQQRVHDYwBIABByAE2AhwgACAINgIUIABByZeAgAA2AhAgAEEVNgIMQQAhEAyaAgsCQCAJIAJHDQBBzAEhEAyaAgtBACEUQQEhF0EBIRZBACEQAkACQAJAAkACQAJAAkACQAJAIAktAABBUGoOCpYBlQEAAQIDBAUGCJcBC0ECIRAMBgtBAyEQDAULQQQhEAwEC0EFIRAMAwtBBiEQDAILQQchEAwBC0EIIRALQQAhF0EAIRZBACEUDI4BC0EJIRBBASEUQQAhF0EAIRYMjQELAkAgCiACRw0AQc4BIRAMmQILIAotAABBLkcNjgEgCkEBaiEJDMoBCyALIAJHDY4BQdABIRAMlwILAkAgCyACRg0AIABBjoCAgAA2AgggACALNgIEQbcBIRAM/gELQdEBIRAMlgILAkAgBCACRw0AQdIBIRAMlgILIAIgBGsgACgCACIQaiEUIAQgEGtBBGohCwNAIAQtAAAgEEH8z4CAAGotAABHDY4BIBBBBEYN6QEgEEEBaiEQIARBAWoiBCACRw0ACyAAIBQ2AgBB0gEhEAyVAgsgACAMIAIQrICAgAAiAQ2NASAMIQEMuAELAkAgBCACRw0AQdQBIRAMlAILIAIgBGsgACgCACIQaiEUIAQgEGtBAWohDANAIAQtAAAgEEGB0ICAAGotAABHDY8BIBBBAUYNjgEgEEEBaiEQIARBAWoiBCACRw0ACyAAIBQ2AgBB1AEhEAyTAgsCQCAEIAJHDQBB1gEhEAyTAgsgAiAEayAAKAIAIhBqIRQgBCAQa0ECaiELA0AgBC0AACAQQYPQgIAAai0AAEcNjgEgEEECRg2QASAQQQFqIRAgBEEBaiIEIAJHDQALIAAgFDYCAEHWASEQDJICCwJAIAQgAkcNAEHXASEQDJICCwJAAkAgBC0AAEG7f2oOEACPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BAY8BCyAEQQFqIQRBuwEhEAz5AQsgBEEBaiEEQbwBIRAM+AELAkAgBCACRw0AQdgBIRAMkQILIAQtAABByABHDYwBIARBAWohBAzEAQsCQCAEIAJGDQAgAEGQgICAADYCCCAAIAQ2AgRBvgEhEAz3AQtB2QEhEAyPAgsCQCAEIAJHDQBB2gEhEAyPAgsgBC0AAEHIAEYNwwEgAEEBOgAoDLkBCyAAQQI6AC8gACAEIAIQpoCAgAAiEA2NAUHCASEQDPQBCyAALQAoQX9qDgK3AbkBuAELA0ACQCAELQAAQXZqDgQAjgGOAQCOAQsgBEEBaiIEIAJHDQALQd0BIRAMiwILIABBADoALyAALQAtQQRxRQ2EAgsgAEEAOgAvIABBAToANCABIQEMjAELIBBBFUYN2gEgAEEANgIcIAAgATYCFCAAQaeOgIAANgIQIABBEjYCDEEAIRAMiAILAkAgACAQIAIQtICAgAAiBA0AIBAhAQyBAgsCQCAEQRVHDQAgAEEDNgIcIAAgEDYCFCAAQbCYgIAANgIQIABBFTYCDEEAIRAMiAILIABBADYCHCAAIBA2AhQgAEGnjoCAADYCECAAQRI2AgxBACEQDIcCCyAQQRVGDdYBIABBADYCHCAAIAE2AhQgAEHajYCAADYCECAAQRQ2AgxBACEQDIYCCyAAKAIEIRcgAEEANgIEIBAgEadqIhYhASAAIBcgECAWIBQbIhAQtYCAgAAiFEUNjQEgAEEHNgIcIAAgEDYCFCAAIBQ2AgxBACEQDIUCCyAAIAAvATBBgAFyOwEwIAEhAQtBKiEQDOoBCyAQQRVGDdEBIABBADYCHCAAIAE2AhQgAEGDjICAADYCECAAQRM2AgxBACEQDIICCyAQQRVGDc8BIABBADYCHCAAIAE2AhQgAEGaj4CAADYCECAAQSI2AgxBACEQDIECCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQt4CAgAAiEA0AIAFBAWohAQyNAQsgAEEMNgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDIACCyAQQRVGDcwBIABBADYCHCAAIAE2AhQgAEGaj4CAADYCECAAQSI2AgxBACEQDP8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQt4CAgAAiEA0AIAFBAWohAQyMAQsgAEENNgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDP4BCyAQQRVGDckBIABBADYCHCAAIAE2AhQgAEHGjICAADYCECAAQSM2AgxBACEQDP0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQuYCAgAAiEA0AIAFBAWohAQyLAQsgAEEONgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDPwBCyAAQQA2AhwgACABNgIUIABBwJWAgAA2AhAgAEECNgIMQQAhEAz7AQsgEEEVRg3FASAAQQA2AhwgACABNgIUIABBxoyAgAA2AhAgAEEjNgIMQQAhEAz6AQsgAEEQNgIcIAAgATYCFCAAIBA2AgxBACEQDPkBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQuYCAgAAiBA0AIAFBAWohAQzxAQsgAEERNgIcIAAgBDYCDCAAIAFBAWo2AhRBACEQDPgBCyAQQRVGDcEBIABBADYCHCAAIAE2AhQgAEHGjICAADYCECAAQSM2AgxBACEQDPcBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQuYCAgAAiEA0AIAFBAWohAQyIAQsgAEETNgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDPYBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQuYCAgAAiBA0AIAFBAWohAQztAQsgAEEUNgIcIAAgBDYCDCAAIAFBAWo2AhRBACEQDPUBCyAQQRVGDb0BIABBADYCHCAAIAE2AhQgAEGaj4CAADYCECAAQSI2AgxBACEQDPQBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQt4CAgAAiEA0AIAFBAWohAQyGAQsgAEEWNgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDPMBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQt4CAgAAiBA0AIAFBAWohAQzpAQsgAEEXNgIcIAAgBDYCDCAAIAFBAWo2AhRBACEQDPIBCyAAQQA2AhwgACABNgIUIABBzZOAgAA2AhAgAEEMNgIMQQAhEAzxAQtCASERCyAQQQFqIQECQCAAKQMgIhJC//////////8PVg0AIAAgEkIEhiARhDcDICABIQEMhAELIABBADYCHCAAIAE2AhQgAEGtiYCAADYCECAAQQw2AgxBACEQDO8BCyAAQQA2AhwgACAQNgIUIABBzZOAgAA2AhAgAEEMNgIMQQAhEAzuAQsgACgCBCEXIABBADYCBCAQIBGnaiIWIQEgACAXIBAgFiAUGyIQELWAgIAAIhRFDXMgAEEFNgIcIAAgEDYCFCAAIBQ2AgxBACEQDO0BCyAAQQA2AhwgACAQNgIUIABBqpyAgAA2AhAgAEEPNgIMQQAhEAzsAQsgACAQIAIQtICAgAAiAQ0BIBAhAQtBDiEQDNEBCwJAIAFBFUcNACAAQQI2AhwgACAQNgIUIABBsJiAgAA2AhAgAEEVNgIMQQAhEAzqAQsgAEEANgIcIAAgEDYCFCAAQaeOgIAANgIQIABBEjYCDEEAIRAM6QELIAFBAWohEAJAIAAvATAiAUGAAXFFDQACQCAAIBAgAhC7gICAACIBDQAgECEBDHALIAFBFUcNugEgAEEFNgIcIAAgEDYCFCAAQfmXgIAANgIQIABBFTYCDEEAIRAM6QELAkAgAUGgBHFBoARHDQAgAC0ALUECcQ0AIABBADYCHCAAIBA2AhQgAEGWk4CAADYCECAAQQQ2AgxBACEQDOkBCyAAIBAgAhC9gICAABogECEBAkACQAJAAkACQCAAIBAgAhCzgICAAA4WAgEABAQEBAQEBAQEBAQEBAQEBAQEAwQLIABBAToALgsgACAALwEwQcAAcjsBMCAQIQELQSYhEAzRAQsgAEEjNgIcIAAgEDYCFCAAQaWWgIAANgIQIABBFTYCDEEAIRAM6QELIABBADYCHCAAIBA2AhQgAEHVi4CAADYCECAAQRE2AgxBACEQDOgBCyAALQAtQQFxRQ0BQcMBIRAMzgELAkAgDSACRg0AA0ACQCANLQAAQSBGDQAgDSEBDMQBCyANQQFqIg0gAkcNAAtBJSEQDOcBC0ElIRAM5gELIAAoAgQhBCAAQQA2AgQgACAEIA0Qr4CAgAAiBEUNrQEgAEEmNgIcIAAgBDYCDCAAIA1BAWo2AhRBACEQDOUBCyAQQRVGDasBIABBADYCHCAAIAE2AhQgAEH9jYCAADYCECAAQR02AgxBACEQDOQBCyAAQSc2AhwgACABNgIUIAAgEDYCDEEAIRAM4wELIBAhAUEBIRQCQAJAAkACQAJAAkACQCAALQAsQX5qDgcGBQUDAQIABQsgACAALwEwQQhyOwEwDAMLQQIhFAwBC0EEIRQLIABBAToALCAAIAAvATAgFHI7ATALIBAhAQtBKyEQDMoBCyAAQQA2AhwgACAQNgIUIABBq5KAgAA2AhAgAEELNgIMQQAhEAziAQsgAEEANgIcIAAgATYCFCAAQeGPgIAANgIQIABBCjYCDEEAIRAM4QELIABBADoALCAQIQEMvQELIBAhAUEBIRQCQAJAAkACQAJAIAAtACxBe2oOBAMBAgAFCyAAIAAvATBBCHI7ATAMAwtBAiEUDAELQQQhFAsgAEEBOgAsIAAgAC8BMCAUcjsBMAsgECEBC0EpIRAMxQELIABBADYCHCAAIAE2AhQgAEHwlICAADYCECAAQQM2AgxBACEQDN0BCwJAIA4tAABBDUcNACAAKAIEIQEgAEEANgIEAkAgACABIA4QsYCAgAAiAQ0AIA5BAWohAQx1CyAAQSw2AhwgACABNgIMIAAgDkEBajYCFEEAIRAM3QELIAAtAC1BAXFFDQFBxAEhEAzDAQsCQCAOIAJHDQBBLSEQDNwBCwJAAkADQAJAIA4tAABBdmoOBAIAAAMACyAOQQFqIg4gAkcNAAtBLSEQDN0BCyAAKAIEIQEgAEEANgIEAkAgACABIA4QsYCAgAAiAQ0AIA4hAQx0CyAAQSw2AhwgACAONgIUIAAgATYCDEEAIRAM3AELIAAoAgQhASAAQQA2AgQCQCAAIAEgDhCxgICAACIBDQAgDkEBaiEBDHMLIABBLDYCHCAAIAE2AgwgACAOQQFqNgIUQQAhEAzbAQsgACgCBCEEIABBADYCBCAAIAQgDhCxgICAACIEDaABIA4hAQzOAQsgEEEsRw0BIAFBAWohEEEBIQECQAJAAkACQAJAIAAtACxBe2oOBAMBAgQACyAQIQEMBAtBAiEBDAELQQQhAQsgAEEBOgAsIAAgAC8BMCABcjsBMCAQIQEMAQsgACAALwEwQQhyOwEwIBAhAQtBOSEQDL8BCyAAQQA6ACwgASEBC0E0IRAMvQELIAAgAC8BMEEgcjsBMCABIQEMAgsgACgCBCEEIABBADYCBAJAIAAgBCABELGAgIAAIgQNACABIQEMxwELIABBNzYCHCAAIAE2AhQgACAENgIMQQAhEAzUAQsgAEEIOgAsIAEhAQtBMCEQDLkBCwJAIAAtAChBAUYNACABIQEMBAsgAC0ALUEIcUUNkwEgASEBDAMLIAAtADBBIHENlAFBxQEhEAy3AQsCQCAPIAJGDQACQANAAkAgDy0AAEFQaiIBQf8BcUEKSQ0AIA8hAUE1IRAMugELIAApAyAiEUKZs+bMmbPmzBlWDQEgACARQgp+IhE3AyAgESABrUL/AYMiEkJ/hVYNASAAIBEgEnw3AyAgD0EBaiIPIAJHDQALQTkhEAzRAQsgACgCBCECIABBADYCBCAAIAIgD0EBaiIEELGAgIAAIgINlQEgBCEBDMMBC0E5IRAMzwELAkAgAC8BMCIBQQhxRQ0AIAAtAChBAUcNACAALQAtQQhxRQ2QAQsgACABQff7A3FBgARyOwEwIA8hAQtBNyEQDLQBCyAAIAAvATBBEHI7ATAMqwELIBBBFUYNiwEgAEEANgIcIAAgATYCFCAAQfCOgIAANgIQIABBHDYCDEEAIRAMywELIABBwwA2AhwgACABNgIMIAAgDUEBajYCFEEAIRAMygELAkAgAS0AAEE6Rw0AIAAoAgQhECAAQQA2AgQCQCAAIBAgARCvgICAACIQDQAgAUEBaiEBDGMLIABBwwA2AhwgACAQNgIMIAAgAUEBajYCFEEAIRAMygELIABBADYCHCAAIAE2AhQgAEGxkYCAADYCECAAQQo2AgxBACEQDMkBCyAAQQA2AhwgACABNgIUIABBoJmAgAA2AhAgAEEeNgIMQQAhEAzIAQsgAEEANgIACyAAQYASOwEqIAAgF0EBaiIBIAIQqICAgAAiEA0BIAEhAQtBxwAhEAysAQsgEEEVRw2DASAAQdEANgIcIAAgATYCFCAAQeOXgIAANgIQIABBFTYCDEEAIRAMxAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDF4LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMwwELIABBADYCHCAAIBQ2AhQgAEHBqICAADYCECAAQQc2AgwgAEEANgIAQQAhEAzCAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMXQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAzBAQtBACEQIABBADYCHCAAIAE2AhQgAEGAkYCAADYCECAAQQk2AgwMwAELIBBBFUYNfSAAQQA2AhwgACABNgIUIABBlI2AgAA2AhAgAEEhNgIMQQAhEAy/AQtBASEWQQAhF0EAIRRBASEQCyAAIBA6ACsgAUEBaiEBAkACQCAALQAtQRBxDQACQAJAAkAgAC0AKg4DAQACBAsgFkUNAwwCCyAUDQEMAgsgF0UNAQsgACgCBCEQIABBADYCBAJAIAAgECABEK2AgIAAIhANACABIQEMXAsgAEHYADYCHCAAIAE2AhQgACAQNgIMQQAhEAy+AQsgACgCBCEEIABBADYCBAJAIAAgBCABEK2AgIAAIgQNACABIQEMrQELIABB2QA2AhwgACABNgIUIAAgBDYCDEEAIRAMvQELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKsBCyAAQdoANgIcIAAgATYCFCAAIAQ2AgxBACEQDLwBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQrYCAgAAiBA0AIAEhAQypAQsgAEHcADYCHCAAIAE2AhQgACAENgIMQQAhEAy7AQsCQCABLQAAQVBqIhBB/wFxQQpPDQAgACAQOgAqIAFBAWohAUHPACEQDKIBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQrYCAgAAiBA0AIAEhAQynAQsgAEHeADYCHCAAIAE2AhQgACAENgIMQQAhEAy6AQsgAEEANgIAIBdBAWohAQJAIAAtAClBI08NACABIQEMWQsgAEEANgIcIAAgATYCFCAAQdOJgIAANgIQIABBCDYCDEEAIRAMuQELIABBADYCAAtBACEQIABBADYCHCAAIAE2AhQgAEGQs4CAADYCECAAQQg2AgwMtwELIABBADYCACAXQQFqIQECQCAALQApQSFHDQAgASEBDFYLIABBADYCHCAAIAE2AhQgAEGbioCAADYCECAAQQg2AgxBACEQDLYBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKSIQQV1qQQtPDQAgASEBDFULAkAgEEEGSw0AQQEgEHRBygBxRQ0AIAEhAQxVC0EAIRAgAEEANgIcIAAgATYCFCAAQfeJgIAANgIQIABBCDYCDAy1AQsgEEEVRg1xIABBADYCHCAAIAE2AhQgAEG5jYCAADYCECAAQRo2AgxBACEQDLQBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxUCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLMBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgwMnwELIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgxBACEQDJ4BCyAAQQA2AhwgACAUNgIUIABB/pGAgAA2AhAgAEEHNgIMQQAhEAydAQsgAEEANgIcIAAgATYCFCAAQY6bgIAANgIQIABBBjYCDEEAIRAMnAELIBBBFUYNVyAAQQA2AhwgACABNgIUIABBzI6AgAA2AhAgAEEgNgIMQQAhEAybAQsgAEEANgIAIBBBAWohAUEkIRALIAAgEDoAKSAAKAIEIRAgAEEANgIEIAAgECABEKuAgIAAIhANVCABIQEMPgsgAEEANgIAC0EAIRAgAEEANgIcIAAgBDYCFCAAQfGbgIAANgIQIABBBjYCDAyXAQsgAUEVRg1QIABBADYCHCAAIAU2AhQgAEHwjICAADYCECAAQRs2AgxBACEQDJYBCyAAKAIEIQUgAEEANgIEIAAgBSAQEKmAgIAAIgUNASAQQQFqIQULQa0BIRAMewsgAEHBATYCHCAAIAU2AgwgACAQQQFqNgIUQQAhEAyTAQsgACgCBCEGIABBADYCBCAAIAYgEBCpgICAACIGDQEgEEEBaiEGC0GuASEQDHgLIABBwgE2AhwgACAGNgIMIAAgEEEBajYCFEEAIRAMkAELIABBADYCHCAAIAc2AhQgAEGXi4CAADYCECAAQQ02AgxBACEQDI8BCyAAQQA2AhwgACAINgIUIABB45CAgAA2AhAgAEEJNgIMQQAhEAyOAQsgAEEANgIcIAAgCDYCFCAAQZSNgIAANgIQIABBITYCDEEAIRAMjQELQQEhFkEAIRdBACEUQQEhEAsgACAQOgArIAlBAWohCAJAAkAgAC0ALUEQcQ0AAkACQAJAIAAtACoOAwEAAgQLIBZFDQMMAgsgFA0BDAILIBdFDQELIAAoAgQhECAAQQA2AgQgACAQIAgQrYCAgAAiEEUNPSAAQckBNgIcIAAgCDYCFCAAIBA2AgxBACEQDIwBCyAAKAIEIQQgAEEANgIEIAAgBCAIEK2AgIAAIgRFDXYgAEHKATYCHCAAIAg2AhQgACAENgIMQQAhEAyLAQsgACgCBCEEIABBADYCBCAAIAQgCRCtgICAACIERQ10IABBywE2AhwgACAJNgIUIAAgBDYCDEEAIRAMigELIAAoAgQhBCAAQQA2AgQgACAEIAoQrYCAgAAiBEUNciAAQc0BNgIcIAAgCjYCFCAAIAQ2AgxBACEQDIkBCwJAIAstAABBUGoiEEH/AXFBCk8NACAAIBA6ACogC0EBaiEKQbYBIRAMcAsgACgCBCEEIABBADYCBCAAIAQgCxCtgICAACIERQ1wIABBzwE2AhwgACALNgIUIAAgBDYCDEEAIRAMiAELIABBADYCHCAAIAQ2AhQgAEGQs4CAADYCECAAQQg2AgwgAEEANgIAQQAhEAyHAQsgAUEVRg0/IABBADYCHCAAIAw2AhQgAEHMjoCAADYCECAAQSA2AgxBACEQDIYBCyAAQYEEOwEoIAAoAgQhECAAQgA3AwAgACAQIAxBAWoiDBCrgICAACIQRQ04IABB0wE2AhwgACAMNgIUIAAgEDYCDEEAIRAMhQELIABBADYCAAtBACEQIABBADYCHCAAIAQ2AhQgAEHYm4CAADYCECAAQQg2AgwMgwELIAAoAgQhECAAQgA3AwAgACAQIAtBAWoiCxCrgICAACIQDQFBxgEhEAxpCyAAQQI6ACgMVQsgAEHVATYCHCAAIAs2AhQgACAQNgIMQQAhEAyAAQsgEEEVRg03IABBADYCHCAAIAQ2AhQgAEGkjICAADYCECAAQRA2AgxBACEQDH8LIAAtADRBAUcNNCAAIAQgAhC8gICAACIQRQ00IBBBFUcNNSAAQdwBNgIcIAAgBDYCFCAAQdWWgIAANgIQIABBFTYCDEEAIRAMfgtBACEQIABBADYCHCAAQa+LgIAANgIQIABBAjYCDCAAIBRBAWo2AhQMfQtBACEQDGMLQQIhEAxiC0ENIRAMYQtBDyEQDGALQSUhEAxfC0ETIRAMXgtBFSEQDF0LQRYhEAxcC0EXIRAMWwtBGCEQDFoLQRkhEAxZC0EaIRAMWAtBGyEQDFcLQRwhEAxWC0EdIRAMVQtBHyEQDFQLQSEhEAxTC0EjIRAMUgtBxgAhEAxRC0EuIRAMUAtBLyEQDE8LQTshEAxOC0E9IRAMTQtByAAhEAxMC0HJACEQDEsLQcsAIRAMSgtBzAAhEAxJC0HOACEQDEgLQdEAIRAMRwtB1QAhEAxGC0HYACEQDEULQdkAIRAMRAtB2wAhEAxDC0HkACEQDEILQeUAIRAMQQtB8QAhEAxAC0H0ACEQDD8LQY0BIRAMPgtBlwEhEAw9C0GpASEQDDwLQawBIRAMOwtBwAEhEAw6C0G5ASEQDDkLQa8BIRAMOAtBsQEhEAw3C0GyASEQDDYLQbQBIRAMNQtBtQEhEAw0C0G6ASEQDDMLQb0BIRAMMgtBvwEhEAwxC0HBASEQDDALIABBADYCHCAAIAQ2AhQgAEHpi4CAADYCECAAQR82AgxBACEQDEgLIABB2wE2AhwgACAENgIUIABB+paAgAA2AhAgAEEVNgIMQQAhEAxHCyAAQfgANgIcIAAgDDYCFCAAQcqYgIAANgIQIABBFTYCDEEAIRAMRgsgAEHRADYCHCAAIAU2AhQgAEGwl4CAADYCECAAQRU2AgxBACEQDEULIABB+QA2AhwgACABNgIUIAAgEDYCDEEAIRAMRAsgAEH4ADYCHCAAIAE2AhQgAEHKmICAADYCECAAQRU2AgxBACEQDEMLIABB5AA2AhwgACABNgIUIABB45eAgAA2AhAgAEEVNgIMQQAhEAxCCyAAQdcANgIcIAAgATYCFCAAQcmXgIAANgIQIABBFTYCDEEAIRAMQQsgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMQAsgAEHCADYCHCAAIAE2AhQgAEHjmICAADYCECAAQRU2AgxBACEQDD8LIABBADYCBCAAIA8gDxCxgICAACIERQ0BIABBOjYCHCAAIAQ2AgwgACAPQQFqNgIUQQAhEAw+CyAAKAIEIQQgAEEANgIEAkAgACAEIAEQsYCAgAAiBEUNACAAQTs2AhwgACAENgIMIAAgAUEBajYCFEEAIRAMPgsgAUEBaiEBDC0LIA9BAWohAQwtCyAAQQA2AhwgACAPNgIUIABB5JKAgAA2AhAgAEEENgIMQQAhEAw7CyAAQTY2AhwgACAENgIUIAAgAjYCDEEAIRAMOgsgAEEuNgIcIAAgDjYCFCAAIAQ2AgxBACEQDDkLIABB0AA2AhwgACABNgIUIABBkZiAgAA2AhAgAEEVNgIMQQAhEAw4CyANQQFqIQEMLAsgAEEVNgIcIAAgATYCFCAAQYKZgIAANgIQIABBFTYCDEEAIRAMNgsgAEEbNgIcIAAgATYCFCAAQZGXgIAANgIQIABBFTYCDEEAIRAMNQsgAEEPNgIcIAAgATYCFCAAQZGXgIAANgIQIABBFTYCDEEAIRAMNAsgAEELNgIcIAAgATYCFCAAQZGXgIAANgIQIABBFTYCDEEAIRAMMwsgAEEaNgIcIAAgATYCFCAAQYKZgIAANgIQIABBFTYCDEEAIRAMMgsgAEELNgIcIAAgATYCFCAAQYKZgIAANgIQIABBFTYCDEEAIRAMMQsgAEEKNgIcIAAgATYCFCAAQeSWgIAANgIQIABBFTYCDEEAIRAMMAsgAEEeNgIcIAAgATYCFCAAQfmXgIAANgIQIABBFTYCDEEAIRAMLwsgAEEANgIcIAAgEDYCFCAAQdqNgIAANgIQIABBFDYCDEEAIRAMLgsgAEEENgIcIAAgATYCFCAAQbCYgIAANgIQIABBFTYCDEEAIRAMLQsgAEEANgIAIAtBAWohCwtBuAEhEAwSCyAAQQA2AgAgEEEBaiEBQfUAIRAMEQsgASEBAkAgAC0AKUEFRw0AQeMAIRAMEQtB4gAhEAwQC0EAIRAgAEEANgIcIABB5JGAgAA2AhAgAEEHNgIMIAAgFEEBajYCFAwoCyAAQQA2AgAgF0EBaiEBQcAAIRAMDgtBASEBCyAAIAE6ACwgAEEANgIAIBdBAWohAQtBKCEQDAsLIAEhAQtBOCEQDAkLAkAgASIPIAJGDQADQAJAIA8tAABBgL6AgABqLQAAIgFBAUYNACABQQJHDQMgD0EBaiEBDAQLIA9BAWoiDyACRw0AC0E+IRAMIgtBPiEQDCELIABBADoALCAPIQEMAQtBCyEQDAYLQTohEAwFCyABQQFqIQFBLSEQDAQLIAAgAToALCAAQQA2AgAgFkEBaiEBQQwhEAwDCyAAQQA2AgAgF0EBaiEBQQohEAwCCyAAQQA2AgALIABBADoALCANIQFBCSEQDAALC0EAIRAgAEEANgIcIAAgCzYCFCAAQc2QgIAANgIQIABBCTYCDAwXC0EAIRAgAEEANgIcIAAgCjYCFCAAQemKgIAANgIQIABBCTYCDAwWC0EAIRAgAEEANgIcIAAgCTYCFCAAQbeQgIAANgIQIABBCTYCDAwVC0EAIRAgAEEANgIcIAAgCDYCFCAAQZyRgIAANgIQIABBCTYCDAwUC0EAIRAgAEEANgIcIAAgATYCFCAAQc2QgIAANgIQIABBCTYCDAwTC0EAIRAgAEEANgIcIAAgATYCFCAAQemKgIAANgIQIABBCTYCDAwSC0EAIRAgAEEANgIcIAAgATYCFCAAQbeQgIAANgIQIABBCTYCDAwRC0EAIRAgAEEANgIcIAAgATYCFCAAQZyRgIAANgIQIABBCTYCDAwQC0EAIRAgAEEANgIcIAAgATYCFCAAQZeVgIAANgIQIABBDzYCDAwPC0EAIRAgAEEANgIcIAAgATYCFCAAQZeVgIAANgIQIABBDzYCDAwOC0EAIRAgAEEANgIcIAAgATYCFCAAQcCSgIAANgIQIABBCzYCDAwNC0EAIRAgAEEANgIcIAAgATYCFCAAQZWJgIAANgIQIABBCzYCDAwMC0EAIRAgAEEANgIcIAAgATYCFCAAQeGPgIAANgIQIABBCjYCDAwLC0EAIRAgAEEANgIcIAAgATYCFCAAQfuPgIAANgIQIABBCjYCDAwKC0EAIRAgAEEANgIcIAAgATYCFCAAQfGZgIAANgIQIABBAjYCDAwJC0EAIRAgAEEANgIcIAAgATYCFCAAQcSUgIAANgIQIABBAjYCDAwIC0EAIRAgAEEANgIcIAAgATYCFCAAQfKVgIAANgIQIABBAjYCDAwHCyAAQQI2AhwgACABNgIUIABBnJqAgAA2AhAgAEEWNgIMQQAhEAwGC0EBIRAMBQtB1AAhECABIgQgAkYNBCADQQhqIAAgBCACQdjCgIAAQQoQxYCAgAAgAygCDCEEIAMoAggOAwEEAgALEMqAgIAAAAsgAEEANgIcIABBtZqAgAA2AhAgAEEXNgIMIAAgBEEBajYCFEEAIRAMAgsgAEEANgIcIAAgBDYCFCAAQcqagIAANgIQIABBCTYCDEEAIRAMAQsCQCABIgQgAkcNAEEiIRAMAQsgAEGJgICAADYCCCAAIAQ2AgRBISEQCyADQRBqJICAgIAAIBALrwEBAn8gASgCACEGAkACQCACIANGDQAgBCAGaiEEIAYgA2ogAmshByACIAZBf3MgBWoiBmohBQNAAkAgAi0AACAELQAARg0AQQIhBAwDCwJAIAYNAEEAIQQgBSECDAMLIAZBf2ohBiAEQQFqIQQgAkEBaiICIANHDQALIAchBiADIQILIABBATYCACABIAY2AgAgACACNgIEDwsgAUEANgIAIAAgBDYCACAAIAI2AgQLCgAgABDHgICAAAvyNgELfyOAgICAAEEQayIBJICAgIAAAkBBACgCoNCAgAANAEEAEMuAgIAAQYDUhIAAayICQdkASQ0AQQAhAwJAQQAoAuDTgIAAIgQNAEEAQn83AuzTgIAAQQBCgICEgICAwAA3AuTTgIAAQQAgAUEIakFwcUHYqtWqBXMiBDYC4NOAgABBAEEANgL004CAAEEAQQA2AsTTgIAAC0EAIAI2AszTgIAAQQBBgNSEgAA2AsjTgIAAQQBBgNSEgAA2ApjQgIAAQQAgBDYCrNCAgABBAEF/NgKo0ICAAANAIANBxNCAgABqIANBuNCAgABqIgQ2AgAgBCADQbDQgIAAaiIFNgIAIANBvNCAgABqIAU2AgAgA0HM0ICAAGogA0HA0ICAAGoiBTYCACAFIAQ2AgAgA0HU0ICAAGogA0HI0ICAAGoiBDYCACAEIAU2AgAgA0HQ0ICAAGogBDYCACADQSBqIgNBgAJHDQALQYDUhIAAQXhBgNSEgABrQQ9xQQBBgNSEgABBCGpBD3EbIgNqIgRBBGogAkFIaiIFIANrIgNBAXI2AgBBAEEAKALw04CAADYCpNCAgABBACADNgKU0ICAAEEAIAQ2AqDQgIAAQYDUhIAAIAVqQTg2AgQLAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABB7AFLDQACQEEAKAKI0ICAACIGQRAgAEETakFwcSAAQQtJGyICQQN2IgR2IgNBA3FFDQACQAJAIANBAXEgBHJBAXMiBUEDdCIEQbDQgIAAaiIDIARBuNCAgABqKAIAIgQoAggiAkcNAEEAIAZBfiAFd3E2AojQgIAADAELIAMgAjYCCCACIAM2AgwLIARBCGohAyAEIAVBA3QiBUEDcjYCBCAEIAVqIgQgBCgCBEEBcjYCBAwMCyACQQAoApDQgIAAIgdNDQECQCADRQ0AAkACQCADIAR0QQIgBHQiA0EAIANrcnEiA0EAIANrcUF/aiIDIANBDHZBEHEiA3YiBEEFdkEIcSIFIANyIAQgBXYiA0ECdkEEcSIEciADIAR2IgNBAXZBAnEiBHIgAyAEdiIDQQF2QQFxIgRyIAMgBHZqIgRBA3QiA0Gw0ICAAGoiBSADQbjQgIAAaigCACIDKAIIIgBHDQBBACAGQX4gBHdxIgY2AojQgIAADAELIAUgADYCCCAAIAU2AgwLIAMgAkEDcjYCBCADIARBA3QiBGogBCACayIFNgIAIAMgAmoiACAFQQFyNgIEAkAgB0UNACAHQXhxQbDQgIAAaiECQQAoApzQgIAAIQQCQAJAIAZBASAHQQN2dCIIcQ0AQQAgBiAIcjYCiNCAgAAgAiEIDAELIAIoAgghCAsgCCAENgIMIAIgBDYCCCAEIAI2AgwgBCAINgIICyADQQhqIQNBACAANgKc0ICAAEEAIAU2ApDQgIAADAwLQQAoAozQgIAAIglFDQEgCUEAIAlrcUF/aiIDIANBDHZBEHEiA3YiBEEFdkEIcSIFIANyIAQgBXYiA0ECdkEEcSIEciADIAR2IgNBAXZBAnEiBHIgAyAEdiIDQQF2QQFxIgRyIAMgBHZqQQJ0QbjSgIAAaigCACIAKAIEQXhxIAJrIQQgACEFAkADQAJAIAUoAhAiAw0AIAVBFGooAgAiA0UNAgsgAygCBEF4cSACayIFIAQgBSAESSIFGyEEIAMgACAFGyEAIAMhBQwACwsgACgCGCEKAkAgACgCDCIIIABGDQAgACgCCCIDQQAoApjQgIAASRogCCADNgIIIAMgCDYCDAwLCwJAIABBFGoiBSgCACIDDQAgACgCECIDRQ0DIABBEGohBQsDQCAFIQsgAyIIQRRqIgUoAgAiAw0AIAhBEGohBSAIKAIQIgMNAAsgC0EANgIADAoLQX8hAiAAQb9/Sw0AIABBE2oiA0FwcSECQQAoAozQgIAAIgdFDQBBACELAkAgAkGAAkkNAEEfIQsgAkH///8HSw0AIANBCHYiAyADQYD+P2pBEHZBCHEiA3QiBCAEQYDgH2pBEHZBBHEiBHQiBSAFQYCAD2pBEHZBAnEiBXRBD3YgAyAEciAFcmsiA0EBdCACIANBFWp2QQFxckEcaiELC0EAIAJrIQQCQAJAAkACQCALQQJ0QbjSgIAAaigCACIFDQBBACEDQQAhCAwBC0EAIQMgAkEAQRkgC0EBdmsgC0EfRht0IQBBACEIA0ACQCAFKAIEQXhxIAJrIgYgBE8NACAGIQQgBSEIIAYNAEEAIQQgBSEIIAUhAwwDCyADIAVBFGooAgAiBiAGIAUgAEEddkEEcWpBEGooAgAiBUYbIAMgBhshAyAAQQF0IQAgBQ0ACwsCQCADIAhyDQBBACEIQQIgC3QiA0EAIANrciAHcSIDRQ0DIANBACADa3FBf2oiAyADQQx2QRBxIgN2IgVBBXZBCHEiACADciAFIAB2IgNBAnZBBHEiBXIgAyAFdiIDQQF2QQJxIgVyIAMgBXYiA0EBdkEBcSIFciADIAV2akECdEG40oCAAGooAgAhAwsgA0UNAQsDQCADKAIEQXhxIAJrIgYgBEkhAAJAIAMoAhAiBQ0AIANBFGooAgAhBQsgBiAEIAAbIQQgAyAIIAAbIQggBSEDIAUNAAsLIAhFDQAgBEEAKAKQ0ICAACACa08NACAIKAIYIQsCQCAIKAIMIgAgCEYNACAIKAIIIgNBACgCmNCAgABJGiAAIAM2AgggAyAANgIMDAkLAkAgCEEUaiIFKAIAIgMNACAIKAIQIgNFDQMgCEEQaiEFCwNAIAUhBiADIgBBFGoiBSgCACIDDQAgAEEQaiEFIAAoAhAiAw0ACyAGQQA2AgAMCAsCQEEAKAKQ0ICAACIDIAJJDQBBACgCnNCAgAAhBAJAAkAgAyACayIFQRBJDQAgBCACaiIAIAVBAXI2AgRBACAFNgKQ0ICAAEEAIAA2ApzQgIAAIAQgA2ogBTYCACAEIAJBA3I2AgQMAQsgBCADQQNyNgIEIAQgA2oiAyADKAIEQQFyNgIEQQBBADYCnNCAgABBAEEANgKQ0ICAAAsgBEEIaiEDDAoLAkBBACgClNCAgAAiACACTQ0AQQAoAqDQgIAAIgMgAmoiBCAAIAJrIgVBAXI2AgRBACAFNgKU0ICAAEEAIAQ2AqDQgIAAIAMgAkEDcjYCBCADQQhqIQMMCgsCQAJAQQAoAuDTgIAARQ0AQQAoAujTgIAAIQQMAQtBAEJ/NwLs04CAAEEAQoCAhICAgMAANwLk04CAAEEAIAFBDGpBcHFB2KrVqgVzNgLg04CAAEEAQQA2AvTTgIAAQQBBADYCxNOAgABBgIAEIQQLQQAhAwJAIAQgAkHHAGoiB2oiBkEAIARrIgtxIgggAksNAEEAQTA2AvjTgIAADAoLAkBBACgCwNOAgAAiA0UNAAJAQQAoArjTgIAAIgQgCGoiBSAETQ0AIAUgA00NAQtBACEDQQBBMDYC+NOAgAAMCgtBAC0AxNOAgABBBHENBAJAAkACQEEAKAKg0ICAACIERQ0AQcjTgIAAIQMDQAJAIAMoAgAiBSAESw0AIAUgAygCBGogBEsNAwsgAygCCCIDDQALC0EAEMuAgIAAIgBBf0YNBSAIIQYCQEEAKALk04CAACIDQX9qIgQgAHFFDQAgCCAAayAEIABqQQAgA2txaiEGCyAGIAJNDQUgBkH+////B0sNBQJAQQAoAsDTgIAAIgNFDQBBACgCuNOAgAAiBCAGaiIFIARNDQYgBSADSw0GCyAGEMuAgIAAIgMgAEcNAQwHCyAGIABrIAtxIgZB/v///wdLDQQgBhDLgICAACIAIAMoAgAgAygCBGpGDQMgACEDCwJAIANBf0YNACACQcgAaiAGTQ0AAkAgByAGa0EAKALo04CAACIEakEAIARrcSIEQf7///8HTQ0AIAMhAAwHCwJAIAQQy4CAgABBf0YNACAEIAZqIQYgAyEADAcLQQAgBmsQy4CAgAAaDAQLIAMhACADQX9HDQUMAwtBACEIDAcLQQAhAAwFCyAAQX9HDQILQQBBACgCxNOAgABBBHI2AsTTgIAACyAIQf7///8HSw0BIAgQy4CAgAAhAEEAEMuAgIAAIQMgAEF/Rg0BIANBf0YNASAAIANPDQEgAyAAayIGIAJBOGpNDQELQQBBACgCuNOAgAAgBmoiAzYCuNOAgAACQCADQQAoArzTgIAATQ0AQQAgAzYCvNOAgAALAkACQAJAAkBBACgCoNCAgAAiBEUNAEHI04CAACEDA0AgACADKAIAIgUgAygCBCIIakYNAiADKAIIIgMNAAwDCwsCQAJAQQAoApjQgIAAIgNFDQAgACADTw0BC0EAIAA2ApjQgIAAC0EAIQNBACAGNgLM04CAAEEAIAA2AsjTgIAAQQBBfzYCqNCAgABBAEEAKALg04CAADYCrNCAgABBAEEANgLU04CAAANAIANBxNCAgABqIANBuNCAgABqIgQ2AgAgBCADQbDQgIAAaiIFNgIAIANBvNCAgABqIAU2AgAgA0HM0ICAAGogA0HA0ICAAGoiBTYCACAFIAQ2AgAgA0HU0ICAAGogA0HI0ICAAGoiBDYCACAEIAU2AgAgA0HQ0ICAAGogBDYCACADQSBqIgNBgAJHDQALIABBeCAAa0EPcUEAIABBCGpBD3EbIgNqIgQgBkFIaiIFIANrIgNBAXI2AgRBAEEAKALw04CAADYCpNCAgABBACADNgKU0ICAAEEAIAQ2AqDQgIAAIAAgBWpBODYCBAwCCyADLQAMQQhxDQAgBCAFSQ0AIAQgAE8NACAEQXggBGtBD3FBACAEQQhqQQ9xGyIFaiIAQQAoApTQgIAAIAZqIgsgBWsiBUEBcjYCBCADIAggBmo2AgRBAEEAKALw04CAADYCpNCAgABBACAFNgKU0ICAAEEAIAA2AqDQgIAAIAQgC2pBODYCBAwBCwJAIABBACgCmNCAgAAiCE8NAEEAIAA2ApjQgIAAIAAhCAsgACAGaiEFQcjTgIAAIQMCQAJAAkACQAJAAkACQANAIAMoAgAgBUYNASADKAIIIgMNAAwCCwsgAy0ADEEIcUUNAQtByNOAgAAhAwNAAkAgAygCACIFIARLDQAgBSADKAIEaiIFIARLDQMLIAMoAgghAwwACwsgAyAANgIAIAMgAygCBCAGajYCBCAAQXggAGtBD3FBACAAQQhqQQ9xG2oiCyACQQNyNgIEIAVBeCAFa0EPcUEAIAVBCGpBD3EbaiIGIAsgAmoiAmshAwJAIAYgBEcNAEEAIAI2AqDQgIAAQQBBACgClNCAgAAgA2oiAzYClNCAgAAgAiADQQFyNgIEDAMLAkAgBkEAKAKc0ICAAEcNAEEAIAI2ApzQgIAAQQBBACgCkNCAgAAgA2oiAzYCkNCAgAAgAiADQQFyNgIEIAIgA2ogAzYCAAwDCwJAIAYoAgQiBEEDcUEBRw0AIARBeHEhBwJAAkAgBEH/AUsNACAGKAIIIgUgBEEDdiIIQQN0QbDQgIAAaiIARhoCQCAGKAIMIgQgBUcNAEEAQQAoAojQgIAAQX4gCHdxNgKI0ICAAAwCCyAEIABGGiAEIAU2AgggBSAENgIMDAELIAYoAhghCQJAAkAgBigCDCIAIAZGDQAgBigCCCIEIAhJGiAAIAQ2AgggBCAANgIMDAELAkAgBkEUaiIEKAIAIgUNACAGQRBqIgQoAgAiBQ0AQQAhAAwBCwNAIAQhCCAFIgBBFGoiBCgCACIFDQAgAEEQaiEEIAAoAhAiBQ0ACyAIQQA2AgALIAlFDQACQAJAIAYgBigCHCIFQQJ0QbjSgIAAaiIEKAIARw0AIAQgADYCACAADQFBAEEAKAKM0ICAAEF+IAV3cTYCjNCAgAAMAgsgCUEQQRQgCSgCECAGRhtqIAA2AgAgAEUNAQsgACAJNgIYAkAgBigCECIERQ0AIAAgBDYCECAEIAA2AhgLIAYoAhQiBEUNACAAQRRqIAQ2AgAgBCAANgIYCyAHIANqIQMgBiAHaiIGKAIEIQQLIAYgBEF+cTYCBCACIANqIAM2AgAgAiADQQFyNgIEAkAgA0H/AUsNACADQXhxQbDQgIAAaiEEAkACQEEAKAKI0ICAACIFQQEgA0EDdnQiA3ENAEEAIAUgA3I2AojQgIAAIAQhAwwBCyAEKAIIIQMLIAMgAjYCDCAEIAI2AgggAiAENgIMIAIgAzYCCAwDC0EfIQQCQCADQf///wdLDQAgA0EIdiIEIARBgP4/akEQdkEIcSIEdCIFIAVBgOAfakEQdkEEcSIFdCIAIABBgIAPakEQdkECcSIAdEEPdiAEIAVyIAByayIEQQF0IAMgBEEVanZBAXFyQRxqIQQLIAIgBDYCHCACQgA3AhAgBEECdEG40oCAAGohBQJAQQAoAozQgIAAIgBBASAEdCIIcQ0AIAUgAjYCAEEAIAAgCHI2AozQgIAAIAIgBTYCGCACIAI2AgggAiACNgIMDAMLIANBAEEZIARBAXZrIARBH0YbdCEEIAUoAgAhAANAIAAiBSgCBEF4cSADRg0CIARBHXYhACAEQQF0IQQgBSAAQQRxakEQaiIIKAIAIgANAAsgCCACNgIAIAIgBTYCGCACIAI2AgwgAiACNgIIDAILIABBeCAAa0EPcUEAIABBCGpBD3EbIgNqIgsgBkFIaiIIIANrIgNBAXI2AgQgACAIakE4NgIEIAQgBUE3IAVrQQ9xQQAgBUFJakEPcRtqQUFqIgggCCAEQRBqSRsiCEEjNgIEQQBBACgC8NOAgAA2AqTQgIAAQQAgAzYClNCAgABBACALNgKg0ICAACAIQRBqQQApAtDTgIAANwIAIAhBACkCyNOAgAA3AghBACAIQQhqNgLQ04CAAEEAIAY2AszTgIAAQQAgADYCyNOAgABBAEEANgLU04CAACAIQSRqIQMDQCADQQc2AgAgA0EEaiIDIAVJDQALIAggBEYNAyAIIAgoAgRBfnE2AgQgCCAIIARrIgA2AgAgBCAAQQFyNgIEAkAgAEH/AUsNACAAQXhxQbDQgIAAaiEDAkACQEEAKAKI0ICAACIFQQEgAEEDdnQiAHENAEEAIAUgAHI2AojQgIAAIAMhBQwBCyADKAIIIQULIAUgBDYCDCADIAQ2AgggBCADNgIMIAQgBTYCCAwEC0EfIQMCQCAAQf///wdLDQAgAEEIdiIDIANBgP4/akEQdkEIcSIDdCIFIAVBgOAfakEQdkEEcSIFdCIIIAhBgIAPakEQdkECcSIIdEEPdiADIAVyIAhyayIDQQF0IAAgA0EVanZBAXFyQRxqIQMLIAQgAzYCHCAEQgA3AhAgA0ECdEG40oCAAGohBQJAQQAoAozQgIAAIghBASADdCIGcQ0AIAUgBDYCAEEAIAggBnI2AozQgIAAIAQgBTYCGCAEIAQ2AgggBCAENgIMDAQLIABBAEEZIANBAXZrIANBH0YbdCEDIAUoAgAhCANAIAgiBSgCBEF4cSAARg0DIANBHXYhCCADQQF0IQMgBSAIQQRxakEQaiIGKAIAIggNAAsgBiAENgIAIAQgBTYCGCAEIAQ2AgwgBCAENgIIDAMLIAUoAggiAyACNgIMIAUgAjYCCCACQQA2AhggAiAFNgIMIAIgAzYCCAsgC0EIaiEDDAULIAUoAggiAyAENgIMIAUgBDYCCCAEQQA2AhggBCAFNgIMIAQgAzYCCAtBACgClNCAgAAiAyACTQ0AQQAoAqDQgIAAIgQgAmoiBSADIAJrIgNBAXI2AgRBACADNgKU0ICAAEEAIAU2AqDQgIAAIAQgAkEDcjYCBCAEQQhqIQMMAwtBACEDQQBBMDYC+NOAgAAMAgsCQCALRQ0AAkACQCAIIAgoAhwiBUECdEG40oCAAGoiAygCAEcNACADIAA2AgAgAA0BQQAgB0F+IAV3cSIHNgKM0ICAAAwCCyALQRBBFCALKAIQIAhGG2ogADYCACAARQ0BCyAAIAs2AhgCQCAIKAIQIgNFDQAgACADNgIQIAMgADYCGAsgCEEUaigCACIDRQ0AIABBFGogAzYCACADIAA2AhgLAkACQCAEQQ9LDQAgCCAEIAJqIgNBA3I2AgQgCCADaiIDIAMoAgRBAXI2AgQMAQsgCCACaiIAIARBAXI2AgQgCCACQQNyNgIEIAAgBGogBDYCAAJAIARB/wFLDQAgBEF4cUGw0ICAAGohAwJAAkBBACgCiNCAgAAiBUEBIARBA3Z0IgRxDQBBACAFIARyNgKI0ICAACADIQQMAQsgAygCCCEECyAEIAA2AgwgAyAANgIIIAAgAzYCDCAAIAQ2AggMAQtBHyEDAkAgBEH///8HSw0AIARBCHYiAyADQYD+P2pBEHZBCHEiA3QiBSAFQYDgH2pBEHZBBHEiBXQiAiACQYCAD2pBEHZBAnEiAnRBD3YgAyAFciACcmsiA0EBdCAEIANBFWp2QQFxckEcaiEDCyAAIAM2AhwgAEIANwIQIANBAnRBuNKAgABqIQUCQCAHQQEgA3QiAnENACAFIAA2AgBBACAHIAJyNgKM0ICAACAAIAU2AhggACAANgIIIAAgADYCDAwBCyAEQQBBGSADQQF2ayADQR9GG3QhAyAFKAIAIQICQANAIAIiBSgCBEF4cSAERg0BIANBHXYhAiADQQF0IQMgBSACQQRxakEQaiIGKAIAIgINAAsgBiAANgIAIAAgBTYCGCAAIAA2AgwgACAANgIIDAELIAUoAggiAyAANgIMIAUgADYCCCAAQQA2AhggACAFNgIMIAAgAzYCCAsgCEEIaiEDDAELAkAgCkUNAAJAAkAgACAAKAIcIgVBAnRBuNKAgABqIgMoAgBHDQAgAyAINgIAIAgNAUEAIAlBfiAFd3E2AozQgIAADAILIApBEEEUIAooAhAgAEYbaiAINgIAIAhFDQELIAggCjYCGAJAIAAoAhAiA0UNACAIIAM2AhAgAyAINgIYCyAAQRRqKAIAIgNFDQAgCEEUaiADNgIAIAMgCDYCGAsCQAJAIARBD0sNACAAIAQgAmoiA0EDcjYCBCAAIANqIgMgAygCBEEBcjYCBAwBCyAAIAJqIgUgBEEBcjYCBCAAIAJBA3I2AgQgBSAEaiAENgIAAkAgB0UNACAHQXhxQbDQgIAAaiECQQAoApzQgIAAIQMCQAJAQQEgB0EDdnQiCCAGcQ0AQQAgCCAGcjYCiNCAgAAgAiEIDAELIAIoAgghCAsgCCADNgIMIAIgAzYCCCADIAI2AgwgAyAINgIIC0EAIAU2ApzQgIAAQQAgBDYCkNCAgAALIABBCGohAwsgAUEQaiSAgICAACADCwoAIAAQyYCAgAAL4g0BB38CQCAARQ0AIABBeGoiASAAQXxqKAIAIgJBeHEiAGohAwJAIAJBAXENACACQQNxRQ0BIAEgASgCACICayIBQQAoApjQgIAAIgRJDQEgAiAAaiEAAkAgAUEAKAKc0ICAAEYNAAJAIAJB/wFLDQAgASgCCCIEIAJBA3YiBUEDdEGw0ICAAGoiBkYaAkAgASgCDCICIARHDQBBAEEAKAKI0ICAAEF+IAV3cTYCiNCAgAAMAwsgAiAGRhogAiAENgIIIAQgAjYCDAwCCyABKAIYIQcCQAJAIAEoAgwiBiABRg0AIAEoAggiAiAESRogBiACNgIIIAIgBjYCDAwBCwJAIAFBFGoiAigCACIEDQAgAUEQaiICKAIAIgQNAEEAIQYMAQsDQCACIQUgBCIGQRRqIgIoAgAiBA0AIAZBEGohAiAGKAIQIgQNAAsgBUEANgIACyAHRQ0BAkACQCABIAEoAhwiBEECdEG40oCAAGoiAigCAEcNACACIAY2AgAgBg0BQQBBACgCjNCAgABBfiAEd3E2AozQgIAADAMLIAdBEEEUIAcoAhAgAUYbaiAGNgIAIAZFDQILIAYgBzYCGAJAIAEoAhAiAkUNACAGIAI2AhAgAiAGNgIYCyABKAIUIgJFDQEgBkEUaiACNgIAIAIgBjYCGAwBCyADKAIEIgJBA3FBA0cNACADIAJBfnE2AgRBACAANgKQ0ICAACABIABqIAA2AgAgASAAQQFyNgIEDwsgASADTw0AIAMoAgQiAkEBcUUNAAJAAkAgAkECcQ0AAkAgA0EAKAKg0ICAAEcNAEEAIAE2AqDQgIAAQQBBACgClNCAgAAgAGoiADYClNCAgAAgASAAQQFyNgIEIAFBACgCnNCAgABHDQNBAEEANgKQ0ICAAEEAQQA2ApzQgIAADwsCQCADQQAoApzQgIAARw0AQQAgATYCnNCAgABBAEEAKAKQ0ICAACAAaiIANgKQ0ICAACABIABBAXI2AgQgASAAaiAANgIADwsgAkF4cSAAaiEAAkACQCACQf8BSw0AIAMoAggiBCACQQN2IgVBA3RBsNCAgABqIgZGGgJAIAMoAgwiAiAERw0AQQBBACgCiNCAgABBfiAFd3E2AojQgIAADAILIAIgBkYaIAIgBDYCCCAEIAI2AgwMAQsgAygCGCEHAkACQCADKAIMIgYgA0YNACADKAIIIgJBACgCmNCAgABJGiAGIAI2AgggAiAGNgIMDAELAkAgA0EUaiICKAIAIgQNACADQRBqIgIoAgAiBA0AQQAhBgwBCwNAIAIhBSAEIgZBFGoiAigCACIEDQAgBkEQaiECIAYoAhAiBA0ACyAFQQA2AgALIAdFDQACQAJAIAMgAygCHCIEQQJ0QbjSgIAAaiICKAIARw0AIAIgBjYCACAGDQFBAEEAKAKM0ICAAEF+IAR3cTYCjNCAgAAMAgsgB0EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIAMoAhQiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABqIAA2AgAgASAAQQFyNgIEIAFBACgCnNCAgABHDQFBACAANgKQ0ICAAA8LIAMgAkF+cTYCBCABIABqIAA2AgAgASAAQQFyNgIECwJAIABB/wFLDQAgAEF4cUGw0ICAAGohAgJAAkBBACgCiNCAgAAiBEEBIABBA3Z0IgBxDQBBACAEIAByNgKI0ICAACACIQAMAQsgAigCCCEACyAAIAE2AgwgAiABNgIIIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEIdiICIAJBgP4/akEQdkEIcSICdCIEIARBgOAfakEQdkEEcSIEdCIGIAZBgIAPakEQdkECcSIGdEEPdiACIARyIAZyayICQQF0IAAgAkEVanZBAXFyQRxqIQILIAEgAjYCHCABQgA3AhAgAkECdEG40oCAAGohBAJAAkBBACgCjNCAgAAiBkEBIAJ0IgNxDQAgBCABNgIAQQAgBiADcjYCjNCAgAAgASAENgIYIAEgATYCCCABIAE2AgwMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGAkADQCAGIgQoAgRBeHEgAEYNASACQR12IQYgAkEBdCECIAQgBkEEcWpBEGoiAygCACIGDQALIAMgATYCACABIAQ2AhggASABNgIMIAEgATYCCAwBCyAEKAIIIgAgATYCDCAEIAE2AgggAUEANgIYIAEgBDYCDCABIAA2AggLQQBBACgCqNCAgABBf2oiAUF/IAEbNgKo0ICAAAsLBAAAAAtOAAJAIAANAD8AQRB0DwsCQCAAQf//A3ENACAAQX9MDQACQCAAQRB2QAAiAEF/Rw0AQQBBMDYC+NOAgABBfw8LIABBEHQPCxDKgICAAAAL8gICA38BfgJAIAJFDQAgACABOgAAIAIgAGoiA0F/aiABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBfWogAToAACADQX5qIAE6AAAgAkEHSQ0AIAAgAToAAyADQXxqIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIFayICQSBJDQAgAa1CgYCAgBB+IQYgAyAFaiEBA0AgASAGNwMYIAEgBjcDECABIAY3AwggASAGNwMAIAFBIGohASACQWBqIgJBH0sNAAsLIAALC45IAQBBgAgLhkgBAAAAAgAAAAMAAAAAAAAAAAAAAAQAAAAFAAAAAAAAAAAAAAAGAAAABwAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEludmFsaWQgY2hhciBpbiB1cmwgcXVlcnkAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9ib2R5AENvbnRlbnQtTGVuZ3RoIG92ZXJmbG93AENodW5rIHNpemUgb3ZlcmZsb3cAUmVzcG9uc2Ugb3ZlcmZsb3cASW52YWxpZCBtZXRob2QgZm9yIEhUVFAveC54IHJlcXVlc3QASW52YWxpZCBtZXRob2QgZm9yIFJUU1AveC54IHJlcXVlc3QARXhwZWN0ZWQgU09VUkNFIG1ldGhvZCBmb3IgSUNFL3gueCByZXF1ZXN0AEludmFsaWQgY2hhciBpbiB1cmwgZnJhZ21lbnQgc3RhcnQARXhwZWN0ZWQgZG90AFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fc3RhdHVzAEludmFsaWQgcmVzcG9uc2Ugc3RhdHVzAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMAVXNlciBjYWxsYmFjayBlcnJvcgBgb25fcmVzZXRgIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19oZWFkZXJgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2JlZ2luYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlYCBjYWxsYmFjayBlcnJvcgBgb25fc3RhdHVzX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdmVyc2lvbl9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3VybF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWVzc2FnZV9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX21ldGhvZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lYCBjYWxsYmFjayBlcnJvcgBVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNlcnZlcgBJbnZhbGlkIGhlYWRlciB2YWx1ZSBjaGFyAEludmFsaWQgaGVhZGVyIGZpZWxkIGNoYXIAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl92ZXJzaW9uAEludmFsaWQgbWlub3IgdmVyc2lvbgBJbnZhbGlkIG1ham9yIHZlcnNpb24ARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgdmVyc2lvbgBFeHBlY3RlZCBDUkxGIGFmdGVyIHZlcnNpb24ASW52YWxpZCBIVFRQIHZlcnNpb24ASW52YWxpZCBoZWFkZXIgdG9rZW4AU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl91cmwASW52YWxpZCBjaGFyYWN0ZXJzIGluIHVybABVbmV4cGVjdGVkIHN0YXJ0IGNoYXIgaW4gdXJsAERvdWJsZSBAIGluIHVybABFbXB0eSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXJhY3RlciBpbiBDb250ZW50LUxlbmd0aABEdXBsaWNhdGUgQ29udGVudC1MZW5ndGgASW52YWxpZCBjaGFyIGluIHVybCBwYXRoAENvbnRlbnQtTGVuZ3RoIGNhbid0IGJlIHByZXNlbnQgd2l0aCBUcmFuc2Zlci1FbmNvZGluZwBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBzaXplAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX3ZhbHVlAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgdmFsdWUATWlzc2luZyBleHBlY3RlZCBMRiBhZnRlciBoZWFkZXIgdmFsdWUASW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHF1b3RlIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGVkIHZhbHVlAFBhdXNlZCBieSBvbl9oZWFkZXJzX2NvbXBsZXRlAEludmFsaWQgRU9GIHN0YXRlAG9uX3Jlc2V0IHBhdXNlAG9uX2NodW5rX2hlYWRlciBwYXVzZQBvbl9tZXNzYWdlX2JlZ2luIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZSBwYXVzZQBvbl9zdGF0dXNfY29tcGxldGUgcGF1c2UAb25fdmVyc2lvbl9jb21wbGV0ZSBwYXVzZQBvbl91cmxfY29tcGxldGUgcGF1c2UAb25fY2h1bmtfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlIHBhdXNlAG9uX21lc3NhZ2VfY29tcGxldGUgcGF1c2UAb25fbWV0aG9kX2NvbXBsZXRlIHBhdXNlAG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19leHRlbnNpb25fbmFtZSBwYXVzZQBVbmV4cGVjdGVkIHNwYWNlIGFmdGVyIHN0YXJ0IGxpbmUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fbmFtZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIG5hbWUAUGF1c2Ugb24gQ09OTkVDVC9VcGdyYWRlAFBhdXNlIG9uIFBSSS9VcGdyYWRlAEV4cGVjdGVkIEhUVFAvMiBDb25uZWN0aW9uIFByZWZhY2UAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9tZXRob2QARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgbWV0aG9kAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX2ZpZWxkAFBhdXNlZABJbnZhbGlkIHdvcmQgZW5jb3VudGVyZWQASW52YWxpZCBtZXRob2QgZW5jb3VudGVyZWQAVW5leHBlY3RlZCBjaGFyIGluIHVybCBzY2hlbWEAUmVxdWVzdCBoYXMgaW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgAFNXSVRDSF9QUk9YWQBVU0VfUFJPWFkATUtBQ1RJVklUWQBVTlBST0NFU1NBQkxFX0VOVElUWQBDT1BZAE1PVkVEX1BFUk1BTkVOVExZAFRPT19FQVJMWQBOT1RJRlkARkFJTEVEX0RFUEVOREVOQ1kAQkFEX0dBVEVXQVkAUExBWQBQVVQAQ0hFQ0tPVVQAR0FURVdBWV9USU1FT1VUAFJFUVVFU1RfVElNRU9VVABORVRXT1JLX0NPTk5FQ1RfVElNRU9VVABDT05ORUNUSU9OX1RJTUVPVVQATE9HSU5fVElNRU9VVABORVRXT1JLX1JFQURfVElNRU9VVABQT1NUAE1JU0RJUkVDVEVEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9SRVFVRVNUAENMSUVOVF9DTE9TRURfTE9BRF9CQUxBTkNFRF9SRVFVRVNUAEJBRF9SRVFVRVNUAEhUVFBfUkVRVUVTVF9TRU5UX1RPX0hUVFBTX1BPUlQAUkVQT1JUAElNX0FfVEVBUE9UAFJFU0VUX0NPTlRFTlQATk9fQ09OVEVOVABQQVJUSUFMX0NPTlRFTlQASFBFX0lOVkFMSURfQ09OU1RBTlQASFBFX0NCX1JFU0VUAEdFVABIUEVfU1RSSUNUAENPTkZMSUNUAFRFTVBPUkFSWV9SRURJUkVDVABQRVJNQU5FTlRfUkVESVJFQ1QAQ09OTkVDVABNVUxUSV9TVEFUVVMASFBFX0lOVkFMSURfU1RBVFVTAFRPT19NQU5ZX1JFUVVFU1RTAEVBUkxZX0hJTlRTAFVOQVZBSUxBQkxFX0ZPUl9MRUdBTF9SRUFTT05TAE9QVElPTlMAU1dJVENISU5HX1BST1RPQ09MUwBWQVJJQU5UX0FMU09fTkVHT1RJQVRFUwBNVUxUSVBMRV9DSE9JQ0VTAElOVEVSTkFMX1NFUlZFUl9FUlJPUgBXRUJfU0VSVkVSX1VOS05PV05fRVJST1IAUkFJTEdVTl9FUlJPUgBJREVOVElUWV9QUk9WSURFUl9BVVRIRU5USUNBVElPTl9FUlJPUgBTU0xfQ0VSVElGSUNBVEVfRVJST1IASU5WQUxJRF9YX0ZPUldBUkRFRF9GT1IAU0VUX1BBUkFNRVRFUgBHRVRfUEFSQU1FVEVSAEhQRV9VU0VSAFNFRV9PVEhFUgBIUEVfQ0JfQ0hVTktfSEVBREVSAE1LQ0FMRU5EQVIAU0VUVVAAV0VCX1NFUlZFUl9JU19ET1dOAFRFQVJET1dOAEhQRV9DTE9TRURfQ09OTkVDVElPTgBIRVVSSVNUSUNfRVhQSVJBVElPTgBESVNDT05ORUNURURfT1BFUkFUSU9OAE5PTl9BVVRIT1JJVEFUSVZFX0lORk9STUFUSU9OAEhQRV9JTlZBTElEX1ZFUlNJT04ASFBFX0NCX01FU1NBR0VfQkVHSU4AU0lURV9JU19GUk9aRU4ASFBFX0lOVkFMSURfSEVBREVSX1RPS0VOAElOVkFMSURfVE9LRU4ARk9SQklEREVOAEVOSEFOQ0VfWU9VUl9DQUxNAEhQRV9JTlZBTElEX1VSTABCTE9DS0VEX0JZX1BBUkVOVEFMX0NPTlRST0wATUtDT0wAQUNMAEhQRV9JTlRFUk5BTABSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFX1VOT0ZGSUNJQUwASFBFX09LAFVOTElOSwBVTkxPQ0sAUFJJAFJFVFJZX1dJVEgASFBFX0lOVkFMSURfQ09OVEVOVF9MRU5HVEgASFBFX1VORVhQRUNURURfQ09OVEVOVF9MRU5HVEgARkxVU0gAUFJPUFBBVENIAE0tU0VBUkNIAFVSSV9UT09fTE9ORwBQUk9DRVNTSU5HAE1JU0NFTExBTkVPVVNfUEVSU0lTVEVOVF9XQVJOSU5HAE1JU0NFTExBTkVPVVNfV0FSTklORwBIUEVfSU5WQUxJRF9UUkFOU0ZFUl9FTkNPRElORwBFeHBlY3RlZCBDUkxGAEhQRV9JTlZBTElEX0NIVU5LX1NJWkUATU9WRQBDT05USU5VRQBIUEVfQ0JfU1RBVFVTX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJTX0NPTVBMRVRFAEhQRV9DQl9WRVJTSU9OX0NPTVBMRVRFAEhQRV9DQl9VUkxfQ09NUExFVEUASFBFX0NCX0NIVU5LX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfVkFMVUVfQ09NUExFVEUASFBFX0NCX0NIVU5LX0VYVEVOU0lPTl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX05BTUVfQ09NUExFVEUASFBFX0NCX01FU1NBR0VfQ09NUExFVEUASFBFX0NCX01FVEhPRF9DT01QTEVURQBIUEVfQ0JfSEVBREVSX0ZJRUxEX0NPTVBMRVRFAERFTEVURQBIUEVfSU5WQUxJRF9FT0ZfU1RBVEUASU5WQUxJRF9TU0xfQ0VSVElGSUNBVEUAUEFVU0UATk9fUkVTUE9OU0UAVU5TVVBQT1JURURfTUVESUFfVFlQRQBHT05FAE5PVF9BQ0NFUFRBQkxFAFNFUlZJQ0VfVU5BVkFJTEFCTEUAUkFOR0VfTk9UX1NBVElTRklBQkxFAE9SSUdJTl9JU19VTlJFQUNIQUJMRQBSRVNQT05TRV9JU19TVEFMRQBQVVJHRQBNRVJHRQBSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFAFJFUVVFU1RfSEVBREVSX1RPT19MQVJHRQBQQVlMT0FEX1RPT19MQVJHRQBJTlNVRkZJQ0lFTlRfU1RPUkFHRQBIUEVfUEFVU0VEX1VQR1JBREUASFBFX1BBVVNFRF9IMl9VUEdSQURFAFNPVVJDRQBBTk5PVU5DRQBUUkFDRQBIUEVfVU5FWFBFQ1RFRF9TUEFDRQBERVNDUklCRQBVTlNVQlNDUklCRQBSRUNPUkQASFBFX0lOVkFMSURfTUVUSE9EAE5PVF9GT1VORABQUk9QRklORABVTkJJTkQAUkVCSU5EAFVOQVVUSE9SSVpFRABNRVRIT0RfTk9UX0FMTE9XRUQASFRUUF9WRVJTSU9OX05PVF9TVVBQT1JURUQAQUxSRUFEWV9SRVBPUlRFRABBQ0NFUFRFRABOT1RfSU1QTEVNRU5URUQATE9PUF9ERVRFQ1RFRABIUEVfQ1JfRVhQRUNURUQASFBFX0xGX0VYUEVDVEVEAENSRUFURUQASU1fVVNFRABIUEVfUEFVU0VEAFRJTUVPVVRfT0NDVVJFRABQQVlNRU5UX1JFUVVJUkVEAFBSRUNPTkRJVElPTl9SRVFVSVJFRABQUk9YWV9BVVRIRU5USUNBVElPTl9SRVFVSVJFRABORVRXT1JLX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAExFTkdUSF9SRVFVSVJFRABTU0xfQ0VSVElGSUNBVEVfUkVRVUlSRUQAVVBHUkFERV9SRVFVSVJFRABQQUdFX0VYUElSRUQAUFJFQ09ORElUSU9OX0ZBSUxFRABFWFBFQ1RBVElPTl9GQUlMRUQAUkVWQUxJREFUSU9OX0ZBSUxFRABTU0xfSEFORFNIQUtFX0ZBSUxFRABMT0NLRUQAVFJBTlNGT1JNQVRJT05fQVBQTElFRABOT1RfTU9ESUZJRUQATk9UX0VYVEVOREVEAEJBTkRXSURUSF9MSU1JVF9FWENFRURFRABTSVRFX0lTX09WRVJMT0FERUQASEVBRABFeHBlY3RlZCBIVFRQLwAAXhMAACYTAAAwEAAA8BcAAJ0TAAAVEgAAORcAAPASAAAKEAAAdRIAAK0SAACCEwAATxQAAH8QAACgFQAAIxQAAIkSAACLFAAATRUAANQRAADPFAAAEBgAAMkWAADcFgAAwREAAOAXAAC7FAAAdBQAAHwVAADlFAAACBcAAB8QAABlFQAAoxQAACgVAAACFQAAmRUAACwQAACLGQAATw8AANQOAABqEAAAzhAAAAIXAACJDgAAbhMAABwTAABmFAAAVhcAAMETAADNEwAAbBMAAGgXAABmFwAAXxcAACITAADODwAAaQ4AANgOAABjFgAAyxMAAKoOAAAoFwAAJhcAAMUTAABdFgAA6BEAAGcTAABlEwAA8hYAAHMTAAAdFwAA+RYAAPMRAADPDgAAzhUAAAwSAACzEQAApREAAGEQAAAyFwAAuxMAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIDAgICAgIAAAICAAICAAICAgICAgICAgIABAAAAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAACAAICAgICAAACAgACAgACAgICAgICAgICAAMABAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbG9zZWVlcC1hbGl2ZQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBY2h1bmtlZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEAAAEBAAEBAAEBAQEBAQEBAQEAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlY3Rpb25lbnQtbGVuZ3Rob25yb3h5LWNvbm5lY3Rpb24AAAAAAAAAAAAAAAAAAAByYW5zZmVyLWVuY29kaW5ncGdyYWRlDQoNCg0KU00NCg0KVFRQL0NFL1RTUC8AAAAAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQIAAQMAAAAAAAAAAAAAAAAAAAAAAAAEAQEFAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAQAAAgAAAAAAAAAAAAAAAAAAAAAAAAMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAIAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABOT1VOQ0VFQ0tPVVRORUNURVRFQ1JJQkVMVVNIRVRFQURTRUFSQ0hSR0VDVElWSVRZTEVOREFSVkVPVElGWVBUSU9OU0NIU0VBWVNUQVRDSEdFT1JESVJFQ1RPUlRSQ0hQQVJBTUVURVJVUkNFQlNDUklCRUFSRE9XTkFDRUlORE5LQ0tVQlNDUklCRUhUVFAvQURUUC8="},7266:A=>{A.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJsbGh0dHBfc3RhdHVzX25hbWUAIRpsbGh0dHBfc2V0X2xlbmllbnRfaGVhZGVycwAiIWxsaHR0cF9zZXRfbGVuaWVudF9jaHVua2VkX2xlbmd0aAAjHWxsaHR0cF9zZXRfbGVuaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCrLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0Hhp4CAAA8LQaShgIAADwtBy6yAgAAPC0H+sYCAAA8LQcCkgIAADwtBq6SAgAAPC0GNqICAAA8LQeKmgIAADwtBgLCAgAAPC0G5r4CAAA8LQdekgIAADwtB75+AgAAPC0Hhn4CAAA8LQfqfgIAADwtB8qCAgAAPC0Gor4CAAA8LQa6ygIAADwtBiLCAgAAPC0Hsp4CAAA8LQYKigIAADwtBjp2AgAAPC0HQroCAAA8LQcqjgIAADwtBxbKAgAAPC0HfnICAAA8LQdKcgIAADwtBxKCAgAAPC0HXoICAAA8LQaKfgIAADwtB7a6AgAAPC0GrsICAAA8LQdSlgIAADwtBzK6AgAAPC0H6roCAAA8LQfyrgIAADwtB0rCAgAAPC0HxnYCAAA8LQbuggIAADwtB96uAgAAPC0GQsYCAAA8LQdexgIAADwtBoq2AgAAPC0HUp4CAAA8LQeCrgIAADwtBn6yAgAAPC0HrsYCAAA8LQdWfgIAADwtByrGAgAAPC0HepYCAAA8LQdSegIAADwtB9JyAgAAPC0GnsoCAAA8LQbGdgIAADwtBoJ2AgAAPC0G5sYCAAA8LQbywgIAADwtBkqGAgAAPC0GzpoCAAA8LQemsgIAADwtBrJ6AgAAPC0HUq4CAAA8LQfemgIAADwtBgKaAgAAPC0GwoYCAAA8LQf6egIAADwtBjaOAgAAPC0GJrYCAAA8LQfeigIAADwtBoLGAgAAPC0Gun4CAAA8LQcalgIAADwtB6J6AgAAPC0GTooCAAA8LQcKvgIAADwtBw52AgAAPC0GLrICAAA8LQeGdgIAADwtBja+AgAAPC0HqoYCAAA8LQbStgIAADwtB0q+AgAAPC0HfsoCAAA8LQdKygIAADwtB8LCAgAAPC0GpooCAAA8LQfmjgIAADwtBmZ6AgAAPC0G1rICAAA8LQZuwgIAADwtBkrKAgAAPC0G2q4CAAA8LQcKigIAADwtB+LKAgAAPC0GepYCAAA8LQdCigIAADwtBup6AgAAPC0GBnoCAAA8LEMqAgIAAAAtB1qGAgAAhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAgAiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCBCIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQcaRgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIwIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAggiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2ioCAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCNCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIMIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZqAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAjgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCECIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZWQgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAI8IgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAhQiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEGqm4CAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCQCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIYIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZOAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCJCIERQ0AIAAgBBGAgICAAAAhAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIsIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAigiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2iICAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCUCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIcIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABBwpmAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCICIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZSUgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAJMIgRFDQAgACAEEYCAgIAAACEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAlQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCWCIERQ0AIAAgBBGAgICAAAAhAwsgAwtFAQF/AkACQCAALwEwQRRxQRRHDQBBASEDIAAtAChBAUYNASAALwEyQeUARiEDDAELIAAtAClBBUYhAwsgACADOgAuQQAL/gEBA39BASEDAkAgAC8BMCIEQQhxDQAgACkDIEIAUiEDCwJAAkAgAC0ALkUNAEEBIQUgAC0AKUEFRg0BQQEhBSAEQcAAcUUgA3FBAUcNAQtBACEFIARBwABxDQBBAiEFIARB//8DcSIDQQhxDQACQCADQYAEcUUNAAJAIAAtAChBAUcNACAALQAtQQpxDQBBBQ8LQQQPCwJAIANBIHENAAJAIAAtAChBAUYNACAALwEyQf//A3EiAEGcf2pB5ABJDQAgAEHMAUYNACAAQbACRg0AQQQhBSAEQShxRQ0CIANBiARxQYAERg0CC0EADwtBAEEDIAApAyBQGyEFCyAFC2IBAn9BACEBAkAgAC0AKEEBRg0AIAAvATJB//8DcSICQZx/akHkAEkNACACQcwBRg0AIAJBsAJGDQAgAC8BMCIAQcAAcQ0AQQEhASAAQYgEcUGABEYNACAAQShxRSEBCyABC6cBAQN/AkACQAJAIAAtACpFDQAgAC0AK0UNAEEAIQMgAC8BMCIEQQJxRQ0BDAILQQAhAyAALwEwIgRBAXFFDQELQQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AcsBygG4AckBuQHIAboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBANwBC0EAIRAMxgELQQ4hEAzFAQtBDSEQDMQBC0EPIRAMwwELQRAhEAzCAQtBEyEQDMEBC0EUIRAMwAELQRUhEAy/AQtBFiEQDL4BC0EXIRAMvQELQRghEAy8AQtBGSEQDLsBC0EaIRAMugELQRshEAy5AQtBHCEQDLgBC0EIIRAMtwELQR0hEAy2AQtBICEQDLUBC0EfIRAMtAELQQchEAyzAQtBISEQDLIBC0EiIRAMsQELQR4hEAywAQtBIyEQDK8BC0ESIRAMrgELQREhEAytAQtBJCEQDKwBC0ElIRAMqwELQSYhEAyqAQtBJyEQDKkBC0HDASEQDKgBC0EpIRAMpwELQSshEAymAQtBLCEQDKUBC0EtIRAMpAELQS4hEAyjAQtBLyEQDKIBC0HEASEQDKEBC0EwIRAMoAELQTQhEAyfAQtBDCEQDJ4BC0ExIRAMnQELQTIhEAycAQtBMyEQDJsBC0E5IRAMmgELQTUhEAyZAQtBxQEhEAyYAQtBCyEQDJcBC0E6IRAMlgELQTYhEAyVAQtBCiEQDJQBC0E3IRAMkwELQTghEAySAQtBPCEQDJEBC0E7IRAMkAELQT0hEAyPAQtBCSEQDI4BC0EoIRAMjQELQT4hEAyMAQtBPyEQDIsBC0HAACEQDIoBC0HBACEQDIkBC0HCACEQDIgBC0HDACEQDIcBC0HEACEQDIYBC0HFACEQDIUBC0HGACEQDIQBC0EqIRAMgwELQccAIRAMggELQcgAIRAMgQELQckAIRAMgAELQcoAIRAMfwtBywAhEAx+C0HNACEQDH0LQcwAIRAMfAtBzgAhEAx7C0HPACEQDHoLQdAAIRAMeQtB0QAhEAx4C0HSACEQDHcLQdMAIRAMdgtB1AAhEAx1C0HWACEQDHQLQdUAIRAMcwtBBiEQDHILQdcAIRAMcQtBBSEQDHALQdgAIRAMbwtBBCEQDG4LQdkAIRAMbQtB2gAhEAxsC0HbACEQDGsLQdwAIRAMagtBAyEQDGkLQd0AIRAMaAtB3gAhEAxnC0HfACEQDGYLQeEAIRAMZQtB4AAhEAxkC0HiACEQDGMLQeMAIRAMYgtBAiEQDGELQeQAIRAMYAtB5QAhEAxfC0HmACEQDF4LQecAIRAMXQtB6AAhEAxcC0HpACEQDFsLQeoAIRAMWgtB6wAhEAxZC0HsACEQDFgLQe0AIRAMVwtB7gAhEAxWC0HvACEQDFULQfAAIRAMVAtB8QAhEAxTC0HyACEQDFILQfMAIRAMUQtB9AAhEAxQC0H1ACEQDE8LQfYAIRAMTgtB9wAhEAxNC0H4ACEQDEwLQfkAIRAMSwtB+gAhEAxKC0H7ACEQDEkLQfwAIRAMSAtB/QAhEAxHC0H+ACEQDEYLQf8AIRAMRQtBgAEhEAxEC0GBASEQDEMLQYIBIRAMQgtBgwEhEAxBC0GEASEQDEALQYUBIRAMPwtBhgEhEAw+C0GHASEQDD0LQYgBIRAMPAtBiQEhEAw7C0GKASEQDDoLQYsBIRAMOQtBjAEhEAw4C0GNASEQDDcLQY4BIRAMNgtBjwEhEAw1C0GQASEQDDQLQZEBIRAMMwtBkgEhEAwyC0GTASEQDDELQZQBIRAMMAtBlQEhEAwvC0GWASEQDC4LQZcBIRAMLQtBmAEhEAwsC0GZASEQDCsLQZoBIRAMKgtBmwEhEAwpC0GcASEQDCgLQZ0BIRAMJwtBngEhEAwmC0GfASEQDCULQaABIRAMJAtBoQEhEAwjC0GiASEQDCILQaMBIRAMIQtBpAEhEAwgC0GlASEQDB8LQaYBIRAMHgtBpwEhEAwdC0GoASEQDBwLQakBIRAMGwtBqgEhEAwaC0GrASEQDBkLQawBIRAMGAtBrQEhEAwXC0GuASEQDBYLQQEhEAwVC0GvASEQDBQLQbABIRAMEwtBsQEhEAwSC0GzASEQDBELQbIBIRAMEAtBtAEhEAwPC0G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB4fICEjJSg/QEFERUZHSElKS0xNT1BRUlPeA1dZW1xdYGJlZmdoaWprbG1vcHFyc3R1dnd4eXp7fH1+gAGCAYUBhgGHAYkBiwGMAY0BjgGPAZABkQGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAbABsQGyAbMBtAG1AbYBtwG4AbkBugG7AbwBvQG+Ab8BwAHBAcIBwwHEAcUBxgHHAcgByQHKAcsBzAHNAc4BzwHQAdEB0gHTAdQB1QHWAdcB2AHZAdoB2wHcAd0B3gHgAeEB4gHjAeQB5QHmAecB6AHpAeoB6wHsAe0B7gHvAfAB8QHyAfMBmQKkArAC/gL+AgsgASIEIAJHDfMBQd0BIRAM/wMLIAEiECACRw3dAUHDASEQDP4DCyABIgEgAkcNkAFB9wAhEAz9AwsgASIBIAJHDYYBQe8AIRAM/AMLIAEiASACRw1/QeoAIRAM+wMLIAEiASACRw17QegAIRAM+gMLIAEiASACRw14QeYAIRAM+QMLIAEiASACRw0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASACRg0AIABBi4CAgAA2AgggACABNgIEIAEhAUEHIRAMxAMLQRkhEAzcAwsgAUEBaiEBDAILAkAgASIUIAJHDQBBGiEQDNsDCyAUIQECQCAULQAAQXNqDhTdAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAgDuAgtBACEQIABBADYCHCAAQa+LgIAANgIQIABBAjYCDCAAIBRBAWo2AhQM2gMLAkAgAS0AACIQQTtGDQAgEEENRw3oASABQQFqIQEM5QILIAFBAWohAQtBIiEQDL8DCwJAIAEiECACRw0AQRwhEAzYAwtCACERIBAhASAQLQAAQVBqDjfnAeYBAQIDBAUGBwgAAAAAAAAACQoLDA0OAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPEBESExQAC0EeIRAMvQMLQgIhEQzlAQtCAyERDOQBC0IEIREM4wELQgUhEQziAQtCBiERDOEBC0IHIREM4AELQgghEQzfAQtCCSERDN4BC0IKIREM3QELQgshEQzcAQtCDCERDNsBC0INIREM2gELQg4hEQzZAQtCDyERDNgBC0IKIREM1wELQgshEQzWAQtCDCERDNUBC0INIREM1AELQg4hEQzTAQtCDyERDNIBC0IAIRECQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAtAABBUGoON+UB5AEAAQIDBAUGB+YB5gHmAeYB5gHmAeYBCAkKCwwN5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAQ4PEBESE+YBC0ICIREM5AELQgMhEQzjAQtCBCERDOIBC0IFIREM4QELQgYhEQzgAQtCByERDN8BC0IIIREM3gELQgkhEQzdAQtCCiERDNwBC0ILIREM2wELQgwhEQzaAQtCDSERDNkBC0IOIREM2AELQg8hEQzXAQtCCiERDNYBC0ILIREM1QELQgwhEQzUAQtCDSERDNMBC0IOIREM0gELQg8hEQzRAQsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3SAUEfIRAMwAMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQSQhEAynAwtBICEQDL8DCyAAIAEiECACEL6AgIAAQX9qDgW2AQDFAgHRAdIBC0ERIRAMpAMLIABBAToALyAQIQEMuwMLIAEiASACRw3SAUEkIRAMuwMLIAEiDSACRw0eQcYAIRAMugMLIAAgASIBIAIQsoCAgAAiEA3UASABIQEMtQELIAEiECACRw0mQdAAIRAMuAMLAkAgASIBIAJHDQBBKCEQDLgDCyAAQQA2AgQgAEGMgICAADYCCCAAIAEgARCxgICAACIQDdMBIAEhAQzYAQsCQCABIhAgAkcNAEEpIRAMtwMLIBAtAAAiAUEgRg0UIAFBCUcN0wEgEEEBaiEBDBULAkAgASIBIAJGDQAgAUEBaiEBDBcLQSohEAy1AwsCQCABIhAgAkcNAEErIRAMtQMLAkAgEC0AACIBQQlGDQAgAUEgRw3VAQsgAC0ALEEIRg3TASAQIQEMkQMLAkAgASIBIAJHDQBBLCEQDLQDCyABLQAAQQpHDdUBIAFBAWohAQzJAgsgASIOIAJHDdUBQS8hEAyyAwsDQAJAIAEtAAAiEEEgRg0AAkAgEEF2ag4EANwB3AEA2gELIAEhAQzgAQsgAUEBaiIBIAJHDQALQTEhEAyxAwtBMiEQIAEiFCACRg2wAyACIBRrIAAoAgAiAWohFSAUIAFrQQNqIRYCQANAIBQtAAAiF0EgciAXIBdBv39qQf8BcUEaSRtB/wFxIAFB8LuAgABqLQAARw0BAkAgAUEDRw0AQQYhAQyWAwsgAUEBaiEBIBRBAWoiFCACRw0ACyAAIBU2AgAMsQMLIABBADYCACAUIQEM2QELQTMhECABIhQgAkYNrwMgAiAUayAAKAIAIgFqIRUgFCABa0EIaiEWAkADQCAULQAAIhdBIHIgFyAXQb9/akH/AXFBGkkbQf8BcSABQfS7gIAAai0AAEcNAQJAIAFBCEcNAEEFIQEMlQMLIAFBAWohASAUQQFqIhQgAkcNAAsgACAVNgIADLADCyAAQQA2AgAgFCEBDNgBC0E0IRAgASIUIAJGDa4DIAIgFGsgACgCACIBaiEVIBQgAWtBBWohFgJAA0AgFC0AACIXQSByIBcgF0G/f2pB/wFxQRpJG0H/AXEgAUHQwoCAAGotAABHDQECQCABQQVHDQBBByEBDJQDCyABQQFqIQEgFEEBaiIUIAJHDQALIAAgFTYCAAyvAwsgAEEANgIAIBQhAQzXAQsCQCABIgEgAkYNAANAAkAgAS0AAEGAvoCAAGotAAAiEEEBRg0AIBBBAkYNCiABIQEM3QELIAFBAWoiASACRw0AC0EwIRAMrgMLQTAhEAytAwsCQCABIgEgAkYNAANAAkAgAS0AACIQQSBGDQAgEEF2ag4E2QHaAdoB2QHaAQsgAUEBaiIBIAJHDQALQTghEAytAwtBOCEQDKwDCwNAAkAgAS0AACIQQSBGDQAgEEEJRw0DCyABQQFqIgEgAkcNAAtBPCEQDKsDCwNAAkAgAS0AACIQQSBGDQACQAJAIBBBdmoOBNoBAQHaAQALIBBBLEYN2wELIAEhAQwECyABQQFqIgEgAkcNAAtBPyEQDKoDCyABIQEM2wELQcAAIRAgASIUIAJGDagDIAIgFGsgACgCACIBaiEWIBQgAWtBBmohFwJAA0AgFC0AAEEgciABQYDAgIAAai0AAEcNASABQQZGDY4DIAFBAWohASAUQQFqIhQgAkcNAAsgACAWNgIADKkDCyAAQQA2AgAgFCEBC0E2IRAMjgMLAkAgASIPIAJHDQBBwQAhEAynAwsgAEGMgICAADYCCCAAIA82AgQgDyEBIAAtACxBf2oOBM0B1QHXAdkBhwMLIAFBAWohAQzMAQsCQCABIgEgAkYNAANAAkAgAS0AACIQQSByIBAgEEG/f2pB/wFxQRpJG0H/AXEiEEEJRg0AIBBBIEYNAAJAAkACQAJAIBBBnX9qDhMAAwMDAwMDAwEDAwMDAwMDAwMCAwsgAUEBaiEBQTEhEAyRAwsgAUEBaiEBQTIhEAyQAwsgAUEBaiEBQTMhEAyPAwsgASEBDNABCyABQQFqIgEgAkcNAAtBNSEQDKUDC0E1IRAMpAMLAkAgASIBIAJGDQADQAJAIAEtAABBgLyAgABqLQAAQQFGDQAgASEBDNMBCyABQQFqIgEgAkcNAAtBPSEQDKQDC0E9IRAMowMLIAAgASIBIAIQsICAgAAiEA3WASABIQEMAQsgEEEBaiEBC0E8IRAMhwMLAkAgASIBIAJHDQBBwgAhEAygAwsCQANAAkAgAS0AAEF3ag4YAAL+Av4ChAP+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gIA/gILIAFBAWoiASACRw0AC0HCACEQDKADCyABQQFqIQEgAC0ALUEBcUUNvQEgASEBC0EsIRAMhQMLIAEiASACRw3TAUHEACEQDJ0DCwNAAkAgAS0AAEGQwICAAGotAABBAUYNACABIQEMtwILIAFBAWoiASACRw0AC0HFACEQDJwDCyANLQAAIhBBIEYNswEgEEE6Rw2BAyAAKAIEIQEgAEEANgIEIAAgASANEK+AgIAAIgEN0AEgDUEBaiEBDLMCC0HHACEQIAEiDSACRg2aAyACIA1rIAAoAgAiAWohFiANIAFrQQVqIRcDQCANLQAAIhRBIHIgFCAUQb9/akH/AXFBGkkbQf8BcSABQZDCgIAAai0AAEcNgAMgAUEFRg30AiABQQFqIQEgDUEBaiINIAJHDQALIAAgFjYCAAyaAwtByAAhECABIg0gAkYNmQMgAiANayAAKAIAIgFqIRYgDSABa0EJaiEXA0AgDS0AACIUQSByIBQgFEG/f2pB/wFxQRpJG0H/AXEgAUGWwoCAAGotAABHDf8CAkAgAUEJRw0AQQIhAQz1AgsgAUEBaiEBIA1BAWoiDSACRw0ACyAAIBY2AgAMmQMLAkAgASINIAJHDQBByQAhEAyZAwsCQAJAIA0tAAAiAUEgciABIAFBv39qQf8BcUEaSRtB/wFxQZJ/ag4HAIADgAOAA4ADgAMBgAMLIA1BAWohAUE+IRAMgAMLIA1BAWohAUE/IRAM/wILQcoAIRAgASINIAJGDZcDIAIgDWsgACgCACIBaiEWIA0gAWtBAWohFwNAIA0tAAAiFEEgciAUIBRBv39qQf8BcUEaSRtB/wFxIAFBoMKAgABqLQAARw39AiABQQFGDfACIAFBAWohASANQQFqIg0gAkcNAAsgACAWNgIADJcDC0HLACEQIAEiDSACRg2WAyACIA1rIAAoAgAiAWohFiANIAFrQQ5qIRcDQCANLQAAIhRBIHIgFCAUQb9/akH/AXFBGkkbQf8BcSABQaLCgIAAai0AAEcN/AIgAUEORg3wAiABQQFqIQEgDUEBaiINIAJHDQALIAAgFjYCAAyWAwtBzAAhECABIg0gAkYNlQMgAiANayAAKAIAIgFqIRYgDSABa0EPaiEXA0AgDS0AACIUQSByIBQgFEG/f2pB/wFxQRpJG0H/AXEgAUHAwoCAAGotAABHDfsCAkAgAUEPRw0AQQMhAQzxAgsgAUEBaiEBIA1BAWoiDSACRw0ACyAAIBY2AgAMlQMLQc0AIRAgASINIAJGDZQDIAIgDWsgACgCACIBaiEWIA0gAWtBBWohFwNAIA0tAAAiFEEgciAUIBRBv39qQf8BcUEaSRtB/wFxIAFB0MKAgABqLQAARw36AgJAIAFBBUcNAEEEIQEM8AILIAFBAWohASANQQFqIg0gAkcNAAsgACAWNgIADJQDCwJAIAEiDSACRw0AQc4AIRAMlAMLAkACQAJAAkAgDS0AACIBQSByIAEgAUG/f2pB/wFxQRpJG0H/AXFBnX9qDhMA/QL9Av0C/QL9Av0C/QL9Av0C/QL9Av0CAf0C/QL9AgID/QILIA1BAWohAUHBACEQDP0CCyANQQFqIQFBwgAhEAz8AgsgDUEBaiEBQcMAIRAM+wILIA1BAWohAUHEACEQDPoCCwJAIAEiASACRg0AIABBjYCAgAA2AgggACABNgIEIAEhAUHFACEQDPoCC0HPACEQDJIDCyAQIQECQAJAIBAtAABBdmoOBAGoAqgCAKgCCyAQQQFqIQELQSchEAz4AgsCQCABIgEgAkcNAEHRACEQDJEDCwJAIAEtAABBIEYNACABIQEMjQELIAFBAWohASAALQAtQQFxRQ3HASABIQEMjAELIAEiFyACRw3IAUHSACEQDI8DC0HTACEQIAEiFCACRg2OAyACIBRrIAAoAgAiAWohFiAUIAFrQQFqIRcDQCAULQAAIAFB1sKAgABqLQAARw3MASABQQFGDccBIAFBAWohASAUQQFqIhQgAkcNAAsgACAWNgIADI4DCwJAIAEiASACRw0AQdUAIRAMjgMLIAEtAABBCkcNzAEgAUEBaiEBDMcBCwJAIAEiASACRw0AQdYAIRAMjQMLAkACQCABLQAAQXZqDgQAzQHNAQHNAQsgAUEBaiEBDMcBCyABQQFqIQFBygAhEAzzAgsgACABIgEgAhCugICAACIQDcsBIAEhAUHNACEQDPICCyAALQApQSJGDYUDDKYCCwJAIAEiASACRw0AQdsAIRAMigMLQQAhFEEBIRdBASEWQQAhEAJAAkACQAJAAkACQAJAAkACQCABLQAAQVBqDgrUAdMBAAECAwQFBgjVAQtBAiEQDAYLQQMhEAwFC0EEIRAMBAtBBSEQDAMLQQYhEAwCC0EHIRAMAQtBCCEQC0EAIRdBACEWQQAhFAzMAQtBCSEQQQEhFEEAIRdBACEWDMsBCwJAIAEiASACRw0AQd0AIRAMiQMLIAEtAABBLkcNzAEgAUEBaiEBDKYCCyABIgEgAkcNzAFB3wAhEAyHAwsCQCABIgEgAkYNACAAQY6AgIAANgIIIAAgATYCBCABIQFB0AAhEAzuAgtB4AAhEAyGAwtB4QAhECABIgEgAkYNhQMgAiABayAAKAIAIhRqIRYgASAUa0EDaiEXA0AgAS0AACAUQeLCgIAAai0AAEcNzQEgFEEDRg3MASAUQQFqIRQgAUEBaiIBIAJHDQALIAAgFjYCAAyFAwtB4gAhECABIgEgAkYNhAMgAiABayAAKAIAIhRqIRYgASAUa0ECaiEXA0AgAS0AACAUQebCgIAAai0AAEcNzAEgFEECRg3OASAUQQFqIRQgAUEBaiIBIAJHDQALIAAgFjYCAAyEAwtB4wAhECABIgEgAkYNgwMgAiABayAAKAIAIhRqIRYgASAUa0EDaiEXA0AgAS0AACAUQenCgIAAai0AAEcNywEgFEEDRg3OASAUQQFqIRQgAUEBaiIBIAJHDQALIAAgFjYCAAyDAwsCQCABIgEgAkcNAEHlACEQDIMDCyAAIAFBAWoiASACEKiAgIAAIhANzQEgASEBQdYAIRAM6QILAkAgASIBIAJGDQADQAJAIAEtAAAiEEEgRg0AAkACQAJAIBBBuH9qDgsAAc8BzwHPAc8BzwHPAc8BzwECzwELIAFBAWohAUHSACEQDO0CCyABQQFqIQFB0wAhEAzsAgsgAUEBaiEBQdQAIRAM6wILIAFBAWoiASACRw0AC0HkACEQDIIDC0HkACEQDIEDCwNAAkAgAS0AAEHwwoCAAGotAAAiEEEBRg0AIBBBfmoOA88B0AHRAdIBCyABQQFqIgEgAkcNAAtB5gAhEAyAAwsCQCABIgEgAkYNACABQQFqIQEMAwtB5wAhEAz/AgsDQAJAIAEtAABB8MSAgABqLQAAIhBBAUYNAAJAIBBBfmoOBNIB0wHUAQDVAQsgASEBQdcAIRAM5wILIAFBAWoiASACRw0AC0HoACEQDP4CCwJAIAEiASACRw0AQekAIRAM/gILAkAgAS0AACIQQXZqDhq6AdUB1QG8AdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAcoB1QHVAQDTAQsgAUEBaiEBC0EGIRAM4wILA0ACQCABLQAAQfDGgIAAai0AAEEBRg0AIAEhAQyeAgsgAUEBaiIBIAJHDQALQeoAIRAM+wILAkAgASIBIAJGDQAgAUEBaiEBDAMLQesAIRAM+gILAkAgASIBIAJHDQBB7AAhEAz6AgsgAUEBaiEBDAELAkAgASIBIAJHDQBB7QAhEAz5AgsgAUEBaiEBC0EEIRAM3gILAkAgASIUIAJHDQBB7gAhEAz3AgsgFCEBAkACQAJAIBQtAABB8MiAgABqLQAAQX9qDgfUAdUB1gEAnAIBAtcBCyAUQQFqIQEMCgsgFEEBaiEBDM0BC0EAIRAgAEEANgIcIABBm5KAgAA2AhAgAEEHNgIMIAAgFEEBajYCFAz2AgsCQANAAkAgAS0AAEHwyICAAGotAAAiEEEERg0AAkACQCAQQX9qDgfSAdMB1AHZAQAEAdkBCyABIQFB2gAhEAzgAgsgAUEBaiEBQdwAIRAM3wILIAFBAWoiASACRw0AC0HvACEQDPYCCyABQQFqIQEMywELAkAgASIUIAJHDQBB8AAhEAz1AgsgFC0AAEEvRw3UASAUQQFqIQEMBgsCQCABIhQgAkcNAEHxACEQDPQCCwJAIBQtAAAiAUEvRw0AIBRBAWohAUHdACEQDNsCCyABQXZqIgRBFksN0wFBASAEdEGJgIACcUUN0wEMygILAkAgASIBIAJGDQAgAUEBaiEBQd4AIRAM2gILQfIAIRAM8gILAkAgASIUIAJHDQBB9AAhEAzyAgsgFCEBAkAgFC0AAEHwzICAAGotAABBf2oOA8kClAIA1AELQeEAIRAM2AILAkAgASIUIAJGDQADQAJAIBQtAABB8MqAgABqLQAAIgFBA0YNAAJAIAFBf2oOAssCANUBCyAUIQFB3wAhEAzaAgsgFEEBaiIUIAJHDQALQfMAIRAM8QILQfMAIRAM8AILAkAgASIBIAJGDQAgAEGPgICAADYCCCAAIAE2AgQgASEBQeAAIRAM1wILQfUAIRAM7wILAkAgASIBIAJHDQBB9gAhEAzvAgsgAEGPgICAADYCCCAAIAE2AgQgASEBC0EDIRAM1AILA0AgAS0AAEEgRw3DAiABQQFqIgEgAkcNAAtB9wAhEAzsAgsCQCABIgEgAkcNAEH4ACEQDOwCCyABLQAAQSBHDc4BIAFBAWohAQzvAQsgACABIgEgAhCsgICAACIQDc4BIAEhAQyOAgsCQCABIgQgAkcNAEH6ACEQDOoCCyAELQAAQcwARw3RASAEQQFqIQFBEyEQDM8BCwJAIAEiBCACRw0AQfsAIRAM6QILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEANAIAQtAAAgAUHwzoCAAGotAABHDdABIAFBBUYNzgEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBB+wAhEAzoAgsCQCABIgQgAkcNAEH8ACEQDOgCCwJAAkAgBC0AAEG9f2oODADRAdEB0QHRAdEB0QHRAdEB0QHRAQHRAQsgBEEBaiEBQeYAIRAMzwILIARBAWohAUHnACEQDM4CCwJAIAEiBCACRw0AQf0AIRAM5wILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQe3PgIAAai0AAEcNzwEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQf0AIRAM5wILIABBADYCACAQQQFqIQFBECEQDMwBCwJAIAEiBCACRw0AQf4AIRAM5gILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEAJAA0AgBC0AACABQfbOgIAAai0AAEcNzgEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQf4AIRAM5gILIABBADYCACAQQQFqIQFBFiEQDMsBCwJAIAEiBCACRw0AQf8AIRAM5QILIAIgBGsgACgCACIBaiEUIAQgAWtBA2ohEAJAA0AgBC0AACABQfzOgIAAai0AAEcNzQEgAUEDRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQf8AIRAM5QILIABBADYCACAQQQFqIQFBBSEQDMoBCwJAIAEiBCACRw0AQYABIRAM5AILIAQtAABB2QBHDcsBIARBAWohAUEIIRAMyQELAkAgASIEIAJHDQBBgQEhEAzjAgsCQAJAIAQtAABBsn9qDgMAzAEBzAELIARBAWohAUHrACEQDMoCCyAEQQFqIQFB7AAhEAzJAgsCQCABIgQgAkcNAEGCASEQDOICCwJAAkAgBC0AAEG4f2oOCADLAcsBywHLAcsBywEBywELIARBAWohAUHqACEQDMkCCyAEQQFqIQFB7QAhEAzIAgsCQCABIgQgAkcNAEGDASEQDOECCyACIARrIAAoAgAiAWohECAEIAFrQQJqIRQCQANAIAQtAAAgAUGAz4CAAGotAABHDckBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgEDYCAEGDASEQDOECC0EAIRAgAEEANgIAIBRBAWohAQzGAQsCQCABIgQgAkcNAEGEASEQDOACCyACIARrIAAoAgAiAWohFCAEIAFrQQRqIRACQANAIAQtAAAgAUGDz4CAAGotAABHDcgBIAFBBEYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGEASEQDOACCyAAQQA2AgAgEEEBaiEBQSMhEAzFAQsCQCABIgQgAkcNAEGFASEQDN8CCwJAAkAgBC0AAEG0f2oOCADIAcgByAHIAcgByAEByAELIARBAWohAUHvACEQDMYCCyAEQQFqIQFB8AAhEAzFAgsCQCABIgQgAkcNAEGGASEQDN4CCyAELQAAQcUARw3FASAEQQFqIQEMgwILAkAgASIEIAJHDQBBhwEhEAzdAgsgAiAEayAAKAIAIgFqIRQgBCABa0EDaiEQAkADQCAELQAAIAFBiM+AgABqLQAARw3FASABQQNGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBhwEhEAzdAgsgAEEANgIAIBBBAWohAUEtIRAMwgELAkAgASIEIAJHDQBBiAEhEAzcAgsgAiAEayAAKAIAIgFqIRQgBCABa0EIaiEQAkADQCAELQAAIAFB0M+AgABqLQAARw3EASABQQhGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBiAEhEAzcAgsgAEEANgIAIBBBAWohAUEpIRAMwQELAkAgASIBIAJHDQBBiQEhEAzbAgtBASEQIAEtAABB3wBHDcABIAFBAWohAQyBAgsCQCABIgQgAkcNAEGKASEQDNoCCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRADQCAELQAAIAFBjM+AgABqLQAARw3BASABQQFGDa8CIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYoBIRAM2QILAkAgASIEIAJHDQBBiwEhEAzZAgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFBjs+AgABqLQAARw3BASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBiwEhEAzZAgsgAEEANgIAIBBBAWohAUECIRAMvgELAkAgASIEIAJHDQBBjAEhEAzYAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFB8M+AgABqLQAARw3AASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBjAEhEAzYAgsgAEEANgIAIBBBAWohAUEfIRAMvQELAkAgASIEIAJHDQBBjQEhEAzXAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFB8s+AgABqLQAARw2/ASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBjQEhEAzXAgsgAEEANgIAIBBBAWohAUEJIRAMvAELAkAgASIEIAJHDQBBjgEhEAzWAgsCQAJAIAQtAABBt39qDgcAvwG/Ab8BvwG/AQG/AQsgBEEBaiEBQfgAIRAMvQILIARBAWohAUH5ACEQDLwCCwJAIAEiBCACRw0AQY8BIRAM1QILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEAJAA0AgBC0AACABQZHPgIAAai0AAEcNvQEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQY8BIRAM1QILIABBADYCACAQQQFqIQFBGCEQDLoBCwJAIAEiBCACRw0AQZABIRAM1AILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQZfPgIAAai0AAEcNvAEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZABIRAM1AILIABBADYCACAQQQFqIQFBFyEQDLkBCwJAIAEiBCACRw0AQZEBIRAM0wILIAIgBGsgACgCACIBaiEUIAQgAWtBBmohEAJAA0AgBC0AACABQZrPgIAAai0AAEcNuwEgAUEGRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZEBIRAM0wILIABBADYCACAQQQFqIQFBFSEQDLgBCwJAIAEiBCACRw0AQZIBIRAM0gILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEAJAA0AgBC0AACABQaHPgIAAai0AAEcNugEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZIBIRAM0gILIABBADYCACAQQQFqIQFBHiEQDLcBCwJAIAEiBCACRw0AQZMBIRAM0QILIAQtAABBzABHDbgBIARBAWohAUEKIRAMtgELAkAgBCACRw0AQZQBIRAM0AILAkACQCAELQAAQb9/ag4PALkBuQG5AbkBuQG5AbkBuQG5AbkBuQG5AbkBAbkBCyAEQQFqIQFB/gAhEAy3AgsgBEEBaiEBQf8AIRAMtgILAkAgBCACRw0AQZUBIRAMzwILAkACQCAELQAAQb9/ag4DALgBAbgBCyAEQQFqIQFB/QAhEAy2AgsgBEEBaiEEQYABIRAMtQILAkAgBCACRw0AQZYBIRAMzgILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQafPgIAAai0AAEcNtgEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZYBIRAMzgILIABBADYCACAQQQFqIQFBCyEQDLMBCwJAIAQgAkcNAEGXASEQDM0CCwJAAkACQAJAIAQtAABBU2oOIwC4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBAbgBuAG4AbgBuAECuAG4AbgBA7gBCyAEQQFqIQFB+wAhEAy2AgsgBEEBaiEBQfwAIRAMtQILIARBAWohBEGBASEQDLQCCyAEQQFqIQRBggEhEAyzAgsCQCAEIAJHDQBBmAEhEAzMAgsgAiAEayAAKAIAIgFqIRQgBCABa0EEaiEQAkADQCAELQAAIAFBqc+AgABqLQAARw20ASABQQRGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBmAEhEAzMAgsgAEEANgIAIBBBAWohAUEZIRAMsQELAkAgBCACRw0AQZkBIRAMywILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEAJAA0AgBC0AACABQa7PgIAAai0AAEcNswEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZkBIRAMywILIABBADYCACAQQQFqIQFBBiEQDLABCwJAIAQgAkcNAEGaASEQDMoCCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUG0z4CAAGotAABHDbIBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGaASEQDMoCCyAAQQA2AgAgEEEBaiEBQRwhEAyvAQsCQCAEIAJHDQBBmwEhEAzJAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFBts+AgABqLQAARw2xASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBmwEhEAzJAgsgAEEANgIAIBBBAWohAUEnIRAMrgELAkAgBCACRw0AQZwBIRAMyAILAkACQCAELQAAQax/ag4CAAGxAQsgBEEBaiEEQYYBIRAMrwILIARBAWohBEGHASEQDK4CCwJAIAQgAkcNAEGdASEQDMcCCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUG4z4CAAGotAABHDa8BIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGdASEQDMcCCyAAQQA2AgAgEEEBaiEBQSYhEAysAQsCQCAEIAJHDQBBngEhEAzGAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFBus+AgABqLQAARw2uASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBngEhEAzGAgsgAEEANgIAIBBBAWohAUEDIRAMqwELAkAgBCACRw0AQZ8BIRAMxQILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQe3PgIAAai0AAEcNrQEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZ8BIRAMxQILIABBADYCACAQQQFqIQFBDCEQDKoBCwJAIAQgAkcNAEGgASEQDMQCCyACIARrIAAoAgAiAWohFCAEIAFrQQNqIRACQANAIAQtAAAgAUG8z4CAAGotAABHDawBIAFBA0YNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGgASEQDMQCCyAAQQA2AgAgEEEBaiEBQQ0hEAypAQsCQCAEIAJHDQBBoQEhEAzDAgsCQAJAIAQtAABBun9qDgsArAGsAawBrAGsAawBrAGsAawBAawBCyAEQQFqIQRBiwEhEAyqAgsgBEEBaiEEQYwBIRAMqQILAkAgBCACRw0AQaIBIRAMwgILIAQtAABB0ABHDakBIARBAWohBAzpAQsCQCAEIAJHDQBBowEhEAzBAgsCQAJAIAQtAABBt39qDgcBqgGqAaoBqgGqAQCqAQsgBEEBaiEEQY4BIRAMqAILIARBAWohAUEiIRAMpgELAkAgBCACRw0AQaQBIRAMwAILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQcDPgIAAai0AAEcNqAEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQaQBIRAMwAILIABBADYCACAQQQFqIQFBHSEQDKUBCwJAIAQgAkcNAEGlASEQDL8CCwJAAkAgBC0AAEGuf2oOAwCoAQGoAQsgBEEBaiEEQZABIRAMpgILIARBAWohAUEEIRAMpAELAkAgBCACRw0AQaYBIRAMvgILAkACQAJAAkACQCAELQAAQb9/ag4VAKoBqgGqAaoBqgGqAaoBqgGqAaoBAaoBqgECqgGqAQOqAaoBBKoBCyAEQQFqIQRBiAEhEAyoAgsgBEEBaiEEQYkBIRAMpwILIARBAWohBEGKASEQDKYCCyAEQQFqIQRBjwEhEAylAgsgBEEBaiEEQZEBIRAMpAILAkAgBCACRw0AQacBIRAMvQILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQe3PgIAAai0AAEcNpQEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQacBIRAMvQILIABBADYCACAQQQFqIQFBESEQDKIBCwJAIAQgAkcNAEGoASEQDLwCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHCz4CAAGotAABHDaQBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGoASEQDLwCCyAAQQA2AgAgEEEBaiEBQSwhEAyhAQsCQCAEIAJHDQBBqQEhEAy7AgsgAiAEayAAKAIAIgFqIRQgBCABa0EEaiEQAkADQCAELQAAIAFBxc+AgABqLQAARw2jASABQQRGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBqQEhEAy7AgsgAEEANgIAIBBBAWohAUErIRAMoAELAkAgBCACRw0AQaoBIRAMugILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQcrPgIAAai0AAEcNogEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQaoBIRAMugILIABBADYCACAQQQFqIQFBFCEQDJ8BCwJAIAQgAkcNAEGrASEQDLkCCwJAAkACQAJAIAQtAABBvn9qDg8AAQKkAaQBpAGkAaQBpAGkAaQBpAGkAaQBA6QBCyAEQQFqIQRBkwEhEAyiAgsgBEEBaiEEQZQBIRAMoQILIARBAWohBEGVASEQDKACCyAEQQFqIQRBlgEhEAyfAgsCQCAEIAJHDQBBrAEhEAy4AgsgBC0AAEHFAEcNnwEgBEEBaiEEDOABCwJAIAQgAkcNAEGtASEQDLcCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHNz4CAAGotAABHDZ8BIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGtASEQDLcCCyAAQQA2AgAgEEEBaiEBQQ4hEAycAQsCQCAEIAJHDQBBrgEhEAy2AgsgBC0AAEHQAEcNnQEgBEEBaiEBQSUhEAybAQsCQCAEIAJHDQBBrwEhEAy1AgsgAiAEayAAKAIAIgFqIRQgBCABa0EIaiEQAkADQCAELQAAIAFB0M+AgABqLQAARw2dASABQQhGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBrwEhEAy1AgsgAEEANgIAIBBBAWohAUEqIRAMmgELAkAgBCACRw0AQbABIRAMtAILAkACQCAELQAAQat/ag4LAJ0BnQGdAZ0BnQGdAZ0BnQGdAQGdAQsgBEEBaiEEQZoBIRAMmwILIARBAWohBEGbASEQDJoCCwJAIAQgAkcNAEGxASEQDLMCCwJAAkAgBC0AAEG/f2oOFACcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAEBnAELIARBAWohBEGZASEQDJoCCyAEQQFqIQRBnAEhEAyZAgsCQCAEIAJHDQBBsgEhEAyyAgsgAiAEayAAKAIAIgFqIRQgBCABa0EDaiEQAkADQCAELQAAIAFB2c+AgABqLQAARw2aASABQQNGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBsgEhEAyyAgsgAEEANgIAIBBBAWohAUEhIRAMlwELAkAgBCACRw0AQbMBIRAMsQILIAIgBGsgACgCACIBaiEUIAQgAWtBBmohEAJAA0AgBC0AACABQd3PgIAAai0AAEcNmQEgAUEGRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbMBIRAMsQILIABBADYCACAQQQFqIQFBGiEQDJYBCwJAIAQgAkcNAEG0ASEQDLACCwJAAkACQCAELQAAQbt/ag4RAJoBmgGaAZoBmgGaAZoBmgGaAQGaAZoBmgGaAZoBApoBCyAEQQFqIQRBnQEhEAyYAgsgBEEBaiEEQZ4BIRAMlwILIARBAWohBEGfASEQDJYCCwJAIAQgAkcNAEG1ASEQDK8CCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUHkz4CAAGotAABHDZcBIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEG1ASEQDK8CCyAAQQA2AgAgEEEBaiEBQSghEAyUAQsCQCAEIAJHDQBBtgEhEAyuAgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFB6s+AgABqLQAARw2WASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBtgEhEAyuAgsgAEEANgIAIBBBAWohAUEHIRAMkwELAkAgBCACRw0AQbcBIRAMrQILAkACQCAELQAAQbt/ag4OAJYBlgGWAZYBlgGWAZYBlgGWAZYBlgGWAQGWAQsgBEEBaiEEQaEBIRAMlAILIARBAWohBEGiASEQDJMCCwJAIAQgAkcNAEG4ASEQDKwCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHtz4CAAGotAABHDZQBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEG4ASEQDKwCCyAAQQA2AgAgEEEBaiEBQRIhEAyRAQsCQCAEIAJHDQBBuQEhEAyrAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFB8M+AgABqLQAARw2TASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBuQEhEAyrAgsgAEEANgIAIBBBAWohAUEgIRAMkAELAkAgBCACRw0AQboBIRAMqgILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQfLPgIAAai0AAEcNkgEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQboBIRAMqgILIABBADYCACAQQQFqIQFBDyEQDI8BCwJAIAQgAkcNAEG7ASEQDKkCCwJAAkAgBC0AAEG3f2oOBwCSAZIBkgGSAZIBAZIBCyAEQQFqIQRBpQEhEAyQAgsgBEEBaiEEQaYBIRAMjwILAkAgBCACRw0AQbwBIRAMqAILIAIgBGsgACgCACIBaiEUIAQgAWtBB2ohEAJAA0AgBC0AACABQfTPgIAAai0AAEcNkAEgAUEHRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbwBIRAMqAILIABBADYCACAQQQFqIQFBGyEQDI0BCwJAIAQgAkcNAEG9ASEQDKcCCwJAAkACQCAELQAAQb5/ag4SAJEBkQGRAZEBkQGRAZEBkQGRAQGRAZEBkQGRAZEBkQECkQELIARBAWohBEGkASEQDI8CCyAEQQFqIQRBpwEhEAyOAgsgBEEBaiEEQagBIRAMjQILAkAgBCACRw0AQb4BIRAMpgILIAQtAABBzgBHDY0BIARBAWohBAzPAQsCQCAEIAJHDQBBvwEhEAylAgsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAELQAAQb9/ag4VAAECA5wBBAUGnAGcAZwBBwgJCgucAQwNDg+cAQsgBEEBaiEBQegAIRAMmgILIARBAWohAUHpACEQDJkCCyAEQQFqIQFB7gAhEAyYAgsgBEEBaiEBQfIAIRAMlwILIARBAWohAUHzACEQDJYCCyAEQQFqIQFB9gAhEAyVAgsgBEEBaiEBQfcAIRAMlAILIARBAWohAUH6ACEQDJMCCyAEQQFqIQRBgwEhEAySAgsgBEEBaiEEQYQBIRAMkQILIARBAWohBEGFASEQDJACCyAEQQFqIQRBkgEhEAyPAgsgBEEBaiEEQZgBIRAMjgILIARBAWohBEGgASEQDI0CCyAEQQFqIQRBowEhEAyMAgsgBEEBaiEEQaoBIRAMiwILAkAgBCACRg0AIABBkICAgAA2AgggACAENgIEQasBIRAMiwILQcABIRAMowILIAAgBSACEKqAgIAAIgENiwEgBSEBDFwLAkAgBiACRg0AIAZBAWohBQyNAQtBwgEhEAyhAgsDQAJAIBAtAABBdmoOBIwBAACPAQALIBBBAWoiECACRw0AC0HDASEQDKACCwJAIAcgAkYNACAAQZGAgIAANgIIIAAgBzYCBCAHIQFBASEQDIcCC0HEASEQDJ8CCwJAIAcgAkcNAEHFASEQDJ8CCwJAAkAgBy0AAEF2ag4EAc4BzgEAzgELIAdBAWohBgyNAQsgB0EBaiEFDIkBCwJAIAcgAkcNAEHGASEQDJ4CCwJAAkAgBy0AAEF2ag4XAY8BjwEBjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BAI8BCyAHQQFqIQcLQbABIRAMhAILAkAgCCACRw0AQcgBIRAMnQILIAgtAABBIEcNjQEgAEEAOwEyIAhBAWohAUGzASEQDIMCCyABIRcCQANAIBciByACRg0BIActAABBUGpB/wFxIhBBCk8NzAECQCAALwEyIhRBmTNLDQAgACAUQQpsIhQ7ATIgEEH//wNzIBRB/v8DcUkNACAHQQFqIRcgACAUIBBqIhA7ATIgEEH//wNxQegHSQ0BCwtBACEQIABBADYCHCAAQcGJgIAANgIQIABBDTYCDCAAIAdBAWo2AhQMnAILQccBIRAMmwILIAAgCCACEK6AgIAAIhBFDcoBIBBBFUcNjAEgAEHIATYCHCAAIAg2AhQgAEHJl4CAADYCECAAQRU2AgxBACEQDJoCCwJAIAkgAkcNAEHMASEQDJoCC0EAIRRBASEXQQEhFkEAIRACQAJAAkACQAJAAkACQAJAAkAgCS0AAEFQag4KlgGVAQABAgMEBQYIlwELQQIhEAwGC0EDIRAMBQtBBCEQDAQLQQUhEAwDC0EGIRAMAgtBByEQDAELQQghEAtBACEXQQAhFkEAIRQMjgELQQkhEEEBIRRBACEXQQAhFgyNAQsCQCAKIAJHDQBBzgEhEAyZAgsgCi0AAEEuRw2OASAKQQFqIQkMygELIAsgAkcNjgFB0AEhEAyXAgsCQCALIAJGDQAgAEGOgICAADYCCCAAIAs2AgRBtwEhEAz+AQtB0QEhEAyWAgsCQCAEIAJHDQBB0gEhEAyWAgsgAiAEayAAKAIAIhBqIRQgBCAQa0EEaiELA0AgBC0AACAQQfzPgIAAai0AAEcNjgEgEEEERg3pASAQQQFqIRAgBEEBaiIEIAJHDQALIAAgFDYCAEHSASEQDJUCCyAAIAwgAhCsgICAACIBDY0BIAwhAQy4AQsCQCAEIAJHDQBB1AEhEAyUAgsgAiAEayAAKAIAIhBqIRQgBCAQa0EBaiEMA0AgBC0AACAQQYHQgIAAai0AAEcNjwEgEEEBRg2OASAQQQFqIRAgBEEBaiIEIAJHDQALIAAgFDYCAEHUASEQDJMCCwJAIAQgAkcNAEHWASEQDJMCCyACIARrIAAoAgAiEGohFCAEIBBrQQJqIQsDQCAELQAAIBBBg9CAgABqLQAARw2OASAQQQJGDZABIBBBAWohECAEQQFqIgQgAkcNAAsgACAUNgIAQdYBIRAMkgILAkAgBCACRw0AQdcBIRAMkgILAkACQCAELQAAQbt/ag4QAI8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwEBjwELIARBAWohBEG7ASEQDPkBCyAEQQFqIQRBvAEhEAz4AQsCQCAEIAJHDQBB2AEhEAyRAgsgBC0AAEHIAEcNjAEgBEEBaiEEDMQBCwJAIAQgAkYNACAAQZCAgIAANgIIIAAgBDYCBEG+ASEQDPcBC0HZASEQDI8CCwJAIAQgAkcNAEHaASEQDI8CCyAELQAAQcgARg3DASAAQQE6ACgMuQELIABBAjoALyAAIAQgAhCmgICAACIQDY0BQcIBIRAM9AELIAAtAChBf2oOArcBuQG4AQsDQAJAIAQtAABBdmoOBACOAY4BAI4BCyAEQQFqIgQgAkcNAAtB3QEhEAyLAgsgAEEAOgAvIAAtAC1BBHFFDYQCCyAAQQA6AC8gAEEBOgA0IAEhAQyMAQsgEEEVRg3aASAAQQA2AhwgACABNgIUIABBp46AgAA2AhAgAEESNgIMQQAhEAyIAgsCQCAAIBAgAhC0gICAACIEDQAgECEBDIECCwJAIARBFUcNACAAQQM2AhwgACAQNgIUIABBsJiAgAA2AhAgAEEVNgIMQQAhEAyIAgsgAEEANgIcIAAgEDYCFCAAQaeOgIAANgIQIABBEjYCDEEAIRAMhwILIBBBFUYN1gEgAEEANgIcIAAgATYCFCAAQdqNgIAANgIQIABBFDYCDEEAIRAMhgILIAAoAgQhFyAAQQA2AgQgECARp2oiFiEBIAAgFyAQIBYgFBsiEBC1gICAACIURQ2NASAAQQc2AhwgACAQNgIUIAAgFDYCDEEAIRAMhQILIAAgAC8BMEGAAXI7ATAgASEBC0EqIRAM6gELIBBBFUYN0QEgAEEANgIcIAAgATYCFCAAQYOMgIAANgIQIABBEzYCDEEAIRAMggILIBBBFUYNzwEgAEEANgIcIAAgATYCFCAAQZqPgIAANgIQIABBIjYCDEEAIRAMgQILIAAoAgQhECAAQQA2AgQCQCAAIBAgARC3gICAACIQDQAgAUEBaiEBDI0BCyAAQQw2AhwgACAQNgIMIAAgAUEBajYCFEEAIRAMgAILIBBBFUYNzAEgAEEANgIcIAAgATYCFCAAQZqPgIAANgIQIABBIjYCDEEAIRAM/wELIAAoAgQhECAAQQA2AgQCQCAAIBAgARC3gICAACIQDQAgAUEBaiEBDIwBCyAAQQ02AhwgACAQNgIMIAAgAUEBajYCFEEAIRAM/gELIBBBFUYNyQEgAEEANgIcIAAgATYCFCAAQcaMgIAANgIQIABBIzYCDEEAIRAM/QELIAAoAgQhECAAQQA2AgQCQCAAIBAgARC5gICAACIQDQAgAUEBaiEBDIsBCyAAQQ42AhwgACAQNgIMIAAgAUEBajYCFEEAIRAM/AELIABBADYCHCAAIAE2AhQgAEHAlYCAADYCECAAQQI2AgxBACEQDPsBCyAQQRVGDcUBIABBADYCHCAAIAE2AhQgAEHGjICAADYCECAAQSM2AgxBACEQDPoBCyAAQRA2AhwgACABNgIUIAAgEDYCDEEAIRAM+QELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARC5gICAACIEDQAgAUEBaiEBDPEBCyAAQRE2AhwgACAENgIMIAAgAUEBajYCFEEAIRAM+AELIBBBFUYNwQEgAEEANgIcIAAgATYCFCAAQcaMgIAANgIQIABBIzYCDEEAIRAM9wELIAAoAgQhECAAQQA2AgQCQCAAIBAgARC5gICAACIQDQAgAUEBaiEBDIgBCyAAQRM2AhwgACAQNgIMIAAgAUEBajYCFEEAIRAM9gELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARC5gICAACIEDQAgAUEBaiEBDO0BCyAAQRQ2AhwgACAENgIMIAAgAUEBajYCFEEAIRAM9QELIBBBFUYNvQEgAEEANgIcIAAgATYCFCAAQZqPgIAANgIQIABBIjYCDEEAIRAM9AELIAAoAgQhECAAQQA2AgQCQCAAIBAgARC3gICAACIQDQAgAUEBaiEBDIYBCyAAQRY2AhwgACAQNgIMIAAgAUEBajYCFEEAIRAM8wELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARC3gICAACIEDQAgAUEBaiEBDOkBCyAAQRc2AhwgACAENgIMIAAgAUEBajYCFEEAIRAM8gELIABBADYCHCAAIAE2AhQgAEHNk4CAADYCECAAQQw2AgxBACEQDPEBC0IBIRELIBBBAWohAQJAIAApAyAiEkL//////////w9WDQAgACASQgSGIBGENwMgIAEhAQyEAQsgAEEANgIcIAAgATYCFCAAQa2JgIAANgIQIABBDDYCDEEAIRAM7wELIABBADYCHCAAIBA2AhQgAEHNk4CAADYCECAAQQw2AgxBACEQDO4BCyAAKAIEIRcgAEEANgIEIBAgEadqIhYhASAAIBcgECAWIBQbIhAQtYCAgAAiFEUNcyAAQQU2AhwgACAQNgIUIAAgFDYCDEEAIRAM7QELIABBADYCHCAAIBA2AhQgAEGqnICAADYCECAAQQ82AgxBACEQDOwBCyAAIBAgAhC0gICAACIBDQEgECEBC0EOIRAM0QELAkAgAUEVRw0AIABBAjYCHCAAIBA2AhQgAEGwmICAADYCECAAQRU2AgxBACEQDOoBCyAAQQA2AhwgACAQNgIUIABBp46AgAA2AhAgAEESNgIMQQAhEAzpAQsgAUEBaiEQAkAgAC8BMCIBQYABcUUNAAJAIAAgECACELuAgIAAIgENACAQIQEMcAsgAUEVRw26ASAAQQU2AhwgACAQNgIUIABB+ZeAgAA2AhAgAEEVNgIMQQAhEAzpAQsCQCABQaAEcUGgBEcNACAALQAtQQJxDQAgAEEANgIcIAAgEDYCFCAAQZaTgIAANgIQIABBBDYCDEEAIRAM6QELIAAgECACEL2AgIAAGiAQIQECQAJAAkACQAJAIAAgECACELOAgIAADhYCAQAEBAQEBAQEBAQEBAQEBAQEBAQDBAsgAEEBOgAuCyAAIAAvATBBwAByOwEwIBAhAQtBJiEQDNEBCyAAQSM2AhwgACAQNgIUIABBpZaAgAA2AhAgAEEVNgIMQQAhEAzpAQsgAEEANgIcIAAgEDYCFCAAQdWLgIAANgIQIABBETYCDEEAIRAM6AELIAAtAC1BAXFFDQFBwwEhEAzOAQsCQCANIAJGDQADQAJAIA0tAABBIEYNACANIQEMxAELIA1BAWoiDSACRw0AC0ElIRAM5wELQSUhEAzmAQsgACgCBCEEIABBADYCBCAAIAQgDRCvgICAACIERQ2tASAAQSY2AhwgACAENgIMIAAgDUEBajYCFEEAIRAM5QELIBBBFUYNqwEgAEEANgIcIAAgATYCFCAAQf2NgIAANgIQIABBHTYCDEEAIRAM5AELIABBJzYCHCAAIAE2AhQgACAQNgIMQQAhEAzjAQsgECEBQQEhFAJAAkACQAJAAkACQAJAIAAtACxBfmoOBwYFBQMBAgAFCyAAIAAvATBBCHI7ATAMAwtBAiEUDAELQQQhFAsgAEEBOgAsIAAgAC8BMCAUcjsBMAsgECEBC0ErIRAMygELIABBADYCHCAAIBA2AhQgAEGrkoCAADYCECAAQQs2AgxBACEQDOIBCyAAQQA2AhwgACABNgIUIABB4Y+AgAA2AhAgAEEKNgIMQQAhEAzhAQsgAEEAOgAsIBAhAQy9AQsgECEBQQEhFAJAAkACQAJAAkAgAC0ALEF7ag4EAwECAAULIAAgAC8BMEEIcjsBMAwDC0ECIRQMAQtBBCEUCyAAQQE6ACwgACAALwEwIBRyOwEwCyAQIQELQSkhEAzFAQsgAEEANgIcIAAgATYCFCAAQfCUgIAANgIQIABBAzYCDEEAIRAM3QELAkAgDi0AAEENRw0AIAAoAgQhASAAQQA2AgQCQCAAIAEgDhCxgICAACIBDQAgDkEBaiEBDHULIABBLDYCHCAAIAE2AgwgACAOQQFqNgIUQQAhEAzdAQsgAC0ALUEBcUUNAUHEASEQDMMBCwJAIA4gAkcNAEEtIRAM3AELAkACQANAAkAgDi0AAEF2ag4EAgAAAwALIA5BAWoiDiACRw0AC0EtIRAM3QELIAAoAgQhASAAQQA2AgQCQCAAIAEgDhCxgICAACIBDQAgDiEBDHQLIABBLDYCHCAAIA42AhQgACABNgIMQQAhEAzcAQsgACgCBCEBIABBADYCBAJAIAAgASAOELGAgIAAIgENACAOQQFqIQEMcwsgAEEsNgIcIAAgATYCDCAAIA5BAWo2AhRBACEQDNsBCyAAKAIEIQQgAEEANgIEIAAgBCAOELGAgIAAIgQNoAEgDiEBDM4BCyAQQSxHDQEgAUEBaiEQQQEhAQJAAkACQAJAAkAgAC0ALEF7ag4EAwECBAALIBAhAQwEC0ECIQEMAQtBBCEBCyAAQQE6ACwgACAALwEwIAFyOwEwIBAhAQwBCyAAIAAvATBBCHI7ATAgECEBC0E5IRAMvwELIABBADoALCABIQELQTQhEAy9AQsgACAALwEwQSByOwEwIAEhAQwCCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQsYCAgAAiBA0AIAEhAQzHAQsgAEE3NgIcIAAgATYCFCAAIAQ2AgxBACEQDNQBCyAAQQg6ACwgASEBC0EwIRAMuQELAkAgAC0AKEEBRg0AIAEhAQwECyAALQAtQQhxRQ2TASABIQEMAwsgAC0AMEEgcQ2UAUHFASEQDLcBCwJAIA8gAkYNAAJAA0ACQCAPLQAAQVBqIgFB/wFxQQpJDQAgDyEBQTUhEAy6AQsgACkDICIRQpmz5syZs+bMGVYNASAAIBFCCn4iETcDICARIAGtQv8BgyISQn+FVg0BIAAgESASfDcDICAPQQFqIg8gAkcNAAtBOSEQDNEBCyAAKAIEIQIgAEEANgIEIAAgAiAPQQFqIgQQsYCAgAAiAg2VASAEIQEMwwELQTkhEAzPAQsCQCAALwEwIgFBCHFFDQAgAC0AKEEBRw0AIAAtAC1BCHFFDZABCyAAIAFB9/sDcUGABHI7ATAgDyEBC0E3IRAMtAELIAAgAC8BMEEQcjsBMAyrAQsgEEEVRg2LASAAQQA2AhwgACABNgIUIABB8I6AgAA2AhAgAEEcNgIMQQAhEAzLAQsgAEHDADYCHCAAIAE2AgwgACANQQFqNgIUQQAhEAzKAQsCQCABLQAAQTpHDQAgACgCBCEQIABBADYCBAJAIAAgECABEK+AgIAAIhANACABQQFqIQEMYwsgAEHDADYCHCAAIBA2AgwgACABQQFqNgIUQQAhEAzKAQsgAEEANgIcIAAgATYCFCAAQbGRgIAANgIQIABBCjYCDEEAIRAMyQELIABBADYCHCAAIAE2AhQgAEGgmYCAADYCECAAQR42AgxBACEQDMgBCyAAQQA2AgALIABBgBI7ASogACAXQQFqIgEgAhCogICAACIQDQEgASEBC0HHACEQDKwBCyAQQRVHDYMBIABB0QA2AhwgACABNgIUIABB45eAgAA2AhAgAEEVNgIMQQAhEAzEAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMXgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAzDAQsgAEEANgIcIAAgFDYCFCAAQcGogIAANgIQIABBBzYCDCAAQQA2AgBBACEQDMIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxdCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDMEBC0EAIRAgAEEANgIcIAAgATYCFCAAQYCRgIAANgIQIABBCTYCDAzAAQsgEEEVRg19IABBADYCHCAAIAE2AhQgAEGUjYCAADYCECAAQSE2AgxBACEQDL8BC0EBIRZBACEXQQAhFEEBIRALIAAgEDoAKyABQQFqIQECQAJAIAAtAC1BEHENAAJAAkACQCAALQAqDgMBAAIECyAWRQ0DDAILIBQNAQwCCyAXRQ0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQrYCAgAAiEA0AIAEhAQxcCyAAQdgANgIcIAAgATYCFCAAIBA2AgxBACEQDL4BCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQrYCAgAAiBA0AIAEhAQytAQsgAEHZADYCHCAAIAE2AhQgACAENgIMQQAhEAy9AQsgACgCBCEEIABBADYCBAJAIAAgBCABEK2AgIAAIgQNACABIQEMqwELIABB2gA2AhwgACABNgIUIAAgBDYCDEEAIRAMvAELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKkBCyAAQdwANgIcIAAgATYCFCAAIAQ2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAynAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAymAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMRgsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAylAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHSADYCHCAAIBQ2AhQgACABNgIMQQAhEAykAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHTADYCHCAAIBQ2AhQgACABNgIMQQAhEAyjAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMQwsgAEHlADYCHCAAIBQ2AhQgACABNgIMQQAhEAyiAQsgAEEANgIcIAAgFDYCFCAAQcOPgIAANgIQIABBBzYCDEEAIRAMoQELIABBADYCHCAAIAE2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKABC0EAIRAgAEEANgIcIAAgFDYCFCAAQYycgIAANgIQIABBBzYCDAyfAQsgAEEANgIcIAAgFDYCFCAAQYycgIAANgIQIABBBzYCDEEAIRAMngELIABBADYCHCAAIBQ2AhQgAEH+kYCAADYCECAAQQc2AgxBACEQDJ0BCyAAQQA2AhwgACABNgIUIABBjpuAgAA2AhAgAEEGNgIMQQAhEAycAQsgEEEVRg1XIABBADYCHCAAIAE2AhQgAEHMjoCAADYCECAAQSA2AgxBACEQDJsBCyAAQQA2AgAgEEEBaiEBQSQhEAsgACAQOgApIAAoAgQhECAAQQA2AgQgACAQIAEQq4CAgAAiEA1UIAEhAQw+CyAAQQA2AgALQQAhECAAQQA2AhwgACAENgIUIABB8ZuAgAA2AhAgAEEGNgIMDJcBCyABQRVGDVAgAEEANgIcIAAgBTYCFCAAQfCMgIAANgIQIABBGzYCDEEAIRAMlgELIAAoAgQhBSAAQQA2AgQgACAFIBAQqYCAgAAiBQ0BIBBBAWohBQtBrQEhEAx7CyAAQcEBNgIcIAAgBTYCDCAAIBBBAWo2AhRBACEQDJMBCyAAKAIEIQYgAEEANgIEIAAgBiAQEKmAgIAAIgYNASAQQQFqIQYLQa4BIRAMeAsgAEHCATYCHCAAIAY2AgwgACAQQQFqNgIUQQAhEAyQAQsgAEEANgIcIAAgBzYCFCAAQZeLgIAANgIQIABBDTYCDEEAIRAMjwELIABBADYCHCAAIAg2AhQgAEHjkICAADYCECAAQQk2AgxBACEQDI4BCyAAQQA2AhwgACAINgIUIABBlI2AgAA2AhAgAEEhNgIMQQAhEAyNAQtBASEWQQAhF0EAIRRBASEQCyAAIBA6ACsgCUEBaiEIAkACQCAALQAtQRBxDQACQAJAAkAgAC0AKg4DAQACBAsgFkUNAwwCCyAUDQEMAgsgF0UNAQsgACgCBCEQIABBADYCBCAAIBAgCBCtgICAACIQRQ09IABByQE2AhwgACAINgIUIAAgEDYCDEEAIRAMjAELIAAoAgQhBCAAQQA2AgQgACAEIAgQrYCAgAAiBEUNdiAAQcoBNgIcIAAgCDYCFCAAIAQ2AgxBACEQDIsBCyAAKAIEIQQgAEEANgIEIAAgBCAJEK2AgIAAIgRFDXQgAEHLATYCHCAAIAk2AhQgACAENgIMQQAhEAyKAQsgACgCBCEEIABBADYCBCAAIAQgChCtgICAACIERQ1yIABBzQE2AhwgACAKNgIUIAAgBDYCDEEAIRAMiQELAkAgCy0AAEFQaiIQQf8BcUEKTw0AIAAgEDoAKiALQQFqIQpBtgEhEAxwCyAAKAIEIQQgAEEANgIEIAAgBCALEK2AgIAAIgRFDXAgAEHPATYCHCAAIAs2AhQgACAENgIMQQAhEAyIAQsgAEEANgIcIAAgBDYCFCAAQZCzgIAANgIQIABBCDYCDCAAQQA2AgBBACEQDIcBCyABQRVGDT8gAEEANgIcIAAgDDYCFCAAQcyOgIAANgIQIABBIDYCDEEAIRAMhgELIABBgQQ7ASggACgCBCEQIABCADcDACAAIBAgDEEBaiIMEKuAgIAAIhBFDTggAEHTATYCHCAAIAw2AhQgACAQNgIMQQAhEAyFAQsgAEEANgIAC0EAIRAgAEEANgIcIAAgBDYCFCAAQdibgIAANgIQIABBCDYCDAyDAQsgACgCBCEQIABCADcDACAAIBAgC0EBaiILEKuAgIAAIhANAUHGASEQDGkLIABBAjoAKAxVCyAAQdUBNgIcIAAgCzYCFCAAIBA2AgxBACEQDIABCyAQQRVGDTcgAEEANgIcIAAgBDYCFCAAQaSMgIAANgIQIABBEDYCDEEAIRAMfwsgAC0ANEEBRw00IAAgBCACELyAgIAAIhBFDTQgEEEVRw01IABB3AE2AhwgACAENgIUIABB1ZaAgAA2AhAgAEEVNgIMQQAhEAx+C0EAIRAgAEEANgIcIABBr4uAgAA2AhAgAEECNgIMIAAgFEEBajYCFAx9C0EAIRAMYwtBAiEQDGILQQ0hEAxhC0EPIRAMYAtBJSEQDF8LQRMhEAxeC0EVIRAMXQtBFiEQDFwLQRchEAxbC0EYIRAMWgtBGSEQDFkLQRohEAxYC0EbIRAMVwtBHCEQDFYLQR0hEAxVC0EfIRAMVAtBISEQDFMLQSMhEAxSC0HGACEQDFELQS4hEAxQC0EvIRAMTwtBOyEQDE4LQT0hEAxNC0HIACEQDEwLQckAIRAMSwtBywAhEAxKC0HMACEQDEkLQc4AIRAMSAtB0QAhEAxHC0HVACEQDEYLQdgAIRAMRQtB2QAhEAxEC0HbACEQDEMLQeQAIRAMQgtB5QAhEAxBC0HxACEQDEALQfQAIRAMPwtBjQEhEAw+C0GXASEQDD0LQakBIRAMPAtBrAEhEAw7C0HAASEQDDoLQbkBIRAMOQtBrwEhEAw4C0GxASEQDDcLQbIBIRAMNgtBtAEhEAw1C0G1ASEQDDQLQboBIRAMMwtBvQEhEAwyC0G/ASEQDDELQcEBIRAMMAsgAEEANgIcIAAgBDYCFCAAQemLgIAANgIQIABBHzYCDEEAIRAMSAsgAEHbATYCHCAAIAQ2AhQgAEH6loCAADYCECAAQRU2AgxBACEQDEcLIABB+AA2AhwgACAMNgIUIABBypiAgAA2AhAgAEEVNgIMQQAhEAxGCyAAQdEANgIcIAAgBTYCFCAAQbCXgIAANgIQIABBFTYCDEEAIRAMRQsgAEH5ADYCHCAAIAE2AhQgACAQNgIMQQAhEAxECyAAQfgANgIcIAAgATYCFCAAQcqYgIAANgIQIABBFTYCDEEAIRAMQwsgAEHkADYCHCAAIAE2AhQgAEHjl4CAADYCECAAQRU2AgxBACEQDEILIABB1wA2AhwgACABNgIUIABByZeAgAA2AhAgAEEVNgIMQQAhEAxBCyAAQQA2AhwgACABNgIUIABBuY2AgAA2AhAgAEEaNgIMQQAhEAxACyAAQcIANgIcIAAgATYCFCAAQeOYgIAANgIQIABBFTYCDEEAIRAMPwsgAEEANgIEIAAgDyAPELGAgIAAIgRFDQEgAEE6NgIcIAAgBDYCDCAAIA9BAWo2AhRBACEQDD4LIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCxgICAACIERQ0AIABBOzYCHCAAIAQ2AgwgACABQQFqNgIUQQAhEAw+CyABQQFqIQEMLQsgD0EBaiEBDC0LIABBADYCHCAAIA82AhQgAEHkkoCAADYCECAAQQQ2AgxBACEQDDsLIABBNjYCHCAAIAQ2AhQgACACNgIMQQAhEAw6CyAAQS42AhwgACAONgIUIAAgBDYCDEEAIRAMOQsgAEHQADYCHCAAIAE2AhQgAEGRmICAADYCECAAQRU2AgxBACEQDDgLIA1BAWohAQwsCyAAQRU2AhwgACABNgIUIABBgpmAgAA2AhAgAEEVNgIMQQAhEAw2CyAAQRs2AhwgACABNgIUIABBkZeAgAA2AhAgAEEVNgIMQQAhEAw1CyAAQQ82AhwgACABNgIUIABBkZeAgAA2AhAgAEEVNgIMQQAhEAw0CyAAQQs2AhwgACABNgIUIABBkZeAgAA2AhAgAEEVNgIMQQAhEAwzCyAAQRo2AhwgACABNgIUIABBgpmAgAA2AhAgAEEVNgIMQQAhEAwyCyAAQQs2AhwgACABNgIUIABBgpmAgAA2AhAgAEEVNgIMQQAhEAwxCyAAQQo2AhwgACABNgIUIABB5JaAgAA2AhAgAEEVNgIMQQAhEAwwCyAAQR42AhwgACABNgIUIABB+ZeAgAA2AhAgAEEVNgIMQQAhEAwvCyAAQQA2AhwgACAQNgIUIABB2o2AgAA2AhAgAEEUNgIMQQAhEAwuCyAAQQQ2AhwgACABNgIUIABBsJiAgAA2AhAgAEEVNgIMQQAhEAwtCyAAQQA2AgAgC0EBaiELC0G4ASEQDBILIABBADYCACAQQQFqIQFB9QAhEAwRCyABIQECQCAALQApQQVHDQBB4wAhEAwRC0HiACEQDBALQQAhECAAQQA2AhwgAEHkkYCAADYCECAAQQc2AgwgACAUQQFqNgIUDCgLIABBADYCACAXQQFqIQFBwAAhEAwOC0EBIQELIAAgAToALCAAQQA2AgAgF0EBaiEBC0EoIRAMCwsgASEBC0E4IRAMCQsCQCABIg8gAkYNAANAAkAgDy0AAEGAvoCAAGotAAAiAUEBRg0AIAFBAkcNAyAPQQFqIQEMBAsgD0EBaiIPIAJHDQALQT4hEAwiC0E+IRAMIQsgAEEAOgAsIA8hAQwBC0ELIRAMBgtBOiEQDAULIAFBAWohAUEtIRAMBAsgACABOgAsIABBADYCACAWQQFqIQFBDCEQDAMLIABBADYCACAXQQFqIQFBCiEQDAILIABBADYCAAsgAEEAOgAsIA0hAUEJIRAMAAsLQQAhECAAQQA2AhwgACALNgIUIABBzZCAgAA2AhAgAEEJNgIMDBcLQQAhECAAQQA2AhwgACAKNgIUIABB6YqAgAA2AhAgAEEJNgIMDBYLQQAhECAAQQA2AhwgACAJNgIUIABBt5CAgAA2AhAgAEEJNgIMDBULQQAhECAAQQA2AhwgACAINgIUIABBnJGAgAA2AhAgAEEJNgIMDBQLQQAhECAAQQA2AhwgACABNgIUIABBzZCAgAA2AhAgAEEJNgIMDBMLQQAhECAAQQA2AhwgACABNgIUIABB6YqAgAA2AhAgAEEJNgIMDBILQQAhECAAQQA2AhwgACABNgIUIABBt5CAgAA2AhAgAEEJNgIMDBELQQAhECAAQQA2AhwgACABNgIUIABBnJGAgAA2AhAgAEEJNgIMDBALQQAhECAAQQA2AhwgACABNgIUIABBl5WAgAA2AhAgAEEPNgIMDA8LQQAhECAAQQA2AhwgACABNgIUIABBl5WAgAA2AhAgAEEPNgIMDA4LQQAhECAAQQA2AhwgACABNgIUIABBwJKAgAA2AhAgAEELNgIMDA0LQQAhECAAQQA2AhwgACABNgIUIABBlYmAgAA2AhAgAEELNgIMDAwLQQAhECAAQQA2AhwgACABNgIUIABB4Y+AgAA2AhAgAEEKNgIMDAsLQQAhECAAQQA2AhwgACABNgIUIABB+4+AgAA2AhAgAEEKNgIMDAoLQQAhECAAQQA2AhwgACABNgIUIABB8ZmAgAA2AhAgAEECNgIMDAkLQQAhECAAQQA2AhwgACABNgIUIABBxJSAgAA2AhAgAEECNgIMDAgLQQAhECAAQQA2AhwgACABNgIUIABB8pWAgAA2AhAgAEECNgIMDAcLIABBAjYCHCAAIAE2AhQgAEGcmoCAADYCECAAQRY2AgxBACEQDAYLQQEhEAwFC0HUACEQIAEiBCACRg0EIANBCGogACAEIAJB2MKAgABBChDFgICAACADKAIMIQQgAygCCA4DAQQCAAsQyoCAgAAACyAAQQA2AhwgAEG1moCAADYCECAAQRc2AgwgACAEQQFqNgIUQQAhEAwCCyAAQQA2AhwgACAENgIUIABBypqAgAA2AhAgAEEJNgIMQQAhEAwBCwJAIAEiBCACRw0AQSIhEAwBCyAAQYmAgIAANgIIIAAgBDYCBEEhIRALIANBEGokgICAgAAgEAuvAQECfyABKAIAIQYCQAJAIAIgA0YNACAEIAZqIQQgBiADaiACayEHIAIgBkF/cyAFaiIGaiEFA0ACQCACLQAAIAQtAABGDQBBAiEEDAMLAkAgBg0AQQAhBCAFIQIMAwsgBkF/aiEGIARBAWohBCACQQFqIgIgA0cNAAsgByEGIAMhAgsgAEEBNgIAIAEgBjYCACAAIAI2AgQPCyABQQA2AgAgACAENgIAIAAgAjYCBAsKACAAEMeAgIAAC/I2AQt/I4CAgIAAQRBrIgEkgICAgAACQEEAKAKg0ICAAA0AQQAQy4CAgABBgNSEgABrIgJB2QBJDQBBACEDAkBBACgC4NOAgAAiBA0AQQBCfzcC7NOAgABBAEKAgISAgIDAADcC5NOAgABBACABQQhqQXBxQdiq1aoFcyIENgLg04CAAEEAQQA2AvTTgIAAQQBBADYCxNOAgAALQQAgAjYCzNOAgABBAEGA1ISAADYCyNOAgABBAEGA1ISAADYCmNCAgABBACAENgKs0ICAAEEAQX82AqjQgIAAA0AgA0HE0ICAAGogA0G40ICAAGoiBDYCACAEIANBsNCAgABqIgU2AgAgA0G80ICAAGogBTYCACADQczQgIAAaiADQcDQgIAAaiIFNgIAIAUgBDYCACADQdTQgIAAaiADQcjQgIAAaiIENgIAIAQgBTYCACADQdDQgIAAaiAENgIAIANBIGoiA0GAAkcNAAtBgNSEgABBeEGA1ISAAGtBD3FBAEGA1ISAAEEIakEPcRsiA2oiBEEEaiACQUhqIgUgA2siA0EBcjYCAEEAQQAoAvDTgIAANgKk0ICAAEEAIAM2ApTQgIAAQQAgBDYCoNCAgABBgNSEgAAgBWpBODYCBAsCQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAEHsAUsNAAJAQQAoAojQgIAAIgZBECAAQRNqQXBxIABBC0kbIgJBA3YiBHYiA0EDcUUNAAJAAkAgA0EBcSAEckEBcyIFQQN0IgRBsNCAgABqIgMgBEG40ICAAGooAgAiBCgCCCICRw0AQQAgBkF+IAV3cTYCiNCAgAAMAQsgAyACNgIIIAIgAzYCDAsgBEEIaiEDIAQgBUEDdCIFQQNyNgIEIAQgBWoiBCAEKAIEQQFyNgIEDAwLIAJBACgCkNCAgAAiB00NAQJAIANFDQACQAJAIAMgBHRBAiAEdCIDQQAgA2tycSIDQQAgA2txQX9qIgMgA0EMdkEQcSIDdiIEQQV2QQhxIgUgA3IgBCAFdiIDQQJ2QQRxIgRyIAMgBHYiA0EBdkECcSIEciADIAR2IgNBAXZBAXEiBHIgAyAEdmoiBEEDdCIDQbDQgIAAaiIFIANBuNCAgABqKAIAIgMoAggiAEcNAEEAIAZBfiAEd3EiBjYCiNCAgAAMAQsgBSAANgIIIAAgBTYCDAsgAyACQQNyNgIEIAMgBEEDdCIEaiAEIAJrIgU2AgAgAyACaiIAIAVBAXI2AgQCQCAHRQ0AIAdBeHFBsNCAgABqIQJBACgCnNCAgAAhBAJAAkAgBkEBIAdBA3Z0IghxDQBBACAGIAhyNgKI0ICAACACIQgMAQsgAigCCCEICyAIIAQ2AgwgAiAENgIIIAQgAjYCDCAEIAg2AggLIANBCGohA0EAIAA2ApzQgIAAQQAgBTYCkNCAgAAMDAtBACgCjNCAgAAiCUUNASAJQQAgCWtxQX9qIgMgA0EMdkEQcSIDdiIEQQV2QQhxIgUgA3IgBCAFdiIDQQJ2QQRxIgRyIAMgBHYiA0EBdkECcSIEciADIAR2IgNBAXZBAXEiBHIgAyAEdmpBAnRBuNKAgABqKAIAIgAoAgRBeHEgAmshBCAAIQUCQANAAkAgBSgCECIDDQAgBUEUaigCACIDRQ0CCyADKAIEQXhxIAJrIgUgBCAFIARJIgUbIQQgAyAAIAUbIQAgAyEFDAALCyAAKAIYIQoCQCAAKAIMIgggAEYNACAAKAIIIgNBACgCmNCAgABJGiAIIAM2AgggAyAINgIMDAsLAkAgAEEUaiIFKAIAIgMNACAAKAIQIgNFDQMgAEEQaiEFCwNAIAUhCyADIghBFGoiBSgCACIDDQAgCEEQaiEFIAgoAhAiAw0ACyALQQA2AgAMCgtBfyECIABBv39LDQAgAEETaiIDQXBxIQJBACgCjNCAgAAiB0UNAEEAIQsCQCACQYACSQ0AQR8hCyACQf///wdLDQAgA0EIdiIDIANBgP4/akEQdkEIcSIDdCIEIARBgOAfakEQdkEEcSIEdCIFIAVBgIAPakEQdkECcSIFdEEPdiADIARyIAVyayIDQQF0IAIgA0EVanZBAXFyQRxqIQsLQQAgAmshBAJAAkACQAJAIAtBAnRBuNKAgABqKAIAIgUNAEEAIQNBACEIDAELQQAhAyACQQBBGSALQQF2ayALQR9GG3QhAEEAIQgDQAJAIAUoAgRBeHEgAmsiBiAETw0AIAYhBCAFIQggBg0AQQAhBCAFIQggBSEDDAMLIAMgBUEUaigCACIGIAYgBSAAQR12QQRxakEQaigCACIFRhsgAyAGGyEDIABBAXQhACAFDQALCwJAIAMgCHINAEEAIQhBAiALdCIDQQAgA2tyIAdxIgNFDQMgA0EAIANrcUF/aiIDIANBDHZBEHEiA3YiBUEFdkEIcSIAIANyIAUgAHYiA0ECdkEEcSIFciADIAV2IgNBAXZBAnEiBXIgAyAFdiIDQQF2QQFxIgVyIAMgBXZqQQJ0QbjSgIAAaigCACEDCyADRQ0BCwNAIAMoAgRBeHEgAmsiBiAESSEAAkAgAygCECIFDQAgA0EUaigCACEFCyAGIAQgABshBCADIAggABshCCAFIQMgBQ0ACwsgCEUNACAEQQAoApDQgIAAIAJrTw0AIAgoAhghCwJAIAgoAgwiACAIRg0AIAgoAggiA0EAKAKY0ICAAEkaIAAgAzYCCCADIAA2AgwMCQsCQCAIQRRqIgUoAgAiAw0AIAgoAhAiA0UNAyAIQRBqIQULA0AgBSEGIAMiAEEUaiIFKAIAIgMNACAAQRBqIQUgACgCECIDDQALIAZBADYCAAwICwJAQQAoApDQgIAAIgMgAkkNAEEAKAKc0ICAACEEAkACQCADIAJrIgVBEEkNACAEIAJqIgAgBUEBcjYCBEEAIAU2ApDQgIAAQQAgADYCnNCAgAAgBCADaiAFNgIAIAQgAkEDcjYCBAwBCyAEIANBA3I2AgQgBCADaiIDIAMoAgRBAXI2AgRBAEEANgKc0ICAAEEAQQA2ApDQgIAACyAEQQhqIQMMCgsCQEEAKAKU0ICAACIAIAJNDQBBACgCoNCAgAAiAyACaiIEIAAgAmsiBUEBcjYCBEEAIAU2ApTQgIAAQQAgBDYCoNCAgAAgAyACQQNyNgIEIANBCGohAwwKCwJAAkBBACgC4NOAgABFDQBBACgC6NOAgAAhBAwBC0EAQn83AuzTgIAAQQBCgICEgICAwAA3AuTTgIAAQQAgAUEMakFwcUHYqtWqBXM2AuDTgIAAQQBBADYC9NOAgABBAEEANgLE04CAAEGAgAQhBAtBACEDAkAgBCACQccAaiIHaiIGQQAgBGsiC3EiCCACSw0AQQBBMDYC+NOAgAAMCgsCQEEAKALA04CAACIDRQ0AAkBBACgCuNOAgAAiBCAIaiIFIARNDQAgBSADTQ0BC0EAIQNBAEEwNgL404CAAAwKC0EALQDE04CAAEEEcQ0EAkACQAJAQQAoAqDQgIAAIgRFDQBByNOAgAAhAwNAAkAgAygCACIFIARLDQAgBSADKAIEaiAESw0DCyADKAIIIgMNAAsLQQAQy4CAgAAiAEF/Rg0FIAghBgJAQQAoAuTTgIAAIgNBf2oiBCAAcUUNACAIIABrIAQgAGpBACADa3FqIQYLIAYgAk0NBSAGQf7///8HSw0FAkBBACgCwNOAgAAiA0UNAEEAKAK404CAACIEIAZqIgUgBE0NBiAFIANLDQYLIAYQy4CAgAAiAyAARw0BDAcLIAYgAGsgC3EiBkH+////B0sNBCAGEMuAgIAAIgAgAygCACADKAIEakYNAyAAIQMLAkAgA0F/Rg0AIAJByABqIAZNDQACQCAHIAZrQQAoAujTgIAAIgRqQQAgBGtxIgRB/v///wdNDQAgAyEADAcLAkAgBBDLgICAAEF/Rg0AIAQgBmohBiADIQAMBwtBACAGaxDLgICAABoMBAsgAyEAIANBf0cNBQwDC0EAIQgMBwtBACEADAULIABBf0cNAgtBAEEAKALE04CAAEEEcjYCxNOAgAALIAhB/v///wdLDQEgCBDLgICAACEAQQAQy4CAgAAhAyAAQX9GDQEgA0F/Rg0BIAAgA08NASADIABrIgYgAkE4ak0NAQtBAEEAKAK404CAACAGaiIDNgK404CAAAJAIANBACgCvNOAgABNDQBBACADNgK804CAAAsCQAJAAkACQEEAKAKg0ICAACIERQ0AQcjTgIAAIQMDQCAAIAMoAgAiBSADKAIEIghqRg0CIAMoAggiAw0ADAMLCwJAAkBBACgCmNCAgAAiA0UNACAAIANPDQELQQAgADYCmNCAgAALQQAhA0EAIAY2AszTgIAAQQAgADYCyNOAgABBAEF/NgKo0ICAAEEAQQAoAuDTgIAANgKs0ICAAEEAQQA2AtTTgIAAA0AgA0HE0ICAAGogA0G40ICAAGoiBDYCACAEIANBsNCAgABqIgU2AgAgA0G80ICAAGogBTYCACADQczQgIAAaiADQcDQgIAAaiIFNgIAIAUgBDYCACADQdTQgIAAaiADQcjQgIAAaiIENgIAIAQgBTYCACADQdDQgIAAaiAENgIAIANBIGoiA0GAAkcNAAsgAEF4IABrQQ9xQQAgAEEIakEPcRsiA2oiBCAGQUhqIgUgA2siA0EBcjYCBEEAQQAoAvDTgIAANgKk0ICAAEEAIAM2ApTQgIAAQQAgBDYCoNCAgAAgACAFakE4NgIEDAILIAMtAAxBCHENACAEIAVJDQAgBCAATw0AIARBeCAEa0EPcUEAIARBCGpBD3EbIgVqIgBBACgClNCAgAAgBmoiCyAFayIFQQFyNgIEIAMgCCAGajYCBEEAQQAoAvDTgIAANgKk0ICAAEEAIAU2ApTQgIAAQQAgADYCoNCAgAAgBCALakE4NgIEDAELAkAgAEEAKAKY0ICAACIITw0AQQAgADYCmNCAgAAgACEICyAAIAZqIQVByNOAgAAhAwJAAkACQAJAAkACQAJAA0AgAygCACAFRg0BIAMoAggiAw0ADAILCyADLQAMQQhxRQ0BC0HI04CAACEDA0ACQCADKAIAIgUgBEsNACAFIAMoAgRqIgUgBEsNAwsgAygCCCEDDAALCyADIAA2AgAgAyADKAIEIAZqNgIEIABBeCAAa0EPcUEAIABBCGpBD3EbaiILIAJBA3I2AgQgBUF4IAVrQQ9xQQAgBUEIakEPcRtqIgYgCyACaiICayEDAkAgBiAERw0AQQAgAjYCoNCAgABBAEEAKAKU0ICAACADaiIDNgKU0ICAACACIANBAXI2AgQMAwsCQCAGQQAoApzQgIAARw0AQQAgAjYCnNCAgABBAEEAKAKQ0ICAACADaiIDNgKQ0ICAACACIANBAXI2AgQgAiADaiADNgIADAMLAkAgBigCBCIEQQNxQQFHDQAgBEF4cSEHAkACQCAEQf8BSw0AIAYoAggiBSAEQQN2IghBA3RBsNCAgABqIgBGGgJAIAYoAgwiBCAFRw0AQQBBACgCiNCAgABBfiAId3E2AojQgIAADAILIAQgAEYaIAQgBTYCCCAFIAQ2AgwMAQsgBigCGCEJAkACQCAGKAIMIgAgBkYNACAGKAIIIgQgCEkaIAAgBDYCCCAEIAA2AgwMAQsCQCAGQRRqIgQoAgAiBQ0AIAZBEGoiBCgCACIFDQBBACEADAELA0AgBCEIIAUiAEEUaiIEKAIAIgUNACAAQRBqIQQgACgCECIFDQALIAhBADYCAAsgCUUNAAJAAkAgBiAGKAIcIgVBAnRBuNKAgABqIgQoAgBHDQAgBCAANgIAIAANAUEAQQAoAozQgIAAQX4gBXdxNgKM0ICAAAwCCyAJQRBBFCAJKAIQIAZGG2ogADYCACAARQ0BCyAAIAk2AhgCQCAGKAIQIgRFDQAgACAENgIQIAQgADYCGAsgBigCFCIERQ0AIABBFGogBDYCACAEIAA2AhgLIAcgA2ohAyAGIAdqIgYoAgQhBAsgBiAEQX5xNgIEIAIgA2ogAzYCACACIANBAXI2AgQCQCADQf8BSw0AIANBeHFBsNCAgABqIQQCQAJAQQAoAojQgIAAIgVBASADQQN2dCIDcQ0AQQAgBSADcjYCiNCAgAAgBCEDDAELIAQoAgghAwsgAyACNgIMIAQgAjYCCCACIAQ2AgwgAiADNgIIDAMLQR8hBAJAIANB////B0sNACADQQh2IgQgBEGA/j9qQRB2QQhxIgR0IgUgBUGA4B9qQRB2QQRxIgV0IgAgAEGAgA9qQRB2QQJxIgB0QQ92IAQgBXIgAHJrIgRBAXQgAyAEQRVqdkEBcXJBHGohBAsgAiAENgIcIAJCADcCECAEQQJ0QbjSgIAAaiEFAkBBACgCjNCAgAAiAEEBIAR0IghxDQAgBSACNgIAQQAgACAIcjYCjNCAgAAgAiAFNgIYIAIgAjYCCCACIAI2AgwMAwsgA0EAQRkgBEEBdmsgBEEfRht0IQQgBSgCACEAA0AgACIFKAIEQXhxIANGDQIgBEEddiEAIARBAXQhBCAFIABBBHFqQRBqIggoAgAiAA0ACyAIIAI2AgAgAiAFNgIYIAIgAjYCDCACIAI2AggMAgsgAEF4IABrQQ9xQQAgAEEIakEPcRsiA2oiCyAGQUhqIgggA2siA0EBcjYCBCAAIAhqQTg2AgQgBCAFQTcgBWtBD3FBACAFQUlqQQ9xG2pBQWoiCCAIIARBEGpJGyIIQSM2AgRBAEEAKALw04CAADYCpNCAgABBACADNgKU0ICAAEEAIAs2AqDQgIAAIAhBEGpBACkC0NOAgAA3AgAgCEEAKQLI04CAADcCCEEAIAhBCGo2AtDTgIAAQQAgBjYCzNOAgABBACAANgLI04CAAEEAQQA2AtTTgIAAIAhBJGohAwNAIANBBzYCACADQQRqIgMgBUkNAAsgCCAERg0DIAggCCgCBEF+cTYCBCAIIAggBGsiADYCACAEIABBAXI2AgQCQCAAQf8BSw0AIABBeHFBsNCAgABqIQMCQAJAQQAoAojQgIAAIgVBASAAQQN2dCIAcQ0AQQAgBSAAcjYCiNCAgAAgAyEFDAELIAMoAgghBQsgBSAENgIMIAMgBDYCCCAEIAM2AgwgBCAFNgIIDAQLQR8hAwJAIABB////B0sNACAAQQh2IgMgA0GA/j9qQRB2QQhxIgN0IgUgBUGA4B9qQRB2QQRxIgV0IgggCEGAgA9qQRB2QQJxIgh0QQ92IAMgBXIgCHJrIgNBAXQgACADQRVqdkEBcXJBHGohAwsgBCADNgIcIARCADcCECADQQJ0QbjSgIAAaiEFAkBBACgCjNCAgAAiCEEBIAN0IgZxDQAgBSAENgIAQQAgCCAGcjYCjNCAgAAgBCAFNgIYIAQgBDYCCCAEIAQ2AgwMBAsgAEEAQRkgA0EBdmsgA0EfRht0IQMgBSgCACEIA0AgCCIFKAIEQXhxIABGDQMgA0EddiEIIANBAXQhAyAFIAhBBHFqQRBqIgYoAgAiCA0ACyAGIAQ2AgAgBCAFNgIYIAQgBDYCDCAEIAQ2AggMAwsgBSgCCCIDIAI2AgwgBSACNgIIIAJBADYCGCACIAU2AgwgAiADNgIICyALQQhqIQMMBQsgBSgCCCIDIAQ2AgwgBSAENgIIIARBADYCGCAEIAU2AgwgBCADNgIIC0EAKAKU0ICAACIDIAJNDQBBACgCoNCAgAAiBCACaiIFIAMgAmsiA0EBcjYCBEEAIAM2ApTQgIAAQQAgBTYCoNCAgAAgBCACQQNyNgIEIARBCGohAwwDC0EAIQNBAEEwNgL404CAAAwCCwJAIAtFDQACQAJAIAggCCgCHCIFQQJ0QbjSgIAAaiIDKAIARw0AIAMgADYCACAADQFBACAHQX4gBXdxIgc2AozQgIAADAILIAtBEEEUIAsoAhAgCEYbaiAANgIAIABFDQELIAAgCzYCGAJAIAgoAhAiA0UNACAAIAM2AhAgAyAANgIYCyAIQRRqKAIAIgNFDQAgAEEUaiADNgIAIAMgADYCGAsCQAJAIARBD0sNACAIIAQgAmoiA0EDcjYCBCAIIANqIgMgAygCBEEBcjYCBAwBCyAIIAJqIgAgBEEBcjYCBCAIIAJBA3I2AgQgACAEaiAENgIAAkAgBEH/AUsNACAEQXhxQbDQgIAAaiEDAkACQEEAKAKI0ICAACIFQQEgBEEDdnQiBHENAEEAIAUgBHI2AojQgIAAIAMhBAwBCyADKAIIIQQLIAQgADYCDCADIAA2AgggACADNgIMIAAgBDYCCAwBC0EfIQMCQCAEQf///wdLDQAgBEEIdiIDIANBgP4/akEQdkEIcSIDdCIFIAVBgOAfakEQdkEEcSIFdCICIAJBgIAPakEQdkECcSICdEEPdiADIAVyIAJyayIDQQF0IAQgA0EVanZBAXFyQRxqIQMLIAAgAzYCHCAAQgA3AhAgA0ECdEG40oCAAGohBQJAIAdBASADdCICcQ0AIAUgADYCAEEAIAcgAnI2AozQgIAAIAAgBTYCGCAAIAA2AgggACAANgIMDAELIARBAEEZIANBAXZrIANBH0YbdCEDIAUoAgAhAgJAA0AgAiIFKAIEQXhxIARGDQEgA0EddiECIANBAXQhAyAFIAJBBHFqQRBqIgYoAgAiAg0ACyAGIAA2AgAgACAFNgIYIAAgADYCDCAAIAA2AggMAQsgBSgCCCIDIAA2AgwgBSAANgIIIABBADYCGCAAIAU2AgwgACADNgIICyAIQQhqIQMMAQsCQCAKRQ0AAkACQCAAIAAoAhwiBUECdEG40oCAAGoiAygCAEcNACADIAg2AgAgCA0BQQAgCUF+IAV3cTYCjNCAgAAMAgsgCkEQQRQgCigCECAARhtqIAg2AgAgCEUNAQsgCCAKNgIYAkAgACgCECIDRQ0AIAggAzYCECADIAg2AhgLIABBFGooAgAiA0UNACAIQRRqIAM2AgAgAyAINgIYCwJAAkAgBEEPSw0AIAAgBCACaiIDQQNyNgIEIAAgA2oiAyADKAIEQQFyNgIEDAELIAAgAmoiBSAEQQFyNgIEIAAgAkEDcjYCBCAFIARqIAQ2AgACQCAHRQ0AIAdBeHFBsNCAgABqIQJBACgCnNCAgAAhAwJAAkBBASAHQQN2dCIIIAZxDQBBACAIIAZyNgKI0ICAACACIQgMAQsgAigCCCEICyAIIAM2AgwgAiADNgIIIAMgAjYCDCADIAg2AggLQQAgBTYCnNCAgABBACAENgKQ0ICAAAsgAEEIaiEDCyABQRBqJICAgIAAIAMLCgAgABDJgICAAAviDQEHfwJAIABFDQAgAEF4aiIBIABBfGooAgAiAkF4cSIAaiEDAkAgAkEBcQ0AIAJBA3FFDQEgASABKAIAIgJrIgFBACgCmNCAgAAiBEkNASACIABqIQACQCABQQAoApzQgIAARg0AAkAgAkH/AUsNACABKAIIIgQgAkEDdiIFQQN0QbDQgIAAaiIGRhoCQCABKAIMIgIgBEcNAEEAQQAoAojQgIAAQX4gBXdxNgKI0ICAAAwDCyACIAZGGiACIAQ2AgggBCACNgIMDAILIAEoAhghBwJAAkAgASgCDCIGIAFGDQAgASgCCCICIARJGiAGIAI2AgggAiAGNgIMDAELAkAgAUEUaiICKAIAIgQNACABQRBqIgIoAgAiBA0AQQAhBgwBCwNAIAIhBSAEIgZBFGoiAigCACIEDQAgBkEQaiECIAYoAhAiBA0ACyAFQQA2AgALIAdFDQECQAJAIAEgASgCHCIEQQJ0QbjSgIAAaiICKAIARw0AIAIgBjYCACAGDQFBAEEAKAKM0ICAAEF+IAR3cTYCjNCAgAAMAwsgB0EQQRQgBygCECABRhtqIAY2AgAgBkUNAgsgBiAHNgIYAkAgASgCECICRQ0AIAYgAjYCECACIAY2AhgLIAEoAhQiAkUNASAGQRRqIAI2AgAgAiAGNgIYDAELIAMoAgQiAkEDcUEDRw0AIAMgAkF+cTYCBEEAIAA2ApDQgIAAIAEgAGogADYCACABIABBAXI2AgQPCyABIANPDQAgAygCBCICQQFxRQ0AAkACQCACQQJxDQACQCADQQAoAqDQgIAARw0AQQAgATYCoNCAgABBAEEAKAKU0ICAACAAaiIANgKU0ICAACABIABBAXI2AgQgAUEAKAKc0ICAAEcNA0EAQQA2ApDQgIAAQQBBADYCnNCAgAAPCwJAIANBACgCnNCAgABHDQBBACABNgKc0ICAAEEAQQAoApDQgIAAIABqIgA2ApDQgIAAIAEgAEEBcjYCBCABIABqIAA2AgAPCyACQXhxIABqIQACQAJAIAJB/wFLDQAgAygCCCIEIAJBA3YiBUEDdEGw0ICAAGoiBkYaAkAgAygCDCICIARHDQBBAEEAKAKI0ICAAEF+IAV3cTYCiNCAgAAMAgsgAiAGRhogAiAENgIIIAQgAjYCDAwBCyADKAIYIQcCQAJAIAMoAgwiBiADRg0AIAMoAggiAkEAKAKY0ICAAEkaIAYgAjYCCCACIAY2AgwMAQsCQCADQRRqIgIoAgAiBA0AIANBEGoiAigCACIEDQBBACEGDAELA0AgAiEFIAQiBkEUaiICKAIAIgQNACAGQRBqIQIgBigCECIEDQALIAVBADYCAAsgB0UNAAJAAkAgAyADKAIcIgRBAnRBuNKAgABqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoAozQgIAAQX4gBHdxNgKM0ICAAAwCCyAHQRBBFCAHKAIQIANGG2ogBjYCACAGRQ0BCyAGIAc2AhgCQCADKAIQIgJFDQAgBiACNgIQIAIgBjYCGAsgAygCFCICRQ0AIAZBFGogAjYCACACIAY2AhgLIAEgAGogADYCACABIABBAXI2AgQgAUEAKAKc0ICAAEcNAUEAIAA2ApDQgIAADwsgAyACQX5xNgIEIAEgAGogADYCACABIABBAXI2AgQLAkAgAEH/AUsNACAAQXhxQbDQgIAAaiECAkACQEEAKAKI0ICAACIEQQEgAEEDdnQiAHENAEEAIAQgAHI2AojQgIAAIAIhAAwBCyACKAIIIQALIAAgATYCDCACIAE2AgggASACNgIMIAEgADYCCA8LQR8hAgJAIABB////B0sNACAAQQh2IgIgAkGA/j9qQRB2QQhxIgJ0IgQgBEGA4B9qQRB2QQRxIgR0IgYgBkGAgA9qQRB2QQJxIgZ0QQ92IAIgBHIgBnJrIgJBAXQgACACQRVqdkEBcXJBHGohAgsgASACNgIcIAFCADcCECACQQJ0QbjSgIAAaiEEAkACQEEAKAKM0ICAACIGQQEgAnQiA3ENACAEIAE2AgBBACAGIANyNgKM0ICAACABIAQ2AhggASABNgIIIAEgATYCDAwBCyAAQQBBGSACQQF2ayACQR9GG3QhAiAEKAIAIQYCQANAIAYiBCgCBEF4cSAARg0BIAJBHXYhBiACQQF0IQIgBCAGQQRxakEQaiIDKAIAIgYNAAsgAyABNgIAIAEgBDYCGCABIAE2AgwgASABNgIIDAELIAQoAggiACABNgIMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAKo0ICAAEF/aiIBQX8gARs2AqjQgIAACwsEAAAAC04AAkAgAA0APwBBEHQPCwJAIABB//8DcQ0AIABBf0wNAAJAIABBEHZAACIAQX9HDQBBAEEwNgL404CAAEF/DwsgAEEQdA8LEMqAgIAAAAvyAgIDfwF+AkAgAkUNACAAIAE6AAAgAiAAaiIDQX9qIAE6AAAgAkEDSQ0AIAAgAToAAiAAIAE6AAEgA0F9aiABOgAAIANBfmogAToAACACQQdJDQAgACABOgADIANBfGogAToAACACQQlJDQAgAEEAIABrQQNxIgRqIgMgAUH/AXFBgYKECGwiATYCACADIAIgBGtBfHEiBGoiAkF8aiABNgIAIARBCUkNACADIAE2AgggAyABNgIEIAJBeGogATYCACACQXRqIAE2AgAgBEEZSQ0AIAMgATYCGCADIAE2AhQgAyABNgIQIAMgATYCDCACQXBqIAE2AgAgAkFsaiABNgIAIAJBaGogATYCACACQWRqIAE2AgAgBCADQQRxQRhyIgVrIgJBIEkNACABrUKBgICAEH4hBiADIAVqIQEDQCABIAY3AxggASAGNwMQIAEgBjcDCCABIAY3AwAgAUEgaiEBIAJBYGoiAkEfSw0ACwsgAAsLjkgBAEGACAuGSAEAAAACAAAAAwAAAAAAAAAAAAAABAAAAAUAAAAAAAAAAAAAAAYAAAAHAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASW52YWxpZCBjaGFyIGluIHVybCBxdWVyeQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2JvZHkAQ29udGVudC1MZW5ndGggb3ZlcmZsb3cAQ2h1bmsgc2l6ZSBvdmVyZmxvdwBSZXNwb25zZSBvdmVyZmxvdwBJbnZhbGlkIG1ldGhvZCBmb3IgSFRUUC94LnggcmVxdWVzdABJbnZhbGlkIG1ldGhvZCBmb3IgUlRTUC94LnggcmVxdWVzdABFeHBlY3RlZCBTT1VSQ0UgbWV0aG9kIGZvciBJQ0UveC54IHJlcXVlc3QASW52YWxpZCBjaGFyIGluIHVybCBmcmFnbWVudCBzdGFydABFeHBlY3RlZCBkb3QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9zdGF0dXMASW52YWxpZCByZXNwb25zZSBzdGF0dXMASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucwBVc2VyIGNhbGxiYWNrIGVycm9yAGBvbl9yZXNldGAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2hlYWRlcmAgY2FsbGJhY2sgZXJyb3IAYG9uX21lc3NhZ2VfYmVnaW5gIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19leHRlbnNpb25fdmFsdWVgIGNhbGxiYWNrIGVycm9yAGBvbl9zdGF0dXNfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl92ZXJzaW9uX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdXJsX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWV0aG9kX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX25hbWVgIGNhbGxiYWNrIGVycm9yAFVuZXhwZWN0ZWQgY2hhciBpbiB1cmwgc2VydmVyAEludmFsaWQgaGVhZGVyIHZhbHVlIGNoYXIASW52YWxpZCBoZWFkZXIgZmllbGQgY2hhcgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3ZlcnNpb24ASW52YWxpZCBtaW5vciB2ZXJzaW9uAEludmFsaWQgbWFqb3IgdmVyc2lvbgBFeHBlY3RlZCBzcGFjZSBhZnRlciB2ZXJzaW9uAEV4cGVjdGVkIENSTEYgYWZ0ZXIgdmVyc2lvbgBJbnZhbGlkIEhUVFAgdmVyc2lvbgBJbnZhbGlkIGhlYWRlciB0b2tlbgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3VybABJbnZhbGlkIGNoYXJhY3RlcnMgaW4gdXJsAFVuZXhwZWN0ZWQgc3RhcnQgY2hhciBpbiB1cmwARG91YmxlIEAgaW4gdXJsAEVtcHR5IENvbnRlbnQtTGVuZ3RoAEludmFsaWQgY2hhcmFjdGVyIGluIENvbnRlbnQtTGVuZ3RoAER1cGxpY2F0ZSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXIgaW4gdXJsIHBhdGgAQ29udGVudC1MZW5ndGggY2FuJ3QgYmUgcHJlc2VudCB3aXRoIFRyYW5zZmVyLUVuY29kaW5nAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIHNpemUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfdmFsdWUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyB2YWx1ZQBNaXNzaW5nIGV4cGVjdGVkIExGIGFmdGVyIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AgaGVhZGVyIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGUgdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBxdW90ZWQgdmFsdWUAUGF1c2VkIGJ5IG9uX2hlYWRlcnNfY29tcGxldGUASW52YWxpZCBFT0Ygc3RhdGUAb25fcmVzZXQgcGF1c2UAb25fY2h1bmtfaGVhZGVyIHBhdXNlAG9uX21lc3NhZ2VfYmVnaW4gcGF1c2UAb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlIHBhdXNlAG9uX3N0YXR1c19jb21wbGV0ZSBwYXVzZQBvbl92ZXJzaW9uX2NvbXBsZXRlIHBhdXNlAG9uX3VybF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19jb21wbGV0ZSBwYXVzZQBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGUgcGF1c2UAb25fbWVzc2FnZV9jb21wbGV0ZSBwYXVzZQBvbl9tZXRob2RfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lIHBhdXNlAFVuZXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgc3RhcnQgbGluZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgbmFtZQBQYXVzZSBvbiBDT05ORUNUL1VwZ3JhZGUAUGF1c2Ugb24gUFJJL1VwZ3JhZGUARXhwZWN0ZWQgSFRUUC8yIENvbm5lY3Rpb24gUHJlZmFjZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX21ldGhvZABFeHBlY3RlZCBzcGFjZSBhZnRlciBtZXRob2QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfZmllbGQAUGF1c2VkAEludmFsaWQgd29yZCBlbmNvdW50ZXJlZABJbnZhbGlkIG1ldGhvZCBlbmNvdW50ZXJlZABVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNjaGVtYQBSZXF1ZXN0IGhhcyBpbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AAU1dJVENIX1BST1hZAFVTRV9QUk9YWQBNS0FDVElWSVRZAFVOUFJPQ0VTU0FCTEVfRU5USVRZAENPUFkATU9WRURfUEVSTUFORU5UTFkAVE9PX0VBUkxZAE5PVElGWQBGQUlMRURfREVQRU5ERU5DWQBCQURfR0FURVdBWQBQTEFZAFBVVABDSEVDS09VVABHQVRFV0FZX1RJTUVPVVQAUkVRVUVTVF9USU1FT1VUAE5FVFdPUktfQ09OTkVDVF9USU1FT1VUAENPTk5FQ1RJT05fVElNRU9VVABMT0dJTl9USU1FT1VUAE5FVFdPUktfUkVBRF9USU1FT1VUAFBPU1QATUlTRElSRUNURURfUkVRVUVTVABDTElFTlRfQ0xPU0VEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9MT0FEX0JBTEFOQ0VEX1JFUVVFU1QAQkFEX1JFUVVFU1QASFRUUF9SRVFVRVNUX1NFTlRfVE9fSFRUUFNfUE9SVABSRVBPUlQASU1fQV9URUFQT1QAUkVTRVRfQ09OVEVOVABOT19DT05URU5UAFBBUlRJQUxfQ09OVEVOVABIUEVfSU5WQUxJRF9DT05TVEFOVABIUEVfQ0JfUkVTRVQAR0VUAEhQRV9TVFJJQ1QAQ09ORkxJQ1QAVEVNUE9SQVJZX1JFRElSRUNUAFBFUk1BTkVOVF9SRURJUkVDVABDT05ORUNUAE1VTFRJX1NUQVRVUwBIUEVfSU5WQUxJRF9TVEFUVVMAVE9PX01BTllfUkVRVUVTVFMARUFSTFlfSElOVFMAVU5BVkFJTEFCTEVfRk9SX0xFR0FMX1JFQVNPTlMAT1BUSU9OUwBTV0lUQ0hJTkdfUFJPVE9DT0xTAFZBUklBTlRfQUxTT19ORUdPVElBVEVTAE1VTFRJUExFX0NIT0lDRVMASU5URVJOQUxfU0VSVkVSX0VSUk9SAFdFQl9TRVJWRVJfVU5LTk9XTl9FUlJPUgBSQUlMR1VOX0VSUk9SAElERU5USVRZX1BST1ZJREVSX0FVVEhFTlRJQ0FUSU9OX0VSUk9SAFNTTF9DRVJUSUZJQ0FURV9FUlJPUgBJTlZBTElEX1hfRk9SV0FSREVEX0ZPUgBTRVRfUEFSQU1FVEVSAEdFVF9QQVJBTUVURVIASFBFX1VTRVIAU0VFX09USEVSAEhQRV9DQl9DSFVOS19IRUFERVIATUtDQUxFTkRBUgBTRVRVUABXRUJfU0VSVkVSX0lTX0RPV04AVEVBUkRPV04ASFBFX0NMT1NFRF9DT05ORUNUSU9OAEhFVVJJU1RJQ19FWFBJUkFUSU9OAERJU0NPTk5FQ1RFRF9PUEVSQVRJT04ATk9OX0FVVEhPUklUQVRJVkVfSU5GT1JNQVRJT04ASFBFX0lOVkFMSURfVkVSU0lPTgBIUEVfQ0JfTUVTU0FHRV9CRUdJTgBTSVRFX0lTX0ZST1pFTgBIUEVfSU5WQUxJRF9IRUFERVJfVE9LRU4ASU5WQUxJRF9UT0tFTgBGT1JCSURERU4ARU5IQU5DRV9ZT1VSX0NBTE0ASFBFX0lOVkFMSURfVVJMAEJMT0NLRURfQllfUEFSRU5UQUxfQ09OVFJPTABNS0NPTABBQ0wASFBFX0lOVEVSTkFMAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0VfVU5PRkZJQ0lBTABIUEVfT0sAVU5MSU5LAFVOTE9DSwBQUkkAUkVUUllfV0lUSABIUEVfSU5WQUxJRF9DT05URU5UX0xFTkdUSABIUEVfVU5FWFBFQ1RFRF9DT05URU5UX0xFTkdUSABGTFVTSABQUk9QUEFUQ0gATS1TRUFSQ0gAVVJJX1RPT19MT05HAFBST0NFU1NJTkcATUlTQ0VMTEFORU9VU19QRVJTSVNURU5UX1dBUk5JTkcATUlTQ0VMTEFORU9VU19XQVJOSU5HAEhQRV9JTlZBTElEX1RSQU5TRkVSX0VOQ09ESU5HAEV4cGVjdGVkIENSTEYASFBFX0lOVkFMSURfQ0hVTktfU0laRQBNT1ZFAENPTlRJTlVFAEhQRV9DQl9TVEFUVVNfQ09NUExFVEUASFBFX0NCX0hFQURFUlNfQ09NUExFVEUASFBFX0NCX1ZFUlNJT05fQ09NUExFVEUASFBFX0NCX1VSTF9DT01QTEVURQBIUEVfQ0JfQ0hVTktfQ09NUExFVEUASFBFX0NCX0hFQURFUl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX1ZBTFVFX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19FWFRFTlNJT05fTkFNRV9DT01QTEVURQBIUEVfQ0JfTUVTU0FHRV9DT01QTEVURQBIUEVfQ0JfTUVUSE9EX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfRklFTERfQ09NUExFVEUAREVMRVRFAEhQRV9JTlZBTElEX0VPRl9TVEFURQBJTlZBTElEX1NTTF9DRVJUSUZJQ0FURQBQQVVTRQBOT19SRVNQT05TRQBVTlNVUFBPUlRFRF9NRURJQV9UWVBFAEdPTkUATk9UX0FDQ0VQVEFCTEUAU0VSVklDRV9VTkFWQUlMQUJMRQBSQU5HRV9OT1RfU0FUSVNGSUFCTEUAT1JJR0lOX0lTX1VOUkVBQ0hBQkxFAFJFU1BPTlNFX0lTX1NUQUxFAFBVUkdFAE1FUkdFAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0UAUkVRVUVTVF9IRUFERVJfVE9PX0xBUkdFAFBBWUxPQURfVE9PX0xBUkdFAElOU1VGRklDSUVOVF9TVE9SQUdFAEhQRV9QQVVTRURfVVBHUkFERQBIUEVfUEFVU0VEX0gyX1VQR1JBREUAU09VUkNFAEFOTk9VTkNFAFRSQUNFAEhQRV9VTkVYUEVDVEVEX1NQQUNFAERFU0NSSUJFAFVOU1VCU0NSSUJFAFJFQ09SRABIUEVfSU5WQUxJRF9NRVRIT0QATk9UX0ZPVU5EAFBST1BGSU5EAFVOQklORABSRUJJTkQAVU5BVVRIT1JJWkVEAE1FVEhPRF9OT1RfQUxMT1dFRABIVFRQX1ZFUlNJT05fTk9UX1NVUFBPUlRFRABBTFJFQURZX1JFUE9SVEVEAEFDQ0VQVEVEAE5PVF9JTVBMRU1FTlRFRABMT09QX0RFVEVDVEVEAEhQRV9DUl9FWFBFQ1RFRABIUEVfTEZfRVhQRUNURUQAQ1JFQVRFRABJTV9VU0VEAEhQRV9QQVVTRUQAVElNRU9VVF9PQ0NVUkVEAFBBWU1FTlRfUkVRVUlSRUQAUFJFQ09ORElUSU9OX1JFUVVJUkVEAFBST1hZX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAE5FVFdPUktfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQATEVOR1RIX1JFUVVJUkVEAFNTTF9DRVJUSUZJQ0FURV9SRVFVSVJFRABVUEdSQURFX1JFUVVJUkVEAFBBR0VfRVhQSVJFRABQUkVDT05ESVRJT05fRkFJTEVEAEVYUEVDVEFUSU9OX0ZBSUxFRABSRVZBTElEQVRJT05fRkFJTEVEAFNTTF9IQU5EU0hBS0VfRkFJTEVEAExPQ0tFRABUUkFOU0ZPUk1BVElPTl9BUFBMSUVEAE5PVF9NT0RJRklFRABOT1RfRVhURU5ERUQAQkFORFdJRFRIX0xJTUlUX0VYQ0VFREVEAFNJVEVfSVNfT1ZFUkxPQURFRABIRUFEAEV4cGVjdGVkIEhUVFAvAABeEwAAJhMAADAQAADwFwAAnRMAABUSAAA5FwAA8BIAAAoQAAB1EgAArRIAAIITAABPFAAAfxAAAKAVAAAjFAAAiRIAAIsUAABNFQAA1BEAAM8UAAAQGAAAyRYAANwWAADBEQAA4BcAALsUAAB0FAAAfBUAAOUUAAAIFwAAHxAAAGUVAACjFAAAKBUAAAIVAACZFQAALBAAAIsZAABPDwAA1A4AAGoQAADOEAAAAhcAAIkOAABuEwAAHBMAAGYUAABWFwAAwRMAAM0TAABsEwAAaBcAAGYXAABfFwAAIhMAAM4PAABpDgAA2A4AAGMWAADLEwAAqg4AACgXAAAmFwAAxRMAAF0WAADoEQAAZxMAAGUTAADyFgAAcxMAAB0XAAD5FgAA8xEAAM8OAADOFQAADBIAALMRAAClEQAAYRAAADIXAAC7EwAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAgMCAgICAgAAAgIAAgIAAgICAgICAgICAgAEAAAAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAgICAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgICAgIAAAICAAICAAICAgICAgICAgIAAwAEAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsb3NlZWVwLWFsaXZlAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQFjaHVua2VkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQABAQEBAQAAAQEAAQEAAQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVjdGlvbmVudC1sZW5ndGhvbnJveHktY29ubmVjdGlvbgAAAAAAAAAAAAAAAAAAAHJhbnNmZXItZW5jb2RpbmdwZ3JhZGUNCg0KDQpTTQ0KDQpUVFAvQ0UvVFNQLwAAAAAAAAAAAAAAAAECAAEDAAAAAAAAAAAAAAAAAAAAAAAABAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQUBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAABAAACAAAAAAAAAAAAAAAAAAAAAAAAAwQAAAQEBAQEBAQEBAQEBQQEBAQEBAQEBAQEBAAEAAYHBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},2261:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.enumToMap=void 0;function enumToMap(A){const e={};Object.keys(A).forEach((t=>{const s=A[t];if(typeof s==="number"){e[t]=s}}));return e}e.enumToMap=enumToMap},1028:(A,e,t)=>{"use strict";const{kClients:s}=t(6168);const r=t(6283);const{kAgent:o,kMockAgentSet:n,kMockAgentGet:i,kDispatches:E,kIsMockActive:Q,kNetConnect:g,kGetNetConnect:B,kOptions:C,kFactory:a}=t(4621);const I=t(4425);const c=t(5387);const{matchValue:h,buildMockOptions:l}=t(3240);const{InvalidArgumentError:u,UndiciError:d}=t(7528);const f=t(5242);const y=t(8156);const D=t(8104);class FakeWeakRef{constructor(A){this.value=A}deref(){return this.value}}class MockAgent extends f{constructor(A){super(A);this[g]=true;this[Q]=true;if(A&&A.agent&&typeof A.agent.dispatch!=="function"){throw new u("Argument opts.agent must implement Agent")}const e=A&&A.agent?A.agent:new r(A);this[o]=e;this[s]=e[s];this[C]=l(A)}get(A){let e=this[i](A);if(!e){e=this[a](A);this[n](A,e)}return e}dispatch(A,e){this.get(A.origin);return this[o].dispatch(A,e)}async close(){await this[o].close();this[s].clear()}deactivate(){this[Q]=false}activate(){this[Q]=true}enableNetConnect(A){if(typeof A==="string"||typeof A==="function"||A instanceof RegExp){if(Array.isArray(this[g])){this[g].push(A)}else{this[g]=[A]}}else if(typeof A==="undefined"){this[g]=true}else{throw new u("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[g]=false}get isMockActive(){return this[Q]}[n](A,e){this[s].set(A,new FakeWeakRef(e))}[a](A){const e=Object.assign({agent:this},this[C]);return this[C]&&this[C].connections===1?new I(A,e):new c(A,e)}[i](A){const e=this[s].get(A);if(e){return e.deref()}if(typeof A!=="string"){const e=this[a]("http://localhost:9999");this[n](A,e);return e}for(const[e,t]of Array.from(this[s])){const s=t.deref();if(s&&typeof e!=="string"&&h(e,A)){const e=this[a](A);this[n](A,e);e[E]=s[E];return e}}}[B](){return this[g]}pendingInterceptors(){const A=this[s];return Array.from(A.entries()).flatMap((([A,e])=>e.deref()[E].map((e=>({...e,origin:A}))))).filter((({pending:A})=>A))}assertNoPendingInterceptors({pendingInterceptorsFormatter:A=new D}={}){const e=this.pendingInterceptors();if(e.length===0){return}const t=new y("interceptor","interceptors").pluralize(e.length);throw new d(`\n${t.count} ${t.noun} ${t.is} pending:\n\n${A.format(e)}\n`.trim())}}A.exports=MockAgent},4425:(A,e,t)=>{"use strict";const{promisify:s}=t(3837);const r=t(3379);const{buildMockDispatch:o}=t(3240);const{kDispatches:n,kMockAgent:i,kClose:E,kOriginalClose:Q,kOrigin:g,kOriginalDispatch:B,kConnected:C}=t(4621);const{MockInterceptor:a}=t(7861);const I=t(6168);const{InvalidArgumentError:c}=t(7528);class MockClient extends r{constructor(A,e){super(A,e);if(!e||!e.agent||typeof e.agent.dispatch!=="function"){throw new c("Argument opts.agent must implement Agent")}this[i]=e.agent;this[g]=A;this[n]=[];this[C]=1;this[B]=this.dispatch;this[Q]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[E]}get[I.kConnected](){return this[C]}intercept(A){return new a(A,this[n])}async[E](){await s(this[Q])();this[C]=0;this[i][I.kClients].delete(this[g])}}A.exports=MockClient},7610:(A,e,t)=>{"use strict";const{UndiciError:s}=t(7528);class MockNotMatchedError extends s{constructor(A){super(A);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=A||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}A.exports={MockNotMatchedError:MockNotMatchedError}},7861:(A,e,t)=>{"use strict";const{getResponseData:s,buildKey:r,addMockDispatch:o}=t(3240);const{kDispatches:n,kDispatchKey:i,kDefaultHeaders:E,kDefaultTrailers:Q,kContentLength:g,kMockDispatch:B}=t(4621);const{InvalidArgumentError:C}=t(7528);const{buildURL:a}=t(7234);class MockScope{constructor(A){this[B]=A}delay(A){if(typeof A!=="number"||!Number.isInteger(A)||A<=0){throw new C("waitInMs must be a valid integer > 0")}this[B].delay=A;return this}persist(){this[B].persist=true;return this}times(A){if(typeof A!=="number"||!Number.isInteger(A)||A<=0){throw new C("repeatTimes must be a valid integer > 0")}this[B].times=A;return this}}class MockInterceptor{constructor(A,e){if(typeof A!=="object"){throw new C("opts must be an object")}if(typeof A.path==="undefined"){throw new C("opts.path must be defined")}if(typeof A.method==="undefined"){A.method="GET"}if(typeof A.path==="string"){if(A.query){A.path=a(A.path,A.query)}else{const e=new URL(A.path,"data://");A.path=e.pathname+e.search}}if(typeof A.method==="string"){A.method=A.method.toUpperCase()}this[i]=r(A);this[n]=e;this[E]={};this[Q]={};this[g]=false}createMockScopeDispatchData(A,e,t={}){const r=s(e);const o=this[g]?{"content-length":r.length}:{};const n={...this[E],...o,...t.headers};const i={...this[Q],...t.trailers};return{statusCode:A,data:e,headers:n,trailers:i}}validateReplyParameters(A,e,t){if(typeof A==="undefined"){throw new C("statusCode must be defined")}if(typeof e==="undefined"){throw new C("data must be defined")}if(typeof t!=="object"){throw new C("responseOptions must be an object")}}reply(A){if(typeof A==="function"){const wrappedDefaultsCallback=e=>{const t=A(e);if(typeof t!=="object"){throw new C("reply options callback must return an object")}const{statusCode:s,data:r="",responseOptions:o={}}=t;this.validateReplyParameters(s,r,o);return{...this.createMockScopeDispatchData(s,r,o)}};const e=o(this[n],this[i],wrappedDefaultsCallback);return new MockScope(e)}const[e,t="",s={}]=[...arguments];this.validateReplyParameters(e,t,s);const r=this.createMockScopeDispatchData(e,t,s);const E=o(this[n],this[i],r);return new MockScope(E)}replyWithError(A){if(typeof A==="undefined"){throw new C("error must be defined")}const e=o(this[n],this[i],{error:A});return new MockScope(e)}defaultReplyHeaders(A){if(typeof A==="undefined"){throw new C("headers must be defined")}this[E]=A;return this}defaultReplyTrailers(A){if(typeof A==="undefined"){throw new C("trailers must be defined")}this[Q]=A;return this}replyContentLength(){this[g]=true;return this}}A.exports.MockInterceptor=MockInterceptor;A.exports.MockScope=MockScope},5387:(A,e,t)=>{"use strict";const{promisify:s}=t(3837);const r=t(8116);const{buildMockDispatch:o}=t(3240);const{kDispatches:n,kMockAgent:i,kClose:E,kOriginalClose:Q,kOrigin:g,kOriginalDispatch:B,kConnected:C}=t(4621);const{MockInterceptor:a}=t(7861);const I=t(6168);const{InvalidArgumentError:c}=t(7528);class MockPool extends r{constructor(A,e){super(A,e);if(!e||!e.agent||typeof e.agent.dispatch!=="function"){throw new c("Argument opts.agent must implement Agent")}this[i]=e.agent;this[g]=A;this[n]=[];this[C]=1;this[B]=this.dispatch;this[Q]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[E]}get[I.kConnected](){return this[C]}intercept(A){return new a(A,this[n])}async[E](){await s(this[Q])();this[C]=0;this[i][I.kClients].delete(this[g])}}A.exports=MockPool},4621:A=>{"use strict";A.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},3240:(A,e,t)=>{"use strict";const{MockNotMatchedError:s}=t(7610);const{kDispatches:r,kMockAgent:o,kOriginalDispatch:n,kOrigin:i,kGetNetConnect:E}=t(4621);const{buildURL:Q,nop:g}=t(7234);const{STATUS_CODES:B}=t(3685);const{types:{isPromise:C}}=t(3837);function matchValue(A,e){if(typeof A==="string"){return A===e}if(A instanceof RegExp){return A.test(e)}if(typeof A==="function"){return A(e)===true}return false}function lowerCaseEntries(A){return Object.fromEntries(Object.entries(A).map((([A,e])=>[A.toLocaleLowerCase(),e])))}function getHeaderByName(A,e){if(Array.isArray(A)){for(let t=0;t<A.length;t+=2){if(A[t].toLocaleLowerCase()===e.toLocaleLowerCase()){return A[t+1]}}return undefined}else if(typeof A.get==="function"){return A.get(e)}else{return lowerCaseEntries(A)[e.toLocaleLowerCase()]}}function buildHeadersFromArray(A){const e=A.slice();const t=[];for(let A=0;A<e.length;A+=2){t.push([e[A],e[A+1]])}return Object.fromEntries(t)}function matchHeaders(A,e){if(typeof A.headers==="function"){if(Array.isArray(e)){e=buildHeadersFromArray(e)}return A.headers(e?lowerCaseEntries(e):{})}if(typeof A.headers==="undefined"){return true}if(typeof e!=="object"||typeof A.headers!=="object"){return false}for(const[t,s]of Object.entries(A.headers)){const A=getHeaderByName(e,t);if(!matchValue(s,A)){return false}}return true}function safeUrl(A){if(typeof A!=="string"){return A}const e=A.split("?");if(e.length!==2){return A}const t=new URLSearchParams(e.pop());t.sort();return[...e,t.toString()].join("?")}function matchKey(A,{path:e,method:t,body:s,headers:r}){const o=matchValue(A.path,e);const n=matchValue(A.method,t);const i=typeof A.body!=="undefined"?matchValue(A.body,s):true;const E=matchHeaders(A,r);return o&&n&&i&&E}function getResponseData(A){if(Buffer.isBuffer(A)){return A}else if(typeof A==="object"){return JSON.stringify(A)}else{return A.toString()}}function getMockDispatch(A,e){const t=e.query?Q(e.path,e.query):e.path;const r=typeof t==="string"?safeUrl(t):t;let o=A.filter((({consumed:A})=>!A)).filter((({path:A})=>matchValue(safeUrl(A),r)));if(o.length===0){throw new s(`Mock dispatch not matched for path '${r}'`)}o=o.filter((({method:A})=>matchValue(A,e.method)));if(o.length===0){throw new s(`Mock dispatch not matched for method '${e.method}'`)}o=o.filter((({body:A})=>typeof A!=="undefined"?matchValue(A,e.body):true));if(o.length===0){throw new s(`Mock dispatch not matched for body '${e.body}'`)}o=o.filter((A=>matchHeaders(A,e.headers)));if(o.length===0){throw new s(`Mock dispatch not matched for headers '${typeof e.headers==="object"?JSON.stringify(e.headers):e.headers}'`)}return o[0]}function addMockDispatch(A,e,t){const s={timesInvoked:0,times:1,persist:false,consumed:false};const r=typeof t==="function"?{callback:t}:{...t};const o={...s,...e,pending:true,data:{error:null,...r}};A.push(o);return o}function deleteMockDispatch(A,e){const t=A.findIndex((A=>{if(!A.consumed){return false}return matchKey(A,e)}));if(t!==-1){A.splice(t,1)}}function buildKey(A){const{path:e,method:t,body:s,headers:r,query:o}=A;return{path:e,method:t,body:s,headers:r,query:o}}function generateKeyValues(A){return Object.entries(A).reduce(((A,[e,t])=>[...A,Buffer.from(`${e}`),Array.isArray(t)?t.map((A=>Buffer.from(`${A}`))):Buffer.from(`${t}`)]),[])}function getStatusText(A){return B[A]||"unknown"}async function getResponse(A){const e=[];for await(const t of A){e.push(t)}return Buffer.concat(e).toString("utf8")}function mockDispatch(A,e){const t=buildKey(A);const s=getMockDispatch(this[r],t);s.timesInvoked++;if(s.data.callback){s.data={...s.data,...s.data.callback(A)}}const{data:{statusCode:o,data:n,headers:i,trailers:E,error:Q},delay:B,persist:a}=s;const{timesInvoked:I,times:c}=s;s.consumed=!a&&I>=c;s.pending=I<c;if(Q!==null){deleteMockDispatch(this[r],t);e.onError(Q);return true}if(typeof B==="number"&&B>0){setTimeout((()=>{handleReply(this[r])}),B)}else{handleReply(this[r])}function handleReply(s,r=n){const Q=Array.isArray(A.headers)?buildHeadersFromArray(A.headers):A.headers;const B=typeof r==="function"?r({...A,headers:Q}):r;if(C(B)){B.then((A=>handleReply(s,A)));return}const a=getResponseData(B);const I=generateKeyValues(i);const c=generateKeyValues(E);e.abort=g;e.onHeaders(o,I,resume,getStatusText(o));e.onData(Buffer.from(a));e.onComplete(c);deleteMockDispatch(s,t)}function resume(){}return true}function buildMockDispatch(){const A=this[o];const e=this[i];const t=this[n];return function dispatch(r,o){if(A.isMockActive){try{mockDispatch.call(this,r,o)}catch(n){if(n instanceof s){const i=A[E]();if(i===false){throw new s(`${n.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`)}if(checkNetConnect(i,e)){t.call(this,r,o)}else{throw new s(`${n.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}}else{throw n}}}else{t.call(this,r,o)}}}function checkNetConnect(A,e){const t=new URL(e);if(A===true){return true}else if(Array.isArray(A)&&A.some((A=>matchValue(A,t.host)))){return true}return false}function buildMockOptions(A){if(A){const{agent:e,...t}=A;return t}}A.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},8104:(A,e,t)=>{"use strict";const{Transform:s}=t(2781);const{Console:r}=t(6206);A.exports=class PendingInterceptorsFormatter{constructor({disableColors:A}={}){this.transform=new s({transform(A,e,t){t(null,A)}});this.logger=new r({stdout:this.transform,inspectOptions:{colors:!A&&!process.env.CI}})}format(A){const e=A.map((({method:A,path:e,data:{statusCode:t},persist:s,times:r,timesInvoked:o,origin:n})=>({Method:A,Origin:n,Path:e,"Status code":t,Persistent:s?"✅":"❌",Invocations:o,Remaining:s?Infinity:r-o})));this.logger.table(e);return this.transform.read().toString()}}},8156:A=>{"use strict";const e={pronoun:"it",is:"is",was:"was",this:"this"};const t={pronoun:"they",is:"are",was:"were",this:"these"};A.exports=class Pluralizer{constructor(A,e){this.singular=A;this.plural=e}pluralize(A){const s=A===1;const r=s?e:t;const o=s?this.singular:this.plural;return{...r,count:A,noun:o}}}},1078:A=>{"use strict";const e=2048;const t=e-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(e);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&t)===this.bottom}push(A){this.list[this.top]=A;this.top=this.top+1&t}shift(){const A=this.list[this.bottom];if(A===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&t;return A}}A.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(A){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(A)}shift(){const A=this.tail;const e=A.shift();if(A.isEmpty()&&A.next!==null){this.tail=A.next}return e}}},3129:(A,e,t)=>{"use strict";const s=t(7210);const r=t(1078);const{kConnected:o,kSize:n,kRunning:i,kPending:E,kQueued:Q,kBusy:g,kFree:B,kUrl:C,kClose:a,kDestroy:I,kDispatch:c}=t(6168);const h=t(4483);const l=Symbol("clients");const u=Symbol("needDrain");const d=Symbol("queue");const f=Symbol("closed resolve");const y=Symbol("onDrain");const D=Symbol("onConnect");const R=Symbol("onDisconnect");const p=Symbol("onConnectionError");const w=Symbol("get dispatcher");const k=Symbol("add client");const F=Symbol("remove client");const N=Symbol("stats");class PoolBase extends s{constructor(){super();this[d]=new r;this[l]=[];this[Q]=0;const A=this;this[y]=function onDrain(e,t){const s=A[d];let r=false;while(!r){const e=s.shift();if(!e){break}A[Q]--;r=!this.dispatch(e.opts,e.handler)}this[u]=r;if(!this[u]&&A[u]){A[u]=false;A.emit("drain",e,[A,...t])}if(A[f]&&s.isEmpty()){Promise.all(A[l].map((A=>A.close()))).then(A[f])}};this[D]=(e,t)=>{A.emit("connect",e,[A,...t])};this[R]=(e,t,s)=>{A.emit("disconnect",e,[A,...t],s)};this[p]=(e,t,s)=>{A.emit("connectionError",e,[A,...t],s)};this[N]=new h(this)}get[g](){return this[u]}get[o](){return this[l].filter((A=>A[o])).length}get[B](){return this[l].filter((A=>A[o]&&!A[u])).length}get[E](){let A=this[Q];for(const{[E]:e}of this[l]){A+=e}return A}get[i](){let A=0;for(const{[i]:e}of this[l]){A+=e}return A}get[n](){let A=this[Q];for(const{[n]:e}of this[l]){A+=e}return A}get stats(){return this[N]}async[a](){if(this[d].isEmpty()){return Promise.all(this[l].map((A=>A.close())))}else{return new Promise((A=>{this[f]=A}))}}async[I](A){while(true){const e=this[d].shift();if(!e){break}e.handler.onError(A)}return Promise.all(this[l].map((e=>e.destroy(A))))}[c](A,e){const t=this[w]();if(!t){this[u]=true;this[d].push({opts:A,handler:e});this[Q]++}else if(!t.dispatch(A,e)){t[u]=true;this[u]=!this[w]()}return!this[u]}[k](A){A.on("drain",this[y]).on("connect",this[D]).on("disconnect",this[R]).on("connectionError",this[p]);this[l].push(A);if(this[u]){process.nextTick((()=>{if(this[u]){this[y](A[C],[this,A])}}))}return this}[F](A){A.close((()=>{const e=this[l].indexOf(A);if(e!==-1){this[l].splice(e,1)}}));this[u]=this[l].some((A=>!A[u]&&A.closed!==true&&A.destroyed!==true))}}A.exports={PoolBase:PoolBase,kClients:l,kNeedDrain:u,kAddClient:k,kRemoveClient:F,kGetDispatcher:w}},4483:(A,e,t)=>{const{kFree:s,kConnected:r,kPending:o,kQueued:n,kRunning:i,kSize:E}=t(6168);const Q=Symbol("pool");class PoolStats{constructor(A){this[Q]=A}get connected(){return this[Q][r]}get free(){return this[Q][s]}get pending(){return this[Q][o]}get queued(){return this[Q][n]}get running(){return this[Q][i]}get size(){return this[Q][E]}}A.exports=PoolStats},8116:(A,e,t)=>{"use strict";const{PoolBase:s,kClients:r,kNeedDrain:o,kAddClient:n,kGetDispatcher:i}=t(3129);const E=t(3379);const{InvalidArgumentError:Q}=t(7528);const g=t(7234);const{kUrl:B,kInterceptors:C}=t(6168);const a=t(1724);const I=Symbol("options");const c=Symbol("connections");const h=Symbol("factory");function defaultFactory(A,e){return new E(A,e)}class Pool extends s{constructor(A,{connections:e,factory:t=defaultFactory,connect:s,connectTimeout:r,tls:o,maxCachedSessions:n,socketPath:i,autoSelectFamily:E,autoSelectFamilyAttemptTimeout:l,allowH2:u,...d}={}){super();if(e!=null&&(!Number.isFinite(e)||e<0)){throw new Q("invalid connections")}if(typeof t!=="function"){throw new Q("factory must be a function.")}if(s!=null&&typeof s!=="function"&&typeof s!=="object"){throw new Q("connect must be a function or an object")}if(typeof s!=="function"){s=a({...o,maxCachedSessions:n,allowH2:u,socketPath:i,timeout:r==null?1e4:r,...g.nodeHasAutoSelectFamily&&E?{autoSelectFamily:E,autoSelectFamilyAttemptTimeout:l}:undefined,...s})}this[C]=d.interceptors&&d.interceptors.Pool&&Array.isArray(d.interceptors.Pool)?d.interceptors.Pool:[];this[c]=e||null;this[B]=g.parseOrigin(A);this[I]={...g.deepClone(d),connect:s,allowH2:u};this[I].interceptors=d.interceptors?{...d.interceptors}:undefined;this[h]=t}[i](){let A=this[r].find((A=>!A[o]));if(A){return A}if(!this[c]||this[r].length<this[c]){A=this[h](this[B],this[I]);this[n](A)}return A}}A.exports=Pool},4090:(A,e,t)=>{"use strict";const{kProxy:s,kClose:r,kDestroy:o,kInterceptors:n}=t(6168);const{URL:i}=t(7310);const E=t(6283);const Q=t(8116);const g=t(7210);const{InvalidArgumentError:B,RequestAbortedError:C}=t(7528);const a=t(1724);const I=Symbol("proxy agent");const c=Symbol("proxy client");const h=Symbol("proxy headers");const l=Symbol("request tls settings");const u=Symbol("proxy tls settings");const d=Symbol("connect endpoint function");function defaultProtocolPort(A){return A==="https:"?443:80}function buildProxyOptions(A){if(typeof A==="string"){A={uri:A}}if(!A||!A.uri){throw new B("Proxy opts.uri is mandatory")}return{uri:A.uri,protocol:A.protocol||"https"}}function defaultFactory(A,e){return new Q(A,e)}class ProxyAgent extends g{constructor(A){super(A);this[s]=buildProxyOptions(A);this[I]=new E(A);this[n]=A.interceptors&&A.interceptors.ProxyAgent&&Array.isArray(A.interceptors.ProxyAgent)?A.interceptors.ProxyAgent:[];if(typeof A==="string"){A={uri:A}}if(!A||!A.uri){throw new B("Proxy opts.uri is mandatory")}const{clientFactory:e=defaultFactory}=A;if(typeof e!=="function"){throw new B("Proxy opts.clientFactory must be a function.")}this[l]=A.requestTls;this[u]=A.proxyTls;this[h]=A.headers||{};if(A.auth&&A.token){throw new B("opts.auth cannot be used in combination with opts.token")}else if(A.auth){this[h]["proxy-authorization"]=`Basic ${A.auth}`}else if(A.token){this[h]["proxy-authorization"]=A.token}const t=new i(A.uri);const{origin:r,port:o,host:Q}=t;const g=a({...A.proxyTls});this[d]=a({...A.requestTls});this[c]=e(t,{connect:g});this[I]=new E({...A,connect:async(A,e)=>{let t=A.host;if(!A.port){t+=`:${defaultProtocolPort(A.protocol)}`}try{const{socket:s,statusCode:n}=await this[c].connect({origin:r,port:o,path:t,signal:A.signal,headers:{...this[h],host:Q}});if(n!==200){s.on("error",(()=>{})).destroy();e(new C("Proxy response !== 200 when HTTP Tunneling"))}if(A.protocol!=="https:"){e(null,s);return}let i;if(this[l]){i=this[l].servername}else{i=A.servername}this[d]({...A,servername:i,httpSocket:s},e)}catch(A){e(A)}}})}dispatch(A,e){const{host:t}=new i(A.origin);const s=buildHeaders(A.headers);throwIfProxyAuthIsSent(s);return this[I].dispatch({...A,headers:{...s,host:t}},e)}async[r](){await this[I].close();await this[c].close()}async[o](){await this[I].destroy();await this[c].destroy()}}function buildHeaders(A){if(Array.isArray(A)){const e={};for(let t=0;t<A.length;t+=2){e[A[t]]=A[t+1]}return e}return A}function throwIfProxyAuthIsSent(A){const e=A&&Object.keys(A).find((A=>A.toLowerCase()==="proxy-authorization"));if(e){throw new B("Proxy-Authorization should be sent in ProxyAgent constructor")}}A.exports=ProxyAgent},3698:A=>{"use strict";let e=Date.now();let t;const s=[];function onTimeout(){e=Date.now();let A=s.length;let t=0;while(t<A){const r=s[t];if(r.state===0){r.state=e+r.delay}else if(r.state>0&&e>=r.state){r.state=-1;r.callback(r.opaque)}if(r.state===-1){r.state=-2;if(t!==A-1){s[t]=s.pop()}else{s.pop()}A-=1}else{t+=1}}if(s.length>0){refreshTimeout()}}function refreshTimeout(){if(t&&t.refresh){t.refresh()}else{clearTimeout(t);t=setTimeout(onTimeout,1e3);if(t.unref){t.unref()}}}class Timeout{constructor(A,e,t){this.callback=A;this.delay=e;this.opaque=t;this.state=-2;this.refresh()}refresh(){if(this.state===-2){s.push(this);if(!t||s.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}A.exports={setTimeout(A,e,t){return e<1e3?setTimeout(A,e,t):new Timeout(A,e,t)},clearTimeout(A){if(A instanceof Timeout){A.clear()}else{clearTimeout(A)}}}},673:(A,e,t)=>{"use strict";const s=t(7643);const{uid:r,states:o}=t(4506);const{kReadyState:n,kSentClose:i,kByteParser:E,kReceivedClose:Q}=t(7478);const{fireEvent:g,failWebsocketConnection:B}=t(4502);const{CloseEvent:C}=t(2661);const{makeRequest:a}=t(2487);const{fetching:I}=t(2486);const{Headers:c}=t(7913);const{getGlobalDispatcher:h}=t(366);const{kHeadersList:l}=t(6168);const u={};u.open=s.channel("undici:websocket:open");u.close=s.channel("undici:websocket:close");u.socketError=s.channel("undici:websocket:socket_error");let d;try{d=t(6113)}catch{}function establishWebSocketConnection(A,e,t,s,o){const n=A;n.protocol=A.protocol==="ws:"?"http:":"https:";const i=a({urlList:[n],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){const A=new c(o.headers)[l];i.headersList=A}const E=d.randomBytes(16).toString("base64");i.headersList.append("sec-websocket-key",E);i.headersList.append("sec-websocket-version","13");for(const A of e){i.headersList.append("sec-websocket-protocol",A)}const Q="";const g=I({request:i,useParallelQueue:true,dispatcher:o.dispatcher??h(),processResponse(A){if(A.type==="error"||A.status!==101){B(t,"Received network error or non-101 status code.");return}if(e.length!==0&&!A.headersList.get("Sec-WebSocket-Protocol")){B(t,"Server did not respond with sent protocols.");return}if(A.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){B(t,'Server did not set Upgrade header to "websocket".');return}if(A.headersList.get("Connection")?.toLowerCase()!=="upgrade"){B(t,'Server did not set Connection header to "upgrade".');return}const o=A.headersList.get("Sec-WebSocket-Accept");const n=d.createHash("sha1").update(E+r).digest("base64");if(o!==n){B(t,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const g=A.headersList.get("Sec-WebSocket-Extensions");if(g!==null&&g!==Q){B(t,"Received different permessage-deflate than the one set.");return}const C=A.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&C!==i.headersList.get("Sec-WebSocket-Protocol")){B(t,"Protocol was not set in the opening handshake.");return}A.socket.on("data",onSocketData);A.socket.on("close",onSocketClose);A.socket.on("error",onSocketError);if(u.open.hasSubscribers){u.open.publish({address:A.socket.address(),protocol:C,extensions:g})}s(A)}});return g}function onSocketData(A){if(!this.ws[E].write(A)){this.pause()}}function onSocketClose(){const{ws:A}=this;const e=A[i]&&A[Q];let t=1005;let s="";const r=A[E].closingInfo;if(r){t=r.code??1005;s=r.reason}else if(!A[i]){t=1006}A[n]=o.CLOSED;g("close",A,C,{wasClean:e,code:t,reason:s});if(u.close.hasSubscribers){u.close.publish({websocket:A,code:t,reason:s})}}function onSocketError(A){const{ws:e}=this;e[n]=o.CLOSING;if(u.socketError.hasSubscribers){u.socketError.publish(A)}this.destroy()}A.exports={establishWebSocketConnection:establishWebSocketConnection}},4506:A=>{"use strict";const e="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const t={enumerable:true,writable:false,configurable:false};const s={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const r={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const o=2**16-1;const n={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const i=Buffer.allocUnsafe(0);A.exports={uid:e,staticPropertyDescriptors:t,states:s,opcodes:r,maxUnsigned16Bit:o,parserStates:n,emptyBuffer:i}},2661:(A,e,t)=>{"use strict";const{webidl:s}=t(5756);const{kEnumerableProperty:r}=t(7234);const{MessagePort:o}=t(1267);class MessageEvent extends Event{#o;constructor(A,e={}){s.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});A=s.converters.DOMString(A);e=s.converters.MessageEventInit(e);super(A,e);this.#o=e}get data(){s.brandCheck(this,MessageEvent);return this.#o.data}get origin(){s.brandCheck(this,MessageEvent);return this.#o.origin}get lastEventId(){s.brandCheck(this,MessageEvent);return this.#o.lastEventId}get source(){s.brandCheck(this,MessageEvent);return this.#o.source}get ports(){s.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#o.ports)){Object.freeze(this.#o.ports)}return this.#o.ports}initMessageEvent(A,e=false,t=false,r=null,o="",n="",i=null,E=[]){s.brandCheck(this,MessageEvent);s.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(A,{bubbles:e,cancelable:t,data:r,origin:o,lastEventId:n,source:i,ports:E})}}class CloseEvent extends Event{#o;constructor(A,e={}){s.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});A=s.converters.DOMString(A);e=s.converters.CloseEventInit(e);super(A,e);this.#o=e}get wasClean(){s.brandCheck(this,CloseEvent);return this.#o.wasClean}get code(){s.brandCheck(this,CloseEvent);return this.#o.code}get reason(){s.brandCheck(this,CloseEvent);return this.#o.reason}}class ErrorEvent extends Event{#o;constructor(A,e){s.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(A,e);A=s.converters.DOMString(A);e=s.converters.ErrorEventInit(e??{});this.#o=e}get message(){s.brandCheck(this,ErrorEvent);return this.#o.message}get filename(){s.brandCheck(this,ErrorEvent);return this.#o.filename}get lineno(){s.brandCheck(this,ErrorEvent);return this.#o.lineno}get colno(){s.brandCheck(this,ErrorEvent);return this.#o.colno}get error(){s.brandCheck(this,ErrorEvent);return this.#o.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:r,origin:r,lastEventId:r,source:r,ports:r,initMessageEvent:r});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:r,code:r,wasClean:r});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:r,filename:r,lineno:r,colno:r,error:r});s.converters.MessagePort=s.interfaceConverter(o);s.converters["sequence<MessagePort>"]=s.sequenceConverter(s.converters.MessagePort);const n=[{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}];s.converters.MessageEventInit=s.dictionaryConverter([...n,{key:"data",converter:s.converters.any,defaultValue:null},{key:"origin",converter:s.converters.USVString,defaultValue:""},{key:"lastEventId",converter:s.converters.DOMString,defaultValue:""},{key:"source",converter:s.nullableConverter(s.converters.MessagePort),defaultValue:null},{key:"ports",converter:s.converters["sequence<MessagePort>"],get defaultValue(){return[]}}]);s.converters.CloseEventInit=s.dictionaryConverter([...n,{key:"wasClean",converter:s.converters.boolean,defaultValue:false},{key:"code",converter:s.converters["unsigned short"],defaultValue:0},{key:"reason",converter:s.converters.USVString,defaultValue:""}]);s.converters.ErrorEventInit=s.dictionaryConverter([...n,{key:"message",converter:s.converters.DOMString,defaultValue:""},{key:"filename",converter:s.converters.USVString,defaultValue:""},{key:"lineno",converter:s.converters["unsigned long"],defaultValue:0},{key:"colno",converter:s.converters["unsigned long"],defaultValue:0},{key:"error",converter:s.converters.any}]);A.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},4562:(A,e,t)=>{"use strict";const{maxUnsigned16Bit:s}=t(4506);let r;try{r=t(6113)}catch{}class WebsocketFrameSend{constructor(A){this.frameData=A;this.maskKey=r.randomBytes(4)}createFrame(A){const e=this.frameData?.byteLength??0;let t=e;let r=6;if(e>s){r+=8;t=127}else if(e>125){r+=2;t=126}const o=Buffer.allocUnsafe(e+r);o[0]=o[1]=0;o[0]|=128;o[0]=(o[0]&240)+A; -/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */o[r-4]=this.maskKey[0];o[r-3]=this.maskKey[1];o[r-2]=this.maskKey[2];o[r-1]=this.maskKey[3];o[1]=t;if(t===126){o.writeUInt16BE(e,2)}else if(t===127){o[2]=o[3]=0;o.writeUIntBE(e,4,6)}o[1]|=128;for(let A=0;A<e;A++){o[r+A]=this.frameData[A]^this.maskKey[A%4]}return o}}A.exports={WebsocketFrameSend:WebsocketFrameSend}},5544:(A,e,t)=>{"use strict";const{Writable:s}=t(2781);const r=t(7643);const{parserStates:o,opcodes:n,states:i,emptyBuffer:E}=t(4506);const{kReadyState:Q,kSentClose:g,kResponse:B,kReceivedClose:C}=t(7478);const{isValidStatusCode:a,failWebsocketConnection:I,websocketMessageReceived:c}=t(4502);const{WebsocketFrameSend:h}=t(4562);const l={};l.ping=r.channel("undici:websocket:ping");l.pong=r.channel("undici:websocket:pong");class ByteParser extends s{#n=[];#i=0;#E=o.INFO;#Q={};#g=[];constructor(A){super();this.ws=A}_write(A,e,t){this.#n.push(A);this.#i+=A.length;this.run(t)}run(A){while(true){if(this.#E===o.INFO){if(this.#i<2){return A()}const e=this.consume(2);this.#Q.fin=(e[0]&128)!==0;this.#Q.opcode=e[0]&15;this.#Q.originalOpcode??=this.#Q.opcode;this.#Q.fragmented=!this.#Q.fin&&this.#Q.opcode!==n.CONTINUATION;if(this.#Q.fragmented&&this.#Q.opcode!==n.BINARY&&this.#Q.opcode!==n.TEXT){I(this.ws,"Invalid frame type was fragmented.");return}const t=e[1]&127;if(t<=125){this.#Q.payloadLength=t;this.#E=o.READ_DATA}else if(t===126){this.#E=o.PAYLOADLENGTH_16}else if(t===127){this.#E=o.PAYLOADLENGTH_64}if(this.#Q.fragmented&&t>125){I(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#Q.opcode===n.PING||this.#Q.opcode===n.PONG||this.#Q.opcode===n.CLOSE)&&t>125){I(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#Q.opcode===n.CLOSE){if(t===1){I(this.ws,"Received close frame with a 1-byte body.");return}const A=this.consume(t);this.#Q.closeInfo=this.parseCloseBody(false,A);if(!this.ws[g]){const A=Buffer.allocUnsafe(2);A.writeUInt16BE(this.#Q.closeInfo.code,0);const e=new h(A);this.ws[B].socket.write(e.createFrame(n.CLOSE),(A=>{if(!A){this.ws[g]=true}}))}this.ws[Q]=i.CLOSING;this.ws[C]=true;this.end();return}else if(this.#Q.opcode===n.PING){const e=this.consume(t);if(!this.ws[C]){const A=new h(e);this.ws[B].socket.write(A.createFrame(n.PONG));if(l.ping.hasSubscribers){l.ping.publish({payload:e})}}this.#E=o.INFO;if(this.#i>0){continue}else{A();return}}else if(this.#Q.opcode===n.PONG){const e=this.consume(t);if(l.pong.hasSubscribers){l.pong.publish({payload:e})}if(this.#i>0){continue}else{A();return}}}else if(this.#E===o.PAYLOADLENGTH_16){if(this.#i<2){return A()}const e=this.consume(2);this.#Q.payloadLength=e.readUInt16BE(0);this.#E=o.READ_DATA}else if(this.#E===o.PAYLOADLENGTH_64){if(this.#i<8){return A()}const e=this.consume(8);const t=e.readUInt32BE(0);if(t>2**31-1){I(this.ws,"Received payload length > 2^31 bytes.");return}const s=e.readUInt32BE(4);this.#Q.payloadLength=(t<<8)+s;this.#E=o.READ_DATA}else if(this.#E===o.READ_DATA){if(this.#i<this.#Q.payloadLength){return A()}else if(this.#i>=this.#Q.payloadLength){const A=this.consume(this.#Q.payloadLength);this.#g.push(A);if(!this.#Q.fragmented||this.#Q.fin&&this.#Q.opcode===n.CONTINUATION){const A=Buffer.concat(this.#g);c(this.ws,this.#Q.originalOpcode,A);this.#Q={};this.#g.length=0}this.#E=o.INFO}}if(this.#i>0){continue}else{A();break}}}consume(A){if(A>this.#i){return null}else if(A===0){return E}if(this.#n[0].length===A){this.#i-=this.#n[0].length;return this.#n.shift()}const e=Buffer.allocUnsafe(A);let t=0;while(t!==A){const s=this.#n[0];const{length:r}=s;if(r+t===A){e.set(this.#n.shift(),t);break}else if(r+t>A){e.set(s.subarray(0,A-t),t);this.#n[0]=s.subarray(A-t);break}else{e.set(this.#n.shift(),t);t+=s.length}}this.#i-=A;return e}parseCloseBody(A,e){let t;if(e.length>=2){t=e.readUInt16BE(0)}if(A){if(!a(t)){return null}return{code:t}}let s=e.subarray(2);if(s[0]===239&&s[1]===187&&s[2]===191){s=s.subarray(3)}if(t!==undefined&&!a(t)){return null}try{s=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{return null}return{code:t,reason:s}}get closingInfo(){return this.#Q.closeInfo}}A.exports={ByteParser:ByteParser}},7478:A=>{"use strict";A.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},4502:(A,e,t)=>{"use strict";const{kReadyState:s,kController:r,kResponse:o,kBinaryType:n,kWebSocketURL:i}=t(7478);const{states:E,opcodes:Q}=t(4506);const{MessageEvent:g,ErrorEvent:B}=t(2661);function isEstablished(A){return A[s]===E.OPEN}function isClosing(A){return A[s]===E.CLOSING}function isClosed(A){return A[s]===E.CLOSED}function fireEvent(A,e,t=Event,s){const r=new t(A,s);e.dispatchEvent(r)}function websocketMessageReceived(A,e,t){if(A[s]!==E.OPEN){return}let r;if(e===Q.TEXT){try{r=new TextDecoder("utf-8",{fatal:true}).decode(t)}catch{failWebsocketConnection(A,"Received invalid UTF-8 in text frame.");return}}else if(e===Q.BINARY){if(A[n]==="blob"){r=new Blob([t])}else{r=new Uint8Array(t).buffer}}fireEvent("message",A,g,{origin:A[i].origin,data:r})}function isValidSubprotocol(A){if(A.length===0){return false}for(const e of A){const A=e.charCodeAt(0);if(A<33||A>126||e==="("||e===")"||e==="<"||e===">"||e==="@"||e===","||e===";"||e===":"||e==="\\"||e==='"'||e==="/"||e==="["||e==="]"||e==="?"||e==="="||e==="{"||e==="}"||A===32||A===9){return false}}return true}function isValidStatusCode(A){if(A>=1e3&&A<1015){return A!==1004&&A!==1005&&A!==1006}return A>=3e3&&A<=4999}function failWebsocketConnection(A,e){const{[r]:t,[o]:s}=A;t.abort();if(s?.socket&&!s.socket.destroyed){s.socket.destroy()}if(e){fireEvent("error",A,B,{error:new Error(e)})}}A.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},5394:(A,e,t)=>{"use strict";const{webidl:s}=t(5756);const{DOMException:r}=t(3193);const{URLSerializer:o}=t(9051);const{getGlobalOrigin:n}=t(66);const{staticPropertyDescriptors:i,states:E,opcodes:Q,emptyBuffer:g}=t(4506);const{kWebSocketURL:B,kReadyState:C,kController:a,kBinaryType:I,kResponse:c,kSentClose:h,kByteParser:l}=t(7478);const{isEstablished:u,isClosing:d,isValidSubprotocol:f,failWebsocketConnection:y,fireEvent:D}=t(4502);const{establishWebSocketConnection:R}=t(673);const{WebsocketFrameSend:p}=t(4562);const{ByteParser:w}=t(5544);const{kEnumerableProperty:k,isBlobLike:F}=t(7234);const{getGlobalDispatcher:N}=t(366);const{types:b}=t(3837);let S=false;class WebSocket extends EventTarget{#B={open:null,error:null,close:null,message:null};#C=0;#a="";#I="";constructor(A,e=[]){super();s.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!S){S=true;void("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const t=s.converters["DOMString or sequence<DOMString> or WebSocketInit"](e);A=s.converters.USVString(A);e=t.protocols;const o=n();let i;try{i=new URL(A,o)}catch(A){throw new r(A,"SyntaxError")}if(i.protocol==="http:"){i.protocol="ws:"}else if(i.protocol==="https:"){i.protocol="wss:"}if(i.protocol!=="ws:"&&i.protocol!=="wss:"){throw new r(`Expected a ws: or wss: protocol, got ${i.protocol}`,"SyntaxError")}if(i.hash||i.href.endsWith("#")){throw new r("Got fragment","SyntaxError")}if(typeof e==="string"){e=[e]}if(e.length!==new Set(e.map((A=>A.toLowerCase()))).size){throw new r("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(e.length>0&&!e.every((A=>f(A)))){throw new r("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[B]=new URL(i.href);this[a]=R(i,e,this,(A=>this.#c(A)),t);this[C]=WebSocket.CONNECTING;this[I]="blob"}close(A=undefined,e=undefined){s.brandCheck(this,WebSocket);if(A!==undefined){A=s.converters["unsigned short"](A,{clamp:true})}if(e!==undefined){e=s.converters.USVString(e)}if(A!==undefined){if(A!==1e3&&(A<3e3||A>4999)){throw new r("invalid code","InvalidAccessError")}}let t=0;if(e!==undefined){t=Buffer.byteLength(e);if(t>123){throw new r(`Reason must be less than 123 bytes; received ${t}`,"SyntaxError")}}if(this[C]===WebSocket.CLOSING||this[C]===WebSocket.CLOSED){}else if(!u(this)){y(this,"Connection was closed before it was established.");this[C]=WebSocket.CLOSING}else if(!d(this)){const s=new p;if(A!==undefined&&e===undefined){s.frameData=Buffer.allocUnsafe(2);s.frameData.writeUInt16BE(A,0)}else if(A!==undefined&&e!==undefined){s.frameData=Buffer.allocUnsafe(2+t);s.frameData.writeUInt16BE(A,0);s.frameData.write(e,2,"utf-8")}else{s.frameData=g}const r=this[c].socket;r.write(s.createFrame(Q.CLOSE),(A=>{if(!A){this[h]=true}}));this[C]=E.CLOSING}else{this[C]=WebSocket.CLOSING}}send(A){s.brandCheck(this,WebSocket);s.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});A=s.converters.WebSocketSendData(A);if(this[C]===WebSocket.CONNECTING){throw new r("Sent before connected.","InvalidStateError")}if(!u(this)||d(this)){return}const e=this[c].socket;if(typeof A==="string"){const t=Buffer.from(A);const s=new p(t);const r=s.createFrame(Q.TEXT);this.#C+=t.byteLength;e.write(r,(()=>{this.#C-=t.byteLength}))}else if(b.isArrayBuffer(A)){const t=Buffer.from(A);const s=new p(t);const r=s.createFrame(Q.BINARY);this.#C+=t.byteLength;e.write(r,(()=>{this.#C-=t.byteLength}))}else if(ArrayBuffer.isView(A)){const t=Buffer.from(A,A.byteOffset,A.byteLength);const s=new p(t);const r=s.createFrame(Q.BINARY);this.#C+=t.byteLength;e.write(r,(()=>{this.#C-=t.byteLength}))}else if(F(A)){const t=new p;A.arrayBuffer().then((A=>{const s=Buffer.from(A);t.frameData=s;const r=t.createFrame(Q.BINARY);this.#C+=s.byteLength;e.write(r,(()=>{this.#C-=s.byteLength}))}))}}get readyState(){s.brandCheck(this,WebSocket);return this[C]}get bufferedAmount(){s.brandCheck(this,WebSocket);return this.#C}get url(){s.brandCheck(this,WebSocket);return o(this[B])}get extensions(){s.brandCheck(this,WebSocket);return this.#I}get protocol(){s.brandCheck(this,WebSocket);return this.#a}get onopen(){s.brandCheck(this,WebSocket);return this.#B.open}set onopen(A){s.brandCheck(this,WebSocket);if(this.#B.open){this.removeEventListener("open",this.#B.open)}if(typeof A==="function"){this.#B.open=A;this.addEventListener("open",A)}else{this.#B.open=null}}get onerror(){s.brandCheck(this,WebSocket);return this.#B.error}set onerror(A){s.brandCheck(this,WebSocket);if(this.#B.error){this.removeEventListener("error",this.#B.error)}if(typeof A==="function"){this.#B.error=A;this.addEventListener("error",A)}else{this.#B.error=null}}get onclose(){s.brandCheck(this,WebSocket);return this.#B.close}set onclose(A){s.brandCheck(this,WebSocket);if(this.#B.close){this.removeEventListener("close",this.#B.close)}if(typeof A==="function"){this.#B.close=A;this.addEventListener("close",A)}else{this.#B.close=null}}get onmessage(){s.brandCheck(this,WebSocket);return this.#B.message}set onmessage(A){s.brandCheck(this,WebSocket);if(this.#B.message){this.removeEventListener("message",this.#B.message)}if(typeof A==="function"){this.#B.message=A;this.addEventListener("message",A)}else{this.#B.message=null}}get binaryType(){s.brandCheck(this,WebSocket);return this[I]}set binaryType(A){s.brandCheck(this,WebSocket);if(A!=="blob"&&A!=="arraybuffer"){this[I]="blob"}else{this[I]=A}}#c(A){this[c]=A;const e=new w(this);e.on("drain",(function onParserDrain(){this.ws[c].socket.resume()}));A.socket.ws=this;this[l]=e;this[C]=E.OPEN;const t=A.headersList.get("sec-websocket-extensions");if(t!==null){this.#I=t}const s=A.headersList.get("sec-websocket-protocol");if(s!==null){this.#a=s}D("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=E.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=E.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=E.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=E.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i,url:k,readyState:k,bufferedAmount:k,onopen:k,onerror:k,onclose:k,close:k,onmessage:k,binaryType:k,send:k,extensions:k,protocol:k,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i});s.converters["sequence<DOMString>"]=s.sequenceConverter(s.converters.DOMString);s.converters["DOMString or sequence<DOMString>"]=function(A){if(s.util.Type(A)==="Object"&&Symbol.iterator in A){return s.converters["sequence<DOMString>"](A)}return s.converters.DOMString(A)};s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence<DOMString>"],get defaultValue(){return[]}},{key:"dispatcher",converter:A=>A,get defaultValue(){return N()}},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]);s.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(A){if(s.util.Type(A)==="Object"&&!(Symbol.iterator in A)){return s.converters.WebSocketInit(A)}return{protocols:s.converters["DOMString or sequence<DOMString>"](A)}};s.converters.WebSocketSendData=function(A){if(s.util.Type(A)==="Object"){if(F(A)){return s.converters.Blob(A,{strict:false})}if(ArrayBuffer.isView(A)||b.isAnyArrayBuffer(A)){return s.converters.BufferSource(A)}}return s.converters.USVString(A)};A.exports={WebSocket:WebSocket}},223:module=>{module.exports=eval("require")("util/types")},9491:A=>{"use strict";A.exports=require("assert")},852:A=>{"use strict";A.exports=require("async_hooks")},4300:A=>{"use strict";A.exports=require("buffer")},6206:A=>{"use strict";A.exports=require("console")},6113:A=>{"use strict";A.exports=require("crypto")},7643:A=>{"use strict";A.exports=require("diagnostics_channel")},2361:A=>{"use strict";A.exports=require("events")},3685:A=>{"use strict";A.exports=require("http")},5158:A=>{"use strict";A.exports=require("http2")},1808:A=>{"use strict";A.exports=require("net")},5673:A=>{"use strict";A.exports=require("node:events")},4492:A=>{"use strict";A.exports=require("node:stream")},7261:A=>{"use strict";A.exports=require("node:util")},4074:A=>{"use strict";A.exports=require("perf_hooks")},3477:A=>{"use strict";A.exports=require("querystring")},2781:A=>{"use strict";A.exports=require("stream")},5356:A=>{"use strict";A.exports=require("stream/web")},1576:A=>{"use strict";A.exports=require("string_decoder")},4404:A=>{"use strict";A.exports=require("tls")},7310:A=>{"use strict";A.exports=require("url")},3837:A=>{"use strict";A.exports=require("util")},1267:A=>{"use strict";A.exports=require("worker_threads")},9796:A=>{"use strict";A.exports=require("zlib")}};var __webpack_module_cache__={};function __nccwpck_require__(A){var e=__webpack_module_cache__[A];if(e!==undefined){return e.exports}var t=__webpack_module_cache__[A]={exports:{}};var s=true;try{__webpack_modules__[A](t,t.exports,__nccwpck_require__);s=false}finally{if(s)delete __webpack_module_cache__[A]}return t.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(4567);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/packages/next/src/compiled/undici/package.json b/packages/next/src/compiled/undici/package.json deleted file mode 100644 index 42fcb66342f7f..0000000000000 --- a/packages/next/src/compiled/undici/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"undici","main":"index.js","license":"MIT"} diff --git a/packages/next/src/experimental/testmode/proxy/server.ts b/packages/next/src/experimental/testmode/proxy/server.ts index fcf9f851bce45..6139d44ffc94e 100644 --- a/packages/next/src/experimental/testmode/proxy/server.ts +++ b/packages/next/src/experimental/testmode/proxy/server.ts @@ -5,17 +5,14 @@ import { UNHANDLED } from './types' import type { FetchHandler } from './fetch-api' import { handleFetch } from './fetch-api' -function readBody(req: IncomingMessage): Promise<Buffer> { - return new Promise<Buffer>((resolve, reject) => { - const acc: Buffer[] = [] - req.on('data', (chunk) => { - acc.push(chunk) - }) - req.on('end', () => { - resolve(Buffer.concat(acc)) - }) - req.on('error', reject) - }) +async function readBody(req: IncomingMessage): Promise<Buffer> { + const acc: Buffer[] = [] + + for await (const chunk of req) { + acc.push(chunk) + } + + return Buffer.concat(acc) } export async function createProxyServer({ diff --git a/packages/next/src/export/routes/app-page.ts b/packages/next/src/export/routes/app-page.ts index c576fdf23886b..b16b72fc6feae 100644 --- a/packages/next/src/export/routes/app-page.ts +++ b/packages/next/src/export/routes/app-page.ts @@ -49,10 +49,7 @@ export async function generatePrefetchRsc( renderOpts ) - prefetchRenderResult.pipe(res) - await res.hasStreamed - - const prefetchRscData = Buffer.concat(res.buffers) + const prefetchRscData = await prefetchRenderResult.toUnchunkedString(true) if ((renderOpts as any).store.staticPrefetchBailout) return diff --git a/packages/next/src/export/types.ts b/packages/next/src/export/types.ts index 071c17bfef247..8034f9cafe348 100644 --- a/packages/next/src/export/types.ts +++ b/packages/next/src/export/types.ts @@ -23,7 +23,11 @@ export interface AmpValidation { export type FileWriter = ( type: string, path: string, - content: any, + content: + | string + | NodeJS.ArrayBufferView + | Iterable<string | NodeJS.ArrayBufferView> + | AsyncIterable<string | NodeJS.ArrayBufferView>, encodingOptions?: WriteFileOptions ) => Promise<void> diff --git a/packages/next/src/export/worker.ts b/packages/next/src/export/worker.ts index a3ee08796c1fd..daab596e8e6ec 100644 --- a/packages/next/src/export/worker.ts +++ b/packages/next/src/export/worker.ts @@ -7,11 +7,7 @@ import type { WorkerRenderOpts, } from './types' -// Polyfill fetch for the export worker. -import '../server/node-polyfill-fetch' -import '../server/node-polyfill-web-streams' import '../server/node-environment' -import '../lib/polyfill-promise-with-resolvers' process.env.NEXT_IS_EXPORT_WORKER = 'true' diff --git a/packages/next/src/lib/batcher.ts b/packages/next/src/lib/batcher.ts index 66a69be757c4a..eca1df6dd4ab2 100644 --- a/packages/next/src/lib/batcher.ts +++ b/packages/next/src/lib/batcher.ts @@ -1,8 +1,5 @@ -// This takes advantage of `Promise.withResolvers` which is polyfilled in -// this imported module. -import './polyfill-promise-with-resolvers' - import type { SchedulerFn } from '../server/lib/schedule-on-next-tick' +import { DetachedPromise } from './detached-promise' type CacheKeyFn<K, C extends string | number | null> = ( key: K @@ -72,7 +69,7 @@ export class Batcher<K, V, C extends string | number | null> { const pending = this.pending.get(cacheKey) if (pending) return pending - const { promise, resolve, reject } = Promise.withResolvers<V>() + const { promise, resolve, reject } = new DetachedPromise<V>() this.pending.set(cacheKey, promise) this.schedulerFn(async () => { diff --git a/packages/next/src/lib/detached-promise.ts b/packages/next/src/lib/detached-promise.ts new file mode 100644 index 0000000000000..d3dac25a5a805 --- /dev/null +++ b/packages/next/src/lib/detached-promise.ts @@ -0,0 +1,27 @@ +/** + * A `Promise.withResolvers` implementation that exposes the `resolve` and + * `reject` functions on a `Promise`. + * + * @see https://tc39.es/proposal-promise-with-resolvers/ + */ +export class DetachedPromise<T = any> { + public readonly resolve: (value: T | PromiseLike<T>) => void + public readonly reject: (reason: any) => void + public readonly promise: Promise<T> + + constructor() { + let resolve: (value: T | PromiseLike<T>) => void + let reject: (reason: any) => void + + // Create the promise and assign the resolvers to the object. + this.promise = new Promise<T>((res, rej) => { + resolve = res + reject = rej + }) + + // We know that resolvers is defined because the Promise constructor runs + // synchronously. + this.resolve = resolve! + this.reject = reject! + } +} diff --git a/packages/next/src/lib/download-swc.ts b/packages/next/src/lib/download-swc.ts index 7c34a4ed11a4a..75eb3c804f57d 100644 --- a/packages/next/src/lib/download-swc.ts +++ b/packages/next/src/lib/download-swc.ts @@ -2,9 +2,6 @@ import fs from 'fs' import path from 'path' import * as Log from '../build/output/log' import tar from 'next/dist/compiled/tar' -const { fetch } = require('next/dist/compiled/undici') as { - fetch: typeof global.fetch -} const { WritableStream } = require('node:stream/web') as { WritableStream: typeof global.WritableStream } diff --git a/packages/next/src/lib/metadata/metadata.tsx b/packages/next/src/lib/metadata/metadata.tsx index 740957c99ee14..3206968e5a7bd 100644 --- a/packages/next/src/lib/metadata/metadata.tsx +++ b/packages/next/src/lib/metadata/metadata.tsx @@ -129,6 +129,5 @@ export function createMetadataComponents({ return null } - // @ts-expect-error async server components return [MetadataTree, MetadataOutlet] } diff --git a/packages/next/src/lib/mkcert.ts b/packages/next/src/lib/mkcert.ts index 22897885843dd..96156e02d1bf2 100644 --- a/packages/next/src/lib/mkcert.ts +++ b/packages/next/src/lib/mkcert.ts @@ -4,10 +4,6 @@ import { getCacheDirectory } from './helpers/get-cache-directory' import * as Log from '../build/output/log' import { execSync } from 'child_process' -const { fetch } = require('next/dist/compiled/undici') as { - fetch: typeof global.fetch -} - const MKCERT_VERSION = 'v1.4.4' export interface SelfSignedCertificate { diff --git a/packages/next/src/lib/needs-experimental-react.ts b/packages/next/src/lib/needs-experimental-react.ts index 36ffa9a89c5ae..cafade3c3ec5b 100644 --- a/packages/next/src/lib/needs-experimental-react.ts +++ b/packages/next/src/lib/needs-experimental-react.ts @@ -1,5 +1,9 @@ import type { NextConfig } from '../server/config-shared' export function needsExperimentalReact(config: NextConfig) { - return Boolean(config.experimental?.serverActions || config.experimental?.ppr) + return Boolean( + config.experimental?.serverActions || + config.experimental?.ppr || + config.experimental?.taint + ) } diff --git a/packages/next/src/lib/patch-incorrect-lockfile.ts b/packages/next/src/lib/patch-incorrect-lockfile.ts index 78fb73b98a7b7..2ad40c6cafcd3 100644 --- a/packages/next/src/lib/patch-incorrect-lockfile.ts +++ b/packages/next/src/lib/patch-incorrect-lockfile.ts @@ -1,5 +1,4 @@ import { promises } from 'fs' -import '../server/node-polyfill-fetch' import * as Log from '../build/output/log' import findUp from 'next/dist/compiled/find-up' // @ts-ignore no-json types diff --git a/packages/next/src/lib/polyfill-promise-with-resolvers.ts b/packages/next/src/lib/polyfill-promise-with-resolvers.ts deleted file mode 100644 index 7400621f62934..0000000000000 --- a/packages/next/src/lib/polyfill-promise-with-resolvers.ts +++ /dev/null @@ -1,31 +0,0 @@ -// This adds a `Promise.withResolvers` polyfill. This will soon be adopted into -// the spec. -// -// TODO: remove this polyfill when it is adopted into the spec. -// -// https://tc39.es/proposal-promise-with-resolvers/ -// -if ( - !('withResolvers' in Promise) || - typeof Promise.withResolvers !== 'function' -) { - Promise.withResolvers = <T>(): { - readonly promise: Promise<T> - readonly resolve: (value: T | PromiseLike<T>) => void - readonly reject: (reason: any) => void - } => { - let resolvers: { - resolve: (value: T | PromiseLike<T>) => void - reject: (reason: any) => void - } - - // Create the promise and assign the resolvers to the object. - const promise = new Promise<T>((resolve, reject) => { - resolvers = { resolve, reject } - }) - - // We know that resolvers is defined because the Promise constructor runs - // synchronously. - return { promise, resolve: resolvers!.resolve, reject: resolvers!.reject } - } -} diff --git a/packages/next/src/lib/worker.ts b/packages/next/src/lib/worker.ts index 152a2f50f01f1..13d654b7b65c6 100644 --- a/packages/next/src/lib/worker.ts +++ b/packages/next/src/lib/worker.ts @@ -21,11 +21,12 @@ export class Worker { options: FarmOptions & { timeout?: number onRestart?: (method: string, args: any[], attempts: number) => void + logger?: Pick<typeof console, 'error' | 'info' | 'warn'> exposedMethods: ReadonlyArray<string> enableWorkerThreads?: boolean } ) { - let { timeout, onRestart, ...farmOptions } = options + let { timeout, onRestart, logger = console, ...farmOptions } = options let restartPromise: Promise<typeof RESTARTED> let resolveRestartPromise: (arg: typeof RESTARTED) => void @@ -68,10 +69,9 @@ export class Worker { _child?: ChildProcess }[]) { worker._child?.on('exit', (code, signal) => { - // log unexpected exit if .end() wasn't called if ((code || (signal && signal !== 'SIGINT')) && this._worker) { - console.error( - `Static worker unexpectedly exited with code: ${code} and signal: ${signal}` + logger.error( + `Static worker exited with code: ${code} and signal: ${signal}` ) } }) @@ -88,6 +88,11 @@ export class Worker { if (!worker) return const resolve = resolveRestartPromise createWorker() + logger.warn( + `Sending SIGTERM signal to static worker due to timeout${ + timeout ? ` of ${timeout / 1000} seconds` : '' + }. Subsequent errors may be a result of the worker exiting.` + ) worker.end().then(() => { resolve(RESTARTED) }) diff --git a/packages/next/src/server/app-render/action-handler.ts b/packages/next/src/server/app-render/action-handler.ts index 05d1a88e9b74b..8737cb30dbc26 100644 --- a/packages/next/src/server/app-render/action-handler.ts +++ b/packages/next/src/server/app-render/action-handler.ts @@ -40,26 +40,8 @@ import type { AppRenderContext, GenerateFlight } from './app-render' function nodeToWebReadableStream(nodeReadable: import('stream').Readable) { if (process.env.NEXT_RUNTIME !== 'edge') { - const { Readable } = require('stream') - if ('toWeb' in Readable && typeof Readable.toWeb === 'function') { - return Readable.toWeb(nodeReadable) - } - - return new ReadableStream({ - start(controller) { - nodeReadable.on('data', (chunk) => { - controller.enqueue(chunk) - }) - - nodeReadable.on('end', () => { - controller.close() - }) - - nodeReadable.on('error', (error) => { - controller.error(error) - }) - }, - }) + const { Readable } = require('stream') as typeof import('stream') + return Readable.toWeb(nodeReadable) as ReadableStream } else { throw new Error('Invalid runtime') } @@ -101,7 +83,7 @@ function getForwardedHeaders( Array.isArray(rawSetCookies) ? rawSetCookies : [rawSetCookies] ).map((setCookie) => { // remove the suffixes like 'HttpOnly' and 'SameSite' - const [cookie] = `${setCookie}`.split(';') + const [cookie] = `${setCookie}`.split(';', 1) return cookie }) @@ -422,10 +404,10 @@ export async function handleAction({ } else { // React doesn't yet publish a busboy version of decodeAction // so we polyfill the parsing of FormData. - const UndiciRequest = require('next/dist/compiled/undici').Request - const fakeRequest = new UndiciRequest('http://localhost', { + const fakeRequest = new Request('http://localhost', { method: 'POST', - headers: { 'Content-Type': req.headers['content-type'] }, + // @ts-expect-error + headers: { 'Content-Type': contentType }, body: nodeToWebReadableStream(req), duplex: 'half', }) diff --git a/packages/next/src/server/app-render/app-render.tsx b/packages/next/src/server/app-render/app-render.tsx index 909017d6b6694..ca88145c5bd20 100644 --- a/packages/next/src/server/app-render/app-render.tsx +++ b/packages/next/src/server/app-render/app-render.tsx @@ -20,7 +20,6 @@ import { renderToInitialFizzStream, createBufferedTransformStream, continueFizzStream, - streamToBufferedResult, cloneTransformStream, } from '../stream-utils/node-web-streams-helper' import { canSegmentBeOverridden } from '../../client/components/match-segments' @@ -85,9 +84,6 @@ type AppRenderBaseContext = { renderOpts: RenderOpts } -// TODO-APP: improve type -type ServerContext = [string, any] - export type GenerateFlight = typeof generateFlight export type AppRenderContext = AppRenderBaseContext & { @@ -104,7 +100,6 @@ export type AppRenderContext = AppRenderBaseContext & { pagePath: string clientReferenceManifest: ClientReferenceManifest assetPrefix: string - serverContexts: ServerContext[] flightDataRendererErrorHandler: ErrorHandler serverComponentsErrorHandler: ErrorHandler isNotFoundPath: boolean @@ -290,7 +285,6 @@ async function generateFlight( : buildIdFlightDataPair, ctx.clientReferenceManifest.clientModules, { - context: ctx.serverContexts, onError: ctx.flightDataRendererErrorHandler, } ).pipeThrough(createBufferedTransformStream()) @@ -414,6 +408,7 @@ async function renderToHTMLOrFlightImpl( buildId, appDirDevErrorLogger, assetPrefix = '', + enableTainting, } = renderOpts // We need to expose the bundled `require` API globally for @@ -482,8 +477,16 @@ async function renderToHTMLOrFlightImpl( AppRouter, GlobalError, tree: loaderTree, + taintObjectReference, } = ComponentMod + if (enableTainting) { + taintObjectReference( + 'Do not pass process.env to client components since it will leak sensitive data', + process.env + ) + } + const { staticGenerationStore, requestStore } = baseCtx const { urlPathname } = staticGenerationStore @@ -525,15 +528,6 @@ async function renderToHTMLOrFlightImpl( : query const searchParamsProps = { searchParams: providedSearchParams } - /** - * Server Context is specifically only available in Server Components. - * It has to hold values that can't change while rendering from the common layout down. - * An example of this would be that `headers` are available but `searchParams` are not because that'd mean we have to render from the root layout down on all requests. - */ - const serverContexts: Array<[string, any]> = [ - ['WORKAROUND', null], // TODO-APP: First value has a bug currently where the value is not set on the second request: https://github.com/facebook/react/issues/24849 - ] - /** * Dynamic parameters. E.g. when you visit `/dashboard/vercel` which is rendered by `/dashboard/[slug]` the value will be {"slug": "vercel"}. */ @@ -561,7 +555,6 @@ async function renderToHTMLOrFlightImpl( assetPrefix, flightDataRendererErrorHandler, serverComponentsErrorHandler, - serverContexts, isNotFoundPath, res, } @@ -580,7 +573,6 @@ async function renderToHTMLOrFlightImpl( const serverComponentsRenderOpts = { inlinedDataTransformStream: new TransformStream<Uint8Array, Uint8Array>(), clientReferenceManifest, - serverContexts, formState: null, } @@ -688,7 +680,7 @@ async function renderToHTMLOrFlightImpl( nonce, // Include hydration scripts in the HTML bootstrapScripts: [bootstrapScript], - experimental_formState: formState, + formState, }, }) @@ -744,6 +736,9 @@ async function renderToHTMLOrFlightImpl( } const is404 = res.statusCode === 404 + if (!is404 && !hasRedirectError) { + res.statusCode = 500 + } // Preserve the existing RSC inline chunks from the page rendering. // To avoid the same stream being operated twice, clone the origin stream for error rendering. @@ -838,7 +833,7 @@ async function renderToHTMLOrFlightImpl( nonce, // Include hydration scripts in the HTML bootstrapScripts: [errorBootstrapScript], - experimental_formState: formState, + formState, }, }) @@ -921,7 +916,7 @@ async function renderToHTMLOrFlightImpl( }) if (staticGenerationStore.isStaticGeneration) { - const htmlResult = await streamToBufferedResult(renderResult) + const htmlResult = await renderResult.toUnchunkedString(true) // if we encountered any unexpected errors during build // we fail the prerendering phase and the build @@ -931,9 +926,9 @@ async function renderToHTMLOrFlightImpl( // TODO-APP: derive this from same pass to prevent additional // render during static generation - const stringifiedFlightPayload = await streamToBufferedResult( + const stringifiedFlightPayload = await ( await generateFlight(ctx) - ) + ).toUnchunkedString(true) if (staticGenerationStore.forceStatic === false) { staticGenerationStore.revalidate = 0 diff --git a/packages/next/src/server/app-render/create-server-components-renderer.tsx b/packages/next/src/server/app-render/create-server-components-renderer.tsx index 19de10845a0c4..2a252b519cb75 100644 --- a/packages/next/src/server/app-render/create-server-components-renderer.tsx +++ b/packages/next/src/server/app-render/create-server-components-renderer.tsx @@ -1,9 +1,9 @@ import type { RenderOpts } from './types' import type { FlightResponseRef } from './flight-response-ref' import type { AppPageModule } from '../future/route-modules/app-page/module' +import type { createErrorHandler } from './create-error-handler' import React, { use } from 'react' -import type { createErrorHandler } from './create-error-handler' import { useFlightResponse } from './use-flight-response' /** @@ -16,14 +16,10 @@ export function createServerComponentRenderer<Props>( { inlinedDataTransformStream, clientReferenceManifest, - serverContexts, formState, }: { inlinedDataTransformStream: TransformStream<Uint8Array, Uint8Array> clientReferenceManifest: NonNullable<RenderOpts['clientReferenceManifest']> - serverContexts: Array< - [ServerContextName: string, JSONValue: Object | number | string] - > formState: null | any }, serverComponentsErrorHandler: ReturnType<typeof createErrorHandler>, @@ -36,7 +32,6 @@ export function createServerComponentRenderer<Props>( <ComponentToRender {...(props as any)} />, clientReferenceManifest.clientModules, { - context: serverContexts, onError: serverComponentsErrorHandler, } ) diff --git a/packages/next/src/server/app-render/entry-base.ts b/packages/next/src/server/app-render/entry-base.ts index ae7e186764a4d..5da552fd5145f 100644 --- a/packages/next/src/server/app-render/entry-base.ts +++ b/packages/next/src/server/app-render/entry-base.ts @@ -23,6 +23,8 @@ import { preconnect, } from '../../server/app-render/rsc/preloads' +import { taintObjectReference } from '../../server/app-render/rsc/taint' + const { NotFoundBoundary } = require('next/dist/client/components/not-found-boundary') as typeof import('../../client/components/not-found-boundary') @@ -39,6 +41,7 @@ export { preloadStyle, preloadFont, preconnect, + taintObjectReference, StaticGenerationSearchParamsBailoutProvider, NotFoundBoundary, } diff --git a/packages/next/src/server/app-render/required-scripts.tsx b/packages/next/src/server/app-render/required-scripts.tsx index e686ba326c3a3..57568488530c3 100644 --- a/packages/next/src/server/app-render/required-scripts.tsx +++ b/packages/next/src/server/app-render/required-scripts.tsx @@ -5,7 +5,7 @@ import ReactDOM from 'react-dom' export function getRequiredScripts( buildManifest: BuildManifest, assetPrefix: string, - crossOrigin: string | undefined, + crossOrigin: undefined | '' | 'anonymous' | 'use-credentials', SRIManifest: undefined | Record<string, string>, qs: string, nonce: string | undefined diff --git a/packages/next/src/server/app-render/rsc/taint.ts b/packages/next/src/server/app-render/rsc/taint.ts new file mode 100644 index 0000000000000..a37e0bf15d0d6 --- /dev/null +++ b/packages/next/src/server/app-render/rsc/taint.ts @@ -0,0 +1,30 @@ +/* + +Files in the rsc directory are meant to be packaged as part of the RSC graph using next-app-loader. + +*/ + +import * as React from 'react' + +type Reference = object +type TaintableUniqueValue = string | bigint | ArrayBufferView + +function notImplemented() { + throw new Error('Taint can only be used with the taint flag.') +} + +export const taintObjectReference: ( + message: string | undefined, + object: Reference +) => void = process.env.__NEXT_EXPERIMENTAL_REACT + ? // @ts-ignore + React.experimental_taintObjectReference + : notImplemented +export const taintUniqueValue: ( + message: string | undefined, + lifetime: Reference, + value: TaintableUniqueValue +) => void = process.env.__NEXT_EXPERIMENTAL_REACT + ? // @ts-ignore + React.experimental_taintUniqueValue + : notImplemented diff --git a/packages/next/src/server/app-render/types.ts b/packages/next/src/server/app-render/types.ts index 59d23ef982431..6cb576558b882 100644 --- a/packages/next/src/server/app-render/types.ts +++ b/packages/next/src/server/app-render/types.ts @@ -111,6 +111,7 @@ export interface RenderOptsPartial { supportsDynamicHTML: boolean runtime?: ServerRuntime serverComponents?: boolean + enableTainting?: boolean assetPrefix?: string crossOrigin?: '' | 'anonymous' | 'use-credentials' | undefined nextFontManifest?: NextFontManifest diff --git a/packages/next/src/server/app-render/use-flight-response.tsx b/packages/next/src/server/app-render/use-flight-response.tsx index e20c9b8619097..c8905eac2a125 100644 --- a/packages/next/src/server/app-render/use-flight-response.tsx +++ b/packages/next/src/server/app-render/use-flight-response.tsx @@ -1,7 +1,11 @@ import type { ClientReferenceManifest } from '../../build/webpack/plugins/flight-manifest-plugin' import type { FlightResponseRef } from './flight-response-ref' -import { encodeText, decodeText } from '../stream-utils/encode-decode' + import { htmlEscapeJsonString } from '../htmlescape' +import { + createDecodeTransformStream, + createEncodeTransformStream, +} from '../stream-utils/encode-decode' const isEdgeRuntime = process.env.NEXT_RUNTIME === 'edge' @@ -9,6 +13,35 @@ const INLINE_FLIGHT_PAYLOAD_BOOTSTRAP = 0 const INLINE_FLIGHT_PAYLOAD_DATA = 1 const INLINE_FLIGHT_PAYLOAD_FORM_STATE = 2 +function createFlightTransformer( + nonce: string | undefined, + formState: unknown | null +) { + const startScriptTag = nonce + ? `<script nonce=${JSON.stringify(nonce)}>` + : '<script>' + + return new TransformStream<string, string>({ + // Bootstrap the flight information. + start(controller) { + controller.enqueue( + `${startScriptTag}(self.__next_f=self.__next_f||[]).push(${htmlEscapeJsonString( + JSON.stringify([INLINE_FLIGHT_PAYLOAD_BOOTSTRAP]) + )});self.__next_f.push(${htmlEscapeJsonString( + JSON.stringify([INLINE_FLIGHT_PAYLOAD_FORM_STATE, formState]) + )})</script>` + ) + }, + transform(chunk, controller) { + const scripts = `${startScriptTag}self.__next_f.push(${htmlEscapeJsonString( + JSON.stringify([INLINE_FLIGHT_PAYLOAD_DATA, chunk]) + )})</script>` + + controller.enqueue(scripts) + }, + }) +} + /** * Render Flight stream. * This is only used for renderToHTML, the Flight response does not need additional wrappers. @@ -49,50 +82,19 @@ export function useFlightResponse( }) flightResponseRef.current = res - let bootstrapped = false - // We only attach CSS chunks to the inlined data. - const forwardReader = forwardStream.getReader() - const writer = writable.getWriter() - const startScriptTag = nonce - ? `<script nonce=${JSON.stringify(nonce)}>` - : '<script>' - const textDecoder = new TextDecoder() - - function read() { - forwardReader.read().then(({ done, value }) => { - if (!bootstrapped) { - bootstrapped = true - writer.write( - encodeText( - `${startScriptTag}(self.__next_f=self.__next_f||[]).push(${htmlEscapeJsonString( - JSON.stringify([INLINE_FLIGHT_PAYLOAD_BOOTSTRAP]) - )});self.__next_f.push(${htmlEscapeJsonString( - JSON.stringify([INLINE_FLIGHT_PAYLOAD_FORM_STATE, formState]) - )})</script>` - ) - ) - } - if (done) { - // Add a setTimeout here because the error component is too small, the first forwardReader.read() read will return the full chunk - // and then it immediately set flightResponseRef.current as null. - // react renders the component twice, the second render will run into the state with useFlightResponse where flightResponseRef.current is null, - // so it tries to render the flight payload again - setTimeout(() => { - flightResponseRef.current = null - }) - writer.close() - } else { - const responsePartial = decodeText(value, textDecoder) - const scripts = `${startScriptTag}self.__next_f.push(${htmlEscapeJsonString( - JSON.stringify([INLINE_FLIGHT_PAYLOAD_DATA, responsePartial]) - )})</script>` - - writer.write(encodeText(scripts)) - read() - } + forwardStream + .pipeThrough(createDecodeTransformStream()) + .pipeThrough(createFlightTransformer(nonce, formState)) + .pipeThrough(createEncodeTransformStream()) + .pipeTo(writable) + .finally(() => { + // Once the last encoding stream has flushed, then unset the flight + // response ref. + flightResponseRef.current = null + }) + .catch((err) => { + console.error('Unexpected error while rendering Flight stream', err) }) - } - read() return res } diff --git a/packages/next/src/server/app-render/walk-tree-with-flight-router-state.tsx b/packages/next/src/server/app-render/walk-tree-with-flight-router-state.tsx index e88917f527b74..1e801b4d778c5 100644 --- a/packages/next/src/server/app-render/walk-tree-with-flight-router-state.tsx +++ b/packages/next/src/server/app-render/walk-tree-with-flight-router-state.tsx @@ -135,7 +135,6 @@ export async function walkTreeWithFlightRouterState({ ? null : // Create component tree using the slice of the loaderTree - // @ts-expect-error TODO-APP: fix async component type React.createElement(async () => { const { Component } = await createComponentTree( // This ensures flightRouterPath is valid and filters down the tree diff --git a/packages/next/src/server/base-http/web.ts b/packages/next/src/server/base-http/web.ts index 2596e0dd332cb..a77ec0460b3df 100644 --- a/packages/next/src/server/base-http/web.ts +++ b/packages/next/src/server/base-http/web.ts @@ -1,7 +1,9 @@ import type { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http' import type { FetchMetrics } from './index' + import { toNodeOutgoingHttpHeaders } from '../web/utils' import { BaseNextRequest, BaseNextResponse } from './index' +import { DetachedPromise } from '../../lib/detached-promise' export class WebNextRequest extends BaseNextRequest<ReadableStream | null> { public request: Request @@ -32,27 +34,10 @@ export class WebNextRequest extends BaseNextRequest<ReadableStream | null> { export class WebNextResponse extends BaseNextResponse<WritableStream> { private headers = new Headers() private textBody: string | undefined = undefined - private _sent = false - - private sendPromise = new Promise<void>((resolve) => { - this.sendResolve = resolve - }) - private sendResolve?: () => void - private response = this.sendPromise.then(() => { - return new Response(this.textBody ?? this.transformStream.readable, { - headers: this.headers, - status: this.statusCode, - statusText: this.statusMessage, - }) - }) public statusCode: number | undefined public statusMessage: string | undefined - get sent() { - return this._sent - } - constructor(public transformStream = new TransformStream()) { super(transformStream.writable) } @@ -99,12 +84,25 @@ export class WebNextResponse extends BaseNextResponse<WritableStream> { return this } - send() { - this.sendResolve?.() + private readonly sendPromise = new DetachedPromise<void>() + private _sent = false + public send() { + this.sendPromise.resolve() this._sent = true } - toResponse() { - return this.response + get sent() { + return this._sent + } + + public async toResponse() { + // If we haven't called `send` yet, wait for it to be called. + if (!this.sent) await this.sendPromise.promise + + return new Response(this.textBody ?? this.transformStream.readable, { + headers: this.headers, + status: this.statusCode, + statusText: this.statusMessage, + }) } } diff --git a/packages/next/src/server/base-server.ts b/packages/next/src/server/base-server.ts index d9d7d882cb719..02f96a6723f01 100644 --- a/packages/next/src/server/base-server.ts +++ b/packages/next/src/server/base-server.ts @@ -230,6 +230,7 @@ type BaseRenderOpts = { distDir: string runtime?: ServerRuntime serverComponents?: boolean + enableTainting?: boolean crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined supportsDynamicHTML?: boolean isBot?: boolean @@ -478,6 +479,7 @@ export default abstract class Server<ServerOptions extends Options = Options> { domainLocales: this.nextConfig.i18n?.domains, distDir: this.distDir, serverComponents, + enableTainting: this.nextConfig.experimental.taint, crossOrigin: this.nextConfig.crossOrigin ? this.nextConfig.crossOrigin : undefined, @@ -579,7 +581,7 @@ export default abstract class Server<ServerOptions extends Options = Options> { if (this.i18nProvider) { // Remove the port from the hostname if present. - const hostname = req?.headers.host?.split(':')[0].toLowerCase() + const hostname = req?.headers.host?.split(':', 1)[0].toLowerCase() const domainLocale = this.i18nProvider.detectDomainLocale(hostname) const defaultLocale = @@ -792,7 +794,7 @@ export default abstract class Server<ServerOptions extends Options = Options> { return origSetHeader(name, val) } - const urlParts = (req.url || '').split('?') + const urlParts = (req.url || '').split('?', 1) const urlNoQuery = urlParts[0] // this normalizes repeated slashes in the path e.g. hello//world -> diff --git a/packages/next/src/server/body-streams.ts b/packages/next/src/server/body-streams.ts index c4d3687766a3d..b0ab4f6012820 100644 --- a/packages/next/src/server/body-streams.ts +++ b/packages/next/src/server/body-streams.ts @@ -8,12 +8,11 @@ export function requestToBodyStream( stream: Readable ) { return new context.ReadableStream({ - start(controller) { - stream.on('data', (chunk) => + start: async (controller) => { + for await (const chunk of stream) { controller.enqueue(new KUint8Array([...new Uint8Array(chunk)])) - ) - stream.on('end', () => controller.close()) - stream.on('error', (err) => controller.error(err)) + } + controller.close() }, }) } diff --git a/packages/next/src/server/config-schema.ts b/packages/next/src/server/config-schema.ts index 6d8cbf38249b7..b4e36831976b7 100644 --- a/packages/next/src/server/config-schema.ts +++ b/packages/next/src/server/config-schema.ts @@ -281,6 +281,7 @@ export const configSchema: zod.ZodType<NextConfig> = z.lazy(() => .record(z.string(), z.array(z.string())) .optional(), ppr: z.boolean().optional(), + taint: z.boolean().optional(), proxyTimeout: z.number().gte(0).optional(), serverComponentsExternalPackages: z.array(z.string()).optional(), scrollRestoration: z.boolean().optional(), diff --git a/packages/next/src/server/config-shared.ts b/packages/next/src/server/config-shared.ts index 8064d3b8d5570..9bccd1bde88e2 100644 --- a/packages/next/src/server/config-shared.ts +++ b/packages/next/src/server/config-shared.ts @@ -307,6 +307,12 @@ export interface ExperimentalConfig { */ ppr?: boolean + /** + * Enables experimental taint APIs in React. + * Using this feature will enable the `react@experimental` for the `app` directory. + */ + taint?: boolean + /** * Allows adjusting body parser size limit for server actions. */ diff --git a/packages/next/src/server/config-utils.ts b/packages/next/src/server/config-utils.ts index 9270cf3c46f22..13a8fdfcce2d8 100644 --- a/packages/next/src/server/config-utils.ts +++ b/packages/next/src/server/config-utils.ts @@ -136,7 +136,6 @@ export function loadWebpackHook() { '@babel/runtime/package.json', 'next/dist/compiled/@babel/runtime/package.json', ], - ['undici', 'next/dist/compiled/undici'], ].map( // Use dynamic require.resolve to avoid statically analyzable since they're only for build time ([request, replacement]) => [request, require.resolve(replacement)] diff --git a/packages/next/src/server/config.ts b/packages/next/src/server/config.ts index 1a99afa975bf3..aa55b453b60f1 100644 --- a/packages/next/src/server/config.ts +++ b/packages/next/src/server/config.ts @@ -406,20 +406,6 @@ function assignDefaults( } } - // TODO: Remove this warning in Next.js 14 - warnOptionHasBeenDeprecated( - result, - 'experimental.appDir', - 'App router is available by default now, `experimental.appDir` option can be safely removed.', - silent - ) - // TODO: Remove this warning in Next.js 14 - warnOptionHasBeenDeprecated( - result, - 'experimental.runtime', - 'You are using `experimental.runtime` which was removed. Check https://nextjs.org/docs/api-routes/edge-api-routes on how to use edge runtime.', - silent - ) warnOptionHasBeenMovedOutOfExperimental( result, 'relay', @@ -799,9 +785,10 @@ function assignDefaults( '@tremor/react', 'rxjs', '@mui/material', + '@mui/icons-material', 'recharts', - '@material-ui/core', 'react-use', + '@material-ui/core', '@material-ui/icons', '@tabler/icons-react', 'mui-core', diff --git a/packages/next/src/server/dev/next-dev-server.ts b/packages/next/src/server/dev/next-dev-server.ts index 213d2fd934ccf..2e2a03822f00a 100644 --- a/packages/next/src/server/dev/next-dev-server.ts +++ b/packages/next/src/server/dev/next-dev-server.ts @@ -61,6 +61,7 @@ import { DefaultFileReader } from '../future/route-matcher-providers/dev/helpers import { NextBuildContext } from '../../build/build-context' import LRUCache from 'next/dist/compiled/lru-cache' import { getMiddlewareRouteMatcher } from '../../shared/lib/router/utils/middleware-route-matcher' +import { DetachedPromise } from '../../lib/detached-promise' // Load ReactDevOverlay only when needed let ReactDevOverlayImpl: FunctionComponent @@ -89,7 +90,7 @@ export default class DevServer extends Server { * The promise that resolves when the server is ready. When this is unset * the server is ready. */ - private ready? = Promise.withResolvers<void>() + private ready? = new DetachedPromise<void>() protected sortedRoutes?: string[] private pagesDir?: string private appDir?: string diff --git a/packages/next/src/server/dev/static-paths-worker.ts b/packages/next/src/server/dev/static-paths-worker.ts index 99e287b24d0db..ab21b122b0b15 100644 --- a/packages/next/src/server/dev/static-paths-worker.ts +++ b/packages/next/src/server/dev/static-paths-worker.ts @@ -1,9 +1,7 @@ import type { NextConfigComplete } from '../config-shared' import '../require-hook' -import '../node-polyfill-fetch' import '../node-environment' -import '../../lib/polyfill-promise-with-resolvers' import { buildAppStaticPaths, diff --git a/packages/next/src/server/font-utils.ts b/packages/next/src/server/font-utils.ts index fcd8cf481d7ae..f1228b3a3f84c 100644 --- a/packages/next/src/server/font-utils.ts +++ b/packages/next/src/server/font-utils.ts @@ -5,7 +5,6 @@ import { DEFAULT_SANS_SERIF_FONT, } from '../shared/lib/constants' const capsizeFontsMetrics = require('next/dist/server/capsize-font-metrics.json') -const https = require('https') const CHROME_UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' @@ -22,30 +21,9 @@ function isGoogleFont(url: string): boolean { return url.startsWith(GOOGLE_FONT_PROVIDER) } -function getFontForUA(url: string, UA: string): Promise<String> { - return new Promise((resolve, reject) => { - let rawData: any = '' - https - .get( - url, - { - headers: { - 'user-agent': UA, - }, - }, - (res: any) => { - res.on('data', (chunk: any) => { - rawData += chunk - }) - res.on('end', () => { - resolve(rawData.toString('utf8')) - }) - } - ) - .on('error', (e: Error) => { - reject(e) - }) - }) +async function getFontForUA(url: string, UA: string): Promise<string> { + const res = await fetch(url, { headers: { 'user-agent': UA } }) + return await res.text() } export async function getFontDefinitionFromNetwork( diff --git a/packages/next/src/server/future/helpers/i18n-provider.ts b/packages/next/src/server/future/helpers/i18n-provider.ts index d7aada50e0c98..d9267f7903297 100644 --- a/packages/next/src/server/future/helpers/i18n-provider.ts +++ b/packages/next/src/server/future/helpers/i18n-provider.ts @@ -55,7 +55,7 @@ export class I18NProvider { const domain = domainLocale.domain.toLowerCase() return { defaultLocale: domainLocale.defaultLocale.toLowerCase(), - hostname: domain.split(':')[0], + hostname: domain.split(':', 1)[0], domain, locales: domainLocale.locales?.map((locale) => locale.toLowerCase()), http: domainLocale.http, @@ -154,7 +154,7 @@ export class I18NProvider { // The first segment will be empty, because it has a leading `/`. If // there is no further segment, there is no locale (or it's the default). - const segments = pathname.split('/') + const segments = pathname.split('/', 2) if (!segments[1]) return { detectedLocale, diff --git a/packages/next/src/server/future/route-matcher-managers/default-route-matcher-manager.ts b/packages/next/src/server/future/route-matcher-managers/default-route-matcher-manager.ts index fdae0fe3aa302..55d274eb4cf73 100644 --- a/packages/next/src/server/future/route-matcher-managers/default-route-matcher-manager.ts +++ b/packages/next/src/server/future/route-matcher-managers/default-route-matcher-manager.ts @@ -1,7 +1,3 @@ -// This takes advantage of `Promise.withResolvers` which is polyfilled in -// this imported module. -import '../../../lib/polyfill-promise-with-resolvers' - import { isDynamicRoute } from '../../../shared/lib/router/utils' import type { RouteKind } from '../route-kind' import type { RouteMatch } from '../route-matches/route-match' @@ -12,6 +8,7 @@ import type { MatchOptions, RouteMatcherManager } from './route-matcher-manager' import { getSortedRoutes } from '../../../shared/lib/router/utils' import { LocaleRouteMatcher } from '../route-matchers/locale-route-matcher' import { ensureLeadingSlash } from '../../../shared/lib/page-path/ensure-leading-slash' +import { DetachedPromise } from '../../../lib/detached-promise' interface RouteMatchers { static: ReadonlyArray<RouteMatcher> @@ -46,7 +43,7 @@ export class DefaultRouteMatcherManager implements RouteMatcherManager { private previousMatchers: ReadonlyArray<RouteMatcher> = [] public async reload() { - const { promise, resolve, reject } = Promise.withResolvers<void>() + const { promise, resolve, reject } = new DetachedPromise<void>() this.waitTillReadyPromise = promise // Grab the compilation ID for this run, we'll verify it at the end to diff --git a/packages/next/src/server/image-optimizer.ts b/packages/next/src/server/image-optimizer.ts index 64d1baaa0c01c..eb403cc6c6b13 100644 --- a/packages/next/src/server/image-optimizer.ts +++ b/packages/next/src/server/image-optimizer.ts @@ -3,7 +3,6 @@ import { promises } from 'fs' import { cpus } from 'os' import type { IncomingMessage, ServerResponse } from 'http' import { mediaType } from 'next/dist/compiled/@hapi/accept' -import { bold, yellow } from '../lib/picocolors' import contentDisposition from 'next/dist/compiled/content-disposition' import { getOrientation, Orientation } from 'next/dist/compiled/get-orientation' import imageSizeOf from 'next/dist/compiled/image-size' @@ -28,6 +27,7 @@ import type { } from './response-cache' import { sendEtagResponse } from './send-payload' import { getContentType, getExtension } from './serve-static' +import * as Log from '../build/output/log' type XCacheHeader = 'MISS' | 'HIT' | 'STALE' @@ -169,6 +169,12 @@ export class ImageOptimizerCache { const { url, w, q } = query let href: string + if (domains.length > 0) { + Log.warnOnce( + 'The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead.' + ) + } + if (!url) { return { errorMessage: '"url" parameter is required' } } else if (Array.isArray(url)) { @@ -294,7 +300,7 @@ export class ImageOptimizerCache { const now = Date.now() for (const file of files) { - const [maxAgeSt, expireAtSt, etag, extension] = file.split('.') + const [maxAgeSt, expireAtSt, etag, extension] = file.split('.', 4) const buffer = await promises.readFile(join(cacheDir, file)) const expireAt = Number(expireAtSt) const maxAge = Number(maxAgeSt) @@ -348,7 +354,7 @@ export class ImageOptimizerCache { value.etag ) } catch (err) { - console.error(`Failed to write image to cache ${cacheKey}`, err) + Log.error(`Failed to write image to cache ${cacheKey}`, err) } } } @@ -373,7 +379,7 @@ function parseCacheControl(str: string | null): Map<string, string> { return map } for (let directive of str.split(',')) { - let [key, value] = directive.trim().split('=') + let [key, value] = directive.trim().split('=', 2) key = key.toLowerCase() if (value) { value = value.toLowerCase() @@ -438,9 +444,8 @@ export async function optimizeImage({ chromaSubsampling: '4:2:0', // same as webp }) } else { - console.warn( - yellow(bold('Warning: ')) + - `Your installed version of the 'sharp' package does not support AVIF images. Run 'npm i sharp@latest' to upgrade to the latest version.\n` + + Log.warnOnce( + `Your installed version of the 'sharp' package does not support AVIF images. Run 'npm i sharp@latest' to upgrade to the latest version.\n` + 'Read more: https://nextjs.org/docs/messages/sharp-version-avif' ) transformer.webp({ quality }) @@ -450,23 +455,22 @@ export async function optimizeImage({ } else if (contentType === PNG) { transformer.png({ quality }) } else if (contentType === JPEG) { - transformer.jpeg({ quality }) + transformer.jpeg({ quality, progressive: true }) } optimizedBuffer = await transformer.toBuffer() // End sharp transformation logic } else { if (showSharpMissingWarning && nextConfigOutput === 'standalone') { - console.error( + Log.error( `Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production` ) throw new ImageError(500, 'Internal Server Error') } // Show sharp warning in production once if (showSharpMissingWarning) { - console.warn( - yellow(bold('Warning: ')) + - `For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.\n` + + Log.warnOnce( + `For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'npm i sharp', and Next.js will use it automatically for Image Optimization.\n` + 'Read more: https://nextjs.org/docs/messages/sharp-missing-in-production' ) showSharpMissingWarning = false @@ -533,11 +537,7 @@ export async function imageOptimizer( const upstreamRes = await fetch(href) if (!upstreamRes.ok) { - console.error( - 'upstream image response failed for', - href, - upstreamRes.status - ) + Log.error('upstream image response failed for', href, upstreamRes.status) throw new ImageError( upstreamRes.status, '"url" parameter is valid but upstream response is invalid' @@ -562,7 +562,7 @@ export async function imageOptimizer( await mocked.res.hasStreamed if (!mocked.res.statusCode) { - console.error('image response failed for', href, mocked.res.statusCode) + Log.error('image response failed for', href, mocked.res.statusCode) throw new ImageError( mocked.res.statusCode, '"url" parameter is valid but internal response is invalid' @@ -576,7 +576,7 @@ export async function imageOptimizer( const cacheControl = mocked.res.getHeader('Cache-Control') maxAge = cacheControl ? getMaxAge(cacheControl) : 0 } catch (err) { - console.error('upstream image response failed for', href, err) + Log.error('upstream image response failed for', href, err) throw new ImageError( 500, '"url" parameter is valid but upstream response is invalid' @@ -591,7 +591,7 @@ export async function imageOptimizer( upstreamType.startsWith('image/svg') && !nextConfig.images.dangerouslyAllowSVG ) { - console.error( + Log.error( `The requested resource "${href}" has type "${upstreamType}" but dangerouslyAllowSVG is disabled` ) throw new ImageError( @@ -607,7 +607,7 @@ export async function imageOptimizer( return { buffer: upstreamBuffer, contentType: upstreamType, maxAge } } if (!upstreamType.startsWith('image/') || upstreamType.includes(',')) { - console.error( + Log.error( "The requested resource isn't a valid image for", href, 'received', @@ -686,13 +686,13 @@ function getFileNameWithExtension( url: string, contentType: string | null ): string { - const [urlWithoutQueryParams] = url.split('?') + const [urlWithoutQueryParams] = url.split('?', 1) const fileNameWithExtension = urlWithoutQueryParams.split('/').pop() if (!contentType || !fileNameWithExtension) { return 'image.bin' } - const [fileName] = fileNameWithExtension.split('.') + const [fileName] = fileNameWithExtension.split('.', 1) const extension = getExtension(contentType) return `${fileName}.${extension}` } diff --git a/packages/next/src/server/lib/incremental-cache/index.ts b/packages/next/src/server/lib/incremental-cache/index.ts index 91e10c618af45..4a861fdf04286 100644 --- a/packages/next/src/server/lib/incremental-cache/index.ts +++ b/packages/next/src/server/lib/incremental-cache/index.ts @@ -7,8 +7,6 @@ import type { import FetchCache from './fetch-cache' import FileSystemCache from './file-system-cache' import path from '../../../shared/lib/isomorphic/path' -import { encodeText } from '../../stream-utils/encode-decode' -import { encode } from '../../../shared/lib/base64-arraybuffer' import { normalizePagePath } from '../../../shared/lib/page-path/normalize-page-path' import { @@ -287,45 +285,49 @@ export class IncrementalCache { let cacheKey: string const bodyChunks: string[] = [] + const encoder = new TextEncoder() + const decoder = new TextDecoder() + if (init.body) { // handle ReadableStream body if (typeof (init.body as any).getReader === 'function') { - const readableBody = init.body as ReadableStream - const reader = readableBody.getReader() - let arrayBuffer = new Uint8Array() - - function processValue({ - done, - value, - }: { - done?: boolean - value?: ArrayBuffer | string - }): any { - if (done) { - return - } - if (value) { - try { - bodyChunks.push(typeof value === 'string' ? value : encode(value)) - const curBuffer: Uint8Array = - typeof value === 'string' - ? encodeText(value) - : new Uint8Array(value) - - const prevBuffer = arrayBuffer - arrayBuffer = new Uint8Array( - prevBuffer.byteLength + curBuffer.byteLength - ) - arrayBuffer.set(prevBuffer) - arrayBuffer.set(curBuffer, prevBuffer.byteLength) - } catch (err) { - console.error(err) - } + const readableBody = init.body as ReadableStream<Uint8Array | string> + + const chunks: Uint8Array[] = [] + + try { + await readableBody.pipeTo( + new WritableStream({ + write(chunk) { + if (typeof chunk === 'string') { + chunks.push(encoder.encode(chunk)) + bodyChunks.push(chunk) + } else { + chunks.push(chunk) + bodyChunks.push(decoder.decode(chunk, { stream: true })) + } + }, + }) + ) + + // Flush the decoder. + bodyChunks.push(decoder.decode()) + + // Create a new buffer with all the chunks. + const length = chunks.reduce((total, arr) => total + arr.length, 0) + const arrayBuffer = new Uint8Array(length) + + // Push each of the chunks into the new array buffer. + let offset = 0 + for (const chunk of chunks) { + arrayBuffer.set(chunk, offset) + offset += chunk.length } - reader.read().then(processValue) + + ;(init as any)._ogBody = arrayBuffer + } catch (err) { + console.error('Problem reading body', err) } - await reader.read().then(processValue) - ;(init as any)._ogBody = arrayBuffer } // handle FormData or URLSearchParams bodies else if (typeof (init.body as any).keys === 'function') { const formData = init.body as FormData @@ -350,7 +352,7 @@ export class IncrementalCache { } else if (typeof (init.body as any).arrayBuffer === 'function') { const blob = init.body as Blob const arrayBuffer = await blob.arrayBuffer() - bodyChunks.push(encode(await (init.body as Blob).arrayBuffer())) + bodyChunks.push(await blob.text()) ;(init as any)._ogBody = new Blob([arrayBuffer], { type: blob.type }) } else if (typeof init.body === 'string') { bodyChunks.push(init.body) @@ -382,7 +384,7 @@ export class IncrementalCache { .call(new Uint8Array(buffer), (b) => b.toString(16).padStart(2, '0')) .join('') } - const buffer = encodeText(cacheString) + const buffer = encoder.encode(cacheString) cacheKey = bufferToHex(await crypto.subtle.digest('SHA-256', buffer)) } else { const crypto = require('crypto') as typeof import('crypto') diff --git a/packages/next/src/server/lib/mock-request.test.ts b/packages/next/src/server/lib/mock-request.test.ts index cdc018a907473..9c648642edb7c 100644 --- a/packages/next/src/server/lib/mock-request.test.ts +++ b/packages/next/src/server/lib/mock-request.test.ts @@ -1,8 +1,5 @@ import { MockedRequest, MockedResponse } from './mock-request' -// We use `Headers` here which is provided by the polyfill. -import '../node-polyfill-fetch' - describe('MockedRequest', () => { it('should have the correct properties', () => { const req = new MockedRequest({ diff --git a/packages/next/src/server/lib/mock-request.ts b/packages/next/src/server/lib/mock-request.ts index 6837599c1f24e..d5b63ac2902aa 100644 --- a/packages/next/src/server/lib/mock-request.ts +++ b/packages/next/src/server/lib/mock-request.ts @@ -367,6 +367,11 @@ export class MockedResponse extends Stream.Writable implements ServerResponse { this.headers.delete(name) } + public flushHeaders(): void { + // This is a no-op because we don't actually have a socket to flush the + // headers to. + } + // The following methods are not implemented as they are not used in the // Next.js codebase. @@ -425,10 +430,6 @@ export class MockedResponse extends Stream.Writable implements ServerResponse { public addTrailers(): void { throw new Error('Method not implemented.') } - - public flushHeaders(): void { - throw new Error('Method not implemented.') - } } interface RequestResponseMockerOptions { diff --git a/packages/next/src/server/lib/patch-fetch.ts b/packages/next/src/server/lib/patch-fetch.ts index 2e1b23a241722..671f020132927 100644 --- a/packages/next/src/server/lib/patch-fetch.ts +++ b/packages/next/src/server/lib/patch-fetch.ts @@ -1,4 +1,7 @@ -import type { StaticGenerationAsyncStorage } from '../../client/components/static-generation-async-storage.external' +import type { + StaticGenerationAsyncStorage, + StaticGenerationStore, +} from '../../client/components/static-generation-async-storage.external' import type * as ServerHooks from '../../client/components/hooks-server-context' import { AppRenderSpan, NextNodeServerSpan } from './trace/constants' @@ -195,7 +198,7 @@ export function patchFetch({ }, }, async () => { - const staticGenerationStore = + const staticGenerationStore: StaticGenerationStore = staticGenerationAsyncStorage.getStore() || (fetch as any).__nextGetStaticStore?.() const isRequestInput = @@ -534,15 +537,6 @@ export function patchFetch({ ) } const resData = entry.value.data - let decodedBody: ArrayBuffer - - if (process.env.NEXT_RUNTIME === 'edge') { - const { decode } = - require('../../shared/lib/base64-arraybuffer') as typeof import('../../shared/lib/base64-arraybuffer') - decodedBody = decode(resData.body) - } else { - decodedBody = Buffer.from(resData.body, 'base64').subarray() - } trackFetchMetric(staticGenerationStore, { start: fetchStart, @@ -553,10 +547,13 @@ export function patchFetch({ method: init?.method || 'GET', }) - const response = new Response(decodedBody, { - headers: resData.headers, - status: resData.status, - }) + const response = new Response( + Buffer.from(resData.body, 'base64'), + { + headers: resData.headers, + status: resData.status, + } + ) Object.defineProperty(response, 'url', { value: entry.value.data.url, }) diff --git a/packages/next/src/server/lib/route-resolver.ts b/packages/next/src/server/lib/route-resolver.ts index d12fb57cef8a9..8a27b45b70b19 100644 --- a/packages/next/src/server/lib/route-resolver.ts +++ b/packages/next/src/server/lib/route-resolver.ts @@ -3,7 +3,6 @@ import type { IncomingMessage, ServerResponse } from 'http' import type { RenderServer } from './router-server' import '../require-hook' -import '../node-polyfill-fetch' import url from 'url' import path from 'path' @@ -19,7 +18,7 @@ import { PERMANENT_REDIRECT_STATUS } from '../../shared/lib/constants' import { formatHostname } from './format-hostname' import { signalFromNodeResponse } from '../web/spec-extension/adapters/next-request' import { getMiddlewareRouteMatcher } from '../../shared/lib/router/utils/middleware-route-matcher' -import { pipeReadable } from '../pipe-readable' +import { pipeToNodeResponse } from '../pipe-readable' type RouteResult = | { @@ -227,7 +226,7 @@ export async function makeResolver( // handle middleware body response if (bodyStream) { res.statusCode = statusCode || 200 - return await pipeReadable(bodyStream, res) + return await pipeToNodeResponse(bodyStream, res) } if (finished && parsedUrl.protocol) { diff --git a/packages/next/src/server/lib/router-server.ts b/packages/next/src/server/lib/router-server.ts index c725f6d70141e..61a4c5a0311be 100644 --- a/packages/next/src/server/lib/router-server.ts +++ b/packages/next/src/server/lib/router-server.ts @@ -3,10 +3,8 @@ import type { WorkerRequestHandler, WorkerUpgradeHandler } from './types' import type { DevBundler } from './router-utils/setup-dev-bundler' import type { NextUrlWithParsedQuery } from '../request-meta' // This is required before other imports to ensure the require hook is setup. -import '../node-polyfill-fetch' import '../node-environment' import '../require-hook' -import '../../lib/polyfill-promise-with-resolvers' import url from 'url' import path from 'path' @@ -18,7 +16,7 @@ import { DecodeError } from '../../shared/lib/utils' import { findPagesDir } from '../../lib/find-pages-dir' import { setupFsCheck } from './router-utils/filesystem' import { proxyRequest } from './router-utils/proxy-request' -import { isAbortError, pipeReadable } from '../pipe-readable' +import { isAbortError, pipeToNodeResponse } from '../pipe-readable' import { getResolveRoutes } from './router-utils/resolve-routes' import { getRequestMeta } from '../request-meta' import { pathHasPrefix } from '../../shared/lib/router/utils/path-has-prefix' @@ -364,7 +362,7 @@ export async function initialize(opts: { // handle middleware body response if (bodyStream) { res.statusCode = statusCode || 200 - return await pipeReadable(bodyStream, res) + return await pipeToNodeResponse(bodyStream, res) } if (finished && parsedUrl.protocol) { diff --git a/packages/next/src/server/lib/router-utils/resolve-routes.ts b/packages/next/src/server/lib/router-utils/resolve-routes.ts index 1442a5b37e3e6..da7373f6935a3 100644 --- a/packages/next/src/server/lib/router-utils/resolve-routes.ts +++ b/packages/next/src/server/lib/router-utils/resolve-routes.ts @@ -35,8 +35,6 @@ import { } from '../../../shared/lib/router/utils/prepare-destination' import { createRequestResponseMocks } from '../mock-request' -import '../../node-polyfill-web-streams' - const debug = setupDebug('next:router-server:resolve-routes') export function getResolveRoutes( @@ -116,7 +114,7 @@ export function getResolveRoutes( let parsedUrl = url.parse(req.url || '', true) as NextUrlWithParsedQuery let didRewrite = false - const urlParts = (req.url || '').split('?') + const urlParts = (req.url || '').split('?', 1) const urlNoQuery = urlParts[0] // this normalizes repeated slashes in the path e.g. hello//world -> diff --git a/packages/next/src/server/lib/router-utils/setup-dev-bundler.ts b/packages/next/src/server/lib/router-utils/setup-dev-bundler.ts index 17562efdcac23..0ca985eb09d75 100644 --- a/packages/next/src/server/lib/router-utils/setup-dev-bundler.ts +++ b/packages/next/src/server/lib/router-utils/setup-dev-bundler.ts @@ -6,6 +6,7 @@ import type { WrittenEndpoint, ServerClientChange, Issue, + Project, } from '../../../build/swc' import type { Socket } from 'net' import type { FilesystemDynamicRoute } from './filesystem' @@ -78,6 +79,7 @@ import { PAGES_MANIFEST, PHASE_DEVELOPMENT_SERVER, SERVER_REFERENCE_MANIFEST, + REACT_LOADABLE_MANIFEST, } from '../../../shared/lib/constants' import { getMiddlewareRouteMatcher } from '../../../shared/lib/router/utils/middleware-route-matcher' @@ -96,6 +98,10 @@ import { getSourceById, parseStack, } from 'next/dist/compiled/@next/react-dev-overlay/dist/middleware' +import { + getOverlayMiddleware, + createOriginalStackFrame as createOriginalTurboStackFrame, +} from 'next/dist/compiled/@next/react-dev-overlay/dist/middleware-turbopack' import { mkdir, readFile, writeFile, rename, unlink } from 'fs/promises' import { PageNotFoundError } from '../../../shared/lib/utils' import { @@ -117,6 +123,7 @@ import { normalizeMetadataRoute } from '../../../lib/metadata/get-metadata-route import { clearModuleContext } from '../render-server' import type { ActionManifest } from '../../../build/webpack/plugins/flight-client-entry-plugin' import { denormalizePagePath } from '../../../shared/lib/page-path/denormalize-page-path' +import type { LoadableManifest } from '../../load-components' const wsServer = new ws.Server({ noServer: true }) @@ -198,6 +205,7 @@ async function startWatcher(opts: SetupOpts) { } = {} let hotReloader: NextJsHotReloaderInterface + let project: Project | undefined if (opts.turbo) { const { loadBindings } = @@ -221,7 +229,7 @@ async function startWatcher(opts: SetupOpts) { opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0 - const project = await bindings.turbo.createProject({ + project = await bindings.turbo.createProject({ projectPath: dir, rootPath: opts.nextConfig.experimental.outputFileTracingRoot || dir, nextConfig: opts.nextConfig, @@ -503,6 +511,7 @@ async function startWatcher(opts: SetupOpts) { ws, Map<string, AsyncIterator<any>> >() + const loadbleManifests = new Map<string, LoadableManifest>() const clients = new Set<ws>() async function loadMiddlewareManifest( @@ -560,6 +569,16 @@ async function startWatcher(opts: SetupOpts) { ) } + async function loadLoadableManifest( + pageName: string, + type: 'app' | 'pages' = 'pages' + ): Promise<void> { + loadbleManifests.set( + pageName, + await loadPartialManifest(REACT_LOADABLE_MANIFEST, pageName, type) + ) + } + const buildingReported = new Set<string>() async function changeSubscription( @@ -697,6 +716,14 @@ async function startWatcher(opts: SetupOpts) { return manifest } + function mergeLoadableManifests(manifests: Iterable<LoadableManifest>) { + const manifest: LoadableManifest = {} + for (const m of manifests) { + Object.assign(manifest, m) + } + return manifest + } + async function writeFileAtomic( filePath: string, content: string @@ -866,13 +893,14 @@ async function startWatcher(opts: SetupOpts) { ) } - async function writeOtherManifests(): Promise<void> { - const loadableManifestPath = path.join( - distDir, - 'react-loadable-manifest.json' - ) + async function writeLoadableManifest(): Promise<void> { + const loadableManifest = mergeLoadableManifests(loadbleManifests.values()) + const loadableManifestPath = path.join(distDir, REACT_LOADABLE_MANIFEST) deleteCache(loadableManifestPath) - await writeFileAtomic(loadableManifestPath, JSON.stringify({}, null, 2)) + await writeFileAtomic( + loadableManifestPath, + JSON.stringify(loadableManifest, null, 2) + ) } async function subscribeToHmrEvents(id: string, client: ws) { @@ -883,7 +911,7 @@ async function startWatcher(opts: SetupOpts) { } if (mapping.has(id)) return - const subscription = project.hmrEvents(id) + const subscription = project!.hmrEvents(id) mapping.set(id, subscription) // The subscription will always emit once, which is the initial @@ -1052,15 +1080,16 @@ async function startWatcher(opts: SetupOpts) { await writeAppPathsManifest() await writeMiddlewareManifest() await writeActionManifest() - await writeOtherManifests() await writeFontManifest() + await writeLoadableManifest() + const overlayMiddleware = getOverlayMiddleware(project) const turbopackHotReloader: NextJsHotReloaderInterface = { turbopackProject: project, activeWebpackConfigs: undefined, serverStats: null, edgeServerStats: null, - async run(req, _res, _parsedUrl) { + async run(req, res, _parsedUrl) { // intercept page chunks request and ensure them with turbopack if (req.url?.startsWith('/_next/static/chunks/pages/')) { const params = matchNextPageBundleRequest(req.url) @@ -1081,6 +1110,9 @@ async function startWatcher(opts: SetupOpts) { .catch(console.error) } } + + await overlayMiddleware(req, res) + // Request was not finished. return { finished: undefined } }, @@ -1220,7 +1252,7 @@ async function startWatcher(opts: SetupOpts) { await writeFallbackBuildManifest() await writePagesManifest() await writeMiddlewareManifest() - await writeOtherManifests() + await writeLoadableManifest() return } @@ -1329,12 +1361,13 @@ async function startWatcher(opts: SetupOpts) { } else { middlewareManifests.delete(page) } + await loadLoadableManifest(page, 'pages') await writeBuildManifest(opts.fsChecker.rewrites) await writeFallbackBuildManifest() await writePagesManifest() await writeMiddlewareManifest() - await writeOtherManifests() + await writeLoadableManifest() processIssues(page, page, writtenEndpoint) @@ -1358,10 +1391,11 @@ async function startWatcher(opts: SetupOpts) { } else { middlewareManifests.delete(page) } + await loadLoadableManifest(page, 'pages') await writePagesManifest() await writeMiddlewareManifest() - await writeOtherManifests() + await writeLoadableManifest() processIssues(page, page, writtenEndpoint) @@ -1395,7 +1429,7 @@ async function startWatcher(opts: SetupOpts) { await writeAppPathsManifest() await writeMiddlewareManifest() await writeActionManifest() - await writeOtherManifests() + await writeLoadableManifest() processIssues(page, page, writtenEndpoint, true) @@ -1420,7 +1454,7 @@ async function startWatcher(opts: SetupOpts) { await writeAppPathsManifest() await writeMiddlewareManifest() await writeMiddlewareManifest() - await writeOtherManifests() + await writeLoadableManifest() processIssues(page, page, writtenEndpoint, true) @@ -2153,47 +2187,59 @@ async function startWatcher(opts: SetupOpts) { !file?.includes('<anonymous>') ) + let originalFrame, isEdgeCompiler if (frame?.lineNumber && frame?.file) { - const moduleId = frame.file!.replace( - /^(webpack-internal:\/\/\/|file:\/\/)/, - '' - ) - const modulePath = frame.file.replace( - /^(webpack-internal:\/\/\/|file:\/\/)(\(.*\)\/)?/, - '' - ) + if (opts.turbo) { + try { + originalFrame = await createOriginalTurboStackFrame( + project!, + frame + ) + } catch {} + } else { + const moduleId = frame.file!.replace( + /^(webpack-internal:\/\/\/|file:\/\/)/, + '' + ) + const modulePath = frame.file.replace( + /^(webpack-internal:\/\/\/|file:\/\/)(\(.*\)\/)?/, + '' + ) - const src = getErrorSource(err as Error) - const isEdgeCompiler = src === COMPILER_NAMES.edgeServer - const compilation = ( - isEdgeCompiler - ? hotReloader.edgeServerStats?.compilation - : hotReloader.serverStats?.compilation - )! - - const source = await getSourceById( - !!frame.file?.startsWith(path.sep) || - !!frame.file?.startsWith('file:'), - moduleId, - compilation - ) + const src = getErrorSource(err as Error) + isEdgeCompiler = src === COMPILER_NAMES.edgeServer + const compilation = ( + isEdgeCompiler + ? hotReloader.edgeServerStats?.compilation + : hotReloader.serverStats?.compilation + )! + + const source = await getSourceById( + !!frame.file?.startsWith(path.sep) || + !!frame.file?.startsWith('file:'), + moduleId, + compilation + ) - const originalFrame = await createOriginalStackFrame({ - line: frame.lineNumber, - column: frame.column, - source, - frame, - moduleId, - modulePath, - rootDirectory: opts.dir, - errorMessage: err.message, - serverCompilation: isEdgeCompiler - ? undefined - : hotReloader.serverStats?.compilation, - edgeCompilation: isEdgeCompiler - ? hotReloader.edgeServerStats?.compilation - : undefined, - }).catch(() => {}) + try { + originalFrame = await createOriginalStackFrame({ + line: frame.lineNumber, + column: frame.column, + source, + frame, + moduleId, + modulePath, + rootDirectory: opts.dir, + errorMessage: err.message, + serverCompilation: isEdgeCompiler + ? undefined + : hotReloader.serverStats?.compilation, + edgeCompilation: isEdgeCompiler + ? hotReloader.edgeServerStats?.compilation + : undefined, + }) + } catch {} + } if (originalFrame) { const { originalCodeFrame, originalStackFrame } = originalFrame diff --git a/packages/next/src/server/lib/start-server.ts b/packages/next/src/server/lib/start-server.ts index de72c76a34dbc..06a5efe34985c 100644 --- a/packages/next/src/server/lib/start-server.ts +++ b/packages/next/src/server/lib/start-server.ts @@ -2,7 +2,6 @@ if (performance.getEntriesByName('next-start').length === 0) { performance.mark('next-start') } import '../next' -import '../node-polyfill-fetch' import '../require-hook' import type { IncomingMessage, ServerResponse } from 'http' diff --git a/packages/next/src/server/lib/utils.ts b/packages/next/src/server/lib/utils.ts index 1115d92d08bd6..18d09ceb8526a 100644 --- a/packages/next/src/server/lib/utils.ts +++ b/packages/next/src/server/lib/utils.ts @@ -18,7 +18,7 @@ export const getDebugPort = () => { localArg.startsWith('--inspect') || localArg.startsWith('--inspect-brk') ) - ?.split('=')[1] ?? + ?.split('=', 2)[1] ?? process.env.NODE_OPTIONS?.match?.(/--inspect(-brk)?(=(\S+))?( |$)/)?.[3] return debugPortStr ? parseInt(debugPortStr, 10) : 9229 } diff --git a/packages/next/src/server/load-components.ts b/packages/next/src/server/load-components.ts index 63e563b13a2d3..cce641eb998f2 100644 --- a/packages/next/src/server/load-components.ts +++ b/packages/next/src/server/load-components.ts @@ -33,6 +33,17 @@ export type ManifestItem = { export type ReactLoadableManifest = { [moduleId: string]: ManifestItem } +/** + * A manifest entry type for the react-loadable-manifest.json. + * + * The whole manifest.json is a type of `Record<pathName, LoadableManifest>` + * where pathName is a string-based key points to the path of the page contains + * each dynamic imports. + */ +export interface LoadableManifest { + [k: string]: { id: string | number; files: string[] } +} + export type LoadComponentsReturnType<NextModule = any> = { Component: NextComponentType pageConfig: PageConfig diff --git a/packages/next/src/server/next-server.ts b/packages/next/src/server/next-server.ts index 73817ff2e7483..7ce84e3e1cad9 100644 --- a/packages/next/src/server/next-server.ts +++ b/packages/next/src/server/next-server.ts @@ -1,10 +1,6 @@ import './node-environment' import './require-hook' -import './node-polyfill-fetch' -import './node-polyfill-form' -import './node-polyfill-web-streams' import './node-polyfill-crypto' -import '../lib/polyfill-promise-with-resolvers' import type { TLSSocket } from 'tls' import type { CacheFs } from '../shared/lib/utils' @@ -92,8 +88,8 @@ import { NextNodeServerSpan } from './lib/trace/constants' import { nodeFs } from './lib/node-fs-methods' import { getRouteRegex } from '../shared/lib/router/utils/route-regex' import { invokeRequest } from './lib/server-ipc/invoke-request' -import { pipeReadable } from './pipe-readable' import { filterReqHeaders, ipcForbiddenHeaders } from './lib/server-ipc/utils' +import { pipeToNodeResponse } from './pipe-readable' import { createRequestResponseMocks } from './lib/mock-request' import { NEXT_RSC_UNION_QUERY } from '../client/components/app-router-headers' import { signalFromNodeResponse } from './web/spec-extension/adapters/next-request' @@ -561,7 +557,7 @@ export default class NextNodeServer extends BaseServer { newRes.statusCode = invokeRes.status || 200 if (invokeRes.body) { - await pipeReadable(invokeRes.body, newRes) + await pipeToNodeResponse(invokeRes.body, newRes) } else { res.send() } @@ -1025,9 +1021,14 @@ export default class NextNodeServer extends BaseServer { } private makeRequestHandler(): NodeRequestHandler { - // This is just optimization to fire prepare as soon as possible - // It will be properly awaited later - void this.prepare() + // This is just optimization to fire prepare as soon as possible. It will be + // properly awaited later. We add the catch here to ensure that it does not + // cause a unhandled promise rejection. The promise rejection wil be + // handled later on via the `await` when the request handler is called. + this.prepare().catch((err) => { + console.error('Failed to prepare server', err) + }) + const handler = super.getRequestHandler() return (req, res, parsedUrl) => { const normalizedReq = this.normalizeReq(req) @@ -1653,7 +1654,7 @@ export default class NextNodeServer extends BaseServer { const { originalResponse } = res as NodeNextResponse if (result.response.body) { - await pipeReadable(result.response.body, originalResponse) + await pipeToNodeResponse(result.response.body, originalResponse) } else { originalResponse.end() } @@ -1882,7 +1883,7 @@ export default class NextNodeServer extends BaseServer { const nodeResStream = (params.res as NodeNextResponse).originalResponse if (result.response.body) { - await pipeReadable(result.response.body, nodeResStream) + await pipeToNodeResponse(result.response.body, nodeResStream) } else { nodeResStream.end() } diff --git a/packages/next/src/server/next.ts b/packages/next/src/server/next.ts index 37f64702de318..391a137f95bc9 100644 --- a/packages/next/src/server/next.ts +++ b/packages/next/src/server/next.ts @@ -10,7 +10,6 @@ import type { NextUrlWithParsedQuery } from './request-meta' import type { WorkerRequestHandler, WorkerUpgradeHandler } from './lib/types' import './require-hook' -import './node-polyfill-fetch' import './node-polyfill-crypto' import type { default as Server } from './next-server' diff --git a/packages/next/src/server/node-polyfill-fetch.ts b/packages/next/src/server/node-polyfill-fetch.ts deleted file mode 100644 index 0b25ee346188d..0000000000000 --- a/packages/next/src/server/node-polyfill-fetch.ts +++ /dev/null @@ -1,54 +0,0 @@ -// TODO: Remove this file when Node.js 16 is not supported anymore - -if (typeof fetch === 'undefined' && typeof globalThis.fetch === 'undefined') { - function getFetchImpl() { - return require('next/dist/compiled/undici') - } - - function getRequestImpl() { - const OriginalRequest = getFetchImpl().Request - return class extends OriginalRequest { - constructor(input: RequestInfo | URL, init: RequestInit) { - super(input, init) - this.next = init?.next - } - } - } - - // Due to limitation of global configuration, we have to do this resolution at runtime - globalThis.fetch = (...args: Parameters<typeof fetch>) => { - const fetchImpl = getFetchImpl() - - // Undici does not support the `keepAlive` option, - // instead we have to pass a custom dispatcher - if ( - !global.__NEXT_HTTP_AGENT_OPTIONS?.keepAlive && - !global.__NEXT_UNDICI_AGENT_SET - ) { - global.__NEXT_UNDICI_AGENT_SET = true - fetchImpl.setGlobalDispatcher(new fetchImpl.Agent({ pipelining: 0 })) - console.warn( - 'Warning - Configuring `keepAlive: false` is deprecated. Use `{ headers: { connection: "close" } }` instead.' - ) - } - return fetchImpl.fetch(...args) - } - - Object.defineProperties(global, { - Headers: { - get() { - return getFetchImpl().Headers - }, - }, - Request: { - get() { - return getRequestImpl() - }, - }, - Response: { - get() { - return getFetchImpl().Response - }, - }, - }) -} diff --git a/packages/next/src/server/node-polyfill-form.ts b/packages/next/src/server/node-polyfill-form.ts deleted file mode 100644 index 9a174305abf41..0000000000000 --- a/packages/next/src/server/node-polyfill-form.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Polyfills `FormData` and `Blob` in the Node.js runtime. - */ - -if (!global.FormData) { - const { FormData } = require('next/dist/compiled/@edge-runtime/ponyfill') - global.FormData = FormData -} - -if (!global.Blob) { - const { Blob } = require('next/dist/compiled/@edge-runtime/ponyfill') - global.Blob = Blob -} diff --git a/packages/next/src/server/node-polyfill-headers.ts b/packages/next/src/server/node-polyfill-headers.ts deleted file mode 100644 index eabd1007b96db..0000000000000 --- a/packages/next/src/server/node-polyfill-headers.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Polyfills the `Headers.getAll(name)` method so it'll work in the edge - * runtime. - */ - -if (!('getAll' in Headers.prototype)) { - // @ts-expect-error - this is polyfilling this method so it doesn't exist yet - Headers.prototype.getAll = function (name: string) { - name = name.toLowerCase() - if (name !== 'set-cookie') - throw new Error('Headers.getAll is only supported for Set-Cookie header') - - const headers = [...this.entries()].filter(([key]) => key === name) - return headers.map(([, value]) => value) - } -} diff --git a/packages/next/src/server/node-polyfill-web-streams.ts b/packages/next/src/server/node-polyfill-web-streams.ts deleted file mode 100644 index fd09f5ecf034d..0000000000000 --- a/packages/next/src/server/node-polyfill-web-streams.ts +++ /dev/null @@ -1,22 +0,0 @@ -// Polyfill Web Streams for the Node.js runtime. -if (!global.ReadableStream) { - // In Node v16, ReadableStream is available natively but under the `stream` namespace. - // In Node v18+, it's available under global. - if (require('stream/web').ReadableStream) { - global.ReadableStream = require('stream/web').ReadableStream - } else { - const { ReadableStream } = - require('next/dist/compiled/@edge-runtime/ponyfill') as typeof import('next/dist/compiled/@edge-runtime/ponyfill') - global.ReadableStream = ReadableStream - } -} -if (!global.TransformStream) { - // Same as ReadableStream above. - if (require('stream/web').TransformStream) { - global.TransformStream = require('stream/web').TransformStream - } else { - const { TransformStream } = - require('next/dist/compiled/@edge-runtime/ponyfill') as typeof import('next/dist/compiled/@edge-runtime/ponyfill') - global.TransformStream = TransformStream - } -} diff --git a/packages/next/src/server/og/image-response.ts b/packages/next/src/server/og/image-response.ts new file mode 100644 index 0000000000000..bedf93ad0400d --- /dev/null +++ b/packages/next/src/server/og/image-response.ts @@ -0,0 +1,52 @@ +export class ImageResponse extends Response { + public static displayName = 'NextImageResponse' + constructor( + ...args: ConstructorParameters< + typeof import('next/dist/compiled/@vercel/og').ImageResponse + > + ) { + const readable = new ReadableStream({ + async start(controller) { + const OGImageResponse: typeof import('next/dist/compiled/@vercel/og').ImageResponse = + // So far we have to manually determine which build to use, + // as the auto resolving is not working + ( + await import( + process.env.NEXT_RUNTIME === 'edge' + ? 'next/dist/compiled/@vercel/og/index.edge.js' + : 'next/dist/compiled/@vercel/og/index.node.js' + ) + ).ImageResponse + const imageResponse = new OGImageResponse(...args) as Response + + if (!imageResponse.body) { + return controller.close() + } + + const reader = imageResponse.body!.getReader() + while (true) { + const { done, value } = await reader.read() + if (done) { + return controller.close() + } + controller.enqueue(value) + } + }, + }) + + const options = args[1] || {} + + super(readable, { + headers: { + 'content-type': 'image/png', + 'cache-control': + process.env.NODE_ENV === 'development' + ? 'no-cache, no-store' + : 'public, immutable, no-transform, max-age=31536000', + ...options.headers, + }, + status: options.status, + statusText: options.statusText, + }) + } +} diff --git a/packages/next/src/server/pipe-readable.ts b/packages/next/src/server/pipe-readable.ts index eda739e3b3fdd..037ae2edcc349 100644 --- a/packages/next/src/server/pipe-readable.ts +++ b/packages/next/src/server/pipe-readable.ts @@ -1,107 +1,109 @@ +import type { ServerResponse } from 'node:http' + +import { + ResponseAbortedName, + createAbortController, +} from './web/spec-extension/adapters/next-request' +import { DetachedPromise } from '../lib/detached-promise' + export function isAbortError(e: any): e is Error & { name: 'AbortError' } { - return e?.name === 'AbortError' + return e?.name === 'AbortError' || e?.name === ResponseAbortedName } -/** - * This is a minimal implementation of a Writable with just enough - * functionality to handle stream cancellation. - */ -export interface PipeTarget<R = any> { - /** - * Called when new data is read from readable source. - */ - write: (chunk: R) => unknown - - /** - * Always called once we read all data (if the writable isn't already - * destroyed by a client disconnect). - */ - end: () => unknown - - /** - * An optional method which is called after every write, to support - * immediately streaming in gzip responses. - */ - flush?: () => unknown - - /** - * The close event listener is necessary for us to detect an early client - * disconnect while we're attempting to read data. This must be done - * out-of-band so that we can cancel the readable (else we'd have to wait for - * the readable to produce more data before we could tell it to cancel). - */ - on: (event: 'close', cb: () => void) => void - - /** - * Allows us to cleanup our onClose listener. - */ - off: (event: 'close', cb: () => void) => void - - closed?: boolean -} +function createWriterFromResponse( + res: ServerResponse +): WritableStream<Uint8Array> { + let started = false -export async function pipeReadable( - readable: ReadableStream<Uint8Array>, - writable: PipeTarget<Uint8Array>, - waitUntilForEnd?: Promise<void> -) { - const reader = readable.getReader() - let readerDone = false - let writableClosed = false - - // It's not enough just to check for `writable.destroyed`, because the client - // may disconnect while we're waiting for a read. We need to immediately - // cancel the readable, and that requires an out-of-band listener. - function onClose() { - writableClosed = true - writable.off('close', onClose) - - // If the reader is not yet done, we need to cancel it so that the stream - // source's resources can be cleaned up. If a read is in-progress, this - // will also ensure the read promise rejects and frees our resources. - if (!readerDone) { - readerDone = true - reader.cancel().catch(() => {}) - } + // Create a promise that will resolve once the response has drained. See + // https://nodejs.org/api/stream.html#stream_event_drain + let drained = new DetachedPromise<void>() + function onDrain() { + drained.resolve() } - writable.on('close', onClose) + res.on('drain', onDrain) - try { - while (true) { - const { done, value } = await reader.read() - readerDone = done + // If the finish event fires, it means we shouldn't block and wait for the + // drain event. + res.once('close', () => { + res.off('drain', onDrain) + drained.resolve() + }) - if (done || writableClosed) { - break + // Create a promise that will resolve once the response has finished. See + // https://nodejs.org/api/http.html#event-finish_1 + const finished = new DetachedPromise<void>() + res.once('finish', () => { + finished.resolve() + }) + + // Create a writable stream that will write to the response. + return new WritableStream<Uint8Array>({ + write: async (chunk) => { + // You'd think we'd want to use `start` instead of placing this in `write` + // but this ensures that we don't actually flush the headers until we've + // started writing chunks. + if (!started) { + started = true + res.flushHeaders() } - if (value) { - writable.write(value) - writable.flush?.() + try { + const ok = res.write(chunk) + + // Added by the `compression` middleware, this is a function that will + // flush the partially-compressed response to the client. + if ('flush' in res && typeof res.flush === 'function') { + res.flush() + } + + // If the write returns false, it means there's some backpressure, so + // wait until it's streamed before continuing. + if (!ok) { + await drained.promise + + // Reset the drained promise so that we can wait for the next drain event. + drained = new DetachedPromise<void>() + } + } catch (err) { + res.end() + throw new Error('failed to write chunk to response', { cause: err }) } - } - } catch (e) { - // If the client disconnects, we don't want to emit an unhandled error. - if (!isAbortError(e)) { - throw e - } - } finally { - writable.off('close', onClose) - - // If we broke out of the loop because of a client disconnect, and the - // close event hasn't yet fired, we can early cancel. - if (!readerDone) { - reader.cancel().catch(() => {}) - } - - // If the client hasn't disconnected yet, end the writable so that the - // response sends the final bytes. - if (waitUntilForEnd) { - await waitUntilForEnd - } - - if (!writableClosed) { - writable.end() - } + }, + abort: (err) => { + if (res.writableFinished) return + + res.destroy(err) + }, + close: () => { + if (res.writableFinished) return + + res.end() + return finished.promise + }, + }) +} + +export async function pipeToNodeResponse( + readable: ReadableStream<Uint8Array>, + res: ServerResponse +) { + try { + // If the response has already errored, then just return now. + const { errored, destroyed } = res + if (errored || destroyed) return + + // Create a new AbortController so that we can abort the readable if the + // client disconnects. + const controller = createAbortController(res) + + const writer = createWriterFromResponse(res) + + await readable.pipeTo(writer, { signal: controller.signal }) + } catch (err: any) { + // If this isn't related to an abort error, re-throw it. + if (isAbortError(err)) return + + throw new Error('failed to pipe response', { cause: err }) } } diff --git a/packages/next/src/server/render-result.ts b/packages/next/src/server/render-result.ts index 8a7b93653765f..01e5fd043c7e6 100644 --- a/packages/next/src/server/render-result.ts +++ b/packages/next/src/server/render-result.ts @@ -1,8 +1,9 @@ +import type { ServerResponse } from 'http' import type { StaticGenerationStore } from '../client/components/static-generation-async-storage.external' import type { Revalidate } from './lib/revalidate' -import type { PipeTarget } from './pipe-readable' -import { pipeReadable } from './pipe-readable' +import { streamToString } from './stream-utils/node-web-streams-helper' +import { isAbortError, pipeToNodeResponse } from './pipe-readable' type ContentTypeOption = string | undefined @@ -90,31 +91,81 @@ export default class RenderResult { } /** - * Returns true if the response is a stream. If the page was dynamic, this - * will throw an error. + * Returns the response if it is a string. If the page was dynamic, this will + * return a promise if the `stream` option is true, or it will throw an error. * + * @param stream Whether or not to return a promise if the response is dynamic * @returns The response as a string */ - public toUnchunkedString(): string { + public toUnchunkedString(stream?: false): string + public toUnchunkedString(stream: true): Promise<string> + public toUnchunkedString(stream = false): Promise<string> | string { + if (this.response === null) { + throw new Error('Invariant: null responses cannot be unchunked') + } + if (typeof this.response !== 'string') { - throw new Error( - 'Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js' - ) + if (!stream) { + throw new Error( + 'Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js' + ) + } + + return streamToString(this.response) } return this.response } - public async pipe(res: PipeTarget<Uint8Array>): Promise<void> { + /** + * Returns the response if it is a stream, or throws an error if it is a + * string. + */ + private get readable(): ReadableStream<Uint8Array> { if (this.response === null) { - throw new Error('Invariant: response is null. This is a bug in Next.js') + throw new Error('Invariant: null responses cannot be streamed') } if (typeof this.response === 'string') { - throw new Error( - 'Invariant: static responses cannot be piped. This is a bug in Next.js' - ) + throw new Error('Invariant: static responses cannot be streamed') } - return await pipeReadable(this.response, res, this.waitUntil) + return this.response + } + + /** + * Pipes the response to a writable stream. This will close/cancel the + * writable stream if an error is encountered. + * + * @param writable Writable stream to pipe the response to + */ + public async pipeTo(writable: WritableStream<Uint8Array>): Promise<void> { + try { + await this.readable.pipeTo(writable) + } catch (err) { + // If this isn't a client abort, then re-throw the error. + if (!isAbortError(err)) { + throw err + } + } finally { + if (this.waitUntil) { + await this.waitUntil + } + } + } + + /** + * Pipes the response to a node response. This will close/cancel the node + * response if an error is encountered. + * + * @param res + */ + public async pipeToNodeResponse(res: ServerResponse) { + try { + await pipeToNodeResponse(this.readable, res) + } finally { + if (this.waitUntil) { + await this.waitUntil + } + } } } diff --git a/packages/next/src/server/render.tsx b/packages/next/src/server/render.tsx index fb17408808c98..9af67e0e07861 100644 --- a/packages/next/src/server/render.tsx +++ b/packages/next/src/server/render.tsx @@ -114,7 +114,6 @@ let postProcessHTML: typeof import('./post-process').postProcessHTML const DOCTYPE = '<!DOCTYPE html>' if (process.env.NEXT_RUNTIME !== 'edge') { - require('./node-polyfill-web-streams') tryGetPreviewData = require('./api-utils/node/try-get-preview-data').tryGetPreviewData warn = require('../build/output/log').warn @@ -1546,7 +1545,8 @@ export async function renderToHTMLImpl( } const [renderTargetPrefix, renderTargetSuffix] = documentHTML.split( - '<next-js-internal-body-render-target></next-js-internal-body-render-target>' + '<next-js-internal-body-render-target></next-js-internal-body-render-target>', + 2 ) let prefix = '' diff --git a/packages/next/src/server/response-cache/web.ts b/packages/next/src/server/response-cache/web.ts index bab180e6a8a98..118c4ffa9a899 100644 --- a/packages/next/src/server/response-cache/web.ts +++ b/packages/next/src/server/response-cache/web.ts @@ -1,3 +1,4 @@ +import { DetachedPromise } from '../../lib/detached-promise' import type { ResponseCacheEntry, ResponseGenerator } from './types' /** @@ -45,7 +46,7 @@ export default class WebResponseCache { promise, resolve: resolver, reject: rejecter, - } = Promise.withResolvers<ResponseCacheEntry | null>() + } = new DetachedPromise<ResponseCacheEntry | null>() if (pendingResponseKey) { this.pendingResponses.set(pendingResponseKey, promise) } diff --git a/packages/next/src/server/send-payload/index.ts b/packages/next/src/server/send-payload/index.ts index 07744acdbf607..bc0278cacef85 100644 --- a/packages/next/src/server/send-payload/index.ts +++ b/packages/next/src/server/send-payload/index.ts @@ -1,9 +1,9 @@ import type { IncomingMessage, ServerResponse } from 'http' +import type RenderResult from '../render-result' import { isResSent } from '../../shared/lib/utils' import { generateETag } from '../lib/etag' import fresh from 'next/dist/compiled/fresh' -import type RenderResult from '../render-result' import { setRevalidateHeaders } from './revalidate-headers' import { RSC_CONTENT_TYPE_HEADER } from '../../client/components/app-router-headers' @@ -67,7 +67,7 @@ export async function sendRenderResult({ setRevalidateHeaders(res, options) } - const payload = result.isDynamic ? null : await result.toUnchunkedString() + const payload = result.isDynamic ? null : result.toUnchunkedString() if (payload !== null) { const etag = generateEtags ? generateETag(payload) : undefined @@ -95,9 +95,14 @@ export async function sendRenderResult({ if (req.method === 'HEAD') { res.end(null) - } else if (payload !== null) { + return + } + + if (payload !== null) { res.end(payload) - } else { - await result.pipe(res) + return } + + // Pipe the render result to the response after we get a writer for it. + await result.pipeToNodeResponse(res) } diff --git a/packages/next/src/server/send-response.ts b/packages/next/src/server/send-response.ts index 7015c0be5dadc..256ffb411b371 100644 --- a/packages/next/src/server/send-response.ts +++ b/packages/next/src/server/send-response.ts @@ -1,6 +1,7 @@ import type { BaseNextRequest, BaseNextResponse } from './base-http' import type { NodeNextResponse } from './base-http/node' -import { pipeReadable } from './pipe-readable' + +import { pipeToNodeResponse } from './pipe-readable' import { splitCookiesString } from './web/utils' /** @@ -46,7 +47,13 @@ export async function sendResponse( // A response body must not be sent for HEAD requests. See https://httpwg.org/specs/rfc9110.html#HEAD if (response.body && req.method !== 'HEAD') { - await pipeReadable(response.body, originalResponse, waitUntil) + try { + await pipeToNodeResponse(response.body, originalResponse) + } finally { + if (waitUntil) { + await waitUntil + } + } } else { originalResponse.end() } diff --git a/packages/next/src/server/stream-utils/encode-decode.ts b/packages/next/src/server/stream-utils/encode-decode.ts index 972ada85059b5..a7461a1842202 100644 --- a/packages/next/src/server/stream-utils/encode-decode.ts +++ b/packages/next/src/server/stream-utils/encode-decode.ts @@ -1,10 +1,18 @@ -export function encodeText(input: string) { - return new TextEncoder().encode(input) +export function createDecodeTransformStream(decoder = new TextDecoder()) { + return new TransformStream<Uint8Array, string>({ + transform(chunk, controller) { + return controller.enqueue(decoder.decode(chunk, { stream: true })) + }, + flush(controller) { + return controller.enqueue(decoder.decode()) + }, + }) } -export function decodeText( - input: Uint8Array | undefined, - textDecoder: TextDecoder -) { - return textDecoder.decode(input, { stream: true }) +export function createEncodeTransformStream(encoder = new TextEncoder()) { + return new TransformStream<string, Uint8Array>({ + transform(chunk, controller) { + return controller.enqueue(encoder.encode(chunk)) + }, + }) } diff --git a/packages/next/src/server/stream-utils/node-web-streams-helper.ts b/packages/next/src/server/stream-utils/node-web-streams-helper.ts index 69ff3c251787a..e8407bae17cc7 100644 --- a/packages/next/src/server/stream-utils/node-web-streams-helper.ts +++ b/packages/next/src/server/stream-utils/node-web-streams-helper.ts @@ -1,10 +1,10 @@ import type { FlightRouterState } from '../app-render/types' -import type RenderResult from '../render-result' import { nonNullable } from '../../lib/non-nullable' import { getTracer } from '../lib/trace/tracer' import { AppRenderSpan } from '../lib/trace/constants' -import { decodeText, encodeText } from './encode-decode' +import { createDecodeTransformStream } from './encode-decode' +import { DetachedPromise } from '../../lib/detached-promise' const queueTask = process.env.NEXT_RUNTIME === 'edge' ? globalThis.setTimeout : setImmediate @@ -13,26 +13,6 @@ export type ReactReadableStream = ReadableStream<Uint8Array> & { allReady?: Promise<void> | undefined } -export const streamToBufferedResult = async ( - renderResult: RenderResult -): Promise<string> => { - const textDecoder = new TextDecoder() - let concatenatedString = '' - - const writable = { - write(chunk: any) { - concatenatedString += decodeText(chunk, textDecoder) - }, - end() {}, - - // We do not support stream cancellation - on() {}, - off() {}, - } - await renderResult.pipe(writable) - return concatenatedString -} - export function cloneTransformStream(source: TransformStream) { const sourceReader = source.readable.getReader() const clone = new TransformStream({ @@ -64,13 +44,18 @@ export function chainStreams<T>( ) } + // Catch any errors from the streams and ignore them, they will be handled + // by whatever is consuming the readable stream. + promise.catch(() => {}) + return readable } export function streamFromString(str: string): ReadableStream<Uint8Array> { + const encoder = new TextEncoder() return new ReadableStream({ start(controller) { - controller.enqueue(encodeText(str)) + controller.enqueue(encoder.encode(str)) controller.close() }, }) @@ -79,20 +64,20 @@ export function streamFromString(str: string): ReadableStream<Uint8Array> { export async function streamToString( stream: ReadableStream<Uint8Array> ): Promise<string> { - const reader = stream.getReader() - const textDecoder = new TextDecoder() - - let bufferedString = '' - - while (true) { - const { done, value } = await reader.read() - - if (done) { - return bufferedString - } + let buffer = '' + + await stream + // Decode the streamed chunks to turn them into strings. + .pipeThrough(createDecodeTransformStream()) + .pipeTo( + new WritableStream<string>({ + write(chunk) { + buffer += chunk + }, + }) + ) - bufferedString += decodeText(value, textDecoder) - } + return buffer } export function createBufferedTransformStream(): TransformStream< @@ -134,13 +119,17 @@ export function createBufferedTransformStream(): TransformStream< }) } -export function createInsertedHTMLStream( +function createInsertedHTMLStream( getServerInsertedHTML: () => Promise<string> ): TransformStream<Uint8Array, Uint8Array> { + const encoder = new TextEncoder() return new TransformStream({ - async transform(chunk, controller) { - const insertedHTMLChunk = encodeText(await getServerInsertedHTML()) - controller.enqueue(insertedHTMLChunk) + transform: async (chunk, controller) => { + const html = await getServerInsertedHTML() + if (html) { + controller.enqueue(encoder.encode(html)) + } + controller.enqueue(chunk) }, }) @@ -165,7 +154,9 @@ function createHeadInsertionTransformStream( ): TransformStream<Uint8Array, Uint8Array> { let inserted = false let freezing = false - const textDecoder = new TextDecoder() + + const encoder = new TextEncoder() + const decoder = new TextDecoder() return new TransformStream({ async transform(chunk, controller) { @@ -177,16 +168,16 @@ function createHeadInsertionTransformStream( const insertion = await insert() if (inserted) { - controller.enqueue(encodeText(insertion)) + controller.enqueue(encoder.encode(insertion)) controller.enqueue(chunk) freezing = true } else { - const content = decodeText(chunk, textDecoder) + const content = decoder.decode(chunk) const index = content.indexOf('</head>') if (index !== -1) { const insertedHeadContent = content.slice(0, index) + insertion + content.slice(index) - controller.enqueue(encodeText(insertedHeadContent)) + controller.enqueue(encoder.encode(insertedHeadContent)) freezing = true inserted = true } @@ -204,7 +195,7 @@ function createHeadInsertionTransformStream( // Check before closing if there's anything remaining to insert. const insertion = await insert() if (insertion) { - controller.enqueue(encodeText(insertion)) + controller.enqueue(encoder.encode(insertion)) } }, }) @@ -217,18 +208,19 @@ function createDeferredSuffixStream( ): TransformStream<Uint8Array, Uint8Array> { let suffixFlushed = false let suffixFlushTask: Promise<void> | null = null + const encoder = new TextEncoder() return new TransformStream({ transform(chunk, controller) { controller.enqueue(chunk) - if (!suffixFlushed && suffix.length) { + if (!suffixFlushed) { suffixFlushed = true suffixFlushTask = new Promise((res) => { // NOTE: streaming flush // Enqueue suffix part before the major chunks are enqueued so that // suffix won't be flushed too early to interrupt the data stream queueTask(() => { - controller.enqueue(encodeText(suffix)) + controller.enqueue(encoder.encode(suffix)) res() }) }) @@ -236,9 +228,9 @@ function createDeferredSuffixStream( }, flush(controller) { if (suffixFlushTask) return suffixFlushTask - if (!suffixFlushed && suffix.length) { + if (!suffixFlushed) { suffixFlushed = true - controller.enqueue(encodeText(suffix)) + controller.enqueue(encoder.encode(suffix)) } }, }) @@ -249,7 +241,8 @@ function createDeferredSuffixStream( function createMergedTransformStream( dataStream: ReadableStream<Uint8Array> ): TransformStream<Uint8Array, Uint8Array> { - let dataStreamFinished: Promise<void> | null = null + let dataStreamFinished: DetachedPromise<void> | null = null + return new TransformStream({ transform(chunk, controller) { controller.enqueue(chunk) @@ -263,33 +256,33 @@ function createMergedTransformStream( // implementation, e.g. with a specific high-water mark. To ensure it's // the safe timing to pipe the data stream, this extra tick is // necessary. - dataStreamFinished = new Promise((res) => - // We use `setTimeout` here to ensure that it's inserted after flushing - // the shell. Note that this implementation might get stale if impl - // details of Fizz change in the future. - // Also we are not using `setImmediate` here because it's not available - // broadly in all runtimes, for example some edge workers might not - // have it. - setTimeout(async () => { - try { - while (true) { - const { done, value } = await dataStreamReader.read() - if (done) { - return res() - } - controller.enqueue(value) - } - } catch (err) { - controller.error(err) + const promise = new DetachedPromise<void>() + dataStreamFinished = promise + + // We use `setTimeout` here to ensure that it's inserted after flushing + // the shell. Note that this implementation might get stale if impl + // details of Fizz change in the future. + queueTask(async () => { + try { + while (true) { + const { done, value } = await dataStreamReader.read() + if (done) return promise.resolve() + + controller.enqueue(value) } - res() - }, 0) - ) + } catch (err) { + controller.error(err) + } + + promise.resolve() + }) } }, flush() { + // If the data stream promise is defined, then return it as its completion + // will be the completion of the stream. if (dataStreamFinished) { - return dataStreamFinished + return dataStreamFinished.promise } }, }) @@ -304,28 +297,48 @@ function createMoveSuffixStream( suffix: string ): TransformStream<Uint8Array, Uint8Array> { let foundSuffix = false - const textDecoder = new TextDecoder() - // Remove suffix from the stream, and enqueue it back in flush + const encoder = new TextEncoder() + const decoder = new TextDecoder() + return new TransformStream({ transform(chunk, controller) { - if (!suffix || foundSuffix) { + if (foundSuffix) { return controller.enqueue(chunk) } - const content = decodeText(chunk, textDecoder) - if (content.endsWith(suffix)) { + const buf = decoder.decode(chunk) + const index = buf.indexOf(suffix) + if (index > -1) { foundSuffix = true - const contentWithoutSuffix = content.slice(0, -suffix.length) - controller.enqueue(encodeText(contentWithoutSuffix)) + + // If the whole chunk is the suffix, then don't write anything, it will + // be written in the flush. + if (buf.length === suffix.length) { + return + } + + // Write out the part before the suffix. + const before = buf.slice(0, index) + chunk = encoder.encode(before) + controller.enqueue(chunk) + + // In the case where the suffix is in the middle of the chunk, we need + // to split the chunk into two parts. + if (buf.length > suffix.length + index) { + // Write out the part after the suffix. + const after = buf.slice(index + suffix.length) + chunk = encoder.encode(after) + controller.enqueue(chunk) + } } else { controller.enqueue(chunk) } }, flush(controller) { - if (suffix) { - controller.enqueue(encodeText(suffix)) - } + // Even if we didn't find the suffix, the HTML is not valid if we don't + // add it, so insert it at the end. + controller.enqueue(encoder.encode(suffix)) }, }) } @@ -336,12 +349,16 @@ export function createRootLayoutValidatorStream( ): TransformStream<Uint8Array, Uint8Array> { let foundHtml = false let foundBody = false - const textDecoder = new TextDecoder() + const encoder = new TextEncoder() + const decoder = new TextDecoder() + + let content = '' return new TransformStream({ async transform(chunk, controller) { + // Peek into the streamed chunk to see if the tags are present. if (!foundHtml || !foundBody) { - const content = decodeText(chunk, textDecoder) + content += decoder.decode(chunk, { stream: true }) if (!foundHtml && content.includes('<html')) { foundHtml = true } @@ -352,16 +369,26 @@ export function createRootLayoutValidatorStream( controller.enqueue(chunk) }, flush(controller) { + // Flush the decoder. + if (!foundHtml || !foundBody) { + content += decoder.decode() + if (!foundHtml && content.includes('<html')) { + foundHtml = true + } + if (!foundBody && content.includes('<body')) { + foundBody = true + } + } + // If html or body tag is missing, we need to inject a script to notify // the client. - if (!foundHtml || !foundBody) { - const missingTags = [ - foundHtml ? null : 'html', - foundBody ? null : 'body', - ].filter(nonNullable) + const missingTags: string[] = [] + if (!foundHtml) missingTags.push('html') + if (!foundBody) missingTags.push('body') + if (missingTags.length > 0) { controller.enqueue( - encodeText( + encoder.encode( `<script>self.__next_root_layout_missing_tags_error=${JSON.stringify( { missingTags, assetPrefix: assetPrefix ?? '', tree: getTree() } )}</script>` @@ -397,7 +424,7 @@ export async function continueFizzStream( const closeTag = '</body></html>' // Suffix itself might contain close tags at the end, so we need to split it. - const suffixUnclosed = suffix ? suffix.split(closeTag)[0] : null + const suffixUnclosed = suffix ? suffix.split(closeTag, 1)[0] : null if (generateStaticHTML) { await renderStream.allReady @@ -413,13 +440,15 @@ export async function continueFizzStream( : null, // Insert suffix content - suffixUnclosed != null ? createDeferredSuffixStream(suffixUnclosed) : null, + suffixUnclosed != null && suffixUnclosed.length > 0 + ? createDeferredSuffixStream(suffixUnclosed) + : null, // Insert the inlined data (Flight data, form state, etc.) stream into the HTML inlinedDataStream ? createMergedTransformStream(inlinedDataStream) : null, // Close tags should always be deferred to the end - createMoveSuffixStream(closeTag), + closeTag && createMoveSuffixStream(closeTag), // Special head insertions // TODO-APP: Insert server side html to end of head in app layout rendering, to avoid diff --git a/packages/next/src/server/typescript/index.ts b/packages/next/src/server/typescript/index.ts index 09f31f7ec825e..ea3c61e1ace76 100644 --- a/packages/next/src/server/typescript/index.ts +++ b/packages/next/src/server/typescript/index.ts @@ -163,8 +163,8 @@ export const createTSPlugin: tsModule.server.PluginModuleFactory = ({ if (metadataInfo) return metadataInfo } - const overriden = entryConfig.getQuickInfoAtPosition(fileName, position) - if (overriden) return overriden + const overridden = entryConfig.getQuickInfoAtPosition(fileName, position) + if (overridden) return overridden return prior } diff --git a/packages/next/src/server/typescript/rules/config.ts b/packages/next/src/server/typescript/rules/config.ts index f823ce4bc8915..487c4ef21f0eb 100644 --- a/packages/next/src/server/typescript/rules/config.ts +++ b/packages/next/src/server/typescript/rules/config.ts @@ -249,7 +249,7 @@ const config = { getQuickInfoAtPosition(fileName: string, position: number) { const ts = getTs() - let overriden: tsModule.QuickInfo | undefined + let overridden: tsModule.QuickInfo | undefined visitEntryConfig(fileName, position, (entryConfig, declaration) => { if (!API_DOCS[entryConfig]) return @@ -274,7 +274,7 @@ const config = { : !!API_DOCS[entryConfig].options?.[key] if (isValid) { - overriden = { + overridden = { kind: ts.ScriptElementKind.enumElement, kindModifiers: ts.ScriptElementKindModifier.none, textSpan: { @@ -295,7 +295,7 @@ const config = { } } else { // Wrong value, display the docs link - overriden = { + overridden = { kind: ts.ScriptElementKind.enumElement, kindModifiers: ts.ScriptElementKindModifier.none, textSpan: { @@ -308,7 +308,7 @@ const config = { } } else { // Hovers the name of the config - overriden = { + overridden = { kind: ts.ScriptElementKind.enumElement, kindModifiers: ts.ScriptElementKindModifier.none, textSpan: { @@ -326,7 +326,7 @@ const config = { } } }) - return overriden + return overridden }, // Show details on the side when auto completing. diff --git a/packages/next/src/server/web-server.ts b/packages/next/src/server/web-server.ts index 6ba5e5b2108c7..18bc70ae26942 100644 --- a/packages/next/src/server/web-server.ts +++ b/packages/next/src/server/web-server.ts @@ -256,31 +256,11 @@ export default class NextWebServer extends BaseServer<WebServerOptions> { ) } + let promise: Promise<void> | undefined if (options.result.isDynamic) { - const writer = res.transformStream.writable.getWriter() - - let innerClose: undefined | (() => void) - const target = { - write: (chunk: Uint8Array) => writer.write(chunk), - end: () => writer.close(), - - on(_event: 'close', cb: () => void) { - innerClose = cb - }, - off(_event: 'close', _cb: () => void) { - innerClose = undefined - }, - } - const onClose = () => { - innerClose?.() - } - // No, this cannot be replaced with `finally`, because early cancelling - // the stream will create a rejected promise, and finally will create an - // unhandled rejection. - writer.closed.then(onClose, onClose) - options.result.pipe(target) + promise = options.result.pipeTo(res.transformStream.writable) } else { - const payload = await options.result.toUnchunkedString() + const payload = options.result.toUnchunkedString() res.setHeader('Content-Length', String(byteLength(payload))) if (options.generateEtags) { res.setHeader('ETag', generateETag(payload)) @@ -289,6 +269,9 @@ export default class NextWebServer extends BaseServer<WebServerOptions> { } res.send() + + // If we have a promise, wait for it to resolve. + if (promise) await promise } protected async findPageComponents({ diff --git a/packages/next/src/server/web/exports/unstable-no-store.ts b/packages/next/src/server/web/exports/unstable-no-store.ts new file mode 100644 index 0000000000000..14f55fa722c26 --- /dev/null +++ b/packages/next/src/server/web/exports/unstable-no-store.ts @@ -0,0 +1,2 @@ +// This file is for modularized imports for next/server to get fully-treeshaking. +export { unstable_noStore as default } from '../spec-extension/unstable-no-store' diff --git a/packages/next/src/server/web/spec-extension/adapters/headers.test.ts b/packages/next/src/server/web/spec-extension/adapters/headers.test.ts index 0ebddea2c7ff6..f8a825f1fb2e8 100644 --- a/packages/next/src/server/web/spec-extension/adapters/headers.test.ts +++ b/packages/next/src/server/web/spec-extension/adapters/headers.test.ts @@ -1,8 +1,5 @@ import type { IncomingHttpHeaders } from 'http' -// We use `Headers` here which is provided by the polyfill. -import '../../../node-polyfill-fetch' - import { HeadersAdapter, ReadonlyHeadersError } from './headers' describe('HeadersAdapter', () => { diff --git a/packages/next/src/server/web/spec-extension/adapters/next-request.ts b/packages/next/src/server/web/spec-extension/adapters/next-request.ts index dc0b708c2627e..c74a312c4a11a 100644 --- a/packages/next/src/server/web/spec-extension/adapters/next-request.ts +++ b/packages/next/src/server/web/spec-extension/adapters/next-request.ts @@ -7,6 +7,33 @@ import { getRequestMeta } from '../../../request-meta' import { fromNodeOutgoingHttpHeaders } from '../../utils' import { NextRequest } from '../request' +export const ResponseAbortedName = 'ResponseAborted' +export class ResponseAborted extends Error { + public readonly name = ResponseAbortedName +} + +/** + * Creates an AbortController tied to the closing of a ServerResponse (or other + * appropriate Writable). + * + * If the `close` event is fired before the `finish` event, then we'll send the + * `abort` signal. + */ +export function createAbortController(response: Writable): AbortController { + const controller = new AbortController() + + // If `finish` fires first, then `res.end()` has been called and the close is + // just us finishing the stream on our side. If `close` fires first, then we + // know the client disconnected before we finished. + response.once('close', () => { + if (response.writableFinished) return + + controller.abort(new ResponseAborted()) + }) + + return controller +} + /** * Creates an AbortSignal tied to the closing of a ServerResponse (or other * appropriate Writable). @@ -15,26 +42,14 @@ import { NextRequest } from '../request' * the `abort` event will not fire if to data has been fully read (because that * will "close" the readable stream and nothing fires after that). */ -export function signalFromNodeResponse(response: Writable) { +export function signalFromNodeResponse(response: Writable): AbortSignal { const { errored, destroyed } = response - if (errored || destroyed) return AbortSignal.abort(errored) - - const controller = new AbortController() - // If `finish` fires first, then `res.end()` has been called and the close is - // just us finishing the stream on our side. If `close` fires first, then we - // know the client disconnected before we finished. - function onClose() { - controller.abort() - // eslint-disable-next-line @typescript-eslint/no-use-before-define - response.off('finish', onFinish) - } - function onFinish() { - response.off('close', onClose) + if (errored || destroyed) { + return AbortSignal.abort(errored ?? new ResponseAborted()) } - response.once('close', onClose) - response.once('finish', onFinish) - return controller.signal + const { signal } = createAbortController(response) + return signal } export class NextRequestAdapter { diff --git a/packages/next/src/server/web/spec-extension/adapters/request-cookies.test.ts b/packages/next/src/server/web/spec-extension/adapters/request-cookies.test.ts index e3cbcaeef8322..481a20eb006a5 100644 --- a/packages/next/src/server/web/spec-extension/adapters/request-cookies.test.ts +++ b/packages/next/src/server/web/spec-extension/adapters/request-cookies.test.ts @@ -1,6 +1,3 @@ -// We use `Headers` here which is provided by the polyfill. -import '../../../node-polyfill-fetch' - import { RequestCookies } from '../cookies' import { ReadonlyRequestCookiesError, diff --git a/packages/next/src/server/web/spec-extension/image-response.ts b/packages/next/src/server/web/spec-extension/image-response.ts index bedf93ad0400d..b577b5f7a8e98 100644 --- a/packages/next/src/server/web/spec-extension/image-response.ts +++ b/packages/next/src/server/web/spec-extension/image-response.ts @@ -1,52 +1,5 @@ -export class ImageResponse extends Response { - public static displayName = 'NextImageResponse' - constructor( - ...args: ConstructorParameters< - typeof import('next/dist/compiled/@vercel/og').ImageResponse - > - ) { - const readable = new ReadableStream({ - async start(controller) { - const OGImageResponse: typeof import('next/dist/compiled/@vercel/og').ImageResponse = - // So far we have to manually determine which build to use, - // as the auto resolving is not working - ( - await import( - process.env.NEXT_RUNTIME === 'edge' - ? 'next/dist/compiled/@vercel/og/index.edge.js' - : 'next/dist/compiled/@vercel/og/index.node.js' - ) - ).ImageResponse - const imageResponse = new OGImageResponse(...args) as Response - - if (!imageResponse.body) { - return controller.close() - } - - const reader = imageResponse.body!.getReader() - while (true) { - const { done, value } = await reader.read() - if (done) { - return controller.close() - } - controller.enqueue(value) - } - }, - }) - - const options = args[1] || {} - - super(readable, { - headers: { - 'content-type': 'image/png', - 'cache-control': - process.env.NODE_ENV === 'development' - ? 'no-cache, no-store' - : 'public, immutable, no-transform, max-age=31536000', - ...options.headers, - }, - status: options.status, - statusText: options.statusText, - }) - } +export function ImageResponse() { + throw new Error( + 'ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead' + ) } diff --git a/packages/next/src/server/web/spec-extension/unstable-cache.ts b/packages/next/src/server/web/spec-extension/unstable-cache.ts index 27d2e5c8f6dcb..d7d70788ea7bf 100644 --- a/packages/next/src/server/web/spec-extension/unstable-cache.ts +++ b/packages/next/src/server/web/spec-extension/unstable-cache.ts @@ -54,6 +54,7 @@ export function unstable_cache<T extends Callback>( fetchCache: 'only-no-store', urlPathname: store?.urlPathname || '/', isStaticGeneration: !!store?.isStaticGeneration, + isUnstableCacheCallback: true, }, async () => { const tags = validateTags( diff --git a/packages/next/src/server/web/spec-extension/unstable-no-store.ts b/packages/next/src/server/web/spec-extension/unstable-no-store.ts new file mode 100644 index 0000000000000..c7271aa9ed507 --- /dev/null +++ b/packages/next/src/server/web/spec-extension/unstable-no-store.ts @@ -0,0 +1,16 @@ +import { staticGenerationAsyncStorage } from '../../../client/components/static-generation-async-storage.external' +import { staticGenerationBailout } from '../../../client/components/static-generation-bailout' + +export function unstable_noStore() { + const staticGenerationStore = staticGenerationAsyncStorage.getStore() + + if (staticGenerationStore?.isUnstableCacheCallback) { + // if called within a next/cache call, we want to cache the result + // and defer to the next/cache call to handle how to cache the result. + return + } + + staticGenerationBailout('unstable_noStore', { + link: 'https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering', + }) +} diff --git a/packages/next/src/server/web/utils.test.ts b/packages/next/src/server/web/utils.test.ts index 4052bd30d4d6a..bd849f6031a7b 100644 --- a/packages/next/src/server/web/utils.test.ts +++ b/packages/next/src/server/web/utils.test.ts @@ -1,8 +1,5 @@ import { toNodeOutgoingHttpHeaders } from './utils' -// We use `Headers` here which is provided by the polyfill. -import '../node-polyfill-fetch' - describe('toNodeHeaders', () => { it('should handle multiple set-cookie headers correctly', () => { const headers = new Headers() diff --git a/packages/next/src/shared/lib/base64-arraybuffer.ts b/packages/next/src/shared/lib/base64-arraybuffer.ts deleted file mode 100644 index d25cbd4754568..0000000000000 --- a/packages/next/src/shared/lib/base64-arraybuffer.ts +++ /dev/null @@ -1,65 +0,0 @@ -// original source: https://github.com/niklasvh/base64-arraybuffer/blob/master/src/index.ts - -const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' - -// Use a lookup table to find the index. -const lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256) -for (let i = 0; i < chars.length; i++) { - lookup[chars.charCodeAt(i)] = i -} - -export const encode = (arraybuffer: ArrayBuffer): string => { - let bytes = new Uint8Array(arraybuffer), - i, - len = bytes.length, - base64 = '' - - for (i = 0; i < len; i += 3) { - base64 += chars[bytes[i] >> 2] - base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)] - base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)] - base64 += chars[bytes[i + 2] & 63] - } - - if (len % 3 === 2) { - base64 = base64.substring(0, base64.length - 1) + '=' - } else if (len % 3 === 1) { - base64 = base64.substring(0, base64.length - 2) + '==' - } - - return base64 -} - -export const decode = (base64: string): ArrayBuffer => { - let bufferLength = base64.length * 0.75, - len = base64.length, - i, - p = 0, - encoded1, - encoded2, - encoded3, - encoded4 - - if (base64[base64.length - 1] === '=') { - bufferLength-- - if (base64[base64.length - 2] === '=') { - bufferLength-- - } - } - - const arraybuffer = new ArrayBuffer(bufferLength), - bytes = new Uint8Array(arraybuffer) - - for (i = 0; i < len; i += 4) { - encoded1 = lookup[base64.charCodeAt(i)] - encoded2 = lookup[base64.charCodeAt(i + 1)] - encoded3 = lookup[base64.charCodeAt(i + 2)] - encoded4 = lookup[base64.charCodeAt(i + 3)] - - bytes[p++] = (encoded1 << 2) | (encoded2 >> 4) - bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2) - bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63) - } - - return arraybuffer -} diff --git a/packages/next/src/shared/lib/get-hostname.ts b/packages/next/src/shared/lib/get-hostname.ts index 52785c8d0489e..e9beb51065e00 100644 --- a/packages/next/src/shared/lib/get-hostname.ts +++ b/packages/next/src/shared/lib/get-hostname.ts @@ -14,7 +14,7 @@ export function getHostname( // hostname. let hostname: string if (headers?.host && !Array.isArray(headers.host)) { - hostname = headers.host.toString().split(':')[0] + hostname = headers.host.toString().split(':', 1)[0] } else if (parsed.hostname) { hostname = parsed.hostname } else return diff --git a/packages/next/src/shared/lib/get-img-props.ts b/packages/next/src/shared/lib/get-img-props.ts index def521b0b1f7f..a4d38baa085e0 100644 --- a/packages/next/src/shared/lib/get-img-props.ts +++ b/packages/next/src/shared/lib/get-img-props.ts @@ -38,6 +38,10 @@ export type ImageProps = Omit< placeholder?: PlaceholderValue blurDataURL?: string unoptimized?: boolean + /** + * @deprecated Use `onLoad` instead. + * @see https://nextjs.org/docs/app/api-reference/components/image#onload + */ onLoadingComplete?: OnLoadingComplete /** * @deprecated Use `fill` prop instead of `layout="fill"` or change import to `next/legacy/image`. @@ -500,7 +504,7 @@ export function getImgProps( } if ('ref' in rest) { warnOnce( - `Image with src "${src}" is using unsupported "ref" property. Consider using the "onLoadingComplete" property instead.` + `Image with src "${src}" is using unsupported "ref" property. Consider using the "onLoad" property instead.` ) } @@ -523,6 +527,12 @@ export function getImgProps( } } + if (onLoadingComplete) { + warnOnce( + `Image with src "${src}" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.` + ) + } + for (const [legacyKey, legacyValue] of Object.entries({ layout, objectFit, diff --git a/packages/next/src/shared/lib/i18n/detect-domain-locale.ts b/packages/next/src/shared/lib/i18n/detect-domain-locale.ts index 069e632f480aa..a7ce3e07a0cd5 100644 --- a/packages/next/src/shared/lib/i18n/detect-domain-locale.ts +++ b/packages/next/src/shared/lib/i18n/detect-domain-locale.ts @@ -13,7 +13,7 @@ export function detectDomainLocale( for (const item of domainItems) { // remove port if present - const domainHostname = item.domain?.split(':')[0].toLowerCase() + const domainHostname = item.domain?.split(':', 1)[0].toLowerCase() if ( hostname === domainHostname || detectedLocale === item.defaultLocale.toLowerCase() || diff --git a/packages/next/src/shared/lib/image-config.ts b/packages/next/src/shared/lib/image-config.ts index 788cf65525fe2..c0271144425cf 100644 --- a/packages/next/src/shared/lib/image-config.ts +++ b/packages/next/src/shared/lib/image-config.ts @@ -69,7 +69,7 @@ export type ImageConfigComplete = { loaderFile: string /** - * @see [Image domains configuration](https://nextjs.org/docs/api-reference/next/image#domains) + * @deprecated Use `remotePatterns` instead. */ domains: string[] diff --git a/packages/next/src/shared/lib/router/router.ts b/packages/next/src/shared/lib/router/router.ts index c9e56e1d66b28..a35c86eb9a775 100644 --- a/packages/next/src/shared/lib/router/router.ts +++ b/packages/next/src/shared/lib/router/router.ts @@ -2219,8 +2219,8 @@ export default class Router implements BaseRouter { onlyAHashChange(as: string): boolean { if (!this.asPath) return false - const [oldUrlNoHash, oldHash] = this.asPath.split('#') - const [newUrlNoHash, newHash] = as.split('#') + const [oldUrlNoHash, oldHash] = this.asPath.split('#', 2) + const [newUrlNoHash, newHash] = as.split('#', 2) // Makes sure we scroll to the provided hash if the url/hash are the same if (newHash && oldUrlNoHash === newUrlNoHash && oldHash === newHash) { @@ -2240,7 +2240,7 @@ export default class Router implements BaseRouter { } scrollToHash(as: string): void { - const [, hash = ''] = as.split('#') + const [, hash = ''] = as.split('#', 2) handleSmoothScroll( () => { diff --git a/packages/next/src/shared/lib/router/utils/prepare-destination.ts b/packages/next/src/shared/lib/router/utils/prepare-destination.ts index 2472388934da8..eb5df592c1031 100644 --- a/packages/next/src/shared/lib/router/utils/prepare-destination.ts +++ b/packages/next/src/shared/lib/router/utils/prepare-destination.ts @@ -81,7 +81,7 @@ export function matchHas( case 'host': { const { host } = req?.headers || {} // remove port from host if present - const hostname = host?.split(':')[0].toLowerCase() + const hostname = host?.split(':', 1)[0].toLowerCase() value = hostname break } @@ -257,7 +257,7 @@ export function prepareDestination(args: { try { newUrl = destPathCompiler(args.params) - const [pathname, hash] = newUrl.split('#') + const [pathname, hash] = newUrl.split('#', 2) parsedDestination.hostname = destHostnameCompiler(args.params) parsedDestination.pathname = pathname parsedDestination.hash = `${hash ? '#' : ''}${hash || ''}` diff --git a/packages/next/src/telemetry/post-payload.ts b/packages/next/src/telemetry/post-payload.ts index 430b481a87644..a3052c668ee5a 100644 --- a/packages/next/src/telemetry/post-payload.ts +++ b/packages/next/src/telemetry/post-payload.ts @@ -1,7 +1,4 @@ import retry from 'next/dist/compiled/async-retry' -const { fetch } = require('next/dist/compiled/undici') as { - fetch: typeof global.fetch -} export function _postPayload(endpoint: string, body: object, signal?: any) { if (!signal && 'timeout' in AbortSignal) { diff --git a/packages/next/taskfile-swc.js b/packages/next/taskfile-swc.js index 4ab014e3e89ed..3e5a80fcfb909 100644 --- a/packages/next/taskfile-swc.js +++ b/packages/next/taskfile-swc.js @@ -88,7 +88,7 @@ module.exports = function (task) { jsc: { loose: true, // Do not enable external helpers on server-side files build - // _is_native_funtion helper is not compatible with edge runtime (need investigate) + // _is_native_function helper is not compatible with edge runtime (need investigate) externalHelpers: false, parser: { syntax: 'typescript', diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js index ba2614d058559..2cfe1549130a5 100644 --- a/packages/next/taskfile.js +++ b/packages/next/taskfile.js @@ -76,8 +76,6 @@ const externals = { 'next/dist/build/webpack/plugins/terser-webpack-plugin', // TODO: Add @swc/helpers to externals once @vercel/ncc switch to swc-loader - - undici: 'undici', } // eslint-disable-next-line camelcase externals['node-html-parser'] = 'next/dist/compiled/node-html-parser' @@ -228,6 +226,7 @@ export async function copy_vercel_og(task, opts) { join(__dirname, 'src/compiled/@vercel/og/package.json'), { name: '@vercel/og', + version: require('@vercel/og/package.json').version, LICENSE: 'MLP-2.0', type: 'module', main: './index.node.js', @@ -238,6 +237,7 @@ export async function copy_vercel_og(task, opts) { node: './index.node.js', default: './index.node.js', }, + './package.json': './package.json', }, }, { spaces: 2 } @@ -319,22 +319,6 @@ export async function ncc_node_platform(task, opts) { ) } -externals['undici'] = 'next/dist/compiled/undici' -export async function ncc_undici(task, opts) { - await task - .source(relative(__dirname, require.resolve('undici'))) - .ncc({ packageName: 'undici', externals }) - .target('src/compiled/undici') - - const outputFile = join('src/compiled/undici/index.js') - await fs.writeFile( - outputFile, - ( - await fs.readFile(outputFile, 'utf8') - ).replace(/process\.emitWarning/g, 'void') - ) -} - // eslint-disable-next-line camelcase externals['acorn'] = 'next/dist/compiled/acorn' export async function ncc_acorn(task, opts) { @@ -510,6 +494,21 @@ export async function ncc_next__react_dev_overlay(task, opts) { }) .target('dist/compiled/@next/react-dev-overlay/dist') + await task + .source( + relative( + __dirname, + require.resolve('@next/react-dev-overlay/dist/middleware-turbopack') + ) + ) + .ncc({ + precompiled: false, + packageName: '@next/react-dev-overlay', + externals: overlayExternals, + target: 'es5', + }) + .target('dist/compiled/@next/react-dev-overlay/dist') + await task .source( relative( @@ -2237,7 +2236,6 @@ export async function ncc(task, opts) { 'ncc_node_cssescape', 'ncc_node_platform', 'ncc_node_shell_quote', - 'ncc_undici', 'ncc_acorn', 'ncc_amphtml_validator', 'ncc_arg', diff --git a/packages/next/types/index.d.ts b/packages/next/types/index.d.ts index c1f2196f8d0d6..41e7bc1a580af 100644 --- a/packages/next/types/index.d.ts +++ b/packages/next/types/index.d.ts @@ -318,21 +318,6 @@ declare global { randomUUID(): string } - // TODO: remove this polyfill when it is adopted into the spec. - interface PromiseConstructor { - /** - * Creates a new promise with exposed resolvers to resolve/reject. This will - * be adopted into the spec as `Promise.withResolvers`. - * - * @see https://tc39.es/proposal-promise-with-resolvers/ - */ - withResolvers<T>(): { - promise: Promise<T> - resolve: (value: T | PromiseLike<T>) => void - reject: (reason?: unknown) => void - } - } - var __NEXT_HTTP_AGENT_OPTIONS: { keepAlive?: boolean } | undefined var __NEXT_UNDICI_AGENT_SET: boolean var __NEXT_HTTP_AGENT: HttpAgent diff --git a/packages/next/types/misc.d.ts b/packages/next/types/misc.d.ts index e2bf73cc271b0..ae1932e7962a2 100644 --- a/packages/next/types/misc.d.ts +++ b/packages/next/types/misc.d.ts @@ -48,6 +48,10 @@ declare module 'next/dist/compiled/@next/react-dev-overlay/dist/middleware' { export * from '@next/react-dev-overlay/dist/middleware' } +declare module 'next/dist/compiled/@next/react-dev-overlay/dist/middleware-turbopack' { + export * from '@next/react-dev-overlay/dist/middleware-turbopack' +} + declare module 'next/dist/compiled/@next/react-refresh-utils/dist/ReactRefreshWebpackPlugin' { import m from '@next/react-refresh-utils/ReactRefreshWebpackPlugin' export = m @@ -67,8 +71,6 @@ declare module 'next/dist/compiled/@mswjs/interceptors/ClientRequest' { export * from '@mswjs/interceptors/ClientRequest' } -declare module 'next/dist/compiled/undici' {} - declare module 'next/dist/compiled/jest-worker' { export * from 'jest-worker' } diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index 0fac3b45960d6..16ec8cf820bc8 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "13.5.5", + "version": "13.5.7-canary.12", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", @@ -18,8 +18,8 @@ "typescript": "tsec --noEmit -p tsconfig.json" }, "dependencies": { - "@babel/code-frame": "7.12.11", - "@types/babel__code-frame": "7.0.2", + "@babel/code-frame": "7.22.5", + "@types/babel__code-frame": "7.0.3", "anser": "1.4.9", "chalk": "4.0.0", "css.escape": "1.5.1", diff --git a/packages/react-dev-overlay/src/internal/components/ShadowPortal.tsx b/packages/react-dev-overlay/src/internal/components/ShadowPortal.tsx index 1ee36a26ef9ba..cc47a7a70b988 100644 --- a/packages/react-dev-overlay/src/internal/components/ShadowPortal.tsx +++ b/packages/react-dev-overlay/src/internal/components/ShadowPortal.tsx @@ -6,10 +6,10 @@ export type ShadowPortalProps = { globalOverlay?: boolean } -export const ShadowPortal: React.FC<ShadowPortalProps> = function Portal({ +export const ShadowPortal = function Portal({ children, globalOverlay, -}) { +}: ShadowPortalProps) { let mountNode = React.useRef<HTMLDivElement | null>(null) let portalNode = React.useRef<HTMLElement | null>(null) let shadowNode = React.useRef<ShadowRoot | null>(null) diff --git a/packages/react-dev-overlay/src/middleware-turbopack.ts b/packages/react-dev-overlay/src/middleware-turbopack.ts new file mode 100644 index 0000000000000..0d9504d8b7cf5 --- /dev/null +++ b/packages/react-dev-overlay/src/middleware-turbopack.ts @@ -0,0 +1,174 @@ +import type { IncomingMessage, ServerResponse } from 'http' +import type { StackFrame } from 'stacktrace-parser' +import type { ParsedUrlQuery } from 'querystring' +import type { OriginalStackFrameResponse } from './middleware' + +import fs, { constants as FS } from 'fs/promises' +import url from 'url' +import { codeFrameColumns } from '@babel/code-frame' +import { launchEditor } from './internal/helpers/launchEditor' + +interface Project { + getSourceForAsset(filePath: string): Promise<string | null> + traceSource(stackFrame: RustStackFrame): Promise<RustStackFrame | null> +} + +interface RustStackFrame { + file: string + methodName: string | null + line: number + column: number | null +} + +const currentSourcesByFile: Map<string, Promise<string | null>> = new Map() +async function batchedTraceSource(project: Project, frame: StackFrame) { + const file = frame.file + if (!file) { + return + } + + const sourceFrame = await project.traceSource({ + file, + methodName: frame.methodName, + line: frame.lineNumber ?? 0, + column: frame.column, + }) + + if (!sourceFrame) { + return + } + + let source + // Don't show code frames for node_modules. These can also often be large bundled files. + if (!sourceFrame.file.includes('node_modules')) { + let sourcePromise = currentSourcesByFile.get(sourceFrame.file) + if (!sourcePromise) { + sourcePromise = project.getSourceForAsset(sourceFrame.file) + currentSourcesByFile.set(sourceFrame.file, sourcePromise) + setTimeout(() => { + // Cache file reads for 100ms, as frames will often reference the same + // files and can be large. + currentSourcesByFile.delete(sourceFrame.file) + }, 100) + } + + source = await sourcePromise + } + + return { + frame: { + file: sourceFrame.file, + lineNumber: sourceFrame.line, + column: sourceFrame.column, + methodName: sourceFrame.methodName ?? frame.methodName, + arguments: [], + }, + source: source ?? null, + } +} + +export async function createOriginalStackFrame( + project: Project, + frame: StackFrame +): Promise<OriginalStackFrameResponse | null> { + const traced = await batchedTraceSource(project, frame) + if (!traced) { + return null + } + + return { + originalStackFrame: traced.frame, + originalCodeFrame: + traced.source === null || traced.frame.file.includes('node_modules') + ? null + : codeFrameColumns( + traced.source, + { + start: { + line: traced.frame.lineNumber, + column: traced.frame.column ?? 0, + }, + }, + { forceColor: true } + ), + } +} + +function stackFrameFromQuery(query: ParsedUrlQuery): StackFrame { + return { + file: query.file as string, + methodName: query.methodName as string, + arguments: query.arguments as string[], + lineNumber: + typeof query.lineNumber === 'string' + ? parseInt(query.lineNumber, 10) + : null, + column: + typeof query.column === 'string' ? parseInt(query.column, 10) : null, + } +} + +export function getOverlayMiddleware(project: Project) { + return async function (req: IncomingMessage, res: ServerResponse) { + const { pathname, query } = url.parse(req.url!, true) + if (pathname === '/__nextjs_original-stack-frame') { + const frame = stackFrameFromQuery(query) + let originalStackFrame + try { + originalStackFrame = await createOriginalStackFrame(project, frame) + } catch (e: any) { + res.statusCode = 500 + res.write(e.message) + res.end() + return + } + + if (originalStackFrame === null) { + res.statusCode = 404 + res.write('Unable to resolve sourcemap') + res.end() + return + } + + res.statusCode = 200 + res.setHeader('Content-Type', 'application/json') + res.write(Buffer.from(JSON.stringify(originalStackFrame))) + res.end() + return + } else if (pathname === '/__nextjs_launch-editor') { + const frame = stackFrameFromQuery(query) + + const filePath = frame.file?.toString() + if (filePath === undefined) { + res.statusCode = 400 + res.write('Bad Request') + res.end() + return + } + + const fileExists = await fs.access(filePath, FS.F_OK).then( + () => true, + () => false + ) + if (!fileExists) { + res.statusCode = 204 + res.write('No Content') + res.end() + return + } + + try { + launchEditor(filePath, frame.lineNumber ?? 1, frame.column ?? 1) + } catch (err) { + console.log('Failed to launch editor:', err) + res.statusCode = 500 + res.write('Internal Server Error') + res.end() + return + } + + res.statusCode = 204 + res.end() + } + } +} diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index fc9d80c654267..a76592572e0c7 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "13.5.5", + "version": "13.5.7-canary.12", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", diff --git a/packages/third-parties/package.json b/packages/third-parties/package.json index bcf86ea0311b1..50ba5f67d22c1 100644 --- a/packages/third-parties/package.json +++ b/packages/third-parties/package.json @@ -1,7 +1,6 @@ { "name": "@next/third-parties", - "version": "13.5.5", - "private": true, + "version": "13.5.7-canary.12", "repository": { "url": "vercel/next.js", "directory": "packages/third-parties" @@ -23,7 +22,7 @@ "third-party-capital": "1.0.20" }, "devDependencies": { - "next": "13.5.5", + "next": "13.5.7-canary.12", "outdent": "0.8.0", "prettier": "2.5.1" }, diff --git a/packages/third-parties/src/google/GoogleMapsEmbed.tsx b/packages/third-parties/src/google/google-maps-embed.tsx similarity index 100% rename from packages/third-parties/src/google/GoogleMapsEmbed.tsx rename to packages/third-parties/src/google/google-maps-embed.tsx diff --git a/packages/third-parties/src/google/gtm.tsx b/packages/third-parties/src/google/gtm.tsx new file mode 100644 index 0000000000000..f8e5462784616 --- /dev/null +++ b/packages/third-parties/src/google/gtm.tsx @@ -0,0 +1,68 @@ +'use client' +// TODO: Evaluate import 'client only' +import React from 'react' +import Script from 'next/script' + +declare global { + interface Window { + dataLayer?: Object[] + [key: string]: any + } +} + +type GTMParams = { + gtmId: string + dataLayer: string[] + dataLayerName: string + auth: string + preview: string +} + +let currDataLayerName: string | undefined = undefined + +export function GoogleTagManager(props: GTMParams) { + const { gtmId, dataLayerName = 'dataLayer', auth, preview, dataLayer } = props + + if (currDataLayerName === undefined) { + currDataLayerName = dataLayerName + } + + const gtmLayer = dataLayerName !== 'dataLayer' ? `$l=${dataLayerName}` : '' + const gtmAuth = auth ? `>m_auth=${auth}` : '' + const gtmPreview = preview ? `>m_preview=${preview}>m_cookies_win=x` : '' + + return ( + <> + <Script + id="_next-gtm-init" + dangerouslySetInnerHTML={{ + __html: ` + (function(w,l){ + w[l]=w[l]||[]; + w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); + ${dataLayer ? `w[l].push(${JSON.stringify(dataLayer)})` : ''} + })(window,'${dataLayerName}');`, + }} + /> + <Script + id="_next-gtm" + src={`https://www.googletagmanager.com/gtm.js?id=${gtmId}${gtmLayer}${gtmAuth}${gtmPreview}`} + /> + </> + ) +} + +export const sendGTMEvent = (data: Object) => { + if (currDataLayerName === undefined) { + console.warn(`@next/third-parties: GTM has not been initialized`) + return + } + + if (window[currDataLayerName]) { + window[currDataLayerName].push(data) + } else { + console.warn( + `@next/third-parties: GTM dataLayer ${currDataLayerName} does not exist` + ) + } +} diff --git a/packages/third-parties/src/google/index.tsx b/packages/third-parties/src/google/index.tsx index aa704aae1c427..e5b94408a56e9 100644 --- a/packages/third-parties/src/google/index.tsx +++ b/packages/third-parties/src/google/index.tsx @@ -1,2 +1,3 @@ -export { default as GoogleMapsEmbed } from './GoogleMapsEmbed' -export { default as YouTubeEmbed } from './YouTubeEmbed' +export { default as GoogleMapsEmbed } from './google-maps-embed' +export { default as YouTubeEmbed } from './youtube-embed' +export { GoogleTagManager, sendGTMEvent } from './gtm' diff --git a/packages/third-parties/src/google/YouTubeEmbed.tsx b/packages/third-parties/src/google/youtube-embed.tsx similarity index 100% rename from packages/third-parties/src/google/YouTubeEmbed.tsx rename to packages/third-parties/src/google/youtube-embed.tsx diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bacd30ce38784..e74f827c56f33 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,12 +9,12 @@ overrides: browserslist: 4.20.2 caniuse-lite: 1.0.30001406 '@types/node': 20.2.5 - '@babel/core': 7.18.0 - '@babel/parser': 7.18.0 - '@babel/types': 7.18.0 - '@babel/traverse': 7.18.0 - '@types/react': 18.2.7 - '@types/react-dom': 18.2.4 + '@babel/core': 7.22.5 + '@babel/parser': 7.22.5 + '@babel/types': 7.22.5 + '@babel/traverse': 7.22.5 + '@types/react': 18.2.28 + '@types/react-dom': 18.2.13 importers: @@ -24,26 +24,26 @@ importers: specifier: 1.10.1 version: 1.10.1 '@babel/core': - specifier: 7.18.0 - version: 7.18.0 + specifier: 7.22.5 + version: 7.22.5 '@babel/eslint-parser': - specifier: 7.18.2 - version: 7.18.2(@babel/core@7.18.0)(eslint@7.24.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5)(eslint@7.24.0) '@babel/generator': - specifier: 7.18.0 - version: 7.18.0 + specifier: 7.22.5 + version: 7.22.5 '@babel/parser': - specifier: 7.18.0 - version: 7.18.0 + specifier: 7.22.5 + version: 7.22.5 '@babel/plugin-proposal-object-rest-spread': - specifier: 7.14.7 - version: 7.14.7(@babel/core@7.18.0) + specifier: 7.20.7 + version: 7.20.7(@babel/core@7.22.5) '@babel/preset-flow': - specifier: 7.14.5 - version: 7.14.5(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@babel/preset-react': - specifier: 7.14.5 - version: 7.14.5(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@edge-runtime/jest-environment': specifier: 2.3.4 version: 2.3.4 @@ -52,7 +52,7 @@ importers: version: 11.11.0 '@emotion/react': specifier: 11.11.1 - version: 11.11.1(@types/react@18.2.7)(react@18.2.0) + version: 11.11.1(@types/react@18.2.28)(react@18.2.0) '@fullhuman/postcss-purgecss': specifier: 1.3.0 version: 1.3.0 @@ -112,7 +112,7 @@ importers: version: 0.5.2 '@testing-library/jest-dom': specifier: 6.1.2 - version: 6.1.2(@types/jest@27.4.1)(jest@27.0.6) + version: 6.1.2(@types/jest@29.5.5)(jest@29.7.0) '@testing-library/react': specifier: 13.0.0 version: 13.0.0(react-dom@18.2.0)(react@18.2.0) @@ -138,8 +138,8 @@ importers: specifier: 1.17.3 version: 1.17.3 '@types/jest': - specifier: 27.4.1 - version: 27.4.1 + specifier: 29.5.5 + version: 29.5.5 '@types/node': specifier: 20.2.5 version: 20.2.5 @@ -147,11 +147,11 @@ importers: specifier: 2.6.1 version: 2.6.1 '@types/react': - specifier: 18.2.7 - version: 18.2.7 + specifier: 18.2.28 + version: 18.2.28 '@types/react-dom': - specifier: 18.2.4 - version: 18.2.4 + specifier: 18.2.13 + version: 18.2.13 '@types/relay-runtime': specifier: 14.1.13 version: 14.1.13 @@ -284,9 +284,6 @@ importers: flat: specifier: 5.0.2 version: 5.0.2 - form-data: - specifier: 4.0.0 - version: 4.0.0 fs-extra: specifier: 9.0.0 version: 9.0.0 @@ -321,11 +318,14 @@ importers: specifier: 3.0.0 version: 3.0.0 jest: - specifier: 27.0.6 - version: 27.0.6 + specifier: 29.7.0 + version: 29.7.0(@types/node@20.2.5) + jest-environment-jsdom: + specifier: 29.7.0 + version: 29.7.0 jest-extended: - specifier: 1.2.1 - version: 1.2.1 + specifier: 4.0.2 + version: 4.0.2(jest@29.7.0) jest-junit: specifier: 16.0.0 version: 16.0.0 @@ -426,8 +426,8 @@ importers: specifier: npm:react@17.0.2 version: /react@17.0.2 react-builtin: - specifier: npm:react@18.3.0-canary-d900fadbf-20230929 - version: /react@18.3.0-canary-d900fadbf-20230929 + specifier: npm:react@18.3.0-canary-d803f519e-20231020 + version: /react@18.3.0-canary-d803f519e-20231020 react-dom: specifier: 18.2.0 version: 18.2.0(react@18.2.0) @@ -435,26 +435,26 @@ importers: specifier: npm:react-dom@17.0.2 version: /react-dom@17.0.2(react@18.2.0) react-dom-builtin: - specifier: npm:react-dom@18.3.0-canary-d900fadbf-20230929 - version: /react-dom@18.3.0-canary-d900fadbf-20230929(react@18.2.0) + specifier: npm:react-dom@18.3.0-canary-d803f519e-20231020 + version: /react-dom@18.3.0-canary-d803f519e-20231020(react@18.2.0) react-dom-experimental-builtin: - specifier: npm:react-dom@0.0.0-experimental-d900fadbf-20230929 - version: /react-dom@0.0.0-experimental-d900fadbf-20230929(react@18.2.0) + specifier: npm:react-dom@0.0.0-experimental-d803f519e-20231020 + version: /react-dom@0.0.0-experimental-d803f519e-20231020(react@18.2.0) react-experimental-builtin: - specifier: npm:react@0.0.0-experimental-d900fadbf-20230929 - version: /react@0.0.0-experimental-d900fadbf-20230929 + specifier: npm:react@0.0.0-experimental-d803f519e-20231020 + version: /react@0.0.0-experimental-d803f519e-20231020 react-server-dom-turbopack: - specifier: 18.3.0-canary-d900fadbf-20230929 - version: 18.3.0-canary-d900fadbf-20230929(react-dom@18.2.0)(react@18.2.0) + specifier: 18.3.0-canary-d803f519e-20231020 + version: 18.3.0-canary-d803f519e-20231020(react-dom@18.2.0)(react@18.2.0) react-server-dom-turbopack-experimental: - specifier: npm:react-server-dom-turbopack@0.0.0-experimental-d900fadbf-20230929 - version: /react-server-dom-turbopack@0.0.0-experimental-d900fadbf-20230929(react-dom@18.2.0)(react@18.2.0) + specifier: npm:react-server-dom-turbopack@0.0.0-experimental-d803f519e-20231020 + version: /react-server-dom-turbopack@0.0.0-experimental-d803f519e-20231020(react-dom@18.2.0)(react@18.2.0) react-server-dom-webpack: - specifier: 18.3.0-canary-d900fadbf-20230929 - version: 18.3.0-canary-d900fadbf-20230929(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0) + specifier: 18.3.0-canary-d803f519e-20231020 + version: 18.3.0-canary-d803f519e-20231020(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0) react-server-dom-webpack-experimental: - specifier: npm:react-server-dom-webpack@0.0.0-experimental-d900fadbf-20230929 - version: /react-server-dom-webpack@0.0.0-experimental-d900fadbf-20230929(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0) + specifier: npm:react-server-dom-webpack@0.0.0-experimental-d803f519e-20231020 + version: /react-server-dom-webpack@0.0.0-experimental-d803f519e-20231020(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0) react-ssr-prepass: specifier: 1.0.8 version: 1.0.8(react-is@16.13.1)(react@18.2.0) @@ -483,11 +483,11 @@ importers: specifier: 0.10.6 version: 0.10.6 scheduler-builtin: - specifier: npm:scheduler@0.24.0-canary-d900fadbf-20230929 - version: /scheduler@0.24.0-canary-d900fadbf-20230929 + specifier: npm:scheduler@0.24.0-canary-d803f519e-20231020 + version: /scheduler@0.24.0-canary-d803f519e-20231020 scheduler-experimental-builtin: - specifier: npm:scheduler@0.0.0-experimental-d900fadbf-20230929 - version: /scheduler@0.0.0-experimental-d900fadbf-20230929 + specifier: npm:scheduler@0.0.0-experimental-d803f519e-20231020 + version: /scheduler@0.0.0-experimental-d803f519e-20231020 seedrandom: specifier: 3.0.5 version: 3.0.5 @@ -508,7 +508,7 @@ importers: version: 6.0.0-rc.3(react-dom@18.2.0)(react@18.2.0) styled-jsx: specifier: 5.1.1 - version: 5.1.1(@babel/core@7.18.0)(react@18.2.0) + version: 5.1.1(@babel/core@7.22.5)(react@18.2.0) styled-jsx-plugin-postcss: specifier: 3.0.2 version: 3.0.2 @@ -573,8 +573,8 @@ importers: specifier: 7.18.0 version: 7.18.0 '@babel/types': - specifier: 7.18.0 - version: 7.18.0 + specifier: 7.22.5 + version: 7.22.5 random-seed: specifier: 0.3.0 version: 0.3.0 @@ -735,7 +735,7 @@ importers: packages/eslint-config-next: dependencies: '@next/eslint-plugin-next': - specifier: 13.5.5 + specifier: 13.5.7-canary.12 version: link:../eslint-plugin-next '@rushstack/eslint-patch': specifier: ^1.3.3 @@ -783,12 +783,18 @@ importers: packages/font: devDependencies: + '@types/async-retry': + specifier: 1.4.2 + version: 1.4.2 '@types/fontkit': specifier: 2.0.0 version: 2.0.0 '@vercel/ncc': specifier: 0.34.0 version: 0.34.0 + async-retry: + specifier: 1.3.3 + version: 1.3.3 fontkit: specifier: 2.0.2 version: 2.0.2 @@ -796,7 +802,7 @@ importers: packages/next: dependencies: '@next/env': - specifier: 13.5.5 + specifier: 13.5.7-canary.12 version: link:../next-env '@swc/helpers': specifier: 0.5.2 @@ -821,7 +827,7 @@ importers: version: 1.54.0 styled-jsx: specifier: 5.1.1 - version: 5.1.1(@babel/core@7.18.0)(react@18.2.0) + version: 5.1.1(@babel/core@7.22.5)(react@18.2.0) watchpack: specifier: 2.4.0 version: 2.4.0 @@ -830,71 +836,71 @@ importers: specifier: 2.8.3 version: 2.8.3 '@babel/code-frame': - specifier: 7.12.11 - version: 7.12.11 + specifier: 7.22.5 + version: 7.22.5 '@babel/core': - specifier: 7.18.0 - version: 7.18.0 + specifier: 7.22.5 + version: 7.22.5 '@babel/eslint-parser': - specifier: 7.18.2 - version: 7.18.2(@babel/core@7.18.0)(eslint@7.24.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5)(eslint@7.24.0) '@babel/generator': - specifier: 7.18.0 - version: 7.18.0 + specifier: 7.22.5 + version: 7.22.5 '@babel/plugin-proposal-class-properties': - specifier: 7.14.5 - version: 7.14.5(@babel/core@7.18.0) + specifier: 7.18.6 + version: 7.18.6(@babel/core@7.22.5) '@babel/plugin-proposal-export-namespace-from': - specifier: 7.14.5 - version: 7.14.5(@babel/core@7.18.0) + specifier: 7.18.9 + version: 7.18.9(@babel/core@7.22.5) '@babel/plugin-proposal-numeric-separator': - specifier: 7.14.5 - version: 7.14.5(@babel/core@7.18.0) + specifier: 7.18.6 + version: 7.18.6(@babel/core@7.22.5) '@babel/plugin-proposal-object-rest-spread': - specifier: 7.14.7 - version: 7.14.7(@babel/core@7.18.0) + specifier: 7.20.7 + version: 7.20.7(@babel/core@7.22.5) '@babel/plugin-syntax-bigint': specifier: 7.8.3 - version: 7.8.3(@babel/core@7.18.0) + version: 7.8.3(@babel/core@7.22.5) '@babel/plugin-syntax-dynamic-import': specifier: 7.8.3 - version: 7.8.3(@babel/core@7.18.0) + version: 7.8.3(@babel/core@7.22.5) '@babel/plugin-syntax-import-assertions': - specifier: 7.16.7 - version: 7.16.7(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@babel/plugin-syntax-jsx': - specifier: 7.14.5 - version: 7.14.5(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@babel/plugin-transform-modules-commonjs': - specifier: 7.18.0 - version: 7.18.0(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@babel/plugin-transform-runtime': - specifier: 7.18.0 - version: 7.18.0(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@babel/preset-env': - specifier: 7.18.0 - version: 7.18.0(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@babel/preset-react': - specifier: 7.14.5 - version: 7.14.5(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@babel/preset-typescript': - specifier: 7.17.12 - version: 7.17.12(@babel/core@7.18.0) + specifier: 7.22.5 + version: 7.22.5(@babel/core@7.22.5) '@babel/runtime': - specifier: 7.15.4 - version: 7.15.4 + specifier: 7.22.5 + version: 7.22.5 '@babel/traverse': - specifier: 7.18.0 - version: 7.18.0 + specifier: 7.22.5 + version: 7.22.5 '@babel/types': - specifier: 7.18.0 - version: 7.18.0 + specifier: 7.22.5 + version: 7.22.5 '@capsizecss/metrics': specifier: 1.1.0 version: 1.1.0 '@edge-runtime/cookies': - specifier: 4.0.1 - version: 4.0.1 + specifier: 4.0.2 + version: 4.0.2 '@edge-runtime/ponyfill': specifier: 2.4.1 version: 2.4.1 @@ -920,19 +926,19 @@ importers: specifier: 1.1.0 version: 1.1.0 '@next/polyfill-module': - specifier: 13.5.5 + specifier: 13.5.7-canary.12 version: link:../next-polyfill-module '@next/polyfill-nomodule': - specifier: 13.5.5 + specifier: 13.5.7-canary.12 version: link:../next-polyfill-nomodule '@next/react-dev-overlay': - specifier: 13.5.5 + specifier: 13.5.7-canary.12 version: link:../react-dev-overlay '@next/react-refresh-utils': - specifier: 13.5.5 + specifier: 13.5.7-canary.12 version: link:../react-refresh-utils '@next/swc': - specifier: 13.5.5 + specifier: 13.5.7-canary.12 version: link:../next-swc '@opentelemetry/api': specifier: 1.4.1 @@ -1019,11 +1025,11 @@ importers: specifier: 1.3.4 version: 1.3.4 '@types/react': - specifier: 18.2.7 - version: 18.2.7 + specifier: 18.2.28 + version: 18.2.28 '@types/react-dom': - specifier: 18.2.4 - version: 18.2.4 + specifier: 18.2.13 + version: 18.2.13 '@types/react-is': specifier: 17.0.3 version: 17.0.3 @@ -1061,8 +1067,8 @@ importers: specifier: 0.22.6 version: 0.22.6 '@vercel/turbopack-ecmascript-runtime': - specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231013.3 - version: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231013.3(react-refresh@0.12.0)(webpack@5.86.0)' + specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231020.3 + version: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231020.3(react-refresh@0.12.0)(webpack@5.86.0)' acorn: specifier: 8.5.0 version: 8.5.0 @@ -1393,9 +1399,6 @@ importers: ua-parser-js: specifier: 1.0.35 version: 1.0.35 - undici: - specifier: 5.26.3 - version: 5.26.3 unistore: specifier: 3.4.1 version: 3.4.1(react@18.2.0) @@ -1452,7 +1455,7 @@ importers: version: 1.1.0 jscodeshift: specifier: 0.13.1 - version: 0.13.1(@babel/preset-env@7.18.0) + version: 0.13.1(@babel/preset-env@7.22.5) meow: specifier: 7.0.1 version: 7.0.1 @@ -1470,11 +1473,11 @@ importers: specifier: 0.34.0 version: 0.34.0 dotenv: + specifier: 16.3.1 + version: 16.3.1 + dotenv-expand: specifier: 10.0.0 version: 10.0.0 - dotenv-expand: - specifier: 8.0.1 - version: 8.0.1 packages/next-mdx: dependencies: @@ -1525,11 +1528,11 @@ importers: packages/react-dev-overlay: dependencies: '@babel/code-frame': - specifier: 7.12.11 - version: 7.12.11 + specifier: 7.22.5 + version: 7.22.5 '@types/babel__code-frame': - specifier: 7.0.2 - version: 7.0.2 + specifier: 7.0.3 + version: 7.0.3 anser: specifier: 1.4.9 version: 1.4.9 @@ -1586,7 +1589,7 @@ importers: version: 1.0.20 devDependencies: next: - specifier: 13.5.5 + specifier: 13.5.7-canary.12 version: link:../next outdent: specifier: 0.8.0 @@ -1615,10 +1618,11 @@ packages: resolution: {integrity: sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==} dev: true - /@ampproject/remapping@2.1.2: - resolution: {integrity: sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==} + /@ampproject/remapping@2.2.1: + resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} engines: {node: '>=6.0.0'} dependencies: + '@jridgewell/gen-mapping': 0.3.1 '@jridgewell/trace-mapping': 0.3.17 /@ampproject/toolbox-core@2.8.0: @@ -1676,14 +1680,14 @@ packages: cross-fetch: 3.1.2 dev: true - /@babel/cli@7.21.5(@babel/core@7.18.0): + /@babel/cli@7.21.5(@babel/core@7.22.5): resolution: {integrity: sha512-TOKytQ9uQW9c4np8F+P7ZfPINy5Kv+pizDIUwSVH8X5zHgYHV4AA8HE5LA450xXeu4jEfmUckTYvv1I4S26M/g==} engines: {node: '>=6.9.0'} hasBin: true peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@jridgewell/trace-mapping': 0.3.17 commander: 4.1.1 convert-source-map: 1.9.0 @@ -1698,202 +1702,140 @@ packages: /@babel/code-frame@7.12.11: resolution: {integrity: sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==} - dependencies: - '@babel/highlight': 7.16.10 - - /@babel/code-frame@7.18.6: - resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==} - engines: {node: '>=6.9.0'} dependencies: '@babel/highlight': 7.18.6 + dev: true - /@babel/code-frame@7.21.4: - resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} + /@babel/code-frame@7.22.13: + resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/highlight': 7.18.6 - - /@babel/compat-data@7.17.0: - resolution: {integrity: sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==} - engines: {node: '>=6.9.0'} - dev: true + '@babel/highlight': 7.22.20 + chalk: 2.4.2 - /@babel/compat-data@7.17.10: - resolution: {integrity: sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==} + /@babel/code-frame@7.22.5: + resolution: {integrity: sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==} engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.22.20 - /@babel/compat-data@7.20.0: - resolution: {integrity: sha512-Gt9jszFJYq7qzXVK4slhc6NzJXnOVmRECWcVjF/T23rNXD9NtWQ0W3qxdg+p9wWIB+VQw3GYV/U2Ha9bRTfs4w==} + /@babel/compat-data@7.22.20: + resolution: {integrity: sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==} engines: {node: '>=6.9.0'} - dev: true /@babel/compat-data@7.22.3: resolution: {integrity: sha512-aNtko9OPOwVESUFp3MZfD8Uzxl7JzSeJpd7npIoxCasU37PFbAQRpKglkaKwlHOyeJdrREpo8TW8ldrkYWwvIQ==} engines: {node: '>=6.9.0'} - /@babel/core@7.18.0: - resolution: {integrity: sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==} + /@babel/core@7.22.5: + resolution: {integrity: sha512-SBuTAjg91A3eKOvD+bPEz3LlhHZRNu1nFOVts9lzDJTXshHTjII0BAtDS3Y2DAkdZdDKWVZGVwkDfc4Clxn1dg==} engines: {node: '>=6.9.0'} dependencies: - '@ampproject/remapping': 2.1.2 - '@babel/code-frame': 7.18.6 - '@babel/generator': 7.18.0 - '@babel/helper-compilation-targets': 7.18.2(@babel/core@7.18.0) - '@babel/helper-module-transforms': 7.18.0 - '@babel/helpers': 7.18.2 - '@babel/parser': 7.18.0 - '@babel/template': 7.16.7 - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 - convert-source-map: 1.7.0 - debug: 4.3.4 + '@ampproject/remapping': 2.2.1 + '@babel/code-frame': 7.22.5 + '@babel/generator': 7.22.5 + '@babel/helper-compilation-targets': 7.22.15 + '@babel/helper-module-transforms': 7.23.0(@babel/core@7.22.5) + '@babel/helpers': 7.23.1 + '@babel/parser': 7.22.5 + '@babel/template': 7.22.15 + '@babel/traverse': 7.22.5 + '@babel/types': 7.22.5 + convert-source-map: 1.9.0 + debug: 4.1.1 gensync: 1.0.0-beta.2 json5: 2.2.3 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color - /@babel/eslint-parser@7.18.2(@babel/core@7.18.0)(eslint@7.24.0): - resolution: {integrity: sha512-oFQYkE8SuH14+uR51JVAmdqwKYXGRjEXx7s+WiagVjqQ+HPE+nnwyF2qlVG8evUsUHmPcA+6YXMEDbIhEyQc5A==} + /@babel/eslint-parser@7.22.5(@babel/core@7.22.5)(eslint@7.24.0): + resolution: {integrity: sha512-C69RWYNYtrgIRE5CmTd77ZiLDXqgBipahJc/jHP3sLcAGj6AJzxNIuKNpVnICqbyK7X3pFUfEvL++rvtbQpZkQ==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 eslint: ^7.5.0 || ^8.0.0 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 + '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 eslint: 7.24.0 - eslint-scope: 5.1.1 eslint-visitor-keys: 2.1.0 - semver: 6.3.0 + semver: 6.3.1 dev: true /@babel/generator@7.18.0: resolution: {integrity: sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 '@jridgewell/gen-mapping': 0.3.1 jsesc: 2.5.2 + dev: false - /@babel/helper-annotate-as-pure@7.16.7: - resolution: {integrity: sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.18.0 - - /@babel/helper-annotate-as-pure@7.18.6: - resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.18.0 - - /@babel/helper-builder-binary-assignment-operator-visitor@7.16.7: - resolution: {integrity: sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==} + /@babel/generator@7.22.5: + resolution: {integrity: sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-explode-assignable-expression': 7.18.6 - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.17 + jsesc: 2.5.2 - /@babel/helper-builder-binary-assignment-operator-visitor@7.18.9: - resolution: {integrity: sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw==} + /@babel/helper-annotate-as-pure@7.16.7: + resolution: {integrity: sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-explode-assignable-expression': 7.18.6 - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 dev: true - /@babel/helper-compilation-targets@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==} + /@babel/helper-annotate-as-pure@7.18.6: + resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 dependencies: - '@babel/compat-data': 7.17.10 - '@babel/core': 7.18.0 - '@babel/helper-validator-option': 7.16.7 - browserslist: 4.20.2 - semver: 6.3.0 - dev: true + '@babel/types': 7.22.5 - /@babel/helper-compilation-targets@7.18.2(@babel/core@7.18.0): - resolution: {integrity: sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==} + /@babel/helper-annotate-as-pure@7.22.5: + resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 dependencies: - '@babel/compat-data': 7.17.10 - '@babel/core': 7.18.0 - '@babel/helper-validator-option': 7.16.7 - browserslist: 4.20.2 - semver: 6.3.0 + '@babel/types': 7.22.5 - /@babel/helper-compilation-targets@7.20.0(@babel/core@7.18.0): - resolution: {integrity: sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==} + /@babel/helper-builder-binary-assignment-operator-visitor@7.22.15: + resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==} engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 dependencies: - '@babel/compat-data': 7.22.3 - '@babel/core': 7.18.0 - '@babel/helper-validator-option': 7.21.0 - browserslist: 4.20.2 - semver: 6.3.0 + '@babel/types': 7.22.5 - /@babel/helper-compilation-targets@7.22.1(@babel/core@7.18.0): + /@babel/helper-compilation-targets@7.22.1(@babel/core@7.22.5): resolution: {integrity: sha512-Rqx13UM3yVB5q0D/KwQ8+SPfX/+Rnsy1Lw1k/UwOC4KC6qrzIQoY3lYnBu5EHKBlEHHcj0M0W8ltPSkD8rqfsQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: '@babel/compat-data': 7.22.3 - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-validator-option': 7.21.0 browserslist: 4.20.2 lru-cache: 5.1.1 - semver: 6.3.0 - - /@babel/helper-create-class-features-plugin@7.17.1(@babel/core@7.18.0): - resolution: {integrity: sha512-JBdSr/LtyYIno/pNnJ75lBcqc3Z1XXujzPanHqjvvrhOA+DTceTFuJi8XjmWTZh4r3fsdfqaCMN0iZemdkxZHQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-function-name': 7.21.0 - '@babel/helper-member-expression-to-functions': 7.22.3 - '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-replace-supers': 7.22.1 - '@babel/helper-split-export-declaration': 7.18.6 - transitivePeerDependencies: - - supports-color - dev: false + semver: 6.3.1 - /@babel/helper-create-class-features-plugin@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==} + /@babel/helper-compilation-targets@7.22.15: + resolution: {integrity: sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==} engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.16.7 - '@babel/helper-environment-visitor': 7.18.2 - '@babel/helper-function-name': 7.17.9 - '@babel/helper-member-expression-to-functions': 7.17.7 - '@babel/helper-optimise-call-expression': 7.16.7 - '@babel/helper-replace-supers': 7.18.2 - '@babel/helper-split-export-declaration': 7.16.7 - transitivePeerDependencies: - - supports-color + '@babel/compat-data': 7.22.20 + '@babel/helper-validator-option': 7.22.15 + browserslist: 4.20.2 + lru-cache: 5.1.1 + semver: 6.3.1 - /@babel/helper-create-class-features-plugin@7.22.1(@babel/core@7.18.0): + /@babel/helper-create-class-features-plugin@7.22.1(@babel/core@7.22.5): resolution: {integrity: sha512-SowrZ9BWzYFgzUMwUmowbPSGu6CXL5MSuuCkG3bejahSpSymioPmuLdhPxNOc9MjuNGjy7M/HaXvJ8G82Lywlw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-environment-visitor': 7.22.1 '@babel/helper-function-name': 7.21.0 @@ -1902,272 +1844,164 @@ packages: '@babel/helper-replace-supers': 7.22.1 '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 '@babel/helper-split-export-declaration': 7.18.6 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color - /@babel/helper-create-regexp-features-plugin@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw==} + /@babel/helper-create-class-features-plugin@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-jKkwA59IXcvSaiK2UN45kKwSC9o+KuoXsBDvHvU/7BecYIp8GQ2UwrVvFgJASUT+hBnwJx6MhvMCuMzwZZ7jlg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - regexpu-core: 5.3.2 + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-member-expression-to-functions': 7.23.0 + '@babel/helper-optimise-call-expression': 7.22.5 + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.22.5) + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + semver: 6.3.1 - /@babel/helper-create-regexp-features-plugin@7.22.1(@babel/core@7.18.0): + /@babel/helper-create-regexp-features-plugin@7.22.1(@babel/core@7.22.5): resolution: {integrity: sha512-WWjdnfR3LPIe+0EY8td7WmjhytxXtjKAEpnAxun/hkNiyOaPlvGK+NZaBFIdi9ndYV3Gav7BpFvtUwnaJlwi1w==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-annotate-as-pure': 7.18.6 regexpu-core: 5.3.2 - semver: 6.3.0 - - /@babel/helper-define-polyfill-provider@0.2.3(@babel/core@7.18.0): - resolution: {integrity: sha512-RH3QDAfRMzj7+0Nqu5oqgO5q9mFtQEVvCRsi8qCEfzLR9p2BHfn5FzhSB2oj1fF7I2+DcTORkYaQ6aTR9Cofew==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.18.0) - '@babel/helper-module-imports': 7.21.4 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/traverse': 7.18.0 - debug: 4.1.1 - lodash.debounce: 4.0.8 - resolve: 1.22.2 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true + semver: 6.3.1 - /@babel/helper-define-polyfill-provider@0.3.1(@babel/core@7.18.0): - resolution: {integrity: sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==} + /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==} + engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.18.0) - '@babel/helper-module-imports': 7.21.4 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/traverse': 7.18.0 - debug: 4.1.1 - lodash.debounce: 4.0.8 - resolve: 1.22.2 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.22.5 + regexpu-core: 5.3.2 + semver: 6.3.1 - /@babel/helper-define-polyfill-provider@0.4.0(@babel/core@7.18.0): + /@babel/helper-define-polyfill-provider@0.4.0(@babel/core@7.22.5): resolution: {integrity: sha512-RnanLx5ETe6aybRi1cO/edaRH+bNYWaryCEmjDDYyNr4wnSzyOp8T0dWipmqVHKEY3AbVKUom50AKSlj1zmKbg==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 + '@babel/core': 7.22.5 + '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 debug: 4.1.1 lodash.debounce: 4.0.8 - resolve: 1.22.2 - semver: 6.3.0 + resolve: 1.22.4 + semver: 6.3.1 transitivePeerDependencies: - supports-color - dev: true - - /@babel/helper-environment-visitor@7.18.2: - resolution: {integrity: sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==} - engines: {node: '>=6.9.0'} - - /@babel/helper-environment-visitor@7.18.9: - resolution: {integrity: sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==} - engines: {node: '>=6.9.0'} /@babel/helper-environment-visitor@7.22.1: resolution: {integrity: sha512-Z2tgopurB/kTbidvzeBrc2To3PUP/9i5MUe+fU6QJCQDyPwSH2oRapkLw3KGECDYSjhQZCNxEvNvZlLw8JjGwA==} engines: {node: '>=6.9.0'} - /@babel/helper-explode-assignable-expression@7.18.6: - resolution: {integrity: sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.18.0 - - /@babel/helper-function-name@7.17.9: - resolution: {integrity: sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.21.9 - '@babel/types': 7.18.0 - - /@babel/helper-function-name@7.19.0: - resolution: {integrity: sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==} + /@babel/helper-environment-visitor@7.22.20: + resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.20.7 - '@babel/types': 7.18.0 /@babel/helper-function-name@7.21.0: resolution: {integrity: sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==} engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.21.9 - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 - /@babel/helper-hoist-variables@7.16.7: - resolution: {integrity: sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==} + /@babel/helper-function-name@7.23.0: + resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/template': 7.22.15 + '@babel/types': 7.22.5 - /@babel/helper-hoist-variables@7.18.6: - resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} + /@babel/helper-hoist-variables@7.22.5: + resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 - - /@babel/helper-member-expression-to-functions@7.17.7: - resolution: {integrity: sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 /@babel/helper-member-expression-to-functions@7.22.3: resolution: {integrity: sha512-Gl7sK04b/2WOb6OPVeNy9eFKeD3L6++CzL3ykPOWqTn08xgYYK0wz4TUh2feIImDXxcVW3/9WQ1NMKY66/jfZA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 - /@babel/helper-module-imports@7.16.7: - resolution: {integrity: sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==} + /@babel/helper-member-expression-to-functions@7.23.0: + resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 /@babel/helper-module-imports@7.21.4: resolution: {integrity: sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 - - /@babel/helper-module-transforms@7.18.0: - resolution: {integrity: sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-environment-visitor': 7.18.2 - '@babel/helper-module-imports': 7.16.7 - '@babel/helper-simple-access': 7.18.2 - '@babel/helper-split-export-declaration': 7.16.7 - '@babel/helper-validator-identifier': 7.19.1 - '@babel/template': 7.20.7 - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 - transitivePeerDependencies: - - supports-color - - /@babel/helper-module-transforms@7.19.6: - resolution: {integrity: sha512-fCmcfQo/KYr/VXXDIyd3CBGZ6AFhPFy1TfSEJ+PilGVlQT6jcbqtHAM4C1EciRqMza7/TpOUZliuSH+U6HAhJw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-module-imports': 7.21.4 - '@babel/helper-simple-access': 7.21.5 - '@babel/helper-split-export-declaration': 7.18.6 - '@babel/helper-validator-identifier': 7.19.1 - '@babel/template': 7.21.9 - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 - transitivePeerDependencies: - - supports-color + '@babel/types': 7.22.5 + dev: true - /@babel/helper-module-transforms@7.22.1: - resolution: {integrity: sha512-dxAe9E7ySDGbQdCVOY/4+UcD8M9ZFqZcZhSPsPacvCG4M+9lwtDDQfI2EoaSvmf7W/8yCBkGU0m7Pvt1ru3UZw==} + /@babel/helper-module-imports@7.22.15: + resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-module-imports': 7.21.4 - '@babel/helper-simple-access': 7.21.5 - '@babel/helper-split-export-declaration': 7.18.6 - '@babel/helper-validator-identifier': 7.19.1 - '@babel/template': 7.21.9 - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/types': 7.22.5 - /@babel/helper-optimise-call-expression@7.16.7: - resolution: {integrity: sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==} + /@babel/helper-module-transforms@7.23.0(@babel/core@7.22.5): + resolution: {integrity: sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==} engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': 7.22.5 dependencies: - '@babel/types': 7.18.0 + '@babel/core': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-module-imports': 7.22.15 + '@babel/helper-simple-access': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + '@babel/helper-validator-identifier': 7.22.20 /@babel/helper-optimise-call-expression@7.18.6: resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 - - /@babel/helper-plugin-utils@7.16.7: - resolution: {integrity: sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==} - engines: {node: '>=6.9.0'} - dev: true + '@babel/types': 7.22.5 - /@babel/helper-plugin-utils@7.17.12: - resolution: {integrity: sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==} + /@babel/helper-optimise-call-expression@7.22.5: + resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.22.5 /@babel/helper-plugin-utils@7.19.0: resolution: {integrity: sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==} engines: {node: '>=6.9.0'} - /@babel/helper-plugin-utils@7.20.2: - resolution: {integrity: sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==} - engines: {node: '>=6.9.0'} - /@babel/helper-plugin-utils@7.21.5: resolution: {integrity: sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg==} engines: {node: '>=6.9.0'} - /@babel/helper-remap-async-to-generator@7.16.8: - resolution: {integrity: sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==} + /@babel/helper-plugin-utils@7.22.5: + resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-wrap-function': 7.19.0 - '@babel/types': 7.18.0 - transitivePeerDependencies: - - supports-color - /@babel/helper-remap-async-to-generator@7.18.9(@babel/core@7.18.0): - resolution: {integrity: sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==} + /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.22.5): + resolution: {integrity: sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-wrap-function': 7.19.0 - '@babel/types': 7.18.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/helper-replace-supers@7.18.2: - resolution: {integrity: sha512-XzAIyxx+vFnrOxiQrToSUOzUOn0e1J2Li40ntddek1Y69AXUTXoDJ40/D5RdjFu7s7qHiaeoTiempZcbuVXh2Q==} - engines: {node: '>=6.9.0'} + '@babel/core': 7.22.5 dependencies: - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-member-expression-to-functions': 7.22.3 - '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-wrap-function': 7.22.20 /@babel/helper-replace-supers@7.22.1: resolution: {integrity: sha512-ut4qrkE4AuSfrwHSps51ekR1ZY/ygrP1tp0WFm8oVq6nzc/hvfV/22JylndIbsf2U2M9LOMwiSddr6y+78j+OQ==} @@ -2177,2655 +2011,1240 @@ packages: '@babel/helper-member-expression-to-functions': 7.22.3 '@babel/helper-optimise-call-expression': 7.18.6 '@babel/template': 7.21.9 - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 + '@babel/traverse': 7.22.5 + '@babel/types': 7.22.5 transitivePeerDependencies: - supports-color - /@babel/helper-simple-access@7.18.2: - resolution: {integrity: sha512-7LIrjYzndorDY88MycupkpQLKS1AFfsVRm2k/9PtKScSy5tZq0McZTj+DiMRynboZfIqOKvo03pmhTaUgiD6fQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.18.0 - - /@babel/helper-simple-access@7.19.4: - resolution: {integrity: sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==} + /@babel/helper-replace-supers@7.22.20(@babel/core@7.22.5): + resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': 7.22.5 dependencies: - '@babel/types': 7.18.0 + '@babel/core': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-member-expression-to-functions': 7.23.0 + '@babel/helper-optimise-call-expression': 7.22.5 - /@babel/helper-simple-access@7.21.5: - resolution: {integrity: sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg==} + /@babel/helper-simple-access@7.22.5: + resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 /@babel/helper-skip-transparent-expression-wrappers@7.16.0: resolution: {integrity: sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 + dev: false /@babel/helper-skip-transparent-expression-wrappers@7.20.0: resolution: {integrity: sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 - /@babel/helper-split-export-declaration@7.16.7: - resolution: {integrity: sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==} + /@babel/helper-skip-transparent-expression-wrappers@7.22.5: + resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 /@babel/helper-split-export-declaration@7.18.6: resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 - /@babel/helper-validator-identifier@7.19.1: - resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} + /@babel/helper-split-export-declaration@7.22.6: + resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.22.5 + + /@babel/helper-string-parser@7.22.5: + resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} engines: {node: '>=6.9.0'} - /@babel/helper-validator-option@7.16.7: - resolution: {integrity: sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==} + /@babel/helper-validator-identifier@7.19.1: + resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} engines: {node: '>=6.9.0'} + dev: true - /@babel/helper-validator-option@7.18.6: - resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} + /@babel/helper-validator-identifier@7.22.20: + resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} /@babel/helper-validator-option@7.21.0: resolution: {integrity: sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==} engines: {node: '>=6.9.0'} - /@babel/helper-wrap-function@7.19.0: - resolution: {integrity: sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg==} + /@babel/helper-validator-option@7.22.15: + resolution: {integrity: sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==} + engines: {node: '>=6.9.0'} + + /@babel/helper-wrap-function@7.22.20: + resolution: {integrity: sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-function-name': 7.21.0 - '@babel/template': 7.21.9 - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 - transitivePeerDependencies: - - supports-color + '@babel/helper-function-name': 7.23.0 + '@babel/template': 7.22.15 + '@babel/types': 7.22.5 - /@babel/helpers@7.18.2: - resolution: {integrity: sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==} + /@babel/helpers@7.23.1: + resolution: {integrity: sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.20.7 - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 + '@babel/template': 7.22.15 + '@babel/traverse': 7.22.5 + '@babel/types': 7.22.5 transitivePeerDependencies: - supports-color - /@babel/highlight@7.16.10: - resolution: {integrity: sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==} + /@babel/highlight@7.18.6: + resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-validator-identifier': 7.19.1 chalk: 2.4.2 js-tokens: 4.0.0 + dev: true - /@babel/highlight@7.18.6: - resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} + /@babel/highlight@7.22.20: + resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.19.1 + '@babel/helper-validator-identifier': 7.22.20 chalk: 2.4.2 js-tokens: 4.0.0 - /@babel/parser@7.18.0: - resolution: {integrity: sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==} + /@babel/parser@7.22.5: + resolution: {integrity: sha512-DFZMC9LJUG9PLOclRC32G63UXwzqS2koQC8dkx+PLdmt1xSePYpbT/NbsrJy8Q/muXz7o/h/d4A7Fuyixm559Q==} engines: {node: '>=6.0.0'} hasBin: true dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 - /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw==} + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==} + /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-Hyph9LseGvAeeXzikV88bczhsrLrIZqDPxO+sSmAunMPaGrBGhfMWzCPYTtiW9t+HzSE2wtV8e5cc5P6r1xMDQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/plugin-transform-optional-chaining': 7.23.0(@babel/core@7.22.5) - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-ZoJS2XCKPBfTmL122iP6NM9dOg+d4lc9fFk3zxc8iDjvt8Pk4+TlsHSKhIPf6X+L5ORCdBzqMZDjL/WHj7WknQ==} + /@babel/plugin-external-helpers@7.18.6(@babel/core@7.22.5): + resolution: {integrity: sha512-wNqc87qjLvsD1PIMQBzLn1bMuTlGzqLzM/1VGQ22Wm51cbCWS9k71ydp5iZS4hjwQNuTWSn/xbZkkusNENwtZg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - '@babel/plugin-proposal-optional-chaining': 7.16.7(@babel/core@7.18.0) dev: true - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ==} - engines: {node: '>=6.9.0'} + /@babel/plugin-proposal-class-properties@7.12.1(@babel/core@7.22.5): + resolution: {integrity: sha512-cKp3dlQsFsEs5CWKnN7BnSHOd0EOW8EKpEjkoz1pO2E5KzIDNV9Ros1b0CnmbVgAGXJubOYVBOGCT1OmJwOI7w==} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/helper-skip-transparent-expression-wrappers': 7.16.0 - '@babel/plugin-proposal-optional-chaining': 7.17.12(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-6r4yRwEnorYByILoDRnEqxtojYKuiIv9FojW2E8GUKo9eWBwbKcd9IiZOZpdyXc64RmyGGyPu3/uAcrz/dq2kQ==} + /@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.22.5): + resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.22.5) '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - '@babel/plugin-transform-optional-chaining': 7.22.3(@babel/core@7.18.0) - dev: true - - /@babel/plugin-external-helpers@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-wNqc87qjLvsD1PIMQBzLn1bMuTlGzqLzM/1VGQ22Wm51cbCWS9k71ydp5iZS4hjwQNuTWSn/xbZkkusNENwtZg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-proposal-async-generator-functions@7.14.9(@babel/core@7.18.0): - resolution: {integrity: sha512-d1lnh+ZnKrFKwtTYdw320+sQWCTwgkB9fmUhNXRADA4akR6wLjaruSGnIEUjpt9HCOwTr4ynFTKu19b7rFRpmw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-remap-async-to-generator': 7.18.9(@babel/core@7.18.0) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-proposal-async-generator-functions@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/helper-remap-async-to-generator': 7.16.8 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - - /@babel/plugin-proposal-class-properties@7.12.1(@babel/core@7.18.0): - resolution: {integrity: sha512-cKp3dlQsFsEs5CWKnN7BnSHOd0EOW8EKpEjkoz1pO2E5KzIDNV9Ros1b0CnmbVgAGXJubOYVBOGCT1OmJwOI7w==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.20.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-proposal-class-properties@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-q/PLpv5Ko4dVc1LYMpCY7RVAAO4uk55qPwrIuJ5QJ8c6cVuAmhu7I/49JOppXL6gXf7ZHzpRVEUZdYoPLM04Gg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.17.12 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-proposal-class-properties@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.17.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.20.2 - transitivePeerDependencies: - - supports-color - dev: false - - /@babel/plugin-proposal-class-properties@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 - transitivePeerDependencies: - - supports-color - - /@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-proposal-class-static-block@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-KBAH5ksEnYHCegqseI5N9skTdxgJdmDoAOc0uXa+4QMYKeZD0w5IARh4FMlTNtaHhbB8v+KzMdTgxMMzsIy6Yg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-proposal-class-static-block@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.18.0) transitivePeerDependencies: - supports-color - /@babel/plugin-proposal-dynamic-import@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-ExjiNYc3HDN5PXJx+bwC50GIx/KKanX2HiggnIUAYedbARdImiCU4RhhHfdf0Kd7JNXGpsBBBCOm+bBVy3Gb0g==} + /@babel/plugin-proposal-export-namespace-from@7.18.9(@babel/core@7.22.5): + resolution: {integrity: sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==} engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead. peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.18.0) - dev: true - - /@babel/plugin-proposal-dynamic-import@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.18.0) - - /@babel/plugin-proposal-export-namespace-from@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-g5POA32bXPMmSBu5Dx/iZGLGnKmKPc5AiY7qfZgurzrCYgIztDlHFbznSNCoQuv57YQLnQfaDi7dxCtLDIdXdA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.22.5) dev: true - /@babel/plugin-proposal-export-namespace-from@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.18.0) - - /@babel/plugin-proposal-json-strings@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-NSq2fczJYKVRIsUJyNxrVUMhB27zb7N7pOFGQOhBKJrChbGcgEAqyZrmZswkPk18VMurEeJAaICbfm57vUeTbQ==} + /@babel/plugin-proposal-nullish-coalescing-operator@7.16.7(@babel/core@7.22.5): + resolution: {integrity: sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) - dev: true - - /@babel/plugin-proposal-json-strings@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.5) + dev: false - /@babel/plugin-proposal-logical-assignment-operators@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-YGn2AvZAo9TwyhlLvCCWxD90Xq8xJ4aSgaX3G5D/8DW94L8aaT+dS5cSP+Z06+rCJERGSr9GxMBZ601xoc2taw==} + /@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.22.5): + resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead. peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.5) dev: true - /@babel/plugin-proposal-logical-assignment-operators@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) - - /@babel/plugin-proposal-nullish-coalescing-operator@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) - - /@babel/plugin-proposal-nullish-coalescing-operator@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) - - /@babel/plugin-proposal-numeric-separator@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) - dev: true - - /@babel/plugin-proposal-numeric-separator@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) - - /@babel/plugin-proposal-object-rest-spread@7.14.7(@babel/core@7.18.0): - resolution: {integrity: sha512-082hsZz+sVabfmDWo1Oct1u1AgbKbUAyVgmX4otIc7bdsRgHBXwTwb3DpDmD4Eyyx6DNiuz5UAATT655k+kL5g==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/compat-data': 7.17.0 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.16.7(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.16.7 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-transform-parameters': 7.14.5(@babel/core@7.18.0) - dev: true - - /@babel/plugin-proposal-object-rest-spread@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/compat-data': 7.17.10 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.20.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-transform-parameters': 7.17.12(@babel/core@7.18.0) - - /@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.18.0): + /@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.22.5): resolution: {integrity: sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==} engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: '@babel/compat-data': 7.22.3 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-transform-parameters': 7.22.3(@babel/core@7.18.0) - dev: true - - /@babel/plugin-proposal-optional-catch-binding@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-3Oyiixm0ur7bzO5ybNcZFlmVsygSIQgdOa7cTfOYCMY+wEPAYhZAJxi3mixKFCTCKUhQXuCTtQ1MzrpL3WT8ZQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 + '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.22.5) '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-transform-parameters': 7.22.3(@babel/core@7.22.5) dev: true - /@babel/plugin-proposal-optional-catch-binding@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) - - /@babel/plugin-proposal-optional-chaining@7.16.7(@babel/core@7.18.0): + /@babel/plugin-proposal-optional-chaining@7.16.7(@babel/core@7.22.5): resolution: {integrity: sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-skip-transparent-expression-wrappers': 7.16.0 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) - - /@babel/plugin-proposal-optional-chaining@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 '@babel/helper-skip-transparent-expression-wrappers': 7.16.0 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) - - /@babel/plugin-proposal-private-methods@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-838DkdUA1u+QTCplatfq4B7+1lnDa/+QMI89x5WZHBcnNv+47N8QEj2k9I2MUU9xIv8XJ4XvPCviM/Dj7Uwt9g==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-proposal-private-methods@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 - transitivePeerDependencies: - - supports-color - - /@babel/plugin-proposal-private-property-in-object@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-62EyfyA3WA0mZiF2e2IV9mc9Ghwxcg8YTu8BS4Wss4Y3PY725OmS9M0qLORbJwLqFtGh+jiE4wAmocK2CTUK2Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-proposal-private-property-in-object@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.16.7 - '@babel/helper-create-class-features-plugin': 7.18.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - - /@babel/plugin-proposal-private-property-in-object@7.21.0(@babel/core@7.18.0): - resolution: {integrity: sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-proposal-unicode-property-regex@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-6axIeOU5LnY471KenAB9vI8I5j7NQ2d652hIYwVyRfgaZT5UpiqFKCuVXCDMSrU+3VFafnu2c5m3lrWIlr6A5Q==} - engines: {node: '>=4'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-proposal-unicode-property-regex@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A==} - engines: {node: '>=4'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.17.12(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==} - engines: {node: '>=4'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.18.0): - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.18.0): - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - dev: true - - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.18.0): - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.18.0): - resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.18.0): - resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-flow@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-UDo3YGQO0jH6ytzVwgSLv9i/CzMcUjbKenL67dTrAZPPv6GFAtDhe6jqnvmoKzC/7htNTohhos+onPtDMqJwaQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - - /@babel/plugin-syntax-import-assertions@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-DoM/wsaMaDXpM2fa+QkZeqqfYs340WTY+boLRiZ7ckqt3PAFt1CdGmMXVniFCcN8RuStim2Z4Co3bIKdWjTXIQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.17.12 - dev: true - - /@babel/plugin-syntax-import-assertions@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-import-assertions@7.20.0(@babel/core@7.18.0): - resolution: {integrity: sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-syntax-import-attributes@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-i35jZJv6aO7hxEbIWQ41adVfOzjm9dcYDNeWlBMd8p0ZQRtNUCBrmGwZt+H5lb+oOC9a3svp956KP0oWGA1YsA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.18.0): - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.18.0): - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-jsx@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-ohuFIsOMXJnbOMRfX7/w7LocdR6R7whhuRD4ax8IipLcLPlZGJKkBxgHp++U4N/vKyU16/YDQr2f5seajD3jIw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - dev: true - - /@babel/plugin-syntax-jsx@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-syntax-jsx@7.21.4(@babel/core@7.18.0): - resolution: {integrity: sha512-5hewiLct5OKyh6PLKEYaFclcqtIgCb6bmELouxjF6up5q3Sov7rOayW4RwhbaBL0dit8rA80GNfY+UuDp2mBbQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.18.0): - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.18.0): - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.18.0): - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.18.0): - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.18.0): - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.18.0): - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - - /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-syntax-typescript@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-TYY0SXFiO31YXtNg3HtFwNJHjLsAyIIhAhNWkQ5whPPS7HWUFlg9z0Ta4qAQNjQbP1wsSt/oKkmZ/4/WWdMUpw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-syntax-typescript@7.21.4(@babel/core@7.18.0): - resolution: {integrity: sha512-xz0D39NvhQn4t4RNsHmDnnsaQizIlUkdtYvLs8La1BlfjQ6JEwxkJGeqJMW2tAXx+q6H+WFuUTXNdYVpEya0YA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - - /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-arrow-functions@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-KOnO0l4+tD5IfOdi4x8C1XmEIRWUjNRV8wc6K2vz/3e8yAOoZZvsRXRRIF/yo/MAOFb4QjtAw9xSxMXbSMRy8A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-arrow-functions@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-arrow-functions@7.21.5(@babel/core@7.18.0): - resolution: {integrity: sha512-wb1mhwGOCaXHDTcsRYMKF9e5bbMgqwxtqa2Y1ifH96dXJPwbuLX9qHy3clhrxVqgMz7nyNXs8VkxdH8UBcjKqA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-async-generator-functions@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-36A4Aq48t66btydbZd5Fk0/xJqbpg/v4QWI4AH4cYHBXy9Mu42UOupZpebKFiCFNT9S9rJFcsld0gsv0ayLjtA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-remap-async-to-generator': 7.18.9(@babel/core@7.18.0) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-async-to-generator@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-szkbzQ0mNk0rpu76fzDdqSyPu0MuvpXgC+6rz5rpMb5OIRxdmHfQxrktL8CYolL2d8luMCZTR0DpIMIdL27IjA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-imports': 7.21.4 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-remap-async-to-generator': 7.18.9(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-async-to-generator@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-imports': 7.21.4 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/helper-remap-async-to-generator': 7.16.8 - transitivePeerDependencies: - - supports-color - - /@babel/plugin-transform-async-to-generator@7.20.7(@babel/core@7.18.0): - resolution: {integrity: sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-imports': 7.21.4 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-remap-async-to-generator': 7.18.9(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-block-scoped-functions@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-dtqWqdWZ5NqBX3KzsVCWfQI3A53Ft5pWFCT2eCVUftWZgjc5DpDponbIF1+c+7cSGk2wN0YK7HGL/ezfRbpKBQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-block-scoped-functions@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-block-scoped-functions@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-block-scoping@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-LBYm4ZocNgoCqyxMLoOnwpsmQ18HWTQvql64t3GvMUzLQrNoV1BDG0lNftC8QKYERkZgCCT/7J5xWGObGAyHDw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-block-scoping@7.18.4(@babel/core@7.18.0): - resolution: {integrity: sha512-+Hq10ye+jlvLEogSOtq4mKvtk7qwcUQ1f0Mrueai866C82f844Yom2cttfJdMdqRLTxWpsbfbkIkOIfovyUQXw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-block-scoping@7.21.0(@babel/core@7.18.0): - resolution: {integrity: sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-class-properties@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-mASLsd6rhOrLZ5F3WbCxkzl67mmOnqik0zrg5W6D/X0QMW7HtvnoL1dRARLKIbMP3vXwkwziuLesPqWVGIl6Bw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-class-static-block@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-5BirgNWNOx7cwbTJCOmKFJ1pZjwk5MUfMIwiBBvsirCJMZeQgs5pk6i1OlkVg+1Vef5LfBahFOrdCnAWvkVKMw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-classes@7.14.9(@babel/core@7.18.0): - resolution: {integrity: sha512-NfZpTcxU3foGWbl4wxmZ35mTsYJy8oQocbeIMoDAGGFarAmSQlL+LWMkDx/tj6pNotpbX3rltIA4dprgAPOq5A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-function-name': 7.21.0 - '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-replace-supers': 7.22.1 - '@babel/helper-split-export-declaration': 7.18.6 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-classes@7.18.4(@babel/core@7.18.0): - resolution: {integrity: sha512-e42NSG2mlKWgxKUAD9EJJSkZxR67+wZqzNxLSpc51T8tRU5SLFHsPmgYR5yr7sdgX4u+iHA1C5VafJ6AyImV3A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.16.7 - '@babel/helper-environment-visitor': 7.18.2 - '@babel/helper-function-name': 7.17.9 - '@babel/helper-optimise-call-expression': 7.16.7 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/helper-replace-supers': 7.18.2 - '@babel/helper-split-export-declaration': 7.16.7 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - - /@babel/plugin-transform-classes@7.21.0(@babel/core@7.18.0): - resolution: {integrity: sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.18.0) - '@babel/helper-environment-visitor': 7.22.1 - '@babel/helper-function-name': 7.21.0 - '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-replace-supers': 7.22.1 - '@babel/helper-split-export-declaration': 7.18.6 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-computed-properties@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-pWM+E4283UxaVzLb8UBXv4EIxMovU4zxT1OPnpHJcmnvyY9QbPPTKZfEj31EUvG3/EQRbYAGaYEUZ4yWOBC2xg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-computed-properties@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-computed-properties@7.21.5(@babel/core@7.18.0): - resolution: {integrity: sha512-TR653Ki3pAwxBxUe8srfF3e4Pe3FTA46uaNHYyQwIoM4oWKSoOZiDNyHJ0oIoDIUPSRQbQG7jzgVBX3FPVne1Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/template': 7.21.9 - dev: true - - /@babel/plugin-transform-destructuring@7.14.7(@babel/core@7.18.0): - resolution: {integrity: sha512-0mDE99nK+kVh3xlc5vKwB6wnP9ecuSj+zQCa/n0voENtP/zymdT4HH6QEb65wjjcbqr1Jb/7z9Qp7TF5FtwYGw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-destructuring@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-destructuring@7.21.3(@babel/core@7.18.0): - resolution: {integrity: sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-dotall-regex@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-loGlnBdj02MDsFaHhAIJzh7euK89lBrGIdM9EAtHFo6xKygCUGuuWe07o1oZVk287amtW1n0808sQM99aZt3gw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-dotall-regex@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.17.12(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-dotall-regex@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - - /@babel/plugin-transform-duplicate-keys@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-iJjbI53huKbPDAsJ8EmVmvCKeeq21bAze4fu9GBQtSLqfvzj2oRuHVx4ZkDwEhg1htQ+5OBZh/Ab0XDf5iBZ7A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-duplicate-keys@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-duplicate-keys@7.18.9(@babel/core@7.18.0): - resolution: {integrity: sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-dynamic-import@7.22.1(@babel/core@7.18.0): - resolution: {integrity: sha512-rlhWtONnVBPdmt+jeewS0qSnMz/3yLFrqAP8hHC6EDcrYRSyuz9f9yQhHvVn2Ad6+yO9fHXac5piudeYrInxwQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.18.0) - dev: true - - /@babel/plugin-transform-exponentiation-operator@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-jFazJhMBc9D27o9jDnIE5ZErI0R0m7PbKXVq77FFvqFbzvTMuv8jaAwLZ5PviOLSFttqKIW0/wxNSDbjLk0tYA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.9 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-exponentiation-operator@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-builder-binary-assignment-operator-visitor': 7.16.7 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-exponentiation-operator@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.9 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-export-namespace-from@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-5Ti1cHLTDnt3vX61P9KZ5IG09bFXp4cDVFJIAeCZuxu9OXXJJZp5iP0n/rzM2+iAutJY+KWEyyHcRaHlpQ/P5g==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.18.0) - dev: true - - /@babel/plugin-transform-flow-strip-types@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-mzmCq3cNsDpZZu9FADYYyfZJIOrSONmHcop2XEKPdBNMa4PDC4eEvcOvzZaCNcjKu72v0XQlA5y1g58aLRXdYg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-flow': 7.16.7(@babel/core@7.18.0) - - /@babel/plugin-transform-for-of@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-CfmqxSUZzBl0rSjpoQSFoR9UEj3HzbGuGNL21/iFTmjb5gFggJp3ph0xR1YBhexmLoKRHzgxuFvty2xdSt6gTA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-for-of@7.18.1(@babel/core@7.18.0): - resolution: {integrity: sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-for-of@7.21.5(@babel/core@7.18.0): - resolution: {integrity: sha512-nYWpjKW/7j/I/mZkGVgHJXh4bA1sfdFnJoOXwJuj4m3Q2EraO/8ZyrkCau9P5tbHQk01RMSt6KYLCsW7730SXQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-function-name@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-vbO6kv0fIzZ1GpmGQuvbwwm+O4Cbm2NrPzwlup9+/3fdkuzo1YqOZcXw26+YUJB84Ja7j9yURWposEHLYwxUfQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-function-name': 7.21.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-function-name@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.20.0(@babel/core@7.18.0) - '@babel/helper-function-name': 7.17.9 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-function-name@7.18.9(@babel/core@7.18.0): - resolution: {integrity: sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.18.0) - '@babel/helper-function-name': 7.21.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-json-strings@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-IuvOMdeOOY2X4hRNAT6kwbePtK21BUyrAEgLKviL8pL6AEEVUVcqtRdN/HJXBLGIbt9T3ETmXRnFedRRmQNTYw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) - dev: true - - /@babel/plugin-transform-literals@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-ql33+epql2F49bi8aHXxvLURHkxJbSmMKl9J5yHqg4PLtdE6Uc48CH1GS6TQvZ86eoB/ApZXwm7jlA+B3kra7A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-literals@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-literals@7.18.9(@babel/core@7.18.0): - resolution: {integrity: sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-logical-assignment-operators@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-CbayIfOw4av2v/HYZEsH+Klks3NC2/MFIR3QR8gnpGNNPEaq2fdlVCRYG/paKs7/5hvBLQ+H70pGWOHtlNEWNA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) - dev: true - - /@babel/plugin-transform-member-expression-literals@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-WkNXxH1VXVTKarWFqmso83xl+2V3Eo28YY5utIkbsmXoItO8Q3aZxN4BTS2k0hz9dGUloHK26mJMyQEYfkn/+Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-member-expression-literals@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - - /@babel/plugin-transform-member-expression-literals@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true - - /@babel/plugin-transform-modules-amd@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-3lpOU8Vxmp3roC4vzFpSdEpGUWSMsHFreTWOMMLzel2gNGfHE5UWIh/LN6ghHs2xurUp4jRFYMUIZhuFbody1g==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.22.1 - '@babel/helper-plugin-utils': 7.21.5 - babel-plugin-dynamic-import-node: 2.3.3 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-modules-amd@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.19.6 - '@babel/helper-plugin-utils': 7.19.0 - babel-plugin-dynamic-import-node: 2.3.3 - transitivePeerDependencies: - - supports-color - - /@babel/plugin-transform-modules-amd@7.20.11(@babel/core@7.18.0): - resolution: {integrity: sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.22.1 - '@babel/helper-plugin-utils': 7.21.5 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.5) + dev: false - /@babel/plugin-transform-modules-commonjs@7.16.8(@babel/core@7.18.0): - resolution: {integrity: sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==} + /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.22.5): + resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.19.6 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-simple-access': 7.19.4 - babel-plugin-dynamic-import-node: 2.3.3 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 - /@babel/plugin-transform-modules-commonjs@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-cCeR0VZWtfxWS4YueAK2qtHtBPJRSaJcMlbS8jhSIm/A3E2Kpro4W1Dn4cqJtp59dtWfXjQwK7SPKF8ghs7rlw==} - engines: {node: '>=6.9.0'} + /@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.22.5): + resolution: {integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==} + engines: {node: '>=4'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead. peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.18.0 - '@babel/helper-plugin-utils': 7.17.12 - '@babel/helper-simple-access': 7.18.2 - babel-plugin-dynamic-import-node: 2.3.3 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-modules-commonjs@7.21.5(@babel/core@7.18.0): - resolution: {integrity: sha512-OVryBEgKUbtqMoB7eG2rs6UFexJi6Zj6FDXx+esBLPTCxCNxAY9o+8Di7IsUGJ+AVhp5ncK0fxWUBd0/1gPhrQ==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.22.5): + resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.22.1 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-simple-access': 7.21.5 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-modules-systemjs@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-mNMQdvBEE5DcMQaL5LbzXFMANrQjd2W7FPzg34Y4yEz7dBgdaC+9B84dSO+/1Wba98zoDbInctCDo4JGxz1VYA==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.22.5): + resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-hoist-variables': 7.18.6 - '@babel/helper-module-transforms': 7.22.1 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-validator-identifier': 7.19.1 - babel-plugin-dynamic-import-node: 2.3.3 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.19.0 dev: true - /@babel/plugin-transform-modules-systemjs@7.18.4(@babel/core@7.18.0): - resolution: {integrity: sha512-lH2UaQaHVOAeYrUUuZ8i38o76J/FnO8vu21OE+tD1MyP9lxdZoSfz+pDbWkq46GogUrdrMz3tiz/FYGB+bVThg==} + /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.22.5): + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + peerDependencies: + '@babel/core': 7.22.5 + dependencies: + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + + /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.22.5): + resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 + dependencies: + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + + /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.22.5): + resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} + peerDependencies: + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-hoist-variables': 7.16.7 - '@babel/helper-module-transforms': 7.19.6 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.19.0 - '@babel/helper-validator-identifier': 7.19.1 - babel-plugin-dynamic-import-node: 2.3.3 - transitivePeerDependencies: - - supports-color - /@babel/plugin-transform-modules-systemjs@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-V21W3bKLxO3ZjcBJZ8biSvo5gQ85uIXW2vJfh7JSWf/4SLUSr1tOoHX3ruN4+Oqa2m+BKfsxTR1I+PsvkIWvNw==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.22.5): + resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-hoist-variables': 7.18.6 - '@babel/helper-module-transforms': 7.22.1 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-validator-identifier': 7.19.1 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/plugin-transform-modules-umd@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-RfPGoagSngC06LsGUYyM9QWSXZ8MysEjDJTAea1lqRjNECE3y0qIJF/qbvJxc4oA4s99HumIMdXOrd+TdKaAAA==} + /@babel/plugin-syntax-flow@7.16.7(@babel/core@7.22.5): + resolution: {integrity: sha512-UDo3YGQO0jH6ytzVwgSLv9i/CzMcUjbKenL67dTrAZPPv6GFAtDhe6jqnvmoKzC/7htNTohhos+onPtDMqJwaQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.22.1 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/plugin-transform-modules-umd@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA==} + /@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-9RdCl0i+q0QExayk2nOS7853w08yLucnnPML6EN9S8fgMPVtdLDCdx/cOQ/i44Lb9UeQX9A35yaqBBOMMZxPxQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.19.6 - '@babel/helper-plugin-utils': 7.19.0 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + dev: true - /@babel/plugin-transform-modules-umd@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==} + /@babel/plugin-syntax-import-assertions@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-transforms': 7.22.1 - '@babel/helper-plugin-utils': 7.21.5 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-named-capturing-groups-regex@7.14.9(@babel/core@7.18.0): - resolution: {integrity: sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA==} + /@babel/plugin-syntax-import-attributes@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-KwvoWDeNKPETmozyFE0P2rOLqh39EoQHNjqizrI5B8Vt0ZNS7M56s7dAiAqbYfiAYOuIzIh96z3iR2ktgu3tEg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-named-capturing-groups-regex@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.22.5): + resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.17.12(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-named-capturing-groups-regex@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-c6HrD/LpUdNNJsISQZpds3TXvfYIAbo+efE9aWmY/PmSRD0agrJ9cPMt4BmArwUQ7ZymEWTFjTyp+yReLJZh0Q==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.22.5): + resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-new-target@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-Nx054zovz6IIRWEB49RDRuXGI4Gy0GMgqG0cII9L3MxqgXz/+rgII+RU58qpo4g7tNEx1jG7rRVH4ihZoP4esQ==} + /@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-new-target@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-CaOtzk2fDYisbjAD4Sd1MTKGVIpRtx9bWLyj24Y/k6p4s4gQ3CqDGJauFJxt8M/LEx003d0i3klVqnN73qvK3w==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.22.5): + resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-new-target@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-5RuJdSo89wKdkRTqtM9RVVJzHum9c2s0te9rB7vZC1zKKxcioWIy+xcu4OoIAjyFZhb/bp5KkunuLin1q7Ct+w==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.22.5): + resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-nullish-coalescing-operator@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-CpaoNp16nX7ROtLONNuCyenYdY/l7ZsR6aoVa7rW7nMWisoNoQNIH5Iay/4LDyRjKMuElMqXiBoOQCDLTMGZiw==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.22.5): + resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) - dev: true - /@babel/plugin-transform-numeric-separator@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-+AF88fPDJrnseMh5vD9+SH6wq4ZMvpiTMHh58uLs+giMEyASFVhcT3NkoyO+NebFCNnpHJEq5AXO2txV4AGPDQ==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.22.5): + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) - dev: true - /@babel/plugin-transform-object-rest-spread@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-38bzTsqMMCI46/TQnJwPPpy33EjLCc1Gsm2hRTF6zTMWnKsN61vdrpuzIEGQyKEhDSYDKyZHrrd5FMj4gcUHhw==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.22.5): + resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/compat-data': 7.22.3 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-transform-parameters': 7.22.3(@babel/core@7.18.0) - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-object-super@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-MKfOBWzK0pZIrav9z/hkRqIk/2bTv9qvxHzPQc12RcVkMOzpIKnFCNYJip00ssKWYkd8Sf5g0Wr7pqJ+cmtuFg==} - engines: {node: '>=6.9.0'} + /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.22.5): + resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-replace-supers': 7.22.1 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/plugin-transform-object-super@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==} + /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.22.5): + resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/helper-replace-supers': 7.18.2 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-object-super@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==} + /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.22.5): + resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-replace-supers': 7.22.1 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-optional-catch-binding@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-bnDFWXFzWY0BsOyqaoSXvMQ2F35zutQipugog/rqotL2S4ciFOKlRYUu9djt4iq09oh2/34hqfRR2k1dIvuu4g==} + /@babel/plugin-syntax-typescript@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-optional-chaining@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-63v3/UFFxhPKT8j8u1jTTGVyITxl7/7AfOqK8C5gz1rHURPUGe3y5mvIf68eYKGoBNahtJnTxBKug4BQOnzeJg==} + /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.22.5): + resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) - dev: true + '@babel/core': 7.22.5 + '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-parameters@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-Tl7LWdr6HUxTmzQtzuU14SqbgrSKmaR77M0OKyq4njZLQTPfOvzblNKyNkGwOfEFCEx7KeYHQHDI0P3F02IVkA==} + /@babel/plugin-transform-arrow-functions@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-parameters@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA==} + /@babel/plugin-transform-async-generator-functions@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-jBm1Es25Y+tVoTi5rfd5t1KLmL8ogLKpXszboWOTTtGFGz2RKnQe2yn7HbZ+kb/B8N0FVSGQo874NSlOU1T4+w==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.22.5) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.5) - /@babel/plugin-transform-parameters@7.18.8(@babel/core@7.18.0): - resolution: {integrity: sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==} + /@babel/plugin-transform-async-to-generator@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-module-imports': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.22.5) - /@babel/plugin-transform-parameters@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-x7QHQJHPuD9VmfpzboyGJ5aHEr9r7DsAsdxdhJiTB3J3j8dyl+NFZ+rX5Q2RWFDCs61c06qBfS4ys2QYn8UkMw==} + /@babel/plugin-transform-block-scoped-functions@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-private-methods@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-fC7jtjBPFqhqpPAE+O4LKwnLq7gGkD3ZmC2E3i4qWH34mH3gOg2Xrq5YMHUq6DM30xhqM1DNftiRaSqVjEG+ug==} + /@babel/plugin-transform-block-scoping@7.23.0(@babel/core@7.22.5): + resolution: {integrity: sha512-cOsrbmIOXmf+5YbL99/S49Y3j46k/T16b9ml8bm9lP6N9US5iQ2yBK7gpui1pg0V/WMcXdkfKbTb7HXq9u+v4g==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-private-property-in-object@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-C7MMl4qWLpgVCbXfj3UW8rR1xeCnisQ0cU7YJHV//8oNBS0aCIVg1vFnZXxOckHhEpQyqNNkWmvSEWnMLlc+Vw==} + /@babel/plugin-transform-class-properties@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-nDkQ0NfkOhPTq8YCLiWNxp1+f9fCobEjCb0n8WdbNUBc4IB5V7P1QnX9IjpSoquKrXF5SKojHleVNs2vGeHCHQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-property-literals@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-r1uilDthkgXW8Z1vJz2dKYLV1tuw2xsbrp3MrZmD99Wh9vsfKoob+JTgri5VUb/JqyKRXotlOtwgu4stIYCmnw==} + /@babel/plugin-transform-class-static-block@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-GMM8gGmqI7guS/llMFk1bJDkKfn3v3C4KHK9Yg1ey5qcHcOlKb0QvcMrgzvxo+T03/4szNh5lghY+fEC98Kq9g==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.22.5) - /@babel/plugin-transform-property-literals@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==} + /@babel/plugin-transform-classes@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-VbbC3PGjBdE0wAWDdHM9G8Gm977pnYI0XpqMd6LrKISj8/DJXEsWqgRuTYaNE9Bv0JGhTZUzHDlMk18IpOuoqw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-compilation-targets': 7.22.15 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-optimise-call-expression': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.22.5) + '@babel/helper-split-export-declaration': 7.22.6 + globals: 11.12.0 - /@babel/plugin-transform-property-literals@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==} + /@babel/plugin-transform-computed-properties@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/template': 7.22.15 - /@babel/plugin-transform-react-constant-elements@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-NBqLEx1GxllIOXJInJAQbrnwwYJsV3WaMHIcOwD8rhYS0AabTWn7kHdHgPgu5RmHLU0q4DMxhAMu8ue/KampgQ==} + /@babel/plugin-transform-destructuring@7.23.0(@babel/core@7.22.5): + resolution: {integrity: sha512-vaMdgNXFkYrB+8lbgniSYWHsgqK5gjaMNcc84bMIOMRLH0L9AqYq3hwMdvnyqj1OPqea8UtjPEuS/DCenah1wg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-react-display-name@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-07aqY1ChoPgIxsuDviptRpVkWCSbXWmzQqcgy65C6YSFOfPFvb/DX3bBRHh7pCd/PMEEYHYWUTSVkCbkVainYQ==} + /@babel/plugin-transform-dotall-regex@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-react-display-name@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA==} + /@babel/plugin-transform-duplicate-keys@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-react-jsx-development@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-rdwG/9jC6QybWxVe2UVOa7q6cnTpw8JRRHOxntG/h6g/guAOe6AhtQHJuJh5FwmnXIT1bdm5vC2/5huV8ZOorQ==} + /@babel/plugin-transform-dynamic-import@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-g/21plo58sfteWjaO0ZNVb+uEOkJNjAaHhbejrnBmu011l/eNDScmkbjCC3l4FKb10ViaGU4aOkFznSu2zRHgA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/plugin-transform-react-jsx': 7.14.5(@babel/core@7.18.0) - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.22.5) - /@babel/plugin-transform-react-jsx-development@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-SA6HEjwYFKF7WDjWcMcMGUimmw/nhNRDWxr+KaLSCrkD/LMDBvWRmHAYgE1HDeF8KUuI8OAu+RT6EOtKxSW2qA==} + /@babel/plugin-transform-exponentiation-operator@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/plugin-transform-react-jsx': 7.19.0(@babel/core@7.18.0) - dev: true + '@babel/core': 7.22.5 + '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-react-jsx@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-7RylxNeDnxc1OleDm0F5Q/BSL+whYRbOAR+bwgCxIr0L32v7UFh/pz1DLMZideAUxKT6eMoS2zQH6fyODLEi8Q==} + /@babel/plugin-transform-export-namespace-from@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-xa7aad7q7OiT8oNZ1mU7NrISjlSkVdMbNxn9IuLZyL9AJEhs1Apba3I+u5riX1dIkdptP5EKDG5XDPByWxtehw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.16.7 - '@babel/helper-module-imports': 7.16.7 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-jsx': 7.18.6(@babel/core@7.18.0) - '@babel/types': 7.18.0 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.22.5) - /@babel/plugin-transform-react-jsx@7.19.0(@babel/core@7.18.0): - resolution: {integrity: sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==} + /@babel/plugin-transform-flow-strip-types@7.16.7(@babel/core@7.22.5): + resolution: {integrity: sha512-mzmCq3cNsDpZZu9FADYYyfZJIOrSONmHcop2XEKPdBNMa4PDC4eEvcOvzZaCNcjKu72v0XQlA5y1g58aLRXdYg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-module-imports': 7.21.4 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-jsx': 7.21.4(@babel/core@7.18.0) - '@babel/types': 7.18.0 - dev: true + '@babel/plugin-syntax-flow': 7.16.7(@babel/core@7.22.5) - /@babel/plugin-transform-react-pure-annotations@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-3X4HpBJimNxW4rhUy/SONPyNQHp5YRr0HhJdT2OH1BRp0of7u3Dkirc7x9FRJMKMqTBI079VZ1hzv7Ouuz///g==} + /@babel/plugin-transform-flow-strip-types@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-tujNbZdxdG0/54g/oua8ISToaXTFBf8EnSb5PgQSciIXWOWKX3S4+JR7ZE9ol8FZwf9kxitzkGQ+QWeov/mCiA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.16.7 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-flow': 7.22.5(@babel/core@7.22.5) dev: true - /@babel/plugin-transform-react-pure-annotations@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-I8VfEPg9r2TRDdvnHgPepTKvuRomzA8+u+nhY7qSI1fR2hRNebasZEETLyM5mAUr0Ku56OkXJ0I7NHJnO6cJiQ==} + /@babel/plugin-transform-for-of@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-me6VGeHsx30+xh9fbDLLPi0J1HzmeIIyenoOQHuw2D4m2SAU3NrspX5XxJLBpqn5yrLzrlw2Iy3RA//Bx27iOA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-regenerator@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-NVIY1W3ITDP5xQl50NgTKlZ0GrotKtLna08/uGY6ErQt6VEQZXla86x/CTddm5gZdcr+5GSsvMeTmWA5Ii6pkg==} + /@babel/plugin-transform-function-name@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - regenerator-transform: 0.14.4 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-compilation-targets': 7.22.15 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-regenerator@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw==} + /@babel/plugin-transform-json-strings@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-CxT5tCqpA9/jXFlme9xIBCc5RPtdDq3JpkkhgHQqtDdiTnTI0jtZ0QzXhr5DILeYifDPp2wvY2ad+7+hLMW5Pw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - regenerator-transform: 0.15.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.22.5) - /@babel/plugin-transform-regenerator@7.21.5(@babel/core@7.18.0): - resolution: {integrity: sha512-ZoYBKDb6LyMi5yCsByQ5jmXsHAQDDYeexT1Szvlmui+lADvfSecr5Dxd/PkrTC3pAD182Fcju1VQkB4oCp9M+w==} + /@babel/plugin-transform-literals@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - regenerator-transform: 0.15.1 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-reserved-words@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-cv4F2rv1nD4qdexOGsRQXJrOcyb5CrgjUH9PKrrtyhSDBNWGxd0UIitjyJiWagS+EbUGjG++22mGH1Pub8D6Vg==} + /@babel/plugin-transform-logical-assignment-operators@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-qQwRTP4+6xFCDV5k7gZBF3C31K34ut0tbEcTKxlX/0KXxm9GLcO14p570aWxFvVzx6QAfPgq7gaeIHXJC8LswQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.5) - /@babel/plugin-transform-reserved-words@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA==} + /@babel/plugin-transform-member-expression-literals@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-reserved-words@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==} + /@babel/plugin-transform-modules-amd@7.23.0(@babel/core@7.22.5): + resolution: {integrity: sha512-xWT5gefv2HGSm4QHtgc1sYPbseOyf+FFDo2JbpE25GWl5BqTGO9IMwTYJRoIdjsF85GE+VegHxSCUt5EvoYTAw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-module-transforms': 7.23.0(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-runtime@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-7kM/jJ3DD/y1hDPn0jov12DoUIFsxLiItprhNydUSibxaywaxNqKwq+ODk72J9ePn4LWobIc5ik6TAJhVl8IkQ==} + /@babel/plugin-transform-modules-commonjs@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-B4pzOXj+ONRmuaQTg05b3y/4DuFz3WcCNAXPLb2Q0GT0TrGKGxNKV4jwsXts+StaM0LQczZbOpj8o1DLPDJIiA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-module-imports': 7.16.7 - '@babel/helper-plugin-utils': 7.17.12 - babel-plugin-polyfill-corejs2: 0.3.1(@babel/core@7.18.0) - babel-plugin-polyfill-corejs3: 0.5.2(@babel/core@7.18.0) - babel-plugin-polyfill-regenerator: 0.3.1(@babel/core@7.18.0) - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-module-transforms': 7.23.0(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-simple-access': 7.22.5 - /@babel/plugin-transform-shorthand-properties@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-xLucks6T1VmGsTB+GWK5Pl9Jl5+nRXD1uoFdA5TSO6xtiNjtXTjKkmPdFXVLGlK5A2/or/wQMKfmQ2Y0XJfn5g==} + /@babel/plugin-transform-modules-systemjs@7.23.0(@babel/core@7.22.5): + resolution: {integrity: sha512-qBej6ctXZD2f+DhlOC9yO47yEYgUh5CZNz/aBoH4j/3NOlRfJXJbY7xDQCqQVf9KbrqGzIWER1f23doHGrIHFg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-hoist-variables': 7.22.5 + '@babel/helper-module-transforms': 7.23.0(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-identifier': 7.22.20 - /@babel/plugin-transform-shorthand-properties@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==} + /@babel/plugin-transform-modules-umd@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-module-transforms': 7.23.0(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-shorthand-properties@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==} + /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-spread@7.14.6(@babel/core@7.18.0): - resolution: {integrity: sha512-Zr0x0YroFJku7n7+/HH3A2eIrGMjbmAIbJSVv0IZ+t3U2WUQUA64S/oeied2e+MaGSjmt4alzBCsK9E8gh+fag==} + /@babel/plugin-transform-new-target@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-spread@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg==} + /@babel/plugin-transform-nullish-coalescing-operator@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-YZWOw4HxXrotb5xsjMJUDlLgcDXSfO9eCmdl1bgW4+/lAGdkjaEvOnQ4p5WKKdUgSzO39dgPl0pTnfxm0OAXcg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/helper-skip-transparent-expression-wrappers': 7.16.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.5) - /@babel/plugin-transform-spread@7.20.7(@babel/core@7.18.0): - resolution: {integrity: sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw==} + /@babel/plugin-transform-numeric-separator@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-3dzU4QGPsILdJbASKhF/V2TVP+gJya1PsueQCxIPCEcerqF21oEcrob4mzjsp2Py/1nLfF5m+xYNMDpmA8vffg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.5) - /@babel/plugin-transform-sticky-regex@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-Z7F7GyvEMzIIbwnziAZmnSNpdijdr4dWt+FJNBnBLz5mwDFkqIXU9wmBcWWad3QeJF5hMTkRe4dAq2sUZiG+8A==} + /@babel/plugin-transform-object-rest-spread@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-fEB+I1+gAmfAyxZcX1+ZUwLeAuuf8VIg67CTznZE0MqVFumWkh8xWtn58I4dxdVf080wn7gzWoF8vndOViJe9Q==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/compat-data': 7.22.20 + '@babel/core': 7.22.5 + '@babel/helper-compilation-targets': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-transform-parameters': 7.22.15(@babel/core@7.22.5) - /@babel/plugin-transform-sticky-regex@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==} + /@babel/plugin-transform-object-super@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.22.5) - /@babel/plugin-transform-sticky-regex@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==} + /@babel/plugin-transform-optional-catch-binding@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-rli0WxesXUeCJnMYhzAglEjLWVDF6ahb45HuprcmQuLidBJFWjNnOzssk2kuc6e33FlLaiZhG/kUIzUMWdBKaQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.5) - /@babel/plugin-transform-template-literals@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-22btZeURqiepOfuy/VkFr+zStqlujWaarpMErvay7goJS6BWwdd6BY9zQyDLDa4x2S3VugxFb162IZ4m/S/+Gg==} + /@babel/plugin-transform-optional-chaining@7.23.0(@babel/core@7.22.5): + resolution: {integrity: sha512-sBBGXbLJjxTzLBF5rFWaikMnOGOk/BmK6vVByIdEggZ7Vn6CvWXZyRkkLFK6WE0IF8jSliyOkUN6SScFgzCM0g==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.5) - /@babel/plugin-transform-template-literals@7.18.2(@babel/core@7.18.0): - resolution: {integrity: sha512-/cmuBVw9sZBGZVOMkpAEaVLwm4JmK2GZ1dFKOGGpMzEHWFmyZZ59lUU0PdRr8YNYeQdNzTDwuxP2X2gzydTc9g==} + /@babel/plugin-transform-parameters@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-hjk7qKIqhyzhhUvRT683TYQOFa/4cQKwQy7ALvTpODswN40MljzNDa0YldevS6tGbxwaEKVn502JmY0dP7qEtQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-template-literals@7.18.9(@babel/core@7.18.0): - resolution: {integrity: sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==} + /@babel/plugin-transform-parameters@7.22.3(@babel/core@7.22.5): + resolution: {integrity: sha512-x7QHQJHPuD9VmfpzboyGJ5aHEr9r7DsAsdxdhJiTB3J3j8dyl+NFZ+rX5Q2RWFDCs61c06qBfS4ys2QYn8UkMw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 dev: true - /@babel/plugin-transform-typeof-symbol@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-lXzLD30ffCWseTbMQzrvDWqljvZlHkXU+CnseMhkMNqU1sASnCsz3tSzAaH3vCUXb9PHeUb90ZT1BdFTm1xxJw==} + /@babel/plugin-transform-private-methods@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-PPjh4gyrQnGe97JTalgRGMuU4icsZFnWkzicB/fUtzlKUqvsWBKEpPPfr5a2JiyirZkHxnAqkQMO5Z5B2kK3fA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-typeof-symbol@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw==} + /@babel/plugin-transform-private-property-in-object@7.22.11(@babel/core@7.22.5): + resolution: {integrity: sha512-sSCbqZDBKHetvjSwpyWzhuHkmW5RummxJBVbYLkGkaiTOWGxml7SXt0iWa03bzxFIx7wOj3g/ILRd0RcJKBeSQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.22.5) - /@babel/plugin-transform-typeof-symbol@7.18.9(@babel/core@7.18.0): - resolution: {integrity: sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==} + /@babel/plugin-transform-property-literals@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-typescript@7.16.8(@babel/core@7.18.0): - resolution: {integrity: sha512-bHdQ9k7YpBDO2d0NVfkj51DpQcvwIzIusJ7mEUaMlbZq3Kt/U47j24inXZHQ5MDiYpCs+oZiwnXyKedE8+q7AQ==} + /@babel/plugin-transform-react-constant-elements@7.14.5(@babel/core@7.22.5): + resolution: {integrity: sha512-NBqLEx1GxllIOXJInJAQbrnwwYJsV3WaMHIcOwD8rhYS0AabTWn7kHdHgPgu5RmHLU0q4DMxhAMu8ue/KampgQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-typescript': 7.21.4(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: false + dev: true - /@babel/plugin-transform-typescript@7.18.4(@babel/core@7.18.0): - resolution: {integrity: sha512-l4vHuSLUajptpHNEOUDEGsnpl9pfRLsN1XUoDQDD/YBuXTM+v37SHGS+c6n4jdcZy96QtuUuSvZYMLSSsjH8Mw==} + /@babel/plugin-transform-react-display-name@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-PVk3WPYudRF5z4GKMEYUrLjPl38fJSKNaEOkFuoprioowGuWN6w2RKznuFNSlJx7pzzXXStPUnNSOEO0jL5EVw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-class-features-plugin': 7.18.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-syntax-typescript': 7.17.12(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-typescript@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-pyjnCIniO5PNaEuGxT28h0HbMru3qCVrMqVgVOz/krComdIrY9W6FCLBq9NWHY8HDGaUlan+UhmZElDENIfCcw==} + /@babel/plugin-transform-react-jsx-development@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-bDhuzwWMuInwCYeDeMzyi7TaBgRQei6DqxhbyniL7/VG4RSS7HtSL2QbY4eESy1KJqlWt8g3xeEBGPuo+XqC8A==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-syntax-typescript': 7.21.4(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/plugin-transform-react-jsx': 7.22.15(@babel/core@7.22.5) dev: true - /@babel/plugin-transform-unicode-escapes@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-crTo4jATEOjxj7bt9lbYXcBAM3LZaUrbP2uUdxb6WIorLmjNKSpHfIybgY4B8SRpbf8tEVIWH3Vtm7ayCrKocA==} + /@babel/plugin-transform-react-jsx@7.14.5(@babel/core@7.22.5): + resolution: {integrity: sha512-7RylxNeDnxc1OleDm0F5Q/BSL+whYRbOAR+bwgCxIr0L32v7UFh/pz1DLMZideAUxKT6eMoS2zQH6fyODLEi8Q==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.16.7 + '@babel/helper-module-imports': 7.21.4 '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.5) + '@babel/types': 7.22.5 dev: true - /@babel/plugin-transform-unicode-escapes@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==} + /@babel/plugin-transform-react-jsx@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-oKckg2eZFa8771O/5vi7XeTvmM6+O9cxZu+kanTU7tD4sin5nO/G8jGJhq8Hvt2Z0kUoEDRayuZLaUlYl8QuGA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-module-imports': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.5) + '@babel/types': 7.22.5 + dev: true - /@babel/plugin-transform-unicode-escapes@7.21.5(@babel/core@7.18.0): - resolution: {integrity: sha512-LYm/gTOwZqsYohlvFUe/8Tujz75LqqVC2w+2qPHLR+WyWHGCZPN1KBpJCJn+4Bk4gOkQy/IXKIge6az5MqwlOg==} + /@babel/plugin-transform-react-pure-annotations@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-gP4k85wx09q+brArVinTXhWiyzLl9UpmGva0+mWyKxk6JZequ05x3eUcIUE+FyttPKJFRRVtAvQaJ6YF9h1ZpA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-unicode-property-regex@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-5ScJ+OmdX+O6HRuMGW4kv7RL9vIKdtdAj9wuWUKy1wbHY3jaM/UlyIiC1G7J6UJiiyMukjjK0QwL3P0vBd0yYg==} + /@babel/plugin-transform-regenerator@7.18.0(@babel/core@7.22.5): + resolution: {integrity: sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 + regenerator-transform: 0.15.0 dev: true - /@babel/plugin-transform-unicode-regex@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-UygduJpC5kHeCiRw/xDVzC+wj8VaYSoKl5JNVmbP7MadpNinAm3SvZCxZ42H37KZBKztz46YC73i9yV34d0Tzw==} + /@babel/plugin-transform-regenerator@7.22.10(@babel/core@7.22.5): + resolution: {integrity: sha512-F28b1mDt8KcT5bUyJc/U9nwzw6cV+UmTeRlXYIl2TNqMMJif0Jeey9/RQ3C4NOd2zp0/TRsDns9ttj2L523rsw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + regenerator-transform: 0.15.2 - /@babel/plugin-transform-unicode-regex@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==} + /@babel/plugin-transform-reserved-words@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.17.12(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.19.0 + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-unicode-regex@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==} + /@babel/plugin-transform-runtime@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-bg4Wxd1FWeFx3daHFTWk1pkSWK/AyQuiyAoeZAOkAOUBjnZPH6KT7eMxouV47tQ6hl6ax2zyAWBdWZXbrvXlaw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 + '@babel/core': 7.22.5 + '@babel/helper-module-imports': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 + babel-plugin-polyfill-corejs2: 0.4.3(@babel/core@7.22.5) + babel-plugin-polyfill-corejs3: 0.8.1(@babel/core@7.22.5) + babel-plugin-polyfill-regenerator: 0.5.0(@babel/core@7.22.5) + semver: 6.3.1 + transitivePeerDependencies: + - supports-color dev: true - /@babel/plugin-transform-unicode-sets-regex@7.22.3(@babel/core@7.18.0): - resolution: {integrity: sha512-hNufLdkF8vqywRp+P55j4FHXqAX2LRUccoZHH7AFn1pq5ZOO2ISKW9w13bFZVjBoTqeve2HOgoJCcaziJVhGNw==} + /@babel/plugin-transform-shorthand-properties@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-create-regexp-features-plugin': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/preset-env@7.15.0(@babel/core@7.18.0): - resolution: {integrity: sha512-FhEpCNFCcWW3iZLg0L2NPE9UerdtsCR6ZcsGHUX6Om6kbCQeL5QZDqFDmeNHC6/fy6UH3jEge7K4qG5uC9In0Q==} + /@babel/plugin-transform-spread@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/compat-data': 7.20.0 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.20.0(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-validator-option': 7.18.6 - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-async-generator-functions': 7.14.9(@babel/core@7.18.0) - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-proposal-class-static-block': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-dynamic-import': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-export-namespace-from': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-json-strings': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-logical-assignment-operators': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-proposal-numeric-separator': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.18.0) - '@babel/plugin-proposal-optional-catch-binding': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-optional-chaining': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-proposal-private-methods': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-private-property-in-object': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-proposal-unicode-property-regex': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.18.0) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-arrow-functions': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-async-to-generator': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-block-scoped-functions': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-block-scoping': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-classes': 7.14.9(@babel/core@7.18.0) - '@babel/plugin-transform-computed-properties': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-destructuring': 7.14.7(@babel/core@7.18.0) - '@babel/plugin-transform-dotall-regex': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-duplicate-keys': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-exponentiation-operator': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-for-of': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-function-name': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-literals': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-member-expression-literals': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-modules-amd': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-modules-commonjs': 7.16.8(@babel/core@7.18.0) - '@babel/plugin-transform-modules-systemjs': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-modules-umd': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-named-capturing-groups-regex': 7.14.9(@babel/core@7.18.0) - '@babel/plugin-transform-new-target': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-object-super': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-parameters': 7.18.8(@babel/core@7.18.0) - '@babel/plugin-transform-property-literals': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-regenerator': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-reserved-words': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-shorthand-properties': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-spread': 7.14.6(@babel/core@7.18.0) - '@babel/plugin-transform-sticky-regex': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-template-literals': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-typeof-symbol': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-unicode-escapes': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-unicode-regex': 7.14.5(@babel/core@7.18.0) - '@babel/preset-modules': 0.1.4(@babel/core@7.18.0) - '@babel/types': 7.18.0 - babel-plugin-polyfill-corejs2: 0.2.2(@babel/core@7.18.0) - babel-plugin-polyfill-corejs3: 0.2.3(@babel/core@7.18.0) - babel-plugin-polyfill-regenerator: 0.2.2(@babel/core@7.18.0) - core-js-compat: 3.16.2 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - /@babel/preset-env@7.18.0(@babel/core@7.18.0): - resolution: {integrity: sha512-cP74OMs7ECLPeG1reiCQ/D/ypyOxgfm8uR6HRYV23vTJ7Lu1nbgj9DQDo/vH59gnn7GOAwtTDPPYV4aXzsMKHA==} + /@babel/plugin-transform-sticky-regex@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/compat-data': 7.17.10 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.18.2(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.17.12 - '@babel/helper-validator-option': 7.16.7 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-async-generator-functions': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-class-properties': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-class-static-block': 7.18.0(@babel/core@7.18.0) - '@babel/plugin-proposal-dynamic-import': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-proposal-export-namespace-from': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-json-strings': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-logical-assignment-operators': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-numeric-separator': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-proposal-object-rest-spread': 7.18.0(@babel/core@7.18.0) - '@babel/plugin-proposal-optional-catch-binding': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-proposal-optional-chaining': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-private-methods': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-private-property-in-object': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-proposal-unicode-property-regex': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.18.0) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-import-assertions': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-arrow-functions': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-async-to-generator': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-block-scoped-functions': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-block-scoping': 7.18.4(@babel/core@7.18.0) - '@babel/plugin-transform-classes': 7.18.4(@babel/core@7.18.0) - '@babel/plugin-transform-computed-properties': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-destructuring': 7.18.0(@babel/core@7.18.0) - '@babel/plugin-transform-dotall-regex': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-duplicate-keys': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-exponentiation-operator': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-for-of': 7.18.1(@babel/core@7.18.0) - '@babel/plugin-transform-function-name': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-literals': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-member-expression-literals': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-modules-amd': 7.18.0(@babel/core@7.18.0) - '@babel/plugin-transform-modules-commonjs': 7.18.0(@babel/core@7.18.0) - '@babel/plugin-transform-modules-systemjs': 7.18.4(@babel/core@7.18.0) - '@babel/plugin-transform-modules-umd': 7.18.0(@babel/core@7.18.0) - '@babel/plugin-transform-named-capturing-groups-regex': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-new-target': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-object-super': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-parameters': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-property-literals': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-regenerator': 7.18.0(@babel/core@7.18.0) - '@babel/plugin-transform-reserved-words': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-shorthand-properties': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-spread': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-sticky-regex': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-template-literals': 7.18.2(@babel/core@7.18.0) - '@babel/plugin-transform-typeof-symbol': 7.17.12(@babel/core@7.18.0) - '@babel/plugin-transform-unicode-escapes': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-unicode-regex': 7.16.7(@babel/core@7.18.0) - '@babel/preset-modules': 0.1.5(@babel/core@7.18.0) - '@babel/types': 7.18.0 - babel-plugin-polyfill-corejs2: 0.3.1(@babel/core@7.18.0) - babel-plugin-polyfill-corejs3: 0.5.2(@babel/core@7.18.0) - babel-plugin-polyfill-regenerator: 0.3.1(@babel/core@7.18.0) - core-js-compat: 3.22.7 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + dependencies: + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/preset-env@7.22.2(@babel/core@7.18.0): - resolution: {integrity: sha512-UPNK9pgphMULvA2EMKIWHU90C47PKyuvQ8pE1MzH7l9PgFcRabdrHhlePpBuWxYZQ+TziP2nycKoI5C1Yhdm9Q==} + /@babel/plugin-transform-template-literals@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/compat-data': 7.22.3 - '@babel/core': 7.18.0 - '@babel/helper-compilation-targets': 7.22.1(@babel/core@7.18.0) - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-validator-option': 7.21.0 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-proposal-private-property-in-object': 7.21.0(@babel/core@7.18.0) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.18.0) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-import-assertions': 7.20.0(@babel/core@7.18.0) - '@babel/plugin-syntax-import-attributes': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-arrow-functions': 7.21.5(@babel/core@7.18.0) - '@babel/plugin-transform-async-generator-functions': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-async-to-generator': 7.20.7(@babel/core@7.18.0) - '@babel/plugin-transform-block-scoped-functions': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-block-scoping': 7.21.0(@babel/core@7.18.0) - '@babel/plugin-transform-class-properties': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-class-static-block': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-classes': 7.21.0(@babel/core@7.18.0) - '@babel/plugin-transform-computed-properties': 7.21.5(@babel/core@7.18.0) - '@babel/plugin-transform-destructuring': 7.21.3(@babel/core@7.18.0) - '@babel/plugin-transform-dotall-regex': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-duplicate-keys': 7.18.9(@babel/core@7.18.0) - '@babel/plugin-transform-dynamic-import': 7.22.1(@babel/core@7.18.0) - '@babel/plugin-transform-exponentiation-operator': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-export-namespace-from': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-for-of': 7.21.5(@babel/core@7.18.0) - '@babel/plugin-transform-function-name': 7.18.9(@babel/core@7.18.0) - '@babel/plugin-transform-json-strings': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-literals': 7.18.9(@babel/core@7.18.0) - '@babel/plugin-transform-logical-assignment-operators': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-member-expression-literals': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-modules-amd': 7.20.11(@babel/core@7.18.0) - '@babel/plugin-transform-modules-commonjs': 7.21.5(@babel/core@7.18.0) - '@babel/plugin-transform-modules-systemjs': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-modules-umd': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-named-capturing-groups-regex': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-new-target': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-nullish-coalescing-operator': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-numeric-separator': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-object-rest-spread': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-object-super': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-optional-catch-binding': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-optional-chaining': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-parameters': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-private-methods': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-private-property-in-object': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-property-literals': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-regenerator': 7.21.5(@babel/core@7.18.0) - '@babel/plugin-transform-reserved-words': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-shorthand-properties': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-spread': 7.20.7(@babel/core@7.18.0) - '@babel/plugin-transform-sticky-regex': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-template-literals': 7.18.9(@babel/core@7.18.0) - '@babel/plugin-transform-typeof-symbol': 7.18.9(@babel/core@7.18.0) - '@babel/plugin-transform-unicode-escapes': 7.21.5(@babel/core@7.18.0) - '@babel/plugin-transform-unicode-property-regex': 7.22.3(@babel/core@7.18.0) - '@babel/plugin-transform-unicode-regex': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-unicode-sets-regex': 7.22.3(@babel/core@7.18.0) - '@babel/preset-modules': 0.1.5(@babel/core@7.18.0) - '@babel/types': 7.18.0 - babel-plugin-polyfill-corejs2: 0.4.3(@babel/core@7.18.0) - babel-plugin-polyfill-corejs3: 0.8.1(@babel/core@7.18.0) - babel-plugin-polyfill-regenerator: 0.5.0(@babel/core@7.18.0) - core-js-compat: 3.30.2 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/preset-flow@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-pP5QEb4qRUSVGzzKx9xqRuHUrM/jEzMqdrZpdMA+oUCRgd5zM1qGr5y5+ZgAL/1tVv1H0dyk5t4SKJntqyiVtg==} + /@babel/plugin-transform-typeof-symbol@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.16.7 - '@babel/helper-validator-option': 7.16.7 - '@babel/plugin-transform-flow-strip-types': 7.16.7(@babel/core@7.18.0) - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/preset-flow@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-6ceP7IyZdUYQ3wUVqyRSQXztd1YmFHWI4Xv11MIqAlE4WqxBSd/FZ61V9k+TS5Gd4mkHOtQtPp9ymRpxH4y1Ug==} + /@babel/plugin-transform-typescript@7.22.15(@babel/core@7.22.5): + resolution: {integrity: sha512-1uirS0TnijxvQLnlv5wQBwOX3E1wCFX7ITv+9pBV2wKEk4K+M5tqDaoNXnTH8tjEIYHLO98MwiTWO04Ggz4XuA==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-validator-option': 7.18.6 - '@babel/plugin-transform-flow-strip-types': 7.16.7(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.22.5) - /@babel/preset-modules@0.1.4(@babel/core@7.18.0): - resolution: {integrity: sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==} + /@babel/plugin-transform-unicode-escapes@7.22.10(@babel/core@7.22.5): + resolution: {integrity: sha512-lRfaRKGZCBqDlRU3UIFovdp9c9mEvlylmpod0/OatICsSfuQ9YFthRo1tpTkGsklEefZdqlEFdY4A2dwTb6ohg==} + engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-dotall-regex': 7.18.6(@babel/core@7.18.0) - '@babel/types': 7.18.0 - esutils: 2.0.3 - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 - /@babel/preset-modules@0.1.5(@babel/core@7.18.0): - resolution: {integrity: sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==} + /@babel/plugin-transform-unicode-property-regex@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-HCCIb+CbJIAE6sXn5CjFQXMwkCClcOfPCzTlilJ8cUatfzwHlWQkbtV0zD338u9dZskwvuOYTuuaMaA8J5EI5A==} + engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.19.0 - '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-dotall-regex': 7.18.6(@babel/core@7.18.0) - '@babel/types': 7.18.0 - esutils: 2.0.3 + '@babel/core': 7.22.5 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 - /@babel/preset-react@7.14.5(@babel/core@7.18.0): - resolution: {integrity: sha512-XFxBkjyObLvBaAvkx1Ie95Iaq4S/GUEIrejyrntQ/VCMKUYvKLoyKxOBzJ2kjA3b6rC9/KL6KXfDC2GqvLiNqQ==} + /@babel/plugin-transform-unicode-regex@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.16.7 - '@babel/helper-validator-option': 7.16.7 - '@babel/plugin-transform-react-display-name': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-react-jsx': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-react-jsx-development': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-react-pure-annotations': 7.14.5(@babel/core@7.18.0) - dev: true + '@babel/core': 7.22.5 + dependencies: + '@babel/core': 7.22.5 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 + + /@babel/plugin-transform-unicode-sets-regex@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-lhMfi4FC15j13eKrh3DnYHjpGj6UKQHtNKTbtc1igvAhRy4+kLhV07OpLcsN0VgDEw/MjAvJO4BdMJsHwMhzCg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': 7.22.5 + dependencies: + '@babel/core': 7.22.5 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.22.5) + '@babel/helper-plugin-utils': 7.22.5 + + /@babel/preset-env@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-fj06hw89dpiZzGZtxn+QybifF07nNiZjZ7sazs2aVDcysAZVGjW7+7iFYxg6GLNM47R/thYfLdrXc+2f11Vi9A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': 7.22.5 + dependencies: + '@babel/compat-data': 7.22.20 + '@babel/core': 7.22.5 + '@babel/helper-compilation-targets': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.22.15(@babel/core@7.22.5) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.22.15(@babel/core@7.22.5) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.22.5) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.5) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.22.5) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.22.5) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-import-assertions': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-syntax-import-attributes': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.22.5) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.5) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.5) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.22.5) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.22.5) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.22.5) + '@babel/plugin-transform-arrow-functions': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-async-generator-functions': 7.22.15(@babel/core@7.22.5) + '@babel/plugin-transform-async-to-generator': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-block-scoped-functions': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-block-scoping': 7.23.0(@babel/core@7.22.5) + '@babel/plugin-transform-class-properties': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-class-static-block': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-classes': 7.22.15(@babel/core@7.22.5) + '@babel/plugin-transform-computed-properties': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-destructuring': 7.23.0(@babel/core@7.22.5) + '@babel/plugin-transform-dotall-regex': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-duplicate-keys': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-dynamic-import': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-exponentiation-operator': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-export-namespace-from': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-for-of': 7.22.15(@babel/core@7.22.5) + '@babel/plugin-transform-function-name': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-json-strings': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-literals': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-logical-assignment-operators': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-member-expression-literals': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-modules-amd': 7.23.0(@babel/core@7.22.5) + '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-modules-systemjs': 7.23.0(@babel/core@7.22.5) + '@babel/plugin-transform-modules-umd': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-new-target': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-nullish-coalescing-operator': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-numeric-separator': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-object-rest-spread': 7.22.15(@babel/core@7.22.5) + '@babel/plugin-transform-object-super': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-optional-catch-binding': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-optional-chaining': 7.23.0(@babel/core@7.22.5) + '@babel/plugin-transform-parameters': 7.22.15(@babel/core@7.22.5) + '@babel/plugin-transform-private-methods': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-private-property-in-object': 7.22.11(@babel/core@7.22.5) + '@babel/plugin-transform-property-literals': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-regenerator': 7.22.10(@babel/core@7.22.5) + '@babel/plugin-transform-reserved-words': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-shorthand-properties': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-spread': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-sticky-regex': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-template-literals': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-typeof-symbol': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-unicode-escapes': 7.22.10(@babel/core@7.22.5) + '@babel/plugin-transform-unicode-property-regex': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-unicode-regex': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-unicode-sets-regex': 7.22.5(@babel/core@7.22.5) + '@babel/preset-modules': 0.1.5(@babel/core@7.22.5) + '@babel/types': 7.22.5 + babel-plugin-polyfill-corejs2: 0.4.3(@babel/core@7.22.5) + babel-plugin-polyfill-corejs3: 0.8.1(@babel/core@7.22.5) + babel-plugin-polyfill-regenerator: 0.5.0(@babel/core@7.22.5) + core-js-compat: 3.30.2 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color - /@babel/preset-react@7.18.6(@babel/core@7.18.0): - resolution: {integrity: sha512-zXr6atUmyYdiWRVLOZahakYmOBHtWc2WGCkP8PYTgZi0iJXDY2CN180TdrIW4OGOAdLc7TifzDIvtx6izaRIzg==} + /@babel/preset-flow@7.16.7(@babel/core@7.22.5): + resolution: {integrity: sha512-6ceP7IyZdUYQ3wUVqyRSQXztd1YmFHWI4Xv11MIqAlE4WqxBSd/FZ61V9k+TS5Gd4mkHOtQtPp9ymRpxH4y1Ug==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.21.5 '@babel/helper-validator-option': 7.21.0 - '@babel/plugin-transform-react-display-name': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-react-jsx': 7.19.0(@babel/core@7.18.0) - '@babel/plugin-transform-react-jsx-development': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-transform-react-pure-annotations': 7.18.6(@babel/core@7.18.0) - dev: true + '@babel/plugin-transform-flow-strip-types': 7.16.7(@babel/core@7.22.5) - /@babel/preset-typescript@7.16.7(@babel/core@7.18.0): - resolution: {integrity: sha512-WbVEmgXdIyvzB77AQjGBEyYPZx+8tTsO50XtfozQrkW8QB2rLJpH2lgx0TRw5EJrBxOZQ+wCcyPVQvS8tjEHpQ==} + /@babel/preset-flow@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-ta2qZ+LSiGCrP5pgcGt8xMnnkXQrq8Sa4Ulhy06BOlF5QbLw9q5hIx7bn5MrsvyTGAfh6kTOo07Q+Pfld/8Y5Q==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 + dependencies: + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 + '@babel/plugin-transform-flow-strip-types': 7.22.5(@babel/core@7.22.5) + dev: true + + /@babel/preset-modules@0.1.5(@babel/core@7.22.5): + resolution: {integrity: sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==} + peerDependencies: + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/helper-validator-option': 7.18.6 - '@babel/plugin-transform-typescript': 7.16.8(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: false + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.22.5) + '@babel/plugin-transform-dotall-regex': 7.22.5(@babel/core@7.22.5) + '@babel/types': 7.22.5 + esutils: 2.0.3 - /@babel/preset-typescript@7.17.12(@babel/core@7.18.0): - resolution: {integrity: sha512-S1ViF8W2QwAKUGJXxP9NAfNaqGDdEBJKpYkxHf5Yy2C4NPPzXGeR3Lhk7G8xJaaLcFTRfNjVbtbVtm8Gb0mqvg==} + /@babel/preset-react@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-M+Is3WikOpEJHgR385HbuCITPTaPRaNkibTEa9oiofmJvIsrceb4yp9RL9Kb+TE8LznmeyZqpP+Lopwcx59xPQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.17.12 - '@babel/helper-validator-option': 7.16.7 - '@babel/plugin-transform-typescript': 7.18.4(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 + '@babel/plugin-transform-react-display-name': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-react-jsx': 7.22.15(@babel/core@7.22.5) + '@babel/plugin-transform-react-jsx-development': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-react-pure-annotations': 7.22.5(@babel/core@7.22.5) dev: true - /@babel/preset-typescript@7.21.5(@babel/core@7.18.0): - resolution: {integrity: sha512-iqe3sETat5EOrORXiQ6rWfoOg2y68Cs75B9wNxdPW4kixJxh7aXQE1KPdWLDniC24T/6dSnguF33W9j/ZZQcmA==} + /@babel/preset-typescript@7.22.5(@babel/core@7.22.5): + resolution: {integrity: sha512-YbPaal9LxztSGhmndR46FmAbkJ/1fAsw293tSU+I5E5h+cnJ3d4GTwyUgGYmOXJYdGA+uNePle4qbaRzj2NISQ==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-plugin-utils': 7.21.5 - '@babel/helper-validator-option': 7.21.0 - '@babel/plugin-syntax-jsx': 7.21.4(@babel/core@7.18.0) - '@babel/plugin-transform-modules-commonjs': 7.21.5(@babel/core@7.18.0) - '@babel/plugin-transform-typescript': 7.22.3(@babel/core@7.18.0) - transitivePeerDependencies: - - supports-color - dev: true + '@babel/core': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.22.15 + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.22.5) - /@babel/register@7.17.0(@babel/core@7.18.0): + /@babel/register@7.17.0(@babel/core@7.22.5): resolution: {integrity: sha512-UNZsMAZ7uKoGHo1HlEXfteEOYssf64n/PNLHGqOKq/bgYcu/4LrQWAHJwSCb3BRZK8Hi5gkJdRcwrGTO2wtRCg==} engines: {node: '>=6.9.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 clone-deep: 4.0.1 find-cache-dir: 2.1.0 make-dir: 2.1.0 @@ -4836,71 +3255,58 @@ packages: /@babel/regjsgen@0.8.0: resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} - /@babel/runtime@7.15.4: - resolution: {integrity: sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==} - engines: {node: '>=6.9.0'} - dependencies: - regenerator-runtime: 0.13.5 - - /@babel/runtime@7.16.7: - resolution: {integrity: sha512-9E9FJowqAsytyOY6LG+1KuueckRL+aQW+mKvXRXnuFGyRAyepJPmEo9vgMfXUA6O9u3IeEdv9MAkppFcaQwogQ==} - engines: {node: '>=6.9.0'} - dependencies: - regenerator-runtime: 0.13.4 - dev: true - /@babel/runtime@7.22.3: resolution: {integrity: sha512-XsDuspWKLUsxwCp6r7EhsExHtYfbe5oAGQ19kqngTdCPUoPQzOPdUbD/pB9PJiwb2ptYKQDjSJT3R6dC+EPqfQ==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.13.11 + dev: false - /@babel/template@7.16.7: - resolution: {integrity: sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==} + /@babel/runtime@7.22.5: + resolution: {integrity: sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 - '@babel/parser': 7.18.0 - '@babel/types': 7.18.0 + regenerator-runtime: 0.13.11 - /@babel/template@7.20.7: - resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} + /@babel/template@7.21.9: + resolution: {integrity: sha512-MK0X5k8NKOuWRamiEfc3KEJiHMTkGZNUjzMipqCGDDc6ijRl/B7RGSKVGncu4Ro/HdyzzY6cmoXuKI2Gffk7vQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.21.4 - '@babel/parser': 7.18.0 - '@babel/types': 7.18.0 + '@babel/code-frame': 7.22.5 + '@babel/parser': 7.22.5 + '@babel/types': 7.22.5 - /@babel/template@7.21.9: - resolution: {integrity: sha512-MK0X5k8NKOuWRamiEfc3KEJiHMTkGZNUjzMipqCGDDc6ijRl/B7RGSKVGncu4Ro/HdyzzY6cmoXuKI2Gffk7vQ==} + /@babel/template@7.22.15: + resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.21.4 - '@babel/parser': 7.18.0 - '@babel/types': 7.18.0 + '@babel/code-frame': 7.22.13 + '@babel/parser': 7.22.5 + '@babel/types': 7.22.5 - /@babel/traverse@7.18.0: - resolution: {integrity: sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==} + /@babel/traverse@7.22.5: + resolution: {integrity: sha512-7DuIjPgERaNo6r+PZwItpjCZEa5vyw4eJGufeLxrPdBXBoLcCJCIasvK6pK/9DVNrLZTLFhUGqaC6X/PA007TQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.21.4 - '@babel/generator': 7.18.0 - '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-function-name': 7.19.0 - '@babel/helper-hoist-variables': 7.18.6 - '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.18.0 - '@babel/types': 7.18.0 + '@babel/code-frame': 7.22.5 + '@babel/generator': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-hoist-variables': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + '@babel/parser': 7.22.5 + '@babel/types': 7.22.5 debug: 4.1.1 globals: 11.12.0 transitivePeerDependencies: - supports-color - /@babel/types@7.18.0: - resolution: {integrity: sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==} + /@babel/types@7.22.5: + resolution: {integrity: sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.19.1 + '@babel/helper-string-parser': 7.22.5 + '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 /@bazel/bazelisk@1.18.0: @@ -5045,8 +3451,8 @@ packages: resolution: {integrity: sha512-smLocSfrt3s53H/XSVP3/1kP42oqvrkjUPtyaFd1F79ux24oE31BKt+q0c6lsa6hOYrFzsIwyc5GXAI5JmfOew==} dev: true - /@edge-runtime/cookies@4.0.1: - resolution: {integrity: sha512-QIZ1lz6rAF8rTrFdGkljedUaZpXbGIWmRdbA+kwm15ddFfryyekYwI3luFKB33KDcXRHrBi6WdMuyQN19CS6pg==} + /@edge-runtime/cookies@4.0.2: + resolution: {integrity: sha512-BphVamVz/yt9FN1b60ZXp+iTJVRLUHI0POxKYZG3gn+RsP+M0phqS87Z9JnDn2YOsPx9SRhhrN9AB7yhpexNEw==} engines: {node: '>=16'} dev: true @@ -5087,7 +3493,7 @@ packages: resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==} dependencies: '@babel/helper-module-imports': 7.21.4 - '@babel/runtime': 7.22.3 + '@babel/runtime': 7.22.5 '@emotion/hash': 0.9.1 '@emotion/memoize': 0.8.1 '@emotion/serialize': 1.1.2 @@ -5117,7 +3523,7 @@ packages: resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==} dev: true - /@emotion/react@11.11.1(@types/react@18.2.7)(react@18.2.0): + /@emotion/react@11.11.1(@types/react@18.2.28)(react@18.2.0): resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} peerDependencies: '@types/react': '*' @@ -5126,14 +3532,14 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.22.3 + '@babel/runtime': 7.22.5 '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.2 '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 - '@types/react': 18.2.7 + '@types/react': 18.2.28 hoist-non-react-statics: 3.3.2 react: 18.2.0 dev: true @@ -5145,7 +3551,7 @@ packages: '@emotion/memoize': 0.8.1 '@emotion/unitless': 0.8.1 '@emotion/utils': 1.2.1 - csstype: 3.0.10 + csstype: 3.1.2 dev: true /@emotion/sheet@1.2.2: @@ -5524,7 +3930,7 @@ packages: resolution: {integrity: sha512-e8gSjRZnOUefsR3obOgxG9RtYW2Mw83hh7ogE2ByCdgRhoX0mdnJwBcZOami3E0l643KCTZvORFwfSEi48KFIQ==} engines: {node: ^8.13.0 || >=10.10.0} dependencies: - semver: 6.3.0 + semver: 6.3.1 dev: true /@grpc/proto-loader@0.5.3: @@ -5597,84 +4003,59 @@ packages: engines: {node: '>=8'} dev: true - /@jest/console@27.0.6: - resolution: {integrity: sha512-fMlIBocSHPZ3JxgWiDNW/KPj6s+YRd0hicb33IrmelCcjXo/pXPwvuiKFmZz+XuqI/1u7nbUK10zSsWL/1aegg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.5.1 - '@types/node': 20.2.5 - chalk: 4.0.0 - jest-message-util: 27.5.1 - jest-util: 27.5.1 - slash: 3.0.0 - dev: true - - /@jest/console@27.5.1: - resolution: {integrity: sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/console@29.7.0: + resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 + '@jest/types': 29.6.3 '@types/node': 20.2.5 chalk: 4.0.0 - jest-message-util: 27.5.1 - jest-util: 27.5.1 + jest-message-util: 29.7.0 + jest-util: 29.7.0 slash: 3.0.0 dev: true - /@jest/core@27.0.6: - resolution: {integrity: sha512-SsYBm3yhqOn5ZLJCtccaBcvD/ccTLCeuDv8U41WJH/V1MW5eKUkeMHT9U+Pw/v1m1AIWlnIW/eM2XzQr0rEmow==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/core@29.7.0: + resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true dependencies: - '@jest/console': 27.0.6 - '@jest/reporters': 27.0.6 - '@jest/test-result': 27.0.6 - '@jest/transform': 27.5.1 - '@jest/types': 27.5.1 + '@jest/console': 29.7.0 + '@jest/reporters': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 '@types/node': 20.2.5 ansi-escapes: 4.3.2 chalk: 4.0.0 - emittery: 0.8.1 + ci-info: 3.8.0 exit: 0.1.2 graceful-fs: 4.2.11 - jest-changed-files: 27.0.6 - jest-config: 27.0.6 - jest-haste-map: 27.5.1 - jest-message-util: 27.5.1 - jest-regex-util: 27.5.1 - jest-resolve: 27.0.6 - jest-resolve-dependencies: 27.0.6 - jest-runner: 27.0.6 - jest-runtime: 27.0.6 - jest-snapshot: 27.0.6 - jest-util: 27.5.1 - jest-validate: 27.0.6 - jest-watcher: 27.0.6 + jest-changed-files: 29.7.0 + jest-config: 29.7.0(@types/node@20.2.5) + jest-haste-map: 29.7.0 + jest-message-util: 29.7.0 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-resolve-dependencies: 29.7.0 + jest-runner: 29.7.0 + jest-runtime: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + jest-watcher: 29.7.0 micromatch: 4.0.4 - p-each-series: 2.2.0 - rimraf: 3.0.2 + pretty-format: 29.7.0 slash: 3.0.0 strip-ansi: 6.0.1 transitivePeerDependencies: - - bufferutil - - canvas + - babel-plugin-macros - supports-color - ts-node - - utf-8-validate - dev: true - - /@jest/environment@27.5.1: - resolution: {integrity: sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/fake-timers': 27.5.1 - '@jest/types': 27.5.1 - '@types/node': 20.2.5 - jest-mock: 27.5.1 dev: true /@jest/environment@29.5.0: @@ -5687,16 +4068,31 @@ packages: jest-mock: 29.5.0 dev: true - /@jest/fake-timers@27.5.1: - resolution: {integrity: sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/environment@29.7.0: + resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 - '@sinonjs/fake-timers': 8.1.0 + '@jest/fake-timers': 29.7.0 + '@jest/types': 29.6.3 '@types/node': 20.2.5 - jest-message-util: 27.5.1 - jest-mock: 27.5.1 - jest-util: 27.5.1 + jest-mock: 29.7.0 + dev: true + + /@jest/expect-utils@29.7.0: + resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + jest-get-type: 29.6.3 + dev: true + + /@jest/expect@29.7.0: + resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + expect: 29.7.0 + jest-snapshot: 29.7.0 + transitivePeerDependencies: + - supports-color dev: true /@jest/fake-timers@29.5.0: @@ -5711,18 +4107,33 @@ packages: jest-util: 29.5.0 dev: true - /@jest/globals@27.5.1: - resolution: {integrity: sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/fake-timers@29.7.0: + resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/environment': 27.5.1 - '@jest/types': 27.5.1 - expect: 27.5.1 + '@jest/types': 29.6.3 + '@sinonjs/fake-timers': 10.2.0 + '@types/node': 20.2.5 + jest-message-util: 29.7.0 + jest-mock: 29.7.0 + jest-util: 29.7.0 dev: true - /@jest/reporters@27.0.6: - resolution: {integrity: sha512-TIkBt09Cb2gptji3yJXb3EE+eVltW6BjO7frO7NEfjI9vSIYoISi5R3aI3KpEDXlB1xwB+97NXIqz84qYeYsfA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/globals@29.7.0: + resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/environment': 29.7.0 + '@jest/expect': 29.7.0 + '@jest/types': 29.6.3 + jest-mock: 29.7.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@jest/reporters@29.7.0: + resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -5730,29 +4141,29 @@ packages: optional: true dependencies: '@bcoe/v8-coverage': 0.2.3 - '@jest/console': 27.5.1 - '@jest/test-result': 27.5.1 - '@jest/transform': 27.5.1 - '@jest/types': 27.5.1 + '@jest/console': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@jridgewell/trace-mapping': 0.3.19 + '@types/node': 20.2.5 chalk: 4.0.0 collect-v8-coverage: 1.0.1 exit: 0.1.2 glob: 7.1.7 graceful-fs: 4.2.11 istanbul-lib-coverage: 3.2.0 - istanbul-lib-instrument: 4.0.3 + istanbul-lib-instrument: 6.0.1 istanbul-lib-report: 3.0.0 istanbul-lib-source-maps: 4.0.0 - istanbul-reports: 3.0.2 - jest-haste-map: 27.5.1 - jest-resolve: 27.5.1 - jest-util: 27.5.1 - jest-worker: 27.5.1 + istanbul-reports: 3.1.6 + jest-message-util: 29.7.0 + jest-util: 29.7.0 + jest-worker: 29.7.0 slash: 3.0.0 - source-map: 0.6.1 string-length: 4.0.1 - terminal-link: 2.1.1 - v8-to-istanbul: 8.0.0 + strip-ansi: 6.0.1 + v8-to-istanbul: 9.1.3 transitivePeerDependencies: - supports-color dev: true @@ -5764,75 +4175,47 @@ packages: '@sinclair/typebox': 0.25.24 dev: true - /@jest/source-map@27.5.1: - resolution: {integrity: sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/schemas@29.6.3: + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - callsites: 3.1.0 - graceful-fs: 4.2.11 - source-map: 0.6.1 + '@sinclair/typebox': 0.27.8 dev: true - /@jest/test-result@27.0.6: - resolution: {integrity: sha512-ja/pBOMTufjX4JLEauLxE3LQBPaI2YjGFtXexRAjt1I/MbfNlMx0sytSX3tn5hSLzQsR3Qy2rd0hc1BWojtj9w==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/source-map@29.6.3: + resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/console': 27.5.1 - '@jest/types': 27.5.1 - '@types/istanbul-lib-coverage': 2.0.4 - collect-v8-coverage: 1.0.1 + '@jridgewell/trace-mapping': 0.3.19 + callsites: 3.1.0 + graceful-fs: 4.2.11 dev: true - /@jest/test-result@27.5.1: - resolution: {integrity: sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/test-result@29.7.0: + resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/console': 27.5.1 - '@jest/types': 27.5.1 + '@jest/console': 29.7.0 + '@jest/types': 29.6.3 '@types/istanbul-lib-coverage': 2.0.4 collect-v8-coverage: 1.0.1 dev: true - /@jest/test-sequencer@27.0.6: - resolution: {integrity: sha512-bISzNIApazYOlTHDum9PwW22NOyDa6VI31n6JucpjTVM0jD6JDgqEZ9+yn575nDdPF0+4csYDxNNW13NvFQGZA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/test-result': 27.5.1 - graceful-fs: 4.2.11 - jest-haste-map: 27.5.1 - jest-runtime: 27.5.1 - transitivePeerDependencies: - - supports-color - dev: true - - /@jest/transform@27.5.1: - resolution: {integrity: sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/test-sequencer@29.7.0: + resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.18.0 - '@jest/types': 27.5.1 - babel-plugin-istanbul: 6.1.1 - chalk: 4.0.0 - convert-source-map: 1.9.0 - fast-json-stable-stringify: 2.1.0 + '@jest/test-result': 29.7.0 graceful-fs: 4.2.11 - jest-haste-map: 27.5.1 - jest-regex-util: 27.5.1 - jest-util: 27.5.1 - micromatch: 4.0.4 - pirates: 4.0.5 + jest-haste-map: 29.7.0 slash: 3.0.0 - source-map: 0.6.1 - write-file-atomic: 3.0.3 - transitivePeerDependencies: - - supports-color dev: true /@jest/transform@29.5.0: resolution: {integrity: sha512-8vbeZWqLJOvHaDfeMuoHITGKSz5qWc9u04lnWrQE3VyuSw604PzQM824ZeX9XSjUCeDiE3GuxZe5UKa8J61NQw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@jest/types': 29.5.0 '@jridgewell/trace-mapping': 0.3.17 babel-plugin-istanbul: 6.1.1 @@ -5851,26 +4234,27 @@ packages: - supports-color dev: true - /@jest/types@26.6.2: - resolution: {integrity: sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==} - engines: {node: '>= 10.14.2'} - dependencies: - '@types/istanbul-lib-coverage': 2.0.4 - '@types/istanbul-reports': 3.0.1 - '@types/node': 20.2.5 - '@types/yargs': 15.0.15 - chalk: 4.0.0 - dev: true - - /@jest/types@27.5.1: - resolution: {integrity: sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/transform@29.7.0: + resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/istanbul-lib-coverage': 2.0.4 - '@types/istanbul-reports': 3.0.1 - '@types/node': 20.2.5 - '@types/yargs': 16.0.5 + '@babel/core': 7.22.5 + '@jest/types': 29.6.3 + '@jridgewell/trace-mapping': 0.3.19 + babel-plugin-istanbul: 6.1.1 chalk: 4.0.0 + convert-source-map: 2.0.0 + fast-json-stable-stringify: 2.1.0 + graceful-fs: 4.2.11 + jest-haste-map: 29.7.0 + jest-regex-util: 29.6.3 + jest-util: 29.7.0 + micromatch: 4.0.4 + pirates: 4.0.5 + slash: 3.0.0 + write-file-atomic: 4.0.2 + transitivePeerDependencies: + - supports-color dev: true /@jest/types@29.5.0: @@ -5885,6 +4269,18 @@ packages: chalk: 4.1.2 dev: true + /@jest/types@29.6.3: + resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/schemas': 29.6.3 + '@types/istanbul-lib-coverage': 2.0.4 + '@types/istanbul-reports': 3.0.1 + '@types/node': 20.2.5 + '@types/yargs': 17.0.10 + chalk: 4.0.0 + dev: true + /@jridgewell/gen-mapping@0.3.1: resolution: {integrity: sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==} engines: {node: '>=6.0.0'} @@ -5893,6 +4289,14 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 '@jridgewell/trace-mapping': 0.3.17 + /@jridgewell/gen-mapping@0.3.3: + resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/set-array': 1.1.1 + '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/trace-mapping': 0.3.17 + /@jridgewell/resolve-uri@3.1.0: resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} @@ -5923,6 +4327,13 @@ packages: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 + /@jridgewell/trace-mapping@0.3.19: + resolution: {integrity: sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==} + dependencies: + '@jridgewell/resolve-uri': 3.1.0 + '@jridgewell/sourcemap-codec': 1.4.14 + dev: true + /@lerna/add@4.0.0: resolution: {integrity: sha512-cpmAH1iS3k8JBxNvnMqrGTTjbY/ZAiKa1ChJzFevMYY3eeqbvhsBKnBcxjRXtdrJ6bd3dCQM+ZtK+0i682Fhng==} engines: {node: '>= 10.18.0'} @@ -6674,7 +5085,7 @@ packages: react: '>=16' dependencies: '@types/mdx': 2.0.3 - '@types/react': 18.2.7 + '@types/react': 18.2.28 react: 18.2.0 /@mswjs/cookies@0.2.2: @@ -6742,6 +5153,12 @@ packages: dev: true optional: true + /@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1: + resolution: {integrity: sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==} + dependencies: + eslint-scope: 5.1.1 + dev: true + /@nodelib/fs.scandir@2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -7320,18 +5737,18 @@ packages: slash: 3.0.0 dev: true - /@rollup/plugin-babel@5.2.2(@babel/core@7.18.0)(rollup@2.35.1): + /@rollup/plugin-babel@5.2.2(@babel/core@7.22.5)(rollup@2.35.1): resolution: {integrity: sha512-MjmH7GvFT4TW8xFdIeFS3wqIX646y5tACdxkTO+khbHvS3ZcVJL6vkAHLw2wqPmkhwCfWHoNsp15VYNwW6JEJA==} engines: {node: '>= 10.0.0'} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@types/babel__core': ^7.1.9 rollup: ^1.20.0||^2.0.0 peerDependenciesMeta: '@types/babel__core': optional: true dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@babel/helper-module-imports': 7.21.4 '@rollup/pluginutils': 3.1.0(rollup@2.35.1) rollup: 2.35.1 @@ -7432,7 +5849,7 @@ packages: peerDependencies: ajv: 4.11.8 - 6 dependencies: - '@babel/code-frame': 7.12.11 + '@babel/code-frame': 7.22.5 ajv: 6.12.6 chalk: 2.4.2 json-to-ast: 2.1.0 @@ -7444,6 +5861,10 @@ packages: resolution: {integrity: sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ==} dev: true + /@sinclair/typebox@0.27.8: + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + dev: true + /@sindresorhus/is@0.14.0: resolution: {integrity: sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==} engines: {node: '>=6'} @@ -7454,12 +5875,6 @@ packages: engines: {node: '>=10'} dev: true - /@sinonjs/commons@1.8.6: - resolution: {integrity: sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==} - dependencies: - type-detect: 4.0.8 - dev: true - /@sinonjs/commons@3.0.0: resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} dependencies: @@ -7473,12 +5888,6 @@ packages: '@sinonjs/commons': 3.0.0 dev: true - /@sinonjs/fake-timers@8.1.0: - resolution: {integrity: sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==} - dependencies: - '@sinonjs/commons': 1.8.6 - dev: true - /@surma/rollup-plugin-off-main-thread@2.2.3: resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} dependencies: @@ -7557,14 +5966,14 @@ packages: resolution: {integrity: sha512-cAaR/CAiZRB8GP32N+1jocovUtvlj0+e65TB50/6Lcime+EA49m/8l+P2ko+XPJ4dw3xaPS3jOL4F2X4KWxoeQ==} engines: {node: '>=10'} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 dev: true /@svgr/plugin-jsx@5.5.0: resolution: {integrity: sha512-V/wVh33j12hGh05IDg8GpIUXbjAPnTdPTKuP4VNLggnwaHMPNQNae2pRnyTAILWCQdz5GyMqtO488g7CKM8CBA==} engines: {node: '>=10'} dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 '@svgr/babel-preset': 5.5.0 '@svgr/hast-util-to-babel-ast': 5.5.0 svg-parser: 2.0.4 @@ -7585,10 +5994,10 @@ packages: resolution: {integrity: sha512-DOBOK255wfQxguUta2INKkzPj6AIS6iafZYiYmHn6W3pHlycSRRlvWKCfLDG10fXfLWqE3DJHgRUOyJYmARa7g==} engines: {node: '>=10'} dependencies: - '@babel/core': 7.18.0 - '@babel/plugin-transform-react-constant-elements': 7.14.5(@babel/core@7.18.0) - '@babel/preset-env': 7.15.0(@babel/core@7.18.0) - '@babel/preset-react': 7.14.5(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@babel/plugin-transform-react-constant-elements': 7.14.5(@babel/core@7.22.5) + '@babel/preset-env': 7.22.5(@babel/core@7.22.5) + '@babel/preset-react': 7.22.5(@babel/core@7.22.5) '@svgr/core': 5.5.0 '@svgr/plugin-jsx': 5.5.0 '@svgr/plugin-svgo': 5.5.0 @@ -7773,8 +6182,8 @@ packages: resolution: {integrity: sha512-d9ULIT+a4EXLX3UU8FBjauG9NnsZHkHztXoIcTsOKoOw030fyjheN9svkTULjJxtYag9DZz5Jz5qkWZDPxTFwA==} engines: {node: '>=12'} dependencies: - '@babel/code-frame': 7.12.11 - '@babel/runtime': 7.15.4 + '@babel/code-frame': 7.22.5 + '@babel/runtime': 7.22.5 '@types/aria-query': 5.0.1 aria-query: 5.3.0 chalk: 4.1.2 @@ -7783,7 +6192,7 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/jest-dom@6.1.2(@types/jest@27.4.1)(jest@27.0.6): + /@testing-library/jest-dom@6.1.2(@types/jest@29.5.5)(jest@29.7.0): resolution: {integrity: sha512-NP9jl1Q2qDDtx+cqogowtQtmgD2OVs37iMSIsTv5eN5ETRkf26Kj6ugVwA93/gZzzFWQAsgkKkcftDe91BJCkQ==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} peerDependencies: @@ -7802,13 +6211,13 @@ packages: optional: true dependencies: '@adobe/css-tools': 4.3.1 - '@babel/runtime': 7.15.4 - '@types/jest': 27.4.1 + '@babel/runtime': 7.22.5 + '@types/jest': 29.5.5 aria-query: 5.3.0 chalk: 3.0.0 css.escape: 1.5.1 dom-accessibility-api: 0.5.13 - jest: 27.0.6 + jest: 29.7.0(@types/node@20.2.5) lodash: 4.17.20 redent: 3.0.0 dev: true @@ -7820,9 +6229,9 @@ packages: react: ^18.0.0 react-dom: ^18.0.0 dependencies: - '@babel/runtime': 7.16.7 + '@babel/runtime': 7.22.5 '@testing-library/dom': 8.20.0 - '@types/react-dom': 18.2.4 + '@types/react-dom': 18.2.13 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: true @@ -7873,12 +6282,17 @@ packages: /@types/babel__code-frame@7.0.2: resolution: {integrity: sha512-imO+jT/yjOKOAS5GQZ8SDtwiIloAGGr6OaZDKB0V5JVaSfGZLat5K5/ZRtyKW6R60XHV3RHYPTFfhYb+wDKyKg==} + dev: true + + /@types/babel__code-frame@7.0.3: + resolution: {integrity: sha512-2TN6oiwtNjOezilFVl77zwdNPwQWaDBBCCWWxyo1ctiO3vAtd7H/aB/CBJdw9+kqq3+latD0SXoedIuHySSZWw==} + dev: false /@types/babel__core@7.1.12: resolution: {integrity: sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ==} dependencies: - '@babel/parser': 7.18.0 - '@babel/types': 7.18.0 + '@babel/parser': 7.22.5 + '@babel/types': 7.22.5 '@types/babel__generator': 7.6.2 '@types/babel__template': 7.4.0 '@types/babel__traverse': 7.11.1 @@ -7887,36 +6301,36 @@ packages: /@types/babel__core@7.1.14: resolution: {integrity: sha512-zGZJzzBUVDo/eV6KgbE0f0ZI7dInEYvo12Rb70uNQDshC3SkRMb67ja0GgRHZgAX3Za6rhaWlvbDO8rrGyAb1g==} dependencies: - '@babel/parser': 7.18.0 - '@babel/types': 7.18.0 + '@babel/parser': 7.22.5 + '@babel/types': 7.22.5 '@types/babel__generator': 7.6.2 '@types/babel__template': 7.4.0 - '@types/babel__traverse': 7.11.1 + '@types/babel__traverse': 7.11.0 dev: true /@types/babel__generator@7.6.2: resolution: {integrity: sha512-MdSJnBjl+bdwkLskZ3NGFp9YcXGx5ggLpQQPqtgakVhsWK0hTtNYhjpZLlWQTviGTvF8at+Bvli3jV7faPdgeQ==} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 dev: true /@types/babel__template@7.4.0: resolution: {integrity: sha512-NTPErx4/FiPCGScH7foPyr+/1Dkzkni+rHiYHHoTjvwou7AQzJkNeD60A9CXRy+ZEN2B1bggmkTMCDb+Mv5k+A==} dependencies: - '@babel/parser': 7.18.0 - '@babel/types': 7.18.0 + '@babel/parser': 7.22.5 + '@babel/types': 7.22.5 dev: true /@types/babel__traverse@7.11.0: resolution: {integrity: sha512-kSjgDMZONiIfSH1Nxcr5JIRMwUetDki63FSQfpTCz8ogF3Ulqm8+mr5f78dUYs6vMiB6gBusQqfQmBvHZj/lwg==} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 dev: true /@types/babel__traverse@7.11.1: resolution: {integrity: sha512-Vs0hm0vPahPMYi9tDjtP66llufgO3ST16WXaSTtDGEl9cewAl3AibmxWw6TINOqHPT9z0uABKAYjT9jNSg4npw==} dependencies: - '@babel/types': 7.18.0 + '@babel/types': 7.22.5 dev: true /@types/body-parser@1.17.1: @@ -8132,11 +6546,11 @@ packages: '@types/istanbul-lib-report': 3.0.0 dev: true - /@types/jest@27.4.1: - resolution: {integrity: sha512-23iPJADSmicDVrWk+HT58LMJtzLAnB2AgIzplQuq/bSrGaxCrlvRFjGbXmamnnk/mAmCdLStiGqggu28ocUyiw==} + /@types/jest@29.5.5: + resolution: {integrity: sha512-ebylz2hnsWR9mYvmBFbXJXr+33UPc4+ZdxyDXh5w0FlPBTfCVN3wPL+kuOiQt3xvrK419v7XWeAs+AeOksafXg==} dependencies: - jest-matcher-utils: 27.5.1 - pretty-format: 27.5.1 + expect: 29.7.0 + pretty-format: 29.5.0 dev: true /@types/js-levenshtein@1.1.1: @@ -8150,6 +6564,14 @@ packages: recast: 0.20.5 dev: true + /@types/jsdom@20.0.1: + resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} + dependencies: + '@types/node': 20.2.5 + '@types/tough-cookie': 4.0.3 + parse5: 7.1.2 + dev: true + /@types/json-schema@7.0.12: resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} @@ -8264,16 +6686,12 @@ packages: resolution: {integrity: sha512-U0o4K+GNiK0PNxoDwd8xRnvLVe4kzei6opn3/FCjAriqaP+rfrDdSl1kP/hLL6Y3/Y3hhGnBwD4dCkkAqs1W/Q==} dev: true - /@types/prettier@2.2.3: - resolution: {integrity: sha512-PijRCG/K3s3w1We6ynUKdxEc5AcuuH3NBmMDP8uvKVp6X43UY7NQlTzczakXP3DJR0F4dfNQIGjU2cUeRYs2AA==} - dev: true - /@types/prompts@2.0.1: resolution: {integrity: sha512-AhtMcmETelF8wFDV1ucbChKhLgsc+ytXZXkNz/nnTAMSDeqsjALknEFxi7ZtLgS/G8bV2rp90LhDW5SGACimIQ==} dev: true - /@types/prop-types@15.7.3: - resolution: {integrity: sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==} + /@types/prop-types@15.7.8: + resolution: {integrity: sha512-kMpQpfZKSCBqltAJwskgePRaYRFukDkm1oItcAbC3gNELR20XIBcN9VRgg4+m8DKsTfkWeA4m4Imp4DDuWy7FQ==} /@types/q@1.5.2: resolution: {integrity: sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==} @@ -8287,24 +6705,24 @@ packages: resolution: {integrity: sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==} dev: true - /@types/react-dom@18.2.4: - resolution: {integrity: sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw==} + /@types/react-dom@18.2.13: + resolution: {integrity: sha512-eJIUv7rPP+EC45uNYp/ThhSpE16k22VJUknt5OLoH9tbXoi8bMhwLf5xRuWMywamNbWzhrSmU7IBJfPup1+3fw==} dependencies: - '@types/react': 18.2.7 + '@types/react': 18.2.28 dev: true /@types/react-is@17.0.3: resolution: {integrity: sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==} dependencies: - '@types/react': 18.2.7 + '@types/react': 18.2.28 dev: true - /@types/react@18.2.7: - resolution: {integrity: sha512-ojrXpSH2XFCmHm7Jy3q44nXDyN54+EYKP2lBhJ2bqfyPj6cIUW/FZW/Csdia34NQgq7KYcAlHi5184m4X88+yw==} + /@types/react@18.2.28: + resolution: {integrity: sha512-ad4aa/RaaJS3hyGz0BGegdnSRXQBkd1CCYDCdNjBPg90UUpLgo+WlJqb9fMYUxtehmzF3PJaTWqRZjko6BRzBg==} dependencies: - '@types/prop-types': 15.7.3 - '@types/scheduler': 0.16.2 - csstype: 3.0.10 + '@types/prop-types': 15.7.8 + '@types/scheduler': 0.16.4 + csstype: 3.1.2 /@types/relay-runtime@14.1.13: resolution: {integrity: sha512-NODqEnGjERJr02M0YQclUnXWCldmerNUkpFfuO317h/od1uXuwAW5131vpeiROE11BizPC/Qhup5VrwKsENazw==} @@ -8326,8 +6744,8 @@ packages: resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} dev: true - /@types/scheduler@0.16.2: - resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==} + /@types/scheduler@0.16.4: + resolution: {integrity: sha512-2L9ifAGl7wmXwP4v3pN4p2FLhD0O1qsJpvKmNin5VA8+UvNVb447UDaAEV6UdrkA+m/Xs58U1RFps44x6TFsVQ==} /@types/selenium-webdriver@4.0.15: resolution: {integrity: sha512-5760PIZkzhPejy3hsKAdCKe5LJygGdxLKOLxmZL9GEUcFlO5OgzM6G2EbdbvOnaw4xvUSa9Uip6Ipwkih12BPA==} @@ -8402,6 +6820,10 @@ packages: '@types/node': 20.2.5 dev: true + /@types/tough-cookie@4.0.3: + resolution: {integrity: sha512-THo502dA5PzG/sfQH+42Lw3fvmYkceefOspdCwpHRul8ik2Jv1K8I5OZz1AT3/rs46kwgMCe9bSBmDLYkkOMGg==} + dev: true + /@types/trusted-types@2.0.3: resolution: {integrity: sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==} dev: true @@ -8439,18 +6861,6 @@ packages: resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} dev: true - /@types/yargs@15.0.15: - resolution: {integrity: sha512-IziEYMU9XoVj8hWg7k+UJrXALkGFjWJhn5QFEv9q4p+v40oZhSuC135M38st8XPjICL7Ey4TV64ferBGUoJhBg==} - dependencies: - '@types/yargs-parser': 21.0.0 - dev: true - - /@types/yargs@16.0.5: - resolution: {integrity: sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==} - dependencies: - '@types/yargs-parser': 21.0.0 - dev: true - /@types/yargs@17.0.10: resolution: {integrity: sha512-gmEaFwpj/7f/ROdtIlci1R1VYU1J4j95m8T+Tj3iBgiBFKg1foE/PSl93bBd5T9LDXNPo8UlNN6W0qwD8O5OaA==} dependencies: @@ -8888,8 +7298,8 @@ packages: through: 2.3.8 dev: true - /abab@2.0.5: - resolution: {integrity: sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==} + /abab@2.0.6: + resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} dev: true /abbrev@1.1.1: @@ -8911,11 +7321,11 @@ packages: negotiator: 0.6.2 dev: true - /acorn-globals@6.0.0: - resolution: {integrity: sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==} + /acorn-globals@7.0.1: + resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} dependencies: - acorn: 7.4.1 - acorn-walk: 7.1.1 + acorn: 8.5.0 + acorn-walk: 8.2.0 dev: true /acorn-import-assertions@1.9.0(acorn@8.10.0): @@ -9551,6 +7961,12 @@ packages: retry: 0.12.0 dev: true + /async-retry@1.3.3: + resolution: {integrity: sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==} + dependencies: + retry: 0.13.1 + dev: true + /async-sema@3.0.0: resolution: {integrity: sha512-zyCMBDl4m71feawrxYcVbHxv/UUkqm4nKJiLu3+l9lfiQha6jQ/9dxhrXLnzzBXVFqCTDwiUkZOz9XFbdEGQsg==} dev: true @@ -9642,26 +8058,25 @@ packages: dequal: 2.0.3 dev: false - /babel-core@7.0.0-bridge.0(@babel/core@7.18.0): + /babel-core@7.0.0-bridge.0(@babel/core@7.22.5): resolution: {integrity: sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dev: false - /babel-jest@27.0.6(@babel/core@7.18.0): - resolution: {integrity: sha512-iTJyYLNc4wRofASmofpOc5NK9QunwMk+TLFgGXsTFS8uEqmd8wdI7sga0FPe2oVH3b5Agt/EAK1QjPEuKL8VfA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /babel-jest@29.7.0(@babel/core@7.22.5): + resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@jest/transform': 27.5.1 - '@jest/types': 27.5.1 + '@babel/core': 7.22.5 + '@jest/transform': 29.7.0 '@types/babel__core': 7.1.14 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 27.0.6(@babel/core@7.18.0) + babel-preset-jest: 29.6.3(@babel/core@7.22.5) chalk: 4.0.0 graceful-fs: 4.2.11 slash: 3.0.0 @@ -9669,16 +8084,11 @@ packages: - supports-color dev: true - /babel-plugin-dynamic-import-node@2.3.3: - resolution: {integrity: sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==} - dependencies: - object.assign: 4.1.4 - /babel-plugin-istanbul@6.1.1: resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} engines: {node: '>=8'} dependencies: - '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-plugin-utils': 7.21.5 '@istanbuljs/load-nyc-config': 1.0.0 '@istanbuljs/schema': 0.1.2 istanbul-lib-instrument: 5.2.0 @@ -9687,138 +8097,66 @@ packages: - supports-color dev: true - /babel-plugin-jest-hoist@27.0.6: - resolution: {integrity: sha512-CewFeM9Vv2gM7Yr9n5eyyLVPRSiBnk6lKZRjgwYnGKSl9M14TMn2vkN02wTF04OGuSDLEzlWiMzvjXuW9mB6Gw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@babel/template': 7.21.9 - '@babel/types': 7.18.0 - '@types/babel__core': 7.1.14 - '@types/babel__traverse': 7.11.1 - dev: true - - /babel-plugin-macros@3.0.1: - resolution: {integrity: sha512-CKt4+Oy9k2wiN+hT1uZzOw7d8zb1anbQpf7KLwaaXRCi/4pzKdFKHf7v5mvoPmjkmxshh7eKZQuRop06r5WP4w==} - engines: {node: '>=10', npm: '>=6'} - dependencies: - '@babel/runtime': 7.15.4 - cosmiconfig: 7.0.0 - resolve: 1.22.2 - dev: true - - /babel-plugin-macros@3.1.0: - resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} - engines: {node: '>=10', npm: '>=6'} - dependencies: - '@babel/runtime': 7.15.4 - cosmiconfig: 7.0.0 - resolve: 1.22.2 - dev: true - - /babel-plugin-polyfill-corejs2@0.2.2(@babel/core@7.18.0): - resolution: {integrity: sha512-kISrENsJ0z5dNPq5eRvcctITNHYXWOA4DUZRFYCz3jYCcvTb/A546LIddmoGNMVYg2U38OyFeNosQwI9ENTqIQ==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/compat-data': 7.22.3 - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.2.3(@babel/core@7.18.0) - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-polyfill-corejs2@0.3.1(@babel/core@7.18.0): - resolution: {integrity: sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/compat-data': 7.17.10 - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.3.1(@babel/core@7.18.0) - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - - /babel-plugin-polyfill-corejs2@0.4.3(@babel/core@7.18.0): - resolution: {integrity: sha512-bM3gHc337Dta490gg+/AseNB9L4YLHxq1nGKZZSHbhXv4aTYU2MD2cjza1Ru4S6975YLTaL1K8uJf6ukJhhmtw==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/compat-data': 7.22.3 - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.4.0(@babel/core@7.18.0) - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-polyfill-corejs3@0.2.3(@babel/core@7.18.0): - resolution: {integrity: sha512-rCOFzEIJpJEAU14XCcV/erIf/wZQMmMT5l5vXOpL5uoznyOGfDIjPj6FVytMvtzaKSTSVKouOCTPJ5OMUZH30g==} - peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.2.3(@babel/core@7.18.0) - core-js-compat: 3.30.2 - transitivePeerDependencies: - - supports-color + /babel-plugin-jest-hoist@29.6.3: + resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@babel/template': 7.22.15 + '@babel/types': 7.22.5 + '@types/babel__core': 7.1.14 + '@types/babel__traverse': 7.11.0 dev: true - /babel-plugin-polyfill-corejs3@0.5.2(@babel/core@7.18.0): - resolution: {integrity: sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==} - peerDependencies: - '@babel/core': 7.18.0 + /babel-plugin-macros@3.0.1: + resolution: {integrity: sha512-CKt4+Oy9k2wiN+hT1uZzOw7d8zb1anbQpf7KLwaaXRCi/4pzKdFKHf7v5mvoPmjkmxshh7eKZQuRop06r5WP4w==} + engines: {node: '>=10', npm: '>=6'} dependencies: - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.3.1(@babel/core@7.18.0) - core-js-compat: 3.22.7 - transitivePeerDependencies: - - supports-color + '@babel/runtime': 7.22.5 + cosmiconfig: 7.0.0 + resolve: 1.22.2 + dev: true - /babel-plugin-polyfill-corejs3@0.8.1(@babel/core@7.18.0): - resolution: {integrity: sha512-ikFrZITKg1xH6pLND8zT14UPgjKHiGLqex7rGEZCH2EvhsneJaJPemmpQaIZV5AL03II+lXylw3UmddDK8RU5Q==} - peerDependencies: - '@babel/core': 7.18.0 + /babel-plugin-macros@3.1.0: + resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} + engines: {node: '>=10', npm: '>=6'} dependencies: - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.4.0(@babel/core@7.18.0) - core-js-compat: 3.30.2 - transitivePeerDependencies: - - supports-color + '@babel/runtime': 7.22.5 + cosmiconfig: 7.0.0 + resolve: 1.22.4 dev: true - /babel-plugin-polyfill-regenerator@0.2.2(@babel/core@7.18.0): - resolution: {integrity: sha512-Goy5ghsc21HgPDFtzRkSirpZVW35meGoTmTOb2bxqdl60ghub4xOidgNTHaZfQ2FaxQsKmwvXtOAkcIS4SMBWg==} + /babel-plugin-polyfill-corejs2@0.4.3(@babel/core@7.22.5): + resolution: {integrity: sha512-bM3gHc337Dta490gg+/AseNB9L4YLHxq1nGKZZSHbhXv4aTYU2MD2cjza1Ru4S6975YLTaL1K8uJf6ukJhhmtw==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.2.3(@babel/core@7.18.0) + '@babel/compat-data': 7.22.3 + '@babel/core': 7.22.5 + '@babel/helper-define-polyfill-provider': 0.4.0(@babel/core@7.22.5) + semver: 6.3.1 transitivePeerDependencies: - supports-color - dev: true - /babel-plugin-polyfill-regenerator@0.3.1(@babel/core@7.18.0): - resolution: {integrity: sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==} + /babel-plugin-polyfill-corejs3@0.8.1(@babel/core@7.22.5): + resolution: {integrity: sha512-ikFrZITKg1xH6pLND8zT14UPgjKHiGLqex7rGEZCH2EvhsneJaJPemmpQaIZV5AL03II+lXylw3UmddDK8RU5Q==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.3.1(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@babel/helper-define-polyfill-provider': 0.4.0(@babel/core@7.22.5) + core-js-compat: 3.30.2 transitivePeerDependencies: - supports-color - /babel-plugin-polyfill-regenerator@0.5.0(@babel/core@7.18.0): + /babel-plugin-polyfill-regenerator@0.5.0(@babel/core@7.22.5): resolution: {integrity: sha512-hDJtKjMLVa7Z+LwnTCxoDLQj6wdc+B8dun7ayF2fYieI6OzfuvcLMB32ihJZ4UhCBwNYGl5bg/x/P9cMdnkc2g==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/helper-define-polyfill-provider': 0.4.0(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@babel/helper-define-polyfill-provider': 0.4.0(@babel/core@7.22.5) transitivePeerDependencies: - supports-color - dev: true /babel-plugin-transform-async-to-promises@0.8.15: resolution: {integrity: sha512-fDXP68ZqcinZO2WCiimCL9zhGjGXOnn3D33zvbh+yheZ/qOrNVVDDIBtAaM3Faz8TRvQzHiRKsu3hfrBAhEncQ==} @@ -9836,44 +8174,44 @@ packages: resolution: {integrity: sha512-eqj0hVcJUR57/Ug2zE1Yswsw4LhuqqHhD+8v120T1cl3kjg76QwtyBrdIk4WVwK+lAhBJVYCd/v+4nc4y+8JsA==} dev: true - /babel-plugin-transform-replace-expressions@0.2.0(@babel/core@7.18.0): + /babel-plugin-transform-replace-expressions@0.2.0(@babel/core@7.22.5): resolution: {integrity: sha512-Eh1rRd9hWEYgkgoA3D0kGp7xJ/wgVshgsqmq60iC4HVWD+Lux+fNHSHBa2v1Hsv+dHflShC71qKhiH40OiPtDA==} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - '@babel/parser': 7.18.0 + '@babel/core': 7.22.5 + '@babel/parser': 7.22.5 dev: true - /babel-preset-current-node-syntax@1.0.1(@babel/core@7.18.0): + /babel-preset-current-node-syntax@1.0.1(@babel/core@7.22.5): resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} peerDependencies: - '@babel/core': 7.18.0 - dependencies: - '@babel/core': 7.18.0 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.18.0) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.18.0) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.18.0) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.18.0) - dev: true - - /babel-preset-jest@27.0.6(@babel/core@7.18.0): - resolution: {integrity: sha512-WObA0/Biw2LrVVwZkF/2GqbOdzhKD6Fkdwhoy9ASIrOWr/zodcSpQh72JOkEn6NWyjmnPDjNSqaGN4KnpKzhXw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + '@babel/core': 7.22.5 + dependencies: + '@babel/core': 7.22.5 + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.5) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.22.5) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.22.5) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.5) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.5) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.5) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.22.5) + dev: true + + /babel-preset-jest@29.6.3(@babel/core@7.22.5): + resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 dependencies: - '@babel/core': 7.18.0 - babel-plugin-jest-hoist: 27.0.6 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.18.0) + '@babel/core': 7.22.5 + babel-plugin-jest-hoist: 29.6.3 + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.5) dev: true /bail@1.0.4: @@ -10077,10 +8415,6 @@ packages: base64-js: 1.5.1 dev: true - /browser-process-hrtime@1.0.0: - resolution: {integrity: sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==} - dev: true - /browserify-aes@1.2.0: resolution: {integrity: sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==} dependencies: @@ -11139,7 +9473,7 @@ packages: json-stringify-safe: 5.0.1 lodash: 4.17.20 meow: 8.1.2 - semver: 6.3.0 + semver: 6.3.1 split: 1.0.1 through2: 4.0.2 dev: true @@ -11186,14 +9520,8 @@ packages: engines: {node: '>=8'} dev: true - /convert-source-map@1.7.0: - resolution: {integrity: sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==} - dependencies: - safe-buffer: 5.1.2 - /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} - dev: true /convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} @@ -11228,24 +9556,10 @@ packages: requiresBuild: true dev: false - /core-js-compat@3.16.2: - resolution: {integrity: sha512-4lUshXtBXsdmp8cDWh6KKiHUg40AjiuPD3bOWkNVsr1xkAhpUqCjaZ8lB1bKx9Gb5fXcbRbFJ4f4qpRIRTuJqQ==} - dependencies: - browserslist: 4.20.2 - semver: 7.0.0 - dev: true - - /core-js-compat@3.22.7: - resolution: {integrity: sha512-uI9DAQKKiiE/mclIC5g4AjRpio27g+VMRhe6rQoz+q4Wm4L6A/fJhiLtBw+sfOpDG9wZ3O0pxIw7GbfOlBgjOA==} - dependencies: - browserslist: 4.20.2 - semver: 7.0.0 - /core-js-compat@3.30.2: resolution: {integrity: sha512-nriW1nuJjUgvkEjIot1Spwakz52V9YkYHZAQG6A1eCgC8AA1p0zngrQEP9R0+V6hji5XilWKG1Bd0YRppmGimA==} dependencies: browserslist: 4.20.2 - dev: true /core-js@3.6.5: resolution: {integrity: sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==} @@ -11351,6 +9665,25 @@ packages: sha.js: 2.4.11 dev: true + /create-jest@29.7.0(@types/node@20.2.5): + resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + hasBin: true + dependencies: + '@jest/types': 29.6.3 + chalk: 4.0.0 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-config: 29.7.0(@types/node@20.2.5) + jest-util: 29.7.0 + prompts: 2.1.0 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + dev: true + /critters@0.0.6: resolution: {integrity: sha512-NUB3Om7tkf+XWi9+2kJ2A3l4/tHORDI1UT+nHxUqay2B/tJvMpiXcklDDLBH3fPn9Pe23uu0we/08Ukjy4cLCQ==} dependencies: @@ -11785,8 +10118,8 @@ packages: resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} dev: true - /cssom@0.4.4: - resolution: {integrity: sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==} + /cssom@0.5.0: + resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==} dev: true /cssstyle@2.3.0: @@ -11796,8 +10129,8 @@ packages: cssom: 0.3.8 dev: true - /csstype@3.0.10: - resolution: {integrity: sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==} + /csstype@3.1.2: + resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} /currently-unhandled@0.4.1: resolution: {integrity: sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==} @@ -11844,13 +10177,13 @@ packages: resolution: {integrity: sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==} engines: {node: '>= 6'} - /data-urls@2.0.0: - resolution: {integrity: sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==} - engines: {node: '>=10'} + /data-urls@3.0.2: + resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} + engines: {node: '>=12'} dependencies: - abab: 2.0.5 - whatwg-mimetype: 2.3.0 - whatwg-url: 8.7.0 + abab: 2.0.6 + whatwg-mimetype: 3.0.0 + whatwg-url: 11.0.0 dev: true /date-fns@1.30.1: @@ -11983,8 +10316,8 @@ packages: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} - /decimal.js@10.2.1: - resolution: {integrity: sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw==} + /decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} dev: true /decode-named-character-reference@1.0.2: @@ -12014,6 +10347,15 @@ packages: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} dev: true + /dedent@1.5.1: + resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} + peerDependencies: + babel-plugin-macros: ^3.1.0 + peerDependenciesMeta: + babel-plugin-macros: + optional: true + dev: true + /deep-extend@0.6.0: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} @@ -12251,14 +10593,9 @@ packages: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} dev: true - /diff-sequences@26.6.2: - resolution: {integrity: sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==} - engines: {node: '>= 10.14.2'} - dev: true - - /diff-sequences@27.5.1: - resolution: {integrity: sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /diff-sequences@29.6.3: + resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true /diff@5.1.0: @@ -12310,8 +10647,8 @@ packages: /dom-helpers@5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} dependencies: - '@babel/runtime': 7.15.4 - csstype: 3.0.10 + '@babel/runtime': 7.22.5 + csstype: 3.1.2 dev: true /dom-serializer@0.1.1: @@ -12359,11 +10696,11 @@ packages: /domelementtype@2.2.0: resolution: {integrity: sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==} - /domexception@2.0.1: - resolution: {integrity: sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==} - engines: {node: '>=8'} + /domexception@4.0.0: + resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} + engines: {node: '>=12'} dependencies: - webidl-conversions: 5.0.0 + webidl-conversions: 7.0.0 dev: true /domhandler@2.4.2: @@ -12457,14 +10794,20 @@ packages: is-obj: 2.0.0 dev: true - /dotenv-expand@8.0.1: - resolution: {integrity: sha512-j/Ih7bIERDR5PzI89Zu8ayd3tXZ6E3dbY0ljQ9Db0K87qBO8zdLsi2dIvDHMWtjC3Yxb8XixOTHAtia0fDHRpg==} + /dotenv-expand@10.0.0: + resolution: {integrity: sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==} engines: {node: '>=12'} dev: true /dotenv@10.0.0: resolution: {integrity: sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==} engines: {node: '>=10'} + dev: false + + /dotenv@16.3.1: + resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==} + engines: {node: '>=12'} + dev: true /downsample-lttb@0.0.1: resolution: {integrity: sha512-Olebo5gyh44OAXTd2BKdcbN5VaZOIKFzoeo9JUFwxDlGt6Sd8fUo6SKaLcafy8aP2UrsKmWDpsscsFEghMjeZA==} @@ -12546,9 +10889,9 @@ packages: resolution: {integrity: sha512-DlYAjELhPGbpH7qLS00H+CnoLxKxZblXuLDBwl1I8ozlQ0xITmlopiEunFmb3lYzrSD+EW7sIEw5fSoZgNiO8Q==} dev: false - /emittery@0.8.1: - resolution: {integrity: sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==} - engines: {node: '>=10'} + /emittery@0.13.1: + resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} + engines: {node: '>=12'} dev: true /emoji-regex@10.2.1: @@ -12616,6 +10959,11 @@ packages: /entities@2.0.0: resolution: {integrity: sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==} + /entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + dev: true + /env-paths@2.2.0: resolution: {integrity: sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA==} engines: {node: '>=6'} @@ -13560,7 +11908,7 @@ packages: dev: true /exit@0.1.2: - resolution: {integrity: sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=} + resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} engines: {node: '>= 0.8.0'} dev: true @@ -13597,26 +11945,15 @@ packages: resolution: {integrity: sha512-ed3+tr5ujbIYXZ8Pl/VgIphwJQ0q5tBLGGdn7Zvwt1WyPBRX83xjT5pT77P/GkuQbctx0K2ZNSSan7eruJqTCQ==} dev: true - /expect@26.6.2: - resolution: {integrity: sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==} - engines: {node: '>= 10.14.2'} - dependencies: - '@jest/types': 26.6.2 - ansi-styles: 4.3.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 - dev: true - - /expect@27.5.1: - resolution: {integrity: sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /expect@29.7.0: + resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 - jest-get-type: 27.5.1 - jest-matcher-utils: 27.5.1 - jest-message-util: 27.5.1 + '@jest/expect-utils': 29.7.0 + jest-get-type: 29.6.3 + jest-matcher-utils: 29.7.0 + jest-message-util: 29.7.0 + jest-util: 29.7.0 dev: true /express@4.17.0: @@ -14454,7 +12791,7 @@ packages: hasBin: true dependencies: meow: 8.1.2 - semver: 6.3.0 + semver: 6.3.1 dev: true /git-spawned-stream@1.0.0: @@ -15142,11 +13479,11 @@ packages: resolution: {integrity: sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==} dev: true - /html-encoding-sniffer@2.0.1: - resolution: {integrity: sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==} - engines: {node: '>=10'} + /html-encoding-sniffer@3.0.0: + resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} + engines: {node: '>=12'} dependencies: - whatwg-encoding: 1.0.5 + whatwg-encoding: 2.0.0 dev: true /html-escaper@2.0.2: @@ -15158,7 +13495,7 @@ packages: engines: {node: '>= 8.5'} hasBin: true dependencies: - '@babel/code-frame': 7.12.11 + '@babel/code-frame': 7.22.5 '@sidvind/better-ajv-errors': 0.6.10(ajv@6.12.6) acorn-walk: 8.2.0 ajv: 6.12.6 @@ -15365,6 +13702,13 @@ packages: safer-buffer: 2.1.2 dev: true + /iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + dependencies: + safer-buffer: 2.1.2 + dev: true + /icss-replace-symbols@1.1.0: resolution: {integrity: sha512-chIaY3Vh2mh2Q3RGXttaDIzeiPvaVXJ+C4DAh/w3c37SKZ/U6PGMmuicR2EQQp9bKG8zLMCl7I+PtIoOOPp8Gg==} dev: true @@ -15784,13 +14128,6 @@ packages: ci-info: 2.0.0 dev: true - /is-ci@3.0.0: - resolution: {integrity: sha512-kDXyttuLeslKAHYL/K28F2YkM3x5jvFPEw3yXbRptXydjD9rpLEz+C5K5iutY9ZiUu6AP41JdvRQwF4Iqs4ZCQ==} - hasBin: true - dependencies: - ci-info: 3.8.0 - dev: true - /is-color-stop@1.1.0: resolution: {integrity: sha512-H1U8Vz0cfXNujrJzEcvvwMDW9Ra+biSYA3ThdQvAnMLJkEHQXn6bWzLkxHtVYJ+Sdbx0b6finn3jZiaVe7MAHA==} dependencies: @@ -15817,7 +14154,6 @@ packages: resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==} dependencies: has: 1.0.3 - dev: false /is-data-descriptor@0.1.4: resolution: {integrity: sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==} @@ -16369,27 +14705,28 @@ packages: engines: {node: '>=8'} dev: true - /istanbul-lib-instrument@4.0.3: - resolution: {integrity: sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==} + /istanbul-lib-instrument@5.2.0: + resolution: {integrity: sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 + '@babel/parser': 7.22.5 '@istanbuljs/schema': 0.1.2 istanbul-lib-coverage: 3.2.0 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /istanbul-lib-instrument@5.2.0: - resolution: {integrity: sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==} - engines: {node: '>=8'} + /istanbul-lib-instrument@6.0.1: + resolution: {integrity: sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA==} + engines: {node: '>=10'} dependencies: - '@babel/core': 7.18.0 - '@babel/parser': 7.18.0 + '@babel/core': 7.22.5 + '@babel/parser': 7.22.5 '@istanbuljs/schema': 0.1.2 istanbul-lib-coverage: 3.2.0 - semver: 6.3.0 + semver: 7.5.4 transitivePeerDependencies: - supports-color dev: true @@ -16414,8 +14751,8 @@ packages: - supports-color dev: true - /istanbul-reports@3.0.2: - resolution: {integrity: sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==} + /istanbul-reports@3.1.6: + resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==} engines: {node: '>=8'} dependencies: html-escaper: 2.0.2 @@ -16451,45 +14788,47 @@ packages: minimatch: 3.0.4 dev: true - /jest-changed-files@27.0.6: - resolution: {integrity: sha512-BuL/ZDauaq5dumYh5y20sn4IISnf1P9A0TDswTxUi84ORGtVa86ApuBHqICL0vepqAnZiY6a7xeSPWv2/yy4eA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-changed-files@29.7.0: + resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 execa: 5.0.0 - throat: 6.0.1 + jest-util: 29.7.0 + p-limit: 3.1.0 dev: true - /jest-circus@27.5.1: - resolution: {integrity: sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-circus@29.7.0: + resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/environment': 27.5.1 - '@jest/test-result': 27.5.1 - '@jest/types': 27.5.1 + '@jest/environment': 29.7.0 + '@jest/expect': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 '@types/node': 20.2.5 - chalk: 4.1.2 + chalk: 4.0.0 co: 4.6.0 - dedent: 0.7.0 - expect: 27.5.1 + dedent: 1.5.1 is-generator-fn: 2.1.0 - jest-each: 27.5.1 - jest-matcher-utils: 27.5.1 - jest-message-util: 27.5.1 - jest-runtime: 27.5.1 - jest-snapshot: 27.5.1 - jest-util: 27.5.1 - pretty-format: 27.5.1 + jest-each: 29.7.0 + jest-matcher-utils: 29.7.0 + jest-message-util: 29.7.0 + jest-runtime: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + p-limit: 3.1.0 + pretty-format: 29.7.0 + pure-rand: 6.0.4 slash: 3.0.0 - stack-utils: 2.0.5 - throat: 6.0.1 + stack-utils: 2.0.6 transitivePeerDependencies: + - babel-plugin-macros - supports-color dev: true - /jest-cli@27.0.6: - resolution: {integrity: sha512-qUUVlGb9fdKir3RDE+B10ULI+LQrz+MCflEH2UJyoUjoHHCbxDrMxSzjQAPUMsic4SncI62ofYCcAvW6+6rhhg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-cli@29.7.0(@types/node@20.2.5): + resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -16497,174 +14836,144 @@ packages: node-notifier: optional: true dependencies: - '@jest/core': 27.0.6 - '@jest/test-result': 27.0.6 - '@jest/types': 27.5.1 + '@jest/core': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 chalk: 4.0.0 + create-jest: 29.7.0(@types/node@20.2.5) exit: 0.1.2 - graceful-fs: 4.2.11 import-local: 3.0.2 - jest-config: 27.0.6 - jest-util: 27.5.1 - jest-validate: 27.0.6 - prompts: 2.3.0 - yargs: 16.2.0 + jest-config: 29.7.0(@types/node@20.2.5) + jest-util: 29.7.0 + jest-validate: 29.7.0 + yargs: 17.5.1 transitivePeerDependencies: - - bufferutil - - canvas + - '@types/node' + - babel-plugin-macros - supports-color - ts-node - - utf-8-validate dev: true - /jest-config@27.0.6: - resolution: {integrity: sha512-JZRR3I1Plr2YxPBhgqRspDE2S5zprbga3swYNrvY3HfQGu7p/GjyLOqwrYad97tX3U3mzT53TPHVmozacfP/3w==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-config@29.7.0(@types/node@20.2.5): + resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: + '@types/node': 20.2.5 ts-node: '>=9.0.0' peerDependenciesMeta: + '@types/node': + optional: true ts-node: optional: true dependencies: - '@babel/core': 7.18.0 - '@jest/test-sequencer': 27.0.6 - '@jest/types': 27.5.1 - babel-jest: 27.0.6(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.2.5 + babel-jest: 29.7.0(@babel/core@7.22.5) chalk: 4.0.0 + ci-info: 3.8.0 deepmerge: 4.2.2 glob: 7.1.7 graceful-fs: 4.2.11 - is-ci: 3.0.0 - jest-circus: 27.5.1 - jest-environment-jsdom: 27.0.6 - jest-environment-node: 27.5.1 - jest-get-type: 27.5.1 - jest-jasmine2: 27.0.6 - jest-regex-util: 27.5.1 - jest-resolve: 27.5.1 - jest-runner: 27.0.6 - jest-util: 27.5.1 - jest-validate: 27.5.1 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 micromatch: 4.0.4 - pretty-format: 27.5.1 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 transitivePeerDependencies: - - bufferutil - - canvas + - babel-plugin-macros - supports-color - - utf-8-validate - dev: true - - /jest-diff@26.6.2: - resolution: {integrity: sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==} - engines: {node: '>= 10.14.2'} - dependencies: - chalk: 4.0.0 - diff-sequences: 26.6.2 - jest-get-type: 26.3.0 - pretty-format: 26.6.2 dev: true - /jest-diff@27.5.1: - resolution: {integrity: sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-diff@29.7.0: + resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: chalk: 4.0.0 - diff-sequences: 27.5.1 - jest-get-type: 27.5.1 - pretty-format: 27.5.1 + diff-sequences: 29.6.3 + jest-get-type: 29.6.3 + pretty-format: 29.7.0 dev: true - /jest-docblock@27.0.6: - resolution: {integrity: sha512-Fid6dPcjwepTFraz0YxIMCi7dejjJ/KL9FBjPYhBp4Sv1Y9PdhImlKZqYU555BlN4TQKaTc+F2Av1z+anVyGkA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-docblock@29.7.0: + resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: detect-newline: 3.1.0 dev: true - /jest-each@27.5.1: - resolution: {integrity: sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-each@29.7.0: + resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 + '@jest/types': 29.6.3 chalk: 4.0.0 - jest-get-type: 27.5.1 - jest-util: 27.5.1 - pretty-format: 27.5.1 + jest-get-type: 29.6.3 + jest-util: 29.7.0 + pretty-format: 29.7.0 dev: true - /jest-environment-jsdom@27.0.6: - resolution: {integrity: sha512-FvetXg7lnXL9+78H+xUAsra3IeZRTiegA3An01cWeXBspKXUhAwMM9ycIJ4yBaR0L7HkoMPaZsozCLHh4T8fuw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-environment-jsdom@29.7.0: + resolution: {integrity: sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true dependencies: - '@jest/environment': 27.5.1 - '@jest/fake-timers': 27.5.1 - '@jest/types': 27.5.1 + '@jest/environment': 29.7.0 + '@jest/fake-timers': 29.7.0 + '@jest/types': 29.6.3 + '@types/jsdom': 20.0.1 '@types/node': 20.2.5 - jest-mock: 27.5.1 - jest-util: 27.5.1 - jsdom: 16.7.0 + jest-mock: 29.7.0 + jest-util: 29.7.0 + jsdom: 20.0.3 transitivePeerDependencies: - bufferutil - - canvas - supports-color - utf-8-validate dev: true - /jest-environment-node@27.5.1: - resolution: {integrity: sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-environment-node@29.7.0: + resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/environment': 27.5.1 - '@jest/fake-timers': 27.5.1 - '@jest/types': 27.5.1 + '@jest/environment': 29.7.0 + '@jest/fake-timers': 29.7.0 + '@jest/types': 29.6.3 '@types/node': 20.2.5 - jest-mock: 27.5.1 - jest-util: 27.5.1 + jest-mock: 29.7.0 + jest-util: 29.7.0 dev: true - /jest-extended@1.2.1: - resolution: {integrity: sha512-eKZR5iDpyTkcDesj16FpIPnjAWQNUB81ZFQW08EIddM6iqO7DjRIi39td9qol+1dpJS4Mqr9Qzp8ZMhanbSeug==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + /jest-extended@4.0.2(jest@29.7.0): + resolution: {integrity: sha512-FH7aaPgtGYHc9mRjriS0ZEHYM5/W69tLrFTIdzm+yJgeoCmmrSB/luSfMSqWP9O29QWHPEmJ4qmU6EwsZideog==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + jest: '>=27.2.5' + peerDependenciesMeta: + jest: + optional: true dependencies: - expect: 26.6.2 - jest-diff: 27.5.1 - jest-get-type: 27.0.6 - jest-matcher-utils: 27.5.1 - dev: true - - /jest-get-type@26.3.0: - resolution: {integrity: sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==} - engines: {node: '>= 10.14.2'} - dev: true - - /jest-get-type@27.0.6: - resolution: {integrity: sha512-XTkK5exIeUbbveehcSR8w0bhH+c0yloW/Wpl+9vZrjzztCPWrxhHwkIFpZzCt71oRBsgxmuUfxEqOYoZI2macg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dev: true - - /jest-get-type@27.5.1: - resolution: {integrity: sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + jest: 29.7.0(@types/node@20.2.5) + jest-diff: 29.7.0 + jest-get-type: 29.6.3 dev: true - /jest-haste-map@27.5.1: - resolution: {integrity: sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.5.1 - '@types/graceful-fs': 4.1.3 - '@types/node': 20.2.5 - anymatch: 3.1.3 - fb-watchman: 2.0.1 - graceful-fs: 4.2.11 - jest-regex-util: 27.5.1 - jest-serializer: 27.5.1 - jest-util: 27.5.1 - jest-worker: 27.5.1 - micromatch: 4.0.4 - walker: 1.0.8 - optionalDependencies: - fsevents: 2.3.3 + /jest-get-type@29.6.3: + resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true /jest-haste-map@29.5.0: @@ -16676,7 +14985,7 @@ packages: '@types/node': 20.2.5 anymatch: 3.1.3 fb-watchman: 2.0.1 - graceful-fs: 4.2.11 + graceful-fs: 4.2.10 jest-regex-util: 29.4.3 jest-util: 29.5.0 jest-worker: 29.5.0 @@ -16686,30 +14995,23 @@ packages: fsevents: 2.3.3 dev: true - /jest-jasmine2@27.0.6: - resolution: {integrity: sha512-cjpH2sBy+t6dvCeKBsHpW41mjHzXgsavaFMp+VWRf0eR4EW8xASk1acqmljFtK2DgyIECMv2yCdY41r2l1+4iA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-haste-map@29.7.0: + resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/traverse': 7.18.0 - '@jest/environment': 27.5.1 - '@jest/source-map': 27.5.1 - '@jest/test-result': 27.5.1 - '@jest/types': 27.5.1 + '@jest/types': 29.6.3 + '@types/graceful-fs': 4.1.3 '@types/node': 20.2.5 - chalk: 4.0.0 - co: 4.6.0 - expect: 27.5.1 - is-generator-fn: 2.1.0 - jest-each: 27.5.1 - jest-matcher-utils: 27.5.1 - jest-message-util: 27.5.1 - jest-runtime: 27.5.1 - jest-snapshot: 27.5.1 - jest-util: 27.5.1 - pretty-format: 27.5.1 - throat: 6.0.1 - transitivePeerDependencies: - - supports-color + anymatch: 3.1.3 + fb-watchman: 2.0.1 + graceful-fs: 4.2.11 + jest-regex-util: 29.6.3 + jest-util: 29.7.0 + jest-worker: 29.7.0 + micromatch: 4.0.4 + walker: 1.0.8 + optionalDependencies: + fsevents: 2.3.3 dev: true /jest-junit@16.0.0: @@ -16722,109 +15024,73 @@ packages: xml: 1.0.1 dev: true - /jest-leak-detector@27.0.6: - resolution: {integrity: sha512-2/d6n2wlH5zEcdctX4zdbgX8oM61tb67PQt4Xh8JFAIy6LRKUnX528HulkaG6nD5qDl5vRV1NXejCe1XRCH5gQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - jest-get-type: 27.5.1 - pretty-format: 27.5.1 - dev: true - - /jest-matcher-utils@26.6.2: - resolution: {integrity: sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==} - engines: {node: '>= 10.14.2'} - dependencies: - chalk: 4.0.0 - jest-diff: 26.6.2 - jest-get-type: 26.3.0 - pretty-format: 26.6.2 - dev: true - - /jest-matcher-utils@27.5.1: - resolution: {integrity: sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-leak-detector@29.7.0: + resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - chalk: 4.0.0 - jest-diff: 27.5.1 - jest-get-type: 27.5.1 - pretty-format: 27.5.1 + jest-get-type: 29.6.3 + pretty-format: 29.7.0 dev: true - /jest-message-util@26.6.2: - resolution: {integrity: sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==} - engines: {node: '>= 10.14.2'} + /jest-matcher-utils@29.7.0: + resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/code-frame': 7.12.11 - '@jest/types': 26.6.2 - '@types/stack-utils': 2.0.1 chalk: 4.0.0 - graceful-fs: 4.2.11 - micromatch: 4.0.4 - pretty-format: 26.6.2 - slash: 3.0.0 - stack-utils: 2.0.6 + jest-diff: 29.7.0 + jest-get-type: 29.6.3 + pretty-format: 29.7.0 dev: true - /jest-message-util@27.5.1: - resolution: {integrity: sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-message-util@29.5.0: + resolution: {integrity: sha512-Kijeg9Dag6CKtIDA7O21zNTACqD5MD/8HfIV8pdD94vFyFuer52SigdC3IQMhab3vACxXMiFk+yMHNdbqtyTGA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/code-frame': 7.21.4 - '@jest/types': 27.5.1 + '@babel/code-frame': 7.22.5 + '@jest/types': 29.5.0 '@types/stack-utils': 2.0.1 chalk: 4.0.0 graceful-fs: 4.2.11 micromatch: 4.0.4 - pretty-format: 27.5.1 + pretty-format: 29.5.0 slash: 3.0.0 stack-utils: 2.0.6 dev: true - /jest-message-util@29.5.0: - resolution: {integrity: sha512-Kijeg9Dag6CKtIDA7O21zNTACqD5MD/8HfIV8pdD94vFyFuer52SigdC3IQMhab3vACxXMiFk+yMHNdbqtyTGA==} + /jest-message-util@29.7.0: + resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/code-frame': 7.21.4 - '@jest/types': 29.5.0 + '@babel/code-frame': 7.22.5 + '@jest/types': 29.6.3 '@types/stack-utils': 2.0.1 chalk: 4.0.0 graceful-fs: 4.2.11 micromatch: 4.0.4 - pretty-format: 29.5.0 + pretty-format: 29.7.0 slash: 3.0.0 stack-utils: 2.0.6 dev: true - /jest-mock@27.5.1: - resolution: {integrity: sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.5.1 - '@types/node': 20.2.5 - dev: true - /jest-mock@29.5.0: resolution: {integrity: sha512-GqOzvdWDE4fAV2bWQLQCkujxYWL7RxjCnj71b5VhDAGOevB3qj3Ovg26A5NI84ZpODxyzaozXLOh2NCgkbvyaw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.5.0 - '@types/node': 20.2.5 - jest-util: 29.5.0 - dev: true - - /jest-pnp-resolver@1.2.2(jest-resolve@27.0.6): - resolution: {integrity: sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==} - engines: {node: '>=6'} - peerDependencies: - jest-resolve: '*' - peerDependenciesMeta: - jest-resolve: - optional: true + '@types/node': 20.2.5 + jest-util: 29.5.0 + dev: true + + /jest-mock@29.7.0: + resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - jest-resolve: 27.0.6 + '@jest/types': 29.6.3 + '@types/node': 20.2.5 + jest-util: 29.7.0 dev: true - /jest-pnp-resolver@1.2.2(jest-resolve@27.5.1): + /jest-pnp-resolver@1.2.2(jest-resolve@29.7.0): resolution: {integrity: sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==} engines: {node: '>=6'} peerDependencies: @@ -16833,17 +15099,7 @@ packages: jest-resolve: optional: true dependencies: - jest-resolve: 27.5.1 - dev: true - - /jest-regex-util@26.0.0: - resolution: {integrity: sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==} - engines: {node: '>= 10.14.2'} - dev: true - - /jest-regex-util@27.5.1: - resolution: {integrity: sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + jest-resolve: 29.7.0 dev: true /jest-regex-util@29.4.3: @@ -16851,220 +15107,128 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true - /jest-resolve-dependencies@27.0.6: - resolution: {integrity: sha512-mg9x9DS3BPAREWKCAoyg3QucCr0n6S8HEEsqRCKSPjPcu9HzRILzhdzY3imsLoZWeosEbJZz6TKasveczzpJZA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.5.1 - jest-regex-util: 27.5.1 - jest-snapshot: 27.5.1 - transitivePeerDependencies: - - supports-color + /jest-regex-util@29.6.3: + resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true - /jest-resolve@27.0.6: - resolution: {integrity: sha512-yKmIgw2LgTh7uAJtzv8UFHGF7Dm7XfvOe/LQ3Txv101fLM8cx2h1QVwtSJ51Q/SCxpIiKfVn6G2jYYMDNHZteA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-resolve-dependencies@29.7.0: + resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 - chalk: 4.0.0 - escalade: 3.1.1 - graceful-fs: 4.2.11 - jest-pnp-resolver: 1.2.2(jest-resolve@27.0.6) - jest-util: 27.5.1 - jest-validate: 27.5.1 - resolve: 1.22.2 - slash: 3.0.0 + jest-regex-util: 29.6.3 + jest-snapshot: 29.7.0 + transitivePeerDependencies: + - supports-color dev: true - /jest-resolve@27.5.1: - resolution: {integrity: sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-resolve@29.7.0: + resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 chalk: 4.0.0 graceful-fs: 4.2.11 - jest-haste-map: 27.5.1 - jest-pnp-resolver: 1.2.2(jest-resolve@27.5.1) - jest-util: 27.5.1 - jest-validate: 27.5.1 - resolve: 1.22.2 - resolve.exports: 1.1.0 + jest-haste-map: 29.7.0 + jest-pnp-resolver: 1.2.2(jest-resolve@29.7.0) + jest-util: 29.7.0 + jest-validate: 29.7.0 + resolve: 1.22.4 + resolve.exports: 2.0.2 slash: 3.0.0 dev: true - /jest-runner@27.0.6: - resolution: {integrity: sha512-W3Bz5qAgaSChuivLn+nKOgjqNxM7O/9JOJoKDCqThPIg2sH/d4A/lzyiaFgnb9V1/w29Le11NpzTJSzga1vyYQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-runner@29.7.0: + resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/console': 27.5.1 - '@jest/environment': 27.5.1 - '@jest/test-result': 27.5.1 - '@jest/transform': 27.5.1 - '@jest/types': 27.5.1 + '@jest/console': 29.7.0 + '@jest/environment': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 '@types/node': 20.2.5 chalk: 4.0.0 - emittery: 0.8.1 - exit: 0.1.2 - graceful-fs: 4.2.11 - jest-docblock: 27.0.6 - jest-environment-jsdom: 27.0.6 - jest-environment-node: 27.5.1 - jest-haste-map: 27.5.1 - jest-leak-detector: 27.0.6 - jest-message-util: 27.5.1 - jest-resolve: 27.5.1 - jest-runtime: 27.5.1 - jest-util: 27.5.1 - jest-worker: 27.5.1 - source-map-support: 0.5.20 - throat: 6.0.1 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-runtime@27.0.6: - resolution: {integrity: sha512-BhvHLRVfKibYyqqEFkybsznKwhrsu7AWx2F3y9G9L95VSIN3/ZZ9vBpm/XCS2bS+BWz3sSeNGLzI3TVQ0uL85Q==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/console': 27.5.1 - '@jest/environment': 27.5.1 - '@jest/fake-timers': 27.5.1 - '@jest/globals': 27.5.1 - '@jest/source-map': 27.5.1 - '@jest/test-result': 27.5.1 - '@jest/transform': 27.5.1 - '@jest/types': 27.5.1 - '@types/yargs': 16.0.5 - chalk: 4.0.0 - cjs-module-lexer: 1.2.2 - collect-v8-coverage: 1.0.1 - exit: 0.1.2 - glob: 7.1.7 + emittery: 0.13.1 graceful-fs: 4.2.11 - jest-haste-map: 27.5.1 - jest-message-util: 27.5.1 - jest-mock: 27.5.1 - jest-regex-util: 27.5.1 - jest-resolve: 27.5.1 - jest-snapshot: 27.5.1 - jest-util: 27.5.1 - jest-validate: 27.5.1 - slash: 3.0.0 - strip-bom: 4.0.0 - yargs: 16.2.0 + jest-docblock: 29.7.0 + jest-environment-node: 29.7.0 + jest-haste-map: 29.7.0 + jest-leak-detector: 29.7.0 + jest-message-util: 29.7.0 + jest-resolve: 29.7.0 + jest-runtime: 29.7.0 + jest-util: 29.7.0 + jest-watcher: 29.7.0 + jest-worker: 29.7.0 + p-limit: 3.1.0 + source-map-support: 0.5.13 transitivePeerDependencies: - supports-color dev: true - /jest-runtime@27.5.1: - resolution: {integrity: sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-runtime@29.7.0: + resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/environment': 27.5.1 - '@jest/fake-timers': 27.5.1 - '@jest/globals': 27.5.1 - '@jest/source-map': 27.5.1 - '@jest/test-result': 27.5.1 - '@jest/transform': 27.5.1 - '@jest/types': 27.5.1 + '@jest/environment': 29.7.0 + '@jest/fake-timers': 29.7.0 + '@jest/globals': 29.7.0 + '@jest/source-map': 29.6.3 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.2.5 chalk: 4.0.0 cjs-module-lexer: 1.2.2 collect-v8-coverage: 1.0.1 - execa: 5.0.0 glob: 7.1.7 graceful-fs: 4.2.11 - jest-haste-map: 27.5.1 - jest-message-util: 27.5.1 - jest-mock: 27.5.1 - jest-regex-util: 27.5.1 - jest-resolve: 27.5.1 - jest-snapshot: 27.5.1 - jest-util: 27.5.1 + jest-haste-map: 29.7.0 + jest-message-util: 29.7.0 + jest-mock: 29.7.0 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 slash: 3.0.0 strip-bom: 4.0.0 transitivePeerDependencies: - supports-color dev: true - /jest-serializer@27.5.1: - resolution: {integrity: sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@types/node': 20.2.5 - graceful-fs: 4.2.11 - dev: true - - /jest-snapshot@27.0.6: - resolution: {integrity: sha512-NTHaz8He+ATUagUgE7C/UtFcRoHqR2Gc+KDfhQIyx+VFgwbeEMjeP+ILpUTLosZn/ZtbNdCF5LkVnN/l+V751A==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@babel/core': 7.18.0 - '@babel/generator': 7.18.0 - '@babel/parser': 7.18.0 - '@babel/plugin-syntax-typescript': 7.21.4(@babel/core@7.18.0) - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 - '@jest/transform': 27.5.1 - '@jest/types': 27.5.1 - '@types/babel__traverse': 7.11.1 - '@types/prettier': 2.2.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.18.0) - chalk: 4.0.0 - expect: 27.5.1 - graceful-fs: 4.2.11 - jest-diff: 27.5.1 - jest-get-type: 27.5.1 - jest-haste-map: 27.5.1 - jest-matcher-utils: 27.5.1 - jest-message-util: 27.5.1 - jest-resolve: 27.5.1 - jest-util: 27.5.1 - natural-compare: 1.4.0 - pretty-format: 27.5.1 - semver: 7.3.7 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-snapshot@27.5.1: - resolution: {integrity: sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-snapshot@29.7.0: + resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.18.0 - '@babel/generator': 7.18.0 - '@babel/plugin-syntax-typescript': 7.21.4(@babel/core@7.18.0) - '@babel/traverse': 7.18.0 - '@babel/types': 7.18.0 - '@jest/transform': 27.5.1 - '@jest/types': 27.5.1 - '@types/babel__traverse': 7.11.1 - '@types/prettier': 2.2.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@babel/generator': 7.22.5 + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.22.5) + '@babel/types': 7.22.5 + '@jest/expect-utils': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.5) chalk: 4.0.0 - expect: 27.5.1 + expect: 29.7.0 graceful-fs: 4.2.11 - jest-diff: 27.5.1 - jest-get-type: 27.5.1 - jest-haste-map: 27.5.1 - jest-matcher-utils: 27.5.1 - jest-message-util: 27.5.1 - jest-util: 27.5.1 + jest-diff: 29.7.0 + jest-get-type: 29.6.3 + jest-matcher-utils: 29.7.0 + jest-message-util: 29.7.0 + jest-util: 29.7.0 natural-compare: 1.4.0 - pretty-format: 27.5.1 - semver: 7.3.7 + pretty-format: 29.7.0 + semver: 7.5.4 transitivePeerDependencies: - supports-color dev: true - /jest-util@27.5.1: - resolution: {integrity: sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-util@29.5.0: + resolution: {integrity: sha512-RYMgG/MTadOr5t8KdhejfvUU82MxsCu5MF6KuDUHl+NuwzUt+Sm6jJWxTJVrDR1j5M/gJVCPKQEpWXY+yIQ6lQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 + '@jest/types': 29.5.0 '@types/node': 20.2.5 chalk: 4.0.0 ci-info: 3.8.0 @@ -17072,11 +15236,11 @@ packages: picomatch: 2.3.1 dev: true - /jest-util@29.5.0: - resolution: {integrity: sha512-RYMgG/MTadOr5t8KdhejfvUU82MxsCu5MF6KuDUHl+NuwzUt+Sm6jJWxTJVrDR1j5M/gJVCPKQEpWXY+yIQ6lQ==} + /jest-util@29.7.0: + resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 29.5.0 + '@jest/types': 29.6.3 '@types/node': 20.2.5 chalk: 4.0.0 ci-info: 3.8.0 @@ -17084,40 +15248,29 @@ packages: picomatch: 2.3.1 dev: true - /jest-validate@27.0.6: - resolution: {integrity: sha512-yhZZOaMH3Zg6DC83n60pLmdU1DQE46DW+KLozPiPbSbPhlXXaiUTDlhHQhHFpaqIFRrInko1FHXjTRpjWRuWfA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.5.1 - camelcase: 6.2.0 - chalk: 4.0.0 - jest-get-type: 27.5.1 - leven: 3.1.0 - pretty-format: 27.5.1 - dev: true - - /jest-validate@27.5.1: - resolution: {integrity: sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-validate@29.7.0: + resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.5.1 + '@jest/types': 29.6.3 camelcase: 6.2.0 chalk: 4.0.0 - jest-get-type: 27.5.1 + jest-get-type: 29.6.3 leven: 3.1.0 - pretty-format: 27.5.1 + pretty-format: 29.7.0 dev: true - /jest-watcher@27.0.6: - resolution: {integrity: sha512-/jIoKBhAP00/iMGnTwUBLgvxkn7vsOweDrOTSPzc7X9uOyUtJIDthQBTI1EXz90bdkrxorUZVhJwiB69gcHtYQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-watcher@29.7.0: + resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/test-result': 27.5.1 - '@jest/types': 27.5.1 + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 '@types/node': 20.2.5 ansi-escapes: 4.3.2 chalk: 4.0.0 - jest-util: 27.5.1 + emittery: 0.13.1 + jest-util: 29.7.0 string-length: 4.0.1 dev: true @@ -17148,9 +15301,19 @@ packages: supports-color: 8.1.1 dev: true - /jest@27.0.6: - resolution: {integrity: sha512-EjV8aETrsD0wHl7CKMibKwQNQc3gIRBXlTikBmmHUeVMKaPFxdcUIBfoDqTSXDoGJIivAYGqCWVlzCSaVjPQsA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-worker@29.7.0: + resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@types/node': 20.2.5 + jest-util: 29.7.0 + merge-stream: 2.0.0 + supports-color: 8.1.1 + dev: true + + /jest@29.7.0(@types/node@20.2.5): + resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -17158,15 +15321,15 @@ packages: node-notifier: optional: true dependencies: - '@jest/core': 27.0.6 + '@jest/core': 29.7.0 + '@jest/types': 29.6.3 import-local: 3.0.2 - jest-cli: 27.0.6 + jest-cli: 29.7.0(@types/node@20.2.5) transitivePeerDependencies: - - bufferutil - - canvas + - '@types/node' + - babel-plugin-macros - supports-color - ts-node - - utf-8-validate dev: true /js-base64@2.5.1: @@ -17204,23 +15367,23 @@ packages: resolution: {integrity: sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==} dev: true - /jscodeshift@0.13.1(@babel/preset-env@7.18.0): + /jscodeshift@0.13.1(@babel/preset-env@7.22.5): resolution: {integrity: sha512-lGyiEbGOvmMRKgWk4vf+lUrCWO/8YR8sUR3FKF1Cq5fovjZDlIcw3Hu5ppLHAnEXshVffvaM0eyuY/AbOeYpnQ==} hasBin: true peerDependencies: '@babel/preset-env': ^7.1.6 dependencies: - '@babel/core': 7.18.0 - '@babel/parser': 7.18.0 - '@babel/plugin-proposal-class-properties': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-proposal-nullish-coalescing-operator': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-proposal-optional-chaining': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-modules-commonjs': 7.16.8(@babel/core@7.18.0) - '@babel/preset-env': 7.18.0(@babel/core@7.18.0) - '@babel/preset-flow': 7.16.7(@babel/core@7.18.0) - '@babel/preset-typescript': 7.16.7(@babel/core@7.18.0) - '@babel/register': 7.17.0(@babel/core@7.18.0) - babel-core: 7.0.0-bridge.0(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@babel/parser': 7.22.5 + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.22.5) + '@babel/plugin-proposal-nullish-coalescing-operator': 7.16.7(@babel/core@7.22.5) + '@babel/plugin-proposal-optional-chaining': 7.16.7(@babel/core@7.22.5) + '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.5) + '@babel/preset-env': 7.22.5(@babel/core@7.22.5) + '@babel/preset-flow': 7.16.7(@babel/core@7.22.5) + '@babel/preset-typescript': 7.22.5(@babel/core@7.22.5) + '@babel/register': 7.17.0(@babel/core@7.22.5) + babel-core: 7.0.0-bridge.0(@babel/core@7.22.5) chalk: 4.1.2 flow-parser: 0.131.0 graceful-fs: 4.2.9 @@ -17239,42 +15402,41 @@ packages: engines: {node: '>=12.0.0'} dev: true - /jsdom@16.7.0: - resolution: {integrity: sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==} - engines: {node: '>=10'} + /jsdom@20.0.3: + resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} + engines: {node: '>=14'} peerDependencies: canvas: ^2.5.0 peerDependenciesMeta: canvas: optional: true dependencies: - abab: 2.0.5 - acorn: 8.5.0 - acorn-globals: 6.0.0 - cssom: 0.4.4 + abab: 2.0.6 + acorn: 8.10.0 + acorn-globals: 7.0.1 + cssom: 0.5.0 cssstyle: 2.3.0 - data-urls: 2.0.0 - decimal.js: 10.2.1 - domexception: 2.0.1 + data-urls: 3.0.2 + decimal.js: 10.4.3 + domexception: 4.0.0 escodegen: 2.0.0 - form-data: 3.0.1 - html-encoding-sniffer: 2.0.1 - http-proxy-agent: 4.0.1 + form-data: 4.0.0 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 https-proxy-agent: 5.0.1 is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.0 - parse5: 6.0.1 - saxes: 5.0.1 + nwsapi: 2.2.7 + parse5: 7.1.2 + saxes: 6.0.0 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.7.0 - ws: 7.5.3 - xml-name-validator: 3.0.0 + tough-cookie: 4.1.3 + w3c-xmlserializer: 4.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 11.0.0 + ws: 8.14.2 + xml-name-validator: 4.0.0 transitivePeerDependencies: - bufferutil - supports-color @@ -18157,7 +16319,7 @@ packages: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} dependencies: - semver: 6.3.0 + semver: 6.3.1 dev: true /make-fetch-happen@8.0.13: @@ -18536,18 +16698,18 @@ packages: resolution: {integrity: sha512-EkFst5ntLXoQGewkvga/Kd72RcN7IuJRl5ivLihJSbvLfJQo8LDS0n9X0q81vegiC59vhtKIM6qjrl1fOAtuGw==} hasBin: true dependencies: - '@babel/core': 7.18.0 - '@babel/plugin-proposal-class-properties': 7.12.1(@babel/core@7.18.0) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.18.0) - '@babel/plugin-syntax-jsx': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-flow-strip-types': 7.16.7(@babel/core@7.18.0) - '@babel/plugin-transform-react-jsx': 7.14.5(@babel/core@7.18.0) - '@babel/plugin-transform-regenerator': 7.18.0(@babel/core@7.18.0) - '@babel/preset-env': 7.18.0(@babel/core@7.18.0) - '@babel/preset-flow': 7.16.7(@babel/core@7.18.0) - '@babel/preset-react': 7.14.5(@babel/core@7.18.0) + '@babel/core': 7.22.5 + '@babel/plugin-proposal-class-properties': 7.12.1(@babel/core@7.22.5) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.22.5) + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.5) + '@babel/plugin-transform-flow-strip-types': 7.16.7(@babel/core@7.22.5) + '@babel/plugin-transform-react-jsx': 7.14.5(@babel/core@7.22.5) + '@babel/plugin-transform-regenerator': 7.18.0(@babel/core@7.22.5) + '@babel/preset-env': 7.22.5(@babel/core@7.22.5) + '@babel/preset-flow': 7.16.7(@babel/core@7.22.5) + '@babel/preset-react': 7.22.5(@babel/core@7.22.5) '@rollup/plugin-alias': 3.1.1(rollup@2.35.1) - '@rollup/plugin-babel': 5.2.2(@babel/core@7.18.0)(rollup@2.35.1) + '@rollup/plugin-babel': 5.2.2(@babel/core@7.22.5)(rollup@2.35.1) '@rollup/plugin-commonjs': 17.0.0(rollup@2.35.1) '@rollup/plugin-json': 4.1.0(rollup@2.35.1) '@rollup/plugin-node-resolve': 11.0.1(rollup@2.35.1) @@ -18556,7 +16718,7 @@ packages: autoprefixer: 10.4.4(postcss@8.4.31) babel-plugin-macros: 3.0.1 babel-plugin-transform-async-to-promises: 0.8.15 - babel-plugin-transform-replace-expressions: 0.2.0(@babel/core@7.18.0) + babel-plugin-transform-replace-expressions: 0.2.0(@babel/core@7.22.5) brotli-size: 4.0.0 builtin-modules: 3.1.0 camelcase: 6.2.0 @@ -19522,7 +17684,7 @@ packages: engines: {node: '>=10'} dependencies: hosted-git-info: 3.0.8 - resolve: 1.22.2 + resolve: 1.22.4 semver: 7.3.7 validate-npm-package-license: 3.0.4 dev: true @@ -19697,8 +17859,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /nwsapi@2.2.0: - resolution: {integrity: sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==} + /nwsapi@2.2.7: + resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} dev: true /oauth-sign@0.9.0: @@ -20064,11 +18226,6 @@ packages: engines: {node: '>=8'} dev: true - /p-each-series@2.2.0: - resolution: {integrity: sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==} - engines: {node: '>=8'} - dev: true - /p-event@4.1.0: resolution: {integrity: sha512-4vAd06GCsgflX4wHN1JqrMzBh/8QZ4j+rzp0cd2scXRwuBEv+QR3wrVA5aLhWDLw4y2WgDKvzWF3CCLmVM1UgA==} engines: {node: '>=8'} @@ -20222,7 +18379,7 @@ packages: got: 9.6.0 registry-auth-token: 4.2.1 registry-url: 5.1.0 - semver: 6.3.0 + semver: 6.3.1 dev: true /pacote@11.2.6: @@ -20373,11 +18530,21 @@ packages: resolution: {integrity: sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.12.11 + '@babel/code-frame': 7.22.5 error-ex: 1.3.2 json-parse-better-errors: 1.0.2 lines-and-columns: 1.1.6 + /parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + dependencies: + '@babel/code-frame': 7.22.5 + error-ex: 1.3.2 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.1.6 + dev: true + /parse-latin@4.3.0: resolution: {integrity: sha512-TYKL+K98dcAWoCw/Ac1yrPviU8Trk+/gmjQVaoWEFDZmVD4KRg6c/80xKqNNFQObo2mTONgF8trzAf2UTwKafw==} dependencies: @@ -20420,6 +18587,12 @@ packages: /parse5@6.0.1: resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} + /parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + dependencies: + entities: 4.5.0 + dev: true + /parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} @@ -21921,16 +20094,6 @@ packages: engines: {node: '>=6'} dev: true - /pretty-format@26.6.2: - resolution: {integrity: sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==} - engines: {node: '>= 10'} - dependencies: - '@jest/types': 26.6.2 - ansi-regex: 5.0.1 - ansi-styles: 4.3.0 - react-is: 17.0.2 - dev: true - /pretty-format@27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -21949,6 +20112,15 @@ packages: react-is: 18.2.0 dev: true + /pretty-format@29.7.0: + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/schemas': 29.6.3 + ansi-styles: 5.2.0 + react-is: 18.2.0 + dev: true + /pretty-ms@7.0.0: resolution: {integrity: sha512-J3aPWiC5e9ZeZFuSeBraGxSkGMOvulSWsxDByOcbD1Pr75YL3LSNIKIb52WXbCLE1sS5s4inBBbryjF4Y05Ceg==} engines: {node: '>=10'} @@ -21963,11 +20135,6 @@ packages: parse-ms: 2.1.0 dev: true - /private@0.1.8: - resolution: {integrity: sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==} - engines: {node: '>= 0.6'} - dev: true - /process-nextick-args@1.0.7: resolution: {integrity: sha512-yN0WQmuCX63LP/TMvAg31nvT6m4vDqJEiiv2CAZqWOGNWutc9DfDk1NPYYmKUFmaVM2UwDowH4u5AHWYP/jxKw==} dev: true @@ -22043,14 +20210,6 @@ packages: sisteransi: 1.0.4 dev: true - /prompts@2.3.0: - resolution: {integrity: sha512-NfbbPPg/74fT7wk2XYQ7hAIp9zJyZp5Fu19iRbORqqy1BhtrkZ0fPafBU+7bmn8ie69DpT0R6QpJIN2oisYjJg==} - engines: {node: '>= 6'} - dependencies: - kleur: 3.0.3 - sisteransi: 1.0.4 - dev: true - /promzard@0.3.0: resolution: {integrity: sha1-JqXW7ox97kyxIggwWs+5O6OCqe4=} dependencies: @@ -22187,6 +20346,10 @@ packages: escape-goat: 2.1.1 dev: true + /pure-rand@6.0.4: + resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==} + dev: true + /purgecss@1.4.2: resolution: {integrity: sha512-hkOreFTgiyMHMmC2BxzdIw5DuC6kxAbP/gGOGd3MEsF3+5m69rIvUEPaxrnoUtfODTFKe9hcXjGwC6jcjoyhOw==} engines: {node: '>=4.4.0', npm: '>=5.2.0'} @@ -22231,6 +20394,10 @@ packages: deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. dev: true + /querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + dev: true + /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -22317,14 +20484,14 @@ packages: strip-json-comments: 2.0.1 dev: true - /react-dom@0.0.0-experimental-d900fadbf-20230929(react@18.2.0): - resolution: {integrity: sha512-PbZor0pz+MdjhJ0dKcNABB9vvkfINYzNbHUwrSUDAAi8leM4nOrqdnXOIPlSHkWvKMHbDfxpJgIliGmB75ysxw==} + /react-dom@0.0.0-experimental-d803f519e-20231020(react@18.2.0): + resolution: {integrity: sha512-aS2ZQNRroVBwyKp6O4yeRWszMbj0OFbcRp7hwoCK6j9YpsMdUSnbjbhH+x8kA0/twFrDaXvlNInhrUC4eQ95NA==} peerDependencies: - react: 0.0.0-experimental-d900fadbf-20230929 + react: 0.0.0-experimental-d803f519e-20231020 dependencies: loose-envify: 1.4.0 react: 18.2.0 - scheduler: 0.0.0-experimental-d900fadbf-20230929 + scheduler: 0.0.0-experimental-d803f519e-20231020 dev: true /react-dom@17.0.2(react@17.0.2): @@ -22358,14 +20525,14 @@ packages: react: 18.2.0 scheduler: 0.23.0 - /react-dom@18.3.0-canary-d900fadbf-20230929(react@18.2.0): - resolution: {integrity: sha512-XygtMLIfrmyvs8AqXZ0jafG48Lnna3hov52NbaJ0ra2e0boAnG6Ae266AMSeDQHRNTnMzOsn0oyjH3qHEiP6rg==} + /react-dom@18.3.0-canary-d803f519e-20231020(react@18.2.0): + resolution: {integrity: sha512-QdR1O9lyjPfxGO/aeHA7L5DLgZixB7//7qypebZ7SEYAWtCoVdDciQHN2eXbUYF7LA0yIdBl1YkPm3bTKtvnBA==} peerDependencies: - react: 18.3.0-canary-d900fadbf-20230929 + react: 18.3.0-canary-d803f519e-20231020 dependencies: loose-envify: 1.4.0 react: 18.2.0 - scheduler: 0.24.0-canary-d900fadbf-20230929 + scheduler: 0.24.0-canary-d803f519e-20231020 dev: true /react-is@16.13.1: @@ -22388,12 +20555,12 @@ packages: engines: {node: '>=0.10.0'} dev: true - /react-server-dom-turbopack@0.0.0-experimental-d900fadbf-20230929(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-MTk3sZt+wVJAosQnTmg+rfznovI2FFRWv4cKcZdk90ebDBL7rZItEIwZzGKqVVhKVetppIYT7gIPMt7CJJ5LCQ==} + /react-server-dom-turbopack@0.0.0-experimental-d803f519e-20231020(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-WH549x3fBoIiCIprLbF1W8cxKRDLJ6CuzHOtJiTj12KhvXHoaBh8dbb5PJFWPjKKosGmnyFbW82NMpeUzRrJRA==} engines: {node: '>=0.10.0'} peerDependencies: - react: 0.0.0-experimental-d900fadbf-20230929 - react-dom: 0.0.0-experimental-d900fadbf-20230929 + react: 0.0.0-experimental-d803f519e-20231020 + react-dom: 0.0.0-experimental-d803f519e-20231020 dependencies: acorn-loose: 8.3.0 loose-envify: 1.4.0 @@ -22402,12 +20569,12 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /react-server-dom-turbopack@18.3.0-canary-d900fadbf-20230929(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-aD2S8Fu4UWhyO1YJXt3ZITQohdymG/CfxT8xMw/OyVy2cbescTKLdZ215D4CUQc3368GhRDlsCUmyKpQFb5tlg==} + /react-server-dom-turbopack@18.3.0-canary-d803f519e-20231020(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-7A2RLrXhiUYIXq377/qPlCznf3+UcLiiKWlnHNv9cPodp8pfBn691ZG66tLvWs9f1/cZJICRX2fQRs+PynTd/A==} engines: {node: '>=0.10.0'} peerDependencies: - react: 18.3.0-canary-d900fadbf-20230929 - react-dom: 18.3.0-canary-d900fadbf-20230929 + react: 18.3.0-canary-d803f519e-20231020 + react-dom: 18.3.0-canary-d803f519e-20231020 dependencies: acorn-loose: 8.3.0 loose-envify: 1.4.0 @@ -22416,12 +20583,12 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /react-server-dom-webpack@0.0.0-experimental-d900fadbf-20230929(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0): - resolution: {integrity: sha512-aycuGdxhhJ7iQnbxyYPISjR16cbWSdwHfHuAtzjuB2Hr6bd3ievyKusrFQMhZ+piJwYJJNKGLboz4eeVKq6lfw==} + /react-server-dom-webpack@0.0.0-experimental-d803f519e-20231020(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0): + resolution: {integrity: sha512-RDogappdjXcVRyCy6+F9yV7KLTKNxnJPFbR0Vw7Dy22AUkBFZsBaa/OzWpkVcuF1zyGPVghrxiOGkwrqtpT6WQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 0.0.0-experimental-d900fadbf-20230929 - react-dom: 0.0.0-experimental-d900fadbf-20230929 + react: 0.0.0-experimental-d803f519e-20231020 + react-dom: 0.0.0-experimental-d803f519e-20231020 webpack: 5.86.0 dependencies: acorn-loose: 8.3.0 @@ -22432,12 +20599,12 @@ packages: webpack: 5.86.0(@swc/core@1.3.85) dev: true - /react-server-dom-webpack@18.3.0-canary-d900fadbf-20230929(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0): - resolution: {integrity: sha512-THectocKbBfhzk4oakFh+ws6nEnDFWRxzNC79BFW9stP4TDsyqAFqb6dYNeCnQhlzs6plgBhaxDmZ1m1R6BmKg==} + /react-server-dom-webpack@18.3.0-canary-d803f519e-20231020(react-dom@18.2.0)(react@18.2.0)(webpack@5.86.0): + resolution: {integrity: sha512-wMvOu6+nqlKLqGcMtw3bSkxxqbkeI25T0FI77gisQROmoHggNYKWTvV650ZtfRYZjQgigs/J4B5zzWFIS0vC1g==} engines: {node: '>=0.10.0'} peerDependencies: - react: 18.3.0-canary-d900fadbf-20230929 - react-dom: 18.3.0-canary-d900fadbf-20230929 + react: 18.3.0-canary-d803f519e-20231020 + react-dom: 18.3.0-canary-d803f519e-20231020 webpack: 5.86.0 dependencies: acorn-loose: 8.3.0 @@ -22465,7 +20632,7 @@ packages: react: ^15.3.0 || ^16.0.0-alpha react-dom: ^15.3.0 || ^16.0.0-alpha dependencies: - '@babel/runtime': 7.16.7 + '@babel/runtime': 7.22.5 clsx: 1.1.1 dom-helpers: 5.2.1 loose-envify: 1.4.0 @@ -22475,8 +20642,8 @@ packages: react-lifecycles-compat: 3.0.4 dev: true - /react@0.0.0-experimental-d900fadbf-20230929: - resolution: {integrity: sha512-oriYDTyPzAeRxec5pJnOWYU9RnocpbE0V3LXuuVueTFM2E62C6GKEUFAu3fKlS52knvuZs4czCO1nkfqVxu5yg==} + /react@0.0.0-experimental-d803f519e-20231020: + resolution: {integrity: sha512-gRqjglYwfryhv3Rd9DFYjsJ/aUHqvNZZwlINVtfJn+PBhQLnSpIdMpNEs2oLQRH4JFhQVYzVGbTFo/0CYxH4kQ==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -22495,8 +20662,8 @@ packages: dependencies: loose-envify: 1.4.0 - /react@18.3.0-canary-d900fadbf-20230929: - resolution: {integrity: sha512-wZmxUlj5Z4W9f3rMB1XxhtrLiBjEriztjvTkuBoC+EOsRvM1r7+2j306WEV5p0ARS05kCYJWj7PSz9ZngDjEHw==} + /react@18.3.0-canary-d803f519e-20231020: + resolution: {integrity: sha512-1AB43HIkom7FcTSOk4UsMfW2oFIXQ4YYQ9J7sZGRKwEyrDk18xd+EtSNcCeWTenrVN/H9xd+QSyN4pz/zJ9jWQ==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 @@ -22694,7 +20861,7 @@ packages: resolution: {integrity: sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=} engines: {node: '>= 0.10'} dependencies: - resolve: 1.22.2 + resolve: 1.22.4 dev: true /rechoir@0.8.0: @@ -22769,26 +20936,16 @@ packages: resolution: {integrity: sha512-plpwicqEzfEyTQohIKktWigcLzmNStMGwbOUbykx51/29Z3JOGYldaaNGK7ngNXV+UcoqvIMmloZ48Sr74sd+g==} dev: true - /regenerator-runtime@0.13.5: - resolution: {integrity: sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==} - - /regenerator-transform@0.14.4: - resolution: {integrity: sha512-EaJaKPBI9GvKpvUz2mz4fhx7WPgvwRLY9v3hlNHWmAuJHI13T4nwKnNvm5RWJzEdnI5g5UwtOww+S8IdoUC2bw==} - dependencies: - '@babel/runtime': 7.15.4 - private: 0.1.8 - dev: true - /regenerator-transform@0.15.0: resolution: {integrity: sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==} dependencies: - '@babel/runtime': 7.15.4 + '@babel/runtime': 7.22.5 + dev: true - /regenerator-transform@0.15.1: - resolution: {integrity: sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==} + /regenerator-transform@0.15.2: + resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} dependencies: - '@babel/runtime': 7.15.4 - dev: true + '@babel/runtime': 7.22.5 /regex-not@1.0.2: resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==} @@ -22889,7 +21046,7 @@ packages: /relay-runtime@13.0.2: resolution: {integrity: sha512-sP4lNGfFcOm7tQD12qlvwsiOREDgjkw4FQAjtemmtwivKOqI4qHAL22Ar62r5TPVlASn4iVWMk7rIdIJI20KGQ==} dependencies: - '@babel/runtime': 7.16.7 + '@babel/runtime': 7.22.5 fbjs: 3.0.2 invariant: 2.2.4 dev: true @@ -23137,8 +21294,8 @@ packages: requiresBuild: true dev: false - /resolve.exports@1.1.0: - resolution: {integrity: sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==} + /resolve.exports@2.0.2: + resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} engines: {node: '>=10'} dev: true @@ -23180,7 +21337,6 @@ packages: is-core-module: 2.13.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - dev: false /resolve@2.0.0-next.3: resolution: {integrity: sha512-W8LucSynKUIDu9ylraa7ueVZ7hc0uAgJBxVsQSKOXOyle8a93qXhcz+XAXZ8bIq2d6i4Ehddn6Evt+0/UwKk6Q==} @@ -23279,7 +21435,7 @@ packages: dev: true /retry@0.12.0: - resolution: {integrity: sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=} + resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} engines: {node: '>= 4'} dev: true @@ -23371,7 +21527,7 @@ packages: peerDependencies: rollup: ^2.0.0 dependencies: - '@babel/code-frame': 7.12.11 + '@babel/code-frame': 7.22.5 jest-worker: 26.6.2 rollup: 2.35.1 serialize-javascript: 4.0.0 @@ -23479,6 +21635,7 @@ packages: /safe-buffer@5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + dev: true /safe-buffer@5.2.0: resolution: {integrity: sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==} @@ -23559,15 +21716,15 @@ packages: resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} dev: true - /saxes@5.0.1: - resolution: {integrity: sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==} - engines: {node: '>=10'} + /saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} dependencies: xmlchars: 2.2.0 dev: true - /scheduler@0.0.0-experimental-d900fadbf-20230929: - resolution: {integrity: sha512-RnVZ/lzGlo5kSU2BcCOrvi1+NOExcAUAFVMrSbpN2vgNTT2Mk6uODXkEAcP5lCvMoCaCuqxFzxGqgrAE52Ilgw==} + /scheduler@0.0.0-experimental-d803f519e-20231020: + resolution: {integrity: sha512-qowPlLgBOnS+CAzgIt1xx8Sde3P8OOt83KBdVi9KF2s08bHbSy+V0F/AINopbOr2rRmieWu/IdyFTKLH6U9ntQ==} dependencies: loose-envify: 1.4.0 dev: true @@ -23583,8 +21740,8 @@ packages: dependencies: loose-envify: 1.4.0 - /scheduler@0.24.0-canary-d900fadbf-20230929: - resolution: {integrity: sha512-OIVnJmdCFy9O+qxqgLISdvXx3T2Lxe2x6JzOu3a76tkYVsDHCZQ/nBVt/ljmOduY2E6HwArwPz2EyQS75RZHCg==} + /scheduler@0.24.0-canary-d803f519e-20231020: + resolution: {integrity: sha512-tQunRGZIB9lCOEgBNLQi56BmogYgdPtTOLinarwqR+SS2ZAsWhpTZzJNcO0LwnvkJodsS/WloZaPISSmxQKKGw==} dependencies: loose-envify: 1.4.0 dev: true @@ -23649,7 +21806,7 @@ packages: resolution: {integrity: sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==} engines: {node: '>=8'} dependencies: - semver: 6.3.0 + semver: 6.3.1 dev: true /semver@5.5.0: @@ -23664,15 +21821,11 @@ packages: /semver@6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} hasBin: true + dev: false /semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - dev: false - - /semver@7.0.0: - resolution: {integrity: sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==} - hasBin: true /semver@7.3.2: resolution: {integrity: sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==} @@ -24036,6 +22189,13 @@ packages: decode-uri-component: 0.2.0 dev: true + /source-map-support@0.5.13: + resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} + dependencies: + buffer-from: 1.1.1 + source-map: 0.6.1 + dev: true + /source-map-support@0.5.20: resolution: {integrity: sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==} dependencies: @@ -24179,13 +22339,6 @@ packages: resolution: {integrity: sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==} dev: true - /stack-utils@2.0.5: - resolution: {integrity: sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==} - engines: {node: '>=10'} - dependencies: - escape-string-regexp: 2.0.0 - dev: true - /stack-utils@2.0.6: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} engines: {node: '>=10'} @@ -24570,16 +22723,16 @@ packages: babel-plugin-styled-components: optional: true dependencies: - '@babel/cli': 7.21.5(@babel/core@7.18.0) - '@babel/core': 7.18.0 + '@babel/cli': 7.21.5(@babel/core@7.22.5) + '@babel/core': 7.22.5 '@babel/helper-module-imports': 7.21.4 - '@babel/plugin-external-helpers': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.18.0) - '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.18.0) - '@babel/preset-env': 7.22.2(@babel/core@7.18.0) - '@babel/preset-react': 7.18.6(@babel/core@7.18.0) - '@babel/preset-typescript': 7.21.5(@babel/core@7.18.0) - '@babel/traverse': 7.18.0 + '@babel/plugin-external-helpers': 7.18.6(@babel/core@7.22.5) + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.22.5) + '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.22.5) + '@babel/preset-env': 7.22.5(@babel/core@7.22.5) + '@babel/preset-react': 7.22.5(@babel/core@7.22.5) + '@babel/preset-typescript': 7.22.5(@babel/core@7.22.5) + '@babel/traverse': 7.22.5 '@emotion/unitless': 0.8.1 css-to-react-native: 3.2.0 postcss: 8.4.31 @@ -24599,7 +22752,7 @@ packages: postcss-load-plugins: 2.3.0 dev: true - /styled-jsx@5.1.1(@babel/core@7.18.0)(react@18.2.0): + /styled-jsx@5.1.1(@babel/core@7.22.5)(react@18.2.0): resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -24612,7 +22765,7 @@ packages: babel-plugin-macros: optional: true dependencies: - '@babel/core': 7.18.0 + '@babel/core': 7.22.5 client-only: 0.0.1 react: 18.2.0 @@ -24701,14 +22854,6 @@ packages: dependencies: has-flag: 4.0.0 - /supports-hyperlinks@2.1.0: - resolution: {integrity: sha512-zoE5/e+dnEijk6ASB6/qrK+oYdm2do1hjoLWrqUC/8WEIW1gbxFcKuBof7sW8ArN6e+AYvsE8HBGiVRWL/F5CA==} - engines: {node: '>=8'} - dependencies: - has-flag: 4.0.0 - supports-color: 7.2.0 - dev: true - /supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -24911,14 +23056,6 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: false - /terminal-link@2.1.1: - resolution: {integrity: sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==} - engines: {node: '>=8'} - dependencies: - ansi-escapes: 4.3.2 - supports-hyperlinks: 2.1.0 - dev: true - /terser-webpack-plugin@5.3.9(@swc/core@1.3.85)(webpack@5.86.0): resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} engines: {node: '>= 10.13.0'} @@ -25012,10 +23149,6 @@ packages: resolution: {integrity: sha512-oB7yIimd8SuGptespDAZnNkzIz+NWaJCu2RMsbs4Wmp9zSDUM8Nhi3s2OOcqYuv3mN4hitXc8DVx+LyUmbUDiA==} dev: false - /throat@6.0.1: - resolution: {integrity: sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w==} - dev: true - /through2@0.4.2: resolution: {integrity: sha512-45Llu+EwHKtAZYTPPVn3XZHBgakWMN3rokhEv5hu596XP+cNgplMg+Gj+1nmAvj+L0K7+N49zBKx5rah5u0QIQ==} dependencies: @@ -25191,13 +23324,14 @@ packages: punycode: 2.1.1 dev: true - /tough-cookie@4.0.0: - resolution: {integrity: sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==} + /tough-cookie@4.1.3: + resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} engines: {node: '>=6'} dependencies: psl: 1.8.0 punycode: 2.1.1 - universalify: 0.1.2 + universalify: 0.2.0 + url-parse: 1.5.10 dev: true /tr46@0.0.3: @@ -25217,6 +23351,13 @@ packages: punycode: 2.1.1 dev: true + /tr46@3.0.0: + resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} + engines: {node: '>=12'} + dependencies: + punycode: 2.1.1 + dev: true + /traverse@0.6.6: resolution: {integrity: sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc=} dev: true @@ -25879,6 +24020,11 @@ packages: engines: {node: '>= 4.0.0'} dev: true + /universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + dev: true + /universalify@1.0.0: resolution: {integrity: sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==} engines: {node: '>= 10.0.0'} @@ -25985,6 +24131,13 @@ packages: prepend-http: 2.0.0 dev: true + /url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + dev: true + /url-template@2.0.8: resolution: {integrity: sha512-XdVKMF4SJ0nP/O7XIPB0JwAEuT9lDIYnNsK8yGVe43y0AWoKeJNdv3ZNWh7ksJ6KqQFjOO6ox/VEitLnaVNufw==} dev: true @@ -26066,13 +24219,13 @@ packages: resolution: {integrity: sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==} dev: true - /v8-to-istanbul@8.0.0: - resolution: {integrity: sha512-LkmXi8UUNxnCC+JlH7/fsfsKr5AU110l+SYGJimWNkWhxbN5EyeOtm1MJ0hhvqMMOhGwBj1Fp70Yv9i+hX0QAg==} + /v8-to-istanbul@9.1.3: + resolution: {integrity: sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==} engines: {node: '>=10.12.0'} dependencies: + '@jridgewell/trace-mapping': 0.3.19 '@types/istanbul-lib-coverage': 2.0.4 - convert-source-map: 1.9.0 - source-map: 0.7.4 + convert-source-map: 2.0.0 dev: true /v8flags@4.0.0: @@ -26183,17 +24336,11 @@ packages: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} dev: true - /w3c-hr-time@1.0.2: - resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} - dependencies: - browser-process-hrtime: 1.0.0 - dev: true - - /w3c-xmlserializer@2.0.0: - resolution: {integrity: sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==} - engines: {node: '>=10'} + /w3c-xmlserializer@4.0.0: + resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} + engines: {node: '>=14'} dependencies: - xml-name-validator: 3.0.0 + xml-name-validator: 4.0.0 dev: true /wait-port@0.2.2: @@ -26250,16 +24397,16 @@ packages: resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} dev: false - /webidl-conversions@5.0.0: - resolution: {integrity: sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==} - engines: {node: '>=8'} - dev: true - /webidl-conversions@6.1.0: resolution: {integrity: sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==} engines: {node: '>=10.4'} dev: true + /webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + dev: true + /webpack-bundle-analyzer@4.6.1: resolution: {integrity: sha512-oKz9Oz9j3rUciLNfpGFjOb49/jEpXNmWdVH8Ls//zNcnLlQdTGXQQMsBbb/gR7Zl8WNLxVCq+0Hqbx3zv6twBw==} engines: {node: '>= 10.13.0'} @@ -26365,10 +24512,11 @@ packages: engines: {node: '>=0.8.0'} dev: true - /whatwg-encoding@1.0.5: - resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==} + /whatwg-encoding@2.0.0: + resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} + engines: {node: '>=12'} dependencies: - iconv-lite: 0.4.24 + iconv-lite: 0.6.3 dev: true /whatwg-fetch@2.0.4: @@ -26379,8 +24527,17 @@ packages: resolution: {integrity: sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==} dev: true - /whatwg-mimetype@2.3.0: - resolution: {integrity: sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==} + /whatwg-mimetype@3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} + engines: {node: '>=12'} + dev: true + + /whatwg-url@11.0.0: + resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} + engines: {node: '>=12'} + dependencies: + tr46: 3.0.0 + webidl-conversions: 7.0.0 dev: true /whatwg-url@5.0.0: @@ -26544,7 +24701,7 @@ packages: /write-file-atomic@2.4.3: resolution: {integrity: sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==} dependencies: - graceful-fs: 4.2.11 + graceful-fs: 4.2.9 imurmurhash: 0.1.4 signal-exit: 3.0.7 @@ -26610,6 +24767,19 @@ packages: utf-8-validate: optional: true + /ws@8.14.2: + resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + /ws@8.2.3: resolution: {integrity: sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==} engines: {node: '>=10.0.0'} @@ -26654,8 +24824,9 @@ packages: titleize: 1.0.1 dev: true - /xml-name-validator@3.0.0: - resolution: {integrity: sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==} + /xml-name-validator@4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} dev: true /xml@1.0.1: @@ -26788,9 +24959,9 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231013.3(react-refresh@0.12.0)(webpack@5.86.0)': - resolution: {registry: https://registry.npmjs.org/, tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231013.3} - id: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231013.3' + '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231020.3(react-refresh@0.12.0)(webpack@5.86.0)': + resolution: {tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231020.3} + id: '@gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-231020.3' name: '@vercel/turbopack-ecmascript-runtime' version: 0.0.0 dependencies: diff --git a/run-tests.js b/run-tests.js index 23c73a83b2fc0..f64270968d56a 100644 --- a/run-tests.js +++ b/run-tests.js @@ -1,7 +1,8 @@ const os = require('os') const path = require('path') const _glob = require('glob') -const fs = require('fs-extra') +const { existsSync } = require('fs') +const fsp = require('fs/promises') const nodeFetch = require('node-fetch') const vercelFetch = require('@vercel/fetch') const fetch = vercelFetch(nodeFetch) @@ -116,10 +117,16 @@ ${output} const cleanUpAndExit = async (code) => { if (process.env.NEXT_TEST_STARTER) { - await fs.remove(process.env.NEXT_TEST_STARTER) + await fsp.rm(process.env.NEXT_TEST_STARTER, { + recursive: true, + force: true, + }) } if (process.env.NEXT_TEST_TEMP_REPO) { - await fs.remove(process.env.NEXT_TEST_TEMP_REPO) + await fsp.rm(process.env.NEXT_TEST_TEMP_REPO, { + recursive: true, + force: true, + }) } if (process.env.CI) { await maybeLogSummary() @@ -250,7 +257,7 @@ async function main() { try { const timingsFile = path.join(process.cwd(), 'test-timings.json') try { - prevTimings = JSON.parse(await fs.readFile(timingsFile, 'utf8')) + prevTimings = JSON.parse(await fsp.readFile(timingsFile, 'utf8')) console.log('Loaded test timings from disk successfully') } catch (_) { console.error('failed to load from disk', _) @@ -261,7 +268,7 @@ async function main() { console.log('Fetched previous timings data successfully') if (writeTimings) { - await fs.writeFile(timingsFile, JSON.stringify(prevTimings)) + await fsp.writeFile(timingsFile, JSON.stringify(prevTimings)) console.log('Wrote previous timings data to', timingsFile) await cleanUpAndExit(0) } @@ -544,15 +551,16 @@ ${ENDGROUP}`) return reject(err) } - await fs - .remove( + await fsp + .rm( path.join( __dirname, 'test/traces', path .relative(path.join(__dirname, 'test'), test.file) .replace(/\//g, '-') - ) + ), + { recursive: true, force: true } ) .catch(() => {}) resolve(new Date().getTime() - start) @@ -645,7 +653,7 @@ ${ENDGROUP}`) // Emit test output if test failed or if we're continuing tests on error if ((!passed || shouldContinueTestsOnError) && isTestJob) { try { - const testsOutput = await fs.readFile( + const testsOutput = await fsp.readFile( `${test.file}${RESULTS_EXT}`, 'utf8' ) @@ -708,7 +716,7 @@ ${ENDGROUP}`) } for (const test of Object.keys(newTimings)) { - if (!(await fs.pathExists(path.join(__dirname, test)))) { + if (!existsSync(path.join(__dirname, test))) { console.log('removing stale timing', test) delete newTimings[test] } diff --git a/scripts/code-freeze.js b/scripts/code-freeze.js index aa6bd7b343bd5..1b0faf3a3d984 100644 --- a/scripts/code-freeze.js +++ b/scripts/code-freeze.js @@ -69,7 +69,7 @@ async function getCurrentRules() { restrictions: { users: data.restrictions.users?.map((user) => user.login) || [], teams: data.restrictions.teams?.map((team) => team.slug) || [], - apps: [], + apps: data.restrictions.apps?.map((app) => app.slug) || [], }, } } diff --git a/scripts/install-native.mjs b/scripts/install-native.mjs index dad0e9e071194..9ea02664f12df 100644 --- a/scripts/install-native.mjs +++ b/scripts/install-native.mjs @@ -1,7 +1,8 @@ import os from 'os' import path from 'path' import execa from 'execa' -import fs from 'fs-extra' +import fs from 'fs' +import { move } from 'fs-extra' ;(async function () { if (process.env.NEXT_SKIP_NATIVE_POSTINSTALL) { console.log( @@ -10,34 +11,34 @@ import fs from 'fs-extra' return } let cwd = process.cwd() - const { version: nextVersion } = await fs.readJSON( - path.join(cwd, 'packages', 'next', 'package.json') + const { version: nextVersion } = JSON.parse( + fs.readFileSync(path.join(cwd, 'packages', 'next', 'package.json')) + ) + const { packageManager } = JSON.parse( + fs.readFileSync(path.join(cwd, 'package.json')) ) - const { packageManager } = await fs.readJSON(path.join(cwd, 'package.json')) try { // if installed swc package version matches monorepo version // we can skip re-installing - for (const pkg of await fs.readdir( - path.join(cwd, 'node_modules', '@next') - )) { + for (const pkg of fs.readdirSync(path.join(cwd, 'node_modules', '@next'))) { if ( pkg.startsWith('swc-') && - ( - await fs.readJSON( + JSON.parse( + fs.readFileSync( path.join(cwd, 'node_modules', '@next', pkg, 'package.json') ) ).version === nextVersion ) { - console.log(`@next/${pkg}@${nextVersion} already installed skipping`) + console.log(`@next/${pkg}@${nextVersion} already installed, skipping`) return } } - } catch (_) {} + } catch {} try { let tmpdir = path.join(os.tmpdir(), `next-swc-${Date.now()}`) - await fs.ensureDir(tmpdir) + fs.mkdirSync(tmpdir, { recursive: true }) let pkgJson = { name: 'dummy-package', version: '1.0.0', @@ -54,28 +55,26 @@ import fs from 'fs-extra' }, packageManager, } - await fs.writeFile( - path.join(tmpdir, 'package.json'), - JSON.stringify(pkgJson) - ) - await fs.writeFile(path.join(tmpdir, '.npmrc'), 'node-linker=hoisted') + fs.writeFileSync(path.join(tmpdir, 'package.json'), JSON.stringify(pkgJson)) + fs.writeFileSync(path.join(tmpdir, '.npmrc'), 'node-linker=hoisted') + let { stdout } = await execa('pnpm', ['add', 'next@canary'], { cwd: tmpdir, }) console.log(stdout) - let pkgs = await fs.readdir(path.join(tmpdir, 'node_modules/@next')) - await fs.ensureDir(path.join(cwd, 'node_modules/@next')) + + let pkgs = fs.readdirSync(path.join(tmpdir, 'node_modules/@next')) + fs.mkdirSync(path.join(cwd, 'node_modules/@next'), { recursive: true }) await Promise.all( - pkgs.map((pkg) => - fs.move( - path.join(tmpdir, 'node_modules/@next', pkg), - path.join(cwd, 'node_modules/@next', pkg), - { overwrite: true } - ) - ) + pkgs.map(async (pkg) => { + const from = path.join(tmpdir, 'node_modules/@next', pkg) + const to = path.join(cwd, 'node_modules/@next', pkg) + // overwriting by removing the target first + return move(from, to, { overwrite: true }) + }) ) - await fs.remove(tmpdir) + fs.rmSync(tmpdir, { recursive: true, force: true }) console.log('Installed the following binary packages:', pkgs) } catch (e) { console.error(e) diff --git a/scripts/publish-release.js b/scripts/publish-release.js index 086d9e0ff871f..49a8ef67eb0bd 100755 --- a/scripts/publish-release.js +++ b/scripts/publish-release.js @@ -5,7 +5,7 @@ const path = require('path') const execa = require('execa') const { Sema } = require('async-sema') const { execSync } = require('child_process') -const { readJson, readdir } = require('fs-extra') +const fs = require('fs') const cwd = process.cwd() @@ -38,7 +38,7 @@ const cwd = process.cwd() } const packagesDir = path.join(cwd, 'packages') - const packageDirs = await readdir(packagesDir) + const packageDirs = fs.readdirSync(packagesDir) const publishSema = new Sema(2) const publish = async (pkg, retry = 0) => { @@ -88,8 +88,11 @@ const cwd = process.cwd() await Promise.allSettled( packageDirs.map(async (packageDir) => { - const pkgJson = await readJson( - path.join(packagesDir, packageDir, 'package.json') + const pkgJson = JSON.parse( + await fs.promises.readFile( + path.join(packagesDir, packageDir, 'package.json'), + 'utf-8' + ) ) if (pkgJson.private) { diff --git a/scripts/setup-wasm.mjs b/scripts/setup-wasm.mjs index 3a382d5500cd5..5ecb411319660 100644 --- a/scripts/setup-wasm.mjs +++ b/scripts/setup-wasm.mjs @@ -1,6 +1,6 @@ import path from 'path' -import { readFile, writeFile } from 'fs/promises' -import { copy, pathExists } from 'fs-extra' +import fs from 'fs' +import { copy } from 'fs-extra' ;(async function () { try { let wasmDir = path.join(process.cwd(), 'packages/next-swc/crates/wasm') @@ -8,16 +8,16 @@ import { copy, pathExists } from 'fs-extra' // CI restores artifact at pkg-${wasmTarget} // This only runs locally - let folderName = (await pathExists(path.join(wasmDir, 'pkg'))) + let folderName = fs.existsSync(path.join(wasmDir, 'pkg')) ? 'pkg' : `pkg-${wasmTarget}` let wasmPkg = JSON.parse( - await readFile(path.join(wasmDir, `${folderName}/package.json`)) + fs.readFileSync(path.join(wasmDir, `${folderName}/package.json`)) ) wasmPkg.name = `@next/swc-wasm-${wasmTarget}` - await writeFile( + fs.writeFileSync( path.join(wasmDir, `${folderName}/package.json`), JSON.stringify(wasmPkg, null, 2) ) diff --git a/scripts/sync-react.js b/scripts/sync-react.js index ca022ade21256..a7286f4aa089f 100644 --- a/scripts/sync-react.js +++ b/scripts/sync-react.js @@ -1,7 +1,7 @@ // @ts-check const path = require('path') -const { readJson, writeJson } = require('fs-extra') +const fsp = require('fs/promises') const execa = require('execa') /** @type {any} */ @@ -52,7 +52,9 @@ Or, run this command with no arguments to use the most recently published versio } const cwd = process.cwd() - const pkgJson = await readJson(path.join(cwd, 'package.json')) + const pkgJson = JSON.parse( + await fsp.readFile(path.join(cwd, 'package.json'), 'utf-8') + ) const devDependencies = pkgJson.devDependencies const baseVersionStr = devDependencies[ useExperimental ? 'react-experimental-builtin' : 'react-builtin' @@ -90,7 +92,10 @@ Or, run this command with no arguments to use the most recently published versio ) } } - await writeJson(path.join(cwd, 'package.json'), pkgJson, { spaces: 2 }) + await fsp.writeFile( + path.join(cwd, 'package.json'), + JSON.stringify(pkgJson, null, 2) + ) console.log('Successfully updated React dependencies in package.json.\n') // Install the updated dependencies and build the vendored React files. diff --git a/scripts/trace-next-server.js b/scripts/trace-next-server.js index ca1db9cdd574f..47e6ba415e827 100644 --- a/scripts/trace-next-server.js +++ b/scripts/trace-next-server.js @@ -1,7 +1,8 @@ const os = require('os') const path = require('path') const execa = require('execa') -const fs = require('fs-extra') +const fsp = require('fs/promises') +const { copy } = require('fs-extra') const prettyBytes = require('pretty-bytes') const gzipSize = require('next/dist/compiled/gzip-size') const { nodeFileTrace } = require('next/dist/compiled/@vercel/nft') @@ -24,7 +25,7 @@ async function main() { const origTestDir = path.join(origRepoDir, 'test') const dotDir = path.join(origRepoDir, './') + '.' - await fs.copy(origRepoDir, repoDir, { + await copy(origRepoDir, repoDir, { filter: (item) => { return ( !item.startsWith(origTestDir) && @@ -36,11 +37,11 @@ async function main() { console.log('using workdir', workDir) console.log('using repodir', repoDir) - await fs.ensureDir(workDir) + await fsp.mkdir(workDir, { recursive: true }) const pkgPaths = await linkPackages({ repoDir: origRepoDir }) - await fs.writeFile( + await fsp.writeFile( path.join(workDir, 'package.json'), JSON.stringify( { @@ -95,7 +96,7 @@ async function main() { continue } tracedDeps.add(file.replace(/\\/g, '/')) - const stat = await fs.stat(path.join(workDir, file)) + const stat = await fsp.stat(path.join(workDir, file)) if (stat.isFile()) { const compressedSize = await gzipSize(path.join(workDir, file)) @@ -112,7 +113,7 @@ async function main() { totalUncompressedSize: prettyBytes(totalUncompressedSize), }) - await fs.writeFile( + await fsp.writeFile( path.join( __dirname, '../packages/next/dist/server/next-server.js.nft.json' @@ -122,8 +123,8 @@ async function main() { version: 1, }) ) - await fs.remove(workDir) - await fs.remove(repoDir) + await fsp.rm(workDir, { recursive: true, force: true }) + await fsp.rm(repoDir, { recursive: true, force: true }) console.timeEnd(traceLabel) diff --git a/test/.stats-app/package.json b/test/.stats-app/package.json index ffb2a82e51e95..f1ad0be262e36 100644 --- a/test/.stats-app/package.json +++ b/test/.stats-app/package.json @@ -8,7 +8,7 @@ "react-dom": "latest" }, "engines": { - "node": ">=16.14.0", + "node": ">=18.17.0", "pnpm": "8.9.0" }, "packageManager": "pnpm@8.9.0" diff --git a/test/__mocks__/node-polyfill-web-streams.js b/test/__mocks__/node-polyfill-web-streams.js deleted file mode 100644 index c68addeff1e27..0000000000000 --- a/test/__mocks__/node-polyfill-web-streams.js +++ /dev/null @@ -1,19 +0,0 @@ -const { - ReadableStream, - TransformStream, - WritableStreamDefaultWriter, -} = require('next/dist/compiled/@edge-runtime/ponyfill') - -const OriginWritableStreamWrite = WritableStreamDefaultWriter.prototype.write - -// Override writable stream write method to validate chunk type. -// Currently CF workers only allow to write the encoded chunk in Uint8Array format. -WritableStreamDefaultWriter.prototype.write = function (chunk) { - if (!(chunk instanceof Uint8Array)) { - throw new Error('Writing non-Uint8Array chunks in a stream is not allowed.') - } - return OriginWritableStreamWrite.call(this, chunk) -} - -global.ReadableStream = ReadableStream -global.TransformStream = TransformStream diff --git a/test/development/acceptance-app/ReactRefreshLogBox.test.ts b/test/development/acceptance-app/ReactRefreshLogBox.test.ts index ba71baa42f42f..bd75f6f16c923 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox.test.ts @@ -577,7 +577,7 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { expect(await session.hasRedbox(true)).toBe(true) expect(await session.getRedboxDescription()).toMatchInlineSnapshot( - `"Error: {\\"a\\":1,\\"b\\":\\"x\\"}"` + `"Error: {"a":1,"b":"x"}"` ) // fix previous error diff --git a/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox-scss.test.ts.snap b/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox-scss.test.ts.snap index 53b9a710b469c..4aabd710b78bc 100644 --- a/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox-scss.test.ts.snap +++ b/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox-scss.test.ts.snap @@ -17,7 +17,7 @@ Import trace for requested module: exports[`ReactRefreshLogBox app scss syntax errors 2`] = ` "./index.module.scss (1:1) -Syntax error: Selector \\"button\\" is not pure (pure selectors must contain at least one local class or id) +Syntax error: Selector "button" is not pure (pure selectors must contain at least one local class or id) > 1 | button { font-size: 5px; } | ^" diff --git a/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox.test.ts.snap b/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox.test.ts.snap index 48b1e8f6b495d..e6abc90aa8daf 100644 --- a/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox.test.ts.snap +++ b/test/development/acceptance-app/__snapshots__/ReactRefreshLogBox.test.ts.snap @@ -13,7 +13,7 @@ Import trace for requested module: exports[`ReactRefreshLogBox app default Import trace when module not found in layout 1`] = ` "./app/module.js (1:0) Module not found: Can't resolve 'non-existing-module' -> 1 | import \\"non-existing-module\\" +> 1 | import "non-existing-module" https://nextjs.org/docs/messages/module-not-found @@ -29,7 +29,7 @@ exports[`ReactRefreshLogBox app default Should not show __webpack_exports__ when > 3 | throw new Error('test') | ^ 4 | } - 5 | + 5 | 6 | return null" `; @@ -53,7 +53,7 @@ exports[`ReactRefreshLogBox app default conversion to class component (1) 1`] = exports[`ReactRefreshLogBox app default css syntax errors 1`] = ` "./index.module.css (1:1) -Syntax error: Selector \\"button\\" is not pure (pure selectors must contain at least one local class or id) +Syntax error: Selector "button" is not pure (pure selectors must contain at least one local class or id) > 1 | button {} | ^" @@ -90,7 +90,7 @@ exports[`ReactRefreshLogBox app default module init error not shown 1`] = ` exports[`ReactRefreshLogBox app default should strip whitespace correctly with newline 1`] = ` "index.js (8:26) @ onClick - 6 | + 6 | 7 | <a onClick={() => { > 8 | throw new Error('idk') | ^ diff --git a/test/development/acceptance-app/dynamic-error.test.ts b/test/development/acceptance-app/dynamic-error.test.ts index a5cc5ec9daba3..12dafa1a5534c 100644 --- a/test/development/acceptance-app/dynamic-error.test.ts +++ b/test/development/acceptance-app/dynamic-error.test.ts @@ -33,7 +33,7 @@ describe('dynamic = "error" in devmode', () => { await session.hasRedbox(true) console.log(await session.getRedboxDescription()) expect(await session.getRedboxDescription()).toMatchInlineSnapshot( - `"Error: Page with \`dynamic = \\"error\\"\` couldn't be rendered statically because it used \`cookies\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering"` + `"Error: Page with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering"` ) await cleanup() diff --git a/test/development/acceptance-app/hydration-error.test.ts b/test/development/acceptance-app/hydration-error.test.ts index ea40ef58e0ff4..3eaf323d2ecb0 100644 --- a/test/development/acceptance-app/hydration-error.test.ts +++ b/test/development/acceptance-app/hydration-error.test.ts @@ -40,12 +40,12 @@ describe('Error overlay for hydration errors', () => { await session.waitForAndOpenRuntimeError() expect(await session.getRedboxDescription()).toMatchInlineSnapshot(` - "Error: Text content does not match server-rendered HTML. + "Error: Text content does not match server-rendered HTML. - Warning: Text content did not match. Server: \\"server\\" Client: \\"client\\" + Warning: Text content did not match. Server: "server" Client: "client" - See more info here: https://nextjs.org/docs/messages/react-hydration-error" - `) + See more info here: https://nextjs.org/docs/messages/react-hydration-error" + `) await cleanup() }) @@ -109,12 +109,12 @@ describe('Error overlay for hydration errors', () => { await session.waitForAndOpenRuntimeError() expect(await session.getRedboxDescription()).toMatchInlineSnapshot(` - "Error: Hydration failed because the initial UI does not match what was rendered on the server. + "Error: Hydration failed because the initial UI does not match what was rendered on the server. - Warning: Expected server HTML to contain a matching text node for \\"second\\" in <div>. + Warning: Expected server HTML to contain a matching text node for "second" in <div>. - See more info here: https://nextjs.org/docs/messages/react-hydration-error" - `) + See more info here: https://nextjs.org/docs/messages/react-hydration-error" + `) await cleanup() }) @@ -173,12 +173,12 @@ describe('Error overlay for hydration errors', () => { await session.waitForAndOpenRuntimeError() expect(await session.getRedboxDescription()).toMatchInlineSnapshot(` - "Error: Hydration failed because the initial UI does not match what was rendered on the server. + "Error: Hydration failed because the initial UI does not match what was rendered on the server. - Warning: Did not expect server HTML to contain the text node \\"only\\" in <div>. + Warning: Did not expect server HTML to contain the text node "only" in <div>. - See more info here: https://nextjs.org/docs/messages/react-hydration-error" - `) + See more info here: https://nextjs.org/docs/messages/react-hydration-error" + `) await cleanup() }) diff --git a/test/development/acceptance-app/invalid-imports.test.ts b/test/development/acceptance-app/invalid-imports.test.ts index 278216e2ef8c4..436181dd76a5b 100644 --- a/test/development/acceptance-app/invalid-imports.test.ts +++ b/test/development/acceptance-app/invalid-imports.test.ts @@ -67,16 +67,16 @@ describe('Error Overlay invalid imports', () => { expect(await session.hasRedbox(true)).toBe(true) expect(await session.getRedboxSource()).toMatchInlineSnapshot(` - "./app/comp2.js - 'client-only' cannot be imported from a Server Component module. It should only be used from a Client Component. + "./app/comp2.js + 'client-only' cannot be imported from a Server Component module. It should only be used from a Client Component. - The error was caused by using 'styled-jsx' in './app/comp2.js'. It only works in a Client Component but none of its parents are marked with \\"use client\\", so they're Server Components by default. + The error was caused by using 'styled-jsx' in './app/comp2.js'. It only works in a Client Component but none of its parents are marked with "use client", so they're Server Components by default. - Import trace for requested module: - ./app/comp2.js - ./app/comp1.js - ./app/page.js" - `) + Import trace for requested module: + ./app/comp2.js + ./app/comp1.js + ./app/page.js" + `) await cleanup() }) diff --git a/test/development/acceptance-app/rsc-build-errors.test.ts b/test/development/acceptance-app/rsc-build-errors.test.ts index f65a33bc38a4c..9e866acb8f8bf 100644 --- a/test/development/acceptance-app/rsc-build-errors.test.ts +++ b/test/development/acceptance-app/rsc-build-errors.test.ts @@ -292,20 +292,20 @@ describe('Error overlay - RSC build errors', () => { next.normalizeTestDirContent(await session.getRedboxSource()) ).toMatchInlineSnapshot( next.normalizeSnapshot(` - "./app/server-with-errors/error-file/error.js - ReactServerComponentsError: + "./app/server-with-errors/error-file/error.js + ReactServerComponentsError: - ./app/server-with-errors/error-file/error.js must be a Client Component. Add the \\"use client\\" directive the top of the file to resolve this issue. - Learn more: https://nextjs.org/docs/getting-started/react-essentials#client-components + ./app/server-with-errors/error-file/error.js must be a Client Component. Add the "use client" directive the top of the file to resolve this issue. + Learn more: https://nextjs.org/docs/getting-started/react-essentials#client-components - ,-[TEST_DIR/app/server-with-errors/error-file/error.js:1:1] - 1 | export default function Error() {} - : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - \`---- + ,-[TEST_DIR/app/server-with-errors/error-file/error.js:1:1] + 1 | export default function Error() {} + : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + \`---- - Import path: - ./app/server-with-errors/error-file/error.js" - `) + Import path: + ./app/server-with-errors/error-file/error.js" + `) ) await cleanup() @@ -330,7 +330,7 @@ describe('Error overlay - RSC build errors', () => { // "./app/server-with-errors/error-file/error.js // ReactServerComponentsError: - // ./app/server-with-errors/error-file/error.js must be a Client Component. Add the \\"use client\\" directive the top of the file to resolve this issue. + // ./app/server-with-errors/error-file/error.js must be a Client Component. Add the "use client" directive the top of the file to resolve this issue. // ,-[TEST_DIR/app/server-with-errors/error-file/error.js:1:1] // 1 | diff --git a/test/development/acceptance/ReactRefreshLogBox-app-doc.test.ts b/test/development/acceptance/ReactRefreshLogBox-app-doc.test.ts index 163bdf84ebf41..b0d3bcbd6d2cd 100644 --- a/test/development/acceptance/ReactRefreshLogBox-app-doc.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox-app-doc.test.ts @@ -17,7 +17,7 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { ) expect(await session.hasRedbox(true)).toBe(true) expect(await session.getRedboxDescription()).toMatchInlineSnapshot( - `"Error: The default export is not a React Component in page: \\"/_app\\""` + `"Error: The default export is not a React Component in page: "/_app""` ) await session.patch( @@ -40,7 +40,7 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { ) expect(await session.hasRedbox(true)).toBe(true) expect(await session.getRedboxDescription()).toMatchInlineSnapshot( - `"Error: The default export is not a React Component in page: \\"/_document\\""` + `"Error: The default export is not a React Component in page: "/_document""` ) await session.patch( diff --git a/test/development/acceptance/ReactRefreshLogBox.test.ts b/test/development/acceptance/ReactRefreshLogBox.test.ts index 2b1290edaed06..19cf64b5aa1a5 100644 --- a/test/development/acceptance/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox.test.ts @@ -631,7 +631,7 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox %s', () => { expect(await session.hasRedbox(true)).toBe(true) expect(await session.getRedboxDescription()).toMatchInlineSnapshot( - `"Error: {\\"a\\":1,\\"b\\":\\"x\\"}"` + `"Error: {"a":1,"b":"x"}"` ) // fix previous error diff --git a/test/development/acceptance/__snapshots__/ReactRefreshLogBox-builtins.test.ts.snap b/test/development/acceptance/__snapshots__/ReactRefreshLogBox-builtins.test.ts.snap index d22b4a1d2f676..5ee7a491617f7 100644 --- a/test/development/acceptance/__snapshots__/ReactRefreshLogBox-builtins.test.ts.snap +++ b/test/development/acceptance/__snapshots__/ReactRefreshLogBox-builtins.test.ts.snap @@ -4,7 +4,7 @@ exports[`ReactRefreshLogBox default Module not found (empty import trace) 1`] = "./pages/index.js:1:0 Module not found: Can't resolve 'b' > 1 | import Comp from 'b' - 2 | + 2 | 3 | export default function Oops() { 4 | return ( @@ -15,7 +15,7 @@ exports[`ReactRefreshLogBox default Module not found (missing global CSS) 1`] = "./pages/_app.js:1:0 Module not found: Can't resolve './non-existent.css' > 1 | import './non-existent.css' - 2 | + 2 | 3 | export default function App({ Component, pageProps }) { 4 | return <Component {...pageProps} /> @@ -26,7 +26,7 @@ exports[`ReactRefreshLogBox default Module not found 1`] = ` "./index.js:1:0 Module not found: Can't resolve 'b' > 1 | import Comp from 'b' - 2 | + 2 | 3 | export default function Oops() { 4 | return ( diff --git a/test/development/acceptance/__snapshots__/ReactRefreshLogBox.test.ts.snap b/test/development/acceptance/__snapshots__/ReactRefreshLogBox.test.ts.snap index f603c73653803..9e6f0d9e59998 100644 --- a/test/development/acceptance/__snapshots__/ReactRefreshLogBox.test.ts.snap +++ b/test/development/acceptance/__snapshots__/ReactRefreshLogBox.test.ts.snap @@ -20,7 +20,7 @@ exports[`ReactRefreshLogBox default conversion to class component (1) 1`] = ` exports[`ReactRefreshLogBox default css syntax errors 1`] = ` "./index.module.css:1:1 -Syntax error: Selector \\"button\\" is not pure (pure selectors must contain at least one local class or id) +Syntax error: Selector "button" is not pure (pure selectors must contain at least one local class or id) > 1 | button {} | ^" @@ -61,7 +61,7 @@ exports[`ReactRefreshLogBox default module init error not shown 1`] = ` exports[`ReactRefreshLogBox default should strip whitespace correctly with newline 1`] = ` "index.js (8:26) @ onClick - 6 | + 6 | 7 | <a onClick={() => { > 8 | throw new Error('idk') | ^ diff --git a/test/development/acceptance/hydration-error.test.ts b/test/development/acceptance/hydration-error.test.ts index 449ecef630645..0b652b1dba158 100644 --- a/test/development/acceptance/hydration-error.test.ts +++ b/test/development/acceptance/hydration-error.test.ts @@ -37,12 +37,12 @@ describe('Error overlay for hydration errors', () => { expect(await session.hasRedbox(true)).toBe(true) expect(await session.getRedboxDescription()).toMatchInlineSnapshot(` - "Error: Text content does not match server-rendered HTML. + "Error: Text content does not match server-rendered HTML. - Warning: Text content did not match. Server: \\"server\\" Client: \\"client\\" + Warning: Text content did not match. Server: "server" Client: "client" - See more info here: https://nextjs.org/docs/messages/react-hydration-error" - `) + See more info here: https://nextjs.org/docs/messages/react-hydration-error" + `) await cleanup() }) diff --git a/test/development/basic/__snapshots__/next-rs-api.test.ts.snap b/test/development/basic/__snapshots__/next-rs-api.test.ts.snap index f0086cfb25d20..c637593832004 100644 --- a/test/development/basic/__snapshots__/next-rs-api.test.ts.snap +++ b/test/development/basic/__snapshots__/next-rs-api.test.ts.snap @@ -1,162 +1,162 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`next.rs api should allow to write app Node.js page to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write app Node.js page to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write app Node.js page to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write app Node.js page to disk: issues 1`] = `[]`; -exports[`next.rs api should allow to write app Node.js page to disk: rsc diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write app Node.js page to disk: rsc diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write app Node.js page to disk: rsc issues 1`] = `Array []`; +exports[`next.rs api should allow to write app Node.js page to disk: rsc issues 1`] = `[]`; -exports[`next.rs api should allow to write app Node.js route to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write app Node.js route to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write app Node.js route to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write app Node.js route to disk: issues 1`] = `[]`; -exports[`next.rs api should allow to write app edge page to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write app edge page to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write app edge page to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write app edge page to disk: issues 1`] = `[]`; -exports[`next.rs api should allow to write app edge page to disk: rsc diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write app edge page to disk: rsc diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write app edge page to disk: rsc issues 1`] = `Array []`; +exports[`next.rs api should allow to write app edge page to disk: rsc issues 1`] = `[]`; -exports[`next.rs api should allow to write app edge route to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write app edge route to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write app edge route to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write app edge route to disk: issues 1`] = `[]`; -exports[`next.rs api should allow to write pages Node.js api to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write pages Node.js api to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write pages Node.js api to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write pages Node.js api to disk: issues 1`] = `[]`; -exports[`next.rs api should allow to write pages Node.js page to disk: data diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write pages Node.js page to disk: data diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write pages Node.js page to disk: data issues 1`] = `Array []`; +exports[`next.rs api should allow to write pages Node.js page to disk: data issues 1`] = `[]`; -exports[`next.rs api should allow to write pages Node.js page to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write pages Node.js page to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write pages Node.js page to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write pages Node.js page to disk: issues 1`] = `[]`; -exports[`next.rs api should allow to write pages edge api to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write pages edge api to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write pages edge api to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write pages edge api to disk: issues 1`] = `[]`; -exports[`next.rs api should allow to write pages edge page to disk: data diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write pages edge page to disk: data diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write pages edge page to disk: data issues 1`] = `Array []`; +exports[`next.rs api should allow to write pages edge page to disk: data issues 1`] = `[]`; -exports[`next.rs api should allow to write pages edge page to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write pages edge page to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write pages edge page to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write pages edge page to disk: issues 1`] = `[]`; -exports[`next.rs api should allow to write root page to disk: data diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write root page to disk: data diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write root page to disk: data issues 1`] = `Array []`; +exports[`next.rs api should allow to write root page to disk: data issues 1`] = `[]`; -exports[`next.rs api should allow to write root page to disk: diagnostics 1`] = `Array []`; +exports[`next.rs api should allow to write root page to disk: diagnostics 1`] = `[]`; -exports[`next.rs api should allow to write root page to disk: issues 1`] = `Array []`; +exports[`next.rs api should allow to write root page to disk: issues 1`] = `[]`; exports[`next.rs api should detect the correct routes: diagnostics 1`] = ` -Array [ - Object { +[ + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "modularizeImports": "true", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "platform-triplet": "true", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "skipMiddlewareUrlNormalize": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "skipTrailingSlashRedirect": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "swcEmotion": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "swcExperimentalDecorators": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "swcImportSource": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "swcMinify": "true", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "swcReactRemoveProperties": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "swcRelay": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "swcRemoveConsole": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "swcStyledComponents": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "transpilePackages": "false", }, }, - Object { + { "category": "NextFeatureTelemetry_category_tbd", "name": "EVENT_BUILD_FEATURE_USAGE", - "payload": Object { + "payload": { "turbotrace": "false", }, }, ] `; -exports[`next.rs api should detect the correct routes: issues 1`] = `Array []`; +exports[`next.rs api should detect the correct routes: issues 1`] = `[]`; diff --git a/test/development/basic/hmr.test.ts b/test/development/basic/hmr.test.ts index c232be2df7b14..3c22f667fa131 100644 --- a/test/development/basic/hmr.test.ts +++ b/test/development/basic/hmr.test.ts @@ -662,7 +662,7 @@ describe.each([[''], ['/docs']])( " 1 of 1 unhandled error Server Error - Error: The default export is not a React Component in page: \\"/hmr/about5\\" + Error: The default export is not a React Component in page: "/hmr/about5" This error happened while generating the page. Any console logs will be displayed in the terminal window." `) @@ -765,7 +765,7 @@ describe.each([[''], ['/docs']])( " 1 of 1 unhandled error Server Error - Error: The default export is not a React Component in page: \\"/hmr/about7\\" + Error: The default export is not a React Component in page: "/hmr/about7" This error happened while generating the page. Any console logs will be displayed in the terminal window." `) diff --git a/test/development/basic/next-dynamic.test.ts b/test/development/basic/next-dynamic.test.ts index 5294624adeb1d..efbd2c99c66d0 100644 --- a/test/development/basic/next-dynamic.test.ts +++ b/test/development/basic/next-dynamic.test.ts @@ -237,32 +237,35 @@ describe.each([ }) } }) + // Turbopack doesn't have this feature. + ;(process.env.TURBOPACK ? describe.skip : describe)( + 'custom chunkfilename', + () => { + it('should render the correct filename', async () => { + const $ = await get$(basePath + '/dynamic/chunkfilename') + expect($('body').text()).toMatch(/test chunkfilename/) + expect($('html').html()).toMatch(/hello-world\.js/) + }) - describe('custom chunkfilename', () => { - it('should render the correct filename', async () => { - const $ = await get$(basePath + '/dynamic/chunkfilename') - expect($('body').text()).toMatch(/test chunkfilename/) - expect($('html').html()).toMatch(/hello-world\.js/) - }) - - it('should render the component on client side', async () => { - let browser - try { - browser = await webdriver( - next.url, - basePath + '/dynamic/chunkfilename' - ) - await check( - () => browser.elementByCss('body').text(), - /test chunkfilename/ - ) - } finally { - if (browser) { - await browser.close() + it('should render the component on client side', async () => { + let browser + try { + browser = await webdriver( + next.url, + basePath + '/dynamic/chunkfilename' + ) + await check( + () => browser.elementByCss('body').text(), + /test chunkfilename/ + ) + } finally { + if (browser) { + await browser.close() + } } - } - }) - }) + }) + } + ) describe('custom loading', () => { it('should render custom loading on the server side when `ssr:false` and `loading` is provided', async () => { @@ -289,45 +292,49 @@ describe.each([ }) }) - describe('Multiple modules', () => { - it('should only include the rendered module script tag', async () => { - const $ = await get$(basePath + '/dynamic/multiple-modules') - const html = $('html').html() - expect(html).toMatch(/hello1\.js/) - expect(html).not.toMatch(/hello2\.js/) - }) - - it('should only load the rendered module in the browser', async () => { - let browser - try { - browser = await webdriver( - next.url, - basePath + '/dynamic/multiple-modules' - ) - const html = await browser.eval( - 'document.documentElement.innerHTML' - ) + // TODO: Make this test work with Turbopack. Currently the test relies on `chunkFileName` which is not supported by Turbopack. + ;(process.env.TURBOPACK ? describe.skip : describe)( + 'Multiple modules', + () => { + it('should only include the rendered module script tag', async () => { + const $ = await get$(basePath + '/dynamic/multiple-modules') + const html = $('html').html() expect(html).toMatch(/hello1\.js/) expect(html).not.toMatch(/hello2\.js/) - } finally { - if (browser) { - await browser.close() + }) + + it('should only load the rendered module in the browser', async () => { + let browser + try { + browser = await webdriver( + next.url, + basePath + '/dynamic/multiple-modules' + ) + const html = await browser.eval( + 'document.documentElement.innerHTML' + ) + expect(html).toMatch(/hello1\.js/) + expect(html).not.toMatch(/hello2\.js/) + } finally { + if (browser) { + await browser.close() + } } - } - }) + }) - it('should only render one bundle if component is used multiple times', async () => { - const $ = await get$(basePath + '/dynamic/multiple-modules') - const html = $('html').html() - try { - expect(html.match(/chunks[\\/]hello1\.js/g).length).toBe(1) - expect(html).not.toMatch(/hello2\.js/) - } catch (err) { - console.error(html) - throw err - } - }) - }) + it('should only render one bundle if component is used multiple times', async () => { + const $ = await get$(basePath + '/dynamic/multiple-modules') + const html = $('html').html() + try { + expect(html.match(/chunks[\\/]hello1\.js/g).length).toBe(1) + expect(html).not.toMatch(/hello2\.js/) + } catch (err) { + console.error(html) + throw err + } + }) + } + ) }) } ) diff --git a/test/e2e/404-page-router/index.test.ts b/test/e2e/404-page-router/index.test.ts index 8b5d08a5bac4c..bcffd89f3de70 100644 --- a/test/e2e/404-page-router/index.test.ts +++ b/test/e2e/404-page-router/index.test.ts @@ -118,7 +118,7 @@ describe('404-page-router', () => { describe.each(urls)('for $url', ({ url, pathname, asPath }) => { it('should have the correct router parameters after it is ready', async () => { - const query = url.split('?')[1] ?? '' + const query = url.split('?', 2)[1] ?? '' const browser = await webdriver(next.url, url) try { diff --git a/test/e2e/app-dir/actions-navigation/app/nested-folder/(foo)/product-category/[...slugs]/page.js b/test/e2e/app-dir/actions-navigation/app/nested-folder/(foo)/product-category/[...slugs]/page.js index 3095ad98eff06..49d67da59355d 100644 --- a/test/e2e/app-dir/actions-navigation/app/nested-folder/(foo)/product-category/[...slugs]/page.js +++ b/test/e2e/app-dir/actions-navigation/app/nested-folder/(foo)/product-category/[...slugs]/page.js @@ -1,5 +1,5 @@ 'use client' -import { experimental_useFormStatus as useFormStatus } from 'react-dom' +import { useFormStatus } from 'react-dom' import { addToCart } from './actions' function SubmitButton() { diff --git a/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts b/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts index 65f47467b28ff..13951b3448006 100644 --- a/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts +++ b/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts @@ -24,7 +24,7 @@ createNextDescribe( await check(() => { return browser.eval('window.location.pathname + window.location.search') - }, '/header?name=test&constructor=FormData&hidden-info=hi') + }, '/header?name=test&constructor=_FormData&hidden-info=hi') }) it('should support actions from client without JS', async () => { @@ -39,7 +39,7 @@ createNextDescribe( await check(() => { return browser.eval('window.location.pathname + window.location.search') - }, '/header?name=test&constructor=FormData&hidden-info=hi') + }, '/header?name=test&constructor=_FormData&hidden-info=hi') }) } ) diff --git a/test/e2e/app-dir/actions/app-action.test.ts b/test/e2e/app-dir/actions/app-action.test.ts index 6a6865985e88f..08e3705074d89 100644 --- a/test/e2e/app-dir/actions/app-action.test.ts +++ b/test/e2e/app-dir/actions/app-action.test.ts @@ -45,7 +45,7 @@ createNextDescribe( await browser.elementByCss('#cookie').click() await check(async () => { const res = (await browser.elementByCss('h1').text()) || '' - const id = res.split(':') + const id = res.split(':', 2) return id[0] === id[1] && id[0] ? 'same' : 'different' }, 'same') @@ -59,7 +59,7 @@ createNextDescribe( await browser.elementByCss('#setCookie').click() await check(async () => { const res = (await browser.elementByCss('h1').text()) || '' - const id = res.split(':') + const id = res.split(':', 3) return id[0] === id[1] && id[0] === id[2] && id[0] ? 'same' : 'different' @@ -134,7 +134,7 @@ createNextDescribe( await check(() => { return browser.eval('window.location.pathname + window.location.search') - }, '/header?name=test&constructor=FormData&hidden-info=hi') + }, '/header?name=test&constructor=_FormData&hidden-info=hi') }) it('should support .bind', async () => { diff --git a/test/e2e/app-dir/actions/app/client/form-state/page-2/page.js b/test/e2e/app-dir/actions/app/client/form-state/page-2/page.js index 47e341239da71..fb8684dec23a5 100644 --- a/test/e2e/app-dir/actions/app/client/form-state/page-2/page.js +++ b/test/e2e/app-dir/actions/app/client/form-state/page-2/page.js @@ -1,11 +1,11 @@ 'use client' -import { experimental_useFormState } from 'react-dom' +import { useFormState } from 'react-dom' import { appendName } from '../actions' import { useEffect, useState } from 'react' export default function Page() { - const [state, appendNameFormAction] = experimental_useFormState( + const [state, appendNameFormAction] = useFormState( appendName, 'initial-state', '/client/form-state' diff --git a/test/e2e/app-dir/actions/app/client/form-state/page.js b/test/e2e/app-dir/actions/app/client/form-state/page.js index 32fa63c858d82..3427f2324c66a 100644 --- a/test/e2e/app-dir/actions/app/client/form-state/page.js +++ b/test/e2e/app-dir/actions/app/client/form-state/page.js @@ -1,11 +1,11 @@ 'use client' -import { experimental_useFormState } from 'react-dom' +import { useFormState } from 'react-dom' import { appendName } from './actions' import { useEffect, useState } from 'react' export default function Page() { - const [state, appendNameFormAction] = experimental_useFormState( + const [state, appendNameFormAction] = useFormState( appendName, 'initial-state', '/client/form-state' diff --git a/test/e2e/app-dir/app-external/app-external.test.ts b/test/e2e/app-dir/app-external/app-external.test.ts index 38592f5ba1b47..b4e66cb205966 100644 --- a/test/e2e/app-dir/app-external/app-external.test.ts +++ b/test/e2e/app-dir/app-external/app-external.test.ts @@ -39,7 +39,7 @@ createNextDescribe( buildCommand: 'yarn build', skipDeployment: true, }, - ({ next, isNextDev }) => { + ({ next }) => { it('should be able to opt-out 3rd party packages being bundled in server components', async () => { await next.fetch('/react-server/optout').then(async (response) => { const result = await resolveStreamResponse(response) @@ -47,6 +47,7 @@ createNextDescribe( expect(result).toContain('Server subpath: subpath.default') expect(result).toContain('Client: index.default') expect(result).toContain('Client subpath: subpath.default') + expect(result).toContain('opt-out-react-version: 18.2.0') }) }) @@ -91,24 +92,23 @@ createNextDescribe( }) it('should resolve 3rd party package exports based on the react-server condition', async () => { - await next - .fetch('/react-server/3rd-party-package') - .then(async (response) => { - const result = await resolveStreamResponse(response) - - // Package should be resolved based on the react-server condition, - // as well as package's internal & external dependencies. - expect(result).toContain( - 'Server: index.react-server:react.subset:dep.server' - ) - expect(result).toContain( - 'Client: index.default:react.full:dep.default' - ) - - // Subpath exports should be resolved based on the condition too. - expect(result).toContain('Server subpath: subpath.react-server') - expect(result).toContain('Client subpath: subpath.default') - }) + const $ = await next.render$('/react-server/3rd-party-package') + + const result = $('body').text() + + // Package should be resolved based on the react-server condition, + // as well as package's internal & external dependencies. + expect(result).toContain( + 'Server: index.react-server:react.subset:dep.server' + ) + expect(result).toContain('Client: index.default:react.full:dep.default') + + // Subpath exports should be resolved based on the condition too. + expect(result).toContain('Server subpath: subpath.react-server') + expect(result).toContain('Client subpath: subpath.default') + + // Prefer `module` field for isomorphic packages. + expect($('#main-field').text()).toContain('server-module-field:module') }) it('should correctly collect global css imports and mark them as side effects', async () => { diff --git a/test/e2e/app-dir/app-external/app/react-server/3rd-party-package/page.js b/test/e2e/app-dir/app-external/app/react-server/3rd-party-package/page.js index 33141e12f7685..92e9f01672faa 100644 --- a/test/e2e/app-dir/app-external/app/react-server/3rd-party-package/page.js +++ b/test/e2e/app-dir/app-external/app/react-server/3rd-party-package/page.js @@ -1,5 +1,6 @@ import v from 'conditional-exports' import v1 from 'conditional-exports/subpath' +import { name as serverFieldName } from 'server-module-field' import Client from './client' @@ -11,6 +12,8 @@ export default function Page() { {`Server subpath: ${v1}`} <br /> <Client /> + <br /> + <div id="main-field">{`Server module field: ${serverFieldName}`}</div> </div> ) } diff --git a/test/e2e/app-dir/app-external/app/react-server/optout/page.js b/test/e2e/app-dir/app-external/app/react-server/optout/page.js index fc7bd55ab86c3..45ba1ccff0358 100644 --- a/test/e2e/app-dir/app-external/app/react-server/optout/page.js +++ b/test/e2e/app-dir/app-external/app/react-server/optout/page.js @@ -1,5 +1,6 @@ import v from 'conditional-exports-optout' import v1 from 'conditional-exports-optout/subpath' +import { getReactVersion } from 'conditional-exports-optout/react' import Client from './client' @@ -11,6 +12,9 @@ export default function Page() { {`Server subpath: ${v1}`} <br /> <Client /> + <p id="optout-react-version"> + {`opt-out-react-version: ${getReactVersion()}`} + </p> </div> ) } diff --git a/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports-optout/package.json b/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports-optout/package.json index fe1b70d109b2a..3355c20aad28a 100644 --- a/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports-optout/package.json +++ b/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports-optout/package.json @@ -10,6 +10,9 @@ "react-server": "./subpath.server.js", "default": "./subpath.js" }, + "./react": { + "import": "./react.js" + }, "./package.json": "./package.json" } } diff --git a/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports-optout/react.js b/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports-optout/react.js new file mode 100644 index 0000000000000..4f2c2283ed693 --- /dev/null +++ b/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports-optout/react.js @@ -0,0 +1,5 @@ +import React from 'react' + +export function getReactVersion() { + return React.version +} diff --git a/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports/package.json b/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports/package.json index b51ade2e7acfe..06e09e177ae16 100644 --- a/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports/package.json +++ b/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports/package.json @@ -16,6 +16,9 @@ "react-server": "./subpath.server.js", "default": "./subpath.js" }, + "./react": { + "import": "./react.js" + }, "./package.json": "./package.json" } } diff --git a/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports/react.js b/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports/react.js new file mode 100644 index 0000000000000..4f2c2283ed693 --- /dev/null +++ b/test/e2e/app-dir/app-external/node_modules_bak/conditional-exports/react.js @@ -0,0 +1,5 @@ +import React from 'react' + +export function getReactVersion() { + return React.version +} diff --git a/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/index.cjs b/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/index.cjs new file mode 100644 index 0000000000000..bead07e159aa3 --- /dev/null +++ b/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/index.cjs @@ -0,0 +1 @@ +exports.name = 'server-module-field:main' diff --git a/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/index.esm.js b/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/index.esm.js new file mode 100644 index 0000000000000..02218634f7d07 --- /dev/null +++ b/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/index.esm.js @@ -0,0 +1 @@ +export const name = 'server-module-field:module' diff --git a/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/package.json b/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/package.json new file mode 100644 index 0000000000000..d6cb0ed97cb3d --- /dev/null +++ b/test/e2e/app-dir/app-external/node_modules_bak/server-module-field/package.json @@ -0,0 +1,4 @@ +{ + "main": "./index.cjs", + "module": "./index.esm.js" +} diff --git a/test/e2e/app-dir/app-prefetch/prefetching.test.ts b/test/e2e/app-dir/app-prefetch/prefetching.test.ts index 9d14424c3c6b4..9f8426392ee55 100644 --- a/test/e2e/app-dir/app-prefetch/prefetching.test.ts +++ b/test/e2e/app-dir/app-prefetch/prefetching.test.ts @@ -57,7 +57,7 @@ createNextDescribe( const after = Date.now() const timeToComplete = after - before - expect(timeToComplete < 1000).toBe(true) + expect(timeToComplete).toBeLessThan(1000) expect(await browser.elementByCss('#dashboard-layout').text()).toBe( 'Dashboard Hello World' diff --git a/test/e2e/app-dir/app-routes/app-custom-routes.test.ts b/test/e2e/app-dir/app-routes/app-custom-routes.test.ts index ce71ce2c776f5..f624d635fbbf2 100644 --- a/test/e2e/app-dir/app-routes/app-custom-routes.test.ts +++ b/test/e2e/app-dir/app-routes/app-custom-routes.test.ts @@ -62,7 +62,7 @@ createNextDescribe( '/static/three/data.json', ])('responds correctly on %s', async (path) => { expect(JSON.parse(await next.render(basePath + path))).toEqual({ - params: { slug: path.split('/')[2] }, + params: { slug: path.split('/', 3)[2] }, now: expect.any(Number), }) if (isNextStart) { @@ -85,7 +85,7 @@ createNextDescribe( ])('revalidates correctly on %s', async (path) => { const data = JSON.parse(await next.render(basePath + path)) expect(data).toEqual({ - params: { slug: path.split('/')[2] }, + params: { slug: path.split('/', 3)[2] }, now: expect.any(Number), }) diff --git a/test/e2e/app-dir/app-static/app-fetch-logging.test.ts b/test/e2e/app-dir/app-static/app-fetch-logging.test.ts index 745cd7ac7518f..e4eb045791720 100644 --- a/test/e2e/app-dir/app-static/app-fetch-logging.test.ts +++ b/test/e2e/app-dir/app-static/app-fetch-logging.test.ts @@ -11,13 +11,13 @@ function parseLogsFromCli(cliOutput: string) { return logs.reduce((parsedLogs, log) => { if (log.includes('Cache missed reason')) { // cache miss reason - const reasonSegment = log.split('Cache missed reason: ')[1].trim() + const reasonSegment = log.split('Cache missed reason: ', 2)[1].trim() const reason = reasonSegment.slice(1, -1) parsedLogs[parsedLogs.length - 1].cache = reason } else { // request info const trimmedLog = log.replace(/^[^a-zA-Z]+/, '') - const parts = trimmedLog.split(' ') + const parts = trimmedLog.split(' ', 5) const method = parts[0] const url = parts[1] const statusCode = parseInt(parts[2]) diff --git a/test/e2e/app-dir/app-static/app-static.test.ts b/test/e2e/app-dir/app-static/app-static.test.ts index ede749c02a3d9..55b8e9c135cb7 100644 --- a/test/e2e/app-dir/app-static/app-static.test.ts +++ b/test/e2e/app-dir/app-static/app-static.test.ts @@ -710,6 +710,12 @@ createNextDescribe( 'articles/[slug]/page_client-reference-manifest.js', 'articles/works.html', 'articles/works.rsc', + 'no-store/dynamic/page.js', + 'no-store/dynamic/page_client-reference-manifest.js', + 'no-store/static.html', + 'no-store/static.rsc', + 'no-store/static/page.js', + 'no-store/static/page_client-reference-manifest.js', ].sort() ) }) @@ -745,15 +751,15 @@ createNextDescribe( expect(curManifest.version).toBe(4) expect(curManifest.routes).toMatchInlineSnapshot(` - Object { - "/": Object { + { + "/": { "dataRoute": "/index.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -762,14 +768,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/", }, - "/articles/works": Object { + "/articles/works": { "dataRoute": "/articles/works.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -778,14 +784,14 @@ createNextDescribe( "initialRevalidateSeconds": 1, "srcRoute": "/articles/[slug]", }, - "/blog/seb": Object { + "/blog/seb": { "dataRoute": "/blog/seb.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -794,14 +800,14 @@ createNextDescribe( "initialRevalidateSeconds": 10, "srcRoute": "/blog/[author]", }, - "/blog/seb/second-post": Object { + "/blog/seb/second-post": { "dataRoute": "/blog/seb/second-post.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -810,14 +816,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/blog/[author]/[slug]", }, - "/blog/styfle": Object { + "/blog/styfle": { "dataRoute": "/blog/styfle.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -826,14 +832,14 @@ createNextDescribe( "initialRevalidateSeconds": 10, "srcRoute": "/blog/[author]", }, - "/blog/styfle/first-post": Object { + "/blog/styfle/first-post": { "dataRoute": "/blog/styfle/first-post.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -842,14 +848,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/blog/[author]/[slug]", }, - "/blog/styfle/second-post": Object { + "/blog/styfle/second-post": { "dataRoute": "/blog/styfle/second-post.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -858,14 +864,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/blog/[author]/[slug]", }, - "/blog/tim": Object { + "/blog/tim": { "dataRoute": "/blog/tim.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -874,14 +880,14 @@ createNextDescribe( "initialRevalidateSeconds": 10, "srcRoute": "/blog/[author]", }, - "/blog/tim/first-post": Object { + "/blog/tim/first-post": { "dataRoute": "/blog/tim/first-post.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -890,14 +896,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/blog/[author]/[slug]", }, - "/force-cache": Object { + "/force-cache": { "dataRoute": "/force-cache.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -906,14 +912,14 @@ createNextDescribe( "initialRevalidateSeconds": 3, "srcRoute": "/force-cache", }, - "/force-static/first": Object { + "/force-static/first": { "dataRoute": "/force-static/first.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -922,14 +928,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/force-static/[slug]", }, - "/force-static/second": Object { + "/force-static/second": { "dataRoute": "/force-static/second.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -938,14 +944,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/force-static/[slug]", }, - "/gen-params-dynamic-revalidate/one": Object { + "/gen-params-dynamic-revalidate/one": { "dataRoute": "/gen-params-dynamic-revalidate/one.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -954,14 +960,14 @@ createNextDescribe( "initialRevalidateSeconds": 3, "srcRoute": "/gen-params-dynamic-revalidate/[slug]", }, - "/hooks/use-pathname/slug": Object { + "/hooks/use-pathname/slug": { "dataRoute": "/hooks/use-pathname/slug.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -970,14 +976,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/hooks/use-pathname/[slug]", }, - "/hooks/use-search-params": Object { + "/hooks/use-search-params": { "dataRoute": "/hooks/use-search-params.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -986,14 +992,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/hooks/use-search-params", }, - "/hooks/use-search-params/force-static": Object { + "/hooks/use-search-params/force-static": { "dataRoute": "/hooks/use-search-params/force-static.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1002,14 +1008,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/hooks/use-search-params/force-static", }, - "/hooks/use-search-params/with-suspense": Object { + "/hooks/use-search-params/with-suspense": { "dataRoute": "/hooks/use-search-params/with-suspense.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1018,14 +1024,30 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/hooks/use-search-params/with-suspense", }, - "/partial-gen-params-no-additional-lang/en/RAND": Object { + "/no-store/static": { + "dataRoute": "/no-store/static.rsc", + "experimentalBypassFor": [ + { + "key": "Next-Action", + "type": "header", + }, + { + "key": "content-type", + "type": "header", + "value": "multipart/form-data", + }, + ], + "initialRevalidateSeconds": false, + "srcRoute": "/no-store/static", + }, + "/partial-gen-params-no-additional-lang/en/RAND": { "dataRoute": "/partial-gen-params-no-additional-lang/en/RAND.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1034,14 +1056,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-lang/[lang]/[slug]", }, - "/partial-gen-params-no-additional-lang/en/first": Object { + "/partial-gen-params-no-additional-lang/en/first": { "dataRoute": "/partial-gen-params-no-additional-lang/en/first.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1050,14 +1072,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-lang/[lang]/[slug]", }, - "/partial-gen-params-no-additional-lang/en/second": Object { + "/partial-gen-params-no-additional-lang/en/second": { "dataRoute": "/partial-gen-params-no-additional-lang/en/second.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1066,14 +1088,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-lang/[lang]/[slug]", }, - "/partial-gen-params-no-additional-lang/fr/RAND": Object { + "/partial-gen-params-no-additional-lang/fr/RAND": { "dataRoute": "/partial-gen-params-no-additional-lang/fr/RAND.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1082,14 +1104,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-lang/[lang]/[slug]", }, - "/partial-gen-params-no-additional-lang/fr/first": Object { + "/partial-gen-params-no-additional-lang/fr/first": { "dataRoute": "/partial-gen-params-no-additional-lang/fr/first.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1098,14 +1120,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-lang/[lang]/[slug]", }, - "/partial-gen-params-no-additional-lang/fr/second": Object { + "/partial-gen-params-no-additional-lang/fr/second": { "dataRoute": "/partial-gen-params-no-additional-lang/fr/second.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1114,14 +1136,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-lang/[lang]/[slug]", }, - "/partial-gen-params-no-additional-slug/en/RAND": Object { + "/partial-gen-params-no-additional-slug/en/RAND": { "dataRoute": "/partial-gen-params-no-additional-slug/en/RAND.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1130,14 +1152,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-slug/[lang]/[slug]", }, - "/partial-gen-params-no-additional-slug/en/first": Object { + "/partial-gen-params-no-additional-slug/en/first": { "dataRoute": "/partial-gen-params-no-additional-slug/en/first.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1146,14 +1168,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-slug/[lang]/[slug]", }, - "/partial-gen-params-no-additional-slug/en/second": Object { + "/partial-gen-params-no-additional-slug/en/second": { "dataRoute": "/partial-gen-params-no-additional-slug/en/second.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1162,14 +1184,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-slug/[lang]/[slug]", }, - "/partial-gen-params-no-additional-slug/fr/RAND": Object { + "/partial-gen-params-no-additional-slug/fr/RAND": { "dataRoute": "/partial-gen-params-no-additional-slug/fr/RAND.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1178,14 +1200,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-slug/[lang]/[slug]", }, - "/partial-gen-params-no-additional-slug/fr/first": Object { + "/partial-gen-params-no-additional-slug/fr/first": { "dataRoute": "/partial-gen-params-no-additional-slug/fr/first.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1194,14 +1216,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-slug/[lang]/[slug]", }, - "/partial-gen-params-no-additional-slug/fr/second": Object { + "/partial-gen-params-no-additional-slug/fr/second": { "dataRoute": "/partial-gen-params-no-additional-slug/fr/second.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1210,54 +1232,54 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/partial-gen-params-no-additional-slug/[lang]/[slug]", }, - "/route-handler/revalidate-360-isr": Object { + "/route-handler/revalidate-360-isr": { "dataRoute": null, - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], - "initialHeaders": Object { + "initialHeaders": { "content-type": "application/json", "x-next-cache-tags": "thankyounext,_N_T_/layout,_N_T_/route-handler/layout,_N_T_/route-handler/revalidate-360-isr/layout,_N_T_/route-handler/revalidate-360-isr/route,_N_T_/route-handler/revalidate-360-isr", }, "initialRevalidateSeconds": 10, "srcRoute": "/route-handler/revalidate-360-isr", }, - "/route-handler/static-cookies": Object { + "/route-handler/static-cookies": { "dataRoute": null, - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], - "initialHeaders": Object { + "initialHeaders": { "set-cookie": "theme=light; Path=/,my_company=ACME; Path=/", "x-next-cache-tags": "_N_T_/layout,_N_T_/route-handler/layout,_N_T_/route-handler/static-cookies/layout,_N_T_/route-handler/static-cookies/route,_N_T_/route-handler/static-cookies", }, "initialRevalidateSeconds": false, "srcRoute": "/route-handler/static-cookies", }, - "/ssg-draft-mode": Object { + "/ssg-draft-mode": { "dataRoute": "/ssg-draft-mode.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1266,14 +1288,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/ssg-draft-mode/[[...route]]", }, - "/ssg-draft-mode/test": Object { + "/ssg-draft-mode/test": { "dataRoute": "/ssg-draft-mode/test.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1282,14 +1304,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/ssg-draft-mode/[[...route]]", }, - "/ssg-draft-mode/test-2": Object { + "/ssg-draft-mode/test-2": { "dataRoute": "/ssg-draft-mode/test-2.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1298,14 +1320,14 @@ createNextDescribe( "initialRevalidateSeconds": false, "srcRoute": "/ssg-draft-mode/[[...route]]", }, - "/variable-config-revalidate/revalidate-3": Object { + "/variable-config-revalidate/revalidate-3": { "dataRoute": "/variable-config-revalidate/revalidate-3.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1314,14 +1336,14 @@ createNextDescribe( "initialRevalidateSeconds": 3, "srcRoute": "/variable-config-revalidate/revalidate-3", }, - "/variable-revalidate/authorization": Object { + "/variable-revalidate/authorization": { "dataRoute": "/variable-revalidate/authorization.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1330,14 +1352,14 @@ createNextDescribe( "initialRevalidateSeconds": 10, "srcRoute": "/variable-revalidate/authorization", }, - "/variable-revalidate/cookie": Object { + "/variable-revalidate/cookie": { "dataRoute": "/variable-revalidate/cookie.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1346,14 +1368,14 @@ createNextDescribe( "initialRevalidateSeconds": 3, "srcRoute": "/variable-revalidate/cookie", }, - "/variable-revalidate/encoding": Object { + "/variable-revalidate/encoding": { "dataRoute": "/variable-revalidate/encoding.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1362,14 +1384,14 @@ createNextDescribe( "initialRevalidateSeconds": 3, "srcRoute": "/variable-revalidate/encoding", }, - "/variable-revalidate/headers-instance": Object { + "/variable-revalidate/headers-instance": { "dataRoute": "/variable-revalidate/headers-instance.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1378,14 +1400,14 @@ createNextDescribe( "initialRevalidateSeconds": 10, "srcRoute": "/variable-revalidate/headers-instance", }, - "/variable-revalidate/post-method": Object { + "/variable-revalidate/post-method": { "dataRoute": "/variable-revalidate/post-method.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1394,14 +1416,14 @@ createNextDescribe( "initialRevalidateSeconds": 10, "srcRoute": "/variable-revalidate/post-method", }, - "/variable-revalidate/revalidate-3": Object { + "/variable-revalidate/revalidate-3": { "dataRoute": "/variable-revalidate/revalidate-3.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1410,14 +1432,14 @@ createNextDescribe( "initialRevalidateSeconds": 3, "srcRoute": "/variable-revalidate/revalidate-3", }, - "/variable-revalidate/revalidate-360-isr": Object { + "/variable-revalidate/revalidate-360-isr": { "dataRoute": "/variable-revalidate/revalidate-360-isr.rsc", - "experimentalBypassFor": Array [ - Object { + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", @@ -1429,193 +1451,193 @@ createNextDescribe( } `) expect(curManifest.dynamicRoutes).toMatchInlineSnapshot(` - Object { - "/articles/[slug]": Object { + { + "/articles/[slug]": { "dataRoute": "/articles/[slug].rsc", - "dataRouteRegex": "^\\\\/articles\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/articles\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": null, - "routeRegex": "^\\\\/articles\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/articles\\/([^\\/]+?)(?:\\/)?$", }, - "/blog/[author]": Object { + "/blog/[author]": { "dataRoute": "/blog/[author].rsc", - "dataRouteRegex": "^\\\\/blog\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/blog\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": false, - "routeRegex": "^\\\\/blog\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/blog\\/([^\\/]+?)(?:\\/)?$", }, - "/blog/[author]/[slug]": Object { + "/blog/[author]/[slug]": { "dataRoute": "/blog/[author]/[slug].rsc", - "dataRouteRegex": "^\\\\/blog\\\\/([^\\\\/]+?)\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/blog\\/([^\\/]+?)\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": null, - "routeRegex": "^\\\\/blog\\\\/([^\\\\/]+?)\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/blog\\/([^\\/]+?)\\/([^\\/]+?)(?:\\/)?$", }, - "/dynamic-error/[id]": Object { + "/dynamic-error/[id]": { "dataRoute": "/dynamic-error/[id].rsc", - "dataRouteRegex": "^\\\\/dynamic\\\\-error\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/dynamic\\-error\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": null, - "routeRegex": "^\\\\/dynamic\\\\-error\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/dynamic\\-error\\/([^\\/]+?)(?:\\/)?$", }, - "/force-static/[slug]": Object { + "/force-static/[slug]": { "dataRoute": "/force-static/[slug].rsc", - "dataRouteRegex": "^\\\\/force\\\\-static\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/force\\-static\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": null, - "routeRegex": "^\\\\/force\\\\-static\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/force\\-static\\/([^\\/]+?)(?:\\/)?$", }, - "/gen-params-dynamic-revalidate/[slug]": Object { + "/gen-params-dynamic-revalidate/[slug]": { "dataRoute": "/gen-params-dynamic-revalidate/[slug].rsc", - "dataRouteRegex": "^\\\\/gen\\\\-params\\\\-dynamic\\\\-revalidate\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/gen\\-params\\-dynamic\\-revalidate\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": null, - "routeRegex": "^\\\\/gen\\\\-params\\\\-dynamic\\\\-revalidate\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/gen\\-params\\-dynamic\\-revalidate\\/([^\\/]+?)(?:\\/)?$", }, - "/hooks/use-pathname/[slug]": Object { + "/hooks/use-pathname/[slug]": { "dataRoute": "/hooks/use-pathname/[slug].rsc", - "dataRouteRegex": "^\\\\/hooks\\\\/use\\\\-pathname\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/hooks\\/use\\-pathname\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": null, - "routeRegex": "^\\\\/hooks\\\\/use\\\\-pathname\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/hooks\\/use\\-pathname\\/([^\\/]+?)(?:\\/)?$", }, - "/partial-gen-params-no-additional-lang/[lang]/[slug]": Object { + "/partial-gen-params-no-additional-lang/[lang]/[slug]": { "dataRoute": "/partial-gen-params-no-additional-lang/[lang]/[slug].rsc", - "dataRouteRegex": "^\\\\/partial\\\\-gen\\\\-params\\\\-no\\\\-additional\\\\-lang\\\\/([^\\\\/]+?)\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/partial\\-gen\\-params\\-no\\-additional\\-lang\\/([^\\/]+?)\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": false, - "routeRegex": "^\\\\/partial\\\\-gen\\\\-params\\\\-no\\\\-additional\\\\-lang\\\\/([^\\\\/]+?)\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/partial\\-gen\\-params\\-no\\-additional\\-lang\\/([^\\/]+?)\\/([^\\/]+?)(?:\\/)?$", }, - "/partial-gen-params-no-additional-slug/[lang]/[slug]": Object { + "/partial-gen-params-no-additional-slug/[lang]/[slug]": { "dataRoute": "/partial-gen-params-no-additional-slug/[lang]/[slug].rsc", - "dataRouteRegex": "^\\\\/partial\\\\-gen\\\\-params\\\\-no\\\\-additional\\\\-slug\\\\/([^\\\\/]+?)\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/partial\\-gen\\-params\\-no\\-additional\\-slug\\/([^\\/]+?)\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": false, - "routeRegex": "^\\\\/partial\\\\-gen\\\\-params\\\\-no\\\\-additional\\\\-slug\\\\/([^\\\\/]+?)\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/partial\\-gen\\-params\\-no\\-additional\\-slug\\/([^\\/]+?)\\/([^\\/]+?)(?:\\/)?$", }, - "/ssg-draft-mode/[[...route]]": Object { + "/ssg-draft-mode/[[...route]]": { "dataRoute": "/ssg-draft-mode/[[...route]].rsc", - "dataRouteRegex": "^\\\\/ssg\\\\-draft\\\\-mode(?:\\\\/(.+?))?\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/ssg\\-draft\\-mode(?:\\/(.+?))?\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": null, - "routeRegex": "^\\\\/ssg\\\\-draft\\\\-mode(?:\\\\/(.+?))?(?:\\\\/)?$", + "routeRegex": "^\\/ssg\\-draft\\-mode(?:\\/(.+?))?(?:\\/)?$", }, - "/static-to-dynamic-error-forced/[id]": Object { + "/static-to-dynamic-error-forced/[id]": { "dataRoute": "/static-to-dynamic-error-forced/[id].rsc", - "dataRouteRegex": "^\\\\/static\\\\-to\\\\-dynamic\\\\-error\\\\-forced\\\\/([^\\\\/]+?)\\\\.rsc$", - "experimentalBypassFor": Array [ - Object { + "dataRouteRegex": "^\\/static\\-to\\-dynamic\\-error\\-forced\\/([^\\/]+?)\\.rsc$", + "experimentalBypassFor": [ + { "key": "Next-Action", "type": "header", }, - Object { + { "key": "content-type", "type": "header", "value": "multipart/form-data", }, ], "fallback": null, - "routeRegex": "^\\\\/static\\\\-to\\\\-dynamic\\\\-error\\\\-forced\\\\/([^\\\\/]+?)(?:\\\\/)?$", + "routeRegex": "^\\/static\\-to\\-dynamic\\-error\\-forced\\/([^\\/]+?)(?:\\/)?$", }, } `) @@ -1884,7 +1906,7 @@ createNextDescribe( it('should skip cache in draft mode', async () => { const draftRes = await next.fetch('/api/draft-mode?status=enable') const setCookie = draftRes.headers.get('set-cookie') - const cookieHeader = { Cookie: setCookie?.split(';')[0] } + const cookieHeader = { Cookie: setCookie?.split(';', 1)[0] } expect(cookieHeader.Cookie).toBeTruthy() @@ -2921,6 +2943,30 @@ createNextDescribe( }) }) + describe('unstable_noStore', () => { + it('should opt-out of static optimization', async () => { + const res = await next.fetch('/no-store/dynamic') + const html = await res.text() + const data = cheerio.load(html)('#uncached-data').text() + const res2 = await next.fetch('/no-store/dynamic') + const html2 = await res2.text() + const data2 = cheerio.load(html2)('#uncached-data').text() + + expect(data).not.toEqual(data2) + }) + + it('should not opt-out of static optimization when used in next/cache', async () => { + const res = await next.fetch('/no-store/static') + const html = await res.text() + const data = cheerio.load(html)('#data').text() + const res2 = await next.fetch('/no-store/static') + const html2 = await res2.text() + const data2 = cheerio.load(html2)('#data').text() + + expect(data).toEqual(data2) + }) + }) + it('should keep querystring on static page', async () => { const browser = await next.browser('/blog/tim?message=hello-world') const checkUrl = async () => diff --git a/test/e2e/app-dir/app-static/app/no-store/dynamic/page.tsx b/test/e2e/app-dir/app-static/app/no-store/dynamic/page.tsx new file mode 100644 index 0000000000000..ca34fd2c890cd --- /dev/null +++ b/test/e2e/app-dir/app-static/app/no-store/dynamic/page.tsx @@ -0,0 +1,12 @@ +import { getUncachedRandomData } from '../no-store-fn' + +export default async function Page() { + const uncachedData = await getUncachedRandomData() + + return ( + <div> + <p>random: {Math.random()}</p> + <p id="uncached-data">uncachedData: {uncachedData.random}</p> + </div> + ) +} diff --git a/test/e2e/app-dir/app-static/app/no-store/no-store-fn.ts b/test/e2e/app-dir/app-static/app/no-store/no-store-fn.ts new file mode 100644 index 0000000000000..14898825017f5 --- /dev/null +++ b/test/e2e/app-dir/app-static/app/no-store/no-store-fn.ts @@ -0,0 +1,8 @@ +import { unstable_noStore } from 'next/cache' + +export function getUncachedRandomData() { + unstable_noStore() + return { + random: Math.random(), + } +} diff --git a/test/e2e/app-dir/app-static/app/no-store/revalidate-button.tsx b/test/e2e/app-dir/app-static/app/no-store/revalidate-button.tsx new file mode 100644 index 0000000000000..89ff47a7d365e --- /dev/null +++ b/test/e2e/app-dir/app-static/app/no-store/revalidate-button.tsx @@ -0,0 +1,9 @@ +'use client' + +export function RevalidateButton({ onClick }) { + return ( + <form action={onClick}> + <button type="submit">revalidate</button> + </form> + ) +} diff --git a/test/e2e/app-dir/app-static/app/no-store/static/page.tsx b/test/e2e/app-dir/app-static/app/no-store/static/page.tsx new file mode 100644 index 0000000000000..284b1e9c36ad6 --- /dev/null +++ b/test/e2e/app-dir/app-static/app/no-store/static/page.tsx @@ -0,0 +1,28 @@ +import { revalidateTag, unstable_cache } from 'next/cache' +import { getUncachedRandomData } from '../no-store-fn' +import { RevalidateButton } from '../revalidate-button' + +export default async function Page() { + async function revalidate() { + 'use server' + await revalidateTag('no-store-fn') + } + + const cachedData = await unstable_cache( + async () => { + return getUncachedRandomData() + }, + ['random'], + { + tags: ['no-store-fn'], + } + )() + + return ( + <div> + <p>random: {Math.random()}</p> + <p id="data">cachedData: {cachedData.random}</p> + <RevalidateButton onClick={revalidate} /> + </div> + ) +} diff --git a/test/e2e/app-dir/app-static/next.config.js b/test/e2e/app-dir/app-static/next.config.js index 1091d8c819406..e473392c23ce5 100644 --- a/test/e2e/app-dir/app-static/next.config.js +++ b/test/e2e/app-dir/app-static/next.config.js @@ -4,6 +4,7 @@ module.exports = { logging: { level: 'verbose', }, + serverActions: true, incrementalCacheHandlerPath: process.env.CUSTOM_CACHE_HANDLER, }, diff --git a/test/e2e/app-dir/app/app/(newroot)/dashboard/project/[projectId]/page.js b/test/e2e/app-dir/app/app/(newroot)/dashboard/project/[projectId]/page.js index a1b399f433b04..a65cd9ed94013 100644 --- a/test/e2e/app-dir/app/app/(newroot)/dashboard/project/[projectId]/page.js +++ b/test/e2e/app-dir/app/app/(newroot)/dashboard/project/[projectId]/page.js @@ -1,6 +1,6 @@ import { use } from 'react' -function getData({ params }) { +async function getData({ params }) { return { now: Date.now(), params, diff --git a/test/e2e/app-dir/back-button-download-bug/next.config.js b/test/e2e/app-dir/back-button-download-bug/next.config.js index 8ba5f4faab441..f2f0f742d266f 100644 --- a/test/e2e/app-dir/back-button-download-bug/next.config.js +++ b/test/e2e/app-dir/back-button-download-bug/next.config.js @@ -1,6 +1,5 @@ /** @type {import('next').NextConfig} */ module.exports = { - reactStrictMode: true, images: { domains: ['res.cloudinary.com', 'avatars.githubusercontent.com'], }, diff --git a/test/e2e/app-dir/build-size/index.test.ts b/test/e2e/app-dir/build-size/index.test.ts index 6ea1bfe9f9383..10b172b2b9215 100644 --- a/test/e2e/app-dir/build-size/index.test.ts +++ b/test/e2e/app-dir/build-size/index.test.ts @@ -22,7 +22,7 @@ createNextDescribe( // convert pretty-bytes format into bytes so we can compare units const sizeToBytes = (size: string) => { const units = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'] - const [value, unit] = size.split(' ') + const [value, unit] = size.split(' ', 2) const exp = units.indexOf(unit) return parseFloat(value) * Math.pow(1024, exp) } diff --git a/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts b/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts index f8c8f2f566b0c..42066205b13d7 100644 --- a/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts +++ b/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts @@ -57,7 +57,7 @@ describe('app-dir create root layout', () => { export default function RootLayout({ children }) { return ( - <html lang=\\"en\\"> + <html lang="en"> <body>{children}</body> </html> ) @@ -109,7 +109,7 @@ describe('app-dir create root layout', () => { export default function RootLayout({ children }) { return ( - <html lang=\\"en\\"> + <html lang="en"> <body>{children}</body> </html> ) @@ -161,7 +161,7 @@ describe('app-dir create root layout', () => { export default function RootLayout({ children }) { return ( - <html lang=\\"en\\"> + <html lang="en"> <body>{children}</body> </html> ) @@ -215,7 +215,7 @@ describe('app-dir create root layout', () => { children: React.ReactNode }) { return ( - <html lang=\\"en\\"> + <html lang="en"> <body>{children}</body> </html> ) diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/apple-icon.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/apple-icon.tsx index 8dc5a545a10f8..a07e886110acd 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/apple-icon.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/apple-icon.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' // without id export async function generateImageMetadata({ params }) { diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/icon.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/icon.tsx index 7f5a87dee0508..11c40f86bc1f0 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/icon.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/icon.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export async function generateImageMetadata({ params }) { return [ diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/opengraph-image.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/opengraph-image.tsx index f9b9d5025e221..e461d248a4e45 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/opengraph-image.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/dynamic/[size]/opengraph-image.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const alt = 'Open Graph' diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/opengraph-image.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/opengraph-image.tsx index 2fe2403f5e5c8..16a3c166e96e3 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/opengraph-image.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/opengraph-image.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export default function og() { return new ImageResponse( diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/twitter-image.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/twitter-image.tsx index 9b3e9c81b0b96..4fce02bb30b86 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/twitter-image.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/(group)/twitter-image.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const alt = 'Twitter' export const size = { width: 1200, height: 675 } diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/apple-icon.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/apple-icon.tsx index 1b705038ac41b..b37b7ebfcdc11 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/apple-icon.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/apple-icon.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const contentType = 'image/png' diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/favicon.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/favicon.tsx index 6ebeb85b90230..54dc7284e24d1 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/favicon.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/favicon.tsx @@ -1,5 +1,5 @@ // This file should be ignored -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export default function favicon() { return new ImageResponse( diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/font/opengraph-image.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/font/opengraph-image.tsx index 531e3fae27506..4d6f97878aa9e 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/font/opengraph-image.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/font/opengraph-image.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const contentType = 'image/png' diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/font/opengraph-image2.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/font/opengraph-image2.tsx index c0c20f1b4d08b..2d91267e98657 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/font/opengraph-image2.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/font/opengraph-image2.tsx @@ -1,7 +1,7 @@ import fs from 'fs' import path from 'path' import { fileURLToPath } from 'url' -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const contentType = 'image/png' diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/icon.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/icon.tsx index f7895ea023463..9af68be2b324c 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/icon.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/icon.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const contentType = 'image/png' export const size = { width: 512, height: 512 } diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/metadata-base/unset/opengraph-image2.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/metadata-base/unset/opengraph-image2.tsx index 05cdc4529ead2..a59edc22be1fa 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/metadata-base/unset/opengraph-image2.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/metadata-base/unset/opengraph-image2.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const alt = 'Open Graph' diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/opengraph-image.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/opengraph-image.tsx index 06458b4ab5074..e397078c169c0 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/opengraph-image.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/opengraph-image.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export const alt = 'Open Graph' diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/twitter-image.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/twitter-image.tsx index 7e17899d340f8..0ffb76f9fbaa2 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/twitter-image.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/twitter-image.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' import { ImageResponse as ImageResponse2 } from '@vercel/og' // Node.js: Using @vercel/og external package, and should be aliased to "next/server" ImageResponse diff --git a/test/e2e/app-dir/metadata-dynamic-routes/app/twitter-image2.tsx b/test/e2e/app-dir/metadata-dynamic-routes/app/twitter-image2.tsx index 6fac563558bba..1da1a353b6ab3 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/app/twitter-image2.tsx +++ b/test/e2e/app-dir/metadata-dynamic-routes/app/twitter-image2.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' // @ts-ignore import { ImageResponse as ImageResponse2 } from '@vercel/og' diff --git a/test/e2e/app-dir/metadata-dynamic-routes/index.test.ts b/test/e2e/app-dir/metadata-dynamic-routes/index.test.ts index 4600295c2994d..60c77d18241b3 100644 --- a/test/e2e/app-dir/metadata-dynamic-routes/index.test.ts +++ b/test/e2e/app-dir/metadata-dynamic-routes/index.test.ts @@ -50,8 +50,8 @@ createNextDescribe( expect(res.headers.get('cache-control')).toBe(CACHE_HEADERS.REVALIDATE) expect(text).toMatchInlineSnapshot(` - "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?> - <urlset xmlns=\\"http://www.sitemaps.org/schemas/sitemap/0.9\\"> + "<?xml version="1.0" encoding="UTF-8"?> + <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://example.com</loc> <lastmod>2021-01-01</lastmod> @@ -152,7 +152,7 @@ createNextDescribe( .toArray() .map((el) => { return { - href: $(el).attr('href').split('?')[0], + href: $(el).attr('href').split('?', 1)[0], sizes: $(el).attr('sizes'), type: $(el).attr('type'), } @@ -175,7 +175,7 @@ createNextDescribe( .toArray() .map((el) => { return { - href: $(el).attr('href').split('?')[0], + href: $(el).attr('href').split('?', 1)[0], sizes: $(el).attr('sizes'), type: $(el).attr('type'), } @@ -415,7 +415,7 @@ createNextDescribe( it('should error when id is missing in generateImageMetadata', async () => { const iconFilePath = 'app/metadata-base/unset/icon.tsx' const contentMissingIdProperty = ` - import { ImageResponse } from 'next/server' + import { ImageResponse } from 'next/og' export async function generateImageMetadata() { return [ { diff --git a/test/e2e/app-dir/metadata-edge/app/og.tsx b/test/e2e/app-dir/metadata-edge/app/og.tsx index 5e8a1575f0cd6..0b8a00f629d57 100644 --- a/test/e2e/app-dir/metadata-edge/app/og.tsx +++ b/test/e2e/app-dir/metadata-edge/app/og.tsx @@ -1,4 +1,4 @@ -import { ImageResponse } from 'next/server' +import { ImageResponse } from 'next/og' export default function og() { return new ImageResponse( diff --git a/test/e2e/app-dir/next-image/app/page.js b/test/e2e/app-dir/next-image/app/page.js index db37c8339182c..5402e817dd4c0 100644 --- a/test/e2e/app-dir/next-image/app/page.js +++ b/test/e2e/app-dir/next-image/app/page.js @@ -7,6 +7,13 @@ export default function Page() { <> <h2>app-page</h2> <Image id="app-page" src={testPng} quality={90} /> + <Image + id="remote-app-page" + src="https://image-optimization-test.vercel.app/test.jpg" + width="200" + height="200" + quality={90} + /> <Comp /> </> ) diff --git a/test/e2e/app-dir/next-image/next-image-proxy.test.ts b/test/e2e/app-dir/next-image/next-image-proxy.test.ts index cce1a91812e61..9286aeba371eb 100644 --- a/test/e2e/app-dir/next-image/next-image-proxy.test.ts +++ b/test/e2e/app-dir/next-image/next-image-proxy.test.ts @@ -73,19 +73,34 @@ createNextDescribe( }, }) - const image = browser.elementByCss('#app-page') - const src = await image.getAttribute('src') - - expect(src).toContain( + const local = await browser.elementByCss('#app-page').getAttribute('src') + expect(local).toContain( '/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Ftest.3f1a293b.png&w=828&q=90' ) - await check(() => { - // we expect 3 images to load and for none of them to have errors - if (fulfilledCount === 3 && failCount === 0) { - return 'success' - } - }, 'success') + const remote = await browser + .elementByCss('#remote-app-page') + .getAttribute('src') + expect(remote).toBe( + '/_next/image?url=https%3A%2F%2Fimage-optimization-test.vercel.app%2Ftest.jpg&w=640&q=90' + ) + + const expected = JSON.stringify({ fulfilledCount: 4, failCount: 0 }) + await check(() => JSON.stringify({ fulfilledCount, failCount }), expected) + }) + + it('should work with connection upgrade by removing it via filterReqHeaders()', async () => { + const opts = { headers: { connection: 'upgrade' } } + const res1 = await next.fetch( + '/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Ftest.3f1a293b.png&w=828&q=90', + opts + ) + expect(res1.status).toBe(200) + const res2 = await next.fetch( + '/_next/image?url=https%3A%2F%2Fimage-optimization-test.vercel.app%2Ftest.jpg&w=640&q=90', + opts + ) + expect(res2.status).toBe(200) }) afterAll(() => { diff --git a/test/e2e/app-dir/next-image/next.config.js b/test/e2e/app-dir/next-image/next.config.js index 4ba52ba2c8df6..dd7057b8a3534 100644 --- a/test/e2e/app-dir/next-image/next.config.js +++ b/test/e2e/app-dir/next-image/next.config.js @@ -1 +1,5 @@ -module.exports = {} +module.exports = { + images: { + remotePatterns: [{ hostname: 'image-optimization-test.vercel.app' }], + }, +} diff --git a/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts b/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts index 819e1a818f9ea..93295a1126c6b 100644 --- a/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts +++ b/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts @@ -46,7 +46,7 @@ createNextDescribe( clientReferenceManifest.clientModules ) clientModulesNames.every((name) => { - const [, key] = name.split('#') + const [, key] = name.split('#', 2) return key === undefined || key === '' || key === 'default' }) @@ -591,7 +591,7 @@ createNextDescribe( } describe('react@experimental', () => { - it.each([{ flag: 'ppr' }, { flag: 'serverActions' }])( + it.each([{ flag: 'ppr' }, { flag: 'serverActions' }, { flag: 'taint' }])( 'should opt into the react@experimental when enabling $flag', async ({ flag }) => { await next.stop() diff --git a/test/e2e/app-dir/taint/app/component.tsx b/test/e2e/app-dir/taint/app/component.tsx new file mode 100644 index 0000000000000..360e55542e0c6 --- /dev/null +++ b/test/e2e/app-dir/taint/app/component.tsx @@ -0,0 +1,9 @@ +'use client' + +export default function ClientComponent({ + config, +}: { + config: { [key: string]: string } +}) { + return <h1>{config.something}</h1> +} diff --git a/test/e2e/app-dir/taint/app/error.tsx b/test/e2e/app-dir/taint/app/error.tsx new file mode 100644 index 0000000000000..465b8e87d78c0 --- /dev/null +++ b/test/e2e/app-dir/taint/app/error.tsx @@ -0,0 +1,5 @@ +'use client' + +export default function ErrorComponent({ error }) { + return <h1 id="error-component">{error.message}</h1> +} diff --git a/test/e2e/app-dir/taint/app/layout.tsx b/test/e2e/app-dir/taint/app/layout.tsx new file mode 100644 index 0000000000000..ce81757e7c107 --- /dev/null +++ b/test/e2e/app-dir/taint/app/layout.tsx @@ -0,0 +1,11 @@ +import React from 'react' + +export const dynamic = 'force-dynamic' + +export default function Root({ children }: { children: React.ReactNode }) { + return ( + <html> + <body>{children}</body> + </html> + ) +} diff --git a/test/e2e/app-dir/taint/app/page.tsx b/test/e2e/app-dir/taint/app/page.tsx new file mode 100644 index 0000000000000..a923c52c5d6bf --- /dev/null +++ b/test/e2e/app-dir/taint/app/page.tsx @@ -0,0 +1,5 @@ +import ClientComponent from './component' + +export default async function Page() { + return <ClientComponent config={process.env} /> +} diff --git a/examples/cms-drupal/next.config.js b/test/e2e/app-dir/taint/next.config.js similarity index 53% rename from examples/cms-drupal/next.config.js rename to test/e2e/app-dir/taint/next.config.js index 1cd44485a28ba..a0053fdee74a6 100644 --- a/examples/cms-drupal/next.config.js +++ b/test/e2e/app-dir/taint/next.config.js @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ module.exports = { - images: { - domains: [process.env.NEXT_IMAGE_DOMAIN], + experimental: { + taint: true, }, } diff --git a/test/e2e/app-dir/taint/process-taint.test.ts b/test/e2e/app-dir/taint/process-taint.test.ts new file mode 100644 index 0000000000000..fec666d089495 --- /dev/null +++ b/test/e2e/app-dir/taint/process-taint.test.ts @@ -0,0 +1,25 @@ +import { createNextDescribe } from 'e2e-utils' + +const GENERIC_RSC_ERROR = + 'An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.' + +export function runTest({ next, isNextDev }) { + it('should error when passing process env to client component', async () => { + const browser = await next.browser('/') + expect(await browser.waitForElementByCss('#error-component').text()).toBe( + isNextDev + ? 'Do not pass process.env to client components since it will leak sensitive data' + : GENERIC_RSC_ERROR + ) + }) +} + +createNextDescribe( + 'app dir - taint', + { + files: __dirname, + }, + ({ next, isNextDev }) => { + runTest({ next, isNextDev }) + } +) diff --git a/test/e2e/app-dir/third-parties/app/gtm/page.js b/test/e2e/app-dir/third-parties/app/gtm/page.js new file mode 100644 index 0000000000000..34d56d8508d59 --- /dev/null +++ b/test/e2e/app-dir/third-parties/app/gtm/page.js @@ -0,0 +1,23 @@ +'use client' + +import React from 'react' +import { GoogleTagManager, sendGTMEvent } from '@next/third-parties/google' + +const Page = () => { + const onClick = () => { + sendGTMEvent({ event: 'buttonClicked', value: 'xyz' }) + } + + return ( + <div class="container"> + <GoogleTagManager gtmId="GTM-XYZ" /> + <h1>GTM</h1> + <button id="gtm-send" onClick={onClick}> + Click + </button> + <GoogleTagManager gtmId="GTM-XYZ" /> + </div> + ) +} + +export default Page diff --git a/test/e2e/app-dir/third-parties/basic.test.ts b/test/e2e/app-dir/third-parties/basic.test.ts index 82c5305e07839..5d4da6ba009ab 100644 --- a/test/e2e/app-dir/third-parties/basic.test.ts +++ b/test/e2e/app-dir/third-parties/basic.test.ts @@ -1,4 +1,5 @@ import { createNextDescribe } from 'e2e-utils' +import { waitFor } from 'next-test-utils' createNextDescribe( '@next/third-parties basic usage', @@ -29,5 +30,29 @@ createNextDescribe( expect(baseContainer.length).toBe(1) expect(mapContainer.length).toBe(1) }) + + it('renders GTM', async () => { + const browser = await next.browser('/gtm') + + await browser.waitForElementByCss('#_next-gtm') + await waitFor(1000) + + const gtmInlineScript = await browser.elementsByCss('#_next-gtm-init') + expect(gtmInlineScript.length).toBe(1) + + const gtmScript = await browser.elementsByCss( + '[src^="https://www.googletagmanager.com/gtm.js?id=GTM-XYZ"]' + ) + + expect(gtmScript.length).toBe(1) + + const dataLayer = await browser.eval('window.dataLayer') + expect(dataLayer.length).toBe(1) + + await browser.elementByCss('#gtm-send').click() + + const dataLayer2 = await browser.eval('window.dataLayer') + expect(dataLayer2.length).toBe(2) + }) } ) diff --git a/test/e2e/app-dir/use-selected-layout-segment-s/use-selected-layout-segment-s.test.ts b/test/e2e/app-dir/use-selected-layout-segment-s/use-selected-layout-segment-s.test.ts index 6545adbe5d400..090308a113f14 100644 --- a/test/e2e/app-dir/use-selected-layout-segment-s/use-selected-layout-segment-s.test.ts +++ b/test/e2e/app-dir/use-selected-layout-segment-s/use-selected-layout-segment-s.test.ts @@ -25,44 +25,42 @@ describe('useSelectedLayoutSegment(s)', () => { expect( await browser.elementByCss('#root > .segments').text() ).toMatchInlineSnapshot( - `"[\\"segment-name\\",\\"value1\\",\\"segment-name2\\",\\"value2\\",\\"value3/value4\\"]"` + `"["segment-name","value1","segment-name2","value2","value3/value4"]"` ) expect( await browser.elementByCss('#root > .segment').text() - ).toMatchInlineSnapshot(`"\\"segment-name\\""`) + ).toMatchInlineSnapshot(`""segment-name""`) }) it('should return correct values in layout before static segment', async () => { expect( await browser.elementByCss('#before-static > .segments').text() - ).toMatchInlineSnapshot( - `"[\\"segment-name2\\",\\"value2\\",\\"value3/value4\\"]"` - ) + ).toMatchInlineSnapshot(`"["segment-name2","value2","value3/value4"]"`) expect( await browser.elementByCss('#before-static > .segment').text() - ).toMatchInlineSnapshot(`"\\"segment-name2\\""`) + ).toMatchInlineSnapshot(`""segment-name2""`) }) it('should return correct values in layout before param segment', async () => { expect( await browser.elementByCss('#before-param > .segments').text() - ).toMatchInlineSnapshot(`"[\\"value2\\",\\"value3/value4\\"]"`) + ).toMatchInlineSnapshot(`"["value2","value3/value4"]"`) expect( await browser.elementByCss('#before-param > .segment').text() - ).toMatchInlineSnapshot(`"\\"value2\\""`) + ).toMatchInlineSnapshot(`""value2""`) }) it('should return correct values in layout before catchall segment', async () => { expect( await browser.elementByCss('#before-catchall > .segments').text() - ).toMatchInlineSnapshot(`"[\\"value3/value4\\"]"`) + ).toMatchInlineSnapshot(`"["value3/value4"]"`) expect( await browser.elementByCss('#before-catchall > .segment').text() - ).toMatchInlineSnapshot(`"\\"value3/value4\\""`) + ).toMatchInlineSnapshot(`""value3/value4""`) }) it('should return correct values in layout after last segment', async () => { @@ -85,17 +83,15 @@ describe('useSelectedLayoutSegment(s)', () => { expect( await browser.elementByCss('#root > .segments').text() - ).toMatchInlineSnapshot( - `"[\\"segment-name\\",\\"param1\\",\\"different-segment\\"]"` - ) + ).toMatchInlineSnapshot(`"["segment-name","param1","different-segment"]"`) expect( await browser.elementByCss('#before-static > .segments').text() - ).toMatchInlineSnapshot(`"[\\"different-segment\\"]"`) + ).toMatchInlineSnapshot(`"["different-segment"]"`) expect( await browser.elementByCss('#before-static > .segment').text() - ).toMatchInlineSnapshot(`"\\"different-segment\\""`) + ).toMatchInlineSnapshot(`""different-segment""`) }) it('should correctly update when changing param segment', async () => { @@ -109,16 +105,16 @@ describe('useSelectedLayoutSegment(s)', () => { expect( await browser.elementByCss('#root > .segments').text() ).toMatchInlineSnapshot( - `"[\\"segment-name\\",\\"param1\\",\\"segment-name2\\",\\"different-value\\",\\"value3/value4\\"]"` + `"["segment-name","param1","segment-name2","different-value","value3/value4"]"` ) expect( await browser.elementByCss('#before-param > .segments').text() - ).toMatchInlineSnapshot(`"[\\"different-value\\",\\"value3/value4\\"]"`) + ).toMatchInlineSnapshot(`"["different-value","value3/value4"]"`) expect( await browser.elementByCss('#before-param > .segment').text() - ).toMatchInlineSnapshot(`"\\"different-value\\""`) + ).toMatchInlineSnapshot(`""different-value""`) }) it('should correctly update when changing catchall segment', async () => { @@ -132,15 +128,15 @@ describe('useSelectedLayoutSegment(s)', () => { expect( await browser.elementByCss('#root > .segments').text() ).toMatchInlineSnapshot( - `"[\\"segment-name\\",\\"param1\\",\\"segment-name2\\",\\"value2\\",\\"different/random/paths\\"]"` + `"["segment-name","param1","segment-name2","value2","different/random/paths"]"` ) expect( await browser.elementByCss('#before-catchall > .segments').text() - ).toMatchInlineSnapshot(`"[\\"different/random/paths\\"]"`) + ).toMatchInlineSnapshot(`"["different/random/paths"]"`) expect( await browser.elementByCss('#before-catchall > .segment').text() - ).toMatchInlineSnapshot(`"\\"different/random/paths\\""`) + ).toMatchInlineSnapshot(`""different/random/paths""`) }) }) diff --git a/test/e2e/app-dir/with-exported-function-config/with-exported-function-config.test.ts b/test/e2e/app-dir/with-exported-function-config/with-exported-function-config.test.ts index 7740d70457702..1515574fea10e 100644 --- a/test/e2e/app-dir/with-exported-function-config/with-exported-function-config.test.ts +++ b/test/e2e/app-dir/with-exported-function-config/with-exported-function-config.test.ts @@ -13,27 +13,27 @@ createNextDescribe( ) expect(functionsConfigManifest).toMatchInlineSnapshot(` - Object { - "functions": Object { - "/api/page-route": Object { + { + "functions": { + "/api/page-route": { "maxDuration": 1, }, - "/app-route": Object { + "/app-route": { "maxDuration": 1, }, - "/app-route-edge": Object { + "/app-route-edge": { "maxDuration": 2, }, - "/app-ssr": Object { + "/app-ssr": { "maxDuration": 3, }, - "/app-ssr-edge": Object { + "/app-ssr-edge": { "maxDuration": 4, }, - "/page": Object { + "/page": { "maxDuration": 2, }, - "/page-ssr": Object { + "/page-ssr": { "maxDuration": 3, }, }, diff --git a/test/e2e/edge-can-read-request-body/index.test.ts b/test/e2e/edge-can-read-request-body/index.test.ts index a6d30d3940747..9b132366c03e0 100644 --- a/test/e2e/edge-can-read-request-body/index.test.ts +++ b/test/e2e/edge-can-read-request-body/index.test.ts @@ -1,7 +1,6 @@ import { createNext, FileRef } from 'e2e-utils' import { NextInstance } from 'test/lib/next-modes/base' import { fetchViaHTTP, renderViaHTTP } from 'next-test-utils' -import FormData from 'form-data' import path from 'path' import type { Response } from 'node-fetch' @@ -102,14 +101,10 @@ describe('Edge can read request body', () => { const formData = new FormData() formData.append('hello', 'world') - const response = await fetchViaHTTP( - next.url, - '/api/nothing?middleware-handler=formData', - null, - { - method: 'POST', - body: formData, - } + // @ts-expect-error use `fetchViaHTTP` when we drop `node-fetch` + const response: Response = await fetch( + new URL(next.url + '/api/nothing?middleware-handler=formData'), + { method: 'POST', body: formData } ) expect(await serialize(response)).toMatchObject({ diff --git a/test/e2e/edge-compiler-can-import-blob-assets/index.test.ts b/test/e2e/edge-compiler-can-import-blob-assets/index.test.ts index ede2ce1606c94..e90dbd4c73897 100644 --- a/test/e2e/edge-compiler-can-import-blob-assets/index.test.ts +++ b/test/e2e/edge-compiler-can-import-blob-assets/index.test.ts @@ -5,7 +5,10 @@ import path from 'path' import { promises as fs } from 'fs' import { readJson } from 'fs-extra' -describe('Edge Compiler can import asset assets', () => { +// TODO: `node-fetch` hangs on some of these tests in Node.js. +// Re-enable when `node-fetch` is dropped. +// See: https://github.com/vercel/next.js/pull/55112 +describe.skip('Edge Compiler can import asset assets', () => { let next: NextInstance // TODO: remove after this is supported for deploy @@ -29,16 +32,9 @@ describe('Edge Compiler can import asset assets', () => { }) it('allows to fetch a remote URL with a path and basename', async () => { - const response = await fetchViaHTTP( - next.url, - '/api/edge', - { - handler: 'remote-with-base', - }, - { - compress: true, - } - ) + const response = await fetchViaHTTP(next.url, '/api/edge', { + handler: 'remote-with-base', + }) expect(await response.text()).toContain('Example Domain') }) diff --git a/test/e2e/middleware-rewrites/test/index.test.ts b/test/e2e/middleware-rewrites/test/index.test.ts index 4e01cdd184621..6c01c0fddc398 100644 --- a/test/e2e/middleware-rewrites/test/index.test.ts +++ b/test/e2e/middleware-rewrites/test/index.test.ts @@ -628,8 +628,8 @@ describe('Middleware Rewrite', () => { // node-fetch bundles the cookies as string in the Response const cookieArray = res.headers.raw()['set-cookie'] for (const cookie of cookieArray) { - let individualCookieParams = cookie.split(';') - let individualCookie = individualCookieParams[0].split('=') + let individualCookieParams = cookie.split(';', 1) + let individualCookie = individualCookieParams[0].split('=', 2) if (individualCookie[0] === cookieName) { return individualCookie[1] } diff --git a/test/e2e/opentelemetry/opentelemetry.test.ts b/test/e2e/opentelemetry/opentelemetry.test.ts index 13e0fefea2787..4df9bc69b8ca0 100644 --- a/test/e2e/opentelemetry/opentelemetry.test.ts +++ b/test/e2e/opentelemetry/opentelemetry.test.ts @@ -77,80 +77,80 @@ createNextDescribe( await check(async () => { expect(await getSanitizedTraces(1)).toMatchInlineSnapshot(` - Array [ - Object { - "attributes": Object { - "http.method": "GET", - "http.url": "https://vercel.com/", - "net.peer.name": "vercel.com", - "next.span_name": "fetch GET https://vercel.com/", - "next.span_type": "AppRender.fetch", - }, - "kind": 2, - "name": "fetch GET https://vercel.com/", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "next.route": "/app/[param]/rsc-fetch", - "next.span_name": "render route (app) /app/[param]/rsc-fetch", - "next.span_type": "AppRender.getBodyResult", - }, - "kind": 0, - "name": "render route (app) /app/[param]/rsc-fetch", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "http.method": "GET", - "http.route": "/app/[param]/rsc-fetch", - "http.status_code": 200, - "http.target": "/app/param/rsc-fetch", - "next.route": "/app/[param]/rsc-fetch", - "next.span_name": "GET /app/[param]/rsc-fetch", - "next.span_type": "BaseServer.handleRequest", - }, - "kind": 1, - "name": "GET /app/[param]/rsc-fetch", - "parentId": undefined, - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "next.page": "/app/[param]/layout", - "next.span_name": "generateMetadata /app/[param]/layout", - "next.span_type": "ResolveMetadata.generateMetadata", - }, - "kind": 0, - "name": "generateMetadata /app/[param]/layout", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "next.page": "/app/[param]/rsc-fetch/page", - "next.span_name": "generateMetadata /app/[param]/rsc-fetch/page", - "next.span_type": "ResolveMetadata.generateMetadata", - }, - "kind": 0, - "name": "generateMetadata /app/[param]/rsc-fetch/page", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - ] - `) + [ + { + "attributes": { + "http.method": "GET", + "http.url": "https://vercel.com/", + "net.peer.name": "vercel.com", + "next.span_name": "fetch GET https://vercel.com/", + "next.span_type": "AppRender.fetch", + }, + "kind": 2, + "name": "fetch GET https://vercel.com/", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + { + "attributes": { + "next.route": "/app/[param]/rsc-fetch", + "next.span_name": "render route (app) /app/[param]/rsc-fetch", + "next.span_type": "AppRender.getBodyResult", + }, + "kind": 0, + "name": "render route (app) /app/[param]/rsc-fetch", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + { + "attributes": { + "http.method": "GET", + "http.route": "/app/[param]/rsc-fetch", + "http.status_code": 200, + "http.target": "/app/param/rsc-fetch", + "next.route": "/app/[param]/rsc-fetch", + "next.span_name": "GET /app/[param]/rsc-fetch", + "next.span_type": "BaseServer.handleRequest", + }, + "kind": 1, + "name": "GET /app/[param]/rsc-fetch", + "parentId": undefined, + "status": { + "code": 0, + }, + }, + { + "attributes": { + "next.page": "/app/[param]/layout", + "next.span_name": "generateMetadata /app/[param]/layout", + "next.span_type": "ResolveMetadata.generateMetadata", + }, + "kind": 0, + "name": "generateMetadata /app/[param]/layout", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + { + "attributes": { + "next.page": "/app/[param]/rsc-fetch/page", + "next.span_name": "generateMetadata /app/[param]/rsc-fetch/page", + "next.span_type": "ResolveMetadata.generateMetadata", + }, + "kind": 0, + "name": "generateMetadata /app/[param]/rsc-fetch/page", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + ] + `) return 'success' }, 'success') }) @@ -160,9 +160,9 @@ createNextDescribe( await check(async () => { expect(await getSanitizedTraces(1)).toMatchInlineSnapshot(` - Array [ - Object { - "attributes": Object { + [ + { + "attributes": { "next.route": "/api/app/[param]/data/route", "next.span_name": "executing api route (app) /api/app/[param]/data/route", "next.span_type": "AppRouteRouteHandlers.runHandler", @@ -170,12 +170,12 @@ createNextDescribe( "kind": 0, "name": "executing api route (app) /api/app/[param]/data/route", "parentId": "[parent-id]", - "status": Object { + "status": { "code": 0, }, }, - Object { - "attributes": Object { + { + "attributes": { "http.method": "GET", "http.route": "/api/app/[param]/data/route", "http.status_code": 200, @@ -187,7 +187,7 @@ createNextDescribe( "kind": 1, "name": "GET /api/app/[param]/data/route", "parentId": undefined, - "status": Object { + "status": { "code": 0, }, }, @@ -204,52 +204,52 @@ createNextDescribe( await check(async () => { expect(await getSanitizedTraces(1)).toMatchInlineSnapshot(` - Array [ - Object { - "attributes": Object { - "http.method": "GET", - "http.route": "/pages/[param]/getServerSideProps", - "http.status_code": 200, - "http.target": "/pages/param/getServerSideProps", - "next.route": "/pages/[param]/getServerSideProps", - "next.span_name": "GET /pages/[param]/getServerSideProps", - "next.span_type": "BaseServer.handleRequest", - }, - "kind": 1, - "name": "GET /pages/[param]/getServerSideProps", - "parentId": undefined, - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "next.route": "/pages/[param]/getServerSideProps", - "next.span_name": "getServerSideProps /pages/[param]/getServerSideProps", - "next.span_type": "Render.getServerSideProps", - }, - "kind": 0, - "name": "getServerSideProps /pages/[param]/getServerSideProps", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "next.route": "/pages/[param]/getServerSideProps", - "next.span_name": "render route (pages) /pages/[param]/getServerSideProps", - "next.span_type": "Render.renderDocument", - }, - "kind": 0, - "name": "render route (pages) /pages/[param]/getServerSideProps", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - ] - `) + [ + { + "attributes": { + "http.method": "GET", + "http.route": "/pages/[param]/getServerSideProps", + "http.status_code": 200, + "http.target": "/pages/param/getServerSideProps", + "next.route": "/pages/[param]/getServerSideProps", + "next.span_name": "GET /pages/[param]/getServerSideProps", + "next.span_type": "BaseServer.handleRequest", + }, + "kind": 1, + "name": "GET /pages/[param]/getServerSideProps", + "parentId": undefined, + "status": { + "code": 0, + }, + }, + { + "attributes": { + "next.route": "/pages/[param]/getServerSideProps", + "next.span_name": "getServerSideProps /pages/[param]/getServerSideProps", + "next.span_type": "Render.getServerSideProps", + }, + "kind": 0, + "name": "getServerSideProps /pages/[param]/getServerSideProps", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + { + "attributes": { + "next.route": "/pages/[param]/getServerSideProps", + "next.span_name": "render route (pages) /pages/[param]/getServerSideProps", + "next.span_type": "Render.renderDocument", + }, + "kind": 0, + "name": "render route (pages) /pages/[param]/getServerSideProps", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + ] + `) return 'success' }, 'success') }) @@ -259,52 +259,52 @@ createNextDescribe( await check(async () => { expect(await getSanitizedTraces(1)).toMatchInlineSnapshot(` - Array [ - Object { - "attributes": Object { - "http.method": "GET", - "http.route": "/pages/[param]/getStaticProps", - "http.status_code": 200, - "http.target": "/pages/param/getStaticProps", - "next.route": "/pages/[param]/getStaticProps", - "next.span_name": "GET /pages/[param]/getStaticProps", - "next.span_type": "BaseServer.handleRequest", - }, - "kind": 1, - "name": "GET /pages/[param]/getStaticProps", - "parentId": undefined, - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "next.route": "/pages/[param]/getStaticProps", - "next.span_name": "getStaticProps /pages/[param]/getStaticProps", - "next.span_type": "Render.getStaticProps", - }, - "kind": 0, - "name": "getStaticProps /pages/[param]/getStaticProps", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "next.route": "/pages/[param]/getStaticProps", - "next.span_name": "render route (pages) /pages/[param]/getStaticProps", - "next.span_type": "Render.renderDocument", - }, - "kind": 0, - "name": "render route (pages) /pages/[param]/getStaticProps", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - ] - `) + [ + { + "attributes": { + "http.method": "GET", + "http.route": "/pages/[param]/getStaticProps", + "http.status_code": 200, + "http.target": "/pages/param/getStaticProps", + "next.route": "/pages/[param]/getStaticProps", + "next.span_name": "GET /pages/[param]/getStaticProps", + "next.span_type": "BaseServer.handleRequest", + }, + "kind": 1, + "name": "GET /pages/[param]/getStaticProps", + "parentId": undefined, + "status": { + "code": 0, + }, + }, + { + "attributes": { + "next.route": "/pages/[param]/getStaticProps", + "next.span_name": "getStaticProps /pages/[param]/getStaticProps", + "next.span_type": "Render.getStaticProps", + }, + "kind": 0, + "name": "getStaticProps /pages/[param]/getStaticProps", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + { + "attributes": { + "next.route": "/pages/[param]/getStaticProps", + "next.span_name": "render route (pages) /pages/[param]/getStaticProps", + "next.span_type": "Render.renderDocument", + }, + "kind": 0, + "name": "render route (pages) /pages/[param]/getStaticProps", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + ] + `) return 'success' }, 'success') }) @@ -314,38 +314,38 @@ createNextDescribe( await check(async () => { expect(await getSanitizedTraces(1)).toMatchInlineSnapshot(` - Array [ - Object { - "attributes": Object { - "http.method": "GET", - "http.route": "/api/pages/[param]/basic", - "http.status_code": 200, - "http.target": "/api/pages/param/basic", - "next.route": "/api/pages/[param]/basic", - "next.span_name": "GET /api/pages/[param]/basic", - "next.span_type": "BaseServer.handleRequest", - }, - "kind": 1, - "name": "GET /api/pages/[param]/basic", - "parentId": undefined, - "status": Object { - "code": 0, - }, - }, - Object { - "attributes": Object { - "next.span_name": "executing api route (pages) /api/pages/[param]/basic", - "next.span_type": "Node.runHandler", - }, - "kind": 0, - "name": "executing api route (pages) /api/pages/[param]/basic", - "parentId": "[parent-id]", - "status": Object { - "code": 0, - }, - }, - ] - `) + [ + { + "attributes": { + "http.method": "GET", + "http.route": "/api/pages/[param]/basic", + "http.status_code": 200, + "http.target": "/api/pages/param/basic", + "next.route": "/api/pages/[param]/basic", + "next.span_name": "GET /api/pages/[param]/basic", + "next.span_type": "BaseServer.handleRequest", + }, + "kind": 1, + "name": "GET /api/pages/[param]/basic", + "parentId": undefined, + "status": { + "code": 0, + }, + }, + { + "attributes": { + "next.span_name": "executing api route (pages) /api/pages/[param]/basic", + "next.span_type": "Node.runHandler", + }, + "kind": 0, + "name": "executing api route (pages) /api/pages/[param]/basic", + "parentId": "[parent-id]", + "status": { + "code": 0, + }, + }, + ] + `) return 'success' }, 'success') }) diff --git a/test/e2e/third-parties/index.test.ts b/test/e2e/third-parties/index.test.ts index 85e80eb87c53e..176a236da7efe 100644 --- a/test/e2e/third-parties/index.test.ts +++ b/test/e2e/third-parties/index.test.ts @@ -1,4 +1,5 @@ import { createNextDescribe } from 'e2e-utils' +import { waitFor } from 'next-test-utils' createNextDescribe( '@next/third-parties basic usage', @@ -28,5 +29,29 @@ createNextDescribe( expect(baseContainer.length).toBe(1) expect(mapContainer.length).toBe(1) }) + + it('renders GTM', async () => { + const browser = await next.browser('/gtm') + + await browser.waitForElementByCss('#_next-gtm') + await waitFor(1000) + + const gtmInlineScript = await browser.elementsByCss('#_next-gtm-init') + expect(gtmInlineScript.length).toBe(1) + + const gtmScript = await browser.elementsByCss( + '[src^="https://www.googletagmanager.com/gtm.js?id=GTM-XYZ"]' + ) + + expect(gtmScript.length).toBe(1) + + const dataLayer = await browser.eval('window.dataLayer') + expect(dataLayer.length).toBe(1) + + await browser.elementByCss('#gtm-send').click() + + const dataLayer2 = await browser.eval('window.dataLayer') + expect(dataLayer2.length).toBe(2) + }) } ) diff --git a/test/e2e/third-parties/pages/gtm.js b/test/e2e/third-parties/pages/gtm.js new file mode 100644 index 0000000000000..2f891c0547e2b --- /dev/null +++ b/test/e2e/third-parties/pages/gtm.js @@ -0,0 +1,21 @@ +import React from 'react' +import { GoogleTagManager, sendGTMEvent } from '@next/third-parties/google' + +const Page = () => { + const onClick = () => { + sendGTMEvent({ event: 'buttonClicked', value: 'xyz' }) + } + + return ( + <div class="container"> + <GoogleTagManager gtmId="GTM-XYZ" /> + <h1>GTM</h1> + <button id="gtm-send" onClick={onClick}> + Click + </button> + <GoogleTagManager gtmId="GTM-XYZ" /> + </div> + ) +} + +export default Page diff --git a/test/e2e/transpile-packages/index.test.ts b/test/e2e/transpile-packages/index.test.ts index 841d3ba01bb9f..a4d5a54f75f84 100644 --- a/test/e2e/transpile-packages/index.test.ts +++ b/test/e2e/transpile-packages/index.test.ts @@ -84,4 +84,17 @@ describe('transpile packages', () => { ).toBe('rgb(0, 0, 255)') }) }) + describe('optional deps', () => { + it('should not throw an error when optional deps are not installed', async () => { + expect(next.cliOutput).not.toContain( + "Module not found: Error: Can't resolve 'foo'" + ) + }) + + it('should hide dynammic module dependency errors from node_modules', async () => { + expect(next.cliOutput).not.toContain( + 'Critical dependency: the request of a dependency is an expression' + ) + }) + }) }) diff --git a/test/e2e/transpile-packages/npm/app/layout.js b/test/e2e/transpile-packages/npm/app/layout.js new file mode 100644 index 0000000000000..0932ed942945a --- /dev/null +++ b/test/e2e/transpile-packages/npm/app/layout.js @@ -0,0 +1,10 @@ +export default function Layout({ children }) { + return ( + <html> + <head> + <title>My page + + {children} + + ) +} diff --git a/test/e2e/transpile-packages/npm/app/page.js b/test/e2e/transpile-packages/npm/app/page.js new file mode 100644 index 0000000000000..180eb39becdbb --- /dev/null +++ b/test/e2e/transpile-packages/npm/app/page.js @@ -0,0 +1,5 @@ +import { hello } from 'package-with-optional-deps' + +export default function Page() { + return hello() +} diff --git a/test/e2e/transpile-packages/npm/node_modules_bak/package-with-optional-deps/index.js b/test/e2e/transpile-packages/npm/node_modules_bak/package-with-optional-deps/index.js new file mode 100644 index 0000000000000..4af07541ba902 --- /dev/null +++ b/test/e2e/transpile-packages/npm/node_modules_bak/package-with-optional-deps/index.js @@ -0,0 +1,17 @@ +function getDynamicPath() { + return 'foo' +} + +function unusedFunctionWithRequire() { + require('foo') + require(getDynamicPath()) +} + +function hello() { + return 'world' +} + +module.exports = { + hello, + unusedFunctionWithRequire, +} diff --git a/test/e2e/transpile-packages/npm/node_modules_bak/package-with-optional-deps/package.json b/test/e2e/transpile-packages/npm/node_modules_bak/package-with-optional-deps/package.json new file mode 100644 index 0000000000000..e6d28eef1bdf6 --- /dev/null +++ b/test/e2e/transpile-packages/npm/node_modules_bak/package-with-optional-deps/package.json @@ -0,0 +1,17 @@ +{ + "name": "my-package", + "version": "1.0.0", + "description": "My package description", + "main": "index.js", + "keywords": [], + "author": "", + "license": "ISC", + "peerDependenciesMeta": { + "foo": { + "optional": true + } + }, + "peerDependencies": { + "foo": "^1.0.0" + } +} diff --git a/test/integration/create-next-app/index.test.ts b/test/integration/create-next-app/index.test.ts index 50e130de0fea5..bd24751d9339a 100644 --- a/test/integration/create-next-app/index.test.ts +++ b/test/integration/create-next-app/index.test.ts @@ -28,7 +28,13 @@ const examplePath = 'examples/basic-css' const run = (args: string[], options: execa.Options) => { const conf = new Conf({ projectName: 'create-next-app' }) conf.clear() - return execa('node', [cli].concat(args), options) + return execa('node', [cli].concat(args), { + ...options, + env: { + ...(options.env || {}), + NEXT_PRIVATE_TEST_VERSION: 'canary', + } as any, + }) } describe('create next app', () => { diff --git a/test/integration/create-next-app/lib/utils.ts b/test/integration/create-next-app/lib/utils.ts index dcbd6fc500e17..91495a69f0b26 100644 --- a/test/integration/create-next-app/lib/utils.ts +++ b/test/integration/create-next-app/lib/utils.ts @@ -42,9 +42,8 @@ export const createNextApp = ( delete cloneEnv.RUN_ID delete cloneEnv.BUILD_NUMBER - if (testVersion) { - cloneEnv.NEXT_PRIVATE_TEST_VERSION = testVersion - } + cloneEnv.NEXT_PRIVATE_TEST_VERSION = testVersion || 'canary' + return spawn('node', [cli].concat(args), { ...options, env: { diff --git a/test/integration/create-next-app/package-manager.test.ts b/test/integration/create-next-app/package-manager.test.ts index f9463de95dfd2..078ca5aff2f2c 100644 --- a/test/integration/create-next-app/package-manager.test.ts +++ b/test/integration/create-next-app/package-manager.test.ts @@ -18,11 +18,29 @@ import { projectFilesShouldExist, shouldBeJavascriptProject } from './lib/utils' const cli = require.resolve('create-next-app/dist/index.js') const exampleRepo = 'https://github.com/vercel/next.js/tree/canary' const examplePath = 'examples/basic-css' +const env = { + ...process.env, + COREPACK_ENABLE_STRICT: '0', + NEXT_PRIVATE_TEST_VERSION: 'canary', +} const run = (args: string[], options: execa.Options) => { const conf = new Conf({ projectName: 'create-next-app' }) conf.clear() - return execa('node', [cli].concat(args), options) + console.log(`Running "create-next-app ${args.join(' ')}"`) + return execa('node', [cli].concat(args), { + ...options, + stdio: 'inherit', + env: options.env || env, + }) +} + +const command = (cmd: string, args: string[]) => { + console.log(`Running command "${cmd} ${args.join(' ')}"`) + return execa(cmd, args, { + stdio: 'inherit', + env, + }) } it('should use npm as the package manager on supplying --use-npm', async () => { @@ -41,6 +59,7 @@ it('should use npm as the package manager on supplying --use-npm', async () => { ], { cwd, + env, } ) @@ -62,7 +81,7 @@ it('should use npm as the package manager on supplying --use-npm with example', '--example', `${exampleRepo}/${examplePath}`, ], - { cwd } + { cwd, env } ) expect(res.exitCode).toBe(0) @@ -96,6 +115,7 @@ it('should use Yarn as the package manager on supplying --use-yarn', async () => ], { cwd, + env, } ) @@ -117,13 +137,13 @@ it('should use Yarn as the package manager on supplying --use-yarn', async () => it('should use Yarn as the package manager on supplying --use-yarn with example', async () => { try { - await execa('yarn', ['--version']) + await command('yarn', ['--version']) } catch (_) { // install yarn if not available try { - await execa('corepack', ['prepare', '--activate', 'yarn@1.22.19']) + await command('corepack', ['prepare', '--activate', 'yarn@1.22.19']) } catch (_) { - await execa('npm', ['i', '-g', 'yarn']) + await command('npm', ['i', '-g', 'yarn']) } } @@ -139,7 +159,7 @@ it('should use Yarn as the package manager on supplying --use-yarn with example' '--example', `${exampleRepo}/${examplePath}`, ], - { cwd } + { cwd, env } ) expect(res.exitCode).toBe(0) @@ -173,6 +193,7 @@ it('should use pnpm as the package manager on supplying --use-pnpm', async () => ], { cwd, + env, } ) @@ -194,13 +215,13 @@ it('should use pnpm as the package manager on supplying --use-pnpm', async () => it('should use pnpm as the package manager on supplying --use-pnpm with example', async () => { try { - await execa('pnpm', ['--version']) + await command('pnpm', ['--version']) } catch (_) { // install pnpm if not available try { - await execa('corepack', ['prepare', '--activate', 'pnpm@latest']) + await command('corepack', ['prepare', '--activate', 'pnpm@latest']) } catch (_) { - await execa('npm', ['i', '-g', 'pnpm']) + await command('npm', ['i', '-g', 'pnpm']) } } @@ -216,7 +237,7 @@ it('should use pnpm as the package manager on supplying --use-pnpm with example' '--example', `${exampleRepo}/${examplePath}`, ], - { cwd } + { cwd, env } ) expect(res.exitCode).toBe(0) @@ -250,6 +271,7 @@ it('should use Bun as the package manager on supplying --use-bun', async () => { ], { cwd, + env, } ) @@ -271,10 +293,10 @@ it('should use Bun as the package manager on supplying --use-bun', async () => { it('should use Bun as the package manager on supplying --use-bun with example', async () => { try { - await execa('bun', ['--version']) + await command('bun', ['--version']) } catch (_) { // install Bun if not available - await execa('npm', ['i', '-g', 'bun']) + await command('npm', ['i', '-g', 'bun']) } await useTempDir(async (cwd) => { @@ -289,7 +311,7 @@ it('should use Bun as the package manager on supplying --use-bun with example', '--example', `${exampleRepo}/${examplePath}`, ], - { cwd } + { cwd, env } ) expect(res.exitCode).toBe(0) @@ -322,7 +344,7 @@ it('should infer npm as the package manager', async () => { ], { cwd, - env: { ...process.env, npm_config_user_agent: 'npm' }, + env: { ...env, npm_config_user_agent: 'npm' }, } ) @@ -352,7 +374,7 @@ it('should infer npm as the package manager with example', async () => { '--example', `${exampleRepo}/${examplePath}`, ], - { cwd, env: { ...process.env, npm_config_user_agent: 'npm' } } + { cwd, env: { ...env, npm_config_user_agent: 'npm' } } ) const files = [ @@ -370,13 +392,13 @@ it('should infer npm as the package manager with example', async () => { it('should infer yarn as the package manager', async () => { try { - await execa('yarn', ['--version']) + await command('yarn', ['--version']) } catch (_) { // install yarn if not available try { - await execa('corepack', ['prepare', '--activate', 'yarn@1.22.19']) + await command('corepack', ['prepare', '--activate', 'yarn@1.22.19']) } catch (_) { - await execa('npm', ['i', '-g', 'yarn']) + await command('npm', ['i', '-g', 'yarn']) } } @@ -394,7 +416,7 @@ it('should infer yarn as the package manager', async () => { ], { cwd, - env: { ...process.env, npm_config_user_agent: 'yarn' }, + env: { ...env, npm_config_user_agent: 'yarn' }, } ) @@ -414,13 +436,13 @@ it('should infer yarn as the package manager', async () => { it('should infer yarn as the package manager with example', async () => { try { - await execa('yarn', ['--version']) + await command('yarn', ['--version']) } catch (_) { // install yarn if not available try { - await execa('corepack', ['prepare', '--activate', 'yarn@1.22.19']) + await command('corepack', ['prepare', '--activate', 'yarn@1.22.19']) } catch (_) { - await execa('npm', ['i', '-g', 'yarn']) + await command('npm', ['i', '-g', 'yarn']) } } @@ -435,7 +457,7 @@ it('should infer yarn as the package manager with example', async () => { '--example', `${exampleRepo}/${examplePath}`, ], - { cwd, env: { ...process.env, npm_config_user_agent: 'yarn' } } + { cwd, env: { ...env, npm_config_user_agent: 'yarn' } } ) const files = [ @@ -453,13 +475,13 @@ it('should infer yarn as the package manager with example', async () => { it('should infer pnpm as the package manager', async () => { try { - await execa('pnpm', ['--version']) + await command('pnpm', ['--version']) } catch (_) { // install pnpm if not available try { - await execa('corepack', ['prepare', '--activate', 'pnpm@latest']) + await command('corepack', ['prepare', '--activate', 'pnpm@latest']) } catch (_) { - await execa('npm', ['i', '-g', 'pnpm']) + await command('npm', ['i', '-g', 'pnpm']) } } @@ -477,7 +499,7 @@ it('should infer pnpm as the package manager', async () => { ], { cwd, - env: { ...process.env, npm_config_user_agent: 'pnpm' }, + env: { ...env, npm_config_user_agent: 'pnpm' }, } ) @@ -497,13 +519,13 @@ it('should infer pnpm as the package manager', async () => { it('should infer pnpm as the package manager with example', async () => { try { - await execa('pnpm', ['--version']) + await command('pnpm', ['--version']) } catch (_) { // install pnpm if not available try { - await execa('corepack', ['prepare', '--activate', 'pnpm@latest']) + await command('corepack', ['prepare', '--activate', 'pnpm@latest']) } catch (_) { - await execa('npm', ['i', '-g', 'pnpm']) + await command('npm', ['i', '-g', 'pnpm']) } } @@ -518,7 +540,7 @@ it('should infer pnpm as the package manager with example', async () => { '--example', `${exampleRepo}/${examplePath}`, ], - { cwd, env: { ...process.env, npm_config_user_agent: 'pnpm' } } + { cwd, env: { ...env, npm_config_user_agent: 'pnpm' } } ) const files = [ @@ -536,10 +558,10 @@ it('should infer pnpm as the package manager with example', async () => { it('should infer Bun as the package manager', async () => { try { - await execa('bun', ['--version']) + await command('bun', ['--version']) } catch (_) { // install Bun if not available - await execa('npm', ['i', '-g', 'bun']) + await command('npm', ['i', '-g', 'bun']) } await useTempDir(async (cwd) => { @@ -556,7 +578,7 @@ it('should infer Bun as the package manager', async () => { ], { cwd, - env: { ...process.env, npm_config_user_agent: 'bun' }, + env: { ...env, npm_config_user_agent: 'bun' }, } ) @@ -576,10 +598,10 @@ it('should infer Bun as the package manager', async () => { it('should infer Bun as the package manager with example', async () => { try { - await execa('bun', ['--version']) + await command('bun', ['--version']) } catch (_) { // install Bun if not available - await execa('npm', ['i', '-g', 'bun']) + await command('npm', ['i', '-g', 'bun']) } await useTempDir(async (cwd) => { @@ -593,7 +615,7 @@ it('should infer Bun as the package manager with example', async () => { '--example', `${exampleRepo}/${examplePath}`, ], - { cwd, env: { ...process.env, npm_config_user_agent: 'bun' } } + { cwd, env: { ...env, npm_config_user_agent: 'bun' } } ) const files = [ diff --git a/test/integration/create-next-app/templates-app.test.ts b/test/integration/create-next-app/templates-app.test.ts index b542890dee596..9991a2f06d540 100644 --- a/test/integration/create-next-app/templates-app.test.ts +++ b/test/integration/create-next-app/templates-app.test.ts @@ -13,12 +13,10 @@ import { shouldBeTemplateProject, spawnExitPromise, } from './lib/utils' -import { Span } from 'next/dist/trace' import { useTempDir } from '../../lib/use-temp-dir' import { fetchViaHTTP, findPort, killApp, launchApp } from 'next-test-utils' import resolveFrom from 'resolve-from' -import { createNextInstall } from '../../lib/create-next-install' const startsWithoutError = async ( appDir: string, @@ -54,10 +52,13 @@ let testVersion describe('create-next-app --app', () => { beforeAll(async () => { if (testVersion) return - const span = new Span({ name: 'parent' }) - testVersion = ( - await createNextInstall({ onlyPackages: true, parentSpan: span }) - ).get('next') + // TODO: investigate moving this post publish or create deployed + // tarballs to avoid these failing while a publish is in progress + testVersion = 'canary' + // const span = new Span({ name: 'parent' }) + // testVersion = ( + // await createNextInstall({ onlyPackages: true, parentSpan: span }) + // ).get('next') }) it('should create TS appDir projects with --ts', async () => { diff --git a/test/integration/create-next-app/templates-pages.test.ts b/test/integration/create-next-app/templates-pages.test.ts index d8b302f2c908e..1cb2d7d2a240e 100644 --- a/test/integration/create-next-app/templates-pages.test.ts +++ b/test/integration/create-next-app/templates-pages.test.ts @@ -15,7 +15,7 @@ import { shouldBeTypescriptProject, spawnExitPromise, } from './lib/utils' -import { Span } from 'next/dist/trace' +//import { Span } from 'next/dist/trace' import { useTempDir } from '../../lib/use-temp-dir' import { @@ -26,7 +26,7 @@ import { launchApp, } from 'next-test-utils' import resolveFrom from 'resolve-from' -import { createNextInstall } from '../../lib/create-next-install' +//import { createNextInstall } from '../../lib/create-next-install' import ansiEscapes from 'ansi-escapes' const startsWithoutError = async ( @@ -62,10 +62,13 @@ let testVersion describe('create-next-app templates', () => { beforeAll(async () => { - const span = new Span({ name: 'parent' }) - testVersion = ( - await createNextInstall({ onlyPackages: true, parentSpan: span }) - ).get('next') + // TODO: investigate moving this post publish or create deployed + // tarballs to avoid these failing while a publish is in progress + testVersion = 'canary' + // const span = new Span({ name: 'parent' }) + // testVersion = ( + // await createNextInstall({ onlyPackages: true, parentSpan: span }) + // ).get('next') }) it('should prompt user to choose if --ts or --js is not provided', async () => { @@ -282,8 +285,8 @@ describe('create-next-app templates', () => { */ const tsConfig = require(path.join(cwd, projectName, 'tsconfig.json')) expect(tsConfig.compilerOptions.paths).toMatchInlineSnapshot(` - Object { - "@/something/*": Array [ + { + "@/something/*": [ "./*", ], } diff --git a/test/integration/css-customization/test/index.test.js b/test/integration/css-customization/test/index.test.js index cb4aea1686118..6a2fc992201fc 100644 --- a/test/integration/css-customization/test/index.test.js +++ b/test/integration/css-customization/test/index.test.js @@ -55,9 +55,9 @@ describe('CSS Customization', () => { const { version, mappings, sourcesContent } = JSON.parse(cssMapContent) expect({ version, mappings, sourcesContent }).toMatchInlineSnapshot(` -Object { +{ "mappings": "AACA,gCACE,cACE,WACF,CACF,CAGA,OACE,eAA0B,CAA1B,gBACF", - "sourcesContent": Array [ + "sourcesContent": [ "/* this should pass through untransformed */ @media (480px <= width < 768px) { ::placeholder { @@ -103,7 +103,7 @@ Object { expect( cssContent.replace(/\/\*.*?\*\//g, '').trim() ).toMatchInlineSnapshot( - `"@media (480px <= width < 768px){a:before{content:\\"\\"}::placeholder{color:green}}.video{max-width:6400px;max-height:4800px;max-width:400rem;max-height:300rem}"` + `"@media (480px <= width < 768px){a:before{content:""}::placeholder{color:green}}.video{max-width:6400px;max-height:4800px;max-width:400rem;max-height:300rem}"` ) // Contains a source map @@ -123,9 +123,9 @@ Object { const { version, mappings, sourcesContent } = JSON.parse(cssMapContent) expect({ version, mappings, sourcesContent }).toMatchInlineSnapshot(` -Object { +{ "mappings": "AACA,gCACE,SACE,UACF,CACA,cACE,WACF,CACF,CAGA,OACE,gBAA4B,CAA5B,iBAA4B,CAA5B,gBAA4B,CAA5B,iBACF", - "sourcesContent": Array [ + "sourcesContent": [ "/* this should pass through untransformed */ @media (480px <= width < 768px) { a::before { diff --git a/test/integration/css-modules/test/index.test.js b/test/integration/css-modules/test/index.test.js index e887acfc7c5ca..7e3de4ed28c1d 100644 --- a/test/integration/css-modules/test/index.test.js +++ b/test/integration/css-modules/test/index.test.js @@ -327,7 +327,7 @@ describe('Valid CSS Module Usage from within node_modules', () => { const cssPreload = $('#nm-div') expect(cssPreload.text()).toMatchInlineSnapshot( - `"{\\"message\\":\\"Why hello there\\"} {\\"redText\\":\\"example_redText__0ctGB\\"}"` + `"{"message":"Why hello there"} {"redText":"example_redText__0ctGB"}"` ) }) @@ -382,7 +382,7 @@ describe('Valid Nested CSS Module Usage from within node_modules', () => { const cssPreload = $('#nm-div') expect(cssPreload.text()).toMatchInlineSnapshot( - `"{\\"message\\":\\"Why hello there\\"} {\\"subClass\\":\\"example_subClass__m6Tyy other_className__OA8dV\\"}"` + `"{"message":"Why hello there"} {"subClass":"example_subClass__m6Tyy other_className__OA8dV"}"` ) }) diff --git a/test/integration/css/test/basic-global-support.test.js b/test/integration/css/test/basic-global-support.test.js index 69bac5f370770..34a8c5c2e7e4c 100644 --- a/test/integration/css/test/basic-global-support.test.js +++ b/test/integration/css/test/basic-global-support.test.js @@ -229,7 +229,7 @@ describe('CSS URL via `file-loader`', () => { ) .sort() ).toMatchInlineSnapshot(` - Array [ + [ "dark.svg", "dark2.svg", "light.svg", @@ -277,7 +277,7 @@ describe('CSS URL via `file-loader` and asset prefix (1)', () => { ) .sort() ).toMatchInlineSnapshot(` - Array [ + [ "dark.svg", "dark2.svg", "light.svg", @@ -325,7 +325,7 @@ describe('CSS URL via `file-loader` and asset prefix (2)', () => { ) .sort() ).toMatchInlineSnapshot(` - Array [ + [ "dark.svg", "dark2.svg", "light.svg", diff --git a/test/integration/css/test/css-compilation.test.js b/test/integration/css/test/css-compilation.test.js index eafdac53885db..2d54e72db5f7d 100644 --- a/test/integration/css/test/css-compilation.test.js +++ b/test/integration/css/test/css-compilation.test.js @@ -61,35 +61,35 @@ describe('CSS Support', () => { const { version, mappings, sourcesContent } = JSON.parse(cssMapContent) expect({ version, mappings, sourcesContent }).toMatchInlineSnapshot(` - Object { - "mappings": "AAAA,+CACE,cACE,WACF,CACF,CAEA,cACE,2CACF,CAEA,mBACE,0BACF,CAEA,oBACE,kBACF,CAEA,mDACE,WACF", - "sourcesContent": Array [ - "@media (480px <= width < 768px) { - ::placeholder { - color: green; + { + "mappings": "AAAA,+CACE,cACE,WACF,CACF,CAEA,cACE,2CACF,CAEA,mBACE,0BACF,CAEA,oBACE,kBACF,CAEA,mDACE,WACF", + "sourcesContent": [ + "@media (480px <= width < 768px) { + ::placeholder { + color: green; + } } - } - .flex-parsing { - flex: 0 0 calc(50% - var(--vertical-gutter)); - } + .flex-parsing { + flex: 0 0 calc(50% - var(--vertical-gutter)); + } - .transform-parsing { - transform: translate3d(0px, 0px); - } + .transform-parsing { + transform: translate3d(0px, 0px); + } - .css-grid-shorthand { - grid-column: span 2; - } + .css-grid-shorthand { + grid-column: span 2; + } - .g-docs-sidenav .filter::-webkit-input-placeholder { - opacity: 80%; - } - ", - ], - "version": 3, - } - `) + .g-docs-sidenav .filter::-webkit-input-placeholder { + opacity: 80%; + } + ", + ], + "version": 3, + } + `) }) }) diff --git a/test/integration/css/test/valid-invalid-css.test.js b/test/integration/css/test/valid-invalid-css.test.js index 0dc725c4ff7ec..45544289ca338 100644 --- a/test/integration/css/test/valid-invalid-css.test.js +++ b/test/integration/css/test/valid-invalid-css.test.js @@ -77,7 +77,7 @@ describe('Valid Global CSS from npm', () => { const cssContent = await readFile(join(cssFolder, cssFiles[0]), 'utf8') expect( cssContent.replace(/\/\*.*?\*\//g, '').trim() - ).toMatchInlineSnapshot(`".red-text{color:\\"red\\"}"`) + ).toMatchInlineSnapshot(`".red-text{color:"red"}"`) }) }) }) diff --git a/test/integration/export-intent/test/index.test.js b/test/integration/export-intent/test/index.test.js index 61b2e7c7d2467..bd7039a9b27b2 100644 --- a/test/integration/export-intent/test/index.test.js +++ b/test/integration/export-intent/test/index.test.js @@ -28,7 +28,7 @@ describe('Application Export Intent Output', () => { fs.readFileSync(join(distDir, 'export-marker.json'), 'utf8') ) ).toMatchInlineSnapshot(` - Object { + { "exportTrailingSlash": false, "hasExportPathMap": false, "isNextImageImported": false, @@ -43,7 +43,7 @@ describe('Application Export Intent Output', () => { ...detail, outDirectory: path.basename(detail.outDirectory), }).toMatchInlineSnapshot(` - Object { + { "outDirectory": "out", "success": true, "version": 1, @@ -75,7 +75,7 @@ describe('Application Export Intent Output', () => { fs.readFileSync(join(distDir, 'export-marker.json'), 'utf8') ) ).toMatchInlineSnapshot(` - Object { + { "exportTrailingSlash": false, "hasExportPathMap": true, "isNextImageImported": false, @@ -90,7 +90,7 @@ describe('Application Export Intent Output', () => { ...detail, outDirectory: path.basename(detail.outDirectory), }).toMatchInlineSnapshot(` - Object { + { "outDirectory": "out", "success": true, "version": 1, @@ -123,7 +123,7 @@ describe('Application Export Intent Output', () => { fs.readFileSync(join(distDir, 'export-marker.json'), 'utf8') ) ).toMatchInlineSnapshot(` - Object { + { "exportTrailingSlash": true, "hasExportPathMap": false, "isNextImageImported": false, @@ -138,7 +138,7 @@ describe('Application Export Intent Output', () => { ...detail, outDirectory: path.basename(detail.outDirectory), }).toMatchInlineSnapshot(` - Object { + { "outDirectory": "lel", "success": true, "version": 1, @@ -171,7 +171,7 @@ describe('Application Export Intent Output', () => { fs.readFileSync(join(distDir, 'export-marker.json'), 'utf8') ) ).toMatchInlineSnapshot(` - Object { + { "exportTrailingSlash": false, "hasExportPathMap": false, "isNextImageImported": false, @@ -186,7 +186,7 @@ describe('Application Export Intent Output', () => { ...detail, outDirectory: path.basename(detail.outDirectory), }).toMatchInlineSnapshot(` - Object { + { "outDirectory": "out", "success": false, "version": 1, @@ -218,7 +218,7 @@ describe('Application Export Intent Output', () => { fs.readFileSync(join(distDir, 'export-marker.json'), 'utf8') ) ).toMatchInlineSnapshot(` - Object { + { "exportTrailingSlash": false, "hasExportPathMap": false, "isNextImageImported": false, diff --git a/test/integration/i18n-support/test/shared.js b/test/integration/i18n-support/test/shared.js index b4650c8549c5e..ba455eb0f9e48 100644 --- a/test/integration/i18n-support/test/shared.js +++ b/test/integration/i18n-support/test/shared.js @@ -760,380 +760,380 @@ export function runTests(ctx) { .replace(new RegExp(escapeRegex(ctx.buildId), 'g'), 'BUILD_ID') ).toMatchInlineSnapshot(` "{ - \\"/do\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/do-BE\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/do-BE/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/do-BE/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/do-BE/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/do-BE/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/do-BE/gsp/fallback/always.json\\" - }, - \\"/do-BE/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/do/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/do/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/do/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/do/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/do/gsp/fallback/always.json\\" - }, - \\"/do/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/en\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/en-US\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/en-US/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/en-US/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/en-US/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/en-US/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/gsp/fallback/always.json\\" - }, - \\"/en-US/gsp/fallback/first\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/gsp/fallback/first.json\\" - }, - \\"/en-US/gsp/fallback/second\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/gsp/fallback/second.json\\" - }, - \\"/en-US/gsp/no-fallback/first\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/no-fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/gsp/no-fallback/first.json\\" - }, - \\"/en-US/gsp/no-fallback/second\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/no-fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/gsp/no-fallback/second.json\\" - }, - \\"/en-US/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/en-US/not-found/blocking-fallback/first\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/not-found/blocking-fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/not-found/blocking-fallback/first.json\\" - }, - \\"/en-US/not-found/blocking-fallback/second\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/not-found/blocking-fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/not-found/blocking-fallback/second.json\\" - }, - \\"/en-US/not-found/fallback/first\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/not-found/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/not-found/fallback/first.json\\" - }, - \\"/en-US/not-found/fallback/second\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/not-found/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en-US/not-found/fallback/second.json\\" - }, - \\"/en/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/en/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/en/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/en/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/en/gsp/fallback/always.json\\" - }, - \\"/en/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/fr\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/fr-BE\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/fr-BE/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/fr-BE/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/fr-BE/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/fr-BE/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/fr-BE/gsp/fallback/always.json\\" - }, - \\"/fr-BE/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/fr/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/fr/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/fr/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/fr/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/fr/gsp/fallback/always.json\\" - }, - \\"/fr/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/go\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/go-BE\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/go-BE/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/go-BE/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/go-BE/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/go-BE/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/go-BE/gsp/fallback/always.json\\" - }, - \\"/go-BE/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/go/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/go/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/go/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/go/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/go/gsp/fallback/always.json\\" - }, - \\"/go/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/nl\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/nl-BE\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/nl-BE/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/nl-BE/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/nl-BE/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/nl-BE/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/nl-BE/gsp/fallback/always.json\\" - }, - \\"/nl-BE/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/nl-NL\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/index.json\\" - }, - \\"/nl-NL/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/nl-NL/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/nl-NL/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/nl-NL/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/nl-NL/gsp/fallback/always.json\\" - }, - \\"/nl-NL/gsp/no-fallback/second\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/no-fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/nl-NL/gsp/no-fallback/second.json\\" - }, - \\"/nl-NL/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" - }, - \\"/nl/404\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/404.json\\" - }, - \\"/nl/frank\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/frank.json\\" - }, - \\"/nl/gsp\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp.json\\" - }, - \\"/nl/gsp/fallback/always\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": \\"/gsp/fallback/[slug]\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/nl/gsp/fallback/always.json\\" - }, - \\"/nl/not-found\\": { - \\"initialRevalidateSeconds\\": false, - \\"srcRoute\\": null, - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found.json\\" + "/do": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/do-BE": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/do-BE/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/do-BE/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/do-BE/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/do-BE/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/do-BE/gsp/fallback/always.json" + }, + "/do-BE/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/do/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/do/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/do/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/do/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/do/gsp/fallback/always.json" + }, + "/do/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/en": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/en-US": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/en-US/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/en-US/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/en-US/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/en-US/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/gsp/fallback/always.json" + }, + "/en-US/gsp/fallback/first": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/gsp/fallback/first.json" + }, + "/en-US/gsp/fallback/second": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/gsp/fallback/second.json" + }, + "/en-US/gsp/no-fallback/first": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/no-fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/gsp/no-fallback/first.json" + }, + "/en-US/gsp/no-fallback/second": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/no-fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/gsp/no-fallback/second.json" + }, + "/en-US/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/en-US/not-found/blocking-fallback/first": { + "initialRevalidateSeconds": false, + "srcRoute": "/not-found/blocking-fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/not-found/blocking-fallback/first.json" + }, + "/en-US/not-found/blocking-fallback/second": { + "initialRevalidateSeconds": false, + "srcRoute": "/not-found/blocking-fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/not-found/blocking-fallback/second.json" + }, + "/en-US/not-found/fallback/first": { + "initialRevalidateSeconds": false, + "srcRoute": "/not-found/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/not-found/fallback/first.json" + }, + "/en-US/not-found/fallback/second": { + "initialRevalidateSeconds": false, + "srcRoute": "/not-found/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en-US/not-found/fallback/second.json" + }, + "/en/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/en/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/en/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/en/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/en/gsp/fallback/always.json" + }, + "/en/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/fr": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/fr-BE": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/fr-BE/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/fr-BE/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/fr-BE/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/fr-BE/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/fr-BE/gsp/fallback/always.json" + }, + "/fr-BE/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/fr/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/fr/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/fr/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/fr/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/fr/gsp/fallback/always.json" + }, + "/fr/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/go": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/go-BE": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/go-BE/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/go-BE/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/go-BE/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/go-BE/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/go-BE/gsp/fallback/always.json" + }, + "/go-BE/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/go/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/go/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/go/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/go/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/go/gsp/fallback/always.json" + }, + "/go/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/nl": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/nl-BE": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/nl-BE/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/nl-BE/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/nl-BE/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/nl-BE/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/nl-BE/gsp/fallback/always.json" + }, + "/nl-BE/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/nl-NL": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/index.json" + }, + "/nl-NL/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/nl-NL/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/nl-NL/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/nl-NL/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/nl-NL/gsp/fallback/always.json" + }, + "/nl-NL/gsp/no-fallback/second": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/no-fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/nl-NL/gsp/no-fallback/second.json" + }, + "/nl-NL/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" + }, + "/nl/404": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/404.json" + }, + "/nl/frank": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/frank.json" + }, + "/nl/gsp": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/gsp.json" + }, + "/nl/gsp/fallback/always": { + "initialRevalidateSeconds": false, + "srcRoute": "/gsp/fallback/[slug]", + "dataRoute": "/_next/data/BUILD_ID/nl/gsp/fallback/always.json" + }, + "/nl/not-found": { + "initialRevalidateSeconds": false, + "srcRoute": null, + "dataRoute": "/_next/data/BUILD_ID/not-found.json" } }" `) @@ -1148,29 +1148,29 @@ export function runTests(ctx) { ) ).toMatchInlineSnapshot(` "{ - \\"/gsp/fallback/[slug]\\": { - \\"routeRegex\\": \\"^\\\\/gsp\\\\/fallback\\\\/([^\\\\/]+?)(?:\\\\/)?$\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp/fallback/[slug].json\\", - \\"fallback\\": \\"/gsp/fallback/[slug].html\\", - \\"dataRouteRegex\\": \\"^\\\\/_next\\\\/data\\\\/BUILD_ID\\\\/gsp\\\\/fallback\\\\/([^\\\\/]+?)\\\\.json$\\" - }, - \\"/gsp/no-fallback/[slug]\\": { - \\"routeRegex\\": \\"^\\\\/gsp\\\\/no\\\\-fallback\\\\/([^\\\\/]+?)(?:\\\\/)?$\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/gsp/no-fallback/[slug].json\\", - \\"fallback\\": false, - \\"dataRouteRegex\\": \\"^\\\\/_next\\\\/data\\\\/BUILD_ID\\\\/gsp\\\\/no\\\\-fallback\\\\/([^\\\\/]+?)\\\\.json$\\" - }, - \\"/not-found/blocking-fallback/[slug]\\": { - \\"routeRegex\\": \\"^\\\\/not\\\\-found\\\\/blocking\\\\-fallback\\\\/([^\\\\/]+?)(?:\\\\/)?$\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found/blocking-fallback/[slug].json\\", - \\"fallback\\": null, - \\"dataRouteRegex\\": \\"^\\\\/_next\\\\/data\\\\/BUILD_ID\\\\/not\\\\-found\\\\/blocking\\\\-fallback\\\\/([^\\\\/]+?)\\\\.json$\\" - }, - \\"/not-found/fallback/[slug]\\": { - \\"routeRegex\\": \\"^\\\\/not\\\\-found\\\\/fallback\\\\/([^\\\\/]+?)(?:\\\\/)?$\\", - \\"dataRoute\\": \\"/_next/data/BUILD_ID/not-found/fallback/[slug].json\\", - \\"fallback\\": \\"/not-found/fallback/[slug].html\\", - \\"dataRouteRegex\\": \\"^\\\\/_next\\\\/data\\\\/BUILD_ID\\\\/not\\\\-found\\\\/fallback\\\\/([^\\\\/]+?)\\\\.json$\\" + "/gsp/fallback/[slug]": { + "routeRegex": "^\\/gsp\\/fallback\\/([^\\/]+?)(?:\\/)?$", + "dataRoute": "/_next/data/BUILD_ID/gsp/fallback/[slug].json", + "fallback": "/gsp/fallback/[slug].html", + "dataRouteRegex": "^\\/_next\\/data\\/BUILD_ID\\/gsp\\/fallback\\/([^\\/]+?)\\.json$" + }, + "/gsp/no-fallback/[slug]": { + "routeRegex": "^\\/gsp\\/no\\-fallback\\/([^\\/]+?)(?:\\/)?$", + "dataRoute": "/_next/data/BUILD_ID/gsp/no-fallback/[slug].json", + "fallback": false, + "dataRouteRegex": "^\\/_next\\/data\\/BUILD_ID\\/gsp\\/no\\-fallback\\/([^\\/]+?)\\.json$" + }, + "/not-found/blocking-fallback/[slug]": { + "routeRegex": "^\\/not\\-found\\/blocking\\-fallback\\/([^\\/]+?)(?:\\/)?$", + "dataRoute": "/_next/data/BUILD_ID/not-found/blocking-fallback/[slug].json", + "fallback": null, + "dataRouteRegex": "^\\/_next\\/data\\/BUILD_ID\\/not\\-found\\/blocking\\-fallback\\/([^\\/]+?)\\.json$" + }, + "/not-found/fallback/[slug]": { + "routeRegex": "^\\/not\\-found\\/fallback\\/([^\\/]+?)(?:\\/)?$", + "dataRoute": "/_next/data/BUILD_ID/not-found/fallback/[slug].json", + "fallback": "/not-found/fallback/[slug].html", + "dataRouteRegex": "^\\/_next\\/data\\/BUILD_ID\\/not\\-found\\/fallback\\/([^\\/]+?)\\.json$" } }" `) diff --git a/test/integration/link-with-encoding/test/index.test.js b/test/integration/link-with-encoding/test/index.test.js index dab4b4dbfff9c..3e5658dcb3024 100644 --- a/test/integration/link-with-encoding/test/index.test.js +++ b/test/integration/link-with-encoding/test/index.test.js @@ -24,7 +24,7 @@ describe('Link Component with Encoding', () => { ) try { const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello world \\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello world "}"`) } finally { await browser.close() } @@ -46,7 +46,7 @@ describe('Link Component with Encoding', () => { }, }) const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello world \\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello world "}"`) } finally { await browser.close() } @@ -63,7 +63,7 @@ describe('Link Component with Encoding', () => { }, }) const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello world \\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello world "}"`) } finally { await browser.close() } @@ -75,7 +75,7 @@ describe('Link Component with Encoding', () => { const browser = await webdriver(appPort, encodeURI('/single/hello%world')) try { const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello%world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello%world"}"`) } finally { await browser.close() } @@ -97,7 +97,7 @@ describe('Link Component with Encoding', () => { }, }) const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello%world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello%world"}"`) } finally { await browser.close() } @@ -114,7 +114,7 @@ describe('Link Component with Encoding', () => { }, }) const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello%world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello%world"}"`) } finally { await browser.close() } @@ -129,7 +129,7 @@ describe('Link Component with Encoding', () => { ) try { const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello/world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello/world"}"`) } finally { await browser.close() } @@ -151,7 +151,7 @@ describe('Link Component with Encoding', () => { }, }) const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello/world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello/world"}"`) } finally { await browser.close() } @@ -168,7 +168,7 @@ describe('Link Component with Encoding', () => { }, }) const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello/world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello/world"}"`) } finally { await browser.close() } @@ -184,8 +184,8 @@ describe('Link Component with Encoding', () => { try { const text = await browser.elementByCss('#query-content').text() expect(JSON.parse(text)).toMatchInlineSnapshot(` - Object { - "slug": "hello\\"world", + { + "slug": "hello"world", } `) } finally { @@ -210,8 +210,8 @@ describe('Link Component with Encoding', () => { }) const text = await browser.elementByCss('#query-content').text() expect(JSON.parse(text)).toMatchInlineSnapshot(` - Object { - "slug": "hello\\"world", + { + "slug": "hello"world", } `) } finally { @@ -231,8 +231,8 @@ describe('Link Component with Encoding', () => { }) const text = await browser.elementByCss('#query-content').text() expect(JSON.parse(text)).toMatchInlineSnapshot(` - Object { - "slug": "hello\\"world", + { + "slug": "hello"world", } `) } finally { @@ -249,7 +249,7 @@ describe('Link Component with Encoding', () => { ) try { const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello:world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello:world"}"`) } finally { await browser.close() } @@ -271,7 +271,7 @@ describe('Link Component with Encoding', () => { }, }) const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello:world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello:world"}"`) } finally { await browser.close() } @@ -288,7 +288,7 @@ describe('Link Component with Encoding', () => { }, }) const text = await browser.elementByCss('#query-content').text() - expect(text).toMatchInlineSnapshot(`"{\\"slug\\":\\"hello:world\\"}"`) + expect(text).toMatchInlineSnapshot(`"{"slug":"hello:world"}"`) } finally { await browser.close() } diff --git a/test/integration/next-dynamic-lazy-compilation/test/index.test.js b/test/integration/next-dynamic-lazy-compilation/test/index.test.js index b075256aba2c6..c441a54635a4c 100644 --- a/test/integration/next-dynamic-lazy-compilation/test/index.test.js +++ b/test/integration/next-dynamic-lazy-compilation/test/index.test.js @@ -46,31 +46,38 @@ function runTests() { }) } -describe('next/dynamic', () => { - describe('dev mode', () => { - beforeAll(async () => { - appPort = await findPort() - app = await launchApp(appDir, appPort) - }) - afterAll(() => killApp(app)) - - runTests(true) - }) - ;(process.env.TURBOPACK ? describe.skip : describe)('production mode', () => { - beforeAll(async () => { - await runNextCommand(['build', appDir]) - - app = nextServer({ - dir: appDir, - dev: false, - quiet: true, +// This test is not needed for Turbopack as it relies on an experimental webpack feature. +;(process.env.TURBOPACK ? describe.skip : describe)( + 'next/dynamic lazy compilation', + () => { + describe('dev mode', () => { + beforeAll(async () => { + appPort = await findPort() + app = await launchApp(appDir, appPort) }) + afterAll(() => killApp(app)) - server = await startApp(app) - appPort = server.address().port + runTests(true) }) - afterAll(() => stopApp(server)) + ;(process.env.TURBOPACK ? describe.skip : describe)( + 'production mode', + () => { + beforeAll(async () => { + await runNextCommand(['build', appDir]) - runTests() - }) -}) + app = nextServer({ + dir: appDir, + dev: false, + quiet: true, + }) + + server = await startApp(app) + appPort = server.address().port + }) + afterAll(() => stopApp(server)) + + runTests() + } + ) + } +) diff --git a/test/integration/next-image-new/app-dir/test/index.test.ts b/test/integration/next-image-new/app-dir/test/index.test.ts index 1e3b847677758..f57b3204f19f3 100644 --- a/test/integration/next-image-new/app-dir/test/index.test.ts +++ b/test/integration/next-image-new/app-dir/test/index.test.ts @@ -357,6 +357,15 @@ function runTests(mode) { () => browser.eval(`document.getElementById("msg9").textContent`), 'loaded 1 img9 with dimensions 400x400' ) + + if (mode === 'dev') { + const warnings = (await browser.log('browser')) + .map((log) => log.message) + .join('\n') + expect(warnings).toMatch( + /Image with src "(.*)" is using deprecated "onLoadingComplete" property/gm + ) + } }) it('should callback native onLoad with sythetic event', async () => { diff --git a/test/integration/next-image-new/default/test/index.test.ts b/test/integration/next-image-new/default/test/index.test.ts index ff39b4609ed6e..1de5c8271c94d 100644 --- a/test/integration/next-image-new/default/test/index.test.ts +++ b/test/integration/next-image-new/default/test/index.test.ts @@ -358,6 +358,15 @@ function runTests(mode) { () => browser.eval(`document.getElementById("msg9").textContent`), 'loaded 1 img9 with dimensions 400x400' ) + + if (mode === 'dev') { + const warnings = (await browser.log('browser')) + .map((log) => log.message) + .join('\n') + expect(warnings).toMatch( + /Image with src "(.*)" is using deprecated "onLoadingComplete" property/gm + ) + } }) it('should callback native onLoad with sythetic event', async () => { diff --git a/test/integration/preload-viewport/test/index.test.js b/test/integration/preload-viewport/test/index.test.js index 22c4a85c65fb5..4b865ee3e93df 100644 --- a/test/integration/preload-viewport/test/index.test.js +++ b/test/integration/preload-viewport/test/index.test.js @@ -510,7 +510,7 @@ describe('Prefetching Links in viewport', () => { // eslint-disable-next-line no-eval eval(content) expect([...self.__SSG_MANIFEST].sort()).toMatchInlineSnapshot(` - Array [ + [ "/[...rest]", "/ssg/basic", "/ssg/catch-all/[...slug]", diff --git a/test/integration/scss-modules/test/valid-invalid.test.js b/test/integration/scss-modules/test/valid-invalid.test.js index 0139136d2efa2..f297ab01c72d0 100644 --- a/test/integration/scss-modules/test/valid-invalid.test.js +++ b/test/integration/scss-modules/test/valid-invalid.test.js @@ -98,7 +98,7 @@ describe('Valid CSS Module Usage from within node_modules', () => { const cssPreload = $('#nm-div') expect(cssPreload.text()).toMatchInlineSnapshot( - `"{\\"message\\":\\"Why hello there\\"} {\\"redText\\":\\"example_redText__jsP_3\\"}"` + `"{"message":"Why hello there"} {"redText":"example_redText__jsP_3"}"` ) }) @@ -153,7 +153,7 @@ describe('Valid Nested CSS Module Usage from within node_modules', () => { const cssPreload = $('#nm-div') expect(cssPreload.text()).toMatchInlineSnapshot( - `"{\\"message\\":\\"Why hello there\\"} {\\"other2\\":\\"example_other2__HNcoQ\\",\\"subClass\\":\\"example_subClass__SxkPt other_className___l2o_\\"}"` + `"{"message":"Why hello there"} {"other2":"example_other2__HNcoQ","subClass":"example_subClass__SxkPt other_className___l2o_"}"` ) }) diff --git a/test/integration/scss/test/basic-scss.test.js b/test/integration/scss/test/basic-scss.test.js index 427629af36b05..92fa650467c0f 100644 --- a/test/integration/scss/test/basic-scss.test.js +++ b/test/integration/scss/test/basic-scss.test.js @@ -102,9 +102,9 @@ describe('SCSS Support', () => { const { version, mappings, sourcesContent } = JSON.parse(cssMapContent) expect({ version, mappings, sourcesContent }).toMatchInlineSnapshot(` - Object { + { "mappings": "AAEE,uBACE,SAHE,CAON,cACE,2CAAA", - "sourcesContent": Array [ + "sourcesContent": [ "$var: red; .redText { ::placeholder { diff --git a/test/integration/scss/test/scss-loader-handling.test.js b/test/integration/scss/test/scss-loader-handling.test.js index c6b4e5be51063..0c634cba6a899 100644 --- a/test/integration/scss/test/scss-loader-handling.test.js +++ b/test/integration/scss/test/scss-loader-handling.test.js @@ -48,7 +48,7 @@ describe('SCSS Support loader handling', () => { ) .sort() ).toMatchInlineSnapshot(` - Array [ + [ "dark.svg", "dark2.svg", "light.svg", @@ -100,7 +100,7 @@ describe('SCSS Support loader handling', () => { ) .sort() ).toMatchInlineSnapshot(` - Array [ + [ "darka.svg", "darkb.svg", "light.svg", @@ -150,7 +150,7 @@ describe('SCSS Support loader handling', () => { ) .sort() ).toMatchInlineSnapshot(` - Array [ + [ "dark.svg", "dark2.svg", "light.svg", @@ -200,7 +200,7 @@ describe('SCSS Support loader handling', () => { ) .sort() ).toMatchInlineSnapshot(` - Array [ + [ "dark.svg", "dark2.svg", "light.svg", diff --git a/test/integration/tsconfig-verifier/test/index.test.js b/test/integration/tsconfig-verifier/test/index.test.js index 9738c31d16adf..1183a5b10a571 100644 --- a/test/integration/tsconfig-verifier/test/index.test.js +++ b/test/integration/tsconfig-verifier/test/index.test.js @@ -26,38 +26,38 @@ import path from 'path' expect(code).toBe(0) expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"esModuleInterop\\": true, - \\"module\\": \\"esnext\\", - \\"moduleResolution\\": \\"node\\", - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -80,38 +80,38 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"esModuleInterop\\": true, - \\"module\\": \\"esnext\\", - \\"moduleResolution\\": \\"node\\", - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -148,43 +148,43 @@ import path from 'path' "// top-level comment { // in-object comment 1 - \\"compilerOptions\\": { + "compilerOptions": { // in-object comment - \\"esModuleInterop\\": true, // this should be true - \\"module\\": \\"esnext\\" // should not be umd + "esModuleInterop": true, // this should be true + "module": "esnext" // should not be umd // end-object comment , - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"moduleResolution\\": \\"node\\", - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true } // in-object comment 2 , - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } // end comment @@ -205,38 +205,38 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"esModuleInterop\\": true, - \\"module\\": \\"commonjs\\", - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "esModuleInterop": true, + "module": "commonjs", + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"moduleResolution\\": \\"node\\", - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -256,38 +256,38 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"esModuleInterop\\": true, - \\"module\\": \\"es2020\\", - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "esModuleInterop": true, + "module": "es2020", + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"moduleResolution\\": \\"node\\", - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -311,38 +311,38 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"esModuleInterop\\": true, - \\"moduleResolution\\": \\"node16\\", - \\"module\\": \\"node16\\", - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "esModuleInterop": true, + "moduleResolution": "node16", + "module": "node16", + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -366,38 +366,38 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"esModuleInterop\\": true, - \\"moduleResolution\\": \\"bundler\\", - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "esModuleInterop": true, + "moduleResolution": "bundler", + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"module\\": \\"esnext\\", - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "module": "esnext", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -418,39 +418,39 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"target\\": \\"es2022\\", - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "target": "es2022", + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"esModuleInterop\\": true, - \\"module\\": \\"esnext\\", - \\"moduleResolution\\": \\"node\\", - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -474,38 +474,38 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"esModuleInterop\\": true, - \\"module\\": \\"node16\\", - \\"moduleResolution\\": \\"node16\\", - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "esModuleInterop": true, + "module": "node16", + "moduleResolution": "node16", + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"resolveJsonModule\\": true, - \\"isolatedModules\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -529,38 +529,38 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"compilerOptions\\": { - \\"verbatimModuleSyntax\\": true, - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "compilerOptions": { + "verbatimModuleSyntax": true, + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"esModuleInterop\\": true, - \\"module\\": \\"esnext\\", - \\"moduleResolution\\": \\"node\\", - \\"resolveJsonModule\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -586,38 +586,38 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"extends\\": \\"./tsconfig.base.json\\", - \\"compilerOptions\\": { - \\"lib\\": [ - \\"dom\\", - \\"dom.iterable\\", - \\"esnext\\" + "extends": "./tsconfig.base.json", + "compilerOptions": { + "lib": [ + "dom", + "dom.iterable", + "esnext" ], - \\"allowJs\\": true, - \\"skipLibCheck\\": true, - \\"strict\\": false, - \\"noEmit\\": true, - \\"incremental\\": true, - \\"esModuleInterop\\": true, - \\"module\\": \\"esnext\\", - \\"moduleResolution\\": \\"node\\", - \\"resolveJsonModule\\": true, - \\"jsx\\": \\"preserve\\", - \\"plugins\\": [ + "allowJs": true, + "skipLibCheck": true, + "strict": false, + "noEmit": true, + "incremental": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "jsx": "preserve", + "plugins": [ { - \\"name\\": \\"next\\" + "name": "next" } ], - \\"strictNullChecks\\": true + "strictNullChecks": true }, - \\"include\\": [ - \\"next-env.d.ts\\", - \\".next/types/**/*.ts\\", - \\"**/*.ts\\", - \\"**/*.tsx\\" + "include": [ + "next-env.d.ts", + ".next/types/**/*.ts", + "**/*.ts", + "**/*.tsx" ], - \\"exclude\\": [ - \\"node_modules\\" + "exclude": [ + "node_modules" ] } " @@ -682,7 +682,7 @@ import path from 'path' expect(code).toBe(0) expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot( - `"{ \\"extends\\": \\"./tsconfig.base.json\\" }"` + `"{ "extends": "./tsconfig.base.json" }"` ) }) @@ -744,10 +744,10 @@ import path from 'path' expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(` "{ - \\"extends\\": \\"./tsconfig.base.json\\", - \\"compilerOptions\\": { - \\"incremental\\": true, - \\"strictNullChecks\\": true + "extends": "./tsconfig.base.json", + "compilerOptions": { + "incremental": true, + "strictNullChecks": true } } " diff --git a/test/integration/typescript-hmr/test/index.test.js b/test/integration/typescript-hmr/test/index.test.js index 7b2ab6250b180..0088256bf1c73 100644 --- a/test/integration/typescript-hmr/test/index.test.js +++ b/test/integration/typescript-hmr/test/index.test.js @@ -42,6 +42,11 @@ describe('TypeScript HMR', () => { const originalContent = await fs.readFile(pagePath, 'utf8') const editedContent = originalContent.replace('Hello', 'COOL page') + if (process.env.TURBOPACK) { + // TODO Turbopack needs a bit to start watching + await new Promise((resolve) => setTimeout(resolve, 500)) + } + // change the content await fs.writeFile(pagePath, editedContent, 'utf8') await check(() => getBrowserBodyText(browser), /COOL page/) @@ -93,6 +98,10 @@ describe('TypeScript HMR', () => { '() =>

Hello world

', '(): boolean =>

hello with error

' ) + if (process.env.TURBOPACK) { + // TODO Turbopack needs a bit to start watching + await new Promise((resolve) => setTimeout(resolve, 500)) + } await fs.writeFile(pagePath, errContent) const res = await check( async () => { diff --git a/test/jest.d.ts b/test/jest.d.ts deleted file mode 100644 index 3679d143b04e1..0000000000000 --- a/test/jest.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/// -/// - -declare namespace jest { - // https://github.com/jestjs/jest/blob/6460335f88cee3dcb9d29c49d55ab02b9d83f994/packages/expect/src/types.ts#L58-L72 - interface MatcherState { - assertionCalls: number - error?: Error - expectedAssertionsNumber: number | null - expectedAssertionsNumberError?: Error - isExpectingAssertionsError?: Error - isNot?: boolean - numPassingAsserts: number - promise?: string - suppressedErrors: Array - } - - interface Expect { - // https://github.com/jestjs/jest/blob/6460335f88cee3dcb9d29c49d55ab02b9d83f994/packages/expect/src/index.ts#L461 - // https://github.com/jestjs/jest/blob/6460335f88cee3dcb9d29c49d55ab02b9d83f994/packages/expect/src/jestMatchersObject.ts#L44-L45 - getState(): MatcherState - } -} diff --git a/test/lib/mocks-require-hook.js b/test/lib/mocks-require-hook.js deleted file mode 100644 index 7c5eac856312f..0000000000000 --- a/test/lib/mocks-require-hook.js +++ /dev/null @@ -1,24 +0,0 @@ -const mod = require('module') - -const hookPropertyMap = new Map([ - [ - /node-polyfill-web-streams/, - require.resolve('../__mocks__/node-polyfill-web-streams.js'), - ], -]) - -function matchModule(request) { - for (const [key, value] of hookPropertyMap) { - if (key.test(request)) { - return value - } - } - return null -} - -const resolveFilename = mod._resolveFilename -mod._resolveFilename = function (request, parent, isMain, options) { - const hookResolved = matchModule(request) - if (hookResolved) request = hookResolved - return resolveFilename.call(mod, request, parent, isMain, options) -} diff --git a/test/lib/next-modes/next-dev.ts b/test/lib/next-modes/next-dev.ts index 7c3e87262bde0..691c56e37e2f4 100644 --- a/test/lib/next-modes/next-dev.ts +++ b/test/lib/next-modes/next-dev.ts @@ -114,7 +114,7 @@ export class NextDevInstance extends NextInstance { msg.includes('started server on') && msg.includes('url:') ) { - this._url = msg.split('url: ').pop().split(/\s/)[0].trim() + this._url = msg.split('url: ').pop().split(/\s/, 1)[0].trim() resolveServer() } } diff --git a/test/lib/next-test-utils.ts b/test/lib/next-test-utils.ts index 0ac9a2bed918c..b35fcb5d2cf26 100644 --- a/test/lib/next-test-utils.ts +++ b/test/lib/next-test-utils.ts @@ -49,13 +49,7 @@ export function initNextServerScript( return new Promise((resolve, reject) => { const instance = spawn( 'node', - [ - ...((opts && opts.nodeArgs) || []), - '-r', - require.resolve('./mocks-require-hook'), - '--no-deprecation', - scriptPath, - ], + [...((opts && opts.nodeArgs) || []), '--no-deprecation', scriptPath], { env, cwd: opts && opts.cwd, @@ -225,14 +219,7 @@ export function runNextCommand( console.log(`Running command "next ${argv.join(' ')}"`) const instance = spawn( 'node', - [ - ...(options.nodeArgs || []), - '-r', - require.resolve('./mocks-require-hook'), - '--no-deprecation', - nextBin, - ...argv, - ], + [...(options.nodeArgs || []), '--no-deprecation', nextBin, ...argv], { ...options.spawnOptions, cwd, @@ -354,14 +341,7 @@ export function runNextCommandDev( return new Promise((resolve, reject) => { const instance = spawn( 'node', - [ - ...nodeArgs, - '-r', - require.resolve('./mocks-require-hook'), - '--no-deprecation', - nextBin, - ...argv, - ], + [...nodeArgs, '--no-deprecation', nextBin, ...argv], { cwd, env, @@ -1062,7 +1042,7 @@ export async function getRedboxComponentStack( */ export const describeVariants = { each(variants: TestVariants[]) { - return (name: string, fn: (...args: TestVariants[]) => any) => { + return (name: string, fn: (variants: TestVariants) => any) => { if ( !Array.isArray(variants) || !variants.every((val) => typeof val === 'string') diff --git a/test/production/app-dir/unexpected-error/app/isr-unexpected-error/page.tsx b/test/production/app-dir/unexpected-error/app/isr-unexpected-error/page.tsx new file mode 100644 index 0000000000000..f0b8eadf5127e --- /dev/null +++ b/test/production/app-dir/unexpected-error/app/isr-unexpected-error/page.tsx @@ -0,0 +1,9 @@ +export const revalidate = 1 + +export default function UnexpectedErrorPage(props) { + // use query param to only throw error during runtime, not build time + if (props.searchParams.error) { + throw new Error('Oh no') + } + return

/unexpected-error

+} diff --git a/test/production/app-dir/unexpected-error/app/layout.tsx b/test/production/app-dir/unexpected-error/app/layout.tsx new file mode 100644 index 0000000000000..e7077399c03ce --- /dev/null +++ b/test/production/app-dir/unexpected-error/app/layout.tsx @@ -0,0 +1,7 @@ +export default function Root({ children }: { children: React.ReactNode }) { + return ( + + {children} + + ) +} diff --git a/test/production/app-dir/unexpected-error/app/ssr-unexpected-error-after-streaming/loading.tsx b/test/production/app-dir/unexpected-error/app/ssr-unexpected-error-after-streaming/loading.tsx new file mode 100644 index 0000000000000..f39d065ff791e --- /dev/null +++ b/test/production/app-dir/unexpected-error/app/ssr-unexpected-error-after-streaming/loading.tsx @@ -0,0 +1,3 @@ +export default function Loading() { + return

loading

+} diff --git a/test/production/app-dir/unexpected-error/app/ssr-unexpected-error-after-streaming/page.tsx b/test/production/app-dir/unexpected-error/app/ssr-unexpected-error-after-streaming/page.tsx new file mode 100644 index 0000000000000..615a7bfb5bc8d --- /dev/null +++ b/test/production/app-dir/unexpected-error/app/ssr-unexpected-error-after-streaming/page.tsx @@ -0,0 +1,7 @@ +export default function UnexpectedErrorPage(props) { + // use query param to only throw error during runtime, not build time + if (props.searchParams.error) { + throw new Error('Oh no') + } + return

/unexpected-error

+} diff --git a/test/production/app-dir/unexpected-error/app/ssr-unexpected-error/page.tsx b/test/production/app-dir/unexpected-error/app/ssr-unexpected-error/page.tsx new file mode 100644 index 0000000000000..615a7bfb5bc8d --- /dev/null +++ b/test/production/app-dir/unexpected-error/app/ssr-unexpected-error/page.tsx @@ -0,0 +1,7 @@ +export default function UnexpectedErrorPage(props) { + // use query param to only throw error during runtime, not build time + if (props.searchParams.error) { + throw new Error('Oh no') + } + return

/unexpected-error

+} diff --git a/test/production/app-dir/unexpected-error/next.config.js b/test/production/app-dir/unexpected-error/next.config.js new file mode 100644 index 0000000000000..807126e4cf0bf --- /dev/null +++ b/test/production/app-dir/unexpected-error/next.config.js @@ -0,0 +1,6 @@ +/** + * @type {import('next').NextConfig} + */ +const nextConfig = {} + +module.exports = nextConfig diff --git a/test/production/app-dir/unexpected-error/unexpected-error.test.ts b/test/production/app-dir/unexpected-error/unexpected-error.test.ts new file mode 100644 index 0000000000000..7a293c3aff010 --- /dev/null +++ b/test/production/app-dir/unexpected-error/unexpected-error.test.ts @@ -0,0 +1,26 @@ +import { createNextDescribe } from 'e2e-utils' + +createNextDescribe( + 'unexpected-error', + { + files: __dirname, + }, + ({ next }) => { + it('should set response status to 500 for unexpected errors in ssr app route', async () => { + const res = await next.fetch('/ssr-unexpected-error?error=true') + expect(res.status).toBe(500) + }) + + it('cannot change response status when streaming has started', async () => { + const res = await next.fetch( + '/ssr-unexpected-error-after-streaming?error=true' + ) + expect(res.status).toBe(200) + }) + + it('should set response status to 500 for unexpected errors in isr app route', async () => { + const res = await next.fetch('/isr-unexpected-error?error=true') + expect(res.status).toBe(500) + }) + } +) diff --git a/test/production/app-dir/worker-restart/worker-restart.test.ts b/test/production/app-dir/worker-restart/worker-restart.test.ts index 39eeb6e6ad7c1..88daa8ef48509 100644 --- a/test/production/app-dir/worker-restart/worker-restart.test.ts +++ b/test/production/app-dir/worker-restart/worker-restart.test.ts @@ -8,6 +8,12 @@ describe('worker-restart', () => { }) const output = stdout + stderr + expect(output).toContain( + 'Sending SIGTERM signal to static worker due to timeout of 10 seconds. Subsequent errors may be a result of the worker exiting.' + ) + expect(output).toContain( + 'Static worker exited with code: null and signal: SIGTERM' + ) expect(output).toContain( 'Restarted static page generation for /bad-page because it took more than 10 seconds' ) diff --git a/test/production/standalone-mode/required-server-files/middleware.js b/test/production/standalone-mode/required-server-files/middleware.js index 2261c0991b410..11afc796bf877 100644 --- a/test/production/standalone-mode/required-server-files/middleware.js +++ b/test/production/standalone-mode/required-server-files/middleware.js @@ -1,4 +1,5 @@ -import { ImageResponse, NextResponse } from 'next/server' +import { NextResponse } from 'next/server' +import { ImageResponse } from 'next/og' export async function middleware(req) { console.log('middleware', req.url) diff --git a/test/turbopack-tests-manifest.json b/test/turbopack-tests-manifest.json index 9acc60dc3e211..39be66f58d980 100644 --- a/test/turbopack-tests-manifest.json +++ b/test/turbopack-tests-manifest.json @@ -892,9 +892,10 @@ "runtimeError": false }, "test/development/acceptance-app/ReactRefreshRegression.test.ts": { - "passed": [], + "passed": [ + "ReactRefreshRegression app can fast refresh a page with static generation" + ], "failed": [ - "ReactRefreshRegression app can fast refresh a page with static generation", "ReactRefreshRegression app custom loader mdx should have Fast Refresh enabled", "ReactRefreshRegression app shows an overlay for anonymous function server-side error", "ReactRefreshRegression app shows an overlay for server-side error in client component", @@ -2214,12 +2215,12 @@ "test/e2e/app-dir/app-basepath/index.test.ts": { "passed": [ "app dir - basepath should prefix redirect() with basePath", + "app dir - basepath should render usePathname without the basePath", "app dir - basepath should support Link with basePath prefixed", "app dir - basepath should support `basePath`" ], "failed": [ - "app dir - basepath should prefix metadata og image with basePath", - "app dir - basepath should render usePathname without the basePath" + "app dir - basepath should prefix metadata og image with basePath" ], "pending": [], "flakey": [], @@ -2373,13 +2374,9 @@ "runtimeError": false }, "test/e2e/app-dir/app-middleware/app-middleware.test.ts": { - "passed": ["app dir - middleware without pages dir Updates headers"], - "failed": [ - "app dir - middleware with middleware in src dir works without crashing when using requestAsyncStorage", - "app-dir with middleware Mutate request headers for Edge Functions Adds new headers", - "app-dir with middleware Mutate request headers for Edge Functions Deletes headers", + "passed": [ + "app dir - middleware without pages dir Updates headers", "app-dir with middleware Mutate request headers for Edge Functions Supports draft mode", - "app-dir with middleware Mutate request headers for Edge Functions Updates headers", "app-dir with middleware Mutate request headers for Serverless Functions Adds new headers", "app-dir with middleware Mutate request headers for Serverless Functions Deletes headers", "app-dir with middleware Mutate request headers for Serverless Functions Supports draft mode", @@ -2390,6 +2387,12 @@ "app-dir with middleware Mutate request headers for next/headers Updates headers", "app-dir with middleware should filter correctly after middleware rewrite" ], + "failed": [ + "app dir - middleware with middleware in src dir works without crashing when using requestAsyncStorage", + "app-dir with middleware Mutate request headers for Edge Functions Adds new headers", + "app-dir with middleware Mutate request headers for Edge Functions Deletes headers", + "app-dir with middleware Mutate request headers for Edge Functions Updates headers" + ], "pending": [], "flakey": [], "runtimeError": false @@ -2764,10 +2767,18 @@ "test/e2e/app-dir/app/index.test.ts": { "passed": [ "app dir - basic should allow linking from app page to pages page", + "app dir - basic should be soft for back navigation", + "app dir - basic should be soft for forward navigation", + "app dir - basic should hard push", + "app dir - basic should hard replace", "app dir - basic should navigate to pages dynamic route from pages page if it overlaps with an app page", "app dir - basic should push to external url", "app dir - basic should replace to external url", + "app dir - basic should soft push", + "app dir - basic HMR should HMR correctly for client component", + "app dir - basic HMR should HMR correctly for server component", "app dir - basic bootstrap scripts should only bootstrap with one script, prinitializing the rest", + "app dir - basic bootstrap scripts should successfully bootstrap even when using CSP", "app dir - basic data fetch with response over 16KB with chunked encoding should load page when fetching a large amount of data", "app dir - basic error component should display error digest for error in server component with default error boundary", "app dir - basic error component should trigger error component when an error happens during rendering", @@ -2839,14 +2850,6 @@ "app dir - basic template component should render the template that holds state in a client component and reset on navigation" ], "failed": [ - "app dir - basic should be soft for back navigation", - "app dir - basic should be soft for forward navigation", - "app dir - basic should hard push", - "app dir - basic should hard replace", - "app dir - basic should soft push", - "app dir - basic HMR should HMR correctly for client component", - "app dir - basic HMR should HMR correctly for server component", - "app dir - basic bootstrap scripts should fail to bootstrap when using CSP in Dev due to eval", "app dir - basic rewrites should support rewrites on client-side navigation", "app dir - basic rewrites should support rewrites on client-side navigation from pages to app with existing pages path", "app dir - basic rewrites should support rewrites on initial load", @@ -3331,6 +3334,9 @@ "app dir - metadata basic should support title template", "app dir - metadata basic should support verification tags", "app dir - metadata basic should use parent layout title when no title is defined in page", + "app dir - metadata file based icons should handle updates to the file icon name and order", + "app dir - metadata file based icons should not render if image file is not specified", + "app dir - metadata file based icons should render icon and apple touch icon meta if their images are specified", "app dir - metadata icons should merge icons from layout if no static icons files are specified", "app dir - metadata icons should not hoist meta[itemProp] to head", "app dir - metadata icons should support basic complex descriptor icons field", @@ -3345,6 +3351,7 @@ "app dir - metadata react cache should have same title and page value when navigating", "app dir - metadata should not effect metadata images convention like files under pages directory", "app dir - metadata static routes should have /favicon.ico as route", + "app dir - metadata static routes should have icons as route", "app dir - metadata static routes should support sitemap.xml under every routes", "app dir - metadata static routes should support static manifest.webmanifest", "app dir - metadata twitter should render twitter card summary when image is not present", @@ -3354,13 +3361,9 @@ ], "failed": [ "app dir - metadata basic should support other basic tags (edge)", - "app dir - metadata file based icons should handle hmr updates to the file icon", - "app dir - metadata file based icons should not render if image file is not specified", - "app dir - metadata file based icons should render icon and apple touch icon meta if their images are specified", "app dir - metadata icons should support root level of favicon.ico", "app dir - metadata navigation should render root not-found with default metadata", "app dir - metadata opengraph should pick up opengraph-image and twitter-image as static metadata files", - "app dir - metadata static routes should have icons as route", "app dir - metadata static routes should support root dir robots.txt" ], "pending": [], @@ -3391,6 +3394,7 @@ "app dir - navigation not-found should trigger not-found while streaming", "app dir - navigation query string should handle unicode search params", "app dir - navigation query string should set query correctly", + "app dir - navigation query string useParams identity between renders should be stable in app", "app dir - navigation redirect components should redirect client-side", "app dir - navigation redirect components should redirect in a client component", "app dir - navigation redirect components should redirect in a server component", @@ -3408,7 +3412,9 @@ "app dir - navigation relative hashes and queries should work with a query-only href", "app dir - navigation relative hashes and queries should work with both relative hashes and queries" ], - "failed": [], + "failed": [ + "app dir - navigation query string useParams identity between renders should be stable in pages" + ], "pending": [], "flakey": [], "runtimeError": false @@ -3898,6 +3904,13 @@ "flakey": [], "runtimeError": false }, + "test/e2e/app-dir/x-forwarded-headers/x-forwarded-headers.test.ts": { + "passed": ["x-forwarded-headers should include x-forwarded-* headers"], + "failed": [], + "pending": [], + "flakey": [], + "runtimeError": false + }, "test/e2e/basepath-trailing-slash.test.ts": { "passed": [ "basePath + trailingSlash should allow URL query strings on index without refresh", @@ -4716,6 +4729,7 @@ }, "test/e2e/middleware-general/test/index.test.ts": { "passed": [ + "Middleware Runtime with i18n allows shallow linking with middleware", "Middleware Runtime with i18n allows to access env variables", "Middleware Runtime with i18n hard-navigates when the data request failed", "Middleware Runtime with i18n should accept a URL instance for fetch", @@ -4727,6 +4741,9 @@ "Middleware Runtime with i18n should have correct dynamic route params for middleware rewrite to dynamic route", "Middleware Runtime with i18n should have correct dynamic route params on client-transition to dynamic route", "Middleware Runtime with i18n should have correct query values for rewrite to ssg page", + "Middleware Runtime with i18n should have correct route params for chained rewrite from middleware to config rewrite", + "Middleware Runtime with i18n should have correct route params for rewrite from config dynamic route", + "Middleware Runtime with i18n should have correct route params for rewrite from config non-dynamic route", "Middleware Runtime with i18n should have init header for NextResponse.redirect", "Middleware Runtime with i18n should keep non data requests in their original shape", "Middleware Runtime with i18n should normalize data requests into page requests", @@ -4748,6 +4765,7 @@ "Middleware Runtime with i18n should warn when using NextResponse.redirect with a relative URL", "Middleware Runtime with i18n should warn when using Response.redirect with a relative URL", "Middleware Runtime with i18n should work with notFound: true correctly", + "Middleware Runtime without i18n allows shallow linking with middleware", "Middleware Runtime without i18n allows to access env variables", "Middleware Runtime without i18n hard-navigates when the data request failed", "Middleware Runtime without i18n should accept a URL instance for fetch", @@ -4759,6 +4777,9 @@ "Middleware Runtime without i18n should have correct dynamic route params for middleware rewrite to dynamic route", "Middleware Runtime without i18n should have correct dynamic route params on client-transition to dynamic route", "Middleware Runtime without i18n should have correct query values for rewrite to ssg page", + "Middleware Runtime without i18n should have correct route params for chained rewrite from middleware to config rewrite", + "Middleware Runtime without i18n should have correct route params for rewrite from config dynamic route", + "Middleware Runtime without i18n should have correct route params for rewrite from config non-dynamic route", "Middleware Runtime without i18n should keep non data requests in their original shape", "Middleware Runtime without i18n should normalize data requests into page requests", "Middleware Runtime without i18n should only contain middleware route in dev middleware manifest", @@ -4779,18 +4800,10 @@ "Middleware Runtime without i18n should work with notFound: true correctly" ], "failed": [ - "Middleware Runtime with i18n allows shallow linking with middleware", "Middleware Runtime with i18n passes search params with rewrites", "Middleware Runtime with i18n refreshes the page when middleware changes ", - "Middleware Runtime with i18n should have correct route params for chained rewrite from middleware to config rewrite", - "Middleware Runtime with i18n should have correct route params for rewrite from config dynamic route", - "Middleware Runtime with i18n should have correct route params for rewrite from config non-dynamic route", - "Middleware Runtime without i18n allows shallow linking with middleware", "Middleware Runtime without i18n passes search params with rewrites", "Middleware Runtime without i18n refreshes the page when middleware changes ", - "Middleware Runtime without i18n should have correct route params for chained rewrite from middleware to config rewrite", - "Middleware Runtime without i18n should have correct route params for rewrite from config dynamic route", - "Middleware Runtime without i18n should have correct route params for rewrite from config non-dynamic route", "Middleware Runtime without i18n should have init header for NextResponse.redirect" ], "pending": [], @@ -4927,6 +4940,8 @@ "Middleware Rewrite should add a cookie and rewrite to a/b test", "Middleware Rewrite should allow to opt-out prefetch caching", "Middleware Rewrite should allow to rewrite keeping the locale in pathname", + "Middleware Rewrite should allow to rewrite to a `afterFiles` rewrite config", + "Middleware Rewrite should allow to rewrite to a `beforeFiles` rewrite config", "Middleware Rewrite should allow to rewrite to a different locale", "Middleware Rewrite should allow to switch locales", "Middleware Rewrite should behave consistently on recursive rewrites", @@ -4937,6 +4952,7 @@ "Middleware Rewrite should handle shallow navigation correctly (dynamic page)", "Middleware Rewrite should handle shallow navigation correctly (non-dynamic page)", "Middleware Rewrite should handle static dynamic rewrite from middleware correctly", + "Middleware Rewrite should handle static rewrite from next.config.js correctly", "Middleware Rewrite should hard navigate on 404 for data request", "Middleware Rewrite should have correct query info for dynamic route after query hydration", "Middleware Rewrite should not call middleware with shallow push", @@ -4958,11 +4974,7 @@ "Middleware Rewrite should rewrite without hard navigation", "Middleware Rewrite support colons in path" ], - "failed": [ - "Middleware Rewrite should allow to rewrite to a `afterFiles` rewrite config", - "Middleware Rewrite should allow to rewrite to a `beforeFiles` rewrite config", - "Middleware Rewrite should handle static rewrite from next.config.js correctly" - ], + "failed": [], "pending": [ "Middleware Rewrite includes the locale in rewrites by default" ], @@ -4980,9 +4992,14 @@ }, "test/e2e/middleware-trailing-slash/test/index.test.ts": { "passed": [ + "Middleware Runtime trailing slash allows shallow linking with middleware", "Middleware Runtime trailing slash should add a rewrite header on data requests for rewrites", "Middleware Runtime trailing slash should have correct dynamic route params for middleware rewrite to dynamic route", "Middleware Runtime trailing slash should have correct dynamic route params on client-transition to dynamic route", + "Middleware Runtime trailing slash should have correct route params for chained rewrite from middleware to config rewrite", + "Middleware Runtime trailing slash should have correct route params for rewrite from config dynamic route", + "Middleware Runtime trailing slash should have correct route params for rewrite from config non-dynamic route", + "Middleware Runtime trailing slash should have init header for NextResponse.redirect", "Middleware Runtime trailing slash should keep non data requests in their original shape", "Middleware Runtime trailing slash should normalize data requests into page requests", "Middleware Runtime trailing slash should redirect the same for direct visit and client-transition", @@ -4999,13 +5016,8 @@ "Middleware Runtime trailing slash without .html extension should work when requesting the page directly" ], "failed": [ - "Middleware Runtime trailing slash allows shallow linking with middleware", "Middleware Runtime trailing slash refreshes the page when middleware changes ", - "Middleware Runtime trailing slash should have correct query values for rewrite to ssg page", - "Middleware Runtime trailing slash should have correct route params for chained rewrite from middleware to config rewrite", - "Middleware Runtime trailing slash should have correct route params for rewrite from config dynamic route", - "Middleware Runtime trailing slash should have correct route params for rewrite from config non-dynamic route", - "Middleware Runtime trailing slash should have init header for NextResponse.redirect" + "Middleware Runtime trailing slash should have correct query values for rewrite to ssg page" ], "pending": [], "flakey": [], @@ -5350,6 +5362,7 @@ "Prerender should navigate to dynamic page with brackets in param as string", "Prerender should never show fallback for page not in getStaticPaths when blocking", "Prerender should not contain headers already sent error", + "Prerender should not error when rewriting to fallback dynamic SSG page", "Prerender should not fail to update incremental cache", "Prerender should not fallback before invalid JSON is returned from getStaticProps when blocking fallback", "Prerender should not have attempted sending invalid payload", @@ -5384,9 +5397,7 @@ "Prerender should support prerendered catchall-explicit route (nested)", "Prerender should support prerendered catchall-explicit route (single)" ], - "failed": [ - "Prerender should not error when rewriting to fallback dynamic SSG page" - ], + "failed": [], "pending": [], "flakey": [], "runtimeError": false @@ -7167,13 +7178,12 @@ }, "test/integration/custom-routes-i18n/test/index.test.js": { "passed": [ + "Custom routes i18n dev mode should navigate on the client with rewrites correctly", "Custom routes i18n dev mode should respond to default locale redirects correctly", "Custom routes i18n dev mode should rewrite correctly", "Custom routes i18n dev mode should rewrite index routes correctly" ], - "failed": [ - "Custom routes i18n dev mode should navigate on the client with rewrites correctly" - ], + "failed": [], "pending": [ "Custom routes i18n production mode should navigate on the client with rewrites correctly", "Custom routes i18n production mode should respond to default locale redirects correctly", @@ -7199,6 +7209,8 @@ "Custom routes dev mode should handle api rewrite with param successfully", "Custom routes dev mode should handle api rewrite with un-named param successfully", "Custom routes dev mode should handle basic api rewrite successfully", + "Custom routes dev mode should handle beforeFiles rewrite to dynamic route correctly", + "Custom routes dev mode should handle beforeFiles rewrite to partly dynamic route correctly", "Custom routes dev mode should handle chained redirects successfully", "Custom routes dev mode should handle chained rewrites successfully", "Custom routes dev mode should handle encoded value in the pathname correctly", @@ -7235,6 +7247,7 @@ "Custom routes dev mode should match has query redirect correctly", "Custom routes dev mode should match has query redirect with duplicate query key", "Custom routes dev mode should match has query rewrite correctly", + "Custom routes dev mode should match has rewrite correctly before files", "Custom routes dev mode should match missing cookie headers correctly", "Custom routes dev mode should match missing cookie redirect correctly", "Custom routes dev mode should match missing cookie rewrite correctly", @@ -7253,8 +7266,10 @@ "Custom routes dev mode should not pass non captured has value for rewrite correctly", "Custom routes dev mode should not rewrite for _next/data route when a match is found", "Custom routes dev mode should overwrite param values correctly", + "Custom routes dev mode should parse params correctly for rewrite to auto-export dynamic page", "Custom routes dev mode should pass captured has value for rewrite correctly", "Custom routes dev mode should pass has segment for rewrite correctly", + "Custom routes dev mode should provide params correctly for rewrite to auto-export non-dynamic page", "Custom routes dev mode should redirect successfully with catchall", "Custom routes dev mode should redirect successfully with permanent: false", "Custom routes dev mode should redirect successfully with provided statusCode", @@ -7262,6 +7277,7 @@ "Custom routes dev mode should redirect with URL in query correctly non-encoded", "Custom routes dev mode should redirect with hash successfully", "Custom routes dev mode should redirect with params successfully", + "Custom routes dev mode should resolveHref correctly navigating through history", "Custom routes dev mode should rewrite with params successfully", "Custom routes dev mode should server static files through a rewrite", "Custom routes dev mode should successfully rewrite a WebSocket request", @@ -7274,6 +7290,8 @@ "Custom routes dev mode should support unnamed parameters correctly", "Custom routes dev mode should work successfully on the client", "Custom routes dev mode should work with rewrite when manually specifying href/as", + "Custom routes dev mode should work with rewrite when only specifying href", + "Custom routes dev mode should work with rewrite when only specifying href and ends in dynamic route", "Custom routes dev mode show allow redirect to override the page", "Custom routes no-op rewrite should not error for no-op rewrite and auto export dynamic route", "Custom routes should load custom routes when only one type is used dev mode should work with just headers", @@ -7281,15 +7299,7 @@ "Custom routes should load custom routes when only one type is used dev mode should work with just rewrites" ], "failed": [ - "Custom routes dev mode should handle beforeFiles rewrite to dynamic route correctly", - "Custom routes dev mode should handle beforeFiles rewrite to partly dynamic route correctly", - "Custom routes dev mode should handle external beforeFiles rewrite correctly", - "Custom routes dev mode should match has rewrite correctly before files", - "Custom routes dev mode should parse params correctly for rewrite to auto-export dynamic page", - "Custom routes dev mode should provide params correctly for rewrite to auto-export non-dynamic page", - "Custom routes dev mode should resolveHref correctly navigating through history", - "Custom routes dev mode should work with rewrite when only specifying href", - "Custom routes dev mode should work with rewrite when only specifying href and ends in dynamic route" + "Custom routes dev mode should handle external beforeFiles rewrite correctly" ], "pending": [ "Custom routes export production mode should not show warning for custom routes when next export on Vercel", @@ -10243,11 +10253,10 @@ }, "test/integration/gssp-redirect-with-rewrites/test/index.test.js": { "passed": [ - "getServerSideProps redirects should fallback to browser navigation for an unknown URL" - ], - "failed": [ + "getServerSideProps redirects should fallback to browser navigation for an unknown URL", "getServerSideProps redirects should use a client-side navigation for a rewritten URL" ], + "failed": [], "pending": [], "flakey": [], "runtimeError": false @@ -10263,6 +10272,7 @@ "GS(S)P Redirect Support dev mode should apply redirect when fallback GSP page is visited directly (external domain)", "GS(S)P Redirect Support dev mode should apply redirect when fallback GSP page is visited directly (external)", "GS(S)P Redirect Support dev mode should apply redirect when fallback GSP page is visited directly (internal dynamic)", + "GS(S)P Redirect Support dev mode should apply redirect when fallback GSP page is visited directly (internal normal)", "GS(S)P Redirect Support dev mode should apply redirect when fallback GSSP page is visited directly (external domain)", "GS(S)P Redirect Support dev mode should apply redirect when fallback blocking GSP page is visited directly (internal dynamic)", "GS(S)P Redirect Support dev mode should apply redirect when fallback blocking GSP page is visited directly (internal dynamic) second visit", @@ -10276,9 +10286,7 @@ "GS(S)P Redirect Support dev mode should not replace history of the origin page when GSSP page is navigated to client-side (external)", "GS(S)P Redirect Support dev mode should not replace history of the origin page when GSSP page is navigated to client-side (internal normal)" ], - "failed": [ - "GS(S)P Redirect Support dev mode should apply redirect when fallback GSP page is visited directly (internal normal)" - ], + "failed": [], "pending": [ "GS(S)P Redirect Support production mode should apply permanent redirect when visited directly for GSSP page", "GS(S)P Redirect Support production mode should apply redirect when GSP page is navigated to client-side (external)", @@ -10609,11 +10617,10 @@ }, "test/integration/i18n-support-index-rewrite/test/index.test.js": { "passed": [ + "Custom routes i18n support index rewrite dev mode should handle index rewrite on client correctly", "Custom routes i18n support index rewrite dev mode should rewrite index route correctly" ], - "failed": [ - "Custom routes i18n support index rewrite dev mode should handle index rewrite on client correctly" - ], + "failed": [], "pending": [ "Custom routes i18n support index rewrite production mode should handle index rewrite on client correctly", "Custom routes i18n support index rewrite production mode should rewrite index route correctly" @@ -13669,10 +13676,10 @@ "runtimeError": false }, "test/integration/rewrite-with-browser-history/test/index.test.js": { - "passed": [], - "failed": [ + "passed": [ "rewrites persist with browser history actions dev mode back-button should go back to rewritten path successfully" ], + "failed": [], "pending": [ "rewrites persist with browser history actions production mode back-button should go back to rewritten path successfully" ], @@ -13710,11 +13717,11 @@ "runtimeError": false }, "test/integration/rewrites-has-condition/test/index.test.js": { - "passed": [], - "failed": [ + "passed": [ "rewrites has condition dev mode should navigate to a has rewrite without error", "rewrites has condition dev mode should navigate to a simple rewrite without error" ], + "failed": [], "pending": [ "rewrites has condition production mode should navigate to a has rewrite without error", "rewrites has condition production mode should navigate to a simple rewrite without error" @@ -13723,11 +13730,11 @@ "runtimeError": false }, "test/integration/rewrites-manual-href-as/test/index.test.js": { - "passed": [], - "failed": [ + "passed": [ "rewrites manual href/as dev mode should allow manual href/as on dynamic page", "rewrites manual href/as dev mode should allow manual href/as on index page" ], + "failed": [], "pending": [ "rewrites manual href/as production mode should allow manual href/as on dynamic page", "rewrites manual href/as production mode should allow manual href/as on index page" @@ -13945,22 +13952,22 @@ }, "test/integration/scroll-back-restoration/test/index.test.js": { "passed": [ - "Scroll Restoration Support dev mode should restore the scroll position on navigating back" + "Scroll Back Restoration Support dev mode should restore the scroll position on navigating back" ], "failed": [], "pending": [ - "Scroll Restoration Support production mode should restore the scroll position on navigating back" + "Scroll Back Restoration Support production mode should restore the scroll position on navigating back" ], "flakey": [], "runtimeError": false }, "test/integration/scroll-forward-restoration/test/index.test.js": { - "passed": [], - "failed": [ - "Scroll Restoration Support dev mode should restore the scroll position on navigating forward" + "passed": [ + "Scroll Forward Restoration Support dev mode should restore the scroll position on navigating forward" ], + "failed": [], "pending": [ - "Scroll Restoration Support production mode should restore the scroll position on navigating forward" + "Scroll Forward Restoration Support production mode should restore the scroll position on navigating forward" ], "flakey": [], "runtimeError": false diff --git a/test/unit/babel-plugin-next-ssg-transform.test.ts b/test/unit/babel-plugin-next-ssg-transform.test.ts index 435e5ff2406b6..9ff0aeacf0126 100644 --- a/test/unit/babel-plugin-next-ssg-transform.test.ts +++ b/test/unit/babel-plugin-next-ssg-transform.test.ts @@ -36,7 +36,7 @@ describe('babel plugin (next-ssg-transform)', () => { } `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -49,7 +49,7 @@ describe('babel plugin (next-ssg-transform)', () => { } `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -62,7 +62,7 @@ describe('babel plugin (next-ssg-transform)', () => { } `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export{foo,bar as baz}from'.';export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export{foo,bar as baz}from'.';export default function Test(){return __jsx("div",null);}"` ) }) @@ -82,7 +82,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -102,7 +102,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -120,7 +120,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export function Noop(){}export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export function Noop(){}export default function Test(){return __jsx("div",null);}"` ) }) @@ -140,7 +140,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -160,7 +160,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -180,7 +180,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export const foo=2;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export const foo=2;export default function Test(){return __jsx("div",null);}"` ) }) @@ -198,7 +198,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -216,7 +216,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"const a=2;export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"const a=2;export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -234,7 +234,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -254,7 +254,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export class MyClass{}export default function Test(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export class MyClass{}export default function Test(){return __jsx("div",null);}"` ) }) @@ -301,7 +301,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"import keep_me from'hello';import{keep_me2}from'hello2';import*as keep_me3 from'hello3';import{but_not_me}from'bar';var leave_me_alone=1;function dont_bug_me_either(){}export var __N_SSG=true;export default function Test(){return __jsx(\\"div\\",null);}"` + `"import keep_me from'hello';import{keep_me2}from'hello2';import*as keep_me3 from'hello3';import{but_not_me}from'bar';var leave_me_alone=1;function dont_bug_me_either(){}export var __N_SSG=true;export default function Test(){return __jsx("div",null);}"` ) }) @@ -342,7 +342,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default class Test extends React.Component{render(){return __jsx(\\"div\\",null);}}"` + `"export var __N_SSG=true;export default class Test extends React.Component{render(){return __jsx("div",null);}}"` ) }) @@ -362,7 +362,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"class Test extends React.Component{render(){return __jsx(\\"div\\",null);}}export var __N_SSG=true;export default Test;"` + `"class Test extends React.Component{render(){return __jsx("div",null);}}export var __N_SSG=true;export default Test;"` ) }) @@ -380,7 +380,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"function El(){return __jsx(\\"div\\",null);}export var __N_SSG=true;export{El as default};"` + `"function El(){return __jsx("div",null);}export var __N_SSG=true;export{El as default};"` ) }) @@ -400,7 +400,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"function El(){return __jsx(\\"div\\",null);}const a=5;export var __N_SSG=true;export{El as default,a};"` + `"function El(){return __jsx("div",null);}const a=5;export var __N_SSG=true;export{El as default,a};"` ) }) @@ -422,7 +422,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"class El extends React.Component{render(){return __jsx(\\"div\\",null);}}const a=5;export var __N_SSG=true;export{El as default,a};"` + `"class El extends React.Component{render(){return __jsx("div",null);}}const a=5;export var __N_SSG=true;export{El as default,a};"` ) }) @@ -449,7 +449,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"export var __N_SSG=true;export default function Home(){return __jsx(\\"div\\",null);}"` + `"export var __N_SSG=true;export default function Home(){return __jsx("div",null);}"` ) }) @@ -473,7 +473,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"import other from'other';const{a,cat:bar}=other;export var __N_SSG=true;export default function Home(){return __jsx(\\"div\\",null);}"` + `"import other from'other';const{a,cat:bar}=other;export var __N_SSG=true;export default function Home(){return __jsx("div",null);}"` ) }) @@ -495,7 +495,7 @@ describe('babel plugin (next-ssg-transform)', () => { `) expect(output).toMatchInlineSnapshot( - `"import other from'other';const[foo]=other;export var __N_SSG=true;export default function Home(){return __jsx(\\"div\\",null);}"` + `"import other from'other';const[foo]=other;export var __N_SSG=true;export default function Home(){return __jsx("div",null);}"` ) }) diff --git a/test/unit/is-serializable-props.test.ts b/test/unit/is-serializable-props.test.ts index 4ff2b8e640f84..adb4e9e6bd2c2 100644 --- a/test/unit/is-serializable-props.test.ts +++ b/test/unit/is-serializable-props.test.ts @@ -5,13 +5,13 @@ describe('isSerializableProps', () => { it('handles null and undefined props', () => { expect(() => isSerializableProps('/', 'test', null)) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing props returned from \`test\` in \\"/\\". + "Error serializing props returned from \`test\` in "/". Reason: Props must be returned as a plain object from test: \`{ props: { ... } }\` (received: \`[object Null]\`)." `) expect(() => isSerializableProps('/', 'test', undefined)) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing props returned from \`test\` in \\"/\\". + "Error serializing props returned from \`test\` in "/". Reason: Props must be returned as a plain object from test: \`{ props: { ... } }\` (received: \`[object Undefined]\`)." `) }) @@ -19,19 +19,19 @@ describe('isSerializableProps', () => { it('handles non-plain object props', () => { expect(() => isSerializableProps('/', 'test', [])) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing props returned from \`test\` in \\"/\\". + "Error serializing props returned from \`test\` in "/". Reason: Props must be returned as a plain object from test: \`{ props: { ... } }\` (received: \`[object Array]\`)." `) expect(() => isSerializableProps('/', 'test', class Foobar {})) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing props returned from \`test\` in \\"/\\". + "Error serializing props returned from \`test\` in "/". Reason: Props must be returned as a plain object from test: \`{ props: { ... } }\` (received: \`[object Function]\`)." `) expect(() => isSerializableProps('/', 'test', function Foobar() {})) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing props returned from \`test\` in \\"/\\". + "Error serializing props returned from \`test\` in "/". Reason: Props must be returned as a plain object from test: \`{ props: { ... } }\` (received: \`[object Function]\`)." `) }) @@ -108,32 +108,32 @@ describe('isSerializableProps', () => { it('disallows top-level non-serializable types', () => { expect(() => isSerializableProps('/', 'test', { toplevel: new Date() })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.toplevel\` returned from \`test\` in \\"/\\". - Reason: \`object\` (\\"[object Date]\\") cannot be serialized as JSON. Please only return JSON serializable data types." + "Error serializing \`.toplevel\` returned from \`test\` in "/". + Reason: \`object\` ("[object Date]") cannot be serialized as JSON. Please only return JSON serializable data types." `) expect(() => isSerializableProps('/', 'test', { toplevel: class A {} })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.toplevel\` returned from \`test\` in \\"/\\". + "Error serializing \`.toplevel\` returned from \`test\` in "/". Reason: \`function\` cannot be serialized as JSON. Please only return JSON serializable data types." `) expect(() => isSerializableProps('/', 'test', { toplevel: undefined })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.toplevel\` returned from \`test\` in \\"/\\". + "Error serializing \`.toplevel\` returned from \`test\` in "/". Reason: \`undefined\` cannot be serialized as JSON. Please use \`null\` or omit this value." `) expect(() => isSerializableProps('/', 'test', { toplevel: Symbol('FOOBAR') }) ).toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.toplevel\` returned from \`test\` in \\"/\\". + "Error serializing \`.toplevel\` returned from \`test\` in "/". Reason: \`symbol\` cannot be serialized as JSON. Please only return JSON serializable data types." `) expect(() => isSerializableProps('/', 'test', { toplevel: function () {} })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.toplevel\` returned from \`test\` in \\"/\\". + "Error serializing \`.toplevel\` returned from \`test\` in "/". Reason: \`function\` cannot be serialized as JSON. Please only return JSON serializable data types." `) }) @@ -142,34 +142,34 @@ describe('isSerializableProps', () => { expect(() => isSerializableProps('/', 'test', { k: { a: [1, { n: new Date() }] } }) ).toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k.a[1].n\` returned from \`test\` in \\"/\\". - Reason: \`object\` (\\"[object Date]\\") cannot be serialized as JSON. Please only return JSON serializable data types." + "Error serializing \`.k.a[1].n\` returned from \`test\` in "/". + Reason: \`object\` ("[object Date]") cannot be serialized as JSON. Please only return JSON serializable data types." `) expect(() => isSerializableProps('/', 'test', { k: { a: [1, { n: class A {} }] } }) ).toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k.a[1].n\` returned from \`test\` in \\"/\\". + "Error serializing \`.k.a[1].n\` returned from \`test\` in "/". Reason: \`function\` cannot be serialized as JSON. Please only return JSON serializable data types." `) expect(() => isSerializableProps('/', 'test', { k: { a: [1, undefined] } })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k.a[1]\` returned from \`test\` in \\"/\\". + "Error serializing \`.k.a[1]\` returned from \`test\` in "/". Reason: \`undefined\` cannot be serialized as JSON. Please use \`null\` or omit this value." `) expect(() => isSerializableProps('/', 'test', { k: { n: Symbol('FOOBAR') } }) ).toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k.n\` returned from \`test\` in \\"/\\". + "Error serializing \`.k.n\` returned from \`test\` in "/". Reason: \`symbol\` cannot be serialized as JSON. Please only return JSON serializable data types." `) expect(() => isSerializableProps('/', 'test', { k: { a: [function () {}] } }) ).toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k.a[0]\` returned from \`test\` in \\"/\\". + "Error serializing \`.k.a[0]\` returned from \`test\` in "/". Reason: \`function\` cannot be serialized as JSON. Please only return JSON serializable data types." `) }) @@ -180,13 +180,13 @@ describe('isSerializableProps', () => { expect(() => isSerializableProps('/', 'test', obj)) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.child\` returned from \`test\` in \\"/\\". + "Error serializing \`.child\` returned from \`test\` in "/". Reason: Circular references cannot be expressed in JSON (references: \`(self)\`)." `) expect(() => isSerializableProps('/', 'test', { k: [obj] })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k[0].child\` returned from \`test\` in \\"/\\". + "Error serializing \`.k[0].child\` returned from \`test\` in "/". Reason: Circular references cannot be expressed in JSON (references: \`.k[0]\`)." `) }) @@ -197,13 +197,13 @@ describe('isSerializableProps', () => { expect(() => isSerializableProps('/', 'test', { arr })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.arr[2]\` returned from \`test\` in \\"/\\". + "Error serializing \`.arr[2]\` returned from \`test\` in "/". Reason: Circular references cannot be expressed in JSON (references: \`.arr\`)." `) expect(() => isSerializableProps('/', 'test', { k: [{ arr }] })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k[0].arr[2]\` returned from \`test\` in \\"/\\". + "Error serializing \`.k[0].arr[2]\` returned from \`test\` in "/". Reason: Circular references cannot be expressed in JSON (references: \`.k[0].arr\`)." `) }) @@ -214,7 +214,7 @@ describe('isSerializableProps', () => { expect(() => isSerializableProps('/', 'test', obj)) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.leve1.level2.child\` returned from \`test\` in \\"/\\". + "Error serializing \`.leve1.level2.child\` returned from \`test\` in "/". Reason: Circular references cannot be expressed in JSON (references: \`(self)\`)." `) }) @@ -225,7 +225,7 @@ describe('isSerializableProps', () => { expect(() => isSerializableProps('/', 'test', obj)) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.leve1.level2.child[0].another[0]\` returned from \`test\` in \\"/\\". + "Error serializing \`.leve1.level2.child[0].another[0]\` returned from \`test\` in "/". Reason: Circular references cannot be expressed in JSON (references: \`(self)\`)." `) }) @@ -236,7 +236,7 @@ describe('isSerializableProps', () => { expect(() => isSerializableProps('/', 'test', { k: arr })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k[3][1][2]\` returned from \`test\` in \\"/\\". + "Error serializing \`.k[3][1][2]\` returned from \`test\` in "/". Reason: Circular references cannot be expressed in JSON (references: \`.k\`)." `) }) @@ -247,7 +247,7 @@ describe('isSerializableProps', () => { expect(() => isSerializableProps('/', 'test', { k: arr })) .toThrowErrorMatchingInlineSnapshot(` - "Error serializing \`.k[3][1].nested[2]\` returned from \`test\` in \\"/\\". + "Error serializing \`.k[3][1].nested[2]\` returned from \`test\` in "/". Reason: Circular references cannot be expressed in JSON (references: \`.k\`)." `) }) diff --git a/test/unit/link-rendering.test.ts b/test/unit/link-rendering.test.ts index 0af74027480ac..448a46d7068b3 100644 --- a/test/unit/link-rendering.test.ts +++ b/test/unit/link-rendering.test.ts @@ -14,7 +14,7 @@ describe('Link rendering', () => { ) const html = ReactDOM.renderToString(element) expect(html).toMatchInlineSnapshot( - `"
to another page"` + `"to another page"` ) }) }) diff --git a/test/unit/next-babel-loader-dev.test.ts b/test/unit/next-babel-loader-dev.test.ts index 72174f1c435c4..6f6b1b6a34312 100644 --- a/test/unit/next-babel-loader-dev.test.ts +++ b/test/unit/next-babel-loader-dev.test.ts @@ -58,7 +58,7 @@ describe('next-babel-loader', () => { const code = await babel(`process.env.NODE_ENV`, { isServer: false, }) - expect(code).toMatchInlineSnapshot(`"\\"development\\";"`) + expect(code).toMatchInlineSnapshot(`""development";"`) }) it('should replace NODE_ENV in statement (dev)', async () => { diff --git a/test/unit/next-babel-loader-prod.test.ts b/test/unit/next-babel-loader-prod.test.ts index 02c6f8ad3bbef..0cc2f30e0bb49 100644 --- a/test/unit/next-babel-loader-prod.test.ts +++ b/test/unit/next-babel-loader-prod.test.ts @@ -58,18 +58,18 @@ describe('next-babel-loader', () => { it('should replace typeof window expression nested', async () => { const code = await babel('function a(){console.log(typeof window)}') expect(code).toMatchInlineSnapshot( - `"function a() { console.log(\\"object\\");}"` + `"function a() { console.log("object");}"` ) }) it('should replace typeof window expression top level (client)', async () => { const code = await babel('typeof window;') - expect(code).toMatchInlineSnapshot(`"\\"object\\";"`) + expect(code).toMatchInlineSnapshot(`""object";"`) }) it('should replace typeof window expression top level (server)', async () => { const code = await babel('typeof window;', { isServer: true }) - expect(code).toMatchInlineSnapshot(`"\\"undefined\\";"`) + expect(code).toMatchInlineSnapshot(`""undefined";"`) }) it('should replace typeof window in === expression nested', async () => { @@ -154,14 +154,14 @@ describe('next-babel-loader', () => { const code = await babel(`process.env.NODE_ENV`, { isServer: false, }) - expect(code).toMatchInlineSnapshot(`"\\"production\\";"`) + expect(code).toMatchInlineSnapshot(`""production";"`) }) it('should replace NODE_ENV on server', async () => { const code = await babel(`process.env.NODE_ENV`, { isServer: true, }) - expect(code).toMatchInlineSnapshot(`"\\"production\\";"`) + expect(code).toMatchInlineSnapshot(`""production";"`) }) it('should replace NODE_ENV in === statement (prod)', async () => { @@ -192,7 +192,7 @@ describe('next-babel-loader', () => { expect( code.replace(/modules: \[".*?"/, 'modules:["/path/to/page"') ).toMatchInlineSnapshot( - `"var _jsxFileName = \\"index.js\\";import React from \\"react\\";var __jsx = React.createElement;import dynamic from 'next/dynamic';const Comp = dynamic(() => import('comp'), { loadableGenerated: { webpack: () => [require.resolveWeak('comp')] }});export default function Page(props) { return __jsx(Comp, { __self: this, __source: { fileName: _jsxFileName, lineNumber: 7, columnNumber: 18 } });}"` + `"var _jsxFileName = "index.js";import React from "react";var __jsx = React.createElement;import dynamic from 'next/dynamic';const Comp = dynamic(() => import('comp'), { loadableGenerated: { webpack: () => [require.resolveWeak('comp')] }});export default function Page(props) { return __jsx(Comp, { __self: this, __source: { fileName: _jsxFileName, lineNumber: 7, columnNumber: 18 } });}"` ) }) @@ -210,7 +210,7 @@ describe('next-babel-loader', () => { `import{e as ee,f as ff}from"f";` ) expect(code).toMatchInlineSnapshot( - `"import \\"core-js\\";import { foo, bar } from \\"a\\";import baz from \\"b\\";import * as React from \\"react\\";import baz2, { yeet } from \\"c\\";import baz3, { cats } from \\"d\\";import { c, d } from \\"e\\";import { e as ee, f as ff } from \\"f\\";"` + `"import "core-js";import { foo, bar } from "a";import baz from "b";import * as React from "react";import baz2, { yeet } from "c";import baz3, { cats } from "d";import { c, d } from "e";import { e as ee, f as ff } from "f";"` ) }) @@ -231,7 +231,7 @@ describe('next-babel-loader', () => { { resourcePath: pageFile } ) expect(code).toMatchInlineSnapshot( - `"import \\"core-js\\";import { foo, bar } from \\"a\\";import baz from \\"b\\";import * as React from \\"react\\";import baz2, { yeet } from \\"c\\";import baz3, { cats } from \\"d\\";import { c, d } from \\"e\\";import { e as ee, f as ff } from \\"f\\";"` + `"import "core-js";import { foo, bar } from "a";import baz from "b";import * as React from "react";import baz2, { yeet } from "c";import baz3, { cats } from "d";import { c, d } from "e";import { e as ee, f as ff } from "f";"` ) }) @@ -252,7 +252,7 @@ describe('next-babel-loader', () => { { resourcePath: pageFile } ) expect(code).toMatchInlineSnapshot( - `"import \\"core-js\\";import * as React from \\"react\\";import { yeet } from \\"c\\";import baz3 from \\"d\\";import { c, d } from \\"e\\";import { e as ee } from \\"f\\";"` + `"import "core-js";import * as React from "react";import { yeet } from "c";import baz3 from "d";import { c, d } from "e";import { e as ee } from "f";"` ) }) @@ -274,7 +274,7 @@ describe('next-babel-loader', () => { { resourcePath: pageFile, isServer: true } ) expect(code).toMatchInlineSnapshot( - `"import \\"core-js\\";import { foo, bar } from \\"a\\";import baz from \\"b\\";import ooo from \\"ooo\\";import * as React from \\"react\\";import baz2, { yeet } from \\"c\\";import baz3, { cats } from \\"d\\";import { c, d } from \\"e\\";import { e as ee, f as ff } from \\"f\\";export function getStaticProps() { foo(); baz2(); ff(); ooo(); return { props: {} };}export default function () { return bar();}"` + `"import "core-js";import { foo, bar } from "a";import baz from "b";import ooo from "ooo";import * as React from "react";import baz2, { yeet } from "c";import baz3, { cats } from "d";import { c, d } from "e";import { e as ee, f as ff } from "f";export function getStaticProps() { foo(); baz2(); ff(); ooo(); return { props: {} };}export default function () { return bar();}"` ) }) @@ -296,7 +296,7 @@ describe('next-babel-loader', () => { { resourcePath: pageFile, isServer: false } ) expect(code).toMatchInlineSnapshot( - `"import \\"core-js\\";import { bar } from \\"a\\";import baz from \\"b\\";import * as React from \\"react\\";import { yeet } from \\"c\\";import baz3, { cats } from \\"d\\";import { c, d } from \\"e\\";import { e as ee } from \\"f\\";export var __N_SSG = true;export default function () { return cats + bar();}"` + `"import "core-js";import { bar } from "a";import baz from "b";import * as React from "react";import { yeet } from "c";import baz3, { cats } from "d";import { c, d } from "e";import { e as ee } from "f";export var __N_SSG = true;export default function () { return cats + bar();}"` ) }) diff --git a/test/unit/next-babel.test.ts b/test/unit/next-babel.test.ts index 3bc39d33a411a..3c2b2339043ff 100644 --- a/test/unit/next-babel.test.ts +++ b/test/unit/next-babel.test.ts @@ -33,7 +33,7 @@ describe('next/babel', () => { expect( babel(`const a = ()=>home`, true) ).toMatchInlineSnapshot( - `"import React from\\"react\\";var __jsx=React.createElement;var a=function a(){return __jsx(\\"a\\",{href:\\"/\\"},\\"home\\");};"` + `"import React from"react";var __jsx=React.createElement;var a=function a(){return __jsx("a",{href:"/"},"home");};"` ) }) @@ -60,7 +60,7 @@ describe('next/babel', () => { expect(output).toMatch(`__jsx("a",{href:"/"`) expect(babel(`const a = ()=>home`)).toMatchInlineSnapshot( - `"\\"use strict\\";var _interopRequireDefault=require(\\"@babel/runtime/helpers/interopRequireDefault\\");var _react=_interopRequireDefault(require(\\"react\\"));var __jsx=_react[\\"default\\"].createElement;var a=function a(){return __jsx(\\"a\\",{href:\\"/\\"},\\"home\\");};"` + `""use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _react=_interopRequireDefault(require("react"));var __jsx=_react["default"].createElement;var a=function a(){return __jsx("a",{href:"/"},"home");};"` ) }) @@ -70,7 +70,7 @@ describe('next/babel', () => { expect(output).toMatch(`React.Fragment`) expect(babel(`const a = () => <>hello;`, true)).toMatchInlineSnapshot( - `"import React from\\"react\\";var __jsx=React.createElement;var a=function a(){return __jsx(React.Fragment,null,\\"hello\\");};"` + `"import React from"react";var __jsx=React.createElement;var a=function a(){return __jsx(React.Fragment,null,"hello");};"` ) }) @@ -84,7 +84,7 @@ describe('next/babel', () => { ) expect(output).toMatchInlineSnapshot( - `"var React=require('react');var __jsx=React.createElement;module.exports=function(){return __jsx(\\"div\\",null,\\"test2\\");};"` + `"var React=require('react');var __jsx=React.createElement;module.exports=function(){return __jsx("div",null,"test2");};"` ) }) }) @@ -175,7 +175,7 @@ describe('next/babel', () => { }) expect(output).toMatchInlineSnapshot( - `"import{jsx as _jsx}from\\"react/jsx-runtime\\";var a=function a(){return/*#__PURE__*/_jsx(\\"a\\",{href:\\"/\\",children:\\"home\\"});};"` + `"import{jsx as _jsx}from"react/jsx-runtime";var a=function a(){return/*#__PURE__*/_jsx("a",{href:"/",children:"home"});};"` ) }) @@ -188,7 +188,7 @@ describe('next/babel', () => { }) expect(output).toMatchInlineSnapshot( - `"import React from\\"react\\";var __jsx=React.createElement;var a=function a(){return __jsx(\\"a\\",{href:\\"/\\"},\\"home\\");};"` + `"import React from"react";var __jsx=React.createElement;var a=function a(){return __jsx("a",{href:"/"},"home");};"` ) }) }) diff --git a/test/unit/next-swc.test.ts b/test/unit/next-swc.test.ts index 146914f4fe444..d86b7a5812a1a 100644 --- a/test/unit/next-swc.test.ts +++ b/test/unit/next-swc.test.ts @@ -28,7 +28,7 @@ describe('next/swc', () => { if (Array.isArray(arr)) return arr; } function _iterable_to_array_limit(arr, i) { - var _i = arr == null ? null : typeof Symbol !== \\"undefined\\" && arr[Symbol.iterator] || arr[\\"@@iterator\\"]; + var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; @@ -44,7 +44,7 @@ describe('next/swc', () => { _e = err; } finally{ try { - if (!_n && _i[\\"return\\"] != null) _i[\\"return\\"](); + if (!_n && _i["return"] != null) _i["return"](); } finally{ if (_d) throw _e; } @@ -52,20 +52,20 @@ describe('next/swc', () => { return _arr; } function _non_iterable_rest() { - throw new TypeError(\\"Invalid attempt to destructure non-iterable instance.\\\\\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\\"); + throw new TypeError("Invalid attempt to destructure non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _sliced_to_array(arr, i) { return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest(); } function _unsupported_iterable_to_array(o, minLen) { if (!o) return; - if (typeof o === \\"string\\") return _array_like_to_array(o, minLen); + if (typeof o === "string") return _array_like_to_array(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === \\"Object\\" && o.constructor) n = o.constructor.name; - if (n === \\"Map\\" || n === \\"Set\\") return Array.from(n); - if (n === \\"Arguments\\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(n); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen); } - import { useState } from \\"react\\"; + import { useState } from "react"; var _useState = _sliced_to_array(useState(0), 2), count = _useState[0], setCount = _useState[1]; " `) @@ -89,23 +89,23 @@ describe('next/swc', () => { if (Array.isArray(arr)) return arr; } function _iterable_to_array(iter) { - if (typeof Symbol !== \\"undefined\\" && iter[Symbol.iterator] != null || iter[\\"@@iterator\\"] != null) return Array.from(iter); + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _non_iterable_rest() { - throw new TypeError(\\"Invalid attempt to destructure non-iterable instance.\\\\\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\\"); + throw new TypeError("Invalid attempt to destructure non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } function _to_array(arr) { return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest(); } function _unsupported_iterable_to_array(o, minLen) { if (!o) return; - if (typeof o === \\"string\\") return _array_like_to_array(o, minLen); + if (typeof o === "string") return _array_like_to_array(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === \\"Object\\" && o.constructor) n = o.constructor.name; - if (n === \\"Map\\" || n === \\"Set\\") return Array.from(n); - if (n === \\"Arguments\\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(n); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen); } - import { useState } from \\"react\\"; + import { useState } from "react"; var _useState = _to_array(useState(0)), copy = _useState.slice(0); " `) diff --git a/test/unit/page-route-sorter.test.ts b/test/unit/page-route-sorter.test.ts index a97375a09a8e8..e83c3242b1c14 100644 --- a/test/unit/page-route-sorter.test.ts +++ b/test/unit/page-route-sorter.test.ts @@ -41,7 +41,7 @@ describe('getSortedRoutes', () => { '/apples/[ab]/[cd]/ef', ]) ).toMatchInlineSnapshot(` - Array [ + [ "/", "/apples/[ab]/[cd]/ef", "/blog/abc", @@ -154,17 +154,17 @@ describe('getSortedRoutes', () => { expect(() => getSortedRoutes(['/[[blog]]']) ).toThrowErrorMatchingInlineSnapshot( - `"Optional route parameters are not yet supported (\\"[[blog]]\\")."` + `"Optional route parameters are not yet supported ("[[blog]]")."` ) expect(() => getSortedRoutes(['/abc/[[blog]]']) ).toThrowErrorMatchingInlineSnapshot( - `"Optional route parameters are not yet supported (\\"[[blog]]\\")."` + `"Optional route parameters are not yet supported ("[[blog]]")."` ) expect(() => getSortedRoutes(['/abc/[[blog]]/def']) ).toThrowErrorMatchingInlineSnapshot( - `"Optional route parameters are not yet supported (\\"[[blog]]\\")."` + `"Optional route parameters are not yet supported ("[[blog]]")."` ) }) @@ -172,12 +172,12 @@ describe('getSortedRoutes', () => { expect(() => getSortedRoutes(['/[...one]', '/[[...one]]']) ).toThrowErrorMatchingInlineSnapshot( - `"You cannot use both an required and optional catch-all route at the same level (\\"[...one]\\" and \\"[[...one]]\\" )."` + `"You cannot use both an required and optional catch-all route at the same level ("[...one]" and "[[...one]]" )."` ) expect(() => getSortedRoutes(['/[[...one]]', '/[...one]']) ).toThrowErrorMatchingInlineSnapshot( - `"You cannot use both an optional and required catch-all route at the same level (\\"[[...one]]\\" and \\"[...one]\\")."` + `"You cannot use both an optional and required catch-all route at the same level ("[[...one]]" and "[...one]")."` ) }) @@ -185,23 +185,23 @@ describe('getSortedRoutes', () => { expect(() => getSortedRoutes(['/', '/[[...all]]']) ).toThrowErrorMatchingInlineSnapshot( - `"You cannot define a route with the same specificity as a optional catch-all route (\\"/\\" and \\"/[[...all]]\\")."` + `"You cannot define a route with the same specificity as a optional catch-all route ("/" and "/[[...all]]")."` ) expect(() => getSortedRoutes(['/[[...all]]', '/']) ).toThrowErrorMatchingInlineSnapshot( - `"You cannot define a route with the same specificity as a optional catch-all route (\\"/\\" and \\"/[[...all]]\\")."` + `"You cannot define a route with the same specificity as a optional catch-all route ("/" and "/[[...all]]")."` ) expect(() => getSortedRoutes(['/sub', '/sub/[[...all]]']) ).toThrowErrorMatchingInlineSnapshot( - `"You cannot define a route with the same specificity as a optional catch-all route (\\"/sub\\" and \\"/sub[[...all]]\\")."` + `"You cannot define a route with the same specificity as a optional catch-all route ("/sub" and "/sub[[...all]]")."` ) expect(() => getSortedRoutes(['/sub/[[...all]]', '/sub']) ).toThrowErrorMatchingInlineSnapshot( - `"You cannot define a route with the same specificity as a optional catch-all route (\\"/sub\\" and \\"/sub[[...all]]\\")."` + `"You cannot define a route with the same specificity as a optional catch-all route ("/sub" and "/sub[[...all]]")."` ) }) diff --git a/test/unit/web-runtime/next-server-node.test.ts b/test/unit/web-runtime/next-server-node.test.ts index 1466117c07b47..be123254a506a 100644 --- a/test/unit/web-runtime/next-server-node.test.ts +++ b/test/unit/web-runtime/next-server-node.test.ts @@ -1,5 +1,3 @@ -import 'next/dist/server/node-polyfill-fetch' - it('should be able to require next/server outside edge', () => { require('next/server') }) diff --git a/tsconfig.json b/tsconfig.json index beb22f10ebf65..ddcac4ef3689b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "esModuleInterop": true, "moduleResolution": "node", "baseUrl": ".", - "types": ["react", "jest", "node", "trusted-types"], + "types": ["react", "jest", "node", "trusted-types", "jest-extended"], "paths": { "development-sandbox": ["test/lib/development-sandbox"], "next-test-utils": ["test/lib/next-test-utils"], @@ -20,7 +20,6 @@ } }, "include": [ - "test/jest.d.ts", "test/**/*.test.ts", "test/**/*.test.tsx", "test/**/test/*",